]> git.ipfire.org Git - thirdparty/gcc.git/blob - libstdc++-v3/configure
ee9178c4a61ee194bc20e26da05b97fa432f4cc2
[thirdparty/gcc.git] / libstdc++-v3 / configure
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59 for package-unused version-unused.
4 #
5 # Copyright (C) 2003 Free Software Foundation, Inc.
6 # This configure script is free software; the Free Software Foundation
7 # gives unlimited permission to copy, distribute and modify it.
8 ## --------------------- ##
9 ## M4sh Initialization. ##
10 ## --------------------- ##
11
12 # Be Bourne compatible
13 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
14 emulate sh
15 NULLCMD=:
16 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
17 # is contrary to our usage. Disable this feature.
18 alias -g '${1+"$@"}'='"$@"'
19 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
20 set -o posix
21 fi
22 DUALCASE=1; export DUALCASE # for MKS sh
23
24 # Support unset when possible.
25 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
26 as_unset=unset
27 else
28 as_unset=false
29 fi
30
31
32 # Work around bugs in pre-3.0 UWIN ksh.
33 $as_unset ENV MAIL MAILPATH
34 PS1='$ '
35 PS2='> '
36 PS4='+ '
37
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
43 do
44 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
45 eval $as_var=C; export $as_var
46 else
47 $as_unset $as_var
48 fi
49 done
50
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
56 fi
57
58 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
59 as_basename=basename
60 else
61 as_basename=false
62 fi
63
64
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'`
76
77
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
85
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=:
95 fi
96 rm -f conf$$.sh
97 fi
98
99
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
111 do
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
116
117 ;;
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
123 fi
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; }; }
127 fi
128 case $CONFIG_SHELL in
129 '')
130 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
131 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
132 do
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
137 /*)
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
153 ;;
154 esac
155
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 '
166 N
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; }; }
177
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
184 }
185
186
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
193
194 if expr a : '\(a\)' >/dev/null 2>&1; then
195 as_expr=expr
196 else
197 as_expr=false
198 fi
199
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'
210 fi
211 elif ln conf$$.file conf$$ 2>/dev/null; then
212 as_ln_s=ln
213 else
214 as_ln_s='cp -p'
215 fi
216 rm -f conf$$ conf$$.exe conf$$.file
217
218 if mkdir -p . 2>/dev/null; then
219 as_mkdir_p=:
220 else
221 test -d ./-p && rmdir ./-p
222 as_mkdir_p=false
223 fi
224
225 as_executable_p="test -f"
226
227 # Sed expression to map a string onto a valid CPP name.
228 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
229
230 # Sed expression to map a string onto a valid variable name.
231 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
232
233
234 # IFS
235 # We need space, tab and new line, in precisely that order.
236 as_nl='
237 '
238 IFS=" $as_nl"
239
240 # CDPATH.
241 $as_unset CDPATH
242
243
244 # Name of the host.
245 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
246 # so uname gets run too.
247 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
248
249 exec 6>&1
250
251 #
252 # Initializations.
253 #
254 ac_default_prefix=/usr/local
255 ac_config_libobj_dir=.
256 cross_compiling=no
257 subdirs=
258 MFLAGS=
259 MAKEFLAGS=
260 SHELL=${CONFIG_SHELL-/bin/sh}
261
262 # Maximum number of lines to put in a shell here document.
263 # This variable seems obsolete. It should probably be removed, and
264 # only ac_max_sed_lines should be used.
265 : ${ac_max_here_lines=38}
266
267 # Identity of this package.
268 PACKAGE_NAME='package-unused'
269 PACKAGE_TARNAME='libstdc++'
270 PACKAGE_VERSION='version-unused'
271 PACKAGE_STRING='package-unused version-unused'
272 PACKAGE_BUGREPORT=''
273
274 ac_unique_file="src/ios.cc"
275 # Factoring default headers for most tests.
276 ac_includes_default="\
277 #include <stdio.h>
278 #if HAVE_SYS_TYPES_H
279 # include <sys/types.h>
280 #endif
281 #if HAVE_SYS_STAT_H
282 # include <sys/stat.h>
283 #endif
284 #if STDC_HEADERS
285 # include <stdlib.h>
286 # include <stddef.h>
287 #else
288 # if HAVE_STDLIB_H
289 # include <stdlib.h>
290 # endif
291 #endif
292 #if HAVE_STRING_H
293 # if !STDC_HEADERS && HAVE_MEMORY_H
294 # include <memory.h>
295 # endif
296 # include <string.h>
297 #endif
298 #if HAVE_STRINGS_H
299 # include <strings.h>
300 #endif
301 #if HAVE_INTTYPES_H
302 # include <inttypes.h>
303 #else
304 # if HAVE_STDINT_H
305 # include <stdint.h>
306 # endif
307 #endif
308 #if HAVE_UNISTD_H
309 # include <unistd.h>
310 #endif"
311
312 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS libtool_VERSION multi_basedir build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar glibcxx_builddir glibcxx_srcdir toplevel_srcdir CC ac_ct_CC EXEEXT OBJEXT CXX ac_ct_CXX CFLAGS CXXFLAGS LN_S AS ac_ct_AS AR ac_ct_AR RANLIB ac_ct_RANLIB MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT CPP CPPFLAGS EGREP LIBTOOL CXXCPP enable_shared enable_static GLIBCXX_HOSTED_TRUE GLIBCXX_HOSTED_FALSE GLIBCXX_BUILD_PCH_TRUE GLIBCXX_BUILD_PCH_FALSE glibcxx_PCHFLAGS CSTDIO_H BASIC_FILE_H BASIC_FILE_CC check_msgfmt glibcxx_MOFILES glibcxx_POFILES glibcxx_localedir USE_NLS CLOCALE_H CMESSAGES_H CCODECVT_CC CCOLLATE_CC CCTYPE_CC CMESSAGES_CC CMONEY_CC CNUMERIC_CC CTIME_H CTIME_CC CLOCALE_CC CLOCALE_INTERNAL_H ALLOCATOR_H ALLOCATOR_NAME C_INCLUDE_DIR GLIBCXX_C_HEADERS_C_TRUE GLIBCXX_C_HEADERS_C_FALSE GLIBCXX_C_HEADERS_C_STD_TRUE GLIBCXX_C_HEADERS_C_STD_FALSE GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE DEBUG_FLAGS GLIBCXX_BUILD_DEBUG_TRUE GLIBCXX_BUILD_DEBUG_FALSE EXTRA_CXX_FLAGS glibcxx_thread_h WERROR SECTION_FLAGS SECTION_LDFLAGS OPT_LDFLAGS LIBMATHOBJS LIBICONV SYMVER_FILE port_specific_symbol_files ENABLE_SYMVERS_TRUE ENABLE_SYMVERS_FALSE ENABLE_SYMVERS_GNU_TRUE ENABLE_SYMVERS_GNU_FALSE ENABLE_SYMVERS_GNU_NAMESPACE_TRUE ENABLE_SYMVERS_GNU_NAMESPACE_FALSE ENABLE_SYMVERS_DARWIN_TRUE ENABLE_SYMVERS_DARWIN_FALSE ENABLE_VISIBILITY_TRUE ENABLE_VISIBILITY_FALSE GLIBCXX_LDBL_COMPAT_TRUE GLIBCXX_LDBL_COMPAT_FALSE baseline_dir ATOMICITY_SRCDIR ATOMIC_WORD_SRCDIR CPU_DEFINES_SRCDIR ABI_TWEAKS_SRCDIR OS_INC_SRCDIR glibcxx_prefixdir gxx_include_dir glibcxx_toolexecdir glibcxx_toolexeclibdir GLIBCXX_INCLUDES TOPLEVEL_INCLUDES OPTIMIZE_CXXFLAGS WARN_FLAGS LIBSUPCXX_PICFLAGS LIBOBJS LTLIBOBJS'
313 ac_subst_files=''
314
315 # Initialize some variables set by options.
316 ac_init_help=
317 ac_init_version=false
318 # The variables have the same names as the options, with
319 # dashes changed to underlines.
320 cache_file=/dev/null
321 exec_prefix=NONE
322 no_create=
323 no_recursion=
324 prefix=NONE
325 program_prefix=NONE
326 program_suffix=NONE
327 program_transform_name=s,x,x,
328 silent=
329 site=
330 srcdir=
331 verbose=
332 x_includes=NONE
333 x_libraries=NONE
334
335 # Installation directory options.
336 # These are left unexpanded so users can "make install exec_prefix=/foo"
337 # and all the variables that are supposed to be based on exec_prefix
338 # by default will actually change.
339 # Use braces instead of parens because sh, perl, etc. also accept them.
340 bindir='${exec_prefix}/bin'
341 sbindir='${exec_prefix}/sbin'
342 libexecdir='${exec_prefix}/libexec'
343 datadir='${prefix}/share'
344 sysconfdir='${prefix}/etc'
345 sharedstatedir='${prefix}/com'
346 localstatedir='${prefix}/var'
347 libdir='${exec_prefix}/lib'
348 includedir='${prefix}/include'
349 oldincludedir='/usr/include'
350 infodir='${prefix}/info'
351 mandir='${prefix}/man'
352
353 ac_prev=
354 for ac_option
355 do
356 # If the previous option needs an argument, assign it.
357 if test -n "$ac_prev"; then
358 eval "$ac_prev=\$ac_option"
359 ac_prev=
360 continue
361 fi
362
363 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
364
365 # Accept the important Cygnus configure options, so we can diagnose typos.
366
367 case $ac_option in
368
369 -bindir | --bindir | --bindi | --bind | --bin | --bi)
370 ac_prev=bindir ;;
371 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
372 bindir=$ac_optarg ;;
373
374 -build | --build | --buil | --bui | --bu)
375 ac_prev=build_alias ;;
376 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
377 build_alias=$ac_optarg ;;
378
379 -cache-file | --cache-file | --cache-fil | --cache-fi \
380 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
381 ac_prev=cache_file ;;
382 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
383 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
384 cache_file=$ac_optarg ;;
385
386 --config-cache | -C)
387 cache_file=config.cache ;;
388
389 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
390 ac_prev=datadir ;;
391 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
392 | --da=*)
393 datadir=$ac_optarg ;;
394
395 -disable-* | --disable-*)
396 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
397 # Reject names that are not valid shell variable names.
398 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
399 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
400 { (exit 1); exit 1; }; }
401 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
402 eval "enable_$ac_feature=no" ;;
403
404 -enable-* | --enable-*)
405 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
406 # Reject names that are not valid shell variable names.
407 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
408 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
409 { (exit 1); exit 1; }; }
410 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
411 case $ac_option in
412 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
413 *) ac_optarg=yes ;;
414 esac
415 eval "enable_$ac_feature='$ac_optarg'" ;;
416
417 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
418 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
419 | --exec | --exe | --ex)
420 ac_prev=exec_prefix ;;
421 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
422 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
423 | --exec=* | --exe=* | --ex=*)
424 exec_prefix=$ac_optarg ;;
425
426 -gas | --gas | --ga | --g)
427 # Obsolete; use --with-gas.
428 with_gas=yes ;;
429
430 -help | --help | --hel | --he | -h)
431 ac_init_help=long ;;
432 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
433 ac_init_help=recursive ;;
434 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
435 ac_init_help=short ;;
436
437 -host | --host | --hos | --ho)
438 ac_prev=host_alias ;;
439 -host=* | --host=* | --hos=* | --ho=*)
440 host_alias=$ac_optarg ;;
441
442 -includedir | --includedir | --includedi | --included | --include \
443 | --includ | --inclu | --incl | --inc)
444 ac_prev=includedir ;;
445 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
446 | --includ=* | --inclu=* | --incl=* | --inc=*)
447 includedir=$ac_optarg ;;
448
449 -infodir | --infodir | --infodi | --infod | --info | --inf)
450 ac_prev=infodir ;;
451 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
452 infodir=$ac_optarg ;;
453
454 -libdir | --libdir | --libdi | --libd)
455 ac_prev=libdir ;;
456 -libdir=* | --libdir=* | --libdi=* | --libd=*)
457 libdir=$ac_optarg ;;
458
459 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
460 | --libexe | --libex | --libe)
461 ac_prev=libexecdir ;;
462 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
463 | --libexe=* | --libex=* | --libe=*)
464 libexecdir=$ac_optarg ;;
465
466 -localstatedir | --localstatedir | --localstatedi | --localstated \
467 | --localstate | --localstat | --localsta | --localst \
468 | --locals | --local | --loca | --loc | --lo)
469 ac_prev=localstatedir ;;
470 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
471 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
472 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
473 localstatedir=$ac_optarg ;;
474
475 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
476 ac_prev=mandir ;;
477 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
478 mandir=$ac_optarg ;;
479
480 -nfp | --nfp | --nf)
481 # Obsolete; use --without-fp.
482 with_fp=no ;;
483
484 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
485 | --no-cr | --no-c | -n)
486 no_create=yes ;;
487
488 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
489 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
490 no_recursion=yes ;;
491
492 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
493 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
494 | --oldin | --oldi | --old | --ol | --o)
495 ac_prev=oldincludedir ;;
496 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
497 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
498 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
499 oldincludedir=$ac_optarg ;;
500
501 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
502 ac_prev=prefix ;;
503 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
504 prefix=$ac_optarg ;;
505
506 -program-prefix | --program-prefix | --program-prefi | --program-pref \
507 | --program-pre | --program-pr | --program-p)
508 ac_prev=program_prefix ;;
509 -program-prefix=* | --program-prefix=* | --program-prefi=* \
510 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
511 program_prefix=$ac_optarg ;;
512
513 -program-suffix | --program-suffix | --program-suffi | --program-suff \
514 | --program-suf | --program-su | --program-s)
515 ac_prev=program_suffix ;;
516 -program-suffix=* | --program-suffix=* | --program-suffi=* \
517 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
518 program_suffix=$ac_optarg ;;
519
520 -program-transform-name | --program-transform-name \
521 | --program-transform-nam | --program-transform-na \
522 | --program-transform-n | --program-transform- \
523 | --program-transform | --program-transfor \
524 | --program-transfo | --program-transf \
525 | --program-trans | --program-tran \
526 | --progr-tra | --program-tr | --program-t)
527 ac_prev=program_transform_name ;;
528 -program-transform-name=* | --program-transform-name=* \
529 | --program-transform-nam=* | --program-transform-na=* \
530 | --program-transform-n=* | --program-transform-=* \
531 | --program-transform=* | --program-transfor=* \
532 | --program-transfo=* | --program-transf=* \
533 | --program-trans=* | --program-tran=* \
534 | --progr-tra=* | --program-tr=* | --program-t=*)
535 program_transform_name=$ac_optarg ;;
536
537 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
538 | -silent | --silent | --silen | --sile | --sil)
539 silent=yes ;;
540
541 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
542 ac_prev=sbindir ;;
543 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
544 | --sbi=* | --sb=*)
545 sbindir=$ac_optarg ;;
546
547 -sharedstatedir | --sharedstatedir | --sharedstatedi \
548 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
549 | --sharedst | --shareds | --shared | --share | --shar \
550 | --sha | --sh)
551 ac_prev=sharedstatedir ;;
552 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
553 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
554 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
555 | --sha=* | --sh=*)
556 sharedstatedir=$ac_optarg ;;
557
558 -site | --site | --sit)
559 ac_prev=site ;;
560 -site=* | --site=* | --sit=*)
561 site=$ac_optarg ;;
562
563 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
564 ac_prev=srcdir ;;
565 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
566 srcdir=$ac_optarg ;;
567
568 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
569 | --syscon | --sysco | --sysc | --sys | --sy)
570 ac_prev=sysconfdir ;;
571 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
572 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
573 sysconfdir=$ac_optarg ;;
574
575 -target | --target | --targe | --targ | --tar | --ta | --t)
576 ac_prev=target_alias ;;
577 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
578 target_alias=$ac_optarg ;;
579
580 -v | -verbose | --verbose | --verbos | --verbo | --verb)
581 verbose=yes ;;
582
583 -version | --version | --versio | --versi | --vers | -V)
584 ac_init_version=: ;;
585
586 -with-* | --with-*)
587 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
588 # Reject names that are not valid shell variable names.
589 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
590 { echo "$as_me: error: invalid package name: $ac_package" >&2
591 { (exit 1); exit 1; }; }
592 ac_package=`echo $ac_package| sed 's/-/_/g'`
593 case $ac_option in
594 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
595 *) ac_optarg=yes ;;
596 esac
597 eval "with_$ac_package='$ac_optarg'" ;;
598
599 -without-* | --without-*)
600 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
601 # Reject names that are not valid shell variable names.
602 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
603 { echo "$as_me: error: invalid package name: $ac_package" >&2
604 { (exit 1); exit 1; }; }
605 ac_package=`echo $ac_package | sed 's/-/_/g'`
606 eval "with_$ac_package=no" ;;
607
608 --x)
609 # Obsolete; use --with-x.
610 with_x=yes ;;
611
612 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
613 | --x-incl | --x-inc | --x-in | --x-i)
614 ac_prev=x_includes ;;
615 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
616 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
617 x_includes=$ac_optarg ;;
618
619 -x-libraries | --x-libraries | --x-librarie | --x-librari \
620 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
621 ac_prev=x_libraries ;;
622 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
623 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
624 x_libraries=$ac_optarg ;;
625
626 -*) { echo "$as_me: error: unrecognized option: $ac_option
627 Try \`$0 --help' for more information." >&2
628 { (exit 1); exit 1; }; }
629 ;;
630
631 *=*)
632 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
633 # Reject names that are not valid shell variable names.
634 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
635 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
636 { (exit 1); exit 1; }; }
637 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
638 eval "$ac_envvar='$ac_optarg'"
639 export $ac_envvar ;;
640
641 *)
642 # FIXME: should be removed in autoconf 3.0.
643 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
644 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
645 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
646 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
647 ;;
648
649 esac
650 done
651
652 if test -n "$ac_prev"; then
653 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
654 { echo "$as_me: error: missing argument to $ac_option" >&2
655 { (exit 1); exit 1; }; }
656 fi
657
658 # Be sure to have absolute paths.
659 for ac_var in exec_prefix prefix
660 do
661 eval ac_val=$`echo $ac_var`
662 case $ac_val in
663 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
664 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
665 { (exit 1); exit 1; }; };;
666 esac
667 done
668
669 # Be sure to have absolute paths.
670 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
671 localstatedir libdir includedir oldincludedir infodir mandir
672 do
673 eval ac_val=$`echo $ac_var`
674 case $ac_val in
675 [\\/$]* | ?:[\\/]* ) ;;
676 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
677 { (exit 1); exit 1; }; };;
678 esac
679 done
680
681 # There might be people who depend on the old broken behavior: `$host'
682 # used to hold the argument of --host etc.
683 # FIXME: To remove some day.
684 build=$build_alias
685 host=$host_alias
686 target=$target_alias
687
688 # FIXME: To remove some day.
689 if test "x$host_alias" != x; then
690 if test "x$build_alias" = x; then
691 cross_compiling=maybe
692 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
693 If a cross compiler is detected then cross compile mode will be used." >&2
694 elif test "x$build_alias" != "x$host_alias"; then
695 cross_compiling=yes
696 fi
697 fi
698
699 ac_tool_prefix=
700 test -n "$host_alias" && ac_tool_prefix=$host_alias-
701
702 test "$silent" = yes && exec 6>/dev/null
703
704
705 # Find the source files, if location was not specified.
706 if test -z "$srcdir"; then
707 ac_srcdir_defaulted=yes
708 # Try the directory containing this script, then its parent.
709 ac_confdir=`(dirname "$0") 2>/dev/null ||
710 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
711 X"$0" : 'X\(//\)[^/]' \| \
712 X"$0" : 'X\(//\)$' \| \
713 X"$0" : 'X\(/\)' \| \
714 . : '\(.\)' 2>/dev/null ||
715 echo X"$0" |
716 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
717 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
718 /^X\(\/\/\)$/{ s//\1/; q; }
719 /^X\(\/\).*/{ s//\1/; q; }
720 s/.*/./; q'`
721 srcdir=$ac_confdir
722 if test ! -r $srcdir/$ac_unique_file; then
723 srcdir=..
724 fi
725 else
726 ac_srcdir_defaulted=no
727 fi
728 if test ! -r $srcdir/$ac_unique_file; then
729 if test "$ac_srcdir_defaulted" = yes; then
730 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
731 { (exit 1); exit 1; }; }
732 else
733 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
734 { (exit 1); exit 1; }; }
735 fi
736 fi
737 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
738 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
739 { (exit 1); exit 1; }; }
740 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
741 ac_env_build_alias_set=${build_alias+set}
742 ac_env_build_alias_value=$build_alias
743 ac_cv_env_build_alias_set=${build_alias+set}
744 ac_cv_env_build_alias_value=$build_alias
745 ac_env_host_alias_set=${host_alias+set}
746 ac_env_host_alias_value=$host_alias
747 ac_cv_env_host_alias_set=${host_alias+set}
748 ac_cv_env_host_alias_value=$host_alias
749 ac_env_target_alias_set=${target_alias+set}
750 ac_env_target_alias_value=$target_alias
751 ac_cv_env_target_alias_set=${target_alias+set}
752 ac_cv_env_target_alias_value=$target_alias
753 ac_env_CPP_set=${CPP+set}
754 ac_env_CPP_value=$CPP
755 ac_cv_env_CPP_set=${CPP+set}
756 ac_cv_env_CPP_value=$CPP
757 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
758 ac_env_CPPFLAGS_value=$CPPFLAGS
759 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
760 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
761 ac_env_CXXCPP_set=${CXXCPP+set}
762 ac_env_CXXCPP_value=$CXXCPP
763 ac_cv_env_CXXCPP_set=${CXXCPP+set}
764 ac_cv_env_CXXCPP_value=$CXXCPP
765
766 #
767 # Report the --help message.
768 #
769 if test "$ac_init_help" = "long"; then
770 # Omit some internal or obsolete options to make the list less imposing.
771 # This message is too long to be a string in the A/UX 3.1 sh.
772 cat <<_ACEOF
773 \`configure' configures package-unused version-unused to adapt to many kinds of systems.
774
775 Usage: $0 [OPTION]... [VAR=VALUE]...
776
777 To assign environment variables (e.g., CC, CFLAGS...), specify them as
778 VAR=VALUE. See below for descriptions of some of the useful variables.
779
780 Defaults for the options are specified in brackets.
781
782 Configuration:
783 -h, --help display this help and exit
784 --help=short display options specific to this package
785 --help=recursive display the short help of all the included packages
786 -V, --version display version information and exit
787 -q, --quiet, --silent do not print \`checking...' messages
788 --cache-file=FILE cache test results in FILE [disabled]
789 -C, --config-cache alias for \`--cache-file=config.cache'
790 -n, --no-create do not create output files
791 --srcdir=DIR find the sources in DIR [configure dir or \`..']
792
793 _ACEOF
794
795 cat <<_ACEOF
796 Installation directories:
797 --prefix=PREFIX install architecture-independent files in PREFIX
798 [$ac_default_prefix]
799 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
800 [PREFIX]
801
802 By default, \`make install' will install all the files in
803 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
804 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
805 for instance \`--prefix=\$HOME'.
806
807 For better control, use the options below.
808
809 Fine tuning of the installation directories:
810 --bindir=DIR user executables [EPREFIX/bin]
811 --sbindir=DIR system admin executables [EPREFIX/sbin]
812 --libexecdir=DIR program executables [EPREFIX/libexec]
813 --datadir=DIR read-only architecture-independent data [PREFIX/share]
814 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
815 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
816 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
817 --libdir=DIR object code libraries [EPREFIX/lib]
818 --includedir=DIR C header files [PREFIX/include]
819 --oldincludedir=DIR C header files for non-gcc [/usr/include]
820 --infodir=DIR info documentation [PREFIX/info]
821 --mandir=DIR man documentation [PREFIX/man]
822 _ACEOF
823
824 cat <<\_ACEOF
825
826 Program names:
827 --program-prefix=PREFIX prepend PREFIX to installed program names
828 --program-suffix=SUFFIX append SUFFIX to installed program names
829 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
830
831 System types:
832 --build=BUILD configure for building on BUILD [guessed]
833 --host=HOST cross-compile to build programs to run on HOST [BUILD]
834 --target=TARGET configure for building compilers for TARGET [HOST]
835 _ACEOF
836 fi
837
838 if test -n "$ac_init_help"; then
839 case $ac_init_help in
840 short | recursive ) echo "Configuration of package-unused version-unused:";;
841 esac
842 cat <<\_ACEOF
843
844 Optional Features:
845 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
846 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
847 --enable-multilib build many library versions (default)
848 --enable-maintainer-mode enable make rules and dependencies not useful
849 (and sometimes confusing) to the casual installer
850 --enable-shared=PKGS build shared libraries default=yes
851 --enable-static=PKGS build static libraries default=yes
852 --enable-fast-install=PKGS optimize for fast installation default=yes
853 --disable-libtool-lock avoid locking (might break parallel builds)
854 --disable-hosted-libstdcxx
855 only build freestanding C++ runtime support
856 --enable-sjlj-exceptions
857 force use of builtin_setjmp for exceptions
858 [default=auto]
859 --enable-libstdcxx-pch build pre-compiled libstdc++ headers
860 [default=$is_hosted]
861 --enable-cstdio=PACKAGE use target-specific I/O package
862 [default=stdio]
863 --enable-clocale[=MODEL]
864 use MODEL for target locale package
865 [default=auto]
866 --enable-nls use Native Language Support (default)
867 --enable-libstdcxx-allocator=KIND
868 use KIND for target std::allocator base
869 [default=auto]
870 --enable-cheaders=KIND construct "C" headers for g++
871 [default=$c_model]
872 --enable-long-long enable template specializations for 'long long'
873 [default=yes]
874 --enable-wchar_t enable template specializations for 'wchar_t'
875 [default=yes]
876 --enable-c99 turns on ISO/IEC 9899:1999 support
877 [default=yes]
878 --enable-concept-checks use Boost-derived template checks [default=no]
879 --enable-libstdcxx-debug-flags=FLAGS
880 pass compiler FLAGS when building debug library
881 [default="-g3 -O0"]
882 --enable-libstdcxx-debug
883 build extra debug library [default=no]
884 --enable-cxx-flags=FLAGS
885 pass compiler FLAGS when building library
886 [default=]
887 --enable-fully-dynamic-string
888 do not put empty strings in per-process static
889 memory [default=no]
890 --enable-tls Use thread-local storage [default=yes]
891 --enable-symvers=STYLE enables symbol versioning of the shared library
892 [default=yes]
893 --enable-visibility enables visibility safe usage [default=yes]
894 --enable-version-specific-runtime-libs
895 Specify that runtime libraries should be installed
896 in a compiler-specific directory
897
898 Optional Packages:
899 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
900 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
901 --with-target-subdir=SUBDIR
902 configuring in a subdirectory
903 --with-cross-host=HOST configuring with a cross compiler
904 --with-newlib assume newlib as a system C library
905 --with-gnu-ld assume the C compiler uses GNU ld default=no
906 --with-pic try to use only PIC/non-PIC objects default=use both
907 --with-gxx-include-dir=DIR
908 installation directory for include files
909
910 Some influential environment variables:
911 CC C compiler command
912 CFLAGS C compiler flags
913 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
914 nonstandard directory <lib dir>
915 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
916 headers in a nonstandard directory <include dir>
917 CXX C++ compiler command
918 CXXFLAGS C++ compiler flags
919 CPP C preprocessor
920 CXXCPP C++ preprocessor
921
922 Use these variables to override the choices made by `configure' or to help
923 it to find libraries and programs with nonstandard names/locations.
924
925 _ACEOF
926 fi
927
928 if test "$ac_init_help" = "recursive"; then
929 # If there are subdirs, report their specific --help.
930 ac_popdir=`pwd`
931 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
932 test -d $ac_dir || continue
933 ac_builddir=.
934
935 if test "$ac_dir" != .; then
936 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
937 # A "../" for each directory in $ac_dir_suffix.
938 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
939 else
940 ac_dir_suffix= ac_top_builddir=
941 fi
942
943 case $srcdir in
944 .) # No --srcdir option. We are building in place.
945 ac_srcdir=.
946 if test -z "$ac_top_builddir"; then
947 ac_top_srcdir=.
948 else
949 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
950 fi ;;
951 [\\/]* | ?:[\\/]* ) # Absolute path.
952 ac_srcdir=$srcdir$ac_dir_suffix;
953 ac_top_srcdir=$srcdir ;;
954 *) # Relative path.
955 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
956 ac_top_srcdir=$ac_top_builddir$srcdir ;;
957 esac
958
959 # Do not use `cd foo && pwd` to compute absolute paths, because
960 # the directories may not exist.
961 case `pwd` in
962 .) ac_abs_builddir="$ac_dir";;
963 *)
964 case "$ac_dir" in
965 .) ac_abs_builddir=`pwd`;;
966 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
967 *) ac_abs_builddir=`pwd`/"$ac_dir";;
968 esac;;
969 esac
970 case $ac_abs_builddir in
971 .) ac_abs_top_builddir=${ac_top_builddir}.;;
972 *)
973 case ${ac_top_builddir}. in
974 .) ac_abs_top_builddir=$ac_abs_builddir;;
975 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
976 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
977 esac;;
978 esac
979 case $ac_abs_builddir in
980 .) ac_abs_srcdir=$ac_srcdir;;
981 *)
982 case $ac_srcdir in
983 .) ac_abs_srcdir=$ac_abs_builddir;;
984 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
985 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
986 esac;;
987 esac
988 case $ac_abs_builddir in
989 .) ac_abs_top_srcdir=$ac_top_srcdir;;
990 *)
991 case $ac_top_srcdir in
992 .) ac_abs_top_srcdir=$ac_abs_builddir;;
993 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
994 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
995 esac;;
996 esac
997
998 cd $ac_dir
999 # Check for guested configure; otherwise get Cygnus style configure.
1000 if test -f $ac_srcdir/configure.gnu; then
1001 echo
1002 $SHELL $ac_srcdir/configure.gnu --help=recursive
1003 elif test -f $ac_srcdir/configure; then
1004 echo
1005 $SHELL $ac_srcdir/configure --help=recursive
1006 elif test -f $ac_srcdir/configure.ac ||
1007 test -f $ac_srcdir/configure.in; then
1008 echo
1009 $ac_configure --help
1010 else
1011 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1012 fi
1013 cd "$ac_popdir"
1014 done
1015 fi
1016
1017 test -n "$ac_init_help" && exit 0
1018 if $ac_init_version; then
1019 cat <<\_ACEOF
1020 package-unused configure version-unused
1021 generated by GNU Autoconf 2.59
1022
1023 Copyright (C) 2003 Free Software Foundation, Inc.
1024 This configure script is free software; the Free Software Foundation
1025 gives unlimited permission to copy, distribute and modify it.
1026 _ACEOF
1027 exit 0
1028 fi
1029 exec 5>config.log
1030 cat >&5 <<_ACEOF
1031 This file contains any messages produced by compilers while
1032 running configure, to aid debugging if configure makes a mistake.
1033
1034 It was created by package-unused $as_me version-unused, which was
1035 generated by GNU Autoconf 2.59. Invocation command line was
1036
1037 $ $0 $@
1038
1039 _ACEOF
1040 {
1041 cat <<_ASUNAME
1042 ## --------- ##
1043 ## Platform. ##
1044 ## --------- ##
1045
1046 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1047 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1048 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1049 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1050 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1051
1052 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1053 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1054
1055 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1056 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1057 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1058 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1059 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1060 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1061 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1062
1063 _ASUNAME
1064
1065 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1066 for as_dir in $PATH
1067 do
1068 IFS=$as_save_IFS
1069 test -z "$as_dir" && as_dir=.
1070 echo "PATH: $as_dir"
1071 done
1072
1073 } >&5
1074
1075 cat >&5 <<_ACEOF
1076
1077
1078 ## ----------- ##
1079 ## Core tests. ##
1080 ## ----------- ##
1081
1082 _ACEOF
1083
1084
1085 # Keep a trace of the command line.
1086 # Strip out --no-create and --no-recursion so they do not pile up.
1087 # Strip out --silent because we don't want to record it for future runs.
1088 # Also quote any args containing shell meta-characters.
1089 # Make two passes to allow for proper duplicate-argument suppression.
1090 ac_configure_args=
1091 ac_configure_args0=
1092 ac_configure_args1=
1093 ac_sep=
1094 ac_must_keep_next=false
1095 for ac_pass in 1 2
1096 do
1097 for ac_arg
1098 do
1099 case $ac_arg in
1100 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1101 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1102 | -silent | --silent | --silen | --sile | --sil)
1103 continue ;;
1104 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1105 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1106 esac
1107 case $ac_pass in
1108 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1109 2)
1110 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1111 if test $ac_must_keep_next = true; then
1112 ac_must_keep_next=false # Got value, back to normal.
1113 else
1114 case $ac_arg in
1115 *=* | --config-cache | -C | -disable-* | --disable-* \
1116 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1117 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1118 | -with-* | --with-* | -without-* | --without-* | --x)
1119 case "$ac_configure_args0 " in
1120 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1121 esac
1122 ;;
1123 -* ) ac_must_keep_next=true ;;
1124 esac
1125 fi
1126 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1127 # Get rid of the leading space.
1128 ac_sep=" "
1129 ;;
1130 esac
1131 done
1132 done
1133 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1134 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1135
1136 # When interrupted or exit'd, cleanup temporary files, and complete
1137 # config.log. We remove comments because anyway the quotes in there
1138 # would cause problems or look ugly.
1139 # WARNING: Be sure not to use single quotes in there, as some shells,
1140 # such as our DU 5.0 friend, will then `close' the trap.
1141 trap 'exit_status=$?
1142 # Save into config.log some information that might help in debugging.
1143 {
1144 echo
1145
1146 cat <<\_ASBOX
1147 ## ---------------- ##
1148 ## Cache variables. ##
1149 ## ---------------- ##
1150 _ASBOX
1151 echo
1152 # The following way of writing the cache mishandles newlines in values,
1153 {
1154 (set) 2>&1 |
1155 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1156 *ac_space=\ *)
1157 sed -n \
1158 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1159 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1160 ;;
1161 *)
1162 sed -n \
1163 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1164 ;;
1165 esac;
1166 }
1167 echo
1168
1169 cat <<\_ASBOX
1170 ## ----------------- ##
1171 ## Output variables. ##
1172 ## ----------------- ##
1173 _ASBOX
1174 echo
1175 for ac_var in $ac_subst_vars
1176 do
1177 eval ac_val=$`echo $ac_var`
1178 echo "$ac_var='"'"'$ac_val'"'"'"
1179 done | sort
1180 echo
1181
1182 if test -n "$ac_subst_files"; then
1183 cat <<\_ASBOX
1184 ## ------------- ##
1185 ## Output files. ##
1186 ## ------------- ##
1187 _ASBOX
1188 echo
1189 for ac_var in $ac_subst_files
1190 do
1191 eval ac_val=$`echo $ac_var`
1192 echo "$ac_var='"'"'$ac_val'"'"'"
1193 done | sort
1194 echo
1195 fi
1196
1197 if test -s confdefs.h; then
1198 cat <<\_ASBOX
1199 ## ----------- ##
1200 ## confdefs.h. ##
1201 ## ----------- ##
1202 _ASBOX
1203 echo
1204 sed "/^$/d" confdefs.h | sort
1205 echo
1206 fi
1207 test "$ac_signal" != 0 &&
1208 echo "$as_me: caught signal $ac_signal"
1209 echo "$as_me: exit $exit_status"
1210 } >&5
1211 rm -f core *.core &&
1212 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1213 exit $exit_status
1214 ' 0
1215 for ac_signal in 1 2 13 15; do
1216 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1217 done
1218 ac_signal=0
1219
1220 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1221 rm -rf conftest* confdefs.h
1222 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1223 echo >confdefs.h
1224
1225 # Predefined preprocessor variables.
1226
1227 cat >>confdefs.h <<_ACEOF
1228 #define PACKAGE_NAME "$PACKAGE_NAME"
1229 _ACEOF
1230
1231
1232 cat >>confdefs.h <<_ACEOF
1233 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1234 _ACEOF
1235
1236
1237 cat >>confdefs.h <<_ACEOF
1238 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1239 _ACEOF
1240
1241
1242 cat >>confdefs.h <<_ACEOF
1243 #define PACKAGE_STRING "$PACKAGE_STRING"
1244 _ACEOF
1245
1246
1247 cat >>confdefs.h <<_ACEOF
1248 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1249 _ACEOF
1250
1251
1252 # Let the site file select an alternate cache file if it wants to.
1253 # Prefer explicitly selected file to automatically selected ones.
1254 if test -z "$CONFIG_SITE"; then
1255 if test "x$prefix" != xNONE; then
1256 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1257 else
1258 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1259 fi
1260 fi
1261 for ac_site_file in $CONFIG_SITE; do
1262 if test -r "$ac_site_file"; then
1263 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1264 echo "$as_me: loading site script $ac_site_file" >&6;}
1265 sed 's/^/| /' "$ac_site_file" >&5
1266 . "$ac_site_file"
1267 fi
1268 done
1269
1270 if test -r "$cache_file"; then
1271 # Some versions of bash will fail to source /dev/null (special
1272 # files actually), so we avoid doing that.
1273 if test -f "$cache_file"; then
1274 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1275 echo "$as_me: loading cache $cache_file" >&6;}
1276 case $cache_file in
1277 [\\/]* | ?:[\\/]* ) . $cache_file;;
1278 *) . ./$cache_file;;
1279 esac
1280 fi
1281 else
1282 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1283 echo "$as_me: creating cache $cache_file" >&6;}
1284 >$cache_file
1285 fi
1286
1287 # Check that the precious variables saved in the cache have kept the same
1288 # value.
1289 ac_cache_corrupted=false
1290 for ac_var in `(set) 2>&1 |
1291 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1292 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1293 eval ac_new_set=\$ac_env_${ac_var}_set
1294 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1295 eval ac_new_val="\$ac_env_${ac_var}_value"
1296 case $ac_old_set,$ac_new_set in
1297 set,)
1298 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1299 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1300 ac_cache_corrupted=: ;;
1301 ,set)
1302 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1303 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1304 ac_cache_corrupted=: ;;
1305 ,);;
1306 *)
1307 if test "x$ac_old_val" != "x$ac_new_val"; then
1308 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1309 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1310 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1311 echo "$as_me: former value: $ac_old_val" >&2;}
1312 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1313 echo "$as_me: current value: $ac_new_val" >&2;}
1314 ac_cache_corrupted=:
1315 fi;;
1316 esac
1317 # Pass precious variables to config.status.
1318 if test "$ac_new_set" = set; then
1319 case $ac_new_val in
1320 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1321 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1322 *) ac_arg=$ac_var=$ac_new_val ;;
1323 esac
1324 case " $ac_configure_args " in
1325 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1326 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1327 esac
1328 fi
1329 done
1330 if $ac_cache_corrupted; then
1331 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1332 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1333 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1334 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1335 { (exit 1); exit 1; }; }
1336 fi
1337
1338 ac_ext=c
1339 ac_cpp='$CPP $CPPFLAGS'
1340 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1341 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1342 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371 ac_config_headers="$ac_config_headers config.h"
1372
1373
1374 # This works around the fact that libtool configuration may change LD
1375 # for this particular configuration, but some shells, instead of
1376 # keeping the changes in LD private, export them just because LD is
1377 # exported. Only used at the end of this file.
1378 ### am handles this now? ORIGINAL_LD_FOR_MULTILIBS=$LD
1379
1380 # For libtool versioning info, format is CURRENT:REVISION:AGE
1381 libtool_VERSION=6:9:0
1382
1383
1384 # Find the rest of the source tree framework.
1385 # Default to --enable-multilib
1386 # Check whether --enable-multilib or --disable-multilib was given.
1387 if test "${enable_multilib+set}" = set; then
1388 enableval="$enable_multilib"
1389 case "$enableval" in
1390 yes) multilib=yes ;;
1391 no) multilib=no ;;
1392 *) { { echo "$as_me:$LINENO: error: bad value $enableval for multilib option" >&5
1393 echo "$as_me: error: bad value $enableval for multilib option" >&2;}
1394 { (exit 1); exit 1; }; } ;;
1395 esac
1396 else
1397 multilib=yes
1398 fi;
1399
1400 # We may get other options which we leave undocumented:
1401 # --with-target-subdir, --with-multisrctop, --with-multisubdir
1402 # See config-ml.in if you want the gory details.
1403
1404 if test "$srcdir" = "."; then
1405 if test "$with_target_subdir" != "."; then
1406 multi_basedir="$srcdir/$with_multisrctop../.."
1407 else
1408 multi_basedir="$srcdir/$with_multisrctop.."
1409 fi
1410 else
1411 multi_basedir="$srcdir/.."
1412 fi
1413
1414
1415 ac_config_commands="$ac_config_commands default-1"
1416
1417
1418 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
1419 #
1420 # You will slowly go insane if you do not grok the following fact: when
1421 # building v3 as part of the compiler, the top-level /target/ becomes the
1422 # library's /host/. configure then causes --target to default to --host,
1423 # exactly like any other package using autoconf. Therefore, 'target' and
1424 # 'host' will always be the same. This makes sense both for native and
1425 # cross compilers, just think about it for a little while. :-)
1426 #
1427 # Also, if v3 is being configured as part of a cross compiler, the top-level
1428 # configure script will pass the "real" host as $with_cross_host.
1429 #
1430 # Do not delete or change the following two lines. For why, see
1431 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
1432 ac_aux_dir=
1433 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1434 if test -f $ac_dir/install-sh; then
1435 ac_aux_dir=$ac_dir
1436 ac_install_sh="$ac_aux_dir/install-sh -c"
1437 break
1438 elif test -f $ac_dir/install.sh; then
1439 ac_aux_dir=$ac_dir
1440 ac_install_sh="$ac_aux_dir/install.sh -c"
1441 break
1442 elif test -f $ac_dir/shtool; then
1443 ac_aux_dir=$ac_dir
1444 ac_install_sh="$ac_aux_dir/shtool install -c"
1445 break
1446 fi
1447 done
1448 if test -z "$ac_aux_dir"; then
1449 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1450 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1451 { (exit 1); exit 1; }; }
1452 fi
1453 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1454 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1455 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1456
1457 # Make sure we can run config.sub.
1458 $ac_config_sub sun4 >/dev/null 2>&1 ||
1459 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1460 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1461 { (exit 1); exit 1; }; }
1462
1463 echo "$as_me:$LINENO: checking build system type" >&5
1464 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1465 if test "${ac_cv_build+set}" = set; then
1466 echo $ECHO_N "(cached) $ECHO_C" >&6
1467 else
1468 ac_cv_build_alias=$build_alias
1469 test -z "$ac_cv_build_alias" &&
1470 ac_cv_build_alias=`$ac_config_guess`
1471 test -z "$ac_cv_build_alias" &&
1472 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1473 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1474 { (exit 1); exit 1; }; }
1475 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1476 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1477 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1478 { (exit 1); exit 1; }; }
1479
1480 fi
1481 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1482 echo "${ECHO_T}$ac_cv_build" >&6
1483 build=$ac_cv_build
1484 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1485 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1486 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1487
1488
1489 echo "$as_me:$LINENO: checking host system type" >&5
1490 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1491 if test "${ac_cv_host+set}" = set; then
1492 echo $ECHO_N "(cached) $ECHO_C" >&6
1493 else
1494 ac_cv_host_alias=$host_alias
1495 test -z "$ac_cv_host_alias" &&
1496 ac_cv_host_alias=$ac_cv_build_alias
1497 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1498 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1499 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1500 { (exit 1); exit 1; }; }
1501
1502 fi
1503 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1504 echo "${ECHO_T}$ac_cv_host" >&6
1505 host=$ac_cv_host
1506 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1507 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1508 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1509
1510
1511 echo "$as_me:$LINENO: checking target system type" >&5
1512 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1513 if test "${ac_cv_target+set}" = set; then
1514 echo $ECHO_N "(cached) $ECHO_C" >&6
1515 else
1516 ac_cv_target_alias=$target_alias
1517 test "x$ac_cv_target_alias" = "x" &&
1518 ac_cv_target_alias=$ac_cv_host_alias
1519 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1520 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1521 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1522 { (exit 1); exit 1; }; }
1523
1524 fi
1525 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1526 echo "${ECHO_T}$ac_cv_target" >&6
1527 target=$ac_cv_target
1528 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1529 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1530 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1531
1532
1533 # The aliases save the names the user supplied, while $host etc.
1534 # will get canonicalized.
1535 test -n "$target_alias" &&
1536 test "$program_prefix$program_suffix$program_transform_name" = \
1537 NONENONEs,x,x, &&
1538 program_prefix=${target_alias}-
1539 target_alias=${target_alias-$host_alias}
1540
1541 # Handy for debugging:
1542 #AC_MSG_NOTICE($build / $host / $target / $host_alias / $target_alias); sleep 5
1543
1544 if test "$build" != "$host"; then
1545 # We are being configured with some form of cross compiler.
1546 GLIBCXX_IS_NATIVE=false
1547 case "$host","$target" in
1548 # Darwin crosses can use the host system's libraries and headers,
1549 # because of the fat library support. Of course, it must be the
1550 # same version of Darwin on both sides. Allow the user to
1551 # just say --target=foo-darwin without a version number to mean
1552 # "the version on this system".
1553 *-*-darwin*,*-*-darwin*)
1554 hostos=`echo $host | sed 's/.*-darwin/darwin/'`
1555 targetos=`echo $target | sed 's/.*-darwin/darwin/'`
1556 if test $hostos = $targetos -o $targetos = darwin ; then
1557 GLIBCXX_IS_NATIVE=true
1558 fi
1559 ;;
1560
1561 *)
1562
1563 ;;
1564 esac
1565 else
1566 GLIBCXX_IS_NATIVE=true
1567 fi
1568
1569 # Sets up automake. Must come after AC_CANONICAL_SYSTEM. Each of the
1570 # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
1571 # 1.x: minimum required version
1572 # no-define: PACKAGE and VERSION will not be #define'd in config.h (a bunch
1573 # of other PACKAGE_* variables will, however, and there's nothing
1574 # we can do about that; they come from AC_INIT).
1575 # foreign: we don't follow the normal rules for GNU packages (no COPYING
1576 # file in the top srcdir, etc, etc), so stop complaining.
1577 # no-dependencies: turns off auto dependency generation (just for now)
1578 # -Wall: turns on all automake warnings...
1579 # -Wno-portability: ...except this one, since GNU make is now required.
1580 am__api_version="1.9"
1581 # Find a good install program. We prefer a C program (faster),
1582 # so one script is as good as another. But avoid the broken or
1583 # incompatible versions:
1584 # SysV /etc/install, /usr/sbin/install
1585 # SunOS /usr/etc/install
1586 # IRIX /sbin/install
1587 # AIX /bin/install
1588 # AmigaOS /C/install, which installs bootblocks on floppy discs
1589 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1590 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1591 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1592 # OS/2's system install, which has a completely different semantic
1593 # ./install, which can be erroneously created by make from ./install.sh.
1594 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1595 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1596 if test -z "$INSTALL"; then
1597 if test "${ac_cv_path_install+set}" = set; then
1598 echo $ECHO_N "(cached) $ECHO_C" >&6
1599 else
1600 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1601 for as_dir in $PATH
1602 do
1603 IFS=$as_save_IFS
1604 test -z "$as_dir" && as_dir=.
1605 # Account for people who put trailing slashes in PATH elements.
1606 case $as_dir/ in
1607 ./ | .// | /cC/* | \
1608 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1609 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1610 /usr/ucb/* ) ;;
1611 *)
1612 # OSF1 and SCO ODT 3.0 have their own names for install.
1613 # Don't use installbsd from OSF since it installs stuff as root
1614 # by default.
1615 for ac_prog in ginstall scoinst install; do
1616 for ac_exec_ext in '' $ac_executable_extensions; do
1617 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1618 if test $ac_prog = install &&
1619 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1620 # AIX install. It has an incompatible calling convention.
1621 :
1622 elif test $ac_prog = install &&
1623 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1624 # program-specific install script used by HP pwplus--don't use.
1625 :
1626 else
1627 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1628 break 3
1629 fi
1630 fi
1631 done
1632 done
1633 ;;
1634 esac
1635 done
1636
1637
1638 fi
1639 if test "${ac_cv_path_install+set}" = set; then
1640 INSTALL=$ac_cv_path_install
1641 else
1642 # As a last resort, use the slow shell script. We don't cache a
1643 # path for INSTALL within a source directory, because that will
1644 # break other packages using the cache if that directory is
1645 # removed, or if the path is relative.
1646 INSTALL=$ac_install_sh
1647 fi
1648 fi
1649 echo "$as_me:$LINENO: result: $INSTALL" >&5
1650 echo "${ECHO_T}$INSTALL" >&6
1651
1652 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1653 # It thinks the first close brace ends the variable substitution.
1654 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1655
1656 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1657
1658 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1659
1660 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1661 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1662 # Just in case
1663 sleep 1
1664 echo timestamp > conftest.file
1665 # Do `set' in a subshell so we don't clobber the current shell's
1666 # arguments. Must try -L first in case configure is actually a
1667 # symlink; some systems play weird games with the mod time of symlinks
1668 # (eg FreeBSD returns the mod time of the symlink's containing
1669 # directory).
1670 if (
1671 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1672 if test "$*" = "X"; then
1673 # -L didn't work.
1674 set X `ls -t $srcdir/configure conftest.file`
1675 fi
1676 rm -f conftest.file
1677 if test "$*" != "X $srcdir/configure conftest.file" \
1678 && test "$*" != "X conftest.file $srcdir/configure"; then
1679
1680 # If neither matched, then we have a broken ls. This can happen
1681 # if, for instance, CONFIG_SHELL is bash and it inherits a
1682 # broken ls alias from the environment. This has actually
1683 # happened. Such a system could not be considered "sane".
1684 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1685 alias in your environment" >&5
1686 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1687 alias in your environment" >&2;}
1688 { (exit 1); exit 1; }; }
1689 fi
1690
1691 test "$2" = conftest.file
1692 )
1693 then
1694 # Ok.
1695 :
1696 else
1697 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1698 Check your system clock" >&5
1699 echo "$as_me: error: newly created file is older than distributed files!
1700 Check your system clock" >&2;}
1701 { (exit 1); exit 1; }; }
1702 fi
1703 echo "$as_me:$LINENO: result: yes" >&5
1704 echo "${ECHO_T}yes" >&6
1705 test "$program_prefix" != NONE &&
1706 program_transform_name="s,^,$program_prefix,;$program_transform_name"
1707 # Use a double $ so make ignores it.
1708 test "$program_suffix" != NONE &&
1709 program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1710 # Double any \ or $. echo might interpret backslashes.
1711 # By default was `s,x,x', remove it if useless.
1712 cat <<\_ACEOF >conftest.sed
1713 s/[\\$]/&&/g;s/;s,x,x,$//
1714 _ACEOF
1715 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1716 rm conftest.sed
1717
1718 # expand $ac_aux_dir to an absolute path
1719 am_aux_dir=`cd $ac_aux_dir && pwd`
1720
1721 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1722 # Use eval to expand $SHELL
1723 if eval "$MISSING --run true"; then
1724 am_missing_run="$MISSING --run "
1725 else
1726 am_missing_run=
1727 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1728 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1729 fi
1730
1731 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
1732 # We used to keeping the `.' as first argument, in order to
1733 # allow $(mkdir_p) to be used without argument. As in
1734 # $(mkdir_p) $(somedir)
1735 # where $(somedir) is conditionally defined. However this is wrong
1736 # for two reasons:
1737 # 1. if the package is installed by a user who cannot write `.'
1738 # make install will fail,
1739 # 2. the above comment should most certainly read
1740 # $(mkdir_p) $(DESTDIR)$(somedir)
1741 # so it does not work when $(somedir) is undefined and
1742 # $(DESTDIR) is not.
1743 # To support the latter case, we have to write
1744 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1745 # so the `.' trick is pointless.
1746 mkdir_p='mkdir -p --'
1747 else
1748 # On NextStep and OpenStep, the `mkdir' command does not
1749 # recognize any option. It will interpret all options as
1750 # directories to create, and then abort because `.' already
1751 # exists.
1752 for d in ./-p ./--version;
1753 do
1754 test -d $d && rmdir $d
1755 done
1756 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1757 if test -f "$ac_aux_dir/mkinstalldirs"; then
1758 mkdir_p='$(mkinstalldirs)'
1759 else
1760 mkdir_p='$(install_sh) -d'
1761 fi
1762 fi
1763
1764 for ac_prog in gawk mawk nawk awk
1765 do
1766 # Extract the first word of "$ac_prog", so it can be a program name with args.
1767 set dummy $ac_prog; ac_word=$2
1768 echo "$as_me:$LINENO: checking for $ac_word" >&5
1769 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1770 if test "${ac_cv_prog_AWK+set}" = set; then
1771 echo $ECHO_N "(cached) $ECHO_C" >&6
1772 else
1773 if test -n "$AWK"; then
1774 ac_cv_prog_AWK="$AWK" # Let the user override the test.
1775 else
1776 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1777 for as_dir in $PATH
1778 do
1779 IFS=$as_save_IFS
1780 test -z "$as_dir" && as_dir=.
1781 for ac_exec_ext in '' $ac_executable_extensions; do
1782 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1783 ac_cv_prog_AWK="$ac_prog"
1784 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1785 break 2
1786 fi
1787 done
1788 done
1789
1790 fi
1791 fi
1792 AWK=$ac_cv_prog_AWK
1793 if test -n "$AWK"; then
1794 echo "$as_me:$LINENO: result: $AWK" >&5
1795 echo "${ECHO_T}$AWK" >&6
1796 else
1797 echo "$as_me:$LINENO: result: no" >&5
1798 echo "${ECHO_T}no" >&6
1799 fi
1800
1801 test -n "$AWK" && break
1802 done
1803
1804 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1805 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1806 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1807 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1808 echo $ECHO_N "(cached) $ECHO_C" >&6
1809 else
1810 cat >conftest.make <<\_ACEOF
1811 all:
1812 @echo 'ac_maketemp="$(MAKE)"'
1813 _ACEOF
1814 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1815 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1816 if test -n "$ac_maketemp"; then
1817 eval ac_cv_prog_make_${ac_make}_set=yes
1818 else
1819 eval ac_cv_prog_make_${ac_make}_set=no
1820 fi
1821 rm -f conftest.make
1822 fi
1823 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1824 echo "$as_me:$LINENO: result: yes" >&5
1825 echo "${ECHO_T}yes" >&6
1826 SET_MAKE=
1827 else
1828 echo "$as_me:$LINENO: result: no" >&5
1829 echo "${ECHO_T}no" >&6
1830 SET_MAKE="MAKE=${MAKE-make}"
1831 fi
1832
1833 rm -rf .tst 2>/dev/null
1834 mkdir .tst 2>/dev/null
1835 if test -d .tst; then
1836 am__leading_dot=.
1837 else
1838 am__leading_dot=_
1839 fi
1840 rmdir .tst 2>/dev/null
1841
1842 # test to see if srcdir already configured
1843 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1844 test -f $srcdir/config.status; then
1845 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1846 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1847 { (exit 1); exit 1; }; }
1848 fi
1849
1850 # test whether we have cygpath
1851 if test -z "$CYGPATH_W"; then
1852 if (cygpath --version) >/dev/null 2>/dev/null; then
1853 CYGPATH_W='cygpath -w'
1854 else
1855 CYGPATH_W=echo
1856 fi
1857 fi
1858
1859
1860 # Define the identity of the package.
1861 PACKAGE='libstdc++'
1862 VERSION='version-unused'
1863
1864
1865 # Some tools Automake needs.
1866
1867 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1868
1869
1870 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
1871
1872
1873 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1874
1875
1876 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
1877
1878
1879 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1880
1881 install_sh=${install_sh-"$am_aux_dir/install-sh"}
1882
1883 # Installed binaries are usually stripped using `strip' when the user
1884 # run `make install-strip'. However `strip' might not be the right
1885 # tool to use in cross-compilation environments, therefore Automake
1886 # will honor the `STRIP' environment variable to overrule this program.
1887 if test "$cross_compiling" != no; then
1888 if test -n "$ac_tool_prefix"; then
1889 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1890 set dummy ${ac_tool_prefix}strip; ac_word=$2
1891 echo "$as_me:$LINENO: checking for $ac_word" >&5
1892 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1893 if test "${ac_cv_prog_STRIP+set}" = set; then
1894 echo $ECHO_N "(cached) $ECHO_C" >&6
1895 else
1896 if test -n "$STRIP"; then
1897 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1898 else
1899 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1900 for as_dir in $PATH
1901 do
1902 IFS=$as_save_IFS
1903 test -z "$as_dir" && as_dir=.
1904 for ac_exec_ext in '' $ac_executable_extensions; do
1905 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1906 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1907 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1908 break 2
1909 fi
1910 done
1911 done
1912
1913 fi
1914 fi
1915 STRIP=$ac_cv_prog_STRIP
1916 if test -n "$STRIP"; then
1917 echo "$as_me:$LINENO: result: $STRIP" >&5
1918 echo "${ECHO_T}$STRIP" >&6
1919 else
1920 echo "$as_me:$LINENO: result: no" >&5
1921 echo "${ECHO_T}no" >&6
1922 fi
1923
1924 fi
1925 if test -z "$ac_cv_prog_STRIP"; then
1926 ac_ct_STRIP=$STRIP
1927 # Extract the first word of "strip", so it can be a program name with args.
1928 set dummy strip; ac_word=$2
1929 echo "$as_me:$LINENO: checking for $ac_word" >&5
1930 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1931 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1932 echo $ECHO_N "(cached) $ECHO_C" >&6
1933 else
1934 if test -n "$ac_ct_STRIP"; then
1935 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
1936 else
1937 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1938 for as_dir in $PATH
1939 do
1940 IFS=$as_save_IFS
1941 test -z "$as_dir" && as_dir=.
1942 for ac_exec_ext in '' $ac_executable_extensions; do
1943 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1944 ac_cv_prog_ac_ct_STRIP="strip"
1945 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1946 break 2
1947 fi
1948 done
1949 done
1950
1951 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
1952 fi
1953 fi
1954 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
1955 if test -n "$ac_ct_STRIP"; then
1956 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1957 echo "${ECHO_T}$ac_ct_STRIP" >&6
1958 else
1959 echo "$as_me:$LINENO: result: no" >&5
1960 echo "${ECHO_T}no" >&6
1961 fi
1962
1963 STRIP=$ac_ct_STRIP
1964 else
1965 STRIP="$ac_cv_prog_STRIP"
1966 fi
1967
1968 fi
1969 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
1970
1971 # We need awk for the "check" target. The system "awk" is bad on
1972 # some platforms.
1973 # Always define AMTAR for backward compatibility.
1974
1975 AMTAR=${AMTAR-"${am_missing_run}tar"}
1976
1977 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988 # Runs configure.host, finds CC, CXX, and assorted other critical bits. Sets
1989 # up critical shell variables.
1990
1991 ac_ext=c
1992 ac_cpp='$CPP $CPPFLAGS'
1993 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1994 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1995 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1996 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
1997 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
1998 # On Suns, sometimes $CPP names a directory.
1999 if test -n "$CPP" && test -d "$CPP"; then
2000 CPP=
2001 fi
2002 if test -z "$CPP"; then
2003 if test "${ac_cv_prog_CPP+set}" = set; then
2004 echo $ECHO_N "(cached) $ECHO_C" >&6
2005 else
2006 # Double quotes because CPP needs to be expanded
2007 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2008 do
2009 ac_preproc_ok=false
2010 for ac_c_preproc_warn_flag in '' yes
2011 do
2012 # Use a header file that comes with gcc, so configuring glibc
2013 # with a fresh cross-compiler works.
2014 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2015 # <limits.h> exists even on freestanding compilers.
2016 # On the NeXT, cc -E runs the code through the compiler's parser,
2017 # not just through cpp. "Syntax error" is here to catch this case.
2018 cat >conftest.$ac_ext <<_ACEOF
2019 /* confdefs.h. */
2020 _ACEOF
2021 cat confdefs.h >>conftest.$ac_ext
2022 cat >>conftest.$ac_ext <<_ACEOF
2023 /* end confdefs.h. */
2024 #ifdef __STDC__
2025 # include <limits.h>
2026 #else
2027 # include <assert.h>
2028 #endif
2029 Syntax error
2030 _ACEOF
2031 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2032 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2033 ac_status=$?
2034 grep -v '^ *+' conftest.er1 >conftest.err
2035 rm -f conftest.er1
2036 cat conftest.err >&5
2037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2038 (exit $ac_status); } >/dev/null; then
2039 if test -s conftest.err; then
2040 ac_cpp_err=$ac_c_preproc_warn_flag
2041 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2042 else
2043 ac_cpp_err=
2044 fi
2045 else
2046 ac_cpp_err=yes
2047 fi
2048 if test -z "$ac_cpp_err"; then
2049 :
2050 else
2051 echo "$as_me: failed program was:" >&5
2052 sed 's/^/| /' conftest.$ac_ext >&5
2053
2054 # Broken: fails on valid input.
2055 continue
2056 fi
2057 rm -f conftest.err conftest.$ac_ext
2058
2059 # OK, works on sane cases. Now check whether non-existent headers
2060 # can be detected and how.
2061 cat >conftest.$ac_ext <<_ACEOF
2062 /* confdefs.h. */
2063 _ACEOF
2064 cat confdefs.h >>conftest.$ac_ext
2065 cat >>conftest.$ac_ext <<_ACEOF
2066 /* end confdefs.h. */
2067 #include <ac_nonexistent.h>
2068 _ACEOF
2069 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2070 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2071 ac_status=$?
2072 grep -v '^ *+' conftest.er1 >conftest.err
2073 rm -f conftest.er1
2074 cat conftest.err >&5
2075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2076 (exit $ac_status); } >/dev/null; then
2077 if test -s conftest.err; then
2078 ac_cpp_err=$ac_c_preproc_warn_flag
2079 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2080 else
2081 ac_cpp_err=
2082 fi
2083 else
2084 ac_cpp_err=yes
2085 fi
2086 if test -z "$ac_cpp_err"; then
2087 # Broken: success on invalid input.
2088 continue
2089 else
2090 echo "$as_me: failed program was:" >&5
2091 sed 's/^/| /' conftest.$ac_ext >&5
2092
2093 # Passes both tests.
2094 ac_preproc_ok=:
2095 break
2096 fi
2097 rm -f conftest.err conftest.$ac_ext
2098
2099 done
2100 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2101 rm -f conftest.err conftest.$ac_ext
2102 if $ac_preproc_ok; then
2103 break
2104 fi
2105
2106 done
2107 ac_cv_prog_CPP=$CPP
2108
2109 fi
2110 CPP=$ac_cv_prog_CPP
2111 else
2112 ac_cv_prog_CPP=$CPP
2113 fi
2114 echo "$as_me:$LINENO: result: $CPP" >&5
2115 echo "${ECHO_T}$CPP" >&6
2116 ac_preproc_ok=false
2117 for ac_c_preproc_warn_flag in '' yes
2118 do
2119 # Use a header file that comes with gcc, so configuring glibc
2120 # with a fresh cross-compiler works.
2121 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2122 # <limits.h> exists even on freestanding compilers.
2123 # On the NeXT, cc -E runs the code through the compiler's parser,
2124 # not just through cpp. "Syntax error" is here to catch this case.
2125 cat >conftest.$ac_ext <<_ACEOF
2126 /* confdefs.h. */
2127 _ACEOF
2128 cat confdefs.h >>conftest.$ac_ext
2129 cat >>conftest.$ac_ext <<_ACEOF
2130 /* end confdefs.h. */
2131 #ifdef __STDC__
2132 # include <limits.h>
2133 #else
2134 # include <assert.h>
2135 #endif
2136 Syntax error
2137 _ACEOF
2138 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2139 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2140 ac_status=$?
2141 grep -v '^ *+' conftest.er1 >conftest.err
2142 rm -f conftest.er1
2143 cat conftest.err >&5
2144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2145 (exit $ac_status); } >/dev/null; then
2146 if test -s conftest.err; then
2147 ac_cpp_err=$ac_c_preproc_warn_flag
2148 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2149 else
2150 ac_cpp_err=
2151 fi
2152 else
2153 ac_cpp_err=yes
2154 fi
2155 if test -z "$ac_cpp_err"; then
2156 :
2157 else
2158 echo "$as_me: failed program was:" >&5
2159 sed 's/^/| /' conftest.$ac_ext >&5
2160
2161 # Broken: fails on valid input.
2162 continue
2163 fi
2164 rm -f conftest.err conftest.$ac_ext
2165
2166 # OK, works on sane cases. Now check whether non-existent headers
2167 # can be detected and how.
2168 cat >conftest.$ac_ext <<_ACEOF
2169 /* confdefs.h. */
2170 _ACEOF
2171 cat confdefs.h >>conftest.$ac_ext
2172 cat >>conftest.$ac_ext <<_ACEOF
2173 /* end confdefs.h. */
2174 #include <ac_nonexistent.h>
2175 _ACEOF
2176 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2177 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2178 ac_status=$?
2179 grep -v '^ *+' conftest.er1 >conftest.err
2180 rm -f conftest.er1
2181 cat conftest.err >&5
2182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2183 (exit $ac_status); } >/dev/null; then
2184 if test -s conftest.err; then
2185 ac_cpp_err=$ac_c_preproc_warn_flag
2186 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2187 else
2188 ac_cpp_err=
2189 fi
2190 else
2191 ac_cpp_err=yes
2192 fi
2193 if test -z "$ac_cpp_err"; then
2194 # Broken: success on invalid input.
2195 continue
2196 else
2197 echo "$as_me: failed program was:" >&5
2198 sed 's/^/| /' conftest.$ac_ext >&5
2199
2200 # Passes both tests.
2201 ac_preproc_ok=:
2202 break
2203 fi
2204 rm -f conftest.err conftest.$ac_ext
2205
2206 done
2207 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2208 rm -f conftest.err conftest.$ac_ext
2209 if $ac_preproc_ok; then
2210 :
2211 else
2212 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
2213 See \`config.log' for more details." >&5
2214 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
2215 See \`config.log' for more details." >&2;}
2216 { (exit 1); exit 1; }; }
2217 fi
2218
2219 ac_ext=c
2220 ac_cpp='$CPP $CPPFLAGS'
2221 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2222 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2223 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2224
2225
2226 echo "$as_me:$LINENO: checking for egrep" >&5
2227 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
2228 if test "${ac_cv_prog_egrep+set}" = set; then
2229 echo $ECHO_N "(cached) $ECHO_C" >&6
2230 else
2231 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
2232 then ac_cv_prog_egrep='grep -E'
2233 else ac_cv_prog_egrep='egrep'
2234 fi
2235 fi
2236 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
2237 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
2238 EGREP=$ac_cv_prog_egrep
2239
2240
2241
2242 # Keep these sync'd with the list in Makefile.am. The first provides an
2243 # expandable list at autoconf time; the second provides an expandable list
2244 # (i.e., shell variable) at configure time.
2245
2246 SUBDIRS='include libmath libsupc++ src po testsuite'
2247
2248 # These need to be absolute paths, yet at the same time need to
2249 # canonicalize only relative paths, because then amd will not unmount
2250 # drives. Thus the use of PWDCMD: set it to 'pawd' or 'amq -w' if using amd.
2251 glibcxx_builddir=`${PWDCMD-pwd}`
2252 case $srcdir in
2253 \\/$* | ?:\\/*) glibcxx_srcdir=${srcdir} ;;
2254 *) glibcxx_srcdir=`cd "$srcdir" && ${PWDCMD-pwd} || echo "$srcdir"` ;;
2255 esac
2256 toplevel_srcdir=${glibcxx_srcdir}/..
2257
2258
2259
2260
2261 # We use these options to decide which functions to include. They are
2262 # set from the top level.
2263
2264 # Check whether --with-target-subdir or --without-target-subdir was given.
2265 if test "${with_target_subdir+set}" = set; then
2266 withval="$with_target_subdir"
2267
2268 fi;
2269
2270
2271 # Check whether --with-cross-host or --without-cross-host was given.
2272 if test "${with_cross_host+set}" = set; then
2273 withval="$with_cross_host"
2274
2275 fi;
2276
2277
2278 # Check whether --with-newlib or --without-newlib was given.
2279 if test "${with_newlib+set}" = set; then
2280 withval="$with_newlib"
2281
2282 fi;
2283
2284 # We're almost certainly being configured before anything else which uses
2285 # C++, so all of our AC_PROG_* discoveries will be cached. It's vital that
2286 # we not cache the value of CXX that we "discover" here, because it's set
2287 # to something unique for us and libjava. Other target libraries need to
2288 # find CXX for themselves. We yank the rug out from under the normal AC_*
2289 # process by sneakily renaming the cache variable. This also lets us debug
2290 # the value of "our" CXX in postmortems.
2291 #
2292 # We must also force CXX to /not/ be a precious variable, otherwise the
2293 # wrong (non-multilib-adjusted) value will be used in multilibs. This
2294 # little trick also affects CPPFLAGS, CXXFLAGS, and LDFLAGS. And as a side
2295 # effect, CXXFLAGS is no longer automagically subst'd, so we have to do
2296 # that ourselves. Un-preciousing AC_PROG_CC also affects CC and CFLAGS.
2297 #
2298 # -fno-builtin must be present here so that a non-conflicting form of
2299 # std::exit can be guessed by AC_PROG_CXX, and used in later tests.
2300
2301
2302
2303
2304 save_CXXFLAGS="$CXXFLAGS"
2305 CXXFLAGS="$CXXFLAGS -fno-builtin"
2306 ac_ext=c
2307 ac_cpp='$CPP $CPPFLAGS'
2308 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2309 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2310 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2311 if test -n "$ac_tool_prefix"; then
2312 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2313 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2314 echo "$as_me:$LINENO: checking for $ac_word" >&5
2315 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2316 if test "${ac_cv_prog_CC+set}" = set; then
2317 echo $ECHO_N "(cached) $ECHO_C" >&6
2318 else
2319 if test -n "$CC"; then
2320 ac_cv_prog_CC="$CC" # Let the user override the test.
2321 else
2322 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2323 for as_dir in $PATH
2324 do
2325 IFS=$as_save_IFS
2326 test -z "$as_dir" && as_dir=.
2327 for ac_exec_ext in '' $ac_executable_extensions; do
2328 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2329 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2330 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2331 break 2
2332 fi
2333 done
2334 done
2335
2336 fi
2337 fi
2338 CC=$ac_cv_prog_CC
2339 if test -n "$CC"; then
2340 echo "$as_me:$LINENO: result: $CC" >&5
2341 echo "${ECHO_T}$CC" >&6
2342 else
2343 echo "$as_me:$LINENO: result: no" >&5
2344 echo "${ECHO_T}no" >&6
2345 fi
2346
2347 fi
2348 if test -z "$ac_cv_prog_CC"; then
2349 ac_ct_CC=$CC
2350 # Extract the first word of "gcc", so it can be a program name with args.
2351 set dummy gcc; ac_word=$2
2352 echo "$as_me:$LINENO: checking for $ac_word" >&5
2353 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2354 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2355 echo $ECHO_N "(cached) $ECHO_C" >&6
2356 else
2357 if test -n "$ac_ct_CC"; then
2358 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2359 else
2360 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2361 for as_dir in $PATH
2362 do
2363 IFS=$as_save_IFS
2364 test -z "$as_dir" && as_dir=.
2365 for ac_exec_ext in '' $ac_executable_extensions; do
2366 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2367 ac_cv_prog_ac_ct_CC="gcc"
2368 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2369 break 2
2370 fi
2371 done
2372 done
2373
2374 fi
2375 fi
2376 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2377 if test -n "$ac_ct_CC"; then
2378 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2379 echo "${ECHO_T}$ac_ct_CC" >&6
2380 else
2381 echo "$as_me:$LINENO: result: no" >&5
2382 echo "${ECHO_T}no" >&6
2383 fi
2384
2385 CC=$ac_ct_CC
2386 else
2387 CC="$ac_cv_prog_CC"
2388 fi
2389
2390 if test -z "$CC"; then
2391 if test -n "$ac_tool_prefix"; then
2392 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2393 set dummy ${ac_tool_prefix}cc; ac_word=$2
2394 echo "$as_me:$LINENO: checking for $ac_word" >&5
2395 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2396 if test "${ac_cv_prog_CC+set}" = set; then
2397 echo $ECHO_N "(cached) $ECHO_C" >&6
2398 else
2399 if test -n "$CC"; then
2400 ac_cv_prog_CC="$CC" # Let the user override the test.
2401 else
2402 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2403 for as_dir in $PATH
2404 do
2405 IFS=$as_save_IFS
2406 test -z "$as_dir" && as_dir=.
2407 for ac_exec_ext in '' $ac_executable_extensions; do
2408 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2409 ac_cv_prog_CC="${ac_tool_prefix}cc"
2410 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2411 break 2
2412 fi
2413 done
2414 done
2415
2416 fi
2417 fi
2418 CC=$ac_cv_prog_CC
2419 if test -n "$CC"; then
2420 echo "$as_me:$LINENO: result: $CC" >&5
2421 echo "${ECHO_T}$CC" >&6
2422 else
2423 echo "$as_me:$LINENO: result: no" >&5
2424 echo "${ECHO_T}no" >&6
2425 fi
2426
2427 fi
2428 if test -z "$ac_cv_prog_CC"; then
2429 ac_ct_CC=$CC
2430 # Extract the first word of "cc", so it can be a program name with args.
2431 set dummy cc; ac_word=$2
2432 echo "$as_me:$LINENO: checking for $ac_word" >&5
2433 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2434 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2435 echo $ECHO_N "(cached) $ECHO_C" >&6
2436 else
2437 if test -n "$ac_ct_CC"; then
2438 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2439 else
2440 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2441 for as_dir in $PATH
2442 do
2443 IFS=$as_save_IFS
2444 test -z "$as_dir" && as_dir=.
2445 for ac_exec_ext in '' $ac_executable_extensions; do
2446 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2447 ac_cv_prog_ac_ct_CC="cc"
2448 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2449 break 2
2450 fi
2451 done
2452 done
2453
2454 fi
2455 fi
2456 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2457 if test -n "$ac_ct_CC"; then
2458 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2459 echo "${ECHO_T}$ac_ct_CC" >&6
2460 else
2461 echo "$as_me:$LINENO: result: no" >&5
2462 echo "${ECHO_T}no" >&6
2463 fi
2464
2465 CC=$ac_ct_CC
2466 else
2467 CC="$ac_cv_prog_CC"
2468 fi
2469
2470 fi
2471 if test -z "$CC"; then
2472 # Extract the first word of "cc", so it can be a program name with args.
2473 set dummy cc; ac_word=$2
2474 echo "$as_me:$LINENO: checking for $ac_word" >&5
2475 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2476 if test "${ac_cv_prog_CC+set}" = set; then
2477 echo $ECHO_N "(cached) $ECHO_C" >&6
2478 else
2479 if test -n "$CC"; then
2480 ac_cv_prog_CC="$CC" # Let the user override the test.
2481 else
2482 ac_prog_rejected=no
2483 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2484 for as_dir in $PATH
2485 do
2486 IFS=$as_save_IFS
2487 test -z "$as_dir" && as_dir=.
2488 for ac_exec_ext in '' $ac_executable_extensions; do
2489 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2490 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2491 ac_prog_rejected=yes
2492 continue
2493 fi
2494 ac_cv_prog_CC="cc"
2495 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2496 break 2
2497 fi
2498 done
2499 done
2500
2501 if test $ac_prog_rejected = yes; then
2502 # We found a bogon in the path, so make sure we never use it.
2503 set dummy $ac_cv_prog_CC
2504 shift
2505 if test $# != 0; then
2506 # We chose a different compiler from the bogus one.
2507 # However, it has the same basename, so the bogon will be chosen
2508 # first if we set CC to just the basename; use the full file name.
2509 shift
2510 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2511 fi
2512 fi
2513 fi
2514 fi
2515 CC=$ac_cv_prog_CC
2516 if test -n "$CC"; then
2517 echo "$as_me:$LINENO: result: $CC" >&5
2518 echo "${ECHO_T}$CC" >&6
2519 else
2520 echo "$as_me:$LINENO: result: no" >&5
2521 echo "${ECHO_T}no" >&6
2522 fi
2523
2524 fi
2525 if test -z "$CC"; then
2526 if test -n "$ac_tool_prefix"; then
2527 for ac_prog in cl
2528 do
2529 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2530 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2531 echo "$as_me:$LINENO: checking for $ac_word" >&5
2532 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2533 if test "${ac_cv_prog_CC+set}" = set; then
2534 echo $ECHO_N "(cached) $ECHO_C" >&6
2535 else
2536 if test -n "$CC"; then
2537 ac_cv_prog_CC="$CC" # Let the user override the test.
2538 else
2539 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2540 for as_dir in $PATH
2541 do
2542 IFS=$as_save_IFS
2543 test -z "$as_dir" && as_dir=.
2544 for ac_exec_ext in '' $ac_executable_extensions; do
2545 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2546 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2547 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2548 break 2
2549 fi
2550 done
2551 done
2552
2553 fi
2554 fi
2555 CC=$ac_cv_prog_CC
2556 if test -n "$CC"; then
2557 echo "$as_me:$LINENO: result: $CC" >&5
2558 echo "${ECHO_T}$CC" >&6
2559 else
2560 echo "$as_me:$LINENO: result: no" >&5
2561 echo "${ECHO_T}no" >&6
2562 fi
2563
2564 test -n "$CC" && break
2565 done
2566 fi
2567 if test -z "$CC"; then
2568 ac_ct_CC=$CC
2569 for ac_prog in cl
2570 do
2571 # Extract the first word of "$ac_prog", so it can be a program name with args.
2572 set dummy $ac_prog; ac_word=$2
2573 echo "$as_me:$LINENO: checking for $ac_word" >&5
2574 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2575 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2576 echo $ECHO_N "(cached) $ECHO_C" >&6
2577 else
2578 if test -n "$ac_ct_CC"; then
2579 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2580 else
2581 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2582 for as_dir in $PATH
2583 do
2584 IFS=$as_save_IFS
2585 test -z "$as_dir" && as_dir=.
2586 for ac_exec_ext in '' $ac_executable_extensions; do
2587 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2588 ac_cv_prog_ac_ct_CC="$ac_prog"
2589 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2590 break 2
2591 fi
2592 done
2593 done
2594
2595 fi
2596 fi
2597 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2598 if test -n "$ac_ct_CC"; then
2599 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2600 echo "${ECHO_T}$ac_ct_CC" >&6
2601 else
2602 echo "$as_me:$LINENO: result: no" >&5
2603 echo "${ECHO_T}no" >&6
2604 fi
2605
2606 test -n "$ac_ct_CC" && break
2607 done
2608
2609 CC=$ac_ct_CC
2610 fi
2611
2612 fi
2613
2614
2615 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2616 See \`config.log' for more details." >&5
2617 echo "$as_me: error: no acceptable C compiler found in \$PATH
2618 See \`config.log' for more details." >&2;}
2619 { (exit 1); exit 1; }; }
2620
2621 # Provide some information about the compiler.
2622 echo "$as_me:$LINENO:" \
2623 "checking for C compiler version" >&5
2624 ac_compiler=`set X $ac_compile; echo $2`
2625 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2626 (eval $ac_compiler --version </dev/null >&5) 2>&5
2627 ac_status=$?
2628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2629 (exit $ac_status); }
2630 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2631 (eval $ac_compiler -v </dev/null >&5) 2>&5
2632 ac_status=$?
2633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2634 (exit $ac_status); }
2635 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2636 (eval $ac_compiler -V </dev/null >&5) 2>&5
2637 ac_status=$?
2638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2639 (exit $ac_status); }
2640
2641 cat >conftest.$ac_ext <<_ACEOF
2642 /* confdefs.h. */
2643 _ACEOF
2644 cat confdefs.h >>conftest.$ac_ext
2645 cat >>conftest.$ac_ext <<_ACEOF
2646 /* end confdefs.h. */
2647
2648 int
2649 main ()
2650 {
2651
2652 ;
2653 return 0;
2654 }
2655 _ACEOF
2656 # FIXME: Cleanup?
2657 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2658 (eval $ac_link) 2>&5
2659 ac_status=$?
2660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2661 (exit $ac_status); }; then
2662 gcc_no_link=no
2663 else
2664 gcc_no_link=yes
2665 fi
2666
2667 if test x$gcc_no_link = xyes; then
2668 # Setting cross_compile will disable run tests; it will
2669 # also disable AC_CHECK_FILE but that's generally
2670 # correct if we can't link.
2671 cross_compiling=yes
2672 EXEEXT=
2673 else
2674 cat >conftest.$ac_ext <<_ACEOF
2675 /* confdefs.h. */
2676 _ACEOF
2677 cat confdefs.h >>conftest.$ac_ext
2678 cat >>conftest.$ac_ext <<_ACEOF
2679 /* end confdefs.h. */
2680
2681 int
2682 main ()
2683 {
2684
2685 ;
2686 return 0;
2687 }
2688 _ACEOF
2689 ac_clean_files_save=$ac_clean_files
2690 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2691 # Try to create an executable without -o first, disregard a.out.
2692 # It will help us diagnose broken compilers, and finding out an intuition
2693 # of exeext.
2694 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2695 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2696 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2697 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2698 (eval $ac_link_default) 2>&5
2699 ac_status=$?
2700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2701 (exit $ac_status); }; then
2702 # Find the output, starting from the most likely. This scheme is
2703 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2704 # resort.
2705
2706 # Be careful to initialize this variable, since it used to be cached.
2707 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2708 ac_cv_exeext=
2709 # b.out is created by i960 compilers.
2710 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2711 do
2712 test -f "$ac_file" || continue
2713 case $ac_file in
2714 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2715 ;;
2716 conftest.$ac_ext )
2717 # This is the source file.
2718 ;;
2719 [ab].out )
2720 # We found the default executable, but exeext='' is most
2721 # certainly right.
2722 break;;
2723 *.* )
2724 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2725 # FIXME: I believe we export ac_cv_exeext for Libtool,
2726 # but it would be cool to find out if it's true. Does anybody
2727 # maintain Libtool? --akim.
2728 export ac_cv_exeext
2729 break;;
2730 * )
2731 break;;
2732 esac
2733 done
2734 else
2735 echo "$as_me: failed program was:" >&5
2736 sed 's/^/| /' conftest.$ac_ext >&5
2737
2738 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2739 See \`config.log' for more details." >&5
2740 echo "$as_me: error: C compiler cannot create executables
2741 See \`config.log' for more details." >&2;}
2742 { (exit 77); exit 77; }; }
2743 fi
2744
2745 ac_exeext=$ac_cv_exeext
2746 echo "$as_me:$LINENO: result: $ac_file" >&5
2747 echo "${ECHO_T}$ac_file" >&6
2748
2749 # Check the compiler produces executables we can run. If not, either
2750 # the compiler is broken, or we cross compile.
2751 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2752 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2753 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2754 # If not cross compiling, check that we can run a simple program.
2755 if test "$cross_compiling" != yes; then
2756 if { ac_try='./$ac_file'
2757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2758 (eval $ac_try) 2>&5
2759 ac_status=$?
2760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2761 (exit $ac_status); }; }; then
2762 cross_compiling=no
2763 else
2764 if test "$cross_compiling" = maybe; then
2765 cross_compiling=yes
2766 else
2767 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2768 If you meant to cross compile, use \`--host'.
2769 See \`config.log' for more details." >&5
2770 echo "$as_me: error: cannot run C compiled programs.
2771 If you meant to cross compile, use \`--host'.
2772 See \`config.log' for more details." >&2;}
2773 { (exit 1); exit 1; }; }
2774 fi
2775 fi
2776 fi
2777 echo "$as_me:$LINENO: result: yes" >&5
2778 echo "${ECHO_T}yes" >&6
2779
2780 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2781 ac_clean_files=$ac_clean_files_save
2782 # Check the compiler produces executables we can run. If not, either
2783 # the compiler is broken, or we cross compile.
2784 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2785 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2786 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2787 echo "${ECHO_T}$cross_compiling" >&6
2788
2789 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2790 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2791 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2792 (eval $ac_link) 2>&5
2793 ac_status=$?
2794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2795 (exit $ac_status); }; then
2796 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2797 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2798 # work properly (i.e., refer to `conftest.exe'), while it won't with
2799 # `rm'.
2800 for ac_file in conftest.exe conftest conftest.*; do
2801 test -f "$ac_file" || continue
2802 case $ac_file in
2803 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2804 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2805 export ac_cv_exeext
2806 break;;
2807 * ) break;;
2808 esac
2809 done
2810 else
2811 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2812 See \`config.log' for more details." >&5
2813 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2814 See \`config.log' for more details." >&2;}
2815 { (exit 1); exit 1; }; }
2816 fi
2817
2818 rm -f conftest$ac_cv_exeext
2819 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2820 echo "${ECHO_T}$ac_cv_exeext" >&6
2821
2822 rm -f conftest.$ac_ext
2823 EXEEXT=$ac_cv_exeext
2824 ac_exeext=$EXEEXT
2825 fi
2826 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2827 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2828 if test "${ac_cv_objext+set}" = set; then
2829 echo $ECHO_N "(cached) $ECHO_C" >&6
2830 else
2831 cat >conftest.$ac_ext <<_ACEOF
2832 /* confdefs.h. */
2833 _ACEOF
2834 cat confdefs.h >>conftest.$ac_ext
2835 cat >>conftest.$ac_ext <<_ACEOF
2836 /* end confdefs.h. */
2837
2838 int
2839 main ()
2840 {
2841
2842 ;
2843 return 0;
2844 }
2845 _ACEOF
2846 rm -f conftest.o conftest.obj
2847 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2848 (eval $ac_compile) 2>&5
2849 ac_status=$?
2850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2851 (exit $ac_status); }; then
2852 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2853 case $ac_file in
2854 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2855 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2856 break;;
2857 esac
2858 done
2859 else
2860 echo "$as_me: failed program was:" >&5
2861 sed 's/^/| /' conftest.$ac_ext >&5
2862
2863 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2864 See \`config.log' for more details." >&5
2865 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2866 See \`config.log' for more details." >&2;}
2867 { (exit 1); exit 1; }; }
2868 fi
2869
2870 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2871 fi
2872 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2873 echo "${ECHO_T}$ac_cv_objext" >&6
2874 OBJEXT=$ac_cv_objext
2875 ac_objext=$OBJEXT
2876 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2877 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2878 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2879 echo $ECHO_N "(cached) $ECHO_C" >&6
2880 else
2881 cat >conftest.$ac_ext <<_ACEOF
2882 /* confdefs.h. */
2883 _ACEOF
2884 cat confdefs.h >>conftest.$ac_ext
2885 cat >>conftest.$ac_ext <<_ACEOF
2886 /* end confdefs.h. */
2887
2888 int
2889 main ()
2890 {
2891 #ifndef __GNUC__
2892 choke me
2893 #endif
2894
2895 ;
2896 return 0;
2897 }
2898 _ACEOF
2899 rm -f conftest.$ac_objext
2900 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2901 (eval $ac_compile) 2>conftest.er1
2902 ac_status=$?
2903 grep -v '^ *+' conftest.er1 >conftest.err
2904 rm -f conftest.er1
2905 cat conftest.err >&5
2906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2907 (exit $ac_status); } &&
2908 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2910 (eval $ac_try) 2>&5
2911 ac_status=$?
2912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2913 (exit $ac_status); }; } &&
2914 { ac_try='test -s conftest.$ac_objext'
2915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2916 (eval $ac_try) 2>&5
2917 ac_status=$?
2918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2919 (exit $ac_status); }; }; then
2920 ac_compiler_gnu=yes
2921 else
2922 echo "$as_me: failed program was:" >&5
2923 sed 's/^/| /' conftest.$ac_ext >&5
2924
2925 ac_compiler_gnu=no
2926 fi
2927 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2928 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2929
2930 fi
2931 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2932 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2933 GCC=`test $ac_compiler_gnu = yes && echo yes`
2934 ac_test_CFLAGS=${CFLAGS+set}
2935 ac_save_CFLAGS=$CFLAGS
2936 CFLAGS="-g"
2937 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2938 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2939 if test "${ac_cv_prog_cc_g+set}" = set; then
2940 echo $ECHO_N "(cached) $ECHO_C" >&6
2941 else
2942 cat >conftest.$ac_ext <<_ACEOF
2943 /* confdefs.h. */
2944 _ACEOF
2945 cat confdefs.h >>conftest.$ac_ext
2946 cat >>conftest.$ac_ext <<_ACEOF
2947 /* end confdefs.h. */
2948
2949 int
2950 main ()
2951 {
2952
2953 ;
2954 return 0;
2955 }
2956 _ACEOF
2957 rm -f conftest.$ac_objext
2958 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2959 (eval $ac_compile) 2>conftest.er1
2960 ac_status=$?
2961 grep -v '^ *+' conftest.er1 >conftest.err
2962 rm -f conftest.er1
2963 cat conftest.err >&5
2964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2965 (exit $ac_status); } &&
2966 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2968 (eval $ac_try) 2>&5
2969 ac_status=$?
2970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2971 (exit $ac_status); }; } &&
2972 { ac_try='test -s conftest.$ac_objext'
2973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2974 (eval $ac_try) 2>&5
2975 ac_status=$?
2976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2977 (exit $ac_status); }; }; then
2978 ac_cv_prog_cc_g=yes
2979 else
2980 echo "$as_me: failed program was:" >&5
2981 sed 's/^/| /' conftest.$ac_ext >&5
2982
2983 ac_cv_prog_cc_g=no
2984 fi
2985 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2986 fi
2987 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2988 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2989 if test "$ac_test_CFLAGS" = set; then
2990 CFLAGS=$ac_save_CFLAGS
2991 elif test $ac_cv_prog_cc_g = yes; then
2992 if test "$GCC" = yes; then
2993 CFLAGS="-g -O2"
2994 else
2995 CFLAGS="-g"
2996 fi
2997 else
2998 if test "$GCC" = yes; then
2999 CFLAGS="-O2"
3000 else
3001 CFLAGS=
3002 fi
3003 fi
3004 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
3005 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
3006 if test "${ac_cv_prog_cc_stdc+set}" = set; then
3007 echo $ECHO_N "(cached) $ECHO_C" >&6
3008 else
3009 ac_cv_prog_cc_stdc=no
3010 ac_save_CC=$CC
3011 cat >conftest.$ac_ext <<_ACEOF
3012 /* confdefs.h. */
3013 _ACEOF
3014 cat confdefs.h >>conftest.$ac_ext
3015 cat >>conftest.$ac_ext <<_ACEOF
3016 /* end confdefs.h. */
3017 #include <stdarg.h>
3018 #include <stdio.h>
3019 #include <sys/types.h>
3020 #include <sys/stat.h>
3021 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3022 struct buf { int x; };
3023 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3024 static char *e (p, i)
3025 char **p;
3026 int i;
3027 {
3028 return p[i];
3029 }
3030 static char *f (char * (*g) (char **, int), char **p, ...)
3031 {
3032 char *s;
3033 va_list v;
3034 va_start (v,p);
3035 s = g (p, va_arg (v,int));
3036 va_end (v);
3037 return s;
3038 }
3039
3040 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3041 function prototypes and stuff, but not '\xHH' hex character constants.
3042 These don't provoke an error unfortunately, instead are silently treated
3043 as 'x'. The following induces an error, until -std1 is added to get
3044 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3045 array size at least. It's necessary to write '\x00'==0 to get something
3046 that's true only with -std1. */
3047 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3048
3049 int test (int i, double x);
3050 struct s1 {int (*f) (int a);};
3051 struct s2 {int (*f) (double a);};
3052 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3053 int argc;
3054 char **argv;
3055 int
3056 main ()
3057 {
3058 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3059 ;
3060 return 0;
3061 }
3062 _ACEOF
3063 # Don't try gcc -ansi; that turns off useful extensions and
3064 # breaks some systems' header files.
3065 # AIX -qlanglvl=ansi
3066 # Ultrix and OSF/1 -std1
3067 # HP-UX 10.20 and later -Ae
3068 # HP-UX older versions -Aa -D_HPUX_SOURCE
3069 # SVR4 -Xc -D__EXTENSIONS__
3070 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3071 do
3072 CC="$ac_save_CC $ac_arg"
3073 rm -f conftest.$ac_objext
3074 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3075 (eval $ac_compile) 2>conftest.er1
3076 ac_status=$?
3077 grep -v '^ *+' conftest.er1 >conftest.err
3078 rm -f conftest.er1
3079 cat conftest.err >&5
3080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3081 (exit $ac_status); } &&
3082 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3084 (eval $ac_try) 2>&5
3085 ac_status=$?
3086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3087 (exit $ac_status); }; } &&
3088 { ac_try='test -s conftest.$ac_objext'
3089 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3090 (eval $ac_try) 2>&5
3091 ac_status=$?
3092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3093 (exit $ac_status); }; }; then
3094 ac_cv_prog_cc_stdc=$ac_arg
3095 break
3096 else
3097 echo "$as_me: failed program was:" >&5
3098 sed 's/^/| /' conftest.$ac_ext >&5
3099
3100 fi
3101 rm -f conftest.err conftest.$ac_objext
3102 done
3103 rm -f conftest.$ac_ext conftest.$ac_objext
3104 CC=$ac_save_CC
3105
3106 fi
3107
3108 case "x$ac_cv_prog_cc_stdc" in
3109 x|xno)
3110 echo "$as_me:$LINENO: result: none needed" >&5
3111 echo "${ECHO_T}none needed" >&6 ;;
3112 *)
3113 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
3114 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
3115 CC="$CC $ac_cv_prog_cc_stdc" ;;
3116 esac
3117
3118 # Some people use a C++ compiler to compile C. Since we use `exit',
3119 # in C++ we need to declare it. In case someone uses the same compiler
3120 # for both compiling C and C++ we need to have the C++ compiler decide
3121 # the declaration of exit, since it's the most demanding environment.
3122 cat >conftest.$ac_ext <<_ACEOF
3123 #ifndef __cplusplus
3124 choke me
3125 #endif
3126 _ACEOF
3127 rm -f conftest.$ac_objext
3128 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3129 (eval $ac_compile) 2>conftest.er1
3130 ac_status=$?
3131 grep -v '^ *+' conftest.er1 >conftest.err
3132 rm -f conftest.er1
3133 cat conftest.err >&5
3134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3135 (exit $ac_status); } &&
3136 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3138 (eval $ac_try) 2>&5
3139 ac_status=$?
3140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3141 (exit $ac_status); }; } &&
3142 { ac_try='test -s conftest.$ac_objext'
3143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3144 (eval $ac_try) 2>&5
3145 ac_status=$?
3146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3147 (exit $ac_status); }; }; then
3148 for ac_declaration in \
3149 '' \
3150 'extern "C" void std::exit (int) throw (); using std::exit;' \
3151 'extern "C" void std::exit (int); using std::exit;' \
3152 'extern "C" void exit (int) throw ();' \
3153 'extern "C" void exit (int);' \
3154 'void exit (int);'
3155 do
3156 cat >conftest.$ac_ext <<_ACEOF
3157 /* confdefs.h. */
3158 _ACEOF
3159 cat confdefs.h >>conftest.$ac_ext
3160 cat >>conftest.$ac_ext <<_ACEOF
3161 /* end confdefs.h. */
3162 $ac_declaration
3163 #include <stdlib.h>
3164 int
3165 main ()
3166 {
3167 exit (42);
3168 ;
3169 return 0;
3170 }
3171 _ACEOF
3172 rm -f conftest.$ac_objext
3173 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3174 (eval $ac_compile) 2>conftest.er1
3175 ac_status=$?
3176 grep -v '^ *+' conftest.er1 >conftest.err
3177 rm -f conftest.er1
3178 cat conftest.err >&5
3179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3180 (exit $ac_status); } &&
3181 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3182 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3183 (eval $ac_try) 2>&5
3184 ac_status=$?
3185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3186 (exit $ac_status); }; } &&
3187 { ac_try='test -s conftest.$ac_objext'
3188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3189 (eval $ac_try) 2>&5
3190 ac_status=$?
3191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3192 (exit $ac_status); }; }; then
3193 :
3194 else
3195 echo "$as_me: failed program was:" >&5
3196 sed 's/^/| /' conftest.$ac_ext >&5
3197
3198 continue
3199 fi
3200 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3201 cat >conftest.$ac_ext <<_ACEOF
3202 /* confdefs.h. */
3203 _ACEOF
3204 cat confdefs.h >>conftest.$ac_ext
3205 cat >>conftest.$ac_ext <<_ACEOF
3206 /* end confdefs.h. */
3207 $ac_declaration
3208 int
3209 main ()
3210 {
3211 exit (42);
3212 ;
3213 return 0;
3214 }
3215 _ACEOF
3216 rm -f conftest.$ac_objext
3217 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3218 (eval $ac_compile) 2>conftest.er1
3219 ac_status=$?
3220 grep -v '^ *+' conftest.er1 >conftest.err
3221 rm -f conftest.er1
3222 cat conftest.err >&5
3223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3224 (exit $ac_status); } &&
3225 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3227 (eval $ac_try) 2>&5
3228 ac_status=$?
3229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3230 (exit $ac_status); }; } &&
3231 { ac_try='test -s conftest.$ac_objext'
3232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3233 (eval $ac_try) 2>&5
3234 ac_status=$?
3235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3236 (exit $ac_status); }; }; then
3237 break
3238 else
3239 echo "$as_me: failed program was:" >&5
3240 sed 's/^/| /' conftest.$ac_ext >&5
3241
3242 fi
3243 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3244 done
3245 rm -f conftest*
3246 if test -n "$ac_declaration"; then
3247 echo '#ifdef __cplusplus' >>confdefs.h
3248 echo $ac_declaration >>confdefs.h
3249 echo '#endif' >>confdefs.h
3250 fi
3251
3252 else
3253 echo "$as_me: failed program was:" >&5
3254 sed 's/^/| /' conftest.$ac_ext >&5
3255
3256 fi
3257 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3258 ac_ext=c
3259 ac_cpp='$CPP $CPPFLAGS'
3260 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3261 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3262 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3263
3264 ac_ext=cc
3265 ac_cpp='$CXXCPP $CPPFLAGS'
3266 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3267 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3268 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3269 if test -n "$ac_tool_prefix"; then
3270 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
3271 do
3272 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3273 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3274 echo "$as_me:$LINENO: checking for $ac_word" >&5
3275 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3276 if test "${glibcxx_cv_prog_CXX+set}" = set; then
3277 echo $ECHO_N "(cached) $ECHO_C" >&6
3278 else
3279 if test -n "$CXX"; then
3280 glibcxx_cv_prog_CXX="$CXX" # Let the user override the test.
3281 else
3282 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3283 for as_dir in $PATH
3284 do
3285 IFS=$as_save_IFS
3286 test -z "$as_dir" && as_dir=.
3287 for ac_exec_ext in '' $ac_executable_extensions; do
3288 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3289 glibcxx_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3290 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3291 break 2
3292 fi
3293 done
3294 done
3295
3296 fi
3297 fi
3298 CXX=$glibcxx_cv_prog_CXX
3299 if test -n "$CXX"; then
3300 echo "$as_me:$LINENO: result: $CXX" >&5
3301 echo "${ECHO_T}$CXX" >&6
3302 else
3303 echo "$as_me:$LINENO: result: no" >&5
3304 echo "${ECHO_T}no" >&6
3305 fi
3306
3307 test -n "$CXX" && break
3308 done
3309 fi
3310 if test -z "$CXX"; then
3311 ac_ct_CXX=$CXX
3312 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
3313 do
3314 # Extract the first word of "$ac_prog", so it can be a program name with args.
3315 set dummy $ac_prog; ac_word=$2
3316 echo "$as_me:$LINENO: checking for $ac_word" >&5
3317 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3318 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
3319 echo $ECHO_N "(cached) $ECHO_C" >&6
3320 else
3321 if test -n "$ac_ct_CXX"; then
3322 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3323 else
3324 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3325 for as_dir in $PATH
3326 do
3327 IFS=$as_save_IFS
3328 test -z "$as_dir" && as_dir=.
3329 for ac_exec_ext in '' $ac_executable_extensions; do
3330 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3331 ac_cv_prog_ac_ct_CXX="$ac_prog"
3332 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3333 break 2
3334 fi
3335 done
3336 done
3337
3338 fi
3339 fi
3340 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3341 if test -n "$ac_ct_CXX"; then
3342 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
3343 echo "${ECHO_T}$ac_ct_CXX" >&6
3344 else
3345 echo "$as_me:$LINENO: result: no" >&5
3346 echo "${ECHO_T}no" >&6
3347 fi
3348
3349 test -n "$ac_ct_CXX" && break
3350 done
3351 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
3352
3353 CXX=$ac_ct_CXX
3354 fi
3355
3356
3357 # Provide some information about the compiler.
3358 echo "$as_me:$LINENO:" \
3359 "checking for C++ compiler version" >&5
3360 ac_compiler=`set X $ac_compile; echo $2`
3361 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
3362 (eval $ac_compiler --version </dev/null >&5) 2>&5
3363 ac_status=$?
3364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3365 (exit $ac_status); }
3366 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
3367 (eval $ac_compiler -v </dev/null >&5) 2>&5
3368 ac_status=$?
3369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3370 (exit $ac_status); }
3371 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
3372 (eval $ac_compiler -V </dev/null >&5) 2>&5
3373 ac_status=$?
3374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3375 (exit $ac_status); }
3376
3377 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
3378 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
3379 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
3380 echo $ECHO_N "(cached) $ECHO_C" >&6
3381 else
3382 cat >conftest.$ac_ext <<_ACEOF
3383 /* confdefs.h. */
3384 _ACEOF
3385 cat confdefs.h >>conftest.$ac_ext
3386 cat >>conftest.$ac_ext <<_ACEOF
3387 /* end confdefs.h. */
3388
3389 int
3390 main ()
3391 {
3392 #ifndef __GNUC__
3393 choke me
3394 #endif
3395
3396 ;
3397 return 0;
3398 }
3399 _ACEOF
3400 rm -f conftest.$ac_objext
3401 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3402 (eval $ac_compile) 2>conftest.er1
3403 ac_status=$?
3404 grep -v '^ *+' conftest.er1 >conftest.err
3405 rm -f conftest.er1
3406 cat conftest.err >&5
3407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3408 (exit $ac_status); } &&
3409 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
3410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3411 (eval $ac_try) 2>&5
3412 ac_status=$?
3413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3414 (exit $ac_status); }; } &&
3415 { ac_try='test -s conftest.$ac_objext'
3416 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3417 (eval $ac_try) 2>&5
3418 ac_status=$?
3419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3420 (exit $ac_status); }; }; then
3421 ac_compiler_gnu=yes
3422 else
3423 echo "$as_me: failed program was:" >&5
3424 sed 's/^/| /' conftest.$ac_ext >&5
3425
3426 ac_compiler_gnu=no
3427 fi
3428 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3429 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3430
3431 fi
3432 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
3433 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
3434 GXX=`test $ac_compiler_gnu = yes && echo yes`
3435 ac_test_CXXFLAGS=${CXXFLAGS+set}
3436 ac_save_CXXFLAGS=$CXXFLAGS
3437 CXXFLAGS="-g"
3438 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
3439 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
3440 if test "${ac_cv_prog_cxx_g+set}" = set; then
3441 echo $ECHO_N "(cached) $ECHO_C" >&6
3442 else
3443 cat >conftest.$ac_ext <<_ACEOF
3444 /* confdefs.h. */
3445 _ACEOF
3446 cat confdefs.h >>conftest.$ac_ext
3447 cat >>conftest.$ac_ext <<_ACEOF
3448 /* end confdefs.h. */
3449
3450 int
3451 main ()
3452 {
3453
3454 ;
3455 return 0;
3456 }
3457 _ACEOF
3458 rm -f conftest.$ac_objext
3459 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3460 (eval $ac_compile) 2>conftest.er1
3461 ac_status=$?
3462 grep -v '^ *+' conftest.er1 >conftest.err
3463 rm -f conftest.er1
3464 cat conftest.err >&5
3465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3466 (exit $ac_status); } &&
3467 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
3468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3469 (eval $ac_try) 2>&5
3470 ac_status=$?
3471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3472 (exit $ac_status); }; } &&
3473 { ac_try='test -s conftest.$ac_objext'
3474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3475 (eval $ac_try) 2>&5
3476 ac_status=$?
3477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3478 (exit $ac_status); }; }; then
3479 ac_cv_prog_cxx_g=yes
3480 else
3481 echo "$as_me: failed program was:" >&5
3482 sed 's/^/| /' conftest.$ac_ext >&5
3483
3484 ac_cv_prog_cxx_g=no
3485 fi
3486 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3487 fi
3488 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
3489 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
3490 if test "$ac_test_CXXFLAGS" = set; then
3491 CXXFLAGS=$ac_save_CXXFLAGS
3492 elif test $ac_cv_prog_cxx_g = yes; then
3493 if test "$GXX" = yes; then
3494 CXXFLAGS="-g -O2"
3495 else
3496 CXXFLAGS="-g"
3497 fi
3498 else
3499 if test "$GXX" = yes; then
3500 CXXFLAGS="-O2"
3501 else
3502 CXXFLAGS=
3503 fi
3504 fi
3505 for ac_declaration in \
3506 '' \
3507 'extern "C" void std::exit (int) throw (); using std::exit;' \
3508 'extern "C" void std::exit (int); using std::exit;' \
3509 'extern "C" void exit (int) throw ();' \
3510 'extern "C" void exit (int);' \
3511 'void exit (int);'
3512 do
3513 cat >conftest.$ac_ext <<_ACEOF
3514 /* confdefs.h. */
3515 _ACEOF
3516 cat confdefs.h >>conftest.$ac_ext
3517 cat >>conftest.$ac_ext <<_ACEOF
3518 /* end confdefs.h. */
3519 $ac_declaration
3520 #include <stdlib.h>
3521 int
3522 main ()
3523 {
3524 exit (42);
3525 ;
3526 return 0;
3527 }
3528 _ACEOF
3529 rm -f conftest.$ac_objext
3530 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3531 (eval $ac_compile) 2>conftest.er1
3532 ac_status=$?
3533 grep -v '^ *+' conftest.er1 >conftest.err
3534 rm -f conftest.er1
3535 cat conftest.err >&5
3536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3537 (exit $ac_status); } &&
3538 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
3539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3540 (eval $ac_try) 2>&5
3541 ac_status=$?
3542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3543 (exit $ac_status); }; } &&
3544 { ac_try='test -s conftest.$ac_objext'
3545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3546 (eval $ac_try) 2>&5
3547 ac_status=$?
3548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3549 (exit $ac_status); }; }; then
3550 :
3551 else
3552 echo "$as_me: failed program was:" >&5
3553 sed 's/^/| /' conftest.$ac_ext >&5
3554
3555 continue
3556 fi
3557 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3558 cat >conftest.$ac_ext <<_ACEOF
3559 /* confdefs.h. */
3560 _ACEOF
3561 cat confdefs.h >>conftest.$ac_ext
3562 cat >>conftest.$ac_ext <<_ACEOF
3563 /* end confdefs.h. */
3564 $ac_declaration
3565 int
3566 main ()
3567 {
3568 exit (42);
3569 ;
3570 return 0;
3571 }
3572 _ACEOF
3573 rm -f conftest.$ac_objext
3574 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3575 (eval $ac_compile) 2>conftest.er1
3576 ac_status=$?
3577 grep -v '^ *+' conftest.er1 >conftest.err
3578 rm -f conftest.er1
3579 cat conftest.err >&5
3580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3581 (exit $ac_status); } &&
3582 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
3583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3584 (eval $ac_try) 2>&5
3585 ac_status=$?
3586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3587 (exit $ac_status); }; } &&
3588 { ac_try='test -s conftest.$ac_objext'
3589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3590 (eval $ac_try) 2>&5
3591 ac_status=$?
3592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3593 (exit $ac_status); }; }; then
3594 break
3595 else
3596 echo "$as_me: failed program was:" >&5
3597 sed 's/^/| /' conftest.$ac_ext >&5
3598
3599 fi
3600 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3601 done
3602 rm -f conftest*
3603 if test -n "$ac_declaration"; then
3604 echo '#ifdef __cplusplus' >>confdefs.h
3605 echo $ac_declaration >>confdefs.h
3606 echo '#endif' >>confdefs.h
3607 fi
3608
3609 ac_ext=c
3610 ac_cpp='$CPP $CPPFLAGS'
3611 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3612 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3613 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3614
3615 CXXFLAGS="$save_CXXFLAGS"
3616
3617
3618
3619
3620 # Will set LN_S to either 'ln -s', 'ln', or 'cp -p' (if linking isn't
3621 # available). Uncomment the next line to force a particular method.
3622 echo "$as_me:$LINENO: checking whether ln -s works" >&5
3623 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
3624 LN_S=$as_ln_s
3625 if test "$LN_S" = "ln -s"; then
3626 echo "$as_me:$LINENO: result: yes" >&5
3627 echo "${ECHO_T}yes" >&6
3628 else
3629 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3630 echo "${ECHO_T}no, using $LN_S" >&6
3631 fi
3632
3633 #LN_S='cp -p'
3634
3635 if test -n "$ac_tool_prefix"; then
3636 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
3637 set dummy ${ac_tool_prefix}as; ac_word=$2
3638 echo "$as_me:$LINENO: checking for $ac_word" >&5
3639 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3640 if test "${ac_cv_prog_AS+set}" = set; then
3641 echo $ECHO_N "(cached) $ECHO_C" >&6
3642 else
3643 if test -n "$AS"; then
3644 ac_cv_prog_AS="$AS" # Let the user override the test.
3645 else
3646 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3647 for as_dir in $PATH
3648 do
3649 IFS=$as_save_IFS
3650 test -z "$as_dir" && as_dir=.
3651 for ac_exec_ext in '' $ac_executable_extensions; do
3652 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3653 ac_cv_prog_AS="${ac_tool_prefix}as"
3654 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3655 break 2
3656 fi
3657 done
3658 done
3659
3660 fi
3661 fi
3662 AS=$ac_cv_prog_AS
3663 if test -n "$AS"; then
3664 echo "$as_me:$LINENO: result: $AS" >&5
3665 echo "${ECHO_T}$AS" >&6
3666 else
3667 echo "$as_me:$LINENO: result: no" >&5
3668 echo "${ECHO_T}no" >&6
3669 fi
3670
3671 fi
3672 if test -z "$ac_cv_prog_AS"; then
3673 ac_ct_AS=$AS
3674 # Extract the first word of "as", so it can be a program name with args.
3675 set dummy as; ac_word=$2
3676 echo "$as_me:$LINENO: checking for $ac_word" >&5
3677 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3678 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
3679 echo $ECHO_N "(cached) $ECHO_C" >&6
3680 else
3681 if test -n "$ac_ct_AS"; then
3682 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
3683 else
3684 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3685 for as_dir in $PATH
3686 do
3687 IFS=$as_save_IFS
3688 test -z "$as_dir" && as_dir=.
3689 for ac_exec_ext in '' $ac_executable_extensions; do
3690 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3691 ac_cv_prog_ac_ct_AS="as"
3692 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3693 break 2
3694 fi
3695 done
3696 done
3697
3698 fi
3699 fi
3700 ac_ct_AS=$ac_cv_prog_ac_ct_AS
3701 if test -n "$ac_ct_AS"; then
3702 echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
3703 echo "${ECHO_T}$ac_ct_AS" >&6
3704 else
3705 echo "$as_me:$LINENO: result: no" >&5
3706 echo "${ECHO_T}no" >&6
3707 fi
3708
3709 AS=$ac_ct_AS
3710 else
3711 AS="$ac_cv_prog_AS"
3712 fi
3713
3714 if test -n "$ac_tool_prefix"; then
3715 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
3716 set dummy ${ac_tool_prefix}ar; ac_word=$2
3717 echo "$as_me:$LINENO: checking for $ac_word" >&5
3718 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3719 if test "${ac_cv_prog_AR+set}" = set; then
3720 echo $ECHO_N "(cached) $ECHO_C" >&6
3721 else
3722 if test -n "$AR"; then
3723 ac_cv_prog_AR="$AR" # Let the user override the test.
3724 else
3725 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3726 for as_dir in $PATH
3727 do
3728 IFS=$as_save_IFS
3729 test -z "$as_dir" && as_dir=.
3730 for ac_exec_ext in '' $ac_executable_extensions; do
3731 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3732 ac_cv_prog_AR="${ac_tool_prefix}ar"
3733 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3734 break 2
3735 fi
3736 done
3737 done
3738
3739 fi
3740 fi
3741 AR=$ac_cv_prog_AR
3742 if test -n "$AR"; then
3743 echo "$as_me:$LINENO: result: $AR" >&5
3744 echo "${ECHO_T}$AR" >&6
3745 else
3746 echo "$as_me:$LINENO: result: no" >&5
3747 echo "${ECHO_T}no" >&6
3748 fi
3749
3750 fi
3751 if test -z "$ac_cv_prog_AR"; then
3752 ac_ct_AR=$AR
3753 # Extract the first word of "ar", so it can be a program name with args.
3754 set dummy ar; ac_word=$2
3755 echo "$as_me:$LINENO: checking for $ac_word" >&5
3756 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3757 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
3758 echo $ECHO_N "(cached) $ECHO_C" >&6
3759 else
3760 if test -n "$ac_ct_AR"; then
3761 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
3762 else
3763 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3764 for as_dir in $PATH
3765 do
3766 IFS=$as_save_IFS
3767 test -z "$as_dir" && as_dir=.
3768 for ac_exec_ext in '' $ac_executable_extensions; do
3769 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3770 ac_cv_prog_ac_ct_AR="ar"
3771 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3772 break 2
3773 fi
3774 done
3775 done
3776
3777 fi
3778 fi
3779 ac_ct_AR=$ac_cv_prog_ac_ct_AR
3780 if test -n "$ac_ct_AR"; then
3781 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
3782 echo "${ECHO_T}$ac_ct_AR" >&6
3783 else
3784 echo "$as_me:$LINENO: result: no" >&5
3785 echo "${ECHO_T}no" >&6
3786 fi
3787
3788 AR=$ac_ct_AR
3789 else
3790 AR="$ac_cv_prog_AR"
3791 fi
3792
3793 if test -n "$ac_tool_prefix"; then
3794 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3795 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3796 echo "$as_me:$LINENO: checking for $ac_word" >&5
3797 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3798 if test "${ac_cv_prog_RANLIB+set}" = set; then
3799 echo $ECHO_N "(cached) $ECHO_C" >&6
3800 else
3801 if test -n "$RANLIB"; then
3802 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
3803 else
3804 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3805 for as_dir in $PATH
3806 do
3807 IFS=$as_save_IFS
3808 test -z "$as_dir" && as_dir=.
3809 for ac_exec_ext in '' $ac_executable_extensions; do
3810 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3811 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
3812 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3813 break 2
3814 fi
3815 done
3816 done
3817
3818 fi
3819 fi
3820 RANLIB=$ac_cv_prog_RANLIB
3821 if test -n "$RANLIB"; then
3822 echo "$as_me:$LINENO: result: $RANLIB" >&5
3823 echo "${ECHO_T}$RANLIB" >&6
3824 else
3825 echo "$as_me:$LINENO: result: no" >&5
3826 echo "${ECHO_T}no" >&6
3827 fi
3828
3829 fi
3830 if test -z "$ac_cv_prog_RANLIB"; then
3831 ac_ct_RANLIB=$RANLIB
3832 # Extract the first word of "ranlib", so it can be a program name with args.
3833 set dummy ranlib; ac_word=$2
3834 echo "$as_me:$LINENO: checking for $ac_word" >&5
3835 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3836 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3837 echo $ECHO_N "(cached) $ECHO_C" >&6
3838 else
3839 if test -n "$ac_ct_RANLIB"; then
3840 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
3841 else
3842 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3843 for as_dir in $PATH
3844 do
3845 IFS=$as_save_IFS
3846 test -z "$as_dir" && as_dir=.
3847 for ac_exec_ext in '' $ac_executable_extensions; do
3848 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3849 ac_cv_prog_ac_ct_RANLIB="ranlib"
3850 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3851 break 2
3852 fi
3853 done
3854 done
3855
3856 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB="ranlib-not-found-in-path-error"
3857 fi
3858 fi
3859 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
3860 if test -n "$ac_ct_RANLIB"; then
3861 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3862 echo "${ECHO_T}$ac_ct_RANLIB" >&6
3863 else
3864 echo "$as_me:$LINENO: result: no" >&5
3865 echo "${ECHO_T}no" >&6
3866 fi
3867
3868 RANLIB=$ac_ct_RANLIB
3869 else
3870 RANLIB="$ac_cv_prog_RANLIB"
3871 fi
3872
3873
3874 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
3875 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
3876 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
3877 if test "${enable_maintainer_mode+set}" = set; then
3878 enableval="$enable_maintainer_mode"
3879 USE_MAINTAINER_MODE=$enableval
3880 else
3881 USE_MAINTAINER_MODE=no
3882 fi;
3883 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
3884 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
3885
3886
3887 if test $USE_MAINTAINER_MODE = yes; then
3888 MAINTAINER_MODE_TRUE=
3889 MAINTAINER_MODE_FALSE='#'
3890 else
3891 MAINTAINER_MODE_TRUE='#'
3892 MAINTAINER_MODE_FALSE=
3893 fi
3894
3895 MAINT=$MAINTAINER_MODE_TRUE
3896
3897
3898
3899 # Set up safe default values for all subsequent AM_CONDITIONAL tests
3900 # which are themselves conditionally expanded.
3901 ## (Right now, this only matters for enable_wchar_t, but nothing prevents
3902 ## other macros from doing the same. This should be automated.) -pme
3903 need_libmath=no
3904
3905 # Check for uClibc since Linux platforms use different configuration
3906 # directories depending on the C library in use.
3907 cat >conftest.$ac_ext <<_ACEOF
3908 /* confdefs.h. */
3909 _ACEOF
3910 cat confdefs.h >>conftest.$ac_ext
3911 cat >>conftest.$ac_ext <<_ACEOF
3912 /* end confdefs.h. */
3913
3914 #include <stdio.h>
3915 #if __UCLIBC__
3916 _using_uclibc
3917 #endif
3918
3919 _ACEOF
3920 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3921 $EGREP "_using_uclibc" >/dev/null 2>&1; then
3922 uclibc=yes
3923 else
3924 uclibc=no
3925 fi
3926 rm -f conftest*
3927
3928
3929 # Find platform-specific directories containing configuration info.
3930 # Also possibly modify flags used elsewhere, as needed by the platform.
3931
3932 . $glibcxx_srcdir/configure.host
3933 { echo "$as_me:$LINENO: CPU config directory is $cpu_include_dir" >&5
3934 echo "$as_me: CPU config directory is $cpu_include_dir" >&6;}
3935 { echo "$as_me:$LINENO: OS config directory is $os_include_dir" >&5
3936 echo "$as_me: OS config directory is $os_include_dir" >&6;}
3937
3938
3939
3940
3941 # Check whether --enable-shared or --disable-shared was given.
3942 if test "${enable_shared+set}" = set; then
3943 enableval="$enable_shared"
3944 p=${PACKAGE-default}
3945 case $enableval in
3946 yes) enable_shared=yes ;;
3947 no) enable_shared=no ;;
3948 *)
3949 enable_shared=no
3950 # Look at the argument we got. We use all the common list separators.
3951 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
3952 for pkg in $enableval; do
3953 if test "X$pkg" = "X$p"; then
3954 enable_shared=yes
3955 fi
3956 done
3957 IFS="$ac_save_ifs"
3958 ;;
3959 esac
3960 else
3961 enable_shared=yes
3962 fi;
3963 # Check whether --enable-static or --disable-static was given.
3964 if test "${enable_static+set}" = set; then
3965 enableval="$enable_static"
3966 p=${PACKAGE-default}
3967 case $enableval in
3968 yes) enable_static=yes ;;
3969 no) enable_static=no ;;
3970 *)
3971 enable_static=no
3972 # Look at the argument we got. We use all the common list separators.
3973 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
3974 for pkg in $enableval; do
3975 if test "X$pkg" = "X$p"; then
3976 enable_static=yes
3977 fi
3978 done
3979 IFS="$ac_save_ifs"
3980 ;;
3981 esac
3982 else
3983 enable_static=yes
3984 fi;
3985 # Check whether --enable-fast-install or --disable-fast-install was given.
3986 if test "${enable_fast_install+set}" = set; then
3987 enableval="$enable_fast_install"
3988 p=${PACKAGE-default}
3989 case $enableval in
3990 yes) enable_fast_install=yes ;;
3991 no) enable_fast_install=no ;;
3992 *)
3993 enable_fast_install=no
3994 # Look at the argument we got. We use all the common list separators.
3995 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
3996 for pkg in $enableval; do
3997 if test "X$pkg" = "X$p"; then
3998 enable_fast_install=yes
3999 fi
4000 done
4001 IFS="$ac_save_ifs"
4002 ;;
4003 esac
4004 else
4005 enable_fast_install=yes
4006 fi;
4007
4008 # Check whether --with-gnu-ld or --without-gnu-ld was given.
4009 if test "${with_gnu_ld+set}" = set; then
4010 withval="$with_gnu_ld"
4011 test "$withval" = no || with_gnu_ld=yes
4012 else
4013 with_gnu_ld=no
4014 fi;
4015 ac_prog=ld
4016 if test "$GCC" = yes; then
4017 # Check if gcc -print-prog-name=ld gives a path.
4018 echo "$as_me:$LINENO: checking for ld used by GCC" >&5
4019 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
4020 case $host in
4021 *-*-mingw*)
4022 # gcc leaves a trailing carriage return which upsets mingw
4023 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4024 *)
4025 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4026 esac
4027 case $ac_prog in
4028 # Accept absolute paths.
4029 [\\/]* | [A-Za-z]:[\\/]*)
4030 re_direlt='/[^/][^/]*/\.\./'
4031 # Canonicalize the path of ld
4032 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
4033 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
4034 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
4035 done
4036 test -z "$LD" && LD="$ac_prog"
4037 ;;
4038 "")
4039 # If it fails, then pretend we aren't using GCC.
4040 ac_prog=ld
4041 ;;
4042 *)
4043 # If it is relative, then search for the first ld in PATH.
4044 with_gnu_ld=unknown
4045 ;;
4046 esac
4047 elif test "$with_gnu_ld" = yes; then
4048 echo "$as_me:$LINENO: checking for GNU ld" >&5
4049 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
4050 else
4051 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
4052 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
4053 fi
4054 if test "${lt_cv_path_LD+set}" = set; then
4055 echo $ECHO_N "(cached) $ECHO_C" >&6
4056 else
4057 if test -z "$LD"; then
4058 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
4059 for ac_dir in $PATH; do
4060 test -z "$ac_dir" && ac_dir=.
4061 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4062 lt_cv_path_LD="$ac_dir/$ac_prog"
4063 # Check to see if the program is GNU ld. I'd rather use --version,
4064 # but apparently some GNU ld's only accept -v.
4065 # Break only if it was the GNU/non-GNU ld that we prefer.
4066 if "$lt_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
4067 test "$with_gnu_ld" != no && break
4068 else
4069 test "$with_gnu_ld" != yes && break
4070 fi
4071 fi
4072 done
4073 IFS="$ac_save_ifs"
4074 else
4075 lt_cv_path_LD="$LD" # Let the user override the test with a path.
4076 fi
4077 fi
4078
4079 LD="$lt_cv_path_LD"
4080 if test -n "$LD"; then
4081 echo "$as_me:$LINENO: result: $LD" >&5
4082 echo "${ECHO_T}$LD" >&6
4083 else
4084 echo "$as_me:$LINENO: result: no" >&5
4085 echo "${ECHO_T}no" >&6
4086 fi
4087 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
4088 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
4089 { (exit 1); exit 1; }; }
4090 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
4091 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
4092 if test "${lt_cv_prog_gnu_ld+set}" = set; then
4093 echo $ECHO_N "(cached) $ECHO_C" >&6
4094 else
4095 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
4096 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
4097 lt_cv_prog_gnu_ld=yes
4098 else
4099 lt_cv_prog_gnu_ld=no
4100 fi
4101 fi
4102 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
4103 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
4104 with_gnu_ld=$lt_cv_prog_gnu_ld
4105
4106
4107 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
4108 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
4109 if test "${lt_cv_ld_reload_flag+set}" = set; then
4110 echo $ECHO_N "(cached) $ECHO_C" >&6
4111 else
4112 lt_cv_ld_reload_flag='-r'
4113 fi
4114 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
4115 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
4116 reload_flag=$lt_cv_ld_reload_flag
4117 test -n "$reload_flag" && reload_flag=" $reload_flag"
4118
4119 echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
4120 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
4121 if test "${lt_cv_path_NM+set}" = set; then
4122 echo $ECHO_N "(cached) $ECHO_C" >&6
4123 else
4124 if test -n "$NM"; then
4125 # Let the user override the test.
4126 lt_cv_path_NM="$NM"
4127 else
4128 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
4129 for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
4130 test -z "$ac_dir" && ac_dir=.
4131 tmp_nm=$ac_dir/${ac_tool_prefix}nm
4132 if test -f $tmp_nm || test -f $tmp_nm$ac_exeext ; then
4133 # Check to see if the nm accepts a BSD-compat flag.
4134 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4135 # nm: unknown option "B" ignored
4136 # Tru64's nm complains that /dev/null is an invalid object file
4137 if ($tmp_nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep '(/dev/null|Invalid file or object type)' >/dev/null; then
4138 lt_cv_path_NM="$tmp_nm -B"
4139 break
4140 elif ($tmp_nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
4141 lt_cv_path_NM="$tmp_nm -p"
4142 break
4143 else
4144 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4145 continue # so that we can try to find one that supports BSD flags
4146 fi
4147 fi
4148 done
4149 IFS="$ac_save_ifs"
4150 test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
4151 fi
4152 fi
4153
4154 NM="$lt_cv_path_NM"
4155 echo "$as_me:$LINENO: result: $NM" >&5
4156 echo "${ECHO_T}$NM" >&6
4157
4158 echo "$as_me:$LINENO: checking how to recognise dependant libraries" >&5
4159 echo $ECHO_N "checking how to recognise dependant libraries... $ECHO_C" >&6
4160 if test "${lt_cv_deplibs_check_method+set}" = set; then
4161 echo $ECHO_N "(cached) $ECHO_C" >&6
4162 else
4163 lt_cv_file_magic_cmd='$MAGIC_CMD'
4164 lt_cv_file_magic_test_file=
4165 lt_cv_deplibs_check_method='unknown'
4166 # Need to set the preceding variable on all platforms that support
4167 # interlibrary dependencies.
4168 # 'none' -- dependencies not supported.
4169 # `unknown' -- same as none, but documents that we really don't know.
4170 # 'pass_all' -- all dependencies passed with no checks.
4171 # 'test_compile' -- check by making test program.
4172 # 'file_magic [regex]' -- check by looking for files in library path
4173 # which responds to the $file_magic_cmd with a given egrep regex.
4174 # If you have `file' or equivalent on your system and you're not sure
4175 # whether `pass_all' will *always* work, you probably want this one.
4176
4177 case $host_os in
4178 aix*)
4179 lt_cv_deplibs_check_method=pass_all
4180 ;;
4181
4182 beos*)
4183 lt_cv_deplibs_check_method=pass_all
4184 ;;
4185
4186 bsdi4*)
4187 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
4188 lt_cv_file_magic_cmd='/usr/bin/file -L'
4189 lt_cv_file_magic_test_file=/shlib/libc.so
4190 ;;
4191
4192 cygwin* | mingw* |pw32*)
4193 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
4194 lt_cv_file_magic_cmd='$OBJDUMP -f'
4195 ;;
4196
4197 darwin* | rhapsody*)
4198 # this will be overwritten by pass_all, but leave it in just in case
4199 lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library'
4200 lt_cv_file_magic_cmd='/usr/bin/file -L'
4201 case "$host_os" in
4202 rhapsody* | darwin1.012)
4203 lt_cv_file_magic_test_file='/System/Library/Frameworks/System.framework/System'
4204 ;;
4205 *) # Darwin 1.3 on
4206 lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib'
4207 ;;
4208 esac
4209 lt_cv_deplibs_check_method=pass_all
4210 ;;
4211
4212 freebsd* | kfreebsd*-gnu)
4213 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
4214 case $host_cpu in
4215 i*86 )
4216 # Not sure whether the presence of OpenBSD here was a mistake.
4217 # Let's accept both of them until this is cleared up.
4218 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
4219 lt_cv_file_magic_cmd=/usr/bin/file
4220 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
4221 ;;
4222 esac
4223 else
4224 lt_cv_deplibs_check_method=pass_all
4225 fi
4226 ;;
4227
4228 gnu*)
4229 lt_cv_deplibs_check_method=pass_all
4230 ;;
4231
4232 hpux10.20*|hpux11*)
4233 case $host_cpu in
4234 hppa*)
4235 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
4236 lt_cv_file_magic_cmd=/usr/bin/file
4237 lt_cv_file_magic_test_file=/usr/lib/libc.sl
4238 ;;
4239 ia64*)
4240 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
4241 lt_cv_file_magic_cmd=/usr/bin/file
4242 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
4243 ;;
4244 esac
4245 ;;
4246
4247 irix5* | irix6*)
4248 case $host_os in
4249 irix5*)
4250 # this will be overridden with pass_all, but let us keep it just in case
4251 lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
4252 ;;
4253 *)
4254 case $LD in
4255 *-32|*"-32 ") libmagic=32-bit;;
4256 *-n32|*"-n32 ") libmagic=N32;;
4257 *-64|*"-64 ") libmagic=64-bit;;
4258 *) libmagic=never-match;;
4259 esac
4260 # this will be overridden with pass_all, but let us keep it just in case
4261 lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
4262 ;;
4263 esac
4264 lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`
4265 lt_cv_deplibs_check_method=pass_all
4266 ;;
4267
4268 # This must be Linux ELF.
4269 linux-gnu*)
4270 lt_cv_deplibs_check_method=pass_all
4271 ;;
4272
4273 netbsd* | knetbsd*-gnu)
4274 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
4275 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
4276 else
4277 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so$'
4278 fi
4279 ;;
4280
4281 newsos6)
4282 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
4283 lt_cv_file_magic_cmd=/usr/bin/file
4284 lt_cv_file_magic_test_file=/usr/lib/libnls.so
4285 ;;
4286
4287 osf3* | osf4* | osf5*)
4288 # this will be overridden with pass_all, but let us keep it just in case
4289 lt_cv_deplibs_check_method='file_magic COFF format alpha shared library'
4290 lt_cv_file_magic_test_file=/shlib/libc.so
4291 lt_cv_deplibs_check_method=pass_all
4292 ;;
4293
4294 sco3.2v5*)
4295 lt_cv_deplibs_check_method=pass_all
4296 ;;
4297
4298 solaris*)
4299 lt_cv_deplibs_check_method=pass_all
4300 lt_cv_file_magic_test_file=/lib/libc.so
4301 ;;
4302
4303 sysv5uw[78]* | sysv4*uw2*)
4304 lt_cv_deplibs_check_method=pass_all
4305 ;;
4306
4307 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
4308 case $host_vendor in
4309 ncr)
4310 lt_cv_deplibs_check_method=pass_all
4311 ;;
4312 motorola)
4313 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]'
4314 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
4315 ;;
4316 esac
4317 ;;
4318 esac
4319
4320 fi
4321 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
4322 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
4323 file_magic_cmd=$lt_cv_file_magic_cmd
4324 deplibs_check_method=$lt_cv_deplibs_check_method
4325
4326
4327
4328
4329 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
4330
4331 # find the maximum length of command line arguments
4332 echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
4333 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
4334 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
4335 echo $ECHO_N "(cached) $ECHO_C" >&6
4336 else
4337 i=0
4338 teststring="ABCD"
4339
4340 case $build_os in
4341 msdosdjgpp*)
4342 # On DJGPP, this test can blow up pretty badly due to problems in libc
4343 # (any single argument exceeding 2000 bytes causes a buffer overrun
4344 # during glob expansion). Even if it were fixed, the result of this
4345 # check would be larger than it should be.
4346 lt_cv_sys_max_cmd_len=12288; # 12K is about right
4347 ;;
4348
4349 cygwin* | mingw*)
4350 # On Win9x/ME, this test blows up -- it succeeds, but takes
4351 # about 5 minutes as the teststring grows exponentially.
4352 # Worse, since 9x/ME are not pre-emptively multitasking,
4353 # you end up with a "frozen" computer, even though with patience
4354 # the test eventually succeeds (with a max line length of 256k).
4355 # Instead, let's just punt: use the minimum linelength reported by
4356 # all of the supported platforms: 8192 (on NT/2K/XP).
4357 lt_cv_sys_max_cmd_len=8192;
4358 ;;
4359
4360 amigaos*)
4361 # On AmigaOS with pdksh, this test takes hours, literally.
4362 # So we just punt and use a minimum line length of 8192.
4363 lt_cv_sys_max_cmd_len=8192;
4364 ;;
4365
4366 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
4367 # This has been around since 386BSD, at least. Likely further.
4368 if test -x /sbin/sysctl; then
4369 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
4370 elif test -x /usr/sbin/sysctl; then
4371 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
4372 else
4373 lt_cv_sys_max_cmd_len=65536 # usable default for *BSD
4374 fi
4375 # And add a safety zone
4376 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4377 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4378 ;;
4379 esac
4380
4381 fi
4382
4383 if test -n "$lt_cv_sys_max_cmd_len" ; then
4384 echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
4385 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
4386 else
4387 echo "$as_me:$LINENO: result: none" >&5
4388 echo "${ECHO_T}none" >&6
4389 fi
4390
4391
4392 # Only perform the check for file, if the check method requires it
4393 case $deplibs_check_method in
4394 file_magic*)
4395 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
4396 echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
4397 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
4398 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
4399 echo $ECHO_N "(cached) $ECHO_C" >&6
4400 else
4401 case $MAGIC_CMD in
4402 /*)
4403 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
4404 ;;
4405 ?:/*)
4406 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
4407 ;;
4408 *)
4409 ac_save_MAGIC_CMD="$MAGIC_CMD"
4410 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
4411 ac_dummy="/usr/bin:$PATH"
4412 for ac_dir in $ac_dummy; do
4413 test -z "$ac_dir" && ac_dir=.
4414 if test -f $ac_dir/${ac_tool_prefix}file; then
4415 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
4416 if test -n "$file_magic_test_file"; then
4417 case $deplibs_check_method in
4418 "file_magic "*)
4419 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
4420 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
4421 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
4422 egrep "$file_magic_regex" > /dev/null; then
4423 :
4424 else
4425 cat <<EOF 1>&2
4426
4427 *** Warning: the command libtool uses to detect shared libraries,
4428 *** $file_magic_cmd, produces output that libtool cannot recognize.
4429 *** The result is that libtool may fail to recognize shared libraries
4430 *** as such. This will affect the creation of libtool libraries that
4431 *** depend on shared libraries, but programs linked with such libtool
4432 *** libraries will work regardless of this problem. Nevertheless, you
4433 *** may want to report the problem to your system manager and/or to
4434 *** bug-libtool@gnu.org
4435
4436 EOF
4437 fi ;;
4438 esac
4439 fi
4440 break
4441 fi
4442 done
4443 IFS="$ac_save_ifs"
4444 MAGIC_CMD="$ac_save_MAGIC_CMD"
4445 ;;
4446 esac
4447 fi
4448
4449 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
4450 if test -n "$MAGIC_CMD"; then
4451 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
4452 echo "${ECHO_T}$MAGIC_CMD" >&6
4453 else
4454 echo "$as_me:$LINENO: result: no" >&5
4455 echo "${ECHO_T}no" >&6
4456 fi
4457
4458 if test -z "$lt_cv_path_MAGIC_CMD"; then
4459 if test -n "$ac_tool_prefix"; then
4460 echo "$as_me:$LINENO: checking for file" >&5
4461 echo $ECHO_N "checking for file... $ECHO_C" >&6
4462 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
4463 echo $ECHO_N "(cached) $ECHO_C" >&6
4464 else
4465 case $MAGIC_CMD in
4466 /*)
4467 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
4468 ;;
4469 ?:/*)
4470 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
4471 ;;
4472 *)
4473 ac_save_MAGIC_CMD="$MAGIC_CMD"
4474 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
4475 ac_dummy="/usr/bin:$PATH"
4476 for ac_dir in $ac_dummy; do
4477 test -z "$ac_dir" && ac_dir=.
4478 if test -f $ac_dir/file; then
4479 lt_cv_path_MAGIC_CMD="$ac_dir/file"
4480 if test -n "$file_magic_test_file"; then
4481 case $deplibs_check_method in
4482 "file_magic "*)
4483 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
4484 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
4485 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
4486 egrep "$file_magic_regex" > /dev/null; then
4487 :
4488 else
4489 cat <<EOF 1>&2
4490
4491 *** Warning: the command libtool uses to detect shared libraries,
4492 *** $file_magic_cmd, produces output that libtool cannot recognize.
4493 *** The result is that libtool may fail to recognize shared libraries
4494 *** as such. This will affect the creation of libtool libraries that
4495 *** depend on shared libraries, but programs linked with such libtool
4496 *** libraries will work regardless of this problem. Nevertheless, you
4497 *** may want to report the problem to your system manager and/or to
4498 *** bug-libtool@gnu.org
4499
4500 EOF
4501 fi ;;
4502 esac
4503 fi
4504 break
4505 fi
4506 done
4507 IFS="$ac_save_ifs"
4508 MAGIC_CMD="$ac_save_MAGIC_CMD"
4509 ;;
4510 esac
4511 fi
4512
4513 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
4514 if test -n "$MAGIC_CMD"; then
4515 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
4516 echo "${ECHO_T}$MAGIC_CMD" >&6
4517 else
4518 echo "$as_me:$LINENO: result: no" >&5
4519 echo "${ECHO_T}no" >&6
4520 fi
4521
4522 else
4523 MAGIC_CMD=:
4524 fi
4525 fi
4526
4527 fi
4528 ;;
4529 esac
4530
4531 if test -n "$ac_tool_prefix"; then
4532 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4533 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
4534 echo "$as_me:$LINENO: checking for $ac_word" >&5
4535 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4536 if test "${ac_cv_prog_RANLIB+set}" = set; then
4537 echo $ECHO_N "(cached) $ECHO_C" >&6
4538 else
4539 if test -n "$RANLIB"; then
4540 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
4541 else
4542 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4543 for as_dir in $PATH
4544 do
4545 IFS=$as_save_IFS
4546 test -z "$as_dir" && as_dir=.
4547 for ac_exec_ext in '' $ac_executable_extensions; do
4548 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4549 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
4550 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4551 break 2
4552 fi
4553 done
4554 done
4555
4556 fi
4557 fi
4558 RANLIB=$ac_cv_prog_RANLIB
4559 if test -n "$RANLIB"; then
4560 echo "$as_me:$LINENO: result: $RANLIB" >&5
4561 echo "${ECHO_T}$RANLIB" >&6
4562 else
4563 echo "$as_me:$LINENO: result: no" >&5
4564 echo "${ECHO_T}no" >&6
4565 fi
4566
4567 fi
4568 if test -z "$ac_cv_prog_RANLIB"; then
4569 ac_ct_RANLIB=$RANLIB
4570 # Extract the first word of "ranlib", so it can be a program name with args.
4571 set dummy ranlib; ac_word=$2
4572 echo "$as_me:$LINENO: checking for $ac_word" >&5
4573 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4574 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
4575 echo $ECHO_N "(cached) $ECHO_C" >&6
4576 else
4577 if test -n "$ac_ct_RANLIB"; then
4578 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
4579 else
4580 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4581 for as_dir in $PATH
4582 do
4583 IFS=$as_save_IFS
4584 test -z "$as_dir" && as_dir=.
4585 for ac_exec_ext in '' $ac_executable_extensions; do
4586 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4587 ac_cv_prog_ac_ct_RANLIB="ranlib"
4588 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4589 break 2
4590 fi
4591 done
4592 done
4593
4594 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
4595 fi
4596 fi
4597 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
4598 if test -n "$ac_ct_RANLIB"; then
4599 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
4600 echo "${ECHO_T}$ac_ct_RANLIB" >&6
4601 else
4602 echo "$as_me:$LINENO: result: no" >&5
4603 echo "${ECHO_T}no" >&6
4604 fi
4605
4606 RANLIB=$ac_ct_RANLIB
4607 else
4608 RANLIB="$ac_cv_prog_RANLIB"
4609 fi
4610
4611 if test -n "$ac_tool_prefix"; then
4612 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
4613 set dummy ${ac_tool_prefix}strip; ac_word=$2
4614 echo "$as_me:$LINENO: checking for $ac_word" >&5
4615 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4616 if test "${ac_cv_prog_STRIP+set}" = set; then
4617 echo $ECHO_N "(cached) $ECHO_C" >&6
4618 else
4619 if test -n "$STRIP"; then
4620 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
4621 else
4622 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4623 for as_dir in $PATH
4624 do
4625 IFS=$as_save_IFS
4626 test -z "$as_dir" && as_dir=.
4627 for ac_exec_ext in '' $ac_executable_extensions; do
4628 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4629 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
4630 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4631 break 2
4632 fi
4633 done
4634 done
4635
4636 fi
4637 fi
4638 STRIP=$ac_cv_prog_STRIP
4639 if test -n "$STRIP"; then
4640 echo "$as_me:$LINENO: result: $STRIP" >&5
4641 echo "${ECHO_T}$STRIP" >&6
4642 else
4643 echo "$as_me:$LINENO: result: no" >&5
4644 echo "${ECHO_T}no" >&6
4645 fi
4646
4647 fi
4648 if test -z "$ac_cv_prog_STRIP"; then
4649 ac_ct_STRIP=$STRIP
4650 # Extract the first word of "strip", so it can be a program name with args.
4651 set dummy strip; ac_word=$2
4652 echo "$as_me:$LINENO: checking for $ac_word" >&5
4653 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4654 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
4655 echo $ECHO_N "(cached) $ECHO_C" >&6
4656 else
4657 if test -n "$ac_ct_STRIP"; then
4658 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
4659 else
4660 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4661 for as_dir in $PATH
4662 do
4663 IFS=$as_save_IFS
4664 test -z "$as_dir" && as_dir=.
4665 for ac_exec_ext in '' $ac_executable_extensions; do
4666 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4667 ac_cv_prog_ac_ct_STRIP="strip"
4668 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4669 break 2
4670 fi
4671 done
4672 done
4673
4674 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
4675 fi
4676 fi
4677 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
4678 if test -n "$ac_ct_STRIP"; then
4679 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
4680 echo "${ECHO_T}$ac_ct_STRIP" >&6
4681 else
4682 echo "$as_me:$LINENO: result: no" >&5
4683 echo "${ECHO_T}no" >&6
4684 fi
4685
4686 STRIP=$ac_ct_STRIP
4687 else
4688 STRIP="$ac_cv_prog_STRIP"
4689 fi
4690
4691
4692 # Check for any special flags to pass to ltconfig.
4693 libtool_flags="--cache-file=$cache_file"
4694 test "$enable_shared" = no && libtool_flags="$libtool_flags --disable-shared"
4695 test "$enable_static" = no && libtool_flags="$libtool_flags --disable-static"
4696 test "$enable_fast_install" = no && libtool_flags="$libtool_flags --disable-fast-install"
4697 test "$GCC" = yes && libtool_flags="$libtool_flags --with-gcc"
4698 test "$lt_cv_prog_gnu_ld" = yes && libtool_flags="$libtool_flags --with-gnu-ld"
4699
4700
4701 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
4702 if test "${enable_libtool_lock+set}" = set; then
4703 enableval="$enable_libtool_lock"
4704
4705 fi;
4706 test "x$enable_libtool_lock" = xno && libtool_flags="$libtool_flags --disable-lock"
4707 test x"$silent" = xyes && libtool_flags="$libtool_flags --silent"
4708
4709
4710 # Check whether --with-pic or --without-pic was given.
4711 if test "${with_pic+set}" = set; then
4712 withval="$with_pic"
4713 pic_mode="$withval"
4714 else
4715 pic_mode=default
4716 fi;
4717 test x"$pic_mode" = xyes && libtool_flags="$libtool_flags --prefer-pic"
4718 test x"$pic_mode" = xno && libtool_flags="$libtool_flags --prefer-non-pic"
4719
4720 # Some flags need to be propagated to the compiler or linker for good
4721 # libtool support.
4722 case $host in
4723 *-*-irix6*)
4724 # Find out which ABI we are using.
4725 echo '#line 4725 "configure"' > conftest.$ac_ext
4726 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4727 (eval $ac_compile) 2>&5
4728 ac_status=$?
4729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4730 (exit $ac_status); }; then
4731 if test "$lt_cv_prog_gnu_ld" = yes; then
4732 case `/usr/bin/file conftest.$ac_objext` in
4733 *32-bit*)
4734 LD="${LD-ld} -melf32bsmip"
4735 ;;
4736 *N32*)
4737 LD="${LD-ld} -melf32bmipn32"
4738 ;;
4739 *64-bit*)
4740 LD="${LD-ld} -melf64bmip"
4741 ;;
4742 esac
4743 else
4744 case `/usr/bin/file conftest.$ac_objext` in
4745 *32-bit*)
4746 LD="${LD-ld} -32"
4747 ;;
4748 *N32*)
4749 LD="${LD-ld} -n32"
4750 ;;
4751 *64-bit*)
4752 LD="${LD-ld} -64"
4753 ;;
4754 esac
4755 fi
4756 fi
4757 rm -rf conftest*
4758 ;;
4759
4760 ia64-*-hpux*)
4761 # Find out which ABI we are using.
4762 echo 'int i;' > conftest.$ac_ext
4763 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4764 (eval $ac_compile) 2>&5
4765 ac_status=$?
4766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4767 (exit $ac_status); }; then
4768 case "`/usr/bin/file conftest.o`" in
4769 *ELF-32*)
4770 HPUX_IA64_MODE="32"
4771 ;;
4772 *ELF-64*)
4773 HPUX_IA64_MODE="64"
4774 ;;
4775 esac
4776 fi
4777 rm -rf conftest*
4778 ;;
4779
4780 x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
4781 # Find out which ABI we are using.
4782 echo 'int i;' > conftest.$ac_ext
4783 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4784 (eval $ac_compile) 2>&5
4785 ac_status=$?
4786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4787 (exit $ac_status); }; then
4788 case "`/usr/bin/file conftest.o`" in
4789 *32-bit*)
4790 case $host in
4791 x86_64-*linux*)
4792 LD="${LD-ld} -m elf_i386"
4793 ;;
4794 ppc64-*linux*|powerpc64-*linux*)
4795 LD="${LD-ld} -m elf32ppclinux"
4796 ;;
4797 s390x-*linux*)
4798 LD="${LD-ld} -m elf_s390"
4799 ;;
4800 sparc64-*linux*)
4801 LD="${LD-ld} -m elf32_sparc"
4802 ;;
4803 esac
4804 ;;
4805 *64-bit*)
4806 case $host in
4807 x86_64-*linux*)
4808 LD="${LD-ld} -m elf_x86_64"
4809 ;;
4810 ppc*-*linux*|powerpc*-*linux*)
4811 LD="${LD-ld} -m elf64ppc"
4812 ;;
4813 s390*-*linux*)
4814 LD="${LD-ld} -m elf64_s390"
4815 ;;
4816 sparc*-*linux*)
4817 LD="${LD-ld} -m elf64_sparc"
4818 ;;
4819 esac
4820 ;;
4821 esac
4822 fi
4823 rm -rf conftest*
4824 ;;
4825
4826 *-*-sco3.2v5*)
4827 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
4828 SAVE_CFLAGS="$CFLAGS"
4829 CFLAGS="$CFLAGS -belf"
4830 echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
4831 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
4832 if test "${lt_cv_cc_needs_belf+set}" = set; then
4833 echo $ECHO_N "(cached) $ECHO_C" >&6
4834 else
4835
4836
4837 ac_ext=c
4838 ac_cpp='$CPP $CPPFLAGS'
4839 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4840 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4841 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4842
4843 if test x$gcc_no_link = xyes; then
4844 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
4845 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
4846 { (exit 1); exit 1; }; }
4847 fi
4848 cat >conftest.$ac_ext <<_ACEOF
4849 /* confdefs.h. */
4850 _ACEOF
4851 cat confdefs.h >>conftest.$ac_ext
4852 cat >>conftest.$ac_ext <<_ACEOF
4853 /* end confdefs.h. */
4854
4855 int
4856 main ()
4857 {
4858
4859 ;
4860 return 0;
4861 }
4862 _ACEOF
4863 rm -f conftest.$ac_objext conftest$ac_exeext
4864 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4865 (eval $ac_link) 2>conftest.er1
4866 ac_status=$?
4867 grep -v '^ *+' conftest.er1 >conftest.err
4868 rm -f conftest.er1
4869 cat conftest.err >&5
4870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4871 (exit $ac_status); } &&
4872 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4873 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4874 (eval $ac_try) 2>&5
4875 ac_status=$?
4876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4877 (exit $ac_status); }; } &&
4878 { ac_try='test -s conftest$ac_exeext'
4879 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4880 (eval $ac_try) 2>&5
4881 ac_status=$?
4882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4883 (exit $ac_status); }; }; then
4884 lt_cv_cc_needs_belf=yes
4885 else
4886 echo "$as_me: failed program was:" >&5
4887 sed 's/^/| /' conftest.$ac_ext >&5
4888
4889 lt_cv_cc_needs_belf=no
4890 fi
4891 rm -f conftest.err conftest.$ac_objext \
4892 conftest$ac_exeext conftest.$ac_ext
4893 ac_ext=c
4894 ac_cpp='$CPP $CPPFLAGS'
4895 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4896 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4897 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4898
4899 fi
4900 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
4901 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
4902 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
4903 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
4904 CFLAGS="$SAVE_CFLAGS"
4905 fi
4906 ;;
4907
4908
4909 esac
4910
4911
4912 # Save cache, so that ltconfig can load it
4913 cat >confcache <<\_ACEOF
4914 # This file is a shell script that caches the results of configure
4915 # tests run on this system so they can be shared between configure
4916 # scripts and configure runs, see configure's option --config-cache.
4917 # It is not useful on other systems. If it contains results you don't
4918 # want to keep, you may remove or edit it.
4919 #
4920 # config.status only pays attention to the cache file if you give it
4921 # the --recheck option to rerun configure.
4922 #
4923 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4924 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4925 # following values.
4926
4927 _ACEOF
4928
4929 # The following way of writing the cache mishandles newlines in values,
4930 # but we know of no workaround that is simple, portable, and efficient.
4931 # So, don't put newlines in cache variables' values.
4932 # Ultrix sh set writes to stderr and can't be redirected directly,
4933 # and sets the high bit in the cache file unless we assign to the vars.
4934 {
4935 (set) 2>&1 |
4936 case `(ac_space=' '; set | grep ac_space) 2>&1` in
4937 *ac_space=\ *)
4938 # `set' does not quote correctly, so add quotes (double-quote
4939 # substitution turns \\\\ into \\, and sed turns \\ into \).
4940 sed -n \
4941 "s/'/'\\\\''/g;
4942 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4943 ;;
4944 *)
4945 # `set' quotes correctly as required by POSIX, so do not add quotes.
4946 sed -n \
4947 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
4948 ;;
4949 esac;
4950 } |
4951 sed '
4952 t clear
4953 : clear
4954 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4955 t end
4956 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4957 : end' >>confcache
4958 if diff $cache_file confcache >/dev/null 2>&1; then :; else
4959 if test -w $cache_file; then
4960 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
4961 cat confcache >$cache_file
4962 else
4963 echo "not updating unwritable cache $cache_file"
4964 fi
4965 fi
4966 rm -f confcache
4967
4968 # Actually configure libtool. ac_aux_dir is where install-sh is found.
4969 AR="$AR" LTCC="$CC" CC="$CC" CFLAGS="$CFLAGS" CPPFLAGS="$CPPFLAGS" \
4970 MAGIC_CMD="$MAGIC_CMD" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
4971 LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
4972 AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
4973 objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
4974 deplibs_check_method="$deplibs_check_method" file_magic_cmd="$file_magic_cmd" \
4975 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig --no-reexec \
4976 $libtool_flags --no-verify --build="$build" $ac_aux_dir/ltmain.sh $host \
4977 || { { echo "$as_me:$LINENO: error: libtool configure failed" >&5
4978 echo "$as_me: error: libtool configure failed" >&2;}
4979 { (exit 1); exit 1; }; }
4980
4981 # Reload cache, that may have been modified by ltconfig
4982 if test -r "$cache_file"; then
4983 # Some versions of bash will fail to source /dev/null (special
4984 # files actually), so we avoid doing that.
4985 if test -f "$cache_file"; then
4986 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
4987 echo "$as_me: loading cache $cache_file" >&6;}
4988 case $cache_file in
4989 [\\/]* | ?:[\\/]* ) . $cache_file;;
4990 *) . ./$cache_file;;
4991 esac
4992 fi
4993 else
4994 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
4995 echo "$as_me: creating cache $cache_file" >&6;}
4996 >$cache_file
4997 fi
4998
4999
5000 # This can be used to rebuild libtool when needed
5001 LIBTOOL_DEPS="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh $ac_aux_dir/ltcf-c.sh"
5002
5003 # Always use our own libtool.
5004 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
5005
5006 # Redirect the config.log output again, so that the ltconfig log is not
5007 # clobbered by the next message.
5008 exec 5>>./config.log
5009
5010 ac_ext=cc
5011 ac_cpp='$CXXCPP $CPPFLAGS'
5012 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5013 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5014 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5015 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
5016 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
5017 if test -z "$CXXCPP"; then
5018 if test "${ac_cv_prog_CXXCPP+set}" = set; then
5019 echo $ECHO_N "(cached) $ECHO_C" >&6
5020 else
5021 # Double quotes because CXXCPP needs to be expanded
5022 for CXXCPP in "$CXX -E" "/lib/cpp"
5023 do
5024 ac_preproc_ok=false
5025 for ac_cxx_preproc_warn_flag in '' yes
5026 do
5027 # Use a header file that comes with gcc, so configuring glibc
5028 # with a fresh cross-compiler works.
5029 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5030 # <limits.h> exists even on freestanding compilers.
5031 # On the NeXT, cc -E runs the code through the compiler's parser,
5032 # not just through cpp. "Syntax error" is here to catch this case.
5033 cat >conftest.$ac_ext <<_ACEOF
5034 /* confdefs.h. */
5035 _ACEOF
5036 cat confdefs.h >>conftest.$ac_ext
5037 cat >>conftest.$ac_ext <<_ACEOF
5038 /* end confdefs.h. */
5039 #ifdef __STDC__
5040 # include <limits.h>
5041 #else
5042 # include <assert.h>
5043 #endif
5044 Syntax error
5045 _ACEOF
5046 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5047 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5048 ac_status=$?
5049 grep -v '^ *+' conftest.er1 >conftest.err
5050 rm -f conftest.er1
5051 cat conftest.err >&5
5052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5053 (exit $ac_status); } >/dev/null; then
5054 if test -s conftest.err; then
5055 ac_cpp_err=$ac_cxx_preproc_warn_flag
5056 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
5057 else
5058 ac_cpp_err=
5059 fi
5060 else
5061 ac_cpp_err=yes
5062 fi
5063 if test -z "$ac_cpp_err"; then
5064 :
5065 else
5066 echo "$as_me: failed program was:" >&5
5067 sed 's/^/| /' conftest.$ac_ext >&5
5068
5069 # Broken: fails on valid input.
5070 continue
5071 fi
5072 rm -f conftest.err conftest.$ac_ext
5073
5074 # OK, works on sane cases. Now check whether non-existent headers
5075 # can be detected and how.
5076 cat >conftest.$ac_ext <<_ACEOF
5077 /* confdefs.h. */
5078 _ACEOF
5079 cat confdefs.h >>conftest.$ac_ext
5080 cat >>conftest.$ac_ext <<_ACEOF
5081 /* end confdefs.h. */
5082 #include <ac_nonexistent.h>
5083 _ACEOF
5084 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5085 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5086 ac_status=$?
5087 grep -v '^ *+' conftest.er1 >conftest.err
5088 rm -f conftest.er1
5089 cat conftest.err >&5
5090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5091 (exit $ac_status); } >/dev/null; then
5092 if test -s conftest.err; then
5093 ac_cpp_err=$ac_cxx_preproc_warn_flag
5094 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
5095 else
5096 ac_cpp_err=
5097 fi
5098 else
5099 ac_cpp_err=yes
5100 fi
5101 if test -z "$ac_cpp_err"; then
5102 # Broken: success on invalid input.
5103 continue
5104 else
5105 echo "$as_me: failed program was:" >&5
5106 sed 's/^/| /' conftest.$ac_ext >&5
5107
5108 # Passes both tests.
5109 ac_preproc_ok=:
5110 break
5111 fi
5112 rm -f conftest.err conftest.$ac_ext
5113
5114 done
5115 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5116 rm -f conftest.err conftest.$ac_ext
5117 if $ac_preproc_ok; then
5118 break
5119 fi
5120
5121 done
5122 ac_cv_prog_CXXCPP=$CXXCPP
5123
5124 fi
5125 CXXCPP=$ac_cv_prog_CXXCPP
5126 else
5127 ac_cv_prog_CXXCPP=$CXXCPP
5128 fi
5129 echo "$as_me:$LINENO: result: $CXXCPP" >&5
5130 echo "${ECHO_T}$CXXCPP" >&6
5131 ac_preproc_ok=false
5132 for ac_cxx_preproc_warn_flag in '' yes
5133 do
5134 # Use a header file that comes with gcc, so configuring glibc
5135 # with a fresh cross-compiler works.
5136 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5137 # <limits.h> exists even on freestanding compilers.
5138 # On the NeXT, cc -E runs the code through the compiler's parser,
5139 # not just through cpp. "Syntax error" is here to catch this case.
5140 cat >conftest.$ac_ext <<_ACEOF
5141 /* confdefs.h. */
5142 _ACEOF
5143 cat confdefs.h >>conftest.$ac_ext
5144 cat >>conftest.$ac_ext <<_ACEOF
5145 /* end confdefs.h. */
5146 #ifdef __STDC__
5147 # include <limits.h>
5148 #else
5149 # include <assert.h>
5150 #endif
5151 Syntax error
5152 _ACEOF
5153 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5154 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5155 ac_status=$?
5156 grep -v '^ *+' conftest.er1 >conftest.err
5157 rm -f conftest.er1
5158 cat conftest.err >&5
5159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5160 (exit $ac_status); } >/dev/null; then
5161 if test -s conftest.err; then
5162 ac_cpp_err=$ac_cxx_preproc_warn_flag
5163 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
5164 else
5165 ac_cpp_err=
5166 fi
5167 else
5168 ac_cpp_err=yes
5169 fi
5170 if test -z "$ac_cpp_err"; then
5171 :
5172 else
5173 echo "$as_me: failed program was:" >&5
5174 sed 's/^/| /' conftest.$ac_ext >&5
5175
5176 # Broken: fails on valid input.
5177 continue
5178 fi
5179 rm -f conftest.err conftest.$ac_ext
5180
5181 # OK, works on sane cases. Now check whether non-existent headers
5182 # can be detected and how.
5183 cat >conftest.$ac_ext <<_ACEOF
5184 /* confdefs.h. */
5185 _ACEOF
5186 cat confdefs.h >>conftest.$ac_ext
5187 cat >>conftest.$ac_ext <<_ACEOF
5188 /* end confdefs.h. */
5189 #include <ac_nonexistent.h>
5190 _ACEOF
5191 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5192 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5193 ac_status=$?
5194 grep -v '^ *+' conftest.er1 >conftest.err
5195 rm -f conftest.er1
5196 cat conftest.err >&5
5197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5198 (exit $ac_status); } >/dev/null; then
5199 if test -s conftest.err; then
5200 ac_cpp_err=$ac_cxx_preproc_warn_flag
5201 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
5202 else
5203 ac_cpp_err=
5204 fi
5205 else
5206 ac_cpp_err=yes
5207 fi
5208 if test -z "$ac_cpp_err"; then
5209 # Broken: success on invalid input.
5210 continue
5211 else
5212 echo "$as_me: failed program was:" >&5
5213 sed 's/^/| /' conftest.$ac_ext >&5
5214
5215 # Passes both tests.
5216 ac_preproc_ok=:
5217 break
5218 fi
5219 rm -f conftest.err conftest.$ac_ext
5220
5221 done
5222 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5223 rm -f conftest.err conftest.$ac_ext
5224 if $ac_preproc_ok; then
5225 :
5226 else
5227 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
5228 See \`config.log' for more details." >&5
5229 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
5230 See \`config.log' for more details." >&2;}
5231 { (exit 1); exit 1; }; }
5232 fi
5233
5234 ac_ext=c
5235 ac_cpp='$CPP $CPPFLAGS'
5236 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5237 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5238 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5239
5240
5241
5242 LIBTOOL_DEPS=$LIBTOOL_DEPS" $ac_aux_dir/ltcf-cxx.sh"
5243 lt_save_CC="$CC"
5244 lt_save_CFLAGS="$CFLAGS"
5245 AR="$AR" LTCC="$CC" CC="$CXX" CXX="$CXX" CFLAGS="$CXXFLAGS" CPPFLAGS="$CPPFLAGS" \
5246 MAGIC_CMD="$MAGIC_CMD" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
5247 LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
5248 AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
5249 objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
5250 deplibs_check_method="$deplibs_check_method" \
5251 file_magic_cmd="$file_magic_cmd" \
5252 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig -o libtool $libtool_flags \
5253 --build="$build" --add-tag=CXX $ac_aux_dir/ltcf-cxx.sh $host \
5254 || { { echo "$as_me:$LINENO: error: libtool tag configuration failed" >&5
5255 echo "$as_me: error: libtool tag configuration failed" >&2;}
5256 { (exit 1); exit 1; }; }
5257 CC="$lt_save_CC"
5258 CFLAGS="$lt_save_CFLAGS"
5259
5260 # Redirect the config.log output again, so that the ltconfig log is not
5261 # clobbered by the next message.
5262 exec 5>>./config.log
5263
5264
5265
5266
5267
5268
5269
5270
5271
5272 # Possibly disable most of the library.
5273 ## TODO: Consider skipping unncessary tests altogether in this case, rather
5274 ## than just ignoring the results. Faster /and/ more correct, win win.
5275
5276 # Check whether --enable-hosted-libstdcxx or --disable-hosted-libstdcxx was given.
5277 if test "${enable_hosted_libstdcxx+set}" = set; then
5278 enableval="$enable_hosted_libstdcxx"
5279
5280 else
5281 case "$host" in
5282 arm*-*-symbianelf*)
5283 enable_hosted_libstdcxx=no
5284 ;;
5285 *)
5286 enable_hosted_libstdcxx=yes
5287 ;;
5288 esac
5289 fi;
5290 if test "$enable_hosted_libstdcxx" = no; then
5291 { echo "$as_me:$LINENO: Only freestanding libraries will be built" >&5
5292 echo "$as_me: Only freestanding libraries will be built" >&6;}
5293 is_hosted=no
5294 hosted_define=0
5295 enable_abi_check=no
5296 enable_libstdcxx_pch=no
5297 else
5298 is_hosted=yes
5299 hosted_define=1
5300 fi
5301
5302
5303 cat >>confdefs.h <<_ACEOF
5304 #define _GLIBCXX_HOSTED $hosted_define
5305 _ACEOF
5306
5307
5308
5309 # Check for compiler support that doesn't require linking.
5310
5311 echo "$as_me:$LINENO: checking for exception model to use" >&5
5312 echo $ECHO_N "checking for exception model to use... $ECHO_C" >&6
5313
5314
5315 ac_ext=cc
5316 ac_cpp='$CXXCPP $CPPFLAGS'
5317 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5318 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5319 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5320
5321 # Check whether --enable-sjlj-exceptions or --disable-sjlj-exceptions was given.
5322 if test "${enable_sjlj_exceptions+set}" = set; then
5323 enableval="$enable_sjlj_exceptions"
5324
5325 case "$enableval" in
5326 yes|no|auto) ;;
5327 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable sjlj-exceptions" >&5
5328 echo "$as_me: error: Unknown argument to enable/disable sjlj-exceptions" >&2;}
5329 { (exit 1); exit 1; }; } ;;
5330 esac
5331
5332 else
5333 enable_sjlj_exceptions=auto
5334 fi;
5335
5336
5337 if test $enable_sjlj_exceptions = auto; then
5338 # Botheration. Now we've got to detect the exception model. Link tests
5339 # against libgcc.a are problematic since we've not been given proper -L
5340 # bits for single-tree newlib and libgloss.
5341 #
5342 # Fake what AC_TRY_COMPILE does. XXX Look at redoing this new-style.
5343 cat > conftest.$ac_ext << EOF
5344 #line 5344 "configure"
5345 struct S { ~S(); };
5346 void bar();
5347 void foo()
5348 {
5349 S s;
5350 bar();
5351 }
5352 EOF
5353 old_CXXFLAGS="$CXXFLAGS"
5354 CXXFLAGS=-S
5355 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5356 (eval $ac_compile) 2>&5
5357 ac_status=$?
5358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5359 (exit $ac_status); }; then
5360 if grep _Unwind_SjLj_Resume conftest.s >/dev/null 2>&1 ; then
5361 enable_sjlj_exceptions=yes
5362 elif grep _Unwind_Resume conftest.s >/dev/null 2>&1 ; then
5363 enable_sjlj_exceptions=no
5364 elif grep __cxa_end_cleanup conftest.s >/dev/null 2>&1 ; then
5365 enable_sjlj_exceptions=no
5366 fi
5367 fi
5368 CXXFLAGS="$old_CXXFLAGS"
5369 rm -f conftest*
5370 fi
5371
5372 # This is a tad weird, for hysterical raisins. We have to map
5373 # enable/disable to two different models.
5374 case $enable_sjlj_exceptions in
5375 yes)
5376
5377 cat >>confdefs.h <<\_ACEOF
5378 #define _GLIBCXX_SJLJ_EXCEPTIONS 1
5379 _ACEOF
5380
5381 ac_exception_model_name=sjlj
5382 ;;
5383 no)
5384 ac_exception_model_name="call frame"
5385 ;;
5386 *)
5387 { { echo "$as_me:$LINENO: error: unable to detect exception model" >&5
5388 echo "$as_me: error: unable to detect exception model" >&2;}
5389 { (exit 1); exit 1; }; }
5390 ;;
5391 esac
5392 ac_ext=c
5393 ac_cpp='$CPP $CPPFLAGS'
5394 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5395 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5396 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5397
5398 echo "$as_me:$LINENO: result: $ac_exception_model_name" >&5
5399 echo "${ECHO_T}$ac_exception_model_name" >&6
5400
5401
5402 # Check whether --enable-libstdcxx-pch or --disable-libstdcxx-pch was given.
5403 if test "${enable_libstdcxx_pch+set}" = set; then
5404 enableval="$enable_libstdcxx_pch"
5405
5406 case "$enableval" in
5407 yes|no) ;;
5408 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable libstdcxx-pch must be yes or no" >&5
5409 echo "$as_me: error: Argument to enable/disable libstdcxx-pch must be yes or no" >&2;}
5410 { (exit 1); exit 1; }; } ;;
5411 esac
5412
5413 else
5414 enable_libstdcxx_pch=$is_hosted
5415 fi;
5416
5417 if test $enable_libstdcxx_pch = yes; then
5418 echo "$as_me:$LINENO: checking for compiler with PCH support" >&5
5419 echo $ECHO_N "checking for compiler with PCH support... $ECHO_C" >&6
5420 if test "${glibcxx_cv_prog_CXX_pch+set}" = set; then
5421 echo $ECHO_N "(cached) $ECHO_C" >&6
5422 else
5423 ac_save_CXXFLAGS="$CXXFLAGS"
5424 CXXFLAGS="$CXXFLAGS -Werror -Winvalid-pch -Wno-deprecated"
5425
5426
5427 ac_ext=cc
5428 ac_cpp='$CXXCPP $CPPFLAGS'
5429 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5430 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5431 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5432
5433 echo '#include <math.h>' > conftest.h
5434 if $CXX $CXXFLAGS $CPPFLAGS -x c++-header conftest.h \
5435 -o conftest.h.gch 1>&5 2>&1 &&
5436 echo '#error "pch failed"' > conftest.h &&
5437 echo '#include "conftest.h"' > conftest.cc &&
5438 $CXX -c $CXXFLAGS $CPPFLAGS conftest.cc 1>&5 2>&1 ;
5439 then
5440 glibcxx_cv_prog_CXX_pch=yes
5441 else
5442 glibcxx_cv_prog_CXX_pch=no
5443 fi
5444 rm -f conftest*
5445 CXXFLAGS=$ac_save_CXXFLAGS
5446 ac_ext=c
5447 ac_cpp='$CPP $CPPFLAGS'
5448 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5449 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5450 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5451
5452
5453 fi
5454 echo "$as_me:$LINENO: result: $glibcxx_cv_prog_CXX_pch" >&5
5455 echo "${ECHO_T}$glibcxx_cv_prog_CXX_pch" >&6
5456 enable_libstdcxx_pch=$glibcxx_cv_prog_CXX_pch
5457 fi
5458
5459 echo "$as_me:$LINENO: checking for enabled PCH" >&5
5460 echo $ECHO_N "checking for enabled PCH... $ECHO_C" >&6
5461 echo "$as_me:$LINENO: result: $enable_libstdcxx_pch" >&5
5462 echo "${ECHO_T}$enable_libstdcxx_pch" >&6
5463
5464
5465 if test $enable_libstdcxx_pch = yes; then
5466 glibcxx_PCHFLAGS="-include bits/stdtr1c++.h"
5467 else
5468 glibcxx_PCHFLAGS=""
5469 fi
5470
5471
5472
5473 # Enable all the variable C++ runtime options.
5474
5475 echo "$as_me:$LINENO: checking for underlying I/O to use" >&5
5476 echo $ECHO_N "checking for underlying I/O to use... $ECHO_C" >&6
5477 # Check whether --enable-cstdio or --disable-cstdio was given.
5478 if test "${enable_cstdio+set}" = set; then
5479 enableval="$enable_cstdio"
5480
5481 case "$enableval" in
5482 stdio) ;;
5483 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable cstdio" >&5
5484 echo "$as_me: error: Unknown argument to enable/disable cstdio" >&2;}
5485 { (exit 1); exit 1; }; } ;;
5486 esac
5487
5488 else
5489 enable_cstdio=stdio
5490 fi;
5491
5492
5493 # Now that libio has been removed, you can have any color you want as long
5494 # as it's black. This is one big no-op until other packages are added, but
5495 # showing the framework never hurts.
5496 case ${enable_cstdio} in
5497 stdio)
5498 CSTDIO_H=config/io/c_io_stdio.h
5499 BASIC_FILE_H=config/io/basic_file_stdio.h
5500 BASIC_FILE_CC=config/io/basic_file_stdio.cc
5501 echo "$as_me:$LINENO: result: stdio" >&5
5502 echo "${ECHO_T}stdio" >&6
5503 ;;
5504 esac
5505
5506
5507
5508
5509
5510 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5511 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
5512 if test "${ac_cv_header_stdc+set}" = set; then
5513 echo $ECHO_N "(cached) $ECHO_C" >&6
5514 else
5515 cat >conftest.$ac_ext <<_ACEOF
5516 /* confdefs.h. */
5517 _ACEOF
5518 cat confdefs.h >>conftest.$ac_ext
5519 cat >>conftest.$ac_ext <<_ACEOF
5520 /* end confdefs.h. */
5521 #include <stdlib.h>
5522 #include <stdarg.h>
5523 #include <string.h>
5524 #include <float.h>
5525
5526 int
5527 main ()
5528 {
5529
5530 ;
5531 return 0;
5532 }
5533 _ACEOF
5534 rm -f conftest.$ac_objext
5535 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5536 (eval $ac_compile) 2>conftest.er1
5537 ac_status=$?
5538 grep -v '^ *+' conftest.er1 >conftest.err
5539 rm -f conftest.er1
5540 cat conftest.err >&5
5541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5542 (exit $ac_status); } &&
5543 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5545 (eval $ac_try) 2>&5
5546 ac_status=$?
5547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5548 (exit $ac_status); }; } &&
5549 { ac_try='test -s conftest.$ac_objext'
5550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5551 (eval $ac_try) 2>&5
5552 ac_status=$?
5553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5554 (exit $ac_status); }; }; then
5555 ac_cv_header_stdc=yes
5556 else
5557 echo "$as_me: failed program was:" >&5
5558 sed 's/^/| /' conftest.$ac_ext >&5
5559
5560 ac_cv_header_stdc=no
5561 fi
5562 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5563
5564 if test $ac_cv_header_stdc = yes; then
5565 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5566 cat >conftest.$ac_ext <<_ACEOF
5567 /* confdefs.h. */
5568 _ACEOF
5569 cat confdefs.h >>conftest.$ac_ext
5570 cat >>conftest.$ac_ext <<_ACEOF
5571 /* end confdefs.h. */
5572 #include <string.h>
5573
5574 _ACEOF
5575 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5576 $EGREP "memchr" >/dev/null 2>&1; then
5577 :
5578 else
5579 ac_cv_header_stdc=no
5580 fi
5581 rm -f conftest*
5582
5583 fi
5584
5585 if test $ac_cv_header_stdc = yes; then
5586 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5587 cat >conftest.$ac_ext <<_ACEOF
5588 /* confdefs.h. */
5589 _ACEOF
5590 cat confdefs.h >>conftest.$ac_ext
5591 cat >>conftest.$ac_ext <<_ACEOF
5592 /* end confdefs.h. */
5593 #include <stdlib.h>
5594
5595 _ACEOF
5596 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5597 $EGREP "free" >/dev/null 2>&1; then
5598 :
5599 else
5600 ac_cv_header_stdc=no
5601 fi
5602 rm -f conftest*
5603
5604 fi
5605
5606 if test $ac_cv_header_stdc = yes; then
5607 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5608 if test "$cross_compiling" = yes; then
5609 :
5610 else
5611 cat >conftest.$ac_ext <<_ACEOF
5612 /* confdefs.h. */
5613 _ACEOF
5614 cat confdefs.h >>conftest.$ac_ext
5615 cat >>conftest.$ac_ext <<_ACEOF
5616 /* end confdefs.h. */
5617 #include <ctype.h>
5618 #if ((' ' & 0x0FF) == 0x020)
5619 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5620 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5621 #else
5622 # define ISLOWER(c) \
5623 (('a' <= (c) && (c) <= 'i') \
5624 || ('j' <= (c) && (c) <= 'r') \
5625 || ('s' <= (c) && (c) <= 'z'))
5626 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5627 #endif
5628
5629 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5630 int
5631 main ()
5632 {
5633 int i;
5634 for (i = 0; i < 256; i++)
5635 if (XOR (islower (i), ISLOWER (i))
5636 || toupper (i) != TOUPPER (i))
5637 exit(2);
5638 exit (0);
5639 }
5640 _ACEOF
5641 rm -f conftest$ac_exeext
5642 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5643 (eval $ac_link) 2>&5
5644 ac_status=$?
5645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5646 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5648 (eval $ac_try) 2>&5
5649 ac_status=$?
5650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5651 (exit $ac_status); }; }; then
5652 :
5653 else
5654 echo "$as_me: program exited with status $ac_status" >&5
5655 echo "$as_me: failed program was:" >&5
5656 sed 's/^/| /' conftest.$ac_ext >&5
5657
5658 ( exit $ac_status )
5659 ac_cv_header_stdc=no
5660 fi
5661 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5662 fi
5663 fi
5664 fi
5665 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5666 echo "${ECHO_T}$ac_cv_header_stdc" >&6
5667 if test $ac_cv_header_stdc = yes; then
5668
5669 cat >>confdefs.h <<\_ACEOF
5670 #define STDC_HEADERS 1
5671 _ACEOF
5672
5673 fi
5674
5675 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5676
5677
5678
5679
5680
5681
5682
5683
5684
5685 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5686 inttypes.h stdint.h unistd.h
5687 do
5688 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5689 echo "$as_me:$LINENO: checking for $ac_header" >&5
5690 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5691 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5692 echo $ECHO_N "(cached) $ECHO_C" >&6
5693 else
5694 cat >conftest.$ac_ext <<_ACEOF
5695 /* confdefs.h. */
5696 _ACEOF
5697 cat confdefs.h >>conftest.$ac_ext
5698 cat >>conftest.$ac_ext <<_ACEOF
5699 /* end confdefs.h. */
5700 $ac_includes_default
5701
5702 #include <$ac_header>
5703 _ACEOF
5704 rm -f conftest.$ac_objext
5705 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5706 (eval $ac_compile) 2>conftest.er1
5707 ac_status=$?
5708 grep -v '^ *+' conftest.er1 >conftest.err
5709 rm -f conftest.er1
5710 cat conftest.err >&5
5711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5712 (exit $ac_status); } &&
5713 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5715 (eval $ac_try) 2>&5
5716 ac_status=$?
5717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5718 (exit $ac_status); }; } &&
5719 { ac_try='test -s conftest.$ac_objext'
5720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5721 (eval $ac_try) 2>&5
5722 ac_status=$?
5723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5724 (exit $ac_status); }; }; then
5725 eval "$as_ac_Header=yes"
5726 else
5727 echo "$as_me: failed program was:" >&5
5728 sed 's/^/| /' conftest.$ac_ext >&5
5729
5730 eval "$as_ac_Header=no"
5731 fi
5732 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5733 fi
5734 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5735 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5736 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5737 cat >>confdefs.h <<_ACEOF
5738 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5739 _ACEOF
5740
5741 fi
5742
5743 done
5744
5745
5746
5747 echo "$as_me:$LINENO: checking for C locale to use" >&5
5748 echo $ECHO_N "checking for C locale to use... $ECHO_C" >&6
5749 # Check whether --enable-clocale or --disable-clocale was given.
5750 if test "${enable_clocale+set}" = set; then
5751 enableval="$enable_clocale"
5752
5753 case "$enableval" in
5754 generic|gnu|ieee_1003.1-2001|yes|no|auto) ;;
5755 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable clocale" >&5
5756 echo "$as_me: error: Unknown argument to enable/disable clocale" >&2;}
5757 { (exit 1); exit 1; }; } ;;
5758 esac
5759
5760 else
5761 enable_clocale=auto
5762 fi;
5763
5764
5765 # If they didn't use this option switch, or if they specified --enable
5766 # with no specific model, we'll have to look for one. If they
5767 # specified --disable (???), do likewise.
5768 if test $enable_clocale = no || test $enable_clocale = yes; then
5769 enable_clocale=auto
5770 fi
5771
5772 # Either a known package, or "auto"
5773 enable_clocale_flag=$enable_clocale
5774
5775 # Probe for locale support if no specific model is specified.
5776 # Default to "generic".
5777 if test $enable_clocale_flag = auto; then
5778 case ${target_os} in
5779 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
5780 cat >conftest.$ac_ext <<_ACEOF
5781 /* confdefs.h. */
5782 _ACEOF
5783 cat confdefs.h >>conftest.$ac_ext
5784 cat >>conftest.$ac_ext <<_ACEOF
5785 /* end confdefs.h. */
5786
5787 #include <features.h>
5788 #if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 2)
5789 _GLIBCXX_ok
5790 #endif
5791
5792 _ACEOF
5793 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5794 $EGREP "_GLIBCXX_ok" >/dev/null 2>&1; then
5795 enable_clocale_flag=gnu
5796 else
5797 enable_clocale_flag=generic
5798 fi
5799 rm -f conftest*
5800
5801
5802 # Test for bugs early in glibc-2.2.x series
5803 if test $enable_clocale_flag = gnu; then
5804 if test "$cross_compiling" = yes; then
5805 enable_clocale_flag=generic
5806 else
5807 cat >conftest.$ac_ext <<_ACEOF
5808 /* confdefs.h. */
5809 _ACEOF
5810 cat confdefs.h >>conftest.$ac_ext
5811 cat >>conftest.$ac_ext <<_ACEOF
5812 /* end confdefs.h. */
5813
5814 #define _GNU_SOURCE 1
5815 #include <locale.h>
5816 #include <string.h>
5817 #if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ > 2)
5818 extern __typeof(newlocale) __newlocale;
5819 extern __typeof(duplocale) __duplocale;
5820 extern __typeof(strcoll_l) __strcoll_l;
5821 #endif
5822 int main()
5823 {
5824 const char __one[] = "Äuglein Augmen";
5825 const char __two[] = "Äuglein";
5826 int i;
5827 int j;
5828 __locale_t loc;
5829 __locale_t loc_dup;
5830 loc = __newlocale(1 << LC_ALL, "de_DE", 0);
5831 loc_dup = __duplocale(loc);
5832 i = __strcoll_l(__one, __two, loc);
5833 j = __strcoll_l(__one, __two, loc_dup);
5834 return 0;
5835 }
5836
5837 _ACEOF
5838 rm -f conftest$ac_exeext
5839 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5840 (eval $ac_link) 2>&5
5841 ac_status=$?
5842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5843 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5845 (eval $ac_try) 2>&5
5846 ac_status=$?
5847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5848 (exit $ac_status); }; }; then
5849 enable_clocale_flag=gnu
5850 else
5851 echo "$as_me: program exited with status $ac_status" >&5
5852 echo "$as_me: failed program was:" >&5
5853 sed 's/^/| /' conftest.$ac_ext >&5
5854
5855 ( exit $ac_status )
5856 enable_clocale_flag=generic
5857 fi
5858 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5859 fi
5860 fi
5861
5862 # ... at some point put __strxfrm_l tests in as well.
5863 ;;
5864 darwin* | freebsd*)
5865 enable_clocale_flag=darwin
5866 ;;
5867 *)
5868 enable_clocale_flag=generic
5869 ;;
5870 esac
5871 fi
5872
5873 # Deal with gettext issues. Default to not using it (=no) until we detect
5874 # support for it later. Let the user turn it off via --e/d, but let that
5875 # default to on for easier handling.
5876 USE_NLS=no
5877 # Check whether --enable-nls or --disable-nls was given.
5878 if test "${enable_nls+set}" = set; then
5879 enableval="$enable_nls"
5880
5881 else
5882 enable_nls=yes
5883 fi;
5884
5885 # Set configure bits for specified locale package
5886 case ${enable_clocale_flag} in
5887 generic)
5888 echo "$as_me:$LINENO: result: generic" >&5
5889 echo "${ECHO_T}generic" >&6
5890
5891 CLOCALE_H=config/locale/generic/c_locale.h
5892 CLOCALE_CC=config/locale/generic/c_locale.cc
5893 CCODECVT_CC=config/locale/generic/codecvt_members.cc
5894 CCOLLATE_CC=config/locale/generic/collate_members.cc
5895 CCTYPE_CC=config/locale/generic/ctype_members.cc
5896 CMESSAGES_H=config/locale/generic/messages_members.h
5897 CMESSAGES_CC=config/locale/generic/messages_members.cc
5898 CMONEY_CC=config/locale/generic/monetary_members.cc
5899 CNUMERIC_CC=config/locale/generic/numeric_members.cc
5900 CTIME_H=config/locale/generic/time_members.h
5901 CTIME_CC=config/locale/generic/time_members.cc
5902 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
5903 ;;
5904 darwin)
5905 echo "$as_me:$LINENO: result: darwin or freebsd" >&5
5906 echo "${ECHO_T}darwin or freebsd" >&6
5907
5908 CLOCALE_H=config/locale/generic/c_locale.h
5909 CLOCALE_CC=config/locale/generic/c_locale.cc
5910 CCODECVT_CC=config/locale/generic/codecvt_members.cc
5911 CCOLLATE_CC=config/locale/generic/collate_members.cc
5912 CCTYPE_CC=config/locale/darwin/ctype_members.cc
5913 CMESSAGES_H=config/locale/generic/messages_members.h
5914 CMESSAGES_CC=config/locale/generic/messages_members.cc
5915 CMONEY_CC=config/locale/generic/monetary_members.cc
5916 CNUMERIC_CC=config/locale/generic/numeric_members.cc
5917 CTIME_H=config/locale/generic/time_members.h
5918 CTIME_CC=config/locale/generic/time_members.cc
5919 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
5920 ;;
5921
5922 gnu)
5923 echo "$as_me:$LINENO: result: gnu" >&5
5924 echo "${ECHO_T}gnu" >&6
5925
5926 # Declare intention to use gettext, and add support for specific
5927 # languages.
5928 # For some reason, ALL_LINGUAS has to be before AM-GNU-GETTEXT
5929 ALL_LINGUAS="de fr"
5930
5931 # Don't call AM-GNU-GETTEXT here. Instead, assume glibc.
5932 # Extract the first word of "msgfmt", so it can be a program name with args.
5933 set dummy msgfmt; ac_word=$2
5934 echo "$as_me:$LINENO: checking for $ac_word" >&5
5935 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5936 if test "${ac_cv_prog_check_msgfmt+set}" = set; then
5937 echo $ECHO_N "(cached) $ECHO_C" >&6
5938 else
5939 if test -n "$check_msgfmt"; then
5940 ac_cv_prog_check_msgfmt="$check_msgfmt" # Let the user override the test.
5941 else
5942 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5943 for as_dir in $PATH
5944 do
5945 IFS=$as_save_IFS
5946 test -z "$as_dir" && as_dir=.
5947 for ac_exec_ext in '' $ac_executable_extensions; do
5948 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5949 ac_cv_prog_check_msgfmt="yes"
5950 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5951 break 2
5952 fi
5953 done
5954 done
5955
5956 test -z "$ac_cv_prog_check_msgfmt" && ac_cv_prog_check_msgfmt="no"
5957 fi
5958 fi
5959 check_msgfmt=$ac_cv_prog_check_msgfmt
5960 if test -n "$check_msgfmt"; then
5961 echo "$as_me:$LINENO: result: $check_msgfmt" >&5
5962 echo "${ECHO_T}$check_msgfmt" >&6
5963 else
5964 echo "$as_me:$LINENO: result: no" >&5
5965 echo "${ECHO_T}no" >&6
5966 fi
5967
5968 if test x"$check_msgfmt" = x"yes" && test x"$enable_nls" = x"yes"; then
5969 USE_NLS=yes
5970 fi
5971 # Export the build objects.
5972 for ling in $ALL_LINGUAS; do \
5973 glibcxx_MOFILES="$glibcxx_MOFILES $ling.mo"; \
5974 glibcxx_POFILES="$glibcxx_POFILES $ling.po"; \
5975 done
5976
5977
5978
5979 CLOCALE_H=config/locale/gnu/c_locale.h
5980 CLOCALE_CC=config/locale/gnu/c_locale.cc
5981 CCODECVT_CC=config/locale/gnu/codecvt_members.cc
5982 CCOLLATE_CC=config/locale/gnu/collate_members.cc
5983 CCTYPE_CC=config/locale/gnu/ctype_members.cc
5984 CMESSAGES_H=config/locale/gnu/messages_members.h
5985 CMESSAGES_CC=config/locale/gnu/messages_members.cc
5986 CMONEY_CC=config/locale/gnu/monetary_members.cc
5987 CNUMERIC_CC=config/locale/gnu/numeric_members.cc
5988 CTIME_H=config/locale/gnu/time_members.h
5989 CTIME_CC=config/locale/gnu/time_members.cc
5990 CLOCALE_INTERNAL_H=config/locale/gnu/c++locale_internal.h
5991 ;;
5992 ieee_1003.1-2001)
5993 echo "$as_me:$LINENO: result: IEEE 1003.1" >&5
5994 echo "${ECHO_T}IEEE 1003.1" >&6
5995
5996 CLOCALE_H=config/locale/ieee_1003.1-2001/c_locale.h
5997 CLOCALE_CC=config/locale/ieee_1003.1-2001/c_locale.cc
5998 CCODECVT_CC=config/locale/generic/codecvt_members.cc
5999 CCOLLATE_CC=config/locale/generic/collate_members.cc
6000 CCTYPE_CC=config/locale/generic/ctype_members.cc
6001 CMESSAGES_H=config/locale/ieee_1003.1-2001/messages_members.h
6002 CMESSAGES_CC=config/locale/ieee_1003.1-2001/messages_members.cc
6003 CMONEY_CC=config/locale/generic/monetary_members.cc
6004 CNUMERIC_CC=config/locale/generic/numeric_members.cc
6005 CTIME_H=config/locale/generic/time_members.h
6006 CTIME_CC=config/locale/generic/time_members.cc
6007 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
6008 ;;
6009 esac
6010
6011 # This is where the testsuite looks for locale catalogs, using the
6012 # -DLOCALEDIR define during testsuite compilation.
6013 glibcxx_localedir=${glibcxx_builddir}/po/share/locale
6014
6015
6016 # A standalone libintl (e.g., GNU libintl) may be in use.
6017 if test $USE_NLS = yes; then
6018
6019 for ac_header in libintl.h
6020 do
6021 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6022 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6023 echo "$as_me:$LINENO: checking for $ac_header" >&5
6024 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6025 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6026 echo $ECHO_N "(cached) $ECHO_C" >&6
6027 fi
6028 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6029 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6030 else
6031 # Is the header compilable?
6032 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6033 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6034 cat >conftest.$ac_ext <<_ACEOF
6035 /* confdefs.h. */
6036 _ACEOF
6037 cat confdefs.h >>conftest.$ac_ext
6038 cat >>conftest.$ac_ext <<_ACEOF
6039 /* end confdefs.h. */
6040 $ac_includes_default
6041 #include <$ac_header>
6042 _ACEOF
6043 rm -f conftest.$ac_objext
6044 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6045 (eval $ac_compile) 2>conftest.er1
6046 ac_status=$?
6047 grep -v '^ *+' conftest.er1 >conftest.err
6048 rm -f conftest.er1
6049 cat conftest.err >&5
6050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6051 (exit $ac_status); } &&
6052 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6054 (eval $ac_try) 2>&5
6055 ac_status=$?
6056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6057 (exit $ac_status); }; } &&
6058 { ac_try='test -s conftest.$ac_objext'
6059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6060 (eval $ac_try) 2>&5
6061 ac_status=$?
6062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6063 (exit $ac_status); }; }; then
6064 ac_header_compiler=yes
6065 else
6066 echo "$as_me: failed program was:" >&5
6067 sed 's/^/| /' conftest.$ac_ext >&5
6068
6069 ac_header_compiler=no
6070 fi
6071 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6072 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6073 echo "${ECHO_T}$ac_header_compiler" >&6
6074
6075 # Is the header present?
6076 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6077 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6078 cat >conftest.$ac_ext <<_ACEOF
6079 /* confdefs.h. */
6080 _ACEOF
6081 cat confdefs.h >>conftest.$ac_ext
6082 cat >>conftest.$ac_ext <<_ACEOF
6083 /* end confdefs.h. */
6084 #include <$ac_header>
6085 _ACEOF
6086 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6087 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6088 ac_status=$?
6089 grep -v '^ *+' conftest.er1 >conftest.err
6090 rm -f conftest.er1
6091 cat conftest.err >&5
6092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6093 (exit $ac_status); } >/dev/null; then
6094 if test -s conftest.err; then
6095 ac_cpp_err=$ac_c_preproc_warn_flag
6096 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6097 else
6098 ac_cpp_err=
6099 fi
6100 else
6101 ac_cpp_err=yes
6102 fi
6103 if test -z "$ac_cpp_err"; then
6104 ac_header_preproc=yes
6105 else
6106 echo "$as_me: failed program was:" >&5
6107 sed 's/^/| /' conftest.$ac_ext >&5
6108
6109 ac_header_preproc=no
6110 fi
6111 rm -f conftest.err conftest.$ac_ext
6112 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6113 echo "${ECHO_T}$ac_header_preproc" >&6
6114
6115 # So? What about this header?
6116 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6117 yes:no: )
6118 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6119 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6120 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6121 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6122 ac_header_preproc=yes
6123 ;;
6124 no:yes:* )
6125 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6126 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6127 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6128 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6129 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6130 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6131 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6132 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6133 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6134 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6135 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6136 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6137 (
6138 cat <<\_ASBOX
6139 ## ----------------------------------------- ##
6140 ## Report this to the package-unused lists. ##
6141 ## ----------------------------------------- ##
6142 _ASBOX
6143 ) |
6144 sed "s/^/$as_me: WARNING: /" >&2
6145 ;;
6146 esac
6147 echo "$as_me:$LINENO: checking for $ac_header" >&5
6148 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6149 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6150 echo $ECHO_N "(cached) $ECHO_C" >&6
6151 else
6152 eval "$as_ac_Header=\$ac_header_preproc"
6153 fi
6154 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6155 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6156
6157 fi
6158 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6159 cat >>confdefs.h <<_ACEOF
6160 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6161 _ACEOF
6162
6163 else
6164 USE_NLS=no
6165 fi
6166
6167 done
6168
6169 echo "$as_me:$LINENO: checking for library containing gettext" >&5
6170 echo $ECHO_N "checking for library containing gettext... $ECHO_C" >&6
6171 if test "${ac_cv_search_gettext+set}" = set; then
6172 echo $ECHO_N "(cached) $ECHO_C" >&6
6173 else
6174 ac_func_search_save_LIBS=$LIBS
6175 ac_cv_search_gettext=no
6176 if test x$gcc_no_link = xyes; then
6177 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
6178 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
6179 { (exit 1); exit 1; }; }
6180 fi
6181 cat >conftest.$ac_ext <<_ACEOF
6182 /* confdefs.h. */
6183 _ACEOF
6184 cat confdefs.h >>conftest.$ac_ext
6185 cat >>conftest.$ac_ext <<_ACEOF
6186 /* end confdefs.h. */
6187
6188 /* Override any gcc2 internal prototype to avoid an error. */
6189 #ifdef __cplusplus
6190 extern "C"
6191 #endif
6192 /* We use char because int might match the return type of a gcc2
6193 builtin and then its argument prototype would still apply. */
6194 char gettext ();
6195 int
6196 main ()
6197 {
6198 gettext ();
6199 ;
6200 return 0;
6201 }
6202 _ACEOF
6203 rm -f conftest.$ac_objext conftest$ac_exeext
6204 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6205 (eval $ac_link) 2>conftest.er1
6206 ac_status=$?
6207 grep -v '^ *+' conftest.er1 >conftest.err
6208 rm -f conftest.er1
6209 cat conftest.err >&5
6210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6211 (exit $ac_status); } &&
6212 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6214 (eval $ac_try) 2>&5
6215 ac_status=$?
6216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6217 (exit $ac_status); }; } &&
6218 { ac_try='test -s conftest$ac_exeext'
6219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6220 (eval $ac_try) 2>&5
6221 ac_status=$?
6222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6223 (exit $ac_status); }; }; then
6224 ac_cv_search_gettext="none required"
6225 else
6226 echo "$as_me: failed program was:" >&5
6227 sed 's/^/| /' conftest.$ac_ext >&5
6228
6229 fi
6230 rm -f conftest.err conftest.$ac_objext \
6231 conftest$ac_exeext conftest.$ac_ext
6232 if test "$ac_cv_search_gettext" = no; then
6233 for ac_lib in intl; do
6234 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
6235 if test x$gcc_no_link = xyes; then
6236 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
6237 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
6238 { (exit 1); exit 1; }; }
6239 fi
6240 cat >conftest.$ac_ext <<_ACEOF
6241 /* confdefs.h. */
6242 _ACEOF
6243 cat confdefs.h >>conftest.$ac_ext
6244 cat >>conftest.$ac_ext <<_ACEOF
6245 /* end confdefs.h. */
6246
6247 /* Override any gcc2 internal prototype to avoid an error. */
6248 #ifdef __cplusplus
6249 extern "C"
6250 #endif
6251 /* We use char because int might match the return type of a gcc2
6252 builtin and then its argument prototype would still apply. */
6253 char gettext ();
6254 int
6255 main ()
6256 {
6257 gettext ();
6258 ;
6259 return 0;
6260 }
6261 _ACEOF
6262 rm -f conftest.$ac_objext conftest$ac_exeext
6263 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6264 (eval $ac_link) 2>conftest.er1
6265 ac_status=$?
6266 grep -v '^ *+' conftest.er1 >conftest.err
6267 rm -f conftest.er1
6268 cat conftest.err >&5
6269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6270 (exit $ac_status); } &&
6271 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6273 (eval $ac_try) 2>&5
6274 ac_status=$?
6275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6276 (exit $ac_status); }; } &&
6277 { ac_try='test -s conftest$ac_exeext'
6278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6279 (eval $ac_try) 2>&5
6280 ac_status=$?
6281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6282 (exit $ac_status); }; }; then
6283 ac_cv_search_gettext="-l$ac_lib"
6284 break
6285 else
6286 echo "$as_me: failed program was:" >&5
6287 sed 's/^/| /' conftest.$ac_ext >&5
6288
6289 fi
6290 rm -f conftest.err conftest.$ac_objext \
6291 conftest$ac_exeext conftest.$ac_ext
6292 done
6293 fi
6294 LIBS=$ac_func_search_save_LIBS
6295 fi
6296 echo "$as_me:$LINENO: result: $ac_cv_search_gettext" >&5
6297 echo "${ECHO_T}$ac_cv_search_gettext" >&6
6298 if test "$ac_cv_search_gettext" != no; then
6299 test "$ac_cv_search_gettext" = "none required" || LIBS="$ac_cv_search_gettext $LIBS"
6300
6301 else
6302 USE_NLS=no
6303 fi
6304
6305 fi
6306 if test $USE_NLS = yes; then
6307
6308 cat >>confdefs.h <<\_ACEOF
6309 #define _GLIBCXX_USE_NLS 1
6310 _ACEOF
6311
6312 fi
6313
6314
6315
6316
6317
6318
6319
6320
6321
6322
6323
6324
6325
6326
6327
6328
6329 echo "$as_me:$LINENO: checking for std::allocator base class" >&5
6330 echo $ECHO_N "checking for std::allocator base class... $ECHO_C" >&6
6331 # Check whether --enable-libstdcxx-allocator or --disable-libstdcxx-allocator was given.
6332 if test "${enable_libstdcxx_allocator+set}" = set; then
6333 enableval="$enable_libstdcxx_allocator"
6334
6335 case "$enableval" in
6336 new|malloc|mt|bitmap|pool|yes|no|auto) ;;
6337 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable libstdcxx-allocator" >&5
6338 echo "$as_me: error: Unknown argument to enable/disable libstdcxx-allocator" >&2;}
6339 { (exit 1); exit 1; }; } ;;
6340 esac
6341
6342 else
6343 enable_libstdcxx_allocator=auto
6344 fi;
6345
6346
6347 # If they didn't use this option switch, or if they specified --enable
6348 # with no specific model, we'll have to look for one. If they
6349 # specified --disable (???), do likewise.
6350 if test $enable_libstdcxx_allocator = no ||
6351 test $enable_libstdcxx_allocator = yes;
6352 then
6353 enable_libstdcxx_allocator=auto
6354 fi
6355
6356 # Either a known package, or "auto". Auto implies the default choice
6357 # for a particular platform.
6358 enable_libstdcxx_allocator_flag=$enable_libstdcxx_allocator
6359
6360 # Probe for host-specific support if no specific model is specified.
6361 # Default to "new".
6362 if test $enable_libstdcxx_allocator_flag = auto; then
6363 case ${target_os} in
6364 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
6365 enable_libstdcxx_allocator_flag=new
6366 ;;
6367 *)
6368 enable_libstdcxx_allocator_flag=new
6369 ;;
6370 esac
6371 fi
6372 echo "$as_me:$LINENO: result: $enable_libstdcxx_allocator_flag" >&5
6373 echo "${ECHO_T}$enable_libstdcxx_allocator_flag" >&6
6374
6375
6376 # Set configure bits for specified locale package
6377 case ${enable_libstdcxx_allocator_flag} in
6378 bitmap)
6379 ALLOCATOR_H=config/allocator/bitmap_allocator_base.h
6380 ALLOCATOR_NAME=__gnu_cxx::bitmap_allocator
6381 ;;
6382 malloc)
6383 ALLOCATOR_H=config/allocator/malloc_allocator_base.h
6384 ALLOCATOR_NAME=__gnu_cxx::malloc_allocator
6385 ;;
6386 mt)
6387 ALLOCATOR_H=config/allocator/mt_allocator_base.h
6388 ALLOCATOR_NAME=__gnu_cxx::__mt_alloc
6389 ;;
6390 new)
6391 ALLOCATOR_H=config/allocator/new_allocator_base.h
6392 ALLOCATOR_NAME=__gnu_cxx::new_allocator
6393 ;;
6394 pool)
6395 ALLOCATOR_H=config/allocator/pool_allocator_base.h
6396 ALLOCATOR_NAME=__gnu_cxx::__pool_alloc
6397 ;;
6398 esac
6399
6400
6401
6402
6403
6404 # Check whether --enable-cheaders or --disable-cheaders was given.
6405 if test "${enable_cheaders+set}" = set; then
6406 enableval="$enable_cheaders"
6407
6408 case "$enableval" in
6409 c|c_std) ;;
6410 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable cheaders" >&5
6411 echo "$as_me: error: Unknown argument to enable/disable cheaders" >&2;}
6412 { (exit 1); exit 1; }; } ;;
6413 esac
6414
6415 else
6416 enable_cheaders=$c_model
6417 fi;
6418
6419 { echo "$as_me:$LINENO: \"C\" header strategy set to $enable_cheaders" >&5
6420 echo "$as_me: \"C\" header strategy set to $enable_cheaders" >&6;}
6421
6422 C_INCLUDE_DIR='${glibcxx_srcdir}/include/'$enable_cheaders
6423
6424
6425
6426
6427
6428
6429 # Check whether --enable-long-long or --disable-long-long was given.
6430 if test "${enable_long_long+set}" = set; then
6431 enableval="$enable_long_long"
6432
6433 case "$enableval" in
6434 yes|no) ;;
6435 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable long-long must be yes or no" >&5
6436 echo "$as_me: error: Argument to enable/disable long-long must be yes or no" >&2;}
6437 { (exit 1); exit 1; }; } ;;
6438 esac
6439
6440 else
6441 enable_long_long=yes
6442 fi;
6443
6444 if test $enable_long_long = yes; then
6445
6446 cat >>confdefs.h <<\_ACEOF
6447 #define _GLIBCXX_USE_LONG_LONG 1
6448 _ACEOF
6449
6450 fi
6451 echo "$as_me:$LINENO: checking for enabled long long specializations" >&5
6452 echo $ECHO_N "checking for enabled long long specializations... $ECHO_C" >&6
6453 echo "$as_me:$LINENO: result: $enable_long_long" >&5
6454 echo "${ECHO_T}$enable_long_long" >&6
6455
6456
6457
6458 # Check whether --enable-wchar_t or --disable-wchar_t was given.
6459 if test "${enable_wchar_t+set}" = set; then
6460 enableval="$enable_wchar_t"
6461
6462 case "$enableval" in
6463 yes|no) ;;
6464 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable wchar_t must be yes or no" >&5
6465 echo "$as_me: error: Argument to enable/disable wchar_t must be yes or no" >&2;}
6466 { (exit 1); exit 1; }; } ;;
6467 esac
6468
6469 else
6470 enable_wchar_t=yes
6471 fi;
6472
6473
6474 # Test wchar.h for mbstate_t, which is needed for char_traits and fpos.
6475
6476 for ac_header in wchar.h
6477 do
6478 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6479 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6480 echo "$as_me:$LINENO: checking for $ac_header" >&5
6481 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6482 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6483 echo $ECHO_N "(cached) $ECHO_C" >&6
6484 fi
6485 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6486 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6487 else
6488 # Is the header compilable?
6489 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6490 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6491 cat >conftest.$ac_ext <<_ACEOF
6492 /* confdefs.h. */
6493 _ACEOF
6494 cat confdefs.h >>conftest.$ac_ext
6495 cat >>conftest.$ac_ext <<_ACEOF
6496 /* end confdefs.h. */
6497 $ac_includes_default
6498 #include <$ac_header>
6499 _ACEOF
6500 rm -f conftest.$ac_objext
6501 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6502 (eval $ac_compile) 2>conftest.er1
6503 ac_status=$?
6504 grep -v '^ *+' conftest.er1 >conftest.err
6505 rm -f conftest.er1
6506 cat conftest.err >&5
6507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6508 (exit $ac_status); } &&
6509 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6511 (eval $ac_try) 2>&5
6512 ac_status=$?
6513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6514 (exit $ac_status); }; } &&
6515 { ac_try='test -s conftest.$ac_objext'
6516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6517 (eval $ac_try) 2>&5
6518 ac_status=$?
6519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6520 (exit $ac_status); }; }; then
6521 ac_header_compiler=yes
6522 else
6523 echo "$as_me: failed program was:" >&5
6524 sed 's/^/| /' conftest.$ac_ext >&5
6525
6526 ac_header_compiler=no
6527 fi
6528 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6529 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6530 echo "${ECHO_T}$ac_header_compiler" >&6
6531
6532 # Is the header present?
6533 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6534 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6535 cat >conftest.$ac_ext <<_ACEOF
6536 /* confdefs.h. */
6537 _ACEOF
6538 cat confdefs.h >>conftest.$ac_ext
6539 cat >>conftest.$ac_ext <<_ACEOF
6540 /* end confdefs.h. */
6541 #include <$ac_header>
6542 _ACEOF
6543 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6544 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6545 ac_status=$?
6546 grep -v '^ *+' conftest.er1 >conftest.err
6547 rm -f conftest.er1
6548 cat conftest.err >&5
6549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6550 (exit $ac_status); } >/dev/null; then
6551 if test -s conftest.err; then
6552 ac_cpp_err=$ac_c_preproc_warn_flag
6553 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6554 else
6555 ac_cpp_err=
6556 fi
6557 else
6558 ac_cpp_err=yes
6559 fi
6560 if test -z "$ac_cpp_err"; then
6561 ac_header_preproc=yes
6562 else
6563 echo "$as_me: failed program was:" >&5
6564 sed 's/^/| /' conftest.$ac_ext >&5
6565
6566 ac_header_preproc=no
6567 fi
6568 rm -f conftest.err conftest.$ac_ext
6569 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6570 echo "${ECHO_T}$ac_header_preproc" >&6
6571
6572 # So? What about this header?
6573 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6574 yes:no: )
6575 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6576 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6577 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6578 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6579 ac_header_preproc=yes
6580 ;;
6581 no:yes:* )
6582 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6583 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6584 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6585 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6586 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6587 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6588 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6589 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6590 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6591 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6592 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6593 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6594 (
6595 cat <<\_ASBOX
6596 ## ----------------------------------------- ##
6597 ## Report this to the package-unused lists. ##
6598 ## ----------------------------------------- ##
6599 _ASBOX
6600 ) |
6601 sed "s/^/$as_me: WARNING: /" >&2
6602 ;;
6603 esac
6604 echo "$as_me:$LINENO: checking for $ac_header" >&5
6605 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6606 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6607 echo $ECHO_N "(cached) $ECHO_C" >&6
6608 else
6609 eval "$as_ac_Header=\$ac_header_preproc"
6610 fi
6611 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6612 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6613
6614 fi
6615 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6616 cat >>confdefs.h <<_ACEOF
6617 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6618 _ACEOF
6619 ac_has_wchar_h=yes
6620 else
6621 ac_has_wchar_h=no
6622 fi
6623
6624 done
6625
6626 echo "$as_me:$LINENO: checking for mbstate_t" >&5
6627 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
6628 cat >conftest.$ac_ext <<_ACEOF
6629 /* confdefs.h. */
6630 _ACEOF
6631 cat confdefs.h >>conftest.$ac_ext
6632 cat >>conftest.$ac_ext <<_ACEOF
6633 /* end confdefs.h. */
6634 #include <wchar.h>
6635 int
6636 main ()
6637 {
6638 mbstate_t teststate;
6639 ;
6640 return 0;
6641 }
6642 _ACEOF
6643 rm -f conftest.$ac_objext
6644 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6645 (eval $ac_compile) 2>conftest.er1
6646 ac_status=$?
6647 grep -v '^ *+' conftest.er1 >conftest.err
6648 rm -f conftest.er1
6649 cat conftest.err >&5
6650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6651 (exit $ac_status); } &&
6652 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6654 (eval $ac_try) 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
6664 have_mbstate_t=yes
6665 else
6666 echo "$as_me: failed program was:" >&5
6667 sed 's/^/| /' conftest.$ac_ext >&5
6668
6669 have_mbstate_t=no
6670 fi
6671 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6672 echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
6673 echo "${ECHO_T}$have_mbstate_t" >&6
6674 if test x"$have_mbstate_t" = xyes; then
6675
6676 cat >>confdefs.h <<\_ACEOF
6677 #define HAVE_MBSTATE_T 1
6678 _ACEOF
6679
6680 fi
6681
6682 # Test it always, for use in GLIBCXX_ENABLE_C99, together with
6683 # ac_has_wchar_h.
6684
6685 for ac_header in wctype.h
6686 do
6687 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6688 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6689 echo "$as_me:$LINENO: checking for $ac_header" >&5
6690 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6691 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6692 echo $ECHO_N "(cached) $ECHO_C" >&6
6693 fi
6694 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6695 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6696 else
6697 # Is the header compilable?
6698 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6699 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6700 cat >conftest.$ac_ext <<_ACEOF
6701 /* confdefs.h. */
6702 _ACEOF
6703 cat confdefs.h >>conftest.$ac_ext
6704 cat >>conftest.$ac_ext <<_ACEOF
6705 /* end confdefs.h. */
6706 $ac_includes_default
6707 #include <$ac_header>
6708 _ACEOF
6709 rm -f conftest.$ac_objext
6710 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6711 (eval $ac_compile) 2>conftest.er1
6712 ac_status=$?
6713 grep -v '^ *+' conftest.er1 >conftest.err
6714 rm -f conftest.er1
6715 cat conftest.err >&5
6716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6717 (exit $ac_status); } &&
6718 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6720 (eval $ac_try) 2>&5
6721 ac_status=$?
6722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6723 (exit $ac_status); }; } &&
6724 { ac_try='test -s conftest.$ac_objext'
6725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6726 (eval $ac_try) 2>&5
6727 ac_status=$?
6728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6729 (exit $ac_status); }; }; then
6730 ac_header_compiler=yes
6731 else
6732 echo "$as_me: failed program was:" >&5
6733 sed 's/^/| /' conftest.$ac_ext >&5
6734
6735 ac_header_compiler=no
6736 fi
6737 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6738 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6739 echo "${ECHO_T}$ac_header_compiler" >&6
6740
6741 # Is the header present?
6742 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6743 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6744 cat >conftest.$ac_ext <<_ACEOF
6745 /* confdefs.h. */
6746 _ACEOF
6747 cat confdefs.h >>conftest.$ac_ext
6748 cat >>conftest.$ac_ext <<_ACEOF
6749 /* end confdefs.h. */
6750 #include <$ac_header>
6751 _ACEOF
6752 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6753 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6754 ac_status=$?
6755 grep -v '^ *+' conftest.er1 >conftest.err
6756 rm -f conftest.er1
6757 cat conftest.err >&5
6758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6759 (exit $ac_status); } >/dev/null; then
6760 if test -s conftest.err; then
6761 ac_cpp_err=$ac_c_preproc_warn_flag
6762 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6763 else
6764 ac_cpp_err=
6765 fi
6766 else
6767 ac_cpp_err=yes
6768 fi
6769 if test -z "$ac_cpp_err"; then
6770 ac_header_preproc=yes
6771 else
6772 echo "$as_me: failed program was:" >&5
6773 sed 's/^/| /' conftest.$ac_ext >&5
6774
6775 ac_header_preproc=no
6776 fi
6777 rm -f conftest.err conftest.$ac_ext
6778 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6779 echo "${ECHO_T}$ac_header_preproc" >&6
6780
6781 # So? What about this header?
6782 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6783 yes:no: )
6784 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6785 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6786 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6787 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6788 ac_header_preproc=yes
6789 ;;
6790 no:yes:* )
6791 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6792 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6793 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6794 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6795 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6796 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6797 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6798 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6799 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6800 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6801 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6802 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6803 (
6804 cat <<\_ASBOX
6805 ## ----------------------------------------- ##
6806 ## Report this to the package-unused lists. ##
6807 ## ----------------------------------------- ##
6808 _ASBOX
6809 ) |
6810 sed "s/^/$as_me: WARNING: /" >&2
6811 ;;
6812 esac
6813 echo "$as_me:$LINENO: checking for $ac_header" >&5
6814 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6815 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6816 echo $ECHO_N "(cached) $ECHO_C" >&6
6817 else
6818 eval "$as_ac_Header=\$ac_header_preproc"
6819 fi
6820 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6821 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6822
6823 fi
6824 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6825 cat >>confdefs.h <<_ACEOF
6826 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6827 _ACEOF
6828 ac_has_wctype_h=yes
6829 else
6830 ac_has_wctype_h=no
6831 fi
6832
6833 done
6834
6835
6836 if test x"$enable_wchar_t" = x"yes"; then
6837
6838
6839
6840 ac_ext=cc
6841 ac_cpp='$CXXCPP $CPPFLAGS'
6842 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6843 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6844 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6845
6846
6847 if test x"$ac_has_wchar_h" = xyes &&
6848 test x"$ac_has_wctype_h" = xyes; then
6849 cat >conftest.$ac_ext <<_ACEOF
6850 /* confdefs.h. */
6851 _ACEOF
6852 cat confdefs.h >>conftest.$ac_ext
6853 cat >>conftest.$ac_ext <<_ACEOF
6854 /* end confdefs.h. */
6855 #include <wchar.h>
6856 #include <stddef.h>
6857 wint_t i;
6858 long l = WEOF;
6859 long j = WCHAR_MIN;
6860 long k = WCHAR_MAX;
6861 namespace test
6862 {
6863 using ::btowc;
6864 using ::fgetwc;
6865 using ::fgetws;
6866 using ::fputwc;
6867 using ::fputws;
6868 using ::fwide;
6869 using ::fwprintf;
6870 using ::fwscanf;
6871 using ::getwc;
6872 using ::getwchar;
6873 using ::mbrlen;
6874 using ::mbrtowc;
6875 using ::mbsinit;
6876 using ::mbsrtowcs;
6877 using ::putwc;
6878 using ::putwchar;
6879 using ::swprintf;
6880 using ::swscanf;
6881 using ::ungetwc;
6882 using ::vfwprintf;
6883 using ::vswprintf;
6884 using ::vwprintf;
6885 using ::wcrtomb;
6886 using ::wcscat;
6887 using ::wcschr;
6888 using ::wcscmp;
6889 using ::wcscoll;
6890 using ::wcscpy;
6891 using ::wcscspn;
6892 using ::wcsftime;
6893 using ::wcslen;
6894 using ::wcsncat;
6895 using ::wcsncmp;
6896 using ::wcsncpy;
6897 using ::wcspbrk;
6898 using ::wcsrchr;
6899 using ::wcsrtombs;
6900 using ::wcsspn;
6901 using ::wcsstr;
6902 using ::wcstod;
6903 using ::wcstok;
6904 using ::wcstol;
6905 using ::wcstoul;
6906 using ::wcsxfrm;
6907 using ::wctob;
6908 using ::wmemchr;
6909 using ::wmemcmp;
6910 using ::wmemcpy;
6911 using ::wmemmove;
6912 using ::wmemset;
6913 using ::wprintf;
6914 using ::wscanf;
6915 }
6916
6917 int
6918 main ()
6919 {
6920
6921 ;
6922 return 0;
6923 }
6924 _ACEOF
6925 rm -f conftest.$ac_objext
6926 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6927 (eval $ac_compile) 2>conftest.er1
6928 ac_status=$?
6929 grep -v '^ *+' conftest.er1 >conftest.err
6930 rm -f conftest.er1
6931 cat conftest.err >&5
6932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6933 (exit $ac_status); } &&
6934 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
6935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6936 (eval $ac_try) 2>&5
6937 ac_status=$?
6938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6939 (exit $ac_status); }; } &&
6940 { ac_try='test -s conftest.$ac_objext'
6941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6942 (eval $ac_try) 2>&5
6943 ac_status=$?
6944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6945 (exit $ac_status); }; }; then
6946 :
6947 else
6948 echo "$as_me: failed program was:" >&5
6949 sed 's/^/| /' conftest.$ac_ext >&5
6950
6951 enable_wchar_t=no
6952 fi
6953 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6954 else
6955 enable_wchar_t=no
6956 fi
6957
6958 ac_ext=c
6959 ac_cpp='$CPP $CPPFLAGS'
6960 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6961 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6962 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6963
6964 fi
6965
6966 if test x"$enable_wchar_t" = x"yes"; then
6967
6968 cat >>confdefs.h <<\_ACEOF
6969 #define _GLIBCXX_USE_WCHAR_T 1
6970 _ACEOF
6971
6972 fi
6973
6974 echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
6975 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
6976 echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
6977 echo "${ECHO_T}$enable_wchar_t" >&6
6978
6979
6980
6981 # Check whether --enable-c99 or --disable-c99 was given.
6982 if test "${enable_c99+set}" = set; then
6983 enableval="$enable_c99"
6984
6985 case "$enableval" in
6986 yes|no) ;;
6987 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable c99 must be yes or no" >&5
6988 echo "$as_me: error: Argument to enable/disable c99 must be yes or no" >&2;}
6989 { (exit 1); exit 1; }; } ;;
6990 esac
6991
6992 else
6993 enable_c99=yes
6994 fi;
6995
6996
6997 if test x"$enable_c99" = x"yes"; then
6998
6999
7000
7001 ac_ext=cc
7002 ac_cpp='$CXXCPP $CPPFLAGS'
7003 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7004 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7005 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
7006
7007
7008 # Check for the existence of <math.h> functions used if C99 is enabled.
7009 echo "$as_me:$LINENO: checking for ISO C99 support in <math.h>" >&5
7010 echo $ECHO_N "checking for ISO C99 support in <math.h>... $ECHO_C" >&6
7011 if test "${ac_c99_math+set}" = set; then
7012 echo $ECHO_N "(cached) $ECHO_C" >&6
7013 else
7014
7015 cat >conftest.$ac_ext <<_ACEOF
7016 /* confdefs.h. */
7017 _ACEOF
7018 cat confdefs.h >>conftest.$ac_ext
7019 cat >>conftest.$ac_ext <<_ACEOF
7020 /* end confdefs.h. */
7021 #include <math.h>
7022 int
7023 main ()
7024 {
7025 fpclassify(0.0);
7026 isfinite(0.0);
7027 isinf(0.0);
7028 isnan(0.0);
7029 isnormal(0.0);
7030 signbit(0.0);
7031 isgreater(0.0,0.0);
7032 isgreaterequal(0.0,0.0);
7033 isless(0.0,0.0);
7034 islessequal(0.0,0.0);
7035 islessgreater(0.0,0.0);
7036 islessgreater(0.0,0.0);
7037 isunordered(0.0,0.0);
7038
7039 ;
7040 return 0;
7041 }
7042 _ACEOF
7043 rm -f conftest.$ac_objext
7044 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7045 (eval $ac_compile) 2>conftest.er1
7046 ac_status=$?
7047 grep -v '^ *+' conftest.er1 >conftest.err
7048 rm -f conftest.er1
7049 cat conftest.err >&5
7050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7051 (exit $ac_status); } &&
7052 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
7053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7054 (eval $ac_try) 2>&5
7055 ac_status=$?
7056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7057 (exit $ac_status); }; } &&
7058 { ac_try='test -s conftest.$ac_objext'
7059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7060 (eval $ac_try) 2>&5
7061 ac_status=$?
7062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7063 (exit $ac_status); }; }; then
7064 ac_c99_math=yes
7065 else
7066 echo "$as_me: failed program was:" >&5
7067 sed 's/^/| /' conftest.$ac_ext >&5
7068
7069 ac_c99_math=no
7070 fi
7071 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7072
7073 fi
7074
7075 echo "$as_me:$LINENO: result: $ac_c99_math" >&5
7076 echo "${ECHO_T}$ac_c99_math" >&6
7077 if test x"$ac_c99_math" = x"yes"; then
7078
7079 cat >>confdefs.h <<\_ACEOF
7080 #define _GLIBCXX_USE_C99_MATH 1
7081 _ACEOF
7082
7083 fi
7084
7085 # Check for the existence of <complex.h> complex math functions.
7086 # This is necessary even though libstdc++ uses the builtin versions
7087 # of these functions, because if the builtin cannot be used, a reference
7088 # to the library function is emitted.
7089
7090 for ac_header in complex.h
7091 do
7092 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7093 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7094 echo "$as_me:$LINENO: checking for $ac_header" >&5
7095 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7096 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7097 echo $ECHO_N "(cached) $ECHO_C" >&6
7098 fi
7099 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7100 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7101 else
7102 # Is the header compilable?
7103 echo "$as_me:$LINENO: checking $ac_header usability" >&5
7104 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7105 cat >conftest.$ac_ext <<_ACEOF
7106 /* confdefs.h. */
7107 _ACEOF
7108 cat confdefs.h >>conftest.$ac_ext
7109 cat >>conftest.$ac_ext <<_ACEOF
7110 /* end confdefs.h. */
7111 $ac_includes_default
7112 #include <$ac_header>
7113 _ACEOF
7114 rm -f conftest.$ac_objext
7115 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7116 (eval $ac_compile) 2>conftest.er1
7117 ac_status=$?
7118 grep -v '^ *+' conftest.er1 >conftest.err
7119 rm -f conftest.er1
7120 cat conftest.err >&5
7121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7122 (exit $ac_status); } &&
7123 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
7124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7125 (eval $ac_try) 2>&5
7126 ac_status=$?
7127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7128 (exit $ac_status); }; } &&
7129 { ac_try='test -s conftest.$ac_objext'
7130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7131 (eval $ac_try) 2>&5
7132 ac_status=$?
7133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7134 (exit $ac_status); }; }; then
7135 ac_header_compiler=yes
7136 else
7137 echo "$as_me: failed program was:" >&5
7138 sed 's/^/| /' conftest.$ac_ext >&5
7139
7140 ac_header_compiler=no
7141 fi
7142 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7143 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7144 echo "${ECHO_T}$ac_header_compiler" >&6
7145
7146 # Is the header present?
7147 echo "$as_me:$LINENO: checking $ac_header presence" >&5
7148 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7149 cat >conftest.$ac_ext <<_ACEOF
7150 /* confdefs.h. */
7151 _ACEOF
7152 cat confdefs.h >>conftest.$ac_ext
7153 cat >>conftest.$ac_ext <<_ACEOF
7154 /* end confdefs.h. */
7155 #include <$ac_header>
7156 _ACEOF
7157 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7158 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7159 ac_status=$?
7160 grep -v '^ *+' conftest.er1 >conftest.err
7161 rm -f conftest.er1
7162 cat conftest.err >&5
7163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7164 (exit $ac_status); } >/dev/null; then
7165 if test -s conftest.err; then
7166 ac_cpp_err=$ac_cxx_preproc_warn_flag
7167 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
7168 else
7169 ac_cpp_err=
7170 fi
7171 else
7172 ac_cpp_err=yes
7173 fi
7174 if test -z "$ac_cpp_err"; then
7175 ac_header_preproc=yes
7176 else
7177 echo "$as_me: failed program was:" >&5
7178 sed 's/^/| /' conftest.$ac_ext >&5
7179
7180 ac_header_preproc=no
7181 fi
7182 rm -f conftest.err conftest.$ac_ext
7183 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7184 echo "${ECHO_T}$ac_header_preproc" >&6
7185
7186 # So? What about this header?
7187 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
7188 yes:no: )
7189 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7190 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7191 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7192 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7193 ac_header_preproc=yes
7194 ;;
7195 no:yes:* )
7196 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7197 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7198 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7199 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7200 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7201 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7202 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7203 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7204 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7205 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7206 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7207 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7208 (
7209 cat <<\_ASBOX
7210 ## ----------------------------------------- ##
7211 ## Report this to the package-unused lists. ##
7212 ## ----------------------------------------- ##
7213 _ASBOX
7214 ) |
7215 sed "s/^/$as_me: WARNING: /" >&2
7216 ;;
7217 esac
7218 echo "$as_me:$LINENO: checking for $ac_header" >&5
7219 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7220 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7221 echo $ECHO_N "(cached) $ECHO_C" >&6
7222 else
7223 eval "$as_ac_Header=\$ac_header_preproc"
7224 fi
7225 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7226 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7227
7228 fi
7229 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7230 cat >>confdefs.h <<_ACEOF
7231 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7232 _ACEOF
7233 ac_has_complex_h=yes
7234 else
7235 ac_has_complex_h=no
7236 fi
7237
7238 done
7239
7240 ac_c99_complex=no;
7241 if test x"$ac_has_complex_h" = x"yes"; then
7242 echo "$as_me:$LINENO: checking for ISO C99 support in <complex.h>" >&5
7243 echo $ECHO_N "checking for ISO C99 support in <complex.h>... $ECHO_C" >&6
7244 cat >conftest.$ac_ext <<_ACEOF
7245 /* confdefs.h. */
7246 _ACEOF
7247 cat confdefs.h >>conftest.$ac_ext
7248 cat >>conftest.$ac_ext <<_ACEOF
7249 /* end confdefs.h. */
7250 #include <complex.h>
7251 int
7252 main ()
7253 {
7254 typedef __complex__ float float_type; float_type tmpf;
7255 cabsf(tmpf);
7256 cargf(tmpf);
7257 ccosf(tmpf);
7258 ccoshf(tmpf);
7259 cexpf(tmpf);
7260 clogf(tmpf);
7261 csinf(tmpf);
7262 csinhf(tmpf);
7263 csqrtf(tmpf);
7264 ctanf(tmpf);
7265 ctanhf(tmpf);
7266 cpowf(tmpf, tmpf);
7267 typedef __complex__ double double_type; double_type tmpd;
7268 cabs(tmpd);
7269 carg(tmpd);
7270 ccos(tmpd);
7271 ccosh(tmpd);
7272 cexp(tmpd);
7273 clog(tmpd);
7274 csin(tmpd);
7275 csinh(tmpd);
7276 csqrt(tmpd);
7277 ctan(tmpd);
7278 ctanh(tmpd);
7279 cpow(tmpd, tmpd);
7280 typedef __complex__ long double ld_type; ld_type tmpld;
7281 cabsl(tmpld);
7282 cargl(tmpld);
7283 ccosl(tmpld);
7284 ccoshl(tmpld);
7285 cexpl(tmpld);
7286 clogl(tmpld);
7287 csinl(tmpld);
7288 csinhl(tmpld);
7289 csqrtl(tmpld);
7290 ctanl(tmpld);
7291 ctanhl(tmpld);
7292 cpowl(tmpld, tmpld);
7293
7294 ;
7295 return 0;
7296 }
7297 _ACEOF
7298 rm -f conftest.$ac_objext
7299 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7300 (eval $ac_compile) 2>conftest.er1
7301 ac_status=$?
7302 grep -v '^ *+' conftest.er1 >conftest.err
7303 rm -f conftest.er1
7304 cat conftest.err >&5
7305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7306 (exit $ac_status); } &&
7307 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
7308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7309 (eval $ac_try) 2>&5
7310 ac_status=$?
7311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7312 (exit $ac_status); }; } &&
7313 { ac_try='test -s conftest.$ac_objext'
7314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7315 (eval $ac_try) 2>&5
7316 ac_status=$?
7317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7318 (exit $ac_status); }; }; then
7319 ac_c99_complex=yes
7320 else
7321 echo "$as_me: failed program was:" >&5
7322 sed 's/^/| /' conftest.$ac_ext >&5
7323
7324 ac_c99_complex=no
7325 fi
7326 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7327 fi
7328 echo "$as_me:$LINENO: result: $ac_c99_complex" >&5
7329 echo "${ECHO_T}$ac_c99_complex" >&6
7330 if test x"$ac_c99_complex" = x"yes"; then
7331
7332 cat >>confdefs.h <<\_ACEOF
7333 #define _GLIBCXX_USE_C99_COMPLEX 1
7334 _ACEOF
7335
7336 fi
7337
7338 # Check for the existence in <stdio.h> of vscanf, et. al.
7339 echo "$as_me:$LINENO: checking for ISO C99 support in <stdio.h>" >&5
7340 echo $ECHO_N "checking for ISO C99 support in <stdio.h>... $ECHO_C" >&6
7341 if test "${ac_c99_stdio+set}" = set; then
7342 echo $ECHO_N "(cached) $ECHO_C" >&6
7343 else
7344
7345 cat >conftest.$ac_ext <<_ACEOF
7346 /* confdefs.h. */
7347 _ACEOF
7348 cat confdefs.h >>conftest.$ac_ext
7349 cat >>conftest.$ac_ext <<_ACEOF
7350 /* end confdefs.h. */
7351 #include <stdio.h>
7352 #include <stdarg.h>
7353 void foo(char* fmt, ...)
7354 {
7355 va_list args; va_start(args, fmt);
7356 vfscanf(stderr, "%i", args);
7357 vscanf("%i", args);
7358 vsnprintf(fmt, 0, "%i", args);
7359 vsscanf(fmt, "%i", args);
7360 }
7361 int
7362 main ()
7363 {
7364 snprintf("12", 0, "%i");
7365 ;
7366 return 0;
7367 }
7368 _ACEOF
7369 rm -f conftest.$ac_objext
7370 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7371 (eval $ac_compile) 2>conftest.er1
7372 ac_status=$?
7373 grep -v '^ *+' conftest.er1 >conftest.err
7374 rm -f conftest.er1
7375 cat conftest.err >&5
7376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7377 (exit $ac_status); } &&
7378 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
7379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7380 (eval $ac_try) 2>&5
7381 ac_status=$?
7382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7383 (exit $ac_status); }; } &&
7384 { ac_try='test -s conftest.$ac_objext'
7385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7386 (eval $ac_try) 2>&5
7387 ac_status=$?
7388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7389 (exit $ac_status); }; }; then
7390 ac_c99_stdio=yes
7391 else
7392 echo "$as_me: failed program was:" >&5
7393 sed 's/^/| /' conftest.$ac_ext >&5
7394
7395 ac_c99_stdio=no
7396 fi
7397 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7398
7399 fi
7400
7401 echo "$as_me:$LINENO: result: $ac_c99_stdio" >&5
7402 echo "${ECHO_T}$ac_c99_stdio" >&6
7403
7404 # Check for the existence in <stdlib.h> of lldiv_t, et. al.
7405 echo "$as_me:$LINENO: checking for ISO C99 support in <stdlib.h>" >&5
7406 echo $ECHO_N "checking for ISO C99 support in <stdlib.h>... $ECHO_C" >&6
7407 if test "${ac_c99_stdlib+set}" = set; then
7408 echo $ECHO_N "(cached) $ECHO_C" >&6
7409 else
7410
7411 cat >conftest.$ac_ext <<_ACEOF
7412 /* confdefs.h. */
7413 _ACEOF
7414 cat confdefs.h >>conftest.$ac_ext
7415 cat >>conftest.$ac_ext <<_ACEOF
7416 /* end confdefs.h. */
7417 #include <stdlib.h>
7418 int
7419 main ()
7420 {
7421 char* tmp;
7422 strtof("gnu", &tmp);
7423 strtold("gnu", &tmp);
7424 strtoll("gnu", &tmp, 10);
7425 strtoull("gnu", &tmp, 10);
7426 llabs(10);
7427 lldiv(10,1);
7428 atoll("10");
7429 _Exit(0);
7430 lldiv_t mydivt;
7431 ;
7432 return 0;
7433 }
7434 _ACEOF
7435 rm -f conftest.$ac_objext
7436 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7437 (eval $ac_compile) 2>conftest.er1
7438 ac_status=$?
7439 grep -v '^ *+' conftest.er1 >conftest.err
7440 rm -f conftest.er1
7441 cat conftest.err >&5
7442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7443 (exit $ac_status); } &&
7444 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
7445 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7446 (eval $ac_try) 2>&5
7447 ac_status=$?
7448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7449 (exit $ac_status); }; } &&
7450 { ac_try='test -s conftest.$ac_objext'
7451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7452 (eval $ac_try) 2>&5
7453 ac_status=$?
7454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7455 (exit $ac_status); }; }; then
7456 ac_c99_stdlib=yes
7457 else
7458 echo "$as_me: failed program was:" >&5
7459 sed 's/^/| /' conftest.$ac_ext >&5
7460
7461 ac_c99_stdlib=no
7462 fi
7463 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7464
7465 fi
7466
7467 echo "$as_me:$LINENO: result: $ac_c99_stdlib" >&5
7468 echo "${ECHO_T}$ac_c99_stdlib" >&6
7469
7470 # Check for the existence in <wchar.h> of wcstold, etc.
7471 ac_c99_wchar=no;
7472 if test x"$ac_has_wchar_h" = xyes &&
7473 test x"$ac_has_wctype_h" = xyes; then
7474 echo "$as_me:$LINENO: checking for ISO C99 support in <wchar.h>" >&5
7475 echo $ECHO_N "checking for ISO C99 support in <wchar.h>... $ECHO_C" >&6
7476 cat >conftest.$ac_ext <<_ACEOF
7477 /* confdefs.h. */
7478 _ACEOF
7479 cat confdefs.h >>conftest.$ac_ext
7480 cat >>conftest.$ac_ext <<_ACEOF
7481 /* end confdefs.h. */
7482 #include <wchar.h>
7483 namespace test
7484 {
7485 using ::wcstold;
7486 using ::wcstoll;
7487 using ::wcstoull;
7488 }
7489
7490 int
7491 main ()
7492 {
7493
7494 ;
7495 return 0;
7496 }
7497 _ACEOF
7498 rm -f conftest.$ac_objext
7499 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7500 (eval $ac_compile) 2>conftest.er1
7501 ac_status=$?
7502 grep -v '^ *+' conftest.er1 >conftest.err
7503 rm -f conftest.er1
7504 cat conftest.err >&5
7505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7506 (exit $ac_status); } &&
7507 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
7508 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7509 (eval $ac_try) 2>&5
7510 ac_status=$?
7511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7512 (exit $ac_status); }; } &&
7513 { ac_try='test -s conftest.$ac_objext'
7514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7515 (eval $ac_try) 2>&5
7516 ac_status=$?
7517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7518 (exit $ac_status); }; }; then
7519 ac_c99_wchar=yes
7520 else
7521 echo "$as_me: failed program was:" >&5
7522 sed 's/^/| /' conftest.$ac_ext >&5
7523
7524 ac_c99_wchar=no
7525 fi
7526 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7527
7528 # Checks for wide character functions that may not be present.
7529 # Injection of these is wrapped with guard macros.
7530 # NB: only put functions here, instead of immediately above, if
7531 # absolutely necessary.
7532 cat >conftest.$ac_ext <<_ACEOF
7533 /* confdefs.h. */
7534 _ACEOF
7535 cat confdefs.h >>conftest.$ac_ext
7536 cat >>conftest.$ac_ext <<_ACEOF
7537 /* end confdefs.h. */
7538 #include <wchar.h>
7539 namespace test { using ::vfwscanf; }
7540 int
7541 main ()
7542 {
7543
7544 ;
7545 return 0;
7546 }
7547 _ACEOF
7548 rm -f conftest.$ac_objext
7549 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7550 (eval $ac_compile) 2>conftest.er1
7551 ac_status=$?
7552 grep -v '^ *+' conftest.er1 >conftest.err
7553 rm -f conftest.er1
7554 cat conftest.err >&5
7555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7556 (exit $ac_status); } &&
7557 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
7558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7559 (eval $ac_try) 2>&5
7560 ac_status=$?
7561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7562 (exit $ac_status); }; } &&
7563 { ac_try='test -s conftest.$ac_objext'
7564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7565 (eval $ac_try) 2>&5
7566 ac_status=$?
7567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7568 (exit $ac_status); }; }; then
7569
7570 cat >>confdefs.h <<\_ACEOF
7571 #define HAVE_VFWSCANF 1
7572 _ACEOF
7573
7574 else
7575 echo "$as_me: failed program was:" >&5
7576 sed 's/^/| /' conftest.$ac_ext >&5
7577
7578 fi
7579 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7580
7581 cat >conftest.$ac_ext <<_ACEOF
7582 /* confdefs.h. */
7583 _ACEOF
7584 cat confdefs.h >>conftest.$ac_ext
7585 cat >>conftest.$ac_ext <<_ACEOF
7586 /* end confdefs.h. */
7587 #include <wchar.h>
7588 namespace test { using ::vswscanf; }
7589 int
7590 main ()
7591 {
7592
7593 ;
7594 return 0;
7595 }
7596 _ACEOF
7597 rm -f conftest.$ac_objext
7598 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7599 (eval $ac_compile) 2>conftest.er1
7600 ac_status=$?
7601 grep -v '^ *+' conftest.er1 >conftest.err
7602 rm -f conftest.er1
7603 cat conftest.err >&5
7604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7605 (exit $ac_status); } &&
7606 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
7607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7608 (eval $ac_try) 2>&5
7609 ac_status=$?
7610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7611 (exit $ac_status); }; } &&
7612 { ac_try='test -s conftest.$ac_objext'
7613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7614 (eval $ac_try) 2>&5
7615 ac_status=$?
7616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7617 (exit $ac_status); }; }; then
7618
7619 cat >>confdefs.h <<\_ACEOF
7620 #define HAVE_VSWSCANF 1
7621 _ACEOF
7622
7623 else
7624 echo "$as_me: failed program was:" >&5
7625 sed 's/^/| /' conftest.$ac_ext >&5
7626
7627 fi
7628 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7629
7630 cat >conftest.$ac_ext <<_ACEOF
7631 /* confdefs.h. */
7632 _ACEOF
7633 cat confdefs.h >>conftest.$ac_ext
7634 cat >>conftest.$ac_ext <<_ACEOF
7635 /* end confdefs.h. */
7636 #include <wchar.h>
7637 namespace test { using ::vwscanf; }
7638 int
7639 main ()
7640 {
7641
7642 ;
7643 return 0;
7644 }
7645 _ACEOF
7646 rm -f conftest.$ac_objext
7647 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7648 (eval $ac_compile) 2>conftest.er1
7649 ac_status=$?
7650 grep -v '^ *+' conftest.er1 >conftest.err
7651 rm -f conftest.er1
7652 cat conftest.err >&5
7653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7654 (exit $ac_status); } &&
7655 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
7656 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7657 (eval $ac_try) 2>&5
7658 ac_status=$?
7659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7660 (exit $ac_status); }; } &&
7661 { ac_try='test -s conftest.$ac_objext'
7662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7663 (eval $ac_try) 2>&5
7664 ac_status=$?
7665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7666 (exit $ac_status); }; }; then
7667
7668 cat >>confdefs.h <<\_ACEOF
7669 #define HAVE_VWSCANF 1
7670 _ACEOF
7671
7672 else
7673 echo "$as_me: failed program was:" >&5
7674 sed 's/^/| /' conftest.$ac_ext >&5
7675
7676 fi
7677 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7678
7679 cat >conftest.$ac_ext <<_ACEOF
7680 /* confdefs.h. */
7681 _ACEOF
7682 cat confdefs.h >>conftest.$ac_ext
7683 cat >>conftest.$ac_ext <<_ACEOF
7684 /* end confdefs.h. */
7685 #include <wchar.h>
7686 namespace test { using ::wcstof; }
7687 int
7688 main ()
7689 {
7690
7691 ;
7692 return 0;
7693 }
7694 _ACEOF
7695 rm -f conftest.$ac_objext
7696 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7697 (eval $ac_compile) 2>conftest.er1
7698 ac_status=$?
7699 grep -v '^ *+' conftest.er1 >conftest.err
7700 rm -f conftest.er1
7701 cat conftest.err >&5
7702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7703 (exit $ac_status); } &&
7704 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
7705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7706 (eval $ac_try) 2>&5
7707 ac_status=$?
7708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7709 (exit $ac_status); }; } &&
7710 { ac_try='test -s conftest.$ac_objext'
7711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7712 (eval $ac_try) 2>&5
7713 ac_status=$?
7714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7715 (exit $ac_status); }; }; then
7716
7717 cat >>confdefs.h <<\_ACEOF
7718 #define HAVE_WCSTOF 1
7719 _ACEOF
7720
7721 else
7722 echo "$as_me: failed program was:" >&5
7723 sed 's/^/| /' conftest.$ac_ext >&5
7724
7725 fi
7726 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7727
7728 cat >conftest.$ac_ext <<_ACEOF
7729 /* confdefs.h. */
7730 _ACEOF
7731 cat confdefs.h >>conftest.$ac_ext
7732 cat >>conftest.$ac_ext <<_ACEOF
7733 /* end confdefs.h. */
7734 #include <wctype.h>
7735 int
7736 main ()
7737 {
7738 wint_t t; int i = iswblank(t);
7739 ;
7740 return 0;
7741 }
7742 _ACEOF
7743 rm -f conftest.$ac_objext
7744 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7745 (eval $ac_compile) 2>conftest.er1
7746 ac_status=$?
7747 grep -v '^ *+' conftest.er1 >conftest.err
7748 rm -f conftest.er1
7749 cat conftest.err >&5
7750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7751 (exit $ac_status); } &&
7752 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
7753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7754 (eval $ac_try) 2>&5
7755 ac_status=$?
7756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7757 (exit $ac_status); }; } &&
7758 { ac_try='test -s conftest.$ac_objext'
7759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7760 (eval $ac_try) 2>&5
7761 ac_status=$?
7762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7763 (exit $ac_status); }; }; then
7764
7765 cat >>confdefs.h <<\_ACEOF
7766 #define HAVE_ISWBLANK 1
7767 _ACEOF
7768
7769 else
7770 echo "$as_me: failed program was:" >&5
7771 sed 's/^/| /' conftest.$ac_ext >&5
7772
7773 fi
7774 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7775
7776 echo "$as_me:$LINENO: result: $ac_c99_wchar" >&5
7777 echo "${ECHO_T}$ac_c99_wchar" >&6
7778 fi
7779
7780 # Option parsed, now set things appropriately.
7781 if test x"$ac_c99_math" = x"no" ||
7782 test x"$ac_c99_complex" = x"no" ||
7783 test x"$ac_c99_stdio" = x"no" ||
7784 test x"$ac_c99_stdlib" = x"no" ||
7785 test x"$ac_c99_wchar" = x"no"; then
7786 enable_c99=no;
7787 else
7788
7789 cat >>confdefs.h <<\_ACEOF
7790 #define _GLIBCXX_USE_C99 1
7791 _ACEOF
7792
7793 fi
7794
7795 ac_ext=c
7796 ac_cpp='$CPP $CPPFLAGS'
7797 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7798 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7799 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7800
7801 fi
7802
7803 echo "$as_me:$LINENO: checking for fully enabled ISO C99 support" >&5
7804 echo $ECHO_N "checking for fully enabled ISO C99 support... $ECHO_C" >&6
7805 echo "$as_me:$LINENO: result: $enable_c99" >&5
7806 echo "${ECHO_T}$enable_c99" >&6
7807
7808
7809 # Check whether --enable-concept-checks or --disable-concept-checks was given.
7810 if test "${enable_concept_checks+set}" = set; then
7811 enableval="$enable_concept_checks"
7812
7813 case "$enableval" in
7814 yes|no) ;;
7815 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable concept-checks must be yes or no" >&5
7816 echo "$as_me: error: Argument to enable/disable concept-checks must be yes or no" >&2;}
7817 { (exit 1); exit 1; }; } ;;
7818 esac
7819
7820 else
7821 enable_concept_checks=no
7822 fi;
7823
7824 if test $enable_concept_checks = yes; then
7825
7826 cat >>confdefs.h <<\_ACEOF
7827 #define _GLIBCXX_CONCEPT_CHECKS 1
7828 _ACEOF
7829
7830 fi
7831
7832
7833 # Check whether --enable-libstdcxx-debug-flags or --disable-libstdcxx-debug-flags was given.
7834 if test "${enable_libstdcxx_debug_flags+set}" = set; then
7835 enableval="$enable_libstdcxx_debug_flags"
7836 case "x$enable_libstdcxx_debug_flags" in
7837 xno | x) enable_libstdcxx_debug_flags= ;;
7838 x-*) ;;
7839 *) { { echo "$as_me:$LINENO: error: --enable-libstdcxx-debug-flags needs compiler flags as arguments" >&5
7840 echo "$as_me: error: --enable-libstdcxx-debug-flags needs compiler flags as arguments" >&2;}
7841 { (exit 1); exit 1; }; } ;;
7842 esac
7843 else
7844 enable_libstdcxx_debug_flags="-g3 -O0"
7845 fi;
7846
7847
7848 # Option parsed, now set things appropriately
7849 DEBUG_FLAGS="$enable_libstdcxx_debug_flags"
7850
7851
7852 { echo "$as_me:$LINENO: Debug build flags set to $DEBUG_FLAGS" >&5
7853 echo "$as_me: Debug build flags set to $DEBUG_FLAGS" >&6;}
7854
7855
7856 echo "$as_me:$LINENO: checking for additional debug build" >&5
7857 echo $ECHO_N "checking for additional debug build... $ECHO_C" >&6
7858 # Check whether --enable-libstdcxx-debug or --disable-libstdcxx-debug was given.
7859 if test "${enable_libstdcxx_debug+set}" = set; then
7860 enableval="$enable_libstdcxx_debug"
7861
7862 case "$enableval" in
7863 yes|no) ;;
7864 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable libstdcxx-debug must be yes or no" >&5
7865 echo "$as_me: error: Argument to enable/disable libstdcxx-debug must be yes or no" >&2;}
7866 { (exit 1); exit 1; }; } ;;
7867 esac
7868
7869 else
7870 enable_libstdcxx_debug=no
7871 fi;
7872
7873 echo "$as_me:$LINENO: result: $enable_libstdcxx_debug" >&5
7874 echo "${ECHO_T}$enable_libstdcxx_debug" >&6
7875
7876
7877 echo "$as_me:$LINENO: checking for extra compiler flags for building" >&5
7878 echo $ECHO_N "checking for extra compiler flags for building... $ECHO_C" >&6
7879 # Check whether --enable-cxx-flags or --disable-cxx-flags was given.
7880 if test "${enable_cxx_flags+set}" = set; then
7881 enableval="$enable_cxx_flags"
7882 case "x$enable_cxx_flags" in
7883 xno | x) enable_cxx_flags= ;;
7884 x-*) ;;
7885 *) { { echo "$as_me:$LINENO: error: --enable-cxx-flags needs compiler flags as arguments" >&5
7886 echo "$as_me: error: --enable-cxx-flags needs compiler flags as arguments" >&2;}
7887 { (exit 1); exit 1; }; } ;;
7888 esac
7889 else
7890 enable_cxx_flags=
7891 fi;
7892
7893
7894 # Run through flags (either default or command-line) and set anything
7895 # extra (e.g., #defines) that must accompany particular g++ options.
7896 if test -n "$enable_cxx_flags"; then
7897 for f in $enable_cxx_flags; do
7898 case "$f" in
7899 -fhonor-std) ;;
7900 -*) ;;
7901 *) # and we're trying to pass /what/ exactly?
7902 { { echo "$as_me:$LINENO: error: compiler flags start with a -" >&5
7903 echo "$as_me: error: compiler flags start with a -" >&2;}
7904 { (exit 1); exit 1; }; } ;;
7905 esac
7906 done
7907 fi
7908
7909 EXTRA_CXX_FLAGS="$enable_cxx_flags"
7910 echo "$as_me:$LINENO: result: $EXTRA_CXX_FLAGS" >&5
7911 echo "${ECHO_T}$EXTRA_CXX_FLAGS" >&6
7912
7913
7914
7915 # Check whether --enable-fully-dynamic-string or --disable-fully-dynamic-string was given.
7916 if test "${enable_fully_dynamic_string+set}" = set; then
7917 enableval="$enable_fully_dynamic_string"
7918
7919 case "$enableval" in
7920 yes|no) ;;
7921 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable fully-dynamic-string must be yes or no" >&5
7922 echo "$as_me: error: Argument to enable/disable fully-dynamic-string must be yes or no" >&2;}
7923 { (exit 1); exit 1; }; } ;;
7924 esac
7925
7926 else
7927 enable_fully_dynamic_string=no
7928 fi;
7929
7930 if test $enable_fully_dynamic_string = yes; then
7931
7932 cat >>confdefs.h <<\_ACEOF
7933 #define _GLIBCXX_FULLY_DYNAMIC_STRING 1
7934 _ACEOF
7935
7936 fi
7937
7938
7939 # No surprises, no surprises...
7940
7941 echo "$as_me:$LINENO: checking for thread model used by GCC" >&5
7942 echo $ECHO_N "checking for thread model used by GCC... $ECHO_C" >&6
7943 target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
7944 echo "$as_me:$LINENO: result: $target_thread_file" >&5
7945 echo "${ECHO_T}$target_thread_file" >&6
7946
7947 if test $target_thread_file != single; then
7948
7949 cat >>confdefs.h <<\_ACEOF
7950 #define HAVE_GTHR_DEFAULT 1
7951 _ACEOF
7952
7953 fi
7954
7955 glibcxx_thread_h=gthr-$target_thread_file.h
7956
7957 gthread_file=${toplevel_srcdir}/gcc/${glibcxx_thread_h}
7958 if grep __GTHREADS $gthread_file >/dev/null 2>&1 ; then
7959 enable_thread=yes
7960 else
7961 enable_thread=no
7962 fi
7963
7964
7965
7966
7967 echo "$as_me:$LINENO: checking for atomic builtins" >&5
7968 echo $ECHO_N "checking for atomic builtins... $ECHO_C" >&6
7969
7970
7971 ac_ext=cc
7972 ac_cpp='$CXXCPP $CPPFLAGS'
7973 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7974 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7975 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
7976
7977
7978 # Fake what AC_TRY_COMPILE does. XXX Look at redoing this new-style.
7979 cat > conftest.$ac_ext << EOF
7980 #line 7980 "configure"
7981 int main()
7982 {
7983 // NB: _Atomic_word not necessarily int.
7984 typedef int atomic_type;
7985 atomic_type c1;
7986 atomic_type c2;
7987 const atomic_type c3(0);
7988 if (__sync_fetch_and_add(&c1, c2) == c3)
7989 {
7990 // Do something.
7991 }
7992 return 0;
7993 }
7994 EOF
7995 old_CXXFLAGS="$CXXFLAGS"
7996 CXXFLAGS=-S
7997 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7998 (eval $ac_compile) 2>&5
7999 ac_status=$?
8000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8001 (exit $ac_status); }; then
8002 if grep __sync_fetch_and_add conftest.s >/dev/null 2>&1 ; then
8003 enable_atomic_builtins=no
8004 else
8005
8006 cat >>confdefs.h <<\_ACEOF
8007 #define _GLIBCXX_ATOMIC_BUILTINS 1
8008 _ACEOF
8009
8010 enable_atomic_builtins=yes
8011 atomicity_dir=cpu/generic/atomicity_builtins
8012 fi
8013 fi
8014 CXXFLAGS="$old_CXXFLAGS"
8015 rm -f conftest*
8016
8017 # Now, if still generic, set to mutex.
8018 if test $atomicity_dir = "cpu/generic" ; then
8019 atomicity_dir=cpu/generic/atomicity_mutex
8020 fi
8021 ac_ext=c
8022 ac_cpp='$CPP $CPPFLAGS'
8023 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8024 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8025 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8026
8027 echo "$as_me:$LINENO: result: $enable_atomic_builtins" >&5
8028 echo "${ECHO_T}$enable_atomic_builtins" >&6
8029
8030 if test $atomicity_dir = cpu/generic/atomic_mutex ; then
8031 { echo "$as_me:$LINENO: WARNING: No native atomic operations are provided for this platform." >&5
8032 echo "$as_me: WARNING: No native atomic operations are provided for this platform." >&2;}
8033 if test $target_thread_file = single; then
8034 { echo "$as_me:$LINENO: WARNING: They cannot be faked when thread support is disabled." >&5
8035 echo "$as_me: WARNING: They cannot be faked when thread support is disabled." >&2;}
8036 { echo "$as_me:$LINENO: WARNING: Thread-safety of certain classes is not guaranteed." >&5
8037 echo "$as_me: WARNING: Thread-safety of certain classes is not guaranteed." >&2;}
8038 else
8039 { echo "$as_me:$LINENO: WARNING: They will be faked using a mutex." >&5
8040 echo "$as_me: WARNING: They will be faked using a mutex." >&2;}
8041 { echo "$as_me:$LINENO: WARNING: Performance of certain classes will degrade as a result." >&5
8042 echo "$as_me: WARNING: Performance of certain classes will degrade as a result." >&2;}
8043 fi
8044 fi
8045
8046
8047 # All these tests are for C++; save the language and the compiler flags.
8048 # The CXXFLAGS thing is suspicious, but based on similar bits previously
8049 # found in GLIBCXX_CONFIGURE.
8050
8051
8052 ac_ext=cc
8053 ac_cpp='$CXXCPP $CPPFLAGS'
8054 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8055 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8056 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8057
8058 ac_test_CXXFLAGS="${CXXFLAGS+set}"
8059 ac_save_CXXFLAGS="$CXXFLAGS"
8060
8061 # Check for maintainer-mode bits.
8062 if test x"$USE_MAINTAINER_MODE" = xno; then
8063 WERROR=''
8064 else
8065 WERROR='-Werror'
8066 fi
8067
8068 # Check for -ffunction-sections -fdata-sections
8069 echo "$as_me:$LINENO: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
8070 echo $ECHO_N "checking for g++ that supports -ffunction-sections -fdata-sections... $ECHO_C" >&6
8071 CXXFLAGS='-Werror -ffunction-sections -fdata-sections'
8072 cat >conftest.$ac_ext <<_ACEOF
8073 /* confdefs.h. */
8074 _ACEOF
8075 cat confdefs.h >>conftest.$ac_ext
8076 cat >>conftest.$ac_ext <<_ACEOF
8077 /* end confdefs.h. */
8078
8079 int
8080 main ()
8081 {
8082 int foo;
8083 ;
8084 return 0;
8085 }
8086 _ACEOF
8087 rm -f conftest.$ac_objext
8088 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8089 (eval $ac_compile) 2>conftest.er1
8090 ac_status=$?
8091 grep -v '^ *+' conftest.er1 >conftest.err
8092 rm -f conftest.er1
8093 cat conftest.err >&5
8094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8095 (exit $ac_status); } &&
8096 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
8097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8098 (eval $ac_try) 2>&5
8099 ac_status=$?
8100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8101 (exit $ac_status); }; } &&
8102 { ac_try='test -s conftest.$ac_objext'
8103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8104 (eval $ac_try) 2>&5
8105 ac_status=$?
8106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8107 (exit $ac_status); }; }; then
8108 ac_fdsections=yes
8109 else
8110 echo "$as_me: failed program was:" >&5
8111 sed 's/^/| /' conftest.$ac_ext >&5
8112
8113 ac_fdsections=no
8114 fi
8115 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8116 if test "$ac_test_CXXFLAGS" = set; then
8117 CXXFLAGS="$ac_save_CXXFLAGS"
8118 else
8119 # this is the suspicious part
8120 CXXFLAGS=''
8121 fi
8122 if test x"$ac_fdsections" = x"yes"; then
8123 SECTION_FLAGS='-ffunction-sections -fdata-sections'
8124 fi
8125 echo "$as_me:$LINENO: result: $ac_fdsections" >&5
8126 echo "${ECHO_T}$ac_fdsections" >&6
8127
8128 ac_ext=c
8129 ac_cpp='$CPP $CPPFLAGS'
8130 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8131 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8132 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8133
8134
8135
8136
8137
8138 if $GLIBCXX_IS_NATIVE; then
8139
8140 # We can do more elaborate tests that assume a working linker.
8141 CANADIAN=no
8142
8143 # Check for available headers.
8144
8145
8146
8147
8148
8149
8150
8151
8152
8153
8154
8155
8156
8157
8158
8159 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h machine/endian.h \
8160 machine/param.h sys/machine.h fp.h locale.h float.h inttypes.h gconv.h \
8161 sys/types.h sys/ipc.h sys/sem.h
8162 do
8163 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8164 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8165 echo "$as_me:$LINENO: checking for $ac_header" >&5
8166 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8167 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8168 echo $ECHO_N "(cached) $ECHO_C" >&6
8169 fi
8170 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8171 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8172 else
8173 # Is the header compilable?
8174 echo "$as_me:$LINENO: checking $ac_header usability" >&5
8175 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
8176 cat >conftest.$ac_ext <<_ACEOF
8177 /* confdefs.h. */
8178 _ACEOF
8179 cat confdefs.h >>conftest.$ac_ext
8180 cat >>conftest.$ac_ext <<_ACEOF
8181 /* end confdefs.h. */
8182 $ac_includes_default
8183 #include <$ac_header>
8184 _ACEOF
8185 rm -f conftest.$ac_objext
8186 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8187 (eval $ac_compile) 2>conftest.er1
8188 ac_status=$?
8189 grep -v '^ *+' conftest.er1 >conftest.err
8190 rm -f conftest.er1
8191 cat conftest.err >&5
8192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8193 (exit $ac_status); } &&
8194 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8196 (eval $ac_try) 2>&5
8197 ac_status=$?
8198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8199 (exit $ac_status); }; } &&
8200 { ac_try='test -s conftest.$ac_objext'
8201 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8202 (eval $ac_try) 2>&5
8203 ac_status=$?
8204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8205 (exit $ac_status); }; }; then
8206 ac_header_compiler=yes
8207 else
8208 echo "$as_me: failed program was:" >&5
8209 sed 's/^/| /' conftest.$ac_ext >&5
8210
8211 ac_header_compiler=no
8212 fi
8213 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8214 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8215 echo "${ECHO_T}$ac_header_compiler" >&6
8216
8217 # Is the header present?
8218 echo "$as_me:$LINENO: checking $ac_header presence" >&5
8219 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
8220 cat >conftest.$ac_ext <<_ACEOF
8221 /* confdefs.h. */
8222 _ACEOF
8223 cat confdefs.h >>conftest.$ac_ext
8224 cat >>conftest.$ac_ext <<_ACEOF
8225 /* end confdefs.h. */
8226 #include <$ac_header>
8227 _ACEOF
8228 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8229 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
8230 ac_status=$?
8231 grep -v '^ *+' conftest.er1 >conftest.err
8232 rm -f conftest.er1
8233 cat conftest.err >&5
8234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8235 (exit $ac_status); } >/dev/null; then
8236 if test -s conftest.err; then
8237 ac_cpp_err=$ac_c_preproc_warn_flag
8238 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
8239 else
8240 ac_cpp_err=
8241 fi
8242 else
8243 ac_cpp_err=yes
8244 fi
8245 if test -z "$ac_cpp_err"; then
8246 ac_header_preproc=yes
8247 else
8248 echo "$as_me: failed program was:" >&5
8249 sed 's/^/| /' conftest.$ac_ext >&5
8250
8251 ac_header_preproc=no
8252 fi
8253 rm -f conftest.err conftest.$ac_ext
8254 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8255 echo "${ECHO_T}$ac_header_preproc" >&6
8256
8257 # So? What about this header?
8258 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8259 yes:no: )
8260 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8261 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8262 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8263 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8264 ac_header_preproc=yes
8265 ;;
8266 no:yes:* )
8267 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8268 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8269 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8270 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8271 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8272 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8273 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
8274 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
8275 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8276 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8277 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8278 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8279 (
8280 cat <<\_ASBOX
8281 ## ----------------------------------------- ##
8282 ## Report this to the package-unused lists. ##
8283 ## ----------------------------------------- ##
8284 _ASBOX
8285 ) |
8286 sed "s/^/$as_me: WARNING: /" >&2
8287 ;;
8288 esac
8289 echo "$as_me:$LINENO: checking for $ac_header" >&5
8290 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8291 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8292 echo $ECHO_N "(cached) $ECHO_C" >&6
8293 else
8294 eval "$as_ac_Header=\$ac_header_preproc"
8295 fi
8296 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8297 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8298
8299 fi
8300 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8301 cat >>confdefs.h <<_ACEOF
8302 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8303 _ACEOF
8304
8305 fi
8306
8307 done
8308
8309
8310
8311 # If we're not using GNU ld, then there's no point in even trying these
8312 # tests. Check for that first. We should have already tested for gld
8313 # by now (in libtool), but require it now just to be safe...
8314 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
8315 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
8316
8317
8318
8319 # The name set by libtool depends on the version of libtool. Shame on us
8320 # for depending on an impl detail, but c'est la vie. Older versions used
8321 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
8322 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
8323 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
8324 # set (hence we're using an older libtool), then set it.
8325 if test x${with_gnu_ld+set} != xset; then
8326 if test x${ac_cv_prog_gnu_ld+set} != xset; then
8327 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
8328 with_gnu_ld=no
8329 else
8330 with_gnu_ld=$ac_cv_prog_gnu_ld
8331 fi
8332 fi
8333
8334 # Start by getting the version number. I think the libtool test already
8335 # does some of this, but throws away the result.
8336 echo "$as_me:$LINENO: checking for ld version" >&5
8337 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
8338
8339 ldver=`$LD --version 2>/dev/null | head -1 | \
8340 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
8341
8342 glibcxx_gnu_ld_version=`echo $ldver | \
8343 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
8344 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
8345 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
8346
8347 # Set --gc-sections.
8348 glibcxx_gcsections_min_ld=21602
8349 if test x"$with_gnu_ld" = x"yes" &&
8350 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
8351
8352 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
8353 # NB: This flag only works reliably after 2.16.1. Configure tests
8354 # for this are difficult, so hard wire a value that should work.
8355
8356 # All these tests are for C++, but run with the "C" compiler driver.
8357 # Need to do this so that g++ won't try to link in libstdc++/libsupc++.
8358 ac_test_CFLAGS="${CFLAGS+set}"
8359 ac_save_CFLAGS="$CFLAGS"
8360 CFLAGS='-x c++ -Wl,--gc-sections'
8361
8362 # Check for -Wl,--gc-sections
8363 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
8364 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
8365 if test x$gcc_no_link = xyes; then
8366 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8367 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8368 { (exit 1); exit 1; }; }
8369 fi
8370 cat >conftest.$ac_ext <<_ACEOF
8371 /* confdefs.h. */
8372 _ACEOF
8373 cat confdefs.h >>conftest.$ac_ext
8374 cat >>conftest.$ac_ext <<_ACEOF
8375 /* end confdefs.h. */
8376 int one(void) { return 1; }
8377 int two(void) { return 2; }
8378
8379 int
8380 main ()
8381 {
8382 two();
8383 ;
8384 return 0;
8385 }
8386 _ACEOF
8387 rm -f conftest.$ac_objext conftest$ac_exeext
8388 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8389 (eval $ac_link) 2>conftest.er1
8390 ac_status=$?
8391 grep -v '^ *+' conftest.er1 >conftest.err
8392 rm -f conftest.er1
8393 cat conftest.err >&5
8394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8395 (exit $ac_status); } &&
8396 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8398 (eval $ac_try) 2>&5
8399 ac_status=$?
8400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8401 (exit $ac_status); }; } &&
8402 { ac_try='test -s conftest$ac_exeext'
8403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8404 (eval $ac_try) 2>&5
8405 ac_status=$?
8406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8407 (exit $ac_status); }; }; then
8408 ac_gcsections=yes
8409 else
8410 echo "$as_me: failed program was:" >&5
8411 sed 's/^/| /' conftest.$ac_ext >&5
8412
8413 ac_gcsections=no
8414 fi
8415 rm -f conftest.err conftest.$ac_objext \
8416 conftest$ac_exeext conftest.$ac_ext
8417 if test "$ac_gcsections" = "yes"; then
8418 rm -f conftest.c
8419 touch conftest.c
8420 if $CC -c conftest.c; then
8421 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
8422 grep "Warning: gc-sections option ignored" > /dev/null; then
8423 ac_gcsections=no
8424 fi
8425 fi
8426 rm -f conftest.c conftest.o conftest
8427 fi
8428 if test "$ac_gcsections" = "yes"; then
8429 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
8430 fi
8431 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
8432 echo "${ECHO_T}$ac_gcsections" >&6
8433
8434 if test "$ac_test_CFLAGS" = set; then
8435 CFLAGS="$ac_save_CFLAGS"
8436 else
8437 # this is the suspicious part
8438 CFLAGS=''
8439 fi
8440 fi
8441
8442 # Set -z,relro.
8443 # Note this is only for shared objects.
8444 ac_ld_relro=no
8445 if test x"$with_gnu_ld" = x"yes"; then
8446 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
8447 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
8448 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
8449 if test -n "$cxx_z_relo"; then
8450 OPT_LDFLAGS="-Wl,-z,relro"
8451 ac_ld_relro=yes
8452 fi
8453 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
8454 echo "${ECHO_T}$ac_ld_relro" >&6
8455 fi
8456
8457 # Set linker optimization flags.
8458 if test x"$with_gnu_ld" = x"yes"; then
8459 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
8460 fi
8461
8462
8463
8464
8465
8466 ac_test_CXXFLAGS="${CXXFLAGS+set}"
8467 ac_save_CXXFLAGS="$CXXFLAGS"
8468 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
8469
8470 echo "$as_me:$LINENO: checking for sin in -lm" >&5
8471 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
8472 if test "${ac_cv_lib_m_sin+set}" = set; then
8473 echo $ECHO_N "(cached) $ECHO_C" >&6
8474 else
8475 ac_check_lib_save_LIBS=$LIBS
8476 LIBS="-lm $LIBS"
8477 if test x$gcc_no_link = xyes; then
8478 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8479 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8480 { (exit 1); exit 1; }; }
8481 fi
8482 cat >conftest.$ac_ext <<_ACEOF
8483 /* confdefs.h. */
8484 _ACEOF
8485 cat confdefs.h >>conftest.$ac_ext
8486 cat >>conftest.$ac_ext <<_ACEOF
8487 /* end confdefs.h. */
8488
8489 /* Override any gcc2 internal prototype to avoid an error. */
8490 #ifdef __cplusplus
8491 extern "C"
8492 #endif
8493 /* We use char because int might match the return type of a gcc2
8494 builtin and then its argument prototype would still apply. */
8495 char sin ();
8496 int
8497 main ()
8498 {
8499 sin ();
8500 ;
8501 return 0;
8502 }
8503 _ACEOF
8504 rm -f conftest.$ac_objext conftest$ac_exeext
8505 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8506 (eval $ac_link) 2>conftest.er1
8507 ac_status=$?
8508 grep -v '^ *+' conftest.er1 >conftest.err
8509 rm -f conftest.er1
8510 cat conftest.err >&5
8511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8512 (exit $ac_status); } &&
8513 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8515 (eval $ac_try) 2>&5
8516 ac_status=$?
8517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8518 (exit $ac_status); }; } &&
8519 { ac_try='test -s conftest$ac_exeext'
8520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8521 (eval $ac_try) 2>&5
8522 ac_status=$?
8523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8524 (exit $ac_status); }; }; then
8525 ac_cv_lib_m_sin=yes
8526 else
8527 echo "$as_me: failed program was:" >&5
8528 sed 's/^/| /' conftest.$ac_ext >&5
8529
8530 ac_cv_lib_m_sin=no
8531 fi
8532 rm -f conftest.err conftest.$ac_objext \
8533 conftest$ac_exeext conftest.$ac_ext
8534 LIBS=$ac_check_lib_save_LIBS
8535 fi
8536 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
8537 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
8538 if test $ac_cv_lib_m_sin = yes; then
8539 libm="-lm"
8540 fi
8541
8542 ac_save_LIBS="$LIBS"
8543 LIBS="$LIBS $libm"
8544
8545
8546
8547 echo "$as_me:$LINENO: checking for isinf declaration" >&5
8548 echo $ECHO_N "checking for isinf declaration... $ECHO_C" >&6
8549 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
8550 if test "${glibcxx_cv_func_isinf_use+set}" = set; then
8551 echo $ECHO_N "(cached) $ECHO_C" >&6
8552 else
8553
8554
8555
8556 ac_ext=cc
8557 ac_cpp='$CXXCPP $CPPFLAGS'
8558 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8559 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8560 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8561
8562 cat >conftest.$ac_ext <<_ACEOF
8563 /* confdefs.h. */
8564 _ACEOF
8565 cat confdefs.h >>conftest.$ac_ext
8566 cat >>conftest.$ac_ext <<_ACEOF
8567 /* end confdefs.h. */
8568 #include <math.h>
8569 #ifdef HAVE_IEEEFP_H
8570 #include <ieeefp.h>
8571 #endif
8572
8573 int
8574 main ()
8575 {
8576 isinf(0);
8577 ;
8578 return 0;
8579 }
8580 _ACEOF
8581 rm -f conftest.$ac_objext
8582 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8583 (eval $ac_compile) 2>conftest.er1
8584 ac_status=$?
8585 grep -v '^ *+' conftest.er1 >conftest.err
8586 rm -f conftest.er1
8587 cat conftest.err >&5
8588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8589 (exit $ac_status); } &&
8590 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
8591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8592 (eval $ac_try) 2>&5
8593 ac_status=$?
8594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8595 (exit $ac_status); }; } &&
8596 { ac_try='test -s conftest.$ac_objext'
8597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8598 (eval $ac_try) 2>&5
8599 ac_status=$?
8600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8601 (exit $ac_status); }; }; then
8602 glibcxx_cv_func_isinf_use=yes
8603 else
8604 echo "$as_me: failed program was:" >&5
8605 sed 's/^/| /' conftest.$ac_ext >&5
8606
8607 glibcxx_cv_func_isinf_use=no
8608 fi
8609 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8610 ac_ext=c
8611 ac_cpp='$CPP $CPPFLAGS'
8612 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8613 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8614 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8615
8616
8617 fi
8618
8619 fi
8620 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinf_use" >&5
8621 echo "${ECHO_T}$glibcxx_cv_func_isinf_use" >&6
8622
8623 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
8624
8625 for ac_func in isinf
8626 do
8627 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8628 echo "$as_me:$LINENO: checking for $ac_func" >&5
8629 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8630 if eval "test \"\${$as_ac_var+set}\" = set"; then
8631 echo $ECHO_N "(cached) $ECHO_C" >&6
8632 else
8633 if test x$gcc_no_link = xyes; then
8634 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8635 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8636 { (exit 1); exit 1; }; }
8637 fi
8638 cat >conftest.$ac_ext <<_ACEOF
8639 /* confdefs.h. */
8640 _ACEOF
8641 cat confdefs.h >>conftest.$ac_ext
8642 cat >>conftest.$ac_ext <<_ACEOF
8643 /* end confdefs.h. */
8644 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
8645 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8646 #define $ac_func innocuous_$ac_func
8647
8648 /* System header to define __stub macros and hopefully few prototypes,
8649 which can conflict with char $ac_func (); below.
8650 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8651 <limits.h> exists even on freestanding compilers. */
8652
8653 #ifdef __STDC__
8654 # include <limits.h>
8655 #else
8656 # include <assert.h>
8657 #endif
8658
8659 #undef $ac_func
8660
8661 /* Override any gcc2 internal prototype to avoid an error. */
8662 #ifdef __cplusplus
8663 extern "C"
8664 {
8665 #endif
8666 /* We use char because int might match the return type of a gcc2
8667 builtin and then its argument prototype would still apply. */
8668 char $ac_func ();
8669 /* The GNU C library defines this for functions which it implements
8670 to always fail with ENOSYS. Some functions are actually named
8671 something starting with __ and the normal name is an alias. */
8672 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8673 choke me
8674 #else
8675 char (*f) () = $ac_func;
8676 #endif
8677 #ifdef __cplusplus
8678 }
8679 #endif
8680
8681 int
8682 main ()
8683 {
8684 return f != $ac_func;
8685 ;
8686 return 0;
8687 }
8688 _ACEOF
8689 rm -f conftest.$ac_objext conftest$ac_exeext
8690 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8691 (eval $ac_link) 2>conftest.er1
8692 ac_status=$?
8693 grep -v '^ *+' conftest.er1 >conftest.err
8694 rm -f conftest.er1
8695 cat conftest.err >&5
8696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8697 (exit $ac_status); } &&
8698 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8700 (eval $ac_try) 2>&5
8701 ac_status=$?
8702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8703 (exit $ac_status); }; } &&
8704 { ac_try='test -s conftest$ac_exeext'
8705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8706 (eval $ac_try) 2>&5
8707 ac_status=$?
8708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8709 (exit $ac_status); }; }; then
8710 eval "$as_ac_var=yes"
8711 else
8712 echo "$as_me: failed program was:" >&5
8713 sed 's/^/| /' conftest.$ac_ext >&5
8714
8715 eval "$as_ac_var=no"
8716 fi
8717 rm -f conftest.err conftest.$ac_objext \
8718 conftest$ac_exeext conftest.$ac_ext
8719 fi
8720 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8721 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8722 if test `eval echo '${'$as_ac_var'}'` = yes; then
8723 cat >>confdefs.h <<_ACEOF
8724 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8725 _ACEOF
8726
8727 fi
8728 done
8729
8730 else
8731
8732 echo "$as_me:$LINENO: checking for _isinf declaration" >&5
8733 echo $ECHO_N "checking for _isinf declaration... $ECHO_C" >&6
8734 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
8735 if test "${glibcxx_cv_func__isinf_use+set}" = set; then
8736 echo $ECHO_N "(cached) $ECHO_C" >&6
8737 else
8738
8739
8740
8741 ac_ext=cc
8742 ac_cpp='$CXXCPP $CPPFLAGS'
8743 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8744 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8745 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8746
8747 cat >conftest.$ac_ext <<_ACEOF
8748 /* confdefs.h. */
8749 _ACEOF
8750 cat confdefs.h >>conftest.$ac_ext
8751 cat >>conftest.$ac_ext <<_ACEOF
8752 /* end confdefs.h. */
8753 #include <math.h>
8754 #ifdef HAVE_IEEEFP_H
8755 #include <ieeefp.h>
8756 #endif
8757
8758 int
8759 main ()
8760 {
8761 _isinf(0);
8762 ;
8763 return 0;
8764 }
8765 _ACEOF
8766 rm -f conftest.$ac_objext
8767 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8768 (eval $ac_compile) 2>conftest.er1
8769 ac_status=$?
8770 grep -v '^ *+' conftest.er1 >conftest.err
8771 rm -f conftest.er1
8772 cat conftest.err >&5
8773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8774 (exit $ac_status); } &&
8775 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
8776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8777 (eval $ac_try) 2>&5
8778 ac_status=$?
8779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8780 (exit $ac_status); }; } &&
8781 { ac_try='test -s conftest.$ac_objext'
8782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8783 (eval $ac_try) 2>&5
8784 ac_status=$?
8785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8786 (exit $ac_status); }; }; then
8787 glibcxx_cv_func__isinf_use=yes
8788 else
8789 echo "$as_me: failed program was:" >&5
8790 sed 's/^/| /' conftest.$ac_ext >&5
8791
8792 glibcxx_cv_func__isinf_use=no
8793 fi
8794 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8795 ac_ext=c
8796 ac_cpp='$CPP $CPPFLAGS'
8797 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8798 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8799 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8800
8801
8802 fi
8803
8804 fi
8805 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinf_use" >&5
8806 echo "${ECHO_T}$glibcxx_cv_func__isinf_use" >&6
8807
8808 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
8809
8810 for ac_func in _isinf
8811 do
8812 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8813 echo "$as_me:$LINENO: checking for $ac_func" >&5
8814 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8815 if eval "test \"\${$as_ac_var+set}\" = set"; then
8816 echo $ECHO_N "(cached) $ECHO_C" >&6
8817 else
8818 if test x$gcc_no_link = xyes; then
8819 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8820 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8821 { (exit 1); exit 1; }; }
8822 fi
8823 cat >conftest.$ac_ext <<_ACEOF
8824 /* confdefs.h. */
8825 _ACEOF
8826 cat confdefs.h >>conftest.$ac_ext
8827 cat >>conftest.$ac_ext <<_ACEOF
8828 /* end confdefs.h. */
8829 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
8830 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8831 #define $ac_func innocuous_$ac_func
8832
8833 /* System header to define __stub macros and hopefully few prototypes,
8834 which can conflict with char $ac_func (); below.
8835 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8836 <limits.h> exists even on freestanding compilers. */
8837
8838 #ifdef __STDC__
8839 # include <limits.h>
8840 #else
8841 # include <assert.h>
8842 #endif
8843
8844 #undef $ac_func
8845
8846 /* Override any gcc2 internal prototype to avoid an error. */
8847 #ifdef __cplusplus
8848 extern "C"
8849 {
8850 #endif
8851 /* We use char because int might match the return type of a gcc2
8852 builtin and then its argument prototype would still apply. */
8853 char $ac_func ();
8854 /* The GNU C library defines this for functions which it implements
8855 to always fail with ENOSYS. Some functions are actually named
8856 something starting with __ and the normal name is an alias. */
8857 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8858 choke me
8859 #else
8860 char (*f) () = $ac_func;
8861 #endif
8862 #ifdef __cplusplus
8863 }
8864 #endif
8865
8866 int
8867 main ()
8868 {
8869 return f != $ac_func;
8870 ;
8871 return 0;
8872 }
8873 _ACEOF
8874 rm -f conftest.$ac_objext conftest$ac_exeext
8875 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8876 (eval $ac_link) 2>conftest.er1
8877 ac_status=$?
8878 grep -v '^ *+' conftest.er1 >conftest.err
8879 rm -f conftest.er1
8880 cat conftest.err >&5
8881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8882 (exit $ac_status); } &&
8883 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8884 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8885 (eval $ac_try) 2>&5
8886 ac_status=$?
8887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8888 (exit $ac_status); }; } &&
8889 { ac_try='test -s conftest$ac_exeext'
8890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8891 (eval $ac_try) 2>&5
8892 ac_status=$?
8893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8894 (exit $ac_status); }; }; then
8895 eval "$as_ac_var=yes"
8896 else
8897 echo "$as_me: failed program was:" >&5
8898 sed 's/^/| /' conftest.$ac_ext >&5
8899
8900 eval "$as_ac_var=no"
8901 fi
8902 rm -f conftest.err conftest.$ac_objext \
8903 conftest$ac_exeext conftest.$ac_ext
8904 fi
8905 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8906 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8907 if test `eval echo '${'$as_ac_var'}'` = yes; then
8908 cat >>confdefs.h <<_ACEOF
8909 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8910 _ACEOF
8911
8912 fi
8913 done
8914
8915 fi
8916 fi
8917
8918
8919
8920
8921
8922
8923 echo "$as_me:$LINENO: checking for isnan declaration" >&5
8924 echo $ECHO_N "checking for isnan declaration... $ECHO_C" >&6
8925 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
8926 if test "${glibcxx_cv_func_isnan_use+set}" = set; then
8927 echo $ECHO_N "(cached) $ECHO_C" >&6
8928 else
8929
8930
8931
8932 ac_ext=cc
8933 ac_cpp='$CXXCPP $CPPFLAGS'
8934 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8935 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8936 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8937
8938 cat >conftest.$ac_ext <<_ACEOF
8939 /* confdefs.h. */
8940 _ACEOF
8941 cat confdefs.h >>conftest.$ac_ext
8942 cat >>conftest.$ac_ext <<_ACEOF
8943 /* end confdefs.h. */
8944 #include <math.h>
8945 #ifdef HAVE_IEEEFP_H
8946 #include <ieeefp.h>
8947 #endif
8948
8949 int
8950 main ()
8951 {
8952 isnan(0);
8953 ;
8954 return 0;
8955 }
8956 _ACEOF
8957 rm -f conftest.$ac_objext
8958 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8959 (eval $ac_compile) 2>conftest.er1
8960 ac_status=$?
8961 grep -v '^ *+' conftest.er1 >conftest.err
8962 rm -f conftest.er1
8963 cat conftest.err >&5
8964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8965 (exit $ac_status); } &&
8966 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
8967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8968 (eval $ac_try) 2>&5
8969 ac_status=$?
8970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8971 (exit $ac_status); }; } &&
8972 { ac_try='test -s conftest.$ac_objext'
8973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8974 (eval $ac_try) 2>&5
8975 ac_status=$?
8976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8977 (exit $ac_status); }; }; then
8978 glibcxx_cv_func_isnan_use=yes
8979 else
8980 echo "$as_me: failed program was:" >&5
8981 sed 's/^/| /' conftest.$ac_ext >&5
8982
8983 glibcxx_cv_func_isnan_use=no
8984 fi
8985 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8986 ac_ext=c
8987 ac_cpp='$CPP $CPPFLAGS'
8988 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8989 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8990 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8991
8992
8993 fi
8994
8995 fi
8996 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnan_use" >&5
8997 echo "${ECHO_T}$glibcxx_cv_func_isnan_use" >&6
8998
8999 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
9000
9001 for ac_func in isnan
9002 do
9003 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9004 echo "$as_me:$LINENO: checking for $ac_func" >&5
9005 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9006 if eval "test \"\${$as_ac_var+set}\" = set"; then
9007 echo $ECHO_N "(cached) $ECHO_C" >&6
9008 else
9009 if test x$gcc_no_link = xyes; then
9010 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9011 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9012 { (exit 1); exit 1; }; }
9013 fi
9014 cat >conftest.$ac_ext <<_ACEOF
9015 /* confdefs.h. */
9016 _ACEOF
9017 cat confdefs.h >>conftest.$ac_ext
9018 cat >>conftest.$ac_ext <<_ACEOF
9019 /* end confdefs.h. */
9020 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9021 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9022 #define $ac_func innocuous_$ac_func
9023
9024 /* System header to define __stub macros and hopefully few prototypes,
9025 which can conflict with char $ac_func (); below.
9026 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9027 <limits.h> exists even on freestanding compilers. */
9028
9029 #ifdef __STDC__
9030 # include <limits.h>
9031 #else
9032 # include <assert.h>
9033 #endif
9034
9035 #undef $ac_func
9036
9037 /* Override any gcc2 internal prototype to avoid an error. */
9038 #ifdef __cplusplus
9039 extern "C"
9040 {
9041 #endif
9042 /* We use char because int might match the return type of a gcc2
9043 builtin and then its argument prototype would still apply. */
9044 char $ac_func ();
9045 /* The GNU C library defines this for functions which it implements
9046 to always fail with ENOSYS. Some functions are actually named
9047 something starting with __ and the normal name is an alias. */
9048 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9049 choke me
9050 #else
9051 char (*f) () = $ac_func;
9052 #endif
9053 #ifdef __cplusplus
9054 }
9055 #endif
9056
9057 int
9058 main ()
9059 {
9060 return f != $ac_func;
9061 ;
9062 return 0;
9063 }
9064 _ACEOF
9065 rm -f conftest.$ac_objext conftest$ac_exeext
9066 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9067 (eval $ac_link) 2>conftest.er1
9068 ac_status=$?
9069 grep -v '^ *+' conftest.er1 >conftest.err
9070 rm -f conftest.er1
9071 cat conftest.err >&5
9072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9073 (exit $ac_status); } &&
9074 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9076 (eval $ac_try) 2>&5
9077 ac_status=$?
9078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9079 (exit $ac_status); }; } &&
9080 { ac_try='test -s conftest$ac_exeext'
9081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9082 (eval $ac_try) 2>&5
9083 ac_status=$?
9084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9085 (exit $ac_status); }; }; then
9086 eval "$as_ac_var=yes"
9087 else
9088 echo "$as_me: failed program was:" >&5
9089 sed 's/^/| /' conftest.$ac_ext >&5
9090
9091 eval "$as_ac_var=no"
9092 fi
9093 rm -f conftest.err conftest.$ac_objext \
9094 conftest$ac_exeext conftest.$ac_ext
9095 fi
9096 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9097 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9098 if test `eval echo '${'$as_ac_var'}'` = yes; then
9099 cat >>confdefs.h <<_ACEOF
9100 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9101 _ACEOF
9102
9103 fi
9104 done
9105
9106 else
9107
9108 echo "$as_me:$LINENO: checking for _isnan declaration" >&5
9109 echo $ECHO_N "checking for _isnan declaration... $ECHO_C" >&6
9110 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
9111 if test "${glibcxx_cv_func__isnan_use+set}" = set; then
9112 echo $ECHO_N "(cached) $ECHO_C" >&6
9113 else
9114
9115
9116
9117 ac_ext=cc
9118 ac_cpp='$CXXCPP $CPPFLAGS'
9119 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9120 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9121 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9122
9123 cat >conftest.$ac_ext <<_ACEOF
9124 /* confdefs.h. */
9125 _ACEOF
9126 cat confdefs.h >>conftest.$ac_ext
9127 cat >>conftest.$ac_ext <<_ACEOF
9128 /* end confdefs.h. */
9129 #include <math.h>
9130 #ifdef HAVE_IEEEFP_H
9131 #include <ieeefp.h>
9132 #endif
9133
9134 int
9135 main ()
9136 {
9137 _isnan(0);
9138 ;
9139 return 0;
9140 }
9141 _ACEOF
9142 rm -f conftest.$ac_objext
9143 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9144 (eval $ac_compile) 2>conftest.er1
9145 ac_status=$?
9146 grep -v '^ *+' conftest.er1 >conftest.err
9147 rm -f conftest.er1
9148 cat conftest.err >&5
9149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9150 (exit $ac_status); } &&
9151 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
9152 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9153 (eval $ac_try) 2>&5
9154 ac_status=$?
9155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9156 (exit $ac_status); }; } &&
9157 { ac_try='test -s conftest.$ac_objext'
9158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9159 (eval $ac_try) 2>&5
9160 ac_status=$?
9161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9162 (exit $ac_status); }; }; then
9163 glibcxx_cv_func__isnan_use=yes
9164 else
9165 echo "$as_me: failed program was:" >&5
9166 sed 's/^/| /' conftest.$ac_ext >&5
9167
9168 glibcxx_cv_func__isnan_use=no
9169 fi
9170 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9171 ac_ext=c
9172 ac_cpp='$CPP $CPPFLAGS'
9173 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9174 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9175 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9176
9177
9178 fi
9179
9180 fi
9181 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnan_use" >&5
9182 echo "${ECHO_T}$glibcxx_cv_func__isnan_use" >&6
9183
9184 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
9185
9186 for ac_func in _isnan
9187 do
9188 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9189 echo "$as_me:$LINENO: checking for $ac_func" >&5
9190 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9191 if eval "test \"\${$as_ac_var+set}\" = set"; then
9192 echo $ECHO_N "(cached) $ECHO_C" >&6
9193 else
9194 if test x$gcc_no_link = xyes; then
9195 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9196 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9197 { (exit 1); exit 1; }; }
9198 fi
9199 cat >conftest.$ac_ext <<_ACEOF
9200 /* confdefs.h. */
9201 _ACEOF
9202 cat confdefs.h >>conftest.$ac_ext
9203 cat >>conftest.$ac_ext <<_ACEOF
9204 /* end confdefs.h. */
9205 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9206 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9207 #define $ac_func innocuous_$ac_func
9208
9209 /* System header to define __stub macros and hopefully few prototypes,
9210 which can conflict with char $ac_func (); below.
9211 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9212 <limits.h> exists even on freestanding compilers. */
9213
9214 #ifdef __STDC__
9215 # include <limits.h>
9216 #else
9217 # include <assert.h>
9218 #endif
9219
9220 #undef $ac_func
9221
9222 /* Override any gcc2 internal prototype to avoid an error. */
9223 #ifdef __cplusplus
9224 extern "C"
9225 {
9226 #endif
9227 /* We use char because int might match the return type of a gcc2
9228 builtin and then its argument prototype would still apply. */
9229 char $ac_func ();
9230 /* The GNU C library defines this for functions which it implements
9231 to always fail with ENOSYS. Some functions are actually named
9232 something starting with __ and the normal name is an alias. */
9233 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9234 choke me
9235 #else
9236 char (*f) () = $ac_func;
9237 #endif
9238 #ifdef __cplusplus
9239 }
9240 #endif
9241
9242 int
9243 main ()
9244 {
9245 return f != $ac_func;
9246 ;
9247 return 0;
9248 }
9249 _ACEOF
9250 rm -f conftest.$ac_objext conftest$ac_exeext
9251 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9252 (eval $ac_link) 2>conftest.er1
9253 ac_status=$?
9254 grep -v '^ *+' conftest.er1 >conftest.err
9255 rm -f conftest.er1
9256 cat conftest.err >&5
9257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9258 (exit $ac_status); } &&
9259 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9260 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9261 (eval $ac_try) 2>&5
9262 ac_status=$?
9263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9264 (exit $ac_status); }; } &&
9265 { ac_try='test -s conftest$ac_exeext'
9266 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9267 (eval $ac_try) 2>&5
9268 ac_status=$?
9269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9270 (exit $ac_status); }; }; then
9271 eval "$as_ac_var=yes"
9272 else
9273 echo "$as_me: failed program was:" >&5
9274 sed 's/^/| /' conftest.$ac_ext >&5
9275
9276 eval "$as_ac_var=no"
9277 fi
9278 rm -f conftest.err conftest.$ac_objext \
9279 conftest$ac_exeext conftest.$ac_ext
9280 fi
9281 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9282 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9283 if test `eval echo '${'$as_ac_var'}'` = yes; then
9284 cat >>confdefs.h <<_ACEOF
9285 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9286 _ACEOF
9287
9288 fi
9289 done
9290
9291 fi
9292 fi
9293
9294
9295
9296
9297
9298
9299 echo "$as_me:$LINENO: checking for finite declaration" >&5
9300 echo $ECHO_N "checking for finite declaration... $ECHO_C" >&6
9301 if test x${glibcxx_cv_func_finite_use+set} != xset; then
9302 if test "${glibcxx_cv_func_finite_use+set}" = set; then
9303 echo $ECHO_N "(cached) $ECHO_C" >&6
9304 else
9305
9306
9307
9308 ac_ext=cc
9309 ac_cpp='$CXXCPP $CPPFLAGS'
9310 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9311 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9312 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9313
9314 cat >conftest.$ac_ext <<_ACEOF
9315 /* confdefs.h. */
9316 _ACEOF
9317 cat confdefs.h >>conftest.$ac_ext
9318 cat >>conftest.$ac_ext <<_ACEOF
9319 /* end confdefs.h. */
9320 #include <math.h>
9321 #ifdef HAVE_IEEEFP_H
9322 #include <ieeefp.h>
9323 #endif
9324
9325 int
9326 main ()
9327 {
9328 finite(0);
9329 ;
9330 return 0;
9331 }
9332 _ACEOF
9333 rm -f conftest.$ac_objext
9334 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9335 (eval $ac_compile) 2>conftest.er1
9336 ac_status=$?
9337 grep -v '^ *+' conftest.er1 >conftest.err
9338 rm -f conftest.er1
9339 cat conftest.err >&5
9340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9341 (exit $ac_status); } &&
9342 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
9343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9344 (eval $ac_try) 2>&5
9345 ac_status=$?
9346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9347 (exit $ac_status); }; } &&
9348 { ac_try='test -s conftest.$ac_objext'
9349 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9350 (eval $ac_try) 2>&5
9351 ac_status=$?
9352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9353 (exit $ac_status); }; }; then
9354 glibcxx_cv_func_finite_use=yes
9355 else
9356 echo "$as_me: failed program was:" >&5
9357 sed 's/^/| /' conftest.$ac_ext >&5
9358
9359 glibcxx_cv_func_finite_use=no
9360 fi
9361 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9362 ac_ext=c
9363 ac_cpp='$CPP $CPPFLAGS'
9364 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9365 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9366 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9367
9368
9369 fi
9370
9371 fi
9372 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finite_use" >&5
9373 echo "${ECHO_T}$glibcxx_cv_func_finite_use" >&6
9374
9375 if test x$glibcxx_cv_func_finite_use = x"yes"; then
9376
9377 for ac_func in finite
9378 do
9379 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9380 echo "$as_me:$LINENO: checking for $ac_func" >&5
9381 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9382 if eval "test \"\${$as_ac_var+set}\" = set"; then
9383 echo $ECHO_N "(cached) $ECHO_C" >&6
9384 else
9385 if test x$gcc_no_link = xyes; then
9386 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9387 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9388 { (exit 1); exit 1; }; }
9389 fi
9390 cat >conftest.$ac_ext <<_ACEOF
9391 /* confdefs.h. */
9392 _ACEOF
9393 cat confdefs.h >>conftest.$ac_ext
9394 cat >>conftest.$ac_ext <<_ACEOF
9395 /* end confdefs.h. */
9396 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9397 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9398 #define $ac_func innocuous_$ac_func
9399
9400 /* System header to define __stub macros and hopefully few prototypes,
9401 which can conflict with char $ac_func (); below.
9402 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9403 <limits.h> exists even on freestanding compilers. */
9404
9405 #ifdef __STDC__
9406 # include <limits.h>
9407 #else
9408 # include <assert.h>
9409 #endif
9410
9411 #undef $ac_func
9412
9413 /* Override any gcc2 internal prototype to avoid an error. */
9414 #ifdef __cplusplus
9415 extern "C"
9416 {
9417 #endif
9418 /* We use char because int might match the return type of a gcc2
9419 builtin and then its argument prototype would still apply. */
9420 char $ac_func ();
9421 /* The GNU C library defines this for functions which it implements
9422 to always fail with ENOSYS. Some functions are actually named
9423 something starting with __ and the normal name is an alias. */
9424 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9425 choke me
9426 #else
9427 char (*f) () = $ac_func;
9428 #endif
9429 #ifdef __cplusplus
9430 }
9431 #endif
9432
9433 int
9434 main ()
9435 {
9436 return f != $ac_func;
9437 ;
9438 return 0;
9439 }
9440 _ACEOF
9441 rm -f conftest.$ac_objext conftest$ac_exeext
9442 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9443 (eval $ac_link) 2>conftest.er1
9444 ac_status=$?
9445 grep -v '^ *+' conftest.er1 >conftest.err
9446 rm -f conftest.er1
9447 cat conftest.err >&5
9448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9449 (exit $ac_status); } &&
9450 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9452 (eval $ac_try) 2>&5
9453 ac_status=$?
9454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9455 (exit $ac_status); }; } &&
9456 { ac_try='test -s conftest$ac_exeext'
9457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9458 (eval $ac_try) 2>&5
9459 ac_status=$?
9460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9461 (exit $ac_status); }; }; then
9462 eval "$as_ac_var=yes"
9463 else
9464 echo "$as_me: failed program was:" >&5
9465 sed 's/^/| /' conftest.$ac_ext >&5
9466
9467 eval "$as_ac_var=no"
9468 fi
9469 rm -f conftest.err conftest.$ac_objext \
9470 conftest$ac_exeext conftest.$ac_ext
9471 fi
9472 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9473 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9474 if test `eval echo '${'$as_ac_var'}'` = yes; then
9475 cat >>confdefs.h <<_ACEOF
9476 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9477 _ACEOF
9478
9479 fi
9480 done
9481
9482 else
9483
9484 echo "$as_me:$LINENO: checking for _finite declaration" >&5
9485 echo $ECHO_N "checking for _finite declaration... $ECHO_C" >&6
9486 if test x${glibcxx_cv_func__finite_use+set} != xset; then
9487 if test "${glibcxx_cv_func__finite_use+set}" = set; then
9488 echo $ECHO_N "(cached) $ECHO_C" >&6
9489 else
9490
9491
9492
9493 ac_ext=cc
9494 ac_cpp='$CXXCPP $CPPFLAGS'
9495 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9496 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9497 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9498
9499 cat >conftest.$ac_ext <<_ACEOF
9500 /* confdefs.h. */
9501 _ACEOF
9502 cat confdefs.h >>conftest.$ac_ext
9503 cat >>conftest.$ac_ext <<_ACEOF
9504 /* end confdefs.h. */
9505 #include <math.h>
9506 #ifdef HAVE_IEEEFP_H
9507 #include <ieeefp.h>
9508 #endif
9509
9510 int
9511 main ()
9512 {
9513 _finite(0);
9514 ;
9515 return 0;
9516 }
9517 _ACEOF
9518 rm -f conftest.$ac_objext
9519 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9520 (eval $ac_compile) 2>conftest.er1
9521 ac_status=$?
9522 grep -v '^ *+' conftest.er1 >conftest.err
9523 rm -f conftest.er1
9524 cat conftest.err >&5
9525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9526 (exit $ac_status); } &&
9527 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
9528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9529 (eval $ac_try) 2>&5
9530 ac_status=$?
9531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9532 (exit $ac_status); }; } &&
9533 { ac_try='test -s conftest.$ac_objext'
9534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9535 (eval $ac_try) 2>&5
9536 ac_status=$?
9537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9538 (exit $ac_status); }; }; then
9539 glibcxx_cv_func__finite_use=yes
9540 else
9541 echo "$as_me: failed program was:" >&5
9542 sed 's/^/| /' conftest.$ac_ext >&5
9543
9544 glibcxx_cv_func__finite_use=no
9545 fi
9546 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9547 ac_ext=c
9548 ac_cpp='$CPP $CPPFLAGS'
9549 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9550 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9551 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9552
9553
9554 fi
9555
9556 fi
9557 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finite_use" >&5
9558 echo "${ECHO_T}$glibcxx_cv_func__finite_use" >&6
9559
9560 if test x$glibcxx_cv_func__finite_use = x"yes"; then
9561
9562 for ac_func in _finite
9563 do
9564 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9565 echo "$as_me:$LINENO: checking for $ac_func" >&5
9566 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9567 if eval "test \"\${$as_ac_var+set}\" = set"; then
9568 echo $ECHO_N "(cached) $ECHO_C" >&6
9569 else
9570 if test x$gcc_no_link = xyes; then
9571 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9572 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9573 { (exit 1); exit 1; }; }
9574 fi
9575 cat >conftest.$ac_ext <<_ACEOF
9576 /* confdefs.h. */
9577 _ACEOF
9578 cat confdefs.h >>conftest.$ac_ext
9579 cat >>conftest.$ac_ext <<_ACEOF
9580 /* end confdefs.h. */
9581 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9582 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9583 #define $ac_func innocuous_$ac_func
9584
9585 /* System header to define __stub macros and hopefully few prototypes,
9586 which can conflict with char $ac_func (); below.
9587 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9588 <limits.h> exists even on freestanding compilers. */
9589
9590 #ifdef __STDC__
9591 # include <limits.h>
9592 #else
9593 # include <assert.h>
9594 #endif
9595
9596 #undef $ac_func
9597
9598 /* Override any gcc2 internal prototype to avoid an error. */
9599 #ifdef __cplusplus
9600 extern "C"
9601 {
9602 #endif
9603 /* We use char because int might match the return type of a gcc2
9604 builtin and then its argument prototype would still apply. */
9605 char $ac_func ();
9606 /* The GNU C library defines this for functions which it implements
9607 to always fail with ENOSYS. Some functions are actually named
9608 something starting with __ and the normal name is an alias. */
9609 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9610 choke me
9611 #else
9612 char (*f) () = $ac_func;
9613 #endif
9614 #ifdef __cplusplus
9615 }
9616 #endif
9617
9618 int
9619 main ()
9620 {
9621 return f != $ac_func;
9622 ;
9623 return 0;
9624 }
9625 _ACEOF
9626 rm -f conftest.$ac_objext conftest$ac_exeext
9627 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9628 (eval $ac_link) 2>conftest.er1
9629 ac_status=$?
9630 grep -v '^ *+' conftest.er1 >conftest.err
9631 rm -f conftest.er1
9632 cat conftest.err >&5
9633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9634 (exit $ac_status); } &&
9635 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9637 (eval $ac_try) 2>&5
9638 ac_status=$?
9639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9640 (exit $ac_status); }; } &&
9641 { ac_try='test -s conftest$ac_exeext'
9642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9643 (eval $ac_try) 2>&5
9644 ac_status=$?
9645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9646 (exit $ac_status); }; }; then
9647 eval "$as_ac_var=yes"
9648 else
9649 echo "$as_me: failed program was:" >&5
9650 sed 's/^/| /' conftest.$ac_ext >&5
9651
9652 eval "$as_ac_var=no"
9653 fi
9654 rm -f conftest.err conftest.$ac_objext \
9655 conftest$ac_exeext conftest.$ac_ext
9656 fi
9657 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9658 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9659 if test `eval echo '${'$as_ac_var'}'` = yes; then
9660 cat >>confdefs.h <<_ACEOF
9661 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9662 _ACEOF
9663
9664 fi
9665 done
9666
9667 fi
9668 fi
9669
9670
9671
9672
9673
9674
9675 echo "$as_me:$LINENO: checking for copysign declaration" >&5
9676 echo $ECHO_N "checking for copysign declaration... $ECHO_C" >&6
9677 if test x${glibcxx_cv_func_copysign_use+set} != xset; then
9678 if test "${glibcxx_cv_func_copysign_use+set}" = set; then
9679 echo $ECHO_N "(cached) $ECHO_C" >&6
9680 else
9681
9682
9683
9684 ac_ext=cc
9685 ac_cpp='$CXXCPP $CPPFLAGS'
9686 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9687 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9688 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9689
9690 cat >conftest.$ac_ext <<_ACEOF
9691 /* confdefs.h. */
9692 _ACEOF
9693 cat confdefs.h >>conftest.$ac_ext
9694 cat >>conftest.$ac_ext <<_ACEOF
9695 /* end confdefs.h. */
9696 #include <math.h>
9697 int
9698 main ()
9699 {
9700 copysign(0, 0);
9701 ;
9702 return 0;
9703 }
9704 _ACEOF
9705 rm -f conftest.$ac_objext
9706 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9707 (eval $ac_compile) 2>conftest.er1
9708 ac_status=$?
9709 grep -v '^ *+' conftest.er1 >conftest.err
9710 rm -f conftest.er1
9711 cat conftest.err >&5
9712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9713 (exit $ac_status); } &&
9714 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
9715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9716 (eval $ac_try) 2>&5
9717 ac_status=$?
9718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9719 (exit $ac_status); }; } &&
9720 { ac_try='test -s conftest.$ac_objext'
9721 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9722 (eval $ac_try) 2>&5
9723 ac_status=$?
9724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9725 (exit $ac_status); }; }; then
9726 glibcxx_cv_func_copysign_use=yes
9727 else
9728 echo "$as_me: failed program was:" >&5
9729 sed 's/^/| /' conftest.$ac_ext >&5
9730
9731 glibcxx_cv_func_copysign_use=no
9732 fi
9733 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9734 ac_ext=c
9735 ac_cpp='$CPP $CPPFLAGS'
9736 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9737 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9738 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9739
9740
9741 fi
9742
9743 fi
9744 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysign_use" >&5
9745 echo "${ECHO_T}$glibcxx_cv_func_copysign_use" >&6
9746
9747 if test x$glibcxx_cv_func_copysign_use = x"yes"; then
9748
9749 for ac_func in copysign
9750 do
9751 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9752 echo "$as_me:$LINENO: checking for $ac_func" >&5
9753 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9754 if eval "test \"\${$as_ac_var+set}\" = set"; then
9755 echo $ECHO_N "(cached) $ECHO_C" >&6
9756 else
9757 if test x$gcc_no_link = xyes; then
9758 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9759 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9760 { (exit 1); exit 1; }; }
9761 fi
9762 cat >conftest.$ac_ext <<_ACEOF
9763 /* confdefs.h. */
9764 _ACEOF
9765 cat confdefs.h >>conftest.$ac_ext
9766 cat >>conftest.$ac_ext <<_ACEOF
9767 /* end confdefs.h. */
9768 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9769 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9770 #define $ac_func innocuous_$ac_func
9771
9772 /* System header to define __stub macros and hopefully few prototypes,
9773 which can conflict with char $ac_func (); below.
9774 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9775 <limits.h> exists even on freestanding compilers. */
9776
9777 #ifdef __STDC__
9778 # include <limits.h>
9779 #else
9780 # include <assert.h>
9781 #endif
9782
9783 #undef $ac_func
9784
9785 /* Override any gcc2 internal prototype to avoid an error. */
9786 #ifdef __cplusplus
9787 extern "C"
9788 {
9789 #endif
9790 /* We use char because int might match the return type of a gcc2
9791 builtin and then its argument prototype would still apply. */
9792 char $ac_func ();
9793 /* The GNU C library defines this for functions which it implements
9794 to always fail with ENOSYS. Some functions are actually named
9795 something starting with __ and the normal name is an alias. */
9796 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9797 choke me
9798 #else
9799 char (*f) () = $ac_func;
9800 #endif
9801 #ifdef __cplusplus
9802 }
9803 #endif
9804
9805 int
9806 main ()
9807 {
9808 return f != $ac_func;
9809 ;
9810 return 0;
9811 }
9812 _ACEOF
9813 rm -f conftest.$ac_objext conftest$ac_exeext
9814 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9815 (eval $ac_link) 2>conftest.er1
9816 ac_status=$?
9817 grep -v '^ *+' conftest.er1 >conftest.err
9818 rm -f conftest.er1
9819 cat conftest.err >&5
9820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9821 (exit $ac_status); } &&
9822 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9823 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9824 (eval $ac_try) 2>&5
9825 ac_status=$?
9826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9827 (exit $ac_status); }; } &&
9828 { ac_try='test -s conftest$ac_exeext'
9829 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9830 (eval $ac_try) 2>&5
9831 ac_status=$?
9832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9833 (exit $ac_status); }; }; then
9834 eval "$as_ac_var=yes"
9835 else
9836 echo "$as_me: failed program was:" >&5
9837 sed 's/^/| /' conftest.$ac_ext >&5
9838
9839 eval "$as_ac_var=no"
9840 fi
9841 rm -f conftest.err conftest.$ac_objext \
9842 conftest$ac_exeext conftest.$ac_ext
9843 fi
9844 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9845 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9846 if test `eval echo '${'$as_ac_var'}'` = yes; then
9847 cat >>confdefs.h <<_ACEOF
9848 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9849 _ACEOF
9850
9851 fi
9852 done
9853
9854 else
9855
9856 echo "$as_me:$LINENO: checking for _copysign declaration" >&5
9857 echo $ECHO_N "checking for _copysign declaration... $ECHO_C" >&6
9858 if test x${glibcxx_cv_func__copysign_use+set} != xset; then
9859 if test "${glibcxx_cv_func__copysign_use+set}" = set; then
9860 echo $ECHO_N "(cached) $ECHO_C" >&6
9861 else
9862
9863
9864
9865 ac_ext=cc
9866 ac_cpp='$CXXCPP $CPPFLAGS'
9867 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9868 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9869 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9870
9871 cat >conftest.$ac_ext <<_ACEOF
9872 /* confdefs.h. */
9873 _ACEOF
9874 cat confdefs.h >>conftest.$ac_ext
9875 cat >>conftest.$ac_ext <<_ACEOF
9876 /* end confdefs.h. */
9877 #include <math.h>
9878 int
9879 main ()
9880 {
9881 _copysign(0, 0);
9882 ;
9883 return 0;
9884 }
9885 _ACEOF
9886 rm -f conftest.$ac_objext
9887 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9888 (eval $ac_compile) 2>conftest.er1
9889 ac_status=$?
9890 grep -v '^ *+' conftest.er1 >conftest.err
9891 rm -f conftest.er1
9892 cat conftest.err >&5
9893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9894 (exit $ac_status); } &&
9895 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
9896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9897 (eval $ac_try) 2>&5
9898 ac_status=$?
9899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9900 (exit $ac_status); }; } &&
9901 { ac_try='test -s conftest.$ac_objext'
9902 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9903 (eval $ac_try) 2>&5
9904 ac_status=$?
9905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9906 (exit $ac_status); }; }; then
9907 glibcxx_cv_func__copysign_use=yes
9908 else
9909 echo "$as_me: failed program was:" >&5
9910 sed 's/^/| /' conftest.$ac_ext >&5
9911
9912 glibcxx_cv_func__copysign_use=no
9913 fi
9914 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9915 ac_ext=c
9916 ac_cpp='$CPP $CPPFLAGS'
9917 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9918 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9919 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9920
9921
9922 fi
9923
9924 fi
9925 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysign_use" >&5
9926 echo "${ECHO_T}$glibcxx_cv_func__copysign_use" >&6
9927
9928 if test x$glibcxx_cv_func__copysign_use = x"yes"; then
9929
9930 for ac_func in _copysign
9931 do
9932 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9933 echo "$as_me:$LINENO: checking for $ac_func" >&5
9934 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9935 if eval "test \"\${$as_ac_var+set}\" = set"; then
9936 echo $ECHO_N "(cached) $ECHO_C" >&6
9937 else
9938 if test x$gcc_no_link = xyes; then
9939 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9940 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9941 { (exit 1); exit 1; }; }
9942 fi
9943 cat >conftest.$ac_ext <<_ACEOF
9944 /* confdefs.h. */
9945 _ACEOF
9946 cat confdefs.h >>conftest.$ac_ext
9947 cat >>conftest.$ac_ext <<_ACEOF
9948 /* end confdefs.h. */
9949 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9950 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9951 #define $ac_func innocuous_$ac_func
9952
9953 /* System header to define __stub macros and hopefully few prototypes,
9954 which can conflict with char $ac_func (); below.
9955 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9956 <limits.h> exists even on freestanding compilers. */
9957
9958 #ifdef __STDC__
9959 # include <limits.h>
9960 #else
9961 # include <assert.h>
9962 #endif
9963
9964 #undef $ac_func
9965
9966 /* Override any gcc2 internal prototype to avoid an error. */
9967 #ifdef __cplusplus
9968 extern "C"
9969 {
9970 #endif
9971 /* We use char because int might match the return type of a gcc2
9972 builtin and then its argument prototype would still apply. */
9973 char $ac_func ();
9974 /* The GNU C library defines this for functions which it implements
9975 to always fail with ENOSYS. Some functions are actually named
9976 something starting with __ and the normal name is an alias. */
9977 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9978 choke me
9979 #else
9980 char (*f) () = $ac_func;
9981 #endif
9982 #ifdef __cplusplus
9983 }
9984 #endif
9985
9986 int
9987 main ()
9988 {
9989 return f != $ac_func;
9990 ;
9991 return 0;
9992 }
9993 _ACEOF
9994 rm -f conftest.$ac_objext conftest$ac_exeext
9995 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9996 (eval $ac_link) 2>conftest.er1
9997 ac_status=$?
9998 grep -v '^ *+' conftest.er1 >conftest.err
9999 rm -f conftest.er1
10000 cat conftest.err >&5
10001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10002 (exit $ac_status); } &&
10003 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10004 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10005 (eval $ac_try) 2>&5
10006 ac_status=$?
10007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10008 (exit $ac_status); }; } &&
10009 { ac_try='test -s conftest$ac_exeext'
10010 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10011 (eval $ac_try) 2>&5
10012 ac_status=$?
10013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10014 (exit $ac_status); }; }; then
10015 eval "$as_ac_var=yes"
10016 else
10017 echo "$as_me: failed program was:" >&5
10018 sed 's/^/| /' conftest.$ac_ext >&5
10019
10020 eval "$as_ac_var=no"
10021 fi
10022 rm -f conftest.err conftest.$ac_objext \
10023 conftest$ac_exeext conftest.$ac_ext
10024 fi
10025 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10026 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10027 if test `eval echo '${'$as_ac_var'}'` = yes; then
10028 cat >>confdefs.h <<_ACEOF
10029 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10030 _ACEOF
10031
10032 fi
10033 done
10034
10035 fi
10036 fi
10037
10038
10039
10040
10041
10042
10043 echo "$as_me:$LINENO: checking for sincos declaration" >&5
10044 echo $ECHO_N "checking for sincos declaration... $ECHO_C" >&6
10045 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
10046 if test "${glibcxx_cv_func_sincos_use+set}" = set; then
10047 echo $ECHO_N "(cached) $ECHO_C" >&6
10048 else
10049
10050
10051
10052 ac_ext=cc
10053 ac_cpp='$CXXCPP $CPPFLAGS'
10054 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10055 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10056 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10057
10058 cat >conftest.$ac_ext <<_ACEOF
10059 /* confdefs.h. */
10060 _ACEOF
10061 cat confdefs.h >>conftest.$ac_ext
10062 cat >>conftest.$ac_ext <<_ACEOF
10063 /* end confdefs.h. */
10064 #include <math.h>
10065 int
10066 main ()
10067 {
10068 sincos(0, 0, 0);
10069 ;
10070 return 0;
10071 }
10072 _ACEOF
10073 rm -f conftest.$ac_objext
10074 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10075 (eval $ac_compile) 2>conftest.er1
10076 ac_status=$?
10077 grep -v '^ *+' conftest.er1 >conftest.err
10078 rm -f conftest.er1
10079 cat conftest.err >&5
10080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10081 (exit $ac_status); } &&
10082 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
10083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10084 (eval $ac_try) 2>&5
10085 ac_status=$?
10086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10087 (exit $ac_status); }; } &&
10088 { ac_try='test -s conftest.$ac_objext'
10089 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10090 (eval $ac_try) 2>&5
10091 ac_status=$?
10092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10093 (exit $ac_status); }; }; then
10094 glibcxx_cv_func_sincos_use=yes
10095 else
10096 echo "$as_me: failed program was:" >&5
10097 sed 's/^/| /' conftest.$ac_ext >&5
10098
10099 glibcxx_cv_func_sincos_use=no
10100 fi
10101 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10102 ac_ext=c
10103 ac_cpp='$CPP $CPPFLAGS'
10104 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10105 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10106 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10107
10108
10109 fi
10110
10111 fi
10112 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincos_use" >&5
10113 echo "${ECHO_T}$glibcxx_cv_func_sincos_use" >&6
10114
10115 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
10116
10117 for ac_func in sincos
10118 do
10119 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10120 echo "$as_me:$LINENO: checking for $ac_func" >&5
10121 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10122 if eval "test \"\${$as_ac_var+set}\" = set"; then
10123 echo $ECHO_N "(cached) $ECHO_C" >&6
10124 else
10125 if test x$gcc_no_link = xyes; then
10126 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10127 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10128 { (exit 1); exit 1; }; }
10129 fi
10130 cat >conftest.$ac_ext <<_ACEOF
10131 /* confdefs.h. */
10132 _ACEOF
10133 cat confdefs.h >>conftest.$ac_ext
10134 cat >>conftest.$ac_ext <<_ACEOF
10135 /* end confdefs.h. */
10136 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10137 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10138 #define $ac_func innocuous_$ac_func
10139
10140 /* System header to define __stub macros and hopefully few prototypes,
10141 which can conflict with char $ac_func (); below.
10142 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10143 <limits.h> exists even on freestanding compilers. */
10144
10145 #ifdef __STDC__
10146 # include <limits.h>
10147 #else
10148 # include <assert.h>
10149 #endif
10150
10151 #undef $ac_func
10152
10153 /* Override any gcc2 internal prototype to avoid an error. */
10154 #ifdef __cplusplus
10155 extern "C"
10156 {
10157 #endif
10158 /* We use char because int might match the return type of a gcc2
10159 builtin and then its argument prototype would still apply. */
10160 char $ac_func ();
10161 /* The GNU C library defines this for functions which it implements
10162 to always fail with ENOSYS. Some functions are actually named
10163 something starting with __ and the normal name is an alias. */
10164 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10165 choke me
10166 #else
10167 char (*f) () = $ac_func;
10168 #endif
10169 #ifdef __cplusplus
10170 }
10171 #endif
10172
10173 int
10174 main ()
10175 {
10176 return f != $ac_func;
10177 ;
10178 return 0;
10179 }
10180 _ACEOF
10181 rm -f conftest.$ac_objext conftest$ac_exeext
10182 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10183 (eval $ac_link) 2>conftest.er1
10184 ac_status=$?
10185 grep -v '^ *+' conftest.er1 >conftest.err
10186 rm -f conftest.er1
10187 cat conftest.err >&5
10188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10189 (exit $ac_status); } &&
10190 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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); }; } &&
10196 { ac_try='test -s conftest$ac_exeext'
10197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10198 (eval $ac_try) 2>&5
10199 ac_status=$?
10200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10201 (exit $ac_status); }; }; then
10202 eval "$as_ac_var=yes"
10203 else
10204 echo "$as_me: failed program was:" >&5
10205 sed 's/^/| /' conftest.$ac_ext >&5
10206
10207 eval "$as_ac_var=no"
10208 fi
10209 rm -f conftest.err conftest.$ac_objext \
10210 conftest$ac_exeext conftest.$ac_ext
10211 fi
10212 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10213 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10214 if test `eval echo '${'$as_ac_var'}'` = yes; then
10215 cat >>confdefs.h <<_ACEOF
10216 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10217 _ACEOF
10218
10219 fi
10220 done
10221
10222 else
10223
10224 echo "$as_me:$LINENO: checking for _sincos declaration" >&5
10225 echo $ECHO_N "checking for _sincos declaration... $ECHO_C" >&6
10226 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
10227 if test "${glibcxx_cv_func__sincos_use+set}" = set; then
10228 echo $ECHO_N "(cached) $ECHO_C" >&6
10229 else
10230
10231
10232
10233 ac_ext=cc
10234 ac_cpp='$CXXCPP $CPPFLAGS'
10235 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10236 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10237 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10238
10239 cat >conftest.$ac_ext <<_ACEOF
10240 /* confdefs.h. */
10241 _ACEOF
10242 cat confdefs.h >>conftest.$ac_ext
10243 cat >>conftest.$ac_ext <<_ACEOF
10244 /* end confdefs.h. */
10245 #include <math.h>
10246 int
10247 main ()
10248 {
10249 _sincos(0, 0, 0);
10250 ;
10251 return 0;
10252 }
10253 _ACEOF
10254 rm -f conftest.$ac_objext
10255 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10256 (eval $ac_compile) 2>conftest.er1
10257 ac_status=$?
10258 grep -v '^ *+' conftest.er1 >conftest.err
10259 rm -f conftest.er1
10260 cat conftest.err >&5
10261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10262 (exit $ac_status); } &&
10263 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
10264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10265 (eval $ac_try) 2>&5
10266 ac_status=$?
10267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10268 (exit $ac_status); }; } &&
10269 { ac_try='test -s conftest.$ac_objext'
10270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10271 (eval $ac_try) 2>&5
10272 ac_status=$?
10273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10274 (exit $ac_status); }; }; then
10275 glibcxx_cv_func__sincos_use=yes
10276 else
10277 echo "$as_me: failed program was:" >&5
10278 sed 's/^/| /' conftest.$ac_ext >&5
10279
10280 glibcxx_cv_func__sincos_use=no
10281 fi
10282 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10283 ac_ext=c
10284 ac_cpp='$CPP $CPPFLAGS'
10285 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10286 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10287 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10288
10289
10290 fi
10291
10292 fi
10293 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincos_use" >&5
10294 echo "${ECHO_T}$glibcxx_cv_func__sincos_use" >&6
10295
10296 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
10297
10298 for ac_func in _sincos
10299 do
10300 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10301 echo "$as_me:$LINENO: checking for $ac_func" >&5
10302 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10303 if eval "test \"\${$as_ac_var+set}\" = set"; then
10304 echo $ECHO_N "(cached) $ECHO_C" >&6
10305 else
10306 if test x$gcc_no_link = xyes; then
10307 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10308 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10309 { (exit 1); exit 1; }; }
10310 fi
10311 cat >conftest.$ac_ext <<_ACEOF
10312 /* confdefs.h. */
10313 _ACEOF
10314 cat confdefs.h >>conftest.$ac_ext
10315 cat >>conftest.$ac_ext <<_ACEOF
10316 /* end confdefs.h. */
10317 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10318 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10319 #define $ac_func innocuous_$ac_func
10320
10321 /* System header to define __stub macros and hopefully few prototypes,
10322 which can conflict with char $ac_func (); below.
10323 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10324 <limits.h> exists even on freestanding compilers. */
10325
10326 #ifdef __STDC__
10327 # include <limits.h>
10328 #else
10329 # include <assert.h>
10330 #endif
10331
10332 #undef $ac_func
10333
10334 /* Override any gcc2 internal prototype to avoid an error. */
10335 #ifdef __cplusplus
10336 extern "C"
10337 {
10338 #endif
10339 /* We use char because int might match the return type of a gcc2
10340 builtin and then its argument prototype would still apply. */
10341 char $ac_func ();
10342 /* The GNU C library defines this for functions which it implements
10343 to always fail with ENOSYS. Some functions are actually named
10344 something starting with __ and the normal name is an alias. */
10345 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10346 choke me
10347 #else
10348 char (*f) () = $ac_func;
10349 #endif
10350 #ifdef __cplusplus
10351 }
10352 #endif
10353
10354 int
10355 main ()
10356 {
10357 return f != $ac_func;
10358 ;
10359 return 0;
10360 }
10361 _ACEOF
10362 rm -f conftest.$ac_objext conftest$ac_exeext
10363 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10364 (eval $ac_link) 2>conftest.er1
10365 ac_status=$?
10366 grep -v '^ *+' conftest.er1 >conftest.err
10367 rm -f conftest.er1
10368 cat conftest.err >&5
10369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10370 (exit $ac_status); } &&
10371 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10373 (eval $ac_try) 2>&5
10374 ac_status=$?
10375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10376 (exit $ac_status); }; } &&
10377 { ac_try='test -s conftest$ac_exeext'
10378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10379 (eval $ac_try) 2>&5
10380 ac_status=$?
10381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10382 (exit $ac_status); }; }; then
10383 eval "$as_ac_var=yes"
10384 else
10385 echo "$as_me: failed program was:" >&5
10386 sed 's/^/| /' conftest.$ac_ext >&5
10387
10388 eval "$as_ac_var=no"
10389 fi
10390 rm -f conftest.err conftest.$ac_objext \
10391 conftest$ac_exeext conftest.$ac_ext
10392 fi
10393 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10394 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10395 if test `eval echo '${'$as_ac_var'}'` = yes; then
10396 cat >>confdefs.h <<_ACEOF
10397 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10398 _ACEOF
10399
10400 fi
10401 done
10402
10403 fi
10404 fi
10405
10406
10407
10408
10409
10410
10411 echo "$as_me:$LINENO: checking for fpclass declaration" >&5
10412 echo $ECHO_N "checking for fpclass declaration... $ECHO_C" >&6
10413 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
10414 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then
10415 echo $ECHO_N "(cached) $ECHO_C" >&6
10416 else
10417
10418
10419
10420 ac_ext=cc
10421 ac_cpp='$CXXCPP $CPPFLAGS'
10422 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10423 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10424 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10425
10426 cat >conftest.$ac_ext <<_ACEOF
10427 /* confdefs.h. */
10428 _ACEOF
10429 cat confdefs.h >>conftest.$ac_ext
10430 cat >>conftest.$ac_ext <<_ACEOF
10431 /* end confdefs.h. */
10432 #include <math.h>
10433 #ifdef HAVE_IEEEFP_H
10434 #include <ieeefp.h>
10435 #endif
10436
10437 int
10438 main ()
10439 {
10440 fpclass(0);
10441 ;
10442 return 0;
10443 }
10444 _ACEOF
10445 rm -f conftest.$ac_objext
10446 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10447 (eval $ac_compile) 2>conftest.er1
10448 ac_status=$?
10449 grep -v '^ *+' conftest.er1 >conftest.err
10450 rm -f conftest.er1
10451 cat conftest.err >&5
10452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10453 (exit $ac_status); } &&
10454 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
10455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10456 (eval $ac_try) 2>&5
10457 ac_status=$?
10458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10459 (exit $ac_status); }; } &&
10460 { ac_try='test -s conftest.$ac_objext'
10461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10462 (eval $ac_try) 2>&5
10463 ac_status=$?
10464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10465 (exit $ac_status); }; }; then
10466 glibcxx_cv_func_fpclass_use=yes
10467 else
10468 echo "$as_me: failed program was:" >&5
10469 sed 's/^/| /' conftest.$ac_ext >&5
10470
10471 glibcxx_cv_func_fpclass_use=no
10472 fi
10473 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10474 ac_ext=c
10475 ac_cpp='$CPP $CPPFLAGS'
10476 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10477 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10478 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10479
10480
10481 fi
10482
10483 fi
10484 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fpclass_use" >&5
10485 echo "${ECHO_T}$glibcxx_cv_func_fpclass_use" >&6
10486
10487 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
10488
10489 for ac_func in fpclass
10490 do
10491 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10492 echo "$as_me:$LINENO: checking for $ac_func" >&5
10493 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10494 if eval "test \"\${$as_ac_var+set}\" = set"; then
10495 echo $ECHO_N "(cached) $ECHO_C" >&6
10496 else
10497 if test x$gcc_no_link = xyes; then
10498 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10499 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10500 { (exit 1); exit 1; }; }
10501 fi
10502 cat >conftest.$ac_ext <<_ACEOF
10503 /* confdefs.h. */
10504 _ACEOF
10505 cat confdefs.h >>conftest.$ac_ext
10506 cat >>conftest.$ac_ext <<_ACEOF
10507 /* end confdefs.h. */
10508 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10509 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10510 #define $ac_func innocuous_$ac_func
10511
10512 /* System header to define __stub macros and hopefully few prototypes,
10513 which can conflict with char $ac_func (); below.
10514 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10515 <limits.h> exists even on freestanding compilers. */
10516
10517 #ifdef __STDC__
10518 # include <limits.h>
10519 #else
10520 # include <assert.h>
10521 #endif
10522
10523 #undef $ac_func
10524
10525 /* Override any gcc2 internal prototype to avoid an error. */
10526 #ifdef __cplusplus
10527 extern "C"
10528 {
10529 #endif
10530 /* We use char because int might match the return type of a gcc2
10531 builtin and then its argument prototype would still apply. */
10532 char $ac_func ();
10533 /* The GNU C library defines this for functions which it implements
10534 to always fail with ENOSYS. Some functions are actually named
10535 something starting with __ and the normal name is an alias. */
10536 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10537 choke me
10538 #else
10539 char (*f) () = $ac_func;
10540 #endif
10541 #ifdef __cplusplus
10542 }
10543 #endif
10544
10545 int
10546 main ()
10547 {
10548 return f != $ac_func;
10549 ;
10550 return 0;
10551 }
10552 _ACEOF
10553 rm -f conftest.$ac_objext conftest$ac_exeext
10554 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10555 (eval $ac_link) 2>conftest.er1
10556 ac_status=$?
10557 grep -v '^ *+' conftest.er1 >conftest.err
10558 rm -f conftest.er1
10559 cat conftest.err >&5
10560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10561 (exit $ac_status); } &&
10562 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10563 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10564 (eval $ac_try) 2>&5
10565 ac_status=$?
10566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10567 (exit $ac_status); }; } &&
10568 { ac_try='test -s conftest$ac_exeext'
10569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10570 (eval $ac_try) 2>&5
10571 ac_status=$?
10572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10573 (exit $ac_status); }; }; then
10574 eval "$as_ac_var=yes"
10575 else
10576 echo "$as_me: failed program was:" >&5
10577 sed 's/^/| /' conftest.$ac_ext >&5
10578
10579 eval "$as_ac_var=no"
10580 fi
10581 rm -f conftest.err conftest.$ac_objext \
10582 conftest$ac_exeext conftest.$ac_ext
10583 fi
10584 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10585 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10586 if test `eval echo '${'$as_ac_var'}'` = yes; then
10587 cat >>confdefs.h <<_ACEOF
10588 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10589 _ACEOF
10590
10591 fi
10592 done
10593
10594 else
10595
10596 echo "$as_me:$LINENO: checking for _fpclass declaration" >&5
10597 echo $ECHO_N "checking for _fpclass declaration... $ECHO_C" >&6
10598 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
10599 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then
10600 echo $ECHO_N "(cached) $ECHO_C" >&6
10601 else
10602
10603
10604
10605 ac_ext=cc
10606 ac_cpp='$CXXCPP $CPPFLAGS'
10607 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10608 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10609 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10610
10611 cat >conftest.$ac_ext <<_ACEOF
10612 /* confdefs.h. */
10613 _ACEOF
10614 cat confdefs.h >>conftest.$ac_ext
10615 cat >>conftest.$ac_ext <<_ACEOF
10616 /* end confdefs.h. */
10617 #include <math.h>
10618 #ifdef HAVE_IEEEFP_H
10619 #include <ieeefp.h>
10620 #endif
10621
10622 int
10623 main ()
10624 {
10625 _fpclass(0);
10626 ;
10627 return 0;
10628 }
10629 _ACEOF
10630 rm -f conftest.$ac_objext
10631 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10632 (eval $ac_compile) 2>conftest.er1
10633 ac_status=$?
10634 grep -v '^ *+' conftest.er1 >conftest.err
10635 rm -f conftest.er1
10636 cat conftest.err >&5
10637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10638 (exit $ac_status); } &&
10639 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
10640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10641 (eval $ac_try) 2>&5
10642 ac_status=$?
10643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10644 (exit $ac_status); }; } &&
10645 { ac_try='test -s conftest.$ac_objext'
10646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10647 (eval $ac_try) 2>&5
10648 ac_status=$?
10649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10650 (exit $ac_status); }; }; then
10651 glibcxx_cv_func__fpclass_use=yes
10652 else
10653 echo "$as_me: failed program was:" >&5
10654 sed 's/^/| /' conftest.$ac_ext >&5
10655
10656 glibcxx_cv_func__fpclass_use=no
10657 fi
10658 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10659 ac_ext=c
10660 ac_cpp='$CPP $CPPFLAGS'
10661 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10662 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10663 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10664
10665
10666 fi
10667
10668 fi
10669 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fpclass_use" >&5
10670 echo "${ECHO_T}$glibcxx_cv_func__fpclass_use" >&6
10671
10672 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
10673
10674 for ac_func in _fpclass
10675 do
10676 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10677 echo "$as_me:$LINENO: checking for $ac_func" >&5
10678 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10679 if eval "test \"\${$as_ac_var+set}\" = set"; then
10680 echo $ECHO_N "(cached) $ECHO_C" >&6
10681 else
10682 if test x$gcc_no_link = xyes; then
10683 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10684 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10685 { (exit 1); exit 1; }; }
10686 fi
10687 cat >conftest.$ac_ext <<_ACEOF
10688 /* confdefs.h. */
10689 _ACEOF
10690 cat confdefs.h >>conftest.$ac_ext
10691 cat >>conftest.$ac_ext <<_ACEOF
10692 /* end confdefs.h. */
10693 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10694 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10695 #define $ac_func innocuous_$ac_func
10696
10697 /* System header to define __stub macros and hopefully few prototypes,
10698 which can conflict with char $ac_func (); below.
10699 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10700 <limits.h> exists even on freestanding compilers. */
10701
10702 #ifdef __STDC__
10703 # include <limits.h>
10704 #else
10705 # include <assert.h>
10706 #endif
10707
10708 #undef $ac_func
10709
10710 /* Override any gcc2 internal prototype to avoid an error. */
10711 #ifdef __cplusplus
10712 extern "C"
10713 {
10714 #endif
10715 /* We use char because int might match the return type of a gcc2
10716 builtin and then its argument prototype would still apply. */
10717 char $ac_func ();
10718 /* The GNU C library defines this for functions which it implements
10719 to always fail with ENOSYS. Some functions are actually named
10720 something starting with __ and the normal name is an alias. */
10721 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10722 choke me
10723 #else
10724 char (*f) () = $ac_func;
10725 #endif
10726 #ifdef __cplusplus
10727 }
10728 #endif
10729
10730 int
10731 main ()
10732 {
10733 return f != $ac_func;
10734 ;
10735 return 0;
10736 }
10737 _ACEOF
10738 rm -f conftest.$ac_objext conftest$ac_exeext
10739 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10740 (eval $ac_link) 2>conftest.er1
10741 ac_status=$?
10742 grep -v '^ *+' conftest.er1 >conftest.err
10743 rm -f conftest.er1
10744 cat conftest.err >&5
10745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10746 (exit $ac_status); } &&
10747 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10749 (eval $ac_try) 2>&5
10750 ac_status=$?
10751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10752 (exit $ac_status); }; } &&
10753 { ac_try='test -s conftest$ac_exeext'
10754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10755 (eval $ac_try) 2>&5
10756 ac_status=$?
10757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10758 (exit $ac_status); }; }; then
10759 eval "$as_ac_var=yes"
10760 else
10761 echo "$as_me: failed program was:" >&5
10762 sed 's/^/| /' conftest.$ac_ext >&5
10763
10764 eval "$as_ac_var=no"
10765 fi
10766 rm -f conftest.err conftest.$ac_objext \
10767 conftest$ac_exeext conftest.$ac_ext
10768 fi
10769 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10770 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10771 if test `eval echo '${'$as_ac_var'}'` = yes; then
10772 cat >>confdefs.h <<_ACEOF
10773 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10774 _ACEOF
10775
10776 fi
10777 done
10778
10779 fi
10780 fi
10781
10782
10783
10784
10785
10786
10787 echo "$as_me:$LINENO: checking for qfpclass declaration" >&5
10788 echo $ECHO_N "checking for qfpclass declaration... $ECHO_C" >&6
10789 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
10790 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then
10791 echo $ECHO_N "(cached) $ECHO_C" >&6
10792 else
10793
10794
10795
10796 ac_ext=cc
10797 ac_cpp='$CXXCPP $CPPFLAGS'
10798 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10799 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10800 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10801
10802 cat >conftest.$ac_ext <<_ACEOF
10803 /* confdefs.h. */
10804 _ACEOF
10805 cat confdefs.h >>conftest.$ac_ext
10806 cat >>conftest.$ac_ext <<_ACEOF
10807 /* end confdefs.h. */
10808 #include <math.h>
10809 #ifdef HAVE_IEEEFP_H
10810 #include <ieeefp.h>
10811 #endif
10812
10813 int
10814 main ()
10815 {
10816 qfpclass(0);
10817 ;
10818 return 0;
10819 }
10820 _ACEOF
10821 rm -f conftest.$ac_objext
10822 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10823 (eval $ac_compile) 2>conftest.er1
10824 ac_status=$?
10825 grep -v '^ *+' conftest.er1 >conftest.err
10826 rm -f conftest.er1
10827 cat conftest.err >&5
10828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10829 (exit $ac_status); } &&
10830 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
10831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10832 (eval $ac_try) 2>&5
10833 ac_status=$?
10834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10835 (exit $ac_status); }; } &&
10836 { ac_try='test -s conftest.$ac_objext'
10837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10838 (eval $ac_try) 2>&5
10839 ac_status=$?
10840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10841 (exit $ac_status); }; }; then
10842 glibcxx_cv_func_qfpclass_use=yes
10843 else
10844 echo "$as_me: failed program was:" >&5
10845 sed 's/^/| /' conftest.$ac_ext >&5
10846
10847 glibcxx_cv_func_qfpclass_use=no
10848 fi
10849 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10850 ac_ext=c
10851 ac_cpp='$CPP $CPPFLAGS'
10852 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10853 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10854 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10855
10856
10857 fi
10858
10859 fi
10860 echo "$as_me:$LINENO: result: $glibcxx_cv_func_qfpclass_use" >&5
10861 echo "${ECHO_T}$glibcxx_cv_func_qfpclass_use" >&6
10862
10863 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
10864
10865 for ac_func in qfpclass
10866 do
10867 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10868 echo "$as_me:$LINENO: checking for $ac_func" >&5
10869 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10870 if eval "test \"\${$as_ac_var+set}\" = set"; then
10871 echo $ECHO_N "(cached) $ECHO_C" >&6
10872 else
10873 if test x$gcc_no_link = xyes; then
10874 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10875 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10876 { (exit 1); exit 1; }; }
10877 fi
10878 cat >conftest.$ac_ext <<_ACEOF
10879 /* confdefs.h. */
10880 _ACEOF
10881 cat confdefs.h >>conftest.$ac_ext
10882 cat >>conftest.$ac_ext <<_ACEOF
10883 /* end confdefs.h. */
10884 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10885 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10886 #define $ac_func innocuous_$ac_func
10887
10888 /* System header to define __stub macros and hopefully few prototypes,
10889 which can conflict with char $ac_func (); below.
10890 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10891 <limits.h> exists even on freestanding compilers. */
10892
10893 #ifdef __STDC__
10894 # include <limits.h>
10895 #else
10896 # include <assert.h>
10897 #endif
10898
10899 #undef $ac_func
10900
10901 /* Override any gcc2 internal prototype to avoid an error. */
10902 #ifdef __cplusplus
10903 extern "C"
10904 {
10905 #endif
10906 /* We use char because int might match the return type of a gcc2
10907 builtin and then its argument prototype would still apply. */
10908 char $ac_func ();
10909 /* The GNU C library defines this for functions which it implements
10910 to always fail with ENOSYS. Some functions are actually named
10911 something starting with __ and the normal name is an alias. */
10912 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10913 choke me
10914 #else
10915 char (*f) () = $ac_func;
10916 #endif
10917 #ifdef __cplusplus
10918 }
10919 #endif
10920
10921 int
10922 main ()
10923 {
10924 return f != $ac_func;
10925 ;
10926 return 0;
10927 }
10928 _ACEOF
10929 rm -f conftest.$ac_objext conftest$ac_exeext
10930 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10931 (eval $ac_link) 2>conftest.er1
10932 ac_status=$?
10933 grep -v '^ *+' conftest.er1 >conftest.err
10934 rm -f conftest.er1
10935 cat conftest.err >&5
10936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10937 (exit $ac_status); } &&
10938 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10940 (eval $ac_try) 2>&5
10941 ac_status=$?
10942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10943 (exit $ac_status); }; } &&
10944 { ac_try='test -s conftest$ac_exeext'
10945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10946 (eval $ac_try) 2>&5
10947 ac_status=$?
10948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10949 (exit $ac_status); }; }; then
10950 eval "$as_ac_var=yes"
10951 else
10952 echo "$as_me: failed program was:" >&5
10953 sed 's/^/| /' conftest.$ac_ext >&5
10954
10955 eval "$as_ac_var=no"
10956 fi
10957 rm -f conftest.err conftest.$ac_objext \
10958 conftest$ac_exeext conftest.$ac_ext
10959 fi
10960 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10961 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10962 if test `eval echo '${'$as_ac_var'}'` = yes; then
10963 cat >>confdefs.h <<_ACEOF
10964 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10965 _ACEOF
10966
10967 fi
10968 done
10969
10970 else
10971
10972 echo "$as_me:$LINENO: checking for _qfpclass declaration" >&5
10973 echo $ECHO_N "checking for _qfpclass declaration... $ECHO_C" >&6
10974 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
10975 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then
10976 echo $ECHO_N "(cached) $ECHO_C" >&6
10977 else
10978
10979
10980
10981 ac_ext=cc
10982 ac_cpp='$CXXCPP $CPPFLAGS'
10983 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10984 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10985 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10986
10987 cat >conftest.$ac_ext <<_ACEOF
10988 /* confdefs.h. */
10989 _ACEOF
10990 cat confdefs.h >>conftest.$ac_ext
10991 cat >>conftest.$ac_ext <<_ACEOF
10992 /* end confdefs.h. */
10993 #include <math.h>
10994 #ifdef HAVE_IEEEFP_H
10995 #include <ieeefp.h>
10996 #endif
10997
10998 int
10999 main ()
11000 {
11001 _qfpclass(0);
11002 ;
11003 return 0;
11004 }
11005 _ACEOF
11006 rm -f conftest.$ac_objext
11007 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11008 (eval $ac_compile) 2>conftest.er1
11009 ac_status=$?
11010 grep -v '^ *+' conftest.er1 >conftest.err
11011 rm -f conftest.er1
11012 cat conftest.err >&5
11013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11014 (exit $ac_status); } &&
11015 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
11016 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11017 (eval $ac_try) 2>&5
11018 ac_status=$?
11019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11020 (exit $ac_status); }; } &&
11021 { ac_try='test -s conftest.$ac_objext'
11022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11023 (eval $ac_try) 2>&5
11024 ac_status=$?
11025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11026 (exit $ac_status); }; }; then
11027 glibcxx_cv_func__qfpclass_use=yes
11028 else
11029 echo "$as_me: failed program was:" >&5
11030 sed 's/^/| /' conftest.$ac_ext >&5
11031
11032 glibcxx_cv_func__qfpclass_use=no
11033 fi
11034 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11035 ac_ext=c
11036 ac_cpp='$CPP $CPPFLAGS'
11037 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11038 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11039 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11040
11041
11042 fi
11043
11044 fi
11045 echo "$as_me:$LINENO: result: $glibcxx_cv_func__qfpclass_use" >&5
11046 echo "${ECHO_T}$glibcxx_cv_func__qfpclass_use" >&6
11047
11048 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
11049
11050 for ac_func in _qfpclass
11051 do
11052 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11053 echo "$as_me:$LINENO: checking for $ac_func" >&5
11054 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11055 if eval "test \"\${$as_ac_var+set}\" = set"; then
11056 echo $ECHO_N "(cached) $ECHO_C" >&6
11057 else
11058 if test x$gcc_no_link = xyes; then
11059 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11060 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11061 { (exit 1); exit 1; }; }
11062 fi
11063 cat >conftest.$ac_ext <<_ACEOF
11064 /* confdefs.h. */
11065 _ACEOF
11066 cat confdefs.h >>conftest.$ac_ext
11067 cat >>conftest.$ac_ext <<_ACEOF
11068 /* end confdefs.h. */
11069 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11070 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11071 #define $ac_func innocuous_$ac_func
11072
11073 /* System header to define __stub macros and hopefully few prototypes,
11074 which can conflict with char $ac_func (); below.
11075 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11076 <limits.h> exists even on freestanding compilers. */
11077
11078 #ifdef __STDC__
11079 # include <limits.h>
11080 #else
11081 # include <assert.h>
11082 #endif
11083
11084 #undef $ac_func
11085
11086 /* Override any gcc2 internal prototype to avoid an error. */
11087 #ifdef __cplusplus
11088 extern "C"
11089 {
11090 #endif
11091 /* We use char because int might match the return type of a gcc2
11092 builtin and then its argument prototype would still apply. */
11093 char $ac_func ();
11094 /* The GNU C library defines this for functions which it implements
11095 to always fail with ENOSYS. Some functions are actually named
11096 something starting with __ and the normal name is an alias. */
11097 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11098 choke me
11099 #else
11100 char (*f) () = $ac_func;
11101 #endif
11102 #ifdef __cplusplus
11103 }
11104 #endif
11105
11106 int
11107 main ()
11108 {
11109 return f != $ac_func;
11110 ;
11111 return 0;
11112 }
11113 _ACEOF
11114 rm -f conftest.$ac_objext conftest$ac_exeext
11115 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11116 (eval $ac_link) 2>conftest.er1
11117 ac_status=$?
11118 grep -v '^ *+' conftest.er1 >conftest.err
11119 rm -f conftest.er1
11120 cat conftest.err >&5
11121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11122 (exit $ac_status); } &&
11123 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11125 (eval $ac_try) 2>&5
11126 ac_status=$?
11127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11128 (exit $ac_status); }; } &&
11129 { ac_try='test -s conftest$ac_exeext'
11130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11131 (eval $ac_try) 2>&5
11132 ac_status=$?
11133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11134 (exit $ac_status); }; }; then
11135 eval "$as_ac_var=yes"
11136 else
11137 echo "$as_me: failed program was:" >&5
11138 sed 's/^/| /' conftest.$ac_ext >&5
11139
11140 eval "$as_ac_var=no"
11141 fi
11142 rm -f conftest.err conftest.$ac_objext \
11143 conftest$ac_exeext conftest.$ac_ext
11144 fi
11145 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11146 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11147 if test `eval echo '${'$as_ac_var'}'` = yes; then
11148 cat >>confdefs.h <<_ACEOF
11149 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11150 _ACEOF
11151
11152 fi
11153 done
11154
11155 fi
11156 fi
11157
11158
11159
11160
11161
11162
11163 echo "$as_me:$LINENO: checking for hypot declaration" >&5
11164 echo $ECHO_N "checking for hypot declaration... $ECHO_C" >&6
11165 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
11166 if test "${glibcxx_cv_func_hypot_use+set}" = set; then
11167 echo $ECHO_N "(cached) $ECHO_C" >&6
11168 else
11169
11170
11171
11172 ac_ext=cc
11173 ac_cpp='$CXXCPP $CPPFLAGS'
11174 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11175 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11176 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11177
11178 cat >conftest.$ac_ext <<_ACEOF
11179 /* confdefs.h. */
11180 _ACEOF
11181 cat confdefs.h >>conftest.$ac_ext
11182 cat >>conftest.$ac_ext <<_ACEOF
11183 /* end confdefs.h. */
11184 #include <math.h>
11185 int
11186 main ()
11187 {
11188 hypot(0, 0);
11189 ;
11190 return 0;
11191 }
11192 _ACEOF
11193 rm -f conftest.$ac_objext
11194 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11195 (eval $ac_compile) 2>conftest.er1
11196 ac_status=$?
11197 grep -v '^ *+' conftest.er1 >conftest.err
11198 rm -f conftest.er1
11199 cat conftest.err >&5
11200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11201 (exit $ac_status); } &&
11202 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
11203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11204 (eval $ac_try) 2>&5
11205 ac_status=$?
11206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11207 (exit $ac_status); }; } &&
11208 { ac_try='test -s conftest.$ac_objext'
11209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11210 (eval $ac_try) 2>&5
11211 ac_status=$?
11212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11213 (exit $ac_status); }; }; then
11214 glibcxx_cv_func_hypot_use=yes
11215 else
11216 echo "$as_me: failed program was:" >&5
11217 sed 's/^/| /' conftest.$ac_ext >&5
11218
11219 glibcxx_cv_func_hypot_use=no
11220 fi
11221 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11222 ac_ext=c
11223 ac_cpp='$CPP $CPPFLAGS'
11224 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11225 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11226 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11227
11228
11229 fi
11230
11231 fi
11232 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypot_use" >&5
11233 echo "${ECHO_T}$glibcxx_cv_func_hypot_use" >&6
11234
11235 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
11236
11237 for ac_func in hypot
11238 do
11239 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11240 echo "$as_me:$LINENO: checking for $ac_func" >&5
11241 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11242 if eval "test \"\${$as_ac_var+set}\" = set"; then
11243 echo $ECHO_N "(cached) $ECHO_C" >&6
11244 else
11245 if test x$gcc_no_link = xyes; then
11246 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11247 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11248 { (exit 1); exit 1; }; }
11249 fi
11250 cat >conftest.$ac_ext <<_ACEOF
11251 /* confdefs.h. */
11252 _ACEOF
11253 cat confdefs.h >>conftest.$ac_ext
11254 cat >>conftest.$ac_ext <<_ACEOF
11255 /* end confdefs.h. */
11256 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11257 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11258 #define $ac_func innocuous_$ac_func
11259
11260 /* System header to define __stub macros and hopefully few prototypes,
11261 which can conflict with char $ac_func (); below.
11262 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11263 <limits.h> exists even on freestanding compilers. */
11264
11265 #ifdef __STDC__
11266 # include <limits.h>
11267 #else
11268 # include <assert.h>
11269 #endif
11270
11271 #undef $ac_func
11272
11273 /* Override any gcc2 internal prototype to avoid an error. */
11274 #ifdef __cplusplus
11275 extern "C"
11276 {
11277 #endif
11278 /* We use char because int might match the return type of a gcc2
11279 builtin and then its argument prototype would still apply. */
11280 char $ac_func ();
11281 /* The GNU C library defines this for functions which it implements
11282 to always fail with ENOSYS. Some functions are actually named
11283 something starting with __ and the normal name is an alias. */
11284 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11285 choke me
11286 #else
11287 char (*f) () = $ac_func;
11288 #endif
11289 #ifdef __cplusplus
11290 }
11291 #endif
11292
11293 int
11294 main ()
11295 {
11296 return f != $ac_func;
11297 ;
11298 return 0;
11299 }
11300 _ACEOF
11301 rm -f conftest.$ac_objext conftest$ac_exeext
11302 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11303 (eval $ac_link) 2>conftest.er1
11304 ac_status=$?
11305 grep -v '^ *+' conftest.er1 >conftest.err
11306 rm -f conftest.er1
11307 cat conftest.err >&5
11308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11309 (exit $ac_status); } &&
11310 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11312 (eval $ac_try) 2>&5
11313 ac_status=$?
11314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11315 (exit $ac_status); }; } &&
11316 { ac_try='test -s conftest$ac_exeext'
11317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11318 (eval $ac_try) 2>&5
11319 ac_status=$?
11320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11321 (exit $ac_status); }; }; then
11322 eval "$as_ac_var=yes"
11323 else
11324 echo "$as_me: failed program was:" >&5
11325 sed 's/^/| /' conftest.$ac_ext >&5
11326
11327 eval "$as_ac_var=no"
11328 fi
11329 rm -f conftest.err conftest.$ac_objext \
11330 conftest$ac_exeext conftest.$ac_ext
11331 fi
11332 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11333 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11334 if test `eval echo '${'$as_ac_var'}'` = yes; then
11335 cat >>confdefs.h <<_ACEOF
11336 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11337 _ACEOF
11338
11339 fi
11340 done
11341
11342 else
11343
11344 echo "$as_me:$LINENO: checking for _hypot declaration" >&5
11345 echo $ECHO_N "checking for _hypot declaration... $ECHO_C" >&6
11346 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
11347 if test "${glibcxx_cv_func__hypot_use+set}" = set; then
11348 echo $ECHO_N "(cached) $ECHO_C" >&6
11349 else
11350
11351
11352
11353 ac_ext=cc
11354 ac_cpp='$CXXCPP $CPPFLAGS'
11355 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11356 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11357 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11358
11359 cat >conftest.$ac_ext <<_ACEOF
11360 /* confdefs.h. */
11361 _ACEOF
11362 cat confdefs.h >>conftest.$ac_ext
11363 cat >>conftest.$ac_ext <<_ACEOF
11364 /* end confdefs.h. */
11365 #include <math.h>
11366 int
11367 main ()
11368 {
11369 _hypot(0, 0);
11370 ;
11371 return 0;
11372 }
11373 _ACEOF
11374 rm -f conftest.$ac_objext
11375 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11376 (eval $ac_compile) 2>conftest.er1
11377 ac_status=$?
11378 grep -v '^ *+' conftest.er1 >conftest.err
11379 rm -f conftest.er1
11380 cat conftest.err >&5
11381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11382 (exit $ac_status); } &&
11383 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
11384 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11385 (eval $ac_try) 2>&5
11386 ac_status=$?
11387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11388 (exit $ac_status); }; } &&
11389 { ac_try='test -s conftest.$ac_objext'
11390 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11391 (eval $ac_try) 2>&5
11392 ac_status=$?
11393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11394 (exit $ac_status); }; }; then
11395 glibcxx_cv_func__hypot_use=yes
11396 else
11397 echo "$as_me: failed program was:" >&5
11398 sed 's/^/| /' conftest.$ac_ext >&5
11399
11400 glibcxx_cv_func__hypot_use=no
11401 fi
11402 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11403 ac_ext=c
11404 ac_cpp='$CPP $CPPFLAGS'
11405 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11406 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11407 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11408
11409
11410 fi
11411
11412 fi
11413 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypot_use" >&5
11414 echo "${ECHO_T}$glibcxx_cv_func__hypot_use" >&6
11415
11416 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
11417
11418 for ac_func in _hypot
11419 do
11420 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11421 echo "$as_me:$LINENO: checking for $ac_func" >&5
11422 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11423 if eval "test \"\${$as_ac_var+set}\" = set"; then
11424 echo $ECHO_N "(cached) $ECHO_C" >&6
11425 else
11426 if test x$gcc_no_link = xyes; then
11427 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11428 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11429 { (exit 1); exit 1; }; }
11430 fi
11431 cat >conftest.$ac_ext <<_ACEOF
11432 /* confdefs.h. */
11433 _ACEOF
11434 cat confdefs.h >>conftest.$ac_ext
11435 cat >>conftest.$ac_ext <<_ACEOF
11436 /* end confdefs.h. */
11437 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11438 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11439 #define $ac_func innocuous_$ac_func
11440
11441 /* System header to define __stub macros and hopefully few prototypes,
11442 which can conflict with char $ac_func (); below.
11443 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11444 <limits.h> exists even on freestanding compilers. */
11445
11446 #ifdef __STDC__
11447 # include <limits.h>
11448 #else
11449 # include <assert.h>
11450 #endif
11451
11452 #undef $ac_func
11453
11454 /* Override any gcc2 internal prototype to avoid an error. */
11455 #ifdef __cplusplus
11456 extern "C"
11457 {
11458 #endif
11459 /* We use char because int might match the return type of a gcc2
11460 builtin and then its argument prototype would still apply. */
11461 char $ac_func ();
11462 /* The GNU C library defines this for functions which it implements
11463 to always fail with ENOSYS. Some functions are actually named
11464 something starting with __ and the normal name is an alias. */
11465 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11466 choke me
11467 #else
11468 char (*f) () = $ac_func;
11469 #endif
11470 #ifdef __cplusplus
11471 }
11472 #endif
11473
11474 int
11475 main ()
11476 {
11477 return f != $ac_func;
11478 ;
11479 return 0;
11480 }
11481 _ACEOF
11482 rm -f conftest.$ac_objext conftest$ac_exeext
11483 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11484 (eval $ac_link) 2>conftest.er1
11485 ac_status=$?
11486 grep -v '^ *+' conftest.er1 >conftest.err
11487 rm -f conftest.er1
11488 cat conftest.err >&5
11489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11490 (exit $ac_status); } &&
11491 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11493 (eval $ac_try) 2>&5
11494 ac_status=$?
11495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11496 (exit $ac_status); }; } &&
11497 { ac_try='test -s conftest$ac_exeext'
11498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11499 (eval $ac_try) 2>&5
11500 ac_status=$?
11501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11502 (exit $ac_status); }; }; then
11503 eval "$as_ac_var=yes"
11504 else
11505 echo "$as_me: failed program was:" >&5
11506 sed 's/^/| /' conftest.$ac_ext >&5
11507
11508 eval "$as_ac_var=no"
11509 fi
11510 rm -f conftest.err conftest.$ac_objext \
11511 conftest$ac_exeext conftest.$ac_ext
11512 fi
11513 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11514 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11515 if test `eval echo '${'$as_ac_var'}'` = yes; then
11516 cat >>confdefs.h <<_ACEOF
11517 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11518 _ACEOF
11519
11520 fi
11521 done
11522
11523 fi
11524 fi
11525
11526
11527
11528
11529
11530
11531 echo "$as_me:$LINENO: checking for float trig functions" >&5
11532 echo $ECHO_N "checking for float trig functions... $ECHO_C" >&6
11533 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then
11534 echo $ECHO_N "(cached) $ECHO_C" >&6
11535 else
11536
11537
11538
11539 ac_ext=cc
11540 ac_cpp='$CXXCPP $CPPFLAGS'
11541 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11542 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11543 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11544
11545 cat >conftest.$ac_ext <<_ACEOF
11546 /* confdefs.h. */
11547 _ACEOF
11548 cat confdefs.h >>conftest.$ac_ext
11549 cat >>conftest.$ac_ext <<_ACEOF
11550 /* end confdefs.h. */
11551 #include <math.h>
11552 int
11553 main ()
11554 {
11555 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
11556 ;
11557 return 0;
11558 }
11559 _ACEOF
11560 rm -f conftest.$ac_objext
11561 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11562 (eval $ac_compile) 2>conftest.er1
11563 ac_status=$?
11564 grep -v '^ *+' conftest.er1 >conftest.err
11565 rm -f conftest.er1
11566 cat conftest.err >&5
11567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11568 (exit $ac_status); } &&
11569 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
11570 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11571 (eval $ac_try) 2>&5
11572 ac_status=$?
11573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11574 (exit $ac_status); }; } &&
11575 { ac_try='test -s conftest.$ac_objext'
11576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11577 (eval $ac_try) 2>&5
11578 ac_status=$?
11579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11580 (exit $ac_status); }; }; then
11581 glibcxx_cv_func_float_trig_use=yes
11582 else
11583 echo "$as_me: failed program was:" >&5
11584 sed 's/^/| /' conftest.$ac_ext >&5
11585
11586 glibcxx_cv_func_float_trig_use=no
11587 fi
11588 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11589 ac_ext=c
11590 ac_cpp='$CPP $CPPFLAGS'
11591 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11592 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11593 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11594
11595 fi
11596
11597 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_trig_use" >&5
11598 echo "${ECHO_T}$glibcxx_cv_func_float_trig_use" >&6
11599 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
11600
11601
11602
11603
11604
11605
11606
11607
11608
11609 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
11610 do
11611 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11612 echo "$as_me:$LINENO: checking for $ac_func" >&5
11613 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11614 if eval "test \"\${$as_ac_var+set}\" = set"; then
11615 echo $ECHO_N "(cached) $ECHO_C" >&6
11616 else
11617 if test x$gcc_no_link = xyes; then
11618 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11619 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11620 { (exit 1); exit 1; }; }
11621 fi
11622 cat >conftest.$ac_ext <<_ACEOF
11623 /* confdefs.h. */
11624 _ACEOF
11625 cat confdefs.h >>conftest.$ac_ext
11626 cat >>conftest.$ac_ext <<_ACEOF
11627 /* end confdefs.h. */
11628 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11629 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11630 #define $ac_func innocuous_$ac_func
11631
11632 /* System header to define __stub macros and hopefully few prototypes,
11633 which can conflict with char $ac_func (); below.
11634 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11635 <limits.h> exists even on freestanding compilers. */
11636
11637 #ifdef __STDC__
11638 # include <limits.h>
11639 #else
11640 # include <assert.h>
11641 #endif
11642
11643 #undef $ac_func
11644
11645 /* Override any gcc2 internal prototype to avoid an error. */
11646 #ifdef __cplusplus
11647 extern "C"
11648 {
11649 #endif
11650 /* We use char because int might match the return type of a gcc2
11651 builtin and then its argument prototype would still apply. */
11652 char $ac_func ();
11653 /* The GNU C library defines this for functions which it implements
11654 to always fail with ENOSYS. Some functions are actually named
11655 something starting with __ and the normal name is an alias. */
11656 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11657 choke me
11658 #else
11659 char (*f) () = $ac_func;
11660 #endif
11661 #ifdef __cplusplus
11662 }
11663 #endif
11664
11665 int
11666 main ()
11667 {
11668 return f != $ac_func;
11669 ;
11670 return 0;
11671 }
11672 _ACEOF
11673 rm -f conftest.$ac_objext conftest$ac_exeext
11674 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11675 (eval $ac_link) 2>conftest.er1
11676 ac_status=$?
11677 grep -v '^ *+' conftest.er1 >conftest.err
11678 rm -f conftest.er1
11679 cat conftest.err >&5
11680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11681 (exit $ac_status); } &&
11682 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11684 (eval $ac_try) 2>&5
11685 ac_status=$?
11686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11687 (exit $ac_status); }; } &&
11688 { ac_try='test -s conftest$ac_exeext'
11689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11690 (eval $ac_try) 2>&5
11691 ac_status=$?
11692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11693 (exit $ac_status); }; }; then
11694 eval "$as_ac_var=yes"
11695 else
11696 echo "$as_me: failed program was:" >&5
11697 sed 's/^/| /' conftest.$ac_ext >&5
11698
11699 eval "$as_ac_var=no"
11700 fi
11701 rm -f conftest.err conftest.$ac_objext \
11702 conftest$ac_exeext conftest.$ac_ext
11703 fi
11704 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11705 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11706 if test `eval echo '${'$as_ac_var'}'` = yes; then
11707 cat >>confdefs.h <<_ACEOF
11708 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11709 _ACEOF
11710
11711 fi
11712 done
11713
11714 else
11715 echo "$as_me:$LINENO: checking for _float trig functions" >&5
11716 echo $ECHO_N "checking for _float trig functions... $ECHO_C" >&6
11717 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then
11718 echo $ECHO_N "(cached) $ECHO_C" >&6
11719 else
11720
11721
11722
11723 ac_ext=cc
11724 ac_cpp='$CXXCPP $CPPFLAGS'
11725 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11726 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11727 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11728
11729 cat >conftest.$ac_ext <<_ACEOF
11730 /* confdefs.h. */
11731 _ACEOF
11732 cat confdefs.h >>conftest.$ac_ext
11733 cat >>conftest.$ac_ext <<_ACEOF
11734 /* end confdefs.h. */
11735 #include <math.h>
11736 int
11737 main ()
11738 {
11739 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
11740 ;
11741 return 0;
11742 }
11743 _ACEOF
11744 rm -f conftest.$ac_objext
11745 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11746 (eval $ac_compile) 2>conftest.er1
11747 ac_status=$?
11748 grep -v '^ *+' conftest.er1 >conftest.err
11749 rm -f conftest.er1
11750 cat conftest.err >&5
11751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11752 (exit $ac_status); } &&
11753 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
11754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11755 (eval $ac_try) 2>&5
11756 ac_status=$?
11757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11758 (exit $ac_status); }; } &&
11759 { ac_try='test -s conftest.$ac_objext'
11760 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11761 (eval $ac_try) 2>&5
11762 ac_status=$?
11763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11764 (exit $ac_status); }; }; then
11765 glibcxx_cv_func__float_trig_use=yes
11766 else
11767 echo "$as_me: failed program was:" >&5
11768 sed 's/^/| /' conftest.$ac_ext >&5
11769
11770 glibcxx_cv_func__float_trig_use=no
11771 fi
11772 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11773 ac_ext=c
11774 ac_cpp='$CPP $CPPFLAGS'
11775 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11776 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11777 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11778
11779 fi
11780
11781 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_trig_use" >&5
11782 echo "${ECHO_T}$glibcxx_cv_func__float_trig_use" >&6
11783 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
11784
11785
11786
11787
11788
11789
11790
11791
11792
11793 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
11794 do
11795 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11796 echo "$as_me:$LINENO: checking for $ac_func" >&5
11797 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11798 if eval "test \"\${$as_ac_var+set}\" = set"; then
11799 echo $ECHO_N "(cached) $ECHO_C" >&6
11800 else
11801 if test x$gcc_no_link = xyes; then
11802 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11803 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11804 { (exit 1); exit 1; }; }
11805 fi
11806 cat >conftest.$ac_ext <<_ACEOF
11807 /* confdefs.h. */
11808 _ACEOF
11809 cat confdefs.h >>conftest.$ac_ext
11810 cat >>conftest.$ac_ext <<_ACEOF
11811 /* end confdefs.h. */
11812 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11813 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11814 #define $ac_func innocuous_$ac_func
11815
11816 /* System header to define __stub macros and hopefully few prototypes,
11817 which can conflict with char $ac_func (); below.
11818 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11819 <limits.h> exists even on freestanding compilers. */
11820
11821 #ifdef __STDC__
11822 # include <limits.h>
11823 #else
11824 # include <assert.h>
11825 #endif
11826
11827 #undef $ac_func
11828
11829 /* Override any gcc2 internal prototype to avoid an error. */
11830 #ifdef __cplusplus
11831 extern "C"
11832 {
11833 #endif
11834 /* We use char because int might match the return type of a gcc2
11835 builtin and then its argument prototype would still apply. */
11836 char $ac_func ();
11837 /* The GNU C library defines this for functions which it implements
11838 to always fail with ENOSYS. Some functions are actually named
11839 something starting with __ and the normal name is an alias. */
11840 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11841 choke me
11842 #else
11843 char (*f) () = $ac_func;
11844 #endif
11845 #ifdef __cplusplus
11846 }
11847 #endif
11848
11849 int
11850 main ()
11851 {
11852 return f != $ac_func;
11853 ;
11854 return 0;
11855 }
11856 _ACEOF
11857 rm -f conftest.$ac_objext conftest$ac_exeext
11858 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11859 (eval $ac_link) 2>conftest.er1
11860 ac_status=$?
11861 grep -v '^ *+' conftest.er1 >conftest.err
11862 rm -f conftest.er1
11863 cat conftest.err >&5
11864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11865 (exit $ac_status); } &&
11866 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11868 (eval $ac_try) 2>&5
11869 ac_status=$?
11870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11871 (exit $ac_status); }; } &&
11872 { ac_try='test -s conftest$ac_exeext'
11873 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11874 (eval $ac_try) 2>&5
11875 ac_status=$?
11876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11877 (exit $ac_status); }; }; then
11878 eval "$as_ac_var=yes"
11879 else
11880 echo "$as_me: failed program was:" >&5
11881 sed 's/^/| /' conftest.$ac_ext >&5
11882
11883 eval "$as_ac_var=no"
11884 fi
11885 rm -f conftest.err conftest.$ac_objext \
11886 conftest$ac_exeext conftest.$ac_ext
11887 fi
11888 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11889 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11890 if test `eval echo '${'$as_ac_var'}'` = yes; then
11891 cat >>confdefs.h <<_ACEOF
11892 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11893 _ACEOF
11894
11895 fi
11896 done
11897
11898 fi
11899 fi
11900
11901
11902
11903
11904
11905
11906
11907
11908
11909
11910
11911
11912
11913
11914 echo "$as_me:$LINENO: checking for float round functions" >&5
11915 echo $ECHO_N "checking for float round functions... $ECHO_C" >&6
11916 if test "${glibcxx_cv_func_float_round_use+set}" = set; then
11917 echo $ECHO_N "(cached) $ECHO_C" >&6
11918 else
11919
11920
11921
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
11927
11928 cat >conftest.$ac_ext <<_ACEOF
11929 /* confdefs.h. */
11930 _ACEOF
11931 cat confdefs.h >>conftest.$ac_ext
11932 cat >>conftest.$ac_ext <<_ACEOF
11933 /* end confdefs.h. */
11934 #include <math.h>
11935 int
11936 main ()
11937 {
11938 ceilf (0); floorf (0);
11939 ;
11940 return 0;
11941 }
11942 _ACEOF
11943 rm -f conftest.$ac_objext
11944 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11945 (eval $ac_compile) 2>conftest.er1
11946 ac_status=$?
11947 grep -v '^ *+' conftest.er1 >conftest.err
11948 rm -f conftest.er1
11949 cat conftest.err >&5
11950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11951 (exit $ac_status); } &&
11952 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
11953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11954 (eval $ac_try) 2>&5
11955 ac_status=$?
11956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11957 (exit $ac_status); }; } &&
11958 { ac_try='test -s conftest.$ac_objext'
11959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11960 (eval $ac_try) 2>&5
11961 ac_status=$?
11962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11963 (exit $ac_status); }; }; then
11964 glibcxx_cv_func_float_round_use=yes
11965 else
11966 echo "$as_me: failed program was:" >&5
11967 sed 's/^/| /' conftest.$ac_ext >&5
11968
11969 glibcxx_cv_func_float_round_use=no
11970 fi
11971 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11972 ac_ext=c
11973 ac_cpp='$CPP $CPPFLAGS'
11974 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11975 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11976 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11977
11978 fi
11979
11980 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_round_use" >&5
11981 echo "${ECHO_T}$glibcxx_cv_func_float_round_use" >&6
11982 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
11983
11984
11985 for ac_func in ceilf floorf
11986 do
11987 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11988 echo "$as_me:$LINENO: checking for $ac_func" >&5
11989 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11990 if eval "test \"\${$as_ac_var+set}\" = set"; then
11991 echo $ECHO_N "(cached) $ECHO_C" >&6
11992 else
11993 if test x$gcc_no_link = xyes; then
11994 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11995 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11996 { (exit 1); exit 1; }; }
11997 fi
11998 cat >conftest.$ac_ext <<_ACEOF
11999 /* confdefs.h. */
12000 _ACEOF
12001 cat confdefs.h >>conftest.$ac_ext
12002 cat >>conftest.$ac_ext <<_ACEOF
12003 /* end confdefs.h. */
12004 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12005 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12006 #define $ac_func innocuous_$ac_func
12007
12008 /* System header to define __stub macros and hopefully few prototypes,
12009 which can conflict with char $ac_func (); below.
12010 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12011 <limits.h> exists even on freestanding compilers. */
12012
12013 #ifdef __STDC__
12014 # include <limits.h>
12015 #else
12016 # include <assert.h>
12017 #endif
12018
12019 #undef $ac_func
12020
12021 /* Override any gcc2 internal prototype to avoid an error. */
12022 #ifdef __cplusplus
12023 extern "C"
12024 {
12025 #endif
12026 /* We use char because int might match the return type of a gcc2
12027 builtin and then its argument prototype would still apply. */
12028 char $ac_func ();
12029 /* The GNU C library defines this for functions which it implements
12030 to always fail with ENOSYS. Some functions are actually named
12031 something starting with __ and the normal name is an alias. */
12032 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12033 choke me
12034 #else
12035 char (*f) () = $ac_func;
12036 #endif
12037 #ifdef __cplusplus
12038 }
12039 #endif
12040
12041 int
12042 main ()
12043 {
12044 return f != $ac_func;
12045 ;
12046 return 0;
12047 }
12048 _ACEOF
12049 rm -f conftest.$ac_objext conftest$ac_exeext
12050 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12051 (eval $ac_link) 2>conftest.er1
12052 ac_status=$?
12053 grep -v '^ *+' conftest.er1 >conftest.err
12054 rm -f conftest.er1
12055 cat conftest.err >&5
12056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12057 (exit $ac_status); } &&
12058 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12060 (eval $ac_try) 2>&5
12061 ac_status=$?
12062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12063 (exit $ac_status); }; } &&
12064 { ac_try='test -s conftest$ac_exeext'
12065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12066 (eval $ac_try) 2>&5
12067 ac_status=$?
12068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12069 (exit $ac_status); }; }; then
12070 eval "$as_ac_var=yes"
12071 else
12072 echo "$as_me: failed program was:" >&5
12073 sed 's/^/| /' conftest.$ac_ext >&5
12074
12075 eval "$as_ac_var=no"
12076 fi
12077 rm -f conftest.err conftest.$ac_objext \
12078 conftest$ac_exeext conftest.$ac_ext
12079 fi
12080 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12081 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12082 if test `eval echo '${'$as_ac_var'}'` = yes; then
12083 cat >>confdefs.h <<_ACEOF
12084 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12085 _ACEOF
12086
12087 fi
12088 done
12089
12090 else
12091 echo "$as_me:$LINENO: checking for _float round functions" >&5
12092 echo $ECHO_N "checking for _float round functions... $ECHO_C" >&6
12093 if test "${glibcxx_cv_func__float_round_use+set}" = set; then
12094 echo $ECHO_N "(cached) $ECHO_C" >&6
12095 else
12096
12097
12098
12099 ac_ext=cc
12100 ac_cpp='$CXXCPP $CPPFLAGS'
12101 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12102 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12103 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12104
12105 cat >conftest.$ac_ext <<_ACEOF
12106 /* confdefs.h. */
12107 _ACEOF
12108 cat confdefs.h >>conftest.$ac_ext
12109 cat >>conftest.$ac_ext <<_ACEOF
12110 /* end confdefs.h. */
12111 #include <math.h>
12112 int
12113 main ()
12114 {
12115 _ceilf (0); _floorf (0);
12116 ;
12117 return 0;
12118 }
12119 _ACEOF
12120 rm -f conftest.$ac_objext
12121 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12122 (eval $ac_compile) 2>conftest.er1
12123 ac_status=$?
12124 grep -v '^ *+' conftest.er1 >conftest.err
12125 rm -f conftest.er1
12126 cat conftest.err >&5
12127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12128 (exit $ac_status); } &&
12129 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12131 (eval $ac_try) 2>&5
12132 ac_status=$?
12133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12134 (exit $ac_status); }; } &&
12135 { ac_try='test -s conftest.$ac_objext'
12136 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12137 (eval $ac_try) 2>&5
12138 ac_status=$?
12139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12140 (exit $ac_status); }; }; then
12141 glibcxx_cv_func__float_round_use=yes
12142 else
12143 echo "$as_me: failed program was:" >&5
12144 sed 's/^/| /' conftest.$ac_ext >&5
12145
12146 glibcxx_cv_func__float_round_use=no
12147 fi
12148 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12149 ac_ext=c
12150 ac_cpp='$CPP $CPPFLAGS'
12151 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12152 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12153 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12154
12155 fi
12156
12157 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_round_use" >&5
12158 echo "${ECHO_T}$glibcxx_cv_func__float_round_use" >&6
12159 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
12160
12161
12162 for ac_func in _ceilf _floorf
12163 do
12164 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12165 echo "$as_me:$LINENO: checking for $ac_func" >&5
12166 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12167 if eval "test \"\${$as_ac_var+set}\" = set"; then
12168 echo $ECHO_N "(cached) $ECHO_C" >&6
12169 else
12170 if test x$gcc_no_link = xyes; then
12171 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12172 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12173 { (exit 1); exit 1; }; }
12174 fi
12175 cat >conftest.$ac_ext <<_ACEOF
12176 /* confdefs.h. */
12177 _ACEOF
12178 cat confdefs.h >>conftest.$ac_ext
12179 cat >>conftest.$ac_ext <<_ACEOF
12180 /* end confdefs.h. */
12181 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12182 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12183 #define $ac_func innocuous_$ac_func
12184
12185 /* System header to define __stub macros and hopefully few prototypes,
12186 which can conflict with char $ac_func (); below.
12187 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12188 <limits.h> exists even on freestanding compilers. */
12189
12190 #ifdef __STDC__
12191 # include <limits.h>
12192 #else
12193 # include <assert.h>
12194 #endif
12195
12196 #undef $ac_func
12197
12198 /* Override any gcc2 internal prototype to avoid an error. */
12199 #ifdef __cplusplus
12200 extern "C"
12201 {
12202 #endif
12203 /* We use char because int might match the return type of a gcc2
12204 builtin and then its argument prototype would still apply. */
12205 char $ac_func ();
12206 /* The GNU C library defines this for functions which it implements
12207 to always fail with ENOSYS. Some functions are actually named
12208 something starting with __ and the normal name is an alias. */
12209 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12210 choke me
12211 #else
12212 char (*f) () = $ac_func;
12213 #endif
12214 #ifdef __cplusplus
12215 }
12216 #endif
12217
12218 int
12219 main ()
12220 {
12221 return f != $ac_func;
12222 ;
12223 return 0;
12224 }
12225 _ACEOF
12226 rm -f conftest.$ac_objext conftest$ac_exeext
12227 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12228 (eval $ac_link) 2>conftest.er1
12229 ac_status=$?
12230 grep -v '^ *+' conftest.er1 >conftest.err
12231 rm -f conftest.er1
12232 cat conftest.err >&5
12233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12234 (exit $ac_status); } &&
12235 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12236 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12237 (eval $ac_try) 2>&5
12238 ac_status=$?
12239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12240 (exit $ac_status); }; } &&
12241 { ac_try='test -s conftest$ac_exeext'
12242 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12243 (eval $ac_try) 2>&5
12244 ac_status=$?
12245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12246 (exit $ac_status); }; }; then
12247 eval "$as_ac_var=yes"
12248 else
12249 echo "$as_me: failed program was:" >&5
12250 sed 's/^/| /' conftest.$ac_ext >&5
12251
12252 eval "$as_ac_var=no"
12253 fi
12254 rm -f conftest.err conftest.$ac_objext \
12255 conftest$ac_exeext conftest.$ac_ext
12256 fi
12257 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12258 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12259 if test `eval echo '${'$as_ac_var'}'` = yes; then
12260 cat >>confdefs.h <<_ACEOF
12261 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12262 _ACEOF
12263
12264 fi
12265 done
12266
12267 fi
12268 fi
12269
12270
12271
12272
12273
12274
12275
12276
12277 echo "$as_me:$LINENO: checking for expf declaration" >&5
12278 echo $ECHO_N "checking for expf declaration... $ECHO_C" >&6
12279 if test x${glibcxx_cv_func_expf_use+set} != xset; then
12280 if test "${glibcxx_cv_func_expf_use+set}" = set; then
12281 echo $ECHO_N "(cached) $ECHO_C" >&6
12282 else
12283
12284
12285
12286 ac_ext=cc
12287 ac_cpp='$CXXCPP $CPPFLAGS'
12288 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12289 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12290 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12291
12292 cat >conftest.$ac_ext <<_ACEOF
12293 /* confdefs.h. */
12294 _ACEOF
12295 cat confdefs.h >>conftest.$ac_ext
12296 cat >>conftest.$ac_ext <<_ACEOF
12297 /* end confdefs.h. */
12298 #include <math.h>
12299 #ifdef HAVE_IEEEFP_H
12300 #include <ieeefp.h>
12301 #endif
12302
12303 int
12304 main ()
12305 {
12306 expf(0);
12307 ;
12308 return 0;
12309 }
12310 _ACEOF
12311 rm -f conftest.$ac_objext
12312 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12313 (eval $ac_compile) 2>conftest.er1
12314 ac_status=$?
12315 grep -v '^ *+' conftest.er1 >conftest.err
12316 rm -f conftest.er1
12317 cat conftest.err >&5
12318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12319 (exit $ac_status); } &&
12320 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12322 (eval $ac_try) 2>&5
12323 ac_status=$?
12324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12325 (exit $ac_status); }; } &&
12326 { ac_try='test -s conftest.$ac_objext'
12327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12328 (eval $ac_try) 2>&5
12329 ac_status=$?
12330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12331 (exit $ac_status); }; }; then
12332 glibcxx_cv_func_expf_use=yes
12333 else
12334 echo "$as_me: failed program was:" >&5
12335 sed 's/^/| /' conftest.$ac_ext >&5
12336
12337 glibcxx_cv_func_expf_use=no
12338 fi
12339 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12340 ac_ext=c
12341 ac_cpp='$CPP $CPPFLAGS'
12342 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12343 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12344 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12345
12346
12347 fi
12348
12349 fi
12350 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expf_use" >&5
12351 echo "${ECHO_T}$glibcxx_cv_func_expf_use" >&6
12352
12353 if test x$glibcxx_cv_func_expf_use = x"yes"; then
12354
12355 for ac_func in expf
12356 do
12357 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12358 echo "$as_me:$LINENO: checking for $ac_func" >&5
12359 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12360 if eval "test \"\${$as_ac_var+set}\" = set"; then
12361 echo $ECHO_N "(cached) $ECHO_C" >&6
12362 else
12363 if test x$gcc_no_link = xyes; then
12364 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12365 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12366 { (exit 1); exit 1; }; }
12367 fi
12368 cat >conftest.$ac_ext <<_ACEOF
12369 /* confdefs.h. */
12370 _ACEOF
12371 cat confdefs.h >>conftest.$ac_ext
12372 cat >>conftest.$ac_ext <<_ACEOF
12373 /* end confdefs.h. */
12374 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12375 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12376 #define $ac_func innocuous_$ac_func
12377
12378 /* System header to define __stub macros and hopefully few prototypes,
12379 which can conflict with char $ac_func (); below.
12380 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12381 <limits.h> exists even on freestanding compilers. */
12382
12383 #ifdef __STDC__
12384 # include <limits.h>
12385 #else
12386 # include <assert.h>
12387 #endif
12388
12389 #undef $ac_func
12390
12391 /* Override any gcc2 internal prototype to avoid an error. */
12392 #ifdef __cplusplus
12393 extern "C"
12394 {
12395 #endif
12396 /* We use char because int might match the return type of a gcc2
12397 builtin and then its argument prototype would still apply. */
12398 char $ac_func ();
12399 /* The GNU C library defines this for functions which it implements
12400 to always fail with ENOSYS. Some functions are actually named
12401 something starting with __ and the normal name is an alias. */
12402 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12403 choke me
12404 #else
12405 char (*f) () = $ac_func;
12406 #endif
12407 #ifdef __cplusplus
12408 }
12409 #endif
12410
12411 int
12412 main ()
12413 {
12414 return f != $ac_func;
12415 ;
12416 return 0;
12417 }
12418 _ACEOF
12419 rm -f conftest.$ac_objext conftest$ac_exeext
12420 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12421 (eval $ac_link) 2>conftest.er1
12422 ac_status=$?
12423 grep -v '^ *+' conftest.er1 >conftest.err
12424 rm -f conftest.er1
12425 cat conftest.err >&5
12426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12427 (exit $ac_status); } &&
12428 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12430 (eval $ac_try) 2>&5
12431 ac_status=$?
12432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12433 (exit $ac_status); }; } &&
12434 { ac_try='test -s conftest$ac_exeext'
12435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12436 (eval $ac_try) 2>&5
12437 ac_status=$?
12438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12439 (exit $ac_status); }; }; then
12440 eval "$as_ac_var=yes"
12441 else
12442 echo "$as_me: failed program was:" >&5
12443 sed 's/^/| /' conftest.$ac_ext >&5
12444
12445 eval "$as_ac_var=no"
12446 fi
12447 rm -f conftest.err conftest.$ac_objext \
12448 conftest$ac_exeext conftest.$ac_ext
12449 fi
12450 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12451 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12452 if test `eval echo '${'$as_ac_var'}'` = yes; then
12453 cat >>confdefs.h <<_ACEOF
12454 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12455 _ACEOF
12456
12457 fi
12458 done
12459
12460 else
12461
12462 echo "$as_me:$LINENO: checking for _expf declaration" >&5
12463 echo $ECHO_N "checking for _expf declaration... $ECHO_C" >&6
12464 if test x${glibcxx_cv_func__expf_use+set} != xset; then
12465 if test "${glibcxx_cv_func__expf_use+set}" = set; then
12466 echo $ECHO_N "(cached) $ECHO_C" >&6
12467 else
12468
12469
12470
12471 ac_ext=cc
12472 ac_cpp='$CXXCPP $CPPFLAGS'
12473 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12474 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12475 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12476
12477 cat >conftest.$ac_ext <<_ACEOF
12478 /* confdefs.h. */
12479 _ACEOF
12480 cat confdefs.h >>conftest.$ac_ext
12481 cat >>conftest.$ac_ext <<_ACEOF
12482 /* end confdefs.h. */
12483 #include <math.h>
12484 #ifdef HAVE_IEEEFP_H
12485 #include <ieeefp.h>
12486 #endif
12487
12488 int
12489 main ()
12490 {
12491 _expf(0);
12492 ;
12493 return 0;
12494 }
12495 _ACEOF
12496 rm -f conftest.$ac_objext
12497 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12498 (eval $ac_compile) 2>conftest.er1
12499 ac_status=$?
12500 grep -v '^ *+' conftest.er1 >conftest.err
12501 rm -f conftest.er1
12502 cat conftest.err >&5
12503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12504 (exit $ac_status); } &&
12505 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12507 (eval $ac_try) 2>&5
12508 ac_status=$?
12509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12510 (exit $ac_status); }; } &&
12511 { ac_try='test -s conftest.$ac_objext'
12512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12513 (eval $ac_try) 2>&5
12514 ac_status=$?
12515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12516 (exit $ac_status); }; }; then
12517 glibcxx_cv_func__expf_use=yes
12518 else
12519 echo "$as_me: failed program was:" >&5
12520 sed 's/^/| /' conftest.$ac_ext >&5
12521
12522 glibcxx_cv_func__expf_use=no
12523 fi
12524 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12525 ac_ext=c
12526 ac_cpp='$CPP $CPPFLAGS'
12527 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12528 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12529 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12530
12531
12532 fi
12533
12534 fi
12535 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expf_use" >&5
12536 echo "${ECHO_T}$glibcxx_cv_func__expf_use" >&6
12537
12538 if test x$glibcxx_cv_func__expf_use = x"yes"; then
12539
12540 for ac_func in _expf
12541 do
12542 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12543 echo "$as_me:$LINENO: checking for $ac_func" >&5
12544 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12545 if eval "test \"\${$as_ac_var+set}\" = set"; then
12546 echo $ECHO_N "(cached) $ECHO_C" >&6
12547 else
12548 if test x$gcc_no_link = xyes; then
12549 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12550 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12551 { (exit 1); exit 1; }; }
12552 fi
12553 cat >conftest.$ac_ext <<_ACEOF
12554 /* confdefs.h. */
12555 _ACEOF
12556 cat confdefs.h >>conftest.$ac_ext
12557 cat >>conftest.$ac_ext <<_ACEOF
12558 /* end confdefs.h. */
12559 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12560 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12561 #define $ac_func innocuous_$ac_func
12562
12563 /* System header to define __stub macros and hopefully few prototypes,
12564 which can conflict with char $ac_func (); below.
12565 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12566 <limits.h> exists even on freestanding compilers. */
12567
12568 #ifdef __STDC__
12569 # include <limits.h>
12570 #else
12571 # include <assert.h>
12572 #endif
12573
12574 #undef $ac_func
12575
12576 /* Override any gcc2 internal prototype to avoid an error. */
12577 #ifdef __cplusplus
12578 extern "C"
12579 {
12580 #endif
12581 /* We use char because int might match the return type of a gcc2
12582 builtin and then its argument prototype would still apply. */
12583 char $ac_func ();
12584 /* The GNU C library defines this for functions which it implements
12585 to always fail with ENOSYS. Some functions are actually named
12586 something starting with __ and the normal name is an alias. */
12587 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12588 choke me
12589 #else
12590 char (*f) () = $ac_func;
12591 #endif
12592 #ifdef __cplusplus
12593 }
12594 #endif
12595
12596 int
12597 main ()
12598 {
12599 return f != $ac_func;
12600 ;
12601 return 0;
12602 }
12603 _ACEOF
12604 rm -f conftest.$ac_objext conftest$ac_exeext
12605 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12606 (eval $ac_link) 2>conftest.er1
12607 ac_status=$?
12608 grep -v '^ *+' conftest.er1 >conftest.err
12609 rm -f conftest.er1
12610 cat conftest.err >&5
12611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12612 (exit $ac_status); } &&
12613 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12615 (eval $ac_try) 2>&5
12616 ac_status=$?
12617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12618 (exit $ac_status); }; } &&
12619 { ac_try='test -s conftest$ac_exeext'
12620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12621 (eval $ac_try) 2>&5
12622 ac_status=$?
12623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12624 (exit $ac_status); }; }; then
12625 eval "$as_ac_var=yes"
12626 else
12627 echo "$as_me: failed program was:" >&5
12628 sed 's/^/| /' conftest.$ac_ext >&5
12629
12630 eval "$as_ac_var=no"
12631 fi
12632 rm -f conftest.err conftest.$ac_objext \
12633 conftest$ac_exeext conftest.$ac_ext
12634 fi
12635 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12636 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12637 if test `eval echo '${'$as_ac_var'}'` = yes; then
12638 cat >>confdefs.h <<_ACEOF
12639 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12640 _ACEOF
12641
12642 fi
12643 done
12644
12645 fi
12646 fi
12647
12648
12649
12650
12651
12652
12653 echo "$as_me:$LINENO: checking for isnanf declaration" >&5
12654 echo $ECHO_N "checking for isnanf declaration... $ECHO_C" >&6
12655 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
12656 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then
12657 echo $ECHO_N "(cached) $ECHO_C" >&6
12658 else
12659
12660
12661
12662 ac_ext=cc
12663 ac_cpp='$CXXCPP $CPPFLAGS'
12664 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12665 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12666 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12667
12668 cat >conftest.$ac_ext <<_ACEOF
12669 /* confdefs.h. */
12670 _ACEOF
12671 cat confdefs.h >>conftest.$ac_ext
12672 cat >>conftest.$ac_ext <<_ACEOF
12673 /* end confdefs.h. */
12674 #include <math.h>
12675 #ifdef HAVE_IEEEFP_H
12676 #include <ieeefp.h>
12677 #endif
12678
12679 int
12680 main ()
12681 {
12682 isnanf(0);
12683 ;
12684 return 0;
12685 }
12686 _ACEOF
12687 rm -f conftest.$ac_objext
12688 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12689 (eval $ac_compile) 2>conftest.er1
12690 ac_status=$?
12691 grep -v '^ *+' conftest.er1 >conftest.err
12692 rm -f conftest.er1
12693 cat conftest.err >&5
12694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12695 (exit $ac_status); } &&
12696 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12698 (eval $ac_try) 2>&5
12699 ac_status=$?
12700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12701 (exit $ac_status); }; } &&
12702 { ac_try='test -s conftest.$ac_objext'
12703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12704 (eval $ac_try) 2>&5
12705 ac_status=$?
12706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12707 (exit $ac_status); }; }; then
12708 glibcxx_cv_func_isnanf_use=yes
12709 else
12710 echo "$as_me: failed program was:" >&5
12711 sed 's/^/| /' conftest.$ac_ext >&5
12712
12713 glibcxx_cv_func_isnanf_use=no
12714 fi
12715 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12716 ac_ext=c
12717 ac_cpp='$CPP $CPPFLAGS'
12718 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12719 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12720 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12721
12722
12723 fi
12724
12725 fi
12726 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanf_use" >&5
12727 echo "${ECHO_T}$glibcxx_cv_func_isnanf_use" >&6
12728
12729 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
12730
12731 for ac_func in isnanf
12732 do
12733 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12734 echo "$as_me:$LINENO: checking for $ac_func" >&5
12735 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12736 if eval "test \"\${$as_ac_var+set}\" = set"; then
12737 echo $ECHO_N "(cached) $ECHO_C" >&6
12738 else
12739 if test x$gcc_no_link = xyes; then
12740 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12741 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12742 { (exit 1); exit 1; }; }
12743 fi
12744 cat >conftest.$ac_ext <<_ACEOF
12745 /* confdefs.h. */
12746 _ACEOF
12747 cat confdefs.h >>conftest.$ac_ext
12748 cat >>conftest.$ac_ext <<_ACEOF
12749 /* end confdefs.h. */
12750 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12751 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12752 #define $ac_func innocuous_$ac_func
12753
12754 /* System header to define __stub macros and hopefully few prototypes,
12755 which can conflict with char $ac_func (); below.
12756 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12757 <limits.h> exists even on freestanding compilers. */
12758
12759 #ifdef __STDC__
12760 # include <limits.h>
12761 #else
12762 # include <assert.h>
12763 #endif
12764
12765 #undef $ac_func
12766
12767 /* Override any gcc2 internal prototype to avoid an error. */
12768 #ifdef __cplusplus
12769 extern "C"
12770 {
12771 #endif
12772 /* We use char because int might match the return type of a gcc2
12773 builtin and then its argument prototype would still apply. */
12774 char $ac_func ();
12775 /* The GNU C library defines this for functions which it implements
12776 to always fail with ENOSYS. Some functions are actually named
12777 something starting with __ and the normal name is an alias. */
12778 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12779 choke me
12780 #else
12781 char (*f) () = $ac_func;
12782 #endif
12783 #ifdef __cplusplus
12784 }
12785 #endif
12786
12787 int
12788 main ()
12789 {
12790 return f != $ac_func;
12791 ;
12792 return 0;
12793 }
12794 _ACEOF
12795 rm -f conftest.$ac_objext conftest$ac_exeext
12796 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12797 (eval $ac_link) 2>conftest.er1
12798 ac_status=$?
12799 grep -v '^ *+' conftest.er1 >conftest.err
12800 rm -f conftest.er1
12801 cat conftest.err >&5
12802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12803 (exit $ac_status); } &&
12804 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12806 (eval $ac_try) 2>&5
12807 ac_status=$?
12808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12809 (exit $ac_status); }; } &&
12810 { ac_try='test -s conftest$ac_exeext'
12811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12812 (eval $ac_try) 2>&5
12813 ac_status=$?
12814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12815 (exit $ac_status); }; }; then
12816 eval "$as_ac_var=yes"
12817 else
12818 echo "$as_me: failed program was:" >&5
12819 sed 's/^/| /' conftest.$ac_ext >&5
12820
12821 eval "$as_ac_var=no"
12822 fi
12823 rm -f conftest.err conftest.$ac_objext \
12824 conftest$ac_exeext conftest.$ac_ext
12825 fi
12826 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12827 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12828 if test `eval echo '${'$as_ac_var'}'` = yes; then
12829 cat >>confdefs.h <<_ACEOF
12830 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12831 _ACEOF
12832
12833 fi
12834 done
12835
12836 else
12837
12838 echo "$as_me:$LINENO: checking for _isnanf declaration" >&5
12839 echo $ECHO_N "checking for _isnanf declaration... $ECHO_C" >&6
12840 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
12841 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then
12842 echo $ECHO_N "(cached) $ECHO_C" >&6
12843 else
12844
12845
12846
12847 ac_ext=cc
12848 ac_cpp='$CXXCPP $CPPFLAGS'
12849 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12850 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12851 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12852
12853 cat >conftest.$ac_ext <<_ACEOF
12854 /* confdefs.h. */
12855 _ACEOF
12856 cat confdefs.h >>conftest.$ac_ext
12857 cat >>conftest.$ac_ext <<_ACEOF
12858 /* end confdefs.h. */
12859 #include <math.h>
12860 #ifdef HAVE_IEEEFP_H
12861 #include <ieeefp.h>
12862 #endif
12863
12864 int
12865 main ()
12866 {
12867 _isnanf(0);
12868 ;
12869 return 0;
12870 }
12871 _ACEOF
12872 rm -f conftest.$ac_objext
12873 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12874 (eval $ac_compile) 2>conftest.er1
12875 ac_status=$?
12876 grep -v '^ *+' conftest.er1 >conftest.err
12877 rm -f conftest.er1
12878 cat conftest.err >&5
12879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12880 (exit $ac_status); } &&
12881 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12883 (eval $ac_try) 2>&5
12884 ac_status=$?
12885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12886 (exit $ac_status); }; } &&
12887 { ac_try='test -s conftest.$ac_objext'
12888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12889 (eval $ac_try) 2>&5
12890 ac_status=$?
12891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12892 (exit $ac_status); }; }; then
12893 glibcxx_cv_func__isnanf_use=yes
12894 else
12895 echo "$as_me: failed program was:" >&5
12896 sed 's/^/| /' conftest.$ac_ext >&5
12897
12898 glibcxx_cv_func__isnanf_use=no
12899 fi
12900 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12901 ac_ext=c
12902 ac_cpp='$CPP $CPPFLAGS'
12903 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12904 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12905 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12906
12907
12908 fi
12909
12910 fi
12911 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanf_use" >&5
12912 echo "${ECHO_T}$glibcxx_cv_func__isnanf_use" >&6
12913
12914 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
12915
12916 for ac_func in _isnanf
12917 do
12918 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12919 echo "$as_me:$LINENO: checking for $ac_func" >&5
12920 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12921 if eval "test \"\${$as_ac_var+set}\" = set"; then
12922 echo $ECHO_N "(cached) $ECHO_C" >&6
12923 else
12924 if test x$gcc_no_link = xyes; then
12925 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12926 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12927 { (exit 1); exit 1; }; }
12928 fi
12929 cat >conftest.$ac_ext <<_ACEOF
12930 /* confdefs.h. */
12931 _ACEOF
12932 cat confdefs.h >>conftest.$ac_ext
12933 cat >>conftest.$ac_ext <<_ACEOF
12934 /* end confdefs.h. */
12935 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12936 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12937 #define $ac_func innocuous_$ac_func
12938
12939 /* System header to define __stub macros and hopefully few prototypes,
12940 which can conflict with char $ac_func (); below.
12941 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12942 <limits.h> exists even on freestanding compilers. */
12943
12944 #ifdef __STDC__
12945 # include <limits.h>
12946 #else
12947 # include <assert.h>
12948 #endif
12949
12950 #undef $ac_func
12951
12952 /* Override any gcc2 internal prototype to avoid an error. */
12953 #ifdef __cplusplus
12954 extern "C"
12955 {
12956 #endif
12957 /* We use char because int might match the return type of a gcc2
12958 builtin and then its argument prototype would still apply. */
12959 char $ac_func ();
12960 /* The GNU C library defines this for functions which it implements
12961 to always fail with ENOSYS. Some functions are actually named
12962 something starting with __ and the normal name is an alias. */
12963 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12964 choke me
12965 #else
12966 char (*f) () = $ac_func;
12967 #endif
12968 #ifdef __cplusplus
12969 }
12970 #endif
12971
12972 int
12973 main ()
12974 {
12975 return f != $ac_func;
12976 ;
12977 return 0;
12978 }
12979 _ACEOF
12980 rm -f conftest.$ac_objext conftest$ac_exeext
12981 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12982 (eval $ac_link) 2>conftest.er1
12983 ac_status=$?
12984 grep -v '^ *+' conftest.er1 >conftest.err
12985 rm -f conftest.er1
12986 cat conftest.err >&5
12987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12988 (exit $ac_status); } &&
12989 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12991 (eval $ac_try) 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
13005
13006 eval "$as_ac_var=no"
13007 fi
13008 rm -f conftest.err conftest.$ac_objext \
13009 conftest$ac_exeext conftest.$ac_ext
13010 fi
13011 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13012 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13013 if test `eval echo '${'$as_ac_var'}'` = yes; then
13014 cat >>confdefs.h <<_ACEOF
13015 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13016 _ACEOF
13017
13018 fi
13019 done
13020
13021 fi
13022 fi
13023
13024
13025
13026
13027
13028
13029 echo "$as_me:$LINENO: checking for isinff declaration" >&5
13030 echo $ECHO_N "checking for isinff declaration... $ECHO_C" >&6
13031 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
13032 if test "${glibcxx_cv_func_isinff_use+set}" = set; then
13033 echo $ECHO_N "(cached) $ECHO_C" >&6
13034 else
13035
13036
13037
13038 ac_ext=cc
13039 ac_cpp='$CXXCPP $CPPFLAGS'
13040 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13041 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13042 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13043
13044 cat >conftest.$ac_ext <<_ACEOF
13045 /* confdefs.h. */
13046 _ACEOF
13047 cat confdefs.h >>conftest.$ac_ext
13048 cat >>conftest.$ac_ext <<_ACEOF
13049 /* end confdefs.h. */
13050 #include <math.h>
13051 #ifdef HAVE_IEEEFP_H
13052 #include <ieeefp.h>
13053 #endif
13054
13055 int
13056 main ()
13057 {
13058 isinff(0);
13059 ;
13060 return 0;
13061 }
13062 _ACEOF
13063 rm -f conftest.$ac_objext
13064 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13065 (eval $ac_compile) 2>conftest.er1
13066 ac_status=$?
13067 grep -v '^ *+' conftest.er1 >conftest.err
13068 rm -f conftest.er1
13069 cat conftest.err >&5
13070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13071 (exit $ac_status); } &&
13072 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
13073 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13074 (eval $ac_try) 2>&5
13075 ac_status=$?
13076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13077 (exit $ac_status); }; } &&
13078 { ac_try='test -s conftest.$ac_objext'
13079 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13080 (eval $ac_try) 2>&5
13081 ac_status=$?
13082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13083 (exit $ac_status); }; }; then
13084 glibcxx_cv_func_isinff_use=yes
13085 else
13086 echo "$as_me: failed program was:" >&5
13087 sed 's/^/| /' conftest.$ac_ext >&5
13088
13089 glibcxx_cv_func_isinff_use=no
13090 fi
13091 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13092 ac_ext=c
13093 ac_cpp='$CPP $CPPFLAGS'
13094 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13095 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13096 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13097
13098
13099 fi
13100
13101 fi
13102 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinff_use" >&5
13103 echo "${ECHO_T}$glibcxx_cv_func_isinff_use" >&6
13104
13105 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
13106
13107 for ac_func in isinff
13108 do
13109 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13110 echo "$as_me:$LINENO: checking for $ac_func" >&5
13111 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13112 if eval "test \"\${$as_ac_var+set}\" = set"; then
13113 echo $ECHO_N "(cached) $ECHO_C" >&6
13114 else
13115 if test x$gcc_no_link = xyes; then
13116 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13117 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13118 { (exit 1); exit 1; }; }
13119 fi
13120 cat >conftest.$ac_ext <<_ACEOF
13121 /* confdefs.h. */
13122 _ACEOF
13123 cat confdefs.h >>conftest.$ac_ext
13124 cat >>conftest.$ac_ext <<_ACEOF
13125 /* end confdefs.h. */
13126 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13127 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13128 #define $ac_func innocuous_$ac_func
13129
13130 /* System header to define __stub macros and hopefully few prototypes,
13131 which can conflict with char $ac_func (); below.
13132 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13133 <limits.h> exists even on freestanding compilers. */
13134
13135 #ifdef __STDC__
13136 # include <limits.h>
13137 #else
13138 # include <assert.h>
13139 #endif
13140
13141 #undef $ac_func
13142
13143 /* Override any gcc2 internal prototype to avoid an error. */
13144 #ifdef __cplusplus
13145 extern "C"
13146 {
13147 #endif
13148 /* We use char because int might match the return type of a gcc2
13149 builtin and then its argument prototype would still apply. */
13150 char $ac_func ();
13151 /* The GNU C library defines this for functions which it implements
13152 to always fail with ENOSYS. Some functions are actually named
13153 something starting with __ and the normal name is an alias. */
13154 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13155 choke me
13156 #else
13157 char (*f) () = $ac_func;
13158 #endif
13159 #ifdef __cplusplus
13160 }
13161 #endif
13162
13163 int
13164 main ()
13165 {
13166 return f != $ac_func;
13167 ;
13168 return 0;
13169 }
13170 _ACEOF
13171 rm -f conftest.$ac_objext conftest$ac_exeext
13172 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13173 (eval $ac_link) 2>conftest.er1
13174 ac_status=$?
13175 grep -v '^ *+' conftest.er1 >conftest.err
13176 rm -f conftest.er1
13177 cat conftest.err >&5
13178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13179 (exit $ac_status); } &&
13180 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13182 (eval $ac_try) 2>&5
13183 ac_status=$?
13184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13185 (exit $ac_status); }; } &&
13186 { ac_try='test -s conftest$ac_exeext'
13187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13188 (eval $ac_try) 2>&5
13189 ac_status=$?
13190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13191 (exit $ac_status); }; }; then
13192 eval "$as_ac_var=yes"
13193 else
13194 echo "$as_me: failed program was:" >&5
13195 sed 's/^/| /' conftest.$ac_ext >&5
13196
13197 eval "$as_ac_var=no"
13198 fi
13199 rm -f conftest.err conftest.$ac_objext \
13200 conftest$ac_exeext conftest.$ac_ext
13201 fi
13202 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13203 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13204 if test `eval echo '${'$as_ac_var'}'` = yes; then
13205 cat >>confdefs.h <<_ACEOF
13206 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13207 _ACEOF
13208
13209 fi
13210 done
13211
13212 else
13213
13214 echo "$as_me:$LINENO: checking for _isinff declaration" >&5
13215 echo $ECHO_N "checking for _isinff declaration... $ECHO_C" >&6
13216 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
13217 if test "${glibcxx_cv_func__isinff_use+set}" = set; then
13218 echo $ECHO_N "(cached) $ECHO_C" >&6
13219 else
13220
13221
13222
13223 ac_ext=cc
13224 ac_cpp='$CXXCPP $CPPFLAGS'
13225 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13226 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13227 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13228
13229 cat >conftest.$ac_ext <<_ACEOF
13230 /* confdefs.h. */
13231 _ACEOF
13232 cat confdefs.h >>conftest.$ac_ext
13233 cat >>conftest.$ac_ext <<_ACEOF
13234 /* end confdefs.h. */
13235 #include <math.h>
13236 #ifdef HAVE_IEEEFP_H
13237 #include <ieeefp.h>
13238 #endif
13239
13240 int
13241 main ()
13242 {
13243 _isinff(0);
13244 ;
13245 return 0;
13246 }
13247 _ACEOF
13248 rm -f conftest.$ac_objext
13249 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13250 (eval $ac_compile) 2>conftest.er1
13251 ac_status=$?
13252 grep -v '^ *+' conftest.er1 >conftest.err
13253 rm -f conftest.er1
13254 cat conftest.err >&5
13255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13256 (exit $ac_status); } &&
13257 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
13258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13259 (eval $ac_try) 2>&5
13260 ac_status=$?
13261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13262 (exit $ac_status); }; } &&
13263 { ac_try='test -s conftest.$ac_objext'
13264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13265 (eval $ac_try) 2>&5
13266 ac_status=$?
13267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13268 (exit $ac_status); }; }; then
13269 glibcxx_cv_func__isinff_use=yes
13270 else
13271 echo "$as_me: failed program was:" >&5
13272 sed 's/^/| /' conftest.$ac_ext >&5
13273
13274 glibcxx_cv_func__isinff_use=no
13275 fi
13276 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13277 ac_ext=c
13278 ac_cpp='$CPP $CPPFLAGS'
13279 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13280 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13281 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13282
13283
13284 fi
13285
13286 fi
13287 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinff_use" >&5
13288 echo "${ECHO_T}$glibcxx_cv_func__isinff_use" >&6
13289
13290 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
13291
13292 for ac_func in _isinff
13293 do
13294 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13295 echo "$as_me:$LINENO: checking for $ac_func" >&5
13296 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13297 if eval "test \"\${$as_ac_var+set}\" = set"; then
13298 echo $ECHO_N "(cached) $ECHO_C" >&6
13299 else
13300 if test x$gcc_no_link = xyes; then
13301 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13302 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13303 { (exit 1); exit 1; }; }
13304 fi
13305 cat >conftest.$ac_ext <<_ACEOF
13306 /* confdefs.h. */
13307 _ACEOF
13308 cat confdefs.h >>conftest.$ac_ext
13309 cat >>conftest.$ac_ext <<_ACEOF
13310 /* end confdefs.h. */
13311 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13312 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13313 #define $ac_func innocuous_$ac_func
13314
13315 /* System header to define __stub macros and hopefully few prototypes,
13316 which can conflict with char $ac_func (); below.
13317 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13318 <limits.h> exists even on freestanding compilers. */
13319
13320 #ifdef __STDC__
13321 # include <limits.h>
13322 #else
13323 # include <assert.h>
13324 #endif
13325
13326 #undef $ac_func
13327
13328 /* Override any gcc2 internal prototype to avoid an error. */
13329 #ifdef __cplusplus
13330 extern "C"
13331 {
13332 #endif
13333 /* We use char because int might match the return type of a gcc2
13334 builtin and then its argument prototype would still apply. */
13335 char $ac_func ();
13336 /* The GNU C library defines this for functions which it implements
13337 to always fail with ENOSYS. Some functions are actually named
13338 something starting with __ and the normal name is an alias. */
13339 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13340 choke me
13341 #else
13342 char (*f) () = $ac_func;
13343 #endif
13344 #ifdef __cplusplus
13345 }
13346 #endif
13347
13348 int
13349 main ()
13350 {
13351 return f != $ac_func;
13352 ;
13353 return 0;
13354 }
13355 _ACEOF
13356 rm -f conftest.$ac_objext conftest$ac_exeext
13357 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13358 (eval $ac_link) 2>conftest.er1
13359 ac_status=$?
13360 grep -v '^ *+' conftest.er1 >conftest.err
13361 rm -f conftest.er1
13362 cat conftest.err >&5
13363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13364 (exit $ac_status); } &&
13365 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13367 (eval $ac_try) 2>&5
13368 ac_status=$?
13369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13370 (exit $ac_status); }; } &&
13371 { ac_try='test -s conftest$ac_exeext'
13372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13373 (eval $ac_try) 2>&5
13374 ac_status=$?
13375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13376 (exit $ac_status); }; }; then
13377 eval "$as_ac_var=yes"
13378 else
13379 echo "$as_me: failed program was:" >&5
13380 sed 's/^/| /' conftest.$ac_ext >&5
13381
13382 eval "$as_ac_var=no"
13383 fi
13384 rm -f conftest.err conftest.$ac_objext \
13385 conftest$ac_exeext conftest.$ac_ext
13386 fi
13387 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13388 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13389 if test `eval echo '${'$as_ac_var'}'` = yes; then
13390 cat >>confdefs.h <<_ACEOF
13391 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13392 _ACEOF
13393
13394 fi
13395 done
13396
13397 fi
13398 fi
13399
13400
13401
13402
13403
13404
13405 echo "$as_me:$LINENO: checking for atan2f declaration" >&5
13406 echo $ECHO_N "checking for atan2f declaration... $ECHO_C" >&6
13407 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
13408 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then
13409 echo $ECHO_N "(cached) $ECHO_C" >&6
13410 else
13411
13412
13413
13414 ac_ext=cc
13415 ac_cpp='$CXXCPP $CPPFLAGS'
13416 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13417 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13418 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13419
13420 cat >conftest.$ac_ext <<_ACEOF
13421 /* confdefs.h. */
13422 _ACEOF
13423 cat confdefs.h >>conftest.$ac_ext
13424 cat >>conftest.$ac_ext <<_ACEOF
13425 /* end confdefs.h. */
13426 #include <math.h>
13427 int
13428 main ()
13429 {
13430 atan2f(0, 0);
13431 ;
13432 return 0;
13433 }
13434 _ACEOF
13435 rm -f conftest.$ac_objext
13436 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13437 (eval $ac_compile) 2>conftest.er1
13438 ac_status=$?
13439 grep -v '^ *+' conftest.er1 >conftest.err
13440 rm -f conftest.er1
13441 cat conftest.err >&5
13442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13443 (exit $ac_status); } &&
13444 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
13445 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13446 (eval $ac_try) 2>&5
13447 ac_status=$?
13448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13449 (exit $ac_status); }; } &&
13450 { ac_try='test -s conftest.$ac_objext'
13451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13452 (eval $ac_try) 2>&5
13453 ac_status=$?
13454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13455 (exit $ac_status); }; }; then
13456 glibcxx_cv_func_atan2f_use=yes
13457 else
13458 echo "$as_me: failed program was:" >&5
13459 sed 's/^/| /' conftest.$ac_ext >&5
13460
13461 glibcxx_cv_func_atan2f_use=no
13462 fi
13463 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13464 ac_ext=c
13465 ac_cpp='$CPP $CPPFLAGS'
13466 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13467 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13468 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13469
13470
13471 fi
13472
13473 fi
13474 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2f_use" >&5
13475 echo "${ECHO_T}$glibcxx_cv_func_atan2f_use" >&6
13476
13477 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
13478
13479 for ac_func in atan2f
13480 do
13481 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13482 echo "$as_me:$LINENO: checking for $ac_func" >&5
13483 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13484 if eval "test \"\${$as_ac_var+set}\" = set"; then
13485 echo $ECHO_N "(cached) $ECHO_C" >&6
13486 else
13487 if test x$gcc_no_link = xyes; then
13488 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13489 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13490 { (exit 1); exit 1; }; }
13491 fi
13492 cat >conftest.$ac_ext <<_ACEOF
13493 /* confdefs.h. */
13494 _ACEOF
13495 cat confdefs.h >>conftest.$ac_ext
13496 cat >>conftest.$ac_ext <<_ACEOF
13497 /* end confdefs.h. */
13498 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13499 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13500 #define $ac_func innocuous_$ac_func
13501
13502 /* System header to define __stub macros and hopefully few prototypes,
13503 which can conflict with char $ac_func (); below.
13504 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13505 <limits.h> exists even on freestanding compilers. */
13506
13507 #ifdef __STDC__
13508 # include <limits.h>
13509 #else
13510 # include <assert.h>
13511 #endif
13512
13513 #undef $ac_func
13514
13515 /* Override any gcc2 internal prototype to avoid an error. */
13516 #ifdef __cplusplus
13517 extern "C"
13518 {
13519 #endif
13520 /* We use char because int might match the return type of a gcc2
13521 builtin and then its argument prototype would still apply. */
13522 char $ac_func ();
13523 /* The GNU C library defines this for functions which it implements
13524 to always fail with ENOSYS. Some functions are actually named
13525 something starting with __ and the normal name is an alias. */
13526 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13527 choke me
13528 #else
13529 char (*f) () = $ac_func;
13530 #endif
13531 #ifdef __cplusplus
13532 }
13533 #endif
13534
13535 int
13536 main ()
13537 {
13538 return f != $ac_func;
13539 ;
13540 return 0;
13541 }
13542 _ACEOF
13543 rm -f conftest.$ac_objext conftest$ac_exeext
13544 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13545 (eval $ac_link) 2>conftest.er1
13546 ac_status=$?
13547 grep -v '^ *+' conftest.er1 >conftest.err
13548 rm -f conftest.er1
13549 cat conftest.err >&5
13550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13551 (exit $ac_status); } &&
13552 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13554 (eval $ac_try) 2>&5
13555 ac_status=$?
13556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13557 (exit $ac_status); }; } &&
13558 { ac_try='test -s conftest$ac_exeext'
13559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13560 (eval $ac_try) 2>&5
13561 ac_status=$?
13562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13563 (exit $ac_status); }; }; then
13564 eval "$as_ac_var=yes"
13565 else
13566 echo "$as_me: failed program was:" >&5
13567 sed 's/^/| /' conftest.$ac_ext >&5
13568
13569 eval "$as_ac_var=no"
13570 fi
13571 rm -f conftest.err conftest.$ac_objext \
13572 conftest$ac_exeext conftest.$ac_ext
13573 fi
13574 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13575 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13576 if test `eval echo '${'$as_ac_var'}'` = yes; then
13577 cat >>confdefs.h <<_ACEOF
13578 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13579 _ACEOF
13580
13581 fi
13582 done
13583
13584 else
13585
13586 echo "$as_me:$LINENO: checking for _atan2f declaration" >&5
13587 echo $ECHO_N "checking for _atan2f declaration... $ECHO_C" >&6
13588 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
13589 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then
13590 echo $ECHO_N "(cached) $ECHO_C" >&6
13591 else
13592
13593
13594
13595 ac_ext=cc
13596 ac_cpp='$CXXCPP $CPPFLAGS'
13597 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13598 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13599 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13600
13601 cat >conftest.$ac_ext <<_ACEOF
13602 /* confdefs.h. */
13603 _ACEOF
13604 cat confdefs.h >>conftest.$ac_ext
13605 cat >>conftest.$ac_ext <<_ACEOF
13606 /* end confdefs.h. */
13607 #include <math.h>
13608 int
13609 main ()
13610 {
13611 _atan2f(0, 0);
13612 ;
13613 return 0;
13614 }
13615 _ACEOF
13616 rm -f conftest.$ac_objext
13617 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13618 (eval $ac_compile) 2>conftest.er1
13619 ac_status=$?
13620 grep -v '^ *+' conftest.er1 >conftest.err
13621 rm -f conftest.er1
13622 cat conftest.err >&5
13623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13624 (exit $ac_status); } &&
13625 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
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); }; } &&
13631 { ac_try='test -s conftest.$ac_objext'
13632 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13633 (eval $ac_try) 2>&5
13634 ac_status=$?
13635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13636 (exit $ac_status); }; }; then
13637 glibcxx_cv_func__atan2f_use=yes
13638 else
13639 echo "$as_me: failed program was:" >&5
13640 sed 's/^/| /' conftest.$ac_ext >&5
13641
13642 glibcxx_cv_func__atan2f_use=no
13643 fi
13644 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13645 ac_ext=c
13646 ac_cpp='$CPP $CPPFLAGS'
13647 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13648 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13649 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13650
13651
13652 fi
13653
13654 fi
13655 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2f_use" >&5
13656 echo "${ECHO_T}$glibcxx_cv_func__atan2f_use" >&6
13657
13658 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
13659
13660 for ac_func in _atan2f
13661 do
13662 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13663 echo "$as_me:$LINENO: checking for $ac_func" >&5
13664 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13665 if eval "test \"\${$as_ac_var+set}\" = set"; then
13666 echo $ECHO_N "(cached) $ECHO_C" >&6
13667 else
13668 if test x$gcc_no_link = xyes; then
13669 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13670 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13671 { (exit 1); exit 1; }; }
13672 fi
13673 cat >conftest.$ac_ext <<_ACEOF
13674 /* confdefs.h. */
13675 _ACEOF
13676 cat confdefs.h >>conftest.$ac_ext
13677 cat >>conftest.$ac_ext <<_ACEOF
13678 /* end confdefs.h. */
13679 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13680 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13681 #define $ac_func innocuous_$ac_func
13682
13683 /* System header to define __stub macros and hopefully few prototypes,
13684 which can conflict with char $ac_func (); below.
13685 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13686 <limits.h> exists even on freestanding compilers. */
13687
13688 #ifdef __STDC__
13689 # include <limits.h>
13690 #else
13691 # include <assert.h>
13692 #endif
13693
13694 #undef $ac_func
13695
13696 /* Override any gcc2 internal prototype to avoid an error. */
13697 #ifdef __cplusplus
13698 extern "C"
13699 {
13700 #endif
13701 /* We use char because int might match the return type of a gcc2
13702 builtin and then its argument prototype would still apply. */
13703 char $ac_func ();
13704 /* The GNU C library defines this for functions which it implements
13705 to always fail with ENOSYS. Some functions are actually named
13706 something starting with __ and the normal name is an alias. */
13707 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13708 choke me
13709 #else
13710 char (*f) () = $ac_func;
13711 #endif
13712 #ifdef __cplusplus
13713 }
13714 #endif
13715
13716 int
13717 main ()
13718 {
13719 return f != $ac_func;
13720 ;
13721 return 0;
13722 }
13723 _ACEOF
13724 rm -f conftest.$ac_objext conftest$ac_exeext
13725 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13726 (eval $ac_link) 2>conftest.er1
13727 ac_status=$?
13728 grep -v '^ *+' conftest.er1 >conftest.err
13729 rm -f conftest.er1
13730 cat conftest.err >&5
13731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13732 (exit $ac_status); } &&
13733 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13735 (eval $ac_try) 2>&5
13736 ac_status=$?
13737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13738 (exit $ac_status); }; } &&
13739 { ac_try='test -s conftest$ac_exeext'
13740 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13741 (eval $ac_try) 2>&5
13742 ac_status=$?
13743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13744 (exit $ac_status); }; }; then
13745 eval "$as_ac_var=yes"
13746 else
13747 echo "$as_me: failed program was:" >&5
13748 sed 's/^/| /' conftest.$ac_ext >&5
13749
13750 eval "$as_ac_var=no"
13751 fi
13752 rm -f conftest.err conftest.$ac_objext \
13753 conftest$ac_exeext conftest.$ac_ext
13754 fi
13755 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13756 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13757 if test `eval echo '${'$as_ac_var'}'` = yes; then
13758 cat >>confdefs.h <<_ACEOF
13759 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13760 _ACEOF
13761
13762 fi
13763 done
13764
13765 fi
13766 fi
13767
13768
13769
13770
13771
13772
13773 echo "$as_me:$LINENO: checking for fabsf declaration" >&5
13774 echo $ECHO_N "checking for fabsf declaration... $ECHO_C" >&6
13775 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
13776 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then
13777 echo $ECHO_N "(cached) $ECHO_C" >&6
13778 else
13779
13780
13781
13782 ac_ext=cc
13783 ac_cpp='$CXXCPP $CPPFLAGS'
13784 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13785 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13786 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13787
13788 cat >conftest.$ac_ext <<_ACEOF
13789 /* confdefs.h. */
13790 _ACEOF
13791 cat confdefs.h >>conftest.$ac_ext
13792 cat >>conftest.$ac_ext <<_ACEOF
13793 /* end confdefs.h. */
13794 #include <math.h>
13795 #ifdef HAVE_IEEEFP_H
13796 #include <ieeefp.h>
13797 #endif
13798
13799 int
13800 main ()
13801 {
13802 fabsf(0);
13803 ;
13804 return 0;
13805 }
13806 _ACEOF
13807 rm -f conftest.$ac_objext
13808 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13809 (eval $ac_compile) 2>conftest.er1
13810 ac_status=$?
13811 grep -v '^ *+' conftest.er1 >conftest.err
13812 rm -f conftest.er1
13813 cat conftest.err >&5
13814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13815 (exit $ac_status); } &&
13816 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
13817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13818 (eval $ac_try) 2>&5
13819 ac_status=$?
13820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13821 (exit $ac_status); }; } &&
13822 { ac_try='test -s conftest.$ac_objext'
13823 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13824 (eval $ac_try) 2>&5
13825 ac_status=$?
13826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13827 (exit $ac_status); }; }; then
13828 glibcxx_cv_func_fabsf_use=yes
13829 else
13830 echo "$as_me: failed program was:" >&5
13831 sed 's/^/| /' conftest.$ac_ext >&5
13832
13833 glibcxx_cv_func_fabsf_use=no
13834 fi
13835 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13836 ac_ext=c
13837 ac_cpp='$CPP $CPPFLAGS'
13838 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13839 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13840 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13841
13842
13843 fi
13844
13845 fi
13846 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsf_use" >&5
13847 echo "${ECHO_T}$glibcxx_cv_func_fabsf_use" >&6
13848
13849 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
13850
13851 for ac_func in fabsf
13852 do
13853 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13854 echo "$as_me:$LINENO: checking for $ac_func" >&5
13855 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13856 if eval "test \"\${$as_ac_var+set}\" = set"; then
13857 echo $ECHO_N "(cached) $ECHO_C" >&6
13858 else
13859 if test x$gcc_no_link = xyes; then
13860 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13861 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13862 { (exit 1); exit 1; }; }
13863 fi
13864 cat >conftest.$ac_ext <<_ACEOF
13865 /* confdefs.h. */
13866 _ACEOF
13867 cat confdefs.h >>conftest.$ac_ext
13868 cat >>conftest.$ac_ext <<_ACEOF
13869 /* end confdefs.h. */
13870 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13871 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13872 #define $ac_func innocuous_$ac_func
13873
13874 /* System header to define __stub macros and hopefully few prototypes,
13875 which can conflict with char $ac_func (); below.
13876 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13877 <limits.h> exists even on freestanding compilers. */
13878
13879 #ifdef __STDC__
13880 # include <limits.h>
13881 #else
13882 # include <assert.h>
13883 #endif
13884
13885 #undef $ac_func
13886
13887 /* Override any gcc2 internal prototype to avoid an error. */
13888 #ifdef __cplusplus
13889 extern "C"
13890 {
13891 #endif
13892 /* We use char because int might match the return type of a gcc2
13893 builtin and then its argument prototype would still apply. */
13894 char $ac_func ();
13895 /* The GNU C library defines this for functions which it implements
13896 to always fail with ENOSYS. Some functions are actually named
13897 something starting with __ and the normal name is an alias. */
13898 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13899 choke me
13900 #else
13901 char (*f) () = $ac_func;
13902 #endif
13903 #ifdef __cplusplus
13904 }
13905 #endif
13906
13907 int
13908 main ()
13909 {
13910 return f != $ac_func;
13911 ;
13912 return 0;
13913 }
13914 _ACEOF
13915 rm -f conftest.$ac_objext conftest$ac_exeext
13916 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13917 (eval $ac_link) 2>conftest.er1
13918 ac_status=$?
13919 grep -v '^ *+' conftest.er1 >conftest.err
13920 rm -f conftest.er1
13921 cat conftest.err >&5
13922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13923 (exit $ac_status); } &&
13924 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13926 (eval $ac_try) 2>&5
13927 ac_status=$?
13928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13929 (exit $ac_status); }; } &&
13930 { ac_try='test -s conftest$ac_exeext'
13931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13932 (eval $ac_try) 2>&5
13933 ac_status=$?
13934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13935 (exit $ac_status); }; }; then
13936 eval "$as_ac_var=yes"
13937 else
13938 echo "$as_me: failed program was:" >&5
13939 sed 's/^/| /' conftest.$ac_ext >&5
13940
13941 eval "$as_ac_var=no"
13942 fi
13943 rm -f conftest.err conftest.$ac_objext \
13944 conftest$ac_exeext conftest.$ac_ext
13945 fi
13946 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13947 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13948 if test `eval echo '${'$as_ac_var'}'` = yes; then
13949 cat >>confdefs.h <<_ACEOF
13950 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13951 _ACEOF
13952
13953 fi
13954 done
13955
13956 else
13957
13958 echo "$as_me:$LINENO: checking for _fabsf declaration" >&5
13959 echo $ECHO_N "checking for _fabsf declaration... $ECHO_C" >&6
13960 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
13961 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then
13962 echo $ECHO_N "(cached) $ECHO_C" >&6
13963 else
13964
13965
13966
13967 ac_ext=cc
13968 ac_cpp='$CXXCPP $CPPFLAGS'
13969 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13970 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13971 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13972
13973 cat >conftest.$ac_ext <<_ACEOF
13974 /* confdefs.h. */
13975 _ACEOF
13976 cat confdefs.h >>conftest.$ac_ext
13977 cat >>conftest.$ac_ext <<_ACEOF
13978 /* end confdefs.h. */
13979 #include <math.h>
13980 #ifdef HAVE_IEEEFP_H
13981 #include <ieeefp.h>
13982 #endif
13983
13984 int
13985 main ()
13986 {
13987 _fabsf(0);
13988 ;
13989 return 0;
13990 }
13991 _ACEOF
13992 rm -f conftest.$ac_objext
13993 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13994 (eval $ac_compile) 2>conftest.er1
13995 ac_status=$?
13996 grep -v '^ *+' conftest.er1 >conftest.err
13997 rm -f conftest.er1
13998 cat conftest.err >&5
13999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14000 (exit $ac_status); } &&
14001 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14003 (eval $ac_try) 2>&5
14004 ac_status=$?
14005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14006 (exit $ac_status); }; } &&
14007 { ac_try='test -s conftest.$ac_objext'
14008 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14009 (eval $ac_try) 2>&5
14010 ac_status=$?
14011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14012 (exit $ac_status); }; }; then
14013 glibcxx_cv_func__fabsf_use=yes
14014 else
14015 echo "$as_me: failed program was:" >&5
14016 sed 's/^/| /' conftest.$ac_ext >&5
14017
14018 glibcxx_cv_func__fabsf_use=no
14019 fi
14020 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14021 ac_ext=c
14022 ac_cpp='$CPP $CPPFLAGS'
14023 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14024 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14025 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14026
14027
14028 fi
14029
14030 fi
14031 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsf_use" >&5
14032 echo "${ECHO_T}$glibcxx_cv_func__fabsf_use" >&6
14033
14034 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
14035
14036 for ac_func in _fabsf
14037 do
14038 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14039 echo "$as_me:$LINENO: checking for $ac_func" >&5
14040 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14041 if eval "test \"\${$as_ac_var+set}\" = set"; then
14042 echo $ECHO_N "(cached) $ECHO_C" >&6
14043 else
14044 if test x$gcc_no_link = xyes; then
14045 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14046 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14047 { (exit 1); exit 1; }; }
14048 fi
14049 cat >conftest.$ac_ext <<_ACEOF
14050 /* confdefs.h. */
14051 _ACEOF
14052 cat confdefs.h >>conftest.$ac_ext
14053 cat >>conftest.$ac_ext <<_ACEOF
14054 /* end confdefs.h. */
14055 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14056 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14057 #define $ac_func innocuous_$ac_func
14058
14059 /* System header to define __stub macros and hopefully few prototypes,
14060 which can conflict with char $ac_func (); below.
14061 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14062 <limits.h> exists even on freestanding compilers. */
14063
14064 #ifdef __STDC__
14065 # include <limits.h>
14066 #else
14067 # include <assert.h>
14068 #endif
14069
14070 #undef $ac_func
14071
14072 /* Override any gcc2 internal prototype to avoid an error. */
14073 #ifdef __cplusplus
14074 extern "C"
14075 {
14076 #endif
14077 /* We use char because int might match the return type of a gcc2
14078 builtin and then its argument prototype would still apply. */
14079 char $ac_func ();
14080 /* The GNU C library defines this for functions which it implements
14081 to always fail with ENOSYS. Some functions are actually named
14082 something starting with __ and the normal name is an alias. */
14083 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14084 choke me
14085 #else
14086 char (*f) () = $ac_func;
14087 #endif
14088 #ifdef __cplusplus
14089 }
14090 #endif
14091
14092 int
14093 main ()
14094 {
14095 return f != $ac_func;
14096 ;
14097 return 0;
14098 }
14099 _ACEOF
14100 rm -f conftest.$ac_objext conftest$ac_exeext
14101 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14102 (eval $ac_link) 2>conftest.er1
14103 ac_status=$?
14104 grep -v '^ *+' conftest.er1 >conftest.err
14105 rm -f conftest.er1
14106 cat conftest.err >&5
14107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14108 (exit $ac_status); } &&
14109 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14111 (eval $ac_try) 2>&5
14112 ac_status=$?
14113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14114 (exit $ac_status); }; } &&
14115 { ac_try='test -s conftest$ac_exeext'
14116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14117 (eval $ac_try) 2>&5
14118 ac_status=$?
14119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14120 (exit $ac_status); }; }; then
14121 eval "$as_ac_var=yes"
14122 else
14123 echo "$as_me: failed program was:" >&5
14124 sed 's/^/| /' conftest.$ac_ext >&5
14125
14126 eval "$as_ac_var=no"
14127 fi
14128 rm -f conftest.err conftest.$ac_objext \
14129 conftest$ac_exeext conftest.$ac_ext
14130 fi
14131 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14132 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14133 if test `eval echo '${'$as_ac_var'}'` = yes; then
14134 cat >>confdefs.h <<_ACEOF
14135 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14136 _ACEOF
14137
14138 fi
14139 done
14140
14141 fi
14142 fi
14143
14144
14145
14146
14147
14148
14149 echo "$as_me:$LINENO: checking for fmodf declaration" >&5
14150 echo $ECHO_N "checking for fmodf declaration... $ECHO_C" >&6
14151 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
14152 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then
14153 echo $ECHO_N "(cached) $ECHO_C" >&6
14154 else
14155
14156
14157
14158 ac_ext=cc
14159 ac_cpp='$CXXCPP $CPPFLAGS'
14160 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14161 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14162 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14163
14164 cat >conftest.$ac_ext <<_ACEOF
14165 /* confdefs.h. */
14166 _ACEOF
14167 cat confdefs.h >>conftest.$ac_ext
14168 cat >>conftest.$ac_ext <<_ACEOF
14169 /* end confdefs.h. */
14170 #include <math.h>
14171 int
14172 main ()
14173 {
14174 fmodf(0, 0);
14175 ;
14176 return 0;
14177 }
14178 _ACEOF
14179 rm -f conftest.$ac_objext
14180 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14181 (eval $ac_compile) 2>conftest.er1
14182 ac_status=$?
14183 grep -v '^ *+' conftest.er1 >conftest.err
14184 rm -f conftest.er1
14185 cat conftest.err >&5
14186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14187 (exit $ac_status); } &&
14188 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14190 (eval $ac_try) 2>&5
14191 ac_status=$?
14192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14193 (exit $ac_status); }; } &&
14194 { ac_try='test -s conftest.$ac_objext'
14195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14196 (eval $ac_try) 2>&5
14197 ac_status=$?
14198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14199 (exit $ac_status); }; }; then
14200 glibcxx_cv_func_fmodf_use=yes
14201 else
14202 echo "$as_me: failed program was:" >&5
14203 sed 's/^/| /' conftest.$ac_ext >&5
14204
14205 glibcxx_cv_func_fmodf_use=no
14206 fi
14207 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14208 ac_ext=c
14209 ac_cpp='$CPP $CPPFLAGS'
14210 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14211 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14212 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14213
14214
14215 fi
14216
14217 fi
14218 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodf_use" >&5
14219 echo "${ECHO_T}$glibcxx_cv_func_fmodf_use" >&6
14220
14221 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
14222
14223 for ac_func in fmodf
14224 do
14225 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14226 echo "$as_me:$LINENO: checking for $ac_func" >&5
14227 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14228 if eval "test \"\${$as_ac_var+set}\" = set"; then
14229 echo $ECHO_N "(cached) $ECHO_C" >&6
14230 else
14231 if test x$gcc_no_link = xyes; then
14232 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14233 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14234 { (exit 1); exit 1; }; }
14235 fi
14236 cat >conftest.$ac_ext <<_ACEOF
14237 /* confdefs.h. */
14238 _ACEOF
14239 cat confdefs.h >>conftest.$ac_ext
14240 cat >>conftest.$ac_ext <<_ACEOF
14241 /* end confdefs.h. */
14242 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14243 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14244 #define $ac_func innocuous_$ac_func
14245
14246 /* System header to define __stub macros and hopefully few prototypes,
14247 which can conflict with char $ac_func (); below.
14248 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14249 <limits.h> exists even on freestanding compilers. */
14250
14251 #ifdef __STDC__
14252 # include <limits.h>
14253 #else
14254 # include <assert.h>
14255 #endif
14256
14257 #undef $ac_func
14258
14259 /* Override any gcc2 internal prototype to avoid an error. */
14260 #ifdef __cplusplus
14261 extern "C"
14262 {
14263 #endif
14264 /* We use char because int might match the return type of a gcc2
14265 builtin and then its argument prototype would still apply. */
14266 char $ac_func ();
14267 /* The GNU C library defines this for functions which it implements
14268 to always fail with ENOSYS. Some functions are actually named
14269 something starting with __ and the normal name is an alias. */
14270 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14271 choke me
14272 #else
14273 char (*f) () = $ac_func;
14274 #endif
14275 #ifdef __cplusplus
14276 }
14277 #endif
14278
14279 int
14280 main ()
14281 {
14282 return f != $ac_func;
14283 ;
14284 return 0;
14285 }
14286 _ACEOF
14287 rm -f conftest.$ac_objext conftest$ac_exeext
14288 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14289 (eval $ac_link) 2>conftest.er1
14290 ac_status=$?
14291 grep -v '^ *+' conftest.er1 >conftest.err
14292 rm -f conftest.er1
14293 cat conftest.err >&5
14294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14295 (exit $ac_status); } &&
14296 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14298 (eval $ac_try) 2>&5
14299 ac_status=$?
14300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14301 (exit $ac_status); }; } &&
14302 { ac_try='test -s conftest$ac_exeext'
14303 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14304 (eval $ac_try) 2>&5
14305 ac_status=$?
14306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14307 (exit $ac_status); }; }; then
14308 eval "$as_ac_var=yes"
14309 else
14310 echo "$as_me: failed program was:" >&5
14311 sed 's/^/| /' conftest.$ac_ext >&5
14312
14313 eval "$as_ac_var=no"
14314 fi
14315 rm -f conftest.err conftest.$ac_objext \
14316 conftest$ac_exeext conftest.$ac_ext
14317 fi
14318 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14319 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14320 if test `eval echo '${'$as_ac_var'}'` = yes; then
14321 cat >>confdefs.h <<_ACEOF
14322 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14323 _ACEOF
14324
14325 fi
14326 done
14327
14328 else
14329
14330 echo "$as_me:$LINENO: checking for _fmodf declaration" >&5
14331 echo $ECHO_N "checking for _fmodf declaration... $ECHO_C" >&6
14332 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
14333 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then
14334 echo $ECHO_N "(cached) $ECHO_C" >&6
14335 else
14336
14337
14338
14339 ac_ext=cc
14340 ac_cpp='$CXXCPP $CPPFLAGS'
14341 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14342 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14343 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14344
14345 cat >conftest.$ac_ext <<_ACEOF
14346 /* confdefs.h. */
14347 _ACEOF
14348 cat confdefs.h >>conftest.$ac_ext
14349 cat >>conftest.$ac_ext <<_ACEOF
14350 /* end confdefs.h. */
14351 #include <math.h>
14352 int
14353 main ()
14354 {
14355 _fmodf(0, 0);
14356 ;
14357 return 0;
14358 }
14359 _ACEOF
14360 rm -f conftest.$ac_objext
14361 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14362 (eval $ac_compile) 2>conftest.er1
14363 ac_status=$?
14364 grep -v '^ *+' conftest.er1 >conftest.err
14365 rm -f conftest.er1
14366 cat conftest.err >&5
14367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14368 (exit $ac_status); } &&
14369 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14371 (eval $ac_try) 2>&5
14372 ac_status=$?
14373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14374 (exit $ac_status); }; } &&
14375 { ac_try='test -s conftest.$ac_objext'
14376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14377 (eval $ac_try) 2>&5
14378 ac_status=$?
14379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14380 (exit $ac_status); }; }; then
14381 glibcxx_cv_func__fmodf_use=yes
14382 else
14383 echo "$as_me: failed program was:" >&5
14384 sed 's/^/| /' conftest.$ac_ext >&5
14385
14386 glibcxx_cv_func__fmodf_use=no
14387 fi
14388 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14389 ac_ext=c
14390 ac_cpp='$CPP $CPPFLAGS'
14391 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14392 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14393 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14394
14395
14396 fi
14397
14398 fi
14399 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodf_use" >&5
14400 echo "${ECHO_T}$glibcxx_cv_func__fmodf_use" >&6
14401
14402 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
14403
14404 for ac_func in _fmodf
14405 do
14406 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14407 echo "$as_me:$LINENO: checking for $ac_func" >&5
14408 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14409 if eval "test \"\${$as_ac_var+set}\" = set"; then
14410 echo $ECHO_N "(cached) $ECHO_C" >&6
14411 else
14412 if test x$gcc_no_link = xyes; then
14413 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14414 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14415 { (exit 1); exit 1; }; }
14416 fi
14417 cat >conftest.$ac_ext <<_ACEOF
14418 /* confdefs.h. */
14419 _ACEOF
14420 cat confdefs.h >>conftest.$ac_ext
14421 cat >>conftest.$ac_ext <<_ACEOF
14422 /* end confdefs.h. */
14423 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14424 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14425 #define $ac_func innocuous_$ac_func
14426
14427 /* System header to define __stub macros and hopefully few prototypes,
14428 which can conflict with char $ac_func (); below.
14429 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14430 <limits.h> exists even on freestanding compilers. */
14431
14432 #ifdef __STDC__
14433 # include <limits.h>
14434 #else
14435 # include <assert.h>
14436 #endif
14437
14438 #undef $ac_func
14439
14440 /* Override any gcc2 internal prototype to avoid an error. */
14441 #ifdef __cplusplus
14442 extern "C"
14443 {
14444 #endif
14445 /* We use char because int might match the return type of a gcc2
14446 builtin and then its argument prototype would still apply. */
14447 char $ac_func ();
14448 /* The GNU C library defines this for functions which it implements
14449 to always fail with ENOSYS. Some functions are actually named
14450 something starting with __ and the normal name is an alias. */
14451 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14452 choke me
14453 #else
14454 char (*f) () = $ac_func;
14455 #endif
14456 #ifdef __cplusplus
14457 }
14458 #endif
14459
14460 int
14461 main ()
14462 {
14463 return f != $ac_func;
14464 ;
14465 return 0;
14466 }
14467 _ACEOF
14468 rm -f conftest.$ac_objext conftest$ac_exeext
14469 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14470 (eval $ac_link) 2>conftest.er1
14471 ac_status=$?
14472 grep -v '^ *+' conftest.er1 >conftest.err
14473 rm -f conftest.er1
14474 cat conftest.err >&5
14475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14476 (exit $ac_status); } &&
14477 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14479 (eval $ac_try) 2>&5
14480 ac_status=$?
14481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14482 (exit $ac_status); }; } &&
14483 { ac_try='test -s conftest$ac_exeext'
14484 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14485 (eval $ac_try) 2>&5
14486 ac_status=$?
14487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14488 (exit $ac_status); }; }; then
14489 eval "$as_ac_var=yes"
14490 else
14491 echo "$as_me: failed program was:" >&5
14492 sed 's/^/| /' conftest.$ac_ext >&5
14493
14494 eval "$as_ac_var=no"
14495 fi
14496 rm -f conftest.err conftest.$ac_objext \
14497 conftest$ac_exeext conftest.$ac_ext
14498 fi
14499 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14500 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14501 if test `eval echo '${'$as_ac_var'}'` = yes; then
14502 cat >>confdefs.h <<_ACEOF
14503 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14504 _ACEOF
14505
14506 fi
14507 done
14508
14509 fi
14510 fi
14511
14512
14513
14514
14515
14516
14517 echo "$as_me:$LINENO: checking for frexpf declaration" >&5
14518 echo $ECHO_N "checking for frexpf declaration... $ECHO_C" >&6
14519 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
14520 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then
14521 echo $ECHO_N "(cached) $ECHO_C" >&6
14522 else
14523
14524
14525
14526 ac_ext=cc
14527 ac_cpp='$CXXCPP $CPPFLAGS'
14528 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14529 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14530 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14531
14532 cat >conftest.$ac_ext <<_ACEOF
14533 /* confdefs.h. */
14534 _ACEOF
14535 cat confdefs.h >>conftest.$ac_ext
14536 cat >>conftest.$ac_ext <<_ACEOF
14537 /* end confdefs.h. */
14538 #include <math.h>
14539 int
14540 main ()
14541 {
14542 frexpf(0, 0);
14543 ;
14544 return 0;
14545 }
14546 _ACEOF
14547 rm -f conftest.$ac_objext
14548 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14549 (eval $ac_compile) 2>conftest.er1
14550 ac_status=$?
14551 grep -v '^ *+' conftest.er1 >conftest.err
14552 rm -f conftest.er1
14553 cat conftest.err >&5
14554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14555 (exit $ac_status); } &&
14556 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14558 (eval $ac_try) 2>&5
14559 ac_status=$?
14560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14561 (exit $ac_status); }; } &&
14562 { ac_try='test -s conftest.$ac_objext'
14563 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14564 (eval $ac_try) 2>&5
14565 ac_status=$?
14566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14567 (exit $ac_status); }; }; then
14568 glibcxx_cv_func_frexpf_use=yes
14569 else
14570 echo "$as_me: failed program was:" >&5
14571 sed 's/^/| /' conftest.$ac_ext >&5
14572
14573 glibcxx_cv_func_frexpf_use=no
14574 fi
14575 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14576 ac_ext=c
14577 ac_cpp='$CPP $CPPFLAGS'
14578 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14579 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14580 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14581
14582
14583 fi
14584
14585 fi
14586 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpf_use" >&5
14587 echo "${ECHO_T}$glibcxx_cv_func_frexpf_use" >&6
14588
14589 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
14590
14591 for ac_func in frexpf
14592 do
14593 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14594 echo "$as_me:$LINENO: checking for $ac_func" >&5
14595 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14596 if eval "test \"\${$as_ac_var+set}\" = set"; then
14597 echo $ECHO_N "(cached) $ECHO_C" >&6
14598 else
14599 if test x$gcc_no_link = xyes; then
14600 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14601 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14602 { (exit 1); exit 1; }; }
14603 fi
14604 cat >conftest.$ac_ext <<_ACEOF
14605 /* confdefs.h. */
14606 _ACEOF
14607 cat confdefs.h >>conftest.$ac_ext
14608 cat >>conftest.$ac_ext <<_ACEOF
14609 /* end confdefs.h. */
14610 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14611 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14612 #define $ac_func innocuous_$ac_func
14613
14614 /* System header to define __stub macros and hopefully few prototypes,
14615 which can conflict with char $ac_func (); below.
14616 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14617 <limits.h> exists even on freestanding compilers. */
14618
14619 #ifdef __STDC__
14620 # include <limits.h>
14621 #else
14622 # include <assert.h>
14623 #endif
14624
14625 #undef $ac_func
14626
14627 /* Override any gcc2 internal prototype to avoid an error. */
14628 #ifdef __cplusplus
14629 extern "C"
14630 {
14631 #endif
14632 /* We use char because int might match the return type of a gcc2
14633 builtin and then its argument prototype would still apply. */
14634 char $ac_func ();
14635 /* The GNU C library defines this for functions which it implements
14636 to always fail with ENOSYS. Some functions are actually named
14637 something starting with __ and the normal name is an alias. */
14638 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14639 choke me
14640 #else
14641 char (*f) () = $ac_func;
14642 #endif
14643 #ifdef __cplusplus
14644 }
14645 #endif
14646
14647 int
14648 main ()
14649 {
14650 return f != $ac_func;
14651 ;
14652 return 0;
14653 }
14654 _ACEOF
14655 rm -f conftest.$ac_objext conftest$ac_exeext
14656 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14657 (eval $ac_link) 2>conftest.er1
14658 ac_status=$?
14659 grep -v '^ *+' conftest.er1 >conftest.err
14660 rm -f conftest.er1
14661 cat conftest.err >&5
14662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14663 (exit $ac_status); } &&
14664 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14666 (eval $ac_try) 2>&5
14667 ac_status=$?
14668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14669 (exit $ac_status); }; } &&
14670 { ac_try='test -s conftest$ac_exeext'
14671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14672 (eval $ac_try) 2>&5
14673 ac_status=$?
14674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14675 (exit $ac_status); }; }; then
14676 eval "$as_ac_var=yes"
14677 else
14678 echo "$as_me: failed program was:" >&5
14679 sed 's/^/| /' conftest.$ac_ext >&5
14680
14681 eval "$as_ac_var=no"
14682 fi
14683 rm -f conftest.err conftest.$ac_objext \
14684 conftest$ac_exeext conftest.$ac_ext
14685 fi
14686 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14687 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14688 if test `eval echo '${'$as_ac_var'}'` = yes; then
14689 cat >>confdefs.h <<_ACEOF
14690 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14691 _ACEOF
14692
14693 fi
14694 done
14695
14696 else
14697
14698 echo "$as_me:$LINENO: checking for _frexpf declaration" >&5
14699 echo $ECHO_N "checking for _frexpf declaration... $ECHO_C" >&6
14700 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
14701 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then
14702 echo $ECHO_N "(cached) $ECHO_C" >&6
14703 else
14704
14705
14706
14707 ac_ext=cc
14708 ac_cpp='$CXXCPP $CPPFLAGS'
14709 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14710 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14711 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14712
14713 cat >conftest.$ac_ext <<_ACEOF
14714 /* confdefs.h. */
14715 _ACEOF
14716 cat confdefs.h >>conftest.$ac_ext
14717 cat >>conftest.$ac_ext <<_ACEOF
14718 /* end confdefs.h. */
14719 #include <math.h>
14720 int
14721 main ()
14722 {
14723 _frexpf(0, 0);
14724 ;
14725 return 0;
14726 }
14727 _ACEOF
14728 rm -f conftest.$ac_objext
14729 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14730 (eval $ac_compile) 2>conftest.er1
14731 ac_status=$?
14732 grep -v '^ *+' conftest.er1 >conftest.err
14733 rm -f conftest.er1
14734 cat conftest.err >&5
14735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14736 (exit $ac_status); } &&
14737 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14739 (eval $ac_try) 2>&5
14740 ac_status=$?
14741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14742 (exit $ac_status); }; } &&
14743 { ac_try='test -s conftest.$ac_objext'
14744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14745 (eval $ac_try) 2>&5
14746 ac_status=$?
14747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14748 (exit $ac_status); }; }; then
14749 glibcxx_cv_func__frexpf_use=yes
14750 else
14751 echo "$as_me: failed program was:" >&5
14752 sed 's/^/| /' conftest.$ac_ext >&5
14753
14754 glibcxx_cv_func__frexpf_use=no
14755 fi
14756 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14757 ac_ext=c
14758 ac_cpp='$CPP $CPPFLAGS'
14759 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14760 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14761 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14762
14763
14764 fi
14765
14766 fi
14767 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpf_use" >&5
14768 echo "${ECHO_T}$glibcxx_cv_func__frexpf_use" >&6
14769
14770 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
14771
14772 for ac_func in _frexpf
14773 do
14774 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14775 echo "$as_me:$LINENO: checking for $ac_func" >&5
14776 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14777 if eval "test \"\${$as_ac_var+set}\" = set"; then
14778 echo $ECHO_N "(cached) $ECHO_C" >&6
14779 else
14780 if test x$gcc_no_link = xyes; then
14781 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14782 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14783 { (exit 1); exit 1; }; }
14784 fi
14785 cat >conftest.$ac_ext <<_ACEOF
14786 /* confdefs.h. */
14787 _ACEOF
14788 cat confdefs.h >>conftest.$ac_ext
14789 cat >>conftest.$ac_ext <<_ACEOF
14790 /* end confdefs.h. */
14791 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14792 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14793 #define $ac_func innocuous_$ac_func
14794
14795 /* System header to define __stub macros and hopefully few prototypes,
14796 which can conflict with char $ac_func (); below.
14797 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14798 <limits.h> exists even on freestanding compilers. */
14799
14800 #ifdef __STDC__
14801 # include <limits.h>
14802 #else
14803 # include <assert.h>
14804 #endif
14805
14806 #undef $ac_func
14807
14808 /* Override any gcc2 internal prototype to avoid an error. */
14809 #ifdef __cplusplus
14810 extern "C"
14811 {
14812 #endif
14813 /* We use char because int might match the return type of a gcc2
14814 builtin and then its argument prototype would still apply. */
14815 char $ac_func ();
14816 /* The GNU C library defines this for functions which it implements
14817 to always fail with ENOSYS. Some functions are actually named
14818 something starting with __ and the normal name is an alias. */
14819 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14820 choke me
14821 #else
14822 char (*f) () = $ac_func;
14823 #endif
14824 #ifdef __cplusplus
14825 }
14826 #endif
14827
14828 int
14829 main ()
14830 {
14831 return f != $ac_func;
14832 ;
14833 return 0;
14834 }
14835 _ACEOF
14836 rm -f conftest.$ac_objext conftest$ac_exeext
14837 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14838 (eval $ac_link) 2>conftest.er1
14839 ac_status=$?
14840 grep -v '^ *+' conftest.er1 >conftest.err
14841 rm -f conftest.er1
14842 cat conftest.err >&5
14843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14844 (exit $ac_status); } &&
14845 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14847 (eval $ac_try) 2>&5
14848 ac_status=$?
14849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14850 (exit $ac_status); }; } &&
14851 { ac_try='test -s conftest$ac_exeext'
14852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14853 (eval $ac_try) 2>&5
14854 ac_status=$?
14855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14856 (exit $ac_status); }; }; then
14857 eval "$as_ac_var=yes"
14858 else
14859 echo "$as_me: failed program was:" >&5
14860 sed 's/^/| /' conftest.$ac_ext >&5
14861
14862 eval "$as_ac_var=no"
14863 fi
14864 rm -f conftest.err conftest.$ac_objext \
14865 conftest$ac_exeext conftest.$ac_ext
14866 fi
14867 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14868 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14869 if test `eval echo '${'$as_ac_var'}'` = yes; then
14870 cat >>confdefs.h <<_ACEOF
14871 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14872 _ACEOF
14873
14874 fi
14875 done
14876
14877 fi
14878 fi
14879
14880
14881
14882
14883
14884
14885 echo "$as_me:$LINENO: checking for hypotf declaration" >&5
14886 echo $ECHO_N "checking for hypotf declaration... $ECHO_C" >&6
14887 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
14888 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then
14889 echo $ECHO_N "(cached) $ECHO_C" >&6
14890 else
14891
14892
14893
14894 ac_ext=cc
14895 ac_cpp='$CXXCPP $CPPFLAGS'
14896 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14897 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14898 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14899
14900 cat >conftest.$ac_ext <<_ACEOF
14901 /* confdefs.h. */
14902 _ACEOF
14903 cat confdefs.h >>conftest.$ac_ext
14904 cat >>conftest.$ac_ext <<_ACEOF
14905 /* end confdefs.h. */
14906 #include <math.h>
14907 int
14908 main ()
14909 {
14910 hypotf(0, 0);
14911 ;
14912 return 0;
14913 }
14914 _ACEOF
14915 rm -f conftest.$ac_objext
14916 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14917 (eval $ac_compile) 2>conftest.er1
14918 ac_status=$?
14919 grep -v '^ *+' conftest.er1 >conftest.err
14920 rm -f conftest.er1
14921 cat conftest.err >&5
14922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14923 (exit $ac_status); } &&
14924 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14926 (eval $ac_try) 2>&5
14927 ac_status=$?
14928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14929 (exit $ac_status); }; } &&
14930 { ac_try='test -s conftest.$ac_objext'
14931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14932 (eval $ac_try) 2>&5
14933 ac_status=$?
14934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14935 (exit $ac_status); }; }; then
14936 glibcxx_cv_func_hypotf_use=yes
14937 else
14938 echo "$as_me: failed program was:" >&5
14939 sed 's/^/| /' conftest.$ac_ext >&5
14940
14941 glibcxx_cv_func_hypotf_use=no
14942 fi
14943 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14944 ac_ext=c
14945 ac_cpp='$CPP $CPPFLAGS'
14946 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14947 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14948 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14949
14950
14951 fi
14952
14953 fi
14954 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotf_use" >&5
14955 echo "${ECHO_T}$glibcxx_cv_func_hypotf_use" >&6
14956
14957 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
14958
14959 for ac_func in hypotf
14960 do
14961 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14962 echo "$as_me:$LINENO: checking for $ac_func" >&5
14963 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14964 if eval "test \"\${$as_ac_var+set}\" = set"; then
14965 echo $ECHO_N "(cached) $ECHO_C" >&6
14966 else
14967 if test x$gcc_no_link = xyes; then
14968 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14969 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14970 { (exit 1); exit 1; }; }
14971 fi
14972 cat >conftest.$ac_ext <<_ACEOF
14973 /* confdefs.h. */
14974 _ACEOF
14975 cat confdefs.h >>conftest.$ac_ext
14976 cat >>conftest.$ac_ext <<_ACEOF
14977 /* end confdefs.h. */
14978 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14979 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14980 #define $ac_func innocuous_$ac_func
14981
14982 /* System header to define __stub macros and hopefully few prototypes,
14983 which can conflict with char $ac_func (); below.
14984 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14985 <limits.h> exists even on freestanding compilers. */
14986
14987 #ifdef __STDC__
14988 # include <limits.h>
14989 #else
14990 # include <assert.h>
14991 #endif
14992
14993 #undef $ac_func
14994
14995 /* Override any gcc2 internal prototype to avoid an error. */
14996 #ifdef __cplusplus
14997 extern "C"
14998 {
14999 #endif
15000 /* We use char because int might match the return type of a gcc2
15001 builtin and then its argument prototype would still apply. */
15002 char $ac_func ();
15003 /* The GNU C library defines this for functions which it implements
15004 to always fail with ENOSYS. Some functions are actually named
15005 something starting with __ and the normal name is an alias. */
15006 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15007 choke me
15008 #else
15009 char (*f) () = $ac_func;
15010 #endif
15011 #ifdef __cplusplus
15012 }
15013 #endif
15014
15015 int
15016 main ()
15017 {
15018 return f != $ac_func;
15019 ;
15020 return 0;
15021 }
15022 _ACEOF
15023 rm -f conftest.$ac_objext conftest$ac_exeext
15024 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15025 (eval $ac_link) 2>conftest.er1
15026 ac_status=$?
15027 grep -v '^ *+' conftest.er1 >conftest.err
15028 rm -f conftest.er1
15029 cat conftest.err >&5
15030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15031 (exit $ac_status); } &&
15032 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15034 (eval $ac_try) 2>&5
15035 ac_status=$?
15036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15037 (exit $ac_status); }; } &&
15038 { ac_try='test -s conftest$ac_exeext'
15039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15040 (eval $ac_try) 2>&5
15041 ac_status=$?
15042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15043 (exit $ac_status); }; }; then
15044 eval "$as_ac_var=yes"
15045 else
15046 echo "$as_me: failed program was:" >&5
15047 sed 's/^/| /' conftest.$ac_ext >&5
15048
15049 eval "$as_ac_var=no"
15050 fi
15051 rm -f conftest.err conftest.$ac_objext \
15052 conftest$ac_exeext conftest.$ac_ext
15053 fi
15054 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15055 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15056 if test `eval echo '${'$as_ac_var'}'` = yes; then
15057 cat >>confdefs.h <<_ACEOF
15058 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15059 _ACEOF
15060
15061 fi
15062 done
15063
15064 else
15065
15066 echo "$as_me:$LINENO: checking for _hypotf declaration" >&5
15067 echo $ECHO_N "checking for _hypotf declaration... $ECHO_C" >&6
15068 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
15069 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then
15070 echo $ECHO_N "(cached) $ECHO_C" >&6
15071 else
15072
15073
15074
15075 ac_ext=cc
15076 ac_cpp='$CXXCPP $CPPFLAGS'
15077 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15078 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15079 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15080
15081 cat >conftest.$ac_ext <<_ACEOF
15082 /* confdefs.h. */
15083 _ACEOF
15084 cat confdefs.h >>conftest.$ac_ext
15085 cat >>conftest.$ac_ext <<_ACEOF
15086 /* end confdefs.h. */
15087 #include <math.h>
15088 int
15089 main ()
15090 {
15091 _hypotf(0, 0);
15092 ;
15093 return 0;
15094 }
15095 _ACEOF
15096 rm -f conftest.$ac_objext
15097 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15098 (eval $ac_compile) 2>conftest.er1
15099 ac_status=$?
15100 grep -v '^ *+' conftest.er1 >conftest.err
15101 rm -f conftest.er1
15102 cat conftest.err >&5
15103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15104 (exit $ac_status); } &&
15105 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
15106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15107 (eval $ac_try) 2>&5
15108 ac_status=$?
15109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15110 (exit $ac_status); }; } &&
15111 { ac_try='test -s conftest.$ac_objext'
15112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15113 (eval $ac_try) 2>&5
15114 ac_status=$?
15115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15116 (exit $ac_status); }; }; then
15117 glibcxx_cv_func__hypotf_use=yes
15118 else
15119 echo "$as_me: failed program was:" >&5
15120 sed 's/^/| /' conftest.$ac_ext >&5
15121
15122 glibcxx_cv_func__hypotf_use=no
15123 fi
15124 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15125 ac_ext=c
15126 ac_cpp='$CPP $CPPFLAGS'
15127 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15128 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15129 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15130
15131
15132 fi
15133
15134 fi
15135 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotf_use" >&5
15136 echo "${ECHO_T}$glibcxx_cv_func__hypotf_use" >&6
15137
15138 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
15139
15140 for ac_func in _hypotf
15141 do
15142 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15143 echo "$as_me:$LINENO: checking for $ac_func" >&5
15144 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15145 if eval "test \"\${$as_ac_var+set}\" = set"; then
15146 echo $ECHO_N "(cached) $ECHO_C" >&6
15147 else
15148 if test x$gcc_no_link = xyes; then
15149 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15150 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15151 { (exit 1); exit 1; }; }
15152 fi
15153 cat >conftest.$ac_ext <<_ACEOF
15154 /* confdefs.h. */
15155 _ACEOF
15156 cat confdefs.h >>conftest.$ac_ext
15157 cat >>conftest.$ac_ext <<_ACEOF
15158 /* end confdefs.h. */
15159 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15160 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15161 #define $ac_func innocuous_$ac_func
15162
15163 /* System header to define __stub macros and hopefully few prototypes,
15164 which can conflict with char $ac_func (); below.
15165 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15166 <limits.h> exists even on freestanding compilers. */
15167
15168 #ifdef __STDC__
15169 # include <limits.h>
15170 #else
15171 # include <assert.h>
15172 #endif
15173
15174 #undef $ac_func
15175
15176 /* Override any gcc2 internal prototype to avoid an error. */
15177 #ifdef __cplusplus
15178 extern "C"
15179 {
15180 #endif
15181 /* We use char because int might match the return type of a gcc2
15182 builtin and then its argument prototype would still apply. */
15183 char $ac_func ();
15184 /* The GNU C library defines this for functions which it implements
15185 to always fail with ENOSYS. Some functions are actually named
15186 something starting with __ and the normal name is an alias. */
15187 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15188 choke me
15189 #else
15190 char (*f) () = $ac_func;
15191 #endif
15192 #ifdef __cplusplus
15193 }
15194 #endif
15195
15196 int
15197 main ()
15198 {
15199 return f != $ac_func;
15200 ;
15201 return 0;
15202 }
15203 _ACEOF
15204 rm -f conftest.$ac_objext conftest$ac_exeext
15205 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15206 (eval $ac_link) 2>conftest.er1
15207 ac_status=$?
15208 grep -v '^ *+' conftest.er1 >conftest.err
15209 rm -f conftest.er1
15210 cat conftest.err >&5
15211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15212 (exit $ac_status); } &&
15213 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15215 (eval $ac_try) 2>&5
15216 ac_status=$?
15217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15218 (exit $ac_status); }; } &&
15219 { ac_try='test -s conftest$ac_exeext'
15220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15221 (eval $ac_try) 2>&5
15222 ac_status=$?
15223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15224 (exit $ac_status); }; }; then
15225 eval "$as_ac_var=yes"
15226 else
15227 echo "$as_me: failed program was:" >&5
15228 sed 's/^/| /' conftest.$ac_ext >&5
15229
15230 eval "$as_ac_var=no"
15231 fi
15232 rm -f conftest.err conftest.$ac_objext \
15233 conftest$ac_exeext conftest.$ac_ext
15234 fi
15235 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15236 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15237 if test `eval echo '${'$as_ac_var'}'` = yes; then
15238 cat >>confdefs.h <<_ACEOF
15239 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15240 _ACEOF
15241
15242 fi
15243 done
15244
15245 fi
15246 fi
15247
15248
15249
15250
15251
15252
15253 echo "$as_me:$LINENO: checking for ldexpf declaration" >&5
15254 echo $ECHO_N "checking for ldexpf declaration... $ECHO_C" >&6
15255 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
15256 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then
15257 echo $ECHO_N "(cached) $ECHO_C" >&6
15258 else
15259
15260
15261
15262 ac_ext=cc
15263 ac_cpp='$CXXCPP $CPPFLAGS'
15264 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15265 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15266 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15267
15268 cat >conftest.$ac_ext <<_ACEOF
15269 /* confdefs.h. */
15270 _ACEOF
15271 cat confdefs.h >>conftest.$ac_ext
15272 cat >>conftest.$ac_ext <<_ACEOF
15273 /* end confdefs.h. */
15274 #include <math.h>
15275 int
15276 main ()
15277 {
15278 ldexpf(0, 0);
15279 ;
15280 return 0;
15281 }
15282 _ACEOF
15283 rm -f conftest.$ac_objext
15284 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15285 (eval $ac_compile) 2>conftest.er1
15286 ac_status=$?
15287 grep -v '^ *+' conftest.er1 >conftest.err
15288 rm -f conftest.er1
15289 cat conftest.err >&5
15290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15291 (exit $ac_status); } &&
15292 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
15293 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15294 (eval $ac_try) 2>&5
15295 ac_status=$?
15296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15297 (exit $ac_status); }; } &&
15298 { ac_try='test -s conftest.$ac_objext'
15299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15300 (eval $ac_try) 2>&5
15301 ac_status=$?
15302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15303 (exit $ac_status); }; }; then
15304 glibcxx_cv_func_ldexpf_use=yes
15305 else
15306 echo "$as_me: failed program was:" >&5
15307 sed 's/^/| /' conftest.$ac_ext >&5
15308
15309 glibcxx_cv_func_ldexpf_use=no
15310 fi
15311 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15312 ac_ext=c
15313 ac_cpp='$CPP $CPPFLAGS'
15314 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15315 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15316 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15317
15318
15319 fi
15320
15321 fi
15322 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpf_use" >&5
15323 echo "${ECHO_T}$glibcxx_cv_func_ldexpf_use" >&6
15324
15325 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
15326
15327 for ac_func in ldexpf
15328 do
15329 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15330 echo "$as_me:$LINENO: checking for $ac_func" >&5
15331 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15332 if eval "test \"\${$as_ac_var+set}\" = set"; then
15333 echo $ECHO_N "(cached) $ECHO_C" >&6
15334 else
15335 if test x$gcc_no_link = xyes; then
15336 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15337 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15338 { (exit 1); exit 1; }; }
15339 fi
15340 cat >conftest.$ac_ext <<_ACEOF
15341 /* confdefs.h. */
15342 _ACEOF
15343 cat confdefs.h >>conftest.$ac_ext
15344 cat >>conftest.$ac_ext <<_ACEOF
15345 /* end confdefs.h. */
15346 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15347 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15348 #define $ac_func innocuous_$ac_func
15349
15350 /* System header to define __stub macros and hopefully few prototypes,
15351 which can conflict with char $ac_func (); below.
15352 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15353 <limits.h> exists even on freestanding compilers. */
15354
15355 #ifdef __STDC__
15356 # include <limits.h>
15357 #else
15358 # include <assert.h>
15359 #endif
15360
15361 #undef $ac_func
15362
15363 /* Override any gcc2 internal prototype to avoid an error. */
15364 #ifdef __cplusplus
15365 extern "C"
15366 {
15367 #endif
15368 /* We use char because int might match the return type of a gcc2
15369 builtin and then its argument prototype would still apply. */
15370 char $ac_func ();
15371 /* The GNU C library defines this for functions which it implements
15372 to always fail with ENOSYS. Some functions are actually named
15373 something starting with __ and the normal name is an alias. */
15374 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15375 choke me
15376 #else
15377 char (*f) () = $ac_func;
15378 #endif
15379 #ifdef __cplusplus
15380 }
15381 #endif
15382
15383 int
15384 main ()
15385 {
15386 return f != $ac_func;
15387 ;
15388 return 0;
15389 }
15390 _ACEOF
15391 rm -f conftest.$ac_objext conftest$ac_exeext
15392 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15393 (eval $ac_link) 2>conftest.er1
15394 ac_status=$?
15395 grep -v '^ *+' conftest.er1 >conftest.err
15396 rm -f conftest.er1
15397 cat conftest.err >&5
15398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15399 (exit $ac_status); } &&
15400 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15402 (eval $ac_try) 2>&5
15403 ac_status=$?
15404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15405 (exit $ac_status); }; } &&
15406 { ac_try='test -s conftest$ac_exeext'
15407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15408 (eval $ac_try) 2>&5
15409 ac_status=$?
15410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15411 (exit $ac_status); }; }; then
15412 eval "$as_ac_var=yes"
15413 else
15414 echo "$as_me: failed program was:" >&5
15415 sed 's/^/| /' conftest.$ac_ext >&5
15416
15417 eval "$as_ac_var=no"
15418 fi
15419 rm -f conftest.err conftest.$ac_objext \
15420 conftest$ac_exeext conftest.$ac_ext
15421 fi
15422 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15423 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15424 if test `eval echo '${'$as_ac_var'}'` = yes; then
15425 cat >>confdefs.h <<_ACEOF
15426 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15427 _ACEOF
15428
15429 fi
15430 done
15431
15432 else
15433
15434 echo "$as_me:$LINENO: checking for _ldexpf declaration" >&5
15435 echo $ECHO_N "checking for _ldexpf declaration... $ECHO_C" >&6
15436 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
15437 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then
15438 echo $ECHO_N "(cached) $ECHO_C" >&6
15439 else
15440
15441
15442
15443 ac_ext=cc
15444 ac_cpp='$CXXCPP $CPPFLAGS'
15445 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15446 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15447 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15448
15449 cat >conftest.$ac_ext <<_ACEOF
15450 /* confdefs.h. */
15451 _ACEOF
15452 cat confdefs.h >>conftest.$ac_ext
15453 cat >>conftest.$ac_ext <<_ACEOF
15454 /* end confdefs.h. */
15455 #include <math.h>
15456 int
15457 main ()
15458 {
15459 _ldexpf(0, 0);
15460 ;
15461 return 0;
15462 }
15463 _ACEOF
15464 rm -f conftest.$ac_objext
15465 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15466 (eval $ac_compile) 2>conftest.er1
15467 ac_status=$?
15468 grep -v '^ *+' conftest.er1 >conftest.err
15469 rm -f conftest.er1
15470 cat conftest.err >&5
15471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15472 (exit $ac_status); } &&
15473 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
15474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15475 (eval $ac_try) 2>&5
15476 ac_status=$?
15477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15478 (exit $ac_status); }; } &&
15479 { ac_try='test -s conftest.$ac_objext'
15480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15481 (eval $ac_try) 2>&5
15482 ac_status=$?
15483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15484 (exit $ac_status); }; }; then
15485 glibcxx_cv_func__ldexpf_use=yes
15486 else
15487 echo "$as_me: failed program was:" >&5
15488 sed 's/^/| /' conftest.$ac_ext >&5
15489
15490 glibcxx_cv_func__ldexpf_use=no
15491 fi
15492 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15493 ac_ext=c
15494 ac_cpp='$CPP $CPPFLAGS'
15495 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15496 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15497 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15498
15499
15500 fi
15501
15502 fi
15503 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpf_use" >&5
15504 echo "${ECHO_T}$glibcxx_cv_func__ldexpf_use" >&6
15505
15506 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
15507
15508 for ac_func in _ldexpf
15509 do
15510 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15511 echo "$as_me:$LINENO: checking for $ac_func" >&5
15512 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15513 if eval "test \"\${$as_ac_var+set}\" = set"; then
15514 echo $ECHO_N "(cached) $ECHO_C" >&6
15515 else
15516 if test x$gcc_no_link = xyes; then
15517 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15518 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15519 { (exit 1); exit 1; }; }
15520 fi
15521 cat >conftest.$ac_ext <<_ACEOF
15522 /* confdefs.h. */
15523 _ACEOF
15524 cat confdefs.h >>conftest.$ac_ext
15525 cat >>conftest.$ac_ext <<_ACEOF
15526 /* end confdefs.h. */
15527 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15528 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15529 #define $ac_func innocuous_$ac_func
15530
15531 /* System header to define __stub macros and hopefully few prototypes,
15532 which can conflict with char $ac_func (); below.
15533 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15534 <limits.h> exists even on freestanding compilers. */
15535
15536 #ifdef __STDC__
15537 # include <limits.h>
15538 #else
15539 # include <assert.h>
15540 #endif
15541
15542 #undef $ac_func
15543
15544 /* Override any gcc2 internal prototype to avoid an error. */
15545 #ifdef __cplusplus
15546 extern "C"
15547 {
15548 #endif
15549 /* We use char because int might match the return type of a gcc2
15550 builtin and then its argument prototype would still apply. */
15551 char $ac_func ();
15552 /* The GNU C library defines this for functions which it implements
15553 to always fail with ENOSYS. Some functions are actually named
15554 something starting with __ and the normal name is an alias. */
15555 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15556 choke me
15557 #else
15558 char (*f) () = $ac_func;
15559 #endif
15560 #ifdef __cplusplus
15561 }
15562 #endif
15563
15564 int
15565 main ()
15566 {
15567 return f != $ac_func;
15568 ;
15569 return 0;
15570 }
15571 _ACEOF
15572 rm -f conftest.$ac_objext conftest$ac_exeext
15573 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15574 (eval $ac_link) 2>conftest.er1
15575 ac_status=$?
15576 grep -v '^ *+' conftest.er1 >conftest.err
15577 rm -f conftest.er1
15578 cat conftest.err >&5
15579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15580 (exit $ac_status); } &&
15581 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15582 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15583 (eval $ac_try) 2>&5
15584 ac_status=$?
15585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15586 (exit $ac_status); }; } &&
15587 { ac_try='test -s conftest$ac_exeext'
15588 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15589 (eval $ac_try) 2>&5
15590 ac_status=$?
15591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15592 (exit $ac_status); }; }; then
15593 eval "$as_ac_var=yes"
15594 else
15595 echo "$as_me: failed program was:" >&5
15596 sed 's/^/| /' conftest.$ac_ext >&5
15597
15598 eval "$as_ac_var=no"
15599 fi
15600 rm -f conftest.err conftest.$ac_objext \
15601 conftest$ac_exeext conftest.$ac_ext
15602 fi
15603 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15604 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15605 if test `eval echo '${'$as_ac_var'}'` = yes; then
15606 cat >>confdefs.h <<_ACEOF
15607 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15608 _ACEOF
15609
15610 fi
15611 done
15612
15613 fi
15614 fi
15615
15616
15617
15618
15619
15620
15621 echo "$as_me:$LINENO: checking for logf declaration" >&5
15622 echo $ECHO_N "checking for logf declaration... $ECHO_C" >&6
15623 if test x${glibcxx_cv_func_logf_use+set} != xset; then
15624 if test "${glibcxx_cv_func_logf_use+set}" = set; then
15625 echo $ECHO_N "(cached) $ECHO_C" >&6
15626 else
15627
15628
15629
15630 ac_ext=cc
15631 ac_cpp='$CXXCPP $CPPFLAGS'
15632 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15633 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15634 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15635
15636 cat >conftest.$ac_ext <<_ACEOF
15637 /* confdefs.h. */
15638 _ACEOF
15639 cat confdefs.h >>conftest.$ac_ext
15640 cat >>conftest.$ac_ext <<_ACEOF
15641 /* end confdefs.h. */
15642 #include <math.h>
15643 #ifdef HAVE_IEEEFP_H
15644 #include <ieeefp.h>
15645 #endif
15646
15647 int
15648 main ()
15649 {
15650 logf(0);
15651 ;
15652 return 0;
15653 }
15654 _ACEOF
15655 rm -f conftest.$ac_objext
15656 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15657 (eval $ac_compile) 2>conftest.er1
15658 ac_status=$?
15659 grep -v '^ *+' conftest.er1 >conftest.err
15660 rm -f conftest.er1
15661 cat conftest.err >&5
15662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15663 (exit $ac_status); } &&
15664 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
15665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15666 (eval $ac_try) 2>&5
15667 ac_status=$?
15668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15669 (exit $ac_status); }; } &&
15670 { ac_try='test -s conftest.$ac_objext'
15671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15672 (eval $ac_try) 2>&5
15673 ac_status=$?
15674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15675 (exit $ac_status); }; }; then
15676 glibcxx_cv_func_logf_use=yes
15677 else
15678 echo "$as_me: failed program was:" >&5
15679 sed 's/^/| /' conftest.$ac_ext >&5
15680
15681 glibcxx_cv_func_logf_use=no
15682 fi
15683 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15684 ac_ext=c
15685 ac_cpp='$CPP $CPPFLAGS'
15686 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15687 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15688 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15689
15690
15691 fi
15692
15693 fi
15694 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logf_use" >&5
15695 echo "${ECHO_T}$glibcxx_cv_func_logf_use" >&6
15696
15697 if test x$glibcxx_cv_func_logf_use = x"yes"; then
15698
15699 for ac_func in logf
15700 do
15701 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15702 echo "$as_me:$LINENO: checking for $ac_func" >&5
15703 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15704 if eval "test \"\${$as_ac_var+set}\" = set"; then
15705 echo $ECHO_N "(cached) $ECHO_C" >&6
15706 else
15707 if test x$gcc_no_link = xyes; then
15708 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15709 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15710 { (exit 1); exit 1; }; }
15711 fi
15712 cat >conftest.$ac_ext <<_ACEOF
15713 /* confdefs.h. */
15714 _ACEOF
15715 cat confdefs.h >>conftest.$ac_ext
15716 cat >>conftest.$ac_ext <<_ACEOF
15717 /* end confdefs.h. */
15718 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15719 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15720 #define $ac_func innocuous_$ac_func
15721
15722 /* System header to define __stub macros and hopefully few prototypes,
15723 which can conflict with char $ac_func (); below.
15724 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15725 <limits.h> exists even on freestanding compilers. */
15726
15727 #ifdef __STDC__
15728 # include <limits.h>
15729 #else
15730 # include <assert.h>
15731 #endif
15732
15733 #undef $ac_func
15734
15735 /* Override any gcc2 internal prototype to avoid an error. */
15736 #ifdef __cplusplus
15737 extern "C"
15738 {
15739 #endif
15740 /* We use char because int might match the return type of a gcc2
15741 builtin and then its argument prototype would still apply. */
15742 char $ac_func ();
15743 /* The GNU C library defines this for functions which it implements
15744 to always fail with ENOSYS. Some functions are actually named
15745 something starting with __ and the normal name is an alias. */
15746 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15747 choke me
15748 #else
15749 char (*f) () = $ac_func;
15750 #endif
15751 #ifdef __cplusplus
15752 }
15753 #endif
15754
15755 int
15756 main ()
15757 {
15758 return f != $ac_func;
15759 ;
15760 return 0;
15761 }
15762 _ACEOF
15763 rm -f conftest.$ac_objext conftest$ac_exeext
15764 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15765 (eval $ac_link) 2>conftest.er1
15766 ac_status=$?
15767 grep -v '^ *+' conftest.er1 >conftest.err
15768 rm -f conftest.er1
15769 cat conftest.err >&5
15770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15771 (exit $ac_status); } &&
15772 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15774 (eval $ac_try) 2>&5
15775 ac_status=$?
15776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15777 (exit $ac_status); }; } &&
15778 { ac_try='test -s conftest$ac_exeext'
15779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15780 (eval $ac_try) 2>&5
15781 ac_status=$?
15782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15783 (exit $ac_status); }; }; then
15784 eval "$as_ac_var=yes"
15785 else
15786 echo "$as_me: failed program was:" >&5
15787 sed 's/^/| /' conftest.$ac_ext >&5
15788
15789 eval "$as_ac_var=no"
15790 fi
15791 rm -f conftest.err conftest.$ac_objext \
15792 conftest$ac_exeext conftest.$ac_ext
15793 fi
15794 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15795 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15796 if test `eval echo '${'$as_ac_var'}'` = yes; then
15797 cat >>confdefs.h <<_ACEOF
15798 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15799 _ACEOF
15800
15801 fi
15802 done
15803
15804 else
15805
15806 echo "$as_me:$LINENO: checking for _logf declaration" >&5
15807 echo $ECHO_N "checking for _logf declaration... $ECHO_C" >&6
15808 if test x${glibcxx_cv_func__logf_use+set} != xset; then
15809 if test "${glibcxx_cv_func__logf_use+set}" = set; then
15810 echo $ECHO_N "(cached) $ECHO_C" >&6
15811 else
15812
15813
15814
15815 ac_ext=cc
15816 ac_cpp='$CXXCPP $CPPFLAGS'
15817 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15818 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15819 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15820
15821 cat >conftest.$ac_ext <<_ACEOF
15822 /* confdefs.h. */
15823 _ACEOF
15824 cat confdefs.h >>conftest.$ac_ext
15825 cat >>conftest.$ac_ext <<_ACEOF
15826 /* end confdefs.h. */
15827 #include <math.h>
15828 #ifdef HAVE_IEEEFP_H
15829 #include <ieeefp.h>
15830 #endif
15831
15832 int
15833 main ()
15834 {
15835 _logf(0);
15836 ;
15837 return 0;
15838 }
15839 _ACEOF
15840 rm -f conftest.$ac_objext
15841 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15842 (eval $ac_compile) 2>conftest.er1
15843 ac_status=$?
15844 grep -v '^ *+' conftest.er1 >conftest.err
15845 rm -f conftest.er1
15846 cat conftest.err >&5
15847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15848 (exit $ac_status); } &&
15849 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
15850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15851 (eval $ac_try) 2>&5
15852 ac_status=$?
15853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15854 (exit $ac_status); }; } &&
15855 { ac_try='test -s conftest.$ac_objext'
15856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15857 (eval $ac_try) 2>&5
15858 ac_status=$?
15859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15860 (exit $ac_status); }; }; then
15861 glibcxx_cv_func__logf_use=yes
15862 else
15863 echo "$as_me: failed program was:" >&5
15864 sed 's/^/| /' conftest.$ac_ext >&5
15865
15866 glibcxx_cv_func__logf_use=no
15867 fi
15868 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15869 ac_ext=c
15870 ac_cpp='$CPP $CPPFLAGS'
15871 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15872 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15873 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15874
15875
15876 fi
15877
15878 fi
15879 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logf_use" >&5
15880 echo "${ECHO_T}$glibcxx_cv_func__logf_use" >&6
15881
15882 if test x$glibcxx_cv_func__logf_use = x"yes"; then
15883
15884 for ac_func in _logf
15885 do
15886 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15887 echo "$as_me:$LINENO: checking for $ac_func" >&5
15888 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15889 if eval "test \"\${$as_ac_var+set}\" = set"; then
15890 echo $ECHO_N "(cached) $ECHO_C" >&6
15891 else
15892 if test x$gcc_no_link = xyes; then
15893 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15894 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15895 { (exit 1); exit 1; }; }
15896 fi
15897 cat >conftest.$ac_ext <<_ACEOF
15898 /* confdefs.h. */
15899 _ACEOF
15900 cat confdefs.h >>conftest.$ac_ext
15901 cat >>conftest.$ac_ext <<_ACEOF
15902 /* end confdefs.h. */
15903 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15904 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15905 #define $ac_func innocuous_$ac_func
15906
15907 /* System header to define __stub macros and hopefully few prototypes,
15908 which can conflict with char $ac_func (); below.
15909 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15910 <limits.h> exists even on freestanding compilers. */
15911
15912 #ifdef __STDC__
15913 # include <limits.h>
15914 #else
15915 # include <assert.h>
15916 #endif
15917
15918 #undef $ac_func
15919
15920 /* Override any gcc2 internal prototype to avoid an error. */
15921 #ifdef __cplusplus
15922 extern "C"
15923 {
15924 #endif
15925 /* We use char because int might match the return type of a gcc2
15926 builtin and then its argument prototype would still apply. */
15927 char $ac_func ();
15928 /* The GNU C library defines this for functions which it implements
15929 to always fail with ENOSYS. Some functions are actually named
15930 something starting with __ and the normal name is an alias. */
15931 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15932 choke me
15933 #else
15934 char (*f) () = $ac_func;
15935 #endif
15936 #ifdef __cplusplus
15937 }
15938 #endif
15939
15940 int
15941 main ()
15942 {
15943 return f != $ac_func;
15944 ;
15945 return 0;
15946 }
15947 _ACEOF
15948 rm -f conftest.$ac_objext conftest$ac_exeext
15949 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15950 (eval $ac_link) 2>conftest.er1
15951 ac_status=$?
15952 grep -v '^ *+' conftest.er1 >conftest.err
15953 rm -f conftest.er1
15954 cat conftest.err >&5
15955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15956 (exit $ac_status); } &&
15957 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15959 (eval $ac_try) 2>&5
15960 ac_status=$?
15961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15962 (exit $ac_status); }; } &&
15963 { ac_try='test -s conftest$ac_exeext'
15964 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15965 (eval $ac_try) 2>&5
15966 ac_status=$?
15967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15968 (exit $ac_status); }; }; then
15969 eval "$as_ac_var=yes"
15970 else
15971 echo "$as_me: failed program was:" >&5
15972 sed 's/^/| /' conftest.$ac_ext >&5
15973
15974 eval "$as_ac_var=no"
15975 fi
15976 rm -f conftest.err conftest.$ac_objext \
15977 conftest$ac_exeext conftest.$ac_ext
15978 fi
15979 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15980 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15981 if test `eval echo '${'$as_ac_var'}'` = yes; then
15982 cat >>confdefs.h <<_ACEOF
15983 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15984 _ACEOF
15985
15986 fi
15987 done
15988
15989 fi
15990 fi
15991
15992
15993
15994
15995
15996
15997 echo "$as_me:$LINENO: checking for log10f declaration" >&5
15998 echo $ECHO_N "checking for log10f declaration... $ECHO_C" >&6
15999 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
16000 if test "${glibcxx_cv_func_log10f_use+set}" = set; then
16001 echo $ECHO_N "(cached) $ECHO_C" >&6
16002 else
16003
16004
16005
16006 ac_ext=cc
16007 ac_cpp='$CXXCPP $CPPFLAGS'
16008 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16009 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16010 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16011
16012 cat >conftest.$ac_ext <<_ACEOF
16013 /* confdefs.h. */
16014 _ACEOF
16015 cat confdefs.h >>conftest.$ac_ext
16016 cat >>conftest.$ac_ext <<_ACEOF
16017 /* end confdefs.h. */
16018 #include <math.h>
16019 #ifdef HAVE_IEEEFP_H
16020 #include <ieeefp.h>
16021 #endif
16022
16023 int
16024 main ()
16025 {
16026 log10f(0);
16027 ;
16028 return 0;
16029 }
16030 _ACEOF
16031 rm -f conftest.$ac_objext
16032 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16033 (eval $ac_compile) 2>conftest.er1
16034 ac_status=$?
16035 grep -v '^ *+' conftest.er1 >conftest.err
16036 rm -f conftest.er1
16037 cat conftest.err >&5
16038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16039 (exit $ac_status); } &&
16040 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16041 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16042 (eval $ac_try) 2>&5
16043 ac_status=$?
16044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16045 (exit $ac_status); }; } &&
16046 { ac_try='test -s conftest.$ac_objext'
16047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16048 (eval $ac_try) 2>&5
16049 ac_status=$?
16050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16051 (exit $ac_status); }; }; then
16052 glibcxx_cv_func_log10f_use=yes
16053 else
16054 echo "$as_me: failed program was:" >&5
16055 sed 's/^/| /' conftest.$ac_ext >&5
16056
16057 glibcxx_cv_func_log10f_use=no
16058 fi
16059 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16060 ac_ext=c
16061 ac_cpp='$CPP $CPPFLAGS'
16062 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16063 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16064 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16065
16066
16067 fi
16068
16069 fi
16070 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10f_use" >&5
16071 echo "${ECHO_T}$glibcxx_cv_func_log10f_use" >&6
16072
16073 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
16074
16075 for ac_func in log10f
16076 do
16077 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16078 echo "$as_me:$LINENO: checking for $ac_func" >&5
16079 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16080 if eval "test \"\${$as_ac_var+set}\" = set"; then
16081 echo $ECHO_N "(cached) $ECHO_C" >&6
16082 else
16083 if test x$gcc_no_link = xyes; then
16084 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16085 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16086 { (exit 1); exit 1; }; }
16087 fi
16088 cat >conftest.$ac_ext <<_ACEOF
16089 /* confdefs.h. */
16090 _ACEOF
16091 cat confdefs.h >>conftest.$ac_ext
16092 cat >>conftest.$ac_ext <<_ACEOF
16093 /* end confdefs.h. */
16094 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16095 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16096 #define $ac_func innocuous_$ac_func
16097
16098 /* System header to define __stub macros and hopefully few prototypes,
16099 which can conflict with char $ac_func (); below.
16100 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16101 <limits.h> exists even on freestanding compilers. */
16102
16103 #ifdef __STDC__
16104 # include <limits.h>
16105 #else
16106 # include <assert.h>
16107 #endif
16108
16109 #undef $ac_func
16110
16111 /* Override any gcc2 internal prototype to avoid an error. */
16112 #ifdef __cplusplus
16113 extern "C"
16114 {
16115 #endif
16116 /* We use char because int might match the return type of a gcc2
16117 builtin and then its argument prototype would still apply. */
16118 char $ac_func ();
16119 /* The GNU C library defines this for functions which it implements
16120 to always fail with ENOSYS. Some functions are actually named
16121 something starting with __ and the normal name is an alias. */
16122 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16123 choke me
16124 #else
16125 char (*f) () = $ac_func;
16126 #endif
16127 #ifdef __cplusplus
16128 }
16129 #endif
16130
16131 int
16132 main ()
16133 {
16134 return f != $ac_func;
16135 ;
16136 return 0;
16137 }
16138 _ACEOF
16139 rm -f conftest.$ac_objext conftest$ac_exeext
16140 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16141 (eval $ac_link) 2>conftest.er1
16142 ac_status=$?
16143 grep -v '^ *+' conftest.er1 >conftest.err
16144 rm -f conftest.er1
16145 cat conftest.err >&5
16146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16147 (exit $ac_status); } &&
16148 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16150 (eval $ac_try) 2>&5
16151 ac_status=$?
16152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16153 (exit $ac_status); }; } &&
16154 { ac_try='test -s conftest$ac_exeext'
16155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16156 (eval $ac_try) 2>&5
16157 ac_status=$?
16158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16159 (exit $ac_status); }; }; then
16160 eval "$as_ac_var=yes"
16161 else
16162 echo "$as_me: failed program was:" >&5
16163 sed 's/^/| /' conftest.$ac_ext >&5
16164
16165 eval "$as_ac_var=no"
16166 fi
16167 rm -f conftest.err conftest.$ac_objext \
16168 conftest$ac_exeext conftest.$ac_ext
16169 fi
16170 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16171 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16172 if test `eval echo '${'$as_ac_var'}'` = yes; then
16173 cat >>confdefs.h <<_ACEOF
16174 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16175 _ACEOF
16176
16177 fi
16178 done
16179
16180 else
16181
16182 echo "$as_me:$LINENO: checking for _log10f declaration" >&5
16183 echo $ECHO_N "checking for _log10f declaration... $ECHO_C" >&6
16184 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
16185 if test "${glibcxx_cv_func__log10f_use+set}" = set; then
16186 echo $ECHO_N "(cached) $ECHO_C" >&6
16187 else
16188
16189
16190
16191 ac_ext=cc
16192 ac_cpp='$CXXCPP $CPPFLAGS'
16193 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16194 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16195 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16196
16197 cat >conftest.$ac_ext <<_ACEOF
16198 /* confdefs.h. */
16199 _ACEOF
16200 cat confdefs.h >>conftest.$ac_ext
16201 cat >>conftest.$ac_ext <<_ACEOF
16202 /* end confdefs.h. */
16203 #include <math.h>
16204 #ifdef HAVE_IEEEFP_H
16205 #include <ieeefp.h>
16206 #endif
16207
16208 int
16209 main ()
16210 {
16211 _log10f(0);
16212 ;
16213 return 0;
16214 }
16215 _ACEOF
16216 rm -f conftest.$ac_objext
16217 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16218 (eval $ac_compile) 2>conftest.er1
16219 ac_status=$?
16220 grep -v '^ *+' conftest.er1 >conftest.err
16221 rm -f conftest.er1
16222 cat conftest.err >&5
16223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16224 (exit $ac_status); } &&
16225 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16227 (eval $ac_try) 2>&5
16228 ac_status=$?
16229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16230 (exit $ac_status); }; } &&
16231 { ac_try='test -s conftest.$ac_objext'
16232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16233 (eval $ac_try) 2>&5
16234 ac_status=$?
16235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16236 (exit $ac_status); }; }; then
16237 glibcxx_cv_func__log10f_use=yes
16238 else
16239 echo "$as_me: failed program was:" >&5
16240 sed 's/^/| /' conftest.$ac_ext >&5
16241
16242 glibcxx_cv_func__log10f_use=no
16243 fi
16244 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16245 ac_ext=c
16246 ac_cpp='$CPP $CPPFLAGS'
16247 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16248 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16249 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16250
16251
16252 fi
16253
16254 fi
16255 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10f_use" >&5
16256 echo "${ECHO_T}$glibcxx_cv_func__log10f_use" >&6
16257
16258 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
16259
16260 for ac_func in _log10f
16261 do
16262 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16263 echo "$as_me:$LINENO: checking for $ac_func" >&5
16264 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16265 if eval "test \"\${$as_ac_var+set}\" = set"; then
16266 echo $ECHO_N "(cached) $ECHO_C" >&6
16267 else
16268 if test x$gcc_no_link = xyes; then
16269 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16270 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16271 { (exit 1); exit 1; }; }
16272 fi
16273 cat >conftest.$ac_ext <<_ACEOF
16274 /* confdefs.h. */
16275 _ACEOF
16276 cat confdefs.h >>conftest.$ac_ext
16277 cat >>conftest.$ac_ext <<_ACEOF
16278 /* end confdefs.h. */
16279 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16280 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16281 #define $ac_func innocuous_$ac_func
16282
16283 /* System header to define __stub macros and hopefully few prototypes,
16284 which can conflict with char $ac_func (); below.
16285 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16286 <limits.h> exists even on freestanding compilers. */
16287
16288 #ifdef __STDC__
16289 # include <limits.h>
16290 #else
16291 # include <assert.h>
16292 #endif
16293
16294 #undef $ac_func
16295
16296 /* Override any gcc2 internal prototype to avoid an error. */
16297 #ifdef __cplusplus
16298 extern "C"
16299 {
16300 #endif
16301 /* We use char because int might match the return type of a gcc2
16302 builtin and then its argument prototype would still apply. */
16303 char $ac_func ();
16304 /* The GNU C library defines this for functions which it implements
16305 to always fail with ENOSYS. Some functions are actually named
16306 something starting with __ and the normal name is an alias. */
16307 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16308 choke me
16309 #else
16310 char (*f) () = $ac_func;
16311 #endif
16312 #ifdef __cplusplus
16313 }
16314 #endif
16315
16316 int
16317 main ()
16318 {
16319 return f != $ac_func;
16320 ;
16321 return 0;
16322 }
16323 _ACEOF
16324 rm -f conftest.$ac_objext conftest$ac_exeext
16325 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16326 (eval $ac_link) 2>conftest.er1
16327 ac_status=$?
16328 grep -v '^ *+' conftest.er1 >conftest.err
16329 rm -f conftest.er1
16330 cat conftest.err >&5
16331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16332 (exit $ac_status); } &&
16333 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16334 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16335 (eval $ac_try) 2>&5
16336 ac_status=$?
16337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16338 (exit $ac_status); }; } &&
16339 { ac_try='test -s conftest$ac_exeext'
16340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16341 (eval $ac_try) 2>&5
16342 ac_status=$?
16343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16344 (exit $ac_status); }; }; then
16345 eval "$as_ac_var=yes"
16346 else
16347 echo "$as_me: failed program was:" >&5
16348 sed 's/^/| /' conftest.$ac_ext >&5
16349
16350 eval "$as_ac_var=no"
16351 fi
16352 rm -f conftest.err conftest.$ac_objext \
16353 conftest$ac_exeext conftest.$ac_ext
16354 fi
16355 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16356 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16357 if test `eval echo '${'$as_ac_var'}'` = yes; then
16358 cat >>confdefs.h <<_ACEOF
16359 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16360 _ACEOF
16361
16362 fi
16363 done
16364
16365 fi
16366 fi
16367
16368
16369
16370
16371
16372
16373 echo "$as_me:$LINENO: checking for modff declaration" >&5
16374 echo $ECHO_N "checking for modff declaration... $ECHO_C" >&6
16375 if test x${glibcxx_cv_func_modff_use+set} != xset; then
16376 if test "${glibcxx_cv_func_modff_use+set}" = set; then
16377 echo $ECHO_N "(cached) $ECHO_C" >&6
16378 else
16379
16380
16381
16382 ac_ext=cc
16383 ac_cpp='$CXXCPP $CPPFLAGS'
16384 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16385 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16386 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16387
16388 cat >conftest.$ac_ext <<_ACEOF
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 int
16396 main ()
16397 {
16398 modff(0, 0);
16399 ;
16400 return 0;
16401 }
16402 _ACEOF
16403 rm -f conftest.$ac_objext
16404 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16405 (eval $ac_compile) 2>conftest.er1
16406 ac_status=$?
16407 grep -v '^ *+' conftest.er1 >conftest.err
16408 rm -f conftest.er1
16409 cat conftest.err >&5
16410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16411 (exit $ac_status); } &&
16412 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16414 (eval $ac_try) 2>&5
16415 ac_status=$?
16416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16417 (exit $ac_status); }; } &&
16418 { ac_try='test -s conftest.$ac_objext'
16419 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16420 (eval $ac_try) 2>&5
16421 ac_status=$?
16422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16423 (exit $ac_status); }; }; then
16424 glibcxx_cv_func_modff_use=yes
16425 else
16426 echo "$as_me: failed program was:" >&5
16427 sed 's/^/| /' conftest.$ac_ext >&5
16428
16429 glibcxx_cv_func_modff_use=no
16430 fi
16431 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16432 ac_ext=c
16433 ac_cpp='$CPP $CPPFLAGS'
16434 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16435 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16436 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16437
16438
16439 fi
16440
16441 fi
16442 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modff_use" >&5
16443 echo "${ECHO_T}$glibcxx_cv_func_modff_use" >&6
16444
16445 if test x$glibcxx_cv_func_modff_use = x"yes"; then
16446
16447 for ac_func in modff
16448 do
16449 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16450 echo "$as_me:$LINENO: checking for $ac_func" >&5
16451 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16452 if eval "test \"\${$as_ac_var+set}\" = set"; then
16453 echo $ECHO_N "(cached) $ECHO_C" >&6
16454 else
16455 if test x$gcc_no_link = xyes; then
16456 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16457 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16458 { (exit 1); exit 1; }; }
16459 fi
16460 cat >conftest.$ac_ext <<_ACEOF
16461 /* confdefs.h. */
16462 _ACEOF
16463 cat confdefs.h >>conftest.$ac_ext
16464 cat >>conftest.$ac_ext <<_ACEOF
16465 /* end confdefs.h. */
16466 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16467 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16468 #define $ac_func innocuous_$ac_func
16469
16470 /* System header to define __stub macros and hopefully few prototypes,
16471 which can conflict with char $ac_func (); below.
16472 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16473 <limits.h> exists even on freestanding compilers. */
16474
16475 #ifdef __STDC__
16476 # include <limits.h>
16477 #else
16478 # include <assert.h>
16479 #endif
16480
16481 #undef $ac_func
16482
16483 /* Override any gcc2 internal prototype to avoid an error. */
16484 #ifdef __cplusplus
16485 extern "C"
16486 {
16487 #endif
16488 /* We use char because int might match the return type of a gcc2
16489 builtin and then its argument prototype would still apply. */
16490 char $ac_func ();
16491 /* The GNU C library defines this for functions which it implements
16492 to always fail with ENOSYS. Some functions are actually named
16493 something starting with __ and the normal name is an alias. */
16494 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16495 choke me
16496 #else
16497 char (*f) () = $ac_func;
16498 #endif
16499 #ifdef __cplusplus
16500 }
16501 #endif
16502
16503 int
16504 main ()
16505 {
16506 return f != $ac_func;
16507 ;
16508 return 0;
16509 }
16510 _ACEOF
16511 rm -f conftest.$ac_objext conftest$ac_exeext
16512 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16513 (eval $ac_link) 2>conftest.er1
16514 ac_status=$?
16515 grep -v '^ *+' conftest.er1 >conftest.err
16516 rm -f conftest.er1
16517 cat conftest.err >&5
16518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16519 (exit $ac_status); } &&
16520 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16522 (eval $ac_try) 2>&5
16523 ac_status=$?
16524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16525 (exit $ac_status); }; } &&
16526 { ac_try='test -s conftest$ac_exeext'
16527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16528 (eval $ac_try) 2>&5
16529 ac_status=$?
16530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16531 (exit $ac_status); }; }; then
16532 eval "$as_ac_var=yes"
16533 else
16534 echo "$as_me: failed program was:" >&5
16535 sed 's/^/| /' conftest.$ac_ext >&5
16536
16537 eval "$as_ac_var=no"
16538 fi
16539 rm -f conftest.err conftest.$ac_objext \
16540 conftest$ac_exeext conftest.$ac_ext
16541 fi
16542 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16543 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16544 if test `eval echo '${'$as_ac_var'}'` = yes; then
16545 cat >>confdefs.h <<_ACEOF
16546 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16547 _ACEOF
16548
16549 fi
16550 done
16551
16552 else
16553
16554 echo "$as_me:$LINENO: checking for _modff declaration" >&5
16555 echo $ECHO_N "checking for _modff declaration... $ECHO_C" >&6
16556 if test x${glibcxx_cv_func__modff_use+set} != xset; then
16557 if test "${glibcxx_cv_func__modff_use+set}" = set; then
16558 echo $ECHO_N "(cached) $ECHO_C" >&6
16559 else
16560
16561
16562
16563 ac_ext=cc
16564 ac_cpp='$CXXCPP $CPPFLAGS'
16565 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16566 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16567 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16568
16569 cat >conftest.$ac_ext <<_ACEOF
16570 /* confdefs.h. */
16571 _ACEOF
16572 cat confdefs.h >>conftest.$ac_ext
16573 cat >>conftest.$ac_ext <<_ACEOF
16574 /* end confdefs.h. */
16575 #include <math.h>
16576 int
16577 main ()
16578 {
16579 _modff(0, 0);
16580 ;
16581 return 0;
16582 }
16583 _ACEOF
16584 rm -f conftest.$ac_objext
16585 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16586 (eval $ac_compile) 2>conftest.er1
16587 ac_status=$?
16588 grep -v '^ *+' conftest.er1 >conftest.err
16589 rm -f conftest.er1
16590 cat conftest.err >&5
16591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16592 (exit $ac_status); } &&
16593 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16595 (eval $ac_try) 2>&5
16596 ac_status=$?
16597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16598 (exit $ac_status); }; } &&
16599 { ac_try='test -s conftest.$ac_objext'
16600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16601 (eval $ac_try) 2>&5
16602 ac_status=$?
16603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16604 (exit $ac_status); }; }; then
16605 glibcxx_cv_func__modff_use=yes
16606 else
16607 echo "$as_me: failed program was:" >&5
16608 sed 's/^/| /' conftest.$ac_ext >&5
16609
16610 glibcxx_cv_func__modff_use=no
16611 fi
16612 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16613 ac_ext=c
16614 ac_cpp='$CPP $CPPFLAGS'
16615 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16616 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16617 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16618
16619
16620 fi
16621
16622 fi
16623 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modff_use" >&5
16624 echo "${ECHO_T}$glibcxx_cv_func__modff_use" >&6
16625
16626 if test x$glibcxx_cv_func__modff_use = x"yes"; then
16627
16628 for ac_func in _modff
16629 do
16630 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16631 echo "$as_me:$LINENO: checking for $ac_func" >&5
16632 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16633 if eval "test \"\${$as_ac_var+set}\" = set"; then
16634 echo $ECHO_N "(cached) $ECHO_C" >&6
16635 else
16636 if test x$gcc_no_link = xyes; then
16637 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16638 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16639 { (exit 1); exit 1; }; }
16640 fi
16641 cat >conftest.$ac_ext <<_ACEOF
16642 /* confdefs.h. */
16643 _ACEOF
16644 cat confdefs.h >>conftest.$ac_ext
16645 cat >>conftest.$ac_ext <<_ACEOF
16646 /* end confdefs.h. */
16647 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16648 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16649 #define $ac_func innocuous_$ac_func
16650
16651 /* System header to define __stub macros and hopefully few prototypes,
16652 which can conflict with char $ac_func (); below.
16653 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16654 <limits.h> exists even on freestanding compilers. */
16655
16656 #ifdef __STDC__
16657 # include <limits.h>
16658 #else
16659 # include <assert.h>
16660 #endif
16661
16662 #undef $ac_func
16663
16664 /* Override any gcc2 internal prototype to avoid an error. */
16665 #ifdef __cplusplus
16666 extern "C"
16667 {
16668 #endif
16669 /* We use char because int might match the return type of a gcc2
16670 builtin and then its argument prototype would still apply. */
16671 char $ac_func ();
16672 /* The GNU C library defines this for functions which it implements
16673 to always fail with ENOSYS. Some functions are actually named
16674 something starting with __ and the normal name is an alias. */
16675 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16676 choke me
16677 #else
16678 char (*f) () = $ac_func;
16679 #endif
16680 #ifdef __cplusplus
16681 }
16682 #endif
16683
16684 int
16685 main ()
16686 {
16687 return f != $ac_func;
16688 ;
16689 return 0;
16690 }
16691 _ACEOF
16692 rm -f conftest.$ac_objext conftest$ac_exeext
16693 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16694 (eval $ac_link) 2>conftest.er1
16695 ac_status=$?
16696 grep -v '^ *+' conftest.er1 >conftest.err
16697 rm -f conftest.er1
16698 cat conftest.err >&5
16699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16700 (exit $ac_status); } &&
16701 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16703 (eval $ac_try) 2>&5
16704 ac_status=$?
16705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16706 (exit $ac_status); }; } &&
16707 { ac_try='test -s conftest$ac_exeext'
16708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16709 (eval $ac_try) 2>&5
16710 ac_status=$?
16711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16712 (exit $ac_status); }; }; then
16713 eval "$as_ac_var=yes"
16714 else
16715 echo "$as_me: failed program was:" >&5
16716 sed 's/^/| /' conftest.$ac_ext >&5
16717
16718 eval "$as_ac_var=no"
16719 fi
16720 rm -f conftest.err conftest.$ac_objext \
16721 conftest$ac_exeext conftest.$ac_ext
16722 fi
16723 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16724 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16725 if test `eval echo '${'$as_ac_var'}'` = yes; then
16726 cat >>confdefs.h <<_ACEOF
16727 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16728 _ACEOF
16729
16730 fi
16731 done
16732
16733 fi
16734 fi
16735
16736
16737
16738
16739
16740
16741 echo "$as_me:$LINENO: checking for modf declaration" >&5
16742 echo $ECHO_N "checking for modf declaration... $ECHO_C" >&6
16743 if test x${glibcxx_cv_func_modf_use+set} != xset; then
16744 if test "${glibcxx_cv_func_modf_use+set}" = set; then
16745 echo $ECHO_N "(cached) $ECHO_C" >&6
16746 else
16747
16748
16749
16750 ac_ext=cc
16751 ac_cpp='$CXXCPP $CPPFLAGS'
16752 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16753 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16754 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16755
16756 cat >conftest.$ac_ext <<_ACEOF
16757 /* confdefs.h. */
16758 _ACEOF
16759 cat confdefs.h >>conftest.$ac_ext
16760 cat >>conftest.$ac_ext <<_ACEOF
16761 /* end confdefs.h. */
16762 #include <math.h>
16763 int
16764 main ()
16765 {
16766 modf(0, 0);
16767 ;
16768 return 0;
16769 }
16770 _ACEOF
16771 rm -f conftest.$ac_objext
16772 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16773 (eval $ac_compile) 2>conftest.er1
16774 ac_status=$?
16775 grep -v '^ *+' conftest.er1 >conftest.err
16776 rm -f conftest.er1
16777 cat conftest.err >&5
16778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16779 (exit $ac_status); } &&
16780 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16782 (eval $ac_try) 2>&5
16783 ac_status=$?
16784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16785 (exit $ac_status); }; } &&
16786 { ac_try='test -s conftest.$ac_objext'
16787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16788 (eval $ac_try) 2>&5
16789 ac_status=$?
16790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16791 (exit $ac_status); }; }; then
16792 glibcxx_cv_func_modf_use=yes
16793 else
16794 echo "$as_me: failed program was:" >&5
16795 sed 's/^/| /' conftest.$ac_ext >&5
16796
16797 glibcxx_cv_func_modf_use=no
16798 fi
16799 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16800 ac_ext=c
16801 ac_cpp='$CPP $CPPFLAGS'
16802 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16803 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16804 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16805
16806
16807 fi
16808
16809 fi
16810 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modf_use" >&5
16811 echo "${ECHO_T}$glibcxx_cv_func_modf_use" >&6
16812
16813 if test x$glibcxx_cv_func_modf_use = x"yes"; then
16814
16815 for ac_func in modf
16816 do
16817 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16818 echo "$as_me:$LINENO: checking for $ac_func" >&5
16819 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16820 if eval "test \"\${$as_ac_var+set}\" = set"; then
16821 echo $ECHO_N "(cached) $ECHO_C" >&6
16822 else
16823 if test x$gcc_no_link = xyes; then
16824 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16825 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16826 { (exit 1); exit 1; }; }
16827 fi
16828 cat >conftest.$ac_ext <<_ACEOF
16829 /* confdefs.h. */
16830 _ACEOF
16831 cat confdefs.h >>conftest.$ac_ext
16832 cat >>conftest.$ac_ext <<_ACEOF
16833 /* end confdefs.h. */
16834 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16835 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16836 #define $ac_func innocuous_$ac_func
16837
16838 /* System header to define __stub macros and hopefully few prototypes,
16839 which can conflict with char $ac_func (); below.
16840 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16841 <limits.h> exists even on freestanding compilers. */
16842
16843 #ifdef __STDC__
16844 # include <limits.h>
16845 #else
16846 # include <assert.h>
16847 #endif
16848
16849 #undef $ac_func
16850
16851 /* Override any gcc2 internal prototype to avoid an error. */
16852 #ifdef __cplusplus
16853 extern "C"
16854 {
16855 #endif
16856 /* We use char because int might match the return type of a gcc2
16857 builtin and then its argument prototype would still apply. */
16858 char $ac_func ();
16859 /* The GNU C library defines this for functions which it implements
16860 to always fail with ENOSYS. Some functions are actually named
16861 something starting with __ and the normal name is an alias. */
16862 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16863 choke me
16864 #else
16865 char (*f) () = $ac_func;
16866 #endif
16867 #ifdef __cplusplus
16868 }
16869 #endif
16870
16871 int
16872 main ()
16873 {
16874 return f != $ac_func;
16875 ;
16876 return 0;
16877 }
16878 _ACEOF
16879 rm -f conftest.$ac_objext conftest$ac_exeext
16880 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16881 (eval $ac_link) 2>conftest.er1
16882 ac_status=$?
16883 grep -v '^ *+' conftest.er1 >conftest.err
16884 rm -f conftest.er1
16885 cat conftest.err >&5
16886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16887 (exit $ac_status); } &&
16888 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16889 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16890 (eval $ac_try) 2>&5
16891 ac_status=$?
16892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16893 (exit $ac_status); }; } &&
16894 { ac_try='test -s conftest$ac_exeext'
16895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16896 (eval $ac_try) 2>&5
16897 ac_status=$?
16898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16899 (exit $ac_status); }; }; then
16900 eval "$as_ac_var=yes"
16901 else
16902 echo "$as_me: failed program was:" >&5
16903 sed 's/^/| /' conftest.$ac_ext >&5
16904
16905 eval "$as_ac_var=no"
16906 fi
16907 rm -f conftest.err conftest.$ac_objext \
16908 conftest$ac_exeext conftest.$ac_ext
16909 fi
16910 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16911 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16912 if test `eval echo '${'$as_ac_var'}'` = yes; then
16913 cat >>confdefs.h <<_ACEOF
16914 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16915 _ACEOF
16916
16917 fi
16918 done
16919
16920 else
16921
16922 echo "$as_me:$LINENO: checking for _modf declaration" >&5
16923 echo $ECHO_N "checking for _modf declaration... $ECHO_C" >&6
16924 if test x${glibcxx_cv_func__modf_use+set} != xset; then
16925 if test "${glibcxx_cv_func__modf_use+set}" = set; then
16926 echo $ECHO_N "(cached) $ECHO_C" >&6
16927 else
16928
16929
16930
16931 ac_ext=cc
16932 ac_cpp='$CXXCPP $CPPFLAGS'
16933 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16934 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16935 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16936
16937 cat >conftest.$ac_ext <<_ACEOF
16938 /* confdefs.h. */
16939 _ACEOF
16940 cat confdefs.h >>conftest.$ac_ext
16941 cat >>conftest.$ac_ext <<_ACEOF
16942 /* end confdefs.h. */
16943 #include <math.h>
16944 int
16945 main ()
16946 {
16947 _modf(0, 0);
16948 ;
16949 return 0;
16950 }
16951 _ACEOF
16952 rm -f conftest.$ac_objext
16953 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16954 (eval $ac_compile) 2>conftest.er1
16955 ac_status=$?
16956 grep -v '^ *+' conftest.er1 >conftest.err
16957 rm -f conftest.er1
16958 cat conftest.err >&5
16959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16960 (exit $ac_status); } &&
16961 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16963 (eval $ac_try) 2>&5
16964 ac_status=$?
16965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16966 (exit $ac_status); }; } &&
16967 { ac_try='test -s conftest.$ac_objext'
16968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16969 (eval $ac_try) 2>&5
16970 ac_status=$?
16971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16972 (exit $ac_status); }; }; then
16973 glibcxx_cv_func__modf_use=yes
16974 else
16975 echo "$as_me: failed program was:" >&5
16976 sed 's/^/| /' conftest.$ac_ext >&5
16977
16978 glibcxx_cv_func__modf_use=no
16979 fi
16980 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16981 ac_ext=c
16982 ac_cpp='$CPP $CPPFLAGS'
16983 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16984 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16985 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16986
16987
16988 fi
16989
16990 fi
16991 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modf_use" >&5
16992 echo "${ECHO_T}$glibcxx_cv_func__modf_use" >&6
16993
16994 if test x$glibcxx_cv_func__modf_use = x"yes"; then
16995
16996 for ac_func in _modf
16997 do
16998 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16999 echo "$as_me:$LINENO: checking for $ac_func" >&5
17000 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17001 if eval "test \"\${$as_ac_var+set}\" = set"; then
17002 echo $ECHO_N "(cached) $ECHO_C" >&6
17003 else
17004 if test x$gcc_no_link = xyes; then
17005 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17006 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17007 { (exit 1); exit 1; }; }
17008 fi
17009 cat >conftest.$ac_ext <<_ACEOF
17010 /* confdefs.h. */
17011 _ACEOF
17012 cat confdefs.h >>conftest.$ac_ext
17013 cat >>conftest.$ac_ext <<_ACEOF
17014 /* end confdefs.h. */
17015 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17016 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17017 #define $ac_func innocuous_$ac_func
17018
17019 /* System header to define __stub macros and hopefully few prototypes,
17020 which can conflict with char $ac_func (); below.
17021 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17022 <limits.h> exists even on freestanding compilers. */
17023
17024 #ifdef __STDC__
17025 # include <limits.h>
17026 #else
17027 # include <assert.h>
17028 #endif
17029
17030 #undef $ac_func
17031
17032 /* Override any gcc2 internal prototype to avoid an error. */
17033 #ifdef __cplusplus
17034 extern "C"
17035 {
17036 #endif
17037 /* We use char because int might match the return type of a gcc2
17038 builtin and then its argument prototype would still apply. */
17039 char $ac_func ();
17040 /* The GNU C library defines this for functions which it implements
17041 to always fail with ENOSYS. Some functions are actually named
17042 something starting with __ and the normal name is an alias. */
17043 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17044 choke me
17045 #else
17046 char (*f) () = $ac_func;
17047 #endif
17048 #ifdef __cplusplus
17049 }
17050 #endif
17051
17052 int
17053 main ()
17054 {
17055 return f != $ac_func;
17056 ;
17057 return 0;
17058 }
17059 _ACEOF
17060 rm -f conftest.$ac_objext conftest$ac_exeext
17061 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17062 (eval $ac_link) 2>conftest.er1
17063 ac_status=$?
17064 grep -v '^ *+' conftest.er1 >conftest.err
17065 rm -f conftest.er1
17066 cat conftest.err >&5
17067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17068 (exit $ac_status); } &&
17069 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17070 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17071 (eval $ac_try) 2>&5
17072 ac_status=$?
17073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17074 (exit $ac_status); }; } &&
17075 { ac_try='test -s conftest$ac_exeext'
17076 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17077 (eval $ac_try) 2>&5
17078 ac_status=$?
17079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17080 (exit $ac_status); }; }; then
17081 eval "$as_ac_var=yes"
17082 else
17083 echo "$as_me: failed program was:" >&5
17084 sed 's/^/| /' conftest.$ac_ext >&5
17085
17086 eval "$as_ac_var=no"
17087 fi
17088 rm -f conftest.err conftest.$ac_objext \
17089 conftest$ac_exeext conftest.$ac_ext
17090 fi
17091 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17092 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17093 if test `eval echo '${'$as_ac_var'}'` = yes; then
17094 cat >>confdefs.h <<_ACEOF
17095 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17096 _ACEOF
17097
17098 fi
17099 done
17100
17101 fi
17102 fi
17103
17104
17105
17106
17107
17108
17109 echo "$as_me:$LINENO: checking for powf declaration" >&5
17110 echo $ECHO_N "checking for powf declaration... $ECHO_C" >&6
17111 if test x${glibcxx_cv_func_powf_use+set} != xset; then
17112 if test "${glibcxx_cv_func_powf_use+set}" = set; then
17113 echo $ECHO_N "(cached) $ECHO_C" >&6
17114 else
17115
17116
17117
17118 ac_ext=cc
17119 ac_cpp='$CXXCPP $CPPFLAGS'
17120 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17121 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17122 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17123
17124 cat >conftest.$ac_ext <<_ACEOF
17125 /* confdefs.h. */
17126 _ACEOF
17127 cat confdefs.h >>conftest.$ac_ext
17128 cat >>conftest.$ac_ext <<_ACEOF
17129 /* end confdefs.h. */
17130 #include <math.h>
17131 int
17132 main ()
17133 {
17134 powf(0, 0);
17135 ;
17136 return 0;
17137 }
17138 _ACEOF
17139 rm -f conftest.$ac_objext
17140 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17141 (eval $ac_compile) 2>conftest.er1
17142 ac_status=$?
17143 grep -v '^ *+' conftest.er1 >conftest.err
17144 rm -f conftest.er1
17145 cat conftest.err >&5
17146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17147 (exit $ac_status); } &&
17148 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17150 (eval $ac_try) 2>&5
17151 ac_status=$?
17152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17153 (exit $ac_status); }; } &&
17154 { ac_try='test -s conftest.$ac_objext'
17155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17156 (eval $ac_try) 2>&5
17157 ac_status=$?
17158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17159 (exit $ac_status); }; }; then
17160 glibcxx_cv_func_powf_use=yes
17161 else
17162 echo "$as_me: failed program was:" >&5
17163 sed 's/^/| /' conftest.$ac_ext >&5
17164
17165 glibcxx_cv_func_powf_use=no
17166 fi
17167 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17168 ac_ext=c
17169 ac_cpp='$CPP $CPPFLAGS'
17170 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17171 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17172 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17173
17174
17175 fi
17176
17177 fi
17178 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powf_use" >&5
17179 echo "${ECHO_T}$glibcxx_cv_func_powf_use" >&6
17180
17181 if test x$glibcxx_cv_func_powf_use = x"yes"; then
17182
17183 for ac_func in powf
17184 do
17185 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17186 echo "$as_me:$LINENO: checking for $ac_func" >&5
17187 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17188 if eval "test \"\${$as_ac_var+set}\" = set"; then
17189 echo $ECHO_N "(cached) $ECHO_C" >&6
17190 else
17191 if test x$gcc_no_link = xyes; then
17192 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17193 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17194 { (exit 1); exit 1; }; }
17195 fi
17196 cat >conftest.$ac_ext <<_ACEOF
17197 /* confdefs.h. */
17198 _ACEOF
17199 cat confdefs.h >>conftest.$ac_ext
17200 cat >>conftest.$ac_ext <<_ACEOF
17201 /* end confdefs.h. */
17202 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17203 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17204 #define $ac_func innocuous_$ac_func
17205
17206 /* System header to define __stub macros and hopefully few prototypes,
17207 which can conflict with char $ac_func (); below.
17208 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17209 <limits.h> exists even on freestanding compilers. */
17210
17211 #ifdef __STDC__
17212 # include <limits.h>
17213 #else
17214 # include <assert.h>
17215 #endif
17216
17217 #undef $ac_func
17218
17219 /* Override any gcc2 internal prototype to avoid an error. */
17220 #ifdef __cplusplus
17221 extern "C"
17222 {
17223 #endif
17224 /* We use char because int might match the return type of a gcc2
17225 builtin and then its argument prototype would still apply. */
17226 char $ac_func ();
17227 /* The GNU C library defines this for functions which it implements
17228 to always fail with ENOSYS. Some functions are actually named
17229 something starting with __ and the normal name is an alias. */
17230 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17231 choke me
17232 #else
17233 char (*f) () = $ac_func;
17234 #endif
17235 #ifdef __cplusplus
17236 }
17237 #endif
17238
17239 int
17240 main ()
17241 {
17242 return f != $ac_func;
17243 ;
17244 return 0;
17245 }
17246 _ACEOF
17247 rm -f conftest.$ac_objext conftest$ac_exeext
17248 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17249 (eval $ac_link) 2>conftest.er1
17250 ac_status=$?
17251 grep -v '^ *+' conftest.er1 >conftest.err
17252 rm -f conftest.er1
17253 cat conftest.err >&5
17254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17255 (exit $ac_status); } &&
17256 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17258 (eval $ac_try) 2>&5
17259 ac_status=$?
17260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17261 (exit $ac_status); }; } &&
17262 { ac_try='test -s conftest$ac_exeext'
17263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17264 (eval $ac_try) 2>&5
17265 ac_status=$?
17266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17267 (exit $ac_status); }; }; then
17268 eval "$as_ac_var=yes"
17269 else
17270 echo "$as_me: failed program was:" >&5
17271 sed 's/^/| /' conftest.$ac_ext >&5
17272
17273 eval "$as_ac_var=no"
17274 fi
17275 rm -f conftest.err conftest.$ac_objext \
17276 conftest$ac_exeext conftest.$ac_ext
17277 fi
17278 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17279 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17280 if test `eval echo '${'$as_ac_var'}'` = yes; then
17281 cat >>confdefs.h <<_ACEOF
17282 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17283 _ACEOF
17284
17285 fi
17286 done
17287
17288 else
17289
17290 echo "$as_me:$LINENO: checking for _powf declaration" >&5
17291 echo $ECHO_N "checking for _powf declaration... $ECHO_C" >&6
17292 if test x${glibcxx_cv_func__powf_use+set} != xset; then
17293 if test "${glibcxx_cv_func__powf_use+set}" = set; then
17294 echo $ECHO_N "(cached) $ECHO_C" >&6
17295 else
17296
17297
17298
17299 ac_ext=cc
17300 ac_cpp='$CXXCPP $CPPFLAGS'
17301 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17302 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17303 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17304
17305 cat >conftest.$ac_ext <<_ACEOF
17306 /* confdefs.h. */
17307 _ACEOF
17308 cat confdefs.h >>conftest.$ac_ext
17309 cat >>conftest.$ac_ext <<_ACEOF
17310 /* end confdefs.h. */
17311 #include <math.h>
17312 int
17313 main ()
17314 {
17315 _powf(0, 0);
17316 ;
17317 return 0;
17318 }
17319 _ACEOF
17320 rm -f conftest.$ac_objext
17321 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17322 (eval $ac_compile) 2>conftest.er1
17323 ac_status=$?
17324 grep -v '^ *+' conftest.er1 >conftest.err
17325 rm -f conftest.er1
17326 cat conftest.err >&5
17327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17328 (exit $ac_status); } &&
17329 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17331 (eval $ac_try) 2>&5
17332 ac_status=$?
17333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17334 (exit $ac_status); }; } &&
17335 { ac_try='test -s conftest.$ac_objext'
17336 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17337 (eval $ac_try) 2>&5
17338 ac_status=$?
17339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17340 (exit $ac_status); }; }; then
17341 glibcxx_cv_func__powf_use=yes
17342 else
17343 echo "$as_me: failed program was:" >&5
17344 sed 's/^/| /' conftest.$ac_ext >&5
17345
17346 glibcxx_cv_func__powf_use=no
17347 fi
17348 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17349 ac_ext=c
17350 ac_cpp='$CPP $CPPFLAGS'
17351 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17352 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17353 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17354
17355
17356 fi
17357
17358 fi
17359 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powf_use" >&5
17360 echo "${ECHO_T}$glibcxx_cv_func__powf_use" >&6
17361
17362 if test x$glibcxx_cv_func__powf_use = x"yes"; then
17363
17364 for ac_func in _powf
17365 do
17366 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17367 echo "$as_me:$LINENO: checking for $ac_func" >&5
17368 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17369 if eval "test \"\${$as_ac_var+set}\" = set"; then
17370 echo $ECHO_N "(cached) $ECHO_C" >&6
17371 else
17372 if test x$gcc_no_link = xyes; then
17373 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17374 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17375 { (exit 1); exit 1; }; }
17376 fi
17377 cat >conftest.$ac_ext <<_ACEOF
17378 /* confdefs.h. */
17379 _ACEOF
17380 cat confdefs.h >>conftest.$ac_ext
17381 cat >>conftest.$ac_ext <<_ACEOF
17382 /* end confdefs.h. */
17383 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17384 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17385 #define $ac_func innocuous_$ac_func
17386
17387 /* System header to define __stub macros and hopefully few prototypes,
17388 which can conflict with char $ac_func (); below.
17389 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17390 <limits.h> exists even on freestanding compilers. */
17391
17392 #ifdef __STDC__
17393 # include <limits.h>
17394 #else
17395 # include <assert.h>
17396 #endif
17397
17398 #undef $ac_func
17399
17400 /* Override any gcc2 internal prototype to avoid an error. */
17401 #ifdef __cplusplus
17402 extern "C"
17403 {
17404 #endif
17405 /* We use char because int might match the return type of a gcc2
17406 builtin and then its argument prototype would still apply. */
17407 char $ac_func ();
17408 /* The GNU C library defines this for functions which it implements
17409 to always fail with ENOSYS. Some functions are actually named
17410 something starting with __ and the normal name is an alias. */
17411 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17412 choke me
17413 #else
17414 char (*f) () = $ac_func;
17415 #endif
17416 #ifdef __cplusplus
17417 }
17418 #endif
17419
17420 int
17421 main ()
17422 {
17423 return f != $ac_func;
17424 ;
17425 return 0;
17426 }
17427 _ACEOF
17428 rm -f conftest.$ac_objext conftest$ac_exeext
17429 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17430 (eval $ac_link) 2>conftest.er1
17431 ac_status=$?
17432 grep -v '^ *+' conftest.er1 >conftest.err
17433 rm -f conftest.er1
17434 cat conftest.err >&5
17435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17436 (exit $ac_status); } &&
17437 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17439 (eval $ac_try) 2>&5
17440 ac_status=$?
17441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17442 (exit $ac_status); }; } &&
17443 { ac_try='test -s conftest$ac_exeext'
17444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17445 (eval $ac_try) 2>&5
17446 ac_status=$?
17447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17448 (exit $ac_status); }; }; then
17449 eval "$as_ac_var=yes"
17450 else
17451 echo "$as_me: failed program was:" >&5
17452 sed 's/^/| /' conftest.$ac_ext >&5
17453
17454 eval "$as_ac_var=no"
17455 fi
17456 rm -f conftest.err conftest.$ac_objext \
17457 conftest$ac_exeext conftest.$ac_ext
17458 fi
17459 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17460 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17461 if test `eval echo '${'$as_ac_var'}'` = yes; then
17462 cat >>confdefs.h <<_ACEOF
17463 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17464 _ACEOF
17465
17466 fi
17467 done
17468
17469 fi
17470 fi
17471
17472
17473
17474
17475
17476
17477 echo "$as_me:$LINENO: checking for sqrtf declaration" >&5
17478 echo $ECHO_N "checking for sqrtf declaration... $ECHO_C" >&6
17479 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
17480 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then
17481 echo $ECHO_N "(cached) $ECHO_C" >&6
17482 else
17483
17484
17485
17486 ac_ext=cc
17487 ac_cpp='$CXXCPP $CPPFLAGS'
17488 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17489 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17490 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17491
17492 cat >conftest.$ac_ext <<_ACEOF
17493 /* confdefs.h. */
17494 _ACEOF
17495 cat confdefs.h >>conftest.$ac_ext
17496 cat >>conftest.$ac_ext <<_ACEOF
17497 /* end confdefs.h. */
17498 #include <math.h>
17499 #ifdef HAVE_IEEEFP_H
17500 #include <ieeefp.h>
17501 #endif
17502
17503 int
17504 main ()
17505 {
17506 sqrtf(0);
17507 ;
17508 return 0;
17509 }
17510 _ACEOF
17511 rm -f conftest.$ac_objext
17512 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17513 (eval $ac_compile) 2>conftest.er1
17514 ac_status=$?
17515 grep -v '^ *+' conftest.er1 >conftest.err
17516 rm -f conftest.er1
17517 cat conftest.err >&5
17518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17519 (exit $ac_status); } &&
17520 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17522 (eval $ac_try) 2>&5
17523 ac_status=$?
17524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17525 (exit $ac_status); }; } &&
17526 { ac_try='test -s conftest.$ac_objext'
17527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17528 (eval $ac_try) 2>&5
17529 ac_status=$?
17530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17531 (exit $ac_status); }; }; then
17532 glibcxx_cv_func_sqrtf_use=yes
17533 else
17534 echo "$as_me: failed program was:" >&5
17535 sed 's/^/| /' conftest.$ac_ext >&5
17536
17537 glibcxx_cv_func_sqrtf_use=no
17538 fi
17539 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17540 ac_ext=c
17541 ac_cpp='$CPP $CPPFLAGS'
17542 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17543 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17544 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17545
17546
17547 fi
17548
17549 fi
17550 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtf_use" >&5
17551 echo "${ECHO_T}$glibcxx_cv_func_sqrtf_use" >&6
17552
17553 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
17554
17555 for ac_func in sqrtf
17556 do
17557 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17558 echo "$as_me:$LINENO: checking for $ac_func" >&5
17559 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17560 if eval "test \"\${$as_ac_var+set}\" = set"; then
17561 echo $ECHO_N "(cached) $ECHO_C" >&6
17562 else
17563 if test x$gcc_no_link = xyes; then
17564 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17565 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17566 { (exit 1); exit 1; }; }
17567 fi
17568 cat >conftest.$ac_ext <<_ACEOF
17569 /* confdefs.h. */
17570 _ACEOF
17571 cat confdefs.h >>conftest.$ac_ext
17572 cat >>conftest.$ac_ext <<_ACEOF
17573 /* end confdefs.h. */
17574 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17575 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17576 #define $ac_func innocuous_$ac_func
17577
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
17583 #ifdef __STDC__
17584 # include <limits.h>
17585 #else
17586 # include <assert.h>
17587 #endif
17588
17589 #undef $ac_func
17590
17591 /* Override any gcc2 internal prototype to avoid an error. */
17592 #ifdef __cplusplus
17593 extern "C"
17594 {
17595 #endif
17596 /* We use char because int might match the return type of a gcc2
17597 builtin and then its argument prototype would still apply. */
17598 char $ac_func ();
17599 /* The GNU C library defines this for functions which it implements
17600 to always fail with ENOSYS. Some functions are actually named
17601 something starting with __ and the normal name is an alias. */
17602 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17603 choke me
17604 #else
17605 char (*f) () = $ac_func;
17606 #endif
17607 #ifdef __cplusplus
17608 }
17609 #endif
17610
17611 int
17612 main ()
17613 {
17614 return f != $ac_func;
17615 ;
17616 return 0;
17617 }
17618 _ACEOF
17619 rm -f conftest.$ac_objext conftest$ac_exeext
17620 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17621 (eval $ac_link) 2>conftest.er1
17622 ac_status=$?
17623 grep -v '^ *+' conftest.er1 >conftest.err
17624 rm -f conftest.er1
17625 cat conftest.err >&5
17626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17627 (exit $ac_status); } &&
17628 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17630 (eval $ac_try) 2>&5
17631 ac_status=$?
17632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17633 (exit $ac_status); }; } &&
17634 { ac_try='test -s conftest$ac_exeext'
17635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17636 (eval $ac_try) 2>&5
17637 ac_status=$?
17638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17639 (exit $ac_status); }; }; then
17640 eval "$as_ac_var=yes"
17641 else
17642 echo "$as_me: failed program was:" >&5
17643 sed 's/^/| /' conftest.$ac_ext >&5
17644
17645 eval "$as_ac_var=no"
17646 fi
17647 rm -f conftest.err conftest.$ac_objext \
17648 conftest$ac_exeext conftest.$ac_ext
17649 fi
17650 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17651 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17652 if test `eval echo '${'$as_ac_var'}'` = yes; then
17653 cat >>confdefs.h <<_ACEOF
17654 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17655 _ACEOF
17656
17657 fi
17658 done
17659
17660 else
17661
17662 echo "$as_me:$LINENO: checking for _sqrtf declaration" >&5
17663 echo $ECHO_N "checking for _sqrtf declaration... $ECHO_C" >&6
17664 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
17665 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then
17666 echo $ECHO_N "(cached) $ECHO_C" >&6
17667 else
17668
17669
17670
17671 ac_ext=cc
17672 ac_cpp='$CXXCPP $CPPFLAGS'
17673 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17674 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17675 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17676
17677 cat >conftest.$ac_ext <<_ACEOF
17678 /* confdefs.h. */
17679 _ACEOF
17680 cat confdefs.h >>conftest.$ac_ext
17681 cat >>conftest.$ac_ext <<_ACEOF
17682 /* end confdefs.h. */
17683 #include <math.h>
17684 #ifdef HAVE_IEEEFP_H
17685 #include <ieeefp.h>
17686 #endif
17687
17688 int
17689 main ()
17690 {
17691 _sqrtf(0);
17692 ;
17693 return 0;
17694 }
17695 _ACEOF
17696 rm -f conftest.$ac_objext
17697 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17698 (eval $ac_compile) 2>conftest.er1
17699 ac_status=$?
17700 grep -v '^ *+' conftest.er1 >conftest.err
17701 rm -f conftest.er1
17702 cat conftest.err >&5
17703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17704 (exit $ac_status); } &&
17705 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17707 (eval $ac_try) 2>&5
17708 ac_status=$?
17709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17710 (exit $ac_status); }; } &&
17711 { ac_try='test -s conftest.$ac_objext'
17712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17713 (eval $ac_try) 2>&5
17714 ac_status=$?
17715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17716 (exit $ac_status); }; }; then
17717 glibcxx_cv_func__sqrtf_use=yes
17718 else
17719 echo "$as_me: failed program was:" >&5
17720 sed 's/^/| /' conftest.$ac_ext >&5
17721
17722 glibcxx_cv_func__sqrtf_use=no
17723 fi
17724 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17725 ac_ext=c
17726 ac_cpp='$CPP $CPPFLAGS'
17727 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17728 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17729 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17730
17731
17732 fi
17733
17734 fi
17735 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtf_use" >&5
17736 echo "${ECHO_T}$glibcxx_cv_func__sqrtf_use" >&6
17737
17738 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
17739
17740 for ac_func in _sqrtf
17741 do
17742 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17743 echo "$as_me:$LINENO: checking for $ac_func" >&5
17744 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17745 if eval "test \"\${$as_ac_var+set}\" = set"; then
17746 echo $ECHO_N "(cached) $ECHO_C" >&6
17747 else
17748 if test x$gcc_no_link = xyes; then
17749 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17750 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17751 { (exit 1); exit 1; }; }
17752 fi
17753 cat >conftest.$ac_ext <<_ACEOF
17754 /* confdefs.h. */
17755 _ACEOF
17756 cat confdefs.h >>conftest.$ac_ext
17757 cat >>conftest.$ac_ext <<_ACEOF
17758 /* end confdefs.h. */
17759 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17760 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17761 #define $ac_func innocuous_$ac_func
17762
17763 /* System header to define __stub macros and hopefully few prototypes,
17764 which can conflict with char $ac_func (); below.
17765 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17766 <limits.h> exists even on freestanding compilers. */
17767
17768 #ifdef __STDC__
17769 # include <limits.h>
17770 #else
17771 # include <assert.h>
17772 #endif
17773
17774 #undef $ac_func
17775
17776 /* Override any gcc2 internal prototype to avoid an error. */
17777 #ifdef __cplusplus
17778 extern "C"
17779 {
17780 #endif
17781 /* We use char because int might match the return type of a gcc2
17782 builtin and then its argument prototype would still apply. */
17783 char $ac_func ();
17784 /* The GNU C library defines this for functions which it implements
17785 to always fail with ENOSYS. Some functions are actually named
17786 something starting with __ and the normal name is an alias. */
17787 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17788 choke me
17789 #else
17790 char (*f) () = $ac_func;
17791 #endif
17792 #ifdef __cplusplus
17793 }
17794 #endif
17795
17796 int
17797 main ()
17798 {
17799 return f != $ac_func;
17800 ;
17801 return 0;
17802 }
17803 _ACEOF
17804 rm -f conftest.$ac_objext conftest$ac_exeext
17805 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17806 (eval $ac_link) 2>conftest.er1
17807 ac_status=$?
17808 grep -v '^ *+' conftest.er1 >conftest.err
17809 rm -f conftest.er1
17810 cat conftest.err >&5
17811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17812 (exit $ac_status); } &&
17813 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17815 (eval $ac_try) 2>&5
17816 ac_status=$?
17817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17818 (exit $ac_status); }; } &&
17819 { ac_try='test -s conftest$ac_exeext'
17820 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17821 (eval $ac_try) 2>&5
17822 ac_status=$?
17823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17824 (exit $ac_status); }; }; then
17825 eval "$as_ac_var=yes"
17826 else
17827 echo "$as_me: failed program was:" >&5
17828 sed 's/^/| /' conftest.$ac_ext >&5
17829
17830 eval "$as_ac_var=no"
17831 fi
17832 rm -f conftest.err conftest.$ac_objext \
17833 conftest$ac_exeext conftest.$ac_ext
17834 fi
17835 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17836 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17837 if test `eval echo '${'$as_ac_var'}'` = yes; then
17838 cat >>confdefs.h <<_ACEOF
17839 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17840 _ACEOF
17841
17842 fi
17843 done
17844
17845 fi
17846 fi
17847
17848
17849
17850
17851
17852
17853 echo "$as_me:$LINENO: checking for sincosf declaration" >&5
17854 echo $ECHO_N "checking for sincosf declaration... $ECHO_C" >&6
17855 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
17856 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then
17857 echo $ECHO_N "(cached) $ECHO_C" >&6
17858 else
17859
17860
17861
17862 ac_ext=cc
17863 ac_cpp='$CXXCPP $CPPFLAGS'
17864 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17865 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17866 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17867
17868 cat >conftest.$ac_ext <<_ACEOF
17869 /* confdefs.h. */
17870 _ACEOF
17871 cat confdefs.h >>conftest.$ac_ext
17872 cat >>conftest.$ac_ext <<_ACEOF
17873 /* end confdefs.h. */
17874 #include <math.h>
17875 int
17876 main ()
17877 {
17878 sincosf(0, 0, 0);
17879 ;
17880 return 0;
17881 }
17882 _ACEOF
17883 rm -f conftest.$ac_objext
17884 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17885 (eval $ac_compile) 2>conftest.er1
17886 ac_status=$?
17887 grep -v '^ *+' conftest.er1 >conftest.err
17888 rm -f conftest.er1
17889 cat conftest.err >&5
17890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17891 (exit $ac_status); } &&
17892 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17894 (eval $ac_try) 2>&5
17895 ac_status=$?
17896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17897 (exit $ac_status); }; } &&
17898 { ac_try='test -s conftest.$ac_objext'
17899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17900 (eval $ac_try) 2>&5
17901 ac_status=$?
17902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17903 (exit $ac_status); }; }; then
17904 glibcxx_cv_func_sincosf_use=yes
17905 else
17906 echo "$as_me: failed program was:" >&5
17907 sed 's/^/| /' conftest.$ac_ext >&5
17908
17909 glibcxx_cv_func_sincosf_use=no
17910 fi
17911 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17912 ac_ext=c
17913 ac_cpp='$CPP $CPPFLAGS'
17914 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17915 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17916 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17917
17918
17919 fi
17920
17921 fi
17922 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosf_use" >&5
17923 echo "${ECHO_T}$glibcxx_cv_func_sincosf_use" >&6
17924
17925 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
17926
17927 for ac_func in sincosf
17928 do
17929 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17930 echo "$as_me:$LINENO: checking for $ac_func" >&5
17931 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17932 if eval "test \"\${$as_ac_var+set}\" = set"; then
17933 echo $ECHO_N "(cached) $ECHO_C" >&6
17934 else
17935 if test x$gcc_no_link = xyes; then
17936 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17937 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17938 { (exit 1); exit 1; }; }
17939 fi
17940 cat >conftest.$ac_ext <<_ACEOF
17941 /* confdefs.h. */
17942 _ACEOF
17943 cat confdefs.h >>conftest.$ac_ext
17944 cat >>conftest.$ac_ext <<_ACEOF
17945 /* end confdefs.h. */
17946 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17947 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17948 #define $ac_func innocuous_$ac_func
17949
17950 /* System header to define __stub macros and hopefully few prototypes,
17951 which can conflict with char $ac_func (); below.
17952 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17953 <limits.h> exists even on freestanding compilers. */
17954
17955 #ifdef __STDC__
17956 # include <limits.h>
17957 #else
17958 # include <assert.h>
17959 #endif
17960
17961 #undef $ac_func
17962
17963 /* Override any gcc2 internal prototype to avoid an error. */
17964 #ifdef __cplusplus
17965 extern "C"
17966 {
17967 #endif
17968 /* We use char because int might match the return type of a gcc2
17969 builtin and then its argument prototype would still apply. */
17970 char $ac_func ();
17971 /* The GNU C library defines this for functions which it implements
17972 to always fail with ENOSYS. Some functions are actually named
17973 something starting with __ and the normal name is an alias. */
17974 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17975 choke me
17976 #else
17977 char (*f) () = $ac_func;
17978 #endif
17979 #ifdef __cplusplus
17980 }
17981 #endif
17982
17983 int
17984 main ()
17985 {
17986 return f != $ac_func;
17987 ;
17988 return 0;
17989 }
17990 _ACEOF
17991 rm -f conftest.$ac_objext conftest$ac_exeext
17992 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17993 (eval $ac_link) 2>conftest.er1
17994 ac_status=$?
17995 grep -v '^ *+' conftest.er1 >conftest.err
17996 rm -f conftest.er1
17997 cat conftest.err >&5
17998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17999 (exit $ac_status); } &&
18000 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18002 (eval $ac_try) 2>&5
18003 ac_status=$?
18004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18005 (exit $ac_status); }; } &&
18006 { ac_try='test -s conftest$ac_exeext'
18007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18008 (eval $ac_try) 2>&5
18009 ac_status=$?
18010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18011 (exit $ac_status); }; }; then
18012 eval "$as_ac_var=yes"
18013 else
18014 echo "$as_me: failed program was:" >&5
18015 sed 's/^/| /' conftest.$ac_ext >&5
18016
18017 eval "$as_ac_var=no"
18018 fi
18019 rm -f conftest.err conftest.$ac_objext \
18020 conftest$ac_exeext conftest.$ac_ext
18021 fi
18022 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18023 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18024 if test `eval echo '${'$as_ac_var'}'` = yes; then
18025 cat >>confdefs.h <<_ACEOF
18026 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18027 _ACEOF
18028
18029 fi
18030 done
18031
18032 else
18033
18034 echo "$as_me:$LINENO: checking for _sincosf declaration" >&5
18035 echo $ECHO_N "checking for _sincosf declaration... $ECHO_C" >&6
18036 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
18037 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then
18038 echo $ECHO_N "(cached) $ECHO_C" >&6
18039 else
18040
18041
18042
18043 ac_ext=cc
18044 ac_cpp='$CXXCPP $CPPFLAGS'
18045 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18046 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18047 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18048
18049 cat >conftest.$ac_ext <<_ACEOF
18050 /* confdefs.h. */
18051 _ACEOF
18052 cat confdefs.h >>conftest.$ac_ext
18053 cat >>conftest.$ac_ext <<_ACEOF
18054 /* end confdefs.h. */
18055 #include <math.h>
18056 int
18057 main ()
18058 {
18059 _sincosf(0, 0, 0);
18060 ;
18061 return 0;
18062 }
18063 _ACEOF
18064 rm -f conftest.$ac_objext
18065 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18066 (eval $ac_compile) 2>conftest.er1
18067 ac_status=$?
18068 grep -v '^ *+' conftest.er1 >conftest.err
18069 rm -f conftest.er1
18070 cat conftest.err >&5
18071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18072 (exit $ac_status); } &&
18073 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18075 (eval $ac_try) 2>&5
18076 ac_status=$?
18077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18078 (exit $ac_status); }; } &&
18079 { ac_try='test -s conftest.$ac_objext'
18080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18081 (eval $ac_try) 2>&5
18082 ac_status=$?
18083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18084 (exit $ac_status); }; }; then
18085 glibcxx_cv_func__sincosf_use=yes
18086 else
18087 echo "$as_me: failed program was:" >&5
18088 sed 's/^/| /' conftest.$ac_ext >&5
18089
18090 glibcxx_cv_func__sincosf_use=no
18091 fi
18092 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18093 ac_ext=c
18094 ac_cpp='$CPP $CPPFLAGS'
18095 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18096 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18097 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18098
18099
18100 fi
18101
18102 fi
18103 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosf_use" >&5
18104 echo "${ECHO_T}$glibcxx_cv_func__sincosf_use" >&6
18105
18106 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
18107
18108 for ac_func in _sincosf
18109 do
18110 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18111 echo "$as_me:$LINENO: checking for $ac_func" >&5
18112 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18113 if eval "test \"\${$as_ac_var+set}\" = set"; then
18114 echo $ECHO_N "(cached) $ECHO_C" >&6
18115 else
18116 if test x$gcc_no_link = xyes; then
18117 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18118 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18119 { (exit 1); exit 1; }; }
18120 fi
18121 cat >conftest.$ac_ext <<_ACEOF
18122 /* confdefs.h. */
18123 _ACEOF
18124 cat confdefs.h >>conftest.$ac_ext
18125 cat >>conftest.$ac_ext <<_ACEOF
18126 /* end confdefs.h. */
18127 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18128 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18129 #define $ac_func innocuous_$ac_func
18130
18131 /* System header to define __stub macros and hopefully few prototypes,
18132 which can conflict with char $ac_func (); below.
18133 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18134 <limits.h> exists even on freestanding compilers. */
18135
18136 #ifdef __STDC__
18137 # include <limits.h>
18138 #else
18139 # include <assert.h>
18140 #endif
18141
18142 #undef $ac_func
18143
18144 /* Override any gcc2 internal prototype to avoid an error. */
18145 #ifdef __cplusplus
18146 extern "C"
18147 {
18148 #endif
18149 /* We use char because int might match the return type of a gcc2
18150 builtin and then its argument prototype would still apply. */
18151 char $ac_func ();
18152 /* The GNU C library defines this for functions which it implements
18153 to always fail with ENOSYS. Some functions are actually named
18154 something starting with __ and the normal name is an alias. */
18155 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18156 choke me
18157 #else
18158 char (*f) () = $ac_func;
18159 #endif
18160 #ifdef __cplusplus
18161 }
18162 #endif
18163
18164 int
18165 main ()
18166 {
18167 return f != $ac_func;
18168 ;
18169 return 0;
18170 }
18171 _ACEOF
18172 rm -f conftest.$ac_objext conftest$ac_exeext
18173 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18174 (eval $ac_link) 2>conftest.er1
18175 ac_status=$?
18176 grep -v '^ *+' conftest.er1 >conftest.err
18177 rm -f conftest.er1
18178 cat conftest.err >&5
18179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18180 (exit $ac_status); } &&
18181 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18182 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18183 (eval $ac_try) 2>&5
18184 ac_status=$?
18185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18186 (exit $ac_status); }; } &&
18187 { ac_try='test -s conftest$ac_exeext'
18188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18189 (eval $ac_try) 2>&5
18190 ac_status=$?
18191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18192 (exit $ac_status); }; }; then
18193 eval "$as_ac_var=yes"
18194 else
18195 echo "$as_me: failed program was:" >&5
18196 sed 's/^/| /' conftest.$ac_ext >&5
18197
18198 eval "$as_ac_var=no"
18199 fi
18200 rm -f conftest.err conftest.$ac_objext \
18201 conftest$ac_exeext conftest.$ac_ext
18202 fi
18203 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18204 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18205 if test `eval echo '${'$as_ac_var'}'` = yes; then
18206 cat >>confdefs.h <<_ACEOF
18207 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18208 _ACEOF
18209
18210 fi
18211 done
18212
18213 fi
18214 fi
18215
18216
18217
18218
18219
18220
18221 echo "$as_me:$LINENO: checking for finitef declaration" >&5
18222 echo $ECHO_N "checking for finitef declaration... $ECHO_C" >&6
18223 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
18224 if test "${glibcxx_cv_func_finitef_use+set}" = set; then
18225 echo $ECHO_N "(cached) $ECHO_C" >&6
18226 else
18227
18228
18229
18230 ac_ext=cc
18231 ac_cpp='$CXXCPP $CPPFLAGS'
18232 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18233 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18234 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18235
18236 cat >conftest.$ac_ext <<_ACEOF
18237 /* confdefs.h. */
18238 _ACEOF
18239 cat confdefs.h >>conftest.$ac_ext
18240 cat >>conftest.$ac_ext <<_ACEOF
18241 /* end confdefs.h. */
18242 #include <math.h>
18243 #ifdef HAVE_IEEEFP_H
18244 #include <ieeefp.h>
18245 #endif
18246
18247 int
18248 main ()
18249 {
18250 finitef(0);
18251 ;
18252 return 0;
18253 }
18254 _ACEOF
18255 rm -f conftest.$ac_objext
18256 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18257 (eval $ac_compile) 2>conftest.er1
18258 ac_status=$?
18259 grep -v '^ *+' conftest.er1 >conftest.err
18260 rm -f conftest.er1
18261 cat conftest.err >&5
18262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18263 (exit $ac_status); } &&
18264 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18266 (eval $ac_try) 2>&5
18267 ac_status=$?
18268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18269 (exit $ac_status); }; } &&
18270 { ac_try='test -s conftest.$ac_objext'
18271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18272 (eval $ac_try) 2>&5
18273 ac_status=$?
18274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18275 (exit $ac_status); }; }; then
18276 glibcxx_cv_func_finitef_use=yes
18277 else
18278 echo "$as_me: failed program was:" >&5
18279 sed 's/^/| /' conftest.$ac_ext >&5
18280
18281 glibcxx_cv_func_finitef_use=no
18282 fi
18283 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18284 ac_ext=c
18285 ac_cpp='$CPP $CPPFLAGS'
18286 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18287 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18288 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18289
18290
18291 fi
18292
18293 fi
18294 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitef_use" >&5
18295 echo "${ECHO_T}$glibcxx_cv_func_finitef_use" >&6
18296
18297 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
18298
18299 for ac_func in finitef
18300 do
18301 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18302 echo "$as_me:$LINENO: checking for $ac_func" >&5
18303 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18304 if eval "test \"\${$as_ac_var+set}\" = set"; then
18305 echo $ECHO_N "(cached) $ECHO_C" >&6
18306 else
18307 if test x$gcc_no_link = xyes; then
18308 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18309 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18310 { (exit 1); exit 1; }; }
18311 fi
18312 cat >conftest.$ac_ext <<_ACEOF
18313 /* confdefs.h. */
18314 _ACEOF
18315 cat confdefs.h >>conftest.$ac_ext
18316 cat >>conftest.$ac_ext <<_ACEOF
18317 /* end confdefs.h. */
18318 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18319 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18320 #define $ac_func innocuous_$ac_func
18321
18322 /* System header to define __stub macros and hopefully few prototypes,
18323 which can conflict with char $ac_func (); below.
18324 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18325 <limits.h> exists even on freestanding compilers. */
18326
18327 #ifdef __STDC__
18328 # include <limits.h>
18329 #else
18330 # include <assert.h>
18331 #endif
18332
18333 #undef $ac_func
18334
18335 /* Override any gcc2 internal prototype to avoid an error. */
18336 #ifdef __cplusplus
18337 extern "C"
18338 {
18339 #endif
18340 /* We use char because int might match the return type of a gcc2
18341 builtin and then its argument prototype would still apply. */
18342 char $ac_func ();
18343 /* The GNU C library defines this for functions which it implements
18344 to always fail with ENOSYS. Some functions are actually named
18345 something starting with __ and the normal name is an alias. */
18346 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18347 choke me
18348 #else
18349 char (*f) () = $ac_func;
18350 #endif
18351 #ifdef __cplusplus
18352 }
18353 #endif
18354
18355 int
18356 main ()
18357 {
18358 return f != $ac_func;
18359 ;
18360 return 0;
18361 }
18362 _ACEOF
18363 rm -f conftest.$ac_objext conftest$ac_exeext
18364 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18365 (eval $ac_link) 2>conftest.er1
18366 ac_status=$?
18367 grep -v '^ *+' conftest.er1 >conftest.err
18368 rm -f conftest.er1
18369 cat conftest.err >&5
18370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18371 (exit $ac_status); } &&
18372 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18374 (eval $ac_try) 2>&5
18375 ac_status=$?
18376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18377 (exit $ac_status); }; } &&
18378 { ac_try='test -s conftest$ac_exeext'
18379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18380 (eval $ac_try) 2>&5
18381 ac_status=$?
18382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18383 (exit $ac_status); }; }; then
18384 eval "$as_ac_var=yes"
18385 else
18386 echo "$as_me: failed program was:" >&5
18387 sed 's/^/| /' conftest.$ac_ext >&5
18388
18389 eval "$as_ac_var=no"
18390 fi
18391 rm -f conftest.err conftest.$ac_objext \
18392 conftest$ac_exeext conftest.$ac_ext
18393 fi
18394 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18395 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18396 if test `eval echo '${'$as_ac_var'}'` = yes; then
18397 cat >>confdefs.h <<_ACEOF
18398 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18399 _ACEOF
18400
18401 fi
18402 done
18403
18404 else
18405
18406 echo "$as_me:$LINENO: checking for _finitef declaration" >&5
18407 echo $ECHO_N "checking for _finitef declaration... $ECHO_C" >&6
18408 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
18409 if test "${glibcxx_cv_func__finitef_use+set}" = set; then
18410 echo $ECHO_N "(cached) $ECHO_C" >&6
18411 else
18412
18413
18414
18415 ac_ext=cc
18416 ac_cpp='$CXXCPP $CPPFLAGS'
18417 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18418 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18419 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18420
18421 cat >conftest.$ac_ext <<_ACEOF
18422 /* confdefs.h. */
18423 _ACEOF
18424 cat confdefs.h >>conftest.$ac_ext
18425 cat >>conftest.$ac_ext <<_ACEOF
18426 /* end confdefs.h. */
18427 #include <math.h>
18428 #ifdef HAVE_IEEEFP_H
18429 #include <ieeefp.h>
18430 #endif
18431
18432 int
18433 main ()
18434 {
18435 _finitef(0);
18436 ;
18437 return 0;
18438 }
18439 _ACEOF
18440 rm -f conftest.$ac_objext
18441 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18442 (eval $ac_compile) 2>conftest.er1
18443 ac_status=$?
18444 grep -v '^ *+' conftest.er1 >conftest.err
18445 rm -f conftest.er1
18446 cat conftest.err >&5
18447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18448 (exit $ac_status); } &&
18449 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18451 (eval $ac_try) 2>&5
18452 ac_status=$?
18453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18454 (exit $ac_status); }; } &&
18455 { ac_try='test -s conftest.$ac_objext'
18456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18457 (eval $ac_try) 2>&5
18458 ac_status=$?
18459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18460 (exit $ac_status); }; }; then
18461 glibcxx_cv_func__finitef_use=yes
18462 else
18463 echo "$as_me: failed program was:" >&5
18464 sed 's/^/| /' conftest.$ac_ext >&5
18465
18466 glibcxx_cv_func__finitef_use=no
18467 fi
18468 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18469 ac_ext=c
18470 ac_cpp='$CPP $CPPFLAGS'
18471 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18472 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18473 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18474
18475
18476 fi
18477
18478 fi
18479 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitef_use" >&5
18480 echo "${ECHO_T}$glibcxx_cv_func__finitef_use" >&6
18481
18482 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
18483
18484 for ac_func in _finitef
18485 do
18486 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18487 echo "$as_me:$LINENO: checking for $ac_func" >&5
18488 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18489 if eval "test \"\${$as_ac_var+set}\" = set"; then
18490 echo $ECHO_N "(cached) $ECHO_C" >&6
18491 else
18492 if test x$gcc_no_link = xyes; then
18493 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18494 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18495 { (exit 1); exit 1; }; }
18496 fi
18497 cat >conftest.$ac_ext <<_ACEOF
18498 /* confdefs.h. */
18499 _ACEOF
18500 cat confdefs.h >>conftest.$ac_ext
18501 cat >>conftest.$ac_ext <<_ACEOF
18502 /* end confdefs.h. */
18503 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18504 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18505 #define $ac_func innocuous_$ac_func
18506
18507 /* System header to define __stub macros and hopefully few prototypes,
18508 which can conflict with char $ac_func (); below.
18509 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18510 <limits.h> exists even on freestanding compilers. */
18511
18512 #ifdef __STDC__
18513 # include <limits.h>
18514 #else
18515 # include <assert.h>
18516 #endif
18517
18518 #undef $ac_func
18519
18520 /* Override any gcc2 internal prototype to avoid an error. */
18521 #ifdef __cplusplus
18522 extern "C"
18523 {
18524 #endif
18525 /* We use char because int might match the return type of a gcc2
18526 builtin and then its argument prototype would still apply. */
18527 char $ac_func ();
18528 /* The GNU C library defines this for functions which it implements
18529 to always fail with ENOSYS. Some functions are actually named
18530 something starting with __ and the normal name is an alias. */
18531 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18532 choke me
18533 #else
18534 char (*f) () = $ac_func;
18535 #endif
18536 #ifdef __cplusplus
18537 }
18538 #endif
18539
18540 int
18541 main ()
18542 {
18543 return f != $ac_func;
18544 ;
18545 return 0;
18546 }
18547 _ACEOF
18548 rm -f conftest.$ac_objext conftest$ac_exeext
18549 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18550 (eval $ac_link) 2>conftest.er1
18551 ac_status=$?
18552 grep -v '^ *+' conftest.er1 >conftest.err
18553 rm -f conftest.er1
18554 cat conftest.err >&5
18555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18556 (exit $ac_status); } &&
18557 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18559 (eval $ac_try) 2>&5
18560 ac_status=$?
18561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18562 (exit $ac_status); }; } &&
18563 { ac_try='test -s conftest$ac_exeext'
18564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18565 (eval $ac_try) 2>&5
18566 ac_status=$?
18567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18568 (exit $ac_status); }; }; then
18569 eval "$as_ac_var=yes"
18570 else
18571 echo "$as_me: failed program was:" >&5
18572 sed 's/^/| /' conftest.$ac_ext >&5
18573
18574 eval "$as_ac_var=no"
18575 fi
18576 rm -f conftest.err conftest.$ac_objext \
18577 conftest$ac_exeext conftest.$ac_ext
18578 fi
18579 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18580 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18581 if test `eval echo '${'$as_ac_var'}'` = yes; then
18582 cat >>confdefs.h <<_ACEOF
18583 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18584 _ACEOF
18585
18586 fi
18587 done
18588
18589 fi
18590 fi
18591
18592
18593
18594
18595
18596
18597 echo "$as_me:$LINENO: checking for long double trig functions" >&5
18598 echo $ECHO_N "checking for long double trig functions... $ECHO_C" >&6
18599 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then
18600 echo $ECHO_N "(cached) $ECHO_C" >&6
18601 else
18602
18603
18604
18605 ac_ext=cc
18606 ac_cpp='$CXXCPP $CPPFLAGS'
18607 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18608 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18609 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18610
18611 cat >conftest.$ac_ext <<_ACEOF
18612 /* confdefs.h. */
18613 _ACEOF
18614 cat confdefs.h >>conftest.$ac_ext
18615 cat >>conftest.$ac_ext <<_ACEOF
18616 /* end confdefs.h. */
18617 #include <math.h>
18618 int
18619 main ()
18620 {
18621 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
18622 ;
18623 return 0;
18624 }
18625 _ACEOF
18626 rm -f conftest.$ac_objext
18627 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18628 (eval $ac_compile) 2>conftest.er1
18629 ac_status=$?
18630 grep -v '^ *+' conftest.er1 >conftest.err
18631 rm -f conftest.er1
18632 cat conftest.err >&5
18633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18634 (exit $ac_status); } &&
18635 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18637 (eval $ac_try) 2>&5
18638 ac_status=$?
18639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18640 (exit $ac_status); }; } &&
18641 { ac_try='test -s conftest.$ac_objext'
18642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18643 (eval $ac_try) 2>&5
18644 ac_status=$?
18645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18646 (exit $ac_status); }; }; then
18647 glibcxx_cv_func_long_double_trig_use=yes
18648 else
18649 echo "$as_me: failed program was:" >&5
18650 sed 's/^/| /' conftest.$ac_ext >&5
18651
18652 glibcxx_cv_func_long_double_trig_use=no
18653 fi
18654 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18655 ac_ext=c
18656 ac_cpp='$CPP $CPPFLAGS'
18657 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18658 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18659 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18660
18661 fi
18662
18663 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_trig_use" >&5
18664 echo "${ECHO_T}$glibcxx_cv_func_long_double_trig_use" >&6
18665 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
18666
18667
18668
18669
18670
18671
18672
18673
18674
18675 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
18676 do
18677 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18678 echo "$as_me:$LINENO: checking for $ac_func" >&5
18679 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18680 if eval "test \"\${$as_ac_var+set}\" = set"; then
18681 echo $ECHO_N "(cached) $ECHO_C" >&6
18682 else
18683 if test x$gcc_no_link = xyes; then
18684 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18685 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18686 { (exit 1); exit 1; }; }
18687 fi
18688 cat >conftest.$ac_ext <<_ACEOF
18689 /* confdefs.h. */
18690 _ACEOF
18691 cat confdefs.h >>conftest.$ac_ext
18692 cat >>conftest.$ac_ext <<_ACEOF
18693 /* end confdefs.h. */
18694 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18695 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18696 #define $ac_func innocuous_$ac_func
18697
18698 /* System header to define __stub macros and hopefully few prototypes,
18699 which can conflict with char $ac_func (); below.
18700 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18701 <limits.h> exists even on freestanding compilers. */
18702
18703 #ifdef __STDC__
18704 # include <limits.h>
18705 #else
18706 # include <assert.h>
18707 #endif
18708
18709 #undef $ac_func
18710
18711 /* Override any gcc2 internal prototype to avoid an error. */
18712 #ifdef __cplusplus
18713 extern "C"
18714 {
18715 #endif
18716 /* We use char because int might match the return type of a gcc2
18717 builtin and then its argument prototype would still apply. */
18718 char $ac_func ();
18719 /* The GNU C library defines this for functions which it implements
18720 to always fail with ENOSYS. Some functions are actually named
18721 something starting with __ and the normal name is an alias. */
18722 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18723 choke me
18724 #else
18725 char (*f) () = $ac_func;
18726 #endif
18727 #ifdef __cplusplus
18728 }
18729 #endif
18730
18731 int
18732 main ()
18733 {
18734 return f != $ac_func;
18735 ;
18736 return 0;
18737 }
18738 _ACEOF
18739 rm -f conftest.$ac_objext conftest$ac_exeext
18740 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18741 (eval $ac_link) 2>conftest.er1
18742 ac_status=$?
18743 grep -v '^ *+' conftest.er1 >conftest.err
18744 rm -f conftest.er1
18745 cat conftest.err >&5
18746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18747 (exit $ac_status); } &&
18748 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18750 (eval $ac_try) 2>&5
18751 ac_status=$?
18752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18753 (exit $ac_status); }; } &&
18754 { ac_try='test -s conftest$ac_exeext'
18755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18756 (eval $ac_try) 2>&5
18757 ac_status=$?
18758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18759 (exit $ac_status); }; }; then
18760 eval "$as_ac_var=yes"
18761 else
18762 echo "$as_me: failed program was:" >&5
18763 sed 's/^/| /' conftest.$ac_ext >&5
18764
18765 eval "$as_ac_var=no"
18766 fi
18767 rm -f conftest.err conftest.$ac_objext \
18768 conftest$ac_exeext conftest.$ac_ext
18769 fi
18770 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18771 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18772 if test `eval echo '${'$as_ac_var'}'` = yes; then
18773 cat >>confdefs.h <<_ACEOF
18774 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18775 _ACEOF
18776
18777 fi
18778 done
18779
18780 else
18781 echo "$as_me:$LINENO: checking for _long double trig functions" >&5
18782 echo $ECHO_N "checking for _long double trig functions... $ECHO_C" >&6
18783 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then
18784 echo $ECHO_N "(cached) $ECHO_C" >&6
18785 else
18786
18787
18788
18789 ac_ext=cc
18790 ac_cpp='$CXXCPP $CPPFLAGS'
18791 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18792 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18793 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18794
18795 cat >conftest.$ac_ext <<_ACEOF
18796 /* confdefs.h. */
18797 _ACEOF
18798 cat confdefs.h >>conftest.$ac_ext
18799 cat >>conftest.$ac_ext <<_ACEOF
18800 /* end confdefs.h. */
18801 #include <math.h>
18802 int
18803 main ()
18804 {
18805 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
18806 ;
18807 return 0;
18808 }
18809 _ACEOF
18810 rm -f conftest.$ac_objext
18811 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18812 (eval $ac_compile) 2>conftest.er1
18813 ac_status=$?
18814 grep -v '^ *+' conftest.er1 >conftest.err
18815 rm -f conftest.er1
18816 cat conftest.err >&5
18817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18818 (exit $ac_status); } &&
18819 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18820 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18821 (eval $ac_try) 2>&5
18822 ac_status=$?
18823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18824 (exit $ac_status); }; } &&
18825 { ac_try='test -s conftest.$ac_objext'
18826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18827 (eval $ac_try) 2>&5
18828 ac_status=$?
18829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18830 (exit $ac_status); }; }; then
18831 glibcxx_cv_func__long_double_trig_use=yes
18832 else
18833 echo "$as_me: failed program was:" >&5
18834 sed 's/^/| /' conftest.$ac_ext >&5
18835
18836 glibcxx_cv_func__long_double_trig_use=no
18837 fi
18838 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18839 ac_ext=c
18840 ac_cpp='$CPP $CPPFLAGS'
18841 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18842 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18843 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18844
18845 fi
18846
18847 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_trig_use" >&5
18848 echo "${ECHO_T}$glibcxx_cv_func__long_double_trig_use" >&6
18849 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
18850
18851
18852
18853
18854
18855
18856
18857
18858
18859 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
18860 do
18861 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18862 echo "$as_me:$LINENO: checking for $ac_func" >&5
18863 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18864 if eval "test \"\${$as_ac_var+set}\" = set"; then
18865 echo $ECHO_N "(cached) $ECHO_C" >&6
18866 else
18867 if test x$gcc_no_link = xyes; then
18868 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18869 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18870 { (exit 1); exit 1; }; }
18871 fi
18872 cat >conftest.$ac_ext <<_ACEOF
18873 /* confdefs.h. */
18874 _ACEOF
18875 cat confdefs.h >>conftest.$ac_ext
18876 cat >>conftest.$ac_ext <<_ACEOF
18877 /* end confdefs.h. */
18878 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18879 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18880 #define $ac_func innocuous_$ac_func
18881
18882 /* System header to define __stub macros and hopefully few prototypes,
18883 which can conflict with char $ac_func (); below.
18884 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18885 <limits.h> exists even on freestanding compilers. */
18886
18887 #ifdef __STDC__
18888 # include <limits.h>
18889 #else
18890 # include <assert.h>
18891 #endif
18892
18893 #undef $ac_func
18894
18895 /* Override any gcc2 internal prototype to avoid an error. */
18896 #ifdef __cplusplus
18897 extern "C"
18898 {
18899 #endif
18900 /* We use char because int might match the return type of a gcc2
18901 builtin and then its argument prototype would still apply. */
18902 char $ac_func ();
18903 /* The GNU C library defines this for functions which it implements
18904 to always fail with ENOSYS. Some functions are actually named
18905 something starting with __ and the normal name is an alias. */
18906 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18907 choke me
18908 #else
18909 char (*f) () = $ac_func;
18910 #endif
18911 #ifdef __cplusplus
18912 }
18913 #endif
18914
18915 int
18916 main ()
18917 {
18918 return f != $ac_func;
18919 ;
18920 return 0;
18921 }
18922 _ACEOF
18923 rm -f conftest.$ac_objext conftest$ac_exeext
18924 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18925 (eval $ac_link) 2>conftest.er1
18926 ac_status=$?
18927 grep -v '^ *+' conftest.er1 >conftest.err
18928 rm -f conftest.er1
18929 cat conftest.err >&5
18930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18931 (exit $ac_status); } &&
18932 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18934 (eval $ac_try) 2>&5
18935 ac_status=$?
18936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18937 (exit $ac_status); }; } &&
18938 { ac_try='test -s conftest$ac_exeext'
18939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18940 (eval $ac_try) 2>&5
18941 ac_status=$?
18942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18943 (exit $ac_status); }; }; then
18944 eval "$as_ac_var=yes"
18945 else
18946 echo "$as_me: failed program was:" >&5
18947 sed 's/^/| /' conftest.$ac_ext >&5
18948
18949 eval "$as_ac_var=no"
18950 fi
18951 rm -f conftest.err conftest.$ac_objext \
18952 conftest$ac_exeext conftest.$ac_ext
18953 fi
18954 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18955 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18956 if test `eval echo '${'$as_ac_var'}'` = yes; then
18957 cat >>confdefs.h <<_ACEOF
18958 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18959 _ACEOF
18960
18961 fi
18962 done
18963
18964 fi
18965 fi
18966
18967
18968
18969
18970
18971
18972
18973
18974
18975
18976
18977
18978
18979
18980 echo "$as_me:$LINENO: checking for long double round functions" >&5
18981 echo $ECHO_N "checking for long double round functions... $ECHO_C" >&6
18982 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then
18983 echo $ECHO_N "(cached) $ECHO_C" >&6
18984 else
18985
18986
18987
18988 ac_ext=cc
18989 ac_cpp='$CXXCPP $CPPFLAGS'
18990 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18991 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18992 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18993
18994 cat >conftest.$ac_ext <<_ACEOF
18995 /* confdefs.h. */
18996 _ACEOF
18997 cat confdefs.h >>conftest.$ac_ext
18998 cat >>conftest.$ac_ext <<_ACEOF
18999 /* end confdefs.h. */
19000 #include <math.h>
19001 int
19002 main ()
19003 {
19004 ceill (0); floorl (0);
19005 ;
19006 return 0;
19007 }
19008 _ACEOF
19009 rm -f conftest.$ac_objext
19010 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19011 (eval $ac_compile) 2>conftest.er1
19012 ac_status=$?
19013 grep -v '^ *+' conftest.er1 >conftest.err
19014 rm -f conftest.er1
19015 cat conftest.err >&5
19016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19017 (exit $ac_status); } &&
19018 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19020 (eval $ac_try) 2>&5
19021 ac_status=$?
19022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19023 (exit $ac_status); }; } &&
19024 { ac_try='test -s conftest.$ac_objext'
19025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19026 (eval $ac_try) 2>&5
19027 ac_status=$?
19028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19029 (exit $ac_status); }; }; then
19030 glibcxx_cv_func_long_double_round_use=yes
19031 else
19032 echo "$as_me: failed program was:" >&5
19033 sed 's/^/| /' conftest.$ac_ext >&5
19034
19035 glibcxx_cv_func_long_double_round_use=no
19036 fi
19037 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19038 ac_ext=c
19039 ac_cpp='$CPP $CPPFLAGS'
19040 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19041 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19042 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19043
19044 fi
19045
19046 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_round_use" >&5
19047 echo "${ECHO_T}$glibcxx_cv_func_long_double_round_use" >&6
19048 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
19049
19050
19051 for ac_func in ceill floorl
19052 do
19053 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19054 echo "$as_me:$LINENO: checking for $ac_func" >&5
19055 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19056 if eval "test \"\${$as_ac_var+set}\" = set"; then
19057 echo $ECHO_N "(cached) $ECHO_C" >&6
19058 else
19059 if test x$gcc_no_link = xyes; then
19060 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19061 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19062 { (exit 1); exit 1; }; }
19063 fi
19064 cat >conftest.$ac_ext <<_ACEOF
19065 /* confdefs.h. */
19066 _ACEOF
19067 cat confdefs.h >>conftest.$ac_ext
19068 cat >>conftest.$ac_ext <<_ACEOF
19069 /* end confdefs.h. */
19070 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19071 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19072 #define $ac_func innocuous_$ac_func
19073
19074 /* System header to define __stub macros and hopefully few prototypes,
19075 which can conflict with char $ac_func (); below.
19076 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19077 <limits.h> exists even on freestanding compilers. */
19078
19079 #ifdef __STDC__
19080 # include <limits.h>
19081 #else
19082 # include <assert.h>
19083 #endif
19084
19085 #undef $ac_func
19086
19087 /* Override any gcc2 internal prototype to avoid an error. */
19088 #ifdef __cplusplus
19089 extern "C"
19090 {
19091 #endif
19092 /* We use char because int might match the return type of a gcc2
19093 builtin and then its argument prototype would still apply. */
19094 char $ac_func ();
19095 /* The GNU C library defines this for functions which it implements
19096 to always fail with ENOSYS. Some functions are actually named
19097 something starting with __ and the normal name is an alias. */
19098 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19099 choke me
19100 #else
19101 char (*f) () = $ac_func;
19102 #endif
19103 #ifdef __cplusplus
19104 }
19105 #endif
19106
19107 int
19108 main ()
19109 {
19110 return f != $ac_func;
19111 ;
19112 return 0;
19113 }
19114 _ACEOF
19115 rm -f conftest.$ac_objext conftest$ac_exeext
19116 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19117 (eval $ac_link) 2>conftest.er1
19118 ac_status=$?
19119 grep -v '^ *+' conftest.er1 >conftest.err
19120 rm -f conftest.er1
19121 cat conftest.err >&5
19122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19123 (exit $ac_status); } &&
19124 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19126 (eval $ac_try) 2>&5
19127 ac_status=$?
19128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19129 (exit $ac_status); }; } &&
19130 { ac_try='test -s conftest$ac_exeext'
19131 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19132 (eval $ac_try) 2>&5
19133 ac_status=$?
19134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19135 (exit $ac_status); }; }; then
19136 eval "$as_ac_var=yes"
19137 else
19138 echo "$as_me: failed program was:" >&5
19139 sed 's/^/| /' conftest.$ac_ext >&5
19140
19141 eval "$as_ac_var=no"
19142 fi
19143 rm -f conftest.err conftest.$ac_objext \
19144 conftest$ac_exeext conftest.$ac_ext
19145 fi
19146 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19147 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19148 if test `eval echo '${'$as_ac_var'}'` = yes; then
19149 cat >>confdefs.h <<_ACEOF
19150 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19151 _ACEOF
19152
19153 fi
19154 done
19155
19156 else
19157 echo "$as_me:$LINENO: checking for _long double round functions" >&5
19158 echo $ECHO_N "checking for _long double round functions... $ECHO_C" >&6
19159 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then
19160 echo $ECHO_N "(cached) $ECHO_C" >&6
19161 else
19162
19163
19164
19165 ac_ext=cc
19166 ac_cpp='$CXXCPP $CPPFLAGS'
19167 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19168 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19169 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19170
19171 cat >conftest.$ac_ext <<_ACEOF
19172 /* confdefs.h. */
19173 _ACEOF
19174 cat confdefs.h >>conftest.$ac_ext
19175 cat >>conftest.$ac_ext <<_ACEOF
19176 /* end confdefs.h. */
19177 #include <math.h>
19178 int
19179 main ()
19180 {
19181 _ceill (0); _floorl (0);
19182 ;
19183 return 0;
19184 }
19185 _ACEOF
19186 rm -f conftest.$ac_objext
19187 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19188 (eval $ac_compile) 2>conftest.er1
19189 ac_status=$?
19190 grep -v '^ *+' conftest.er1 >conftest.err
19191 rm -f conftest.er1
19192 cat conftest.err >&5
19193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19194 (exit $ac_status); } &&
19195 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19197 (eval $ac_try) 2>&5
19198 ac_status=$?
19199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19200 (exit $ac_status); }; } &&
19201 { ac_try='test -s conftest.$ac_objext'
19202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19203 (eval $ac_try) 2>&5
19204 ac_status=$?
19205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19206 (exit $ac_status); }; }; then
19207 glibcxx_cv_func__long_double_round_use=yes
19208 else
19209 echo "$as_me: failed program was:" >&5
19210 sed 's/^/| /' conftest.$ac_ext >&5
19211
19212 glibcxx_cv_func__long_double_round_use=no
19213 fi
19214 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19215 ac_ext=c
19216 ac_cpp='$CPP $CPPFLAGS'
19217 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19218 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19219 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19220
19221 fi
19222
19223 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_round_use" >&5
19224 echo "${ECHO_T}$glibcxx_cv_func__long_double_round_use" >&6
19225 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
19226
19227
19228 for ac_func in _ceill _floorl
19229 do
19230 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19231 echo "$as_me:$LINENO: checking for $ac_func" >&5
19232 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19233 if eval "test \"\${$as_ac_var+set}\" = set"; then
19234 echo $ECHO_N "(cached) $ECHO_C" >&6
19235 else
19236 if test x$gcc_no_link = xyes; then
19237 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19238 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19239 { (exit 1); exit 1; }; }
19240 fi
19241 cat >conftest.$ac_ext <<_ACEOF
19242 /* confdefs.h. */
19243 _ACEOF
19244 cat confdefs.h >>conftest.$ac_ext
19245 cat >>conftest.$ac_ext <<_ACEOF
19246 /* end confdefs.h. */
19247 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19248 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19249 #define $ac_func innocuous_$ac_func
19250
19251 /* System header to define __stub macros and hopefully few prototypes,
19252 which can conflict with char $ac_func (); below.
19253 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19254 <limits.h> exists even on freestanding compilers. */
19255
19256 #ifdef __STDC__
19257 # include <limits.h>
19258 #else
19259 # include <assert.h>
19260 #endif
19261
19262 #undef $ac_func
19263
19264 /* Override any gcc2 internal prototype to avoid an error. */
19265 #ifdef __cplusplus
19266 extern "C"
19267 {
19268 #endif
19269 /* We use char because int might match the return type of a gcc2
19270 builtin and then its argument prototype would still apply. */
19271 char $ac_func ();
19272 /* The GNU C library defines this for functions which it implements
19273 to always fail with ENOSYS. Some functions are actually named
19274 something starting with __ and the normal name is an alias. */
19275 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19276 choke me
19277 #else
19278 char (*f) () = $ac_func;
19279 #endif
19280 #ifdef __cplusplus
19281 }
19282 #endif
19283
19284 int
19285 main ()
19286 {
19287 return f != $ac_func;
19288 ;
19289 return 0;
19290 }
19291 _ACEOF
19292 rm -f conftest.$ac_objext conftest$ac_exeext
19293 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19294 (eval $ac_link) 2>conftest.er1
19295 ac_status=$?
19296 grep -v '^ *+' conftest.er1 >conftest.err
19297 rm -f conftest.er1
19298 cat conftest.err >&5
19299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19300 (exit $ac_status); } &&
19301 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19303 (eval $ac_try) 2>&5
19304 ac_status=$?
19305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19306 (exit $ac_status); }; } &&
19307 { ac_try='test -s conftest$ac_exeext'
19308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19309 (eval $ac_try) 2>&5
19310 ac_status=$?
19311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19312 (exit $ac_status); }; }; then
19313 eval "$as_ac_var=yes"
19314 else
19315 echo "$as_me: failed program was:" >&5
19316 sed 's/^/| /' conftest.$ac_ext >&5
19317
19318 eval "$as_ac_var=no"
19319 fi
19320 rm -f conftest.err conftest.$ac_objext \
19321 conftest$ac_exeext conftest.$ac_ext
19322 fi
19323 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19324 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19325 if test `eval echo '${'$as_ac_var'}'` = yes; then
19326 cat >>confdefs.h <<_ACEOF
19327 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19328 _ACEOF
19329
19330 fi
19331 done
19332
19333 fi
19334 fi
19335
19336
19337
19338
19339
19340
19341
19342
19343 echo "$as_me:$LINENO: checking for isnanl declaration" >&5
19344 echo $ECHO_N "checking for isnanl declaration... $ECHO_C" >&6
19345 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
19346 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then
19347 echo $ECHO_N "(cached) $ECHO_C" >&6
19348 else
19349
19350
19351
19352 ac_ext=cc
19353 ac_cpp='$CXXCPP $CPPFLAGS'
19354 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19355 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19356 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19357
19358 cat >conftest.$ac_ext <<_ACEOF
19359 /* confdefs.h. */
19360 _ACEOF
19361 cat confdefs.h >>conftest.$ac_ext
19362 cat >>conftest.$ac_ext <<_ACEOF
19363 /* end confdefs.h. */
19364 #include <math.h>
19365 #ifdef HAVE_IEEEFP_H
19366 #include <ieeefp.h>
19367 #endif
19368
19369 int
19370 main ()
19371 {
19372 isnanl(0);
19373 ;
19374 return 0;
19375 }
19376 _ACEOF
19377 rm -f conftest.$ac_objext
19378 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19379 (eval $ac_compile) 2>conftest.er1
19380 ac_status=$?
19381 grep -v '^ *+' conftest.er1 >conftest.err
19382 rm -f conftest.er1
19383 cat conftest.err >&5
19384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19385 (exit $ac_status); } &&
19386 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19388 (eval $ac_try) 2>&5
19389 ac_status=$?
19390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19391 (exit $ac_status); }; } &&
19392 { ac_try='test -s conftest.$ac_objext'
19393 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19394 (eval $ac_try) 2>&5
19395 ac_status=$?
19396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19397 (exit $ac_status); }; }; then
19398 glibcxx_cv_func_isnanl_use=yes
19399 else
19400 echo "$as_me: failed program was:" >&5
19401 sed 's/^/| /' conftest.$ac_ext >&5
19402
19403 glibcxx_cv_func_isnanl_use=no
19404 fi
19405 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19406 ac_ext=c
19407 ac_cpp='$CPP $CPPFLAGS'
19408 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19409 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19410 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19411
19412
19413 fi
19414
19415 fi
19416 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanl_use" >&5
19417 echo "${ECHO_T}$glibcxx_cv_func_isnanl_use" >&6
19418
19419 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
19420
19421 for ac_func in isnanl
19422 do
19423 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19424 echo "$as_me:$LINENO: checking for $ac_func" >&5
19425 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19426 if eval "test \"\${$as_ac_var+set}\" = set"; then
19427 echo $ECHO_N "(cached) $ECHO_C" >&6
19428 else
19429 if test x$gcc_no_link = xyes; then
19430 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19431 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19432 { (exit 1); exit 1; }; }
19433 fi
19434 cat >conftest.$ac_ext <<_ACEOF
19435 /* confdefs.h. */
19436 _ACEOF
19437 cat confdefs.h >>conftest.$ac_ext
19438 cat >>conftest.$ac_ext <<_ACEOF
19439 /* end confdefs.h. */
19440 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19441 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19442 #define $ac_func innocuous_$ac_func
19443
19444 /* System header to define __stub macros and hopefully few prototypes,
19445 which can conflict with char $ac_func (); below.
19446 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19447 <limits.h> exists even on freestanding compilers. */
19448
19449 #ifdef __STDC__
19450 # include <limits.h>
19451 #else
19452 # include <assert.h>
19453 #endif
19454
19455 #undef $ac_func
19456
19457 /* Override any gcc2 internal prototype to avoid an error. */
19458 #ifdef __cplusplus
19459 extern "C"
19460 {
19461 #endif
19462 /* We use char because int might match the return type of a gcc2
19463 builtin and then its argument prototype would still apply. */
19464 char $ac_func ();
19465 /* The GNU C library defines this for functions which it implements
19466 to always fail with ENOSYS. Some functions are actually named
19467 something starting with __ and the normal name is an alias. */
19468 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19469 choke me
19470 #else
19471 char (*f) () = $ac_func;
19472 #endif
19473 #ifdef __cplusplus
19474 }
19475 #endif
19476
19477 int
19478 main ()
19479 {
19480 return f != $ac_func;
19481 ;
19482 return 0;
19483 }
19484 _ACEOF
19485 rm -f conftest.$ac_objext conftest$ac_exeext
19486 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19487 (eval $ac_link) 2>conftest.er1
19488 ac_status=$?
19489 grep -v '^ *+' conftest.er1 >conftest.err
19490 rm -f conftest.er1
19491 cat conftest.err >&5
19492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19493 (exit $ac_status); } &&
19494 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19496 (eval $ac_try) 2>&5
19497 ac_status=$?
19498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19499 (exit $ac_status); }; } &&
19500 { ac_try='test -s conftest$ac_exeext'
19501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19502 (eval $ac_try) 2>&5
19503 ac_status=$?
19504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19505 (exit $ac_status); }; }; then
19506 eval "$as_ac_var=yes"
19507 else
19508 echo "$as_me: failed program was:" >&5
19509 sed 's/^/| /' conftest.$ac_ext >&5
19510
19511 eval "$as_ac_var=no"
19512 fi
19513 rm -f conftest.err conftest.$ac_objext \
19514 conftest$ac_exeext conftest.$ac_ext
19515 fi
19516 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19517 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19518 if test `eval echo '${'$as_ac_var'}'` = yes; then
19519 cat >>confdefs.h <<_ACEOF
19520 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19521 _ACEOF
19522
19523 fi
19524 done
19525
19526 else
19527
19528 echo "$as_me:$LINENO: checking for _isnanl declaration" >&5
19529 echo $ECHO_N "checking for _isnanl declaration... $ECHO_C" >&6
19530 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
19531 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then
19532 echo $ECHO_N "(cached) $ECHO_C" >&6
19533 else
19534
19535
19536
19537 ac_ext=cc
19538 ac_cpp='$CXXCPP $CPPFLAGS'
19539 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19540 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19541 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19542
19543 cat >conftest.$ac_ext <<_ACEOF
19544 /* confdefs.h. */
19545 _ACEOF
19546 cat confdefs.h >>conftest.$ac_ext
19547 cat >>conftest.$ac_ext <<_ACEOF
19548 /* end confdefs.h. */
19549 #include <math.h>
19550 #ifdef HAVE_IEEEFP_H
19551 #include <ieeefp.h>
19552 #endif
19553
19554 int
19555 main ()
19556 {
19557 _isnanl(0);
19558 ;
19559 return 0;
19560 }
19561 _ACEOF
19562 rm -f conftest.$ac_objext
19563 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19564 (eval $ac_compile) 2>conftest.er1
19565 ac_status=$?
19566 grep -v '^ *+' conftest.er1 >conftest.err
19567 rm -f conftest.er1
19568 cat conftest.err >&5
19569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19570 (exit $ac_status); } &&
19571 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19572 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19573 (eval $ac_try) 2>&5
19574 ac_status=$?
19575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19576 (exit $ac_status); }; } &&
19577 { ac_try='test -s conftest.$ac_objext'
19578 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19579 (eval $ac_try) 2>&5
19580 ac_status=$?
19581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19582 (exit $ac_status); }; }; then
19583 glibcxx_cv_func__isnanl_use=yes
19584 else
19585 echo "$as_me: failed program was:" >&5
19586 sed 's/^/| /' conftest.$ac_ext >&5
19587
19588 glibcxx_cv_func__isnanl_use=no
19589 fi
19590 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19591 ac_ext=c
19592 ac_cpp='$CPP $CPPFLAGS'
19593 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19594 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19595 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19596
19597
19598 fi
19599
19600 fi
19601 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanl_use" >&5
19602 echo "${ECHO_T}$glibcxx_cv_func__isnanl_use" >&6
19603
19604 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
19605
19606 for ac_func in _isnanl
19607 do
19608 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19609 echo "$as_me:$LINENO: checking for $ac_func" >&5
19610 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19611 if eval "test \"\${$as_ac_var+set}\" = set"; then
19612 echo $ECHO_N "(cached) $ECHO_C" >&6
19613 else
19614 if test x$gcc_no_link = xyes; then
19615 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19616 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19617 { (exit 1); exit 1; }; }
19618 fi
19619 cat >conftest.$ac_ext <<_ACEOF
19620 /* confdefs.h. */
19621 _ACEOF
19622 cat confdefs.h >>conftest.$ac_ext
19623 cat >>conftest.$ac_ext <<_ACEOF
19624 /* end confdefs.h. */
19625 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19626 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19627 #define $ac_func innocuous_$ac_func
19628
19629 /* System header to define __stub macros and hopefully few prototypes,
19630 which can conflict with char $ac_func (); below.
19631 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19632 <limits.h> exists even on freestanding compilers. */
19633
19634 #ifdef __STDC__
19635 # include <limits.h>
19636 #else
19637 # include <assert.h>
19638 #endif
19639
19640 #undef $ac_func
19641
19642 /* Override any gcc2 internal prototype to avoid an error. */
19643 #ifdef __cplusplus
19644 extern "C"
19645 {
19646 #endif
19647 /* We use char because int might match the return type of a gcc2
19648 builtin and then its argument prototype would still apply. */
19649 char $ac_func ();
19650 /* The GNU C library defines this for functions which it implements
19651 to always fail with ENOSYS. Some functions are actually named
19652 something starting with __ and the normal name is an alias. */
19653 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19654 choke me
19655 #else
19656 char (*f) () = $ac_func;
19657 #endif
19658 #ifdef __cplusplus
19659 }
19660 #endif
19661
19662 int
19663 main ()
19664 {
19665 return f != $ac_func;
19666 ;
19667 return 0;
19668 }
19669 _ACEOF
19670 rm -f conftest.$ac_objext conftest$ac_exeext
19671 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19672 (eval $ac_link) 2>conftest.er1
19673 ac_status=$?
19674 grep -v '^ *+' conftest.er1 >conftest.err
19675 rm -f conftest.er1
19676 cat conftest.err >&5
19677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19678 (exit $ac_status); } &&
19679 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19681 (eval $ac_try) 2>&5
19682 ac_status=$?
19683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19684 (exit $ac_status); }; } &&
19685 { ac_try='test -s conftest$ac_exeext'
19686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19687 (eval $ac_try) 2>&5
19688 ac_status=$?
19689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19690 (exit $ac_status); }; }; then
19691 eval "$as_ac_var=yes"
19692 else
19693 echo "$as_me: failed program was:" >&5
19694 sed 's/^/| /' conftest.$ac_ext >&5
19695
19696 eval "$as_ac_var=no"
19697 fi
19698 rm -f conftest.err conftest.$ac_objext \
19699 conftest$ac_exeext conftest.$ac_ext
19700 fi
19701 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19702 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19703 if test `eval echo '${'$as_ac_var'}'` = yes; then
19704 cat >>confdefs.h <<_ACEOF
19705 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19706 _ACEOF
19707
19708 fi
19709 done
19710
19711 fi
19712 fi
19713
19714
19715
19716
19717
19718
19719 echo "$as_me:$LINENO: checking for isinfl declaration" >&5
19720 echo $ECHO_N "checking for isinfl declaration... $ECHO_C" >&6
19721 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
19722 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then
19723 echo $ECHO_N "(cached) $ECHO_C" >&6
19724 else
19725
19726
19727
19728 ac_ext=cc
19729 ac_cpp='$CXXCPP $CPPFLAGS'
19730 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19731 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19732 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19733
19734 cat >conftest.$ac_ext <<_ACEOF
19735 /* confdefs.h. */
19736 _ACEOF
19737 cat confdefs.h >>conftest.$ac_ext
19738 cat >>conftest.$ac_ext <<_ACEOF
19739 /* end confdefs.h. */
19740 #include <math.h>
19741 #ifdef HAVE_IEEEFP_H
19742 #include <ieeefp.h>
19743 #endif
19744
19745 int
19746 main ()
19747 {
19748 isinfl(0);
19749 ;
19750 return 0;
19751 }
19752 _ACEOF
19753 rm -f conftest.$ac_objext
19754 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19755 (eval $ac_compile) 2>conftest.er1
19756 ac_status=$?
19757 grep -v '^ *+' conftest.er1 >conftest.err
19758 rm -f conftest.er1
19759 cat conftest.err >&5
19760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19761 (exit $ac_status); } &&
19762 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19764 (eval $ac_try) 2>&5
19765 ac_status=$?
19766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19767 (exit $ac_status); }; } &&
19768 { ac_try='test -s conftest.$ac_objext'
19769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19770 (eval $ac_try) 2>&5
19771 ac_status=$?
19772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19773 (exit $ac_status); }; }; then
19774 glibcxx_cv_func_isinfl_use=yes
19775 else
19776 echo "$as_me: failed program was:" >&5
19777 sed 's/^/| /' conftest.$ac_ext >&5
19778
19779 glibcxx_cv_func_isinfl_use=no
19780 fi
19781 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19782 ac_ext=c
19783 ac_cpp='$CPP $CPPFLAGS'
19784 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19785 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19786 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19787
19788
19789 fi
19790
19791 fi
19792 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinfl_use" >&5
19793 echo "${ECHO_T}$glibcxx_cv_func_isinfl_use" >&6
19794
19795 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
19796
19797 for ac_func in isinfl
19798 do
19799 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19800 echo "$as_me:$LINENO: checking for $ac_func" >&5
19801 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19802 if eval "test \"\${$as_ac_var+set}\" = set"; then
19803 echo $ECHO_N "(cached) $ECHO_C" >&6
19804 else
19805 if test x$gcc_no_link = xyes; then
19806 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19807 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19808 { (exit 1); exit 1; }; }
19809 fi
19810 cat >conftest.$ac_ext <<_ACEOF
19811 /* confdefs.h. */
19812 _ACEOF
19813 cat confdefs.h >>conftest.$ac_ext
19814 cat >>conftest.$ac_ext <<_ACEOF
19815 /* end confdefs.h. */
19816 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19817 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19818 #define $ac_func innocuous_$ac_func
19819
19820 /* System header to define __stub macros and hopefully few prototypes,
19821 which can conflict with char $ac_func (); below.
19822 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19823 <limits.h> exists even on freestanding compilers. */
19824
19825 #ifdef __STDC__
19826 # include <limits.h>
19827 #else
19828 # include <assert.h>
19829 #endif
19830
19831 #undef $ac_func
19832
19833 /* Override any gcc2 internal prototype to avoid an error. */
19834 #ifdef __cplusplus
19835 extern "C"
19836 {
19837 #endif
19838 /* We use char because int might match the return type of a gcc2
19839 builtin and then its argument prototype would still apply. */
19840 char $ac_func ();
19841 /* The GNU C library defines this for functions which it implements
19842 to always fail with ENOSYS. Some functions are actually named
19843 something starting with __ and the normal name is an alias. */
19844 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19845 choke me
19846 #else
19847 char (*f) () = $ac_func;
19848 #endif
19849 #ifdef __cplusplus
19850 }
19851 #endif
19852
19853 int
19854 main ()
19855 {
19856 return f != $ac_func;
19857 ;
19858 return 0;
19859 }
19860 _ACEOF
19861 rm -f conftest.$ac_objext conftest$ac_exeext
19862 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19863 (eval $ac_link) 2>conftest.er1
19864 ac_status=$?
19865 grep -v '^ *+' conftest.er1 >conftest.err
19866 rm -f conftest.er1
19867 cat conftest.err >&5
19868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19869 (exit $ac_status); } &&
19870 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19871 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19872 (eval $ac_try) 2>&5
19873 ac_status=$?
19874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19875 (exit $ac_status); }; } &&
19876 { ac_try='test -s conftest$ac_exeext'
19877 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19878 (eval $ac_try) 2>&5
19879 ac_status=$?
19880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19881 (exit $ac_status); }; }; then
19882 eval "$as_ac_var=yes"
19883 else
19884 echo "$as_me: failed program was:" >&5
19885 sed 's/^/| /' conftest.$ac_ext >&5
19886
19887 eval "$as_ac_var=no"
19888 fi
19889 rm -f conftest.err conftest.$ac_objext \
19890 conftest$ac_exeext conftest.$ac_ext
19891 fi
19892 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19893 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19894 if test `eval echo '${'$as_ac_var'}'` = yes; then
19895 cat >>confdefs.h <<_ACEOF
19896 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19897 _ACEOF
19898
19899 fi
19900 done
19901
19902 else
19903
19904 echo "$as_me:$LINENO: checking for _isinfl declaration" >&5
19905 echo $ECHO_N "checking for _isinfl declaration... $ECHO_C" >&6
19906 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
19907 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then
19908 echo $ECHO_N "(cached) $ECHO_C" >&6
19909 else
19910
19911
19912
19913 ac_ext=cc
19914 ac_cpp='$CXXCPP $CPPFLAGS'
19915 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19916 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19917 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19918
19919 cat >conftest.$ac_ext <<_ACEOF
19920 /* confdefs.h. */
19921 _ACEOF
19922 cat confdefs.h >>conftest.$ac_ext
19923 cat >>conftest.$ac_ext <<_ACEOF
19924 /* end confdefs.h. */
19925 #include <math.h>
19926 #ifdef HAVE_IEEEFP_H
19927 #include <ieeefp.h>
19928 #endif
19929
19930 int
19931 main ()
19932 {
19933 _isinfl(0);
19934 ;
19935 return 0;
19936 }
19937 _ACEOF
19938 rm -f conftest.$ac_objext
19939 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19940 (eval $ac_compile) 2>conftest.er1
19941 ac_status=$?
19942 grep -v '^ *+' conftest.er1 >conftest.err
19943 rm -f conftest.er1
19944 cat conftest.err >&5
19945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19946 (exit $ac_status); } &&
19947 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19949 (eval $ac_try) 2>&5
19950 ac_status=$?
19951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19952 (exit $ac_status); }; } &&
19953 { ac_try='test -s conftest.$ac_objext'
19954 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19955 (eval $ac_try) 2>&5
19956 ac_status=$?
19957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19958 (exit $ac_status); }; }; then
19959 glibcxx_cv_func__isinfl_use=yes
19960 else
19961 echo "$as_me: failed program was:" >&5
19962 sed 's/^/| /' conftest.$ac_ext >&5
19963
19964 glibcxx_cv_func__isinfl_use=no
19965 fi
19966 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19967 ac_ext=c
19968 ac_cpp='$CPP $CPPFLAGS'
19969 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19970 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19971 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19972
19973
19974 fi
19975
19976 fi
19977 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinfl_use" >&5
19978 echo "${ECHO_T}$glibcxx_cv_func__isinfl_use" >&6
19979
19980 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
19981
19982 for ac_func in _isinfl
19983 do
19984 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19985 echo "$as_me:$LINENO: checking for $ac_func" >&5
19986 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19987 if eval "test \"\${$as_ac_var+set}\" = set"; then
19988 echo $ECHO_N "(cached) $ECHO_C" >&6
19989 else
19990 if test x$gcc_no_link = xyes; then
19991 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19992 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19993 { (exit 1); exit 1; }; }
19994 fi
19995 cat >conftest.$ac_ext <<_ACEOF
19996 /* confdefs.h. */
19997 _ACEOF
19998 cat confdefs.h >>conftest.$ac_ext
19999 cat >>conftest.$ac_ext <<_ACEOF
20000 /* end confdefs.h. */
20001 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20002 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20003 #define $ac_func innocuous_$ac_func
20004
20005 /* System header to define __stub macros and hopefully few prototypes,
20006 which can conflict with char $ac_func (); below.
20007 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20008 <limits.h> exists even on freestanding compilers. */
20009
20010 #ifdef __STDC__
20011 # include <limits.h>
20012 #else
20013 # include <assert.h>
20014 #endif
20015
20016 #undef $ac_func
20017
20018 /* Override any gcc2 internal prototype to avoid an error. */
20019 #ifdef __cplusplus
20020 extern "C"
20021 {
20022 #endif
20023 /* We use char because int might match the return type of a gcc2
20024 builtin and then its argument prototype would still apply. */
20025 char $ac_func ();
20026 /* The GNU C library defines this for functions which it implements
20027 to always fail with ENOSYS. Some functions are actually named
20028 something starting with __ and the normal name is an alias. */
20029 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20030 choke me
20031 #else
20032 char (*f) () = $ac_func;
20033 #endif
20034 #ifdef __cplusplus
20035 }
20036 #endif
20037
20038 int
20039 main ()
20040 {
20041 return f != $ac_func;
20042 ;
20043 return 0;
20044 }
20045 _ACEOF
20046 rm -f conftest.$ac_objext conftest$ac_exeext
20047 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20048 (eval $ac_link) 2>conftest.er1
20049 ac_status=$?
20050 grep -v '^ *+' conftest.er1 >conftest.err
20051 rm -f conftest.er1
20052 cat conftest.err >&5
20053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20054 (exit $ac_status); } &&
20055 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20057 (eval $ac_try) 2>&5
20058 ac_status=$?
20059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20060 (exit $ac_status); }; } &&
20061 { ac_try='test -s conftest$ac_exeext'
20062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20063 (eval $ac_try) 2>&5
20064 ac_status=$?
20065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20066 (exit $ac_status); }; }; then
20067 eval "$as_ac_var=yes"
20068 else
20069 echo "$as_me: failed program was:" >&5
20070 sed 's/^/| /' conftest.$ac_ext >&5
20071
20072 eval "$as_ac_var=no"
20073 fi
20074 rm -f conftest.err conftest.$ac_objext \
20075 conftest$ac_exeext conftest.$ac_ext
20076 fi
20077 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20078 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20079 if test `eval echo '${'$as_ac_var'}'` = yes; then
20080 cat >>confdefs.h <<_ACEOF
20081 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20082 _ACEOF
20083
20084 fi
20085 done
20086
20087 fi
20088 fi
20089
20090
20091
20092
20093
20094
20095 echo "$as_me:$LINENO: checking for copysignl declaration" >&5
20096 echo $ECHO_N "checking for copysignl declaration... $ECHO_C" >&6
20097 if test x${glibcxx_cv_func_copysignl_use+set} != xset; then
20098 if test "${glibcxx_cv_func_copysignl_use+set}" = set; then
20099 echo $ECHO_N "(cached) $ECHO_C" >&6
20100 else
20101
20102
20103
20104 ac_ext=cc
20105 ac_cpp='$CXXCPP $CPPFLAGS'
20106 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20107 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20108 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20109
20110 cat >conftest.$ac_ext <<_ACEOF
20111 /* confdefs.h. */
20112 _ACEOF
20113 cat confdefs.h >>conftest.$ac_ext
20114 cat >>conftest.$ac_ext <<_ACEOF
20115 /* end confdefs.h. */
20116 #include <math.h>
20117 int
20118 main ()
20119 {
20120 copysignl(0, 0);
20121 ;
20122 return 0;
20123 }
20124 _ACEOF
20125 rm -f conftest.$ac_objext
20126 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20127 (eval $ac_compile) 2>conftest.er1
20128 ac_status=$?
20129 grep -v '^ *+' conftest.er1 >conftest.err
20130 rm -f conftest.er1
20131 cat conftest.err >&5
20132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20133 (exit $ac_status); } &&
20134 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20136 (eval $ac_try) 2>&5
20137 ac_status=$?
20138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20139 (exit $ac_status); }; } &&
20140 { ac_try='test -s conftest.$ac_objext'
20141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20142 (eval $ac_try) 2>&5
20143 ac_status=$?
20144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20145 (exit $ac_status); }; }; then
20146 glibcxx_cv_func_copysignl_use=yes
20147 else
20148 echo "$as_me: failed program was:" >&5
20149 sed 's/^/| /' conftest.$ac_ext >&5
20150
20151 glibcxx_cv_func_copysignl_use=no
20152 fi
20153 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20154 ac_ext=c
20155 ac_cpp='$CPP $CPPFLAGS'
20156 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20157 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20158 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20159
20160
20161 fi
20162
20163 fi
20164 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysignl_use" >&5
20165 echo "${ECHO_T}$glibcxx_cv_func_copysignl_use" >&6
20166
20167 if test x$glibcxx_cv_func_copysignl_use = x"yes"; then
20168
20169 for ac_func in copysignl
20170 do
20171 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20172 echo "$as_me:$LINENO: checking for $ac_func" >&5
20173 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20174 if eval "test \"\${$as_ac_var+set}\" = set"; then
20175 echo $ECHO_N "(cached) $ECHO_C" >&6
20176 else
20177 if test x$gcc_no_link = xyes; then
20178 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20179 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20180 { (exit 1); exit 1; }; }
20181 fi
20182 cat >conftest.$ac_ext <<_ACEOF
20183 /* confdefs.h. */
20184 _ACEOF
20185 cat confdefs.h >>conftest.$ac_ext
20186 cat >>conftest.$ac_ext <<_ACEOF
20187 /* end confdefs.h. */
20188 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20189 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20190 #define $ac_func innocuous_$ac_func
20191
20192 /* System header to define __stub macros and hopefully few prototypes,
20193 which can conflict with char $ac_func (); below.
20194 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20195 <limits.h> exists even on freestanding compilers. */
20196
20197 #ifdef __STDC__
20198 # include <limits.h>
20199 #else
20200 # include <assert.h>
20201 #endif
20202
20203 #undef $ac_func
20204
20205 /* Override any gcc2 internal prototype to avoid an error. */
20206 #ifdef __cplusplus
20207 extern "C"
20208 {
20209 #endif
20210 /* We use char because int might match the return type of a gcc2
20211 builtin and then its argument prototype would still apply. */
20212 char $ac_func ();
20213 /* The GNU C library defines this for functions which it implements
20214 to always fail with ENOSYS. Some functions are actually named
20215 something starting with __ and the normal name is an alias. */
20216 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20217 choke me
20218 #else
20219 char (*f) () = $ac_func;
20220 #endif
20221 #ifdef __cplusplus
20222 }
20223 #endif
20224
20225 int
20226 main ()
20227 {
20228 return f != $ac_func;
20229 ;
20230 return 0;
20231 }
20232 _ACEOF
20233 rm -f conftest.$ac_objext conftest$ac_exeext
20234 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20235 (eval $ac_link) 2>conftest.er1
20236 ac_status=$?
20237 grep -v '^ *+' conftest.er1 >conftest.err
20238 rm -f conftest.er1
20239 cat conftest.err >&5
20240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20241 (exit $ac_status); } &&
20242 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20244 (eval $ac_try) 2>&5
20245 ac_status=$?
20246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20247 (exit $ac_status); }; } &&
20248 { ac_try='test -s conftest$ac_exeext'
20249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20250 (eval $ac_try) 2>&5
20251 ac_status=$?
20252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20253 (exit $ac_status); }; }; then
20254 eval "$as_ac_var=yes"
20255 else
20256 echo "$as_me: failed program was:" >&5
20257 sed 's/^/| /' conftest.$ac_ext >&5
20258
20259 eval "$as_ac_var=no"
20260 fi
20261 rm -f conftest.err conftest.$ac_objext \
20262 conftest$ac_exeext conftest.$ac_ext
20263 fi
20264 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20265 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20266 if test `eval echo '${'$as_ac_var'}'` = yes; then
20267 cat >>confdefs.h <<_ACEOF
20268 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20269 _ACEOF
20270
20271 fi
20272 done
20273
20274 else
20275
20276 echo "$as_me:$LINENO: checking for _copysignl declaration" >&5
20277 echo $ECHO_N "checking for _copysignl declaration... $ECHO_C" >&6
20278 if test x${glibcxx_cv_func__copysignl_use+set} != xset; then
20279 if test "${glibcxx_cv_func__copysignl_use+set}" = set; then
20280 echo $ECHO_N "(cached) $ECHO_C" >&6
20281 else
20282
20283
20284
20285 ac_ext=cc
20286 ac_cpp='$CXXCPP $CPPFLAGS'
20287 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20288 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20289 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20290
20291 cat >conftest.$ac_ext <<_ACEOF
20292 /* confdefs.h. */
20293 _ACEOF
20294 cat confdefs.h >>conftest.$ac_ext
20295 cat >>conftest.$ac_ext <<_ACEOF
20296 /* end confdefs.h. */
20297 #include <math.h>
20298 int
20299 main ()
20300 {
20301 _copysignl(0, 0);
20302 ;
20303 return 0;
20304 }
20305 _ACEOF
20306 rm -f conftest.$ac_objext
20307 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20308 (eval $ac_compile) 2>conftest.er1
20309 ac_status=$?
20310 grep -v '^ *+' conftest.er1 >conftest.err
20311 rm -f conftest.er1
20312 cat conftest.err >&5
20313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20314 (exit $ac_status); } &&
20315 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20317 (eval $ac_try) 2>&5
20318 ac_status=$?
20319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20320 (exit $ac_status); }; } &&
20321 { ac_try='test -s conftest.$ac_objext'
20322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20323 (eval $ac_try) 2>&5
20324 ac_status=$?
20325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20326 (exit $ac_status); }; }; then
20327 glibcxx_cv_func__copysignl_use=yes
20328 else
20329 echo "$as_me: failed program was:" >&5
20330 sed 's/^/| /' conftest.$ac_ext >&5
20331
20332 glibcxx_cv_func__copysignl_use=no
20333 fi
20334 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20335 ac_ext=c
20336 ac_cpp='$CPP $CPPFLAGS'
20337 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20338 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20339 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20340
20341
20342 fi
20343
20344 fi
20345 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysignl_use" >&5
20346 echo "${ECHO_T}$glibcxx_cv_func__copysignl_use" >&6
20347
20348 if test x$glibcxx_cv_func__copysignl_use = x"yes"; then
20349
20350 for ac_func in _copysignl
20351 do
20352 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20353 echo "$as_me:$LINENO: checking for $ac_func" >&5
20354 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20355 if eval "test \"\${$as_ac_var+set}\" = set"; then
20356 echo $ECHO_N "(cached) $ECHO_C" >&6
20357 else
20358 if test x$gcc_no_link = xyes; then
20359 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20360 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20361 { (exit 1); exit 1; }; }
20362 fi
20363 cat >conftest.$ac_ext <<_ACEOF
20364 /* confdefs.h. */
20365 _ACEOF
20366 cat confdefs.h >>conftest.$ac_ext
20367 cat >>conftest.$ac_ext <<_ACEOF
20368 /* end confdefs.h. */
20369 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20370 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20371 #define $ac_func innocuous_$ac_func
20372
20373 /* System header to define __stub macros and hopefully few prototypes,
20374 which can conflict with char $ac_func (); below.
20375 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20376 <limits.h> exists even on freestanding compilers. */
20377
20378 #ifdef __STDC__
20379 # include <limits.h>
20380 #else
20381 # include <assert.h>
20382 #endif
20383
20384 #undef $ac_func
20385
20386 /* Override any gcc2 internal prototype to avoid an error. */
20387 #ifdef __cplusplus
20388 extern "C"
20389 {
20390 #endif
20391 /* We use char because int might match the return type of a gcc2
20392 builtin and then its argument prototype would still apply. */
20393 char $ac_func ();
20394 /* The GNU C library defines this for functions which it implements
20395 to always fail with ENOSYS. Some functions are actually named
20396 something starting with __ and the normal name is an alias. */
20397 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20398 choke me
20399 #else
20400 char (*f) () = $ac_func;
20401 #endif
20402 #ifdef __cplusplus
20403 }
20404 #endif
20405
20406 int
20407 main ()
20408 {
20409 return f != $ac_func;
20410 ;
20411 return 0;
20412 }
20413 _ACEOF
20414 rm -f conftest.$ac_objext conftest$ac_exeext
20415 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20416 (eval $ac_link) 2>conftest.er1
20417 ac_status=$?
20418 grep -v '^ *+' conftest.er1 >conftest.err
20419 rm -f conftest.er1
20420 cat conftest.err >&5
20421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20422 (exit $ac_status); } &&
20423 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20425 (eval $ac_try) 2>&5
20426 ac_status=$?
20427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20428 (exit $ac_status); }; } &&
20429 { ac_try='test -s conftest$ac_exeext'
20430 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20431 (eval $ac_try) 2>&5
20432 ac_status=$?
20433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20434 (exit $ac_status); }; }; then
20435 eval "$as_ac_var=yes"
20436 else
20437 echo "$as_me: failed program was:" >&5
20438 sed 's/^/| /' conftest.$ac_ext >&5
20439
20440 eval "$as_ac_var=no"
20441 fi
20442 rm -f conftest.err conftest.$ac_objext \
20443 conftest$ac_exeext conftest.$ac_ext
20444 fi
20445 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20446 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20447 if test `eval echo '${'$as_ac_var'}'` = yes; then
20448 cat >>confdefs.h <<_ACEOF
20449 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20450 _ACEOF
20451
20452 fi
20453 done
20454
20455 fi
20456 fi
20457
20458
20459
20460
20461
20462
20463 echo "$as_me:$LINENO: checking for atan2l declaration" >&5
20464 echo $ECHO_N "checking for atan2l declaration... $ECHO_C" >&6
20465 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
20466 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then
20467 echo $ECHO_N "(cached) $ECHO_C" >&6
20468 else
20469
20470
20471
20472 ac_ext=cc
20473 ac_cpp='$CXXCPP $CPPFLAGS'
20474 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20475 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20476 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20477
20478 cat >conftest.$ac_ext <<_ACEOF
20479 /* confdefs.h. */
20480 _ACEOF
20481 cat confdefs.h >>conftest.$ac_ext
20482 cat >>conftest.$ac_ext <<_ACEOF
20483 /* end confdefs.h. */
20484 #include <math.h>
20485 int
20486 main ()
20487 {
20488 atan2l(0, 0);
20489 ;
20490 return 0;
20491 }
20492 _ACEOF
20493 rm -f conftest.$ac_objext
20494 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20495 (eval $ac_compile) 2>conftest.er1
20496 ac_status=$?
20497 grep -v '^ *+' conftest.er1 >conftest.err
20498 rm -f conftest.er1
20499 cat conftest.err >&5
20500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20501 (exit $ac_status); } &&
20502 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20504 (eval $ac_try) 2>&5
20505 ac_status=$?
20506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20507 (exit $ac_status); }; } &&
20508 { ac_try='test -s conftest.$ac_objext'
20509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20510 (eval $ac_try) 2>&5
20511 ac_status=$?
20512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20513 (exit $ac_status); }; }; then
20514 glibcxx_cv_func_atan2l_use=yes
20515 else
20516 echo "$as_me: failed program was:" >&5
20517 sed 's/^/| /' conftest.$ac_ext >&5
20518
20519 glibcxx_cv_func_atan2l_use=no
20520 fi
20521 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20522 ac_ext=c
20523 ac_cpp='$CPP $CPPFLAGS'
20524 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20525 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20526 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20527
20528
20529 fi
20530
20531 fi
20532 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2l_use" >&5
20533 echo "${ECHO_T}$glibcxx_cv_func_atan2l_use" >&6
20534
20535 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
20536
20537 for ac_func in atan2l
20538 do
20539 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20540 echo "$as_me:$LINENO: checking for $ac_func" >&5
20541 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20542 if eval "test \"\${$as_ac_var+set}\" = set"; then
20543 echo $ECHO_N "(cached) $ECHO_C" >&6
20544 else
20545 if test x$gcc_no_link = xyes; then
20546 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20547 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20548 { (exit 1); exit 1; }; }
20549 fi
20550 cat >conftest.$ac_ext <<_ACEOF
20551 /* confdefs.h. */
20552 _ACEOF
20553 cat confdefs.h >>conftest.$ac_ext
20554 cat >>conftest.$ac_ext <<_ACEOF
20555 /* end confdefs.h. */
20556 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20557 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20558 #define $ac_func innocuous_$ac_func
20559
20560 /* System header to define __stub macros and hopefully few prototypes,
20561 which can conflict with char $ac_func (); below.
20562 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20563 <limits.h> exists even on freestanding compilers. */
20564
20565 #ifdef __STDC__
20566 # include <limits.h>
20567 #else
20568 # include <assert.h>
20569 #endif
20570
20571 #undef $ac_func
20572
20573 /* Override any gcc2 internal prototype to avoid an error. */
20574 #ifdef __cplusplus
20575 extern "C"
20576 {
20577 #endif
20578 /* We use char because int might match the return type of a gcc2
20579 builtin and then its argument prototype would still apply. */
20580 char $ac_func ();
20581 /* The GNU C library defines this for functions which it implements
20582 to always fail with ENOSYS. Some functions are actually named
20583 something starting with __ and the normal name is an alias. */
20584 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20585 choke me
20586 #else
20587 char (*f) () = $ac_func;
20588 #endif
20589 #ifdef __cplusplus
20590 }
20591 #endif
20592
20593 int
20594 main ()
20595 {
20596 return f != $ac_func;
20597 ;
20598 return 0;
20599 }
20600 _ACEOF
20601 rm -f conftest.$ac_objext conftest$ac_exeext
20602 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20603 (eval $ac_link) 2>conftest.er1
20604 ac_status=$?
20605 grep -v '^ *+' conftest.er1 >conftest.err
20606 rm -f conftest.er1
20607 cat conftest.err >&5
20608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20609 (exit $ac_status); } &&
20610 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20612 (eval $ac_try) 2>&5
20613 ac_status=$?
20614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20615 (exit $ac_status); }; } &&
20616 { ac_try='test -s conftest$ac_exeext'
20617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20618 (eval $ac_try) 2>&5
20619 ac_status=$?
20620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20621 (exit $ac_status); }; }; then
20622 eval "$as_ac_var=yes"
20623 else
20624 echo "$as_me: failed program was:" >&5
20625 sed 's/^/| /' conftest.$ac_ext >&5
20626
20627 eval "$as_ac_var=no"
20628 fi
20629 rm -f conftest.err conftest.$ac_objext \
20630 conftest$ac_exeext conftest.$ac_ext
20631 fi
20632 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20633 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20634 if test `eval echo '${'$as_ac_var'}'` = yes; then
20635 cat >>confdefs.h <<_ACEOF
20636 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20637 _ACEOF
20638
20639 fi
20640 done
20641
20642 else
20643
20644 echo "$as_me:$LINENO: checking for _atan2l declaration" >&5
20645 echo $ECHO_N "checking for _atan2l declaration... $ECHO_C" >&6
20646 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
20647 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then
20648 echo $ECHO_N "(cached) $ECHO_C" >&6
20649 else
20650
20651
20652
20653 ac_ext=cc
20654 ac_cpp='$CXXCPP $CPPFLAGS'
20655 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20656 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20657 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20658
20659 cat >conftest.$ac_ext <<_ACEOF
20660 /* confdefs.h. */
20661 _ACEOF
20662 cat confdefs.h >>conftest.$ac_ext
20663 cat >>conftest.$ac_ext <<_ACEOF
20664 /* end confdefs.h. */
20665 #include <math.h>
20666 int
20667 main ()
20668 {
20669 _atan2l(0, 0);
20670 ;
20671 return 0;
20672 }
20673 _ACEOF
20674 rm -f conftest.$ac_objext
20675 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20676 (eval $ac_compile) 2>conftest.er1
20677 ac_status=$?
20678 grep -v '^ *+' conftest.er1 >conftest.err
20679 rm -f conftest.er1
20680 cat conftest.err >&5
20681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20682 (exit $ac_status); } &&
20683 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20685 (eval $ac_try) 2>&5
20686 ac_status=$?
20687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20688 (exit $ac_status); }; } &&
20689 { ac_try='test -s conftest.$ac_objext'
20690 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20691 (eval $ac_try) 2>&5
20692 ac_status=$?
20693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20694 (exit $ac_status); }; }; then
20695 glibcxx_cv_func__atan2l_use=yes
20696 else
20697 echo "$as_me: failed program was:" >&5
20698 sed 's/^/| /' conftest.$ac_ext >&5
20699
20700 glibcxx_cv_func__atan2l_use=no
20701 fi
20702 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20703 ac_ext=c
20704 ac_cpp='$CPP $CPPFLAGS'
20705 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20706 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20707 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20708
20709
20710 fi
20711
20712 fi
20713 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2l_use" >&5
20714 echo "${ECHO_T}$glibcxx_cv_func__atan2l_use" >&6
20715
20716 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
20717
20718 for ac_func in _atan2l
20719 do
20720 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20721 echo "$as_me:$LINENO: checking for $ac_func" >&5
20722 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20723 if eval "test \"\${$as_ac_var+set}\" = set"; then
20724 echo $ECHO_N "(cached) $ECHO_C" >&6
20725 else
20726 if test x$gcc_no_link = xyes; then
20727 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20728 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20729 { (exit 1); exit 1; }; }
20730 fi
20731 cat >conftest.$ac_ext <<_ACEOF
20732 /* confdefs.h. */
20733 _ACEOF
20734 cat confdefs.h >>conftest.$ac_ext
20735 cat >>conftest.$ac_ext <<_ACEOF
20736 /* end confdefs.h. */
20737 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20738 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20739 #define $ac_func innocuous_$ac_func
20740
20741 /* System header to define __stub macros and hopefully few prototypes,
20742 which can conflict with char $ac_func (); below.
20743 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20744 <limits.h> exists even on freestanding compilers. */
20745
20746 #ifdef __STDC__
20747 # include <limits.h>
20748 #else
20749 # include <assert.h>
20750 #endif
20751
20752 #undef $ac_func
20753
20754 /* Override any gcc2 internal prototype to avoid an error. */
20755 #ifdef __cplusplus
20756 extern "C"
20757 {
20758 #endif
20759 /* We use char because int might match the return type of a gcc2
20760 builtin and then its argument prototype would still apply. */
20761 char $ac_func ();
20762 /* The GNU C library defines this for functions which it implements
20763 to always fail with ENOSYS. Some functions are actually named
20764 something starting with __ and the normal name is an alias. */
20765 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20766 choke me
20767 #else
20768 char (*f) () = $ac_func;
20769 #endif
20770 #ifdef __cplusplus
20771 }
20772 #endif
20773
20774 int
20775 main ()
20776 {
20777 return f != $ac_func;
20778 ;
20779 return 0;
20780 }
20781 _ACEOF
20782 rm -f conftest.$ac_objext conftest$ac_exeext
20783 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20784 (eval $ac_link) 2>conftest.er1
20785 ac_status=$?
20786 grep -v '^ *+' conftest.er1 >conftest.err
20787 rm -f conftest.er1
20788 cat conftest.err >&5
20789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20790 (exit $ac_status); } &&
20791 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20793 (eval $ac_try) 2>&5
20794 ac_status=$?
20795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20796 (exit $ac_status); }; } &&
20797 { ac_try='test -s conftest$ac_exeext'
20798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20799 (eval $ac_try) 2>&5
20800 ac_status=$?
20801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20802 (exit $ac_status); }; }; then
20803 eval "$as_ac_var=yes"
20804 else
20805 echo "$as_me: failed program was:" >&5
20806 sed 's/^/| /' conftest.$ac_ext >&5
20807
20808 eval "$as_ac_var=no"
20809 fi
20810 rm -f conftest.err conftest.$ac_objext \
20811 conftest$ac_exeext conftest.$ac_ext
20812 fi
20813 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20814 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20815 if test `eval echo '${'$as_ac_var'}'` = yes; then
20816 cat >>confdefs.h <<_ACEOF
20817 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20818 _ACEOF
20819
20820 fi
20821 done
20822
20823 fi
20824 fi
20825
20826
20827
20828
20829
20830
20831 echo "$as_me:$LINENO: checking for expl declaration" >&5
20832 echo $ECHO_N "checking for expl declaration... $ECHO_C" >&6
20833 if test x${glibcxx_cv_func_expl_use+set} != xset; then
20834 if test "${glibcxx_cv_func_expl_use+set}" = set; then
20835 echo $ECHO_N "(cached) $ECHO_C" >&6
20836 else
20837
20838
20839
20840 ac_ext=cc
20841 ac_cpp='$CXXCPP $CPPFLAGS'
20842 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20843 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20844 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20845
20846 cat >conftest.$ac_ext <<_ACEOF
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
20856
20857 int
20858 main ()
20859 {
20860 expl(0);
20861 ;
20862 return 0;
20863 }
20864 _ACEOF
20865 rm -f conftest.$ac_objext
20866 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20867 (eval $ac_compile) 2>conftest.er1
20868 ac_status=$?
20869 grep -v '^ *+' conftest.er1 >conftest.err
20870 rm -f conftest.er1
20871 cat conftest.err >&5
20872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20873 (exit $ac_status); } &&
20874 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20876 (eval $ac_try) 2>&5
20877 ac_status=$?
20878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20879 (exit $ac_status); }; } &&
20880 { ac_try='test -s conftest.$ac_objext'
20881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20882 (eval $ac_try) 2>&5
20883 ac_status=$?
20884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20885 (exit $ac_status); }; }; then
20886 glibcxx_cv_func_expl_use=yes
20887 else
20888 echo "$as_me: failed program was:" >&5
20889 sed 's/^/| /' conftest.$ac_ext >&5
20890
20891 glibcxx_cv_func_expl_use=no
20892 fi
20893 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20894 ac_ext=c
20895 ac_cpp='$CPP $CPPFLAGS'
20896 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20897 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20898 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20899
20900
20901 fi
20902
20903 fi
20904 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expl_use" >&5
20905 echo "${ECHO_T}$glibcxx_cv_func_expl_use" >&6
20906
20907 if test x$glibcxx_cv_func_expl_use = x"yes"; then
20908
20909 for ac_func in expl
20910 do
20911 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20912 echo "$as_me:$LINENO: checking for $ac_func" >&5
20913 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20914 if eval "test \"\${$as_ac_var+set}\" = set"; then
20915 echo $ECHO_N "(cached) $ECHO_C" >&6
20916 else
20917 if test x$gcc_no_link = xyes; then
20918 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20919 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20920 { (exit 1); exit 1; }; }
20921 fi
20922 cat >conftest.$ac_ext <<_ACEOF
20923 /* confdefs.h. */
20924 _ACEOF
20925 cat confdefs.h >>conftest.$ac_ext
20926 cat >>conftest.$ac_ext <<_ACEOF
20927 /* end confdefs.h. */
20928 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20929 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20930 #define $ac_func innocuous_$ac_func
20931
20932 /* System header to define __stub macros and hopefully few prototypes,
20933 which can conflict with char $ac_func (); below.
20934 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20935 <limits.h> exists even on freestanding compilers. */
20936
20937 #ifdef __STDC__
20938 # include <limits.h>
20939 #else
20940 # include <assert.h>
20941 #endif
20942
20943 #undef $ac_func
20944
20945 /* Override any gcc2 internal prototype to avoid an error. */
20946 #ifdef __cplusplus
20947 extern "C"
20948 {
20949 #endif
20950 /* We use char because int might match the return type of a gcc2
20951 builtin and then its argument prototype would still apply. */
20952 char $ac_func ();
20953 /* The GNU C library defines this for functions which it implements
20954 to always fail with ENOSYS. Some functions are actually named
20955 something starting with __ and the normal name is an alias. */
20956 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20957 choke me
20958 #else
20959 char (*f) () = $ac_func;
20960 #endif
20961 #ifdef __cplusplus
20962 }
20963 #endif
20964
20965 int
20966 main ()
20967 {
20968 return f != $ac_func;
20969 ;
20970 return 0;
20971 }
20972 _ACEOF
20973 rm -f conftest.$ac_objext conftest$ac_exeext
20974 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20975 (eval $ac_link) 2>conftest.er1
20976 ac_status=$?
20977 grep -v '^ *+' conftest.er1 >conftest.err
20978 rm -f conftest.er1
20979 cat conftest.err >&5
20980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20981 (exit $ac_status); } &&
20982 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20983 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20984 (eval $ac_try) 2>&5
20985 ac_status=$?
20986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20987 (exit $ac_status); }; } &&
20988 { ac_try='test -s conftest$ac_exeext'
20989 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20990 (eval $ac_try) 2>&5
20991 ac_status=$?
20992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20993 (exit $ac_status); }; }; then
20994 eval "$as_ac_var=yes"
20995 else
20996 echo "$as_me: failed program was:" >&5
20997 sed 's/^/| /' conftest.$ac_ext >&5
20998
20999 eval "$as_ac_var=no"
21000 fi
21001 rm -f conftest.err conftest.$ac_objext \
21002 conftest$ac_exeext conftest.$ac_ext
21003 fi
21004 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21005 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21006 if test `eval echo '${'$as_ac_var'}'` = yes; then
21007 cat >>confdefs.h <<_ACEOF
21008 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21009 _ACEOF
21010
21011 fi
21012 done
21013
21014 else
21015
21016 echo "$as_me:$LINENO: checking for _expl declaration" >&5
21017 echo $ECHO_N "checking for _expl declaration... $ECHO_C" >&6
21018 if test x${glibcxx_cv_func__expl_use+set} != xset; then
21019 if test "${glibcxx_cv_func__expl_use+set}" = set; then
21020 echo $ECHO_N "(cached) $ECHO_C" >&6
21021 else
21022
21023
21024
21025 ac_ext=cc
21026 ac_cpp='$CXXCPP $CPPFLAGS'
21027 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21028 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21029 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21030
21031 cat >conftest.$ac_ext <<_ACEOF
21032 /* confdefs.h. */
21033 _ACEOF
21034 cat confdefs.h >>conftest.$ac_ext
21035 cat >>conftest.$ac_ext <<_ACEOF
21036 /* end confdefs.h. */
21037 #include <math.h>
21038 #ifdef HAVE_IEEEFP_H
21039 #include <ieeefp.h>
21040 #endif
21041
21042 int
21043 main ()
21044 {
21045 _expl(0);
21046 ;
21047 return 0;
21048 }
21049 _ACEOF
21050 rm -f conftest.$ac_objext
21051 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21052 (eval $ac_compile) 2>conftest.er1
21053 ac_status=$?
21054 grep -v '^ *+' conftest.er1 >conftest.err
21055 rm -f conftest.er1
21056 cat conftest.err >&5
21057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21058 (exit $ac_status); } &&
21059 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21061 (eval $ac_try) 2>&5
21062 ac_status=$?
21063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21064 (exit $ac_status); }; } &&
21065 { ac_try='test -s conftest.$ac_objext'
21066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21067 (eval $ac_try) 2>&5
21068 ac_status=$?
21069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21070 (exit $ac_status); }; }; then
21071 glibcxx_cv_func__expl_use=yes
21072 else
21073 echo "$as_me: failed program was:" >&5
21074 sed 's/^/| /' conftest.$ac_ext >&5
21075
21076 glibcxx_cv_func__expl_use=no
21077 fi
21078 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21079 ac_ext=c
21080 ac_cpp='$CPP $CPPFLAGS'
21081 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21082 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21083 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21084
21085
21086 fi
21087
21088 fi
21089 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expl_use" >&5
21090 echo "${ECHO_T}$glibcxx_cv_func__expl_use" >&6
21091
21092 if test x$glibcxx_cv_func__expl_use = x"yes"; then
21093
21094 for ac_func in _expl
21095 do
21096 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21097 echo "$as_me:$LINENO: checking for $ac_func" >&5
21098 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21099 if eval "test \"\${$as_ac_var+set}\" = set"; then
21100 echo $ECHO_N "(cached) $ECHO_C" >&6
21101 else
21102 if test x$gcc_no_link = xyes; then
21103 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21104 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21105 { (exit 1); exit 1; }; }
21106 fi
21107 cat >conftest.$ac_ext <<_ACEOF
21108 /* confdefs.h. */
21109 _ACEOF
21110 cat confdefs.h >>conftest.$ac_ext
21111 cat >>conftest.$ac_ext <<_ACEOF
21112 /* end confdefs.h. */
21113 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21114 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21115 #define $ac_func innocuous_$ac_func
21116
21117 /* System header to define __stub macros and hopefully few prototypes,
21118 which can conflict with char $ac_func (); below.
21119 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21120 <limits.h> exists even on freestanding compilers. */
21121
21122 #ifdef __STDC__
21123 # include <limits.h>
21124 #else
21125 # include <assert.h>
21126 #endif
21127
21128 #undef $ac_func
21129
21130 /* Override any gcc2 internal prototype to avoid an error. */
21131 #ifdef __cplusplus
21132 extern "C"
21133 {
21134 #endif
21135 /* We use char because int might match the return type of a gcc2
21136 builtin and then its argument prototype would still apply. */
21137 char $ac_func ();
21138 /* The GNU C library defines this for functions which it implements
21139 to always fail with ENOSYS. Some functions are actually named
21140 something starting with __ and the normal name is an alias. */
21141 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21142 choke me
21143 #else
21144 char (*f) () = $ac_func;
21145 #endif
21146 #ifdef __cplusplus
21147 }
21148 #endif
21149
21150 int
21151 main ()
21152 {
21153 return f != $ac_func;
21154 ;
21155 return 0;
21156 }
21157 _ACEOF
21158 rm -f conftest.$ac_objext conftest$ac_exeext
21159 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21160 (eval $ac_link) 2>conftest.er1
21161 ac_status=$?
21162 grep -v '^ *+' conftest.er1 >conftest.err
21163 rm -f conftest.er1
21164 cat conftest.err >&5
21165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21166 (exit $ac_status); } &&
21167 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21169 (eval $ac_try) 2>&5
21170 ac_status=$?
21171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21172 (exit $ac_status); }; } &&
21173 { ac_try='test -s conftest$ac_exeext'
21174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21175 (eval $ac_try) 2>&5
21176 ac_status=$?
21177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21178 (exit $ac_status); }; }; then
21179 eval "$as_ac_var=yes"
21180 else
21181 echo "$as_me: failed program was:" >&5
21182 sed 's/^/| /' conftest.$ac_ext >&5
21183
21184 eval "$as_ac_var=no"
21185 fi
21186 rm -f conftest.err conftest.$ac_objext \
21187 conftest$ac_exeext conftest.$ac_ext
21188 fi
21189 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21190 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21191 if test `eval echo '${'$as_ac_var'}'` = yes; then
21192 cat >>confdefs.h <<_ACEOF
21193 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21194 _ACEOF
21195
21196 fi
21197 done
21198
21199 fi
21200 fi
21201
21202
21203
21204
21205
21206
21207 echo "$as_me:$LINENO: checking for fabsl declaration" >&5
21208 echo $ECHO_N "checking for fabsl declaration... $ECHO_C" >&6
21209 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
21210 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then
21211 echo $ECHO_N "(cached) $ECHO_C" >&6
21212 else
21213
21214
21215
21216 ac_ext=cc
21217 ac_cpp='$CXXCPP $CPPFLAGS'
21218 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21219 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21220 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21221
21222 cat >conftest.$ac_ext <<_ACEOF
21223 /* confdefs.h. */
21224 _ACEOF
21225 cat confdefs.h >>conftest.$ac_ext
21226 cat >>conftest.$ac_ext <<_ACEOF
21227 /* end confdefs.h. */
21228 #include <math.h>
21229 #ifdef HAVE_IEEEFP_H
21230 #include <ieeefp.h>
21231 #endif
21232
21233 int
21234 main ()
21235 {
21236 fabsl(0);
21237 ;
21238 return 0;
21239 }
21240 _ACEOF
21241 rm -f conftest.$ac_objext
21242 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21243 (eval $ac_compile) 2>conftest.er1
21244 ac_status=$?
21245 grep -v '^ *+' conftest.er1 >conftest.err
21246 rm -f conftest.er1
21247 cat conftest.err >&5
21248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21249 (exit $ac_status); } &&
21250 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21252 (eval $ac_try) 2>&5
21253 ac_status=$?
21254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21255 (exit $ac_status); }; } &&
21256 { ac_try='test -s conftest.$ac_objext'
21257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21258 (eval $ac_try) 2>&5
21259 ac_status=$?
21260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21261 (exit $ac_status); }; }; then
21262 glibcxx_cv_func_fabsl_use=yes
21263 else
21264 echo "$as_me: failed program was:" >&5
21265 sed 's/^/| /' conftest.$ac_ext >&5
21266
21267 glibcxx_cv_func_fabsl_use=no
21268 fi
21269 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21270 ac_ext=c
21271 ac_cpp='$CPP $CPPFLAGS'
21272 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21273 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21274 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21275
21276
21277 fi
21278
21279 fi
21280 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsl_use" >&5
21281 echo "${ECHO_T}$glibcxx_cv_func_fabsl_use" >&6
21282
21283 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
21284
21285 for ac_func in fabsl
21286 do
21287 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21288 echo "$as_me:$LINENO: checking for $ac_func" >&5
21289 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21290 if eval "test \"\${$as_ac_var+set}\" = set"; then
21291 echo $ECHO_N "(cached) $ECHO_C" >&6
21292 else
21293 if test x$gcc_no_link = xyes; then
21294 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21295 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21296 { (exit 1); exit 1; }; }
21297 fi
21298 cat >conftest.$ac_ext <<_ACEOF
21299 /* confdefs.h. */
21300 _ACEOF
21301 cat confdefs.h >>conftest.$ac_ext
21302 cat >>conftest.$ac_ext <<_ACEOF
21303 /* end confdefs.h. */
21304 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21305 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21306 #define $ac_func innocuous_$ac_func
21307
21308 /* System header to define __stub macros and hopefully few prototypes,
21309 which can conflict with char $ac_func (); below.
21310 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21311 <limits.h> exists even on freestanding compilers. */
21312
21313 #ifdef __STDC__
21314 # include <limits.h>
21315 #else
21316 # include <assert.h>
21317 #endif
21318
21319 #undef $ac_func
21320
21321 /* Override any gcc2 internal prototype to avoid an error. */
21322 #ifdef __cplusplus
21323 extern "C"
21324 {
21325 #endif
21326 /* We use char because int might match the return type of a gcc2
21327 builtin and then its argument prototype would still apply. */
21328 char $ac_func ();
21329 /* The GNU C library defines this for functions which it implements
21330 to always fail with ENOSYS. Some functions are actually named
21331 something starting with __ and the normal name is an alias. */
21332 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21333 choke me
21334 #else
21335 char (*f) () = $ac_func;
21336 #endif
21337 #ifdef __cplusplus
21338 }
21339 #endif
21340
21341 int
21342 main ()
21343 {
21344 return f != $ac_func;
21345 ;
21346 return 0;
21347 }
21348 _ACEOF
21349 rm -f conftest.$ac_objext conftest$ac_exeext
21350 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21351 (eval $ac_link) 2>conftest.er1
21352 ac_status=$?
21353 grep -v '^ *+' conftest.er1 >conftest.err
21354 rm -f conftest.er1
21355 cat conftest.err >&5
21356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21357 (exit $ac_status); } &&
21358 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21360 (eval $ac_try) 2>&5
21361 ac_status=$?
21362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21363 (exit $ac_status); }; } &&
21364 { ac_try='test -s conftest$ac_exeext'
21365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21366 (eval $ac_try) 2>&5
21367 ac_status=$?
21368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21369 (exit $ac_status); }; }; then
21370 eval "$as_ac_var=yes"
21371 else
21372 echo "$as_me: failed program was:" >&5
21373 sed 's/^/| /' conftest.$ac_ext >&5
21374
21375 eval "$as_ac_var=no"
21376 fi
21377 rm -f conftest.err conftest.$ac_objext \
21378 conftest$ac_exeext conftest.$ac_ext
21379 fi
21380 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21381 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21382 if test `eval echo '${'$as_ac_var'}'` = yes; then
21383 cat >>confdefs.h <<_ACEOF
21384 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21385 _ACEOF
21386
21387 fi
21388 done
21389
21390 else
21391
21392 echo "$as_me:$LINENO: checking for _fabsl declaration" >&5
21393 echo $ECHO_N "checking for _fabsl declaration... $ECHO_C" >&6
21394 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
21395 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then
21396 echo $ECHO_N "(cached) $ECHO_C" >&6
21397 else
21398
21399
21400
21401 ac_ext=cc
21402 ac_cpp='$CXXCPP $CPPFLAGS'
21403 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21404 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21405 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21406
21407 cat >conftest.$ac_ext <<_ACEOF
21408 /* confdefs.h. */
21409 _ACEOF
21410 cat confdefs.h >>conftest.$ac_ext
21411 cat >>conftest.$ac_ext <<_ACEOF
21412 /* end confdefs.h. */
21413 #include <math.h>
21414 #ifdef HAVE_IEEEFP_H
21415 #include <ieeefp.h>
21416 #endif
21417
21418 int
21419 main ()
21420 {
21421 _fabsl(0);
21422 ;
21423 return 0;
21424 }
21425 _ACEOF
21426 rm -f conftest.$ac_objext
21427 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21428 (eval $ac_compile) 2>conftest.er1
21429 ac_status=$?
21430 grep -v '^ *+' conftest.er1 >conftest.err
21431 rm -f conftest.er1
21432 cat conftest.err >&5
21433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21434 (exit $ac_status); } &&
21435 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21437 (eval $ac_try) 2>&5
21438 ac_status=$?
21439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21440 (exit $ac_status); }; } &&
21441 { ac_try='test -s conftest.$ac_objext'
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 glibcxx_cv_func__fabsl_use=yes
21448 else
21449 echo "$as_me: failed program was:" >&5
21450 sed 's/^/| /' conftest.$ac_ext >&5
21451
21452 glibcxx_cv_func__fabsl_use=no
21453 fi
21454 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21455 ac_ext=c
21456 ac_cpp='$CPP $CPPFLAGS'
21457 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21458 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21459 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21460
21461
21462 fi
21463
21464 fi
21465 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsl_use" >&5
21466 echo "${ECHO_T}$glibcxx_cv_func__fabsl_use" >&6
21467
21468 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
21469
21470 for ac_func in _fabsl
21471 do
21472 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21473 echo "$as_me:$LINENO: checking for $ac_func" >&5
21474 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21475 if eval "test \"\${$as_ac_var+set}\" = set"; then
21476 echo $ECHO_N "(cached) $ECHO_C" >&6
21477 else
21478 if test x$gcc_no_link = xyes; then
21479 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21480 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21481 { (exit 1); exit 1; }; }
21482 fi
21483 cat >conftest.$ac_ext <<_ACEOF
21484 /* confdefs.h. */
21485 _ACEOF
21486 cat confdefs.h >>conftest.$ac_ext
21487 cat >>conftest.$ac_ext <<_ACEOF
21488 /* end confdefs.h. */
21489 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21490 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21491 #define $ac_func innocuous_$ac_func
21492
21493 /* System header to define __stub macros and hopefully few prototypes,
21494 which can conflict with char $ac_func (); below.
21495 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21496 <limits.h> exists even on freestanding compilers. */
21497
21498 #ifdef __STDC__
21499 # include <limits.h>
21500 #else
21501 # include <assert.h>
21502 #endif
21503
21504 #undef $ac_func
21505
21506 /* Override any gcc2 internal prototype to avoid an error. */
21507 #ifdef __cplusplus
21508 extern "C"
21509 {
21510 #endif
21511 /* We use char because int might match the return type of a gcc2
21512 builtin and then its argument prototype would still apply. */
21513 char $ac_func ();
21514 /* The GNU C library defines this for functions which it implements
21515 to always fail with ENOSYS. Some functions are actually named
21516 something starting with __ and the normal name is an alias. */
21517 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21518 choke me
21519 #else
21520 char (*f) () = $ac_func;
21521 #endif
21522 #ifdef __cplusplus
21523 }
21524 #endif
21525
21526 int
21527 main ()
21528 {
21529 return f != $ac_func;
21530 ;
21531 return 0;
21532 }
21533 _ACEOF
21534 rm -f conftest.$ac_objext conftest$ac_exeext
21535 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21536 (eval $ac_link) 2>conftest.er1
21537 ac_status=$?
21538 grep -v '^ *+' conftest.er1 >conftest.err
21539 rm -f conftest.er1
21540 cat conftest.err >&5
21541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21542 (exit $ac_status); } &&
21543 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21545 (eval $ac_try) 2>&5
21546 ac_status=$?
21547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21548 (exit $ac_status); }; } &&
21549 { ac_try='test -s conftest$ac_exeext'
21550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21551 (eval $ac_try) 2>&5
21552 ac_status=$?
21553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21554 (exit $ac_status); }; }; then
21555 eval "$as_ac_var=yes"
21556 else
21557 echo "$as_me: failed program was:" >&5
21558 sed 's/^/| /' conftest.$ac_ext >&5
21559
21560 eval "$as_ac_var=no"
21561 fi
21562 rm -f conftest.err conftest.$ac_objext \
21563 conftest$ac_exeext conftest.$ac_ext
21564 fi
21565 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21566 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21567 if test `eval echo '${'$as_ac_var'}'` = yes; then
21568 cat >>confdefs.h <<_ACEOF
21569 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21570 _ACEOF
21571
21572 fi
21573 done
21574
21575 fi
21576 fi
21577
21578
21579
21580
21581
21582
21583 echo "$as_me:$LINENO: checking for fmodl declaration" >&5
21584 echo $ECHO_N "checking for fmodl declaration... $ECHO_C" >&6
21585 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
21586 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then
21587 echo $ECHO_N "(cached) $ECHO_C" >&6
21588 else
21589
21590
21591
21592 ac_ext=cc
21593 ac_cpp='$CXXCPP $CPPFLAGS'
21594 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21595 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21596 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21597
21598 cat >conftest.$ac_ext <<_ACEOF
21599 /* confdefs.h. */
21600 _ACEOF
21601 cat confdefs.h >>conftest.$ac_ext
21602 cat >>conftest.$ac_ext <<_ACEOF
21603 /* end confdefs.h. */
21604 #include <math.h>
21605 int
21606 main ()
21607 {
21608 fmodl(0, 0);
21609 ;
21610 return 0;
21611 }
21612 _ACEOF
21613 rm -f conftest.$ac_objext
21614 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21615 (eval $ac_compile) 2>conftest.er1
21616 ac_status=$?
21617 grep -v '^ *+' conftest.er1 >conftest.err
21618 rm -f conftest.er1
21619 cat conftest.err >&5
21620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21621 (exit $ac_status); } &&
21622 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21624 (eval $ac_try) 2>&5
21625 ac_status=$?
21626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21627 (exit $ac_status); }; } &&
21628 { ac_try='test -s conftest.$ac_objext'
21629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21630 (eval $ac_try) 2>&5
21631 ac_status=$?
21632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21633 (exit $ac_status); }; }; then
21634 glibcxx_cv_func_fmodl_use=yes
21635 else
21636 echo "$as_me: failed program was:" >&5
21637 sed 's/^/| /' conftest.$ac_ext >&5
21638
21639 glibcxx_cv_func_fmodl_use=no
21640 fi
21641 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21642 ac_ext=c
21643 ac_cpp='$CPP $CPPFLAGS'
21644 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21645 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21646 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21647
21648
21649 fi
21650
21651 fi
21652 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodl_use" >&5
21653 echo "${ECHO_T}$glibcxx_cv_func_fmodl_use" >&6
21654
21655 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
21656
21657 for ac_func in fmodl
21658 do
21659 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21660 echo "$as_me:$LINENO: checking for $ac_func" >&5
21661 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21662 if eval "test \"\${$as_ac_var+set}\" = set"; then
21663 echo $ECHO_N "(cached) $ECHO_C" >&6
21664 else
21665 if test x$gcc_no_link = xyes; then
21666 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21667 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21668 { (exit 1); exit 1; }; }
21669 fi
21670 cat >conftest.$ac_ext <<_ACEOF
21671 /* confdefs.h. */
21672 _ACEOF
21673 cat confdefs.h >>conftest.$ac_ext
21674 cat >>conftest.$ac_ext <<_ACEOF
21675 /* end confdefs.h. */
21676 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21677 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21678 #define $ac_func innocuous_$ac_func
21679
21680 /* System header to define __stub macros and hopefully few prototypes,
21681 which can conflict with char $ac_func (); below.
21682 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21683 <limits.h> exists even on freestanding compilers. */
21684
21685 #ifdef __STDC__
21686 # include <limits.h>
21687 #else
21688 # include <assert.h>
21689 #endif
21690
21691 #undef $ac_func
21692
21693 /* Override any gcc2 internal prototype to avoid an error. */
21694 #ifdef __cplusplus
21695 extern "C"
21696 {
21697 #endif
21698 /* We use char because int might match the return type of a gcc2
21699 builtin and then its argument prototype would still apply. */
21700 char $ac_func ();
21701 /* The GNU C library defines this for functions which it implements
21702 to always fail with ENOSYS. Some functions are actually named
21703 something starting with __ and the normal name is an alias. */
21704 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21705 choke me
21706 #else
21707 char (*f) () = $ac_func;
21708 #endif
21709 #ifdef __cplusplus
21710 }
21711 #endif
21712
21713 int
21714 main ()
21715 {
21716 return f != $ac_func;
21717 ;
21718 return 0;
21719 }
21720 _ACEOF
21721 rm -f conftest.$ac_objext conftest$ac_exeext
21722 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21723 (eval $ac_link) 2>conftest.er1
21724 ac_status=$?
21725 grep -v '^ *+' conftest.er1 >conftest.err
21726 rm -f conftest.er1
21727 cat conftest.err >&5
21728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21729 (exit $ac_status); } &&
21730 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21732 (eval $ac_try) 2>&5
21733 ac_status=$?
21734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21735 (exit $ac_status); }; } &&
21736 { ac_try='test -s conftest$ac_exeext'
21737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21738 (eval $ac_try) 2>&5
21739 ac_status=$?
21740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21741 (exit $ac_status); }; }; then
21742 eval "$as_ac_var=yes"
21743 else
21744 echo "$as_me: failed program was:" >&5
21745 sed 's/^/| /' conftest.$ac_ext >&5
21746
21747 eval "$as_ac_var=no"
21748 fi
21749 rm -f conftest.err conftest.$ac_objext \
21750 conftest$ac_exeext conftest.$ac_ext
21751 fi
21752 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21753 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21754 if test `eval echo '${'$as_ac_var'}'` = yes; then
21755 cat >>confdefs.h <<_ACEOF
21756 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21757 _ACEOF
21758
21759 fi
21760 done
21761
21762 else
21763
21764 echo "$as_me:$LINENO: checking for _fmodl declaration" >&5
21765 echo $ECHO_N "checking for _fmodl declaration... $ECHO_C" >&6
21766 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
21767 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then
21768 echo $ECHO_N "(cached) $ECHO_C" >&6
21769 else
21770
21771
21772
21773 ac_ext=cc
21774 ac_cpp='$CXXCPP $CPPFLAGS'
21775 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21776 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21777 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21778
21779 cat >conftest.$ac_ext <<_ACEOF
21780 /* confdefs.h. */
21781 _ACEOF
21782 cat confdefs.h >>conftest.$ac_ext
21783 cat >>conftest.$ac_ext <<_ACEOF
21784 /* end confdefs.h. */
21785 #include <math.h>
21786 int
21787 main ()
21788 {
21789 _fmodl(0, 0);
21790 ;
21791 return 0;
21792 }
21793 _ACEOF
21794 rm -f conftest.$ac_objext
21795 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21796 (eval $ac_compile) 2>conftest.er1
21797 ac_status=$?
21798 grep -v '^ *+' conftest.er1 >conftest.err
21799 rm -f conftest.er1
21800 cat conftest.err >&5
21801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21802 (exit $ac_status); } &&
21803 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21805 (eval $ac_try) 2>&5
21806 ac_status=$?
21807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21808 (exit $ac_status); }; } &&
21809 { ac_try='test -s conftest.$ac_objext'
21810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21811 (eval $ac_try) 2>&5
21812 ac_status=$?
21813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21814 (exit $ac_status); }; }; then
21815 glibcxx_cv_func__fmodl_use=yes
21816 else
21817 echo "$as_me: failed program was:" >&5
21818 sed 's/^/| /' conftest.$ac_ext >&5
21819
21820 glibcxx_cv_func__fmodl_use=no
21821 fi
21822 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21823 ac_ext=c
21824 ac_cpp='$CPP $CPPFLAGS'
21825 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21826 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21827 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21828
21829
21830 fi
21831
21832 fi
21833 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodl_use" >&5
21834 echo "${ECHO_T}$glibcxx_cv_func__fmodl_use" >&6
21835
21836 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
21837
21838 for ac_func in _fmodl
21839 do
21840 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21841 echo "$as_me:$LINENO: checking for $ac_func" >&5
21842 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21843 if eval "test \"\${$as_ac_var+set}\" = set"; then
21844 echo $ECHO_N "(cached) $ECHO_C" >&6
21845 else
21846 if test x$gcc_no_link = xyes; then
21847 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21848 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21849 { (exit 1); exit 1; }; }
21850 fi
21851 cat >conftest.$ac_ext <<_ACEOF
21852 /* confdefs.h. */
21853 _ACEOF
21854 cat confdefs.h >>conftest.$ac_ext
21855 cat >>conftest.$ac_ext <<_ACEOF
21856 /* end confdefs.h. */
21857 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21858 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21859 #define $ac_func innocuous_$ac_func
21860
21861 /* System header to define __stub macros and hopefully few prototypes,
21862 which can conflict with char $ac_func (); below.
21863 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21864 <limits.h> exists even on freestanding compilers. */
21865
21866 #ifdef __STDC__
21867 # include <limits.h>
21868 #else
21869 # include <assert.h>
21870 #endif
21871
21872 #undef $ac_func
21873
21874 /* Override any gcc2 internal prototype to avoid an error. */
21875 #ifdef __cplusplus
21876 extern "C"
21877 {
21878 #endif
21879 /* We use char because int might match the return type of a gcc2
21880 builtin and then its argument prototype would still apply. */
21881 char $ac_func ();
21882 /* The GNU C library defines this for functions which it implements
21883 to always fail with ENOSYS. Some functions are actually named
21884 something starting with __ and the normal name is an alias. */
21885 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21886 choke me
21887 #else
21888 char (*f) () = $ac_func;
21889 #endif
21890 #ifdef __cplusplus
21891 }
21892 #endif
21893
21894 int
21895 main ()
21896 {
21897 return f != $ac_func;
21898 ;
21899 return 0;
21900 }
21901 _ACEOF
21902 rm -f conftest.$ac_objext conftest$ac_exeext
21903 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21904 (eval $ac_link) 2>conftest.er1
21905 ac_status=$?
21906 grep -v '^ *+' conftest.er1 >conftest.err
21907 rm -f conftest.er1
21908 cat conftest.err >&5
21909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21910 (exit $ac_status); } &&
21911 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21913 (eval $ac_try) 2>&5
21914 ac_status=$?
21915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21916 (exit $ac_status); }; } &&
21917 { ac_try='test -s conftest$ac_exeext'
21918 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21919 (eval $ac_try) 2>&5
21920 ac_status=$?
21921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21922 (exit $ac_status); }; }; then
21923 eval "$as_ac_var=yes"
21924 else
21925 echo "$as_me: failed program was:" >&5
21926 sed 's/^/| /' conftest.$ac_ext >&5
21927
21928 eval "$as_ac_var=no"
21929 fi
21930 rm -f conftest.err conftest.$ac_objext \
21931 conftest$ac_exeext conftest.$ac_ext
21932 fi
21933 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21934 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21935 if test `eval echo '${'$as_ac_var'}'` = yes; then
21936 cat >>confdefs.h <<_ACEOF
21937 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21938 _ACEOF
21939
21940 fi
21941 done
21942
21943 fi
21944 fi
21945
21946
21947
21948
21949
21950
21951 echo "$as_me:$LINENO: checking for frexpl declaration" >&5
21952 echo $ECHO_N "checking for frexpl declaration... $ECHO_C" >&6
21953 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
21954 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then
21955 echo $ECHO_N "(cached) $ECHO_C" >&6
21956 else
21957
21958
21959
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
21965
21966 cat >conftest.$ac_ext <<_ACEOF
21967 /* confdefs.h. */
21968 _ACEOF
21969 cat confdefs.h >>conftest.$ac_ext
21970 cat >>conftest.$ac_ext <<_ACEOF
21971 /* end confdefs.h. */
21972 #include <math.h>
21973 int
21974 main ()
21975 {
21976 frexpl(0, 0);
21977 ;
21978 return 0;
21979 }
21980 _ACEOF
21981 rm -f conftest.$ac_objext
21982 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21983 (eval $ac_compile) 2>conftest.er1
21984 ac_status=$?
21985 grep -v '^ *+' conftest.er1 >conftest.err
21986 rm -f conftest.er1
21987 cat conftest.err >&5
21988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21989 (exit $ac_status); } &&
21990 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
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); }; } &&
21996 { ac_try='test -s conftest.$ac_objext'
21997 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21998 (eval $ac_try) 2>&5
21999 ac_status=$?
22000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22001 (exit $ac_status); }; }; then
22002 glibcxx_cv_func_frexpl_use=yes
22003 else
22004 echo "$as_me: failed program was:" >&5
22005 sed 's/^/| /' conftest.$ac_ext >&5
22006
22007 glibcxx_cv_func_frexpl_use=no
22008 fi
22009 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22010 ac_ext=c
22011 ac_cpp='$CPP $CPPFLAGS'
22012 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22013 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22014 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22015
22016
22017 fi
22018
22019 fi
22020 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpl_use" >&5
22021 echo "${ECHO_T}$glibcxx_cv_func_frexpl_use" >&6
22022
22023 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
22024
22025 for ac_func in frexpl
22026 do
22027 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22028 echo "$as_me:$LINENO: checking for $ac_func" >&5
22029 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22030 if eval "test \"\${$as_ac_var+set}\" = set"; then
22031 echo $ECHO_N "(cached) $ECHO_C" >&6
22032 else
22033 if test x$gcc_no_link = xyes; then
22034 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22035 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22036 { (exit 1); exit 1; }; }
22037 fi
22038 cat >conftest.$ac_ext <<_ACEOF
22039 /* confdefs.h. */
22040 _ACEOF
22041 cat confdefs.h >>conftest.$ac_ext
22042 cat >>conftest.$ac_ext <<_ACEOF
22043 /* end confdefs.h. */
22044 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22045 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22046 #define $ac_func innocuous_$ac_func
22047
22048 /* System header to define __stub macros and hopefully few prototypes,
22049 which can conflict with char $ac_func (); below.
22050 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22051 <limits.h> exists even on freestanding compilers. */
22052
22053 #ifdef __STDC__
22054 # include <limits.h>
22055 #else
22056 # include <assert.h>
22057 #endif
22058
22059 #undef $ac_func
22060
22061 /* Override any gcc2 internal prototype to avoid an error. */
22062 #ifdef __cplusplus
22063 extern "C"
22064 {
22065 #endif
22066 /* We use char because int might match the return type of a gcc2
22067 builtin and then its argument prototype would still apply. */
22068 char $ac_func ();
22069 /* The GNU C library defines this for functions which it implements
22070 to always fail with ENOSYS. Some functions are actually named
22071 something starting with __ and the normal name is an alias. */
22072 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22073 choke me
22074 #else
22075 char (*f) () = $ac_func;
22076 #endif
22077 #ifdef __cplusplus
22078 }
22079 #endif
22080
22081 int
22082 main ()
22083 {
22084 return f != $ac_func;
22085 ;
22086 return 0;
22087 }
22088 _ACEOF
22089 rm -f conftest.$ac_objext conftest$ac_exeext
22090 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22091 (eval $ac_link) 2>conftest.er1
22092 ac_status=$?
22093 grep -v '^ *+' conftest.er1 >conftest.err
22094 rm -f conftest.er1
22095 cat conftest.err >&5
22096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22097 (exit $ac_status); } &&
22098 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22100 (eval $ac_try) 2>&5
22101 ac_status=$?
22102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22103 (exit $ac_status); }; } &&
22104 { ac_try='test -s conftest$ac_exeext'
22105 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22106 (eval $ac_try) 2>&5
22107 ac_status=$?
22108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22109 (exit $ac_status); }; }; then
22110 eval "$as_ac_var=yes"
22111 else
22112 echo "$as_me: failed program was:" >&5
22113 sed 's/^/| /' conftest.$ac_ext >&5
22114
22115 eval "$as_ac_var=no"
22116 fi
22117 rm -f conftest.err conftest.$ac_objext \
22118 conftest$ac_exeext conftest.$ac_ext
22119 fi
22120 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22121 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22122 if test `eval echo '${'$as_ac_var'}'` = yes; then
22123 cat >>confdefs.h <<_ACEOF
22124 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22125 _ACEOF
22126
22127 fi
22128 done
22129
22130 else
22131
22132 echo "$as_me:$LINENO: checking for _frexpl declaration" >&5
22133 echo $ECHO_N "checking for _frexpl declaration... $ECHO_C" >&6
22134 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
22135 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then
22136 echo $ECHO_N "(cached) $ECHO_C" >&6
22137 else
22138
22139
22140
22141 ac_ext=cc
22142 ac_cpp='$CXXCPP $CPPFLAGS'
22143 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22144 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22145 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22146
22147 cat >conftest.$ac_ext <<_ACEOF
22148 /* confdefs.h. */
22149 _ACEOF
22150 cat confdefs.h >>conftest.$ac_ext
22151 cat >>conftest.$ac_ext <<_ACEOF
22152 /* end confdefs.h. */
22153 #include <math.h>
22154 int
22155 main ()
22156 {
22157 _frexpl(0, 0);
22158 ;
22159 return 0;
22160 }
22161 _ACEOF
22162 rm -f conftest.$ac_objext
22163 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22164 (eval $ac_compile) 2>conftest.er1
22165 ac_status=$?
22166 grep -v '^ *+' conftest.er1 >conftest.err
22167 rm -f conftest.er1
22168 cat conftest.err >&5
22169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22170 (exit $ac_status); } &&
22171 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22173 (eval $ac_try) 2>&5
22174 ac_status=$?
22175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22176 (exit $ac_status); }; } &&
22177 { ac_try='test -s conftest.$ac_objext'
22178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22179 (eval $ac_try) 2>&5
22180 ac_status=$?
22181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22182 (exit $ac_status); }; }; then
22183 glibcxx_cv_func__frexpl_use=yes
22184 else
22185 echo "$as_me: failed program was:" >&5
22186 sed 's/^/| /' conftest.$ac_ext >&5
22187
22188 glibcxx_cv_func__frexpl_use=no
22189 fi
22190 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22191 ac_ext=c
22192 ac_cpp='$CPP $CPPFLAGS'
22193 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22194 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22195 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22196
22197
22198 fi
22199
22200 fi
22201 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpl_use" >&5
22202 echo "${ECHO_T}$glibcxx_cv_func__frexpl_use" >&6
22203
22204 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
22205
22206 for ac_func in _frexpl
22207 do
22208 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22209 echo "$as_me:$LINENO: checking for $ac_func" >&5
22210 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22211 if eval "test \"\${$as_ac_var+set}\" = set"; then
22212 echo $ECHO_N "(cached) $ECHO_C" >&6
22213 else
22214 if test x$gcc_no_link = xyes; then
22215 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22216 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22217 { (exit 1); exit 1; }; }
22218 fi
22219 cat >conftest.$ac_ext <<_ACEOF
22220 /* confdefs.h. */
22221 _ACEOF
22222 cat confdefs.h >>conftest.$ac_ext
22223 cat >>conftest.$ac_ext <<_ACEOF
22224 /* end confdefs.h. */
22225 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22226 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22227 #define $ac_func innocuous_$ac_func
22228
22229 /* System header to define __stub macros and hopefully few prototypes,
22230 which can conflict with char $ac_func (); below.
22231 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22232 <limits.h> exists even on freestanding compilers. */
22233
22234 #ifdef __STDC__
22235 # include <limits.h>
22236 #else
22237 # include <assert.h>
22238 #endif
22239
22240 #undef $ac_func
22241
22242 /* Override any gcc2 internal prototype to avoid an error. */
22243 #ifdef __cplusplus
22244 extern "C"
22245 {
22246 #endif
22247 /* We use char because int might match the return type of a gcc2
22248 builtin and then its argument prototype would still apply. */
22249 char $ac_func ();
22250 /* The GNU C library defines this for functions which it implements
22251 to always fail with ENOSYS. Some functions are actually named
22252 something starting with __ and the normal name is an alias. */
22253 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22254 choke me
22255 #else
22256 char (*f) () = $ac_func;
22257 #endif
22258 #ifdef __cplusplus
22259 }
22260 #endif
22261
22262 int
22263 main ()
22264 {
22265 return f != $ac_func;
22266 ;
22267 return 0;
22268 }
22269 _ACEOF
22270 rm -f conftest.$ac_objext conftest$ac_exeext
22271 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22272 (eval $ac_link) 2>conftest.er1
22273 ac_status=$?
22274 grep -v '^ *+' conftest.er1 >conftest.err
22275 rm -f conftest.er1
22276 cat conftest.err >&5
22277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22278 (exit $ac_status); } &&
22279 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22281 (eval $ac_try) 2>&5
22282 ac_status=$?
22283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22284 (exit $ac_status); }; } &&
22285 { ac_try='test -s conftest$ac_exeext'
22286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22287 (eval $ac_try) 2>&5
22288 ac_status=$?
22289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22290 (exit $ac_status); }; }; then
22291 eval "$as_ac_var=yes"
22292 else
22293 echo "$as_me: failed program was:" >&5
22294 sed 's/^/| /' conftest.$ac_ext >&5
22295
22296 eval "$as_ac_var=no"
22297 fi
22298 rm -f conftest.err conftest.$ac_objext \
22299 conftest$ac_exeext conftest.$ac_ext
22300 fi
22301 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22302 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22303 if test `eval echo '${'$as_ac_var'}'` = yes; then
22304 cat >>confdefs.h <<_ACEOF
22305 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22306 _ACEOF
22307
22308 fi
22309 done
22310
22311 fi
22312 fi
22313
22314
22315
22316
22317
22318
22319 echo "$as_me:$LINENO: checking for hypotl declaration" >&5
22320 echo $ECHO_N "checking for hypotl declaration... $ECHO_C" >&6
22321 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
22322 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then
22323 echo $ECHO_N "(cached) $ECHO_C" >&6
22324 else
22325
22326
22327
22328 ac_ext=cc
22329 ac_cpp='$CXXCPP $CPPFLAGS'
22330 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22331 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22332 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22333
22334 cat >conftest.$ac_ext <<_ACEOF
22335 /* confdefs.h. */
22336 _ACEOF
22337 cat confdefs.h >>conftest.$ac_ext
22338 cat >>conftest.$ac_ext <<_ACEOF
22339 /* end confdefs.h. */
22340 #include <math.h>
22341 int
22342 main ()
22343 {
22344 hypotl(0, 0);
22345 ;
22346 return 0;
22347 }
22348 _ACEOF
22349 rm -f conftest.$ac_objext
22350 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22351 (eval $ac_compile) 2>conftest.er1
22352 ac_status=$?
22353 grep -v '^ *+' conftest.er1 >conftest.err
22354 rm -f conftest.er1
22355 cat conftest.err >&5
22356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22357 (exit $ac_status); } &&
22358 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22360 (eval $ac_try) 2>&5
22361 ac_status=$?
22362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22363 (exit $ac_status); }; } &&
22364 { ac_try='test -s conftest.$ac_objext'
22365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22366 (eval $ac_try) 2>&5
22367 ac_status=$?
22368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22369 (exit $ac_status); }; }; then
22370 glibcxx_cv_func_hypotl_use=yes
22371 else
22372 echo "$as_me: failed program was:" >&5
22373 sed 's/^/| /' conftest.$ac_ext >&5
22374
22375 glibcxx_cv_func_hypotl_use=no
22376 fi
22377 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22378 ac_ext=c
22379 ac_cpp='$CPP $CPPFLAGS'
22380 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22381 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22382 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22383
22384
22385 fi
22386
22387 fi
22388 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotl_use" >&5
22389 echo "${ECHO_T}$glibcxx_cv_func_hypotl_use" >&6
22390
22391 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
22392
22393 for ac_func in hypotl
22394 do
22395 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22396 echo "$as_me:$LINENO: checking for $ac_func" >&5
22397 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22398 if eval "test \"\${$as_ac_var+set}\" = set"; then
22399 echo $ECHO_N "(cached) $ECHO_C" >&6
22400 else
22401 if test x$gcc_no_link = xyes; then
22402 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22403 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22404 { (exit 1); exit 1; }; }
22405 fi
22406 cat >conftest.$ac_ext <<_ACEOF
22407 /* confdefs.h. */
22408 _ACEOF
22409 cat confdefs.h >>conftest.$ac_ext
22410 cat >>conftest.$ac_ext <<_ACEOF
22411 /* end confdefs.h. */
22412 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22413 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22414 #define $ac_func innocuous_$ac_func
22415
22416 /* System header to define __stub macros and hopefully few prototypes,
22417 which can conflict with char $ac_func (); below.
22418 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22419 <limits.h> exists even on freestanding compilers. */
22420
22421 #ifdef __STDC__
22422 # include <limits.h>
22423 #else
22424 # include <assert.h>
22425 #endif
22426
22427 #undef $ac_func
22428
22429 /* Override any gcc2 internal prototype to avoid an error. */
22430 #ifdef __cplusplus
22431 extern "C"
22432 {
22433 #endif
22434 /* We use char because int might match the return type of a gcc2
22435 builtin and then its argument prototype would still apply. */
22436 char $ac_func ();
22437 /* The GNU C library defines this for functions which it implements
22438 to always fail with ENOSYS. Some functions are actually named
22439 something starting with __ and the normal name is an alias. */
22440 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22441 choke me
22442 #else
22443 char (*f) () = $ac_func;
22444 #endif
22445 #ifdef __cplusplus
22446 }
22447 #endif
22448
22449 int
22450 main ()
22451 {
22452 return f != $ac_func;
22453 ;
22454 return 0;
22455 }
22456 _ACEOF
22457 rm -f conftest.$ac_objext conftest$ac_exeext
22458 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22459 (eval $ac_link) 2>conftest.er1
22460 ac_status=$?
22461 grep -v '^ *+' conftest.er1 >conftest.err
22462 rm -f conftest.er1
22463 cat conftest.err >&5
22464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22465 (exit $ac_status); } &&
22466 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22468 (eval $ac_try) 2>&5
22469 ac_status=$?
22470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22471 (exit $ac_status); }; } &&
22472 { ac_try='test -s conftest$ac_exeext'
22473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22474 (eval $ac_try) 2>&5
22475 ac_status=$?
22476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22477 (exit $ac_status); }; }; then
22478 eval "$as_ac_var=yes"
22479 else
22480 echo "$as_me: failed program was:" >&5
22481 sed 's/^/| /' conftest.$ac_ext >&5
22482
22483 eval "$as_ac_var=no"
22484 fi
22485 rm -f conftest.err conftest.$ac_objext \
22486 conftest$ac_exeext conftest.$ac_ext
22487 fi
22488 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22489 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22490 if test `eval echo '${'$as_ac_var'}'` = yes; then
22491 cat >>confdefs.h <<_ACEOF
22492 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22493 _ACEOF
22494
22495 fi
22496 done
22497
22498 else
22499
22500 echo "$as_me:$LINENO: checking for _hypotl declaration" >&5
22501 echo $ECHO_N "checking for _hypotl declaration... $ECHO_C" >&6
22502 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
22503 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then
22504 echo $ECHO_N "(cached) $ECHO_C" >&6
22505 else
22506
22507
22508
22509 ac_ext=cc
22510 ac_cpp='$CXXCPP $CPPFLAGS'
22511 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22512 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22513 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22514
22515 cat >conftest.$ac_ext <<_ACEOF
22516 /* confdefs.h. */
22517 _ACEOF
22518 cat confdefs.h >>conftest.$ac_ext
22519 cat >>conftest.$ac_ext <<_ACEOF
22520 /* end confdefs.h. */
22521 #include <math.h>
22522 int
22523 main ()
22524 {
22525 _hypotl(0, 0);
22526 ;
22527 return 0;
22528 }
22529 _ACEOF
22530 rm -f conftest.$ac_objext
22531 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22532 (eval $ac_compile) 2>conftest.er1
22533 ac_status=$?
22534 grep -v '^ *+' conftest.er1 >conftest.err
22535 rm -f conftest.er1
22536 cat conftest.err >&5
22537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22538 (exit $ac_status); } &&
22539 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22541 (eval $ac_try) 2>&5
22542 ac_status=$?
22543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22544 (exit $ac_status); }; } &&
22545 { ac_try='test -s conftest.$ac_objext'
22546 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22547 (eval $ac_try) 2>&5
22548 ac_status=$?
22549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22550 (exit $ac_status); }; }; then
22551 glibcxx_cv_func__hypotl_use=yes
22552 else
22553 echo "$as_me: failed program was:" >&5
22554 sed 's/^/| /' conftest.$ac_ext >&5
22555
22556 glibcxx_cv_func__hypotl_use=no
22557 fi
22558 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22559 ac_ext=c
22560 ac_cpp='$CPP $CPPFLAGS'
22561 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22562 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22563 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22564
22565
22566 fi
22567
22568 fi
22569 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotl_use" >&5
22570 echo "${ECHO_T}$glibcxx_cv_func__hypotl_use" >&6
22571
22572 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
22573
22574 for ac_func in _hypotl
22575 do
22576 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22577 echo "$as_me:$LINENO: checking for $ac_func" >&5
22578 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22579 if eval "test \"\${$as_ac_var+set}\" = set"; then
22580 echo $ECHO_N "(cached) $ECHO_C" >&6
22581 else
22582 if test x$gcc_no_link = xyes; then
22583 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22584 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22585 { (exit 1); exit 1; }; }
22586 fi
22587 cat >conftest.$ac_ext <<_ACEOF
22588 /* confdefs.h. */
22589 _ACEOF
22590 cat confdefs.h >>conftest.$ac_ext
22591 cat >>conftest.$ac_ext <<_ACEOF
22592 /* end confdefs.h. */
22593 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22594 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22595 #define $ac_func innocuous_$ac_func
22596
22597 /* System header to define __stub macros and hopefully few prototypes,
22598 which can conflict with char $ac_func (); below.
22599 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22600 <limits.h> exists even on freestanding compilers. */
22601
22602 #ifdef __STDC__
22603 # include <limits.h>
22604 #else
22605 # include <assert.h>
22606 #endif
22607
22608 #undef $ac_func
22609
22610 /* Override any gcc2 internal prototype to avoid an error. */
22611 #ifdef __cplusplus
22612 extern "C"
22613 {
22614 #endif
22615 /* We use char because int might match the return type of a gcc2
22616 builtin and then its argument prototype would still apply. */
22617 char $ac_func ();
22618 /* The GNU C library defines this for functions which it implements
22619 to always fail with ENOSYS. Some functions are actually named
22620 something starting with __ and the normal name is an alias. */
22621 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22622 choke me
22623 #else
22624 char (*f) () = $ac_func;
22625 #endif
22626 #ifdef __cplusplus
22627 }
22628 #endif
22629
22630 int
22631 main ()
22632 {
22633 return f != $ac_func;
22634 ;
22635 return 0;
22636 }
22637 _ACEOF
22638 rm -f conftest.$ac_objext conftest$ac_exeext
22639 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22640 (eval $ac_link) 2>conftest.er1
22641 ac_status=$?
22642 grep -v '^ *+' conftest.er1 >conftest.err
22643 rm -f conftest.er1
22644 cat conftest.err >&5
22645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22646 (exit $ac_status); } &&
22647 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22648 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22649 (eval $ac_try) 2>&5
22650 ac_status=$?
22651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22652 (exit $ac_status); }; } &&
22653 { ac_try='test -s conftest$ac_exeext'
22654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22655 (eval $ac_try) 2>&5
22656 ac_status=$?
22657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22658 (exit $ac_status); }; }; then
22659 eval "$as_ac_var=yes"
22660 else
22661 echo "$as_me: failed program was:" >&5
22662 sed 's/^/| /' conftest.$ac_ext >&5
22663
22664 eval "$as_ac_var=no"
22665 fi
22666 rm -f conftest.err conftest.$ac_objext \
22667 conftest$ac_exeext conftest.$ac_ext
22668 fi
22669 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22670 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22671 if test `eval echo '${'$as_ac_var'}'` = yes; then
22672 cat >>confdefs.h <<_ACEOF
22673 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22674 _ACEOF
22675
22676 fi
22677 done
22678
22679 fi
22680 fi
22681
22682
22683
22684
22685
22686
22687 echo "$as_me:$LINENO: checking for ldexpl declaration" >&5
22688 echo $ECHO_N "checking for ldexpl declaration... $ECHO_C" >&6
22689 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
22690 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then
22691 echo $ECHO_N "(cached) $ECHO_C" >&6
22692 else
22693
22694
22695
22696 ac_ext=cc
22697 ac_cpp='$CXXCPP $CPPFLAGS'
22698 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22699 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22700 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22701
22702 cat >conftest.$ac_ext <<_ACEOF
22703 /* confdefs.h. */
22704 _ACEOF
22705 cat confdefs.h >>conftest.$ac_ext
22706 cat >>conftest.$ac_ext <<_ACEOF
22707 /* end confdefs.h. */
22708 #include <math.h>
22709 int
22710 main ()
22711 {
22712 ldexpl(0, 0);
22713 ;
22714 return 0;
22715 }
22716 _ACEOF
22717 rm -f conftest.$ac_objext
22718 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22719 (eval $ac_compile) 2>conftest.er1
22720 ac_status=$?
22721 grep -v '^ *+' conftest.er1 >conftest.err
22722 rm -f conftest.er1
22723 cat conftest.err >&5
22724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22725 (exit $ac_status); } &&
22726 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22728 (eval $ac_try) 2>&5
22729 ac_status=$?
22730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22731 (exit $ac_status); }; } &&
22732 { ac_try='test -s conftest.$ac_objext'
22733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22734 (eval $ac_try) 2>&5
22735 ac_status=$?
22736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22737 (exit $ac_status); }; }; then
22738 glibcxx_cv_func_ldexpl_use=yes
22739 else
22740 echo "$as_me: failed program was:" >&5
22741 sed 's/^/| /' conftest.$ac_ext >&5
22742
22743 glibcxx_cv_func_ldexpl_use=no
22744 fi
22745 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22746 ac_ext=c
22747 ac_cpp='$CPP $CPPFLAGS'
22748 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22749 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22750 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22751
22752
22753 fi
22754
22755 fi
22756 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpl_use" >&5
22757 echo "${ECHO_T}$glibcxx_cv_func_ldexpl_use" >&6
22758
22759 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
22760
22761 for ac_func in ldexpl
22762 do
22763 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22764 echo "$as_me:$LINENO: checking for $ac_func" >&5
22765 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22766 if eval "test \"\${$as_ac_var+set}\" = set"; then
22767 echo $ECHO_N "(cached) $ECHO_C" >&6
22768 else
22769 if test x$gcc_no_link = xyes; then
22770 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22771 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22772 { (exit 1); exit 1; }; }
22773 fi
22774 cat >conftest.$ac_ext <<_ACEOF
22775 /* confdefs.h. */
22776 _ACEOF
22777 cat confdefs.h >>conftest.$ac_ext
22778 cat >>conftest.$ac_ext <<_ACEOF
22779 /* end confdefs.h. */
22780 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22781 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22782 #define $ac_func innocuous_$ac_func
22783
22784 /* System header to define __stub macros and hopefully few prototypes,
22785 which can conflict with char $ac_func (); below.
22786 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22787 <limits.h> exists even on freestanding compilers. */
22788
22789 #ifdef __STDC__
22790 # include <limits.h>
22791 #else
22792 # include <assert.h>
22793 #endif
22794
22795 #undef $ac_func
22796
22797 /* Override any gcc2 internal prototype to avoid an error. */
22798 #ifdef __cplusplus
22799 extern "C"
22800 {
22801 #endif
22802 /* We use char because int might match the return type of a gcc2
22803 builtin and then its argument prototype would still apply. */
22804 char $ac_func ();
22805 /* The GNU C library defines this for functions which it implements
22806 to always fail with ENOSYS. Some functions are actually named
22807 something starting with __ and the normal name is an alias. */
22808 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22809 choke me
22810 #else
22811 char (*f) () = $ac_func;
22812 #endif
22813 #ifdef __cplusplus
22814 }
22815 #endif
22816
22817 int
22818 main ()
22819 {
22820 return f != $ac_func;
22821 ;
22822 return 0;
22823 }
22824 _ACEOF
22825 rm -f conftest.$ac_objext conftest$ac_exeext
22826 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22827 (eval $ac_link) 2>conftest.er1
22828 ac_status=$?
22829 grep -v '^ *+' conftest.er1 >conftest.err
22830 rm -f conftest.er1
22831 cat conftest.err >&5
22832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22833 (exit $ac_status); } &&
22834 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22836 (eval $ac_try) 2>&5
22837 ac_status=$?
22838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22839 (exit $ac_status); }; } &&
22840 { ac_try='test -s conftest$ac_exeext'
22841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22842 (eval $ac_try) 2>&5
22843 ac_status=$?
22844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22845 (exit $ac_status); }; }; then
22846 eval "$as_ac_var=yes"
22847 else
22848 echo "$as_me: failed program was:" >&5
22849 sed 's/^/| /' conftest.$ac_ext >&5
22850
22851 eval "$as_ac_var=no"
22852 fi
22853 rm -f conftest.err conftest.$ac_objext \
22854 conftest$ac_exeext conftest.$ac_ext
22855 fi
22856 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22857 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22858 if test `eval echo '${'$as_ac_var'}'` = yes; then
22859 cat >>confdefs.h <<_ACEOF
22860 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22861 _ACEOF
22862
22863 fi
22864 done
22865
22866 else
22867
22868 echo "$as_me:$LINENO: checking for _ldexpl declaration" >&5
22869 echo $ECHO_N "checking for _ldexpl declaration... $ECHO_C" >&6
22870 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
22871 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then
22872 echo $ECHO_N "(cached) $ECHO_C" >&6
22873 else
22874
22875
22876
22877 ac_ext=cc
22878 ac_cpp='$CXXCPP $CPPFLAGS'
22879 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22880 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22881 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22882
22883 cat >conftest.$ac_ext <<_ACEOF
22884 /* confdefs.h. */
22885 _ACEOF
22886 cat confdefs.h >>conftest.$ac_ext
22887 cat >>conftest.$ac_ext <<_ACEOF
22888 /* end confdefs.h. */
22889 #include <math.h>
22890 int
22891 main ()
22892 {
22893 _ldexpl(0, 0);
22894 ;
22895 return 0;
22896 }
22897 _ACEOF
22898 rm -f conftest.$ac_objext
22899 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22900 (eval $ac_compile) 2>conftest.er1
22901 ac_status=$?
22902 grep -v '^ *+' conftest.er1 >conftest.err
22903 rm -f conftest.er1
22904 cat conftest.err >&5
22905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22906 (exit $ac_status); } &&
22907 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22909 (eval $ac_try) 2>&5
22910 ac_status=$?
22911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22912 (exit $ac_status); }; } &&
22913 { ac_try='test -s conftest.$ac_objext'
22914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22915 (eval $ac_try) 2>&5
22916 ac_status=$?
22917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22918 (exit $ac_status); }; }; then
22919 glibcxx_cv_func__ldexpl_use=yes
22920 else
22921 echo "$as_me: failed program was:" >&5
22922 sed 's/^/| /' conftest.$ac_ext >&5
22923
22924 glibcxx_cv_func__ldexpl_use=no
22925 fi
22926 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22927 ac_ext=c
22928 ac_cpp='$CPP $CPPFLAGS'
22929 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22930 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22931 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22932
22933
22934 fi
22935
22936 fi
22937 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpl_use" >&5
22938 echo "${ECHO_T}$glibcxx_cv_func__ldexpl_use" >&6
22939
22940 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
22941
22942 for ac_func in _ldexpl
22943 do
22944 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22945 echo "$as_me:$LINENO: checking for $ac_func" >&5
22946 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22947 if eval "test \"\${$as_ac_var+set}\" = set"; then
22948 echo $ECHO_N "(cached) $ECHO_C" >&6
22949 else
22950 if test x$gcc_no_link = xyes; then
22951 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22952 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22953 { (exit 1); exit 1; }; }
22954 fi
22955 cat >conftest.$ac_ext <<_ACEOF
22956 /* confdefs.h. */
22957 _ACEOF
22958 cat confdefs.h >>conftest.$ac_ext
22959 cat >>conftest.$ac_ext <<_ACEOF
22960 /* end confdefs.h. */
22961 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22962 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22963 #define $ac_func innocuous_$ac_func
22964
22965 /* System header to define __stub macros and hopefully few prototypes,
22966 which can conflict with char $ac_func (); below.
22967 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22968 <limits.h> exists even on freestanding compilers. */
22969
22970 #ifdef __STDC__
22971 # include <limits.h>
22972 #else
22973 # include <assert.h>
22974 #endif
22975
22976 #undef $ac_func
22977
22978 /* Override any gcc2 internal prototype to avoid an error. */
22979 #ifdef __cplusplus
22980 extern "C"
22981 {
22982 #endif
22983 /* We use char because int might match the return type of a gcc2
22984 builtin and then its argument prototype would still apply. */
22985 char $ac_func ();
22986 /* The GNU C library defines this for functions which it implements
22987 to always fail with ENOSYS. Some functions are actually named
22988 something starting with __ and the normal name is an alias. */
22989 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22990 choke me
22991 #else
22992 char (*f) () = $ac_func;
22993 #endif
22994 #ifdef __cplusplus
22995 }
22996 #endif
22997
22998 int
22999 main ()
23000 {
23001 return f != $ac_func;
23002 ;
23003 return 0;
23004 }
23005 _ACEOF
23006 rm -f conftest.$ac_objext conftest$ac_exeext
23007 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23008 (eval $ac_link) 2>conftest.er1
23009 ac_status=$?
23010 grep -v '^ *+' conftest.er1 >conftest.err
23011 rm -f conftest.er1
23012 cat conftest.err >&5
23013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23014 (exit $ac_status); } &&
23015 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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); }; } &&
23021 { ac_try='test -s conftest$ac_exeext'
23022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23023 (eval $ac_try) 2>&5
23024 ac_status=$?
23025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23026 (exit $ac_status); }; }; then
23027 eval "$as_ac_var=yes"
23028 else
23029 echo "$as_me: failed program was:" >&5
23030 sed 's/^/| /' conftest.$ac_ext >&5
23031
23032 eval "$as_ac_var=no"
23033 fi
23034 rm -f conftest.err conftest.$ac_objext \
23035 conftest$ac_exeext conftest.$ac_ext
23036 fi
23037 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23038 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23039 if test `eval echo '${'$as_ac_var'}'` = yes; then
23040 cat >>confdefs.h <<_ACEOF
23041 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23042 _ACEOF
23043
23044 fi
23045 done
23046
23047 fi
23048 fi
23049
23050
23051
23052
23053
23054
23055 echo "$as_me:$LINENO: checking for logl declaration" >&5
23056 echo $ECHO_N "checking for logl declaration... $ECHO_C" >&6
23057 if test x${glibcxx_cv_func_logl_use+set} != xset; then
23058 if test "${glibcxx_cv_func_logl_use+set}" = set; then
23059 echo $ECHO_N "(cached) $ECHO_C" >&6
23060 else
23061
23062
23063
23064 ac_ext=cc
23065 ac_cpp='$CXXCPP $CPPFLAGS'
23066 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23067 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23068 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23069
23070 cat >conftest.$ac_ext <<_ACEOF
23071 /* confdefs.h. */
23072 _ACEOF
23073 cat confdefs.h >>conftest.$ac_ext
23074 cat >>conftest.$ac_ext <<_ACEOF
23075 /* end confdefs.h. */
23076 #include <math.h>
23077 #ifdef HAVE_IEEEFP_H
23078 #include <ieeefp.h>
23079 #endif
23080
23081 int
23082 main ()
23083 {
23084 logl(0);
23085 ;
23086 return 0;
23087 }
23088 _ACEOF
23089 rm -f conftest.$ac_objext
23090 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23091 (eval $ac_compile) 2>conftest.er1
23092 ac_status=$?
23093 grep -v '^ *+' conftest.er1 >conftest.err
23094 rm -f conftest.er1
23095 cat conftest.err >&5
23096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23097 (exit $ac_status); } &&
23098 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23100 (eval $ac_try) 2>&5
23101 ac_status=$?
23102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23103 (exit $ac_status); }; } &&
23104 { ac_try='test -s conftest.$ac_objext'
23105 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23106 (eval $ac_try) 2>&5
23107 ac_status=$?
23108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23109 (exit $ac_status); }; }; then
23110 glibcxx_cv_func_logl_use=yes
23111 else
23112 echo "$as_me: failed program was:" >&5
23113 sed 's/^/| /' conftest.$ac_ext >&5
23114
23115 glibcxx_cv_func_logl_use=no
23116 fi
23117 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23118 ac_ext=c
23119 ac_cpp='$CPP $CPPFLAGS'
23120 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23121 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23122 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23123
23124
23125 fi
23126
23127 fi
23128 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logl_use" >&5
23129 echo "${ECHO_T}$glibcxx_cv_func_logl_use" >&6
23130
23131 if test x$glibcxx_cv_func_logl_use = x"yes"; then
23132
23133 for ac_func in logl
23134 do
23135 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23136 echo "$as_me:$LINENO: checking for $ac_func" >&5
23137 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23138 if eval "test \"\${$as_ac_var+set}\" = set"; then
23139 echo $ECHO_N "(cached) $ECHO_C" >&6
23140 else
23141 if test x$gcc_no_link = xyes; then
23142 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23143 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23144 { (exit 1); exit 1; }; }
23145 fi
23146 cat >conftest.$ac_ext <<_ACEOF
23147 /* confdefs.h. */
23148 _ACEOF
23149 cat confdefs.h >>conftest.$ac_ext
23150 cat >>conftest.$ac_ext <<_ACEOF
23151 /* end confdefs.h. */
23152 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23153 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23154 #define $ac_func innocuous_$ac_func
23155
23156 /* System header to define __stub macros and hopefully few prototypes,
23157 which can conflict with char $ac_func (); below.
23158 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23159 <limits.h> exists even on freestanding compilers. */
23160
23161 #ifdef __STDC__
23162 # include <limits.h>
23163 #else
23164 # include <assert.h>
23165 #endif
23166
23167 #undef $ac_func
23168
23169 /* Override any gcc2 internal prototype to avoid an error. */
23170 #ifdef __cplusplus
23171 extern "C"
23172 {
23173 #endif
23174 /* We use char because int might match the return type of a gcc2
23175 builtin and then its argument prototype would still apply. */
23176 char $ac_func ();
23177 /* The GNU C library defines this for functions which it implements
23178 to always fail with ENOSYS. Some functions are actually named
23179 something starting with __ and the normal name is an alias. */
23180 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23181 choke me
23182 #else
23183 char (*f) () = $ac_func;
23184 #endif
23185 #ifdef __cplusplus
23186 }
23187 #endif
23188
23189 int
23190 main ()
23191 {
23192 return f != $ac_func;
23193 ;
23194 return 0;
23195 }
23196 _ACEOF
23197 rm -f conftest.$ac_objext conftest$ac_exeext
23198 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23199 (eval $ac_link) 2>conftest.er1
23200 ac_status=$?
23201 grep -v '^ *+' conftest.er1 >conftest.err
23202 rm -f conftest.er1
23203 cat conftest.err >&5
23204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23205 (exit $ac_status); } &&
23206 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23208 (eval $ac_try) 2>&5
23209 ac_status=$?
23210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23211 (exit $ac_status); }; } &&
23212 { ac_try='test -s conftest$ac_exeext'
23213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23214 (eval $ac_try) 2>&5
23215 ac_status=$?
23216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23217 (exit $ac_status); }; }; then
23218 eval "$as_ac_var=yes"
23219 else
23220 echo "$as_me: failed program was:" >&5
23221 sed 's/^/| /' conftest.$ac_ext >&5
23222
23223 eval "$as_ac_var=no"
23224 fi
23225 rm -f conftest.err conftest.$ac_objext \
23226 conftest$ac_exeext conftest.$ac_ext
23227 fi
23228 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23229 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23230 if test `eval echo '${'$as_ac_var'}'` = yes; then
23231 cat >>confdefs.h <<_ACEOF
23232 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23233 _ACEOF
23234
23235 fi
23236 done
23237
23238 else
23239
23240 echo "$as_me:$LINENO: checking for _logl declaration" >&5
23241 echo $ECHO_N "checking for _logl declaration... $ECHO_C" >&6
23242 if test x${glibcxx_cv_func__logl_use+set} != xset; then
23243 if test "${glibcxx_cv_func__logl_use+set}" = set; then
23244 echo $ECHO_N "(cached) $ECHO_C" >&6
23245 else
23246
23247
23248
23249 ac_ext=cc
23250 ac_cpp='$CXXCPP $CPPFLAGS'
23251 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23252 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23253 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23254
23255 cat >conftest.$ac_ext <<_ACEOF
23256 /* confdefs.h. */
23257 _ACEOF
23258 cat confdefs.h >>conftest.$ac_ext
23259 cat >>conftest.$ac_ext <<_ACEOF
23260 /* end confdefs.h. */
23261 #include <math.h>
23262 #ifdef HAVE_IEEEFP_H
23263 #include <ieeefp.h>
23264 #endif
23265
23266 int
23267 main ()
23268 {
23269 _logl(0);
23270 ;
23271 return 0;
23272 }
23273 _ACEOF
23274 rm -f conftest.$ac_objext
23275 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23276 (eval $ac_compile) 2>conftest.er1
23277 ac_status=$?
23278 grep -v '^ *+' conftest.er1 >conftest.err
23279 rm -f conftest.er1
23280 cat conftest.err >&5
23281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23282 (exit $ac_status); } &&
23283 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23285 (eval $ac_try) 2>&5
23286 ac_status=$?
23287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23288 (exit $ac_status); }; } &&
23289 { ac_try='test -s conftest.$ac_objext'
23290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23291 (eval $ac_try) 2>&5
23292 ac_status=$?
23293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23294 (exit $ac_status); }; }; then
23295 glibcxx_cv_func__logl_use=yes
23296 else
23297 echo "$as_me: failed program was:" >&5
23298 sed 's/^/| /' conftest.$ac_ext >&5
23299
23300 glibcxx_cv_func__logl_use=no
23301 fi
23302 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23303 ac_ext=c
23304 ac_cpp='$CPP $CPPFLAGS'
23305 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23306 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23307 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23308
23309
23310 fi
23311
23312 fi
23313 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logl_use" >&5
23314 echo "${ECHO_T}$glibcxx_cv_func__logl_use" >&6
23315
23316 if test x$glibcxx_cv_func__logl_use = x"yes"; then
23317
23318 for ac_func in _logl
23319 do
23320 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23321 echo "$as_me:$LINENO: checking for $ac_func" >&5
23322 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23323 if eval "test \"\${$as_ac_var+set}\" = set"; then
23324 echo $ECHO_N "(cached) $ECHO_C" >&6
23325 else
23326 if test x$gcc_no_link = xyes; then
23327 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23328 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23329 { (exit 1); exit 1; }; }
23330 fi
23331 cat >conftest.$ac_ext <<_ACEOF
23332 /* confdefs.h. */
23333 _ACEOF
23334 cat confdefs.h >>conftest.$ac_ext
23335 cat >>conftest.$ac_ext <<_ACEOF
23336 /* end confdefs.h. */
23337 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23338 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23339 #define $ac_func innocuous_$ac_func
23340
23341 /* System header to define __stub macros and hopefully few prototypes,
23342 which can conflict with char $ac_func (); below.
23343 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23344 <limits.h> exists even on freestanding compilers. */
23345
23346 #ifdef __STDC__
23347 # include <limits.h>
23348 #else
23349 # include <assert.h>
23350 #endif
23351
23352 #undef $ac_func
23353
23354 /* Override any gcc2 internal prototype to avoid an error. */
23355 #ifdef __cplusplus
23356 extern "C"
23357 {
23358 #endif
23359 /* We use char because int might match the return type of a gcc2
23360 builtin and then its argument prototype would still apply. */
23361 char $ac_func ();
23362 /* The GNU C library defines this for functions which it implements
23363 to always fail with ENOSYS. Some functions are actually named
23364 something starting with __ and the normal name is an alias. */
23365 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23366 choke me
23367 #else
23368 char (*f) () = $ac_func;
23369 #endif
23370 #ifdef __cplusplus
23371 }
23372 #endif
23373
23374 int
23375 main ()
23376 {
23377 return f != $ac_func;
23378 ;
23379 return 0;
23380 }
23381 _ACEOF
23382 rm -f conftest.$ac_objext conftest$ac_exeext
23383 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23384 (eval $ac_link) 2>conftest.er1
23385 ac_status=$?
23386 grep -v '^ *+' conftest.er1 >conftest.err
23387 rm -f conftest.er1
23388 cat conftest.err >&5
23389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23390 (exit $ac_status); } &&
23391 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23393 (eval $ac_try) 2>&5
23394 ac_status=$?
23395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23396 (exit $ac_status); }; } &&
23397 { ac_try='test -s conftest$ac_exeext'
23398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23399 (eval $ac_try) 2>&5
23400 ac_status=$?
23401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23402 (exit $ac_status); }; }; then
23403 eval "$as_ac_var=yes"
23404 else
23405 echo "$as_me: failed program was:" >&5
23406 sed 's/^/| /' conftest.$ac_ext >&5
23407
23408 eval "$as_ac_var=no"
23409 fi
23410 rm -f conftest.err conftest.$ac_objext \
23411 conftest$ac_exeext conftest.$ac_ext
23412 fi
23413 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23414 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23415 if test `eval echo '${'$as_ac_var'}'` = yes; then
23416 cat >>confdefs.h <<_ACEOF
23417 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23418 _ACEOF
23419
23420 fi
23421 done
23422
23423 fi
23424 fi
23425
23426
23427
23428
23429
23430
23431 echo "$as_me:$LINENO: checking for log10l declaration" >&5
23432 echo $ECHO_N "checking for log10l declaration... $ECHO_C" >&6
23433 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
23434 if test "${glibcxx_cv_func_log10l_use+set}" = set; then
23435 echo $ECHO_N "(cached) $ECHO_C" >&6
23436 else
23437
23438
23439
23440 ac_ext=cc
23441 ac_cpp='$CXXCPP $CPPFLAGS'
23442 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23443 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23444 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23445
23446 cat >conftest.$ac_ext <<_ACEOF
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>
23453 #ifdef HAVE_IEEEFP_H
23454 #include <ieeefp.h>
23455 #endif
23456
23457 int
23458 main ()
23459 {
23460 log10l(0);
23461 ;
23462 return 0;
23463 }
23464 _ACEOF
23465 rm -f conftest.$ac_objext
23466 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23467 (eval $ac_compile) 2>conftest.er1
23468 ac_status=$?
23469 grep -v '^ *+' conftest.er1 >conftest.err
23470 rm -f conftest.er1
23471 cat conftest.err >&5
23472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23473 (exit $ac_status); } &&
23474 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23476 (eval $ac_try) 2>&5
23477 ac_status=$?
23478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23479 (exit $ac_status); }; } &&
23480 { ac_try='test -s conftest.$ac_objext'
23481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23482 (eval $ac_try) 2>&5
23483 ac_status=$?
23484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23485 (exit $ac_status); }; }; then
23486 glibcxx_cv_func_log10l_use=yes
23487 else
23488 echo "$as_me: failed program was:" >&5
23489 sed 's/^/| /' conftest.$ac_ext >&5
23490
23491 glibcxx_cv_func_log10l_use=no
23492 fi
23493 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23494 ac_ext=c
23495 ac_cpp='$CPP $CPPFLAGS'
23496 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23497 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23498 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23499
23500
23501 fi
23502
23503 fi
23504 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10l_use" >&5
23505 echo "${ECHO_T}$glibcxx_cv_func_log10l_use" >&6
23506
23507 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
23508
23509 for ac_func in log10l
23510 do
23511 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23512 echo "$as_me:$LINENO: checking for $ac_func" >&5
23513 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23514 if eval "test \"\${$as_ac_var+set}\" = set"; then
23515 echo $ECHO_N "(cached) $ECHO_C" >&6
23516 else
23517 if test x$gcc_no_link = xyes; then
23518 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23519 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23520 { (exit 1); exit 1; }; }
23521 fi
23522 cat >conftest.$ac_ext <<_ACEOF
23523 /* confdefs.h. */
23524 _ACEOF
23525 cat confdefs.h >>conftest.$ac_ext
23526 cat >>conftest.$ac_ext <<_ACEOF
23527 /* end confdefs.h. */
23528 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23529 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23530 #define $ac_func innocuous_$ac_func
23531
23532 /* System header to define __stub macros and hopefully few prototypes,
23533 which can conflict with char $ac_func (); below.
23534 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23535 <limits.h> exists even on freestanding compilers. */
23536
23537 #ifdef __STDC__
23538 # include <limits.h>
23539 #else
23540 # include <assert.h>
23541 #endif
23542
23543 #undef $ac_func
23544
23545 /* Override any gcc2 internal prototype to avoid an error. */
23546 #ifdef __cplusplus
23547 extern "C"
23548 {
23549 #endif
23550 /* We use char because int might match the return type of a gcc2
23551 builtin and then its argument prototype would still apply. */
23552 char $ac_func ();
23553 /* The GNU C library defines this for functions which it implements
23554 to always fail with ENOSYS. Some functions are actually named
23555 something starting with __ and the normal name is an alias. */
23556 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23557 choke me
23558 #else
23559 char (*f) () = $ac_func;
23560 #endif
23561 #ifdef __cplusplus
23562 }
23563 #endif
23564
23565 int
23566 main ()
23567 {
23568 return f != $ac_func;
23569 ;
23570 return 0;
23571 }
23572 _ACEOF
23573 rm -f conftest.$ac_objext conftest$ac_exeext
23574 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23575 (eval $ac_link) 2>conftest.er1
23576 ac_status=$?
23577 grep -v '^ *+' conftest.er1 >conftest.err
23578 rm -f conftest.er1
23579 cat conftest.err >&5
23580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23581 (exit $ac_status); } &&
23582 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23584 (eval $ac_try) 2>&5
23585 ac_status=$?
23586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23587 (exit $ac_status); }; } &&
23588 { ac_try='test -s conftest$ac_exeext'
23589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23590 (eval $ac_try) 2>&5
23591 ac_status=$?
23592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23593 (exit $ac_status); }; }; then
23594 eval "$as_ac_var=yes"
23595 else
23596 echo "$as_me: failed program was:" >&5
23597 sed 's/^/| /' conftest.$ac_ext >&5
23598
23599 eval "$as_ac_var=no"
23600 fi
23601 rm -f conftest.err conftest.$ac_objext \
23602 conftest$ac_exeext conftest.$ac_ext
23603 fi
23604 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23605 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23606 if test `eval echo '${'$as_ac_var'}'` = yes; then
23607 cat >>confdefs.h <<_ACEOF
23608 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23609 _ACEOF
23610
23611 fi
23612 done
23613
23614 else
23615
23616 echo "$as_me:$LINENO: checking for _log10l declaration" >&5
23617 echo $ECHO_N "checking for _log10l declaration... $ECHO_C" >&6
23618 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
23619 if test "${glibcxx_cv_func__log10l_use+set}" = set; then
23620 echo $ECHO_N "(cached) $ECHO_C" >&6
23621 else
23622
23623
23624
23625 ac_ext=cc
23626 ac_cpp='$CXXCPP $CPPFLAGS'
23627 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23628 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23629 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23630
23631 cat >conftest.$ac_ext <<_ACEOF
23632 /* confdefs.h. */
23633 _ACEOF
23634 cat confdefs.h >>conftest.$ac_ext
23635 cat >>conftest.$ac_ext <<_ACEOF
23636 /* end confdefs.h. */
23637 #include <math.h>
23638 #ifdef HAVE_IEEEFP_H
23639 #include <ieeefp.h>
23640 #endif
23641
23642 int
23643 main ()
23644 {
23645 _log10l(0);
23646 ;
23647 return 0;
23648 }
23649 _ACEOF
23650 rm -f conftest.$ac_objext
23651 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23652 (eval $ac_compile) 2>conftest.er1
23653 ac_status=$?
23654 grep -v '^ *+' conftest.er1 >conftest.err
23655 rm -f conftest.er1
23656 cat conftest.err >&5
23657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23658 (exit $ac_status); } &&
23659 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23661 (eval $ac_try) 2>&5
23662 ac_status=$?
23663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23664 (exit $ac_status); }; } &&
23665 { ac_try='test -s conftest.$ac_objext'
23666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23667 (eval $ac_try) 2>&5
23668 ac_status=$?
23669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23670 (exit $ac_status); }; }; then
23671 glibcxx_cv_func__log10l_use=yes
23672 else
23673 echo "$as_me: failed program was:" >&5
23674 sed 's/^/| /' conftest.$ac_ext >&5
23675
23676 glibcxx_cv_func__log10l_use=no
23677 fi
23678 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23679 ac_ext=c
23680 ac_cpp='$CPP $CPPFLAGS'
23681 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23682 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23683 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23684
23685
23686 fi
23687
23688 fi
23689 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10l_use" >&5
23690 echo "${ECHO_T}$glibcxx_cv_func__log10l_use" >&6
23691
23692 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
23693
23694 for ac_func in _log10l
23695 do
23696 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23697 echo "$as_me:$LINENO: checking for $ac_func" >&5
23698 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23699 if eval "test \"\${$as_ac_var+set}\" = set"; then
23700 echo $ECHO_N "(cached) $ECHO_C" >&6
23701 else
23702 if test x$gcc_no_link = xyes; then
23703 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23704 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23705 { (exit 1); exit 1; }; }
23706 fi
23707 cat >conftest.$ac_ext <<_ACEOF
23708 /* confdefs.h. */
23709 _ACEOF
23710 cat confdefs.h >>conftest.$ac_ext
23711 cat >>conftest.$ac_ext <<_ACEOF
23712 /* end confdefs.h. */
23713 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23714 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23715 #define $ac_func innocuous_$ac_func
23716
23717 /* System header to define __stub macros and hopefully few prototypes,
23718 which can conflict with char $ac_func (); below.
23719 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23720 <limits.h> exists even on freestanding compilers. */
23721
23722 #ifdef __STDC__
23723 # include <limits.h>
23724 #else
23725 # include <assert.h>
23726 #endif
23727
23728 #undef $ac_func
23729
23730 /* Override any gcc2 internal prototype to avoid an error. */
23731 #ifdef __cplusplus
23732 extern "C"
23733 {
23734 #endif
23735 /* We use char because int might match the return type of a gcc2
23736 builtin and then its argument prototype would still apply. */
23737 char $ac_func ();
23738 /* The GNU C library defines this for functions which it implements
23739 to always fail with ENOSYS. Some functions are actually named
23740 something starting with __ and the normal name is an alias. */
23741 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23742 choke me
23743 #else
23744 char (*f) () = $ac_func;
23745 #endif
23746 #ifdef __cplusplus
23747 }
23748 #endif
23749
23750 int
23751 main ()
23752 {
23753 return f != $ac_func;
23754 ;
23755 return 0;
23756 }
23757 _ACEOF
23758 rm -f conftest.$ac_objext conftest$ac_exeext
23759 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23760 (eval $ac_link) 2>conftest.er1
23761 ac_status=$?
23762 grep -v '^ *+' conftest.er1 >conftest.err
23763 rm -f conftest.er1
23764 cat conftest.err >&5
23765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23766 (exit $ac_status); } &&
23767 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23768 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23769 (eval $ac_try) 2>&5
23770 ac_status=$?
23771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23772 (exit $ac_status); }; } &&
23773 { ac_try='test -s conftest$ac_exeext'
23774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23775 (eval $ac_try) 2>&5
23776 ac_status=$?
23777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23778 (exit $ac_status); }; }; then
23779 eval "$as_ac_var=yes"
23780 else
23781 echo "$as_me: failed program was:" >&5
23782 sed 's/^/| /' conftest.$ac_ext >&5
23783
23784 eval "$as_ac_var=no"
23785 fi
23786 rm -f conftest.err conftest.$ac_objext \
23787 conftest$ac_exeext conftest.$ac_ext
23788 fi
23789 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23790 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23791 if test `eval echo '${'$as_ac_var'}'` = yes; then
23792 cat >>confdefs.h <<_ACEOF
23793 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23794 _ACEOF
23795
23796 fi
23797 done
23798
23799 fi
23800 fi
23801
23802
23803
23804
23805
23806
23807 echo "$as_me:$LINENO: checking for modfl declaration" >&5
23808 echo $ECHO_N "checking for modfl declaration... $ECHO_C" >&6
23809 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
23810 if test "${glibcxx_cv_func_modfl_use+set}" = set; then
23811 echo $ECHO_N "(cached) $ECHO_C" >&6
23812 else
23813
23814
23815
23816 ac_ext=cc
23817 ac_cpp='$CXXCPP $CPPFLAGS'
23818 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23819 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23820 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23821
23822 cat >conftest.$ac_ext <<_ACEOF
23823 /* confdefs.h. */
23824 _ACEOF
23825 cat confdefs.h >>conftest.$ac_ext
23826 cat >>conftest.$ac_ext <<_ACEOF
23827 /* end confdefs.h. */
23828 #include <math.h>
23829 int
23830 main ()
23831 {
23832 modfl(0, 0);
23833 ;
23834 return 0;
23835 }
23836 _ACEOF
23837 rm -f conftest.$ac_objext
23838 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23839 (eval $ac_compile) 2>conftest.er1
23840 ac_status=$?
23841 grep -v '^ *+' conftest.er1 >conftest.err
23842 rm -f conftest.er1
23843 cat conftest.err >&5
23844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23845 (exit $ac_status); } &&
23846 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23848 (eval $ac_try) 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_modfl_use=yes
23859 else
23860 echo "$as_me: failed program was:" >&5
23861 sed 's/^/| /' conftest.$ac_ext >&5
23862
23863 glibcxx_cv_func_modfl_use=no
23864 fi
23865 rm -f conftest.err 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
23871
23872
23873 fi
23874
23875 fi
23876 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modfl_use" >&5
23877 echo "${ECHO_T}$glibcxx_cv_func_modfl_use" >&6
23878
23879 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
23880
23881 for ac_func in modfl
23882 do
23883 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23884 echo "$as_me:$LINENO: checking for $ac_func" >&5
23885 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23886 if eval "test \"\${$as_ac_var+set}\" = set"; then
23887 echo $ECHO_N "(cached) $ECHO_C" >&6
23888 else
23889 if test x$gcc_no_link = xyes; then
23890 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23891 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23892 { (exit 1); exit 1; }; }
23893 fi
23894 cat >conftest.$ac_ext <<_ACEOF
23895 /* confdefs.h. */
23896 _ACEOF
23897 cat confdefs.h >>conftest.$ac_ext
23898 cat >>conftest.$ac_ext <<_ACEOF
23899 /* end confdefs.h. */
23900 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23901 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23902 #define $ac_func innocuous_$ac_func
23903
23904 /* System header to define __stub macros and hopefully few prototypes,
23905 which can conflict with char $ac_func (); below.
23906 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23907 <limits.h> exists even on freestanding compilers. */
23908
23909 #ifdef __STDC__
23910 # include <limits.h>
23911 #else
23912 # include <assert.h>
23913 #endif
23914
23915 #undef $ac_func
23916
23917 /* Override any gcc2 internal prototype to avoid an error. */
23918 #ifdef __cplusplus
23919 extern "C"
23920 {
23921 #endif
23922 /* We use char because int might match the return type of a gcc2
23923 builtin and then its argument prototype would still apply. */
23924 char $ac_func ();
23925 /* The GNU C library defines this for functions which it implements
23926 to always fail with ENOSYS. Some functions are actually named
23927 something starting with __ and the normal name is an alias. */
23928 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23929 choke me
23930 #else
23931 char (*f) () = $ac_func;
23932 #endif
23933 #ifdef __cplusplus
23934 }
23935 #endif
23936
23937 int
23938 main ()
23939 {
23940 return f != $ac_func;
23941 ;
23942 return 0;
23943 }
23944 _ACEOF
23945 rm -f conftest.$ac_objext conftest$ac_exeext
23946 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23947 (eval $ac_link) 2>conftest.er1
23948 ac_status=$?
23949 grep -v '^ *+' conftest.er1 >conftest.err
23950 rm -f conftest.er1
23951 cat conftest.err >&5
23952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23953 (exit $ac_status); } &&
23954 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23956 (eval $ac_try) 2>&5
23957 ac_status=$?
23958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23959 (exit $ac_status); }; } &&
23960 { ac_try='test -s conftest$ac_exeext'
23961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23962 (eval $ac_try) 2>&5
23963 ac_status=$?
23964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23965 (exit $ac_status); }; }; then
23966 eval "$as_ac_var=yes"
23967 else
23968 echo "$as_me: failed program was:" >&5
23969 sed 's/^/| /' conftest.$ac_ext >&5
23970
23971 eval "$as_ac_var=no"
23972 fi
23973 rm -f conftest.err conftest.$ac_objext \
23974 conftest$ac_exeext conftest.$ac_ext
23975 fi
23976 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23977 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23978 if test `eval echo '${'$as_ac_var'}'` = yes; then
23979 cat >>confdefs.h <<_ACEOF
23980 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23981 _ACEOF
23982
23983 fi
23984 done
23985
23986 else
23987
23988 echo "$as_me:$LINENO: checking for _modfl declaration" >&5
23989 echo $ECHO_N "checking for _modfl declaration... $ECHO_C" >&6
23990 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
23991 if test "${glibcxx_cv_func__modfl_use+set}" = set; then
23992 echo $ECHO_N "(cached) $ECHO_C" >&6
23993 else
23994
23995
23996
23997 ac_ext=cc
23998 ac_cpp='$CXXCPP $CPPFLAGS'
23999 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24000 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24001 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24002
24003 cat >conftest.$ac_ext <<_ACEOF
24004 /* confdefs.h. */
24005 _ACEOF
24006 cat confdefs.h >>conftest.$ac_ext
24007 cat >>conftest.$ac_ext <<_ACEOF
24008 /* end confdefs.h. */
24009 #include <math.h>
24010 int
24011 main ()
24012 {
24013 _modfl(0, 0);
24014 ;
24015 return 0;
24016 }
24017 _ACEOF
24018 rm -f conftest.$ac_objext
24019 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24020 (eval $ac_compile) 2>conftest.er1
24021 ac_status=$?
24022 grep -v '^ *+' conftest.er1 >conftest.err
24023 rm -f conftest.er1
24024 cat conftest.err >&5
24025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24026 (exit $ac_status); } &&
24027 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24029 (eval $ac_try) 2>&5
24030 ac_status=$?
24031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24032 (exit $ac_status); }; } &&
24033 { ac_try='test -s conftest.$ac_objext'
24034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24035 (eval $ac_try) 2>&5
24036 ac_status=$?
24037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24038 (exit $ac_status); }; }; then
24039 glibcxx_cv_func__modfl_use=yes
24040 else
24041 echo "$as_me: failed program was:" >&5
24042 sed 's/^/| /' conftest.$ac_ext >&5
24043
24044 glibcxx_cv_func__modfl_use=no
24045 fi
24046 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24047 ac_ext=c
24048 ac_cpp='$CPP $CPPFLAGS'
24049 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24050 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24051 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24052
24053
24054 fi
24055
24056 fi
24057 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modfl_use" >&5
24058 echo "${ECHO_T}$glibcxx_cv_func__modfl_use" >&6
24059
24060 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
24061
24062 for ac_func in _modfl
24063 do
24064 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24065 echo "$as_me:$LINENO: checking for $ac_func" >&5
24066 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24067 if eval "test \"\${$as_ac_var+set}\" = set"; then
24068 echo $ECHO_N "(cached) $ECHO_C" >&6
24069 else
24070 if test x$gcc_no_link = xyes; then
24071 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24072 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24073 { (exit 1); exit 1; }; }
24074 fi
24075 cat >conftest.$ac_ext <<_ACEOF
24076 /* confdefs.h. */
24077 _ACEOF
24078 cat confdefs.h >>conftest.$ac_ext
24079 cat >>conftest.$ac_ext <<_ACEOF
24080 /* end confdefs.h. */
24081 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24082 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24083 #define $ac_func innocuous_$ac_func
24084
24085 /* System header to define __stub macros and hopefully few prototypes,
24086 which can conflict with char $ac_func (); below.
24087 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24088 <limits.h> exists even on freestanding compilers. */
24089
24090 #ifdef __STDC__
24091 # include <limits.h>
24092 #else
24093 # include <assert.h>
24094 #endif
24095
24096 #undef $ac_func
24097
24098 /* Override any gcc2 internal prototype to avoid an error. */
24099 #ifdef __cplusplus
24100 extern "C"
24101 {
24102 #endif
24103 /* We use char because int might match the return type of a gcc2
24104 builtin and then its argument prototype would still apply. */
24105 char $ac_func ();
24106 /* The GNU C library defines this for functions which it implements
24107 to always fail with ENOSYS. Some functions are actually named
24108 something starting with __ and the normal name is an alias. */
24109 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24110 choke me
24111 #else
24112 char (*f) () = $ac_func;
24113 #endif
24114 #ifdef __cplusplus
24115 }
24116 #endif
24117
24118 int
24119 main ()
24120 {
24121 return f != $ac_func;
24122 ;
24123 return 0;
24124 }
24125 _ACEOF
24126 rm -f conftest.$ac_objext conftest$ac_exeext
24127 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24128 (eval $ac_link) 2>conftest.er1
24129 ac_status=$?
24130 grep -v '^ *+' conftest.er1 >conftest.err
24131 rm -f conftest.er1
24132 cat conftest.err >&5
24133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24134 (exit $ac_status); } &&
24135 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24136 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24137 (eval $ac_try) 2>&5
24138 ac_status=$?
24139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24140 (exit $ac_status); }; } &&
24141 { ac_try='test -s conftest$ac_exeext'
24142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24143 (eval $ac_try) 2>&5
24144 ac_status=$?
24145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24146 (exit $ac_status); }; }; then
24147 eval "$as_ac_var=yes"
24148 else
24149 echo "$as_me: failed program was:" >&5
24150 sed 's/^/| /' conftest.$ac_ext >&5
24151
24152 eval "$as_ac_var=no"
24153 fi
24154 rm -f conftest.err conftest.$ac_objext \
24155 conftest$ac_exeext conftest.$ac_ext
24156 fi
24157 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24158 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24159 if test `eval echo '${'$as_ac_var'}'` = yes; then
24160 cat >>confdefs.h <<_ACEOF
24161 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24162 _ACEOF
24163
24164 fi
24165 done
24166
24167 fi
24168 fi
24169
24170
24171
24172
24173
24174
24175 echo "$as_me:$LINENO: checking for powl declaration" >&5
24176 echo $ECHO_N "checking for powl declaration... $ECHO_C" >&6
24177 if test x${glibcxx_cv_func_powl_use+set} != xset; then
24178 if test "${glibcxx_cv_func_powl_use+set}" = set; then
24179 echo $ECHO_N "(cached) $ECHO_C" >&6
24180 else
24181
24182
24183
24184 ac_ext=cc
24185 ac_cpp='$CXXCPP $CPPFLAGS'
24186 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24187 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24188 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24189
24190 cat >conftest.$ac_ext <<_ACEOF
24191 /* confdefs.h. */
24192 _ACEOF
24193 cat confdefs.h >>conftest.$ac_ext
24194 cat >>conftest.$ac_ext <<_ACEOF
24195 /* end confdefs.h. */
24196 #include <math.h>
24197 int
24198 main ()
24199 {
24200 powl(0, 0);
24201 ;
24202 return 0;
24203 }
24204 _ACEOF
24205 rm -f conftest.$ac_objext
24206 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24207 (eval $ac_compile) 2>conftest.er1
24208 ac_status=$?
24209 grep -v '^ *+' conftest.er1 >conftest.err
24210 rm -f conftest.er1
24211 cat conftest.err >&5
24212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24213 (exit $ac_status); } &&
24214 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24215 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24216 (eval $ac_try) 2>&5
24217 ac_status=$?
24218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24219 (exit $ac_status); }; } &&
24220 { ac_try='test -s conftest.$ac_objext'
24221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24222 (eval $ac_try) 2>&5
24223 ac_status=$?
24224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24225 (exit $ac_status); }; }; then
24226 glibcxx_cv_func_powl_use=yes
24227 else
24228 echo "$as_me: failed program was:" >&5
24229 sed 's/^/| /' conftest.$ac_ext >&5
24230
24231 glibcxx_cv_func_powl_use=no
24232 fi
24233 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24234 ac_ext=c
24235 ac_cpp='$CPP $CPPFLAGS'
24236 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24237 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24238 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24239
24240
24241 fi
24242
24243 fi
24244 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powl_use" >&5
24245 echo "${ECHO_T}$glibcxx_cv_func_powl_use" >&6
24246
24247 if test x$glibcxx_cv_func_powl_use = x"yes"; then
24248
24249 for ac_func in powl
24250 do
24251 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24252 echo "$as_me:$LINENO: checking for $ac_func" >&5
24253 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24254 if eval "test \"\${$as_ac_var+set}\" = set"; then
24255 echo $ECHO_N "(cached) $ECHO_C" >&6
24256 else
24257 if test x$gcc_no_link = xyes; then
24258 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24259 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24260 { (exit 1); exit 1; }; }
24261 fi
24262 cat >conftest.$ac_ext <<_ACEOF
24263 /* confdefs.h. */
24264 _ACEOF
24265 cat confdefs.h >>conftest.$ac_ext
24266 cat >>conftest.$ac_ext <<_ACEOF
24267 /* end confdefs.h. */
24268 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24269 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24270 #define $ac_func innocuous_$ac_func
24271
24272 /* System header to define __stub macros and hopefully few prototypes,
24273 which can conflict with char $ac_func (); below.
24274 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24275 <limits.h> exists even on freestanding compilers. */
24276
24277 #ifdef __STDC__
24278 # include <limits.h>
24279 #else
24280 # include <assert.h>
24281 #endif
24282
24283 #undef $ac_func
24284
24285 /* Override any gcc2 internal prototype to avoid an error. */
24286 #ifdef __cplusplus
24287 extern "C"
24288 {
24289 #endif
24290 /* We use char because int might match the return type of a gcc2
24291 builtin and then its argument prototype would still apply. */
24292 char $ac_func ();
24293 /* The GNU C library defines this for functions which it implements
24294 to always fail with ENOSYS. Some functions are actually named
24295 something starting with __ and the normal name is an alias. */
24296 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24297 choke me
24298 #else
24299 char (*f) () = $ac_func;
24300 #endif
24301 #ifdef __cplusplus
24302 }
24303 #endif
24304
24305 int
24306 main ()
24307 {
24308 return f != $ac_func;
24309 ;
24310 return 0;
24311 }
24312 _ACEOF
24313 rm -f conftest.$ac_objext conftest$ac_exeext
24314 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24315 (eval $ac_link) 2>conftest.er1
24316 ac_status=$?
24317 grep -v '^ *+' conftest.er1 >conftest.err
24318 rm -f conftest.er1
24319 cat conftest.err >&5
24320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24321 (exit $ac_status); } &&
24322 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24324 (eval $ac_try) 2>&5
24325 ac_status=$?
24326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24327 (exit $ac_status); }; } &&
24328 { ac_try='test -s conftest$ac_exeext'
24329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24330 (eval $ac_try) 2>&5
24331 ac_status=$?
24332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24333 (exit $ac_status); }; }; then
24334 eval "$as_ac_var=yes"
24335 else
24336 echo "$as_me: failed program was:" >&5
24337 sed 's/^/| /' conftest.$ac_ext >&5
24338
24339 eval "$as_ac_var=no"
24340 fi
24341 rm -f conftest.err conftest.$ac_objext \
24342 conftest$ac_exeext conftest.$ac_ext
24343 fi
24344 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24345 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24346 if test `eval echo '${'$as_ac_var'}'` = yes; then
24347 cat >>confdefs.h <<_ACEOF
24348 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24349 _ACEOF
24350
24351 fi
24352 done
24353
24354 else
24355
24356 echo "$as_me:$LINENO: checking for _powl declaration" >&5
24357 echo $ECHO_N "checking for _powl declaration... $ECHO_C" >&6
24358 if test x${glibcxx_cv_func__powl_use+set} != xset; then
24359 if test "${glibcxx_cv_func__powl_use+set}" = set; then
24360 echo $ECHO_N "(cached) $ECHO_C" >&6
24361 else
24362
24363
24364
24365 ac_ext=cc
24366 ac_cpp='$CXXCPP $CPPFLAGS'
24367 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24368 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24369 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24370
24371 cat >conftest.$ac_ext <<_ACEOF
24372 /* confdefs.h. */
24373 _ACEOF
24374 cat confdefs.h >>conftest.$ac_ext
24375 cat >>conftest.$ac_ext <<_ACEOF
24376 /* end confdefs.h. */
24377 #include <math.h>
24378 int
24379 main ()
24380 {
24381 _powl(0, 0);
24382 ;
24383 return 0;
24384 }
24385 _ACEOF
24386 rm -f conftest.$ac_objext
24387 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24388 (eval $ac_compile) 2>conftest.er1
24389 ac_status=$?
24390 grep -v '^ *+' conftest.er1 >conftest.err
24391 rm -f conftest.er1
24392 cat conftest.err >&5
24393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24394 (exit $ac_status); } &&
24395 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24397 (eval $ac_try) 2>&5
24398 ac_status=$?
24399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24400 (exit $ac_status); }; } &&
24401 { ac_try='test -s conftest.$ac_objext'
24402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24403 (eval $ac_try) 2>&5
24404 ac_status=$?
24405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24406 (exit $ac_status); }; }; then
24407 glibcxx_cv_func__powl_use=yes
24408 else
24409 echo "$as_me: failed program was:" >&5
24410 sed 's/^/| /' conftest.$ac_ext >&5
24411
24412 glibcxx_cv_func__powl_use=no
24413 fi
24414 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24415 ac_ext=c
24416 ac_cpp='$CPP $CPPFLAGS'
24417 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24418 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24419 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24420
24421
24422 fi
24423
24424 fi
24425 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powl_use" >&5
24426 echo "${ECHO_T}$glibcxx_cv_func__powl_use" >&6
24427
24428 if test x$glibcxx_cv_func__powl_use = x"yes"; then
24429
24430 for ac_func in _powl
24431 do
24432 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24433 echo "$as_me:$LINENO: checking for $ac_func" >&5
24434 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24435 if eval "test \"\${$as_ac_var+set}\" = set"; then
24436 echo $ECHO_N "(cached) $ECHO_C" >&6
24437 else
24438 if test x$gcc_no_link = xyes; then
24439 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24440 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24441 { (exit 1); exit 1; }; }
24442 fi
24443 cat >conftest.$ac_ext <<_ACEOF
24444 /* confdefs.h. */
24445 _ACEOF
24446 cat confdefs.h >>conftest.$ac_ext
24447 cat >>conftest.$ac_ext <<_ACEOF
24448 /* end confdefs.h. */
24449 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24450 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24451 #define $ac_func innocuous_$ac_func
24452
24453 /* System header to define __stub macros and hopefully few prototypes,
24454 which can conflict with char $ac_func (); below.
24455 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24456 <limits.h> exists even on freestanding compilers. */
24457
24458 #ifdef __STDC__
24459 # include <limits.h>
24460 #else
24461 # include <assert.h>
24462 #endif
24463
24464 #undef $ac_func
24465
24466 /* Override any gcc2 internal prototype to avoid an error. */
24467 #ifdef __cplusplus
24468 extern "C"
24469 {
24470 #endif
24471 /* We use char because int might match the return type of a gcc2
24472 builtin and then its argument prototype would still apply. */
24473 char $ac_func ();
24474 /* The GNU C library defines this for functions which it implements
24475 to always fail with ENOSYS. Some functions are actually named
24476 something starting with __ and the normal name is an alias. */
24477 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24478 choke me
24479 #else
24480 char (*f) () = $ac_func;
24481 #endif
24482 #ifdef __cplusplus
24483 }
24484 #endif
24485
24486 int
24487 main ()
24488 {
24489 return f != $ac_func;
24490 ;
24491 return 0;
24492 }
24493 _ACEOF
24494 rm -f conftest.$ac_objext conftest$ac_exeext
24495 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24496 (eval $ac_link) 2>conftest.er1
24497 ac_status=$?
24498 grep -v '^ *+' conftest.er1 >conftest.err
24499 rm -f conftest.er1
24500 cat conftest.err >&5
24501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24502 (exit $ac_status); } &&
24503 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24505 (eval $ac_try) 2>&5
24506 ac_status=$?
24507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24508 (exit $ac_status); }; } &&
24509 { ac_try='test -s conftest$ac_exeext'
24510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24511 (eval $ac_try) 2>&5
24512 ac_status=$?
24513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24514 (exit $ac_status); }; }; then
24515 eval "$as_ac_var=yes"
24516 else
24517 echo "$as_me: failed program was:" >&5
24518 sed 's/^/| /' conftest.$ac_ext >&5
24519
24520 eval "$as_ac_var=no"
24521 fi
24522 rm -f conftest.err conftest.$ac_objext \
24523 conftest$ac_exeext conftest.$ac_ext
24524 fi
24525 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24526 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24527 if test `eval echo '${'$as_ac_var'}'` = yes; then
24528 cat >>confdefs.h <<_ACEOF
24529 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24530 _ACEOF
24531
24532 fi
24533 done
24534
24535 fi
24536 fi
24537
24538
24539
24540
24541
24542
24543 echo "$as_me:$LINENO: checking for sqrtl declaration" >&5
24544 echo $ECHO_N "checking for sqrtl declaration... $ECHO_C" >&6
24545 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
24546 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then
24547 echo $ECHO_N "(cached) $ECHO_C" >&6
24548 else
24549
24550
24551
24552 ac_ext=cc
24553 ac_cpp='$CXXCPP $CPPFLAGS'
24554 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24555 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24556 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24557
24558 cat >conftest.$ac_ext <<_ACEOF
24559 /* confdefs.h. */
24560 _ACEOF
24561 cat confdefs.h >>conftest.$ac_ext
24562 cat >>conftest.$ac_ext <<_ACEOF
24563 /* end confdefs.h. */
24564 #include <math.h>
24565 #ifdef HAVE_IEEEFP_H
24566 #include <ieeefp.h>
24567 #endif
24568
24569 int
24570 main ()
24571 {
24572 sqrtl(0);
24573 ;
24574 return 0;
24575 }
24576 _ACEOF
24577 rm -f conftest.$ac_objext
24578 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24579 (eval $ac_compile) 2>conftest.er1
24580 ac_status=$?
24581 grep -v '^ *+' conftest.er1 >conftest.err
24582 rm -f conftest.er1
24583 cat conftest.err >&5
24584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24585 (exit $ac_status); } &&
24586 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24588 (eval $ac_try) 2>&5
24589 ac_status=$?
24590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24591 (exit $ac_status); }; } &&
24592 { ac_try='test -s conftest.$ac_objext'
24593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24594 (eval $ac_try) 2>&5
24595 ac_status=$?
24596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24597 (exit $ac_status); }; }; then
24598 glibcxx_cv_func_sqrtl_use=yes
24599 else
24600 echo "$as_me: failed program was:" >&5
24601 sed 's/^/| /' conftest.$ac_ext >&5
24602
24603 glibcxx_cv_func_sqrtl_use=no
24604 fi
24605 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24606 ac_ext=c
24607 ac_cpp='$CPP $CPPFLAGS'
24608 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24609 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24610 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24611
24612
24613 fi
24614
24615 fi
24616 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtl_use" >&5
24617 echo "${ECHO_T}$glibcxx_cv_func_sqrtl_use" >&6
24618
24619 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
24620
24621 for ac_func in sqrtl
24622 do
24623 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24624 echo "$as_me:$LINENO: checking for $ac_func" >&5
24625 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24626 if eval "test \"\${$as_ac_var+set}\" = set"; then
24627 echo $ECHO_N "(cached) $ECHO_C" >&6
24628 else
24629 if test x$gcc_no_link = xyes; then
24630 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24631 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24632 { (exit 1); exit 1; }; }
24633 fi
24634 cat >conftest.$ac_ext <<_ACEOF
24635 /* confdefs.h. */
24636 _ACEOF
24637 cat confdefs.h >>conftest.$ac_ext
24638 cat >>conftest.$ac_ext <<_ACEOF
24639 /* end confdefs.h. */
24640 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24641 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24642 #define $ac_func innocuous_$ac_func
24643
24644 /* System header to define __stub macros and hopefully few prototypes,
24645 which can conflict with char $ac_func (); below.
24646 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24647 <limits.h> exists even on freestanding compilers. */
24648
24649 #ifdef __STDC__
24650 # include <limits.h>
24651 #else
24652 # include <assert.h>
24653 #endif
24654
24655 #undef $ac_func
24656
24657 /* Override any gcc2 internal prototype to avoid an error. */
24658 #ifdef __cplusplus
24659 extern "C"
24660 {
24661 #endif
24662 /* We use char because int might match the return type of a gcc2
24663 builtin and then its argument prototype would still apply. */
24664 char $ac_func ();
24665 /* The GNU C library defines this for functions which it implements
24666 to always fail with ENOSYS. Some functions are actually named
24667 something starting with __ and the normal name is an alias. */
24668 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24669 choke me
24670 #else
24671 char (*f) () = $ac_func;
24672 #endif
24673 #ifdef __cplusplus
24674 }
24675 #endif
24676
24677 int
24678 main ()
24679 {
24680 return f != $ac_func;
24681 ;
24682 return 0;
24683 }
24684 _ACEOF
24685 rm -f conftest.$ac_objext conftest$ac_exeext
24686 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24687 (eval $ac_link) 2>conftest.er1
24688 ac_status=$?
24689 grep -v '^ *+' conftest.er1 >conftest.err
24690 rm -f conftest.er1
24691 cat conftest.err >&5
24692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24693 (exit $ac_status); } &&
24694 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24696 (eval $ac_try) 2>&5
24697 ac_status=$?
24698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24699 (exit $ac_status); }; } &&
24700 { ac_try='test -s conftest$ac_exeext'
24701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24702 (eval $ac_try) 2>&5
24703 ac_status=$?
24704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24705 (exit $ac_status); }; }; then
24706 eval "$as_ac_var=yes"
24707 else
24708 echo "$as_me: failed program was:" >&5
24709 sed 's/^/| /' conftest.$ac_ext >&5
24710
24711 eval "$as_ac_var=no"
24712 fi
24713 rm -f conftest.err conftest.$ac_objext \
24714 conftest$ac_exeext conftest.$ac_ext
24715 fi
24716 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24717 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24718 if test `eval echo '${'$as_ac_var'}'` = yes; then
24719 cat >>confdefs.h <<_ACEOF
24720 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24721 _ACEOF
24722
24723 fi
24724 done
24725
24726 else
24727
24728 echo "$as_me:$LINENO: checking for _sqrtl declaration" >&5
24729 echo $ECHO_N "checking for _sqrtl declaration... $ECHO_C" >&6
24730 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
24731 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then
24732 echo $ECHO_N "(cached) $ECHO_C" >&6
24733 else
24734
24735
24736
24737 ac_ext=cc
24738 ac_cpp='$CXXCPP $CPPFLAGS'
24739 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24740 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24741 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24742
24743 cat >conftest.$ac_ext <<_ACEOF
24744 /* confdefs.h. */
24745 _ACEOF
24746 cat confdefs.h >>conftest.$ac_ext
24747 cat >>conftest.$ac_ext <<_ACEOF
24748 /* end confdefs.h. */
24749 #include <math.h>
24750 #ifdef HAVE_IEEEFP_H
24751 #include <ieeefp.h>
24752 #endif
24753
24754 int
24755 main ()
24756 {
24757 _sqrtl(0);
24758 ;
24759 return 0;
24760 }
24761 _ACEOF
24762 rm -f conftest.$ac_objext
24763 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24764 (eval $ac_compile) 2>conftest.er1
24765 ac_status=$?
24766 grep -v '^ *+' conftest.er1 >conftest.err
24767 rm -f conftest.er1
24768 cat conftest.err >&5
24769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24770 (exit $ac_status); } &&
24771 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24773 (eval $ac_try) 2>&5
24774 ac_status=$?
24775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24776 (exit $ac_status); }; } &&
24777 { ac_try='test -s conftest.$ac_objext'
24778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24779 (eval $ac_try) 2>&5
24780 ac_status=$?
24781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24782 (exit $ac_status); }; }; then
24783 glibcxx_cv_func__sqrtl_use=yes
24784 else
24785 echo "$as_me: failed program was:" >&5
24786 sed 's/^/| /' conftest.$ac_ext >&5
24787
24788 glibcxx_cv_func__sqrtl_use=no
24789 fi
24790 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24791 ac_ext=c
24792 ac_cpp='$CPP $CPPFLAGS'
24793 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24794 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24795 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24796
24797
24798 fi
24799
24800 fi
24801 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtl_use" >&5
24802 echo "${ECHO_T}$glibcxx_cv_func__sqrtl_use" >&6
24803
24804 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
24805
24806 for ac_func in _sqrtl
24807 do
24808 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24809 echo "$as_me:$LINENO: checking for $ac_func" >&5
24810 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24811 if eval "test \"\${$as_ac_var+set}\" = set"; then
24812 echo $ECHO_N "(cached) $ECHO_C" >&6
24813 else
24814 if test x$gcc_no_link = xyes; then
24815 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24816 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24817 { (exit 1); exit 1; }; }
24818 fi
24819 cat >conftest.$ac_ext <<_ACEOF
24820 /* confdefs.h. */
24821 _ACEOF
24822 cat confdefs.h >>conftest.$ac_ext
24823 cat >>conftest.$ac_ext <<_ACEOF
24824 /* end confdefs.h. */
24825 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24826 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24827 #define $ac_func innocuous_$ac_func
24828
24829 /* System header to define __stub macros and hopefully few prototypes,
24830 which can conflict with char $ac_func (); below.
24831 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24832 <limits.h> exists even on freestanding compilers. */
24833
24834 #ifdef __STDC__
24835 # include <limits.h>
24836 #else
24837 # include <assert.h>
24838 #endif
24839
24840 #undef $ac_func
24841
24842 /* Override any gcc2 internal prototype to avoid an error. */
24843 #ifdef __cplusplus
24844 extern "C"
24845 {
24846 #endif
24847 /* We use char because int might match the return type of a gcc2
24848 builtin and then its argument prototype would still apply. */
24849 char $ac_func ();
24850 /* The GNU C library defines this for functions which it implements
24851 to always fail with ENOSYS. Some functions are actually named
24852 something starting with __ and the normal name is an alias. */
24853 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24854 choke me
24855 #else
24856 char (*f) () = $ac_func;
24857 #endif
24858 #ifdef __cplusplus
24859 }
24860 #endif
24861
24862 int
24863 main ()
24864 {
24865 return f != $ac_func;
24866 ;
24867 return 0;
24868 }
24869 _ACEOF
24870 rm -f conftest.$ac_objext conftest$ac_exeext
24871 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24872 (eval $ac_link) 2>conftest.er1
24873 ac_status=$?
24874 grep -v '^ *+' conftest.er1 >conftest.err
24875 rm -f conftest.er1
24876 cat conftest.err >&5
24877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24878 (exit $ac_status); } &&
24879 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24881 (eval $ac_try) 2>&5
24882 ac_status=$?
24883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24884 (exit $ac_status); }; } &&
24885 { ac_try='test -s conftest$ac_exeext'
24886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24887 (eval $ac_try) 2>&5
24888 ac_status=$?
24889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24890 (exit $ac_status); }; }; then
24891 eval "$as_ac_var=yes"
24892 else
24893 echo "$as_me: failed program was:" >&5
24894 sed 's/^/| /' conftest.$ac_ext >&5
24895
24896 eval "$as_ac_var=no"
24897 fi
24898 rm -f conftest.err conftest.$ac_objext \
24899 conftest$ac_exeext conftest.$ac_ext
24900 fi
24901 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24902 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24903 if test `eval echo '${'$as_ac_var'}'` = yes; then
24904 cat >>confdefs.h <<_ACEOF
24905 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24906 _ACEOF
24907
24908 fi
24909 done
24910
24911 fi
24912 fi
24913
24914
24915
24916
24917
24918
24919 echo "$as_me:$LINENO: checking for sincosl declaration" >&5
24920 echo $ECHO_N "checking for sincosl declaration... $ECHO_C" >&6
24921 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
24922 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then
24923 echo $ECHO_N "(cached) $ECHO_C" >&6
24924 else
24925
24926
24927
24928 ac_ext=cc
24929 ac_cpp='$CXXCPP $CPPFLAGS'
24930 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24931 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24932 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24933
24934 cat >conftest.$ac_ext <<_ACEOF
24935 /* confdefs.h. */
24936 _ACEOF
24937 cat confdefs.h >>conftest.$ac_ext
24938 cat >>conftest.$ac_ext <<_ACEOF
24939 /* end confdefs.h. */
24940 #include <math.h>
24941 int
24942 main ()
24943 {
24944 sincosl(0, 0, 0);
24945 ;
24946 return 0;
24947 }
24948 _ACEOF
24949 rm -f conftest.$ac_objext
24950 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24951 (eval $ac_compile) 2>conftest.er1
24952 ac_status=$?
24953 grep -v '^ *+' conftest.er1 >conftest.err
24954 rm -f conftest.er1
24955 cat conftest.err >&5
24956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24957 (exit $ac_status); } &&
24958 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24960 (eval $ac_try) 2>&5
24961 ac_status=$?
24962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24963 (exit $ac_status); }; } &&
24964 { ac_try='test -s conftest.$ac_objext'
24965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24966 (eval $ac_try) 2>&5
24967 ac_status=$?
24968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24969 (exit $ac_status); }; }; then
24970 glibcxx_cv_func_sincosl_use=yes
24971 else
24972 echo "$as_me: failed program was:" >&5
24973 sed 's/^/| /' conftest.$ac_ext >&5
24974
24975 glibcxx_cv_func_sincosl_use=no
24976 fi
24977 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24978 ac_ext=c
24979 ac_cpp='$CPP $CPPFLAGS'
24980 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24981 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24982 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24983
24984
24985 fi
24986
24987 fi
24988 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosl_use" >&5
24989 echo "${ECHO_T}$glibcxx_cv_func_sincosl_use" >&6
24990
24991 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
24992
24993 for ac_func in sincosl
24994 do
24995 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24996 echo "$as_me:$LINENO: checking for $ac_func" >&5
24997 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24998 if eval "test \"\${$as_ac_var+set}\" = set"; then
24999 echo $ECHO_N "(cached) $ECHO_C" >&6
25000 else
25001 if test x$gcc_no_link = xyes; then
25002 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25003 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25004 { (exit 1); exit 1; }; }
25005 fi
25006 cat >conftest.$ac_ext <<_ACEOF
25007 /* confdefs.h. */
25008 _ACEOF
25009 cat confdefs.h >>conftest.$ac_ext
25010 cat >>conftest.$ac_ext <<_ACEOF
25011 /* end confdefs.h. */
25012 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25013 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25014 #define $ac_func innocuous_$ac_func
25015
25016 /* System header to define __stub macros and hopefully few prototypes,
25017 which can conflict with char $ac_func (); below.
25018 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25019 <limits.h> exists even on freestanding compilers. */
25020
25021 #ifdef __STDC__
25022 # include <limits.h>
25023 #else
25024 # include <assert.h>
25025 #endif
25026
25027 #undef $ac_func
25028
25029 /* Override any gcc2 internal prototype to avoid an error. */
25030 #ifdef __cplusplus
25031 extern "C"
25032 {
25033 #endif
25034 /* We use char because int might match the return type of a gcc2
25035 builtin and then its argument prototype would still apply. */
25036 char $ac_func ();
25037 /* The GNU C library defines this for functions which it implements
25038 to always fail with ENOSYS. Some functions are actually named
25039 something starting with __ and the normal name is an alias. */
25040 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25041 choke me
25042 #else
25043 char (*f) () = $ac_func;
25044 #endif
25045 #ifdef __cplusplus
25046 }
25047 #endif
25048
25049 int
25050 main ()
25051 {
25052 return f != $ac_func;
25053 ;
25054 return 0;
25055 }
25056 _ACEOF
25057 rm -f conftest.$ac_objext conftest$ac_exeext
25058 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25059 (eval $ac_link) 2>conftest.er1
25060 ac_status=$?
25061 grep -v '^ *+' conftest.er1 >conftest.err
25062 rm -f conftest.er1
25063 cat conftest.err >&5
25064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25065 (exit $ac_status); } &&
25066 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25067 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25068 (eval $ac_try) 2>&5
25069 ac_status=$?
25070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25071 (exit $ac_status); }; } &&
25072 { ac_try='test -s conftest$ac_exeext'
25073 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25074 (eval $ac_try) 2>&5
25075 ac_status=$?
25076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25077 (exit $ac_status); }; }; then
25078 eval "$as_ac_var=yes"
25079 else
25080 echo "$as_me: failed program was:" >&5
25081 sed 's/^/| /' conftest.$ac_ext >&5
25082
25083 eval "$as_ac_var=no"
25084 fi
25085 rm -f conftest.err conftest.$ac_objext \
25086 conftest$ac_exeext conftest.$ac_ext
25087 fi
25088 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25089 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25090 if test `eval echo '${'$as_ac_var'}'` = yes; then
25091 cat >>confdefs.h <<_ACEOF
25092 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25093 _ACEOF
25094
25095 fi
25096 done
25097
25098 else
25099
25100 echo "$as_me:$LINENO: checking for _sincosl declaration" >&5
25101 echo $ECHO_N "checking for _sincosl declaration... $ECHO_C" >&6
25102 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
25103 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then
25104 echo $ECHO_N "(cached) $ECHO_C" >&6
25105 else
25106
25107
25108
25109 ac_ext=cc
25110 ac_cpp='$CXXCPP $CPPFLAGS'
25111 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25112 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25113 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25114
25115 cat >conftest.$ac_ext <<_ACEOF
25116 /* confdefs.h. */
25117 _ACEOF
25118 cat confdefs.h >>conftest.$ac_ext
25119 cat >>conftest.$ac_ext <<_ACEOF
25120 /* end confdefs.h. */
25121 #include <math.h>
25122 int
25123 main ()
25124 {
25125 _sincosl(0, 0, 0);
25126 ;
25127 return 0;
25128 }
25129 _ACEOF
25130 rm -f conftest.$ac_objext
25131 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25132 (eval $ac_compile) 2>conftest.er1
25133 ac_status=$?
25134 grep -v '^ *+' conftest.er1 >conftest.err
25135 rm -f conftest.er1
25136 cat conftest.err >&5
25137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25138 (exit $ac_status); } &&
25139 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25140 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25141 (eval $ac_try) 2>&5
25142 ac_status=$?
25143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25144 (exit $ac_status); }; } &&
25145 { ac_try='test -s conftest.$ac_objext'
25146 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25147 (eval $ac_try) 2>&5
25148 ac_status=$?
25149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25150 (exit $ac_status); }; }; then
25151 glibcxx_cv_func__sincosl_use=yes
25152 else
25153 echo "$as_me: failed program was:" >&5
25154 sed 's/^/| /' conftest.$ac_ext >&5
25155
25156 glibcxx_cv_func__sincosl_use=no
25157 fi
25158 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25159 ac_ext=c
25160 ac_cpp='$CPP $CPPFLAGS'
25161 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25162 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25163 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25164
25165
25166 fi
25167
25168 fi
25169 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosl_use" >&5
25170 echo "${ECHO_T}$glibcxx_cv_func__sincosl_use" >&6
25171
25172 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
25173
25174 for ac_func in _sincosl
25175 do
25176 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25177 echo "$as_me:$LINENO: checking for $ac_func" >&5
25178 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25179 if eval "test \"\${$as_ac_var+set}\" = set"; then
25180 echo $ECHO_N "(cached) $ECHO_C" >&6
25181 else
25182 if test x$gcc_no_link = xyes; then
25183 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25184 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25185 { (exit 1); exit 1; }; }
25186 fi
25187 cat >conftest.$ac_ext <<_ACEOF
25188 /* confdefs.h. */
25189 _ACEOF
25190 cat confdefs.h >>conftest.$ac_ext
25191 cat >>conftest.$ac_ext <<_ACEOF
25192 /* end confdefs.h. */
25193 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25194 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25195 #define $ac_func innocuous_$ac_func
25196
25197 /* System header to define __stub macros and hopefully few prototypes,
25198 which can conflict with char $ac_func (); below.
25199 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25200 <limits.h> exists even on freestanding compilers. */
25201
25202 #ifdef __STDC__
25203 # include <limits.h>
25204 #else
25205 # include <assert.h>
25206 #endif
25207
25208 #undef $ac_func
25209
25210 /* Override any gcc2 internal prototype to avoid an error. */
25211 #ifdef __cplusplus
25212 extern "C"
25213 {
25214 #endif
25215 /* We use char because int might match the return type of a gcc2
25216 builtin and then its argument prototype would still apply. */
25217 char $ac_func ();
25218 /* The GNU C library defines this for functions which it implements
25219 to always fail with ENOSYS. Some functions are actually named
25220 something starting with __ and the normal name is an alias. */
25221 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25222 choke me
25223 #else
25224 char (*f) () = $ac_func;
25225 #endif
25226 #ifdef __cplusplus
25227 }
25228 #endif
25229
25230 int
25231 main ()
25232 {
25233 return f != $ac_func;
25234 ;
25235 return 0;
25236 }
25237 _ACEOF
25238 rm -f conftest.$ac_objext conftest$ac_exeext
25239 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25240 (eval $ac_link) 2>conftest.er1
25241 ac_status=$?
25242 grep -v '^ *+' conftest.er1 >conftest.err
25243 rm -f conftest.er1
25244 cat conftest.err >&5
25245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25246 (exit $ac_status); } &&
25247 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25249 (eval $ac_try) 2>&5
25250 ac_status=$?
25251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25252 (exit $ac_status); }; } &&
25253 { ac_try='test -s conftest$ac_exeext'
25254 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25255 (eval $ac_try) 2>&5
25256 ac_status=$?
25257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25258 (exit $ac_status); }; }; then
25259 eval "$as_ac_var=yes"
25260 else
25261 echo "$as_me: failed program was:" >&5
25262 sed 's/^/| /' conftest.$ac_ext >&5
25263
25264 eval "$as_ac_var=no"
25265 fi
25266 rm -f conftest.err conftest.$ac_objext \
25267 conftest$ac_exeext conftest.$ac_ext
25268 fi
25269 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25270 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25271 if test `eval echo '${'$as_ac_var'}'` = yes; then
25272 cat >>confdefs.h <<_ACEOF
25273 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25274 _ACEOF
25275
25276 fi
25277 done
25278
25279 fi
25280 fi
25281
25282
25283
25284
25285
25286
25287 echo "$as_me:$LINENO: checking for finitel declaration" >&5
25288 echo $ECHO_N "checking for finitel declaration... $ECHO_C" >&6
25289 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
25290 if test "${glibcxx_cv_func_finitel_use+set}" = set; then
25291 echo $ECHO_N "(cached) $ECHO_C" >&6
25292 else
25293
25294
25295
25296 ac_ext=cc
25297 ac_cpp='$CXXCPP $CPPFLAGS'
25298 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25299 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25300 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25301
25302 cat >conftest.$ac_ext <<_ACEOF
25303 /* confdefs.h. */
25304 _ACEOF
25305 cat confdefs.h >>conftest.$ac_ext
25306 cat >>conftest.$ac_ext <<_ACEOF
25307 /* end confdefs.h. */
25308 #include <math.h>
25309 #ifdef HAVE_IEEEFP_H
25310 #include <ieeefp.h>
25311 #endif
25312
25313 int
25314 main ()
25315 {
25316 finitel(0);
25317 ;
25318 return 0;
25319 }
25320 _ACEOF
25321 rm -f conftest.$ac_objext
25322 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25323 (eval $ac_compile) 2>conftest.er1
25324 ac_status=$?
25325 grep -v '^ *+' conftest.er1 >conftest.err
25326 rm -f conftest.er1
25327 cat conftest.err >&5
25328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25329 (exit $ac_status); } &&
25330 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25332 (eval $ac_try) 2>&5
25333 ac_status=$?
25334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25335 (exit $ac_status); }; } &&
25336 { ac_try='test -s conftest.$ac_objext'
25337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25338 (eval $ac_try) 2>&5
25339 ac_status=$?
25340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25341 (exit $ac_status); }; }; then
25342 glibcxx_cv_func_finitel_use=yes
25343 else
25344 echo "$as_me: failed program was:" >&5
25345 sed 's/^/| /' conftest.$ac_ext >&5
25346
25347 glibcxx_cv_func_finitel_use=no
25348 fi
25349 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25350 ac_ext=c
25351 ac_cpp='$CPP $CPPFLAGS'
25352 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25353 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25354 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25355
25356
25357 fi
25358
25359 fi
25360 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitel_use" >&5
25361 echo "${ECHO_T}$glibcxx_cv_func_finitel_use" >&6
25362
25363 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
25364
25365 for ac_func in finitel
25366 do
25367 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25368 echo "$as_me:$LINENO: checking for $ac_func" >&5
25369 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25370 if eval "test \"\${$as_ac_var+set}\" = set"; then
25371 echo $ECHO_N "(cached) $ECHO_C" >&6
25372 else
25373 if test x$gcc_no_link = xyes; then
25374 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25375 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25376 { (exit 1); exit 1; }; }
25377 fi
25378 cat >conftest.$ac_ext <<_ACEOF
25379 /* confdefs.h. */
25380 _ACEOF
25381 cat confdefs.h >>conftest.$ac_ext
25382 cat >>conftest.$ac_ext <<_ACEOF
25383 /* end confdefs.h. */
25384 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25385 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25386 #define $ac_func innocuous_$ac_func
25387
25388 /* System header to define __stub macros and hopefully few prototypes,
25389 which can conflict with char $ac_func (); below.
25390 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25391 <limits.h> exists even on freestanding compilers. */
25392
25393 #ifdef __STDC__
25394 # include <limits.h>
25395 #else
25396 # include <assert.h>
25397 #endif
25398
25399 #undef $ac_func
25400
25401 /* Override any gcc2 internal prototype to avoid an error. */
25402 #ifdef __cplusplus
25403 extern "C"
25404 {
25405 #endif
25406 /* We use char because int might match the return type of a gcc2
25407 builtin and then its argument prototype would still apply. */
25408 char $ac_func ();
25409 /* The GNU C library defines this for functions which it implements
25410 to always fail with ENOSYS. Some functions are actually named
25411 something starting with __ and the normal name is an alias. */
25412 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25413 choke me
25414 #else
25415 char (*f) () = $ac_func;
25416 #endif
25417 #ifdef __cplusplus
25418 }
25419 #endif
25420
25421 int
25422 main ()
25423 {
25424 return f != $ac_func;
25425 ;
25426 return 0;
25427 }
25428 _ACEOF
25429 rm -f conftest.$ac_objext conftest$ac_exeext
25430 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25431 (eval $ac_link) 2>conftest.er1
25432 ac_status=$?
25433 grep -v '^ *+' conftest.er1 >conftest.err
25434 rm -f conftest.er1
25435 cat conftest.err >&5
25436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25437 (exit $ac_status); } &&
25438 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25440 (eval $ac_try) 2>&5
25441 ac_status=$?
25442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25443 (exit $ac_status); }; } &&
25444 { ac_try='test -s conftest$ac_exeext'
25445 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25446 (eval $ac_try) 2>&5
25447 ac_status=$?
25448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25449 (exit $ac_status); }; }; then
25450 eval "$as_ac_var=yes"
25451 else
25452 echo "$as_me: failed program was:" >&5
25453 sed 's/^/| /' conftest.$ac_ext >&5
25454
25455 eval "$as_ac_var=no"
25456 fi
25457 rm -f conftest.err conftest.$ac_objext \
25458 conftest$ac_exeext conftest.$ac_ext
25459 fi
25460 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25461 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25462 if test `eval echo '${'$as_ac_var'}'` = yes; then
25463 cat >>confdefs.h <<_ACEOF
25464 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25465 _ACEOF
25466
25467 fi
25468 done
25469
25470 else
25471
25472 echo "$as_me:$LINENO: checking for _finitel declaration" >&5
25473 echo $ECHO_N "checking for _finitel declaration... $ECHO_C" >&6
25474 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
25475 if test "${glibcxx_cv_func__finitel_use+set}" = set; then
25476 echo $ECHO_N "(cached) $ECHO_C" >&6
25477 else
25478
25479
25480
25481 ac_ext=cc
25482 ac_cpp='$CXXCPP $CPPFLAGS'
25483 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25484 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25485 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25486
25487 cat >conftest.$ac_ext <<_ACEOF
25488 /* confdefs.h. */
25489 _ACEOF
25490 cat confdefs.h >>conftest.$ac_ext
25491 cat >>conftest.$ac_ext <<_ACEOF
25492 /* end confdefs.h. */
25493 #include <math.h>
25494 #ifdef HAVE_IEEEFP_H
25495 #include <ieeefp.h>
25496 #endif
25497
25498 int
25499 main ()
25500 {
25501 _finitel(0);
25502 ;
25503 return 0;
25504 }
25505 _ACEOF
25506 rm -f conftest.$ac_objext
25507 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25508 (eval $ac_compile) 2>conftest.er1
25509 ac_status=$?
25510 grep -v '^ *+' conftest.er1 >conftest.err
25511 rm -f conftest.er1
25512 cat conftest.err >&5
25513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25514 (exit $ac_status); } &&
25515 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25517 (eval $ac_try) 2>&5
25518 ac_status=$?
25519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25520 (exit $ac_status); }; } &&
25521 { ac_try='test -s conftest.$ac_objext'
25522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25523 (eval $ac_try) 2>&5
25524 ac_status=$?
25525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25526 (exit $ac_status); }; }; then
25527 glibcxx_cv_func__finitel_use=yes
25528 else
25529 echo "$as_me: failed program was:" >&5
25530 sed 's/^/| /' conftest.$ac_ext >&5
25531
25532 glibcxx_cv_func__finitel_use=no
25533 fi
25534 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25535 ac_ext=c
25536 ac_cpp='$CPP $CPPFLAGS'
25537 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25538 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25539 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25540
25541
25542 fi
25543
25544 fi
25545 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitel_use" >&5
25546 echo "${ECHO_T}$glibcxx_cv_func__finitel_use" >&6
25547
25548 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
25549
25550 for ac_func in _finitel
25551 do
25552 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25553 echo "$as_me:$LINENO: checking for $ac_func" >&5
25554 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25555 if eval "test \"\${$as_ac_var+set}\" = set"; then
25556 echo $ECHO_N "(cached) $ECHO_C" >&6
25557 else
25558 if test x$gcc_no_link = xyes; then
25559 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25560 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25561 { (exit 1); exit 1; }; }
25562 fi
25563 cat >conftest.$ac_ext <<_ACEOF
25564 /* confdefs.h. */
25565 _ACEOF
25566 cat confdefs.h >>conftest.$ac_ext
25567 cat >>conftest.$ac_ext <<_ACEOF
25568 /* end confdefs.h. */
25569 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25570 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25571 #define $ac_func innocuous_$ac_func
25572
25573 /* System header to define __stub macros and hopefully few prototypes,
25574 which can conflict with char $ac_func (); below.
25575 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25576 <limits.h> exists even on freestanding compilers. */
25577
25578 #ifdef __STDC__
25579 # include <limits.h>
25580 #else
25581 # include <assert.h>
25582 #endif
25583
25584 #undef $ac_func
25585
25586 /* Override any gcc2 internal prototype to avoid an error. */
25587 #ifdef __cplusplus
25588 extern "C"
25589 {
25590 #endif
25591 /* We use char because int might match the return type of a gcc2
25592 builtin and then its argument prototype would still apply. */
25593 char $ac_func ();
25594 /* The GNU C library defines this for functions which it implements
25595 to always fail with ENOSYS. Some functions are actually named
25596 something starting with __ and the normal name is an alias. */
25597 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25598 choke me
25599 #else
25600 char (*f) () = $ac_func;
25601 #endif
25602 #ifdef __cplusplus
25603 }
25604 #endif
25605
25606 int
25607 main ()
25608 {
25609 return f != $ac_func;
25610 ;
25611 return 0;
25612 }
25613 _ACEOF
25614 rm -f conftest.$ac_objext conftest$ac_exeext
25615 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25616 (eval $ac_link) 2>conftest.er1
25617 ac_status=$?
25618 grep -v '^ *+' conftest.er1 >conftest.err
25619 rm -f conftest.er1
25620 cat conftest.err >&5
25621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25622 (exit $ac_status); } &&
25623 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25625 (eval $ac_try) 2>&5
25626 ac_status=$?
25627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25628 (exit $ac_status); }; } &&
25629 { ac_try='test -s conftest$ac_exeext'
25630 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25631 (eval $ac_try) 2>&5
25632 ac_status=$?
25633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25634 (exit $ac_status); }; }; then
25635 eval "$as_ac_var=yes"
25636 else
25637 echo "$as_me: failed program was:" >&5
25638 sed 's/^/| /' conftest.$ac_ext >&5
25639
25640 eval "$as_ac_var=no"
25641 fi
25642 rm -f conftest.err conftest.$ac_objext \
25643 conftest$ac_exeext conftest.$ac_ext
25644 fi
25645 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25646 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25647 if test `eval echo '${'$as_ac_var'}'` = yes; then
25648 cat >>confdefs.h <<_ACEOF
25649 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25650 _ACEOF
25651
25652 fi
25653 done
25654
25655 fi
25656 fi
25657
25658
25659
25660
25661
25662 LIBS="$ac_save_LIBS"
25663 CXXFLAGS="$ac_save_CXXFLAGS"
25664
25665
25666
25667 echo "$as_me:$LINENO: checking for __builtin_abs declaration" >&5
25668 echo $ECHO_N "checking for __builtin_abs declaration... $ECHO_C" >&6
25669 if test x${glibcxx_cv_func___builtin_abs_use+set} != xset; then
25670 if test "${glibcxx_cv_func___builtin_abs_use+set}" = set; then
25671 echo $ECHO_N "(cached) $ECHO_C" >&6
25672 else
25673
25674
25675
25676 ac_ext=cc
25677 ac_cpp='$CXXCPP $CPPFLAGS'
25678 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25679 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25680 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25681
25682 cat >conftest.$ac_ext <<_ACEOF
25683 /* confdefs.h. */
25684 _ACEOF
25685 cat confdefs.h >>conftest.$ac_ext
25686 cat >>conftest.$ac_ext <<_ACEOF
25687 /* end confdefs.h. */
25688 #include <math.h>
25689 int
25690 main ()
25691 {
25692 __builtin_abs(0);
25693 ;
25694 return 0;
25695 }
25696 _ACEOF
25697 rm -f conftest.$ac_objext
25698 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25699 (eval $ac_compile) 2>conftest.er1
25700 ac_status=$?
25701 grep -v '^ *+' conftest.er1 >conftest.err
25702 rm -f conftest.er1
25703 cat conftest.err >&5
25704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25705 (exit $ac_status); } &&
25706 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25708 (eval $ac_try) 2>&5
25709 ac_status=$?
25710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25711 (exit $ac_status); }; } &&
25712 { ac_try='test -s conftest.$ac_objext'
25713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25714 (eval $ac_try) 2>&5
25715 ac_status=$?
25716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25717 (exit $ac_status); }; }; then
25718 glibcxx_cv_func___builtin_abs_use=yes
25719 else
25720 echo "$as_me: failed program was:" >&5
25721 sed 's/^/| /' conftest.$ac_ext >&5
25722
25723 glibcxx_cv_func___builtin_abs_use=no
25724 fi
25725 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25726 ac_ext=c
25727 ac_cpp='$CPP $CPPFLAGS'
25728 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25729 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25730 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25731
25732
25733 fi
25734
25735 fi
25736 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_use" >&5
25737 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_use" >&6
25738 if test x$glibcxx_cv_func___builtin_abs_use = x"yes"; then
25739 echo "$as_me:$LINENO: checking for __builtin_abs linkage" >&5
25740 echo $ECHO_N "checking for __builtin_abs linkage... $ECHO_C" >&6
25741 if test x${glibcxx_cv_func___builtin_abs_link+set} != xset; then
25742 if test "${glibcxx_cv_func___builtin_abs_link+set}" = set; then
25743 echo $ECHO_N "(cached) $ECHO_C" >&6
25744 else
25745
25746 if test x$gcc_no_link = xyes; then
25747 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25748 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25749 { (exit 1); exit 1; }; }
25750 fi
25751 cat >conftest.$ac_ext <<_ACEOF
25752 /* confdefs.h. */
25753 _ACEOF
25754 cat confdefs.h >>conftest.$ac_ext
25755 cat >>conftest.$ac_ext <<_ACEOF
25756 /* end confdefs.h. */
25757 #include <math.h>
25758 int
25759 main ()
25760 {
25761 __builtin_abs(0);
25762 ;
25763 return 0;
25764 }
25765 _ACEOF
25766 rm -f conftest.$ac_objext conftest$ac_exeext
25767 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25768 (eval $ac_link) 2>conftest.er1
25769 ac_status=$?
25770 grep -v '^ *+' conftest.er1 >conftest.err
25771 rm -f conftest.er1
25772 cat conftest.err >&5
25773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25774 (exit $ac_status); } &&
25775 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25777 (eval $ac_try) 2>&5
25778 ac_status=$?
25779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25780 (exit $ac_status); }; } &&
25781 { ac_try='test -s conftest$ac_exeext'
25782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25783 (eval $ac_try) 2>&5
25784 ac_status=$?
25785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25786 (exit $ac_status); }; }; then
25787 glibcxx_cv_func___builtin_abs_link=yes
25788 else
25789 echo "$as_me: failed program was:" >&5
25790 sed 's/^/| /' conftest.$ac_ext >&5
25791
25792 glibcxx_cv_func___builtin_abs_link=no
25793 fi
25794 rm -f conftest.err conftest.$ac_objext \
25795 conftest$ac_exeext conftest.$ac_ext
25796
25797 fi
25798
25799 fi
25800 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_link" >&5
25801 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_link" >&6
25802
25803 if test x$glibcxx_cv_func___builtin_abs_link = x"yes"; then
25804
25805 cat >>confdefs.h <<\_ACEOF
25806 #define HAVE___BUILTIN_ABS 1
25807 _ACEOF
25808
25809 fi
25810
25811 fi
25812
25813
25814 echo "$as_me:$LINENO: checking for __builtin_fabsf declaration" >&5
25815 echo $ECHO_N "checking for __builtin_fabsf declaration... $ECHO_C" >&6
25816 if test x${glibcxx_cv_func___builtin_fabsf_use+set} != xset; then
25817 if test "${glibcxx_cv_func___builtin_fabsf_use+set}" = set; then
25818 echo $ECHO_N "(cached) $ECHO_C" >&6
25819 else
25820
25821
25822
25823 ac_ext=cc
25824 ac_cpp='$CXXCPP $CPPFLAGS'
25825 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25826 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25827 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25828
25829 cat >conftest.$ac_ext <<_ACEOF
25830 /* confdefs.h. */
25831 _ACEOF
25832 cat confdefs.h >>conftest.$ac_ext
25833 cat >>conftest.$ac_ext <<_ACEOF
25834 /* end confdefs.h. */
25835 #include <math.h>
25836 int
25837 main ()
25838 {
25839 __builtin_fabsf(0);
25840 ;
25841 return 0;
25842 }
25843 _ACEOF
25844 rm -f conftest.$ac_objext
25845 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25846 (eval $ac_compile) 2>conftest.er1
25847 ac_status=$?
25848 grep -v '^ *+' conftest.er1 >conftest.err
25849 rm -f conftest.er1
25850 cat conftest.err >&5
25851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25852 (exit $ac_status); } &&
25853 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25854 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25855 (eval $ac_try) 2>&5
25856 ac_status=$?
25857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25858 (exit $ac_status); }; } &&
25859 { ac_try='test -s conftest.$ac_objext'
25860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25861 (eval $ac_try) 2>&5
25862 ac_status=$?
25863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25864 (exit $ac_status); }; }; then
25865 glibcxx_cv_func___builtin_fabsf_use=yes
25866 else
25867 echo "$as_me: failed program was:" >&5
25868 sed 's/^/| /' conftest.$ac_ext >&5
25869
25870 glibcxx_cv_func___builtin_fabsf_use=no
25871 fi
25872 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25873 ac_ext=c
25874 ac_cpp='$CPP $CPPFLAGS'
25875 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25876 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25877 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25878
25879
25880 fi
25881
25882 fi
25883 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_use" >&5
25884 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_use" >&6
25885 if test x$glibcxx_cv_func___builtin_fabsf_use = x"yes"; then
25886 echo "$as_me:$LINENO: checking for __builtin_fabsf linkage" >&5
25887 echo $ECHO_N "checking for __builtin_fabsf linkage... $ECHO_C" >&6
25888 if test x${glibcxx_cv_func___builtin_fabsf_link+set} != xset; then
25889 if test "${glibcxx_cv_func___builtin_fabsf_link+set}" = set; then
25890 echo $ECHO_N "(cached) $ECHO_C" >&6
25891 else
25892
25893 if test x$gcc_no_link = xyes; then
25894 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25895 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25896 { (exit 1); exit 1; }; }
25897 fi
25898 cat >conftest.$ac_ext <<_ACEOF
25899 /* confdefs.h. */
25900 _ACEOF
25901 cat confdefs.h >>conftest.$ac_ext
25902 cat >>conftest.$ac_ext <<_ACEOF
25903 /* end confdefs.h. */
25904 #include <math.h>
25905 int
25906 main ()
25907 {
25908 __builtin_fabsf(0);
25909 ;
25910 return 0;
25911 }
25912 _ACEOF
25913 rm -f conftest.$ac_objext conftest$ac_exeext
25914 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25915 (eval $ac_link) 2>conftest.er1
25916 ac_status=$?
25917 grep -v '^ *+' conftest.er1 >conftest.err
25918 rm -f conftest.er1
25919 cat conftest.err >&5
25920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25921 (exit $ac_status); } &&
25922 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25924 (eval $ac_try) 2>&5
25925 ac_status=$?
25926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25927 (exit $ac_status); }; } &&
25928 { ac_try='test -s conftest$ac_exeext'
25929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25930 (eval $ac_try) 2>&5
25931 ac_status=$?
25932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25933 (exit $ac_status); }; }; then
25934 glibcxx_cv_func___builtin_fabsf_link=yes
25935 else
25936 echo "$as_me: failed program was:" >&5
25937 sed 's/^/| /' conftest.$ac_ext >&5
25938
25939 glibcxx_cv_func___builtin_fabsf_link=no
25940 fi
25941 rm -f conftest.err conftest.$ac_objext \
25942 conftest$ac_exeext conftest.$ac_ext
25943
25944 fi
25945
25946 fi
25947 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_link" >&5
25948 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_link" >&6
25949
25950 if test x$glibcxx_cv_func___builtin_fabsf_link = x"yes"; then
25951
25952 cat >>confdefs.h <<\_ACEOF
25953 #define HAVE___BUILTIN_FABSF 1
25954 _ACEOF
25955
25956 fi
25957
25958 fi
25959
25960
25961 echo "$as_me:$LINENO: checking for __builtin_fabs declaration" >&5
25962 echo $ECHO_N "checking for __builtin_fabs declaration... $ECHO_C" >&6
25963 if test x${glibcxx_cv_func___builtin_fabs_use+set} != xset; then
25964 if test "${glibcxx_cv_func___builtin_fabs_use+set}" = set; then
25965 echo $ECHO_N "(cached) $ECHO_C" >&6
25966 else
25967
25968
25969
25970 ac_ext=cc
25971 ac_cpp='$CXXCPP $CPPFLAGS'
25972 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25973 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25974 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25975
25976 cat >conftest.$ac_ext <<_ACEOF
25977 /* confdefs.h. */
25978 _ACEOF
25979 cat confdefs.h >>conftest.$ac_ext
25980 cat >>conftest.$ac_ext <<_ACEOF
25981 /* end confdefs.h. */
25982 #include <math.h>
25983 int
25984 main ()
25985 {
25986 __builtin_fabs(0);
25987 ;
25988 return 0;
25989 }
25990 _ACEOF
25991 rm -f conftest.$ac_objext
25992 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25993 (eval $ac_compile) 2>conftest.er1
25994 ac_status=$?
25995 grep -v '^ *+' conftest.er1 >conftest.err
25996 rm -f conftest.er1
25997 cat conftest.err >&5
25998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25999 (exit $ac_status); } &&
26000 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26002 (eval $ac_try) 2>&5
26003 ac_status=$?
26004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26005 (exit $ac_status); }; } &&
26006 { ac_try='test -s conftest.$ac_objext'
26007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26008 (eval $ac_try) 2>&5
26009 ac_status=$?
26010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26011 (exit $ac_status); }; }; then
26012 glibcxx_cv_func___builtin_fabs_use=yes
26013 else
26014 echo "$as_me: failed program was:" >&5
26015 sed 's/^/| /' conftest.$ac_ext >&5
26016
26017 glibcxx_cv_func___builtin_fabs_use=no
26018 fi
26019 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26020 ac_ext=c
26021 ac_cpp='$CPP $CPPFLAGS'
26022 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26023 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26024 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26025
26026
26027 fi
26028
26029 fi
26030 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_use" >&5
26031 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_use" >&6
26032 if test x$glibcxx_cv_func___builtin_fabs_use = x"yes"; then
26033 echo "$as_me:$LINENO: checking for __builtin_fabs linkage" >&5
26034 echo $ECHO_N "checking for __builtin_fabs linkage... $ECHO_C" >&6
26035 if test x${glibcxx_cv_func___builtin_fabs_link+set} != xset; then
26036 if test "${glibcxx_cv_func___builtin_fabs_link+set}" = set; then
26037 echo $ECHO_N "(cached) $ECHO_C" >&6
26038 else
26039
26040 if test x$gcc_no_link = xyes; then
26041 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26042 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26043 { (exit 1); exit 1; }; }
26044 fi
26045 cat >conftest.$ac_ext <<_ACEOF
26046 /* confdefs.h. */
26047 _ACEOF
26048 cat confdefs.h >>conftest.$ac_ext
26049 cat >>conftest.$ac_ext <<_ACEOF
26050 /* end confdefs.h. */
26051 #include <math.h>
26052 int
26053 main ()
26054 {
26055 __builtin_fabs(0);
26056 ;
26057 return 0;
26058 }
26059 _ACEOF
26060 rm -f conftest.$ac_objext conftest$ac_exeext
26061 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26062 (eval $ac_link) 2>conftest.er1
26063 ac_status=$?
26064 grep -v '^ *+' conftest.er1 >conftest.err
26065 rm -f conftest.er1
26066 cat conftest.err >&5
26067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26068 (exit $ac_status); } &&
26069 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26070 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26071 (eval $ac_try) 2>&5
26072 ac_status=$?
26073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26074 (exit $ac_status); }; } &&
26075 { ac_try='test -s conftest$ac_exeext'
26076 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26077 (eval $ac_try) 2>&5
26078 ac_status=$?
26079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26080 (exit $ac_status); }; }; then
26081 glibcxx_cv_func___builtin_fabs_link=yes
26082 else
26083 echo "$as_me: failed program was:" >&5
26084 sed 's/^/| /' conftest.$ac_ext >&5
26085
26086 glibcxx_cv_func___builtin_fabs_link=no
26087 fi
26088 rm -f conftest.err conftest.$ac_objext \
26089 conftest$ac_exeext conftest.$ac_ext
26090
26091 fi
26092
26093 fi
26094 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_link" >&5
26095 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_link" >&6
26096
26097 if test x$glibcxx_cv_func___builtin_fabs_link = x"yes"; then
26098
26099 cat >>confdefs.h <<\_ACEOF
26100 #define HAVE___BUILTIN_FABS 1
26101 _ACEOF
26102
26103 fi
26104
26105 fi
26106
26107
26108 echo "$as_me:$LINENO: checking for __builtin_fabsl declaration" >&5
26109 echo $ECHO_N "checking for __builtin_fabsl declaration... $ECHO_C" >&6
26110 if test x${glibcxx_cv_func___builtin_fabsl_use+set} != xset; then
26111 if test "${glibcxx_cv_func___builtin_fabsl_use+set}" = set; then
26112 echo $ECHO_N "(cached) $ECHO_C" >&6
26113 else
26114
26115
26116
26117 ac_ext=cc
26118 ac_cpp='$CXXCPP $CPPFLAGS'
26119 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26120 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26121 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26122
26123 cat >conftest.$ac_ext <<_ACEOF
26124 /* confdefs.h. */
26125 _ACEOF
26126 cat confdefs.h >>conftest.$ac_ext
26127 cat >>conftest.$ac_ext <<_ACEOF
26128 /* end confdefs.h. */
26129 #include <math.h>
26130 int
26131 main ()
26132 {
26133 __builtin_fabsl(0);
26134 ;
26135 return 0;
26136 }
26137 _ACEOF
26138 rm -f conftest.$ac_objext
26139 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26140 (eval $ac_compile) 2>conftest.er1
26141 ac_status=$?
26142 grep -v '^ *+' conftest.er1 >conftest.err
26143 rm -f conftest.er1
26144 cat conftest.err >&5
26145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26146 (exit $ac_status); } &&
26147 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26149 (eval $ac_try) 2>&5
26150 ac_status=$?
26151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26152 (exit $ac_status); }; } &&
26153 { ac_try='test -s conftest.$ac_objext'
26154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26155 (eval $ac_try) 2>&5
26156 ac_status=$?
26157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26158 (exit $ac_status); }; }; then
26159 glibcxx_cv_func___builtin_fabsl_use=yes
26160 else
26161 echo "$as_me: failed program was:" >&5
26162 sed 's/^/| /' conftest.$ac_ext >&5
26163
26164 glibcxx_cv_func___builtin_fabsl_use=no
26165 fi
26166 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26167 ac_ext=c
26168 ac_cpp='$CPP $CPPFLAGS'
26169 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26170 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26171 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26172
26173
26174 fi
26175
26176 fi
26177 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_use" >&5
26178 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_use" >&6
26179 if test x$glibcxx_cv_func___builtin_fabsl_use = x"yes"; then
26180 echo "$as_me:$LINENO: checking for __builtin_fabsl linkage" >&5
26181 echo $ECHO_N "checking for __builtin_fabsl linkage... $ECHO_C" >&6
26182 if test x${glibcxx_cv_func___builtin_fabsl_link+set} != xset; then
26183 if test "${glibcxx_cv_func___builtin_fabsl_link+set}" = set; then
26184 echo $ECHO_N "(cached) $ECHO_C" >&6
26185 else
26186
26187 if test x$gcc_no_link = xyes; then
26188 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26189 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26190 { (exit 1); exit 1; }; }
26191 fi
26192 cat >conftest.$ac_ext <<_ACEOF
26193 /* confdefs.h. */
26194 _ACEOF
26195 cat confdefs.h >>conftest.$ac_ext
26196 cat >>conftest.$ac_ext <<_ACEOF
26197 /* end confdefs.h. */
26198 #include <math.h>
26199 int
26200 main ()
26201 {
26202 __builtin_fabsl(0);
26203 ;
26204 return 0;
26205 }
26206 _ACEOF
26207 rm -f conftest.$ac_objext conftest$ac_exeext
26208 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26209 (eval $ac_link) 2>conftest.er1
26210 ac_status=$?
26211 grep -v '^ *+' conftest.er1 >conftest.err
26212 rm -f conftest.er1
26213 cat conftest.err >&5
26214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26215 (exit $ac_status); } &&
26216 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26218 (eval $ac_try) 2>&5
26219 ac_status=$?
26220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26221 (exit $ac_status); }; } &&
26222 { ac_try='test -s conftest$ac_exeext'
26223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26224 (eval $ac_try) 2>&5
26225 ac_status=$?
26226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26227 (exit $ac_status); }; }; then
26228 glibcxx_cv_func___builtin_fabsl_link=yes
26229 else
26230 echo "$as_me: failed program was:" >&5
26231 sed 's/^/| /' conftest.$ac_ext >&5
26232
26233 glibcxx_cv_func___builtin_fabsl_link=no
26234 fi
26235 rm -f conftest.err conftest.$ac_objext \
26236 conftest$ac_exeext conftest.$ac_ext
26237
26238 fi
26239
26240 fi
26241 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_link" >&5
26242 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_link" >&6
26243
26244 if test x$glibcxx_cv_func___builtin_fabsl_link = x"yes"; then
26245
26246 cat >>confdefs.h <<\_ACEOF
26247 #define HAVE___BUILTIN_FABSL 1
26248 _ACEOF
26249
26250 fi
26251
26252 fi
26253
26254
26255 echo "$as_me:$LINENO: checking for __builtin_labs declaration" >&5
26256 echo $ECHO_N "checking for __builtin_labs declaration... $ECHO_C" >&6
26257 if test x${glibcxx_cv_func___builtin_labs_use+set} != xset; then
26258 if test "${glibcxx_cv_func___builtin_labs_use+set}" = set; then
26259 echo $ECHO_N "(cached) $ECHO_C" >&6
26260 else
26261
26262
26263
26264 ac_ext=cc
26265 ac_cpp='$CXXCPP $CPPFLAGS'
26266 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26267 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26268 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26269
26270 cat >conftest.$ac_ext <<_ACEOF
26271 /* confdefs.h. */
26272 _ACEOF
26273 cat confdefs.h >>conftest.$ac_ext
26274 cat >>conftest.$ac_ext <<_ACEOF
26275 /* end confdefs.h. */
26276 #include <math.h>
26277 int
26278 main ()
26279 {
26280 __builtin_labs(0);
26281 ;
26282 return 0;
26283 }
26284 _ACEOF
26285 rm -f conftest.$ac_objext
26286 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26287 (eval $ac_compile) 2>conftest.er1
26288 ac_status=$?
26289 grep -v '^ *+' conftest.er1 >conftest.err
26290 rm -f conftest.er1
26291 cat conftest.err >&5
26292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26293 (exit $ac_status); } &&
26294 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26296 (eval $ac_try) 2>&5
26297 ac_status=$?
26298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26299 (exit $ac_status); }; } &&
26300 { ac_try='test -s conftest.$ac_objext'
26301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26302 (eval $ac_try) 2>&5
26303 ac_status=$?
26304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26305 (exit $ac_status); }; }; then
26306 glibcxx_cv_func___builtin_labs_use=yes
26307 else
26308 echo "$as_me: failed program was:" >&5
26309 sed 's/^/| /' conftest.$ac_ext >&5
26310
26311 glibcxx_cv_func___builtin_labs_use=no
26312 fi
26313 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26314 ac_ext=c
26315 ac_cpp='$CPP $CPPFLAGS'
26316 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26317 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26318 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26319
26320
26321 fi
26322
26323 fi
26324 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_use" >&5
26325 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_use" >&6
26326 if test x$glibcxx_cv_func___builtin_labs_use = x"yes"; then
26327 echo "$as_me:$LINENO: checking for __builtin_labs linkage" >&5
26328 echo $ECHO_N "checking for __builtin_labs linkage... $ECHO_C" >&6
26329 if test x${glibcxx_cv_func___builtin_labs_link+set} != xset; then
26330 if test "${glibcxx_cv_func___builtin_labs_link+set}" = set; then
26331 echo $ECHO_N "(cached) $ECHO_C" >&6
26332 else
26333
26334 if test x$gcc_no_link = xyes; then
26335 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26336 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26337 { (exit 1); exit 1; }; }
26338 fi
26339 cat >conftest.$ac_ext <<_ACEOF
26340 /* confdefs.h. */
26341 _ACEOF
26342 cat confdefs.h >>conftest.$ac_ext
26343 cat >>conftest.$ac_ext <<_ACEOF
26344 /* end confdefs.h. */
26345 #include <math.h>
26346 int
26347 main ()
26348 {
26349 __builtin_labs(0);
26350 ;
26351 return 0;
26352 }
26353 _ACEOF
26354 rm -f conftest.$ac_objext conftest$ac_exeext
26355 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26356 (eval $ac_link) 2>conftest.er1
26357 ac_status=$?
26358 grep -v '^ *+' conftest.er1 >conftest.err
26359 rm -f conftest.er1
26360 cat conftest.err >&5
26361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26362 (exit $ac_status); } &&
26363 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26365 (eval $ac_try) 2>&5
26366 ac_status=$?
26367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26368 (exit $ac_status); }; } &&
26369 { ac_try='test -s conftest$ac_exeext'
26370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26371 (eval $ac_try) 2>&5
26372 ac_status=$?
26373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26374 (exit $ac_status); }; }; then
26375 glibcxx_cv_func___builtin_labs_link=yes
26376 else
26377 echo "$as_me: failed program was:" >&5
26378 sed 's/^/| /' conftest.$ac_ext >&5
26379
26380 glibcxx_cv_func___builtin_labs_link=no
26381 fi
26382 rm -f conftest.err conftest.$ac_objext \
26383 conftest$ac_exeext conftest.$ac_ext
26384
26385 fi
26386
26387 fi
26388 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_link" >&5
26389 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_link" >&6
26390
26391 if test x$glibcxx_cv_func___builtin_labs_link = x"yes"; then
26392
26393 cat >>confdefs.h <<\_ACEOF
26394 #define HAVE___BUILTIN_LABS 1
26395 _ACEOF
26396
26397 fi
26398
26399 fi
26400
26401
26402
26403 echo "$as_me:$LINENO: checking for __builtin_sqrtf declaration" >&5
26404 echo $ECHO_N "checking for __builtin_sqrtf declaration... $ECHO_C" >&6
26405 if test x${glibcxx_cv_func___builtin_sqrtf_use+set} != xset; then
26406 if test "${glibcxx_cv_func___builtin_sqrtf_use+set}" = set; then
26407 echo $ECHO_N "(cached) $ECHO_C" >&6
26408 else
26409
26410
26411
26412 ac_ext=cc
26413 ac_cpp='$CXXCPP $CPPFLAGS'
26414 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26415 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26416 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26417
26418 cat >conftest.$ac_ext <<_ACEOF
26419 /* confdefs.h. */
26420 _ACEOF
26421 cat confdefs.h >>conftest.$ac_ext
26422 cat >>conftest.$ac_ext <<_ACEOF
26423 /* end confdefs.h. */
26424 #include <math.h>
26425 int
26426 main ()
26427 {
26428 __builtin_sqrtf(0);
26429 ;
26430 return 0;
26431 }
26432 _ACEOF
26433 rm -f conftest.$ac_objext
26434 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26435 (eval $ac_compile) 2>conftest.er1
26436 ac_status=$?
26437 grep -v '^ *+' conftest.er1 >conftest.err
26438 rm -f conftest.er1
26439 cat conftest.err >&5
26440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26441 (exit $ac_status); } &&
26442 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26444 (eval $ac_try) 2>&5
26445 ac_status=$?
26446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26447 (exit $ac_status); }; } &&
26448 { ac_try='test -s conftest.$ac_objext'
26449 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26450 (eval $ac_try) 2>&5
26451 ac_status=$?
26452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26453 (exit $ac_status); }; }; then
26454 glibcxx_cv_func___builtin_sqrtf_use=yes
26455 else
26456 echo "$as_me: failed program was:" >&5
26457 sed 's/^/| /' conftest.$ac_ext >&5
26458
26459 glibcxx_cv_func___builtin_sqrtf_use=no
26460 fi
26461 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26462 ac_ext=c
26463 ac_cpp='$CPP $CPPFLAGS'
26464 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26465 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26466 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26467
26468
26469 fi
26470
26471 fi
26472 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_use" >&5
26473 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_use" >&6
26474 if test x$glibcxx_cv_func___builtin_sqrtf_use = x"yes"; then
26475 echo "$as_me:$LINENO: checking for __builtin_sqrtf linkage" >&5
26476 echo $ECHO_N "checking for __builtin_sqrtf linkage... $ECHO_C" >&6
26477 if test x${glibcxx_cv_func___builtin_sqrtf_link+set} != xset; then
26478 if test "${glibcxx_cv_func___builtin_sqrtf_link+set}" = set; then
26479 echo $ECHO_N "(cached) $ECHO_C" >&6
26480 else
26481
26482 if test x$gcc_no_link = xyes; then
26483 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26484 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26485 { (exit 1); exit 1; }; }
26486 fi
26487 cat >conftest.$ac_ext <<_ACEOF
26488 /* confdefs.h. */
26489 _ACEOF
26490 cat confdefs.h >>conftest.$ac_ext
26491 cat >>conftest.$ac_ext <<_ACEOF
26492 /* end confdefs.h. */
26493 #include <math.h>
26494 int
26495 main ()
26496 {
26497 __builtin_sqrtf(0);
26498 ;
26499 return 0;
26500 }
26501 _ACEOF
26502 rm -f conftest.$ac_objext conftest$ac_exeext
26503 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26504 (eval $ac_link) 2>conftest.er1
26505 ac_status=$?
26506 grep -v '^ *+' conftest.er1 >conftest.err
26507 rm -f conftest.er1
26508 cat conftest.err >&5
26509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26510 (exit $ac_status); } &&
26511 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26513 (eval $ac_try) 2>&5
26514 ac_status=$?
26515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26516 (exit $ac_status); }; } &&
26517 { ac_try='test -s conftest$ac_exeext'
26518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26519 (eval $ac_try) 2>&5
26520 ac_status=$?
26521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26522 (exit $ac_status); }; }; then
26523 glibcxx_cv_func___builtin_sqrtf_link=yes
26524 else
26525 echo "$as_me: failed program was:" >&5
26526 sed 's/^/| /' conftest.$ac_ext >&5
26527
26528 glibcxx_cv_func___builtin_sqrtf_link=no
26529 fi
26530 rm -f conftest.err conftest.$ac_objext \
26531 conftest$ac_exeext conftest.$ac_ext
26532
26533 fi
26534
26535 fi
26536 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_link" >&5
26537 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_link" >&6
26538
26539 if test x$glibcxx_cv_func___builtin_sqrtf_link = x"yes"; then
26540
26541 cat >>confdefs.h <<\_ACEOF
26542 #define HAVE___BUILTIN_SQRTF 1
26543 _ACEOF
26544
26545 fi
26546
26547 fi
26548
26549
26550 echo "$as_me:$LINENO: checking for __builtin_sqrt declaration" >&5
26551 echo $ECHO_N "checking for __builtin_sqrt declaration... $ECHO_C" >&6
26552 if test x${glibcxx_cv_func___builtin_sqrt_use+set} != xset; then
26553 if test "${glibcxx_cv_func___builtin_sqrt_use+set}" = set; then
26554 echo $ECHO_N "(cached) $ECHO_C" >&6
26555 else
26556
26557
26558
26559 ac_ext=cc
26560 ac_cpp='$CXXCPP $CPPFLAGS'
26561 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26562 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26563 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26564
26565 cat >conftest.$ac_ext <<_ACEOF
26566 /* confdefs.h. */
26567 _ACEOF
26568 cat confdefs.h >>conftest.$ac_ext
26569 cat >>conftest.$ac_ext <<_ACEOF
26570 /* end confdefs.h. */
26571 #include <math.h>
26572 int
26573 main ()
26574 {
26575 __builtin_sqrt(0);
26576 ;
26577 return 0;
26578 }
26579 _ACEOF
26580 rm -f conftest.$ac_objext
26581 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26582 (eval $ac_compile) 2>conftest.er1
26583 ac_status=$?
26584 grep -v '^ *+' conftest.er1 >conftest.err
26585 rm -f conftest.er1
26586 cat conftest.err >&5
26587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26588 (exit $ac_status); } &&
26589 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26591 (eval $ac_try) 2>&5
26592 ac_status=$?
26593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26594 (exit $ac_status); }; } &&
26595 { ac_try='test -s conftest.$ac_objext'
26596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26597 (eval $ac_try) 2>&5
26598 ac_status=$?
26599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26600 (exit $ac_status); }; }; then
26601 glibcxx_cv_func___builtin_sqrt_use=yes
26602 else
26603 echo "$as_me: failed program was:" >&5
26604 sed 's/^/| /' conftest.$ac_ext >&5
26605
26606 glibcxx_cv_func___builtin_sqrt_use=no
26607 fi
26608 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26609 ac_ext=c
26610 ac_cpp='$CPP $CPPFLAGS'
26611 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26612 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26613 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26614
26615
26616 fi
26617
26618 fi
26619 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_use" >&5
26620 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_use" >&6
26621 if test x$glibcxx_cv_func___builtin_sqrt_use = x"yes"; then
26622 echo "$as_me:$LINENO: checking for __builtin_sqrt linkage" >&5
26623 echo $ECHO_N "checking for __builtin_sqrt linkage... $ECHO_C" >&6
26624 if test x${glibcxx_cv_func___builtin_sqrt_link+set} != xset; then
26625 if test "${glibcxx_cv_func___builtin_sqrt_link+set}" = set; then
26626 echo $ECHO_N "(cached) $ECHO_C" >&6
26627 else
26628
26629 if test x$gcc_no_link = xyes; then
26630 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26631 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26632 { (exit 1); exit 1; }; }
26633 fi
26634 cat >conftest.$ac_ext <<_ACEOF
26635 /* confdefs.h. */
26636 _ACEOF
26637 cat confdefs.h >>conftest.$ac_ext
26638 cat >>conftest.$ac_ext <<_ACEOF
26639 /* end confdefs.h. */
26640 #include <math.h>
26641 int
26642 main ()
26643 {
26644 __builtin_sqrt(0);
26645 ;
26646 return 0;
26647 }
26648 _ACEOF
26649 rm -f conftest.$ac_objext conftest$ac_exeext
26650 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26651 (eval $ac_link) 2>conftest.er1
26652 ac_status=$?
26653 grep -v '^ *+' conftest.er1 >conftest.err
26654 rm -f conftest.er1
26655 cat conftest.err >&5
26656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26657 (exit $ac_status); } &&
26658 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26660 (eval $ac_try) 2>&5
26661 ac_status=$?
26662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26663 (exit $ac_status); }; } &&
26664 { ac_try='test -s conftest$ac_exeext'
26665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26666 (eval $ac_try) 2>&5
26667 ac_status=$?
26668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26669 (exit $ac_status); }; }; then
26670 glibcxx_cv_func___builtin_sqrt_link=yes
26671 else
26672 echo "$as_me: failed program was:" >&5
26673 sed 's/^/| /' conftest.$ac_ext >&5
26674
26675 glibcxx_cv_func___builtin_sqrt_link=no
26676 fi
26677 rm -f conftest.err conftest.$ac_objext \
26678 conftest$ac_exeext conftest.$ac_ext
26679
26680 fi
26681
26682 fi
26683 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_link" >&5
26684 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_link" >&6
26685
26686 if test x$glibcxx_cv_func___builtin_sqrt_link = x"yes"; then
26687
26688 cat >>confdefs.h <<\_ACEOF
26689 #define HAVE___BUILTIN_SQRT 1
26690 _ACEOF
26691
26692 fi
26693
26694 fi
26695
26696
26697 echo "$as_me:$LINENO: checking for __builtin_sqrtl declaration" >&5
26698 echo $ECHO_N "checking for __builtin_sqrtl declaration... $ECHO_C" >&6
26699 if test x${glibcxx_cv_func___builtin_sqrtl_use+set} != xset; then
26700 if test "${glibcxx_cv_func___builtin_sqrtl_use+set}" = set; then
26701 echo $ECHO_N "(cached) $ECHO_C" >&6
26702 else
26703
26704
26705
26706 ac_ext=cc
26707 ac_cpp='$CXXCPP $CPPFLAGS'
26708 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26709 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26710 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26711
26712 cat >conftest.$ac_ext <<_ACEOF
26713 /* confdefs.h. */
26714 _ACEOF
26715 cat confdefs.h >>conftest.$ac_ext
26716 cat >>conftest.$ac_ext <<_ACEOF
26717 /* end confdefs.h. */
26718 #include <math.h>
26719 int
26720 main ()
26721 {
26722 __builtin_sqrtl(0);
26723 ;
26724 return 0;
26725 }
26726 _ACEOF
26727 rm -f conftest.$ac_objext
26728 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26729 (eval $ac_compile) 2>conftest.er1
26730 ac_status=$?
26731 grep -v '^ *+' conftest.er1 >conftest.err
26732 rm -f conftest.er1
26733 cat conftest.err >&5
26734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26735 (exit $ac_status); } &&
26736 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26738 (eval $ac_try) 2>&5
26739 ac_status=$?
26740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26741 (exit $ac_status); }; } &&
26742 { ac_try='test -s conftest.$ac_objext'
26743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26744 (eval $ac_try) 2>&5
26745 ac_status=$?
26746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26747 (exit $ac_status); }; }; then
26748 glibcxx_cv_func___builtin_sqrtl_use=yes
26749 else
26750 echo "$as_me: failed program was:" >&5
26751 sed 's/^/| /' conftest.$ac_ext >&5
26752
26753 glibcxx_cv_func___builtin_sqrtl_use=no
26754 fi
26755 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26756 ac_ext=c
26757 ac_cpp='$CPP $CPPFLAGS'
26758 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26759 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26760 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26761
26762
26763 fi
26764
26765 fi
26766 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_use" >&5
26767 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_use" >&6
26768 if test x$glibcxx_cv_func___builtin_sqrtl_use = x"yes"; then
26769 echo "$as_me:$LINENO: checking for __builtin_sqrtl linkage" >&5
26770 echo $ECHO_N "checking for __builtin_sqrtl linkage... $ECHO_C" >&6
26771 if test x${glibcxx_cv_func___builtin_sqrtl_link+set} != xset; then
26772 if test "${glibcxx_cv_func___builtin_sqrtl_link+set}" = set; then
26773 echo $ECHO_N "(cached) $ECHO_C" >&6
26774 else
26775
26776 if test x$gcc_no_link = xyes; then
26777 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26778 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26779 { (exit 1); exit 1; }; }
26780 fi
26781 cat >conftest.$ac_ext <<_ACEOF
26782 /* confdefs.h. */
26783 _ACEOF
26784 cat confdefs.h >>conftest.$ac_ext
26785 cat >>conftest.$ac_ext <<_ACEOF
26786 /* end confdefs.h. */
26787 #include <math.h>
26788 int
26789 main ()
26790 {
26791 __builtin_sqrtl(0);
26792 ;
26793 return 0;
26794 }
26795 _ACEOF
26796 rm -f conftest.$ac_objext conftest$ac_exeext
26797 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26798 (eval $ac_link) 2>conftest.er1
26799 ac_status=$?
26800 grep -v '^ *+' conftest.er1 >conftest.err
26801 rm -f conftest.er1
26802 cat conftest.err >&5
26803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26804 (exit $ac_status); } &&
26805 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26807 (eval $ac_try) 2>&5
26808 ac_status=$?
26809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26810 (exit $ac_status); }; } &&
26811 { ac_try='test -s conftest$ac_exeext'
26812 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26813 (eval $ac_try) 2>&5
26814 ac_status=$?
26815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26816 (exit $ac_status); }; }; then
26817 glibcxx_cv_func___builtin_sqrtl_link=yes
26818 else
26819 echo "$as_me: failed program was:" >&5
26820 sed 's/^/| /' conftest.$ac_ext >&5
26821
26822 glibcxx_cv_func___builtin_sqrtl_link=no
26823 fi
26824 rm -f conftest.err conftest.$ac_objext \
26825 conftest$ac_exeext conftest.$ac_ext
26826
26827 fi
26828
26829 fi
26830 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_link" >&5
26831 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_link" >&6
26832
26833 if test x$glibcxx_cv_func___builtin_sqrtl_link = x"yes"; then
26834
26835 cat >>confdefs.h <<\_ACEOF
26836 #define HAVE___BUILTIN_SQRTL 1
26837 _ACEOF
26838
26839 fi
26840
26841 fi
26842
26843
26844
26845 echo "$as_me:$LINENO: checking for __builtin_sinf declaration" >&5
26846 echo $ECHO_N "checking for __builtin_sinf declaration... $ECHO_C" >&6
26847 if test x${glibcxx_cv_func___builtin_sinf_use+set} != xset; then
26848 if test "${glibcxx_cv_func___builtin_sinf_use+set}" = set; then
26849 echo $ECHO_N "(cached) $ECHO_C" >&6
26850 else
26851
26852
26853
26854 ac_ext=cc
26855 ac_cpp='$CXXCPP $CPPFLAGS'
26856 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26857 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26858 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26859
26860 cat >conftest.$ac_ext <<_ACEOF
26861 /* confdefs.h. */
26862 _ACEOF
26863 cat confdefs.h >>conftest.$ac_ext
26864 cat >>conftest.$ac_ext <<_ACEOF
26865 /* end confdefs.h. */
26866 #include <math.h>
26867 int
26868 main ()
26869 {
26870 __builtin_sinf(0);
26871 ;
26872 return 0;
26873 }
26874 _ACEOF
26875 rm -f conftest.$ac_objext
26876 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26877 (eval $ac_compile) 2>conftest.er1
26878 ac_status=$?
26879 grep -v '^ *+' conftest.er1 >conftest.err
26880 rm -f conftest.er1
26881 cat conftest.err >&5
26882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26883 (exit $ac_status); } &&
26884 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26886 (eval $ac_try) 2>&5
26887 ac_status=$?
26888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26889 (exit $ac_status); }; } &&
26890 { ac_try='test -s conftest.$ac_objext'
26891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26892 (eval $ac_try) 2>&5
26893 ac_status=$?
26894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26895 (exit $ac_status); }; }; then
26896 glibcxx_cv_func___builtin_sinf_use=yes
26897 else
26898 echo "$as_me: failed program was:" >&5
26899 sed 's/^/| /' conftest.$ac_ext >&5
26900
26901 glibcxx_cv_func___builtin_sinf_use=no
26902 fi
26903 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26904 ac_ext=c
26905 ac_cpp='$CPP $CPPFLAGS'
26906 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26907 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26908 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26909
26910
26911 fi
26912
26913 fi
26914 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_use" >&5
26915 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_use" >&6
26916 if test x$glibcxx_cv_func___builtin_sinf_use = x"yes"; then
26917 echo "$as_me:$LINENO: checking for __builtin_sinf linkage" >&5
26918 echo $ECHO_N "checking for __builtin_sinf linkage... $ECHO_C" >&6
26919 if test x${glibcxx_cv_func___builtin_sinf_link+set} != xset; then
26920 if test "${glibcxx_cv_func___builtin_sinf_link+set}" = set; then
26921 echo $ECHO_N "(cached) $ECHO_C" >&6
26922 else
26923
26924 if test x$gcc_no_link = xyes; then
26925 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26926 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26927 { (exit 1); exit 1; }; }
26928 fi
26929 cat >conftest.$ac_ext <<_ACEOF
26930 /* confdefs.h. */
26931 _ACEOF
26932 cat confdefs.h >>conftest.$ac_ext
26933 cat >>conftest.$ac_ext <<_ACEOF
26934 /* end confdefs.h. */
26935 #include <math.h>
26936 int
26937 main ()
26938 {
26939 __builtin_sinf(0);
26940 ;
26941 return 0;
26942 }
26943 _ACEOF
26944 rm -f conftest.$ac_objext conftest$ac_exeext
26945 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26946 (eval $ac_link) 2>conftest.er1
26947 ac_status=$?
26948 grep -v '^ *+' conftest.er1 >conftest.err
26949 rm -f conftest.er1
26950 cat conftest.err >&5
26951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26952 (exit $ac_status); } &&
26953 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26954 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26955 (eval $ac_try) 2>&5
26956 ac_status=$?
26957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26958 (exit $ac_status); }; } &&
26959 { ac_try='test -s conftest$ac_exeext'
26960 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26961 (eval $ac_try) 2>&5
26962 ac_status=$?
26963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26964 (exit $ac_status); }; }; then
26965 glibcxx_cv_func___builtin_sinf_link=yes
26966 else
26967 echo "$as_me: failed program was:" >&5
26968 sed 's/^/| /' conftest.$ac_ext >&5
26969
26970 glibcxx_cv_func___builtin_sinf_link=no
26971 fi
26972 rm -f conftest.err conftest.$ac_objext \
26973 conftest$ac_exeext conftest.$ac_ext
26974
26975 fi
26976
26977 fi
26978 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_link" >&5
26979 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_link" >&6
26980
26981 if test x$glibcxx_cv_func___builtin_sinf_link = x"yes"; then
26982
26983 cat >>confdefs.h <<\_ACEOF
26984 #define HAVE___BUILTIN_SINF 1
26985 _ACEOF
26986
26987 fi
26988
26989 fi
26990
26991
26992 echo "$as_me:$LINENO: checking for __builtin_sin declaration" >&5
26993 echo $ECHO_N "checking for __builtin_sin declaration... $ECHO_C" >&6
26994 if test x${glibcxx_cv_func___builtin_sin_use+set} != xset; then
26995 if test "${glibcxx_cv_func___builtin_sin_use+set}" = set; then
26996 echo $ECHO_N "(cached) $ECHO_C" >&6
26997 else
26998
26999
27000
27001 ac_ext=cc
27002 ac_cpp='$CXXCPP $CPPFLAGS'
27003 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27004 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27005 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27006
27007 cat >conftest.$ac_ext <<_ACEOF
27008 /* confdefs.h. */
27009 _ACEOF
27010 cat confdefs.h >>conftest.$ac_ext
27011 cat >>conftest.$ac_ext <<_ACEOF
27012 /* end confdefs.h. */
27013 #include <math.h>
27014 int
27015 main ()
27016 {
27017 __builtin_sin(0);
27018 ;
27019 return 0;
27020 }
27021 _ACEOF
27022 rm -f conftest.$ac_objext
27023 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27024 (eval $ac_compile) 2>conftest.er1
27025 ac_status=$?
27026 grep -v '^ *+' conftest.er1 >conftest.err
27027 rm -f conftest.er1
27028 cat conftest.err >&5
27029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27030 (exit $ac_status); } &&
27031 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
27032 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27033 (eval $ac_try) 2>&5
27034 ac_status=$?
27035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27036 (exit $ac_status); }; } &&
27037 { ac_try='test -s conftest.$ac_objext'
27038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27039 (eval $ac_try) 2>&5
27040 ac_status=$?
27041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27042 (exit $ac_status); }; }; then
27043 glibcxx_cv_func___builtin_sin_use=yes
27044 else
27045 echo "$as_me: failed program was:" >&5
27046 sed 's/^/| /' conftest.$ac_ext >&5
27047
27048 glibcxx_cv_func___builtin_sin_use=no
27049 fi
27050 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27051 ac_ext=c
27052 ac_cpp='$CPP $CPPFLAGS'
27053 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27054 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27055 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27056
27057
27058 fi
27059
27060 fi
27061 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_use" >&5
27062 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_use" >&6
27063 if test x$glibcxx_cv_func___builtin_sin_use = x"yes"; then
27064 echo "$as_me:$LINENO: checking for __builtin_sin linkage" >&5
27065 echo $ECHO_N "checking for __builtin_sin linkage... $ECHO_C" >&6
27066 if test x${glibcxx_cv_func___builtin_sin_link+set} != xset; then
27067 if test "${glibcxx_cv_func___builtin_sin_link+set}" = set; then
27068 echo $ECHO_N "(cached) $ECHO_C" >&6
27069 else
27070
27071 if test x$gcc_no_link = xyes; then
27072 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27073 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27074 { (exit 1); exit 1; }; }
27075 fi
27076 cat >conftest.$ac_ext <<_ACEOF
27077 /* confdefs.h. */
27078 _ACEOF
27079 cat confdefs.h >>conftest.$ac_ext
27080 cat >>conftest.$ac_ext <<_ACEOF
27081 /* end confdefs.h. */
27082 #include <math.h>
27083 int
27084 main ()
27085 {
27086 __builtin_sin(0);
27087 ;
27088 return 0;
27089 }
27090 _ACEOF
27091 rm -f conftest.$ac_objext conftest$ac_exeext
27092 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27093 (eval $ac_link) 2>conftest.er1
27094 ac_status=$?
27095 grep -v '^ *+' conftest.er1 >conftest.err
27096 rm -f conftest.er1
27097 cat conftest.err >&5
27098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27099 (exit $ac_status); } &&
27100 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27102 (eval $ac_try) 2>&5
27103 ac_status=$?
27104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27105 (exit $ac_status); }; } &&
27106 { ac_try='test -s conftest$ac_exeext'
27107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27108 (eval $ac_try) 2>&5
27109 ac_status=$?
27110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27111 (exit $ac_status); }; }; then
27112 glibcxx_cv_func___builtin_sin_link=yes
27113 else
27114 echo "$as_me: failed program was:" >&5
27115 sed 's/^/| /' conftest.$ac_ext >&5
27116
27117 glibcxx_cv_func___builtin_sin_link=no
27118 fi
27119 rm -f conftest.err conftest.$ac_objext \
27120 conftest$ac_exeext conftest.$ac_ext
27121
27122 fi
27123
27124 fi
27125 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_link" >&5
27126 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_link" >&6
27127
27128 if test x$glibcxx_cv_func___builtin_sin_link = x"yes"; then
27129
27130 cat >>confdefs.h <<\_ACEOF
27131 #define HAVE___BUILTIN_SIN 1
27132 _ACEOF
27133
27134 fi
27135
27136 fi
27137
27138
27139 echo "$as_me:$LINENO: checking for __builtin_sinl declaration" >&5
27140 echo $ECHO_N "checking for __builtin_sinl declaration... $ECHO_C" >&6
27141 if test x${glibcxx_cv_func___builtin_sinl_use+set} != xset; then
27142 if test "${glibcxx_cv_func___builtin_sinl_use+set}" = set; then
27143 echo $ECHO_N "(cached) $ECHO_C" >&6
27144 else
27145
27146
27147
27148 ac_ext=cc
27149 ac_cpp='$CXXCPP $CPPFLAGS'
27150 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27151 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27152 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27153
27154 cat >conftest.$ac_ext <<_ACEOF
27155 /* confdefs.h. */
27156 _ACEOF
27157 cat confdefs.h >>conftest.$ac_ext
27158 cat >>conftest.$ac_ext <<_ACEOF
27159 /* end confdefs.h. */
27160 #include <math.h>
27161 int
27162 main ()
27163 {
27164 __builtin_sinl(0);
27165 ;
27166 return 0;
27167 }
27168 _ACEOF
27169 rm -f conftest.$ac_objext
27170 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27171 (eval $ac_compile) 2>conftest.er1
27172 ac_status=$?
27173 grep -v '^ *+' conftest.er1 >conftest.err
27174 rm -f conftest.er1
27175 cat conftest.err >&5
27176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27177 (exit $ac_status); } &&
27178 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
27179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27180 (eval $ac_try) 2>&5
27181 ac_status=$?
27182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27183 (exit $ac_status); }; } &&
27184 { ac_try='test -s conftest.$ac_objext'
27185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27186 (eval $ac_try) 2>&5
27187 ac_status=$?
27188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27189 (exit $ac_status); }; }; then
27190 glibcxx_cv_func___builtin_sinl_use=yes
27191 else
27192 echo "$as_me: failed program was:" >&5
27193 sed 's/^/| /' conftest.$ac_ext >&5
27194
27195 glibcxx_cv_func___builtin_sinl_use=no
27196 fi
27197 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27198 ac_ext=c
27199 ac_cpp='$CPP $CPPFLAGS'
27200 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27201 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27202 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27203
27204
27205 fi
27206
27207 fi
27208 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_use" >&5
27209 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_use" >&6
27210 if test x$glibcxx_cv_func___builtin_sinl_use = x"yes"; then
27211 echo "$as_me:$LINENO: checking for __builtin_sinl linkage" >&5
27212 echo $ECHO_N "checking for __builtin_sinl linkage... $ECHO_C" >&6
27213 if test x${glibcxx_cv_func___builtin_sinl_link+set} != xset; then
27214 if test "${glibcxx_cv_func___builtin_sinl_link+set}" = set; then
27215 echo $ECHO_N "(cached) $ECHO_C" >&6
27216 else
27217
27218 if test x$gcc_no_link = xyes; then
27219 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27220 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27221 { (exit 1); exit 1; }; }
27222 fi
27223 cat >conftest.$ac_ext <<_ACEOF
27224 /* confdefs.h. */
27225 _ACEOF
27226 cat confdefs.h >>conftest.$ac_ext
27227 cat >>conftest.$ac_ext <<_ACEOF
27228 /* end confdefs.h. */
27229 #include <math.h>
27230 int
27231 main ()
27232 {
27233 __builtin_sinl(0);
27234 ;
27235 return 0;
27236 }
27237 _ACEOF
27238 rm -f conftest.$ac_objext conftest$ac_exeext
27239 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27240 (eval $ac_link) 2>conftest.er1
27241 ac_status=$?
27242 grep -v '^ *+' conftest.er1 >conftest.err
27243 rm -f conftest.er1
27244 cat conftest.err >&5
27245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27246 (exit $ac_status); } &&
27247 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27249 (eval $ac_try) 2>&5
27250 ac_status=$?
27251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27252 (exit $ac_status); }; } &&
27253 { ac_try='test -s conftest$ac_exeext'
27254 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27255 (eval $ac_try) 2>&5
27256 ac_status=$?
27257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27258 (exit $ac_status); }; }; then
27259 glibcxx_cv_func___builtin_sinl_link=yes
27260 else
27261 echo "$as_me: failed program was:" >&5
27262 sed 's/^/| /' conftest.$ac_ext >&5
27263
27264 glibcxx_cv_func___builtin_sinl_link=no
27265 fi
27266 rm -f conftest.err conftest.$ac_objext \
27267 conftest$ac_exeext conftest.$ac_ext
27268
27269 fi
27270
27271 fi
27272 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_link" >&5
27273 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_link" >&6
27274
27275 if test x$glibcxx_cv_func___builtin_sinl_link = x"yes"; then
27276
27277 cat >>confdefs.h <<\_ACEOF
27278 #define HAVE___BUILTIN_SINL 1
27279 _ACEOF
27280
27281 fi
27282
27283 fi
27284
27285
27286
27287 echo "$as_me:$LINENO: checking for __builtin_cosf declaration" >&5
27288 echo $ECHO_N "checking for __builtin_cosf declaration... $ECHO_C" >&6
27289 if test x${glibcxx_cv_func___builtin_cosf_use+set} != xset; then
27290 if test "${glibcxx_cv_func___builtin_cosf_use+set}" = set; then
27291 echo $ECHO_N "(cached) $ECHO_C" >&6
27292 else
27293
27294
27295
27296 ac_ext=cc
27297 ac_cpp='$CXXCPP $CPPFLAGS'
27298 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27299 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27300 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27301
27302 cat >conftest.$ac_ext <<_ACEOF
27303 /* confdefs.h. */
27304 _ACEOF
27305 cat confdefs.h >>conftest.$ac_ext
27306 cat >>conftest.$ac_ext <<_ACEOF
27307 /* end confdefs.h. */
27308 #include <math.h>
27309 int
27310 main ()
27311 {
27312 __builtin_cosf(0);
27313 ;
27314 return 0;
27315 }
27316 _ACEOF
27317 rm -f conftest.$ac_objext
27318 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27319 (eval $ac_compile) 2>conftest.er1
27320 ac_status=$?
27321 grep -v '^ *+' conftest.er1 >conftest.err
27322 rm -f conftest.er1
27323 cat conftest.err >&5
27324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27325 (exit $ac_status); } &&
27326 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
27327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27328 (eval $ac_try) 2>&5
27329 ac_status=$?
27330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27331 (exit $ac_status); }; } &&
27332 { ac_try='test -s conftest.$ac_objext'
27333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27334 (eval $ac_try) 2>&5
27335 ac_status=$?
27336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27337 (exit $ac_status); }; }; then
27338 glibcxx_cv_func___builtin_cosf_use=yes
27339 else
27340 echo "$as_me: failed program was:" >&5
27341 sed 's/^/| /' conftest.$ac_ext >&5
27342
27343 glibcxx_cv_func___builtin_cosf_use=no
27344 fi
27345 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27346 ac_ext=c
27347 ac_cpp='$CPP $CPPFLAGS'
27348 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27349 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27350 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27351
27352
27353 fi
27354
27355 fi
27356 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_use" >&5
27357 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_use" >&6
27358 if test x$glibcxx_cv_func___builtin_cosf_use = x"yes"; then
27359 echo "$as_me:$LINENO: checking for __builtin_cosf linkage" >&5
27360 echo $ECHO_N "checking for __builtin_cosf linkage... $ECHO_C" >&6
27361 if test x${glibcxx_cv_func___builtin_cosf_link+set} != xset; then
27362 if test "${glibcxx_cv_func___builtin_cosf_link+set}" = set; then
27363 echo $ECHO_N "(cached) $ECHO_C" >&6
27364 else
27365
27366 if test x$gcc_no_link = xyes; then
27367 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27368 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27369 { (exit 1); exit 1; }; }
27370 fi
27371 cat >conftest.$ac_ext <<_ACEOF
27372 /* confdefs.h. */
27373 _ACEOF
27374 cat confdefs.h >>conftest.$ac_ext
27375 cat >>conftest.$ac_ext <<_ACEOF
27376 /* end confdefs.h. */
27377 #include <math.h>
27378 int
27379 main ()
27380 {
27381 __builtin_cosf(0);
27382 ;
27383 return 0;
27384 }
27385 _ACEOF
27386 rm -f conftest.$ac_objext conftest$ac_exeext
27387 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27388 (eval $ac_link) 2>conftest.er1
27389 ac_status=$?
27390 grep -v '^ *+' conftest.er1 >conftest.err
27391 rm -f conftest.er1
27392 cat conftest.err >&5
27393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27394 (exit $ac_status); } &&
27395 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27397 (eval $ac_try) 2>&5
27398 ac_status=$?
27399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27400 (exit $ac_status); }; } &&
27401 { ac_try='test -s conftest$ac_exeext'
27402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27403 (eval $ac_try) 2>&5
27404 ac_status=$?
27405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27406 (exit $ac_status); }; }; then
27407 glibcxx_cv_func___builtin_cosf_link=yes
27408 else
27409 echo "$as_me: failed program was:" >&5
27410 sed 's/^/| /' conftest.$ac_ext >&5
27411
27412 glibcxx_cv_func___builtin_cosf_link=no
27413 fi
27414 rm -f conftest.err conftest.$ac_objext \
27415 conftest$ac_exeext conftest.$ac_ext
27416
27417 fi
27418
27419 fi
27420 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_link" >&5
27421 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_link" >&6
27422
27423 if test x$glibcxx_cv_func___builtin_cosf_link = x"yes"; then
27424
27425 cat >>confdefs.h <<\_ACEOF
27426 #define HAVE___BUILTIN_COSF 1
27427 _ACEOF
27428
27429 fi
27430
27431 fi
27432
27433
27434 echo "$as_me:$LINENO: checking for __builtin_cos declaration" >&5
27435 echo $ECHO_N "checking for __builtin_cos declaration... $ECHO_C" >&6
27436 if test x${glibcxx_cv_func___builtin_cos_use+set} != xset; then
27437 if test "${glibcxx_cv_func___builtin_cos_use+set}" = set; then
27438 echo $ECHO_N "(cached) $ECHO_C" >&6
27439 else
27440
27441
27442
27443 ac_ext=cc
27444 ac_cpp='$CXXCPP $CPPFLAGS'
27445 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27446 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27447 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27448
27449 cat >conftest.$ac_ext <<_ACEOF
27450 /* confdefs.h. */
27451 _ACEOF
27452 cat confdefs.h >>conftest.$ac_ext
27453 cat >>conftest.$ac_ext <<_ACEOF
27454 /* end confdefs.h. */
27455 #include <math.h>
27456 int
27457 main ()
27458 {
27459 __builtin_cos(0);
27460 ;
27461 return 0;
27462 }
27463 _ACEOF
27464 rm -f conftest.$ac_objext
27465 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27466 (eval $ac_compile) 2>conftest.er1
27467 ac_status=$?
27468 grep -v '^ *+' conftest.er1 >conftest.err
27469 rm -f conftest.er1
27470 cat conftest.err >&5
27471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27472 (exit $ac_status); } &&
27473 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
27474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27475 (eval $ac_try) 2>&5
27476 ac_status=$?
27477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27478 (exit $ac_status); }; } &&
27479 { ac_try='test -s conftest.$ac_objext'
27480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27481 (eval $ac_try) 2>&5
27482 ac_status=$?
27483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27484 (exit $ac_status); }; }; then
27485 glibcxx_cv_func___builtin_cos_use=yes
27486 else
27487 echo "$as_me: failed program was:" >&5
27488 sed 's/^/| /' conftest.$ac_ext >&5
27489
27490 glibcxx_cv_func___builtin_cos_use=no
27491 fi
27492 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27493 ac_ext=c
27494 ac_cpp='$CPP $CPPFLAGS'
27495 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27496 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27497 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27498
27499
27500 fi
27501
27502 fi
27503 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_use" >&5
27504 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_use" >&6
27505 if test x$glibcxx_cv_func___builtin_cos_use = x"yes"; then
27506 echo "$as_me:$LINENO: checking for __builtin_cos linkage" >&5
27507 echo $ECHO_N "checking for __builtin_cos linkage... $ECHO_C" >&6
27508 if test x${glibcxx_cv_func___builtin_cos_link+set} != xset; then
27509 if test "${glibcxx_cv_func___builtin_cos_link+set}" = set; then
27510 echo $ECHO_N "(cached) $ECHO_C" >&6
27511 else
27512
27513 if test x$gcc_no_link = xyes; then
27514 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27515 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27516 { (exit 1); exit 1; }; }
27517 fi
27518 cat >conftest.$ac_ext <<_ACEOF
27519 /* confdefs.h. */
27520 _ACEOF
27521 cat confdefs.h >>conftest.$ac_ext
27522 cat >>conftest.$ac_ext <<_ACEOF
27523 /* end confdefs.h. */
27524 #include <math.h>
27525 int
27526 main ()
27527 {
27528 __builtin_cos(0);
27529 ;
27530 return 0;
27531 }
27532 _ACEOF
27533 rm -f conftest.$ac_objext conftest$ac_exeext
27534 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27535 (eval $ac_link) 2>conftest.er1
27536 ac_status=$?
27537 grep -v '^ *+' conftest.er1 >conftest.err
27538 rm -f conftest.er1
27539 cat conftest.err >&5
27540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27541 (exit $ac_status); } &&
27542 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27544 (eval $ac_try) 2>&5
27545 ac_status=$?
27546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27547 (exit $ac_status); }; } &&
27548 { ac_try='test -s conftest$ac_exeext'
27549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27550 (eval $ac_try) 2>&5
27551 ac_status=$?
27552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27553 (exit $ac_status); }; }; then
27554 glibcxx_cv_func___builtin_cos_link=yes
27555 else
27556 echo "$as_me: failed program was:" >&5
27557 sed 's/^/| /' conftest.$ac_ext >&5
27558
27559 glibcxx_cv_func___builtin_cos_link=no
27560 fi
27561 rm -f conftest.err conftest.$ac_objext \
27562 conftest$ac_exeext conftest.$ac_ext
27563
27564 fi
27565
27566 fi
27567 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_link" >&5
27568 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_link" >&6
27569
27570 if test x$glibcxx_cv_func___builtin_cos_link = x"yes"; then
27571
27572 cat >>confdefs.h <<\_ACEOF
27573 #define HAVE___BUILTIN_COS 1
27574 _ACEOF
27575
27576 fi
27577
27578 fi
27579
27580
27581 echo "$as_me:$LINENO: checking for __builtin_cosl declaration" >&5
27582 echo $ECHO_N "checking for __builtin_cosl declaration... $ECHO_C" >&6
27583 if test x${glibcxx_cv_func___builtin_cosl_use+set} != xset; then
27584 if test "${glibcxx_cv_func___builtin_cosl_use+set}" = set; then
27585 echo $ECHO_N "(cached) $ECHO_C" >&6
27586 else
27587
27588
27589
27590 ac_ext=cc
27591 ac_cpp='$CXXCPP $CPPFLAGS'
27592 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27593 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27594 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27595
27596 cat >conftest.$ac_ext <<_ACEOF
27597 /* confdefs.h. */
27598 _ACEOF
27599 cat confdefs.h >>conftest.$ac_ext
27600 cat >>conftest.$ac_ext <<_ACEOF
27601 /* end confdefs.h. */
27602 #include <math.h>
27603 int
27604 main ()
27605 {
27606 __builtin_cosl(0);
27607 ;
27608 return 0;
27609 }
27610 _ACEOF
27611 rm -f conftest.$ac_objext
27612 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27613 (eval $ac_compile) 2>conftest.er1
27614 ac_status=$?
27615 grep -v '^ *+' conftest.er1 >conftest.err
27616 rm -f conftest.er1
27617 cat conftest.err >&5
27618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27619 (exit $ac_status); } &&
27620 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
27621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27622 (eval $ac_try) 2>&5
27623 ac_status=$?
27624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27625 (exit $ac_status); }; } &&
27626 { ac_try='test -s conftest.$ac_objext'
27627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27628 (eval $ac_try) 2>&5
27629 ac_status=$?
27630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27631 (exit $ac_status); }; }; then
27632 glibcxx_cv_func___builtin_cosl_use=yes
27633 else
27634 echo "$as_me: failed program was:" >&5
27635 sed 's/^/| /' conftest.$ac_ext >&5
27636
27637 glibcxx_cv_func___builtin_cosl_use=no
27638 fi
27639 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27640 ac_ext=c
27641 ac_cpp='$CPP $CPPFLAGS'
27642 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27643 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27644 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27645
27646
27647 fi
27648
27649 fi
27650 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_use" >&5
27651 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_use" >&6
27652 if test x$glibcxx_cv_func___builtin_cosl_use = x"yes"; then
27653 echo "$as_me:$LINENO: checking for __builtin_cosl linkage" >&5
27654 echo $ECHO_N "checking for __builtin_cosl linkage... $ECHO_C" >&6
27655 if test x${glibcxx_cv_func___builtin_cosl_link+set} != xset; then
27656 if test "${glibcxx_cv_func___builtin_cosl_link+set}" = set; then
27657 echo $ECHO_N "(cached) $ECHO_C" >&6
27658 else
27659
27660 if test x$gcc_no_link = xyes; then
27661 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27662 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27663 { (exit 1); exit 1; }; }
27664 fi
27665 cat >conftest.$ac_ext <<_ACEOF
27666 /* confdefs.h. */
27667 _ACEOF
27668 cat confdefs.h >>conftest.$ac_ext
27669 cat >>conftest.$ac_ext <<_ACEOF
27670 /* end confdefs.h. */
27671 #include <math.h>
27672 int
27673 main ()
27674 {
27675 __builtin_cosl(0);
27676 ;
27677 return 0;
27678 }
27679 _ACEOF
27680 rm -f conftest.$ac_objext conftest$ac_exeext
27681 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27682 (eval $ac_link) 2>conftest.er1
27683 ac_status=$?
27684 grep -v '^ *+' conftest.er1 >conftest.err
27685 rm -f conftest.er1
27686 cat conftest.err >&5
27687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27688 (exit $ac_status); } &&
27689 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27690 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27691 (eval $ac_try) 2>&5
27692 ac_status=$?
27693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27694 (exit $ac_status); }; } &&
27695 { ac_try='test -s conftest$ac_exeext'
27696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27697 (eval $ac_try) 2>&5
27698 ac_status=$?
27699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27700 (exit $ac_status); }; }; then
27701 glibcxx_cv_func___builtin_cosl_link=yes
27702 else
27703 echo "$as_me: failed program was:" >&5
27704 sed 's/^/| /' conftest.$ac_ext >&5
27705
27706 glibcxx_cv_func___builtin_cosl_link=no
27707 fi
27708 rm -f conftest.err conftest.$ac_objext \
27709 conftest$ac_exeext conftest.$ac_ext
27710
27711 fi
27712
27713 fi
27714 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_link" >&5
27715 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_link" >&6
27716
27717 if test x$glibcxx_cv_func___builtin_cosl_link = x"yes"; then
27718
27719 cat >>confdefs.h <<\_ACEOF
27720 #define HAVE___BUILTIN_COSL 1
27721 _ACEOF
27722
27723 fi
27724
27725 fi
27726
27727
27728
27729
27730 echo "$as_me:$LINENO: checking for main in -lm" >&5
27731 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
27732 if test "${ac_cv_lib_m_main+set}" = set; then
27733 echo $ECHO_N "(cached) $ECHO_C" >&6
27734 else
27735 ac_check_lib_save_LIBS=$LIBS
27736 LIBS="-lm $LIBS"
27737 if test x$gcc_no_link = xyes; then
27738 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27739 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27740 { (exit 1); exit 1; }; }
27741 fi
27742 cat >conftest.$ac_ext <<_ACEOF
27743 /* confdefs.h. */
27744 _ACEOF
27745 cat confdefs.h >>conftest.$ac_ext
27746 cat >>conftest.$ac_ext <<_ACEOF
27747 /* end confdefs.h. */
27748
27749
27750 int
27751 main ()
27752 {
27753 main ();
27754 ;
27755 return 0;
27756 }
27757 _ACEOF
27758 rm -f conftest.$ac_objext conftest$ac_exeext
27759 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27760 (eval $ac_link) 2>conftest.er1
27761 ac_status=$?
27762 grep -v '^ *+' conftest.er1 >conftest.err
27763 rm -f conftest.er1
27764 cat conftest.err >&5
27765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27766 (exit $ac_status); } &&
27767 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27768 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27769 (eval $ac_try) 2>&5
27770 ac_status=$?
27771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27772 (exit $ac_status); }; } &&
27773 { ac_try='test -s conftest$ac_exeext'
27774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27775 (eval $ac_try) 2>&5
27776 ac_status=$?
27777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27778 (exit $ac_status); }; }; then
27779 ac_cv_lib_m_main=yes
27780 else
27781 echo "$as_me: failed program was:" >&5
27782 sed 's/^/| /' conftest.$ac_ext >&5
27783
27784 ac_cv_lib_m_main=no
27785 fi
27786 rm -f conftest.err conftest.$ac_objext \
27787 conftest$ac_exeext conftest.$ac_ext
27788 LIBS=$ac_check_lib_save_LIBS
27789 fi
27790 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
27791 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
27792 if test $ac_cv_lib_m_main = yes; then
27793 cat >>confdefs.h <<_ACEOF
27794 #define HAVE_LIBM 1
27795 _ACEOF
27796
27797 LIBS="-lm $LIBS"
27798
27799 fi
27800
27801
27802 for ac_func in copysignf
27803 do
27804 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27805 echo "$as_me:$LINENO: checking for $ac_func" >&5
27806 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27807 if eval "test \"\${$as_ac_var+set}\" = set"; then
27808 echo $ECHO_N "(cached) $ECHO_C" >&6
27809 else
27810 if test x$gcc_no_link = xyes; then
27811 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27812 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27813 { (exit 1); exit 1; }; }
27814 fi
27815 cat >conftest.$ac_ext <<_ACEOF
27816 /* confdefs.h. */
27817 _ACEOF
27818 cat confdefs.h >>conftest.$ac_ext
27819 cat >>conftest.$ac_ext <<_ACEOF
27820 /* end confdefs.h. */
27821 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27822 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27823 #define $ac_func innocuous_$ac_func
27824
27825 /* System header to define __stub macros and hopefully few prototypes,
27826 which can conflict with char $ac_func (); below.
27827 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27828 <limits.h> exists even on freestanding compilers. */
27829
27830 #ifdef __STDC__
27831 # include <limits.h>
27832 #else
27833 # include <assert.h>
27834 #endif
27835
27836 #undef $ac_func
27837
27838 /* Override any gcc2 internal prototype to avoid an error. */
27839 #ifdef __cplusplus
27840 extern "C"
27841 {
27842 #endif
27843 /* We use char because int might match the return type of a gcc2
27844 builtin and then its argument prototype would still apply. */
27845 char $ac_func ();
27846 /* The GNU C library defines this for functions which it implements
27847 to always fail with ENOSYS. Some functions are actually named
27848 something starting with __ and the normal name is an alias. */
27849 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27850 choke me
27851 #else
27852 char (*f) () = $ac_func;
27853 #endif
27854 #ifdef __cplusplus
27855 }
27856 #endif
27857
27858 int
27859 main ()
27860 {
27861 return f != $ac_func;
27862 ;
27863 return 0;
27864 }
27865 _ACEOF
27866 rm -f conftest.$ac_objext conftest$ac_exeext
27867 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27868 (eval $ac_link) 2>conftest.er1
27869 ac_status=$?
27870 grep -v '^ *+' conftest.er1 >conftest.err
27871 rm -f conftest.er1
27872 cat conftest.err >&5
27873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27874 (exit $ac_status); } &&
27875 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27876 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27877 (eval $ac_try) 2>&5
27878 ac_status=$?
27879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27880 (exit $ac_status); }; } &&
27881 { ac_try='test -s conftest$ac_exeext'
27882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27883 (eval $ac_try) 2>&5
27884 ac_status=$?
27885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27886 (exit $ac_status); }; }; then
27887 eval "$as_ac_var=yes"
27888 else
27889 echo "$as_me: failed program was:" >&5
27890 sed 's/^/| /' conftest.$ac_ext >&5
27891
27892 eval "$as_ac_var=no"
27893 fi
27894 rm -f conftest.err conftest.$ac_objext \
27895 conftest$ac_exeext conftest.$ac_ext
27896 fi
27897 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27898 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27899 if test `eval echo '${'$as_ac_var'}'` = yes; then
27900 cat >>confdefs.h <<_ACEOF
27901 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27902 _ACEOF
27903
27904 else
27905 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
27906 fi
27907 done
27908
27909
27910
27911 for ac_func in __signbit
27912 do
27913 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27914 echo "$as_me:$LINENO: checking for $ac_func" >&5
27915 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27916 if eval "test \"\${$as_ac_var+set}\" = set"; then
27917 echo $ECHO_N "(cached) $ECHO_C" >&6
27918 else
27919 if test x$gcc_no_link = xyes; then
27920 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27921 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27922 { (exit 1); exit 1; }; }
27923 fi
27924 cat >conftest.$ac_ext <<_ACEOF
27925 /* confdefs.h. */
27926 _ACEOF
27927 cat confdefs.h >>conftest.$ac_ext
27928 cat >>conftest.$ac_ext <<_ACEOF
27929 /* end confdefs.h. */
27930 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27931 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27932 #define $ac_func innocuous_$ac_func
27933
27934 /* System header to define __stub macros and hopefully few prototypes,
27935 which can conflict with char $ac_func (); below.
27936 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27937 <limits.h> exists even on freestanding compilers. */
27938
27939 #ifdef __STDC__
27940 # include <limits.h>
27941 #else
27942 # include <assert.h>
27943 #endif
27944
27945 #undef $ac_func
27946
27947 /* Override any gcc2 internal prototype to avoid an error. */
27948 #ifdef __cplusplus
27949 extern "C"
27950 {
27951 #endif
27952 /* We use char because int might match the return type of a gcc2
27953 builtin and then its argument prototype would still apply. */
27954 char $ac_func ();
27955 /* The GNU C library defines this for functions which it implements
27956 to always fail with ENOSYS. Some functions are actually named
27957 something starting with __ and the normal name is an alias. */
27958 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27959 choke me
27960 #else
27961 char (*f) () = $ac_func;
27962 #endif
27963 #ifdef __cplusplus
27964 }
27965 #endif
27966
27967 int
27968 main ()
27969 {
27970 return f != $ac_func;
27971 ;
27972 return 0;
27973 }
27974 _ACEOF
27975 rm -f conftest.$ac_objext conftest$ac_exeext
27976 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27977 (eval $ac_link) 2>conftest.er1
27978 ac_status=$?
27979 grep -v '^ *+' conftest.er1 >conftest.err
27980 rm -f conftest.er1
27981 cat conftest.err >&5
27982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27983 (exit $ac_status); } &&
27984 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27986 (eval $ac_try) 2>&5
27987 ac_status=$?
27988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27989 (exit $ac_status); }; } &&
27990 { ac_try='test -s conftest$ac_exeext'
27991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27992 (eval $ac_try) 2>&5
27993 ac_status=$?
27994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27995 (exit $ac_status); }; }; then
27996 eval "$as_ac_var=yes"
27997 else
27998 echo "$as_me: failed program was:" >&5
27999 sed 's/^/| /' conftest.$ac_ext >&5
28000
28001 eval "$as_ac_var=no"
28002 fi
28003 rm -f conftest.err conftest.$ac_objext \
28004 conftest$ac_exeext conftest.$ac_ext
28005 fi
28006 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28007 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28008 if test `eval echo '${'$as_ac_var'}'` = yes; then
28009 cat >>confdefs.h <<_ACEOF
28010 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28011 _ACEOF
28012
28013 else
28014 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
28015 fi
28016 done
28017
28018
28019
28020 for ac_func in __signbitf
28021 do
28022 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28023 echo "$as_me:$LINENO: checking for $ac_func" >&5
28024 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28025 if eval "test \"\${$as_ac_var+set}\" = set"; then
28026 echo $ECHO_N "(cached) $ECHO_C" >&6
28027 else
28028 if test x$gcc_no_link = xyes; then
28029 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28030 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28031 { (exit 1); exit 1; }; }
28032 fi
28033 cat >conftest.$ac_ext <<_ACEOF
28034 /* confdefs.h. */
28035 _ACEOF
28036 cat confdefs.h >>conftest.$ac_ext
28037 cat >>conftest.$ac_ext <<_ACEOF
28038 /* end confdefs.h. */
28039 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28040 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28041 #define $ac_func innocuous_$ac_func
28042
28043 /* System header to define __stub macros and hopefully few prototypes,
28044 which can conflict with char $ac_func (); below.
28045 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28046 <limits.h> exists even on freestanding compilers. */
28047
28048 #ifdef __STDC__
28049 # include <limits.h>
28050 #else
28051 # include <assert.h>
28052 #endif
28053
28054 #undef $ac_func
28055
28056 /* Override any gcc2 internal prototype to avoid an error. */
28057 #ifdef __cplusplus
28058 extern "C"
28059 {
28060 #endif
28061 /* We use char because int might match the return type of a gcc2
28062 builtin and then its argument prototype would still apply. */
28063 char $ac_func ();
28064 /* The GNU C library defines this for functions which it implements
28065 to always fail with ENOSYS. Some functions are actually named
28066 something starting with __ and the normal name is an alias. */
28067 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28068 choke me
28069 #else
28070 char (*f) () = $ac_func;
28071 #endif
28072 #ifdef __cplusplus
28073 }
28074 #endif
28075
28076 int
28077 main ()
28078 {
28079 return f != $ac_func;
28080 ;
28081 return 0;
28082 }
28083 _ACEOF
28084 rm -f conftest.$ac_objext conftest$ac_exeext
28085 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28086 (eval $ac_link) 2>conftest.er1
28087 ac_status=$?
28088 grep -v '^ *+' conftest.er1 >conftest.err
28089 rm -f conftest.er1
28090 cat conftest.err >&5
28091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28092 (exit $ac_status); } &&
28093 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28094 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28095 (eval $ac_try) 2>&5
28096 ac_status=$?
28097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28098 (exit $ac_status); }; } &&
28099 { ac_try='test -s conftest$ac_exeext'
28100 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28101 (eval $ac_try) 2>&5
28102 ac_status=$?
28103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28104 (exit $ac_status); }; }; then
28105 eval "$as_ac_var=yes"
28106 else
28107 echo "$as_me: failed program was:" >&5
28108 sed 's/^/| /' conftest.$ac_ext >&5
28109
28110 eval "$as_ac_var=no"
28111 fi
28112 rm -f conftest.err conftest.$ac_objext \
28113 conftest$ac_exeext conftest.$ac_ext
28114 fi
28115 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28116 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28117 if test `eval echo '${'$as_ac_var'}'` = yes; then
28118 cat >>confdefs.h <<_ACEOF
28119 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28120 _ACEOF
28121
28122 else
28123 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
28124 fi
28125 done
28126
28127
28128 if test x$ac_cv_func_copysignl = x"yes"; then
28129
28130 for ac_func in __signbitl
28131 do
28132 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28133 echo "$as_me:$LINENO: checking for $ac_func" >&5
28134 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28135 if eval "test \"\${$as_ac_var+set}\" = set"; then
28136 echo $ECHO_N "(cached) $ECHO_C" >&6
28137 else
28138 if test x$gcc_no_link = xyes; then
28139 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28140 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28141 { (exit 1); exit 1; }; }
28142 fi
28143 cat >conftest.$ac_ext <<_ACEOF
28144 /* confdefs.h. */
28145 _ACEOF
28146 cat confdefs.h >>conftest.$ac_ext
28147 cat >>conftest.$ac_ext <<_ACEOF
28148 /* end confdefs.h. */
28149 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28150 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28151 #define $ac_func innocuous_$ac_func
28152
28153 /* System header to define __stub macros and hopefully few prototypes,
28154 which can conflict with char $ac_func (); below.
28155 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28156 <limits.h> exists even on freestanding compilers. */
28157
28158 #ifdef __STDC__
28159 # include <limits.h>
28160 #else
28161 # include <assert.h>
28162 #endif
28163
28164 #undef $ac_func
28165
28166 /* Override any gcc2 internal prototype to avoid an error. */
28167 #ifdef __cplusplus
28168 extern "C"
28169 {
28170 #endif
28171 /* We use char because int might match the return type of a gcc2
28172 builtin and then its argument prototype would still apply. */
28173 char $ac_func ();
28174 /* The GNU C library defines this for functions which it implements
28175 to always fail with ENOSYS. Some functions are actually named
28176 something starting with __ and the normal name is an alias. */
28177 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28178 choke me
28179 #else
28180 char (*f) () = $ac_func;
28181 #endif
28182 #ifdef __cplusplus
28183 }
28184 #endif
28185
28186 int
28187 main ()
28188 {
28189 return f != $ac_func;
28190 ;
28191 return 0;
28192 }
28193 _ACEOF
28194 rm -f conftest.$ac_objext conftest$ac_exeext
28195 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28196 (eval $ac_link) 2>conftest.er1
28197 ac_status=$?
28198 grep -v '^ *+' conftest.er1 >conftest.err
28199 rm -f conftest.er1
28200 cat conftest.err >&5
28201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28202 (exit $ac_status); } &&
28203 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28205 (eval $ac_try) 2>&5
28206 ac_status=$?
28207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28208 (exit $ac_status); }; } &&
28209 { ac_try='test -s conftest$ac_exeext'
28210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28211 (eval $ac_try) 2>&5
28212 ac_status=$?
28213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28214 (exit $ac_status); }; }; then
28215 eval "$as_ac_var=yes"
28216 else
28217 echo "$as_me: failed program was:" >&5
28218 sed 's/^/| /' conftest.$ac_ext >&5
28219
28220 eval "$as_ac_var=no"
28221 fi
28222 rm -f conftest.err conftest.$ac_objext \
28223 conftest$ac_exeext conftest.$ac_ext
28224 fi
28225 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28226 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28227 if test `eval echo '${'$as_ac_var'}'` = yes; then
28228 cat >>confdefs.h <<_ACEOF
28229 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28230 _ACEOF
28231
28232 else
28233 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
28234 fi
28235 done
28236
28237 fi
28238
28239 # Used in libmath/Makefile.am.
28240 if test -n "$LIBMATHOBJS"; then
28241 need_libmath=yes
28242 fi
28243
28244
28245
28246
28247 enable_iconv=no
28248 # Only continue checking if the ISO C99 headers exist and support is on.
28249 if test x"$enable_wchar_t" = xyes; then
28250
28251 # Use iconv for wchar_t to char conversions. As such, check for
28252 # X/Open Portability Guide, version 2 features (XPG2).
28253 if test "${ac_cv_header_iconv_h+set}" = set; then
28254 echo "$as_me:$LINENO: checking for iconv.h" >&5
28255 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
28256 if test "${ac_cv_header_iconv_h+set}" = set; then
28257 echo $ECHO_N "(cached) $ECHO_C" >&6
28258 fi
28259 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
28260 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
28261 else
28262 # Is the header compilable?
28263 echo "$as_me:$LINENO: checking iconv.h usability" >&5
28264 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
28265 cat >conftest.$ac_ext <<_ACEOF
28266 /* confdefs.h. */
28267 _ACEOF
28268 cat confdefs.h >>conftest.$ac_ext
28269 cat >>conftest.$ac_ext <<_ACEOF
28270 /* end confdefs.h. */
28271 $ac_includes_default
28272 #include <iconv.h>
28273 _ACEOF
28274 rm -f conftest.$ac_objext
28275 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28276 (eval $ac_compile) 2>conftest.er1
28277 ac_status=$?
28278 grep -v '^ *+' conftest.er1 >conftest.err
28279 rm -f conftest.er1
28280 cat conftest.err >&5
28281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28282 (exit $ac_status); } &&
28283 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28285 (eval $ac_try) 2>&5
28286 ac_status=$?
28287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28288 (exit $ac_status); }; } &&
28289 { ac_try='test -s conftest.$ac_objext'
28290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28291 (eval $ac_try) 2>&5
28292 ac_status=$?
28293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28294 (exit $ac_status); }; }; then
28295 ac_header_compiler=yes
28296 else
28297 echo "$as_me: failed program was:" >&5
28298 sed 's/^/| /' conftest.$ac_ext >&5
28299
28300 ac_header_compiler=no
28301 fi
28302 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28303 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28304 echo "${ECHO_T}$ac_header_compiler" >&6
28305
28306 # Is the header present?
28307 echo "$as_me:$LINENO: checking iconv.h presence" >&5
28308 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
28309 cat >conftest.$ac_ext <<_ACEOF
28310 /* confdefs.h. */
28311 _ACEOF
28312 cat confdefs.h >>conftest.$ac_ext
28313 cat >>conftest.$ac_ext <<_ACEOF
28314 /* end confdefs.h. */
28315 #include <iconv.h>
28316 _ACEOF
28317 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
28318 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
28319 ac_status=$?
28320 grep -v '^ *+' conftest.er1 >conftest.err
28321 rm -f conftest.er1
28322 cat conftest.err >&5
28323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28324 (exit $ac_status); } >/dev/null; then
28325 if test -s conftest.err; then
28326 ac_cpp_err=$ac_c_preproc_warn_flag
28327 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
28328 else
28329 ac_cpp_err=
28330 fi
28331 else
28332 ac_cpp_err=yes
28333 fi
28334 if test -z "$ac_cpp_err"; then
28335 ac_header_preproc=yes
28336 else
28337 echo "$as_me: failed program was:" >&5
28338 sed 's/^/| /' conftest.$ac_ext >&5
28339
28340 ac_header_preproc=no
28341 fi
28342 rm -f conftest.err conftest.$ac_ext
28343 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
28344 echo "${ECHO_T}$ac_header_preproc" >&6
28345
28346 # So? What about this header?
28347 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
28348 yes:no: )
28349 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
28350 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
28351 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
28352 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
28353 ac_header_preproc=yes
28354 ;;
28355 no:yes:* )
28356 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
28357 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
28358 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
28359 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
28360 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
28361 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
28362 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
28363 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
28364 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
28365 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
28366 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
28367 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
28368 (
28369 cat <<\_ASBOX
28370 ## ----------------------------------------- ##
28371 ## Report this to the package-unused lists. ##
28372 ## ----------------------------------------- ##
28373 _ASBOX
28374 ) |
28375 sed "s/^/$as_me: WARNING: /" >&2
28376 ;;
28377 esac
28378 echo "$as_me:$LINENO: checking for iconv.h" >&5
28379 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
28380 if test "${ac_cv_header_iconv_h+set}" = set; then
28381 echo $ECHO_N "(cached) $ECHO_C" >&6
28382 else
28383 ac_cv_header_iconv_h=$ac_header_preproc
28384 fi
28385 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
28386 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
28387
28388 fi
28389 if test $ac_cv_header_iconv_h = yes; then
28390 ac_has_iconv_h=yes
28391 else
28392 ac_has_iconv_h=no
28393 fi
28394
28395
28396 if test "${ac_cv_header_langinfo_h+set}" = set; then
28397 echo "$as_me:$LINENO: checking for langinfo.h" >&5
28398 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
28399 if test "${ac_cv_header_langinfo_h+set}" = set; then
28400 echo $ECHO_N "(cached) $ECHO_C" >&6
28401 fi
28402 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
28403 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
28404 else
28405 # Is the header compilable?
28406 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
28407 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
28408 cat >conftest.$ac_ext <<_ACEOF
28409 /* confdefs.h. */
28410 _ACEOF
28411 cat confdefs.h >>conftest.$ac_ext
28412 cat >>conftest.$ac_ext <<_ACEOF
28413 /* end confdefs.h. */
28414 $ac_includes_default
28415 #include <langinfo.h>
28416 _ACEOF
28417 rm -f conftest.$ac_objext
28418 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28419 (eval $ac_compile) 2>conftest.er1
28420 ac_status=$?
28421 grep -v '^ *+' conftest.er1 >conftest.err
28422 rm -f conftest.er1
28423 cat conftest.err >&5
28424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28425 (exit $ac_status); } &&
28426 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28427 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28428 (eval $ac_try) 2>&5
28429 ac_status=$?
28430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28431 (exit $ac_status); }; } &&
28432 { ac_try='test -s conftest.$ac_objext'
28433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28434 (eval $ac_try) 2>&5
28435 ac_status=$?
28436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28437 (exit $ac_status); }; }; then
28438 ac_header_compiler=yes
28439 else
28440 echo "$as_me: failed program was:" >&5
28441 sed 's/^/| /' conftest.$ac_ext >&5
28442
28443 ac_header_compiler=no
28444 fi
28445 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28446 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28447 echo "${ECHO_T}$ac_header_compiler" >&6
28448
28449 # Is the header present?
28450 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
28451 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
28452 cat >conftest.$ac_ext <<_ACEOF
28453 /* confdefs.h. */
28454 _ACEOF
28455 cat confdefs.h >>conftest.$ac_ext
28456 cat >>conftest.$ac_ext <<_ACEOF
28457 /* end confdefs.h. */
28458 #include <langinfo.h>
28459 _ACEOF
28460 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
28461 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
28462 ac_status=$?
28463 grep -v '^ *+' conftest.er1 >conftest.err
28464 rm -f conftest.er1
28465 cat conftest.err >&5
28466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28467 (exit $ac_status); } >/dev/null; then
28468 if test -s conftest.err; then
28469 ac_cpp_err=$ac_c_preproc_warn_flag
28470 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
28471 else
28472 ac_cpp_err=
28473 fi
28474 else
28475 ac_cpp_err=yes
28476 fi
28477 if test -z "$ac_cpp_err"; then
28478 ac_header_preproc=yes
28479 else
28480 echo "$as_me: failed program was:" >&5
28481 sed 's/^/| /' conftest.$ac_ext >&5
28482
28483 ac_header_preproc=no
28484 fi
28485 rm -f conftest.err conftest.$ac_ext
28486 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
28487 echo "${ECHO_T}$ac_header_preproc" >&6
28488
28489 # So? What about this header?
28490 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
28491 yes:no: )
28492 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
28493 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
28494 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
28495 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
28496 ac_header_preproc=yes
28497 ;;
28498 no:yes:* )
28499 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
28500 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
28501 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
28502 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
28503 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
28504 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
28505 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
28506 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
28507 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
28508 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
28509 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
28510 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
28511 (
28512 cat <<\_ASBOX
28513 ## ----------------------------------------- ##
28514 ## Report this to the package-unused lists. ##
28515 ## ----------------------------------------- ##
28516 _ASBOX
28517 ) |
28518 sed "s/^/$as_me: WARNING: /" >&2
28519 ;;
28520 esac
28521 echo "$as_me:$LINENO: checking for langinfo.h" >&5
28522 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
28523 if test "${ac_cv_header_langinfo_h+set}" = set; then
28524 echo $ECHO_N "(cached) $ECHO_C" >&6
28525 else
28526 ac_cv_header_langinfo_h=$ac_header_preproc
28527 fi
28528 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
28529 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
28530
28531 fi
28532 if test $ac_cv_header_langinfo_h = yes; then
28533 ac_has_langinfo_h=yes
28534 else
28535 ac_has_langinfo_h=no
28536 fi
28537
28538
28539
28540 # Check for existence of libiconv.a providing XPG2 wchar_t support.
28541 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
28542 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
28543 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
28544 echo $ECHO_N "(cached) $ECHO_C" >&6
28545 else
28546 ac_check_lib_save_LIBS=$LIBS
28547 LIBS="-liconv $LIBS"
28548 if test x$gcc_no_link = xyes; then
28549 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28550 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28551 { (exit 1); exit 1; }; }
28552 fi
28553 cat >conftest.$ac_ext <<_ACEOF
28554 /* confdefs.h. */
28555 _ACEOF
28556 cat confdefs.h >>conftest.$ac_ext
28557 cat >>conftest.$ac_ext <<_ACEOF
28558 /* end confdefs.h. */
28559
28560 /* Override any gcc2 internal prototype to avoid an error. */
28561 #ifdef __cplusplus
28562 extern "C"
28563 #endif
28564 /* We use char because int might match the return type of a gcc2
28565 builtin and then its argument prototype would still apply. */
28566 char iconv ();
28567 int
28568 main ()
28569 {
28570 iconv ();
28571 ;
28572 return 0;
28573 }
28574 _ACEOF
28575 rm -f conftest.$ac_objext conftest$ac_exeext
28576 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28577 (eval $ac_link) 2>conftest.er1
28578 ac_status=$?
28579 grep -v '^ *+' conftest.er1 >conftest.err
28580 rm -f conftest.er1
28581 cat conftest.err >&5
28582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28583 (exit $ac_status); } &&
28584 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28586 (eval $ac_try) 2>&5
28587 ac_status=$?
28588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28589 (exit $ac_status); }; } &&
28590 { ac_try='test -s conftest$ac_exeext'
28591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28592 (eval $ac_try) 2>&5
28593 ac_status=$?
28594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28595 (exit $ac_status); }; }; then
28596 ac_cv_lib_iconv_iconv=yes
28597 else
28598 echo "$as_me: failed program was:" >&5
28599 sed 's/^/| /' conftest.$ac_ext >&5
28600
28601 ac_cv_lib_iconv_iconv=no
28602 fi
28603 rm -f conftest.err conftest.$ac_objext \
28604 conftest$ac_exeext conftest.$ac_ext
28605 LIBS=$ac_check_lib_save_LIBS
28606 fi
28607 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
28608 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
28609 if test $ac_cv_lib_iconv_iconv = yes; then
28610 LIBICONV="-liconv"
28611 fi
28612
28613 ac_save_LIBS="$LIBS"
28614 LIBS="$LIBS $LIBICONV"
28615
28616
28617
28618
28619
28620
28621 for ac_func in iconv_open iconv_close iconv nl_langinfo
28622 do
28623 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28624 echo "$as_me:$LINENO: checking for $ac_func" >&5
28625 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28626 if eval "test \"\${$as_ac_var+set}\" = set"; then
28627 echo $ECHO_N "(cached) $ECHO_C" >&6
28628 else
28629 if test x$gcc_no_link = xyes; then
28630 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28631 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28632 { (exit 1); exit 1; }; }
28633 fi
28634 cat >conftest.$ac_ext <<_ACEOF
28635 /* confdefs.h. */
28636 _ACEOF
28637 cat confdefs.h >>conftest.$ac_ext
28638 cat >>conftest.$ac_ext <<_ACEOF
28639 /* end confdefs.h. */
28640 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28641 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28642 #define $ac_func innocuous_$ac_func
28643
28644 /* System header to define __stub macros and hopefully few prototypes,
28645 which can conflict with char $ac_func (); below.
28646 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28647 <limits.h> exists even on freestanding compilers. */
28648
28649 #ifdef __STDC__
28650 # include <limits.h>
28651 #else
28652 # include <assert.h>
28653 #endif
28654
28655 #undef $ac_func
28656
28657 /* Override any gcc2 internal prototype to avoid an error. */
28658 #ifdef __cplusplus
28659 extern "C"
28660 {
28661 #endif
28662 /* We use char because int might match the return type of a gcc2
28663 builtin and then its argument prototype would still apply. */
28664 char $ac_func ();
28665 /* The GNU C library defines this for functions which it implements
28666 to always fail with ENOSYS. Some functions are actually named
28667 something starting with __ and the normal name is an alias. */
28668 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28669 choke me
28670 #else
28671 char (*f) () = $ac_func;
28672 #endif
28673 #ifdef __cplusplus
28674 }
28675 #endif
28676
28677 int
28678 main ()
28679 {
28680 return f != $ac_func;
28681 ;
28682 return 0;
28683 }
28684 _ACEOF
28685 rm -f conftest.$ac_objext conftest$ac_exeext
28686 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28687 (eval $ac_link) 2>conftest.er1
28688 ac_status=$?
28689 grep -v '^ *+' conftest.er1 >conftest.err
28690 rm -f conftest.er1
28691 cat conftest.err >&5
28692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28693 (exit $ac_status); } &&
28694 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28696 (eval $ac_try) 2>&5
28697 ac_status=$?
28698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28699 (exit $ac_status); }; } &&
28700 { ac_try='test -s conftest$ac_exeext'
28701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28702 (eval $ac_try) 2>&5
28703 ac_status=$?
28704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28705 (exit $ac_status); }; }; then
28706 eval "$as_ac_var=yes"
28707 else
28708 echo "$as_me: failed program was:" >&5
28709 sed 's/^/| /' conftest.$ac_ext >&5
28710
28711 eval "$as_ac_var=no"
28712 fi
28713 rm -f conftest.err conftest.$ac_objext \
28714 conftest$ac_exeext conftest.$ac_ext
28715 fi
28716 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28717 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28718 if test `eval echo '${'$as_ac_var'}'` = yes; then
28719 cat >>confdefs.h <<_ACEOF
28720 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28721 _ACEOF
28722 ac_XPG2funcs=yes
28723 else
28724 ac_XPG2funcs=no
28725 fi
28726 done
28727
28728
28729 LIBS="$ac_save_LIBS"
28730
28731 if test x"$ac_has_iconv_h" = xyes &&
28732 test x"$ac_has_langinfo_h" = xyes &&
28733 test x"$ac_XPG2funcs" = xyes;
28734 then
28735
28736 cat >>confdefs.h <<\_ACEOF
28737 #define _GLIBCXX_USE_ICONV 1
28738 _ACEOF
28739
28740 enable_iconv=yes
28741 fi
28742 fi
28743 echo "$as_me:$LINENO: checking for enabled iconv specializations" >&5
28744 echo $ECHO_N "checking for enabled iconv specializations... $ECHO_C" >&6
28745 echo "$as_me:$LINENO: result: $enable_iconv" >&5
28746 echo "${ECHO_T}$enable_iconv" >&6
28747
28748
28749 ac_test_CXXFLAGS="${CXXFLAGS+set}"
28750 ac_save_CXXFLAGS="$CXXFLAGS"
28751 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
28752
28753
28754 echo "$as_me:$LINENO: checking for strtold declaration" >&5
28755 echo $ECHO_N "checking for strtold declaration... $ECHO_C" >&6
28756 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
28757 if test "${glibcxx_cv_func_strtold_use+set}" = set; then
28758 echo $ECHO_N "(cached) $ECHO_C" >&6
28759 else
28760
28761
28762
28763 ac_ext=cc
28764 ac_cpp='$CXXCPP $CPPFLAGS'
28765 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28766 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28767 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28768
28769 cat >conftest.$ac_ext <<_ACEOF
28770 /* confdefs.h. */
28771 _ACEOF
28772 cat confdefs.h >>conftest.$ac_ext
28773 cat >>conftest.$ac_ext <<_ACEOF
28774 /* end confdefs.h. */
28775 #include <stdlib.h>
28776 int
28777 main ()
28778 {
28779 strtold(0, 0);
28780 ;
28781 return 0;
28782 }
28783 _ACEOF
28784 rm -f conftest.$ac_objext
28785 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28786 (eval $ac_compile) 2>conftest.er1
28787 ac_status=$?
28788 grep -v '^ *+' conftest.er1 >conftest.err
28789 rm -f conftest.er1
28790 cat conftest.err >&5
28791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28792 (exit $ac_status); } &&
28793 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
28794 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28795 (eval $ac_try) 2>&5
28796 ac_status=$?
28797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28798 (exit $ac_status); }; } &&
28799 { ac_try='test -s conftest.$ac_objext'
28800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28801 (eval $ac_try) 2>&5
28802 ac_status=$?
28803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28804 (exit $ac_status); }; }; then
28805 glibcxx_cv_func_strtold_use=yes
28806 else
28807 echo "$as_me: failed program was:" >&5
28808 sed 's/^/| /' conftest.$ac_ext >&5
28809
28810 glibcxx_cv_func_strtold_use=no
28811 fi
28812 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28813 ac_ext=c
28814 ac_cpp='$CPP $CPPFLAGS'
28815 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28816 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28817 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28818
28819
28820 fi
28821
28822 fi
28823 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtold_use" >&5
28824 echo "${ECHO_T}$glibcxx_cv_func_strtold_use" >&6
28825 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
28826
28827 for ac_func in strtold
28828 do
28829 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28830 echo "$as_me:$LINENO: checking for $ac_func" >&5
28831 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28832 if eval "test \"\${$as_ac_var+set}\" = set"; then
28833 echo $ECHO_N "(cached) $ECHO_C" >&6
28834 else
28835 if test x$gcc_no_link = xyes; then
28836 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28837 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28838 { (exit 1); exit 1; }; }
28839 fi
28840 cat >conftest.$ac_ext <<_ACEOF
28841 /* confdefs.h. */
28842 _ACEOF
28843 cat confdefs.h >>conftest.$ac_ext
28844 cat >>conftest.$ac_ext <<_ACEOF
28845 /* end confdefs.h. */
28846 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28847 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28848 #define $ac_func innocuous_$ac_func
28849
28850 /* System header to define __stub macros and hopefully few prototypes,
28851 which can conflict with char $ac_func (); below.
28852 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28853 <limits.h> exists even on freestanding compilers. */
28854
28855 #ifdef __STDC__
28856 # include <limits.h>
28857 #else
28858 # include <assert.h>
28859 #endif
28860
28861 #undef $ac_func
28862
28863 /* Override any gcc2 internal prototype to avoid an error. */
28864 #ifdef __cplusplus
28865 extern "C"
28866 {
28867 #endif
28868 /* We use char because int might match the return type of a gcc2
28869 builtin and then its argument prototype would still apply. */
28870 char $ac_func ();
28871 /* The GNU C library defines this for functions which it implements
28872 to always fail with ENOSYS. Some functions are actually named
28873 something starting with __ and the normal name is an alias. */
28874 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28875 choke me
28876 #else
28877 char (*f) () = $ac_func;
28878 #endif
28879 #ifdef __cplusplus
28880 }
28881 #endif
28882
28883 int
28884 main ()
28885 {
28886 return f != $ac_func;
28887 ;
28888 return 0;
28889 }
28890 _ACEOF
28891 rm -f conftest.$ac_objext conftest$ac_exeext
28892 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28893 (eval $ac_link) 2>conftest.er1
28894 ac_status=$?
28895 grep -v '^ *+' conftest.er1 >conftest.err
28896 rm -f conftest.er1
28897 cat conftest.err >&5
28898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28899 (exit $ac_status); } &&
28900 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28902 (eval $ac_try) 2>&5
28903 ac_status=$?
28904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28905 (exit $ac_status); }; } &&
28906 { ac_try='test -s conftest$ac_exeext'
28907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28908 (eval $ac_try) 2>&5
28909 ac_status=$?
28910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28911 (exit $ac_status); }; }; then
28912 eval "$as_ac_var=yes"
28913 else
28914 echo "$as_me: failed program was:" >&5
28915 sed 's/^/| /' conftest.$ac_ext >&5
28916
28917 eval "$as_ac_var=no"
28918 fi
28919 rm -f conftest.err conftest.$ac_objext \
28920 conftest$ac_exeext conftest.$ac_ext
28921 fi
28922 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28923 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28924 if test `eval echo '${'$as_ac_var'}'` = yes; then
28925 cat >>confdefs.h <<_ACEOF
28926 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28927 _ACEOF
28928
28929 fi
28930 done
28931
28932 fi
28933
28934
28935
28936
28937
28938 echo "$as_me:$LINENO: checking for strtof declaration" >&5
28939 echo $ECHO_N "checking for strtof declaration... $ECHO_C" >&6
28940 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
28941 if test "${glibcxx_cv_func_strtof_use+set}" = set; then
28942 echo $ECHO_N "(cached) $ECHO_C" >&6
28943 else
28944
28945
28946
28947 ac_ext=cc
28948 ac_cpp='$CXXCPP $CPPFLAGS'
28949 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28950 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28951 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28952
28953 cat >conftest.$ac_ext <<_ACEOF
28954 /* confdefs.h. */
28955 _ACEOF
28956 cat confdefs.h >>conftest.$ac_ext
28957 cat >>conftest.$ac_ext <<_ACEOF
28958 /* end confdefs.h. */
28959 #include <stdlib.h>
28960 int
28961 main ()
28962 {
28963 strtof(0, 0);
28964 ;
28965 return 0;
28966 }
28967 _ACEOF
28968 rm -f conftest.$ac_objext
28969 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28970 (eval $ac_compile) 2>conftest.er1
28971 ac_status=$?
28972 grep -v '^ *+' conftest.er1 >conftest.err
28973 rm -f conftest.er1
28974 cat conftest.err >&5
28975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28976 (exit $ac_status); } &&
28977 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
28978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28979 (eval $ac_try) 2>&5
28980 ac_status=$?
28981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28982 (exit $ac_status); }; } &&
28983 { ac_try='test -s conftest.$ac_objext'
28984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28985 (eval $ac_try) 2>&5
28986 ac_status=$?
28987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28988 (exit $ac_status); }; }; then
28989 glibcxx_cv_func_strtof_use=yes
28990 else
28991 echo "$as_me: failed program was:" >&5
28992 sed 's/^/| /' conftest.$ac_ext >&5
28993
28994 glibcxx_cv_func_strtof_use=no
28995 fi
28996 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28997 ac_ext=c
28998 ac_cpp='$CPP $CPPFLAGS'
28999 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29000 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29001 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29002
29003
29004 fi
29005
29006 fi
29007 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtof_use" >&5
29008 echo "${ECHO_T}$glibcxx_cv_func_strtof_use" >&6
29009 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
29010
29011 for ac_func in strtof
29012 do
29013 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29014 echo "$as_me:$LINENO: checking for $ac_func" >&5
29015 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29016 if eval "test \"\${$as_ac_var+set}\" = set"; then
29017 echo $ECHO_N "(cached) $ECHO_C" >&6
29018 else
29019 if test x$gcc_no_link = xyes; then
29020 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29021 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29022 { (exit 1); exit 1; }; }
29023 fi
29024 cat >conftest.$ac_ext <<_ACEOF
29025 /* confdefs.h. */
29026 _ACEOF
29027 cat confdefs.h >>conftest.$ac_ext
29028 cat >>conftest.$ac_ext <<_ACEOF
29029 /* end confdefs.h. */
29030 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29031 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29032 #define $ac_func innocuous_$ac_func
29033
29034 /* System header to define __stub macros and hopefully few prototypes,
29035 which can conflict with char $ac_func (); below.
29036 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29037 <limits.h> exists even on freestanding compilers. */
29038
29039 #ifdef __STDC__
29040 # include <limits.h>
29041 #else
29042 # include <assert.h>
29043 #endif
29044
29045 #undef $ac_func
29046
29047 /* Override any gcc2 internal prototype to avoid an error. */
29048 #ifdef __cplusplus
29049 extern "C"
29050 {
29051 #endif
29052 /* We use char because int might match the return type of a gcc2
29053 builtin and then its argument prototype would still apply. */
29054 char $ac_func ();
29055 /* The GNU C library defines this for functions which it implements
29056 to always fail with ENOSYS. Some functions are actually named
29057 something starting with __ and the normal name is an alias. */
29058 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29059 choke me
29060 #else
29061 char (*f) () = $ac_func;
29062 #endif
29063 #ifdef __cplusplus
29064 }
29065 #endif
29066
29067 int
29068 main ()
29069 {
29070 return f != $ac_func;
29071 ;
29072 return 0;
29073 }
29074 _ACEOF
29075 rm -f conftest.$ac_objext conftest$ac_exeext
29076 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29077 (eval $ac_link) 2>conftest.er1
29078 ac_status=$?
29079 grep -v '^ *+' conftest.er1 >conftest.err
29080 rm -f conftest.er1
29081 cat conftest.err >&5
29082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29083 (exit $ac_status); } &&
29084 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29086 (eval $ac_try) 2>&5
29087 ac_status=$?
29088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29089 (exit $ac_status); }; } &&
29090 { ac_try='test -s conftest$ac_exeext'
29091 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29092 (eval $ac_try) 2>&5
29093 ac_status=$?
29094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29095 (exit $ac_status); }; }; then
29096 eval "$as_ac_var=yes"
29097 else
29098 echo "$as_me: failed program was:" >&5
29099 sed 's/^/| /' conftest.$ac_ext >&5
29100
29101 eval "$as_ac_var=no"
29102 fi
29103 rm -f conftest.err conftest.$ac_objext \
29104 conftest$ac_exeext conftest.$ac_ext
29105 fi
29106 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29107 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29108 if test `eval echo '${'$as_ac_var'}'` = yes; then
29109 cat >>confdefs.h <<_ACEOF
29110 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29111 _ACEOF
29112
29113 fi
29114 done
29115
29116 fi
29117
29118
29119
29120
29121
29122 CXXFLAGS="$ac_save_CXXFLAGS"
29123
29124
29125 # For showmanyc_helper().
29126
29127
29128 for ac_header in sys/ioctl.h sys/filio.h
29129 do
29130 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
29131 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29132 echo "$as_me:$LINENO: checking for $ac_header" >&5
29133 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29134 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29135 echo $ECHO_N "(cached) $ECHO_C" >&6
29136 fi
29137 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29138 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29139 else
29140 # Is the header compilable?
29141 echo "$as_me:$LINENO: checking $ac_header usability" >&5
29142 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
29143 cat >conftest.$ac_ext <<_ACEOF
29144 /* confdefs.h. */
29145 _ACEOF
29146 cat confdefs.h >>conftest.$ac_ext
29147 cat >>conftest.$ac_ext <<_ACEOF
29148 /* end confdefs.h. */
29149 $ac_includes_default
29150 #include <$ac_header>
29151 _ACEOF
29152 rm -f conftest.$ac_objext
29153 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29154 (eval $ac_compile) 2>conftest.er1
29155 ac_status=$?
29156 grep -v '^ *+' conftest.er1 >conftest.err
29157 rm -f conftest.er1
29158 cat conftest.err >&5
29159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29160 (exit $ac_status); } &&
29161 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29163 (eval $ac_try) 2>&5
29164 ac_status=$?
29165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29166 (exit $ac_status); }; } &&
29167 { ac_try='test -s conftest.$ac_objext'
29168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29169 (eval $ac_try) 2>&5
29170 ac_status=$?
29171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29172 (exit $ac_status); }; }; then
29173 ac_header_compiler=yes
29174 else
29175 echo "$as_me: failed program was:" >&5
29176 sed 's/^/| /' conftest.$ac_ext >&5
29177
29178 ac_header_compiler=no
29179 fi
29180 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29181 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
29182 echo "${ECHO_T}$ac_header_compiler" >&6
29183
29184 # Is the header present?
29185 echo "$as_me:$LINENO: checking $ac_header presence" >&5
29186 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
29187 cat >conftest.$ac_ext <<_ACEOF
29188 /* confdefs.h. */
29189 _ACEOF
29190 cat confdefs.h >>conftest.$ac_ext
29191 cat >>conftest.$ac_ext <<_ACEOF
29192 /* end confdefs.h. */
29193 #include <$ac_header>
29194 _ACEOF
29195 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
29196 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
29197 ac_status=$?
29198 grep -v '^ *+' conftest.er1 >conftest.err
29199 rm -f conftest.er1
29200 cat conftest.err >&5
29201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29202 (exit $ac_status); } >/dev/null; then
29203 if test -s conftest.err; then
29204 ac_cpp_err=$ac_c_preproc_warn_flag
29205 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
29206 else
29207 ac_cpp_err=
29208 fi
29209 else
29210 ac_cpp_err=yes
29211 fi
29212 if test -z "$ac_cpp_err"; then
29213 ac_header_preproc=yes
29214 else
29215 echo "$as_me: failed program was:" >&5
29216 sed 's/^/| /' conftest.$ac_ext >&5
29217
29218 ac_header_preproc=no
29219 fi
29220 rm -f conftest.err conftest.$ac_ext
29221 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
29222 echo "${ECHO_T}$ac_header_preproc" >&6
29223
29224 # So? What about this header?
29225 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
29226 yes:no: )
29227 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
29228 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
29229 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
29230 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
29231 ac_header_preproc=yes
29232 ;;
29233 no:yes:* )
29234 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
29235 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
29236 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
29237 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
29238 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
29239 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
29240 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
29241 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
29242 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
29243 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
29244 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
29245 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
29246 (
29247 cat <<\_ASBOX
29248 ## ----------------------------------------- ##
29249 ## Report this to the package-unused lists. ##
29250 ## ----------------------------------------- ##
29251 _ASBOX
29252 ) |
29253 sed "s/^/$as_me: WARNING: /" >&2
29254 ;;
29255 esac
29256 echo "$as_me:$LINENO: checking for $ac_header" >&5
29257 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29258 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29259 echo $ECHO_N "(cached) $ECHO_C" >&6
29260 else
29261 eval "$as_ac_Header=\$ac_header_preproc"
29262 fi
29263 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29264 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29265
29266 fi
29267 if test `eval echo '${'$as_ac_Header'}'` = yes; then
29268 cat >>confdefs.h <<_ACEOF
29269 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
29270 _ACEOF
29271
29272 fi
29273
29274 done
29275
29276
29277 echo "$as_me:$LINENO: checking for poll" >&5
29278 echo $ECHO_N "checking for poll... $ECHO_C" >&6
29279 if test "${glibcxx_cv_POLL+set}" = set; then
29280 echo $ECHO_N "(cached) $ECHO_C" >&6
29281 else
29282
29283 if test x$gcc_no_link = xyes; then
29284 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29285 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29286 { (exit 1); exit 1; }; }
29287 fi
29288 cat >conftest.$ac_ext <<_ACEOF
29289 /* confdefs.h. */
29290 _ACEOF
29291 cat confdefs.h >>conftest.$ac_ext
29292 cat >>conftest.$ac_ext <<_ACEOF
29293 /* end confdefs.h. */
29294 #include <poll.h>
29295 int
29296 main ()
29297 {
29298 struct pollfd pfd[1];
29299 pfd[0].events = POLLIN;
29300 poll(pfd, 1, 0);
29301 ;
29302 return 0;
29303 }
29304 _ACEOF
29305 rm -f conftest.$ac_objext conftest$ac_exeext
29306 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29307 (eval $ac_link) 2>conftest.er1
29308 ac_status=$?
29309 grep -v '^ *+' conftest.er1 >conftest.err
29310 rm -f conftest.er1
29311 cat conftest.err >&5
29312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29313 (exit $ac_status); } &&
29314 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29315 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29316 (eval $ac_try) 2>&5
29317 ac_status=$?
29318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29319 (exit $ac_status); }; } &&
29320 { ac_try='test -s conftest$ac_exeext'
29321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29322 (eval $ac_try) 2>&5
29323 ac_status=$?
29324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29325 (exit $ac_status); }; }; then
29326 glibcxx_cv_POLL=yes
29327 else
29328 echo "$as_me: failed program was:" >&5
29329 sed 's/^/| /' conftest.$ac_ext >&5
29330
29331 glibcxx_cv_POLL=no
29332 fi
29333 rm -f conftest.err conftest.$ac_objext \
29334 conftest$ac_exeext conftest.$ac_ext
29335
29336 fi
29337
29338 if test $glibcxx_cv_POLL = yes; then
29339
29340 cat >>confdefs.h <<\_ACEOF
29341 #define HAVE_POLL 1
29342 _ACEOF
29343
29344 fi
29345 echo "$as_me:$LINENO: result: $glibcxx_cv_POLL" >&5
29346 echo "${ECHO_T}$glibcxx_cv_POLL" >&6
29347
29348
29349 echo "$as_me:$LINENO: checking for S_ISREG or S_IFREG" >&5
29350 echo $ECHO_N "checking for S_ISREG or S_IFREG... $ECHO_C" >&6
29351 if test "${glibcxx_cv_S_ISREG+set}" = set; then
29352 echo $ECHO_N "(cached) $ECHO_C" >&6
29353 else
29354
29355 if test x$gcc_no_link = xyes; then
29356 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29357 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29358 { (exit 1); exit 1; }; }
29359 fi
29360 cat >conftest.$ac_ext <<_ACEOF
29361 /* confdefs.h. */
29362 _ACEOF
29363 cat confdefs.h >>conftest.$ac_ext
29364 cat >>conftest.$ac_ext <<_ACEOF
29365 /* end confdefs.h. */
29366 #include <sys/stat.h>
29367 int
29368 main ()
29369 {
29370 struct stat buffer;
29371 fstat(0, &buffer);
29372 S_ISREG(buffer.st_mode);
29373 ;
29374 return 0;
29375 }
29376 _ACEOF
29377 rm -f conftest.$ac_objext conftest$ac_exeext
29378 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29379 (eval $ac_link) 2>conftest.er1
29380 ac_status=$?
29381 grep -v '^ *+' conftest.er1 >conftest.err
29382 rm -f conftest.er1
29383 cat conftest.err >&5
29384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29385 (exit $ac_status); } &&
29386 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29388 (eval $ac_try) 2>&5
29389 ac_status=$?
29390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29391 (exit $ac_status); }; } &&
29392 { ac_try='test -s conftest$ac_exeext'
29393 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29394 (eval $ac_try) 2>&5
29395 ac_status=$?
29396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29397 (exit $ac_status); }; }; then
29398 glibcxx_cv_S_ISREG=yes
29399 else
29400 echo "$as_me: failed program was:" >&5
29401 sed 's/^/| /' conftest.$ac_ext >&5
29402
29403 glibcxx_cv_S_ISREG=no
29404 fi
29405 rm -f conftest.err conftest.$ac_objext \
29406 conftest$ac_exeext conftest.$ac_ext
29407
29408 fi
29409
29410 if test "${glibcxx_cv_S_IFREG+set}" = set; then
29411 echo $ECHO_N "(cached) $ECHO_C" >&6
29412 else
29413
29414 if test x$gcc_no_link = xyes; then
29415 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29416 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29417 { (exit 1); exit 1; }; }
29418 fi
29419 cat >conftest.$ac_ext <<_ACEOF
29420 /* confdefs.h. */
29421 _ACEOF
29422 cat confdefs.h >>conftest.$ac_ext
29423 cat >>conftest.$ac_ext <<_ACEOF
29424 /* end confdefs.h. */
29425 #include <sys/stat.h>
29426 int
29427 main ()
29428 {
29429 struct stat buffer;
29430 fstat(0, &buffer);
29431 S_IFREG & buffer.st_mode;
29432 ;
29433 return 0;
29434 }
29435 _ACEOF
29436 rm -f conftest.$ac_objext conftest$ac_exeext
29437 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29438 (eval $ac_link) 2>conftest.er1
29439 ac_status=$?
29440 grep -v '^ *+' conftest.er1 >conftest.err
29441 rm -f conftest.er1
29442 cat conftest.err >&5
29443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29444 (exit $ac_status); } &&
29445 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29447 (eval $ac_try) 2>&5
29448 ac_status=$?
29449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29450 (exit $ac_status); }; } &&
29451 { ac_try='test -s conftest$ac_exeext'
29452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29453 (eval $ac_try) 2>&5
29454 ac_status=$?
29455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29456 (exit $ac_status); }; }; then
29457 glibcxx_cv_S_IFREG=yes
29458 else
29459 echo "$as_me: failed program was:" >&5
29460 sed 's/^/| /' conftest.$ac_ext >&5
29461
29462 glibcxx_cv_S_IFREG=no
29463 fi
29464 rm -f conftest.err conftest.$ac_objext \
29465 conftest$ac_exeext conftest.$ac_ext
29466
29467 fi
29468
29469 res=no
29470 if test $glibcxx_cv_S_ISREG = yes; then
29471
29472 cat >>confdefs.h <<\_ACEOF
29473 #define HAVE_S_ISREG 1
29474 _ACEOF
29475
29476 res=S_ISREG
29477 elif test $glibcxx_cv_S_IFREG = yes; then
29478
29479 cat >>confdefs.h <<\_ACEOF
29480 #define HAVE_S_IFREG 1
29481 _ACEOF
29482
29483 res=S_IFREG
29484 fi
29485 echo "$as_me:$LINENO: result: $res" >&5
29486 echo "${ECHO_T}$res" >&6
29487
29488
29489 # For xsputn_2().
29490
29491 for ac_header in sys/uio.h
29492 do
29493 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
29494 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29495 echo "$as_me:$LINENO: checking for $ac_header" >&5
29496 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29497 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29498 echo $ECHO_N "(cached) $ECHO_C" >&6
29499 fi
29500 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29501 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29502 else
29503 # Is the header compilable?
29504 echo "$as_me:$LINENO: checking $ac_header usability" >&5
29505 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
29506 cat >conftest.$ac_ext <<_ACEOF
29507 /* confdefs.h. */
29508 _ACEOF
29509 cat confdefs.h >>conftest.$ac_ext
29510 cat >>conftest.$ac_ext <<_ACEOF
29511 /* end confdefs.h. */
29512 $ac_includes_default
29513 #include <$ac_header>
29514 _ACEOF
29515 rm -f conftest.$ac_objext
29516 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29517 (eval $ac_compile) 2>conftest.er1
29518 ac_status=$?
29519 grep -v '^ *+' conftest.er1 >conftest.err
29520 rm -f conftest.er1
29521 cat conftest.err >&5
29522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29523 (exit $ac_status); } &&
29524 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29526 (eval $ac_try) 2>&5
29527 ac_status=$?
29528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29529 (exit $ac_status); }; } &&
29530 { ac_try='test -s conftest.$ac_objext'
29531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29532 (eval $ac_try) 2>&5
29533 ac_status=$?
29534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29535 (exit $ac_status); }; }; then
29536 ac_header_compiler=yes
29537 else
29538 echo "$as_me: failed program was:" >&5
29539 sed 's/^/| /' conftest.$ac_ext >&5
29540
29541 ac_header_compiler=no
29542 fi
29543 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29544 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
29545 echo "${ECHO_T}$ac_header_compiler" >&6
29546
29547 # Is the header present?
29548 echo "$as_me:$LINENO: checking $ac_header presence" >&5
29549 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
29550 cat >conftest.$ac_ext <<_ACEOF
29551 /* confdefs.h. */
29552 _ACEOF
29553 cat confdefs.h >>conftest.$ac_ext
29554 cat >>conftest.$ac_ext <<_ACEOF
29555 /* end confdefs.h. */
29556 #include <$ac_header>
29557 _ACEOF
29558 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
29559 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
29560 ac_status=$?
29561 grep -v '^ *+' conftest.er1 >conftest.err
29562 rm -f conftest.er1
29563 cat conftest.err >&5
29564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29565 (exit $ac_status); } >/dev/null; then
29566 if test -s conftest.err; then
29567 ac_cpp_err=$ac_c_preproc_warn_flag
29568 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
29569 else
29570 ac_cpp_err=
29571 fi
29572 else
29573 ac_cpp_err=yes
29574 fi
29575 if test -z "$ac_cpp_err"; then
29576 ac_header_preproc=yes
29577 else
29578 echo "$as_me: failed program was:" >&5
29579 sed 's/^/| /' conftest.$ac_ext >&5
29580
29581 ac_header_preproc=no
29582 fi
29583 rm -f conftest.err conftest.$ac_ext
29584 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
29585 echo "${ECHO_T}$ac_header_preproc" >&6
29586
29587 # So? What about this header?
29588 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
29589 yes:no: )
29590 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
29591 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
29592 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
29593 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
29594 ac_header_preproc=yes
29595 ;;
29596 no:yes:* )
29597 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
29598 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
29599 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
29600 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
29601 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
29602 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
29603 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
29604 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
29605 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
29606 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
29607 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
29608 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
29609 (
29610 cat <<\_ASBOX
29611 ## ----------------------------------------- ##
29612 ## Report this to the package-unused lists. ##
29613 ## ----------------------------------------- ##
29614 _ASBOX
29615 ) |
29616 sed "s/^/$as_me: WARNING: /" >&2
29617 ;;
29618 esac
29619 echo "$as_me:$LINENO: checking for $ac_header" >&5
29620 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29621 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29622 echo $ECHO_N "(cached) $ECHO_C" >&6
29623 else
29624 eval "$as_ac_Header=\$ac_header_preproc"
29625 fi
29626 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29627 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29628
29629 fi
29630 if test `eval echo '${'$as_ac_Header'}'` = yes; then
29631 cat >>confdefs.h <<_ACEOF
29632 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
29633 _ACEOF
29634
29635 fi
29636
29637 done
29638
29639
29640 echo "$as_me:$LINENO: checking for writev" >&5
29641 echo $ECHO_N "checking for writev... $ECHO_C" >&6
29642 if test "${glibcxx_cv_WRITEV+set}" = set; then
29643 echo $ECHO_N "(cached) $ECHO_C" >&6
29644 else
29645
29646 if test x$gcc_no_link = xyes; then
29647 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29648 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29649 { (exit 1); exit 1; }; }
29650 fi
29651 cat >conftest.$ac_ext <<_ACEOF
29652 /* confdefs.h. */
29653 _ACEOF
29654 cat confdefs.h >>conftest.$ac_ext
29655 cat >>conftest.$ac_ext <<_ACEOF
29656 /* end confdefs.h. */
29657 #include <sys/uio.h>
29658 int
29659 main ()
29660 {
29661 struct iovec iov[2];
29662 writev(0, iov, 0);
29663 ;
29664 return 0;
29665 }
29666 _ACEOF
29667 rm -f conftest.$ac_objext conftest$ac_exeext
29668 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29669 (eval $ac_link) 2>conftest.er1
29670 ac_status=$?
29671 grep -v '^ *+' conftest.er1 >conftest.err
29672 rm -f conftest.er1
29673 cat conftest.err >&5
29674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29675 (exit $ac_status); } &&
29676 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29678 (eval $ac_try) 2>&5
29679 ac_status=$?
29680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29681 (exit $ac_status); }; } &&
29682 { ac_try='test -s conftest$ac_exeext'
29683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29684 (eval $ac_try) 2>&5
29685 ac_status=$?
29686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29687 (exit $ac_status); }; }; then
29688 glibcxx_cv_WRITEV=yes
29689 else
29690 echo "$as_me: failed program was:" >&5
29691 sed 's/^/| /' conftest.$ac_ext >&5
29692
29693 glibcxx_cv_WRITEV=no
29694 fi
29695 rm -f conftest.err conftest.$ac_objext \
29696 conftest$ac_exeext conftest.$ac_ext
29697
29698 fi
29699
29700 if test $glibcxx_cv_WRITEV = yes; then
29701
29702 cat >>confdefs.h <<\_ACEOF
29703 #define HAVE_WRITEV 1
29704 _ACEOF
29705
29706 fi
29707 echo "$as_me:$LINENO: result: $glibcxx_cv_WRITEV" >&5
29708 echo "${ECHO_T}$glibcxx_cv_WRITEV" >&6
29709
29710
29711 # For the __streamoff_base_type typedef.
29712
29713 echo "$as_me:$LINENO: checking for int64_t" >&5
29714 echo $ECHO_N "checking for int64_t... $ECHO_C" >&6
29715 if test "${glibcxx_cv_INT64_T+set}" = set; then
29716 echo $ECHO_N "(cached) $ECHO_C" >&6
29717 else
29718
29719 cat >conftest.$ac_ext <<_ACEOF
29720 /* confdefs.h. */
29721 _ACEOF
29722 cat confdefs.h >>conftest.$ac_ext
29723 cat >>conftest.$ac_ext <<_ACEOF
29724 /* end confdefs.h. */
29725 #include <stdint.h>
29726 int
29727 main ()
29728 {
29729 int64_t var;
29730 ;
29731 return 0;
29732 }
29733 _ACEOF
29734 rm -f conftest.$ac_objext
29735 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29736 (eval $ac_compile) 2>conftest.er1
29737 ac_status=$?
29738 grep -v '^ *+' conftest.er1 >conftest.err
29739 rm -f conftest.er1
29740 cat conftest.err >&5
29741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29742 (exit $ac_status); } &&
29743 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29745 (eval $ac_try) 2>&5
29746 ac_status=$?
29747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29748 (exit $ac_status); }; } &&
29749 { ac_try='test -s conftest.$ac_objext'
29750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29751 (eval $ac_try) 2>&5
29752 ac_status=$?
29753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29754 (exit $ac_status); }; }; then
29755 glibcxx_cv_INT64_T=yes
29756 else
29757 echo "$as_me: failed program was:" >&5
29758 sed 's/^/| /' conftest.$ac_ext >&5
29759
29760 glibcxx_cv_INT64_T=no
29761 fi
29762 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29763
29764 fi
29765
29766 if test $glibcxx_cv_INT64_T = yes; then
29767
29768 cat >>confdefs.h <<\_ACEOF
29769 #define HAVE_INT64_T 1
29770 _ACEOF
29771
29772 fi
29773 echo "$as_me:$LINENO: result: $glibcxx_cv_INT64_T" >&5
29774 echo "${ECHO_T}$glibcxx_cv_INT64_T" >&6
29775
29776
29777 # For LFS support.
29778
29779
29780
29781 ac_ext=cc
29782 ac_cpp='$CXXCPP $CPPFLAGS'
29783 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29784 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29785 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29786
29787 ac_save_CXXFLAGS="$CXXFLAGS"
29788 CXXFLAGS="$CXXFLAGS -fno-exceptions"
29789 echo "$as_me:$LINENO: checking for LFS support" >&5
29790 echo $ECHO_N "checking for LFS support... $ECHO_C" >&6
29791 if test "${glibcxx_cv_LFS+set}" = set; then
29792 echo $ECHO_N "(cached) $ECHO_C" >&6
29793 else
29794
29795 if test x$gcc_no_link = xyes; then
29796 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29797 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29798 { (exit 1); exit 1; }; }
29799 fi
29800 cat >conftest.$ac_ext <<_ACEOF
29801 /* confdefs.h. */
29802 _ACEOF
29803 cat confdefs.h >>conftest.$ac_ext
29804 cat >>conftest.$ac_ext <<_ACEOF
29805 /* end confdefs.h. */
29806 #include <unistd.h>
29807 #include <stdio.h>
29808 #include <sys/stat.h>
29809
29810 int
29811 main ()
29812 {
29813 FILE* fp;
29814 fopen64("t", "w");
29815 fseeko64(fp, 0, SEEK_CUR);
29816 ftello64(fp);
29817 lseek64(1, 0, SEEK_CUR);
29818 struct stat64 buf;
29819 fstat64(1, &buf);
29820 ;
29821 return 0;
29822 }
29823 _ACEOF
29824 rm -f conftest.$ac_objext conftest$ac_exeext
29825 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29826 (eval $ac_link) 2>conftest.er1
29827 ac_status=$?
29828 grep -v '^ *+' conftest.er1 >conftest.err
29829 rm -f conftest.er1
29830 cat conftest.err >&5
29831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29832 (exit $ac_status); } &&
29833 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29835 (eval $ac_try) 2>&5
29836 ac_status=$?
29837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29838 (exit $ac_status); }; } &&
29839 { ac_try='test -s conftest$ac_exeext'
29840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29841 (eval $ac_try) 2>&5
29842 ac_status=$?
29843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29844 (exit $ac_status); }; }; then
29845 glibcxx_cv_LFS=yes
29846 else
29847 echo "$as_me: failed program was:" >&5
29848 sed 's/^/| /' conftest.$ac_ext >&5
29849
29850 glibcxx_cv_LFS=no
29851 fi
29852 rm -f conftest.err conftest.$ac_objext \
29853 conftest$ac_exeext conftest.$ac_ext
29854
29855 fi
29856
29857 if test $glibcxx_cv_LFS = yes; then
29858
29859 cat >>confdefs.h <<\_ACEOF
29860 #define _GLIBCXX_USE_LFS 1
29861 _ACEOF
29862
29863 fi
29864 echo "$as_me:$LINENO: result: $glibcxx_cv_LFS" >&5
29865 echo "${ECHO_T}$glibcxx_cv_LFS" >&6
29866 CXXFLAGS="$ac_save_CXXFLAGS"
29867 ac_ext=c
29868 ac_cpp='$CPP $CPPFLAGS'
29869 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29870 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29871 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29872
29873
29874
29875 # For C99 support to TR1.
29876
29877
29878
29879
29880 ac_ext=cc
29881 ac_cpp='$CXXCPP $CPPFLAGS'
29882 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29883 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29884 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29885
29886
29887 # Check for the existence of <complex.h> complex math functions used
29888 # by tr1/complex.
29889
29890 for ac_header in complex.h
29891 do
29892 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
29893 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29894 echo "$as_me:$LINENO: checking for $ac_header" >&5
29895 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29896 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29897 echo $ECHO_N "(cached) $ECHO_C" >&6
29898 fi
29899 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29900 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29901 else
29902 # Is the header compilable?
29903 echo "$as_me:$LINENO: checking $ac_header usability" >&5
29904 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
29905 cat >conftest.$ac_ext <<_ACEOF
29906 /* confdefs.h. */
29907 _ACEOF
29908 cat confdefs.h >>conftest.$ac_ext
29909 cat >>conftest.$ac_ext <<_ACEOF
29910 /* end confdefs.h. */
29911 $ac_includes_default
29912 #include <$ac_header>
29913 _ACEOF
29914 rm -f conftest.$ac_objext
29915 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29916 (eval $ac_compile) 2>conftest.er1
29917 ac_status=$?
29918 grep -v '^ *+' conftest.er1 >conftest.err
29919 rm -f conftest.er1
29920 cat conftest.err >&5
29921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29922 (exit $ac_status); } &&
29923 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29925 (eval $ac_try) 2>&5
29926 ac_status=$?
29927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29928 (exit $ac_status); }; } &&
29929 { ac_try='test -s conftest.$ac_objext'
29930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29931 (eval $ac_try) 2>&5
29932 ac_status=$?
29933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29934 (exit $ac_status); }; }; then
29935 ac_header_compiler=yes
29936 else
29937 echo "$as_me: failed program was:" >&5
29938 sed 's/^/| /' conftest.$ac_ext >&5
29939
29940 ac_header_compiler=no
29941 fi
29942 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29943 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
29944 echo "${ECHO_T}$ac_header_compiler" >&6
29945
29946 # Is the header present?
29947 echo "$as_me:$LINENO: checking $ac_header presence" >&5
29948 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
29949 cat >conftest.$ac_ext <<_ACEOF
29950 /* confdefs.h. */
29951 _ACEOF
29952 cat confdefs.h >>conftest.$ac_ext
29953 cat >>conftest.$ac_ext <<_ACEOF
29954 /* end confdefs.h. */
29955 #include <$ac_header>
29956 _ACEOF
29957 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
29958 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
29959 ac_status=$?
29960 grep -v '^ *+' conftest.er1 >conftest.err
29961 rm -f conftest.er1
29962 cat conftest.err >&5
29963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29964 (exit $ac_status); } >/dev/null; then
29965 if test -s conftest.err; then
29966 ac_cpp_err=$ac_cxx_preproc_warn_flag
29967 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
29968 else
29969 ac_cpp_err=
29970 fi
29971 else
29972 ac_cpp_err=yes
29973 fi
29974 if test -z "$ac_cpp_err"; then
29975 ac_header_preproc=yes
29976 else
29977 echo "$as_me: failed program was:" >&5
29978 sed 's/^/| /' conftest.$ac_ext >&5
29979
29980 ac_header_preproc=no
29981 fi
29982 rm -f conftest.err conftest.$ac_ext
29983 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
29984 echo "${ECHO_T}$ac_header_preproc" >&6
29985
29986 # So? What about this header?
29987 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
29988 yes:no: )
29989 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
29990 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
29991 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
29992 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
29993 ac_header_preproc=yes
29994 ;;
29995 no:yes:* )
29996 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
29997 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
29998 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
29999 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
30000 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
30001 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
30002 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
30003 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
30004 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
30005 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
30006 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
30007 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
30008 (
30009 cat <<\_ASBOX
30010 ## ----------------------------------------- ##
30011 ## Report this to the package-unused lists. ##
30012 ## ----------------------------------------- ##
30013 _ASBOX
30014 ) |
30015 sed "s/^/$as_me: WARNING: /" >&2
30016 ;;
30017 esac
30018 echo "$as_me:$LINENO: checking for $ac_header" >&5
30019 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
30020 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30021 echo $ECHO_N "(cached) $ECHO_C" >&6
30022 else
30023 eval "$as_ac_Header=\$ac_header_preproc"
30024 fi
30025 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
30026 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
30027
30028 fi
30029 if test `eval echo '${'$as_ac_Header'}'` = yes; then
30030 cat >>confdefs.h <<_ACEOF
30031 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
30032 _ACEOF
30033 ac_has_complex_h=yes
30034 else
30035 ac_has_complex_h=no
30036 fi
30037
30038 done
30039
30040 ac_c99_complex_tr1=no;
30041 if test x"$ac_has_complex_h" = x"yes"; then
30042 echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <complex.h>" >&5
30043 echo $ECHO_N "checking for ISO C99 support to TR1 in <complex.h>... $ECHO_C" >&6
30044 cat >conftest.$ac_ext <<_ACEOF
30045 /* confdefs.h. */
30046 _ACEOF
30047 cat confdefs.h >>conftest.$ac_ext
30048 cat >>conftest.$ac_ext <<_ACEOF
30049 /* end confdefs.h. */
30050 #include <complex.h>
30051 int
30052 main ()
30053 {
30054 typedef __complex__ float float_type; float_type tmpf;
30055 cacosf(tmpf);
30056 casinf(tmpf);
30057 catanf(tmpf);
30058 cacoshf(tmpf);
30059 casinhf(tmpf);
30060 catanhf(tmpf);
30061 typedef __complex__ double double_type; double_type tmpd;
30062 cacos(tmpd);
30063 casin(tmpd);
30064 catan(tmpd);
30065 cacosh(tmpd);
30066 casinh(tmpd);
30067 catanh(tmpd);
30068 typedef __complex__ long double ld_type; ld_type tmpld;
30069 cacosl(tmpld);
30070 casinl(tmpld);
30071 catanl(tmpld);
30072 cacoshl(tmpld);
30073 casinhl(tmpld);
30074 catanhl(tmpld);
30075
30076 ;
30077 return 0;
30078 }
30079 _ACEOF
30080 rm -f conftest.$ac_objext
30081 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30082 (eval $ac_compile) 2>conftest.er1
30083 ac_status=$?
30084 grep -v '^ *+' conftest.er1 >conftest.err
30085 rm -f conftest.er1
30086 cat conftest.err >&5
30087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30088 (exit $ac_status); } &&
30089 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30091 (eval $ac_try) 2>&5
30092 ac_status=$?
30093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30094 (exit $ac_status); }; } &&
30095 { ac_try='test -s conftest.$ac_objext'
30096 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30097 (eval $ac_try) 2>&5
30098 ac_status=$?
30099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30100 (exit $ac_status); }; }; then
30101 ac_c99_complex_tr1=yes
30102 else
30103 echo "$as_me: failed program was:" >&5
30104 sed 's/^/| /' conftest.$ac_ext >&5
30105
30106 ac_c99_complex_tr1=no
30107 fi
30108 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30109 fi
30110 echo "$as_me:$LINENO: result: $ac_c99_complex_tr1" >&5
30111 echo "${ECHO_T}$ac_c99_complex_tr1" >&6
30112 if test x"$ac_c99_complex_tr1" = x"yes"; then
30113
30114 cat >>confdefs.h <<\_ACEOF
30115 #define _GLIBCXX_USE_C99_COMPLEX_TR1 1
30116 _ACEOF
30117
30118 fi
30119
30120 # Check for the existence of <ctype.h> functions.
30121 echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <ctype.h>" >&5
30122 echo $ECHO_N "checking for ISO C99 support to TR1 in <ctype.h>... $ECHO_C" >&6
30123 if test "${ac_c99_ctype_tr1+set}" = set; then
30124 echo $ECHO_N "(cached) $ECHO_C" >&6
30125 else
30126
30127 cat >conftest.$ac_ext <<_ACEOF
30128 /* confdefs.h. */
30129 _ACEOF
30130 cat confdefs.h >>conftest.$ac_ext
30131 cat >>conftest.$ac_ext <<_ACEOF
30132 /* end confdefs.h. */
30133 #include <ctype.h>
30134 int
30135 main ()
30136 {
30137 int ch;
30138 int ret;
30139 ret = isblank(ch);
30140
30141 ;
30142 return 0;
30143 }
30144 _ACEOF
30145 rm -f conftest.$ac_objext
30146 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30147 (eval $ac_compile) 2>conftest.er1
30148 ac_status=$?
30149 grep -v '^ *+' conftest.er1 >conftest.err
30150 rm -f conftest.er1
30151 cat conftest.err >&5
30152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30153 (exit $ac_status); } &&
30154 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30156 (eval $ac_try) 2>&5
30157 ac_status=$?
30158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30159 (exit $ac_status); }; } &&
30160 { ac_try='test -s conftest.$ac_objext'
30161 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30162 (eval $ac_try) 2>&5
30163 ac_status=$?
30164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30165 (exit $ac_status); }; }; then
30166 ac_c99_ctype_tr1=yes
30167 else
30168 echo "$as_me: failed program was:" >&5
30169 sed 's/^/| /' conftest.$ac_ext >&5
30170
30171 ac_c99_ctype_tr1=no
30172 fi
30173 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30174
30175 fi
30176
30177 echo "$as_me:$LINENO: result: $ac_c99_ctype_tr1" >&5
30178 echo "${ECHO_T}$ac_c99_ctype_tr1" >&6
30179 if test x"$ac_c99_ctype_tr1" = x"yes"; then
30180
30181 cat >>confdefs.h <<\_ACEOF
30182 #define _GLIBCXX_USE_C99_CTYPE_TR1 1
30183 _ACEOF
30184
30185 fi
30186
30187 # Check for the existence of <fenv.h> functions.
30188
30189 for ac_header in fenv.h
30190 do
30191 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
30192 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30193 echo "$as_me:$LINENO: checking for $ac_header" >&5
30194 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
30195 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30196 echo $ECHO_N "(cached) $ECHO_C" >&6
30197 fi
30198 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
30199 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
30200 else
30201 # Is the header compilable?
30202 echo "$as_me:$LINENO: checking $ac_header usability" >&5
30203 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
30204 cat >conftest.$ac_ext <<_ACEOF
30205 /* confdefs.h. */
30206 _ACEOF
30207 cat confdefs.h >>conftest.$ac_ext
30208 cat >>conftest.$ac_ext <<_ACEOF
30209 /* end confdefs.h. */
30210 $ac_includes_default
30211 #include <$ac_header>
30212 _ACEOF
30213 rm -f conftest.$ac_objext
30214 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30215 (eval $ac_compile) 2>conftest.er1
30216 ac_status=$?
30217 grep -v '^ *+' conftest.er1 >conftest.err
30218 rm -f conftest.er1
30219 cat conftest.err >&5
30220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30221 (exit $ac_status); } &&
30222 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30224 (eval $ac_try) 2>&5
30225 ac_status=$?
30226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30227 (exit $ac_status); }; } &&
30228 { ac_try='test -s conftest.$ac_objext'
30229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30230 (eval $ac_try) 2>&5
30231 ac_status=$?
30232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30233 (exit $ac_status); }; }; then
30234 ac_header_compiler=yes
30235 else
30236 echo "$as_me: failed program was:" >&5
30237 sed 's/^/| /' conftest.$ac_ext >&5
30238
30239 ac_header_compiler=no
30240 fi
30241 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30242 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
30243 echo "${ECHO_T}$ac_header_compiler" >&6
30244
30245 # Is the header present?
30246 echo "$as_me:$LINENO: checking $ac_header presence" >&5
30247 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
30248 cat >conftest.$ac_ext <<_ACEOF
30249 /* confdefs.h. */
30250 _ACEOF
30251 cat confdefs.h >>conftest.$ac_ext
30252 cat >>conftest.$ac_ext <<_ACEOF
30253 /* end confdefs.h. */
30254 #include <$ac_header>
30255 _ACEOF
30256 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
30257 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
30258 ac_status=$?
30259 grep -v '^ *+' conftest.er1 >conftest.err
30260 rm -f conftest.er1
30261 cat conftest.err >&5
30262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30263 (exit $ac_status); } >/dev/null; then
30264 if test -s conftest.err; then
30265 ac_cpp_err=$ac_cxx_preproc_warn_flag
30266 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
30267 else
30268 ac_cpp_err=
30269 fi
30270 else
30271 ac_cpp_err=yes
30272 fi
30273 if test -z "$ac_cpp_err"; then
30274 ac_header_preproc=yes
30275 else
30276 echo "$as_me: failed program was:" >&5
30277 sed 's/^/| /' conftest.$ac_ext >&5
30278
30279 ac_header_preproc=no
30280 fi
30281 rm -f conftest.err conftest.$ac_ext
30282 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
30283 echo "${ECHO_T}$ac_header_preproc" >&6
30284
30285 # So? What about this header?
30286 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
30287 yes:no: )
30288 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
30289 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
30290 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
30291 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
30292 ac_header_preproc=yes
30293 ;;
30294 no:yes:* )
30295 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
30296 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
30297 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
30298 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
30299 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
30300 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
30301 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
30302 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
30303 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
30304 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
30305 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
30306 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
30307 (
30308 cat <<\_ASBOX
30309 ## ----------------------------------------- ##
30310 ## Report this to the package-unused lists. ##
30311 ## ----------------------------------------- ##
30312 _ASBOX
30313 ) |
30314 sed "s/^/$as_me: WARNING: /" >&2
30315 ;;
30316 esac
30317 echo "$as_me:$LINENO: checking for $ac_header" >&5
30318 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
30319 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30320 echo $ECHO_N "(cached) $ECHO_C" >&6
30321 else
30322 eval "$as_ac_Header=\$ac_header_preproc"
30323 fi
30324 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
30325 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
30326
30327 fi
30328 if test `eval echo '${'$as_ac_Header'}'` = yes; then
30329 cat >>confdefs.h <<_ACEOF
30330 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
30331 _ACEOF
30332 ac_has_fenv_h=yes
30333 else
30334 ac_has_fenv_h=no
30335 fi
30336
30337 done
30338
30339 ac_c99_fenv_tr1=no;
30340 if test x"$ac_has_fenv_h" = x"yes"; then
30341 echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <fenv.h>" >&5
30342 echo $ECHO_N "checking for ISO C99 support to TR1 in <fenv.h>... $ECHO_C" >&6
30343 cat >conftest.$ac_ext <<_ACEOF
30344 /* confdefs.h. */
30345 _ACEOF
30346 cat confdefs.h >>conftest.$ac_ext
30347 cat >>conftest.$ac_ext <<_ACEOF
30348 /* end confdefs.h. */
30349 #include <fenv.h>
30350 int
30351 main ()
30352 {
30353 int except, mode;
30354 fexcept_t* pflag;
30355 fenv_t* penv;
30356 int ret;
30357 ret = feclearexcept(except);
30358 ret = fegetexceptflag(pflag, except);
30359 ret = feraiseexcept(except);
30360 ret = fesetexceptflag(pflag, except);
30361 ret = fetestexcept(except);
30362 ret = fegetround();
30363 ret = fesetround(mode);
30364 ret = fegetenv(penv);
30365 ret = feholdexcept(penv);
30366 ret = fesetenv(penv);
30367 ret = feupdateenv(penv);
30368
30369 ;
30370 return 0;
30371 }
30372 _ACEOF
30373 rm -f conftest.$ac_objext
30374 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30375 (eval $ac_compile) 2>conftest.er1
30376 ac_status=$?
30377 grep -v '^ *+' conftest.er1 >conftest.err
30378 rm -f conftest.er1
30379 cat conftest.err >&5
30380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30381 (exit $ac_status); } &&
30382 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30383 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30384 (eval $ac_try) 2>&5
30385 ac_status=$?
30386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30387 (exit $ac_status); }; } &&
30388 { ac_try='test -s conftest.$ac_objext'
30389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30390 (eval $ac_try) 2>&5
30391 ac_status=$?
30392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30393 (exit $ac_status); }; }; then
30394 ac_c99_fenv_tr1=yes
30395 else
30396 echo "$as_me: failed program was:" >&5
30397 sed 's/^/| /' conftest.$ac_ext >&5
30398
30399 ac_c99_fenv_tr1=no
30400 fi
30401 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30402 fi
30403 echo "$as_me:$LINENO: result: $ac_c99_fenv_tr1" >&5
30404 echo "${ECHO_T}$ac_c99_fenv_tr1" >&6
30405 if test x"$ac_c99_fenv_tr1" = x"yes"; then
30406
30407 cat >>confdefs.h <<\_ACEOF
30408 #define _GLIBCXX_USE_C99_FENV_TR1 1
30409 _ACEOF
30410
30411 fi
30412
30413 # Check for the existence of <stdint.h> types.
30414 echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <stdint.h>" >&5
30415 echo $ECHO_N "checking for ISO C99 support to TR1 in <stdint.h>... $ECHO_C" >&6
30416 if test "${ac_c99_stdint_tr1+set}" = set; then
30417 echo $ECHO_N "(cached) $ECHO_C" >&6
30418 else
30419
30420 cat >conftest.$ac_ext <<_ACEOF
30421 /* confdefs.h. */
30422 _ACEOF
30423 cat confdefs.h >>conftest.$ac_ext
30424 cat >>conftest.$ac_ext <<_ACEOF
30425 /* end confdefs.h. */
30426 #include <stdint.h>
30427 int
30428 main ()
30429 {
30430 typedef int8_t my_int8_t;
30431 typedef int16_t my_int16_t;
30432 typedef int32_t my_int32_t;
30433 typedef int64_t my_int64_t;
30434 typedef int_fast8_t my_int_fast8_t;
30435 typedef int_fast16_t my_int_fast16_t;
30436 typedef int_fast32_t my_int_fast32_t;
30437 typedef int_fast64_t my_int_fast64_t;
30438 typedef int_least8_t my_int_least8_t;
30439 typedef int_least16_t my_int_least16_t;
30440 typedef int_least32_t my_int_least32_t;
30441 typedef int_least64_t my_int_least64_t;
30442 typedef intmax_t my_intmax_t;
30443 typedef intptr_t my_intptr_t;
30444 typedef uint8_t my_uint8_t;
30445 typedef uint16_t my_uint16_t;
30446 typedef uint32_t my_uint32_t;
30447 typedef uint64_t my_uint64_t;
30448 typedef uint_fast8_t my_uint_fast8_t;
30449 typedef uint_fast16_t my_uint_fast16_t;
30450 typedef uint_fast32_t my_uint_fast32_t;
30451 typedef uint_fast64_t my_uint_fast64_t;
30452 typedef uint_least8_t my_uint_least8_t;
30453 typedef uint_least16_t my_uint_least16_t;
30454 typedef uint_least32_t my_uint_least32_t;
30455 typedef uint_least64_t my_uint_least64_t;
30456 typedef uintmax_t my_uintmax_t;
30457 typedef uintptr_t my_uintptr_t;
30458
30459 ;
30460 return 0;
30461 }
30462 _ACEOF
30463 rm -f conftest.$ac_objext
30464 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30465 (eval $ac_compile) 2>conftest.er1
30466 ac_status=$?
30467 grep -v '^ *+' conftest.er1 >conftest.err
30468 rm -f conftest.er1
30469 cat conftest.err >&5
30470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30471 (exit $ac_status); } &&
30472 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30474 (eval $ac_try) 2>&5
30475 ac_status=$?
30476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30477 (exit $ac_status); }; } &&
30478 { ac_try='test -s conftest.$ac_objext'
30479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30480 (eval $ac_try) 2>&5
30481 ac_status=$?
30482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30483 (exit $ac_status); }; }; then
30484 ac_c99_stdint_tr1=yes
30485 else
30486 echo "$as_me: failed program was:" >&5
30487 sed 's/^/| /' conftest.$ac_ext >&5
30488
30489 ac_c99_stdint_tr1=no
30490 fi
30491 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30492
30493 fi
30494
30495 echo "$as_me:$LINENO: result: $ac_c99_stdint_tr1" >&5
30496 echo "${ECHO_T}$ac_c99_stdint_tr1" >&6
30497 if test x"$ac_c99_stdint_tr1" = x"yes"; then
30498
30499 cat >>confdefs.h <<\_ACEOF
30500 #define _GLIBCXX_USE_C99_STDINT_TR1 1
30501 _ACEOF
30502
30503 fi
30504
30505 # Check for the existence of <math.h> functions.
30506 echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <math.h>" >&5
30507 echo $ECHO_N "checking for ISO C99 support to TR1 in <math.h>... $ECHO_C" >&6
30508 if test "${ac_c99_math_tr1+set}" = set; then
30509 echo $ECHO_N "(cached) $ECHO_C" >&6
30510 else
30511
30512 cat >conftest.$ac_ext <<_ACEOF
30513 /* confdefs.h. */
30514 _ACEOF
30515 cat confdefs.h >>conftest.$ac_ext
30516 cat >>conftest.$ac_ext <<_ACEOF
30517 /* end confdefs.h. */
30518 #include <math.h>
30519 int
30520 main ()
30521 {
30522 typedef double_t my_double_t;
30523 typedef float_t my_float_t;
30524 acosh(0.0);
30525 acoshf(0.0f);
30526 acoshl(0.0l);
30527 asinh(0.0);
30528 asinhf(0.0f);
30529 asinhl(0.0l);
30530 atanh(0.0);
30531 atanhf(0.0f);
30532 atanhl(0.0l);
30533 cbrt(0.0);
30534 cbrtf(0.0f);
30535 cbrtl(0.0l);
30536 copysign(0.0, 0.0);
30537 copysignf(0.0f, 0.0f);
30538 copysignl(0.0l, 0.0l);
30539 erf(0.0);
30540 erff(0.0f);
30541 erfl(0.0l);
30542 erfc(0.0);
30543 erfcf(0.0f);
30544 erfcl(0.0l);
30545 exp2(0.0);
30546 exp2f(0.0f);
30547 exp2l(0.0l);
30548 expm1(0.0);
30549 expm1f(0.0f);
30550 expm1l(0.0l);
30551 fdim(0.0, 0.0);
30552 fdimf(0.0f, 0.0f);
30553 fdiml(0.0l, 0.0l);
30554 fma(0.0, 0.0, 0.0);
30555 fmaf(0.0f, 0.0f, 0.0f);
30556 fmal(0.0l, 0.0l, 0.0l);
30557 fmax(0.0, 0.0);
30558 fmaxf(0.0f, 0.0f);
30559 fmaxl(0.0l, 0.0l);
30560 fmin(0.0, 0.0);
30561 fminf(0.0f, 0.0f);
30562 fminl(0.0l, 0.0l);
30563 hypot(0.0, 0.0);
30564 hypotf(0.0f, 0.0f);
30565 hypotl(0.0l, 0.0l);
30566 ilogb(0.0);
30567 ilogbf(0.0f);
30568 ilogbl(0.0l);
30569 lgamma(0.0);
30570 lgammaf(0.0f);
30571 lgammal(0.0l);
30572 llrint(0.0);
30573 llrintf(0.0f);
30574 llrintl(0.0l);
30575 llround(0.0);
30576 llroundf(0.0f);
30577 llroundl(0.0l);
30578 log1p(0.0);
30579 log1pf(0.0f);
30580 log1pl(0.0l);
30581 log2(0.0);
30582 log2f(0.0f);
30583 log2l(0.0l);
30584 logb(0.0);
30585 logbf(0.0f);
30586 logbl(0.0l);
30587 lrint(0.0);
30588 lrintf(0.0f);
30589 lrintl(0.0l);
30590 lround(0.0);
30591 lroundf(0.0f);
30592 lroundl(0.0l);
30593 nan(0);
30594 nanf(0);
30595 nanl(0);
30596 nearbyint(0.0);
30597 nearbyintf(0.0f);
30598 nearbyintl(0.0l);
30599 nextafter(0.0, 0.0);
30600 nextafterf(0.0f, 0.0f);
30601 nextafterl(0.0l, 0.0l);
30602 nexttoward(0.0, 0.0);
30603 nexttowardf(0.0f, 0.0f);
30604 nexttowardl(0.0l, 0.0l);
30605 remainder(0.0, 0.0);
30606 remainderf(0.0f, 0.0f);
30607 remainderl(0.0l, 0.0l);
30608 remquo(0.0, 0.0, 0);
30609 remquo(0.0f, 0.0f, 0);
30610 remquo(0.0l, 0.0l, 0);
30611 rint(0.0);
30612 rintf(0.0f);
30613 rintl(0.0l);
30614 round(0.0);
30615 roundf(0.0f);
30616 roundl(0.0l);
30617 scalbln(0.0, 0l);
30618 scalblnf(0.0f, 0l);
30619 scalblnl(0.0l, 0l);
30620 scalbn(0.0, 0);
30621 scalbnf(0.0f, 0);
30622 scalbnl(0.0l, 0);
30623 tgamma(0.0);
30624 tgammaf(0.0f);
30625 tgammal(0.0l);
30626 trunc(0.0);
30627 truncf(0.0f);
30628 truncl(0.0l);
30629
30630 ;
30631 return 0;
30632 }
30633 _ACEOF
30634 rm -f conftest.$ac_objext
30635 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30636 (eval $ac_compile) 2>conftest.er1
30637 ac_status=$?
30638 grep -v '^ *+' conftest.er1 >conftest.err
30639 rm -f conftest.er1
30640 cat conftest.err >&5
30641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30642 (exit $ac_status); } &&
30643 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30645 (eval $ac_try) 2>&5
30646 ac_status=$?
30647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30648 (exit $ac_status); }; } &&
30649 { ac_try='test -s conftest.$ac_objext'
30650 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30651 (eval $ac_try) 2>&5
30652 ac_status=$?
30653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30654 (exit $ac_status); }; }; then
30655 ac_c99_math_tr1=yes
30656 else
30657 echo "$as_me: failed program was:" >&5
30658 sed 's/^/| /' conftest.$ac_ext >&5
30659
30660 ac_c99_math_tr1=no
30661 fi
30662 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30663
30664 fi
30665
30666 echo "$as_me:$LINENO: result: $ac_c99_math_tr1" >&5
30667 echo "${ECHO_T}$ac_c99_math_tr1" >&6
30668 if test x"$ac_c99_math_tr1" = x"yes"; then
30669
30670 cat >>confdefs.h <<\_ACEOF
30671 #define _GLIBCXX_USE_C99_MATH_TR1 1
30672 _ACEOF
30673
30674 fi
30675
30676 # Check for the existence of <inttypes.h> functions (NB: doesn't make
30677 # sense if the previous check fails, per C99, 7.8/1).
30678 ac_c99_inttypes_tr1=no;
30679 if test x"$ac_c99_stdint_tr1" = x"yes"; then
30680 echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <inttypes.h>" >&5
30681 echo $ECHO_N "checking for ISO C99 support to TR1 in <inttypes.h>... $ECHO_C" >&6
30682 cat >conftest.$ac_ext <<_ACEOF
30683 /* confdefs.h. */
30684 _ACEOF
30685 cat confdefs.h >>conftest.$ac_ext
30686 cat >>conftest.$ac_ext <<_ACEOF
30687 /* end confdefs.h. */
30688 #include <inttypes.h>
30689 int
30690 main ()
30691 {
30692 intmax_t i, numer, denom, base;
30693 const char* s;
30694 char** endptr;
30695 intmax_t ret = imaxabs(i);
30696 imaxdiv_t dret = imaxdiv(numer, denom);
30697 ret = strtoimax(s, endptr, base);
30698 uintmax_t uret = strtoumax(s, endptr, base);
30699
30700 ;
30701 return 0;
30702 }
30703 _ACEOF
30704 rm -f conftest.$ac_objext
30705 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30706 (eval $ac_compile) 2>conftest.er1
30707 ac_status=$?
30708 grep -v '^ *+' conftest.er1 >conftest.err
30709 rm -f conftest.er1
30710 cat conftest.err >&5
30711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30712 (exit $ac_status); } &&
30713 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30715 (eval $ac_try) 2>&5
30716 ac_status=$?
30717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30718 (exit $ac_status); }; } &&
30719 { ac_try='test -s conftest.$ac_objext'
30720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30721 (eval $ac_try) 2>&5
30722 ac_status=$?
30723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30724 (exit $ac_status); }; }; then
30725 ac_c99_inttypes_tr1=yes
30726 else
30727 echo "$as_me: failed program was:" >&5
30728 sed 's/^/| /' conftest.$ac_ext >&5
30729
30730 ac_c99_inttypes_tr1=no
30731 fi
30732 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30733 fi
30734 echo "$as_me:$LINENO: result: $ac_c99_inttypes_tr1" >&5
30735 echo "${ECHO_T}$ac_c99_inttypes_tr1" >&6
30736 if test x"$ac_c99_inttypes_tr1" = x"yes"; then
30737
30738 cat >>confdefs.h <<\_ACEOF
30739 #define _GLIBCXX_USE_C99_INTTYPES_TR1 1
30740 _ACEOF
30741
30742 fi
30743
30744 # Check for the existence of the <stdbool.h> header.
30745
30746 for ac_header in stdbool.h
30747 do
30748 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
30749 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30750 echo "$as_me:$LINENO: checking for $ac_header" >&5
30751 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
30752 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30753 echo $ECHO_N "(cached) $ECHO_C" >&6
30754 fi
30755 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
30756 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
30757 else
30758 # Is the header compilable?
30759 echo "$as_me:$LINENO: checking $ac_header usability" >&5
30760 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
30761 cat >conftest.$ac_ext <<_ACEOF
30762 /* confdefs.h. */
30763 _ACEOF
30764 cat confdefs.h >>conftest.$ac_ext
30765 cat >>conftest.$ac_ext <<_ACEOF
30766 /* end confdefs.h. */
30767 $ac_includes_default
30768 #include <$ac_header>
30769 _ACEOF
30770 rm -f conftest.$ac_objext
30771 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30772 (eval $ac_compile) 2>conftest.er1
30773 ac_status=$?
30774 grep -v '^ *+' conftest.er1 >conftest.err
30775 rm -f conftest.er1
30776 cat conftest.err >&5
30777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30778 (exit $ac_status); } &&
30779 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30781 (eval $ac_try) 2>&5
30782 ac_status=$?
30783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30784 (exit $ac_status); }; } &&
30785 { ac_try='test -s conftest.$ac_objext'
30786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30787 (eval $ac_try) 2>&5
30788 ac_status=$?
30789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30790 (exit $ac_status); }; }; then
30791 ac_header_compiler=yes
30792 else
30793 echo "$as_me: failed program was:" >&5
30794 sed 's/^/| /' conftest.$ac_ext >&5
30795
30796 ac_header_compiler=no
30797 fi
30798 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30799 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
30800 echo "${ECHO_T}$ac_header_compiler" >&6
30801
30802 # Is the header present?
30803 echo "$as_me:$LINENO: checking $ac_header presence" >&5
30804 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
30805 cat >conftest.$ac_ext <<_ACEOF
30806 /* confdefs.h. */
30807 _ACEOF
30808 cat confdefs.h >>conftest.$ac_ext
30809 cat >>conftest.$ac_ext <<_ACEOF
30810 /* end confdefs.h. */
30811 #include <$ac_header>
30812 _ACEOF
30813 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
30814 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
30815 ac_status=$?
30816 grep -v '^ *+' conftest.er1 >conftest.err
30817 rm -f conftest.er1
30818 cat conftest.err >&5
30819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30820 (exit $ac_status); } >/dev/null; then
30821 if test -s conftest.err; then
30822 ac_cpp_err=$ac_cxx_preproc_warn_flag
30823 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
30824 else
30825 ac_cpp_err=
30826 fi
30827 else
30828 ac_cpp_err=yes
30829 fi
30830 if test -z "$ac_cpp_err"; then
30831 ac_header_preproc=yes
30832 else
30833 echo "$as_me: failed program was:" >&5
30834 sed 's/^/| /' conftest.$ac_ext >&5
30835
30836 ac_header_preproc=no
30837 fi
30838 rm -f conftest.err conftest.$ac_ext
30839 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
30840 echo "${ECHO_T}$ac_header_preproc" >&6
30841
30842 # So? What about this header?
30843 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
30844 yes:no: )
30845 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
30846 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
30847 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
30848 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
30849 ac_header_preproc=yes
30850 ;;
30851 no:yes:* )
30852 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
30853 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
30854 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
30855 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
30856 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
30857 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
30858 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
30859 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
30860 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
30861 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
30862 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
30863 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
30864 (
30865 cat <<\_ASBOX
30866 ## ----------------------------------------- ##
30867 ## Report this to the package-unused lists. ##
30868 ## ----------------------------------------- ##
30869 _ASBOX
30870 ) |
30871 sed "s/^/$as_me: WARNING: /" >&2
30872 ;;
30873 esac
30874 echo "$as_me:$LINENO: checking for $ac_header" >&5
30875 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
30876 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30877 echo $ECHO_N "(cached) $ECHO_C" >&6
30878 else
30879 eval "$as_ac_Header=\$ac_header_preproc"
30880 fi
30881 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
30882 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
30883
30884 fi
30885 if test `eval echo '${'$as_ac_Header'}'` = yes; then
30886 cat >>confdefs.h <<_ACEOF
30887 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
30888 _ACEOF
30889
30890 fi
30891
30892 done
30893
30894
30895 ac_ext=c
30896 ac_cpp='$CPP $CPPFLAGS'
30897 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30898 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30899 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30900
30901
30902
30903 # For dev/random and dev/urandom for TR1.
30904
30905
30906 echo "$as_me:$LINENO: checking for \"dev/random\" and \"dev/urandom\" for TR1 random_device" >&5
30907 echo $ECHO_N "checking for \"dev/random\" and \"dev/urandom\" for TR1 random_device... $ECHO_C" >&6
30908 if test "${ac_random_tr1+set}" = set; then
30909 echo $ECHO_N "(cached) $ECHO_C" >&6
30910 else
30911
30912 if test "$cross_compiling" = yes; then
30913 ac_random_tr1=no
30914 else
30915 cat >conftest.$ac_ext <<_ACEOF
30916 /* confdefs.h. */
30917 _ACEOF
30918 cat confdefs.h >>conftest.$ac_ext
30919 cat >>conftest.$ac_ext <<_ACEOF
30920 /* end confdefs.h. */
30921 #include <stdio.h>
30922 int main()
30923 {
30924 return !(fopen("/dev/random", "r")
30925 && fopen("/dev/urandom", "r"));
30926 }
30927
30928 _ACEOF
30929 rm -f conftest$ac_exeext
30930 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30931 (eval $ac_link) 2>&5
30932 ac_status=$?
30933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30934 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
30935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30936 (eval $ac_try) 2>&5
30937 ac_status=$?
30938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30939 (exit $ac_status); }; }; then
30940 ac_random_tr1=yes
30941 else
30942 echo "$as_me: program exited with status $ac_status" >&5
30943 echo "$as_me: failed program was:" >&5
30944 sed 's/^/| /' conftest.$ac_ext >&5
30945
30946 ( exit $ac_status )
30947 ac_random_tr1=no
30948 fi
30949 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
30950 fi
30951
30952 fi
30953
30954 echo "$as_me:$LINENO: result: $ac_random_tr1" >&5
30955 echo "${ECHO_T}$ac_random_tr1" >&6
30956 if test x"$ac_random_tr1" = x"yes"; then
30957
30958 cat >>confdefs.h <<\_ACEOF
30959 #define _GLIBCXX_USE_RANDOM_TR1 1
30960 _ACEOF
30961
30962 fi
30963
30964
30965
30966 # For TLS support.
30967
30968 # Check whether --enable-tls or --disable-tls was given.
30969 if test "${enable_tls+set}" = set; then
30970 enableval="$enable_tls"
30971
30972 case "$enableval" in
30973 yes|no) ;;
30974 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable tls must be yes or no" >&5
30975 echo "$as_me: error: Argument to enable/disable tls must be yes or no" >&2;}
30976 { (exit 1); exit 1; }; } ;;
30977 esac
30978
30979 else
30980 enable_tls=yes
30981 fi;
30982
30983 echo "$as_me:$LINENO: checking whether the target supports thread-local storage" >&5
30984 echo $ECHO_N "checking whether the target supports thread-local storage... $ECHO_C" >&6
30985 if test "${have_tls+set}" = set; then
30986 echo $ECHO_N "(cached) $ECHO_C" >&6
30987 else
30988
30989 if test "$cross_compiling" = yes; then
30990 cat >conftest.$ac_ext <<_ACEOF
30991 __thread int foo;
30992 _ACEOF
30993 rm -f conftest.$ac_objext
30994 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30995 (eval $ac_compile) 2>conftest.er1
30996 ac_status=$?
30997 grep -v '^ *+' conftest.er1 >conftest.err
30998 rm -f conftest.er1
30999 cat conftest.err >&5
31000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31001 (exit $ac_status); } &&
31002 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31004 (eval $ac_try) 2>&5
31005 ac_status=$?
31006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31007 (exit $ac_status); }; } &&
31008 { ac_try='test -s conftest.$ac_objext'
31009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31010 (eval $ac_try) 2>&5
31011 ac_status=$?
31012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31013 (exit $ac_status); }; }; then
31014 have_tls=yes
31015 else
31016 echo "$as_me: failed program was:" >&5
31017 sed 's/^/| /' conftest.$ac_ext >&5
31018
31019 have_tls=no
31020 fi
31021 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31022
31023 else
31024 cat >conftest.$ac_ext <<_ACEOF
31025 __thread int a; int b; int main() { return a = b; }
31026 _ACEOF
31027 rm -f conftest$ac_exeext
31028 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31029 (eval $ac_link) 2>&5
31030 ac_status=$?
31031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31032 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
31033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31034 (eval $ac_try) 2>&5
31035 ac_status=$?
31036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31037 (exit $ac_status); }; }; then
31038 save_LDFLAGS="$LDFLAGS"
31039 LDFLAGS="-static $LDFLAGS"
31040 if test "$cross_compiling" = yes; then
31041 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
31042 See \`config.log' for more details." >&5
31043 echo "$as_me: error: cannot run test program while cross compiling
31044 See \`config.log' for more details." >&2;}
31045 { (exit 1); exit 1; }; }
31046 else
31047 cat >conftest.$ac_ext <<_ACEOF
31048 __thread int a; int b; int main() { return a = b; }
31049 _ACEOF
31050 rm -f conftest$ac_exeext
31051 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31052 (eval $ac_link) 2>&5
31053 ac_status=$?
31054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31055 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
31056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31057 (eval $ac_try) 2>&5
31058 ac_status=$?
31059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31060 (exit $ac_status); }; }; then
31061 have_tls=yes
31062 else
31063 echo "$as_me: program exited with status $ac_status" >&5
31064 echo "$as_me: failed program was:" >&5
31065 sed 's/^/| /' conftest.$ac_ext >&5
31066
31067 ( exit $ac_status )
31068 have_tls=no
31069 fi
31070 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
31071 fi
31072 LDFLAGS="$save_LDFLAGS"
31073 else
31074 echo "$as_me: program exited with status $ac_status" >&5
31075 echo "$as_me: failed program was:" >&5
31076 sed 's/^/| /' conftest.$ac_ext >&5
31077
31078 ( exit $ac_status )
31079 have_tls=no
31080 fi
31081 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
31082 fi
31083 fi
31084 echo "$as_me:$LINENO: result: $have_tls" >&5
31085 echo "${ECHO_T}$have_tls" >&6
31086 if test "$enable_tls $have_tls" = "yes yes"; then
31087
31088 cat >>confdefs.h <<\_ACEOF
31089 #define HAVE_TLS 1
31090 _ACEOF
31091
31092 fi
31093
31094 # For _Unwind_GetIPInfo.
31095
31096
31097
31098 ac_ext=cc
31099 ac_cpp='$CXXCPP $CPPFLAGS'
31100 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31101 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31102 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31103
31104 ac_save_CXXFLAGS="$CXXFLAGS"
31105 CXXFLAGS="$CXXFLAGS -fno-exceptions"
31106 echo "$as_me:$LINENO: checking for _Unwind_GetIPInfo" >&5
31107 echo $ECHO_N "checking for _Unwind_GetIPInfo... $ECHO_C" >&6
31108 if test "${gcc_cv_getipinfo+set}" = set; then
31109 echo $ECHO_N "(cached) $ECHO_C" >&6
31110 else
31111
31112 if test x$gcc_no_link = xyes; then
31113 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31114 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31115 { (exit 1); exit 1; }; }
31116 fi
31117 cat >conftest.$ac_ext <<_ACEOF
31118 /* confdefs.h. */
31119 _ACEOF
31120 cat confdefs.h >>conftest.$ac_ext
31121 cat >>conftest.$ac_ext <<_ACEOF
31122 /* end confdefs.h. */
31123 extern "C" { extern void _Unwind_GetIPInfo(); }
31124 int
31125 main ()
31126 {
31127 _Unwind_GetIPInfo();
31128 ;
31129 return 0;
31130 }
31131 _ACEOF
31132 rm -f conftest.$ac_objext conftest$ac_exeext
31133 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31134 (eval $ac_link) 2>conftest.er1
31135 ac_status=$?
31136 grep -v '^ *+' conftest.er1 >conftest.err
31137 rm -f conftest.er1
31138 cat conftest.err >&5
31139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31140 (exit $ac_status); } &&
31141 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31143 (eval $ac_try) 2>&5
31144 ac_status=$?
31145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31146 (exit $ac_status); }; } &&
31147 { ac_try='test -s conftest$ac_exeext'
31148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31149 (eval $ac_try) 2>&5
31150 ac_status=$?
31151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31152 (exit $ac_status); }; }; then
31153 gcc_cv_getipinfo=yes
31154 else
31155 echo "$as_me: failed program was:" >&5
31156 sed 's/^/| /' conftest.$ac_ext >&5
31157
31158 gcc_cv_getipinfo=no
31159 fi
31160 rm -f conftest.err conftest.$ac_objext \
31161 conftest$ac_exeext conftest.$ac_ext
31162
31163 fi
31164
31165 if test $gcc_cv_getipinfo = yes; then
31166
31167 cat >>confdefs.h <<\_ACEOF
31168 #define HAVE_GETIPINFO 1
31169 _ACEOF
31170
31171 fi
31172 echo "$as_me:$LINENO: result: $gcc_cv_getipinfo" >&5
31173 echo "${ECHO_T}$gcc_cv_getipinfo" >&6
31174 CXXFLAGS="$ac_save_CXXFLAGS"
31175 ac_ext=c
31176 ac_cpp='$CPP $CPPFLAGS'
31177 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31178 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31179 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31180
31181
31182
31183
31184 if test "${ac_cv_header_locale_h+set}" = set; then
31185 echo "$as_me:$LINENO: checking for locale.h" >&5
31186 echo $ECHO_N "checking for locale.h... $ECHO_C" >&6
31187 if test "${ac_cv_header_locale_h+set}" = set; then
31188 echo $ECHO_N "(cached) $ECHO_C" >&6
31189 fi
31190 echo "$as_me:$LINENO: result: $ac_cv_header_locale_h" >&5
31191 echo "${ECHO_T}$ac_cv_header_locale_h" >&6
31192 else
31193 # Is the header compilable?
31194 echo "$as_me:$LINENO: checking locale.h usability" >&5
31195 echo $ECHO_N "checking locale.h usability... $ECHO_C" >&6
31196 cat >conftest.$ac_ext <<_ACEOF
31197 /* confdefs.h. */
31198 _ACEOF
31199 cat confdefs.h >>conftest.$ac_ext
31200 cat >>conftest.$ac_ext <<_ACEOF
31201 /* end confdefs.h. */
31202 $ac_includes_default
31203 #include <locale.h>
31204 _ACEOF
31205 rm -f conftest.$ac_objext
31206 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31207 (eval $ac_compile) 2>conftest.er1
31208 ac_status=$?
31209 grep -v '^ *+' conftest.er1 >conftest.err
31210 rm -f conftest.er1
31211 cat conftest.err >&5
31212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31213 (exit $ac_status); } &&
31214 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31215 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31216 (eval $ac_try) 2>&5
31217 ac_status=$?
31218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31219 (exit $ac_status); }; } &&
31220 { ac_try='test -s conftest.$ac_objext'
31221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31222 (eval $ac_try) 2>&5
31223 ac_status=$?
31224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31225 (exit $ac_status); }; }; then
31226 ac_header_compiler=yes
31227 else
31228 echo "$as_me: failed program was:" >&5
31229 sed 's/^/| /' conftest.$ac_ext >&5
31230
31231 ac_header_compiler=no
31232 fi
31233 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31234 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
31235 echo "${ECHO_T}$ac_header_compiler" >&6
31236
31237 # Is the header present?
31238 echo "$as_me:$LINENO: checking locale.h presence" >&5
31239 echo $ECHO_N "checking locale.h presence... $ECHO_C" >&6
31240 cat >conftest.$ac_ext <<_ACEOF
31241 /* confdefs.h. */
31242 _ACEOF
31243 cat confdefs.h >>conftest.$ac_ext
31244 cat >>conftest.$ac_ext <<_ACEOF
31245 /* end confdefs.h. */
31246 #include <locale.h>
31247 _ACEOF
31248 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
31249 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
31250 ac_status=$?
31251 grep -v '^ *+' conftest.er1 >conftest.err
31252 rm -f conftest.er1
31253 cat conftest.err >&5
31254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31255 (exit $ac_status); } >/dev/null; then
31256 if test -s conftest.err; then
31257 ac_cpp_err=$ac_c_preproc_warn_flag
31258 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
31259 else
31260 ac_cpp_err=
31261 fi
31262 else
31263 ac_cpp_err=yes
31264 fi
31265 if test -z "$ac_cpp_err"; then
31266 ac_header_preproc=yes
31267 else
31268 echo "$as_me: failed program was:" >&5
31269 sed 's/^/| /' conftest.$ac_ext >&5
31270
31271 ac_header_preproc=no
31272 fi
31273 rm -f conftest.err conftest.$ac_ext
31274 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
31275 echo "${ECHO_T}$ac_header_preproc" >&6
31276
31277 # So? What about this header?
31278 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
31279 yes:no: )
31280 { echo "$as_me:$LINENO: WARNING: locale.h: accepted by the compiler, rejected by the preprocessor!" >&5
31281 echo "$as_me: WARNING: locale.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
31282 { echo "$as_me:$LINENO: WARNING: locale.h: proceeding with the compiler's result" >&5
31283 echo "$as_me: WARNING: locale.h: proceeding with the compiler's result" >&2;}
31284 ac_header_preproc=yes
31285 ;;
31286 no:yes:* )
31287 { echo "$as_me:$LINENO: WARNING: locale.h: present but cannot be compiled" >&5
31288 echo "$as_me: WARNING: locale.h: present but cannot be compiled" >&2;}
31289 { echo "$as_me:$LINENO: WARNING: locale.h: check for missing prerequisite headers?" >&5
31290 echo "$as_me: WARNING: locale.h: check for missing prerequisite headers?" >&2;}
31291 { echo "$as_me:$LINENO: WARNING: locale.h: see the Autoconf documentation" >&5
31292 echo "$as_me: WARNING: locale.h: see the Autoconf documentation" >&2;}
31293 { echo "$as_me:$LINENO: WARNING: locale.h: section \"Present But Cannot Be Compiled\"" >&5
31294 echo "$as_me: WARNING: locale.h: section \"Present But Cannot Be Compiled\"" >&2;}
31295 { echo "$as_me:$LINENO: WARNING: locale.h: proceeding with the preprocessor's result" >&5
31296 echo "$as_me: WARNING: locale.h: proceeding with the preprocessor's result" >&2;}
31297 { echo "$as_me:$LINENO: WARNING: locale.h: in the future, the compiler will take precedence" >&5
31298 echo "$as_me: WARNING: locale.h: in the future, the compiler will take precedence" >&2;}
31299 (
31300 cat <<\_ASBOX
31301 ## ----------------------------------------- ##
31302 ## Report this to the package-unused lists. ##
31303 ## ----------------------------------------- ##
31304 _ASBOX
31305 ) |
31306 sed "s/^/$as_me: WARNING: /" >&2
31307 ;;
31308 esac
31309 echo "$as_me:$LINENO: checking for locale.h" >&5
31310 echo $ECHO_N "checking for locale.h... $ECHO_C" >&6
31311 if test "${ac_cv_header_locale_h+set}" = set; then
31312 echo $ECHO_N "(cached) $ECHO_C" >&6
31313 else
31314 ac_cv_header_locale_h=$ac_header_preproc
31315 fi
31316 echo "$as_me:$LINENO: result: $ac_cv_header_locale_h" >&5
31317 echo "${ECHO_T}$ac_cv_header_locale_h" >&6
31318
31319 fi
31320 if test $ac_cv_header_locale_h = yes; then
31321
31322 echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5
31323 echo $ECHO_N "checking for LC_MESSAGES... $ECHO_C" >&6
31324 if test "${ac_cv_val_LC_MESSAGES+set}" = set; then
31325 echo $ECHO_N "(cached) $ECHO_C" >&6
31326 else
31327 if test x$gcc_no_link = xyes; then
31328 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31329 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31330 { (exit 1); exit 1; }; }
31331 fi
31332 cat >conftest.$ac_ext <<_ACEOF
31333 /* confdefs.h. */
31334 _ACEOF
31335 cat confdefs.h >>conftest.$ac_ext
31336 cat >>conftest.$ac_ext <<_ACEOF
31337 /* end confdefs.h. */
31338 #include <locale.h>
31339 int
31340 main ()
31341 {
31342 return LC_MESSAGES
31343 ;
31344 return 0;
31345 }
31346 _ACEOF
31347 rm -f conftest.$ac_objext conftest$ac_exeext
31348 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31349 (eval $ac_link) 2>conftest.er1
31350 ac_status=$?
31351 grep -v '^ *+' conftest.er1 >conftest.err
31352 rm -f conftest.er1
31353 cat conftest.err >&5
31354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31355 (exit $ac_status); } &&
31356 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31358 (eval $ac_try) 2>&5
31359 ac_status=$?
31360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31361 (exit $ac_status); }; } &&
31362 { ac_try='test -s conftest$ac_exeext'
31363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31364 (eval $ac_try) 2>&5
31365 ac_status=$?
31366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31367 (exit $ac_status); }; }; then
31368 ac_cv_val_LC_MESSAGES=yes
31369 else
31370 echo "$as_me: failed program was:" >&5
31371 sed 's/^/| /' conftest.$ac_ext >&5
31372
31373 ac_cv_val_LC_MESSAGES=no
31374 fi
31375 rm -f conftest.err conftest.$ac_objext \
31376 conftest$ac_exeext conftest.$ac_ext
31377 fi
31378 echo "$as_me:$LINENO: result: $ac_cv_val_LC_MESSAGES" >&5
31379 echo "${ECHO_T}$ac_cv_val_LC_MESSAGES" >&6
31380 if test $ac_cv_val_LC_MESSAGES = yes; then
31381
31382 cat >>confdefs.h <<\_ACEOF
31383 #define HAVE_LC_MESSAGES 1
31384 _ACEOF
31385
31386 fi
31387
31388 fi
31389
31390
31391
31392
31393 cat >conftest.$ac_ext <<_ACEOF
31394 /* confdefs.h. */
31395 _ACEOF
31396 cat confdefs.h >>conftest.$ac_ext
31397 cat >>conftest.$ac_ext <<_ACEOF
31398 /* end confdefs.h. */
31399 #include <setjmp.h>
31400 int
31401 main ()
31402 {
31403 sigjmp_buf env;
31404 while (! sigsetjmp (env, 1))
31405 siglongjmp (env, 1);
31406
31407 ;
31408 return 0;
31409 }
31410 _ACEOF
31411 rm -f conftest.$ac_objext
31412 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31413 (eval $ac_compile) 2>conftest.er1
31414 ac_status=$?
31415 grep -v '^ *+' conftest.er1 >conftest.err
31416 rm -f conftest.er1
31417 cat conftest.err >&5
31418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31419 (exit $ac_status); } &&
31420 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31421 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31422 (eval $ac_try) 2>&5
31423 ac_status=$?
31424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31425 (exit $ac_status); }; } &&
31426 { ac_try='test -s conftest.$ac_objext'
31427 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31428 (eval $ac_try) 2>&5
31429 ac_status=$?
31430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31431 (exit $ac_status); }; }; then
31432
31433 cat >>confdefs.h <<\_ACEOF
31434 #define HAVE_SIGSETJMP 1
31435 _ACEOF
31436
31437 else
31438 echo "$as_me: failed program was:" >&5
31439 sed 's/^/| /' conftest.$ac_ext >&5
31440
31441 fi
31442 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31443
31444 if test x$gcc_no_link = xyes; then
31445 if test "x${ac_cv_func_mmap_fixed_mapped+set}" != xset; then
31446 ac_cv_func_mmap_fixed_mapped=no
31447 fi
31448 fi
31449 if test "x${ac_cv_func_mmap_fixed_mapped}" != xno; then
31450
31451
31452 for ac_header in stdlib.h unistd.h
31453 do
31454 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
31455 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31456 echo "$as_me:$LINENO: checking for $ac_header" >&5
31457 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31458 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31459 echo $ECHO_N "(cached) $ECHO_C" >&6
31460 fi
31461 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31462 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31463 else
31464 # Is the header compilable?
31465 echo "$as_me:$LINENO: checking $ac_header usability" >&5
31466 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
31467 cat >conftest.$ac_ext <<_ACEOF
31468 /* confdefs.h. */
31469 _ACEOF
31470 cat confdefs.h >>conftest.$ac_ext
31471 cat >>conftest.$ac_ext <<_ACEOF
31472 /* end confdefs.h. */
31473 $ac_includes_default
31474 #include <$ac_header>
31475 _ACEOF
31476 rm -f conftest.$ac_objext
31477 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31478 (eval $ac_compile) 2>conftest.er1
31479 ac_status=$?
31480 grep -v '^ *+' conftest.er1 >conftest.err
31481 rm -f conftest.er1
31482 cat conftest.err >&5
31483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31484 (exit $ac_status); } &&
31485 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31487 (eval $ac_try) 2>&5
31488 ac_status=$?
31489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31490 (exit $ac_status); }; } &&
31491 { ac_try='test -s conftest.$ac_objext'
31492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31493 (eval $ac_try) 2>&5
31494 ac_status=$?
31495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31496 (exit $ac_status); }; }; then
31497 ac_header_compiler=yes
31498 else
31499 echo "$as_me: failed program was:" >&5
31500 sed 's/^/| /' conftest.$ac_ext >&5
31501
31502 ac_header_compiler=no
31503 fi
31504 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31505 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
31506 echo "${ECHO_T}$ac_header_compiler" >&6
31507
31508 # Is the header present?
31509 echo "$as_me:$LINENO: checking $ac_header presence" >&5
31510 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
31511 cat >conftest.$ac_ext <<_ACEOF
31512 /* confdefs.h. */
31513 _ACEOF
31514 cat confdefs.h >>conftest.$ac_ext
31515 cat >>conftest.$ac_ext <<_ACEOF
31516 /* end confdefs.h. */
31517 #include <$ac_header>
31518 _ACEOF
31519 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
31520 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
31521 ac_status=$?
31522 grep -v '^ *+' conftest.er1 >conftest.err
31523 rm -f conftest.er1
31524 cat conftest.err >&5
31525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31526 (exit $ac_status); } >/dev/null; then
31527 if test -s conftest.err; then
31528 ac_cpp_err=$ac_c_preproc_warn_flag
31529 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
31530 else
31531 ac_cpp_err=
31532 fi
31533 else
31534 ac_cpp_err=yes
31535 fi
31536 if test -z "$ac_cpp_err"; then
31537 ac_header_preproc=yes
31538 else
31539 echo "$as_me: failed program was:" >&5
31540 sed 's/^/| /' conftest.$ac_ext >&5
31541
31542 ac_header_preproc=no
31543 fi
31544 rm -f conftest.err conftest.$ac_ext
31545 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
31546 echo "${ECHO_T}$ac_header_preproc" >&6
31547
31548 # So? What about this header?
31549 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
31550 yes:no: )
31551 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
31552 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
31553 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
31554 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
31555 ac_header_preproc=yes
31556 ;;
31557 no:yes:* )
31558 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
31559 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
31560 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
31561 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
31562 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
31563 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
31564 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
31565 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
31566 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
31567 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
31568 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
31569 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
31570 (
31571 cat <<\_ASBOX
31572 ## ----------------------------------------- ##
31573 ## Report this to the package-unused lists. ##
31574 ## ----------------------------------------- ##
31575 _ASBOX
31576 ) |
31577 sed "s/^/$as_me: WARNING: /" >&2
31578 ;;
31579 esac
31580 echo "$as_me:$LINENO: checking for $ac_header" >&5
31581 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31582 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31583 echo $ECHO_N "(cached) $ECHO_C" >&6
31584 else
31585 eval "$as_ac_Header=\$ac_header_preproc"
31586 fi
31587 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31588 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31589
31590 fi
31591 if test `eval echo '${'$as_ac_Header'}'` = yes; then
31592 cat >>confdefs.h <<_ACEOF
31593 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
31594 _ACEOF
31595
31596 fi
31597
31598 done
31599
31600
31601 for ac_func in getpagesize
31602 do
31603 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31604 echo "$as_me:$LINENO: checking for $ac_func" >&5
31605 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31606 if eval "test \"\${$as_ac_var+set}\" = set"; then
31607 echo $ECHO_N "(cached) $ECHO_C" >&6
31608 else
31609 if test x$gcc_no_link = xyes; then
31610 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31611 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31612 { (exit 1); exit 1; }; }
31613 fi
31614 cat >conftest.$ac_ext <<_ACEOF
31615 /* confdefs.h. */
31616 _ACEOF
31617 cat confdefs.h >>conftest.$ac_ext
31618 cat >>conftest.$ac_ext <<_ACEOF
31619 /* end confdefs.h. */
31620 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31621 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31622 #define $ac_func innocuous_$ac_func
31623
31624 /* System header to define __stub macros and hopefully few prototypes,
31625 which can conflict with char $ac_func (); below.
31626 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31627 <limits.h> exists even on freestanding compilers. */
31628
31629 #ifdef __STDC__
31630 # include <limits.h>
31631 #else
31632 # include <assert.h>
31633 #endif
31634
31635 #undef $ac_func
31636
31637 /* Override any gcc2 internal prototype to avoid an error. */
31638 #ifdef __cplusplus
31639 extern "C"
31640 {
31641 #endif
31642 /* We use char because int might match the return type of a gcc2
31643 builtin and then its argument prototype would still apply. */
31644 char $ac_func ();
31645 /* The GNU C library defines this for functions which it implements
31646 to always fail with ENOSYS. Some functions are actually named
31647 something starting with __ and the normal name is an alias. */
31648 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31649 choke me
31650 #else
31651 char (*f) () = $ac_func;
31652 #endif
31653 #ifdef __cplusplus
31654 }
31655 #endif
31656
31657 int
31658 main ()
31659 {
31660 return f != $ac_func;
31661 ;
31662 return 0;
31663 }
31664 _ACEOF
31665 rm -f conftest.$ac_objext conftest$ac_exeext
31666 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31667 (eval $ac_link) 2>conftest.er1
31668 ac_status=$?
31669 grep -v '^ *+' conftest.er1 >conftest.err
31670 rm -f conftest.er1
31671 cat conftest.err >&5
31672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31673 (exit $ac_status); } &&
31674 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31676 (eval $ac_try) 2>&5
31677 ac_status=$?
31678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31679 (exit $ac_status); }; } &&
31680 { ac_try='test -s conftest$ac_exeext'
31681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31682 (eval $ac_try) 2>&5
31683 ac_status=$?
31684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31685 (exit $ac_status); }; }; then
31686 eval "$as_ac_var=yes"
31687 else
31688 echo "$as_me: failed program was:" >&5
31689 sed 's/^/| /' conftest.$ac_ext >&5
31690
31691 eval "$as_ac_var=no"
31692 fi
31693 rm -f conftest.err conftest.$ac_objext \
31694 conftest$ac_exeext conftest.$ac_ext
31695 fi
31696 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31697 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31698 if test `eval echo '${'$as_ac_var'}'` = yes; then
31699 cat >>confdefs.h <<_ACEOF
31700 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31701 _ACEOF
31702
31703 fi
31704 done
31705
31706 echo "$as_me:$LINENO: checking for working mmap" >&5
31707 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
31708 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
31709 echo $ECHO_N "(cached) $ECHO_C" >&6
31710 else
31711 if test "$cross_compiling" = yes; then
31712 ac_cv_func_mmap_fixed_mapped=no
31713 else
31714 cat >conftest.$ac_ext <<_ACEOF
31715 /* confdefs.h. */
31716 _ACEOF
31717 cat confdefs.h >>conftest.$ac_ext
31718 cat >>conftest.$ac_ext <<_ACEOF
31719 /* end confdefs.h. */
31720 $ac_includes_default
31721 /* malloc might have been renamed as rpl_malloc. */
31722 #undef malloc
31723
31724 /* Thanks to Mike Haertel and Jim Avera for this test.
31725 Here is a matrix of mmap possibilities:
31726 mmap private not fixed
31727 mmap private fixed at somewhere currently unmapped
31728 mmap private fixed at somewhere already mapped
31729 mmap shared not fixed
31730 mmap shared fixed at somewhere currently unmapped
31731 mmap shared fixed at somewhere already mapped
31732 For private mappings, we should verify that changes cannot be read()
31733 back from the file, nor mmap's back from the file at a different
31734 address. (There have been systems where private was not correctly
31735 implemented like the infamous i386 svr4.0, and systems where the
31736 VM page cache was not coherent with the file system buffer cache
31737 like early versions of FreeBSD and possibly contemporary NetBSD.)
31738 For shared mappings, we should conversely verify that changes get
31739 propagated back to all the places they're supposed to be.
31740
31741 Grep wants private fixed already mapped.
31742 The main things grep needs to know about mmap are:
31743 * does it exist and is it safe to write into the mmap'd area
31744 * how to use it (BSD variants) */
31745
31746 #include <fcntl.h>
31747 #include <sys/mman.h>
31748
31749 #if !STDC_HEADERS && !HAVE_STDLIB_H
31750 char *malloc ();
31751 #endif
31752
31753 /* This mess was copied from the GNU getpagesize.h. */
31754 #if !HAVE_GETPAGESIZE
31755 /* Assume that all systems that can run configure have sys/param.h. */
31756 # if !HAVE_SYS_PARAM_H
31757 # define HAVE_SYS_PARAM_H 1
31758 # endif
31759
31760 # ifdef _SC_PAGESIZE
31761 # define getpagesize() sysconf(_SC_PAGESIZE)
31762 # else /* no _SC_PAGESIZE */
31763 # if HAVE_SYS_PARAM_H
31764 # include <sys/param.h>
31765 # ifdef EXEC_PAGESIZE
31766 # define getpagesize() EXEC_PAGESIZE
31767 # else /* no EXEC_PAGESIZE */
31768 # ifdef NBPG
31769 # define getpagesize() NBPG * CLSIZE
31770 # ifndef CLSIZE
31771 # define CLSIZE 1
31772 # endif /* no CLSIZE */
31773 # else /* no NBPG */
31774 # ifdef NBPC
31775 # define getpagesize() NBPC
31776 # else /* no NBPC */
31777 # ifdef PAGESIZE
31778 # define getpagesize() PAGESIZE
31779 # endif /* PAGESIZE */
31780 # endif /* no NBPC */
31781 # endif /* no NBPG */
31782 # endif /* no EXEC_PAGESIZE */
31783 # else /* no HAVE_SYS_PARAM_H */
31784 # define getpagesize() 8192 /* punt totally */
31785 # endif /* no HAVE_SYS_PARAM_H */
31786 # endif /* no _SC_PAGESIZE */
31787
31788 #endif /* no HAVE_GETPAGESIZE */
31789
31790 int
31791 main ()
31792 {
31793 char *data, *data2, *data3;
31794 int i, pagesize;
31795 int fd;
31796
31797 pagesize = getpagesize ();
31798
31799 /* First, make a file with some known garbage in it. */
31800 data = (char *) malloc (pagesize);
31801 if (!data)
31802 exit (1);
31803 for (i = 0; i < pagesize; ++i)
31804 *(data + i) = rand ();
31805 umask (0);
31806 fd = creat ("conftest.mmap", 0600);
31807 if (fd < 0)
31808 exit (1);
31809 if (write (fd, data, pagesize) != pagesize)
31810 exit (1);
31811 close (fd);
31812
31813 /* Next, try to mmap the file at a fixed address which already has
31814 something else allocated at it. If we can, also make sure that
31815 we see the same garbage. */
31816 fd = open ("conftest.mmap", O_RDWR);
31817 if (fd < 0)
31818 exit (1);
31819 data2 = (char *) malloc (2 * pagesize);
31820 if (!data2)
31821 exit (1);
31822 data2 += (pagesize - ((long) data2 & (pagesize - 1))) & (pagesize - 1);
31823 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
31824 MAP_PRIVATE | MAP_FIXED, fd, 0L))
31825 exit (1);
31826 for (i = 0; i < pagesize; ++i)
31827 if (*(data + i) != *(data2 + i))
31828 exit (1);
31829
31830 /* Finally, make sure that changes to the mapped area do not
31831 percolate back to the file as seen by read(). (This is a bug on
31832 some variants of i386 svr4.0.) */
31833 for (i = 0; i < pagesize; ++i)
31834 *(data2 + i) = *(data2 + i) + 1;
31835 data3 = (char *) malloc (pagesize);
31836 if (!data3)
31837 exit (1);
31838 if (read (fd, data3, pagesize) != pagesize)
31839 exit (1);
31840 for (i = 0; i < pagesize; ++i)
31841 if (*(data + i) != *(data3 + i))
31842 exit (1);
31843 close (fd);
31844 exit (0);
31845 }
31846 _ACEOF
31847 rm -f conftest$ac_exeext
31848 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31849 (eval $ac_link) 2>&5
31850 ac_status=$?
31851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31852 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
31853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31854 (eval $ac_try) 2>&5
31855 ac_status=$?
31856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31857 (exit $ac_status); }; }; then
31858 ac_cv_func_mmap_fixed_mapped=yes
31859 else
31860 echo "$as_me: program exited with status $ac_status" >&5
31861 echo "$as_me: failed program was:" >&5
31862 sed 's/^/| /' conftest.$ac_ext >&5
31863
31864 ( exit $ac_status )
31865 ac_cv_func_mmap_fixed_mapped=no
31866 fi
31867 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
31868 fi
31869 fi
31870 echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
31871 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
31872 if test $ac_cv_func_mmap_fixed_mapped = yes; then
31873
31874 cat >>confdefs.h <<\_ACEOF
31875 #define HAVE_MMAP 1
31876 _ACEOF
31877
31878 fi
31879 rm -f conftest.mmap
31880
31881 fi
31882
31883 else
31884
31885 # This lets us hard-code the functionality we know we'll have in the cross
31886 # target environment. "Let" is a sugar-coated word placed on an especially
31887 # dull and tedious hack, actually.
31888 #
31889 # Here's why GLIBCXX_CHECK_MATH_SUPPORT, and other autoconf macros
31890 # that involve linking, can't be used:
31891 # "cannot open sim-crt0.o"
31892 # "cannot open crt0.o"
31893 # etc. All this is because there currently exists no unified, consistent
31894 # way for top level CC information to be passed down to target directories:
31895 # newlib includes, newlib linking info, libgloss versus newlib crt0.o, etc.
31896 # When all of that is done, all of this hokey, excessive AC_DEFINE junk for
31897 # crosses can be removed.
31898
31899 # If Canadian cross, then don't pick up tools from the build directory.
31900 # Used only in GLIBCXX_EXPORT_INCLUDES.
31901 if test -n "$with_cross_host" &&
31902 test x"$build_alias" != x"$with_cross_host" &&
31903 test x"$build" != x"$target";
31904 then
31905 CANADIAN=yes
31906 else
31907 CANADIAN=no
31908 fi
31909
31910 # Construct crosses by hand, eliminating bits that need ld...
31911 # GLIBCXX_CHECK_BUILTIN_MATH_SUPPORT
31912 # GLIBCXX_CHECK_MATH_SUPPORT
31913
31914 # First, test for "known" system libraries. We may be using newlib even
31915 # on a hosted environment.
31916 if test "x${with_newlib}" = "xyes"; then
31917 os_include_dir="os/newlib"
31918 cat >>confdefs.h <<\_ACEOF
31919 #define HAVE_HYPOT 1
31920 _ACEOF
31921
31922
31923 # GLIBCXX_CHECK_STDLIB_SUPPORT
31924 cat >>confdefs.h <<\_ACEOF
31925 #define HAVE_STRTOF 1
31926 _ACEOF
31927
31928 # AC_FUNC_MMAP
31929 cat >>confdefs.h <<\_ACEOF
31930 #define HAVE_MMAP 1
31931 _ACEOF
31932
31933
31934 cat >>confdefs.h <<\_ACEOF
31935 #define HAVE_ACOSF 1
31936 _ACEOF
31937
31938 cat >>confdefs.h <<\_ACEOF
31939 #define HAVE_ASINF 1
31940 _ACEOF
31941
31942 cat >>confdefs.h <<\_ACEOF
31943 #define HAVE_ATAN2F 1
31944 _ACEOF
31945
31946 cat >>confdefs.h <<\_ACEOF
31947 #define HAVE_ATANF 1
31948 _ACEOF
31949
31950 cat >>confdefs.h <<\_ACEOF
31951 #define HAVE_CEILF 1
31952 _ACEOF
31953
31954 cat >>confdefs.h <<\_ACEOF
31955 #define HAVE_COPYSIGN 1
31956 _ACEOF
31957
31958 cat >>confdefs.h <<\_ACEOF
31959 #define HAVE_COPYSIGNF 1
31960 _ACEOF
31961
31962 cat >>confdefs.h <<\_ACEOF
31963 #define HAVE_COSF 1
31964 _ACEOF
31965
31966 cat >>confdefs.h <<\_ACEOF
31967 #define HAVE_COSHF 1
31968 _ACEOF
31969
31970 cat >>confdefs.h <<\_ACEOF
31971 #define HAVE_EXPF 1
31972 _ACEOF
31973
31974 cat >>confdefs.h <<\_ACEOF
31975 #define HAVE_FABSF 1
31976 _ACEOF
31977
31978 cat >>confdefs.h <<\_ACEOF
31979 #define HAVE_FLOORF 1
31980 _ACEOF
31981
31982 cat >>confdefs.h <<\_ACEOF
31983 #define HAVE_FMODF 1
31984 _ACEOF
31985
31986 cat >>confdefs.h <<\_ACEOF
31987 #define HAVE_FREXPF 1
31988 _ACEOF
31989
31990 cat >>confdefs.h <<\_ACEOF
31991 #define HAVE_LDEXPF 1
31992 _ACEOF
31993
31994 cat >>confdefs.h <<\_ACEOF
31995 #define HAVE_LOG10F 1
31996 _ACEOF
31997
31998 cat >>confdefs.h <<\_ACEOF
31999 #define HAVE_LOGF 1
32000 _ACEOF
32001
32002 cat >>confdefs.h <<\_ACEOF
32003 #define HAVE_MODFF 1
32004 _ACEOF
32005
32006 cat >>confdefs.h <<\_ACEOF
32007 #define HAVE_POWF 1
32008 _ACEOF
32009
32010 cat >>confdefs.h <<\_ACEOF
32011 #define HAVE_SINF 1
32012 _ACEOF
32013
32014 cat >>confdefs.h <<\_ACEOF
32015 #define HAVE_SINHF 1
32016 _ACEOF
32017
32018 cat >>confdefs.h <<\_ACEOF
32019 #define HAVE_SQRTF 1
32020 _ACEOF
32021
32022 cat >>confdefs.h <<\_ACEOF
32023 #define HAVE_TANF 1
32024 _ACEOF
32025
32026 cat >>confdefs.h <<\_ACEOF
32027 #define HAVE_TANHF 1
32028 _ACEOF
32029
32030
32031 cat >>confdefs.h <<\_ACEOF
32032 #define HAVE_S_ISREG 1
32033 _ACEOF
32034
32035 cat >>confdefs.h <<\_ACEOF
32036 #define HAVE_S_IFREG 1
32037 _ACEOF
32038
32039 else
32040
32041 # Base decisions on target environment.
32042 case "${host}" in
32043 arm*-*-symbianelf*)
32044 # This is a freestanding configuration; there is nothing to do here.
32045 ;;
32046
32047 *-darwin*)
32048 # Darwin versions vary, but the linker should work in a cross environment,
32049 # so we just check for all the features here.
32050 # Check for available headers.
32051
32052
32053
32054
32055
32056
32057
32058
32059
32060
32061
32062
32063
32064 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h machine/endian.h \
32065 machine/param.h sys/machine.h fp.h locale.h float.h inttypes.h gconv.h \
32066 sys/types.h
32067 do
32068 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32069 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32070 echo "$as_me:$LINENO: checking for $ac_header" >&5
32071 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32072 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32073 echo $ECHO_N "(cached) $ECHO_C" >&6
32074 fi
32075 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32076 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32077 else
32078 # Is the header compilable?
32079 echo "$as_me:$LINENO: checking $ac_header usability" >&5
32080 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
32081 cat >conftest.$ac_ext <<_ACEOF
32082 /* confdefs.h. */
32083 _ACEOF
32084 cat confdefs.h >>conftest.$ac_ext
32085 cat >>conftest.$ac_ext <<_ACEOF
32086 /* end confdefs.h. */
32087 $ac_includes_default
32088 #include <$ac_header>
32089 _ACEOF
32090 rm -f conftest.$ac_objext
32091 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32092 (eval $ac_compile) 2>conftest.er1
32093 ac_status=$?
32094 grep -v '^ *+' conftest.er1 >conftest.err
32095 rm -f conftest.er1
32096 cat conftest.err >&5
32097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32098 (exit $ac_status); } &&
32099 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32100 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32101 (eval $ac_try) 2>&5
32102 ac_status=$?
32103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32104 (exit $ac_status); }; } &&
32105 { ac_try='test -s conftest.$ac_objext'
32106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32107 (eval $ac_try) 2>&5
32108 ac_status=$?
32109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32110 (exit $ac_status); }; }; then
32111 ac_header_compiler=yes
32112 else
32113 echo "$as_me: failed program was:" >&5
32114 sed 's/^/| /' conftest.$ac_ext >&5
32115
32116 ac_header_compiler=no
32117 fi
32118 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32119 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
32120 echo "${ECHO_T}$ac_header_compiler" >&6
32121
32122 # Is the header present?
32123 echo "$as_me:$LINENO: checking $ac_header presence" >&5
32124 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
32125 cat >conftest.$ac_ext <<_ACEOF
32126 /* confdefs.h. */
32127 _ACEOF
32128 cat confdefs.h >>conftest.$ac_ext
32129 cat >>conftest.$ac_ext <<_ACEOF
32130 /* end confdefs.h. */
32131 #include <$ac_header>
32132 _ACEOF
32133 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
32134 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
32135 ac_status=$?
32136 grep -v '^ *+' conftest.er1 >conftest.err
32137 rm -f conftest.er1
32138 cat conftest.err >&5
32139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32140 (exit $ac_status); } >/dev/null; then
32141 if test -s conftest.err; then
32142 ac_cpp_err=$ac_c_preproc_warn_flag
32143 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
32144 else
32145 ac_cpp_err=
32146 fi
32147 else
32148 ac_cpp_err=yes
32149 fi
32150 if test -z "$ac_cpp_err"; then
32151 ac_header_preproc=yes
32152 else
32153 echo "$as_me: failed program was:" >&5
32154 sed 's/^/| /' conftest.$ac_ext >&5
32155
32156 ac_header_preproc=no
32157 fi
32158 rm -f conftest.err conftest.$ac_ext
32159 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
32160 echo "${ECHO_T}$ac_header_preproc" >&6
32161
32162 # So? What about this header?
32163 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
32164 yes:no: )
32165 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
32166 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
32167 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
32168 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
32169 ac_header_preproc=yes
32170 ;;
32171 no:yes:* )
32172 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
32173 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
32174 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
32175 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
32176 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
32177 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
32178 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
32179 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
32180 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
32181 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
32182 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
32183 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
32184 (
32185 cat <<\_ASBOX
32186 ## ----------------------------------------- ##
32187 ## Report this to the package-unused lists. ##
32188 ## ----------------------------------------- ##
32189 _ASBOX
32190 ) |
32191 sed "s/^/$as_me: WARNING: /" >&2
32192 ;;
32193 esac
32194 echo "$as_me:$LINENO: checking for $ac_header" >&5
32195 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32196 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32197 echo $ECHO_N "(cached) $ECHO_C" >&6
32198 else
32199 eval "$as_ac_Header=\$ac_header_preproc"
32200 fi
32201 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32202 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32203
32204 fi
32205 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32206 cat >>confdefs.h <<_ACEOF
32207 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32208 _ACEOF
32209
32210 fi
32211
32212 done
32213
32214
32215 # Don't call GLIBCXX_CHECK_LINKER_FEATURES, Darwin doesn't have a GNU ld
32216
32217 ac_test_CXXFLAGS="${CXXFLAGS+set}"
32218 ac_save_CXXFLAGS="$CXXFLAGS"
32219 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
32220
32221 echo "$as_me:$LINENO: checking for sin in -lm" >&5
32222 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
32223 if test "${ac_cv_lib_m_sin+set}" = set; then
32224 echo $ECHO_N "(cached) $ECHO_C" >&6
32225 else
32226 ac_check_lib_save_LIBS=$LIBS
32227 LIBS="-lm $LIBS"
32228 if test x$gcc_no_link = xyes; then
32229 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32230 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32231 { (exit 1); exit 1; }; }
32232 fi
32233 cat >conftest.$ac_ext <<_ACEOF
32234 /* confdefs.h. */
32235 _ACEOF
32236 cat confdefs.h >>conftest.$ac_ext
32237 cat >>conftest.$ac_ext <<_ACEOF
32238 /* end confdefs.h. */
32239
32240 /* Override any gcc2 internal prototype to avoid an error. */
32241 #ifdef __cplusplus
32242 extern "C"
32243 #endif
32244 /* We use char because int might match the return type of a gcc2
32245 builtin and then its argument prototype would still apply. */
32246 char sin ();
32247 int
32248 main ()
32249 {
32250 sin ();
32251 ;
32252 return 0;
32253 }
32254 _ACEOF
32255 rm -f conftest.$ac_objext conftest$ac_exeext
32256 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32257 (eval $ac_link) 2>conftest.er1
32258 ac_status=$?
32259 grep -v '^ *+' conftest.er1 >conftest.err
32260 rm -f conftest.er1
32261 cat conftest.err >&5
32262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32263 (exit $ac_status); } &&
32264 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32266 (eval $ac_try) 2>&5
32267 ac_status=$?
32268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32269 (exit $ac_status); }; } &&
32270 { ac_try='test -s conftest$ac_exeext'
32271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32272 (eval $ac_try) 2>&5
32273 ac_status=$?
32274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32275 (exit $ac_status); }; }; then
32276 ac_cv_lib_m_sin=yes
32277 else
32278 echo "$as_me: failed program was:" >&5
32279 sed 's/^/| /' conftest.$ac_ext >&5
32280
32281 ac_cv_lib_m_sin=no
32282 fi
32283 rm -f conftest.err conftest.$ac_objext \
32284 conftest$ac_exeext conftest.$ac_ext
32285 LIBS=$ac_check_lib_save_LIBS
32286 fi
32287 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
32288 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
32289 if test $ac_cv_lib_m_sin = yes; then
32290 libm="-lm"
32291 fi
32292
32293 ac_save_LIBS="$LIBS"
32294 LIBS="$LIBS $libm"
32295
32296
32297
32298 echo "$as_me:$LINENO: checking for isinf declaration" >&5
32299 echo $ECHO_N "checking for isinf declaration... $ECHO_C" >&6
32300 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
32301 if test "${glibcxx_cv_func_isinf_use+set}" = set; then
32302 echo $ECHO_N "(cached) $ECHO_C" >&6
32303 else
32304
32305
32306
32307 ac_ext=cc
32308 ac_cpp='$CXXCPP $CPPFLAGS'
32309 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32310 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32311 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32312
32313 cat >conftest.$ac_ext <<_ACEOF
32314 /* confdefs.h. */
32315 _ACEOF
32316 cat confdefs.h >>conftest.$ac_ext
32317 cat >>conftest.$ac_ext <<_ACEOF
32318 /* end confdefs.h. */
32319 #include <math.h>
32320 #ifdef HAVE_IEEEFP_H
32321 #include <ieeefp.h>
32322 #endif
32323
32324 int
32325 main ()
32326 {
32327 isinf(0);
32328 ;
32329 return 0;
32330 }
32331 _ACEOF
32332 rm -f conftest.$ac_objext
32333 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32334 (eval $ac_compile) 2>conftest.er1
32335 ac_status=$?
32336 grep -v '^ *+' conftest.er1 >conftest.err
32337 rm -f conftest.er1
32338 cat conftest.err >&5
32339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32340 (exit $ac_status); } &&
32341 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32342 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32343 (eval $ac_try) 2>&5
32344 ac_status=$?
32345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32346 (exit $ac_status); }; } &&
32347 { ac_try='test -s conftest.$ac_objext'
32348 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32349 (eval $ac_try) 2>&5
32350 ac_status=$?
32351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32352 (exit $ac_status); }; }; then
32353 glibcxx_cv_func_isinf_use=yes
32354 else
32355 echo "$as_me: failed program was:" >&5
32356 sed 's/^/| /' conftest.$ac_ext >&5
32357
32358 glibcxx_cv_func_isinf_use=no
32359 fi
32360 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32361 ac_ext=c
32362 ac_cpp='$CPP $CPPFLAGS'
32363 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32364 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32365 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32366
32367
32368 fi
32369
32370 fi
32371 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinf_use" >&5
32372 echo "${ECHO_T}$glibcxx_cv_func_isinf_use" >&6
32373
32374 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
32375
32376 for ac_func in isinf
32377 do
32378 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32379 echo "$as_me:$LINENO: checking for $ac_func" >&5
32380 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32381 if eval "test \"\${$as_ac_var+set}\" = set"; then
32382 echo $ECHO_N "(cached) $ECHO_C" >&6
32383 else
32384 if test x$gcc_no_link = xyes; then
32385 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32386 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32387 { (exit 1); exit 1; }; }
32388 fi
32389 cat >conftest.$ac_ext <<_ACEOF
32390 /* confdefs.h. */
32391 _ACEOF
32392 cat confdefs.h >>conftest.$ac_ext
32393 cat >>conftest.$ac_ext <<_ACEOF
32394 /* end confdefs.h. */
32395 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32396 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32397 #define $ac_func innocuous_$ac_func
32398
32399 /* System header to define __stub macros and hopefully few prototypes,
32400 which can conflict with char $ac_func (); below.
32401 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32402 <limits.h> exists even on freestanding compilers. */
32403
32404 #ifdef __STDC__
32405 # include <limits.h>
32406 #else
32407 # include <assert.h>
32408 #endif
32409
32410 #undef $ac_func
32411
32412 /* Override any gcc2 internal prototype to avoid an error. */
32413 #ifdef __cplusplus
32414 extern "C"
32415 {
32416 #endif
32417 /* We use char because int might match the return type of a gcc2
32418 builtin and then its argument prototype would still apply. */
32419 char $ac_func ();
32420 /* The GNU C library defines this for functions which it implements
32421 to always fail with ENOSYS. Some functions are actually named
32422 something starting with __ and the normal name is an alias. */
32423 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32424 choke me
32425 #else
32426 char (*f) () = $ac_func;
32427 #endif
32428 #ifdef __cplusplus
32429 }
32430 #endif
32431
32432 int
32433 main ()
32434 {
32435 return f != $ac_func;
32436 ;
32437 return 0;
32438 }
32439 _ACEOF
32440 rm -f conftest.$ac_objext conftest$ac_exeext
32441 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32442 (eval $ac_link) 2>conftest.er1
32443 ac_status=$?
32444 grep -v '^ *+' conftest.er1 >conftest.err
32445 rm -f conftest.er1
32446 cat conftest.err >&5
32447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32448 (exit $ac_status); } &&
32449 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32451 (eval $ac_try) 2>&5
32452 ac_status=$?
32453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32454 (exit $ac_status); }; } &&
32455 { ac_try='test -s conftest$ac_exeext'
32456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32457 (eval $ac_try) 2>&5
32458 ac_status=$?
32459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32460 (exit $ac_status); }; }; then
32461 eval "$as_ac_var=yes"
32462 else
32463 echo "$as_me: failed program was:" >&5
32464 sed 's/^/| /' conftest.$ac_ext >&5
32465
32466 eval "$as_ac_var=no"
32467 fi
32468 rm -f conftest.err conftest.$ac_objext \
32469 conftest$ac_exeext conftest.$ac_ext
32470 fi
32471 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32472 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32473 if test `eval echo '${'$as_ac_var'}'` = yes; then
32474 cat >>confdefs.h <<_ACEOF
32475 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32476 _ACEOF
32477
32478 fi
32479 done
32480
32481 else
32482
32483 echo "$as_me:$LINENO: checking for _isinf declaration" >&5
32484 echo $ECHO_N "checking for _isinf declaration... $ECHO_C" >&6
32485 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
32486 if test "${glibcxx_cv_func__isinf_use+set}" = set; then
32487 echo $ECHO_N "(cached) $ECHO_C" >&6
32488 else
32489
32490
32491
32492 ac_ext=cc
32493 ac_cpp='$CXXCPP $CPPFLAGS'
32494 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32495 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32496 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32497
32498 cat >conftest.$ac_ext <<_ACEOF
32499 /* confdefs.h. */
32500 _ACEOF
32501 cat confdefs.h >>conftest.$ac_ext
32502 cat >>conftest.$ac_ext <<_ACEOF
32503 /* end confdefs.h. */
32504 #include <math.h>
32505 #ifdef HAVE_IEEEFP_H
32506 #include <ieeefp.h>
32507 #endif
32508
32509 int
32510 main ()
32511 {
32512 _isinf(0);
32513 ;
32514 return 0;
32515 }
32516 _ACEOF
32517 rm -f conftest.$ac_objext
32518 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32519 (eval $ac_compile) 2>conftest.er1
32520 ac_status=$?
32521 grep -v '^ *+' conftest.er1 >conftest.err
32522 rm -f conftest.er1
32523 cat conftest.err >&5
32524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32525 (exit $ac_status); } &&
32526 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32528 (eval $ac_try) 2>&5
32529 ac_status=$?
32530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32531 (exit $ac_status); }; } &&
32532 { ac_try='test -s conftest.$ac_objext'
32533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32534 (eval $ac_try) 2>&5
32535 ac_status=$?
32536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32537 (exit $ac_status); }; }; then
32538 glibcxx_cv_func__isinf_use=yes
32539 else
32540 echo "$as_me: failed program was:" >&5
32541 sed 's/^/| /' conftest.$ac_ext >&5
32542
32543 glibcxx_cv_func__isinf_use=no
32544 fi
32545 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32546 ac_ext=c
32547 ac_cpp='$CPP $CPPFLAGS'
32548 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32549 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32550 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32551
32552
32553 fi
32554
32555 fi
32556 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinf_use" >&5
32557 echo "${ECHO_T}$glibcxx_cv_func__isinf_use" >&6
32558
32559 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
32560
32561 for ac_func in _isinf
32562 do
32563 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32564 echo "$as_me:$LINENO: checking for $ac_func" >&5
32565 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32566 if eval "test \"\${$as_ac_var+set}\" = set"; then
32567 echo $ECHO_N "(cached) $ECHO_C" >&6
32568 else
32569 if test x$gcc_no_link = xyes; then
32570 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32571 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32572 { (exit 1); exit 1; }; }
32573 fi
32574 cat >conftest.$ac_ext <<_ACEOF
32575 /* confdefs.h. */
32576 _ACEOF
32577 cat confdefs.h >>conftest.$ac_ext
32578 cat >>conftest.$ac_ext <<_ACEOF
32579 /* end confdefs.h. */
32580 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32581 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32582 #define $ac_func innocuous_$ac_func
32583
32584 /* System header to define __stub macros and hopefully few prototypes,
32585 which can conflict with char $ac_func (); below.
32586 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32587 <limits.h> exists even on freestanding compilers. */
32588
32589 #ifdef __STDC__
32590 # include <limits.h>
32591 #else
32592 # include <assert.h>
32593 #endif
32594
32595 #undef $ac_func
32596
32597 /* Override any gcc2 internal prototype to avoid an error. */
32598 #ifdef __cplusplus
32599 extern "C"
32600 {
32601 #endif
32602 /* We use char because int might match the return type of a gcc2
32603 builtin and then its argument prototype would still apply. */
32604 char $ac_func ();
32605 /* The GNU C library defines this for functions which it implements
32606 to always fail with ENOSYS. Some functions are actually named
32607 something starting with __ and the normal name is an alias. */
32608 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32609 choke me
32610 #else
32611 char (*f) () = $ac_func;
32612 #endif
32613 #ifdef __cplusplus
32614 }
32615 #endif
32616
32617 int
32618 main ()
32619 {
32620 return f != $ac_func;
32621 ;
32622 return 0;
32623 }
32624 _ACEOF
32625 rm -f conftest.$ac_objext conftest$ac_exeext
32626 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32627 (eval $ac_link) 2>conftest.er1
32628 ac_status=$?
32629 grep -v '^ *+' conftest.er1 >conftest.err
32630 rm -f conftest.er1
32631 cat conftest.err >&5
32632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32633 (exit $ac_status); } &&
32634 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32636 (eval $ac_try) 2>&5
32637 ac_status=$?
32638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32639 (exit $ac_status); }; } &&
32640 { ac_try='test -s conftest$ac_exeext'
32641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32642 (eval $ac_try) 2>&5
32643 ac_status=$?
32644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32645 (exit $ac_status); }; }; then
32646 eval "$as_ac_var=yes"
32647 else
32648 echo "$as_me: failed program was:" >&5
32649 sed 's/^/| /' conftest.$ac_ext >&5
32650
32651 eval "$as_ac_var=no"
32652 fi
32653 rm -f conftest.err conftest.$ac_objext \
32654 conftest$ac_exeext conftest.$ac_ext
32655 fi
32656 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32657 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32658 if test `eval echo '${'$as_ac_var'}'` = yes; then
32659 cat >>confdefs.h <<_ACEOF
32660 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32661 _ACEOF
32662
32663 fi
32664 done
32665
32666 fi
32667 fi
32668
32669
32670
32671
32672
32673
32674 echo "$as_me:$LINENO: checking for isnan declaration" >&5
32675 echo $ECHO_N "checking for isnan declaration... $ECHO_C" >&6
32676 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
32677 if test "${glibcxx_cv_func_isnan_use+set}" = set; then
32678 echo $ECHO_N "(cached) $ECHO_C" >&6
32679 else
32680
32681
32682
32683 ac_ext=cc
32684 ac_cpp='$CXXCPP $CPPFLAGS'
32685 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32686 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32687 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32688
32689 cat >conftest.$ac_ext <<_ACEOF
32690 /* confdefs.h. */
32691 _ACEOF
32692 cat confdefs.h >>conftest.$ac_ext
32693 cat >>conftest.$ac_ext <<_ACEOF
32694 /* end confdefs.h. */
32695 #include <math.h>
32696 #ifdef HAVE_IEEEFP_H
32697 #include <ieeefp.h>
32698 #endif
32699
32700 int
32701 main ()
32702 {
32703 isnan(0);
32704 ;
32705 return 0;
32706 }
32707 _ACEOF
32708 rm -f conftest.$ac_objext
32709 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32710 (eval $ac_compile) 2>conftest.er1
32711 ac_status=$?
32712 grep -v '^ *+' conftest.er1 >conftest.err
32713 rm -f conftest.er1
32714 cat conftest.err >&5
32715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32716 (exit $ac_status); } &&
32717 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32719 (eval $ac_try) 2>&5
32720 ac_status=$?
32721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32722 (exit $ac_status); }; } &&
32723 { ac_try='test -s conftest.$ac_objext'
32724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32725 (eval $ac_try) 2>&5
32726 ac_status=$?
32727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32728 (exit $ac_status); }; }; then
32729 glibcxx_cv_func_isnan_use=yes
32730 else
32731 echo "$as_me: failed program was:" >&5
32732 sed 's/^/| /' conftest.$ac_ext >&5
32733
32734 glibcxx_cv_func_isnan_use=no
32735 fi
32736 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32737 ac_ext=c
32738 ac_cpp='$CPP $CPPFLAGS'
32739 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32740 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32741 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32742
32743
32744 fi
32745
32746 fi
32747 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnan_use" >&5
32748 echo "${ECHO_T}$glibcxx_cv_func_isnan_use" >&6
32749
32750 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
32751
32752 for ac_func in isnan
32753 do
32754 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32755 echo "$as_me:$LINENO: checking for $ac_func" >&5
32756 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32757 if eval "test \"\${$as_ac_var+set}\" = set"; then
32758 echo $ECHO_N "(cached) $ECHO_C" >&6
32759 else
32760 if test x$gcc_no_link = xyes; then
32761 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32762 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32763 { (exit 1); exit 1; }; }
32764 fi
32765 cat >conftest.$ac_ext <<_ACEOF
32766 /* confdefs.h. */
32767 _ACEOF
32768 cat confdefs.h >>conftest.$ac_ext
32769 cat >>conftest.$ac_ext <<_ACEOF
32770 /* end confdefs.h. */
32771 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32772 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32773 #define $ac_func innocuous_$ac_func
32774
32775 /* System header to define __stub macros and hopefully few prototypes,
32776 which can conflict with char $ac_func (); below.
32777 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32778 <limits.h> exists even on freestanding compilers. */
32779
32780 #ifdef __STDC__
32781 # include <limits.h>
32782 #else
32783 # include <assert.h>
32784 #endif
32785
32786 #undef $ac_func
32787
32788 /* Override any gcc2 internal prototype to avoid an error. */
32789 #ifdef __cplusplus
32790 extern "C"
32791 {
32792 #endif
32793 /* We use char because int might match the return type of a gcc2
32794 builtin and then its argument prototype would still apply. */
32795 char $ac_func ();
32796 /* The GNU C library defines this for functions which it implements
32797 to always fail with ENOSYS. Some functions are actually named
32798 something starting with __ and the normal name is an alias. */
32799 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32800 choke me
32801 #else
32802 char (*f) () = $ac_func;
32803 #endif
32804 #ifdef __cplusplus
32805 }
32806 #endif
32807
32808 int
32809 main ()
32810 {
32811 return f != $ac_func;
32812 ;
32813 return 0;
32814 }
32815 _ACEOF
32816 rm -f conftest.$ac_objext conftest$ac_exeext
32817 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32818 (eval $ac_link) 2>conftest.er1
32819 ac_status=$?
32820 grep -v '^ *+' conftest.er1 >conftest.err
32821 rm -f conftest.er1
32822 cat conftest.err >&5
32823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32824 (exit $ac_status); } &&
32825 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32827 (eval $ac_try) 2>&5
32828 ac_status=$?
32829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32830 (exit $ac_status); }; } &&
32831 { ac_try='test -s conftest$ac_exeext'
32832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32833 (eval $ac_try) 2>&5
32834 ac_status=$?
32835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32836 (exit $ac_status); }; }; then
32837 eval "$as_ac_var=yes"
32838 else
32839 echo "$as_me: failed program was:" >&5
32840 sed 's/^/| /' conftest.$ac_ext >&5
32841
32842 eval "$as_ac_var=no"
32843 fi
32844 rm -f conftest.err conftest.$ac_objext \
32845 conftest$ac_exeext conftest.$ac_ext
32846 fi
32847 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32848 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32849 if test `eval echo '${'$as_ac_var'}'` = yes; then
32850 cat >>confdefs.h <<_ACEOF
32851 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32852 _ACEOF
32853
32854 fi
32855 done
32856
32857 else
32858
32859 echo "$as_me:$LINENO: checking for _isnan declaration" >&5
32860 echo $ECHO_N "checking for _isnan declaration... $ECHO_C" >&6
32861 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
32862 if test "${glibcxx_cv_func__isnan_use+set}" = set; then
32863 echo $ECHO_N "(cached) $ECHO_C" >&6
32864 else
32865
32866
32867
32868 ac_ext=cc
32869 ac_cpp='$CXXCPP $CPPFLAGS'
32870 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32871 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32872 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32873
32874 cat >conftest.$ac_ext <<_ACEOF
32875 /* confdefs.h. */
32876 _ACEOF
32877 cat confdefs.h >>conftest.$ac_ext
32878 cat >>conftest.$ac_ext <<_ACEOF
32879 /* end confdefs.h. */
32880 #include <math.h>
32881 #ifdef HAVE_IEEEFP_H
32882 #include <ieeefp.h>
32883 #endif
32884
32885 int
32886 main ()
32887 {
32888 _isnan(0);
32889 ;
32890 return 0;
32891 }
32892 _ACEOF
32893 rm -f conftest.$ac_objext
32894 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32895 (eval $ac_compile) 2>conftest.er1
32896 ac_status=$?
32897 grep -v '^ *+' conftest.er1 >conftest.err
32898 rm -f conftest.er1
32899 cat conftest.err >&5
32900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32901 (exit $ac_status); } &&
32902 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32904 (eval $ac_try) 2>&5
32905 ac_status=$?
32906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32907 (exit $ac_status); }; } &&
32908 { ac_try='test -s conftest.$ac_objext'
32909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32910 (eval $ac_try) 2>&5
32911 ac_status=$?
32912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32913 (exit $ac_status); }; }; then
32914 glibcxx_cv_func__isnan_use=yes
32915 else
32916 echo "$as_me: failed program was:" >&5
32917 sed 's/^/| /' conftest.$ac_ext >&5
32918
32919 glibcxx_cv_func__isnan_use=no
32920 fi
32921 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32922 ac_ext=c
32923 ac_cpp='$CPP $CPPFLAGS'
32924 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32925 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32926 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32927
32928
32929 fi
32930
32931 fi
32932 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnan_use" >&5
32933 echo "${ECHO_T}$glibcxx_cv_func__isnan_use" >&6
32934
32935 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
32936
32937 for ac_func in _isnan
32938 do
32939 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32940 echo "$as_me:$LINENO: checking for $ac_func" >&5
32941 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32942 if eval "test \"\${$as_ac_var+set}\" = set"; then
32943 echo $ECHO_N "(cached) $ECHO_C" >&6
32944 else
32945 if test x$gcc_no_link = xyes; then
32946 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32947 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32948 { (exit 1); exit 1; }; }
32949 fi
32950 cat >conftest.$ac_ext <<_ACEOF
32951 /* confdefs.h. */
32952 _ACEOF
32953 cat confdefs.h >>conftest.$ac_ext
32954 cat >>conftest.$ac_ext <<_ACEOF
32955 /* end confdefs.h. */
32956 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32957 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32958 #define $ac_func innocuous_$ac_func
32959
32960 /* System header to define __stub macros and hopefully few prototypes,
32961 which can conflict with char $ac_func (); below.
32962 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32963 <limits.h> exists even on freestanding compilers. */
32964
32965 #ifdef __STDC__
32966 # include <limits.h>
32967 #else
32968 # include <assert.h>
32969 #endif
32970
32971 #undef $ac_func
32972
32973 /* Override any gcc2 internal prototype to avoid an error. */
32974 #ifdef __cplusplus
32975 extern "C"
32976 {
32977 #endif
32978 /* We use char because int might match the return type of a gcc2
32979 builtin and then its argument prototype would still apply. */
32980 char $ac_func ();
32981 /* The GNU C library defines this for functions which it implements
32982 to always fail with ENOSYS. Some functions are actually named
32983 something starting with __ and the normal name is an alias. */
32984 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32985 choke me
32986 #else
32987 char (*f) () = $ac_func;
32988 #endif
32989 #ifdef __cplusplus
32990 }
32991 #endif
32992
32993 int
32994 main ()
32995 {
32996 return f != $ac_func;
32997 ;
32998 return 0;
32999 }
33000 _ACEOF
33001 rm -f conftest.$ac_objext conftest$ac_exeext
33002 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33003 (eval $ac_link) 2>conftest.er1
33004 ac_status=$?
33005 grep -v '^ *+' conftest.er1 >conftest.err
33006 rm -f conftest.er1
33007 cat conftest.err >&5
33008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33009 (exit $ac_status); } &&
33010 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33012 (eval $ac_try) 2>&5
33013 ac_status=$?
33014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33015 (exit $ac_status); }; } &&
33016 { ac_try='test -s conftest$ac_exeext'
33017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33018 (eval $ac_try) 2>&5
33019 ac_status=$?
33020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33021 (exit $ac_status); }; }; then
33022 eval "$as_ac_var=yes"
33023 else
33024 echo "$as_me: failed program was:" >&5
33025 sed 's/^/| /' conftest.$ac_ext >&5
33026
33027 eval "$as_ac_var=no"
33028 fi
33029 rm -f conftest.err conftest.$ac_objext \
33030 conftest$ac_exeext conftest.$ac_ext
33031 fi
33032 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33033 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33034 if test `eval echo '${'$as_ac_var'}'` = yes; then
33035 cat >>confdefs.h <<_ACEOF
33036 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33037 _ACEOF
33038
33039 fi
33040 done
33041
33042 fi
33043 fi
33044
33045
33046
33047
33048
33049
33050 echo "$as_me:$LINENO: checking for finite declaration" >&5
33051 echo $ECHO_N "checking for finite declaration... $ECHO_C" >&6
33052 if test x${glibcxx_cv_func_finite_use+set} != xset; then
33053 if test "${glibcxx_cv_func_finite_use+set}" = set; then
33054 echo $ECHO_N "(cached) $ECHO_C" >&6
33055 else
33056
33057
33058
33059 ac_ext=cc
33060 ac_cpp='$CXXCPP $CPPFLAGS'
33061 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33062 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33063 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33064
33065 cat >conftest.$ac_ext <<_ACEOF
33066 /* confdefs.h. */
33067 _ACEOF
33068 cat confdefs.h >>conftest.$ac_ext
33069 cat >>conftest.$ac_ext <<_ACEOF
33070 /* end confdefs.h. */
33071 #include <math.h>
33072 #ifdef HAVE_IEEEFP_H
33073 #include <ieeefp.h>
33074 #endif
33075
33076 int
33077 main ()
33078 {
33079 finite(0);
33080 ;
33081 return 0;
33082 }
33083 _ACEOF
33084 rm -f conftest.$ac_objext
33085 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33086 (eval $ac_compile) 2>conftest.er1
33087 ac_status=$?
33088 grep -v '^ *+' conftest.er1 >conftest.err
33089 rm -f conftest.er1
33090 cat conftest.err >&5
33091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33092 (exit $ac_status); } &&
33093 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33094 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33095 (eval $ac_try) 2>&5
33096 ac_status=$?
33097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33098 (exit $ac_status); }; } &&
33099 { ac_try='test -s conftest.$ac_objext'
33100 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33101 (eval $ac_try) 2>&5
33102 ac_status=$?
33103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33104 (exit $ac_status); }; }; then
33105 glibcxx_cv_func_finite_use=yes
33106 else
33107 echo "$as_me: failed program was:" >&5
33108 sed 's/^/| /' conftest.$ac_ext >&5
33109
33110 glibcxx_cv_func_finite_use=no
33111 fi
33112 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33113 ac_ext=c
33114 ac_cpp='$CPP $CPPFLAGS'
33115 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33116 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33117 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33118
33119
33120 fi
33121
33122 fi
33123 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finite_use" >&5
33124 echo "${ECHO_T}$glibcxx_cv_func_finite_use" >&6
33125
33126 if test x$glibcxx_cv_func_finite_use = x"yes"; then
33127
33128 for ac_func in finite
33129 do
33130 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33131 echo "$as_me:$LINENO: checking for $ac_func" >&5
33132 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33133 if eval "test \"\${$as_ac_var+set}\" = set"; then
33134 echo $ECHO_N "(cached) $ECHO_C" >&6
33135 else
33136 if test x$gcc_no_link = xyes; then
33137 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33138 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33139 { (exit 1); exit 1; }; }
33140 fi
33141 cat >conftest.$ac_ext <<_ACEOF
33142 /* confdefs.h. */
33143 _ACEOF
33144 cat confdefs.h >>conftest.$ac_ext
33145 cat >>conftest.$ac_ext <<_ACEOF
33146 /* end confdefs.h. */
33147 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33148 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33149 #define $ac_func innocuous_$ac_func
33150
33151 /* System header to define __stub macros and hopefully few prototypes,
33152 which can conflict with char $ac_func (); below.
33153 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33154 <limits.h> exists even on freestanding compilers. */
33155
33156 #ifdef __STDC__
33157 # include <limits.h>
33158 #else
33159 # include <assert.h>
33160 #endif
33161
33162 #undef $ac_func
33163
33164 /* Override any gcc2 internal prototype to avoid an error. */
33165 #ifdef __cplusplus
33166 extern "C"
33167 {
33168 #endif
33169 /* We use char because int might match the return type of a gcc2
33170 builtin and then its argument prototype would still apply. */
33171 char $ac_func ();
33172 /* The GNU C library defines this for functions which it implements
33173 to always fail with ENOSYS. Some functions are actually named
33174 something starting with __ and the normal name is an alias. */
33175 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33176 choke me
33177 #else
33178 char (*f) () = $ac_func;
33179 #endif
33180 #ifdef __cplusplus
33181 }
33182 #endif
33183
33184 int
33185 main ()
33186 {
33187 return f != $ac_func;
33188 ;
33189 return 0;
33190 }
33191 _ACEOF
33192 rm -f conftest.$ac_objext conftest$ac_exeext
33193 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33194 (eval $ac_link) 2>conftest.er1
33195 ac_status=$?
33196 grep -v '^ *+' conftest.er1 >conftest.err
33197 rm -f conftest.er1
33198 cat conftest.err >&5
33199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33200 (exit $ac_status); } &&
33201 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33203 (eval $ac_try) 2>&5
33204 ac_status=$?
33205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33206 (exit $ac_status); }; } &&
33207 { ac_try='test -s conftest$ac_exeext'
33208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33209 (eval $ac_try) 2>&5
33210 ac_status=$?
33211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33212 (exit $ac_status); }; }; then
33213 eval "$as_ac_var=yes"
33214 else
33215 echo "$as_me: failed program was:" >&5
33216 sed 's/^/| /' conftest.$ac_ext >&5
33217
33218 eval "$as_ac_var=no"
33219 fi
33220 rm -f conftest.err conftest.$ac_objext \
33221 conftest$ac_exeext conftest.$ac_ext
33222 fi
33223 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33224 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33225 if test `eval echo '${'$as_ac_var'}'` = yes; then
33226 cat >>confdefs.h <<_ACEOF
33227 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33228 _ACEOF
33229
33230 fi
33231 done
33232
33233 else
33234
33235 echo "$as_me:$LINENO: checking for _finite declaration" >&5
33236 echo $ECHO_N "checking for _finite declaration... $ECHO_C" >&6
33237 if test x${glibcxx_cv_func__finite_use+set} != xset; then
33238 if test "${glibcxx_cv_func__finite_use+set}" = set; then
33239 echo $ECHO_N "(cached) $ECHO_C" >&6
33240 else
33241
33242
33243
33244 ac_ext=cc
33245 ac_cpp='$CXXCPP $CPPFLAGS'
33246 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33247 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33248 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33249
33250 cat >conftest.$ac_ext <<_ACEOF
33251 /* confdefs.h. */
33252 _ACEOF
33253 cat confdefs.h >>conftest.$ac_ext
33254 cat >>conftest.$ac_ext <<_ACEOF
33255 /* end confdefs.h. */
33256 #include <math.h>
33257 #ifdef HAVE_IEEEFP_H
33258 #include <ieeefp.h>
33259 #endif
33260
33261 int
33262 main ()
33263 {
33264 _finite(0);
33265 ;
33266 return 0;
33267 }
33268 _ACEOF
33269 rm -f conftest.$ac_objext
33270 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33271 (eval $ac_compile) 2>conftest.er1
33272 ac_status=$?
33273 grep -v '^ *+' conftest.er1 >conftest.err
33274 rm -f conftest.er1
33275 cat conftest.err >&5
33276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33277 (exit $ac_status); } &&
33278 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33280 (eval $ac_try) 2>&5
33281 ac_status=$?
33282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33283 (exit $ac_status); }; } &&
33284 { ac_try='test -s conftest.$ac_objext'
33285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33286 (eval $ac_try) 2>&5
33287 ac_status=$?
33288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33289 (exit $ac_status); }; }; then
33290 glibcxx_cv_func__finite_use=yes
33291 else
33292 echo "$as_me: failed program was:" >&5
33293 sed 's/^/| /' conftest.$ac_ext >&5
33294
33295 glibcxx_cv_func__finite_use=no
33296 fi
33297 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33298 ac_ext=c
33299 ac_cpp='$CPP $CPPFLAGS'
33300 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33301 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33302 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33303
33304
33305 fi
33306
33307 fi
33308 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finite_use" >&5
33309 echo "${ECHO_T}$glibcxx_cv_func__finite_use" >&6
33310
33311 if test x$glibcxx_cv_func__finite_use = x"yes"; then
33312
33313 for ac_func in _finite
33314 do
33315 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33316 echo "$as_me:$LINENO: checking for $ac_func" >&5
33317 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33318 if eval "test \"\${$as_ac_var+set}\" = set"; then
33319 echo $ECHO_N "(cached) $ECHO_C" >&6
33320 else
33321 if test x$gcc_no_link = xyes; then
33322 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33323 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33324 { (exit 1); exit 1; }; }
33325 fi
33326 cat >conftest.$ac_ext <<_ACEOF
33327 /* confdefs.h. */
33328 _ACEOF
33329 cat confdefs.h >>conftest.$ac_ext
33330 cat >>conftest.$ac_ext <<_ACEOF
33331 /* end confdefs.h. */
33332 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33333 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33334 #define $ac_func innocuous_$ac_func
33335
33336 /* System header to define __stub macros and hopefully few prototypes,
33337 which can conflict with char $ac_func (); below.
33338 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33339 <limits.h> exists even on freestanding compilers. */
33340
33341 #ifdef __STDC__
33342 # include <limits.h>
33343 #else
33344 # include <assert.h>
33345 #endif
33346
33347 #undef $ac_func
33348
33349 /* Override any gcc2 internal prototype to avoid an error. */
33350 #ifdef __cplusplus
33351 extern "C"
33352 {
33353 #endif
33354 /* We use char because int might match the return type of a gcc2
33355 builtin and then its argument prototype would still apply. */
33356 char $ac_func ();
33357 /* The GNU C library defines this for functions which it implements
33358 to always fail with ENOSYS. Some functions are actually named
33359 something starting with __ and the normal name is an alias. */
33360 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33361 choke me
33362 #else
33363 char (*f) () = $ac_func;
33364 #endif
33365 #ifdef __cplusplus
33366 }
33367 #endif
33368
33369 int
33370 main ()
33371 {
33372 return f != $ac_func;
33373 ;
33374 return 0;
33375 }
33376 _ACEOF
33377 rm -f conftest.$ac_objext conftest$ac_exeext
33378 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33379 (eval $ac_link) 2>conftest.er1
33380 ac_status=$?
33381 grep -v '^ *+' conftest.er1 >conftest.err
33382 rm -f conftest.er1
33383 cat conftest.err >&5
33384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33385 (exit $ac_status); } &&
33386 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33388 (eval $ac_try) 2>&5
33389 ac_status=$?
33390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33391 (exit $ac_status); }; } &&
33392 { ac_try='test -s conftest$ac_exeext'
33393 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33394 (eval $ac_try) 2>&5
33395 ac_status=$?
33396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33397 (exit $ac_status); }; }; then
33398 eval "$as_ac_var=yes"
33399 else
33400 echo "$as_me: failed program was:" >&5
33401 sed 's/^/| /' conftest.$ac_ext >&5
33402
33403 eval "$as_ac_var=no"
33404 fi
33405 rm -f conftest.err conftest.$ac_objext \
33406 conftest$ac_exeext conftest.$ac_ext
33407 fi
33408 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33409 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33410 if test `eval echo '${'$as_ac_var'}'` = yes; then
33411 cat >>confdefs.h <<_ACEOF
33412 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33413 _ACEOF
33414
33415 fi
33416 done
33417
33418 fi
33419 fi
33420
33421
33422
33423
33424
33425
33426 echo "$as_me:$LINENO: checking for copysign declaration" >&5
33427 echo $ECHO_N "checking for copysign declaration... $ECHO_C" >&6
33428 if test x${glibcxx_cv_func_copysign_use+set} != xset; then
33429 if test "${glibcxx_cv_func_copysign_use+set}" = set; then
33430 echo $ECHO_N "(cached) $ECHO_C" >&6
33431 else
33432
33433
33434
33435 ac_ext=cc
33436 ac_cpp='$CXXCPP $CPPFLAGS'
33437 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33438 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33439 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33440
33441 cat >conftest.$ac_ext <<_ACEOF
33442 /* confdefs.h. */
33443 _ACEOF
33444 cat confdefs.h >>conftest.$ac_ext
33445 cat >>conftest.$ac_ext <<_ACEOF
33446 /* end confdefs.h. */
33447 #include <math.h>
33448 int
33449 main ()
33450 {
33451 copysign(0, 0);
33452 ;
33453 return 0;
33454 }
33455 _ACEOF
33456 rm -f conftest.$ac_objext
33457 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33458 (eval $ac_compile) 2>conftest.er1
33459 ac_status=$?
33460 grep -v '^ *+' conftest.er1 >conftest.err
33461 rm -f conftest.er1
33462 cat conftest.err >&5
33463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33464 (exit $ac_status); } &&
33465 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33467 (eval $ac_try) 2>&5
33468 ac_status=$?
33469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33470 (exit $ac_status); }; } &&
33471 { ac_try='test -s conftest.$ac_objext'
33472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33473 (eval $ac_try) 2>&5
33474 ac_status=$?
33475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33476 (exit $ac_status); }; }; then
33477 glibcxx_cv_func_copysign_use=yes
33478 else
33479 echo "$as_me: failed program was:" >&5
33480 sed 's/^/| /' conftest.$ac_ext >&5
33481
33482 glibcxx_cv_func_copysign_use=no
33483 fi
33484 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33485 ac_ext=c
33486 ac_cpp='$CPP $CPPFLAGS'
33487 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33488 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33489 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33490
33491
33492 fi
33493
33494 fi
33495 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysign_use" >&5
33496 echo "${ECHO_T}$glibcxx_cv_func_copysign_use" >&6
33497
33498 if test x$glibcxx_cv_func_copysign_use = x"yes"; then
33499
33500 for ac_func in copysign
33501 do
33502 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33503 echo "$as_me:$LINENO: checking for $ac_func" >&5
33504 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33505 if eval "test \"\${$as_ac_var+set}\" = set"; then
33506 echo $ECHO_N "(cached) $ECHO_C" >&6
33507 else
33508 if test x$gcc_no_link = xyes; then
33509 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33510 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33511 { (exit 1); exit 1; }; }
33512 fi
33513 cat >conftest.$ac_ext <<_ACEOF
33514 /* confdefs.h. */
33515 _ACEOF
33516 cat confdefs.h >>conftest.$ac_ext
33517 cat >>conftest.$ac_ext <<_ACEOF
33518 /* end confdefs.h. */
33519 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33520 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33521 #define $ac_func innocuous_$ac_func
33522
33523 /* System header to define __stub macros and hopefully few prototypes,
33524 which can conflict with char $ac_func (); below.
33525 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33526 <limits.h> exists even on freestanding compilers. */
33527
33528 #ifdef __STDC__
33529 # include <limits.h>
33530 #else
33531 # include <assert.h>
33532 #endif
33533
33534 #undef $ac_func
33535
33536 /* Override any gcc2 internal prototype to avoid an error. */
33537 #ifdef __cplusplus
33538 extern "C"
33539 {
33540 #endif
33541 /* We use char because int might match the return type of a gcc2
33542 builtin and then its argument prototype would still apply. */
33543 char $ac_func ();
33544 /* The GNU C library defines this for functions which it implements
33545 to always fail with ENOSYS. Some functions are actually named
33546 something starting with __ and the normal name is an alias. */
33547 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33548 choke me
33549 #else
33550 char (*f) () = $ac_func;
33551 #endif
33552 #ifdef __cplusplus
33553 }
33554 #endif
33555
33556 int
33557 main ()
33558 {
33559 return f != $ac_func;
33560 ;
33561 return 0;
33562 }
33563 _ACEOF
33564 rm -f conftest.$ac_objext conftest$ac_exeext
33565 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33566 (eval $ac_link) 2>conftest.er1
33567 ac_status=$?
33568 grep -v '^ *+' conftest.er1 >conftest.err
33569 rm -f conftest.er1
33570 cat conftest.err >&5
33571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33572 (exit $ac_status); } &&
33573 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33575 (eval $ac_try) 2>&5
33576 ac_status=$?
33577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33578 (exit $ac_status); }; } &&
33579 { ac_try='test -s conftest$ac_exeext'
33580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33581 (eval $ac_try) 2>&5
33582 ac_status=$?
33583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33584 (exit $ac_status); }; }; then
33585 eval "$as_ac_var=yes"
33586 else
33587 echo "$as_me: failed program was:" >&5
33588 sed 's/^/| /' conftest.$ac_ext >&5
33589
33590 eval "$as_ac_var=no"
33591 fi
33592 rm -f conftest.err conftest.$ac_objext \
33593 conftest$ac_exeext conftest.$ac_ext
33594 fi
33595 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33596 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33597 if test `eval echo '${'$as_ac_var'}'` = yes; then
33598 cat >>confdefs.h <<_ACEOF
33599 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33600 _ACEOF
33601
33602 fi
33603 done
33604
33605 else
33606
33607 echo "$as_me:$LINENO: checking for _copysign declaration" >&5
33608 echo $ECHO_N "checking for _copysign declaration... $ECHO_C" >&6
33609 if test x${glibcxx_cv_func__copysign_use+set} != xset; then
33610 if test "${glibcxx_cv_func__copysign_use+set}" = set; then
33611 echo $ECHO_N "(cached) $ECHO_C" >&6
33612 else
33613
33614
33615
33616 ac_ext=cc
33617 ac_cpp='$CXXCPP $CPPFLAGS'
33618 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33619 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33620 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33621
33622 cat >conftest.$ac_ext <<_ACEOF
33623 /* confdefs.h. */
33624 _ACEOF
33625 cat confdefs.h >>conftest.$ac_ext
33626 cat >>conftest.$ac_ext <<_ACEOF
33627 /* end confdefs.h. */
33628 #include <math.h>
33629 int
33630 main ()
33631 {
33632 _copysign(0, 0);
33633 ;
33634 return 0;
33635 }
33636 _ACEOF
33637 rm -f conftest.$ac_objext
33638 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33639 (eval $ac_compile) 2>conftest.er1
33640 ac_status=$?
33641 grep -v '^ *+' conftest.er1 >conftest.err
33642 rm -f conftest.er1
33643 cat conftest.err >&5
33644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33645 (exit $ac_status); } &&
33646 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33648 (eval $ac_try) 2>&5
33649 ac_status=$?
33650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33651 (exit $ac_status); }; } &&
33652 { ac_try='test -s conftest.$ac_objext'
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 glibcxx_cv_func__copysign_use=yes
33659 else
33660 echo "$as_me: failed program was:" >&5
33661 sed 's/^/| /' conftest.$ac_ext >&5
33662
33663 glibcxx_cv_func__copysign_use=no
33664 fi
33665 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33666 ac_ext=c
33667 ac_cpp='$CPP $CPPFLAGS'
33668 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33669 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33670 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33671
33672
33673 fi
33674
33675 fi
33676 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysign_use" >&5
33677 echo "${ECHO_T}$glibcxx_cv_func__copysign_use" >&6
33678
33679 if test x$glibcxx_cv_func__copysign_use = x"yes"; then
33680
33681 for ac_func in _copysign
33682 do
33683 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33684 echo "$as_me:$LINENO: checking for $ac_func" >&5
33685 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33686 if eval "test \"\${$as_ac_var+set}\" = set"; then
33687 echo $ECHO_N "(cached) $ECHO_C" >&6
33688 else
33689 if test x$gcc_no_link = xyes; then
33690 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33691 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33692 { (exit 1); exit 1; }; }
33693 fi
33694 cat >conftest.$ac_ext <<_ACEOF
33695 /* confdefs.h. */
33696 _ACEOF
33697 cat confdefs.h >>conftest.$ac_ext
33698 cat >>conftest.$ac_ext <<_ACEOF
33699 /* end confdefs.h. */
33700 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33701 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33702 #define $ac_func innocuous_$ac_func
33703
33704 /* System header to define __stub macros and hopefully few prototypes,
33705 which can conflict with char $ac_func (); below.
33706 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33707 <limits.h> exists even on freestanding compilers. */
33708
33709 #ifdef __STDC__
33710 # include <limits.h>
33711 #else
33712 # include <assert.h>
33713 #endif
33714
33715 #undef $ac_func
33716
33717 /* Override any gcc2 internal prototype to avoid an error. */
33718 #ifdef __cplusplus
33719 extern "C"
33720 {
33721 #endif
33722 /* We use char because int might match the return type of a gcc2
33723 builtin and then its argument prototype would still apply. */
33724 char $ac_func ();
33725 /* The GNU C library defines this for functions which it implements
33726 to always fail with ENOSYS. Some functions are actually named
33727 something starting with __ and the normal name is an alias. */
33728 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33729 choke me
33730 #else
33731 char (*f) () = $ac_func;
33732 #endif
33733 #ifdef __cplusplus
33734 }
33735 #endif
33736
33737 int
33738 main ()
33739 {
33740 return f != $ac_func;
33741 ;
33742 return 0;
33743 }
33744 _ACEOF
33745 rm -f conftest.$ac_objext conftest$ac_exeext
33746 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33747 (eval $ac_link) 2>conftest.er1
33748 ac_status=$?
33749 grep -v '^ *+' conftest.er1 >conftest.err
33750 rm -f conftest.er1
33751 cat conftest.err >&5
33752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33753 (exit $ac_status); } &&
33754 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33756 (eval $ac_try) 2>&5
33757 ac_status=$?
33758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33759 (exit $ac_status); }; } &&
33760 { ac_try='test -s conftest$ac_exeext'
33761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33762 (eval $ac_try) 2>&5
33763 ac_status=$?
33764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33765 (exit $ac_status); }; }; then
33766 eval "$as_ac_var=yes"
33767 else
33768 echo "$as_me: failed program was:" >&5
33769 sed 's/^/| /' conftest.$ac_ext >&5
33770
33771 eval "$as_ac_var=no"
33772 fi
33773 rm -f conftest.err conftest.$ac_objext \
33774 conftest$ac_exeext conftest.$ac_ext
33775 fi
33776 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33777 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33778 if test `eval echo '${'$as_ac_var'}'` = yes; then
33779 cat >>confdefs.h <<_ACEOF
33780 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33781 _ACEOF
33782
33783 fi
33784 done
33785
33786 fi
33787 fi
33788
33789
33790
33791
33792
33793
33794 echo "$as_me:$LINENO: checking for sincos declaration" >&5
33795 echo $ECHO_N "checking for sincos declaration... $ECHO_C" >&6
33796 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
33797 if test "${glibcxx_cv_func_sincos_use+set}" = set; then
33798 echo $ECHO_N "(cached) $ECHO_C" >&6
33799 else
33800
33801
33802
33803 ac_ext=cc
33804 ac_cpp='$CXXCPP $CPPFLAGS'
33805 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33806 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33807 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33808
33809 cat >conftest.$ac_ext <<_ACEOF
33810 /* confdefs.h. */
33811 _ACEOF
33812 cat confdefs.h >>conftest.$ac_ext
33813 cat >>conftest.$ac_ext <<_ACEOF
33814 /* end confdefs.h. */
33815 #include <math.h>
33816 int
33817 main ()
33818 {
33819 sincos(0, 0, 0);
33820 ;
33821 return 0;
33822 }
33823 _ACEOF
33824 rm -f conftest.$ac_objext
33825 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33826 (eval $ac_compile) 2>conftest.er1
33827 ac_status=$?
33828 grep -v '^ *+' conftest.er1 >conftest.err
33829 rm -f conftest.er1
33830 cat conftest.err >&5
33831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33832 (exit $ac_status); } &&
33833 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33835 (eval $ac_try) 2>&5
33836 ac_status=$?
33837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33838 (exit $ac_status); }; } &&
33839 { ac_try='test -s conftest.$ac_objext'
33840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33841 (eval $ac_try) 2>&5
33842 ac_status=$?
33843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33844 (exit $ac_status); }; }; then
33845 glibcxx_cv_func_sincos_use=yes
33846 else
33847 echo "$as_me: failed program was:" >&5
33848 sed 's/^/| /' conftest.$ac_ext >&5
33849
33850 glibcxx_cv_func_sincos_use=no
33851 fi
33852 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33853 ac_ext=c
33854 ac_cpp='$CPP $CPPFLAGS'
33855 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33856 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33857 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33858
33859
33860 fi
33861
33862 fi
33863 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincos_use" >&5
33864 echo "${ECHO_T}$glibcxx_cv_func_sincos_use" >&6
33865
33866 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
33867
33868 for ac_func in sincos
33869 do
33870 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33871 echo "$as_me:$LINENO: checking for $ac_func" >&5
33872 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33873 if eval "test \"\${$as_ac_var+set}\" = set"; then
33874 echo $ECHO_N "(cached) $ECHO_C" >&6
33875 else
33876 if test x$gcc_no_link = xyes; then
33877 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33878 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33879 { (exit 1); exit 1; }; }
33880 fi
33881 cat >conftest.$ac_ext <<_ACEOF
33882 /* confdefs.h. */
33883 _ACEOF
33884 cat confdefs.h >>conftest.$ac_ext
33885 cat >>conftest.$ac_ext <<_ACEOF
33886 /* end confdefs.h. */
33887 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33888 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33889 #define $ac_func innocuous_$ac_func
33890
33891 /* System header to define __stub macros and hopefully few prototypes,
33892 which can conflict with char $ac_func (); below.
33893 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33894 <limits.h> exists even on freestanding compilers. */
33895
33896 #ifdef __STDC__
33897 # include <limits.h>
33898 #else
33899 # include <assert.h>
33900 #endif
33901
33902 #undef $ac_func
33903
33904 /* Override any gcc2 internal prototype to avoid an error. */
33905 #ifdef __cplusplus
33906 extern "C"
33907 {
33908 #endif
33909 /* We use char because int might match the return type of a gcc2
33910 builtin and then its argument prototype would still apply. */
33911 char $ac_func ();
33912 /* The GNU C library defines this for functions which it implements
33913 to always fail with ENOSYS. Some functions are actually named
33914 something starting with __ and the normal name is an alias. */
33915 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33916 choke me
33917 #else
33918 char (*f) () = $ac_func;
33919 #endif
33920 #ifdef __cplusplus
33921 }
33922 #endif
33923
33924 int
33925 main ()
33926 {
33927 return f != $ac_func;
33928 ;
33929 return 0;
33930 }
33931 _ACEOF
33932 rm -f conftest.$ac_objext conftest$ac_exeext
33933 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33934 (eval $ac_link) 2>conftest.er1
33935 ac_status=$?
33936 grep -v '^ *+' conftest.er1 >conftest.err
33937 rm -f conftest.er1
33938 cat conftest.err >&5
33939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33940 (exit $ac_status); } &&
33941 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33943 (eval $ac_try) 2>&5
33944 ac_status=$?
33945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33946 (exit $ac_status); }; } &&
33947 { ac_try='test -s conftest$ac_exeext'
33948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33949 (eval $ac_try) 2>&5
33950 ac_status=$?
33951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33952 (exit $ac_status); }; }; then
33953 eval "$as_ac_var=yes"
33954 else
33955 echo "$as_me: failed program was:" >&5
33956 sed 's/^/| /' conftest.$ac_ext >&5
33957
33958 eval "$as_ac_var=no"
33959 fi
33960 rm -f conftest.err conftest.$ac_objext \
33961 conftest$ac_exeext conftest.$ac_ext
33962 fi
33963 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33964 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33965 if test `eval echo '${'$as_ac_var'}'` = yes; then
33966 cat >>confdefs.h <<_ACEOF
33967 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33968 _ACEOF
33969
33970 fi
33971 done
33972
33973 else
33974
33975 echo "$as_me:$LINENO: checking for _sincos declaration" >&5
33976 echo $ECHO_N "checking for _sincos declaration... $ECHO_C" >&6
33977 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
33978 if test "${glibcxx_cv_func__sincos_use+set}" = set; then
33979 echo $ECHO_N "(cached) $ECHO_C" >&6
33980 else
33981
33982
33983
33984 ac_ext=cc
33985 ac_cpp='$CXXCPP $CPPFLAGS'
33986 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33987 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33988 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33989
33990 cat >conftest.$ac_ext <<_ACEOF
33991 /* confdefs.h. */
33992 _ACEOF
33993 cat confdefs.h >>conftest.$ac_ext
33994 cat >>conftest.$ac_ext <<_ACEOF
33995 /* end confdefs.h. */
33996 #include <math.h>
33997 int
33998 main ()
33999 {
34000 _sincos(0, 0, 0);
34001 ;
34002 return 0;
34003 }
34004 _ACEOF
34005 rm -f conftest.$ac_objext
34006 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34007 (eval $ac_compile) 2>conftest.er1
34008 ac_status=$?
34009 grep -v '^ *+' conftest.er1 >conftest.err
34010 rm -f conftest.er1
34011 cat conftest.err >&5
34012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34013 (exit $ac_status); } &&
34014 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34016 (eval $ac_try) 2>&5
34017 ac_status=$?
34018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34019 (exit $ac_status); }; } &&
34020 { ac_try='test -s conftest.$ac_objext'
34021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34022 (eval $ac_try) 2>&5
34023 ac_status=$?
34024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34025 (exit $ac_status); }; }; then
34026 glibcxx_cv_func__sincos_use=yes
34027 else
34028 echo "$as_me: failed program was:" >&5
34029 sed 's/^/| /' conftest.$ac_ext >&5
34030
34031 glibcxx_cv_func__sincos_use=no
34032 fi
34033 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34034 ac_ext=c
34035 ac_cpp='$CPP $CPPFLAGS'
34036 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34037 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34038 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34039
34040
34041 fi
34042
34043 fi
34044 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincos_use" >&5
34045 echo "${ECHO_T}$glibcxx_cv_func__sincos_use" >&6
34046
34047 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
34048
34049 for ac_func in _sincos
34050 do
34051 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34052 echo "$as_me:$LINENO: checking for $ac_func" >&5
34053 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34054 if eval "test \"\${$as_ac_var+set}\" = set"; then
34055 echo $ECHO_N "(cached) $ECHO_C" >&6
34056 else
34057 if test x$gcc_no_link = xyes; then
34058 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34059 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34060 { (exit 1); exit 1; }; }
34061 fi
34062 cat >conftest.$ac_ext <<_ACEOF
34063 /* confdefs.h. */
34064 _ACEOF
34065 cat confdefs.h >>conftest.$ac_ext
34066 cat >>conftest.$ac_ext <<_ACEOF
34067 /* end confdefs.h. */
34068 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34069 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34070 #define $ac_func innocuous_$ac_func
34071
34072 /* System header to define __stub macros and hopefully few prototypes,
34073 which can conflict with char $ac_func (); below.
34074 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34075 <limits.h> exists even on freestanding compilers. */
34076
34077 #ifdef __STDC__
34078 # include <limits.h>
34079 #else
34080 # include <assert.h>
34081 #endif
34082
34083 #undef $ac_func
34084
34085 /* Override any gcc2 internal prototype to avoid an error. */
34086 #ifdef __cplusplus
34087 extern "C"
34088 {
34089 #endif
34090 /* We use char because int might match the return type of a gcc2
34091 builtin and then its argument prototype would still apply. */
34092 char $ac_func ();
34093 /* The GNU C library defines this for functions which it implements
34094 to always fail with ENOSYS. Some functions are actually named
34095 something starting with __ and the normal name is an alias. */
34096 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34097 choke me
34098 #else
34099 char (*f) () = $ac_func;
34100 #endif
34101 #ifdef __cplusplus
34102 }
34103 #endif
34104
34105 int
34106 main ()
34107 {
34108 return f != $ac_func;
34109 ;
34110 return 0;
34111 }
34112 _ACEOF
34113 rm -f conftest.$ac_objext conftest$ac_exeext
34114 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34115 (eval $ac_link) 2>conftest.er1
34116 ac_status=$?
34117 grep -v '^ *+' conftest.er1 >conftest.err
34118 rm -f conftest.er1
34119 cat conftest.err >&5
34120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34121 (exit $ac_status); } &&
34122 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34124 (eval $ac_try) 2>&5
34125 ac_status=$?
34126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34127 (exit $ac_status); }; } &&
34128 { ac_try='test -s conftest$ac_exeext'
34129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34130 (eval $ac_try) 2>&5
34131 ac_status=$?
34132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34133 (exit $ac_status); }; }; then
34134 eval "$as_ac_var=yes"
34135 else
34136 echo "$as_me: failed program was:" >&5
34137 sed 's/^/| /' conftest.$ac_ext >&5
34138
34139 eval "$as_ac_var=no"
34140 fi
34141 rm -f conftest.err conftest.$ac_objext \
34142 conftest$ac_exeext conftest.$ac_ext
34143 fi
34144 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34145 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34146 if test `eval echo '${'$as_ac_var'}'` = yes; then
34147 cat >>confdefs.h <<_ACEOF
34148 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34149 _ACEOF
34150
34151 fi
34152 done
34153
34154 fi
34155 fi
34156
34157
34158
34159
34160
34161
34162 echo "$as_me:$LINENO: checking for fpclass declaration" >&5
34163 echo $ECHO_N "checking for fpclass declaration... $ECHO_C" >&6
34164 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
34165 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then
34166 echo $ECHO_N "(cached) $ECHO_C" >&6
34167 else
34168
34169
34170
34171 ac_ext=cc
34172 ac_cpp='$CXXCPP $CPPFLAGS'
34173 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34174 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34175 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34176
34177 cat >conftest.$ac_ext <<_ACEOF
34178 /* confdefs.h. */
34179 _ACEOF
34180 cat confdefs.h >>conftest.$ac_ext
34181 cat >>conftest.$ac_ext <<_ACEOF
34182 /* end confdefs.h. */
34183 #include <math.h>
34184 #ifdef HAVE_IEEEFP_H
34185 #include <ieeefp.h>
34186 #endif
34187
34188 int
34189 main ()
34190 {
34191 fpclass(0);
34192 ;
34193 return 0;
34194 }
34195 _ACEOF
34196 rm -f conftest.$ac_objext
34197 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34198 (eval $ac_compile) 2>conftest.er1
34199 ac_status=$?
34200 grep -v '^ *+' conftest.er1 >conftest.err
34201 rm -f conftest.er1
34202 cat conftest.err >&5
34203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34204 (exit $ac_status); } &&
34205 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34207 (eval $ac_try) 2>&5
34208 ac_status=$?
34209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34210 (exit $ac_status); }; } &&
34211 { ac_try='test -s conftest.$ac_objext'
34212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34213 (eval $ac_try) 2>&5
34214 ac_status=$?
34215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34216 (exit $ac_status); }; }; then
34217 glibcxx_cv_func_fpclass_use=yes
34218 else
34219 echo "$as_me: failed program was:" >&5
34220 sed 's/^/| /' conftest.$ac_ext >&5
34221
34222 glibcxx_cv_func_fpclass_use=no
34223 fi
34224 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34225 ac_ext=c
34226 ac_cpp='$CPP $CPPFLAGS'
34227 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34228 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34229 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34230
34231
34232 fi
34233
34234 fi
34235 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fpclass_use" >&5
34236 echo "${ECHO_T}$glibcxx_cv_func_fpclass_use" >&6
34237
34238 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
34239
34240 for ac_func in fpclass
34241 do
34242 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34243 echo "$as_me:$LINENO: checking for $ac_func" >&5
34244 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34245 if eval "test \"\${$as_ac_var+set}\" = set"; then
34246 echo $ECHO_N "(cached) $ECHO_C" >&6
34247 else
34248 if test x$gcc_no_link = xyes; then
34249 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34250 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34251 { (exit 1); exit 1; }; }
34252 fi
34253 cat >conftest.$ac_ext <<_ACEOF
34254 /* confdefs.h. */
34255 _ACEOF
34256 cat confdefs.h >>conftest.$ac_ext
34257 cat >>conftest.$ac_ext <<_ACEOF
34258 /* end confdefs.h. */
34259 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34260 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34261 #define $ac_func innocuous_$ac_func
34262
34263 /* System header to define __stub macros and hopefully few prototypes,
34264 which can conflict with char $ac_func (); below.
34265 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34266 <limits.h> exists even on freestanding compilers. */
34267
34268 #ifdef __STDC__
34269 # include <limits.h>
34270 #else
34271 # include <assert.h>
34272 #endif
34273
34274 #undef $ac_func
34275
34276 /* Override any gcc2 internal prototype to avoid an error. */
34277 #ifdef __cplusplus
34278 extern "C"
34279 {
34280 #endif
34281 /* We use char because int might match the return type of a gcc2
34282 builtin and then its argument prototype would still apply. */
34283 char $ac_func ();
34284 /* The GNU C library defines this for functions which it implements
34285 to always fail with ENOSYS. Some functions are actually named
34286 something starting with __ and the normal name is an alias. */
34287 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34288 choke me
34289 #else
34290 char (*f) () = $ac_func;
34291 #endif
34292 #ifdef __cplusplus
34293 }
34294 #endif
34295
34296 int
34297 main ()
34298 {
34299 return f != $ac_func;
34300 ;
34301 return 0;
34302 }
34303 _ACEOF
34304 rm -f conftest.$ac_objext conftest$ac_exeext
34305 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34306 (eval $ac_link) 2>conftest.er1
34307 ac_status=$?
34308 grep -v '^ *+' conftest.er1 >conftest.err
34309 rm -f conftest.er1
34310 cat conftest.err >&5
34311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34312 (exit $ac_status); } &&
34313 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34315 (eval $ac_try) 2>&5
34316 ac_status=$?
34317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34318 (exit $ac_status); }; } &&
34319 { ac_try='test -s conftest$ac_exeext'
34320 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34321 (eval $ac_try) 2>&5
34322 ac_status=$?
34323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34324 (exit $ac_status); }; }; then
34325 eval "$as_ac_var=yes"
34326 else
34327 echo "$as_me: failed program was:" >&5
34328 sed 's/^/| /' conftest.$ac_ext >&5
34329
34330 eval "$as_ac_var=no"
34331 fi
34332 rm -f conftest.err conftest.$ac_objext \
34333 conftest$ac_exeext conftest.$ac_ext
34334 fi
34335 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34336 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34337 if test `eval echo '${'$as_ac_var'}'` = yes; then
34338 cat >>confdefs.h <<_ACEOF
34339 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34340 _ACEOF
34341
34342 fi
34343 done
34344
34345 else
34346
34347 echo "$as_me:$LINENO: checking for _fpclass declaration" >&5
34348 echo $ECHO_N "checking for _fpclass declaration... $ECHO_C" >&6
34349 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
34350 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then
34351 echo $ECHO_N "(cached) $ECHO_C" >&6
34352 else
34353
34354
34355
34356 ac_ext=cc
34357 ac_cpp='$CXXCPP $CPPFLAGS'
34358 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34359 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34360 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34361
34362 cat >conftest.$ac_ext <<_ACEOF
34363 /* confdefs.h. */
34364 _ACEOF
34365 cat confdefs.h >>conftest.$ac_ext
34366 cat >>conftest.$ac_ext <<_ACEOF
34367 /* end confdefs.h. */
34368 #include <math.h>
34369 #ifdef HAVE_IEEEFP_H
34370 #include <ieeefp.h>
34371 #endif
34372
34373 int
34374 main ()
34375 {
34376 _fpclass(0);
34377 ;
34378 return 0;
34379 }
34380 _ACEOF
34381 rm -f conftest.$ac_objext
34382 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34383 (eval $ac_compile) 2>conftest.er1
34384 ac_status=$?
34385 grep -v '^ *+' conftest.er1 >conftest.err
34386 rm -f conftest.er1
34387 cat conftest.err >&5
34388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34389 (exit $ac_status); } &&
34390 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34391 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34392 (eval $ac_try) 2>&5
34393 ac_status=$?
34394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34395 (exit $ac_status); }; } &&
34396 { ac_try='test -s conftest.$ac_objext'
34397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34398 (eval $ac_try) 2>&5
34399 ac_status=$?
34400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34401 (exit $ac_status); }; }; then
34402 glibcxx_cv_func__fpclass_use=yes
34403 else
34404 echo "$as_me: failed program was:" >&5
34405 sed 's/^/| /' conftest.$ac_ext >&5
34406
34407 glibcxx_cv_func__fpclass_use=no
34408 fi
34409 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34410 ac_ext=c
34411 ac_cpp='$CPP $CPPFLAGS'
34412 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34413 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34414 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34415
34416
34417 fi
34418
34419 fi
34420 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fpclass_use" >&5
34421 echo "${ECHO_T}$glibcxx_cv_func__fpclass_use" >&6
34422
34423 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
34424
34425 for ac_func in _fpclass
34426 do
34427 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34428 echo "$as_me:$LINENO: checking for $ac_func" >&5
34429 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34430 if eval "test \"\${$as_ac_var+set}\" = set"; then
34431 echo $ECHO_N "(cached) $ECHO_C" >&6
34432 else
34433 if test x$gcc_no_link = xyes; then
34434 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34435 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34436 { (exit 1); exit 1; }; }
34437 fi
34438 cat >conftest.$ac_ext <<_ACEOF
34439 /* confdefs.h. */
34440 _ACEOF
34441 cat confdefs.h >>conftest.$ac_ext
34442 cat >>conftest.$ac_ext <<_ACEOF
34443 /* end confdefs.h. */
34444 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34445 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34446 #define $ac_func innocuous_$ac_func
34447
34448 /* System header to define __stub macros and hopefully few prototypes,
34449 which can conflict with char $ac_func (); below.
34450 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34451 <limits.h> exists even on freestanding compilers. */
34452
34453 #ifdef __STDC__
34454 # include <limits.h>
34455 #else
34456 # include <assert.h>
34457 #endif
34458
34459 #undef $ac_func
34460
34461 /* Override any gcc2 internal prototype to avoid an error. */
34462 #ifdef __cplusplus
34463 extern "C"
34464 {
34465 #endif
34466 /* We use char because int might match the return type of a gcc2
34467 builtin and then its argument prototype would still apply. */
34468 char $ac_func ();
34469 /* The GNU C library defines this for functions which it implements
34470 to always fail with ENOSYS. Some functions are actually named
34471 something starting with __ and the normal name is an alias. */
34472 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34473 choke me
34474 #else
34475 char (*f) () = $ac_func;
34476 #endif
34477 #ifdef __cplusplus
34478 }
34479 #endif
34480
34481 int
34482 main ()
34483 {
34484 return f != $ac_func;
34485 ;
34486 return 0;
34487 }
34488 _ACEOF
34489 rm -f conftest.$ac_objext conftest$ac_exeext
34490 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34491 (eval $ac_link) 2>conftest.er1
34492 ac_status=$?
34493 grep -v '^ *+' conftest.er1 >conftest.err
34494 rm -f conftest.er1
34495 cat conftest.err >&5
34496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34497 (exit $ac_status); } &&
34498 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34499 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34500 (eval $ac_try) 2>&5
34501 ac_status=$?
34502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34503 (exit $ac_status); }; } &&
34504 { ac_try='test -s conftest$ac_exeext'
34505 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34506 (eval $ac_try) 2>&5
34507 ac_status=$?
34508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34509 (exit $ac_status); }; }; then
34510 eval "$as_ac_var=yes"
34511 else
34512 echo "$as_me: failed program was:" >&5
34513 sed 's/^/| /' conftest.$ac_ext >&5
34514
34515 eval "$as_ac_var=no"
34516 fi
34517 rm -f conftest.err conftest.$ac_objext \
34518 conftest$ac_exeext conftest.$ac_ext
34519 fi
34520 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34521 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34522 if test `eval echo '${'$as_ac_var'}'` = yes; then
34523 cat >>confdefs.h <<_ACEOF
34524 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34525 _ACEOF
34526
34527 fi
34528 done
34529
34530 fi
34531 fi
34532
34533
34534
34535
34536
34537
34538 echo "$as_me:$LINENO: checking for qfpclass declaration" >&5
34539 echo $ECHO_N "checking for qfpclass declaration... $ECHO_C" >&6
34540 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
34541 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then
34542 echo $ECHO_N "(cached) $ECHO_C" >&6
34543 else
34544
34545
34546
34547 ac_ext=cc
34548 ac_cpp='$CXXCPP $CPPFLAGS'
34549 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34550 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34551 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34552
34553 cat >conftest.$ac_ext <<_ACEOF
34554 /* confdefs.h. */
34555 _ACEOF
34556 cat confdefs.h >>conftest.$ac_ext
34557 cat >>conftest.$ac_ext <<_ACEOF
34558 /* end confdefs.h. */
34559 #include <math.h>
34560 #ifdef HAVE_IEEEFP_H
34561 #include <ieeefp.h>
34562 #endif
34563
34564 int
34565 main ()
34566 {
34567 qfpclass(0);
34568 ;
34569 return 0;
34570 }
34571 _ACEOF
34572 rm -f conftest.$ac_objext
34573 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34574 (eval $ac_compile) 2>conftest.er1
34575 ac_status=$?
34576 grep -v '^ *+' conftest.er1 >conftest.err
34577 rm -f conftest.er1
34578 cat conftest.err >&5
34579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34580 (exit $ac_status); } &&
34581 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34582 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34583 (eval $ac_try) 2>&5
34584 ac_status=$?
34585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34586 (exit $ac_status); }; } &&
34587 { ac_try='test -s conftest.$ac_objext'
34588 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34589 (eval $ac_try) 2>&5
34590 ac_status=$?
34591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34592 (exit $ac_status); }; }; then
34593 glibcxx_cv_func_qfpclass_use=yes
34594 else
34595 echo "$as_me: failed program was:" >&5
34596 sed 's/^/| /' conftest.$ac_ext >&5
34597
34598 glibcxx_cv_func_qfpclass_use=no
34599 fi
34600 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34601 ac_ext=c
34602 ac_cpp='$CPP $CPPFLAGS'
34603 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34604 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34605 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34606
34607
34608 fi
34609
34610 fi
34611 echo "$as_me:$LINENO: result: $glibcxx_cv_func_qfpclass_use" >&5
34612 echo "${ECHO_T}$glibcxx_cv_func_qfpclass_use" >&6
34613
34614 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
34615
34616 for ac_func in qfpclass
34617 do
34618 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34619 echo "$as_me:$LINENO: checking for $ac_func" >&5
34620 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34621 if eval "test \"\${$as_ac_var+set}\" = set"; then
34622 echo $ECHO_N "(cached) $ECHO_C" >&6
34623 else
34624 if test x$gcc_no_link = xyes; then
34625 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34626 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34627 { (exit 1); exit 1; }; }
34628 fi
34629 cat >conftest.$ac_ext <<_ACEOF
34630 /* confdefs.h. */
34631 _ACEOF
34632 cat confdefs.h >>conftest.$ac_ext
34633 cat >>conftest.$ac_ext <<_ACEOF
34634 /* end confdefs.h. */
34635 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34636 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34637 #define $ac_func innocuous_$ac_func
34638
34639 /* System header to define __stub macros and hopefully few prototypes,
34640 which can conflict with char $ac_func (); below.
34641 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34642 <limits.h> exists even on freestanding compilers. */
34643
34644 #ifdef __STDC__
34645 # include <limits.h>
34646 #else
34647 # include <assert.h>
34648 #endif
34649
34650 #undef $ac_func
34651
34652 /* Override any gcc2 internal prototype to avoid an error. */
34653 #ifdef __cplusplus
34654 extern "C"
34655 {
34656 #endif
34657 /* We use char because int might match the return type of a gcc2
34658 builtin and then its argument prototype would still apply. */
34659 char $ac_func ();
34660 /* The GNU C library defines this for functions which it implements
34661 to always fail with ENOSYS. Some functions are actually named
34662 something starting with __ and the normal name is an alias. */
34663 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34664 choke me
34665 #else
34666 char (*f) () = $ac_func;
34667 #endif
34668 #ifdef __cplusplus
34669 }
34670 #endif
34671
34672 int
34673 main ()
34674 {
34675 return f != $ac_func;
34676 ;
34677 return 0;
34678 }
34679 _ACEOF
34680 rm -f conftest.$ac_objext conftest$ac_exeext
34681 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34682 (eval $ac_link) 2>conftest.er1
34683 ac_status=$?
34684 grep -v '^ *+' conftest.er1 >conftest.err
34685 rm -f conftest.er1
34686 cat conftest.err >&5
34687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34688 (exit $ac_status); } &&
34689 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34690 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34691 (eval $ac_try) 2>&5
34692 ac_status=$?
34693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34694 (exit $ac_status); }; } &&
34695 { ac_try='test -s conftest$ac_exeext'
34696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34697 (eval $ac_try) 2>&5
34698 ac_status=$?
34699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34700 (exit $ac_status); }; }; then
34701 eval "$as_ac_var=yes"
34702 else
34703 echo "$as_me: failed program was:" >&5
34704 sed 's/^/| /' conftest.$ac_ext >&5
34705
34706 eval "$as_ac_var=no"
34707 fi
34708 rm -f conftest.err conftest.$ac_objext \
34709 conftest$ac_exeext conftest.$ac_ext
34710 fi
34711 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34712 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34713 if test `eval echo '${'$as_ac_var'}'` = yes; then
34714 cat >>confdefs.h <<_ACEOF
34715 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34716 _ACEOF
34717
34718 fi
34719 done
34720
34721 else
34722
34723 echo "$as_me:$LINENO: checking for _qfpclass declaration" >&5
34724 echo $ECHO_N "checking for _qfpclass declaration... $ECHO_C" >&6
34725 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
34726 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then
34727 echo $ECHO_N "(cached) $ECHO_C" >&6
34728 else
34729
34730
34731
34732 ac_ext=cc
34733 ac_cpp='$CXXCPP $CPPFLAGS'
34734 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34735 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34736 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34737
34738 cat >conftest.$ac_ext <<_ACEOF
34739 /* confdefs.h. */
34740 _ACEOF
34741 cat confdefs.h >>conftest.$ac_ext
34742 cat >>conftest.$ac_ext <<_ACEOF
34743 /* end confdefs.h. */
34744 #include <math.h>
34745 #ifdef HAVE_IEEEFP_H
34746 #include <ieeefp.h>
34747 #endif
34748
34749 int
34750 main ()
34751 {
34752 _qfpclass(0);
34753 ;
34754 return 0;
34755 }
34756 _ACEOF
34757 rm -f conftest.$ac_objext
34758 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34759 (eval $ac_compile) 2>conftest.er1
34760 ac_status=$?
34761 grep -v '^ *+' conftest.er1 >conftest.err
34762 rm -f conftest.er1
34763 cat conftest.err >&5
34764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34765 (exit $ac_status); } &&
34766 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34768 (eval $ac_try) 2>&5
34769 ac_status=$?
34770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34771 (exit $ac_status); }; } &&
34772 { ac_try='test -s conftest.$ac_objext'
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 glibcxx_cv_func__qfpclass_use=yes
34779 else
34780 echo "$as_me: failed program was:" >&5
34781 sed 's/^/| /' conftest.$ac_ext >&5
34782
34783 glibcxx_cv_func__qfpclass_use=no
34784 fi
34785 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34786 ac_ext=c
34787 ac_cpp='$CPP $CPPFLAGS'
34788 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34789 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34790 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34791
34792
34793 fi
34794
34795 fi
34796 echo "$as_me:$LINENO: result: $glibcxx_cv_func__qfpclass_use" >&5
34797 echo "${ECHO_T}$glibcxx_cv_func__qfpclass_use" >&6
34798
34799 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
34800
34801 for ac_func in _qfpclass
34802 do
34803 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34804 echo "$as_me:$LINENO: checking for $ac_func" >&5
34805 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34806 if eval "test \"\${$as_ac_var+set}\" = set"; then
34807 echo $ECHO_N "(cached) $ECHO_C" >&6
34808 else
34809 if test x$gcc_no_link = xyes; then
34810 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34811 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34812 { (exit 1); exit 1; }; }
34813 fi
34814 cat >conftest.$ac_ext <<_ACEOF
34815 /* confdefs.h. */
34816 _ACEOF
34817 cat confdefs.h >>conftest.$ac_ext
34818 cat >>conftest.$ac_ext <<_ACEOF
34819 /* end confdefs.h. */
34820 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34821 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34822 #define $ac_func innocuous_$ac_func
34823
34824 /* System header to define __stub macros and hopefully few prototypes,
34825 which can conflict with char $ac_func (); below.
34826 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34827 <limits.h> exists even on freestanding compilers. */
34828
34829 #ifdef __STDC__
34830 # include <limits.h>
34831 #else
34832 # include <assert.h>
34833 #endif
34834
34835 #undef $ac_func
34836
34837 /* Override any gcc2 internal prototype to avoid an error. */
34838 #ifdef __cplusplus
34839 extern "C"
34840 {
34841 #endif
34842 /* We use char because int might match the return type of a gcc2
34843 builtin and then its argument prototype would still apply. */
34844 char $ac_func ();
34845 /* The GNU C library defines this for functions which it implements
34846 to always fail with ENOSYS. Some functions are actually named
34847 something starting with __ and the normal name is an alias. */
34848 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34849 choke me
34850 #else
34851 char (*f) () = $ac_func;
34852 #endif
34853 #ifdef __cplusplus
34854 }
34855 #endif
34856
34857 int
34858 main ()
34859 {
34860 return f != $ac_func;
34861 ;
34862 return 0;
34863 }
34864 _ACEOF
34865 rm -f conftest.$ac_objext conftest$ac_exeext
34866 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34867 (eval $ac_link) 2>conftest.er1
34868 ac_status=$?
34869 grep -v '^ *+' conftest.er1 >conftest.err
34870 rm -f conftest.er1
34871 cat conftest.err >&5
34872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34873 (exit $ac_status); } &&
34874 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34876 (eval $ac_try) 2>&5
34877 ac_status=$?
34878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34879 (exit $ac_status); }; } &&
34880 { ac_try='test -s conftest$ac_exeext'
34881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34882 (eval $ac_try) 2>&5
34883 ac_status=$?
34884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34885 (exit $ac_status); }; }; then
34886 eval "$as_ac_var=yes"
34887 else
34888 echo "$as_me: failed program was:" >&5
34889 sed 's/^/| /' conftest.$ac_ext >&5
34890
34891 eval "$as_ac_var=no"
34892 fi
34893 rm -f conftest.err conftest.$ac_objext \
34894 conftest$ac_exeext conftest.$ac_ext
34895 fi
34896 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34897 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34898 if test `eval echo '${'$as_ac_var'}'` = yes; then
34899 cat >>confdefs.h <<_ACEOF
34900 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34901 _ACEOF
34902
34903 fi
34904 done
34905
34906 fi
34907 fi
34908
34909
34910
34911
34912
34913
34914 echo "$as_me:$LINENO: checking for hypot declaration" >&5
34915 echo $ECHO_N "checking for hypot declaration... $ECHO_C" >&6
34916 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
34917 if test "${glibcxx_cv_func_hypot_use+set}" = set; then
34918 echo $ECHO_N "(cached) $ECHO_C" >&6
34919 else
34920
34921
34922
34923 ac_ext=cc
34924 ac_cpp='$CXXCPP $CPPFLAGS'
34925 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34926 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34927 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34928
34929 cat >conftest.$ac_ext <<_ACEOF
34930 /* confdefs.h. */
34931 _ACEOF
34932 cat confdefs.h >>conftest.$ac_ext
34933 cat >>conftest.$ac_ext <<_ACEOF
34934 /* end confdefs.h. */
34935 #include <math.h>
34936 int
34937 main ()
34938 {
34939 hypot(0, 0);
34940 ;
34941 return 0;
34942 }
34943 _ACEOF
34944 rm -f conftest.$ac_objext
34945 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34946 (eval $ac_compile) 2>conftest.er1
34947 ac_status=$?
34948 grep -v '^ *+' conftest.er1 >conftest.err
34949 rm -f conftest.er1
34950 cat conftest.err >&5
34951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34952 (exit $ac_status); } &&
34953 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34954 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34955 (eval $ac_try) 2>&5
34956 ac_status=$?
34957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34958 (exit $ac_status); }; } &&
34959 { ac_try='test -s conftest.$ac_objext'
34960 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34961 (eval $ac_try) 2>&5
34962 ac_status=$?
34963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34964 (exit $ac_status); }; }; then
34965 glibcxx_cv_func_hypot_use=yes
34966 else
34967 echo "$as_me: failed program was:" >&5
34968 sed 's/^/| /' conftest.$ac_ext >&5
34969
34970 glibcxx_cv_func_hypot_use=no
34971 fi
34972 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34973 ac_ext=c
34974 ac_cpp='$CPP $CPPFLAGS'
34975 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34976 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34977 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34978
34979
34980 fi
34981
34982 fi
34983 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypot_use" >&5
34984 echo "${ECHO_T}$glibcxx_cv_func_hypot_use" >&6
34985
34986 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
34987
34988 for ac_func in hypot
34989 do
34990 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34991 echo "$as_me:$LINENO: checking for $ac_func" >&5
34992 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34993 if eval "test \"\${$as_ac_var+set}\" = set"; then
34994 echo $ECHO_N "(cached) $ECHO_C" >&6
34995 else
34996 if test x$gcc_no_link = xyes; then
34997 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34998 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34999 { (exit 1); exit 1; }; }
35000 fi
35001 cat >conftest.$ac_ext <<_ACEOF
35002 /* confdefs.h. */
35003 _ACEOF
35004 cat confdefs.h >>conftest.$ac_ext
35005 cat >>conftest.$ac_ext <<_ACEOF
35006 /* end confdefs.h. */
35007 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35008 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35009 #define $ac_func innocuous_$ac_func
35010
35011 /* System header to define __stub macros and hopefully few prototypes,
35012 which can conflict with char $ac_func (); below.
35013 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35014 <limits.h> exists even on freestanding compilers. */
35015
35016 #ifdef __STDC__
35017 # include <limits.h>
35018 #else
35019 # include <assert.h>
35020 #endif
35021
35022 #undef $ac_func
35023
35024 /* Override any gcc2 internal prototype to avoid an error. */
35025 #ifdef __cplusplus
35026 extern "C"
35027 {
35028 #endif
35029 /* We use char because int might match the return type of a gcc2
35030 builtin and then its argument prototype would still apply. */
35031 char $ac_func ();
35032 /* The GNU C library defines this for functions which it implements
35033 to always fail with ENOSYS. Some functions are actually named
35034 something starting with __ and the normal name is an alias. */
35035 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35036 choke me
35037 #else
35038 char (*f) () = $ac_func;
35039 #endif
35040 #ifdef __cplusplus
35041 }
35042 #endif
35043
35044 int
35045 main ()
35046 {
35047 return f != $ac_func;
35048 ;
35049 return 0;
35050 }
35051 _ACEOF
35052 rm -f conftest.$ac_objext conftest$ac_exeext
35053 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35054 (eval $ac_link) 2>conftest.er1
35055 ac_status=$?
35056 grep -v '^ *+' conftest.er1 >conftest.err
35057 rm -f conftest.er1
35058 cat conftest.err >&5
35059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35060 (exit $ac_status); } &&
35061 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35063 (eval $ac_try) 2>&5
35064 ac_status=$?
35065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35066 (exit $ac_status); }; } &&
35067 { ac_try='test -s conftest$ac_exeext'
35068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35069 (eval $ac_try) 2>&5
35070 ac_status=$?
35071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35072 (exit $ac_status); }; }; then
35073 eval "$as_ac_var=yes"
35074 else
35075 echo "$as_me: failed program was:" >&5
35076 sed 's/^/| /' conftest.$ac_ext >&5
35077
35078 eval "$as_ac_var=no"
35079 fi
35080 rm -f conftest.err conftest.$ac_objext \
35081 conftest$ac_exeext conftest.$ac_ext
35082 fi
35083 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35084 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35085 if test `eval echo '${'$as_ac_var'}'` = yes; then
35086 cat >>confdefs.h <<_ACEOF
35087 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35088 _ACEOF
35089
35090 fi
35091 done
35092
35093 else
35094
35095 echo "$as_me:$LINENO: checking for _hypot declaration" >&5
35096 echo $ECHO_N "checking for _hypot declaration... $ECHO_C" >&6
35097 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
35098 if test "${glibcxx_cv_func__hypot_use+set}" = set; then
35099 echo $ECHO_N "(cached) $ECHO_C" >&6
35100 else
35101
35102
35103
35104 ac_ext=cc
35105 ac_cpp='$CXXCPP $CPPFLAGS'
35106 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35107 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35108 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35109
35110 cat >conftest.$ac_ext <<_ACEOF
35111 /* confdefs.h. */
35112 _ACEOF
35113 cat confdefs.h >>conftest.$ac_ext
35114 cat >>conftest.$ac_ext <<_ACEOF
35115 /* end confdefs.h. */
35116 #include <math.h>
35117 int
35118 main ()
35119 {
35120 _hypot(0, 0);
35121 ;
35122 return 0;
35123 }
35124 _ACEOF
35125 rm -f conftest.$ac_objext
35126 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35127 (eval $ac_compile) 2>conftest.er1
35128 ac_status=$?
35129 grep -v '^ *+' conftest.er1 >conftest.err
35130 rm -f conftest.er1
35131 cat conftest.err >&5
35132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35133 (exit $ac_status); } &&
35134 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35136 (eval $ac_try) 2>&5
35137 ac_status=$?
35138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35139 (exit $ac_status); }; } &&
35140 { ac_try='test -s conftest.$ac_objext'
35141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35142 (eval $ac_try) 2>&5
35143 ac_status=$?
35144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35145 (exit $ac_status); }; }; then
35146 glibcxx_cv_func__hypot_use=yes
35147 else
35148 echo "$as_me: failed program was:" >&5
35149 sed 's/^/| /' conftest.$ac_ext >&5
35150
35151 glibcxx_cv_func__hypot_use=no
35152 fi
35153 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35154 ac_ext=c
35155 ac_cpp='$CPP $CPPFLAGS'
35156 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35157 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35158 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35159
35160
35161 fi
35162
35163 fi
35164 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypot_use" >&5
35165 echo "${ECHO_T}$glibcxx_cv_func__hypot_use" >&6
35166
35167 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
35168
35169 for ac_func in _hypot
35170 do
35171 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35172 echo "$as_me:$LINENO: checking for $ac_func" >&5
35173 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35174 if eval "test \"\${$as_ac_var+set}\" = set"; then
35175 echo $ECHO_N "(cached) $ECHO_C" >&6
35176 else
35177 if test x$gcc_no_link = xyes; then
35178 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35179 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35180 { (exit 1); exit 1; }; }
35181 fi
35182 cat >conftest.$ac_ext <<_ACEOF
35183 /* confdefs.h. */
35184 _ACEOF
35185 cat confdefs.h >>conftest.$ac_ext
35186 cat >>conftest.$ac_ext <<_ACEOF
35187 /* end confdefs.h. */
35188 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35189 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35190 #define $ac_func innocuous_$ac_func
35191
35192 /* System header to define __stub macros and hopefully few prototypes,
35193 which can conflict with char $ac_func (); below.
35194 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35195 <limits.h> exists even on freestanding compilers. */
35196
35197 #ifdef __STDC__
35198 # include <limits.h>
35199 #else
35200 # include <assert.h>
35201 #endif
35202
35203 #undef $ac_func
35204
35205 /* Override any gcc2 internal prototype to avoid an error. */
35206 #ifdef __cplusplus
35207 extern "C"
35208 {
35209 #endif
35210 /* We use char because int might match the return type of a gcc2
35211 builtin and then its argument prototype would still apply. */
35212 char $ac_func ();
35213 /* The GNU C library defines this for functions which it implements
35214 to always fail with ENOSYS. Some functions are actually named
35215 something starting with __ and the normal name is an alias. */
35216 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35217 choke me
35218 #else
35219 char (*f) () = $ac_func;
35220 #endif
35221 #ifdef __cplusplus
35222 }
35223 #endif
35224
35225 int
35226 main ()
35227 {
35228 return f != $ac_func;
35229 ;
35230 return 0;
35231 }
35232 _ACEOF
35233 rm -f conftest.$ac_objext conftest$ac_exeext
35234 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35235 (eval $ac_link) 2>conftest.er1
35236 ac_status=$?
35237 grep -v '^ *+' conftest.er1 >conftest.err
35238 rm -f conftest.er1
35239 cat conftest.err >&5
35240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35241 (exit $ac_status); } &&
35242 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35244 (eval $ac_try) 2>&5
35245 ac_status=$?
35246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35247 (exit $ac_status); }; } &&
35248 { ac_try='test -s conftest$ac_exeext'
35249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35250 (eval $ac_try) 2>&5
35251 ac_status=$?
35252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35253 (exit $ac_status); }; }; then
35254 eval "$as_ac_var=yes"
35255 else
35256 echo "$as_me: failed program was:" >&5
35257 sed 's/^/| /' conftest.$ac_ext >&5
35258
35259 eval "$as_ac_var=no"
35260 fi
35261 rm -f conftest.err conftest.$ac_objext \
35262 conftest$ac_exeext conftest.$ac_ext
35263 fi
35264 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35265 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35266 if test `eval echo '${'$as_ac_var'}'` = yes; then
35267 cat >>confdefs.h <<_ACEOF
35268 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35269 _ACEOF
35270
35271 fi
35272 done
35273
35274 fi
35275 fi
35276
35277
35278
35279
35280
35281
35282 echo "$as_me:$LINENO: checking for float trig functions" >&5
35283 echo $ECHO_N "checking for float trig functions... $ECHO_C" >&6
35284 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then
35285 echo $ECHO_N "(cached) $ECHO_C" >&6
35286 else
35287
35288
35289
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
35295
35296 cat >conftest.$ac_ext <<_ACEOF
35297 /* confdefs.h. */
35298 _ACEOF
35299 cat confdefs.h >>conftest.$ac_ext
35300 cat >>conftest.$ac_ext <<_ACEOF
35301 /* end confdefs.h. */
35302 #include <math.h>
35303 int
35304 main ()
35305 {
35306 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
35307 ;
35308 return 0;
35309 }
35310 _ACEOF
35311 rm -f conftest.$ac_objext
35312 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35313 (eval $ac_compile) 2>conftest.er1
35314 ac_status=$?
35315 grep -v '^ *+' conftest.er1 >conftest.err
35316 rm -f conftest.er1
35317 cat conftest.err >&5
35318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35319 (exit $ac_status); } &&
35320 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35322 (eval $ac_try) 2>&5
35323 ac_status=$?
35324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35325 (exit $ac_status); }; } &&
35326 { ac_try='test -s conftest.$ac_objext'
35327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35328 (eval $ac_try) 2>&5
35329 ac_status=$?
35330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35331 (exit $ac_status); }; }; then
35332 glibcxx_cv_func_float_trig_use=yes
35333 else
35334 echo "$as_me: failed program was:" >&5
35335 sed 's/^/| /' conftest.$ac_ext >&5
35336
35337 glibcxx_cv_func_float_trig_use=no
35338 fi
35339 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35340 ac_ext=c
35341 ac_cpp='$CPP $CPPFLAGS'
35342 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35343 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35344 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35345
35346 fi
35347
35348 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_trig_use" >&5
35349 echo "${ECHO_T}$glibcxx_cv_func_float_trig_use" >&6
35350 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
35351
35352
35353
35354
35355
35356
35357
35358
35359
35360 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
35361 do
35362 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35363 echo "$as_me:$LINENO: checking for $ac_func" >&5
35364 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35365 if eval "test \"\${$as_ac_var+set}\" = set"; then
35366 echo $ECHO_N "(cached) $ECHO_C" >&6
35367 else
35368 if test x$gcc_no_link = xyes; then
35369 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35370 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35371 { (exit 1); exit 1; }; }
35372 fi
35373 cat >conftest.$ac_ext <<_ACEOF
35374 /* confdefs.h. */
35375 _ACEOF
35376 cat confdefs.h >>conftest.$ac_ext
35377 cat >>conftest.$ac_ext <<_ACEOF
35378 /* end confdefs.h. */
35379 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35380 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35381 #define $ac_func innocuous_$ac_func
35382
35383 /* System header to define __stub macros and hopefully few prototypes,
35384 which can conflict with char $ac_func (); below.
35385 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35386 <limits.h> exists even on freestanding compilers. */
35387
35388 #ifdef __STDC__
35389 # include <limits.h>
35390 #else
35391 # include <assert.h>
35392 #endif
35393
35394 #undef $ac_func
35395
35396 /* Override any gcc2 internal prototype to avoid an error. */
35397 #ifdef __cplusplus
35398 extern "C"
35399 {
35400 #endif
35401 /* We use char because int might match the return type of a gcc2
35402 builtin and then its argument prototype would still apply. */
35403 char $ac_func ();
35404 /* The GNU C library defines this for functions which it implements
35405 to always fail with ENOSYS. Some functions are actually named
35406 something starting with __ and the normal name is an alias. */
35407 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35408 choke me
35409 #else
35410 char (*f) () = $ac_func;
35411 #endif
35412 #ifdef __cplusplus
35413 }
35414 #endif
35415
35416 int
35417 main ()
35418 {
35419 return f != $ac_func;
35420 ;
35421 return 0;
35422 }
35423 _ACEOF
35424 rm -f conftest.$ac_objext conftest$ac_exeext
35425 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35426 (eval $ac_link) 2>conftest.er1
35427 ac_status=$?
35428 grep -v '^ *+' conftest.er1 >conftest.err
35429 rm -f conftest.er1
35430 cat conftest.err >&5
35431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35432 (exit $ac_status); } &&
35433 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35435 (eval $ac_try) 2>&5
35436 ac_status=$?
35437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35438 (exit $ac_status); }; } &&
35439 { ac_try='test -s conftest$ac_exeext'
35440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35441 (eval $ac_try) 2>&5
35442 ac_status=$?
35443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35444 (exit $ac_status); }; }; then
35445 eval "$as_ac_var=yes"
35446 else
35447 echo "$as_me: failed program was:" >&5
35448 sed 's/^/| /' conftest.$ac_ext >&5
35449
35450 eval "$as_ac_var=no"
35451 fi
35452 rm -f conftest.err conftest.$ac_objext \
35453 conftest$ac_exeext conftest.$ac_ext
35454 fi
35455 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35456 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35457 if test `eval echo '${'$as_ac_var'}'` = yes; then
35458 cat >>confdefs.h <<_ACEOF
35459 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35460 _ACEOF
35461
35462 fi
35463 done
35464
35465 else
35466 echo "$as_me:$LINENO: checking for _float trig functions" >&5
35467 echo $ECHO_N "checking for _float trig functions... $ECHO_C" >&6
35468 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then
35469 echo $ECHO_N "(cached) $ECHO_C" >&6
35470 else
35471
35472
35473
35474 ac_ext=cc
35475 ac_cpp='$CXXCPP $CPPFLAGS'
35476 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35477 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35478 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35479
35480 cat >conftest.$ac_ext <<_ACEOF
35481 /* confdefs.h. */
35482 _ACEOF
35483 cat confdefs.h >>conftest.$ac_ext
35484 cat >>conftest.$ac_ext <<_ACEOF
35485 /* end confdefs.h. */
35486 #include <math.h>
35487 int
35488 main ()
35489 {
35490 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
35491 ;
35492 return 0;
35493 }
35494 _ACEOF
35495 rm -f conftest.$ac_objext
35496 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35497 (eval $ac_compile) 2>conftest.er1
35498 ac_status=$?
35499 grep -v '^ *+' conftest.er1 >conftest.err
35500 rm -f conftest.er1
35501 cat conftest.err >&5
35502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35503 (exit $ac_status); } &&
35504 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35505 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35506 (eval $ac_try) 2>&5
35507 ac_status=$?
35508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35509 (exit $ac_status); }; } &&
35510 { ac_try='test -s conftest.$ac_objext'
35511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35512 (eval $ac_try) 2>&5
35513 ac_status=$?
35514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35515 (exit $ac_status); }; }; then
35516 glibcxx_cv_func__float_trig_use=yes
35517 else
35518 echo "$as_me: failed program was:" >&5
35519 sed 's/^/| /' conftest.$ac_ext >&5
35520
35521 glibcxx_cv_func__float_trig_use=no
35522 fi
35523 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35524 ac_ext=c
35525 ac_cpp='$CPP $CPPFLAGS'
35526 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35527 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35528 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35529
35530 fi
35531
35532 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_trig_use" >&5
35533 echo "${ECHO_T}$glibcxx_cv_func__float_trig_use" >&6
35534 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
35535
35536
35537
35538
35539
35540
35541
35542
35543
35544 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
35545 do
35546 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35547 echo "$as_me:$LINENO: checking for $ac_func" >&5
35548 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35549 if eval "test \"\${$as_ac_var+set}\" = set"; then
35550 echo $ECHO_N "(cached) $ECHO_C" >&6
35551 else
35552 if test x$gcc_no_link = xyes; then
35553 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35554 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35555 { (exit 1); exit 1; }; }
35556 fi
35557 cat >conftest.$ac_ext <<_ACEOF
35558 /* confdefs.h. */
35559 _ACEOF
35560 cat confdefs.h >>conftest.$ac_ext
35561 cat >>conftest.$ac_ext <<_ACEOF
35562 /* end confdefs.h. */
35563 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35564 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35565 #define $ac_func innocuous_$ac_func
35566
35567 /* System header to define __stub macros and hopefully few prototypes,
35568 which can conflict with char $ac_func (); below.
35569 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35570 <limits.h> exists even on freestanding compilers. */
35571
35572 #ifdef __STDC__
35573 # include <limits.h>
35574 #else
35575 # include <assert.h>
35576 #endif
35577
35578 #undef $ac_func
35579
35580 /* Override any gcc2 internal prototype to avoid an error. */
35581 #ifdef __cplusplus
35582 extern "C"
35583 {
35584 #endif
35585 /* We use char because int might match the return type of a gcc2
35586 builtin and then its argument prototype would still apply. */
35587 char $ac_func ();
35588 /* The GNU C library defines this for functions which it implements
35589 to always fail with ENOSYS. Some functions are actually named
35590 something starting with __ and the normal name is an alias. */
35591 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35592 choke me
35593 #else
35594 char (*f) () = $ac_func;
35595 #endif
35596 #ifdef __cplusplus
35597 }
35598 #endif
35599
35600 int
35601 main ()
35602 {
35603 return f != $ac_func;
35604 ;
35605 return 0;
35606 }
35607 _ACEOF
35608 rm -f conftest.$ac_objext conftest$ac_exeext
35609 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35610 (eval $ac_link) 2>conftest.er1
35611 ac_status=$?
35612 grep -v '^ *+' conftest.er1 >conftest.err
35613 rm -f conftest.er1
35614 cat conftest.err >&5
35615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35616 (exit $ac_status); } &&
35617 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35619 (eval $ac_try) 2>&5
35620 ac_status=$?
35621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35622 (exit $ac_status); }; } &&
35623 { ac_try='test -s conftest$ac_exeext'
35624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35625 (eval $ac_try) 2>&5
35626 ac_status=$?
35627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35628 (exit $ac_status); }; }; then
35629 eval "$as_ac_var=yes"
35630 else
35631 echo "$as_me: failed program was:" >&5
35632 sed 's/^/| /' conftest.$ac_ext >&5
35633
35634 eval "$as_ac_var=no"
35635 fi
35636 rm -f conftest.err conftest.$ac_objext \
35637 conftest$ac_exeext conftest.$ac_ext
35638 fi
35639 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35640 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35641 if test `eval echo '${'$as_ac_var'}'` = yes; then
35642 cat >>confdefs.h <<_ACEOF
35643 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35644 _ACEOF
35645
35646 fi
35647 done
35648
35649 fi
35650 fi
35651
35652
35653
35654
35655
35656
35657
35658
35659
35660
35661
35662
35663
35664
35665 echo "$as_me:$LINENO: checking for float round functions" >&5
35666 echo $ECHO_N "checking for float round functions... $ECHO_C" >&6
35667 if test "${glibcxx_cv_func_float_round_use+set}" = set; then
35668 echo $ECHO_N "(cached) $ECHO_C" >&6
35669 else
35670
35671
35672
35673 ac_ext=cc
35674 ac_cpp='$CXXCPP $CPPFLAGS'
35675 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35676 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35677 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35678
35679 cat >conftest.$ac_ext <<_ACEOF
35680 /* confdefs.h. */
35681 _ACEOF
35682 cat confdefs.h >>conftest.$ac_ext
35683 cat >>conftest.$ac_ext <<_ACEOF
35684 /* end confdefs.h. */
35685 #include <math.h>
35686 int
35687 main ()
35688 {
35689 ceilf (0); floorf (0);
35690 ;
35691 return 0;
35692 }
35693 _ACEOF
35694 rm -f conftest.$ac_objext
35695 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35696 (eval $ac_compile) 2>conftest.er1
35697 ac_status=$?
35698 grep -v '^ *+' conftest.er1 >conftest.err
35699 rm -f conftest.er1
35700 cat conftest.err >&5
35701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35702 (exit $ac_status); } &&
35703 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35705 (eval $ac_try) 2>&5
35706 ac_status=$?
35707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35708 (exit $ac_status); }; } &&
35709 { ac_try='test -s conftest.$ac_objext'
35710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35711 (eval $ac_try) 2>&5
35712 ac_status=$?
35713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35714 (exit $ac_status); }; }; then
35715 glibcxx_cv_func_float_round_use=yes
35716 else
35717 echo "$as_me: failed program was:" >&5
35718 sed 's/^/| /' conftest.$ac_ext >&5
35719
35720 glibcxx_cv_func_float_round_use=no
35721 fi
35722 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35723 ac_ext=c
35724 ac_cpp='$CPP $CPPFLAGS'
35725 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35726 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35727 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35728
35729 fi
35730
35731 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_round_use" >&5
35732 echo "${ECHO_T}$glibcxx_cv_func_float_round_use" >&6
35733 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
35734
35735
35736 for ac_func in ceilf floorf
35737 do
35738 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35739 echo "$as_me:$LINENO: checking for $ac_func" >&5
35740 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35741 if eval "test \"\${$as_ac_var+set}\" = set"; then
35742 echo $ECHO_N "(cached) $ECHO_C" >&6
35743 else
35744 if test x$gcc_no_link = xyes; then
35745 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35746 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35747 { (exit 1); exit 1; }; }
35748 fi
35749 cat >conftest.$ac_ext <<_ACEOF
35750 /* confdefs.h. */
35751 _ACEOF
35752 cat confdefs.h >>conftest.$ac_ext
35753 cat >>conftest.$ac_ext <<_ACEOF
35754 /* end confdefs.h. */
35755 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35756 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35757 #define $ac_func innocuous_$ac_func
35758
35759 /* System header to define __stub macros and hopefully few prototypes,
35760 which can conflict with char $ac_func (); below.
35761 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35762 <limits.h> exists even on freestanding compilers. */
35763
35764 #ifdef __STDC__
35765 # include <limits.h>
35766 #else
35767 # include <assert.h>
35768 #endif
35769
35770 #undef $ac_func
35771
35772 /* Override any gcc2 internal prototype to avoid an error. */
35773 #ifdef __cplusplus
35774 extern "C"
35775 {
35776 #endif
35777 /* We use char because int might match the return type of a gcc2
35778 builtin and then its argument prototype would still apply. */
35779 char $ac_func ();
35780 /* The GNU C library defines this for functions which it implements
35781 to always fail with ENOSYS. Some functions are actually named
35782 something starting with __ and the normal name is an alias. */
35783 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35784 choke me
35785 #else
35786 char (*f) () = $ac_func;
35787 #endif
35788 #ifdef __cplusplus
35789 }
35790 #endif
35791
35792 int
35793 main ()
35794 {
35795 return f != $ac_func;
35796 ;
35797 return 0;
35798 }
35799 _ACEOF
35800 rm -f conftest.$ac_objext conftest$ac_exeext
35801 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35802 (eval $ac_link) 2>conftest.er1
35803 ac_status=$?
35804 grep -v '^ *+' conftest.er1 >conftest.err
35805 rm -f conftest.er1
35806 cat conftest.err >&5
35807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35808 (exit $ac_status); } &&
35809 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35811 (eval $ac_try) 2>&5
35812 ac_status=$?
35813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35814 (exit $ac_status); }; } &&
35815 { ac_try='test -s conftest$ac_exeext'
35816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35817 (eval $ac_try) 2>&5
35818 ac_status=$?
35819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35820 (exit $ac_status); }; }; then
35821 eval "$as_ac_var=yes"
35822 else
35823 echo "$as_me: failed program was:" >&5
35824 sed 's/^/| /' conftest.$ac_ext >&5
35825
35826 eval "$as_ac_var=no"
35827 fi
35828 rm -f conftest.err conftest.$ac_objext \
35829 conftest$ac_exeext conftest.$ac_ext
35830 fi
35831 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35832 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35833 if test `eval echo '${'$as_ac_var'}'` = yes; then
35834 cat >>confdefs.h <<_ACEOF
35835 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35836 _ACEOF
35837
35838 fi
35839 done
35840
35841 else
35842 echo "$as_me:$LINENO: checking for _float round functions" >&5
35843 echo $ECHO_N "checking for _float round functions... $ECHO_C" >&6
35844 if test "${glibcxx_cv_func__float_round_use+set}" = set; then
35845 echo $ECHO_N "(cached) $ECHO_C" >&6
35846 else
35847
35848
35849
35850 ac_ext=cc
35851 ac_cpp='$CXXCPP $CPPFLAGS'
35852 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35853 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35854 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35855
35856 cat >conftest.$ac_ext <<_ACEOF
35857 /* confdefs.h. */
35858 _ACEOF
35859 cat confdefs.h >>conftest.$ac_ext
35860 cat >>conftest.$ac_ext <<_ACEOF
35861 /* end confdefs.h. */
35862 #include <math.h>
35863 int
35864 main ()
35865 {
35866 _ceilf (0); _floorf (0);
35867 ;
35868 return 0;
35869 }
35870 _ACEOF
35871 rm -f conftest.$ac_objext
35872 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35873 (eval $ac_compile) 2>conftest.er1
35874 ac_status=$?
35875 grep -v '^ *+' conftest.er1 >conftest.err
35876 rm -f conftest.er1
35877 cat conftest.err >&5
35878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35879 (exit $ac_status); } &&
35880 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35882 (eval $ac_try) 2>&5
35883 ac_status=$?
35884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35885 (exit $ac_status); }; } &&
35886 { ac_try='test -s conftest.$ac_objext'
35887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35888 (eval $ac_try) 2>&5
35889 ac_status=$?
35890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35891 (exit $ac_status); }; }; then
35892 glibcxx_cv_func__float_round_use=yes
35893 else
35894 echo "$as_me: failed program was:" >&5
35895 sed 's/^/| /' conftest.$ac_ext >&5
35896
35897 glibcxx_cv_func__float_round_use=no
35898 fi
35899 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35900 ac_ext=c
35901 ac_cpp='$CPP $CPPFLAGS'
35902 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35903 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35904 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35905
35906 fi
35907
35908 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_round_use" >&5
35909 echo "${ECHO_T}$glibcxx_cv_func__float_round_use" >&6
35910 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
35911
35912
35913 for ac_func in _ceilf _floorf
35914 do
35915 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35916 echo "$as_me:$LINENO: checking for $ac_func" >&5
35917 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35918 if eval "test \"\${$as_ac_var+set}\" = set"; then
35919 echo $ECHO_N "(cached) $ECHO_C" >&6
35920 else
35921 if test x$gcc_no_link = xyes; then
35922 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35923 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35924 { (exit 1); exit 1; }; }
35925 fi
35926 cat >conftest.$ac_ext <<_ACEOF
35927 /* confdefs.h. */
35928 _ACEOF
35929 cat confdefs.h >>conftest.$ac_ext
35930 cat >>conftest.$ac_ext <<_ACEOF
35931 /* end confdefs.h. */
35932 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35933 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35934 #define $ac_func innocuous_$ac_func
35935
35936 /* System header to define __stub macros and hopefully few prototypes,
35937 which can conflict with char $ac_func (); below.
35938 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35939 <limits.h> exists even on freestanding compilers. */
35940
35941 #ifdef __STDC__
35942 # include <limits.h>
35943 #else
35944 # include <assert.h>
35945 #endif
35946
35947 #undef $ac_func
35948
35949 /* Override any gcc2 internal prototype to avoid an error. */
35950 #ifdef __cplusplus
35951 extern "C"
35952 {
35953 #endif
35954 /* We use char because int might match the return type of a gcc2
35955 builtin and then its argument prototype would still apply. */
35956 char $ac_func ();
35957 /* The GNU C library defines this for functions which it implements
35958 to always fail with ENOSYS. Some functions are actually named
35959 something starting with __ and the normal name is an alias. */
35960 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35961 choke me
35962 #else
35963 char (*f) () = $ac_func;
35964 #endif
35965 #ifdef __cplusplus
35966 }
35967 #endif
35968
35969 int
35970 main ()
35971 {
35972 return f != $ac_func;
35973 ;
35974 return 0;
35975 }
35976 _ACEOF
35977 rm -f conftest.$ac_objext conftest$ac_exeext
35978 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35979 (eval $ac_link) 2>conftest.er1
35980 ac_status=$?
35981 grep -v '^ *+' conftest.er1 >conftest.err
35982 rm -f conftest.er1
35983 cat conftest.err >&5
35984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35985 (exit $ac_status); } &&
35986 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35988 (eval $ac_try) 2>&5
35989 ac_status=$?
35990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35991 (exit $ac_status); }; } &&
35992 { ac_try='test -s conftest$ac_exeext'
35993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35994 (eval $ac_try) 2>&5
35995 ac_status=$?
35996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35997 (exit $ac_status); }; }; then
35998 eval "$as_ac_var=yes"
35999 else
36000 echo "$as_me: failed program was:" >&5
36001 sed 's/^/| /' conftest.$ac_ext >&5
36002
36003 eval "$as_ac_var=no"
36004 fi
36005 rm -f conftest.err conftest.$ac_objext \
36006 conftest$ac_exeext conftest.$ac_ext
36007 fi
36008 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36009 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36010 if test `eval echo '${'$as_ac_var'}'` = yes; then
36011 cat >>confdefs.h <<_ACEOF
36012 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36013 _ACEOF
36014
36015 fi
36016 done
36017
36018 fi
36019 fi
36020
36021
36022
36023
36024
36025
36026
36027
36028 echo "$as_me:$LINENO: checking for expf declaration" >&5
36029 echo $ECHO_N "checking for expf declaration... $ECHO_C" >&6
36030 if test x${glibcxx_cv_func_expf_use+set} != xset; then
36031 if test "${glibcxx_cv_func_expf_use+set}" = set; then
36032 echo $ECHO_N "(cached) $ECHO_C" >&6
36033 else
36034
36035
36036
36037 ac_ext=cc
36038 ac_cpp='$CXXCPP $CPPFLAGS'
36039 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36040 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36041 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36042
36043 cat >conftest.$ac_ext <<_ACEOF
36044 /* confdefs.h. */
36045 _ACEOF
36046 cat confdefs.h >>conftest.$ac_ext
36047 cat >>conftest.$ac_ext <<_ACEOF
36048 /* end confdefs.h. */
36049 #include <math.h>
36050 #ifdef HAVE_IEEEFP_H
36051 #include <ieeefp.h>
36052 #endif
36053
36054 int
36055 main ()
36056 {
36057 expf(0);
36058 ;
36059 return 0;
36060 }
36061 _ACEOF
36062 rm -f conftest.$ac_objext
36063 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36064 (eval $ac_compile) 2>conftest.er1
36065 ac_status=$?
36066 grep -v '^ *+' conftest.er1 >conftest.err
36067 rm -f conftest.er1
36068 cat conftest.err >&5
36069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36070 (exit $ac_status); } &&
36071 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36073 (eval $ac_try) 2>&5
36074 ac_status=$?
36075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36076 (exit $ac_status); }; } &&
36077 { ac_try='test -s conftest.$ac_objext'
36078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36079 (eval $ac_try) 2>&5
36080 ac_status=$?
36081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36082 (exit $ac_status); }; }; then
36083 glibcxx_cv_func_expf_use=yes
36084 else
36085 echo "$as_me: failed program was:" >&5
36086 sed 's/^/| /' conftest.$ac_ext >&5
36087
36088 glibcxx_cv_func_expf_use=no
36089 fi
36090 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36091 ac_ext=c
36092 ac_cpp='$CPP $CPPFLAGS'
36093 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36094 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36095 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36096
36097
36098 fi
36099
36100 fi
36101 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expf_use" >&5
36102 echo "${ECHO_T}$glibcxx_cv_func_expf_use" >&6
36103
36104 if test x$glibcxx_cv_func_expf_use = x"yes"; then
36105
36106 for ac_func in expf
36107 do
36108 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36109 echo "$as_me:$LINENO: checking for $ac_func" >&5
36110 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36111 if eval "test \"\${$as_ac_var+set}\" = set"; then
36112 echo $ECHO_N "(cached) $ECHO_C" >&6
36113 else
36114 if test x$gcc_no_link = xyes; then
36115 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36116 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36117 { (exit 1); exit 1; }; }
36118 fi
36119 cat >conftest.$ac_ext <<_ACEOF
36120 /* confdefs.h. */
36121 _ACEOF
36122 cat confdefs.h >>conftest.$ac_ext
36123 cat >>conftest.$ac_ext <<_ACEOF
36124 /* end confdefs.h. */
36125 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36126 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36127 #define $ac_func innocuous_$ac_func
36128
36129 /* System header to define __stub macros and hopefully few prototypes,
36130 which can conflict with char $ac_func (); below.
36131 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36132 <limits.h> exists even on freestanding compilers. */
36133
36134 #ifdef __STDC__
36135 # include <limits.h>
36136 #else
36137 # include <assert.h>
36138 #endif
36139
36140 #undef $ac_func
36141
36142 /* Override any gcc2 internal prototype to avoid an error. */
36143 #ifdef __cplusplus
36144 extern "C"
36145 {
36146 #endif
36147 /* We use char because int might match the return type of a gcc2
36148 builtin and then its argument prototype would still apply. */
36149 char $ac_func ();
36150 /* The GNU C library defines this for functions which it implements
36151 to always fail with ENOSYS. Some functions are actually named
36152 something starting with __ and the normal name is an alias. */
36153 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36154 choke me
36155 #else
36156 char (*f) () = $ac_func;
36157 #endif
36158 #ifdef __cplusplus
36159 }
36160 #endif
36161
36162 int
36163 main ()
36164 {
36165 return f != $ac_func;
36166 ;
36167 return 0;
36168 }
36169 _ACEOF
36170 rm -f conftest.$ac_objext conftest$ac_exeext
36171 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36172 (eval $ac_link) 2>conftest.er1
36173 ac_status=$?
36174 grep -v '^ *+' conftest.er1 >conftest.err
36175 rm -f conftest.er1
36176 cat conftest.err >&5
36177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36178 (exit $ac_status); } &&
36179 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36181 (eval $ac_try) 2>&5
36182 ac_status=$?
36183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36184 (exit $ac_status); }; } &&
36185 { ac_try='test -s conftest$ac_exeext'
36186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36187 (eval $ac_try) 2>&5
36188 ac_status=$?
36189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36190 (exit $ac_status); }; }; then
36191 eval "$as_ac_var=yes"
36192 else
36193 echo "$as_me: failed program was:" >&5
36194 sed 's/^/| /' conftest.$ac_ext >&5
36195
36196 eval "$as_ac_var=no"
36197 fi
36198 rm -f conftest.err conftest.$ac_objext \
36199 conftest$ac_exeext conftest.$ac_ext
36200 fi
36201 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36202 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36203 if test `eval echo '${'$as_ac_var'}'` = yes; then
36204 cat >>confdefs.h <<_ACEOF
36205 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36206 _ACEOF
36207
36208 fi
36209 done
36210
36211 else
36212
36213 echo "$as_me:$LINENO: checking for _expf declaration" >&5
36214 echo $ECHO_N "checking for _expf declaration... $ECHO_C" >&6
36215 if test x${glibcxx_cv_func__expf_use+set} != xset; then
36216 if test "${glibcxx_cv_func__expf_use+set}" = set; then
36217 echo $ECHO_N "(cached) $ECHO_C" >&6
36218 else
36219
36220
36221
36222 ac_ext=cc
36223 ac_cpp='$CXXCPP $CPPFLAGS'
36224 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36225 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36226 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36227
36228 cat >conftest.$ac_ext <<_ACEOF
36229 /* confdefs.h. */
36230 _ACEOF
36231 cat confdefs.h >>conftest.$ac_ext
36232 cat >>conftest.$ac_ext <<_ACEOF
36233 /* end confdefs.h. */
36234 #include <math.h>
36235 #ifdef HAVE_IEEEFP_H
36236 #include <ieeefp.h>
36237 #endif
36238
36239 int
36240 main ()
36241 {
36242 _expf(0);
36243 ;
36244 return 0;
36245 }
36246 _ACEOF
36247 rm -f conftest.$ac_objext
36248 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36249 (eval $ac_compile) 2>conftest.er1
36250 ac_status=$?
36251 grep -v '^ *+' conftest.er1 >conftest.err
36252 rm -f conftest.er1
36253 cat conftest.err >&5
36254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36255 (exit $ac_status); } &&
36256 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36258 (eval $ac_try) 2>&5
36259 ac_status=$?
36260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36261 (exit $ac_status); }; } &&
36262 { ac_try='test -s conftest.$ac_objext'
36263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36264 (eval $ac_try) 2>&5
36265 ac_status=$?
36266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36267 (exit $ac_status); }; }; then
36268 glibcxx_cv_func__expf_use=yes
36269 else
36270 echo "$as_me: failed program was:" >&5
36271 sed 's/^/| /' conftest.$ac_ext >&5
36272
36273 glibcxx_cv_func__expf_use=no
36274 fi
36275 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36276 ac_ext=c
36277 ac_cpp='$CPP $CPPFLAGS'
36278 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36279 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36280 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36281
36282
36283 fi
36284
36285 fi
36286 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expf_use" >&5
36287 echo "${ECHO_T}$glibcxx_cv_func__expf_use" >&6
36288
36289 if test x$glibcxx_cv_func__expf_use = x"yes"; then
36290
36291 for ac_func in _expf
36292 do
36293 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36294 echo "$as_me:$LINENO: checking for $ac_func" >&5
36295 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36296 if eval "test \"\${$as_ac_var+set}\" = set"; then
36297 echo $ECHO_N "(cached) $ECHO_C" >&6
36298 else
36299 if test x$gcc_no_link = xyes; then
36300 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36301 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36302 { (exit 1); exit 1; }; }
36303 fi
36304 cat >conftest.$ac_ext <<_ACEOF
36305 /* confdefs.h. */
36306 _ACEOF
36307 cat confdefs.h >>conftest.$ac_ext
36308 cat >>conftest.$ac_ext <<_ACEOF
36309 /* end confdefs.h. */
36310 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36311 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36312 #define $ac_func innocuous_$ac_func
36313
36314 /* System header to define __stub macros and hopefully few prototypes,
36315 which can conflict with char $ac_func (); below.
36316 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36317 <limits.h> exists even on freestanding compilers. */
36318
36319 #ifdef __STDC__
36320 # include <limits.h>
36321 #else
36322 # include <assert.h>
36323 #endif
36324
36325 #undef $ac_func
36326
36327 /* Override any gcc2 internal prototype to avoid an error. */
36328 #ifdef __cplusplus
36329 extern "C"
36330 {
36331 #endif
36332 /* We use char because int might match the return type of a gcc2
36333 builtin and then its argument prototype would still apply. */
36334 char $ac_func ();
36335 /* The GNU C library defines this for functions which it implements
36336 to always fail with ENOSYS. Some functions are actually named
36337 something starting with __ and the normal name is an alias. */
36338 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36339 choke me
36340 #else
36341 char (*f) () = $ac_func;
36342 #endif
36343 #ifdef __cplusplus
36344 }
36345 #endif
36346
36347 int
36348 main ()
36349 {
36350 return f != $ac_func;
36351 ;
36352 return 0;
36353 }
36354 _ACEOF
36355 rm -f conftest.$ac_objext conftest$ac_exeext
36356 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36357 (eval $ac_link) 2>conftest.er1
36358 ac_status=$?
36359 grep -v '^ *+' conftest.er1 >conftest.err
36360 rm -f conftest.er1
36361 cat conftest.err >&5
36362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36363 (exit $ac_status); } &&
36364 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36366 (eval $ac_try) 2>&5
36367 ac_status=$?
36368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36369 (exit $ac_status); }; } &&
36370 { ac_try='test -s conftest$ac_exeext'
36371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36372 (eval $ac_try) 2>&5
36373 ac_status=$?
36374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36375 (exit $ac_status); }; }; then
36376 eval "$as_ac_var=yes"
36377 else
36378 echo "$as_me: failed program was:" >&5
36379 sed 's/^/| /' conftest.$ac_ext >&5
36380
36381 eval "$as_ac_var=no"
36382 fi
36383 rm -f conftest.err conftest.$ac_objext \
36384 conftest$ac_exeext conftest.$ac_ext
36385 fi
36386 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36387 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36388 if test `eval echo '${'$as_ac_var'}'` = yes; then
36389 cat >>confdefs.h <<_ACEOF
36390 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36391 _ACEOF
36392
36393 fi
36394 done
36395
36396 fi
36397 fi
36398
36399
36400
36401
36402
36403
36404 echo "$as_me:$LINENO: checking for isnanf declaration" >&5
36405 echo $ECHO_N "checking for isnanf declaration... $ECHO_C" >&6
36406 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
36407 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then
36408 echo $ECHO_N "(cached) $ECHO_C" >&6
36409 else
36410
36411
36412
36413 ac_ext=cc
36414 ac_cpp='$CXXCPP $CPPFLAGS'
36415 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36416 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36417 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36418
36419 cat >conftest.$ac_ext <<_ACEOF
36420 /* confdefs.h. */
36421 _ACEOF
36422 cat confdefs.h >>conftest.$ac_ext
36423 cat >>conftest.$ac_ext <<_ACEOF
36424 /* end confdefs.h. */
36425 #include <math.h>
36426 #ifdef HAVE_IEEEFP_H
36427 #include <ieeefp.h>
36428 #endif
36429
36430 int
36431 main ()
36432 {
36433 isnanf(0);
36434 ;
36435 return 0;
36436 }
36437 _ACEOF
36438 rm -f conftest.$ac_objext
36439 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36440 (eval $ac_compile) 2>conftest.er1
36441 ac_status=$?
36442 grep -v '^ *+' conftest.er1 >conftest.err
36443 rm -f conftest.er1
36444 cat conftest.err >&5
36445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36446 (exit $ac_status); } &&
36447 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36449 (eval $ac_try) 2>&5
36450 ac_status=$?
36451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36452 (exit $ac_status); }; } &&
36453 { ac_try='test -s conftest.$ac_objext'
36454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36455 (eval $ac_try) 2>&5
36456 ac_status=$?
36457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36458 (exit $ac_status); }; }; then
36459 glibcxx_cv_func_isnanf_use=yes
36460 else
36461 echo "$as_me: failed program was:" >&5
36462 sed 's/^/| /' conftest.$ac_ext >&5
36463
36464 glibcxx_cv_func_isnanf_use=no
36465 fi
36466 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36467 ac_ext=c
36468 ac_cpp='$CPP $CPPFLAGS'
36469 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36470 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36471 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36472
36473
36474 fi
36475
36476 fi
36477 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanf_use" >&5
36478 echo "${ECHO_T}$glibcxx_cv_func_isnanf_use" >&6
36479
36480 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
36481
36482 for ac_func in isnanf
36483 do
36484 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36485 echo "$as_me:$LINENO: checking for $ac_func" >&5
36486 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36487 if eval "test \"\${$as_ac_var+set}\" = set"; then
36488 echo $ECHO_N "(cached) $ECHO_C" >&6
36489 else
36490 if test x$gcc_no_link = xyes; then
36491 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36492 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36493 { (exit 1); exit 1; }; }
36494 fi
36495 cat >conftest.$ac_ext <<_ACEOF
36496 /* confdefs.h. */
36497 _ACEOF
36498 cat confdefs.h >>conftest.$ac_ext
36499 cat >>conftest.$ac_ext <<_ACEOF
36500 /* end confdefs.h. */
36501 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36502 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36503 #define $ac_func innocuous_$ac_func
36504
36505 /* System header to define __stub macros and hopefully few prototypes,
36506 which can conflict with char $ac_func (); below.
36507 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36508 <limits.h> exists even on freestanding compilers. */
36509
36510 #ifdef __STDC__
36511 # include <limits.h>
36512 #else
36513 # include <assert.h>
36514 #endif
36515
36516 #undef $ac_func
36517
36518 /* Override any gcc2 internal prototype to avoid an error. */
36519 #ifdef __cplusplus
36520 extern "C"
36521 {
36522 #endif
36523 /* We use char because int might match the return type of a gcc2
36524 builtin and then its argument prototype would still apply. */
36525 char $ac_func ();
36526 /* The GNU C library defines this for functions which it implements
36527 to always fail with ENOSYS. Some functions are actually named
36528 something starting with __ and the normal name is an alias. */
36529 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36530 choke me
36531 #else
36532 char (*f) () = $ac_func;
36533 #endif
36534 #ifdef __cplusplus
36535 }
36536 #endif
36537
36538 int
36539 main ()
36540 {
36541 return f != $ac_func;
36542 ;
36543 return 0;
36544 }
36545 _ACEOF
36546 rm -f conftest.$ac_objext conftest$ac_exeext
36547 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36548 (eval $ac_link) 2>conftest.er1
36549 ac_status=$?
36550 grep -v '^ *+' conftest.er1 >conftest.err
36551 rm -f conftest.er1
36552 cat conftest.err >&5
36553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36554 (exit $ac_status); } &&
36555 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36557 (eval $ac_try) 2>&5
36558 ac_status=$?
36559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36560 (exit $ac_status); }; } &&
36561 { ac_try='test -s conftest$ac_exeext'
36562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36563 (eval $ac_try) 2>&5
36564 ac_status=$?
36565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36566 (exit $ac_status); }; }; then
36567 eval "$as_ac_var=yes"
36568 else
36569 echo "$as_me: failed program was:" >&5
36570 sed 's/^/| /' conftest.$ac_ext >&5
36571
36572 eval "$as_ac_var=no"
36573 fi
36574 rm -f conftest.err conftest.$ac_objext \
36575 conftest$ac_exeext conftest.$ac_ext
36576 fi
36577 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36578 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36579 if test `eval echo '${'$as_ac_var'}'` = yes; then
36580 cat >>confdefs.h <<_ACEOF
36581 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36582 _ACEOF
36583
36584 fi
36585 done
36586
36587 else
36588
36589 echo "$as_me:$LINENO: checking for _isnanf declaration" >&5
36590 echo $ECHO_N "checking for _isnanf declaration... $ECHO_C" >&6
36591 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
36592 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then
36593 echo $ECHO_N "(cached) $ECHO_C" >&6
36594 else
36595
36596
36597
36598 ac_ext=cc
36599 ac_cpp='$CXXCPP $CPPFLAGS'
36600 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36601 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36602 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36603
36604 cat >conftest.$ac_ext <<_ACEOF
36605 /* confdefs.h. */
36606 _ACEOF
36607 cat confdefs.h >>conftest.$ac_ext
36608 cat >>conftest.$ac_ext <<_ACEOF
36609 /* end confdefs.h. */
36610 #include <math.h>
36611 #ifdef HAVE_IEEEFP_H
36612 #include <ieeefp.h>
36613 #endif
36614
36615 int
36616 main ()
36617 {
36618 _isnanf(0);
36619 ;
36620 return 0;
36621 }
36622 _ACEOF
36623 rm -f conftest.$ac_objext
36624 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36625 (eval $ac_compile) 2>conftest.er1
36626 ac_status=$?
36627 grep -v '^ *+' conftest.er1 >conftest.err
36628 rm -f conftest.er1
36629 cat conftest.err >&5
36630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36631 (exit $ac_status); } &&
36632 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36634 (eval $ac_try) 2>&5
36635 ac_status=$?
36636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36637 (exit $ac_status); }; } &&
36638 { ac_try='test -s conftest.$ac_objext'
36639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36640 (eval $ac_try) 2>&5
36641 ac_status=$?
36642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36643 (exit $ac_status); }; }; then
36644 glibcxx_cv_func__isnanf_use=yes
36645 else
36646 echo "$as_me: failed program was:" >&5
36647 sed 's/^/| /' conftest.$ac_ext >&5
36648
36649 glibcxx_cv_func__isnanf_use=no
36650 fi
36651 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36652 ac_ext=c
36653 ac_cpp='$CPP $CPPFLAGS'
36654 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36655 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36656 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36657
36658
36659 fi
36660
36661 fi
36662 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanf_use" >&5
36663 echo "${ECHO_T}$glibcxx_cv_func__isnanf_use" >&6
36664
36665 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
36666
36667 for ac_func in _isnanf
36668 do
36669 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36670 echo "$as_me:$LINENO: checking for $ac_func" >&5
36671 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36672 if eval "test \"\${$as_ac_var+set}\" = set"; then
36673 echo $ECHO_N "(cached) $ECHO_C" >&6
36674 else
36675 if test x$gcc_no_link = xyes; then
36676 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36677 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36678 { (exit 1); exit 1; }; }
36679 fi
36680 cat >conftest.$ac_ext <<_ACEOF
36681 /* confdefs.h. */
36682 _ACEOF
36683 cat confdefs.h >>conftest.$ac_ext
36684 cat >>conftest.$ac_ext <<_ACEOF
36685 /* end confdefs.h. */
36686 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36687 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36688 #define $ac_func innocuous_$ac_func
36689
36690 /* System header to define __stub macros and hopefully few prototypes,
36691 which can conflict with char $ac_func (); below.
36692 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36693 <limits.h> exists even on freestanding compilers. */
36694
36695 #ifdef __STDC__
36696 # include <limits.h>
36697 #else
36698 # include <assert.h>
36699 #endif
36700
36701 #undef $ac_func
36702
36703 /* Override any gcc2 internal prototype to avoid an error. */
36704 #ifdef __cplusplus
36705 extern "C"
36706 {
36707 #endif
36708 /* We use char because int might match the return type of a gcc2
36709 builtin and then its argument prototype would still apply. */
36710 char $ac_func ();
36711 /* The GNU C library defines this for functions which it implements
36712 to always fail with ENOSYS. Some functions are actually named
36713 something starting with __ and the normal name is an alias. */
36714 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36715 choke me
36716 #else
36717 char (*f) () = $ac_func;
36718 #endif
36719 #ifdef __cplusplus
36720 }
36721 #endif
36722
36723 int
36724 main ()
36725 {
36726 return f != $ac_func;
36727 ;
36728 return 0;
36729 }
36730 _ACEOF
36731 rm -f conftest.$ac_objext conftest$ac_exeext
36732 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36733 (eval $ac_link) 2>conftest.er1
36734 ac_status=$?
36735 grep -v '^ *+' conftest.er1 >conftest.err
36736 rm -f conftest.er1
36737 cat conftest.err >&5
36738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36739 (exit $ac_status); } &&
36740 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36742 (eval $ac_try) 2>&5
36743 ac_status=$?
36744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36745 (exit $ac_status); }; } &&
36746 { ac_try='test -s conftest$ac_exeext'
36747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36748 (eval $ac_try) 2>&5
36749 ac_status=$?
36750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36751 (exit $ac_status); }; }; then
36752 eval "$as_ac_var=yes"
36753 else
36754 echo "$as_me: failed program was:" >&5
36755 sed 's/^/| /' conftest.$ac_ext >&5
36756
36757 eval "$as_ac_var=no"
36758 fi
36759 rm -f conftest.err conftest.$ac_objext \
36760 conftest$ac_exeext conftest.$ac_ext
36761 fi
36762 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36763 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36764 if test `eval echo '${'$as_ac_var'}'` = yes; then
36765 cat >>confdefs.h <<_ACEOF
36766 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36767 _ACEOF
36768
36769 fi
36770 done
36771
36772 fi
36773 fi
36774
36775
36776
36777
36778
36779
36780 echo "$as_me:$LINENO: checking for isinff declaration" >&5
36781 echo $ECHO_N "checking for isinff declaration... $ECHO_C" >&6
36782 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
36783 if test "${glibcxx_cv_func_isinff_use+set}" = set; then
36784 echo $ECHO_N "(cached) $ECHO_C" >&6
36785 else
36786
36787
36788
36789 ac_ext=cc
36790 ac_cpp='$CXXCPP $CPPFLAGS'
36791 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36792 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36793 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36794
36795 cat >conftest.$ac_ext <<_ACEOF
36796 /* confdefs.h. */
36797 _ACEOF
36798 cat confdefs.h >>conftest.$ac_ext
36799 cat >>conftest.$ac_ext <<_ACEOF
36800 /* end confdefs.h. */
36801 #include <math.h>
36802 #ifdef HAVE_IEEEFP_H
36803 #include <ieeefp.h>
36804 #endif
36805
36806 int
36807 main ()
36808 {
36809 isinff(0);
36810 ;
36811 return 0;
36812 }
36813 _ACEOF
36814 rm -f conftest.$ac_objext
36815 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36816 (eval $ac_compile) 2>conftest.er1
36817 ac_status=$?
36818 grep -v '^ *+' conftest.er1 >conftest.err
36819 rm -f conftest.er1
36820 cat conftest.err >&5
36821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36822 (exit $ac_status); } &&
36823 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36825 (eval $ac_try) 2>&5
36826 ac_status=$?
36827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36828 (exit $ac_status); }; } &&
36829 { ac_try='test -s conftest.$ac_objext'
36830 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36831 (eval $ac_try) 2>&5
36832 ac_status=$?
36833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36834 (exit $ac_status); }; }; then
36835 glibcxx_cv_func_isinff_use=yes
36836 else
36837 echo "$as_me: failed program was:" >&5
36838 sed 's/^/| /' conftest.$ac_ext >&5
36839
36840 glibcxx_cv_func_isinff_use=no
36841 fi
36842 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36843 ac_ext=c
36844 ac_cpp='$CPP $CPPFLAGS'
36845 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36846 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36847 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36848
36849
36850 fi
36851
36852 fi
36853 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinff_use" >&5
36854 echo "${ECHO_T}$glibcxx_cv_func_isinff_use" >&6
36855
36856 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
36857
36858 for ac_func in isinff
36859 do
36860 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36861 echo "$as_me:$LINENO: checking for $ac_func" >&5
36862 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36863 if eval "test \"\${$as_ac_var+set}\" = set"; then
36864 echo $ECHO_N "(cached) $ECHO_C" >&6
36865 else
36866 if test x$gcc_no_link = xyes; then
36867 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36868 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36869 { (exit 1); exit 1; }; }
36870 fi
36871 cat >conftest.$ac_ext <<_ACEOF
36872 /* confdefs.h. */
36873 _ACEOF
36874 cat confdefs.h >>conftest.$ac_ext
36875 cat >>conftest.$ac_ext <<_ACEOF
36876 /* end confdefs.h. */
36877 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36878 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36879 #define $ac_func innocuous_$ac_func
36880
36881 /* System header to define __stub macros and hopefully few prototypes,
36882 which can conflict with char $ac_func (); below.
36883 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36884 <limits.h> exists even on freestanding compilers. */
36885
36886 #ifdef __STDC__
36887 # include <limits.h>
36888 #else
36889 # include <assert.h>
36890 #endif
36891
36892 #undef $ac_func
36893
36894 /* Override any gcc2 internal prototype to avoid an error. */
36895 #ifdef __cplusplus
36896 extern "C"
36897 {
36898 #endif
36899 /* We use char because int might match the return type of a gcc2
36900 builtin and then its argument prototype would still apply. */
36901 char $ac_func ();
36902 /* The GNU C library defines this for functions which it implements
36903 to always fail with ENOSYS. Some functions are actually named
36904 something starting with __ and the normal name is an alias. */
36905 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36906 choke me
36907 #else
36908 char (*f) () = $ac_func;
36909 #endif
36910 #ifdef __cplusplus
36911 }
36912 #endif
36913
36914 int
36915 main ()
36916 {
36917 return f != $ac_func;
36918 ;
36919 return 0;
36920 }
36921 _ACEOF
36922 rm -f conftest.$ac_objext conftest$ac_exeext
36923 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36924 (eval $ac_link) 2>conftest.er1
36925 ac_status=$?
36926 grep -v '^ *+' conftest.er1 >conftest.err
36927 rm -f conftest.er1
36928 cat conftest.err >&5
36929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36930 (exit $ac_status); } &&
36931 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36932 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36933 (eval $ac_try) 2>&5
36934 ac_status=$?
36935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36936 (exit $ac_status); }; } &&
36937 { ac_try='test -s conftest$ac_exeext'
36938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36939 (eval $ac_try) 2>&5
36940 ac_status=$?
36941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36942 (exit $ac_status); }; }; then
36943 eval "$as_ac_var=yes"
36944 else
36945 echo "$as_me: failed program was:" >&5
36946 sed 's/^/| /' conftest.$ac_ext >&5
36947
36948 eval "$as_ac_var=no"
36949 fi
36950 rm -f conftest.err conftest.$ac_objext \
36951 conftest$ac_exeext conftest.$ac_ext
36952 fi
36953 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36954 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36955 if test `eval echo '${'$as_ac_var'}'` = yes; then
36956 cat >>confdefs.h <<_ACEOF
36957 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36958 _ACEOF
36959
36960 fi
36961 done
36962
36963 else
36964
36965 echo "$as_me:$LINENO: checking for _isinff declaration" >&5
36966 echo $ECHO_N "checking for _isinff declaration... $ECHO_C" >&6
36967 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
36968 if test "${glibcxx_cv_func__isinff_use+set}" = set; then
36969 echo $ECHO_N "(cached) $ECHO_C" >&6
36970 else
36971
36972
36973
36974 ac_ext=cc
36975 ac_cpp='$CXXCPP $CPPFLAGS'
36976 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36977 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36978 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36979
36980 cat >conftest.$ac_ext <<_ACEOF
36981 /* confdefs.h. */
36982 _ACEOF
36983 cat confdefs.h >>conftest.$ac_ext
36984 cat >>conftest.$ac_ext <<_ACEOF
36985 /* end confdefs.h. */
36986 #include <math.h>
36987 #ifdef HAVE_IEEEFP_H
36988 #include <ieeefp.h>
36989 #endif
36990
36991 int
36992 main ()
36993 {
36994 _isinff(0);
36995 ;
36996 return 0;
36997 }
36998 _ACEOF
36999 rm -f conftest.$ac_objext
37000 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37001 (eval $ac_compile) 2>conftest.er1
37002 ac_status=$?
37003 grep -v '^ *+' conftest.er1 >conftest.err
37004 rm -f conftest.er1
37005 cat conftest.err >&5
37006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37007 (exit $ac_status); } &&
37008 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37010 (eval $ac_try) 2>&5
37011 ac_status=$?
37012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37013 (exit $ac_status); }; } &&
37014 { ac_try='test -s conftest.$ac_objext'
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 glibcxx_cv_func__isinff_use=yes
37021 else
37022 echo "$as_me: failed program was:" >&5
37023 sed 's/^/| /' conftest.$ac_ext >&5
37024
37025 glibcxx_cv_func__isinff_use=no
37026 fi
37027 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37028 ac_ext=c
37029 ac_cpp='$CPP $CPPFLAGS'
37030 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37031 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37032 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37033
37034
37035 fi
37036
37037 fi
37038 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinff_use" >&5
37039 echo "${ECHO_T}$glibcxx_cv_func__isinff_use" >&6
37040
37041 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
37042
37043 for ac_func in _isinff
37044 do
37045 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37046 echo "$as_me:$LINENO: checking for $ac_func" >&5
37047 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37048 if eval "test \"\${$as_ac_var+set}\" = set"; then
37049 echo $ECHO_N "(cached) $ECHO_C" >&6
37050 else
37051 if test x$gcc_no_link = xyes; then
37052 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37053 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37054 { (exit 1); exit 1; }; }
37055 fi
37056 cat >conftest.$ac_ext <<_ACEOF
37057 /* confdefs.h. */
37058 _ACEOF
37059 cat confdefs.h >>conftest.$ac_ext
37060 cat >>conftest.$ac_ext <<_ACEOF
37061 /* end confdefs.h. */
37062 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37063 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37064 #define $ac_func innocuous_$ac_func
37065
37066 /* System header to define __stub macros and hopefully few prototypes,
37067 which can conflict with char $ac_func (); below.
37068 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37069 <limits.h> exists even on freestanding compilers. */
37070
37071 #ifdef __STDC__
37072 # include <limits.h>
37073 #else
37074 # include <assert.h>
37075 #endif
37076
37077 #undef $ac_func
37078
37079 /* Override any gcc2 internal prototype to avoid an error. */
37080 #ifdef __cplusplus
37081 extern "C"
37082 {
37083 #endif
37084 /* We use char because int might match the return type of a gcc2
37085 builtin and then its argument prototype would still apply. */
37086 char $ac_func ();
37087 /* The GNU C library defines this for functions which it implements
37088 to always fail with ENOSYS. Some functions are actually named
37089 something starting with __ and the normal name is an alias. */
37090 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37091 choke me
37092 #else
37093 char (*f) () = $ac_func;
37094 #endif
37095 #ifdef __cplusplus
37096 }
37097 #endif
37098
37099 int
37100 main ()
37101 {
37102 return f != $ac_func;
37103 ;
37104 return 0;
37105 }
37106 _ACEOF
37107 rm -f conftest.$ac_objext conftest$ac_exeext
37108 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37109 (eval $ac_link) 2>conftest.er1
37110 ac_status=$?
37111 grep -v '^ *+' conftest.er1 >conftest.err
37112 rm -f conftest.er1
37113 cat conftest.err >&5
37114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37115 (exit $ac_status); } &&
37116 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37117 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37118 (eval $ac_try) 2>&5
37119 ac_status=$?
37120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37121 (exit $ac_status); }; } &&
37122 { ac_try='test -s conftest$ac_exeext'
37123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37124 (eval $ac_try) 2>&5
37125 ac_status=$?
37126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37127 (exit $ac_status); }; }; then
37128 eval "$as_ac_var=yes"
37129 else
37130 echo "$as_me: failed program was:" >&5
37131 sed 's/^/| /' conftest.$ac_ext >&5
37132
37133 eval "$as_ac_var=no"
37134 fi
37135 rm -f conftest.err conftest.$ac_objext \
37136 conftest$ac_exeext conftest.$ac_ext
37137 fi
37138 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37139 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37140 if test `eval echo '${'$as_ac_var'}'` = yes; then
37141 cat >>confdefs.h <<_ACEOF
37142 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37143 _ACEOF
37144
37145 fi
37146 done
37147
37148 fi
37149 fi
37150
37151
37152
37153
37154
37155
37156 echo "$as_me:$LINENO: checking for atan2f declaration" >&5
37157 echo $ECHO_N "checking for atan2f declaration... $ECHO_C" >&6
37158 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
37159 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then
37160 echo $ECHO_N "(cached) $ECHO_C" >&6
37161 else
37162
37163
37164
37165 ac_ext=cc
37166 ac_cpp='$CXXCPP $CPPFLAGS'
37167 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37168 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37169 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37170
37171 cat >conftest.$ac_ext <<_ACEOF
37172 /* confdefs.h. */
37173 _ACEOF
37174 cat confdefs.h >>conftest.$ac_ext
37175 cat >>conftest.$ac_ext <<_ACEOF
37176 /* end confdefs.h. */
37177 #include <math.h>
37178 int
37179 main ()
37180 {
37181 atan2f(0, 0);
37182 ;
37183 return 0;
37184 }
37185 _ACEOF
37186 rm -f conftest.$ac_objext
37187 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37188 (eval $ac_compile) 2>conftest.er1
37189 ac_status=$?
37190 grep -v '^ *+' conftest.er1 >conftest.err
37191 rm -f conftest.er1
37192 cat conftest.err >&5
37193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37194 (exit $ac_status); } &&
37195 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37197 (eval $ac_try) 2>&5
37198 ac_status=$?
37199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37200 (exit $ac_status); }; } &&
37201 { ac_try='test -s conftest.$ac_objext'
37202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37203 (eval $ac_try) 2>&5
37204 ac_status=$?
37205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37206 (exit $ac_status); }; }; then
37207 glibcxx_cv_func_atan2f_use=yes
37208 else
37209 echo "$as_me: failed program was:" >&5
37210 sed 's/^/| /' conftest.$ac_ext >&5
37211
37212 glibcxx_cv_func_atan2f_use=no
37213 fi
37214 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37215 ac_ext=c
37216 ac_cpp='$CPP $CPPFLAGS'
37217 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37218 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37219 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37220
37221
37222 fi
37223
37224 fi
37225 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2f_use" >&5
37226 echo "${ECHO_T}$glibcxx_cv_func_atan2f_use" >&6
37227
37228 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
37229
37230 for ac_func in atan2f
37231 do
37232 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37233 echo "$as_me:$LINENO: checking for $ac_func" >&5
37234 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37235 if eval "test \"\${$as_ac_var+set}\" = set"; then
37236 echo $ECHO_N "(cached) $ECHO_C" >&6
37237 else
37238 if test x$gcc_no_link = xyes; then
37239 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37240 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37241 { (exit 1); exit 1; }; }
37242 fi
37243 cat >conftest.$ac_ext <<_ACEOF
37244 /* confdefs.h. */
37245 _ACEOF
37246 cat confdefs.h >>conftest.$ac_ext
37247 cat >>conftest.$ac_ext <<_ACEOF
37248 /* end confdefs.h. */
37249 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37250 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37251 #define $ac_func innocuous_$ac_func
37252
37253 /* System header to define __stub macros and hopefully few prototypes,
37254 which can conflict with char $ac_func (); below.
37255 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37256 <limits.h> exists even on freestanding compilers. */
37257
37258 #ifdef __STDC__
37259 # include <limits.h>
37260 #else
37261 # include <assert.h>
37262 #endif
37263
37264 #undef $ac_func
37265
37266 /* Override any gcc2 internal prototype to avoid an error. */
37267 #ifdef __cplusplus
37268 extern "C"
37269 {
37270 #endif
37271 /* We use char because int might match the return type of a gcc2
37272 builtin and then its argument prototype would still apply. */
37273 char $ac_func ();
37274 /* The GNU C library defines this for functions which it implements
37275 to always fail with ENOSYS. Some functions are actually named
37276 something starting with __ and the normal name is an alias. */
37277 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37278 choke me
37279 #else
37280 char (*f) () = $ac_func;
37281 #endif
37282 #ifdef __cplusplus
37283 }
37284 #endif
37285
37286 int
37287 main ()
37288 {
37289 return f != $ac_func;
37290 ;
37291 return 0;
37292 }
37293 _ACEOF
37294 rm -f conftest.$ac_objext conftest$ac_exeext
37295 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37296 (eval $ac_link) 2>conftest.er1
37297 ac_status=$?
37298 grep -v '^ *+' conftest.er1 >conftest.err
37299 rm -f conftest.er1
37300 cat conftest.err >&5
37301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37302 (exit $ac_status); } &&
37303 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37304 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37305 (eval $ac_try) 2>&5
37306 ac_status=$?
37307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37308 (exit $ac_status); }; } &&
37309 { ac_try='test -s conftest$ac_exeext'
37310 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37311 (eval $ac_try) 2>&5
37312 ac_status=$?
37313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37314 (exit $ac_status); }; }; then
37315 eval "$as_ac_var=yes"
37316 else
37317 echo "$as_me: failed program was:" >&5
37318 sed 's/^/| /' conftest.$ac_ext >&5
37319
37320 eval "$as_ac_var=no"
37321 fi
37322 rm -f conftest.err conftest.$ac_objext \
37323 conftest$ac_exeext conftest.$ac_ext
37324 fi
37325 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37326 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37327 if test `eval echo '${'$as_ac_var'}'` = yes; then
37328 cat >>confdefs.h <<_ACEOF
37329 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37330 _ACEOF
37331
37332 fi
37333 done
37334
37335 else
37336
37337 echo "$as_me:$LINENO: checking for _atan2f declaration" >&5
37338 echo $ECHO_N "checking for _atan2f declaration... $ECHO_C" >&6
37339 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
37340 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then
37341 echo $ECHO_N "(cached) $ECHO_C" >&6
37342 else
37343
37344
37345
37346 ac_ext=cc
37347 ac_cpp='$CXXCPP $CPPFLAGS'
37348 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37349 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37350 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37351
37352 cat >conftest.$ac_ext <<_ACEOF
37353 /* confdefs.h. */
37354 _ACEOF
37355 cat confdefs.h >>conftest.$ac_ext
37356 cat >>conftest.$ac_ext <<_ACEOF
37357 /* end confdefs.h. */
37358 #include <math.h>
37359 int
37360 main ()
37361 {
37362 _atan2f(0, 0);
37363 ;
37364 return 0;
37365 }
37366 _ACEOF
37367 rm -f conftest.$ac_objext
37368 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37369 (eval $ac_compile) 2>conftest.er1
37370 ac_status=$?
37371 grep -v '^ *+' conftest.er1 >conftest.err
37372 rm -f conftest.er1
37373 cat conftest.err >&5
37374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37375 (exit $ac_status); } &&
37376 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37377 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37378 (eval $ac_try) 2>&5
37379 ac_status=$?
37380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37381 (exit $ac_status); }; } &&
37382 { ac_try='test -s conftest.$ac_objext'
37383 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37384 (eval $ac_try) 2>&5
37385 ac_status=$?
37386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37387 (exit $ac_status); }; }; then
37388 glibcxx_cv_func__atan2f_use=yes
37389 else
37390 echo "$as_me: failed program was:" >&5
37391 sed 's/^/| /' conftest.$ac_ext >&5
37392
37393 glibcxx_cv_func__atan2f_use=no
37394 fi
37395 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37396 ac_ext=c
37397 ac_cpp='$CPP $CPPFLAGS'
37398 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37399 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37400 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37401
37402
37403 fi
37404
37405 fi
37406 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2f_use" >&5
37407 echo "${ECHO_T}$glibcxx_cv_func__atan2f_use" >&6
37408
37409 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
37410
37411 for ac_func in _atan2f
37412 do
37413 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37414 echo "$as_me:$LINENO: checking for $ac_func" >&5
37415 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37416 if eval "test \"\${$as_ac_var+set}\" = set"; then
37417 echo $ECHO_N "(cached) $ECHO_C" >&6
37418 else
37419 if test x$gcc_no_link = xyes; then
37420 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37421 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37422 { (exit 1); exit 1; }; }
37423 fi
37424 cat >conftest.$ac_ext <<_ACEOF
37425 /* confdefs.h. */
37426 _ACEOF
37427 cat confdefs.h >>conftest.$ac_ext
37428 cat >>conftest.$ac_ext <<_ACEOF
37429 /* end confdefs.h. */
37430 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37431 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37432 #define $ac_func innocuous_$ac_func
37433
37434 /* System header to define __stub macros and hopefully few prototypes,
37435 which can conflict with char $ac_func (); below.
37436 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37437 <limits.h> exists even on freestanding compilers. */
37438
37439 #ifdef __STDC__
37440 # include <limits.h>
37441 #else
37442 # include <assert.h>
37443 #endif
37444
37445 #undef $ac_func
37446
37447 /* Override any gcc2 internal prototype to avoid an error. */
37448 #ifdef __cplusplus
37449 extern "C"
37450 {
37451 #endif
37452 /* We use char because int might match the return type of a gcc2
37453 builtin and then its argument prototype would still apply. */
37454 char $ac_func ();
37455 /* The GNU C library defines this for functions which it implements
37456 to always fail with ENOSYS. Some functions are actually named
37457 something starting with __ and the normal name is an alias. */
37458 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37459 choke me
37460 #else
37461 char (*f) () = $ac_func;
37462 #endif
37463 #ifdef __cplusplus
37464 }
37465 #endif
37466
37467 int
37468 main ()
37469 {
37470 return f != $ac_func;
37471 ;
37472 return 0;
37473 }
37474 _ACEOF
37475 rm -f conftest.$ac_objext conftest$ac_exeext
37476 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37477 (eval $ac_link) 2>conftest.er1
37478 ac_status=$?
37479 grep -v '^ *+' conftest.er1 >conftest.err
37480 rm -f conftest.er1
37481 cat conftest.err >&5
37482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37483 (exit $ac_status); } &&
37484 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37486 (eval $ac_try) 2>&5
37487 ac_status=$?
37488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37489 (exit $ac_status); }; } &&
37490 { ac_try='test -s conftest$ac_exeext'
37491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37492 (eval $ac_try) 2>&5
37493 ac_status=$?
37494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37495 (exit $ac_status); }; }; then
37496 eval "$as_ac_var=yes"
37497 else
37498 echo "$as_me: failed program was:" >&5
37499 sed 's/^/| /' conftest.$ac_ext >&5
37500
37501 eval "$as_ac_var=no"
37502 fi
37503 rm -f conftest.err conftest.$ac_objext \
37504 conftest$ac_exeext conftest.$ac_ext
37505 fi
37506 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37507 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37508 if test `eval echo '${'$as_ac_var'}'` = yes; then
37509 cat >>confdefs.h <<_ACEOF
37510 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37511 _ACEOF
37512
37513 fi
37514 done
37515
37516 fi
37517 fi
37518
37519
37520
37521
37522
37523
37524 echo "$as_me:$LINENO: checking for fabsf declaration" >&5
37525 echo $ECHO_N "checking for fabsf declaration... $ECHO_C" >&6
37526 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
37527 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then
37528 echo $ECHO_N "(cached) $ECHO_C" >&6
37529 else
37530
37531
37532
37533 ac_ext=cc
37534 ac_cpp='$CXXCPP $CPPFLAGS'
37535 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37536 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37537 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37538
37539 cat >conftest.$ac_ext <<_ACEOF
37540 /* confdefs.h. */
37541 _ACEOF
37542 cat confdefs.h >>conftest.$ac_ext
37543 cat >>conftest.$ac_ext <<_ACEOF
37544 /* end confdefs.h. */
37545 #include <math.h>
37546 #ifdef HAVE_IEEEFP_H
37547 #include <ieeefp.h>
37548 #endif
37549
37550 int
37551 main ()
37552 {
37553 fabsf(0);
37554 ;
37555 return 0;
37556 }
37557 _ACEOF
37558 rm -f conftest.$ac_objext
37559 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37560 (eval $ac_compile) 2>conftest.er1
37561 ac_status=$?
37562 grep -v '^ *+' conftest.er1 >conftest.err
37563 rm -f conftest.er1
37564 cat conftest.err >&5
37565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37566 (exit $ac_status); } &&
37567 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37569 (eval $ac_try) 2>&5
37570 ac_status=$?
37571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37572 (exit $ac_status); }; } &&
37573 { ac_try='test -s conftest.$ac_objext'
37574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37575 (eval $ac_try) 2>&5
37576 ac_status=$?
37577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37578 (exit $ac_status); }; }; then
37579 glibcxx_cv_func_fabsf_use=yes
37580 else
37581 echo "$as_me: failed program was:" >&5
37582 sed 's/^/| /' conftest.$ac_ext >&5
37583
37584 glibcxx_cv_func_fabsf_use=no
37585 fi
37586 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37587 ac_ext=c
37588 ac_cpp='$CPP $CPPFLAGS'
37589 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37590 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37591 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37592
37593
37594 fi
37595
37596 fi
37597 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsf_use" >&5
37598 echo "${ECHO_T}$glibcxx_cv_func_fabsf_use" >&6
37599
37600 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
37601
37602 for ac_func in fabsf
37603 do
37604 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37605 echo "$as_me:$LINENO: checking for $ac_func" >&5
37606 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37607 if eval "test \"\${$as_ac_var+set}\" = set"; then
37608 echo $ECHO_N "(cached) $ECHO_C" >&6
37609 else
37610 if test x$gcc_no_link = xyes; then
37611 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37612 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37613 { (exit 1); exit 1; }; }
37614 fi
37615 cat >conftest.$ac_ext <<_ACEOF
37616 /* confdefs.h. */
37617 _ACEOF
37618 cat confdefs.h >>conftest.$ac_ext
37619 cat >>conftest.$ac_ext <<_ACEOF
37620 /* end confdefs.h. */
37621 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37622 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37623 #define $ac_func innocuous_$ac_func
37624
37625 /* System header to define __stub macros and hopefully few prototypes,
37626 which can conflict with char $ac_func (); below.
37627 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37628 <limits.h> exists even on freestanding compilers. */
37629
37630 #ifdef __STDC__
37631 # include <limits.h>
37632 #else
37633 # include <assert.h>
37634 #endif
37635
37636 #undef $ac_func
37637
37638 /* Override any gcc2 internal prototype to avoid an error. */
37639 #ifdef __cplusplus
37640 extern "C"
37641 {
37642 #endif
37643 /* We use char because int might match the return type of a gcc2
37644 builtin and then its argument prototype would still apply. */
37645 char $ac_func ();
37646 /* The GNU C library defines this for functions which it implements
37647 to always fail with ENOSYS. Some functions are actually named
37648 something starting with __ and the normal name is an alias. */
37649 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37650 choke me
37651 #else
37652 char (*f) () = $ac_func;
37653 #endif
37654 #ifdef __cplusplus
37655 }
37656 #endif
37657
37658 int
37659 main ()
37660 {
37661 return f != $ac_func;
37662 ;
37663 return 0;
37664 }
37665 _ACEOF
37666 rm -f conftest.$ac_objext conftest$ac_exeext
37667 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37668 (eval $ac_link) 2>conftest.er1
37669 ac_status=$?
37670 grep -v '^ *+' conftest.er1 >conftest.err
37671 rm -f conftest.er1
37672 cat conftest.err >&5
37673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37674 (exit $ac_status); } &&
37675 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37676 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37677 (eval $ac_try) 2>&5
37678 ac_status=$?
37679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37680 (exit $ac_status); }; } &&
37681 { ac_try='test -s conftest$ac_exeext'
37682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37683 (eval $ac_try) 2>&5
37684 ac_status=$?
37685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37686 (exit $ac_status); }; }; then
37687 eval "$as_ac_var=yes"
37688 else
37689 echo "$as_me: failed program was:" >&5
37690 sed 's/^/| /' conftest.$ac_ext >&5
37691
37692 eval "$as_ac_var=no"
37693 fi
37694 rm -f conftest.err conftest.$ac_objext \
37695 conftest$ac_exeext conftest.$ac_ext
37696 fi
37697 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37698 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37699 if test `eval echo '${'$as_ac_var'}'` = yes; then
37700 cat >>confdefs.h <<_ACEOF
37701 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37702 _ACEOF
37703
37704 fi
37705 done
37706
37707 else
37708
37709 echo "$as_me:$LINENO: checking for _fabsf declaration" >&5
37710 echo $ECHO_N "checking for _fabsf declaration... $ECHO_C" >&6
37711 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
37712 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then
37713 echo $ECHO_N "(cached) $ECHO_C" >&6
37714 else
37715
37716
37717
37718 ac_ext=cc
37719 ac_cpp='$CXXCPP $CPPFLAGS'
37720 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37721 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37722 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37723
37724 cat >conftest.$ac_ext <<_ACEOF
37725 /* confdefs.h. */
37726 _ACEOF
37727 cat confdefs.h >>conftest.$ac_ext
37728 cat >>conftest.$ac_ext <<_ACEOF
37729 /* end confdefs.h. */
37730 #include <math.h>
37731 #ifdef HAVE_IEEEFP_H
37732 #include <ieeefp.h>
37733 #endif
37734
37735 int
37736 main ()
37737 {
37738 _fabsf(0);
37739 ;
37740 return 0;
37741 }
37742 _ACEOF
37743 rm -f conftest.$ac_objext
37744 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37745 (eval $ac_compile) 2>conftest.er1
37746 ac_status=$?
37747 grep -v '^ *+' conftest.er1 >conftest.err
37748 rm -f conftest.er1
37749 cat conftest.err >&5
37750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37751 (exit $ac_status); } &&
37752 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37754 (eval $ac_try) 2>&5
37755 ac_status=$?
37756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37757 (exit $ac_status); }; } &&
37758 { ac_try='test -s conftest.$ac_objext'
37759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37760 (eval $ac_try) 2>&5
37761 ac_status=$?
37762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37763 (exit $ac_status); }; }; then
37764 glibcxx_cv_func__fabsf_use=yes
37765 else
37766 echo "$as_me: failed program was:" >&5
37767 sed 's/^/| /' conftest.$ac_ext >&5
37768
37769 glibcxx_cv_func__fabsf_use=no
37770 fi
37771 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37772 ac_ext=c
37773 ac_cpp='$CPP $CPPFLAGS'
37774 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37775 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37776 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37777
37778
37779 fi
37780
37781 fi
37782 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsf_use" >&5
37783 echo "${ECHO_T}$glibcxx_cv_func__fabsf_use" >&6
37784
37785 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
37786
37787 for ac_func in _fabsf
37788 do
37789 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37790 echo "$as_me:$LINENO: checking for $ac_func" >&5
37791 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37792 if eval "test \"\${$as_ac_var+set}\" = set"; then
37793 echo $ECHO_N "(cached) $ECHO_C" >&6
37794 else
37795 if test x$gcc_no_link = xyes; then
37796 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37797 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37798 { (exit 1); exit 1; }; }
37799 fi
37800 cat >conftest.$ac_ext <<_ACEOF
37801 /* confdefs.h. */
37802 _ACEOF
37803 cat confdefs.h >>conftest.$ac_ext
37804 cat >>conftest.$ac_ext <<_ACEOF
37805 /* end confdefs.h. */
37806 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37807 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37808 #define $ac_func innocuous_$ac_func
37809
37810 /* System header to define __stub macros and hopefully few prototypes,
37811 which can conflict with char $ac_func (); below.
37812 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37813 <limits.h> exists even on freestanding compilers. */
37814
37815 #ifdef __STDC__
37816 # include <limits.h>
37817 #else
37818 # include <assert.h>
37819 #endif
37820
37821 #undef $ac_func
37822
37823 /* Override any gcc2 internal prototype to avoid an error. */
37824 #ifdef __cplusplus
37825 extern "C"
37826 {
37827 #endif
37828 /* We use char because int might match the return type of a gcc2
37829 builtin and then its argument prototype would still apply. */
37830 char $ac_func ();
37831 /* The GNU C library defines this for functions which it implements
37832 to always fail with ENOSYS. Some functions are actually named
37833 something starting with __ and the normal name is an alias. */
37834 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37835 choke me
37836 #else
37837 char (*f) () = $ac_func;
37838 #endif
37839 #ifdef __cplusplus
37840 }
37841 #endif
37842
37843 int
37844 main ()
37845 {
37846 return f != $ac_func;
37847 ;
37848 return 0;
37849 }
37850 _ACEOF
37851 rm -f conftest.$ac_objext conftest$ac_exeext
37852 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37853 (eval $ac_link) 2>conftest.er1
37854 ac_status=$?
37855 grep -v '^ *+' conftest.er1 >conftest.err
37856 rm -f conftest.er1
37857 cat conftest.err >&5
37858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37859 (exit $ac_status); } &&
37860 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37862 (eval $ac_try) 2>&5
37863 ac_status=$?
37864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37865 (exit $ac_status); }; } &&
37866 { ac_try='test -s conftest$ac_exeext'
37867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37868 (eval $ac_try) 2>&5
37869 ac_status=$?
37870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37871 (exit $ac_status); }; }; then
37872 eval "$as_ac_var=yes"
37873 else
37874 echo "$as_me: failed program was:" >&5
37875 sed 's/^/| /' conftest.$ac_ext >&5
37876
37877 eval "$as_ac_var=no"
37878 fi
37879 rm -f conftest.err conftest.$ac_objext \
37880 conftest$ac_exeext conftest.$ac_ext
37881 fi
37882 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37883 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37884 if test `eval echo '${'$as_ac_var'}'` = yes; then
37885 cat >>confdefs.h <<_ACEOF
37886 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37887 _ACEOF
37888
37889 fi
37890 done
37891
37892 fi
37893 fi
37894
37895
37896
37897
37898
37899
37900 echo "$as_me:$LINENO: checking for fmodf declaration" >&5
37901 echo $ECHO_N "checking for fmodf declaration... $ECHO_C" >&6
37902 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
37903 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then
37904 echo $ECHO_N "(cached) $ECHO_C" >&6
37905 else
37906
37907
37908
37909 ac_ext=cc
37910 ac_cpp='$CXXCPP $CPPFLAGS'
37911 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37912 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37913 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37914
37915 cat >conftest.$ac_ext <<_ACEOF
37916 /* confdefs.h. */
37917 _ACEOF
37918 cat confdefs.h >>conftest.$ac_ext
37919 cat >>conftest.$ac_ext <<_ACEOF
37920 /* end confdefs.h. */
37921 #include <math.h>
37922 int
37923 main ()
37924 {
37925 fmodf(0, 0);
37926 ;
37927 return 0;
37928 }
37929 _ACEOF
37930 rm -f conftest.$ac_objext
37931 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37932 (eval $ac_compile) 2>conftest.er1
37933 ac_status=$?
37934 grep -v '^ *+' conftest.er1 >conftest.err
37935 rm -f conftest.er1
37936 cat conftest.err >&5
37937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37938 (exit $ac_status); } &&
37939 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37941 (eval $ac_try) 2>&5
37942 ac_status=$?
37943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37944 (exit $ac_status); }; } &&
37945 { ac_try='test -s conftest.$ac_objext'
37946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37947 (eval $ac_try) 2>&5
37948 ac_status=$?
37949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37950 (exit $ac_status); }; }; then
37951 glibcxx_cv_func_fmodf_use=yes
37952 else
37953 echo "$as_me: failed program was:" >&5
37954 sed 's/^/| /' conftest.$ac_ext >&5
37955
37956 glibcxx_cv_func_fmodf_use=no
37957 fi
37958 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37959 ac_ext=c
37960 ac_cpp='$CPP $CPPFLAGS'
37961 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37962 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37963 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37964
37965
37966 fi
37967
37968 fi
37969 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodf_use" >&5
37970 echo "${ECHO_T}$glibcxx_cv_func_fmodf_use" >&6
37971
37972 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
37973
37974 for ac_func in fmodf
37975 do
37976 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37977 echo "$as_me:$LINENO: checking for $ac_func" >&5
37978 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37979 if eval "test \"\${$as_ac_var+set}\" = set"; then
37980 echo $ECHO_N "(cached) $ECHO_C" >&6
37981 else
37982 if test x$gcc_no_link = xyes; then
37983 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37984 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37985 { (exit 1); exit 1; }; }
37986 fi
37987 cat >conftest.$ac_ext <<_ACEOF
37988 /* confdefs.h. */
37989 _ACEOF
37990 cat confdefs.h >>conftest.$ac_ext
37991 cat >>conftest.$ac_ext <<_ACEOF
37992 /* end confdefs.h. */
37993 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37994 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37995 #define $ac_func innocuous_$ac_func
37996
37997 /* System header to define __stub macros and hopefully few prototypes,
37998 which can conflict with char $ac_func (); below.
37999 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38000 <limits.h> exists even on freestanding compilers. */
38001
38002 #ifdef __STDC__
38003 # include <limits.h>
38004 #else
38005 # include <assert.h>
38006 #endif
38007
38008 #undef $ac_func
38009
38010 /* Override any gcc2 internal prototype to avoid an error. */
38011 #ifdef __cplusplus
38012 extern "C"
38013 {
38014 #endif
38015 /* We use char because int might match the return type of a gcc2
38016 builtin and then its argument prototype would still apply. */
38017 char $ac_func ();
38018 /* The GNU C library defines this for functions which it implements
38019 to always fail with ENOSYS. Some functions are actually named
38020 something starting with __ and the normal name is an alias. */
38021 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38022 choke me
38023 #else
38024 char (*f) () = $ac_func;
38025 #endif
38026 #ifdef __cplusplus
38027 }
38028 #endif
38029
38030 int
38031 main ()
38032 {
38033 return f != $ac_func;
38034 ;
38035 return 0;
38036 }
38037 _ACEOF
38038 rm -f conftest.$ac_objext conftest$ac_exeext
38039 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38040 (eval $ac_link) 2>conftest.er1
38041 ac_status=$?
38042 grep -v '^ *+' conftest.er1 >conftest.err
38043 rm -f conftest.er1
38044 cat conftest.err >&5
38045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38046 (exit $ac_status); } &&
38047 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38049 (eval $ac_try) 2>&5
38050 ac_status=$?
38051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38052 (exit $ac_status); }; } &&
38053 { ac_try='test -s conftest$ac_exeext'
38054 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38055 (eval $ac_try) 2>&5
38056 ac_status=$?
38057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38058 (exit $ac_status); }; }; then
38059 eval "$as_ac_var=yes"
38060 else
38061 echo "$as_me: failed program was:" >&5
38062 sed 's/^/| /' conftest.$ac_ext >&5
38063
38064 eval "$as_ac_var=no"
38065 fi
38066 rm -f conftest.err conftest.$ac_objext \
38067 conftest$ac_exeext conftest.$ac_ext
38068 fi
38069 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38070 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38071 if test `eval echo '${'$as_ac_var'}'` = yes; then
38072 cat >>confdefs.h <<_ACEOF
38073 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38074 _ACEOF
38075
38076 fi
38077 done
38078
38079 else
38080
38081 echo "$as_me:$LINENO: checking for _fmodf declaration" >&5
38082 echo $ECHO_N "checking for _fmodf declaration... $ECHO_C" >&6
38083 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
38084 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then
38085 echo $ECHO_N "(cached) $ECHO_C" >&6
38086 else
38087
38088
38089
38090 ac_ext=cc
38091 ac_cpp='$CXXCPP $CPPFLAGS'
38092 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38093 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38094 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38095
38096 cat >conftest.$ac_ext <<_ACEOF
38097 /* confdefs.h. */
38098 _ACEOF
38099 cat confdefs.h >>conftest.$ac_ext
38100 cat >>conftest.$ac_ext <<_ACEOF
38101 /* end confdefs.h. */
38102 #include <math.h>
38103 int
38104 main ()
38105 {
38106 _fmodf(0, 0);
38107 ;
38108 return 0;
38109 }
38110 _ACEOF
38111 rm -f conftest.$ac_objext
38112 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38113 (eval $ac_compile) 2>conftest.er1
38114 ac_status=$?
38115 grep -v '^ *+' conftest.er1 >conftest.err
38116 rm -f conftest.er1
38117 cat conftest.err >&5
38118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38119 (exit $ac_status); } &&
38120 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38122 (eval $ac_try) 2>&5
38123 ac_status=$?
38124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38125 (exit $ac_status); }; } &&
38126 { ac_try='test -s conftest.$ac_objext'
38127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38128 (eval $ac_try) 2>&5
38129 ac_status=$?
38130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38131 (exit $ac_status); }; }; then
38132 glibcxx_cv_func__fmodf_use=yes
38133 else
38134 echo "$as_me: failed program was:" >&5
38135 sed 's/^/| /' conftest.$ac_ext >&5
38136
38137 glibcxx_cv_func__fmodf_use=no
38138 fi
38139 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38140 ac_ext=c
38141 ac_cpp='$CPP $CPPFLAGS'
38142 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38143 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38144 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38145
38146
38147 fi
38148
38149 fi
38150 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodf_use" >&5
38151 echo "${ECHO_T}$glibcxx_cv_func__fmodf_use" >&6
38152
38153 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
38154
38155 for ac_func in _fmodf
38156 do
38157 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38158 echo "$as_me:$LINENO: checking for $ac_func" >&5
38159 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38160 if eval "test \"\${$as_ac_var+set}\" = set"; then
38161 echo $ECHO_N "(cached) $ECHO_C" >&6
38162 else
38163 if test x$gcc_no_link = xyes; then
38164 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38165 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38166 { (exit 1); exit 1; }; }
38167 fi
38168 cat >conftest.$ac_ext <<_ACEOF
38169 /* confdefs.h. */
38170 _ACEOF
38171 cat confdefs.h >>conftest.$ac_ext
38172 cat >>conftest.$ac_ext <<_ACEOF
38173 /* end confdefs.h. */
38174 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38175 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38176 #define $ac_func innocuous_$ac_func
38177
38178 /* System header to define __stub macros and hopefully few prototypes,
38179 which can conflict with char $ac_func (); below.
38180 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38181 <limits.h> exists even on freestanding compilers. */
38182
38183 #ifdef __STDC__
38184 # include <limits.h>
38185 #else
38186 # include <assert.h>
38187 #endif
38188
38189 #undef $ac_func
38190
38191 /* Override any gcc2 internal prototype to avoid an error. */
38192 #ifdef __cplusplus
38193 extern "C"
38194 {
38195 #endif
38196 /* We use char because int might match the return type of a gcc2
38197 builtin and then its argument prototype would still apply. */
38198 char $ac_func ();
38199 /* The GNU C library defines this for functions which it implements
38200 to always fail with ENOSYS. Some functions are actually named
38201 something starting with __ and the normal name is an alias. */
38202 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38203 choke me
38204 #else
38205 char (*f) () = $ac_func;
38206 #endif
38207 #ifdef __cplusplus
38208 }
38209 #endif
38210
38211 int
38212 main ()
38213 {
38214 return f != $ac_func;
38215 ;
38216 return 0;
38217 }
38218 _ACEOF
38219 rm -f conftest.$ac_objext conftest$ac_exeext
38220 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38221 (eval $ac_link) 2>conftest.er1
38222 ac_status=$?
38223 grep -v '^ *+' conftest.er1 >conftest.err
38224 rm -f conftest.er1
38225 cat conftest.err >&5
38226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38227 (exit $ac_status); } &&
38228 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38230 (eval $ac_try) 2>&5
38231 ac_status=$?
38232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38233 (exit $ac_status); }; } &&
38234 { ac_try='test -s conftest$ac_exeext'
38235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38236 (eval $ac_try) 2>&5
38237 ac_status=$?
38238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38239 (exit $ac_status); }; }; then
38240 eval "$as_ac_var=yes"
38241 else
38242 echo "$as_me: failed program was:" >&5
38243 sed 's/^/| /' conftest.$ac_ext >&5
38244
38245 eval "$as_ac_var=no"
38246 fi
38247 rm -f conftest.err conftest.$ac_objext \
38248 conftest$ac_exeext conftest.$ac_ext
38249 fi
38250 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38251 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38252 if test `eval echo '${'$as_ac_var'}'` = yes; then
38253 cat >>confdefs.h <<_ACEOF
38254 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38255 _ACEOF
38256
38257 fi
38258 done
38259
38260 fi
38261 fi
38262
38263
38264
38265
38266
38267
38268 echo "$as_me:$LINENO: checking for frexpf declaration" >&5
38269 echo $ECHO_N "checking for frexpf declaration... $ECHO_C" >&6
38270 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
38271 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then
38272 echo $ECHO_N "(cached) $ECHO_C" >&6
38273 else
38274
38275
38276
38277 ac_ext=cc
38278 ac_cpp='$CXXCPP $CPPFLAGS'
38279 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38280 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38281 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38282
38283 cat >conftest.$ac_ext <<_ACEOF
38284 /* confdefs.h. */
38285 _ACEOF
38286 cat confdefs.h >>conftest.$ac_ext
38287 cat >>conftest.$ac_ext <<_ACEOF
38288 /* end confdefs.h. */
38289 #include <math.h>
38290 int
38291 main ()
38292 {
38293 frexpf(0, 0);
38294 ;
38295 return 0;
38296 }
38297 _ACEOF
38298 rm -f conftest.$ac_objext
38299 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38300 (eval $ac_compile) 2>conftest.er1
38301 ac_status=$?
38302 grep -v '^ *+' conftest.er1 >conftest.err
38303 rm -f conftest.er1
38304 cat conftest.err >&5
38305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38306 (exit $ac_status); } &&
38307 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38309 (eval $ac_try) 2>&5
38310 ac_status=$?
38311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38312 (exit $ac_status); }; } &&
38313 { ac_try='test -s conftest.$ac_objext'
38314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38315 (eval $ac_try) 2>&5
38316 ac_status=$?
38317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38318 (exit $ac_status); }; }; then
38319 glibcxx_cv_func_frexpf_use=yes
38320 else
38321 echo "$as_me: failed program was:" >&5
38322 sed 's/^/| /' conftest.$ac_ext >&5
38323
38324 glibcxx_cv_func_frexpf_use=no
38325 fi
38326 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38327 ac_ext=c
38328 ac_cpp='$CPP $CPPFLAGS'
38329 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38330 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38331 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38332
38333
38334 fi
38335
38336 fi
38337 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpf_use" >&5
38338 echo "${ECHO_T}$glibcxx_cv_func_frexpf_use" >&6
38339
38340 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
38341
38342 for ac_func in frexpf
38343 do
38344 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38345 echo "$as_me:$LINENO: checking for $ac_func" >&5
38346 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38347 if eval "test \"\${$as_ac_var+set}\" = set"; then
38348 echo $ECHO_N "(cached) $ECHO_C" >&6
38349 else
38350 if test x$gcc_no_link = xyes; then
38351 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38352 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38353 { (exit 1); exit 1; }; }
38354 fi
38355 cat >conftest.$ac_ext <<_ACEOF
38356 /* confdefs.h. */
38357 _ACEOF
38358 cat confdefs.h >>conftest.$ac_ext
38359 cat >>conftest.$ac_ext <<_ACEOF
38360 /* end confdefs.h. */
38361 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38362 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38363 #define $ac_func innocuous_$ac_func
38364
38365 /* System header to define __stub macros and hopefully few prototypes,
38366 which can conflict with char $ac_func (); below.
38367 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38368 <limits.h> exists even on freestanding compilers. */
38369
38370 #ifdef __STDC__
38371 # include <limits.h>
38372 #else
38373 # include <assert.h>
38374 #endif
38375
38376 #undef $ac_func
38377
38378 /* Override any gcc2 internal prototype to avoid an error. */
38379 #ifdef __cplusplus
38380 extern "C"
38381 {
38382 #endif
38383 /* We use char because int might match the return type of a gcc2
38384 builtin and then its argument prototype would still apply. */
38385 char $ac_func ();
38386 /* The GNU C library defines this for functions which it implements
38387 to always fail with ENOSYS. Some functions are actually named
38388 something starting with __ and the normal name is an alias. */
38389 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38390 choke me
38391 #else
38392 char (*f) () = $ac_func;
38393 #endif
38394 #ifdef __cplusplus
38395 }
38396 #endif
38397
38398 int
38399 main ()
38400 {
38401 return f != $ac_func;
38402 ;
38403 return 0;
38404 }
38405 _ACEOF
38406 rm -f conftest.$ac_objext conftest$ac_exeext
38407 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38408 (eval $ac_link) 2>conftest.er1
38409 ac_status=$?
38410 grep -v '^ *+' conftest.er1 >conftest.err
38411 rm -f conftest.er1
38412 cat conftest.err >&5
38413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38414 (exit $ac_status); } &&
38415 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38416 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38417 (eval $ac_try) 2>&5
38418 ac_status=$?
38419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38420 (exit $ac_status); }; } &&
38421 { ac_try='test -s conftest$ac_exeext'
38422 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38423 (eval $ac_try) 2>&5
38424 ac_status=$?
38425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38426 (exit $ac_status); }; }; then
38427 eval "$as_ac_var=yes"
38428 else
38429 echo "$as_me: failed program was:" >&5
38430 sed 's/^/| /' conftest.$ac_ext >&5
38431
38432 eval "$as_ac_var=no"
38433 fi
38434 rm -f conftest.err conftest.$ac_objext \
38435 conftest$ac_exeext conftest.$ac_ext
38436 fi
38437 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38438 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38439 if test `eval echo '${'$as_ac_var'}'` = yes; then
38440 cat >>confdefs.h <<_ACEOF
38441 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38442 _ACEOF
38443
38444 fi
38445 done
38446
38447 else
38448
38449 echo "$as_me:$LINENO: checking for _frexpf declaration" >&5
38450 echo $ECHO_N "checking for _frexpf declaration... $ECHO_C" >&6
38451 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
38452 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then
38453 echo $ECHO_N "(cached) $ECHO_C" >&6
38454 else
38455
38456
38457
38458 ac_ext=cc
38459 ac_cpp='$CXXCPP $CPPFLAGS'
38460 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38461 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38462 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38463
38464 cat >conftest.$ac_ext <<_ACEOF
38465 /* confdefs.h. */
38466 _ACEOF
38467 cat confdefs.h >>conftest.$ac_ext
38468 cat >>conftest.$ac_ext <<_ACEOF
38469 /* end confdefs.h. */
38470 #include <math.h>
38471 int
38472 main ()
38473 {
38474 _frexpf(0, 0);
38475 ;
38476 return 0;
38477 }
38478 _ACEOF
38479 rm -f conftest.$ac_objext
38480 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38481 (eval $ac_compile) 2>conftest.er1
38482 ac_status=$?
38483 grep -v '^ *+' conftest.er1 >conftest.err
38484 rm -f conftest.er1
38485 cat conftest.err >&5
38486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38487 (exit $ac_status); } &&
38488 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38490 (eval $ac_try) 2>&5
38491 ac_status=$?
38492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38493 (exit $ac_status); }; } &&
38494 { ac_try='test -s conftest.$ac_objext'
38495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38496 (eval $ac_try) 2>&5
38497 ac_status=$?
38498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38499 (exit $ac_status); }; }; then
38500 glibcxx_cv_func__frexpf_use=yes
38501 else
38502 echo "$as_me: failed program was:" >&5
38503 sed 's/^/| /' conftest.$ac_ext >&5
38504
38505 glibcxx_cv_func__frexpf_use=no
38506 fi
38507 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38508 ac_ext=c
38509 ac_cpp='$CPP $CPPFLAGS'
38510 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38511 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38512 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38513
38514
38515 fi
38516
38517 fi
38518 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpf_use" >&5
38519 echo "${ECHO_T}$glibcxx_cv_func__frexpf_use" >&6
38520
38521 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
38522
38523 for ac_func in _frexpf
38524 do
38525 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38526 echo "$as_me:$LINENO: checking for $ac_func" >&5
38527 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38528 if eval "test \"\${$as_ac_var+set}\" = set"; then
38529 echo $ECHO_N "(cached) $ECHO_C" >&6
38530 else
38531 if test x$gcc_no_link = xyes; then
38532 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38533 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38534 { (exit 1); exit 1; }; }
38535 fi
38536 cat >conftest.$ac_ext <<_ACEOF
38537 /* confdefs.h. */
38538 _ACEOF
38539 cat confdefs.h >>conftest.$ac_ext
38540 cat >>conftest.$ac_ext <<_ACEOF
38541 /* end confdefs.h. */
38542 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38543 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38544 #define $ac_func innocuous_$ac_func
38545
38546 /* System header to define __stub macros and hopefully few prototypes,
38547 which can conflict with char $ac_func (); below.
38548 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38549 <limits.h> exists even on freestanding compilers. */
38550
38551 #ifdef __STDC__
38552 # include <limits.h>
38553 #else
38554 # include <assert.h>
38555 #endif
38556
38557 #undef $ac_func
38558
38559 /* Override any gcc2 internal prototype to avoid an error. */
38560 #ifdef __cplusplus
38561 extern "C"
38562 {
38563 #endif
38564 /* We use char because int might match the return type of a gcc2
38565 builtin and then its argument prototype would still apply. */
38566 char $ac_func ();
38567 /* The GNU C library defines this for functions which it implements
38568 to always fail with ENOSYS. Some functions are actually named
38569 something starting with __ and the normal name is an alias. */
38570 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38571 choke me
38572 #else
38573 char (*f) () = $ac_func;
38574 #endif
38575 #ifdef __cplusplus
38576 }
38577 #endif
38578
38579 int
38580 main ()
38581 {
38582 return f != $ac_func;
38583 ;
38584 return 0;
38585 }
38586 _ACEOF
38587 rm -f conftest.$ac_objext conftest$ac_exeext
38588 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38589 (eval $ac_link) 2>conftest.er1
38590 ac_status=$?
38591 grep -v '^ *+' conftest.er1 >conftest.err
38592 rm -f conftest.er1
38593 cat conftest.err >&5
38594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38595 (exit $ac_status); } &&
38596 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38598 (eval $ac_try) 2>&5
38599 ac_status=$?
38600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38601 (exit $ac_status); }; } &&
38602 { ac_try='test -s conftest$ac_exeext'
38603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38604 (eval $ac_try) 2>&5
38605 ac_status=$?
38606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38607 (exit $ac_status); }; }; then
38608 eval "$as_ac_var=yes"
38609 else
38610 echo "$as_me: failed program was:" >&5
38611 sed 's/^/| /' conftest.$ac_ext >&5
38612
38613 eval "$as_ac_var=no"
38614 fi
38615 rm -f conftest.err conftest.$ac_objext \
38616 conftest$ac_exeext conftest.$ac_ext
38617 fi
38618 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38619 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38620 if test `eval echo '${'$as_ac_var'}'` = yes; then
38621 cat >>confdefs.h <<_ACEOF
38622 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38623 _ACEOF
38624
38625 fi
38626 done
38627
38628 fi
38629 fi
38630
38631
38632
38633
38634
38635
38636 echo "$as_me:$LINENO: checking for hypotf declaration" >&5
38637 echo $ECHO_N "checking for hypotf declaration... $ECHO_C" >&6
38638 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
38639 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then
38640 echo $ECHO_N "(cached) $ECHO_C" >&6
38641 else
38642
38643
38644
38645 ac_ext=cc
38646 ac_cpp='$CXXCPP $CPPFLAGS'
38647 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38648 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38649 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38650
38651 cat >conftest.$ac_ext <<_ACEOF
38652 /* confdefs.h. */
38653 _ACEOF
38654 cat confdefs.h >>conftest.$ac_ext
38655 cat >>conftest.$ac_ext <<_ACEOF
38656 /* end confdefs.h. */
38657 #include <math.h>
38658 int
38659 main ()
38660 {
38661 hypotf(0, 0);
38662 ;
38663 return 0;
38664 }
38665 _ACEOF
38666 rm -f conftest.$ac_objext
38667 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38668 (eval $ac_compile) 2>conftest.er1
38669 ac_status=$?
38670 grep -v '^ *+' conftest.er1 >conftest.err
38671 rm -f conftest.er1
38672 cat conftest.err >&5
38673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38674 (exit $ac_status); } &&
38675 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38676 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38677 (eval $ac_try) 2>&5
38678 ac_status=$?
38679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38680 (exit $ac_status); }; } &&
38681 { ac_try='test -s conftest.$ac_objext'
38682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38683 (eval $ac_try) 2>&5
38684 ac_status=$?
38685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38686 (exit $ac_status); }; }; then
38687 glibcxx_cv_func_hypotf_use=yes
38688 else
38689 echo "$as_me: failed program was:" >&5
38690 sed 's/^/| /' conftest.$ac_ext >&5
38691
38692 glibcxx_cv_func_hypotf_use=no
38693 fi
38694 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38695 ac_ext=c
38696 ac_cpp='$CPP $CPPFLAGS'
38697 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38698 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38699 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38700
38701
38702 fi
38703
38704 fi
38705 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotf_use" >&5
38706 echo "${ECHO_T}$glibcxx_cv_func_hypotf_use" >&6
38707
38708 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
38709
38710 for ac_func in hypotf
38711 do
38712 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38713 echo "$as_me:$LINENO: checking for $ac_func" >&5
38714 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38715 if eval "test \"\${$as_ac_var+set}\" = set"; then
38716 echo $ECHO_N "(cached) $ECHO_C" >&6
38717 else
38718 if test x$gcc_no_link = xyes; then
38719 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38720 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38721 { (exit 1); exit 1; }; }
38722 fi
38723 cat >conftest.$ac_ext <<_ACEOF
38724 /* confdefs.h. */
38725 _ACEOF
38726 cat confdefs.h >>conftest.$ac_ext
38727 cat >>conftest.$ac_ext <<_ACEOF
38728 /* end confdefs.h. */
38729 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38730 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38731 #define $ac_func innocuous_$ac_func
38732
38733 /* System header to define __stub macros and hopefully few prototypes,
38734 which can conflict with char $ac_func (); below.
38735 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38736 <limits.h> exists even on freestanding compilers. */
38737
38738 #ifdef __STDC__
38739 # include <limits.h>
38740 #else
38741 # include <assert.h>
38742 #endif
38743
38744 #undef $ac_func
38745
38746 /* Override any gcc2 internal prototype to avoid an error. */
38747 #ifdef __cplusplus
38748 extern "C"
38749 {
38750 #endif
38751 /* We use char because int might match the return type of a gcc2
38752 builtin and then its argument prototype would still apply. */
38753 char $ac_func ();
38754 /* The GNU C library defines this for functions which it implements
38755 to always fail with ENOSYS. Some functions are actually named
38756 something starting with __ and the normal name is an alias. */
38757 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38758 choke me
38759 #else
38760 char (*f) () = $ac_func;
38761 #endif
38762 #ifdef __cplusplus
38763 }
38764 #endif
38765
38766 int
38767 main ()
38768 {
38769 return f != $ac_func;
38770 ;
38771 return 0;
38772 }
38773 _ACEOF
38774 rm -f conftest.$ac_objext conftest$ac_exeext
38775 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38776 (eval $ac_link) 2>conftest.er1
38777 ac_status=$?
38778 grep -v '^ *+' conftest.er1 >conftest.err
38779 rm -f conftest.er1
38780 cat conftest.err >&5
38781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38782 (exit $ac_status); } &&
38783 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38785 (eval $ac_try) 2>&5
38786 ac_status=$?
38787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38788 (exit $ac_status); }; } &&
38789 { ac_try='test -s conftest$ac_exeext'
38790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38791 (eval $ac_try) 2>&5
38792 ac_status=$?
38793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38794 (exit $ac_status); }; }; then
38795 eval "$as_ac_var=yes"
38796 else
38797 echo "$as_me: failed program was:" >&5
38798 sed 's/^/| /' conftest.$ac_ext >&5
38799
38800 eval "$as_ac_var=no"
38801 fi
38802 rm -f conftest.err conftest.$ac_objext \
38803 conftest$ac_exeext conftest.$ac_ext
38804 fi
38805 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38806 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38807 if test `eval echo '${'$as_ac_var'}'` = yes; then
38808 cat >>confdefs.h <<_ACEOF
38809 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38810 _ACEOF
38811
38812 fi
38813 done
38814
38815 else
38816
38817 echo "$as_me:$LINENO: checking for _hypotf declaration" >&5
38818 echo $ECHO_N "checking for _hypotf declaration... $ECHO_C" >&6
38819 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
38820 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then
38821 echo $ECHO_N "(cached) $ECHO_C" >&6
38822 else
38823
38824
38825
38826 ac_ext=cc
38827 ac_cpp='$CXXCPP $CPPFLAGS'
38828 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38829 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38830 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38831
38832 cat >conftest.$ac_ext <<_ACEOF
38833 /* confdefs.h. */
38834 _ACEOF
38835 cat confdefs.h >>conftest.$ac_ext
38836 cat >>conftest.$ac_ext <<_ACEOF
38837 /* end confdefs.h. */
38838 #include <math.h>
38839 int
38840 main ()
38841 {
38842 _hypotf(0, 0);
38843 ;
38844 return 0;
38845 }
38846 _ACEOF
38847 rm -f conftest.$ac_objext
38848 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38849 (eval $ac_compile) 2>conftest.er1
38850 ac_status=$?
38851 grep -v '^ *+' conftest.er1 >conftest.err
38852 rm -f conftest.er1
38853 cat conftest.err >&5
38854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38855 (exit $ac_status); } &&
38856 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38858 (eval $ac_try) 2>&5
38859 ac_status=$?
38860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38861 (exit $ac_status); }; } &&
38862 { ac_try='test -s conftest.$ac_objext'
38863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38864 (eval $ac_try) 2>&5
38865 ac_status=$?
38866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38867 (exit $ac_status); }; }; then
38868 glibcxx_cv_func__hypotf_use=yes
38869 else
38870 echo "$as_me: failed program was:" >&5
38871 sed 's/^/| /' conftest.$ac_ext >&5
38872
38873 glibcxx_cv_func__hypotf_use=no
38874 fi
38875 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38876 ac_ext=c
38877 ac_cpp='$CPP $CPPFLAGS'
38878 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38879 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38880 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38881
38882
38883 fi
38884
38885 fi
38886 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotf_use" >&5
38887 echo "${ECHO_T}$glibcxx_cv_func__hypotf_use" >&6
38888
38889 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
38890
38891 for ac_func in _hypotf
38892 do
38893 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38894 echo "$as_me:$LINENO: checking for $ac_func" >&5
38895 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38896 if eval "test \"\${$as_ac_var+set}\" = set"; then
38897 echo $ECHO_N "(cached) $ECHO_C" >&6
38898 else
38899 if test x$gcc_no_link = xyes; then
38900 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38901 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38902 { (exit 1); exit 1; }; }
38903 fi
38904 cat >conftest.$ac_ext <<_ACEOF
38905 /* confdefs.h. */
38906 _ACEOF
38907 cat confdefs.h >>conftest.$ac_ext
38908 cat >>conftest.$ac_ext <<_ACEOF
38909 /* end confdefs.h. */
38910 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38911 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38912 #define $ac_func innocuous_$ac_func
38913
38914 /* System header to define __stub macros and hopefully few prototypes,
38915 which can conflict with char $ac_func (); below.
38916 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38917 <limits.h> exists even on freestanding compilers. */
38918
38919 #ifdef __STDC__
38920 # include <limits.h>
38921 #else
38922 # include <assert.h>
38923 #endif
38924
38925 #undef $ac_func
38926
38927 /* Override any gcc2 internal prototype to avoid an error. */
38928 #ifdef __cplusplus
38929 extern "C"
38930 {
38931 #endif
38932 /* We use char because int might match the return type of a gcc2
38933 builtin and then its argument prototype would still apply. */
38934 char $ac_func ();
38935 /* The GNU C library defines this for functions which it implements
38936 to always fail with ENOSYS. Some functions are actually named
38937 something starting with __ and the normal name is an alias. */
38938 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38939 choke me
38940 #else
38941 char (*f) () = $ac_func;
38942 #endif
38943 #ifdef __cplusplus
38944 }
38945 #endif
38946
38947 int
38948 main ()
38949 {
38950 return f != $ac_func;
38951 ;
38952 return 0;
38953 }
38954 _ACEOF
38955 rm -f conftest.$ac_objext conftest$ac_exeext
38956 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38957 (eval $ac_link) 2>conftest.er1
38958 ac_status=$?
38959 grep -v '^ *+' conftest.er1 >conftest.err
38960 rm -f conftest.er1
38961 cat conftest.err >&5
38962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38963 (exit $ac_status); } &&
38964 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38966 (eval $ac_try) 2>&5
38967 ac_status=$?
38968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38969 (exit $ac_status); }; } &&
38970 { ac_try='test -s conftest$ac_exeext'
38971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38972 (eval $ac_try) 2>&5
38973 ac_status=$?
38974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38975 (exit $ac_status); }; }; then
38976 eval "$as_ac_var=yes"
38977 else
38978 echo "$as_me: failed program was:" >&5
38979 sed 's/^/| /' conftest.$ac_ext >&5
38980
38981 eval "$as_ac_var=no"
38982 fi
38983 rm -f conftest.err conftest.$ac_objext \
38984 conftest$ac_exeext conftest.$ac_ext
38985 fi
38986 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38987 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38988 if test `eval echo '${'$as_ac_var'}'` = yes; then
38989 cat >>confdefs.h <<_ACEOF
38990 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38991 _ACEOF
38992
38993 fi
38994 done
38995
38996 fi
38997 fi
38998
38999
39000
39001
39002
39003
39004 echo "$as_me:$LINENO: checking for ldexpf declaration" >&5
39005 echo $ECHO_N "checking for ldexpf declaration... $ECHO_C" >&6
39006 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
39007 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then
39008 echo $ECHO_N "(cached) $ECHO_C" >&6
39009 else
39010
39011
39012
39013 ac_ext=cc
39014 ac_cpp='$CXXCPP $CPPFLAGS'
39015 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39016 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39017 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39018
39019 cat >conftest.$ac_ext <<_ACEOF
39020 /* confdefs.h. */
39021 _ACEOF
39022 cat confdefs.h >>conftest.$ac_ext
39023 cat >>conftest.$ac_ext <<_ACEOF
39024 /* end confdefs.h. */
39025 #include <math.h>
39026 int
39027 main ()
39028 {
39029 ldexpf(0, 0);
39030 ;
39031 return 0;
39032 }
39033 _ACEOF
39034 rm -f conftest.$ac_objext
39035 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39036 (eval $ac_compile) 2>conftest.er1
39037 ac_status=$?
39038 grep -v '^ *+' conftest.er1 >conftest.err
39039 rm -f conftest.er1
39040 cat conftest.err >&5
39041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39042 (exit $ac_status); } &&
39043 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39045 (eval $ac_try) 2>&5
39046 ac_status=$?
39047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39048 (exit $ac_status); }; } &&
39049 { ac_try='test -s conftest.$ac_objext'
39050 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39051 (eval $ac_try) 2>&5
39052 ac_status=$?
39053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39054 (exit $ac_status); }; }; then
39055 glibcxx_cv_func_ldexpf_use=yes
39056 else
39057 echo "$as_me: failed program was:" >&5
39058 sed 's/^/| /' conftest.$ac_ext >&5
39059
39060 glibcxx_cv_func_ldexpf_use=no
39061 fi
39062 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39063 ac_ext=c
39064 ac_cpp='$CPP $CPPFLAGS'
39065 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39066 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39067 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39068
39069
39070 fi
39071
39072 fi
39073 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpf_use" >&5
39074 echo "${ECHO_T}$glibcxx_cv_func_ldexpf_use" >&6
39075
39076 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
39077
39078 for ac_func in ldexpf
39079 do
39080 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39081 echo "$as_me:$LINENO: checking for $ac_func" >&5
39082 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39083 if eval "test \"\${$as_ac_var+set}\" = set"; then
39084 echo $ECHO_N "(cached) $ECHO_C" >&6
39085 else
39086 if test x$gcc_no_link = xyes; then
39087 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39088 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39089 { (exit 1); exit 1; }; }
39090 fi
39091 cat >conftest.$ac_ext <<_ACEOF
39092 /* confdefs.h. */
39093 _ACEOF
39094 cat confdefs.h >>conftest.$ac_ext
39095 cat >>conftest.$ac_ext <<_ACEOF
39096 /* end confdefs.h. */
39097 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39098 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39099 #define $ac_func innocuous_$ac_func
39100
39101 /* System header to define __stub macros and hopefully few prototypes,
39102 which can conflict with char $ac_func (); below.
39103 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39104 <limits.h> exists even on freestanding compilers. */
39105
39106 #ifdef __STDC__
39107 # include <limits.h>
39108 #else
39109 # include <assert.h>
39110 #endif
39111
39112 #undef $ac_func
39113
39114 /* Override any gcc2 internal prototype to avoid an error. */
39115 #ifdef __cplusplus
39116 extern "C"
39117 {
39118 #endif
39119 /* We use char because int might match the return type of a gcc2
39120 builtin and then its argument prototype would still apply. */
39121 char $ac_func ();
39122 /* The GNU C library defines this for functions which it implements
39123 to always fail with ENOSYS. Some functions are actually named
39124 something starting with __ and the normal name is an alias. */
39125 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39126 choke me
39127 #else
39128 char (*f) () = $ac_func;
39129 #endif
39130 #ifdef __cplusplus
39131 }
39132 #endif
39133
39134 int
39135 main ()
39136 {
39137 return f != $ac_func;
39138 ;
39139 return 0;
39140 }
39141 _ACEOF
39142 rm -f conftest.$ac_objext conftest$ac_exeext
39143 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39144 (eval $ac_link) 2>conftest.er1
39145 ac_status=$?
39146 grep -v '^ *+' conftest.er1 >conftest.err
39147 rm -f conftest.er1
39148 cat conftest.err >&5
39149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39150 (exit $ac_status); } &&
39151 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39152 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39153 (eval $ac_try) 2>&5
39154 ac_status=$?
39155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39156 (exit $ac_status); }; } &&
39157 { ac_try='test -s conftest$ac_exeext'
39158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39159 (eval $ac_try) 2>&5
39160 ac_status=$?
39161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39162 (exit $ac_status); }; }; then
39163 eval "$as_ac_var=yes"
39164 else
39165 echo "$as_me: failed program was:" >&5
39166 sed 's/^/| /' conftest.$ac_ext >&5
39167
39168 eval "$as_ac_var=no"
39169 fi
39170 rm -f conftest.err conftest.$ac_objext \
39171 conftest$ac_exeext conftest.$ac_ext
39172 fi
39173 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39174 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39175 if test `eval echo '${'$as_ac_var'}'` = yes; then
39176 cat >>confdefs.h <<_ACEOF
39177 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39178 _ACEOF
39179
39180 fi
39181 done
39182
39183 else
39184
39185 echo "$as_me:$LINENO: checking for _ldexpf declaration" >&5
39186 echo $ECHO_N "checking for _ldexpf declaration... $ECHO_C" >&6
39187 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
39188 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then
39189 echo $ECHO_N "(cached) $ECHO_C" >&6
39190 else
39191
39192
39193
39194 ac_ext=cc
39195 ac_cpp='$CXXCPP $CPPFLAGS'
39196 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39197 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39198 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39199
39200 cat >conftest.$ac_ext <<_ACEOF
39201 /* confdefs.h. */
39202 _ACEOF
39203 cat confdefs.h >>conftest.$ac_ext
39204 cat >>conftest.$ac_ext <<_ACEOF
39205 /* end confdefs.h. */
39206 #include <math.h>
39207 int
39208 main ()
39209 {
39210 _ldexpf(0, 0);
39211 ;
39212 return 0;
39213 }
39214 _ACEOF
39215 rm -f conftest.$ac_objext
39216 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39217 (eval $ac_compile) 2>conftest.er1
39218 ac_status=$?
39219 grep -v '^ *+' conftest.er1 >conftest.err
39220 rm -f conftest.er1
39221 cat conftest.err >&5
39222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39223 (exit $ac_status); } &&
39224 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39226 (eval $ac_try) 2>&5
39227 ac_status=$?
39228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39229 (exit $ac_status); }; } &&
39230 { ac_try='test -s conftest.$ac_objext'
39231 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39232 (eval $ac_try) 2>&5
39233 ac_status=$?
39234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39235 (exit $ac_status); }; }; then
39236 glibcxx_cv_func__ldexpf_use=yes
39237 else
39238 echo "$as_me: failed program was:" >&5
39239 sed 's/^/| /' conftest.$ac_ext >&5
39240
39241 glibcxx_cv_func__ldexpf_use=no
39242 fi
39243 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39244 ac_ext=c
39245 ac_cpp='$CPP $CPPFLAGS'
39246 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39247 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39248 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39249
39250
39251 fi
39252
39253 fi
39254 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpf_use" >&5
39255 echo "${ECHO_T}$glibcxx_cv_func__ldexpf_use" >&6
39256
39257 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
39258
39259 for ac_func in _ldexpf
39260 do
39261 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39262 echo "$as_me:$LINENO: checking for $ac_func" >&5
39263 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39264 if eval "test \"\${$as_ac_var+set}\" = set"; then
39265 echo $ECHO_N "(cached) $ECHO_C" >&6
39266 else
39267 if test x$gcc_no_link = xyes; then
39268 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39269 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39270 { (exit 1); exit 1; }; }
39271 fi
39272 cat >conftest.$ac_ext <<_ACEOF
39273 /* confdefs.h. */
39274 _ACEOF
39275 cat confdefs.h >>conftest.$ac_ext
39276 cat >>conftest.$ac_ext <<_ACEOF
39277 /* end confdefs.h. */
39278 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39279 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39280 #define $ac_func innocuous_$ac_func
39281
39282 /* System header to define __stub macros and hopefully few prototypes,
39283 which can conflict with char $ac_func (); below.
39284 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39285 <limits.h> exists even on freestanding compilers. */
39286
39287 #ifdef __STDC__
39288 # include <limits.h>
39289 #else
39290 # include <assert.h>
39291 #endif
39292
39293 #undef $ac_func
39294
39295 /* Override any gcc2 internal prototype to avoid an error. */
39296 #ifdef __cplusplus
39297 extern "C"
39298 {
39299 #endif
39300 /* We use char because int might match the return type of a gcc2
39301 builtin and then its argument prototype would still apply. */
39302 char $ac_func ();
39303 /* The GNU C library defines this for functions which it implements
39304 to always fail with ENOSYS. Some functions are actually named
39305 something starting with __ and the normal name is an alias. */
39306 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39307 choke me
39308 #else
39309 char (*f) () = $ac_func;
39310 #endif
39311 #ifdef __cplusplus
39312 }
39313 #endif
39314
39315 int
39316 main ()
39317 {
39318 return f != $ac_func;
39319 ;
39320 return 0;
39321 }
39322 _ACEOF
39323 rm -f conftest.$ac_objext conftest$ac_exeext
39324 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39325 (eval $ac_link) 2>conftest.er1
39326 ac_status=$?
39327 grep -v '^ *+' conftest.er1 >conftest.err
39328 rm -f conftest.er1
39329 cat conftest.err >&5
39330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39331 (exit $ac_status); } &&
39332 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39334 (eval $ac_try) 2>&5
39335 ac_status=$?
39336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39337 (exit $ac_status); }; } &&
39338 { ac_try='test -s conftest$ac_exeext'
39339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39340 (eval $ac_try) 2>&5
39341 ac_status=$?
39342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39343 (exit $ac_status); }; }; then
39344 eval "$as_ac_var=yes"
39345 else
39346 echo "$as_me: failed program was:" >&5
39347 sed 's/^/| /' conftest.$ac_ext >&5
39348
39349 eval "$as_ac_var=no"
39350 fi
39351 rm -f conftest.err conftest.$ac_objext \
39352 conftest$ac_exeext conftest.$ac_ext
39353 fi
39354 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39355 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39356 if test `eval echo '${'$as_ac_var'}'` = yes; then
39357 cat >>confdefs.h <<_ACEOF
39358 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39359 _ACEOF
39360
39361 fi
39362 done
39363
39364 fi
39365 fi
39366
39367
39368
39369
39370
39371
39372 echo "$as_me:$LINENO: checking for logf declaration" >&5
39373 echo $ECHO_N "checking for logf declaration... $ECHO_C" >&6
39374 if test x${glibcxx_cv_func_logf_use+set} != xset; then
39375 if test "${glibcxx_cv_func_logf_use+set}" = set; then
39376 echo $ECHO_N "(cached) $ECHO_C" >&6
39377 else
39378
39379
39380
39381 ac_ext=cc
39382 ac_cpp='$CXXCPP $CPPFLAGS'
39383 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39384 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39385 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39386
39387 cat >conftest.$ac_ext <<_ACEOF
39388 /* confdefs.h. */
39389 _ACEOF
39390 cat confdefs.h >>conftest.$ac_ext
39391 cat >>conftest.$ac_ext <<_ACEOF
39392 /* end confdefs.h. */
39393 #include <math.h>
39394 #ifdef HAVE_IEEEFP_H
39395 #include <ieeefp.h>
39396 #endif
39397
39398 int
39399 main ()
39400 {
39401 logf(0);
39402 ;
39403 return 0;
39404 }
39405 _ACEOF
39406 rm -f conftest.$ac_objext
39407 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39408 (eval $ac_compile) 2>conftest.er1
39409 ac_status=$?
39410 grep -v '^ *+' conftest.er1 >conftest.err
39411 rm -f conftest.er1
39412 cat conftest.err >&5
39413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39414 (exit $ac_status); } &&
39415 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39416 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39417 (eval $ac_try) 2>&5
39418 ac_status=$?
39419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39420 (exit $ac_status); }; } &&
39421 { ac_try='test -s conftest.$ac_objext'
39422 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39423 (eval $ac_try) 2>&5
39424 ac_status=$?
39425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39426 (exit $ac_status); }; }; then
39427 glibcxx_cv_func_logf_use=yes
39428 else
39429 echo "$as_me: failed program was:" >&5
39430 sed 's/^/| /' conftest.$ac_ext >&5
39431
39432 glibcxx_cv_func_logf_use=no
39433 fi
39434 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39435 ac_ext=c
39436 ac_cpp='$CPP $CPPFLAGS'
39437 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39438 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39439 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39440
39441
39442 fi
39443
39444 fi
39445 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logf_use" >&5
39446 echo "${ECHO_T}$glibcxx_cv_func_logf_use" >&6
39447
39448 if test x$glibcxx_cv_func_logf_use = x"yes"; then
39449
39450 for ac_func in logf
39451 do
39452 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39453 echo "$as_me:$LINENO: checking for $ac_func" >&5
39454 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39455 if eval "test \"\${$as_ac_var+set}\" = set"; then
39456 echo $ECHO_N "(cached) $ECHO_C" >&6
39457 else
39458 if test x$gcc_no_link = xyes; then
39459 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39460 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39461 { (exit 1); exit 1; }; }
39462 fi
39463 cat >conftest.$ac_ext <<_ACEOF
39464 /* confdefs.h. */
39465 _ACEOF
39466 cat confdefs.h >>conftest.$ac_ext
39467 cat >>conftest.$ac_ext <<_ACEOF
39468 /* end confdefs.h. */
39469 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39470 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39471 #define $ac_func innocuous_$ac_func
39472
39473 /* System header to define __stub macros and hopefully few prototypes,
39474 which can conflict with char $ac_func (); below.
39475 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39476 <limits.h> exists even on freestanding compilers. */
39477
39478 #ifdef __STDC__
39479 # include <limits.h>
39480 #else
39481 # include <assert.h>
39482 #endif
39483
39484 #undef $ac_func
39485
39486 /* Override any gcc2 internal prototype to avoid an error. */
39487 #ifdef __cplusplus
39488 extern "C"
39489 {
39490 #endif
39491 /* We use char because int might match the return type of a gcc2
39492 builtin and then its argument prototype would still apply. */
39493 char $ac_func ();
39494 /* The GNU C library defines this for functions which it implements
39495 to always fail with ENOSYS. Some functions are actually named
39496 something starting with __ and the normal name is an alias. */
39497 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39498 choke me
39499 #else
39500 char (*f) () = $ac_func;
39501 #endif
39502 #ifdef __cplusplus
39503 }
39504 #endif
39505
39506 int
39507 main ()
39508 {
39509 return f != $ac_func;
39510 ;
39511 return 0;
39512 }
39513 _ACEOF
39514 rm -f conftest.$ac_objext conftest$ac_exeext
39515 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39516 (eval $ac_link) 2>conftest.er1
39517 ac_status=$?
39518 grep -v '^ *+' conftest.er1 >conftest.err
39519 rm -f conftest.er1
39520 cat conftest.err >&5
39521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39522 (exit $ac_status); } &&
39523 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39524 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39525 (eval $ac_try) 2>&5
39526 ac_status=$?
39527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39528 (exit $ac_status); }; } &&
39529 { ac_try='test -s conftest$ac_exeext'
39530 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39531 (eval $ac_try) 2>&5
39532 ac_status=$?
39533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39534 (exit $ac_status); }; }; then
39535 eval "$as_ac_var=yes"
39536 else
39537 echo "$as_me: failed program was:" >&5
39538 sed 's/^/| /' conftest.$ac_ext >&5
39539
39540 eval "$as_ac_var=no"
39541 fi
39542 rm -f conftest.err conftest.$ac_objext \
39543 conftest$ac_exeext conftest.$ac_ext
39544 fi
39545 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39546 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39547 if test `eval echo '${'$as_ac_var'}'` = yes; then
39548 cat >>confdefs.h <<_ACEOF
39549 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39550 _ACEOF
39551
39552 fi
39553 done
39554
39555 else
39556
39557 echo "$as_me:$LINENO: checking for _logf declaration" >&5
39558 echo $ECHO_N "checking for _logf declaration... $ECHO_C" >&6
39559 if test x${glibcxx_cv_func__logf_use+set} != xset; then
39560 if test "${glibcxx_cv_func__logf_use+set}" = set; then
39561 echo $ECHO_N "(cached) $ECHO_C" >&6
39562 else
39563
39564
39565
39566 ac_ext=cc
39567 ac_cpp='$CXXCPP $CPPFLAGS'
39568 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39569 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39570 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39571
39572 cat >conftest.$ac_ext <<_ACEOF
39573 /* confdefs.h. */
39574 _ACEOF
39575 cat confdefs.h >>conftest.$ac_ext
39576 cat >>conftest.$ac_ext <<_ACEOF
39577 /* end confdefs.h. */
39578 #include <math.h>
39579 #ifdef HAVE_IEEEFP_H
39580 #include <ieeefp.h>
39581 #endif
39582
39583 int
39584 main ()
39585 {
39586 _logf(0);
39587 ;
39588 return 0;
39589 }
39590 _ACEOF
39591 rm -f conftest.$ac_objext
39592 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39593 (eval $ac_compile) 2>conftest.er1
39594 ac_status=$?
39595 grep -v '^ *+' conftest.er1 >conftest.err
39596 rm -f conftest.er1
39597 cat conftest.err >&5
39598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39599 (exit $ac_status); } &&
39600 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39602 (eval $ac_try) 2>&5
39603 ac_status=$?
39604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39605 (exit $ac_status); }; } &&
39606 { ac_try='test -s conftest.$ac_objext'
39607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39608 (eval $ac_try) 2>&5
39609 ac_status=$?
39610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39611 (exit $ac_status); }; }; then
39612 glibcxx_cv_func__logf_use=yes
39613 else
39614 echo "$as_me: failed program was:" >&5
39615 sed 's/^/| /' conftest.$ac_ext >&5
39616
39617 glibcxx_cv_func__logf_use=no
39618 fi
39619 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39620 ac_ext=c
39621 ac_cpp='$CPP $CPPFLAGS'
39622 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39623 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39624 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39625
39626
39627 fi
39628
39629 fi
39630 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logf_use" >&5
39631 echo "${ECHO_T}$glibcxx_cv_func__logf_use" >&6
39632
39633 if test x$glibcxx_cv_func__logf_use = x"yes"; then
39634
39635 for ac_func in _logf
39636 do
39637 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39638 echo "$as_me:$LINENO: checking for $ac_func" >&5
39639 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39640 if eval "test \"\${$as_ac_var+set}\" = set"; then
39641 echo $ECHO_N "(cached) $ECHO_C" >&6
39642 else
39643 if test x$gcc_no_link = xyes; then
39644 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39645 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39646 { (exit 1); exit 1; }; }
39647 fi
39648 cat >conftest.$ac_ext <<_ACEOF
39649 /* confdefs.h. */
39650 _ACEOF
39651 cat confdefs.h >>conftest.$ac_ext
39652 cat >>conftest.$ac_ext <<_ACEOF
39653 /* end confdefs.h. */
39654 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39655 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39656 #define $ac_func innocuous_$ac_func
39657
39658 /* System header to define __stub macros and hopefully few prototypes,
39659 which can conflict with char $ac_func (); below.
39660 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39661 <limits.h> exists even on freestanding compilers. */
39662
39663 #ifdef __STDC__
39664 # include <limits.h>
39665 #else
39666 # include <assert.h>
39667 #endif
39668
39669 #undef $ac_func
39670
39671 /* Override any gcc2 internal prototype to avoid an error. */
39672 #ifdef __cplusplus
39673 extern "C"
39674 {
39675 #endif
39676 /* We use char because int might match the return type of a gcc2
39677 builtin and then its argument prototype would still apply. */
39678 char $ac_func ();
39679 /* The GNU C library defines this for functions which it implements
39680 to always fail with ENOSYS. Some functions are actually named
39681 something starting with __ and the normal name is an alias. */
39682 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39683 choke me
39684 #else
39685 char (*f) () = $ac_func;
39686 #endif
39687 #ifdef __cplusplus
39688 }
39689 #endif
39690
39691 int
39692 main ()
39693 {
39694 return f != $ac_func;
39695 ;
39696 return 0;
39697 }
39698 _ACEOF
39699 rm -f conftest.$ac_objext conftest$ac_exeext
39700 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39701 (eval $ac_link) 2>conftest.er1
39702 ac_status=$?
39703 grep -v '^ *+' conftest.er1 >conftest.err
39704 rm -f conftest.er1
39705 cat conftest.err >&5
39706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39707 (exit $ac_status); } &&
39708 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39710 (eval $ac_try) 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
39724
39725 eval "$as_ac_var=no"
39726 fi
39727 rm -f conftest.err conftest.$ac_objext \
39728 conftest$ac_exeext conftest.$ac_ext
39729 fi
39730 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39731 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39732 if test `eval echo '${'$as_ac_var'}'` = yes; then
39733 cat >>confdefs.h <<_ACEOF
39734 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39735 _ACEOF
39736
39737 fi
39738 done
39739
39740 fi
39741 fi
39742
39743
39744
39745
39746
39747
39748 echo "$as_me:$LINENO: checking for log10f declaration" >&5
39749 echo $ECHO_N "checking for log10f declaration... $ECHO_C" >&6
39750 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
39751 if test "${glibcxx_cv_func_log10f_use+set}" = set; then
39752 echo $ECHO_N "(cached) $ECHO_C" >&6
39753 else
39754
39755
39756
39757 ac_ext=cc
39758 ac_cpp='$CXXCPP $CPPFLAGS'
39759 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39760 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39761 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39762
39763 cat >conftest.$ac_ext <<_ACEOF
39764 /* confdefs.h. */
39765 _ACEOF
39766 cat confdefs.h >>conftest.$ac_ext
39767 cat >>conftest.$ac_ext <<_ACEOF
39768 /* end confdefs.h. */
39769 #include <math.h>
39770 #ifdef HAVE_IEEEFP_H
39771 #include <ieeefp.h>
39772 #endif
39773
39774 int
39775 main ()
39776 {
39777 log10f(0);
39778 ;
39779 return 0;
39780 }
39781 _ACEOF
39782 rm -f conftest.$ac_objext
39783 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39784 (eval $ac_compile) 2>conftest.er1
39785 ac_status=$?
39786 grep -v '^ *+' conftest.er1 >conftest.err
39787 rm -f conftest.er1
39788 cat conftest.err >&5
39789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39790 (exit $ac_status); } &&
39791 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39793 (eval $ac_try) 2>&5
39794 ac_status=$?
39795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39796 (exit $ac_status); }; } &&
39797 { ac_try='test -s conftest.$ac_objext'
39798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39799 (eval $ac_try) 2>&5
39800 ac_status=$?
39801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39802 (exit $ac_status); }; }; then
39803 glibcxx_cv_func_log10f_use=yes
39804 else
39805 echo "$as_me: failed program was:" >&5
39806 sed 's/^/| /' conftest.$ac_ext >&5
39807
39808 glibcxx_cv_func_log10f_use=no
39809 fi
39810 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39811 ac_ext=c
39812 ac_cpp='$CPP $CPPFLAGS'
39813 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39814 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39815 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39816
39817
39818 fi
39819
39820 fi
39821 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10f_use" >&5
39822 echo "${ECHO_T}$glibcxx_cv_func_log10f_use" >&6
39823
39824 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
39825
39826 for ac_func in log10f
39827 do
39828 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39829 echo "$as_me:$LINENO: checking for $ac_func" >&5
39830 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39831 if eval "test \"\${$as_ac_var+set}\" = set"; then
39832 echo $ECHO_N "(cached) $ECHO_C" >&6
39833 else
39834 if test x$gcc_no_link = xyes; then
39835 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39836 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39837 { (exit 1); exit 1; }; }
39838 fi
39839 cat >conftest.$ac_ext <<_ACEOF
39840 /* confdefs.h. */
39841 _ACEOF
39842 cat confdefs.h >>conftest.$ac_ext
39843 cat >>conftest.$ac_ext <<_ACEOF
39844 /* end confdefs.h. */
39845 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39846 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39847 #define $ac_func innocuous_$ac_func
39848
39849 /* System header to define __stub macros and hopefully few prototypes,
39850 which can conflict with char $ac_func (); below.
39851 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39852 <limits.h> exists even on freestanding compilers. */
39853
39854 #ifdef __STDC__
39855 # include <limits.h>
39856 #else
39857 # include <assert.h>
39858 #endif
39859
39860 #undef $ac_func
39861
39862 /* Override any gcc2 internal prototype to avoid an error. */
39863 #ifdef __cplusplus
39864 extern "C"
39865 {
39866 #endif
39867 /* We use char because int might match the return type of a gcc2
39868 builtin and then its argument prototype would still apply. */
39869 char $ac_func ();
39870 /* The GNU C library defines this for functions which it implements
39871 to always fail with ENOSYS. Some functions are actually named
39872 something starting with __ and the normal name is an alias. */
39873 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39874 choke me
39875 #else
39876 char (*f) () = $ac_func;
39877 #endif
39878 #ifdef __cplusplus
39879 }
39880 #endif
39881
39882 int
39883 main ()
39884 {
39885 return f != $ac_func;
39886 ;
39887 return 0;
39888 }
39889 _ACEOF
39890 rm -f conftest.$ac_objext conftest$ac_exeext
39891 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39892 (eval $ac_link) 2>conftest.er1
39893 ac_status=$?
39894 grep -v '^ *+' conftest.er1 >conftest.err
39895 rm -f conftest.er1
39896 cat conftest.err >&5
39897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39898 (exit $ac_status); } &&
39899 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39901 (eval $ac_try) 2>&5
39902 ac_status=$?
39903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39904 (exit $ac_status); }; } &&
39905 { ac_try='test -s conftest$ac_exeext'
39906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39907 (eval $ac_try) 2>&5
39908 ac_status=$?
39909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39910 (exit $ac_status); }; }; then
39911 eval "$as_ac_var=yes"
39912 else
39913 echo "$as_me: failed program was:" >&5
39914 sed 's/^/| /' conftest.$ac_ext >&5
39915
39916 eval "$as_ac_var=no"
39917 fi
39918 rm -f conftest.err conftest.$ac_objext \
39919 conftest$ac_exeext conftest.$ac_ext
39920 fi
39921 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39922 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39923 if test `eval echo '${'$as_ac_var'}'` = yes; then
39924 cat >>confdefs.h <<_ACEOF
39925 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39926 _ACEOF
39927
39928 fi
39929 done
39930
39931 else
39932
39933 echo "$as_me:$LINENO: checking for _log10f declaration" >&5
39934 echo $ECHO_N "checking for _log10f declaration... $ECHO_C" >&6
39935 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
39936 if test "${glibcxx_cv_func__log10f_use+set}" = set; then
39937 echo $ECHO_N "(cached) $ECHO_C" >&6
39938 else
39939
39940
39941
39942 ac_ext=cc
39943 ac_cpp='$CXXCPP $CPPFLAGS'
39944 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39945 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39946 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39947
39948 cat >conftest.$ac_ext <<_ACEOF
39949 /* confdefs.h. */
39950 _ACEOF
39951 cat confdefs.h >>conftest.$ac_ext
39952 cat >>conftest.$ac_ext <<_ACEOF
39953 /* end confdefs.h. */
39954 #include <math.h>
39955 #ifdef HAVE_IEEEFP_H
39956 #include <ieeefp.h>
39957 #endif
39958
39959 int
39960 main ()
39961 {
39962 _log10f(0);
39963 ;
39964 return 0;
39965 }
39966 _ACEOF
39967 rm -f conftest.$ac_objext
39968 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39969 (eval $ac_compile) 2>conftest.er1
39970 ac_status=$?
39971 grep -v '^ *+' conftest.er1 >conftest.err
39972 rm -f conftest.er1
39973 cat conftest.err >&5
39974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39975 (exit $ac_status); } &&
39976 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39977 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39978 (eval $ac_try) 2>&5
39979 ac_status=$?
39980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39981 (exit $ac_status); }; } &&
39982 { ac_try='test -s conftest.$ac_objext'
39983 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39984 (eval $ac_try) 2>&5
39985 ac_status=$?
39986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39987 (exit $ac_status); }; }; then
39988 glibcxx_cv_func__log10f_use=yes
39989 else
39990 echo "$as_me: failed program was:" >&5
39991 sed 's/^/| /' conftest.$ac_ext >&5
39992
39993 glibcxx_cv_func__log10f_use=no
39994 fi
39995 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39996 ac_ext=c
39997 ac_cpp='$CPP $CPPFLAGS'
39998 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39999 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40000 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40001
40002
40003 fi
40004
40005 fi
40006 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10f_use" >&5
40007 echo "${ECHO_T}$glibcxx_cv_func__log10f_use" >&6
40008
40009 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
40010
40011 for ac_func in _log10f
40012 do
40013 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40014 echo "$as_me:$LINENO: checking for $ac_func" >&5
40015 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40016 if eval "test \"\${$as_ac_var+set}\" = set"; then
40017 echo $ECHO_N "(cached) $ECHO_C" >&6
40018 else
40019 if test x$gcc_no_link = xyes; then
40020 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40021 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40022 { (exit 1); exit 1; }; }
40023 fi
40024 cat >conftest.$ac_ext <<_ACEOF
40025 /* confdefs.h. */
40026 _ACEOF
40027 cat confdefs.h >>conftest.$ac_ext
40028 cat >>conftest.$ac_ext <<_ACEOF
40029 /* end confdefs.h. */
40030 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40031 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40032 #define $ac_func innocuous_$ac_func
40033
40034 /* System header to define __stub macros and hopefully few prototypes,
40035 which can conflict with char $ac_func (); below.
40036 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40037 <limits.h> exists even on freestanding compilers. */
40038
40039 #ifdef __STDC__
40040 # include <limits.h>
40041 #else
40042 # include <assert.h>
40043 #endif
40044
40045 #undef $ac_func
40046
40047 /* Override any gcc2 internal prototype to avoid an error. */
40048 #ifdef __cplusplus
40049 extern "C"
40050 {
40051 #endif
40052 /* We use char because int might match the return type of a gcc2
40053 builtin and then its argument prototype would still apply. */
40054 char $ac_func ();
40055 /* The GNU C library defines this for functions which it implements
40056 to always fail with ENOSYS. Some functions are actually named
40057 something starting with __ and the normal name is an alias. */
40058 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40059 choke me
40060 #else
40061 char (*f) () = $ac_func;
40062 #endif
40063 #ifdef __cplusplus
40064 }
40065 #endif
40066
40067 int
40068 main ()
40069 {
40070 return f != $ac_func;
40071 ;
40072 return 0;
40073 }
40074 _ACEOF
40075 rm -f conftest.$ac_objext conftest$ac_exeext
40076 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40077 (eval $ac_link) 2>conftest.er1
40078 ac_status=$?
40079 grep -v '^ *+' conftest.er1 >conftest.err
40080 rm -f conftest.er1
40081 cat conftest.err >&5
40082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40083 (exit $ac_status); } &&
40084 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40086 (eval $ac_try) 2>&5
40087 ac_status=$?
40088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40089 (exit $ac_status); }; } &&
40090 { ac_try='test -s conftest$ac_exeext'
40091 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40092 (eval $ac_try) 2>&5
40093 ac_status=$?
40094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40095 (exit $ac_status); }; }; then
40096 eval "$as_ac_var=yes"
40097 else
40098 echo "$as_me: failed program was:" >&5
40099 sed 's/^/| /' conftest.$ac_ext >&5
40100
40101 eval "$as_ac_var=no"
40102 fi
40103 rm -f conftest.err conftest.$ac_objext \
40104 conftest$ac_exeext conftest.$ac_ext
40105 fi
40106 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40107 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40108 if test `eval echo '${'$as_ac_var'}'` = yes; then
40109 cat >>confdefs.h <<_ACEOF
40110 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40111 _ACEOF
40112
40113 fi
40114 done
40115
40116 fi
40117 fi
40118
40119
40120
40121
40122
40123
40124 echo "$as_me:$LINENO: checking for modff declaration" >&5
40125 echo $ECHO_N "checking for modff declaration... $ECHO_C" >&6
40126 if test x${glibcxx_cv_func_modff_use+set} != xset; then
40127 if test "${glibcxx_cv_func_modff_use+set}" = set; then
40128 echo $ECHO_N "(cached) $ECHO_C" >&6
40129 else
40130
40131
40132
40133 ac_ext=cc
40134 ac_cpp='$CXXCPP $CPPFLAGS'
40135 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40136 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40137 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40138
40139 cat >conftest.$ac_ext <<_ACEOF
40140 /* confdefs.h. */
40141 _ACEOF
40142 cat confdefs.h >>conftest.$ac_ext
40143 cat >>conftest.$ac_ext <<_ACEOF
40144 /* end confdefs.h. */
40145 #include <math.h>
40146 int
40147 main ()
40148 {
40149 modff(0, 0);
40150 ;
40151 return 0;
40152 }
40153 _ACEOF
40154 rm -f conftest.$ac_objext
40155 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40156 (eval $ac_compile) 2>conftest.er1
40157 ac_status=$?
40158 grep -v '^ *+' conftest.er1 >conftest.err
40159 rm -f conftest.er1
40160 cat conftest.err >&5
40161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40162 (exit $ac_status); } &&
40163 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40165 (eval $ac_try) 2>&5
40166 ac_status=$?
40167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40168 (exit $ac_status); }; } &&
40169 { ac_try='test -s conftest.$ac_objext'
40170 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40171 (eval $ac_try) 2>&5
40172 ac_status=$?
40173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40174 (exit $ac_status); }; }; then
40175 glibcxx_cv_func_modff_use=yes
40176 else
40177 echo "$as_me: failed program was:" >&5
40178 sed 's/^/| /' conftest.$ac_ext >&5
40179
40180 glibcxx_cv_func_modff_use=no
40181 fi
40182 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40183 ac_ext=c
40184 ac_cpp='$CPP $CPPFLAGS'
40185 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40186 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40187 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40188
40189
40190 fi
40191
40192 fi
40193 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modff_use" >&5
40194 echo "${ECHO_T}$glibcxx_cv_func_modff_use" >&6
40195
40196 if test x$glibcxx_cv_func_modff_use = x"yes"; then
40197
40198 for ac_func in modff
40199 do
40200 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40201 echo "$as_me:$LINENO: checking for $ac_func" >&5
40202 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40203 if eval "test \"\${$as_ac_var+set}\" = set"; then
40204 echo $ECHO_N "(cached) $ECHO_C" >&6
40205 else
40206 if test x$gcc_no_link = xyes; then
40207 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40208 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40209 { (exit 1); exit 1; }; }
40210 fi
40211 cat >conftest.$ac_ext <<_ACEOF
40212 /* confdefs.h. */
40213 _ACEOF
40214 cat confdefs.h >>conftest.$ac_ext
40215 cat >>conftest.$ac_ext <<_ACEOF
40216 /* end confdefs.h. */
40217 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40218 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40219 #define $ac_func innocuous_$ac_func
40220
40221 /* System header to define __stub macros and hopefully few prototypes,
40222 which can conflict with char $ac_func (); below.
40223 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40224 <limits.h> exists even on freestanding compilers. */
40225
40226 #ifdef __STDC__
40227 # include <limits.h>
40228 #else
40229 # include <assert.h>
40230 #endif
40231
40232 #undef $ac_func
40233
40234 /* Override any gcc2 internal prototype to avoid an error. */
40235 #ifdef __cplusplus
40236 extern "C"
40237 {
40238 #endif
40239 /* We use char because int might match the return type of a gcc2
40240 builtin and then its argument prototype would still apply. */
40241 char $ac_func ();
40242 /* The GNU C library defines this for functions which it implements
40243 to always fail with ENOSYS. Some functions are actually named
40244 something starting with __ and the normal name is an alias. */
40245 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40246 choke me
40247 #else
40248 char (*f) () = $ac_func;
40249 #endif
40250 #ifdef __cplusplus
40251 }
40252 #endif
40253
40254 int
40255 main ()
40256 {
40257 return f != $ac_func;
40258 ;
40259 return 0;
40260 }
40261 _ACEOF
40262 rm -f conftest.$ac_objext conftest$ac_exeext
40263 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40264 (eval $ac_link) 2>conftest.er1
40265 ac_status=$?
40266 grep -v '^ *+' conftest.er1 >conftest.err
40267 rm -f conftest.er1
40268 cat conftest.err >&5
40269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40270 (exit $ac_status); } &&
40271 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40273 (eval $ac_try) 2>&5
40274 ac_status=$?
40275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40276 (exit $ac_status); }; } &&
40277 { ac_try='test -s conftest$ac_exeext'
40278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40279 (eval $ac_try) 2>&5
40280 ac_status=$?
40281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40282 (exit $ac_status); }; }; then
40283 eval "$as_ac_var=yes"
40284 else
40285 echo "$as_me: failed program was:" >&5
40286 sed 's/^/| /' conftest.$ac_ext >&5
40287
40288 eval "$as_ac_var=no"
40289 fi
40290 rm -f conftest.err conftest.$ac_objext \
40291 conftest$ac_exeext conftest.$ac_ext
40292 fi
40293 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40294 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40295 if test `eval echo '${'$as_ac_var'}'` = yes; then
40296 cat >>confdefs.h <<_ACEOF
40297 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40298 _ACEOF
40299
40300 fi
40301 done
40302
40303 else
40304
40305 echo "$as_me:$LINENO: checking for _modff declaration" >&5
40306 echo $ECHO_N "checking for _modff declaration... $ECHO_C" >&6
40307 if test x${glibcxx_cv_func__modff_use+set} != xset; then
40308 if test "${glibcxx_cv_func__modff_use+set}" = set; then
40309 echo $ECHO_N "(cached) $ECHO_C" >&6
40310 else
40311
40312
40313
40314 ac_ext=cc
40315 ac_cpp='$CXXCPP $CPPFLAGS'
40316 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40317 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40318 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40319
40320 cat >conftest.$ac_ext <<_ACEOF
40321 /* confdefs.h. */
40322 _ACEOF
40323 cat confdefs.h >>conftest.$ac_ext
40324 cat >>conftest.$ac_ext <<_ACEOF
40325 /* end confdefs.h. */
40326 #include <math.h>
40327 int
40328 main ()
40329 {
40330 _modff(0, 0);
40331 ;
40332 return 0;
40333 }
40334 _ACEOF
40335 rm -f conftest.$ac_objext
40336 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40337 (eval $ac_compile) 2>conftest.er1
40338 ac_status=$?
40339 grep -v '^ *+' conftest.er1 >conftest.err
40340 rm -f conftest.er1
40341 cat conftest.err >&5
40342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40343 (exit $ac_status); } &&
40344 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40345 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40346 (eval $ac_try) 2>&5
40347 ac_status=$?
40348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40349 (exit $ac_status); }; } &&
40350 { ac_try='test -s conftest.$ac_objext'
40351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40352 (eval $ac_try) 2>&5
40353 ac_status=$?
40354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40355 (exit $ac_status); }; }; then
40356 glibcxx_cv_func__modff_use=yes
40357 else
40358 echo "$as_me: failed program was:" >&5
40359 sed 's/^/| /' conftest.$ac_ext >&5
40360
40361 glibcxx_cv_func__modff_use=no
40362 fi
40363 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40364 ac_ext=c
40365 ac_cpp='$CPP $CPPFLAGS'
40366 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40367 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40368 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40369
40370
40371 fi
40372
40373 fi
40374 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modff_use" >&5
40375 echo "${ECHO_T}$glibcxx_cv_func__modff_use" >&6
40376
40377 if test x$glibcxx_cv_func__modff_use = x"yes"; then
40378
40379 for ac_func in _modff
40380 do
40381 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40382 echo "$as_me:$LINENO: checking for $ac_func" >&5
40383 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40384 if eval "test \"\${$as_ac_var+set}\" = set"; then
40385 echo $ECHO_N "(cached) $ECHO_C" >&6
40386 else
40387 if test x$gcc_no_link = xyes; then
40388 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40389 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40390 { (exit 1); exit 1; }; }
40391 fi
40392 cat >conftest.$ac_ext <<_ACEOF
40393 /* confdefs.h. */
40394 _ACEOF
40395 cat confdefs.h >>conftest.$ac_ext
40396 cat >>conftest.$ac_ext <<_ACEOF
40397 /* end confdefs.h. */
40398 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40399 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40400 #define $ac_func innocuous_$ac_func
40401
40402 /* System header to define __stub macros and hopefully few prototypes,
40403 which can conflict with char $ac_func (); below.
40404 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40405 <limits.h> exists even on freestanding compilers. */
40406
40407 #ifdef __STDC__
40408 # include <limits.h>
40409 #else
40410 # include <assert.h>
40411 #endif
40412
40413 #undef $ac_func
40414
40415 /* Override any gcc2 internal prototype to avoid an error. */
40416 #ifdef __cplusplus
40417 extern "C"
40418 {
40419 #endif
40420 /* We use char because int might match the return type of a gcc2
40421 builtin and then its argument prototype would still apply. */
40422 char $ac_func ();
40423 /* The GNU C library defines this for functions which it implements
40424 to always fail with ENOSYS. Some functions are actually named
40425 something starting with __ and the normal name is an alias. */
40426 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40427 choke me
40428 #else
40429 char (*f) () = $ac_func;
40430 #endif
40431 #ifdef __cplusplus
40432 }
40433 #endif
40434
40435 int
40436 main ()
40437 {
40438 return f != $ac_func;
40439 ;
40440 return 0;
40441 }
40442 _ACEOF
40443 rm -f conftest.$ac_objext conftest$ac_exeext
40444 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40445 (eval $ac_link) 2>conftest.er1
40446 ac_status=$?
40447 grep -v '^ *+' conftest.er1 >conftest.err
40448 rm -f conftest.er1
40449 cat conftest.err >&5
40450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40451 (exit $ac_status); } &&
40452 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40454 (eval $ac_try) 2>&5
40455 ac_status=$?
40456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40457 (exit $ac_status); }; } &&
40458 { ac_try='test -s conftest$ac_exeext'
40459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40460 (eval $ac_try) 2>&5
40461 ac_status=$?
40462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40463 (exit $ac_status); }; }; then
40464 eval "$as_ac_var=yes"
40465 else
40466 echo "$as_me: failed program was:" >&5
40467 sed 's/^/| /' conftest.$ac_ext >&5
40468
40469 eval "$as_ac_var=no"
40470 fi
40471 rm -f conftest.err conftest.$ac_objext \
40472 conftest$ac_exeext conftest.$ac_ext
40473 fi
40474 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40475 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40476 if test `eval echo '${'$as_ac_var'}'` = yes; then
40477 cat >>confdefs.h <<_ACEOF
40478 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40479 _ACEOF
40480
40481 fi
40482 done
40483
40484 fi
40485 fi
40486
40487
40488
40489
40490
40491
40492 echo "$as_me:$LINENO: checking for modf declaration" >&5
40493 echo $ECHO_N "checking for modf declaration... $ECHO_C" >&6
40494 if test x${glibcxx_cv_func_modf_use+set} != xset; then
40495 if test "${glibcxx_cv_func_modf_use+set}" = set; then
40496 echo $ECHO_N "(cached) $ECHO_C" >&6
40497 else
40498
40499
40500
40501 ac_ext=cc
40502 ac_cpp='$CXXCPP $CPPFLAGS'
40503 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40504 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40505 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40506
40507 cat >conftest.$ac_ext <<_ACEOF
40508 /* confdefs.h. */
40509 _ACEOF
40510 cat confdefs.h >>conftest.$ac_ext
40511 cat >>conftest.$ac_ext <<_ACEOF
40512 /* end confdefs.h. */
40513 #include <math.h>
40514 int
40515 main ()
40516 {
40517 modf(0, 0);
40518 ;
40519 return 0;
40520 }
40521 _ACEOF
40522 rm -f conftest.$ac_objext
40523 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40524 (eval $ac_compile) 2>conftest.er1
40525 ac_status=$?
40526 grep -v '^ *+' conftest.er1 >conftest.err
40527 rm -f conftest.er1
40528 cat conftest.err >&5
40529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40530 (exit $ac_status); } &&
40531 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40533 (eval $ac_try) 2>&5
40534 ac_status=$?
40535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40536 (exit $ac_status); }; } &&
40537 { ac_try='test -s conftest.$ac_objext'
40538 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40539 (eval $ac_try) 2>&5
40540 ac_status=$?
40541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40542 (exit $ac_status); }; }; then
40543 glibcxx_cv_func_modf_use=yes
40544 else
40545 echo "$as_me: failed program was:" >&5
40546 sed 's/^/| /' conftest.$ac_ext >&5
40547
40548 glibcxx_cv_func_modf_use=no
40549 fi
40550 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40551 ac_ext=c
40552 ac_cpp='$CPP $CPPFLAGS'
40553 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40554 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40555 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40556
40557
40558 fi
40559
40560 fi
40561 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modf_use" >&5
40562 echo "${ECHO_T}$glibcxx_cv_func_modf_use" >&6
40563
40564 if test x$glibcxx_cv_func_modf_use = x"yes"; then
40565
40566 for ac_func in modf
40567 do
40568 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40569 echo "$as_me:$LINENO: checking for $ac_func" >&5
40570 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40571 if eval "test \"\${$as_ac_var+set}\" = set"; then
40572 echo $ECHO_N "(cached) $ECHO_C" >&6
40573 else
40574 if test x$gcc_no_link = xyes; then
40575 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40576 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40577 { (exit 1); exit 1; }; }
40578 fi
40579 cat >conftest.$ac_ext <<_ACEOF
40580 /* confdefs.h. */
40581 _ACEOF
40582 cat confdefs.h >>conftest.$ac_ext
40583 cat >>conftest.$ac_ext <<_ACEOF
40584 /* end confdefs.h. */
40585 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40586 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40587 #define $ac_func innocuous_$ac_func
40588
40589 /* System header to define __stub macros and hopefully few prototypes,
40590 which can conflict with char $ac_func (); below.
40591 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40592 <limits.h> exists even on freestanding compilers. */
40593
40594 #ifdef __STDC__
40595 # include <limits.h>
40596 #else
40597 # include <assert.h>
40598 #endif
40599
40600 #undef $ac_func
40601
40602 /* Override any gcc2 internal prototype to avoid an error. */
40603 #ifdef __cplusplus
40604 extern "C"
40605 {
40606 #endif
40607 /* We use char because int might match the return type of a gcc2
40608 builtin and then its argument prototype would still apply. */
40609 char $ac_func ();
40610 /* The GNU C library defines this for functions which it implements
40611 to always fail with ENOSYS. Some functions are actually named
40612 something starting with __ and the normal name is an alias. */
40613 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40614 choke me
40615 #else
40616 char (*f) () = $ac_func;
40617 #endif
40618 #ifdef __cplusplus
40619 }
40620 #endif
40621
40622 int
40623 main ()
40624 {
40625 return f != $ac_func;
40626 ;
40627 return 0;
40628 }
40629 _ACEOF
40630 rm -f conftest.$ac_objext conftest$ac_exeext
40631 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40632 (eval $ac_link) 2>conftest.er1
40633 ac_status=$?
40634 grep -v '^ *+' conftest.er1 >conftest.err
40635 rm -f conftest.er1
40636 cat conftest.err >&5
40637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40638 (exit $ac_status); } &&
40639 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40641 (eval $ac_try) 2>&5
40642 ac_status=$?
40643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40644 (exit $ac_status); }; } &&
40645 { ac_try='test -s conftest$ac_exeext'
40646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40647 (eval $ac_try) 2>&5
40648 ac_status=$?
40649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40650 (exit $ac_status); }; }; then
40651 eval "$as_ac_var=yes"
40652 else
40653 echo "$as_me: failed program was:" >&5
40654 sed 's/^/| /' conftest.$ac_ext >&5
40655
40656 eval "$as_ac_var=no"
40657 fi
40658 rm -f conftest.err conftest.$ac_objext \
40659 conftest$ac_exeext conftest.$ac_ext
40660 fi
40661 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40662 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40663 if test `eval echo '${'$as_ac_var'}'` = yes; then
40664 cat >>confdefs.h <<_ACEOF
40665 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40666 _ACEOF
40667
40668 fi
40669 done
40670
40671 else
40672
40673 echo "$as_me:$LINENO: checking for _modf declaration" >&5
40674 echo $ECHO_N "checking for _modf declaration... $ECHO_C" >&6
40675 if test x${glibcxx_cv_func__modf_use+set} != xset; then
40676 if test "${glibcxx_cv_func__modf_use+set}" = set; then
40677 echo $ECHO_N "(cached) $ECHO_C" >&6
40678 else
40679
40680
40681
40682 ac_ext=cc
40683 ac_cpp='$CXXCPP $CPPFLAGS'
40684 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40685 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40686 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40687
40688 cat >conftest.$ac_ext <<_ACEOF
40689 /* confdefs.h. */
40690 _ACEOF
40691 cat confdefs.h >>conftest.$ac_ext
40692 cat >>conftest.$ac_ext <<_ACEOF
40693 /* end confdefs.h. */
40694 #include <math.h>
40695 int
40696 main ()
40697 {
40698 _modf(0, 0);
40699 ;
40700 return 0;
40701 }
40702 _ACEOF
40703 rm -f conftest.$ac_objext
40704 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40705 (eval $ac_compile) 2>conftest.er1
40706 ac_status=$?
40707 grep -v '^ *+' conftest.er1 >conftest.err
40708 rm -f conftest.er1
40709 cat conftest.err >&5
40710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40711 (exit $ac_status); } &&
40712 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40714 (eval $ac_try) 2>&5
40715 ac_status=$?
40716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40717 (exit $ac_status); }; } &&
40718 { ac_try='test -s conftest.$ac_objext'
40719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40720 (eval $ac_try) 2>&5
40721 ac_status=$?
40722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40723 (exit $ac_status); }; }; then
40724 glibcxx_cv_func__modf_use=yes
40725 else
40726 echo "$as_me: failed program was:" >&5
40727 sed 's/^/| /' conftest.$ac_ext >&5
40728
40729 glibcxx_cv_func__modf_use=no
40730 fi
40731 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40732 ac_ext=c
40733 ac_cpp='$CPP $CPPFLAGS'
40734 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40735 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40736 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40737
40738
40739 fi
40740
40741 fi
40742 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modf_use" >&5
40743 echo "${ECHO_T}$glibcxx_cv_func__modf_use" >&6
40744
40745 if test x$glibcxx_cv_func__modf_use = x"yes"; then
40746
40747 for ac_func in _modf
40748 do
40749 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40750 echo "$as_me:$LINENO: checking for $ac_func" >&5
40751 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40752 if eval "test \"\${$as_ac_var+set}\" = set"; then
40753 echo $ECHO_N "(cached) $ECHO_C" >&6
40754 else
40755 if test x$gcc_no_link = xyes; then
40756 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40757 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40758 { (exit 1); exit 1; }; }
40759 fi
40760 cat >conftest.$ac_ext <<_ACEOF
40761 /* confdefs.h. */
40762 _ACEOF
40763 cat confdefs.h >>conftest.$ac_ext
40764 cat >>conftest.$ac_ext <<_ACEOF
40765 /* end confdefs.h. */
40766 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40767 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40768 #define $ac_func innocuous_$ac_func
40769
40770 /* System header to define __stub macros and hopefully few prototypes,
40771 which can conflict with char $ac_func (); below.
40772 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40773 <limits.h> exists even on freestanding compilers. */
40774
40775 #ifdef __STDC__
40776 # include <limits.h>
40777 #else
40778 # include <assert.h>
40779 #endif
40780
40781 #undef $ac_func
40782
40783 /* Override any gcc2 internal prototype to avoid an error. */
40784 #ifdef __cplusplus
40785 extern "C"
40786 {
40787 #endif
40788 /* We use char because int might match the return type of a gcc2
40789 builtin and then its argument prototype would still apply. */
40790 char $ac_func ();
40791 /* The GNU C library defines this for functions which it implements
40792 to always fail with ENOSYS. Some functions are actually named
40793 something starting with __ and the normal name is an alias. */
40794 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40795 choke me
40796 #else
40797 char (*f) () = $ac_func;
40798 #endif
40799 #ifdef __cplusplus
40800 }
40801 #endif
40802
40803 int
40804 main ()
40805 {
40806 return f != $ac_func;
40807 ;
40808 return 0;
40809 }
40810 _ACEOF
40811 rm -f conftest.$ac_objext conftest$ac_exeext
40812 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40813 (eval $ac_link) 2>conftest.er1
40814 ac_status=$?
40815 grep -v '^ *+' conftest.er1 >conftest.err
40816 rm -f conftest.er1
40817 cat conftest.err >&5
40818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40819 (exit $ac_status); } &&
40820 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40822 (eval $ac_try) 2>&5
40823 ac_status=$?
40824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40825 (exit $ac_status); }; } &&
40826 { ac_try='test -s conftest$ac_exeext'
40827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40828 (eval $ac_try) 2>&5
40829 ac_status=$?
40830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40831 (exit $ac_status); }; }; then
40832 eval "$as_ac_var=yes"
40833 else
40834 echo "$as_me: failed program was:" >&5
40835 sed 's/^/| /' conftest.$ac_ext >&5
40836
40837 eval "$as_ac_var=no"
40838 fi
40839 rm -f conftest.err conftest.$ac_objext \
40840 conftest$ac_exeext conftest.$ac_ext
40841 fi
40842 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40843 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40844 if test `eval echo '${'$as_ac_var'}'` = yes; then
40845 cat >>confdefs.h <<_ACEOF
40846 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40847 _ACEOF
40848
40849 fi
40850 done
40851
40852 fi
40853 fi
40854
40855
40856
40857
40858
40859
40860 echo "$as_me:$LINENO: checking for powf declaration" >&5
40861 echo $ECHO_N "checking for powf declaration... $ECHO_C" >&6
40862 if test x${glibcxx_cv_func_powf_use+set} != xset; then
40863 if test "${glibcxx_cv_func_powf_use+set}" = set; then
40864 echo $ECHO_N "(cached) $ECHO_C" >&6
40865 else
40866
40867
40868
40869 ac_ext=cc
40870 ac_cpp='$CXXCPP $CPPFLAGS'
40871 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40872 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40873 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40874
40875 cat >conftest.$ac_ext <<_ACEOF
40876 /* confdefs.h. */
40877 _ACEOF
40878 cat confdefs.h >>conftest.$ac_ext
40879 cat >>conftest.$ac_ext <<_ACEOF
40880 /* end confdefs.h. */
40881 #include <math.h>
40882 int
40883 main ()
40884 {
40885 powf(0, 0);
40886 ;
40887 return 0;
40888 }
40889 _ACEOF
40890 rm -f conftest.$ac_objext
40891 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40892 (eval $ac_compile) 2>conftest.er1
40893 ac_status=$?
40894 grep -v '^ *+' conftest.er1 >conftest.err
40895 rm -f conftest.er1
40896 cat conftest.err >&5
40897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40898 (exit $ac_status); } &&
40899 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40901 (eval $ac_try) 2>&5
40902 ac_status=$?
40903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40904 (exit $ac_status); }; } &&
40905 { ac_try='test -s conftest.$ac_objext'
40906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40907 (eval $ac_try) 2>&5
40908 ac_status=$?
40909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40910 (exit $ac_status); }; }; then
40911 glibcxx_cv_func_powf_use=yes
40912 else
40913 echo "$as_me: failed program was:" >&5
40914 sed 's/^/| /' conftest.$ac_ext >&5
40915
40916 glibcxx_cv_func_powf_use=no
40917 fi
40918 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40919 ac_ext=c
40920 ac_cpp='$CPP $CPPFLAGS'
40921 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40922 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40923 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40924
40925
40926 fi
40927
40928 fi
40929 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powf_use" >&5
40930 echo "${ECHO_T}$glibcxx_cv_func_powf_use" >&6
40931
40932 if test x$glibcxx_cv_func_powf_use = x"yes"; then
40933
40934 for ac_func in powf
40935 do
40936 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40937 echo "$as_me:$LINENO: checking for $ac_func" >&5
40938 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40939 if eval "test \"\${$as_ac_var+set}\" = set"; then
40940 echo $ECHO_N "(cached) $ECHO_C" >&6
40941 else
40942 if test x$gcc_no_link = xyes; then
40943 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40944 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40945 { (exit 1); exit 1; }; }
40946 fi
40947 cat >conftest.$ac_ext <<_ACEOF
40948 /* confdefs.h. */
40949 _ACEOF
40950 cat confdefs.h >>conftest.$ac_ext
40951 cat >>conftest.$ac_ext <<_ACEOF
40952 /* end confdefs.h. */
40953 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40954 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40955 #define $ac_func innocuous_$ac_func
40956
40957 /* System header to define __stub macros and hopefully few prototypes,
40958 which can conflict with char $ac_func (); below.
40959 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40960 <limits.h> exists even on freestanding compilers. */
40961
40962 #ifdef __STDC__
40963 # include <limits.h>
40964 #else
40965 # include <assert.h>
40966 #endif
40967
40968 #undef $ac_func
40969
40970 /* Override any gcc2 internal prototype to avoid an error. */
40971 #ifdef __cplusplus
40972 extern "C"
40973 {
40974 #endif
40975 /* We use char because int might match the return type of a gcc2
40976 builtin and then its argument prototype would still apply. */
40977 char $ac_func ();
40978 /* The GNU C library defines this for functions which it implements
40979 to always fail with ENOSYS. Some functions are actually named
40980 something starting with __ and the normal name is an alias. */
40981 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40982 choke me
40983 #else
40984 char (*f) () = $ac_func;
40985 #endif
40986 #ifdef __cplusplus
40987 }
40988 #endif
40989
40990 int
40991 main ()
40992 {
40993 return f != $ac_func;
40994 ;
40995 return 0;
40996 }
40997 _ACEOF
40998 rm -f conftest.$ac_objext conftest$ac_exeext
40999 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41000 (eval $ac_link) 2>conftest.er1
41001 ac_status=$?
41002 grep -v '^ *+' conftest.er1 >conftest.err
41003 rm -f conftest.er1
41004 cat conftest.err >&5
41005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41006 (exit $ac_status); } &&
41007 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41008 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41009 (eval $ac_try) 2>&5
41010 ac_status=$?
41011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41012 (exit $ac_status); }; } &&
41013 { ac_try='test -s conftest$ac_exeext'
41014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41015 (eval $ac_try) 2>&5
41016 ac_status=$?
41017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41018 (exit $ac_status); }; }; then
41019 eval "$as_ac_var=yes"
41020 else
41021 echo "$as_me: failed program was:" >&5
41022 sed 's/^/| /' conftest.$ac_ext >&5
41023
41024 eval "$as_ac_var=no"
41025 fi
41026 rm -f conftest.err conftest.$ac_objext \
41027 conftest$ac_exeext conftest.$ac_ext
41028 fi
41029 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41030 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41031 if test `eval echo '${'$as_ac_var'}'` = yes; then
41032 cat >>confdefs.h <<_ACEOF
41033 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41034 _ACEOF
41035
41036 fi
41037 done
41038
41039 else
41040
41041 echo "$as_me:$LINENO: checking for _powf declaration" >&5
41042 echo $ECHO_N "checking for _powf declaration... $ECHO_C" >&6
41043 if test x${glibcxx_cv_func__powf_use+set} != xset; then
41044 if test "${glibcxx_cv_func__powf_use+set}" = set; then
41045 echo $ECHO_N "(cached) $ECHO_C" >&6
41046 else
41047
41048
41049
41050 ac_ext=cc
41051 ac_cpp='$CXXCPP $CPPFLAGS'
41052 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41053 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41054 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41055
41056 cat >conftest.$ac_ext <<_ACEOF
41057 /* confdefs.h. */
41058 _ACEOF
41059 cat confdefs.h >>conftest.$ac_ext
41060 cat >>conftest.$ac_ext <<_ACEOF
41061 /* end confdefs.h. */
41062 #include <math.h>
41063 int
41064 main ()
41065 {
41066 _powf(0, 0);
41067 ;
41068 return 0;
41069 }
41070 _ACEOF
41071 rm -f conftest.$ac_objext
41072 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41073 (eval $ac_compile) 2>conftest.er1
41074 ac_status=$?
41075 grep -v '^ *+' conftest.er1 >conftest.err
41076 rm -f conftest.er1
41077 cat conftest.err >&5
41078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41079 (exit $ac_status); } &&
41080 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41082 (eval $ac_try) 2>&5
41083 ac_status=$?
41084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41085 (exit $ac_status); }; } &&
41086 { ac_try='test -s conftest.$ac_objext'
41087 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41088 (eval $ac_try) 2>&5
41089 ac_status=$?
41090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41091 (exit $ac_status); }; }; then
41092 glibcxx_cv_func__powf_use=yes
41093 else
41094 echo "$as_me: failed program was:" >&5
41095 sed 's/^/| /' conftest.$ac_ext >&5
41096
41097 glibcxx_cv_func__powf_use=no
41098 fi
41099 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41100 ac_ext=c
41101 ac_cpp='$CPP $CPPFLAGS'
41102 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41103 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41104 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41105
41106
41107 fi
41108
41109 fi
41110 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powf_use" >&5
41111 echo "${ECHO_T}$glibcxx_cv_func__powf_use" >&6
41112
41113 if test x$glibcxx_cv_func__powf_use = x"yes"; then
41114
41115 for ac_func in _powf
41116 do
41117 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41118 echo "$as_me:$LINENO: checking for $ac_func" >&5
41119 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41120 if eval "test \"\${$as_ac_var+set}\" = set"; then
41121 echo $ECHO_N "(cached) $ECHO_C" >&6
41122 else
41123 if test x$gcc_no_link = xyes; then
41124 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41125 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41126 { (exit 1); exit 1; }; }
41127 fi
41128 cat >conftest.$ac_ext <<_ACEOF
41129 /* confdefs.h. */
41130 _ACEOF
41131 cat confdefs.h >>conftest.$ac_ext
41132 cat >>conftest.$ac_ext <<_ACEOF
41133 /* end confdefs.h. */
41134 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41135 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41136 #define $ac_func innocuous_$ac_func
41137
41138 /* System header to define __stub macros and hopefully few prototypes,
41139 which can conflict with char $ac_func (); below.
41140 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41141 <limits.h> exists even on freestanding compilers. */
41142
41143 #ifdef __STDC__
41144 # include <limits.h>
41145 #else
41146 # include <assert.h>
41147 #endif
41148
41149 #undef $ac_func
41150
41151 /* Override any gcc2 internal prototype to avoid an error. */
41152 #ifdef __cplusplus
41153 extern "C"
41154 {
41155 #endif
41156 /* We use char because int might match the return type of a gcc2
41157 builtin and then its argument prototype would still apply. */
41158 char $ac_func ();
41159 /* The GNU C library defines this for functions which it implements
41160 to always fail with ENOSYS. Some functions are actually named
41161 something starting with __ and the normal name is an alias. */
41162 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41163 choke me
41164 #else
41165 char (*f) () = $ac_func;
41166 #endif
41167 #ifdef __cplusplus
41168 }
41169 #endif
41170
41171 int
41172 main ()
41173 {
41174 return f != $ac_func;
41175 ;
41176 return 0;
41177 }
41178 _ACEOF
41179 rm -f conftest.$ac_objext conftest$ac_exeext
41180 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41181 (eval $ac_link) 2>conftest.er1
41182 ac_status=$?
41183 grep -v '^ *+' conftest.er1 >conftest.err
41184 rm -f conftest.er1
41185 cat conftest.err >&5
41186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41187 (exit $ac_status); } &&
41188 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41190 (eval $ac_try) 2>&5
41191 ac_status=$?
41192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41193 (exit $ac_status); }; } &&
41194 { ac_try='test -s conftest$ac_exeext'
41195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41196 (eval $ac_try) 2>&5
41197 ac_status=$?
41198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41199 (exit $ac_status); }; }; then
41200 eval "$as_ac_var=yes"
41201 else
41202 echo "$as_me: failed program was:" >&5
41203 sed 's/^/| /' conftest.$ac_ext >&5
41204
41205 eval "$as_ac_var=no"
41206 fi
41207 rm -f conftest.err conftest.$ac_objext \
41208 conftest$ac_exeext conftest.$ac_ext
41209 fi
41210 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41211 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41212 if test `eval echo '${'$as_ac_var'}'` = yes; then
41213 cat >>confdefs.h <<_ACEOF
41214 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41215 _ACEOF
41216
41217 fi
41218 done
41219
41220 fi
41221 fi
41222
41223
41224
41225
41226
41227
41228 echo "$as_me:$LINENO: checking for sqrtf declaration" >&5
41229 echo $ECHO_N "checking for sqrtf declaration... $ECHO_C" >&6
41230 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
41231 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then
41232 echo $ECHO_N "(cached) $ECHO_C" >&6
41233 else
41234
41235
41236
41237 ac_ext=cc
41238 ac_cpp='$CXXCPP $CPPFLAGS'
41239 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41240 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41241 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41242
41243 cat >conftest.$ac_ext <<_ACEOF
41244 /* confdefs.h. */
41245 _ACEOF
41246 cat confdefs.h >>conftest.$ac_ext
41247 cat >>conftest.$ac_ext <<_ACEOF
41248 /* end confdefs.h. */
41249 #include <math.h>
41250 #ifdef HAVE_IEEEFP_H
41251 #include <ieeefp.h>
41252 #endif
41253
41254 int
41255 main ()
41256 {
41257 sqrtf(0);
41258 ;
41259 return 0;
41260 }
41261 _ACEOF
41262 rm -f conftest.$ac_objext
41263 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41264 (eval $ac_compile) 2>conftest.er1
41265 ac_status=$?
41266 grep -v '^ *+' conftest.er1 >conftest.err
41267 rm -f conftest.er1
41268 cat conftest.err >&5
41269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41270 (exit $ac_status); } &&
41271 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41273 (eval $ac_try) 2>&5
41274 ac_status=$?
41275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41276 (exit $ac_status); }; } &&
41277 { ac_try='test -s conftest.$ac_objext'
41278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41279 (eval $ac_try) 2>&5
41280 ac_status=$?
41281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41282 (exit $ac_status); }; }; then
41283 glibcxx_cv_func_sqrtf_use=yes
41284 else
41285 echo "$as_me: failed program was:" >&5
41286 sed 's/^/| /' conftest.$ac_ext >&5
41287
41288 glibcxx_cv_func_sqrtf_use=no
41289 fi
41290 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41291 ac_ext=c
41292 ac_cpp='$CPP $CPPFLAGS'
41293 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41294 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41295 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41296
41297
41298 fi
41299
41300 fi
41301 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtf_use" >&5
41302 echo "${ECHO_T}$glibcxx_cv_func_sqrtf_use" >&6
41303
41304 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
41305
41306 for ac_func in sqrtf
41307 do
41308 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41309 echo "$as_me:$LINENO: checking for $ac_func" >&5
41310 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41311 if eval "test \"\${$as_ac_var+set}\" = set"; then
41312 echo $ECHO_N "(cached) $ECHO_C" >&6
41313 else
41314 if test x$gcc_no_link = xyes; then
41315 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41316 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41317 { (exit 1); exit 1; }; }
41318 fi
41319 cat >conftest.$ac_ext <<_ACEOF
41320 /* confdefs.h. */
41321 _ACEOF
41322 cat confdefs.h >>conftest.$ac_ext
41323 cat >>conftest.$ac_ext <<_ACEOF
41324 /* end confdefs.h. */
41325 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41326 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41327 #define $ac_func innocuous_$ac_func
41328
41329 /* System header to define __stub macros and hopefully few prototypes,
41330 which can conflict with char $ac_func (); below.
41331 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41332 <limits.h> exists even on freestanding compilers. */
41333
41334 #ifdef __STDC__
41335 # include <limits.h>
41336 #else
41337 # include <assert.h>
41338 #endif
41339
41340 #undef $ac_func
41341
41342 /* Override any gcc2 internal prototype to avoid an error. */
41343 #ifdef __cplusplus
41344 extern "C"
41345 {
41346 #endif
41347 /* We use char because int might match the return type of a gcc2
41348 builtin and then its argument prototype would still apply. */
41349 char $ac_func ();
41350 /* The GNU C library defines this for functions which it implements
41351 to always fail with ENOSYS. Some functions are actually named
41352 something starting with __ and the normal name is an alias. */
41353 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41354 choke me
41355 #else
41356 char (*f) () = $ac_func;
41357 #endif
41358 #ifdef __cplusplus
41359 }
41360 #endif
41361
41362 int
41363 main ()
41364 {
41365 return f != $ac_func;
41366 ;
41367 return 0;
41368 }
41369 _ACEOF
41370 rm -f conftest.$ac_objext conftest$ac_exeext
41371 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41372 (eval $ac_link) 2>conftest.er1
41373 ac_status=$?
41374 grep -v '^ *+' conftest.er1 >conftest.err
41375 rm -f conftest.er1
41376 cat conftest.err >&5
41377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41378 (exit $ac_status); } &&
41379 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41381 (eval $ac_try) 2>&5
41382 ac_status=$?
41383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41384 (exit $ac_status); }; } &&
41385 { ac_try='test -s conftest$ac_exeext'
41386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41387 (eval $ac_try) 2>&5
41388 ac_status=$?
41389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41390 (exit $ac_status); }; }; then
41391 eval "$as_ac_var=yes"
41392 else
41393 echo "$as_me: failed program was:" >&5
41394 sed 's/^/| /' conftest.$ac_ext >&5
41395
41396 eval "$as_ac_var=no"
41397 fi
41398 rm -f conftest.err conftest.$ac_objext \
41399 conftest$ac_exeext conftest.$ac_ext
41400 fi
41401 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41402 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41403 if test `eval echo '${'$as_ac_var'}'` = yes; then
41404 cat >>confdefs.h <<_ACEOF
41405 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41406 _ACEOF
41407
41408 fi
41409 done
41410
41411 else
41412
41413 echo "$as_me:$LINENO: checking for _sqrtf declaration" >&5
41414 echo $ECHO_N "checking for _sqrtf declaration... $ECHO_C" >&6
41415 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
41416 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then
41417 echo $ECHO_N "(cached) $ECHO_C" >&6
41418 else
41419
41420
41421
41422 ac_ext=cc
41423 ac_cpp='$CXXCPP $CPPFLAGS'
41424 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41425 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41426 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41427
41428 cat >conftest.$ac_ext <<_ACEOF
41429 /* confdefs.h. */
41430 _ACEOF
41431 cat confdefs.h >>conftest.$ac_ext
41432 cat >>conftest.$ac_ext <<_ACEOF
41433 /* end confdefs.h. */
41434 #include <math.h>
41435 #ifdef HAVE_IEEEFP_H
41436 #include <ieeefp.h>
41437 #endif
41438
41439 int
41440 main ()
41441 {
41442 _sqrtf(0);
41443 ;
41444 return 0;
41445 }
41446 _ACEOF
41447 rm -f conftest.$ac_objext
41448 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41449 (eval $ac_compile) 2>conftest.er1
41450 ac_status=$?
41451 grep -v '^ *+' conftest.er1 >conftest.err
41452 rm -f conftest.er1
41453 cat conftest.err >&5
41454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41455 (exit $ac_status); } &&
41456 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41458 (eval $ac_try) 2>&5
41459 ac_status=$?
41460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41461 (exit $ac_status); }; } &&
41462 { ac_try='test -s conftest.$ac_objext'
41463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41464 (eval $ac_try) 2>&5
41465 ac_status=$?
41466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41467 (exit $ac_status); }; }; then
41468 glibcxx_cv_func__sqrtf_use=yes
41469 else
41470 echo "$as_me: failed program was:" >&5
41471 sed 's/^/| /' conftest.$ac_ext >&5
41472
41473 glibcxx_cv_func__sqrtf_use=no
41474 fi
41475 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41476 ac_ext=c
41477 ac_cpp='$CPP $CPPFLAGS'
41478 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41479 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41480 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41481
41482
41483 fi
41484
41485 fi
41486 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtf_use" >&5
41487 echo "${ECHO_T}$glibcxx_cv_func__sqrtf_use" >&6
41488
41489 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
41490
41491 for ac_func in _sqrtf
41492 do
41493 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41494 echo "$as_me:$LINENO: checking for $ac_func" >&5
41495 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41496 if eval "test \"\${$as_ac_var+set}\" = set"; then
41497 echo $ECHO_N "(cached) $ECHO_C" >&6
41498 else
41499 if test x$gcc_no_link = xyes; then
41500 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41501 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41502 { (exit 1); exit 1; }; }
41503 fi
41504 cat >conftest.$ac_ext <<_ACEOF
41505 /* confdefs.h. */
41506 _ACEOF
41507 cat confdefs.h >>conftest.$ac_ext
41508 cat >>conftest.$ac_ext <<_ACEOF
41509 /* end confdefs.h. */
41510 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41511 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41512 #define $ac_func innocuous_$ac_func
41513
41514 /* System header to define __stub macros and hopefully few prototypes,
41515 which can conflict with char $ac_func (); below.
41516 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41517 <limits.h> exists even on freestanding compilers. */
41518
41519 #ifdef __STDC__
41520 # include <limits.h>
41521 #else
41522 # include <assert.h>
41523 #endif
41524
41525 #undef $ac_func
41526
41527 /* Override any gcc2 internal prototype to avoid an error. */
41528 #ifdef __cplusplus
41529 extern "C"
41530 {
41531 #endif
41532 /* We use char because int might match the return type of a gcc2
41533 builtin and then its argument prototype would still apply. */
41534 char $ac_func ();
41535 /* The GNU C library defines this for functions which it implements
41536 to always fail with ENOSYS. Some functions are actually named
41537 something starting with __ and the normal name is an alias. */
41538 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41539 choke me
41540 #else
41541 char (*f) () = $ac_func;
41542 #endif
41543 #ifdef __cplusplus
41544 }
41545 #endif
41546
41547 int
41548 main ()
41549 {
41550 return f != $ac_func;
41551 ;
41552 return 0;
41553 }
41554 _ACEOF
41555 rm -f conftest.$ac_objext conftest$ac_exeext
41556 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41557 (eval $ac_link) 2>conftest.er1
41558 ac_status=$?
41559 grep -v '^ *+' conftest.er1 >conftest.err
41560 rm -f conftest.er1
41561 cat conftest.err >&5
41562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41563 (exit $ac_status); } &&
41564 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41566 (eval $ac_try) 2>&5
41567 ac_status=$?
41568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41569 (exit $ac_status); }; } &&
41570 { ac_try='test -s conftest$ac_exeext'
41571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41572 (eval $ac_try) 2>&5
41573 ac_status=$?
41574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41575 (exit $ac_status); }; }; then
41576 eval "$as_ac_var=yes"
41577 else
41578 echo "$as_me: failed program was:" >&5
41579 sed 's/^/| /' conftest.$ac_ext >&5
41580
41581 eval "$as_ac_var=no"
41582 fi
41583 rm -f conftest.err conftest.$ac_objext \
41584 conftest$ac_exeext conftest.$ac_ext
41585 fi
41586 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41587 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41588 if test `eval echo '${'$as_ac_var'}'` = yes; then
41589 cat >>confdefs.h <<_ACEOF
41590 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41591 _ACEOF
41592
41593 fi
41594 done
41595
41596 fi
41597 fi
41598
41599
41600
41601
41602
41603
41604 echo "$as_me:$LINENO: checking for sincosf declaration" >&5
41605 echo $ECHO_N "checking for sincosf declaration... $ECHO_C" >&6
41606 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
41607 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then
41608 echo $ECHO_N "(cached) $ECHO_C" >&6
41609 else
41610
41611
41612
41613 ac_ext=cc
41614 ac_cpp='$CXXCPP $CPPFLAGS'
41615 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41616 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41617 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41618
41619 cat >conftest.$ac_ext <<_ACEOF
41620 /* confdefs.h. */
41621 _ACEOF
41622 cat confdefs.h >>conftest.$ac_ext
41623 cat >>conftest.$ac_ext <<_ACEOF
41624 /* end confdefs.h. */
41625 #include <math.h>
41626 int
41627 main ()
41628 {
41629 sincosf(0, 0, 0);
41630 ;
41631 return 0;
41632 }
41633 _ACEOF
41634 rm -f conftest.$ac_objext
41635 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41636 (eval $ac_compile) 2>conftest.er1
41637 ac_status=$?
41638 grep -v '^ *+' conftest.er1 >conftest.err
41639 rm -f conftest.er1
41640 cat conftest.err >&5
41641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41642 (exit $ac_status); } &&
41643 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41645 (eval $ac_try) 2>&5
41646 ac_status=$?
41647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41648 (exit $ac_status); }; } &&
41649 { ac_try='test -s conftest.$ac_objext'
41650 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41651 (eval $ac_try) 2>&5
41652 ac_status=$?
41653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41654 (exit $ac_status); }; }; then
41655 glibcxx_cv_func_sincosf_use=yes
41656 else
41657 echo "$as_me: failed program was:" >&5
41658 sed 's/^/| /' conftest.$ac_ext >&5
41659
41660 glibcxx_cv_func_sincosf_use=no
41661 fi
41662 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41663 ac_ext=c
41664 ac_cpp='$CPP $CPPFLAGS'
41665 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41666 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41667 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41668
41669
41670 fi
41671
41672 fi
41673 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosf_use" >&5
41674 echo "${ECHO_T}$glibcxx_cv_func_sincosf_use" >&6
41675
41676 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
41677
41678 for ac_func in sincosf
41679 do
41680 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41681 echo "$as_me:$LINENO: checking for $ac_func" >&5
41682 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41683 if eval "test \"\${$as_ac_var+set}\" = set"; then
41684 echo $ECHO_N "(cached) $ECHO_C" >&6
41685 else
41686 if test x$gcc_no_link = xyes; then
41687 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41688 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41689 { (exit 1); exit 1; }; }
41690 fi
41691 cat >conftest.$ac_ext <<_ACEOF
41692 /* confdefs.h. */
41693 _ACEOF
41694 cat confdefs.h >>conftest.$ac_ext
41695 cat >>conftest.$ac_ext <<_ACEOF
41696 /* end confdefs.h. */
41697 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41698 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41699 #define $ac_func innocuous_$ac_func
41700
41701 /* System header to define __stub macros and hopefully few prototypes,
41702 which can conflict with char $ac_func (); below.
41703 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41704 <limits.h> exists even on freestanding compilers. */
41705
41706 #ifdef __STDC__
41707 # include <limits.h>
41708 #else
41709 # include <assert.h>
41710 #endif
41711
41712 #undef $ac_func
41713
41714 /* Override any gcc2 internal prototype to avoid an error. */
41715 #ifdef __cplusplus
41716 extern "C"
41717 {
41718 #endif
41719 /* We use char because int might match the return type of a gcc2
41720 builtin and then its argument prototype would still apply. */
41721 char $ac_func ();
41722 /* The GNU C library defines this for functions which it implements
41723 to always fail with ENOSYS. Some functions are actually named
41724 something starting with __ and the normal name is an alias. */
41725 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41726 choke me
41727 #else
41728 char (*f) () = $ac_func;
41729 #endif
41730 #ifdef __cplusplus
41731 }
41732 #endif
41733
41734 int
41735 main ()
41736 {
41737 return f != $ac_func;
41738 ;
41739 return 0;
41740 }
41741 _ACEOF
41742 rm -f conftest.$ac_objext conftest$ac_exeext
41743 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41744 (eval $ac_link) 2>conftest.er1
41745 ac_status=$?
41746 grep -v '^ *+' conftest.er1 >conftest.err
41747 rm -f conftest.er1
41748 cat conftest.err >&5
41749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41750 (exit $ac_status); } &&
41751 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41753 (eval $ac_try) 2>&5
41754 ac_status=$?
41755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41756 (exit $ac_status); }; } &&
41757 { ac_try='test -s conftest$ac_exeext'
41758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41759 (eval $ac_try) 2>&5
41760 ac_status=$?
41761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41762 (exit $ac_status); }; }; then
41763 eval "$as_ac_var=yes"
41764 else
41765 echo "$as_me: failed program was:" >&5
41766 sed 's/^/| /' conftest.$ac_ext >&5
41767
41768 eval "$as_ac_var=no"
41769 fi
41770 rm -f conftest.err conftest.$ac_objext \
41771 conftest$ac_exeext conftest.$ac_ext
41772 fi
41773 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41774 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41775 if test `eval echo '${'$as_ac_var'}'` = yes; then
41776 cat >>confdefs.h <<_ACEOF
41777 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41778 _ACEOF
41779
41780 fi
41781 done
41782
41783 else
41784
41785 echo "$as_me:$LINENO: checking for _sincosf declaration" >&5
41786 echo $ECHO_N "checking for _sincosf declaration... $ECHO_C" >&6
41787 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
41788 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then
41789 echo $ECHO_N "(cached) $ECHO_C" >&6
41790 else
41791
41792
41793
41794 ac_ext=cc
41795 ac_cpp='$CXXCPP $CPPFLAGS'
41796 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41797 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41798 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41799
41800 cat >conftest.$ac_ext <<_ACEOF
41801 /* confdefs.h. */
41802 _ACEOF
41803 cat confdefs.h >>conftest.$ac_ext
41804 cat >>conftest.$ac_ext <<_ACEOF
41805 /* end confdefs.h. */
41806 #include <math.h>
41807 int
41808 main ()
41809 {
41810 _sincosf(0, 0, 0);
41811 ;
41812 return 0;
41813 }
41814 _ACEOF
41815 rm -f conftest.$ac_objext
41816 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41817 (eval $ac_compile) 2>conftest.er1
41818 ac_status=$?
41819 grep -v '^ *+' conftest.er1 >conftest.err
41820 rm -f conftest.er1
41821 cat conftest.err >&5
41822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41823 (exit $ac_status); } &&
41824 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41826 (eval $ac_try) 2>&5
41827 ac_status=$?
41828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41829 (exit $ac_status); }; } &&
41830 { ac_try='test -s conftest.$ac_objext'
41831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41832 (eval $ac_try) 2>&5
41833 ac_status=$?
41834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41835 (exit $ac_status); }; }; then
41836 glibcxx_cv_func__sincosf_use=yes
41837 else
41838 echo "$as_me: failed program was:" >&5
41839 sed 's/^/| /' conftest.$ac_ext >&5
41840
41841 glibcxx_cv_func__sincosf_use=no
41842 fi
41843 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41844 ac_ext=c
41845 ac_cpp='$CPP $CPPFLAGS'
41846 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41847 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41848 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41849
41850
41851 fi
41852
41853 fi
41854 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosf_use" >&5
41855 echo "${ECHO_T}$glibcxx_cv_func__sincosf_use" >&6
41856
41857 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
41858
41859 for ac_func in _sincosf
41860 do
41861 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41862 echo "$as_me:$LINENO: checking for $ac_func" >&5
41863 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41864 if eval "test \"\${$as_ac_var+set}\" = set"; then
41865 echo $ECHO_N "(cached) $ECHO_C" >&6
41866 else
41867 if test x$gcc_no_link = xyes; then
41868 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41869 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41870 { (exit 1); exit 1; }; }
41871 fi
41872 cat >conftest.$ac_ext <<_ACEOF
41873 /* confdefs.h. */
41874 _ACEOF
41875 cat confdefs.h >>conftest.$ac_ext
41876 cat >>conftest.$ac_ext <<_ACEOF
41877 /* end confdefs.h. */
41878 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41879 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41880 #define $ac_func innocuous_$ac_func
41881
41882 /* System header to define __stub macros and hopefully few prototypes,
41883 which can conflict with char $ac_func (); below.
41884 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41885 <limits.h> exists even on freestanding compilers. */
41886
41887 #ifdef __STDC__
41888 # include <limits.h>
41889 #else
41890 # include <assert.h>
41891 #endif
41892
41893 #undef $ac_func
41894
41895 /* Override any gcc2 internal prototype to avoid an error. */
41896 #ifdef __cplusplus
41897 extern "C"
41898 {
41899 #endif
41900 /* We use char because int might match the return type of a gcc2
41901 builtin and then its argument prototype would still apply. */
41902 char $ac_func ();
41903 /* The GNU C library defines this for functions which it implements
41904 to always fail with ENOSYS. Some functions are actually named
41905 something starting with __ and the normal name is an alias. */
41906 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41907 choke me
41908 #else
41909 char (*f) () = $ac_func;
41910 #endif
41911 #ifdef __cplusplus
41912 }
41913 #endif
41914
41915 int
41916 main ()
41917 {
41918 return f != $ac_func;
41919 ;
41920 return 0;
41921 }
41922 _ACEOF
41923 rm -f conftest.$ac_objext conftest$ac_exeext
41924 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41925 (eval $ac_link) 2>conftest.er1
41926 ac_status=$?
41927 grep -v '^ *+' conftest.er1 >conftest.err
41928 rm -f conftest.er1
41929 cat conftest.err >&5
41930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41931 (exit $ac_status); } &&
41932 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41934 (eval $ac_try) 2>&5
41935 ac_status=$?
41936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41937 (exit $ac_status); }; } &&
41938 { ac_try='test -s conftest$ac_exeext'
41939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41940 (eval $ac_try) 2>&5
41941 ac_status=$?
41942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41943 (exit $ac_status); }; }; then
41944 eval "$as_ac_var=yes"
41945 else
41946 echo "$as_me: failed program was:" >&5
41947 sed 's/^/| /' conftest.$ac_ext >&5
41948
41949 eval "$as_ac_var=no"
41950 fi
41951 rm -f conftest.err conftest.$ac_objext \
41952 conftest$ac_exeext conftest.$ac_ext
41953 fi
41954 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41955 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41956 if test `eval echo '${'$as_ac_var'}'` = yes; then
41957 cat >>confdefs.h <<_ACEOF
41958 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41959 _ACEOF
41960
41961 fi
41962 done
41963
41964 fi
41965 fi
41966
41967
41968
41969
41970
41971
41972 echo "$as_me:$LINENO: checking for finitef declaration" >&5
41973 echo $ECHO_N "checking for finitef declaration... $ECHO_C" >&6
41974 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
41975 if test "${glibcxx_cv_func_finitef_use+set}" = set; then
41976 echo $ECHO_N "(cached) $ECHO_C" >&6
41977 else
41978
41979
41980
41981 ac_ext=cc
41982 ac_cpp='$CXXCPP $CPPFLAGS'
41983 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41984 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41985 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41986
41987 cat >conftest.$ac_ext <<_ACEOF
41988 /* confdefs.h. */
41989 _ACEOF
41990 cat confdefs.h >>conftest.$ac_ext
41991 cat >>conftest.$ac_ext <<_ACEOF
41992 /* end confdefs.h. */
41993 #include <math.h>
41994 #ifdef HAVE_IEEEFP_H
41995 #include <ieeefp.h>
41996 #endif
41997
41998 int
41999 main ()
42000 {
42001 finitef(0);
42002 ;
42003 return 0;
42004 }
42005 _ACEOF
42006 rm -f conftest.$ac_objext
42007 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42008 (eval $ac_compile) 2>conftest.er1
42009 ac_status=$?
42010 grep -v '^ *+' conftest.er1 >conftest.err
42011 rm -f conftest.er1
42012 cat conftest.err >&5
42013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42014 (exit $ac_status); } &&
42015 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42016 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42017 (eval $ac_try) 2>&5
42018 ac_status=$?
42019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42020 (exit $ac_status); }; } &&
42021 { ac_try='test -s conftest.$ac_objext'
42022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42023 (eval $ac_try) 2>&5
42024 ac_status=$?
42025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42026 (exit $ac_status); }; }; then
42027 glibcxx_cv_func_finitef_use=yes
42028 else
42029 echo "$as_me: failed program was:" >&5
42030 sed 's/^/| /' conftest.$ac_ext >&5
42031
42032 glibcxx_cv_func_finitef_use=no
42033 fi
42034 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42035 ac_ext=c
42036 ac_cpp='$CPP $CPPFLAGS'
42037 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42038 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42039 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42040
42041
42042 fi
42043
42044 fi
42045 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitef_use" >&5
42046 echo "${ECHO_T}$glibcxx_cv_func_finitef_use" >&6
42047
42048 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
42049
42050 for ac_func in finitef
42051 do
42052 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42053 echo "$as_me:$LINENO: checking for $ac_func" >&5
42054 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42055 if eval "test \"\${$as_ac_var+set}\" = set"; then
42056 echo $ECHO_N "(cached) $ECHO_C" >&6
42057 else
42058 if test x$gcc_no_link = xyes; then
42059 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42060 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42061 { (exit 1); exit 1; }; }
42062 fi
42063 cat >conftest.$ac_ext <<_ACEOF
42064 /* confdefs.h. */
42065 _ACEOF
42066 cat confdefs.h >>conftest.$ac_ext
42067 cat >>conftest.$ac_ext <<_ACEOF
42068 /* end confdefs.h. */
42069 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42070 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42071 #define $ac_func innocuous_$ac_func
42072
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
42078 #ifdef __STDC__
42079 # include <limits.h>
42080 #else
42081 # include <assert.h>
42082 #endif
42083
42084 #undef $ac_func
42085
42086 /* Override any gcc2 internal prototype to avoid an error. */
42087 #ifdef __cplusplus
42088 extern "C"
42089 {
42090 #endif
42091 /* We use char because int might match the return type of a gcc2
42092 builtin and then its argument prototype would still apply. */
42093 char $ac_func ();
42094 /* The GNU C library defines this for functions which it implements
42095 to always fail with ENOSYS. Some functions are actually named
42096 something starting with __ and the normal name is an alias. */
42097 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42098 choke me
42099 #else
42100 char (*f) () = $ac_func;
42101 #endif
42102 #ifdef __cplusplus
42103 }
42104 #endif
42105
42106 int
42107 main ()
42108 {
42109 return f != $ac_func;
42110 ;
42111 return 0;
42112 }
42113 _ACEOF
42114 rm -f conftest.$ac_objext conftest$ac_exeext
42115 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42116 (eval $ac_link) 2>conftest.er1
42117 ac_status=$?
42118 grep -v '^ *+' conftest.er1 >conftest.err
42119 rm -f conftest.er1
42120 cat conftest.err >&5
42121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42122 (exit $ac_status); } &&
42123 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
42124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42125 (eval $ac_try) 2>&5
42126 ac_status=$?
42127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42128 (exit $ac_status); }; } &&
42129 { ac_try='test -s conftest$ac_exeext'
42130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42131 (eval $ac_try) 2>&5
42132 ac_status=$?
42133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42134 (exit $ac_status); }; }; then
42135 eval "$as_ac_var=yes"
42136 else
42137 echo "$as_me: failed program was:" >&5
42138 sed 's/^/| /' conftest.$ac_ext >&5
42139
42140 eval "$as_ac_var=no"
42141 fi
42142 rm -f conftest.err conftest.$ac_objext \
42143 conftest$ac_exeext conftest.$ac_ext
42144 fi
42145 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42146 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42147 if test `eval echo '${'$as_ac_var'}'` = yes; then
42148 cat >>confdefs.h <<_ACEOF
42149 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42150 _ACEOF
42151
42152 fi
42153 done
42154
42155 else
42156
42157 echo "$as_me:$LINENO: checking for _finitef declaration" >&5
42158 echo $ECHO_N "checking for _finitef declaration... $ECHO_C" >&6
42159 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
42160 if test "${glibcxx_cv_func__finitef_use+set}" = set; then
42161 echo $ECHO_N "(cached) $ECHO_C" >&6
42162 else
42163
42164
42165
42166 ac_ext=cc
42167 ac_cpp='$CXXCPP $CPPFLAGS'
42168 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42169 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42170 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42171
42172 cat >conftest.$ac_ext <<_ACEOF
42173 /* confdefs.h. */
42174 _ACEOF
42175 cat confdefs.h >>conftest.$ac_ext
42176 cat >>conftest.$ac_ext <<_ACEOF
42177 /* end confdefs.h. */
42178 #include <math.h>
42179 #ifdef HAVE_IEEEFP_H
42180 #include <ieeefp.h>
42181 #endif
42182
42183 int
42184 main ()
42185 {
42186 _finitef(0);
42187 ;
42188 return 0;
42189 }
42190 _ACEOF
42191 rm -f conftest.$ac_objext
42192 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42193 (eval $ac_compile) 2>conftest.er1
42194 ac_status=$?
42195 grep -v '^ *+' conftest.er1 >conftest.err
42196 rm -f conftest.er1
42197 cat conftest.err >&5
42198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42199 (exit $ac_status); } &&
42200 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42201 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42202 (eval $ac_try) 2>&5
42203 ac_status=$?
42204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42205 (exit $ac_status); }; } &&
42206 { ac_try='test -s conftest.$ac_objext'
42207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42208 (eval $ac_try) 2>&5
42209 ac_status=$?
42210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42211 (exit $ac_status); }; }; then
42212 glibcxx_cv_func__finitef_use=yes
42213 else
42214 echo "$as_me: failed program was:" >&5
42215 sed 's/^/| /' conftest.$ac_ext >&5
42216
42217 glibcxx_cv_func__finitef_use=no
42218 fi
42219 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42220 ac_ext=c
42221 ac_cpp='$CPP $CPPFLAGS'
42222 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42223 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42224 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42225
42226
42227 fi
42228
42229 fi
42230 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitef_use" >&5
42231 echo "${ECHO_T}$glibcxx_cv_func__finitef_use" >&6
42232
42233 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
42234
42235 for ac_func in _finitef
42236 do
42237 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42238 echo "$as_me:$LINENO: checking for $ac_func" >&5
42239 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42240 if eval "test \"\${$as_ac_var+set}\" = set"; then
42241 echo $ECHO_N "(cached) $ECHO_C" >&6
42242 else
42243 if test x$gcc_no_link = xyes; then
42244 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42245 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42246 { (exit 1); exit 1; }; }
42247 fi
42248 cat >conftest.$ac_ext <<_ACEOF
42249 /* confdefs.h. */
42250 _ACEOF
42251 cat confdefs.h >>conftest.$ac_ext
42252 cat >>conftest.$ac_ext <<_ACEOF
42253 /* end confdefs.h. */
42254 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42255 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42256 #define $ac_func innocuous_$ac_func
42257
42258 /* System header to define __stub macros and hopefully few prototypes,
42259 which can conflict with char $ac_func (); below.
42260 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42261 <limits.h> exists even on freestanding compilers. */
42262
42263 #ifdef __STDC__
42264 # include <limits.h>
42265 #else
42266 # include <assert.h>
42267 #endif
42268
42269 #undef $ac_func
42270
42271 /* Override any gcc2 internal prototype to avoid an error. */
42272 #ifdef __cplusplus
42273 extern "C"
42274 {
42275 #endif
42276 /* We use char because int might match the return type of a gcc2
42277 builtin and then its argument prototype would still apply. */
42278 char $ac_func ();
42279 /* The GNU C library defines this for functions which it implements
42280 to always fail with ENOSYS. Some functions are actually named
42281 something starting with __ and the normal name is an alias. */
42282 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42283 choke me
42284 #else
42285 char (*f) () = $ac_func;
42286 #endif
42287 #ifdef __cplusplus
42288 }
42289 #endif
42290
42291 int
42292 main ()
42293 {
42294 return f != $ac_func;
42295 ;
42296 return 0;
42297 }
42298 _ACEOF
42299 rm -f conftest.$ac_objext conftest$ac_exeext
42300 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42301 (eval $ac_link) 2>conftest.er1
42302 ac_status=$?
42303 grep -v '^ *+' conftest.er1 >conftest.err
42304 rm -f conftest.er1
42305 cat conftest.err >&5
42306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42307 (exit $ac_status); } &&
42308 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
42309 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42310 (eval $ac_try) 2>&5
42311 ac_status=$?
42312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42313 (exit $ac_status); }; } &&
42314 { ac_try='test -s conftest$ac_exeext'
42315 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42316 (eval $ac_try) 2>&5
42317 ac_status=$?
42318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42319 (exit $ac_status); }; }; then
42320 eval "$as_ac_var=yes"
42321 else
42322 echo "$as_me: failed program was:" >&5
42323 sed 's/^/| /' conftest.$ac_ext >&5
42324
42325 eval "$as_ac_var=no"
42326 fi
42327 rm -f conftest.err conftest.$ac_objext \
42328 conftest$ac_exeext conftest.$ac_ext
42329 fi
42330 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42331 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42332 if test `eval echo '${'$as_ac_var'}'` = yes; then
42333 cat >>confdefs.h <<_ACEOF
42334 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42335 _ACEOF
42336
42337 fi
42338 done
42339
42340 fi
42341 fi
42342
42343
42344
42345
42346
42347
42348 echo "$as_me:$LINENO: checking for long double trig functions" >&5
42349 echo $ECHO_N "checking for long double trig functions... $ECHO_C" >&6
42350 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then
42351 echo $ECHO_N "(cached) $ECHO_C" >&6
42352 else
42353
42354
42355
42356 ac_ext=cc
42357 ac_cpp='$CXXCPP $CPPFLAGS'
42358 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42359 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42360 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42361
42362 cat >conftest.$ac_ext <<_ACEOF
42363 /* confdefs.h. */
42364 _ACEOF
42365 cat confdefs.h >>conftest.$ac_ext
42366 cat >>conftest.$ac_ext <<_ACEOF
42367 /* end confdefs.h. */
42368 #include <math.h>
42369 int
42370 main ()
42371 {
42372 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
42373 ;
42374 return 0;
42375 }
42376 _ACEOF
42377 rm -f conftest.$ac_objext
42378 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42379 (eval $ac_compile) 2>conftest.er1
42380 ac_status=$?
42381 grep -v '^ *+' conftest.er1 >conftest.err
42382 rm -f conftest.er1
42383 cat conftest.err >&5
42384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42385 (exit $ac_status); } &&
42386 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42388 (eval $ac_try) 2>&5
42389 ac_status=$?
42390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42391 (exit $ac_status); }; } &&
42392 { ac_try='test -s conftest.$ac_objext'
42393 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42394 (eval $ac_try) 2>&5
42395 ac_status=$?
42396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42397 (exit $ac_status); }; }; then
42398 glibcxx_cv_func_long_double_trig_use=yes
42399 else
42400 echo "$as_me: failed program was:" >&5
42401 sed 's/^/| /' conftest.$ac_ext >&5
42402
42403 glibcxx_cv_func_long_double_trig_use=no
42404 fi
42405 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42406 ac_ext=c
42407 ac_cpp='$CPP $CPPFLAGS'
42408 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42409 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42410 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42411
42412 fi
42413
42414 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_trig_use" >&5
42415 echo "${ECHO_T}$glibcxx_cv_func_long_double_trig_use" >&6
42416 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
42417
42418
42419
42420
42421
42422
42423
42424
42425
42426 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
42427 do
42428 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42429 echo "$as_me:$LINENO: checking for $ac_func" >&5
42430 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42431 if eval "test \"\${$as_ac_var+set}\" = set"; then
42432 echo $ECHO_N "(cached) $ECHO_C" >&6
42433 else
42434 if test x$gcc_no_link = xyes; then
42435 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42436 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42437 { (exit 1); exit 1; }; }
42438 fi
42439 cat >conftest.$ac_ext <<_ACEOF
42440 /* confdefs.h. */
42441 _ACEOF
42442 cat confdefs.h >>conftest.$ac_ext
42443 cat >>conftest.$ac_ext <<_ACEOF
42444 /* end confdefs.h. */
42445 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42446 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42447 #define $ac_func innocuous_$ac_func
42448
42449 /* System header to define __stub macros and hopefully few prototypes,
42450 which can conflict with char $ac_func (); below.
42451 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42452 <limits.h> exists even on freestanding compilers. */
42453
42454 #ifdef __STDC__
42455 # include <limits.h>
42456 #else
42457 # include <assert.h>
42458 #endif
42459
42460 #undef $ac_func
42461
42462 /* Override any gcc2 internal prototype to avoid an error. */
42463 #ifdef __cplusplus
42464 extern "C"
42465 {
42466 #endif
42467 /* We use char because int might match the return type of a gcc2
42468 builtin and then its argument prototype would still apply. */
42469 char $ac_func ();
42470 /* The GNU C library defines this for functions which it implements
42471 to always fail with ENOSYS. Some functions are actually named
42472 something starting with __ and the normal name is an alias. */
42473 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42474 choke me
42475 #else
42476 char (*f) () = $ac_func;
42477 #endif
42478 #ifdef __cplusplus
42479 }
42480 #endif
42481
42482 int
42483 main ()
42484 {
42485 return f != $ac_func;
42486 ;
42487 return 0;
42488 }
42489 _ACEOF
42490 rm -f conftest.$ac_objext conftest$ac_exeext
42491 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42492 (eval $ac_link) 2>conftest.er1
42493 ac_status=$?
42494 grep -v '^ *+' conftest.er1 >conftest.err
42495 rm -f conftest.er1
42496 cat conftest.err >&5
42497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42498 (exit $ac_status); } &&
42499 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
42500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42501 (eval $ac_try) 2>&5
42502 ac_status=$?
42503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42504 (exit $ac_status); }; } &&
42505 { ac_try='test -s conftest$ac_exeext'
42506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42507 (eval $ac_try) 2>&5
42508 ac_status=$?
42509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42510 (exit $ac_status); }; }; then
42511 eval "$as_ac_var=yes"
42512 else
42513 echo "$as_me: failed program was:" >&5
42514 sed 's/^/| /' conftest.$ac_ext >&5
42515
42516 eval "$as_ac_var=no"
42517 fi
42518 rm -f conftest.err conftest.$ac_objext \
42519 conftest$ac_exeext conftest.$ac_ext
42520 fi
42521 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42522 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42523 if test `eval echo '${'$as_ac_var'}'` = yes; then
42524 cat >>confdefs.h <<_ACEOF
42525 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42526 _ACEOF
42527
42528 fi
42529 done
42530
42531 else
42532 echo "$as_me:$LINENO: checking for _long double trig functions" >&5
42533 echo $ECHO_N "checking for _long double trig functions... $ECHO_C" >&6
42534 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then
42535 echo $ECHO_N "(cached) $ECHO_C" >&6
42536 else
42537
42538
42539
42540 ac_ext=cc
42541 ac_cpp='$CXXCPP $CPPFLAGS'
42542 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42543 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42544 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42545
42546 cat >conftest.$ac_ext <<_ACEOF
42547 /* confdefs.h. */
42548 _ACEOF
42549 cat confdefs.h >>conftest.$ac_ext
42550 cat >>conftest.$ac_ext <<_ACEOF
42551 /* end confdefs.h. */
42552 #include <math.h>
42553 int
42554 main ()
42555 {
42556 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
42557 ;
42558 return 0;
42559 }
42560 _ACEOF
42561 rm -f conftest.$ac_objext
42562 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42563 (eval $ac_compile) 2>conftest.er1
42564 ac_status=$?
42565 grep -v '^ *+' conftest.er1 >conftest.err
42566 rm -f conftest.er1
42567 cat conftest.err >&5
42568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42569 (exit $ac_status); } &&
42570 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42572 (eval $ac_try) 2>&5
42573 ac_status=$?
42574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42575 (exit $ac_status); }; } &&
42576 { ac_try='test -s conftest.$ac_objext'
42577 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42578 (eval $ac_try) 2>&5
42579 ac_status=$?
42580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42581 (exit $ac_status); }; }; then
42582 glibcxx_cv_func__long_double_trig_use=yes
42583 else
42584 echo "$as_me: failed program was:" >&5
42585 sed 's/^/| /' conftest.$ac_ext >&5
42586
42587 glibcxx_cv_func__long_double_trig_use=no
42588 fi
42589 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42590 ac_ext=c
42591 ac_cpp='$CPP $CPPFLAGS'
42592 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42593 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42594 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42595
42596 fi
42597
42598 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_trig_use" >&5
42599 echo "${ECHO_T}$glibcxx_cv_func__long_double_trig_use" >&6
42600 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
42601
42602
42603
42604
42605
42606
42607
42608
42609
42610 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
42611 do
42612 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42613 echo "$as_me:$LINENO: checking for $ac_func" >&5
42614 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42615 if eval "test \"\${$as_ac_var+set}\" = set"; then
42616 echo $ECHO_N "(cached) $ECHO_C" >&6
42617 else
42618 if test x$gcc_no_link = xyes; then
42619 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42620 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42621 { (exit 1); exit 1; }; }
42622 fi
42623 cat >conftest.$ac_ext <<_ACEOF
42624 /* confdefs.h. */
42625 _ACEOF
42626 cat confdefs.h >>conftest.$ac_ext
42627 cat >>conftest.$ac_ext <<_ACEOF
42628 /* end confdefs.h. */
42629 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42630 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42631 #define $ac_func innocuous_$ac_func
42632
42633 /* System header to define __stub macros and hopefully few prototypes,
42634 which can conflict with char $ac_func (); below.
42635 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42636 <limits.h> exists even on freestanding compilers. */
42637
42638 #ifdef __STDC__
42639 # include <limits.h>
42640 #else
42641 # include <assert.h>
42642 #endif
42643
42644 #undef $ac_func
42645
42646 /* Override any gcc2 internal prototype to avoid an error. */
42647 #ifdef __cplusplus
42648 extern "C"
42649 {
42650 #endif
42651 /* We use char because int might match the return type of a gcc2
42652 builtin and then its argument prototype would still apply. */
42653 char $ac_func ();
42654 /* The GNU C library defines this for functions which it implements
42655 to always fail with ENOSYS. Some functions are actually named
42656 something starting with __ and the normal name is an alias. */
42657 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42658 choke me
42659 #else
42660 char (*f) () = $ac_func;
42661 #endif
42662 #ifdef __cplusplus
42663 }
42664 #endif
42665
42666 int
42667 main ()
42668 {
42669 return f != $ac_func;
42670 ;
42671 return 0;
42672 }
42673 _ACEOF
42674 rm -f conftest.$ac_objext conftest$ac_exeext
42675 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42676 (eval $ac_link) 2>conftest.er1
42677 ac_status=$?
42678 grep -v '^ *+' conftest.er1 >conftest.err
42679 rm -f conftest.er1
42680 cat conftest.err >&5
42681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42682 (exit $ac_status); } &&
42683 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
42684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42685 (eval $ac_try) 2>&5
42686 ac_status=$?
42687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42688 (exit $ac_status); }; } &&
42689 { ac_try='test -s conftest$ac_exeext'
42690 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42691 (eval $ac_try) 2>&5
42692 ac_status=$?
42693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42694 (exit $ac_status); }; }; then
42695 eval "$as_ac_var=yes"
42696 else
42697 echo "$as_me: failed program was:" >&5
42698 sed 's/^/| /' conftest.$ac_ext >&5
42699
42700 eval "$as_ac_var=no"
42701 fi
42702 rm -f conftest.err conftest.$ac_objext \
42703 conftest$ac_exeext conftest.$ac_ext
42704 fi
42705 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42706 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42707 if test `eval echo '${'$as_ac_var'}'` = yes; then
42708 cat >>confdefs.h <<_ACEOF
42709 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42710 _ACEOF
42711
42712 fi
42713 done
42714
42715 fi
42716 fi
42717
42718
42719
42720
42721
42722
42723
42724
42725
42726
42727
42728
42729
42730
42731 echo "$as_me:$LINENO: checking for long double round functions" >&5
42732 echo $ECHO_N "checking for long double round functions... $ECHO_C" >&6
42733 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then
42734 echo $ECHO_N "(cached) $ECHO_C" >&6
42735 else
42736
42737
42738
42739 ac_ext=cc
42740 ac_cpp='$CXXCPP $CPPFLAGS'
42741 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42742 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42743 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42744
42745 cat >conftest.$ac_ext <<_ACEOF
42746 /* confdefs.h. */
42747 _ACEOF
42748 cat confdefs.h >>conftest.$ac_ext
42749 cat >>conftest.$ac_ext <<_ACEOF
42750 /* end confdefs.h. */
42751 #include <math.h>
42752 int
42753 main ()
42754 {
42755 ceill (0); floorl (0);
42756 ;
42757 return 0;
42758 }
42759 _ACEOF
42760 rm -f conftest.$ac_objext
42761 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42762 (eval $ac_compile) 2>conftest.er1
42763 ac_status=$?
42764 grep -v '^ *+' conftest.er1 >conftest.err
42765 rm -f conftest.er1
42766 cat conftest.err >&5
42767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42768 (exit $ac_status); } &&
42769 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42771 (eval $ac_try) 2>&5
42772 ac_status=$?
42773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42774 (exit $ac_status); }; } &&
42775 { ac_try='test -s conftest.$ac_objext'
42776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42777 (eval $ac_try) 2>&5
42778 ac_status=$?
42779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42780 (exit $ac_status); }; }; then
42781 glibcxx_cv_func_long_double_round_use=yes
42782 else
42783 echo "$as_me: failed program was:" >&5
42784 sed 's/^/| /' conftest.$ac_ext >&5
42785
42786 glibcxx_cv_func_long_double_round_use=no
42787 fi
42788 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42789 ac_ext=c
42790 ac_cpp='$CPP $CPPFLAGS'
42791 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42792 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42793 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42794
42795 fi
42796
42797 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_round_use" >&5
42798 echo "${ECHO_T}$glibcxx_cv_func_long_double_round_use" >&6
42799 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
42800
42801
42802 for ac_func in ceill floorl
42803 do
42804 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42805 echo "$as_me:$LINENO: checking for $ac_func" >&5
42806 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42807 if eval "test \"\${$as_ac_var+set}\" = set"; then
42808 echo $ECHO_N "(cached) $ECHO_C" >&6
42809 else
42810 if test x$gcc_no_link = xyes; then
42811 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42812 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42813 { (exit 1); exit 1; }; }
42814 fi
42815 cat >conftest.$ac_ext <<_ACEOF
42816 /* confdefs.h. */
42817 _ACEOF
42818 cat confdefs.h >>conftest.$ac_ext
42819 cat >>conftest.$ac_ext <<_ACEOF
42820 /* end confdefs.h. */
42821 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42822 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42823 #define $ac_func innocuous_$ac_func
42824
42825 /* System header to define __stub macros and hopefully few prototypes,
42826 which can conflict with char $ac_func (); below.
42827 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42828 <limits.h> exists even on freestanding compilers. */
42829
42830 #ifdef __STDC__
42831 # include <limits.h>
42832 #else
42833 # include <assert.h>
42834 #endif
42835
42836 #undef $ac_func
42837
42838 /* Override any gcc2 internal prototype to avoid an error. */
42839 #ifdef __cplusplus
42840 extern "C"
42841 {
42842 #endif
42843 /* We use char because int might match the return type of a gcc2
42844 builtin and then its argument prototype would still apply. */
42845 char $ac_func ();
42846 /* The GNU C library defines this for functions which it implements
42847 to always fail with ENOSYS. Some functions are actually named
42848 something starting with __ and the normal name is an alias. */
42849 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42850 choke me
42851 #else
42852 char (*f) () = $ac_func;
42853 #endif
42854 #ifdef __cplusplus
42855 }
42856 #endif
42857
42858 int
42859 main ()
42860 {
42861 return f != $ac_func;
42862 ;
42863 return 0;
42864 }
42865 _ACEOF
42866 rm -f conftest.$ac_objext conftest$ac_exeext
42867 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42868 (eval $ac_link) 2>conftest.er1
42869 ac_status=$?
42870 grep -v '^ *+' conftest.er1 >conftest.err
42871 rm -f conftest.er1
42872 cat conftest.err >&5
42873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42874 (exit $ac_status); } &&
42875 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
42876 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42877 (eval $ac_try) 2>&5
42878 ac_status=$?
42879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42880 (exit $ac_status); }; } &&
42881 { ac_try='test -s conftest$ac_exeext'
42882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42883 (eval $ac_try) 2>&5
42884 ac_status=$?
42885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42886 (exit $ac_status); }; }; then
42887 eval "$as_ac_var=yes"
42888 else
42889 echo "$as_me: failed program was:" >&5
42890 sed 's/^/| /' conftest.$ac_ext >&5
42891
42892 eval "$as_ac_var=no"
42893 fi
42894 rm -f conftest.err conftest.$ac_objext \
42895 conftest$ac_exeext conftest.$ac_ext
42896 fi
42897 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42898 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42899 if test `eval echo '${'$as_ac_var'}'` = yes; then
42900 cat >>confdefs.h <<_ACEOF
42901 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42902 _ACEOF
42903
42904 fi
42905 done
42906
42907 else
42908 echo "$as_me:$LINENO: checking for _long double round functions" >&5
42909 echo $ECHO_N "checking for _long double round functions... $ECHO_C" >&6
42910 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then
42911 echo $ECHO_N "(cached) $ECHO_C" >&6
42912 else
42913
42914
42915
42916 ac_ext=cc
42917 ac_cpp='$CXXCPP $CPPFLAGS'
42918 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42919 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42920 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42921
42922 cat >conftest.$ac_ext <<_ACEOF
42923 /* confdefs.h. */
42924 _ACEOF
42925 cat confdefs.h >>conftest.$ac_ext
42926 cat >>conftest.$ac_ext <<_ACEOF
42927 /* end confdefs.h. */
42928 #include <math.h>
42929 int
42930 main ()
42931 {
42932 _ceill (0); _floorl (0);
42933 ;
42934 return 0;
42935 }
42936 _ACEOF
42937 rm -f conftest.$ac_objext
42938 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42939 (eval $ac_compile) 2>conftest.er1
42940 ac_status=$?
42941 grep -v '^ *+' conftest.er1 >conftest.err
42942 rm -f conftest.er1
42943 cat conftest.err >&5
42944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42945 (exit $ac_status); } &&
42946 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42948 (eval $ac_try) 2>&5
42949 ac_status=$?
42950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42951 (exit $ac_status); }; } &&
42952 { ac_try='test -s conftest.$ac_objext'
42953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42954 (eval $ac_try) 2>&5
42955 ac_status=$?
42956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42957 (exit $ac_status); }; }; then
42958 glibcxx_cv_func__long_double_round_use=yes
42959 else
42960 echo "$as_me: failed program was:" >&5
42961 sed 's/^/| /' conftest.$ac_ext >&5
42962
42963 glibcxx_cv_func__long_double_round_use=no
42964 fi
42965 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42966 ac_ext=c
42967 ac_cpp='$CPP $CPPFLAGS'
42968 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42969 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42970 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42971
42972 fi
42973
42974 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_round_use" >&5
42975 echo "${ECHO_T}$glibcxx_cv_func__long_double_round_use" >&6
42976 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
42977
42978
42979 for ac_func in _ceill _floorl
42980 do
42981 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42982 echo "$as_me:$LINENO: checking for $ac_func" >&5
42983 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42984 if eval "test \"\${$as_ac_var+set}\" = set"; then
42985 echo $ECHO_N "(cached) $ECHO_C" >&6
42986 else
42987 if test x$gcc_no_link = xyes; then
42988 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42989 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42990 { (exit 1); exit 1; }; }
42991 fi
42992 cat >conftest.$ac_ext <<_ACEOF
42993 /* confdefs.h. */
42994 _ACEOF
42995 cat confdefs.h >>conftest.$ac_ext
42996 cat >>conftest.$ac_ext <<_ACEOF
42997 /* end confdefs.h. */
42998 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42999 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43000 #define $ac_func innocuous_$ac_func
43001
43002 /* System header to define __stub macros and hopefully few prototypes,
43003 which can conflict with char $ac_func (); below.
43004 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43005 <limits.h> exists even on freestanding compilers. */
43006
43007 #ifdef __STDC__
43008 # include <limits.h>
43009 #else
43010 # include <assert.h>
43011 #endif
43012
43013 #undef $ac_func
43014
43015 /* Override any gcc2 internal prototype to avoid an error. */
43016 #ifdef __cplusplus
43017 extern "C"
43018 {
43019 #endif
43020 /* We use char because int might match the return type of a gcc2
43021 builtin and then its argument prototype would still apply. */
43022 char $ac_func ();
43023 /* The GNU C library defines this for functions which it implements
43024 to always fail with ENOSYS. Some functions are actually named
43025 something starting with __ and the normal name is an alias. */
43026 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43027 choke me
43028 #else
43029 char (*f) () = $ac_func;
43030 #endif
43031 #ifdef __cplusplus
43032 }
43033 #endif
43034
43035 int
43036 main ()
43037 {
43038 return f != $ac_func;
43039 ;
43040 return 0;
43041 }
43042 _ACEOF
43043 rm -f conftest.$ac_objext conftest$ac_exeext
43044 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43045 (eval $ac_link) 2>conftest.er1
43046 ac_status=$?
43047 grep -v '^ *+' conftest.er1 >conftest.err
43048 rm -f conftest.er1
43049 cat conftest.err >&5
43050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43051 (exit $ac_status); } &&
43052 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
43053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43054 (eval $ac_try) 2>&5
43055 ac_status=$?
43056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43057 (exit $ac_status); }; } &&
43058 { ac_try='test -s conftest$ac_exeext'
43059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43060 (eval $ac_try) 2>&5
43061 ac_status=$?
43062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43063 (exit $ac_status); }; }; then
43064 eval "$as_ac_var=yes"
43065 else
43066 echo "$as_me: failed program was:" >&5
43067 sed 's/^/| /' conftest.$ac_ext >&5
43068
43069 eval "$as_ac_var=no"
43070 fi
43071 rm -f conftest.err conftest.$ac_objext \
43072 conftest$ac_exeext conftest.$ac_ext
43073 fi
43074 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43075 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43076 if test `eval echo '${'$as_ac_var'}'` = yes; then
43077 cat >>confdefs.h <<_ACEOF
43078 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43079 _ACEOF
43080
43081 fi
43082 done
43083
43084 fi
43085 fi
43086
43087
43088
43089
43090
43091
43092
43093
43094 echo "$as_me:$LINENO: checking for isnanl declaration" >&5
43095 echo $ECHO_N "checking for isnanl declaration... $ECHO_C" >&6
43096 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
43097 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then
43098 echo $ECHO_N "(cached) $ECHO_C" >&6
43099 else
43100
43101
43102
43103 ac_ext=cc
43104 ac_cpp='$CXXCPP $CPPFLAGS'
43105 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43106 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43107 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43108
43109 cat >conftest.$ac_ext <<_ACEOF
43110 /* confdefs.h. */
43111 _ACEOF
43112 cat confdefs.h >>conftest.$ac_ext
43113 cat >>conftest.$ac_ext <<_ACEOF
43114 /* end confdefs.h. */
43115 #include <math.h>
43116 #ifdef HAVE_IEEEFP_H
43117 #include <ieeefp.h>
43118 #endif
43119
43120 int
43121 main ()
43122 {
43123 isnanl(0);
43124 ;
43125 return 0;
43126 }
43127 _ACEOF
43128 rm -f conftest.$ac_objext
43129 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43130 (eval $ac_compile) 2>conftest.er1
43131 ac_status=$?
43132 grep -v '^ *+' conftest.er1 >conftest.err
43133 rm -f conftest.er1
43134 cat conftest.err >&5
43135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43136 (exit $ac_status); } &&
43137 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43139 (eval $ac_try) 2>&5
43140 ac_status=$?
43141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43142 (exit $ac_status); }; } &&
43143 { ac_try='test -s conftest.$ac_objext'
43144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43145 (eval $ac_try) 2>&5
43146 ac_status=$?
43147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43148 (exit $ac_status); }; }; then
43149 glibcxx_cv_func_isnanl_use=yes
43150 else
43151 echo "$as_me: failed program was:" >&5
43152 sed 's/^/| /' conftest.$ac_ext >&5
43153
43154 glibcxx_cv_func_isnanl_use=no
43155 fi
43156 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43157 ac_ext=c
43158 ac_cpp='$CPP $CPPFLAGS'
43159 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43160 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43161 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43162
43163
43164 fi
43165
43166 fi
43167 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanl_use" >&5
43168 echo "${ECHO_T}$glibcxx_cv_func_isnanl_use" >&6
43169
43170 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
43171
43172 for ac_func in isnanl
43173 do
43174 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43175 echo "$as_me:$LINENO: checking for $ac_func" >&5
43176 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43177 if eval "test \"\${$as_ac_var+set}\" = set"; then
43178 echo $ECHO_N "(cached) $ECHO_C" >&6
43179 else
43180 if test x$gcc_no_link = xyes; then
43181 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43182 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43183 { (exit 1); exit 1; }; }
43184 fi
43185 cat >conftest.$ac_ext <<_ACEOF
43186 /* confdefs.h. */
43187 _ACEOF
43188 cat confdefs.h >>conftest.$ac_ext
43189 cat >>conftest.$ac_ext <<_ACEOF
43190 /* end confdefs.h. */
43191 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43192 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43193 #define $ac_func innocuous_$ac_func
43194
43195 /* System header to define __stub macros and hopefully few prototypes,
43196 which can conflict with char $ac_func (); below.
43197 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43198 <limits.h> exists even on freestanding compilers. */
43199
43200 #ifdef __STDC__
43201 # include <limits.h>
43202 #else
43203 # include <assert.h>
43204 #endif
43205
43206 #undef $ac_func
43207
43208 /* Override any gcc2 internal prototype to avoid an error. */
43209 #ifdef __cplusplus
43210 extern "C"
43211 {
43212 #endif
43213 /* We use char because int might match the return type of a gcc2
43214 builtin and then its argument prototype would still apply. */
43215 char $ac_func ();
43216 /* The GNU C library defines this for functions which it implements
43217 to always fail with ENOSYS. Some functions are actually named
43218 something starting with __ and the normal name is an alias. */
43219 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43220 choke me
43221 #else
43222 char (*f) () = $ac_func;
43223 #endif
43224 #ifdef __cplusplus
43225 }
43226 #endif
43227
43228 int
43229 main ()
43230 {
43231 return f != $ac_func;
43232 ;
43233 return 0;
43234 }
43235 _ACEOF
43236 rm -f conftest.$ac_objext conftest$ac_exeext
43237 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43238 (eval $ac_link) 2>conftest.er1
43239 ac_status=$?
43240 grep -v '^ *+' conftest.er1 >conftest.err
43241 rm -f conftest.er1
43242 cat conftest.err >&5
43243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43244 (exit $ac_status); } &&
43245 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
43246 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43247 (eval $ac_try) 2>&5
43248 ac_status=$?
43249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43250 (exit $ac_status); }; } &&
43251 { ac_try='test -s conftest$ac_exeext'
43252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43253 (eval $ac_try) 2>&5
43254 ac_status=$?
43255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43256 (exit $ac_status); }; }; then
43257 eval "$as_ac_var=yes"
43258 else
43259 echo "$as_me: failed program was:" >&5
43260 sed 's/^/| /' conftest.$ac_ext >&5
43261
43262 eval "$as_ac_var=no"
43263 fi
43264 rm -f conftest.err conftest.$ac_objext \
43265 conftest$ac_exeext conftest.$ac_ext
43266 fi
43267 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43268 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43269 if test `eval echo '${'$as_ac_var'}'` = yes; then
43270 cat >>confdefs.h <<_ACEOF
43271 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43272 _ACEOF
43273
43274 fi
43275 done
43276
43277 else
43278
43279 echo "$as_me:$LINENO: checking for _isnanl declaration" >&5
43280 echo $ECHO_N "checking for _isnanl declaration... $ECHO_C" >&6
43281 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
43282 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then
43283 echo $ECHO_N "(cached) $ECHO_C" >&6
43284 else
43285
43286
43287
43288 ac_ext=cc
43289 ac_cpp='$CXXCPP $CPPFLAGS'
43290 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43291 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43292 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43293
43294 cat >conftest.$ac_ext <<_ACEOF
43295 /* confdefs.h. */
43296 _ACEOF
43297 cat confdefs.h >>conftest.$ac_ext
43298 cat >>conftest.$ac_ext <<_ACEOF
43299 /* end confdefs.h. */
43300 #include <math.h>
43301 #ifdef HAVE_IEEEFP_H
43302 #include <ieeefp.h>
43303 #endif
43304
43305 int
43306 main ()
43307 {
43308 _isnanl(0);
43309 ;
43310 return 0;
43311 }
43312 _ACEOF
43313 rm -f conftest.$ac_objext
43314 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43315 (eval $ac_compile) 2>conftest.er1
43316 ac_status=$?
43317 grep -v '^ *+' conftest.er1 >conftest.err
43318 rm -f conftest.er1
43319 cat conftest.err >&5
43320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43321 (exit $ac_status); } &&
43322 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43324 (eval $ac_try) 2>&5
43325 ac_status=$?
43326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43327 (exit $ac_status); }; } &&
43328 { ac_try='test -s conftest.$ac_objext'
43329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43330 (eval $ac_try) 2>&5
43331 ac_status=$?
43332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43333 (exit $ac_status); }; }; then
43334 glibcxx_cv_func__isnanl_use=yes
43335 else
43336 echo "$as_me: failed program was:" >&5
43337 sed 's/^/| /' conftest.$ac_ext >&5
43338
43339 glibcxx_cv_func__isnanl_use=no
43340 fi
43341 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43342 ac_ext=c
43343 ac_cpp='$CPP $CPPFLAGS'
43344 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43345 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43346 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43347
43348
43349 fi
43350
43351 fi
43352 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanl_use" >&5
43353 echo "${ECHO_T}$glibcxx_cv_func__isnanl_use" >&6
43354
43355 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
43356
43357 for ac_func in _isnanl
43358 do
43359 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43360 echo "$as_me:$LINENO: checking for $ac_func" >&5
43361 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43362 if eval "test \"\${$as_ac_var+set}\" = set"; then
43363 echo $ECHO_N "(cached) $ECHO_C" >&6
43364 else
43365 if test x$gcc_no_link = xyes; then
43366 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43367 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43368 { (exit 1); exit 1; }; }
43369 fi
43370 cat >conftest.$ac_ext <<_ACEOF
43371 /* confdefs.h. */
43372 _ACEOF
43373 cat confdefs.h >>conftest.$ac_ext
43374 cat >>conftest.$ac_ext <<_ACEOF
43375 /* end confdefs.h. */
43376 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43377 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43378 #define $ac_func innocuous_$ac_func
43379
43380 /* System header to define __stub macros and hopefully few prototypes,
43381 which can conflict with char $ac_func (); below.
43382 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43383 <limits.h> exists even on freestanding compilers. */
43384
43385 #ifdef __STDC__
43386 # include <limits.h>
43387 #else
43388 # include <assert.h>
43389 #endif
43390
43391 #undef $ac_func
43392
43393 /* Override any gcc2 internal prototype to avoid an error. */
43394 #ifdef __cplusplus
43395 extern "C"
43396 {
43397 #endif
43398 /* We use char because int might match the return type of a gcc2
43399 builtin and then its argument prototype would still apply. */
43400 char $ac_func ();
43401 /* The GNU C library defines this for functions which it implements
43402 to always fail with ENOSYS. Some functions are actually named
43403 something starting with __ and the normal name is an alias. */
43404 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43405 choke me
43406 #else
43407 char (*f) () = $ac_func;
43408 #endif
43409 #ifdef __cplusplus
43410 }
43411 #endif
43412
43413 int
43414 main ()
43415 {
43416 return f != $ac_func;
43417 ;
43418 return 0;
43419 }
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>conftest.er1
43424 ac_status=$?
43425 grep -v '^ *+' conftest.er1 >conftest.err
43426 rm -f conftest.er1
43427 cat conftest.err >&5
43428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43429 (exit $ac_status); } &&
43430 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
43431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43432 (eval $ac_try) 2>&5
43433 ac_status=$?
43434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43435 (exit $ac_status); }; } &&
43436 { ac_try='test -s conftest$ac_exeext'
43437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43438 (eval $ac_try) 2>&5
43439 ac_status=$?
43440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43441 (exit $ac_status); }; }; then
43442 eval "$as_ac_var=yes"
43443 else
43444 echo "$as_me: failed program was:" >&5
43445 sed 's/^/| /' conftest.$ac_ext >&5
43446
43447 eval "$as_ac_var=no"
43448 fi
43449 rm -f conftest.err conftest.$ac_objext \
43450 conftest$ac_exeext conftest.$ac_ext
43451 fi
43452 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43453 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43454 if test `eval echo '${'$as_ac_var'}'` = yes; then
43455 cat >>confdefs.h <<_ACEOF
43456 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43457 _ACEOF
43458
43459 fi
43460 done
43461
43462 fi
43463 fi
43464
43465
43466
43467
43468
43469
43470 echo "$as_me:$LINENO: checking for isinfl declaration" >&5
43471 echo $ECHO_N "checking for isinfl declaration... $ECHO_C" >&6
43472 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
43473 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then
43474 echo $ECHO_N "(cached) $ECHO_C" >&6
43475 else
43476
43477
43478
43479 ac_ext=cc
43480 ac_cpp='$CXXCPP $CPPFLAGS'
43481 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43482 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43483 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43484
43485 cat >conftest.$ac_ext <<_ACEOF
43486 /* confdefs.h. */
43487 _ACEOF
43488 cat confdefs.h >>conftest.$ac_ext
43489 cat >>conftest.$ac_ext <<_ACEOF
43490 /* end confdefs.h. */
43491 #include <math.h>
43492 #ifdef HAVE_IEEEFP_H
43493 #include <ieeefp.h>
43494 #endif
43495
43496 int
43497 main ()
43498 {
43499 isinfl(0);
43500 ;
43501 return 0;
43502 }
43503 _ACEOF
43504 rm -f conftest.$ac_objext
43505 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43506 (eval $ac_compile) 2>conftest.er1
43507 ac_status=$?
43508 grep -v '^ *+' conftest.er1 >conftest.err
43509 rm -f conftest.er1
43510 cat conftest.err >&5
43511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43512 (exit $ac_status); } &&
43513 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43515 (eval $ac_try) 2>&5
43516 ac_status=$?
43517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43518 (exit $ac_status); }; } &&
43519 { ac_try='test -s conftest.$ac_objext'
43520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43521 (eval $ac_try) 2>&5
43522 ac_status=$?
43523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43524 (exit $ac_status); }; }; then
43525 glibcxx_cv_func_isinfl_use=yes
43526 else
43527 echo "$as_me: failed program was:" >&5
43528 sed 's/^/| /' conftest.$ac_ext >&5
43529
43530 glibcxx_cv_func_isinfl_use=no
43531 fi
43532 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43533 ac_ext=c
43534 ac_cpp='$CPP $CPPFLAGS'
43535 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43536 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43537 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43538
43539
43540 fi
43541
43542 fi
43543 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinfl_use" >&5
43544 echo "${ECHO_T}$glibcxx_cv_func_isinfl_use" >&6
43545
43546 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
43547
43548 for ac_func in isinfl
43549 do
43550 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43551 echo "$as_me:$LINENO: checking for $ac_func" >&5
43552 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43553 if eval "test \"\${$as_ac_var+set}\" = set"; then
43554 echo $ECHO_N "(cached) $ECHO_C" >&6
43555 else
43556 if test x$gcc_no_link = xyes; then
43557 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43558 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43559 { (exit 1); exit 1; }; }
43560 fi
43561 cat >conftest.$ac_ext <<_ACEOF
43562 /* confdefs.h. */
43563 _ACEOF
43564 cat confdefs.h >>conftest.$ac_ext
43565 cat >>conftest.$ac_ext <<_ACEOF
43566 /* end confdefs.h. */
43567 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43568 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43569 #define $ac_func innocuous_$ac_func
43570
43571 /* System header to define __stub macros and hopefully few prototypes,
43572 which can conflict with char $ac_func (); below.
43573 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43574 <limits.h> exists even on freestanding compilers. */
43575
43576 #ifdef __STDC__
43577 # include <limits.h>
43578 #else
43579 # include <assert.h>
43580 #endif
43581
43582 #undef $ac_func
43583
43584 /* Override any gcc2 internal prototype to avoid an error. */
43585 #ifdef __cplusplus
43586 extern "C"
43587 {
43588 #endif
43589 /* We use char because int might match the return type of a gcc2
43590 builtin and then its argument prototype would still apply. */
43591 char $ac_func ();
43592 /* The GNU C library defines this for functions which it implements
43593 to always fail with ENOSYS. Some functions are actually named
43594 something starting with __ and the normal name is an alias. */
43595 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43596 choke me
43597 #else
43598 char (*f) () = $ac_func;
43599 #endif
43600 #ifdef __cplusplus
43601 }
43602 #endif
43603
43604 int
43605 main ()
43606 {
43607 return f != $ac_func;
43608 ;
43609 return 0;
43610 }
43611 _ACEOF
43612 rm -f conftest.$ac_objext conftest$ac_exeext
43613 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43614 (eval $ac_link) 2>conftest.er1
43615 ac_status=$?
43616 grep -v '^ *+' conftest.er1 >conftest.err
43617 rm -f conftest.er1
43618 cat conftest.err >&5
43619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43620 (exit $ac_status); } &&
43621 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
43622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43623 (eval $ac_try) 2>&5
43624 ac_status=$?
43625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43626 (exit $ac_status); }; } &&
43627 { ac_try='test -s conftest$ac_exeext'
43628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43629 (eval $ac_try) 2>&5
43630 ac_status=$?
43631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43632 (exit $ac_status); }; }; then
43633 eval "$as_ac_var=yes"
43634 else
43635 echo "$as_me: failed program was:" >&5
43636 sed 's/^/| /' conftest.$ac_ext >&5
43637
43638 eval "$as_ac_var=no"
43639 fi
43640 rm -f conftest.err conftest.$ac_objext \
43641 conftest$ac_exeext conftest.$ac_ext
43642 fi
43643 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43644 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43645 if test `eval echo '${'$as_ac_var'}'` = yes; then
43646 cat >>confdefs.h <<_ACEOF
43647 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43648 _ACEOF
43649
43650 fi
43651 done
43652
43653 else
43654
43655 echo "$as_me:$LINENO: checking for _isinfl declaration" >&5
43656 echo $ECHO_N "checking for _isinfl declaration... $ECHO_C" >&6
43657 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
43658 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then
43659 echo $ECHO_N "(cached) $ECHO_C" >&6
43660 else
43661
43662
43663
43664 ac_ext=cc
43665 ac_cpp='$CXXCPP $CPPFLAGS'
43666 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43667 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43668 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43669
43670 cat >conftest.$ac_ext <<_ACEOF
43671 /* confdefs.h. */
43672 _ACEOF
43673 cat confdefs.h >>conftest.$ac_ext
43674 cat >>conftest.$ac_ext <<_ACEOF
43675 /* end confdefs.h. */
43676 #include <math.h>
43677 #ifdef HAVE_IEEEFP_H
43678 #include <ieeefp.h>
43679 #endif
43680
43681 int
43682 main ()
43683 {
43684 _isinfl(0);
43685 ;
43686 return 0;
43687 }
43688 _ACEOF
43689 rm -f conftest.$ac_objext
43690 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43691 (eval $ac_compile) 2>conftest.er1
43692 ac_status=$?
43693 grep -v '^ *+' conftest.er1 >conftest.err
43694 rm -f conftest.er1
43695 cat conftest.err >&5
43696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43697 (exit $ac_status); } &&
43698 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43700 (eval $ac_try) 2>&5
43701 ac_status=$?
43702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43703 (exit $ac_status); }; } &&
43704 { ac_try='test -s conftest.$ac_objext'
43705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43706 (eval $ac_try) 2>&5
43707 ac_status=$?
43708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43709 (exit $ac_status); }; }; then
43710 glibcxx_cv_func__isinfl_use=yes
43711 else
43712 echo "$as_me: failed program was:" >&5
43713 sed 's/^/| /' conftest.$ac_ext >&5
43714
43715 glibcxx_cv_func__isinfl_use=no
43716 fi
43717 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43718 ac_ext=c
43719 ac_cpp='$CPP $CPPFLAGS'
43720 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43721 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43722 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43723
43724
43725 fi
43726
43727 fi
43728 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinfl_use" >&5
43729 echo "${ECHO_T}$glibcxx_cv_func__isinfl_use" >&6
43730
43731 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
43732
43733 for ac_func in _isinfl
43734 do
43735 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43736 echo "$as_me:$LINENO: checking for $ac_func" >&5
43737 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43738 if eval "test \"\${$as_ac_var+set}\" = set"; then
43739 echo $ECHO_N "(cached) $ECHO_C" >&6
43740 else
43741 if test x$gcc_no_link = xyes; then
43742 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43743 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43744 { (exit 1); exit 1; }; }
43745 fi
43746 cat >conftest.$ac_ext <<_ACEOF
43747 /* confdefs.h. */
43748 _ACEOF
43749 cat confdefs.h >>conftest.$ac_ext
43750 cat >>conftest.$ac_ext <<_ACEOF
43751 /* end confdefs.h. */
43752 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43753 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43754 #define $ac_func innocuous_$ac_func
43755
43756 /* System header to define __stub macros and hopefully few prototypes,
43757 which can conflict with char $ac_func (); below.
43758 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43759 <limits.h> exists even on freestanding compilers. */
43760
43761 #ifdef __STDC__
43762 # include <limits.h>
43763 #else
43764 # include <assert.h>
43765 #endif
43766
43767 #undef $ac_func
43768
43769 /* Override any gcc2 internal prototype to avoid an error. */
43770 #ifdef __cplusplus
43771 extern "C"
43772 {
43773 #endif
43774 /* We use char because int might match the return type of a gcc2
43775 builtin and then its argument prototype would still apply. */
43776 char $ac_func ();
43777 /* The GNU C library defines this for functions which it implements
43778 to always fail with ENOSYS. Some functions are actually named
43779 something starting with __ and the normal name is an alias. */
43780 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43781 choke me
43782 #else
43783 char (*f) () = $ac_func;
43784 #endif
43785 #ifdef __cplusplus
43786 }
43787 #endif
43788
43789 int
43790 main ()
43791 {
43792 return f != $ac_func;
43793 ;
43794 return 0;
43795 }
43796 _ACEOF
43797 rm -f conftest.$ac_objext conftest$ac_exeext
43798 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43799 (eval $ac_link) 2>conftest.er1
43800 ac_status=$?
43801 grep -v '^ *+' conftest.er1 >conftest.err
43802 rm -f conftest.er1
43803 cat conftest.err >&5
43804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43805 (exit $ac_status); } &&
43806 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
43807 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43808 (eval $ac_try) 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 eval "$as_ac_var=yes"
43819 else
43820 echo "$as_me: failed program was:" >&5
43821 sed 's/^/| /' conftest.$ac_ext >&5
43822
43823 eval "$as_ac_var=no"
43824 fi
43825 rm -f conftest.err conftest.$ac_objext \
43826 conftest$ac_exeext conftest.$ac_ext
43827 fi
43828 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43829 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43830 if test `eval echo '${'$as_ac_var'}'` = yes; then
43831 cat >>confdefs.h <<_ACEOF
43832 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43833 _ACEOF
43834
43835 fi
43836 done
43837
43838 fi
43839 fi
43840
43841
43842
43843
43844
43845
43846 echo "$as_me:$LINENO: checking for copysignl declaration" >&5
43847 echo $ECHO_N "checking for copysignl declaration... $ECHO_C" >&6
43848 if test x${glibcxx_cv_func_copysignl_use+set} != xset; then
43849 if test "${glibcxx_cv_func_copysignl_use+set}" = set; then
43850 echo $ECHO_N "(cached) $ECHO_C" >&6
43851 else
43852
43853
43854
43855 ac_ext=cc
43856 ac_cpp='$CXXCPP $CPPFLAGS'
43857 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43858 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43859 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43860
43861 cat >conftest.$ac_ext <<_ACEOF
43862 /* confdefs.h. */
43863 _ACEOF
43864 cat confdefs.h >>conftest.$ac_ext
43865 cat >>conftest.$ac_ext <<_ACEOF
43866 /* end confdefs.h. */
43867 #include <math.h>
43868 int
43869 main ()
43870 {
43871 copysignl(0, 0);
43872 ;
43873 return 0;
43874 }
43875 _ACEOF
43876 rm -f conftest.$ac_objext
43877 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43878 (eval $ac_compile) 2>conftest.er1
43879 ac_status=$?
43880 grep -v '^ *+' conftest.er1 >conftest.err
43881 rm -f conftest.er1
43882 cat conftest.err >&5
43883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43884 (exit $ac_status); } &&
43885 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43887 (eval $ac_try) 2>&5
43888 ac_status=$?
43889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43890 (exit $ac_status); }; } &&
43891 { ac_try='test -s conftest.$ac_objext'
43892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43893 (eval $ac_try) 2>&5
43894 ac_status=$?
43895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43896 (exit $ac_status); }; }; then
43897 glibcxx_cv_func_copysignl_use=yes
43898 else
43899 echo "$as_me: failed program was:" >&5
43900 sed 's/^/| /' conftest.$ac_ext >&5
43901
43902 glibcxx_cv_func_copysignl_use=no
43903 fi
43904 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43905 ac_ext=c
43906 ac_cpp='$CPP $CPPFLAGS'
43907 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43908 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43909 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43910
43911
43912 fi
43913
43914 fi
43915 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysignl_use" >&5
43916 echo "${ECHO_T}$glibcxx_cv_func_copysignl_use" >&6
43917
43918 if test x$glibcxx_cv_func_copysignl_use = x"yes"; then
43919
43920 for ac_func in copysignl
43921 do
43922 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43923 echo "$as_me:$LINENO: checking for $ac_func" >&5
43924 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43925 if eval "test \"\${$as_ac_var+set}\" = set"; then
43926 echo $ECHO_N "(cached) $ECHO_C" >&6
43927 else
43928 if test x$gcc_no_link = xyes; then
43929 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43930 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43931 { (exit 1); exit 1; }; }
43932 fi
43933 cat >conftest.$ac_ext <<_ACEOF
43934 /* confdefs.h. */
43935 _ACEOF
43936 cat confdefs.h >>conftest.$ac_ext
43937 cat >>conftest.$ac_ext <<_ACEOF
43938 /* end confdefs.h. */
43939 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43940 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43941 #define $ac_func innocuous_$ac_func
43942
43943 /* System header to define __stub macros and hopefully few prototypes,
43944 which can conflict with char $ac_func (); below.
43945 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43946 <limits.h> exists even on freestanding compilers. */
43947
43948 #ifdef __STDC__
43949 # include <limits.h>
43950 #else
43951 # include <assert.h>
43952 #endif
43953
43954 #undef $ac_func
43955
43956 /* Override any gcc2 internal prototype to avoid an error. */
43957 #ifdef __cplusplus
43958 extern "C"
43959 {
43960 #endif
43961 /* We use char because int might match the return type of a gcc2
43962 builtin and then its argument prototype would still apply. */
43963 char $ac_func ();
43964 /* The GNU C library defines this for functions which it implements
43965 to always fail with ENOSYS. Some functions are actually named
43966 something starting with __ and the normal name is an alias. */
43967 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43968 choke me
43969 #else
43970 char (*f) () = $ac_func;
43971 #endif
43972 #ifdef __cplusplus
43973 }
43974 #endif
43975
43976 int
43977 main ()
43978 {
43979 return f != $ac_func;
43980 ;
43981 return 0;
43982 }
43983 _ACEOF
43984 rm -f conftest.$ac_objext conftest$ac_exeext
43985 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43986 (eval $ac_link) 2>conftest.er1
43987 ac_status=$?
43988 grep -v '^ *+' conftest.er1 >conftest.err
43989 rm -f conftest.er1
43990 cat conftest.err >&5
43991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43992 (exit $ac_status); } &&
43993 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
43994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43995 (eval $ac_try) 2>&5
43996 ac_status=$?
43997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43998 (exit $ac_status); }; } &&
43999 { ac_try='test -s conftest$ac_exeext'
44000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44001 (eval $ac_try) 2>&5
44002 ac_status=$?
44003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44004 (exit $ac_status); }; }; then
44005 eval "$as_ac_var=yes"
44006 else
44007 echo "$as_me: failed program was:" >&5
44008 sed 's/^/| /' conftest.$ac_ext >&5
44009
44010 eval "$as_ac_var=no"
44011 fi
44012 rm -f conftest.err conftest.$ac_objext \
44013 conftest$ac_exeext conftest.$ac_ext
44014 fi
44015 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44016 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44017 if test `eval echo '${'$as_ac_var'}'` = yes; then
44018 cat >>confdefs.h <<_ACEOF
44019 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44020 _ACEOF
44021
44022 fi
44023 done
44024
44025 else
44026
44027 echo "$as_me:$LINENO: checking for _copysignl declaration" >&5
44028 echo $ECHO_N "checking for _copysignl declaration... $ECHO_C" >&6
44029 if test x${glibcxx_cv_func__copysignl_use+set} != xset; then
44030 if test "${glibcxx_cv_func__copysignl_use+set}" = set; then
44031 echo $ECHO_N "(cached) $ECHO_C" >&6
44032 else
44033
44034
44035
44036 ac_ext=cc
44037 ac_cpp='$CXXCPP $CPPFLAGS'
44038 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44039 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44040 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44041
44042 cat >conftest.$ac_ext <<_ACEOF
44043 /* confdefs.h. */
44044 _ACEOF
44045 cat confdefs.h >>conftest.$ac_ext
44046 cat >>conftest.$ac_ext <<_ACEOF
44047 /* end confdefs.h. */
44048 #include <math.h>
44049 int
44050 main ()
44051 {
44052 _copysignl(0, 0);
44053 ;
44054 return 0;
44055 }
44056 _ACEOF
44057 rm -f conftest.$ac_objext
44058 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44059 (eval $ac_compile) 2>conftest.er1
44060 ac_status=$?
44061 grep -v '^ *+' conftest.er1 >conftest.err
44062 rm -f conftest.er1
44063 cat conftest.err >&5
44064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44065 (exit $ac_status); } &&
44066 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44067 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44068 (eval $ac_try) 2>&5
44069 ac_status=$?
44070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44071 (exit $ac_status); }; } &&
44072 { ac_try='test -s conftest.$ac_objext'
44073 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44074 (eval $ac_try) 2>&5
44075 ac_status=$?
44076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44077 (exit $ac_status); }; }; then
44078 glibcxx_cv_func__copysignl_use=yes
44079 else
44080 echo "$as_me: failed program was:" >&5
44081 sed 's/^/| /' conftest.$ac_ext >&5
44082
44083 glibcxx_cv_func__copysignl_use=no
44084 fi
44085 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44086 ac_ext=c
44087 ac_cpp='$CPP $CPPFLAGS'
44088 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44089 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44090 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44091
44092
44093 fi
44094
44095 fi
44096 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysignl_use" >&5
44097 echo "${ECHO_T}$glibcxx_cv_func__copysignl_use" >&6
44098
44099 if test x$glibcxx_cv_func__copysignl_use = x"yes"; then
44100
44101 for ac_func in _copysignl
44102 do
44103 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44104 echo "$as_me:$LINENO: checking for $ac_func" >&5
44105 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44106 if eval "test \"\${$as_ac_var+set}\" = set"; then
44107 echo $ECHO_N "(cached) $ECHO_C" >&6
44108 else
44109 if test x$gcc_no_link = xyes; then
44110 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44111 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44112 { (exit 1); exit 1; }; }
44113 fi
44114 cat >conftest.$ac_ext <<_ACEOF
44115 /* confdefs.h. */
44116 _ACEOF
44117 cat confdefs.h >>conftest.$ac_ext
44118 cat >>conftest.$ac_ext <<_ACEOF
44119 /* end confdefs.h. */
44120 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44121 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44122 #define $ac_func innocuous_$ac_func
44123
44124 /* System header to define __stub macros and hopefully few prototypes,
44125 which can conflict with char $ac_func (); below.
44126 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44127 <limits.h> exists even on freestanding compilers. */
44128
44129 #ifdef __STDC__
44130 # include <limits.h>
44131 #else
44132 # include <assert.h>
44133 #endif
44134
44135 #undef $ac_func
44136
44137 /* Override any gcc2 internal prototype to avoid an error. */
44138 #ifdef __cplusplus
44139 extern "C"
44140 {
44141 #endif
44142 /* We use char because int might match the return type of a gcc2
44143 builtin and then its argument prototype would still apply. */
44144 char $ac_func ();
44145 /* The GNU C library defines this for functions which it implements
44146 to always fail with ENOSYS. Some functions are actually named
44147 something starting with __ and the normal name is an alias. */
44148 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44149 choke me
44150 #else
44151 char (*f) () = $ac_func;
44152 #endif
44153 #ifdef __cplusplus
44154 }
44155 #endif
44156
44157 int
44158 main ()
44159 {
44160 return f != $ac_func;
44161 ;
44162 return 0;
44163 }
44164 _ACEOF
44165 rm -f conftest.$ac_objext conftest$ac_exeext
44166 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44167 (eval $ac_link) 2>conftest.er1
44168 ac_status=$?
44169 grep -v '^ *+' conftest.er1 >conftest.err
44170 rm -f conftest.er1
44171 cat conftest.err >&5
44172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44173 (exit $ac_status); } &&
44174 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
44175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44176 (eval $ac_try) 2>&5
44177 ac_status=$?
44178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44179 (exit $ac_status); }; } &&
44180 { ac_try='test -s conftest$ac_exeext'
44181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44182 (eval $ac_try) 2>&5
44183 ac_status=$?
44184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44185 (exit $ac_status); }; }; then
44186 eval "$as_ac_var=yes"
44187 else
44188 echo "$as_me: failed program was:" >&5
44189 sed 's/^/| /' conftest.$ac_ext >&5
44190
44191 eval "$as_ac_var=no"
44192 fi
44193 rm -f conftest.err conftest.$ac_objext \
44194 conftest$ac_exeext conftest.$ac_ext
44195 fi
44196 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44197 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44198 if test `eval echo '${'$as_ac_var'}'` = yes; then
44199 cat >>confdefs.h <<_ACEOF
44200 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44201 _ACEOF
44202
44203 fi
44204 done
44205
44206 fi
44207 fi
44208
44209
44210
44211
44212
44213
44214 echo "$as_me:$LINENO: checking for atan2l declaration" >&5
44215 echo $ECHO_N "checking for atan2l declaration... $ECHO_C" >&6
44216 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
44217 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then
44218 echo $ECHO_N "(cached) $ECHO_C" >&6
44219 else
44220
44221
44222
44223 ac_ext=cc
44224 ac_cpp='$CXXCPP $CPPFLAGS'
44225 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44226 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44227 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44228
44229 cat >conftest.$ac_ext <<_ACEOF
44230 /* confdefs.h. */
44231 _ACEOF
44232 cat confdefs.h >>conftest.$ac_ext
44233 cat >>conftest.$ac_ext <<_ACEOF
44234 /* end confdefs.h. */
44235 #include <math.h>
44236 int
44237 main ()
44238 {
44239 atan2l(0, 0);
44240 ;
44241 return 0;
44242 }
44243 _ACEOF
44244 rm -f conftest.$ac_objext
44245 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44246 (eval $ac_compile) 2>conftest.er1
44247 ac_status=$?
44248 grep -v '^ *+' conftest.er1 >conftest.err
44249 rm -f conftest.er1
44250 cat conftest.err >&5
44251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44252 (exit $ac_status); } &&
44253 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44254 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44255 (eval $ac_try) 2>&5
44256 ac_status=$?
44257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44258 (exit $ac_status); }; } &&
44259 { ac_try='test -s conftest.$ac_objext'
44260 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44261 (eval $ac_try) 2>&5
44262 ac_status=$?
44263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44264 (exit $ac_status); }; }; then
44265 glibcxx_cv_func_atan2l_use=yes
44266 else
44267 echo "$as_me: failed program was:" >&5
44268 sed 's/^/| /' conftest.$ac_ext >&5
44269
44270 glibcxx_cv_func_atan2l_use=no
44271 fi
44272 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44273 ac_ext=c
44274 ac_cpp='$CPP $CPPFLAGS'
44275 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44276 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44277 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44278
44279
44280 fi
44281
44282 fi
44283 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2l_use" >&5
44284 echo "${ECHO_T}$glibcxx_cv_func_atan2l_use" >&6
44285
44286 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
44287
44288 for ac_func in atan2l
44289 do
44290 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44291 echo "$as_me:$LINENO: checking for $ac_func" >&5
44292 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44293 if eval "test \"\${$as_ac_var+set}\" = set"; then
44294 echo $ECHO_N "(cached) $ECHO_C" >&6
44295 else
44296 if test x$gcc_no_link = xyes; then
44297 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44298 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44299 { (exit 1); exit 1; }; }
44300 fi
44301 cat >conftest.$ac_ext <<_ACEOF
44302 /* confdefs.h. */
44303 _ACEOF
44304 cat confdefs.h >>conftest.$ac_ext
44305 cat >>conftest.$ac_ext <<_ACEOF
44306 /* end confdefs.h. */
44307 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44308 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44309 #define $ac_func innocuous_$ac_func
44310
44311 /* System header to define __stub macros and hopefully few prototypes,
44312 which can conflict with char $ac_func (); below.
44313 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44314 <limits.h> exists even on freestanding compilers. */
44315
44316 #ifdef __STDC__
44317 # include <limits.h>
44318 #else
44319 # include <assert.h>
44320 #endif
44321
44322 #undef $ac_func
44323
44324 /* Override any gcc2 internal prototype to avoid an error. */
44325 #ifdef __cplusplus
44326 extern "C"
44327 {
44328 #endif
44329 /* We use char because int might match the return type of a gcc2
44330 builtin and then its argument prototype would still apply. */
44331 char $ac_func ();
44332 /* The GNU C library defines this for functions which it implements
44333 to always fail with ENOSYS. Some functions are actually named
44334 something starting with __ and the normal name is an alias. */
44335 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44336 choke me
44337 #else
44338 char (*f) () = $ac_func;
44339 #endif
44340 #ifdef __cplusplus
44341 }
44342 #endif
44343
44344 int
44345 main ()
44346 {
44347 return f != $ac_func;
44348 ;
44349 return 0;
44350 }
44351 _ACEOF
44352 rm -f conftest.$ac_objext conftest$ac_exeext
44353 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44354 (eval $ac_link) 2>conftest.er1
44355 ac_status=$?
44356 grep -v '^ *+' conftest.er1 >conftest.err
44357 rm -f conftest.er1
44358 cat conftest.err >&5
44359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44360 (exit $ac_status); } &&
44361 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
44362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44363 (eval $ac_try) 2>&5
44364 ac_status=$?
44365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44366 (exit $ac_status); }; } &&
44367 { ac_try='test -s conftest$ac_exeext'
44368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44369 (eval $ac_try) 2>&5
44370 ac_status=$?
44371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44372 (exit $ac_status); }; }; then
44373 eval "$as_ac_var=yes"
44374 else
44375 echo "$as_me: failed program was:" >&5
44376 sed 's/^/| /' conftest.$ac_ext >&5
44377
44378 eval "$as_ac_var=no"
44379 fi
44380 rm -f conftest.err conftest.$ac_objext \
44381 conftest$ac_exeext conftest.$ac_ext
44382 fi
44383 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44384 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44385 if test `eval echo '${'$as_ac_var'}'` = yes; then
44386 cat >>confdefs.h <<_ACEOF
44387 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44388 _ACEOF
44389
44390 fi
44391 done
44392
44393 else
44394
44395 echo "$as_me:$LINENO: checking for _atan2l declaration" >&5
44396 echo $ECHO_N "checking for _atan2l declaration... $ECHO_C" >&6
44397 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
44398 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then
44399 echo $ECHO_N "(cached) $ECHO_C" >&6
44400 else
44401
44402
44403
44404 ac_ext=cc
44405 ac_cpp='$CXXCPP $CPPFLAGS'
44406 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44407 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44408 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44409
44410 cat >conftest.$ac_ext <<_ACEOF
44411 /* confdefs.h. */
44412 _ACEOF
44413 cat confdefs.h >>conftest.$ac_ext
44414 cat >>conftest.$ac_ext <<_ACEOF
44415 /* end confdefs.h. */
44416 #include <math.h>
44417 int
44418 main ()
44419 {
44420 _atan2l(0, 0);
44421 ;
44422 return 0;
44423 }
44424 _ACEOF
44425 rm -f conftest.$ac_objext
44426 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44427 (eval $ac_compile) 2>conftest.er1
44428 ac_status=$?
44429 grep -v '^ *+' conftest.er1 >conftest.err
44430 rm -f conftest.er1
44431 cat conftest.err >&5
44432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44433 (exit $ac_status); } &&
44434 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44436 (eval $ac_try) 2>&5
44437 ac_status=$?
44438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44439 (exit $ac_status); }; } &&
44440 { ac_try='test -s conftest.$ac_objext'
44441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44442 (eval $ac_try) 2>&5
44443 ac_status=$?
44444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44445 (exit $ac_status); }; }; then
44446 glibcxx_cv_func__atan2l_use=yes
44447 else
44448 echo "$as_me: failed program was:" >&5
44449 sed 's/^/| /' conftest.$ac_ext >&5
44450
44451 glibcxx_cv_func__atan2l_use=no
44452 fi
44453 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44454 ac_ext=c
44455 ac_cpp='$CPP $CPPFLAGS'
44456 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44457 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44458 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44459
44460
44461 fi
44462
44463 fi
44464 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2l_use" >&5
44465 echo "${ECHO_T}$glibcxx_cv_func__atan2l_use" >&6
44466
44467 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
44468
44469 for ac_func in _atan2l
44470 do
44471 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44472 echo "$as_me:$LINENO: checking for $ac_func" >&5
44473 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44474 if eval "test \"\${$as_ac_var+set}\" = set"; then
44475 echo $ECHO_N "(cached) $ECHO_C" >&6
44476 else
44477 if test x$gcc_no_link = xyes; then
44478 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44479 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44480 { (exit 1); exit 1; }; }
44481 fi
44482 cat >conftest.$ac_ext <<_ACEOF
44483 /* confdefs.h. */
44484 _ACEOF
44485 cat confdefs.h >>conftest.$ac_ext
44486 cat >>conftest.$ac_ext <<_ACEOF
44487 /* end confdefs.h. */
44488 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44489 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44490 #define $ac_func innocuous_$ac_func
44491
44492 /* System header to define __stub macros and hopefully few prototypes,
44493 which can conflict with char $ac_func (); below.
44494 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44495 <limits.h> exists even on freestanding compilers. */
44496
44497 #ifdef __STDC__
44498 # include <limits.h>
44499 #else
44500 # include <assert.h>
44501 #endif
44502
44503 #undef $ac_func
44504
44505 /* Override any gcc2 internal prototype to avoid an error. */
44506 #ifdef __cplusplus
44507 extern "C"
44508 {
44509 #endif
44510 /* We use char because int might match the return type of a gcc2
44511 builtin and then its argument prototype would still apply. */
44512 char $ac_func ();
44513 /* The GNU C library defines this for functions which it implements
44514 to always fail with ENOSYS. Some functions are actually named
44515 something starting with __ and the normal name is an alias. */
44516 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44517 choke me
44518 #else
44519 char (*f) () = $ac_func;
44520 #endif
44521 #ifdef __cplusplus
44522 }
44523 #endif
44524
44525 int
44526 main ()
44527 {
44528 return f != $ac_func;
44529 ;
44530 return 0;
44531 }
44532 _ACEOF
44533 rm -f conftest.$ac_objext conftest$ac_exeext
44534 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44535 (eval $ac_link) 2>conftest.er1
44536 ac_status=$?
44537 grep -v '^ *+' conftest.er1 >conftest.err
44538 rm -f conftest.er1
44539 cat conftest.err >&5
44540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44541 (exit $ac_status); } &&
44542 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
44543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44544 (eval $ac_try) 2>&5
44545 ac_status=$?
44546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44547 (exit $ac_status); }; } &&
44548 { ac_try='test -s conftest$ac_exeext'
44549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44550 (eval $ac_try) 2>&5
44551 ac_status=$?
44552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44553 (exit $ac_status); }; }; then
44554 eval "$as_ac_var=yes"
44555 else
44556 echo "$as_me: failed program was:" >&5
44557 sed 's/^/| /' conftest.$ac_ext >&5
44558
44559 eval "$as_ac_var=no"
44560 fi
44561 rm -f conftest.err conftest.$ac_objext \
44562 conftest$ac_exeext conftest.$ac_ext
44563 fi
44564 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44565 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44566 if test `eval echo '${'$as_ac_var'}'` = yes; then
44567 cat >>confdefs.h <<_ACEOF
44568 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44569 _ACEOF
44570
44571 fi
44572 done
44573
44574 fi
44575 fi
44576
44577
44578
44579
44580
44581
44582 echo "$as_me:$LINENO: checking for expl declaration" >&5
44583 echo $ECHO_N "checking for expl declaration... $ECHO_C" >&6
44584 if test x${glibcxx_cv_func_expl_use+set} != xset; then
44585 if test "${glibcxx_cv_func_expl_use+set}" = set; then
44586 echo $ECHO_N "(cached) $ECHO_C" >&6
44587 else
44588
44589
44590
44591 ac_ext=cc
44592 ac_cpp='$CXXCPP $CPPFLAGS'
44593 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44594 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44595 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44596
44597 cat >conftest.$ac_ext <<_ACEOF
44598 /* confdefs.h. */
44599 _ACEOF
44600 cat confdefs.h >>conftest.$ac_ext
44601 cat >>conftest.$ac_ext <<_ACEOF
44602 /* end confdefs.h. */
44603 #include <math.h>
44604 #ifdef HAVE_IEEEFP_H
44605 #include <ieeefp.h>
44606 #endif
44607
44608 int
44609 main ()
44610 {
44611 expl(0);
44612 ;
44613 return 0;
44614 }
44615 _ACEOF
44616 rm -f conftest.$ac_objext
44617 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44618 (eval $ac_compile) 2>conftest.er1
44619 ac_status=$?
44620 grep -v '^ *+' conftest.er1 >conftest.err
44621 rm -f conftest.er1
44622 cat conftest.err >&5
44623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44624 (exit $ac_status); } &&
44625 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
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); }; } &&
44631 { ac_try='test -s conftest.$ac_objext'
44632 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44633 (eval $ac_try) 2>&5
44634 ac_status=$?
44635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44636 (exit $ac_status); }; }; then
44637 glibcxx_cv_func_expl_use=yes
44638 else
44639 echo "$as_me: failed program was:" >&5
44640 sed 's/^/| /' conftest.$ac_ext >&5
44641
44642 glibcxx_cv_func_expl_use=no
44643 fi
44644 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44645 ac_ext=c
44646 ac_cpp='$CPP $CPPFLAGS'
44647 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44648 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44649 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44650
44651
44652 fi
44653
44654 fi
44655 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expl_use" >&5
44656 echo "${ECHO_T}$glibcxx_cv_func_expl_use" >&6
44657
44658 if test x$glibcxx_cv_func_expl_use = x"yes"; then
44659
44660 for ac_func in expl
44661 do
44662 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44663 echo "$as_me:$LINENO: checking for $ac_func" >&5
44664 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44665 if eval "test \"\${$as_ac_var+set}\" = set"; then
44666 echo $ECHO_N "(cached) $ECHO_C" >&6
44667 else
44668 if test x$gcc_no_link = xyes; then
44669 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44670 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44671 { (exit 1); exit 1; }; }
44672 fi
44673 cat >conftest.$ac_ext <<_ACEOF
44674 /* confdefs.h. */
44675 _ACEOF
44676 cat confdefs.h >>conftest.$ac_ext
44677 cat >>conftest.$ac_ext <<_ACEOF
44678 /* end confdefs.h. */
44679 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44680 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44681 #define $ac_func innocuous_$ac_func
44682
44683 /* System header to define __stub macros and hopefully few prototypes,
44684 which can conflict with char $ac_func (); below.
44685 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44686 <limits.h> exists even on freestanding compilers. */
44687
44688 #ifdef __STDC__
44689 # include <limits.h>
44690 #else
44691 # include <assert.h>
44692 #endif
44693
44694 #undef $ac_func
44695
44696 /* Override any gcc2 internal prototype to avoid an error. */
44697 #ifdef __cplusplus
44698 extern "C"
44699 {
44700 #endif
44701 /* We use char because int might match the return type of a gcc2
44702 builtin and then its argument prototype would still apply. */
44703 char $ac_func ();
44704 /* The GNU C library defines this for functions which it implements
44705 to always fail with ENOSYS. Some functions are actually named
44706 something starting with __ and the normal name is an alias. */
44707 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44708 choke me
44709 #else
44710 char (*f) () = $ac_func;
44711 #endif
44712 #ifdef __cplusplus
44713 }
44714 #endif
44715
44716 int
44717 main ()
44718 {
44719 return f != $ac_func;
44720 ;
44721 return 0;
44722 }
44723 _ACEOF
44724 rm -f conftest.$ac_objext conftest$ac_exeext
44725 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44726 (eval $ac_link) 2>conftest.er1
44727 ac_status=$?
44728 grep -v '^ *+' conftest.er1 >conftest.err
44729 rm -f conftest.er1
44730 cat conftest.err >&5
44731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44732 (exit $ac_status); } &&
44733 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
44734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44735 (eval $ac_try) 2>&5
44736 ac_status=$?
44737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44738 (exit $ac_status); }; } &&
44739 { ac_try='test -s conftest$ac_exeext'
44740 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44741 (eval $ac_try) 2>&5
44742 ac_status=$?
44743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44744 (exit $ac_status); }; }; then
44745 eval "$as_ac_var=yes"
44746 else
44747 echo "$as_me: failed program was:" >&5
44748 sed 's/^/| /' conftest.$ac_ext >&5
44749
44750 eval "$as_ac_var=no"
44751 fi
44752 rm -f conftest.err conftest.$ac_objext \
44753 conftest$ac_exeext conftest.$ac_ext
44754 fi
44755 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44756 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44757 if test `eval echo '${'$as_ac_var'}'` = yes; then
44758 cat >>confdefs.h <<_ACEOF
44759 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44760 _ACEOF
44761
44762 fi
44763 done
44764
44765 else
44766
44767 echo "$as_me:$LINENO: checking for _expl declaration" >&5
44768 echo $ECHO_N "checking for _expl declaration... $ECHO_C" >&6
44769 if test x${glibcxx_cv_func__expl_use+set} != xset; then
44770 if test "${glibcxx_cv_func__expl_use+set}" = set; then
44771 echo $ECHO_N "(cached) $ECHO_C" >&6
44772 else
44773
44774
44775
44776 ac_ext=cc
44777 ac_cpp='$CXXCPP $CPPFLAGS'
44778 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44779 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44780 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44781
44782 cat >conftest.$ac_ext <<_ACEOF
44783 /* confdefs.h. */
44784 _ACEOF
44785 cat confdefs.h >>conftest.$ac_ext
44786 cat >>conftest.$ac_ext <<_ACEOF
44787 /* end confdefs.h. */
44788 #include <math.h>
44789 #ifdef HAVE_IEEEFP_H
44790 #include <ieeefp.h>
44791 #endif
44792
44793 int
44794 main ()
44795 {
44796 _expl(0);
44797 ;
44798 return 0;
44799 }
44800 _ACEOF
44801 rm -f conftest.$ac_objext
44802 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44803 (eval $ac_compile) 2>conftest.er1
44804 ac_status=$?
44805 grep -v '^ *+' conftest.er1 >conftest.err
44806 rm -f conftest.er1
44807 cat conftest.err >&5
44808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44809 (exit $ac_status); } &&
44810 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44812 (eval $ac_try) 2>&5
44813 ac_status=$?
44814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44815 (exit $ac_status); }; } &&
44816 { ac_try='test -s conftest.$ac_objext'
44817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44818 (eval $ac_try) 2>&5
44819 ac_status=$?
44820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44821 (exit $ac_status); }; }; then
44822 glibcxx_cv_func__expl_use=yes
44823 else
44824 echo "$as_me: failed program was:" >&5
44825 sed 's/^/| /' conftest.$ac_ext >&5
44826
44827 glibcxx_cv_func__expl_use=no
44828 fi
44829 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44830 ac_ext=c
44831 ac_cpp='$CPP $CPPFLAGS'
44832 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44833 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44834 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44835
44836
44837 fi
44838
44839 fi
44840 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expl_use" >&5
44841 echo "${ECHO_T}$glibcxx_cv_func__expl_use" >&6
44842
44843 if test x$glibcxx_cv_func__expl_use = x"yes"; then
44844
44845 for ac_func in _expl
44846 do
44847 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44848 echo "$as_me:$LINENO: checking for $ac_func" >&5
44849 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44850 if eval "test \"\${$as_ac_var+set}\" = set"; then
44851 echo $ECHO_N "(cached) $ECHO_C" >&6
44852 else
44853 if test x$gcc_no_link = xyes; then
44854 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44855 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44856 { (exit 1); exit 1; }; }
44857 fi
44858 cat >conftest.$ac_ext <<_ACEOF
44859 /* confdefs.h. */
44860 _ACEOF
44861 cat confdefs.h >>conftest.$ac_ext
44862 cat >>conftest.$ac_ext <<_ACEOF
44863 /* end confdefs.h. */
44864 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44865 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44866 #define $ac_func innocuous_$ac_func
44867
44868 /* System header to define __stub macros and hopefully few prototypes,
44869 which can conflict with char $ac_func (); below.
44870 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44871 <limits.h> exists even on freestanding compilers. */
44872
44873 #ifdef __STDC__
44874 # include <limits.h>
44875 #else
44876 # include <assert.h>
44877 #endif
44878
44879 #undef $ac_func
44880
44881 /* Override any gcc2 internal prototype to avoid an error. */
44882 #ifdef __cplusplus
44883 extern "C"
44884 {
44885 #endif
44886 /* We use char because int might match the return type of a gcc2
44887 builtin and then its argument prototype would still apply. */
44888 char $ac_func ();
44889 /* The GNU C library defines this for functions which it implements
44890 to always fail with ENOSYS. Some functions are actually named
44891 something starting with __ and the normal name is an alias. */
44892 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44893 choke me
44894 #else
44895 char (*f) () = $ac_func;
44896 #endif
44897 #ifdef __cplusplus
44898 }
44899 #endif
44900
44901 int
44902 main ()
44903 {
44904 return f != $ac_func;
44905 ;
44906 return 0;
44907 }
44908 _ACEOF
44909 rm -f conftest.$ac_objext conftest$ac_exeext
44910 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44911 (eval $ac_link) 2>conftest.er1
44912 ac_status=$?
44913 grep -v '^ *+' conftest.er1 >conftest.err
44914 rm -f conftest.er1
44915 cat conftest.err >&5
44916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44917 (exit $ac_status); } &&
44918 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
44919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44920 (eval $ac_try) 2>&5
44921 ac_status=$?
44922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44923 (exit $ac_status); }; } &&
44924 { ac_try='test -s conftest$ac_exeext'
44925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44926 (eval $ac_try) 2>&5
44927 ac_status=$?
44928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44929 (exit $ac_status); }; }; then
44930 eval "$as_ac_var=yes"
44931 else
44932 echo "$as_me: failed program was:" >&5
44933 sed 's/^/| /' conftest.$ac_ext >&5
44934
44935 eval "$as_ac_var=no"
44936 fi
44937 rm -f conftest.err conftest.$ac_objext \
44938 conftest$ac_exeext conftest.$ac_ext
44939 fi
44940 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44941 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44942 if test `eval echo '${'$as_ac_var'}'` = yes; then
44943 cat >>confdefs.h <<_ACEOF
44944 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44945 _ACEOF
44946
44947 fi
44948 done
44949
44950 fi
44951 fi
44952
44953
44954
44955
44956
44957
44958 echo "$as_me:$LINENO: checking for fabsl declaration" >&5
44959 echo $ECHO_N "checking for fabsl declaration... $ECHO_C" >&6
44960 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
44961 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then
44962 echo $ECHO_N "(cached) $ECHO_C" >&6
44963 else
44964
44965
44966
44967 ac_ext=cc
44968 ac_cpp='$CXXCPP $CPPFLAGS'
44969 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44970 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44971 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44972
44973 cat >conftest.$ac_ext <<_ACEOF
44974 /* confdefs.h. */
44975 _ACEOF
44976 cat confdefs.h >>conftest.$ac_ext
44977 cat >>conftest.$ac_ext <<_ACEOF
44978 /* end confdefs.h. */
44979 #include <math.h>
44980 #ifdef HAVE_IEEEFP_H
44981 #include <ieeefp.h>
44982 #endif
44983
44984 int
44985 main ()
44986 {
44987 fabsl(0);
44988 ;
44989 return 0;
44990 }
44991 _ACEOF
44992 rm -f conftest.$ac_objext
44993 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44994 (eval $ac_compile) 2>conftest.er1
44995 ac_status=$?
44996 grep -v '^ *+' conftest.er1 >conftest.err
44997 rm -f conftest.er1
44998 cat conftest.err >&5
44999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45000 (exit $ac_status); } &&
45001 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
45002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45003 (eval $ac_try) 2>&5
45004 ac_status=$?
45005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45006 (exit $ac_status); }; } &&
45007 { ac_try='test -s conftest.$ac_objext'
45008 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45009 (eval $ac_try) 2>&5
45010 ac_status=$?
45011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45012 (exit $ac_status); }; }; then
45013 glibcxx_cv_func_fabsl_use=yes
45014 else
45015 echo "$as_me: failed program was:" >&5
45016 sed 's/^/| /' conftest.$ac_ext >&5
45017
45018 glibcxx_cv_func_fabsl_use=no
45019 fi
45020 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45021 ac_ext=c
45022 ac_cpp='$CPP $CPPFLAGS'
45023 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45024 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45025 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45026
45027
45028 fi
45029
45030 fi
45031 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsl_use" >&5
45032 echo "${ECHO_T}$glibcxx_cv_func_fabsl_use" >&6
45033
45034 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
45035
45036 for ac_func in fabsl
45037 do
45038 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45039 echo "$as_me:$LINENO: checking for $ac_func" >&5
45040 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45041 if eval "test \"\${$as_ac_var+set}\" = set"; then
45042 echo $ECHO_N "(cached) $ECHO_C" >&6
45043 else
45044 if test x$gcc_no_link = xyes; then
45045 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45046 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45047 { (exit 1); exit 1; }; }
45048 fi
45049 cat >conftest.$ac_ext <<_ACEOF
45050 /* confdefs.h. */
45051 _ACEOF
45052 cat confdefs.h >>conftest.$ac_ext
45053 cat >>conftest.$ac_ext <<_ACEOF
45054 /* end confdefs.h. */
45055 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45056 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45057 #define $ac_func innocuous_$ac_func
45058
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
45064 #ifdef __STDC__
45065 # include <limits.h>
45066 #else
45067 # include <assert.h>
45068 #endif
45069
45070 #undef $ac_func
45071
45072 /* Override any gcc2 internal prototype to avoid an error. */
45073 #ifdef __cplusplus
45074 extern "C"
45075 {
45076 #endif
45077 /* We use char because int might match the return type of a gcc2
45078 builtin and then its argument prototype would still apply. */
45079 char $ac_func ();
45080 /* The GNU C library defines this for functions which it implements
45081 to always fail with ENOSYS. Some functions are actually named
45082 something starting with __ and the normal name is an alias. */
45083 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45084 choke me
45085 #else
45086 char (*f) () = $ac_func;
45087 #endif
45088 #ifdef __cplusplus
45089 }
45090 #endif
45091
45092 int
45093 main ()
45094 {
45095 return f != $ac_func;
45096 ;
45097 return 0;
45098 }
45099 _ACEOF
45100 rm -f conftest.$ac_objext conftest$ac_exeext
45101 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45102 (eval $ac_link) 2>conftest.er1
45103 ac_status=$?
45104 grep -v '^ *+' conftest.er1 >conftest.err
45105 rm -f conftest.er1
45106 cat conftest.err >&5
45107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45108 (exit $ac_status); } &&
45109 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
45110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45111 (eval $ac_try) 2>&5
45112 ac_status=$?
45113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45114 (exit $ac_status); }; } &&
45115 { ac_try='test -s conftest$ac_exeext'
45116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45117 (eval $ac_try) 2>&5
45118 ac_status=$?
45119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45120 (exit $ac_status); }; }; then
45121 eval "$as_ac_var=yes"
45122 else
45123 echo "$as_me: failed program was:" >&5
45124 sed 's/^/| /' conftest.$ac_ext >&5
45125
45126 eval "$as_ac_var=no"
45127 fi
45128 rm -f conftest.err conftest.$ac_objext \
45129 conftest$ac_exeext conftest.$ac_ext
45130 fi
45131 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45132 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45133 if test `eval echo '${'$as_ac_var'}'` = yes; then
45134 cat >>confdefs.h <<_ACEOF
45135 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45136 _ACEOF
45137
45138 fi
45139 done
45140
45141 else
45142
45143 echo "$as_me:$LINENO: checking for _fabsl declaration" >&5
45144 echo $ECHO_N "checking for _fabsl declaration... $ECHO_C" >&6
45145 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
45146 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then
45147 echo $ECHO_N "(cached) $ECHO_C" >&6
45148 else
45149
45150
45151
45152 ac_ext=cc
45153 ac_cpp='$CXXCPP $CPPFLAGS'
45154 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45155 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45156 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45157
45158 cat >conftest.$ac_ext <<_ACEOF
45159 /* confdefs.h. */
45160 _ACEOF
45161 cat confdefs.h >>conftest.$ac_ext
45162 cat >>conftest.$ac_ext <<_ACEOF
45163 /* end confdefs.h. */
45164 #include <math.h>
45165 #ifdef HAVE_IEEEFP_H
45166 #include <ieeefp.h>
45167 #endif
45168
45169 int
45170 main ()
45171 {
45172 _fabsl(0);
45173 ;
45174 return 0;
45175 }
45176 _ACEOF
45177 rm -f conftest.$ac_objext
45178 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45179 (eval $ac_compile) 2>conftest.er1
45180 ac_status=$?
45181 grep -v '^ *+' conftest.er1 >conftest.err
45182 rm -f conftest.er1
45183 cat conftest.err >&5
45184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45185 (exit $ac_status); } &&
45186 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
45187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45188 (eval $ac_try) 2>&5
45189 ac_status=$?
45190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45191 (exit $ac_status); }; } &&
45192 { ac_try='test -s conftest.$ac_objext'
45193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45194 (eval $ac_try) 2>&5
45195 ac_status=$?
45196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45197 (exit $ac_status); }; }; then
45198 glibcxx_cv_func__fabsl_use=yes
45199 else
45200 echo "$as_me: failed program was:" >&5
45201 sed 's/^/| /' conftest.$ac_ext >&5
45202
45203 glibcxx_cv_func__fabsl_use=no
45204 fi
45205 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45206 ac_ext=c
45207 ac_cpp='$CPP $CPPFLAGS'
45208 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45209 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45210 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45211
45212
45213 fi
45214
45215 fi
45216 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsl_use" >&5
45217 echo "${ECHO_T}$glibcxx_cv_func__fabsl_use" >&6
45218
45219 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
45220
45221 for ac_func in _fabsl
45222 do
45223 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45224 echo "$as_me:$LINENO: checking for $ac_func" >&5
45225 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45226 if eval "test \"\${$as_ac_var+set}\" = set"; then
45227 echo $ECHO_N "(cached) $ECHO_C" >&6
45228 else
45229 if test x$gcc_no_link = xyes; then
45230 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45231 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45232 { (exit 1); exit 1; }; }
45233 fi
45234 cat >conftest.$ac_ext <<_ACEOF
45235 /* confdefs.h. */
45236 _ACEOF
45237 cat confdefs.h >>conftest.$ac_ext
45238 cat >>conftest.$ac_ext <<_ACEOF
45239 /* end confdefs.h. */
45240 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45241 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45242 #define $ac_func innocuous_$ac_func
45243
45244 /* System header to define __stub macros and hopefully few prototypes,
45245 which can conflict with char $ac_func (); below.
45246 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45247 <limits.h> exists even on freestanding compilers. */
45248
45249 #ifdef __STDC__
45250 # include <limits.h>
45251 #else
45252 # include <assert.h>
45253 #endif
45254
45255 #undef $ac_func
45256
45257 /* Override any gcc2 internal prototype to avoid an error. */
45258 #ifdef __cplusplus
45259 extern "C"
45260 {
45261 #endif
45262 /* We use char because int might match the return type of a gcc2
45263 builtin and then its argument prototype would still apply. */
45264 char $ac_func ();
45265 /* The GNU C library defines this for functions which it implements
45266 to always fail with ENOSYS. Some functions are actually named
45267 something starting with __ and the normal name is an alias. */
45268 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45269 choke me
45270 #else
45271 char (*f) () = $ac_func;
45272 #endif
45273 #ifdef __cplusplus
45274 }
45275 #endif
45276
45277 int
45278 main ()
45279 {
45280 return f != $ac_func;
45281 ;
45282 return 0;
45283 }
45284 _ACEOF
45285 rm -f conftest.$ac_objext conftest$ac_exeext
45286 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45287 (eval $ac_link) 2>conftest.er1
45288 ac_status=$?
45289 grep -v '^ *+' conftest.er1 >conftest.err
45290 rm -f conftest.er1
45291 cat conftest.err >&5
45292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45293 (exit $ac_status); } &&
45294 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
45295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45296 (eval $ac_try) 2>&5
45297 ac_status=$?
45298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45299 (exit $ac_status); }; } &&
45300 { ac_try='test -s conftest$ac_exeext'
45301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45302 (eval $ac_try) 2>&5
45303 ac_status=$?
45304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45305 (exit $ac_status); }; }; then
45306 eval "$as_ac_var=yes"
45307 else
45308 echo "$as_me: failed program was:" >&5
45309 sed 's/^/| /' conftest.$ac_ext >&5
45310
45311 eval "$as_ac_var=no"
45312 fi
45313 rm -f conftest.err conftest.$ac_objext \
45314 conftest$ac_exeext conftest.$ac_ext
45315 fi
45316 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45317 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45318 if test `eval echo '${'$as_ac_var'}'` = yes; then
45319 cat >>confdefs.h <<_ACEOF
45320 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45321 _ACEOF
45322
45323 fi
45324 done
45325
45326 fi
45327 fi
45328
45329
45330
45331
45332
45333
45334 echo "$as_me:$LINENO: checking for fmodl declaration" >&5
45335 echo $ECHO_N "checking for fmodl declaration... $ECHO_C" >&6
45336 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
45337 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then
45338 echo $ECHO_N "(cached) $ECHO_C" >&6
45339 else
45340
45341
45342
45343 ac_ext=cc
45344 ac_cpp='$CXXCPP $CPPFLAGS'
45345 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45346 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45347 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45348
45349 cat >conftest.$ac_ext <<_ACEOF
45350 /* confdefs.h. */
45351 _ACEOF
45352 cat confdefs.h >>conftest.$ac_ext
45353 cat >>conftest.$ac_ext <<_ACEOF
45354 /* end confdefs.h. */
45355 #include <math.h>
45356 int
45357 main ()
45358 {
45359 fmodl(0, 0);
45360 ;
45361 return 0;
45362 }
45363 _ACEOF
45364 rm -f conftest.$ac_objext
45365 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45366 (eval $ac_compile) 2>conftest.er1
45367 ac_status=$?
45368 grep -v '^ *+' conftest.er1 >conftest.err
45369 rm -f conftest.er1
45370 cat conftest.err >&5
45371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45372 (exit $ac_status); } &&
45373 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
45374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45375 (eval $ac_try) 2>&5
45376 ac_status=$?
45377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45378 (exit $ac_status); }; } &&
45379 { ac_try='test -s conftest.$ac_objext'
45380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45381 (eval $ac_try) 2>&5
45382 ac_status=$?
45383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45384 (exit $ac_status); }; }; then
45385 glibcxx_cv_func_fmodl_use=yes
45386 else
45387 echo "$as_me: failed program was:" >&5
45388 sed 's/^/| /' conftest.$ac_ext >&5
45389
45390 glibcxx_cv_func_fmodl_use=no
45391 fi
45392 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45393 ac_ext=c
45394 ac_cpp='$CPP $CPPFLAGS'
45395 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45396 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45397 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45398
45399
45400 fi
45401
45402 fi
45403 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodl_use" >&5
45404 echo "${ECHO_T}$glibcxx_cv_func_fmodl_use" >&6
45405
45406 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
45407
45408 for ac_func in fmodl
45409 do
45410 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45411 echo "$as_me:$LINENO: checking for $ac_func" >&5
45412 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45413 if eval "test \"\${$as_ac_var+set}\" = set"; then
45414 echo $ECHO_N "(cached) $ECHO_C" >&6
45415 else
45416 if test x$gcc_no_link = xyes; then
45417 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45418 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45419 { (exit 1); exit 1; }; }
45420 fi
45421 cat >conftest.$ac_ext <<_ACEOF
45422 /* confdefs.h. */
45423 _ACEOF
45424 cat confdefs.h >>conftest.$ac_ext
45425 cat >>conftest.$ac_ext <<_ACEOF
45426 /* end confdefs.h. */
45427 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45428 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45429 #define $ac_func innocuous_$ac_func
45430
45431 /* System header to define __stub macros and hopefully few prototypes,
45432 which can conflict with char $ac_func (); below.
45433 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45434 <limits.h> exists even on freestanding compilers. */
45435
45436 #ifdef __STDC__
45437 # include <limits.h>
45438 #else
45439 # include <assert.h>
45440 #endif
45441
45442 #undef $ac_func
45443
45444 /* Override any gcc2 internal prototype to avoid an error. */
45445 #ifdef __cplusplus
45446 extern "C"
45447 {
45448 #endif
45449 /* We use char because int might match the return type of a gcc2
45450 builtin and then its argument prototype would still apply. */
45451 char $ac_func ();
45452 /* The GNU C library defines this for functions which it implements
45453 to always fail with ENOSYS. Some functions are actually named
45454 something starting with __ and the normal name is an alias. */
45455 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45456 choke me
45457 #else
45458 char (*f) () = $ac_func;
45459 #endif
45460 #ifdef __cplusplus
45461 }
45462 #endif
45463
45464 int
45465 main ()
45466 {
45467 return f != $ac_func;
45468 ;
45469 return 0;
45470 }
45471 _ACEOF
45472 rm -f conftest.$ac_objext conftest$ac_exeext
45473 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45474 (eval $ac_link) 2>conftest.er1
45475 ac_status=$?
45476 grep -v '^ *+' conftest.er1 >conftest.err
45477 rm -f conftest.er1
45478 cat conftest.err >&5
45479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45480 (exit $ac_status); } &&
45481 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
45482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45483 (eval $ac_try) 2>&5
45484 ac_status=$?
45485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45486 (exit $ac_status); }; } &&
45487 { ac_try='test -s conftest$ac_exeext'
45488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45489 (eval $ac_try) 2>&5
45490 ac_status=$?
45491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45492 (exit $ac_status); }; }; then
45493 eval "$as_ac_var=yes"
45494 else
45495 echo "$as_me: failed program was:" >&5
45496 sed 's/^/| /' conftest.$ac_ext >&5
45497
45498 eval "$as_ac_var=no"
45499 fi
45500 rm -f conftest.err conftest.$ac_objext \
45501 conftest$ac_exeext conftest.$ac_ext
45502 fi
45503 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45504 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45505 if test `eval echo '${'$as_ac_var'}'` = yes; then
45506 cat >>confdefs.h <<_ACEOF
45507 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45508 _ACEOF
45509
45510 fi
45511 done
45512
45513 else
45514
45515 echo "$as_me:$LINENO: checking for _fmodl declaration" >&5
45516 echo $ECHO_N "checking for _fmodl declaration... $ECHO_C" >&6
45517 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
45518 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then
45519 echo $ECHO_N "(cached) $ECHO_C" >&6
45520 else
45521
45522
45523
45524 ac_ext=cc
45525 ac_cpp='$CXXCPP $CPPFLAGS'
45526 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45527 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45528 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45529
45530 cat >conftest.$ac_ext <<_ACEOF
45531 /* confdefs.h. */
45532 _ACEOF
45533 cat confdefs.h >>conftest.$ac_ext
45534 cat >>conftest.$ac_ext <<_ACEOF
45535 /* end confdefs.h. */
45536 #include <math.h>
45537 int
45538 main ()
45539 {
45540 _fmodl(0, 0);
45541 ;
45542 return 0;
45543 }
45544 _ACEOF
45545 rm -f conftest.$ac_objext
45546 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45547 (eval $ac_compile) 2>conftest.er1
45548 ac_status=$?
45549 grep -v '^ *+' conftest.er1 >conftest.err
45550 rm -f conftest.er1
45551 cat conftest.err >&5
45552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45553 (exit $ac_status); } &&
45554 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
45555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45556 (eval $ac_try) 2>&5
45557 ac_status=$?
45558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45559 (exit $ac_status); }; } &&
45560 { ac_try='test -s conftest.$ac_objext'
45561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45562 (eval $ac_try) 2>&5
45563 ac_status=$?
45564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45565 (exit $ac_status); }; }; then
45566 glibcxx_cv_func__fmodl_use=yes
45567 else
45568 echo "$as_me: failed program was:" >&5
45569 sed 's/^/| /' conftest.$ac_ext >&5
45570
45571 glibcxx_cv_func__fmodl_use=no
45572 fi
45573 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45574 ac_ext=c
45575 ac_cpp='$CPP $CPPFLAGS'
45576 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45577 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45578 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45579
45580
45581 fi
45582
45583 fi
45584 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodl_use" >&5
45585 echo "${ECHO_T}$glibcxx_cv_func__fmodl_use" >&6
45586
45587 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
45588
45589 for ac_func in _fmodl
45590 do
45591 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45592 echo "$as_me:$LINENO: checking for $ac_func" >&5
45593 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45594 if eval "test \"\${$as_ac_var+set}\" = set"; then
45595 echo $ECHO_N "(cached) $ECHO_C" >&6
45596 else
45597 if test x$gcc_no_link = xyes; then
45598 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45599 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45600 { (exit 1); exit 1; }; }
45601 fi
45602 cat >conftest.$ac_ext <<_ACEOF
45603 /* confdefs.h. */
45604 _ACEOF
45605 cat confdefs.h >>conftest.$ac_ext
45606 cat >>conftest.$ac_ext <<_ACEOF
45607 /* end confdefs.h. */
45608 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45609 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45610 #define $ac_func innocuous_$ac_func
45611
45612 /* System header to define __stub macros and hopefully few prototypes,
45613 which can conflict with char $ac_func (); below.
45614 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45615 <limits.h> exists even on freestanding compilers. */
45616
45617 #ifdef __STDC__
45618 # include <limits.h>
45619 #else
45620 # include <assert.h>
45621 #endif
45622
45623 #undef $ac_func
45624
45625 /* Override any gcc2 internal prototype to avoid an error. */
45626 #ifdef __cplusplus
45627 extern "C"
45628 {
45629 #endif
45630 /* We use char because int might match the return type of a gcc2
45631 builtin and then its argument prototype would still apply. */
45632 char $ac_func ();
45633 /* The GNU C library defines this for functions which it implements
45634 to always fail with ENOSYS. Some functions are actually named
45635 something starting with __ and the normal name is an alias. */
45636 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45637 choke me
45638 #else
45639 char (*f) () = $ac_func;
45640 #endif
45641 #ifdef __cplusplus
45642 }
45643 #endif
45644
45645 int
45646 main ()
45647 {
45648 return f != $ac_func;
45649 ;
45650 return 0;
45651 }
45652 _ACEOF
45653 rm -f conftest.$ac_objext conftest$ac_exeext
45654 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45655 (eval $ac_link) 2>conftest.er1
45656 ac_status=$?
45657 grep -v '^ *+' conftest.er1 >conftest.err
45658 rm -f conftest.er1
45659 cat conftest.err >&5
45660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45661 (exit $ac_status); } &&
45662 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
45663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45664 (eval $ac_try) 2>&5
45665 ac_status=$?
45666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45667 (exit $ac_status); }; } &&
45668 { ac_try='test -s conftest$ac_exeext'
45669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45670 (eval $ac_try) 2>&5
45671 ac_status=$?
45672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45673 (exit $ac_status); }; }; then
45674 eval "$as_ac_var=yes"
45675 else
45676 echo "$as_me: failed program was:" >&5
45677 sed 's/^/| /' conftest.$ac_ext >&5
45678
45679 eval "$as_ac_var=no"
45680 fi
45681 rm -f conftest.err conftest.$ac_objext \
45682 conftest$ac_exeext conftest.$ac_ext
45683 fi
45684 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45685 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45686 if test `eval echo '${'$as_ac_var'}'` = yes; then
45687 cat >>confdefs.h <<_ACEOF
45688 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45689 _ACEOF
45690
45691 fi
45692 done
45693
45694 fi
45695 fi
45696
45697
45698
45699
45700
45701
45702 echo "$as_me:$LINENO: checking for frexpl declaration" >&5
45703 echo $ECHO_N "checking for frexpl declaration... $ECHO_C" >&6
45704 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
45705 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then
45706 echo $ECHO_N "(cached) $ECHO_C" >&6
45707 else
45708
45709
45710
45711 ac_ext=cc
45712 ac_cpp='$CXXCPP $CPPFLAGS'
45713 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45714 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45715 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45716
45717 cat >conftest.$ac_ext <<_ACEOF
45718 /* confdefs.h. */
45719 _ACEOF
45720 cat confdefs.h >>conftest.$ac_ext
45721 cat >>conftest.$ac_ext <<_ACEOF
45722 /* end confdefs.h. */
45723 #include <math.h>
45724 int
45725 main ()
45726 {
45727 frexpl(0, 0);
45728 ;
45729 return 0;
45730 }
45731 _ACEOF
45732 rm -f conftest.$ac_objext
45733 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45734 (eval $ac_compile) 2>conftest.er1
45735 ac_status=$?
45736 grep -v '^ *+' conftest.er1 >conftest.err
45737 rm -f conftest.er1
45738 cat conftest.err >&5
45739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45740 (exit $ac_status); } &&
45741 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
45742 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45743 (eval $ac_try) 2>&5
45744 ac_status=$?
45745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45746 (exit $ac_status); }; } &&
45747 { ac_try='test -s conftest.$ac_objext'
45748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45749 (eval $ac_try) 2>&5
45750 ac_status=$?
45751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45752 (exit $ac_status); }; }; then
45753 glibcxx_cv_func_frexpl_use=yes
45754 else
45755 echo "$as_me: failed program was:" >&5
45756 sed 's/^/| /' conftest.$ac_ext >&5
45757
45758 glibcxx_cv_func_frexpl_use=no
45759 fi
45760 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45761 ac_ext=c
45762 ac_cpp='$CPP $CPPFLAGS'
45763 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45764 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45765 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45766
45767
45768 fi
45769
45770 fi
45771 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpl_use" >&5
45772 echo "${ECHO_T}$glibcxx_cv_func_frexpl_use" >&6
45773
45774 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
45775
45776 for ac_func in frexpl
45777 do
45778 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45779 echo "$as_me:$LINENO: checking for $ac_func" >&5
45780 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45781 if eval "test \"\${$as_ac_var+set}\" = set"; then
45782 echo $ECHO_N "(cached) $ECHO_C" >&6
45783 else
45784 if test x$gcc_no_link = xyes; then
45785 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45786 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45787 { (exit 1); exit 1; }; }
45788 fi
45789 cat >conftest.$ac_ext <<_ACEOF
45790 /* confdefs.h. */
45791 _ACEOF
45792 cat confdefs.h >>conftest.$ac_ext
45793 cat >>conftest.$ac_ext <<_ACEOF
45794 /* end confdefs.h. */
45795 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45796 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45797 #define $ac_func innocuous_$ac_func
45798
45799 /* System header to define __stub macros and hopefully few prototypes,
45800 which can conflict with char $ac_func (); below.
45801 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45802 <limits.h> exists even on freestanding compilers. */
45803
45804 #ifdef __STDC__
45805 # include <limits.h>
45806 #else
45807 # include <assert.h>
45808 #endif
45809
45810 #undef $ac_func
45811
45812 /* Override any gcc2 internal prototype to avoid an error. */
45813 #ifdef __cplusplus
45814 extern "C"
45815 {
45816 #endif
45817 /* We use char because int might match the return type of a gcc2
45818 builtin and then its argument prototype would still apply. */
45819 char $ac_func ();
45820 /* The GNU C library defines this for functions which it implements
45821 to always fail with ENOSYS. Some functions are actually named
45822 something starting with __ and the normal name is an alias. */
45823 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45824 choke me
45825 #else
45826 char (*f) () = $ac_func;
45827 #endif
45828 #ifdef __cplusplus
45829 }
45830 #endif
45831
45832 int
45833 main ()
45834 {
45835 return f != $ac_func;
45836 ;
45837 return 0;
45838 }
45839 _ACEOF
45840 rm -f conftest.$ac_objext conftest$ac_exeext
45841 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45842 (eval $ac_link) 2>conftest.er1
45843 ac_status=$?
45844 grep -v '^ *+' conftest.er1 >conftest.err
45845 rm -f conftest.er1
45846 cat conftest.err >&5
45847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45848 (exit $ac_status); } &&
45849 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
45850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45851 (eval $ac_try) 2>&5
45852 ac_status=$?
45853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45854 (exit $ac_status); }; } &&
45855 { ac_try='test -s conftest$ac_exeext'
45856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45857 (eval $ac_try) 2>&5
45858 ac_status=$?
45859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45860 (exit $ac_status); }; }; then
45861 eval "$as_ac_var=yes"
45862 else
45863 echo "$as_me: failed program was:" >&5
45864 sed 's/^/| /' conftest.$ac_ext >&5
45865
45866 eval "$as_ac_var=no"
45867 fi
45868 rm -f conftest.err conftest.$ac_objext \
45869 conftest$ac_exeext conftest.$ac_ext
45870 fi
45871 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45872 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45873 if test `eval echo '${'$as_ac_var'}'` = yes; then
45874 cat >>confdefs.h <<_ACEOF
45875 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45876 _ACEOF
45877
45878 fi
45879 done
45880
45881 else
45882
45883 echo "$as_me:$LINENO: checking for _frexpl declaration" >&5
45884 echo $ECHO_N "checking for _frexpl declaration... $ECHO_C" >&6
45885 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
45886 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then
45887 echo $ECHO_N "(cached) $ECHO_C" >&6
45888 else
45889
45890
45891
45892 ac_ext=cc
45893 ac_cpp='$CXXCPP $CPPFLAGS'
45894 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45895 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45896 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45897
45898 cat >conftest.$ac_ext <<_ACEOF
45899 /* confdefs.h. */
45900 _ACEOF
45901 cat confdefs.h >>conftest.$ac_ext
45902 cat >>conftest.$ac_ext <<_ACEOF
45903 /* end confdefs.h. */
45904 #include <math.h>
45905 int
45906 main ()
45907 {
45908 _frexpl(0, 0);
45909 ;
45910 return 0;
45911 }
45912 _ACEOF
45913 rm -f conftest.$ac_objext
45914 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45915 (eval $ac_compile) 2>conftest.er1
45916 ac_status=$?
45917 grep -v '^ *+' conftest.er1 >conftest.err
45918 rm -f conftest.er1
45919 cat conftest.err >&5
45920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45921 (exit $ac_status); } &&
45922 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
45923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45924 (eval $ac_try) 2>&5
45925 ac_status=$?
45926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45927 (exit $ac_status); }; } &&
45928 { ac_try='test -s conftest.$ac_objext'
45929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45930 (eval $ac_try) 2>&5
45931 ac_status=$?
45932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45933 (exit $ac_status); }; }; then
45934 glibcxx_cv_func__frexpl_use=yes
45935 else
45936 echo "$as_me: failed program was:" >&5
45937 sed 's/^/| /' conftest.$ac_ext >&5
45938
45939 glibcxx_cv_func__frexpl_use=no
45940 fi
45941 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45942 ac_ext=c
45943 ac_cpp='$CPP $CPPFLAGS'
45944 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45945 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45946 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45947
45948
45949 fi
45950
45951 fi
45952 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpl_use" >&5
45953 echo "${ECHO_T}$glibcxx_cv_func__frexpl_use" >&6
45954
45955 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
45956
45957 for ac_func in _frexpl
45958 do
45959 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45960 echo "$as_me:$LINENO: checking for $ac_func" >&5
45961 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45962 if eval "test \"\${$as_ac_var+set}\" = set"; then
45963 echo $ECHO_N "(cached) $ECHO_C" >&6
45964 else
45965 if test x$gcc_no_link = xyes; then
45966 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45967 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45968 { (exit 1); exit 1; }; }
45969 fi
45970 cat >conftest.$ac_ext <<_ACEOF
45971 /* confdefs.h. */
45972 _ACEOF
45973 cat confdefs.h >>conftest.$ac_ext
45974 cat >>conftest.$ac_ext <<_ACEOF
45975 /* end confdefs.h. */
45976 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45977 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45978 #define $ac_func innocuous_$ac_func
45979
45980 /* System header to define __stub macros and hopefully few prototypes,
45981 which can conflict with char $ac_func (); below.
45982 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45983 <limits.h> exists even on freestanding compilers. */
45984
45985 #ifdef __STDC__
45986 # include <limits.h>
45987 #else
45988 # include <assert.h>
45989 #endif
45990
45991 #undef $ac_func
45992
45993 /* Override any gcc2 internal prototype to avoid an error. */
45994 #ifdef __cplusplus
45995 extern "C"
45996 {
45997 #endif
45998 /* We use char because int might match the return type of a gcc2
45999 builtin and then its argument prototype would still apply. */
46000 char $ac_func ();
46001 /* The GNU C library defines this for functions which it implements
46002 to always fail with ENOSYS. Some functions are actually named
46003 something starting with __ and the normal name is an alias. */
46004 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46005 choke me
46006 #else
46007 char (*f) () = $ac_func;
46008 #endif
46009 #ifdef __cplusplus
46010 }
46011 #endif
46012
46013 int
46014 main ()
46015 {
46016 return f != $ac_func;
46017 ;
46018 return 0;
46019 }
46020 _ACEOF
46021 rm -f conftest.$ac_objext conftest$ac_exeext
46022 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46023 (eval $ac_link) 2>conftest.er1
46024 ac_status=$?
46025 grep -v '^ *+' conftest.er1 >conftest.err
46026 rm -f conftest.er1
46027 cat conftest.err >&5
46028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46029 (exit $ac_status); } &&
46030 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
46031 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46032 (eval $ac_try) 2>&5
46033 ac_status=$?
46034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46035 (exit $ac_status); }; } &&
46036 { ac_try='test -s conftest$ac_exeext'
46037 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46038 (eval $ac_try) 2>&5
46039 ac_status=$?
46040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46041 (exit $ac_status); }; }; then
46042 eval "$as_ac_var=yes"
46043 else
46044 echo "$as_me: failed program was:" >&5
46045 sed 's/^/| /' conftest.$ac_ext >&5
46046
46047 eval "$as_ac_var=no"
46048 fi
46049 rm -f conftest.err conftest.$ac_objext \
46050 conftest$ac_exeext conftest.$ac_ext
46051 fi
46052 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46053 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46054 if test `eval echo '${'$as_ac_var'}'` = yes; then
46055 cat >>confdefs.h <<_ACEOF
46056 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46057 _ACEOF
46058
46059 fi
46060 done
46061
46062 fi
46063 fi
46064
46065
46066
46067
46068
46069
46070 echo "$as_me:$LINENO: checking for hypotl declaration" >&5
46071 echo $ECHO_N "checking for hypotl declaration... $ECHO_C" >&6
46072 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
46073 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then
46074 echo $ECHO_N "(cached) $ECHO_C" >&6
46075 else
46076
46077
46078
46079 ac_ext=cc
46080 ac_cpp='$CXXCPP $CPPFLAGS'
46081 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46082 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46083 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46084
46085 cat >conftest.$ac_ext <<_ACEOF
46086 /* confdefs.h. */
46087 _ACEOF
46088 cat confdefs.h >>conftest.$ac_ext
46089 cat >>conftest.$ac_ext <<_ACEOF
46090 /* end confdefs.h. */
46091 #include <math.h>
46092 int
46093 main ()
46094 {
46095 hypotl(0, 0);
46096 ;
46097 return 0;
46098 }
46099 _ACEOF
46100 rm -f conftest.$ac_objext
46101 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46102 (eval $ac_compile) 2>conftest.er1
46103 ac_status=$?
46104 grep -v '^ *+' conftest.er1 >conftest.err
46105 rm -f conftest.er1
46106 cat conftest.err >&5
46107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46108 (exit $ac_status); } &&
46109 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
46110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46111 (eval $ac_try) 2>&5
46112 ac_status=$?
46113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46114 (exit $ac_status); }; } &&
46115 { ac_try='test -s conftest.$ac_objext'
46116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46117 (eval $ac_try) 2>&5
46118 ac_status=$?
46119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46120 (exit $ac_status); }; }; then
46121 glibcxx_cv_func_hypotl_use=yes
46122 else
46123 echo "$as_me: failed program was:" >&5
46124 sed 's/^/| /' conftest.$ac_ext >&5
46125
46126 glibcxx_cv_func_hypotl_use=no
46127 fi
46128 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46129 ac_ext=c
46130 ac_cpp='$CPP $CPPFLAGS'
46131 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46132 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46133 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46134
46135
46136 fi
46137
46138 fi
46139 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotl_use" >&5
46140 echo "${ECHO_T}$glibcxx_cv_func_hypotl_use" >&6
46141
46142 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
46143
46144 for ac_func in hypotl
46145 do
46146 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46147 echo "$as_me:$LINENO: checking for $ac_func" >&5
46148 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46149 if eval "test \"\${$as_ac_var+set}\" = set"; then
46150 echo $ECHO_N "(cached) $ECHO_C" >&6
46151 else
46152 if test x$gcc_no_link = xyes; then
46153 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46154 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46155 { (exit 1); exit 1; }; }
46156 fi
46157 cat >conftest.$ac_ext <<_ACEOF
46158 /* confdefs.h. */
46159 _ACEOF
46160 cat confdefs.h >>conftest.$ac_ext
46161 cat >>conftest.$ac_ext <<_ACEOF
46162 /* end confdefs.h. */
46163 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46164 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46165 #define $ac_func innocuous_$ac_func
46166
46167 /* System header to define __stub macros and hopefully few prototypes,
46168 which can conflict with char $ac_func (); below.
46169 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46170 <limits.h> exists even on freestanding compilers. */
46171
46172 #ifdef __STDC__
46173 # include <limits.h>
46174 #else
46175 # include <assert.h>
46176 #endif
46177
46178 #undef $ac_func
46179
46180 /* Override any gcc2 internal prototype to avoid an error. */
46181 #ifdef __cplusplus
46182 extern "C"
46183 {
46184 #endif
46185 /* We use char because int might match the return type of a gcc2
46186 builtin and then its argument prototype would still apply. */
46187 char $ac_func ();
46188 /* The GNU C library defines this for functions which it implements
46189 to always fail with ENOSYS. Some functions are actually named
46190 something starting with __ and the normal name is an alias. */
46191 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46192 choke me
46193 #else
46194 char (*f) () = $ac_func;
46195 #endif
46196 #ifdef __cplusplus
46197 }
46198 #endif
46199
46200 int
46201 main ()
46202 {
46203 return f != $ac_func;
46204 ;
46205 return 0;
46206 }
46207 _ACEOF
46208 rm -f conftest.$ac_objext conftest$ac_exeext
46209 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46210 (eval $ac_link) 2>conftest.er1
46211 ac_status=$?
46212 grep -v '^ *+' conftest.er1 >conftest.err
46213 rm -f conftest.er1
46214 cat conftest.err >&5
46215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46216 (exit $ac_status); } &&
46217 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
46218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46219 (eval $ac_try) 2>&5
46220 ac_status=$?
46221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46222 (exit $ac_status); }; } &&
46223 { ac_try='test -s conftest$ac_exeext'
46224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46225 (eval $ac_try) 2>&5
46226 ac_status=$?
46227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46228 (exit $ac_status); }; }; then
46229 eval "$as_ac_var=yes"
46230 else
46231 echo "$as_me: failed program was:" >&5
46232 sed 's/^/| /' conftest.$ac_ext >&5
46233
46234 eval "$as_ac_var=no"
46235 fi
46236 rm -f conftest.err conftest.$ac_objext \
46237 conftest$ac_exeext conftest.$ac_ext
46238 fi
46239 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46240 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46241 if test `eval echo '${'$as_ac_var'}'` = yes; then
46242 cat >>confdefs.h <<_ACEOF
46243 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46244 _ACEOF
46245
46246 fi
46247 done
46248
46249 else
46250
46251 echo "$as_me:$LINENO: checking for _hypotl declaration" >&5
46252 echo $ECHO_N "checking for _hypotl declaration... $ECHO_C" >&6
46253 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
46254 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then
46255 echo $ECHO_N "(cached) $ECHO_C" >&6
46256 else
46257
46258
46259
46260 ac_ext=cc
46261 ac_cpp='$CXXCPP $CPPFLAGS'
46262 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46263 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46264 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46265
46266 cat >conftest.$ac_ext <<_ACEOF
46267 /* confdefs.h. */
46268 _ACEOF
46269 cat confdefs.h >>conftest.$ac_ext
46270 cat >>conftest.$ac_ext <<_ACEOF
46271 /* end confdefs.h. */
46272 #include <math.h>
46273 int
46274 main ()
46275 {
46276 _hypotl(0, 0);
46277 ;
46278 return 0;
46279 }
46280 _ACEOF
46281 rm -f conftest.$ac_objext
46282 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46283 (eval $ac_compile) 2>conftest.er1
46284 ac_status=$?
46285 grep -v '^ *+' conftest.er1 >conftest.err
46286 rm -f conftest.er1
46287 cat conftest.err >&5
46288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46289 (exit $ac_status); } &&
46290 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
46291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46292 (eval $ac_try) 2>&5
46293 ac_status=$?
46294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46295 (exit $ac_status); }; } &&
46296 { ac_try='test -s conftest.$ac_objext'
46297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46298 (eval $ac_try) 2>&5
46299 ac_status=$?
46300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46301 (exit $ac_status); }; }; then
46302 glibcxx_cv_func__hypotl_use=yes
46303 else
46304 echo "$as_me: failed program was:" >&5
46305 sed 's/^/| /' conftest.$ac_ext >&5
46306
46307 glibcxx_cv_func__hypotl_use=no
46308 fi
46309 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46310 ac_ext=c
46311 ac_cpp='$CPP $CPPFLAGS'
46312 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46313 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46314 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46315
46316
46317 fi
46318
46319 fi
46320 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotl_use" >&5
46321 echo "${ECHO_T}$glibcxx_cv_func__hypotl_use" >&6
46322
46323 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
46324
46325 for ac_func in _hypotl
46326 do
46327 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46328 echo "$as_me:$LINENO: checking for $ac_func" >&5
46329 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46330 if eval "test \"\${$as_ac_var+set}\" = set"; then
46331 echo $ECHO_N "(cached) $ECHO_C" >&6
46332 else
46333 if test x$gcc_no_link = xyes; then
46334 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46335 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46336 { (exit 1); exit 1; }; }
46337 fi
46338 cat >conftest.$ac_ext <<_ACEOF
46339 /* confdefs.h. */
46340 _ACEOF
46341 cat confdefs.h >>conftest.$ac_ext
46342 cat >>conftest.$ac_ext <<_ACEOF
46343 /* end confdefs.h. */
46344 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46345 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46346 #define $ac_func innocuous_$ac_func
46347
46348 /* System header to define __stub macros and hopefully few prototypes,
46349 which can conflict with char $ac_func (); below.
46350 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46351 <limits.h> exists even on freestanding compilers. */
46352
46353 #ifdef __STDC__
46354 # include <limits.h>
46355 #else
46356 # include <assert.h>
46357 #endif
46358
46359 #undef $ac_func
46360
46361 /* Override any gcc2 internal prototype to avoid an error. */
46362 #ifdef __cplusplus
46363 extern "C"
46364 {
46365 #endif
46366 /* We use char because int might match the return type of a gcc2
46367 builtin and then its argument prototype would still apply. */
46368 char $ac_func ();
46369 /* The GNU C library defines this for functions which it implements
46370 to always fail with ENOSYS. Some functions are actually named
46371 something starting with __ and the normal name is an alias. */
46372 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46373 choke me
46374 #else
46375 char (*f) () = $ac_func;
46376 #endif
46377 #ifdef __cplusplus
46378 }
46379 #endif
46380
46381 int
46382 main ()
46383 {
46384 return f != $ac_func;
46385 ;
46386 return 0;
46387 }
46388 _ACEOF
46389 rm -f conftest.$ac_objext conftest$ac_exeext
46390 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46391 (eval $ac_link) 2>conftest.er1
46392 ac_status=$?
46393 grep -v '^ *+' conftest.er1 >conftest.err
46394 rm -f conftest.er1
46395 cat conftest.err >&5
46396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46397 (exit $ac_status); } &&
46398 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
46399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46400 (eval $ac_try) 2>&5
46401 ac_status=$?
46402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46403 (exit $ac_status); }; } &&
46404 { ac_try='test -s conftest$ac_exeext'
46405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46406 (eval $ac_try) 2>&5
46407 ac_status=$?
46408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46409 (exit $ac_status); }; }; then
46410 eval "$as_ac_var=yes"
46411 else
46412 echo "$as_me: failed program was:" >&5
46413 sed 's/^/| /' conftest.$ac_ext >&5
46414
46415 eval "$as_ac_var=no"
46416 fi
46417 rm -f conftest.err conftest.$ac_objext \
46418 conftest$ac_exeext conftest.$ac_ext
46419 fi
46420 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46421 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46422 if test `eval echo '${'$as_ac_var'}'` = yes; then
46423 cat >>confdefs.h <<_ACEOF
46424 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46425 _ACEOF
46426
46427 fi
46428 done
46429
46430 fi
46431 fi
46432
46433
46434
46435
46436
46437
46438 echo "$as_me:$LINENO: checking for ldexpl declaration" >&5
46439 echo $ECHO_N "checking for ldexpl declaration... $ECHO_C" >&6
46440 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
46441 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then
46442 echo $ECHO_N "(cached) $ECHO_C" >&6
46443 else
46444
46445
46446
46447 ac_ext=cc
46448 ac_cpp='$CXXCPP $CPPFLAGS'
46449 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46450 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46451 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46452
46453 cat >conftest.$ac_ext <<_ACEOF
46454 /* confdefs.h. */
46455 _ACEOF
46456 cat confdefs.h >>conftest.$ac_ext
46457 cat >>conftest.$ac_ext <<_ACEOF
46458 /* end confdefs.h. */
46459 #include <math.h>
46460 int
46461 main ()
46462 {
46463 ldexpl(0, 0);
46464 ;
46465 return 0;
46466 }
46467 _ACEOF
46468 rm -f conftest.$ac_objext
46469 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46470 (eval $ac_compile) 2>conftest.er1
46471 ac_status=$?
46472 grep -v '^ *+' conftest.er1 >conftest.err
46473 rm -f conftest.er1
46474 cat conftest.err >&5
46475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46476 (exit $ac_status); } &&
46477 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
46478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46479 (eval $ac_try) 2>&5
46480 ac_status=$?
46481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46482 (exit $ac_status); }; } &&
46483 { ac_try='test -s conftest.$ac_objext'
46484 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46485 (eval $ac_try) 2>&5
46486 ac_status=$?
46487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46488 (exit $ac_status); }; }; then
46489 glibcxx_cv_func_ldexpl_use=yes
46490 else
46491 echo "$as_me: failed program was:" >&5
46492 sed 's/^/| /' conftest.$ac_ext >&5
46493
46494 glibcxx_cv_func_ldexpl_use=no
46495 fi
46496 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46497 ac_ext=c
46498 ac_cpp='$CPP $CPPFLAGS'
46499 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46500 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46501 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46502
46503
46504 fi
46505
46506 fi
46507 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpl_use" >&5
46508 echo "${ECHO_T}$glibcxx_cv_func_ldexpl_use" >&6
46509
46510 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
46511
46512 for ac_func in ldexpl
46513 do
46514 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46515 echo "$as_me:$LINENO: checking for $ac_func" >&5
46516 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46517 if eval "test \"\${$as_ac_var+set}\" = set"; then
46518 echo $ECHO_N "(cached) $ECHO_C" >&6
46519 else
46520 if test x$gcc_no_link = xyes; then
46521 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46522 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46523 { (exit 1); exit 1; }; }
46524 fi
46525 cat >conftest.$ac_ext <<_ACEOF
46526 /* confdefs.h. */
46527 _ACEOF
46528 cat confdefs.h >>conftest.$ac_ext
46529 cat >>conftest.$ac_ext <<_ACEOF
46530 /* end confdefs.h. */
46531 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46532 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46533 #define $ac_func innocuous_$ac_func
46534
46535 /* System header to define __stub macros and hopefully few prototypes,
46536 which can conflict with char $ac_func (); below.
46537 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46538 <limits.h> exists even on freestanding compilers. */
46539
46540 #ifdef __STDC__
46541 # include <limits.h>
46542 #else
46543 # include <assert.h>
46544 #endif
46545
46546 #undef $ac_func
46547
46548 /* Override any gcc2 internal prototype to avoid an error. */
46549 #ifdef __cplusplus
46550 extern "C"
46551 {
46552 #endif
46553 /* We use char because int might match the return type of a gcc2
46554 builtin and then its argument prototype would still apply. */
46555 char $ac_func ();
46556 /* The GNU C library defines this for functions which it implements
46557 to always fail with ENOSYS. Some functions are actually named
46558 something starting with __ and the normal name is an alias. */
46559 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46560 choke me
46561 #else
46562 char (*f) () = $ac_func;
46563 #endif
46564 #ifdef __cplusplus
46565 }
46566 #endif
46567
46568 int
46569 main ()
46570 {
46571 return f != $ac_func;
46572 ;
46573 return 0;
46574 }
46575 _ACEOF
46576 rm -f conftest.$ac_objext conftest$ac_exeext
46577 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46578 (eval $ac_link) 2>conftest.er1
46579 ac_status=$?
46580 grep -v '^ *+' conftest.er1 >conftest.err
46581 rm -f conftest.er1
46582 cat conftest.err >&5
46583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46584 (exit $ac_status); } &&
46585 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
46586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46587 (eval $ac_try) 2>&5
46588 ac_status=$?
46589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46590 (exit $ac_status); }; } &&
46591 { ac_try='test -s conftest$ac_exeext'
46592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46593 (eval $ac_try) 2>&5
46594 ac_status=$?
46595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46596 (exit $ac_status); }; }; then
46597 eval "$as_ac_var=yes"
46598 else
46599 echo "$as_me: failed program was:" >&5
46600 sed 's/^/| /' conftest.$ac_ext >&5
46601
46602 eval "$as_ac_var=no"
46603 fi
46604 rm -f conftest.err conftest.$ac_objext \
46605 conftest$ac_exeext conftest.$ac_ext
46606 fi
46607 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46608 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46609 if test `eval echo '${'$as_ac_var'}'` = yes; then
46610 cat >>confdefs.h <<_ACEOF
46611 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46612 _ACEOF
46613
46614 fi
46615 done
46616
46617 else
46618
46619 echo "$as_me:$LINENO: checking for _ldexpl declaration" >&5
46620 echo $ECHO_N "checking for _ldexpl declaration... $ECHO_C" >&6
46621 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
46622 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then
46623 echo $ECHO_N "(cached) $ECHO_C" >&6
46624 else
46625
46626
46627
46628 ac_ext=cc
46629 ac_cpp='$CXXCPP $CPPFLAGS'
46630 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46631 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46632 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46633
46634 cat >conftest.$ac_ext <<_ACEOF
46635 /* confdefs.h. */
46636 _ACEOF
46637 cat confdefs.h >>conftest.$ac_ext
46638 cat >>conftest.$ac_ext <<_ACEOF
46639 /* end confdefs.h. */
46640 #include <math.h>
46641 int
46642 main ()
46643 {
46644 _ldexpl(0, 0);
46645 ;
46646 return 0;
46647 }
46648 _ACEOF
46649 rm -f conftest.$ac_objext
46650 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46651 (eval $ac_compile) 2>conftest.er1
46652 ac_status=$?
46653 grep -v '^ *+' conftest.er1 >conftest.err
46654 rm -f conftest.er1
46655 cat conftest.err >&5
46656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46657 (exit $ac_status); } &&
46658 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
46659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46660 (eval $ac_try) 2>&5
46661 ac_status=$?
46662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46663 (exit $ac_status); }; } &&
46664 { ac_try='test -s conftest.$ac_objext'
46665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46666 (eval $ac_try) 2>&5
46667 ac_status=$?
46668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46669 (exit $ac_status); }; }; then
46670 glibcxx_cv_func__ldexpl_use=yes
46671 else
46672 echo "$as_me: failed program was:" >&5
46673 sed 's/^/| /' conftest.$ac_ext >&5
46674
46675 glibcxx_cv_func__ldexpl_use=no
46676 fi
46677 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46678 ac_ext=c
46679 ac_cpp='$CPP $CPPFLAGS'
46680 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46681 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46682 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46683
46684
46685 fi
46686
46687 fi
46688 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpl_use" >&5
46689 echo "${ECHO_T}$glibcxx_cv_func__ldexpl_use" >&6
46690
46691 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
46692
46693 for ac_func in _ldexpl
46694 do
46695 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46696 echo "$as_me:$LINENO: checking for $ac_func" >&5
46697 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46698 if eval "test \"\${$as_ac_var+set}\" = set"; then
46699 echo $ECHO_N "(cached) $ECHO_C" >&6
46700 else
46701 if test x$gcc_no_link = xyes; then
46702 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46703 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46704 { (exit 1); exit 1; }; }
46705 fi
46706 cat >conftest.$ac_ext <<_ACEOF
46707 /* confdefs.h. */
46708 _ACEOF
46709 cat confdefs.h >>conftest.$ac_ext
46710 cat >>conftest.$ac_ext <<_ACEOF
46711 /* end confdefs.h. */
46712 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46713 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46714 #define $ac_func innocuous_$ac_func
46715
46716 /* System header to define __stub macros and hopefully few prototypes,
46717 which can conflict with char $ac_func (); below.
46718 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46719 <limits.h> exists even on freestanding compilers. */
46720
46721 #ifdef __STDC__
46722 # include <limits.h>
46723 #else
46724 # include <assert.h>
46725 #endif
46726
46727 #undef $ac_func
46728
46729 /* Override any gcc2 internal prototype to avoid an error. */
46730 #ifdef __cplusplus
46731 extern "C"
46732 {
46733 #endif
46734 /* We use char because int might match the return type of a gcc2
46735 builtin and then its argument prototype would still apply. */
46736 char $ac_func ();
46737 /* The GNU C library defines this for functions which it implements
46738 to always fail with ENOSYS. Some functions are actually named
46739 something starting with __ and the normal name is an alias. */
46740 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46741 choke me
46742 #else
46743 char (*f) () = $ac_func;
46744 #endif
46745 #ifdef __cplusplus
46746 }
46747 #endif
46748
46749 int
46750 main ()
46751 {
46752 return f != $ac_func;
46753 ;
46754 return 0;
46755 }
46756 _ACEOF
46757 rm -f conftest.$ac_objext conftest$ac_exeext
46758 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46759 (eval $ac_link) 2>conftest.er1
46760 ac_status=$?
46761 grep -v '^ *+' conftest.er1 >conftest.err
46762 rm -f conftest.er1
46763 cat conftest.err >&5
46764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46765 (exit $ac_status); } &&
46766 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
46767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46768 (eval $ac_try) 2>&5
46769 ac_status=$?
46770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46771 (exit $ac_status); }; } &&
46772 { ac_try='test -s conftest$ac_exeext'
46773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46774 (eval $ac_try) 2>&5
46775 ac_status=$?
46776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46777 (exit $ac_status); }; }; then
46778 eval "$as_ac_var=yes"
46779 else
46780 echo "$as_me: failed program was:" >&5
46781 sed 's/^/| /' conftest.$ac_ext >&5
46782
46783 eval "$as_ac_var=no"
46784 fi
46785 rm -f conftest.err conftest.$ac_objext \
46786 conftest$ac_exeext conftest.$ac_ext
46787 fi
46788 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46789 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46790 if test `eval echo '${'$as_ac_var'}'` = yes; then
46791 cat >>confdefs.h <<_ACEOF
46792 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46793 _ACEOF
46794
46795 fi
46796 done
46797
46798 fi
46799 fi
46800
46801
46802
46803
46804
46805
46806 echo "$as_me:$LINENO: checking for logl declaration" >&5
46807 echo $ECHO_N "checking for logl declaration... $ECHO_C" >&6
46808 if test x${glibcxx_cv_func_logl_use+set} != xset; then
46809 if test "${glibcxx_cv_func_logl_use+set}" = set; then
46810 echo $ECHO_N "(cached) $ECHO_C" >&6
46811 else
46812
46813
46814
46815 ac_ext=cc
46816 ac_cpp='$CXXCPP $CPPFLAGS'
46817 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46818 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46819 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46820
46821 cat >conftest.$ac_ext <<_ACEOF
46822 /* confdefs.h. */
46823 _ACEOF
46824 cat confdefs.h >>conftest.$ac_ext
46825 cat >>conftest.$ac_ext <<_ACEOF
46826 /* end confdefs.h. */
46827 #include <math.h>
46828 #ifdef HAVE_IEEEFP_H
46829 #include <ieeefp.h>
46830 #endif
46831
46832 int
46833 main ()
46834 {
46835 logl(0);
46836 ;
46837 return 0;
46838 }
46839 _ACEOF
46840 rm -f conftest.$ac_objext
46841 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46842 (eval $ac_compile) 2>conftest.er1
46843 ac_status=$?
46844 grep -v '^ *+' conftest.er1 >conftest.err
46845 rm -f conftest.er1
46846 cat conftest.err >&5
46847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46848 (exit $ac_status); } &&
46849 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
46850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46851 (eval $ac_try) 2>&5
46852 ac_status=$?
46853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46854 (exit $ac_status); }; } &&
46855 { ac_try='test -s conftest.$ac_objext'
46856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46857 (eval $ac_try) 2>&5
46858 ac_status=$?
46859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46860 (exit $ac_status); }; }; then
46861 glibcxx_cv_func_logl_use=yes
46862 else
46863 echo "$as_me: failed program was:" >&5
46864 sed 's/^/| /' conftest.$ac_ext >&5
46865
46866 glibcxx_cv_func_logl_use=no
46867 fi
46868 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46869 ac_ext=c
46870 ac_cpp='$CPP $CPPFLAGS'
46871 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46872 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46873 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46874
46875
46876 fi
46877
46878 fi
46879 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logl_use" >&5
46880 echo "${ECHO_T}$glibcxx_cv_func_logl_use" >&6
46881
46882 if test x$glibcxx_cv_func_logl_use = x"yes"; then
46883
46884 for ac_func in logl
46885 do
46886 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46887 echo "$as_me:$LINENO: checking for $ac_func" >&5
46888 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46889 if eval "test \"\${$as_ac_var+set}\" = set"; then
46890 echo $ECHO_N "(cached) $ECHO_C" >&6
46891 else
46892 if test x$gcc_no_link = xyes; then
46893 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46894 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46895 { (exit 1); exit 1; }; }
46896 fi
46897 cat >conftest.$ac_ext <<_ACEOF
46898 /* confdefs.h. */
46899 _ACEOF
46900 cat confdefs.h >>conftest.$ac_ext
46901 cat >>conftest.$ac_ext <<_ACEOF
46902 /* end confdefs.h. */
46903 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46904 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46905 #define $ac_func innocuous_$ac_func
46906
46907 /* System header to define __stub macros and hopefully few prototypes,
46908 which can conflict with char $ac_func (); below.
46909 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46910 <limits.h> exists even on freestanding compilers. */
46911
46912 #ifdef __STDC__
46913 # include <limits.h>
46914 #else
46915 # include <assert.h>
46916 #endif
46917
46918 #undef $ac_func
46919
46920 /* Override any gcc2 internal prototype to avoid an error. */
46921 #ifdef __cplusplus
46922 extern "C"
46923 {
46924 #endif
46925 /* We use char because int might match the return type of a gcc2
46926 builtin and then its argument prototype would still apply. */
46927 char $ac_func ();
46928 /* The GNU C library defines this for functions which it implements
46929 to always fail with ENOSYS. Some functions are actually named
46930 something starting with __ and the normal name is an alias. */
46931 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46932 choke me
46933 #else
46934 char (*f) () = $ac_func;
46935 #endif
46936 #ifdef __cplusplus
46937 }
46938 #endif
46939
46940 int
46941 main ()
46942 {
46943 return f != $ac_func;
46944 ;
46945 return 0;
46946 }
46947 _ACEOF
46948 rm -f conftest.$ac_objext conftest$ac_exeext
46949 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46950 (eval $ac_link) 2>conftest.er1
46951 ac_status=$?
46952 grep -v '^ *+' conftest.er1 >conftest.err
46953 rm -f conftest.er1
46954 cat conftest.err >&5
46955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46956 (exit $ac_status); } &&
46957 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
46958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46959 (eval $ac_try) 2>&5
46960 ac_status=$?
46961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46962 (exit $ac_status); }; } &&
46963 { ac_try='test -s conftest$ac_exeext'
46964 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46965 (eval $ac_try) 2>&5
46966 ac_status=$?
46967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46968 (exit $ac_status); }; }; then
46969 eval "$as_ac_var=yes"
46970 else
46971 echo "$as_me: failed program was:" >&5
46972 sed 's/^/| /' conftest.$ac_ext >&5
46973
46974 eval "$as_ac_var=no"
46975 fi
46976 rm -f conftest.err conftest.$ac_objext \
46977 conftest$ac_exeext conftest.$ac_ext
46978 fi
46979 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46980 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46981 if test `eval echo '${'$as_ac_var'}'` = yes; then
46982 cat >>confdefs.h <<_ACEOF
46983 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46984 _ACEOF
46985
46986 fi
46987 done
46988
46989 else
46990
46991 echo "$as_me:$LINENO: checking for _logl declaration" >&5
46992 echo $ECHO_N "checking for _logl declaration... $ECHO_C" >&6
46993 if test x${glibcxx_cv_func__logl_use+set} != xset; then
46994 if test "${glibcxx_cv_func__logl_use+set}" = set; then
46995 echo $ECHO_N "(cached) $ECHO_C" >&6
46996 else
46997
46998
46999
47000 ac_ext=cc
47001 ac_cpp='$CXXCPP $CPPFLAGS'
47002 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47003 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47004 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47005
47006 cat >conftest.$ac_ext <<_ACEOF
47007 /* confdefs.h. */
47008 _ACEOF
47009 cat confdefs.h >>conftest.$ac_ext
47010 cat >>conftest.$ac_ext <<_ACEOF
47011 /* end confdefs.h. */
47012 #include <math.h>
47013 #ifdef HAVE_IEEEFP_H
47014 #include <ieeefp.h>
47015 #endif
47016
47017 int
47018 main ()
47019 {
47020 _logl(0);
47021 ;
47022 return 0;
47023 }
47024 _ACEOF
47025 rm -f conftest.$ac_objext
47026 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47027 (eval $ac_compile) 2>conftest.er1
47028 ac_status=$?
47029 grep -v '^ *+' conftest.er1 >conftest.err
47030 rm -f conftest.er1
47031 cat conftest.err >&5
47032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47033 (exit $ac_status); } &&
47034 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
47035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47036 (eval $ac_try) 2>&5
47037 ac_status=$?
47038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47039 (exit $ac_status); }; } &&
47040 { ac_try='test -s conftest.$ac_objext'
47041 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47042 (eval $ac_try) 2>&5
47043 ac_status=$?
47044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47045 (exit $ac_status); }; }; then
47046 glibcxx_cv_func__logl_use=yes
47047 else
47048 echo "$as_me: failed program was:" >&5
47049 sed 's/^/| /' conftest.$ac_ext >&5
47050
47051 glibcxx_cv_func__logl_use=no
47052 fi
47053 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47054 ac_ext=c
47055 ac_cpp='$CPP $CPPFLAGS'
47056 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47057 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47058 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47059
47060
47061 fi
47062
47063 fi
47064 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logl_use" >&5
47065 echo "${ECHO_T}$glibcxx_cv_func__logl_use" >&6
47066
47067 if test x$glibcxx_cv_func__logl_use = x"yes"; then
47068
47069 for ac_func in _logl
47070 do
47071 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47072 echo "$as_me:$LINENO: checking for $ac_func" >&5
47073 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47074 if eval "test \"\${$as_ac_var+set}\" = set"; then
47075 echo $ECHO_N "(cached) $ECHO_C" >&6
47076 else
47077 if test x$gcc_no_link = xyes; then
47078 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47079 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47080 { (exit 1); exit 1; }; }
47081 fi
47082 cat >conftest.$ac_ext <<_ACEOF
47083 /* confdefs.h. */
47084 _ACEOF
47085 cat confdefs.h >>conftest.$ac_ext
47086 cat >>conftest.$ac_ext <<_ACEOF
47087 /* end confdefs.h. */
47088 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47089 For example, HP-UX 11i <limits.h> declares gettimeofday. */
47090 #define $ac_func innocuous_$ac_func
47091
47092 /* System header to define __stub macros and hopefully few prototypes,
47093 which can conflict with char $ac_func (); below.
47094 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47095 <limits.h> exists even on freestanding compilers. */
47096
47097 #ifdef __STDC__
47098 # include <limits.h>
47099 #else
47100 # include <assert.h>
47101 #endif
47102
47103 #undef $ac_func
47104
47105 /* Override any gcc2 internal prototype to avoid an error. */
47106 #ifdef __cplusplus
47107 extern "C"
47108 {
47109 #endif
47110 /* We use char because int might match the return type of a gcc2
47111 builtin and then its argument prototype would still apply. */
47112 char $ac_func ();
47113 /* The GNU C library defines this for functions which it implements
47114 to always fail with ENOSYS. Some functions are actually named
47115 something starting with __ and the normal name is an alias. */
47116 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47117 choke me
47118 #else
47119 char (*f) () = $ac_func;
47120 #endif
47121 #ifdef __cplusplus
47122 }
47123 #endif
47124
47125 int
47126 main ()
47127 {
47128 return f != $ac_func;
47129 ;
47130 return 0;
47131 }
47132 _ACEOF
47133 rm -f conftest.$ac_objext conftest$ac_exeext
47134 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47135 (eval $ac_link) 2>conftest.er1
47136 ac_status=$?
47137 grep -v '^ *+' conftest.er1 >conftest.err
47138 rm -f conftest.er1
47139 cat conftest.err >&5
47140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47141 (exit $ac_status); } &&
47142 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
47143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47144 (eval $ac_try) 2>&5
47145 ac_status=$?
47146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47147 (exit $ac_status); }; } &&
47148 { ac_try='test -s conftest$ac_exeext'
47149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47150 (eval $ac_try) 2>&5
47151 ac_status=$?
47152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47153 (exit $ac_status); }; }; then
47154 eval "$as_ac_var=yes"
47155 else
47156 echo "$as_me: failed program was:" >&5
47157 sed 's/^/| /' conftest.$ac_ext >&5
47158
47159 eval "$as_ac_var=no"
47160 fi
47161 rm -f conftest.err conftest.$ac_objext \
47162 conftest$ac_exeext conftest.$ac_ext
47163 fi
47164 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47165 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47166 if test `eval echo '${'$as_ac_var'}'` = yes; then
47167 cat >>confdefs.h <<_ACEOF
47168 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47169 _ACEOF
47170
47171 fi
47172 done
47173
47174 fi
47175 fi
47176
47177
47178
47179
47180
47181
47182 echo "$as_me:$LINENO: checking for log10l declaration" >&5
47183 echo $ECHO_N "checking for log10l declaration... $ECHO_C" >&6
47184 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
47185 if test "${glibcxx_cv_func_log10l_use+set}" = set; then
47186 echo $ECHO_N "(cached) $ECHO_C" >&6
47187 else
47188
47189
47190
47191 ac_ext=cc
47192 ac_cpp='$CXXCPP $CPPFLAGS'
47193 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47194 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47195 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47196
47197 cat >conftest.$ac_ext <<_ACEOF
47198 /* confdefs.h. */
47199 _ACEOF
47200 cat confdefs.h >>conftest.$ac_ext
47201 cat >>conftest.$ac_ext <<_ACEOF
47202 /* end confdefs.h. */
47203 #include <math.h>
47204 #ifdef HAVE_IEEEFP_H
47205 #include <ieeefp.h>
47206 #endif
47207
47208 int
47209 main ()
47210 {
47211 log10l(0);
47212 ;
47213 return 0;
47214 }
47215 _ACEOF
47216 rm -f conftest.$ac_objext
47217 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47218 (eval $ac_compile) 2>conftest.er1
47219 ac_status=$?
47220 grep -v '^ *+' conftest.er1 >conftest.err
47221 rm -f conftest.er1
47222 cat conftest.err >&5
47223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47224 (exit $ac_status); } &&
47225 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
47226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47227 (eval $ac_try) 2>&5
47228 ac_status=$?
47229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47230 (exit $ac_status); }; } &&
47231 { ac_try='test -s conftest.$ac_objext'
47232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47233 (eval $ac_try) 2>&5
47234 ac_status=$?
47235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47236 (exit $ac_status); }; }; then
47237 glibcxx_cv_func_log10l_use=yes
47238 else
47239 echo "$as_me: failed program was:" >&5
47240 sed 's/^/| /' conftest.$ac_ext >&5
47241
47242 glibcxx_cv_func_log10l_use=no
47243 fi
47244 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47245 ac_ext=c
47246 ac_cpp='$CPP $CPPFLAGS'
47247 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47248 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47249 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47250
47251
47252 fi
47253
47254 fi
47255 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10l_use" >&5
47256 echo "${ECHO_T}$glibcxx_cv_func_log10l_use" >&6
47257
47258 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
47259
47260 for ac_func in log10l
47261 do
47262 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47263 echo "$as_me:$LINENO: checking for $ac_func" >&5
47264 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47265 if eval "test \"\${$as_ac_var+set}\" = set"; then
47266 echo $ECHO_N "(cached) $ECHO_C" >&6
47267 else
47268 if test x$gcc_no_link = xyes; then
47269 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47270 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47271 { (exit 1); exit 1; }; }
47272 fi
47273 cat >conftest.$ac_ext <<_ACEOF
47274 /* confdefs.h. */
47275 _ACEOF
47276 cat confdefs.h >>conftest.$ac_ext
47277 cat >>conftest.$ac_ext <<_ACEOF
47278 /* end confdefs.h. */
47279 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47280 For example, HP-UX 11i <limits.h> declares gettimeofday. */
47281 #define $ac_func innocuous_$ac_func
47282
47283 /* System header to define __stub macros and hopefully few prototypes,
47284 which can conflict with char $ac_func (); below.
47285 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47286 <limits.h> exists even on freestanding compilers. */
47287
47288 #ifdef __STDC__
47289 # include <limits.h>
47290 #else
47291 # include <assert.h>
47292 #endif
47293
47294 #undef $ac_func
47295
47296 /* Override any gcc2 internal prototype to avoid an error. */
47297 #ifdef __cplusplus
47298 extern "C"
47299 {
47300 #endif
47301 /* We use char because int might match the return type of a gcc2
47302 builtin and then its argument prototype would still apply. */
47303 char $ac_func ();
47304 /* The GNU C library defines this for functions which it implements
47305 to always fail with ENOSYS. Some functions are actually named
47306 something starting with __ and the normal name is an alias. */
47307 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47308 choke me
47309 #else
47310 char (*f) () = $ac_func;
47311 #endif
47312 #ifdef __cplusplus
47313 }
47314 #endif
47315
47316 int
47317 main ()
47318 {
47319 return f != $ac_func;
47320 ;
47321 return 0;
47322 }
47323 _ACEOF
47324 rm -f conftest.$ac_objext conftest$ac_exeext
47325 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47326 (eval $ac_link) 2>conftest.er1
47327 ac_status=$?
47328 grep -v '^ *+' conftest.er1 >conftest.err
47329 rm -f conftest.er1
47330 cat conftest.err >&5
47331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47332 (exit $ac_status); } &&
47333 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
47334 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47335 (eval $ac_try) 2>&5
47336 ac_status=$?
47337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47338 (exit $ac_status); }; } &&
47339 { ac_try='test -s conftest$ac_exeext'
47340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47341 (eval $ac_try) 2>&5
47342 ac_status=$?
47343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47344 (exit $ac_status); }; }; then
47345 eval "$as_ac_var=yes"
47346 else
47347 echo "$as_me: failed program was:" >&5
47348 sed 's/^/| /' conftest.$ac_ext >&5
47349
47350 eval "$as_ac_var=no"
47351 fi
47352 rm -f conftest.err conftest.$ac_objext \
47353 conftest$ac_exeext conftest.$ac_ext
47354 fi
47355 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47356 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47357 if test `eval echo '${'$as_ac_var'}'` = yes; then
47358 cat >>confdefs.h <<_ACEOF
47359 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47360 _ACEOF
47361
47362 fi
47363 done
47364
47365 else
47366
47367 echo "$as_me:$LINENO: checking for _log10l declaration" >&5
47368 echo $ECHO_N "checking for _log10l declaration... $ECHO_C" >&6
47369 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
47370 if test "${glibcxx_cv_func__log10l_use+set}" = set; then
47371 echo $ECHO_N "(cached) $ECHO_C" >&6
47372 else
47373
47374
47375
47376 ac_ext=cc
47377 ac_cpp='$CXXCPP $CPPFLAGS'
47378 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47379 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47380 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47381
47382 cat >conftest.$ac_ext <<_ACEOF
47383 /* confdefs.h. */
47384 _ACEOF
47385 cat confdefs.h >>conftest.$ac_ext
47386 cat >>conftest.$ac_ext <<_ACEOF
47387 /* end confdefs.h. */
47388 #include <math.h>
47389 #ifdef HAVE_IEEEFP_H
47390 #include <ieeefp.h>
47391 #endif
47392
47393 int
47394 main ()
47395 {
47396 _log10l(0);
47397 ;
47398 return 0;
47399 }
47400 _ACEOF
47401 rm -f conftest.$ac_objext
47402 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47403 (eval $ac_compile) 2>conftest.er1
47404 ac_status=$?
47405 grep -v '^ *+' conftest.er1 >conftest.err
47406 rm -f conftest.er1
47407 cat conftest.err >&5
47408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47409 (exit $ac_status); } &&
47410 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
47411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47412 (eval $ac_try) 2>&5
47413 ac_status=$?
47414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47415 (exit $ac_status); }; } &&
47416 { ac_try='test -s conftest.$ac_objext'
47417 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47418 (eval $ac_try) 2>&5
47419 ac_status=$?
47420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47421 (exit $ac_status); }; }; then
47422 glibcxx_cv_func__log10l_use=yes
47423 else
47424 echo "$as_me: failed program was:" >&5
47425 sed 's/^/| /' conftest.$ac_ext >&5
47426
47427 glibcxx_cv_func__log10l_use=no
47428 fi
47429 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47430 ac_ext=c
47431 ac_cpp='$CPP $CPPFLAGS'
47432 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47433 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47434 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47435
47436
47437 fi
47438
47439 fi
47440 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10l_use" >&5
47441 echo "${ECHO_T}$glibcxx_cv_func__log10l_use" >&6
47442
47443 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
47444
47445 for ac_func in _log10l
47446 do
47447 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47448 echo "$as_me:$LINENO: checking for $ac_func" >&5
47449 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47450 if eval "test \"\${$as_ac_var+set}\" = set"; then
47451 echo $ECHO_N "(cached) $ECHO_C" >&6
47452 else
47453 if test x$gcc_no_link = xyes; then
47454 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47455 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47456 { (exit 1); exit 1; }; }
47457 fi
47458 cat >conftest.$ac_ext <<_ACEOF
47459 /* confdefs.h. */
47460 _ACEOF
47461 cat confdefs.h >>conftest.$ac_ext
47462 cat >>conftest.$ac_ext <<_ACEOF
47463 /* end confdefs.h. */
47464 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47465 For example, HP-UX 11i <limits.h> declares gettimeofday. */
47466 #define $ac_func innocuous_$ac_func
47467
47468 /* System header to define __stub macros and hopefully few prototypes,
47469 which can conflict with char $ac_func (); below.
47470 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47471 <limits.h> exists even on freestanding compilers. */
47472
47473 #ifdef __STDC__
47474 # include <limits.h>
47475 #else
47476 # include <assert.h>
47477 #endif
47478
47479 #undef $ac_func
47480
47481 /* Override any gcc2 internal prototype to avoid an error. */
47482 #ifdef __cplusplus
47483 extern "C"
47484 {
47485 #endif
47486 /* We use char because int might match the return type of a gcc2
47487 builtin and then its argument prototype would still apply. */
47488 char $ac_func ();
47489 /* The GNU C library defines this for functions which it implements
47490 to always fail with ENOSYS. Some functions are actually named
47491 something starting with __ and the normal name is an alias. */
47492 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47493 choke me
47494 #else
47495 char (*f) () = $ac_func;
47496 #endif
47497 #ifdef __cplusplus
47498 }
47499 #endif
47500
47501 int
47502 main ()
47503 {
47504 return f != $ac_func;
47505 ;
47506 return 0;
47507 }
47508 _ACEOF
47509 rm -f conftest.$ac_objext conftest$ac_exeext
47510 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47511 (eval $ac_link) 2>conftest.er1
47512 ac_status=$?
47513 grep -v '^ *+' conftest.er1 >conftest.err
47514 rm -f conftest.er1
47515 cat conftest.err >&5
47516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47517 (exit $ac_status); } &&
47518 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
47519 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47520 (eval $ac_try) 2>&5
47521 ac_status=$?
47522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47523 (exit $ac_status); }; } &&
47524 { ac_try='test -s conftest$ac_exeext'
47525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47526 (eval $ac_try) 2>&5
47527 ac_status=$?
47528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47529 (exit $ac_status); }; }; then
47530 eval "$as_ac_var=yes"
47531 else
47532 echo "$as_me: failed program was:" >&5
47533 sed 's/^/| /' conftest.$ac_ext >&5
47534
47535 eval "$as_ac_var=no"
47536 fi
47537 rm -f conftest.err conftest.$ac_objext \
47538 conftest$ac_exeext conftest.$ac_ext
47539 fi
47540 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47541 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47542 if test `eval echo '${'$as_ac_var'}'` = yes; then
47543 cat >>confdefs.h <<_ACEOF
47544 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47545 _ACEOF
47546
47547 fi
47548 done
47549
47550 fi
47551 fi
47552
47553
47554
47555
47556
47557
47558 echo "$as_me:$LINENO: checking for modfl declaration" >&5
47559 echo $ECHO_N "checking for modfl declaration... $ECHO_C" >&6
47560 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
47561 if test "${glibcxx_cv_func_modfl_use+set}" = set; then
47562 echo $ECHO_N "(cached) $ECHO_C" >&6
47563 else
47564
47565
47566
47567 ac_ext=cc
47568 ac_cpp='$CXXCPP $CPPFLAGS'
47569 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47570 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47571 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47572
47573 cat >conftest.$ac_ext <<_ACEOF
47574 /* confdefs.h. */
47575 _ACEOF
47576 cat confdefs.h >>conftest.$ac_ext
47577 cat >>conftest.$ac_ext <<_ACEOF
47578 /* end confdefs.h. */
47579 #include <math.h>
47580 int
47581 main ()
47582 {
47583 modfl(0, 0);
47584 ;
47585 return 0;
47586 }
47587 _ACEOF
47588 rm -f conftest.$ac_objext
47589 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47590 (eval $ac_compile) 2>conftest.er1
47591 ac_status=$?
47592 grep -v '^ *+' conftest.er1 >conftest.err
47593 rm -f conftest.er1
47594 cat conftest.err >&5
47595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47596 (exit $ac_status); } &&
47597 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
47598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47599 (eval $ac_try) 2>&5
47600 ac_status=$?
47601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47602 (exit $ac_status); }; } &&
47603 { ac_try='test -s conftest.$ac_objext'
47604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47605 (eval $ac_try) 2>&5
47606 ac_status=$?
47607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47608 (exit $ac_status); }; }; then
47609 glibcxx_cv_func_modfl_use=yes
47610 else
47611 echo "$as_me: failed program was:" >&5
47612 sed 's/^/| /' conftest.$ac_ext >&5
47613
47614 glibcxx_cv_func_modfl_use=no
47615 fi
47616 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47617 ac_ext=c
47618 ac_cpp='$CPP $CPPFLAGS'
47619 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47620 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47621 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47622
47623
47624 fi
47625
47626 fi
47627 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modfl_use" >&5
47628 echo "${ECHO_T}$glibcxx_cv_func_modfl_use" >&6
47629
47630 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
47631
47632 for ac_func in modfl
47633 do
47634 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47635 echo "$as_me:$LINENO: checking for $ac_func" >&5
47636 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47637 if eval "test \"\${$as_ac_var+set}\" = set"; then
47638 echo $ECHO_N "(cached) $ECHO_C" >&6
47639 else
47640 if test x$gcc_no_link = xyes; then
47641 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47642 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47643 { (exit 1); exit 1; }; }
47644 fi
47645 cat >conftest.$ac_ext <<_ACEOF
47646 /* confdefs.h. */
47647 _ACEOF
47648 cat confdefs.h >>conftest.$ac_ext
47649 cat >>conftest.$ac_ext <<_ACEOF
47650 /* end confdefs.h. */
47651 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47652 For example, HP-UX 11i <limits.h> declares gettimeofday. */
47653 #define $ac_func innocuous_$ac_func
47654
47655 /* System header to define __stub macros and hopefully few prototypes,
47656 which can conflict with char $ac_func (); below.
47657 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47658 <limits.h> exists even on freestanding compilers. */
47659
47660 #ifdef __STDC__
47661 # include <limits.h>
47662 #else
47663 # include <assert.h>
47664 #endif
47665
47666 #undef $ac_func
47667
47668 /* Override any gcc2 internal prototype to avoid an error. */
47669 #ifdef __cplusplus
47670 extern "C"
47671 {
47672 #endif
47673 /* We use char because int might match the return type of a gcc2
47674 builtin and then its argument prototype would still apply. */
47675 char $ac_func ();
47676 /* The GNU C library defines this for functions which it implements
47677 to always fail with ENOSYS. Some functions are actually named
47678 something starting with __ and the normal name is an alias. */
47679 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47680 choke me
47681 #else
47682 char (*f) () = $ac_func;
47683 #endif
47684 #ifdef __cplusplus
47685 }
47686 #endif
47687
47688 int
47689 main ()
47690 {
47691 return f != $ac_func;
47692 ;
47693 return 0;
47694 }
47695 _ACEOF
47696 rm -f conftest.$ac_objext conftest$ac_exeext
47697 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47698 (eval $ac_link) 2>conftest.er1
47699 ac_status=$?
47700 grep -v '^ *+' conftest.er1 >conftest.err
47701 rm -f conftest.er1
47702 cat conftest.err >&5
47703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47704 (exit $ac_status); } &&
47705 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
47706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47707 (eval $ac_try) 2>&5
47708 ac_status=$?
47709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47710 (exit $ac_status); }; } &&
47711 { ac_try='test -s conftest$ac_exeext'
47712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47713 (eval $ac_try) 2>&5
47714 ac_status=$?
47715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47716 (exit $ac_status); }; }; then
47717 eval "$as_ac_var=yes"
47718 else
47719 echo "$as_me: failed program was:" >&5
47720 sed 's/^/| /' conftest.$ac_ext >&5
47721
47722 eval "$as_ac_var=no"
47723 fi
47724 rm -f conftest.err conftest.$ac_objext \
47725 conftest$ac_exeext conftest.$ac_ext
47726 fi
47727 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47728 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47729 if test `eval echo '${'$as_ac_var'}'` = yes; then
47730 cat >>confdefs.h <<_ACEOF
47731 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47732 _ACEOF
47733
47734 fi
47735 done
47736
47737 else
47738
47739 echo "$as_me:$LINENO: checking for _modfl declaration" >&5
47740 echo $ECHO_N "checking for _modfl declaration... $ECHO_C" >&6
47741 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
47742 if test "${glibcxx_cv_func__modfl_use+set}" = set; then
47743 echo $ECHO_N "(cached) $ECHO_C" >&6
47744 else
47745
47746
47747
47748 ac_ext=cc
47749 ac_cpp='$CXXCPP $CPPFLAGS'
47750 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47751 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47752 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47753
47754 cat >conftest.$ac_ext <<_ACEOF
47755 /* confdefs.h. */
47756 _ACEOF
47757 cat confdefs.h >>conftest.$ac_ext
47758 cat >>conftest.$ac_ext <<_ACEOF
47759 /* end confdefs.h. */
47760 #include <math.h>
47761 int
47762 main ()
47763 {
47764 _modfl(0, 0);
47765 ;
47766 return 0;
47767 }
47768 _ACEOF
47769 rm -f conftest.$ac_objext
47770 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47771 (eval $ac_compile) 2>conftest.er1
47772 ac_status=$?
47773 grep -v '^ *+' conftest.er1 >conftest.err
47774 rm -f conftest.er1
47775 cat conftest.err >&5
47776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47777 (exit $ac_status); } &&
47778 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
47779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47780 (eval $ac_try) 2>&5
47781 ac_status=$?
47782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47783 (exit $ac_status); }; } &&
47784 { ac_try='test -s conftest.$ac_objext'
47785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47786 (eval $ac_try) 2>&5
47787 ac_status=$?
47788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47789 (exit $ac_status); }; }; then
47790 glibcxx_cv_func__modfl_use=yes
47791 else
47792 echo "$as_me: failed program was:" >&5
47793 sed 's/^/| /' conftest.$ac_ext >&5
47794
47795 glibcxx_cv_func__modfl_use=no
47796 fi
47797 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47798 ac_ext=c
47799 ac_cpp='$CPP $CPPFLAGS'
47800 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47801 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47802 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47803
47804
47805 fi
47806
47807 fi
47808 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modfl_use" >&5
47809 echo "${ECHO_T}$glibcxx_cv_func__modfl_use" >&6
47810
47811 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
47812
47813 for ac_func in _modfl
47814 do
47815 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47816 echo "$as_me:$LINENO: checking for $ac_func" >&5
47817 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47818 if eval "test \"\${$as_ac_var+set}\" = set"; then
47819 echo $ECHO_N "(cached) $ECHO_C" >&6
47820 else
47821 if test x$gcc_no_link = xyes; then
47822 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47823 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47824 { (exit 1); exit 1; }; }
47825 fi
47826 cat >conftest.$ac_ext <<_ACEOF
47827 /* confdefs.h. */
47828 _ACEOF
47829 cat confdefs.h >>conftest.$ac_ext
47830 cat >>conftest.$ac_ext <<_ACEOF
47831 /* end confdefs.h. */
47832 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47833 For example, HP-UX 11i <limits.h> declares gettimeofday. */
47834 #define $ac_func innocuous_$ac_func
47835
47836 /* System header to define __stub macros and hopefully few prototypes,
47837 which can conflict with char $ac_func (); below.
47838 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47839 <limits.h> exists even on freestanding compilers. */
47840
47841 #ifdef __STDC__
47842 # include <limits.h>
47843 #else
47844 # include <assert.h>
47845 #endif
47846
47847 #undef $ac_func
47848
47849 /* Override any gcc2 internal prototype to avoid an error. */
47850 #ifdef __cplusplus
47851 extern "C"
47852 {
47853 #endif
47854 /* We use char because int might match the return type of a gcc2
47855 builtin and then its argument prototype would still apply. */
47856 char $ac_func ();
47857 /* The GNU C library defines this for functions which it implements
47858 to always fail with ENOSYS. Some functions are actually named
47859 something starting with __ and the normal name is an alias. */
47860 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47861 choke me
47862 #else
47863 char (*f) () = $ac_func;
47864 #endif
47865 #ifdef __cplusplus
47866 }
47867 #endif
47868
47869 int
47870 main ()
47871 {
47872 return f != $ac_func;
47873 ;
47874 return 0;
47875 }
47876 _ACEOF
47877 rm -f conftest.$ac_objext conftest$ac_exeext
47878 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47879 (eval $ac_link) 2>conftest.er1
47880 ac_status=$?
47881 grep -v '^ *+' conftest.er1 >conftest.err
47882 rm -f conftest.er1
47883 cat conftest.err >&5
47884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47885 (exit $ac_status); } &&
47886 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
47887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47888 (eval $ac_try) 2>&5
47889 ac_status=$?
47890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47891 (exit $ac_status); }; } &&
47892 { ac_try='test -s conftest$ac_exeext'
47893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47894 (eval $ac_try) 2>&5
47895 ac_status=$?
47896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47897 (exit $ac_status); }; }; then
47898 eval "$as_ac_var=yes"
47899 else
47900 echo "$as_me: failed program was:" >&5
47901 sed 's/^/| /' conftest.$ac_ext >&5
47902
47903 eval "$as_ac_var=no"
47904 fi
47905 rm -f conftest.err conftest.$ac_objext \
47906 conftest$ac_exeext conftest.$ac_ext
47907 fi
47908 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47909 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47910 if test `eval echo '${'$as_ac_var'}'` = yes; then
47911 cat >>confdefs.h <<_ACEOF
47912 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47913 _ACEOF
47914
47915 fi
47916 done
47917
47918 fi
47919 fi
47920
47921
47922
47923
47924
47925
47926 echo "$as_me:$LINENO: checking for powl declaration" >&5
47927 echo $ECHO_N "checking for powl declaration... $ECHO_C" >&6
47928 if test x${glibcxx_cv_func_powl_use+set} != xset; then
47929 if test "${glibcxx_cv_func_powl_use+set}" = set; then
47930 echo $ECHO_N "(cached) $ECHO_C" >&6
47931 else
47932
47933
47934
47935 ac_ext=cc
47936 ac_cpp='$CXXCPP $CPPFLAGS'
47937 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47938 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47939 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47940
47941 cat >conftest.$ac_ext <<_ACEOF
47942 /* confdefs.h. */
47943 _ACEOF
47944 cat confdefs.h >>conftest.$ac_ext
47945 cat >>conftest.$ac_ext <<_ACEOF
47946 /* end confdefs.h. */
47947 #include <math.h>
47948 int
47949 main ()
47950 {
47951 powl(0, 0);
47952 ;
47953 return 0;
47954 }
47955 _ACEOF
47956 rm -f conftest.$ac_objext
47957 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47958 (eval $ac_compile) 2>conftest.er1
47959 ac_status=$?
47960 grep -v '^ *+' conftest.er1 >conftest.err
47961 rm -f conftest.er1
47962 cat conftest.err >&5
47963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47964 (exit $ac_status); } &&
47965 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
47966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47967 (eval $ac_try) 2>&5
47968 ac_status=$?
47969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47970 (exit $ac_status); }; } &&
47971 { ac_try='test -s conftest.$ac_objext'
47972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47973 (eval $ac_try) 2>&5
47974 ac_status=$?
47975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47976 (exit $ac_status); }; }; then
47977 glibcxx_cv_func_powl_use=yes
47978 else
47979 echo "$as_me: failed program was:" >&5
47980 sed 's/^/| /' conftest.$ac_ext >&5
47981
47982 glibcxx_cv_func_powl_use=no
47983 fi
47984 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47985 ac_ext=c
47986 ac_cpp='$CPP $CPPFLAGS'
47987 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47988 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47989 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47990
47991
47992 fi
47993
47994 fi
47995 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powl_use" >&5
47996 echo "${ECHO_T}$glibcxx_cv_func_powl_use" >&6
47997
47998 if test x$glibcxx_cv_func_powl_use = x"yes"; then
47999
48000 for ac_func in powl
48001 do
48002 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48003 echo "$as_me:$LINENO: checking for $ac_func" >&5
48004 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48005 if eval "test \"\${$as_ac_var+set}\" = set"; then
48006 echo $ECHO_N "(cached) $ECHO_C" >&6
48007 else
48008 if test x$gcc_no_link = xyes; then
48009 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48010 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48011 { (exit 1); exit 1; }; }
48012 fi
48013 cat >conftest.$ac_ext <<_ACEOF
48014 /* confdefs.h. */
48015 _ACEOF
48016 cat confdefs.h >>conftest.$ac_ext
48017 cat >>conftest.$ac_ext <<_ACEOF
48018 /* end confdefs.h. */
48019 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48020 For example, HP-UX 11i <limits.h> declares gettimeofday. */
48021 #define $ac_func innocuous_$ac_func
48022
48023 /* System header to define __stub macros and hopefully few prototypes,
48024 which can conflict with char $ac_func (); below.
48025 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48026 <limits.h> exists even on freestanding compilers. */
48027
48028 #ifdef __STDC__
48029 # include <limits.h>
48030 #else
48031 # include <assert.h>
48032 #endif
48033
48034 #undef $ac_func
48035
48036 /* Override any gcc2 internal prototype to avoid an error. */
48037 #ifdef __cplusplus
48038 extern "C"
48039 {
48040 #endif
48041 /* We use char because int might match the return type of a gcc2
48042 builtin and then its argument prototype would still apply. */
48043 char $ac_func ();
48044 /* The GNU C library defines this for functions which it implements
48045 to always fail with ENOSYS. Some functions are actually named
48046 something starting with __ and the normal name is an alias. */
48047 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48048 choke me
48049 #else
48050 char (*f) () = $ac_func;
48051 #endif
48052 #ifdef __cplusplus
48053 }
48054 #endif
48055
48056 int
48057 main ()
48058 {
48059 return f != $ac_func;
48060 ;
48061 return 0;
48062 }
48063 _ACEOF
48064 rm -f conftest.$ac_objext conftest$ac_exeext
48065 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48066 (eval $ac_link) 2>conftest.er1
48067 ac_status=$?
48068 grep -v '^ *+' conftest.er1 >conftest.err
48069 rm -f conftest.er1
48070 cat conftest.err >&5
48071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48072 (exit $ac_status); } &&
48073 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
48074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48075 (eval $ac_try) 2>&5
48076 ac_status=$?
48077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48078 (exit $ac_status); }; } &&
48079 { ac_try='test -s conftest$ac_exeext'
48080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48081 (eval $ac_try) 2>&5
48082 ac_status=$?
48083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48084 (exit $ac_status); }; }; then
48085 eval "$as_ac_var=yes"
48086 else
48087 echo "$as_me: failed program was:" >&5
48088 sed 's/^/| /' conftest.$ac_ext >&5
48089
48090 eval "$as_ac_var=no"
48091 fi
48092 rm -f conftest.err conftest.$ac_objext \
48093 conftest$ac_exeext conftest.$ac_ext
48094 fi
48095 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48096 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48097 if test `eval echo '${'$as_ac_var'}'` = yes; then
48098 cat >>confdefs.h <<_ACEOF
48099 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48100 _ACEOF
48101
48102 fi
48103 done
48104
48105 else
48106
48107 echo "$as_me:$LINENO: checking for _powl declaration" >&5
48108 echo $ECHO_N "checking for _powl declaration... $ECHO_C" >&6
48109 if test x${glibcxx_cv_func__powl_use+set} != xset; then
48110 if test "${glibcxx_cv_func__powl_use+set}" = set; then
48111 echo $ECHO_N "(cached) $ECHO_C" >&6
48112 else
48113
48114
48115
48116 ac_ext=cc
48117 ac_cpp='$CXXCPP $CPPFLAGS'
48118 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48119 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48120 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48121
48122 cat >conftest.$ac_ext <<_ACEOF
48123 /* confdefs.h. */
48124 _ACEOF
48125 cat confdefs.h >>conftest.$ac_ext
48126 cat >>conftest.$ac_ext <<_ACEOF
48127 /* end confdefs.h. */
48128 #include <math.h>
48129 int
48130 main ()
48131 {
48132 _powl(0, 0);
48133 ;
48134 return 0;
48135 }
48136 _ACEOF
48137 rm -f conftest.$ac_objext
48138 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48139 (eval $ac_compile) 2>conftest.er1
48140 ac_status=$?
48141 grep -v '^ *+' conftest.er1 >conftest.err
48142 rm -f conftest.er1
48143 cat conftest.err >&5
48144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48145 (exit $ac_status); } &&
48146 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
48147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48148 (eval $ac_try) 2>&5
48149 ac_status=$?
48150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48151 (exit $ac_status); }; } &&
48152 { ac_try='test -s conftest.$ac_objext'
48153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48154 (eval $ac_try) 2>&5
48155 ac_status=$?
48156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48157 (exit $ac_status); }; }; then
48158 glibcxx_cv_func__powl_use=yes
48159 else
48160 echo "$as_me: failed program was:" >&5
48161 sed 's/^/| /' conftest.$ac_ext >&5
48162
48163 glibcxx_cv_func__powl_use=no
48164 fi
48165 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48166 ac_ext=c
48167 ac_cpp='$CPP $CPPFLAGS'
48168 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48169 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48170 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48171
48172
48173 fi
48174
48175 fi
48176 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powl_use" >&5
48177 echo "${ECHO_T}$glibcxx_cv_func__powl_use" >&6
48178
48179 if test x$glibcxx_cv_func__powl_use = x"yes"; then
48180
48181 for ac_func in _powl
48182 do
48183 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48184 echo "$as_me:$LINENO: checking for $ac_func" >&5
48185 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48186 if eval "test \"\${$as_ac_var+set}\" = set"; then
48187 echo $ECHO_N "(cached) $ECHO_C" >&6
48188 else
48189 if test x$gcc_no_link = xyes; then
48190 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48191 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48192 { (exit 1); exit 1; }; }
48193 fi
48194 cat >conftest.$ac_ext <<_ACEOF
48195 /* confdefs.h. */
48196 _ACEOF
48197 cat confdefs.h >>conftest.$ac_ext
48198 cat >>conftest.$ac_ext <<_ACEOF
48199 /* end confdefs.h. */
48200 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48201 For example, HP-UX 11i <limits.h> declares gettimeofday. */
48202 #define $ac_func innocuous_$ac_func
48203
48204 /* System header to define __stub macros and hopefully few prototypes,
48205 which can conflict with char $ac_func (); below.
48206 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48207 <limits.h> exists even on freestanding compilers. */
48208
48209 #ifdef __STDC__
48210 # include <limits.h>
48211 #else
48212 # include <assert.h>
48213 #endif
48214
48215 #undef $ac_func
48216
48217 /* Override any gcc2 internal prototype to avoid an error. */
48218 #ifdef __cplusplus
48219 extern "C"
48220 {
48221 #endif
48222 /* We use char because int might match the return type of a gcc2
48223 builtin and then its argument prototype would still apply. */
48224 char $ac_func ();
48225 /* The GNU C library defines this for functions which it implements
48226 to always fail with ENOSYS. Some functions are actually named
48227 something starting with __ and the normal name is an alias. */
48228 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48229 choke me
48230 #else
48231 char (*f) () = $ac_func;
48232 #endif
48233 #ifdef __cplusplus
48234 }
48235 #endif
48236
48237 int
48238 main ()
48239 {
48240 return f != $ac_func;
48241 ;
48242 return 0;
48243 }
48244 _ACEOF
48245 rm -f conftest.$ac_objext conftest$ac_exeext
48246 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48247 (eval $ac_link) 2>conftest.er1
48248 ac_status=$?
48249 grep -v '^ *+' conftest.er1 >conftest.err
48250 rm -f conftest.er1
48251 cat conftest.err >&5
48252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48253 (exit $ac_status); } &&
48254 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
48255 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48256 (eval $ac_try) 2>&5
48257 ac_status=$?
48258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48259 (exit $ac_status); }; } &&
48260 { ac_try='test -s conftest$ac_exeext'
48261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48262 (eval $ac_try) 2>&5
48263 ac_status=$?
48264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48265 (exit $ac_status); }; }; then
48266 eval "$as_ac_var=yes"
48267 else
48268 echo "$as_me: failed program was:" >&5
48269 sed 's/^/| /' conftest.$ac_ext >&5
48270
48271 eval "$as_ac_var=no"
48272 fi
48273 rm -f conftest.err conftest.$ac_objext \
48274 conftest$ac_exeext conftest.$ac_ext
48275 fi
48276 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48277 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48278 if test `eval echo '${'$as_ac_var'}'` = yes; then
48279 cat >>confdefs.h <<_ACEOF
48280 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48281 _ACEOF
48282
48283 fi
48284 done
48285
48286 fi
48287 fi
48288
48289
48290
48291
48292
48293
48294 echo "$as_me:$LINENO: checking for sqrtl declaration" >&5
48295 echo $ECHO_N "checking for sqrtl declaration... $ECHO_C" >&6
48296 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
48297 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then
48298 echo $ECHO_N "(cached) $ECHO_C" >&6
48299 else
48300
48301
48302
48303 ac_ext=cc
48304 ac_cpp='$CXXCPP $CPPFLAGS'
48305 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48306 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48307 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48308
48309 cat >conftest.$ac_ext <<_ACEOF
48310 /* confdefs.h. */
48311 _ACEOF
48312 cat confdefs.h >>conftest.$ac_ext
48313 cat >>conftest.$ac_ext <<_ACEOF
48314 /* end confdefs.h. */
48315 #include <math.h>
48316 #ifdef HAVE_IEEEFP_H
48317 #include <ieeefp.h>
48318 #endif
48319
48320 int
48321 main ()
48322 {
48323 sqrtl(0);
48324 ;
48325 return 0;
48326 }
48327 _ACEOF
48328 rm -f conftest.$ac_objext
48329 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48330 (eval $ac_compile) 2>conftest.er1
48331 ac_status=$?
48332 grep -v '^ *+' conftest.er1 >conftest.err
48333 rm -f conftest.er1
48334 cat conftest.err >&5
48335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48336 (exit $ac_status); } &&
48337 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
48338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48339 (eval $ac_try) 2>&5
48340 ac_status=$?
48341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48342 (exit $ac_status); }; } &&
48343 { ac_try='test -s conftest.$ac_objext'
48344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48345 (eval $ac_try) 2>&5
48346 ac_status=$?
48347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48348 (exit $ac_status); }; }; then
48349 glibcxx_cv_func_sqrtl_use=yes
48350 else
48351 echo "$as_me: failed program was:" >&5
48352 sed 's/^/| /' conftest.$ac_ext >&5
48353
48354 glibcxx_cv_func_sqrtl_use=no
48355 fi
48356 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48357 ac_ext=c
48358 ac_cpp='$CPP $CPPFLAGS'
48359 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48360 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48361 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48362
48363
48364 fi
48365
48366 fi
48367 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtl_use" >&5
48368 echo "${ECHO_T}$glibcxx_cv_func_sqrtl_use" >&6
48369
48370 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
48371
48372 for ac_func in sqrtl
48373 do
48374 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48375 echo "$as_me:$LINENO: checking for $ac_func" >&5
48376 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48377 if eval "test \"\${$as_ac_var+set}\" = set"; then
48378 echo $ECHO_N "(cached) $ECHO_C" >&6
48379 else
48380 if test x$gcc_no_link = xyes; then
48381 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48382 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48383 { (exit 1); exit 1; }; }
48384 fi
48385 cat >conftest.$ac_ext <<_ACEOF
48386 /* confdefs.h. */
48387 _ACEOF
48388 cat confdefs.h >>conftest.$ac_ext
48389 cat >>conftest.$ac_ext <<_ACEOF
48390 /* end confdefs.h. */
48391 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48392 For example, HP-UX 11i <limits.h> declares gettimeofday. */
48393 #define $ac_func innocuous_$ac_func
48394
48395 /* System header to define __stub macros and hopefully few prototypes,
48396 which can conflict with char $ac_func (); below.
48397 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48398 <limits.h> exists even on freestanding compilers. */
48399
48400 #ifdef __STDC__
48401 # include <limits.h>
48402 #else
48403 # include <assert.h>
48404 #endif
48405
48406 #undef $ac_func
48407
48408 /* Override any gcc2 internal prototype to avoid an error. */
48409 #ifdef __cplusplus
48410 extern "C"
48411 {
48412 #endif
48413 /* We use char because int might match the return type of a gcc2
48414 builtin and then its argument prototype would still apply. */
48415 char $ac_func ();
48416 /* The GNU C library defines this for functions which it implements
48417 to always fail with ENOSYS. Some functions are actually named
48418 something starting with __ and the normal name is an alias. */
48419 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48420 choke me
48421 #else
48422 char (*f) () = $ac_func;
48423 #endif
48424 #ifdef __cplusplus
48425 }
48426 #endif
48427
48428 int
48429 main ()
48430 {
48431 return f != $ac_func;
48432 ;
48433 return 0;
48434 }
48435 _ACEOF
48436 rm -f conftest.$ac_objext conftest$ac_exeext
48437 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48438 (eval $ac_link) 2>conftest.er1
48439 ac_status=$?
48440 grep -v '^ *+' conftest.er1 >conftest.err
48441 rm -f conftest.er1
48442 cat conftest.err >&5
48443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48444 (exit $ac_status); } &&
48445 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
48446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48447 (eval $ac_try) 2>&5
48448 ac_status=$?
48449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48450 (exit $ac_status); }; } &&
48451 { ac_try='test -s conftest$ac_exeext'
48452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48453 (eval $ac_try) 2>&5
48454 ac_status=$?
48455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48456 (exit $ac_status); }; }; then
48457 eval "$as_ac_var=yes"
48458 else
48459 echo "$as_me: failed program was:" >&5
48460 sed 's/^/| /' conftest.$ac_ext >&5
48461
48462 eval "$as_ac_var=no"
48463 fi
48464 rm -f conftest.err conftest.$ac_objext \
48465 conftest$ac_exeext conftest.$ac_ext
48466 fi
48467 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48468 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48469 if test `eval echo '${'$as_ac_var'}'` = yes; then
48470 cat >>confdefs.h <<_ACEOF
48471 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48472 _ACEOF
48473
48474 fi
48475 done
48476
48477 else
48478
48479 echo "$as_me:$LINENO: checking for _sqrtl declaration" >&5
48480 echo $ECHO_N "checking for _sqrtl declaration... $ECHO_C" >&6
48481 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
48482 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then
48483 echo $ECHO_N "(cached) $ECHO_C" >&6
48484 else
48485
48486
48487
48488 ac_ext=cc
48489 ac_cpp='$CXXCPP $CPPFLAGS'
48490 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48491 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48492 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48493
48494 cat >conftest.$ac_ext <<_ACEOF
48495 /* confdefs.h. */
48496 _ACEOF
48497 cat confdefs.h >>conftest.$ac_ext
48498 cat >>conftest.$ac_ext <<_ACEOF
48499 /* end confdefs.h. */
48500 #include <math.h>
48501 #ifdef HAVE_IEEEFP_H
48502 #include <ieeefp.h>
48503 #endif
48504
48505 int
48506 main ()
48507 {
48508 _sqrtl(0);
48509 ;
48510 return 0;
48511 }
48512 _ACEOF
48513 rm -f conftest.$ac_objext
48514 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48515 (eval $ac_compile) 2>conftest.er1
48516 ac_status=$?
48517 grep -v '^ *+' conftest.er1 >conftest.err
48518 rm -f conftest.er1
48519 cat conftest.err >&5
48520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48521 (exit $ac_status); } &&
48522 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
48523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48524 (eval $ac_try) 2>&5
48525 ac_status=$?
48526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48527 (exit $ac_status); }; } &&
48528 { ac_try='test -s conftest.$ac_objext'
48529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48530 (eval $ac_try) 2>&5
48531 ac_status=$?
48532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48533 (exit $ac_status); }; }; then
48534 glibcxx_cv_func__sqrtl_use=yes
48535 else
48536 echo "$as_me: failed program was:" >&5
48537 sed 's/^/| /' conftest.$ac_ext >&5
48538
48539 glibcxx_cv_func__sqrtl_use=no
48540 fi
48541 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48542 ac_ext=c
48543 ac_cpp='$CPP $CPPFLAGS'
48544 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48545 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48546 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48547
48548
48549 fi
48550
48551 fi
48552 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtl_use" >&5
48553 echo "${ECHO_T}$glibcxx_cv_func__sqrtl_use" >&6
48554
48555 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
48556
48557 for ac_func in _sqrtl
48558 do
48559 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48560 echo "$as_me:$LINENO: checking for $ac_func" >&5
48561 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48562 if eval "test \"\${$as_ac_var+set}\" = set"; then
48563 echo $ECHO_N "(cached) $ECHO_C" >&6
48564 else
48565 if test x$gcc_no_link = xyes; then
48566 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48567 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48568 { (exit 1); exit 1; }; }
48569 fi
48570 cat >conftest.$ac_ext <<_ACEOF
48571 /* confdefs.h. */
48572 _ACEOF
48573 cat confdefs.h >>conftest.$ac_ext
48574 cat >>conftest.$ac_ext <<_ACEOF
48575 /* end confdefs.h. */
48576 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48577 For example, HP-UX 11i <limits.h> declares gettimeofday. */
48578 #define $ac_func innocuous_$ac_func
48579
48580 /* System header to define __stub macros and hopefully few prototypes,
48581 which can conflict with char $ac_func (); below.
48582 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48583 <limits.h> exists even on freestanding compilers. */
48584
48585 #ifdef __STDC__
48586 # include <limits.h>
48587 #else
48588 # include <assert.h>
48589 #endif
48590
48591 #undef $ac_func
48592
48593 /* Override any gcc2 internal prototype to avoid an error. */
48594 #ifdef __cplusplus
48595 extern "C"
48596 {
48597 #endif
48598 /* We use char because int might match the return type of a gcc2
48599 builtin and then its argument prototype would still apply. */
48600 char $ac_func ();
48601 /* The GNU C library defines this for functions which it implements
48602 to always fail with ENOSYS. Some functions are actually named
48603 something starting with __ and the normal name is an alias. */
48604 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48605 choke me
48606 #else
48607 char (*f) () = $ac_func;
48608 #endif
48609 #ifdef __cplusplus
48610 }
48611 #endif
48612
48613 int
48614 main ()
48615 {
48616 return f != $ac_func;
48617 ;
48618 return 0;
48619 }
48620 _ACEOF
48621 rm -f conftest.$ac_objext conftest$ac_exeext
48622 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48623 (eval $ac_link) 2>conftest.er1
48624 ac_status=$?
48625 grep -v '^ *+' conftest.er1 >conftest.err
48626 rm -f conftest.er1
48627 cat conftest.err >&5
48628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48629 (exit $ac_status); } &&
48630 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
48631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48632 (eval $ac_try) 2>&5
48633 ac_status=$?
48634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48635 (exit $ac_status); }; } &&
48636 { ac_try='test -s conftest$ac_exeext'
48637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48638 (eval $ac_try) 2>&5
48639 ac_status=$?
48640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48641 (exit $ac_status); }; }; then
48642 eval "$as_ac_var=yes"
48643 else
48644 echo "$as_me: failed program was:" >&5
48645 sed 's/^/| /' conftest.$ac_ext >&5
48646
48647 eval "$as_ac_var=no"
48648 fi
48649 rm -f conftest.err conftest.$ac_objext \
48650 conftest$ac_exeext conftest.$ac_ext
48651 fi
48652 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48653 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48654 if test `eval echo '${'$as_ac_var'}'` = yes; then
48655 cat >>confdefs.h <<_ACEOF
48656 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48657 _ACEOF
48658
48659 fi
48660 done
48661
48662 fi
48663 fi
48664
48665
48666
48667
48668
48669
48670 echo "$as_me:$LINENO: checking for sincosl declaration" >&5
48671 echo $ECHO_N "checking for sincosl declaration... $ECHO_C" >&6
48672 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
48673 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then
48674 echo $ECHO_N "(cached) $ECHO_C" >&6
48675 else
48676
48677
48678
48679 ac_ext=cc
48680 ac_cpp='$CXXCPP $CPPFLAGS'
48681 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48682 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48683 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48684
48685 cat >conftest.$ac_ext <<_ACEOF
48686 /* confdefs.h. */
48687 _ACEOF
48688 cat confdefs.h >>conftest.$ac_ext
48689 cat >>conftest.$ac_ext <<_ACEOF
48690 /* end confdefs.h. */
48691 #include <math.h>
48692 int
48693 main ()
48694 {
48695 sincosl(0, 0, 0);
48696 ;
48697 return 0;
48698 }
48699 _ACEOF
48700 rm -f conftest.$ac_objext
48701 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48702 (eval $ac_compile) 2>conftest.er1
48703 ac_status=$?
48704 grep -v '^ *+' conftest.er1 >conftest.err
48705 rm -f conftest.er1
48706 cat conftest.err >&5
48707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48708 (exit $ac_status); } &&
48709 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
48710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48711 (eval $ac_try) 2>&5
48712 ac_status=$?
48713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48714 (exit $ac_status); }; } &&
48715 { ac_try='test -s conftest.$ac_objext'
48716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48717 (eval $ac_try) 2>&5
48718 ac_status=$?
48719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48720 (exit $ac_status); }; }; then
48721 glibcxx_cv_func_sincosl_use=yes
48722 else
48723 echo "$as_me: failed program was:" >&5
48724 sed 's/^/| /' conftest.$ac_ext >&5
48725
48726 glibcxx_cv_func_sincosl_use=no
48727 fi
48728 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48729 ac_ext=c
48730 ac_cpp='$CPP $CPPFLAGS'
48731 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48732 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48733 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48734
48735
48736 fi
48737
48738 fi
48739 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosl_use" >&5
48740 echo "${ECHO_T}$glibcxx_cv_func_sincosl_use" >&6
48741
48742 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
48743
48744 for ac_func in sincosl
48745 do
48746 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48747 echo "$as_me:$LINENO: checking for $ac_func" >&5
48748 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48749 if eval "test \"\${$as_ac_var+set}\" = set"; then
48750 echo $ECHO_N "(cached) $ECHO_C" >&6
48751 else
48752 if test x$gcc_no_link = xyes; then
48753 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48754 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48755 { (exit 1); exit 1; }; }
48756 fi
48757 cat >conftest.$ac_ext <<_ACEOF
48758 /* confdefs.h. */
48759 _ACEOF
48760 cat confdefs.h >>conftest.$ac_ext
48761 cat >>conftest.$ac_ext <<_ACEOF
48762 /* end confdefs.h. */
48763 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48764 For example, HP-UX 11i <limits.h> declares gettimeofday. */
48765 #define $ac_func innocuous_$ac_func
48766
48767 /* System header to define __stub macros and hopefully few prototypes,
48768 which can conflict with char $ac_func (); below.
48769 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48770 <limits.h> exists even on freestanding compilers. */
48771
48772 #ifdef __STDC__
48773 # include <limits.h>
48774 #else
48775 # include <assert.h>
48776 #endif
48777
48778 #undef $ac_func
48779
48780 /* Override any gcc2 internal prototype to avoid an error. */
48781 #ifdef __cplusplus
48782 extern "C"
48783 {
48784 #endif
48785 /* We use char because int might match the return type of a gcc2
48786 builtin and then its argument prototype would still apply. */
48787 char $ac_func ();
48788 /* The GNU C library defines this for functions which it implements
48789 to always fail with ENOSYS. Some functions are actually named
48790 something starting with __ and the normal name is an alias. */
48791 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48792 choke me
48793 #else
48794 char (*f) () = $ac_func;
48795 #endif
48796 #ifdef __cplusplus
48797 }
48798 #endif
48799
48800 int
48801 main ()
48802 {
48803 return f != $ac_func;
48804 ;
48805 return 0;
48806 }
48807 _ACEOF
48808 rm -f conftest.$ac_objext conftest$ac_exeext
48809 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48810 (eval $ac_link) 2>conftest.er1
48811 ac_status=$?
48812 grep -v '^ *+' conftest.er1 >conftest.err
48813 rm -f conftest.er1
48814 cat conftest.err >&5
48815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48816 (exit $ac_status); } &&
48817 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
48818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48819 (eval $ac_try) 2>&5
48820 ac_status=$?
48821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48822 (exit $ac_status); }; } &&
48823 { ac_try='test -s conftest$ac_exeext'
48824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48825 (eval $ac_try) 2>&5
48826 ac_status=$?
48827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48828 (exit $ac_status); }; }; then
48829 eval "$as_ac_var=yes"
48830 else
48831 echo "$as_me: failed program was:" >&5
48832 sed 's/^/| /' conftest.$ac_ext >&5
48833
48834 eval "$as_ac_var=no"
48835 fi
48836 rm -f conftest.err conftest.$ac_objext \
48837 conftest$ac_exeext conftest.$ac_ext
48838 fi
48839 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48840 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48841 if test `eval echo '${'$as_ac_var'}'` = yes; then
48842 cat >>confdefs.h <<_ACEOF
48843 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48844 _ACEOF
48845
48846 fi
48847 done
48848
48849 else
48850
48851 echo "$as_me:$LINENO: checking for _sincosl declaration" >&5
48852 echo $ECHO_N "checking for _sincosl declaration... $ECHO_C" >&6
48853 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
48854 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then
48855 echo $ECHO_N "(cached) $ECHO_C" >&6
48856 else
48857
48858
48859
48860 ac_ext=cc
48861 ac_cpp='$CXXCPP $CPPFLAGS'
48862 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48863 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48864 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48865
48866 cat >conftest.$ac_ext <<_ACEOF
48867 /* confdefs.h. */
48868 _ACEOF
48869 cat confdefs.h >>conftest.$ac_ext
48870 cat >>conftest.$ac_ext <<_ACEOF
48871 /* end confdefs.h. */
48872 #include <math.h>
48873 int
48874 main ()
48875 {
48876 _sincosl(0, 0, 0);
48877 ;
48878 return 0;
48879 }
48880 _ACEOF
48881 rm -f conftest.$ac_objext
48882 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48883 (eval $ac_compile) 2>conftest.er1
48884 ac_status=$?
48885 grep -v '^ *+' conftest.er1 >conftest.err
48886 rm -f conftest.er1
48887 cat conftest.err >&5
48888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48889 (exit $ac_status); } &&
48890 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
48891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48892 (eval $ac_try) 2>&5
48893 ac_status=$?
48894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48895 (exit $ac_status); }; } &&
48896 { ac_try='test -s conftest.$ac_objext'
48897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48898 (eval $ac_try) 2>&5
48899 ac_status=$?
48900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48901 (exit $ac_status); }; }; then
48902 glibcxx_cv_func__sincosl_use=yes
48903 else
48904 echo "$as_me: failed program was:" >&5
48905 sed 's/^/| /' conftest.$ac_ext >&5
48906
48907 glibcxx_cv_func__sincosl_use=no
48908 fi
48909 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48910 ac_ext=c
48911 ac_cpp='$CPP $CPPFLAGS'
48912 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48913 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48914 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48915
48916
48917 fi
48918
48919 fi
48920 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosl_use" >&5
48921 echo "${ECHO_T}$glibcxx_cv_func__sincosl_use" >&6
48922
48923 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
48924
48925 for ac_func in _sincosl
48926 do
48927 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48928 echo "$as_me:$LINENO: checking for $ac_func" >&5
48929 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48930 if eval "test \"\${$as_ac_var+set}\" = set"; then
48931 echo $ECHO_N "(cached) $ECHO_C" >&6
48932 else
48933 if test x$gcc_no_link = xyes; then
48934 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48935 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48936 { (exit 1); exit 1; }; }
48937 fi
48938 cat >conftest.$ac_ext <<_ACEOF
48939 /* confdefs.h. */
48940 _ACEOF
48941 cat confdefs.h >>conftest.$ac_ext
48942 cat >>conftest.$ac_ext <<_ACEOF
48943 /* end confdefs.h. */
48944 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48945 For example, HP-UX 11i <limits.h> declares gettimeofday. */
48946 #define $ac_func innocuous_$ac_func
48947
48948 /* System header to define __stub macros and hopefully few prototypes,
48949 which can conflict with char $ac_func (); below.
48950 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48951 <limits.h> exists even on freestanding compilers. */
48952
48953 #ifdef __STDC__
48954 # include <limits.h>
48955 #else
48956 # include <assert.h>
48957 #endif
48958
48959 #undef $ac_func
48960
48961 /* Override any gcc2 internal prototype to avoid an error. */
48962 #ifdef __cplusplus
48963 extern "C"
48964 {
48965 #endif
48966 /* We use char because int might match the return type of a gcc2
48967 builtin and then its argument prototype would still apply. */
48968 char $ac_func ();
48969 /* The GNU C library defines this for functions which it implements
48970 to always fail with ENOSYS. Some functions are actually named
48971 something starting with __ and the normal name is an alias. */
48972 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48973 choke me
48974 #else
48975 char (*f) () = $ac_func;
48976 #endif
48977 #ifdef __cplusplus
48978 }
48979 #endif
48980
48981 int
48982 main ()
48983 {
48984 return f != $ac_func;
48985 ;
48986 return 0;
48987 }
48988 _ACEOF
48989 rm -f conftest.$ac_objext conftest$ac_exeext
48990 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48991 (eval $ac_link) 2>conftest.er1
48992 ac_status=$?
48993 grep -v '^ *+' conftest.er1 >conftest.err
48994 rm -f conftest.er1
48995 cat conftest.err >&5
48996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48997 (exit $ac_status); } &&
48998 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
48999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49000 (eval $ac_try) 2>&5
49001 ac_status=$?
49002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49003 (exit $ac_status); }; } &&
49004 { ac_try='test -s conftest$ac_exeext'
49005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49006 (eval $ac_try) 2>&5
49007 ac_status=$?
49008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49009 (exit $ac_status); }; }; then
49010 eval "$as_ac_var=yes"
49011 else
49012 echo "$as_me: failed program was:" >&5
49013 sed 's/^/| /' conftest.$ac_ext >&5
49014
49015 eval "$as_ac_var=no"
49016 fi
49017 rm -f conftest.err conftest.$ac_objext \
49018 conftest$ac_exeext conftest.$ac_ext
49019 fi
49020 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
49021 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
49022 if test `eval echo '${'$as_ac_var'}'` = yes; then
49023 cat >>confdefs.h <<_ACEOF
49024 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49025 _ACEOF
49026
49027 fi
49028 done
49029
49030 fi
49031 fi
49032
49033
49034
49035
49036
49037
49038 echo "$as_me:$LINENO: checking for finitel declaration" >&5
49039 echo $ECHO_N "checking for finitel declaration... $ECHO_C" >&6
49040 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
49041 if test "${glibcxx_cv_func_finitel_use+set}" = set; then
49042 echo $ECHO_N "(cached) $ECHO_C" >&6
49043 else
49044
49045
49046
49047 ac_ext=cc
49048 ac_cpp='$CXXCPP $CPPFLAGS'
49049 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49050 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49051 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49052
49053 cat >conftest.$ac_ext <<_ACEOF
49054 /* confdefs.h. */
49055 _ACEOF
49056 cat confdefs.h >>conftest.$ac_ext
49057 cat >>conftest.$ac_ext <<_ACEOF
49058 /* end confdefs.h. */
49059 #include <math.h>
49060 #ifdef HAVE_IEEEFP_H
49061 #include <ieeefp.h>
49062 #endif
49063
49064 int
49065 main ()
49066 {
49067 finitel(0);
49068 ;
49069 return 0;
49070 }
49071 _ACEOF
49072 rm -f conftest.$ac_objext
49073 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49074 (eval $ac_compile) 2>conftest.er1
49075 ac_status=$?
49076 grep -v '^ *+' conftest.er1 >conftest.err
49077 rm -f conftest.er1
49078 cat conftest.err >&5
49079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49080 (exit $ac_status); } &&
49081 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
49082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49083 (eval $ac_try) 2>&5
49084 ac_status=$?
49085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49086 (exit $ac_status); }; } &&
49087 { ac_try='test -s conftest.$ac_objext'
49088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49089 (eval $ac_try) 2>&5
49090 ac_status=$?
49091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49092 (exit $ac_status); }; }; then
49093 glibcxx_cv_func_finitel_use=yes
49094 else
49095 echo "$as_me: failed program was:" >&5
49096 sed 's/^/| /' conftest.$ac_ext >&5
49097
49098 glibcxx_cv_func_finitel_use=no
49099 fi
49100 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49101 ac_ext=c
49102 ac_cpp='$CPP $CPPFLAGS'
49103 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49104 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49105 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49106
49107
49108 fi
49109
49110 fi
49111 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitel_use" >&5
49112 echo "${ECHO_T}$glibcxx_cv_func_finitel_use" >&6
49113
49114 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
49115
49116 for ac_func in finitel
49117 do
49118 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49119 echo "$as_me:$LINENO: checking for $ac_func" >&5
49120 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
49121 if eval "test \"\${$as_ac_var+set}\" = set"; then
49122 echo $ECHO_N "(cached) $ECHO_C" >&6
49123 else
49124 if test x$gcc_no_link = xyes; then
49125 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49126 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49127 { (exit 1); exit 1; }; }
49128 fi
49129 cat >conftest.$ac_ext <<_ACEOF
49130 /* confdefs.h. */
49131 _ACEOF
49132 cat confdefs.h >>conftest.$ac_ext
49133 cat >>conftest.$ac_ext <<_ACEOF
49134 /* end confdefs.h. */
49135 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
49136 For example, HP-UX 11i <limits.h> declares gettimeofday. */
49137 #define $ac_func innocuous_$ac_func
49138
49139 /* System header to define __stub macros and hopefully few prototypes,
49140 which can conflict with char $ac_func (); below.
49141 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
49142 <limits.h> exists even on freestanding compilers. */
49143
49144 #ifdef __STDC__
49145 # include <limits.h>
49146 #else
49147 # include <assert.h>
49148 #endif
49149
49150 #undef $ac_func
49151
49152 /* Override any gcc2 internal prototype to avoid an error. */
49153 #ifdef __cplusplus
49154 extern "C"
49155 {
49156 #endif
49157 /* We use char because int might match the return type of a gcc2
49158 builtin and then its argument prototype would still apply. */
49159 char $ac_func ();
49160 /* The GNU C library defines this for functions which it implements
49161 to always fail with ENOSYS. Some functions are actually named
49162 something starting with __ and the normal name is an alias. */
49163 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
49164 choke me
49165 #else
49166 char (*f) () = $ac_func;
49167 #endif
49168 #ifdef __cplusplus
49169 }
49170 #endif
49171
49172 int
49173 main ()
49174 {
49175 return f != $ac_func;
49176 ;
49177 return 0;
49178 }
49179 _ACEOF
49180 rm -f conftest.$ac_objext conftest$ac_exeext
49181 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49182 (eval $ac_link) 2>conftest.er1
49183 ac_status=$?
49184 grep -v '^ *+' conftest.er1 >conftest.err
49185 rm -f conftest.er1
49186 cat conftest.err >&5
49187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49188 (exit $ac_status); } &&
49189 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
49190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49191 (eval $ac_try) 2>&5
49192 ac_status=$?
49193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49194 (exit $ac_status); }; } &&
49195 { ac_try='test -s conftest$ac_exeext'
49196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49197 (eval $ac_try) 2>&5
49198 ac_status=$?
49199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49200 (exit $ac_status); }; }; then
49201 eval "$as_ac_var=yes"
49202 else
49203 echo "$as_me: failed program was:" >&5
49204 sed 's/^/| /' conftest.$ac_ext >&5
49205
49206 eval "$as_ac_var=no"
49207 fi
49208 rm -f conftest.err conftest.$ac_objext \
49209 conftest$ac_exeext conftest.$ac_ext
49210 fi
49211 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
49212 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
49213 if test `eval echo '${'$as_ac_var'}'` = yes; then
49214 cat >>confdefs.h <<_ACEOF
49215 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49216 _ACEOF
49217
49218 fi
49219 done
49220
49221 else
49222
49223 echo "$as_me:$LINENO: checking for _finitel declaration" >&5
49224 echo $ECHO_N "checking for _finitel declaration... $ECHO_C" >&6
49225 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
49226 if test "${glibcxx_cv_func__finitel_use+set}" = set; then
49227 echo $ECHO_N "(cached) $ECHO_C" >&6
49228 else
49229
49230
49231
49232 ac_ext=cc
49233 ac_cpp='$CXXCPP $CPPFLAGS'
49234 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49235 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49236 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49237
49238 cat >conftest.$ac_ext <<_ACEOF
49239 /* confdefs.h. */
49240 _ACEOF
49241 cat confdefs.h >>conftest.$ac_ext
49242 cat >>conftest.$ac_ext <<_ACEOF
49243 /* end confdefs.h. */
49244 #include <math.h>
49245 #ifdef HAVE_IEEEFP_H
49246 #include <ieeefp.h>
49247 #endif
49248
49249 int
49250 main ()
49251 {
49252 _finitel(0);
49253 ;
49254 return 0;
49255 }
49256 _ACEOF
49257 rm -f conftest.$ac_objext
49258 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49259 (eval $ac_compile) 2>conftest.er1
49260 ac_status=$?
49261 grep -v '^ *+' conftest.er1 >conftest.err
49262 rm -f conftest.er1
49263 cat conftest.err >&5
49264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49265 (exit $ac_status); } &&
49266 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
49267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49268 (eval $ac_try) 2>&5
49269 ac_status=$?
49270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49271 (exit $ac_status); }; } &&
49272 { ac_try='test -s conftest.$ac_objext'
49273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49274 (eval $ac_try) 2>&5
49275 ac_status=$?
49276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49277 (exit $ac_status); }; }; then
49278 glibcxx_cv_func__finitel_use=yes
49279 else
49280 echo "$as_me: failed program was:" >&5
49281 sed 's/^/| /' conftest.$ac_ext >&5
49282
49283 glibcxx_cv_func__finitel_use=no
49284 fi
49285 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49286 ac_ext=c
49287 ac_cpp='$CPP $CPPFLAGS'
49288 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49289 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49290 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49291
49292
49293 fi
49294
49295 fi
49296 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitel_use" >&5
49297 echo "${ECHO_T}$glibcxx_cv_func__finitel_use" >&6
49298
49299 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
49300
49301 for ac_func in _finitel
49302 do
49303 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49304 echo "$as_me:$LINENO: checking for $ac_func" >&5
49305 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
49306 if eval "test \"\${$as_ac_var+set}\" = set"; then
49307 echo $ECHO_N "(cached) $ECHO_C" >&6
49308 else
49309 if test x$gcc_no_link = xyes; then
49310 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49311 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49312 { (exit 1); exit 1; }; }
49313 fi
49314 cat >conftest.$ac_ext <<_ACEOF
49315 /* confdefs.h. */
49316 _ACEOF
49317 cat confdefs.h >>conftest.$ac_ext
49318 cat >>conftest.$ac_ext <<_ACEOF
49319 /* end confdefs.h. */
49320 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
49321 For example, HP-UX 11i <limits.h> declares gettimeofday. */
49322 #define $ac_func innocuous_$ac_func
49323
49324 /* System header to define __stub macros and hopefully few prototypes,
49325 which can conflict with char $ac_func (); below.
49326 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
49327 <limits.h> exists even on freestanding compilers. */
49328
49329 #ifdef __STDC__
49330 # include <limits.h>
49331 #else
49332 # include <assert.h>
49333 #endif
49334
49335 #undef $ac_func
49336
49337 /* Override any gcc2 internal prototype to avoid an error. */
49338 #ifdef __cplusplus
49339 extern "C"
49340 {
49341 #endif
49342 /* We use char because int might match the return type of a gcc2
49343 builtin and then its argument prototype would still apply. */
49344 char $ac_func ();
49345 /* The GNU C library defines this for functions which it implements
49346 to always fail with ENOSYS. Some functions are actually named
49347 something starting with __ and the normal name is an alias. */
49348 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
49349 choke me
49350 #else
49351 char (*f) () = $ac_func;
49352 #endif
49353 #ifdef __cplusplus
49354 }
49355 #endif
49356
49357 int
49358 main ()
49359 {
49360 return f != $ac_func;
49361 ;
49362 return 0;
49363 }
49364 _ACEOF
49365 rm -f conftest.$ac_objext conftest$ac_exeext
49366 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49367 (eval $ac_link) 2>conftest.er1
49368 ac_status=$?
49369 grep -v '^ *+' conftest.er1 >conftest.err
49370 rm -f conftest.er1
49371 cat conftest.err >&5
49372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49373 (exit $ac_status); } &&
49374 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
49375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49376 (eval $ac_try) 2>&5
49377 ac_status=$?
49378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49379 (exit $ac_status); }; } &&
49380 { ac_try='test -s conftest$ac_exeext'
49381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49382 (eval $ac_try) 2>&5
49383 ac_status=$?
49384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49385 (exit $ac_status); }; }; then
49386 eval "$as_ac_var=yes"
49387 else
49388 echo "$as_me: failed program was:" >&5
49389 sed 's/^/| /' conftest.$ac_ext >&5
49390
49391 eval "$as_ac_var=no"
49392 fi
49393 rm -f conftest.err conftest.$ac_objext \
49394 conftest$ac_exeext conftest.$ac_ext
49395 fi
49396 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
49397 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
49398 if test `eval echo '${'$as_ac_var'}'` = yes; then
49399 cat >>confdefs.h <<_ACEOF
49400 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49401 _ACEOF
49402
49403 fi
49404 done
49405
49406 fi
49407 fi
49408
49409
49410
49411
49412
49413 LIBS="$ac_save_LIBS"
49414 CXXFLAGS="$ac_save_CXXFLAGS"
49415
49416
49417
49418 echo "$as_me:$LINENO: checking for __builtin_abs declaration" >&5
49419 echo $ECHO_N "checking for __builtin_abs declaration... $ECHO_C" >&6
49420 if test x${glibcxx_cv_func___builtin_abs_use+set} != xset; then
49421 if test "${glibcxx_cv_func___builtin_abs_use+set}" = set; then
49422 echo $ECHO_N "(cached) $ECHO_C" >&6
49423 else
49424
49425
49426
49427 ac_ext=cc
49428 ac_cpp='$CXXCPP $CPPFLAGS'
49429 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49430 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49431 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49432
49433 cat >conftest.$ac_ext <<_ACEOF
49434 /* confdefs.h. */
49435 _ACEOF
49436 cat confdefs.h >>conftest.$ac_ext
49437 cat >>conftest.$ac_ext <<_ACEOF
49438 /* end confdefs.h. */
49439 #include <math.h>
49440 int
49441 main ()
49442 {
49443 __builtin_abs(0);
49444 ;
49445 return 0;
49446 }
49447 _ACEOF
49448 rm -f conftest.$ac_objext
49449 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49450 (eval $ac_compile) 2>conftest.er1
49451 ac_status=$?
49452 grep -v '^ *+' conftest.er1 >conftest.err
49453 rm -f conftest.er1
49454 cat conftest.err >&5
49455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49456 (exit $ac_status); } &&
49457 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
49458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49459 (eval $ac_try) 2>&5
49460 ac_status=$?
49461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49462 (exit $ac_status); }; } &&
49463 { ac_try='test -s conftest.$ac_objext'
49464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49465 (eval $ac_try) 2>&5
49466 ac_status=$?
49467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49468 (exit $ac_status); }; }; then
49469 glibcxx_cv_func___builtin_abs_use=yes
49470 else
49471 echo "$as_me: failed program was:" >&5
49472 sed 's/^/| /' conftest.$ac_ext >&5
49473
49474 glibcxx_cv_func___builtin_abs_use=no
49475 fi
49476 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49477 ac_ext=c
49478 ac_cpp='$CPP $CPPFLAGS'
49479 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49480 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49481 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49482
49483
49484 fi
49485
49486 fi
49487 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_use" >&5
49488 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_use" >&6
49489 if test x$glibcxx_cv_func___builtin_abs_use = x"yes"; then
49490 echo "$as_me:$LINENO: checking for __builtin_abs linkage" >&5
49491 echo $ECHO_N "checking for __builtin_abs linkage... $ECHO_C" >&6
49492 if test x${glibcxx_cv_func___builtin_abs_link+set} != xset; then
49493 if test "${glibcxx_cv_func___builtin_abs_link+set}" = set; then
49494 echo $ECHO_N "(cached) $ECHO_C" >&6
49495 else
49496
49497 if test x$gcc_no_link = xyes; then
49498 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49499 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49500 { (exit 1); exit 1; }; }
49501 fi
49502 cat >conftest.$ac_ext <<_ACEOF
49503 /* confdefs.h. */
49504 _ACEOF
49505 cat confdefs.h >>conftest.$ac_ext
49506 cat >>conftest.$ac_ext <<_ACEOF
49507 /* end confdefs.h. */
49508 #include <math.h>
49509 int
49510 main ()
49511 {
49512 __builtin_abs(0);
49513 ;
49514 return 0;
49515 }
49516 _ACEOF
49517 rm -f conftest.$ac_objext conftest$ac_exeext
49518 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49519 (eval $ac_link) 2>conftest.er1
49520 ac_status=$?
49521 grep -v '^ *+' conftest.er1 >conftest.err
49522 rm -f conftest.er1
49523 cat conftest.err >&5
49524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49525 (exit $ac_status); } &&
49526 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
49527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49528 (eval $ac_try) 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 glibcxx_cv_func___builtin_abs_link=yes
49539 else
49540 echo "$as_me: failed program was:" >&5
49541 sed 's/^/| /' conftest.$ac_ext >&5
49542
49543 glibcxx_cv_func___builtin_abs_link=no
49544 fi
49545 rm -f conftest.err conftest.$ac_objext \
49546 conftest$ac_exeext conftest.$ac_ext
49547
49548 fi
49549
49550 fi
49551 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_link" >&5
49552 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_link" >&6
49553
49554 if test x$glibcxx_cv_func___builtin_abs_link = x"yes"; then
49555
49556 cat >>confdefs.h <<\_ACEOF
49557 #define HAVE___BUILTIN_ABS 1
49558 _ACEOF
49559
49560 fi
49561
49562 fi
49563
49564
49565 echo "$as_me:$LINENO: checking for __builtin_fabsf declaration" >&5
49566 echo $ECHO_N "checking for __builtin_fabsf declaration... $ECHO_C" >&6
49567 if test x${glibcxx_cv_func___builtin_fabsf_use+set} != xset; then
49568 if test "${glibcxx_cv_func___builtin_fabsf_use+set}" = set; then
49569 echo $ECHO_N "(cached) $ECHO_C" >&6
49570 else
49571
49572
49573
49574 ac_ext=cc
49575 ac_cpp='$CXXCPP $CPPFLAGS'
49576 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49577 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49578 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49579
49580 cat >conftest.$ac_ext <<_ACEOF
49581 /* confdefs.h. */
49582 _ACEOF
49583 cat confdefs.h >>conftest.$ac_ext
49584 cat >>conftest.$ac_ext <<_ACEOF
49585 /* end confdefs.h. */
49586 #include <math.h>
49587 int
49588 main ()
49589 {
49590 __builtin_fabsf(0);
49591 ;
49592 return 0;
49593 }
49594 _ACEOF
49595 rm -f conftest.$ac_objext
49596 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49597 (eval $ac_compile) 2>conftest.er1
49598 ac_status=$?
49599 grep -v '^ *+' conftest.er1 >conftest.err
49600 rm -f conftest.er1
49601 cat conftest.err >&5
49602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49603 (exit $ac_status); } &&
49604 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
49605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49606 (eval $ac_try) 2>&5
49607 ac_status=$?
49608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49609 (exit $ac_status); }; } &&
49610 { ac_try='test -s conftest.$ac_objext'
49611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49612 (eval $ac_try) 2>&5
49613 ac_status=$?
49614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49615 (exit $ac_status); }; }; then
49616 glibcxx_cv_func___builtin_fabsf_use=yes
49617 else
49618 echo "$as_me: failed program was:" >&5
49619 sed 's/^/| /' conftest.$ac_ext >&5
49620
49621 glibcxx_cv_func___builtin_fabsf_use=no
49622 fi
49623 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49624 ac_ext=c
49625 ac_cpp='$CPP $CPPFLAGS'
49626 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49627 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49628 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49629
49630
49631 fi
49632
49633 fi
49634 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_use" >&5
49635 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_use" >&6
49636 if test x$glibcxx_cv_func___builtin_fabsf_use = x"yes"; then
49637 echo "$as_me:$LINENO: checking for __builtin_fabsf linkage" >&5
49638 echo $ECHO_N "checking for __builtin_fabsf linkage... $ECHO_C" >&6
49639 if test x${glibcxx_cv_func___builtin_fabsf_link+set} != xset; then
49640 if test "${glibcxx_cv_func___builtin_fabsf_link+set}" = set; then
49641 echo $ECHO_N "(cached) $ECHO_C" >&6
49642 else
49643
49644 if test x$gcc_no_link = xyes; then
49645 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49646 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49647 { (exit 1); exit 1; }; }
49648 fi
49649 cat >conftest.$ac_ext <<_ACEOF
49650 /* confdefs.h. */
49651 _ACEOF
49652 cat confdefs.h >>conftest.$ac_ext
49653 cat >>conftest.$ac_ext <<_ACEOF
49654 /* end confdefs.h. */
49655 #include <math.h>
49656 int
49657 main ()
49658 {
49659 __builtin_fabsf(0);
49660 ;
49661 return 0;
49662 }
49663 _ACEOF
49664 rm -f conftest.$ac_objext conftest$ac_exeext
49665 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49666 (eval $ac_link) 2>conftest.er1
49667 ac_status=$?
49668 grep -v '^ *+' conftest.er1 >conftest.err
49669 rm -f conftest.er1
49670 cat conftest.err >&5
49671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49672 (exit $ac_status); } &&
49673 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
49674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49675 (eval $ac_try) 2>&5
49676 ac_status=$?
49677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49678 (exit $ac_status); }; } &&
49679 { ac_try='test -s conftest$ac_exeext'
49680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49681 (eval $ac_try) 2>&5
49682 ac_status=$?
49683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49684 (exit $ac_status); }; }; then
49685 glibcxx_cv_func___builtin_fabsf_link=yes
49686 else
49687 echo "$as_me: failed program was:" >&5
49688 sed 's/^/| /' conftest.$ac_ext >&5
49689
49690 glibcxx_cv_func___builtin_fabsf_link=no
49691 fi
49692 rm -f conftest.err conftest.$ac_objext \
49693 conftest$ac_exeext conftest.$ac_ext
49694
49695 fi
49696
49697 fi
49698 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_link" >&5
49699 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_link" >&6
49700
49701 if test x$glibcxx_cv_func___builtin_fabsf_link = x"yes"; then
49702
49703 cat >>confdefs.h <<\_ACEOF
49704 #define HAVE___BUILTIN_FABSF 1
49705 _ACEOF
49706
49707 fi
49708
49709 fi
49710
49711
49712 echo "$as_me:$LINENO: checking for __builtin_fabs declaration" >&5
49713 echo $ECHO_N "checking for __builtin_fabs declaration... $ECHO_C" >&6
49714 if test x${glibcxx_cv_func___builtin_fabs_use+set} != xset; then
49715 if test "${glibcxx_cv_func___builtin_fabs_use+set}" = set; then
49716 echo $ECHO_N "(cached) $ECHO_C" >&6
49717 else
49718
49719
49720
49721 ac_ext=cc
49722 ac_cpp='$CXXCPP $CPPFLAGS'
49723 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49724 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49725 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49726
49727 cat >conftest.$ac_ext <<_ACEOF
49728 /* confdefs.h. */
49729 _ACEOF
49730 cat confdefs.h >>conftest.$ac_ext
49731 cat >>conftest.$ac_ext <<_ACEOF
49732 /* end confdefs.h. */
49733 #include <math.h>
49734 int
49735 main ()
49736 {
49737 __builtin_fabs(0);
49738 ;
49739 return 0;
49740 }
49741 _ACEOF
49742 rm -f conftest.$ac_objext
49743 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49744 (eval $ac_compile) 2>conftest.er1
49745 ac_status=$?
49746 grep -v '^ *+' conftest.er1 >conftest.err
49747 rm -f conftest.er1
49748 cat conftest.err >&5
49749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49750 (exit $ac_status); } &&
49751 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
49752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49753 (eval $ac_try) 2>&5
49754 ac_status=$?
49755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49756 (exit $ac_status); }; } &&
49757 { ac_try='test -s conftest.$ac_objext'
49758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49759 (eval $ac_try) 2>&5
49760 ac_status=$?
49761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49762 (exit $ac_status); }; }; then
49763 glibcxx_cv_func___builtin_fabs_use=yes
49764 else
49765 echo "$as_me: failed program was:" >&5
49766 sed 's/^/| /' conftest.$ac_ext >&5
49767
49768 glibcxx_cv_func___builtin_fabs_use=no
49769 fi
49770 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49771 ac_ext=c
49772 ac_cpp='$CPP $CPPFLAGS'
49773 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49774 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49775 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49776
49777
49778 fi
49779
49780 fi
49781 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_use" >&5
49782 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_use" >&6
49783 if test x$glibcxx_cv_func___builtin_fabs_use = x"yes"; then
49784 echo "$as_me:$LINENO: checking for __builtin_fabs linkage" >&5
49785 echo $ECHO_N "checking for __builtin_fabs linkage... $ECHO_C" >&6
49786 if test x${glibcxx_cv_func___builtin_fabs_link+set} != xset; then
49787 if test "${glibcxx_cv_func___builtin_fabs_link+set}" = set; then
49788 echo $ECHO_N "(cached) $ECHO_C" >&6
49789 else
49790
49791 if test x$gcc_no_link = xyes; then
49792 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49793 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49794 { (exit 1); exit 1; }; }
49795 fi
49796 cat >conftest.$ac_ext <<_ACEOF
49797 /* confdefs.h. */
49798 _ACEOF
49799 cat confdefs.h >>conftest.$ac_ext
49800 cat >>conftest.$ac_ext <<_ACEOF
49801 /* end confdefs.h. */
49802 #include <math.h>
49803 int
49804 main ()
49805 {
49806 __builtin_fabs(0);
49807 ;
49808 return 0;
49809 }
49810 _ACEOF
49811 rm -f conftest.$ac_objext conftest$ac_exeext
49812 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49813 (eval $ac_link) 2>conftest.er1
49814 ac_status=$?
49815 grep -v '^ *+' conftest.er1 >conftest.err
49816 rm -f conftest.er1
49817 cat conftest.err >&5
49818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49819 (exit $ac_status); } &&
49820 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
49821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49822 (eval $ac_try) 2>&5
49823 ac_status=$?
49824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49825 (exit $ac_status); }; } &&
49826 { ac_try='test -s conftest$ac_exeext'
49827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49828 (eval $ac_try) 2>&5
49829 ac_status=$?
49830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49831 (exit $ac_status); }; }; then
49832 glibcxx_cv_func___builtin_fabs_link=yes
49833 else
49834 echo "$as_me: failed program was:" >&5
49835 sed 's/^/| /' conftest.$ac_ext >&5
49836
49837 glibcxx_cv_func___builtin_fabs_link=no
49838 fi
49839 rm -f conftest.err conftest.$ac_objext \
49840 conftest$ac_exeext conftest.$ac_ext
49841
49842 fi
49843
49844 fi
49845 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_link" >&5
49846 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_link" >&6
49847
49848 if test x$glibcxx_cv_func___builtin_fabs_link = x"yes"; then
49849
49850 cat >>confdefs.h <<\_ACEOF
49851 #define HAVE___BUILTIN_FABS 1
49852 _ACEOF
49853
49854 fi
49855
49856 fi
49857
49858
49859 echo "$as_me:$LINENO: checking for __builtin_fabsl declaration" >&5
49860 echo $ECHO_N "checking for __builtin_fabsl declaration... $ECHO_C" >&6
49861 if test x${glibcxx_cv_func___builtin_fabsl_use+set} != xset; then
49862 if test "${glibcxx_cv_func___builtin_fabsl_use+set}" = set; then
49863 echo $ECHO_N "(cached) $ECHO_C" >&6
49864 else
49865
49866
49867
49868 ac_ext=cc
49869 ac_cpp='$CXXCPP $CPPFLAGS'
49870 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49871 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49872 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49873
49874 cat >conftest.$ac_ext <<_ACEOF
49875 /* confdefs.h. */
49876 _ACEOF
49877 cat confdefs.h >>conftest.$ac_ext
49878 cat >>conftest.$ac_ext <<_ACEOF
49879 /* end confdefs.h. */
49880 #include <math.h>
49881 int
49882 main ()
49883 {
49884 __builtin_fabsl(0);
49885 ;
49886 return 0;
49887 }
49888 _ACEOF
49889 rm -f conftest.$ac_objext
49890 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49891 (eval $ac_compile) 2>conftest.er1
49892 ac_status=$?
49893 grep -v '^ *+' conftest.er1 >conftest.err
49894 rm -f conftest.er1
49895 cat conftest.err >&5
49896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49897 (exit $ac_status); } &&
49898 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
49899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49900 (eval $ac_try) 2>&5
49901 ac_status=$?
49902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49903 (exit $ac_status); }; } &&
49904 { ac_try='test -s conftest.$ac_objext'
49905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49906 (eval $ac_try) 2>&5
49907 ac_status=$?
49908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49909 (exit $ac_status); }; }; then
49910 glibcxx_cv_func___builtin_fabsl_use=yes
49911 else
49912 echo "$as_me: failed program was:" >&5
49913 sed 's/^/| /' conftest.$ac_ext >&5
49914
49915 glibcxx_cv_func___builtin_fabsl_use=no
49916 fi
49917 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49918 ac_ext=c
49919 ac_cpp='$CPP $CPPFLAGS'
49920 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49921 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49922 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49923
49924
49925 fi
49926
49927 fi
49928 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_use" >&5
49929 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_use" >&6
49930 if test x$glibcxx_cv_func___builtin_fabsl_use = x"yes"; then
49931 echo "$as_me:$LINENO: checking for __builtin_fabsl linkage" >&5
49932 echo $ECHO_N "checking for __builtin_fabsl linkage... $ECHO_C" >&6
49933 if test x${glibcxx_cv_func___builtin_fabsl_link+set} != xset; then
49934 if test "${glibcxx_cv_func___builtin_fabsl_link+set}" = set; then
49935 echo $ECHO_N "(cached) $ECHO_C" >&6
49936 else
49937
49938 if test x$gcc_no_link = xyes; then
49939 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49940 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49941 { (exit 1); exit 1; }; }
49942 fi
49943 cat >conftest.$ac_ext <<_ACEOF
49944 /* confdefs.h. */
49945 _ACEOF
49946 cat confdefs.h >>conftest.$ac_ext
49947 cat >>conftest.$ac_ext <<_ACEOF
49948 /* end confdefs.h. */
49949 #include <math.h>
49950 int
49951 main ()
49952 {
49953 __builtin_fabsl(0);
49954 ;
49955 return 0;
49956 }
49957 _ACEOF
49958 rm -f conftest.$ac_objext conftest$ac_exeext
49959 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49960 (eval $ac_link) 2>conftest.er1
49961 ac_status=$?
49962 grep -v '^ *+' conftest.er1 >conftest.err
49963 rm -f conftest.er1
49964 cat conftest.err >&5
49965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49966 (exit $ac_status); } &&
49967 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
49968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49969 (eval $ac_try) 2>&5
49970 ac_status=$?
49971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49972 (exit $ac_status); }; } &&
49973 { ac_try='test -s conftest$ac_exeext'
49974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49975 (eval $ac_try) 2>&5
49976 ac_status=$?
49977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49978 (exit $ac_status); }; }; then
49979 glibcxx_cv_func___builtin_fabsl_link=yes
49980 else
49981 echo "$as_me: failed program was:" >&5
49982 sed 's/^/| /' conftest.$ac_ext >&5
49983
49984 glibcxx_cv_func___builtin_fabsl_link=no
49985 fi
49986 rm -f conftest.err conftest.$ac_objext \
49987 conftest$ac_exeext conftest.$ac_ext
49988
49989 fi
49990
49991 fi
49992 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_link" >&5
49993 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_link" >&6
49994
49995 if test x$glibcxx_cv_func___builtin_fabsl_link = x"yes"; then
49996
49997 cat >>confdefs.h <<\_ACEOF
49998 #define HAVE___BUILTIN_FABSL 1
49999 _ACEOF
50000
50001 fi
50002
50003 fi
50004
50005
50006 echo "$as_me:$LINENO: checking for __builtin_labs declaration" >&5
50007 echo $ECHO_N "checking for __builtin_labs declaration... $ECHO_C" >&6
50008 if test x${glibcxx_cv_func___builtin_labs_use+set} != xset; then
50009 if test "${glibcxx_cv_func___builtin_labs_use+set}" = set; then
50010 echo $ECHO_N "(cached) $ECHO_C" >&6
50011 else
50012
50013
50014
50015 ac_ext=cc
50016 ac_cpp='$CXXCPP $CPPFLAGS'
50017 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50018 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50019 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50020
50021 cat >conftest.$ac_ext <<_ACEOF
50022 /* confdefs.h. */
50023 _ACEOF
50024 cat confdefs.h >>conftest.$ac_ext
50025 cat >>conftest.$ac_ext <<_ACEOF
50026 /* end confdefs.h. */
50027 #include <math.h>
50028 int
50029 main ()
50030 {
50031 __builtin_labs(0);
50032 ;
50033 return 0;
50034 }
50035 _ACEOF
50036 rm -f conftest.$ac_objext
50037 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50038 (eval $ac_compile) 2>conftest.er1
50039 ac_status=$?
50040 grep -v '^ *+' conftest.er1 >conftest.err
50041 rm -f conftest.er1
50042 cat conftest.err >&5
50043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50044 (exit $ac_status); } &&
50045 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
50046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50047 (eval $ac_try) 2>&5
50048 ac_status=$?
50049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50050 (exit $ac_status); }; } &&
50051 { ac_try='test -s conftest.$ac_objext'
50052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50053 (eval $ac_try) 2>&5
50054 ac_status=$?
50055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50056 (exit $ac_status); }; }; then
50057 glibcxx_cv_func___builtin_labs_use=yes
50058 else
50059 echo "$as_me: failed program was:" >&5
50060 sed 's/^/| /' conftest.$ac_ext >&5
50061
50062 glibcxx_cv_func___builtin_labs_use=no
50063 fi
50064 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50065 ac_ext=c
50066 ac_cpp='$CPP $CPPFLAGS'
50067 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50068 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50069 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50070
50071
50072 fi
50073
50074 fi
50075 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_use" >&5
50076 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_use" >&6
50077 if test x$glibcxx_cv_func___builtin_labs_use = x"yes"; then
50078 echo "$as_me:$LINENO: checking for __builtin_labs linkage" >&5
50079 echo $ECHO_N "checking for __builtin_labs linkage... $ECHO_C" >&6
50080 if test x${glibcxx_cv_func___builtin_labs_link+set} != xset; then
50081 if test "${glibcxx_cv_func___builtin_labs_link+set}" = set; then
50082 echo $ECHO_N "(cached) $ECHO_C" >&6
50083 else
50084
50085 if test x$gcc_no_link = xyes; then
50086 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50087 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50088 { (exit 1); exit 1; }; }
50089 fi
50090 cat >conftest.$ac_ext <<_ACEOF
50091 /* confdefs.h. */
50092 _ACEOF
50093 cat confdefs.h >>conftest.$ac_ext
50094 cat >>conftest.$ac_ext <<_ACEOF
50095 /* end confdefs.h. */
50096 #include <math.h>
50097 int
50098 main ()
50099 {
50100 __builtin_labs(0);
50101 ;
50102 return 0;
50103 }
50104 _ACEOF
50105 rm -f conftest.$ac_objext conftest$ac_exeext
50106 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50107 (eval $ac_link) 2>conftest.er1
50108 ac_status=$?
50109 grep -v '^ *+' conftest.er1 >conftest.err
50110 rm -f conftest.er1
50111 cat conftest.err >&5
50112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50113 (exit $ac_status); } &&
50114 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
50115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50116 (eval $ac_try) 2>&5
50117 ac_status=$?
50118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50119 (exit $ac_status); }; } &&
50120 { ac_try='test -s conftest$ac_exeext'
50121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50122 (eval $ac_try) 2>&5
50123 ac_status=$?
50124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50125 (exit $ac_status); }; }; then
50126 glibcxx_cv_func___builtin_labs_link=yes
50127 else
50128 echo "$as_me: failed program was:" >&5
50129 sed 's/^/| /' conftest.$ac_ext >&5
50130
50131 glibcxx_cv_func___builtin_labs_link=no
50132 fi
50133 rm -f conftest.err conftest.$ac_objext \
50134 conftest$ac_exeext conftest.$ac_ext
50135
50136 fi
50137
50138 fi
50139 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_link" >&5
50140 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_link" >&6
50141
50142 if test x$glibcxx_cv_func___builtin_labs_link = x"yes"; then
50143
50144 cat >>confdefs.h <<\_ACEOF
50145 #define HAVE___BUILTIN_LABS 1
50146 _ACEOF
50147
50148 fi
50149
50150 fi
50151
50152
50153
50154 echo "$as_me:$LINENO: checking for __builtin_sqrtf declaration" >&5
50155 echo $ECHO_N "checking for __builtin_sqrtf declaration... $ECHO_C" >&6
50156 if test x${glibcxx_cv_func___builtin_sqrtf_use+set} != xset; then
50157 if test "${glibcxx_cv_func___builtin_sqrtf_use+set}" = set; then
50158 echo $ECHO_N "(cached) $ECHO_C" >&6
50159 else
50160
50161
50162
50163 ac_ext=cc
50164 ac_cpp='$CXXCPP $CPPFLAGS'
50165 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50166 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50167 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50168
50169 cat >conftest.$ac_ext <<_ACEOF
50170 /* confdefs.h. */
50171 _ACEOF
50172 cat confdefs.h >>conftest.$ac_ext
50173 cat >>conftest.$ac_ext <<_ACEOF
50174 /* end confdefs.h. */
50175 #include <math.h>
50176 int
50177 main ()
50178 {
50179 __builtin_sqrtf(0);
50180 ;
50181 return 0;
50182 }
50183 _ACEOF
50184 rm -f conftest.$ac_objext
50185 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50186 (eval $ac_compile) 2>conftest.er1
50187 ac_status=$?
50188 grep -v '^ *+' conftest.er1 >conftest.err
50189 rm -f conftest.er1
50190 cat conftest.err >&5
50191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50192 (exit $ac_status); } &&
50193 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
50194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50195 (eval $ac_try) 2>&5
50196 ac_status=$?
50197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50198 (exit $ac_status); }; } &&
50199 { ac_try='test -s conftest.$ac_objext'
50200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50201 (eval $ac_try) 2>&5
50202 ac_status=$?
50203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50204 (exit $ac_status); }; }; then
50205 glibcxx_cv_func___builtin_sqrtf_use=yes
50206 else
50207 echo "$as_me: failed program was:" >&5
50208 sed 's/^/| /' conftest.$ac_ext >&5
50209
50210 glibcxx_cv_func___builtin_sqrtf_use=no
50211 fi
50212 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50213 ac_ext=c
50214 ac_cpp='$CPP $CPPFLAGS'
50215 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50216 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50217 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50218
50219
50220 fi
50221
50222 fi
50223 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_use" >&5
50224 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_use" >&6
50225 if test x$glibcxx_cv_func___builtin_sqrtf_use = x"yes"; then
50226 echo "$as_me:$LINENO: checking for __builtin_sqrtf linkage" >&5
50227 echo $ECHO_N "checking for __builtin_sqrtf linkage... $ECHO_C" >&6
50228 if test x${glibcxx_cv_func___builtin_sqrtf_link+set} != xset; then
50229 if test "${glibcxx_cv_func___builtin_sqrtf_link+set}" = set; then
50230 echo $ECHO_N "(cached) $ECHO_C" >&6
50231 else
50232
50233 if test x$gcc_no_link = xyes; then
50234 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50235 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50236 { (exit 1); exit 1; }; }
50237 fi
50238 cat >conftest.$ac_ext <<_ACEOF
50239 /* confdefs.h. */
50240 _ACEOF
50241 cat confdefs.h >>conftest.$ac_ext
50242 cat >>conftest.$ac_ext <<_ACEOF
50243 /* end confdefs.h. */
50244 #include <math.h>
50245 int
50246 main ()
50247 {
50248 __builtin_sqrtf(0);
50249 ;
50250 return 0;
50251 }
50252 _ACEOF
50253 rm -f conftest.$ac_objext conftest$ac_exeext
50254 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50255 (eval $ac_link) 2>conftest.er1
50256 ac_status=$?
50257 grep -v '^ *+' conftest.er1 >conftest.err
50258 rm -f conftest.er1
50259 cat conftest.err >&5
50260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50261 (exit $ac_status); } &&
50262 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
50263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50264 (eval $ac_try) 2>&5
50265 ac_status=$?
50266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50267 (exit $ac_status); }; } &&
50268 { ac_try='test -s conftest$ac_exeext'
50269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50270 (eval $ac_try) 2>&5
50271 ac_status=$?
50272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50273 (exit $ac_status); }; }; then
50274 glibcxx_cv_func___builtin_sqrtf_link=yes
50275 else
50276 echo "$as_me: failed program was:" >&5
50277 sed 's/^/| /' conftest.$ac_ext >&5
50278
50279 glibcxx_cv_func___builtin_sqrtf_link=no
50280 fi
50281 rm -f conftest.err conftest.$ac_objext \
50282 conftest$ac_exeext conftest.$ac_ext
50283
50284 fi
50285
50286 fi
50287 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_link" >&5
50288 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_link" >&6
50289
50290 if test x$glibcxx_cv_func___builtin_sqrtf_link = x"yes"; then
50291
50292 cat >>confdefs.h <<\_ACEOF
50293 #define HAVE___BUILTIN_SQRTF 1
50294 _ACEOF
50295
50296 fi
50297
50298 fi
50299
50300
50301 echo "$as_me:$LINENO: checking for __builtin_sqrt declaration" >&5
50302 echo $ECHO_N "checking for __builtin_sqrt declaration... $ECHO_C" >&6
50303 if test x${glibcxx_cv_func___builtin_sqrt_use+set} != xset; then
50304 if test "${glibcxx_cv_func___builtin_sqrt_use+set}" = set; then
50305 echo $ECHO_N "(cached) $ECHO_C" >&6
50306 else
50307
50308
50309
50310 ac_ext=cc
50311 ac_cpp='$CXXCPP $CPPFLAGS'
50312 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50313 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50314 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50315
50316 cat >conftest.$ac_ext <<_ACEOF
50317 /* confdefs.h. */
50318 _ACEOF
50319 cat confdefs.h >>conftest.$ac_ext
50320 cat >>conftest.$ac_ext <<_ACEOF
50321 /* end confdefs.h. */
50322 #include <math.h>
50323 int
50324 main ()
50325 {
50326 __builtin_sqrt(0);
50327 ;
50328 return 0;
50329 }
50330 _ACEOF
50331 rm -f conftest.$ac_objext
50332 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50333 (eval $ac_compile) 2>conftest.er1
50334 ac_status=$?
50335 grep -v '^ *+' conftest.er1 >conftest.err
50336 rm -f conftest.er1
50337 cat conftest.err >&5
50338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50339 (exit $ac_status); } &&
50340 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
50341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50342 (eval $ac_try) 2>&5
50343 ac_status=$?
50344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50345 (exit $ac_status); }; } &&
50346 { ac_try='test -s conftest.$ac_objext'
50347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50348 (eval $ac_try) 2>&5
50349 ac_status=$?
50350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50351 (exit $ac_status); }; }; then
50352 glibcxx_cv_func___builtin_sqrt_use=yes
50353 else
50354 echo "$as_me: failed program was:" >&5
50355 sed 's/^/| /' conftest.$ac_ext >&5
50356
50357 glibcxx_cv_func___builtin_sqrt_use=no
50358 fi
50359 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50360 ac_ext=c
50361 ac_cpp='$CPP $CPPFLAGS'
50362 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50363 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50364 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50365
50366
50367 fi
50368
50369 fi
50370 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_use" >&5
50371 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_use" >&6
50372 if test x$glibcxx_cv_func___builtin_sqrt_use = x"yes"; then
50373 echo "$as_me:$LINENO: checking for __builtin_sqrt linkage" >&5
50374 echo $ECHO_N "checking for __builtin_sqrt linkage... $ECHO_C" >&6
50375 if test x${glibcxx_cv_func___builtin_sqrt_link+set} != xset; then
50376 if test "${glibcxx_cv_func___builtin_sqrt_link+set}" = set; then
50377 echo $ECHO_N "(cached) $ECHO_C" >&6
50378 else
50379
50380 if test x$gcc_no_link = xyes; then
50381 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50382 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50383 { (exit 1); exit 1; }; }
50384 fi
50385 cat >conftest.$ac_ext <<_ACEOF
50386 /* confdefs.h. */
50387 _ACEOF
50388 cat confdefs.h >>conftest.$ac_ext
50389 cat >>conftest.$ac_ext <<_ACEOF
50390 /* end confdefs.h. */
50391 #include <math.h>
50392 int
50393 main ()
50394 {
50395 __builtin_sqrt(0);
50396 ;
50397 return 0;
50398 }
50399 _ACEOF
50400 rm -f conftest.$ac_objext conftest$ac_exeext
50401 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50402 (eval $ac_link) 2>conftest.er1
50403 ac_status=$?
50404 grep -v '^ *+' conftest.er1 >conftest.err
50405 rm -f conftest.er1
50406 cat conftest.err >&5
50407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50408 (exit $ac_status); } &&
50409 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
50410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50411 (eval $ac_try) 2>&5
50412 ac_status=$?
50413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50414 (exit $ac_status); }; } &&
50415 { ac_try='test -s conftest$ac_exeext'
50416 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50417 (eval $ac_try) 2>&5
50418 ac_status=$?
50419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50420 (exit $ac_status); }; }; then
50421 glibcxx_cv_func___builtin_sqrt_link=yes
50422 else
50423 echo "$as_me: failed program was:" >&5
50424 sed 's/^/| /' conftest.$ac_ext >&5
50425
50426 glibcxx_cv_func___builtin_sqrt_link=no
50427 fi
50428 rm -f conftest.err conftest.$ac_objext \
50429 conftest$ac_exeext conftest.$ac_ext
50430
50431 fi
50432
50433 fi
50434 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_link" >&5
50435 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_link" >&6
50436
50437 if test x$glibcxx_cv_func___builtin_sqrt_link = x"yes"; then
50438
50439 cat >>confdefs.h <<\_ACEOF
50440 #define HAVE___BUILTIN_SQRT 1
50441 _ACEOF
50442
50443 fi
50444
50445 fi
50446
50447
50448 echo "$as_me:$LINENO: checking for __builtin_sqrtl declaration" >&5
50449 echo $ECHO_N "checking for __builtin_sqrtl declaration... $ECHO_C" >&6
50450 if test x${glibcxx_cv_func___builtin_sqrtl_use+set} != xset; then
50451 if test "${glibcxx_cv_func___builtin_sqrtl_use+set}" = set; then
50452 echo $ECHO_N "(cached) $ECHO_C" >&6
50453 else
50454
50455
50456
50457 ac_ext=cc
50458 ac_cpp='$CXXCPP $CPPFLAGS'
50459 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50460 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50461 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50462
50463 cat >conftest.$ac_ext <<_ACEOF
50464 /* confdefs.h. */
50465 _ACEOF
50466 cat confdefs.h >>conftest.$ac_ext
50467 cat >>conftest.$ac_ext <<_ACEOF
50468 /* end confdefs.h. */
50469 #include <math.h>
50470 int
50471 main ()
50472 {
50473 __builtin_sqrtl(0);
50474 ;
50475 return 0;
50476 }
50477 _ACEOF
50478 rm -f conftest.$ac_objext
50479 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50480 (eval $ac_compile) 2>conftest.er1
50481 ac_status=$?
50482 grep -v '^ *+' conftest.er1 >conftest.err
50483 rm -f conftest.er1
50484 cat conftest.err >&5
50485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50486 (exit $ac_status); } &&
50487 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
50488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50489 (eval $ac_try) 2>&5
50490 ac_status=$?
50491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50492 (exit $ac_status); }; } &&
50493 { ac_try='test -s conftest.$ac_objext'
50494 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50495 (eval $ac_try) 2>&5
50496 ac_status=$?
50497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50498 (exit $ac_status); }; }; then
50499 glibcxx_cv_func___builtin_sqrtl_use=yes
50500 else
50501 echo "$as_me: failed program was:" >&5
50502 sed 's/^/| /' conftest.$ac_ext >&5
50503
50504 glibcxx_cv_func___builtin_sqrtl_use=no
50505 fi
50506 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50507 ac_ext=c
50508 ac_cpp='$CPP $CPPFLAGS'
50509 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50510 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50511 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50512
50513
50514 fi
50515
50516 fi
50517 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_use" >&5
50518 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_use" >&6
50519 if test x$glibcxx_cv_func___builtin_sqrtl_use = x"yes"; then
50520 echo "$as_me:$LINENO: checking for __builtin_sqrtl linkage" >&5
50521 echo $ECHO_N "checking for __builtin_sqrtl linkage... $ECHO_C" >&6
50522 if test x${glibcxx_cv_func___builtin_sqrtl_link+set} != xset; then
50523 if test "${glibcxx_cv_func___builtin_sqrtl_link+set}" = set; then
50524 echo $ECHO_N "(cached) $ECHO_C" >&6
50525 else
50526
50527 if test x$gcc_no_link = xyes; then
50528 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50529 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50530 { (exit 1); exit 1; }; }
50531 fi
50532 cat >conftest.$ac_ext <<_ACEOF
50533 /* confdefs.h. */
50534 _ACEOF
50535 cat confdefs.h >>conftest.$ac_ext
50536 cat >>conftest.$ac_ext <<_ACEOF
50537 /* end confdefs.h. */
50538 #include <math.h>
50539 int
50540 main ()
50541 {
50542 __builtin_sqrtl(0);
50543 ;
50544 return 0;
50545 }
50546 _ACEOF
50547 rm -f conftest.$ac_objext conftest$ac_exeext
50548 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50549 (eval $ac_link) 2>conftest.er1
50550 ac_status=$?
50551 grep -v '^ *+' conftest.er1 >conftest.err
50552 rm -f conftest.er1
50553 cat conftest.err >&5
50554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50555 (exit $ac_status); } &&
50556 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
50557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50558 (eval $ac_try) 2>&5
50559 ac_status=$?
50560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50561 (exit $ac_status); }; } &&
50562 { ac_try='test -s conftest$ac_exeext'
50563 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50564 (eval $ac_try) 2>&5
50565 ac_status=$?
50566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50567 (exit $ac_status); }; }; then
50568 glibcxx_cv_func___builtin_sqrtl_link=yes
50569 else
50570 echo "$as_me: failed program was:" >&5
50571 sed 's/^/| /' conftest.$ac_ext >&5
50572
50573 glibcxx_cv_func___builtin_sqrtl_link=no
50574 fi
50575 rm -f conftest.err conftest.$ac_objext \
50576 conftest$ac_exeext conftest.$ac_ext
50577
50578 fi
50579
50580 fi
50581 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_link" >&5
50582 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_link" >&6
50583
50584 if test x$glibcxx_cv_func___builtin_sqrtl_link = x"yes"; then
50585
50586 cat >>confdefs.h <<\_ACEOF
50587 #define HAVE___BUILTIN_SQRTL 1
50588 _ACEOF
50589
50590 fi
50591
50592 fi
50593
50594
50595
50596 echo "$as_me:$LINENO: checking for __builtin_sinf declaration" >&5
50597 echo $ECHO_N "checking for __builtin_sinf declaration... $ECHO_C" >&6
50598 if test x${glibcxx_cv_func___builtin_sinf_use+set} != xset; then
50599 if test "${glibcxx_cv_func___builtin_sinf_use+set}" = set; then
50600 echo $ECHO_N "(cached) $ECHO_C" >&6
50601 else
50602
50603
50604
50605 ac_ext=cc
50606 ac_cpp='$CXXCPP $CPPFLAGS'
50607 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50608 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50609 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50610
50611 cat >conftest.$ac_ext <<_ACEOF
50612 /* confdefs.h. */
50613 _ACEOF
50614 cat confdefs.h >>conftest.$ac_ext
50615 cat >>conftest.$ac_ext <<_ACEOF
50616 /* end confdefs.h. */
50617 #include <math.h>
50618 int
50619 main ()
50620 {
50621 __builtin_sinf(0);
50622 ;
50623 return 0;
50624 }
50625 _ACEOF
50626 rm -f conftest.$ac_objext
50627 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50628 (eval $ac_compile) 2>conftest.er1
50629 ac_status=$?
50630 grep -v '^ *+' conftest.er1 >conftest.err
50631 rm -f conftest.er1
50632 cat conftest.err >&5
50633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50634 (exit $ac_status); } &&
50635 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
50636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50637 (eval $ac_try) 2>&5
50638 ac_status=$?
50639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50640 (exit $ac_status); }; } &&
50641 { ac_try='test -s conftest.$ac_objext'
50642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50643 (eval $ac_try) 2>&5
50644 ac_status=$?
50645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50646 (exit $ac_status); }; }; then
50647 glibcxx_cv_func___builtin_sinf_use=yes
50648 else
50649 echo "$as_me: failed program was:" >&5
50650 sed 's/^/| /' conftest.$ac_ext >&5
50651
50652 glibcxx_cv_func___builtin_sinf_use=no
50653 fi
50654 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50655 ac_ext=c
50656 ac_cpp='$CPP $CPPFLAGS'
50657 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50658 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50659 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50660
50661
50662 fi
50663
50664 fi
50665 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_use" >&5
50666 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_use" >&6
50667 if test x$glibcxx_cv_func___builtin_sinf_use = x"yes"; then
50668 echo "$as_me:$LINENO: checking for __builtin_sinf linkage" >&5
50669 echo $ECHO_N "checking for __builtin_sinf linkage... $ECHO_C" >&6
50670 if test x${glibcxx_cv_func___builtin_sinf_link+set} != xset; then
50671 if test "${glibcxx_cv_func___builtin_sinf_link+set}" = set; then
50672 echo $ECHO_N "(cached) $ECHO_C" >&6
50673 else
50674
50675 if test x$gcc_no_link = xyes; then
50676 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50677 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50678 { (exit 1); exit 1; }; }
50679 fi
50680 cat >conftest.$ac_ext <<_ACEOF
50681 /* confdefs.h. */
50682 _ACEOF
50683 cat confdefs.h >>conftest.$ac_ext
50684 cat >>conftest.$ac_ext <<_ACEOF
50685 /* end confdefs.h. */
50686 #include <math.h>
50687 int
50688 main ()
50689 {
50690 __builtin_sinf(0);
50691 ;
50692 return 0;
50693 }
50694 _ACEOF
50695 rm -f conftest.$ac_objext conftest$ac_exeext
50696 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50697 (eval $ac_link) 2>conftest.er1
50698 ac_status=$?
50699 grep -v '^ *+' conftest.er1 >conftest.err
50700 rm -f conftest.er1
50701 cat conftest.err >&5
50702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50703 (exit $ac_status); } &&
50704 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
50705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50706 (eval $ac_try) 2>&5
50707 ac_status=$?
50708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50709 (exit $ac_status); }; } &&
50710 { ac_try='test -s conftest$ac_exeext'
50711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50712 (eval $ac_try) 2>&5
50713 ac_status=$?
50714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50715 (exit $ac_status); }; }; then
50716 glibcxx_cv_func___builtin_sinf_link=yes
50717 else
50718 echo "$as_me: failed program was:" >&5
50719 sed 's/^/| /' conftest.$ac_ext >&5
50720
50721 glibcxx_cv_func___builtin_sinf_link=no
50722 fi
50723 rm -f conftest.err conftest.$ac_objext \
50724 conftest$ac_exeext conftest.$ac_ext
50725
50726 fi
50727
50728 fi
50729 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_link" >&5
50730 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_link" >&6
50731
50732 if test x$glibcxx_cv_func___builtin_sinf_link = x"yes"; then
50733
50734 cat >>confdefs.h <<\_ACEOF
50735 #define HAVE___BUILTIN_SINF 1
50736 _ACEOF
50737
50738 fi
50739
50740 fi
50741
50742
50743 echo "$as_me:$LINENO: checking for __builtin_sin declaration" >&5
50744 echo $ECHO_N "checking for __builtin_sin declaration... $ECHO_C" >&6
50745 if test x${glibcxx_cv_func___builtin_sin_use+set} != xset; then
50746 if test "${glibcxx_cv_func___builtin_sin_use+set}" = set; then
50747 echo $ECHO_N "(cached) $ECHO_C" >&6
50748 else
50749
50750
50751
50752 ac_ext=cc
50753 ac_cpp='$CXXCPP $CPPFLAGS'
50754 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50755 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50756 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50757
50758 cat >conftest.$ac_ext <<_ACEOF
50759 /* confdefs.h. */
50760 _ACEOF
50761 cat confdefs.h >>conftest.$ac_ext
50762 cat >>conftest.$ac_ext <<_ACEOF
50763 /* end confdefs.h. */
50764 #include <math.h>
50765 int
50766 main ()
50767 {
50768 __builtin_sin(0);
50769 ;
50770 return 0;
50771 }
50772 _ACEOF
50773 rm -f conftest.$ac_objext
50774 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50775 (eval $ac_compile) 2>conftest.er1
50776 ac_status=$?
50777 grep -v '^ *+' conftest.er1 >conftest.err
50778 rm -f conftest.er1
50779 cat conftest.err >&5
50780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50781 (exit $ac_status); } &&
50782 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
50783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50784 (eval $ac_try) 2>&5
50785 ac_status=$?
50786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50787 (exit $ac_status); }; } &&
50788 { ac_try='test -s conftest.$ac_objext'
50789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50790 (eval $ac_try) 2>&5
50791 ac_status=$?
50792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50793 (exit $ac_status); }; }; then
50794 glibcxx_cv_func___builtin_sin_use=yes
50795 else
50796 echo "$as_me: failed program was:" >&5
50797 sed 's/^/| /' conftest.$ac_ext >&5
50798
50799 glibcxx_cv_func___builtin_sin_use=no
50800 fi
50801 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50802 ac_ext=c
50803 ac_cpp='$CPP $CPPFLAGS'
50804 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50805 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50806 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50807
50808
50809 fi
50810
50811 fi
50812 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_use" >&5
50813 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_use" >&6
50814 if test x$glibcxx_cv_func___builtin_sin_use = x"yes"; then
50815 echo "$as_me:$LINENO: checking for __builtin_sin linkage" >&5
50816 echo $ECHO_N "checking for __builtin_sin linkage... $ECHO_C" >&6
50817 if test x${glibcxx_cv_func___builtin_sin_link+set} != xset; then
50818 if test "${glibcxx_cv_func___builtin_sin_link+set}" = set; then
50819 echo $ECHO_N "(cached) $ECHO_C" >&6
50820 else
50821
50822 if test x$gcc_no_link = xyes; then
50823 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50824 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50825 { (exit 1); exit 1; }; }
50826 fi
50827 cat >conftest.$ac_ext <<_ACEOF
50828 /* confdefs.h. */
50829 _ACEOF
50830 cat confdefs.h >>conftest.$ac_ext
50831 cat >>conftest.$ac_ext <<_ACEOF
50832 /* end confdefs.h. */
50833 #include <math.h>
50834 int
50835 main ()
50836 {
50837 __builtin_sin(0);
50838 ;
50839 return 0;
50840 }
50841 _ACEOF
50842 rm -f conftest.$ac_objext conftest$ac_exeext
50843 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50844 (eval $ac_link) 2>conftest.er1
50845 ac_status=$?
50846 grep -v '^ *+' conftest.er1 >conftest.err
50847 rm -f conftest.er1
50848 cat conftest.err >&5
50849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50850 (exit $ac_status); } &&
50851 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
50852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50853 (eval $ac_try) 2>&5
50854 ac_status=$?
50855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50856 (exit $ac_status); }; } &&
50857 { ac_try='test -s conftest$ac_exeext'
50858 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50859 (eval $ac_try) 2>&5
50860 ac_status=$?
50861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50862 (exit $ac_status); }; }; then
50863 glibcxx_cv_func___builtin_sin_link=yes
50864 else
50865 echo "$as_me: failed program was:" >&5
50866 sed 's/^/| /' conftest.$ac_ext >&5
50867
50868 glibcxx_cv_func___builtin_sin_link=no
50869 fi
50870 rm -f conftest.err conftest.$ac_objext \
50871 conftest$ac_exeext conftest.$ac_ext
50872
50873 fi
50874
50875 fi
50876 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_link" >&5
50877 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_link" >&6
50878
50879 if test x$glibcxx_cv_func___builtin_sin_link = x"yes"; then
50880
50881 cat >>confdefs.h <<\_ACEOF
50882 #define HAVE___BUILTIN_SIN 1
50883 _ACEOF
50884
50885 fi
50886
50887 fi
50888
50889
50890 echo "$as_me:$LINENO: checking for __builtin_sinl declaration" >&5
50891 echo $ECHO_N "checking for __builtin_sinl declaration... $ECHO_C" >&6
50892 if test x${glibcxx_cv_func___builtin_sinl_use+set} != xset; then
50893 if test "${glibcxx_cv_func___builtin_sinl_use+set}" = set; then
50894 echo $ECHO_N "(cached) $ECHO_C" >&6
50895 else
50896
50897
50898
50899 ac_ext=cc
50900 ac_cpp='$CXXCPP $CPPFLAGS'
50901 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50902 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50903 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50904
50905 cat >conftest.$ac_ext <<_ACEOF
50906 /* confdefs.h. */
50907 _ACEOF
50908 cat confdefs.h >>conftest.$ac_ext
50909 cat >>conftest.$ac_ext <<_ACEOF
50910 /* end confdefs.h. */
50911 #include <math.h>
50912 int
50913 main ()
50914 {
50915 __builtin_sinl(0);
50916 ;
50917 return 0;
50918 }
50919 _ACEOF
50920 rm -f conftest.$ac_objext
50921 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50922 (eval $ac_compile) 2>conftest.er1
50923 ac_status=$?
50924 grep -v '^ *+' conftest.er1 >conftest.err
50925 rm -f conftest.er1
50926 cat conftest.err >&5
50927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50928 (exit $ac_status); } &&
50929 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
50930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50931 (eval $ac_try) 2>&5
50932 ac_status=$?
50933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50934 (exit $ac_status); }; } &&
50935 { ac_try='test -s conftest.$ac_objext'
50936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50937 (eval $ac_try) 2>&5
50938 ac_status=$?
50939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50940 (exit $ac_status); }; }; then
50941 glibcxx_cv_func___builtin_sinl_use=yes
50942 else
50943 echo "$as_me: failed program was:" >&5
50944 sed 's/^/| /' conftest.$ac_ext >&5
50945
50946 glibcxx_cv_func___builtin_sinl_use=no
50947 fi
50948 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50949 ac_ext=c
50950 ac_cpp='$CPP $CPPFLAGS'
50951 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50952 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50953 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50954
50955
50956 fi
50957
50958 fi
50959 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_use" >&5
50960 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_use" >&6
50961 if test x$glibcxx_cv_func___builtin_sinl_use = x"yes"; then
50962 echo "$as_me:$LINENO: checking for __builtin_sinl linkage" >&5
50963 echo $ECHO_N "checking for __builtin_sinl linkage... $ECHO_C" >&6
50964 if test x${glibcxx_cv_func___builtin_sinl_link+set} != xset; then
50965 if test "${glibcxx_cv_func___builtin_sinl_link+set}" = set; then
50966 echo $ECHO_N "(cached) $ECHO_C" >&6
50967 else
50968
50969 if test x$gcc_no_link = xyes; then
50970 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50971 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50972 { (exit 1); exit 1; }; }
50973 fi
50974 cat >conftest.$ac_ext <<_ACEOF
50975 /* confdefs.h. */
50976 _ACEOF
50977 cat confdefs.h >>conftest.$ac_ext
50978 cat >>conftest.$ac_ext <<_ACEOF
50979 /* end confdefs.h. */
50980 #include <math.h>
50981 int
50982 main ()
50983 {
50984 __builtin_sinl(0);
50985 ;
50986 return 0;
50987 }
50988 _ACEOF
50989 rm -f conftest.$ac_objext conftest$ac_exeext
50990 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50991 (eval $ac_link) 2>conftest.er1
50992 ac_status=$?
50993 grep -v '^ *+' conftest.er1 >conftest.err
50994 rm -f conftest.er1
50995 cat conftest.err >&5
50996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50997 (exit $ac_status); } &&
50998 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
50999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51000 (eval $ac_try) 2>&5
51001 ac_status=$?
51002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51003 (exit $ac_status); }; } &&
51004 { ac_try='test -s conftest$ac_exeext'
51005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51006 (eval $ac_try) 2>&5
51007 ac_status=$?
51008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51009 (exit $ac_status); }; }; then
51010 glibcxx_cv_func___builtin_sinl_link=yes
51011 else
51012 echo "$as_me: failed program was:" >&5
51013 sed 's/^/| /' conftest.$ac_ext >&5
51014
51015 glibcxx_cv_func___builtin_sinl_link=no
51016 fi
51017 rm -f conftest.err conftest.$ac_objext \
51018 conftest$ac_exeext conftest.$ac_ext
51019
51020 fi
51021
51022 fi
51023 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_link" >&5
51024 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_link" >&6
51025
51026 if test x$glibcxx_cv_func___builtin_sinl_link = x"yes"; then
51027
51028 cat >>confdefs.h <<\_ACEOF
51029 #define HAVE___BUILTIN_SINL 1
51030 _ACEOF
51031
51032 fi
51033
51034 fi
51035
51036
51037
51038 echo "$as_me:$LINENO: checking for __builtin_cosf declaration" >&5
51039 echo $ECHO_N "checking for __builtin_cosf declaration... $ECHO_C" >&6
51040 if test x${glibcxx_cv_func___builtin_cosf_use+set} != xset; then
51041 if test "${glibcxx_cv_func___builtin_cosf_use+set}" = set; then
51042 echo $ECHO_N "(cached) $ECHO_C" >&6
51043 else
51044
51045
51046
51047 ac_ext=cc
51048 ac_cpp='$CXXCPP $CPPFLAGS'
51049 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51050 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51051 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51052
51053 cat >conftest.$ac_ext <<_ACEOF
51054 /* confdefs.h. */
51055 _ACEOF
51056 cat confdefs.h >>conftest.$ac_ext
51057 cat >>conftest.$ac_ext <<_ACEOF
51058 /* end confdefs.h. */
51059 #include <math.h>
51060 int
51061 main ()
51062 {
51063 __builtin_cosf(0);
51064 ;
51065 return 0;
51066 }
51067 _ACEOF
51068 rm -f conftest.$ac_objext
51069 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51070 (eval $ac_compile) 2>conftest.er1
51071 ac_status=$?
51072 grep -v '^ *+' conftest.er1 >conftest.err
51073 rm -f conftest.er1
51074 cat conftest.err >&5
51075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51076 (exit $ac_status); } &&
51077 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
51078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51079 (eval $ac_try) 2>&5
51080 ac_status=$?
51081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51082 (exit $ac_status); }; } &&
51083 { ac_try='test -s conftest.$ac_objext'
51084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51085 (eval $ac_try) 2>&5
51086 ac_status=$?
51087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51088 (exit $ac_status); }; }; then
51089 glibcxx_cv_func___builtin_cosf_use=yes
51090 else
51091 echo "$as_me: failed program was:" >&5
51092 sed 's/^/| /' conftest.$ac_ext >&5
51093
51094 glibcxx_cv_func___builtin_cosf_use=no
51095 fi
51096 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51097 ac_ext=c
51098 ac_cpp='$CPP $CPPFLAGS'
51099 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51100 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51101 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51102
51103
51104 fi
51105
51106 fi
51107 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_use" >&5
51108 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_use" >&6
51109 if test x$glibcxx_cv_func___builtin_cosf_use = x"yes"; then
51110 echo "$as_me:$LINENO: checking for __builtin_cosf linkage" >&5
51111 echo $ECHO_N "checking for __builtin_cosf linkage... $ECHO_C" >&6
51112 if test x${glibcxx_cv_func___builtin_cosf_link+set} != xset; then
51113 if test "${glibcxx_cv_func___builtin_cosf_link+set}" = set; then
51114 echo $ECHO_N "(cached) $ECHO_C" >&6
51115 else
51116
51117 if test x$gcc_no_link = xyes; then
51118 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51119 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51120 { (exit 1); exit 1; }; }
51121 fi
51122 cat >conftest.$ac_ext <<_ACEOF
51123 /* confdefs.h. */
51124 _ACEOF
51125 cat confdefs.h >>conftest.$ac_ext
51126 cat >>conftest.$ac_ext <<_ACEOF
51127 /* end confdefs.h. */
51128 #include <math.h>
51129 int
51130 main ()
51131 {
51132 __builtin_cosf(0);
51133 ;
51134 return 0;
51135 }
51136 _ACEOF
51137 rm -f conftest.$ac_objext conftest$ac_exeext
51138 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51139 (eval $ac_link) 2>conftest.er1
51140 ac_status=$?
51141 grep -v '^ *+' conftest.er1 >conftest.err
51142 rm -f conftest.er1
51143 cat conftest.err >&5
51144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51145 (exit $ac_status); } &&
51146 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
51147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51148 (eval $ac_try) 2>&5
51149 ac_status=$?
51150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51151 (exit $ac_status); }; } &&
51152 { ac_try='test -s conftest$ac_exeext'
51153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51154 (eval $ac_try) 2>&5
51155 ac_status=$?
51156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51157 (exit $ac_status); }; }; then
51158 glibcxx_cv_func___builtin_cosf_link=yes
51159 else
51160 echo "$as_me: failed program was:" >&5
51161 sed 's/^/| /' conftest.$ac_ext >&5
51162
51163 glibcxx_cv_func___builtin_cosf_link=no
51164 fi
51165 rm -f conftest.err conftest.$ac_objext \
51166 conftest$ac_exeext conftest.$ac_ext
51167
51168 fi
51169
51170 fi
51171 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_link" >&5
51172 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_link" >&6
51173
51174 if test x$glibcxx_cv_func___builtin_cosf_link = x"yes"; then
51175
51176 cat >>confdefs.h <<\_ACEOF
51177 #define HAVE___BUILTIN_COSF 1
51178 _ACEOF
51179
51180 fi
51181
51182 fi
51183
51184
51185 echo "$as_me:$LINENO: checking for __builtin_cos declaration" >&5
51186 echo $ECHO_N "checking for __builtin_cos declaration... $ECHO_C" >&6
51187 if test x${glibcxx_cv_func___builtin_cos_use+set} != xset; then
51188 if test "${glibcxx_cv_func___builtin_cos_use+set}" = set; then
51189 echo $ECHO_N "(cached) $ECHO_C" >&6
51190 else
51191
51192
51193
51194 ac_ext=cc
51195 ac_cpp='$CXXCPP $CPPFLAGS'
51196 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51197 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51198 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51199
51200 cat >conftest.$ac_ext <<_ACEOF
51201 /* confdefs.h. */
51202 _ACEOF
51203 cat confdefs.h >>conftest.$ac_ext
51204 cat >>conftest.$ac_ext <<_ACEOF
51205 /* end confdefs.h. */
51206 #include <math.h>
51207 int
51208 main ()
51209 {
51210 __builtin_cos(0);
51211 ;
51212 return 0;
51213 }
51214 _ACEOF
51215 rm -f conftest.$ac_objext
51216 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51217 (eval $ac_compile) 2>conftest.er1
51218 ac_status=$?
51219 grep -v '^ *+' conftest.er1 >conftest.err
51220 rm -f conftest.er1
51221 cat conftest.err >&5
51222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51223 (exit $ac_status); } &&
51224 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
51225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51226 (eval $ac_try) 2>&5
51227 ac_status=$?
51228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51229 (exit $ac_status); }; } &&
51230 { ac_try='test -s conftest.$ac_objext'
51231 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51232 (eval $ac_try) 2>&5
51233 ac_status=$?
51234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51235 (exit $ac_status); }; }; then
51236 glibcxx_cv_func___builtin_cos_use=yes
51237 else
51238 echo "$as_me: failed program was:" >&5
51239 sed 's/^/| /' conftest.$ac_ext >&5
51240
51241 glibcxx_cv_func___builtin_cos_use=no
51242 fi
51243 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51244 ac_ext=c
51245 ac_cpp='$CPP $CPPFLAGS'
51246 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51247 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51248 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51249
51250
51251 fi
51252
51253 fi
51254 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_use" >&5
51255 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_use" >&6
51256 if test x$glibcxx_cv_func___builtin_cos_use = x"yes"; then
51257 echo "$as_me:$LINENO: checking for __builtin_cos linkage" >&5
51258 echo $ECHO_N "checking for __builtin_cos linkage... $ECHO_C" >&6
51259 if test x${glibcxx_cv_func___builtin_cos_link+set} != xset; then
51260 if test "${glibcxx_cv_func___builtin_cos_link+set}" = set; then
51261 echo $ECHO_N "(cached) $ECHO_C" >&6
51262 else
51263
51264 if test x$gcc_no_link = xyes; then
51265 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51266 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51267 { (exit 1); exit 1; }; }
51268 fi
51269 cat >conftest.$ac_ext <<_ACEOF
51270 /* confdefs.h. */
51271 _ACEOF
51272 cat confdefs.h >>conftest.$ac_ext
51273 cat >>conftest.$ac_ext <<_ACEOF
51274 /* end confdefs.h. */
51275 #include <math.h>
51276 int
51277 main ()
51278 {
51279 __builtin_cos(0);
51280 ;
51281 return 0;
51282 }
51283 _ACEOF
51284 rm -f conftest.$ac_objext conftest$ac_exeext
51285 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51286 (eval $ac_link) 2>conftest.er1
51287 ac_status=$?
51288 grep -v '^ *+' conftest.er1 >conftest.err
51289 rm -f conftest.er1
51290 cat conftest.err >&5
51291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51292 (exit $ac_status); } &&
51293 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
51294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51295 (eval $ac_try) 2>&5
51296 ac_status=$?
51297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51298 (exit $ac_status); }; } &&
51299 { ac_try='test -s conftest$ac_exeext'
51300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51301 (eval $ac_try) 2>&5
51302 ac_status=$?
51303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51304 (exit $ac_status); }; }; then
51305 glibcxx_cv_func___builtin_cos_link=yes
51306 else
51307 echo "$as_me: failed program was:" >&5
51308 sed 's/^/| /' conftest.$ac_ext >&5
51309
51310 glibcxx_cv_func___builtin_cos_link=no
51311 fi
51312 rm -f conftest.err conftest.$ac_objext \
51313 conftest$ac_exeext conftest.$ac_ext
51314
51315 fi
51316
51317 fi
51318 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_link" >&5
51319 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_link" >&6
51320
51321 if test x$glibcxx_cv_func___builtin_cos_link = x"yes"; then
51322
51323 cat >>confdefs.h <<\_ACEOF
51324 #define HAVE___BUILTIN_COS 1
51325 _ACEOF
51326
51327 fi
51328
51329 fi
51330
51331
51332 echo "$as_me:$LINENO: checking for __builtin_cosl declaration" >&5
51333 echo $ECHO_N "checking for __builtin_cosl declaration... $ECHO_C" >&6
51334 if test x${glibcxx_cv_func___builtin_cosl_use+set} != xset; then
51335 if test "${glibcxx_cv_func___builtin_cosl_use+set}" = set; then
51336 echo $ECHO_N "(cached) $ECHO_C" >&6
51337 else
51338
51339
51340
51341 ac_ext=cc
51342 ac_cpp='$CXXCPP $CPPFLAGS'
51343 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51344 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51345 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51346
51347 cat >conftest.$ac_ext <<_ACEOF
51348 /* confdefs.h. */
51349 _ACEOF
51350 cat confdefs.h >>conftest.$ac_ext
51351 cat >>conftest.$ac_ext <<_ACEOF
51352 /* end confdefs.h. */
51353 #include <math.h>
51354 int
51355 main ()
51356 {
51357 __builtin_cosl(0);
51358 ;
51359 return 0;
51360 }
51361 _ACEOF
51362 rm -f conftest.$ac_objext
51363 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51364 (eval $ac_compile) 2>conftest.er1
51365 ac_status=$?
51366 grep -v '^ *+' conftest.er1 >conftest.err
51367 rm -f conftest.er1
51368 cat conftest.err >&5
51369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51370 (exit $ac_status); } &&
51371 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
51372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51373 (eval $ac_try) 2>&5
51374 ac_status=$?
51375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51376 (exit $ac_status); }; } &&
51377 { ac_try='test -s conftest.$ac_objext'
51378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51379 (eval $ac_try) 2>&5
51380 ac_status=$?
51381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51382 (exit $ac_status); }; }; then
51383 glibcxx_cv_func___builtin_cosl_use=yes
51384 else
51385 echo "$as_me: failed program was:" >&5
51386 sed 's/^/| /' conftest.$ac_ext >&5
51387
51388 glibcxx_cv_func___builtin_cosl_use=no
51389 fi
51390 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51391 ac_ext=c
51392 ac_cpp='$CPP $CPPFLAGS'
51393 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51394 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51395 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51396
51397
51398 fi
51399
51400 fi
51401 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_use" >&5
51402 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_use" >&6
51403 if test x$glibcxx_cv_func___builtin_cosl_use = x"yes"; then
51404 echo "$as_me:$LINENO: checking for __builtin_cosl linkage" >&5
51405 echo $ECHO_N "checking for __builtin_cosl linkage... $ECHO_C" >&6
51406 if test x${glibcxx_cv_func___builtin_cosl_link+set} != xset; then
51407 if test "${glibcxx_cv_func___builtin_cosl_link+set}" = set; then
51408 echo $ECHO_N "(cached) $ECHO_C" >&6
51409 else
51410
51411 if test x$gcc_no_link = xyes; then
51412 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51413 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51414 { (exit 1); exit 1; }; }
51415 fi
51416 cat >conftest.$ac_ext <<_ACEOF
51417 /* confdefs.h. */
51418 _ACEOF
51419 cat confdefs.h >>conftest.$ac_ext
51420 cat >>conftest.$ac_ext <<_ACEOF
51421 /* end confdefs.h. */
51422 #include <math.h>
51423 int
51424 main ()
51425 {
51426 __builtin_cosl(0);
51427 ;
51428 return 0;
51429 }
51430 _ACEOF
51431 rm -f conftest.$ac_objext conftest$ac_exeext
51432 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51433 (eval $ac_link) 2>conftest.er1
51434 ac_status=$?
51435 grep -v '^ *+' conftest.er1 >conftest.err
51436 rm -f conftest.er1
51437 cat conftest.err >&5
51438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51439 (exit $ac_status); } &&
51440 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
51441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51442 (eval $ac_try) 2>&5
51443 ac_status=$?
51444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51445 (exit $ac_status); }; } &&
51446 { ac_try='test -s conftest$ac_exeext'
51447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51448 (eval $ac_try) 2>&5
51449 ac_status=$?
51450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51451 (exit $ac_status); }; }; then
51452 glibcxx_cv_func___builtin_cosl_link=yes
51453 else
51454 echo "$as_me: failed program was:" >&5
51455 sed 's/^/| /' conftest.$ac_ext >&5
51456
51457 glibcxx_cv_func___builtin_cosl_link=no
51458 fi
51459 rm -f conftest.err conftest.$ac_objext \
51460 conftest$ac_exeext conftest.$ac_ext
51461
51462 fi
51463
51464 fi
51465 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_link" >&5
51466 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_link" >&6
51467
51468 if test x$glibcxx_cv_func___builtin_cosl_link = x"yes"; then
51469
51470 cat >>confdefs.h <<\_ACEOF
51471 #define HAVE___BUILTIN_COSL 1
51472 _ACEOF
51473
51474 fi
51475
51476 fi
51477
51478
51479
51480
51481 echo "$as_me:$LINENO: checking for main in -lm" >&5
51482 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
51483 if test "${ac_cv_lib_m_main+set}" = set; then
51484 echo $ECHO_N "(cached) $ECHO_C" >&6
51485 else
51486 ac_check_lib_save_LIBS=$LIBS
51487 LIBS="-lm $LIBS"
51488 if test x$gcc_no_link = xyes; then
51489 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51490 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51491 { (exit 1); exit 1; }; }
51492 fi
51493 cat >conftest.$ac_ext <<_ACEOF
51494 /* confdefs.h. */
51495 _ACEOF
51496 cat confdefs.h >>conftest.$ac_ext
51497 cat >>conftest.$ac_ext <<_ACEOF
51498 /* end confdefs.h. */
51499
51500
51501 int
51502 main ()
51503 {
51504 main ();
51505 ;
51506 return 0;
51507 }
51508 _ACEOF
51509 rm -f conftest.$ac_objext conftest$ac_exeext
51510 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51511 (eval $ac_link) 2>conftest.er1
51512 ac_status=$?
51513 grep -v '^ *+' conftest.er1 >conftest.err
51514 rm -f conftest.er1
51515 cat conftest.err >&5
51516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51517 (exit $ac_status); } &&
51518 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
51519 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51520 (eval $ac_try) 2>&5
51521 ac_status=$?
51522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51523 (exit $ac_status); }; } &&
51524 { ac_try='test -s conftest$ac_exeext'
51525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51526 (eval $ac_try) 2>&5
51527 ac_status=$?
51528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51529 (exit $ac_status); }; }; then
51530 ac_cv_lib_m_main=yes
51531 else
51532 echo "$as_me: failed program was:" >&5
51533 sed 's/^/| /' conftest.$ac_ext >&5
51534
51535 ac_cv_lib_m_main=no
51536 fi
51537 rm -f conftest.err conftest.$ac_objext \
51538 conftest$ac_exeext conftest.$ac_ext
51539 LIBS=$ac_check_lib_save_LIBS
51540 fi
51541 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
51542 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
51543 if test $ac_cv_lib_m_main = yes; then
51544 cat >>confdefs.h <<_ACEOF
51545 #define HAVE_LIBM 1
51546 _ACEOF
51547
51548 LIBS="-lm $LIBS"
51549
51550 fi
51551
51552
51553 for ac_func in copysignf
51554 do
51555 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51556 echo "$as_me:$LINENO: checking for $ac_func" >&5
51557 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
51558 if eval "test \"\${$as_ac_var+set}\" = set"; then
51559 echo $ECHO_N "(cached) $ECHO_C" >&6
51560 else
51561 if test x$gcc_no_link = xyes; then
51562 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51563 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51564 { (exit 1); exit 1; }; }
51565 fi
51566 cat >conftest.$ac_ext <<_ACEOF
51567 /* confdefs.h. */
51568 _ACEOF
51569 cat confdefs.h >>conftest.$ac_ext
51570 cat >>conftest.$ac_ext <<_ACEOF
51571 /* end confdefs.h. */
51572 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
51573 For example, HP-UX 11i <limits.h> declares gettimeofday. */
51574 #define $ac_func innocuous_$ac_func
51575
51576 /* System header to define __stub macros and hopefully few prototypes,
51577 which can conflict with char $ac_func (); below.
51578 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51579 <limits.h> exists even on freestanding compilers. */
51580
51581 #ifdef __STDC__
51582 # include <limits.h>
51583 #else
51584 # include <assert.h>
51585 #endif
51586
51587 #undef $ac_func
51588
51589 /* Override any gcc2 internal prototype to avoid an error. */
51590 #ifdef __cplusplus
51591 extern "C"
51592 {
51593 #endif
51594 /* We use char because int might match the return type of a gcc2
51595 builtin and then its argument prototype would still apply. */
51596 char $ac_func ();
51597 /* The GNU C library defines this for functions which it implements
51598 to always fail with ENOSYS. Some functions are actually named
51599 something starting with __ and the normal name is an alias. */
51600 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
51601 choke me
51602 #else
51603 char (*f) () = $ac_func;
51604 #endif
51605 #ifdef __cplusplus
51606 }
51607 #endif
51608
51609 int
51610 main ()
51611 {
51612 return f != $ac_func;
51613 ;
51614 return 0;
51615 }
51616 _ACEOF
51617 rm -f conftest.$ac_objext conftest$ac_exeext
51618 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51619 (eval $ac_link) 2>conftest.er1
51620 ac_status=$?
51621 grep -v '^ *+' conftest.er1 >conftest.err
51622 rm -f conftest.er1
51623 cat conftest.err >&5
51624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51625 (exit $ac_status); } &&
51626 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
51627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51628 (eval $ac_try) 2>&5
51629 ac_status=$?
51630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51631 (exit $ac_status); }; } &&
51632 { ac_try='test -s conftest$ac_exeext'
51633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51634 (eval $ac_try) 2>&5
51635 ac_status=$?
51636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51637 (exit $ac_status); }; }; then
51638 eval "$as_ac_var=yes"
51639 else
51640 echo "$as_me: failed program was:" >&5
51641 sed 's/^/| /' conftest.$ac_ext >&5
51642
51643 eval "$as_ac_var=no"
51644 fi
51645 rm -f conftest.err conftest.$ac_objext \
51646 conftest$ac_exeext conftest.$ac_ext
51647 fi
51648 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51649 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51650 if test `eval echo '${'$as_ac_var'}'` = yes; then
51651 cat >>confdefs.h <<_ACEOF
51652 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51653 _ACEOF
51654
51655 else
51656 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
51657 fi
51658 done
51659
51660
51661
51662 for ac_func in __signbit
51663 do
51664 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51665 echo "$as_me:$LINENO: checking for $ac_func" >&5
51666 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
51667 if eval "test \"\${$as_ac_var+set}\" = set"; then
51668 echo $ECHO_N "(cached) $ECHO_C" >&6
51669 else
51670 if test x$gcc_no_link = xyes; then
51671 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51672 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51673 { (exit 1); exit 1; }; }
51674 fi
51675 cat >conftest.$ac_ext <<_ACEOF
51676 /* confdefs.h. */
51677 _ACEOF
51678 cat confdefs.h >>conftest.$ac_ext
51679 cat >>conftest.$ac_ext <<_ACEOF
51680 /* end confdefs.h. */
51681 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
51682 For example, HP-UX 11i <limits.h> declares gettimeofday. */
51683 #define $ac_func innocuous_$ac_func
51684
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
51690 #ifdef __STDC__
51691 # include <limits.h>
51692 #else
51693 # include <assert.h>
51694 #endif
51695
51696 #undef $ac_func
51697
51698 /* Override any gcc2 internal prototype to avoid an error. */
51699 #ifdef __cplusplus
51700 extern "C"
51701 {
51702 #endif
51703 /* We use char because int might match the return type of a gcc2
51704 builtin and then its argument prototype would still apply. */
51705 char $ac_func ();
51706 /* The GNU C library defines this for functions which it implements
51707 to always fail with ENOSYS. Some functions are actually named
51708 something starting with __ and the normal name is an alias. */
51709 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
51710 choke me
51711 #else
51712 char (*f) () = $ac_func;
51713 #endif
51714 #ifdef __cplusplus
51715 }
51716 #endif
51717
51718 int
51719 main ()
51720 {
51721 return f != $ac_func;
51722 ;
51723 return 0;
51724 }
51725 _ACEOF
51726 rm -f conftest.$ac_objext conftest$ac_exeext
51727 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51728 (eval $ac_link) 2>conftest.er1
51729 ac_status=$?
51730 grep -v '^ *+' conftest.er1 >conftest.err
51731 rm -f conftest.er1
51732 cat conftest.err >&5
51733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51734 (exit $ac_status); } &&
51735 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
51736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51737 (eval $ac_try) 2>&5
51738 ac_status=$?
51739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51740 (exit $ac_status); }; } &&
51741 { ac_try='test -s conftest$ac_exeext'
51742 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51743 (eval $ac_try) 2>&5
51744 ac_status=$?
51745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51746 (exit $ac_status); }; }; then
51747 eval "$as_ac_var=yes"
51748 else
51749 echo "$as_me: failed program was:" >&5
51750 sed 's/^/| /' conftest.$ac_ext >&5
51751
51752 eval "$as_ac_var=no"
51753 fi
51754 rm -f conftest.err conftest.$ac_objext \
51755 conftest$ac_exeext conftest.$ac_ext
51756 fi
51757 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51758 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51759 if test `eval echo '${'$as_ac_var'}'` = yes; then
51760 cat >>confdefs.h <<_ACEOF
51761 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51762 _ACEOF
51763
51764 else
51765 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
51766 fi
51767 done
51768
51769
51770
51771 for ac_func in __signbitf
51772 do
51773 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51774 echo "$as_me:$LINENO: checking for $ac_func" >&5
51775 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
51776 if eval "test \"\${$as_ac_var+set}\" = set"; then
51777 echo $ECHO_N "(cached) $ECHO_C" >&6
51778 else
51779 if test x$gcc_no_link = xyes; then
51780 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51781 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51782 { (exit 1); exit 1; }; }
51783 fi
51784 cat >conftest.$ac_ext <<_ACEOF
51785 /* confdefs.h. */
51786 _ACEOF
51787 cat confdefs.h >>conftest.$ac_ext
51788 cat >>conftest.$ac_ext <<_ACEOF
51789 /* end confdefs.h. */
51790 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
51791 For example, HP-UX 11i <limits.h> declares gettimeofday. */
51792 #define $ac_func innocuous_$ac_func
51793
51794 /* System header to define __stub macros and hopefully few prototypes,
51795 which can conflict with char $ac_func (); below.
51796 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51797 <limits.h> exists even on freestanding compilers. */
51798
51799 #ifdef __STDC__
51800 # include <limits.h>
51801 #else
51802 # include <assert.h>
51803 #endif
51804
51805 #undef $ac_func
51806
51807 /* Override any gcc2 internal prototype to avoid an error. */
51808 #ifdef __cplusplus
51809 extern "C"
51810 {
51811 #endif
51812 /* We use char because int might match the return type of a gcc2
51813 builtin and then its argument prototype would still apply. */
51814 char $ac_func ();
51815 /* The GNU C library defines this for functions which it implements
51816 to always fail with ENOSYS. Some functions are actually named
51817 something starting with __ and the normal name is an alias. */
51818 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
51819 choke me
51820 #else
51821 char (*f) () = $ac_func;
51822 #endif
51823 #ifdef __cplusplus
51824 }
51825 #endif
51826
51827 int
51828 main ()
51829 {
51830 return f != $ac_func;
51831 ;
51832 return 0;
51833 }
51834 _ACEOF
51835 rm -f conftest.$ac_objext conftest$ac_exeext
51836 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51837 (eval $ac_link) 2>conftest.er1
51838 ac_status=$?
51839 grep -v '^ *+' conftest.er1 >conftest.err
51840 rm -f conftest.er1
51841 cat conftest.err >&5
51842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51843 (exit $ac_status); } &&
51844 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
51845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51846 (eval $ac_try) 2>&5
51847 ac_status=$?
51848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51849 (exit $ac_status); }; } &&
51850 { ac_try='test -s conftest$ac_exeext'
51851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51852 (eval $ac_try) 2>&5
51853 ac_status=$?
51854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51855 (exit $ac_status); }; }; then
51856 eval "$as_ac_var=yes"
51857 else
51858 echo "$as_me: failed program was:" >&5
51859 sed 's/^/| /' conftest.$ac_ext >&5
51860
51861 eval "$as_ac_var=no"
51862 fi
51863 rm -f conftest.err conftest.$ac_objext \
51864 conftest$ac_exeext conftest.$ac_ext
51865 fi
51866 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51867 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51868 if test `eval echo '${'$as_ac_var'}'` = yes; then
51869 cat >>confdefs.h <<_ACEOF
51870 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51871 _ACEOF
51872
51873 else
51874 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
51875 fi
51876 done
51877
51878
51879 if test x$ac_cv_func_copysignl = x"yes"; then
51880
51881 for ac_func in __signbitl
51882 do
51883 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51884 echo "$as_me:$LINENO: checking for $ac_func" >&5
51885 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
51886 if eval "test \"\${$as_ac_var+set}\" = set"; then
51887 echo $ECHO_N "(cached) $ECHO_C" >&6
51888 else
51889 if test x$gcc_no_link = xyes; then
51890 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51891 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51892 { (exit 1); exit 1; }; }
51893 fi
51894 cat >conftest.$ac_ext <<_ACEOF
51895 /* confdefs.h. */
51896 _ACEOF
51897 cat confdefs.h >>conftest.$ac_ext
51898 cat >>conftest.$ac_ext <<_ACEOF
51899 /* end confdefs.h. */
51900 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
51901 For example, HP-UX 11i <limits.h> declares gettimeofday. */
51902 #define $ac_func innocuous_$ac_func
51903
51904 /* System header to define __stub macros and hopefully few prototypes,
51905 which can conflict with char $ac_func (); below.
51906 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51907 <limits.h> exists even on freestanding compilers. */
51908
51909 #ifdef __STDC__
51910 # include <limits.h>
51911 #else
51912 # include <assert.h>
51913 #endif
51914
51915 #undef $ac_func
51916
51917 /* Override any gcc2 internal prototype to avoid an error. */
51918 #ifdef __cplusplus
51919 extern "C"
51920 {
51921 #endif
51922 /* We use char because int might match the return type of a gcc2
51923 builtin and then its argument prototype would still apply. */
51924 char $ac_func ();
51925 /* The GNU C library defines this for functions which it implements
51926 to always fail with ENOSYS. Some functions are actually named
51927 something starting with __ and the normal name is an alias. */
51928 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
51929 choke me
51930 #else
51931 char (*f) () = $ac_func;
51932 #endif
51933 #ifdef __cplusplus
51934 }
51935 #endif
51936
51937 int
51938 main ()
51939 {
51940 return f != $ac_func;
51941 ;
51942 return 0;
51943 }
51944 _ACEOF
51945 rm -f conftest.$ac_objext conftest$ac_exeext
51946 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51947 (eval $ac_link) 2>conftest.er1
51948 ac_status=$?
51949 grep -v '^ *+' conftest.er1 >conftest.err
51950 rm -f conftest.er1
51951 cat conftest.err >&5
51952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51953 (exit $ac_status); } &&
51954 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
51955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51956 (eval $ac_try) 2>&5
51957 ac_status=$?
51958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51959 (exit $ac_status); }; } &&
51960 { ac_try='test -s conftest$ac_exeext'
51961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51962 (eval $ac_try) 2>&5
51963 ac_status=$?
51964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51965 (exit $ac_status); }; }; then
51966 eval "$as_ac_var=yes"
51967 else
51968 echo "$as_me: failed program was:" >&5
51969 sed 's/^/| /' conftest.$ac_ext >&5
51970
51971 eval "$as_ac_var=no"
51972 fi
51973 rm -f conftest.err conftest.$ac_objext \
51974 conftest$ac_exeext conftest.$ac_ext
51975 fi
51976 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51977 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51978 if test `eval echo '${'$as_ac_var'}'` = yes; then
51979 cat >>confdefs.h <<_ACEOF
51980 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51981 _ACEOF
51982
51983 else
51984 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
51985 fi
51986 done
51987
51988 fi
51989
51990 # Used in libmath/Makefile.am.
51991 if test -n "$LIBMATHOBJS"; then
51992 need_libmath=yes
51993 fi
51994
51995
51996
51997
51998 enable_iconv=no
51999 # Only continue checking if the ISO C99 headers exist and support is on.
52000 if test x"$enable_wchar_t" = xyes; then
52001
52002 # Use iconv for wchar_t to char conversions. As such, check for
52003 # X/Open Portability Guide, version 2 features (XPG2).
52004 if test "${ac_cv_header_iconv_h+set}" = set; then
52005 echo "$as_me:$LINENO: checking for iconv.h" >&5
52006 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
52007 if test "${ac_cv_header_iconv_h+set}" = set; then
52008 echo $ECHO_N "(cached) $ECHO_C" >&6
52009 fi
52010 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
52011 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
52012 else
52013 # Is the header compilable?
52014 echo "$as_me:$LINENO: checking iconv.h usability" >&5
52015 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
52016 cat >conftest.$ac_ext <<_ACEOF
52017 /* confdefs.h. */
52018 _ACEOF
52019 cat confdefs.h >>conftest.$ac_ext
52020 cat >>conftest.$ac_ext <<_ACEOF
52021 /* end confdefs.h. */
52022 $ac_includes_default
52023 #include <iconv.h>
52024 _ACEOF
52025 rm -f conftest.$ac_objext
52026 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52027 (eval $ac_compile) 2>conftest.er1
52028 ac_status=$?
52029 grep -v '^ *+' conftest.er1 >conftest.err
52030 rm -f conftest.er1
52031 cat conftest.err >&5
52032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52033 (exit $ac_status); } &&
52034 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
52035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52036 (eval $ac_try) 2>&5
52037 ac_status=$?
52038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52039 (exit $ac_status); }; } &&
52040 { ac_try='test -s conftest.$ac_objext'
52041 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52042 (eval $ac_try) 2>&5
52043 ac_status=$?
52044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52045 (exit $ac_status); }; }; then
52046 ac_header_compiler=yes
52047 else
52048 echo "$as_me: failed program was:" >&5
52049 sed 's/^/| /' conftest.$ac_ext >&5
52050
52051 ac_header_compiler=no
52052 fi
52053 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52054 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
52055 echo "${ECHO_T}$ac_header_compiler" >&6
52056
52057 # Is the header present?
52058 echo "$as_me:$LINENO: checking iconv.h presence" >&5
52059 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
52060 cat >conftest.$ac_ext <<_ACEOF
52061 /* confdefs.h. */
52062 _ACEOF
52063 cat confdefs.h >>conftest.$ac_ext
52064 cat >>conftest.$ac_ext <<_ACEOF
52065 /* end confdefs.h. */
52066 #include <iconv.h>
52067 _ACEOF
52068 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
52069 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
52070 ac_status=$?
52071 grep -v '^ *+' conftest.er1 >conftest.err
52072 rm -f conftest.er1
52073 cat conftest.err >&5
52074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52075 (exit $ac_status); } >/dev/null; then
52076 if test -s conftest.err; then
52077 ac_cpp_err=$ac_c_preproc_warn_flag
52078 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
52079 else
52080 ac_cpp_err=
52081 fi
52082 else
52083 ac_cpp_err=yes
52084 fi
52085 if test -z "$ac_cpp_err"; then
52086 ac_header_preproc=yes
52087 else
52088 echo "$as_me: failed program was:" >&5
52089 sed 's/^/| /' conftest.$ac_ext >&5
52090
52091 ac_header_preproc=no
52092 fi
52093 rm -f conftest.err conftest.$ac_ext
52094 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
52095 echo "${ECHO_T}$ac_header_preproc" >&6
52096
52097 # So? What about this header?
52098 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
52099 yes:no: )
52100 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
52101 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
52102 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
52103 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
52104 ac_header_preproc=yes
52105 ;;
52106 no:yes:* )
52107 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
52108 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
52109 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
52110 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
52111 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
52112 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
52113 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
52114 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
52115 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
52116 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
52117 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
52118 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
52119 (
52120 cat <<\_ASBOX
52121 ## ----------------------------------------- ##
52122 ## Report this to the package-unused lists. ##
52123 ## ----------------------------------------- ##
52124 _ASBOX
52125 ) |
52126 sed "s/^/$as_me: WARNING: /" >&2
52127 ;;
52128 esac
52129 echo "$as_me:$LINENO: checking for iconv.h" >&5
52130 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
52131 if test "${ac_cv_header_iconv_h+set}" = set; then
52132 echo $ECHO_N "(cached) $ECHO_C" >&6
52133 else
52134 ac_cv_header_iconv_h=$ac_header_preproc
52135 fi
52136 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
52137 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
52138
52139 fi
52140 if test $ac_cv_header_iconv_h = yes; then
52141 ac_has_iconv_h=yes
52142 else
52143 ac_has_iconv_h=no
52144 fi
52145
52146
52147 if test "${ac_cv_header_langinfo_h+set}" = set; then
52148 echo "$as_me:$LINENO: checking for langinfo.h" >&5
52149 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
52150 if test "${ac_cv_header_langinfo_h+set}" = set; then
52151 echo $ECHO_N "(cached) $ECHO_C" >&6
52152 fi
52153 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
52154 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
52155 else
52156 # Is the header compilable?
52157 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
52158 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
52159 cat >conftest.$ac_ext <<_ACEOF
52160 /* confdefs.h. */
52161 _ACEOF
52162 cat confdefs.h >>conftest.$ac_ext
52163 cat >>conftest.$ac_ext <<_ACEOF
52164 /* end confdefs.h. */
52165 $ac_includes_default
52166 #include <langinfo.h>
52167 _ACEOF
52168 rm -f conftest.$ac_objext
52169 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52170 (eval $ac_compile) 2>conftest.er1
52171 ac_status=$?
52172 grep -v '^ *+' conftest.er1 >conftest.err
52173 rm -f conftest.er1
52174 cat conftest.err >&5
52175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52176 (exit $ac_status); } &&
52177 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
52178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52179 (eval $ac_try) 2>&5
52180 ac_status=$?
52181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52182 (exit $ac_status); }; } &&
52183 { ac_try='test -s conftest.$ac_objext'
52184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52185 (eval $ac_try) 2>&5
52186 ac_status=$?
52187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52188 (exit $ac_status); }; }; then
52189 ac_header_compiler=yes
52190 else
52191 echo "$as_me: failed program was:" >&5
52192 sed 's/^/| /' conftest.$ac_ext >&5
52193
52194 ac_header_compiler=no
52195 fi
52196 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52197 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
52198 echo "${ECHO_T}$ac_header_compiler" >&6
52199
52200 # Is the header present?
52201 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
52202 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
52203 cat >conftest.$ac_ext <<_ACEOF
52204 /* confdefs.h. */
52205 _ACEOF
52206 cat confdefs.h >>conftest.$ac_ext
52207 cat >>conftest.$ac_ext <<_ACEOF
52208 /* end confdefs.h. */
52209 #include <langinfo.h>
52210 _ACEOF
52211 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
52212 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
52213 ac_status=$?
52214 grep -v '^ *+' conftest.er1 >conftest.err
52215 rm -f conftest.er1
52216 cat conftest.err >&5
52217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52218 (exit $ac_status); } >/dev/null; then
52219 if test -s conftest.err; then
52220 ac_cpp_err=$ac_c_preproc_warn_flag
52221 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
52222 else
52223 ac_cpp_err=
52224 fi
52225 else
52226 ac_cpp_err=yes
52227 fi
52228 if test -z "$ac_cpp_err"; then
52229 ac_header_preproc=yes
52230 else
52231 echo "$as_me: failed program was:" >&5
52232 sed 's/^/| /' conftest.$ac_ext >&5
52233
52234 ac_header_preproc=no
52235 fi
52236 rm -f conftest.err conftest.$ac_ext
52237 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
52238 echo "${ECHO_T}$ac_header_preproc" >&6
52239
52240 # So? What about this header?
52241 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
52242 yes:no: )
52243 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
52244 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
52245 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
52246 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
52247 ac_header_preproc=yes
52248 ;;
52249 no:yes:* )
52250 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
52251 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
52252 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
52253 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
52254 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
52255 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
52256 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
52257 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
52258 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
52259 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
52260 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
52261 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
52262 (
52263 cat <<\_ASBOX
52264 ## ----------------------------------------- ##
52265 ## Report this to the package-unused lists. ##
52266 ## ----------------------------------------- ##
52267 _ASBOX
52268 ) |
52269 sed "s/^/$as_me: WARNING: /" >&2
52270 ;;
52271 esac
52272 echo "$as_me:$LINENO: checking for langinfo.h" >&5
52273 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
52274 if test "${ac_cv_header_langinfo_h+set}" = set; then
52275 echo $ECHO_N "(cached) $ECHO_C" >&6
52276 else
52277 ac_cv_header_langinfo_h=$ac_header_preproc
52278 fi
52279 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
52280 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
52281
52282 fi
52283 if test $ac_cv_header_langinfo_h = yes; then
52284 ac_has_langinfo_h=yes
52285 else
52286 ac_has_langinfo_h=no
52287 fi
52288
52289
52290
52291 # Check for existence of libiconv.a providing XPG2 wchar_t support.
52292 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
52293 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
52294 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
52295 echo $ECHO_N "(cached) $ECHO_C" >&6
52296 else
52297 ac_check_lib_save_LIBS=$LIBS
52298 LIBS="-liconv $LIBS"
52299 if test x$gcc_no_link = xyes; then
52300 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52301 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52302 { (exit 1); exit 1; }; }
52303 fi
52304 cat >conftest.$ac_ext <<_ACEOF
52305 /* confdefs.h. */
52306 _ACEOF
52307 cat confdefs.h >>conftest.$ac_ext
52308 cat >>conftest.$ac_ext <<_ACEOF
52309 /* end confdefs.h. */
52310
52311 /* Override any gcc2 internal prototype to avoid an error. */
52312 #ifdef __cplusplus
52313 extern "C"
52314 #endif
52315 /* We use char because int might match the return type of a gcc2
52316 builtin and then its argument prototype would still apply. */
52317 char iconv ();
52318 int
52319 main ()
52320 {
52321 iconv ();
52322 ;
52323 return 0;
52324 }
52325 _ACEOF
52326 rm -f conftest.$ac_objext conftest$ac_exeext
52327 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52328 (eval $ac_link) 2>conftest.er1
52329 ac_status=$?
52330 grep -v '^ *+' conftest.er1 >conftest.err
52331 rm -f conftest.er1
52332 cat conftest.err >&5
52333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52334 (exit $ac_status); } &&
52335 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
52336 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52337 (eval $ac_try) 2>&5
52338 ac_status=$?
52339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52340 (exit $ac_status); }; } &&
52341 { ac_try='test -s conftest$ac_exeext'
52342 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52343 (eval $ac_try) 2>&5
52344 ac_status=$?
52345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52346 (exit $ac_status); }; }; then
52347 ac_cv_lib_iconv_iconv=yes
52348 else
52349 echo "$as_me: failed program was:" >&5
52350 sed 's/^/| /' conftest.$ac_ext >&5
52351
52352 ac_cv_lib_iconv_iconv=no
52353 fi
52354 rm -f conftest.err conftest.$ac_objext \
52355 conftest$ac_exeext conftest.$ac_ext
52356 LIBS=$ac_check_lib_save_LIBS
52357 fi
52358 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
52359 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
52360 if test $ac_cv_lib_iconv_iconv = yes; then
52361 LIBICONV="-liconv"
52362 fi
52363
52364 ac_save_LIBS="$LIBS"
52365 LIBS="$LIBS $LIBICONV"
52366
52367
52368
52369
52370
52371
52372 for ac_func in iconv_open iconv_close iconv nl_langinfo
52373 do
52374 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52375 echo "$as_me:$LINENO: checking for $ac_func" >&5
52376 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52377 if eval "test \"\${$as_ac_var+set}\" = set"; then
52378 echo $ECHO_N "(cached) $ECHO_C" >&6
52379 else
52380 if test x$gcc_no_link = xyes; then
52381 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52382 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52383 { (exit 1); exit 1; }; }
52384 fi
52385 cat >conftest.$ac_ext <<_ACEOF
52386 /* confdefs.h. */
52387 _ACEOF
52388 cat confdefs.h >>conftest.$ac_ext
52389 cat >>conftest.$ac_ext <<_ACEOF
52390 /* end confdefs.h. */
52391 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
52392 For example, HP-UX 11i <limits.h> declares gettimeofday. */
52393 #define $ac_func innocuous_$ac_func
52394
52395 /* System header to define __stub macros and hopefully few prototypes,
52396 which can conflict with char $ac_func (); below.
52397 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52398 <limits.h> exists even on freestanding compilers. */
52399
52400 #ifdef __STDC__
52401 # include <limits.h>
52402 #else
52403 # include <assert.h>
52404 #endif
52405
52406 #undef $ac_func
52407
52408 /* Override any gcc2 internal prototype to avoid an error. */
52409 #ifdef __cplusplus
52410 extern "C"
52411 {
52412 #endif
52413 /* We use char because int might match the return type of a gcc2
52414 builtin and then its argument prototype would still apply. */
52415 char $ac_func ();
52416 /* The GNU C library defines this for functions which it implements
52417 to always fail with ENOSYS. Some functions are actually named
52418 something starting with __ and the normal name is an alias. */
52419 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52420 choke me
52421 #else
52422 char (*f) () = $ac_func;
52423 #endif
52424 #ifdef __cplusplus
52425 }
52426 #endif
52427
52428 int
52429 main ()
52430 {
52431 return f != $ac_func;
52432 ;
52433 return 0;
52434 }
52435 _ACEOF
52436 rm -f conftest.$ac_objext conftest$ac_exeext
52437 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52438 (eval $ac_link) 2>conftest.er1
52439 ac_status=$?
52440 grep -v '^ *+' conftest.er1 >conftest.err
52441 rm -f conftest.er1
52442 cat conftest.err >&5
52443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52444 (exit $ac_status); } &&
52445 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
52446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52447 (eval $ac_try) 2>&5
52448 ac_status=$?
52449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52450 (exit $ac_status); }; } &&
52451 { ac_try='test -s conftest$ac_exeext'
52452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52453 (eval $ac_try) 2>&5
52454 ac_status=$?
52455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52456 (exit $ac_status); }; }; then
52457 eval "$as_ac_var=yes"
52458 else
52459 echo "$as_me: failed program was:" >&5
52460 sed 's/^/| /' conftest.$ac_ext >&5
52461
52462 eval "$as_ac_var=no"
52463 fi
52464 rm -f conftest.err conftest.$ac_objext \
52465 conftest$ac_exeext conftest.$ac_ext
52466 fi
52467 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52468 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52469 if test `eval echo '${'$as_ac_var'}'` = yes; then
52470 cat >>confdefs.h <<_ACEOF
52471 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52472 _ACEOF
52473 ac_XPG2funcs=yes
52474 else
52475 ac_XPG2funcs=no
52476 fi
52477 done
52478
52479
52480 LIBS="$ac_save_LIBS"
52481
52482 if test x"$ac_has_iconv_h" = xyes &&
52483 test x"$ac_has_langinfo_h" = xyes &&
52484 test x"$ac_XPG2funcs" = xyes;
52485 then
52486
52487 cat >>confdefs.h <<\_ACEOF
52488 #define _GLIBCXX_USE_ICONV 1
52489 _ACEOF
52490
52491 enable_iconv=yes
52492 fi
52493 fi
52494 echo "$as_me:$LINENO: checking for enabled iconv specializations" >&5
52495 echo $ECHO_N "checking for enabled iconv specializations... $ECHO_C" >&6
52496 echo "$as_me:$LINENO: result: $enable_iconv" >&5
52497 echo "${ECHO_T}$enable_iconv" >&6
52498
52499
52500 ac_test_CXXFLAGS="${CXXFLAGS+set}"
52501 ac_save_CXXFLAGS="$CXXFLAGS"
52502 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
52503
52504
52505 echo "$as_me:$LINENO: checking for strtold declaration" >&5
52506 echo $ECHO_N "checking for strtold declaration... $ECHO_C" >&6
52507 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
52508 if test "${glibcxx_cv_func_strtold_use+set}" = set; then
52509 echo $ECHO_N "(cached) $ECHO_C" >&6
52510 else
52511
52512
52513
52514 ac_ext=cc
52515 ac_cpp='$CXXCPP $CPPFLAGS'
52516 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52517 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52518 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52519
52520 cat >conftest.$ac_ext <<_ACEOF
52521 /* confdefs.h. */
52522 _ACEOF
52523 cat confdefs.h >>conftest.$ac_ext
52524 cat >>conftest.$ac_ext <<_ACEOF
52525 /* end confdefs.h. */
52526 #include <stdlib.h>
52527 int
52528 main ()
52529 {
52530 strtold(0, 0);
52531 ;
52532 return 0;
52533 }
52534 _ACEOF
52535 rm -f conftest.$ac_objext
52536 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52537 (eval $ac_compile) 2>conftest.er1
52538 ac_status=$?
52539 grep -v '^ *+' conftest.er1 >conftest.err
52540 rm -f conftest.er1
52541 cat conftest.err >&5
52542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52543 (exit $ac_status); } &&
52544 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
52545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52546 (eval $ac_try) 2>&5
52547 ac_status=$?
52548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52549 (exit $ac_status); }; } &&
52550 { ac_try='test -s conftest.$ac_objext'
52551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52552 (eval $ac_try) 2>&5
52553 ac_status=$?
52554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52555 (exit $ac_status); }; }; then
52556 glibcxx_cv_func_strtold_use=yes
52557 else
52558 echo "$as_me: failed program was:" >&5
52559 sed 's/^/| /' conftest.$ac_ext >&5
52560
52561 glibcxx_cv_func_strtold_use=no
52562 fi
52563 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52564 ac_ext=c
52565 ac_cpp='$CPP $CPPFLAGS'
52566 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52567 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52568 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52569
52570
52571 fi
52572
52573 fi
52574 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtold_use" >&5
52575 echo "${ECHO_T}$glibcxx_cv_func_strtold_use" >&6
52576 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
52577
52578 for ac_func in strtold
52579 do
52580 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52581 echo "$as_me:$LINENO: checking for $ac_func" >&5
52582 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52583 if eval "test \"\${$as_ac_var+set}\" = set"; then
52584 echo $ECHO_N "(cached) $ECHO_C" >&6
52585 else
52586 if test x$gcc_no_link = xyes; then
52587 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52588 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52589 { (exit 1); exit 1; }; }
52590 fi
52591 cat >conftest.$ac_ext <<_ACEOF
52592 /* confdefs.h. */
52593 _ACEOF
52594 cat confdefs.h >>conftest.$ac_ext
52595 cat >>conftest.$ac_ext <<_ACEOF
52596 /* end confdefs.h. */
52597 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
52598 For example, HP-UX 11i <limits.h> declares gettimeofday. */
52599 #define $ac_func innocuous_$ac_func
52600
52601 /* System header to define __stub macros and hopefully few prototypes,
52602 which can conflict with char $ac_func (); below.
52603 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52604 <limits.h> exists even on freestanding compilers. */
52605
52606 #ifdef __STDC__
52607 # include <limits.h>
52608 #else
52609 # include <assert.h>
52610 #endif
52611
52612 #undef $ac_func
52613
52614 /* Override any gcc2 internal prototype to avoid an error. */
52615 #ifdef __cplusplus
52616 extern "C"
52617 {
52618 #endif
52619 /* We use char because int might match the return type of a gcc2
52620 builtin and then its argument prototype would still apply. */
52621 char $ac_func ();
52622 /* The GNU C library defines this for functions which it implements
52623 to always fail with ENOSYS. Some functions are actually named
52624 something starting with __ and the normal name is an alias. */
52625 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52626 choke me
52627 #else
52628 char (*f) () = $ac_func;
52629 #endif
52630 #ifdef __cplusplus
52631 }
52632 #endif
52633
52634 int
52635 main ()
52636 {
52637 return f != $ac_func;
52638 ;
52639 return 0;
52640 }
52641 _ACEOF
52642 rm -f conftest.$ac_objext conftest$ac_exeext
52643 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52644 (eval $ac_link) 2>conftest.er1
52645 ac_status=$?
52646 grep -v '^ *+' conftest.er1 >conftest.err
52647 rm -f conftest.er1
52648 cat conftest.err >&5
52649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52650 (exit $ac_status); } &&
52651 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
52652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52653 (eval $ac_try) 2>&5
52654 ac_status=$?
52655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52656 (exit $ac_status); }; } &&
52657 { ac_try='test -s conftest$ac_exeext'
52658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52659 (eval $ac_try) 2>&5
52660 ac_status=$?
52661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52662 (exit $ac_status); }; }; then
52663 eval "$as_ac_var=yes"
52664 else
52665 echo "$as_me: failed program was:" >&5
52666 sed 's/^/| /' conftest.$ac_ext >&5
52667
52668 eval "$as_ac_var=no"
52669 fi
52670 rm -f conftest.err conftest.$ac_objext \
52671 conftest$ac_exeext conftest.$ac_ext
52672 fi
52673 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52674 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52675 if test `eval echo '${'$as_ac_var'}'` = yes; then
52676 cat >>confdefs.h <<_ACEOF
52677 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52678 _ACEOF
52679
52680 fi
52681 done
52682
52683 fi
52684
52685
52686
52687
52688
52689 echo "$as_me:$LINENO: checking for strtof declaration" >&5
52690 echo $ECHO_N "checking for strtof declaration... $ECHO_C" >&6
52691 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
52692 if test "${glibcxx_cv_func_strtof_use+set}" = set; then
52693 echo $ECHO_N "(cached) $ECHO_C" >&6
52694 else
52695
52696
52697
52698 ac_ext=cc
52699 ac_cpp='$CXXCPP $CPPFLAGS'
52700 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52701 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52702 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52703
52704 cat >conftest.$ac_ext <<_ACEOF
52705 /* confdefs.h. */
52706 _ACEOF
52707 cat confdefs.h >>conftest.$ac_ext
52708 cat >>conftest.$ac_ext <<_ACEOF
52709 /* end confdefs.h. */
52710 #include <stdlib.h>
52711 int
52712 main ()
52713 {
52714 strtof(0, 0);
52715 ;
52716 return 0;
52717 }
52718 _ACEOF
52719 rm -f conftest.$ac_objext
52720 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52721 (eval $ac_compile) 2>conftest.er1
52722 ac_status=$?
52723 grep -v '^ *+' conftest.er1 >conftest.err
52724 rm -f conftest.er1
52725 cat conftest.err >&5
52726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52727 (exit $ac_status); } &&
52728 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
52729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52730 (eval $ac_try) 2>&5
52731 ac_status=$?
52732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52733 (exit $ac_status); }; } &&
52734 { ac_try='test -s conftest.$ac_objext'
52735 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52736 (eval $ac_try) 2>&5
52737 ac_status=$?
52738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52739 (exit $ac_status); }; }; then
52740 glibcxx_cv_func_strtof_use=yes
52741 else
52742 echo "$as_me: failed program was:" >&5
52743 sed 's/^/| /' conftest.$ac_ext >&5
52744
52745 glibcxx_cv_func_strtof_use=no
52746 fi
52747 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52748 ac_ext=c
52749 ac_cpp='$CPP $CPPFLAGS'
52750 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52751 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52752 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52753
52754
52755 fi
52756
52757 fi
52758 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtof_use" >&5
52759 echo "${ECHO_T}$glibcxx_cv_func_strtof_use" >&6
52760 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
52761
52762 for ac_func in strtof
52763 do
52764 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52765 echo "$as_me:$LINENO: checking for $ac_func" >&5
52766 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52767 if eval "test \"\${$as_ac_var+set}\" = set"; then
52768 echo $ECHO_N "(cached) $ECHO_C" >&6
52769 else
52770 if test x$gcc_no_link = xyes; then
52771 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52772 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52773 { (exit 1); exit 1; }; }
52774 fi
52775 cat >conftest.$ac_ext <<_ACEOF
52776 /* confdefs.h. */
52777 _ACEOF
52778 cat confdefs.h >>conftest.$ac_ext
52779 cat >>conftest.$ac_ext <<_ACEOF
52780 /* end confdefs.h. */
52781 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
52782 For example, HP-UX 11i <limits.h> declares gettimeofday. */
52783 #define $ac_func innocuous_$ac_func
52784
52785 /* System header to define __stub macros and hopefully few prototypes,
52786 which can conflict with char $ac_func (); below.
52787 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52788 <limits.h> exists even on freestanding compilers. */
52789
52790 #ifdef __STDC__
52791 # include <limits.h>
52792 #else
52793 # include <assert.h>
52794 #endif
52795
52796 #undef $ac_func
52797
52798 /* Override any gcc2 internal prototype to avoid an error. */
52799 #ifdef __cplusplus
52800 extern "C"
52801 {
52802 #endif
52803 /* We use char because int might match the return type of a gcc2
52804 builtin and then its argument prototype would still apply. */
52805 char $ac_func ();
52806 /* The GNU C library defines this for functions which it implements
52807 to always fail with ENOSYS. Some functions are actually named
52808 something starting with __ and the normal name is an alias. */
52809 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52810 choke me
52811 #else
52812 char (*f) () = $ac_func;
52813 #endif
52814 #ifdef __cplusplus
52815 }
52816 #endif
52817
52818 int
52819 main ()
52820 {
52821 return f != $ac_func;
52822 ;
52823 return 0;
52824 }
52825 _ACEOF
52826 rm -f conftest.$ac_objext conftest$ac_exeext
52827 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52828 (eval $ac_link) 2>conftest.er1
52829 ac_status=$?
52830 grep -v '^ *+' conftest.er1 >conftest.err
52831 rm -f conftest.er1
52832 cat conftest.err >&5
52833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52834 (exit $ac_status); } &&
52835 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
52836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52837 (eval $ac_try) 2>&5
52838 ac_status=$?
52839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52840 (exit $ac_status); }; } &&
52841 { ac_try='test -s conftest$ac_exeext'
52842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52843 (eval $ac_try) 2>&5
52844 ac_status=$?
52845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52846 (exit $ac_status); }; }; then
52847 eval "$as_ac_var=yes"
52848 else
52849 echo "$as_me: failed program was:" >&5
52850 sed 's/^/| /' conftest.$ac_ext >&5
52851
52852 eval "$as_ac_var=no"
52853 fi
52854 rm -f conftest.err conftest.$ac_objext \
52855 conftest$ac_exeext conftest.$ac_ext
52856 fi
52857 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52858 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52859 if test `eval echo '${'$as_ac_var'}'` = yes; then
52860 cat >>confdefs.h <<_ACEOF
52861 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52862 _ACEOF
52863
52864 fi
52865 done
52866
52867 fi
52868
52869
52870
52871
52872
52873 CXXFLAGS="$ac_save_CXXFLAGS"
52874
52875
52876 # For showmanyc_helper().
52877
52878
52879 for ac_header in sys/ioctl.h sys/filio.h
52880 do
52881 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
52882 if eval "test \"\${$as_ac_Header+set}\" = set"; then
52883 echo "$as_me:$LINENO: checking for $ac_header" >&5
52884 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
52885 if eval "test \"\${$as_ac_Header+set}\" = set"; then
52886 echo $ECHO_N "(cached) $ECHO_C" >&6
52887 fi
52888 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
52889 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
52890 else
52891 # Is the header compilable?
52892 echo "$as_me:$LINENO: checking $ac_header usability" >&5
52893 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
52894 cat >conftest.$ac_ext <<_ACEOF
52895 /* confdefs.h. */
52896 _ACEOF
52897 cat confdefs.h >>conftest.$ac_ext
52898 cat >>conftest.$ac_ext <<_ACEOF
52899 /* end confdefs.h. */
52900 $ac_includes_default
52901 #include <$ac_header>
52902 _ACEOF
52903 rm -f conftest.$ac_objext
52904 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52905 (eval $ac_compile) 2>conftest.er1
52906 ac_status=$?
52907 grep -v '^ *+' conftest.er1 >conftest.err
52908 rm -f conftest.er1
52909 cat conftest.err >&5
52910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52911 (exit $ac_status); } &&
52912 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
52913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52914 (eval $ac_try) 2>&5
52915 ac_status=$?
52916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52917 (exit $ac_status); }; } &&
52918 { ac_try='test -s conftest.$ac_objext'
52919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52920 (eval $ac_try) 2>&5
52921 ac_status=$?
52922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52923 (exit $ac_status); }; }; then
52924 ac_header_compiler=yes
52925 else
52926 echo "$as_me: failed program was:" >&5
52927 sed 's/^/| /' conftest.$ac_ext >&5
52928
52929 ac_header_compiler=no
52930 fi
52931 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52932 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
52933 echo "${ECHO_T}$ac_header_compiler" >&6
52934
52935 # Is the header present?
52936 echo "$as_me:$LINENO: checking $ac_header presence" >&5
52937 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
52938 cat >conftest.$ac_ext <<_ACEOF
52939 /* confdefs.h. */
52940 _ACEOF
52941 cat confdefs.h >>conftest.$ac_ext
52942 cat >>conftest.$ac_ext <<_ACEOF
52943 /* end confdefs.h. */
52944 #include <$ac_header>
52945 _ACEOF
52946 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
52947 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
52948 ac_status=$?
52949 grep -v '^ *+' conftest.er1 >conftest.err
52950 rm -f conftest.er1
52951 cat conftest.err >&5
52952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52953 (exit $ac_status); } >/dev/null; then
52954 if test -s conftest.err; then
52955 ac_cpp_err=$ac_c_preproc_warn_flag
52956 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
52957 else
52958 ac_cpp_err=
52959 fi
52960 else
52961 ac_cpp_err=yes
52962 fi
52963 if test -z "$ac_cpp_err"; then
52964 ac_header_preproc=yes
52965 else
52966 echo "$as_me: failed program was:" >&5
52967 sed 's/^/| /' conftest.$ac_ext >&5
52968
52969 ac_header_preproc=no
52970 fi
52971 rm -f conftest.err conftest.$ac_ext
52972 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
52973 echo "${ECHO_T}$ac_header_preproc" >&6
52974
52975 # So? What about this header?
52976 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
52977 yes:no: )
52978 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
52979 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
52980 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
52981 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
52982 ac_header_preproc=yes
52983 ;;
52984 no:yes:* )
52985 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
52986 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
52987 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
52988 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
52989 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
52990 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
52991 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
52992 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
52993 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
52994 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
52995 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
52996 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
52997 (
52998 cat <<\_ASBOX
52999 ## ----------------------------------------- ##
53000 ## Report this to the package-unused lists. ##
53001 ## ----------------------------------------- ##
53002 _ASBOX
53003 ) |
53004 sed "s/^/$as_me: WARNING: /" >&2
53005 ;;
53006 esac
53007 echo "$as_me:$LINENO: checking for $ac_header" >&5
53008 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
53009 if eval "test \"\${$as_ac_Header+set}\" = set"; then
53010 echo $ECHO_N "(cached) $ECHO_C" >&6
53011 else
53012 eval "$as_ac_Header=\$ac_header_preproc"
53013 fi
53014 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
53015 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
53016
53017 fi
53018 if test `eval echo '${'$as_ac_Header'}'` = yes; then
53019 cat >>confdefs.h <<_ACEOF
53020 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
53021 _ACEOF
53022
53023 fi
53024
53025 done
53026
53027
53028 echo "$as_me:$LINENO: checking for poll" >&5
53029 echo $ECHO_N "checking for poll... $ECHO_C" >&6
53030 if test "${glibcxx_cv_POLL+set}" = set; then
53031 echo $ECHO_N "(cached) $ECHO_C" >&6
53032 else
53033
53034 if test x$gcc_no_link = xyes; then
53035 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53036 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53037 { (exit 1); exit 1; }; }
53038 fi
53039 cat >conftest.$ac_ext <<_ACEOF
53040 /* confdefs.h. */
53041 _ACEOF
53042 cat confdefs.h >>conftest.$ac_ext
53043 cat >>conftest.$ac_ext <<_ACEOF
53044 /* end confdefs.h. */
53045 #include <poll.h>
53046 int
53047 main ()
53048 {
53049 struct pollfd pfd[1];
53050 pfd[0].events = POLLIN;
53051 poll(pfd, 1, 0);
53052 ;
53053 return 0;
53054 }
53055 _ACEOF
53056 rm -f conftest.$ac_objext conftest$ac_exeext
53057 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53058 (eval $ac_link) 2>conftest.er1
53059 ac_status=$?
53060 grep -v '^ *+' conftest.er1 >conftest.err
53061 rm -f conftest.er1
53062 cat conftest.err >&5
53063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53064 (exit $ac_status); } &&
53065 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
53066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53067 (eval $ac_try) 2>&5
53068 ac_status=$?
53069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53070 (exit $ac_status); }; } &&
53071 { ac_try='test -s conftest$ac_exeext'
53072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53073 (eval $ac_try) 2>&5
53074 ac_status=$?
53075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53076 (exit $ac_status); }; }; then
53077 glibcxx_cv_POLL=yes
53078 else
53079 echo "$as_me: failed program was:" >&5
53080 sed 's/^/| /' conftest.$ac_ext >&5
53081
53082 glibcxx_cv_POLL=no
53083 fi
53084 rm -f conftest.err conftest.$ac_objext \
53085 conftest$ac_exeext conftest.$ac_ext
53086
53087 fi
53088
53089 if test $glibcxx_cv_POLL = yes; then
53090
53091 cat >>confdefs.h <<\_ACEOF
53092 #define HAVE_POLL 1
53093 _ACEOF
53094
53095 fi
53096 echo "$as_me:$LINENO: result: $glibcxx_cv_POLL" >&5
53097 echo "${ECHO_T}$glibcxx_cv_POLL" >&6
53098
53099
53100 echo "$as_me:$LINENO: checking for S_ISREG or S_IFREG" >&5
53101 echo $ECHO_N "checking for S_ISREG or S_IFREG... $ECHO_C" >&6
53102 if test "${glibcxx_cv_S_ISREG+set}" = set; then
53103 echo $ECHO_N "(cached) $ECHO_C" >&6
53104 else
53105
53106 if test x$gcc_no_link = xyes; then
53107 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53108 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53109 { (exit 1); exit 1; }; }
53110 fi
53111 cat >conftest.$ac_ext <<_ACEOF
53112 /* confdefs.h. */
53113 _ACEOF
53114 cat confdefs.h >>conftest.$ac_ext
53115 cat >>conftest.$ac_ext <<_ACEOF
53116 /* end confdefs.h. */
53117 #include <sys/stat.h>
53118 int
53119 main ()
53120 {
53121 struct stat buffer;
53122 fstat(0, &buffer);
53123 S_ISREG(buffer.st_mode);
53124 ;
53125 return 0;
53126 }
53127 _ACEOF
53128 rm -f conftest.$ac_objext conftest$ac_exeext
53129 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53130 (eval $ac_link) 2>conftest.er1
53131 ac_status=$?
53132 grep -v '^ *+' conftest.er1 >conftest.err
53133 rm -f conftest.er1
53134 cat conftest.err >&5
53135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53136 (exit $ac_status); } &&
53137 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
53138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53139 (eval $ac_try) 2>&5
53140 ac_status=$?
53141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53142 (exit $ac_status); }; } &&
53143 { ac_try='test -s conftest$ac_exeext'
53144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53145 (eval $ac_try) 2>&5
53146 ac_status=$?
53147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53148 (exit $ac_status); }; }; then
53149 glibcxx_cv_S_ISREG=yes
53150 else
53151 echo "$as_me: failed program was:" >&5
53152 sed 's/^/| /' conftest.$ac_ext >&5
53153
53154 glibcxx_cv_S_ISREG=no
53155 fi
53156 rm -f conftest.err conftest.$ac_objext \
53157 conftest$ac_exeext conftest.$ac_ext
53158
53159 fi
53160
53161 if test "${glibcxx_cv_S_IFREG+set}" = set; then
53162 echo $ECHO_N "(cached) $ECHO_C" >&6
53163 else
53164
53165 if test x$gcc_no_link = xyes; then
53166 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53167 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53168 { (exit 1); exit 1; }; }
53169 fi
53170 cat >conftest.$ac_ext <<_ACEOF
53171 /* confdefs.h. */
53172 _ACEOF
53173 cat confdefs.h >>conftest.$ac_ext
53174 cat >>conftest.$ac_ext <<_ACEOF
53175 /* end confdefs.h. */
53176 #include <sys/stat.h>
53177 int
53178 main ()
53179 {
53180 struct stat buffer;
53181 fstat(0, &buffer);
53182 S_IFREG & buffer.st_mode;
53183 ;
53184 return 0;
53185 }
53186 _ACEOF
53187 rm -f conftest.$ac_objext conftest$ac_exeext
53188 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53189 (eval $ac_link) 2>conftest.er1
53190 ac_status=$?
53191 grep -v '^ *+' conftest.er1 >conftest.err
53192 rm -f conftest.er1
53193 cat conftest.err >&5
53194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53195 (exit $ac_status); } &&
53196 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
53197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53198 (eval $ac_try) 2>&5
53199 ac_status=$?
53200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53201 (exit $ac_status); }; } &&
53202 { ac_try='test -s conftest$ac_exeext'
53203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53204 (eval $ac_try) 2>&5
53205 ac_status=$?
53206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53207 (exit $ac_status); }; }; then
53208 glibcxx_cv_S_IFREG=yes
53209 else
53210 echo "$as_me: failed program was:" >&5
53211 sed 's/^/| /' conftest.$ac_ext >&5
53212
53213 glibcxx_cv_S_IFREG=no
53214 fi
53215 rm -f conftest.err conftest.$ac_objext \
53216 conftest$ac_exeext conftest.$ac_ext
53217
53218 fi
53219
53220 res=no
53221 if test $glibcxx_cv_S_ISREG = yes; then
53222
53223 cat >>confdefs.h <<\_ACEOF
53224 #define HAVE_S_ISREG 1
53225 _ACEOF
53226
53227 res=S_ISREG
53228 elif test $glibcxx_cv_S_IFREG = yes; then
53229
53230 cat >>confdefs.h <<\_ACEOF
53231 #define HAVE_S_IFREG 1
53232 _ACEOF
53233
53234 res=S_IFREG
53235 fi
53236 echo "$as_me:$LINENO: result: $res" >&5
53237 echo "${ECHO_T}$res" >&6
53238
53239
53240 # For xsputn_2().
53241
53242 for ac_header in sys/uio.h
53243 do
53244 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
53245 if eval "test \"\${$as_ac_Header+set}\" = set"; then
53246 echo "$as_me:$LINENO: checking for $ac_header" >&5
53247 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
53248 if eval "test \"\${$as_ac_Header+set}\" = set"; then
53249 echo $ECHO_N "(cached) $ECHO_C" >&6
53250 fi
53251 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
53252 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
53253 else
53254 # Is the header compilable?
53255 echo "$as_me:$LINENO: checking $ac_header usability" >&5
53256 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
53257 cat >conftest.$ac_ext <<_ACEOF
53258 /* confdefs.h. */
53259 _ACEOF
53260 cat confdefs.h >>conftest.$ac_ext
53261 cat >>conftest.$ac_ext <<_ACEOF
53262 /* end confdefs.h. */
53263 $ac_includes_default
53264 #include <$ac_header>
53265 _ACEOF
53266 rm -f conftest.$ac_objext
53267 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53268 (eval $ac_compile) 2>conftest.er1
53269 ac_status=$?
53270 grep -v '^ *+' conftest.er1 >conftest.err
53271 rm -f conftest.er1
53272 cat conftest.err >&5
53273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53274 (exit $ac_status); } &&
53275 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
53276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53277 (eval $ac_try) 2>&5
53278 ac_status=$?
53279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53280 (exit $ac_status); }; } &&
53281 { ac_try='test -s conftest.$ac_objext'
53282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53283 (eval $ac_try) 2>&5
53284 ac_status=$?
53285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53286 (exit $ac_status); }; }; then
53287 ac_header_compiler=yes
53288 else
53289 echo "$as_me: failed program was:" >&5
53290 sed 's/^/| /' conftest.$ac_ext >&5
53291
53292 ac_header_compiler=no
53293 fi
53294 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53295 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
53296 echo "${ECHO_T}$ac_header_compiler" >&6
53297
53298 # Is the header present?
53299 echo "$as_me:$LINENO: checking $ac_header presence" >&5
53300 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
53301 cat >conftest.$ac_ext <<_ACEOF
53302 /* confdefs.h. */
53303 _ACEOF
53304 cat confdefs.h >>conftest.$ac_ext
53305 cat >>conftest.$ac_ext <<_ACEOF
53306 /* end confdefs.h. */
53307 #include <$ac_header>
53308 _ACEOF
53309 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
53310 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
53311 ac_status=$?
53312 grep -v '^ *+' conftest.er1 >conftest.err
53313 rm -f conftest.er1
53314 cat conftest.err >&5
53315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53316 (exit $ac_status); } >/dev/null; then
53317 if test -s conftest.err; then
53318 ac_cpp_err=$ac_c_preproc_warn_flag
53319 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
53320 else
53321 ac_cpp_err=
53322 fi
53323 else
53324 ac_cpp_err=yes
53325 fi
53326 if test -z "$ac_cpp_err"; then
53327 ac_header_preproc=yes
53328 else
53329 echo "$as_me: failed program was:" >&5
53330 sed 's/^/| /' conftest.$ac_ext >&5
53331
53332 ac_header_preproc=no
53333 fi
53334 rm -f conftest.err conftest.$ac_ext
53335 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
53336 echo "${ECHO_T}$ac_header_preproc" >&6
53337
53338 # So? What about this header?
53339 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
53340 yes:no: )
53341 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
53342 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
53343 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
53344 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
53345 ac_header_preproc=yes
53346 ;;
53347 no:yes:* )
53348 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
53349 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
53350 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
53351 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
53352 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
53353 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
53354 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
53355 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
53356 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
53357 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
53358 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
53359 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
53360 (
53361 cat <<\_ASBOX
53362 ## ----------------------------------------- ##
53363 ## Report this to the package-unused lists. ##
53364 ## ----------------------------------------- ##
53365 _ASBOX
53366 ) |
53367 sed "s/^/$as_me: WARNING: /" >&2
53368 ;;
53369 esac
53370 echo "$as_me:$LINENO: checking for $ac_header" >&5
53371 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
53372 if eval "test \"\${$as_ac_Header+set}\" = set"; then
53373 echo $ECHO_N "(cached) $ECHO_C" >&6
53374 else
53375 eval "$as_ac_Header=\$ac_header_preproc"
53376 fi
53377 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
53378 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
53379
53380 fi
53381 if test `eval echo '${'$as_ac_Header'}'` = yes; then
53382 cat >>confdefs.h <<_ACEOF
53383 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
53384 _ACEOF
53385
53386 fi
53387
53388 done
53389
53390
53391 echo "$as_me:$LINENO: checking for writev" >&5
53392 echo $ECHO_N "checking for writev... $ECHO_C" >&6
53393 if test "${glibcxx_cv_WRITEV+set}" = set; then
53394 echo $ECHO_N "(cached) $ECHO_C" >&6
53395 else
53396
53397 if test x$gcc_no_link = xyes; then
53398 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53399 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53400 { (exit 1); exit 1; }; }
53401 fi
53402 cat >conftest.$ac_ext <<_ACEOF
53403 /* confdefs.h. */
53404 _ACEOF
53405 cat confdefs.h >>conftest.$ac_ext
53406 cat >>conftest.$ac_ext <<_ACEOF
53407 /* end confdefs.h. */
53408 #include <sys/uio.h>
53409 int
53410 main ()
53411 {
53412 struct iovec iov[2];
53413 writev(0, iov, 0);
53414 ;
53415 return 0;
53416 }
53417 _ACEOF
53418 rm -f conftest.$ac_objext conftest$ac_exeext
53419 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53420 (eval $ac_link) 2>conftest.er1
53421 ac_status=$?
53422 grep -v '^ *+' conftest.er1 >conftest.err
53423 rm -f conftest.er1
53424 cat conftest.err >&5
53425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53426 (exit $ac_status); } &&
53427 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
53428 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53429 (eval $ac_try) 2>&5
53430 ac_status=$?
53431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53432 (exit $ac_status); }; } &&
53433 { ac_try='test -s conftest$ac_exeext'
53434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53435 (eval $ac_try) 2>&5
53436 ac_status=$?
53437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53438 (exit $ac_status); }; }; then
53439 glibcxx_cv_WRITEV=yes
53440 else
53441 echo "$as_me: failed program was:" >&5
53442 sed 's/^/| /' conftest.$ac_ext >&5
53443
53444 glibcxx_cv_WRITEV=no
53445 fi
53446 rm -f conftest.err conftest.$ac_objext \
53447 conftest$ac_exeext conftest.$ac_ext
53448
53449 fi
53450
53451 if test $glibcxx_cv_WRITEV = yes; then
53452
53453 cat >>confdefs.h <<\_ACEOF
53454 #define HAVE_WRITEV 1
53455 _ACEOF
53456
53457 fi
53458 echo "$as_me:$LINENO: result: $glibcxx_cv_WRITEV" >&5
53459 echo "${ECHO_T}$glibcxx_cv_WRITEV" >&6
53460
53461
53462 cat >>confdefs.h <<\_ACEOF
53463 #define HAVE_LC_MESSAGES 1
53464 _ACEOF
53465
53466
53467 cat >conftest.$ac_ext <<_ACEOF
53468 /* confdefs.h. */
53469 _ACEOF
53470 cat confdefs.h >>conftest.$ac_ext
53471 cat >>conftest.$ac_ext <<_ACEOF
53472 /* end confdefs.h. */
53473 #include <setjmp.h>
53474 int
53475 main ()
53476 {
53477 sigjmp_buf env;
53478 while (! sigsetjmp (env, 1))
53479 siglongjmp (env, 1);
53480
53481 ;
53482 return 0;
53483 }
53484 _ACEOF
53485 rm -f conftest.$ac_objext
53486 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53487 (eval $ac_compile) 2>conftest.er1
53488 ac_status=$?
53489 grep -v '^ *+' conftest.er1 >conftest.err
53490 rm -f conftest.er1
53491 cat conftest.err >&5
53492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53493 (exit $ac_status); } &&
53494 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
53495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53496 (eval $ac_try) 2>&5
53497 ac_status=$?
53498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53499 (exit $ac_status); }; } &&
53500 { ac_try='test -s conftest.$ac_objext'
53501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53502 (eval $ac_try) 2>&5
53503 ac_status=$?
53504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53505 (exit $ac_status); }; }; then
53506
53507 cat >>confdefs.h <<\_ACEOF
53508 #define HAVE_SIGSETJMP 1
53509 _ACEOF
53510
53511 else
53512 echo "$as_me: failed program was:" >&5
53513 sed 's/^/| /' conftest.$ac_ext >&5
53514
53515 fi
53516 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53517
53518 cat >>confdefs.h <<\_ACEOF
53519 #define HAVE_MMAP 1
53520 _ACEOF
53521
53522 ;;
53523
53524 *djgpp)
53525
53526
53527
53528
53529
53530
53531
53532
53533
53534
53535
53536
53537
53538
53539
53540
53541
53542
53543
53544
53545 for ac_header in float.h ieeefp.h inttypes.h locale.h \
53546 memory.h stdint.h stdlib.h strings.h string.h unistd.h \
53547 wchar.h wctype.h machine/endian.h sys/ioctl.h sys/param.h \
53548 sys/resource.h sys/stat.h sys/time.h sys/types.h sys/uio.h
53549 do
53550 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
53551 if eval "test \"\${$as_ac_Header+set}\" = set"; then
53552 echo "$as_me:$LINENO: checking for $ac_header" >&5
53553 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
53554 if eval "test \"\${$as_ac_Header+set}\" = set"; then
53555 echo $ECHO_N "(cached) $ECHO_C" >&6
53556 fi
53557 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
53558 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
53559 else
53560 # Is the header compilable?
53561 echo "$as_me:$LINENO: checking $ac_header usability" >&5
53562 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
53563 cat >conftest.$ac_ext <<_ACEOF
53564 /* confdefs.h. */
53565 _ACEOF
53566 cat confdefs.h >>conftest.$ac_ext
53567 cat >>conftest.$ac_ext <<_ACEOF
53568 /* end confdefs.h. */
53569 $ac_includes_default
53570 #include <$ac_header>
53571 _ACEOF
53572 rm -f conftest.$ac_objext
53573 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53574 (eval $ac_compile) 2>conftest.er1
53575 ac_status=$?
53576 grep -v '^ *+' conftest.er1 >conftest.err
53577 rm -f conftest.er1
53578 cat conftest.err >&5
53579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53580 (exit $ac_status); } &&
53581 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
53582 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53583 (eval $ac_try) 2>&5
53584 ac_status=$?
53585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53586 (exit $ac_status); }; } &&
53587 { ac_try='test -s conftest.$ac_objext'
53588 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53589 (eval $ac_try) 2>&5
53590 ac_status=$?
53591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53592 (exit $ac_status); }; }; then
53593 ac_header_compiler=yes
53594 else
53595 echo "$as_me: failed program was:" >&5
53596 sed 's/^/| /' conftest.$ac_ext >&5
53597
53598 ac_header_compiler=no
53599 fi
53600 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53601 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
53602 echo "${ECHO_T}$ac_header_compiler" >&6
53603
53604 # Is the header present?
53605 echo "$as_me:$LINENO: checking $ac_header presence" >&5
53606 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
53607 cat >conftest.$ac_ext <<_ACEOF
53608 /* confdefs.h. */
53609 _ACEOF
53610 cat confdefs.h >>conftest.$ac_ext
53611 cat >>conftest.$ac_ext <<_ACEOF
53612 /* end confdefs.h. */
53613 #include <$ac_header>
53614 _ACEOF
53615 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
53616 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
53617 ac_status=$?
53618 grep -v '^ *+' conftest.er1 >conftest.err
53619 rm -f conftest.er1
53620 cat conftest.err >&5
53621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53622 (exit $ac_status); } >/dev/null; then
53623 if test -s conftest.err; then
53624 ac_cpp_err=$ac_c_preproc_warn_flag
53625 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
53626 else
53627 ac_cpp_err=
53628 fi
53629 else
53630 ac_cpp_err=yes
53631 fi
53632 if test -z "$ac_cpp_err"; then
53633 ac_header_preproc=yes
53634 else
53635 echo "$as_me: failed program was:" >&5
53636 sed 's/^/| /' conftest.$ac_ext >&5
53637
53638 ac_header_preproc=no
53639 fi
53640 rm -f conftest.err conftest.$ac_ext
53641 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
53642 echo "${ECHO_T}$ac_header_preproc" >&6
53643
53644 # So? What about this header?
53645 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
53646 yes:no: )
53647 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
53648 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
53649 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
53650 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
53651 ac_header_preproc=yes
53652 ;;
53653 no:yes:* )
53654 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
53655 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
53656 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
53657 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
53658 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
53659 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
53660 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
53661 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
53662 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
53663 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
53664 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
53665 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
53666 (
53667 cat <<\_ASBOX
53668 ## ----------------------------------------- ##
53669 ## Report this to the package-unused lists. ##
53670 ## ----------------------------------------- ##
53671 _ASBOX
53672 ) |
53673 sed "s/^/$as_me: WARNING: /" >&2
53674 ;;
53675 esac
53676 echo "$as_me:$LINENO: checking for $ac_header" >&5
53677 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
53678 if eval "test \"\${$as_ac_Header+set}\" = set"; then
53679 echo $ECHO_N "(cached) $ECHO_C" >&6
53680 else
53681 eval "$as_ac_Header=\$ac_header_preproc"
53682 fi
53683 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
53684 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
53685
53686 fi
53687 if test `eval echo '${'$as_ac_Header'}'` = yes; then
53688 cat >>confdefs.h <<_ACEOF
53689 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
53690 _ACEOF
53691
53692 fi
53693
53694 done
53695
53696
53697 # If we're not using GNU ld, then there's no point in even trying these
53698 # tests. Check for that first. We should have already tested for gld
53699 # by now (in libtool), but require it now just to be safe...
53700 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
53701 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
53702
53703
53704
53705 # The name set by libtool depends on the version of libtool. Shame on us
53706 # for depending on an impl detail, but c'est la vie. Older versions used
53707 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
53708 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
53709 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
53710 # set (hence we're using an older libtool), then set it.
53711 if test x${with_gnu_ld+set} != xset; then
53712 if test x${ac_cv_prog_gnu_ld+set} != xset; then
53713 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
53714 with_gnu_ld=no
53715 else
53716 with_gnu_ld=$ac_cv_prog_gnu_ld
53717 fi
53718 fi
53719
53720 # Start by getting the version number. I think the libtool test already
53721 # does some of this, but throws away the result.
53722 echo "$as_me:$LINENO: checking for ld version" >&5
53723 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
53724
53725 ldver=`$LD --version 2>/dev/null | head -1 | \
53726 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
53727
53728 glibcxx_gnu_ld_version=`echo $ldver | \
53729 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
53730 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
53731 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
53732
53733 # Set --gc-sections.
53734 glibcxx_gcsections_min_ld=21602
53735 if test x"$with_gnu_ld" = x"yes" &&
53736 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
53737
53738 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
53739 # NB: This flag only works reliably after 2.16.1. Configure tests
53740 # for this are difficult, so hard wire a value that should work.
53741
53742 # All these tests are for C++, but run with the "C" compiler driver.
53743 # Need to do this so that g++ won't try to link in libstdc++/libsupc++.
53744 ac_test_CFLAGS="${CFLAGS+set}"
53745 ac_save_CFLAGS="$CFLAGS"
53746 CFLAGS='-x c++ -Wl,--gc-sections'
53747
53748 # Check for -Wl,--gc-sections
53749 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
53750 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
53751 if test x$gcc_no_link = xyes; then
53752 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53753 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53754 { (exit 1); exit 1; }; }
53755 fi
53756 cat >conftest.$ac_ext <<_ACEOF
53757 /* confdefs.h. */
53758 _ACEOF
53759 cat confdefs.h >>conftest.$ac_ext
53760 cat >>conftest.$ac_ext <<_ACEOF
53761 /* end confdefs.h. */
53762 int one(void) { return 1; }
53763 int two(void) { return 2; }
53764
53765 int
53766 main ()
53767 {
53768 two();
53769 ;
53770 return 0;
53771 }
53772 _ACEOF
53773 rm -f conftest.$ac_objext conftest$ac_exeext
53774 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53775 (eval $ac_link) 2>conftest.er1
53776 ac_status=$?
53777 grep -v '^ *+' conftest.er1 >conftest.err
53778 rm -f conftest.er1
53779 cat conftest.err >&5
53780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53781 (exit $ac_status); } &&
53782 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
53783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53784 (eval $ac_try) 2>&5
53785 ac_status=$?
53786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53787 (exit $ac_status); }; } &&
53788 { ac_try='test -s conftest$ac_exeext'
53789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53790 (eval $ac_try) 2>&5
53791 ac_status=$?
53792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53793 (exit $ac_status); }; }; then
53794 ac_gcsections=yes
53795 else
53796 echo "$as_me: failed program was:" >&5
53797 sed 's/^/| /' conftest.$ac_ext >&5
53798
53799 ac_gcsections=no
53800 fi
53801 rm -f conftest.err conftest.$ac_objext \
53802 conftest$ac_exeext conftest.$ac_ext
53803 if test "$ac_gcsections" = "yes"; then
53804 rm -f conftest.c
53805 touch conftest.c
53806 if $CC -c conftest.c; then
53807 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
53808 grep "Warning: gc-sections option ignored" > /dev/null; then
53809 ac_gcsections=no
53810 fi
53811 fi
53812 rm -f conftest.c conftest.o conftest
53813 fi
53814 if test "$ac_gcsections" = "yes"; then
53815 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
53816 fi
53817 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
53818 echo "${ECHO_T}$ac_gcsections" >&6
53819
53820 if test "$ac_test_CFLAGS" = set; then
53821 CFLAGS="$ac_save_CFLAGS"
53822 else
53823 # this is the suspicious part
53824 CFLAGS=''
53825 fi
53826 fi
53827
53828 # Set -z,relro.
53829 # Note this is only for shared objects.
53830 ac_ld_relro=no
53831 if test x"$with_gnu_ld" = x"yes"; then
53832 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
53833 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
53834 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
53835 if test -n "$cxx_z_relo"; then
53836 OPT_LDFLAGS="-Wl,-z,relro"
53837 ac_ld_relro=yes
53838 fi
53839 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
53840 echo "${ECHO_T}$ac_ld_relro" >&6
53841 fi
53842
53843 # Set linker optimization flags.
53844 if test x"$with_gnu_ld" = x"yes"; then
53845 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
53846 fi
53847
53848
53849
53850
53851
53852 ac_test_CXXFLAGS="${CXXFLAGS+set}"
53853 ac_save_CXXFLAGS="$CXXFLAGS"
53854 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
53855
53856 echo "$as_me:$LINENO: checking for sin in -lm" >&5
53857 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
53858 if test "${ac_cv_lib_m_sin+set}" = set; then
53859 echo $ECHO_N "(cached) $ECHO_C" >&6
53860 else
53861 ac_check_lib_save_LIBS=$LIBS
53862 LIBS="-lm $LIBS"
53863 if test x$gcc_no_link = xyes; then
53864 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53865 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53866 { (exit 1); exit 1; }; }
53867 fi
53868 cat >conftest.$ac_ext <<_ACEOF
53869 /* confdefs.h. */
53870 _ACEOF
53871 cat confdefs.h >>conftest.$ac_ext
53872 cat >>conftest.$ac_ext <<_ACEOF
53873 /* end confdefs.h. */
53874
53875 /* Override any gcc2 internal prototype to avoid an error. */
53876 #ifdef __cplusplus
53877 extern "C"
53878 #endif
53879 /* We use char because int might match the return type of a gcc2
53880 builtin and then its argument prototype would still apply. */
53881 char sin ();
53882 int
53883 main ()
53884 {
53885 sin ();
53886 ;
53887 return 0;
53888 }
53889 _ACEOF
53890 rm -f conftest.$ac_objext conftest$ac_exeext
53891 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53892 (eval $ac_link) 2>conftest.er1
53893 ac_status=$?
53894 grep -v '^ *+' conftest.er1 >conftest.err
53895 rm -f conftest.er1
53896 cat conftest.err >&5
53897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53898 (exit $ac_status); } &&
53899 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
53900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53901 (eval $ac_try) 2>&5
53902 ac_status=$?
53903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53904 (exit $ac_status); }; } &&
53905 { ac_try='test -s conftest$ac_exeext'
53906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53907 (eval $ac_try) 2>&5
53908 ac_status=$?
53909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53910 (exit $ac_status); }; }; then
53911 ac_cv_lib_m_sin=yes
53912 else
53913 echo "$as_me: failed program was:" >&5
53914 sed 's/^/| /' conftest.$ac_ext >&5
53915
53916 ac_cv_lib_m_sin=no
53917 fi
53918 rm -f conftest.err conftest.$ac_objext \
53919 conftest$ac_exeext conftest.$ac_ext
53920 LIBS=$ac_check_lib_save_LIBS
53921 fi
53922 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
53923 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
53924 if test $ac_cv_lib_m_sin = yes; then
53925 libm="-lm"
53926 fi
53927
53928 ac_save_LIBS="$LIBS"
53929 LIBS="$LIBS $libm"
53930
53931
53932
53933 echo "$as_me:$LINENO: checking for isinf declaration" >&5
53934 echo $ECHO_N "checking for isinf declaration... $ECHO_C" >&6
53935 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
53936 if test "${glibcxx_cv_func_isinf_use+set}" = set; then
53937 echo $ECHO_N "(cached) $ECHO_C" >&6
53938 else
53939
53940
53941
53942 ac_ext=cc
53943 ac_cpp='$CXXCPP $CPPFLAGS'
53944 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53945 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53946 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53947
53948 cat >conftest.$ac_ext <<_ACEOF
53949 /* confdefs.h. */
53950 _ACEOF
53951 cat confdefs.h >>conftest.$ac_ext
53952 cat >>conftest.$ac_ext <<_ACEOF
53953 /* end confdefs.h. */
53954 #include <math.h>
53955 #ifdef HAVE_IEEEFP_H
53956 #include <ieeefp.h>
53957 #endif
53958
53959 int
53960 main ()
53961 {
53962 isinf(0);
53963 ;
53964 return 0;
53965 }
53966 _ACEOF
53967 rm -f conftest.$ac_objext
53968 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53969 (eval $ac_compile) 2>conftest.er1
53970 ac_status=$?
53971 grep -v '^ *+' conftest.er1 >conftest.err
53972 rm -f conftest.er1
53973 cat conftest.err >&5
53974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53975 (exit $ac_status); } &&
53976 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
53977 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53978 (eval $ac_try) 2>&5
53979 ac_status=$?
53980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53981 (exit $ac_status); }; } &&
53982 { ac_try='test -s conftest.$ac_objext'
53983 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53984 (eval $ac_try) 2>&5
53985 ac_status=$?
53986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53987 (exit $ac_status); }; }; then
53988 glibcxx_cv_func_isinf_use=yes
53989 else
53990 echo "$as_me: failed program was:" >&5
53991 sed 's/^/| /' conftest.$ac_ext >&5
53992
53993 glibcxx_cv_func_isinf_use=no
53994 fi
53995 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53996 ac_ext=c
53997 ac_cpp='$CPP $CPPFLAGS'
53998 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53999 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54000 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54001
54002
54003 fi
54004
54005 fi
54006 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinf_use" >&5
54007 echo "${ECHO_T}$glibcxx_cv_func_isinf_use" >&6
54008
54009 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
54010
54011 for ac_func in isinf
54012 do
54013 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54014 echo "$as_me:$LINENO: checking for $ac_func" >&5
54015 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54016 if eval "test \"\${$as_ac_var+set}\" = set"; then
54017 echo $ECHO_N "(cached) $ECHO_C" >&6
54018 else
54019 if test x$gcc_no_link = xyes; then
54020 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54021 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54022 { (exit 1); exit 1; }; }
54023 fi
54024 cat >conftest.$ac_ext <<_ACEOF
54025 /* confdefs.h. */
54026 _ACEOF
54027 cat confdefs.h >>conftest.$ac_ext
54028 cat >>conftest.$ac_ext <<_ACEOF
54029 /* end confdefs.h. */
54030 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54031 For example, HP-UX 11i <limits.h> declares gettimeofday. */
54032 #define $ac_func innocuous_$ac_func
54033
54034 /* System header to define __stub macros and hopefully few prototypes,
54035 which can conflict with char $ac_func (); below.
54036 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54037 <limits.h> exists even on freestanding compilers. */
54038
54039 #ifdef __STDC__
54040 # include <limits.h>
54041 #else
54042 # include <assert.h>
54043 #endif
54044
54045 #undef $ac_func
54046
54047 /* Override any gcc2 internal prototype to avoid an error. */
54048 #ifdef __cplusplus
54049 extern "C"
54050 {
54051 #endif
54052 /* We use char because int might match the return type of a gcc2
54053 builtin and then its argument prototype would still apply. */
54054 char $ac_func ();
54055 /* The GNU C library defines this for functions which it implements
54056 to always fail with ENOSYS. Some functions are actually named
54057 something starting with __ and the normal name is an alias. */
54058 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54059 choke me
54060 #else
54061 char (*f) () = $ac_func;
54062 #endif
54063 #ifdef __cplusplus
54064 }
54065 #endif
54066
54067 int
54068 main ()
54069 {
54070 return f != $ac_func;
54071 ;
54072 return 0;
54073 }
54074 _ACEOF
54075 rm -f conftest.$ac_objext conftest$ac_exeext
54076 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54077 (eval $ac_link) 2>conftest.er1
54078 ac_status=$?
54079 grep -v '^ *+' conftest.er1 >conftest.err
54080 rm -f conftest.er1
54081 cat conftest.err >&5
54082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54083 (exit $ac_status); } &&
54084 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
54085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54086 (eval $ac_try) 2>&5
54087 ac_status=$?
54088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54089 (exit $ac_status); }; } &&
54090 { ac_try='test -s conftest$ac_exeext'
54091 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54092 (eval $ac_try) 2>&5
54093 ac_status=$?
54094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54095 (exit $ac_status); }; }; then
54096 eval "$as_ac_var=yes"
54097 else
54098 echo "$as_me: failed program was:" >&5
54099 sed 's/^/| /' conftest.$ac_ext >&5
54100
54101 eval "$as_ac_var=no"
54102 fi
54103 rm -f conftest.err conftest.$ac_objext \
54104 conftest$ac_exeext conftest.$ac_ext
54105 fi
54106 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54107 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54108 if test `eval echo '${'$as_ac_var'}'` = yes; then
54109 cat >>confdefs.h <<_ACEOF
54110 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54111 _ACEOF
54112
54113 fi
54114 done
54115
54116 else
54117
54118 echo "$as_me:$LINENO: checking for _isinf declaration" >&5
54119 echo $ECHO_N "checking for _isinf declaration... $ECHO_C" >&6
54120 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
54121 if test "${glibcxx_cv_func__isinf_use+set}" = set; then
54122 echo $ECHO_N "(cached) $ECHO_C" >&6
54123 else
54124
54125
54126
54127 ac_ext=cc
54128 ac_cpp='$CXXCPP $CPPFLAGS'
54129 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54130 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54131 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54132
54133 cat >conftest.$ac_ext <<_ACEOF
54134 /* confdefs.h. */
54135 _ACEOF
54136 cat confdefs.h >>conftest.$ac_ext
54137 cat >>conftest.$ac_ext <<_ACEOF
54138 /* end confdefs.h. */
54139 #include <math.h>
54140 #ifdef HAVE_IEEEFP_H
54141 #include <ieeefp.h>
54142 #endif
54143
54144 int
54145 main ()
54146 {
54147 _isinf(0);
54148 ;
54149 return 0;
54150 }
54151 _ACEOF
54152 rm -f conftest.$ac_objext
54153 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54154 (eval $ac_compile) 2>conftest.er1
54155 ac_status=$?
54156 grep -v '^ *+' conftest.er1 >conftest.err
54157 rm -f conftest.er1
54158 cat conftest.err >&5
54159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54160 (exit $ac_status); } &&
54161 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
54162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54163 (eval $ac_try) 2>&5
54164 ac_status=$?
54165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54166 (exit $ac_status); }; } &&
54167 { ac_try='test -s conftest.$ac_objext'
54168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54169 (eval $ac_try) 2>&5
54170 ac_status=$?
54171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54172 (exit $ac_status); }; }; then
54173 glibcxx_cv_func__isinf_use=yes
54174 else
54175 echo "$as_me: failed program was:" >&5
54176 sed 's/^/| /' conftest.$ac_ext >&5
54177
54178 glibcxx_cv_func__isinf_use=no
54179 fi
54180 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54181 ac_ext=c
54182 ac_cpp='$CPP $CPPFLAGS'
54183 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54184 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54185 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54186
54187
54188 fi
54189
54190 fi
54191 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinf_use" >&5
54192 echo "${ECHO_T}$glibcxx_cv_func__isinf_use" >&6
54193
54194 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
54195
54196 for ac_func in _isinf
54197 do
54198 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54199 echo "$as_me:$LINENO: checking for $ac_func" >&5
54200 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54201 if eval "test \"\${$as_ac_var+set}\" = set"; then
54202 echo $ECHO_N "(cached) $ECHO_C" >&6
54203 else
54204 if test x$gcc_no_link = xyes; then
54205 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54206 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54207 { (exit 1); exit 1; }; }
54208 fi
54209 cat >conftest.$ac_ext <<_ACEOF
54210 /* confdefs.h. */
54211 _ACEOF
54212 cat confdefs.h >>conftest.$ac_ext
54213 cat >>conftest.$ac_ext <<_ACEOF
54214 /* end confdefs.h. */
54215 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54216 For example, HP-UX 11i <limits.h> declares gettimeofday. */
54217 #define $ac_func innocuous_$ac_func
54218
54219 /* System header to define __stub macros and hopefully few prototypes,
54220 which can conflict with char $ac_func (); below.
54221 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54222 <limits.h> exists even on freestanding compilers. */
54223
54224 #ifdef __STDC__
54225 # include <limits.h>
54226 #else
54227 # include <assert.h>
54228 #endif
54229
54230 #undef $ac_func
54231
54232 /* Override any gcc2 internal prototype to avoid an error. */
54233 #ifdef __cplusplus
54234 extern "C"
54235 {
54236 #endif
54237 /* We use char because int might match the return type of a gcc2
54238 builtin and then its argument prototype would still apply. */
54239 char $ac_func ();
54240 /* The GNU C library defines this for functions which it implements
54241 to always fail with ENOSYS. Some functions are actually named
54242 something starting with __ and the normal name is an alias. */
54243 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54244 choke me
54245 #else
54246 char (*f) () = $ac_func;
54247 #endif
54248 #ifdef __cplusplus
54249 }
54250 #endif
54251
54252 int
54253 main ()
54254 {
54255 return f != $ac_func;
54256 ;
54257 return 0;
54258 }
54259 _ACEOF
54260 rm -f conftest.$ac_objext conftest$ac_exeext
54261 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54262 (eval $ac_link) 2>conftest.er1
54263 ac_status=$?
54264 grep -v '^ *+' conftest.er1 >conftest.err
54265 rm -f conftest.er1
54266 cat conftest.err >&5
54267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54268 (exit $ac_status); } &&
54269 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
54270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54271 (eval $ac_try) 2>&5
54272 ac_status=$?
54273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54274 (exit $ac_status); }; } &&
54275 { ac_try='test -s conftest$ac_exeext'
54276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54277 (eval $ac_try) 2>&5
54278 ac_status=$?
54279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54280 (exit $ac_status); }; }; then
54281 eval "$as_ac_var=yes"
54282 else
54283 echo "$as_me: failed program was:" >&5
54284 sed 's/^/| /' conftest.$ac_ext >&5
54285
54286 eval "$as_ac_var=no"
54287 fi
54288 rm -f conftest.err conftest.$ac_objext \
54289 conftest$ac_exeext conftest.$ac_ext
54290 fi
54291 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54292 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54293 if test `eval echo '${'$as_ac_var'}'` = yes; then
54294 cat >>confdefs.h <<_ACEOF
54295 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54296 _ACEOF
54297
54298 fi
54299 done
54300
54301 fi
54302 fi
54303
54304
54305
54306
54307
54308
54309 echo "$as_me:$LINENO: checking for isnan declaration" >&5
54310 echo $ECHO_N "checking for isnan declaration... $ECHO_C" >&6
54311 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
54312 if test "${glibcxx_cv_func_isnan_use+set}" = set; then
54313 echo $ECHO_N "(cached) $ECHO_C" >&6
54314 else
54315
54316
54317
54318 ac_ext=cc
54319 ac_cpp='$CXXCPP $CPPFLAGS'
54320 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54321 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54322 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54323
54324 cat >conftest.$ac_ext <<_ACEOF
54325 /* confdefs.h. */
54326 _ACEOF
54327 cat confdefs.h >>conftest.$ac_ext
54328 cat >>conftest.$ac_ext <<_ACEOF
54329 /* end confdefs.h. */
54330 #include <math.h>
54331 #ifdef HAVE_IEEEFP_H
54332 #include <ieeefp.h>
54333 #endif
54334
54335 int
54336 main ()
54337 {
54338 isnan(0);
54339 ;
54340 return 0;
54341 }
54342 _ACEOF
54343 rm -f conftest.$ac_objext
54344 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54345 (eval $ac_compile) 2>conftest.er1
54346 ac_status=$?
54347 grep -v '^ *+' conftest.er1 >conftest.err
54348 rm -f conftest.er1
54349 cat conftest.err >&5
54350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54351 (exit $ac_status); } &&
54352 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
54353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54354 (eval $ac_try) 2>&5
54355 ac_status=$?
54356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54357 (exit $ac_status); }; } &&
54358 { ac_try='test -s conftest.$ac_objext'
54359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54360 (eval $ac_try) 2>&5
54361 ac_status=$?
54362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54363 (exit $ac_status); }; }; then
54364 glibcxx_cv_func_isnan_use=yes
54365 else
54366 echo "$as_me: failed program was:" >&5
54367 sed 's/^/| /' conftest.$ac_ext >&5
54368
54369 glibcxx_cv_func_isnan_use=no
54370 fi
54371 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54372 ac_ext=c
54373 ac_cpp='$CPP $CPPFLAGS'
54374 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54375 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54376 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54377
54378
54379 fi
54380
54381 fi
54382 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnan_use" >&5
54383 echo "${ECHO_T}$glibcxx_cv_func_isnan_use" >&6
54384
54385 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
54386
54387 for ac_func in isnan
54388 do
54389 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54390 echo "$as_me:$LINENO: checking for $ac_func" >&5
54391 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54392 if eval "test \"\${$as_ac_var+set}\" = set"; then
54393 echo $ECHO_N "(cached) $ECHO_C" >&6
54394 else
54395 if test x$gcc_no_link = xyes; then
54396 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54397 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54398 { (exit 1); exit 1; }; }
54399 fi
54400 cat >conftest.$ac_ext <<_ACEOF
54401 /* confdefs.h. */
54402 _ACEOF
54403 cat confdefs.h >>conftest.$ac_ext
54404 cat >>conftest.$ac_ext <<_ACEOF
54405 /* end confdefs.h. */
54406 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54407 For example, HP-UX 11i <limits.h> declares gettimeofday. */
54408 #define $ac_func innocuous_$ac_func
54409
54410 /* System header to define __stub macros and hopefully few prototypes,
54411 which can conflict with char $ac_func (); below.
54412 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54413 <limits.h> exists even on freestanding compilers. */
54414
54415 #ifdef __STDC__
54416 # include <limits.h>
54417 #else
54418 # include <assert.h>
54419 #endif
54420
54421 #undef $ac_func
54422
54423 /* Override any gcc2 internal prototype to avoid an error. */
54424 #ifdef __cplusplus
54425 extern "C"
54426 {
54427 #endif
54428 /* We use char because int might match the return type of a gcc2
54429 builtin and then its argument prototype would still apply. */
54430 char $ac_func ();
54431 /* The GNU C library defines this for functions which it implements
54432 to always fail with ENOSYS. Some functions are actually named
54433 something starting with __ and the normal name is an alias. */
54434 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54435 choke me
54436 #else
54437 char (*f) () = $ac_func;
54438 #endif
54439 #ifdef __cplusplus
54440 }
54441 #endif
54442
54443 int
54444 main ()
54445 {
54446 return f != $ac_func;
54447 ;
54448 return 0;
54449 }
54450 _ACEOF
54451 rm -f conftest.$ac_objext conftest$ac_exeext
54452 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54453 (eval $ac_link) 2>conftest.er1
54454 ac_status=$?
54455 grep -v '^ *+' conftest.er1 >conftest.err
54456 rm -f conftest.er1
54457 cat conftest.err >&5
54458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54459 (exit $ac_status); } &&
54460 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
54461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54462 (eval $ac_try) 2>&5
54463 ac_status=$?
54464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54465 (exit $ac_status); }; } &&
54466 { ac_try='test -s conftest$ac_exeext'
54467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54468 (eval $ac_try) 2>&5
54469 ac_status=$?
54470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54471 (exit $ac_status); }; }; then
54472 eval "$as_ac_var=yes"
54473 else
54474 echo "$as_me: failed program was:" >&5
54475 sed 's/^/| /' conftest.$ac_ext >&5
54476
54477 eval "$as_ac_var=no"
54478 fi
54479 rm -f conftest.err conftest.$ac_objext \
54480 conftest$ac_exeext conftest.$ac_ext
54481 fi
54482 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54483 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54484 if test `eval echo '${'$as_ac_var'}'` = yes; then
54485 cat >>confdefs.h <<_ACEOF
54486 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54487 _ACEOF
54488
54489 fi
54490 done
54491
54492 else
54493
54494 echo "$as_me:$LINENO: checking for _isnan declaration" >&5
54495 echo $ECHO_N "checking for _isnan declaration... $ECHO_C" >&6
54496 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
54497 if test "${glibcxx_cv_func__isnan_use+set}" = set; then
54498 echo $ECHO_N "(cached) $ECHO_C" >&6
54499 else
54500
54501
54502
54503 ac_ext=cc
54504 ac_cpp='$CXXCPP $CPPFLAGS'
54505 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54506 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54507 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54508
54509 cat >conftest.$ac_ext <<_ACEOF
54510 /* confdefs.h. */
54511 _ACEOF
54512 cat confdefs.h >>conftest.$ac_ext
54513 cat >>conftest.$ac_ext <<_ACEOF
54514 /* end confdefs.h. */
54515 #include <math.h>
54516 #ifdef HAVE_IEEEFP_H
54517 #include <ieeefp.h>
54518 #endif
54519
54520 int
54521 main ()
54522 {
54523 _isnan(0);
54524 ;
54525 return 0;
54526 }
54527 _ACEOF
54528 rm -f conftest.$ac_objext
54529 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54530 (eval $ac_compile) 2>conftest.er1
54531 ac_status=$?
54532 grep -v '^ *+' conftest.er1 >conftest.err
54533 rm -f conftest.er1
54534 cat conftest.err >&5
54535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54536 (exit $ac_status); } &&
54537 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
54538 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54539 (eval $ac_try) 2>&5
54540 ac_status=$?
54541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54542 (exit $ac_status); }; } &&
54543 { ac_try='test -s conftest.$ac_objext'
54544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54545 (eval $ac_try) 2>&5
54546 ac_status=$?
54547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54548 (exit $ac_status); }; }; then
54549 glibcxx_cv_func__isnan_use=yes
54550 else
54551 echo "$as_me: failed program was:" >&5
54552 sed 's/^/| /' conftest.$ac_ext >&5
54553
54554 glibcxx_cv_func__isnan_use=no
54555 fi
54556 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54557 ac_ext=c
54558 ac_cpp='$CPP $CPPFLAGS'
54559 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54560 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54561 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54562
54563
54564 fi
54565
54566 fi
54567 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnan_use" >&5
54568 echo "${ECHO_T}$glibcxx_cv_func__isnan_use" >&6
54569
54570 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
54571
54572 for ac_func in _isnan
54573 do
54574 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54575 echo "$as_me:$LINENO: checking for $ac_func" >&5
54576 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54577 if eval "test \"\${$as_ac_var+set}\" = set"; then
54578 echo $ECHO_N "(cached) $ECHO_C" >&6
54579 else
54580 if test x$gcc_no_link = xyes; then
54581 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54582 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54583 { (exit 1); exit 1; }; }
54584 fi
54585 cat >conftest.$ac_ext <<_ACEOF
54586 /* confdefs.h. */
54587 _ACEOF
54588 cat confdefs.h >>conftest.$ac_ext
54589 cat >>conftest.$ac_ext <<_ACEOF
54590 /* end confdefs.h. */
54591 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54592 For example, HP-UX 11i <limits.h> declares gettimeofday. */
54593 #define $ac_func innocuous_$ac_func
54594
54595 /* System header to define __stub macros and hopefully few prototypes,
54596 which can conflict with char $ac_func (); below.
54597 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54598 <limits.h> exists even on freestanding compilers. */
54599
54600 #ifdef __STDC__
54601 # include <limits.h>
54602 #else
54603 # include <assert.h>
54604 #endif
54605
54606 #undef $ac_func
54607
54608 /* Override any gcc2 internal prototype to avoid an error. */
54609 #ifdef __cplusplus
54610 extern "C"
54611 {
54612 #endif
54613 /* We use char because int might match the return type of a gcc2
54614 builtin and then its argument prototype would still apply. */
54615 char $ac_func ();
54616 /* The GNU C library defines this for functions which it implements
54617 to always fail with ENOSYS. Some functions are actually named
54618 something starting with __ and the normal name is an alias. */
54619 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54620 choke me
54621 #else
54622 char (*f) () = $ac_func;
54623 #endif
54624 #ifdef __cplusplus
54625 }
54626 #endif
54627
54628 int
54629 main ()
54630 {
54631 return f != $ac_func;
54632 ;
54633 return 0;
54634 }
54635 _ACEOF
54636 rm -f conftest.$ac_objext conftest$ac_exeext
54637 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54638 (eval $ac_link) 2>conftest.er1
54639 ac_status=$?
54640 grep -v '^ *+' conftest.er1 >conftest.err
54641 rm -f conftest.er1
54642 cat conftest.err >&5
54643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54644 (exit $ac_status); } &&
54645 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
54646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54647 (eval $ac_try) 2>&5
54648 ac_status=$?
54649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54650 (exit $ac_status); }; } &&
54651 { ac_try='test -s conftest$ac_exeext'
54652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54653 (eval $ac_try) 2>&5
54654 ac_status=$?
54655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54656 (exit $ac_status); }; }; then
54657 eval "$as_ac_var=yes"
54658 else
54659 echo "$as_me: failed program was:" >&5
54660 sed 's/^/| /' conftest.$ac_ext >&5
54661
54662 eval "$as_ac_var=no"
54663 fi
54664 rm -f conftest.err conftest.$ac_objext \
54665 conftest$ac_exeext conftest.$ac_ext
54666 fi
54667 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54668 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54669 if test `eval echo '${'$as_ac_var'}'` = yes; then
54670 cat >>confdefs.h <<_ACEOF
54671 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54672 _ACEOF
54673
54674 fi
54675 done
54676
54677 fi
54678 fi
54679
54680
54681
54682
54683
54684
54685 echo "$as_me:$LINENO: checking for finite declaration" >&5
54686 echo $ECHO_N "checking for finite declaration... $ECHO_C" >&6
54687 if test x${glibcxx_cv_func_finite_use+set} != xset; then
54688 if test "${glibcxx_cv_func_finite_use+set}" = set; then
54689 echo $ECHO_N "(cached) $ECHO_C" >&6
54690 else
54691
54692
54693
54694 ac_ext=cc
54695 ac_cpp='$CXXCPP $CPPFLAGS'
54696 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54697 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54698 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54699
54700 cat >conftest.$ac_ext <<_ACEOF
54701 /* confdefs.h. */
54702 _ACEOF
54703 cat confdefs.h >>conftest.$ac_ext
54704 cat >>conftest.$ac_ext <<_ACEOF
54705 /* end confdefs.h. */
54706 #include <math.h>
54707 #ifdef HAVE_IEEEFP_H
54708 #include <ieeefp.h>
54709 #endif
54710
54711 int
54712 main ()
54713 {
54714 finite(0);
54715 ;
54716 return 0;
54717 }
54718 _ACEOF
54719 rm -f conftest.$ac_objext
54720 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54721 (eval $ac_compile) 2>conftest.er1
54722 ac_status=$?
54723 grep -v '^ *+' conftest.er1 >conftest.err
54724 rm -f conftest.er1
54725 cat conftest.err >&5
54726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54727 (exit $ac_status); } &&
54728 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
54729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54730 (eval $ac_try) 2>&5
54731 ac_status=$?
54732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54733 (exit $ac_status); }; } &&
54734 { ac_try='test -s conftest.$ac_objext'
54735 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54736 (eval $ac_try) 2>&5
54737 ac_status=$?
54738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54739 (exit $ac_status); }; }; then
54740 glibcxx_cv_func_finite_use=yes
54741 else
54742 echo "$as_me: failed program was:" >&5
54743 sed 's/^/| /' conftest.$ac_ext >&5
54744
54745 glibcxx_cv_func_finite_use=no
54746 fi
54747 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54748 ac_ext=c
54749 ac_cpp='$CPP $CPPFLAGS'
54750 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54751 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54752 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54753
54754
54755 fi
54756
54757 fi
54758 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finite_use" >&5
54759 echo "${ECHO_T}$glibcxx_cv_func_finite_use" >&6
54760
54761 if test x$glibcxx_cv_func_finite_use = x"yes"; then
54762
54763 for ac_func in finite
54764 do
54765 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54766 echo "$as_me:$LINENO: checking for $ac_func" >&5
54767 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54768 if eval "test \"\${$as_ac_var+set}\" = set"; then
54769 echo $ECHO_N "(cached) $ECHO_C" >&6
54770 else
54771 if test x$gcc_no_link = xyes; then
54772 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54773 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54774 { (exit 1); exit 1; }; }
54775 fi
54776 cat >conftest.$ac_ext <<_ACEOF
54777 /* confdefs.h. */
54778 _ACEOF
54779 cat confdefs.h >>conftest.$ac_ext
54780 cat >>conftest.$ac_ext <<_ACEOF
54781 /* end confdefs.h. */
54782 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54783 For example, HP-UX 11i <limits.h> declares gettimeofday. */
54784 #define $ac_func innocuous_$ac_func
54785
54786 /* System header to define __stub macros and hopefully few prototypes,
54787 which can conflict with char $ac_func (); below.
54788 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54789 <limits.h> exists even on freestanding compilers. */
54790
54791 #ifdef __STDC__
54792 # include <limits.h>
54793 #else
54794 # include <assert.h>
54795 #endif
54796
54797 #undef $ac_func
54798
54799 /* Override any gcc2 internal prototype to avoid an error. */
54800 #ifdef __cplusplus
54801 extern "C"
54802 {
54803 #endif
54804 /* We use char because int might match the return type of a gcc2
54805 builtin and then its argument prototype would still apply. */
54806 char $ac_func ();
54807 /* The GNU C library defines this for functions which it implements
54808 to always fail with ENOSYS. Some functions are actually named
54809 something starting with __ and the normal name is an alias. */
54810 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54811 choke me
54812 #else
54813 char (*f) () = $ac_func;
54814 #endif
54815 #ifdef __cplusplus
54816 }
54817 #endif
54818
54819 int
54820 main ()
54821 {
54822 return f != $ac_func;
54823 ;
54824 return 0;
54825 }
54826 _ACEOF
54827 rm -f conftest.$ac_objext conftest$ac_exeext
54828 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54829 (eval $ac_link) 2>conftest.er1
54830 ac_status=$?
54831 grep -v '^ *+' conftest.er1 >conftest.err
54832 rm -f conftest.er1
54833 cat conftest.err >&5
54834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54835 (exit $ac_status); } &&
54836 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
54837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54838 (eval $ac_try) 2>&5
54839 ac_status=$?
54840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54841 (exit $ac_status); }; } &&
54842 { ac_try='test -s conftest$ac_exeext'
54843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54844 (eval $ac_try) 2>&5
54845 ac_status=$?
54846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54847 (exit $ac_status); }; }; then
54848 eval "$as_ac_var=yes"
54849 else
54850 echo "$as_me: failed program was:" >&5
54851 sed 's/^/| /' conftest.$ac_ext >&5
54852
54853 eval "$as_ac_var=no"
54854 fi
54855 rm -f conftest.err conftest.$ac_objext \
54856 conftest$ac_exeext conftest.$ac_ext
54857 fi
54858 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54859 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54860 if test `eval echo '${'$as_ac_var'}'` = yes; then
54861 cat >>confdefs.h <<_ACEOF
54862 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54863 _ACEOF
54864
54865 fi
54866 done
54867
54868 else
54869
54870 echo "$as_me:$LINENO: checking for _finite declaration" >&5
54871 echo $ECHO_N "checking for _finite declaration... $ECHO_C" >&6
54872 if test x${glibcxx_cv_func__finite_use+set} != xset; then
54873 if test "${glibcxx_cv_func__finite_use+set}" = set; then
54874 echo $ECHO_N "(cached) $ECHO_C" >&6
54875 else
54876
54877
54878
54879 ac_ext=cc
54880 ac_cpp='$CXXCPP $CPPFLAGS'
54881 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54882 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54883 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54884
54885 cat >conftest.$ac_ext <<_ACEOF
54886 /* confdefs.h. */
54887 _ACEOF
54888 cat confdefs.h >>conftest.$ac_ext
54889 cat >>conftest.$ac_ext <<_ACEOF
54890 /* end confdefs.h. */
54891 #include <math.h>
54892 #ifdef HAVE_IEEEFP_H
54893 #include <ieeefp.h>
54894 #endif
54895
54896 int
54897 main ()
54898 {
54899 _finite(0);
54900 ;
54901 return 0;
54902 }
54903 _ACEOF
54904 rm -f conftest.$ac_objext
54905 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54906 (eval $ac_compile) 2>conftest.er1
54907 ac_status=$?
54908 grep -v '^ *+' conftest.er1 >conftest.err
54909 rm -f conftest.er1
54910 cat conftest.err >&5
54911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54912 (exit $ac_status); } &&
54913 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
54914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54915 (eval $ac_try) 2>&5
54916 ac_status=$?
54917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54918 (exit $ac_status); }; } &&
54919 { ac_try='test -s conftest.$ac_objext'
54920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54921 (eval $ac_try) 2>&5
54922 ac_status=$?
54923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54924 (exit $ac_status); }; }; then
54925 glibcxx_cv_func__finite_use=yes
54926 else
54927 echo "$as_me: failed program was:" >&5
54928 sed 's/^/| /' conftest.$ac_ext >&5
54929
54930 glibcxx_cv_func__finite_use=no
54931 fi
54932 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54933 ac_ext=c
54934 ac_cpp='$CPP $CPPFLAGS'
54935 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54936 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54937 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54938
54939
54940 fi
54941
54942 fi
54943 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finite_use" >&5
54944 echo "${ECHO_T}$glibcxx_cv_func__finite_use" >&6
54945
54946 if test x$glibcxx_cv_func__finite_use = x"yes"; then
54947
54948 for ac_func in _finite
54949 do
54950 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54951 echo "$as_me:$LINENO: checking for $ac_func" >&5
54952 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54953 if eval "test \"\${$as_ac_var+set}\" = set"; then
54954 echo $ECHO_N "(cached) $ECHO_C" >&6
54955 else
54956 if test x$gcc_no_link = xyes; then
54957 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54958 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54959 { (exit 1); exit 1; }; }
54960 fi
54961 cat >conftest.$ac_ext <<_ACEOF
54962 /* confdefs.h. */
54963 _ACEOF
54964 cat confdefs.h >>conftest.$ac_ext
54965 cat >>conftest.$ac_ext <<_ACEOF
54966 /* end confdefs.h. */
54967 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54968 For example, HP-UX 11i <limits.h> declares gettimeofday. */
54969 #define $ac_func innocuous_$ac_func
54970
54971 /* System header to define __stub macros and hopefully few prototypes,
54972 which can conflict with char $ac_func (); below.
54973 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54974 <limits.h> exists even on freestanding compilers. */
54975
54976 #ifdef __STDC__
54977 # include <limits.h>
54978 #else
54979 # include <assert.h>
54980 #endif
54981
54982 #undef $ac_func
54983
54984 /* Override any gcc2 internal prototype to avoid an error. */
54985 #ifdef __cplusplus
54986 extern "C"
54987 {
54988 #endif
54989 /* We use char because int might match the return type of a gcc2
54990 builtin and then its argument prototype would still apply. */
54991 char $ac_func ();
54992 /* The GNU C library defines this for functions which it implements
54993 to always fail with ENOSYS. Some functions are actually named
54994 something starting with __ and the normal name is an alias. */
54995 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54996 choke me
54997 #else
54998 char (*f) () = $ac_func;
54999 #endif
55000 #ifdef __cplusplus
55001 }
55002 #endif
55003
55004 int
55005 main ()
55006 {
55007 return f != $ac_func;
55008 ;
55009 return 0;
55010 }
55011 _ACEOF
55012 rm -f conftest.$ac_objext conftest$ac_exeext
55013 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55014 (eval $ac_link) 2>conftest.er1
55015 ac_status=$?
55016 grep -v '^ *+' conftest.er1 >conftest.err
55017 rm -f conftest.er1
55018 cat conftest.err >&5
55019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55020 (exit $ac_status); } &&
55021 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
55022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55023 (eval $ac_try) 2>&5
55024 ac_status=$?
55025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55026 (exit $ac_status); }; } &&
55027 { ac_try='test -s conftest$ac_exeext'
55028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55029 (eval $ac_try) 2>&5
55030 ac_status=$?
55031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55032 (exit $ac_status); }; }; then
55033 eval "$as_ac_var=yes"
55034 else
55035 echo "$as_me: failed program was:" >&5
55036 sed 's/^/| /' conftest.$ac_ext >&5
55037
55038 eval "$as_ac_var=no"
55039 fi
55040 rm -f conftest.err conftest.$ac_objext \
55041 conftest$ac_exeext conftest.$ac_ext
55042 fi
55043 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55044 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55045 if test `eval echo '${'$as_ac_var'}'` = yes; then
55046 cat >>confdefs.h <<_ACEOF
55047 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55048 _ACEOF
55049
55050 fi
55051 done
55052
55053 fi
55054 fi
55055
55056
55057
55058
55059
55060
55061 echo "$as_me:$LINENO: checking for copysign declaration" >&5
55062 echo $ECHO_N "checking for copysign declaration... $ECHO_C" >&6
55063 if test x${glibcxx_cv_func_copysign_use+set} != xset; then
55064 if test "${glibcxx_cv_func_copysign_use+set}" = set; then
55065 echo $ECHO_N "(cached) $ECHO_C" >&6
55066 else
55067
55068
55069
55070 ac_ext=cc
55071 ac_cpp='$CXXCPP $CPPFLAGS'
55072 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55073 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55074 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55075
55076 cat >conftest.$ac_ext <<_ACEOF
55077 /* confdefs.h. */
55078 _ACEOF
55079 cat confdefs.h >>conftest.$ac_ext
55080 cat >>conftest.$ac_ext <<_ACEOF
55081 /* end confdefs.h. */
55082 #include <math.h>
55083 int
55084 main ()
55085 {
55086 copysign(0, 0);
55087 ;
55088 return 0;
55089 }
55090 _ACEOF
55091 rm -f conftest.$ac_objext
55092 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55093 (eval $ac_compile) 2>conftest.er1
55094 ac_status=$?
55095 grep -v '^ *+' conftest.er1 >conftest.err
55096 rm -f conftest.er1
55097 cat conftest.err >&5
55098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55099 (exit $ac_status); } &&
55100 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
55101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55102 (eval $ac_try) 2>&5
55103 ac_status=$?
55104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55105 (exit $ac_status); }; } &&
55106 { ac_try='test -s conftest.$ac_objext'
55107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55108 (eval $ac_try) 2>&5
55109 ac_status=$?
55110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55111 (exit $ac_status); }; }; then
55112 glibcxx_cv_func_copysign_use=yes
55113 else
55114 echo "$as_me: failed program was:" >&5
55115 sed 's/^/| /' conftest.$ac_ext >&5
55116
55117 glibcxx_cv_func_copysign_use=no
55118 fi
55119 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55120 ac_ext=c
55121 ac_cpp='$CPP $CPPFLAGS'
55122 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55123 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55124 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55125
55126
55127 fi
55128
55129 fi
55130 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysign_use" >&5
55131 echo "${ECHO_T}$glibcxx_cv_func_copysign_use" >&6
55132
55133 if test x$glibcxx_cv_func_copysign_use = x"yes"; then
55134
55135 for ac_func in copysign
55136 do
55137 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55138 echo "$as_me:$LINENO: checking for $ac_func" >&5
55139 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55140 if eval "test \"\${$as_ac_var+set}\" = set"; then
55141 echo $ECHO_N "(cached) $ECHO_C" >&6
55142 else
55143 if test x$gcc_no_link = xyes; then
55144 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55145 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55146 { (exit 1); exit 1; }; }
55147 fi
55148 cat >conftest.$ac_ext <<_ACEOF
55149 /* confdefs.h. */
55150 _ACEOF
55151 cat confdefs.h >>conftest.$ac_ext
55152 cat >>conftest.$ac_ext <<_ACEOF
55153 /* end confdefs.h. */
55154 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55155 For example, HP-UX 11i <limits.h> declares gettimeofday. */
55156 #define $ac_func innocuous_$ac_func
55157
55158 /* System header to define __stub macros and hopefully few prototypes,
55159 which can conflict with char $ac_func (); below.
55160 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55161 <limits.h> exists even on freestanding compilers. */
55162
55163 #ifdef __STDC__
55164 # include <limits.h>
55165 #else
55166 # include <assert.h>
55167 #endif
55168
55169 #undef $ac_func
55170
55171 /* Override any gcc2 internal prototype to avoid an error. */
55172 #ifdef __cplusplus
55173 extern "C"
55174 {
55175 #endif
55176 /* We use char because int might match the return type of a gcc2
55177 builtin and then its argument prototype would still apply. */
55178 char $ac_func ();
55179 /* The GNU C library defines this for functions which it implements
55180 to always fail with ENOSYS. Some functions are actually named
55181 something starting with __ and the normal name is an alias. */
55182 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55183 choke me
55184 #else
55185 char (*f) () = $ac_func;
55186 #endif
55187 #ifdef __cplusplus
55188 }
55189 #endif
55190
55191 int
55192 main ()
55193 {
55194 return f != $ac_func;
55195 ;
55196 return 0;
55197 }
55198 _ACEOF
55199 rm -f conftest.$ac_objext conftest$ac_exeext
55200 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55201 (eval $ac_link) 2>conftest.er1
55202 ac_status=$?
55203 grep -v '^ *+' conftest.er1 >conftest.err
55204 rm -f conftest.er1
55205 cat conftest.err >&5
55206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55207 (exit $ac_status); } &&
55208 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
55209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55210 (eval $ac_try) 2>&5
55211 ac_status=$?
55212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55213 (exit $ac_status); }; } &&
55214 { ac_try='test -s conftest$ac_exeext'
55215 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55216 (eval $ac_try) 2>&5
55217 ac_status=$?
55218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55219 (exit $ac_status); }; }; then
55220 eval "$as_ac_var=yes"
55221 else
55222 echo "$as_me: failed program was:" >&5
55223 sed 's/^/| /' conftest.$ac_ext >&5
55224
55225 eval "$as_ac_var=no"
55226 fi
55227 rm -f conftest.err conftest.$ac_objext \
55228 conftest$ac_exeext conftest.$ac_ext
55229 fi
55230 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55231 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55232 if test `eval echo '${'$as_ac_var'}'` = yes; then
55233 cat >>confdefs.h <<_ACEOF
55234 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55235 _ACEOF
55236
55237 fi
55238 done
55239
55240 else
55241
55242 echo "$as_me:$LINENO: checking for _copysign declaration" >&5
55243 echo $ECHO_N "checking for _copysign declaration... $ECHO_C" >&6
55244 if test x${glibcxx_cv_func__copysign_use+set} != xset; then
55245 if test "${glibcxx_cv_func__copysign_use+set}" = set; then
55246 echo $ECHO_N "(cached) $ECHO_C" >&6
55247 else
55248
55249
55250
55251 ac_ext=cc
55252 ac_cpp='$CXXCPP $CPPFLAGS'
55253 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55254 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55255 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55256
55257 cat >conftest.$ac_ext <<_ACEOF
55258 /* confdefs.h. */
55259 _ACEOF
55260 cat confdefs.h >>conftest.$ac_ext
55261 cat >>conftest.$ac_ext <<_ACEOF
55262 /* end confdefs.h. */
55263 #include <math.h>
55264 int
55265 main ()
55266 {
55267 _copysign(0, 0);
55268 ;
55269 return 0;
55270 }
55271 _ACEOF
55272 rm -f conftest.$ac_objext
55273 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55274 (eval $ac_compile) 2>conftest.er1
55275 ac_status=$?
55276 grep -v '^ *+' conftest.er1 >conftest.err
55277 rm -f conftest.er1
55278 cat conftest.err >&5
55279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55280 (exit $ac_status); } &&
55281 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
55282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55283 (eval $ac_try) 2>&5
55284 ac_status=$?
55285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55286 (exit $ac_status); }; } &&
55287 { ac_try='test -s conftest.$ac_objext'
55288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55289 (eval $ac_try) 2>&5
55290 ac_status=$?
55291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55292 (exit $ac_status); }; }; then
55293 glibcxx_cv_func__copysign_use=yes
55294 else
55295 echo "$as_me: failed program was:" >&5
55296 sed 's/^/| /' conftest.$ac_ext >&5
55297
55298 glibcxx_cv_func__copysign_use=no
55299 fi
55300 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55301 ac_ext=c
55302 ac_cpp='$CPP $CPPFLAGS'
55303 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55304 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55305 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55306
55307
55308 fi
55309
55310 fi
55311 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysign_use" >&5
55312 echo "${ECHO_T}$glibcxx_cv_func__copysign_use" >&6
55313
55314 if test x$glibcxx_cv_func__copysign_use = x"yes"; then
55315
55316 for ac_func in _copysign
55317 do
55318 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55319 echo "$as_me:$LINENO: checking for $ac_func" >&5
55320 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55321 if eval "test \"\${$as_ac_var+set}\" = set"; then
55322 echo $ECHO_N "(cached) $ECHO_C" >&6
55323 else
55324 if test x$gcc_no_link = xyes; then
55325 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55326 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55327 { (exit 1); exit 1; }; }
55328 fi
55329 cat >conftest.$ac_ext <<_ACEOF
55330 /* confdefs.h. */
55331 _ACEOF
55332 cat confdefs.h >>conftest.$ac_ext
55333 cat >>conftest.$ac_ext <<_ACEOF
55334 /* end confdefs.h. */
55335 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55336 For example, HP-UX 11i <limits.h> declares gettimeofday. */
55337 #define $ac_func innocuous_$ac_func
55338
55339 /* System header to define __stub macros and hopefully few prototypes,
55340 which can conflict with char $ac_func (); below.
55341 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55342 <limits.h> exists even on freestanding compilers. */
55343
55344 #ifdef __STDC__
55345 # include <limits.h>
55346 #else
55347 # include <assert.h>
55348 #endif
55349
55350 #undef $ac_func
55351
55352 /* Override any gcc2 internal prototype to avoid an error. */
55353 #ifdef __cplusplus
55354 extern "C"
55355 {
55356 #endif
55357 /* We use char because int might match the return type of a gcc2
55358 builtin and then its argument prototype would still apply. */
55359 char $ac_func ();
55360 /* The GNU C library defines this for functions which it implements
55361 to always fail with ENOSYS. Some functions are actually named
55362 something starting with __ and the normal name is an alias. */
55363 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55364 choke me
55365 #else
55366 char (*f) () = $ac_func;
55367 #endif
55368 #ifdef __cplusplus
55369 }
55370 #endif
55371
55372 int
55373 main ()
55374 {
55375 return f != $ac_func;
55376 ;
55377 return 0;
55378 }
55379 _ACEOF
55380 rm -f conftest.$ac_objext conftest$ac_exeext
55381 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55382 (eval $ac_link) 2>conftest.er1
55383 ac_status=$?
55384 grep -v '^ *+' conftest.er1 >conftest.err
55385 rm -f conftest.er1
55386 cat conftest.err >&5
55387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55388 (exit $ac_status); } &&
55389 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
55390 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55391 (eval $ac_try) 2>&5
55392 ac_status=$?
55393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55394 (exit $ac_status); }; } &&
55395 { ac_try='test -s conftest$ac_exeext'
55396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55397 (eval $ac_try) 2>&5
55398 ac_status=$?
55399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55400 (exit $ac_status); }; }; then
55401 eval "$as_ac_var=yes"
55402 else
55403 echo "$as_me: failed program was:" >&5
55404 sed 's/^/| /' conftest.$ac_ext >&5
55405
55406 eval "$as_ac_var=no"
55407 fi
55408 rm -f conftest.err conftest.$ac_objext \
55409 conftest$ac_exeext conftest.$ac_ext
55410 fi
55411 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55412 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55413 if test `eval echo '${'$as_ac_var'}'` = yes; then
55414 cat >>confdefs.h <<_ACEOF
55415 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55416 _ACEOF
55417
55418 fi
55419 done
55420
55421 fi
55422 fi
55423
55424
55425
55426
55427
55428
55429 echo "$as_me:$LINENO: checking for sincos declaration" >&5
55430 echo $ECHO_N "checking for sincos declaration... $ECHO_C" >&6
55431 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
55432 if test "${glibcxx_cv_func_sincos_use+set}" = set; then
55433 echo $ECHO_N "(cached) $ECHO_C" >&6
55434 else
55435
55436
55437
55438 ac_ext=cc
55439 ac_cpp='$CXXCPP $CPPFLAGS'
55440 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55441 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55442 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55443
55444 cat >conftest.$ac_ext <<_ACEOF
55445 /* confdefs.h. */
55446 _ACEOF
55447 cat confdefs.h >>conftest.$ac_ext
55448 cat >>conftest.$ac_ext <<_ACEOF
55449 /* end confdefs.h. */
55450 #include <math.h>
55451 int
55452 main ()
55453 {
55454 sincos(0, 0, 0);
55455 ;
55456 return 0;
55457 }
55458 _ACEOF
55459 rm -f conftest.$ac_objext
55460 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55461 (eval $ac_compile) 2>conftest.er1
55462 ac_status=$?
55463 grep -v '^ *+' conftest.er1 >conftest.err
55464 rm -f conftest.er1
55465 cat conftest.err >&5
55466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55467 (exit $ac_status); } &&
55468 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
55469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55470 (eval $ac_try) 2>&5
55471 ac_status=$?
55472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55473 (exit $ac_status); }; } &&
55474 { ac_try='test -s conftest.$ac_objext'
55475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55476 (eval $ac_try) 2>&5
55477 ac_status=$?
55478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55479 (exit $ac_status); }; }; then
55480 glibcxx_cv_func_sincos_use=yes
55481 else
55482 echo "$as_me: failed program was:" >&5
55483 sed 's/^/| /' conftest.$ac_ext >&5
55484
55485 glibcxx_cv_func_sincos_use=no
55486 fi
55487 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55488 ac_ext=c
55489 ac_cpp='$CPP $CPPFLAGS'
55490 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55491 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55492 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55493
55494
55495 fi
55496
55497 fi
55498 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincos_use" >&5
55499 echo "${ECHO_T}$glibcxx_cv_func_sincos_use" >&6
55500
55501 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
55502
55503 for ac_func in sincos
55504 do
55505 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55506 echo "$as_me:$LINENO: checking for $ac_func" >&5
55507 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55508 if eval "test \"\${$as_ac_var+set}\" = set"; then
55509 echo $ECHO_N "(cached) $ECHO_C" >&6
55510 else
55511 if test x$gcc_no_link = xyes; then
55512 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55513 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55514 { (exit 1); exit 1; }; }
55515 fi
55516 cat >conftest.$ac_ext <<_ACEOF
55517 /* confdefs.h. */
55518 _ACEOF
55519 cat confdefs.h >>conftest.$ac_ext
55520 cat >>conftest.$ac_ext <<_ACEOF
55521 /* end confdefs.h. */
55522 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55523 For example, HP-UX 11i <limits.h> declares gettimeofday. */
55524 #define $ac_func innocuous_$ac_func
55525
55526 /* System header to define __stub macros and hopefully few prototypes,
55527 which can conflict with char $ac_func (); below.
55528 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55529 <limits.h> exists even on freestanding compilers. */
55530
55531 #ifdef __STDC__
55532 # include <limits.h>
55533 #else
55534 # include <assert.h>
55535 #endif
55536
55537 #undef $ac_func
55538
55539 /* Override any gcc2 internal prototype to avoid an error. */
55540 #ifdef __cplusplus
55541 extern "C"
55542 {
55543 #endif
55544 /* We use char because int might match the return type of a gcc2
55545 builtin and then its argument prototype would still apply. */
55546 char $ac_func ();
55547 /* The GNU C library defines this for functions which it implements
55548 to always fail with ENOSYS. Some functions are actually named
55549 something starting with __ and the normal name is an alias. */
55550 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55551 choke me
55552 #else
55553 char (*f) () = $ac_func;
55554 #endif
55555 #ifdef __cplusplus
55556 }
55557 #endif
55558
55559 int
55560 main ()
55561 {
55562 return f != $ac_func;
55563 ;
55564 return 0;
55565 }
55566 _ACEOF
55567 rm -f conftest.$ac_objext conftest$ac_exeext
55568 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55569 (eval $ac_link) 2>conftest.er1
55570 ac_status=$?
55571 grep -v '^ *+' conftest.er1 >conftest.err
55572 rm -f conftest.er1
55573 cat conftest.err >&5
55574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55575 (exit $ac_status); } &&
55576 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
55577 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55578 (eval $ac_try) 2>&5
55579 ac_status=$?
55580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55581 (exit $ac_status); }; } &&
55582 { ac_try='test -s conftest$ac_exeext'
55583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55584 (eval $ac_try) 2>&5
55585 ac_status=$?
55586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55587 (exit $ac_status); }; }; then
55588 eval "$as_ac_var=yes"
55589 else
55590 echo "$as_me: failed program was:" >&5
55591 sed 's/^/| /' conftest.$ac_ext >&5
55592
55593 eval "$as_ac_var=no"
55594 fi
55595 rm -f conftest.err conftest.$ac_objext \
55596 conftest$ac_exeext conftest.$ac_ext
55597 fi
55598 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55599 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55600 if test `eval echo '${'$as_ac_var'}'` = yes; then
55601 cat >>confdefs.h <<_ACEOF
55602 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55603 _ACEOF
55604
55605 fi
55606 done
55607
55608 else
55609
55610 echo "$as_me:$LINENO: checking for _sincos declaration" >&5
55611 echo $ECHO_N "checking for _sincos declaration... $ECHO_C" >&6
55612 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
55613 if test "${glibcxx_cv_func__sincos_use+set}" = set; then
55614 echo $ECHO_N "(cached) $ECHO_C" >&6
55615 else
55616
55617
55618
55619 ac_ext=cc
55620 ac_cpp='$CXXCPP $CPPFLAGS'
55621 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55622 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55623 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55624
55625 cat >conftest.$ac_ext <<_ACEOF
55626 /* confdefs.h. */
55627 _ACEOF
55628 cat confdefs.h >>conftest.$ac_ext
55629 cat >>conftest.$ac_ext <<_ACEOF
55630 /* end confdefs.h. */
55631 #include <math.h>
55632 int
55633 main ()
55634 {
55635 _sincos(0, 0, 0);
55636 ;
55637 return 0;
55638 }
55639 _ACEOF
55640 rm -f conftest.$ac_objext
55641 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55642 (eval $ac_compile) 2>conftest.er1
55643 ac_status=$?
55644 grep -v '^ *+' conftest.er1 >conftest.err
55645 rm -f conftest.er1
55646 cat conftest.err >&5
55647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55648 (exit $ac_status); } &&
55649 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
55650 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55651 (eval $ac_try) 2>&5
55652 ac_status=$?
55653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55654 (exit $ac_status); }; } &&
55655 { ac_try='test -s conftest.$ac_objext'
55656 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55657 (eval $ac_try) 2>&5
55658 ac_status=$?
55659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55660 (exit $ac_status); }; }; then
55661 glibcxx_cv_func__sincos_use=yes
55662 else
55663 echo "$as_me: failed program was:" >&5
55664 sed 's/^/| /' conftest.$ac_ext >&5
55665
55666 glibcxx_cv_func__sincos_use=no
55667 fi
55668 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55669 ac_ext=c
55670 ac_cpp='$CPP $CPPFLAGS'
55671 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55672 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55673 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55674
55675
55676 fi
55677
55678 fi
55679 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincos_use" >&5
55680 echo "${ECHO_T}$glibcxx_cv_func__sincos_use" >&6
55681
55682 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
55683
55684 for ac_func in _sincos
55685 do
55686 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55687 echo "$as_me:$LINENO: checking for $ac_func" >&5
55688 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55689 if eval "test \"\${$as_ac_var+set}\" = set"; then
55690 echo $ECHO_N "(cached) $ECHO_C" >&6
55691 else
55692 if test x$gcc_no_link = xyes; then
55693 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55694 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55695 { (exit 1); exit 1; }; }
55696 fi
55697 cat >conftest.$ac_ext <<_ACEOF
55698 /* confdefs.h. */
55699 _ACEOF
55700 cat confdefs.h >>conftest.$ac_ext
55701 cat >>conftest.$ac_ext <<_ACEOF
55702 /* end confdefs.h. */
55703 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55704 For example, HP-UX 11i <limits.h> declares gettimeofday. */
55705 #define $ac_func innocuous_$ac_func
55706
55707 /* System header to define __stub macros and hopefully few prototypes,
55708 which can conflict with char $ac_func (); below.
55709 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55710 <limits.h> exists even on freestanding compilers. */
55711
55712 #ifdef __STDC__
55713 # include <limits.h>
55714 #else
55715 # include <assert.h>
55716 #endif
55717
55718 #undef $ac_func
55719
55720 /* Override any gcc2 internal prototype to avoid an error. */
55721 #ifdef __cplusplus
55722 extern "C"
55723 {
55724 #endif
55725 /* We use char because int might match the return type of a gcc2
55726 builtin and then its argument prototype would still apply. */
55727 char $ac_func ();
55728 /* The GNU C library defines this for functions which it implements
55729 to always fail with ENOSYS. Some functions are actually named
55730 something starting with __ and the normal name is an alias. */
55731 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55732 choke me
55733 #else
55734 char (*f) () = $ac_func;
55735 #endif
55736 #ifdef __cplusplus
55737 }
55738 #endif
55739
55740 int
55741 main ()
55742 {
55743 return f != $ac_func;
55744 ;
55745 return 0;
55746 }
55747 _ACEOF
55748 rm -f conftest.$ac_objext conftest$ac_exeext
55749 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55750 (eval $ac_link) 2>conftest.er1
55751 ac_status=$?
55752 grep -v '^ *+' conftest.er1 >conftest.err
55753 rm -f conftest.er1
55754 cat conftest.err >&5
55755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55756 (exit $ac_status); } &&
55757 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
55758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55759 (eval $ac_try) 2>&5
55760 ac_status=$?
55761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55762 (exit $ac_status); }; } &&
55763 { ac_try='test -s conftest$ac_exeext'
55764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55765 (eval $ac_try) 2>&5
55766 ac_status=$?
55767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55768 (exit $ac_status); }; }; then
55769 eval "$as_ac_var=yes"
55770 else
55771 echo "$as_me: failed program was:" >&5
55772 sed 's/^/| /' conftest.$ac_ext >&5
55773
55774 eval "$as_ac_var=no"
55775 fi
55776 rm -f conftest.err conftest.$ac_objext \
55777 conftest$ac_exeext conftest.$ac_ext
55778 fi
55779 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55780 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55781 if test `eval echo '${'$as_ac_var'}'` = yes; then
55782 cat >>confdefs.h <<_ACEOF
55783 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55784 _ACEOF
55785
55786 fi
55787 done
55788
55789 fi
55790 fi
55791
55792
55793
55794
55795
55796
55797 echo "$as_me:$LINENO: checking for fpclass declaration" >&5
55798 echo $ECHO_N "checking for fpclass declaration... $ECHO_C" >&6
55799 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
55800 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then
55801 echo $ECHO_N "(cached) $ECHO_C" >&6
55802 else
55803
55804
55805
55806 ac_ext=cc
55807 ac_cpp='$CXXCPP $CPPFLAGS'
55808 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55809 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55810 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55811
55812 cat >conftest.$ac_ext <<_ACEOF
55813 /* confdefs.h. */
55814 _ACEOF
55815 cat confdefs.h >>conftest.$ac_ext
55816 cat >>conftest.$ac_ext <<_ACEOF
55817 /* end confdefs.h. */
55818 #include <math.h>
55819 #ifdef HAVE_IEEEFP_H
55820 #include <ieeefp.h>
55821 #endif
55822
55823 int
55824 main ()
55825 {
55826 fpclass(0);
55827 ;
55828 return 0;
55829 }
55830 _ACEOF
55831 rm -f conftest.$ac_objext
55832 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55833 (eval $ac_compile) 2>conftest.er1
55834 ac_status=$?
55835 grep -v '^ *+' conftest.er1 >conftest.err
55836 rm -f conftest.er1
55837 cat conftest.err >&5
55838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55839 (exit $ac_status); } &&
55840 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
55841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55842 (eval $ac_try) 2>&5
55843 ac_status=$?
55844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55845 (exit $ac_status); }; } &&
55846 { ac_try='test -s conftest.$ac_objext'
55847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55848 (eval $ac_try) 2>&5
55849 ac_status=$?
55850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55851 (exit $ac_status); }; }; then
55852 glibcxx_cv_func_fpclass_use=yes
55853 else
55854 echo "$as_me: failed program was:" >&5
55855 sed 's/^/| /' conftest.$ac_ext >&5
55856
55857 glibcxx_cv_func_fpclass_use=no
55858 fi
55859 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55860 ac_ext=c
55861 ac_cpp='$CPP $CPPFLAGS'
55862 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55863 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55864 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55865
55866
55867 fi
55868
55869 fi
55870 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fpclass_use" >&5
55871 echo "${ECHO_T}$glibcxx_cv_func_fpclass_use" >&6
55872
55873 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
55874
55875 for ac_func in fpclass
55876 do
55877 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55878 echo "$as_me:$LINENO: checking for $ac_func" >&5
55879 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55880 if eval "test \"\${$as_ac_var+set}\" = set"; then
55881 echo $ECHO_N "(cached) $ECHO_C" >&6
55882 else
55883 if test x$gcc_no_link = xyes; then
55884 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55885 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55886 { (exit 1); exit 1; }; }
55887 fi
55888 cat >conftest.$ac_ext <<_ACEOF
55889 /* confdefs.h. */
55890 _ACEOF
55891 cat confdefs.h >>conftest.$ac_ext
55892 cat >>conftest.$ac_ext <<_ACEOF
55893 /* end confdefs.h. */
55894 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55895 For example, HP-UX 11i <limits.h> declares gettimeofday. */
55896 #define $ac_func innocuous_$ac_func
55897
55898 /* System header to define __stub macros and hopefully few prototypes,
55899 which can conflict with char $ac_func (); below.
55900 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55901 <limits.h> exists even on freestanding compilers. */
55902
55903 #ifdef __STDC__
55904 # include <limits.h>
55905 #else
55906 # include <assert.h>
55907 #endif
55908
55909 #undef $ac_func
55910
55911 /* Override any gcc2 internal prototype to avoid an error. */
55912 #ifdef __cplusplus
55913 extern "C"
55914 {
55915 #endif
55916 /* We use char because int might match the return type of a gcc2
55917 builtin and then its argument prototype would still apply. */
55918 char $ac_func ();
55919 /* The GNU C library defines this for functions which it implements
55920 to always fail with ENOSYS. Some functions are actually named
55921 something starting with __ and the normal name is an alias. */
55922 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55923 choke me
55924 #else
55925 char (*f) () = $ac_func;
55926 #endif
55927 #ifdef __cplusplus
55928 }
55929 #endif
55930
55931 int
55932 main ()
55933 {
55934 return f != $ac_func;
55935 ;
55936 return 0;
55937 }
55938 _ACEOF
55939 rm -f conftest.$ac_objext conftest$ac_exeext
55940 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55941 (eval $ac_link) 2>conftest.er1
55942 ac_status=$?
55943 grep -v '^ *+' conftest.er1 >conftest.err
55944 rm -f conftest.er1
55945 cat conftest.err >&5
55946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55947 (exit $ac_status); } &&
55948 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
55949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55950 (eval $ac_try) 2>&5
55951 ac_status=$?
55952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55953 (exit $ac_status); }; } &&
55954 { ac_try='test -s conftest$ac_exeext'
55955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55956 (eval $ac_try) 2>&5
55957 ac_status=$?
55958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55959 (exit $ac_status); }; }; then
55960 eval "$as_ac_var=yes"
55961 else
55962 echo "$as_me: failed program was:" >&5
55963 sed 's/^/| /' conftest.$ac_ext >&5
55964
55965 eval "$as_ac_var=no"
55966 fi
55967 rm -f conftest.err conftest.$ac_objext \
55968 conftest$ac_exeext conftest.$ac_ext
55969 fi
55970 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55971 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55972 if test `eval echo '${'$as_ac_var'}'` = yes; then
55973 cat >>confdefs.h <<_ACEOF
55974 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55975 _ACEOF
55976
55977 fi
55978 done
55979
55980 else
55981
55982 echo "$as_me:$LINENO: checking for _fpclass declaration" >&5
55983 echo $ECHO_N "checking for _fpclass declaration... $ECHO_C" >&6
55984 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
55985 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then
55986 echo $ECHO_N "(cached) $ECHO_C" >&6
55987 else
55988
55989
55990
55991 ac_ext=cc
55992 ac_cpp='$CXXCPP $CPPFLAGS'
55993 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55994 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55995 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55996
55997 cat >conftest.$ac_ext <<_ACEOF
55998 /* confdefs.h. */
55999 _ACEOF
56000 cat confdefs.h >>conftest.$ac_ext
56001 cat >>conftest.$ac_ext <<_ACEOF
56002 /* end confdefs.h. */
56003 #include <math.h>
56004 #ifdef HAVE_IEEEFP_H
56005 #include <ieeefp.h>
56006 #endif
56007
56008 int
56009 main ()
56010 {
56011 _fpclass(0);
56012 ;
56013 return 0;
56014 }
56015 _ACEOF
56016 rm -f conftest.$ac_objext
56017 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56018 (eval $ac_compile) 2>conftest.er1
56019 ac_status=$?
56020 grep -v '^ *+' conftest.er1 >conftest.err
56021 rm -f conftest.er1
56022 cat conftest.err >&5
56023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56024 (exit $ac_status); } &&
56025 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
56026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56027 (eval $ac_try) 2>&5
56028 ac_status=$?
56029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56030 (exit $ac_status); }; } &&
56031 { ac_try='test -s conftest.$ac_objext'
56032 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56033 (eval $ac_try) 2>&5
56034 ac_status=$?
56035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56036 (exit $ac_status); }; }; then
56037 glibcxx_cv_func__fpclass_use=yes
56038 else
56039 echo "$as_me: failed program was:" >&5
56040 sed 's/^/| /' conftest.$ac_ext >&5
56041
56042 glibcxx_cv_func__fpclass_use=no
56043 fi
56044 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56045 ac_ext=c
56046 ac_cpp='$CPP $CPPFLAGS'
56047 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56048 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56049 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56050
56051
56052 fi
56053
56054 fi
56055 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fpclass_use" >&5
56056 echo "${ECHO_T}$glibcxx_cv_func__fpclass_use" >&6
56057
56058 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
56059
56060 for ac_func in _fpclass
56061 do
56062 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56063 echo "$as_me:$LINENO: checking for $ac_func" >&5
56064 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56065 if eval "test \"\${$as_ac_var+set}\" = set"; then
56066 echo $ECHO_N "(cached) $ECHO_C" >&6
56067 else
56068 if test x$gcc_no_link = xyes; then
56069 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56070 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56071 { (exit 1); exit 1; }; }
56072 fi
56073 cat >conftest.$ac_ext <<_ACEOF
56074 /* confdefs.h. */
56075 _ACEOF
56076 cat confdefs.h >>conftest.$ac_ext
56077 cat >>conftest.$ac_ext <<_ACEOF
56078 /* end confdefs.h. */
56079 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56080 For example, HP-UX 11i <limits.h> declares gettimeofday. */
56081 #define $ac_func innocuous_$ac_func
56082
56083 /* System header to define __stub macros and hopefully few prototypes,
56084 which can conflict with char $ac_func (); below.
56085 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56086 <limits.h> exists even on freestanding compilers. */
56087
56088 #ifdef __STDC__
56089 # include <limits.h>
56090 #else
56091 # include <assert.h>
56092 #endif
56093
56094 #undef $ac_func
56095
56096 /* Override any gcc2 internal prototype to avoid an error. */
56097 #ifdef __cplusplus
56098 extern "C"
56099 {
56100 #endif
56101 /* We use char because int might match the return type of a gcc2
56102 builtin and then its argument prototype would still apply. */
56103 char $ac_func ();
56104 /* The GNU C library defines this for functions which it implements
56105 to always fail with ENOSYS. Some functions are actually named
56106 something starting with __ and the normal name is an alias. */
56107 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56108 choke me
56109 #else
56110 char (*f) () = $ac_func;
56111 #endif
56112 #ifdef __cplusplus
56113 }
56114 #endif
56115
56116 int
56117 main ()
56118 {
56119 return f != $ac_func;
56120 ;
56121 return 0;
56122 }
56123 _ACEOF
56124 rm -f conftest.$ac_objext conftest$ac_exeext
56125 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56126 (eval $ac_link) 2>conftest.er1
56127 ac_status=$?
56128 grep -v '^ *+' conftest.er1 >conftest.err
56129 rm -f conftest.er1
56130 cat conftest.err >&5
56131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56132 (exit $ac_status); } &&
56133 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
56134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56135 (eval $ac_try) 2>&5
56136 ac_status=$?
56137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56138 (exit $ac_status); }; } &&
56139 { ac_try='test -s conftest$ac_exeext'
56140 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56141 (eval $ac_try) 2>&5
56142 ac_status=$?
56143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56144 (exit $ac_status); }; }; then
56145 eval "$as_ac_var=yes"
56146 else
56147 echo "$as_me: failed program was:" >&5
56148 sed 's/^/| /' conftest.$ac_ext >&5
56149
56150 eval "$as_ac_var=no"
56151 fi
56152 rm -f conftest.err conftest.$ac_objext \
56153 conftest$ac_exeext conftest.$ac_ext
56154 fi
56155 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56156 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56157 if test `eval echo '${'$as_ac_var'}'` = yes; then
56158 cat >>confdefs.h <<_ACEOF
56159 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56160 _ACEOF
56161
56162 fi
56163 done
56164
56165 fi
56166 fi
56167
56168
56169
56170
56171
56172
56173 echo "$as_me:$LINENO: checking for qfpclass declaration" >&5
56174 echo $ECHO_N "checking for qfpclass declaration... $ECHO_C" >&6
56175 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
56176 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then
56177 echo $ECHO_N "(cached) $ECHO_C" >&6
56178 else
56179
56180
56181
56182 ac_ext=cc
56183 ac_cpp='$CXXCPP $CPPFLAGS'
56184 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56185 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56186 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56187
56188 cat >conftest.$ac_ext <<_ACEOF
56189 /* confdefs.h. */
56190 _ACEOF
56191 cat confdefs.h >>conftest.$ac_ext
56192 cat >>conftest.$ac_ext <<_ACEOF
56193 /* end confdefs.h. */
56194 #include <math.h>
56195 #ifdef HAVE_IEEEFP_H
56196 #include <ieeefp.h>
56197 #endif
56198
56199 int
56200 main ()
56201 {
56202 qfpclass(0);
56203 ;
56204 return 0;
56205 }
56206 _ACEOF
56207 rm -f conftest.$ac_objext
56208 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56209 (eval $ac_compile) 2>conftest.er1
56210 ac_status=$?
56211 grep -v '^ *+' conftest.er1 >conftest.err
56212 rm -f conftest.er1
56213 cat conftest.err >&5
56214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56215 (exit $ac_status); } &&
56216 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
56217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56218 (eval $ac_try) 2>&5
56219 ac_status=$?
56220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56221 (exit $ac_status); }; } &&
56222 { ac_try='test -s conftest.$ac_objext'
56223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56224 (eval $ac_try) 2>&5
56225 ac_status=$?
56226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56227 (exit $ac_status); }; }; then
56228 glibcxx_cv_func_qfpclass_use=yes
56229 else
56230 echo "$as_me: failed program was:" >&5
56231 sed 's/^/| /' conftest.$ac_ext >&5
56232
56233 glibcxx_cv_func_qfpclass_use=no
56234 fi
56235 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56236 ac_ext=c
56237 ac_cpp='$CPP $CPPFLAGS'
56238 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56239 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56240 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56241
56242
56243 fi
56244
56245 fi
56246 echo "$as_me:$LINENO: result: $glibcxx_cv_func_qfpclass_use" >&5
56247 echo "${ECHO_T}$glibcxx_cv_func_qfpclass_use" >&6
56248
56249 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
56250
56251 for ac_func in qfpclass
56252 do
56253 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56254 echo "$as_me:$LINENO: checking for $ac_func" >&5
56255 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56256 if eval "test \"\${$as_ac_var+set}\" = set"; then
56257 echo $ECHO_N "(cached) $ECHO_C" >&6
56258 else
56259 if test x$gcc_no_link = xyes; then
56260 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56261 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56262 { (exit 1); exit 1; }; }
56263 fi
56264 cat >conftest.$ac_ext <<_ACEOF
56265 /* confdefs.h. */
56266 _ACEOF
56267 cat confdefs.h >>conftest.$ac_ext
56268 cat >>conftest.$ac_ext <<_ACEOF
56269 /* end confdefs.h. */
56270 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56271 For example, HP-UX 11i <limits.h> declares gettimeofday. */
56272 #define $ac_func innocuous_$ac_func
56273
56274 /* System header to define __stub macros and hopefully few prototypes,
56275 which can conflict with char $ac_func (); below.
56276 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56277 <limits.h> exists even on freestanding compilers. */
56278
56279 #ifdef __STDC__
56280 # include <limits.h>
56281 #else
56282 # include <assert.h>
56283 #endif
56284
56285 #undef $ac_func
56286
56287 /* Override any gcc2 internal prototype to avoid an error. */
56288 #ifdef __cplusplus
56289 extern "C"
56290 {
56291 #endif
56292 /* We use char because int might match the return type of a gcc2
56293 builtin and then its argument prototype would still apply. */
56294 char $ac_func ();
56295 /* The GNU C library defines this for functions which it implements
56296 to always fail with ENOSYS. Some functions are actually named
56297 something starting with __ and the normal name is an alias. */
56298 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56299 choke me
56300 #else
56301 char (*f) () = $ac_func;
56302 #endif
56303 #ifdef __cplusplus
56304 }
56305 #endif
56306
56307 int
56308 main ()
56309 {
56310 return f != $ac_func;
56311 ;
56312 return 0;
56313 }
56314 _ACEOF
56315 rm -f conftest.$ac_objext conftest$ac_exeext
56316 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56317 (eval $ac_link) 2>conftest.er1
56318 ac_status=$?
56319 grep -v '^ *+' conftest.er1 >conftest.err
56320 rm -f conftest.er1
56321 cat conftest.err >&5
56322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56323 (exit $ac_status); } &&
56324 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
56325 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56326 (eval $ac_try) 2>&5
56327 ac_status=$?
56328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56329 (exit $ac_status); }; } &&
56330 { ac_try='test -s conftest$ac_exeext'
56331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56332 (eval $ac_try) 2>&5
56333 ac_status=$?
56334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56335 (exit $ac_status); }; }; then
56336 eval "$as_ac_var=yes"
56337 else
56338 echo "$as_me: failed program was:" >&5
56339 sed 's/^/| /' conftest.$ac_ext >&5
56340
56341 eval "$as_ac_var=no"
56342 fi
56343 rm -f conftest.err conftest.$ac_objext \
56344 conftest$ac_exeext conftest.$ac_ext
56345 fi
56346 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56347 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56348 if test `eval echo '${'$as_ac_var'}'` = yes; then
56349 cat >>confdefs.h <<_ACEOF
56350 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56351 _ACEOF
56352
56353 fi
56354 done
56355
56356 else
56357
56358 echo "$as_me:$LINENO: checking for _qfpclass declaration" >&5
56359 echo $ECHO_N "checking for _qfpclass declaration... $ECHO_C" >&6
56360 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
56361 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then
56362 echo $ECHO_N "(cached) $ECHO_C" >&6
56363 else
56364
56365
56366
56367 ac_ext=cc
56368 ac_cpp='$CXXCPP $CPPFLAGS'
56369 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56370 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56371 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56372
56373 cat >conftest.$ac_ext <<_ACEOF
56374 /* confdefs.h. */
56375 _ACEOF
56376 cat confdefs.h >>conftest.$ac_ext
56377 cat >>conftest.$ac_ext <<_ACEOF
56378 /* end confdefs.h. */
56379 #include <math.h>
56380 #ifdef HAVE_IEEEFP_H
56381 #include <ieeefp.h>
56382 #endif
56383
56384 int
56385 main ()
56386 {
56387 _qfpclass(0);
56388 ;
56389 return 0;
56390 }
56391 _ACEOF
56392 rm -f conftest.$ac_objext
56393 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56394 (eval $ac_compile) 2>conftest.er1
56395 ac_status=$?
56396 grep -v '^ *+' conftest.er1 >conftest.err
56397 rm -f conftest.er1
56398 cat conftest.err >&5
56399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56400 (exit $ac_status); } &&
56401 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
56402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56403 (eval $ac_try) 2>&5
56404 ac_status=$?
56405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56406 (exit $ac_status); }; } &&
56407 { ac_try='test -s conftest.$ac_objext'
56408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56409 (eval $ac_try) 2>&5
56410 ac_status=$?
56411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56412 (exit $ac_status); }; }; then
56413 glibcxx_cv_func__qfpclass_use=yes
56414 else
56415 echo "$as_me: failed program was:" >&5
56416 sed 's/^/| /' conftest.$ac_ext >&5
56417
56418 glibcxx_cv_func__qfpclass_use=no
56419 fi
56420 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56421 ac_ext=c
56422 ac_cpp='$CPP $CPPFLAGS'
56423 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56424 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56425 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56426
56427
56428 fi
56429
56430 fi
56431 echo "$as_me:$LINENO: result: $glibcxx_cv_func__qfpclass_use" >&5
56432 echo "${ECHO_T}$glibcxx_cv_func__qfpclass_use" >&6
56433
56434 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
56435
56436 for ac_func in _qfpclass
56437 do
56438 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56439 echo "$as_me:$LINENO: checking for $ac_func" >&5
56440 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56441 if eval "test \"\${$as_ac_var+set}\" = set"; then
56442 echo $ECHO_N "(cached) $ECHO_C" >&6
56443 else
56444 if test x$gcc_no_link = xyes; then
56445 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56446 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56447 { (exit 1); exit 1; }; }
56448 fi
56449 cat >conftest.$ac_ext <<_ACEOF
56450 /* confdefs.h. */
56451 _ACEOF
56452 cat confdefs.h >>conftest.$ac_ext
56453 cat >>conftest.$ac_ext <<_ACEOF
56454 /* end confdefs.h. */
56455 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56456 For example, HP-UX 11i <limits.h> declares gettimeofday. */
56457 #define $ac_func innocuous_$ac_func
56458
56459 /* System header to define __stub macros and hopefully few prototypes,
56460 which can conflict with char $ac_func (); below.
56461 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56462 <limits.h> exists even on freestanding compilers. */
56463
56464 #ifdef __STDC__
56465 # include <limits.h>
56466 #else
56467 # include <assert.h>
56468 #endif
56469
56470 #undef $ac_func
56471
56472 /* Override any gcc2 internal prototype to avoid an error. */
56473 #ifdef __cplusplus
56474 extern "C"
56475 {
56476 #endif
56477 /* We use char because int might match the return type of a gcc2
56478 builtin and then its argument prototype would still apply. */
56479 char $ac_func ();
56480 /* The GNU C library defines this for functions which it implements
56481 to always fail with ENOSYS. Some functions are actually named
56482 something starting with __ and the normal name is an alias. */
56483 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56484 choke me
56485 #else
56486 char (*f) () = $ac_func;
56487 #endif
56488 #ifdef __cplusplus
56489 }
56490 #endif
56491
56492 int
56493 main ()
56494 {
56495 return f != $ac_func;
56496 ;
56497 return 0;
56498 }
56499 _ACEOF
56500 rm -f conftest.$ac_objext conftest$ac_exeext
56501 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56502 (eval $ac_link) 2>conftest.er1
56503 ac_status=$?
56504 grep -v '^ *+' conftest.er1 >conftest.err
56505 rm -f conftest.er1
56506 cat conftest.err >&5
56507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56508 (exit $ac_status); } &&
56509 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
56510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56511 (eval $ac_try) 2>&5
56512 ac_status=$?
56513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56514 (exit $ac_status); }; } &&
56515 { ac_try='test -s conftest$ac_exeext'
56516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56517 (eval $ac_try) 2>&5
56518 ac_status=$?
56519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56520 (exit $ac_status); }; }; then
56521 eval "$as_ac_var=yes"
56522 else
56523 echo "$as_me: failed program was:" >&5
56524 sed 's/^/| /' conftest.$ac_ext >&5
56525
56526 eval "$as_ac_var=no"
56527 fi
56528 rm -f conftest.err conftest.$ac_objext \
56529 conftest$ac_exeext conftest.$ac_ext
56530 fi
56531 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56532 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56533 if test `eval echo '${'$as_ac_var'}'` = yes; then
56534 cat >>confdefs.h <<_ACEOF
56535 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56536 _ACEOF
56537
56538 fi
56539 done
56540
56541 fi
56542 fi
56543
56544
56545
56546
56547
56548
56549 echo "$as_me:$LINENO: checking for hypot declaration" >&5
56550 echo $ECHO_N "checking for hypot declaration... $ECHO_C" >&6
56551 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
56552 if test "${glibcxx_cv_func_hypot_use+set}" = set; then
56553 echo $ECHO_N "(cached) $ECHO_C" >&6
56554 else
56555
56556
56557
56558 ac_ext=cc
56559 ac_cpp='$CXXCPP $CPPFLAGS'
56560 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56561 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56562 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56563
56564 cat >conftest.$ac_ext <<_ACEOF
56565 /* confdefs.h. */
56566 _ACEOF
56567 cat confdefs.h >>conftest.$ac_ext
56568 cat >>conftest.$ac_ext <<_ACEOF
56569 /* end confdefs.h. */
56570 #include <math.h>
56571 int
56572 main ()
56573 {
56574 hypot(0, 0);
56575 ;
56576 return 0;
56577 }
56578 _ACEOF
56579 rm -f conftest.$ac_objext
56580 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56581 (eval $ac_compile) 2>conftest.er1
56582 ac_status=$?
56583 grep -v '^ *+' conftest.er1 >conftest.err
56584 rm -f conftest.er1
56585 cat conftest.err >&5
56586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56587 (exit $ac_status); } &&
56588 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
56589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56590 (eval $ac_try) 2>&5
56591 ac_status=$?
56592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56593 (exit $ac_status); }; } &&
56594 { ac_try='test -s conftest.$ac_objext'
56595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56596 (eval $ac_try) 2>&5
56597 ac_status=$?
56598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56599 (exit $ac_status); }; }; then
56600 glibcxx_cv_func_hypot_use=yes
56601 else
56602 echo "$as_me: failed program was:" >&5
56603 sed 's/^/| /' conftest.$ac_ext >&5
56604
56605 glibcxx_cv_func_hypot_use=no
56606 fi
56607 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56608 ac_ext=c
56609 ac_cpp='$CPP $CPPFLAGS'
56610 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56611 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56612 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56613
56614
56615 fi
56616
56617 fi
56618 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypot_use" >&5
56619 echo "${ECHO_T}$glibcxx_cv_func_hypot_use" >&6
56620
56621 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
56622
56623 for ac_func in hypot
56624 do
56625 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56626 echo "$as_me:$LINENO: checking for $ac_func" >&5
56627 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56628 if eval "test \"\${$as_ac_var+set}\" = set"; then
56629 echo $ECHO_N "(cached) $ECHO_C" >&6
56630 else
56631 if test x$gcc_no_link = xyes; then
56632 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56633 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56634 { (exit 1); exit 1; }; }
56635 fi
56636 cat >conftest.$ac_ext <<_ACEOF
56637 /* confdefs.h. */
56638 _ACEOF
56639 cat confdefs.h >>conftest.$ac_ext
56640 cat >>conftest.$ac_ext <<_ACEOF
56641 /* end confdefs.h. */
56642 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56643 For example, HP-UX 11i <limits.h> declares gettimeofday. */
56644 #define $ac_func innocuous_$ac_func
56645
56646 /* System header to define __stub macros and hopefully few prototypes,
56647 which can conflict with char $ac_func (); below.
56648 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56649 <limits.h> exists even on freestanding compilers. */
56650
56651 #ifdef __STDC__
56652 # include <limits.h>
56653 #else
56654 # include <assert.h>
56655 #endif
56656
56657 #undef $ac_func
56658
56659 /* Override any gcc2 internal prototype to avoid an error. */
56660 #ifdef __cplusplus
56661 extern "C"
56662 {
56663 #endif
56664 /* We use char because int might match the return type of a gcc2
56665 builtin and then its argument prototype would still apply. */
56666 char $ac_func ();
56667 /* The GNU C library defines this for functions which it implements
56668 to always fail with ENOSYS. Some functions are actually named
56669 something starting with __ and the normal name is an alias. */
56670 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56671 choke me
56672 #else
56673 char (*f) () = $ac_func;
56674 #endif
56675 #ifdef __cplusplus
56676 }
56677 #endif
56678
56679 int
56680 main ()
56681 {
56682 return f != $ac_func;
56683 ;
56684 return 0;
56685 }
56686 _ACEOF
56687 rm -f conftest.$ac_objext conftest$ac_exeext
56688 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56689 (eval $ac_link) 2>conftest.er1
56690 ac_status=$?
56691 grep -v '^ *+' conftest.er1 >conftest.err
56692 rm -f conftest.er1
56693 cat conftest.err >&5
56694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56695 (exit $ac_status); } &&
56696 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
56697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56698 (eval $ac_try) 2>&5
56699 ac_status=$?
56700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56701 (exit $ac_status); }; } &&
56702 { ac_try='test -s conftest$ac_exeext'
56703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56704 (eval $ac_try) 2>&5
56705 ac_status=$?
56706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56707 (exit $ac_status); }; }; then
56708 eval "$as_ac_var=yes"
56709 else
56710 echo "$as_me: failed program was:" >&5
56711 sed 's/^/| /' conftest.$ac_ext >&5
56712
56713 eval "$as_ac_var=no"
56714 fi
56715 rm -f conftest.err conftest.$ac_objext \
56716 conftest$ac_exeext conftest.$ac_ext
56717 fi
56718 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56719 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56720 if test `eval echo '${'$as_ac_var'}'` = yes; then
56721 cat >>confdefs.h <<_ACEOF
56722 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56723 _ACEOF
56724
56725 fi
56726 done
56727
56728 else
56729
56730 echo "$as_me:$LINENO: checking for _hypot declaration" >&5
56731 echo $ECHO_N "checking for _hypot declaration... $ECHO_C" >&6
56732 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
56733 if test "${glibcxx_cv_func__hypot_use+set}" = set; then
56734 echo $ECHO_N "(cached) $ECHO_C" >&6
56735 else
56736
56737
56738
56739 ac_ext=cc
56740 ac_cpp='$CXXCPP $CPPFLAGS'
56741 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56742 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56743 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56744
56745 cat >conftest.$ac_ext <<_ACEOF
56746 /* confdefs.h. */
56747 _ACEOF
56748 cat confdefs.h >>conftest.$ac_ext
56749 cat >>conftest.$ac_ext <<_ACEOF
56750 /* end confdefs.h. */
56751 #include <math.h>
56752 int
56753 main ()
56754 {
56755 _hypot(0, 0);
56756 ;
56757 return 0;
56758 }
56759 _ACEOF
56760 rm -f conftest.$ac_objext
56761 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56762 (eval $ac_compile) 2>conftest.er1
56763 ac_status=$?
56764 grep -v '^ *+' conftest.er1 >conftest.err
56765 rm -f conftest.er1
56766 cat conftest.err >&5
56767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56768 (exit $ac_status); } &&
56769 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
56770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56771 (eval $ac_try) 2>&5
56772 ac_status=$?
56773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56774 (exit $ac_status); }; } &&
56775 { ac_try='test -s conftest.$ac_objext'
56776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56777 (eval $ac_try) 2>&5
56778 ac_status=$?
56779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56780 (exit $ac_status); }; }; then
56781 glibcxx_cv_func__hypot_use=yes
56782 else
56783 echo "$as_me: failed program was:" >&5
56784 sed 's/^/| /' conftest.$ac_ext >&5
56785
56786 glibcxx_cv_func__hypot_use=no
56787 fi
56788 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56789 ac_ext=c
56790 ac_cpp='$CPP $CPPFLAGS'
56791 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56792 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56793 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56794
56795
56796 fi
56797
56798 fi
56799 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypot_use" >&5
56800 echo "${ECHO_T}$glibcxx_cv_func__hypot_use" >&6
56801
56802 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
56803
56804 for ac_func in _hypot
56805 do
56806 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56807 echo "$as_me:$LINENO: checking for $ac_func" >&5
56808 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56809 if eval "test \"\${$as_ac_var+set}\" = set"; then
56810 echo $ECHO_N "(cached) $ECHO_C" >&6
56811 else
56812 if test x$gcc_no_link = xyes; then
56813 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56814 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56815 { (exit 1); exit 1; }; }
56816 fi
56817 cat >conftest.$ac_ext <<_ACEOF
56818 /* confdefs.h. */
56819 _ACEOF
56820 cat confdefs.h >>conftest.$ac_ext
56821 cat >>conftest.$ac_ext <<_ACEOF
56822 /* end confdefs.h. */
56823 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56824 For example, HP-UX 11i <limits.h> declares gettimeofday. */
56825 #define $ac_func innocuous_$ac_func
56826
56827 /* System header to define __stub macros and hopefully few prototypes,
56828 which can conflict with char $ac_func (); below.
56829 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56830 <limits.h> exists even on freestanding compilers. */
56831
56832 #ifdef __STDC__
56833 # include <limits.h>
56834 #else
56835 # include <assert.h>
56836 #endif
56837
56838 #undef $ac_func
56839
56840 /* Override any gcc2 internal prototype to avoid an error. */
56841 #ifdef __cplusplus
56842 extern "C"
56843 {
56844 #endif
56845 /* We use char because int might match the return type of a gcc2
56846 builtin and then its argument prototype would still apply. */
56847 char $ac_func ();
56848 /* The GNU C library defines this for functions which it implements
56849 to always fail with ENOSYS. Some functions are actually named
56850 something starting with __ and the normal name is an alias. */
56851 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56852 choke me
56853 #else
56854 char (*f) () = $ac_func;
56855 #endif
56856 #ifdef __cplusplus
56857 }
56858 #endif
56859
56860 int
56861 main ()
56862 {
56863 return f != $ac_func;
56864 ;
56865 return 0;
56866 }
56867 _ACEOF
56868 rm -f conftest.$ac_objext conftest$ac_exeext
56869 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56870 (eval $ac_link) 2>conftest.er1
56871 ac_status=$?
56872 grep -v '^ *+' conftest.er1 >conftest.err
56873 rm -f conftest.er1
56874 cat conftest.err >&5
56875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56876 (exit $ac_status); } &&
56877 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
56878 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56879 (eval $ac_try) 2>&5
56880 ac_status=$?
56881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56882 (exit $ac_status); }; } &&
56883 { ac_try='test -s conftest$ac_exeext'
56884 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56885 (eval $ac_try) 2>&5
56886 ac_status=$?
56887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56888 (exit $ac_status); }; }; then
56889 eval "$as_ac_var=yes"
56890 else
56891 echo "$as_me: failed program was:" >&5
56892 sed 's/^/| /' conftest.$ac_ext >&5
56893
56894 eval "$as_ac_var=no"
56895 fi
56896 rm -f conftest.err conftest.$ac_objext \
56897 conftest$ac_exeext conftest.$ac_ext
56898 fi
56899 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56900 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56901 if test `eval echo '${'$as_ac_var'}'` = yes; then
56902 cat >>confdefs.h <<_ACEOF
56903 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56904 _ACEOF
56905
56906 fi
56907 done
56908
56909 fi
56910 fi
56911
56912
56913
56914
56915
56916
56917 echo "$as_me:$LINENO: checking for float trig functions" >&5
56918 echo $ECHO_N "checking for float trig functions... $ECHO_C" >&6
56919 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then
56920 echo $ECHO_N "(cached) $ECHO_C" >&6
56921 else
56922
56923
56924
56925 ac_ext=cc
56926 ac_cpp='$CXXCPP $CPPFLAGS'
56927 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56928 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56929 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56930
56931 cat >conftest.$ac_ext <<_ACEOF
56932 /* confdefs.h. */
56933 _ACEOF
56934 cat confdefs.h >>conftest.$ac_ext
56935 cat >>conftest.$ac_ext <<_ACEOF
56936 /* end confdefs.h. */
56937 #include <math.h>
56938 int
56939 main ()
56940 {
56941 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
56942 ;
56943 return 0;
56944 }
56945 _ACEOF
56946 rm -f conftest.$ac_objext
56947 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56948 (eval $ac_compile) 2>conftest.er1
56949 ac_status=$?
56950 grep -v '^ *+' conftest.er1 >conftest.err
56951 rm -f conftest.er1
56952 cat conftest.err >&5
56953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56954 (exit $ac_status); } &&
56955 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
56956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56957 (eval $ac_try) 2>&5
56958 ac_status=$?
56959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56960 (exit $ac_status); }; } &&
56961 { ac_try='test -s conftest.$ac_objext'
56962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56963 (eval $ac_try) 2>&5
56964 ac_status=$?
56965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56966 (exit $ac_status); }; }; then
56967 glibcxx_cv_func_float_trig_use=yes
56968 else
56969 echo "$as_me: failed program was:" >&5
56970 sed 's/^/| /' conftest.$ac_ext >&5
56971
56972 glibcxx_cv_func_float_trig_use=no
56973 fi
56974 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56975 ac_ext=c
56976 ac_cpp='$CPP $CPPFLAGS'
56977 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56978 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56979 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56980
56981 fi
56982
56983 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_trig_use" >&5
56984 echo "${ECHO_T}$glibcxx_cv_func_float_trig_use" >&6
56985 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
56986
56987
56988
56989
56990
56991
56992
56993
56994
56995 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
56996 do
56997 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56998 echo "$as_me:$LINENO: checking for $ac_func" >&5
56999 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57000 if eval "test \"\${$as_ac_var+set}\" = set"; then
57001 echo $ECHO_N "(cached) $ECHO_C" >&6
57002 else
57003 if test x$gcc_no_link = xyes; then
57004 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57005 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57006 { (exit 1); exit 1; }; }
57007 fi
57008 cat >conftest.$ac_ext <<_ACEOF
57009 /* confdefs.h. */
57010 _ACEOF
57011 cat confdefs.h >>conftest.$ac_ext
57012 cat >>conftest.$ac_ext <<_ACEOF
57013 /* end confdefs.h. */
57014 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57015 For example, HP-UX 11i <limits.h> declares gettimeofday. */
57016 #define $ac_func innocuous_$ac_func
57017
57018 /* System header to define __stub macros and hopefully few prototypes,
57019 which can conflict with char $ac_func (); below.
57020 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57021 <limits.h> exists even on freestanding compilers. */
57022
57023 #ifdef __STDC__
57024 # include <limits.h>
57025 #else
57026 # include <assert.h>
57027 #endif
57028
57029 #undef $ac_func
57030
57031 /* Override any gcc2 internal prototype to avoid an error. */
57032 #ifdef __cplusplus
57033 extern "C"
57034 {
57035 #endif
57036 /* We use char because int might match the return type of a gcc2
57037 builtin and then its argument prototype would still apply. */
57038 char $ac_func ();
57039 /* The GNU C library defines this for functions which it implements
57040 to always fail with ENOSYS. Some functions are actually named
57041 something starting with __ and the normal name is an alias. */
57042 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57043 choke me
57044 #else
57045 char (*f) () = $ac_func;
57046 #endif
57047 #ifdef __cplusplus
57048 }
57049 #endif
57050
57051 int
57052 main ()
57053 {
57054 return f != $ac_func;
57055 ;
57056 return 0;
57057 }
57058 _ACEOF
57059 rm -f conftest.$ac_objext conftest$ac_exeext
57060 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57061 (eval $ac_link) 2>conftest.er1
57062 ac_status=$?
57063 grep -v '^ *+' conftest.er1 >conftest.err
57064 rm -f conftest.er1
57065 cat conftest.err >&5
57066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57067 (exit $ac_status); } &&
57068 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
57069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57070 (eval $ac_try) 2>&5
57071 ac_status=$?
57072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57073 (exit $ac_status); }; } &&
57074 { ac_try='test -s conftest$ac_exeext'
57075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57076 (eval $ac_try) 2>&5
57077 ac_status=$?
57078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57079 (exit $ac_status); }; }; then
57080 eval "$as_ac_var=yes"
57081 else
57082 echo "$as_me: failed program was:" >&5
57083 sed 's/^/| /' conftest.$ac_ext >&5
57084
57085 eval "$as_ac_var=no"
57086 fi
57087 rm -f conftest.err conftest.$ac_objext \
57088 conftest$ac_exeext conftest.$ac_ext
57089 fi
57090 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57091 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57092 if test `eval echo '${'$as_ac_var'}'` = yes; then
57093 cat >>confdefs.h <<_ACEOF
57094 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57095 _ACEOF
57096
57097 fi
57098 done
57099
57100 else
57101 echo "$as_me:$LINENO: checking for _float trig functions" >&5
57102 echo $ECHO_N "checking for _float trig functions... $ECHO_C" >&6
57103 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then
57104 echo $ECHO_N "(cached) $ECHO_C" >&6
57105 else
57106
57107
57108
57109 ac_ext=cc
57110 ac_cpp='$CXXCPP $CPPFLAGS'
57111 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57112 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57113 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57114
57115 cat >conftest.$ac_ext <<_ACEOF
57116 /* confdefs.h. */
57117 _ACEOF
57118 cat confdefs.h >>conftest.$ac_ext
57119 cat >>conftest.$ac_ext <<_ACEOF
57120 /* end confdefs.h. */
57121 #include <math.h>
57122 int
57123 main ()
57124 {
57125 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
57126 ;
57127 return 0;
57128 }
57129 _ACEOF
57130 rm -f conftest.$ac_objext
57131 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57132 (eval $ac_compile) 2>conftest.er1
57133 ac_status=$?
57134 grep -v '^ *+' conftest.er1 >conftest.err
57135 rm -f conftest.er1
57136 cat conftest.err >&5
57137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57138 (exit $ac_status); } &&
57139 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
57140 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57141 (eval $ac_try) 2>&5
57142 ac_status=$?
57143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57144 (exit $ac_status); }; } &&
57145 { ac_try='test -s conftest.$ac_objext'
57146 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57147 (eval $ac_try) 2>&5
57148 ac_status=$?
57149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57150 (exit $ac_status); }; }; then
57151 glibcxx_cv_func__float_trig_use=yes
57152 else
57153 echo "$as_me: failed program was:" >&5
57154 sed 's/^/| /' conftest.$ac_ext >&5
57155
57156 glibcxx_cv_func__float_trig_use=no
57157 fi
57158 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57159 ac_ext=c
57160 ac_cpp='$CPP $CPPFLAGS'
57161 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57162 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57163 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57164
57165 fi
57166
57167 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_trig_use" >&5
57168 echo "${ECHO_T}$glibcxx_cv_func__float_trig_use" >&6
57169 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
57170
57171
57172
57173
57174
57175
57176
57177
57178
57179 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
57180 do
57181 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57182 echo "$as_me:$LINENO: checking for $ac_func" >&5
57183 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57184 if eval "test \"\${$as_ac_var+set}\" = set"; then
57185 echo $ECHO_N "(cached) $ECHO_C" >&6
57186 else
57187 if test x$gcc_no_link = xyes; then
57188 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57189 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57190 { (exit 1); exit 1; }; }
57191 fi
57192 cat >conftest.$ac_ext <<_ACEOF
57193 /* confdefs.h. */
57194 _ACEOF
57195 cat confdefs.h >>conftest.$ac_ext
57196 cat >>conftest.$ac_ext <<_ACEOF
57197 /* end confdefs.h. */
57198 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57199 For example, HP-UX 11i <limits.h> declares gettimeofday. */
57200 #define $ac_func innocuous_$ac_func
57201
57202 /* System header to define __stub macros and hopefully few prototypes,
57203 which can conflict with char $ac_func (); below.
57204 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57205 <limits.h> exists even on freestanding compilers. */
57206
57207 #ifdef __STDC__
57208 # include <limits.h>
57209 #else
57210 # include <assert.h>
57211 #endif
57212
57213 #undef $ac_func
57214
57215 /* Override any gcc2 internal prototype to avoid an error. */
57216 #ifdef __cplusplus
57217 extern "C"
57218 {
57219 #endif
57220 /* We use char because int might match the return type of a gcc2
57221 builtin and then its argument prototype would still apply. */
57222 char $ac_func ();
57223 /* The GNU C library defines this for functions which it implements
57224 to always fail with ENOSYS. Some functions are actually named
57225 something starting with __ and the normal name is an alias. */
57226 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57227 choke me
57228 #else
57229 char (*f) () = $ac_func;
57230 #endif
57231 #ifdef __cplusplus
57232 }
57233 #endif
57234
57235 int
57236 main ()
57237 {
57238 return f != $ac_func;
57239 ;
57240 return 0;
57241 }
57242 _ACEOF
57243 rm -f conftest.$ac_objext conftest$ac_exeext
57244 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57245 (eval $ac_link) 2>conftest.er1
57246 ac_status=$?
57247 grep -v '^ *+' conftest.er1 >conftest.err
57248 rm -f conftest.er1
57249 cat conftest.err >&5
57250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57251 (exit $ac_status); } &&
57252 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
57253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57254 (eval $ac_try) 2>&5
57255 ac_status=$?
57256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57257 (exit $ac_status); }; } &&
57258 { ac_try='test -s conftest$ac_exeext'
57259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57260 (eval $ac_try) 2>&5
57261 ac_status=$?
57262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57263 (exit $ac_status); }; }; then
57264 eval "$as_ac_var=yes"
57265 else
57266 echo "$as_me: failed program was:" >&5
57267 sed 's/^/| /' conftest.$ac_ext >&5
57268
57269 eval "$as_ac_var=no"
57270 fi
57271 rm -f conftest.err conftest.$ac_objext \
57272 conftest$ac_exeext conftest.$ac_ext
57273 fi
57274 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57275 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57276 if test `eval echo '${'$as_ac_var'}'` = yes; then
57277 cat >>confdefs.h <<_ACEOF
57278 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57279 _ACEOF
57280
57281 fi
57282 done
57283
57284 fi
57285 fi
57286
57287
57288
57289
57290
57291
57292
57293
57294
57295
57296
57297
57298
57299
57300 echo "$as_me:$LINENO: checking for float round functions" >&5
57301 echo $ECHO_N "checking for float round functions... $ECHO_C" >&6
57302 if test "${glibcxx_cv_func_float_round_use+set}" = set; then
57303 echo $ECHO_N "(cached) $ECHO_C" >&6
57304 else
57305
57306
57307
57308 ac_ext=cc
57309 ac_cpp='$CXXCPP $CPPFLAGS'
57310 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57311 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57312 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57313
57314 cat >conftest.$ac_ext <<_ACEOF
57315 /* confdefs.h. */
57316 _ACEOF
57317 cat confdefs.h >>conftest.$ac_ext
57318 cat >>conftest.$ac_ext <<_ACEOF
57319 /* end confdefs.h. */
57320 #include <math.h>
57321 int
57322 main ()
57323 {
57324 ceilf (0); floorf (0);
57325 ;
57326 return 0;
57327 }
57328 _ACEOF
57329 rm -f conftest.$ac_objext
57330 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57331 (eval $ac_compile) 2>conftest.er1
57332 ac_status=$?
57333 grep -v '^ *+' conftest.er1 >conftest.err
57334 rm -f conftest.er1
57335 cat conftest.err >&5
57336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57337 (exit $ac_status); } &&
57338 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
57339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57340 (eval $ac_try) 2>&5
57341 ac_status=$?
57342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57343 (exit $ac_status); }; } &&
57344 { ac_try='test -s conftest.$ac_objext'
57345 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57346 (eval $ac_try) 2>&5
57347 ac_status=$?
57348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57349 (exit $ac_status); }; }; then
57350 glibcxx_cv_func_float_round_use=yes
57351 else
57352 echo "$as_me: failed program was:" >&5
57353 sed 's/^/| /' conftest.$ac_ext >&5
57354
57355 glibcxx_cv_func_float_round_use=no
57356 fi
57357 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57358 ac_ext=c
57359 ac_cpp='$CPP $CPPFLAGS'
57360 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57361 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57362 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57363
57364 fi
57365
57366 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_round_use" >&5
57367 echo "${ECHO_T}$glibcxx_cv_func_float_round_use" >&6
57368 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
57369
57370
57371 for ac_func in ceilf floorf
57372 do
57373 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57374 echo "$as_me:$LINENO: checking for $ac_func" >&5
57375 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57376 if eval "test \"\${$as_ac_var+set}\" = set"; then
57377 echo $ECHO_N "(cached) $ECHO_C" >&6
57378 else
57379 if test x$gcc_no_link = xyes; then
57380 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57381 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57382 { (exit 1); exit 1; }; }
57383 fi
57384 cat >conftest.$ac_ext <<_ACEOF
57385 /* confdefs.h. */
57386 _ACEOF
57387 cat confdefs.h >>conftest.$ac_ext
57388 cat >>conftest.$ac_ext <<_ACEOF
57389 /* end confdefs.h. */
57390 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57391 For example, HP-UX 11i <limits.h> declares gettimeofday. */
57392 #define $ac_func innocuous_$ac_func
57393
57394 /* System header to define __stub macros and hopefully few prototypes,
57395 which can conflict with char $ac_func (); below.
57396 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57397 <limits.h> exists even on freestanding compilers. */
57398
57399 #ifdef __STDC__
57400 # include <limits.h>
57401 #else
57402 # include <assert.h>
57403 #endif
57404
57405 #undef $ac_func
57406
57407 /* Override any gcc2 internal prototype to avoid an error. */
57408 #ifdef __cplusplus
57409 extern "C"
57410 {
57411 #endif
57412 /* We use char because int might match the return type of a gcc2
57413 builtin and then its argument prototype would still apply. */
57414 char $ac_func ();
57415 /* The GNU C library defines this for functions which it implements
57416 to always fail with ENOSYS. Some functions are actually named
57417 something starting with __ and the normal name is an alias. */
57418 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57419 choke me
57420 #else
57421 char (*f) () = $ac_func;
57422 #endif
57423 #ifdef __cplusplus
57424 }
57425 #endif
57426
57427 int
57428 main ()
57429 {
57430 return f != $ac_func;
57431 ;
57432 return 0;
57433 }
57434 _ACEOF
57435 rm -f conftest.$ac_objext conftest$ac_exeext
57436 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57437 (eval $ac_link) 2>conftest.er1
57438 ac_status=$?
57439 grep -v '^ *+' conftest.er1 >conftest.err
57440 rm -f conftest.er1
57441 cat conftest.err >&5
57442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57443 (exit $ac_status); } &&
57444 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
57445 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57446 (eval $ac_try) 2>&5
57447 ac_status=$?
57448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57449 (exit $ac_status); }; } &&
57450 { ac_try='test -s conftest$ac_exeext'
57451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57452 (eval $ac_try) 2>&5
57453 ac_status=$?
57454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57455 (exit $ac_status); }; }; then
57456 eval "$as_ac_var=yes"
57457 else
57458 echo "$as_me: failed program was:" >&5
57459 sed 's/^/| /' conftest.$ac_ext >&5
57460
57461 eval "$as_ac_var=no"
57462 fi
57463 rm -f conftest.err conftest.$ac_objext \
57464 conftest$ac_exeext conftest.$ac_ext
57465 fi
57466 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57467 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57468 if test `eval echo '${'$as_ac_var'}'` = yes; then
57469 cat >>confdefs.h <<_ACEOF
57470 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57471 _ACEOF
57472
57473 fi
57474 done
57475
57476 else
57477 echo "$as_me:$LINENO: checking for _float round functions" >&5
57478 echo $ECHO_N "checking for _float round functions... $ECHO_C" >&6
57479 if test "${glibcxx_cv_func__float_round_use+set}" = set; then
57480 echo $ECHO_N "(cached) $ECHO_C" >&6
57481 else
57482
57483
57484
57485 ac_ext=cc
57486 ac_cpp='$CXXCPP $CPPFLAGS'
57487 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57488 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57489 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57490
57491 cat >conftest.$ac_ext <<_ACEOF
57492 /* confdefs.h. */
57493 _ACEOF
57494 cat confdefs.h >>conftest.$ac_ext
57495 cat >>conftest.$ac_ext <<_ACEOF
57496 /* end confdefs.h. */
57497 #include <math.h>
57498 int
57499 main ()
57500 {
57501 _ceilf (0); _floorf (0);
57502 ;
57503 return 0;
57504 }
57505 _ACEOF
57506 rm -f conftest.$ac_objext
57507 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57508 (eval $ac_compile) 2>conftest.er1
57509 ac_status=$?
57510 grep -v '^ *+' conftest.er1 >conftest.err
57511 rm -f conftest.er1
57512 cat conftest.err >&5
57513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57514 (exit $ac_status); } &&
57515 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
57516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57517 (eval $ac_try) 2>&5
57518 ac_status=$?
57519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57520 (exit $ac_status); }; } &&
57521 { ac_try='test -s conftest.$ac_objext'
57522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57523 (eval $ac_try) 2>&5
57524 ac_status=$?
57525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57526 (exit $ac_status); }; }; then
57527 glibcxx_cv_func__float_round_use=yes
57528 else
57529 echo "$as_me: failed program was:" >&5
57530 sed 's/^/| /' conftest.$ac_ext >&5
57531
57532 glibcxx_cv_func__float_round_use=no
57533 fi
57534 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57535 ac_ext=c
57536 ac_cpp='$CPP $CPPFLAGS'
57537 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57538 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57539 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57540
57541 fi
57542
57543 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_round_use" >&5
57544 echo "${ECHO_T}$glibcxx_cv_func__float_round_use" >&6
57545 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
57546
57547
57548 for ac_func in _ceilf _floorf
57549 do
57550 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57551 echo "$as_me:$LINENO: checking for $ac_func" >&5
57552 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57553 if eval "test \"\${$as_ac_var+set}\" = set"; then
57554 echo $ECHO_N "(cached) $ECHO_C" >&6
57555 else
57556 if test x$gcc_no_link = xyes; then
57557 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57558 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57559 { (exit 1); exit 1; }; }
57560 fi
57561 cat >conftest.$ac_ext <<_ACEOF
57562 /* confdefs.h. */
57563 _ACEOF
57564 cat confdefs.h >>conftest.$ac_ext
57565 cat >>conftest.$ac_ext <<_ACEOF
57566 /* end confdefs.h. */
57567 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57568 For example, HP-UX 11i <limits.h> declares gettimeofday. */
57569 #define $ac_func innocuous_$ac_func
57570
57571 /* System header to define __stub macros and hopefully few prototypes,
57572 which can conflict with char $ac_func (); below.
57573 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57574 <limits.h> exists even on freestanding compilers. */
57575
57576 #ifdef __STDC__
57577 # include <limits.h>
57578 #else
57579 # include <assert.h>
57580 #endif
57581
57582 #undef $ac_func
57583
57584 /* Override any gcc2 internal prototype to avoid an error. */
57585 #ifdef __cplusplus
57586 extern "C"
57587 {
57588 #endif
57589 /* We use char because int might match the return type of a gcc2
57590 builtin and then its argument prototype would still apply. */
57591 char $ac_func ();
57592 /* The GNU C library defines this for functions which it implements
57593 to always fail with ENOSYS. Some functions are actually named
57594 something starting with __ and the normal name is an alias. */
57595 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57596 choke me
57597 #else
57598 char (*f) () = $ac_func;
57599 #endif
57600 #ifdef __cplusplus
57601 }
57602 #endif
57603
57604 int
57605 main ()
57606 {
57607 return f != $ac_func;
57608 ;
57609 return 0;
57610 }
57611 _ACEOF
57612 rm -f conftest.$ac_objext conftest$ac_exeext
57613 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57614 (eval $ac_link) 2>conftest.er1
57615 ac_status=$?
57616 grep -v '^ *+' conftest.er1 >conftest.err
57617 rm -f conftest.er1
57618 cat conftest.err >&5
57619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57620 (exit $ac_status); } &&
57621 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
57622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57623 (eval $ac_try) 2>&5
57624 ac_status=$?
57625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57626 (exit $ac_status); }; } &&
57627 { ac_try='test -s conftest$ac_exeext'
57628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57629 (eval $ac_try) 2>&5
57630 ac_status=$?
57631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57632 (exit $ac_status); }; }; then
57633 eval "$as_ac_var=yes"
57634 else
57635 echo "$as_me: failed program was:" >&5
57636 sed 's/^/| /' conftest.$ac_ext >&5
57637
57638 eval "$as_ac_var=no"
57639 fi
57640 rm -f conftest.err conftest.$ac_objext \
57641 conftest$ac_exeext conftest.$ac_ext
57642 fi
57643 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57644 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57645 if test `eval echo '${'$as_ac_var'}'` = yes; then
57646 cat >>confdefs.h <<_ACEOF
57647 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57648 _ACEOF
57649
57650 fi
57651 done
57652
57653 fi
57654 fi
57655
57656
57657
57658
57659
57660
57661
57662
57663 echo "$as_me:$LINENO: checking for expf declaration" >&5
57664 echo $ECHO_N "checking for expf declaration... $ECHO_C" >&6
57665 if test x${glibcxx_cv_func_expf_use+set} != xset; then
57666 if test "${glibcxx_cv_func_expf_use+set}" = set; then
57667 echo $ECHO_N "(cached) $ECHO_C" >&6
57668 else
57669
57670
57671
57672 ac_ext=cc
57673 ac_cpp='$CXXCPP $CPPFLAGS'
57674 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57675 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57676 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57677
57678 cat >conftest.$ac_ext <<_ACEOF
57679 /* confdefs.h. */
57680 _ACEOF
57681 cat confdefs.h >>conftest.$ac_ext
57682 cat >>conftest.$ac_ext <<_ACEOF
57683 /* end confdefs.h. */
57684 #include <math.h>
57685 #ifdef HAVE_IEEEFP_H
57686 #include <ieeefp.h>
57687 #endif
57688
57689 int
57690 main ()
57691 {
57692 expf(0);
57693 ;
57694 return 0;
57695 }
57696 _ACEOF
57697 rm -f conftest.$ac_objext
57698 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57699 (eval $ac_compile) 2>conftest.er1
57700 ac_status=$?
57701 grep -v '^ *+' conftest.er1 >conftest.err
57702 rm -f conftest.er1
57703 cat conftest.err >&5
57704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57705 (exit $ac_status); } &&
57706 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
57707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57708 (eval $ac_try) 2>&5
57709 ac_status=$?
57710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57711 (exit $ac_status); }; } &&
57712 { ac_try='test -s conftest.$ac_objext'
57713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57714 (eval $ac_try) 2>&5
57715 ac_status=$?
57716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57717 (exit $ac_status); }; }; then
57718 glibcxx_cv_func_expf_use=yes
57719 else
57720 echo "$as_me: failed program was:" >&5
57721 sed 's/^/| /' conftest.$ac_ext >&5
57722
57723 glibcxx_cv_func_expf_use=no
57724 fi
57725 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57726 ac_ext=c
57727 ac_cpp='$CPP $CPPFLAGS'
57728 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57729 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57730 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57731
57732
57733 fi
57734
57735 fi
57736 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expf_use" >&5
57737 echo "${ECHO_T}$glibcxx_cv_func_expf_use" >&6
57738
57739 if test x$glibcxx_cv_func_expf_use = x"yes"; then
57740
57741 for ac_func in expf
57742 do
57743 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57744 echo "$as_me:$LINENO: checking for $ac_func" >&5
57745 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57746 if eval "test \"\${$as_ac_var+set}\" = set"; then
57747 echo $ECHO_N "(cached) $ECHO_C" >&6
57748 else
57749 if test x$gcc_no_link = xyes; then
57750 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57751 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57752 { (exit 1); exit 1; }; }
57753 fi
57754 cat >conftest.$ac_ext <<_ACEOF
57755 /* confdefs.h. */
57756 _ACEOF
57757 cat confdefs.h >>conftest.$ac_ext
57758 cat >>conftest.$ac_ext <<_ACEOF
57759 /* end confdefs.h. */
57760 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57761 For example, HP-UX 11i <limits.h> declares gettimeofday. */
57762 #define $ac_func innocuous_$ac_func
57763
57764 /* System header to define __stub macros and hopefully few prototypes,
57765 which can conflict with char $ac_func (); below.
57766 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57767 <limits.h> exists even on freestanding compilers. */
57768
57769 #ifdef __STDC__
57770 # include <limits.h>
57771 #else
57772 # include <assert.h>
57773 #endif
57774
57775 #undef $ac_func
57776
57777 /* Override any gcc2 internal prototype to avoid an error. */
57778 #ifdef __cplusplus
57779 extern "C"
57780 {
57781 #endif
57782 /* We use char because int might match the return type of a gcc2
57783 builtin and then its argument prototype would still apply. */
57784 char $ac_func ();
57785 /* The GNU C library defines this for functions which it implements
57786 to always fail with ENOSYS. Some functions are actually named
57787 something starting with __ and the normal name is an alias. */
57788 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57789 choke me
57790 #else
57791 char (*f) () = $ac_func;
57792 #endif
57793 #ifdef __cplusplus
57794 }
57795 #endif
57796
57797 int
57798 main ()
57799 {
57800 return f != $ac_func;
57801 ;
57802 return 0;
57803 }
57804 _ACEOF
57805 rm -f conftest.$ac_objext conftest$ac_exeext
57806 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57807 (eval $ac_link) 2>conftest.er1
57808 ac_status=$?
57809 grep -v '^ *+' conftest.er1 >conftest.err
57810 rm -f conftest.er1
57811 cat conftest.err >&5
57812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57813 (exit $ac_status); } &&
57814 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
57815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57816 (eval $ac_try) 2>&5
57817 ac_status=$?
57818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57819 (exit $ac_status); }; } &&
57820 { ac_try='test -s conftest$ac_exeext'
57821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57822 (eval $ac_try) 2>&5
57823 ac_status=$?
57824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57825 (exit $ac_status); }; }; then
57826 eval "$as_ac_var=yes"
57827 else
57828 echo "$as_me: failed program was:" >&5
57829 sed 's/^/| /' conftest.$ac_ext >&5
57830
57831 eval "$as_ac_var=no"
57832 fi
57833 rm -f conftest.err conftest.$ac_objext \
57834 conftest$ac_exeext conftest.$ac_ext
57835 fi
57836 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57837 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57838 if test `eval echo '${'$as_ac_var'}'` = yes; then
57839 cat >>confdefs.h <<_ACEOF
57840 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57841 _ACEOF
57842
57843 fi
57844 done
57845
57846 else
57847
57848 echo "$as_me:$LINENO: checking for _expf declaration" >&5
57849 echo $ECHO_N "checking for _expf declaration... $ECHO_C" >&6
57850 if test x${glibcxx_cv_func__expf_use+set} != xset; then
57851 if test "${glibcxx_cv_func__expf_use+set}" = set; then
57852 echo $ECHO_N "(cached) $ECHO_C" >&6
57853 else
57854
57855
57856
57857 ac_ext=cc
57858 ac_cpp='$CXXCPP $CPPFLAGS'
57859 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57860 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57861 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57862
57863 cat >conftest.$ac_ext <<_ACEOF
57864 /* confdefs.h. */
57865 _ACEOF
57866 cat confdefs.h >>conftest.$ac_ext
57867 cat >>conftest.$ac_ext <<_ACEOF
57868 /* end confdefs.h. */
57869 #include <math.h>
57870 #ifdef HAVE_IEEEFP_H
57871 #include <ieeefp.h>
57872 #endif
57873
57874 int
57875 main ()
57876 {
57877 _expf(0);
57878 ;
57879 return 0;
57880 }
57881 _ACEOF
57882 rm -f conftest.$ac_objext
57883 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57884 (eval $ac_compile) 2>conftest.er1
57885 ac_status=$?
57886 grep -v '^ *+' conftest.er1 >conftest.err
57887 rm -f conftest.er1
57888 cat conftest.err >&5
57889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57890 (exit $ac_status); } &&
57891 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
57892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57893 (eval $ac_try) 2>&5
57894 ac_status=$?
57895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57896 (exit $ac_status); }; } &&
57897 { ac_try='test -s conftest.$ac_objext'
57898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57899 (eval $ac_try) 2>&5
57900 ac_status=$?
57901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57902 (exit $ac_status); }; }; then
57903 glibcxx_cv_func__expf_use=yes
57904 else
57905 echo "$as_me: failed program was:" >&5
57906 sed 's/^/| /' conftest.$ac_ext >&5
57907
57908 glibcxx_cv_func__expf_use=no
57909 fi
57910 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57911 ac_ext=c
57912 ac_cpp='$CPP $CPPFLAGS'
57913 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57914 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57915 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57916
57917
57918 fi
57919
57920 fi
57921 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expf_use" >&5
57922 echo "${ECHO_T}$glibcxx_cv_func__expf_use" >&6
57923
57924 if test x$glibcxx_cv_func__expf_use = x"yes"; then
57925
57926 for ac_func in _expf
57927 do
57928 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57929 echo "$as_me:$LINENO: checking for $ac_func" >&5
57930 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57931 if eval "test \"\${$as_ac_var+set}\" = set"; then
57932 echo $ECHO_N "(cached) $ECHO_C" >&6
57933 else
57934 if test x$gcc_no_link = xyes; then
57935 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57936 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57937 { (exit 1); exit 1; }; }
57938 fi
57939 cat >conftest.$ac_ext <<_ACEOF
57940 /* confdefs.h. */
57941 _ACEOF
57942 cat confdefs.h >>conftest.$ac_ext
57943 cat >>conftest.$ac_ext <<_ACEOF
57944 /* end confdefs.h. */
57945 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57946 For example, HP-UX 11i <limits.h> declares gettimeofday. */
57947 #define $ac_func innocuous_$ac_func
57948
57949 /* System header to define __stub macros and hopefully few prototypes,
57950 which can conflict with char $ac_func (); below.
57951 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57952 <limits.h> exists even on freestanding compilers. */
57953
57954 #ifdef __STDC__
57955 # include <limits.h>
57956 #else
57957 # include <assert.h>
57958 #endif
57959
57960 #undef $ac_func
57961
57962 /* Override any gcc2 internal prototype to avoid an error. */
57963 #ifdef __cplusplus
57964 extern "C"
57965 {
57966 #endif
57967 /* We use char because int might match the return type of a gcc2
57968 builtin and then its argument prototype would still apply. */
57969 char $ac_func ();
57970 /* The GNU C library defines this for functions which it implements
57971 to always fail with ENOSYS. Some functions are actually named
57972 something starting with __ and the normal name is an alias. */
57973 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57974 choke me
57975 #else
57976 char (*f) () = $ac_func;
57977 #endif
57978 #ifdef __cplusplus
57979 }
57980 #endif
57981
57982 int
57983 main ()
57984 {
57985 return f != $ac_func;
57986 ;
57987 return 0;
57988 }
57989 _ACEOF
57990 rm -f conftest.$ac_objext conftest$ac_exeext
57991 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57992 (eval $ac_link) 2>conftest.er1
57993 ac_status=$?
57994 grep -v '^ *+' conftest.er1 >conftest.err
57995 rm -f conftest.er1
57996 cat conftest.err >&5
57997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57998 (exit $ac_status); } &&
57999 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
58000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58001 (eval $ac_try) 2>&5
58002 ac_status=$?
58003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58004 (exit $ac_status); }; } &&
58005 { ac_try='test -s conftest$ac_exeext'
58006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58007 (eval $ac_try) 2>&5
58008 ac_status=$?
58009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58010 (exit $ac_status); }; }; then
58011 eval "$as_ac_var=yes"
58012 else
58013 echo "$as_me: failed program was:" >&5
58014 sed 's/^/| /' conftest.$ac_ext >&5
58015
58016 eval "$as_ac_var=no"
58017 fi
58018 rm -f conftest.err conftest.$ac_objext \
58019 conftest$ac_exeext conftest.$ac_ext
58020 fi
58021 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58022 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58023 if test `eval echo '${'$as_ac_var'}'` = yes; then
58024 cat >>confdefs.h <<_ACEOF
58025 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58026 _ACEOF
58027
58028 fi
58029 done
58030
58031 fi
58032 fi
58033
58034
58035
58036
58037
58038
58039 echo "$as_me:$LINENO: checking for isnanf declaration" >&5
58040 echo $ECHO_N "checking for isnanf declaration... $ECHO_C" >&6
58041 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
58042 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then
58043 echo $ECHO_N "(cached) $ECHO_C" >&6
58044 else
58045
58046
58047
58048 ac_ext=cc
58049 ac_cpp='$CXXCPP $CPPFLAGS'
58050 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58051 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58052 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58053
58054 cat >conftest.$ac_ext <<_ACEOF
58055 /* confdefs.h. */
58056 _ACEOF
58057 cat confdefs.h >>conftest.$ac_ext
58058 cat >>conftest.$ac_ext <<_ACEOF
58059 /* end confdefs.h. */
58060 #include <math.h>
58061 #ifdef HAVE_IEEEFP_H
58062 #include <ieeefp.h>
58063 #endif
58064
58065 int
58066 main ()
58067 {
58068 isnanf(0);
58069 ;
58070 return 0;
58071 }
58072 _ACEOF
58073 rm -f conftest.$ac_objext
58074 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58075 (eval $ac_compile) 2>conftest.er1
58076 ac_status=$?
58077 grep -v '^ *+' conftest.er1 >conftest.err
58078 rm -f conftest.er1
58079 cat conftest.err >&5
58080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58081 (exit $ac_status); } &&
58082 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
58083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58084 (eval $ac_try) 2>&5
58085 ac_status=$?
58086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58087 (exit $ac_status); }; } &&
58088 { ac_try='test -s conftest.$ac_objext'
58089 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58090 (eval $ac_try) 2>&5
58091 ac_status=$?
58092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58093 (exit $ac_status); }; }; then
58094 glibcxx_cv_func_isnanf_use=yes
58095 else
58096 echo "$as_me: failed program was:" >&5
58097 sed 's/^/| /' conftest.$ac_ext >&5
58098
58099 glibcxx_cv_func_isnanf_use=no
58100 fi
58101 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58102 ac_ext=c
58103 ac_cpp='$CPP $CPPFLAGS'
58104 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58105 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58106 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58107
58108
58109 fi
58110
58111 fi
58112 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanf_use" >&5
58113 echo "${ECHO_T}$glibcxx_cv_func_isnanf_use" >&6
58114
58115 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
58116
58117 for ac_func in isnanf
58118 do
58119 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58120 echo "$as_me:$LINENO: checking for $ac_func" >&5
58121 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58122 if eval "test \"\${$as_ac_var+set}\" = set"; then
58123 echo $ECHO_N "(cached) $ECHO_C" >&6
58124 else
58125 if test x$gcc_no_link = xyes; then
58126 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58127 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58128 { (exit 1); exit 1; }; }
58129 fi
58130 cat >conftest.$ac_ext <<_ACEOF
58131 /* confdefs.h. */
58132 _ACEOF
58133 cat confdefs.h >>conftest.$ac_ext
58134 cat >>conftest.$ac_ext <<_ACEOF
58135 /* end confdefs.h. */
58136 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58137 For example, HP-UX 11i <limits.h> declares gettimeofday. */
58138 #define $ac_func innocuous_$ac_func
58139
58140 /* System header to define __stub macros and hopefully few prototypes,
58141 which can conflict with char $ac_func (); below.
58142 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58143 <limits.h> exists even on freestanding compilers. */
58144
58145 #ifdef __STDC__
58146 # include <limits.h>
58147 #else
58148 # include <assert.h>
58149 #endif
58150
58151 #undef $ac_func
58152
58153 /* Override any gcc2 internal prototype to avoid an error. */
58154 #ifdef __cplusplus
58155 extern "C"
58156 {
58157 #endif
58158 /* We use char because int might match the return type of a gcc2
58159 builtin and then its argument prototype would still apply. */
58160 char $ac_func ();
58161 /* The GNU C library defines this for functions which it implements
58162 to always fail with ENOSYS. Some functions are actually named
58163 something starting with __ and the normal name is an alias. */
58164 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58165 choke me
58166 #else
58167 char (*f) () = $ac_func;
58168 #endif
58169 #ifdef __cplusplus
58170 }
58171 #endif
58172
58173 int
58174 main ()
58175 {
58176 return f != $ac_func;
58177 ;
58178 return 0;
58179 }
58180 _ACEOF
58181 rm -f conftest.$ac_objext conftest$ac_exeext
58182 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58183 (eval $ac_link) 2>conftest.er1
58184 ac_status=$?
58185 grep -v '^ *+' conftest.er1 >conftest.err
58186 rm -f conftest.er1
58187 cat conftest.err >&5
58188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58189 (exit $ac_status); } &&
58190 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
58191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58192 (eval $ac_try) 2>&5
58193 ac_status=$?
58194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58195 (exit $ac_status); }; } &&
58196 { ac_try='test -s conftest$ac_exeext'
58197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58198 (eval $ac_try) 2>&5
58199 ac_status=$?
58200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58201 (exit $ac_status); }; }; then
58202 eval "$as_ac_var=yes"
58203 else
58204 echo "$as_me: failed program was:" >&5
58205 sed 's/^/| /' conftest.$ac_ext >&5
58206
58207 eval "$as_ac_var=no"
58208 fi
58209 rm -f conftest.err conftest.$ac_objext \
58210 conftest$ac_exeext conftest.$ac_ext
58211 fi
58212 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58213 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58214 if test `eval echo '${'$as_ac_var'}'` = yes; then
58215 cat >>confdefs.h <<_ACEOF
58216 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58217 _ACEOF
58218
58219 fi
58220 done
58221
58222 else
58223
58224 echo "$as_me:$LINENO: checking for _isnanf declaration" >&5
58225 echo $ECHO_N "checking for _isnanf declaration... $ECHO_C" >&6
58226 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
58227 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then
58228 echo $ECHO_N "(cached) $ECHO_C" >&6
58229 else
58230
58231
58232
58233 ac_ext=cc
58234 ac_cpp='$CXXCPP $CPPFLAGS'
58235 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58236 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58237 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58238
58239 cat >conftest.$ac_ext <<_ACEOF
58240 /* confdefs.h. */
58241 _ACEOF
58242 cat confdefs.h >>conftest.$ac_ext
58243 cat >>conftest.$ac_ext <<_ACEOF
58244 /* end confdefs.h. */
58245 #include <math.h>
58246 #ifdef HAVE_IEEEFP_H
58247 #include <ieeefp.h>
58248 #endif
58249
58250 int
58251 main ()
58252 {
58253 _isnanf(0);
58254 ;
58255 return 0;
58256 }
58257 _ACEOF
58258 rm -f conftest.$ac_objext
58259 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58260 (eval $ac_compile) 2>conftest.er1
58261 ac_status=$?
58262 grep -v '^ *+' conftest.er1 >conftest.err
58263 rm -f conftest.er1
58264 cat conftest.err >&5
58265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58266 (exit $ac_status); } &&
58267 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
58268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58269 (eval $ac_try) 2>&5
58270 ac_status=$?
58271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58272 (exit $ac_status); }; } &&
58273 { ac_try='test -s conftest.$ac_objext'
58274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58275 (eval $ac_try) 2>&5
58276 ac_status=$?
58277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58278 (exit $ac_status); }; }; then
58279 glibcxx_cv_func__isnanf_use=yes
58280 else
58281 echo "$as_me: failed program was:" >&5
58282 sed 's/^/| /' conftest.$ac_ext >&5
58283
58284 glibcxx_cv_func__isnanf_use=no
58285 fi
58286 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58287 ac_ext=c
58288 ac_cpp='$CPP $CPPFLAGS'
58289 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58290 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58291 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58292
58293
58294 fi
58295
58296 fi
58297 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanf_use" >&5
58298 echo "${ECHO_T}$glibcxx_cv_func__isnanf_use" >&6
58299
58300 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
58301
58302 for ac_func in _isnanf
58303 do
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; }; }
58314 fi
58315 cat >conftest.$ac_ext <<_ACEOF
58316 /* confdefs.h. */
58317 _ACEOF
58318 cat confdefs.h >>conftest.$ac_ext
58319 cat >>conftest.$ac_ext <<_ACEOF
58320 /* end confdefs.h. */
58321 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58322 For example, HP-UX 11i <limits.h> declares gettimeofday. */
58323 #define $ac_func innocuous_$ac_func
58324
58325 /* System header to define __stub macros and hopefully few prototypes,
58326 which can conflict with char $ac_func (); below.
58327 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58328 <limits.h> exists even on freestanding compilers. */
58329
58330 #ifdef __STDC__
58331 # include <limits.h>
58332 #else
58333 # include <assert.h>
58334 #endif
58335
58336 #undef $ac_func
58337
58338 /* Override any gcc2 internal prototype to avoid an error. */
58339 #ifdef __cplusplus
58340 extern "C"
58341 {
58342 #endif
58343 /* We use char because int might match the return type of a gcc2
58344 builtin and then its argument prototype would still apply. */
58345 char $ac_func ();
58346 /* The GNU C library defines this for functions which it implements
58347 to always fail with ENOSYS. Some functions are actually named
58348 something starting with __ and the normal name is an alias. */
58349 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58350 choke me
58351 #else
58352 char (*f) () = $ac_func;
58353 #endif
58354 #ifdef __cplusplus
58355 }
58356 #endif
58357
58358 int
58359 main ()
58360 {
58361 return f != $ac_func;
58362 ;
58363 return 0;
58364 }
58365 _ACEOF
58366 rm -f conftest.$ac_objext conftest$ac_exeext
58367 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58368 (eval $ac_link) 2>conftest.er1
58369 ac_status=$?
58370 grep -v '^ *+' conftest.er1 >conftest.err
58371 rm -f conftest.er1
58372 cat conftest.err >&5
58373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58374 (exit $ac_status); } &&
58375 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
58376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58377 (eval $ac_try) 2>&5
58378 ac_status=$?
58379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58380 (exit $ac_status); }; } &&
58381 { ac_try='test -s conftest$ac_exeext'
58382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58383 (eval $ac_try) 2>&5
58384 ac_status=$?
58385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58386 (exit $ac_status); }; }; then
58387 eval "$as_ac_var=yes"
58388 else
58389 echo "$as_me: failed program was:" >&5
58390 sed 's/^/| /' conftest.$ac_ext >&5
58391
58392 eval "$as_ac_var=no"
58393 fi
58394 rm -f conftest.err conftest.$ac_objext \
58395 conftest$ac_exeext conftest.$ac_ext
58396 fi
58397 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58398 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58399 if test `eval echo '${'$as_ac_var'}'` = yes; then
58400 cat >>confdefs.h <<_ACEOF
58401 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58402 _ACEOF
58403
58404 fi
58405 done
58406
58407 fi
58408 fi
58409
58410
58411
58412
58413
58414
58415 echo "$as_me:$LINENO: checking for isinff declaration" >&5
58416 echo $ECHO_N "checking for isinff declaration... $ECHO_C" >&6
58417 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
58418 if test "${glibcxx_cv_func_isinff_use+set}" = set; then
58419 echo $ECHO_N "(cached) $ECHO_C" >&6
58420 else
58421
58422
58423
58424 ac_ext=cc
58425 ac_cpp='$CXXCPP $CPPFLAGS'
58426 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58427 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58428 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58429
58430 cat >conftest.$ac_ext <<_ACEOF
58431 /* confdefs.h. */
58432 _ACEOF
58433 cat confdefs.h >>conftest.$ac_ext
58434 cat >>conftest.$ac_ext <<_ACEOF
58435 /* end confdefs.h. */
58436 #include <math.h>
58437 #ifdef HAVE_IEEEFP_H
58438 #include <ieeefp.h>
58439 #endif
58440
58441 int
58442 main ()
58443 {
58444 isinff(0);
58445 ;
58446 return 0;
58447 }
58448 _ACEOF
58449 rm -f conftest.$ac_objext
58450 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58451 (eval $ac_compile) 2>conftest.er1
58452 ac_status=$?
58453 grep -v '^ *+' conftest.er1 >conftest.err
58454 rm -f conftest.er1
58455 cat conftest.err >&5
58456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58457 (exit $ac_status); } &&
58458 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
58459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58460 (eval $ac_try) 2>&5
58461 ac_status=$?
58462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58463 (exit $ac_status); }; } &&
58464 { ac_try='test -s conftest.$ac_objext'
58465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58466 (eval $ac_try) 2>&5
58467 ac_status=$?
58468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58469 (exit $ac_status); }; }; then
58470 glibcxx_cv_func_isinff_use=yes
58471 else
58472 echo "$as_me: failed program was:" >&5
58473 sed 's/^/| /' conftest.$ac_ext >&5
58474
58475 glibcxx_cv_func_isinff_use=no
58476 fi
58477 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58478 ac_ext=c
58479 ac_cpp='$CPP $CPPFLAGS'
58480 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58481 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58482 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58483
58484
58485 fi
58486
58487 fi
58488 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinff_use" >&5
58489 echo "${ECHO_T}$glibcxx_cv_func_isinff_use" >&6
58490
58491 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
58492
58493 for ac_func in isinff
58494 do
58495 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58496 echo "$as_me:$LINENO: checking for $ac_func" >&5
58497 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58498 if eval "test \"\${$as_ac_var+set}\" = set"; then
58499 echo $ECHO_N "(cached) $ECHO_C" >&6
58500 else
58501 if test x$gcc_no_link = xyes; then
58502 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58503 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58504 { (exit 1); exit 1; }; }
58505 fi
58506 cat >conftest.$ac_ext <<_ACEOF
58507 /* confdefs.h. */
58508 _ACEOF
58509 cat confdefs.h >>conftest.$ac_ext
58510 cat >>conftest.$ac_ext <<_ACEOF
58511 /* end confdefs.h. */
58512 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58513 For example, HP-UX 11i <limits.h> declares gettimeofday. */
58514 #define $ac_func innocuous_$ac_func
58515
58516 /* System header to define __stub macros and hopefully few prototypes,
58517 which can conflict with char $ac_func (); below.
58518 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58519 <limits.h> exists even on freestanding compilers. */
58520
58521 #ifdef __STDC__
58522 # include <limits.h>
58523 #else
58524 # include <assert.h>
58525 #endif
58526
58527 #undef $ac_func
58528
58529 /* Override any gcc2 internal prototype to avoid an error. */
58530 #ifdef __cplusplus
58531 extern "C"
58532 {
58533 #endif
58534 /* We use char because int might match the return type of a gcc2
58535 builtin and then its argument prototype would still apply. */
58536 char $ac_func ();
58537 /* The GNU C library defines this for functions which it implements
58538 to always fail with ENOSYS. Some functions are actually named
58539 something starting with __ and the normal name is an alias. */
58540 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58541 choke me
58542 #else
58543 char (*f) () = $ac_func;
58544 #endif
58545 #ifdef __cplusplus
58546 }
58547 #endif
58548
58549 int
58550 main ()
58551 {
58552 return f != $ac_func;
58553 ;
58554 return 0;
58555 }
58556 _ACEOF
58557 rm -f conftest.$ac_objext conftest$ac_exeext
58558 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58559 (eval $ac_link) 2>conftest.er1
58560 ac_status=$?
58561 grep -v '^ *+' conftest.er1 >conftest.err
58562 rm -f conftest.er1
58563 cat conftest.err >&5
58564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58565 (exit $ac_status); } &&
58566 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
58567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58568 (eval $ac_try) 2>&5
58569 ac_status=$?
58570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58571 (exit $ac_status); }; } &&
58572 { ac_try='test -s conftest$ac_exeext'
58573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58574 (eval $ac_try) 2>&5
58575 ac_status=$?
58576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58577 (exit $ac_status); }; }; then
58578 eval "$as_ac_var=yes"
58579 else
58580 echo "$as_me: failed program was:" >&5
58581 sed 's/^/| /' conftest.$ac_ext >&5
58582
58583 eval "$as_ac_var=no"
58584 fi
58585 rm -f conftest.err conftest.$ac_objext \
58586 conftest$ac_exeext conftest.$ac_ext
58587 fi
58588 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58589 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58590 if test `eval echo '${'$as_ac_var'}'` = yes; then
58591 cat >>confdefs.h <<_ACEOF
58592 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58593 _ACEOF
58594
58595 fi
58596 done
58597
58598 else
58599
58600 echo "$as_me:$LINENO: checking for _isinff declaration" >&5
58601 echo $ECHO_N "checking for _isinff declaration... $ECHO_C" >&6
58602 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
58603 if test "${glibcxx_cv_func__isinff_use+set}" = set; then
58604 echo $ECHO_N "(cached) $ECHO_C" >&6
58605 else
58606
58607
58608
58609 ac_ext=cc
58610 ac_cpp='$CXXCPP $CPPFLAGS'
58611 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58612 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58613 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58614
58615 cat >conftest.$ac_ext <<_ACEOF
58616 /* confdefs.h. */
58617 _ACEOF
58618 cat confdefs.h >>conftest.$ac_ext
58619 cat >>conftest.$ac_ext <<_ACEOF
58620 /* end confdefs.h. */
58621 #include <math.h>
58622 #ifdef HAVE_IEEEFP_H
58623 #include <ieeefp.h>
58624 #endif
58625
58626 int
58627 main ()
58628 {
58629 _isinff(0);
58630 ;
58631 return 0;
58632 }
58633 _ACEOF
58634 rm -f conftest.$ac_objext
58635 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58636 (eval $ac_compile) 2>conftest.er1
58637 ac_status=$?
58638 grep -v '^ *+' conftest.er1 >conftest.err
58639 rm -f conftest.er1
58640 cat conftest.err >&5
58641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58642 (exit $ac_status); } &&
58643 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
58644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58645 (eval $ac_try) 2>&5
58646 ac_status=$?
58647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58648 (exit $ac_status); }; } &&
58649 { ac_try='test -s conftest.$ac_objext'
58650 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58651 (eval $ac_try) 2>&5
58652 ac_status=$?
58653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58654 (exit $ac_status); }; }; then
58655 glibcxx_cv_func__isinff_use=yes
58656 else
58657 echo "$as_me: failed program was:" >&5
58658 sed 's/^/| /' conftest.$ac_ext >&5
58659
58660 glibcxx_cv_func__isinff_use=no
58661 fi
58662 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58663 ac_ext=c
58664 ac_cpp='$CPP $CPPFLAGS'
58665 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58666 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58667 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58668
58669
58670 fi
58671
58672 fi
58673 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinff_use" >&5
58674 echo "${ECHO_T}$glibcxx_cv_func__isinff_use" >&6
58675
58676 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
58677
58678 for ac_func in _isinff
58679 do
58680 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58681 echo "$as_me:$LINENO: checking for $ac_func" >&5
58682 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58683 if eval "test \"\${$as_ac_var+set}\" = set"; then
58684 echo $ECHO_N "(cached) $ECHO_C" >&6
58685 else
58686 if test x$gcc_no_link = xyes; then
58687 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58688 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58689 { (exit 1); exit 1; }; }
58690 fi
58691 cat >conftest.$ac_ext <<_ACEOF
58692 /* confdefs.h. */
58693 _ACEOF
58694 cat confdefs.h >>conftest.$ac_ext
58695 cat >>conftest.$ac_ext <<_ACEOF
58696 /* end confdefs.h. */
58697 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58698 For example, HP-UX 11i <limits.h> declares gettimeofday. */
58699 #define $ac_func innocuous_$ac_func
58700
58701 /* System header to define __stub macros and hopefully few prototypes,
58702 which can conflict with char $ac_func (); below.
58703 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58704 <limits.h> exists even on freestanding compilers. */
58705
58706 #ifdef __STDC__
58707 # include <limits.h>
58708 #else
58709 # include <assert.h>
58710 #endif
58711
58712 #undef $ac_func
58713
58714 /* Override any gcc2 internal prototype to avoid an error. */
58715 #ifdef __cplusplus
58716 extern "C"
58717 {
58718 #endif
58719 /* We use char because int might match the return type of a gcc2
58720 builtin and then its argument prototype would still apply. */
58721 char $ac_func ();
58722 /* The GNU C library defines this for functions which it implements
58723 to always fail with ENOSYS. Some functions are actually named
58724 something starting with __ and the normal name is an alias. */
58725 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58726 choke me
58727 #else
58728 char (*f) () = $ac_func;
58729 #endif
58730 #ifdef __cplusplus
58731 }
58732 #endif
58733
58734 int
58735 main ()
58736 {
58737 return f != $ac_func;
58738 ;
58739 return 0;
58740 }
58741 _ACEOF
58742 rm -f conftest.$ac_objext conftest$ac_exeext
58743 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58744 (eval $ac_link) 2>conftest.er1
58745 ac_status=$?
58746 grep -v '^ *+' conftest.er1 >conftest.err
58747 rm -f conftest.er1
58748 cat conftest.err >&5
58749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58750 (exit $ac_status); } &&
58751 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
58752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58753 (eval $ac_try) 2>&5
58754 ac_status=$?
58755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58756 (exit $ac_status); }; } &&
58757 { ac_try='test -s conftest$ac_exeext'
58758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58759 (eval $ac_try) 2>&5
58760 ac_status=$?
58761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58762 (exit $ac_status); }; }; then
58763 eval "$as_ac_var=yes"
58764 else
58765 echo "$as_me: failed program was:" >&5
58766 sed 's/^/| /' conftest.$ac_ext >&5
58767
58768 eval "$as_ac_var=no"
58769 fi
58770 rm -f conftest.err conftest.$ac_objext \
58771 conftest$ac_exeext conftest.$ac_ext
58772 fi
58773 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58774 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58775 if test `eval echo '${'$as_ac_var'}'` = yes; then
58776 cat >>confdefs.h <<_ACEOF
58777 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58778 _ACEOF
58779
58780 fi
58781 done
58782
58783 fi
58784 fi
58785
58786
58787
58788
58789
58790
58791 echo "$as_me:$LINENO: checking for atan2f declaration" >&5
58792 echo $ECHO_N "checking for atan2f declaration... $ECHO_C" >&6
58793 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
58794 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then
58795 echo $ECHO_N "(cached) $ECHO_C" >&6
58796 else
58797
58798
58799
58800 ac_ext=cc
58801 ac_cpp='$CXXCPP $CPPFLAGS'
58802 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58803 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58804 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58805
58806 cat >conftest.$ac_ext <<_ACEOF
58807 /* confdefs.h. */
58808 _ACEOF
58809 cat confdefs.h >>conftest.$ac_ext
58810 cat >>conftest.$ac_ext <<_ACEOF
58811 /* end confdefs.h. */
58812 #include <math.h>
58813 int
58814 main ()
58815 {
58816 atan2f(0, 0);
58817 ;
58818 return 0;
58819 }
58820 _ACEOF
58821 rm -f conftest.$ac_objext
58822 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58823 (eval $ac_compile) 2>conftest.er1
58824 ac_status=$?
58825 grep -v '^ *+' conftest.er1 >conftest.err
58826 rm -f conftest.er1
58827 cat conftest.err >&5
58828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58829 (exit $ac_status); } &&
58830 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
58831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58832 (eval $ac_try) 2>&5
58833 ac_status=$?
58834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58835 (exit $ac_status); }; } &&
58836 { ac_try='test -s conftest.$ac_objext'
58837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58838 (eval $ac_try) 2>&5
58839 ac_status=$?
58840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58841 (exit $ac_status); }; }; then
58842 glibcxx_cv_func_atan2f_use=yes
58843 else
58844 echo "$as_me: failed program was:" >&5
58845 sed 's/^/| /' conftest.$ac_ext >&5
58846
58847 glibcxx_cv_func_atan2f_use=no
58848 fi
58849 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58850 ac_ext=c
58851 ac_cpp='$CPP $CPPFLAGS'
58852 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58853 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58854 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58855
58856
58857 fi
58858
58859 fi
58860 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2f_use" >&5
58861 echo "${ECHO_T}$glibcxx_cv_func_atan2f_use" >&6
58862
58863 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
58864
58865 for ac_func in atan2f
58866 do
58867 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58868 echo "$as_me:$LINENO: checking for $ac_func" >&5
58869 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58870 if eval "test \"\${$as_ac_var+set}\" = set"; then
58871 echo $ECHO_N "(cached) $ECHO_C" >&6
58872 else
58873 if test x$gcc_no_link = xyes; then
58874 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58875 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58876 { (exit 1); exit 1; }; }
58877 fi
58878 cat >conftest.$ac_ext <<_ACEOF
58879 /* confdefs.h. */
58880 _ACEOF
58881 cat confdefs.h >>conftest.$ac_ext
58882 cat >>conftest.$ac_ext <<_ACEOF
58883 /* end confdefs.h. */
58884 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58885 For example, HP-UX 11i <limits.h> declares gettimeofday. */
58886 #define $ac_func innocuous_$ac_func
58887
58888 /* System header to define __stub macros and hopefully few prototypes,
58889 which can conflict with char $ac_func (); below.
58890 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58891 <limits.h> exists even on freestanding compilers. */
58892
58893 #ifdef __STDC__
58894 # include <limits.h>
58895 #else
58896 # include <assert.h>
58897 #endif
58898
58899 #undef $ac_func
58900
58901 /* Override any gcc2 internal prototype to avoid an error. */
58902 #ifdef __cplusplus
58903 extern "C"
58904 {
58905 #endif
58906 /* We use char because int might match the return type of a gcc2
58907 builtin and then its argument prototype would still apply. */
58908 char $ac_func ();
58909 /* The GNU C library defines this for functions which it implements
58910 to always fail with ENOSYS. Some functions are actually named
58911 something starting with __ and the normal name is an alias. */
58912 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58913 choke me
58914 #else
58915 char (*f) () = $ac_func;
58916 #endif
58917 #ifdef __cplusplus
58918 }
58919 #endif
58920
58921 int
58922 main ()
58923 {
58924 return f != $ac_func;
58925 ;
58926 return 0;
58927 }
58928 _ACEOF
58929 rm -f conftest.$ac_objext conftest$ac_exeext
58930 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58931 (eval $ac_link) 2>conftest.er1
58932 ac_status=$?
58933 grep -v '^ *+' conftest.er1 >conftest.err
58934 rm -f conftest.er1
58935 cat conftest.err >&5
58936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58937 (exit $ac_status); } &&
58938 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
58939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58940 (eval $ac_try) 2>&5
58941 ac_status=$?
58942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58943 (exit $ac_status); }; } &&
58944 { ac_try='test -s conftest$ac_exeext'
58945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58946 (eval $ac_try) 2>&5
58947 ac_status=$?
58948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58949 (exit $ac_status); }; }; then
58950 eval "$as_ac_var=yes"
58951 else
58952 echo "$as_me: failed program was:" >&5
58953 sed 's/^/| /' conftest.$ac_ext >&5
58954
58955 eval "$as_ac_var=no"
58956 fi
58957 rm -f conftest.err conftest.$ac_objext \
58958 conftest$ac_exeext conftest.$ac_ext
58959 fi
58960 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58961 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58962 if test `eval echo '${'$as_ac_var'}'` = yes; then
58963 cat >>confdefs.h <<_ACEOF
58964 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58965 _ACEOF
58966
58967 fi
58968 done
58969
58970 else
58971
58972 echo "$as_me:$LINENO: checking for _atan2f declaration" >&5
58973 echo $ECHO_N "checking for _atan2f declaration... $ECHO_C" >&6
58974 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
58975 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then
58976 echo $ECHO_N "(cached) $ECHO_C" >&6
58977 else
58978
58979
58980
58981 ac_ext=cc
58982 ac_cpp='$CXXCPP $CPPFLAGS'
58983 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58984 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58985 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58986
58987 cat >conftest.$ac_ext <<_ACEOF
58988 /* confdefs.h. */
58989 _ACEOF
58990 cat confdefs.h >>conftest.$ac_ext
58991 cat >>conftest.$ac_ext <<_ACEOF
58992 /* end confdefs.h. */
58993 #include <math.h>
58994 int
58995 main ()
58996 {
58997 _atan2f(0, 0);
58998 ;
58999 return 0;
59000 }
59001 _ACEOF
59002 rm -f conftest.$ac_objext
59003 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59004 (eval $ac_compile) 2>conftest.er1
59005 ac_status=$?
59006 grep -v '^ *+' conftest.er1 >conftest.err
59007 rm -f conftest.er1
59008 cat conftest.err >&5
59009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59010 (exit $ac_status); } &&
59011 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
59012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59013 (eval $ac_try) 2>&5
59014 ac_status=$?
59015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59016 (exit $ac_status); }; } &&
59017 { ac_try='test -s conftest.$ac_objext'
59018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59019 (eval $ac_try) 2>&5
59020 ac_status=$?
59021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59022 (exit $ac_status); }; }; then
59023 glibcxx_cv_func__atan2f_use=yes
59024 else
59025 echo "$as_me: failed program was:" >&5
59026 sed 's/^/| /' conftest.$ac_ext >&5
59027
59028 glibcxx_cv_func__atan2f_use=no
59029 fi
59030 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59031 ac_ext=c
59032 ac_cpp='$CPP $CPPFLAGS'
59033 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59034 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59035 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59036
59037
59038 fi
59039
59040 fi
59041 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2f_use" >&5
59042 echo "${ECHO_T}$glibcxx_cv_func__atan2f_use" >&6
59043
59044 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
59045
59046 for ac_func in _atan2f
59047 do
59048 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59049 echo "$as_me:$LINENO: checking for $ac_func" >&5
59050 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59051 if eval "test \"\${$as_ac_var+set}\" = set"; then
59052 echo $ECHO_N "(cached) $ECHO_C" >&6
59053 else
59054 if test x$gcc_no_link = xyes; then
59055 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59056 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59057 { (exit 1); exit 1; }; }
59058 fi
59059 cat >conftest.$ac_ext <<_ACEOF
59060 /* confdefs.h. */
59061 _ACEOF
59062 cat confdefs.h >>conftest.$ac_ext
59063 cat >>conftest.$ac_ext <<_ACEOF
59064 /* end confdefs.h. */
59065 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59066 For example, HP-UX 11i <limits.h> declares gettimeofday. */
59067 #define $ac_func innocuous_$ac_func
59068
59069 /* System header to define __stub macros and hopefully few prototypes,
59070 which can conflict with char $ac_func (); below.
59071 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59072 <limits.h> exists even on freestanding compilers. */
59073
59074 #ifdef __STDC__
59075 # include <limits.h>
59076 #else
59077 # include <assert.h>
59078 #endif
59079
59080 #undef $ac_func
59081
59082 /* Override any gcc2 internal prototype to avoid an error. */
59083 #ifdef __cplusplus
59084 extern "C"
59085 {
59086 #endif
59087 /* We use char because int might match the return type of a gcc2
59088 builtin and then its argument prototype would still apply. */
59089 char $ac_func ();
59090 /* The GNU C library defines this for functions which it implements
59091 to always fail with ENOSYS. Some functions are actually named
59092 something starting with __ and the normal name is an alias. */
59093 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59094 choke me
59095 #else
59096 char (*f) () = $ac_func;
59097 #endif
59098 #ifdef __cplusplus
59099 }
59100 #endif
59101
59102 int
59103 main ()
59104 {
59105 return f != $ac_func;
59106 ;
59107 return 0;
59108 }
59109 _ACEOF
59110 rm -f conftest.$ac_objext conftest$ac_exeext
59111 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59112 (eval $ac_link) 2>conftest.er1
59113 ac_status=$?
59114 grep -v '^ *+' conftest.er1 >conftest.err
59115 rm -f conftest.er1
59116 cat conftest.err >&5
59117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59118 (exit $ac_status); } &&
59119 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
59120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59121 (eval $ac_try) 2>&5
59122 ac_status=$?
59123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59124 (exit $ac_status); }; } &&
59125 { ac_try='test -s conftest$ac_exeext'
59126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59127 (eval $ac_try) 2>&5
59128 ac_status=$?
59129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59130 (exit $ac_status); }; }; then
59131 eval "$as_ac_var=yes"
59132 else
59133 echo "$as_me: failed program was:" >&5
59134 sed 's/^/| /' conftest.$ac_ext >&5
59135
59136 eval "$as_ac_var=no"
59137 fi
59138 rm -f conftest.err conftest.$ac_objext \
59139 conftest$ac_exeext conftest.$ac_ext
59140 fi
59141 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59142 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59143 if test `eval echo '${'$as_ac_var'}'` = yes; then
59144 cat >>confdefs.h <<_ACEOF
59145 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59146 _ACEOF
59147
59148 fi
59149 done
59150
59151 fi
59152 fi
59153
59154
59155
59156
59157
59158
59159 echo "$as_me:$LINENO: checking for fabsf declaration" >&5
59160 echo $ECHO_N "checking for fabsf declaration... $ECHO_C" >&6
59161 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
59162 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then
59163 echo $ECHO_N "(cached) $ECHO_C" >&6
59164 else
59165
59166
59167
59168 ac_ext=cc
59169 ac_cpp='$CXXCPP $CPPFLAGS'
59170 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59171 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59172 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59173
59174 cat >conftest.$ac_ext <<_ACEOF
59175 /* confdefs.h. */
59176 _ACEOF
59177 cat confdefs.h >>conftest.$ac_ext
59178 cat >>conftest.$ac_ext <<_ACEOF
59179 /* end confdefs.h. */
59180 #include <math.h>
59181 #ifdef HAVE_IEEEFP_H
59182 #include <ieeefp.h>
59183 #endif
59184
59185 int
59186 main ()
59187 {
59188 fabsf(0);
59189 ;
59190 return 0;
59191 }
59192 _ACEOF
59193 rm -f conftest.$ac_objext
59194 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59195 (eval $ac_compile) 2>conftest.er1
59196 ac_status=$?
59197 grep -v '^ *+' conftest.er1 >conftest.err
59198 rm -f conftest.er1
59199 cat conftest.err >&5
59200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59201 (exit $ac_status); } &&
59202 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
59203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59204 (eval $ac_try) 2>&5
59205 ac_status=$?
59206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59207 (exit $ac_status); }; } &&
59208 { ac_try='test -s conftest.$ac_objext'
59209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59210 (eval $ac_try) 2>&5
59211 ac_status=$?
59212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59213 (exit $ac_status); }; }; then
59214 glibcxx_cv_func_fabsf_use=yes
59215 else
59216 echo "$as_me: failed program was:" >&5
59217 sed 's/^/| /' conftest.$ac_ext >&5
59218
59219 glibcxx_cv_func_fabsf_use=no
59220 fi
59221 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59222 ac_ext=c
59223 ac_cpp='$CPP $CPPFLAGS'
59224 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59225 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59226 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59227
59228
59229 fi
59230
59231 fi
59232 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsf_use" >&5
59233 echo "${ECHO_T}$glibcxx_cv_func_fabsf_use" >&6
59234
59235 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
59236
59237 for ac_func in fabsf
59238 do
59239 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59240 echo "$as_me:$LINENO: checking for $ac_func" >&5
59241 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59242 if eval "test \"\${$as_ac_var+set}\" = set"; then
59243 echo $ECHO_N "(cached) $ECHO_C" >&6
59244 else
59245 if test x$gcc_no_link = xyes; then
59246 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59247 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59248 { (exit 1); exit 1; }; }
59249 fi
59250 cat >conftest.$ac_ext <<_ACEOF
59251 /* confdefs.h. */
59252 _ACEOF
59253 cat confdefs.h >>conftest.$ac_ext
59254 cat >>conftest.$ac_ext <<_ACEOF
59255 /* end confdefs.h. */
59256 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59257 For example, HP-UX 11i <limits.h> declares gettimeofday. */
59258 #define $ac_func innocuous_$ac_func
59259
59260 /* System header to define __stub macros and hopefully few prototypes,
59261 which can conflict with char $ac_func (); below.
59262 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59263 <limits.h> exists even on freestanding compilers. */
59264
59265 #ifdef __STDC__
59266 # include <limits.h>
59267 #else
59268 # include <assert.h>
59269 #endif
59270
59271 #undef $ac_func
59272
59273 /* Override any gcc2 internal prototype to avoid an error. */
59274 #ifdef __cplusplus
59275 extern "C"
59276 {
59277 #endif
59278 /* We use char because int might match the return type of a gcc2
59279 builtin and then its argument prototype would still apply. */
59280 char $ac_func ();
59281 /* The GNU C library defines this for functions which it implements
59282 to always fail with ENOSYS. Some functions are actually named
59283 something starting with __ and the normal name is an alias. */
59284 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59285 choke me
59286 #else
59287 char (*f) () = $ac_func;
59288 #endif
59289 #ifdef __cplusplus
59290 }
59291 #endif
59292
59293 int
59294 main ()
59295 {
59296 return f != $ac_func;
59297 ;
59298 return 0;
59299 }
59300 _ACEOF
59301 rm -f conftest.$ac_objext conftest$ac_exeext
59302 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59303 (eval $ac_link) 2>conftest.er1
59304 ac_status=$?
59305 grep -v '^ *+' conftest.er1 >conftest.err
59306 rm -f conftest.er1
59307 cat conftest.err >&5
59308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59309 (exit $ac_status); } &&
59310 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
59311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59312 (eval $ac_try) 2>&5
59313 ac_status=$?
59314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59315 (exit $ac_status); }; } &&
59316 { ac_try='test -s conftest$ac_exeext'
59317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59318 (eval $ac_try) 2>&5
59319 ac_status=$?
59320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59321 (exit $ac_status); }; }; then
59322 eval "$as_ac_var=yes"
59323 else
59324 echo "$as_me: failed program was:" >&5
59325 sed 's/^/| /' conftest.$ac_ext >&5
59326
59327 eval "$as_ac_var=no"
59328 fi
59329 rm -f conftest.err conftest.$ac_objext \
59330 conftest$ac_exeext conftest.$ac_ext
59331 fi
59332 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59333 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59334 if test `eval echo '${'$as_ac_var'}'` = yes; then
59335 cat >>confdefs.h <<_ACEOF
59336 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59337 _ACEOF
59338
59339 fi
59340 done
59341
59342 else
59343
59344 echo "$as_me:$LINENO: checking for _fabsf declaration" >&5
59345 echo $ECHO_N "checking for _fabsf declaration... $ECHO_C" >&6
59346 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
59347 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then
59348 echo $ECHO_N "(cached) $ECHO_C" >&6
59349 else
59350
59351
59352
59353 ac_ext=cc
59354 ac_cpp='$CXXCPP $CPPFLAGS'
59355 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59356 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59357 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59358
59359 cat >conftest.$ac_ext <<_ACEOF
59360 /* confdefs.h. */
59361 _ACEOF
59362 cat confdefs.h >>conftest.$ac_ext
59363 cat >>conftest.$ac_ext <<_ACEOF
59364 /* end confdefs.h. */
59365 #include <math.h>
59366 #ifdef HAVE_IEEEFP_H
59367 #include <ieeefp.h>
59368 #endif
59369
59370 int
59371 main ()
59372 {
59373 _fabsf(0);
59374 ;
59375 return 0;
59376 }
59377 _ACEOF
59378 rm -f conftest.$ac_objext
59379 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59380 (eval $ac_compile) 2>conftest.er1
59381 ac_status=$?
59382 grep -v '^ *+' conftest.er1 >conftest.err
59383 rm -f conftest.er1
59384 cat conftest.err >&5
59385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59386 (exit $ac_status); } &&
59387 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
59388 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59389 (eval $ac_try) 2>&5
59390 ac_status=$?
59391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59392 (exit $ac_status); }; } &&
59393 { ac_try='test -s conftest.$ac_objext'
59394 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59395 (eval $ac_try) 2>&5
59396 ac_status=$?
59397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59398 (exit $ac_status); }; }; then
59399 glibcxx_cv_func__fabsf_use=yes
59400 else
59401 echo "$as_me: failed program was:" >&5
59402 sed 's/^/| /' conftest.$ac_ext >&5
59403
59404 glibcxx_cv_func__fabsf_use=no
59405 fi
59406 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59407 ac_ext=c
59408 ac_cpp='$CPP $CPPFLAGS'
59409 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59410 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59411 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59412
59413
59414 fi
59415
59416 fi
59417 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsf_use" >&5
59418 echo "${ECHO_T}$glibcxx_cv_func__fabsf_use" >&6
59419
59420 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
59421
59422 for ac_func in _fabsf
59423 do
59424 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59425 echo "$as_me:$LINENO: checking for $ac_func" >&5
59426 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59427 if eval "test \"\${$as_ac_var+set}\" = set"; then
59428 echo $ECHO_N "(cached) $ECHO_C" >&6
59429 else
59430 if test x$gcc_no_link = xyes; then
59431 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59432 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59433 { (exit 1); exit 1; }; }
59434 fi
59435 cat >conftest.$ac_ext <<_ACEOF
59436 /* confdefs.h. */
59437 _ACEOF
59438 cat confdefs.h >>conftest.$ac_ext
59439 cat >>conftest.$ac_ext <<_ACEOF
59440 /* end confdefs.h. */
59441 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59442 For example, HP-UX 11i <limits.h> declares gettimeofday. */
59443 #define $ac_func innocuous_$ac_func
59444
59445 /* System header to define __stub macros and hopefully few prototypes,
59446 which can conflict with char $ac_func (); below.
59447 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59448 <limits.h> exists even on freestanding compilers. */
59449
59450 #ifdef __STDC__
59451 # include <limits.h>
59452 #else
59453 # include <assert.h>
59454 #endif
59455
59456 #undef $ac_func
59457
59458 /* Override any gcc2 internal prototype to avoid an error. */
59459 #ifdef __cplusplus
59460 extern "C"
59461 {
59462 #endif
59463 /* We use char because int might match the return type of a gcc2
59464 builtin and then its argument prototype would still apply. */
59465 char $ac_func ();
59466 /* The GNU C library defines this for functions which it implements
59467 to always fail with ENOSYS. Some functions are actually named
59468 something starting with __ and the normal name is an alias. */
59469 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59470 choke me
59471 #else
59472 char (*f) () = $ac_func;
59473 #endif
59474 #ifdef __cplusplus
59475 }
59476 #endif
59477
59478 int
59479 main ()
59480 {
59481 return f != $ac_func;
59482 ;
59483 return 0;
59484 }
59485 _ACEOF
59486 rm -f conftest.$ac_objext conftest$ac_exeext
59487 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59488 (eval $ac_link) 2>conftest.er1
59489 ac_status=$?
59490 grep -v '^ *+' conftest.er1 >conftest.err
59491 rm -f conftest.er1
59492 cat conftest.err >&5
59493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59494 (exit $ac_status); } &&
59495 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
59496 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59497 (eval $ac_try) 2>&5
59498 ac_status=$?
59499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59500 (exit $ac_status); }; } &&
59501 { ac_try='test -s conftest$ac_exeext'
59502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59503 (eval $ac_try) 2>&5
59504 ac_status=$?
59505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59506 (exit $ac_status); }; }; then
59507 eval "$as_ac_var=yes"
59508 else
59509 echo "$as_me: failed program was:" >&5
59510 sed 's/^/| /' conftest.$ac_ext >&5
59511
59512 eval "$as_ac_var=no"
59513 fi
59514 rm -f conftest.err conftest.$ac_objext \
59515 conftest$ac_exeext conftest.$ac_ext
59516 fi
59517 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59518 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59519 if test `eval echo '${'$as_ac_var'}'` = yes; then
59520 cat >>confdefs.h <<_ACEOF
59521 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59522 _ACEOF
59523
59524 fi
59525 done
59526
59527 fi
59528 fi
59529
59530
59531
59532
59533
59534
59535 echo "$as_me:$LINENO: checking for fmodf declaration" >&5
59536 echo $ECHO_N "checking for fmodf declaration... $ECHO_C" >&6
59537 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
59538 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then
59539 echo $ECHO_N "(cached) $ECHO_C" >&6
59540 else
59541
59542
59543
59544 ac_ext=cc
59545 ac_cpp='$CXXCPP $CPPFLAGS'
59546 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59547 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59548 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59549
59550 cat >conftest.$ac_ext <<_ACEOF
59551 /* confdefs.h. */
59552 _ACEOF
59553 cat confdefs.h >>conftest.$ac_ext
59554 cat >>conftest.$ac_ext <<_ACEOF
59555 /* end confdefs.h. */
59556 #include <math.h>
59557 int
59558 main ()
59559 {
59560 fmodf(0, 0);
59561 ;
59562 return 0;
59563 }
59564 _ACEOF
59565 rm -f conftest.$ac_objext
59566 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59567 (eval $ac_compile) 2>conftest.er1
59568 ac_status=$?
59569 grep -v '^ *+' conftest.er1 >conftest.err
59570 rm -f conftest.er1
59571 cat conftest.err >&5
59572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59573 (exit $ac_status); } &&
59574 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
59575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59576 (eval $ac_try) 2>&5
59577 ac_status=$?
59578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59579 (exit $ac_status); }; } &&
59580 { ac_try='test -s conftest.$ac_objext'
59581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59582 (eval $ac_try) 2>&5
59583 ac_status=$?
59584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59585 (exit $ac_status); }; }; then
59586 glibcxx_cv_func_fmodf_use=yes
59587 else
59588 echo "$as_me: failed program was:" >&5
59589 sed 's/^/| /' conftest.$ac_ext >&5
59590
59591 glibcxx_cv_func_fmodf_use=no
59592 fi
59593 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59594 ac_ext=c
59595 ac_cpp='$CPP $CPPFLAGS'
59596 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59597 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59598 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59599
59600
59601 fi
59602
59603 fi
59604 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodf_use" >&5
59605 echo "${ECHO_T}$glibcxx_cv_func_fmodf_use" >&6
59606
59607 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
59608
59609 for ac_func in fmodf
59610 do
59611 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59612 echo "$as_me:$LINENO: checking for $ac_func" >&5
59613 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59614 if eval "test \"\${$as_ac_var+set}\" = set"; then
59615 echo $ECHO_N "(cached) $ECHO_C" >&6
59616 else
59617 if test x$gcc_no_link = xyes; then
59618 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59619 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59620 { (exit 1); exit 1; }; }
59621 fi
59622 cat >conftest.$ac_ext <<_ACEOF
59623 /* confdefs.h. */
59624 _ACEOF
59625 cat confdefs.h >>conftest.$ac_ext
59626 cat >>conftest.$ac_ext <<_ACEOF
59627 /* end confdefs.h. */
59628 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59629 For example, HP-UX 11i <limits.h> declares gettimeofday. */
59630 #define $ac_func innocuous_$ac_func
59631
59632 /* System header to define __stub macros and hopefully few prototypes,
59633 which can conflict with char $ac_func (); below.
59634 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59635 <limits.h> exists even on freestanding compilers. */
59636
59637 #ifdef __STDC__
59638 # include <limits.h>
59639 #else
59640 # include <assert.h>
59641 #endif
59642
59643 #undef $ac_func
59644
59645 /* Override any gcc2 internal prototype to avoid an error. */
59646 #ifdef __cplusplus
59647 extern "C"
59648 {
59649 #endif
59650 /* We use char because int might match the return type of a gcc2
59651 builtin and then its argument prototype would still apply. */
59652 char $ac_func ();
59653 /* The GNU C library defines this for functions which it implements
59654 to always fail with ENOSYS. Some functions are actually named
59655 something starting with __ and the normal name is an alias. */
59656 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59657 choke me
59658 #else
59659 char (*f) () = $ac_func;
59660 #endif
59661 #ifdef __cplusplus
59662 }
59663 #endif
59664
59665 int
59666 main ()
59667 {
59668 return f != $ac_func;
59669 ;
59670 return 0;
59671 }
59672 _ACEOF
59673 rm -f conftest.$ac_objext conftest$ac_exeext
59674 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59675 (eval $ac_link) 2>conftest.er1
59676 ac_status=$?
59677 grep -v '^ *+' conftest.er1 >conftest.err
59678 rm -f conftest.er1
59679 cat conftest.err >&5
59680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59681 (exit $ac_status); } &&
59682 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
59683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59684 (eval $ac_try) 2>&5
59685 ac_status=$?
59686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59687 (exit $ac_status); }; } &&
59688 { ac_try='test -s conftest$ac_exeext'
59689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59690 (eval $ac_try) 2>&5
59691 ac_status=$?
59692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59693 (exit $ac_status); }; }; then
59694 eval "$as_ac_var=yes"
59695 else
59696 echo "$as_me: failed program was:" >&5
59697 sed 's/^/| /' conftest.$ac_ext >&5
59698
59699 eval "$as_ac_var=no"
59700 fi
59701 rm -f conftest.err conftest.$ac_objext \
59702 conftest$ac_exeext conftest.$ac_ext
59703 fi
59704 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59705 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59706 if test `eval echo '${'$as_ac_var'}'` = yes; then
59707 cat >>confdefs.h <<_ACEOF
59708 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59709 _ACEOF
59710
59711 fi
59712 done
59713
59714 else
59715
59716 echo "$as_me:$LINENO: checking for _fmodf declaration" >&5
59717 echo $ECHO_N "checking for _fmodf declaration... $ECHO_C" >&6
59718 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
59719 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then
59720 echo $ECHO_N "(cached) $ECHO_C" >&6
59721 else
59722
59723
59724
59725 ac_ext=cc
59726 ac_cpp='$CXXCPP $CPPFLAGS'
59727 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59728 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59729 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59730
59731 cat >conftest.$ac_ext <<_ACEOF
59732 /* confdefs.h. */
59733 _ACEOF
59734 cat confdefs.h >>conftest.$ac_ext
59735 cat >>conftest.$ac_ext <<_ACEOF
59736 /* end confdefs.h. */
59737 #include <math.h>
59738 int
59739 main ()
59740 {
59741 _fmodf(0, 0);
59742 ;
59743 return 0;
59744 }
59745 _ACEOF
59746 rm -f conftest.$ac_objext
59747 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59748 (eval $ac_compile) 2>conftest.er1
59749 ac_status=$?
59750 grep -v '^ *+' conftest.er1 >conftest.err
59751 rm -f conftest.er1
59752 cat conftest.err >&5
59753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59754 (exit $ac_status); } &&
59755 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
59756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59757 (eval $ac_try) 2>&5
59758 ac_status=$?
59759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59760 (exit $ac_status); }; } &&
59761 { ac_try='test -s conftest.$ac_objext'
59762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59763 (eval $ac_try) 2>&5
59764 ac_status=$?
59765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59766 (exit $ac_status); }; }; then
59767 glibcxx_cv_func__fmodf_use=yes
59768 else
59769 echo "$as_me: failed program was:" >&5
59770 sed 's/^/| /' conftest.$ac_ext >&5
59771
59772 glibcxx_cv_func__fmodf_use=no
59773 fi
59774 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59775 ac_ext=c
59776 ac_cpp='$CPP $CPPFLAGS'
59777 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59778 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59779 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59780
59781
59782 fi
59783
59784 fi
59785 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodf_use" >&5
59786 echo "${ECHO_T}$glibcxx_cv_func__fmodf_use" >&6
59787
59788 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
59789
59790 for ac_func in _fmodf
59791 do
59792 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59793 echo "$as_me:$LINENO: checking for $ac_func" >&5
59794 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59795 if eval "test \"\${$as_ac_var+set}\" = set"; then
59796 echo $ECHO_N "(cached) $ECHO_C" >&6
59797 else
59798 if test x$gcc_no_link = xyes; then
59799 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59800 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59801 { (exit 1); exit 1; }; }
59802 fi
59803 cat >conftest.$ac_ext <<_ACEOF
59804 /* confdefs.h. */
59805 _ACEOF
59806 cat confdefs.h >>conftest.$ac_ext
59807 cat >>conftest.$ac_ext <<_ACEOF
59808 /* end confdefs.h. */
59809 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59810 For example, HP-UX 11i <limits.h> declares gettimeofday. */
59811 #define $ac_func innocuous_$ac_func
59812
59813 /* System header to define __stub macros and hopefully few prototypes,
59814 which can conflict with char $ac_func (); below.
59815 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59816 <limits.h> exists even on freestanding compilers. */
59817
59818 #ifdef __STDC__
59819 # include <limits.h>
59820 #else
59821 # include <assert.h>
59822 #endif
59823
59824 #undef $ac_func
59825
59826 /* Override any gcc2 internal prototype to avoid an error. */
59827 #ifdef __cplusplus
59828 extern "C"
59829 {
59830 #endif
59831 /* We use char because int might match the return type of a gcc2
59832 builtin and then its argument prototype would still apply. */
59833 char $ac_func ();
59834 /* The GNU C library defines this for functions which it implements
59835 to always fail with ENOSYS. Some functions are actually named
59836 something starting with __ and the normal name is an alias. */
59837 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59838 choke me
59839 #else
59840 char (*f) () = $ac_func;
59841 #endif
59842 #ifdef __cplusplus
59843 }
59844 #endif
59845
59846 int
59847 main ()
59848 {
59849 return f != $ac_func;
59850 ;
59851 return 0;
59852 }
59853 _ACEOF
59854 rm -f conftest.$ac_objext conftest$ac_exeext
59855 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59856 (eval $ac_link) 2>conftest.er1
59857 ac_status=$?
59858 grep -v '^ *+' conftest.er1 >conftest.err
59859 rm -f conftest.er1
59860 cat conftest.err >&5
59861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59862 (exit $ac_status); } &&
59863 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
59864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59865 (eval $ac_try) 2>&5
59866 ac_status=$?
59867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59868 (exit $ac_status); }; } &&
59869 { ac_try='test -s conftest$ac_exeext'
59870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59871 (eval $ac_try) 2>&5
59872 ac_status=$?
59873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59874 (exit $ac_status); }; }; then
59875 eval "$as_ac_var=yes"
59876 else
59877 echo "$as_me: failed program was:" >&5
59878 sed 's/^/| /' conftest.$ac_ext >&5
59879
59880 eval "$as_ac_var=no"
59881 fi
59882 rm -f conftest.err conftest.$ac_objext \
59883 conftest$ac_exeext conftest.$ac_ext
59884 fi
59885 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59886 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59887 if test `eval echo '${'$as_ac_var'}'` = yes; then
59888 cat >>confdefs.h <<_ACEOF
59889 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59890 _ACEOF
59891
59892 fi
59893 done
59894
59895 fi
59896 fi
59897
59898
59899
59900
59901
59902
59903 echo "$as_me:$LINENO: checking for frexpf declaration" >&5
59904 echo $ECHO_N "checking for frexpf declaration... $ECHO_C" >&6
59905 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
59906 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then
59907 echo $ECHO_N "(cached) $ECHO_C" >&6
59908 else
59909
59910
59911
59912 ac_ext=cc
59913 ac_cpp='$CXXCPP $CPPFLAGS'
59914 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59915 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59916 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59917
59918 cat >conftest.$ac_ext <<_ACEOF
59919 /* confdefs.h. */
59920 _ACEOF
59921 cat confdefs.h >>conftest.$ac_ext
59922 cat >>conftest.$ac_ext <<_ACEOF
59923 /* end confdefs.h. */
59924 #include <math.h>
59925 int
59926 main ()
59927 {
59928 frexpf(0, 0);
59929 ;
59930 return 0;
59931 }
59932 _ACEOF
59933 rm -f conftest.$ac_objext
59934 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59935 (eval $ac_compile) 2>conftest.er1
59936 ac_status=$?
59937 grep -v '^ *+' conftest.er1 >conftest.err
59938 rm -f conftest.er1
59939 cat conftest.err >&5
59940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59941 (exit $ac_status); } &&
59942 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
59943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59944 (eval $ac_try) 2>&5
59945 ac_status=$?
59946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59947 (exit $ac_status); }; } &&
59948 { ac_try='test -s conftest.$ac_objext'
59949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59950 (eval $ac_try) 2>&5
59951 ac_status=$?
59952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59953 (exit $ac_status); }; }; then
59954 glibcxx_cv_func_frexpf_use=yes
59955 else
59956 echo "$as_me: failed program was:" >&5
59957 sed 's/^/| /' conftest.$ac_ext >&5
59958
59959 glibcxx_cv_func_frexpf_use=no
59960 fi
59961 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59962 ac_ext=c
59963 ac_cpp='$CPP $CPPFLAGS'
59964 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59965 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59966 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59967
59968
59969 fi
59970
59971 fi
59972 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpf_use" >&5
59973 echo "${ECHO_T}$glibcxx_cv_func_frexpf_use" >&6
59974
59975 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
59976
59977 for ac_func in frexpf
59978 do
59979 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59980 echo "$as_me:$LINENO: checking for $ac_func" >&5
59981 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59982 if eval "test \"\${$as_ac_var+set}\" = set"; then
59983 echo $ECHO_N "(cached) $ECHO_C" >&6
59984 else
59985 if test x$gcc_no_link = xyes; then
59986 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59987 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59988 { (exit 1); exit 1; }; }
59989 fi
59990 cat >conftest.$ac_ext <<_ACEOF
59991 /* confdefs.h. */
59992 _ACEOF
59993 cat confdefs.h >>conftest.$ac_ext
59994 cat >>conftest.$ac_ext <<_ACEOF
59995 /* end confdefs.h. */
59996 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59997 For example, HP-UX 11i <limits.h> declares gettimeofday. */
59998 #define $ac_func innocuous_$ac_func
59999
60000 /* System header to define __stub macros and hopefully few prototypes,
60001 which can conflict with char $ac_func (); below.
60002 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60003 <limits.h> exists even on freestanding compilers. */
60004
60005 #ifdef __STDC__
60006 # include <limits.h>
60007 #else
60008 # include <assert.h>
60009 #endif
60010
60011 #undef $ac_func
60012
60013 /* Override any gcc2 internal prototype to avoid an error. */
60014 #ifdef __cplusplus
60015 extern "C"
60016 {
60017 #endif
60018 /* We use char because int might match the return type of a gcc2
60019 builtin and then its argument prototype would still apply. */
60020 char $ac_func ();
60021 /* The GNU C library defines this for functions which it implements
60022 to always fail with ENOSYS. Some functions are actually named
60023 something starting with __ and the normal name is an alias. */
60024 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60025 choke me
60026 #else
60027 char (*f) () = $ac_func;
60028 #endif
60029 #ifdef __cplusplus
60030 }
60031 #endif
60032
60033 int
60034 main ()
60035 {
60036 return f != $ac_func;
60037 ;
60038 return 0;
60039 }
60040 _ACEOF
60041 rm -f conftest.$ac_objext conftest$ac_exeext
60042 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60043 (eval $ac_link) 2>conftest.er1
60044 ac_status=$?
60045 grep -v '^ *+' conftest.er1 >conftest.err
60046 rm -f conftest.er1
60047 cat conftest.err >&5
60048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60049 (exit $ac_status); } &&
60050 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
60051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60052 (eval $ac_try) 2>&5
60053 ac_status=$?
60054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60055 (exit $ac_status); }; } &&
60056 { ac_try='test -s conftest$ac_exeext'
60057 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60058 (eval $ac_try) 2>&5
60059 ac_status=$?
60060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60061 (exit $ac_status); }; }; then
60062 eval "$as_ac_var=yes"
60063 else
60064 echo "$as_me: failed program was:" >&5
60065 sed 's/^/| /' conftest.$ac_ext >&5
60066
60067 eval "$as_ac_var=no"
60068 fi
60069 rm -f conftest.err conftest.$ac_objext \
60070 conftest$ac_exeext conftest.$ac_ext
60071 fi
60072 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60073 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60074 if test `eval echo '${'$as_ac_var'}'` = yes; then
60075 cat >>confdefs.h <<_ACEOF
60076 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60077 _ACEOF
60078
60079 fi
60080 done
60081
60082 else
60083
60084 echo "$as_me:$LINENO: checking for _frexpf declaration" >&5
60085 echo $ECHO_N "checking for _frexpf declaration... $ECHO_C" >&6
60086 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
60087 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then
60088 echo $ECHO_N "(cached) $ECHO_C" >&6
60089 else
60090
60091
60092
60093 ac_ext=cc
60094 ac_cpp='$CXXCPP $CPPFLAGS'
60095 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60096 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60097 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60098
60099 cat >conftest.$ac_ext <<_ACEOF
60100 /* confdefs.h. */
60101 _ACEOF
60102 cat confdefs.h >>conftest.$ac_ext
60103 cat >>conftest.$ac_ext <<_ACEOF
60104 /* end confdefs.h. */
60105 #include <math.h>
60106 int
60107 main ()
60108 {
60109 _frexpf(0, 0);
60110 ;
60111 return 0;
60112 }
60113 _ACEOF
60114 rm -f conftest.$ac_objext
60115 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60116 (eval $ac_compile) 2>conftest.er1
60117 ac_status=$?
60118 grep -v '^ *+' conftest.er1 >conftest.err
60119 rm -f conftest.er1
60120 cat conftest.err >&5
60121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60122 (exit $ac_status); } &&
60123 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
60124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60125 (eval $ac_try) 2>&5
60126 ac_status=$?
60127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60128 (exit $ac_status); }; } &&
60129 { ac_try='test -s conftest.$ac_objext'
60130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60131 (eval $ac_try) 2>&5
60132 ac_status=$?
60133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60134 (exit $ac_status); }; }; then
60135 glibcxx_cv_func__frexpf_use=yes
60136 else
60137 echo "$as_me: failed program was:" >&5
60138 sed 's/^/| /' conftest.$ac_ext >&5
60139
60140 glibcxx_cv_func__frexpf_use=no
60141 fi
60142 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60143 ac_ext=c
60144 ac_cpp='$CPP $CPPFLAGS'
60145 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60146 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60147 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60148
60149
60150 fi
60151
60152 fi
60153 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpf_use" >&5
60154 echo "${ECHO_T}$glibcxx_cv_func__frexpf_use" >&6
60155
60156 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
60157
60158 for ac_func in _frexpf
60159 do
60160 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60161 echo "$as_me:$LINENO: checking for $ac_func" >&5
60162 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60163 if eval "test \"\${$as_ac_var+set}\" = set"; then
60164 echo $ECHO_N "(cached) $ECHO_C" >&6
60165 else
60166 if test x$gcc_no_link = xyes; then
60167 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60168 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60169 { (exit 1); exit 1; }; }
60170 fi
60171 cat >conftest.$ac_ext <<_ACEOF
60172 /* confdefs.h. */
60173 _ACEOF
60174 cat confdefs.h >>conftest.$ac_ext
60175 cat >>conftest.$ac_ext <<_ACEOF
60176 /* end confdefs.h. */
60177 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60178 For example, HP-UX 11i <limits.h> declares gettimeofday. */
60179 #define $ac_func innocuous_$ac_func
60180
60181 /* System header to define __stub macros and hopefully few prototypes,
60182 which can conflict with char $ac_func (); below.
60183 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60184 <limits.h> exists even on freestanding compilers. */
60185
60186 #ifdef __STDC__
60187 # include <limits.h>
60188 #else
60189 # include <assert.h>
60190 #endif
60191
60192 #undef $ac_func
60193
60194 /* Override any gcc2 internal prototype to avoid an error. */
60195 #ifdef __cplusplus
60196 extern "C"
60197 {
60198 #endif
60199 /* We use char because int might match the return type of a gcc2
60200 builtin and then its argument prototype would still apply. */
60201 char $ac_func ();
60202 /* The GNU C library defines this for functions which it implements
60203 to always fail with ENOSYS. Some functions are actually named
60204 something starting with __ and the normal name is an alias. */
60205 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60206 choke me
60207 #else
60208 char (*f) () = $ac_func;
60209 #endif
60210 #ifdef __cplusplus
60211 }
60212 #endif
60213
60214 int
60215 main ()
60216 {
60217 return f != $ac_func;
60218 ;
60219 return 0;
60220 }
60221 _ACEOF
60222 rm -f conftest.$ac_objext conftest$ac_exeext
60223 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60224 (eval $ac_link) 2>conftest.er1
60225 ac_status=$?
60226 grep -v '^ *+' conftest.er1 >conftest.err
60227 rm -f conftest.er1
60228 cat conftest.err >&5
60229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60230 (exit $ac_status); } &&
60231 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
60232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60233 (eval $ac_try) 2>&5
60234 ac_status=$?
60235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60236 (exit $ac_status); }; } &&
60237 { ac_try='test -s conftest$ac_exeext'
60238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60239 (eval $ac_try) 2>&5
60240 ac_status=$?
60241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60242 (exit $ac_status); }; }; then
60243 eval "$as_ac_var=yes"
60244 else
60245 echo "$as_me: failed program was:" >&5
60246 sed 's/^/| /' conftest.$ac_ext >&5
60247
60248 eval "$as_ac_var=no"
60249 fi
60250 rm -f conftest.err conftest.$ac_objext \
60251 conftest$ac_exeext conftest.$ac_ext
60252 fi
60253 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60254 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60255 if test `eval echo '${'$as_ac_var'}'` = yes; then
60256 cat >>confdefs.h <<_ACEOF
60257 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60258 _ACEOF
60259
60260 fi
60261 done
60262
60263 fi
60264 fi
60265
60266
60267
60268
60269
60270
60271 echo "$as_me:$LINENO: checking for hypotf declaration" >&5
60272 echo $ECHO_N "checking for hypotf declaration... $ECHO_C" >&6
60273 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
60274 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then
60275 echo $ECHO_N "(cached) $ECHO_C" >&6
60276 else
60277
60278
60279
60280 ac_ext=cc
60281 ac_cpp='$CXXCPP $CPPFLAGS'
60282 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60283 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60284 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60285
60286 cat >conftest.$ac_ext <<_ACEOF
60287 /* confdefs.h. */
60288 _ACEOF
60289 cat confdefs.h >>conftest.$ac_ext
60290 cat >>conftest.$ac_ext <<_ACEOF
60291 /* end confdefs.h. */
60292 #include <math.h>
60293 int
60294 main ()
60295 {
60296 hypotf(0, 0);
60297 ;
60298 return 0;
60299 }
60300 _ACEOF
60301 rm -f conftest.$ac_objext
60302 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60303 (eval $ac_compile) 2>conftest.er1
60304 ac_status=$?
60305 grep -v '^ *+' conftest.er1 >conftest.err
60306 rm -f conftest.er1
60307 cat conftest.err >&5
60308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60309 (exit $ac_status); } &&
60310 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
60311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60312 (eval $ac_try) 2>&5
60313 ac_status=$?
60314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60315 (exit $ac_status); }; } &&
60316 { ac_try='test -s conftest.$ac_objext'
60317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60318 (eval $ac_try) 2>&5
60319 ac_status=$?
60320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60321 (exit $ac_status); }; }; then
60322 glibcxx_cv_func_hypotf_use=yes
60323 else
60324 echo "$as_me: failed program was:" >&5
60325 sed 's/^/| /' conftest.$ac_ext >&5
60326
60327 glibcxx_cv_func_hypotf_use=no
60328 fi
60329 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60330 ac_ext=c
60331 ac_cpp='$CPP $CPPFLAGS'
60332 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60333 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60334 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60335
60336
60337 fi
60338
60339 fi
60340 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotf_use" >&5
60341 echo "${ECHO_T}$glibcxx_cv_func_hypotf_use" >&6
60342
60343 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
60344
60345 for ac_func in hypotf
60346 do
60347 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60348 echo "$as_me:$LINENO: checking for $ac_func" >&5
60349 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60350 if eval "test \"\${$as_ac_var+set}\" = set"; then
60351 echo $ECHO_N "(cached) $ECHO_C" >&6
60352 else
60353 if test x$gcc_no_link = xyes; then
60354 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60355 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60356 { (exit 1); exit 1; }; }
60357 fi
60358 cat >conftest.$ac_ext <<_ACEOF
60359 /* confdefs.h. */
60360 _ACEOF
60361 cat confdefs.h >>conftest.$ac_ext
60362 cat >>conftest.$ac_ext <<_ACEOF
60363 /* end confdefs.h. */
60364 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60365 For example, HP-UX 11i <limits.h> declares gettimeofday. */
60366 #define $ac_func innocuous_$ac_func
60367
60368 /* System header to define __stub macros and hopefully few prototypes,
60369 which can conflict with char $ac_func (); below.
60370 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60371 <limits.h> exists even on freestanding compilers. */
60372
60373 #ifdef __STDC__
60374 # include <limits.h>
60375 #else
60376 # include <assert.h>
60377 #endif
60378
60379 #undef $ac_func
60380
60381 /* Override any gcc2 internal prototype to avoid an error. */
60382 #ifdef __cplusplus
60383 extern "C"
60384 {
60385 #endif
60386 /* We use char because int might match the return type of a gcc2
60387 builtin and then its argument prototype would still apply. */
60388 char $ac_func ();
60389 /* The GNU C library defines this for functions which it implements
60390 to always fail with ENOSYS. Some functions are actually named
60391 something starting with __ and the normal name is an alias. */
60392 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60393 choke me
60394 #else
60395 char (*f) () = $ac_func;
60396 #endif
60397 #ifdef __cplusplus
60398 }
60399 #endif
60400
60401 int
60402 main ()
60403 {
60404 return f != $ac_func;
60405 ;
60406 return 0;
60407 }
60408 _ACEOF
60409 rm -f conftest.$ac_objext conftest$ac_exeext
60410 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60411 (eval $ac_link) 2>conftest.er1
60412 ac_status=$?
60413 grep -v '^ *+' conftest.er1 >conftest.err
60414 rm -f conftest.er1
60415 cat conftest.err >&5
60416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60417 (exit $ac_status); } &&
60418 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
60419 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60420 (eval $ac_try) 2>&5
60421 ac_status=$?
60422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60423 (exit $ac_status); }; } &&
60424 { ac_try='test -s conftest$ac_exeext'
60425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60426 (eval $ac_try) 2>&5
60427 ac_status=$?
60428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60429 (exit $ac_status); }; }; then
60430 eval "$as_ac_var=yes"
60431 else
60432 echo "$as_me: failed program was:" >&5
60433 sed 's/^/| /' conftest.$ac_ext >&5
60434
60435 eval "$as_ac_var=no"
60436 fi
60437 rm -f conftest.err conftest.$ac_objext \
60438 conftest$ac_exeext conftest.$ac_ext
60439 fi
60440 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60441 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60442 if test `eval echo '${'$as_ac_var'}'` = yes; then
60443 cat >>confdefs.h <<_ACEOF
60444 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60445 _ACEOF
60446
60447 fi
60448 done
60449
60450 else
60451
60452 echo "$as_me:$LINENO: checking for _hypotf declaration" >&5
60453 echo $ECHO_N "checking for _hypotf declaration... $ECHO_C" >&6
60454 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
60455 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then
60456 echo $ECHO_N "(cached) $ECHO_C" >&6
60457 else
60458
60459
60460
60461 ac_ext=cc
60462 ac_cpp='$CXXCPP $CPPFLAGS'
60463 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60464 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60465 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60466
60467 cat >conftest.$ac_ext <<_ACEOF
60468 /* confdefs.h. */
60469 _ACEOF
60470 cat confdefs.h >>conftest.$ac_ext
60471 cat >>conftest.$ac_ext <<_ACEOF
60472 /* end confdefs.h. */
60473 #include <math.h>
60474 int
60475 main ()
60476 {
60477 _hypotf(0, 0);
60478 ;
60479 return 0;
60480 }
60481 _ACEOF
60482 rm -f conftest.$ac_objext
60483 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60484 (eval $ac_compile) 2>conftest.er1
60485 ac_status=$?
60486 grep -v '^ *+' conftest.er1 >conftest.err
60487 rm -f conftest.er1
60488 cat conftest.err >&5
60489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60490 (exit $ac_status); } &&
60491 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
60492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60493 (eval $ac_try) 2>&5
60494 ac_status=$?
60495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60496 (exit $ac_status); }; } &&
60497 { ac_try='test -s conftest.$ac_objext'
60498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60499 (eval $ac_try) 2>&5
60500 ac_status=$?
60501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60502 (exit $ac_status); }; }; then
60503 glibcxx_cv_func__hypotf_use=yes
60504 else
60505 echo "$as_me: failed program was:" >&5
60506 sed 's/^/| /' conftest.$ac_ext >&5
60507
60508 glibcxx_cv_func__hypotf_use=no
60509 fi
60510 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60511 ac_ext=c
60512 ac_cpp='$CPP $CPPFLAGS'
60513 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60514 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60515 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60516
60517
60518 fi
60519
60520 fi
60521 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotf_use" >&5
60522 echo "${ECHO_T}$glibcxx_cv_func__hypotf_use" >&6
60523
60524 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
60525
60526 for ac_func in _hypotf
60527 do
60528 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60529 echo "$as_me:$LINENO: checking for $ac_func" >&5
60530 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60531 if eval "test \"\${$as_ac_var+set}\" = set"; then
60532 echo $ECHO_N "(cached) $ECHO_C" >&6
60533 else
60534 if test x$gcc_no_link = xyes; then
60535 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60536 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60537 { (exit 1); exit 1; }; }
60538 fi
60539 cat >conftest.$ac_ext <<_ACEOF
60540 /* confdefs.h. */
60541 _ACEOF
60542 cat confdefs.h >>conftest.$ac_ext
60543 cat >>conftest.$ac_ext <<_ACEOF
60544 /* end confdefs.h. */
60545 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60546 For example, HP-UX 11i <limits.h> declares gettimeofday. */
60547 #define $ac_func innocuous_$ac_func
60548
60549 /* System header to define __stub macros and hopefully few prototypes,
60550 which can conflict with char $ac_func (); below.
60551 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60552 <limits.h> exists even on freestanding compilers. */
60553
60554 #ifdef __STDC__
60555 # include <limits.h>
60556 #else
60557 # include <assert.h>
60558 #endif
60559
60560 #undef $ac_func
60561
60562 /* Override any gcc2 internal prototype to avoid an error. */
60563 #ifdef __cplusplus
60564 extern "C"
60565 {
60566 #endif
60567 /* We use char because int might match the return type of a gcc2
60568 builtin and then its argument prototype would still apply. */
60569 char $ac_func ();
60570 /* The GNU C library defines this for functions which it implements
60571 to always fail with ENOSYS. Some functions are actually named
60572 something starting with __ and the normal name is an alias. */
60573 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60574 choke me
60575 #else
60576 char (*f) () = $ac_func;
60577 #endif
60578 #ifdef __cplusplus
60579 }
60580 #endif
60581
60582 int
60583 main ()
60584 {
60585 return f != $ac_func;
60586 ;
60587 return 0;
60588 }
60589 _ACEOF
60590 rm -f conftest.$ac_objext conftest$ac_exeext
60591 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60592 (eval $ac_link) 2>conftest.er1
60593 ac_status=$?
60594 grep -v '^ *+' conftest.er1 >conftest.err
60595 rm -f conftest.er1
60596 cat conftest.err >&5
60597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60598 (exit $ac_status); } &&
60599 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
60600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60601 (eval $ac_try) 2>&5
60602 ac_status=$?
60603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60604 (exit $ac_status); }; } &&
60605 { ac_try='test -s conftest$ac_exeext'
60606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60607 (eval $ac_try) 2>&5
60608 ac_status=$?
60609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60610 (exit $ac_status); }; }; then
60611 eval "$as_ac_var=yes"
60612 else
60613 echo "$as_me: failed program was:" >&5
60614 sed 's/^/| /' conftest.$ac_ext >&5
60615
60616 eval "$as_ac_var=no"
60617 fi
60618 rm -f conftest.err conftest.$ac_objext \
60619 conftest$ac_exeext conftest.$ac_ext
60620 fi
60621 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60622 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60623 if test `eval echo '${'$as_ac_var'}'` = yes; then
60624 cat >>confdefs.h <<_ACEOF
60625 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60626 _ACEOF
60627
60628 fi
60629 done
60630
60631 fi
60632 fi
60633
60634
60635
60636
60637
60638
60639 echo "$as_me:$LINENO: checking for ldexpf declaration" >&5
60640 echo $ECHO_N "checking for ldexpf declaration... $ECHO_C" >&6
60641 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
60642 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then
60643 echo $ECHO_N "(cached) $ECHO_C" >&6
60644 else
60645
60646
60647
60648 ac_ext=cc
60649 ac_cpp='$CXXCPP $CPPFLAGS'
60650 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60651 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60652 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60653
60654 cat >conftest.$ac_ext <<_ACEOF
60655 /* confdefs.h. */
60656 _ACEOF
60657 cat confdefs.h >>conftest.$ac_ext
60658 cat >>conftest.$ac_ext <<_ACEOF
60659 /* end confdefs.h. */
60660 #include <math.h>
60661 int
60662 main ()
60663 {
60664 ldexpf(0, 0);
60665 ;
60666 return 0;
60667 }
60668 _ACEOF
60669 rm -f conftest.$ac_objext
60670 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60671 (eval $ac_compile) 2>conftest.er1
60672 ac_status=$?
60673 grep -v '^ *+' conftest.er1 >conftest.err
60674 rm -f conftest.er1
60675 cat conftest.err >&5
60676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60677 (exit $ac_status); } &&
60678 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
60679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60680 (eval $ac_try) 2>&5
60681 ac_status=$?
60682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60683 (exit $ac_status); }; } &&
60684 { ac_try='test -s conftest.$ac_objext'
60685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60686 (eval $ac_try) 2>&5
60687 ac_status=$?
60688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60689 (exit $ac_status); }; }; then
60690 glibcxx_cv_func_ldexpf_use=yes
60691 else
60692 echo "$as_me: failed program was:" >&5
60693 sed 's/^/| /' conftest.$ac_ext >&5
60694
60695 glibcxx_cv_func_ldexpf_use=no
60696 fi
60697 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60698 ac_ext=c
60699 ac_cpp='$CPP $CPPFLAGS'
60700 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60701 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60702 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60703
60704
60705 fi
60706
60707 fi
60708 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpf_use" >&5
60709 echo "${ECHO_T}$glibcxx_cv_func_ldexpf_use" >&6
60710
60711 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
60712
60713 for ac_func in ldexpf
60714 do
60715 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60716 echo "$as_me:$LINENO: checking for $ac_func" >&5
60717 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60718 if eval "test \"\${$as_ac_var+set}\" = set"; then
60719 echo $ECHO_N "(cached) $ECHO_C" >&6
60720 else
60721 if test x$gcc_no_link = xyes; then
60722 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60723 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60724 { (exit 1); exit 1; }; }
60725 fi
60726 cat >conftest.$ac_ext <<_ACEOF
60727 /* confdefs.h. */
60728 _ACEOF
60729 cat confdefs.h >>conftest.$ac_ext
60730 cat >>conftest.$ac_ext <<_ACEOF
60731 /* end confdefs.h. */
60732 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60733 For example, HP-UX 11i <limits.h> declares gettimeofday. */
60734 #define $ac_func innocuous_$ac_func
60735
60736 /* System header to define __stub macros and hopefully few prototypes,
60737 which can conflict with char $ac_func (); below.
60738 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60739 <limits.h> exists even on freestanding compilers. */
60740
60741 #ifdef __STDC__
60742 # include <limits.h>
60743 #else
60744 # include <assert.h>
60745 #endif
60746
60747 #undef $ac_func
60748
60749 /* Override any gcc2 internal prototype to avoid an error. */
60750 #ifdef __cplusplus
60751 extern "C"
60752 {
60753 #endif
60754 /* We use char because int might match the return type of a gcc2
60755 builtin and then its argument prototype would still apply. */
60756 char $ac_func ();
60757 /* The GNU C library defines this for functions which it implements
60758 to always fail with ENOSYS. Some functions are actually named
60759 something starting with __ and the normal name is an alias. */
60760 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60761 choke me
60762 #else
60763 char (*f) () = $ac_func;
60764 #endif
60765 #ifdef __cplusplus
60766 }
60767 #endif
60768
60769 int
60770 main ()
60771 {
60772 return f != $ac_func;
60773 ;
60774 return 0;
60775 }
60776 _ACEOF
60777 rm -f conftest.$ac_objext conftest$ac_exeext
60778 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60779 (eval $ac_link) 2>conftest.er1
60780 ac_status=$?
60781 grep -v '^ *+' conftest.er1 >conftest.err
60782 rm -f conftest.er1
60783 cat conftest.err >&5
60784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60785 (exit $ac_status); } &&
60786 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
60787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60788 (eval $ac_try) 2>&5
60789 ac_status=$?
60790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60791 (exit $ac_status); }; } &&
60792 { ac_try='test -s conftest$ac_exeext'
60793 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60794 (eval $ac_try) 2>&5
60795 ac_status=$?
60796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60797 (exit $ac_status); }; }; then
60798 eval "$as_ac_var=yes"
60799 else
60800 echo "$as_me: failed program was:" >&5
60801 sed 's/^/| /' conftest.$ac_ext >&5
60802
60803 eval "$as_ac_var=no"
60804 fi
60805 rm -f conftest.err conftest.$ac_objext \
60806 conftest$ac_exeext conftest.$ac_ext
60807 fi
60808 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60809 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60810 if test `eval echo '${'$as_ac_var'}'` = yes; then
60811 cat >>confdefs.h <<_ACEOF
60812 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60813 _ACEOF
60814
60815 fi
60816 done
60817
60818 else
60819
60820 echo "$as_me:$LINENO: checking for _ldexpf declaration" >&5
60821 echo $ECHO_N "checking for _ldexpf declaration... $ECHO_C" >&6
60822 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
60823 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then
60824 echo $ECHO_N "(cached) $ECHO_C" >&6
60825 else
60826
60827
60828
60829 ac_ext=cc
60830 ac_cpp='$CXXCPP $CPPFLAGS'
60831 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60832 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60833 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60834
60835 cat >conftest.$ac_ext <<_ACEOF
60836 /* confdefs.h. */
60837 _ACEOF
60838 cat confdefs.h >>conftest.$ac_ext
60839 cat >>conftest.$ac_ext <<_ACEOF
60840 /* end confdefs.h. */
60841 #include <math.h>
60842 int
60843 main ()
60844 {
60845 _ldexpf(0, 0);
60846 ;
60847 return 0;
60848 }
60849 _ACEOF
60850 rm -f conftest.$ac_objext
60851 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60852 (eval $ac_compile) 2>conftest.er1
60853 ac_status=$?
60854 grep -v '^ *+' conftest.er1 >conftest.err
60855 rm -f conftest.er1
60856 cat conftest.err >&5
60857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60858 (exit $ac_status); } &&
60859 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
60860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60861 (eval $ac_try) 2>&5
60862 ac_status=$?
60863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60864 (exit $ac_status); }; } &&
60865 { ac_try='test -s conftest.$ac_objext'
60866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60867 (eval $ac_try) 2>&5
60868 ac_status=$?
60869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60870 (exit $ac_status); }; }; then
60871 glibcxx_cv_func__ldexpf_use=yes
60872 else
60873 echo "$as_me: failed program was:" >&5
60874 sed 's/^/| /' conftest.$ac_ext >&5
60875
60876 glibcxx_cv_func__ldexpf_use=no
60877 fi
60878 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60879 ac_ext=c
60880 ac_cpp='$CPP $CPPFLAGS'
60881 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60882 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60883 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60884
60885
60886 fi
60887
60888 fi
60889 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpf_use" >&5
60890 echo "${ECHO_T}$glibcxx_cv_func__ldexpf_use" >&6
60891
60892 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
60893
60894 for ac_func in _ldexpf
60895 do
60896 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60897 echo "$as_me:$LINENO: checking for $ac_func" >&5
60898 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60899 if eval "test \"\${$as_ac_var+set}\" = set"; then
60900 echo $ECHO_N "(cached) $ECHO_C" >&6
60901 else
60902 if test x$gcc_no_link = xyes; then
60903 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60904 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60905 { (exit 1); exit 1; }; }
60906 fi
60907 cat >conftest.$ac_ext <<_ACEOF
60908 /* confdefs.h. */
60909 _ACEOF
60910 cat confdefs.h >>conftest.$ac_ext
60911 cat >>conftest.$ac_ext <<_ACEOF
60912 /* end confdefs.h. */
60913 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60914 For example, HP-UX 11i <limits.h> declares gettimeofday. */
60915 #define $ac_func innocuous_$ac_func
60916
60917 /* System header to define __stub macros and hopefully few prototypes,
60918 which can conflict with char $ac_func (); below.
60919 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60920 <limits.h> exists even on freestanding compilers. */
60921
60922 #ifdef __STDC__
60923 # include <limits.h>
60924 #else
60925 # include <assert.h>
60926 #endif
60927
60928 #undef $ac_func
60929
60930 /* Override any gcc2 internal prototype to avoid an error. */
60931 #ifdef __cplusplus
60932 extern "C"
60933 {
60934 #endif
60935 /* We use char because int might match the return type of a gcc2
60936 builtin and then its argument prototype would still apply. */
60937 char $ac_func ();
60938 /* The GNU C library defines this for functions which it implements
60939 to always fail with ENOSYS. Some functions are actually named
60940 something starting with __ and the normal name is an alias. */
60941 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60942 choke me
60943 #else
60944 char (*f) () = $ac_func;
60945 #endif
60946 #ifdef __cplusplus
60947 }
60948 #endif
60949
60950 int
60951 main ()
60952 {
60953 return f != $ac_func;
60954 ;
60955 return 0;
60956 }
60957 _ACEOF
60958 rm -f conftest.$ac_objext conftest$ac_exeext
60959 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60960 (eval $ac_link) 2>conftest.er1
60961 ac_status=$?
60962 grep -v '^ *+' conftest.er1 >conftest.err
60963 rm -f conftest.er1
60964 cat conftest.err >&5
60965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60966 (exit $ac_status); } &&
60967 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
60968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60969 (eval $ac_try) 2>&5
60970 ac_status=$?
60971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60972 (exit $ac_status); }; } &&
60973 { ac_try='test -s conftest$ac_exeext'
60974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60975 (eval $ac_try) 2>&5
60976 ac_status=$?
60977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60978 (exit $ac_status); }; }; then
60979 eval "$as_ac_var=yes"
60980 else
60981 echo "$as_me: failed program was:" >&5
60982 sed 's/^/| /' conftest.$ac_ext >&5
60983
60984 eval "$as_ac_var=no"
60985 fi
60986 rm -f conftest.err conftest.$ac_objext \
60987 conftest$ac_exeext conftest.$ac_ext
60988 fi
60989 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60990 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60991 if test `eval echo '${'$as_ac_var'}'` = yes; then
60992 cat >>confdefs.h <<_ACEOF
60993 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60994 _ACEOF
60995
60996 fi
60997 done
60998
60999 fi
61000 fi
61001
61002
61003
61004
61005
61006
61007 echo "$as_me:$LINENO: checking for logf declaration" >&5
61008 echo $ECHO_N "checking for logf declaration... $ECHO_C" >&6
61009 if test x${glibcxx_cv_func_logf_use+set} != xset; then
61010 if test "${glibcxx_cv_func_logf_use+set}" = set; then
61011 echo $ECHO_N "(cached) $ECHO_C" >&6
61012 else
61013
61014
61015
61016 ac_ext=cc
61017 ac_cpp='$CXXCPP $CPPFLAGS'
61018 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61019 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61020 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61021
61022 cat >conftest.$ac_ext <<_ACEOF
61023 /* confdefs.h. */
61024 _ACEOF
61025 cat confdefs.h >>conftest.$ac_ext
61026 cat >>conftest.$ac_ext <<_ACEOF
61027 /* end confdefs.h. */
61028 #include <math.h>
61029 #ifdef HAVE_IEEEFP_H
61030 #include <ieeefp.h>
61031 #endif
61032
61033 int
61034 main ()
61035 {
61036 logf(0);
61037 ;
61038 return 0;
61039 }
61040 _ACEOF
61041 rm -f conftest.$ac_objext
61042 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61043 (eval $ac_compile) 2>conftest.er1
61044 ac_status=$?
61045 grep -v '^ *+' conftest.er1 >conftest.err
61046 rm -f conftest.er1
61047 cat conftest.err >&5
61048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61049 (exit $ac_status); } &&
61050 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
61051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61052 (eval $ac_try) 2>&5
61053 ac_status=$?
61054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61055 (exit $ac_status); }; } &&
61056 { ac_try='test -s conftest.$ac_objext'
61057 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61058 (eval $ac_try) 2>&5
61059 ac_status=$?
61060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61061 (exit $ac_status); }; }; then
61062 glibcxx_cv_func_logf_use=yes
61063 else
61064 echo "$as_me: failed program was:" >&5
61065 sed 's/^/| /' conftest.$ac_ext >&5
61066
61067 glibcxx_cv_func_logf_use=no
61068 fi
61069 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61070 ac_ext=c
61071 ac_cpp='$CPP $CPPFLAGS'
61072 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61073 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61074 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61075
61076
61077 fi
61078
61079 fi
61080 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logf_use" >&5
61081 echo "${ECHO_T}$glibcxx_cv_func_logf_use" >&6
61082
61083 if test x$glibcxx_cv_func_logf_use = x"yes"; then
61084
61085 for ac_func in logf
61086 do
61087 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61088 echo "$as_me:$LINENO: checking for $ac_func" >&5
61089 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
61090 if eval "test \"\${$as_ac_var+set}\" = set"; then
61091 echo $ECHO_N "(cached) $ECHO_C" >&6
61092 else
61093 if test x$gcc_no_link = xyes; then
61094 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61095 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61096 { (exit 1); exit 1; }; }
61097 fi
61098 cat >conftest.$ac_ext <<_ACEOF
61099 /* confdefs.h. */
61100 _ACEOF
61101 cat confdefs.h >>conftest.$ac_ext
61102 cat >>conftest.$ac_ext <<_ACEOF
61103 /* end confdefs.h. */
61104 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
61105 For example, HP-UX 11i <limits.h> declares gettimeofday. */
61106 #define $ac_func innocuous_$ac_func
61107
61108 /* System header to define __stub macros and hopefully few prototypes,
61109 which can conflict with char $ac_func (); below.
61110 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61111 <limits.h> exists even on freestanding compilers. */
61112
61113 #ifdef __STDC__
61114 # include <limits.h>
61115 #else
61116 # include <assert.h>
61117 #endif
61118
61119 #undef $ac_func
61120
61121 /* Override any gcc2 internal prototype to avoid an error. */
61122 #ifdef __cplusplus
61123 extern "C"
61124 {
61125 #endif
61126 /* We use char because int might match the return type of a gcc2
61127 builtin and then its argument prototype would still apply. */
61128 char $ac_func ();
61129 /* The GNU C library defines this for functions which it implements
61130 to always fail with ENOSYS. Some functions are actually named
61131 something starting with __ and the normal name is an alias. */
61132 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61133 choke me
61134 #else
61135 char (*f) () = $ac_func;
61136 #endif
61137 #ifdef __cplusplus
61138 }
61139 #endif
61140
61141 int
61142 main ()
61143 {
61144 return f != $ac_func;
61145 ;
61146 return 0;
61147 }
61148 _ACEOF
61149 rm -f conftest.$ac_objext conftest$ac_exeext
61150 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61151 (eval $ac_link) 2>conftest.er1
61152 ac_status=$?
61153 grep -v '^ *+' conftest.er1 >conftest.err
61154 rm -f conftest.er1
61155 cat conftest.err >&5
61156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61157 (exit $ac_status); } &&
61158 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
61159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61160 (eval $ac_try) 2>&5
61161 ac_status=$?
61162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61163 (exit $ac_status); }; } &&
61164 { ac_try='test -s conftest$ac_exeext'
61165 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61166 (eval $ac_try) 2>&5
61167 ac_status=$?
61168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61169 (exit $ac_status); }; }; then
61170 eval "$as_ac_var=yes"
61171 else
61172 echo "$as_me: failed program was:" >&5
61173 sed 's/^/| /' conftest.$ac_ext >&5
61174
61175 eval "$as_ac_var=no"
61176 fi
61177 rm -f conftest.err conftest.$ac_objext \
61178 conftest$ac_exeext conftest.$ac_ext
61179 fi
61180 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61181 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61182 if test `eval echo '${'$as_ac_var'}'` = yes; then
61183 cat >>confdefs.h <<_ACEOF
61184 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61185 _ACEOF
61186
61187 fi
61188 done
61189
61190 else
61191
61192 echo "$as_me:$LINENO: checking for _logf declaration" >&5
61193 echo $ECHO_N "checking for _logf declaration... $ECHO_C" >&6
61194 if test x${glibcxx_cv_func__logf_use+set} != xset; then
61195 if test "${glibcxx_cv_func__logf_use+set}" = set; then
61196 echo $ECHO_N "(cached) $ECHO_C" >&6
61197 else
61198
61199
61200
61201 ac_ext=cc
61202 ac_cpp='$CXXCPP $CPPFLAGS'
61203 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61204 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61205 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61206
61207 cat >conftest.$ac_ext <<_ACEOF
61208 /* confdefs.h. */
61209 _ACEOF
61210 cat confdefs.h >>conftest.$ac_ext
61211 cat >>conftest.$ac_ext <<_ACEOF
61212 /* end confdefs.h. */
61213 #include <math.h>
61214 #ifdef HAVE_IEEEFP_H
61215 #include <ieeefp.h>
61216 #endif
61217
61218 int
61219 main ()
61220 {
61221 _logf(0);
61222 ;
61223 return 0;
61224 }
61225 _ACEOF
61226 rm -f conftest.$ac_objext
61227 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61228 (eval $ac_compile) 2>conftest.er1
61229 ac_status=$?
61230 grep -v '^ *+' conftest.er1 >conftest.err
61231 rm -f conftest.er1
61232 cat conftest.err >&5
61233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61234 (exit $ac_status); } &&
61235 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
61236 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61237 (eval $ac_try) 2>&5
61238 ac_status=$?
61239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61240 (exit $ac_status); }; } &&
61241 { ac_try='test -s conftest.$ac_objext'
61242 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61243 (eval $ac_try) 2>&5
61244 ac_status=$?
61245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61246 (exit $ac_status); }; }; then
61247 glibcxx_cv_func__logf_use=yes
61248 else
61249 echo "$as_me: failed program was:" >&5
61250 sed 's/^/| /' conftest.$ac_ext >&5
61251
61252 glibcxx_cv_func__logf_use=no
61253 fi
61254 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61255 ac_ext=c
61256 ac_cpp='$CPP $CPPFLAGS'
61257 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61258 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61259 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61260
61261
61262 fi
61263
61264 fi
61265 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logf_use" >&5
61266 echo "${ECHO_T}$glibcxx_cv_func__logf_use" >&6
61267
61268 if test x$glibcxx_cv_func__logf_use = x"yes"; then
61269
61270 for ac_func in _logf
61271 do
61272 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61273 echo "$as_me:$LINENO: checking for $ac_func" >&5
61274 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
61275 if eval "test \"\${$as_ac_var+set}\" = set"; then
61276 echo $ECHO_N "(cached) $ECHO_C" >&6
61277 else
61278 if test x$gcc_no_link = xyes; then
61279 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61280 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61281 { (exit 1); exit 1; }; }
61282 fi
61283 cat >conftest.$ac_ext <<_ACEOF
61284 /* confdefs.h. */
61285 _ACEOF
61286 cat confdefs.h >>conftest.$ac_ext
61287 cat >>conftest.$ac_ext <<_ACEOF
61288 /* end confdefs.h. */
61289 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
61290 For example, HP-UX 11i <limits.h> declares gettimeofday. */
61291 #define $ac_func innocuous_$ac_func
61292
61293 /* System header to define __stub macros and hopefully few prototypes,
61294 which can conflict with char $ac_func (); below.
61295 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61296 <limits.h> exists even on freestanding compilers. */
61297
61298 #ifdef __STDC__
61299 # include <limits.h>
61300 #else
61301 # include <assert.h>
61302 #endif
61303
61304 #undef $ac_func
61305
61306 /* Override any gcc2 internal prototype to avoid an error. */
61307 #ifdef __cplusplus
61308 extern "C"
61309 {
61310 #endif
61311 /* We use char because int might match the return type of a gcc2
61312 builtin and then its argument prototype would still apply. */
61313 char $ac_func ();
61314 /* The GNU C library defines this for functions which it implements
61315 to always fail with ENOSYS. Some functions are actually named
61316 something starting with __ and the normal name is an alias. */
61317 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61318 choke me
61319 #else
61320 char (*f) () = $ac_func;
61321 #endif
61322 #ifdef __cplusplus
61323 }
61324 #endif
61325
61326 int
61327 main ()
61328 {
61329 return f != $ac_func;
61330 ;
61331 return 0;
61332 }
61333 _ACEOF
61334 rm -f conftest.$ac_objext conftest$ac_exeext
61335 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61336 (eval $ac_link) 2>conftest.er1
61337 ac_status=$?
61338 grep -v '^ *+' conftest.er1 >conftest.err
61339 rm -f conftest.er1
61340 cat conftest.err >&5
61341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61342 (exit $ac_status); } &&
61343 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
61344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61345 (eval $ac_try) 2>&5
61346 ac_status=$?
61347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61348 (exit $ac_status); }; } &&
61349 { ac_try='test -s conftest$ac_exeext'
61350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61351 (eval $ac_try) 2>&5
61352 ac_status=$?
61353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61354 (exit $ac_status); }; }; then
61355 eval "$as_ac_var=yes"
61356 else
61357 echo "$as_me: failed program was:" >&5
61358 sed 's/^/| /' conftest.$ac_ext >&5
61359
61360 eval "$as_ac_var=no"
61361 fi
61362 rm -f conftest.err conftest.$ac_objext \
61363 conftest$ac_exeext conftest.$ac_ext
61364 fi
61365 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61366 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61367 if test `eval echo '${'$as_ac_var'}'` = yes; then
61368 cat >>confdefs.h <<_ACEOF
61369 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61370 _ACEOF
61371
61372 fi
61373 done
61374
61375 fi
61376 fi
61377
61378
61379
61380
61381
61382
61383 echo "$as_me:$LINENO: checking for log10f declaration" >&5
61384 echo $ECHO_N "checking for log10f declaration... $ECHO_C" >&6
61385 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
61386 if test "${glibcxx_cv_func_log10f_use+set}" = set; then
61387 echo $ECHO_N "(cached) $ECHO_C" >&6
61388 else
61389
61390
61391
61392 ac_ext=cc
61393 ac_cpp='$CXXCPP $CPPFLAGS'
61394 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61395 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61396 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61397
61398 cat >conftest.$ac_ext <<_ACEOF
61399 /* confdefs.h. */
61400 _ACEOF
61401 cat confdefs.h >>conftest.$ac_ext
61402 cat >>conftest.$ac_ext <<_ACEOF
61403 /* end confdefs.h. */
61404 #include <math.h>
61405 #ifdef HAVE_IEEEFP_H
61406 #include <ieeefp.h>
61407 #endif
61408
61409 int
61410 main ()
61411 {
61412 log10f(0);
61413 ;
61414 return 0;
61415 }
61416 _ACEOF
61417 rm -f conftest.$ac_objext
61418 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61419 (eval $ac_compile) 2>conftest.er1
61420 ac_status=$?
61421 grep -v '^ *+' conftest.er1 >conftest.err
61422 rm -f conftest.er1
61423 cat conftest.err >&5
61424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61425 (exit $ac_status); } &&
61426 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
61427 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61428 (eval $ac_try) 2>&5
61429 ac_status=$?
61430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61431 (exit $ac_status); }; } &&
61432 { ac_try='test -s conftest.$ac_objext'
61433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61434 (eval $ac_try) 2>&5
61435 ac_status=$?
61436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61437 (exit $ac_status); }; }; then
61438 glibcxx_cv_func_log10f_use=yes
61439 else
61440 echo "$as_me: failed program was:" >&5
61441 sed 's/^/| /' conftest.$ac_ext >&5
61442
61443 glibcxx_cv_func_log10f_use=no
61444 fi
61445 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61446 ac_ext=c
61447 ac_cpp='$CPP $CPPFLAGS'
61448 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61449 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61450 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61451
61452
61453 fi
61454
61455 fi
61456 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10f_use" >&5
61457 echo "${ECHO_T}$glibcxx_cv_func_log10f_use" >&6
61458
61459 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
61460
61461 for ac_func in log10f
61462 do
61463 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61464 echo "$as_me:$LINENO: checking for $ac_func" >&5
61465 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
61466 if eval "test \"\${$as_ac_var+set}\" = set"; then
61467 echo $ECHO_N "(cached) $ECHO_C" >&6
61468 else
61469 if test x$gcc_no_link = xyes; then
61470 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61471 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61472 { (exit 1); exit 1; }; }
61473 fi
61474 cat >conftest.$ac_ext <<_ACEOF
61475 /* confdefs.h. */
61476 _ACEOF
61477 cat confdefs.h >>conftest.$ac_ext
61478 cat >>conftest.$ac_ext <<_ACEOF
61479 /* end confdefs.h. */
61480 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
61481 For example, HP-UX 11i <limits.h> declares gettimeofday. */
61482 #define $ac_func innocuous_$ac_func
61483
61484 /* System header to define __stub macros and hopefully few prototypes,
61485 which can conflict with char $ac_func (); below.
61486 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61487 <limits.h> exists even on freestanding compilers. */
61488
61489 #ifdef __STDC__
61490 # include <limits.h>
61491 #else
61492 # include <assert.h>
61493 #endif
61494
61495 #undef $ac_func
61496
61497 /* Override any gcc2 internal prototype to avoid an error. */
61498 #ifdef __cplusplus
61499 extern "C"
61500 {
61501 #endif
61502 /* We use char because int might match the return type of a gcc2
61503 builtin and then its argument prototype would still apply. */
61504 char $ac_func ();
61505 /* The GNU C library defines this for functions which it implements
61506 to always fail with ENOSYS. Some functions are actually named
61507 something starting with __ and the normal name is an alias. */
61508 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61509 choke me
61510 #else
61511 char (*f) () = $ac_func;
61512 #endif
61513 #ifdef __cplusplus
61514 }
61515 #endif
61516
61517 int
61518 main ()
61519 {
61520 return f != $ac_func;
61521 ;
61522 return 0;
61523 }
61524 _ACEOF
61525 rm -f conftest.$ac_objext conftest$ac_exeext
61526 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61527 (eval $ac_link) 2>conftest.er1
61528 ac_status=$?
61529 grep -v '^ *+' conftest.er1 >conftest.err
61530 rm -f conftest.er1
61531 cat conftest.err >&5
61532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61533 (exit $ac_status); } &&
61534 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
61535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61536 (eval $ac_try) 2>&5
61537 ac_status=$?
61538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61539 (exit $ac_status); }; } &&
61540 { ac_try='test -s conftest$ac_exeext'
61541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61542 (eval $ac_try) 2>&5
61543 ac_status=$?
61544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61545 (exit $ac_status); }; }; then
61546 eval "$as_ac_var=yes"
61547 else
61548 echo "$as_me: failed program was:" >&5
61549 sed 's/^/| /' conftest.$ac_ext >&5
61550
61551 eval "$as_ac_var=no"
61552 fi
61553 rm -f conftest.err conftest.$ac_objext \
61554 conftest$ac_exeext conftest.$ac_ext
61555 fi
61556 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61557 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61558 if test `eval echo '${'$as_ac_var'}'` = yes; then
61559 cat >>confdefs.h <<_ACEOF
61560 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61561 _ACEOF
61562
61563 fi
61564 done
61565
61566 else
61567
61568 echo "$as_me:$LINENO: checking for _log10f declaration" >&5
61569 echo $ECHO_N "checking for _log10f declaration... $ECHO_C" >&6
61570 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
61571 if test "${glibcxx_cv_func__log10f_use+set}" = set; then
61572 echo $ECHO_N "(cached) $ECHO_C" >&6
61573 else
61574
61575
61576
61577 ac_ext=cc
61578 ac_cpp='$CXXCPP $CPPFLAGS'
61579 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61580 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61581 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61582
61583 cat >conftest.$ac_ext <<_ACEOF
61584 /* confdefs.h. */
61585 _ACEOF
61586 cat confdefs.h >>conftest.$ac_ext
61587 cat >>conftest.$ac_ext <<_ACEOF
61588 /* end confdefs.h. */
61589 #include <math.h>
61590 #ifdef HAVE_IEEEFP_H
61591 #include <ieeefp.h>
61592 #endif
61593
61594 int
61595 main ()
61596 {
61597 _log10f(0);
61598 ;
61599 return 0;
61600 }
61601 _ACEOF
61602 rm -f conftest.$ac_objext
61603 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61604 (eval $ac_compile) 2>conftest.er1
61605 ac_status=$?
61606 grep -v '^ *+' conftest.er1 >conftest.err
61607 rm -f conftest.er1
61608 cat conftest.err >&5
61609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61610 (exit $ac_status); } &&
61611 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
61612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61613 (eval $ac_try) 2>&5
61614 ac_status=$?
61615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61616 (exit $ac_status); }; } &&
61617 { ac_try='test -s conftest.$ac_objext'
61618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61619 (eval $ac_try) 2>&5
61620 ac_status=$?
61621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61622 (exit $ac_status); }; }; then
61623 glibcxx_cv_func__log10f_use=yes
61624 else
61625 echo "$as_me: failed program was:" >&5
61626 sed 's/^/| /' conftest.$ac_ext >&5
61627
61628 glibcxx_cv_func__log10f_use=no
61629 fi
61630 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61631 ac_ext=c
61632 ac_cpp='$CPP $CPPFLAGS'
61633 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61634 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61635 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61636
61637
61638 fi
61639
61640 fi
61641 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10f_use" >&5
61642 echo "${ECHO_T}$glibcxx_cv_func__log10f_use" >&6
61643
61644 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
61645
61646 for ac_func in _log10f
61647 do
61648 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61649 echo "$as_me:$LINENO: checking for $ac_func" >&5
61650 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
61651 if eval "test \"\${$as_ac_var+set}\" = set"; then
61652 echo $ECHO_N "(cached) $ECHO_C" >&6
61653 else
61654 if test x$gcc_no_link = xyes; then
61655 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61656 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61657 { (exit 1); exit 1; }; }
61658 fi
61659 cat >conftest.$ac_ext <<_ACEOF
61660 /* confdefs.h. */
61661 _ACEOF
61662 cat confdefs.h >>conftest.$ac_ext
61663 cat >>conftest.$ac_ext <<_ACEOF
61664 /* end confdefs.h. */
61665 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
61666 For example, HP-UX 11i <limits.h> declares gettimeofday. */
61667 #define $ac_func innocuous_$ac_func
61668
61669 /* System header to define __stub macros and hopefully few prototypes,
61670 which can conflict with char $ac_func (); below.
61671 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61672 <limits.h> exists even on freestanding compilers. */
61673
61674 #ifdef __STDC__
61675 # include <limits.h>
61676 #else
61677 # include <assert.h>
61678 #endif
61679
61680 #undef $ac_func
61681
61682 /* Override any gcc2 internal prototype to avoid an error. */
61683 #ifdef __cplusplus
61684 extern "C"
61685 {
61686 #endif
61687 /* We use char because int might match the return type of a gcc2
61688 builtin and then its argument prototype would still apply. */
61689 char $ac_func ();
61690 /* The GNU C library defines this for functions which it implements
61691 to always fail with ENOSYS. Some functions are actually named
61692 something starting with __ and the normal name is an alias. */
61693 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61694 choke me
61695 #else
61696 char (*f) () = $ac_func;
61697 #endif
61698 #ifdef __cplusplus
61699 }
61700 #endif
61701
61702 int
61703 main ()
61704 {
61705 return f != $ac_func;
61706 ;
61707 return 0;
61708 }
61709 _ACEOF
61710 rm -f conftest.$ac_objext conftest$ac_exeext
61711 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61712 (eval $ac_link) 2>conftest.er1
61713 ac_status=$?
61714 grep -v '^ *+' conftest.er1 >conftest.err
61715 rm -f conftest.er1
61716 cat conftest.err >&5
61717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61718 (exit $ac_status); } &&
61719 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
61720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61721 (eval $ac_try) 2>&5
61722 ac_status=$?
61723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61724 (exit $ac_status); }; } &&
61725 { ac_try='test -s conftest$ac_exeext'
61726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61727 (eval $ac_try) 2>&5
61728 ac_status=$?
61729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61730 (exit $ac_status); }; }; then
61731 eval "$as_ac_var=yes"
61732 else
61733 echo "$as_me: failed program was:" >&5
61734 sed 's/^/| /' conftest.$ac_ext >&5
61735
61736 eval "$as_ac_var=no"
61737 fi
61738 rm -f conftest.err conftest.$ac_objext \
61739 conftest$ac_exeext conftest.$ac_ext
61740 fi
61741 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61742 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61743 if test `eval echo '${'$as_ac_var'}'` = yes; then
61744 cat >>confdefs.h <<_ACEOF
61745 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61746 _ACEOF
61747
61748 fi
61749 done
61750
61751 fi
61752 fi
61753
61754
61755
61756
61757
61758
61759 echo "$as_me:$LINENO: checking for modff declaration" >&5
61760 echo $ECHO_N "checking for modff declaration... $ECHO_C" >&6
61761 if test x${glibcxx_cv_func_modff_use+set} != xset; then
61762 if test "${glibcxx_cv_func_modff_use+set}" = set; then
61763 echo $ECHO_N "(cached) $ECHO_C" >&6
61764 else
61765
61766
61767
61768 ac_ext=cc
61769 ac_cpp='$CXXCPP $CPPFLAGS'
61770 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61771 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61772 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61773
61774 cat >conftest.$ac_ext <<_ACEOF
61775 /* confdefs.h. */
61776 _ACEOF
61777 cat confdefs.h >>conftest.$ac_ext
61778 cat >>conftest.$ac_ext <<_ACEOF
61779 /* end confdefs.h. */
61780 #include <math.h>
61781 int
61782 main ()
61783 {
61784 modff(0, 0);
61785 ;
61786 return 0;
61787 }
61788 _ACEOF
61789 rm -f conftest.$ac_objext
61790 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61791 (eval $ac_compile) 2>conftest.er1
61792 ac_status=$?
61793 grep -v '^ *+' conftest.er1 >conftest.err
61794 rm -f conftest.er1
61795 cat conftest.err >&5
61796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61797 (exit $ac_status); } &&
61798 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
61799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61800 (eval $ac_try) 2>&5
61801 ac_status=$?
61802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61803 (exit $ac_status); }; } &&
61804 { ac_try='test -s conftest.$ac_objext'
61805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61806 (eval $ac_try) 2>&5
61807 ac_status=$?
61808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61809 (exit $ac_status); }; }; then
61810 glibcxx_cv_func_modff_use=yes
61811 else
61812 echo "$as_me: failed program was:" >&5
61813 sed 's/^/| /' conftest.$ac_ext >&5
61814
61815 glibcxx_cv_func_modff_use=no
61816 fi
61817 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61818 ac_ext=c
61819 ac_cpp='$CPP $CPPFLAGS'
61820 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61821 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61822 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61823
61824
61825 fi
61826
61827 fi
61828 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modff_use" >&5
61829 echo "${ECHO_T}$glibcxx_cv_func_modff_use" >&6
61830
61831 if test x$glibcxx_cv_func_modff_use = x"yes"; then
61832
61833 for ac_func in modff
61834 do
61835 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61836 echo "$as_me:$LINENO: checking for $ac_func" >&5
61837 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
61838 if eval "test \"\${$as_ac_var+set}\" = set"; then
61839 echo $ECHO_N "(cached) $ECHO_C" >&6
61840 else
61841 if test x$gcc_no_link = xyes; then
61842 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61843 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61844 { (exit 1); exit 1; }; }
61845 fi
61846 cat >conftest.$ac_ext <<_ACEOF
61847 /* confdefs.h. */
61848 _ACEOF
61849 cat confdefs.h >>conftest.$ac_ext
61850 cat >>conftest.$ac_ext <<_ACEOF
61851 /* end confdefs.h. */
61852 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
61853 For example, HP-UX 11i <limits.h> declares gettimeofday. */
61854 #define $ac_func innocuous_$ac_func
61855
61856 /* System header to define __stub macros and hopefully few prototypes,
61857 which can conflict with char $ac_func (); below.
61858 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61859 <limits.h> exists even on freestanding compilers. */
61860
61861 #ifdef __STDC__
61862 # include <limits.h>
61863 #else
61864 # include <assert.h>
61865 #endif
61866
61867 #undef $ac_func
61868
61869 /* Override any gcc2 internal prototype to avoid an error. */
61870 #ifdef __cplusplus
61871 extern "C"
61872 {
61873 #endif
61874 /* We use char because int might match the return type of a gcc2
61875 builtin and then its argument prototype would still apply. */
61876 char $ac_func ();
61877 /* The GNU C library defines this for functions which it implements
61878 to always fail with ENOSYS. Some functions are actually named
61879 something starting with __ and the normal name is an alias. */
61880 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61881 choke me
61882 #else
61883 char (*f) () = $ac_func;
61884 #endif
61885 #ifdef __cplusplus
61886 }
61887 #endif
61888
61889 int
61890 main ()
61891 {
61892 return f != $ac_func;
61893 ;
61894 return 0;
61895 }
61896 _ACEOF
61897 rm -f conftest.$ac_objext conftest$ac_exeext
61898 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61899 (eval $ac_link) 2>conftest.er1
61900 ac_status=$?
61901 grep -v '^ *+' conftest.er1 >conftest.err
61902 rm -f conftest.er1
61903 cat conftest.err >&5
61904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61905 (exit $ac_status); } &&
61906 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
61907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61908 (eval $ac_try) 2>&5
61909 ac_status=$?
61910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61911 (exit $ac_status); }; } &&
61912 { ac_try='test -s conftest$ac_exeext'
61913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61914 (eval $ac_try) 2>&5
61915 ac_status=$?
61916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61917 (exit $ac_status); }; }; then
61918 eval "$as_ac_var=yes"
61919 else
61920 echo "$as_me: failed program was:" >&5
61921 sed 's/^/| /' conftest.$ac_ext >&5
61922
61923 eval "$as_ac_var=no"
61924 fi
61925 rm -f conftest.err conftest.$ac_objext \
61926 conftest$ac_exeext conftest.$ac_ext
61927 fi
61928 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61929 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61930 if test `eval echo '${'$as_ac_var'}'` = yes; then
61931 cat >>confdefs.h <<_ACEOF
61932 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61933 _ACEOF
61934
61935 fi
61936 done
61937
61938 else
61939
61940 echo "$as_me:$LINENO: checking for _modff declaration" >&5
61941 echo $ECHO_N "checking for _modff declaration... $ECHO_C" >&6
61942 if test x${glibcxx_cv_func__modff_use+set} != xset; then
61943 if test "${glibcxx_cv_func__modff_use+set}" = set; then
61944 echo $ECHO_N "(cached) $ECHO_C" >&6
61945 else
61946
61947
61948
61949 ac_ext=cc
61950 ac_cpp='$CXXCPP $CPPFLAGS'
61951 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61952 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61953 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61954
61955 cat >conftest.$ac_ext <<_ACEOF
61956 /* confdefs.h. */
61957 _ACEOF
61958 cat confdefs.h >>conftest.$ac_ext
61959 cat >>conftest.$ac_ext <<_ACEOF
61960 /* end confdefs.h. */
61961 #include <math.h>
61962 int
61963 main ()
61964 {
61965 _modff(0, 0);
61966 ;
61967 return 0;
61968 }
61969 _ACEOF
61970 rm -f conftest.$ac_objext
61971 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61972 (eval $ac_compile) 2>conftest.er1
61973 ac_status=$?
61974 grep -v '^ *+' conftest.er1 >conftest.err
61975 rm -f conftest.er1
61976 cat conftest.err >&5
61977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61978 (exit $ac_status); } &&
61979 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
61980 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61981 (eval $ac_try) 2>&5
61982 ac_status=$?
61983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61984 (exit $ac_status); }; } &&
61985 { ac_try='test -s conftest.$ac_objext'
61986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61987 (eval $ac_try) 2>&5
61988 ac_status=$?
61989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61990 (exit $ac_status); }; }; then
61991 glibcxx_cv_func__modff_use=yes
61992 else
61993 echo "$as_me: failed program was:" >&5
61994 sed 's/^/| /' conftest.$ac_ext >&5
61995
61996 glibcxx_cv_func__modff_use=no
61997 fi
61998 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61999 ac_ext=c
62000 ac_cpp='$CPP $CPPFLAGS'
62001 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62002 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62003 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62004
62005
62006 fi
62007
62008 fi
62009 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modff_use" >&5
62010 echo "${ECHO_T}$glibcxx_cv_func__modff_use" >&6
62011
62012 if test x$glibcxx_cv_func__modff_use = x"yes"; then
62013
62014 for ac_func in _modff
62015 do
62016 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62017 echo "$as_me:$LINENO: checking for $ac_func" >&5
62018 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62019 if eval "test \"\${$as_ac_var+set}\" = set"; then
62020 echo $ECHO_N "(cached) $ECHO_C" >&6
62021 else
62022 if test x$gcc_no_link = xyes; then
62023 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62024 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62025 { (exit 1); exit 1; }; }
62026 fi
62027 cat >conftest.$ac_ext <<_ACEOF
62028 /* confdefs.h. */
62029 _ACEOF
62030 cat confdefs.h >>conftest.$ac_ext
62031 cat >>conftest.$ac_ext <<_ACEOF
62032 /* end confdefs.h. */
62033 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62034 For example, HP-UX 11i <limits.h> declares gettimeofday. */
62035 #define $ac_func innocuous_$ac_func
62036
62037 /* System header to define __stub macros and hopefully few prototypes,
62038 which can conflict with char $ac_func (); below.
62039 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62040 <limits.h> exists even on freestanding compilers. */
62041
62042 #ifdef __STDC__
62043 # include <limits.h>
62044 #else
62045 # include <assert.h>
62046 #endif
62047
62048 #undef $ac_func
62049
62050 /* Override any gcc2 internal prototype to avoid an error. */
62051 #ifdef __cplusplus
62052 extern "C"
62053 {
62054 #endif
62055 /* We use char because int might match the return type of a gcc2
62056 builtin and then its argument prototype would still apply. */
62057 char $ac_func ();
62058 /* The GNU C library defines this for functions which it implements
62059 to always fail with ENOSYS. Some functions are actually named
62060 something starting with __ and the normal name is an alias. */
62061 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
62062 choke me
62063 #else
62064 char (*f) () = $ac_func;
62065 #endif
62066 #ifdef __cplusplus
62067 }
62068 #endif
62069
62070 int
62071 main ()
62072 {
62073 return f != $ac_func;
62074 ;
62075 return 0;
62076 }
62077 _ACEOF
62078 rm -f conftest.$ac_objext conftest$ac_exeext
62079 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62080 (eval $ac_link) 2>conftest.er1
62081 ac_status=$?
62082 grep -v '^ *+' conftest.er1 >conftest.err
62083 rm -f conftest.er1
62084 cat conftest.err >&5
62085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62086 (exit $ac_status); } &&
62087 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
62088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62089 (eval $ac_try) 2>&5
62090 ac_status=$?
62091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62092 (exit $ac_status); }; } &&
62093 { ac_try='test -s conftest$ac_exeext'
62094 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62095 (eval $ac_try) 2>&5
62096 ac_status=$?
62097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62098 (exit $ac_status); }; }; then
62099 eval "$as_ac_var=yes"
62100 else
62101 echo "$as_me: failed program was:" >&5
62102 sed 's/^/| /' conftest.$ac_ext >&5
62103
62104 eval "$as_ac_var=no"
62105 fi
62106 rm -f conftest.err conftest.$ac_objext \
62107 conftest$ac_exeext conftest.$ac_ext
62108 fi
62109 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
62110 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
62111 if test `eval echo '${'$as_ac_var'}'` = yes; then
62112 cat >>confdefs.h <<_ACEOF
62113 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62114 _ACEOF
62115
62116 fi
62117 done
62118
62119 fi
62120 fi
62121
62122
62123
62124
62125
62126
62127 echo "$as_me:$LINENO: checking for modf declaration" >&5
62128 echo $ECHO_N "checking for modf declaration... $ECHO_C" >&6
62129 if test x${glibcxx_cv_func_modf_use+set} != xset; then
62130 if test "${glibcxx_cv_func_modf_use+set}" = set; then
62131 echo $ECHO_N "(cached) $ECHO_C" >&6
62132 else
62133
62134
62135
62136 ac_ext=cc
62137 ac_cpp='$CXXCPP $CPPFLAGS'
62138 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62139 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62140 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62141
62142 cat >conftest.$ac_ext <<_ACEOF
62143 /* confdefs.h. */
62144 _ACEOF
62145 cat confdefs.h >>conftest.$ac_ext
62146 cat >>conftest.$ac_ext <<_ACEOF
62147 /* end confdefs.h. */
62148 #include <math.h>
62149 int
62150 main ()
62151 {
62152 modf(0, 0);
62153 ;
62154 return 0;
62155 }
62156 _ACEOF
62157 rm -f conftest.$ac_objext
62158 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62159 (eval $ac_compile) 2>conftest.er1
62160 ac_status=$?
62161 grep -v '^ *+' conftest.er1 >conftest.err
62162 rm -f conftest.er1
62163 cat conftest.err >&5
62164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62165 (exit $ac_status); } &&
62166 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
62167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62168 (eval $ac_try) 2>&5
62169 ac_status=$?
62170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62171 (exit $ac_status); }; } &&
62172 { ac_try='test -s conftest.$ac_objext'
62173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62174 (eval $ac_try) 2>&5
62175 ac_status=$?
62176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62177 (exit $ac_status); }; }; then
62178 glibcxx_cv_func_modf_use=yes
62179 else
62180 echo "$as_me: failed program was:" >&5
62181 sed 's/^/| /' conftest.$ac_ext >&5
62182
62183 glibcxx_cv_func_modf_use=no
62184 fi
62185 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62186 ac_ext=c
62187 ac_cpp='$CPP $CPPFLAGS'
62188 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62189 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62190 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62191
62192
62193 fi
62194
62195 fi
62196 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modf_use" >&5
62197 echo "${ECHO_T}$glibcxx_cv_func_modf_use" >&6
62198
62199 if test x$glibcxx_cv_func_modf_use = x"yes"; then
62200
62201 for ac_func in modf
62202 do
62203 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62204 echo "$as_me:$LINENO: checking for $ac_func" >&5
62205 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62206 if eval "test \"\${$as_ac_var+set}\" = set"; then
62207 echo $ECHO_N "(cached) $ECHO_C" >&6
62208 else
62209 if test x$gcc_no_link = xyes; then
62210 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62211 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62212 { (exit 1); exit 1; }; }
62213 fi
62214 cat >conftest.$ac_ext <<_ACEOF
62215 /* confdefs.h. */
62216 _ACEOF
62217 cat confdefs.h >>conftest.$ac_ext
62218 cat >>conftest.$ac_ext <<_ACEOF
62219 /* end confdefs.h. */
62220 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62221 For example, HP-UX 11i <limits.h> declares gettimeofday. */
62222 #define $ac_func innocuous_$ac_func
62223
62224 /* System header to define __stub macros and hopefully few prototypes,
62225 which can conflict with char $ac_func (); below.
62226 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62227 <limits.h> exists even on freestanding compilers. */
62228
62229 #ifdef __STDC__
62230 # include <limits.h>
62231 #else
62232 # include <assert.h>
62233 #endif
62234
62235 #undef $ac_func
62236
62237 /* Override any gcc2 internal prototype to avoid an error. */
62238 #ifdef __cplusplus
62239 extern "C"
62240 {
62241 #endif
62242 /* We use char because int might match the return type of a gcc2
62243 builtin and then its argument prototype would still apply. */
62244 char $ac_func ();
62245 /* The GNU C library defines this for functions which it implements
62246 to always fail with ENOSYS. Some functions are actually named
62247 something starting with __ and the normal name is an alias. */
62248 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
62249 choke me
62250 #else
62251 char (*f) () = $ac_func;
62252 #endif
62253 #ifdef __cplusplus
62254 }
62255 #endif
62256
62257 int
62258 main ()
62259 {
62260 return f != $ac_func;
62261 ;
62262 return 0;
62263 }
62264 _ACEOF
62265 rm -f conftest.$ac_objext conftest$ac_exeext
62266 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62267 (eval $ac_link) 2>conftest.er1
62268 ac_status=$?
62269 grep -v '^ *+' conftest.er1 >conftest.err
62270 rm -f conftest.er1
62271 cat conftest.err >&5
62272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62273 (exit $ac_status); } &&
62274 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
62275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62276 (eval $ac_try) 2>&5
62277 ac_status=$?
62278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62279 (exit $ac_status); }; } &&
62280 { ac_try='test -s conftest$ac_exeext'
62281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62282 (eval $ac_try) 2>&5
62283 ac_status=$?
62284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62285 (exit $ac_status); }; }; then
62286 eval "$as_ac_var=yes"
62287 else
62288 echo "$as_me: failed program was:" >&5
62289 sed 's/^/| /' conftest.$ac_ext >&5
62290
62291 eval "$as_ac_var=no"
62292 fi
62293 rm -f conftest.err conftest.$ac_objext \
62294 conftest$ac_exeext conftest.$ac_ext
62295 fi
62296 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
62297 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
62298 if test `eval echo '${'$as_ac_var'}'` = yes; then
62299 cat >>confdefs.h <<_ACEOF
62300 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62301 _ACEOF
62302
62303 fi
62304 done
62305
62306 else
62307
62308 echo "$as_me:$LINENO: checking for _modf declaration" >&5
62309 echo $ECHO_N "checking for _modf declaration... $ECHO_C" >&6
62310 if test x${glibcxx_cv_func__modf_use+set} != xset; then
62311 if test "${glibcxx_cv_func__modf_use+set}" = set; then
62312 echo $ECHO_N "(cached) $ECHO_C" >&6
62313 else
62314
62315
62316
62317 ac_ext=cc
62318 ac_cpp='$CXXCPP $CPPFLAGS'
62319 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62320 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62321 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62322
62323 cat >conftest.$ac_ext <<_ACEOF
62324 /* confdefs.h. */
62325 _ACEOF
62326 cat confdefs.h >>conftest.$ac_ext
62327 cat >>conftest.$ac_ext <<_ACEOF
62328 /* end confdefs.h. */
62329 #include <math.h>
62330 int
62331 main ()
62332 {
62333 _modf(0, 0);
62334 ;
62335 return 0;
62336 }
62337 _ACEOF
62338 rm -f conftest.$ac_objext
62339 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62340 (eval $ac_compile) 2>conftest.er1
62341 ac_status=$?
62342 grep -v '^ *+' conftest.er1 >conftest.err
62343 rm -f conftest.er1
62344 cat conftest.err >&5
62345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62346 (exit $ac_status); } &&
62347 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
62348 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62349 (eval $ac_try) 2>&5
62350 ac_status=$?
62351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62352 (exit $ac_status); }; } &&
62353 { ac_try='test -s conftest.$ac_objext'
62354 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62355 (eval $ac_try) 2>&5
62356 ac_status=$?
62357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62358 (exit $ac_status); }; }; then
62359 glibcxx_cv_func__modf_use=yes
62360 else
62361 echo "$as_me: failed program was:" >&5
62362 sed 's/^/| /' conftest.$ac_ext >&5
62363
62364 glibcxx_cv_func__modf_use=no
62365 fi
62366 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62367 ac_ext=c
62368 ac_cpp='$CPP $CPPFLAGS'
62369 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62370 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62371 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62372
62373
62374 fi
62375
62376 fi
62377 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modf_use" >&5
62378 echo "${ECHO_T}$glibcxx_cv_func__modf_use" >&6
62379
62380 if test x$glibcxx_cv_func__modf_use = x"yes"; then
62381
62382 for ac_func in _modf
62383 do
62384 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62385 echo "$as_me:$LINENO: checking for $ac_func" >&5
62386 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62387 if eval "test \"\${$as_ac_var+set}\" = set"; then
62388 echo $ECHO_N "(cached) $ECHO_C" >&6
62389 else
62390 if test x$gcc_no_link = xyes; then
62391 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62392 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62393 { (exit 1); exit 1; }; }
62394 fi
62395 cat >conftest.$ac_ext <<_ACEOF
62396 /* confdefs.h. */
62397 _ACEOF
62398 cat confdefs.h >>conftest.$ac_ext
62399 cat >>conftest.$ac_ext <<_ACEOF
62400 /* end confdefs.h. */
62401 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62402 For example, HP-UX 11i <limits.h> declares gettimeofday. */
62403 #define $ac_func innocuous_$ac_func
62404
62405 /* System header to define __stub macros and hopefully few prototypes,
62406 which can conflict with char $ac_func (); below.
62407 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62408 <limits.h> exists even on freestanding compilers. */
62409
62410 #ifdef __STDC__
62411 # include <limits.h>
62412 #else
62413 # include <assert.h>
62414 #endif
62415
62416 #undef $ac_func
62417
62418 /* Override any gcc2 internal prototype to avoid an error. */
62419 #ifdef __cplusplus
62420 extern "C"
62421 {
62422 #endif
62423 /* We use char because int might match the return type of a gcc2
62424 builtin and then its argument prototype would still apply. */
62425 char $ac_func ();
62426 /* The GNU C library defines this for functions which it implements
62427 to always fail with ENOSYS. Some functions are actually named
62428 something starting with __ and the normal name is an alias. */
62429 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
62430 choke me
62431 #else
62432 char (*f) () = $ac_func;
62433 #endif
62434 #ifdef __cplusplus
62435 }
62436 #endif
62437
62438 int
62439 main ()
62440 {
62441 return f != $ac_func;
62442 ;
62443 return 0;
62444 }
62445 _ACEOF
62446 rm -f conftest.$ac_objext conftest$ac_exeext
62447 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62448 (eval $ac_link) 2>conftest.er1
62449 ac_status=$?
62450 grep -v '^ *+' conftest.er1 >conftest.err
62451 rm -f conftest.er1
62452 cat conftest.err >&5
62453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62454 (exit $ac_status); } &&
62455 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
62456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62457 (eval $ac_try) 2>&5
62458 ac_status=$?
62459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62460 (exit $ac_status); }; } &&
62461 { ac_try='test -s conftest$ac_exeext'
62462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62463 (eval $ac_try) 2>&5
62464 ac_status=$?
62465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62466 (exit $ac_status); }; }; then
62467 eval "$as_ac_var=yes"
62468 else
62469 echo "$as_me: failed program was:" >&5
62470 sed 's/^/| /' conftest.$ac_ext >&5
62471
62472 eval "$as_ac_var=no"
62473 fi
62474 rm -f conftest.err conftest.$ac_objext \
62475 conftest$ac_exeext conftest.$ac_ext
62476 fi
62477 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
62478 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
62479 if test `eval echo '${'$as_ac_var'}'` = yes; then
62480 cat >>confdefs.h <<_ACEOF
62481 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62482 _ACEOF
62483
62484 fi
62485 done
62486
62487 fi
62488 fi
62489
62490
62491
62492
62493
62494
62495 echo "$as_me:$LINENO: checking for powf declaration" >&5
62496 echo $ECHO_N "checking for powf declaration... $ECHO_C" >&6
62497 if test x${glibcxx_cv_func_powf_use+set} != xset; then
62498 if test "${glibcxx_cv_func_powf_use+set}" = set; then
62499 echo $ECHO_N "(cached) $ECHO_C" >&6
62500 else
62501
62502
62503
62504 ac_ext=cc
62505 ac_cpp='$CXXCPP $CPPFLAGS'
62506 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62507 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62508 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62509
62510 cat >conftest.$ac_ext <<_ACEOF
62511 /* confdefs.h. */
62512 _ACEOF
62513 cat confdefs.h >>conftest.$ac_ext
62514 cat >>conftest.$ac_ext <<_ACEOF
62515 /* end confdefs.h. */
62516 #include <math.h>
62517 int
62518 main ()
62519 {
62520 powf(0, 0);
62521 ;
62522 return 0;
62523 }
62524 _ACEOF
62525 rm -f conftest.$ac_objext
62526 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62527 (eval $ac_compile) 2>conftest.er1
62528 ac_status=$?
62529 grep -v '^ *+' conftest.er1 >conftest.err
62530 rm -f conftest.er1
62531 cat conftest.err >&5
62532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62533 (exit $ac_status); } &&
62534 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
62535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62536 (eval $ac_try) 2>&5
62537 ac_status=$?
62538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62539 (exit $ac_status); }; } &&
62540 { ac_try='test -s conftest.$ac_objext'
62541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62542 (eval $ac_try) 2>&5
62543 ac_status=$?
62544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62545 (exit $ac_status); }; }; then
62546 glibcxx_cv_func_powf_use=yes
62547 else
62548 echo "$as_me: failed program was:" >&5
62549 sed 's/^/| /' conftest.$ac_ext >&5
62550
62551 glibcxx_cv_func_powf_use=no
62552 fi
62553 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62554 ac_ext=c
62555 ac_cpp='$CPP $CPPFLAGS'
62556 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62557 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62558 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62559
62560
62561 fi
62562
62563 fi
62564 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powf_use" >&5
62565 echo "${ECHO_T}$glibcxx_cv_func_powf_use" >&6
62566
62567 if test x$glibcxx_cv_func_powf_use = x"yes"; then
62568
62569 for ac_func in powf
62570 do
62571 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62572 echo "$as_me:$LINENO: checking for $ac_func" >&5
62573 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62574 if eval "test \"\${$as_ac_var+set}\" = set"; then
62575 echo $ECHO_N "(cached) $ECHO_C" >&6
62576 else
62577 if test x$gcc_no_link = xyes; then
62578 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62579 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62580 { (exit 1); exit 1; }; }
62581 fi
62582 cat >conftest.$ac_ext <<_ACEOF
62583 /* confdefs.h. */
62584 _ACEOF
62585 cat confdefs.h >>conftest.$ac_ext
62586 cat >>conftest.$ac_ext <<_ACEOF
62587 /* end confdefs.h. */
62588 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62589 For example, HP-UX 11i <limits.h> declares gettimeofday. */
62590 #define $ac_func innocuous_$ac_func
62591
62592 /* System header to define __stub macros and hopefully few prototypes,
62593 which can conflict with char $ac_func (); below.
62594 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62595 <limits.h> exists even on freestanding compilers. */
62596
62597 #ifdef __STDC__
62598 # include <limits.h>
62599 #else
62600 # include <assert.h>
62601 #endif
62602
62603 #undef $ac_func
62604
62605 /* Override any gcc2 internal prototype to avoid an error. */
62606 #ifdef __cplusplus
62607 extern "C"
62608 {
62609 #endif
62610 /* We use char because int might match the return type of a gcc2
62611 builtin and then its argument prototype would still apply. */
62612 char $ac_func ();
62613 /* The GNU C library defines this for functions which it implements
62614 to always fail with ENOSYS. Some functions are actually named
62615 something starting with __ and the normal name is an alias. */
62616 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
62617 choke me
62618 #else
62619 char (*f) () = $ac_func;
62620 #endif
62621 #ifdef __cplusplus
62622 }
62623 #endif
62624
62625 int
62626 main ()
62627 {
62628 return f != $ac_func;
62629 ;
62630 return 0;
62631 }
62632 _ACEOF
62633 rm -f conftest.$ac_objext conftest$ac_exeext
62634 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62635 (eval $ac_link) 2>conftest.er1
62636 ac_status=$?
62637 grep -v '^ *+' conftest.er1 >conftest.err
62638 rm -f conftest.er1
62639 cat conftest.err >&5
62640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62641 (exit $ac_status); } &&
62642 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
62643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62644 (eval $ac_try) 2>&5
62645 ac_status=$?
62646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62647 (exit $ac_status); }; } &&
62648 { ac_try='test -s conftest$ac_exeext'
62649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62650 (eval $ac_try) 2>&5
62651 ac_status=$?
62652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62653 (exit $ac_status); }; }; then
62654 eval "$as_ac_var=yes"
62655 else
62656 echo "$as_me: failed program was:" >&5
62657 sed 's/^/| /' conftest.$ac_ext >&5
62658
62659 eval "$as_ac_var=no"
62660 fi
62661 rm -f conftest.err conftest.$ac_objext \
62662 conftest$ac_exeext conftest.$ac_ext
62663 fi
62664 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
62665 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
62666 if test `eval echo '${'$as_ac_var'}'` = yes; then
62667 cat >>confdefs.h <<_ACEOF
62668 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62669 _ACEOF
62670
62671 fi
62672 done
62673
62674 else
62675
62676 echo "$as_me:$LINENO: checking for _powf declaration" >&5
62677 echo $ECHO_N "checking for _powf declaration... $ECHO_C" >&6
62678 if test x${glibcxx_cv_func__powf_use+set} != xset; then
62679 if test "${glibcxx_cv_func__powf_use+set}" = set; then
62680 echo $ECHO_N "(cached) $ECHO_C" >&6
62681 else
62682
62683
62684
62685 ac_ext=cc
62686 ac_cpp='$CXXCPP $CPPFLAGS'
62687 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62688 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62689 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62690
62691 cat >conftest.$ac_ext <<_ACEOF
62692 /* confdefs.h. */
62693 _ACEOF
62694 cat confdefs.h >>conftest.$ac_ext
62695 cat >>conftest.$ac_ext <<_ACEOF
62696 /* end confdefs.h. */
62697 #include <math.h>
62698 int
62699 main ()
62700 {
62701 _powf(0, 0);
62702 ;
62703 return 0;
62704 }
62705 _ACEOF
62706 rm -f conftest.$ac_objext
62707 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62708 (eval $ac_compile) 2>conftest.er1
62709 ac_status=$?
62710 grep -v '^ *+' conftest.er1 >conftest.err
62711 rm -f conftest.er1
62712 cat conftest.err >&5
62713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62714 (exit $ac_status); } &&
62715 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
62716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62717 (eval $ac_try) 2>&5
62718 ac_status=$?
62719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62720 (exit $ac_status); }; } &&
62721 { ac_try='test -s conftest.$ac_objext'
62722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62723 (eval $ac_try) 2>&5
62724 ac_status=$?
62725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62726 (exit $ac_status); }; }; then
62727 glibcxx_cv_func__powf_use=yes
62728 else
62729 echo "$as_me: failed program was:" >&5
62730 sed 's/^/| /' conftest.$ac_ext >&5
62731
62732 glibcxx_cv_func__powf_use=no
62733 fi
62734 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62735 ac_ext=c
62736 ac_cpp='$CPP $CPPFLAGS'
62737 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62738 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62739 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62740
62741
62742 fi
62743
62744 fi
62745 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powf_use" >&5
62746 echo "${ECHO_T}$glibcxx_cv_func__powf_use" >&6
62747
62748 if test x$glibcxx_cv_func__powf_use = x"yes"; then
62749
62750 for ac_func in _powf
62751 do
62752 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62753 echo "$as_me:$LINENO: checking for $ac_func" >&5
62754 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62755 if eval "test \"\${$as_ac_var+set}\" = set"; then
62756 echo $ECHO_N "(cached) $ECHO_C" >&6
62757 else
62758 if test x$gcc_no_link = xyes; then
62759 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62760 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62761 { (exit 1); exit 1; }; }
62762 fi
62763 cat >conftest.$ac_ext <<_ACEOF
62764 /* confdefs.h. */
62765 _ACEOF
62766 cat confdefs.h >>conftest.$ac_ext
62767 cat >>conftest.$ac_ext <<_ACEOF
62768 /* end confdefs.h. */
62769 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62770 For example, HP-UX 11i <limits.h> declares gettimeofday. */
62771 #define $ac_func innocuous_$ac_func
62772
62773 /* System header to define __stub macros and hopefully few prototypes,
62774 which can conflict with char $ac_func (); below.
62775 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62776 <limits.h> exists even on freestanding compilers. */
62777
62778 #ifdef __STDC__
62779 # include <limits.h>
62780 #else
62781 # include <assert.h>
62782 #endif
62783
62784 #undef $ac_func
62785
62786 /* Override any gcc2 internal prototype to avoid an error. */
62787 #ifdef __cplusplus
62788 extern "C"
62789 {
62790 #endif
62791 /* We use char because int might match the return type of a gcc2
62792 builtin and then its argument prototype would still apply. */
62793 char $ac_func ();
62794 /* The GNU C library defines this for functions which it implements
62795 to always fail with ENOSYS. Some functions are actually named
62796 something starting with __ and the normal name is an alias. */
62797 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
62798 choke me
62799 #else
62800 char (*f) () = $ac_func;
62801 #endif
62802 #ifdef __cplusplus
62803 }
62804 #endif
62805
62806 int
62807 main ()
62808 {
62809 return f != $ac_func;
62810 ;
62811 return 0;
62812 }
62813 _ACEOF
62814 rm -f conftest.$ac_objext conftest$ac_exeext
62815 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62816 (eval $ac_link) 2>conftest.er1
62817 ac_status=$?
62818 grep -v '^ *+' conftest.er1 >conftest.err
62819 rm -f conftest.er1
62820 cat conftest.err >&5
62821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62822 (exit $ac_status); } &&
62823 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
62824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62825 (eval $ac_try) 2>&5
62826 ac_status=$?
62827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62828 (exit $ac_status); }; } &&
62829 { ac_try='test -s conftest$ac_exeext'
62830 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62831 (eval $ac_try) 2>&5
62832 ac_status=$?
62833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62834 (exit $ac_status); }; }; then
62835 eval "$as_ac_var=yes"
62836 else
62837 echo "$as_me: failed program was:" >&5
62838 sed 's/^/| /' conftest.$ac_ext >&5
62839
62840 eval "$as_ac_var=no"
62841 fi
62842 rm -f conftest.err conftest.$ac_objext \
62843 conftest$ac_exeext conftest.$ac_ext
62844 fi
62845 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
62846 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
62847 if test `eval echo '${'$as_ac_var'}'` = yes; then
62848 cat >>confdefs.h <<_ACEOF
62849 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62850 _ACEOF
62851
62852 fi
62853 done
62854
62855 fi
62856 fi
62857
62858
62859
62860
62861
62862
62863 echo "$as_me:$LINENO: checking for sqrtf declaration" >&5
62864 echo $ECHO_N "checking for sqrtf declaration... $ECHO_C" >&6
62865 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
62866 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then
62867 echo $ECHO_N "(cached) $ECHO_C" >&6
62868 else
62869
62870
62871
62872 ac_ext=cc
62873 ac_cpp='$CXXCPP $CPPFLAGS'
62874 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62875 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62876 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62877
62878 cat >conftest.$ac_ext <<_ACEOF
62879 /* confdefs.h. */
62880 _ACEOF
62881 cat confdefs.h >>conftest.$ac_ext
62882 cat >>conftest.$ac_ext <<_ACEOF
62883 /* end confdefs.h. */
62884 #include <math.h>
62885 #ifdef HAVE_IEEEFP_H
62886 #include <ieeefp.h>
62887 #endif
62888
62889 int
62890 main ()
62891 {
62892 sqrtf(0);
62893 ;
62894 return 0;
62895 }
62896 _ACEOF
62897 rm -f conftest.$ac_objext
62898 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62899 (eval $ac_compile) 2>conftest.er1
62900 ac_status=$?
62901 grep -v '^ *+' conftest.er1 >conftest.err
62902 rm -f conftest.er1
62903 cat conftest.err >&5
62904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62905 (exit $ac_status); } &&
62906 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
62907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62908 (eval $ac_try) 2>&5
62909 ac_status=$?
62910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62911 (exit $ac_status); }; } &&
62912 { ac_try='test -s conftest.$ac_objext'
62913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62914 (eval $ac_try) 2>&5
62915 ac_status=$?
62916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62917 (exit $ac_status); }; }; then
62918 glibcxx_cv_func_sqrtf_use=yes
62919 else
62920 echo "$as_me: failed program was:" >&5
62921 sed 's/^/| /' conftest.$ac_ext >&5
62922
62923 glibcxx_cv_func_sqrtf_use=no
62924 fi
62925 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62926 ac_ext=c
62927 ac_cpp='$CPP $CPPFLAGS'
62928 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62929 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62930 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62931
62932
62933 fi
62934
62935 fi
62936 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtf_use" >&5
62937 echo "${ECHO_T}$glibcxx_cv_func_sqrtf_use" >&6
62938
62939 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
62940
62941 for ac_func in sqrtf
62942 do
62943 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62944 echo "$as_me:$LINENO: checking for $ac_func" >&5
62945 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62946 if eval "test \"\${$as_ac_var+set}\" = set"; then
62947 echo $ECHO_N "(cached) $ECHO_C" >&6
62948 else
62949 if test x$gcc_no_link = xyes; then
62950 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62951 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62952 { (exit 1); exit 1; }; }
62953 fi
62954 cat >conftest.$ac_ext <<_ACEOF
62955 /* confdefs.h. */
62956 _ACEOF
62957 cat confdefs.h >>conftest.$ac_ext
62958 cat >>conftest.$ac_ext <<_ACEOF
62959 /* end confdefs.h. */
62960 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62961 For example, HP-UX 11i <limits.h> declares gettimeofday. */
62962 #define $ac_func innocuous_$ac_func
62963
62964 /* System header to define __stub macros and hopefully few prototypes,
62965 which can conflict with char $ac_func (); below.
62966 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62967 <limits.h> exists even on freestanding compilers. */
62968
62969 #ifdef __STDC__
62970 # include <limits.h>
62971 #else
62972 # include <assert.h>
62973 #endif
62974
62975 #undef $ac_func
62976
62977 /* Override any gcc2 internal prototype to avoid an error. */
62978 #ifdef __cplusplus
62979 extern "C"
62980 {
62981 #endif
62982 /* We use char because int might match the return type of a gcc2
62983 builtin and then its argument prototype would still apply. */
62984 char $ac_func ();
62985 /* The GNU C library defines this for functions which it implements
62986 to always fail with ENOSYS. Some functions are actually named
62987 something starting with __ and the normal name is an alias. */
62988 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
62989 choke me
62990 #else
62991 char (*f) () = $ac_func;
62992 #endif
62993 #ifdef __cplusplus
62994 }
62995 #endif
62996
62997 int
62998 main ()
62999 {
63000 return f != $ac_func;
63001 ;
63002 return 0;
63003 }
63004 _ACEOF
63005 rm -f conftest.$ac_objext conftest$ac_exeext
63006 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63007 (eval $ac_link) 2>conftest.er1
63008 ac_status=$?
63009 grep -v '^ *+' conftest.er1 >conftest.err
63010 rm -f conftest.er1
63011 cat conftest.err >&5
63012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63013 (exit $ac_status); } &&
63014 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
63015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63016 (eval $ac_try) 2>&5
63017 ac_status=$?
63018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63019 (exit $ac_status); }; } &&
63020 { ac_try='test -s conftest$ac_exeext'
63021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63022 (eval $ac_try) 2>&5
63023 ac_status=$?
63024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63025 (exit $ac_status); }; }; then
63026 eval "$as_ac_var=yes"
63027 else
63028 echo "$as_me: failed program was:" >&5
63029 sed 's/^/| /' conftest.$ac_ext >&5
63030
63031 eval "$as_ac_var=no"
63032 fi
63033 rm -f conftest.err conftest.$ac_objext \
63034 conftest$ac_exeext conftest.$ac_ext
63035 fi
63036 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63037 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63038 if test `eval echo '${'$as_ac_var'}'` = yes; then
63039 cat >>confdefs.h <<_ACEOF
63040 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63041 _ACEOF
63042
63043 fi
63044 done
63045
63046 else
63047
63048 echo "$as_me:$LINENO: checking for _sqrtf declaration" >&5
63049 echo $ECHO_N "checking for _sqrtf declaration... $ECHO_C" >&6
63050 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
63051 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then
63052 echo $ECHO_N "(cached) $ECHO_C" >&6
63053 else
63054
63055
63056
63057 ac_ext=cc
63058 ac_cpp='$CXXCPP $CPPFLAGS'
63059 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63060 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63061 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63062
63063 cat >conftest.$ac_ext <<_ACEOF
63064 /* confdefs.h. */
63065 _ACEOF
63066 cat confdefs.h >>conftest.$ac_ext
63067 cat >>conftest.$ac_ext <<_ACEOF
63068 /* end confdefs.h. */
63069 #include <math.h>
63070 #ifdef HAVE_IEEEFP_H
63071 #include <ieeefp.h>
63072 #endif
63073
63074 int
63075 main ()
63076 {
63077 _sqrtf(0);
63078 ;
63079 return 0;
63080 }
63081 _ACEOF
63082 rm -f conftest.$ac_objext
63083 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63084 (eval $ac_compile) 2>conftest.er1
63085 ac_status=$?
63086 grep -v '^ *+' conftest.er1 >conftest.err
63087 rm -f conftest.er1
63088 cat conftest.err >&5
63089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63090 (exit $ac_status); } &&
63091 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
63092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63093 (eval $ac_try) 2>&5
63094 ac_status=$?
63095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63096 (exit $ac_status); }; } &&
63097 { ac_try='test -s conftest.$ac_objext'
63098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63099 (eval $ac_try) 2>&5
63100 ac_status=$?
63101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63102 (exit $ac_status); }; }; then
63103 glibcxx_cv_func__sqrtf_use=yes
63104 else
63105 echo "$as_me: failed program was:" >&5
63106 sed 's/^/| /' conftest.$ac_ext >&5
63107
63108 glibcxx_cv_func__sqrtf_use=no
63109 fi
63110 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63111 ac_ext=c
63112 ac_cpp='$CPP $CPPFLAGS'
63113 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63114 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63115 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63116
63117
63118 fi
63119
63120 fi
63121 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtf_use" >&5
63122 echo "${ECHO_T}$glibcxx_cv_func__sqrtf_use" >&6
63123
63124 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
63125
63126 for ac_func in _sqrtf
63127 do
63128 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63129 echo "$as_me:$LINENO: checking for $ac_func" >&5
63130 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63131 if eval "test \"\${$as_ac_var+set}\" = set"; then
63132 echo $ECHO_N "(cached) $ECHO_C" >&6
63133 else
63134 if test x$gcc_no_link = xyes; then
63135 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63136 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63137 { (exit 1); exit 1; }; }
63138 fi
63139 cat >conftest.$ac_ext <<_ACEOF
63140 /* confdefs.h. */
63141 _ACEOF
63142 cat confdefs.h >>conftest.$ac_ext
63143 cat >>conftest.$ac_ext <<_ACEOF
63144 /* end confdefs.h. */
63145 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63146 For example, HP-UX 11i <limits.h> declares gettimeofday. */
63147 #define $ac_func innocuous_$ac_func
63148
63149 /* System header to define __stub macros and hopefully few prototypes,
63150 which can conflict with char $ac_func (); below.
63151 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63152 <limits.h> exists even on freestanding compilers. */
63153
63154 #ifdef __STDC__
63155 # include <limits.h>
63156 #else
63157 # include <assert.h>
63158 #endif
63159
63160 #undef $ac_func
63161
63162 /* Override any gcc2 internal prototype to avoid an error. */
63163 #ifdef __cplusplus
63164 extern "C"
63165 {
63166 #endif
63167 /* We use char because int might match the return type of a gcc2
63168 builtin and then its argument prototype would still apply. */
63169 char $ac_func ();
63170 /* The GNU C library defines this for functions which it implements
63171 to always fail with ENOSYS. Some functions are actually named
63172 something starting with __ and the normal name is an alias. */
63173 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63174 choke me
63175 #else
63176 char (*f) () = $ac_func;
63177 #endif
63178 #ifdef __cplusplus
63179 }
63180 #endif
63181
63182 int
63183 main ()
63184 {
63185 return f != $ac_func;
63186 ;
63187 return 0;
63188 }
63189 _ACEOF
63190 rm -f conftest.$ac_objext conftest$ac_exeext
63191 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63192 (eval $ac_link) 2>conftest.er1
63193 ac_status=$?
63194 grep -v '^ *+' conftest.er1 >conftest.err
63195 rm -f conftest.er1
63196 cat conftest.err >&5
63197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63198 (exit $ac_status); } &&
63199 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
63200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63201 (eval $ac_try) 2>&5
63202 ac_status=$?
63203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63204 (exit $ac_status); }; } &&
63205 { ac_try='test -s conftest$ac_exeext'
63206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63207 (eval $ac_try) 2>&5
63208 ac_status=$?
63209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63210 (exit $ac_status); }; }; then
63211 eval "$as_ac_var=yes"
63212 else
63213 echo "$as_me: failed program was:" >&5
63214 sed 's/^/| /' conftest.$ac_ext >&5
63215
63216 eval "$as_ac_var=no"
63217 fi
63218 rm -f conftest.err conftest.$ac_objext \
63219 conftest$ac_exeext conftest.$ac_ext
63220 fi
63221 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63222 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63223 if test `eval echo '${'$as_ac_var'}'` = yes; then
63224 cat >>confdefs.h <<_ACEOF
63225 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63226 _ACEOF
63227
63228 fi
63229 done
63230
63231 fi
63232 fi
63233
63234
63235
63236
63237
63238
63239 echo "$as_me:$LINENO: checking for sincosf declaration" >&5
63240 echo $ECHO_N "checking for sincosf declaration... $ECHO_C" >&6
63241 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
63242 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then
63243 echo $ECHO_N "(cached) $ECHO_C" >&6
63244 else
63245
63246
63247
63248 ac_ext=cc
63249 ac_cpp='$CXXCPP $CPPFLAGS'
63250 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63251 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63252 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63253
63254 cat >conftest.$ac_ext <<_ACEOF
63255 /* confdefs.h. */
63256 _ACEOF
63257 cat confdefs.h >>conftest.$ac_ext
63258 cat >>conftest.$ac_ext <<_ACEOF
63259 /* end confdefs.h. */
63260 #include <math.h>
63261 int
63262 main ()
63263 {
63264 sincosf(0, 0, 0);
63265 ;
63266 return 0;
63267 }
63268 _ACEOF
63269 rm -f conftest.$ac_objext
63270 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63271 (eval $ac_compile) 2>conftest.er1
63272 ac_status=$?
63273 grep -v '^ *+' conftest.er1 >conftest.err
63274 rm -f conftest.er1
63275 cat conftest.err >&5
63276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63277 (exit $ac_status); } &&
63278 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
63279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63280 (eval $ac_try) 2>&5
63281 ac_status=$?
63282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63283 (exit $ac_status); }; } &&
63284 { ac_try='test -s conftest.$ac_objext'
63285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63286 (eval $ac_try) 2>&5
63287 ac_status=$?
63288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63289 (exit $ac_status); }; }; then
63290 glibcxx_cv_func_sincosf_use=yes
63291 else
63292 echo "$as_me: failed program was:" >&5
63293 sed 's/^/| /' conftest.$ac_ext >&5
63294
63295 glibcxx_cv_func_sincosf_use=no
63296 fi
63297 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63298 ac_ext=c
63299 ac_cpp='$CPP $CPPFLAGS'
63300 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63301 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63302 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63303
63304
63305 fi
63306
63307 fi
63308 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosf_use" >&5
63309 echo "${ECHO_T}$glibcxx_cv_func_sincosf_use" >&6
63310
63311 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
63312
63313 for ac_func in sincosf
63314 do
63315 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63316 echo "$as_me:$LINENO: checking for $ac_func" >&5
63317 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63318 if eval "test \"\${$as_ac_var+set}\" = set"; then
63319 echo $ECHO_N "(cached) $ECHO_C" >&6
63320 else
63321 if test x$gcc_no_link = xyes; then
63322 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63323 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63324 { (exit 1); exit 1; }; }
63325 fi
63326 cat >conftest.$ac_ext <<_ACEOF
63327 /* confdefs.h. */
63328 _ACEOF
63329 cat confdefs.h >>conftest.$ac_ext
63330 cat >>conftest.$ac_ext <<_ACEOF
63331 /* end confdefs.h. */
63332 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63333 For example, HP-UX 11i <limits.h> declares gettimeofday. */
63334 #define $ac_func innocuous_$ac_func
63335
63336 /* System header to define __stub macros and hopefully few prototypes,
63337 which can conflict with char $ac_func (); below.
63338 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63339 <limits.h> exists even on freestanding compilers. */
63340
63341 #ifdef __STDC__
63342 # include <limits.h>
63343 #else
63344 # include <assert.h>
63345 #endif
63346
63347 #undef $ac_func
63348
63349 /* Override any gcc2 internal prototype to avoid an error. */
63350 #ifdef __cplusplus
63351 extern "C"
63352 {
63353 #endif
63354 /* We use char because int might match the return type of a gcc2
63355 builtin and then its argument prototype would still apply. */
63356 char $ac_func ();
63357 /* The GNU C library defines this for functions which it implements
63358 to always fail with ENOSYS. Some functions are actually named
63359 something starting with __ and the normal name is an alias. */
63360 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63361 choke me
63362 #else
63363 char (*f) () = $ac_func;
63364 #endif
63365 #ifdef __cplusplus
63366 }
63367 #endif
63368
63369 int
63370 main ()
63371 {
63372 return f != $ac_func;
63373 ;
63374 return 0;
63375 }
63376 _ACEOF
63377 rm -f conftest.$ac_objext conftest$ac_exeext
63378 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63379 (eval $ac_link) 2>conftest.er1
63380 ac_status=$?
63381 grep -v '^ *+' conftest.er1 >conftest.err
63382 rm -f conftest.er1
63383 cat conftest.err >&5
63384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63385 (exit $ac_status); } &&
63386 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
63387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63388 (eval $ac_try) 2>&5
63389 ac_status=$?
63390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63391 (exit $ac_status); }; } &&
63392 { ac_try='test -s conftest$ac_exeext'
63393 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63394 (eval $ac_try) 2>&5
63395 ac_status=$?
63396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63397 (exit $ac_status); }; }; then
63398 eval "$as_ac_var=yes"
63399 else
63400 echo "$as_me: failed program was:" >&5
63401 sed 's/^/| /' conftest.$ac_ext >&5
63402
63403 eval "$as_ac_var=no"
63404 fi
63405 rm -f conftest.err conftest.$ac_objext \
63406 conftest$ac_exeext conftest.$ac_ext
63407 fi
63408 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63409 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63410 if test `eval echo '${'$as_ac_var'}'` = yes; then
63411 cat >>confdefs.h <<_ACEOF
63412 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63413 _ACEOF
63414
63415 fi
63416 done
63417
63418 else
63419
63420 echo "$as_me:$LINENO: checking for _sincosf declaration" >&5
63421 echo $ECHO_N "checking for _sincosf declaration... $ECHO_C" >&6
63422 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
63423 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then
63424 echo $ECHO_N "(cached) $ECHO_C" >&6
63425 else
63426
63427
63428
63429 ac_ext=cc
63430 ac_cpp='$CXXCPP $CPPFLAGS'
63431 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63432 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63433 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63434
63435 cat >conftest.$ac_ext <<_ACEOF
63436 /* confdefs.h. */
63437 _ACEOF
63438 cat confdefs.h >>conftest.$ac_ext
63439 cat >>conftest.$ac_ext <<_ACEOF
63440 /* end confdefs.h. */
63441 #include <math.h>
63442 int
63443 main ()
63444 {
63445 _sincosf(0, 0, 0);
63446 ;
63447 return 0;
63448 }
63449 _ACEOF
63450 rm -f conftest.$ac_objext
63451 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63452 (eval $ac_compile) 2>conftest.er1
63453 ac_status=$?
63454 grep -v '^ *+' conftest.er1 >conftest.err
63455 rm -f conftest.er1
63456 cat conftest.err >&5
63457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63458 (exit $ac_status); } &&
63459 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
63460 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63461 (eval $ac_try) 2>&5
63462 ac_status=$?
63463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63464 (exit $ac_status); }; } &&
63465 { ac_try='test -s conftest.$ac_objext'
63466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63467 (eval $ac_try) 2>&5
63468 ac_status=$?
63469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63470 (exit $ac_status); }; }; then
63471 glibcxx_cv_func__sincosf_use=yes
63472 else
63473 echo "$as_me: failed program was:" >&5
63474 sed 's/^/| /' conftest.$ac_ext >&5
63475
63476 glibcxx_cv_func__sincosf_use=no
63477 fi
63478 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63479 ac_ext=c
63480 ac_cpp='$CPP $CPPFLAGS'
63481 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63482 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63483 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63484
63485
63486 fi
63487
63488 fi
63489 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosf_use" >&5
63490 echo "${ECHO_T}$glibcxx_cv_func__sincosf_use" >&6
63491
63492 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
63493
63494 for ac_func in _sincosf
63495 do
63496 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63497 echo "$as_me:$LINENO: checking for $ac_func" >&5
63498 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63499 if eval "test \"\${$as_ac_var+set}\" = set"; then
63500 echo $ECHO_N "(cached) $ECHO_C" >&6
63501 else
63502 if test x$gcc_no_link = xyes; then
63503 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63504 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63505 { (exit 1); exit 1; }; }
63506 fi
63507 cat >conftest.$ac_ext <<_ACEOF
63508 /* confdefs.h. */
63509 _ACEOF
63510 cat confdefs.h >>conftest.$ac_ext
63511 cat >>conftest.$ac_ext <<_ACEOF
63512 /* end confdefs.h. */
63513 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63514 For example, HP-UX 11i <limits.h> declares gettimeofday. */
63515 #define $ac_func innocuous_$ac_func
63516
63517 /* System header to define __stub macros and hopefully few prototypes,
63518 which can conflict with char $ac_func (); below.
63519 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63520 <limits.h> exists even on freestanding compilers. */
63521
63522 #ifdef __STDC__
63523 # include <limits.h>
63524 #else
63525 # include <assert.h>
63526 #endif
63527
63528 #undef $ac_func
63529
63530 /* Override any gcc2 internal prototype to avoid an error. */
63531 #ifdef __cplusplus
63532 extern "C"
63533 {
63534 #endif
63535 /* We use char because int might match the return type of a gcc2
63536 builtin and then its argument prototype would still apply. */
63537 char $ac_func ();
63538 /* The GNU C library defines this for functions which it implements
63539 to always fail with ENOSYS. Some functions are actually named
63540 something starting with __ and the normal name is an alias. */
63541 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63542 choke me
63543 #else
63544 char (*f) () = $ac_func;
63545 #endif
63546 #ifdef __cplusplus
63547 }
63548 #endif
63549
63550 int
63551 main ()
63552 {
63553 return f != $ac_func;
63554 ;
63555 return 0;
63556 }
63557 _ACEOF
63558 rm -f conftest.$ac_objext conftest$ac_exeext
63559 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63560 (eval $ac_link) 2>conftest.er1
63561 ac_status=$?
63562 grep -v '^ *+' conftest.er1 >conftest.err
63563 rm -f conftest.er1
63564 cat conftest.err >&5
63565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63566 (exit $ac_status); } &&
63567 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
63568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63569 (eval $ac_try) 2>&5
63570 ac_status=$?
63571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63572 (exit $ac_status); }; } &&
63573 { ac_try='test -s conftest$ac_exeext'
63574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63575 (eval $ac_try) 2>&5
63576 ac_status=$?
63577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63578 (exit $ac_status); }; }; then
63579 eval "$as_ac_var=yes"
63580 else
63581 echo "$as_me: failed program was:" >&5
63582 sed 's/^/| /' conftest.$ac_ext >&5
63583
63584 eval "$as_ac_var=no"
63585 fi
63586 rm -f conftest.err conftest.$ac_objext \
63587 conftest$ac_exeext conftest.$ac_ext
63588 fi
63589 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63590 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63591 if test `eval echo '${'$as_ac_var'}'` = yes; then
63592 cat >>confdefs.h <<_ACEOF
63593 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63594 _ACEOF
63595
63596 fi
63597 done
63598
63599 fi
63600 fi
63601
63602
63603
63604
63605
63606
63607 echo "$as_me:$LINENO: checking for finitef declaration" >&5
63608 echo $ECHO_N "checking for finitef declaration... $ECHO_C" >&6
63609 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
63610 if test "${glibcxx_cv_func_finitef_use+set}" = set; then
63611 echo $ECHO_N "(cached) $ECHO_C" >&6
63612 else
63613
63614
63615
63616 ac_ext=cc
63617 ac_cpp='$CXXCPP $CPPFLAGS'
63618 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63619 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63620 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63621
63622 cat >conftest.$ac_ext <<_ACEOF
63623 /* confdefs.h. */
63624 _ACEOF
63625 cat confdefs.h >>conftest.$ac_ext
63626 cat >>conftest.$ac_ext <<_ACEOF
63627 /* end confdefs.h. */
63628 #include <math.h>
63629 #ifdef HAVE_IEEEFP_H
63630 #include <ieeefp.h>
63631 #endif
63632
63633 int
63634 main ()
63635 {
63636 finitef(0);
63637 ;
63638 return 0;
63639 }
63640 _ACEOF
63641 rm -f conftest.$ac_objext
63642 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63643 (eval $ac_compile) 2>conftest.er1
63644 ac_status=$?
63645 grep -v '^ *+' conftest.er1 >conftest.err
63646 rm -f conftest.er1
63647 cat conftest.err >&5
63648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63649 (exit $ac_status); } &&
63650 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
63651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63652 (eval $ac_try) 2>&5
63653 ac_status=$?
63654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63655 (exit $ac_status); }; } &&
63656 { ac_try='test -s conftest.$ac_objext'
63657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63658 (eval $ac_try) 2>&5
63659 ac_status=$?
63660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63661 (exit $ac_status); }; }; then
63662 glibcxx_cv_func_finitef_use=yes
63663 else
63664 echo "$as_me: failed program was:" >&5
63665 sed 's/^/| /' conftest.$ac_ext >&5
63666
63667 glibcxx_cv_func_finitef_use=no
63668 fi
63669 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63670 ac_ext=c
63671 ac_cpp='$CPP $CPPFLAGS'
63672 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63673 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63674 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63675
63676
63677 fi
63678
63679 fi
63680 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitef_use" >&5
63681 echo "${ECHO_T}$glibcxx_cv_func_finitef_use" >&6
63682
63683 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
63684
63685 for ac_func in finitef
63686 do
63687 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63688 echo "$as_me:$LINENO: checking for $ac_func" >&5
63689 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63690 if eval "test \"\${$as_ac_var+set}\" = set"; then
63691 echo $ECHO_N "(cached) $ECHO_C" >&6
63692 else
63693 if test x$gcc_no_link = xyes; then
63694 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63695 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63696 { (exit 1); exit 1; }; }
63697 fi
63698 cat >conftest.$ac_ext <<_ACEOF
63699 /* confdefs.h. */
63700 _ACEOF
63701 cat confdefs.h >>conftest.$ac_ext
63702 cat >>conftest.$ac_ext <<_ACEOF
63703 /* end confdefs.h. */
63704 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63705 For example, HP-UX 11i <limits.h> declares gettimeofday. */
63706 #define $ac_func innocuous_$ac_func
63707
63708 /* System header to define __stub macros and hopefully few prototypes,
63709 which can conflict with char $ac_func (); below.
63710 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63711 <limits.h> exists even on freestanding compilers. */
63712
63713 #ifdef __STDC__
63714 # include <limits.h>
63715 #else
63716 # include <assert.h>
63717 #endif
63718
63719 #undef $ac_func
63720
63721 /* Override any gcc2 internal prototype to avoid an error. */
63722 #ifdef __cplusplus
63723 extern "C"
63724 {
63725 #endif
63726 /* We use char because int might match the return type of a gcc2
63727 builtin and then its argument prototype would still apply. */
63728 char $ac_func ();
63729 /* The GNU C library defines this for functions which it implements
63730 to always fail with ENOSYS. Some functions are actually named
63731 something starting with __ and the normal name is an alias. */
63732 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63733 choke me
63734 #else
63735 char (*f) () = $ac_func;
63736 #endif
63737 #ifdef __cplusplus
63738 }
63739 #endif
63740
63741 int
63742 main ()
63743 {
63744 return f != $ac_func;
63745 ;
63746 return 0;
63747 }
63748 _ACEOF
63749 rm -f conftest.$ac_objext conftest$ac_exeext
63750 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63751 (eval $ac_link) 2>conftest.er1
63752 ac_status=$?
63753 grep -v '^ *+' conftest.er1 >conftest.err
63754 rm -f conftest.er1
63755 cat conftest.err >&5
63756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63757 (exit $ac_status); } &&
63758 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
63759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63760 (eval $ac_try) 2>&5
63761 ac_status=$?
63762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63763 (exit $ac_status); }; } &&
63764 { ac_try='test -s conftest$ac_exeext'
63765 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63766 (eval $ac_try) 2>&5
63767 ac_status=$?
63768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63769 (exit $ac_status); }; }; then
63770 eval "$as_ac_var=yes"
63771 else
63772 echo "$as_me: failed program was:" >&5
63773 sed 's/^/| /' conftest.$ac_ext >&5
63774
63775 eval "$as_ac_var=no"
63776 fi
63777 rm -f conftest.err conftest.$ac_objext \
63778 conftest$ac_exeext conftest.$ac_ext
63779 fi
63780 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63781 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63782 if test `eval echo '${'$as_ac_var'}'` = yes; then
63783 cat >>confdefs.h <<_ACEOF
63784 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63785 _ACEOF
63786
63787 fi
63788 done
63789
63790 else
63791
63792 echo "$as_me:$LINENO: checking for _finitef declaration" >&5
63793 echo $ECHO_N "checking for _finitef declaration... $ECHO_C" >&6
63794 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
63795 if test "${glibcxx_cv_func__finitef_use+set}" = set; then
63796 echo $ECHO_N "(cached) $ECHO_C" >&6
63797 else
63798
63799
63800
63801 ac_ext=cc
63802 ac_cpp='$CXXCPP $CPPFLAGS'
63803 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63804 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63805 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63806
63807 cat >conftest.$ac_ext <<_ACEOF
63808 /* confdefs.h. */
63809 _ACEOF
63810 cat confdefs.h >>conftest.$ac_ext
63811 cat >>conftest.$ac_ext <<_ACEOF
63812 /* end confdefs.h. */
63813 #include <math.h>
63814 #ifdef HAVE_IEEEFP_H
63815 #include <ieeefp.h>
63816 #endif
63817
63818 int
63819 main ()
63820 {
63821 _finitef(0);
63822 ;
63823 return 0;
63824 }
63825 _ACEOF
63826 rm -f conftest.$ac_objext
63827 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63828 (eval $ac_compile) 2>conftest.er1
63829 ac_status=$?
63830 grep -v '^ *+' conftest.er1 >conftest.err
63831 rm -f conftest.er1
63832 cat conftest.err >&5
63833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63834 (exit $ac_status); } &&
63835 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
63836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63837 (eval $ac_try) 2>&5
63838 ac_status=$?
63839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63840 (exit $ac_status); }; } &&
63841 { ac_try='test -s conftest.$ac_objext'
63842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63843 (eval $ac_try) 2>&5
63844 ac_status=$?
63845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63846 (exit $ac_status); }; }; then
63847 glibcxx_cv_func__finitef_use=yes
63848 else
63849 echo "$as_me: failed program was:" >&5
63850 sed 's/^/| /' conftest.$ac_ext >&5
63851
63852 glibcxx_cv_func__finitef_use=no
63853 fi
63854 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63855 ac_ext=c
63856 ac_cpp='$CPP $CPPFLAGS'
63857 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63858 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63859 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63860
63861
63862 fi
63863
63864 fi
63865 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitef_use" >&5
63866 echo "${ECHO_T}$glibcxx_cv_func__finitef_use" >&6
63867
63868 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
63869
63870 for ac_func in _finitef
63871 do
63872 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63873 echo "$as_me:$LINENO: checking for $ac_func" >&5
63874 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63875 if eval "test \"\${$as_ac_var+set}\" = set"; then
63876 echo $ECHO_N "(cached) $ECHO_C" >&6
63877 else
63878 if test x$gcc_no_link = xyes; then
63879 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63880 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63881 { (exit 1); exit 1; }; }
63882 fi
63883 cat >conftest.$ac_ext <<_ACEOF
63884 /* confdefs.h. */
63885 _ACEOF
63886 cat confdefs.h >>conftest.$ac_ext
63887 cat >>conftest.$ac_ext <<_ACEOF
63888 /* end confdefs.h. */
63889 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63890 For example, HP-UX 11i <limits.h> declares gettimeofday. */
63891 #define $ac_func innocuous_$ac_func
63892
63893 /* System header to define __stub macros and hopefully few prototypes,
63894 which can conflict with char $ac_func (); below.
63895 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63896 <limits.h> exists even on freestanding compilers. */
63897
63898 #ifdef __STDC__
63899 # include <limits.h>
63900 #else
63901 # include <assert.h>
63902 #endif
63903
63904 #undef $ac_func
63905
63906 /* Override any gcc2 internal prototype to avoid an error. */
63907 #ifdef __cplusplus
63908 extern "C"
63909 {
63910 #endif
63911 /* We use char because int might match the return type of a gcc2
63912 builtin and then its argument prototype would still apply. */
63913 char $ac_func ();
63914 /* The GNU C library defines this for functions which it implements
63915 to always fail with ENOSYS. Some functions are actually named
63916 something starting with __ and the normal name is an alias. */
63917 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63918 choke me
63919 #else
63920 char (*f) () = $ac_func;
63921 #endif
63922 #ifdef __cplusplus
63923 }
63924 #endif
63925
63926 int
63927 main ()
63928 {
63929 return f != $ac_func;
63930 ;
63931 return 0;
63932 }
63933 _ACEOF
63934 rm -f conftest.$ac_objext conftest$ac_exeext
63935 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63936 (eval $ac_link) 2>conftest.er1
63937 ac_status=$?
63938 grep -v '^ *+' conftest.er1 >conftest.err
63939 rm -f conftest.er1
63940 cat conftest.err >&5
63941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63942 (exit $ac_status); } &&
63943 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
63944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63945 (eval $ac_try) 2>&5
63946 ac_status=$?
63947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63948 (exit $ac_status); }; } &&
63949 { ac_try='test -s conftest$ac_exeext'
63950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63951 (eval $ac_try) 2>&5
63952 ac_status=$?
63953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63954 (exit $ac_status); }; }; then
63955 eval "$as_ac_var=yes"
63956 else
63957 echo "$as_me: failed program was:" >&5
63958 sed 's/^/| /' conftest.$ac_ext >&5
63959
63960 eval "$as_ac_var=no"
63961 fi
63962 rm -f conftest.err conftest.$ac_objext \
63963 conftest$ac_exeext conftest.$ac_ext
63964 fi
63965 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63966 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63967 if test `eval echo '${'$as_ac_var'}'` = yes; then
63968 cat >>confdefs.h <<_ACEOF
63969 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63970 _ACEOF
63971
63972 fi
63973 done
63974
63975 fi
63976 fi
63977
63978
63979
63980
63981
63982
63983 echo "$as_me:$LINENO: checking for long double trig functions" >&5
63984 echo $ECHO_N "checking for long double trig functions... $ECHO_C" >&6
63985 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then
63986 echo $ECHO_N "(cached) $ECHO_C" >&6
63987 else
63988
63989
63990
63991 ac_ext=cc
63992 ac_cpp='$CXXCPP $CPPFLAGS'
63993 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63994 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63995 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63996
63997 cat >conftest.$ac_ext <<_ACEOF
63998 /* confdefs.h. */
63999 _ACEOF
64000 cat confdefs.h >>conftest.$ac_ext
64001 cat >>conftest.$ac_ext <<_ACEOF
64002 /* end confdefs.h. */
64003 #include <math.h>
64004 int
64005 main ()
64006 {
64007 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
64008 ;
64009 return 0;
64010 }
64011 _ACEOF
64012 rm -f conftest.$ac_objext
64013 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64014 (eval $ac_compile) 2>conftest.er1
64015 ac_status=$?
64016 grep -v '^ *+' conftest.er1 >conftest.err
64017 rm -f conftest.er1
64018 cat conftest.err >&5
64019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64020 (exit $ac_status); } &&
64021 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
64022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64023 (eval $ac_try) 2>&5
64024 ac_status=$?
64025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64026 (exit $ac_status); }; } &&
64027 { ac_try='test -s conftest.$ac_objext'
64028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64029 (eval $ac_try) 2>&5
64030 ac_status=$?
64031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64032 (exit $ac_status); }; }; then
64033 glibcxx_cv_func_long_double_trig_use=yes
64034 else
64035 echo "$as_me: failed program was:" >&5
64036 sed 's/^/| /' conftest.$ac_ext >&5
64037
64038 glibcxx_cv_func_long_double_trig_use=no
64039 fi
64040 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64041 ac_ext=c
64042 ac_cpp='$CPP $CPPFLAGS'
64043 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64044 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64045 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64046
64047 fi
64048
64049 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_trig_use" >&5
64050 echo "${ECHO_T}$glibcxx_cv_func_long_double_trig_use" >&6
64051 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
64052
64053
64054
64055
64056
64057
64058
64059
64060
64061 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
64062 do
64063 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64064 echo "$as_me:$LINENO: checking for $ac_func" >&5
64065 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64066 if eval "test \"\${$as_ac_var+set}\" = set"; then
64067 echo $ECHO_N "(cached) $ECHO_C" >&6
64068 else
64069 if test x$gcc_no_link = xyes; then
64070 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64071 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64072 { (exit 1); exit 1; }; }
64073 fi
64074 cat >conftest.$ac_ext <<_ACEOF
64075 /* confdefs.h. */
64076 _ACEOF
64077 cat confdefs.h >>conftest.$ac_ext
64078 cat >>conftest.$ac_ext <<_ACEOF
64079 /* end confdefs.h. */
64080 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64081 For example, HP-UX 11i <limits.h> declares gettimeofday. */
64082 #define $ac_func innocuous_$ac_func
64083
64084 /* System header to define __stub macros and hopefully few prototypes,
64085 which can conflict with char $ac_func (); below.
64086 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64087 <limits.h> exists even on freestanding compilers. */
64088
64089 #ifdef __STDC__
64090 # include <limits.h>
64091 #else
64092 # include <assert.h>
64093 #endif
64094
64095 #undef $ac_func
64096
64097 /* Override any gcc2 internal prototype to avoid an error. */
64098 #ifdef __cplusplus
64099 extern "C"
64100 {
64101 #endif
64102 /* We use char because int might match the return type of a gcc2
64103 builtin and then its argument prototype would still apply. */
64104 char $ac_func ();
64105 /* The GNU C library defines this for functions which it implements
64106 to always fail with ENOSYS. Some functions are actually named
64107 something starting with __ and the normal name is an alias. */
64108 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64109 choke me
64110 #else
64111 char (*f) () = $ac_func;
64112 #endif
64113 #ifdef __cplusplus
64114 }
64115 #endif
64116
64117 int
64118 main ()
64119 {
64120 return f != $ac_func;
64121 ;
64122 return 0;
64123 }
64124 _ACEOF
64125 rm -f conftest.$ac_objext conftest$ac_exeext
64126 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64127 (eval $ac_link) 2>conftest.er1
64128 ac_status=$?
64129 grep -v '^ *+' conftest.er1 >conftest.err
64130 rm -f conftest.er1
64131 cat conftest.err >&5
64132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64133 (exit $ac_status); } &&
64134 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
64135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64136 (eval $ac_try) 2>&5
64137 ac_status=$?
64138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64139 (exit $ac_status); }; } &&
64140 { ac_try='test -s conftest$ac_exeext'
64141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64142 (eval $ac_try) 2>&5
64143 ac_status=$?
64144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64145 (exit $ac_status); }; }; then
64146 eval "$as_ac_var=yes"
64147 else
64148 echo "$as_me: failed program was:" >&5
64149 sed 's/^/| /' conftest.$ac_ext >&5
64150
64151 eval "$as_ac_var=no"
64152 fi
64153 rm -f conftest.err conftest.$ac_objext \
64154 conftest$ac_exeext conftest.$ac_ext
64155 fi
64156 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64157 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64158 if test `eval echo '${'$as_ac_var'}'` = yes; then
64159 cat >>confdefs.h <<_ACEOF
64160 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64161 _ACEOF
64162
64163 fi
64164 done
64165
64166 else
64167 echo "$as_me:$LINENO: checking for _long double trig functions" >&5
64168 echo $ECHO_N "checking for _long double trig functions... $ECHO_C" >&6
64169 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then
64170 echo $ECHO_N "(cached) $ECHO_C" >&6
64171 else
64172
64173
64174
64175 ac_ext=cc
64176 ac_cpp='$CXXCPP $CPPFLAGS'
64177 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64178 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64179 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64180
64181 cat >conftest.$ac_ext <<_ACEOF
64182 /* confdefs.h. */
64183 _ACEOF
64184 cat confdefs.h >>conftest.$ac_ext
64185 cat >>conftest.$ac_ext <<_ACEOF
64186 /* end confdefs.h. */
64187 #include <math.h>
64188 int
64189 main ()
64190 {
64191 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
64192 ;
64193 return 0;
64194 }
64195 _ACEOF
64196 rm -f conftest.$ac_objext
64197 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64198 (eval $ac_compile) 2>conftest.er1
64199 ac_status=$?
64200 grep -v '^ *+' conftest.er1 >conftest.err
64201 rm -f conftest.er1
64202 cat conftest.err >&5
64203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64204 (exit $ac_status); } &&
64205 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
64206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64207 (eval $ac_try) 2>&5
64208 ac_status=$?
64209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64210 (exit $ac_status); }; } &&
64211 { ac_try='test -s conftest.$ac_objext'
64212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64213 (eval $ac_try) 2>&5
64214 ac_status=$?
64215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64216 (exit $ac_status); }; }; then
64217 glibcxx_cv_func__long_double_trig_use=yes
64218 else
64219 echo "$as_me: failed program was:" >&5
64220 sed 's/^/| /' conftest.$ac_ext >&5
64221
64222 glibcxx_cv_func__long_double_trig_use=no
64223 fi
64224 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64225 ac_ext=c
64226 ac_cpp='$CPP $CPPFLAGS'
64227 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64228 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64229 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64230
64231 fi
64232
64233 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_trig_use" >&5
64234 echo "${ECHO_T}$glibcxx_cv_func__long_double_trig_use" >&6
64235 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
64236
64237
64238
64239
64240
64241
64242
64243
64244
64245 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
64246 do
64247 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64248 echo "$as_me:$LINENO: checking for $ac_func" >&5
64249 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64250 if eval "test \"\${$as_ac_var+set}\" = set"; then
64251 echo $ECHO_N "(cached) $ECHO_C" >&6
64252 else
64253 if test x$gcc_no_link = xyes; then
64254 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64255 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64256 { (exit 1); exit 1; }; }
64257 fi
64258 cat >conftest.$ac_ext <<_ACEOF
64259 /* confdefs.h. */
64260 _ACEOF
64261 cat confdefs.h >>conftest.$ac_ext
64262 cat >>conftest.$ac_ext <<_ACEOF
64263 /* end confdefs.h. */
64264 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64265 For example, HP-UX 11i <limits.h> declares gettimeofday. */
64266 #define $ac_func innocuous_$ac_func
64267
64268 /* System header to define __stub macros and hopefully few prototypes,
64269 which can conflict with char $ac_func (); below.
64270 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64271 <limits.h> exists even on freestanding compilers. */
64272
64273 #ifdef __STDC__
64274 # include <limits.h>
64275 #else
64276 # include <assert.h>
64277 #endif
64278
64279 #undef $ac_func
64280
64281 /* Override any gcc2 internal prototype to avoid an error. */
64282 #ifdef __cplusplus
64283 extern "C"
64284 {
64285 #endif
64286 /* We use char because int might match the return type of a gcc2
64287 builtin and then its argument prototype would still apply. */
64288 char $ac_func ();
64289 /* The GNU C library defines this for functions which it implements
64290 to always fail with ENOSYS. Some functions are actually named
64291 something starting with __ and the normal name is an alias. */
64292 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64293 choke me
64294 #else
64295 char (*f) () = $ac_func;
64296 #endif
64297 #ifdef __cplusplus
64298 }
64299 #endif
64300
64301 int
64302 main ()
64303 {
64304 return f != $ac_func;
64305 ;
64306 return 0;
64307 }
64308 _ACEOF
64309 rm -f conftest.$ac_objext conftest$ac_exeext
64310 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64311 (eval $ac_link) 2>conftest.er1
64312 ac_status=$?
64313 grep -v '^ *+' conftest.er1 >conftest.err
64314 rm -f conftest.er1
64315 cat conftest.err >&5
64316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64317 (exit $ac_status); } &&
64318 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
64319 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64320 (eval $ac_try) 2>&5
64321 ac_status=$?
64322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64323 (exit $ac_status); }; } &&
64324 { ac_try='test -s conftest$ac_exeext'
64325 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64326 (eval $ac_try) 2>&5
64327 ac_status=$?
64328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64329 (exit $ac_status); }; }; then
64330 eval "$as_ac_var=yes"
64331 else
64332 echo "$as_me: failed program was:" >&5
64333 sed 's/^/| /' conftest.$ac_ext >&5
64334
64335 eval "$as_ac_var=no"
64336 fi
64337 rm -f conftest.err conftest.$ac_objext \
64338 conftest$ac_exeext conftest.$ac_ext
64339 fi
64340 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64341 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64342 if test `eval echo '${'$as_ac_var'}'` = yes; then
64343 cat >>confdefs.h <<_ACEOF
64344 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64345 _ACEOF
64346
64347 fi
64348 done
64349
64350 fi
64351 fi
64352
64353
64354
64355
64356
64357
64358
64359
64360
64361
64362
64363
64364
64365
64366 echo "$as_me:$LINENO: checking for long double round functions" >&5
64367 echo $ECHO_N "checking for long double round functions... $ECHO_C" >&6
64368 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then
64369 echo $ECHO_N "(cached) $ECHO_C" >&6
64370 else
64371
64372
64373
64374 ac_ext=cc
64375 ac_cpp='$CXXCPP $CPPFLAGS'
64376 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64377 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64378 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64379
64380 cat >conftest.$ac_ext <<_ACEOF
64381 /* confdefs.h. */
64382 _ACEOF
64383 cat confdefs.h >>conftest.$ac_ext
64384 cat >>conftest.$ac_ext <<_ACEOF
64385 /* end confdefs.h. */
64386 #include <math.h>
64387 int
64388 main ()
64389 {
64390 ceill (0); floorl (0);
64391 ;
64392 return 0;
64393 }
64394 _ACEOF
64395 rm -f conftest.$ac_objext
64396 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64397 (eval $ac_compile) 2>conftest.er1
64398 ac_status=$?
64399 grep -v '^ *+' conftest.er1 >conftest.err
64400 rm -f conftest.er1
64401 cat conftest.err >&5
64402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64403 (exit $ac_status); } &&
64404 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
64405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64406 (eval $ac_try) 2>&5
64407 ac_status=$?
64408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64409 (exit $ac_status); }; } &&
64410 { ac_try='test -s conftest.$ac_objext'
64411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64412 (eval $ac_try) 2>&5
64413 ac_status=$?
64414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64415 (exit $ac_status); }; }; then
64416 glibcxx_cv_func_long_double_round_use=yes
64417 else
64418 echo "$as_me: failed program was:" >&5
64419 sed 's/^/| /' conftest.$ac_ext >&5
64420
64421 glibcxx_cv_func_long_double_round_use=no
64422 fi
64423 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64424 ac_ext=c
64425 ac_cpp='$CPP $CPPFLAGS'
64426 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64427 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64428 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64429
64430 fi
64431
64432 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_round_use" >&5
64433 echo "${ECHO_T}$glibcxx_cv_func_long_double_round_use" >&6
64434 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
64435
64436
64437 for ac_func in ceill floorl
64438 do
64439 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64440 echo "$as_me:$LINENO: checking for $ac_func" >&5
64441 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64442 if eval "test \"\${$as_ac_var+set}\" = set"; then
64443 echo $ECHO_N "(cached) $ECHO_C" >&6
64444 else
64445 if test x$gcc_no_link = xyes; then
64446 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64447 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64448 { (exit 1); exit 1; }; }
64449 fi
64450 cat >conftest.$ac_ext <<_ACEOF
64451 /* confdefs.h. */
64452 _ACEOF
64453 cat confdefs.h >>conftest.$ac_ext
64454 cat >>conftest.$ac_ext <<_ACEOF
64455 /* end confdefs.h. */
64456 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64457 For example, HP-UX 11i <limits.h> declares gettimeofday. */
64458 #define $ac_func innocuous_$ac_func
64459
64460 /* System header to define __stub macros and hopefully few prototypes,
64461 which can conflict with char $ac_func (); below.
64462 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64463 <limits.h> exists even on freestanding compilers. */
64464
64465 #ifdef __STDC__
64466 # include <limits.h>
64467 #else
64468 # include <assert.h>
64469 #endif
64470
64471 #undef $ac_func
64472
64473 /* Override any gcc2 internal prototype to avoid an error. */
64474 #ifdef __cplusplus
64475 extern "C"
64476 {
64477 #endif
64478 /* We use char because int might match the return type of a gcc2
64479 builtin and then its argument prototype would still apply. */
64480 char $ac_func ();
64481 /* The GNU C library defines this for functions which it implements
64482 to always fail with ENOSYS. Some functions are actually named
64483 something starting with __ and the normal name is an alias. */
64484 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64485 choke me
64486 #else
64487 char (*f) () = $ac_func;
64488 #endif
64489 #ifdef __cplusplus
64490 }
64491 #endif
64492
64493 int
64494 main ()
64495 {
64496 return f != $ac_func;
64497 ;
64498 return 0;
64499 }
64500 _ACEOF
64501 rm -f conftest.$ac_objext conftest$ac_exeext
64502 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64503 (eval $ac_link) 2>conftest.er1
64504 ac_status=$?
64505 grep -v '^ *+' conftest.er1 >conftest.err
64506 rm -f conftest.er1
64507 cat conftest.err >&5
64508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64509 (exit $ac_status); } &&
64510 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
64511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64512 (eval $ac_try) 2>&5
64513 ac_status=$?
64514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64515 (exit $ac_status); }; } &&
64516 { ac_try='test -s conftest$ac_exeext'
64517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64518 (eval $ac_try) 2>&5
64519 ac_status=$?
64520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64521 (exit $ac_status); }; }; then
64522 eval "$as_ac_var=yes"
64523 else
64524 echo "$as_me: failed program was:" >&5
64525 sed 's/^/| /' conftest.$ac_ext >&5
64526
64527 eval "$as_ac_var=no"
64528 fi
64529 rm -f conftest.err conftest.$ac_objext \
64530 conftest$ac_exeext conftest.$ac_ext
64531 fi
64532 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64533 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64534 if test `eval echo '${'$as_ac_var'}'` = yes; then
64535 cat >>confdefs.h <<_ACEOF
64536 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64537 _ACEOF
64538
64539 fi
64540 done
64541
64542 else
64543 echo "$as_me:$LINENO: checking for _long double round functions" >&5
64544 echo $ECHO_N "checking for _long double round functions... $ECHO_C" >&6
64545 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then
64546 echo $ECHO_N "(cached) $ECHO_C" >&6
64547 else
64548
64549
64550
64551 ac_ext=cc
64552 ac_cpp='$CXXCPP $CPPFLAGS'
64553 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64554 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64555 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64556
64557 cat >conftest.$ac_ext <<_ACEOF
64558 /* confdefs.h. */
64559 _ACEOF
64560 cat confdefs.h >>conftest.$ac_ext
64561 cat >>conftest.$ac_ext <<_ACEOF
64562 /* end confdefs.h. */
64563 #include <math.h>
64564 int
64565 main ()
64566 {
64567 _ceill (0); _floorl (0);
64568 ;
64569 return 0;
64570 }
64571 _ACEOF
64572 rm -f conftest.$ac_objext
64573 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64574 (eval $ac_compile) 2>conftest.er1
64575 ac_status=$?
64576 grep -v '^ *+' conftest.er1 >conftest.err
64577 rm -f conftest.er1
64578 cat conftest.err >&5
64579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64580 (exit $ac_status); } &&
64581 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
64582 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64583 (eval $ac_try) 2>&5
64584 ac_status=$?
64585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64586 (exit $ac_status); }; } &&
64587 { ac_try='test -s conftest.$ac_objext'
64588 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64589 (eval $ac_try) 2>&5
64590 ac_status=$?
64591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64592 (exit $ac_status); }; }; then
64593 glibcxx_cv_func__long_double_round_use=yes
64594 else
64595 echo "$as_me: failed program was:" >&5
64596 sed 's/^/| /' conftest.$ac_ext >&5
64597
64598 glibcxx_cv_func__long_double_round_use=no
64599 fi
64600 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64601 ac_ext=c
64602 ac_cpp='$CPP $CPPFLAGS'
64603 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64604 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64605 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64606
64607 fi
64608
64609 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_round_use" >&5
64610 echo "${ECHO_T}$glibcxx_cv_func__long_double_round_use" >&6
64611 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
64612
64613
64614 for ac_func in _ceill _floorl
64615 do
64616 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64617 echo "$as_me:$LINENO: checking for $ac_func" >&5
64618 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64619 if eval "test \"\${$as_ac_var+set}\" = set"; then
64620 echo $ECHO_N "(cached) $ECHO_C" >&6
64621 else
64622 if test x$gcc_no_link = xyes; then
64623 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64624 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64625 { (exit 1); exit 1; }; }
64626 fi
64627 cat >conftest.$ac_ext <<_ACEOF
64628 /* confdefs.h. */
64629 _ACEOF
64630 cat confdefs.h >>conftest.$ac_ext
64631 cat >>conftest.$ac_ext <<_ACEOF
64632 /* end confdefs.h. */
64633 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64634 For example, HP-UX 11i <limits.h> declares gettimeofday. */
64635 #define $ac_func innocuous_$ac_func
64636
64637 /* System header to define __stub macros and hopefully few prototypes,
64638 which can conflict with char $ac_func (); below.
64639 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64640 <limits.h> exists even on freestanding compilers. */
64641
64642 #ifdef __STDC__
64643 # include <limits.h>
64644 #else
64645 # include <assert.h>
64646 #endif
64647
64648 #undef $ac_func
64649
64650 /* Override any gcc2 internal prototype to avoid an error. */
64651 #ifdef __cplusplus
64652 extern "C"
64653 {
64654 #endif
64655 /* We use char because int might match the return type of a gcc2
64656 builtin and then its argument prototype would still apply. */
64657 char $ac_func ();
64658 /* The GNU C library defines this for functions which it implements
64659 to always fail with ENOSYS. Some functions are actually named
64660 something starting with __ and the normal name is an alias. */
64661 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64662 choke me
64663 #else
64664 char (*f) () = $ac_func;
64665 #endif
64666 #ifdef __cplusplus
64667 }
64668 #endif
64669
64670 int
64671 main ()
64672 {
64673 return f != $ac_func;
64674 ;
64675 return 0;
64676 }
64677 _ACEOF
64678 rm -f conftest.$ac_objext conftest$ac_exeext
64679 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64680 (eval $ac_link) 2>conftest.er1
64681 ac_status=$?
64682 grep -v '^ *+' conftest.er1 >conftest.err
64683 rm -f conftest.er1
64684 cat conftest.err >&5
64685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64686 (exit $ac_status); } &&
64687 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
64688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64689 (eval $ac_try) 2>&5
64690 ac_status=$?
64691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64692 (exit $ac_status); }; } &&
64693 { ac_try='test -s conftest$ac_exeext'
64694 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64695 (eval $ac_try) 2>&5
64696 ac_status=$?
64697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64698 (exit $ac_status); }; }; then
64699 eval "$as_ac_var=yes"
64700 else
64701 echo "$as_me: failed program was:" >&5
64702 sed 's/^/| /' conftest.$ac_ext >&5
64703
64704 eval "$as_ac_var=no"
64705 fi
64706 rm -f conftest.err conftest.$ac_objext \
64707 conftest$ac_exeext conftest.$ac_ext
64708 fi
64709 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64710 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64711 if test `eval echo '${'$as_ac_var'}'` = yes; then
64712 cat >>confdefs.h <<_ACEOF
64713 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64714 _ACEOF
64715
64716 fi
64717 done
64718
64719 fi
64720 fi
64721
64722
64723
64724
64725
64726
64727
64728
64729 echo "$as_me:$LINENO: checking for isnanl declaration" >&5
64730 echo $ECHO_N "checking for isnanl declaration... $ECHO_C" >&6
64731 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
64732 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then
64733 echo $ECHO_N "(cached) $ECHO_C" >&6
64734 else
64735
64736
64737
64738 ac_ext=cc
64739 ac_cpp='$CXXCPP $CPPFLAGS'
64740 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64741 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64742 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64743
64744 cat >conftest.$ac_ext <<_ACEOF
64745 /* confdefs.h. */
64746 _ACEOF
64747 cat confdefs.h >>conftest.$ac_ext
64748 cat >>conftest.$ac_ext <<_ACEOF
64749 /* end confdefs.h. */
64750 #include <math.h>
64751 #ifdef HAVE_IEEEFP_H
64752 #include <ieeefp.h>
64753 #endif
64754
64755 int
64756 main ()
64757 {
64758 isnanl(0);
64759 ;
64760 return 0;
64761 }
64762 _ACEOF
64763 rm -f conftest.$ac_objext
64764 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64765 (eval $ac_compile) 2>conftest.er1
64766 ac_status=$?
64767 grep -v '^ *+' conftest.er1 >conftest.err
64768 rm -f conftest.er1
64769 cat conftest.err >&5
64770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64771 (exit $ac_status); } &&
64772 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
64773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64774 (eval $ac_try) 2>&5
64775 ac_status=$?
64776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64777 (exit $ac_status); }; } &&
64778 { ac_try='test -s conftest.$ac_objext'
64779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64780 (eval $ac_try) 2>&5
64781 ac_status=$?
64782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64783 (exit $ac_status); }; }; then
64784 glibcxx_cv_func_isnanl_use=yes
64785 else
64786 echo "$as_me: failed program was:" >&5
64787 sed 's/^/| /' conftest.$ac_ext >&5
64788
64789 glibcxx_cv_func_isnanl_use=no
64790 fi
64791 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64792 ac_ext=c
64793 ac_cpp='$CPP $CPPFLAGS'
64794 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64795 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64796 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64797
64798
64799 fi
64800
64801 fi
64802 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanl_use" >&5
64803 echo "${ECHO_T}$glibcxx_cv_func_isnanl_use" >&6
64804
64805 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
64806
64807 for ac_func in isnanl
64808 do
64809 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64810 echo "$as_me:$LINENO: checking for $ac_func" >&5
64811 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64812 if eval "test \"\${$as_ac_var+set}\" = set"; then
64813 echo $ECHO_N "(cached) $ECHO_C" >&6
64814 else
64815 if test x$gcc_no_link = xyes; then
64816 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64817 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64818 { (exit 1); exit 1; }; }
64819 fi
64820 cat >conftest.$ac_ext <<_ACEOF
64821 /* confdefs.h. */
64822 _ACEOF
64823 cat confdefs.h >>conftest.$ac_ext
64824 cat >>conftest.$ac_ext <<_ACEOF
64825 /* end confdefs.h. */
64826 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64827 For example, HP-UX 11i <limits.h> declares gettimeofday. */
64828 #define $ac_func innocuous_$ac_func
64829
64830 /* System header to define __stub macros and hopefully few prototypes,
64831 which can conflict with char $ac_func (); below.
64832 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64833 <limits.h> exists even on freestanding compilers. */
64834
64835 #ifdef __STDC__
64836 # include <limits.h>
64837 #else
64838 # include <assert.h>
64839 #endif
64840
64841 #undef $ac_func
64842
64843 /* Override any gcc2 internal prototype to avoid an error. */
64844 #ifdef __cplusplus
64845 extern "C"
64846 {
64847 #endif
64848 /* We use char because int might match the return type of a gcc2
64849 builtin and then its argument prototype would still apply. */
64850 char $ac_func ();
64851 /* The GNU C library defines this for functions which it implements
64852 to always fail with ENOSYS. Some functions are actually named
64853 something starting with __ and the normal name is an alias. */
64854 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64855 choke me
64856 #else
64857 char (*f) () = $ac_func;
64858 #endif
64859 #ifdef __cplusplus
64860 }
64861 #endif
64862
64863 int
64864 main ()
64865 {
64866 return f != $ac_func;
64867 ;
64868 return 0;
64869 }
64870 _ACEOF
64871 rm -f conftest.$ac_objext conftest$ac_exeext
64872 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64873 (eval $ac_link) 2>conftest.er1
64874 ac_status=$?
64875 grep -v '^ *+' conftest.er1 >conftest.err
64876 rm -f conftest.er1
64877 cat conftest.err >&5
64878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64879 (exit $ac_status); } &&
64880 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
64881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64882 (eval $ac_try) 2>&5
64883 ac_status=$?
64884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64885 (exit $ac_status); }; } &&
64886 { ac_try='test -s conftest$ac_exeext'
64887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64888 (eval $ac_try) 2>&5
64889 ac_status=$?
64890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64891 (exit $ac_status); }; }; then
64892 eval "$as_ac_var=yes"
64893 else
64894 echo "$as_me: failed program was:" >&5
64895 sed 's/^/| /' conftest.$ac_ext >&5
64896
64897 eval "$as_ac_var=no"
64898 fi
64899 rm -f conftest.err conftest.$ac_objext \
64900 conftest$ac_exeext conftest.$ac_ext
64901 fi
64902 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64903 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64904 if test `eval echo '${'$as_ac_var'}'` = yes; then
64905 cat >>confdefs.h <<_ACEOF
64906 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64907 _ACEOF
64908
64909 fi
64910 done
64911
64912 else
64913
64914 echo "$as_me:$LINENO: checking for _isnanl declaration" >&5
64915 echo $ECHO_N "checking for _isnanl declaration... $ECHO_C" >&6
64916 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
64917 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then
64918 echo $ECHO_N "(cached) $ECHO_C" >&6
64919 else
64920
64921
64922
64923 ac_ext=cc
64924 ac_cpp='$CXXCPP $CPPFLAGS'
64925 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64926 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64927 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64928
64929 cat >conftest.$ac_ext <<_ACEOF
64930 /* confdefs.h. */
64931 _ACEOF
64932 cat confdefs.h >>conftest.$ac_ext
64933 cat >>conftest.$ac_ext <<_ACEOF
64934 /* end confdefs.h. */
64935 #include <math.h>
64936 #ifdef HAVE_IEEEFP_H
64937 #include <ieeefp.h>
64938 #endif
64939
64940 int
64941 main ()
64942 {
64943 _isnanl(0);
64944 ;
64945 return 0;
64946 }
64947 _ACEOF
64948 rm -f conftest.$ac_objext
64949 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64950 (eval $ac_compile) 2>conftest.er1
64951 ac_status=$?
64952 grep -v '^ *+' conftest.er1 >conftest.err
64953 rm -f conftest.er1
64954 cat conftest.err >&5
64955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64956 (exit $ac_status); } &&
64957 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
64958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64959 (eval $ac_try) 2>&5
64960 ac_status=$?
64961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64962 (exit $ac_status); }; } &&
64963 { ac_try='test -s conftest.$ac_objext'
64964 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64965 (eval $ac_try) 2>&5
64966 ac_status=$?
64967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64968 (exit $ac_status); }; }; then
64969 glibcxx_cv_func__isnanl_use=yes
64970 else
64971 echo "$as_me: failed program was:" >&5
64972 sed 's/^/| /' conftest.$ac_ext >&5
64973
64974 glibcxx_cv_func__isnanl_use=no
64975 fi
64976 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64977 ac_ext=c
64978 ac_cpp='$CPP $CPPFLAGS'
64979 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64980 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64981 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64982
64983
64984 fi
64985
64986 fi
64987 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanl_use" >&5
64988 echo "${ECHO_T}$glibcxx_cv_func__isnanl_use" >&6
64989
64990 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
64991
64992 for ac_func in _isnanl
64993 do
64994 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64995 echo "$as_me:$LINENO: checking for $ac_func" >&5
64996 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64997 if eval "test \"\${$as_ac_var+set}\" = set"; then
64998 echo $ECHO_N "(cached) $ECHO_C" >&6
64999 else
65000 if test x$gcc_no_link = xyes; then
65001 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65002 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65003 { (exit 1); exit 1; }; }
65004 fi
65005 cat >conftest.$ac_ext <<_ACEOF
65006 /* confdefs.h. */
65007 _ACEOF
65008 cat confdefs.h >>conftest.$ac_ext
65009 cat >>conftest.$ac_ext <<_ACEOF
65010 /* end confdefs.h. */
65011 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65012 For example, HP-UX 11i <limits.h> declares gettimeofday. */
65013 #define $ac_func innocuous_$ac_func
65014
65015 /* System header to define __stub macros and hopefully few prototypes,
65016 which can conflict with char $ac_func (); below.
65017 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65018 <limits.h> exists even on freestanding compilers. */
65019
65020 #ifdef __STDC__
65021 # include <limits.h>
65022 #else
65023 # include <assert.h>
65024 #endif
65025
65026 #undef $ac_func
65027
65028 /* Override any gcc2 internal prototype to avoid an error. */
65029 #ifdef __cplusplus
65030 extern "C"
65031 {
65032 #endif
65033 /* We use char because int might match the return type of a gcc2
65034 builtin and then its argument prototype would still apply. */
65035 char $ac_func ();
65036 /* The GNU C library defines this for functions which it implements
65037 to always fail with ENOSYS. Some functions are actually named
65038 something starting with __ and the normal name is an alias. */
65039 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65040 choke me
65041 #else
65042 char (*f) () = $ac_func;
65043 #endif
65044 #ifdef __cplusplus
65045 }
65046 #endif
65047
65048 int
65049 main ()
65050 {
65051 return f != $ac_func;
65052 ;
65053 return 0;
65054 }
65055 _ACEOF
65056 rm -f conftest.$ac_objext conftest$ac_exeext
65057 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65058 (eval $ac_link) 2>conftest.er1
65059 ac_status=$?
65060 grep -v '^ *+' conftest.er1 >conftest.err
65061 rm -f conftest.er1
65062 cat conftest.err >&5
65063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65064 (exit $ac_status); } &&
65065 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
65066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65067 (eval $ac_try) 2>&5
65068 ac_status=$?
65069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65070 (exit $ac_status); }; } &&
65071 { ac_try='test -s conftest$ac_exeext'
65072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65073 (eval $ac_try) 2>&5
65074 ac_status=$?
65075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65076 (exit $ac_status); }; }; then
65077 eval "$as_ac_var=yes"
65078 else
65079 echo "$as_me: failed program was:" >&5
65080 sed 's/^/| /' conftest.$ac_ext >&5
65081
65082 eval "$as_ac_var=no"
65083 fi
65084 rm -f conftest.err conftest.$ac_objext \
65085 conftest$ac_exeext conftest.$ac_ext
65086 fi
65087 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65088 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65089 if test `eval echo '${'$as_ac_var'}'` = yes; then
65090 cat >>confdefs.h <<_ACEOF
65091 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65092 _ACEOF
65093
65094 fi
65095 done
65096
65097 fi
65098 fi
65099
65100
65101
65102
65103
65104
65105 echo "$as_me:$LINENO: checking for isinfl declaration" >&5
65106 echo $ECHO_N "checking for isinfl declaration... $ECHO_C" >&6
65107 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
65108 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then
65109 echo $ECHO_N "(cached) $ECHO_C" >&6
65110 else
65111
65112
65113
65114 ac_ext=cc
65115 ac_cpp='$CXXCPP $CPPFLAGS'
65116 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65117 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65118 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65119
65120 cat >conftest.$ac_ext <<_ACEOF
65121 /* confdefs.h. */
65122 _ACEOF
65123 cat confdefs.h >>conftest.$ac_ext
65124 cat >>conftest.$ac_ext <<_ACEOF
65125 /* end confdefs.h. */
65126 #include <math.h>
65127 #ifdef HAVE_IEEEFP_H
65128 #include <ieeefp.h>
65129 #endif
65130
65131 int
65132 main ()
65133 {
65134 isinfl(0);
65135 ;
65136 return 0;
65137 }
65138 _ACEOF
65139 rm -f conftest.$ac_objext
65140 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65141 (eval $ac_compile) 2>conftest.er1
65142 ac_status=$?
65143 grep -v '^ *+' conftest.er1 >conftest.err
65144 rm -f conftest.er1
65145 cat conftest.err >&5
65146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65147 (exit $ac_status); } &&
65148 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
65149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65150 (eval $ac_try) 2>&5
65151 ac_status=$?
65152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65153 (exit $ac_status); }; } &&
65154 { ac_try='test -s conftest.$ac_objext'
65155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65156 (eval $ac_try) 2>&5
65157 ac_status=$?
65158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65159 (exit $ac_status); }; }; then
65160 glibcxx_cv_func_isinfl_use=yes
65161 else
65162 echo "$as_me: failed program was:" >&5
65163 sed 's/^/| /' conftest.$ac_ext >&5
65164
65165 glibcxx_cv_func_isinfl_use=no
65166 fi
65167 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65168 ac_ext=c
65169 ac_cpp='$CPP $CPPFLAGS'
65170 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65171 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65172 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65173
65174
65175 fi
65176
65177 fi
65178 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinfl_use" >&5
65179 echo "${ECHO_T}$glibcxx_cv_func_isinfl_use" >&6
65180
65181 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
65182
65183 for ac_func in isinfl
65184 do
65185 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65186 echo "$as_me:$LINENO: checking for $ac_func" >&5
65187 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65188 if eval "test \"\${$as_ac_var+set}\" = set"; then
65189 echo $ECHO_N "(cached) $ECHO_C" >&6
65190 else
65191 if test x$gcc_no_link = xyes; then
65192 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65193 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65194 { (exit 1); exit 1; }; }
65195 fi
65196 cat >conftest.$ac_ext <<_ACEOF
65197 /* confdefs.h. */
65198 _ACEOF
65199 cat confdefs.h >>conftest.$ac_ext
65200 cat >>conftest.$ac_ext <<_ACEOF
65201 /* end confdefs.h. */
65202 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65203 For example, HP-UX 11i <limits.h> declares gettimeofday. */
65204 #define $ac_func innocuous_$ac_func
65205
65206 /* System header to define __stub macros and hopefully few prototypes,
65207 which can conflict with char $ac_func (); below.
65208 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65209 <limits.h> exists even on freestanding compilers. */
65210
65211 #ifdef __STDC__
65212 # include <limits.h>
65213 #else
65214 # include <assert.h>
65215 #endif
65216
65217 #undef $ac_func
65218
65219 /* Override any gcc2 internal prototype to avoid an error. */
65220 #ifdef __cplusplus
65221 extern "C"
65222 {
65223 #endif
65224 /* We use char because int might match the return type of a gcc2
65225 builtin and then its argument prototype would still apply. */
65226 char $ac_func ();
65227 /* The GNU C library defines this for functions which it implements
65228 to always fail with ENOSYS. Some functions are actually named
65229 something starting with __ and the normal name is an alias. */
65230 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65231 choke me
65232 #else
65233 char (*f) () = $ac_func;
65234 #endif
65235 #ifdef __cplusplus
65236 }
65237 #endif
65238
65239 int
65240 main ()
65241 {
65242 return f != $ac_func;
65243 ;
65244 return 0;
65245 }
65246 _ACEOF
65247 rm -f conftest.$ac_objext conftest$ac_exeext
65248 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65249 (eval $ac_link) 2>conftest.er1
65250 ac_status=$?
65251 grep -v '^ *+' conftest.er1 >conftest.err
65252 rm -f conftest.er1
65253 cat conftest.err >&5
65254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65255 (exit $ac_status); } &&
65256 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
65257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65258 (eval $ac_try) 2>&5
65259 ac_status=$?
65260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65261 (exit $ac_status); }; } &&
65262 { ac_try='test -s conftest$ac_exeext'
65263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65264 (eval $ac_try) 2>&5
65265 ac_status=$?
65266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65267 (exit $ac_status); }; }; then
65268 eval "$as_ac_var=yes"
65269 else
65270 echo "$as_me: failed program was:" >&5
65271 sed 's/^/| /' conftest.$ac_ext >&5
65272
65273 eval "$as_ac_var=no"
65274 fi
65275 rm -f conftest.err conftest.$ac_objext \
65276 conftest$ac_exeext conftest.$ac_ext
65277 fi
65278 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65279 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65280 if test `eval echo '${'$as_ac_var'}'` = yes; then
65281 cat >>confdefs.h <<_ACEOF
65282 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65283 _ACEOF
65284
65285 fi
65286 done
65287
65288 else
65289
65290 echo "$as_me:$LINENO: checking for _isinfl declaration" >&5
65291 echo $ECHO_N "checking for _isinfl declaration... $ECHO_C" >&6
65292 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
65293 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then
65294 echo $ECHO_N "(cached) $ECHO_C" >&6
65295 else
65296
65297
65298
65299 ac_ext=cc
65300 ac_cpp='$CXXCPP $CPPFLAGS'
65301 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65302 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65303 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65304
65305 cat >conftest.$ac_ext <<_ACEOF
65306 /* confdefs.h. */
65307 _ACEOF
65308 cat confdefs.h >>conftest.$ac_ext
65309 cat >>conftest.$ac_ext <<_ACEOF
65310 /* end confdefs.h. */
65311 #include <math.h>
65312 #ifdef HAVE_IEEEFP_H
65313 #include <ieeefp.h>
65314 #endif
65315
65316 int
65317 main ()
65318 {
65319 _isinfl(0);
65320 ;
65321 return 0;
65322 }
65323 _ACEOF
65324 rm -f conftest.$ac_objext
65325 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65326 (eval $ac_compile) 2>conftest.er1
65327 ac_status=$?
65328 grep -v '^ *+' conftest.er1 >conftest.err
65329 rm -f conftest.er1
65330 cat conftest.err >&5
65331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65332 (exit $ac_status); } &&
65333 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
65334 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65335 (eval $ac_try) 2>&5
65336 ac_status=$?
65337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65338 (exit $ac_status); }; } &&
65339 { ac_try='test -s conftest.$ac_objext'
65340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65341 (eval $ac_try) 2>&5
65342 ac_status=$?
65343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65344 (exit $ac_status); }; }; then
65345 glibcxx_cv_func__isinfl_use=yes
65346 else
65347 echo "$as_me: failed program was:" >&5
65348 sed 's/^/| /' conftest.$ac_ext >&5
65349
65350 glibcxx_cv_func__isinfl_use=no
65351 fi
65352 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65353 ac_ext=c
65354 ac_cpp='$CPP $CPPFLAGS'
65355 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65356 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65357 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65358
65359
65360 fi
65361
65362 fi
65363 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinfl_use" >&5
65364 echo "${ECHO_T}$glibcxx_cv_func__isinfl_use" >&6
65365
65366 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
65367
65368 for ac_func in _isinfl
65369 do
65370 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65371 echo "$as_me:$LINENO: checking for $ac_func" >&5
65372 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65373 if eval "test \"\${$as_ac_var+set}\" = set"; then
65374 echo $ECHO_N "(cached) $ECHO_C" >&6
65375 else
65376 if test x$gcc_no_link = xyes; then
65377 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65378 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65379 { (exit 1); exit 1; }; }
65380 fi
65381 cat >conftest.$ac_ext <<_ACEOF
65382 /* confdefs.h. */
65383 _ACEOF
65384 cat confdefs.h >>conftest.$ac_ext
65385 cat >>conftest.$ac_ext <<_ACEOF
65386 /* end confdefs.h. */
65387 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65388 For example, HP-UX 11i <limits.h> declares gettimeofday. */
65389 #define $ac_func innocuous_$ac_func
65390
65391 /* System header to define __stub macros and hopefully few prototypes,
65392 which can conflict with char $ac_func (); below.
65393 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65394 <limits.h> exists even on freestanding compilers. */
65395
65396 #ifdef __STDC__
65397 # include <limits.h>
65398 #else
65399 # include <assert.h>
65400 #endif
65401
65402 #undef $ac_func
65403
65404 /* Override any gcc2 internal prototype to avoid an error. */
65405 #ifdef __cplusplus
65406 extern "C"
65407 {
65408 #endif
65409 /* We use char because int might match the return type of a gcc2
65410 builtin and then its argument prototype would still apply. */
65411 char $ac_func ();
65412 /* The GNU C library defines this for functions which it implements
65413 to always fail with ENOSYS. Some functions are actually named
65414 something starting with __ and the normal name is an alias. */
65415 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65416 choke me
65417 #else
65418 char (*f) () = $ac_func;
65419 #endif
65420 #ifdef __cplusplus
65421 }
65422 #endif
65423
65424 int
65425 main ()
65426 {
65427 return f != $ac_func;
65428 ;
65429 return 0;
65430 }
65431 _ACEOF
65432 rm -f conftest.$ac_objext conftest$ac_exeext
65433 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65434 (eval $ac_link) 2>conftest.er1
65435 ac_status=$?
65436 grep -v '^ *+' conftest.er1 >conftest.err
65437 rm -f conftest.er1
65438 cat conftest.err >&5
65439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65440 (exit $ac_status); } &&
65441 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
65442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65443 (eval $ac_try) 2>&5
65444 ac_status=$?
65445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65446 (exit $ac_status); }; } &&
65447 { ac_try='test -s conftest$ac_exeext'
65448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65449 (eval $ac_try) 2>&5
65450 ac_status=$?
65451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65452 (exit $ac_status); }; }; then
65453 eval "$as_ac_var=yes"
65454 else
65455 echo "$as_me: failed program was:" >&5
65456 sed 's/^/| /' conftest.$ac_ext >&5
65457
65458 eval "$as_ac_var=no"
65459 fi
65460 rm -f conftest.err conftest.$ac_objext \
65461 conftest$ac_exeext conftest.$ac_ext
65462 fi
65463 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65464 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65465 if test `eval echo '${'$as_ac_var'}'` = yes; then
65466 cat >>confdefs.h <<_ACEOF
65467 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65468 _ACEOF
65469
65470 fi
65471 done
65472
65473 fi
65474 fi
65475
65476
65477
65478
65479
65480
65481 echo "$as_me:$LINENO: checking for copysignl declaration" >&5
65482 echo $ECHO_N "checking for copysignl declaration... $ECHO_C" >&6
65483 if test x${glibcxx_cv_func_copysignl_use+set} != xset; then
65484 if test "${glibcxx_cv_func_copysignl_use+set}" = set; then
65485 echo $ECHO_N "(cached) $ECHO_C" >&6
65486 else
65487
65488
65489
65490 ac_ext=cc
65491 ac_cpp='$CXXCPP $CPPFLAGS'
65492 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65493 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65494 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65495
65496 cat >conftest.$ac_ext <<_ACEOF
65497 /* confdefs.h. */
65498 _ACEOF
65499 cat confdefs.h >>conftest.$ac_ext
65500 cat >>conftest.$ac_ext <<_ACEOF
65501 /* end confdefs.h. */
65502 #include <math.h>
65503 int
65504 main ()
65505 {
65506 copysignl(0, 0);
65507 ;
65508 return 0;
65509 }
65510 _ACEOF
65511 rm -f conftest.$ac_objext
65512 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65513 (eval $ac_compile) 2>conftest.er1
65514 ac_status=$?
65515 grep -v '^ *+' conftest.er1 >conftest.err
65516 rm -f conftest.er1
65517 cat conftest.err >&5
65518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65519 (exit $ac_status); } &&
65520 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
65521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65522 (eval $ac_try) 2>&5
65523 ac_status=$?
65524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65525 (exit $ac_status); }; } &&
65526 { ac_try='test -s conftest.$ac_objext'
65527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65528 (eval $ac_try) 2>&5
65529 ac_status=$?
65530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65531 (exit $ac_status); }; }; then
65532 glibcxx_cv_func_copysignl_use=yes
65533 else
65534 echo "$as_me: failed program was:" >&5
65535 sed 's/^/| /' conftest.$ac_ext >&5
65536
65537 glibcxx_cv_func_copysignl_use=no
65538 fi
65539 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65540 ac_ext=c
65541 ac_cpp='$CPP $CPPFLAGS'
65542 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65543 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65544 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65545
65546
65547 fi
65548
65549 fi
65550 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysignl_use" >&5
65551 echo "${ECHO_T}$glibcxx_cv_func_copysignl_use" >&6
65552
65553 if test x$glibcxx_cv_func_copysignl_use = x"yes"; then
65554
65555 for ac_func in copysignl
65556 do
65557 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65558 echo "$as_me:$LINENO: checking for $ac_func" >&5
65559 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65560 if eval "test \"\${$as_ac_var+set}\" = set"; then
65561 echo $ECHO_N "(cached) $ECHO_C" >&6
65562 else
65563 if test x$gcc_no_link = xyes; then
65564 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65565 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65566 { (exit 1); exit 1; }; }
65567 fi
65568 cat >conftest.$ac_ext <<_ACEOF
65569 /* confdefs.h. */
65570 _ACEOF
65571 cat confdefs.h >>conftest.$ac_ext
65572 cat >>conftest.$ac_ext <<_ACEOF
65573 /* end confdefs.h. */
65574 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65575 For example, HP-UX 11i <limits.h> declares gettimeofday. */
65576 #define $ac_func innocuous_$ac_func
65577
65578 /* System header to define __stub macros and hopefully few prototypes,
65579 which can conflict with char $ac_func (); below.
65580 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65581 <limits.h> exists even on freestanding compilers. */
65582
65583 #ifdef __STDC__
65584 # include <limits.h>
65585 #else
65586 # include <assert.h>
65587 #endif
65588
65589 #undef $ac_func
65590
65591 /* Override any gcc2 internal prototype to avoid an error. */
65592 #ifdef __cplusplus
65593 extern "C"
65594 {
65595 #endif
65596 /* We use char because int might match the return type of a gcc2
65597 builtin and then its argument prototype would still apply. */
65598 char $ac_func ();
65599 /* The GNU C library defines this for functions which it implements
65600 to always fail with ENOSYS. Some functions are actually named
65601 something starting with __ and the normal name is an alias. */
65602 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65603 choke me
65604 #else
65605 char (*f) () = $ac_func;
65606 #endif
65607 #ifdef __cplusplus
65608 }
65609 #endif
65610
65611 int
65612 main ()
65613 {
65614 return f != $ac_func;
65615 ;
65616 return 0;
65617 }
65618 _ACEOF
65619 rm -f conftest.$ac_objext conftest$ac_exeext
65620 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65621 (eval $ac_link) 2>conftest.er1
65622 ac_status=$?
65623 grep -v '^ *+' conftest.er1 >conftest.err
65624 rm -f conftest.er1
65625 cat conftest.err >&5
65626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65627 (exit $ac_status); } &&
65628 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
65629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65630 (eval $ac_try) 2>&5
65631 ac_status=$?
65632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65633 (exit $ac_status); }; } &&
65634 { ac_try='test -s conftest$ac_exeext'
65635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65636 (eval $ac_try) 2>&5
65637 ac_status=$?
65638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65639 (exit $ac_status); }; }; then
65640 eval "$as_ac_var=yes"
65641 else
65642 echo "$as_me: failed program was:" >&5
65643 sed 's/^/| /' conftest.$ac_ext >&5
65644
65645 eval "$as_ac_var=no"
65646 fi
65647 rm -f conftest.err conftest.$ac_objext \
65648 conftest$ac_exeext conftest.$ac_ext
65649 fi
65650 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65651 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65652 if test `eval echo '${'$as_ac_var'}'` = yes; then
65653 cat >>confdefs.h <<_ACEOF
65654 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65655 _ACEOF
65656
65657 fi
65658 done
65659
65660 else
65661
65662 echo "$as_me:$LINENO: checking for _copysignl declaration" >&5
65663 echo $ECHO_N "checking for _copysignl declaration... $ECHO_C" >&6
65664 if test x${glibcxx_cv_func__copysignl_use+set} != xset; then
65665 if test "${glibcxx_cv_func__copysignl_use+set}" = set; then
65666 echo $ECHO_N "(cached) $ECHO_C" >&6
65667 else
65668
65669
65670
65671 ac_ext=cc
65672 ac_cpp='$CXXCPP $CPPFLAGS'
65673 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65674 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65675 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65676
65677 cat >conftest.$ac_ext <<_ACEOF
65678 /* confdefs.h. */
65679 _ACEOF
65680 cat confdefs.h >>conftest.$ac_ext
65681 cat >>conftest.$ac_ext <<_ACEOF
65682 /* end confdefs.h. */
65683 #include <math.h>
65684 int
65685 main ()
65686 {
65687 _copysignl(0, 0);
65688 ;
65689 return 0;
65690 }
65691 _ACEOF
65692 rm -f conftest.$ac_objext
65693 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65694 (eval $ac_compile) 2>conftest.er1
65695 ac_status=$?
65696 grep -v '^ *+' conftest.er1 >conftest.err
65697 rm -f conftest.er1
65698 cat conftest.err >&5
65699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65700 (exit $ac_status); } &&
65701 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
65702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65703 (eval $ac_try) 2>&5
65704 ac_status=$?
65705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65706 (exit $ac_status); }; } &&
65707 { ac_try='test -s conftest.$ac_objext'
65708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65709 (eval $ac_try) 2>&5
65710 ac_status=$?
65711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65712 (exit $ac_status); }; }; then
65713 glibcxx_cv_func__copysignl_use=yes
65714 else
65715 echo "$as_me: failed program was:" >&5
65716 sed 's/^/| /' conftest.$ac_ext >&5
65717
65718 glibcxx_cv_func__copysignl_use=no
65719 fi
65720 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65721 ac_ext=c
65722 ac_cpp='$CPP $CPPFLAGS'
65723 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65724 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65725 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65726
65727
65728 fi
65729
65730 fi
65731 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysignl_use" >&5
65732 echo "${ECHO_T}$glibcxx_cv_func__copysignl_use" >&6
65733
65734 if test x$glibcxx_cv_func__copysignl_use = x"yes"; then
65735
65736 for ac_func in _copysignl
65737 do
65738 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65739 echo "$as_me:$LINENO: checking for $ac_func" >&5
65740 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65741 if eval "test \"\${$as_ac_var+set}\" = set"; then
65742 echo $ECHO_N "(cached) $ECHO_C" >&6
65743 else
65744 if test x$gcc_no_link = xyes; then
65745 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65746 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65747 { (exit 1); exit 1; }; }
65748 fi
65749 cat >conftest.$ac_ext <<_ACEOF
65750 /* confdefs.h. */
65751 _ACEOF
65752 cat confdefs.h >>conftest.$ac_ext
65753 cat >>conftest.$ac_ext <<_ACEOF
65754 /* end confdefs.h. */
65755 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65756 For example, HP-UX 11i <limits.h> declares gettimeofday. */
65757 #define $ac_func innocuous_$ac_func
65758
65759 /* System header to define __stub macros and hopefully few prototypes,
65760 which can conflict with char $ac_func (); below.
65761 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65762 <limits.h> exists even on freestanding compilers. */
65763
65764 #ifdef __STDC__
65765 # include <limits.h>
65766 #else
65767 # include <assert.h>
65768 #endif
65769
65770 #undef $ac_func
65771
65772 /* Override any gcc2 internal prototype to avoid an error. */
65773 #ifdef __cplusplus
65774 extern "C"
65775 {
65776 #endif
65777 /* We use char because int might match the return type of a gcc2
65778 builtin and then its argument prototype would still apply. */
65779 char $ac_func ();
65780 /* The GNU C library defines this for functions which it implements
65781 to always fail with ENOSYS. Some functions are actually named
65782 something starting with __ and the normal name is an alias. */
65783 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65784 choke me
65785 #else
65786 char (*f) () = $ac_func;
65787 #endif
65788 #ifdef __cplusplus
65789 }
65790 #endif
65791
65792 int
65793 main ()
65794 {
65795 return f != $ac_func;
65796 ;
65797 return 0;
65798 }
65799 _ACEOF
65800 rm -f conftest.$ac_objext conftest$ac_exeext
65801 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65802 (eval $ac_link) 2>conftest.er1
65803 ac_status=$?
65804 grep -v '^ *+' conftest.er1 >conftest.err
65805 rm -f conftest.er1
65806 cat conftest.err >&5
65807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65808 (exit $ac_status); } &&
65809 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
65810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65811 (eval $ac_try) 2>&5
65812 ac_status=$?
65813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65814 (exit $ac_status); }; } &&
65815 { ac_try='test -s conftest$ac_exeext'
65816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65817 (eval $ac_try) 2>&5
65818 ac_status=$?
65819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65820 (exit $ac_status); }; }; then
65821 eval "$as_ac_var=yes"
65822 else
65823 echo "$as_me: failed program was:" >&5
65824 sed 's/^/| /' conftest.$ac_ext >&5
65825
65826 eval "$as_ac_var=no"
65827 fi
65828 rm -f conftest.err conftest.$ac_objext \
65829 conftest$ac_exeext conftest.$ac_ext
65830 fi
65831 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65832 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65833 if test `eval echo '${'$as_ac_var'}'` = yes; then
65834 cat >>confdefs.h <<_ACEOF
65835 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65836 _ACEOF
65837
65838 fi
65839 done
65840
65841 fi
65842 fi
65843
65844
65845
65846
65847
65848
65849 echo "$as_me:$LINENO: checking for atan2l declaration" >&5
65850 echo $ECHO_N "checking for atan2l declaration... $ECHO_C" >&6
65851 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
65852 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then
65853 echo $ECHO_N "(cached) $ECHO_C" >&6
65854 else
65855
65856
65857
65858 ac_ext=cc
65859 ac_cpp='$CXXCPP $CPPFLAGS'
65860 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65861 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65862 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65863
65864 cat >conftest.$ac_ext <<_ACEOF
65865 /* confdefs.h. */
65866 _ACEOF
65867 cat confdefs.h >>conftest.$ac_ext
65868 cat >>conftest.$ac_ext <<_ACEOF
65869 /* end confdefs.h. */
65870 #include <math.h>
65871 int
65872 main ()
65873 {
65874 atan2l(0, 0);
65875 ;
65876 return 0;
65877 }
65878 _ACEOF
65879 rm -f conftest.$ac_objext
65880 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65881 (eval $ac_compile) 2>conftest.er1
65882 ac_status=$?
65883 grep -v '^ *+' conftest.er1 >conftest.err
65884 rm -f conftest.er1
65885 cat conftest.err >&5
65886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65887 (exit $ac_status); } &&
65888 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
65889 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65890 (eval $ac_try) 2>&5
65891 ac_status=$?
65892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65893 (exit $ac_status); }; } &&
65894 { ac_try='test -s conftest.$ac_objext'
65895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65896 (eval $ac_try) 2>&5
65897 ac_status=$?
65898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65899 (exit $ac_status); }; }; then
65900 glibcxx_cv_func_atan2l_use=yes
65901 else
65902 echo "$as_me: failed program was:" >&5
65903 sed 's/^/| /' conftest.$ac_ext >&5
65904
65905 glibcxx_cv_func_atan2l_use=no
65906 fi
65907 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65908 ac_ext=c
65909 ac_cpp='$CPP $CPPFLAGS'
65910 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65911 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65912 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65913
65914
65915 fi
65916
65917 fi
65918 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2l_use" >&5
65919 echo "${ECHO_T}$glibcxx_cv_func_atan2l_use" >&6
65920
65921 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
65922
65923 for ac_func in atan2l
65924 do
65925 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65926 echo "$as_me:$LINENO: checking for $ac_func" >&5
65927 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65928 if eval "test \"\${$as_ac_var+set}\" = set"; then
65929 echo $ECHO_N "(cached) $ECHO_C" >&6
65930 else
65931 if test x$gcc_no_link = xyes; then
65932 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65933 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65934 { (exit 1); exit 1; }; }
65935 fi
65936 cat >conftest.$ac_ext <<_ACEOF
65937 /* confdefs.h. */
65938 _ACEOF
65939 cat confdefs.h >>conftest.$ac_ext
65940 cat >>conftest.$ac_ext <<_ACEOF
65941 /* end confdefs.h. */
65942 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65943 For example, HP-UX 11i <limits.h> declares gettimeofday. */
65944 #define $ac_func innocuous_$ac_func
65945
65946 /* System header to define __stub macros and hopefully few prototypes,
65947 which can conflict with char $ac_func (); below.
65948 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65949 <limits.h> exists even on freestanding compilers. */
65950
65951 #ifdef __STDC__
65952 # include <limits.h>
65953 #else
65954 # include <assert.h>
65955 #endif
65956
65957 #undef $ac_func
65958
65959 /* Override any gcc2 internal prototype to avoid an error. */
65960 #ifdef __cplusplus
65961 extern "C"
65962 {
65963 #endif
65964 /* We use char because int might match the return type of a gcc2
65965 builtin and then its argument prototype would still apply. */
65966 char $ac_func ();
65967 /* The GNU C library defines this for functions which it implements
65968 to always fail with ENOSYS. Some functions are actually named
65969 something starting with __ and the normal name is an alias. */
65970 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65971 choke me
65972 #else
65973 char (*f) () = $ac_func;
65974 #endif
65975 #ifdef __cplusplus
65976 }
65977 #endif
65978
65979 int
65980 main ()
65981 {
65982 return f != $ac_func;
65983 ;
65984 return 0;
65985 }
65986 _ACEOF
65987 rm -f conftest.$ac_objext conftest$ac_exeext
65988 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65989 (eval $ac_link) 2>conftest.er1
65990 ac_status=$?
65991 grep -v '^ *+' conftest.er1 >conftest.err
65992 rm -f conftest.er1
65993 cat conftest.err >&5
65994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65995 (exit $ac_status); } &&
65996 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
65997 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65998 (eval $ac_try) 2>&5
65999 ac_status=$?
66000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66001 (exit $ac_status); }; } &&
66002 { ac_try='test -s conftest$ac_exeext'
66003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66004 (eval $ac_try) 2>&5
66005 ac_status=$?
66006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66007 (exit $ac_status); }; }; then
66008 eval "$as_ac_var=yes"
66009 else
66010 echo "$as_me: failed program was:" >&5
66011 sed 's/^/| /' conftest.$ac_ext >&5
66012
66013 eval "$as_ac_var=no"
66014 fi
66015 rm -f conftest.err conftest.$ac_objext \
66016 conftest$ac_exeext conftest.$ac_ext
66017 fi
66018 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66019 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66020 if test `eval echo '${'$as_ac_var'}'` = yes; then
66021 cat >>confdefs.h <<_ACEOF
66022 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66023 _ACEOF
66024
66025 fi
66026 done
66027
66028 else
66029
66030 echo "$as_me:$LINENO: checking for _atan2l declaration" >&5
66031 echo $ECHO_N "checking for _atan2l declaration... $ECHO_C" >&6
66032 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
66033 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then
66034 echo $ECHO_N "(cached) $ECHO_C" >&6
66035 else
66036
66037
66038
66039 ac_ext=cc
66040 ac_cpp='$CXXCPP $CPPFLAGS'
66041 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66042 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66043 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66044
66045 cat >conftest.$ac_ext <<_ACEOF
66046 /* confdefs.h. */
66047 _ACEOF
66048 cat confdefs.h >>conftest.$ac_ext
66049 cat >>conftest.$ac_ext <<_ACEOF
66050 /* end confdefs.h. */
66051 #include <math.h>
66052 int
66053 main ()
66054 {
66055 _atan2l(0, 0);
66056 ;
66057 return 0;
66058 }
66059 _ACEOF
66060 rm -f conftest.$ac_objext
66061 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66062 (eval $ac_compile) 2>conftest.er1
66063 ac_status=$?
66064 grep -v '^ *+' conftest.er1 >conftest.err
66065 rm -f conftest.er1
66066 cat conftest.err >&5
66067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66068 (exit $ac_status); } &&
66069 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
66070 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66071 (eval $ac_try) 2>&5
66072 ac_status=$?
66073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66074 (exit $ac_status); }; } &&
66075 { ac_try='test -s conftest.$ac_objext'
66076 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66077 (eval $ac_try) 2>&5
66078 ac_status=$?
66079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66080 (exit $ac_status); }; }; then
66081 glibcxx_cv_func__atan2l_use=yes
66082 else
66083 echo "$as_me: failed program was:" >&5
66084 sed 's/^/| /' conftest.$ac_ext >&5
66085
66086 glibcxx_cv_func__atan2l_use=no
66087 fi
66088 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66089 ac_ext=c
66090 ac_cpp='$CPP $CPPFLAGS'
66091 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66092 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66093 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66094
66095
66096 fi
66097
66098 fi
66099 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2l_use" >&5
66100 echo "${ECHO_T}$glibcxx_cv_func__atan2l_use" >&6
66101
66102 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
66103
66104 for ac_func in _atan2l
66105 do
66106 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66107 echo "$as_me:$LINENO: checking for $ac_func" >&5
66108 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66109 if eval "test \"\${$as_ac_var+set}\" = set"; then
66110 echo $ECHO_N "(cached) $ECHO_C" >&6
66111 else
66112 if test x$gcc_no_link = xyes; then
66113 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66114 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66115 { (exit 1); exit 1; }; }
66116 fi
66117 cat >conftest.$ac_ext <<_ACEOF
66118 /* confdefs.h. */
66119 _ACEOF
66120 cat confdefs.h >>conftest.$ac_ext
66121 cat >>conftest.$ac_ext <<_ACEOF
66122 /* end confdefs.h. */
66123 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66124 For example, HP-UX 11i <limits.h> declares gettimeofday. */
66125 #define $ac_func innocuous_$ac_func
66126
66127 /* System header to define __stub macros and hopefully few prototypes,
66128 which can conflict with char $ac_func (); below.
66129 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66130 <limits.h> exists even on freestanding compilers. */
66131
66132 #ifdef __STDC__
66133 # include <limits.h>
66134 #else
66135 # include <assert.h>
66136 #endif
66137
66138 #undef $ac_func
66139
66140 /* Override any gcc2 internal prototype to avoid an error. */
66141 #ifdef __cplusplus
66142 extern "C"
66143 {
66144 #endif
66145 /* We use char because int might match the return type of a gcc2
66146 builtin and then its argument prototype would still apply. */
66147 char $ac_func ();
66148 /* The GNU C library defines this for functions which it implements
66149 to always fail with ENOSYS. Some functions are actually named
66150 something starting with __ and the normal name is an alias. */
66151 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66152 choke me
66153 #else
66154 char (*f) () = $ac_func;
66155 #endif
66156 #ifdef __cplusplus
66157 }
66158 #endif
66159
66160 int
66161 main ()
66162 {
66163 return f != $ac_func;
66164 ;
66165 return 0;
66166 }
66167 _ACEOF
66168 rm -f conftest.$ac_objext conftest$ac_exeext
66169 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66170 (eval $ac_link) 2>conftest.er1
66171 ac_status=$?
66172 grep -v '^ *+' conftest.er1 >conftest.err
66173 rm -f conftest.er1
66174 cat conftest.err >&5
66175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66176 (exit $ac_status); } &&
66177 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
66178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66179 (eval $ac_try) 2>&5
66180 ac_status=$?
66181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66182 (exit $ac_status); }; } &&
66183 { ac_try='test -s conftest$ac_exeext'
66184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66185 (eval $ac_try) 2>&5
66186 ac_status=$?
66187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66188 (exit $ac_status); }; }; then
66189 eval "$as_ac_var=yes"
66190 else
66191 echo "$as_me: failed program was:" >&5
66192 sed 's/^/| /' conftest.$ac_ext >&5
66193
66194 eval "$as_ac_var=no"
66195 fi
66196 rm -f conftest.err conftest.$ac_objext \
66197 conftest$ac_exeext conftest.$ac_ext
66198 fi
66199 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66200 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66201 if test `eval echo '${'$as_ac_var'}'` = yes; then
66202 cat >>confdefs.h <<_ACEOF
66203 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66204 _ACEOF
66205
66206 fi
66207 done
66208
66209 fi
66210 fi
66211
66212
66213
66214
66215
66216
66217 echo "$as_me:$LINENO: checking for expl declaration" >&5
66218 echo $ECHO_N "checking for expl declaration... $ECHO_C" >&6
66219 if test x${glibcxx_cv_func_expl_use+set} != xset; then
66220 if test "${glibcxx_cv_func_expl_use+set}" = set; then
66221 echo $ECHO_N "(cached) $ECHO_C" >&6
66222 else
66223
66224
66225
66226 ac_ext=cc
66227 ac_cpp='$CXXCPP $CPPFLAGS'
66228 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66229 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66230 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66231
66232 cat >conftest.$ac_ext <<_ACEOF
66233 /* confdefs.h. */
66234 _ACEOF
66235 cat confdefs.h >>conftest.$ac_ext
66236 cat >>conftest.$ac_ext <<_ACEOF
66237 /* end confdefs.h. */
66238 #include <math.h>
66239 #ifdef HAVE_IEEEFP_H
66240 #include <ieeefp.h>
66241 #endif
66242
66243 int
66244 main ()
66245 {
66246 expl(0);
66247 ;
66248 return 0;
66249 }
66250 _ACEOF
66251 rm -f conftest.$ac_objext
66252 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66253 (eval $ac_compile) 2>conftest.er1
66254 ac_status=$?
66255 grep -v '^ *+' conftest.er1 >conftest.err
66256 rm -f conftest.er1
66257 cat conftest.err >&5
66258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66259 (exit $ac_status); } &&
66260 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
66261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66262 (eval $ac_try) 2>&5
66263 ac_status=$?
66264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66265 (exit $ac_status); }; } &&
66266 { ac_try='test -s conftest.$ac_objext'
66267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66268 (eval $ac_try) 2>&5
66269 ac_status=$?
66270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66271 (exit $ac_status); }; }; then
66272 glibcxx_cv_func_expl_use=yes
66273 else
66274 echo "$as_me: failed program was:" >&5
66275 sed 's/^/| /' conftest.$ac_ext >&5
66276
66277 glibcxx_cv_func_expl_use=no
66278 fi
66279 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66280 ac_ext=c
66281 ac_cpp='$CPP $CPPFLAGS'
66282 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66283 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66284 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66285
66286
66287 fi
66288
66289 fi
66290 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expl_use" >&5
66291 echo "${ECHO_T}$glibcxx_cv_func_expl_use" >&6
66292
66293 if test x$glibcxx_cv_func_expl_use = x"yes"; then
66294
66295 for ac_func in expl
66296 do
66297 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66298 echo "$as_me:$LINENO: checking for $ac_func" >&5
66299 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66300 if eval "test \"\${$as_ac_var+set}\" = set"; then
66301 echo $ECHO_N "(cached) $ECHO_C" >&6
66302 else
66303 if test x$gcc_no_link = xyes; then
66304 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66305 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66306 { (exit 1); exit 1; }; }
66307 fi
66308 cat >conftest.$ac_ext <<_ACEOF
66309 /* confdefs.h. */
66310 _ACEOF
66311 cat confdefs.h >>conftest.$ac_ext
66312 cat >>conftest.$ac_ext <<_ACEOF
66313 /* end confdefs.h. */
66314 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66315 For example, HP-UX 11i <limits.h> declares gettimeofday. */
66316 #define $ac_func innocuous_$ac_func
66317
66318 /* System header to define __stub macros and hopefully few prototypes,
66319 which can conflict with char $ac_func (); below.
66320 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66321 <limits.h> exists even on freestanding compilers. */
66322
66323 #ifdef __STDC__
66324 # include <limits.h>
66325 #else
66326 # include <assert.h>
66327 #endif
66328
66329 #undef $ac_func
66330
66331 /* Override any gcc2 internal prototype to avoid an error. */
66332 #ifdef __cplusplus
66333 extern "C"
66334 {
66335 #endif
66336 /* We use char because int might match the return type of a gcc2
66337 builtin and then its argument prototype would still apply. */
66338 char $ac_func ();
66339 /* The GNU C library defines this for functions which it implements
66340 to always fail with ENOSYS. Some functions are actually named
66341 something starting with __ and the normal name is an alias. */
66342 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66343 choke me
66344 #else
66345 char (*f) () = $ac_func;
66346 #endif
66347 #ifdef __cplusplus
66348 }
66349 #endif
66350
66351 int
66352 main ()
66353 {
66354 return f != $ac_func;
66355 ;
66356 return 0;
66357 }
66358 _ACEOF
66359 rm -f conftest.$ac_objext conftest$ac_exeext
66360 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66361 (eval $ac_link) 2>conftest.er1
66362 ac_status=$?
66363 grep -v '^ *+' conftest.er1 >conftest.err
66364 rm -f conftest.er1
66365 cat conftest.err >&5
66366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66367 (exit $ac_status); } &&
66368 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
66369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66370 (eval $ac_try) 2>&5
66371 ac_status=$?
66372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66373 (exit $ac_status); }; } &&
66374 { ac_try='test -s conftest$ac_exeext'
66375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66376 (eval $ac_try) 2>&5
66377 ac_status=$?
66378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66379 (exit $ac_status); }; }; then
66380 eval "$as_ac_var=yes"
66381 else
66382 echo "$as_me: failed program was:" >&5
66383 sed 's/^/| /' conftest.$ac_ext >&5
66384
66385 eval "$as_ac_var=no"
66386 fi
66387 rm -f conftest.err conftest.$ac_objext \
66388 conftest$ac_exeext conftest.$ac_ext
66389 fi
66390 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66391 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66392 if test `eval echo '${'$as_ac_var'}'` = yes; then
66393 cat >>confdefs.h <<_ACEOF
66394 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66395 _ACEOF
66396
66397 fi
66398 done
66399
66400 else
66401
66402 echo "$as_me:$LINENO: checking for _expl declaration" >&5
66403 echo $ECHO_N "checking for _expl declaration... $ECHO_C" >&6
66404 if test x${glibcxx_cv_func__expl_use+set} != xset; then
66405 if test "${glibcxx_cv_func__expl_use+set}" = set; then
66406 echo $ECHO_N "(cached) $ECHO_C" >&6
66407 else
66408
66409
66410
66411 ac_ext=cc
66412 ac_cpp='$CXXCPP $CPPFLAGS'
66413 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66414 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66415 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66416
66417 cat >conftest.$ac_ext <<_ACEOF
66418 /* confdefs.h. */
66419 _ACEOF
66420 cat confdefs.h >>conftest.$ac_ext
66421 cat >>conftest.$ac_ext <<_ACEOF
66422 /* end confdefs.h. */
66423 #include <math.h>
66424 #ifdef HAVE_IEEEFP_H
66425 #include <ieeefp.h>
66426 #endif
66427
66428 int
66429 main ()
66430 {
66431 _expl(0);
66432 ;
66433 return 0;
66434 }
66435 _ACEOF
66436 rm -f conftest.$ac_objext
66437 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66438 (eval $ac_compile) 2>conftest.er1
66439 ac_status=$?
66440 grep -v '^ *+' conftest.er1 >conftest.err
66441 rm -f conftest.er1
66442 cat conftest.err >&5
66443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66444 (exit $ac_status); } &&
66445 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
66446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66447 (eval $ac_try) 2>&5
66448 ac_status=$?
66449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66450 (exit $ac_status); }; } &&
66451 { ac_try='test -s conftest.$ac_objext'
66452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66453 (eval $ac_try) 2>&5
66454 ac_status=$?
66455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66456 (exit $ac_status); }; }; then
66457 glibcxx_cv_func__expl_use=yes
66458 else
66459 echo "$as_me: failed program was:" >&5
66460 sed 's/^/| /' conftest.$ac_ext >&5
66461
66462 glibcxx_cv_func__expl_use=no
66463 fi
66464 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66465 ac_ext=c
66466 ac_cpp='$CPP $CPPFLAGS'
66467 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66468 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66469 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66470
66471
66472 fi
66473
66474 fi
66475 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expl_use" >&5
66476 echo "${ECHO_T}$glibcxx_cv_func__expl_use" >&6
66477
66478 if test x$glibcxx_cv_func__expl_use = x"yes"; then
66479
66480 for ac_func in _expl
66481 do
66482 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66483 echo "$as_me:$LINENO: checking for $ac_func" >&5
66484 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66485 if eval "test \"\${$as_ac_var+set}\" = set"; then
66486 echo $ECHO_N "(cached) $ECHO_C" >&6
66487 else
66488 if test x$gcc_no_link = xyes; then
66489 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66490 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66491 { (exit 1); exit 1; }; }
66492 fi
66493 cat >conftest.$ac_ext <<_ACEOF
66494 /* confdefs.h. */
66495 _ACEOF
66496 cat confdefs.h >>conftest.$ac_ext
66497 cat >>conftest.$ac_ext <<_ACEOF
66498 /* end confdefs.h. */
66499 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66500 For example, HP-UX 11i <limits.h> declares gettimeofday. */
66501 #define $ac_func innocuous_$ac_func
66502
66503 /* System header to define __stub macros and hopefully few prototypes,
66504 which can conflict with char $ac_func (); below.
66505 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66506 <limits.h> exists even on freestanding compilers. */
66507
66508 #ifdef __STDC__
66509 # include <limits.h>
66510 #else
66511 # include <assert.h>
66512 #endif
66513
66514 #undef $ac_func
66515
66516 /* Override any gcc2 internal prototype to avoid an error. */
66517 #ifdef __cplusplus
66518 extern "C"
66519 {
66520 #endif
66521 /* We use char because int might match the return type of a gcc2
66522 builtin and then its argument prototype would still apply. */
66523 char $ac_func ();
66524 /* The GNU C library defines this for functions which it implements
66525 to always fail with ENOSYS. Some functions are actually named
66526 something starting with __ and the normal name is an alias. */
66527 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66528 choke me
66529 #else
66530 char (*f) () = $ac_func;
66531 #endif
66532 #ifdef __cplusplus
66533 }
66534 #endif
66535
66536 int
66537 main ()
66538 {
66539 return f != $ac_func;
66540 ;
66541 return 0;
66542 }
66543 _ACEOF
66544 rm -f conftest.$ac_objext conftest$ac_exeext
66545 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66546 (eval $ac_link) 2>conftest.er1
66547 ac_status=$?
66548 grep -v '^ *+' conftest.er1 >conftest.err
66549 rm -f conftest.er1
66550 cat conftest.err >&5
66551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66552 (exit $ac_status); } &&
66553 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
66554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66555 (eval $ac_try) 2>&5
66556 ac_status=$?
66557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66558 (exit $ac_status); }; } &&
66559 { ac_try='test -s conftest$ac_exeext'
66560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66561 (eval $ac_try) 2>&5
66562 ac_status=$?
66563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66564 (exit $ac_status); }; }; then
66565 eval "$as_ac_var=yes"
66566 else
66567 echo "$as_me: failed program was:" >&5
66568 sed 's/^/| /' conftest.$ac_ext >&5
66569
66570 eval "$as_ac_var=no"
66571 fi
66572 rm -f conftest.err conftest.$ac_objext \
66573 conftest$ac_exeext conftest.$ac_ext
66574 fi
66575 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66576 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66577 if test `eval echo '${'$as_ac_var'}'` = yes; then
66578 cat >>confdefs.h <<_ACEOF
66579 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66580 _ACEOF
66581
66582 fi
66583 done
66584
66585 fi
66586 fi
66587
66588
66589
66590
66591
66592
66593 echo "$as_me:$LINENO: checking for fabsl declaration" >&5
66594 echo $ECHO_N "checking for fabsl declaration... $ECHO_C" >&6
66595 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
66596 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then
66597 echo $ECHO_N "(cached) $ECHO_C" >&6
66598 else
66599
66600
66601
66602 ac_ext=cc
66603 ac_cpp='$CXXCPP $CPPFLAGS'
66604 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66605 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66606 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66607
66608 cat >conftest.$ac_ext <<_ACEOF
66609 /* confdefs.h. */
66610 _ACEOF
66611 cat confdefs.h >>conftest.$ac_ext
66612 cat >>conftest.$ac_ext <<_ACEOF
66613 /* end confdefs.h. */
66614 #include <math.h>
66615 #ifdef HAVE_IEEEFP_H
66616 #include <ieeefp.h>
66617 #endif
66618
66619 int
66620 main ()
66621 {
66622 fabsl(0);
66623 ;
66624 return 0;
66625 }
66626 _ACEOF
66627 rm -f conftest.$ac_objext
66628 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66629 (eval $ac_compile) 2>conftest.er1
66630 ac_status=$?
66631 grep -v '^ *+' conftest.er1 >conftest.err
66632 rm -f conftest.er1
66633 cat conftest.err >&5
66634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66635 (exit $ac_status); } &&
66636 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
66637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66638 (eval $ac_try) 2>&5
66639 ac_status=$?
66640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66641 (exit $ac_status); }; } &&
66642 { ac_try='test -s conftest.$ac_objext'
66643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66644 (eval $ac_try) 2>&5
66645 ac_status=$?
66646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66647 (exit $ac_status); }; }; then
66648 glibcxx_cv_func_fabsl_use=yes
66649 else
66650 echo "$as_me: failed program was:" >&5
66651 sed 's/^/| /' conftest.$ac_ext >&5
66652
66653 glibcxx_cv_func_fabsl_use=no
66654 fi
66655 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66656 ac_ext=c
66657 ac_cpp='$CPP $CPPFLAGS'
66658 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66659 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66660 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66661
66662
66663 fi
66664
66665 fi
66666 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsl_use" >&5
66667 echo "${ECHO_T}$glibcxx_cv_func_fabsl_use" >&6
66668
66669 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
66670
66671 for ac_func in fabsl
66672 do
66673 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66674 echo "$as_me:$LINENO: checking for $ac_func" >&5
66675 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66676 if eval "test \"\${$as_ac_var+set}\" = set"; then
66677 echo $ECHO_N "(cached) $ECHO_C" >&6
66678 else
66679 if test x$gcc_no_link = xyes; then
66680 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66681 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66682 { (exit 1); exit 1; }; }
66683 fi
66684 cat >conftest.$ac_ext <<_ACEOF
66685 /* confdefs.h. */
66686 _ACEOF
66687 cat confdefs.h >>conftest.$ac_ext
66688 cat >>conftest.$ac_ext <<_ACEOF
66689 /* end confdefs.h. */
66690 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66691 For example, HP-UX 11i <limits.h> declares gettimeofday. */
66692 #define $ac_func innocuous_$ac_func
66693
66694 /* System header to define __stub macros and hopefully few prototypes,
66695 which can conflict with char $ac_func (); below.
66696 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66697 <limits.h> exists even on freestanding compilers. */
66698
66699 #ifdef __STDC__
66700 # include <limits.h>
66701 #else
66702 # include <assert.h>
66703 #endif
66704
66705 #undef $ac_func
66706
66707 /* Override any gcc2 internal prototype to avoid an error. */
66708 #ifdef __cplusplus
66709 extern "C"
66710 {
66711 #endif
66712 /* We use char because int might match the return type of a gcc2
66713 builtin and then its argument prototype would still apply. */
66714 char $ac_func ();
66715 /* The GNU C library defines this for functions which it implements
66716 to always fail with ENOSYS. Some functions are actually named
66717 something starting with __ and the normal name is an alias. */
66718 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66719 choke me
66720 #else
66721 char (*f) () = $ac_func;
66722 #endif
66723 #ifdef __cplusplus
66724 }
66725 #endif
66726
66727 int
66728 main ()
66729 {
66730 return f != $ac_func;
66731 ;
66732 return 0;
66733 }
66734 _ACEOF
66735 rm -f conftest.$ac_objext conftest$ac_exeext
66736 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66737 (eval $ac_link) 2>conftest.er1
66738 ac_status=$?
66739 grep -v '^ *+' conftest.er1 >conftest.err
66740 rm -f conftest.er1
66741 cat conftest.err >&5
66742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66743 (exit $ac_status); } &&
66744 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
66745 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66746 (eval $ac_try) 2>&5
66747 ac_status=$?
66748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66749 (exit $ac_status); }; } &&
66750 { ac_try='test -s conftest$ac_exeext'
66751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66752 (eval $ac_try) 2>&5
66753 ac_status=$?
66754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66755 (exit $ac_status); }; }; then
66756 eval "$as_ac_var=yes"
66757 else
66758 echo "$as_me: failed program was:" >&5
66759 sed 's/^/| /' conftest.$ac_ext >&5
66760
66761 eval "$as_ac_var=no"
66762 fi
66763 rm -f conftest.err conftest.$ac_objext \
66764 conftest$ac_exeext conftest.$ac_ext
66765 fi
66766 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66767 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66768 if test `eval echo '${'$as_ac_var'}'` = yes; then
66769 cat >>confdefs.h <<_ACEOF
66770 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66771 _ACEOF
66772
66773 fi
66774 done
66775
66776 else
66777
66778 echo "$as_me:$LINENO: checking for _fabsl declaration" >&5
66779 echo $ECHO_N "checking for _fabsl declaration... $ECHO_C" >&6
66780 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
66781 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then
66782 echo $ECHO_N "(cached) $ECHO_C" >&6
66783 else
66784
66785
66786
66787 ac_ext=cc
66788 ac_cpp='$CXXCPP $CPPFLAGS'
66789 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66790 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66791 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66792
66793 cat >conftest.$ac_ext <<_ACEOF
66794 /* confdefs.h. */
66795 _ACEOF
66796 cat confdefs.h >>conftest.$ac_ext
66797 cat >>conftest.$ac_ext <<_ACEOF
66798 /* end confdefs.h. */
66799 #include <math.h>
66800 #ifdef HAVE_IEEEFP_H
66801 #include <ieeefp.h>
66802 #endif
66803
66804 int
66805 main ()
66806 {
66807 _fabsl(0);
66808 ;
66809 return 0;
66810 }
66811 _ACEOF
66812 rm -f conftest.$ac_objext
66813 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66814 (eval $ac_compile) 2>conftest.er1
66815 ac_status=$?
66816 grep -v '^ *+' conftest.er1 >conftest.err
66817 rm -f conftest.er1
66818 cat conftest.err >&5
66819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66820 (exit $ac_status); } &&
66821 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
66822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66823 (eval $ac_try) 2>&5
66824 ac_status=$?
66825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66826 (exit $ac_status); }; } &&
66827 { ac_try='test -s conftest.$ac_objext'
66828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66829 (eval $ac_try) 2>&5
66830 ac_status=$?
66831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66832 (exit $ac_status); }; }; then
66833 glibcxx_cv_func__fabsl_use=yes
66834 else
66835 echo "$as_me: failed program was:" >&5
66836 sed 's/^/| /' conftest.$ac_ext >&5
66837
66838 glibcxx_cv_func__fabsl_use=no
66839 fi
66840 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66841 ac_ext=c
66842 ac_cpp='$CPP $CPPFLAGS'
66843 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66844 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66845 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66846
66847
66848 fi
66849
66850 fi
66851 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsl_use" >&5
66852 echo "${ECHO_T}$glibcxx_cv_func__fabsl_use" >&6
66853
66854 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
66855
66856 for ac_func in _fabsl
66857 do
66858 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66859 echo "$as_me:$LINENO: checking for $ac_func" >&5
66860 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66861 if eval "test \"\${$as_ac_var+set}\" = set"; then
66862 echo $ECHO_N "(cached) $ECHO_C" >&6
66863 else
66864 if test x$gcc_no_link = xyes; then
66865 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66866 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66867 { (exit 1); exit 1; }; }
66868 fi
66869 cat >conftest.$ac_ext <<_ACEOF
66870 /* confdefs.h. */
66871 _ACEOF
66872 cat confdefs.h >>conftest.$ac_ext
66873 cat >>conftest.$ac_ext <<_ACEOF
66874 /* end confdefs.h. */
66875 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66876 For example, HP-UX 11i <limits.h> declares gettimeofday. */
66877 #define $ac_func innocuous_$ac_func
66878
66879 /* System header to define __stub macros and hopefully few prototypes,
66880 which can conflict with char $ac_func (); below.
66881 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66882 <limits.h> exists even on freestanding compilers. */
66883
66884 #ifdef __STDC__
66885 # include <limits.h>
66886 #else
66887 # include <assert.h>
66888 #endif
66889
66890 #undef $ac_func
66891
66892 /* Override any gcc2 internal prototype to avoid an error. */
66893 #ifdef __cplusplus
66894 extern "C"
66895 {
66896 #endif
66897 /* We use char because int might match the return type of a gcc2
66898 builtin and then its argument prototype would still apply. */
66899 char $ac_func ();
66900 /* The GNU C library defines this for functions which it implements
66901 to always fail with ENOSYS. Some functions are actually named
66902 something starting with __ and the normal name is an alias. */
66903 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66904 choke me
66905 #else
66906 char (*f) () = $ac_func;
66907 #endif
66908 #ifdef __cplusplus
66909 }
66910 #endif
66911
66912 int
66913 main ()
66914 {
66915 return f != $ac_func;
66916 ;
66917 return 0;
66918 }
66919 _ACEOF
66920 rm -f conftest.$ac_objext conftest$ac_exeext
66921 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66922 (eval $ac_link) 2>conftest.er1
66923 ac_status=$?
66924 grep -v '^ *+' conftest.er1 >conftest.err
66925 rm -f conftest.er1
66926 cat conftest.err >&5
66927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66928 (exit $ac_status); } &&
66929 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
66930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66931 (eval $ac_try) 2>&5
66932 ac_status=$?
66933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66934 (exit $ac_status); }; } &&
66935 { ac_try='test -s conftest$ac_exeext'
66936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66937 (eval $ac_try) 2>&5
66938 ac_status=$?
66939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66940 (exit $ac_status); }; }; then
66941 eval "$as_ac_var=yes"
66942 else
66943 echo "$as_me: failed program was:" >&5
66944 sed 's/^/| /' conftest.$ac_ext >&5
66945
66946 eval "$as_ac_var=no"
66947 fi
66948 rm -f conftest.err conftest.$ac_objext \
66949 conftest$ac_exeext conftest.$ac_ext
66950 fi
66951 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66952 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66953 if test `eval echo '${'$as_ac_var'}'` = yes; then
66954 cat >>confdefs.h <<_ACEOF
66955 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66956 _ACEOF
66957
66958 fi
66959 done
66960
66961 fi
66962 fi
66963
66964
66965
66966
66967
66968
66969 echo "$as_me:$LINENO: checking for fmodl declaration" >&5
66970 echo $ECHO_N "checking for fmodl declaration... $ECHO_C" >&6
66971 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
66972 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then
66973 echo $ECHO_N "(cached) $ECHO_C" >&6
66974 else
66975
66976
66977
66978 ac_ext=cc
66979 ac_cpp='$CXXCPP $CPPFLAGS'
66980 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66981 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66982 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66983
66984 cat >conftest.$ac_ext <<_ACEOF
66985 /* confdefs.h. */
66986 _ACEOF
66987 cat confdefs.h >>conftest.$ac_ext
66988 cat >>conftest.$ac_ext <<_ACEOF
66989 /* end confdefs.h. */
66990 #include <math.h>
66991 int
66992 main ()
66993 {
66994 fmodl(0, 0);
66995 ;
66996 return 0;
66997 }
66998 _ACEOF
66999 rm -f conftest.$ac_objext
67000 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67001 (eval $ac_compile) 2>conftest.er1
67002 ac_status=$?
67003 grep -v '^ *+' conftest.er1 >conftest.err
67004 rm -f conftest.er1
67005 cat conftest.err >&5
67006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67007 (exit $ac_status); } &&
67008 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
67009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67010 (eval $ac_try) 2>&5
67011 ac_status=$?
67012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67013 (exit $ac_status); }; } &&
67014 { ac_try='test -s conftest.$ac_objext'
67015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67016 (eval $ac_try) 2>&5
67017 ac_status=$?
67018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67019 (exit $ac_status); }; }; then
67020 glibcxx_cv_func_fmodl_use=yes
67021 else
67022 echo "$as_me: failed program was:" >&5
67023 sed 's/^/| /' conftest.$ac_ext >&5
67024
67025 glibcxx_cv_func_fmodl_use=no
67026 fi
67027 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67028 ac_ext=c
67029 ac_cpp='$CPP $CPPFLAGS'
67030 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67031 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67032 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67033
67034
67035 fi
67036
67037 fi
67038 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodl_use" >&5
67039 echo "${ECHO_T}$glibcxx_cv_func_fmodl_use" >&6
67040
67041 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
67042
67043 for ac_func in fmodl
67044 do
67045 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67046 echo "$as_me:$LINENO: checking for $ac_func" >&5
67047 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67048 if eval "test \"\${$as_ac_var+set}\" = set"; then
67049 echo $ECHO_N "(cached) $ECHO_C" >&6
67050 else
67051 if test x$gcc_no_link = xyes; then
67052 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67053 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67054 { (exit 1); exit 1; }; }
67055 fi
67056 cat >conftest.$ac_ext <<_ACEOF
67057 /* confdefs.h. */
67058 _ACEOF
67059 cat confdefs.h >>conftest.$ac_ext
67060 cat >>conftest.$ac_ext <<_ACEOF
67061 /* end confdefs.h. */
67062 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67063 For example, HP-UX 11i <limits.h> declares gettimeofday. */
67064 #define $ac_func innocuous_$ac_func
67065
67066 /* System header to define __stub macros and hopefully few prototypes,
67067 which can conflict with char $ac_func (); below.
67068 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67069 <limits.h> exists even on freestanding compilers. */
67070
67071 #ifdef __STDC__
67072 # include <limits.h>
67073 #else
67074 # include <assert.h>
67075 #endif
67076
67077 #undef $ac_func
67078
67079 /* Override any gcc2 internal prototype to avoid an error. */
67080 #ifdef __cplusplus
67081 extern "C"
67082 {
67083 #endif
67084 /* We use char because int might match the return type of a gcc2
67085 builtin and then its argument prototype would still apply. */
67086 char $ac_func ();
67087 /* The GNU C library defines this for functions which it implements
67088 to always fail with ENOSYS. Some functions are actually named
67089 something starting with __ and the normal name is an alias. */
67090 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67091 choke me
67092 #else
67093 char (*f) () = $ac_func;
67094 #endif
67095 #ifdef __cplusplus
67096 }
67097 #endif
67098
67099 int
67100 main ()
67101 {
67102 return f != $ac_func;
67103 ;
67104 return 0;
67105 }
67106 _ACEOF
67107 rm -f conftest.$ac_objext conftest$ac_exeext
67108 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67109 (eval $ac_link) 2>conftest.er1
67110 ac_status=$?
67111 grep -v '^ *+' conftest.er1 >conftest.err
67112 rm -f conftest.er1
67113 cat conftest.err >&5
67114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67115 (exit $ac_status); } &&
67116 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
67117 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67118 (eval $ac_try) 2>&5
67119 ac_status=$?
67120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67121 (exit $ac_status); }; } &&
67122 { ac_try='test -s conftest$ac_exeext'
67123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67124 (eval $ac_try) 2>&5
67125 ac_status=$?
67126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67127 (exit $ac_status); }; }; then
67128 eval "$as_ac_var=yes"
67129 else
67130 echo "$as_me: failed program was:" >&5
67131 sed 's/^/| /' conftest.$ac_ext >&5
67132
67133 eval "$as_ac_var=no"
67134 fi
67135 rm -f conftest.err conftest.$ac_objext \
67136 conftest$ac_exeext conftest.$ac_ext
67137 fi
67138 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67139 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67140 if test `eval echo '${'$as_ac_var'}'` = yes; then
67141 cat >>confdefs.h <<_ACEOF
67142 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67143 _ACEOF
67144
67145 fi
67146 done
67147
67148 else
67149
67150 echo "$as_me:$LINENO: checking for _fmodl declaration" >&5
67151 echo $ECHO_N "checking for _fmodl declaration... $ECHO_C" >&6
67152 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
67153 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then
67154 echo $ECHO_N "(cached) $ECHO_C" >&6
67155 else
67156
67157
67158
67159 ac_ext=cc
67160 ac_cpp='$CXXCPP $CPPFLAGS'
67161 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67162 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67163 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67164
67165 cat >conftest.$ac_ext <<_ACEOF
67166 /* confdefs.h. */
67167 _ACEOF
67168 cat confdefs.h >>conftest.$ac_ext
67169 cat >>conftest.$ac_ext <<_ACEOF
67170 /* end confdefs.h. */
67171 #include <math.h>
67172 int
67173 main ()
67174 {
67175 _fmodl(0, 0);
67176 ;
67177 return 0;
67178 }
67179 _ACEOF
67180 rm -f conftest.$ac_objext
67181 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67182 (eval $ac_compile) 2>conftest.er1
67183 ac_status=$?
67184 grep -v '^ *+' conftest.er1 >conftest.err
67185 rm -f conftest.er1
67186 cat conftest.err >&5
67187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67188 (exit $ac_status); } &&
67189 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
67190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67191 (eval $ac_try) 2>&5
67192 ac_status=$?
67193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67194 (exit $ac_status); }; } &&
67195 { ac_try='test -s conftest.$ac_objext'
67196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67197 (eval $ac_try) 2>&5
67198 ac_status=$?
67199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67200 (exit $ac_status); }; }; then
67201 glibcxx_cv_func__fmodl_use=yes
67202 else
67203 echo "$as_me: failed program was:" >&5
67204 sed 's/^/| /' conftest.$ac_ext >&5
67205
67206 glibcxx_cv_func__fmodl_use=no
67207 fi
67208 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67209 ac_ext=c
67210 ac_cpp='$CPP $CPPFLAGS'
67211 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67212 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67213 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67214
67215
67216 fi
67217
67218 fi
67219 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodl_use" >&5
67220 echo "${ECHO_T}$glibcxx_cv_func__fmodl_use" >&6
67221
67222 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
67223
67224 for ac_func in _fmodl
67225 do
67226 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67227 echo "$as_me:$LINENO: checking for $ac_func" >&5
67228 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67229 if eval "test \"\${$as_ac_var+set}\" = set"; then
67230 echo $ECHO_N "(cached) $ECHO_C" >&6
67231 else
67232 if test x$gcc_no_link = xyes; then
67233 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67234 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67235 { (exit 1); exit 1; }; }
67236 fi
67237 cat >conftest.$ac_ext <<_ACEOF
67238 /* confdefs.h. */
67239 _ACEOF
67240 cat confdefs.h >>conftest.$ac_ext
67241 cat >>conftest.$ac_ext <<_ACEOF
67242 /* end confdefs.h. */
67243 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67244 For example, HP-UX 11i <limits.h> declares gettimeofday. */
67245 #define $ac_func innocuous_$ac_func
67246
67247 /* System header to define __stub macros and hopefully few prototypes,
67248 which can conflict with char $ac_func (); below.
67249 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67250 <limits.h> exists even on freestanding compilers. */
67251
67252 #ifdef __STDC__
67253 # include <limits.h>
67254 #else
67255 # include <assert.h>
67256 #endif
67257
67258 #undef $ac_func
67259
67260 /* Override any gcc2 internal prototype to avoid an error. */
67261 #ifdef __cplusplus
67262 extern "C"
67263 {
67264 #endif
67265 /* We use char because int might match the return type of a gcc2
67266 builtin and then its argument prototype would still apply. */
67267 char $ac_func ();
67268 /* The GNU C library defines this for functions which it implements
67269 to always fail with ENOSYS. Some functions are actually named
67270 something starting with __ and the normal name is an alias. */
67271 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67272 choke me
67273 #else
67274 char (*f) () = $ac_func;
67275 #endif
67276 #ifdef __cplusplus
67277 }
67278 #endif
67279
67280 int
67281 main ()
67282 {
67283 return f != $ac_func;
67284 ;
67285 return 0;
67286 }
67287 _ACEOF
67288 rm -f conftest.$ac_objext conftest$ac_exeext
67289 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67290 (eval $ac_link) 2>conftest.er1
67291 ac_status=$?
67292 grep -v '^ *+' conftest.er1 >conftest.err
67293 rm -f conftest.er1
67294 cat conftest.err >&5
67295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67296 (exit $ac_status); } &&
67297 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
67298 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67299 (eval $ac_try) 2>&5
67300 ac_status=$?
67301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67302 (exit $ac_status); }; } &&
67303 { ac_try='test -s conftest$ac_exeext'
67304 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67305 (eval $ac_try) 2>&5
67306 ac_status=$?
67307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67308 (exit $ac_status); }; }; then
67309 eval "$as_ac_var=yes"
67310 else
67311 echo "$as_me: failed program was:" >&5
67312 sed 's/^/| /' conftest.$ac_ext >&5
67313
67314 eval "$as_ac_var=no"
67315 fi
67316 rm -f conftest.err conftest.$ac_objext \
67317 conftest$ac_exeext conftest.$ac_ext
67318 fi
67319 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67320 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67321 if test `eval echo '${'$as_ac_var'}'` = yes; then
67322 cat >>confdefs.h <<_ACEOF
67323 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67324 _ACEOF
67325
67326 fi
67327 done
67328
67329 fi
67330 fi
67331
67332
67333
67334
67335
67336
67337 echo "$as_me:$LINENO: checking for frexpl declaration" >&5
67338 echo $ECHO_N "checking for frexpl declaration... $ECHO_C" >&6
67339 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
67340 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then
67341 echo $ECHO_N "(cached) $ECHO_C" >&6
67342 else
67343
67344
67345
67346 ac_ext=cc
67347 ac_cpp='$CXXCPP $CPPFLAGS'
67348 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67349 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67350 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67351
67352 cat >conftest.$ac_ext <<_ACEOF
67353 /* confdefs.h. */
67354 _ACEOF
67355 cat confdefs.h >>conftest.$ac_ext
67356 cat >>conftest.$ac_ext <<_ACEOF
67357 /* end confdefs.h. */
67358 #include <math.h>
67359 int
67360 main ()
67361 {
67362 frexpl(0, 0);
67363 ;
67364 return 0;
67365 }
67366 _ACEOF
67367 rm -f conftest.$ac_objext
67368 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67369 (eval $ac_compile) 2>conftest.er1
67370 ac_status=$?
67371 grep -v '^ *+' conftest.er1 >conftest.err
67372 rm -f conftest.er1
67373 cat conftest.err >&5
67374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67375 (exit $ac_status); } &&
67376 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
67377 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67378 (eval $ac_try) 2>&5
67379 ac_status=$?
67380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67381 (exit $ac_status); }; } &&
67382 { ac_try='test -s conftest.$ac_objext'
67383 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67384 (eval $ac_try) 2>&5
67385 ac_status=$?
67386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67387 (exit $ac_status); }; }; then
67388 glibcxx_cv_func_frexpl_use=yes
67389 else
67390 echo "$as_me: failed program was:" >&5
67391 sed 's/^/| /' conftest.$ac_ext >&5
67392
67393 glibcxx_cv_func_frexpl_use=no
67394 fi
67395 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67396 ac_ext=c
67397 ac_cpp='$CPP $CPPFLAGS'
67398 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67399 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67400 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67401
67402
67403 fi
67404
67405 fi
67406 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpl_use" >&5
67407 echo "${ECHO_T}$glibcxx_cv_func_frexpl_use" >&6
67408
67409 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
67410
67411 for ac_func in frexpl
67412 do
67413 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67414 echo "$as_me:$LINENO: checking for $ac_func" >&5
67415 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67416 if eval "test \"\${$as_ac_var+set}\" = set"; then
67417 echo $ECHO_N "(cached) $ECHO_C" >&6
67418 else
67419 if test x$gcc_no_link = xyes; then
67420 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67421 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67422 { (exit 1); exit 1; }; }
67423 fi
67424 cat >conftest.$ac_ext <<_ACEOF
67425 /* confdefs.h. */
67426 _ACEOF
67427 cat confdefs.h >>conftest.$ac_ext
67428 cat >>conftest.$ac_ext <<_ACEOF
67429 /* end confdefs.h. */
67430 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67431 For example, HP-UX 11i <limits.h> declares gettimeofday. */
67432 #define $ac_func innocuous_$ac_func
67433
67434 /* System header to define __stub macros and hopefully few prototypes,
67435 which can conflict with char $ac_func (); below.
67436 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67437 <limits.h> exists even on freestanding compilers. */
67438
67439 #ifdef __STDC__
67440 # include <limits.h>
67441 #else
67442 # include <assert.h>
67443 #endif
67444
67445 #undef $ac_func
67446
67447 /* Override any gcc2 internal prototype to avoid an error. */
67448 #ifdef __cplusplus
67449 extern "C"
67450 {
67451 #endif
67452 /* We use char because int might match the return type of a gcc2
67453 builtin and then its argument prototype would still apply. */
67454 char $ac_func ();
67455 /* The GNU C library defines this for functions which it implements
67456 to always fail with ENOSYS. Some functions are actually named
67457 something starting with __ and the normal name is an alias. */
67458 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67459 choke me
67460 #else
67461 char (*f) () = $ac_func;
67462 #endif
67463 #ifdef __cplusplus
67464 }
67465 #endif
67466
67467 int
67468 main ()
67469 {
67470 return f != $ac_func;
67471 ;
67472 return 0;
67473 }
67474 _ACEOF
67475 rm -f conftest.$ac_objext conftest$ac_exeext
67476 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67477 (eval $ac_link) 2>conftest.er1
67478 ac_status=$?
67479 grep -v '^ *+' conftest.er1 >conftest.err
67480 rm -f conftest.er1
67481 cat conftest.err >&5
67482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67483 (exit $ac_status); } &&
67484 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
67485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67486 (eval $ac_try) 2>&5
67487 ac_status=$?
67488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67489 (exit $ac_status); }; } &&
67490 { ac_try='test -s conftest$ac_exeext'
67491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67492 (eval $ac_try) 2>&5
67493 ac_status=$?
67494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67495 (exit $ac_status); }; }; then
67496 eval "$as_ac_var=yes"
67497 else
67498 echo "$as_me: failed program was:" >&5
67499 sed 's/^/| /' conftest.$ac_ext >&5
67500
67501 eval "$as_ac_var=no"
67502 fi
67503 rm -f conftest.err conftest.$ac_objext \
67504 conftest$ac_exeext conftest.$ac_ext
67505 fi
67506 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67507 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67508 if test `eval echo '${'$as_ac_var'}'` = yes; then
67509 cat >>confdefs.h <<_ACEOF
67510 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67511 _ACEOF
67512
67513 fi
67514 done
67515
67516 else
67517
67518 echo "$as_me:$LINENO: checking for _frexpl declaration" >&5
67519 echo $ECHO_N "checking for _frexpl declaration... $ECHO_C" >&6
67520 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
67521 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then
67522 echo $ECHO_N "(cached) $ECHO_C" >&6
67523 else
67524
67525
67526
67527 ac_ext=cc
67528 ac_cpp='$CXXCPP $CPPFLAGS'
67529 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67530 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67531 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67532
67533 cat >conftest.$ac_ext <<_ACEOF
67534 /* confdefs.h. */
67535 _ACEOF
67536 cat confdefs.h >>conftest.$ac_ext
67537 cat >>conftest.$ac_ext <<_ACEOF
67538 /* end confdefs.h. */
67539 #include <math.h>
67540 int
67541 main ()
67542 {
67543 _frexpl(0, 0);
67544 ;
67545 return 0;
67546 }
67547 _ACEOF
67548 rm -f conftest.$ac_objext
67549 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67550 (eval $ac_compile) 2>conftest.er1
67551 ac_status=$?
67552 grep -v '^ *+' conftest.er1 >conftest.err
67553 rm -f conftest.er1
67554 cat conftest.err >&5
67555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67556 (exit $ac_status); } &&
67557 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
67558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67559 (eval $ac_try) 2>&5
67560 ac_status=$?
67561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67562 (exit $ac_status); }; } &&
67563 { ac_try='test -s conftest.$ac_objext'
67564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67565 (eval $ac_try) 2>&5
67566 ac_status=$?
67567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67568 (exit $ac_status); }; }; then
67569 glibcxx_cv_func__frexpl_use=yes
67570 else
67571 echo "$as_me: failed program was:" >&5
67572 sed 's/^/| /' conftest.$ac_ext >&5
67573
67574 glibcxx_cv_func__frexpl_use=no
67575 fi
67576 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67577 ac_ext=c
67578 ac_cpp='$CPP $CPPFLAGS'
67579 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67580 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67581 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67582
67583
67584 fi
67585
67586 fi
67587 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpl_use" >&5
67588 echo "${ECHO_T}$glibcxx_cv_func__frexpl_use" >&6
67589
67590 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
67591
67592 for ac_func in _frexpl
67593 do
67594 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67595 echo "$as_me:$LINENO: checking for $ac_func" >&5
67596 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67597 if eval "test \"\${$as_ac_var+set}\" = set"; then
67598 echo $ECHO_N "(cached) $ECHO_C" >&6
67599 else
67600 if test x$gcc_no_link = xyes; then
67601 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67602 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67603 { (exit 1); exit 1; }; }
67604 fi
67605 cat >conftest.$ac_ext <<_ACEOF
67606 /* confdefs.h. */
67607 _ACEOF
67608 cat confdefs.h >>conftest.$ac_ext
67609 cat >>conftest.$ac_ext <<_ACEOF
67610 /* end confdefs.h. */
67611 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67612 For example, HP-UX 11i <limits.h> declares gettimeofday. */
67613 #define $ac_func innocuous_$ac_func
67614
67615 /* System header to define __stub macros and hopefully few prototypes,
67616 which can conflict with char $ac_func (); below.
67617 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67618 <limits.h> exists even on freestanding compilers. */
67619
67620 #ifdef __STDC__
67621 # include <limits.h>
67622 #else
67623 # include <assert.h>
67624 #endif
67625
67626 #undef $ac_func
67627
67628 /* Override any gcc2 internal prototype to avoid an error. */
67629 #ifdef __cplusplus
67630 extern "C"
67631 {
67632 #endif
67633 /* We use char because int might match the return type of a gcc2
67634 builtin and then its argument prototype would still apply. */
67635 char $ac_func ();
67636 /* The GNU C library defines this for functions which it implements
67637 to always fail with ENOSYS. Some functions are actually named
67638 something starting with __ and the normal name is an alias. */
67639 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67640 choke me
67641 #else
67642 char (*f) () = $ac_func;
67643 #endif
67644 #ifdef __cplusplus
67645 }
67646 #endif
67647
67648 int
67649 main ()
67650 {
67651 return f != $ac_func;
67652 ;
67653 return 0;
67654 }
67655 _ACEOF
67656 rm -f conftest.$ac_objext conftest$ac_exeext
67657 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67658 (eval $ac_link) 2>conftest.er1
67659 ac_status=$?
67660 grep -v '^ *+' conftest.er1 >conftest.err
67661 rm -f conftest.er1
67662 cat conftest.err >&5
67663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67664 (exit $ac_status); } &&
67665 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
67666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67667 (eval $ac_try) 2>&5
67668 ac_status=$?
67669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67670 (exit $ac_status); }; } &&
67671 { ac_try='test -s conftest$ac_exeext'
67672 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67673 (eval $ac_try) 2>&5
67674 ac_status=$?
67675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67676 (exit $ac_status); }; }; then
67677 eval "$as_ac_var=yes"
67678 else
67679 echo "$as_me: failed program was:" >&5
67680 sed 's/^/| /' conftest.$ac_ext >&5
67681
67682 eval "$as_ac_var=no"
67683 fi
67684 rm -f conftest.err conftest.$ac_objext \
67685 conftest$ac_exeext conftest.$ac_ext
67686 fi
67687 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67688 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67689 if test `eval echo '${'$as_ac_var'}'` = yes; then
67690 cat >>confdefs.h <<_ACEOF
67691 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67692 _ACEOF
67693
67694 fi
67695 done
67696
67697 fi
67698 fi
67699
67700
67701
67702
67703
67704
67705 echo "$as_me:$LINENO: checking for hypotl declaration" >&5
67706 echo $ECHO_N "checking for hypotl declaration... $ECHO_C" >&6
67707 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
67708 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then
67709 echo $ECHO_N "(cached) $ECHO_C" >&6
67710 else
67711
67712
67713
67714 ac_ext=cc
67715 ac_cpp='$CXXCPP $CPPFLAGS'
67716 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67717 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67718 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67719
67720 cat >conftest.$ac_ext <<_ACEOF
67721 /* confdefs.h. */
67722 _ACEOF
67723 cat confdefs.h >>conftest.$ac_ext
67724 cat >>conftest.$ac_ext <<_ACEOF
67725 /* end confdefs.h. */
67726 #include <math.h>
67727 int
67728 main ()
67729 {
67730 hypotl(0, 0);
67731 ;
67732 return 0;
67733 }
67734 _ACEOF
67735 rm -f conftest.$ac_objext
67736 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67737 (eval $ac_compile) 2>conftest.er1
67738 ac_status=$?
67739 grep -v '^ *+' conftest.er1 >conftest.err
67740 rm -f conftest.er1
67741 cat conftest.err >&5
67742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67743 (exit $ac_status); } &&
67744 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
67745 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67746 (eval $ac_try) 2>&5
67747 ac_status=$?
67748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67749 (exit $ac_status); }; } &&
67750 { ac_try='test -s conftest.$ac_objext'
67751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67752 (eval $ac_try) 2>&5
67753 ac_status=$?
67754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67755 (exit $ac_status); }; }; then
67756 glibcxx_cv_func_hypotl_use=yes
67757 else
67758 echo "$as_me: failed program was:" >&5
67759 sed 's/^/| /' conftest.$ac_ext >&5
67760
67761 glibcxx_cv_func_hypotl_use=no
67762 fi
67763 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67764 ac_ext=c
67765 ac_cpp='$CPP $CPPFLAGS'
67766 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67767 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67768 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67769
67770
67771 fi
67772
67773 fi
67774 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotl_use" >&5
67775 echo "${ECHO_T}$glibcxx_cv_func_hypotl_use" >&6
67776
67777 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
67778
67779 for ac_func in hypotl
67780 do
67781 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67782 echo "$as_me:$LINENO: checking for $ac_func" >&5
67783 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67784 if eval "test \"\${$as_ac_var+set}\" = set"; then
67785 echo $ECHO_N "(cached) $ECHO_C" >&6
67786 else
67787 if test x$gcc_no_link = xyes; then
67788 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67789 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67790 { (exit 1); exit 1; }; }
67791 fi
67792 cat >conftest.$ac_ext <<_ACEOF
67793 /* confdefs.h. */
67794 _ACEOF
67795 cat confdefs.h >>conftest.$ac_ext
67796 cat >>conftest.$ac_ext <<_ACEOF
67797 /* end confdefs.h. */
67798 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67799 For example, HP-UX 11i <limits.h> declares gettimeofday. */
67800 #define $ac_func innocuous_$ac_func
67801
67802 /* System header to define __stub macros and hopefully few prototypes,
67803 which can conflict with char $ac_func (); below.
67804 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67805 <limits.h> exists even on freestanding compilers. */
67806
67807 #ifdef __STDC__
67808 # include <limits.h>
67809 #else
67810 # include <assert.h>
67811 #endif
67812
67813 #undef $ac_func
67814
67815 /* Override any gcc2 internal prototype to avoid an error. */
67816 #ifdef __cplusplus
67817 extern "C"
67818 {
67819 #endif
67820 /* We use char because int might match the return type of a gcc2
67821 builtin and then its argument prototype would still apply. */
67822 char $ac_func ();
67823 /* The GNU C library defines this for functions which it implements
67824 to always fail with ENOSYS. Some functions are actually named
67825 something starting with __ and the normal name is an alias. */
67826 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67827 choke me
67828 #else
67829 char (*f) () = $ac_func;
67830 #endif
67831 #ifdef __cplusplus
67832 }
67833 #endif
67834
67835 int
67836 main ()
67837 {
67838 return f != $ac_func;
67839 ;
67840 return 0;
67841 }
67842 _ACEOF
67843 rm -f conftest.$ac_objext conftest$ac_exeext
67844 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67845 (eval $ac_link) 2>conftest.er1
67846 ac_status=$?
67847 grep -v '^ *+' conftest.er1 >conftest.err
67848 rm -f conftest.er1
67849 cat conftest.err >&5
67850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67851 (exit $ac_status); } &&
67852 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
67853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67854 (eval $ac_try) 2>&5
67855 ac_status=$?
67856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67857 (exit $ac_status); }; } &&
67858 { ac_try='test -s conftest$ac_exeext'
67859 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67860 (eval $ac_try) 2>&5
67861 ac_status=$?
67862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67863 (exit $ac_status); }; }; then
67864 eval "$as_ac_var=yes"
67865 else
67866 echo "$as_me: failed program was:" >&5
67867 sed 's/^/| /' conftest.$ac_ext >&5
67868
67869 eval "$as_ac_var=no"
67870 fi
67871 rm -f conftest.err conftest.$ac_objext \
67872 conftest$ac_exeext conftest.$ac_ext
67873 fi
67874 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67875 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67876 if test `eval echo '${'$as_ac_var'}'` = yes; then
67877 cat >>confdefs.h <<_ACEOF
67878 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67879 _ACEOF
67880
67881 fi
67882 done
67883
67884 else
67885
67886 echo "$as_me:$LINENO: checking for _hypotl declaration" >&5
67887 echo $ECHO_N "checking for _hypotl declaration... $ECHO_C" >&6
67888 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
67889 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then
67890 echo $ECHO_N "(cached) $ECHO_C" >&6
67891 else
67892
67893
67894
67895 ac_ext=cc
67896 ac_cpp='$CXXCPP $CPPFLAGS'
67897 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67898 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67899 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67900
67901 cat >conftest.$ac_ext <<_ACEOF
67902 /* confdefs.h. */
67903 _ACEOF
67904 cat confdefs.h >>conftest.$ac_ext
67905 cat >>conftest.$ac_ext <<_ACEOF
67906 /* end confdefs.h. */
67907 #include <math.h>
67908 int
67909 main ()
67910 {
67911 _hypotl(0, 0);
67912 ;
67913 return 0;
67914 }
67915 _ACEOF
67916 rm -f conftest.$ac_objext
67917 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67918 (eval $ac_compile) 2>conftest.er1
67919 ac_status=$?
67920 grep -v '^ *+' conftest.er1 >conftest.err
67921 rm -f conftest.er1
67922 cat conftest.err >&5
67923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67924 (exit $ac_status); } &&
67925 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
67926 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67927 (eval $ac_try) 2>&5
67928 ac_status=$?
67929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67930 (exit $ac_status); }; } &&
67931 { ac_try='test -s conftest.$ac_objext'
67932 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67933 (eval $ac_try) 2>&5
67934 ac_status=$?
67935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67936 (exit $ac_status); }; }; then
67937 glibcxx_cv_func__hypotl_use=yes
67938 else
67939 echo "$as_me: failed program was:" >&5
67940 sed 's/^/| /' conftest.$ac_ext >&5
67941
67942 glibcxx_cv_func__hypotl_use=no
67943 fi
67944 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67945 ac_ext=c
67946 ac_cpp='$CPP $CPPFLAGS'
67947 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67948 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67949 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67950
67951
67952 fi
67953
67954 fi
67955 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotl_use" >&5
67956 echo "${ECHO_T}$glibcxx_cv_func__hypotl_use" >&6
67957
67958 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
67959
67960 for ac_func in _hypotl
67961 do
67962 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67963 echo "$as_me:$LINENO: checking for $ac_func" >&5
67964 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67965 if eval "test \"\${$as_ac_var+set}\" = set"; then
67966 echo $ECHO_N "(cached) $ECHO_C" >&6
67967 else
67968 if test x$gcc_no_link = xyes; then
67969 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67970 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67971 { (exit 1); exit 1; }; }
67972 fi
67973 cat >conftest.$ac_ext <<_ACEOF
67974 /* confdefs.h. */
67975 _ACEOF
67976 cat confdefs.h >>conftest.$ac_ext
67977 cat >>conftest.$ac_ext <<_ACEOF
67978 /* end confdefs.h. */
67979 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67980 For example, HP-UX 11i <limits.h> declares gettimeofday. */
67981 #define $ac_func innocuous_$ac_func
67982
67983 /* System header to define __stub macros and hopefully few prototypes,
67984 which can conflict with char $ac_func (); below.
67985 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67986 <limits.h> exists even on freestanding compilers. */
67987
67988 #ifdef __STDC__
67989 # include <limits.h>
67990 #else
67991 # include <assert.h>
67992 #endif
67993
67994 #undef $ac_func
67995
67996 /* Override any gcc2 internal prototype to avoid an error. */
67997 #ifdef __cplusplus
67998 extern "C"
67999 {
68000 #endif
68001 /* We use char because int might match the return type of a gcc2
68002 builtin and then its argument prototype would still apply. */
68003 char $ac_func ();
68004 /* The GNU C library defines this for functions which it implements
68005 to always fail with ENOSYS. Some functions are actually named
68006 something starting with __ and the normal name is an alias. */
68007 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68008 choke me
68009 #else
68010 char (*f) () = $ac_func;
68011 #endif
68012 #ifdef __cplusplus
68013 }
68014 #endif
68015
68016 int
68017 main ()
68018 {
68019 return f != $ac_func;
68020 ;
68021 return 0;
68022 }
68023 _ACEOF
68024 rm -f conftest.$ac_objext conftest$ac_exeext
68025 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68026 (eval $ac_link) 2>conftest.er1
68027 ac_status=$?
68028 grep -v '^ *+' conftest.er1 >conftest.err
68029 rm -f conftest.er1
68030 cat conftest.err >&5
68031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68032 (exit $ac_status); } &&
68033 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
68034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68035 (eval $ac_try) 2>&5
68036 ac_status=$?
68037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68038 (exit $ac_status); }; } &&
68039 { ac_try='test -s conftest$ac_exeext'
68040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68041 (eval $ac_try) 2>&5
68042 ac_status=$?
68043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68044 (exit $ac_status); }; }; then
68045 eval "$as_ac_var=yes"
68046 else
68047 echo "$as_me: failed program was:" >&5
68048 sed 's/^/| /' conftest.$ac_ext >&5
68049
68050 eval "$as_ac_var=no"
68051 fi
68052 rm -f conftest.err conftest.$ac_objext \
68053 conftest$ac_exeext conftest.$ac_ext
68054 fi
68055 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68056 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68057 if test `eval echo '${'$as_ac_var'}'` = yes; then
68058 cat >>confdefs.h <<_ACEOF
68059 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68060 _ACEOF
68061
68062 fi
68063 done
68064
68065 fi
68066 fi
68067
68068
68069
68070
68071
68072
68073 echo "$as_me:$LINENO: checking for ldexpl declaration" >&5
68074 echo $ECHO_N "checking for ldexpl declaration... $ECHO_C" >&6
68075 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
68076 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then
68077 echo $ECHO_N "(cached) $ECHO_C" >&6
68078 else
68079
68080
68081
68082 ac_ext=cc
68083 ac_cpp='$CXXCPP $CPPFLAGS'
68084 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68085 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68086 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68087
68088 cat >conftest.$ac_ext <<_ACEOF
68089 /* confdefs.h. */
68090 _ACEOF
68091 cat confdefs.h >>conftest.$ac_ext
68092 cat >>conftest.$ac_ext <<_ACEOF
68093 /* end confdefs.h. */
68094 #include <math.h>
68095 int
68096 main ()
68097 {
68098 ldexpl(0, 0);
68099 ;
68100 return 0;
68101 }
68102 _ACEOF
68103 rm -f conftest.$ac_objext
68104 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68105 (eval $ac_compile) 2>conftest.er1
68106 ac_status=$?
68107 grep -v '^ *+' conftest.er1 >conftest.err
68108 rm -f conftest.er1
68109 cat conftest.err >&5
68110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68111 (exit $ac_status); } &&
68112 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
68113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68114 (eval $ac_try) 2>&5
68115 ac_status=$?
68116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68117 (exit $ac_status); }; } &&
68118 { ac_try='test -s conftest.$ac_objext'
68119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68120 (eval $ac_try) 2>&5
68121 ac_status=$?
68122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68123 (exit $ac_status); }; }; then
68124 glibcxx_cv_func_ldexpl_use=yes
68125 else
68126 echo "$as_me: failed program was:" >&5
68127 sed 's/^/| /' conftest.$ac_ext >&5
68128
68129 glibcxx_cv_func_ldexpl_use=no
68130 fi
68131 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68132 ac_ext=c
68133 ac_cpp='$CPP $CPPFLAGS'
68134 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68135 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68136 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68137
68138
68139 fi
68140
68141 fi
68142 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpl_use" >&5
68143 echo "${ECHO_T}$glibcxx_cv_func_ldexpl_use" >&6
68144
68145 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
68146
68147 for ac_func in ldexpl
68148 do
68149 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68150 echo "$as_me:$LINENO: checking for $ac_func" >&5
68151 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68152 if eval "test \"\${$as_ac_var+set}\" = set"; then
68153 echo $ECHO_N "(cached) $ECHO_C" >&6
68154 else
68155 if test x$gcc_no_link = xyes; then
68156 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68157 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68158 { (exit 1); exit 1; }; }
68159 fi
68160 cat >conftest.$ac_ext <<_ACEOF
68161 /* confdefs.h. */
68162 _ACEOF
68163 cat confdefs.h >>conftest.$ac_ext
68164 cat >>conftest.$ac_ext <<_ACEOF
68165 /* end confdefs.h. */
68166 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68167 For example, HP-UX 11i <limits.h> declares gettimeofday. */
68168 #define $ac_func innocuous_$ac_func
68169
68170 /* System header to define __stub macros and hopefully few prototypes,
68171 which can conflict with char $ac_func (); below.
68172 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68173 <limits.h> exists even on freestanding compilers. */
68174
68175 #ifdef __STDC__
68176 # include <limits.h>
68177 #else
68178 # include <assert.h>
68179 #endif
68180
68181 #undef $ac_func
68182
68183 /* Override any gcc2 internal prototype to avoid an error. */
68184 #ifdef __cplusplus
68185 extern "C"
68186 {
68187 #endif
68188 /* We use char because int might match the return type of a gcc2
68189 builtin and then its argument prototype would still apply. */
68190 char $ac_func ();
68191 /* The GNU C library defines this for functions which it implements
68192 to always fail with ENOSYS. Some functions are actually named
68193 something starting with __ and the normal name is an alias. */
68194 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68195 choke me
68196 #else
68197 char (*f) () = $ac_func;
68198 #endif
68199 #ifdef __cplusplus
68200 }
68201 #endif
68202
68203 int
68204 main ()
68205 {
68206 return f != $ac_func;
68207 ;
68208 return 0;
68209 }
68210 _ACEOF
68211 rm -f conftest.$ac_objext conftest$ac_exeext
68212 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68213 (eval $ac_link) 2>conftest.er1
68214 ac_status=$?
68215 grep -v '^ *+' conftest.er1 >conftest.err
68216 rm -f conftest.er1
68217 cat conftest.err >&5
68218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68219 (exit $ac_status); } &&
68220 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
68221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68222 (eval $ac_try) 2>&5
68223 ac_status=$?
68224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68225 (exit $ac_status); }; } &&
68226 { ac_try='test -s conftest$ac_exeext'
68227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68228 (eval $ac_try) 2>&5
68229 ac_status=$?
68230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68231 (exit $ac_status); }; }; then
68232 eval "$as_ac_var=yes"
68233 else
68234 echo "$as_me: failed program was:" >&5
68235 sed 's/^/| /' conftest.$ac_ext >&5
68236
68237 eval "$as_ac_var=no"
68238 fi
68239 rm -f conftest.err conftest.$ac_objext \
68240 conftest$ac_exeext conftest.$ac_ext
68241 fi
68242 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68243 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68244 if test `eval echo '${'$as_ac_var'}'` = yes; then
68245 cat >>confdefs.h <<_ACEOF
68246 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68247 _ACEOF
68248
68249 fi
68250 done
68251
68252 else
68253
68254 echo "$as_me:$LINENO: checking for _ldexpl declaration" >&5
68255 echo $ECHO_N "checking for _ldexpl declaration... $ECHO_C" >&6
68256 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
68257 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then
68258 echo $ECHO_N "(cached) $ECHO_C" >&6
68259 else
68260
68261
68262
68263 ac_ext=cc
68264 ac_cpp='$CXXCPP $CPPFLAGS'
68265 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68266 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68267 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68268
68269 cat >conftest.$ac_ext <<_ACEOF
68270 /* confdefs.h. */
68271 _ACEOF
68272 cat confdefs.h >>conftest.$ac_ext
68273 cat >>conftest.$ac_ext <<_ACEOF
68274 /* end confdefs.h. */
68275 #include <math.h>
68276 int
68277 main ()
68278 {
68279 _ldexpl(0, 0);
68280 ;
68281 return 0;
68282 }
68283 _ACEOF
68284 rm -f conftest.$ac_objext
68285 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68286 (eval $ac_compile) 2>conftest.er1
68287 ac_status=$?
68288 grep -v '^ *+' conftest.er1 >conftest.err
68289 rm -f conftest.er1
68290 cat conftest.err >&5
68291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68292 (exit $ac_status); } &&
68293 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
68294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68295 (eval $ac_try) 2>&5
68296 ac_status=$?
68297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68298 (exit $ac_status); }; } &&
68299 { ac_try='test -s conftest.$ac_objext'
68300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68301 (eval $ac_try) 2>&5
68302 ac_status=$?
68303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68304 (exit $ac_status); }; }; then
68305 glibcxx_cv_func__ldexpl_use=yes
68306 else
68307 echo "$as_me: failed program was:" >&5
68308 sed 's/^/| /' conftest.$ac_ext >&5
68309
68310 glibcxx_cv_func__ldexpl_use=no
68311 fi
68312 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68313 ac_ext=c
68314 ac_cpp='$CPP $CPPFLAGS'
68315 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68316 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68317 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68318
68319
68320 fi
68321
68322 fi
68323 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpl_use" >&5
68324 echo "${ECHO_T}$glibcxx_cv_func__ldexpl_use" >&6
68325
68326 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
68327
68328 for ac_func in _ldexpl
68329 do
68330 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68331 echo "$as_me:$LINENO: checking for $ac_func" >&5
68332 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68333 if eval "test \"\${$as_ac_var+set}\" = set"; then
68334 echo $ECHO_N "(cached) $ECHO_C" >&6
68335 else
68336 if test x$gcc_no_link = xyes; then
68337 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68338 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68339 { (exit 1); exit 1; }; }
68340 fi
68341 cat >conftest.$ac_ext <<_ACEOF
68342 /* confdefs.h. */
68343 _ACEOF
68344 cat confdefs.h >>conftest.$ac_ext
68345 cat >>conftest.$ac_ext <<_ACEOF
68346 /* end confdefs.h. */
68347 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68348 For example, HP-UX 11i <limits.h> declares gettimeofday. */
68349 #define $ac_func innocuous_$ac_func
68350
68351 /* System header to define __stub macros and hopefully few prototypes,
68352 which can conflict with char $ac_func (); below.
68353 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68354 <limits.h> exists even on freestanding compilers. */
68355
68356 #ifdef __STDC__
68357 # include <limits.h>
68358 #else
68359 # include <assert.h>
68360 #endif
68361
68362 #undef $ac_func
68363
68364 /* Override any gcc2 internal prototype to avoid an error. */
68365 #ifdef __cplusplus
68366 extern "C"
68367 {
68368 #endif
68369 /* We use char because int might match the return type of a gcc2
68370 builtin and then its argument prototype would still apply. */
68371 char $ac_func ();
68372 /* The GNU C library defines this for functions which it implements
68373 to always fail with ENOSYS. Some functions are actually named
68374 something starting with __ and the normal name is an alias. */
68375 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68376 choke me
68377 #else
68378 char (*f) () = $ac_func;
68379 #endif
68380 #ifdef __cplusplus
68381 }
68382 #endif
68383
68384 int
68385 main ()
68386 {
68387 return f != $ac_func;
68388 ;
68389 return 0;
68390 }
68391 _ACEOF
68392 rm -f conftest.$ac_objext conftest$ac_exeext
68393 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68394 (eval $ac_link) 2>conftest.er1
68395 ac_status=$?
68396 grep -v '^ *+' conftest.er1 >conftest.err
68397 rm -f conftest.er1
68398 cat conftest.err >&5
68399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68400 (exit $ac_status); } &&
68401 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
68402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68403 (eval $ac_try) 2>&5
68404 ac_status=$?
68405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68406 (exit $ac_status); }; } &&
68407 { ac_try='test -s conftest$ac_exeext'
68408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68409 (eval $ac_try) 2>&5
68410 ac_status=$?
68411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68412 (exit $ac_status); }; }; then
68413 eval "$as_ac_var=yes"
68414 else
68415 echo "$as_me: failed program was:" >&5
68416 sed 's/^/| /' conftest.$ac_ext >&5
68417
68418 eval "$as_ac_var=no"
68419 fi
68420 rm -f conftest.err conftest.$ac_objext \
68421 conftest$ac_exeext conftest.$ac_ext
68422 fi
68423 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68424 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68425 if test `eval echo '${'$as_ac_var'}'` = yes; then
68426 cat >>confdefs.h <<_ACEOF
68427 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68428 _ACEOF
68429
68430 fi
68431 done
68432
68433 fi
68434 fi
68435
68436
68437
68438
68439
68440
68441 echo "$as_me:$LINENO: checking for logl declaration" >&5
68442 echo $ECHO_N "checking for logl declaration... $ECHO_C" >&6
68443 if test x${glibcxx_cv_func_logl_use+set} != xset; then
68444 if test "${glibcxx_cv_func_logl_use+set}" = set; then
68445 echo $ECHO_N "(cached) $ECHO_C" >&6
68446 else
68447
68448
68449
68450 ac_ext=cc
68451 ac_cpp='$CXXCPP $CPPFLAGS'
68452 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68453 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68454 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68455
68456 cat >conftest.$ac_ext <<_ACEOF
68457 /* confdefs.h. */
68458 _ACEOF
68459 cat confdefs.h >>conftest.$ac_ext
68460 cat >>conftest.$ac_ext <<_ACEOF
68461 /* end confdefs.h. */
68462 #include <math.h>
68463 #ifdef HAVE_IEEEFP_H
68464 #include <ieeefp.h>
68465 #endif
68466
68467 int
68468 main ()
68469 {
68470 logl(0);
68471 ;
68472 return 0;
68473 }
68474 _ACEOF
68475 rm -f conftest.$ac_objext
68476 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68477 (eval $ac_compile) 2>conftest.er1
68478 ac_status=$?
68479 grep -v '^ *+' conftest.er1 >conftest.err
68480 rm -f conftest.er1
68481 cat conftest.err >&5
68482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68483 (exit $ac_status); } &&
68484 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
68485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68486 (eval $ac_try) 2>&5
68487 ac_status=$?
68488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68489 (exit $ac_status); }; } &&
68490 { ac_try='test -s conftest.$ac_objext'
68491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68492 (eval $ac_try) 2>&5
68493 ac_status=$?
68494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68495 (exit $ac_status); }; }; then
68496 glibcxx_cv_func_logl_use=yes
68497 else
68498 echo "$as_me: failed program was:" >&5
68499 sed 's/^/| /' conftest.$ac_ext >&5
68500
68501 glibcxx_cv_func_logl_use=no
68502 fi
68503 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68504 ac_ext=c
68505 ac_cpp='$CPP $CPPFLAGS'
68506 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68507 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68508 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68509
68510
68511 fi
68512
68513 fi
68514 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logl_use" >&5
68515 echo "${ECHO_T}$glibcxx_cv_func_logl_use" >&6
68516
68517 if test x$glibcxx_cv_func_logl_use = x"yes"; then
68518
68519 for ac_func in logl
68520 do
68521 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68522 echo "$as_me:$LINENO: checking for $ac_func" >&5
68523 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68524 if eval "test \"\${$as_ac_var+set}\" = set"; then
68525 echo $ECHO_N "(cached) $ECHO_C" >&6
68526 else
68527 if test x$gcc_no_link = xyes; then
68528 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68529 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68530 { (exit 1); exit 1; }; }
68531 fi
68532 cat >conftest.$ac_ext <<_ACEOF
68533 /* confdefs.h. */
68534 _ACEOF
68535 cat confdefs.h >>conftest.$ac_ext
68536 cat >>conftest.$ac_ext <<_ACEOF
68537 /* end confdefs.h. */
68538 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68539 For example, HP-UX 11i <limits.h> declares gettimeofday. */
68540 #define $ac_func innocuous_$ac_func
68541
68542 /* System header to define __stub macros and hopefully few prototypes,
68543 which can conflict with char $ac_func (); below.
68544 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68545 <limits.h> exists even on freestanding compilers. */
68546
68547 #ifdef __STDC__
68548 # include <limits.h>
68549 #else
68550 # include <assert.h>
68551 #endif
68552
68553 #undef $ac_func
68554
68555 /* Override any gcc2 internal prototype to avoid an error. */
68556 #ifdef __cplusplus
68557 extern "C"
68558 {
68559 #endif
68560 /* We use char because int might match the return type of a gcc2
68561 builtin and then its argument prototype would still apply. */
68562 char $ac_func ();
68563 /* The GNU C library defines this for functions which it implements
68564 to always fail with ENOSYS. Some functions are actually named
68565 something starting with __ and the normal name is an alias. */
68566 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68567 choke me
68568 #else
68569 char (*f) () = $ac_func;
68570 #endif
68571 #ifdef __cplusplus
68572 }
68573 #endif
68574
68575 int
68576 main ()
68577 {
68578 return f != $ac_func;
68579 ;
68580 return 0;
68581 }
68582 _ACEOF
68583 rm -f conftest.$ac_objext conftest$ac_exeext
68584 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68585 (eval $ac_link) 2>conftest.er1
68586 ac_status=$?
68587 grep -v '^ *+' conftest.er1 >conftest.err
68588 rm -f conftest.er1
68589 cat conftest.err >&5
68590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68591 (exit $ac_status); } &&
68592 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
68593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68594 (eval $ac_try) 2>&5
68595 ac_status=$?
68596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68597 (exit $ac_status); }; } &&
68598 { ac_try='test -s conftest$ac_exeext'
68599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68600 (eval $ac_try) 2>&5
68601 ac_status=$?
68602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68603 (exit $ac_status); }; }; then
68604 eval "$as_ac_var=yes"
68605 else
68606 echo "$as_me: failed program was:" >&5
68607 sed 's/^/| /' conftest.$ac_ext >&5
68608
68609 eval "$as_ac_var=no"
68610 fi
68611 rm -f conftest.err conftest.$ac_objext \
68612 conftest$ac_exeext conftest.$ac_ext
68613 fi
68614 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68615 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68616 if test `eval echo '${'$as_ac_var'}'` = yes; then
68617 cat >>confdefs.h <<_ACEOF
68618 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68619 _ACEOF
68620
68621 fi
68622 done
68623
68624 else
68625
68626 echo "$as_me:$LINENO: checking for _logl declaration" >&5
68627 echo $ECHO_N "checking for _logl declaration... $ECHO_C" >&6
68628 if test x${glibcxx_cv_func__logl_use+set} != xset; then
68629 if test "${glibcxx_cv_func__logl_use+set}" = set; then
68630 echo $ECHO_N "(cached) $ECHO_C" >&6
68631 else
68632
68633
68634
68635 ac_ext=cc
68636 ac_cpp='$CXXCPP $CPPFLAGS'
68637 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68638 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68639 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68640
68641 cat >conftest.$ac_ext <<_ACEOF
68642 /* confdefs.h. */
68643 _ACEOF
68644 cat confdefs.h >>conftest.$ac_ext
68645 cat >>conftest.$ac_ext <<_ACEOF
68646 /* end confdefs.h. */
68647 #include <math.h>
68648 #ifdef HAVE_IEEEFP_H
68649 #include <ieeefp.h>
68650 #endif
68651
68652 int
68653 main ()
68654 {
68655 _logl(0);
68656 ;
68657 return 0;
68658 }
68659 _ACEOF
68660 rm -f conftest.$ac_objext
68661 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68662 (eval $ac_compile) 2>conftest.er1
68663 ac_status=$?
68664 grep -v '^ *+' conftest.er1 >conftest.err
68665 rm -f conftest.er1
68666 cat conftest.err >&5
68667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68668 (exit $ac_status); } &&
68669 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
68670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68671 (eval $ac_try) 2>&5
68672 ac_status=$?
68673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68674 (exit $ac_status); }; } &&
68675 { ac_try='test -s conftest.$ac_objext'
68676 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68677 (eval $ac_try) 2>&5
68678 ac_status=$?
68679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68680 (exit $ac_status); }; }; then
68681 glibcxx_cv_func__logl_use=yes
68682 else
68683 echo "$as_me: failed program was:" >&5
68684 sed 's/^/| /' conftest.$ac_ext >&5
68685
68686 glibcxx_cv_func__logl_use=no
68687 fi
68688 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68689 ac_ext=c
68690 ac_cpp='$CPP $CPPFLAGS'
68691 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68692 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68693 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68694
68695
68696 fi
68697
68698 fi
68699 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logl_use" >&5
68700 echo "${ECHO_T}$glibcxx_cv_func__logl_use" >&6
68701
68702 if test x$glibcxx_cv_func__logl_use = x"yes"; then
68703
68704 for ac_func in _logl
68705 do
68706 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68707 echo "$as_me:$LINENO: checking for $ac_func" >&5
68708 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68709 if eval "test \"\${$as_ac_var+set}\" = set"; then
68710 echo $ECHO_N "(cached) $ECHO_C" >&6
68711 else
68712 if test x$gcc_no_link = xyes; then
68713 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68714 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68715 { (exit 1); exit 1; }; }
68716 fi
68717 cat >conftest.$ac_ext <<_ACEOF
68718 /* confdefs.h. */
68719 _ACEOF
68720 cat confdefs.h >>conftest.$ac_ext
68721 cat >>conftest.$ac_ext <<_ACEOF
68722 /* end confdefs.h. */
68723 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68724 For example, HP-UX 11i <limits.h> declares gettimeofday. */
68725 #define $ac_func innocuous_$ac_func
68726
68727 /* System header to define __stub macros and hopefully few prototypes,
68728 which can conflict with char $ac_func (); below.
68729 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68730 <limits.h> exists even on freestanding compilers. */
68731
68732 #ifdef __STDC__
68733 # include <limits.h>
68734 #else
68735 # include <assert.h>
68736 #endif
68737
68738 #undef $ac_func
68739
68740 /* Override any gcc2 internal prototype to avoid an error. */
68741 #ifdef __cplusplus
68742 extern "C"
68743 {
68744 #endif
68745 /* We use char because int might match the return type of a gcc2
68746 builtin and then its argument prototype would still apply. */
68747 char $ac_func ();
68748 /* The GNU C library defines this for functions which it implements
68749 to always fail with ENOSYS. Some functions are actually named
68750 something starting with __ and the normal name is an alias. */
68751 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68752 choke me
68753 #else
68754 char (*f) () = $ac_func;
68755 #endif
68756 #ifdef __cplusplus
68757 }
68758 #endif
68759
68760 int
68761 main ()
68762 {
68763 return f != $ac_func;
68764 ;
68765 return 0;
68766 }
68767 _ACEOF
68768 rm -f conftest.$ac_objext conftest$ac_exeext
68769 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68770 (eval $ac_link) 2>conftest.er1
68771 ac_status=$?
68772 grep -v '^ *+' conftest.er1 >conftest.err
68773 rm -f conftest.er1
68774 cat conftest.err >&5
68775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68776 (exit $ac_status); } &&
68777 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
68778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68779 (eval $ac_try) 2>&5
68780 ac_status=$?
68781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68782 (exit $ac_status); }; } &&
68783 { ac_try='test -s conftest$ac_exeext'
68784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68785 (eval $ac_try) 2>&5
68786 ac_status=$?
68787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68788 (exit $ac_status); }; }; then
68789 eval "$as_ac_var=yes"
68790 else
68791 echo "$as_me: failed program was:" >&5
68792 sed 's/^/| /' conftest.$ac_ext >&5
68793
68794 eval "$as_ac_var=no"
68795 fi
68796 rm -f conftest.err conftest.$ac_objext \
68797 conftest$ac_exeext conftest.$ac_ext
68798 fi
68799 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68800 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68801 if test `eval echo '${'$as_ac_var'}'` = yes; then
68802 cat >>confdefs.h <<_ACEOF
68803 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68804 _ACEOF
68805
68806 fi
68807 done
68808
68809 fi
68810 fi
68811
68812
68813
68814
68815
68816
68817 echo "$as_me:$LINENO: checking for log10l declaration" >&5
68818 echo $ECHO_N "checking for log10l declaration... $ECHO_C" >&6
68819 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
68820 if test "${glibcxx_cv_func_log10l_use+set}" = set; then
68821 echo $ECHO_N "(cached) $ECHO_C" >&6
68822 else
68823
68824
68825
68826 ac_ext=cc
68827 ac_cpp='$CXXCPP $CPPFLAGS'
68828 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68829 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68830 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68831
68832 cat >conftest.$ac_ext <<_ACEOF
68833 /* confdefs.h. */
68834 _ACEOF
68835 cat confdefs.h >>conftest.$ac_ext
68836 cat >>conftest.$ac_ext <<_ACEOF
68837 /* end confdefs.h. */
68838 #include <math.h>
68839 #ifdef HAVE_IEEEFP_H
68840 #include <ieeefp.h>
68841 #endif
68842
68843 int
68844 main ()
68845 {
68846 log10l(0);
68847 ;
68848 return 0;
68849 }
68850 _ACEOF
68851 rm -f conftest.$ac_objext
68852 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68853 (eval $ac_compile) 2>conftest.er1
68854 ac_status=$?
68855 grep -v '^ *+' conftest.er1 >conftest.err
68856 rm -f conftest.er1
68857 cat conftest.err >&5
68858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68859 (exit $ac_status); } &&
68860 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
68861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68862 (eval $ac_try) 2>&5
68863 ac_status=$?
68864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68865 (exit $ac_status); }; } &&
68866 { ac_try='test -s conftest.$ac_objext'
68867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68868 (eval $ac_try) 2>&5
68869 ac_status=$?
68870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68871 (exit $ac_status); }; }; then
68872 glibcxx_cv_func_log10l_use=yes
68873 else
68874 echo "$as_me: failed program was:" >&5
68875 sed 's/^/| /' conftest.$ac_ext >&5
68876
68877 glibcxx_cv_func_log10l_use=no
68878 fi
68879 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68880 ac_ext=c
68881 ac_cpp='$CPP $CPPFLAGS'
68882 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68883 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68884 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68885
68886
68887 fi
68888
68889 fi
68890 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10l_use" >&5
68891 echo "${ECHO_T}$glibcxx_cv_func_log10l_use" >&6
68892
68893 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
68894
68895 for ac_func in log10l
68896 do
68897 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68898 echo "$as_me:$LINENO: checking for $ac_func" >&5
68899 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68900 if eval "test \"\${$as_ac_var+set}\" = set"; then
68901 echo $ECHO_N "(cached) $ECHO_C" >&6
68902 else
68903 if test x$gcc_no_link = xyes; then
68904 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68905 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68906 { (exit 1); exit 1; }; }
68907 fi
68908 cat >conftest.$ac_ext <<_ACEOF
68909 /* confdefs.h. */
68910 _ACEOF
68911 cat confdefs.h >>conftest.$ac_ext
68912 cat >>conftest.$ac_ext <<_ACEOF
68913 /* end confdefs.h. */
68914 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68915 For example, HP-UX 11i <limits.h> declares gettimeofday. */
68916 #define $ac_func innocuous_$ac_func
68917
68918 /* System header to define __stub macros and hopefully few prototypes,
68919 which can conflict with char $ac_func (); below.
68920 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68921 <limits.h> exists even on freestanding compilers. */
68922
68923 #ifdef __STDC__
68924 # include <limits.h>
68925 #else
68926 # include <assert.h>
68927 #endif
68928
68929 #undef $ac_func
68930
68931 /* Override any gcc2 internal prototype to avoid an error. */
68932 #ifdef __cplusplus
68933 extern "C"
68934 {
68935 #endif
68936 /* We use char because int might match the return type of a gcc2
68937 builtin and then its argument prototype would still apply. */
68938 char $ac_func ();
68939 /* The GNU C library defines this for functions which it implements
68940 to always fail with ENOSYS. Some functions are actually named
68941 something starting with __ and the normal name is an alias. */
68942 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68943 choke me
68944 #else
68945 char (*f) () = $ac_func;
68946 #endif
68947 #ifdef __cplusplus
68948 }
68949 #endif
68950
68951 int
68952 main ()
68953 {
68954 return f != $ac_func;
68955 ;
68956 return 0;
68957 }
68958 _ACEOF
68959 rm -f conftest.$ac_objext conftest$ac_exeext
68960 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68961 (eval $ac_link) 2>conftest.er1
68962 ac_status=$?
68963 grep -v '^ *+' conftest.er1 >conftest.err
68964 rm -f conftest.er1
68965 cat conftest.err >&5
68966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68967 (exit $ac_status); } &&
68968 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
68969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68970 (eval $ac_try) 2>&5
68971 ac_status=$?
68972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68973 (exit $ac_status); }; } &&
68974 { ac_try='test -s conftest$ac_exeext'
68975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68976 (eval $ac_try) 2>&5
68977 ac_status=$?
68978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68979 (exit $ac_status); }; }; then
68980 eval "$as_ac_var=yes"
68981 else
68982 echo "$as_me: failed program was:" >&5
68983 sed 's/^/| /' conftest.$ac_ext >&5
68984
68985 eval "$as_ac_var=no"
68986 fi
68987 rm -f conftest.err conftest.$ac_objext \
68988 conftest$ac_exeext conftest.$ac_ext
68989 fi
68990 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68991 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68992 if test `eval echo '${'$as_ac_var'}'` = yes; then
68993 cat >>confdefs.h <<_ACEOF
68994 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68995 _ACEOF
68996
68997 fi
68998 done
68999
69000 else
69001
69002 echo "$as_me:$LINENO: checking for _log10l declaration" >&5
69003 echo $ECHO_N "checking for _log10l declaration... $ECHO_C" >&6
69004 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
69005 if test "${glibcxx_cv_func__log10l_use+set}" = set; then
69006 echo $ECHO_N "(cached) $ECHO_C" >&6
69007 else
69008
69009
69010
69011 ac_ext=cc
69012 ac_cpp='$CXXCPP $CPPFLAGS'
69013 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69014 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69015 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69016
69017 cat >conftest.$ac_ext <<_ACEOF
69018 /* confdefs.h. */
69019 _ACEOF
69020 cat confdefs.h >>conftest.$ac_ext
69021 cat >>conftest.$ac_ext <<_ACEOF
69022 /* end confdefs.h. */
69023 #include <math.h>
69024 #ifdef HAVE_IEEEFP_H
69025 #include <ieeefp.h>
69026 #endif
69027
69028 int
69029 main ()
69030 {
69031 _log10l(0);
69032 ;
69033 return 0;
69034 }
69035 _ACEOF
69036 rm -f conftest.$ac_objext
69037 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69038 (eval $ac_compile) 2>conftest.er1
69039 ac_status=$?
69040 grep -v '^ *+' conftest.er1 >conftest.err
69041 rm -f conftest.er1
69042 cat conftest.err >&5
69043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69044 (exit $ac_status); } &&
69045 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
69046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69047 (eval $ac_try) 2>&5
69048 ac_status=$?
69049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69050 (exit $ac_status); }; } &&
69051 { ac_try='test -s conftest.$ac_objext'
69052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69053 (eval $ac_try) 2>&5
69054 ac_status=$?
69055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69056 (exit $ac_status); }; }; then
69057 glibcxx_cv_func__log10l_use=yes
69058 else
69059 echo "$as_me: failed program was:" >&5
69060 sed 's/^/| /' conftest.$ac_ext >&5
69061
69062 glibcxx_cv_func__log10l_use=no
69063 fi
69064 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69065 ac_ext=c
69066 ac_cpp='$CPP $CPPFLAGS'
69067 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69068 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69069 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69070
69071
69072 fi
69073
69074 fi
69075 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10l_use" >&5
69076 echo "${ECHO_T}$glibcxx_cv_func__log10l_use" >&6
69077
69078 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
69079
69080 for ac_func in _log10l
69081 do
69082 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69083 echo "$as_me:$LINENO: checking for $ac_func" >&5
69084 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69085 if eval "test \"\${$as_ac_var+set}\" = set"; then
69086 echo $ECHO_N "(cached) $ECHO_C" >&6
69087 else
69088 if test x$gcc_no_link = xyes; then
69089 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69090 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69091 { (exit 1); exit 1; }; }
69092 fi
69093 cat >conftest.$ac_ext <<_ACEOF
69094 /* confdefs.h. */
69095 _ACEOF
69096 cat confdefs.h >>conftest.$ac_ext
69097 cat >>conftest.$ac_ext <<_ACEOF
69098 /* end confdefs.h. */
69099 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69100 For example, HP-UX 11i <limits.h> declares gettimeofday. */
69101 #define $ac_func innocuous_$ac_func
69102
69103 /* System header to define __stub macros and hopefully few prototypes,
69104 which can conflict with char $ac_func (); below.
69105 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69106 <limits.h> exists even on freestanding compilers. */
69107
69108 #ifdef __STDC__
69109 # include <limits.h>
69110 #else
69111 # include <assert.h>
69112 #endif
69113
69114 #undef $ac_func
69115
69116 /* Override any gcc2 internal prototype to avoid an error. */
69117 #ifdef __cplusplus
69118 extern "C"
69119 {
69120 #endif
69121 /* We use char because int might match the return type of a gcc2
69122 builtin and then its argument prototype would still apply. */
69123 char $ac_func ();
69124 /* The GNU C library defines this for functions which it implements
69125 to always fail with ENOSYS. Some functions are actually named
69126 something starting with __ and the normal name is an alias. */
69127 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69128 choke me
69129 #else
69130 char (*f) () = $ac_func;
69131 #endif
69132 #ifdef __cplusplus
69133 }
69134 #endif
69135
69136 int
69137 main ()
69138 {
69139 return f != $ac_func;
69140 ;
69141 return 0;
69142 }
69143 _ACEOF
69144 rm -f conftest.$ac_objext conftest$ac_exeext
69145 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69146 (eval $ac_link) 2>conftest.er1
69147 ac_status=$?
69148 grep -v '^ *+' conftest.er1 >conftest.err
69149 rm -f conftest.er1
69150 cat conftest.err >&5
69151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69152 (exit $ac_status); } &&
69153 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
69154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69155 (eval $ac_try) 2>&5
69156 ac_status=$?
69157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69158 (exit $ac_status); }; } &&
69159 { ac_try='test -s conftest$ac_exeext'
69160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69161 (eval $ac_try) 2>&5
69162 ac_status=$?
69163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69164 (exit $ac_status); }; }; then
69165 eval "$as_ac_var=yes"
69166 else
69167 echo "$as_me: failed program was:" >&5
69168 sed 's/^/| /' conftest.$ac_ext >&5
69169
69170 eval "$as_ac_var=no"
69171 fi
69172 rm -f conftest.err conftest.$ac_objext \
69173 conftest$ac_exeext conftest.$ac_ext
69174 fi
69175 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69176 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69177 if test `eval echo '${'$as_ac_var'}'` = yes; then
69178 cat >>confdefs.h <<_ACEOF
69179 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69180 _ACEOF
69181
69182 fi
69183 done
69184
69185 fi
69186 fi
69187
69188
69189
69190
69191
69192
69193 echo "$as_me:$LINENO: checking for modfl declaration" >&5
69194 echo $ECHO_N "checking for modfl declaration... $ECHO_C" >&6
69195 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
69196 if test "${glibcxx_cv_func_modfl_use+set}" = set; then
69197 echo $ECHO_N "(cached) $ECHO_C" >&6
69198 else
69199
69200
69201
69202 ac_ext=cc
69203 ac_cpp='$CXXCPP $CPPFLAGS'
69204 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69205 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69206 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69207
69208 cat >conftest.$ac_ext <<_ACEOF
69209 /* confdefs.h. */
69210 _ACEOF
69211 cat confdefs.h >>conftest.$ac_ext
69212 cat >>conftest.$ac_ext <<_ACEOF
69213 /* end confdefs.h. */
69214 #include <math.h>
69215 int
69216 main ()
69217 {
69218 modfl(0, 0);
69219 ;
69220 return 0;
69221 }
69222 _ACEOF
69223 rm -f conftest.$ac_objext
69224 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69225 (eval $ac_compile) 2>conftest.er1
69226 ac_status=$?
69227 grep -v '^ *+' conftest.er1 >conftest.err
69228 rm -f conftest.er1
69229 cat conftest.err >&5
69230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69231 (exit $ac_status); } &&
69232 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
69233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69234 (eval $ac_try) 2>&5
69235 ac_status=$?
69236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69237 (exit $ac_status); }; } &&
69238 { ac_try='test -s conftest.$ac_objext'
69239 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69240 (eval $ac_try) 2>&5
69241 ac_status=$?
69242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69243 (exit $ac_status); }; }; then
69244 glibcxx_cv_func_modfl_use=yes
69245 else
69246 echo "$as_me: failed program was:" >&5
69247 sed 's/^/| /' conftest.$ac_ext >&5
69248
69249 glibcxx_cv_func_modfl_use=no
69250 fi
69251 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69252 ac_ext=c
69253 ac_cpp='$CPP $CPPFLAGS'
69254 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69255 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69256 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69257
69258
69259 fi
69260
69261 fi
69262 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modfl_use" >&5
69263 echo "${ECHO_T}$glibcxx_cv_func_modfl_use" >&6
69264
69265 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
69266
69267 for ac_func in modfl
69268 do
69269 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69270 echo "$as_me:$LINENO: checking for $ac_func" >&5
69271 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69272 if eval "test \"\${$as_ac_var+set}\" = set"; then
69273 echo $ECHO_N "(cached) $ECHO_C" >&6
69274 else
69275 if test x$gcc_no_link = xyes; then
69276 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69277 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69278 { (exit 1); exit 1; }; }
69279 fi
69280 cat >conftest.$ac_ext <<_ACEOF
69281 /* confdefs.h. */
69282 _ACEOF
69283 cat confdefs.h >>conftest.$ac_ext
69284 cat >>conftest.$ac_ext <<_ACEOF
69285 /* end confdefs.h. */
69286 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69287 For example, HP-UX 11i <limits.h> declares gettimeofday. */
69288 #define $ac_func innocuous_$ac_func
69289
69290 /* System header to define __stub macros and hopefully few prototypes,
69291 which can conflict with char $ac_func (); below.
69292 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69293 <limits.h> exists even on freestanding compilers. */
69294
69295 #ifdef __STDC__
69296 # include <limits.h>
69297 #else
69298 # include <assert.h>
69299 #endif
69300
69301 #undef $ac_func
69302
69303 /* Override any gcc2 internal prototype to avoid an error. */
69304 #ifdef __cplusplus
69305 extern "C"
69306 {
69307 #endif
69308 /* We use char because int might match the return type of a gcc2
69309 builtin and then its argument prototype would still apply. */
69310 char $ac_func ();
69311 /* The GNU C library defines this for functions which it implements
69312 to always fail with ENOSYS. Some functions are actually named
69313 something starting with __ and the normal name is an alias. */
69314 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69315 choke me
69316 #else
69317 char (*f) () = $ac_func;
69318 #endif
69319 #ifdef __cplusplus
69320 }
69321 #endif
69322
69323 int
69324 main ()
69325 {
69326 return f != $ac_func;
69327 ;
69328 return 0;
69329 }
69330 _ACEOF
69331 rm -f conftest.$ac_objext conftest$ac_exeext
69332 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69333 (eval $ac_link) 2>conftest.er1
69334 ac_status=$?
69335 grep -v '^ *+' conftest.er1 >conftest.err
69336 rm -f conftest.er1
69337 cat conftest.err >&5
69338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69339 (exit $ac_status); } &&
69340 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
69341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69342 (eval $ac_try) 2>&5
69343 ac_status=$?
69344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69345 (exit $ac_status); }; } &&
69346 { ac_try='test -s conftest$ac_exeext'
69347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69348 (eval $ac_try) 2>&5
69349 ac_status=$?
69350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69351 (exit $ac_status); }; }; then
69352 eval "$as_ac_var=yes"
69353 else
69354 echo "$as_me: failed program was:" >&5
69355 sed 's/^/| /' conftest.$ac_ext >&5
69356
69357 eval "$as_ac_var=no"
69358 fi
69359 rm -f conftest.err conftest.$ac_objext \
69360 conftest$ac_exeext conftest.$ac_ext
69361 fi
69362 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69363 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69364 if test `eval echo '${'$as_ac_var'}'` = yes; then
69365 cat >>confdefs.h <<_ACEOF
69366 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69367 _ACEOF
69368
69369 fi
69370 done
69371
69372 else
69373
69374 echo "$as_me:$LINENO: checking for _modfl declaration" >&5
69375 echo $ECHO_N "checking for _modfl declaration... $ECHO_C" >&6
69376 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
69377 if test "${glibcxx_cv_func__modfl_use+set}" = set; then
69378 echo $ECHO_N "(cached) $ECHO_C" >&6
69379 else
69380
69381
69382
69383 ac_ext=cc
69384 ac_cpp='$CXXCPP $CPPFLAGS'
69385 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69386 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69387 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69388
69389 cat >conftest.$ac_ext <<_ACEOF
69390 /* confdefs.h. */
69391 _ACEOF
69392 cat confdefs.h >>conftest.$ac_ext
69393 cat >>conftest.$ac_ext <<_ACEOF
69394 /* end confdefs.h. */
69395 #include <math.h>
69396 int
69397 main ()
69398 {
69399 _modfl(0, 0);
69400 ;
69401 return 0;
69402 }
69403 _ACEOF
69404 rm -f conftest.$ac_objext
69405 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69406 (eval $ac_compile) 2>conftest.er1
69407 ac_status=$?
69408 grep -v '^ *+' conftest.er1 >conftest.err
69409 rm -f conftest.er1
69410 cat conftest.err >&5
69411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69412 (exit $ac_status); } &&
69413 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
69414 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69415 (eval $ac_try) 2>&5
69416 ac_status=$?
69417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69418 (exit $ac_status); }; } &&
69419 { ac_try='test -s conftest.$ac_objext'
69420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69421 (eval $ac_try) 2>&5
69422 ac_status=$?
69423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69424 (exit $ac_status); }; }; then
69425 glibcxx_cv_func__modfl_use=yes
69426 else
69427 echo "$as_me: failed program was:" >&5
69428 sed 's/^/| /' conftest.$ac_ext >&5
69429
69430 glibcxx_cv_func__modfl_use=no
69431 fi
69432 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69433 ac_ext=c
69434 ac_cpp='$CPP $CPPFLAGS'
69435 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69436 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69437 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69438
69439
69440 fi
69441
69442 fi
69443 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modfl_use" >&5
69444 echo "${ECHO_T}$glibcxx_cv_func__modfl_use" >&6
69445
69446 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
69447
69448 for ac_func in _modfl
69449 do
69450 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69451 echo "$as_me:$LINENO: checking for $ac_func" >&5
69452 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69453 if eval "test \"\${$as_ac_var+set}\" = set"; then
69454 echo $ECHO_N "(cached) $ECHO_C" >&6
69455 else
69456 if test x$gcc_no_link = xyes; then
69457 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69458 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69459 { (exit 1); exit 1; }; }
69460 fi
69461 cat >conftest.$ac_ext <<_ACEOF
69462 /* confdefs.h. */
69463 _ACEOF
69464 cat confdefs.h >>conftest.$ac_ext
69465 cat >>conftest.$ac_ext <<_ACEOF
69466 /* end confdefs.h. */
69467 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69468 For example, HP-UX 11i <limits.h> declares gettimeofday. */
69469 #define $ac_func innocuous_$ac_func
69470
69471 /* System header to define __stub macros and hopefully few prototypes,
69472 which can conflict with char $ac_func (); below.
69473 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69474 <limits.h> exists even on freestanding compilers. */
69475
69476 #ifdef __STDC__
69477 # include <limits.h>
69478 #else
69479 # include <assert.h>
69480 #endif
69481
69482 #undef $ac_func
69483
69484 /* Override any gcc2 internal prototype to avoid an error. */
69485 #ifdef __cplusplus
69486 extern "C"
69487 {
69488 #endif
69489 /* We use char because int might match the return type of a gcc2
69490 builtin and then its argument prototype would still apply. */
69491 char $ac_func ();
69492 /* The GNU C library defines this for functions which it implements
69493 to always fail with ENOSYS. Some functions are actually named
69494 something starting with __ and the normal name is an alias. */
69495 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69496 choke me
69497 #else
69498 char (*f) () = $ac_func;
69499 #endif
69500 #ifdef __cplusplus
69501 }
69502 #endif
69503
69504 int
69505 main ()
69506 {
69507 return f != $ac_func;
69508 ;
69509 return 0;
69510 }
69511 _ACEOF
69512 rm -f conftest.$ac_objext conftest$ac_exeext
69513 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69514 (eval $ac_link) 2>conftest.er1
69515 ac_status=$?
69516 grep -v '^ *+' conftest.er1 >conftest.err
69517 rm -f conftest.er1
69518 cat conftest.err >&5
69519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69520 (exit $ac_status); } &&
69521 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
69522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69523 (eval $ac_try) 2>&5
69524 ac_status=$?
69525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69526 (exit $ac_status); }; } &&
69527 { ac_try='test -s conftest$ac_exeext'
69528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69529 (eval $ac_try) 2>&5
69530 ac_status=$?
69531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69532 (exit $ac_status); }; }; then
69533 eval "$as_ac_var=yes"
69534 else
69535 echo "$as_me: failed program was:" >&5
69536 sed 's/^/| /' conftest.$ac_ext >&5
69537
69538 eval "$as_ac_var=no"
69539 fi
69540 rm -f conftest.err conftest.$ac_objext \
69541 conftest$ac_exeext conftest.$ac_ext
69542 fi
69543 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69544 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69545 if test `eval echo '${'$as_ac_var'}'` = yes; then
69546 cat >>confdefs.h <<_ACEOF
69547 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69548 _ACEOF
69549
69550 fi
69551 done
69552
69553 fi
69554 fi
69555
69556
69557
69558
69559
69560
69561 echo "$as_me:$LINENO: checking for powl declaration" >&5
69562 echo $ECHO_N "checking for powl declaration... $ECHO_C" >&6
69563 if test x${glibcxx_cv_func_powl_use+set} != xset; then
69564 if test "${glibcxx_cv_func_powl_use+set}" = set; then
69565 echo $ECHO_N "(cached) $ECHO_C" >&6
69566 else
69567
69568
69569
69570 ac_ext=cc
69571 ac_cpp='$CXXCPP $CPPFLAGS'
69572 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69573 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69574 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69575
69576 cat >conftest.$ac_ext <<_ACEOF
69577 /* confdefs.h. */
69578 _ACEOF
69579 cat confdefs.h >>conftest.$ac_ext
69580 cat >>conftest.$ac_ext <<_ACEOF
69581 /* end confdefs.h. */
69582 #include <math.h>
69583 int
69584 main ()
69585 {
69586 powl(0, 0);
69587 ;
69588 return 0;
69589 }
69590 _ACEOF
69591 rm -f conftest.$ac_objext
69592 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69593 (eval $ac_compile) 2>conftest.er1
69594 ac_status=$?
69595 grep -v '^ *+' conftest.er1 >conftest.err
69596 rm -f conftest.er1
69597 cat conftest.err >&5
69598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69599 (exit $ac_status); } &&
69600 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
69601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69602 (eval $ac_try) 2>&5
69603 ac_status=$?
69604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69605 (exit $ac_status); }; } &&
69606 { ac_try='test -s conftest.$ac_objext'
69607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69608 (eval $ac_try) 2>&5
69609 ac_status=$?
69610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69611 (exit $ac_status); }; }; then
69612 glibcxx_cv_func_powl_use=yes
69613 else
69614 echo "$as_me: failed program was:" >&5
69615 sed 's/^/| /' conftest.$ac_ext >&5
69616
69617 glibcxx_cv_func_powl_use=no
69618 fi
69619 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69620 ac_ext=c
69621 ac_cpp='$CPP $CPPFLAGS'
69622 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69623 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69624 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69625
69626
69627 fi
69628
69629 fi
69630 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powl_use" >&5
69631 echo "${ECHO_T}$glibcxx_cv_func_powl_use" >&6
69632
69633 if test x$glibcxx_cv_func_powl_use = x"yes"; then
69634
69635 for ac_func in powl
69636 do
69637 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69638 echo "$as_me:$LINENO: checking for $ac_func" >&5
69639 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69640 if eval "test \"\${$as_ac_var+set}\" = set"; then
69641 echo $ECHO_N "(cached) $ECHO_C" >&6
69642 else
69643 if test x$gcc_no_link = xyes; then
69644 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69645 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69646 { (exit 1); exit 1; }; }
69647 fi
69648 cat >conftest.$ac_ext <<_ACEOF
69649 /* confdefs.h. */
69650 _ACEOF
69651 cat confdefs.h >>conftest.$ac_ext
69652 cat >>conftest.$ac_ext <<_ACEOF
69653 /* end confdefs.h. */
69654 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69655 For example, HP-UX 11i <limits.h> declares gettimeofday. */
69656 #define $ac_func innocuous_$ac_func
69657
69658 /* System header to define __stub macros and hopefully few prototypes,
69659 which can conflict with char $ac_func (); below.
69660 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69661 <limits.h> exists even on freestanding compilers. */
69662
69663 #ifdef __STDC__
69664 # include <limits.h>
69665 #else
69666 # include <assert.h>
69667 #endif
69668
69669 #undef $ac_func
69670
69671 /* Override any gcc2 internal prototype to avoid an error. */
69672 #ifdef __cplusplus
69673 extern "C"
69674 {
69675 #endif
69676 /* We use char because int might match the return type of a gcc2
69677 builtin and then its argument prototype would still apply. */
69678 char $ac_func ();
69679 /* The GNU C library defines this for functions which it implements
69680 to always fail with ENOSYS. Some functions are actually named
69681 something starting with __ and the normal name is an alias. */
69682 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69683 choke me
69684 #else
69685 char (*f) () = $ac_func;
69686 #endif
69687 #ifdef __cplusplus
69688 }
69689 #endif
69690
69691 int
69692 main ()
69693 {
69694 return f != $ac_func;
69695 ;
69696 return 0;
69697 }
69698 _ACEOF
69699 rm -f conftest.$ac_objext conftest$ac_exeext
69700 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69701 (eval $ac_link) 2>conftest.er1
69702 ac_status=$?
69703 grep -v '^ *+' conftest.er1 >conftest.err
69704 rm -f conftest.er1
69705 cat conftest.err >&5
69706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69707 (exit $ac_status); } &&
69708 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
69709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69710 (eval $ac_try) 2>&5
69711 ac_status=$?
69712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69713 (exit $ac_status); }; } &&
69714 { ac_try='test -s conftest$ac_exeext'
69715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69716 (eval $ac_try) 2>&5
69717 ac_status=$?
69718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69719 (exit $ac_status); }; }; then
69720 eval "$as_ac_var=yes"
69721 else
69722 echo "$as_me: failed program was:" >&5
69723 sed 's/^/| /' conftest.$ac_ext >&5
69724
69725 eval "$as_ac_var=no"
69726 fi
69727 rm -f conftest.err conftest.$ac_objext \
69728 conftest$ac_exeext conftest.$ac_ext
69729 fi
69730 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69731 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69732 if test `eval echo '${'$as_ac_var'}'` = yes; then
69733 cat >>confdefs.h <<_ACEOF
69734 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69735 _ACEOF
69736
69737 fi
69738 done
69739
69740 else
69741
69742 echo "$as_me:$LINENO: checking for _powl declaration" >&5
69743 echo $ECHO_N "checking for _powl declaration... $ECHO_C" >&6
69744 if test x${glibcxx_cv_func__powl_use+set} != xset; then
69745 if test "${glibcxx_cv_func__powl_use+set}" = set; then
69746 echo $ECHO_N "(cached) $ECHO_C" >&6
69747 else
69748
69749
69750
69751 ac_ext=cc
69752 ac_cpp='$CXXCPP $CPPFLAGS'
69753 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69754 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69755 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69756
69757 cat >conftest.$ac_ext <<_ACEOF
69758 /* confdefs.h. */
69759 _ACEOF
69760 cat confdefs.h >>conftest.$ac_ext
69761 cat >>conftest.$ac_ext <<_ACEOF
69762 /* end confdefs.h. */
69763 #include <math.h>
69764 int
69765 main ()
69766 {
69767 _powl(0, 0);
69768 ;
69769 return 0;
69770 }
69771 _ACEOF
69772 rm -f conftest.$ac_objext
69773 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69774 (eval $ac_compile) 2>conftest.er1
69775 ac_status=$?
69776 grep -v '^ *+' conftest.er1 >conftest.err
69777 rm -f conftest.er1
69778 cat conftest.err >&5
69779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69780 (exit $ac_status); } &&
69781 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
69782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69783 (eval $ac_try) 2>&5
69784 ac_status=$?
69785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69786 (exit $ac_status); }; } &&
69787 { ac_try='test -s conftest.$ac_objext'
69788 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69789 (eval $ac_try) 2>&5
69790 ac_status=$?
69791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69792 (exit $ac_status); }; }; then
69793 glibcxx_cv_func__powl_use=yes
69794 else
69795 echo "$as_me: failed program was:" >&5
69796 sed 's/^/| /' conftest.$ac_ext >&5
69797
69798 glibcxx_cv_func__powl_use=no
69799 fi
69800 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69801 ac_ext=c
69802 ac_cpp='$CPP $CPPFLAGS'
69803 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69804 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69805 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69806
69807
69808 fi
69809
69810 fi
69811 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powl_use" >&5
69812 echo "${ECHO_T}$glibcxx_cv_func__powl_use" >&6
69813
69814 if test x$glibcxx_cv_func__powl_use = x"yes"; then
69815
69816 for ac_func in _powl
69817 do
69818 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69819 echo "$as_me:$LINENO: checking for $ac_func" >&5
69820 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69821 if eval "test \"\${$as_ac_var+set}\" = set"; then
69822 echo $ECHO_N "(cached) $ECHO_C" >&6
69823 else
69824 if test x$gcc_no_link = xyes; then
69825 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69826 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69827 { (exit 1); exit 1; }; }
69828 fi
69829 cat >conftest.$ac_ext <<_ACEOF
69830 /* confdefs.h. */
69831 _ACEOF
69832 cat confdefs.h >>conftest.$ac_ext
69833 cat >>conftest.$ac_ext <<_ACEOF
69834 /* end confdefs.h. */
69835 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69836 For example, HP-UX 11i <limits.h> declares gettimeofday. */
69837 #define $ac_func innocuous_$ac_func
69838
69839 /* System header to define __stub macros and hopefully few prototypes,
69840 which can conflict with char $ac_func (); below.
69841 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69842 <limits.h> exists even on freestanding compilers. */
69843
69844 #ifdef __STDC__
69845 # include <limits.h>
69846 #else
69847 # include <assert.h>
69848 #endif
69849
69850 #undef $ac_func
69851
69852 /* Override any gcc2 internal prototype to avoid an error. */
69853 #ifdef __cplusplus
69854 extern "C"
69855 {
69856 #endif
69857 /* We use char because int might match the return type of a gcc2
69858 builtin and then its argument prototype would still apply. */
69859 char $ac_func ();
69860 /* The GNU C library defines this for functions which it implements
69861 to always fail with ENOSYS. Some functions are actually named
69862 something starting with __ and the normal name is an alias. */
69863 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69864 choke me
69865 #else
69866 char (*f) () = $ac_func;
69867 #endif
69868 #ifdef __cplusplus
69869 }
69870 #endif
69871
69872 int
69873 main ()
69874 {
69875 return f != $ac_func;
69876 ;
69877 return 0;
69878 }
69879 _ACEOF
69880 rm -f conftest.$ac_objext conftest$ac_exeext
69881 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69882 (eval $ac_link) 2>conftest.er1
69883 ac_status=$?
69884 grep -v '^ *+' conftest.er1 >conftest.err
69885 rm -f conftest.er1
69886 cat conftest.err >&5
69887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69888 (exit $ac_status); } &&
69889 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
69890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69891 (eval $ac_try) 2>&5
69892 ac_status=$?
69893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69894 (exit $ac_status); }; } &&
69895 { ac_try='test -s conftest$ac_exeext'
69896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69897 (eval $ac_try) 2>&5
69898 ac_status=$?
69899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69900 (exit $ac_status); }; }; then
69901 eval "$as_ac_var=yes"
69902 else
69903 echo "$as_me: failed program was:" >&5
69904 sed 's/^/| /' conftest.$ac_ext >&5
69905
69906 eval "$as_ac_var=no"
69907 fi
69908 rm -f conftest.err conftest.$ac_objext \
69909 conftest$ac_exeext conftest.$ac_ext
69910 fi
69911 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69912 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69913 if test `eval echo '${'$as_ac_var'}'` = yes; then
69914 cat >>confdefs.h <<_ACEOF
69915 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69916 _ACEOF
69917
69918 fi
69919 done
69920
69921 fi
69922 fi
69923
69924
69925
69926
69927
69928
69929 echo "$as_me:$LINENO: checking for sqrtl declaration" >&5
69930 echo $ECHO_N "checking for sqrtl declaration... $ECHO_C" >&6
69931 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
69932 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then
69933 echo $ECHO_N "(cached) $ECHO_C" >&6
69934 else
69935
69936
69937
69938 ac_ext=cc
69939 ac_cpp='$CXXCPP $CPPFLAGS'
69940 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69941 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69942 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69943
69944 cat >conftest.$ac_ext <<_ACEOF
69945 /* confdefs.h. */
69946 _ACEOF
69947 cat confdefs.h >>conftest.$ac_ext
69948 cat >>conftest.$ac_ext <<_ACEOF
69949 /* end confdefs.h. */
69950 #include <math.h>
69951 #ifdef HAVE_IEEEFP_H
69952 #include <ieeefp.h>
69953 #endif
69954
69955 int
69956 main ()
69957 {
69958 sqrtl(0);
69959 ;
69960 return 0;
69961 }
69962 _ACEOF
69963 rm -f conftest.$ac_objext
69964 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69965 (eval $ac_compile) 2>conftest.er1
69966 ac_status=$?
69967 grep -v '^ *+' conftest.er1 >conftest.err
69968 rm -f conftest.er1
69969 cat conftest.err >&5
69970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69971 (exit $ac_status); } &&
69972 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
69973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69974 (eval $ac_try) 2>&5
69975 ac_status=$?
69976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69977 (exit $ac_status); }; } &&
69978 { ac_try='test -s conftest.$ac_objext'
69979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69980 (eval $ac_try) 2>&5
69981 ac_status=$?
69982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69983 (exit $ac_status); }; }; then
69984 glibcxx_cv_func_sqrtl_use=yes
69985 else
69986 echo "$as_me: failed program was:" >&5
69987 sed 's/^/| /' conftest.$ac_ext >&5
69988
69989 glibcxx_cv_func_sqrtl_use=no
69990 fi
69991 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69992 ac_ext=c
69993 ac_cpp='$CPP $CPPFLAGS'
69994 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69995 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69996 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69997
69998
69999 fi
70000
70001 fi
70002 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtl_use" >&5
70003 echo "${ECHO_T}$glibcxx_cv_func_sqrtl_use" >&6
70004
70005 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
70006
70007 for ac_func in sqrtl
70008 do
70009 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70010 echo "$as_me:$LINENO: checking for $ac_func" >&5
70011 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70012 if eval "test \"\${$as_ac_var+set}\" = set"; then
70013 echo $ECHO_N "(cached) $ECHO_C" >&6
70014 else
70015 if test x$gcc_no_link = xyes; then
70016 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70017 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70018 { (exit 1); exit 1; }; }
70019 fi
70020 cat >conftest.$ac_ext <<_ACEOF
70021 /* confdefs.h. */
70022 _ACEOF
70023 cat confdefs.h >>conftest.$ac_ext
70024 cat >>conftest.$ac_ext <<_ACEOF
70025 /* end confdefs.h. */
70026 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70027 For example, HP-UX 11i <limits.h> declares gettimeofday. */
70028 #define $ac_func innocuous_$ac_func
70029
70030 /* System header to define __stub macros and hopefully few prototypes,
70031 which can conflict with char $ac_func (); below.
70032 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70033 <limits.h> exists even on freestanding compilers. */
70034
70035 #ifdef __STDC__
70036 # include <limits.h>
70037 #else
70038 # include <assert.h>
70039 #endif
70040
70041 #undef $ac_func
70042
70043 /* Override any gcc2 internal prototype to avoid an error. */
70044 #ifdef __cplusplus
70045 extern "C"
70046 {
70047 #endif
70048 /* We use char because int might match the return type of a gcc2
70049 builtin and then its argument prototype would still apply. */
70050 char $ac_func ();
70051 /* The GNU C library defines this for functions which it implements
70052 to always fail with ENOSYS. Some functions are actually named
70053 something starting with __ and the normal name is an alias. */
70054 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70055 choke me
70056 #else
70057 char (*f) () = $ac_func;
70058 #endif
70059 #ifdef __cplusplus
70060 }
70061 #endif
70062
70063 int
70064 main ()
70065 {
70066 return f != $ac_func;
70067 ;
70068 return 0;
70069 }
70070 _ACEOF
70071 rm -f conftest.$ac_objext conftest$ac_exeext
70072 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70073 (eval $ac_link) 2>conftest.er1
70074 ac_status=$?
70075 grep -v '^ *+' conftest.er1 >conftest.err
70076 rm -f conftest.er1
70077 cat conftest.err >&5
70078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70079 (exit $ac_status); } &&
70080 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
70081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70082 (eval $ac_try) 2>&5
70083 ac_status=$?
70084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70085 (exit $ac_status); }; } &&
70086 { ac_try='test -s conftest$ac_exeext'
70087 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70088 (eval $ac_try) 2>&5
70089 ac_status=$?
70090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70091 (exit $ac_status); }; }; then
70092 eval "$as_ac_var=yes"
70093 else
70094 echo "$as_me: failed program was:" >&5
70095 sed 's/^/| /' conftest.$ac_ext >&5
70096
70097 eval "$as_ac_var=no"
70098 fi
70099 rm -f conftest.err conftest.$ac_objext \
70100 conftest$ac_exeext conftest.$ac_ext
70101 fi
70102 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70103 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70104 if test `eval echo '${'$as_ac_var'}'` = yes; then
70105 cat >>confdefs.h <<_ACEOF
70106 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70107 _ACEOF
70108
70109 fi
70110 done
70111
70112 else
70113
70114 echo "$as_me:$LINENO: checking for _sqrtl declaration" >&5
70115 echo $ECHO_N "checking for _sqrtl declaration... $ECHO_C" >&6
70116 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
70117 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then
70118 echo $ECHO_N "(cached) $ECHO_C" >&6
70119 else
70120
70121
70122
70123 ac_ext=cc
70124 ac_cpp='$CXXCPP $CPPFLAGS'
70125 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70126 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70127 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70128
70129 cat >conftest.$ac_ext <<_ACEOF
70130 /* confdefs.h. */
70131 _ACEOF
70132 cat confdefs.h >>conftest.$ac_ext
70133 cat >>conftest.$ac_ext <<_ACEOF
70134 /* end confdefs.h. */
70135 #include <math.h>
70136 #ifdef HAVE_IEEEFP_H
70137 #include <ieeefp.h>
70138 #endif
70139
70140 int
70141 main ()
70142 {
70143 _sqrtl(0);
70144 ;
70145 return 0;
70146 }
70147 _ACEOF
70148 rm -f conftest.$ac_objext
70149 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70150 (eval $ac_compile) 2>conftest.er1
70151 ac_status=$?
70152 grep -v '^ *+' conftest.er1 >conftest.err
70153 rm -f conftest.er1
70154 cat conftest.err >&5
70155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70156 (exit $ac_status); } &&
70157 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
70158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70159 (eval $ac_try) 2>&5
70160 ac_status=$?
70161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70162 (exit $ac_status); }; } &&
70163 { ac_try='test -s conftest.$ac_objext'
70164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70165 (eval $ac_try) 2>&5
70166 ac_status=$?
70167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70168 (exit $ac_status); }; }; then
70169 glibcxx_cv_func__sqrtl_use=yes
70170 else
70171 echo "$as_me: failed program was:" >&5
70172 sed 's/^/| /' conftest.$ac_ext >&5
70173
70174 glibcxx_cv_func__sqrtl_use=no
70175 fi
70176 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70177 ac_ext=c
70178 ac_cpp='$CPP $CPPFLAGS'
70179 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70180 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70181 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70182
70183
70184 fi
70185
70186 fi
70187 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtl_use" >&5
70188 echo "${ECHO_T}$glibcxx_cv_func__sqrtl_use" >&6
70189
70190 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
70191
70192 for ac_func in _sqrtl
70193 do
70194 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70195 echo "$as_me:$LINENO: checking for $ac_func" >&5
70196 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70197 if eval "test \"\${$as_ac_var+set}\" = set"; then
70198 echo $ECHO_N "(cached) $ECHO_C" >&6
70199 else
70200 if test x$gcc_no_link = xyes; then
70201 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70202 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70203 { (exit 1); exit 1; }; }
70204 fi
70205 cat >conftest.$ac_ext <<_ACEOF
70206 /* confdefs.h. */
70207 _ACEOF
70208 cat confdefs.h >>conftest.$ac_ext
70209 cat >>conftest.$ac_ext <<_ACEOF
70210 /* end confdefs.h. */
70211 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70212 For example, HP-UX 11i <limits.h> declares gettimeofday. */
70213 #define $ac_func innocuous_$ac_func
70214
70215 /* System header to define __stub macros and hopefully few prototypes,
70216 which can conflict with char $ac_func (); below.
70217 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70218 <limits.h> exists even on freestanding compilers. */
70219
70220 #ifdef __STDC__
70221 # include <limits.h>
70222 #else
70223 # include <assert.h>
70224 #endif
70225
70226 #undef $ac_func
70227
70228 /* Override any gcc2 internal prototype to avoid an error. */
70229 #ifdef __cplusplus
70230 extern "C"
70231 {
70232 #endif
70233 /* We use char because int might match the return type of a gcc2
70234 builtin and then its argument prototype would still apply. */
70235 char $ac_func ();
70236 /* The GNU C library defines this for functions which it implements
70237 to always fail with ENOSYS. Some functions are actually named
70238 something starting with __ and the normal name is an alias. */
70239 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70240 choke me
70241 #else
70242 char (*f) () = $ac_func;
70243 #endif
70244 #ifdef __cplusplus
70245 }
70246 #endif
70247
70248 int
70249 main ()
70250 {
70251 return f != $ac_func;
70252 ;
70253 return 0;
70254 }
70255 _ACEOF
70256 rm -f conftest.$ac_objext conftest$ac_exeext
70257 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70258 (eval $ac_link) 2>conftest.er1
70259 ac_status=$?
70260 grep -v '^ *+' conftest.er1 >conftest.err
70261 rm -f conftest.er1
70262 cat conftest.err >&5
70263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70264 (exit $ac_status); } &&
70265 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
70266 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70267 (eval $ac_try) 2>&5
70268 ac_status=$?
70269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70270 (exit $ac_status); }; } &&
70271 { ac_try='test -s conftest$ac_exeext'
70272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70273 (eval $ac_try) 2>&5
70274 ac_status=$?
70275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70276 (exit $ac_status); }; }; then
70277 eval "$as_ac_var=yes"
70278 else
70279 echo "$as_me: failed program was:" >&5
70280 sed 's/^/| /' conftest.$ac_ext >&5
70281
70282 eval "$as_ac_var=no"
70283 fi
70284 rm -f conftest.err conftest.$ac_objext \
70285 conftest$ac_exeext conftest.$ac_ext
70286 fi
70287 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70288 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70289 if test `eval echo '${'$as_ac_var'}'` = yes; then
70290 cat >>confdefs.h <<_ACEOF
70291 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70292 _ACEOF
70293
70294 fi
70295 done
70296
70297 fi
70298 fi
70299
70300
70301
70302
70303
70304
70305 echo "$as_me:$LINENO: checking for sincosl declaration" >&5
70306 echo $ECHO_N "checking for sincosl declaration... $ECHO_C" >&6
70307 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
70308 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then
70309 echo $ECHO_N "(cached) $ECHO_C" >&6
70310 else
70311
70312
70313
70314 ac_ext=cc
70315 ac_cpp='$CXXCPP $CPPFLAGS'
70316 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70317 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70318 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70319
70320 cat >conftest.$ac_ext <<_ACEOF
70321 /* confdefs.h. */
70322 _ACEOF
70323 cat confdefs.h >>conftest.$ac_ext
70324 cat >>conftest.$ac_ext <<_ACEOF
70325 /* end confdefs.h. */
70326 #include <math.h>
70327 int
70328 main ()
70329 {
70330 sincosl(0, 0, 0);
70331 ;
70332 return 0;
70333 }
70334 _ACEOF
70335 rm -f conftest.$ac_objext
70336 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70337 (eval $ac_compile) 2>conftest.er1
70338 ac_status=$?
70339 grep -v '^ *+' conftest.er1 >conftest.err
70340 rm -f conftest.er1
70341 cat conftest.err >&5
70342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70343 (exit $ac_status); } &&
70344 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
70345 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70346 (eval $ac_try) 2>&5
70347 ac_status=$?
70348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70349 (exit $ac_status); }; } &&
70350 { ac_try='test -s conftest.$ac_objext'
70351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70352 (eval $ac_try) 2>&5
70353 ac_status=$?
70354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70355 (exit $ac_status); }; }; then
70356 glibcxx_cv_func_sincosl_use=yes
70357 else
70358 echo "$as_me: failed program was:" >&5
70359 sed 's/^/| /' conftest.$ac_ext >&5
70360
70361 glibcxx_cv_func_sincosl_use=no
70362 fi
70363 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70364 ac_ext=c
70365 ac_cpp='$CPP $CPPFLAGS'
70366 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70367 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70368 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70369
70370
70371 fi
70372
70373 fi
70374 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosl_use" >&5
70375 echo "${ECHO_T}$glibcxx_cv_func_sincosl_use" >&6
70376
70377 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
70378
70379 for ac_func in sincosl
70380 do
70381 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70382 echo "$as_me:$LINENO: checking for $ac_func" >&5
70383 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70384 if eval "test \"\${$as_ac_var+set}\" = set"; then
70385 echo $ECHO_N "(cached) $ECHO_C" >&6
70386 else
70387 if test x$gcc_no_link = xyes; then
70388 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70389 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70390 { (exit 1); exit 1; }; }
70391 fi
70392 cat >conftest.$ac_ext <<_ACEOF
70393 /* confdefs.h. */
70394 _ACEOF
70395 cat confdefs.h >>conftest.$ac_ext
70396 cat >>conftest.$ac_ext <<_ACEOF
70397 /* end confdefs.h. */
70398 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70399 For example, HP-UX 11i <limits.h> declares gettimeofday. */
70400 #define $ac_func innocuous_$ac_func
70401
70402 /* System header to define __stub macros and hopefully few prototypes,
70403 which can conflict with char $ac_func (); below.
70404 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70405 <limits.h> exists even on freestanding compilers. */
70406
70407 #ifdef __STDC__
70408 # include <limits.h>
70409 #else
70410 # include <assert.h>
70411 #endif
70412
70413 #undef $ac_func
70414
70415 /* Override any gcc2 internal prototype to avoid an error. */
70416 #ifdef __cplusplus
70417 extern "C"
70418 {
70419 #endif
70420 /* We use char because int might match the return type of a gcc2
70421 builtin and then its argument prototype would still apply. */
70422 char $ac_func ();
70423 /* The GNU C library defines this for functions which it implements
70424 to always fail with ENOSYS. Some functions are actually named
70425 something starting with __ and the normal name is an alias. */
70426 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70427 choke me
70428 #else
70429 char (*f) () = $ac_func;
70430 #endif
70431 #ifdef __cplusplus
70432 }
70433 #endif
70434
70435 int
70436 main ()
70437 {
70438 return f != $ac_func;
70439 ;
70440 return 0;
70441 }
70442 _ACEOF
70443 rm -f conftest.$ac_objext conftest$ac_exeext
70444 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70445 (eval $ac_link) 2>conftest.er1
70446 ac_status=$?
70447 grep -v '^ *+' conftest.er1 >conftest.err
70448 rm -f conftest.er1
70449 cat conftest.err >&5
70450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70451 (exit $ac_status); } &&
70452 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
70453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70454 (eval $ac_try) 2>&5
70455 ac_status=$?
70456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70457 (exit $ac_status); }; } &&
70458 { ac_try='test -s conftest$ac_exeext'
70459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70460 (eval $ac_try) 2>&5
70461 ac_status=$?
70462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70463 (exit $ac_status); }; }; then
70464 eval "$as_ac_var=yes"
70465 else
70466 echo "$as_me: failed program was:" >&5
70467 sed 's/^/| /' conftest.$ac_ext >&5
70468
70469 eval "$as_ac_var=no"
70470 fi
70471 rm -f conftest.err conftest.$ac_objext \
70472 conftest$ac_exeext conftest.$ac_ext
70473 fi
70474 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70475 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70476 if test `eval echo '${'$as_ac_var'}'` = yes; then
70477 cat >>confdefs.h <<_ACEOF
70478 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70479 _ACEOF
70480
70481 fi
70482 done
70483
70484 else
70485
70486 echo "$as_me:$LINENO: checking for _sincosl declaration" >&5
70487 echo $ECHO_N "checking for _sincosl declaration... $ECHO_C" >&6
70488 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
70489 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then
70490 echo $ECHO_N "(cached) $ECHO_C" >&6
70491 else
70492
70493
70494
70495 ac_ext=cc
70496 ac_cpp='$CXXCPP $CPPFLAGS'
70497 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70498 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70499 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70500
70501 cat >conftest.$ac_ext <<_ACEOF
70502 /* confdefs.h. */
70503 _ACEOF
70504 cat confdefs.h >>conftest.$ac_ext
70505 cat >>conftest.$ac_ext <<_ACEOF
70506 /* end confdefs.h. */
70507 #include <math.h>
70508 int
70509 main ()
70510 {
70511 _sincosl(0, 0, 0);
70512 ;
70513 return 0;
70514 }
70515 _ACEOF
70516 rm -f conftest.$ac_objext
70517 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70518 (eval $ac_compile) 2>conftest.er1
70519 ac_status=$?
70520 grep -v '^ *+' conftest.er1 >conftest.err
70521 rm -f conftest.er1
70522 cat conftest.err >&5
70523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70524 (exit $ac_status); } &&
70525 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
70526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70527 (eval $ac_try) 2>&5
70528 ac_status=$?
70529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70530 (exit $ac_status); }; } &&
70531 { ac_try='test -s conftest.$ac_objext'
70532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70533 (eval $ac_try) 2>&5
70534 ac_status=$?
70535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70536 (exit $ac_status); }; }; then
70537 glibcxx_cv_func__sincosl_use=yes
70538 else
70539 echo "$as_me: failed program was:" >&5
70540 sed 's/^/| /' conftest.$ac_ext >&5
70541
70542 glibcxx_cv_func__sincosl_use=no
70543 fi
70544 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70545 ac_ext=c
70546 ac_cpp='$CPP $CPPFLAGS'
70547 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70548 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70549 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70550
70551
70552 fi
70553
70554 fi
70555 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosl_use" >&5
70556 echo "${ECHO_T}$glibcxx_cv_func__sincosl_use" >&6
70557
70558 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
70559
70560 for ac_func in _sincosl
70561 do
70562 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70563 echo "$as_me:$LINENO: checking for $ac_func" >&5
70564 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70565 if eval "test \"\${$as_ac_var+set}\" = set"; then
70566 echo $ECHO_N "(cached) $ECHO_C" >&6
70567 else
70568 if test x$gcc_no_link = xyes; then
70569 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70570 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70571 { (exit 1); exit 1; }; }
70572 fi
70573 cat >conftest.$ac_ext <<_ACEOF
70574 /* confdefs.h. */
70575 _ACEOF
70576 cat confdefs.h >>conftest.$ac_ext
70577 cat >>conftest.$ac_ext <<_ACEOF
70578 /* end confdefs.h. */
70579 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70580 For example, HP-UX 11i <limits.h> declares gettimeofday. */
70581 #define $ac_func innocuous_$ac_func
70582
70583 /* System header to define __stub macros and hopefully few prototypes,
70584 which can conflict with char $ac_func (); below.
70585 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70586 <limits.h> exists even on freestanding compilers. */
70587
70588 #ifdef __STDC__
70589 # include <limits.h>
70590 #else
70591 # include <assert.h>
70592 #endif
70593
70594 #undef $ac_func
70595
70596 /* Override any gcc2 internal prototype to avoid an error. */
70597 #ifdef __cplusplus
70598 extern "C"
70599 {
70600 #endif
70601 /* We use char because int might match the return type of a gcc2
70602 builtin and then its argument prototype would still apply. */
70603 char $ac_func ();
70604 /* The GNU C library defines this for functions which it implements
70605 to always fail with ENOSYS. Some functions are actually named
70606 something starting with __ and the normal name is an alias. */
70607 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70608 choke me
70609 #else
70610 char (*f) () = $ac_func;
70611 #endif
70612 #ifdef __cplusplus
70613 }
70614 #endif
70615
70616 int
70617 main ()
70618 {
70619 return f != $ac_func;
70620 ;
70621 return 0;
70622 }
70623 _ACEOF
70624 rm -f conftest.$ac_objext conftest$ac_exeext
70625 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70626 (eval $ac_link) 2>conftest.er1
70627 ac_status=$?
70628 grep -v '^ *+' conftest.er1 >conftest.err
70629 rm -f conftest.er1
70630 cat conftest.err >&5
70631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70632 (exit $ac_status); } &&
70633 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
70634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70635 (eval $ac_try) 2>&5
70636 ac_status=$?
70637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70638 (exit $ac_status); }; } &&
70639 { ac_try='test -s conftest$ac_exeext'
70640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70641 (eval $ac_try) 2>&5
70642 ac_status=$?
70643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70644 (exit $ac_status); }; }; then
70645 eval "$as_ac_var=yes"
70646 else
70647 echo "$as_me: failed program was:" >&5
70648 sed 's/^/| /' conftest.$ac_ext >&5
70649
70650 eval "$as_ac_var=no"
70651 fi
70652 rm -f conftest.err conftest.$ac_objext \
70653 conftest$ac_exeext conftest.$ac_ext
70654 fi
70655 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70656 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70657 if test `eval echo '${'$as_ac_var'}'` = yes; then
70658 cat >>confdefs.h <<_ACEOF
70659 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70660 _ACEOF
70661
70662 fi
70663 done
70664
70665 fi
70666 fi
70667
70668
70669
70670
70671
70672
70673 echo "$as_me:$LINENO: checking for finitel declaration" >&5
70674 echo $ECHO_N "checking for finitel declaration... $ECHO_C" >&6
70675 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
70676 if test "${glibcxx_cv_func_finitel_use+set}" = set; then
70677 echo $ECHO_N "(cached) $ECHO_C" >&6
70678 else
70679
70680
70681
70682 ac_ext=cc
70683 ac_cpp='$CXXCPP $CPPFLAGS'
70684 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70685 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70686 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70687
70688 cat >conftest.$ac_ext <<_ACEOF
70689 /* confdefs.h. */
70690 _ACEOF
70691 cat confdefs.h >>conftest.$ac_ext
70692 cat >>conftest.$ac_ext <<_ACEOF
70693 /* end confdefs.h. */
70694 #include <math.h>
70695 #ifdef HAVE_IEEEFP_H
70696 #include <ieeefp.h>
70697 #endif
70698
70699 int
70700 main ()
70701 {
70702 finitel(0);
70703 ;
70704 return 0;
70705 }
70706 _ACEOF
70707 rm -f conftest.$ac_objext
70708 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70709 (eval $ac_compile) 2>conftest.er1
70710 ac_status=$?
70711 grep -v '^ *+' conftest.er1 >conftest.err
70712 rm -f conftest.er1
70713 cat conftest.err >&5
70714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70715 (exit $ac_status); } &&
70716 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
70717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70718 (eval $ac_try) 2>&5
70719 ac_status=$?
70720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70721 (exit $ac_status); }; } &&
70722 { ac_try='test -s conftest.$ac_objext'
70723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70724 (eval $ac_try) 2>&5
70725 ac_status=$?
70726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70727 (exit $ac_status); }; }; then
70728 glibcxx_cv_func_finitel_use=yes
70729 else
70730 echo "$as_me: failed program was:" >&5
70731 sed 's/^/| /' conftest.$ac_ext >&5
70732
70733 glibcxx_cv_func_finitel_use=no
70734 fi
70735 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70736 ac_ext=c
70737 ac_cpp='$CPP $CPPFLAGS'
70738 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70739 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70740 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70741
70742
70743 fi
70744
70745 fi
70746 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitel_use" >&5
70747 echo "${ECHO_T}$glibcxx_cv_func_finitel_use" >&6
70748
70749 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
70750
70751 for ac_func in finitel
70752 do
70753 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70754 echo "$as_me:$LINENO: checking for $ac_func" >&5
70755 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70756 if eval "test \"\${$as_ac_var+set}\" = set"; then
70757 echo $ECHO_N "(cached) $ECHO_C" >&6
70758 else
70759 if test x$gcc_no_link = xyes; then
70760 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70761 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70762 { (exit 1); exit 1; }; }
70763 fi
70764 cat >conftest.$ac_ext <<_ACEOF
70765 /* confdefs.h. */
70766 _ACEOF
70767 cat confdefs.h >>conftest.$ac_ext
70768 cat >>conftest.$ac_ext <<_ACEOF
70769 /* end confdefs.h. */
70770 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70771 For example, HP-UX 11i <limits.h> declares gettimeofday. */
70772 #define $ac_func innocuous_$ac_func
70773
70774 /* System header to define __stub macros and hopefully few prototypes,
70775 which can conflict with char $ac_func (); below.
70776 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70777 <limits.h> exists even on freestanding compilers. */
70778
70779 #ifdef __STDC__
70780 # include <limits.h>
70781 #else
70782 # include <assert.h>
70783 #endif
70784
70785 #undef $ac_func
70786
70787 /* Override any gcc2 internal prototype to avoid an error. */
70788 #ifdef __cplusplus
70789 extern "C"
70790 {
70791 #endif
70792 /* We use char because int might match the return type of a gcc2
70793 builtin and then its argument prototype would still apply. */
70794 char $ac_func ();
70795 /* The GNU C library defines this for functions which it implements
70796 to always fail with ENOSYS. Some functions are actually named
70797 something starting with __ and the normal name is an alias. */
70798 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70799 choke me
70800 #else
70801 char (*f) () = $ac_func;
70802 #endif
70803 #ifdef __cplusplus
70804 }
70805 #endif
70806
70807 int
70808 main ()
70809 {
70810 return f != $ac_func;
70811 ;
70812 return 0;
70813 }
70814 _ACEOF
70815 rm -f conftest.$ac_objext conftest$ac_exeext
70816 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70817 (eval $ac_link) 2>conftest.er1
70818 ac_status=$?
70819 grep -v '^ *+' conftest.er1 >conftest.err
70820 rm -f conftest.er1
70821 cat conftest.err >&5
70822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70823 (exit $ac_status); } &&
70824 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
70825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70826 (eval $ac_try) 2>&5
70827 ac_status=$?
70828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70829 (exit $ac_status); }; } &&
70830 { ac_try='test -s conftest$ac_exeext'
70831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70832 (eval $ac_try) 2>&5
70833 ac_status=$?
70834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70835 (exit $ac_status); }; }; then
70836 eval "$as_ac_var=yes"
70837 else
70838 echo "$as_me: failed program was:" >&5
70839 sed 's/^/| /' conftest.$ac_ext >&5
70840
70841 eval "$as_ac_var=no"
70842 fi
70843 rm -f conftest.err conftest.$ac_objext \
70844 conftest$ac_exeext conftest.$ac_ext
70845 fi
70846 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70847 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70848 if test `eval echo '${'$as_ac_var'}'` = yes; then
70849 cat >>confdefs.h <<_ACEOF
70850 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70851 _ACEOF
70852
70853 fi
70854 done
70855
70856 else
70857
70858 echo "$as_me:$LINENO: checking for _finitel declaration" >&5
70859 echo $ECHO_N "checking for _finitel declaration... $ECHO_C" >&6
70860 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
70861 if test "${glibcxx_cv_func__finitel_use+set}" = set; then
70862 echo $ECHO_N "(cached) $ECHO_C" >&6
70863 else
70864
70865
70866
70867 ac_ext=cc
70868 ac_cpp='$CXXCPP $CPPFLAGS'
70869 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70870 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70871 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70872
70873 cat >conftest.$ac_ext <<_ACEOF
70874 /* confdefs.h. */
70875 _ACEOF
70876 cat confdefs.h >>conftest.$ac_ext
70877 cat >>conftest.$ac_ext <<_ACEOF
70878 /* end confdefs.h. */
70879 #include <math.h>
70880 #ifdef HAVE_IEEEFP_H
70881 #include <ieeefp.h>
70882 #endif
70883
70884 int
70885 main ()
70886 {
70887 _finitel(0);
70888 ;
70889 return 0;
70890 }
70891 _ACEOF
70892 rm -f conftest.$ac_objext
70893 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70894 (eval $ac_compile) 2>conftest.er1
70895 ac_status=$?
70896 grep -v '^ *+' conftest.er1 >conftest.err
70897 rm -f conftest.er1
70898 cat conftest.err >&5
70899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70900 (exit $ac_status); } &&
70901 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
70902 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70903 (eval $ac_try) 2>&5
70904 ac_status=$?
70905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70906 (exit $ac_status); }; } &&
70907 { ac_try='test -s conftest.$ac_objext'
70908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70909 (eval $ac_try) 2>&5
70910 ac_status=$?
70911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70912 (exit $ac_status); }; }; then
70913 glibcxx_cv_func__finitel_use=yes
70914 else
70915 echo "$as_me: failed program was:" >&5
70916 sed 's/^/| /' conftest.$ac_ext >&5
70917
70918 glibcxx_cv_func__finitel_use=no
70919 fi
70920 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70921 ac_ext=c
70922 ac_cpp='$CPP $CPPFLAGS'
70923 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70924 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70925 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70926
70927
70928 fi
70929
70930 fi
70931 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitel_use" >&5
70932 echo "${ECHO_T}$glibcxx_cv_func__finitel_use" >&6
70933
70934 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
70935
70936 for ac_func in _finitel
70937 do
70938 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70939 echo "$as_me:$LINENO: checking for $ac_func" >&5
70940 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70941 if eval "test \"\${$as_ac_var+set}\" = set"; then
70942 echo $ECHO_N "(cached) $ECHO_C" >&6
70943 else
70944 if test x$gcc_no_link = xyes; then
70945 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70946 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70947 { (exit 1); exit 1; }; }
70948 fi
70949 cat >conftest.$ac_ext <<_ACEOF
70950 /* confdefs.h. */
70951 _ACEOF
70952 cat confdefs.h >>conftest.$ac_ext
70953 cat >>conftest.$ac_ext <<_ACEOF
70954 /* end confdefs.h. */
70955 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70956 For example, HP-UX 11i <limits.h> declares gettimeofday. */
70957 #define $ac_func innocuous_$ac_func
70958
70959 /* System header to define __stub macros and hopefully few prototypes,
70960 which can conflict with char $ac_func (); below.
70961 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70962 <limits.h> exists even on freestanding compilers. */
70963
70964 #ifdef __STDC__
70965 # include <limits.h>
70966 #else
70967 # include <assert.h>
70968 #endif
70969
70970 #undef $ac_func
70971
70972 /* Override any gcc2 internal prototype to avoid an error. */
70973 #ifdef __cplusplus
70974 extern "C"
70975 {
70976 #endif
70977 /* We use char because int might match the return type of a gcc2
70978 builtin and then its argument prototype would still apply. */
70979 char $ac_func ();
70980 /* The GNU C library defines this for functions which it implements
70981 to always fail with ENOSYS. Some functions are actually named
70982 something starting with __ and the normal name is an alias. */
70983 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70984 choke me
70985 #else
70986 char (*f) () = $ac_func;
70987 #endif
70988 #ifdef __cplusplus
70989 }
70990 #endif
70991
70992 int
70993 main ()
70994 {
70995 return f != $ac_func;
70996 ;
70997 return 0;
70998 }
70999 _ACEOF
71000 rm -f conftest.$ac_objext conftest$ac_exeext
71001 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71002 (eval $ac_link) 2>conftest.er1
71003 ac_status=$?
71004 grep -v '^ *+' conftest.er1 >conftest.err
71005 rm -f conftest.er1
71006 cat conftest.err >&5
71007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71008 (exit $ac_status); } &&
71009 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
71010 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71011 (eval $ac_try) 2>&5
71012 ac_status=$?
71013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71014 (exit $ac_status); }; } &&
71015 { ac_try='test -s conftest$ac_exeext'
71016 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71017 (eval $ac_try) 2>&5
71018 ac_status=$?
71019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71020 (exit $ac_status); }; }; then
71021 eval "$as_ac_var=yes"
71022 else
71023 echo "$as_me: failed program was:" >&5
71024 sed 's/^/| /' conftest.$ac_ext >&5
71025
71026 eval "$as_ac_var=no"
71027 fi
71028 rm -f conftest.err conftest.$ac_objext \
71029 conftest$ac_exeext conftest.$ac_ext
71030 fi
71031 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
71032 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
71033 if test `eval echo '${'$as_ac_var'}'` = yes; then
71034 cat >>confdefs.h <<_ACEOF
71035 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
71036 _ACEOF
71037
71038 fi
71039 done
71040
71041 fi
71042 fi
71043
71044
71045
71046
71047
71048 LIBS="$ac_save_LIBS"
71049 CXXFLAGS="$ac_save_CXXFLAGS"
71050
71051
71052
71053 echo "$as_me:$LINENO: checking for __builtin_abs declaration" >&5
71054 echo $ECHO_N "checking for __builtin_abs declaration... $ECHO_C" >&6
71055 if test x${glibcxx_cv_func___builtin_abs_use+set} != xset; then
71056 if test "${glibcxx_cv_func___builtin_abs_use+set}" = set; then
71057 echo $ECHO_N "(cached) $ECHO_C" >&6
71058 else
71059
71060
71061
71062 ac_ext=cc
71063 ac_cpp='$CXXCPP $CPPFLAGS'
71064 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71065 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71066 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71067
71068 cat >conftest.$ac_ext <<_ACEOF
71069 /* confdefs.h. */
71070 _ACEOF
71071 cat confdefs.h >>conftest.$ac_ext
71072 cat >>conftest.$ac_ext <<_ACEOF
71073 /* end confdefs.h. */
71074 #include <math.h>
71075 int
71076 main ()
71077 {
71078 __builtin_abs(0);
71079 ;
71080 return 0;
71081 }
71082 _ACEOF
71083 rm -f conftest.$ac_objext
71084 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71085 (eval $ac_compile) 2>conftest.er1
71086 ac_status=$?
71087 grep -v '^ *+' conftest.er1 >conftest.err
71088 rm -f conftest.er1
71089 cat conftest.err >&5
71090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71091 (exit $ac_status); } &&
71092 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
71093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71094 (eval $ac_try) 2>&5
71095 ac_status=$?
71096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71097 (exit $ac_status); }; } &&
71098 { ac_try='test -s conftest.$ac_objext'
71099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71100 (eval $ac_try) 2>&5
71101 ac_status=$?
71102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71103 (exit $ac_status); }; }; then
71104 glibcxx_cv_func___builtin_abs_use=yes
71105 else
71106 echo "$as_me: failed program was:" >&5
71107 sed 's/^/| /' conftest.$ac_ext >&5
71108
71109 glibcxx_cv_func___builtin_abs_use=no
71110 fi
71111 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71112 ac_ext=c
71113 ac_cpp='$CPP $CPPFLAGS'
71114 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71115 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71116 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71117
71118
71119 fi
71120
71121 fi
71122 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_use" >&5
71123 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_use" >&6
71124 if test x$glibcxx_cv_func___builtin_abs_use = x"yes"; then
71125 echo "$as_me:$LINENO: checking for __builtin_abs linkage" >&5
71126 echo $ECHO_N "checking for __builtin_abs linkage... $ECHO_C" >&6
71127 if test x${glibcxx_cv_func___builtin_abs_link+set} != xset; then
71128 if test "${glibcxx_cv_func___builtin_abs_link+set}" = set; then
71129 echo $ECHO_N "(cached) $ECHO_C" >&6
71130 else
71131
71132 if test x$gcc_no_link = xyes; then
71133 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71134 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71135 { (exit 1); exit 1; }; }
71136 fi
71137 cat >conftest.$ac_ext <<_ACEOF
71138 /* confdefs.h. */
71139 _ACEOF
71140 cat confdefs.h >>conftest.$ac_ext
71141 cat >>conftest.$ac_ext <<_ACEOF
71142 /* end confdefs.h. */
71143 #include <math.h>
71144 int
71145 main ()
71146 {
71147 __builtin_abs(0);
71148 ;
71149 return 0;
71150 }
71151 _ACEOF
71152 rm -f conftest.$ac_objext conftest$ac_exeext
71153 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71154 (eval $ac_link) 2>conftest.er1
71155 ac_status=$?
71156 grep -v '^ *+' conftest.er1 >conftest.err
71157 rm -f conftest.er1
71158 cat conftest.err >&5
71159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71160 (exit $ac_status); } &&
71161 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
71162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71163 (eval $ac_try) 2>&5
71164 ac_status=$?
71165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71166 (exit $ac_status); }; } &&
71167 { ac_try='test -s conftest$ac_exeext'
71168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71169 (eval $ac_try) 2>&5
71170 ac_status=$?
71171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71172 (exit $ac_status); }; }; then
71173 glibcxx_cv_func___builtin_abs_link=yes
71174 else
71175 echo "$as_me: failed program was:" >&5
71176 sed 's/^/| /' conftest.$ac_ext >&5
71177
71178 glibcxx_cv_func___builtin_abs_link=no
71179 fi
71180 rm -f conftest.err conftest.$ac_objext \
71181 conftest$ac_exeext conftest.$ac_ext
71182
71183 fi
71184
71185 fi
71186 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_link" >&5
71187 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_link" >&6
71188
71189 if test x$glibcxx_cv_func___builtin_abs_link = x"yes"; then
71190
71191 cat >>confdefs.h <<\_ACEOF
71192 #define HAVE___BUILTIN_ABS 1
71193 _ACEOF
71194
71195 fi
71196
71197 fi
71198
71199
71200 echo "$as_me:$LINENO: checking for __builtin_fabsf declaration" >&5
71201 echo $ECHO_N "checking for __builtin_fabsf declaration... $ECHO_C" >&6
71202 if test x${glibcxx_cv_func___builtin_fabsf_use+set} != xset; then
71203 if test "${glibcxx_cv_func___builtin_fabsf_use+set}" = set; then
71204 echo $ECHO_N "(cached) $ECHO_C" >&6
71205 else
71206
71207
71208
71209 ac_ext=cc
71210 ac_cpp='$CXXCPP $CPPFLAGS'
71211 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71212 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71213 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71214
71215 cat >conftest.$ac_ext <<_ACEOF
71216 /* confdefs.h. */
71217 _ACEOF
71218 cat confdefs.h >>conftest.$ac_ext
71219 cat >>conftest.$ac_ext <<_ACEOF
71220 /* end confdefs.h. */
71221 #include <math.h>
71222 int
71223 main ()
71224 {
71225 __builtin_fabsf(0);
71226 ;
71227 return 0;
71228 }
71229 _ACEOF
71230 rm -f conftest.$ac_objext
71231 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71232 (eval $ac_compile) 2>conftest.er1
71233 ac_status=$?
71234 grep -v '^ *+' conftest.er1 >conftest.err
71235 rm -f conftest.er1
71236 cat conftest.err >&5
71237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71238 (exit $ac_status); } &&
71239 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
71240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71241 (eval $ac_try) 2>&5
71242 ac_status=$?
71243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71244 (exit $ac_status); }; } &&
71245 { ac_try='test -s conftest.$ac_objext'
71246 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71247 (eval $ac_try) 2>&5
71248 ac_status=$?
71249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71250 (exit $ac_status); }; }; then
71251 glibcxx_cv_func___builtin_fabsf_use=yes
71252 else
71253 echo "$as_me: failed program was:" >&5
71254 sed 's/^/| /' conftest.$ac_ext >&5
71255
71256 glibcxx_cv_func___builtin_fabsf_use=no
71257 fi
71258 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71259 ac_ext=c
71260 ac_cpp='$CPP $CPPFLAGS'
71261 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71262 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71263 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71264
71265
71266 fi
71267
71268 fi
71269 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_use" >&5
71270 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_use" >&6
71271 if test x$glibcxx_cv_func___builtin_fabsf_use = x"yes"; then
71272 echo "$as_me:$LINENO: checking for __builtin_fabsf linkage" >&5
71273 echo $ECHO_N "checking for __builtin_fabsf linkage... $ECHO_C" >&6
71274 if test x${glibcxx_cv_func___builtin_fabsf_link+set} != xset; then
71275 if test "${glibcxx_cv_func___builtin_fabsf_link+set}" = set; then
71276 echo $ECHO_N "(cached) $ECHO_C" >&6
71277 else
71278
71279 if test x$gcc_no_link = xyes; then
71280 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71281 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71282 { (exit 1); exit 1; }; }
71283 fi
71284 cat >conftest.$ac_ext <<_ACEOF
71285 /* confdefs.h. */
71286 _ACEOF
71287 cat confdefs.h >>conftest.$ac_ext
71288 cat >>conftest.$ac_ext <<_ACEOF
71289 /* end confdefs.h. */
71290 #include <math.h>
71291 int
71292 main ()
71293 {
71294 __builtin_fabsf(0);
71295 ;
71296 return 0;
71297 }
71298 _ACEOF
71299 rm -f conftest.$ac_objext conftest$ac_exeext
71300 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71301 (eval $ac_link) 2>conftest.er1
71302 ac_status=$?
71303 grep -v '^ *+' conftest.er1 >conftest.err
71304 rm -f conftest.er1
71305 cat conftest.err >&5
71306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71307 (exit $ac_status); } &&
71308 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
71309 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71310 (eval $ac_try) 2>&5
71311 ac_status=$?
71312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71313 (exit $ac_status); }; } &&
71314 { ac_try='test -s conftest$ac_exeext'
71315 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71316 (eval $ac_try) 2>&5
71317 ac_status=$?
71318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71319 (exit $ac_status); }; }; then
71320 glibcxx_cv_func___builtin_fabsf_link=yes
71321 else
71322 echo "$as_me: failed program was:" >&5
71323 sed 's/^/| /' conftest.$ac_ext >&5
71324
71325 glibcxx_cv_func___builtin_fabsf_link=no
71326 fi
71327 rm -f conftest.err conftest.$ac_objext \
71328 conftest$ac_exeext conftest.$ac_ext
71329
71330 fi
71331
71332 fi
71333 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_link" >&5
71334 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_link" >&6
71335
71336 if test x$glibcxx_cv_func___builtin_fabsf_link = x"yes"; then
71337
71338 cat >>confdefs.h <<\_ACEOF
71339 #define HAVE___BUILTIN_FABSF 1
71340 _ACEOF
71341
71342 fi
71343
71344 fi
71345
71346
71347 echo "$as_me:$LINENO: checking for __builtin_fabs declaration" >&5
71348 echo $ECHO_N "checking for __builtin_fabs declaration... $ECHO_C" >&6
71349 if test x${glibcxx_cv_func___builtin_fabs_use+set} != xset; then
71350 if test "${glibcxx_cv_func___builtin_fabs_use+set}" = set; then
71351 echo $ECHO_N "(cached) $ECHO_C" >&6
71352 else
71353
71354
71355
71356 ac_ext=cc
71357 ac_cpp='$CXXCPP $CPPFLAGS'
71358 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71359 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71360 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71361
71362 cat >conftest.$ac_ext <<_ACEOF
71363 /* confdefs.h. */
71364 _ACEOF
71365 cat confdefs.h >>conftest.$ac_ext
71366 cat >>conftest.$ac_ext <<_ACEOF
71367 /* end confdefs.h. */
71368 #include <math.h>
71369 int
71370 main ()
71371 {
71372 __builtin_fabs(0);
71373 ;
71374 return 0;
71375 }
71376 _ACEOF
71377 rm -f conftest.$ac_objext
71378 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71379 (eval $ac_compile) 2>conftest.er1
71380 ac_status=$?
71381 grep -v '^ *+' conftest.er1 >conftest.err
71382 rm -f conftest.er1
71383 cat conftest.err >&5
71384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71385 (exit $ac_status); } &&
71386 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
71387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71388 (eval $ac_try) 2>&5
71389 ac_status=$?
71390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71391 (exit $ac_status); }; } &&
71392 { ac_try='test -s conftest.$ac_objext'
71393 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71394 (eval $ac_try) 2>&5
71395 ac_status=$?
71396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71397 (exit $ac_status); }; }; then
71398 glibcxx_cv_func___builtin_fabs_use=yes
71399 else
71400 echo "$as_me: failed program was:" >&5
71401 sed 's/^/| /' conftest.$ac_ext >&5
71402
71403 glibcxx_cv_func___builtin_fabs_use=no
71404 fi
71405 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71406 ac_ext=c
71407 ac_cpp='$CPP $CPPFLAGS'
71408 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71409 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71410 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71411
71412
71413 fi
71414
71415 fi
71416 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_use" >&5
71417 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_use" >&6
71418 if test x$glibcxx_cv_func___builtin_fabs_use = x"yes"; then
71419 echo "$as_me:$LINENO: checking for __builtin_fabs linkage" >&5
71420 echo $ECHO_N "checking for __builtin_fabs linkage... $ECHO_C" >&6
71421 if test x${glibcxx_cv_func___builtin_fabs_link+set} != xset; then
71422 if test "${glibcxx_cv_func___builtin_fabs_link+set}" = set; then
71423 echo $ECHO_N "(cached) $ECHO_C" >&6
71424 else
71425
71426 if test x$gcc_no_link = xyes; then
71427 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71428 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71429 { (exit 1); exit 1; }; }
71430 fi
71431 cat >conftest.$ac_ext <<_ACEOF
71432 /* confdefs.h. */
71433 _ACEOF
71434 cat confdefs.h >>conftest.$ac_ext
71435 cat >>conftest.$ac_ext <<_ACEOF
71436 /* end confdefs.h. */
71437 #include <math.h>
71438 int
71439 main ()
71440 {
71441 __builtin_fabs(0);
71442 ;
71443 return 0;
71444 }
71445 _ACEOF
71446 rm -f conftest.$ac_objext conftest$ac_exeext
71447 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71448 (eval $ac_link) 2>conftest.er1
71449 ac_status=$?
71450 grep -v '^ *+' conftest.er1 >conftest.err
71451 rm -f conftest.er1
71452 cat conftest.err >&5
71453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71454 (exit $ac_status); } &&
71455 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
71456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71457 (eval $ac_try) 2>&5
71458 ac_status=$?
71459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71460 (exit $ac_status); }; } &&
71461 { ac_try='test -s conftest$ac_exeext'
71462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71463 (eval $ac_try) 2>&5
71464 ac_status=$?
71465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71466 (exit $ac_status); }; }; then
71467 glibcxx_cv_func___builtin_fabs_link=yes
71468 else
71469 echo "$as_me: failed program was:" >&5
71470 sed 's/^/| /' conftest.$ac_ext >&5
71471
71472 glibcxx_cv_func___builtin_fabs_link=no
71473 fi
71474 rm -f conftest.err conftest.$ac_objext \
71475 conftest$ac_exeext conftest.$ac_ext
71476
71477 fi
71478
71479 fi
71480 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_link" >&5
71481 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_link" >&6
71482
71483 if test x$glibcxx_cv_func___builtin_fabs_link = x"yes"; then
71484
71485 cat >>confdefs.h <<\_ACEOF
71486 #define HAVE___BUILTIN_FABS 1
71487 _ACEOF
71488
71489 fi
71490
71491 fi
71492
71493
71494 echo "$as_me:$LINENO: checking for __builtin_fabsl declaration" >&5
71495 echo $ECHO_N "checking for __builtin_fabsl declaration... $ECHO_C" >&6
71496 if test x${glibcxx_cv_func___builtin_fabsl_use+set} != xset; then
71497 if test "${glibcxx_cv_func___builtin_fabsl_use+set}" = set; then
71498 echo $ECHO_N "(cached) $ECHO_C" >&6
71499 else
71500
71501
71502
71503 ac_ext=cc
71504 ac_cpp='$CXXCPP $CPPFLAGS'
71505 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71506 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71507 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71508
71509 cat >conftest.$ac_ext <<_ACEOF
71510 /* confdefs.h. */
71511 _ACEOF
71512 cat confdefs.h >>conftest.$ac_ext
71513 cat >>conftest.$ac_ext <<_ACEOF
71514 /* end confdefs.h. */
71515 #include <math.h>
71516 int
71517 main ()
71518 {
71519 __builtin_fabsl(0);
71520 ;
71521 return 0;
71522 }
71523 _ACEOF
71524 rm -f conftest.$ac_objext
71525 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71526 (eval $ac_compile) 2>conftest.er1
71527 ac_status=$?
71528 grep -v '^ *+' conftest.er1 >conftest.err
71529 rm -f conftest.er1
71530 cat conftest.err >&5
71531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71532 (exit $ac_status); } &&
71533 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
71534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71535 (eval $ac_try) 2>&5
71536 ac_status=$?
71537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71538 (exit $ac_status); }; } &&
71539 { ac_try='test -s conftest.$ac_objext'
71540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71541 (eval $ac_try) 2>&5
71542 ac_status=$?
71543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71544 (exit $ac_status); }; }; then
71545 glibcxx_cv_func___builtin_fabsl_use=yes
71546 else
71547 echo "$as_me: failed program was:" >&5
71548 sed 's/^/| /' conftest.$ac_ext >&5
71549
71550 glibcxx_cv_func___builtin_fabsl_use=no
71551 fi
71552 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71553 ac_ext=c
71554 ac_cpp='$CPP $CPPFLAGS'
71555 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71556 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71557 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71558
71559
71560 fi
71561
71562 fi
71563 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_use" >&5
71564 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_use" >&6
71565 if test x$glibcxx_cv_func___builtin_fabsl_use = x"yes"; then
71566 echo "$as_me:$LINENO: checking for __builtin_fabsl linkage" >&5
71567 echo $ECHO_N "checking for __builtin_fabsl linkage... $ECHO_C" >&6
71568 if test x${glibcxx_cv_func___builtin_fabsl_link+set} != xset; then
71569 if test "${glibcxx_cv_func___builtin_fabsl_link+set}" = set; then
71570 echo $ECHO_N "(cached) $ECHO_C" >&6
71571 else
71572
71573 if test x$gcc_no_link = xyes; then
71574 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71575 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71576 { (exit 1); exit 1; }; }
71577 fi
71578 cat >conftest.$ac_ext <<_ACEOF
71579 /* confdefs.h. */
71580 _ACEOF
71581 cat confdefs.h >>conftest.$ac_ext
71582 cat >>conftest.$ac_ext <<_ACEOF
71583 /* end confdefs.h. */
71584 #include <math.h>
71585 int
71586 main ()
71587 {
71588 __builtin_fabsl(0);
71589 ;
71590 return 0;
71591 }
71592 _ACEOF
71593 rm -f conftest.$ac_objext conftest$ac_exeext
71594 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71595 (eval $ac_link) 2>conftest.er1
71596 ac_status=$?
71597 grep -v '^ *+' conftest.er1 >conftest.err
71598 rm -f conftest.er1
71599 cat conftest.err >&5
71600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71601 (exit $ac_status); } &&
71602 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
71603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71604 (eval $ac_try) 2>&5
71605 ac_status=$?
71606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71607 (exit $ac_status); }; } &&
71608 { ac_try='test -s conftest$ac_exeext'
71609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71610 (eval $ac_try) 2>&5
71611 ac_status=$?
71612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71613 (exit $ac_status); }; }; then
71614 glibcxx_cv_func___builtin_fabsl_link=yes
71615 else
71616 echo "$as_me: failed program was:" >&5
71617 sed 's/^/| /' conftest.$ac_ext >&5
71618
71619 glibcxx_cv_func___builtin_fabsl_link=no
71620 fi
71621 rm -f conftest.err conftest.$ac_objext \
71622 conftest$ac_exeext conftest.$ac_ext
71623
71624 fi
71625
71626 fi
71627 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_link" >&5
71628 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_link" >&6
71629
71630 if test x$glibcxx_cv_func___builtin_fabsl_link = x"yes"; then
71631
71632 cat >>confdefs.h <<\_ACEOF
71633 #define HAVE___BUILTIN_FABSL 1
71634 _ACEOF
71635
71636 fi
71637
71638 fi
71639
71640
71641 echo "$as_me:$LINENO: checking for __builtin_labs declaration" >&5
71642 echo $ECHO_N "checking for __builtin_labs declaration... $ECHO_C" >&6
71643 if test x${glibcxx_cv_func___builtin_labs_use+set} != xset; then
71644 if test "${glibcxx_cv_func___builtin_labs_use+set}" = set; then
71645 echo $ECHO_N "(cached) $ECHO_C" >&6
71646 else
71647
71648
71649
71650 ac_ext=cc
71651 ac_cpp='$CXXCPP $CPPFLAGS'
71652 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71653 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71654 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71655
71656 cat >conftest.$ac_ext <<_ACEOF
71657 /* confdefs.h. */
71658 _ACEOF
71659 cat confdefs.h >>conftest.$ac_ext
71660 cat >>conftest.$ac_ext <<_ACEOF
71661 /* end confdefs.h. */
71662 #include <math.h>
71663 int
71664 main ()
71665 {
71666 __builtin_labs(0);
71667 ;
71668 return 0;
71669 }
71670 _ACEOF
71671 rm -f conftest.$ac_objext
71672 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71673 (eval $ac_compile) 2>conftest.er1
71674 ac_status=$?
71675 grep -v '^ *+' conftest.er1 >conftest.err
71676 rm -f conftest.er1
71677 cat conftest.err >&5
71678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71679 (exit $ac_status); } &&
71680 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
71681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71682 (eval $ac_try) 2>&5
71683 ac_status=$?
71684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71685 (exit $ac_status); }; } &&
71686 { ac_try='test -s conftest.$ac_objext'
71687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71688 (eval $ac_try) 2>&5
71689 ac_status=$?
71690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71691 (exit $ac_status); }; }; then
71692 glibcxx_cv_func___builtin_labs_use=yes
71693 else
71694 echo "$as_me: failed program was:" >&5
71695 sed 's/^/| /' conftest.$ac_ext >&5
71696
71697 glibcxx_cv_func___builtin_labs_use=no
71698 fi
71699 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71700 ac_ext=c
71701 ac_cpp='$CPP $CPPFLAGS'
71702 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71703 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71704 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71705
71706
71707 fi
71708
71709 fi
71710 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_use" >&5
71711 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_use" >&6
71712 if test x$glibcxx_cv_func___builtin_labs_use = x"yes"; then
71713 echo "$as_me:$LINENO: checking for __builtin_labs linkage" >&5
71714 echo $ECHO_N "checking for __builtin_labs linkage... $ECHO_C" >&6
71715 if test x${glibcxx_cv_func___builtin_labs_link+set} != xset; then
71716 if test "${glibcxx_cv_func___builtin_labs_link+set}" = set; then
71717 echo $ECHO_N "(cached) $ECHO_C" >&6
71718 else
71719
71720 if test x$gcc_no_link = xyes; then
71721 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71722 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71723 { (exit 1); exit 1; }; }
71724 fi
71725 cat >conftest.$ac_ext <<_ACEOF
71726 /* confdefs.h. */
71727 _ACEOF
71728 cat confdefs.h >>conftest.$ac_ext
71729 cat >>conftest.$ac_ext <<_ACEOF
71730 /* end confdefs.h. */
71731 #include <math.h>
71732 int
71733 main ()
71734 {
71735 __builtin_labs(0);
71736 ;
71737 return 0;
71738 }
71739 _ACEOF
71740 rm -f conftest.$ac_objext conftest$ac_exeext
71741 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71742 (eval $ac_link) 2>conftest.er1
71743 ac_status=$?
71744 grep -v '^ *+' conftest.er1 >conftest.err
71745 rm -f conftest.er1
71746 cat conftest.err >&5
71747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71748 (exit $ac_status); } &&
71749 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
71750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71751 (eval $ac_try) 2>&5
71752 ac_status=$?
71753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71754 (exit $ac_status); }; } &&
71755 { ac_try='test -s conftest$ac_exeext'
71756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71757 (eval $ac_try) 2>&5
71758 ac_status=$?
71759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71760 (exit $ac_status); }; }; then
71761 glibcxx_cv_func___builtin_labs_link=yes
71762 else
71763 echo "$as_me: failed program was:" >&5
71764 sed 's/^/| /' conftest.$ac_ext >&5
71765
71766 glibcxx_cv_func___builtin_labs_link=no
71767 fi
71768 rm -f conftest.err conftest.$ac_objext \
71769 conftest$ac_exeext conftest.$ac_ext
71770
71771 fi
71772
71773 fi
71774 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_link" >&5
71775 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_link" >&6
71776
71777 if test x$glibcxx_cv_func___builtin_labs_link = x"yes"; then
71778
71779 cat >>confdefs.h <<\_ACEOF
71780 #define HAVE___BUILTIN_LABS 1
71781 _ACEOF
71782
71783 fi
71784
71785 fi
71786
71787
71788
71789 echo "$as_me:$LINENO: checking for __builtin_sqrtf declaration" >&5
71790 echo $ECHO_N "checking for __builtin_sqrtf declaration... $ECHO_C" >&6
71791 if test x${glibcxx_cv_func___builtin_sqrtf_use+set} != xset; then
71792 if test "${glibcxx_cv_func___builtin_sqrtf_use+set}" = set; then
71793 echo $ECHO_N "(cached) $ECHO_C" >&6
71794 else
71795
71796
71797
71798 ac_ext=cc
71799 ac_cpp='$CXXCPP $CPPFLAGS'
71800 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71801 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71802 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71803
71804 cat >conftest.$ac_ext <<_ACEOF
71805 /* confdefs.h. */
71806 _ACEOF
71807 cat confdefs.h >>conftest.$ac_ext
71808 cat >>conftest.$ac_ext <<_ACEOF
71809 /* end confdefs.h. */
71810 #include <math.h>
71811 int
71812 main ()
71813 {
71814 __builtin_sqrtf(0);
71815 ;
71816 return 0;
71817 }
71818 _ACEOF
71819 rm -f conftest.$ac_objext
71820 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71821 (eval $ac_compile) 2>conftest.er1
71822 ac_status=$?
71823 grep -v '^ *+' conftest.er1 >conftest.err
71824 rm -f conftest.er1
71825 cat conftest.err >&5
71826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71827 (exit $ac_status); } &&
71828 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
71829 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71830 (eval $ac_try) 2>&5
71831 ac_status=$?
71832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71833 (exit $ac_status); }; } &&
71834 { ac_try='test -s conftest.$ac_objext'
71835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71836 (eval $ac_try) 2>&5
71837 ac_status=$?
71838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71839 (exit $ac_status); }; }; then
71840 glibcxx_cv_func___builtin_sqrtf_use=yes
71841 else
71842 echo "$as_me: failed program was:" >&5
71843 sed 's/^/| /' conftest.$ac_ext >&5
71844
71845 glibcxx_cv_func___builtin_sqrtf_use=no
71846 fi
71847 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71848 ac_ext=c
71849 ac_cpp='$CPP $CPPFLAGS'
71850 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71851 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71852 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71853
71854
71855 fi
71856
71857 fi
71858 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_use" >&5
71859 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_use" >&6
71860 if test x$glibcxx_cv_func___builtin_sqrtf_use = x"yes"; then
71861 echo "$as_me:$LINENO: checking for __builtin_sqrtf linkage" >&5
71862 echo $ECHO_N "checking for __builtin_sqrtf linkage... $ECHO_C" >&6
71863 if test x${glibcxx_cv_func___builtin_sqrtf_link+set} != xset; then
71864 if test "${glibcxx_cv_func___builtin_sqrtf_link+set}" = set; then
71865 echo $ECHO_N "(cached) $ECHO_C" >&6
71866 else
71867
71868 if test x$gcc_no_link = xyes; then
71869 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71870 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71871 { (exit 1); exit 1; }; }
71872 fi
71873 cat >conftest.$ac_ext <<_ACEOF
71874 /* confdefs.h. */
71875 _ACEOF
71876 cat confdefs.h >>conftest.$ac_ext
71877 cat >>conftest.$ac_ext <<_ACEOF
71878 /* end confdefs.h. */
71879 #include <math.h>
71880 int
71881 main ()
71882 {
71883 __builtin_sqrtf(0);
71884 ;
71885 return 0;
71886 }
71887 _ACEOF
71888 rm -f conftest.$ac_objext conftest$ac_exeext
71889 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71890 (eval $ac_link) 2>conftest.er1
71891 ac_status=$?
71892 grep -v '^ *+' conftest.er1 >conftest.err
71893 rm -f conftest.er1
71894 cat conftest.err >&5
71895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71896 (exit $ac_status); } &&
71897 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
71898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71899 (eval $ac_try) 2>&5
71900 ac_status=$?
71901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71902 (exit $ac_status); }; } &&
71903 { ac_try='test -s conftest$ac_exeext'
71904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71905 (eval $ac_try) 2>&5
71906 ac_status=$?
71907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71908 (exit $ac_status); }; }; then
71909 glibcxx_cv_func___builtin_sqrtf_link=yes
71910 else
71911 echo "$as_me: failed program was:" >&5
71912 sed 's/^/| /' conftest.$ac_ext >&5
71913
71914 glibcxx_cv_func___builtin_sqrtf_link=no
71915 fi
71916 rm -f conftest.err conftest.$ac_objext \
71917 conftest$ac_exeext conftest.$ac_ext
71918
71919 fi
71920
71921 fi
71922 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_link" >&5
71923 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_link" >&6
71924
71925 if test x$glibcxx_cv_func___builtin_sqrtf_link = x"yes"; then
71926
71927 cat >>confdefs.h <<\_ACEOF
71928 #define HAVE___BUILTIN_SQRTF 1
71929 _ACEOF
71930
71931 fi
71932
71933 fi
71934
71935
71936 echo "$as_me:$LINENO: checking for __builtin_sqrt declaration" >&5
71937 echo $ECHO_N "checking for __builtin_sqrt declaration... $ECHO_C" >&6
71938 if test x${glibcxx_cv_func___builtin_sqrt_use+set} != xset; then
71939 if test "${glibcxx_cv_func___builtin_sqrt_use+set}" = set; then
71940 echo $ECHO_N "(cached) $ECHO_C" >&6
71941 else
71942
71943
71944
71945 ac_ext=cc
71946 ac_cpp='$CXXCPP $CPPFLAGS'
71947 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71948 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71949 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71950
71951 cat >conftest.$ac_ext <<_ACEOF
71952 /* confdefs.h. */
71953 _ACEOF
71954 cat confdefs.h >>conftest.$ac_ext
71955 cat >>conftest.$ac_ext <<_ACEOF
71956 /* end confdefs.h. */
71957 #include <math.h>
71958 int
71959 main ()
71960 {
71961 __builtin_sqrt(0);
71962 ;
71963 return 0;
71964 }
71965 _ACEOF
71966 rm -f conftest.$ac_objext
71967 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71968 (eval $ac_compile) 2>conftest.er1
71969 ac_status=$?
71970 grep -v '^ *+' conftest.er1 >conftest.err
71971 rm -f conftest.er1
71972 cat conftest.err >&5
71973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71974 (exit $ac_status); } &&
71975 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
71976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71977 (eval $ac_try) 2>&5
71978 ac_status=$?
71979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71980 (exit $ac_status); }; } &&
71981 { ac_try='test -s conftest.$ac_objext'
71982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71983 (eval $ac_try) 2>&5
71984 ac_status=$?
71985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71986 (exit $ac_status); }; }; then
71987 glibcxx_cv_func___builtin_sqrt_use=yes
71988 else
71989 echo "$as_me: failed program was:" >&5
71990 sed 's/^/| /' conftest.$ac_ext >&5
71991
71992 glibcxx_cv_func___builtin_sqrt_use=no
71993 fi
71994 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71995 ac_ext=c
71996 ac_cpp='$CPP $CPPFLAGS'
71997 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71998 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71999 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72000
72001
72002 fi
72003
72004 fi
72005 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_use" >&5
72006 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_use" >&6
72007 if test x$glibcxx_cv_func___builtin_sqrt_use = x"yes"; then
72008 echo "$as_me:$LINENO: checking for __builtin_sqrt linkage" >&5
72009 echo $ECHO_N "checking for __builtin_sqrt linkage... $ECHO_C" >&6
72010 if test x${glibcxx_cv_func___builtin_sqrt_link+set} != xset; then
72011 if test "${glibcxx_cv_func___builtin_sqrt_link+set}" = set; then
72012 echo $ECHO_N "(cached) $ECHO_C" >&6
72013 else
72014
72015 if test x$gcc_no_link = xyes; then
72016 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72017 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72018 { (exit 1); exit 1; }; }
72019 fi
72020 cat >conftest.$ac_ext <<_ACEOF
72021 /* confdefs.h. */
72022 _ACEOF
72023 cat confdefs.h >>conftest.$ac_ext
72024 cat >>conftest.$ac_ext <<_ACEOF
72025 /* end confdefs.h. */
72026 #include <math.h>
72027 int
72028 main ()
72029 {
72030 __builtin_sqrt(0);
72031 ;
72032 return 0;
72033 }
72034 _ACEOF
72035 rm -f conftest.$ac_objext conftest$ac_exeext
72036 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72037 (eval $ac_link) 2>conftest.er1
72038 ac_status=$?
72039 grep -v '^ *+' conftest.er1 >conftest.err
72040 rm -f conftest.er1
72041 cat conftest.err >&5
72042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72043 (exit $ac_status); } &&
72044 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
72045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72046 (eval $ac_try) 2>&5
72047 ac_status=$?
72048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72049 (exit $ac_status); }; } &&
72050 { ac_try='test -s conftest$ac_exeext'
72051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72052 (eval $ac_try) 2>&5
72053 ac_status=$?
72054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72055 (exit $ac_status); }; }; then
72056 glibcxx_cv_func___builtin_sqrt_link=yes
72057 else
72058 echo "$as_me: failed program was:" >&5
72059 sed 's/^/| /' conftest.$ac_ext >&5
72060
72061 glibcxx_cv_func___builtin_sqrt_link=no
72062 fi
72063 rm -f conftest.err conftest.$ac_objext \
72064 conftest$ac_exeext conftest.$ac_ext
72065
72066 fi
72067
72068 fi
72069 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_link" >&5
72070 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_link" >&6
72071
72072 if test x$glibcxx_cv_func___builtin_sqrt_link = x"yes"; then
72073
72074 cat >>confdefs.h <<\_ACEOF
72075 #define HAVE___BUILTIN_SQRT 1
72076 _ACEOF
72077
72078 fi
72079
72080 fi
72081
72082
72083 echo "$as_me:$LINENO: checking for __builtin_sqrtl declaration" >&5
72084 echo $ECHO_N "checking for __builtin_sqrtl declaration... $ECHO_C" >&6
72085 if test x${glibcxx_cv_func___builtin_sqrtl_use+set} != xset; then
72086 if test "${glibcxx_cv_func___builtin_sqrtl_use+set}" = set; then
72087 echo $ECHO_N "(cached) $ECHO_C" >&6
72088 else
72089
72090
72091
72092 ac_ext=cc
72093 ac_cpp='$CXXCPP $CPPFLAGS'
72094 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72095 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72096 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72097
72098 cat >conftest.$ac_ext <<_ACEOF
72099 /* confdefs.h. */
72100 _ACEOF
72101 cat confdefs.h >>conftest.$ac_ext
72102 cat >>conftest.$ac_ext <<_ACEOF
72103 /* end confdefs.h. */
72104 #include <math.h>
72105 int
72106 main ()
72107 {
72108 __builtin_sqrtl(0);
72109 ;
72110 return 0;
72111 }
72112 _ACEOF
72113 rm -f conftest.$ac_objext
72114 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72115 (eval $ac_compile) 2>conftest.er1
72116 ac_status=$?
72117 grep -v '^ *+' conftest.er1 >conftest.err
72118 rm -f conftest.er1
72119 cat conftest.err >&5
72120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72121 (exit $ac_status); } &&
72122 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
72123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72124 (eval $ac_try) 2>&5
72125 ac_status=$?
72126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72127 (exit $ac_status); }; } &&
72128 { ac_try='test -s conftest.$ac_objext'
72129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72130 (eval $ac_try) 2>&5
72131 ac_status=$?
72132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72133 (exit $ac_status); }; }; then
72134 glibcxx_cv_func___builtin_sqrtl_use=yes
72135 else
72136 echo "$as_me: failed program was:" >&5
72137 sed 's/^/| /' conftest.$ac_ext >&5
72138
72139 glibcxx_cv_func___builtin_sqrtl_use=no
72140 fi
72141 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72142 ac_ext=c
72143 ac_cpp='$CPP $CPPFLAGS'
72144 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72145 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72146 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72147
72148
72149 fi
72150
72151 fi
72152 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_use" >&5
72153 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_use" >&6
72154 if test x$glibcxx_cv_func___builtin_sqrtl_use = x"yes"; then
72155 echo "$as_me:$LINENO: checking for __builtin_sqrtl linkage" >&5
72156 echo $ECHO_N "checking for __builtin_sqrtl linkage... $ECHO_C" >&6
72157 if test x${glibcxx_cv_func___builtin_sqrtl_link+set} != xset; then
72158 if test "${glibcxx_cv_func___builtin_sqrtl_link+set}" = set; then
72159 echo $ECHO_N "(cached) $ECHO_C" >&6
72160 else
72161
72162 if test x$gcc_no_link = xyes; then
72163 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72164 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72165 { (exit 1); exit 1; }; }
72166 fi
72167 cat >conftest.$ac_ext <<_ACEOF
72168 /* confdefs.h. */
72169 _ACEOF
72170 cat confdefs.h >>conftest.$ac_ext
72171 cat >>conftest.$ac_ext <<_ACEOF
72172 /* end confdefs.h. */
72173 #include <math.h>
72174 int
72175 main ()
72176 {
72177 __builtin_sqrtl(0);
72178 ;
72179 return 0;
72180 }
72181 _ACEOF
72182 rm -f conftest.$ac_objext conftest$ac_exeext
72183 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72184 (eval $ac_link) 2>conftest.er1
72185 ac_status=$?
72186 grep -v '^ *+' conftest.er1 >conftest.err
72187 rm -f conftest.er1
72188 cat conftest.err >&5
72189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72190 (exit $ac_status); } &&
72191 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
72192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72193 (eval $ac_try) 2>&5
72194 ac_status=$?
72195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72196 (exit $ac_status); }; } &&
72197 { ac_try='test -s conftest$ac_exeext'
72198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72199 (eval $ac_try) 2>&5
72200 ac_status=$?
72201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72202 (exit $ac_status); }; }; then
72203 glibcxx_cv_func___builtin_sqrtl_link=yes
72204 else
72205 echo "$as_me: failed program was:" >&5
72206 sed 's/^/| /' conftest.$ac_ext >&5
72207
72208 glibcxx_cv_func___builtin_sqrtl_link=no
72209 fi
72210 rm -f conftest.err conftest.$ac_objext \
72211 conftest$ac_exeext conftest.$ac_ext
72212
72213 fi
72214
72215 fi
72216 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_link" >&5
72217 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_link" >&6
72218
72219 if test x$glibcxx_cv_func___builtin_sqrtl_link = x"yes"; then
72220
72221 cat >>confdefs.h <<\_ACEOF
72222 #define HAVE___BUILTIN_SQRTL 1
72223 _ACEOF
72224
72225 fi
72226
72227 fi
72228
72229
72230
72231 echo "$as_me:$LINENO: checking for __builtin_sinf declaration" >&5
72232 echo $ECHO_N "checking for __builtin_sinf declaration... $ECHO_C" >&6
72233 if test x${glibcxx_cv_func___builtin_sinf_use+set} != xset; then
72234 if test "${glibcxx_cv_func___builtin_sinf_use+set}" = set; then
72235 echo $ECHO_N "(cached) $ECHO_C" >&6
72236 else
72237
72238
72239
72240 ac_ext=cc
72241 ac_cpp='$CXXCPP $CPPFLAGS'
72242 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72243 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72244 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72245
72246 cat >conftest.$ac_ext <<_ACEOF
72247 /* confdefs.h. */
72248 _ACEOF
72249 cat confdefs.h >>conftest.$ac_ext
72250 cat >>conftest.$ac_ext <<_ACEOF
72251 /* end confdefs.h. */
72252 #include <math.h>
72253 int
72254 main ()
72255 {
72256 __builtin_sinf(0);
72257 ;
72258 return 0;
72259 }
72260 _ACEOF
72261 rm -f conftest.$ac_objext
72262 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72263 (eval $ac_compile) 2>conftest.er1
72264 ac_status=$?
72265 grep -v '^ *+' conftest.er1 >conftest.err
72266 rm -f conftest.er1
72267 cat conftest.err >&5
72268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72269 (exit $ac_status); } &&
72270 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
72271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72272 (eval $ac_try) 2>&5
72273 ac_status=$?
72274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72275 (exit $ac_status); }; } &&
72276 { ac_try='test -s conftest.$ac_objext'
72277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72278 (eval $ac_try) 2>&5
72279 ac_status=$?
72280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72281 (exit $ac_status); }; }; then
72282 glibcxx_cv_func___builtin_sinf_use=yes
72283 else
72284 echo "$as_me: failed program was:" >&5
72285 sed 's/^/| /' conftest.$ac_ext >&5
72286
72287 glibcxx_cv_func___builtin_sinf_use=no
72288 fi
72289 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72290 ac_ext=c
72291 ac_cpp='$CPP $CPPFLAGS'
72292 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72293 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72294 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72295
72296
72297 fi
72298
72299 fi
72300 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_use" >&5
72301 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_use" >&6
72302 if test x$glibcxx_cv_func___builtin_sinf_use = x"yes"; then
72303 echo "$as_me:$LINENO: checking for __builtin_sinf linkage" >&5
72304 echo $ECHO_N "checking for __builtin_sinf linkage... $ECHO_C" >&6
72305 if test x${glibcxx_cv_func___builtin_sinf_link+set} != xset; then
72306 if test "${glibcxx_cv_func___builtin_sinf_link+set}" = set; then
72307 echo $ECHO_N "(cached) $ECHO_C" >&6
72308 else
72309
72310 if test x$gcc_no_link = xyes; then
72311 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72312 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72313 { (exit 1); exit 1; }; }
72314 fi
72315 cat >conftest.$ac_ext <<_ACEOF
72316 /* confdefs.h. */
72317 _ACEOF
72318 cat confdefs.h >>conftest.$ac_ext
72319 cat >>conftest.$ac_ext <<_ACEOF
72320 /* end confdefs.h. */
72321 #include <math.h>
72322 int
72323 main ()
72324 {
72325 __builtin_sinf(0);
72326 ;
72327 return 0;
72328 }
72329 _ACEOF
72330 rm -f conftest.$ac_objext conftest$ac_exeext
72331 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72332 (eval $ac_link) 2>conftest.er1
72333 ac_status=$?
72334 grep -v '^ *+' conftest.er1 >conftest.err
72335 rm -f conftest.er1
72336 cat conftest.err >&5
72337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72338 (exit $ac_status); } &&
72339 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
72340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72341 (eval $ac_try) 2>&5
72342 ac_status=$?
72343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72344 (exit $ac_status); }; } &&
72345 { ac_try='test -s conftest$ac_exeext'
72346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72347 (eval $ac_try) 2>&5
72348 ac_status=$?
72349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72350 (exit $ac_status); }; }; then
72351 glibcxx_cv_func___builtin_sinf_link=yes
72352 else
72353 echo "$as_me: failed program was:" >&5
72354 sed 's/^/| /' conftest.$ac_ext >&5
72355
72356 glibcxx_cv_func___builtin_sinf_link=no
72357 fi
72358 rm -f conftest.err conftest.$ac_objext \
72359 conftest$ac_exeext conftest.$ac_ext
72360
72361 fi
72362
72363 fi
72364 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_link" >&5
72365 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_link" >&6
72366
72367 if test x$glibcxx_cv_func___builtin_sinf_link = x"yes"; then
72368
72369 cat >>confdefs.h <<\_ACEOF
72370 #define HAVE___BUILTIN_SINF 1
72371 _ACEOF
72372
72373 fi
72374
72375 fi
72376
72377
72378 echo "$as_me:$LINENO: checking for __builtin_sin declaration" >&5
72379 echo $ECHO_N "checking for __builtin_sin declaration... $ECHO_C" >&6
72380 if test x${glibcxx_cv_func___builtin_sin_use+set} != xset; then
72381 if test "${glibcxx_cv_func___builtin_sin_use+set}" = set; then
72382 echo $ECHO_N "(cached) $ECHO_C" >&6
72383 else
72384
72385
72386
72387 ac_ext=cc
72388 ac_cpp='$CXXCPP $CPPFLAGS'
72389 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72390 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72391 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72392
72393 cat >conftest.$ac_ext <<_ACEOF
72394 /* confdefs.h. */
72395 _ACEOF
72396 cat confdefs.h >>conftest.$ac_ext
72397 cat >>conftest.$ac_ext <<_ACEOF
72398 /* end confdefs.h. */
72399 #include <math.h>
72400 int
72401 main ()
72402 {
72403 __builtin_sin(0);
72404 ;
72405 return 0;
72406 }
72407 _ACEOF
72408 rm -f conftest.$ac_objext
72409 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72410 (eval $ac_compile) 2>conftest.er1
72411 ac_status=$?
72412 grep -v '^ *+' conftest.er1 >conftest.err
72413 rm -f conftest.er1
72414 cat conftest.err >&5
72415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72416 (exit $ac_status); } &&
72417 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
72418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72419 (eval $ac_try) 2>&5
72420 ac_status=$?
72421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72422 (exit $ac_status); }; } &&
72423 { ac_try='test -s conftest.$ac_objext'
72424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72425 (eval $ac_try) 2>&5
72426 ac_status=$?
72427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72428 (exit $ac_status); }; }; then
72429 glibcxx_cv_func___builtin_sin_use=yes
72430 else
72431 echo "$as_me: failed program was:" >&5
72432 sed 's/^/| /' conftest.$ac_ext >&5
72433
72434 glibcxx_cv_func___builtin_sin_use=no
72435 fi
72436 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72437 ac_ext=c
72438 ac_cpp='$CPP $CPPFLAGS'
72439 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72440 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72441 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72442
72443
72444 fi
72445
72446 fi
72447 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_use" >&5
72448 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_use" >&6
72449 if test x$glibcxx_cv_func___builtin_sin_use = x"yes"; then
72450 echo "$as_me:$LINENO: checking for __builtin_sin linkage" >&5
72451 echo $ECHO_N "checking for __builtin_sin linkage... $ECHO_C" >&6
72452 if test x${glibcxx_cv_func___builtin_sin_link+set} != xset; then
72453 if test "${glibcxx_cv_func___builtin_sin_link+set}" = set; then
72454 echo $ECHO_N "(cached) $ECHO_C" >&6
72455 else
72456
72457 if test x$gcc_no_link = xyes; then
72458 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72459 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72460 { (exit 1); exit 1; }; }
72461 fi
72462 cat >conftest.$ac_ext <<_ACEOF
72463 /* confdefs.h. */
72464 _ACEOF
72465 cat confdefs.h >>conftest.$ac_ext
72466 cat >>conftest.$ac_ext <<_ACEOF
72467 /* end confdefs.h. */
72468 #include <math.h>
72469 int
72470 main ()
72471 {
72472 __builtin_sin(0);
72473 ;
72474 return 0;
72475 }
72476 _ACEOF
72477 rm -f conftest.$ac_objext conftest$ac_exeext
72478 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72479 (eval $ac_link) 2>conftest.er1
72480 ac_status=$?
72481 grep -v '^ *+' conftest.er1 >conftest.err
72482 rm -f conftest.er1
72483 cat conftest.err >&5
72484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72485 (exit $ac_status); } &&
72486 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
72487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72488 (eval $ac_try) 2>&5
72489 ac_status=$?
72490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72491 (exit $ac_status); }; } &&
72492 { ac_try='test -s conftest$ac_exeext'
72493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72494 (eval $ac_try) 2>&5
72495 ac_status=$?
72496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72497 (exit $ac_status); }; }; then
72498 glibcxx_cv_func___builtin_sin_link=yes
72499 else
72500 echo "$as_me: failed program was:" >&5
72501 sed 's/^/| /' conftest.$ac_ext >&5
72502
72503 glibcxx_cv_func___builtin_sin_link=no
72504 fi
72505 rm -f conftest.err conftest.$ac_objext \
72506 conftest$ac_exeext conftest.$ac_ext
72507
72508 fi
72509
72510 fi
72511 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_link" >&5
72512 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_link" >&6
72513
72514 if test x$glibcxx_cv_func___builtin_sin_link = x"yes"; then
72515
72516 cat >>confdefs.h <<\_ACEOF
72517 #define HAVE___BUILTIN_SIN 1
72518 _ACEOF
72519
72520 fi
72521
72522 fi
72523
72524
72525 echo "$as_me:$LINENO: checking for __builtin_sinl declaration" >&5
72526 echo $ECHO_N "checking for __builtin_sinl declaration... $ECHO_C" >&6
72527 if test x${glibcxx_cv_func___builtin_sinl_use+set} != xset; then
72528 if test "${glibcxx_cv_func___builtin_sinl_use+set}" = set; then
72529 echo $ECHO_N "(cached) $ECHO_C" >&6
72530 else
72531
72532
72533
72534 ac_ext=cc
72535 ac_cpp='$CXXCPP $CPPFLAGS'
72536 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72537 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72538 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72539
72540 cat >conftest.$ac_ext <<_ACEOF
72541 /* confdefs.h. */
72542 _ACEOF
72543 cat confdefs.h >>conftest.$ac_ext
72544 cat >>conftest.$ac_ext <<_ACEOF
72545 /* end confdefs.h. */
72546 #include <math.h>
72547 int
72548 main ()
72549 {
72550 __builtin_sinl(0);
72551 ;
72552 return 0;
72553 }
72554 _ACEOF
72555 rm -f conftest.$ac_objext
72556 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72557 (eval $ac_compile) 2>conftest.er1
72558 ac_status=$?
72559 grep -v '^ *+' conftest.er1 >conftest.err
72560 rm -f conftest.er1
72561 cat conftest.err >&5
72562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72563 (exit $ac_status); } &&
72564 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
72565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72566 (eval $ac_try) 2>&5
72567 ac_status=$?
72568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72569 (exit $ac_status); }; } &&
72570 { ac_try='test -s conftest.$ac_objext'
72571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72572 (eval $ac_try) 2>&5
72573 ac_status=$?
72574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72575 (exit $ac_status); }; }; then
72576 glibcxx_cv_func___builtin_sinl_use=yes
72577 else
72578 echo "$as_me: failed program was:" >&5
72579 sed 's/^/| /' conftest.$ac_ext >&5
72580
72581 glibcxx_cv_func___builtin_sinl_use=no
72582 fi
72583 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72584 ac_ext=c
72585 ac_cpp='$CPP $CPPFLAGS'
72586 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72587 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72588 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72589
72590
72591 fi
72592
72593 fi
72594 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_use" >&5
72595 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_use" >&6
72596 if test x$glibcxx_cv_func___builtin_sinl_use = x"yes"; then
72597 echo "$as_me:$LINENO: checking for __builtin_sinl linkage" >&5
72598 echo $ECHO_N "checking for __builtin_sinl linkage... $ECHO_C" >&6
72599 if test x${glibcxx_cv_func___builtin_sinl_link+set} != xset; then
72600 if test "${glibcxx_cv_func___builtin_sinl_link+set}" = set; then
72601 echo $ECHO_N "(cached) $ECHO_C" >&6
72602 else
72603
72604 if test x$gcc_no_link = xyes; then
72605 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72606 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72607 { (exit 1); exit 1; }; }
72608 fi
72609 cat >conftest.$ac_ext <<_ACEOF
72610 /* confdefs.h. */
72611 _ACEOF
72612 cat confdefs.h >>conftest.$ac_ext
72613 cat >>conftest.$ac_ext <<_ACEOF
72614 /* end confdefs.h. */
72615 #include <math.h>
72616 int
72617 main ()
72618 {
72619 __builtin_sinl(0);
72620 ;
72621 return 0;
72622 }
72623 _ACEOF
72624 rm -f conftest.$ac_objext conftest$ac_exeext
72625 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72626 (eval $ac_link) 2>conftest.er1
72627 ac_status=$?
72628 grep -v '^ *+' conftest.er1 >conftest.err
72629 rm -f conftest.er1
72630 cat conftest.err >&5
72631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72632 (exit $ac_status); } &&
72633 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
72634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72635 (eval $ac_try) 2>&5
72636 ac_status=$?
72637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72638 (exit $ac_status); }; } &&
72639 { ac_try='test -s conftest$ac_exeext'
72640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72641 (eval $ac_try) 2>&5
72642 ac_status=$?
72643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72644 (exit $ac_status); }; }; then
72645 glibcxx_cv_func___builtin_sinl_link=yes
72646 else
72647 echo "$as_me: failed program was:" >&5
72648 sed 's/^/| /' conftest.$ac_ext >&5
72649
72650 glibcxx_cv_func___builtin_sinl_link=no
72651 fi
72652 rm -f conftest.err conftest.$ac_objext \
72653 conftest$ac_exeext conftest.$ac_ext
72654
72655 fi
72656
72657 fi
72658 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_link" >&5
72659 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_link" >&6
72660
72661 if test x$glibcxx_cv_func___builtin_sinl_link = x"yes"; then
72662
72663 cat >>confdefs.h <<\_ACEOF
72664 #define HAVE___BUILTIN_SINL 1
72665 _ACEOF
72666
72667 fi
72668
72669 fi
72670
72671
72672
72673 echo "$as_me:$LINENO: checking for __builtin_cosf declaration" >&5
72674 echo $ECHO_N "checking for __builtin_cosf declaration... $ECHO_C" >&6
72675 if test x${glibcxx_cv_func___builtin_cosf_use+set} != xset; then
72676 if test "${glibcxx_cv_func___builtin_cosf_use+set}" = set; then
72677 echo $ECHO_N "(cached) $ECHO_C" >&6
72678 else
72679
72680
72681
72682 ac_ext=cc
72683 ac_cpp='$CXXCPP $CPPFLAGS'
72684 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72685 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72686 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72687
72688 cat >conftest.$ac_ext <<_ACEOF
72689 /* confdefs.h. */
72690 _ACEOF
72691 cat confdefs.h >>conftest.$ac_ext
72692 cat >>conftest.$ac_ext <<_ACEOF
72693 /* end confdefs.h. */
72694 #include <math.h>
72695 int
72696 main ()
72697 {
72698 __builtin_cosf(0);
72699 ;
72700 return 0;
72701 }
72702 _ACEOF
72703 rm -f conftest.$ac_objext
72704 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72705 (eval $ac_compile) 2>conftest.er1
72706 ac_status=$?
72707 grep -v '^ *+' conftest.er1 >conftest.err
72708 rm -f conftest.er1
72709 cat conftest.err >&5
72710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72711 (exit $ac_status); } &&
72712 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
72713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72714 (eval $ac_try) 2>&5
72715 ac_status=$?
72716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72717 (exit $ac_status); }; } &&
72718 { ac_try='test -s conftest.$ac_objext'
72719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72720 (eval $ac_try) 2>&5
72721 ac_status=$?
72722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72723 (exit $ac_status); }; }; then
72724 glibcxx_cv_func___builtin_cosf_use=yes
72725 else
72726 echo "$as_me: failed program was:" >&5
72727 sed 's/^/| /' conftest.$ac_ext >&5
72728
72729 glibcxx_cv_func___builtin_cosf_use=no
72730 fi
72731 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72732 ac_ext=c
72733 ac_cpp='$CPP $CPPFLAGS'
72734 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72735 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72736 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72737
72738
72739 fi
72740
72741 fi
72742 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_use" >&5
72743 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_use" >&6
72744 if test x$glibcxx_cv_func___builtin_cosf_use = x"yes"; then
72745 echo "$as_me:$LINENO: checking for __builtin_cosf linkage" >&5
72746 echo $ECHO_N "checking for __builtin_cosf linkage... $ECHO_C" >&6
72747 if test x${glibcxx_cv_func___builtin_cosf_link+set} != xset; then
72748 if test "${glibcxx_cv_func___builtin_cosf_link+set}" = set; then
72749 echo $ECHO_N "(cached) $ECHO_C" >&6
72750 else
72751
72752 if test x$gcc_no_link = xyes; then
72753 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72754 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72755 { (exit 1); exit 1; }; }
72756 fi
72757 cat >conftest.$ac_ext <<_ACEOF
72758 /* confdefs.h. */
72759 _ACEOF
72760 cat confdefs.h >>conftest.$ac_ext
72761 cat >>conftest.$ac_ext <<_ACEOF
72762 /* end confdefs.h. */
72763 #include <math.h>
72764 int
72765 main ()
72766 {
72767 __builtin_cosf(0);
72768 ;
72769 return 0;
72770 }
72771 _ACEOF
72772 rm -f conftest.$ac_objext conftest$ac_exeext
72773 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72774 (eval $ac_link) 2>conftest.er1
72775 ac_status=$?
72776 grep -v '^ *+' conftest.er1 >conftest.err
72777 rm -f conftest.er1
72778 cat conftest.err >&5
72779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72780 (exit $ac_status); } &&
72781 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
72782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72783 (eval $ac_try) 2>&5
72784 ac_status=$?
72785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72786 (exit $ac_status); }; } &&
72787 { ac_try='test -s conftest$ac_exeext'
72788 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72789 (eval $ac_try) 2>&5
72790 ac_status=$?
72791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72792 (exit $ac_status); }; }; then
72793 glibcxx_cv_func___builtin_cosf_link=yes
72794 else
72795 echo "$as_me: failed program was:" >&5
72796 sed 's/^/| /' conftest.$ac_ext >&5
72797
72798 glibcxx_cv_func___builtin_cosf_link=no
72799 fi
72800 rm -f conftest.err conftest.$ac_objext \
72801 conftest$ac_exeext conftest.$ac_ext
72802
72803 fi
72804
72805 fi
72806 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_link" >&5
72807 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_link" >&6
72808
72809 if test x$glibcxx_cv_func___builtin_cosf_link = x"yes"; then
72810
72811 cat >>confdefs.h <<\_ACEOF
72812 #define HAVE___BUILTIN_COSF 1
72813 _ACEOF
72814
72815 fi
72816
72817 fi
72818
72819
72820 echo "$as_me:$LINENO: checking for __builtin_cos declaration" >&5
72821 echo $ECHO_N "checking for __builtin_cos declaration... $ECHO_C" >&6
72822 if test x${glibcxx_cv_func___builtin_cos_use+set} != xset; then
72823 if test "${glibcxx_cv_func___builtin_cos_use+set}" = set; then
72824 echo $ECHO_N "(cached) $ECHO_C" >&6
72825 else
72826
72827
72828
72829 ac_ext=cc
72830 ac_cpp='$CXXCPP $CPPFLAGS'
72831 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72832 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72833 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72834
72835 cat >conftest.$ac_ext <<_ACEOF
72836 /* confdefs.h. */
72837 _ACEOF
72838 cat confdefs.h >>conftest.$ac_ext
72839 cat >>conftest.$ac_ext <<_ACEOF
72840 /* end confdefs.h. */
72841 #include <math.h>
72842 int
72843 main ()
72844 {
72845 __builtin_cos(0);
72846 ;
72847 return 0;
72848 }
72849 _ACEOF
72850 rm -f conftest.$ac_objext
72851 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72852 (eval $ac_compile) 2>conftest.er1
72853 ac_status=$?
72854 grep -v '^ *+' conftest.er1 >conftest.err
72855 rm -f conftest.er1
72856 cat conftest.err >&5
72857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72858 (exit $ac_status); } &&
72859 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
72860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72861 (eval $ac_try) 2>&5
72862 ac_status=$?
72863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72864 (exit $ac_status); }; } &&
72865 { ac_try='test -s conftest.$ac_objext'
72866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72867 (eval $ac_try) 2>&5
72868 ac_status=$?
72869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72870 (exit $ac_status); }; }; then
72871 glibcxx_cv_func___builtin_cos_use=yes
72872 else
72873 echo "$as_me: failed program was:" >&5
72874 sed 's/^/| /' conftest.$ac_ext >&5
72875
72876 glibcxx_cv_func___builtin_cos_use=no
72877 fi
72878 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72879 ac_ext=c
72880 ac_cpp='$CPP $CPPFLAGS'
72881 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72882 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72883 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72884
72885
72886 fi
72887
72888 fi
72889 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_use" >&5
72890 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_use" >&6
72891 if test x$glibcxx_cv_func___builtin_cos_use = x"yes"; then
72892 echo "$as_me:$LINENO: checking for __builtin_cos linkage" >&5
72893 echo $ECHO_N "checking for __builtin_cos linkage... $ECHO_C" >&6
72894 if test x${glibcxx_cv_func___builtin_cos_link+set} != xset; then
72895 if test "${glibcxx_cv_func___builtin_cos_link+set}" = set; then
72896 echo $ECHO_N "(cached) $ECHO_C" >&6
72897 else
72898
72899 if test x$gcc_no_link = xyes; then
72900 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72901 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72902 { (exit 1); exit 1; }; }
72903 fi
72904 cat >conftest.$ac_ext <<_ACEOF
72905 /* confdefs.h. */
72906 _ACEOF
72907 cat confdefs.h >>conftest.$ac_ext
72908 cat >>conftest.$ac_ext <<_ACEOF
72909 /* end confdefs.h. */
72910 #include <math.h>
72911 int
72912 main ()
72913 {
72914 __builtin_cos(0);
72915 ;
72916 return 0;
72917 }
72918 _ACEOF
72919 rm -f conftest.$ac_objext conftest$ac_exeext
72920 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72921 (eval $ac_link) 2>conftest.er1
72922 ac_status=$?
72923 grep -v '^ *+' conftest.er1 >conftest.err
72924 rm -f conftest.er1
72925 cat conftest.err >&5
72926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72927 (exit $ac_status); } &&
72928 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
72929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72930 (eval $ac_try) 2>&5
72931 ac_status=$?
72932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72933 (exit $ac_status); }; } &&
72934 { ac_try='test -s conftest$ac_exeext'
72935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72936 (eval $ac_try) 2>&5
72937 ac_status=$?
72938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72939 (exit $ac_status); }; }; then
72940 glibcxx_cv_func___builtin_cos_link=yes
72941 else
72942 echo "$as_me: failed program was:" >&5
72943 sed 's/^/| /' conftest.$ac_ext >&5
72944
72945 glibcxx_cv_func___builtin_cos_link=no
72946 fi
72947 rm -f conftest.err conftest.$ac_objext \
72948 conftest$ac_exeext conftest.$ac_ext
72949
72950 fi
72951
72952 fi
72953 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_link" >&5
72954 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_link" >&6
72955
72956 if test x$glibcxx_cv_func___builtin_cos_link = x"yes"; then
72957
72958 cat >>confdefs.h <<\_ACEOF
72959 #define HAVE___BUILTIN_COS 1
72960 _ACEOF
72961
72962 fi
72963
72964 fi
72965
72966
72967 echo "$as_me:$LINENO: checking for __builtin_cosl declaration" >&5
72968 echo $ECHO_N "checking for __builtin_cosl declaration... $ECHO_C" >&6
72969 if test x${glibcxx_cv_func___builtin_cosl_use+set} != xset; then
72970 if test "${glibcxx_cv_func___builtin_cosl_use+set}" = set; then
72971 echo $ECHO_N "(cached) $ECHO_C" >&6
72972 else
72973
72974
72975
72976 ac_ext=cc
72977 ac_cpp='$CXXCPP $CPPFLAGS'
72978 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72979 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72980 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72981
72982 cat >conftest.$ac_ext <<_ACEOF
72983 /* confdefs.h. */
72984 _ACEOF
72985 cat confdefs.h >>conftest.$ac_ext
72986 cat >>conftest.$ac_ext <<_ACEOF
72987 /* end confdefs.h. */
72988 #include <math.h>
72989 int
72990 main ()
72991 {
72992 __builtin_cosl(0);
72993 ;
72994 return 0;
72995 }
72996 _ACEOF
72997 rm -f conftest.$ac_objext
72998 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72999 (eval $ac_compile) 2>conftest.er1
73000 ac_status=$?
73001 grep -v '^ *+' conftest.er1 >conftest.err
73002 rm -f conftest.er1
73003 cat conftest.err >&5
73004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73005 (exit $ac_status); } &&
73006 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
73007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73008 (eval $ac_try) 2>&5
73009 ac_status=$?
73010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73011 (exit $ac_status); }; } &&
73012 { ac_try='test -s conftest.$ac_objext'
73013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73014 (eval $ac_try) 2>&5
73015 ac_status=$?
73016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73017 (exit $ac_status); }; }; then
73018 glibcxx_cv_func___builtin_cosl_use=yes
73019 else
73020 echo "$as_me: failed program was:" >&5
73021 sed 's/^/| /' conftest.$ac_ext >&5
73022
73023 glibcxx_cv_func___builtin_cosl_use=no
73024 fi
73025 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73026 ac_ext=c
73027 ac_cpp='$CPP $CPPFLAGS'
73028 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73029 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73030 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73031
73032
73033 fi
73034
73035 fi
73036 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_use" >&5
73037 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_use" >&6
73038 if test x$glibcxx_cv_func___builtin_cosl_use = x"yes"; then
73039 echo "$as_me:$LINENO: checking for __builtin_cosl linkage" >&5
73040 echo $ECHO_N "checking for __builtin_cosl linkage... $ECHO_C" >&6
73041 if test x${glibcxx_cv_func___builtin_cosl_link+set} != xset; then
73042 if test "${glibcxx_cv_func___builtin_cosl_link+set}" = set; then
73043 echo $ECHO_N "(cached) $ECHO_C" >&6
73044 else
73045
73046 if test x$gcc_no_link = xyes; then
73047 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73048 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73049 { (exit 1); exit 1; }; }
73050 fi
73051 cat >conftest.$ac_ext <<_ACEOF
73052 /* confdefs.h. */
73053 _ACEOF
73054 cat confdefs.h >>conftest.$ac_ext
73055 cat >>conftest.$ac_ext <<_ACEOF
73056 /* end confdefs.h. */
73057 #include <math.h>
73058 int
73059 main ()
73060 {
73061 __builtin_cosl(0);
73062 ;
73063 return 0;
73064 }
73065 _ACEOF
73066 rm -f conftest.$ac_objext conftest$ac_exeext
73067 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73068 (eval $ac_link) 2>conftest.er1
73069 ac_status=$?
73070 grep -v '^ *+' conftest.er1 >conftest.err
73071 rm -f conftest.er1
73072 cat conftest.err >&5
73073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73074 (exit $ac_status); } &&
73075 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
73076 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73077 (eval $ac_try) 2>&5
73078 ac_status=$?
73079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73080 (exit $ac_status); }; } &&
73081 { ac_try='test -s conftest$ac_exeext'
73082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73083 (eval $ac_try) 2>&5
73084 ac_status=$?
73085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73086 (exit $ac_status); }; }; then
73087 glibcxx_cv_func___builtin_cosl_link=yes
73088 else
73089 echo "$as_me: failed program was:" >&5
73090 sed 's/^/| /' conftest.$ac_ext >&5
73091
73092 glibcxx_cv_func___builtin_cosl_link=no
73093 fi
73094 rm -f conftest.err conftest.$ac_objext \
73095 conftest$ac_exeext conftest.$ac_ext
73096
73097 fi
73098
73099 fi
73100 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_link" >&5
73101 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_link" >&6
73102
73103 if test x$glibcxx_cv_func___builtin_cosl_link = x"yes"; then
73104
73105 cat >>confdefs.h <<\_ACEOF
73106 #define HAVE___BUILTIN_COSL 1
73107 _ACEOF
73108
73109 fi
73110
73111 fi
73112
73113
73114
73115
73116 echo "$as_me:$LINENO: checking for main in -lm" >&5
73117 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
73118 if test "${ac_cv_lib_m_main+set}" = set; then
73119 echo $ECHO_N "(cached) $ECHO_C" >&6
73120 else
73121 ac_check_lib_save_LIBS=$LIBS
73122 LIBS="-lm $LIBS"
73123 if test x$gcc_no_link = xyes; then
73124 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73125 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73126 { (exit 1); exit 1; }; }
73127 fi
73128 cat >conftest.$ac_ext <<_ACEOF
73129 /* confdefs.h. */
73130 _ACEOF
73131 cat confdefs.h >>conftest.$ac_ext
73132 cat >>conftest.$ac_ext <<_ACEOF
73133 /* end confdefs.h. */
73134
73135
73136 int
73137 main ()
73138 {
73139 main ();
73140 ;
73141 return 0;
73142 }
73143 _ACEOF
73144 rm -f conftest.$ac_objext conftest$ac_exeext
73145 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73146 (eval $ac_link) 2>conftest.er1
73147 ac_status=$?
73148 grep -v '^ *+' conftest.er1 >conftest.err
73149 rm -f conftest.er1
73150 cat conftest.err >&5
73151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73152 (exit $ac_status); } &&
73153 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
73154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73155 (eval $ac_try) 2>&5
73156 ac_status=$?
73157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73158 (exit $ac_status); }; } &&
73159 { ac_try='test -s conftest$ac_exeext'
73160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73161 (eval $ac_try) 2>&5
73162 ac_status=$?
73163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73164 (exit $ac_status); }; }; then
73165 ac_cv_lib_m_main=yes
73166 else
73167 echo "$as_me: failed program was:" >&5
73168 sed 's/^/| /' conftest.$ac_ext >&5
73169
73170 ac_cv_lib_m_main=no
73171 fi
73172 rm -f conftest.err conftest.$ac_objext \
73173 conftest$ac_exeext conftest.$ac_ext
73174 LIBS=$ac_check_lib_save_LIBS
73175 fi
73176 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
73177 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
73178 if test $ac_cv_lib_m_main = yes; then
73179 cat >>confdefs.h <<_ACEOF
73180 #define HAVE_LIBM 1
73181 _ACEOF
73182
73183 LIBS="-lm $LIBS"
73184
73185 fi
73186
73187
73188 for ac_func in copysignf
73189 do
73190 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
73191 echo "$as_me:$LINENO: checking for $ac_func" >&5
73192 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
73193 if eval "test \"\${$as_ac_var+set}\" = set"; then
73194 echo $ECHO_N "(cached) $ECHO_C" >&6
73195 else
73196 if test x$gcc_no_link = xyes; then
73197 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73198 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73199 { (exit 1); exit 1; }; }
73200 fi
73201 cat >conftest.$ac_ext <<_ACEOF
73202 /* confdefs.h. */
73203 _ACEOF
73204 cat confdefs.h >>conftest.$ac_ext
73205 cat >>conftest.$ac_ext <<_ACEOF
73206 /* end confdefs.h. */
73207 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
73208 For example, HP-UX 11i <limits.h> declares gettimeofday. */
73209 #define $ac_func innocuous_$ac_func
73210
73211 /* System header to define __stub macros and hopefully few prototypes,
73212 which can conflict with char $ac_func (); below.
73213 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
73214 <limits.h> exists even on freestanding compilers. */
73215
73216 #ifdef __STDC__
73217 # include <limits.h>
73218 #else
73219 # include <assert.h>
73220 #endif
73221
73222 #undef $ac_func
73223
73224 /* Override any gcc2 internal prototype to avoid an error. */
73225 #ifdef __cplusplus
73226 extern "C"
73227 {
73228 #endif
73229 /* We use char because int might match the return type of a gcc2
73230 builtin and then its argument prototype would still apply. */
73231 char $ac_func ();
73232 /* The GNU C library defines this for functions which it implements
73233 to always fail with ENOSYS. Some functions are actually named
73234 something starting with __ and the normal name is an alias. */
73235 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
73236 choke me
73237 #else
73238 char (*f) () = $ac_func;
73239 #endif
73240 #ifdef __cplusplus
73241 }
73242 #endif
73243
73244 int
73245 main ()
73246 {
73247 return f != $ac_func;
73248 ;
73249 return 0;
73250 }
73251 _ACEOF
73252 rm -f conftest.$ac_objext conftest$ac_exeext
73253 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73254 (eval $ac_link) 2>conftest.er1
73255 ac_status=$?
73256 grep -v '^ *+' conftest.er1 >conftest.err
73257 rm -f conftest.er1
73258 cat conftest.err >&5
73259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73260 (exit $ac_status); } &&
73261 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
73262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73263 (eval $ac_try) 2>&5
73264 ac_status=$?
73265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73266 (exit $ac_status); }; } &&
73267 { ac_try='test -s conftest$ac_exeext'
73268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73269 (eval $ac_try) 2>&5
73270 ac_status=$?
73271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73272 (exit $ac_status); }; }; then
73273 eval "$as_ac_var=yes"
73274 else
73275 echo "$as_me: failed program was:" >&5
73276 sed 's/^/| /' conftest.$ac_ext >&5
73277
73278 eval "$as_ac_var=no"
73279 fi
73280 rm -f conftest.err conftest.$ac_objext \
73281 conftest$ac_exeext conftest.$ac_ext
73282 fi
73283 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
73284 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
73285 if test `eval echo '${'$as_ac_var'}'` = yes; then
73286 cat >>confdefs.h <<_ACEOF
73287 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
73288 _ACEOF
73289
73290 else
73291 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
73292 fi
73293 done
73294
73295
73296
73297 for ac_func in __signbit
73298 do
73299 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
73300 echo "$as_me:$LINENO: checking for $ac_func" >&5
73301 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
73302 if eval "test \"\${$as_ac_var+set}\" = set"; then
73303 echo $ECHO_N "(cached) $ECHO_C" >&6
73304 else
73305 if test x$gcc_no_link = xyes; then
73306 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73307 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73308 { (exit 1); exit 1; }; }
73309 fi
73310 cat >conftest.$ac_ext <<_ACEOF
73311 /* confdefs.h. */
73312 _ACEOF
73313 cat confdefs.h >>conftest.$ac_ext
73314 cat >>conftest.$ac_ext <<_ACEOF
73315 /* end confdefs.h. */
73316 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
73317 For example, HP-UX 11i <limits.h> declares gettimeofday. */
73318 #define $ac_func innocuous_$ac_func
73319
73320 /* System header to define __stub macros and hopefully few prototypes,
73321 which can conflict with char $ac_func (); below.
73322 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
73323 <limits.h> exists even on freestanding compilers. */
73324
73325 #ifdef __STDC__
73326 # include <limits.h>
73327 #else
73328 # include <assert.h>
73329 #endif
73330
73331 #undef $ac_func
73332
73333 /* Override any gcc2 internal prototype to avoid an error. */
73334 #ifdef __cplusplus
73335 extern "C"
73336 {
73337 #endif
73338 /* We use char because int might match the return type of a gcc2
73339 builtin and then its argument prototype would still apply. */
73340 char $ac_func ();
73341 /* The GNU C library defines this for functions which it implements
73342 to always fail with ENOSYS. Some functions are actually named
73343 something starting with __ and the normal name is an alias. */
73344 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
73345 choke me
73346 #else
73347 char (*f) () = $ac_func;
73348 #endif
73349 #ifdef __cplusplus
73350 }
73351 #endif
73352
73353 int
73354 main ()
73355 {
73356 return f != $ac_func;
73357 ;
73358 return 0;
73359 }
73360 _ACEOF
73361 rm -f conftest.$ac_objext conftest$ac_exeext
73362 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73363 (eval $ac_link) 2>conftest.er1
73364 ac_status=$?
73365 grep -v '^ *+' conftest.er1 >conftest.err
73366 rm -f conftest.er1
73367 cat conftest.err >&5
73368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73369 (exit $ac_status); } &&
73370 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
73371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73372 (eval $ac_try) 2>&5
73373 ac_status=$?
73374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73375 (exit $ac_status); }; } &&
73376 { ac_try='test -s conftest$ac_exeext'
73377 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73378 (eval $ac_try) 2>&5
73379 ac_status=$?
73380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73381 (exit $ac_status); }; }; then
73382 eval "$as_ac_var=yes"
73383 else
73384 echo "$as_me: failed program was:" >&5
73385 sed 's/^/| /' conftest.$ac_ext >&5
73386
73387 eval "$as_ac_var=no"
73388 fi
73389 rm -f conftest.err conftest.$ac_objext \
73390 conftest$ac_exeext conftest.$ac_ext
73391 fi
73392 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
73393 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
73394 if test `eval echo '${'$as_ac_var'}'` = yes; then
73395 cat >>confdefs.h <<_ACEOF
73396 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
73397 _ACEOF
73398
73399 else
73400 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
73401 fi
73402 done
73403
73404
73405
73406 for ac_func in __signbitf
73407 do
73408 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
73409 echo "$as_me:$LINENO: checking for $ac_func" >&5
73410 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
73411 if eval "test \"\${$as_ac_var+set}\" = set"; then
73412 echo $ECHO_N "(cached) $ECHO_C" >&6
73413 else
73414 if test x$gcc_no_link = xyes; then
73415 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73416 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73417 { (exit 1); exit 1; }; }
73418 fi
73419 cat >conftest.$ac_ext <<_ACEOF
73420 /* confdefs.h. */
73421 _ACEOF
73422 cat confdefs.h >>conftest.$ac_ext
73423 cat >>conftest.$ac_ext <<_ACEOF
73424 /* end confdefs.h. */
73425 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
73426 For example, HP-UX 11i <limits.h> declares gettimeofday. */
73427 #define $ac_func innocuous_$ac_func
73428
73429 /* System header to define __stub macros and hopefully few prototypes,
73430 which can conflict with char $ac_func (); below.
73431 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
73432 <limits.h> exists even on freestanding compilers. */
73433
73434 #ifdef __STDC__
73435 # include <limits.h>
73436 #else
73437 # include <assert.h>
73438 #endif
73439
73440 #undef $ac_func
73441
73442 /* Override any gcc2 internal prototype to avoid an error. */
73443 #ifdef __cplusplus
73444 extern "C"
73445 {
73446 #endif
73447 /* We use char because int might match the return type of a gcc2
73448 builtin and then its argument prototype would still apply. */
73449 char $ac_func ();
73450 /* The GNU C library defines this for functions which it implements
73451 to always fail with ENOSYS. Some functions are actually named
73452 something starting with __ and the normal name is an alias. */
73453 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
73454 choke me
73455 #else
73456 char (*f) () = $ac_func;
73457 #endif
73458 #ifdef __cplusplus
73459 }
73460 #endif
73461
73462 int
73463 main ()
73464 {
73465 return f != $ac_func;
73466 ;
73467 return 0;
73468 }
73469 _ACEOF
73470 rm -f conftest.$ac_objext conftest$ac_exeext
73471 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73472 (eval $ac_link) 2>conftest.er1
73473 ac_status=$?
73474 grep -v '^ *+' conftest.er1 >conftest.err
73475 rm -f conftest.er1
73476 cat conftest.err >&5
73477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73478 (exit $ac_status); } &&
73479 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
73480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73481 (eval $ac_try) 2>&5
73482 ac_status=$?
73483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73484 (exit $ac_status); }; } &&
73485 { ac_try='test -s conftest$ac_exeext'
73486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73487 (eval $ac_try) 2>&5
73488 ac_status=$?
73489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73490 (exit $ac_status); }; }; then
73491 eval "$as_ac_var=yes"
73492 else
73493 echo "$as_me: failed program was:" >&5
73494 sed 's/^/| /' conftest.$ac_ext >&5
73495
73496 eval "$as_ac_var=no"
73497 fi
73498 rm -f conftest.err conftest.$ac_objext \
73499 conftest$ac_exeext conftest.$ac_ext
73500 fi
73501 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
73502 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
73503 if test `eval echo '${'$as_ac_var'}'` = yes; then
73504 cat >>confdefs.h <<_ACEOF
73505 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
73506 _ACEOF
73507
73508 else
73509 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
73510 fi
73511 done
73512
73513
73514 if test x$ac_cv_func_copysignl = x"yes"; then
73515
73516 for ac_func in __signbitl
73517 do
73518 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
73519 echo "$as_me:$LINENO: checking for $ac_func" >&5
73520 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
73521 if eval "test \"\${$as_ac_var+set}\" = set"; then
73522 echo $ECHO_N "(cached) $ECHO_C" >&6
73523 else
73524 if test x$gcc_no_link = xyes; then
73525 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73526 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73527 { (exit 1); exit 1; }; }
73528 fi
73529 cat >conftest.$ac_ext <<_ACEOF
73530 /* confdefs.h. */
73531 _ACEOF
73532 cat confdefs.h >>conftest.$ac_ext
73533 cat >>conftest.$ac_ext <<_ACEOF
73534 /* end confdefs.h. */
73535 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
73536 For example, HP-UX 11i <limits.h> declares gettimeofday. */
73537 #define $ac_func innocuous_$ac_func
73538
73539 /* System header to define __stub macros and hopefully few prototypes,
73540 which can conflict with char $ac_func (); below.
73541 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
73542 <limits.h> exists even on freestanding compilers. */
73543
73544 #ifdef __STDC__
73545 # include <limits.h>
73546 #else
73547 # include <assert.h>
73548 #endif
73549
73550 #undef $ac_func
73551
73552 /* Override any gcc2 internal prototype to avoid an error. */
73553 #ifdef __cplusplus
73554 extern "C"
73555 {
73556 #endif
73557 /* We use char because int might match the return type of a gcc2
73558 builtin and then its argument prototype would still apply. */
73559 char $ac_func ();
73560 /* The GNU C library defines this for functions which it implements
73561 to always fail with ENOSYS. Some functions are actually named
73562 something starting with __ and the normal name is an alias. */
73563 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
73564 choke me
73565 #else
73566 char (*f) () = $ac_func;
73567 #endif
73568 #ifdef __cplusplus
73569 }
73570 #endif
73571
73572 int
73573 main ()
73574 {
73575 return f != $ac_func;
73576 ;
73577 return 0;
73578 }
73579 _ACEOF
73580 rm -f conftest.$ac_objext conftest$ac_exeext
73581 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73582 (eval $ac_link) 2>conftest.er1
73583 ac_status=$?
73584 grep -v '^ *+' conftest.er1 >conftest.err
73585 rm -f conftest.er1
73586 cat conftest.err >&5
73587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73588 (exit $ac_status); } &&
73589 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
73590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73591 (eval $ac_try) 2>&5
73592 ac_status=$?
73593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73594 (exit $ac_status); }; } &&
73595 { ac_try='test -s conftest$ac_exeext'
73596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73597 (eval $ac_try) 2>&5
73598 ac_status=$?
73599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73600 (exit $ac_status); }; }; then
73601 eval "$as_ac_var=yes"
73602 else
73603 echo "$as_me: failed program was:" >&5
73604 sed 's/^/| /' conftest.$ac_ext >&5
73605
73606 eval "$as_ac_var=no"
73607 fi
73608 rm -f conftest.err conftest.$ac_objext \
73609 conftest$ac_exeext conftest.$ac_ext
73610 fi
73611 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
73612 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
73613 if test `eval echo '${'$as_ac_var'}'` = yes; then
73614 cat >>confdefs.h <<_ACEOF
73615 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
73616 _ACEOF
73617
73618 else
73619 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
73620 fi
73621 done
73622
73623 fi
73624
73625 # Used in libmath/Makefile.am.
73626 if test -n "$LIBMATHOBJS"; then
73627 need_libmath=yes
73628 fi
73629
73630
73631
73632
73633 enable_iconv=no
73634 # Only continue checking if the ISO C99 headers exist and support is on.
73635 if test x"$enable_wchar_t" = xyes; then
73636
73637 # Use iconv for wchar_t to char conversions. As such, check for
73638 # X/Open Portability Guide, version 2 features (XPG2).
73639 if test "${ac_cv_header_iconv_h+set}" = set; then
73640 echo "$as_me:$LINENO: checking for iconv.h" >&5
73641 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
73642 if test "${ac_cv_header_iconv_h+set}" = set; then
73643 echo $ECHO_N "(cached) $ECHO_C" >&6
73644 fi
73645 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
73646 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
73647 else
73648 # Is the header compilable?
73649 echo "$as_me:$LINENO: checking iconv.h usability" >&5
73650 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
73651 cat >conftest.$ac_ext <<_ACEOF
73652 /* confdefs.h. */
73653 _ACEOF
73654 cat confdefs.h >>conftest.$ac_ext
73655 cat >>conftest.$ac_ext <<_ACEOF
73656 /* end confdefs.h. */
73657 $ac_includes_default
73658 #include <iconv.h>
73659 _ACEOF
73660 rm -f conftest.$ac_objext
73661 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73662 (eval $ac_compile) 2>conftest.er1
73663 ac_status=$?
73664 grep -v '^ *+' conftest.er1 >conftest.err
73665 rm -f conftest.er1
73666 cat conftest.err >&5
73667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73668 (exit $ac_status); } &&
73669 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
73670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73671 (eval $ac_try) 2>&5
73672 ac_status=$?
73673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73674 (exit $ac_status); }; } &&
73675 { ac_try='test -s conftest.$ac_objext'
73676 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73677 (eval $ac_try) 2>&5
73678 ac_status=$?
73679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73680 (exit $ac_status); }; }; then
73681 ac_header_compiler=yes
73682 else
73683 echo "$as_me: failed program was:" >&5
73684 sed 's/^/| /' conftest.$ac_ext >&5
73685
73686 ac_header_compiler=no
73687 fi
73688 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73689 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
73690 echo "${ECHO_T}$ac_header_compiler" >&6
73691
73692 # Is the header present?
73693 echo "$as_me:$LINENO: checking iconv.h presence" >&5
73694 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
73695 cat >conftest.$ac_ext <<_ACEOF
73696 /* confdefs.h. */
73697 _ACEOF
73698 cat confdefs.h >>conftest.$ac_ext
73699 cat >>conftest.$ac_ext <<_ACEOF
73700 /* end confdefs.h. */
73701 #include <iconv.h>
73702 _ACEOF
73703 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
73704 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
73705 ac_status=$?
73706 grep -v '^ *+' conftest.er1 >conftest.err
73707 rm -f conftest.er1
73708 cat conftest.err >&5
73709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73710 (exit $ac_status); } >/dev/null; then
73711 if test -s conftest.err; then
73712 ac_cpp_err=$ac_c_preproc_warn_flag
73713 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
73714 else
73715 ac_cpp_err=
73716 fi
73717 else
73718 ac_cpp_err=yes
73719 fi
73720 if test -z "$ac_cpp_err"; then
73721 ac_header_preproc=yes
73722 else
73723 echo "$as_me: failed program was:" >&5
73724 sed 's/^/| /' conftest.$ac_ext >&5
73725
73726 ac_header_preproc=no
73727 fi
73728 rm -f conftest.err conftest.$ac_ext
73729 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
73730 echo "${ECHO_T}$ac_header_preproc" >&6
73731
73732 # So? What about this header?
73733 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
73734 yes:no: )
73735 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
73736 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
73737 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
73738 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
73739 ac_header_preproc=yes
73740 ;;
73741 no:yes:* )
73742 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
73743 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
73744 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
73745 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
73746 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
73747 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
73748 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
73749 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
73750 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
73751 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
73752 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
73753 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
73754 (
73755 cat <<\_ASBOX
73756 ## ----------------------------------------- ##
73757 ## Report this to the package-unused lists. ##
73758 ## ----------------------------------------- ##
73759 _ASBOX
73760 ) |
73761 sed "s/^/$as_me: WARNING: /" >&2
73762 ;;
73763 esac
73764 echo "$as_me:$LINENO: checking for iconv.h" >&5
73765 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
73766 if test "${ac_cv_header_iconv_h+set}" = set; then
73767 echo $ECHO_N "(cached) $ECHO_C" >&6
73768 else
73769 ac_cv_header_iconv_h=$ac_header_preproc
73770 fi
73771 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
73772 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
73773
73774 fi
73775 if test $ac_cv_header_iconv_h = yes; then
73776 ac_has_iconv_h=yes
73777 else
73778 ac_has_iconv_h=no
73779 fi
73780
73781
73782 if test "${ac_cv_header_langinfo_h+set}" = set; then
73783 echo "$as_me:$LINENO: checking for langinfo.h" >&5
73784 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
73785 if test "${ac_cv_header_langinfo_h+set}" = set; then
73786 echo $ECHO_N "(cached) $ECHO_C" >&6
73787 fi
73788 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
73789 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
73790 else
73791 # Is the header compilable?
73792 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
73793 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
73794 cat >conftest.$ac_ext <<_ACEOF
73795 /* confdefs.h. */
73796 _ACEOF
73797 cat confdefs.h >>conftest.$ac_ext
73798 cat >>conftest.$ac_ext <<_ACEOF
73799 /* end confdefs.h. */
73800 $ac_includes_default
73801 #include <langinfo.h>
73802 _ACEOF
73803 rm -f conftest.$ac_objext
73804 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73805 (eval $ac_compile) 2>conftest.er1
73806 ac_status=$?
73807 grep -v '^ *+' conftest.er1 >conftest.err
73808 rm -f conftest.er1
73809 cat conftest.err >&5
73810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73811 (exit $ac_status); } &&
73812 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
73813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73814 (eval $ac_try) 2>&5
73815 ac_status=$?
73816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73817 (exit $ac_status); }; } &&
73818 { ac_try='test -s conftest.$ac_objext'
73819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73820 (eval $ac_try) 2>&5
73821 ac_status=$?
73822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73823 (exit $ac_status); }; }; then
73824 ac_header_compiler=yes
73825 else
73826 echo "$as_me: failed program was:" >&5
73827 sed 's/^/| /' conftest.$ac_ext >&5
73828
73829 ac_header_compiler=no
73830 fi
73831 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73832 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
73833 echo "${ECHO_T}$ac_header_compiler" >&6
73834
73835 # Is the header present?
73836 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
73837 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
73838 cat >conftest.$ac_ext <<_ACEOF
73839 /* confdefs.h. */
73840 _ACEOF
73841 cat confdefs.h >>conftest.$ac_ext
73842 cat >>conftest.$ac_ext <<_ACEOF
73843 /* end confdefs.h. */
73844 #include <langinfo.h>
73845 _ACEOF
73846 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
73847 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
73848 ac_status=$?
73849 grep -v '^ *+' conftest.er1 >conftest.err
73850 rm -f conftest.er1
73851 cat conftest.err >&5
73852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73853 (exit $ac_status); } >/dev/null; then
73854 if test -s conftest.err; then
73855 ac_cpp_err=$ac_c_preproc_warn_flag
73856 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
73857 else
73858 ac_cpp_err=
73859 fi
73860 else
73861 ac_cpp_err=yes
73862 fi
73863 if test -z "$ac_cpp_err"; then
73864 ac_header_preproc=yes
73865 else
73866 echo "$as_me: failed program was:" >&5
73867 sed 's/^/| /' conftest.$ac_ext >&5
73868
73869 ac_header_preproc=no
73870 fi
73871 rm -f conftest.err conftest.$ac_ext
73872 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
73873 echo "${ECHO_T}$ac_header_preproc" >&6
73874
73875 # So? What about this header?
73876 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
73877 yes:no: )
73878 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
73879 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
73880 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
73881 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
73882 ac_header_preproc=yes
73883 ;;
73884 no:yes:* )
73885 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
73886 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
73887 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
73888 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
73889 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
73890 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
73891 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
73892 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
73893 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
73894 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
73895 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
73896 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
73897 (
73898 cat <<\_ASBOX
73899 ## ----------------------------------------- ##
73900 ## Report this to the package-unused lists. ##
73901 ## ----------------------------------------- ##
73902 _ASBOX
73903 ) |
73904 sed "s/^/$as_me: WARNING: /" >&2
73905 ;;
73906 esac
73907 echo "$as_me:$LINENO: checking for langinfo.h" >&5
73908 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
73909 if test "${ac_cv_header_langinfo_h+set}" = set; then
73910 echo $ECHO_N "(cached) $ECHO_C" >&6
73911 else
73912 ac_cv_header_langinfo_h=$ac_header_preproc
73913 fi
73914 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
73915 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
73916
73917 fi
73918 if test $ac_cv_header_langinfo_h = yes; then
73919 ac_has_langinfo_h=yes
73920 else
73921 ac_has_langinfo_h=no
73922 fi
73923
73924
73925
73926 # Check for existence of libiconv.a providing XPG2 wchar_t support.
73927 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
73928 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
73929 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
73930 echo $ECHO_N "(cached) $ECHO_C" >&6
73931 else
73932 ac_check_lib_save_LIBS=$LIBS
73933 LIBS="-liconv $LIBS"
73934 if test x$gcc_no_link = xyes; then
73935 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73936 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73937 { (exit 1); exit 1; }; }
73938 fi
73939 cat >conftest.$ac_ext <<_ACEOF
73940 /* confdefs.h. */
73941 _ACEOF
73942 cat confdefs.h >>conftest.$ac_ext
73943 cat >>conftest.$ac_ext <<_ACEOF
73944 /* end confdefs.h. */
73945
73946 /* Override any gcc2 internal prototype to avoid an error. */
73947 #ifdef __cplusplus
73948 extern "C"
73949 #endif
73950 /* We use char because int might match the return type of a gcc2
73951 builtin and then its argument prototype would still apply. */
73952 char iconv ();
73953 int
73954 main ()
73955 {
73956 iconv ();
73957 ;
73958 return 0;
73959 }
73960 _ACEOF
73961 rm -f conftest.$ac_objext conftest$ac_exeext
73962 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73963 (eval $ac_link) 2>conftest.er1
73964 ac_status=$?
73965 grep -v '^ *+' conftest.er1 >conftest.err
73966 rm -f conftest.er1
73967 cat conftest.err >&5
73968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73969 (exit $ac_status); } &&
73970 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
73971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73972 (eval $ac_try) 2>&5
73973 ac_status=$?
73974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73975 (exit $ac_status); }; } &&
73976 { ac_try='test -s conftest$ac_exeext'
73977 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73978 (eval $ac_try) 2>&5
73979 ac_status=$?
73980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73981 (exit $ac_status); }; }; then
73982 ac_cv_lib_iconv_iconv=yes
73983 else
73984 echo "$as_me: failed program was:" >&5
73985 sed 's/^/| /' conftest.$ac_ext >&5
73986
73987 ac_cv_lib_iconv_iconv=no
73988 fi
73989 rm -f conftest.err conftest.$ac_objext \
73990 conftest$ac_exeext conftest.$ac_ext
73991 LIBS=$ac_check_lib_save_LIBS
73992 fi
73993 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
73994 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
73995 if test $ac_cv_lib_iconv_iconv = yes; then
73996 LIBICONV="-liconv"
73997 fi
73998
73999 ac_save_LIBS="$LIBS"
74000 LIBS="$LIBS $LIBICONV"
74001
74002
74003
74004
74005
74006
74007 for ac_func in iconv_open iconv_close iconv nl_langinfo
74008 do
74009 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74010 echo "$as_me:$LINENO: checking for $ac_func" >&5
74011 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74012 if eval "test \"\${$as_ac_var+set}\" = set"; then
74013 echo $ECHO_N "(cached) $ECHO_C" >&6
74014 else
74015 if test x$gcc_no_link = xyes; then
74016 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74017 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74018 { (exit 1); exit 1; }; }
74019 fi
74020 cat >conftest.$ac_ext <<_ACEOF
74021 /* confdefs.h. */
74022 _ACEOF
74023 cat confdefs.h >>conftest.$ac_ext
74024 cat >>conftest.$ac_ext <<_ACEOF
74025 /* end confdefs.h. */
74026 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74027 For example, HP-UX 11i <limits.h> declares gettimeofday. */
74028 #define $ac_func innocuous_$ac_func
74029
74030 /* System header to define __stub macros and hopefully few prototypes,
74031 which can conflict with char $ac_func (); below.
74032 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74033 <limits.h> exists even on freestanding compilers. */
74034
74035 #ifdef __STDC__
74036 # include <limits.h>
74037 #else
74038 # include <assert.h>
74039 #endif
74040
74041 #undef $ac_func
74042
74043 /* Override any gcc2 internal prototype to avoid an error. */
74044 #ifdef __cplusplus
74045 extern "C"
74046 {
74047 #endif
74048 /* We use char because int might match the return type of a gcc2
74049 builtin and then its argument prototype would still apply. */
74050 char $ac_func ();
74051 /* The GNU C library defines this for functions which it implements
74052 to always fail with ENOSYS. Some functions are actually named
74053 something starting with __ and the normal name is an alias. */
74054 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74055 choke me
74056 #else
74057 char (*f) () = $ac_func;
74058 #endif
74059 #ifdef __cplusplus
74060 }
74061 #endif
74062
74063 int
74064 main ()
74065 {
74066 return f != $ac_func;
74067 ;
74068 return 0;
74069 }
74070 _ACEOF
74071 rm -f conftest.$ac_objext conftest$ac_exeext
74072 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74073 (eval $ac_link) 2>conftest.er1
74074 ac_status=$?
74075 grep -v '^ *+' conftest.er1 >conftest.err
74076 rm -f conftest.er1
74077 cat conftest.err >&5
74078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74079 (exit $ac_status); } &&
74080 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
74081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74082 (eval $ac_try) 2>&5
74083 ac_status=$?
74084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74085 (exit $ac_status); }; } &&
74086 { ac_try='test -s conftest$ac_exeext'
74087 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74088 (eval $ac_try) 2>&5
74089 ac_status=$?
74090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74091 (exit $ac_status); }; }; then
74092 eval "$as_ac_var=yes"
74093 else
74094 echo "$as_me: failed program was:" >&5
74095 sed 's/^/| /' conftest.$ac_ext >&5
74096
74097 eval "$as_ac_var=no"
74098 fi
74099 rm -f conftest.err conftest.$ac_objext \
74100 conftest$ac_exeext conftest.$ac_ext
74101 fi
74102 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74103 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74104 if test `eval echo '${'$as_ac_var'}'` = yes; then
74105 cat >>confdefs.h <<_ACEOF
74106 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74107 _ACEOF
74108 ac_XPG2funcs=yes
74109 else
74110 ac_XPG2funcs=no
74111 fi
74112 done
74113
74114
74115 LIBS="$ac_save_LIBS"
74116
74117 if test x"$ac_has_iconv_h" = xyes &&
74118 test x"$ac_has_langinfo_h" = xyes &&
74119 test x"$ac_XPG2funcs" = xyes;
74120 then
74121
74122 cat >>confdefs.h <<\_ACEOF
74123 #define _GLIBCXX_USE_ICONV 1
74124 _ACEOF
74125
74126 enable_iconv=yes
74127 fi
74128 fi
74129 echo "$as_me:$LINENO: checking for enabled iconv specializations" >&5
74130 echo $ECHO_N "checking for enabled iconv specializations... $ECHO_C" >&6
74131 echo "$as_me:$LINENO: result: $enable_iconv" >&5
74132 echo "${ECHO_T}$enable_iconv" >&6
74133
74134
74135 ac_test_CXXFLAGS="${CXXFLAGS+set}"
74136 ac_save_CXXFLAGS="$CXXFLAGS"
74137 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
74138
74139
74140 echo "$as_me:$LINENO: checking for strtold declaration" >&5
74141 echo $ECHO_N "checking for strtold declaration... $ECHO_C" >&6
74142 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
74143 if test "${glibcxx_cv_func_strtold_use+set}" = set; then
74144 echo $ECHO_N "(cached) $ECHO_C" >&6
74145 else
74146
74147
74148
74149 ac_ext=cc
74150 ac_cpp='$CXXCPP $CPPFLAGS'
74151 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74152 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74153 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74154
74155 cat >conftest.$ac_ext <<_ACEOF
74156 /* confdefs.h. */
74157 _ACEOF
74158 cat confdefs.h >>conftest.$ac_ext
74159 cat >>conftest.$ac_ext <<_ACEOF
74160 /* end confdefs.h. */
74161 #include <stdlib.h>
74162 int
74163 main ()
74164 {
74165 strtold(0, 0);
74166 ;
74167 return 0;
74168 }
74169 _ACEOF
74170 rm -f conftest.$ac_objext
74171 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
74172 (eval $ac_compile) 2>conftest.er1
74173 ac_status=$?
74174 grep -v '^ *+' conftest.er1 >conftest.err
74175 rm -f conftest.er1
74176 cat conftest.err >&5
74177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74178 (exit $ac_status); } &&
74179 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
74180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74181 (eval $ac_try) 2>&5
74182 ac_status=$?
74183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74184 (exit $ac_status); }; } &&
74185 { ac_try='test -s conftest.$ac_objext'
74186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74187 (eval $ac_try) 2>&5
74188 ac_status=$?
74189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74190 (exit $ac_status); }; }; then
74191 glibcxx_cv_func_strtold_use=yes
74192 else
74193 echo "$as_me: failed program was:" >&5
74194 sed 's/^/| /' conftest.$ac_ext >&5
74195
74196 glibcxx_cv_func_strtold_use=no
74197 fi
74198 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
74199 ac_ext=c
74200 ac_cpp='$CPP $CPPFLAGS'
74201 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74202 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74203 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74204
74205
74206 fi
74207
74208 fi
74209 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtold_use" >&5
74210 echo "${ECHO_T}$glibcxx_cv_func_strtold_use" >&6
74211 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
74212
74213 for ac_func in strtold
74214 do
74215 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74216 echo "$as_me:$LINENO: checking for $ac_func" >&5
74217 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74218 if eval "test \"\${$as_ac_var+set}\" = set"; then
74219 echo $ECHO_N "(cached) $ECHO_C" >&6
74220 else
74221 if test x$gcc_no_link = xyes; then
74222 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74223 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74224 { (exit 1); exit 1; }; }
74225 fi
74226 cat >conftest.$ac_ext <<_ACEOF
74227 /* confdefs.h. */
74228 _ACEOF
74229 cat confdefs.h >>conftest.$ac_ext
74230 cat >>conftest.$ac_ext <<_ACEOF
74231 /* end confdefs.h. */
74232 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74233 For example, HP-UX 11i <limits.h> declares gettimeofday. */
74234 #define $ac_func innocuous_$ac_func
74235
74236 /* System header to define __stub macros and hopefully few prototypes,
74237 which can conflict with char $ac_func (); below.
74238 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74239 <limits.h> exists even on freestanding compilers. */
74240
74241 #ifdef __STDC__
74242 # include <limits.h>
74243 #else
74244 # include <assert.h>
74245 #endif
74246
74247 #undef $ac_func
74248
74249 /* Override any gcc2 internal prototype to avoid an error. */
74250 #ifdef __cplusplus
74251 extern "C"
74252 {
74253 #endif
74254 /* We use char because int might match the return type of a gcc2
74255 builtin and then its argument prototype would still apply. */
74256 char $ac_func ();
74257 /* The GNU C library defines this for functions which it implements
74258 to always fail with ENOSYS. Some functions are actually named
74259 something starting with __ and the normal name is an alias. */
74260 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74261 choke me
74262 #else
74263 char (*f) () = $ac_func;
74264 #endif
74265 #ifdef __cplusplus
74266 }
74267 #endif
74268
74269 int
74270 main ()
74271 {
74272 return f != $ac_func;
74273 ;
74274 return 0;
74275 }
74276 _ACEOF
74277 rm -f conftest.$ac_objext conftest$ac_exeext
74278 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74279 (eval $ac_link) 2>conftest.er1
74280 ac_status=$?
74281 grep -v '^ *+' conftest.er1 >conftest.err
74282 rm -f conftest.er1
74283 cat conftest.err >&5
74284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74285 (exit $ac_status); } &&
74286 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
74287 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74288 (eval $ac_try) 2>&5
74289 ac_status=$?
74290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74291 (exit $ac_status); }; } &&
74292 { ac_try='test -s conftest$ac_exeext'
74293 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74294 (eval $ac_try) 2>&5
74295 ac_status=$?
74296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74297 (exit $ac_status); }; }; then
74298 eval "$as_ac_var=yes"
74299 else
74300 echo "$as_me: failed program was:" >&5
74301 sed 's/^/| /' conftest.$ac_ext >&5
74302
74303 eval "$as_ac_var=no"
74304 fi
74305 rm -f conftest.err conftest.$ac_objext \
74306 conftest$ac_exeext conftest.$ac_ext
74307 fi
74308 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74309 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74310 if test `eval echo '${'$as_ac_var'}'` = yes; then
74311 cat >>confdefs.h <<_ACEOF
74312 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74313 _ACEOF
74314
74315 fi
74316 done
74317
74318 fi
74319
74320
74321
74322
74323
74324 echo "$as_me:$LINENO: checking for strtof declaration" >&5
74325 echo $ECHO_N "checking for strtof declaration... $ECHO_C" >&6
74326 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
74327 if test "${glibcxx_cv_func_strtof_use+set}" = set; then
74328 echo $ECHO_N "(cached) $ECHO_C" >&6
74329 else
74330
74331
74332
74333 ac_ext=cc
74334 ac_cpp='$CXXCPP $CPPFLAGS'
74335 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74336 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74337 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74338
74339 cat >conftest.$ac_ext <<_ACEOF
74340 /* confdefs.h. */
74341 _ACEOF
74342 cat confdefs.h >>conftest.$ac_ext
74343 cat >>conftest.$ac_ext <<_ACEOF
74344 /* end confdefs.h. */
74345 #include <stdlib.h>
74346 int
74347 main ()
74348 {
74349 strtof(0, 0);
74350 ;
74351 return 0;
74352 }
74353 _ACEOF
74354 rm -f conftest.$ac_objext
74355 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
74356 (eval $ac_compile) 2>conftest.er1
74357 ac_status=$?
74358 grep -v '^ *+' conftest.er1 >conftest.err
74359 rm -f conftest.er1
74360 cat conftest.err >&5
74361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74362 (exit $ac_status); } &&
74363 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
74364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74365 (eval $ac_try) 2>&5
74366 ac_status=$?
74367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74368 (exit $ac_status); }; } &&
74369 { ac_try='test -s conftest.$ac_objext'
74370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74371 (eval $ac_try) 2>&5
74372 ac_status=$?
74373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74374 (exit $ac_status); }; }; then
74375 glibcxx_cv_func_strtof_use=yes
74376 else
74377 echo "$as_me: failed program was:" >&5
74378 sed 's/^/| /' conftest.$ac_ext >&5
74379
74380 glibcxx_cv_func_strtof_use=no
74381 fi
74382 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
74383 ac_ext=c
74384 ac_cpp='$CPP $CPPFLAGS'
74385 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74386 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74387 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74388
74389
74390 fi
74391
74392 fi
74393 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtof_use" >&5
74394 echo "${ECHO_T}$glibcxx_cv_func_strtof_use" >&6
74395 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
74396
74397 for ac_func in strtof
74398 do
74399 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74400 echo "$as_me:$LINENO: checking for $ac_func" >&5
74401 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74402 if eval "test \"\${$as_ac_var+set}\" = set"; then
74403 echo $ECHO_N "(cached) $ECHO_C" >&6
74404 else
74405 if test x$gcc_no_link = xyes; then
74406 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74407 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74408 { (exit 1); exit 1; }; }
74409 fi
74410 cat >conftest.$ac_ext <<_ACEOF
74411 /* confdefs.h. */
74412 _ACEOF
74413 cat confdefs.h >>conftest.$ac_ext
74414 cat >>conftest.$ac_ext <<_ACEOF
74415 /* end confdefs.h. */
74416 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74417 For example, HP-UX 11i <limits.h> declares gettimeofday. */
74418 #define $ac_func innocuous_$ac_func
74419
74420 /* System header to define __stub macros and hopefully few prototypes,
74421 which can conflict with char $ac_func (); below.
74422 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74423 <limits.h> exists even on freestanding compilers. */
74424
74425 #ifdef __STDC__
74426 # include <limits.h>
74427 #else
74428 # include <assert.h>
74429 #endif
74430
74431 #undef $ac_func
74432
74433 /* Override any gcc2 internal prototype to avoid an error. */
74434 #ifdef __cplusplus
74435 extern "C"
74436 {
74437 #endif
74438 /* We use char because int might match the return type of a gcc2
74439 builtin and then its argument prototype would still apply. */
74440 char $ac_func ();
74441 /* The GNU C library defines this for functions which it implements
74442 to always fail with ENOSYS. Some functions are actually named
74443 something starting with __ and the normal name is an alias. */
74444 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74445 choke me
74446 #else
74447 char (*f) () = $ac_func;
74448 #endif
74449 #ifdef __cplusplus
74450 }
74451 #endif
74452
74453 int
74454 main ()
74455 {
74456 return f != $ac_func;
74457 ;
74458 return 0;
74459 }
74460 _ACEOF
74461 rm -f conftest.$ac_objext conftest$ac_exeext
74462 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74463 (eval $ac_link) 2>conftest.er1
74464 ac_status=$?
74465 grep -v '^ *+' conftest.er1 >conftest.err
74466 rm -f conftest.er1
74467 cat conftest.err >&5
74468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74469 (exit $ac_status); } &&
74470 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
74471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74472 (eval $ac_try) 2>&5
74473 ac_status=$?
74474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74475 (exit $ac_status); }; } &&
74476 { ac_try='test -s conftest$ac_exeext'
74477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74478 (eval $ac_try) 2>&5
74479 ac_status=$?
74480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74481 (exit $ac_status); }; }; then
74482 eval "$as_ac_var=yes"
74483 else
74484 echo "$as_me: failed program was:" >&5
74485 sed 's/^/| /' conftest.$ac_ext >&5
74486
74487 eval "$as_ac_var=no"
74488 fi
74489 rm -f conftest.err conftest.$ac_objext \
74490 conftest$ac_exeext conftest.$ac_ext
74491 fi
74492 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74493 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74494 if test `eval echo '${'$as_ac_var'}'` = yes; then
74495 cat >>confdefs.h <<_ACEOF
74496 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74497 _ACEOF
74498
74499 fi
74500 done
74501
74502 fi
74503
74504
74505
74506
74507
74508 CXXFLAGS="$ac_save_CXXFLAGS"
74509
74510
74511 echo "$as_me:$LINENO: checking for S_ISREG or S_IFREG" >&5
74512 echo $ECHO_N "checking for S_ISREG or S_IFREG... $ECHO_C" >&6
74513 if test "${glibcxx_cv_S_ISREG+set}" = set; then
74514 echo $ECHO_N "(cached) $ECHO_C" >&6
74515 else
74516
74517 if test x$gcc_no_link = xyes; then
74518 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74519 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74520 { (exit 1); exit 1; }; }
74521 fi
74522 cat >conftest.$ac_ext <<_ACEOF
74523 /* confdefs.h. */
74524 _ACEOF
74525 cat confdefs.h >>conftest.$ac_ext
74526 cat >>conftest.$ac_ext <<_ACEOF
74527 /* end confdefs.h. */
74528 #include <sys/stat.h>
74529 int
74530 main ()
74531 {
74532 struct stat buffer;
74533 fstat(0, &buffer);
74534 S_ISREG(buffer.st_mode);
74535 ;
74536 return 0;
74537 }
74538 _ACEOF
74539 rm -f conftest.$ac_objext conftest$ac_exeext
74540 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74541 (eval $ac_link) 2>conftest.er1
74542 ac_status=$?
74543 grep -v '^ *+' conftest.er1 >conftest.err
74544 rm -f conftest.er1
74545 cat conftest.err >&5
74546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74547 (exit $ac_status); } &&
74548 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
74549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74550 (eval $ac_try) 2>&5
74551 ac_status=$?
74552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74553 (exit $ac_status); }; } &&
74554 { ac_try='test -s conftest$ac_exeext'
74555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74556 (eval $ac_try) 2>&5
74557 ac_status=$?
74558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74559 (exit $ac_status); }; }; then
74560 glibcxx_cv_S_ISREG=yes
74561 else
74562 echo "$as_me: failed program was:" >&5
74563 sed 's/^/| /' conftest.$ac_ext >&5
74564
74565 glibcxx_cv_S_ISREG=no
74566 fi
74567 rm -f conftest.err conftest.$ac_objext \
74568 conftest$ac_exeext conftest.$ac_ext
74569
74570 fi
74571
74572 if test "${glibcxx_cv_S_IFREG+set}" = set; then
74573 echo $ECHO_N "(cached) $ECHO_C" >&6
74574 else
74575
74576 if test x$gcc_no_link = xyes; then
74577 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74578 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74579 { (exit 1); exit 1; }; }
74580 fi
74581 cat >conftest.$ac_ext <<_ACEOF
74582 /* confdefs.h. */
74583 _ACEOF
74584 cat confdefs.h >>conftest.$ac_ext
74585 cat >>conftest.$ac_ext <<_ACEOF
74586 /* end confdefs.h. */
74587 #include <sys/stat.h>
74588 int
74589 main ()
74590 {
74591 struct stat buffer;
74592 fstat(0, &buffer);
74593 S_IFREG & buffer.st_mode;
74594 ;
74595 return 0;
74596 }
74597 _ACEOF
74598 rm -f conftest.$ac_objext conftest$ac_exeext
74599 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74600 (eval $ac_link) 2>conftest.er1
74601 ac_status=$?
74602 grep -v '^ *+' conftest.er1 >conftest.err
74603 rm -f conftest.er1
74604 cat conftest.err >&5
74605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74606 (exit $ac_status); } &&
74607 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
74608 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74609 (eval $ac_try) 2>&5
74610 ac_status=$?
74611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74612 (exit $ac_status); }; } &&
74613 { ac_try='test -s conftest$ac_exeext'
74614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74615 (eval $ac_try) 2>&5
74616 ac_status=$?
74617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74618 (exit $ac_status); }; }; then
74619 glibcxx_cv_S_IFREG=yes
74620 else
74621 echo "$as_me: failed program was:" >&5
74622 sed 's/^/| /' conftest.$ac_ext >&5
74623
74624 glibcxx_cv_S_IFREG=no
74625 fi
74626 rm -f conftest.err conftest.$ac_objext \
74627 conftest$ac_exeext conftest.$ac_ext
74628
74629 fi
74630
74631 res=no
74632 if test $glibcxx_cv_S_ISREG = yes; then
74633
74634 cat >>confdefs.h <<\_ACEOF
74635 #define HAVE_S_ISREG 1
74636 _ACEOF
74637
74638 res=S_ISREG
74639 elif test $glibcxx_cv_S_IFREG = yes; then
74640
74641 cat >>confdefs.h <<\_ACEOF
74642 #define HAVE_S_IFREG 1
74643 _ACEOF
74644
74645 res=S_IFREG
74646 fi
74647 echo "$as_me:$LINENO: result: $res" >&5
74648 echo "${ECHO_T}$res" >&6
74649
74650 cat >>confdefs.h <<\_ACEOF
74651 #define HAVE_WRITEV 1
74652 _ACEOF
74653
74654 ;;
74655
74656 *-freebsd*)
74657
74658
74659
74660
74661
74662
74663
74664
74665
74666
74667
74668
74669
74670
74671
74672
74673 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
74674 machine/endian.h machine/param.h sys/machine.h sys/types.h \
74675 fp.h locale.h float.h inttypes.h sys/resource.h sys/stat.h \
74676 sys/time.h unistd.h
74677 do
74678 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
74679 if eval "test \"\${$as_ac_Header+set}\" = set"; then
74680 echo "$as_me:$LINENO: checking for $ac_header" >&5
74681 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
74682 if eval "test \"\${$as_ac_Header+set}\" = set"; then
74683 echo $ECHO_N "(cached) $ECHO_C" >&6
74684 fi
74685 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
74686 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
74687 else
74688 # Is the header compilable?
74689 echo "$as_me:$LINENO: checking $ac_header usability" >&5
74690 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
74691 cat >conftest.$ac_ext <<_ACEOF
74692 /* confdefs.h. */
74693 _ACEOF
74694 cat confdefs.h >>conftest.$ac_ext
74695 cat >>conftest.$ac_ext <<_ACEOF
74696 /* end confdefs.h. */
74697 $ac_includes_default
74698 #include <$ac_header>
74699 _ACEOF
74700 rm -f conftest.$ac_objext
74701 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
74702 (eval $ac_compile) 2>conftest.er1
74703 ac_status=$?
74704 grep -v '^ *+' conftest.er1 >conftest.err
74705 rm -f conftest.er1
74706 cat conftest.err >&5
74707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74708 (exit $ac_status); } &&
74709 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
74710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74711 (eval $ac_try) 2>&5
74712 ac_status=$?
74713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74714 (exit $ac_status); }; } &&
74715 { ac_try='test -s conftest.$ac_objext'
74716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74717 (eval $ac_try) 2>&5
74718 ac_status=$?
74719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74720 (exit $ac_status); }; }; then
74721 ac_header_compiler=yes
74722 else
74723 echo "$as_me: failed program was:" >&5
74724 sed 's/^/| /' conftest.$ac_ext >&5
74725
74726 ac_header_compiler=no
74727 fi
74728 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
74729 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
74730 echo "${ECHO_T}$ac_header_compiler" >&6
74731
74732 # Is the header present?
74733 echo "$as_me:$LINENO: checking $ac_header presence" >&5
74734 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
74735 cat >conftest.$ac_ext <<_ACEOF
74736 /* confdefs.h. */
74737 _ACEOF
74738 cat confdefs.h >>conftest.$ac_ext
74739 cat >>conftest.$ac_ext <<_ACEOF
74740 /* end confdefs.h. */
74741 #include <$ac_header>
74742 _ACEOF
74743 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
74744 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
74745 ac_status=$?
74746 grep -v '^ *+' conftest.er1 >conftest.err
74747 rm -f conftest.er1
74748 cat conftest.err >&5
74749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74750 (exit $ac_status); } >/dev/null; then
74751 if test -s conftest.err; then
74752 ac_cpp_err=$ac_c_preproc_warn_flag
74753 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
74754 else
74755 ac_cpp_err=
74756 fi
74757 else
74758 ac_cpp_err=yes
74759 fi
74760 if test -z "$ac_cpp_err"; then
74761 ac_header_preproc=yes
74762 else
74763 echo "$as_me: failed program was:" >&5
74764 sed 's/^/| /' conftest.$ac_ext >&5
74765
74766 ac_header_preproc=no
74767 fi
74768 rm -f conftest.err conftest.$ac_ext
74769 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
74770 echo "${ECHO_T}$ac_header_preproc" >&6
74771
74772 # So? What about this header?
74773 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
74774 yes:no: )
74775 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
74776 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
74777 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
74778 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
74779 ac_header_preproc=yes
74780 ;;
74781 no:yes:* )
74782 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
74783 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
74784 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
74785 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
74786 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
74787 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
74788 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
74789 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
74790 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
74791 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
74792 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
74793 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
74794 (
74795 cat <<\_ASBOX
74796 ## ----------------------------------------- ##
74797 ## Report this to the package-unused lists. ##
74798 ## ----------------------------------------- ##
74799 _ASBOX
74800 ) |
74801 sed "s/^/$as_me: WARNING: /" >&2
74802 ;;
74803 esac
74804 echo "$as_me:$LINENO: checking for $ac_header" >&5
74805 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
74806 if eval "test \"\${$as_ac_Header+set}\" = set"; then
74807 echo $ECHO_N "(cached) $ECHO_C" >&6
74808 else
74809 eval "$as_ac_Header=\$ac_header_preproc"
74810 fi
74811 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
74812 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
74813
74814 fi
74815 if test `eval echo '${'$as_ac_Header'}'` = yes; then
74816 cat >>confdefs.h <<_ACEOF
74817 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
74818 _ACEOF
74819
74820 fi
74821
74822 done
74823
74824 SECTION_FLAGS='-ffunction-sections -fdata-sections'
74825
74826
74827 # If we're not using GNU ld, then there's no point in even trying these
74828 # tests. Check for that first. We should have already tested for gld
74829 # by now (in libtool), but require it now just to be safe...
74830 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
74831 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
74832
74833
74834
74835 # The name set by libtool depends on the version of libtool. Shame on us
74836 # for depending on an impl detail, but c'est la vie. Older versions used
74837 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
74838 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
74839 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
74840 # set (hence we're using an older libtool), then set it.
74841 if test x${with_gnu_ld+set} != xset; then
74842 if test x${ac_cv_prog_gnu_ld+set} != xset; then
74843 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
74844 with_gnu_ld=no
74845 else
74846 with_gnu_ld=$ac_cv_prog_gnu_ld
74847 fi
74848 fi
74849
74850 # Start by getting the version number. I think the libtool test already
74851 # does some of this, but throws away the result.
74852 echo "$as_me:$LINENO: checking for ld version" >&5
74853 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
74854
74855 ldver=`$LD --version 2>/dev/null | head -1 | \
74856 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
74857
74858 glibcxx_gnu_ld_version=`echo $ldver | \
74859 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
74860 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
74861 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
74862
74863 # Set --gc-sections.
74864 glibcxx_gcsections_min_ld=21602
74865 if test x"$with_gnu_ld" = x"yes" &&
74866 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
74867
74868 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
74869 # NB: This flag only works reliably after 2.16.1. Configure tests
74870 # for this are difficult, so hard wire a value that should work.
74871
74872 # All these tests are for C++, but run with the "C" compiler driver.
74873 # Need to do this so that g++ won't try to link in libstdc++/libsupc++.
74874 ac_test_CFLAGS="${CFLAGS+set}"
74875 ac_save_CFLAGS="$CFLAGS"
74876 CFLAGS='-x c++ -Wl,--gc-sections'
74877
74878 # Check for -Wl,--gc-sections
74879 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
74880 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
74881 if test x$gcc_no_link = xyes; then
74882 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74883 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74884 { (exit 1); exit 1; }; }
74885 fi
74886 cat >conftest.$ac_ext <<_ACEOF
74887 /* confdefs.h. */
74888 _ACEOF
74889 cat confdefs.h >>conftest.$ac_ext
74890 cat >>conftest.$ac_ext <<_ACEOF
74891 /* end confdefs.h. */
74892 int one(void) { return 1; }
74893 int two(void) { return 2; }
74894
74895 int
74896 main ()
74897 {
74898 two();
74899 ;
74900 return 0;
74901 }
74902 _ACEOF
74903 rm -f conftest.$ac_objext conftest$ac_exeext
74904 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74905 (eval $ac_link) 2>conftest.er1
74906 ac_status=$?
74907 grep -v '^ *+' conftest.er1 >conftest.err
74908 rm -f conftest.er1
74909 cat conftest.err >&5
74910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74911 (exit $ac_status); } &&
74912 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
74913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74914 (eval $ac_try) 2>&5
74915 ac_status=$?
74916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74917 (exit $ac_status); }; } &&
74918 { ac_try='test -s conftest$ac_exeext'
74919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74920 (eval $ac_try) 2>&5
74921 ac_status=$?
74922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74923 (exit $ac_status); }; }; then
74924 ac_gcsections=yes
74925 else
74926 echo "$as_me: failed program was:" >&5
74927 sed 's/^/| /' conftest.$ac_ext >&5
74928
74929 ac_gcsections=no
74930 fi
74931 rm -f conftest.err conftest.$ac_objext \
74932 conftest$ac_exeext conftest.$ac_ext
74933 if test "$ac_gcsections" = "yes"; then
74934 rm -f conftest.c
74935 touch conftest.c
74936 if $CC -c conftest.c; then
74937 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
74938 grep "Warning: gc-sections option ignored" > /dev/null; then
74939 ac_gcsections=no
74940 fi
74941 fi
74942 rm -f conftest.c conftest.o conftest
74943 fi
74944 if test "$ac_gcsections" = "yes"; then
74945 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
74946 fi
74947 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
74948 echo "${ECHO_T}$ac_gcsections" >&6
74949
74950 if test "$ac_test_CFLAGS" = set; then
74951 CFLAGS="$ac_save_CFLAGS"
74952 else
74953 # this is the suspicious part
74954 CFLAGS=''
74955 fi
74956 fi
74957
74958 # Set -z,relro.
74959 # Note this is only for shared objects.
74960 ac_ld_relro=no
74961 if test x"$with_gnu_ld" = x"yes"; then
74962 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
74963 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
74964 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
74965 if test -n "$cxx_z_relo"; then
74966 OPT_LDFLAGS="-Wl,-z,relro"
74967 ac_ld_relro=yes
74968 fi
74969 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
74970 echo "${ECHO_T}$ac_ld_relro" >&6
74971 fi
74972
74973 # Set linker optimization flags.
74974 if test x"$with_gnu_ld" = x"yes"; then
74975 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
74976 fi
74977
74978
74979
74980
74981
74982
74983 echo "$as_me:$LINENO: checking for main in -lm" >&5
74984 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
74985 if test "${ac_cv_lib_m_main+set}" = set; then
74986 echo $ECHO_N "(cached) $ECHO_C" >&6
74987 else
74988 ac_check_lib_save_LIBS=$LIBS
74989 LIBS="-lm $LIBS"
74990 if test x$gcc_no_link = xyes; then
74991 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74992 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74993 { (exit 1); exit 1; }; }
74994 fi
74995 cat >conftest.$ac_ext <<_ACEOF
74996 /* confdefs.h. */
74997 _ACEOF
74998 cat confdefs.h >>conftest.$ac_ext
74999 cat >>conftest.$ac_ext <<_ACEOF
75000 /* end confdefs.h. */
75001
75002
75003 int
75004 main ()
75005 {
75006 main ();
75007 ;
75008 return 0;
75009 }
75010 _ACEOF
75011 rm -f conftest.$ac_objext conftest$ac_exeext
75012 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75013 (eval $ac_link) 2>conftest.er1
75014 ac_status=$?
75015 grep -v '^ *+' conftest.er1 >conftest.err
75016 rm -f conftest.er1
75017 cat conftest.err >&5
75018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75019 (exit $ac_status); } &&
75020 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
75021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75022 (eval $ac_try) 2>&5
75023 ac_status=$?
75024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75025 (exit $ac_status); }; } &&
75026 { ac_try='test -s conftest$ac_exeext'
75027 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75028 (eval $ac_try) 2>&5
75029 ac_status=$?
75030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75031 (exit $ac_status); }; }; then
75032 ac_cv_lib_m_main=yes
75033 else
75034 echo "$as_me: failed program was:" >&5
75035 sed 's/^/| /' conftest.$ac_ext >&5
75036
75037 ac_cv_lib_m_main=no
75038 fi
75039 rm -f conftest.err conftest.$ac_objext \
75040 conftest$ac_exeext conftest.$ac_ext
75041 LIBS=$ac_check_lib_save_LIBS
75042 fi
75043 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
75044 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
75045 if test $ac_cv_lib_m_main = yes; then
75046 cat >>confdefs.h <<_ACEOF
75047 #define HAVE_LIBM 1
75048 _ACEOF
75049
75050 LIBS="-lm $LIBS"
75051
75052 fi
75053
75054
75055 for ac_func in copysignf
75056 do
75057 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
75058 echo "$as_me:$LINENO: checking for $ac_func" >&5
75059 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
75060 if eval "test \"\${$as_ac_var+set}\" = set"; then
75061 echo $ECHO_N "(cached) $ECHO_C" >&6
75062 else
75063 if test x$gcc_no_link = xyes; then
75064 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75065 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75066 { (exit 1); exit 1; }; }
75067 fi
75068 cat >conftest.$ac_ext <<_ACEOF
75069 /* confdefs.h. */
75070 _ACEOF
75071 cat confdefs.h >>conftest.$ac_ext
75072 cat >>conftest.$ac_ext <<_ACEOF
75073 /* end confdefs.h. */
75074 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
75075 For example, HP-UX 11i <limits.h> declares gettimeofday. */
75076 #define $ac_func innocuous_$ac_func
75077
75078 /* System header to define __stub macros and hopefully few prototypes,
75079 which can conflict with char $ac_func (); below.
75080 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
75081 <limits.h> exists even on freestanding compilers. */
75082
75083 #ifdef __STDC__
75084 # include <limits.h>
75085 #else
75086 # include <assert.h>
75087 #endif
75088
75089 #undef $ac_func
75090
75091 /* Override any gcc2 internal prototype to avoid an error. */
75092 #ifdef __cplusplus
75093 extern "C"
75094 {
75095 #endif
75096 /* We use char because int might match the return type of a gcc2
75097 builtin and then its argument prototype would still apply. */
75098 char $ac_func ();
75099 /* The GNU C library defines this for functions which it implements
75100 to always fail with ENOSYS. Some functions are actually named
75101 something starting with __ and the normal name is an alias. */
75102 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
75103 choke me
75104 #else
75105 char (*f) () = $ac_func;
75106 #endif
75107 #ifdef __cplusplus
75108 }
75109 #endif
75110
75111 int
75112 main ()
75113 {
75114 return f != $ac_func;
75115 ;
75116 return 0;
75117 }
75118 _ACEOF
75119 rm -f conftest.$ac_objext conftest$ac_exeext
75120 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75121 (eval $ac_link) 2>conftest.er1
75122 ac_status=$?
75123 grep -v '^ *+' conftest.er1 >conftest.err
75124 rm -f conftest.er1
75125 cat conftest.err >&5
75126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75127 (exit $ac_status); } &&
75128 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
75129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75130 (eval $ac_try) 2>&5
75131 ac_status=$?
75132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75133 (exit $ac_status); }; } &&
75134 { ac_try='test -s conftest$ac_exeext'
75135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75136 (eval $ac_try) 2>&5
75137 ac_status=$?
75138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75139 (exit $ac_status); }; }; then
75140 eval "$as_ac_var=yes"
75141 else
75142 echo "$as_me: failed program was:" >&5
75143 sed 's/^/| /' conftest.$ac_ext >&5
75144
75145 eval "$as_ac_var=no"
75146 fi
75147 rm -f conftest.err conftest.$ac_objext \
75148 conftest$ac_exeext conftest.$ac_ext
75149 fi
75150 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
75151 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
75152 if test `eval echo '${'$as_ac_var'}'` = yes; then
75153 cat >>confdefs.h <<_ACEOF
75154 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
75155 _ACEOF
75156
75157 else
75158 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
75159 fi
75160 done
75161
75162
75163
75164 for ac_func in __signbit
75165 do
75166 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
75167 echo "$as_me:$LINENO: checking for $ac_func" >&5
75168 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
75169 if eval "test \"\${$as_ac_var+set}\" = set"; then
75170 echo $ECHO_N "(cached) $ECHO_C" >&6
75171 else
75172 if test x$gcc_no_link = xyes; then
75173 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75174 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75175 { (exit 1); exit 1; }; }
75176 fi
75177 cat >conftest.$ac_ext <<_ACEOF
75178 /* confdefs.h. */
75179 _ACEOF
75180 cat confdefs.h >>conftest.$ac_ext
75181 cat >>conftest.$ac_ext <<_ACEOF
75182 /* end confdefs.h. */
75183 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
75184 For example, HP-UX 11i <limits.h> declares gettimeofday. */
75185 #define $ac_func innocuous_$ac_func
75186
75187 /* System header to define __stub macros and hopefully few prototypes,
75188 which can conflict with char $ac_func (); below.
75189 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
75190 <limits.h> exists even on freestanding compilers. */
75191
75192 #ifdef __STDC__
75193 # include <limits.h>
75194 #else
75195 # include <assert.h>
75196 #endif
75197
75198 #undef $ac_func
75199
75200 /* Override any gcc2 internal prototype to avoid an error. */
75201 #ifdef __cplusplus
75202 extern "C"
75203 {
75204 #endif
75205 /* We use char because int might match the return type of a gcc2
75206 builtin and then its argument prototype would still apply. */
75207 char $ac_func ();
75208 /* The GNU C library defines this for functions which it implements
75209 to always fail with ENOSYS. Some functions are actually named
75210 something starting with __ and the normal name is an alias. */
75211 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
75212 choke me
75213 #else
75214 char (*f) () = $ac_func;
75215 #endif
75216 #ifdef __cplusplus
75217 }
75218 #endif
75219
75220 int
75221 main ()
75222 {
75223 return f != $ac_func;
75224 ;
75225 return 0;
75226 }
75227 _ACEOF
75228 rm -f conftest.$ac_objext conftest$ac_exeext
75229 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75230 (eval $ac_link) 2>conftest.er1
75231 ac_status=$?
75232 grep -v '^ *+' conftest.er1 >conftest.err
75233 rm -f conftest.er1
75234 cat conftest.err >&5
75235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75236 (exit $ac_status); } &&
75237 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
75238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75239 (eval $ac_try) 2>&5
75240 ac_status=$?
75241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75242 (exit $ac_status); }; } &&
75243 { ac_try='test -s conftest$ac_exeext'
75244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75245 (eval $ac_try) 2>&5
75246 ac_status=$?
75247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75248 (exit $ac_status); }; }; then
75249 eval "$as_ac_var=yes"
75250 else
75251 echo "$as_me: failed program was:" >&5
75252 sed 's/^/| /' conftest.$ac_ext >&5
75253
75254 eval "$as_ac_var=no"
75255 fi
75256 rm -f conftest.err conftest.$ac_objext \
75257 conftest$ac_exeext conftest.$ac_ext
75258 fi
75259 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
75260 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
75261 if test `eval echo '${'$as_ac_var'}'` = yes; then
75262 cat >>confdefs.h <<_ACEOF
75263 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
75264 _ACEOF
75265
75266 else
75267 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
75268 fi
75269 done
75270
75271
75272
75273 for ac_func in __signbitf
75274 do
75275 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
75276 echo "$as_me:$LINENO: checking for $ac_func" >&5
75277 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
75278 if eval "test \"\${$as_ac_var+set}\" = set"; then
75279 echo $ECHO_N "(cached) $ECHO_C" >&6
75280 else
75281 if test x$gcc_no_link = xyes; then
75282 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75283 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75284 { (exit 1); exit 1; }; }
75285 fi
75286 cat >conftest.$ac_ext <<_ACEOF
75287 /* confdefs.h. */
75288 _ACEOF
75289 cat confdefs.h >>conftest.$ac_ext
75290 cat >>conftest.$ac_ext <<_ACEOF
75291 /* end confdefs.h. */
75292 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
75293 For example, HP-UX 11i <limits.h> declares gettimeofday. */
75294 #define $ac_func innocuous_$ac_func
75295
75296 /* System header to define __stub macros and hopefully few prototypes,
75297 which can conflict with char $ac_func (); below.
75298 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
75299 <limits.h> exists even on freestanding compilers. */
75300
75301 #ifdef __STDC__
75302 # include <limits.h>
75303 #else
75304 # include <assert.h>
75305 #endif
75306
75307 #undef $ac_func
75308
75309 /* Override any gcc2 internal prototype to avoid an error. */
75310 #ifdef __cplusplus
75311 extern "C"
75312 {
75313 #endif
75314 /* We use char because int might match the return type of a gcc2
75315 builtin and then its argument prototype would still apply. */
75316 char $ac_func ();
75317 /* The GNU C library defines this for functions which it implements
75318 to always fail with ENOSYS. Some functions are actually named
75319 something starting with __ and the normal name is an alias. */
75320 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
75321 choke me
75322 #else
75323 char (*f) () = $ac_func;
75324 #endif
75325 #ifdef __cplusplus
75326 }
75327 #endif
75328
75329 int
75330 main ()
75331 {
75332 return f != $ac_func;
75333 ;
75334 return 0;
75335 }
75336 _ACEOF
75337 rm -f conftest.$ac_objext conftest$ac_exeext
75338 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75339 (eval $ac_link) 2>conftest.er1
75340 ac_status=$?
75341 grep -v '^ *+' conftest.er1 >conftest.err
75342 rm -f conftest.er1
75343 cat conftest.err >&5
75344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75345 (exit $ac_status); } &&
75346 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
75347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75348 (eval $ac_try) 2>&5
75349 ac_status=$?
75350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75351 (exit $ac_status); }; } &&
75352 { ac_try='test -s conftest$ac_exeext'
75353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75354 (eval $ac_try) 2>&5
75355 ac_status=$?
75356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75357 (exit $ac_status); }; }; then
75358 eval "$as_ac_var=yes"
75359 else
75360 echo "$as_me: failed program was:" >&5
75361 sed 's/^/| /' conftest.$ac_ext >&5
75362
75363 eval "$as_ac_var=no"
75364 fi
75365 rm -f conftest.err conftest.$ac_objext \
75366 conftest$ac_exeext conftest.$ac_ext
75367 fi
75368 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
75369 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
75370 if test `eval echo '${'$as_ac_var'}'` = yes; then
75371 cat >>confdefs.h <<_ACEOF
75372 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
75373 _ACEOF
75374
75375 else
75376 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
75377 fi
75378 done
75379
75380
75381 if test x$ac_cv_func_copysignl = x"yes"; then
75382
75383 for ac_func in __signbitl
75384 do
75385 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
75386 echo "$as_me:$LINENO: checking for $ac_func" >&5
75387 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
75388 if eval "test \"\${$as_ac_var+set}\" = set"; then
75389 echo $ECHO_N "(cached) $ECHO_C" >&6
75390 else
75391 if test x$gcc_no_link = xyes; then
75392 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75393 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75394 { (exit 1); exit 1; }; }
75395 fi
75396 cat >conftest.$ac_ext <<_ACEOF
75397 /* confdefs.h. */
75398 _ACEOF
75399 cat confdefs.h >>conftest.$ac_ext
75400 cat >>conftest.$ac_ext <<_ACEOF
75401 /* end confdefs.h. */
75402 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
75403 For example, HP-UX 11i <limits.h> declares gettimeofday. */
75404 #define $ac_func innocuous_$ac_func
75405
75406 /* System header to define __stub macros and hopefully few prototypes,
75407 which can conflict with char $ac_func (); below.
75408 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
75409 <limits.h> exists even on freestanding compilers. */
75410
75411 #ifdef __STDC__
75412 # include <limits.h>
75413 #else
75414 # include <assert.h>
75415 #endif
75416
75417 #undef $ac_func
75418
75419 /* Override any gcc2 internal prototype to avoid an error. */
75420 #ifdef __cplusplus
75421 extern "C"
75422 {
75423 #endif
75424 /* We use char because int might match the return type of a gcc2
75425 builtin and then its argument prototype would still apply. */
75426 char $ac_func ();
75427 /* The GNU C library defines this for functions which it implements
75428 to always fail with ENOSYS. Some functions are actually named
75429 something starting with __ and the normal name is an alias. */
75430 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
75431 choke me
75432 #else
75433 char (*f) () = $ac_func;
75434 #endif
75435 #ifdef __cplusplus
75436 }
75437 #endif
75438
75439 int
75440 main ()
75441 {
75442 return f != $ac_func;
75443 ;
75444 return 0;
75445 }
75446 _ACEOF
75447 rm -f conftest.$ac_objext conftest$ac_exeext
75448 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75449 (eval $ac_link) 2>conftest.er1
75450 ac_status=$?
75451 grep -v '^ *+' conftest.er1 >conftest.err
75452 rm -f conftest.er1
75453 cat conftest.err >&5
75454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75455 (exit $ac_status); } &&
75456 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
75457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75458 (eval $ac_try) 2>&5
75459 ac_status=$?
75460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75461 (exit $ac_status); }; } &&
75462 { ac_try='test -s conftest$ac_exeext'
75463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75464 (eval $ac_try) 2>&5
75465 ac_status=$?
75466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75467 (exit $ac_status); }; }; then
75468 eval "$as_ac_var=yes"
75469 else
75470 echo "$as_me: failed program was:" >&5
75471 sed 's/^/| /' conftest.$ac_ext >&5
75472
75473 eval "$as_ac_var=no"
75474 fi
75475 rm -f conftest.err conftest.$ac_objext \
75476 conftest$ac_exeext conftest.$ac_ext
75477 fi
75478 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
75479 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
75480 if test `eval echo '${'$as_ac_var'}'` = yes; then
75481 cat >>confdefs.h <<_ACEOF
75482 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
75483 _ACEOF
75484
75485 else
75486 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
75487 fi
75488 done
75489
75490 fi
75491
75492 # Used in libmath/Makefile.am.
75493 if test -n "$LIBMATHOBJS"; then
75494 need_libmath=yes
75495 fi
75496
75497
75498
75499
75500 enable_iconv=no
75501 # Only continue checking if the ISO C99 headers exist and support is on.
75502 if test x"$enable_wchar_t" = xyes; then
75503
75504 # Use iconv for wchar_t to char conversions. As such, check for
75505 # X/Open Portability Guide, version 2 features (XPG2).
75506 if test "${ac_cv_header_iconv_h+set}" = set; then
75507 echo "$as_me:$LINENO: checking for iconv.h" >&5
75508 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
75509 if test "${ac_cv_header_iconv_h+set}" = set; then
75510 echo $ECHO_N "(cached) $ECHO_C" >&6
75511 fi
75512 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
75513 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
75514 else
75515 # Is the header compilable?
75516 echo "$as_me:$LINENO: checking iconv.h usability" >&5
75517 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
75518 cat >conftest.$ac_ext <<_ACEOF
75519 /* confdefs.h. */
75520 _ACEOF
75521 cat confdefs.h >>conftest.$ac_ext
75522 cat >>conftest.$ac_ext <<_ACEOF
75523 /* end confdefs.h. */
75524 $ac_includes_default
75525 #include <iconv.h>
75526 _ACEOF
75527 rm -f conftest.$ac_objext
75528 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
75529 (eval $ac_compile) 2>conftest.er1
75530 ac_status=$?
75531 grep -v '^ *+' conftest.er1 >conftest.err
75532 rm -f conftest.er1
75533 cat conftest.err >&5
75534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75535 (exit $ac_status); } &&
75536 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
75537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75538 (eval $ac_try) 2>&5
75539 ac_status=$?
75540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75541 (exit $ac_status); }; } &&
75542 { ac_try='test -s conftest.$ac_objext'
75543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75544 (eval $ac_try) 2>&5
75545 ac_status=$?
75546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75547 (exit $ac_status); }; }; then
75548 ac_header_compiler=yes
75549 else
75550 echo "$as_me: failed program was:" >&5
75551 sed 's/^/| /' conftest.$ac_ext >&5
75552
75553 ac_header_compiler=no
75554 fi
75555 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
75556 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
75557 echo "${ECHO_T}$ac_header_compiler" >&6
75558
75559 # Is the header present?
75560 echo "$as_me:$LINENO: checking iconv.h presence" >&5
75561 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
75562 cat >conftest.$ac_ext <<_ACEOF
75563 /* confdefs.h. */
75564 _ACEOF
75565 cat confdefs.h >>conftest.$ac_ext
75566 cat >>conftest.$ac_ext <<_ACEOF
75567 /* end confdefs.h. */
75568 #include <iconv.h>
75569 _ACEOF
75570 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
75571 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
75572 ac_status=$?
75573 grep -v '^ *+' conftest.er1 >conftest.err
75574 rm -f conftest.er1
75575 cat conftest.err >&5
75576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75577 (exit $ac_status); } >/dev/null; then
75578 if test -s conftest.err; then
75579 ac_cpp_err=$ac_c_preproc_warn_flag
75580 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
75581 else
75582 ac_cpp_err=
75583 fi
75584 else
75585 ac_cpp_err=yes
75586 fi
75587 if test -z "$ac_cpp_err"; then
75588 ac_header_preproc=yes
75589 else
75590 echo "$as_me: failed program was:" >&5
75591 sed 's/^/| /' conftest.$ac_ext >&5
75592
75593 ac_header_preproc=no
75594 fi
75595 rm -f conftest.err conftest.$ac_ext
75596 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
75597 echo "${ECHO_T}$ac_header_preproc" >&6
75598
75599 # So? What about this header?
75600 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
75601 yes:no: )
75602 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
75603 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
75604 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
75605 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
75606 ac_header_preproc=yes
75607 ;;
75608 no:yes:* )
75609 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
75610 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
75611 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
75612 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
75613 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
75614 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
75615 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
75616 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
75617 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
75618 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
75619 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
75620 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
75621 (
75622 cat <<\_ASBOX
75623 ## ----------------------------------------- ##
75624 ## Report this to the package-unused lists. ##
75625 ## ----------------------------------------- ##
75626 _ASBOX
75627 ) |
75628 sed "s/^/$as_me: WARNING: /" >&2
75629 ;;
75630 esac
75631 echo "$as_me:$LINENO: checking for iconv.h" >&5
75632 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
75633 if test "${ac_cv_header_iconv_h+set}" = set; then
75634 echo $ECHO_N "(cached) $ECHO_C" >&6
75635 else
75636 ac_cv_header_iconv_h=$ac_header_preproc
75637 fi
75638 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
75639 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
75640
75641 fi
75642 if test $ac_cv_header_iconv_h = yes; then
75643 ac_has_iconv_h=yes
75644 else
75645 ac_has_iconv_h=no
75646 fi
75647
75648
75649 if test "${ac_cv_header_langinfo_h+set}" = set; then
75650 echo "$as_me:$LINENO: checking for langinfo.h" >&5
75651 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
75652 if test "${ac_cv_header_langinfo_h+set}" = set; then
75653 echo $ECHO_N "(cached) $ECHO_C" >&6
75654 fi
75655 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
75656 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
75657 else
75658 # Is the header compilable?
75659 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
75660 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
75661 cat >conftest.$ac_ext <<_ACEOF
75662 /* confdefs.h. */
75663 _ACEOF
75664 cat confdefs.h >>conftest.$ac_ext
75665 cat >>conftest.$ac_ext <<_ACEOF
75666 /* end confdefs.h. */
75667 $ac_includes_default
75668 #include <langinfo.h>
75669 _ACEOF
75670 rm -f conftest.$ac_objext
75671 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
75672 (eval $ac_compile) 2>conftest.er1
75673 ac_status=$?
75674 grep -v '^ *+' conftest.er1 >conftest.err
75675 rm -f conftest.er1
75676 cat conftest.err >&5
75677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75678 (exit $ac_status); } &&
75679 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
75680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75681 (eval $ac_try) 2>&5
75682 ac_status=$?
75683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75684 (exit $ac_status); }; } &&
75685 { ac_try='test -s conftest.$ac_objext'
75686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75687 (eval $ac_try) 2>&5
75688 ac_status=$?
75689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75690 (exit $ac_status); }; }; then
75691 ac_header_compiler=yes
75692 else
75693 echo "$as_me: failed program was:" >&5
75694 sed 's/^/| /' conftest.$ac_ext >&5
75695
75696 ac_header_compiler=no
75697 fi
75698 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
75699 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
75700 echo "${ECHO_T}$ac_header_compiler" >&6
75701
75702 # Is the header present?
75703 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
75704 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
75705 cat >conftest.$ac_ext <<_ACEOF
75706 /* confdefs.h. */
75707 _ACEOF
75708 cat confdefs.h >>conftest.$ac_ext
75709 cat >>conftest.$ac_ext <<_ACEOF
75710 /* end confdefs.h. */
75711 #include <langinfo.h>
75712 _ACEOF
75713 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
75714 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
75715 ac_status=$?
75716 grep -v '^ *+' conftest.er1 >conftest.err
75717 rm -f conftest.er1
75718 cat conftest.err >&5
75719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75720 (exit $ac_status); } >/dev/null; then
75721 if test -s conftest.err; then
75722 ac_cpp_err=$ac_c_preproc_warn_flag
75723 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
75724 else
75725 ac_cpp_err=
75726 fi
75727 else
75728 ac_cpp_err=yes
75729 fi
75730 if test -z "$ac_cpp_err"; then
75731 ac_header_preproc=yes
75732 else
75733 echo "$as_me: failed program was:" >&5
75734 sed 's/^/| /' conftest.$ac_ext >&5
75735
75736 ac_header_preproc=no
75737 fi
75738 rm -f conftest.err conftest.$ac_ext
75739 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
75740 echo "${ECHO_T}$ac_header_preproc" >&6
75741
75742 # So? What about this header?
75743 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
75744 yes:no: )
75745 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
75746 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
75747 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
75748 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
75749 ac_header_preproc=yes
75750 ;;
75751 no:yes:* )
75752 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
75753 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
75754 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
75755 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
75756 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
75757 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
75758 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
75759 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
75760 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
75761 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
75762 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
75763 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
75764 (
75765 cat <<\_ASBOX
75766 ## ----------------------------------------- ##
75767 ## Report this to the package-unused lists. ##
75768 ## ----------------------------------------- ##
75769 _ASBOX
75770 ) |
75771 sed "s/^/$as_me: WARNING: /" >&2
75772 ;;
75773 esac
75774 echo "$as_me:$LINENO: checking for langinfo.h" >&5
75775 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
75776 if test "${ac_cv_header_langinfo_h+set}" = set; then
75777 echo $ECHO_N "(cached) $ECHO_C" >&6
75778 else
75779 ac_cv_header_langinfo_h=$ac_header_preproc
75780 fi
75781 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
75782 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
75783
75784 fi
75785 if test $ac_cv_header_langinfo_h = yes; then
75786 ac_has_langinfo_h=yes
75787 else
75788 ac_has_langinfo_h=no
75789 fi
75790
75791
75792
75793 # Check for existence of libiconv.a providing XPG2 wchar_t support.
75794 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
75795 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
75796 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
75797 echo $ECHO_N "(cached) $ECHO_C" >&6
75798 else
75799 ac_check_lib_save_LIBS=$LIBS
75800 LIBS="-liconv $LIBS"
75801 if test x$gcc_no_link = xyes; then
75802 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75803 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75804 { (exit 1); exit 1; }; }
75805 fi
75806 cat >conftest.$ac_ext <<_ACEOF
75807 /* confdefs.h. */
75808 _ACEOF
75809 cat confdefs.h >>conftest.$ac_ext
75810 cat >>conftest.$ac_ext <<_ACEOF
75811 /* end confdefs.h. */
75812
75813 /* Override any gcc2 internal prototype to avoid an error. */
75814 #ifdef __cplusplus
75815 extern "C"
75816 #endif
75817 /* We use char because int might match the return type of a gcc2
75818 builtin and then its argument prototype would still apply. */
75819 char iconv ();
75820 int
75821 main ()
75822 {
75823 iconv ();
75824 ;
75825 return 0;
75826 }
75827 _ACEOF
75828 rm -f conftest.$ac_objext conftest$ac_exeext
75829 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75830 (eval $ac_link) 2>conftest.er1
75831 ac_status=$?
75832 grep -v '^ *+' conftest.er1 >conftest.err
75833 rm -f conftest.er1
75834 cat conftest.err >&5
75835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75836 (exit $ac_status); } &&
75837 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
75838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75839 (eval $ac_try) 2>&5
75840 ac_status=$?
75841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75842 (exit $ac_status); }; } &&
75843 { ac_try='test -s conftest$ac_exeext'
75844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75845 (eval $ac_try) 2>&5
75846 ac_status=$?
75847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75848 (exit $ac_status); }; }; then
75849 ac_cv_lib_iconv_iconv=yes
75850 else
75851 echo "$as_me: failed program was:" >&5
75852 sed 's/^/| /' conftest.$ac_ext >&5
75853
75854 ac_cv_lib_iconv_iconv=no
75855 fi
75856 rm -f conftest.err conftest.$ac_objext \
75857 conftest$ac_exeext conftest.$ac_ext
75858 LIBS=$ac_check_lib_save_LIBS
75859 fi
75860 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
75861 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
75862 if test $ac_cv_lib_iconv_iconv = yes; then
75863 LIBICONV="-liconv"
75864 fi
75865
75866 ac_save_LIBS="$LIBS"
75867 LIBS="$LIBS $LIBICONV"
75868
75869
75870
75871
75872
75873
75874 for ac_func in iconv_open iconv_close iconv nl_langinfo
75875 do
75876 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
75877 echo "$as_me:$LINENO: checking for $ac_func" >&5
75878 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
75879 if eval "test \"\${$as_ac_var+set}\" = set"; then
75880 echo $ECHO_N "(cached) $ECHO_C" >&6
75881 else
75882 if test x$gcc_no_link = xyes; then
75883 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75884 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75885 { (exit 1); exit 1; }; }
75886 fi
75887 cat >conftest.$ac_ext <<_ACEOF
75888 /* confdefs.h. */
75889 _ACEOF
75890 cat confdefs.h >>conftest.$ac_ext
75891 cat >>conftest.$ac_ext <<_ACEOF
75892 /* end confdefs.h. */
75893 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
75894 For example, HP-UX 11i <limits.h> declares gettimeofday. */
75895 #define $ac_func innocuous_$ac_func
75896
75897 /* System header to define __stub macros and hopefully few prototypes,
75898 which can conflict with char $ac_func (); below.
75899 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
75900 <limits.h> exists even on freestanding compilers. */
75901
75902 #ifdef __STDC__
75903 # include <limits.h>
75904 #else
75905 # include <assert.h>
75906 #endif
75907
75908 #undef $ac_func
75909
75910 /* Override any gcc2 internal prototype to avoid an error. */
75911 #ifdef __cplusplus
75912 extern "C"
75913 {
75914 #endif
75915 /* We use char because int might match the return type of a gcc2
75916 builtin and then its argument prototype would still apply. */
75917 char $ac_func ();
75918 /* The GNU C library defines this for functions which it implements
75919 to always fail with ENOSYS. Some functions are actually named
75920 something starting with __ and the normal name is an alias. */
75921 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
75922 choke me
75923 #else
75924 char (*f) () = $ac_func;
75925 #endif
75926 #ifdef __cplusplus
75927 }
75928 #endif
75929
75930 int
75931 main ()
75932 {
75933 return f != $ac_func;
75934 ;
75935 return 0;
75936 }
75937 _ACEOF
75938 rm -f conftest.$ac_objext conftest$ac_exeext
75939 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75940 (eval $ac_link) 2>conftest.er1
75941 ac_status=$?
75942 grep -v '^ *+' conftest.er1 >conftest.err
75943 rm -f conftest.er1
75944 cat conftest.err >&5
75945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75946 (exit $ac_status); } &&
75947 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
75948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75949 (eval $ac_try) 2>&5
75950 ac_status=$?
75951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75952 (exit $ac_status); }; } &&
75953 { ac_try='test -s conftest$ac_exeext'
75954 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75955 (eval $ac_try) 2>&5
75956 ac_status=$?
75957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75958 (exit $ac_status); }; }; then
75959 eval "$as_ac_var=yes"
75960 else
75961 echo "$as_me: failed program was:" >&5
75962 sed 's/^/| /' conftest.$ac_ext >&5
75963
75964 eval "$as_ac_var=no"
75965 fi
75966 rm -f conftest.err conftest.$ac_objext \
75967 conftest$ac_exeext conftest.$ac_ext
75968 fi
75969 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
75970 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
75971 if test `eval echo '${'$as_ac_var'}'` = yes; then
75972 cat >>confdefs.h <<_ACEOF
75973 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
75974 _ACEOF
75975 ac_XPG2funcs=yes
75976 else
75977 ac_XPG2funcs=no
75978 fi
75979 done
75980
75981
75982 LIBS="$ac_save_LIBS"
75983
75984 if test x"$ac_has_iconv_h" = xyes &&
75985 test x"$ac_has_langinfo_h" = xyes &&
75986 test x"$ac_XPG2funcs" = xyes;
75987 then
75988
75989 cat >>confdefs.h <<\_ACEOF
75990 #define _GLIBCXX_USE_ICONV 1
75991 _ACEOF
75992
75993 enable_iconv=yes
75994 fi
75995 fi
75996 echo "$as_me:$LINENO: checking for enabled iconv specializations" >&5
75997 echo $ECHO_N "checking for enabled iconv specializations... $ECHO_C" >&6
75998 echo "$as_me:$LINENO: result: $enable_iconv" >&5
75999 echo "${ECHO_T}$enable_iconv" >&6
76000
76001 cat >>confdefs.h <<\_ACEOF
76002 #define HAVE_LC_MESSAGES 1
76003 _ACEOF
76004
76005 cat >>confdefs.h <<\_ACEOF
76006 #define HAVE_GETPAGESIZE 1
76007 _ACEOF
76008
76009 cat >>confdefs.h <<\_ACEOF
76010 #define HAVE_SETENV 1
76011 _ACEOF
76012
76013 cat >>confdefs.h <<\_ACEOF
76014 #define HAVE_SIGSETJMP 1
76015 _ACEOF
76016
76017 cat >>confdefs.h <<\_ACEOF
76018 #define HAVE_COPYSIGN 1
76019 _ACEOF
76020
76021 cat >>confdefs.h <<\_ACEOF
76022 #define HAVE_COPYSIGNF 1
76023 _ACEOF
76024
76025 cat >>confdefs.h <<\_ACEOF
76026 #define HAVE_FINITEF 1
76027 _ACEOF
76028
76029 cat >>confdefs.h <<\_ACEOF
76030 #define HAVE_FINITE 1
76031 _ACEOF
76032
76033 cat >>confdefs.h <<\_ACEOF
76034 #define HAVE_FREXPF 1
76035 _ACEOF
76036
76037 cat >>confdefs.h <<\_ACEOF
76038 #define HAVE_HYPOT 1
76039 _ACEOF
76040
76041 cat >>confdefs.h <<\_ACEOF
76042 #define HAVE_HYPOTF 1
76043 _ACEOF
76044
76045 cat >>confdefs.h <<\_ACEOF
76046 #define HAVE_ISINF 1
76047 _ACEOF
76048
76049 cat >>confdefs.h <<\_ACEOF
76050 #define HAVE_ISNAN 1
76051 _ACEOF
76052
76053 cat >>confdefs.h <<\_ACEOF
76054 #define HAVE_ISNANF 1
76055 _ACEOF
76056
76057
76058 cat >>confdefs.h <<\_ACEOF
76059 #define HAVE_MMAP 1
76060 _ACEOF
76061
76062 cat >>confdefs.h <<\_ACEOF
76063 #define HAVE_ACOSF 1
76064 _ACEOF
76065
76066 cat >>confdefs.h <<\_ACEOF
76067 #define HAVE_ASINF 1
76068 _ACEOF
76069
76070 cat >>confdefs.h <<\_ACEOF
76071 #define HAVE_ATAN2F 1
76072 _ACEOF
76073
76074 cat >>confdefs.h <<\_ACEOF
76075 #define HAVE_ATANF 1
76076 _ACEOF
76077
76078 cat >>confdefs.h <<\_ACEOF
76079 #define HAVE_CEILF 1
76080 _ACEOF
76081
76082 cat >>confdefs.h <<\_ACEOF
76083 #define HAVE_COPYSIGN 1
76084 _ACEOF
76085
76086 cat >>confdefs.h <<\_ACEOF
76087 #define HAVE_COPYSIGNF 1
76088 _ACEOF
76089
76090 cat >>confdefs.h <<\_ACEOF
76091 #define HAVE_COSF 1
76092 _ACEOF
76093
76094 cat >>confdefs.h <<\_ACEOF
76095 #define HAVE_COSHF 1
76096 _ACEOF
76097
76098 cat >>confdefs.h <<\_ACEOF
76099 #define HAVE_EXPF 1
76100 _ACEOF
76101
76102 cat >>confdefs.h <<\_ACEOF
76103 #define HAVE_FABSF 1
76104 _ACEOF
76105
76106 cat >>confdefs.h <<\_ACEOF
76107 #define HAVE_FLOORF 1
76108 _ACEOF
76109
76110 cat >>confdefs.h <<\_ACEOF
76111 #define HAVE_FMODF 1
76112 _ACEOF
76113
76114 cat >>confdefs.h <<\_ACEOF
76115 #define HAVE_FREXPF 1
76116 _ACEOF
76117
76118 cat >>confdefs.h <<\_ACEOF
76119 #define HAVE_LDEXPF 1
76120 _ACEOF
76121
76122 cat >>confdefs.h <<\_ACEOF
76123 #define HAVE_LOG10F 1
76124 _ACEOF
76125
76126 cat >>confdefs.h <<\_ACEOF
76127 #define HAVE_LOGF 1
76128 _ACEOF
76129
76130 cat >>confdefs.h <<\_ACEOF
76131 #define HAVE_MODFF 1
76132 _ACEOF
76133
76134 cat >>confdefs.h <<\_ACEOF
76135 #define HAVE_POWF 1
76136 _ACEOF
76137
76138 cat >>confdefs.h <<\_ACEOF
76139 #define HAVE_SINF 1
76140 _ACEOF
76141
76142 cat >>confdefs.h <<\_ACEOF
76143 #define HAVE_SINHF 1
76144 _ACEOF
76145
76146 cat >>confdefs.h <<\_ACEOF
76147 #define HAVE_SQRTF 1
76148 _ACEOF
76149
76150 cat >>confdefs.h <<\_ACEOF
76151 #define HAVE_TANF 1
76152 _ACEOF
76153
76154 cat >>confdefs.h <<\_ACEOF
76155 #define HAVE_TANHF 1
76156 _ACEOF
76157
76158 if test x"long_double_math_on_this_cpu" = x"yes"; then
76159 cat >>confdefs.h <<\_ACEOF
76160 #define HAVE_FINITEL 1
76161 _ACEOF
76162
76163 cat >>confdefs.h <<\_ACEOF
76164 #define HAVE_ISINFL 1
76165 _ACEOF
76166
76167 cat >>confdefs.h <<\_ACEOF
76168 #define HAVE_ISNANL 1
76169 _ACEOF
76170
76171 fi
76172 ;;
76173 *-hpux*)
76174
76175
76176
76177
76178
76179
76180
76181
76182
76183
76184
76185
76186 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
76187 machine/endian.h machine/param.h sys/machine.h sys/types.h \
76188 fp.h locale.h float.h inttypes.h
76189 do
76190 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
76191 if eval "test \"\${$as_ac_Header+set}\" = set"; then
76192 echo "$as_me:$LINENO: checking for $ac_header" >&5
76193 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
76194 if eval "test \"\${$as_ac_Header+set}\" = set"; then
76195 echo $ECHO_N "(cached) $ECHO_C" >&6
76196 fi
76197 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
76198 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
76199 else
76200 # Is the header compilable?
76201 echo "$as_me:$LINENO: checking $ac_header usability" >&5
76202 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
76203 cat >conftest.$ac_ext <<_ACEOF
76204 /* confdefs.h. */
76205 _ACEOF
76206 cat confdefs.h >>conftest.$ac_ext
76207 cat >>conftest.$ac_ext <<_ACEOF
76208 /* end confdefs.h. */
76209 $ac_includes_default
76210 #include <$ac_header>
76211 _ACEOF
76212 rm -f conftest.$ac_objext
76213 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
76214 (eval $ac_compile) 2>conftest.er1
76215 ac_status=$?
76216 grep -v '^ *+' conftest.er1 >conftest.err
76217 rm -f conftest.er1
76218 cat conftest.err >&5
76219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76220 (exit $ac_status); } &&
76221 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
76222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76223 (eval $ac_try) 2>&5
76224 ac_status=$?
76225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76226 (exit $ac_status); }; } &&
76227 { ac_try='test -s conftest.$ac_objext'
76228 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76229 (eval $ac_try) 2>&5
76230 ac_status=$?
76231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76232 (exit $ac_status); }; }; then
76233 ac_header_compiler=yes
76234 else
76235 echo "$as_me: failed program was:" >&5
76236 sed 's/^/| /' conftest.$ac_ext >&5
76237
76238 ac_header_compiler=no
76239 fi
76240 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
76241 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
76242 echo "${ECHO_T}$ac_header_compiler" >&6
76243
76244 # Is the header present?
76245 echo "$as_me:$LINENO: checking $ac_header presence" >&5
76246 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
76247 cat >conftest.$ac_ext <<_ACEOF
76248 /* confdefs.h. */
76249 _ACEOF
76250 cat confdefs.h >>conftest.$ac_ext
76251 cat >>conftest.$ac_ext <<_ACEOF
76252 /* end confdefs.h. */
76253 #include <$ac_header>
76254 _ACEOF
76255 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
76256 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
76257 ac_status=$?
76258 grep -v '^ *+' conftest.er1 >conftest.err
76259 rm -f conftest.er1
76260 cat conftest.err >&5
76261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76262 (exit $ac_status); } >/dev/null; then
76263 if test -s conftest.err; then
76264 ac_cpp_err=$ac_c_preproc_warn_flag
76265 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
76266 else
76267 ac_cpp_err=
76268 fi
76269 else
76270 ac_cpp_err=yes
76271 fi
76272 if test -z "$ac_cpp_err"; then
76273 ac_header_preproc=yes
76274 else
76275 echo "$as_me: failed program was:" >&5
76276 sed 's/^/| /' conftest.$ac_ext >&5
76277
76278 ac_header_preproc=no
76279 fi
76280 rm -f conftest.err conftest.$ac_ext
76281 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
76282 echo "${ECHO_T}$ac_header_preproc" >&6
76283
76284 # So? What about this header?
76285 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
76286 yes:no: )
76287 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
76288 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
76289 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
76290 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
76291 ac_header_preproc=yes
76292 ;;
76293 no:yes:* )
76294 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
76295 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
76296 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
76297 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
76298 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
76299 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
76300 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
76301 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
76302 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
76303 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
76304 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
76305 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
76306 (
76307 cat <<\_ASBOX
76308 ## ----------------------------------------- ##
76309 ## Report this to the package-unused lists. ##
76310 ## ----------------------------------------- ##
76311 _ASBOX
76312 ) |
76313 sed "s/^/$as_me: WARNING: /" >&2
76314 ;;
76315 esac
76316 echo "$as_me:$LINENO: checking for $ac_header" >&5
76317 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
76318 if eval "test \"\${$as_ac_Header+set}\" = set"; then
76319 echo $ECHO_N "(cached) $ECHO_C" >&6
76320 else
76321 eval "$as_ac_Header=\$ac_header_preproc"
76322 fi
76323 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
76324 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
76325
76326 fi
76327 if test `eval echo '${'$as_ac_Header'}'` = yes; then
76328 cat >>confdefs.h <<_ACEOF
76329 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
76330 _ACEOF
76331
76332 fi
76333
76334 done
76335
76336 SECTION_FLAGS='-ffunction-sections -fdata-sections'
76337
76338
76339 # If we're not using GNU ld, then there's no point in even trying these
76340 # tests. Check for that first. We should have already tested for gld
76341 # by now (in libtool), but require it now just to be safe...
76342 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
76343 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
76344
76345
76346
76347 # The name set by libtool depends on the version of libtool. Shame on us
76348 # for depending on an impl detail, but c'est la vie. Older versions used
76349 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
76350 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
76351 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
76352 # set (hence we're using an older libtool), then set it.
76353 if test x${with_gnu_ld+set} != xset; then
76354 if test x${ac_cv_prog_gnu_ld+set} != xset; then
76355 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
76356 with_gnu_ld=no
76357 else
76358 with_gnu_ld=$ac_cv_prog_gnu_ld
76359 fi
76360 fi
76361
76362 # Start by getting the version number. I think the libtool test already
76363 # does some of this, but throws away the result.
76364 echo "$as_me:$LINENO: checking for ld version" >&5
76365 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
76366
76367 ldver=`$LD --version 2>/dev/null | head -1 | \
76368 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
76369
76370 glibcxx_gnu_ld_version=`echo $ldver | \
76371 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
76372 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
76373 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
76374
76375 # Set --gc-sections.
76376 glibcxx_gcsections_min_ld=21602
76377 if test x"$with_gnu_ld" = x"yes" &&
76378 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
76379
76380 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
76381 # NB: This flag only works reliably after 2.16.1. Configure tests
76382 # for this are difficult, so hard wire a value that should work.
76383
76384 # All these tests are for C++, but run with the "C" compiler driver.
76385 # Need to do this so that g++ won't try to link in libstdc++/libsupc++.
76386 ac_test_CFLAGS="${CFLAGS+set}"
76387 ac_save_CFLAGS="$CFLAGS"
76388 CFLAGS='-x c++ -Wl,--gc-sections'
76389
76390 # Check for -Wl,--gc-sections
76391 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
76392 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
76393 if test x$gcc_no_link = xyes; then
76394 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76395 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76396 { (exit 1); exit 1; }; }
76397 fi
76398 cat >conftest.$ac_ext <<_ACEOF
76399 /* confdefs.h. */
76400 _ACEOF
76401 cat confdefs.h >>conftest.$ac_ext
76402 cat >>conftest.$ac_ext <<_ACEOF
76403 /* end confdefs.h. */
76404 int one(void) { return 1; }
76405 int two(void) { return 2; }
76406
76407 int
76408 main ()
76409 {
76410 two();
76411 ;
76412 return 0;
76413 }
76414 _ACEOF
76415 rm -f conftest.$ac_objext conftest$ac_exeext
76416 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76417 (eval $ac_link) 2>conftest.er1
76418 ac_status=$?
76419 grep -v '^ *+' conftest.er1 >conftest.err
76420 rm -f conftest.er1
76421 cat conftest.err >&5
76422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76423 (exit $ac_status); } &&
76424 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
76425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76426 (eval $ac_try) 2>&5
76427 ac_status=$?
76428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76429 (exit $ac_status); }; } &&
76430 { ac_try='test -s conftest$ac_exeext'
76431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76432 (eval $ac_try) 2>&5
76433 ac_status=$?
76434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76435 (exit $ac_status); }; }; then
76436 ac_gcsections=yes
76437 else
76438 echo "$as_me: failed program was:" >&5
76439 sed 's/^/| /' conftest.$ac_ext >&5
76440
76441 ac_gcsections=no
76442 fi
76443 rm -f conftest.err conftest.$ac_objext \
76444 conftest$ac_exeext conftest.$ac_ext
76445 if test "$ac_gcsections" = "yes"; then
76446 rm -f conftest.c
76447 touch conftest.c
76448 if $CC -c conftest.c; then
76449 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
76450 grep "Warning: gc-sections option ignored" > /dev/null; then
76451 ac_gcsections=no
76452 fi
76453 fi
76454 rm -f conftest.c conftest.o conftest
76455 fi
76456 if test "$ac_gcsections" = "yes"; then
76457 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
76458 fi
76459 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
76460 echo "${ECHO_T}$ac_gcsections" >&6
76461
76462 if test "$ac_test_CFLAGS" = set; then
76463 CFLAGS="$ac_save_CFLAGS"
76464 else
76465 # this is the suspicious part
76466 CFLAGS=''
76467 fi
76468 fi
76469
76470 # Set -z,relro.
76471 # Note this is only for shared objects.
76472 ac_ld_relro=no
76473 if test x"$with_gnu_ld" = x"yes"; then
76474 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
76475 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
76476 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
76477 if test -n "$cxx_z_relo"; then
76478 OPT_LDFLAGS="-Wl,-z,relro"
76479 ac_ld_relro=yes
76480 fi
76481 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
76482 echo "${ECHO_T}$ac_ld_relro" >&6
76483 fi
76484
76485 # Set linker optimization flags.
76486 if test x"$with_gnu_ld" = x"yes"; then
76487 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
76488 fi
76489
76490
76491
76492
76493
76494
76495 echo "$as_me:$LINENO: checking for main in -lm" >&5
76496 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
76497 if test "${ac_cv_lib_m_main+set}" = set; then
76498 echo $ECHO_N "(cached) $ECHO_C" >&6
76499 else
76500 ac_check_lib_save_LIBS=$LIBS
76501 LIBS="-lm $LIBS"
76502 if test x$gcc_no_link = xyes; then
76503 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76504 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76505 { (exit 1); exit 1; }; }
76506 fi
76507 cat >conftest.$ac_ext <<_ACEOF
76508 /* confdefs.h. */
76509 _ACEOF
76510 cat confdefs.h >>conftest.$ac_ext
76511 cat >>conftest.$ac_ext <<_ACEOF
76512 /* end confdefs.h. */
76513
76514
76515 int
76516 main ()
76517 {
76518 main ();
76519 ;
76520 return 0;
76521 }
76522 _ACEOF
76523 rm -f conftest.$ac_objext conftest$ac_exeext
76524 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76525 (eval $ac_link) 2>conftest.er1
76526 ac_status=$?
76527 grep -v '^ *+' conftest.er1 >conftest.err
76528 rm -f conftest.er1
76529 cat conftest.err >&5
76530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76531 (exit $ac_status); } &&
76532 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
76533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76534 (eval $ac_try) 2>&5
76535 ac_status=$?
76536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76537 (exit $ac_status); }; } &&
76538 { ac_try='test -s conftest$ac_exeext'
76539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76540 (eval $ac_try) 2>&5
76541 ac_status=$?
76542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76543 (exit $ac_status); }; }; then
76544 ac_cv_lib_m_main=yes
76545 else
76546 echo "$as_me: failed program was:" >&5
76547 sed 's/^/| /' conftest.$ac_ext >&5
76548
76549 ac_cv_lib_m_main=no
76550 fi
76551 rm -f conftest.err conftest.$ac_objext \
76552 conftest$ac_exeext conftest.$ac_ext
76553 LIBS=$ac_check_lib_save_LIBS
76554 fi
76555 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
76556 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
76557 if test $ac_cv_lib_m_main = yes; then
76558 cat >>confdefs.h <<_ACEOF
76559 #define HAVE_LIBM 1
76560 _ACEOF
76561
76562 LIBS="-lm $LIBS"
76563
76564 fi
76565
76566
76567 for ac_func in copysignf
76568 do
76569 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
76570 echo "$as_me:$LINENO: checking for $ac_func" >&5
76571 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
76572 if eval "test \"\${$as_ac_var+set}\" = set"; then
76573 echo $ECHO_N "(cached) $ECHO_C" >&6
76574 else
76575 if test x$gcc_no_link = xyes; then
76576 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76577 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76578 { (exit 1); exit 1; }; }
76579 fi
76580 cat >conftest.$ac_ext <<_ACEOF
76581 /* confdefs.h. */
76582 _ACEOF
76583 cat confdefs.h >>conftest.$ac_ext
76584 cat >>conftest.$ac_ext <<_ACEOF
76585 /* end confdefs.h. */
76586 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
76587 For example, HP-UX 11i <limits.h> declares gettimeofday. */
76588 #define $ac_func innocuous_$ac_func
76589
76590 /* System header to define __stub macros and hopefully few prototypes,
76591 which can conflict with char $ac_func (); below.
76592 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
76593 <limits.h> exists even on freestanding compilers. */
76594
76595 #ifdef __STDC__
76596 # include <limits.h>
76597 #else
76598 # include <assert.h>
76599 #endif
76600
76601 #undef $ac_func
76602
76603 /* Override any gcc2 internal prototype to avoid an error. */
76604 #ifdef __cplusplus
76605 extern "C"
76606 {
76607 #endif
76608 /* We use char because int might match the return type of a gcc2
76609 builtin and then its argument prototype would still apply. */
76610 char $ac_func ();
76611 /* The GNU C library defines this for functions which it implements
76612 to always fail with ENOSYS. Some functions are actually named
76613 something starting with __ and the normal name is an alias. */
76614 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
76615 choke me
76616 #else
76617 char (*f) () = $ac_func;
76618 #endif
76619 #ifdef __cplusplus
76620 }
76621 #endif
76622
76623 int
76624 main ()
76625 {
76626 return f != $ac_func;
76627 ;
76628 return 0;
76629 }
76630 _ACEOF
76631 rm -f conftest.$ac_objext conftest$ac_exeext
76632 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76633 (eval $ac_link) 2>conftest.er1
76634 ac_status=$?
76635 grep -v '^ *+' conftest.er1 >conftest.err
76636 rm -f conftest.er1
76637 cat conftest.err >&5
76638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76639 (exit $ac_status); } &&
76640 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
76641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76642 (eval $ac_try) 2>&5
76643 ac_status=$?
76644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76645 (exit $ac_status); }; } &&
76646 { ac_try='test -s conftest$ac_exeext'
76647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76648 (eval $ac_try) 2>&5
76649 ac_status=$?
76650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76651 (exit $ac_status); }; }; then
76652 eval "$as_ac_var=yes"
76653 else
76654 echo "$as_me: failed program was:" >&5
76655 sed 's/^/| /' conftest.$ac_ext >&5
76656
76657 eval "$as_ac_var=no"
76658 fi
76659 rm -f conftest.err conftest.$ac_objext \
76660 conftest$ac_exeext conftest.$ac_ext
76661 fi
76662 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
76663 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
76664 if test `eval echo '${'$as_ac_var'}'` = yes; then
76665 cat >>confdefs.h <<_ACEOF
76666 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
76667 _ACEOF
76668
76669 else
76670 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
76671 fi
76672 done
76673
76674
76675
76676 for ac_func in __signbit
76677 do
76678 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
76679 echo "$as_me:$LINENO: checking for $ac_func" >&5
76680 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
76681 if eval "test \"\${$as_ac_var+set}\" = set"; then
76682 echo $ECHO_N "(cached) $ECHO_C" >&6
76683 else
76684 if test x$gcc_no_link = xyes; then
76685 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76686 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76687 { (exit 1); exit 1; }; }
76688 fi
76689 cat >conftest.$ac_ext <<_ACEOF
76690 /* confdefs.h. */
76691 _ACEOF
76692 cat confdefs.h >>conftest.$ac_ext
76693 cat >>conftest.$ac_ext <<_ACEOF
76694 /* end confdefs.h. */
76695 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
76696 For example, HP-UX 11i <limits.h> declares gettimeofday. */
76697 #define $ac_func innocuous_$ac_func
76698
76699 /* System header to define __stub macros and hopefully few prototypes,
76700 which can conflict with char $ac_func (); below.
76701 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
76702 <limits.h> exists even on freestanding compilers. */
76703
76704 #ifdef __STDC__
76705 # include <limits.h>
76706 #else
76707 # include <assert.h>
76708 #endif
76709
76710 #undef $ac_func
76711
76712 /* Override any gcc2 internal prototype to avoid an error. */
76713 #ifdef __cplusplus
76714 extern "C"
76715 {
76716 #endif
76717 /* We use char because int might match the return type of a gcc2
76718 builtin and then its argument prototype would still apply. */
76719 char $ac_func ();
76720 /* The GNU C library defines this for functions which it implements
76721 to always fail with ENOSYS. Some functions are actually named
76722 something starting with __ and the normal name is an alias. */
76723 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
76724 choke me
76725 #else
76726 char (*f) () = $ac_func;
76727 #endif
76728 #ifdef __cplusplus
76729 }
76730 #endif
76731
76732 int
76733 main ()
76734 {
76735 return f != $ac_func;
76736 ;
76737 return 0;
76738 }
76739 _ACEOF
76740 rm -f conftest.$ac_objext conftest$ac_exeext
76741 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76742 (eval $ac_link) 2>conftest.er1
76743 ac_status=$?
76744 grep -v '^ *+' conftest.er1 >conftest.err
76745 rm -f conftest.er1
76746 cat conftest.err >&5
76747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76748 (exit $ac_status); } &&
76749 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
76750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76751 (eval $ac_try) 2>&5
76752 ac_status=$?
76753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76754 (exit $ac_status); }; } &&
76755 { ac_try='test -s conftest$ac_exeext'
76756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76757 (eval $ac_try) 2>&5
76758 ac_status=$?
76759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76760 (exit $ac_status); }; }; then
76761 eval "$as_ac_var=yes"
76762 else
76763 echo "$as_me: failed program was:" >&5
76764 sed 's/^/| /' conftest.$ac_ext >&5
76765
76766 eval "$as_ac_var=no"
76767 fi
76768 rm -f conftest.err conftest.$ac_objext \
76769 conftest$ac_exeext conftest.$ac_ext
76770 fi
76771 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
76772 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
76773 if test `eval echo '${'$as_ac_var'}'` = yes; then
76774 cat >>confdefs.h <<_ACEOF
76775 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
76776 _ACEOF
76777
76778 else
76779 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
76780 fi
76781 done
76782
76783
76784
76785 for ac_func in __signbitf
76786 do
76787 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
76788 echo "$as_me:$LINENO: checking for $ac_func" >&5
76789 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
76790 if eval "test \"\${$as_ac_var+set}\" = set"; then
76791 echo $ECHO_N "(cached) $ECHO_C" >&6
76792 else
76793 if test x$gcc_no_link = xyes; then
76794 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76795 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76796 { (exit 1); exit 1; }; }
76797 fi
76798 cat >conftest.$ac_ext <<_ACEOF
76799 /* confdefs.h. */
76800 _ACEOF
76801 cat confdefs.h >>conftest.$ac_ext
76802 cat >>conftest.$ac_ext <<_ACEOF
76803 /* end confdefs.h. */
76804 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
76805 For example, HP-UX 11i <limits.h> declares gettimeofday. */
76806 #define $ac_func innocuous_$ac_func
76807
76808 /* System header to define __stub macros and hopefully few prototypes,
76809 which can conflict with char $ac_func (); below.
76810 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
76811 <limits.h> exists even on freestanding compilers. */
76812
76813 #ifdef __STDC__
76814 # include <limits.h>
76815 #else
76816 # include <assert.h>
76817 #endif
76818
76819 #undef $ac_func
76820
76821 /* Override any gcc2 internal prototype to avoid an error. */
76822 #ifdef __cplusplus
76823 extern "C"
76824 {
76825 #endif
76826 /* We use char because int might match the return type of a gcc2
76827 builtin and then its argument prototype would still apply. */
76828 char $ac_func ();
76829 /* The GNU C library defines this for functions which it implements
76830 to always fail with ENOSYS. Some functions are actually named
76831 something starting with __ and the normal name is an alias. */
76832 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
76833 choke me
76834 #else
76835 char (*f) () = $ac_func;
76836 #endif
76837 #ifdef __cplusplus
76838 }
76839 #endif
76840
76841 int
76842 main ()
76843 {
76844 return f != $ac_func;
76845 ;
76846 return 0;
76847 }
76848 _ACEOF
76849 rm -f conftest.$ac_objext conftest$ac_exeext
76850 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76851 (eval $ac_link) 2>conftest.er1
76852 ac_status=$?
76853 grep -v '^ *+' conftest.er1 >conftest.err
76854 rm -f conftest.er1
76855 cat conftest.err >&5
76856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76857 (exit $ac_status); } &&
76858 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
76859 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76860 (eval $ac_try) 2>&5
76861 ac_status=$?
76862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76863 (exit $ac_status); }; } &&
76864 { ac_try='test -s conftest$ac_exeext'
76865 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76866 (eval $ac_try) 2>&5
76867 ac_status=$?
76868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76869 (exit $ac_status); }; }; then
76870 eval "$as_ac_var=yes"
76871 else
76872 echo "$as_me: failed program was:" >&5
76873 sed 's/^/| /' conftest.$ac_ext >&5
76874
76875 eval "$as_ac_var=no"
76876 fi
76877 rm -f conftest.err conftest.$ac_objext \
76878 conftest$ac_exeext conftest.$ac_ext
76879 fi
76880 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
76881 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
76882 if test `eval echo '${'$as_ac_var'}'` = yes; then
76883 cat >>confdefs.h <<_ACEOF
76884 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
76885 _ACEOF
76886
76887 else
76888 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
76889 fi
76890 done
76891
76892
76893 if test x$ac_cv_func_copysignl = x"yes"; then
76894
76895 for ac_func in __signbitl
76896 do
76897 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
76898 echo "$as_me:$LINENO: checking for $ac_func" >&5
76899 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
76900 if eval "test \"\${$as_ac_var+set}\" = set"; then
76901 echo $ECHO_N "(cached) $ECHO_C" >&6
76902 else
76903 if test x$gcc_no_link = xyes; then
76904 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76905 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76906 { (exit 1); exit 1; }; }
76907 fi
76908 cat >conftest.$ac_ext <<_ACEOF
76909 /* confdefs.h. */
76910 _ACEOF
76911 cat confdefs.h >>conftest.$ac_ext
76912 cat >>conftest.$ac_ext <<_ACEOF
76913 /* end confdefs.h. */
76914 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
76915 For example, HP-UX 11i <limits.h> declares gettimeofday. */
76916 #define $ac_func innocuous_$ac_func
76917
76918 /* System header to define __stub macros and hopefully few prototypes,
76919 which can conflict with char $ac_func (); below.
76920 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
76921 <limits.h> exists even on freestanding compilers. */
76922
76923 #ifdef __STDC__
76924 # include <limits.h>
76925 #else
76926 # include <assert.h>
76927 #endif
76928
76929 #undef $ac_func
76930
76931 /* Override any gcc2 internal prototype to avoid an error. */
76932 #ifdef __cplusplus
76933 extern "C"
76934 {
76935 #endif
76936 /* We use char because int might match the return type of a gcc2
76937 builtin and then its argument prototype would still apply. */
76938 char $ac_func ();
76939 /* The GNU C library defines this for functions which it implements
76940 to always fail with ENOSYS. Some functions are actually named
76941 something starting with __ and the normal name is an alias. */
76942 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
76943 choke me
76944 #else
76945 char (*f) () = $ac_func;
76946 #endif
76947 #ifdef __cplusplus
76948 }
76949 #endif
76950
76951 int
76952 main ()
76953 {
76954 return f != $ac_func;
76955 ;
76956 return 0;
76957 }
76958 _ACEOF
76959 rm -f conftest.$ac_objext conftest$ac_exeext
76960 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76961 (eval $ac_link) 2>conftest.er1
76962 ac_status=$?
76963 grep -v '^ *+' conftest.er1 >conftest.err
76964 rm -f conftest.er1
76965 cat conftest.err >&5
76966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76967 (exit $ac_status); } &&
76968 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
76969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76970 (eval $ac_try) 2>&5
76971 ac_status=$?
76972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76973 (exit $ac_status); }; } &&
76974 { ac_try='test -s conftest$ac_exeext'
76975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76976 (eval $ac_try) 2>&5
76977 ac_status=$?
76978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76979 (exit $ac_status); }; }; then
76980 eval "$as_ac_var=yes"
76981 else
76982 echo "$as_me: failed program was:" >&5
76983 sed 's/^/| /' conftest.$ac_ext >&5
76984
76985 eval "$as_ac_var=no"
76986 fi
76987 rm -f conftest.err conftest.$ac_objext \
76988 conftest$ac_exeext conftest.$ac_ext
76989 fi
76990 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
76991 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
76992 if test `eval echo '${'$as_ac_var'}'` = yes; then
76993 cat >>confdefs.h <<_ACEOF
76994 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
76995 _ACEOF
76996
76997 else
76998 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
76999 fi
77000 done
77001
77002 fi
77003
77004 # Used in libmath/Makefile.am.
77005 if test -n "$LIBMATHOBJS"; then
77006 need_libmath=yes
77007 fi
77008
77009
77010
77011
77012 enable_iconv=no
77013 # Only continue checking if the ISO C99 headers exist and support is on.
77014 if test x"$enable_wchar_t" = xyes; then
77015
77016 # Use iconv for wchar_t to char conversions. As such, check for
77017 # X/Open Portability Guide, version 2 features (XPG2).
77018 if test "${ac_cv_header_iconv_h+set}" = set; then
77019 echo "$as_me:$LINENO: checking for iconv.h" >&5
77020 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
77021 if test "${ac_cv_header_iconv_h+set}" = set; then
77022 echo $ECHO_N "(cached) $ECHO_C" >&6
77023 fi
77024 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
77025 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
77026 else
77027 # Is the header compilable?
77028 echo "$as_me:$LINENO: checking iconv.h usability" >&5
77029 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
77030 cat >conftest.$ac_ext <<_ACEOF
77031 /* confdefs.h. */
77032 _ACEOF
77033 cat confdefs.h >>conftest.$ac_ext
77034 cat >>conftest.$ac_ext <<_ACEOF
77035 /* end confdefs.h. */
77036 $ac_includes_default
77037 #include <iconv.h>
77038 _ACEOF
77039 rm -f conftest.$ac_objext
77040 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
77041 (eval $ac_compile) 2>conftest.er1
77042 ac_status=$?
77043 grep -v '^ *+' conftest.er1 >conftest.err
77044 rm -f conftest.er1
77045 cat conftest.err >&5
77046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77047 (exit $ac_status); } &&
77048 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
77049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77050 (eval $ac_try) 2>&5
77051 ac_status=$?
77052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77053 (exit $ac_status); }; } &&
77054 { ac_try='test -s conftest.$ac_objext'
77055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77056 (eval $ac_try) 2>&5
77057 ac_status=$?
77058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77059 (exit $ac_status); }; }; then
77060 ac_header_compiler=yes
77061 else
77062 echo "$as_me: failed program was:" >&5
77063 sed 's/^/| /' conftest.$ac_ext >&5
77064
77065 ac_header_compiler=no
77066 fi
77067 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
77068 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
77069 echo "${ECHO_T}$ac_header_compiler" >&6
77070
77071 # Is the header present?
77072 echo "$as_me:$LINENO: checking iconv.h presence" >&5
77073 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
77074 cat >conftest.$ac_ext <<_ACEOF
77075 /* confdefs.h. */
77076 _ACEOF
77077 cat confdefs.h >>conftest.$ac_ext
77078 cat >>conftest.$ac_ext <<_ACEOF
77079 /* end confdefs.h. */
77080 #include <iconv.h>
77081 _ACEOF
77082 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
77083 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
77084 ac_status=$?
77085 grep -v '^ *+' conftest.er1 >conftest.err
77086 rm -f conftest.er1
77087 cat conftest.err >&5
77088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77089 (exit $ac_status); } >/dev/null; then
77090 if test -s conftest.err; then
77091 ac_cpp_err=$ac_c_preproc_warn_flag
77092 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
77093 else
77094 ac_cpp_err=
77095 fi
77096 else
77097 ac_cpp_err=yes
77098 fi
77099 if test -z "$ac_cpp_err"; then
77100 ac_header_preproc=yes
77101 else
77102 echo "$as_me: failed program was:" >&5
77103 sed 's/^/| /' conftest.$ac_ext >&5
77104
77105 ac_header_preproc=no
77106 fi
77107 rm -f conftest.err conftest.$ac_ext
77108 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
77109 echo "${ECHO_T}$ac_header_preproc" >&6
77110
77111 # So? What about this header?
77112 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
77113 yes:no: )
77114 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
77115 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
77116 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
77117 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
77118 ac_header_preproc=yes
77119 ;;
77120 no:yes:* )
77121 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
77122 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
77123 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
77124 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
77125 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
77126 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
77127 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
77128 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
77129 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
77130 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
77131 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
77132 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
77133 (
77134 cat <<\_ASBOX
77135 ## ----------------------------------------- ##
77136 ## Report this to the package-unused lists. ##
77137 ## ----------------------------------------- ##
77138 _ASBOX
77139 ) |
77140 sed "s/^/$as_me: WARNING: /" >&2
77141 ;;
77142 esac
77143 echo "$as_me:$LINENO: checking for iconv.h" >&5
77144 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
77145 if test "${ac_cv_header_iconv_h+set}" = set; then
77146 echo $ECHO_N "(cached) $ECHO_C" >&6
77147 else
77148 ac_cv_header_iconv_h=$ac_header_preproc
77149 fi
77150 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
77151 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
77152
77153 fi
77154 if test $ac_cv_header_iconv_h = yes; then
77155 ac_has_iconv_h=yes
77156 else
77157 ac_has_iconv_h=no
77158 fi
77159
77160
77161 if test "${ac_cv_header_langinfo_h+set}" = set; then
77162 echo "$as_me:$LINENO: checking for langinfo.h" >&5
77163 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
77164 if test "${ac_cv_header_langinfo_h+set}" = set; then
77165 echo $ECHO_N "(cached) $ECHO_C" >&6
77166 fi
77167 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
77168 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
77169 else
77170 # Is the header compilable?
77171 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
77172 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
77173 cat >conftest.$ac_ext <<_ACEOF
77174 /* confdefs.h. */
77175 _ACEOF
77176 cat confdefs.h >>conftest.$ac_ext
77177 cat >>conftest.$ac_ext <<_ACEOF
77178 /* end confdefs.h. */
77179 $ac_includes_default
77180 #include <langinfo.h>
77181 _ACEOF
77182 rm -f conftest.$ac_objext
77183 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
77184 (eval $ac_compile) 2>conftest.er1
77185 ac_status=$?
77186 grep -v '^ *+' conftest.er1 >conftest.err
77187 rm -f conftest.er1
77188 cat conftest.err >&5
77189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77190 (exit $ac_status); } &&
77191 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
77192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77193 (eval $ac_try) 2>&5
77194 ac_status=$?
77195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77196 (exit $ac_status); }; } &&
77197 { ac_try='test -s conftest.$ac_objext'
77198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77199 (eval $ac_try) 2>&5
77200 ac_status=$?
77201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77202 (exit $ac_status); }; }; then
77203 ac_header_compiler=yes
77204 else
77205 echo "$as_me: failed program was:" >&5
77206 sed 's/^/| /' conftest.$ac_ext >&5
77207
77208 ac_header_compiler=no
77209 fi
77210 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
77211 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
77212 echo "${ECHO_T}$ac_header_compiler" >&6
77213
77214 # Is the header present?
77215 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
77216 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
77217 cat >conftest.$ac_ext <<_ACEOF
77218 /* confdefs.h. */
77219 _ACEOF
77220 cat confdefs.h >>conftest.$ac_ext
77221 cat >>conftest.$ac_ext <<_ACEOF
77222 /* end confdefs.h. */
77223 #include <langinfo.h>
77224 _ACEOF
77225 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
77226 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
77227 ac_status=$?
77228 grep -v '^ *+' conftest.er1 >conftest.err
77229 rm -f conftest.er1
77230 cat conftest.err >&5
77231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77232 (exit $ac_status); } >/dev/null; then
77233 if test -s conftest.err; then
77234 ac_cpp_err=$ac_c_preproc_warn_flag
77235 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
77236 else
77237 ac_cpp_err=
77238 fi
77239 else
77240 ac_cpp_err=yes
77241 fi
77242 if test -z "$ac_cpp_err"; then
77243 ac_header_preproc=yes
77244 else
77245 echo "$as_me: failed program was:" >&5
77246 sed 's/^/| /' conftest.$ac_ext >&5
77247
77248 ac_header_preproc=no
77249 fi
77250 rm -f conftest.err conftest.$ac_ext
77251 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
77252 echo "${ECHO_T}$ac_header_preproc" >&6
77253
77254 # So? What about this header?
77255 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
77256 yes:no: )
77257 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
77258 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
77259 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
77260 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
77261 ac_header_preproc=yes
77262 ;;
77263 no:yes:* )
77264 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
77265 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
77266 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
77267 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
77268 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
77269 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
77270 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
77271 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
77272 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
77273 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
77274 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
77275 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
77276 (
77277 cat <<\_ASBOX
77278 ## ----------------------------------------- ##
77279 ## Report this to the package-unused lists. ##
77280 ## ----------------------------------------- ##
77281 _ASBOX
77282 ) |
77283 sed "s/^/$as_me: WARNING: /" >&2
77284 ;;
77285 esac
77286 echo "$as_me:$LINENO: checking for langinfo.h" >&5
77287 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
77288 if test "${ac_cv_header_langinfo_h+set}" = set; then
77289 echo $ECHO_N "(cached) $ECHO_C" >&6
77290 else
77291 ac_cv_header_langinfo_h=$ac_header_preproc
77292 fi
77293 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
77294 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
77295
77296 fi
77297 if test $ac_cv_header_langinfo_h = yes; then
77298 ac_has_langinfo_h=yes
77299 else
77300 ac_has_langinfo_h=no
77301 fi
77302
77303
77304
77305 # Check for existence of libiconv.a providing XPG2 wchar_t support.
77306 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
77307 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
77308 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
77309 echo $ECHO_N "(cached) $ECHO_C" >&6
77310 else
77311 ac_check_lib_save_LIBS=$LIBS
77312 LIBS="-liconv $LIBS"
77313 if test x$gcc_no_link = xyes; then
77314 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77315 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77316 { (exit 1); exit 1; }; }
77317 fi
77318 cat >conftest.$ac_ext <<_ACEOF
77319 /* confdefs.h. */
77320 _ACEOF
77321 cat confdefs.h >>conftest.$ac_ext
77322 cat >>conftest.$ac_ext <<_ACEOF
77323 /* end confdefs.h. */
77324
77325 /* Override any gcc2 internal prototype to avoid an error. */
77326 #ifdef __cplusplus
77327 extern "C"
77328 #endif
77329 /* We use char because int might match the return type of a gcc2
77330 builtin and then its argument prototype would still apply. */
77331 char iconv ();
77332 int
77333 main ()
77334 {
77335 iconv ();
77336 ;
77337 return 0;
77338 }
77339 _ACEOF
77340 rm -f conftest.$ac_objext conftest$ac_exeext
77341 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77342 (eval $ac_link) 2>conftest.er1
77343 ac_status=$?
77344 grep -v '^ *+' conftest.er1 >conftest.err
77345 rm -f conftest.er1
77346 cat conftest.err >&5
77347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77348 (exit $ac_status); } &&
77349 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
77350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77351 (eval $ac_try) 2>&5
77352 ac_status=$?
77353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77354 (exit $ac_status); }; } &&
77355 { ac_try='test -s conftest$ac_exeext'
77356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77357 (eval $ac_try) 2>&5
77358 ac_status=$?
77359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77360 (exit $ac_status); }; }; then
77361 ac_cv_lib_iconv_iconv=yes
77362 else
77363 echo "$as_me: failed program was:" >&5
77364 sed 's/^/| /' conftest.$ac_ext >&5
77365
77366 ac_cv_lib_iconv_iconv=no
77367 fi
77368 rm -f conftest.err conftest.$ac_objext \
77369 conftest$ac_exeext conftest.$ac_ext
77370 LIBS=$ac_check_lib_save_LIBS
77371 fi
77372 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
77373 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
77374 if test $ac_cv_lib_iconv_iconv = yes; then
77375 LIBICONV="-liconv"
77376 fi
77377
77378 ac_save_LIBS="$LIBS"
77379 LIBS="$LIBS $LIBICONV"
77380
77381
77382
77383
77384
77385
77386 for ac_func in iconv_open iconv_close iconv nl_langinfo
77387 do
77388 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77389 echo "$as_me:$LINENO: checking for $ac_func" >&5
77390 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77391 if eval "test \"\${$as_ac_var+set}\" = set"; then
77392 echo $ECHO_N "(cached) $ECHO_C" >&6
77393 else
77394 if test x$gcc_no_link = xyes; then
77395 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77396 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77397 { (exit 1); exit 1; }; }
77398 fi
77399 cat >conftest.$ac_ext <<_ACEOF
77400 /* confdefs.h. */
77401 _ACEOF
77402 cat confdefs.h >>conftest.$ac_ext
77403 cat >>conftest.$ac_ext <<_ACEOF
77404 /* end confdefs.h. */
77405 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77406 For example, HP-UX 11i <limits.h> declares gettimeofday. */
77407 #define $ac_func innocuous_$ac_func
77408
77409 /* System header to define __stub macros and hopefully few prototypes,
77410 which can conflict with char $ac_func (); below.
77411 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77412 <limits.h> exists even on freestanding compilers. */
77413
77414 #ifdef __STDC__
77415 # include <limits.h>
77416 #else
77417 # include <assert.h>
77418 #endif
77419
77420 #undef $ac_func
77421
77422 /* Override any gcc2 internal prototype to avoid an error. */
77423 #ifdef __cplusplus
77424 extern "C"
77425 {
77426 #endif
77427 /* We use char because int might match the return type of a gcc2
77428 builtin and then its argument prototype would still apply. */
77429 char $ac_func ();
77430 /* The GNU C library defines this for functions which it implements
77431 to always fail with ENOSYS. Some functions are actually named
77432 something starting with __ and the normal name is an alias. */
77433 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77434 choke me
77435 #else
77436 char (*f) () = $ac_func;
77437 #endif
77438 #ifdef __cplusplus
77439 }
77440 #endif
77441
77442 int
77443 main ()
77444 {
77445 return f != $ac_func;
77446 ;
77447 return 0;
77448 }
77449 _ACEOF
77450 rm -f conftest.$ac_objext conftest$ac_exeext
77451 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77452 (eval $ac_link) 2>conftest.er1
77453 ac_status=$?
77454 grep -v '^ *+' conftest.er1 >conftest.err
77455 rm -f conftest.er1
77456 cat conftest.err >&5
77457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77458 (exit $ac_status); } &&
77459 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
77460 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77461 (eval $ac_try) 2>&5
77462 ac_status=$?
77463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77464 (exit $ac_status); }; } &&
77465 { ac_try='test -s conftest$ac_exeext'
77466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77467 (eval $ac_try) 2>&5
77468 ac_status=$?
77469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77470 (exit $ac_status); }; }; then
77471 eval "$as_ac_var=yes"
77472 else
77473 echo "$as_me: failed program was:" >&5
77474 sed 's/^/| /' conftest.$ac_ext >&5
77475
77476 eval "$as_ac_var=no"
77477 fi
77478 rm -f conftest.err conftest.$ac_objext \
77479 conftest$ac_exeext conftest.$ac_ext
77480 fi
77481 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
77482 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
77483 if test `eval echo '${'$as_ac_var'}'` = yes; then
77484 cat >>confdefs.h <<_ACEOF
77485 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
77486 _ACEOF
77487 ac_XPG2funcs=yes
77488 else
77489 ac_XPG2funcs=no
77490 fi
77491 done
77492
77493
77494 LIBS="$ac_save_LIBS"
77495
77496 if test x"$ac_has_iconv_h" = xyes &&
77497 test x"$ac_has_langinfo_h" = xyes &&
77498 test x"$ac_XPG2funcs" = xyes;
77499 then
77500
77501 cat >>confdefs.h <<\_ACEOF
77502 #define _GLIBCXX_USE_ICONV 1
77503 _ACEOF
77504
77505 enable_iconv=yes
77506 fi
77507 fi
77508 echo "$as_me:$LINENO: checking for enabled iconv specializations" >&5
77509 echo $ECHO_N "checking for enabled iconv specializations... $ECHO_C" >&6
77510 echo "$as_me:$LINENO: result: $enable_iconv" >&5
77511 echo "${ECHO_T}$enable_iconv" >&6
77512
77513 cat >>confdefs.h <<\_ACEOF
77514 #define HAVE_COPYSIGN 1
77515 _ACEOF
77516
77517 cat >>confdefs.h <<\_ACEOF
77518 #define HAVE_COPYSIGNF 1
77519 _ACEOF
77520
77521 cat >>confdefs.h <<\_ACEOF
77522 #define HAVE_FREXPF 1
77523 _ACEOF
77524
77525 cat >>confdefs.h <<\_ACEOF
77526 #define HAVE_HYPOT 1
77527 _ACEOF
77528
77529 case "$target" in
77530 *-hpux10*)
77531 cat >>confdefs.h <<\_ACEOF
77532 #define HAVE_FINITE 1
77533 _ACEOF
77534
77535 cat >>confdefs.h <<\_ACEOF
77536 #define HAVE_FINITEF 1
77537 _ACEOF
77538
77539 cat >>confdefs.h <<\_ACEOF
77540 #define HAVE_ISINF 1
77541 _ACEOF
77542
77543 cat >>confdefs.h <<\_ACEOF
77544 #define HAVE_ISINFF 1
77545 _ACEOF
77546
77547 cat >>confdefs.h <<\_ACEOF
77548 #define HAVE_ISNAN 1
77549 _ACEOF
77550
77551 cat >>confdefs.h <<\_ACEOF
77552 #define HAVE_ISNANF 1
77553 _ACEOF
77554
77555 ;;
77556 esac
77557 ;;
77558 *-linux* | *-uclinux* | *-gnu* | *-kfreebsd*-gnu | *-knetbsd*-gnu)
77559
77560
77561
77562
77563
77564
77565
77566
77567
77568
77569
77570
77571
77572
77573
77574 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
77575 machine/endian.h machine/param.h sys/machine.h sys/types.h \
77576 fp.h float.h endian.h inttypes.h locale.h float.h stdint.h
77577 do
77578 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
77579 if eval "test \"\${$as_ac_Header+set}\" = set"; then
77580 echo "$as_me:$LINENO: checking for $ac_header" >&5
77581 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
77582 if eval "test \"\${$as_ac_Header+set}\" = set"; then
77583 echo $ECHO_N "(cached) $ECHO_C" >&6
77584 fi
77585 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
77586 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
77587 else
77588 # Is the header compilable?
77589 echo "$as_me:$LINENO: checking $ac_header usability" >&5
77590 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
77591 cat >conftest.$ac_ext <<_ACEOF
77592 /* confdefs.h. */
77593 _ACEOF
77594 cat confdefs.h >>conftest.$ac_ext
77595 cat >>conftest.$ac_ext <<_ACEOF
77596 /* end confdefs.h. */
77597 $ac_includes_default
77598 #include <$ac_header>
77599 _ACEOF
77600 rm -f conftest.$ac_objext
77601 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
77602 (eval $ac_compile) 2>conftest.er1
77603 ac_status=$?
77604 grep -v '^ *+' conftest.er1 >conftest.err
77605 rm -f conftest.er1
77606 cat conftest.err >&5
77607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77608 (exit $ac_status); } &&
77609 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
77610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77611 (eval $ac_try) 2>&5
77612 ac_status=$?
77613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77614 (exit $ac_status); }; } &&
77615 { ac_try='test -s conftest.$ac_objext'
77616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77617 (eval $ac_try) 2>&5
77618 ac_status=$?
77619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77620 (exit $ac_status); }; }; then
77621 ac_header_compiler=yes
77622 else
77623 echo "$as_me: failed program was:" >&5
77624 sed 's/^/| /' conftest.$ac_ext >&5
77625
77626 ac_header_compiler=no
77627 fi
77628 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
77629 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
77630 echo "${ECHO_T}$ac_header_compiler" >&6
77631
77632 # Is the header present?
77633 echo "$as_me:$LINENO: checking $ac_header presence" >&5
77634 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
77635 cat >conftest.$ac_ext <<_ACEOF
77636 /* confdefs.h. */
77637 _ACEOF
77638 cat confdefs.h >>conftest.$ac_ext
77639 cat >>conftest.$ac_ext <<_ACEOF
77640 /* end confdefs.h. */
77641 #include <$ac_header>
77642 _ACEOF
77643 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
77644 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
77645 ac_status=$?
77646 grep -v '^ *+' conftest.er1 >conftest.err
77647 rm -f conftest.er1
77648 cat conftest.err >&5
77649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77650 (exit $ac_status); } >/dev/null; then
77651 if test -s conftest.err; then
77652 ac_cpp_err=$ac_c_preproc_warn_flag
77653 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
77654 else
77655 ac_cpp_err=
77656 fi
77657 else
77658 ac_cpp_err=yes
77659 fi
77660 if test -z "$ac_cpp_err"; then
77661 ac_header_preproc=yes
77662 else
77663 echo "$as_me: failed program was:" >&5
77664 sed 's/^/| /' conftest.$ac_ext >&5
77665
77666 ac_header_preproc=no
77667 fi
77668 rm -f conftest.err conftest.$ac_ext
77669 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
77670 echo "${ECHO_T}$ac_header_preproc" >&6
77671
77672 # So? What about this header?
77673 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
77674 yes:no: )
77675 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
77676 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
77677 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
77678 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
77679 ac_header_preproc=yes
77680 ;;
77681 no:yes:* )
77682 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
77683 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
77684 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
77685 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
77686 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
77687 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
77688 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
77689 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
77690 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
77691 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
77692 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
77693 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
77694 (
77695 cat <<\_ASBOX
77696 ## ----------------------------------------- ##
77697 ## Report this to the package-unused lists. ##
77698 ## ----------------------------------------- ##
77699 _ASBOX
77700 ) |
77701 sed "s/^/$as_me: WARNING: /" >&2
77702 ;;
77703 esac
77704 echo "$as_me:$LINENO: checking for $ac_header" >&5
77705 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
77706 if eval "test \"\${$as_ac_Header+set}\" = set"; then
77707 echo $ECHO_N "(cached) $ECHO_C" >&6
77708 else
77709 eval "$as_ac_Header=\$ac_header_preproc"
77710 fi
77711 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
77712 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
77713
77714 fi
77715 if test `eval echo '${'$as_ac_Header'}'` = yes; then
77716 cat >>confdefs.h <<_ACEOF
77717 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
77718 _ACEOF
77719
77720 fi
77721
77722 done
77723
77724 SECTION_FLAGS='-ffunction-sections -fdata-sections'
77725
77726
77727 # All these tests are for C++; save the language and the compiler flags.
77728 # The CXXFLAGS thing is suspicious, but based on similar bits previously
77729 # found in GLIBCXX_CONFIGURE.
77730
77731
77732 ac_ext=cc
77733 ac_cpp='$CXXCPP $CPPFLAGS'
77734 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77735 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77736 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77737
77738 ac_test_CXXFLAGS="${CXXFLAGS+set}"
77739 ac_save_CXXFLAGS="$CXXFLAGS"
77740
77741 # Check for maintainer-mode bits.
77742 if test x"$USE_MAINTAINER_MODE" = xno; then
77743 WERROR=''
77744 else
77745 WERROR='-Werror'
77746 fi
77747
77748 # Check for -ffunction-sections -fdata-sections
77749 echo "$as_me:$LINENO: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
77750 echo $ECHO_N "checking for g++ that supports -ffunction-sections -fdata-sections... $ECHO_C" >&6
77751 CXXFLAGS='-Werror -ffunction-sections -fdata-sections'
77752 cat >conftest.$ac_ext <<_ACEOF
77753 /* confdefs.h. */
77754 _ACEOF
77755 cat confdefs.h >>conftest.$ac_ext
77756 cat >>conftest.$ac_ext <<_ACEOF
77757 /* end confdefs.h. */
77758
77759 int
77760 main ()
77761 {
77762 int foo;
77763 ;
77764 return 0;
77765 }
77766 _ACEOF
77767 rm -f conftest.$ac_objext
77768 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
77769 (eval $ac_compile) 2>conftest.er1
77770 ac_status=$?
77771 grep -v '^ *+' conftest.er1 >conftest.err
77772 rm -f conftest.er1
77773 cat conftest.err >&5
77774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77775 (exit $ac_status); } &&
77776 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
77777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77778 (eval $ac_try) 2>&5
77779 ac_status=$?
77780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77781 (exit $ac_status); }; } &&
77782 { ac_try='test -s conftest.$ac_objext'
77783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77784 (eval $ac_try) 2>&5
77785 ac_status=$?
77786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77787 (exit $ac_status); }; }; then
77788 ac_fdsections=yes
77789 else
77790 echo "$as_me: failed program was:" >&5
77791 sed 's/^/| /' conftest.$ac_ext >&5
77792
77793 ac_fdsections=no
77794 fi
77795 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
77796 if test "$ac_test_CXXFLAGS" = set; then
77797 CXXFLAGS="$ac_save_CXXFLAGS"
77798 else
77799 # this is the suspicious part
77800 CXXFLAGS=''
77801 fi
77802 if test x"$ac_fdsections" = x"yes"; then
77803 SECTION_FLAGS='-ffunction-sections -fdata-sections'
77804 fi
77805 echo "$as_me:$LINENO: result: $ac_fdsections" >&5
77806 echo "${ECHO_T}$ac_fdsections" >&6
77807
77808 ac_ext=c
77809 ac_cpp='$CPP $CPPFLAGS'
77810 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77811 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77812 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77813
77814
77815
77816
77817
77818 # If we're not using GNU ld, then there's no point in even trying these
77819 # tests. Check for that first. We should have already tested for gld
77820 # by now (in libtool), but require it now just to be safe...
77821 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
77822 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
77823
77824
77825
77826 # The name set by libtool depends on the version of libtool. Shame on us
77827 # for depending on an impl detail, but c'est la vie. Older versions used
77828 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
77829 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
77830 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
77831 # set (hence we're using an older libtool), then set it.
77832 if test x${with_gnu_ld+set} != xset; then
77833 if test x${ac_cv_prog_gnu_ld+set} != xset; then
77834 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
77835 with_gnu_ld=no
77836 else
77837 with_gnu_ld=$ac_cv_prog_gnu_ld
77838 fi
77839 fi
77840
77841 # Start by getting the version number. I think the libtool test already
77842 # does some of this, but throws away the result.
77843 echo "$as_me:$LINENO: checking for ld version" >&5
77844 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
77845
77846 ldver=`$LD --version 2>/dev/null | head -1 | \
77847 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
77848
77849 glibcxx_gnu_ld_version=`echo $ldver | \
77850 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
77851 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
77852 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
77853
77854 # Set --gc-sections.
77855 glibcxx_gcsections_min_ld=21602
77856 if test x"$with_gnu_ld" = x"yes" &&
77857 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
77858
77859 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
77860 # NB: This flag only works reliably after 2.16.1. Configure tests
77861 # for this are difficult, so hard wire a value that should work.
77862
77863 # All these tests are for C++, but run with the "C" compiler driver.
77864 # Need to do this so that g++ won't try to link in libstdc++/libsupc++.
77865 ac_test_CFLAGS="${CFLAGS+set}"
77866 ac_save_CFLAGS="$CFLAGS"
77867 CFLAGS='-x c++ -Wl,--gc-sections'
77868
77869 # Check for -Wl,--gc-sections
77870 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
77871 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
77872 if test x$gcc_no_link = xyes; then
77873 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77874 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77875 { (exit 1); exit 1; }; }
77876 fi
77877 cat >conftest.$ac_ext <<_ACEOF
77878 /* confdefs.h. */
77879 _ACEOF
77880 cat confdefs.h >>conftest.$ac_ext
77881 cat >>conftest.$ac_ext <<_ACEOF
77882 /* end confdefs.h. */
77883 int one(void) { return 1; }
77884 int two(void) { return 2; }
77885
77886 int
77887 main ()
77888 {
77889 two();
77890 ;
77891 return 0;
77892 }
77893 _ACEOF
77894 rm -f conftest.$ac_objext conftest$ac_exeext
77895 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77896 (eval $ac_link) 2>conftest.er1
77897 ac_status=$?
77898 grep -v '^ *+' conftest.er1 >conftest.err
77899 rm -f conftest.er1
77900 cat conftest.err >&5
77901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77902 (exit $ac_status); } &&
77903 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
77904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77905 (eval $ac_try) 2>&5
77906 ac_status=$?
77907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77908 (exit $ac_status); }; } &&
77909 { ac_try='test -s conftest$ac_exeext'
77910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77911 (eval $ac_try) 2>&5
77912 ac_status=$?
77913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77914 (exit $ac_status); }; }; then
77915 ac_gcsections=yes
77916 else
77917 echo "$as_me: failed program was:" >&5
77918 sed 's/^/| /' conftest.$ac_ext >&5
77919
77920 ac_gcsections=no
77921 fi
77922 rm -f conftest.err conftest.$ac_objext \
77923 conftest$ac_exeext conftest.$ac_ext
77924 if test "$ac_gcsections" = "yes"; then
77925 rm -f conftest.c
77926 touch conftest.c
77927 if $CC -c conftest.c; then
77928 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
77929 grep "Warning: gc-sections option ignored" > /dev/null; then
77930 ac_gcsections=no
77931 fi
77932 fi
77933 rm -f conftest.c conftest.o conftest
77934 fi
77935 if test "$ac_gcsections" = "yes"; then
77936 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
77937 fi
77938 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
77939 echo "${ECHO_T}$ac_gcsections" >&6
77940
77941 if test "$ac_test_CFLAGS" = set; then
77942 CFLAGS="$ac_save_CFLAGS"
77943 else
77944 # this is the suspicious part
77945 CFLAGS=''
77946 fi
77947 fi
77948
77949 # Set -z,relro.
77950 # Note this is only for shared objects.
77951 ac_ld_relro=no
77952 if test x"$with_gnu_ld" = x"yes"; then
77953 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
77954 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
77955 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
77956 if test -n "$cxx_z_relo"; then
77957 OPT_LDFLAGS="-Wl,-z,relro"
77958 ac_ld_relro=yes
77959 fi
77960 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
77961 echo "${ECHO_T}$ac_ld_relro" >&6
77962 fi
77963
77964 # Set linker optimization flags.
77965 if test x"$with_gnu_ld" = x"yes"; then
77966 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
77967 fi
77968
77969
77970
77971
77972
77973 ac_test_CXXFLAGS="${CXXFLAGS+set}"
77974 ac_save_CXXFLAGS="$CXXFLAGS"
77975 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
77976
77977 echo "$as_me:$LINENO: checking for sin in -lm" >&5
77978 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
77979 if test "${ac_cv_lib_m_sin+set}" = set; then
77980 echo $ECHO_N "(cached) $ECHO_C" >&6
77981 else
77982 ac_check_lib_save_LIBS=$LIBS
77983 LIBS="-lm $LIBS"
77984 if test x$gcc_no_link = xyes; then
77985 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77986 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77987 { (exit 1); exit 1; }; }
77988 fi
77989 cat >conftest.$ac_ext <<_ACEOF
77990 /* confdefs.h. */
77991 _ACEOF
77992 cat confdefs.h >>conftest.$ac_ext
77993 cat >>conftest.$ac_ext <<_ACEOF
77994 /* end confdefs.h. */
77995
77996 /* Override any gcc2 internal prototype to avoid an error. */
77997 #ifdef __cplusplus
77998 extern "C"
77999 #endif
78000 /* We use char because int might match the return type of a gcc2
78001 builtin and then its argument prototype would still apply. */
78002 char sin ();
78003 int
78004 main ()
78005 {
78006 sin ();
78007 ;
78008 return 0;
78009 }
78010 _ACEOF
78011 rm -f conftest.$ac_objext conftest$ac_exeext
78012 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78013 (eval $ac_link) 2>conftest.er1
78014 ac_status=$?
78015 grep -v '^ *+' conftest.er1 >conftest.err
78016 rm -f conftest.er1
78017 cat conftest.err >&5
78018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78019 (exit $ac_status); } &&
78020 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
78021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78022 (eval $ac_try) 2>&5
78023 ac_status=$?
78024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78025 (exit $ac_status); }; } &&
78026 { ac_try='test -s conftest$ac_exeext'
78027 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78028 (eval $ac_try) 2>&5
78029 ac_status=$?
78030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78031 (exit $ac_status); }; }; then
78032 ac_cv_lib_m_sin=yes
78033 else
78034 echo "$as_me: failed program was:" >&5
78035 sed 's/^/| /' conftest.$ac_ext >&5
78036
78037 ac_cv_lib_m_sin=no
78038 fi
78039 rm -f conftest.err conftest.$ac_objext \
78040 conftest$ac_exeext conftest.$ac_ext
78041 LIBS=$ac_check_lib_save_LIBS
78042 fi
78043 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
78044 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
78045 if test $ac_cv_lib_m_sin = yes; then
78046 libm="-lm"
78047 fi
78048
78049 ac_save_LIBS="$LIBS"
78050 LIBS="$LIBS $libm"
78051
78052
78053
78054 echo "$as_me:$LINENO: checking for isinf declaration" >&5
78055 echo $ECHO_N "checking for isinf declaration... $ECHO_C" >&6
78056 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
78057 if test "${glibcxx_cv_func_isinf_use+set}" = set; then
78058 echo $ECHO_N "(cached) $ECHO_C" >&6
78059 else
78060
78061
78062
78063 ac_ext=cc
78064 ac_cpp='$CXXCPP $CPPFLAGS'
78065 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78066 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78067 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78068
78069 cat >conftest.$ac_ext <<_ACEOF
78070 /* confdefs.h. */
78071 _ACEOF
78072 cat confdefs.h >>conftest.$ac_ext
78073 cat >>conftest.$ac_ext <<_ACEOF
78074 /* end confdefs.h. */
78075 #include <math.h>
78076 #ifdef HAVE_IEEEFP_H
78077 #include <ieeefp.h>
78078 #endif
78079
78080 int
78081 main ()
78082 {
78083 isinf(0);
78084 ;
78085 return 0;
78086 }
78087 _ACEOF
78088 rm -f conftest.$ac_objext
78089 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78090 (eval $ac_compile) 2>conftest.er1
78091 ac_status=$?
78092 grep -v '^ *+' conftest.er1 >conftest.err
78093 rm -f conftest.er1
78094 cat conftest.err >&5
78095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78096 (exit $ac_status); } &&
78097 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
78098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78099 (eval $ac_try) 2>&5
78100 ac_status=$?
78101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78102 (exit $ac_status); }; } &&
78103 { ac_try='test -s conftest.$ac_objext'
78104 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78105 (eval $ac_try) 2>&5
78106 ac_status=$?
78107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78108 (exit $ac_status); }; }; then
78109 glibcxx_cv_func_isinf_use=yes
78110 else
78111 echo "$as_me: failed program was:" >&5
78112 sed 's/^/| /' conftest.$ac_ext >&5
78113
78114 glibcxx_cv_func_isinf_use=no
78115 fi
78116 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
78117 ac_ext=c
78118 ac_cpp='$CPP $CPPFLAGS'
78119 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78120 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78121 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78122
78123
78124 fi
78125
78126 fi
78127 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinf_use" >&5
78128 echo "${ECHO_T}$glibcxx_cv_func_isinf_use" >&6
78129
78130 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
78131
78132 for ac_func in isinf
78133 do
78134 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
78135 echo "$as_me:$LINENO: checking for $ac_func" >&5
78136 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
78137 if eval "test \"\${$as_ac_var+set}\" = set"; then
78138 echo $ECHO_N "(cached) $ECHO_C" >&6
78139 else
78140 if test x$gcc_no_link = xyes; then
78141 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78142 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78143 { (exit 1); exit 1; }; }
78144 fi
78145 cat >conftest.$ac_ext <<_ACEOF
78146 /* confdefs.h. */
78147 _ACEOF
78148 cat confdefs.h >>conftest.$ac_ext
78149 cat >>conftest.$ac_ext <<_ACEOF
78150 /* end confdefs.h. */
78151 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
78152 For example, HP-UX 11i <limits.h> declares gettimeofday. */
78153 #define $ac_func innocuous_$ac_func
78154
78155 /* System header to define __stub macros and hopefully few prototypes,
78156 which can conflict with char $ac_func (); below.
78157 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
78158 <limits.h> exists even on freestanding compilers. */
78159
78160 #ifdef __STDC__
78161 # include <limits.h>
78162 #else
78163 # include <assert.h>
78164 #endif
78165
78166 #undef $ac_func
78167
78168 /* Override any gcc2 internal prototype to avoid an error. */
78169 #ifdef __cplusplus
78170 extern "C"
78171 {
78172 #endif
78173 /* We use char because int might match the return type of a gcc2
78174 builtin and then its argument prototype would still apply. */
78175 char $ac_func ();
78176 /* The GNU C library defines this for functions which it implements
78177 to always fail with ENOSYS. Some functions are actually named
78178 something starting with __ and the normal name is an alias. */
78179 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
78180 choke me
78181 #else
78182 char (*f) () = $ac_func;
78183 #endif
78184 #ifdef __cplusplus
78185 }
78186 #endif
78187
78188 int
78189 main ()
78190 {
78191 return f != $ac_func;
78192 ;
78193 return 0;
78194 }
78195 _ACEOF
78196 rm -f conftest.$ac_objext conftest$ac_exeext
78197 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78198 (eval $ac_link) 2>conftest.er1
78199 ac_status=$?
78200 grep -v '^ *+' conftest.er1 >conftest.err
78201 rm -f conftest.er1
78202 cat conftest.err >&5
78203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78204 (exit $ac_status); } &&
78205 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
78206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78207 (eval $ac_try) 2>&5
78208 ac_status=$?
78209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78210 (exit $ac_status); }; } &&
78211 { ac_try='test -s conftest$ac_exeext'
78212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78213 (eval $ac_try) 2>&5
78214 ac_status=$?
78215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78216 (exit $ac_status); }; }; then
78217 eval "$as_ac_var=yes"
78218 else
78219 echo "$as_me: failed program was:" >&5
78220 sed 's/^/| /' conftest.$ac_ext >&5
78221
78222 eval "$as_ac_var=no"
78223 fi
78224 rm -f conftest.err conftest.$ac_objext \
78225 conftest$ac_exeext conftest.$ac_ext
78226 fi
78227 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
78228 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
78229 if test `eval echo '${'$as_ac_var'}'` = yes; then
78230 cat >>confdefs.h <<_ACEOF
78231 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
78232 _ACEOF
78233
78234 fi
78235 done
78236
78237 else
78238
78239 echo "$as_me:$LINENO: checking for _isinf declaration" >&5
78240 echo $ECHO_N "checking for _isinf declaration... $ECHO_C" >&6
78241 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
78242 if test "${glibcxx_cv_func__isinf_use+set}" = set; then
78243 echo $ECHO_N "(cached) $ECHO_C" >&6
78244 else
78245
78246
78247
78248 ac_ext=cc
78249 ac_cpp='$CXXCPP $CPPFLAGS'
78250 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78251 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78252 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78253
78254 cat >conftest.$ac_ext <<_ACEOF
78255 /* confdefs.h. */
78256 _ACEOF
78257 cat confdefs.h >>conftest.$ac_ext
78258 cat >>conftest.$ac_ext <<_ACEOF
78259 /* end confdefs.h. */
78260 #include <math.h>
78261 #ifdef HAVE_IEEEFP_H
78262 #include <ieeefp.h>
78263 #endif
78264
78265 int
78266 main ()
78267 {
78268 _isinf(0);
78269 ;
78270 return 0;
78271 }
78272 _ACEOF
78273 rm -f conftest.$ac_objext
78274 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78275 (eval $ac_compile) 2>conftest.er1
78276 ac_status=$?
78277 grep -v '^ *+' conftest.er1 >conftest.err
78278 rm -f conftest.er1
78279 cat conftest.err >&5
78280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78281 (exit $ac_status); } &&
78282 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
78283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78284 (eval $ac_try) 2>&5
78285 ac_status=$?
78286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78287 (exit $ac_status); }; } &&
78288 { ac_try='test -s conftest.$ac_objext'
78289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78290 (eval $ac_try) 2>&5
78291 ac_status=$?
78292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78293 (exit $ac_status); }; }; then
78294 glibcxx_cv_func__isinf_use=yes
78295 else
78296 echo "$as_me: failed program was:" >&5
78297 sed 's/^/| /' conftest.$ac_ext >&5
78298
78299 glibcxx_cv_func__isinf_use=no
78300 fi
78301 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
78302 ac_ext=c
78303 ac_cpp='$CPP $CPPFLAGS'
78304 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78305 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78306 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78307
78308
78309 fi
78310
78311 fi
78312 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinf_use" >&5
78313 echo "${ECHO_T}$glibcxx_cv_func__isinf_use" >&6
78314
78315 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
78316
78317 for ac_func in _isinf
78318 do
78319 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
78320 echo "$as_me:$LINENO: checking for $ac_func" >&5
78321 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
78322 if eval "test \"\${$as_ac_var+set}\" = set"; then
78323 echo $ECHO_N "(cached) $ECHO_C" >&6
78324 else
78325 if test x$gcc_no_link = xyes; then
78326 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78327 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78328 { (exit 1); exit 1; }; }
78329 fi
78330 cat >conftest.$ac_ext <<_ACEOF
78331 /* confdefs.h. */
78332 _ACEOF
78333 cat confdefs.h >>conftest.$ac_ext
78334 cat >>conftest.$ac_ext <<_ACEOF
78335 /* end confdefs.h. */
78336 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
78337 For example, HP-UX 11i <limits.h> declares gettimeofday. */
78338 #define $ac_func innocuous_$ac_func
78339
78340 /* System header to define __stub macros and hopefully few prototypes,
78341 which can conflict with char $ac_func (); below.
78342 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
78343 <limits.h> exists even on freestanding compilers. */
78344
78345 #ifdef __STDC__
78346 # include <limits.h>
78347 #else
78348 # include <assert.h>
78349 #endif
78350
78351 #undef $ac_func
78352
78353 /* Override any gcc2 internal prototype to avoid an error. */
78354 #ifdef __cplusplus
78355 extern "C"
78356 {
78357 #endif
78358 /* We use char because int might match the return type of a gcc2
78359 builtin and then its argument prototype would still apply. */
78360 char $ac_func ();
78361 /* The GNU C library defines this for functions which it implements
78362 to always fail with ENOSYS. Some functions are actually named
78363 something starting with __ and the normal name is an alias. */
78364 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
78365 choke me
78366 #else
78367 char (*f) () = $ac_func;
78368 #endif
78369 #ifdef __cplusplus
78370 }
78371 #endif
78372
78373 int
78374 main ()
78375 {
78376 return f != $ac_func;
78377 ;
78378 return 0;
78379 }
78380 _ACEOF
78381 rm -f conftest.$ac_objext conftest$ac_exeext
78382 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78383 (eval $ac_link) 2>conftest.er1
78384 ac_status=$?
78385 grep -v '^ *+' conftest.er1 >conftest.err
78386 rm -f conftest.er1
78387 cat conftest.err >&5
78388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78389 (exit $ac_status); } &&
78390 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
78391 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78392 (eval $ac_try) 2>&5
78393 ac_status=$?
78394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78395 (exit $ac_status); }; } &&
78396 { ac_try='test -s conftest$ac_exeext'
78397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78398 (eval $ac_try) 2>&5
78399 ac_status=$?
78400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78401 (exit $ac_status); }; }; then
78402 eval "$as_ac_var=yes"
78403 else
78404 echo "$as_me: failed program was:" >&5
78405 sed 's/^/| /' conftest.$ac_ext >&5
78406
78407 eval "$as_ac_var=no"
78408 fi
78409 rm -f conftest.err conftest.$ac_objext \
78410 conftest$ac_exeext conftest.$ac_ext
78411 fi
78412 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
78413 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
78414 if test `eval echo '${'$as_ac_var'}'` = yes; then
78415 cat >>confdefs.h <<_ACEOF
78416 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
78417 _ACEOF
78418
78419 fi
78420 done
78421
78422 fi
78423 fi
78424
78425
78426
78427
78428
78429
78430 echo "$as_me:$LINENO: checking for isnan declaration" >&5
78431 echo $ECHO_N "checking for isnan declaration... $ECHO_C" >&6
78432 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
78433 if test "${glibcxx_cv_func_isnan_use+set}" = set; then
78434 echo $ECHO_N "(cached) $ECHO_C" >&6
78435 else
78436
78437
78438
78439 ac_ext=cc
78440 ac_cpp='$CXXCPP $CPPFLAGS'
78441 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78442 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78443 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78444
78445 cat >conftest.$ac_ext <<_ACEOF
78446 /* confdefs.h. */
78447 _ACEOF
78448 cat confdefs.h >>conftest.$ac_ext
78449 cat >>conftest.$ac_ext <<_ACEOF
78450 /* end confdefs.h. */
78451 #include <math.h>
78452 #ifdef HAVE_IEEEFP_H
78453 #include <ieeefp.h>
78454 #endif
78455
78456 int
78457 main ()
78458 {
78459 isnan(0);
78460 ;
78461 return 0;
78462 }
78463 _ACEOF
78464 rm -f conftest.$ac_objext
78465 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78466 (eval $ac_compile) 2>conftest.er1
78467 ac_status=$?
78468 grep -v '^ *+' conftest.er1 >conftest.err
78469 rm -f conftest.er1
78470 cat conftest.err >&5
78471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78472 (exit $ac_status); } &&
78473 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
78474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78475 (eval $ac_try) 2>&5
78476 ac_status=$?
78477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78478 (exit $ac_status); }; } &&
78479 { ac_try='test -s conftest.$ac_objext'
78480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78481 (eval $ac_try) 2>&5
78482 ac_status=$?
78483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78484 (exit $ac_status); }; }; then
78485 glibcxx_cv_func_isnan_use=yes
78486 else
78487 echo "$as_me: failed program was:" >&5
78488 sed 's/^/| /' conftest.$ac_ext >&5
78489
78490 glibcxx_cv_func_isnan_use=no
78491 fi
78492 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
78493 ac_ext=c
78494 ac_cpp='$CPP $CPPFLAGS'
78495 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78496 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78497 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78498
78499
78500 fi
78501
78502 fi
78503 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnan_use" >&5
78504 echo "${ECHO_T}$glibcxx_cv_func_isnan_use" >&6
78505
78506 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
78507
78508 for ac_func in isnan
78509 do
78510 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
78511 echo "$as_me:$LINENO: checking for $ac_func" >&5
78512 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
78513 if eval "test \"\${$as_ac_var+set}\" = set"; then
78514 echo $ECHO_N "(cached) $ECHO_C" >&6
78515 else
78516 if test x$gcc_no_link = xyes; then
78517 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78518 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78519 { (exit 1); exit 1; }; }
78520 fi
78521 cat >conftest.$ac_ext <<_ACEOF
78522 /* confdefs.h. */
78523 _ACEOF
78524 cat confdefs.h >>conftest.$ac_ext
78525 cat >>conftest.$ac_ext <<_ACEOF
78526 /* end confdefs.h. */
78527 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
78528 For example, HP-UX 11i <limits.h> declares gettimeofday. */
78529 #define $ac_func innocuous_$ac_func
78530
78531 /* System header to define __stub macros and hopefully few prototypes,
78532 which can conflict with char $ac_func (); below.
78533 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
78534 <limits.h> exists even on freestanding compilers. */
78535
78536 #ifdef __STDC__
78537 # include <limits.h>
78538 #else
78539 # include <assert.h>
78540 #endif
78541
78542 #undef $ac_func
78543
78544 /* Override any gcc2 internal prototype to avoid an error. */
78545 #ifdef __cplusplus
78546 extern "C"
78547 {
78548 #endif
78549 /* We use char because int might match the return type of a gcc2
78550 builtin and then its argument prototype would still apply. */
78551 char $ac_func ();
78552 /* The GNU C library defines this for functions which it implements
78553 to always fail with ENOSYS. Some functions are actually named
78554 something starting with __ and the normal name is an alias. */
78555 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
78556 choke me
78557 #else
78558 char (*f) () = $ac_func;
78559 #endif
78560 #ifdef __cplusplus
78561 }
78562 #endif
78563
78564 int
78565 main ()
78566 {
78567 return f != $ac_func;
78568 ;
78569 return 0;
78570 }
78571 _ACEOF
78572 rm -f conftest.$ac_objext conftest$ac_exeext
78573 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78574 (eval $ac_link) 2>conftest.er1
78575 ac_status=$?
78576 grep -v '^ *+' conftest.er1 >conftest.err
78577 rm -f conftest.er1
78578 cat conftest.err >&5
78579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78580 (exit $ac_status); } &&
78581 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
78582 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78583 (eval $ac_try) 2>&5
78584 ac_status=$?
78585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78586 (exit $ac_status); }; } &&
78587 { ac_try='test -s conftest$ac_exeext'
78588 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78589 (eval $ac_try) 2>&5
78590 ac_status=$?
78591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78592 (exit $ac_status); }; }; then
78593 eval "$as_ac_var=yes"
78594 else
78595 echo "$as_me: failed program was:" >&5
78596 sed 's/^/| /' conftest.$ac_ext >&5
78597
78598 eval "$as_ac_var=no"
78599 fi
78600 rm -f conftest.err conftest.$ac_objext \
78601 conftest$ac_exeext conftest.$ac_ext
78602 fi
78603 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
78604 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
78605 if test `eval echo '${'$as_ac_var'}'` = yes; then
78606 cat >>confdefs.h <<_ACEOF
78607 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
78608 _ACEOF
78609
78610 fi
78611 done
78612
78613 else
78614
78615 echo "$as_me:$LINENO: checking for _isnan declaration" >&5
78616 echo $ECHO_N "checking for _isnan declaration... $ECHO_C" >&6
78617 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
78618 if test "${glibcxx_cv_func__isnan_use+set}" = set; then
78619 echo $ECHO_N "(cached) $ECHO_C" >&6
78620 else
78621
78622
78623
78624 ac_ext=cc
78625 ac_cpp='$CXXCPP $CPPFLAGS'
78626 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78627 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78628 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78629
78630 cat >conftest.$ac_ext <<_ACEOF
78631 /* confdefs.h. */
78632 _ACEOF
78633 cat confdefs.h >>conftest.$ac_ext
78634 cat >>conftest.$ac_ext <<_ACEOF
78635 /* end confdefs.h. */
78636 #include <math.h>
78637 #ifdef HAVE_IEEEFP_H
78638 #include <ieeefp.h>
78639 #endif
78640
78641 int
78642 main ()
78643 {
78644 _isnan(0);
78645 ;
78646 return 0;
78647 }
78648 _ACEOF
78649 rm -f conftest.$ac_objext
78650 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78651 (eval $ac_compile) 2>conftest.er1
78652 ac_status=$?
78653 grep -v '^ *+' conftest.er1 >conftest.err
78654 rm -f conftest.er1
78655 cat conftest.err >&5
78656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78657 (exit $ac_status); } &&
78658 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
78659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78660 (eval $ac_try) 2>&5
78661 ac_status=$?
78662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78663 (exit $ac_status); }; } &&
78664 { ac_try='test -s conftest.$ac_objext'
78665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78666 (eval $ac_try) 2>&5
78667 ac_status=$?
78668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78669 (exit $ac_status); }; }; then
78670 glibcxx_cv_func__isnan_use=yes
78671 else
78672 echo "$as_me: failed program was:" >&5
78673 sed 's/^/| /' conftest.$ac_ext >&5
78674
78675 glibcxx_cv_func__isnan_use=no
78676 fi
78677 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
78678 ac_ext=c
78679 ac_cpp='$CPP $CPPFLAGS'
78680 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78681 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78682 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78683
78684
78685 fi
78686
78687 fi
78688 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnan_use" >&5
78689 echo "${ECHO_T}$glibcxx_cv_func__isnan_use" >&6
78690
78691 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
78692
78693 for ac_func in _isnan
78694 do
78695 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
78696 echo "$as_me:$LINENO: checking for $ac_func" >&5
78697 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
78698 if eval "test \"\${$as_ac_var+set}\" = set"; then
78699 echo $ECHO_N "(cached) $ECHO_C" >&6
78700 else
78701 if test x$gcc_no_link = xyes; then
78702 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78703 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78704 { (exit 1); exit 1; }; }
78705 fi
78706 cat >conftest.$ac_ext <<_ACEOF
78707 /* confdefs.h. */
78708 _ACEOF
78709 cat confdefs.h >>conftest.$ac_ext
78710 cat >>conftest.$ac_ext <<_ACEOF
78711 /* end confdefs.h. */
78712 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
78713 For example, HP-UX 11i <limits.h> declares gettimeofday. */
78714 #define $ac_func innocuous_$ac_func
78715
78716 /* System header to define __stub macros and hopefully few prototypes,
78717 which can conflict with char $ac_func (); below.
78718 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
78719 <limits.h> exists even on freestanding compilers. */
78720
78721 #ifdef __STDC__
78722 # include <limits.h>
78723 #else
78724 # include <assert.h>
78725 #endif
78726
78727 #undef $ac_func
78728
78729 /* Override any gcc2 internal prototype to avoid an error. */
78730 #ifdef __cplusplus
78731 extern "C"
78732 {
78733 #endif
78734 /* We use char because int might match the return type of a gcc2
78735 builtin and then its argument prototype would still apply. */
78736 char $ac_func ();
78737 /* The GNU C library defines this for functions which it implements
78738 to always fail with ENOSYS. Some functions are actually named
78739 something starting with __ and the normal name is an alias. */
78740 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
78741 choke me
78742 #else
78743 char (*f) () = $ac_func;
78744 #endif
78745 #ifdef __cplusplus
78746 }
78747 #endif
78748
78749 int
78750 main ()
78751 {
78752 return f != $ac_func;
78753 ;
78754 return 0;
78755 }
78756 _ACEOF
78757 rm -f conftest.$ac_objext conftest$ac_exeext
78758 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78759 (eval $ac_link) 2>conftest.er1
78760 ac_status=$?
78761 grep -v '^ *+' conftest.er1 >conftest.err
78762 rm -f conftest.er1
78763 cat conftest.err >&5
78764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78765 (exit $ac_status); } &&
78766 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
78767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78768 (eval $ac_try) 2>&5
78769 ac_status=$?
78770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78771 (exit $ac_status); }; } &&
78772 { ac_try='test -s conftest$ac_exeext'
78773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78774 (eval $ac_try) 2>&5
78775 ac_status=$?
78776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78777 (exit $ac_status); }; }; then
78778 eval "$as_ac_var=yes"
78779 else
78780 echo "$as_me: failed program was:" >&5
78781 sed 's/^/| /' conftest.$ac_ext >&5
78782
78783 eval "$as_ac_var=no"
78784 fi
78785 rm -f conftest.err conftest.$ac_objext \
78786 conftest$ac_exeext conftest.$ac_ext
78787 fi
78788 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
78789 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
78790 if test `eval echo '${'$as_ac_var'}'` = yes; then
78791 cat >>confdefs.h <<_ACEOF
78792 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
78793 _ACEOF
78794
78795 fi
78796 done
78797
78798 fi
78799 fi
78800
78801
78802
78803
78804
78805
78806 echo "$as_me:$LINENO: checking for finite declaration" >&5
78807 echo $ECHO_N "checking for finite declaration... $ECHO_C" >&6
78808 if test x${glibcxx_cv_func_finite_use+set} != xset; then
78809 if test "${glibcxx_cv_func_finite_use+set}" = set; then
78810 echo $ECHO_N "(cached) $ECHO_C" >&6
78811 else
78812
78813
78814
78815 ac_ext=cc
78816 ac_cpp='$CXXCPP $CPPFLAGS'
78817 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78818 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78819 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78820
78821 cat >conftest.$ac_ext <<_ACEOF
78822 /* confdefs.h. */
78823 _ACEOF
78824 cat confdefs.h >>conftest.$ac_ext
78825 cat >>conftest.$ac_ext <<_ACEOF
78826 /* end confdefs.h. */
78827 #include <math.h>
78828 #ifdef HAVE_IEEEFP_H
78829 #include <ieeefp.h>
78830 #endif
78831
78832 int
78833 main ()
78834 {
78835 finite(0);
78836 ;
78837 return 0;
78838 }
78839 _ACEOF
78840 rm -f conftest.$ac_objext
78841 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78842 (eval $ac_compile) 2>conftest.er1
78843 ac_status=$?
78844 grep -v '^ *+' conftest.er1 >conftest.err
78845 rm -f conftest.er1
78846 cat conftest.err >&5
78847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78848 (exit $ac_status); } &&
78849 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
78850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78851 (eval $ac_try) 2>&5
78852 ac_status=$?
78853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78854 (exit $ac_status); }; } &&
78855 { ac_try='test -s conftest.$ac_objext'
78856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78857 (eval $ac_try) 2>&5
78858 ac_status=$?
78859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78860 (exit $ac_status); }; }; then
78861 glibcxx_cv_func_finite_use=yes
78862 else
78863 echo "$as_me: failed program was:" >&5
78864 sed 's/^/| /' conftest.$ac_ext >&5
78865
78866 glibcxx_cv_func_finite_use=no
78867 fi
78868 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
78869 ac_ext=c
78870 ac_cpp='$CPP $CPPFLAGS'
78871 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78872 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78873 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78874
78875
78876 fi
78877
78878 fi
78879 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finite_use" >&5
78880 echo "${ECHO_T}$glibcxx_cv_func_finite_use" >&6
78881
78882 if test x$glibcxx_cv_func_finite_use = x"yes"; then
78883
78884 for ac_func in finite
78885 do
78886 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
78887 echo "$as_me:$LINENO: checking for $ac_func" >&5
78888 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
78889 if eval "test \"\${$as_ac_var+set}\" = set"; then
78890 echo $ECHO_N "(cached) $ECHO_C" >&6
78891 else
78892 if test x$gcc_no_link = xyes; then
78893 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78894 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78895 { (exit 1); exit 1; }; }
78896 fi
78897 cat >conftest.$ac_ext <<_ACEOF
78898 /* confdefs.h. */
78899 _ACEOF
78900 cat confdefs.h >>conftest.$ac_ext
78901 cat >>conftest.$ac_ext <<_ACEOF
78902 /* end confdefs.h. */
78903 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
78904 For example, HP-UX 11i <limits.h> declares gettimeofday. */
78905 #define $ac_func innocuous_$ac_func
78906
78907 /* System header to define __stub macros and hopefully few prototypes,
78908 which can conflict with char $ac_func (); below.
78909 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
78910 <limits.h> exists even on freestanding compilers. */
78911
78912 #ifdef __STDC__
78913 # include <limits.h>
78914 #else
78915 # include <assert.h>
78916 #endif
78917
78918 #undef $ac_func
78919
78920 /* Override any gcc2 internal prototype to avoid an error. */
78921 #ifdef __cplusplus
78922 extern "C"
78923 {
78924 #endif
78925 /* We use char because int might match the return type of a gcc2
78926 builtin and then its argument prototype would still apply. */
78927 char $ac_func ();
78928 /* The GNU C library defines this for functions which it implements
78929 to always fail with ENOSYS. Some functions are actually named
78930 something starting with __ and the normal name is an alias. */
78931 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
78932 choke me
78933 #else
78934 char (*f) () = $ac_func;
78935 #endif
78936 #ifdef __cplusplus
78937 }
78938 #endif
78939
78940 int
78941 main ()
78942 {
78943 return f != $ac_func;
78944 ;
78945 return 0;
78946 }
78947 _ACEOF
78948 rm -f conftest.$ac_objext conftest$ac_exeext
78949 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78950 (eval $ac_link) 2>conftest.er1
78951 ac_status=$?
78952 grep -v '^ *+' conftest.er1 >conftest.err
78953 rm -f conftest.er1
78954 cat conftest.err >&5
78955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78956 (exit $ac_status); } &&
78957 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
78958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78959 (eval $ac_try) 2>&5
78960 ac_status=$?
78961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78962 (exit $ac_status); }; } &&
78963 { ac_try='test -s conftest$ac_exeext'
78964 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78965 (eval $ac_try) 2>&5
78966 ac_status=$?
78967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78968 (exit $ac_status); }; }; then
78969 eval "$as_ac_var=yes"
78970 else
78971 echo "$as_me: failed program was:" >&5
78972 sed 's/^/| /' conftest.$ac_ext >&5
78973
78974 eval "$as_ac_var=no"
78975 fi
78976 rm -f conftest.err conftest.$ac_objext \
78977 conftest$ac_exeext conftest.$ac_ext
78978 fi
78979 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
78980 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
78981 if test `eval echo '${'$as_ac_var'}'` = yes; then
78982 cat >>confdefs.h <<_ACEOF
78983 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
78984 _ACEOF
78985
78986 fi
78987 done
78988
78989 else
78990
78991 echo "$as_me:$LINENO: checking for _finite declaration" >&5
78992 echo $ECHO_N "checking for _finite declaration... $ECHO_C" >&6
78993 if test x${glibcxx_cv_func__finite_use+set} != xset; then
78994 if test "${glibcxx_cv_func__finite_use+set}" = set; then
78995 echo $ECHO_N "(cached) $ECHO_C" >&6
78996 else
78997
78998
78999
79000 ac_ext=cc
79001 ac_cpp='$CXXCPP $CPPFLAGS'
79002 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79003 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79004 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
79005
79006 cat >conftest.$ac_ext <<_ACEOF
79007 /* confdefs.h. */
79008 _ACEOF
79009 cat confdefs.h >>conftest.$ac_ext
79010 cat >>conftest.$ac_ext <<_ACEOF
79011 /* end confdefs.h. */
79012 #include <math.h>
79013 #ifdef HAVE_IEEEFP_H
79014 #include <ieeefp.h>
79015 #endif
79016
79017 int
79018 main ()
79019 {
79020 _finite(0);
79021 ;
79022 return 0;
79023 }
79024 _ACEOF
79025 rm -f conftest.$ac_objext
79026 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
79027 (eval $ac_compile) 2>conftest.er1
79028 ac_status=$?
79029 grep -v '^ *+' conftest.er1 >conftest.err
79030 rm -f conftest.er1
79031 cat conftest.err >&5
79032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79033 (exit $ac_status); } &&
79034 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
79035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79036 (eval $ac_try) 2>&5
79037 ac_status=$?
79038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79039 (exit $ac_status); }; } &&
79040 { ac_try='test -s conftest.$ac_objext'
79041 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79042 (eval $ac_try) 2>&5
79043 ac_status=$?
79044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79045 (exit $ac_status); }; }; then
79046 glibcxx_cv_func__finite_use=yes
79047 else
79048 echo "$as_me: failed program was:" >&5
79049 sed 's/^/| /' conftest.$ac_ext >&5
79050
79051 glibcxx_cv_func__finite_use=no
79052 fi
79053 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
79054 ac_ext=c
79055 ac_cpp='$CPP $CPPFLAGS'
79056 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79057 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79058 ac_compiler_gnu=$ac_cv_c_compiler_gnu
79059
79060
79061 fi
79062
79063 fi
79064 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finite_use" >&5
79065 echo "${ECHO_T}$glibcxx_cv_func__finite_use" >&6
79066
79067 if test x$glibcxx_cv_func__finite_use = x"yes"; then
79068
79069 for ac_func in _finite
79070 do
79071 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79072 echo "$as_me:$LINENO: checking for $ac_func" >&5
79073 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79074 if eval "test \"\${$as_ac_var+set}\" = set"; then
79075 echo $ECHO_N "(cached) $ECHO_C" >&6
79076 else
79077 if test x$gcc_no_link = xyes; then
79078 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79079 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79080 { (exit 1); exit 1; }; }
79081 fi
79082 cat >conftest.$ac_ext <<_ACEOF
79083 /* confdefs.h. */
79084 _ACEOF
79085 cat confdefs.h >>conftest.$ac_ext
79086 cat >>conftest.$ac_ext <<_ACEOF
79087 /* end confdefs.h. */
79088 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79089 For example, HP-UX 11i <limits.h> declares gettimeofday. */
79090 #define $ac_func innocuous_$ac_func
79091
79092 /* System header to define __stub macros and hopefully few prototypes,
79093 which can conflict with char $ac_func (); below.
79094 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79095 <limits.h> exists even on freestanding compilers. */
79096
79097 #ifdef __STDC__
79098 # include <limits.h>
79099 #else
79100 # include <assert.h>
79101 #endif
79102
79103 #undef $ac_func
79104
79105 /* Override any gcc2 internal prototype to avoid an error. */
79106 #ifdef __cplusplus
79107 extern "C"
79108 {
79109 #endif
79110 /* We use char because int might match the return type of a gcc2
79111 builtin and then its argument prototype would still apply. */
79112 char $ac_func ();
79113 /* The GNU C library defines this for functions which it implements
79114 to always fail with ENOSYS. Some functions are actually named
79115 something starting with __ and the normal name is an alias. */
79116 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79117 choke me
79118 #else
79119 char (*f) () = $ac_func;
79120 #endif
79121 #ifdef __cplusplus
79122 }
79123 #endif
79124
79125 int
79126 main ()
79127 {
79128 return f != $ac_func;
79129 ;
79130 return 0;
79131 }
79132 _ACEOF
79133 rm -f conftest.$ac_objext conftest$ac_exeext
79134 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79135 (eval $ac_link) 2>conftest.er1
79136 ac_status=$?
79137 grep -v '^ *+' conftest.er1 >conftest.err
79138 rm -f conftest.er1
79139 cat conftest.err >&5
79140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79141 (exit $ac_status); } &&
79142 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
79143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79144 (eval $ac_try) 2>&5
79145 ac_status=$?
79146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79147 (exit $ac_status); }; } &&
79148 { ac_try='test -s conftest$ac_exeext'
79149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79150 (eval $ac_try) 2>&5
79151 ac_status=$?
79152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79153 (exit $ac_status); }; }; then
79154 eval "$as_ac_var=yes"
79155 else
79156 echo "$as_me: failed program was:" >&5
79157 sed 's/^/| /' conftest.$ac_ext >&5
79158
79159 eval "$as_ac_var=no"
79160 fi
79161 rm -f conftest.err conftest.$ac_objext \
79162 conftest$ac_exeext conftest.$ac_ext
79163 fi
79164 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79165 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79166 if test `eval echo '${'$as_ac_var'}'` = yes; then
79167 cat >>confdefs.h <<_ACEOF
79168 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79169 _ACEOF
79170
79171 fi
79172 done
79173
79174 fi
79175 fi
79176
79177
79178
79179
79180
79181
79182 echo "$as_me:$LINENO: checking for copysign declaration" >&5
79183 echo $ECHO_N "checking for copysign declaration... $ECHO_C" >&6
79184 if test x${glibcxx_cv_func_copysign_use+set} != xset; then
79185 if test "${glibcxx_cv_func_copysign_use+set}" = set; then
79186 echo $ECHO_N "(cached) $ECHO_C" >&6
79187 else
79188
79189
79190
79191 ac_ext=cc
79192 ac_cpp='$CXXCPP $CPPFLAGS'
79193 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79194 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79195 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
79196
79197 cat >conftest.$ac_ext <<_ACEOF
79198 /* confdefs.h. */
79199 _ACEOF
79200 cat confdefs.h >>conftest.$ac_ext
79201 cat >>conftest.$ac_ext <<_ACEOF
79202 /* end confdefs.h. */
79203 #include <math.h>
79204 int
79205 main ()
79206 {
79207 copysign(0, 0);
79208 ;
79209 return 0;
79210 }
79211 _ACEOF
79212 rm -f conftest.$ac_objext
79213 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
79214 (eval $ac_compile) 2>conftest.er1
79215 ac_status=$?
79216 grep -v '^ *+' conftest.er1 >conftest.err
79217 rm -f conftest.er1
79218 cat conftest.err >&5
79219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79220 (exit $ac_status); } &&
79221 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
79222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79223 (eval $ac_try) 2>&5
79224 ac_status=$?
79225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79226 (exit $ac_status); }; } &&
79227 { ac_try='test -s conftest.$ac_objext'
79228 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79229 (eval $ac_try) 2>&5
79230 ac_status=$?
79231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79232 (exit $ac_status); }; }; then
79233 glibcxx_cv_func_copysign_use=yes
79234 else
79235 echo "$as_me: failed program was:" >&5
79236 sed 's/^/| /' conftest.$ac_ext >&5
79237
79238 glibcxx_cv_func_copysign_use=no
79239 fi
79240 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
79241 ac_ext=c
79242 ac_cpp='$CPP $CPPFLAGS'
79243 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79244 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79245 ac_compiler_gnu=$ac_cv_c_compiler_gnu
79246
79247
79248 fi
79249
79250 fi
79251 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysign_use" >&5
79252 echo "${ECHO_T}$glibcxx_cv_func_copysign_use" >&6
79253
79254 if test x$glibcxx_cv_func_copysign_use = x"yes"; then
79255
79256 for ac_func in copysign
79257 do
79258 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79259 echo "$as_me:$LINENO: checking for $ac_func" >&5
79260 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79261 if eval "test \"\${$as_ac_var+set}\" = set"; then
79262 echo $ECHO_N "(cached) $ECHO_C" >&6
79263 else
79264 if test x$gcc_no_link = xyes; then
79265 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79266 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79267 { (exit 1); exit 1; }; }
79268 fi
79269 cat >conftest.$ac_ext <<_ACEOF
79270 /* confdefs.h. */
79271 _ACEOF
79272 cat confdefs.h >>conftest.$ac_ext
79273 cat >>conftest.$ac_ext <<_ACEOF
79274 /* end confdefs.h. */
79275 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79276 For example, HP-UX 11i <limits.h> declares gettimeofday. */
79277 #define $ac_func innocuous_$ac_func
79278
79279 /* System header to define __stub macros and hopefully few prototypes,
79280 which can conflict with char $ac_func (); below.
79281 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79282 <limits.h> exists even on freestanding compilers. */
79283
79284 #ifdef __STDC__
79285 # include <limits.h>
79286 #else
79287 # include <assert.h>
79288 #endif
79289
79290 #undef $ac_func
79291
79292 /* Override any gcc2 internal prototype to avoid an error. */
79293 #ifdef __cplusplus
79294 extern "C"
79295 {
79296 #endif
79297 /* We use char because int might match the return type of a gcc2
79298 builtin and then its argument prototype would still apply. */
79299 char $ac_func ();
79300 /* The GNU C library defines this for functions which it implements
79301 to always fail with ENOSYS. Some functions are actually named
79302 something starting with __ and the normal name is an alias. */
79303 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79304 choke me
79305 #else
79306 char (*f) () = $ac_func;
79307 #endif
79308 #ifdef __cplusplus
79309 }
79310 #endif
79311
79312 int
79313 main ()
79314 {
79315 return f != $ac_func;
79316 ;
79317 return 0;
79318 }
79319 _ACEOF
79320 rm -f conftest.$ac_objext conftest$ac_exeext
79321 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79322 (eval $ac_link) 2>conftest.er1
79323 ac_status=$?
79324 grep -v '^ *+' conftest.er1 >conftest.err
79325 rm -f conftest.er1
79326 cat conftest.err >&5
79327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79328 (exit $ac_status); } &&
79329 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
79330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79331 (eval $ac_try) 2>&5
79332 ac_status=$?
79333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79334 (exit $ac_status); }; } &&
79335 { ac_try='test -s conftest$ac_exeext'
79336 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79337 (eval $ac_try) 2>&5
79338 ac_status=$?
79339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79340 (exit $ac_status); }; }; then
79341 eval "$as_ac_var=yes"
79342 else
79343 echo "$as_me: failed program was:" >&5
79344 sed 's/^/| /' conftest.$ac_ext >&5
79345
79346 eval "$as_ac_var=no"
79347 fi
79348 rm -f conftest.err conftest.$ac_objext \
79349 conftest$ac_exeext conftest.$ac_ext
79350 fi
79351 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79352 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79353 if test `eval echo '${'$as_ac_var'}'` = yes; then
79354 cat >>confdefs.h <<_ACEOF
79355 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79356 _ACEOF
79357
79358 fi
79359 done
79360
79361 else
79362
79363 echo "$as_me:$LINENO: checking for _copysign declaration" >&5
79364 echo $ECHO_N "checking for _copysign declaration... $ECHO_C" >&6
79365 if test x${glibcxx_cv_func__copysign_use+set} != xset; then
79366 if test "${glibcxx_cv_func__copysign_use+set}" = set; then
79367 echo $ECHO_N "(cached) $ECHO_C" >&6
79368 else
79369
79370
79371
79372 ac_ext=cc
79373 ac_cpp='$CXXCPP $CPPFLAGS'
79374 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79375 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79376 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
79377
79378 cat >conftest.$ac_ext <<_ACEOF
79379 /* confdefs.h. */
79380 _ACEOF
79381 cat confdefs.h >>conftest.$ac_ext
79382 cat >>conftest.$ac_ext <<_ACEOF
79383 /* end confdefs.h. */
79384 #include <math.h>
79385 int
79386 main ()
79387 {
79388 _copysign(0, 0);
79389 ;
79390 return 0;
79391 }
79392 _ACEOF
79393 rm -f conftest.$ac_objext
79394 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
79395 (eval $ac_compile) 2>conftest.er1
79396 ac_status=$?
79397 grep -v '^ *+' conftest.er1 >conftest.err
79398 rm -f conftest.er1
79399 cat conftest.err >&5
79400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79401 (exit $ac_status); } &&
79402 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
79403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79404 (eval $ac_try) 2>&5
79405 ac_status=$?
79406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79407 (exit $ac_status); }; } &&
79408 { ac_try='test -s conftest.$ac_objext'
79409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79410 (eval $ac_try) 2>&5
79411 ac_status=$?
79412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79413 (exit $ac_status); }; }; then
79414 glibcxx_cv_func__copysign_use=yes
79415 else
79416 echo "$as_me: failed program was:" >&5
79417 sed 's/^/| /' conftest.$ac_ext >&5
79418
79419 glibcxx_cv_func__copysign_use=no
79420 fi
79421 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
79422 ac_ext=c
79423 ac_cpp='$CPP $CPPFLAGS'
79424 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79425 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79426 ac_compiler_gnu=$ac_cv_c_compiler_gnu
79427
79428
79429 fi
79430
79431 fi
79432 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysign_use" >&5
79433 echo "${ECHO_T}$glibcxx_cv_func__copysign_use" >&6
79434
79435 if test x$glibcxx_cv_func__copysign_use = x"yes"; then
79436
79437 for ac_func in _copysign
79438 do
79439 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79440 echo "$as_me:$LINENO: checking for $ac_func" >&5
79441 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79442 if eval "test \"\${$as_ac_var+set}\" = set"; then
79443 echo $ECHO_N "(cached) $ECHO_C" >&6
79444 else
79445 if test x$gcc_no_link = xyes; then
79446 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79447 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79448 { (exit 1); exit 1; }; }
79449 fi
79450 cat >conftest.$ac_ext <<_ACEOF
79451 /* confdefs.h. */
79452 _ACEOF
79453 cat confdefs.h >>conftest.$ac_ext
79454 cat >>conftest.$ac_ext <<_ACEOF
79455 /* end confdefs.h. */
79456 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79457 For example, HP-UX 11i <limits.h> declares gettimeofday. */
79458 #define $ac_func innocuous_$ac_func
79459
79460 /* System header to define __stub macros and hopefully few prototypes,
79461 which can conflict with char $ac_func (); below.
79462 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79463 <limits.h> exists even on freestanding compilers. */
79464
79465 #ifdef __STDC__
79466 # include <limits.h>
79467 #else
79468 # include <assert.h>
79469 #endif
79470
79471 #undef $ac_func
79472
79473 /* Override any gcc2 internal prototype to avoid an error. */
79474 #ifdef __cplusplus
79475 extern "C"
79476 {
79477 #endif
79478 /* We use char because int might match the return type of a gcc2
79479 builtin and then its argument prototype would still apply. */
79480 char $ac_func ();
79481 /* The GNU C library defines this for functions which it implements
79482 to always fail with ENOSYS. Some functions are actually named
79483 something starting with __ and the normal name is an alias. */
79484 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79485 choke me
79486 #else
79487 char (*f) () = $ac_func;
79488 #endif
79489 #ifdef __cplusplus
79490 }
79491 #endif
79492
79493 int
79494 main ()
79495 {
79496 return f != $ac_func;
79497 ;
79498 return 0;
79499 }
79500 _ACEOF
79501 rm -f conftest.$ac_objext conftest$ac_exeext
79502 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79503 (eval $ac_link) 2>conftest.er1
79504 ac_status=$?
79505 grep -v '^ *+' conftest.er1 >conftest.err
79506 rm -f conftest.er1
79507 cat conftest.err >&5
79508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79509 (exit $ac_status); } &&
79510 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
79511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79512 (eval $ac_try) 2>&5
79513 ac_status=$?
79514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79515 (exit $ac_status); }; } &&
79516 { ac_try='test -s conftest$ac_exeext'
79517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79518 (eval $ac_try) 2>&5
79519 ac_status=$?
79520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79521 (exit $ac_status); }; }; then
79522 eval "$as_ac_var=yes"
79523 else
79524 echo "$as_me: failed program was:" >&5
79525 sed 's/^/| /' conftest.$ac_ext >&5
79526
79527 eval "$as_ac_var=no"
79528 fi
79529 rm -f conftest.err conftest.$ac_objext \
79530 conftest$ac_exeext conftest.$ac_ext
79531 fi
79532 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79533 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79534 if test `eval echo '${'$as_ac_var'}'` = yes; then
79535 cat >>confdefs.h <<_ACEOF
79536 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79537 _ACEOF
79538
79539 fi
79540 done
79541
79542 fi
79543 fi
79544
79545
79546
79547
79548
79549
79550 echo "$as_me:$LINENO: checking for sincos declaration" >&5
79551 echo $ECHO_N "checking for sincos declaration... $ECHO_C" >&6
79552 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
79553 if test "${glibcxx_cv_func_sincos_use+set}" = set; then
79554 echo $ECHO_N "(cached) $ECHO_C" >&6
79555 else
79556
79557
79558
79559 ac_ext=cc
79560 ac_cpp='$CXXCPP $CPPFLAGS'
79561 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79562 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79563 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
79564
79565 cat >conftest.$ac_ext <<_ACEOF
79566 /* confdefs.h. */
79567 _ACEOF
79568 cat confdefs.h >>conftest.$ac_ext
79569 cat >>conftest.$ac_ext <<_ACEOF
79570 /* end confdefs.h. */
79571 #include <math.h>
79572 int
79573 main ()
79574 {
79575 sincos(0, 0, 0);
79576 ;
79577 return 0;
79578 }
79579 _ACEOF
79580 rm -f conftest.$ac_objext
79581 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
79582 (eval $ac_compile) 2>conftest.er1
79583 ac_status=$?
79584 grep -v '^ *+' conftest.er1 >conftest.err
79585 rm -f conftest.er1
79586 cat conftest.err >&5
79587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79588 (exit $ac_status); } &&
79589 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
79590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79591 (eval $ac_try) 2>&5
79592 ac_status=$?
79593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79594 (exit $ac_status); }; } &&
79595 { ac_try='test -s conftest.$ac_objext'
79596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79597 (eval $ac_try) 2>&5
79598 ac_status=$?
79599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79600 (exit $ac_status); }; }; then
79601 glibcxx_cv_func_sincos_use=yes
79602 else
79603 echo "$as_me: failed program was:" >&5
79604 sed 's/^/| /' conftest.$ac_ext >&5
79605
79606 glibcxx_cv_func_sincos_use=no
79607 fi
79608 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
79609 ac_ext=c
79610 ac_cpp='$CPP $CPPFLAGS'
79611 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79612 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79613 ac_compiler_gnu=$ac_cv_c_compiler_gnu
79614
79615
79616 fi
79617
79618 fi
79619 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincos_use" >&5
79620 echo "${ECHO_T}$glibcxx_cv_func_sincos_use" >&6
79621
79622 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
79623
79624 for ac_func in sincos
79625 do
79626 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79627 echo "$as_me:$LINENO: checking for $ac_func" >&5
79628 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79629 if eval "test \"\${$as_ac_var+set}\" = set"; then
79630 echo $ECHO_N "(cached) $ECHO_C" >&6
79631 else
79632 if test x$gcc_no_link = xyes; then
79633 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79634 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79635 { (exit 1); exit 1; }; }
79636 fi
79637 cat >conftest.$ac_ext <<_ACEOF
79638 /* confdefs.h. */
79639 _ACEOF
79640 cat confdefs.h >>conftest.$ac_ext
79641 cat >>conftest.$ac_ext <<_ACEOF
79642 /* end confdefs.h. */
79643 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79644 For example, HP-UX 11i <limits.h> declares gettimeofday. */
79645 #define $ac_func innocuous_$ac_func
79646
79647 /* System header to define __stub macros and hopefully few prototypes,
79648 which can conflict with char $ac_func (); below.
79649 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79650 <limits.h> exists even on freestanding compilers. */
79651
79652 #ifdef __STDC__
79653 # include <limits.h>
79654 #else
79655 # include <assert.h>
79656 #endif
79657
79658 #undef $ac_func
79659
79660 /* Override any gcc2 internal prototype to avoid an error. */
79661 #ifdef __cplusplus
79662 extern "C"
79663 {
79664 #endif
79665 /* We use char because int might match the return type of a gcc2
79666 builtin and then its argument prototype would still apply. */
79667 char $ac_func ();
79668 /* The GNU C library defines this for functions which it implements
79669 to always fail with ENOSYS. Some functions are actually named
79670 something starting with __ and the normal name is an alias. */
79671 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79672 choke me
79673 #else
79674 char (*f) () = $ac_func;
79675 #endif
79676 #ifdef __cplusplus
79677 }
79678 #endif
79679
79680 int
79681 main ()
79682 {
79683 return f != $ac_func;
79684 ;
79685 return 0;
79686 }
79687 _ACEOF
79688 rm -f conftest.$ac_objext conftest$ac_exeext
79689 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79690 (eval $ac_link) 2>conftest.er1
79691 ac_status=$?
79692 grep -v '^ *+' conftest.er1 >conftest.err
79693 rm -f conftest.er1
79694 cat conftest.err >&5
79695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79696 (exit $ac_status); } &&
79697 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
79698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79699 (eval $ac_try) 2>&5
79700 ac_status=$?
79701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79702 (exit $ac_status); }; } &&
79703 { ac_try='test -s conftest$ac_exeext'
79704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79705 (eval $ac_try) 2>&5
79706 ac_status=$?
79707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79708 (exit $ac_status); }; }; then
79709 eval "$as_ac_var=yes"
79710 else
79711 echo "$as_me: failed program was:" >&5
79712 sed 's/^/| /' conftest.$ac_ext >&5
79713
79714 eval "$as_ac_var=no"
79715 fi
79716 rm -f conftest.err conftest.$ac_objext \
79717 conftest$ac_exeext conftest.$ac_ext
79718 fi
79719 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79720 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79721 if test `eval echo '${'$as_ac_var'}'` = yes; then
79722 cat >>confdefs.h <<_ACEOF
79723 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79724 _ACEOF
79725
79726 fi
79727 done
79728
79729 else
79730
79731 echo "$as_me:$LINENO: checking for _sincos declaration" >&5
79732 echo $ECHO_N "checking for _sincos declaration... $ECHO_C" >&6
79733 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
79734 if test "${glibcxx_cv_func__sincos_use+set}" = set; then
79735 echo $ECHO_N "(cached) $ECHO_C" >&6
79736 else
79737
79738
79739
79740 ac_ext=cc
79741 ac_cpp='$CXXCPP $CPPFLAGS'
79742 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79743 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79744 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
79745
79746 cat >conftest.$ac_ext <<_ACEOF
79747 /* confdefs.h. */
79748 _ACEOF
79749 cat confdefs.h >>conftest.$ac_ext
79750 cat >>conftest.$ac_ext <<_ACEOF
79751 /* end confdefs.h. */
79752 #include <math.h>
79753 int
79754 main ()
79755 {
79756 _sincos(0, 0, 0);
79757 ;
79758 return 0;
79759 }
79760 _ACEOF
79761 rm -f conftest.$ac_objext
79762 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
79763 (eval $ac_compile) 2>conftest.er1
79764 ac_status=$?
79765 grep -v '^ *+' conftest.er1 >conftest.err
79766 rm -f conftest.er1
79767 cat conftest.err >&5
79768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79769 (exit $ac_status); } &&
79770 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
79771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79772 (eval $ac_try) 2>&5
79773 ac_status=$?
79774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79775 (exit $ac_status); }; } &&
79776 { ac_try='test -s conftest.$ac_objext'
79777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79778 (eval $ac_try) 2>&5
79779 ac_status=$?
79780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79781 (exit $ac_status); }; }; then
79782 glibcxx_cv_func__sincos_use=yes
79783 else
79784 echo "$as_me: failed program was:" >&5
79785 sed 's/^/| /' conftest.$ac_ext >&5
79786
79787 glibcxx_cv_func__sincos_use=no
79788 fi
79789 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
79790 ac_ext=c
79791 ac_cpp='$CPP $CPPFLAGS'
79792 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79793 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79794 ac_compiler_gnu=$ac_cv_c_compiler_gnu
79795
79796
79797 fi
79798
79799 fi
79800 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincos_use" >&5
79801 echo "${ECHO_T}$glibcxx_cv_func__sincos_use" >&6
79802
79803 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
79804
79805 for ac_func in _sincos
79806 do
79807 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79808 echo "$as_me:$LINENO: checking for $ac_func" >&5
79809 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79810 if eval "test \"\${$as_ac_var+set}\" = set"; then
79811 echo $ECHO_N "(cached) $ECHO_C" >&6
79812 else
79813 if test x$gcc_no_link = xyes; then
79814 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79815 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79816 { (exit 1); exit 1; }; }
79817 fi
79818 cat >conftest.$ac_ext <<_ACEOF
79819 /* confdefs.h. */
79820 _ACEOF
79821 cat confdefs.h >>conftest.$ac_ext
79822 cat >>conftest.$ac_ext <<_ACEOF
79823 /* end confdefs.h. */
79824 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79825 For example, HP-UX 11i <limits.h> declares gettimeofday. */
79826 #define $ac_func innocuous_$ac_func
79827
79828 /* System header to define __stub macros and hopefully few prototypes,
79829 which can conflict with char $ac_func (); below.
79830 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79831 <limits.h> exists even on freestanding compilers. */
79832
79833 #ifdef __STDC__
79834 # include <limits.h>
79835 #else
79836 # include <assert.h>
79837 #endif
79838
79839 #undef $ac_func
79840
79841 /* Override any gcc2 internal prototype to avoid an error. */
79842 #ifdef __cplusplus
79843 extern "C"
79844 {
79845 #endif
79846 /* We use char because int might match the return type of a gcc2
79847 builtin and then its argument prototype would still apply. */
79848 char $ac_func ();
79849 /* The GNU C library defines this for functions which it implements
79850 to always fail with ENOSYS. Some functions are actually named
79851 something starting with __ and the normal name is an alias. */
79852 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79853 choke me
79854 #else
79855 char (*f) () = $ac_func;
79856 #endif
79857 #ifdef __cplusplus
79858 }
79859 #endif
79860
79861 int
79862 main ()
79863 {
79864 return f != $ac_func;
79865 ;
79866 return 0;
79867 }
79868 _ACEOF
79869 rm -f conftest.$ac_objext conftest$ac_exeext
79870 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79871 (eval $ac_link) 2>conftest.er1
79872 ac_status=$?
79873 grep -v '^ *+' conftest.er1 >conftest.err
79874 rm -f conftest.er1
79875 cat conftest.err >&5
79876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79877 (exit $ac_status); } &&
79878 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
79879 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79880 (eval $ac_try) 2>&5
79881 ac_status=$?
79882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79883 (exit $ac_status); }; } &&
79884 { ac_try='test -s conftest$ac_exeext'
79885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79886 (eval $ac_try) 2>&5
79887 ac_status=$?
79888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79889 (exit $ac_status); }; }; then
79890 eval "$as_ac_var=yes"
79891 else
79892 echo "$as_me: failed program was:" >&5
79893 sed 's/^/| /' conftest.$ac_ext >&5
79894
79895 eval "$as_ac_var=no"
79896 fi
79897 rm -f conftest.err conftest.$ac_objext \
79898 conftest$ac_exeext conftest.$ac_ext
79899 fi
79900 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79901 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79902 if test `eval echo '${'$as_ac_var'}'` = yes; then
79903 cat >>confdefs.h <<_ACEOF
79904 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79905 _ACEOF
79906
79907 fi
79908 done
79909
79910 fi
79911 fi
79912
79913
79914
79915
79916
79917
79918 echo "$as_me:$LINENO: checking for fpclass declaration" >&5
79919 echo $ECHO_N "checking for fpclass declaration... $ECHO_C" >&6
79920 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
79921 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then
79922 echo $ECHO_N "(cached) $ECHO_C" >&6
79923 else
79924
79925
79926
79927 ac_ext=cc
79928 ac_cpp='$CXXCPP $CPPFLAGS'
79929 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79930 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79931 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
79932
79933 cat >conftest.$ac_ext <<_ACEOF
79934 /* confdefs.h. */
79935 _ACEOF
79936 cat confdefs.h >>conftest.$ac_ext
79937 cat >>conftest.$ac_ext <<_ACEOF
79938 /* end confdefs.h. */
79939 #include <math.h>
79940 #ifdef HAVE_IEEEFP_H
79941 #include <ieeefp.h>
79942 #endif
79943
79944 int
79945 main ()
79946 {
79947 fpclass(0);
79948 ;
79949 return 0;
79950 }
79951 _ACEOF
79952 rm -f conftest.$ac_objext
79953 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
79954 (eval $ac_compile) 2>conftest.er1
79955 ac_status=$?
79956 grep -v '^ *+' conftest.er1 >conftest.err
79957 rm -f conftest.er1
79958 cat conftest.err >&5
79959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79960 (exit $ac_status); } &&
79961 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
79962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79963 (eval $ac_try) 2>&5
79964 ac_status=$?
79965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79966 (exit $ac_status); }; } &&
79967 { ac_try='test -s conftest.$ac_objext'
79968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79969 (eval $ac_try) 2>&5
79970 ac_status=$?
79971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79972 (exit $ac_status); }; }; then
79973 glibcxx_cv_func_fpclass_use=yes
79974 else
79975 echo "$as_me: failed program was:" >&5
79976 sed 's/^/| /' conftest.$ac_ext >&5
79977
79978 glibcxx_cv_func_fpclass_use=no
79979 fi
79980 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
79981 ac_ext=c
79982 ac_cpp='$CPP $CPPFLAGS'
79983 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79984 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79985 ac_compiler_gnu=$ac_cv_c_compiler_gnu
79986
79987
79988 fi
79989
79990 fi
79991 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fpclass_use" >&5
79992 echo "${ECHO_T}$glibcxx_cv_func_fpclass_use" >&6
79993
79994 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
79995
79996 for ac_func in fpclass
79997 do
79998 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79999 echo "$as_me:$LINENO: checking for $ac_func" >&5
80000 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80001 if eval "test \"\${$as_ac_var+set}\" = set"; then
80002 echo $ECHO_N "(cached) $ECHO_C" >&6
80003 else
80004 if test x$gcc_no_link = xyes; then
80005 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80006 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80007 { (exit 1); exit 1; }; }
80008 fi
80009 cat >conftest.$ac_ext <<_ACEOF
80010 /* confdefs.h. */
80011 _ACEOF
80012 cat confdefs.h >>conftest.$ac_ext
80013 cat >>conftest.$ac_ext <<_ACEOF
80014 /* end confdefs.h. */
80015 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80016 For example, HP-UX 11i <limits.h> declares gettimeofday. */
80017 #define $ac_func innocuous_$ac_func
80018
80019 /* System header to define __stub macros and hopefully few prototypes,
80020 which can conflict with char $ac_func (); below.
80021 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80022 <limits.h> exists even on freestanding compilers. */
80023
80024 #ifdef __STDC__
80025 # include <limits.h>
80026 #else
80027 # include <assert.h>
80028 #endif
80029
80030 #undef $ac_func
80031
80032 /* Override any gcc2 internal prototype to avoid an error. */
80033 #ifdef __cplusplus
80034 extern "C"
80035 {
80036 #endif
80037 /* We use char because int might match the return type of a gcc2
80038 builtin and then its argument prototype would still apply. */
80039 char $ac_func ();
80040 /* The GNU C library defines this for functions which it implements
80041 to always fail with ENOSYS. Some functions are actually named
80042 something starting with __ and the normal name is an alias. */
80043 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80044 choke me
80045 #else
80046 char (*f) () = $ac_func;
80047 #endif
80048 #ifdef __cplusplus
80049 }
80050 #endif
80051
80052 int
80053 main ()
80054 {
80055 return f != $ac_func;
80056 ;
80057 return 0;
80058 }
80059 _ACEOF
80060 rm -f conftest.$ac_objext conftest$ac_exeext
80061 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80062 (eval $ac_link) 2>conftest.er1
80063 ac_status=$?
80064 grep -v '^ *+' conftest.er1 >conftest.err
80065 rm -f conftest.er1
80066 cat conftest.err >&5
80067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80068 (exit $ac_status); } &&
80069 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
80070 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80071 (eval $ac_try) 2>&5
80072 ac_status=$?
80073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80074 (exit $ac_status); }; } &&
80075 { ac_try='test -s conftest$ac_exeext'
80076 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80077 (eval $ac_try) 2>&5
80078 ac_status=$?
80079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80080 (exit $ac_status); }; }; then
80081 eval "$as_ac_var=yes"
80082 else
80083 echo "$as_me: failed program was:" >&5
80084 sed 's/^/| /' conftest.$ac_ext >&5
80085
80086 eval "$as_ac_var=no"
80087 fi
80088 rm -f conftest.err conftest.$ac_objext \
80089 conftest$ac_exeext conftest.$ac_ext
80090 fi
80091 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80092 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80093 if test `eval echo '${'$as_ac_var'}'` = yes; then
80094 cat >>confdefs.h <<_ACEOF
80095 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80096 _ACEOF
80097
80098 fi
80099 done
80100
80101 else
80102
80103 echo "$as_me:$LINENO: checking for _fpclass declaration" >&5
80104 echo $ECHO_N "checking for _fpclass declaration... $ECHO_C" >&6
80105 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
80106 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then
80107 echo $ECHO_N "(cached) $ECHO_C" >&6
80108 else
80109
80110
80111
80112 ac_ext=cc
80113 ac_cpp='$CXXCPP $CPPFLAGS'
80114 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80115 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80116 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
80117
80118 cat >conftest.$ac_ext <<_ACEOF
80119 /* confdefs.h. */
80120 _ACEOF
80121 cat confdefs.h >>conftest.$ac_ext
80122 cat >>conftest.$ac_ext <<_ACEOF
80123 /* end confdefs.h. */
80124 #include <math.h>
80125 #ifdef HAVE_IEEEFP_H
80126 #include <ieeefp.h>
80127 #endif
80128
80129 int
80130 main ()
80131 {
80132 _fpclass(0);
80133 ;
80134 return 0;
80135 }
80136 _ACEOF
80137 rm -f conftest.$ac_objext
80138 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
80139 (eval $ac_compile) 2>conftest.er1
80140 ac_status=$?
80141 grep -v '^ *+' conftest.er1 >conftest.err
80142 rm -f conftest.er1
80143 cat conftest.err >&5
80144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80145 (exit $ac_status); } &&
80146 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
80147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80148 (eval $ac_try) 2>&5
80149 ac_status=$?
80150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80151 (exit $ac_status); }; } &&
80152 { ac_try='test -s conftest.$ac_objext'
80153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80154 (eval $ac_try) 2>&5
80155 ac_status=$?
80156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80157 (exit $ac_status); }; }; then
80158 glibcxx_cv_func__fpclass_use=yes
80159 else
80160 echo "$as_me: failed program was:" >&5
80161 sed 's/^/| /' conftest.$ac_ext >&5
80162
80163 glibcxx_cv_func__fpclass_use=no
80164 fi
80165 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
80166 ac_ext=c
80167 ac_cpp='$CPP $CPPFLAGS'
80168 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80169 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80170 ac_compiler_gnu=$ac_cv_c_compiler_gnu
80171
80172
80173 fi
80174
80175 fi
80176 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fpclass_use" >&5
80177 echo "${ECHO_T}$glibcxx_cv_func__fpclass_use" >&6
80178
80179 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
80180
80181 for ac_func in _fpclass
80182 do
80183 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80184 echo "$as_me:$LINENO: checking for $ac_func" >&5
80185 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80186 if eval "test \"\${$as_ac_var+set}\" = set"; then
80187 echo $ECHO_N "(cached) $ECHO_C" >&6
80188 else
80189 if test x$gcc_no_link = xyes; then
80190 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80191 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80192 { (exit 1); exit 1; }; }
80193 fi
80194 cat >conftest.$ac_ext <<_ACEOF
80195 /* confdefs.h. */
80196 _ACEOF
80197 cat confdefs.h >>conftest.$ac_ext
80198 cat >>conftest.$ac_ext <<_ACEOF
80199 /* end confdefs.h. */
80200 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80201 For example, HP-UX 11i <limits.h> declares gettimeofday. */
80202 #define $ac_func innocuous_$ac_func
80203
80204 /* System header to define __stub macros and hopefully few prototypes,
80205 which can conflict with char $ac_func (); below.
80206 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80207 <limits.h> exists even on freestanding compilers. */
80208
80209 #ifdef __STDC__
80210 # include <limits.h>
80211 #else
80212 # include <assert.h>
80213 #endif
80214
80215 #undef $ac_func
80216
80217 /* Override any gcc2 internal prototype to avoid an error. */
80218 #ifdef __cplusplus
80219 extern "C"
80220 {
80221 #endif
80222 /* We use char because int might match the return type of a gcc2
80223 builtin and then its argument prototype would still apply. */
80224 char $ac_func ();
80225 /* The GNU C library defines this for functions which it implements
80226 to always fail with ENOSYS. Some functions are actually named
80227 something starting with __ and the normal name is an alias. */
80228 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80229 choke me
80230 #else
80231 char (*f) () = $ac_func;
80232 #endif
80233 #ifdef __cplusplus
80234 }
80235 #endif
80236
80237 int
80238 main ()
80239 {
80240 return f != $ac_func;
80241 ;
80242 return 0;
80243 }
80244 _ACEOF
80245 rm -f conftest.$ac_objext conftest$ac_exeext
80246 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80247 (eval $ac_link) 2>conftest.er1
80248 ac_status=$?
80249 grep -v '^ *+' conftest.er1 >conftest.err
80250 rm -f conftest.er1
80251 cat conftest.err >&5
80252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80253 (exit $ac_status); } &&
80254 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
80255 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80256 (eval $ac_try) 2>&5
80257 ac_status=$?
80258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80259 (exit $ac_status); }; } &&
80260 { ac_try='test -s conftest$ac_exeext'
80261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80262 (eval $ac_try) 2>&5
80263 ac_status=$?
80264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80265 (exit $ac_status); }; }; then
80266 eval "$as_ac_var=yes"
80267 else
80268 echo "$as_me: failed program was:" >&5
80269 sed 's/^/| /' conftest.$ac_ext >&5
80270
80271 eval "$as_ac_var=no"
80272 fi
80273 rm -f conftest.err conftest.$ac_objext \
80274 conftest$ac_exeext conftest.$ac_ext
80275 fi
80276 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80277 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80278 if test `eval echo '${'$as_ac_var'}'` = yes; then
80279 cat >>confdefs.h <<_ACEOF
80280 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80281 _ACEOF
80282
80283 fi
80284 done
80285
80286 fi
80287 fi
80288
80289
80290
80291
80292
80293
80294 echo "$as_me:$LINENO: checking for qfpclass declaration" >&5
80295 echo $ECHO_N "checking for qfpclass declaration... $ECHO_C" >&6
80296 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
80297 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then
80298 echo $ECHO_N "(cached) $ECHO_C" >&6
80299 else
80300
80301
80302
80303 ac_ext=cc
80304 ac_cpp='$CXXCPP $CPPFLAGS'
80305 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80306 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80307 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
80308
80309 cat >conftest.$ac_ext <<_ACEOF
80310 /* confdefs.h. */
80311 _ACEOF
80312 cat confdefs.h >>conftest.$ac_ext
80313 cat >>conftest.$ac_ext <<_ACEOF
80314 /* end confdefs.h. */
80315 #include <math.h>
80316 #ifdef HAVE_IEEEFP_H
80317 #include <ieeefp.h>
80318 #endif
80319
80320 int
80321 main ()
80322 {
80323 qfpclass(0);
80324 ;
80325 return 0;
80326 }
80327 _ACEOF
80328 rm -f conftest.$ac_objext
80329 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
80330 (eval $ac_compile) 2>conftest.er1
80331 ac_status=$?
80332 grep -v '^ *+' conftest.er1 >conftest.err
80333 rm -f conftest.er1
80334 cat conftest.err >&5
80335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80336 (exit $ac_status); } &&
80337 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
80338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80339 (eval $ac_try) 2>&5
80340 ac_status=$?
80341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80342 (exit $ac_status); }; } &&
80343 { ac_try='test -s conftest.$ac_objext'
80344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80345 (eval $ac_try) 2>&5
80346 ac_status=$?
80347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80348 (exit $ac_status); }; }; then
80349 glibcxx_cv_func_qfpclass_use=yes
80350 else
80351 echo "$as_me: failed program was:" >&5
80352 sed 's/^/| /' conftest.$ac_ext >&5
80353
80354 glibcxx_cv_func_qfpclass_use=no
80355 fi
80356 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
80357 ac_ext=c
80358 ac_cpp='$CPP $CPPFLAGS'
80359 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80360 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80361 ac_compiler_gnu=$ac_cv_c_compiler_gnu
80362
80363
80364 fi
80365
80366 fi
80367 echo "$as_me:$LINENO: result: $glibcxx_cv_func_qfpclass_use" >&5
80368 echo "${ECHO_T}$glibcxx_cv_func_qfpclass_use" >&6
80369
80370 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
80371
80372 for ac_func in qfpclass
80373 do
80374 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80375 echo "$as_me:$LINENO: checking for $ac_func" >&5
80376 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80377 if eval "test \"\${$as_ac_var+set}\" = set"; then
80378 echo $ECHO_N "(cached) $ECHO_C" >&6
80379 else
80380 if test x$gcc_no_link = xyes; then
80381 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80382 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80383 { (exit 1); exit 1; }; }
80384 fi
80385 cat >conftest.$ac_ext <<_ACEOF
80386 /* confdefs.h. */
80387 _ACEOF
80388 cat confdefs.h >>conftest.$ac_ext
80389 cat >>conftest.$ac_ext <<_ACEOF
80390 /* end confdefs.h. */
80391 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80392 For example, HP-UX 11i <limits.h> declares gettimeofday. */
80393 #define $ac_func innocuous_$ac_func
80394
80395 /* System header to define __stub macros and hopefully few prototypes,
80396 which can conflict with char $ac_func (); below.
80397 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80398 <limits.h> exists even on freestanding compilers. */
80399
80400 #ifdef __STDC__
80401 # include <limits.h>
80402 #else
80403 # include <assert.h>
80404 #endif
80405
80406 #undef $ac_func
80407
80408 /* Override any gcc2 internal prototype to avoid an error. */
80409 #ifdef __cplusplus
80410 extern "C"
80411 {
80412 #endif
80413 /* We use char because int might match the return type of a gcc2
80414 builtin and then its argument prototype would still apply. */
80415 char $ac_func ();
80416 /* The GNU C library defines this for functions which it implements
80417 to always fail with ENOSYS. Some functions are actually named
80418 something starting with __ and the normal name is an alias. */
80419 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80420 choke me
80421 #else
80422 char (*f) () = $ac_func;
80423 #endif
80424 #ifdef __cplusplus
80425 }
80426 #endif
80427
80428 int
80429 main ()
80430 {
80431 return f != $ac_func;
80432 ;
80433 return 0;
80434 }
80435 _ACEOF
80436 rm -f conftest.$ac_objext conftest$ac_exeext
80437 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80438 (eval $ac_link) 2>conftest.er1
80439 ac_status=$?
80440 grep -v '^ *+' conftest.er1 >conftest.err
80441 rm -f conftest.er1
80442 cat conftest.err >&5
80443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80444 (exit $ac_status); } &&
80445 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
80446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80447 (eval $ac_try) 2>&5
80448 ac_status=$?
80449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80450 (exit $ac_status); }; } &&
80451 { ac_try='test -s conftest$ac_exeext'
80452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80453 (eval $ac_try) 2>&5
80454 ac_status=$?
80455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80456 (exit $ac_status); }; }; then
80457 eval "$as_ac_var=yes"
80458 else
80459 echo "$as_me: failed program was:" >&5
80460 sed 's/^/| /' conftest.$ac_ext >&5
80461
80462 eval "$as_ac_var=no"
80463 fi
80464 rm -f conftest.err conftest.$ac_objext \
80465 conftest$ac_exeext conftest.$ac_ext
80466 fi
80467 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80468 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80469 if test `eval echo '${'$as_ac_var'}'` = yes; then
80470 cat >>confdefs.h <<_ACEOF
80471 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80472 _ACEOF
80473
80474 fi
80475 done
80476
80477 else
80478
80479 echo "$as_me:$LINENO: checking for _qfpclass declaration" >&5
80480 echo $ECHO_N "checking for _qfpclass declaration... $ECHO_C" >&6
80481 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
80482 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then
80483 echo $ECHO_N "(cached) $ECHO_C" >&6
80484 else
80485
80486
80487
80488 ac_ext=cc
80489 ac_cpp='$CXXCPP $CPPFLAGS'
80490 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80491 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80492 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
80493
80494 cat >conftest.$ac_ext <<_ACEOF
80495 /* confdefs.h. */
80496 _ACEOF
80497 cat confdefs.h >>conftest.$ac_ext
80498 cat >>conftest.$ac_ext <<_ACEOF
80499 /* end confdefs.h. */
80500 #include <math.h>
80501 #ifdef HAVE_IEEEFP_H
80502 #include <ieeefp.h>
80503 #endif
80504
80505 int
80506 main ()
80507 {
80508 _qfpclass(0);
80509 ;
80510 return 0;
80511 }
80512 _ACEOF
80513 rm -f conftest.$ac_objext
80514 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
80515 (eval $ac_compile) 2>conftest.er1
80516 ac_status=$?
80517 grep -v '^ *+' conftest.er1 >conftest.err
80518 rm -f conftest.er1
80519 cat conftest.err >&5
80520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80521 (exit $ac_status); } &&
80522 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
80523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80524 (eval $ac_try) 2>&5
80525 ac_status=$?
80526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80527 (exit $ac_status); }; } &&
80528 { ac_try='test -s conftest.$ac_objext'
80529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80530 (eval $ac_try) 2>&5
80531 ac_status=$?
80532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80533 (exit $ac_status); }; }; then
80534 glibcxx_cv_func__qfpclass_use=yes
80535 else
80536 echo "$as_me: failed program was:" >&5
80537 sed 's/^/| /' conftest.$ac_ext >&5
80538
80539 glibcxx_cv_func__qfpclass_use=no
80540 fi
80541 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
80542 ac_ext=c
80543 ac_cpp='$CPP $CPPFLAGS'
80544 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80545 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80546 ac_compiler_gnu=$ac_cv_c_compiler_gnu
80547
80548
80549 fi
80550
80551 fi
80552 echo "$as_me:$LINENO: result: $glibcxx_cv_func__qfpclass_use" >&5
80553 echo "${ECHO_T}$glibcxx_cv_func__qfpclass_use" >&6
80554
80555 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
80556
80557 for ac_func in _qfpclass
80558 do
80559 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80560 echo "$as_me:$LINENO: checking for $ac_func" >&5
80561 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80562 if eval "test \"\${$as_ac_var+set}\" = set"; then
80563 echo $ECHO_N "(cached) $ECHO_C" >&6
80564 else
80565 if test x$gcc_no_link = xyes; then
80566 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80567 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80568 { (exit 1); exit 1; }; }
80569 fi
80570 cat >conftest.$ac_ext <<_ACEOF
80571 /* confdefs.h. */
80572 _ACEOF
80573 cat confdefs.h >>conftest.$ac_ext
80574 cat >>conftest.$ac_ext <<_ACEOF
80575 /* end confdefs.h. */
80576 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80577 For example, HP-UX 11i <limits.h> declares gettimeofday. */
80578 #define $ac_func innocuous_$ac_func
80579
80580 /* System header to define __stub macros and hopefully few prototypes,
80581 which can conflict with char $ac_func (); below.
80582 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80583 <limits.h> exists even on freestanding compilers. */
80584
80585 #ifdef __STDC__
80586 # include <limits.h>
80587 #else
80588 # include <assert.h>
80589 #endif
80590
80591 #undef $ac_func
80592
80593 /* Override any gcc2 internal prototype to avoid an error. */
80594 #ifdef __cplusplus
80595 extern "C"
80596 {
80597 #endif
80598 /* We use char because int might match the return type of a gcc2
80599 builtin and then its argument prototype would still apply. */
80600 char $ac_func ();
80601 /* The GNU C library defines this for functions which it implements
80602 to always fail with ENOSYS. Some functions are actually named
80603 something starting with __ and the normal name is an alias. */
80604 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80605 choke me
80606 #else
80607 char (*f) () = $ac_func;
80608 #endif
80609 #ifdef __cplusplus
80610 }
80611 #endif
80612
80613 int
80614 main ()
80615 {
80616 return f != $ac_func;
80617 ;
80618 return 0;
80619 }
80620 _ACEOF
80621 rm -f conftest.$ac_objext conftest$ac_exeext
80622 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80623 (eval $ac_link) 2>conftest.er1
80624 ac_status=$?
80625 grep -v '^ *+' conftest.er1 >conftest.err
80626 rm -f conftest.er1
80627 cat conftest.err >&5
80628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80629 (exit $ac_status); } &&
80630 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
80631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80632 (eval $ac_try) 2>&5
80633 ac_status=$?
80634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80635 (exit $ac_status); }; } &&
80636 { ac_try='test -s conftest$ac_exeext'
80637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80638 (eval $ac_try) 2>&5
80639 ac_status=$?
80640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80641 (exit $ac_status); }; }; then
80642 eval "$as_ac_var=yes"
80643 else
80644 echo "$as_me: failed program was:" >&5
80645 sed 's/^/| /' conftest.$ac_ext >&5
80646
80647 eval "$as_ac_var=no"
80648 fi
80649 rm -f conftest.err conftest.$ac_objext \
80650 conftest$ac_exeext conftest.$ac_ext
80651 fi
80652 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80653 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80654 if test `eval echo '${'$as_ac_var'}'` = yes; then
80655 cat >>confdefs.h <<_ACEOF
80656 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80657 _ACEOF
80658
80659 fi
80660 done
80661
80662 fi
80663 fi
80664
80665
80666
80667
80668
80669
80670 echo "$as_me:$LINENO: checking for hypot declaration" >&5
80671 echo $ECHO_N "checking for hypot declaration... $ECHO_C" >&6
80672 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
80673 if test "${glibcxx_cv_func_hypot_use+set}" = set; then
80674 echo $ECHO_N "(cached) $ECHO_C" >&6
80675 else
80676
80677
80678
80679 ac_ext=cc
80680 ac_cpp='$CXXCPP $CPPFLAGS'
80681 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80682 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80683 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
80684
80685 cat >conftest.$ac_ext <<_ACEOF
80686 /* confdefs.h. */
80687 _ACEOF
80688 cat confdefs.h >>conftest.$ac_ext
80689 cat >>conftest.$ac_ext <<_ACEOF
80690 /* end confdefs.h. */
80691 #include <math.h>
80692 int
80693 main ()
80694 {
80695 hypot(0, 0);
80696 ;
80697 return 0;
80698 }
80699 _ACEOF
80700 rm -f conftest.$ac_objext
80701 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
80702 (eval $ac_compile) 2>conftest.er1
80703 ac_status=$?
80704 grep -v '^ *+' conftest.er1 >conftest.err
80705 rm -f conftest.er1
80706 cat conftest.err >&5
80707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80708 (exit $ac_status); } &&
80709 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
80710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80711 (eval $ac_try) 2>&5
80712 ac_status=$?
80713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80714 (exit $ac_status); }; } &&
80715 { ac_try='test -s conftest.$ac_objext'
80716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80717 (eval $ac_try) 2>&5
80718 ac_status=$?
80719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80720 (exit $ac_status); }; }; then
80721 glibcxx_cv_func_hypot_use=yes
80722 else
80723 echo "$as_me: failed program was:" >&5
80724 sed 's/^/| /' conftest.$ac_ext >&5
80725
80726 glibcxx_cv_func_hypot_use=no
80727 fi
80728 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
80729 ac_ext=c
80730 ac_cpp='$CPP $CPPFLAGS'
80731 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80732 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80733 ac_compiler_gnu=$ac_cv_c_compiler_gnu
80734
80735
80736 fi
80737
80738 fi
80739 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypot_use" >&5
80740 echo "${ECHO_T}$glibcxx_cv_func_hypot_use" >&6
80741
80742 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
80743
80744 for ac_func in hypot
80745 do
80746 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80747 echo "$as_me:$LINENO: checking for $ac_func" >&5
80748 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80749 if eval "test \"\${$as_ac_var+set}\" = set"; then
80750 echo $ECHO_N "(cached) $ECHO_C" >&6
80751 else
80752 if test x$gcc_no_link = xyes; then
80753 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80754 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80755 { (exit 1); exit 1; }; }
80756 fi
80757 cat >conftest.$ac_ext <<_ACEOF
80758 /* confdefs.h. */
80759 _ACEOF
80760 cat confdefs.h >>conftest.$ac_ext
80761 cat >>conftest.$ac_ext <<_ACEOF
80762 /* end confdefs.h. */
80763 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80764 For example, HP-UX 11i <limits.h> declares gettimeofday. */
80765 #define $ac_func innocuous_$ac_func
80766
80767 /* System header to define __stub macros and hopefully few prototypes,
80768 which can conflict with char $ac_func (); below.
80769 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80770 <limits.h> exists even on freestanding compilers. */
80771
80772 #ifdef __STDC__
80773 # include <limits.h>
80774 #else
80775 # include <assert.h>
80776 #endif
80777
80778 #undef $ac_func
80779
80780 /* Override any gcc2 internal prototype to avoid an error. */
80781 #ifdef __cplusplus
80782 extern "C"
80783 {
80784 #endif
80785 /* We use char because int might match the return type of a gcc2
80786 builtin and then its argument prototype would still apply. */
80787 char $ac_func ();
80788 /* The GNU C library defines this for functions which it implements
80789 to always fail with ENOSYS. Some functions are actually named
80790 something starting with __ and the normal name is an alias. */
80791 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80792 choke me
80793 #else
80794 char (*f) () = $ac_func;
80795 #endif
80796 #ifdef __cplusplus
80797 }
80798 #endif
80799
80800 int
80801 main ()
80802 {
80803 return f != $ac_func;
80804 ;
80805 return 0;
80806 }
80807 _ACEOF
80808 rm -f conftest.$ac_objext conftest$ac_exeext
80809 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80810 (eval $ac_link) 2>conftest.er1
80811 ac_status=$?
80812 grep -v '^ *+' conftest.er1 >conftest.err
80813 rm -f conftest.er1
80814 cat conftest.err >&5
80815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80816 (exit $ac_status); } &&
80817 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
80818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80819 (eval $ac_try) 2>&5
80820 ac_status=$?
80821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80822 (exit $ac_status); }; } &&
80823 { ac_try='test -s conftest$ac_exeext'
80824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80825 (eval $ac_try) 2>&5
80826 ac_status=$?
80827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80828 (exit $ac_status); }; }; then
80829 eval "$as_ac_var=yes"
80830 else
80831 echo "$as_me: failed program was:" >&5
80832 sed 's/^/| /' conftest.$ac_ext >&5
80833
80834 eval "$as_ac_var=no"
80835 fi
80836 rm -f conftest.err conftest.$ac_objext \
80837 conftest$ac_exeext conftest.$ac_ext
80838 fi
80839 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80840 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80841 if test `eval echo '${'$as_ac_var'}'` = yes; then
80842 cat >>confdefs.h <<_ACEOF
80843 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80844 _ACEOF
80845
80846 fi
80847 done
80848
80849 else
80850
80851 echo "$as_me:$LINENO: checking for _hypot declaration" >&5
80852 echo $ECHO_N "checking for _hypot declaration... $ECHO_C" >&6
80853 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
80854 if test "${glibcxx_cv_func__hypot_use+set}" = set; then
80855 echo $ECHO_N "(cached) $ECHO_C" >&6
80856 else
80857
80858
80859
80860 ac_ext=cc
80861 ac_cpp='$CXXCPP $CPPFLAGS'
80862 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80863 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80864 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
80865
80866 cat >conftest.$ac_ext <<_ACEOF
80867 /* confdefs.h. */
80868 _ACEOF
80869 cat confdefs.h >>conftest.$ac_ext
80870 cat >>conftest.$ac_ext <<_ACEOF
80871 /* end confdefs.h. */
80872 #include <math.h>
80873 int
80874 main ()
80875 {
80876 _hypot(0, 0);
80877 ;
80878 return 0;
80879 }
80880 _ACEOF
80881 rm -f conftest.$ac_objext
80882 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
80883 (eval $ac_compile) 2>conftest.er1
80884 ac_status=$?
80885 grep -v '^ *+' conftest.er1 >conftest.err
80886 rm -f conftest.er1
80887 cat conftest.err >&5
80888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80889 (exit $ac_status); } &&
80890 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
80891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80892 (eval $ac_try) 2>&5
80893 ac_status=$?
80894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80895 (exit $ac_status); }; } &&
80896 { ac_try='test -s conftest.$ac_objext'
80897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80898 (eval $ac_try) 2>&5
80899 ac_status=$?
80900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80901 (exit $ac_status); }; }; then
80902 glibcxx_cv_func__hypot_use=yes
80903 else
80904 echo "$as_me: failed program was:" >&5
80905 sed 's/^/| /' conftest.$ac_ext >&5
80906
80907 glibcxx_cv_func__hypot_use=no
80908 fi
80909 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
80910 ac_ext=c
80911 ac_cpp='$CPP $CPPFLAGS'
80912 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80913 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80914 ac_compiler_gnu=$ac_cv_c_compiler_gnu
80915
80916
80917 fi
80918
80919 fi
80920 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypot_use" >&5
80921 echo "${ECHO_T}$glibcxx_cv_func__hypot_use" >&6
80922
80923 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
80924
80925 for ac_func in _hypot
80926 do
80927 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80928 echo "$as_me:$LINENO: checking for $ac_func" >&5
80929 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80930 if eval "test \"\${$as_ac_var+set}\" = set"; then
80931 echo $ECHO_N "(cached) $ECHO_C" >&6
80932 else
80933 if test x$gcc_no_link = xyes; then
80934 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80935 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80936 { (exit 1); exit 1; }; }
80937 fi
80938 cat >conftest.$ac_ext <<_ACEOF
80939 /* confdefs.h. */
80940 _ACEOF
80941 cat confdefs.h >>conftest.$ac_ext
80942 cat >>conftest.$ac_ext <<_ACEOF
80943 /* end confdefs.h. */
80944 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80945 For example, HP-UX 11i <limits.h> declares gettimeofday. */
80946 #define $ac_func innocuous_$ac_func
80947
80948 /* System header to define __stub macros and hopefully few prototypes,
80949 which can conflict with char $ac_func (); below.
80950 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80951 <limits.h> exists even on freestanding compilers. */
80952
80953 #ifdef __STDC__
80954 # include <limits.h>
80955 #else
80956 # include <assert.h>
80957 #endif
80958
80959 #undef $ac_func
80960
80961 /* Override any gcc2 internal prototype to avoid an error. */
80962 #ifdef __cplusplus
80963 extern "C"
80964 {
80965 #endif
80966 /* We use char because int might match the return type of a gcc2
80967 builtin and then its argument prototype would still apply. */
80968 char $ac_func ();
80969 /* The GNU C library defines this for functions which it implements
80970 to always fail with ENOSYS. Some functions are actually named
80971 something starting with __ and the normal name is an alias. */
80972 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80973 choke me
80974 #else
80975 char (*f) () = $ac_func;
80976 #endif
80977 #ifdef __cplusplus
80978 }
80979 #endif
80980
80981 int
80982 main ()
80983 {
80984 return f != $ac_func;
80985 ;
80986 return 0;
80987 }
80988 _ACEOF
80989 rm -f conftest.$ac_objext conftest$ac_exeext
80990 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80991 (eval $ac_link) 2>conftest.er1
80992 ac_status=$?
80993 grep -v '^ *+' conftest.er1 >conftest.err
80994 rm -f conftest.er1
80995 cat conftest.err >&5
80996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80997 (exit $ac_status); } &&
80998 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
80999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81000 (eval $ac_try) 2>&5
81001 ac_status=$?
81002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81003 (exit $ac_status); }; } &&
81004 { ac_try='test -s conftest$ac_exeext'
81005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81006 (eval $ac_try) 2>&5
81007 ac_status=$?
81008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81009 (exit $ac_status); }; }; then
81010 eval "$as_ac_var=yes"
81011 else
81012 echo "$as_me: failed program was:" >&5
81013 sed 's/^/| /' conftest.$ac_ext >&5
81014
81015 eval "$as_ac_var=no"
81016 fi
81017 rm -f conftest.err conftest.$ac_objext \
81018 conftest$ac_exeext conftest.$ac_ext
81019 fi
81020 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
81021 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
81022 if test `eval echo '${'$as_ac_var'}'` = yes; then
81023 cat >>confdefs.h <<_ACEOF
81024 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
81025 _ACEOF
81026
81027 fi
81028 done
81029
81030 fi
81031 fi
81032
81033
81034
81035
81036
81037
81038 echo "$as_me:$LINENO: checking for float trig functions" >&5
81039 echo $ECHO_N "checking for float trig functions... $ECHO_C" >&6
81040 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then
81041 echo $ECHO_N "(cached) $ECHO_C" >&6
81042 else
81043
81044
81045
81046 ac_ext=cc
81047 ac_cpp='$CXXCPP $CPPFLAGS'
81048 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81049 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81050 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
81051
81052 cat >conftest.$ac_ext <<_ACEOF
81053 /* confdefs.h. */
81054 _ACEOF
81055 cat confdefs.h >>conftest.$ac_ext
81056 cat >>conftest.$ac_ext <<_ACEOF
81057 /* end confdefs.h. */
81058 #include <math.h>
81059 int
81060 main ()
81061 {
81062 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
81063 ;
81064 return 0;
81065 }
81066 _ACEOF
81067 rm -f conftest.$ac_objext
81068 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
81069 (eval $ac_compile) 2>conftest.er1
81070 ac_status=$?
81071 grep -v '^ *+' conftest.er1 >conftest.err
81072 rm -f conftest.er1
81073 cat conftest.err >&5
81074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81075 (exit $ac_status); } &&
81076 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
81077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81078 (eval $ac_try) 2>&5
81079 ac_status=$?
81080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81081 (exit $ac_status); }; } &&
81082 { ac_try='test -s conftest.$ac_objext'
81083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81084 (eval $ac_try) 2>&5
81085 ac_status=$?
81086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81087 (exit $ac_status); }; }; then
81088 glibcxx_cv_func_float_trig_use=yes
81089 else
81090 echo "$as_me: failed program was:" >&5
81091 sed 's/^/| /' conftest.$ac_ext >&5
81092
81093 glibcxx_cv_func_float_trig_use=no
81094 fi
81095 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
81096 ac_ext=c
81097 ac_cpp='$CPP $CPPFLAGS'
81098 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81099 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81100 ac_compiler_gnu=$ac_cv_c_compiler_gnu
81101
81102 fi
81103
81104 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_trig_use" >&5
81105 echo "${ECHO_T}$glibcxx_cv_func_float_trig_use" >&6
81106 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
81107
81108
81109
81110
81111
81112
81113
81114
81115
81116 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
81117 do
81118 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
81119 echo "$as_me:$LINENO: checking for $ac_func" >&5
81120 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
81121 if eval "test \"\${$as_ac_var+set}\" = set"; then
81122 echo $ECHO_N "(cached) $ECHO_C" >&6
81123 else
81124 if test x$gcc_no_link = xyes; then
81125 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81126 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81127 { (exit 1); exit 1; }; }
81128 fi
81129 cat >conftest.$ac_ext <<_ACEOF
81130 /* confdefs.h. */
81131 _ACEOF
81132 cat confdefs.h >>conftest.$ac_ext
81133 cat >>conftest.$ac_ext <<_ACEOF
81134 /* end confdefs.h. */
81135 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
81136 For example, HP-UX 11i <limits.h> declares gettimeofday. */
81137 #define $ac_func innocuous_$ac_func
81138
81139 /* System header to define __stub macros and hopefully few prototypes,
81140 which can conflict with char $ac_func (); below.
81141 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
81142 <limits.h> exists even on freestanding compilers. */
81143
81144 #ifdef __STDC__
81145 # include <limits.h>
81146 #else
81147 # include <assert.h>
81148 #endif
81149
81150 #undef $ac_func
81151
81152 /* Override any gcc2 internal prototype to avoid an error. */
81153 #ifdef __cplusplus
81154 extern "C"
81155 {
81156 #endif
81157 /* We use char because int might match the return type of a gcc2
81158 builtin and then its argument prototype would still apply. */
81159 char $ac_func ();
81160 /* The GNU C library defines this for functions which it implements
81161 to always fail with ENOSYS. Some functions are actually named
81162 something starting with __ and the normal name is an alias. */
81163 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
81164 choke me
81165 #else
81166 char (*f) () = $ac_func;
81167 #endif
81168 #ifdef __cplusplus
81169 }
81170 #endif
81171
81172 int
81173 main ()
81174 {
81175 return f != $ac_func;
81176 ;
81177 return 0;
81178 }
81179 _ACEOF
81180 rm -f conftest.$ac_objext conftest$ac_exeext
81181 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81182 (eval $ac_link) 2>conftest.er1
81183 ac_status=$?
81184 grep -v '^ *+' conftest.er1 >conftest.err
81185 rm -f conftest.er1
81186 cat conftest.err >&5
81187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81188 (exit $ac_status); } &&
81189 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
81190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81191 (eval $ac_try) 2>&5
81192 ac_status=$?
81193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81194 (exit $ac_status); }; } &&
81195 { ac_try='test -s conftest$ac_exeext'
81196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81197 (eval $ac_try) 2>&5
81198 ac_status=$?
81199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81200 (exit $ac_status); }; }; then
81201 eval "$as_ac_var=yes"
81202 else
81203 echo "$as_me: failed program was:" >&5
81204 sed 's/^/| /' conftest.$ac_ext >&5
81205
81206 eval "$as_ac_var=no"
81207 fi
81208 rm -f conftest.err conftest.$ac_objext \
81209 conftest$ac_exeext conftest.$ac_ext
81210 fi
81211 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
81212 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
81213 if test `eval echo '${'$as_ac_var'}'` = yes; then
81214 cat >>confdefs.h <<_ACEOF
81215 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
81216 _ACEOF
81217
81218 fi
81219 done
81220
81221 else
81222 echo "$as_me:$LINENO: checking for _float trig functions" >&5
81223 echo $ECHO_N "checking for _float trig functions... $ECHO_C" >&6
81224 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then
81225 echo $ECHO_N "(cached) $ECHO_C" >&6
81226 else
81227
81228
81229
81230 ac_ext=cc
81231 ac_cpp='$CXXCPP $CPPFLAGS'
81232 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81233 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81234 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
81235
81236 cat >conftest.$ac_ext <<_ACEOF
81237 /* confdefs.h. */
81238 _ACEOF
81239 cat confdefs.h >>conftest.$ac_ext
81240 cat >>conftest.$ac_ext <<_ACEOF
81241 /* end confdefs.h. */
81242 #include <math.h>
81243 int
81244 main ()
81245 {
81246 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
81247 ;
81248 return 0;
81249 }
81250 _ACEOF
81251 rm -f conftest.$ac_objext
81252 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
81253 (eval $ac_compile) 2>conftest.er1
81254 ac_status=$?
81255 grep -v '^ *+' conftest.er1 >conftest.err
81256 rm -f conftest.er1
81257 cat conftest.err >&5
81258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81259 (exit $ac_status); } &&
81260 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
81261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81262 (eval $ac_try) 2>&5
81263 ac_status=$?
81264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81265 (exit $ac_status); }; } &&
81266 { ac_try='test -s conftest.$ac_objext'
81267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81268 (eval $ac_try) 2>&5
81269 ac_status=$?
81270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81271 (exit $ac_status); }; }; then
81272 glibcxx_cv_func__float_trig_use=yes
81273 else
81274 echo "$as_me: failed program was:" >&5
81275 sed 's/^/| /' conftest.$ac_ext >&5
81276
81277 glibcxx_cv_func__float_trig_use=no
81278 fi
81279 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
81280 ac_ext=c
81281 ac_cpp='$CPP $CPPFLAGS'
81282 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81283 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81284 ac_compiler_gnu=$ac_cv_c_compiler_gnu
81285
81286 fi
81287
81288 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_trig_use" >&5
81289 echo "${ECHO_T}$glibcxx_cv_func__float_trig_use" >&6
81290 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
81291
81292
81293
81294
81295
81296
81297
81298
81299
81300 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
81301 do
81302 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
81303 echo "$as_me:$LINENO: checking for $ac_func" >&5
81304 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
81305 if eval "test \"\${$as_ac_var+set}\" = set"; then
81306 echo $ECHO_N "(cached) $ECHO_C" >&6
81307 else
81308 if test x$gcc_no_link = xyes; then
81309 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81310 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81311 { (exit 1); exit 1; }; }
81312 fi
81313 cat >conftest.$ac_ext <<_ACEOF
81314 /* confdefs.h. */
81315 _ACEOF
81316 cat confdefs.h >>conftest.$ac_ext
81317 cat >>conftest.$ac_ext <<_ACEOF
81318 /* end confdefs.h. */
81319 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
81320 For example, HP-UX 11i <limits.h> declares gettimeofday. */
81321 #define $ac_func innocuous_$ac_func
81322
81323 /* System header to define __stub macros and hopefully few prototypes,
81324 which can conflict with char $ac_func (); below.
81325 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
81326 <limits.h> exists even on freestanding compilers. */
81327
81328 #ifdef __STDC__
81329 # include <limits.h>
81330 #else
81331 # include <assert.h>
81332 #endif
81333
81334 #undef $ac_func
81335
81336 /* Override any gcc2 internal prototype to avoid an error. */
81337 #ifdef __cplusplus
81338 extern "C"
81339 {
81340 #endif
81341 /* We use char because int might match the return type of a gcc2
81342 builtin and then its argument prototype would still apply. */
81343 char $ac_func ();
81344 /* The GNU C library defines this for functions which it implements
81345 to always fail with ENOSYS. Some functions are actually named
81346 something starting with __ and the normal name is an alias. */
81347 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
81348 choke me
81349 #else
81350 char (*f) () = $ac_func;
81351 #endif
81352 #ifdef __cplusplus
81353 }
81354 #endif
81355
81356 int
81357 main ()
81358 {
81359 return f != $ac_func;
81360 ;
81361 return 0;
81362 }
81363 _ACEOF
81364 rm -f conftest.$ac_objext conftest$ac_exeext
81365 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81366 (eval $ac_link) 2>conftest.er1
81367 ac_status=$?
81368 grep -v '^ *+' conftest.er1 >conftest.err
81369 rm -f conftest.er1
81370 cat conftest.err >&5
81371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81372 (exit $ac_status); } &&
81373 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
81374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81375 (eval $ac_try) 2>&5
81376 ac_status=$?
81377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81378 (exit $ac_status); }; } &&
81379 { ac_try='test -s conftest$ac_exeext'
81380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81381 (eval $ac_try) 2>&5
81382 ac_status=$?
81383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81384 (exit $ac_status); }; }; then
81385 eval "$as_ac_var=yes"
81386 else
81387 echo "$as_me: failed program was:" >&5
81388 sed 's/^/| /' conftest.$ac_ext >&5
81389
81390 eval "$as_ac_var=no"
81391 fi
81392 rm -f conftest.err conftest.$ac_objext \
81393 conftest$ac_exeext conftest.$ac_ext
81394 fi
81395 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
81396 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
81397 if test `eval echo '${'$as_ac_var'}'` = yes; then
81398 cat >>confdefs.h <<_ACEOF
81399 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
81400 _ACEOF
81401
81402 fi
81403 done
81404
81405 fi
81406 fi
81407
81408
81409
81410
81411
81412
81413
81414
81415
81416
81417
81418
81419
81420
81421 echo "$as_me:$LINENO: checking for float round functions" >&5
81422 echo $ECHO_N "checking for float round functions... $ECHO_C" >&6
81423 if test "${glibcxx_cv_func_float_round_use+set}" = set; then
81424 echo $ECHO_N "(cached) $ECHO_C" >&6
81425 else
81426
81427
81428
81429 ac_ext=cc
81430 ac_cpp='$CXXCPP $CPPFLAGS'
81431 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81432 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81433 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
81434
81435 cat >conftest.$ac_ext <<_ACEOF
81436 /* confdefs.h. */
81437 _ACEOF
81438 cat confdefs.h >>conftest.$ac_ext
81439 cat >>conftest.$ac_ext <<_ACEOF
81440 /* end confdefs.h. */
81441 #include <math.h>
81442 int
81443 main ()
81444 {
81445 ceilf (0); floorf (0);
81446 ;
81447 return 0;
81448 }
81449 _ACEOF
81450 rm -f conftest.$ac_objext
81451 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
81452 (eval $ac_compile) 2>conftest.er1
81453 ac_status=$?
81454 grep -v '^ *+' conftest.er1 >conftest.err
81455 rm -f conftest.er1
81456 cat conftest.err >&5
81457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81458 (exit $ac_status); } &&
81459 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
81460 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81461 (eval $ac_try) 2>&5
81462 ac_status=$?
81463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81464 (exit $ac_status); }; } &&
81465 { ac_try='test -s conftest.$ac_objext'
81466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81467 (eval $ac_try) 2>&5
81468 ac_status=$?
81469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81470 (exit $ac_status); }; }; then
81471 glibcxx_cv_func_float_round_use=yes
81472 else
81473 echo "$as_me: failed program was:" >&5
81474 sed 's/^/| /' conftest.$ac_ext >&5
81475
81476 glibcxx_cv_func_float_round_use=no
81477 fi
81478 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
81479 ac_ext=c
81480 ac_cpp='$CPP $CPPFLAGS'
81481 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81482 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81483 ac_compiler_gnu=$ac_cv_c_compiler_gnu
81484
81485 fi
81486
81487 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_round_use" >&5
81488 echo "${ECHO_T}$glibcxx_cv_func_float_round_use" >&6
81489 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
81490
81491
81492 for ac_func in ceilf floorf
81493 do
81494 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
81495 echo "$as_me:$LINENO: checking for $ac_func" >&5
81496 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
81497 if eval "test \"\${$as_ac_var+set}\" = set"; then
81498 echo $ECHO_N "(cached) $ECHO_C" >&6
81499 else
81500 if test x$gcc_no_link = xyes; then
81501 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81502 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81503 { (exit 1); exit 1; }; }
81504 fi
81505 cat >conftest.$ac_ext <<_ACEOF
81506 /* confdefs.h. */
81507 _ACEOF
81508 cat confdefs.h >>conftest.$ac_ext
81509 cat >>conftest.$ac_ext <<_ACEOF
81510 /* end confdefs.h. */
81511 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
81512 For example, HP-UX 11i <limits.h> declares gettimeofday. */
81513 #define $ac_func innocuous_$ac_func
81514
81515 /* System header to define __stub macros and hopefully few prototypes,
81516 which can conflict with char $ac_func (); below.
81517 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
81518 <limits.h> exists even on freestanding compilers. */
81519
81520 #ifdef __STDC__
81521 # include <limits.h>
81522 #else
81523 # include <assert.h>
81524 #endif
81525
81526 #undef $ac_func
81527
81528 /* Override any gcc2 internal prototype to avoid an error. */
81529 #ifdef __cplusplus
81530 extern "C"
81531 {
81532 #endif
81533 /* We use char because int might match the return type of a gcc2
81534 builtin and then its argument prototype would still apply. */
81535 char $ac_func ();
81536 /* The GNU C library defines this for functions which it implements
81537 to always fail with ENOSYS. Some functions are actually named
81538 something starting with __ and the normal name is an alias. */
81539 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
81540 choke me
81541 #else
81542 char (*f) () = $ac_func;
81543 #endif
81544 #ifdef __cplusplus
81545 }
81546 #endif
81547
81548 int
81549 main ()
81550 {
81551 return f != $ac_func;
81552 ;
81553 return 0;
81554 }
81555 _ACEOF
81556 rm -f conftest.$ac_objext conftest$ac_exeext
81557 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81558 (eval $ac_link) 2>conftest.er1
81559 ac_status=$?
81560 grep -v '^ *+' conftest.er1 >conftest.err
81561 rm -f conftest.er1
81562 cat conftest.err >&5
81563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81564 (exit $ac_status); } &&
81565 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
81566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81567 (eval $ac_try) 2>&5
81568 ac_status=$?
81569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81570 (exit $ac_status); }; } &&
81571 { ac_try='test -s conftest$ac_exeext'
81572 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81573 (eval $ac_try) 2>&5
81574 ac_status=$?
81575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81576 (exit $ac_status); }; }; then
81577 eval "$as_ac_var=yes"
81578 else
81579 echo "$as_me: failed program was:" >&5
81580 sed 's/^/| /' conftest.$ac_ext >&5
81581
81582 eval "$as_ac_var=no"
81583 fi
81584 rm -f conftest.err conftest.$ac_objext \
81585 conftest$ac_exeext conftest.$ac_ext
81586 fi
81587 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
81588 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
81589 if test `eval echo '${'$as_ac_var'}'` = yes; then
81590 cat >>confdefs.h <<_ACEOF
81591 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
81592 _ACEOF
81593
81594 fi
81595 done
81596
81597 else
81598 echo "$as_me:$LINENO: checking for _float round functions" >&5
81599 echo $ECHO_N "checking for _float round functions... $ECHO_C" >&6
81600 if test "${glibcxx_cv_func__float_round_use+set}" = set; then
81601 echo $ECHO_N "(cached) $ECHO_C" >&6
81602 else
81603
81604
81605
81606 ac_ext=cc
81607 ac_cpp='$CXXCPP $CPPFLAGS'
81608 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81609 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81610 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
81611
81612 cat >conftest.$ac_ext <<_ACEOF
81613 /* confdefs.h. */
81614 _ACEOF
81615 cat confdefs.h >>conftest.$ac_ext
81616 cat >>conftest.$ac_ext <<_ACEOF
81617 /* end confdefs.h. */
81618 #include <math.h>
81619 int
81620 main ()
81621 {
81622 _ceilf (0); _floorf (0);
81623 ;
81624 return 0;
81625 }
81626 _ACEOF
81627 rm -f conftest.$ac_objext
81628 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
81629 (eval $ac_compile) 2>conftest.er1
81630 ac_status=$?
81631 grep -v '^ *+' conftest.er1 >conftest.err
81632 rm -f conftest.er1
81633 cat conftest.err >&5
81634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81635 (exit $ac_status); } &&
81636 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
81637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81638 (eval $ac_try) 2>&5
81639 ac_status=$?
81640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81641 (exit $ac_status); }; } &&
81642 { ac_try='test -s conftest.$ac_objext'
81643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81644 (eval $ac_try) 2>&5
81645 ac_status=$?
81646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81647 (exit $ac_status); }; }; then
81648 glibcxx_cv_func__float_round_use=yes
81649 else
81650 echo "$as_me: failed program was:" >&5
81651 sed 's/^/| /' conftest.$ac_ext >&5
81652
81653 glibcxx_cv_func__float_round_use=no
81654 fi
81655 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
81656 ac_ext=c
81657 ac_cpp='$CPP $CPPFLAGS'
81658 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81659 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81660 ac_compiler_gnu=$ac_cv_c_compiler_gnu
81661
81662 fi
81663
81664 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_round_use" >&5
81665 echo "${ECHO_T}$glibcxx_cv_func__float_round_use" >&6
81666 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
81667
81668
81669 for ac_func in _ceilf _floorf
81670 do
81671 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
81672 echo "$as_me:$LINENO: checking for $ac_func" >&5
81673 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
81674 if eval "test \"\${$as_ac_var+set}\" = set"; then
81675 echo $ECHO_N "(cached) $ECHO_C" >&6
81676 else
81677 if test x$gcc_no_link = xyes; then
81678 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81679 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81680 { (exit 1); exit 1; }; }
81681 fi
81682 cat >conftest.$ac_ext <<_ACEOF
81683 /* confdefs.h. */
81684 _ACEOF
81685 cat confdefs.h >>conftest.$ac_ext
81686 cat >>conftest.$ac_ext <<_ACEOF
81687 /* end confdefs.h. */
81688 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
81689 For example, HP-UX 11i <limits.h> declares gettimeofday. */
81690 #define $ac_func innocuous_$ac_func
81691
81692 /* System header to define __stub macros and hopefully few prototypes,
81693 which can conflict with char $ac_func (); below.
81694 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
81695 <limits.h> exists even on freestanding compilers. */
81696
81697 #ifdef __STDC__
81698 # include <limits.h>
81699 #else
81700 # include <assert.h>
81701 #endif
81702
81703 #undef $ac_func
81704
81705 /* Override any gcc2 internal prototype to avoid an error. */
81706 #ifdef __cplusplus
81707 extern "C"
81708 {
81709 #endif
81710 /* We use char because int might match the return type of a gcc2
81711 builtin and then its argument prototype would still apply. */
81712 char $ac_func ();
81713 /* The GNU C library defines this for functions which it implements
81714 to always fail with ENOSYS. Some functions are actually named
81715 something starting with __ and the normal name is an alias. */
81716 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
81717 choke me
81718 #else
81719 char (*f) () = $ac_func;
81720 #endif
81721 #ifdef __cplusplus
81722 }
81723 #endif
81724
81725 int
81726 main ()
81727 {
81728 return f != $ac_func;
81729 ;
81730 return 0;
81731 }
81732 _ACEOF
81733 rm -f conftest.$ac_objext conftest$ac_exeext
81734 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81735 (eval $ac_link) 2>conftest.er1
81736 ac_status=$?
81737 grep -v '^ *+' conftest.er1 >conftest.err
81738 rm -f conftest.er1
81739 cat conftest.err >&5
81740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81741 (exit $ac_status); } &&
81742 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
81743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81744 (eval $ac_try) 2>&5
81745 ac_status=$?
81746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81747 (exit $ac_status); }; } &&
81748 { ac_try='test -s conftest$ac_exeext'
81749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81750 (eval $ac_try) 2>&5
81751 ac_status=$?
81752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81753 (exit $ac_status); }; }; then
81754 eval "$as_ac_var=yes"
81755 else
81756 echo "$as_me: failed program was:" >&5
81757 sed 's/^/| /' conftest.$ac_ext >&5
81758
81759 eval "$as_ac_var=no"
81760 fi
81761 rm -f conftest.err conftest.$ac_objext \
81762 conftest$ac_exeext conftest.$ac_ext
81763 fi
81764 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
81765 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
81766 if test `eval echo '${'$as_ac_var'}'` = yes; then
81767 cat >>confdefs.h <<_ACEOF
81768 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
81769 _ACEOF
81770
81771 fi
81772 done
81773
81774 fi
81775 fi
81776
81777
81778
81779
81780
81781
81782
81783
81784 echo "$as_me:$LINENO: checking for expf declaration" >&5
81785 echo $ECHO_N "checking for expf declaration... $ECHO_C" >&6
81786 if test x${glibcxx_cv_func_expf_use+set} != xset; then
81787 if test "${glibcxx_cv_func_expf_use+set}" = set; then
81788 echo $ECHO_N "(cached) $ECHO_C" >&6
81789 else
81790
81791
81792
81793 ac_ext=cc
81794 ac_cpp='$CXXCPP $CPPFLAGS'
81795 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81796 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81797 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
81798
81799 cat >conftest.$ac_ext <<_ACEOF
81800 /* confdefs.h. */
81801 _ACEOF
81802 cat confdefs.h >>conftest.$ac_ext
81803 cat >>conftest.$ac_ext <<_ACEOF
81804 /* end confdefs.h. */
81805 #include <math.h>
81806 #ifdef HAVE_IEEEFP_H
81807 #include <ieeefp.h>
81808 #endif
81809
81810 int
81811 main ()
81812 {
81813 expf(0);
81814 ;
81815 return 0;
81816 }
81817 _ACEOF
81818 rm -f conftest.$ac_objext
81819 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
81820 (eval $ac_compile) 2>conftest.er1
81821 ac_status=$?
81822 grep -v '^ *+' conftest.er1 >conftest.err
81823 rm -f conftest.er1
81824 cat conftest.err >&5
81825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81826 (exit $ac_status); } &&
81827 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
81828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81829 (eval $ac_try) 2>&5
81830 ac_status=$?
81831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81832 (exit $ac_status); }; } &&
81833 { ac_try='test -s conftest.$ac_objext'
81834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81835 (eval $ac_try) 2>&5
81836 ac_status=$?
81837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81838 (exit $ac_status); }; }; then
81839 glibcxx_cv_func_expf_use=yes
81840 else
81841 echo "$as_me: failed program was:" >&5
81842 sed 's/^/| /' conftest.$ac_ext >&5
81843
81844 glibcxx_cv_func_expf_use=no
81845 fi
81846 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
81847 ac_ext=c
81848 ac_cpp='$CPP $CPPFLAGS'
81849 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81850 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81851 ac_compiler_gnu=$ac_cv_c_compiler_gnu
81852
81853
81854 fi
81855
81856 fi
81857 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expf_use" >&5
81858 echo "${ECHO_T}$glibcxx_cv_func_expf_use" >&6
81859
81860 if test x$glibcxx_cv_func_expf_use = x"yes"; then
81861
81862 for ac_func in expf
81863 do
81864 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
81865 echo "$as_me:$LINENO: checking for $ac_func" >&5
81866 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
81867 if eval "test \"\${$as_ac_var+set}\" = set"; then
81868 echo $ECHO_N "(cached) $ECHO_C" >&6
81869 else
81870 if test x$gcc_no_link = xyes; then
81871 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81872 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81873 { (exit 1); exit 1; }; }
81874 fi
81875 cat >conftest.$ac_ext <<_ACEOF
81876 /* confdefs.h. */
81877 _ACEOF
81878 cat confdefs.h >>conftest.$ac_ext
81879 cat >>conftest.$ac_ext <<_ACEOF
81880 /* end confdefs.h. */
81881 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
81882 For example, HP-UX 11i <limits.h> declares gettimeofday. */
81883 #define $ac_func innocuous_$ac_func
81884
81885 /* System header to define __stub macros and hopefully few prototypes,
81886 which can conflict with char $ac_func (); below.
81887 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
81888 <limits.h> exists even on freestanding compilers. */
81889
81890 #ifdef __STDC__
81891 # include <limits.h>
81892 #else
81893 # include <assert.h>
81894 #endif
81895
81896 #undef $ac_func
81897
81898 /* Override any gcc2 internal prototype to avoid an error. */
81899 #ifdef __cplusplus
81900 extern "C"
81901 {
81902 #endif
81903 /* We use char because int might match the return type of a gcc2
81904 builtin and then its argument prototype would still apply. */
81905 char $ac_func ();
81906 /* The GNU C library defines this for functions which it implements
81907 to always fail with ENOSYS. Some functions are actually named
81908 something starting with __ and the normal name is an alias. */
81909 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
81910 choke me
81911 #else
81912 char (*f) () = $ac_func;
81913 #endif
81914 #ifdef __cplusplus
81915 }
81916 #endif
81917
81918 int
81919 main ()
81920 {
81921 return f != $ac_func;
81922 ;
81923 return 0;
81924 }
81925 _ACEOF
81926 rm -f conftest.$ac_objext conftest$ac_exeext
81927 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81928 (eval $ac_link) 2>conftest.er1
81929 ac_status=$?
81930 grep -v '^ *+' conftest.er1 >conftest.err
81931 rm -f conftest.er1
81932 cat conftest.err >&5
81933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81934 (exit $ac_status); } &&
81935 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
81936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81937 (eval $ac_try) 2>&5
81938 ac_status=$?
81939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81940 (exit $ac_status); }; } &&
81941 { ac_try='test -s conftest$ac_exeext'
81942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81943 (eval $ac_try) 2>&5
81944 ac_status=$?
81945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81946 (exit $ac_status); }; }; then
81947 eval "$as_ac_var=yes"
81948 else
81949 echo "$as_me: failed program was:" >&5
81950 sed 's/^/| /' conftest.$ac_ext >&5
81951
81952 eval "$as_ac_var=no"
81953 fi
81954 rm -f conftest.err conftest.$ac_objext \
81955 conftest$ac_exeext conftest.$ac_ext
81956 fi
81957 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
81958 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
81959 if test `eval echo '${'$as_ac_var'}'` = yes; then
81960 cat >>confdefs.h <<_ACEOF
81961 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
81962 _ACEOF
81963
81964 fi
81965 done
81966
81967 else
81968
81969 echo "$as_me:$LINENO: checking for _expf declaration" >&5
81970 echo $ECHO_N "checking for _expf declaration... $ECHO_C" >&6
81971 if test x${glibcxx_cv_func__expf_use+set} != xset; then
81972 if test "${glibcxx_cv_func__expf_use+set}" = set; then
81973 echo $ECHO_N "(cached) $ECHO_C" >&6
81974 else
81975
81976
81977
81978 ac_ext=cc
81979 ac_cpp='$CXXCPP $CPPFLAGS'
81980 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81981 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81982 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
81983
81984 cat >conftest.$ac_ext <<_ACEOF
81985 /* confdefs.h. */
81986 _ACEOF
81987 cat confdefs.h >>conftest.$ac_ext
81988 cat >>conftest.$ac_ext <<_ACEOF
81989 /* end confdefs.h. */
81990 #include <math.h>
81991 #ifdef HAVE_IEEEFP_H
81992 #include <ieeefp.h>
81993 #endif
81994
81995 int
81996 main ()
81997 {
81998 _expf(0);
81999 ;
82000 return 0;
82001 }
82002 _ACEOF
82003 rm -f conftest.$ac_objext
82004 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82005 (eval $ac_compile) 2>conftest.er1
82006 ac_status=$?
82007 grep -v '^ *+' conftest.er1 >conftest.err
82008 rm -f conftest.er1
82009 cat conftest.err >&5
82010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82011 (exit $ac_status); } &&
82012 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
82013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82014 (eval $ac_try) 2>&5
82015 ac_status=$?
82016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82017 (exit $ac_status); }; } &&
82018 { ac_try='test -s conftest.$ac_objext'
82019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82020 (eval $ac_try) 2>&5
82021 ac_status=$?
82022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82023 (exit $ac_status); }; }; then
82024 glibcxx_cv_func__expf_use=yes
82025 else
82026 echo "$as_me: failed program was:" >&5
82027 sed 's/^/| /' conftest.$ac_ext >&5
82028
82029 glibcxx_cv_func__expf_use=no
82030 fi
82031 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
82032 ac_ext=c
82033 ac_cpp='$CPP $CPPFLAGS'
82034 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82035 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82036 ac_compiler_gnu=$ac_cv_c_compiler_gnu
82037
82038
82039 fi
82040
82041 fi
82042 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expf_use" >&5
82043 echo "${ECHO_T}$glibcxx_cv_func__expf_use" >&6
82044
82045 if test x$glibcxx_cv_func__expf_use = x"yes"; then
82046
82047 for ac_func in _expf
82048 do
82049 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
82050 echo "$as_me:$LINENO: checking for $ac_func" >&5
82051 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
82052 if eval "test \"\${$as_ac_var+set}\" = set"; then
82053 echo $ECHO_N "(cached) $ECHO_C" >&6
82054 else
82055 if test x$gcc_no_link = xyes; then
82056 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82057 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82058 { (exit 1); exit 1; }; }
82059 fi
82060 cat >conftest.$ac_ext <<_ACEOF
82061 /* confdefs.h. */
82062 _ACEOF
82063 cat confdefs.h >>conftest.$ac_ext
82064 cat >>conftest.$ac_ext <<_ACEOF
82065 /* end confdefs.h. */
82066 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
82067 For example, HP-UX 11i <limits.h> declares gettimeofday. */
82068 #define $ac_func innocuous_$ac_func
82069
82070 /* System header to define __stub macros and hopefully few prototypes,
82071 which can conflict with char $ac_func (); below.
82072 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
82073 <limits.h> exists even on freestanding compilers. */
82074
82075 #ifdef __STDC__
82076 # include <limits.h>
82077 #else
82078 # include <assert.h>
82079 #endif
82080
82081 #undef $ac_func
82082
82083 /* Override any gcc2 internal prototype to avoid an error. */
82084 #ifdef __cplusplus
82085 extern "C"
82086 {
82087 #endif
82088 /* We use char because int might match the return type of a gcc2
82089 builtin and then its argument prototype would still apply. */
82090 char $ac_func ();
82091 /* The GNU C library defines this for functions which it implements
82092 to always fail with ENOSYS. Some functions are actually named
82093 something starting with __ and the normal name is an alias. */
82094 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
82095 choke me
82096 #else
82097 char (*f) () = $ac_func;
82098 #endif
82099 #ifdef __cplusplus
82100 }
82101 #endif
82102
82103 int
82104 main ()
82105 {
82106 return f != $ac_func;
82107 ;
82108 return 0;
82109 }
82110 _ACEOF
82111 rm -f conftest.$ac_objext conftest$ac_exeext
82112 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82113 (eval $ac_link) 2>conftest.er1
82114 ac_status=$?
82115 grep -v '^ *+' conftest.er1 >conftest.err
82116 rm -f conftest.er1
82117 cat conftest.err >&5
82118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82119 (exit $ac_status); } &&
82120 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
82121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82122 (eval $ac_try) 2>&5
82123 ac_status=$?
82124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82125 (exit $ac_status); }; } &&
82126 { ac_try='test -s conftest$ac_exeext'
82127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82128 (eval $ac_try) 2>&5
82129 ac_status=$?
82130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82131 (exit $ac_status); }; }; then
82132 eval "$as_ac_var=yes"
82133 else
82134 echo "$as_me: failed program was:" >&5
82135 sed 's/^/| /' conftest.$ac_ext >&5
82136
82137 eval "$as_ac_var=no"
82138 fi
82139 rm -f conftest.err conftest.$ac_objext \
82140 conftest$ac_exeext conftest.$ac_ext
82141 fi
82142 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
82143 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
82144 if test `eval echo '${'$as_ac_var'}'` = yes; then
82145 cat >>confdefs.h <<_ACEOF
82146 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
82147 _ACEOF
82148
82149 fi
82150 done
82151
82152 fi
82153 fi
82154
82155
82156
82157
82158
82159
82160 echo "$as_me:$LINENO: checking for isnanf declaration" >&5
82161 echo $ECHO_N "checking for isnanf declaration... $ECHO_C" >&6
82162 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
82163 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then
82164 echo $ECHO_N "(cached) $ECHO_C" >&6
82165 else
82166
82167
82168
82169 ac_ext=cc
82170 ac_cpp='$CXXCPP $CPPFLAGS'
82171 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82172 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82173 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
82174
82175 cat >conftest.$ac_ext <<_ACEOF
82176 /* confdefs.h. */
82177 _ACEOF
82178 cat confdefs.h >>conftest.$ac_ext
82179 cat >>conftest.$ac_ext <<_ACEOF
82180 /* end confdefs.h. */
82181 #include <math.h>
82182 #ifdef HAVE_IEEEFP_H
82183 #include <ieeefp.h>
82184 #endif
82185
82186 int
82187 main ()
82188 {
82189 isnanf(0);
82190 ;
82191 return 0;
82192 }
82193 _ACEOF
82194 rm -f conftest.$ac_objext
82195 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82196 (eval $ac_compile) 2>conftest.er1
82197 ac_status=$?
82198 grep -v '^ *+' conftest.er1 >conftest.err
82199 rm -f conftest.er1
82200 cat conftest.err >&5
82201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82202 (exit $ac_status); } &&
82203 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
82204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82205 (eval $ac_try) 2>&5
82206 ac_status=$?
82207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82208 (exit $ac_status); }; } &&
82209 { ac_try='test -s conftest.$ac_objext'
82210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82211 (eval $ac_try) 2>&5
82212 ac_status=$?
82213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82214 (exit $ac_status); }; }; then
82215 glibcxx_cv_func_isnanf_use=yes
82216 else
82217 echo "$as_me: failed program was:" >&5
82218 sed 's/^/| /' conftest.$ac_ext >&5
82219
82220 glibcxx_cv_func_isnanf_use=no
82221 fi
82222 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
82223 ac_ext=c
82224 ac_cpp='$CPP $CPPFLAGS'
82225 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82226 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82227 ac_compiler_gnu=$ac_cv_c_compiler_gnu
82228
82229
82230 fi
82231
82232 fi
82233 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanf_use" >&5
82234 echo "${ECHO_T}$glibcxx_cv_func_isnanf_use" >&6
82235
82236 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
82237
82238 for ac_func in isnanf
82239 do
82240 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
82241 echo "$as_me:$LINENO: checking for $ac_func" >&5
82242 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
82243 if eval "test \"\${$as_ac_var+set}\" = set"; then
82244 echo $ECHO_N "(cached) $ECHO_C" >&6
82245 else
82246 if test x$gcc_no_link = xyes; then
82247 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82248 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82249 { (exit 1); exit 1; }; }
82250 fi
82251 cat >conftest.$ac_ext <<_ACEOF
82252 /* confdefs.h. */
82253 _ACEOF
82254 cat confdefs.h >>conftest.$ac_ext
82255 cat >>conftest.$ac_ext <<_ACEOF
82256 /* end confdefs.h. */
82257 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
82258 For example, HP-UX 11i <limits.h> declares gettimeofday. */
82259 #define $ac_func innocuous_$ac_func
82260
82261 /* System header to define __stub macros and hopefully few prototypes,
82262 which can conflict with char $ac_func (); below.
82263 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
82264 <limits.h> exists even on freestanding compilers. */
82265
82266 #ifdef __STDC__
82267 # include <limits.h>
82268 #else
82269 # include <assert.h>
82270 #endif
82271
82272 #undef $ac_func
82273
82274 /* Override any gcc2 internal prototype to avoid an error. */
82275 #ifdef __cplusplus
82276 extern "C"
82277 {
82278 #endif
82279 /* We use char because int might match the return type of a gcc2
82280 builtin and then its argument prototype would still apply. */
82281 char $ac_func ();
82282 /* The GNU C library defines this for functions which it implements
82283 to always fail with ENOSYS. Some functions are actually named
82284 something starting with __ and the normal name is an alias. */
82285 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
82286 choke me
82287 #else
82288 char (*f) () = $ac_func;
82289 #endif
82290 #ifdef __cplusplus
82291 }
82292 #endif
82293
82294 int
82295 main ()
82296 {
82297 return f != $ac_func;
82298 ;
82299 return 0;
82300 }
82301 _ACEOF
82302 rm -f conftest.$ac_objext conftest$ac_exeext
82303 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82304 (eval $ac_link) 2>conftest.er1
82305 ac_status=$?
82306 grep -v '^ *+' conftest.er1 >conftest.err
82307 rm -f conftest.er1
82308 cat conftest.err >&5
82309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82310 (exit $ac_status); } &&
82311 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
82312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82313 (eval $ac_try) 2>&5
82314 ac_status=$?
82315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82316 (exit $ac_status); }; } &&
82317 { ac_try='test -s conftest$ac_exeext'
82318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82319 (eval $ac_try) 2>&5
82320 ac_status=$?
82321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82322 (exit $ac_status); }; }; then
82323 eval "$as_ac_var=yes"
82324 else
82325 echo "$as_me: failed program was:" >&5
82326 sed 's/^/| /' conftest.$ac_ext >&5
82327
82328 eval "$as_ac_var=no"
82329 fi
82330 rm -f conftest.err conftest.$ac_objext \
82331 conftest$ac_exeext conftest.$ac_ext
82332 fi
82333 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
82334 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
82335 if test `eval echo '${'$as_ac_var'}'` = yes; then
82336 cat >>confdefs.h <<_ACEOF
82337 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
82338 _ACEOF
82339
82340 fi
82341 done
82342
82343 else
82344
82345 echo "$as_me:$LINENO: checking for _isnanf declaration" >&5
82346 echo $ECHO_N "checking for _isnanf declaration... $ECHO_C" >&6
82347 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
82348 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then
82349 echo $ECHO_N "(cached) $ECHO_C" >&6
82350 else
82351
82352
82353
82354 ac_ext=cc
82355 ac_cpp='$CXXCPP $CPPFLAGS'
82356 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82357 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82358 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
82359
82360 cat >conftest.$ac_ext <<_ACEOF
82361 /* confdefs.h. */
82362 _ACEOF
82363 cat confdefs.h >>conftest.$ac_ext
82364 cat >>conftest.$ac_ext <<_ACEOF
82365 /* end confdefs.h. */
82366 #include <math.h>
82367 #ifdef HAVE_IEEEFP_H
82368 #include <ieeefp.h>
82369 #endif
82370
82371 int
82372 main ()
82373 {
82374 _isnanf(0);
82375 ;
82376 return 0;
82377 }
82378 _ACEOF
82379 rm -f conftest.$ac_objext
82380 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82381 (eval $ac_compile) 2>conftest.er1
82382 ac_status=$?
82383 grep -v '^ *+' conftest.er1 >conftest.err
82384 rm -f conftest.er1
82385 cat conftest.err >&5
82386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82387 (exit $ac_status); } &&
82388 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
82389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82390 (eval $ac_try) 2>&5
82391 ac_status=$?
82392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82393 (exit $ac_status); }; } &&
82394 { ac_try='test -s conftest.$ac_objext'
82395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82396 (eval $ac_try) 2>&5
82397 ac_status=$?
82398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82399 (exit $ac_status); }; }; then
82400 glibcxx_cv_func__isnanf_use=yes
82401 else
82402 echo "$as_me: failed program was:" >&5
82403 sed 's/^/| /' conftest.$ac_ext >&5
82404
82405 glibcxx_cv_func__isnanf_use=no
82406 fi
82407 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
82408 ac_ext=c
82409 ac_cpp='$CPP $CPPFLAGS'
82410 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82411 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82412 ac_compiler_gnu=$ac_cv_c_compiler_gnu
82413
82414
82415 fi
82416
82417 fi
82418 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanf_use" >&5
82419 echo "${ECHO_T}$glibcxx_cv_func__isnanf_use" >&6
82420
82421 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
82422
82423 for ac_func in _isnanf
82424 do
82425 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
82426 echo "$as_me:$LINENO: checking for $ac_func" >&5
82427 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
82428 if eval "test \"\${$as_ac_var+set}\" = set"; then
82429 echo $ECHO_N "(cached) $ECHO_C" >&6
82430 else
82431 if test x$gcc_no_link = xyes; then
82432 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82433 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82434 { (exit 1); exit 1; }; }
82435 fi
82436 cat >conftest.$ac_ext <<_ACEOF
82437 /* confdefs.h. */
82438 _ACEOF
82439 cat confdefs.h >>conftest.$ac_ext
82440 cat >>conftest.$ac_ext <<_ACEOF
82441 /* end confdefs.h. */
82442 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
82443 For example, HP-UX 11i <limits.h> declares gettimeofday. */
82444 #define $ac_func innocuous_$ac_func
82445
82446 /* System header to define __stub macros and hopefully few prototypes,
82447 which can conflict with char $ac_func (); below.
82448 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
82449 <limits.h> exists even on freestanding compilers. */
82450
82451 #ifdef __STDC__
82452 # include <limits.h>
82453 #else
82454 # include <assert.h>
82455 #endif
82456
82457 #undef $ac_func
82458
82459 /* Override any gcc2 internal prototype to avoid an error. */
82460 #ifdef __cplusplus
82461 extern "C"
82462 {
82463 #endif
82464 /* We use char because int might match the return type of a gcc2
82465 builtin and then its argument prototype would still apply. */
82466 char $ac_func ();
82467 /* The GNU C library defines this for functions which it implements
82468 to always fail with ENOSYS. Some functions are actually named
82469 something starting with __ and the normal name is an alias. */
82470 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
82471 choke me
82472 #else
82473 char (*f) () = $ac_func;
82474 #endif
82475 #ifdef __cplusplus
82476 }
82477 #endif
82478
82479 int
82480 main ()
82481 {
82482 return f != $ac_func;
82483 ;
82484 return 0;
82485 }
82486 _ACEOF
82487 rm -f conftest.$ac_objext conftest$ac_exeext
82488 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82489 (eval $ac_link) 2>conftest.er1
82490 ac_status=$?
82491 grep -v '^ *+' conftest.er1 >conftest.err
82492 rm -f conftest.er1
82493 cat conftest.err >&5
82494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82495 (exit $ac_status); } &&
82496 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
82497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82498 (eval $ac_try) 2>&5
82499 ac_status=$?
82500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82501 (exit $ac_status); }; } &&
82502 { ac_try='test -s conftest$ac_exeext'
82503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82504 (eval $ac_try) 2>&5
82505 ac_status=$?
82506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82507 (exit $ac_status); }; }; then
82508 eval "$as_ac_var=yes"
82509 else
82510 echo "$as_me: failed program was:" >&5
82511 sed 's/^/| /' conftest.$ac_ext >&5
82512
82513 eval "$as_ac_var=no"
82514 fi
82515 rm -f conftest.err conftest.$ac_objext \
82516 conftest$ac_exeext conftest.$ac_ext
82517 fi
82518 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
82519 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
82520 if test `eval echo '${'$as_ac_var'}'` = yes; then
82521 cat >>confdefs.h <<_ACEOF
82522 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
82523 _ACEOF
82524
82525 fi
82526 done
82527
82528 fi
82529 fi
82530
82531
82532
82533
82534
82535
82536 echo "$as_me:$LINENO: checking for isinff declaration" >&5
82537 echo $ECHO_N "checking for isinff declaration... $ECHO_C" >&6
82538 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
82539 if test "${glibcxx_cv_func_isinff_use+set}" = set; then
82540 echo $ECHO_N "(cached) $ECHO_C" >&6
82541 else
82542
82543
82544
82545 ac_ext=cc
82546 ac_cpp='$CXXCPP $CPPFLAGS'
82547 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82548 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82549 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
82550
82551 cat >conftest.$ac_ext <<_ACEOF
82552 /* confdefs.h. */
82553 _ACEOF
82554 cat confdefs.h >>conftest.$ac_ext
82555 cat >>conftest.$ac_ext <<_ACEOF
82556 /* end confdefs.h. */
82557 #include <math.h>
82558 #ifdef HAVE_IEEEFP_H
82559 #include <ieeefp.h>
82560 #endif
82561
82562 int
82563 main ()
82564 {
82565 isinff(0);
82566 ;
82567 return 0;
82568 }
82569 _ACEOF
82570 rm -f conftest.$ac_objext
82571 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82572 (eval $ac_compile) 2>conftest.er1
82573 ac_status=$?
82574 grep -v '^ *+' conftest.er1 >conftest.err
82575 rm -f conftest.er1
82576 cat conftest.err >&5
82577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82578 (exit $ac_status); } &&
82579 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
82580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82581 (eval $ac_try) 2>&5
82582 ac_status=$?
82583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82584 (exit $ac_status); }; } &&
82585 { ac_try='test -s conftest.$ac_objext'
82586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82587 (eval $ac_try) 2>&5
82588 ac_status=$?
82589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82590 (exit $ac_status); }; }; then
82591 glibcxx_cv_func_isinff_use=yes
82592 else
82593 echo "$as_me: failed program was:" >&5
82594 sed 's/^/| /' conftest.$ac_ext >&5
82595
82596 glibcxx_cv_func_isinff_use=no
82597 fi
82598 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
82599 ac_ext=c
82600 ac_cpp='$CPP $CPPFLAGS'
82601 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82602 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82603 ac_compiler_gnu=$ac_cv_c_compiler_gnu
82604
82605
82606 fi
82607
82608 fi
82609 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinff_use" >&5
82610 echo "${ECHO_T}$glibcxx_cv_func_isinff_use" >&6
82611
82612 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
82613
82614 for ac_func in isinff
82615 do
82616 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
82617 echo "$as_me:$LINENO: checking for $ac_func" >&5
82618 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
82619 if eval "test \"\${$as_ac_var+set}\" = set"; then
82620 echo $ECHO_N "(cached) $ECHO_C" >&6
82621 else
82622 if test x$gcc_no_link = xyes; then
82623 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82624 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82625 { (exit 1); exit 1; }; }
82626 fi
82627 cat >conftest.$ac_ext <<_ACEOF
82628 /* confdefs.h. */
82629 _ACEOF
82630 cat confdefs.h >>conftest.$ac_ext
82631 cat >>conftest.$ac_ext <<_ACEOF
82632 /* end confdefs.h. */
82633 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
82634 For example, HP-UX 11i <limits.h> declares gettimeofday. */
82635 #define $ac_func innocuous_$ac_func
82636
82637 /* System header to define __stub macros and hopefully few prototypes,
82638 which can conflict with char $ac_func (); below.
82639 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
82640 <limits.h> exists even on freestanding compilers. */
82641
82642 #ifdef __STDC__
82643 # include <limits.h>
82644 #else
82645 # include <assert.h>
82646 #endif
82647
82648 #undef $ac_func
82649
82650 /* Override any gcc2 internal prototype to avoid an error. */
82651 #ifdef __cplusplus
82652 extern "C"
82653 {
82654 #endif
82655 /* We use char because int might match the return type of a gcc2
82656 builtin and then its argument prototype would still apply. */
82657 char $ac_func ();
82658 /* The GNU C library defines this for functions which it implements
82659 to always fail with ENOSYS. Some functions are actually named
82660 something starting with __ and the normal name is an alias. */
82661 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
82662 choke me
82663 #else
82664 char (*f) () = $ac_func;
82665 #endif
82666 #ifdef __cplusplus
82667 }
82668 #endif
82669
82670 int
82671 main ()
82672 {
82673 return f != $ac_func;
82674 ;
82675 return 0;
82676 }
82677 _ACEOF
82678 rm -f conftest.$ac_objext conftest$ac_exeext
82679 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82680 (eval $ac_link) 2>conftest.er1
82681 ac_status=$?
82682 grep -v '^ *+' conftest.er1 >conftest.err
82683 rm -f conftest.er1
82684 cat conftest.err >&5
82685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82686 (exit $ac_status); } &&
82687 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
82688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82689 (eval $ac_try) 2>&5
82690 ac_status=$?
82691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82692 (exit $ac_status); }; } &&
82693 { ac_try='test -s conftest$ac_exeext'
82694 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82695 (eval $ac_try) 2>&5
82696 ac_status=$?
82697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82698 (exit $ac_status); }; }; then
82699 eval "$as_ac_var=yes"
82700 else
82701 echo "$as_me: failed program was:" >&5
82702 sed 's/^/| /' conftest.$ac_ext >&5
82703
82704 eval "$as_ac_var=no"
82705 fi
82706 rm -f conftest.err conftest.$ac_objext \
82707 conftest$ac_exeext conftest.$ac_ext
82708 fi
82709 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
82710 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
82711 if test `eval echo '${'$as_ac_var'}'` = yes; then
82712 cat >>confdefs.h <<_ACEOF
82713 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
82714 _ACEOF
82715
82716 fi
82717 done
82718
82719 else
82720
82721 echo "$as_me:$LINENO: checking for _isinff declaration" >&5
82722 echo $ECHO_N "checking for _isinff declaration... $ECHO_C" >&6
82723 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
82724 if test "${glibcxx_cv_func__isinff_use+set}" = set; then
82725 echo $ECHO_N "(cached) $ECHO_C" >&6
82726 else
82727
82728
82729
82730 ac_ext=cc
82731 ac_cpp='$CXXCPP $CPPFLAGS'
82732 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82733 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82734 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
82735
82736 cat >conftest.$ac_ext <<_ACEOF
82737 /* confdefs.h. */
82738 _ACEOF
82739 cat confdefs.h >>conftest.$ac_ext
82740 cat >>conftest.$ac_ext <<_ACEOF
82741 /* end confdefs.h. */
82742 #include <math.h>
82743 #ifdef HAVE_IEEEFP_H
82744 #include <ieeefp.h>
82745 #endif
82746
82747 int
82748 main ()
82749 {
82750 _isinff(0);
82751 ;
82752 return 0;
82753 }
82754 _ACEOF
82755 rm -f conftest.$ac_objext
82756 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82757 (eval $ac_compile) 2>conftest.er1
82758 ac_status=$?
82759 grep -v '^ *+' conftest.er1 >conftest.err
82760 rm -f conftest.er1
82761 cat conftest.err >&5
82762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82763 (exit $ac_status); } &&
82764 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
82765 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82766 (eval $ac_try) 2>&5
82767 ac_status=$?
82768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82769 (exit $ac_status); }; } &&
82770 { ac_try='test -s conftest.$ac_objext'
82771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82772 (eval $ac_try) 2>&5
82773 ac_status=$?
82774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82775 (exit $ac_status); }; }; then
82776 glibcxx_cv_func__isinff_use=yes
82777 else
82778 echo "$as_me: failed program was:" >&5
82779 sed 's/^/| /' conftest.$ac_ext >&5
82780
82781 glibcxx_cv_func__isinff_use=no
82782 fi
82783 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
82784 ac_ext=c
82785 ac_cpp='$CPP $CPPFLAGS'
82786 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82787 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82788 ac_compiler_gnu=$ac_cv_c_compiler_gnu
82789
82790
82791 fi
82792
82793 fi
82794 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinff_use" >&5
82795 echo "${ECHO_T}$glibcxx_cv_func__isinff_use" >&6
82796
82797 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
82798
82799 for ac_func in _isinff
82800 do
82801 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
82802 echo "$as_me:$LINENO: checking for $ac_func" >&5
82803 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
82804 if eval "test \"\${$as_ac_var+set}\" = set"; then
82805 echo $ECHO_N "(cached) $ECHO_C" >&6
82806 else
82807 if test x$gcc_no_link = xyes; then
82808 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82809 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82810 { (exit 1); exit 1; }; }
82811 fi
82812 cat >conftest.$ac_ext <<_ACEOF
82813 /* confdefs.h. */
82814 _ACEOF
82815 cat confdefs.h >>conftest.$ac_ext
82816 cat >>conftest.$ac_ext <<_ACEOF
82817 /* end confdefs.h. */
82818 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
82819 For example, HP-UX 11i <limits.h> declares gettimeofday. */
82820 #define $ac_func innocuous_$ac_func
82821
82822 /* System header to define __stub macros and hopefully few prototypes,
82823 which can conflict with char $ac_func (); below.
82824 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
82825 <limits.h> exists even on freestanding compilers. */
82826
82827 #ifdef __STDC__
82828 # include <limits.h>
82829 #else
82830 # include <assert.h>
82831 #endif
82832
82833 #undef $ac_func
82834
82835 /* Override any gcc2 internal prototype to avoid an error. */
82836 #ifdef __cplusplus
82837 extern "C"
82838 {
82839 #endif
82840 /* We use char because int might match the return type of a gcc2
82841 builtin and then its argument prototype would still apply. */
82842 char $ac_func ();
82843 /* The GNU C library defines this for functions which it implements
82844 to always fail with ENOSYS. Some functions are actually named
82845 something starting with __ and the normal name is an alias. */
82846 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
82847 choke me
82848 #else
82849 char (*f) () = $ac_func;
82850 #endif
82851 #ifdef __cplusplus
82852 }
82853 #endif
82854
82855 int
82856 main ()
82857 {
82858 return f != $ac_func;
82859 ;
82860 return 0;
82861 }
82862 _ACEOF
82863 rm -f conftest.$ac_objext conftest$ac_exeext
82864 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82865 (eval $ac_link) 2>conftest.er1
82866 ac_status=$?
82867 grep -v '^ *+' conftest.er1 >conftest.err
82868 rm -f conftest.er1
82869 cat conftest.err >&5
82870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82871 (exit $ac_status); } &&
82872 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
82873 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82874 (eval $ac_try) 2>&5
82875 ac_status=$?
82876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82877 (exit $ac_status); }; } &&
82878 { ac_try='test -s conftest$ac_exeext'
82879 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82880 (eval $ac_try) 2>&5
82881 ac_status=$?
82882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82883 (exit $ac_status); }; }; then
82884 eval "$as_ac_var=yes"
82885 else
82886 echo "$as_me: failed program was:" >&5
82887 sed 's/^/| /' conftest.$ac_ext >&5
82888
82889 eval "$as_ac_var=no"
82890 fi
82891 rm -f conftest.err conftest.$ac_objext \
82892 conftest$ac_exeext conftest.$ac_ext
82893 fi
82894 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
82895 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
82896 if test `eval echo '${'$as_ac_var'}'` = yes; then
82897 cat >>confdefs.h <<_ACEOF
82898 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
82899 _ACEOF
82900
82901 fi
82902 done
82903
82904 fi
82905 fi
82906
82907
82908
82909
82910
82911
82912 echo "$as_me:$LINENO: checking for atan2f declaration" >&5
82913 echo $ECHO_N "checking for atan2f declaration... $ECHO_C" >&6
82914 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
82915 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then
82916 echo $ECHO_N "(cached) $ECHO_C" >&6
82917 else
82918
82919
82920
82921 ac_ext=cc
82922 ac_cpp='$CXXCPP $CPPFLAGS'
82923 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82924 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82925 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
82926
82927 cat >conftest.$ac_ext <<_ACEOF
82928 /* confdefs.h. */
82929 _ACEOF
82930 cat confdefs.h >>conftest.$ac_ext
82931 cat >>conftest.$ac_ext <<_ACEOF
82932 /* end confdefs.h. */
82933 #include <math.h>
82934 int
82935 main ()
82936 {
82937 atan2f(0, 0);
82938 ;
82939 return 0;
82940 }
82941 _ACEOF
82942 rm -f conftest.$ac_objext
82943 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82944 (eval $ac_compile) 2>conftest.er1
82945 ac_status=$?
82946 grep -v '^ *+' conftest.er1 >conftest.err
82947 rm -f conftest.er1
82948 cat conftest.err >&5
82949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82950 (exit $ac_status); } &&
82951 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
82952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82953 (eval $ac_try) 2>&5
82954 ac_status=$?
82955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82956 (exit $ac_status); }; } &&
82957 { ac_try='test -s conftest.$ac_objext'
82958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82959 (eval $ac_try) 2>&5
82960 ac_status=$?
82961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82962 (exit $ac_status); }; }; then
82963 glibcxx_cv_func_atan2f_use=yes
82964 else
82965 echo "$as_me: failed program was:" >&5
82966 sed 's/^/| /' conftest.$ac_ext >&5
82967
82968 glibcxx_cv_func_atan2f_use=no
82969 fi
82970 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
82971 ac_ext=c
82972 ac_cpp='$CPP $CPPFLAGS'
82973 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82974 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82975 ac_compiler_gnu=$ac_cv_c_compiler_gnu
82976
82977
82978 fi
82979
82980 fi
82981 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2f_use" >&5
82982 echo "${ECHO_T}$glibcxx_cv_func_atan2f_use" >&6
82983
82984 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
82985
82986 for ac_func in atan2f
82987 do
82988 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
82989 echo "$as_me:$LINENO: checking for $ac_func" >&5
82990 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
82991 if eval "test \"\${$as_ac_var+set}\" = set"; then
82992 echo $ECHO_N "(cached) $ECHO_C" >&6
82993 else
82994 if test x$gcc_no_link = xyes; then
82995 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82996 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82997 { (exit 1); exit 1; }; }
82998 fi
82999 cat >conftest.$ac_ext <<_ACEOF
83000 /* confdefs.h. */
83001 _ACEOF
83002 cat confdefs.h >>conftest.$ac_ext
83003 cat >>conftest.$ac_ext <<_ACEOF
83004 /* end confdefs.h. */
83005 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
83006 For example, HP-UX 11i <limits.h> declares gettimeofday. */
83007 #define $ac_func innocuous_$ac_func
83008
83009 /* System header to define __stub macros and hopefully few prototypes,
83010 which can conflict with char $ac_func (); below.
83011 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
83012 <limits.h> exists even on freestanding compilers. */
83013
83014 #ifdef __STDC__
83015 # include <limits.h>
83016 #else
83017 # include <assert.h>
83018 #endif
83019
83020 #undef $ac_func
83021
83022 /* Override any gcc2 internal prototype to avoid an error. */
83023 #ifdef __cplusplus
83024 extern "C"
83025 {
83026 #endif
83027 /* We use char because int might match the return type of a gcc2
83028 builtin and then its argument prototype would still apply. */
83029 char $ac_func ();
83030 /* The GNU C library defines this for functions which it implements
83031 to always fail with ENOSYS. Some functions are actually named
83032 something starting with __ and the normal name is an alias. */
83033 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
83034 choke me
83035 #else
83036 char (*f) () = $ac_func;
83037 #endif
83038 #ifdef __cplusplus
83039 }
83040 #endif
83041
83042 int
83043 main ()
83044 {
83045 return f != $ac_func;
83046 ;
83047 return 0;
83048 }
83049 _ACEOF
83050 rm -f conftest.$ac_objext conftest$ac_exeext
83051 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83052 (eval $ac_link) 2>conftest.er1
83053 ac_status=$?
83054 grep -v '^ *+' conftest.er1 >conftest.err
83055 rm -f conftest.er1
83056 cat conftest.err >&5
83057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83058 (exit $ac_status); } &&
83059 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
83060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83061 (eval $ac_try) 2>&5
83062 ac_status=$?
83063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83064 (exit $ac_status); }; } &&
83065 { ac_try='test -s conftest$ac_exeext'
83066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83067 (eval $ac_try) 2>&5
83068 ac_status=$?
83069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83070 (exit $ac_status); }; }; then
83071 eval "$as_ac_var=yes"
83072 else
83073 echo "$as_me: failed program was:" >&5
83074 sed 's/^/| /' conftest.$ac_ext >&5
83075
83076 eval "$as_ac_var=no"
83077 fi
83078 rm -f conftest.err conftest.$ac_objext \
83079 conftest$ac_exeext conftest.$ac_ext
83080 fi
83081 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
83082 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
83083 if test `eval echo '${'$as_ac_var'}'` = yes; then
83084 cat >>confdefs.h <<_ACEOF
83085 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
83086 _ACEOF
83087
83088 fi
83089 done
83090
83091 else
83092
83093 echo "$as_me:$LINENO: checking for _atan2f declaration" >&5
83094 echo $ECHO_N "checking for _atan2f declaration... $ECHO_C" >&6
83095 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
83096 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then
83097 echo $ECHO_N "(cached) $ECHO_C" >&6
83098 else
83099
83100
83101
83102 ac_ext=cc
83103 ac_cpp='$CXXCPP $CPPFLAGS'
83104 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83105 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83106 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
83107
83108 cat >conftest.$ac_ext <<_ACEOF
83109 /* confdefs.h. */
83110 _ACEOF
83111 cat confdefs.h >>conftest.$ac_ext
83112 cat >>conftest.$ac_ext <<_ACEOF
83113 /* end confdefs.h. */
83114 #include <math.h>
83115 int
83116 main ()
83117 {
83118 _atan2f(0, 0);
83119 ;
83120 return 0;
83121 }
83122 _ACEOF
83123 rm -f conftest.$ac_objext
83124 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
83125 (eval $ac_compile) 2>conftest.er1
83126 ac_status=$?
83127 grep -v '^ *+' conftest.er1 >conftest.err
83128 rm -f conftest.er1
83129 cat conftest.err >&5
83130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83131 (exit $ac_status); } &&
83132 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
83133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83134 (eval $ac_try) 2>&5
83135 ac_status=$?
83136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83137 (exit $ac_status); }; } &&
83138 { ac_try='test -s conftest.$ac_objext'
83139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83140 (eval $ac_try) 2>&5
83141 ac_status=$?
83142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83143 (exit $ac_status); }; }; then
83144 glibcxx_cv_func__atan2f_use=yes
83145 else
83146 echo "$as_me: failed program was:" >&5
83147 sed 's/^/| /' conftest.$ac_ext >&5
83148
83149 glibcxx_cv_func__atan2f_use=no
83150 fi
83151 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83152 ac_ext=c
83153 ac_cpp='$CPP $CPPFLAGS'
83154 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83155 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83156 ac_compiler_gnu=$ac_cv_c_compiler_gnu
83157
83158
83159 fi
83160
83161 fi
83162 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2f_use" >&5
83163 echo "${ECHO_T}$glibcxx_cv_func__atan2f_use" >&6
83164
83165 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
83166
83167 for ac_func in _atan2f
83168 do
83169 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
83170 echo "$as_me:$LINENO: checking for $ac_func" >&5
83171 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
83172 if eval "test \"\${$as_ac_var+set}\" = set"; then
83173 echo $ECHO_N "(cached) $ECHO_C" >&6
83174 else
83175 if test x$gcc_no_link = xyes; then
83176 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83177 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83178 { (exit 1); exit 1; }; }
83179 fi
83180 cat >conftest.$ac_ext <<_ACEOF
83181 /* confdefs.h. */
83182 _ACEOF
83183 cat confdefs.h >>conftest.$ac_ext
83184 cat >>conftest.$ac_ext <<_ACEOF
83185 /* end confdefs.h. */
83186 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
83187 For example, HP-UX 11i <limits.h> declares gettimeofday. */
83188 #define $ac_func innocuous_$ac_func
83189
83190 /* System header to define __stub macros and hopefully few prototypes,
83191 which can conflict with char $ac_func (); below.
83192 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
83193 <limits.h> exists even on freestanding compilers. */
83194
83195 #ifdef __STDC__
83196 # include <limits.h>
83197 #else
83198 # include <assert.h>
83199 #endif
83200
83201 #undef $ac_func
83202
83203 /* Override any gcc2 internal prototype to avoid an error. */
83204 #ifdef __cplusplus
83205 extern "C"
83206 {
83207 #endif
83208 /* We use char because int might match the return type of a gcc2
83209 builtin and then its argument prototype would still apply. */
83210 char $ac_func ();
83211 /* The GNU C library defines this for functions which it implements
83212 to always fail with ENOSYS. Some functions are actually named
83213 something starting with __ and the normal name is an alias. */
83214 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
83215 choke me
83216 #else
83217 char (*f) () = $ac_func;
83218 #endif
83219 #ifdef __cplusplus
83220 }
83221 #endif
83222
83223 int
83224 main ()
83225 {
83226 return f != $ac_func;
83227 ;
83228 return 0;
83229 }
83230 _ACEOF
83231 rm -f conftest.$ac_objext conftest$ac_exeext
83232 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83233 (eval $ac_link) 2>conftest.er1
83234 ac_status=$?
83235 grep -v '^ *+' conftest.er1 >conftest.err
83236 rm -f conftest.er1
83237 cat conftest.err >&5
83238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83239 (exit $ac_status); } &&
83240 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
83241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83242 (eval $ac_try) 2>&5
83243 ac_status=$?
83244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83245 (exit $ac_status); }; } &&
83246 { ac_try='test -s conftest$ac_exeext'
83247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83248 (eval $ac_try) 2>&5
83249 ac_status=$?
83250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83251 (exit $ac_status); }; }; then
83252 eval "$as_ac_var=yes"
83253 else
83254 echo "$as_me: failed program was:" >&5
83255 sed 's/^/| /' conftest.$ac_ext >&5
83256
83257 eval "$as_ac_var=no"
83258 fi
83259 rm -f conftest.err conftest.$ac_objext \
83260 conftest$ac_exeext conftest.$ac_ext
83261 fi
83262 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
83263 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
83264 if test `eval echo '${'$as_ac_var'}'` = yes; then
83265 cat >>confdefs.h <<_ACEOF
83266 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
83267 _ACEOF
83268
83269 fi
83270 done
83271
83272 fi
83273 fi
83274
83275
83276
83277
83278
83279
83280 echo "$as_me:$LINENO: checking for fabsf declaration" >&5
83281 echo $ECHO_N "checking for fabsf declaration... $ECHO_C" >&6
83282 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
83283 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then
83284 echo $ECHO_N "(cached) $ECHO_C" >&6
83285 else
83286
83287
83288
83289 ac_ext=cc
83290 ac_cpp='$CXXCPP $CPPFLAGS'
83291 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83292 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83293 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
83294
83295 cat >conftest.$ac_ext <<_ACEOF
83296 /* confdefs.h. */
83297 _ACEOF
83298 cat confdefs.h >>conftest.$ac_ext
83299 cat >>conftest.$ac_ext <<_ACEOF
83300 /* end confdefs.h. */
83301 #include <math.h>
83302 #ifdef HAVE_IEEEFP_H
83303 #include <ieeefp.h>
83304 #endif
83305
83306 int
83307 main ()
83308 {
83309 fabsf(0);
83310 ;
83311 return 0;
83312 }
83313 _ACEOF
83314 rm -f conftest.$ac_objext
83315 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
83316 (eval $ac_compile) 2>conftest.er1
83317 ac_status=$?
83318 grep -v '^ *+' conftest.er1 >conftest.err
83319 rm -f conftest.er1
83320 cat conftest.err >&5
83321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83322 (exit $ac_status); } &&
83323 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
83324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83325 (eval $ac_try) 2>&5
83326 ac_status=$?
83327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83328 (exit $ac_status); }; } &&
83329 { ac_try='test -s conftest.$ac_objext'
83330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83331 (eval $ac_try) 2>&5
83332 ac_status=$?
83333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83334 (exit $ac_status); }; }; then
83335 glibcxx_cv_func_fabsf_use=yes
83336 else
83337 echo "$as_me: failed program was:" >&5
83338 sed 's/^/| /' conftest.$ac_ext >&5
83339
83340 glibcxx_cv_func_fabsf_use=no
83341 fi
83342 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83343 ac_ext=c
83344 ac_cpp='$CPP $CPPFLAGS'
83345 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83346 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83347 ac_compiler_gnu=$ac_cv_c_compiler_gnu
83348
83349
83350 fi
83351
83352 fi
83353 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsf_use" >&5
83354 echo "${ECHO_T}$glibcxx_cv_func_fabsf_use" >&6
83355
83356 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
83357
83358 for ac_func in fabsf
83359 do
83360 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
83361 echo "$as_me:$LINENO: checking for $ac_func" >&5
83362 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
83363 if eval "test \"\${$as_ac_var+set}\" = set"; then
83364 echo $ECHO_N "(cached) $ECHO_C" >&6
83365 else
83366 if test x$gcc_no_link = xyes; then
83367 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83368 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83369 { (exit 1); exit 1; }; }
83370 fi
83371 cat >conftest.$ac_ext <<_ACEOF
83372 /* confdefs.h. */
83373 _ACEOF
83374 cat confdefs.h >>conftest.$ac_ext
83375 cat >>conftest.$ac_ext <<_ACEOF
83376 /* end confdefs.h. */
83377 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
83378 For example, HP-UX 11i <limits.h> declares gettimeofday. */
83379 #define $ac_func innocuous_$ac_func
83380
83381 /* System header to define __stub macros and hopefully few prototypes,
83382 which can conflict with char $ac_func (); below.
83383 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
83384 <limits.h> exists even on freestanding compilers. */
83385
83386 #ifdef __STDC__
83387 # include <limits.h>
83388 #else
83389 # include <assert.h>
83390 #endif
83391
83392 #undef $ac_func
83393
83394 /* Override any gcc2 internal prototype to avoid an error. */
83395 #ifdef __cplusplus
83396 extern "C"
83397 {
83398 #endif
83399 /* We use char because int might match the return type of a gcc2
83400 builtin and then its argument prototype would still apply. */
83401 char $ac_func ();
83402 /* The GNU C library defines this for functions which it implements
83403 to always fail with ENOSYS. Some functions are actually named
83404 something starting with __ and the normal name is an alias. */
83405 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
83406 choke me
83407 #else
83408 char (*f) () = $ac_func;
83409 #endif
83410 #ifdef __cplusplus
83411 }
83412 #endif
83413
83414 int
83415 main ()
83416 {
83417 return f != $ac_func;
83418 ;
83419 return 0;
83420 }
83421 _ACEOF
83422 rm -f conftest.$ac_objext conftest$ac_exeext
83423 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83424 (eval $ac_link) 2>conftest.er1
83425 ac_status=$?
83426 grep -v '^ *+' conftest.er1 >conftest.err
83427 rm -f conftest.er1
83428 cat conftest.err >&5
83429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83430 (exit $ac_status); } &&
83431 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
83432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83433 (eval $ac_try) 2>&5
83434 ac_status=$?
83435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83436 (exit $ac_status); }; } &&
83437 { ac_try='test -s conftest$ac_exeext'
83438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83439 (eval $ac_try) 2>&5
83440 ac_status=$?
83441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83442 (exit $ac_status); }; }; then
83443 eval "$as_ac_var=yes"
83444 else
83445 echo "$as_me: failed program was:" >&5
83446 sed 's/^/| /' conftest.$ac_ext >&5
83447
83448 eval "$as_ac_var=no"
83449 fi
83450 rm -f conftest.err conftest.$ac_objext \
83451 conftest$ac_exeext conftest.$ac_ext
83452 fi
83453 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
83454 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
83455 if test `eval echo '${'$as_ac_var'}'` = yes; then
83456 cat >>confdefs.h <<_ACEOF
83457 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
83458 _ACEOF
83459
83460 fi
83461 done
83462
83463 else
83464
83465 echo "$as_me:$LINENO: checking for _fabsf declaration" >&5
83466 echo $ECHO_N "checking for _fabsf declaration... $ECHO_C" >&6
83467 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
83468 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then
83469 echo $ECHO_N "(cached) $ECHO_C" >&6
83470 else
83471
83472
83473
83474 ac_ext=cc
83475 ac_cpp='$CXXCPP $CPPFLAGS'
83476 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83477 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83478 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
83479
83480 cat >conftest.$ac_ext <<_ACEOF
83481 /* confdefs.h. */
83482 _ACEOF
83483 cat confdefs.h >>conftest.$ac_ext
83484 cat >>conftest.$ac_ext <<_ACEOF
83485 /* end confdefs.h. */
83486 #include <math.h>
83487 #ifdef HAVE_IEEEFP_H
83488 #include <ieeefp.h>
83489 #endif
83490
83491 int
83492 main ()
83493 {
83494 _fabsf(0);
83495 ;
83496 return 0;
83497 }
83498 _ACEOF
83499 rm -f conftest.$ac_objext
83500 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
83501 (eval $ac_compile) 2>conftest.er1
83502 ac_status=$?
83503 grep -v '^ *+' conftest.er1 >conftest.err
83504 rm -f conftest.er1
83505 cat conftest.err >&5
83506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83507 (exit $ac_status); } &&
83508 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
83509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83510 (eval $ac_try) 2>&5
83511 ac_status=$?
83512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83513 (exit $ac_status); }; } &&
83514 { ac_try='test -s conftest.$ac_objext'
83515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83516 (eval $ac_try) 2>&5
83517 ac_status=$?
83518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83519 (exit $ac_status); }; }; then
83520 glibcxx_cv_func__fabsf_use=yes
83521 else
83522 echo "$as_me: failed program was:" >&5
83523 sed 's/^/| /' conftest.$ac_ext >&5
83524
83525 glibcxx_cv_func__fabsf_use=no
83526 fi
83527 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83528 ac_ext=c
83529 ac_cpp='$CPP $CPPFLAGS'
83530 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83531 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83532 ac_compiler_gnu=$ac_cv_c_compiler_gnu
83533
83534
83535 fi
83536
83537 fi
83538 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsf_use" >&5
83539 echo "${ECHO_T}$glibcxx_cv_func__fabsf_use" >&6
83540
83541 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
83542
83543 for ac_func in _fabsf
83544 do
83545 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
83546 echo "$as_me:$LINENO: checking for $ac_func" >&5
83547 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
83548 if eval "test \"\${$as_ac_var+set}\" = set"; then
83549 echo $ECHO_N "(cached) $ECHO_C" >&6
83550 else
83551 if test x$gcc_no_link = xyes; then
83552 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83553 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83554 { (exit 1); exit 1; }; }
83555 fi
83556 cat >conftest.$ac_ext <<_ACEOF
83557 /* confdefs.h. */
83558 _ACEOF
83559 cat confdefs.h >>conftest.$ac_ext
83560 cat >>conftest.$ac_ext <<_ACEOF
83561 /* end confdefs.h. */
83562 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
83563 For example, HP-UX 11i <limits.h> declares gettimeofday. */
83564 #define $ac_func innocuous_$ac_func
83565
83566 /* System header to define __stub macros and hopefully few prototypes,
83567 which can conflict with char $ac_func (); below.
83568 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
83569 <limits.h> exists even on freestanding compilers. */
83570
83571 #ifdef __STDC__
83572 # include <limits.h>
83573 #else
83574 # include <assert.h>
83575 #endif
83576
83577 #undef $ac_func
83578
83579 /* Override any gcc2 internal prototype to avoid an error. */
83580 #ifdef __cplusplus
83581 extern "C"
83582 {
83583 #endif
83584 /* We use char because int might match the return type of a gcc2
83585 builtin and then its argument prototype would still apply. */
83586 char $ac_func ();
83587 /* The GNU C library defines this for functions which it implements
83588 to always fail with ENOSYS. Some functions are actually named
83589 something starting with __ and the normal name is an alias. */
83590 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
83591 choke me
83592 #else
83593 char (*f) () = $ac_func;
83594 #endif
83595 #ifdef __cplusplus
83596 }
83597 #endif
83598
83599 int
83600 main ()
83601 {
83602 return f != $ac_func;
83603 ;
83604 return 0;
83605 }
83606 _ACEOF
83607 rm -f conftest.$ac_objext conftest$ac_exeext
83608 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83609 (eval $ac_link) 2>conftest.er1
83610 ac_status=$?
83611 grep -v '^ *+' conftest.er1 >conftest.err
83612 rm -f conftest.er1
83613 cat conftest.err >&5
83614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83615 (exit $ac_status); } &&
83616 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
83617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83618 (eval $ac_try) 2>&5
83619 ac_status=$?
83620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83621 (exit $ac_status); }; } &&
83622 { ac_try='test -s conftest$ac_exeext'
83623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83624 (eval $ac_try) 2>&5
83625 ac_status=$?
83626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83627 (exit $ac_status); }; }; then
83628 eval "$as_ac_var=yes"
83629 else
83630 echo "$as_me: failed program was:" >&5
83631 sed 's/^/| /' conftest.$ac_ext >&5
83632
83633 eval "$as_ac_var=no"
83634 fi
83635 rm -f conftest.err conftest.$ac_objext \
83636 conftest$ac_exeext conftest.$ac_ext
83637 fi
83638 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
83639 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
83640 if test `eval echo '${'$as_ac_var'}'` = yes; then
83641 cat >>confdefs.h <<_ACEOF
83642 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
83643 _ACEOF
83644
83645 fi
83646 done
83647
83648 fi
83649 fi
83650
83651
83652
83653
83654
83655
83656 echo "$as_me:$LINENO: checking for fmodf declaration" >&5
83657 echo $ECHO_N "checking for fmodf declaration... $ECHO_C" >&6
83658 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
83659 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then
83660 echo $ECHO_N "(cached) $ECHO_C" >&6
83661 else
83662
83663
83664
83665 ac_ext=cc
83666 ac_cpp='$CXXCPP $CPPFLAGS'
83667 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83668 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83669 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
83670
83671 cat >conftest.$ac_ext <<_ACEOF
83672 /* confdefs.h. */
83673 _ACEOF
83674 cat confdefs.h >>conftest.$ac_ext
83675 cat >>conftest.$ac_ext <<_ACEOF
83676 /* end confdefs.h. */
83677 #include <math.h>
83678 int
83679 main ()
83680 {
83681 fmodf(0, 0);
83682 ;
83683 return 0;
83684 }
83685 _ACEOF
83686 rm -f conftest.$ac_objext
83687 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
83688 (eval $ac_compile) 2>conftest.er1
83689 ac_status=$?
83690 grep -v '^ *+' conftest.er1 >conftest.err
83691 rm -f conftest.er1
83692 cat conftest.err >&5
83693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83694 (exit $ac_status); } &&
83695 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
83696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83697 (eval $ac_try) 2>&5
83698 ac_status=$?
83699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83700 (exit $ac_status); }; } &&
83701 { ac_try='test -s conftest.$ac_objext'
83702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83703 (eval $ac_try) 2>&5
83704 ac_status=$?
83705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83706 (exit $ac_status); }; }; then
83707 glibcxx_cv_func_fmodf_use=yes
83708 else
83709 echo "$as_me: failed program was:" >&5
83710 sed 's/^/| /' conftest.$ac_ext >&5
83711
83712 glibcxx_cv_func_fmodf_use=no
83713 fi
83714 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83715 ac_ext=c
83716 ac_cpp='$CPP $CPPFLAGS'
83717 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83718 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83719 ac_compiler_gnu=$ac_cv_c_compiler_gnu
83720
83721
83722 fi
83723
83724 fi
83725 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodf_use" >&5
83726 echo "${ECHO_T}$glibcxx_cv_func_fmodf_use" >&6
83727
83728 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
83729
83730 for ac_func in fmodf
83731 do
83732 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
83733 echo "$as_me:$LINENO: checking for $ac_func" >&5
83734 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
83735 if eval "test \"\${$as_ac_var+set}\" = set"; then
83736 echo $ECHO_N "(cached) $ECHO_C" >&6
83737 else
83738 if test x$gcc_no_link = xyes; then
83739 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83740 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83741 { (exit 1); exit 1; }; }
83742 fi
83743 cat >conftest.$ac_ext <<_ACEOF
83744 /* confdefs.h. */
83745 _ACEOF
83746 cat confdefs.h >>conftest.$ac_ext
83747 cat >>conftest.$ac_ext <<_ACEOF
83748 /* end confdefs.h. */
83749 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
83750 For example, HP-UX 11i <limits.h> declares gettimeofday. */
83751 #define $ac_func innocuous_$ac_func
83752
83753 /* System header to define __stub macros and hopefully few prototypes,
83754 which can conflict with char $ac_func (); below.
83755 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
83756 <limits.h> exists even on freestanding compilers. */
83757
83758 #ifdef __STDC__
83759 # include <limits.h>
83760 #else
83761 # include <assert.h>
83762 #endif
83763
83764 #undef $ac_func
83765
83766 /* Override any gcc2 internal prototype to avoid an error. */
83767 #ifdef __cplusplus
83768 extern "C"
83769 {
83770 #endif
83771 /* We use char because int might match the return type of a gcc2
83772 builtin and then its argument prototype would still apply. */
83773 char $ac_func ();
83774 /* The GNU C library defines this for functions which it implements
83775 to always fail with ENOSYS. Some functions are actually named
83776 something starting with __ and the normal name is an alias. */
83777 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
83778 choke me
83779 #else
83780 char (*f) () = $ac_func;
83781 #endif
83782 #ifdef __cplusplus
83783 }
83784 #endif
83785
83786 int
83787 main ()
83788 {
83789 return f != $ac_func;
83790 ;
83791 return 0;
83792 }
83793 _ACEOF
83794 rm -f conftest.$ac_objext conftest$ac_exeext
83795 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83796 (eval $ac_link) 2>conftest.er1
83797 ac_status=$?
83798 grep -v '^ *+' conftest.er1 >conftest.err
83799 rm -f conftest.er1
83800 cat conftest.err >&5
83801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83802 (exit $ac_status); } &&
83803 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
83804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83805 (eval $ac_try) 2>&5
83806 ac_status=$?
83807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83808 (exit $ac_status); }; } &&
83809 { ac_try='test -s conftest$ac_exeext'
83810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83811 (eval $ac_try) 2>&5
83812 ac_status=$?
83813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83814 (exit $ac_status); }; }; then
83815 eval "$as_ac_var=yes"
83816 else
83817 echo "$as_me: failed program was:" >&5
83818 sed 's/^/| /' conftest.$ac_ext >&5
83819
83820 eval "$as_ac_var=no"
83821 fi
83822 rm -f conftest.err conftest.$ac_objext \
83823 conftest$ac_exeext conftest.$ac_ext
83824 fi
83825 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
83826 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
83827 if test `eval echo '${'$as_ac_var'}'` = yes; then
83828 cat >>confdefs.h <<_ACEOF
83829 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
83830 _ACEOF
83831
83832 fi
83833 done
83834
83835 else
83836
83837 echo "$as_me:$LINENO: checking for _fmodf declaration" >&5
83838 echo $ECHO_N "checking for _fmodf declaration... $ECHO_C" >&6
83839 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
83840 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then
83841 echo $ECHO_N "(cached) $ECHO_C" >&6
83842 else
83843
83844
83845
83846 ac_ext=cc
83847 ac_cpp='$CXXCPP $CPPFLAGS'
83848 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83849 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83850 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
83851
83852 cat >conftest.$ac_ext <<_ACEOF
83853 /* confdefs.h. */
83854 _ACEOF
83855 cat confdefs.h >>conftest.$ac_ext
83856 cat >>conftest.$ac_ext <<_ACEOF
83857 /* end confdefs.h. */
83858 #include <math.h>
83859 int
83860 main ()
83861 {
83862 _fmodf(0, 0);
83863 ;
83864 return 0;
83865 }
83866 _ACEOF
83867 rm -f conftest.$ac_objext
83868 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
83869 (eval $ac_compile) 2>conftest.er1
83870 ac_status=$?
83871 grep -v '^ *+' conftest.er1 >conftest.err
83872 rm -f conftest.er1
83873 cat conftest.err >&5
83874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83875 (exit $ac_status); } &&
83876 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
83877 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83878 (eval $ac_try) 2>&5
83879 ac_status=$?
83880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83881 (exit $ac_status); }; } &&
83882 { ac_try='test -s conftest.$ac_objext'
83883 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83884 (eval $ac_try) 2>&5
83885 ac_status=$?
83886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83887 (exit $ac_status); }; }; then
83888 glibcxx_cv_func__fmodf_use=yes
83889 else
83890 echo "$as_me: failed program was:" >&5
83891 sed 's/^/| /' conftest.$ac_ext >&5
83892
83893 glibcxx_cv_func__fmodf_use=no
83894 fi
83895 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83896 ac_ext=c
83897 ac_cpp='$CPP $CPPFLAGS'
83898 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83899 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83900 ac_compiler_gnu=$ac_cv_c_compiler_gnu
83901
83902
83903 fi
83904
83905 fi
83906 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodf_use" >&5
83907 echo "${ECHO_T}$glibcxx_cv_func__fmodf_use" >&6
83908
83909 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
83910
83911 for ac_func in _fmodf
83912 do
83913 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
83914 echo "$as_me:$LINENO: checking for $ac_func" >&5
83915 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
83916 if eval "test \"\${$as_ac_var+set}\" = set"; then
83917 echo $ECHO_N "(cached) $ECHO_C" >&6
83918 else
83919 if test x$gcc_no_link = xyes; then
83920 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83921 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83922 { (exit 1); exit 1; }; }
83923 fi
83924 cat >conftest.$ac_ext <<_ACEOF
83925 /* confdefs.h. */
83926 _ACEOF
83927 cat confdefs.h >>conftest.$ac_ext
83928 cat >>conftest.$ac_ext <<_ACEOF
83929 /* end confdefs.h. */
83930 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
83931 For example, HP-UX 11i <limits.h> declares gettimeofday. */
83932 #define $ac_func innocuous_$ac_func
83933
83934 /* System header to define __stub macros and hopefully few prototypes,
83935 which can conflict with char $ac_func (); below.
83936 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
83937 <limits.h> exists even on freestanding compilers. */
83938
83939 #ifdef __STDC__
83940 # include <limits.h>
83941 #else
83942 # include <assert.h>
83943 #endif
83944
83945 #undef $ac_func
83946
83947 /* Override any gcc2 internal prototype to avoid an error. */
83948 #ifdef __cplusplus
83949 extern "C"
83950 {
83951 #endif
83952 /* We use char because int might match the return type of a gcc2
83953 builtin and then its argument prototype would still apply. */
83954 char $ac_func ();
83955 /* The GNU C library defines this for functions which it implements
83956 to always fail with ENOSYS. Some functions are actually named
83957 something starting with __ and the normal name is an alias. */
83958 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
83959 choke me
83960 #else
83961 char (*f) () = $ac_func;
83962 #endif
83963 #ifdef __cplusplus
83964 }
83965 #endif
83966
83967 int
83968 main ()
83969 {
83970 return f != $ac_func;
83971 ;
83972 return 0;
83973 }
83974 _ACEOF
83975 rm -f conftest.$ac_objext conftest$ac_exeext
83976 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83977 (eval $ac_link) 2>conftest.er1
83978 ac_status=$?
83979 grep -v '^ *+' conftest.er1 >conftest.err
83980 rm -f conftest.er1
83981 cat conftest.err >&5
83982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83983 (exit $ac_status); } &&
83984 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
83985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83986 (eval $ac_try) 2>&5
83987 ac_status=$?
83988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83989 (exit $ac_status); }; } &&
83990 { ac_try='test -s conftest$ac_exeext'
83991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83992 (eval $ac_try) 2>&5
83993 ac_status=$?
83994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83995 (exit $ac_status); }; }; then
83996 eval "$as_ac_var=yes"
83997 else
83998 echo "$as_me: failed program was:" >&5
83999 sed 's/^/| /' conftest.$ac_ext >&5
84000
84001 eval "$as_ac_var=no"
84002 fi
84003 rm -f conftest.err conftest.$ac_objext \
84004 conftest$ac_exeext conftest.$ac_ext
84005 fi
84006 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
84007 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
84008 if test `eval echo '${'$as_ac_var'}'` = yes; then
84009 cat >>confdefs.h <<_ACEOF
84010 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
84011 _ACEOF
84012
84013 fi
84014 done
84015
84016 fi
84017 fi
84018
84019
84020
84021
84022
84023
84024 echo "$as_me:$LINENO: checking for frexpf declaration" >&5
84025 echo $ECHO_N "checking for frexpf declaration... $ECHO_C" >&6
84026 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
84027 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then
84028 echo $ECHO_N "(cached) $ECHO_C" >&6
84029 else
84030
84031
84032
84033 ac_ext=cc
84034 ac_cpp='$CXXCPP $CPPFLAGS'
84035 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84036 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
84037 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
84038
84039 cat >conftest.$ac_ext <<_ACEOF
84040 /* confdefs.h. */
84041 _ACEOF
84042 cat confdefs.h >>conftest.$ac_ext
84043 cat >>conftest.$ac_ext <<_ACEOF
84044 /* end confdefs.h. */
84045 #include <math.h>
84046 int
84047 main ()
84048 {
84049 frexpf(0, 0);
84050 ;
84051 return 0;
84052 }
84053 _ACEOF
84054 rm -f conftest.$ac_objext
84055 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
84056 (eval $ac_compile) 2>conftest.er1
84057 ac_status=$?
84058 grep -v '^ *+' conftest.er1 >conftest.err
84059 rm -f conftest.er1
84060 cat conftest.err >&5
84061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84062 (exit $ac_status); } &&
84063 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
84064 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84065 (eval $ac_try) 2>&5
84066 ac_status=$?
84067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84068 (exit $ac_status); }; } &&
84069 { ac_try='test -s conftest.$ac_objext'
84070 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84071 (eval $ac_try) 2>&5
84072 ac_status=$?
84073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84074 (exit $ac_status); }; }; then
84075 glibcxx_cv_func_frexpf_use=yes
84076 else
84077 echo "$as_me: failed program was:" >&5
84078 sed 's/^/| /' conftest.$ac_ext >&5
84079
84080 glibcxx_cv_func_frexpf_use=no
84081 fi
84082 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
84083 ac_ext=c
84084 ac_cpp='$CPP $CPPFLAGS'
84085 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84086 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
84087 ac_compiler_gnu=$ac_cv_c_compiler_gnu
84088
84089
84090 fi
84091
84092 fi
84093 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpf_use" >&5
84094 echo "${ECHO_T}$glibcxx_cv_func_frexpf_use" >&6
84095
84096 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
84097
84098 for ac_func in frexpf
84099 do
84100 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
84101 echo "$as_me:$LINENO: checking for $ac_func" >&5
84102 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
84103 if eval "test \"\${$as_ac_var+set}\" = set"; then
84104 echo $ECHO_N "(cached) $ECHO_C" >&6
84105 else
84106 if test x$gcc_no_link = xyes; then
84107 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84108 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84109 { (exit 1); exit 1; }; }
84110 fi
84111 cat >conftest.$ac_ext <<_ACEOF
84112 /* confdefs.h. */
84113 _ACEOF
84114 cat confdefs.h >>conftest.$ac_ext
84115 cat >>conftest.$ac_ext <<_ACEOF
84116 /* end confdefs.h. */
84117 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
84118 For example, HP-UX 11i <limits.h> declares gettimeofday. */
84119 #define $ac_func innocuous_$ac_func
84120
84121 /* System header to define __stub macros and hopefully few prototypes,
84122 which can conflict with char $ac_func (); below.
84123 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
84124 <limits.h> exists even on freestanding compilers. */
84125
84126 #ifdef __STDC__
84127 # include <limits.h>
84128 #else
84129 # include <assert.h>
84130 #endif
84131
84132 #undef $ac_func
84133
84134 /* Override any gcc2 internal prototype to avoid an error. */
84135 #ifdef __cplusplus
84136 extern "C"
84137 {
84138 #endif
84139 /* We use char because int might match the return type of a gcc2
84140 builtin and then its argument prototype would still apply. */
84141 char $ac_func ();
84142 /* The GNU C library defines this for functions which it implements
84143 to always fail with ENOSYS. Some functions are actually named
84144 something starting with __ and the normal name is an alias. */
84145 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
84146 choke me
84147 #else
84148 char (*f) () = $ac_func;
84149 #endif
84150 #ifdef __cplusplus
84151 }
84152 #endif
84153
84154 int
84155 main ()
84156 {
84157 return f != $ac_func;
84158 ;
84159 return 0;
84160 }
84161 _ACEOF
84162 rm -f conftest.$ac_objext conftest$ac_exeext
84163 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84164 (eval $ac_link) 2>conftest.er1
84165 ac_status=$?
84166 grep -v '^ *+' conftest.er1 >conftest.err
84167 rm -f conftest.er1
84168 cat conftest.err >&5
84169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84170 (exit $ac_status); } &&
84171 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
84172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84173 (eval $ac_try) 2>&5
84174 ac_status=$?
84175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84176 (exit $ac_status); }; } &&
84177 { ac_try='test -s conftest$ac_exeext'
84178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84179 (eval $ac_try) 2>&5
84180 ac_status=$?
84181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84182 (exit $ac_status); }; }; then
84183 eval "$as_ac_var=yes"
84184 else
84185 echo "$as_me: failed program was:" >&5
84186 sed 's/^/| /' conftest.$ac_ext >&5
84187
84188 eval "$as_ac_var=no"
84189 fi
84190 rm -f conftest.err conftest.$ac_objext \
84191 conftest$ac_exeext conftest.$ac_ext
84192 fi
84193 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
84194 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
84195 if test `eval echo '${'$as_ac_var'}'` = yes; then
84196 cat >>confdefs.h <<_ACEOF
84197 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
84198 _ACEOF
84199
84200 fi
84201 done
84202
84203 else
84204
84205 echo "$as_me:$LINENO: checking for _frexpf declaration" >&5
84206 echo $ECHO_N "checking for _frexpf declaration... $ECHO_C" >&6
84207 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
84208 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then
84209 echo $ECHO_N "(cached) $ECHO_C" >&6
84210 else
84211
84212
84213
84214 ac_ext=cc
84215 ac_cpp='$CXXCPP $CPPFLAGS'
84216 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84217 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
84218 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
84219
84220 cat >conftest.$ac_ext <<_ACEOF
84221 /* confdefs.h. */
84222 _ACEOF
84223 cat confdefs.h >>conftest.$ac_ext
84224 cat >>conftest.$ac_ext <<_ACEOF
84225 /* end confdefs.h. */
84226 #include <math.h>
84227 int
84228 main ()
84229 {
84230 _frexpf(0, 0);
84231 ;
84232 return 0;
84233 }
84234 _ACEOF
84235 rm -f conftest.$ac_objext
84236 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
84237 (eval $ac_compile) 2>conftest.er1
84238 ac_status=$?
84239 grep -v '^ *+' conftest.er1 >conftest.err
84240 rm -f conftest.er1
84241 cat conftest.err >&5
84242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84243 (exit $ac_status); } &&
84244 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
84245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84246 (eval $ac_try) 2>&5
84247 ac_status=$?
84248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84249 (exit $ac_status); }; } &&
84250 { ac_try='test -s conftest.$ac_objext'
84251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84252 (eval $ac_try) 2>&5
84253 ac_status=$?
84254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84255 (exit $ac_status); }; }; then
84256 glibcxx_cv_func__frexpf_use=yes
84257 else
84258 echo "$as_me: failed program was:" >&5
84259 sed 's/^/| /' conftest.$ac_ext >&5
84260
84261 glibcxx_cv_func__frexpf_use=no
84262 fi
84263 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
84264 ac_ext=c
84265 ac_cpp='$CPP $CPPFLAGS'
84266 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84267 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
84268 ac_compiler_gnu=$ac_cv_c_compiler_gnu
84269
84270
84271 fi
84272
84273 fi
84274 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpf_use" >&5
84275 echo "${ECHO_T}$glibcxx_cv_func__frexpf_use" >&6
84276
84277 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
84278
84279 for ac_func in _frexpf
84280 do
84281 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
84282 echo "$as_me:$LINENO: checking for $ac_func" >&5
84283 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
84284 if eval "test \"\${$as_ac_var+set}\" = set"; then
84285 echo $ECHO_N "(cached) $ECHO_C" >&6
84286 else
84287 if test x$gcc_no_link = xyes; then
84288 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84289 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84290 { (exit 1); exit 1; }; }
84291 fi
84292 cat >conftest.$ac_ext <<_ACEOF
84293 /* confdefs.h. */
84294 _ACEOF
84295 cat confdefs.h >>conftest.$ac_ext
84296 cat >>conftest.$ac_ext <<_ACEOF
84297 /* end confdefs.h. */
84298 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
84299 For example, HP-UX 11i <limits.h> declares gettimeofday. */
84300 #define $ac_func innocuous_$ac_func
84301
84302 /* System header to define __stub macros and hopefully few prototypes,
84303 which can conflict with char $ac_func (); below.
84304 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
84305 <limits.h> exists even on freestanding compilers. */
84306
84307 #ifdef __STDC__
84308 # include <limits.h>
84309 #else
84310 # include <assert.h>
84311 #endif
84312
84313 #undef $ac_func
84314
84315 /* Override any gcc2 internal prototype to avoid an error. */
84316 #ifdef __cplusplus
84317 extern "C"
84318 {
84319 #endif
84320 /* We use char because int might match the return type of a gcc2
84321 builtin and then its argument prototype would still apply. */
84322 char $ac_func ();
84323 /* The GNU C library defines this for functions which it implements
84324 to always fail with ENOSYS. Some functions are actually named
84325 something starting with __ and the normal name is an alias. */
84326 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
84327 choke me
84328 #else
84329 char (*f) () = $ac_func;
84330 #endif
84331 #ifdef __cplusplus
84332 }
84333 #endif
84334
84335 int
84336 main ()
84337 {
84338 return f != $ac_func;
84339 ;
84340 return 0;
84341 }
84342 _ACEOF
84343 rm -f conftest.$ac_objext conftest$ac_exeext
84344 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84345 (eval $ac_link) 2>conftest.er1
84346 ac_status=$?
84347 grep -v '^ *+' conftest.er1 >conftest.err
84348 rm -f conftest.er1
84349 cat conftest.err >&5
84350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84351 (exit $ac_status); } &&
84352 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
84353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84354 (eval $ac_try) 2>&5
84355 ac_status=$?
84356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84357 (exit $ac_status); }; } &&
84358 { ac_try='test -s conftest$ac_exeext'
84359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84360 (eval $ac_try) 2>&5
84361 ac_status=$?
84362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84363 (exit $ac_status); }; }; then
84364 eval "$as_ac_var=yes"
84365 else
84366 echo "$as_me: failed program was:" >&5
84367 sed 's/^/| /' conftest.$ac_ext >&5
84368
84369 eval "$as_ac_var=no"
84370 fi
84371 rm -f conftest.err conftest.$ac_objext \
84372 conftest$ac_exeext conftest.$ac_ext
84373 fi
84374 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
84375 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
84376 if test `eval echo '${'$as_ac_var'}'` = yes; then
84377 cat >>confdefs.h <<_ACEOF
84378 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
84379 _ACEOF
84380
84381 fi
84382 done
84383
84384 fi
84385 fi
84386
84387
84388
84389
84390
84391
84392 echo "$as_me:$LINENO: checking for hypotf declaration" >&5
84393 echo $ECHO_N "checking for hypotf declaration... $ECHO_C" >&6
84394 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
84395 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then
84396 echo $ECHO_N "(cached) $ECHO_C" >&6
84397 else
84398
84399
84400
84401 ac_ext=cc
84402 ac_cpp='$CXXCPP $CPPFLAGS'
84403 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84404 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
84405 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
84406
84407 cat >conftest.$ac_ext <<_ACEOF
84408 /* confdefs.h. */
84409 _ACEOF
84410 cat confdefs.h >>conftest.$ac_ext
84411 cat >>conftest.$ac_ext <<_ACEOF
84412 /* end confdefs.h. */
84413 #include <math.h>
84414 int
84415 main ()
84416 {
84417 hypotf(0, 0);
84418 ;
84419 return 0;
84420 }
84421 _ACEOF
84422 rm -f conftest.$ac_objext
84423 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
84424 (eval $ac_compile) 2>conftest.er1
84425 ac_status=$?
84426 grep -v '^ *+' conftest.er1 >conftest.err
84427 rm -f conftest.er1
84428 cat conftest.err >&5
84429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84430 (exit $ac_status); } &&
84431 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
84432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84433 (eval $ac_try) 2>&5
84434 ac_status=$?
84435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84436 (exit $ac_status); }; } &&
84437 { ac_try='test -s conftest.$ac_objext'
84438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84439 (eval $ac_try) 2>&5
84440 ac_status=$?
84441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84442 (exit $ac_status); }; }; then
84443 glibcxx_cv_func_hypotf_use=yes
84444 else
84445 echo "$as_me: failed program was:" >&5
84446 sed 's/^/| /' conftest.$ac_ext >&5
84447
84448 glibcxx_cv_func_hypotf_use=no
84449 fi
84450 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
84451 ac_ext=c
84452 ac_cpp='$CPP $CPPFLAGS'
84453 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84454 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
84455 ac_compiler_gnu=$ac_cv_c_compiler_gnu
84456
84457
84458 fi
84459
84460 fi
84461 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotf_use" >&5
84462 echo "${ECHO_T}$glibcxx_cv_func_hypotf_use" >&6
84463
84464 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
84465
84466 for ac_func in hypotf
84467 do
84468 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
84469 echo "$as_me:$LINENO: checking for $ac_func" >&5
84470 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
84471 if eval "test \"\${$as_ac_var+set}\" = set"; then
84472 echo $ECHO_N "(cached) $ECHO_C" >&6
84473 else
84474 if test x$gcc_no_link = xyes; then
84475 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84476 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84477 { (exit 1); exit 1; }; }
84478 fi
84479 cat >conftest.$ac_ext <<_ACEOF
84480 /* confdefs.h. */
84481 _ACEOF
84482 cat confdefs.h >>conftest.$ac_ext
84483 cat >>conftest.$ac_ext <<_ACEOF
84484 /* end confdefs.h. */
84485 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
84486 For example, HP-UX 11i <limits.h> declares gettimeofday. */
84487 #define $ac_func innocuous_$ac_func
84488
84489 /* System header to define __stub macros and hopefully few prototypes,
84490 which can conflict with char $ac_func (); below.
84491 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
84492 <limits.h> exists even on freestanding compilers. */
84493
84494 #ifdef __STDC__
84495 # include <limits.h>
84496 #else
84497 # include <assert.h>
84498 #endif
84499
84500 #undef $ac_func
84501
84502 /* Override any gcc2 internal prototype to avoid an error. */
84503 #ifdef __cplusplus
84504 extern "C"
84505 {
84506 #endif
84507 /* We use char because int might match the return type of a gcc2
84508 builtin and then its argument prototype would still apply. */
84509 char $ac_func ();
84510 /* The GNU C library defines this for functions which it implements
84511 to always fail with ENOSYS. Some functions are actually named
84512 something starting with __ and the normal name is an alias. */
84513 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
84514 choke me
84515 #else
84516 char (*f) () = $ac_func;
84517 #endif
84518 #ifdef __cplusplus
84519 }
84520 #endif
84521
84522 int
84523 main ()
84524 {
84525 return f != $ac_func;
84526 ;
84527 return 0;
84528 }
84529 _ACEOF
84530 rm -f conftest.$ac_objext conftest$ac_exeext
84531 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84532 (eval $ac_link) 2>conftest.er1
84533 ac_status=$?
84534 grep -v '^ *+' conftest.er1 >conftest.err
84535 rm -f conftest.er1
84536 cat conftest.err >&5
84537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84538 (exit $ac_status); } &&
84539 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
84540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84541 (eval $ac_try) 2>&5
84542 ac_status=$?
84543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84544 (exit $ac_status); }; } &&
84545 { ac_try='test -s conftest$ac_exeext'
84546 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84547 (eval $ac_try) 2>&5
84548 ac_status=$?
84549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84550 (exit $ac_status); }; }; then
84551 eval "$as_ac_var=yes"
84552 else
84553 echo "$as_me: failed program was:" >&5
84554 sed 's/^/| /' conftest.$ac_ext >&5
84555
84556 eval "$as_ac_var=no"
84557 fi
84558 rm -f conftest.err conftest.$ac_objext \
84559 conftest$ac_exeext conftest.$ac_ext
84560 fi
84561 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
84562 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
84563 if test `eval echo '${'$as_ac_var'}'` = yes; then
84564 cat >>confdefs.h <<_ACEOF
84565 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
84566 _ACEOF
84567
84568 fi
84569 done
84570
84571 else
84572
84573 echo "$as_me:$LINENO: checking for _hypotf declaration" >&5
84574 echo $ECHO_N "checking for _hypotf declaration... $ECHO_C" >&6
84575 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
84576 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then
84577 echo $ECHO_N "(cached) $ECHO_C" >&6
84578 else
84579
84580
84581
84582 ac_ext=cc
84583 ac_cpp='$CXXCPP $CPPFLAGS'
84584 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84585 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
84586 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
84587
84588 cat >conftest.$ac_ext <<_ACEOF
84589 /* confdefs.h. */
84590 _ACEOF
84591 cat confdefs.h >>conftest.$ac_ext
84592 cat >>conftest.$ac_ext <<_ACEOF
84593 /* end confdefs.h. */
84594 #include <math.h>
84595 int
84596 main ()
84597 {
84598 _hypotf(0, 0);
84599 ;
84600 return 0;
84601 }
84602 _ACEOF
84603 rm -f conftest.$ac_objext
84604 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
84605 (eval $ac_compile) 2>conftest.er1
84606 ac_status=$?
84607 grep -v '^ *+' conftest.er1 >conftest.err
84608 rm -f conftest.er1
84609 cat conftest.err >&5
84610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84611 (exit $ac_status); } &&
84612 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
84613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84614 (eval $ac_try) 2>&5
84615 ac_status=$?
84616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84617 (exit $ac_status); }; } &&
84618 { ac_try='test -s conftest.$ac_objext'
84619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84620 (eval $ac_try) 2>&5
84621 ac_status=$?
84622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84623 (exit $ac_status); }; }; then
84624 glibcxx_cv_func__hypotf_use=yes
84625 else
84626 echo "$as_me: failed program was:" >&5
84627 sed 's/^/| /' conftest.$ac_ext >&5
84628
84629 glibcxx_cv_func__hypotf_use=no
84630 fi
84631 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
84632 ac_ext=c
84633 ac_cpp='$CPP $CPPFLAGS'
84634 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84635 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
84636 ac_compiler_gnu=$ac_cv_c_compiler_gnu
84637
84638
84639 fi
84640
84641 fi
84642 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotf_use" >&5
84643 echo "${ECHO_T}$glibcxx_cv_func__hypotf_use" >&6
84644
84645 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
84646
84647 for ac_func in _hypotf
84648 do
84649 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
84650 echo "$as_me:$LINENO: checking for $ac_func" >&5
84651 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
84652 if eval "test \"\${$as_ac_var+set}\" = set"; then
84653 echo $ECHO_N "(cached) $ECHO_C" >&6
84654 else
84655 if test x$gcc_no_link = xyes; then
84656 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84657 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84658 { (exit 1); exit 1; }; }
84659 fi
84660 cat >conftest.$ac_ext <<_ACEOF
84661 /* confdefs.h. */
84662 _ACEOF
84663 cat confdefs.h >>conftest.$ac_ext
84664 cat >>conftest.$ac_ext <<_ACEOF
84665 /* end confdefs.h. */
84666 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
84667 For example, HP-UX 11i <limits.h> declares gettimeofday. */
84668 #define $ac_func innocuous_$ac_func
84669
84670 /* System header to define __stub macros and hopefully few prototypes,
84671 which can conflict with char $ac_func (); below.
84672 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
84673 <limits.h> exists even on freestanding compilers. */
84674
84675 #ifdef __STDC__
84676 # include <limits.h>
84677 #else
84678 # include <assert.h>
84679 #endif
84680
84681 #undef $ac_func
84682
84683 /* Override any gcc2 internal prototype to avoid an error. */
84684 #ifdef __cplusplus
84685 extern "C"
84686 {
84687 #endif
84688 /* We use char because int might match the return type of a gcc2
84689 builtin and then its argument prototype would still apply. */
84690 char $ac_func ();
84691 /* The GNU C library defines this for functions which it implements
84692 to always fail with ENOSYS. Some functions are actually named
84693 something starting with __ and the normal name is an alias. */
84694 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
84695 choke me
84696 #else
84697 char (*f) () = $ac_func;
84698 #endif
84699 #ifdef __cplusplus
84700 }
84701 #endif
84702
84703 int
84704 main ()
84705 {
84706 return f != $ac_func;
84707 ;
84708 return 0;
84709 }
84710 _ACEOF
84711 rm -f conftest.$ac_objext conftest$ac_exeext
84712 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84713 (eval $ac_link) 2>conftest.er1
84714 ac_status=$?
84715 grep -v '^ *+' conftest.er1 >conftest.err
84716 rm -f conftest.er1
84717 cat conftest.err >&5
84718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84719 (exit $ac_status); } &&
84720 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
84721 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84722 (eval $ac_try) 2>&5
84723 ac_status=$?
84724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84725 (exit $ac_status); }; } &&
84726 { ac_try='test -s conftest$ac_exeext'
84727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84728 (eval $ac_try) 2>&5
84729 ac_status=$?
84730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84731 (exit $ac_status); }; }; then
84732 eval "$as_ac_var=yes"
84733 else
84734 echo "$as_me: failed program was:" >&5
84735 sed 's/^/| /' conftest.$ac_ext >&5
84736
84737 eval "$as_ac_var=no"
84738 fi
84739 rm -f conftest.err conftest.$ac_objext \
84740 conftest$ac_exeext conftest.$ac_ext
84741 fi
84742 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
84743 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
84744 if test `eval echo '${'$as_ac_var'}'` = yes; then
84745 cat >>confdefs.h <<_ACEOF
84746 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
84747 _ACEOF
84748
84749 fi
84750 done
84751
84752 fi
84753 fi
84754
84755
84756
84757
84758
84759
84760 echo "$as_me:$LINENO: checking for ldexpf declaration" >&5
84761 echo $ECHO_N "checking for ldexpf declaration... $ECHO_C" >&6
84762 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
84763 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then
84764 echo $ECHO_N "(cached) $ECHO_C" >&6
84765 else
84766
84767
84768
84769 ac_ext=cc
84770 ac_cpp='$CXXCPP $CPPFLAGS'
84771 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84772 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
84773 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
84774
84775 cat >conftest.$ac_ext <<_ACEOF
84776 /* confdefs.h. */
84777 _ACEOF
84778 cat confdefs.h >>conftest.$ac_ext
84779 cat >>conftest.$ac_ext <<_ACEOF
84780 /* end confdefs.h. */
84781 #include <math.h>
84782 int
84783 main ()
84784 {
84785 ldexpf(0, 0);
84786 ;
84787 return 0;
84788 }
84789 _ACEOF
84790 rm -f conftest.$ac_objext
84791 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
84792 (eval $ac_compile) 2>conftest.er1
84793 ac_status=$?
84794 grep -v '^ *+' conftest.er1 >conftest.err
84795 rm -f conftest.er1
84796 cat conftest.err >&5
84797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84798 (exit $ac_status); } &&
84799 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
84800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84801 (eval $ac_try) 2>&5
84802 ac_status=$?
84803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84804 (exit $ac_status); }; } &&
84805 { ac_try='test -s conftest.$ac_objext'
84806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84807 (eval $ac_try) 2>&5
84808 ac_status=$?
84809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84810 (exit $ac_status); }; }; then
84811 glibcxx_cv_func_ldexpf_use=yes
84812 else
84813 echo "$as_me: failed program was:" >&5
84814 sed 's/^/| /' conftest.$ac_ext >&5
84815
84816 glibcxx_cv_func_ldexpf_use=no
84817 fi
84818 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
84819 ac_ext=c
84820 ac_cpp='$CPP $CPPFLAGS'
84821 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84822 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
84823 ac_compiler_gnu=$ac_cv_c_compiler_gnu
84824
84825
84826 fi
84827
84828 fi
84829 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpf_use" >&5
84830 echo "${ECHO_T}$glibcxx_cv_func_ldexpf_use" >&6
84831
84832 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
84833
84834 for ac_func in ldexpf
84835 do
84836 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
84837 echo "$as_me:$LINENO: checking for $ac_func" >&5
84838 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
84839 if eval "test \"\${$as_ac_var+set}\" = set"; then
84840 echo $ECHO_N "(cached) $ECHO_C" >&6
84841 else
84842 if test x$gcc_no_link = xyes; then
84843 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84844 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84845 { (exit 1); exit 1; }; }
84846 fi
84847 cat >conftest.$ac_ext <<_ACEOF
84848 /* confdefs.h. */
84849 _ACEOF
84850 cat confdefs.h >>conftest.$ac_ext
84851 cat >>conftest.$ac_ext <<_ACEOF
84852 /* end confdefs.h. */
84853 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
84854 For example, HP-UX 11i <limits.h> declares gettimeofday. */
84855 #define $ac_func innocuous_$ac_func
84856
84857 /* System header to define __stub macros and hopefully few prototypes,
84858 which can conflict with char $ac_func (); below.
84859 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
84860 <limits.h> exists even on freestanding compilers. */
84861
84862 #ifdef __STDC__
84863 # include <limits.h>
84864 #else
84865 # include <assert.h>
84866 #endif
84867
84868 #undef $ac_func
84869
84870 /* Override any gcc2 internal prototype to avoid an error. */
84871 #ifdef __cplusplus
84872 extern "C"
84873 {
84874 #endif
84875 /* We use char because int might match the return type of a gcc2
84876 builtin and then its argument prototype would still apply. */
84877 char $ac_func ();
84878 /* The GNU C library defines this for functions which it implements
84879 to always fail with ENOSYS. Some functions are actually named
84880 something starting with __ and the normal name is an alias. */
84881 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
84882 choke me
84883 #else
84884 char (*f) () = $ac_func;
84885 #endif
84886 #ifdef __cplusplus
84887 }
84888 #endif
84889
84890 int
84891 main ()
84892 {
84893 return f != $ac_func;
84894 ;
84895 return 0;
84896 }
84897 _ACEOF
84898 rm -f conftest.$ac_objext conftest$ac_exeext
84899 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84900 (eval $ac_link) 2>conftest.er1
84901 ac_status=$?
84902 grep -v '^ *+' conftest.er1 >conftest.err
84903 rm -f conftest.er1
84904 cat conftest.err >&5
84905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84906 (exit $ac_status); } &&
84907 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
84908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84909 (eval $ac_try) 2>&5
84910 ac_status=$?
84911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84912 (exit $ac_status); }; } &&
84913 { ac_try='test -s conftest$ac_exeext'
84914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84915 (eval $ac_try) 2>&5
84916 ac_status=$?
84917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84918 (exit $ac_status); }; }; then
84919 eval "$as_ac_var=yes"
84920 else
84921 echo "$as_me: failed program was:" >&5
84922 sed 's/^/| /' conftest.$ac_ext >&5
84923
84924 eval "$as_ac_var=no"
84925 fi
84926 rm -f conftest.err conftest.$ac_objext \
84927 conftest$ac_exeext conftest.$ac_ext
84928 fi
84929 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
84930 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
84931 if test `eval echo '${'$as_ac_var'}'` = yes; then
84932 cat >>confdefs.h <<_ACEOF
84933 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
84934 _ACEOF
84935
84936 fi
84937 done
84938
84939 else
84940
84941 echo "$as_me:$LINENO: checking for _ldexpf declaration" >&5
84942 echo $ECHO_N "checking for _ldexpf declaration... $ECHO_C" >&6
84943 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
84944 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then
84945 echo $ECHO_N "(cached) $ECHO_C" >&6
84946 else
84947
84948
84949
84950 ac_ext=cc
84951 ac_cpp='$CXXCPP $CPPFLAGS'
84952 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84953 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
84954 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
84955
84956 cat >conftest.$ac_ext <<_ACEOF
84957 /* confdefs.h. */
84958 _ACEOF
84959 cat confdefs.h >>conftest.$ac_ext
84960 cat >>conftest.$ac_ext <<_ACEOF
84961 /* end confdefs.h. */
84962 #include <math.h>
84963 int
84964 main ()
84965 {
84966 _ldexpf(0, 0);
84967 ;
84968 return 0;
84969 }
84970 _ACEOF
84971 rm -f conftest.$ac_objext
84972 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
84973 (eval $ac_compile) 2>conftest.er1
84974 ac_status=$?
84975 grep -v '^ *+' conftest.er1 >conftest.err
84976 rm -f conftest.er1
84977 cat conftest.err >&5
84978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84979 (exit $ac_status); } &&
84980 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
84981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84982 (eval $ac_try) 2>&5
84983 ac_status=$?
84984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84985 (exit $ac_status); }; } &&
84986 { ac_try='test -s conftest.$ac_objext'
84987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84988 (eval $ac_try) 2>&5
84989 ac_status=$?
84990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84991 (exit $ac_status); }; }; then
84992 glibcxx_cv_func__ldexpf_use=yes
84993 else
84994 echo "$as_me: failed program was:" >&5
84995 sed 's/^/| /' conftest.$ac_ext >&5
84996
84997 glibcxx_cv_func__ldexpf_use=no
84998 fi
84999 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
85000 ac_ext=c
85001 ac_cpp='$CPP $CPPFLAGS'
85002 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
85003 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
85004 ac_compiler_gnu=$ac_cv_c_compiler_gnu
85005
85006
85007 fi
85008
85009 fi
85010 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpf_use" >&5
85011 echo "${ECHO_T}$glibcxx_cv_func__ldexpf_use" >&6
85012
85013 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
85014
85015 for ac_func in _ldexpf
85016 do
85017 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
85018 echo "$as_me:$LINENO: checking for $ac_func" >&5
85019 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
85020 if eval "test \"\${$as_ac_var+set}\" = set"; then
85021 echo $ECHO_N "(cached) $ECHO_C" >&6
85022 else
85023 if test x$gcc_no_link = xyes; then
85024 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85025 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85026 { (exit 1); exit 1; }; }
85027 fi
85028 cat >conftest.$ac_ext <<_ACEOF
85029 /* confdefs.h. */
85030 _ACEOF
85031 cat confdefs.h >>conftest.$ac_ext
85032 cat >>conftest.$ac_ext <<_ACEOF
85033 /* end confdefs.h. */
85034 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
85035 For example, HP-UX 11i <limits.h> declares gettimeofday. */
85036 #define $ac_func innocuous_$ac_func
85037
85038 /* System header to define __stub macros and hopefully few prototypes,
85039 which can conflict with char $ac_func (); below.
85040 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
85041 <limits.h> exists even on freestanding compilers. */
85042
85043 #ifdef __STDC__
85044 # include <limits.h>
85045 #else
85046 # include <assert.h>
85047 #endif
85048
85049 #undef $ac_func
85050
85051 /* Override any gcc2 internal prototype to avoid an error. */
85052 #ifdef __cplusplus
85053 extern "C"
85054 {
85055 #endif
85056 /* We use char because int might match the return type of a gcc2
85057 builtin and then its argument prototype would still apply. */
85058 char $ac_func ();
85059 /* The GNU C library defines this for functions which it implements
85060 to always fail with ENOSYS. Some functions are actually named
85061 something starting with __ and the normal name is an alias. */
85062 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
85063 choke me
85064 #else
85065 char (*f) () = $ac_func;
85066 #endif
85067 #ifdef __cplusplus
85068 }
85069 #endif
85070
85071 int
85072 main ()
85073 {
85074 return f != $ac_func;
85075 ;
85076 return 0;
85077 }
85078 _ACEOF
85079 rm -f conftest.$ac_objext conftest$ac_exeext
85080 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85081 (eval $ac_link) 2>conftest.er1
85082 ac_status=$?
85083 grep -v '^ *+' conftest.er1 >conftest.err
85084 rm -f conftest.er1
85085 cat conftest.err >&5
85086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85087 (exit $ac_status); } &&
85088 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
85089 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85090 (eval $ac_try) 2>&5
85091 ac_status=$?
85092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85093 (exit $ac_status); }; } &&
85094 { ac_try='test -s conftest$ac_exeext'
85095 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85096 (eval $ac_try) 2>&5
85097 ac_status=$?
85098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85099 (exit $ac_status); }; }; then
85100 eval "$as_ac_var=yes"
85101 else
85102 echo "$as_me: failed program was:" >&5
85103 sed 's/^/| /' conftest.$ac_ext >&5
85104
85105 eval "$as_ac_var=no"
85106 fi
85107 rm -f conftest.err conftest.$ac_objext \
85108 conftest$ac_exeext conftest.$ac_ext
85109 fi
85110 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
85111 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
85112 if test `eval echo '${'$as_ac_var'}'` = yes; then
85113 cat >>confdefs.h <<_ACEOF
85114 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
85115 _ACEOF
85116
85117 fi
85118 done
85119
85120 fi
85121 fi
85122
85123
85124
85125
85126
85127
85128 echo "$as_me:$LINENO: checking for logf declaration" >&5
85129 echo $ECHO_N "checking for logf declaration... $ECHO_C" >&6
85130 if test x${glibcxx_cv_func_logf_use+set} != xset; then
85131 if test "${glibcxx_cv_func_logf_use+set}" = set; then
85132 echo $ECHO_N "(cached) $ECHO_C" >&6
85133 else
85134
85135
85136
85137 ac_ext=cc
85138 ac_cpp='$CXXCPP $CPPFLAGS'
85139 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
85140 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
85141 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
85142
85143 cat >conftest.$ac_ext <<_ACEOF
85144 /* confdefs.h. */
85145 _ACEOF
85146 cat confdefs.h >>conftest.$ac_ext
85147 cat >>conftest.$ac_ext <<_ACEOF
85148 /* end confdefs.h. */
85149 #include <math.h>
85150 #ifdef HAVE_IEEEFP_H
85151 #include <ieeefp.h>
85152 #endif
85153
85154 int
85155 main ()
85156 {
85157 logf(0);
85158 ;
85159 return 0;
85160 }
85161 _ACEOF
85162 rm -f conftest.$ac_objext
85163 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
85164 (eval $ac_compile) 2>conftest.er1
85165 ac_status=$?
85166 grep -v '^ *+' conftest.er1 >conftest.err
85167 rm -f conftest.er1
85168 cat conftest.err >&5
85169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85170 (exit $ac_status); } &&
85171 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
85172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85173 (eval $ac_try) 2>&5
85174 ac_status=$?
85175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85176 (exit $ac_status); }; } &&
85177 { ac_try='test -s conftest.$ac_objext'
85178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85179 (eval $ac_try) 2>&5
85180 ac_status=$?
85181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85182 (exit $ac_status); }; }; then
85183 glibcxx_cv_func_logf_use=yes
85184 else
85185 echo "$as_me: failed program was:" >&5
85186 sed 's/^/| /' conftest.$ac_ext >&5
85187
85188 glibcxx_cv_func_logf_use=no
85189 fi
85190 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
85191 ac_ext=c
85192 ac_cpp='$CPP $CPPFLAGS'
85193 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
85194 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
85195 ac_compiler_gnu=$ac_cv_c_compiler_gnu
85196
85197
85198 fi
85199
85200 fi
85201 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logf_use" >&5
85202 echo "${ECHO_T}$glibcxx_cv_func_logf_use" >&6
85203
85204 if test x$glibcxx_cv_func_logf_use = x"yes"; then
85205
85206 for ac_func in logf
85207 do
85208 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
85209 echo "$as_me:$LINENO: checking for $ac_func" >&5
85210 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
85211 if eval "test \"\${$as_ac_var+set}\" = set"; then
85212 echo $ECHO_N "(cached) $ECHO_C" >&6
85213 else
85214 if test x$gcc_no_link = xyes; then
85215 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85216 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85217 { (exit 1); exit 1; }; }
85218 fi
85219 cat >conftest.$ac_ext <<_ACEOF
85220 /* confdefs.h. */
85221 _ACEOF
85222 cat confdefs.h >>conftest.$ac_ext
85223 cat >>conftest.$ac_ext <<_ACEOF
85224 /* end confdefs.h. */
85225 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
85226 For example, HP-UX 11i <limits.h> declares gettimeofday. */
85227 #define $ac_func innocuous_$ac_func
85228
85229 /* System header to define __stub macros and hopefully few prototypes,
85230 which can conflict with char $ac_func (); below.
85231 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
85232 <limits.h> exists even on freestanding compilers. */
85233
85234 #ifdef __STDC__
85235 # include <limits.h>
85236 #else
85237 # include <assert.h>
85238 #endif
85239
85240 #undef $ac_func
85241
85242 /* Override any gcc2 internal prototype to avoid an error. */
85243 #ifdef __cplusplus
85244 extern "C"
85245 {
85246 #endif
85247 /* We use char because int might match the return type of a gcc2
85248 builtin and then its argument prototype would still apply. */
85249 char $ac_func ();
85250 /* The GNU C library defines this for functions which it implements
85251 to always fail with ENOSYS. Some functions are actually named
85252 something starting with __ and the normal name is an alias. */
85253 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
85254 choke me
85255 #else
85256 char (*f) () = $ac_func;
85257 #endif
85258 #ifdef __cplusplus
85259 }
85260 #endif
85261
85262 int
85263 main ()
85264 {
85265 return f != $ac_func;
85266 ;
85267 return 0;
85268 }
85269 _ACEOF
85270 rm -f conftest.$ac_objext conftest$ac_exeext
85271 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85272 (eval $ac_link) 2>conftest.er1
85273 ac_status=$?
85274 grep -v '^ *+' conftest.er1 >conftest.err
85275 rm -f conftest.er1
85276 cat conftest.err >&5
85277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85278 (exit $ac_status); } &&
85279 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
85280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85281 (eval $ac_try) 2>&5
85282 ac_status=$?
85283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85284 (exit $ac_status); }; } &&
85285 { ac_try='test -s conftest$ac_exeext'
85286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85287 (eval $ac_try) 2>&5
85288 ac_status=$?
85289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85290 (exit $ac_status); }; }; then
85291 eval "$as_ac_var=yes"
85292 else
85293 echo "$as_me: failed program was:" >&5
85294 sed 's/^/| /' conftest.$ac_ext >&5
85295
85296 eval "$as_ac_var=no"
85297 fi
85298 rm -f conftest.err conftest.$ac_objext \
85299 conftest$ac_exeext conftest.$ac_ext
85300 fi
85301 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
85302 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
85303 if test `eval echo '${'$as_ac_var'}'` = yes; then
85304 cat >>confdefs.h <<_ACEOF
85305 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
85306 _ACEOF
85307
85308 fi
85309 done
85310
85311 else
85312
85313 echo "$as_me:$LINENO: checking for _logf declaration" >&5
85314 echo $ECHO_N "checking for _logf declaration... $ECHO_C" >&6
85315 if test x${glibcxx_cv_func__logf_use+set} != xset; then
85316 if test "${glibcxx_cv_func__logf_use+set}" = set; then
85317 echo $ECHO_N "(cached) $ECHO_C" >&6
85318 else
85319
85320
85321
85322 ac_ext=cc
85323 ac_cpp='$CXXCPP $CPPFLAGS'
85324 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
85325 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
85326 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
85327
85328 cat >conftest.$ac_ext <<_ACEOF
85329 /* confdefs.h. */
85330 _ACEOF
85331 cat confdefs.h >>conftest.$ac_ext
85332 cat >>conftest.$ac_ext <<_ACEOF
85333 /* end confdefs.h. */
85334 #include <math.h>
85335 #ifdef HAVE_IEEEFP_H
85336 #include <ieeefp.h>
85337 #endif
85338
85339 int
85340 main ()
85341 {
85342 _logf(0);
85343 ;
85344 return 0;
85345 }
85346 _ACEOF
85347 rm -f conftest.$ac_objext
85348 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
85349 (eval $ac_compile) 2>conftest.er1
85350 ac_status=$?
85351 grep -v '^ *+' conftest.er1 >conftest.err
85352 rm -f conftest.er1
85353 cat conftest.err >&5
85354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85355 (exit $ac_status); } &&
85356 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
85357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85358 (eval $ac_try) 2>&5
85359 ac_status=$?
85360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85361 (exit $ac_status); }; } &&
85362 { ac_try='test -s conftest.$ac_objext'
85363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85364 (eval $ac_try) 2>&5
85365 ac_status=$?
85366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85367 (exit $ac_status); }; }; then
85368 glibcxx_cv_func__logf_use=yes
85369 else
85370 echo "$as_me: failed program was:" >&5
85371 sed 's/^/| /' conftest.$ac_ext >&5
85372
85373 glibcxx_cv_func__logf_use=no
85374 fi
85375 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
85376 ac_ext=c
85377 ac_cpp='$CPP $CPPFLAGS'
85378 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
85379 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
85380 ac_compiler_gnu=$ac_cv_c_compiler_gnu
85381
85382
85383 fi
85384
85385 fi
85386 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logf_use" >&5
85387 echo "${ECHO_T}$glibcxx_cv_func__logf_use" >&6
85388
85389 if test x$glibcxx_cv_func__logf_use = x"yes"; then
85390
85391 for ac_func in _logf
85392 do
85393 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
85394 echo "$as_me:$LINENO: checking for $ac_func" >&5
85395 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
85396 if eval "test \"\${$as_ac_var+set}\" = set"; then
85397 echo $ECHO_N "(cached) $ECHO_C" >&6
85398 else
85399 if test x$gcc_no_link = xyes; then
85400 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85401 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85402 { (exit 1); exit 1; }; }
85403 fi
85404 cat >conftest.$ac_ext <<_ACEOF
85405 /* confdefs.h. */
85406 _ACEOF
85407 cat confdefs.h >>conftest.$ac_ext
85408 cat >>conftest.$ac_ext <<_ACEOF
85409 /* end confdefs.h. */
85410 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
85411 For example, HP-UX 11i <limits.h> declares gettimeofday. */
85412 #define $ac_func innocuous_$ac_func
85413
85414 /* System header to define __stub macros and hopefully few prototypes,
85415 which can conflict with char $ac_func (); below.
85416 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
85417 <limits.h> exists even on freestanding compilers. */
85418
85419 #ifdef __STDC__
85420 # include <limits.h>
85421 #else
85422 # include <assert.h>
85423 #endif
85424
85425 #undef $ac_func
85426
85427 /* Override any gcc2 internal prototype to avoid an error. */
85428 #ifdef __cplusplus
85429 extern "C"
85430 {
85431 #endif
85432 /* We use char because int might match the return type of a gcc2
85433 builtin and then its argument prototype would still apply. */
85434 char $ac_func ();
85435 /* The GNU C library defines this for functions which it implements
85436 to always fail with ENOSYS. Some functions are actually named
85437 something starting with __ and the normal name is an alias. */
85438 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
85439 choke me
85440 #else
85441 char (*f) () = $ac_func;
85442 #endif
85443 #ifdef __cplusplus
85444 }
85445 #endif
85446
85447 int
85448 main ()
85449 {
85450 return f != $ac_func;
85451 ;
85452 return 0;
85453 }
85454 _ACEOF
85455 rm -f conftest.$ac_objext conftest$ac_exeext
85456 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85457 (eval $ac_link) 2>conftest.er1
85458 ac_status=$?
85459 grep -v '^ *+' conftest.er1 >conftest.err
85460 rm -f conftest.er1
85461 cat conftest.err >&5
85462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85463 (exit $ac_status); } &&
85464 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
85465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85466 (eval $ac_try) 2>&5
85467 ac_status=$?
85468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85469 (exit $ac_status); }; } &&
85470 { ac_try='test -s conftest$ac_exeext'
85471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85472 (eval $ac_try) 2>&5
85473 ac_status=$?
85474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85475 (exit $ac_status); }; }; then
85476 eval "$as_ac_var=yes"
85477 else
85478 echo "$as_me: failed program was:" >&5
85479 sed 's/^/| /' conftest.$ac_ext >&5
85480
85481 eval "$as_ac_var=no"
85482 fi
85483 rm -f conftest.err conftest.$ac_objext \
85484 conftest$ac_exeext conftest.$ac_ext
85485 fi
85486 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
85487 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
85488 if test `eval echo '${'$as_ac_var'}'` = yes; then
85489 cat >>confdefs.h <<_ACEOF
85490 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
85491 _ACEOF
85492
85493 fi
85494 done
85495
85496 fi
85497 fi
85498
85499
85500
85501
85502
85503
85504 echo "$as_me:$LINENO: checking for log10f declaration" >&5
85505 echo $ECHO_N "checking for log10f declaration... $ECHO_C" >&6
85506 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
85507 if test "${glibcxx_cv_func_log10f_use+set}" = set; then
85508 echo $ECHO_N "(cached) $ECHO_C" >&6
85509 else
85510
85511
85512
85513 ac_ext=cc
85514 ac_cpp='$CXXCPP $CPPFLAGS'
85515 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
85516 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
85517 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
85518
85519 cat >conftest.$ac_ext <<_ACEOF
85520 /* confdefs.h. */
85521 _ACEOF
85522 cat confdefs.h >>conftest.$ac_ext
85523 cat >>conftest.$ac_ext <<_ACEOF
85524 /* end confdefs.h. */
85525 #include <math.h>
85526 #ifdef HAVE_IEEEFP_H
85527 #include <ieeefp.h>
85528 #endif
85529
85530 int
85531 main ()
85532 {
85533 log10f(0);
85534 ;
85535 return 0;
85536 }
85537 _ACEOF
85538 rm -f conftest.$ac_objext
85539 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
85540 (eval $ac_compile) 2>conftest.er1
85541 ac_status=$?
85542 grep -v '^ *+' conftest.er1 >conftest.err
85543 rm -f conftest.er1
85544 cat conftest.err >&5
85545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85546 (exit $ac_status); } &&
85547 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
85548 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85549 (eval $ac_try) 2>&5
85550 ac_status=$?
85551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85552 (exit $ac_status); }; } &&
85553 { ac_try='test -s conftest.$ac_objext'
85554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85555 (eval $ac_try) 2>&5
85556 ac_status=$?
85557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85558 (exit $ac_status); }; }; then
85559 glibcxx_cv_func_log10f_use=yes
85560 else
85561 echo "$as_me: failed program was:" >&5
85562 sed 's/^/| /' conftest.$ac_ext >&5
85563
85564 glibcxx_cv_func_log10f_use=no
85565 fi
85566 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
85567 ac_ext=c
85568 ac_cpp='$CPP $CPPFLAGS'
85569 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
85570 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
85571 ac_compiler_gnu=$ac_cv_c_compiler_gnu
85572
85573
85574 fi
85575
85576 fi
85577 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10f_use" >&5
85578 echo "${ECHO_T}$glibcxx_cv_func_log10f_use" >&6
85579
85580 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
85581
85582 for ac_func in log10f
85583 do
85584 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
85585 echo "$as_me:$LINENO: checking for $ac_func" >&5
85586 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
85587 if eval "test \"\${$as_ac_var+set}\" = set"; then
85588 echo $ECHO_N "(cached) $ECHO_C" >&6
85589 else
85590 if test x$gcc_no_link = xyes; then
85591 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85592 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85593 { (exit 1); exit 1; }; }
85594 fi
85595 cat >conftest.$ac_ext <<_ACEOF
85596 /* confdefs.h. */
85597 _ACEOF
85598 cat confdefs.h >>conftest.$ac_ext
85599 cat >>conftest.$ac_ext <<_ACEOF
85600 /* end confdefs.h. */
85601 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
85602 For example, HP-UX 11i <limits.h> declares gettimeofday. */
85603 #define $ac_func innocuous_$ac_func
85604
85605 /* System header to define __stub macros and hopefully few prototypes,
85606 which can conflict with char $ac_func (); below.
85607 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
85608 <limits.h> exists even on freestanding compilers. */
85609
85610 #ifdef __STDC__
85611 # include <limits.h>
85612 #else
85613 # include <assert.h>
85614 #endif
85615
85616 #undef $ac_func
85617
85618 /* Override any gcc2 internal prototype to avoid an error. */
85619 #ifdef __cplusplus
85620 extern "C"
85621 {
85622 #endif
85623 /* We use char because int might match the return type of a gcc2
85624 builtin and then its argument prototype would still apply. */
85625 char $ac_func ();
85626 /* The GNU C library defines this for functions which it implements
85627 to always fail with ENOSYS. Some functions are actually named
85628 something starting with __ and the normal name is an alias. */
85629 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
85630 choke me
85631 #else
85632 char (*f) () = $ac_func;
85633 #endif
85634 #ifdef __cplusplus
85635 }
85636 #endif
85637
85638 int
85639 main ()
85640 {
85641 return f != $ac_func;
85642 ;
85643 return 0;
85644 }
85645 _ACEOF
85646 rm -f conftest.$ac_objext conftest$ac_exeext
85647 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85648 (eval $ac_link) 2>conftest.er1
85649 ac_status=$?
85650 grep -v '^ *+' conftest.er1 >conftest.err
85651 rm -f conftest.er1
85652 cat conftest.err >&5
85653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85654 (exit $ac_status); } &&
85655 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
85656 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85657 (eval $ac_try) 2>&5
85658 ac_status=$?
85659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85660 (exit $ac_status); }; } &&
85661 { ac_try='test -s conftest$ac_exeext'
85662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85663 (eval $ac_try) 2>&5
85664 ac_status=$?
85665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85666 (exit $ac_status); }; }; then
85667 eval "$as_ac_var=yes"
85668 else
85669 echo "$as_me: failed program was:" >&5
85670 sed 's/^/| /' conftest.$ac_ext >&5
85671
85672 eval "$as_ac_var=no"
85673 fi
85674 rm -f conftest.err conftest.$ac_objext \
85675 conftest$ac_exeext conftest.$ac_ext
85676 fi
85677 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
85678 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
85679 if test `eval echo '${'$as_ac_var'}'` = yes; then
85680 cat >>confdefs.h <<_ACEOF
85681 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
85682 _ACEOF
85683
85684 fi
85685 done
85686
85687 else
85688
85689 echo "$as_me:$LINENO: checking for _log10f declaration" >&5
85690 echo $ECHO_N "checking for _log10f declaration... $ECHO_C" >&6
85691 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
85692 if test "${glibcxx_cv_func__log10f_use+set}" = set; then
85693 echo $ECHO_N "(cached) $ECHO_C" >&6
85694 else
85695
85696
85697
85698 ac_ext=cc
85699 ac_cpp='$CXXCPP $CPPFLAGS'
85700 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
85701 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
85702 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
85703
85704 cat >conftest.$ac_ext <<_ACEOF
85705 /* confdefs.h. */
85706 _ACEOF
85707 cat confdefs.h >>conftest.$ac_ext
85708 cat >>conftest.$ac_ext <<_ACEOF
85709 /* end confdefs.h. */
85710 #include <math.h>
85711 #ifdef HAVE_IEEEFP_H
85712 #include <ieeefp.h>
85713 #endif
85714
85715 int
85716 main ()
85717 {
85718 _log10f(0);
85719 ;
85720 return 0;
85721 }
85722 _ACEOF
85723 rm -f conftest.$ac_objext
85724 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
85725 (eval $ac_compile) 2>conftest.er1
85726 ac_status=$?
85727 grep -v '^ *+' conftest.er1 >conftest.err
85728 rm -f conftest.er1
85729 cat conftest.err >&5
85730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85731 (exit $ac_status); } &&
85732 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
85733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85734 (eval $ac_try) 2>&5
85735 ac_status=$?
85736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85737 (exit $ac_status); }; } &&
85738 { ac_try='test -s conftest.$ac_objext'
85739 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85740 (eval $ac_try) 2>&5
85741 ac_status=$?
85742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85743 (exit $ac_status); }; }; then
85744 glibcxx_cv_func__log10f_use=yes
85745 else
85746 echo "$as_me: failed program was:" >&5
85747 sed 's/^/| /' conftest.$ac_ext >&5
85748
85749 glibcxx_cv_func__log10f_use=no
85750 fi
85751 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
85752 ac_ext=c
85753 ac_cpp='$CPP $CPPFLAGS'
85754 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
85755 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
85756 ac_compiler_gnu=$ac_cv_c_compiler_gnu
85757
85758
85759 fi
85760
85761 fi
85762 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10f_use" >&5
85763 echo "${ECHO_T}$glibcxx_cv_func__log10f_use" >&6
85764
85765 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
85766
85767 for ac_func in _log10f
85768 do
85769 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
85770 echo "$as_me:$LINENO: checking for $ac_func" >&5
85771 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
85772 if eval "test \"\${$as_ac_var+set}\" = set"; then
85773 echo $ECHO_N "(cached) $ECHO_C" >&6
85774 else
85775 if test x$gcc_no_link = xyes; then
85776 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85777 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85778 { (exit 1); exit 1; }; }
85779 fi
85780 cat >conftest.$ac_ext <<_ACEOF
85781 /* confdefs.h. */
85782 _ACEOF
85783 cat confdefs.h >>conftest.$ac_ext
85784 cat >>conftest.$ac_ext <<_ACEOF
85785 /* end confdefs.h. */
85786 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
85787 For example, HP-UX 11i <limits.h> declares gettimeofday. */
85788 #define $ac_func innocuous_$ac_func
85789
85790 /* System header to define __stub macros and hopefully few prototypes,
85791 which can conflict with char $ac_func (); below.
85792 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
85793 <limits.h> exists even on freestanding compilers. */
85794
85795 #ifdef __STDC__
85796 # include <limits.h>
85797 #else
85798 # include <assert.h>
85799 #endif
85800
85801 #undef $ac_func
85802
85803 /* Override any gcc2 internal prototype to avoid an error. */
85804 #ifdef __cplusplus
85805 extern "C"
85806 {
85807 #endif
85808 /* We use char because int might match the return type of a gcc2
85809 builtin and then its argument prototype would still apply. */
85810 char $ac_func ();
85811 /* The GNU C library defines this for functions which it implements
85812 to always fail with ENOSYS. Some functions are actually named
85813 something starting with __ and the normal name is an alias. */
85814 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
85815 choke me
85816 #else
85817 char (*f) () = $ac_func;
85818 #endif
85819 #ifdef __cplusplus
85820 }
85821 #endif
85822
85823 int
85824 main ()
85825 {
85826 return f != $ac_func;
85827 ;
85828 return 0;
85829 }
85830 _ACEOF
85831 rm -f conftest.$ac_objext conftest$ac_exeext
85832 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85833 (eval $ac_link) 2>conftest.er1
85834 ac_status=$?
85835 grep -v '^ *+' conftest.er1 >conftest.err
85836 rm -f conftest.er1
85837 cat conftest.err >&5
85838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85839 (exit $ac_status); } &&
85840 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
85841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85842 (eval $ac_try) 2>&5
85843 ac_status=$?
85844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85845 (exit $ac_status); }; } &&
85846 { ac_try='test -s conftest$ac_exeext'
85847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85848 (eval $ac_try) 2>&5
85849 ac_status=$?
85850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85851 (exit $ac_status); }; }; then
85852 eval "$as_ac_var=yes"
85853 else
85854 echo "$as_me: failed program was:" >&5
85855 sed 's/^/| /' conftest.$ac_ext >&5
85856
85857 eval "$as_ac_var=no"
85858 fi
85859 rm -f conftest.err conftest.$ac_objext \
85860 conftest$ac_exeext conftest.$ac_ext
85861 fi
85862 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
85863 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
85864 if test `eval echo '${'$as_ac_var'}'` = yes; then
85865 cat >>confdefs.h <<_ACEOF
85866 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
85867 _ACEOF
85868
85869 fi
85870 done
85871
85872 fi
85873 fi
85874
85875
85876
85877
85878
85879
85880 echo "$as_me:$LINENO: checking for modff declaration" >&5
85881 echo $ECHO_N "checking for modff declaration... $ECHO_C" >&6
85882 if test x${glibcxx_cv_func_modff_use+set} != xset; then
85883 if test "${glibcxx_cv_func_modff_use+set}" = set; then
85884 echo $ECHO_N "(cached) $ECHO_C" >&6
85885 else
85886
85887
85888
85889 ac_ext=cc
85890 ac_cpp='$CXXCPP $CPPFLAGS'
85891 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
85892 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
85893 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
85894
85895 cat >conftest.$ac_ext <<_ACEOF
85896 /* confdefs.h. */
85897 _ACEOF
85898 cat confdefs.h >>conftest.$ac_ext
85899 cat >>conftest.$ac_ext <<_ACEOF
85900 /* end confdefs.h. */
85901 #include <math.h>
85902 int
85903 main ()
85904 {
85905 modff(0, 0);
85906 ;
85907 return 0;
85908 }
85909 _ACEOF
85910 rm -f conftest.$ac_objext
85911 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
85912 (eval $ac_compile) 2>conftest.er1
85913 ac_status=$?
85914 grep -v '^ *+' conftest.er1 >conftest.err
85915 rm -f conftest.er1
85916 cat conftest.err >&5
85917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85918 (exit $ac_status); } &&
85919 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
85920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85921 (eval $ac_try) 2>&5
85922 ac_status=$?
85923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85924 (exit $ac_status); }; } &&
85925 { ac_try='test -s conftest.$ac_objext'
85926 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85927 (eval $ac_try) 2>&5
85928 ac_status=$?
85929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85930 (exit $ac_status); }; }; then
85931 glibcxx_cv_func_modff_use=yes
85932 else
85933 echo "$as_me: failed program was:" >&5
85934 sed 's/^/| /' conftest.$ac_ext >&5
85935
85936 glibcxx_cv_func_modff_use=no
85937 fi
85938 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
85939 ac_ext=c
85940 ac_cpp='$CPP $CPPFLAGS'
85941 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
85942 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
85943 ac_compiler_gnu=$ac_cv_c_compiler_gnu
85944
85945
85946 fi
85947
85948 fi
85949 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modff_use" >&5
85950 echo "${ECHO_T}$glibcxx_cv_func_modff_use" >&6
85951
85952 if test x$glibcxx_cv_func_modff_use = x"yes"; then
85953
85954 for ac_func in modff
85955 do
85956 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
85957 echo "$as_me:$LINENO: checking for $ac_func" >&5
85958 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
85959 if eval "test \"\${$as_ac_var+set}\" = set"; then
85960 echo $ECHO_N "(cached) $ECHO_C" >&6
85961 else
85962 if test x$gcc_no_link = xyes; then
85963 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85964 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85965 { (exit 1); exit 1; }; }
85966 fi
85967 cat >conftest.$ac_ext <<_ACEOF
85968 /* confdefs.h. */
85969 _ACEOF
85970 cat confdefs.h >>conftest.$ac_ext
85971 cat >>conftest.$ac_ext <<_ACEOF
85972 /* end confdefs.h. */
85973 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
85974 For example, HP-UX 11i <limits.h> declares gettimeofday. */
85975 #define $ac_func innocuous_$ac_func
85976
85977 /* System header to define __stub macros and hopefully few prototypes,
85978 which can conflict with char $ac_func (); below.
85979 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
85980 <limits.h> exists even on freestanding compilers. */
85981
85982 #ifdef __STDC__
85983 # include <limits.h>
85984 #else
85985 # include <assert.h>
85986 #endif
85987
85988 #undef $ac_func
85989
85990 /* Override any gcc2 internal prototype to avoid an error. */
85991 #ifdef __cplusplus
85992 extern "C"
85993 {
85994 #endif
85995 /* We use char because int might match the return type of a gcc2
85996 builtin and then its argument prototype would still apply. */
85997 char $ac_func ();
85998 /* The GNU C library defines this for functions which it implements
85999 to always fail with ENOSYS. Some functions are actually named
86000 something starting with __ and the normal name is an alias. */
86001 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
86002 choke me
86003 #else
86004 char (*f) () = $ac_func;
86005 #endif
86006 #ifdef __cplusplus
86007 }
86008 #endif
86009
86010 int
86011 main ()
86012 {
86013 return f != $ac_func;
86014 ;
86015 return 0;
86016 }
86017 _ACEOF
86018 rm -f conftest.$ac_objext conftest$ac_exeext
86019 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86020 (eval $ac_link) 2>conftest.er1
86021 ac_status=$?
86022 grep -v '^ *+' conftest.er1 >conftest.err
86023 rm -f conftest.er1
86024 cat conftest.err >&5
86025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86026 (exit $ac_status); } &&
86027 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
86028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86029 (eval $ac_try) 2>&5
86030 ac_status=$?
86031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86032 (exit $ac_status); }; } &&
86033 { ac_try='test -s conftest$ac_exeext'
86034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86035 (eval $ac_try) 2>&5
86036 ac_status=$?
86037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86038 (exit $ac_status); }; }; then
86039 eval "$as_ac_var=yes"
86040 else
86041 echo "$as_me: failed program was:" >&5
86042 sed 's/^/| /' conftest.$ac_ext >&5
86043
86044 eval "$as_ac_var=no"
86045 fi
86046 rm -f conftest.err conftest.$ac_objext \
86047 conftest$ac_exeext conftest.$ac_ext
86048 fi
86049 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
86050 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
86051 if test `eval echo '${'$as_ac_var'}'` = yes; then
86052 cat >>confdefs.h <<_ACEOF
86053 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
86054 _ACEOF
86055
86056 fi
86057 done
86058
86059 else
86060
86061 echo "$as_me:$LINENO: checking for _modff declaration" >&5
86062 echo $ECHO_N "checking for _modff declaration... $ECHO_C" >&6
86063 if test x${glibcxx_cv_func__modff_use+set} != xset; then
86064 if test "${glibcxx_cv_func__modff_use+set}" = set; then
86065 echo $ECHO_N "(cached) $ECHO_C" >&6
86066 else
86067
86068
86069
86070 ac_ext=cc
86071 ac_cpp='$CXXCPP $CPPFLAGS'
86072 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
86073 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
86074 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
86075
86076 cat >conftest.$ac_ext <<_ACEOF
86077 /* confdefs.h. */
86078 _ACEOF
86079 cat confdefs.h >>conftest.$ac_ext
86080 cat >>conftest.$ac_ext <<_ACEOF
86081 /* end confdefs.h. */
86082 #include <math.h>
86083 int
86084 main ()
86085 {
86086 _modff(0, 0);
86087 ;
86088 return 0;
86089 }
86090 _ACEOF
86091 rm -f conftest.$ac_objext
86092 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
86093 (eval $ac_compile) 2>conftest.er1
86094 ac_status=$?
86095 grep -v '^ *+' conftest.er1 >conftest.err
86096 rm -f conftest.er1
86097 cat conftest.err >&5
86098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86099 (exit $ac_status); } &&
86100 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
86101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86102 (eval $ac_try) 2>&5
86103 ac_status=$?
86104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86105 (exit $ac_status); }; } &&
86106 { ac_try='test -s conftest.$ac_objext'
86107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86108 (eval $ac_try) 2>&5
86109 ac_status=$?
86110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86111 (exit $ac_status); }; }; then
86112 glibcxx_cv_func__modff_use=yes
86113 else
86114 echo "$as_me: failed program was:" >&5
86115 sed 's/^/| /' conftest.$ac_ext >&5
86116
86117 glibcxx_cv_func__modff_use=no
86118 fi
86119 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
86120 ac_ext=c
86121 ac_cpp='$CPP $CPPFLAGS'
86122 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
86123 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
86124 ac_compiler_gnu=$ac_cv_c_compiler_gnu
86125
86126
86127 fi
86128
86129 fi
86130 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modff_use" >&5
86131 echo "${ECHO_T}$glibcxx_cv_func__modff_use" >&6
86132
86133 if test x$glibcxx_cv_func__modff_use = x"yes"; then
86134
86135 for ac_func in _modff
86136 do
86137 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
86138 echo "$as_me:$LINENO: checking for $ac_func" >&5
86139 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
86140 if eval "test \"\${$as_ac_var+set}\" = set"; then
86141 echo $ECHO_N "(cached) $ECHO_C" >&6
86142 else
86143 if test x$gcc_no_link = xyes; then
86144 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86145 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86146 { (exit 1); exit 1; }; }
86147 fi
86148 cat >conftest.$ac_ext <<_ACEOF
86149 /* confdefs.h. */
86150 _ACEOF
86151 cat confdefs.h >>conftest.$ac_ext
86152 cat >>conftest.$ac_ext <<_ACEOF
86153 /* end confdefs.h. */
86154 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
86155 For example, HP-UX 11i <limits.h> declares gettimeofday. */
86156 #define $ac_func innocuous_$ac_func
86157
86158 /* System header to define __stub macros and hopefully few prototypes,
86159 which can conflict with char $ac_func (); below.
86160 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
86161 <limits.h> exists even on freestanding compilers. */
86162
86163 #ifdef __STDC__
86164 # include <limits.h>
86165 #else
86166 # include <assert.h>
86167 #endif
86168
86169 #undef $ac_func
86170
86171 /* Override any gcc2 internal prototype to avoid an error. */
86172 #ifdef __cplusplus
86173 extern "C"
86174 {
86175 #endif
86176 /* We use char because int might match the return type of a gcc2
86177 builtin and then its argument prototype would still apply. */
86178 char $ac_func ();
86179 /* The GNU C library defines this for functions which it implements
86180 to always fail with ENOSYS. Some functions are actually named
86181 something starting with __ and the normal name is an alias. */
86182 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
86183 choke me
86184 #else
86185 char (*f) () = $ac_func;
86186 #endif
86187 #ifdef __cplusplus
86188 }
86189 #endif
86190
86191 int
86192 main ()
86193 {
86194 return f != $ac_func;
86195 ;
86196 return 0;
86197 }
86198 _ACEOF
86199 rm -f conftest.$ac_objext conftest$ac_exeext
86200 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86201 (eval $ac_link) 2>conftest.er1
86202 ac_status=$?
86203 grep -v '^ *+' conftest.er1 >conftest.err
86204 rm -f conftest.er1
86205 cat conftest.err >&5
86206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86207 (exit $ac_status); } &&
86208 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
86209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86210 (eval $ac_try) 2>&5
86211 ac_status=$?
86212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86213 (exit $ac_status); }; } &&
86214 { ac_try='test -s conftest$ac_exeext'
86215 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86216 (eval $ac_try) 2>&5
86217 ac_status=$?
86218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86219 (exit $ac_status); }; }; then
86220 eval "$as_ac_var=yes"
86221 else
86222 echo "$as_me: failed program was:" >&5
86223 sed 's/^/| /' conftest.$ac_ext >&5
86224
86225 eval "$as_ac_var=no"
86226 fi
86227 rm -f conftest.err conftest.$ac_objext \
86228 conftest$ac_exeext conftest.$ac_ext
86229 fi
86230 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
86231 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
86232 if test `eval echo '${'$as_ac_var'}'` = yes; then
86233 cat >>confdefs.h <<_ACEOF
86234 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
86235 _ACEOF
86236
86237 fi
86238 done
86239
86240 fi
86241 fi
86242
86243
86244
86245
86246
86247
86248 echo "$as_me:$LINENO: checking for modf declaration" >&5
86249 echo $ECHO_N "checking for modf declaration... $ECHO_C" >&6
86250 if test x${glibcxx_cv_func_modf_use+set} != xset; then
86251 if test "${glibcxx_cv_func_modf_use+set}" = set; then
86252 echo $ECHO_N "(cached) $ECHO_C" >&6
86253 else
86254
86255
86256
86257 ac_ext=cc
86258 ac_cpp='$CXXCPP $CPPFLAGS'
86259 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
86260 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
86261 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
86262
86263 cat >conftest.$ac_ext <<_ACEOF
86264 /* confdefs.h. */
86265 _ACEOF
86266 cat confdefs.h >>conftest.$ac_ext
86267 cat >>conftest.$ac_ext <<_ACEOF
86268 /* end confdefs.h. */
86269 #include <math.h>
86270 int
86271 main ()
86272 {
86273 modf(0, 0);
86274 ;
86275 return 0;
86276 }
86277 _ACEOF
86278 rm -f conftest.$ac_objext
86279 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
86280 (eval $ac_compile) 2>conftest.er1
86281 ac_status=$?
86282 grep -v '^ *+' conftest.er1 >conftest.err
86283 rm -f conftest.er1
86284 cat conftest.err >&5
86285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86286 (exit $ac_status); } &&
86287 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
86288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86289 (eval $ac_try) 2>&5
86290 ac_status=$?
86291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86292 (exit $ac_status); }; } &&
86293 { ac_try='test -s conftest.$ac_objext'
86294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86295 (eval $ac_try) 2>&5
86296 ac_status=$?
86297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86298 (exit $ac_status); }; }; then
86299 glibcxx_cv_func_modf_use=yes
86300 else
86301 echo "$as_me: failed program was:" >&5
86302 sed 's/^/| /' conftest.$ac_ext >&5
86303
86304 glibcxx_cv_func_modf_use=no
86305 fi
86306 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
86307 ac_ext=c
86308 ac_cpp='$CPP $CPPFLAGS'
86309 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
86310 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
86311 ac_compiler_gnu=$ac_cv_c_compiler_gnu
86312
86313
86314 fi
86315
86316 fi
86317 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modf_use" >&5
86318 echo "${ECHO_T}$glibcxx_cv_func_modf_use" >&6
86319
86320 if test x$glibcxx_cv_func_modf_use = x"yes"; then
86321
86322 for ac_func in modf
86323 do
86324 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
86325 echo "$as_me:$LINENO: checking for $ac_func" >&5
86326 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
86327 if eval "test \"\${$as_ac_var+set}\" = set"; then
86328 echo $ECHO_N "(cached) $ECHO_C" >&6
86329 else
86330 if test x$gcc_no_link = xyes; then
86331 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86332 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86333 { (exit 1); exit 1; }; }
86334 fi
86335 cat >conftest.$ac_ext <<_ACEOF
86336 /* confdefs.h. */
86337 _ACEOF
86338 cat confdefs.h >>conftest.$ac_ext
86339 cat >>conftest.$ac_ext <<_ACEOF
86340 /* end confdefs.h. */
86341 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
86342 For example, HP-UX 11i <limits.h> declares gettimeofday. */
86343 #define $ac_func innocuous_$ac_func
86344
86345 /* System header to define __stub macros and hopefully few prototypes,
86346 which can conflict with char $ac_func (); below.
86347 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
86348 <limits.h> exists even on freestanding compilers. */
86349
86350 #ifdef __STDC__
86351 # include <limits.h>
86352 #else
86353 # include <assert.h>
86354 #endif
86355
86356 #undef $ac_func
86357
86358 /* Override any gcc2 internal prototype to avoid an error. */
86359 #ifdef __cplusplus
86360 extern "C"
86361 {
86362 #endif
86363 /* We use char because int might match the return type of a gcc2
86364 builtin and then its argument prototype would still apply. */
86365 char $ac_func ();
86366 /* The GNU C library defines this for functions which it implements
86367 to always fail with ENOSYS. Some functions are actually named
86368 something starting with __ and the normal name is an alias. */
86369 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
86370 choke me
86371 #else
86372 char (*f) () = $ac_func;
86373 #endif
86374 #ifdef __cplusplus
86375 }
86376 #endif
86377
86378 int
86379 main ()
86380 {
86381 return f != $ac_func;
86382 ;
86383 return 0;
86384 }
86385 _ACEOF
86386 rm -f conftest.$ac_objext conftest$ac_exeext
86387 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86388 (eval $ac_link) 2>conftest.er1
86389 ac_status=$?
86390 grep -v '^ *+' conftest.er1 >conftest.err
86391 rm -f conftest.er1
86392 cat conftest.err >&5
86393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86394 (exit $ac_status); } &&
86395 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
86396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86397 (eval $ac_try) 2>&5
86398 ac_status=$?
86399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86400 (exit $ac_status); }; } &&
86401 { ac_try='test -s conftest$ac_exeext'
86402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86403 (eval $ac_try) 2>&5
86404 ac_status=$?
86405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86406 (exit $ac_status); }; }; then
86407 eval "$as_ac_var=yes"
86408 else
86409 echo "$as_me: failed program was:" >&5
86410 sed 's/^/| /' conftest.$ac_ext >&5
86411
86412 eval "$as_ac_var=no"
86413 fi
86414 rm -f conftest.err conftest.$ac_objext \
86415 conftest$ac_exeext conftest.$ac_ext
86416 fi
86417 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
86418 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
86419 if test `eval echo '${'$as_ac_var'}'` = yes; then
86420 cat >>confdefs.h <<_ACEOF
86421 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
86422 _ACEOF
86423
86424 fi
86425 done
86426
86427 else
86428
86429 echo "$as_me:$LINENO: checking for _modf declaration" >&5
86430 echo $ECHO_N "checking for _modf declaration... $ECHO_C" >&6
86431 if test x${glibcxx_cv_func__modf_use+set} != xset; then
86432 if test "${glibcxx_cv_func__modf_use+set}" = set; then
86433 echo $ECHO_N "(cached) $ECHO_C" >&6
86434 else
86435
86436
86437
86438 ac_ext=cc
86439 ac_cpp='$CXXCPP $CPPFLAGS'
86440 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
86441 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
86442 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
86443
86444 cat >conftest.$ac_ext <<_ACEOF
86445 /* confdefs.h. */
86446 _ACEOF
86447 cat confdefs.h >>conftest.$ac_ext
86448 cat >>conftest.$ac_ext <<_ACEOF
86449 /* end confdefs.h. */
86450 #include <math.h>
86451 int
86452 main ()
86453 {
86454 _modf(0, 0);
86455 ;
86456 return 0;
86457 }
86458 _ACEOF
86459 rm -f conftest.$ac_objext
86460 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
86461 (eval $ac_compile) 2>conftest.er1
86462 ac_status=$?
86463 grep -v '^ *+' conftest.er1 >conftest.err
86464 rm -f conftest.er1
86465 cat conftest.err >&5
86466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86467 (exit $ac_status); } &&
86468 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
86469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86470 (eval $ac_try) 2>&5
86471 ac_status=$?
86472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86473 (exit $ac_status); }; } &&
86474 { ac_try='test -s conftest.$ac_objext'
86475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86476 (eval $ac_try) 2>&5
86477 ac_status=$?
86478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86479 (exit $ac_status); }; }; then
86480 glibcxx_cv_func__modf_use=yes
86481 else
86482 echo "$as_me: failed program was:" >&5
86483 sed 's/^/| /' conftest.$ac_ext >&5
86484
86485 glibcxx_cv_func__modf_use=no
86486 fi
86487 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
86488 ac_ext=c
86489 ac_cpp='$CPP $CPPFLAGS'
86490 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
86491 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
86492 ac_compiler_gnu=$ac_cv_c_compiler_gnu
86493
86494
86495 fi
86496
86497 fi
86498 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modf_use" >&5
86499 echo "${ECHO_T}$glibcxx_cv_func__modf_use" >&6
86500
86501 if test x$glibcxx_cv_func__modf_use = x"yes"; then
86502
86503 for ac_func in _modf
86504 do
86505 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
86506 echo "$as_me:$LINENO: checking for $ac_func" >&5
86507 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
86508 if eval "test \"\${$as_ac_var+set}\" = set"; then
86509 echo $ECHO_N "(cached) $ECHO_C" >&6
86510 else
86511 if test x$gcc_no_link = xyes; then
86512 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86513 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86514 { (exit 1); exit 1; }; }
86515 fi
86516 cat >conftest.$ac_ext <<_ACEOF
86517 /* confdefs.h. */
86518 _ACEOF
86519 cat confdefs.h >>conftest.$ac_ext
86520 cat >>conftest.$ac_ext <<_ACEOF
86521 /* end confdefs.h. */
86522 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
86523 For example, HP-UX 11i <limits.h> declares gettimeofday. */
86524 #define $ac_func innocuous_$ac_func
86525
86526 /* System header to define __stub macros and hopefully few prototypes,
86527 which can conflict with char $ac_func (); below.
86528 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
86529 <limits.h> exists even on freestanding compilers. */
86530
86531 #ifdef __STDC__
86532 # include <limits.h>
86533 #else
86534 # include <assert.h>
86535 #endif
86536
86537 #undef $ac_func
86538
86539 /* Override any gcc2 internal prototype to avoid an error. */
86540 #ifdef __cplusplus
86541 extern "C"
86542 {
86543 #endif
86544 /* We use char because int might match the return type of a gcc2
86545 builtin and then its argument prototype would still apply. */
86546 char $ac_func ();
86547 /* The GNU C library defines this for functions which it implements
86548 to always fail with ENOSYS. Some functions are actually named
86549 something starting with __ and the normal name is an alias. */
86550 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
86551 choke me
86552 #else
86553 char (*f) () = $ac_func;
86554 #endif
86555 #ifdef __cplusplus
86556 }
86557 #endif
86558
86559 int
86560 main ()
86561 {
86562 return f != $ac_func;
86563 ;
86564 return 0;
86565 }
86566 _ACEOF
86567 rm -f conftest.$ac_objext conftest$ac_exeext
86568 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86569 (eval $ac_link) 2>conftest.er1
86570 ac_status=$?
86571 grep -v '^ *+' conftest.er1 >conftest.err
86572 rm -f conftest.er1
86573 cat conftest.err >&5
86574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86575 (exit $ac_status); } &&
86576 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
86577 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86578 (eval $ac_try) 2>&5
86579 ac_status=$?
86580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86581 (exit $ac_status); }; } &&
86582 { ac_try='test -s conftest$ac_exeext'
86583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86584 (eval $ac_try) 2>&5
86585 ac_status=$?
86586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86587 (exit $ac_status); }; }; then
86588 eval "$as_ac_var=yes"
86589 else
86590 echo "$as_me: failed program was:" >&5
86591 sed 's/^/| /' conftest.$ac_ext >&5
86592
86593 eval "$as_ac_var=no"
86594 fi
86595 rm -f conftest.err conftest.$ac_objext \
86596 conftest$ac_exeext conftest.$ac_ext
86597 fi
86598 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
86599 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
86600 if test `eval echo '${'$as_ac_var'}'` = yes; then
86601 cat >>confdefs.h <<_ACEOF
86602 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
86603 _ACEOF
86604
86605 fi
86606 done
86607
86608 fi
86609 fi
86610
86611
86612
86613
86614
86615
86616 echo "$as_me:$LINENO: checking for powf declaration" >&5
86617 echo $ECHO_N "checking for powf declaration... $ECHO_C" >&6
86618 if test x${glibcxx_cv_func_powf_use+set} != xset; then
86619 if test "${glibcxx_cv_func_powf_use+set}" = set; then
86620 echo $ECHO_N "(cached) $ECHO_C" >&6
86621 else
86622
86623
86624
86625 ac_ext=cc
86626 ac_cpp='$CXXCPP $CPPFLAGS'
86627 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
86628 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
86629 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
86630
86631 cat >conftest.$ac_ext <<_ACEOF
86632 /* confdefs.h. */
86633 _ACEOF
86634 cat confdefs.h >>conftest.$ac_ext
86635 cat >>conftest.$ac_ext <<_ACEOF
86636 /* end confdefs.h. */
86637 #include <math.h>
86638 int
86639 main ()
86640 {
86641 powf(0, 0);
86642 ;
86643 return 0;
86644 }
86645 _ACEOF
86646 rm -f conftest.$ac_objext
86647 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
86648 (eval $ac_compile) 2>conftest.er1
86649 ac_status=$?
86650 grep -v '^ *+' conftest.er1 >conftest.err
86651 rm -f conftest.er1
86652 cat conftest.err >&5
86653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86654 (exit $ac_status); } &&
86655 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
86656 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86657 (eval $ac_try) 2>&5
86658 ac_status=$?
86659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86660 (exit $ac_status); }; } &&
86661 { ac_try='test -s conftest.$ac_objext'
86662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86663 (eval $ac_try) 2>&5
86664 ac_status=$?
86665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86666 (exit $ac_status); }; }; then
86667 glibcxx_cv_func_powf_use=yes
86668 else
86669 echo "$as_me: failed program was:" >&5
86670 sed 's/^/| /' conftest.$ac_ext >&5
86671
86672 glibcxx_cv_func_powf_use=no
86673 fi
86674 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
86675 ac_ext=c
86676 ac_cpp='$CPP $CPPFLAGS'
86677 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
86678 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
86679 ac_compiler_gnu=$ac_cv_c_compiler_gnu
86680
86681
86682 fi
86683
86684 fi
86685 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powf_use" >&5
86686 echo "${ECHO_T}$glibcxx_cv_func_powf_use" >&6
86687
86688 if test x$glibcxx_cv_func_powf_use = x"yes"; then
86689
86690 for ac_func in powf
86691 do
86692 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
86693 echo "$as_me:$LINENO: checking for $ac_func" >&5
86694 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
86695 if eval "test \"\${$as_ac_var+set}\" = set"; then
86696 echo $ECHO_N "(cached) $ECHO_C" >&6
86697 else
86698 if test x$gcc_no_link = xyes; then
86699 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86700 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86701 { (exit 1); exit 1; }; }
86702 fi
86703 cat >conftest.$ac_ext <<_ACEOF
86704 /* confdefs.h. */
86705 _ACEOF
86706 cat confdefs.h >>conftest.$ac_ext
86707 cat >>conftest.$ac_ext <<_ACEOF
86708 /* end confdefs.h. */
86709 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
86710 For example, HP-UX 11i <limits.h> declares gettimeofday. */
86711 #define $ac_func innocuous_$ac_func
86712
86713 /* System header to define __stub macros and hopefully few prototypes,
86714 which can conflict with char $ac_func (); below.
86715 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
86716 <limits.h> exists even on freestanding compilers. */
86717
86718 #ifdef __STDC__
86719 # include <limits.h>
86720 #else
86721 # include <assert.h>
86722 #endif
86723
86724 #undef $ac_func
86725
86726 /* Override any gcc2 internal prototype to avoid an error. */
86727 #ifdef __cplusplus
86728 extern "C"
86729 {
86730 #endif
86731 /* We use char because int might match the return type of a gcc2
86732 builtin and then its argument prototype would still apply. */
86733 char $ac_func ();
86734 /* The GNU C library defines this for functions which it implements
86735 to always fail with ENOSYS. Some functions are actually named
86736 something starting with __ and the normal name is an alias. */
86737 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
86738 choke me
86739 #else
86740 char (*f) () = $ac_func;
86741 #endif
86742 #ifdef __cplusplus
86743 }
86744 #endif
86745
86746 int
86747 main ()
86748 {
86749 return f != $ac_func;
86750 ;
86751 return 0;
86752 }
86753 _ACEOF
86754 rm -f conftest.$ac_objext conftest$ac_exeext
86755 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86756 (eval $ac_link) 2>conftest.er1
86757 ac_status=$?
86758 grep -v '^ *+' conftest.er1 >conftest.err
86759 rm -f conftest.er1
86760 cat conftest.err >&5
86761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86762 (exit $ac_status); } &&
86763 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
86764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86765 (eval $ac_try) 2>&5
86766 ac_status=$?
86767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86768 (exit $ac_status); }; } &&
86769 { ac_try='test -s conftest$ac_exeext'
86770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86771 (eval $ac_try) 2>&5
86772 ac_status=$?
86773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86774 (exit $ac_status); }; }; then
86775 eval "$as_ac_var=yes"
86776 else
86777 echo "$as_me: failed program was:" >&5
86778 sed 's/^/| /' conftest.$ac_ext >&5
86779
86780 eval "$as_ac_var=no"
86781 fi
86782 rm -f conftest.err conftest.$ac_objext \
86783 conftest$ac_exeext conftest.$ac_ext
86784 fi
86785 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
86786 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
86787 if test `eval echo '${'$as_ac_var'}'` = yes; then
86788 cat >>confdefs.h <<_ACEOF
86789 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
86790 _ACEOF
86791
86792 fi
86793 done
86794
86795 else
86796
86797 echo "$as_me:$LINENO: checking for _powf declaration" >&5
86798 echo $ECHO_N "checking for _powf declaration... $ECHO_C" >&6
86799 if test x${glibcxx_cv_func__powf_use+set} != xset; then
86800 if test "${glibcxx_cv_func__powf_use+set}" = set; then
86801 echo $ECHO_N "(cached) $ECHO_C" >&6
86802 else
86803
86804
86805
86806 ac_ext=cc
86807 ac_cpp='$CXXCPP $CPPFLAGS'
86808 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
86809 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
86810 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
86811
86812 cat >conftest.$ac_ext <<_ACEOF
86813 /* confdefs.h. */
86814 _ACEOF
86815 cat confdefs.h >>conftest.$ac_ext
86816 cat >>conftest.$ac_ext <<_ACEOF
86817 /* end confdefs.h. */
86818 #include <math.h>
86819 int
86820 main ()
86821 {
86822 _powf(0, 0);
86823 ;
86824 return 0;
86825 }
86826 _ACEOF
86827 rm -f conftest.$ac_objext
86828 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
86829 (eval $ac_compile) 2>conftest.er1
86830 ac_status=$?
86831 grep -v '^ *+' conftest.er1 >conftest.err
86832 rm -f conftest.er1
86833 cat conftest.err >&5
86834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86835 (exit $ac_status); } &&
86836 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
86837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86838 (eval $ac_try) 2>&5
86839 ac_status=$?
86840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86841 (exit $ac_status); }; } &&
86842 { ac_try='test -s conftest.$ac_objext'
86843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86844 (eval $ac_try) 2>&5
86845 ac_status=$?
86846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86847 (exit $ac_status); }; }; then
86848 glibcxx_cv_func__powf_use=yes
86849 else
86850 echo "$as_me: failed program was:" >&5
86851 sed 's/^/| /' conftest.$ac_ext >&5
86852
86853 glibcxx_cv_func__powf_use=no
86854 fi
86855 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
86856 ac_ext=c
86857 ac_cpp='$CPP $CPPFLAGS'
86858 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
86859 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
86860 ac_compiler_gnu=$ac_cv_c_compiler_gnu
86861
86862
86863 fi
86864
86865 fi
86866 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powf_use" >&5
86867 echo "${ECHO_T}$glibcxx_cv_func__powf_use" >&6
86868
86869 if test x$glibcxx_cv_func__powf_use = x"yes"; then
86870
86871 for ac_func in _powf
86872 do
86873 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
86874 echo "$as_me:$LINENO: checking for $ac_func" >&5
86875 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
86876 if eval "test \"\${$as_ac_var+set}\" = set"; then
86877 echo $ECHO_N "(cached) $ECHO_C" >&6
86878 else
86879 if test x$gcc_no_link = xyes; then
86880 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86881 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86882 { (exit 1); exit 1; }; }
86883 fi
86884 cat >conftest.$ac_ext <<_ACEOF
86885 /* confdefs.h. */
86886 _ACEOF
86887 cat confdefs.h >>conftest.$ac_ext
86888 cat >>conftest.$ac_ext <<_ACEOF
86889 /* end confdefs.h. */
86890 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
86891 For example, HP-UX 11i <limits.h> declares gettimeofday. */
86892 #define $ac_func innocuous_$ac_func
86893
86894 /* System header to define __stub macros and hopefully few prototypes,
86895 which can conflict with char $ac_func (); below.
86896 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
86897 <limits.h> exists even on freestanding compilers. */
86898
86899 #ifdef __STDC__
86900 # include <limits.h>
86901 #else
86902 # include <assert.h>
86903 #endif
86904
86905 #undef $ac_func
86906
86907 /* Override any gcc2 internal prototype to avoid an error. */
86908 #ifdef __cplusplus
86909 extern "C"
86910 {
86911 #endif
86912 /* We use char because int might match the return type of a gcc2
86913 builtin and then its argument prototype would still apply. */
86914 char $ac_func ();
86915 /* The GNU C library defines this for functions which it implements
86916 to always fail with ENOSYS. Some functions are actually named
86917 something starting with __ and the normal name is an alias. */
86918 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
86919 choke me
86920 #else
86921 char (*f) () = $ac_func;
86922 #endif
86923 #ifdef __cplusplus
86924 }
86925 #endif
86926
86927 int
86928 main ()
86929 {
86930 return f != $ac_func;
86931 ;
86932 return 0;
86933 }
86934 _ACEOF
86935 rm -f conftest.$ac_objext conftest$ac_exeext
86936 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86937 (eval $ac_link) 2>conftest.er1
86938 ac_status=$?
86939 grep -v '^ *+' conftest.er1 >conftest.err
86940 rm -f conftest.er1
86941 cat conftest.err >&5
86942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86943 (exit $ac_status); } &&
86944 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
86945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86946 (eval $ac_try) 2>&5
86947 ac_status=$?
86948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86949 (exit $ac_status); }; } &&
86950 { ac_try='test -s conftest$ac_exeext'
86951 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86952 (eval $ac_try) 2>&5
86953 ac_status=$?
86954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86955 (exit $ac_status); }; }; then
86956 eval "$as_ac_var=yes"
86957 else
86958 echo "$as_me: failed program was:" >&5
86959 sed 's/^/| /' conftest.$ac_ext >&5
86960
86961 eval "$as_ac_var=no"
86962 fi
86963 rm -f conftest.err conftest.$ac_objext \
86964 conftest$ac_exeext conftest.$ac_ext
86965 fi
86966 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
86967 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
86968 if test `eval echo '${'$as_ac_var'}'` = yes; then
86969 cat >>confdefs.h <<_ACEOF
86970 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
86971 _ACEOF
86972
86973 fi
86974 done
86975
86976 fi
86977 fi
86978
86979
86980
86981
86982
86983
86984 echo "$as_me:$LINENO: checking for sqrtf declaration" >&5
86985 echo $ECHO_N "checking for sqrtf declaration... $ECHO_C" >&6
86986 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
86987 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then
86988 echo $ECHO_N "(cached) $ECHO_C" >&6
86989 else
86990
86991
86992
86993 ac_ext=cc
86994 ac_cpp='$CXXCPP $CPPFLAGS'
86995 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
86996 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
86997 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
86998
86999 cat >conftest.$ac_ext <<_ACEOF
87000 /* confdefs.h. */
87001 _ACEOF
87002 cat confdefs.h >>conftest.$ac_ext
87003 cat >>conftest.$ac_ext <<_ACEOF
87004 /* end confdefs.h. */
87005 #include <math.h>
87006 #ifdef HAVE_IEEEFP_H
87007 #include <ieeefp.h>
87008 #endif
87009
87010 int
87011 main ()
87012 {
87013 sqrtf(0);
87014 ;
87015 return 0;
87016 }
87017 _ACEOF
87018 rm -f conftest.$ac_objext
87019 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
87020 (eval $ac_compile) 2>conftest.er1
87021 ac_status=$?
87022 grep -v '^ *+' conftest.er1 >conftest.err
87023 rm -f conftest.er1
87024 cat conftest.err >&5
87025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87026 (exit $ac_status); } &&
87027 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
87028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87029 (eval $ac_try) 2>&5
87030 ac_status=$?
87031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87032 (exit $ac_status); }; } &&
87033 { ac_try='test -s conftest.$ac_objext'
87034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87035 (eval $ac_try) 2>&5
87036 ac_status=$?
87037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87038 (exit $ac_status); }; }; then
87039 glibcxx_cv_func_sqrtf_use=yes
87040 else
87041 echo "$as_me: failed program was:" >&5
87042 sed 's/^/| /' conftest.$ac_ext >&5
87043
87044 glibcxx_cv_func_sqrtf_use=no
87045 fi
87046 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
87047 ac_ext=c
87048 ac_cpp='$CPP $CPPFLAGS'
87049 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
87050 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
87051 ac_compiler_gnu=$ac_cv_c_compiler_gnu
87052
87053
87054 fi
87055
87056 fi
87057 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtf_use" >&5
87058 echo "${ECHO_T}$glibcxx_cv_func_sqrtf_use" >&6
87059
87060 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
87061
87062 for ac_func in sqrtf
87063 do
87064 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
87065 echo "$as_me:$LINENO: checking for $ac_func" >&5
87066 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
87067 if eval "test \"\${$as_ac_var+set}\" = set"; then
87068 echo $ECHO_N "(cached) $ECHO_C" >&6
87069 else
87070 if test x$gcc_no_link = xyes; then
87071 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87072 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87073 { (exit 1); exit 1; }; }
87074 fi
87075 cat >conftest.$ac_ext <<_ACEOF
87076 /* confdefs.h. */
87077 _ACEOF
87078 cat confdefs.h >>conftest.$ac_ext
87079 cat >>conftest.$ac_ext <<_ACEOF
87080 /* end confdefs.h. */
87081 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
87082 For example, HP-UX 11i <limits.h> declares gettimeofday. */
87083 #define $ac_func innocuous_$ac_func
87084
87085 /* System header to define __stub macros and hopefully few prototypes,
87086 which can conflict with char $ac_func (); below.
87087 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
87088 <limits.h> exists even on freestanding compilers. */
87089
87090 #ifdef __STDC__
87091 # include <limits.h>
87092 #else
87093 # include <assert.h>
87094 #endif
87095
87096 #undef $ac_func
87097
87098 /* Override any gcc2 internal prototype to avoid an error. */
87099 #ifdef __cplusplus
87100 extern "C"
87101 {
87102 #endif
87103 /* We use char because int might match the return type of a gcc2
87104 builtin and then its argument prototype would still apply. */
87105 char $ac_func ();
87106 /* The GNU C library defines this for functions which it implements
87107 to always fail with ENOSYS. Some functions are actually named
87108 something starting with __ and the normal name is an alias. */
87109 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
87110 choke me
87111 #else
87112 char (*f) () = $ac_func;
87113 #endif
87114 #ifdef __cplusplus
87115 }
87116 #endif
87117
87118 int
87119 main ()
87120 {
87121 return f != $ac_func;
87122 ;
87123 return 0;
87124 }
87125 _ACEOF
87126 rm -f conftest.$ac_objext conftest$ac_exeext
87127 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87128 (eval $ac_link) 2>conftest.er1
87129 ac_status=$?
87130 grep -v '^ *+' conftest.er1 >conftest.err
87131 rm -f conftest.er1
87132 cat conftest.err >&5
87133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87134 (exit $ac_status); } &&
87135 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
87136 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87137 (eval $ac_try) 2>&5
87138 ac_status=$?
87139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87140 (exit $ac_status); }; } &&
87141 { ac_try='test -s conftest$ac_exeext'
87142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87143 (eval $ac_try) 2>&5
87144 ac_status=$?
87145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87146 (exit $ac_status); }; }; then
87147 eval "$as_ac_var=yes"
87148 else
87149 echo "$as_me: failed program was:" >&5
87150 sed 's/^/| /' conftest.$ac_ext >&5
87151
87152 eval "$as_ac_var=no"
87153 fi
87154 rm -f conftest.err conftest.$ac_objext \
87155 conftest$ac_exeext conftest.$ac_ext
87156 fi
87157 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
87158 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
87159 if test `eval echo '${'$as_ac_var'}'` = yes; then
87160 cat >>confdefs.h <<_ACEOF
87161 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
87162 _ACEOF
87163
87164 fi
87165 done
87166
87167 else
87168
87169 echo "$as_me:$LINENO: checking for _sqrtf declaration" >&5
87170 echo $ECHO_N "checking for _sqrtf declaration... $ECHO_C" >&6
87171 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
87172 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then
87173 echo $ECHO_N "(cached) $ECHO_C" >&6
87174 else
87175
87176
87177
87178 ac_ext=cc
87179 ac_cpp='$CXXCPP $CPPFLAGS'
87180 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
87181 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
87182 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
87183
87184 cat >conftest.$ac_ext <<_ACEOF
87185 /* confdefs.h. */
87186 _ACEOF
87187 cat confdefs.h >>conftest.$ac_ext
87188 cat >>conftest.$ac_ext <<_ACEOF
87189 /* end confdefs.h. */
87190 #include <math.h>
87191 #ifdef HAVE_IEEEFP_H
87192 #include <ieeefp.h>
87193 #endif
87194
87195 int
87196 main ()
87197 {
87198 _sqrtf(0);
87199 ;
87200 return 0;
87201 }
87202 _ACEOF
87203 rm -f conftest.$ac_objext
87204 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
87205 (eval $ac_compile) 2>conftest.er1
87206 ac_status=$?
87207 grep -v '^ *+' conftest.er1 >conftest.err
87208 rm -f conftest.er1
87209 cat conftest.err >&5
87210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87211 (exit $ac_status); } &&
87212 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
87213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87214 (eval $ac_try) 2>&5
87215 ac_status=$?
87216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87217 (exit $ac_status); }; } &&
87218 { ac_try='test -s conftest.$ac_objext'
87219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87220 (eval $ac_try) 2>&5
87221 ac_status=$?
87222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87223 (exit $ac_status); }; }; then
87224 glibcxx_cv_func__sqrtf_use=yes
87225 else
87226 echo "$as_me: failed program was:" >&5
87227 sed 's/^/| /' conftest.$ac_ext >&5
87228
87229 glibcxx_cv_func__sqrtf_use=no
87230 fi
87231 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
87232 ac_ext=c
87233 ac_cpp='$CPP $CPPFLAGS'
87234 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
87235 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
87236 ac_compiler_gnu=$ac_cv_c_compiler_gnu
87237
87238
87239 fi
87240
87241 fi
87242 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtf_use" >&5
87243 echo "${ECHO_T}$glibcxx_cv_func__sqrtf_use" >&6
87244
87245 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
87246
87247 for ac_func in _sqrtf
87248 do
87249 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
87250 echo "$as_me:$LINENO: checking for $ac_func" >&5
87251 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
87252 if eval "test \"\${$as_ac_var+set}\" = set"; then
87253 echo $ECHO_N "(cached) $ECHO_C" >&6
87254 else
87255 if test x$gcc_no_link = xyes; then
87256 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87257 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87258 { (exit 1); exit 1; }; }
87259 fi
87260 cat >conftest.$ac_ext <<_ACEOF
87261 /* confdefs.h. */
87262 _ACEOF
87263 cat confdefs.h >>conftest.$ac_ext
87264 cat >>conftest.$ac_ext <<_ACEOF
87265 /* end confdefs.h. */
87266 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
87267 For example, HP-UX 11i <limits.h> declares gettimeofday. */
87268 #define $ac_func innocuous_$ac_func
87269
87270 /* System header to define __stub macros and hopefully few prototypes,
87271 which can conflict with char $ac_func (); below.
87272 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
87273 <limits.h> exists even on freestanding compilers. */
87274
87275 #ifdef __STDC__
87276 # include <limits.h>
87277 #else
87278 # include <assert.h>
87279 #endif
87280
87281 #undef $ac_func
87282
87283 /* Override any gcc2 internal prototype to avoid an error. */
87284 #ifdef __cplusplus
87285 extern "C"
87286 {
87287 #endif
87288 /* We use char because int might match the return type of a gcc2
87289 builtin and then its argument prototype would still apply. */
87290 char $ac_func ();
87291 /* The GNU C library defines this for functions which it implements
87292 to always fail with ENOSYS. Some functions are actually named
87293 something starting with __ and the normal name is an alias. */
87294 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
87295 choke me
87296 #else
87297 char (*f) () = $ac_func;
87298 #endif
87299 #ifdef __cplusplus
87300 }
87301 #endif
87302
87303 int
87304 main ()
87305 {
87306 return f != $ac_func;
87307 ;
87308 return 0;
87309 }
87310 _ACEOF
87311 rm -f conftest.$ac_objext conftest$ac_exeext
87312 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87313 (eval $ac_link) 2>conftest.er1
87314 ac_status=$?
87315 grep -v '^ *+' conftest.er1 >conftest.err
87316 rm -f conftest.er1
87317 cat conftest.err >&5
87318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87319 (exit $ac_status); } &&
87320 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
87321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87322 (eval $ac_try) 2>&5
87323 ac_status=$?
87324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87325 (exit $ac_status); }; } &&
87326 { ac_try='test -s conftest$ac_exeext'
87327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87328 (eval $ac_try) 2>&5
87329 ac_status=$?
87330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87331 (exit $ac_status); }; }; then
87332 eval "$as_ac_var=yes"
87333 else
87334 echo "$as_me: failed program was:" >&5
87335 sed 's/^/| /' conftest.$ac_ext >&5
87336
87337 eval "$as_ac_var=no"
87338 fi
87339 rm -f conftest.err conftest.$ac_objext \
87340 conftest$ac_exeext conftest.$ac_ext
87341 fi
87342 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
87343 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
87344 if test `eval echo '${'$as_ac_var'}'` = yes; then
87345 cat >>confdefs.h <<_ACEOF
87346 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
87347 _ACEOF
87348
87349 fi
87350 done
87351
87352 fi
87353 fi
87354
87355
87356
87357
87358
87359
87360 echo "$as_me:$LINENO: checking for sincosf declaration" >&5
87361 echo $ECHO_N "checking for sincosf declaration... $ECHO_C" >&6
87362 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
87363 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then
87364 echo $ECHO_N "(cached) $ECHO_C" >&6
87365 else
87366
87367
87368
87369 ac_ext=cc
87370 ac_cpp='$CXXCPP $CPPFLAGS'
87371 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
87372 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
87373 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
87374
87375 cat >conftest.$ac_ext <<_ACEOF
87376 /* confdefs.h. */
87377 _ACEOF
87378 cat confdefs.h >>conftest.$ac_ext
87379 cat >>conftest.$ac_ext <<_ACEOF
87380 /* end confdefs.h. */
87381 #include <math.h>
87382 int
87383 main ()
87384 {
87385 sincosf(0, 0, 0);
87386 ;
87387 return 0;
87388 }
87389 _ACEOF
87390 rm -f conftest.$ac_objext
87391 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
87392 (eval $ac_compile) 2>conftest.er1
87393 ac_status=$?
87394 grep -v '^ *+' conftest.er1 >conftest.err
87395 rm -f conftest.er1
87396 cat conftest.err >&5
87397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87398 (exit $ac_status); } &&
87399 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
87400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87401 (eval $ac_try) 2>&5
87402 ac_status=$?
87403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87404 (exit $ac_status); }; } &&
87405 { ac_try='test -s conftest.$ac_objext'
87406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87407 (eval $ac_try) 2>&5
87408 ac_status=$?
87409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87410 (exit $ac_status); }; }; then
87411 glibcxx_cv_func_sincosf_use=yes
87412 else
87413 echo "$as_me: failed program was:" >&5
87414 sed 's/^/| /' conftest.$ac_ext >&5
87415
87416 glibcxx_cv_func_sincosf_use=no
87417 fi
87418 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
87419 ac_ext=c
87420 ac_cpp='$CPP $CPPFLAGS'
87421 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
87422 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
87423 ac_compiler_gnu=$ac_cv_c_compiler_gnu
87424
87425
87426 fi
87427
87428 fi
87429 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosf_use" >&5
87430 echo "${ECHO_T}$glibcxx_cv_func_sincosf_use" >&6
87431
87432 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
87433
87434 for ac_func in sincosf
87435 do
87436 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
87437 echo "$as_me:$LINENO: checking for $ac_func" >&5
87438 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
87439 if eval "test \"\${$as_ac_var+set}\" = set"; then
87440 echo $ECHO_N "(cached) $ECHO_C" >&6
87441 else
87442 if test x$gcc_no_link = xyes; then
87443 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87444 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87445 { (exit 1); exit 1; }; }
87446 fi
87447 cat >conftest.$ac_ext <<_ACEOF
87448 /* confdefs.h. */
87449 _ACEOF
87450 cat confdefs.h >>conftest.$ac_ext
87451 cat >>conftest.$ac_ext <<_ACEOF
87452 /* end confdefs.h. */
87453 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
87454 For example, HP-UX 11i <limits.h> declares gettimeofday. */
87455 #define $ac_func innocuous_$ac_func
87456
87457 /* System header to define __stub macros and hopefully few prototypes,
87458 which can conflict with char $ac_func (); below.
87459 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
87460 <limits.h> exists even on freestanding compilers. */
87461
87462 #ifdef __STDC__
87463 # include <limits.h>
87464 #else
87465 # include <assert.h>
87466 #endif
87467
87468 #undef $ac_func
87469
87470 /* Override any gcc2 internal prototype to avoid an error. */
87471 #ifdef __cplusplus
87472 extern "C"
87473 {
87474 #endif
87475 /* We use char because int might match the return type of a gcc2
87476 builtin and then its argument prototype would still apply. */
87477 char $ac_func ();
87478 /* The GNU C library defines this for functions which it implements
87479 to always fail with ENOSYS. Some functions are actually named
87480 something starting with __ and the normal name is an alias. */
87481 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
87482 choke me
87483 #else
87484 char (*f) () = $ac_func;
87485 #endif
87486 #ifdef __cplusplus
87487 }
87488 #endif
87489
87490 int
87491 main ()
87492 {
87493 return f != $ac_func;
87494 ;
87495 return 0;
87496 }
87497 _ACEOF
87498 rm -f conftest.$ac_objext conftest$ac_exeext
87499 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87500 (eval $ac_link) 2>conftest.er1
87501 ac_status=$?
87502 grep -v '^ *+' conftest.er1 >conftest.err
87503 rm -f conftest.er1
87504 cat conftest.err >&5
87505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87506 (exit $ac_status); } &&
87507 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
87508 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87509 (eval $ac_try) 2>&5
87510 ac_status=$?
87511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87512 (exit $ac_status); }; } &&
87513 { ac_try='test -s conftest$ac_exeext'
87514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87515 (eval $ac_try) 2>&5
87516 ac_status=$?
87517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87518 (exit $ac_status); }; }; then
87519 eval "$as_ac_var=yes"
87520 else
87521 echo "$as_me: failed program was:" >&5
87522 sed 's/^/| /' conftest.$ac_ext >&5
87523
87524 eval "$as_ac_var=no"
87525 fi
87526 rm -f conftest.err conftest.$ac_objext \
87527 conftest$ac_exeext conftest.$ac_ext
87528 fi
87529 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
87530 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
87531 if test `eval echo '${'$as_ac_var'}'` = yes; then
87532 cat >>confdefs.h <<_ACEOF
87533 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
87534 _ACEOF
87535
87536 fi
87537 done
87538
87539 else
87540
87541 echo "$as_me:$LINENO: checking for _sincosf declaration" >&5
87542 echo $ECHO_N "checking for _sincosf declaration... $ECHO_C" >&6
87543 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
87544 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then
87545 echo $ECHO_N "(cached) $ECHO_C" >&6
87546 else
87547
87548
87549
87550 ac_ext=cc
87551 ac_cpp='$CXXCPP $CPPFLAGS'
87552 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
87553 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
87554 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
87555
87556 cat >conftest.$ac_ext <<_ACEOF
87557 /* confdefs.h. */
87558 _ACEOF
87559 cat confdefs.h >>conftest.$ac_ext
87560 cat >>conftest.$ac_ext <<_ACEOF
87561 /* end confdefs.h. */
87562 #include <math.h>
87563 int
87564 main ()
87565 {
87566 _sincosf(0, 0, 0);
87567 ;
87568 return 0;
87569 }
87570 _ACEOF
87571 rm -f conftest.$ac_objext
87572 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
87573 (eval $ac_compile) 2>conftest.er1
87574 ac_status=$?
87575 grep -v '^ *+' conftest.er1 >conftest.err
87576 rm -f conftest.er1
87577 cat conftest.err >&5
87578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87579 (exit $ac_status); } &&
87580 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
87581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87582 (eval $ac_try) 2>&5
87583 ac_status=$?
87584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87585 (exit $ac_status); }; } &&
87586 { ac_try='test -s conftest.$ac_objext'
87587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87588 (eval $ac_try) 2>&5
87589 ac_status=$?
87590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87591 (exit $ac_status); }; }; then
87592 glibcxx_cv_func__sincosf_use=yes
87593 else
87594 echo "$as_me: failed program was:" >&5
87595 sed 's/^/| /' conftest.$ac_ext >&5
87596
87597 glibcxx_cv_func__sincosf_use=no
87598 fi
87599 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
87600 ac_ext=c
87601 ac_cpp='$CPP $CPPFLAGS'
87602 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
87603 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
87604 ac_compiler_gnu=$ac_cv_c_compiler_gnu
87605
87606
87607 fi
87608
87609 fi
87610 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosf_use" >&5
87611 echo "${ECHO_T}$glibcxx_cv_func__sincosf_use" >&6
87612
87613 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
87614
87615 for ac_func in _sincosf
87616 do
87617 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
87618 echo "$as_me:$LINENO: checking for $ac_func" >&5
87619 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
87620 if eval "test \"\${$as_ac_var+set}\" = set"; then
87621 echo $ECHO_N "(cached) $ECHO_C" >&6
87622 else
87623 if test x$gcc_no_link = xyes; then
87624 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87625 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87626 { (exit 1); exit 1; }; }
87627 fi
87628 cat >conftest.$ac_ext <<_ACEOF
87629 /* confdefs.h. */
87630 _ACEOF
87631 cat confdefs.h >>conftest.$ac_ext
87632 cat >>conftest.$ac_ext <<_ACEOF
87633 /* end confdefs.h. */
87634 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
87635 For example, HP-UX 11i <limits.h> declares gettimeofday. */
87636 #define $ac_func innocuous_$ac_func
87637
87638 /* System header to define __stub macros and hopefully few prototypes,
87639 which can conflict with char $ac_func (); below.
87640 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
87641 <limits.h> exists even on freestanding compilers. */
87642
87643 #ifdef __STDC__
87644 # include <limits.h>
87645 #else
87646 # include <assert.h>
87647 #endif
87648
87649 #undef $ac_func
87650
87651 /* Override any gcc2 internal prototype to avoid an error. */
87652 #ifdef __cplusplus
87653 extern "C"
87654 {
87655 #endif
87656 /* We use char because int might match the return type of a gcc2
87657 builtin and then its argument prototype would still apply. */
87658 char $ac_func ();
87659 /* The GNU C library defines this for functions which it implements
87660 to always fail with ENOSYS. Some functions are actually named
87661 something starting with __ and the normal name is an alias. */
87662 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
87663 choke me
87664 #else
87665 char (*f) () = $ac_func;
87666 #endif
87667 #ifdef __cplusplus
87668 }
87669 #endif
87670
87671 int
87672 main ()
87673 {
87674 return f != $ac_func;
87675 ;
87676 return 0;
87677 }
87678 _ACEOF
87679 rm -f conftest.$ac_objext conftest$ac_exeext
87680 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87681 (eval $ac_link) 2>conftest.er1
87682 ac_status=$?
87683 grep -v '^ *+' conftest.er1 >conftest.err
87684 rm -f conftest.er1
87685 cat conftest.err >&5
87686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87687 (exit $ac_status); } &&
87688 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
87689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87690 (eval $ac_try) 2>&5
87691 ac_status=$?
87692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87693 (exit $ac_status); }; } &&
87694 { ac_try='test -s conftest$ac_exeext'
87695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87696 (eval $ac_try) 2>&5
87697 ac_status=$?
87698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87699 (exit $ac_status); }; }; then
87700 eval "$as_ac_var=yes"
87701 else
87702 echo "$as_me: failed program was:" >&5
87703 sed 's/^/| /' conftest.$ac_ext >&5
87704
87705 eval "$as_ac_var=no"
87706 fi
87707 rm -f conftest.err conftest.$ac_objext \
87708 conftest$ac_exeext conftest.$ac_ext
87709 fi
87710 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
87711 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
87712 if test `eval echo '${'$as_ac_var'}'` = yes; then
87713 cat >>confdefs.h <<_ACEOF
87714 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
87715 _ACEOF
87716
87717 fi
87718 done
87719
87720 fi
87721 fi
87722
87723
87724
87725
87726
87727
87728 echo "$as_me:$LINENO: checking for finitef declaration" >&5
87729 echo $ECHO_N "checking for finitef declaration... $ECHO_C" >&6
87730 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
87731 if test "${glibcxx_cv_func_finitef_use+set}" = set; then
87732 echo $ECHO_N "(cached) $ECHO_C" >&6
87733 else
87734
87735
87736
87737 ac_ext=cc
87738 ac_cpp='$CXXCPP $CPPFLAGS'
87739 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
87740 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
87741 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
87742
87743 cat >conftest.$ac_ext <<_ACEOF
87744 /* confdefs.h. */
87745 _ACEOF
87746 cat confdefs.h >>conftest.$ac_ext
87747 cat >>conftest.$ac_ext <<_ACEOF
87748 /* end confdefs.h. */
87749 #include <math.h>
87750 #ifdef HAVE_IEEEFP_H
87751 #include <ieeefp.h>
87752 #endif
87753
87754 int
87755 main ()
87756 {
87757 finitef(0);
87758 ;
87759 return 0;
87760 }
87761 _ACEOF
87762 rm -f conftest.$ac_objext
87763 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
87764 (eval $ac_compile) 2>conftest.er1
87765 ac_status=$?
87766 grep -v '^ *+' conftest.er1 >conftest.err
87767 rm -f conftest.er1
87768 cat conftest.err >&5
87769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87770 (exit $ac_status); } &&
87771 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
87772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87773 (eval $ac_try) 2>&5
87774 ac_status=$?
87775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87776 (exit $ac_status); }; } &&
87777 { ac_try='test -s conftest.$ac_objext'
87778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87779 (eval $ac_try) 2>&5
87780 ac_status=$?
87781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87782 (exit $ac_status); }; }; then
87783 glibcxx_cv_func_finitef_use=yes
87784 else
87785 echo "$as_me: failed program was:" >&5
87786 sed 's/^/| /' conftest.$ac_ext >&5
87787
87788 glibcxx_cv_func_finitef_use=no
87789 fi
87790 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
87791 ac_ext=c
87792 ac_cpp='$CPP $CPPFLAGS'
87793 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
87794 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
87795 ac_compiler_gnu=$ac_cv_c_compiler_gnu
87796
87797
87798 fi
87799
87800 fi
87801 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitef_use" >&5
87802 echo "${ECHO_T}$glibcxx_cv_func_finitef_use" >&6
87803
87804 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
87805
87806 for ac_func in finitef
87807 do
87808 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
87809 echo "$as_me:$LINENO: checking for $ac_func" >&5
87810 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
87811 if eval "test \"\${$as_ac_var+set}\" = set"; then
87812 echo $ECHO_N "(cached) $ECHO_C" >&6
87813 else
87814 if test x$gcc_no_link = xyes; then
87815 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87816 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87817 { (exit 1); exit 1; }; }
87818 fi
87819 cat >conftest.$ac_ext <<_ACEOF
87820 /* confdefs.h. */
87821 _ACEOF
87822 cat confdefs.h >>conftest.$ac_ext
87823 cat >>conftest.$ac_ext <<_ACEOF
87824 /* end confdefs.h. */
87825 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
87826 For example, HP-UX 11i <limits.h> declares gettimeofday. */
87827 #define $ac_func innocuous_$ac_func
87828
87829 /* System header to define __stub macros and hopefully few prototypes,
87830 which can conflict with char $ac_func (); below.
87831 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
87832 <limits.h> exists even on freestanding compilers. */
87833
87834 #ifdef __STDC__
87835 # include <limits.h>
87836 #else
87837 # include <assert.h>
87838 #endif
87839
87840 #undef $ac_func
87841
87842 /* Override any gcc2 internal prototype to avoid an error. */
87843 #ifdef __cplusplus
87844 extern "C"
87845 {
87846 #endif
87847 /* We use char because int might match the return type of a gcc2
87848 builtin and then its argument prototype would still apply. */
87849 char $ac_func ();
87850 /* The GNU C library defines this for functions which it implements
87851 to always fail with ENOSYS. Some functions are actually named
87852 something starting with __ and the normal name is an alias. */
87853 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
87854 choke me
87855 #else
87856 char (*f) () = $ac_func;
87857 #endif
87858 #ifdef __cplusplus
87859 }
87860 #endif
87861
87862 int
87863 main ()
87864 {
87865 return f != $ac_func;
87866 ;
87867 return 0;
87868 }
87869 _ACEOF
87870 rm -f conftest.$ac_objext conftest$ac_exeext
87871 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87872 (eval $ac_link) 2>conftest.er1
87873 ac_status=$?
87874 grep -v '^ *+' conftest.er1 >conftest.err
87875 rm -f conftest.er1
87876 cat conftest.err >&5
87877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87878 (exit $ac_status); } &&
87879 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
87880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87881 (eval $ac_try) 2>&5
87882 ac_status=$?
87883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87884 (exit $ac_status); }; } &&
87885 { ac_try='test -s conftest$ac_exeext'
87886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87887 (eval $ac_try) 2>&5
87888 ac_status=$?
87889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87890 (exit $ac_status); }; }; then
87891 eval "$as_ac_var=yes"
87892 else
87893 echo "$as_me: failed program was:" >&5
87894 sed 's/^/| /' conftest.$ac_ext >&5
87895
87896 eval "$as_ac_var=no"
87897 fi
87898 rm -f conftest.err conftest.$ac_objext \
87899 conftest$ac_exeext conftest.$ac_ext
87900 fi
87901 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
87902 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
87903 if test `eval echo '${'$as_ac_var'}'` = yes; then
87904 cat >>confdefs.h <<_ACEOF
87905 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
87906 _ACEOF
87907
87908 fi
87909 done
87910
87911 else
87912
87913 echo "$as_me:$LINENO: checking for _finitef declaration" >&5
87914 echo $ECHO_N "checking for _finitef declaration... $ECHO_C" >&6
87915 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
87916 if test "${glibcxx_cv_func__finitef_use+set}" = set; then
87917 echo $ECHO_N "(cached) $ECHO_C" >&6
87918 else
87919
87920
87921
87922 ac_ext=cc
87923 ac_cpp='$CXXCPP $CPPFLAGS'
87924 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
87925 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
87926 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
87927
87928 cat >conftest.$ac_ext <<_ACEOF
87929 /* confdefs.h. */
87930 _ACEOF
87931 cat confdefs.h >>conftest.$ac_ext
87932 cat >>conftest.$ac_ext <<_ACEOF
87933 /* end confdefs.h. */
87934 #include <math.h>
87935 #ifdef HAVE_IEEEFP_H
87936 #include <ieeefp.h>
87937 #endif
87938
87939 int
87940 main ()
87941 {
87942 _finitef(0);
87943 ;
87944 return 0;
87945 }
87946 _ACEOF
87947 rm -f conftest.$ac_objext
87948 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
87949 (eval $ac_compile) 2>conftest.er1
87950 ac_status=$?
87951 grep -v '^ *+' conftest.er1 >conftest.err
87952 rm -f conftest.er1
87953 cat conftest.err >&5
87954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87955 (exit $ac_status); } &&
87956 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
87957 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87958 (eval $ac_try) 2>&5
87959 ac_status=$?
87960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87961 (exit $ac_status); }; } &&
87962 { ac_try='test -s conftest.$ac_objext'
87963 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87964 (eval $ac_try) 2>&5
87965 ac_status=$?
87966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87967 (exit $ac_status); }; }; then
87968 glibcxx_cv_func__finitef_use=yes
87969 else
87970 echo "$as_me: failed program was:" >&5
87971 sed 's/^/| /' conftest.$ac_ext >&5
87972
87973 glibcxx_cv_func__finitef_use=no
87974 fi
87975 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
87976 ac_ext=c
87977 ac_cpp='$CPP $CPPFLAGS'
87978 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
87979 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
87980 ac_compiler_gnu=$ac_cv_c_compiler_gnu
87981
87982
87983 fi
87984
87985 fi
87986 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitef_use" >&5
87987 echo "${ECHO_T}$glibcxx_cv_func__finitef_use" >&6
87988
87989 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
87990
87991 for ac_func in _finitef
87992 do
87993 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
87994 echo "$as_me:$LINENO: checking for $ac_func" >&5
87995 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
87996 if eval "test \"\${$as_ac_var+set}\" = set"; then
87997 echo $ECHO_N "(cached) $ECHO_C" >&6
87998 else
87999 if test x$gcc_no_link = xyes; then
88000 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
88001 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
88002 { (exit 1); exit 1; }; }
88003 fi
88004 cat >conftest.$ac_ext <<_ACEOF
88005 /* confdefs.h. */
88006 _ACEOF
88007 cat confdefs.h >>conftest.$ac_ext
88008 cat >>conftest.$ac_ext <<_ACEOF
88009 /* end confdefs.h. */
88010 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
88011 For example, HP-UX 11i <limits.h> declares gettimeofday. */
88012 #define $ac_func innocuous_$ac_func
88013
88014 /* System header to define __stub macros and hopefully few prototypes,
88015 which can conflict with char $ac_func (); below.
88016 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
88017 <limits.h> exists even on freestanding compilers. */
88018
88019 #ifdef __STDC__
88020 # include <limits.h>
88021 #else
88022 # include <assert.h>
88023 #endif
88024
88025 #undef $ac_func
88026
88027 /* Override any gcc2 internal prototype to avoid an error. */
88028 #ifdef __cplusplus
88029 extern "C"
88030 {
88031 #endif
88032 /* We use char because int might match the return type of a gcc2
88033 builtin and then its argument prototype would still apply. */
88034 char $ac_func ();
88035 /* The GNU C library defines this for functions which it implements
88036 to always fail with ENOSYS. Some functions are actually named
88037 something starting with __ and the normal name is an alias. */
88038 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
88039 choke me
88040 #else
88041 char (*f) () = $ac_func;
88042 #endif
88043 #ifdef __cplusplus
88044 }
88045 #endif
88046
88047 int
88048 main ()
88049 {
88050 return f != $ac_func;
88051 ;
88052 return 0;
88053 }
88054 _ACEOF
88055 rm -f conftest.$ac_objext conftest$ac_exeext
88056 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
88057 (eval $ac_link) 2>conftest.er1
88058 ac_status=$?
88059 grep -v '^ *+' conftest.er1 >conftest.err
88060 rm -f conftest.er1
88061 cat conftest.err >&5
88062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88063 (exit $ac_status); } &&
88064 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
88065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88066 (eval $ac_try) 2>&5
88067 ac_status=$?
88068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88069 (exit $ac_status); }; } &&
88070 { ac_try='test -s conftest$ac_exeext'
88071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88072 (eval $ac_try) 2>&5
88073 ac_status=$?
88074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88075 (exit $ac_status); }; }; then
88076 eval "$as_ac_var=yes"
88077 else
88078 echo "$as_me: failed program was:" >&5
88079 sed 's/^/| /' conftest.$ac_ext >&5
88080
88081 eval "$as_ac_var=no"
88082 fi
88083 rm -f conftest.err conftest.$ac_objext \
88084 conftest$ac_exeext conftest.$ac_ext
88085 fi
88086 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
88087 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
88088 if test `eval echo '${'$as_ac_var'}'` = yes; then
88089 cat >>confdefs.h <<_ACEOF
88090 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
88091 _ACEOF
88092
88093 fi
88094 done
88095
88096 fi
88097 fi
88098
88099
88100
88101
88102
88103
88104 echo "$as_me:$LINENO: checking for long double trig functions" >&5
88105 echo $ECHO_N "checking for long double trig functions... $ECHO_C" >&6
88106 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then
88107 echo $ECHO_N "(cached) $ECHO_C" >&6
88108 else
88109
88110
88111
88112 ac_ext=cc
88113 ac_cpp='$CXXCPP $CPPFLAGS'
88114 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88115 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88116 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
88117
88118 cat >conftest.$ac_ext <<_ACEOF
88119 /* confdefs.h. */
88120 _ACEOF
88121 cat confdefs.h >>conftest.$ac_ext
88122 cat >>conftest.$ac_ext <<_ACEOF
88123 /* end confdefs.h. */
88124 #include <math.h>
88125 int
88126 main ()
88127 {
88128 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
88129 ;
88130 return 0;
88131 }
88132 _ACEOF
88133 rm -f conftest.$ac_objext
88134 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
88135 (eval $ac_compile) 2>conftest.er1
88136 ac_status=$?
88137 grep -v '^ *+' conftest.er1 >conftest.err
88138 rm -f conftest.er1
88139 cat conftest.err >&5
88140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88141 (exit $ac_status); } &&
88142 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
88143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88144 (eval $ac_try) 2>&5
88145 ac_status=$?
88146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88147 (exit $ac_status); }; } &&
88148 { ac_try='test -s conftest.$ac_objext'
88149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88150 (eval $ac_try) 2>&5
88151 ac_status=$?
88152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88153 (exit $ac_status); }; }; then
88154 glibcxx_cv_func_long_double_trig_use=yes
88155 else
88156 echo "$as_me: failed program was:" >&5
88157 sed 's/^/| /' conftest.$ac_ext >&5
88158
88159 glibcxx_cv_func_long_double_trig_use=no
88160 fi
88161 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
88162 ac_ext=c
88163 ac_cpp='$CPP $CPPFLAGS'
88164 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88165 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88166 ac_compiler_gnu=$ac_cv_c_compiler_gnu
88167
88168 fi
88169
88170 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_trig_use" >&5
88171 echo "${ECHO_T}$glibcxx_cv_func_long_double_trig_use" >&6
88172 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
88173
88174
88175
88176
88177
88178
88179
88180
88181
88182 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
88183 do
88184 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
88185 echo "$as_me:$LINENO: checking for $ac_func" >&5
88186 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
88187 if eval "test \"\${$as_ac_var+set}\" = set"; then
88188 echo $ECHO_N "(cached) $ECHO_C" >&6
88189 else
88190 if test x$gcc_no_link = xyes; then
88191 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
88192 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
88193 { (exit 1); exit 1; }; }
88194 fi
88195 cat >conftest.$ac_ext <<_ACEOF
88196 /* confdefs.h. */
88197 _ACEOF
88198 cat confdefs.h >>conftest.$ac_ext
88199 cat >>conftest.$ac_ext <<_ACEOF
88200 /* end confdefs.h. */
88201 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
88202 For example, HP-UX 11i <limits.h> declares gettimeofday. */
88203 #define $ac_func innocuous_$ac_func
88204
88205 /* System header to define __stub macros and hopefully few prototypes,
88206 which can conflict with char $ac_func (); below.
88207 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
88208 <limits.h> exists even on freestanding compilers. */
88209
88210 #ifdef __STDC__
88211 # include <limits.h>
88212 #else
88213 # include <assert.h>
88214 #endif
88215
88216 #undef $ac_func
88217
88218 /* Override any gcc2 internal prototype to avoid an error. */
88219 #ifdef __cplusplus
88220 extern "C"
88221 {
88222 #endif
88223 /* We use char because int might match the return type of a gcc2
88224 builtin and then its argument prototype would still apply. */
88225 char $ac_func ();
88226 /* The GNU C library defines this for functions which it implements
88227 to always fail with ENOSYS. Some functions are actually named
88228 something starting with __ and the normal name is an alias. */
88229 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
88230 choke me
88231 #else
88232 char (*f) () = $ac_func;
88233 #endif
88234 #ifdef __cplusplus
88235 }
88236 #endif
88237
88238 int
88239 main ()
88240 {
88241 return f != $ac_func;
88242 ;
88243 return 0;
88244 }
88245 _ACEOF
88246 rm -f conftest.$ac_objext conftest$ac_exeext
88247 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
88248 (eval $ac_link) 2>conftest.er1
88249 ac_status=$?
88250 grep -v '^ *+' conftest.er1 >conftest.err
88251 rm -f conftest.er1
88252 cat conftest.err >&5
88253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88254 (exit $ac_status); } &&
88255 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
88256 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88257 (eval $ac_try) 2>&5
88258 ac_status=$?
88259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88260 (exit $ac_status); }; } &&
88261 { ac_try='test -s conftest$ac_exeext'
88262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88263 (eval $ac_try) 2>&5
88264 ac_status=$?
88265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88266 (exit $ac_status); }; }; then
88267 eval "$as_ac_var=yes"
88268 else
88269 echo "$as_me: failed program was:" >&5
88270 sed 's/^/| /' conftest.$ac_ext >&5
88271
88272 eval "$as_ac_var=no"
88273 fi
88274 rm -f conftest.err conftest.$ac_objext \
88275 conftest$ac_exeext conftest.$ac_ext
88276 fi
88277 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
88278 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
88279 if test `eval echo '${'$as_ac_var'}'` = yes; then
88280 cat >>confdefs.h <<_ACEOF
88281 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
88282 _ACEOF
88283
88284 fi
88285 done
88286
88287 else
88288 echo "$as_me:$LINENO: checking for _long double trig functions" >&5
88289 echo $ECHO_N "checking for _long double trig functions... $ECHO_C" >&6
88290 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then
88291 echo $ECHO_N "(cached) $ECHO_C" >&6
88292 else
88293
88294
88295
88296 ac_ext=cc
88297 ac_cpp='$CXXCPP $CPPFLAGS'
88298 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88299 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88300 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
88301
88302 cat >conftest.$ac_ext <<_ACEOF
88303 /* confdefs.h. */
88304 _ACEOF
88305 cat confdefs.h >>conftest.$ac_ext
88306 cat >>conftest.$ac_ext <<_ACEOF
88307 /* end confdefs.h. */
88308 #include <math.h>
88309 int
88310 main ()
88311 {
88312 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
88313 ;
88314 return 0;
88315 }
88316 _ACEOF
88317 rm -f conftest.$ac_objext
88318 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
88319 (eval $ac_compile) 2>conftest.er1
88320 ac_status=$?
88321 grep -v '^ *+' conftest.er1 >conftest.err
88322 rm -f conftest.er1
88323 cat conftest.err >&5
88324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88325 (exit $ac_status); } &&
88326 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
88327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88328 (eval $ac_try) 2>&5
88329 ac_status=$?
88330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88331 (exit $ac_status); }; } &&
88332 { ac_try='test -s conftest.$ac_objext'
88333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88334 (eval $ac_try) 2>&5
88335 ac_status=$?
88336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88337 (exit $ac_status); }; }; then
88338 glibcxx_cv_func__long_double_trig_use=yes
88339 else
88340 echo "$as_me: failed program was:" >&5
88341 sed 's/^/| /' conftest.$ac_ext >&5
88342
88343 glibcxx_cv_func__long_double_trig_use=no
88344 fi
88345 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
88346 ac_ext=c
88347 ac_cpp='$CPP $CPPFLAGS'
88348 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88349 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88350 ac_compiler_gnu=$ac_cv_c_compiler_gnu
88351
88352 fi
88353
88354 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_trig_use" >&5
88355 echo "${ECHO_T}$glibcxx_cv_func__long_double_trig_use" >&6
88356 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
88357
88358
88359
88360
88361
88362
88363
88364
88365
88366 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
88367 do
88368 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
88369 echo "$as_me:$LINENO: checking for $ac_func" >&5
88370 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
88371 if eval "test \"\${$as_ac_var+set}\" = set"; then
88372 echo $ECHO_N "(cached) $ECHO_C" >&6
88373 else
88374 if test x$gcc_no_link = xyes; then
88375 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
88376 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
88377 { (exit 1); exit 1; }; }
88378 fi
88379 cat >conftest.$ac_ext <<_ACEOF
88380 /* confdefs.h. */
88381 _ACEOF
88382 cat confdefs.h >>conftest.$ac_ext
88383 cat >>conftest.$ac_ext <<_ACEOF
88384 /* end confdefs.h. */
88385 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
88386 For example, HP-UX 11i <limits.h> declares gettimeofday. */
88387 #define $ac_func innocuous_$ac_func
88388
88389 /* System header to define __stub macros and hopefully few prototypes,
88390 which can conflict with char $ac_func (); below.
88391 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
88392 <limits.h> exists even on freestanding compilers. */
88393
88394 #ifdef __STDC__
88395 # include <limits.h>
88396 #else
88397 # include <assert.h>
88398 #endif
88399
88400 #undef $ac_func
88401
88402 /* Override any gcc2 internal prototype to avoid an error. */
88403 #ifdef __cplusplus
88404 extern "C"
88405 {
88406 #endif
88407 /* We use char because int might match the return type of a gcc2
88408 builtin and then its argument prototype would still apply. */
88409 char $ac_func ();
88410 /* The GNU C library defines this for functions which it implements
88411 to always fail with ENOSYS. Some functions are actually named
88412 something starting with __ and the normal name is an alias. */
88413 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
88414 choke me
88415 #else
88416 char (*f) () = $ac_func;
88417 #endif
88418 #ifdef __cplusplus
88419 }
88420 #endif
88421
88422 int
88423 main ()
88424 {
88425 return f != $ac_func;
88426 ;
88427 return 0;
88428 }
88429 _ACEOF
88430 rm -f conftest.$ac_objext conftest$ac_exeext
88431 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
88432 (eval $ac_link) 2>conftest.er1
88433 ac_status=$?
88434 grep -v '^ *+' conftest.er1 >conftest.err
88435 rm -f conftest.er1
88436 cat conftest.err >&5
88437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88438 (exit $ac_status); } &&
88439 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
88440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88441 (eval $ac_try) 2>&5
88442 ac_status=$?
88443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88444 (exit $ac_status); }; } &&
88445 { ac_try='test -s conftest$ac_exeext'
88446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88447 (eval $ac_try) 2>&5
88448 ac_status=$?
88449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88450 (exit $ac_status); }; }; then
88451 eval "$as_ac_var=yes"
88452 else
88453 echo "$as_me: failed program was:" >&5
88454 sed 's/^/| /' conftest.$ac_ext >&5
88455
88456 eval "$as_ac_var=no"
88457 fi
88458 rm -f conftest.err conftest.$ac_objext \
88459 conftest$ac_exeext conftest.$ac_ext
88460 fi
88461 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
88462 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
88463 if test `eval echo '${'$as_ac_var'}'` = yes; then
88464 cat >>confdefs.h <<_ACEOF
88465 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
88466 _ACEOF
88467
88468 fi
88469 done
88470
88471 fi
88472 fi
88473
88474
88475
88476
88477
88478
88479
88480
88481
88482
88483
88484
88485
88486
88487 echo "$as_me:$LINENO: checking for long double round functions" >&5
88488 echo $ECHO_N "checking for long double round functions... $ECHO_C" >&6
88489 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then
88490 echo $ECHO_N "(cached) $ECHO_C" >&6
88491 else
88492
88493
88494
88495 ac_ext=cc
88496 ac_cpp='$CXXCPP $CPPFLAGS'
88497 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88498 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88499 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
88500
88501 cat >conftest.$ac_ext <<_ACEOF
88502 /* confdefs.h. */
88503 _ACEOF
88504 cat confdefs.h >>conftest.$ac_ext
88505 cat >>conftest.$ac_ext <<_ACEOF
88506 /* end confdefs.h. */
88507 #include <math.h>
88508 int
88509 main ()
88510 {
88511 ceill (0); floorl (0);
88512 ;
88513 return 0;
88514 }
88515 _ACEOF
88516 rm -f conftest.$ac_objext
88517 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
88518 (eval $ac_compile) 2>conftest.er1
88519 ac_status=$?
88520 grep -v '^ *+' conftest.er1 >conftest.err
88521 rm -f conftest.er1
88522 cat conftest.err >&5
88523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88524 (exit $ac_status); } &&
88525 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
88526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88527 (eval $ac_try) 2>&5
88528 ac_status=$?
88529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88530 (exit $ac_status); }; } &&
88531 { ac_try='test -s conftest.$ac_objext'
88532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88533 (eval $ac_try) 2>&5
88534 ac_status=$?
88535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88536 (exit $ac_status); }; }; then
88537 glibcxx_cv_func_long_double_round_use=yes
88538 else
88539 echo "$as_me: failed program was:" >&5
88540 sed 's/^/| /' conftest.$ac_ext >&5
88541
88542 glibcxx_cv_func_long_double_round_use=no
88543 fi
88544 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
88545 ac_ext=c
88546 ac_cpp='$CPP $CPPFLAGS'
88547 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88548 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88549 ac_compiler_gnu=$ac_cv_c_compiler_gnu
88550
88551 fi
88552
88553 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_round_use" >&5
88554 echo "${ECHO_T}$glibcxx_cv_func_long_double_round_use" >&6
88555 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
88556
88557
88558 for ac_func in ceill floorl
88559 do
88560 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
88561 echo "$as_me:$LINENO: checking for $ac_func" >&5
88562 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
88563 if eval "test \"\${$as_ac_var+set}\" = set"; then
88564 echo $ECHO_N "(cached) $ECHO_C" >&6
88565 else
88566 if test x$gcc_no_link = xyes; then
88567 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
88568 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
88569 { (exit 1); exit 1; }; }
88570 fi
88571 cat >conftest.$ac_ext <<_ACEOF
88572 /* confdefs.h. */
88573 _ACEOF
88574 cat confdefs.h >>conftest.$ac_ext
88575 cat >>conftest.$ac_ext <<_ACEOF
88576 /* end confdefs.h. */
88577 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
88578 For example, HP-UX 11i <limits.h> declares gettimeofday. */
88579 #define $ac_func innocuous_$ac_func
88580
88581 /* System header to define __stub macros and hopefully few prototypes,
88582 which can conflict with char $ac_func (); below.
88583 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
88584 <limits.h> exists even on freestanding compilers. */
88585
88586 #ifdef __STDC__
88587 # include <limits.h>
88588 #else
88589 # include <assert.h>
88590 #endif
88591
88592 #undef $ac_func
88593
88594 /* Override any gcc2 internal prototype to avoid an error. */
88595 #ifdef __cplusplus
88596 extern "C"
88597 {
88598 #endif
88599 /* We use char because int might match the return type of a gcc2
88600 builtin and then its argument prototype would still apply. */
88601 char $ac_func ();
88602 /* The GNU C library defines this for functions which it implements
88603 to always fail with ENOSYS. Some functions are actually named
88604 something starting with __ and the normal name is an alias. */
88605 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
88606 choke me
88607 #else
88608 char (*f) () = $ac_func;
88609 #endif
88610 #ifdef __cplusplus
88611 }
88612 #endif
88613
88614 int
88615 main ()
88616 {
88617 return f != $ac_func;
88618 ;
88619 return 0;
88620 }
88621 _ACEOF
88622 rm -f conftest.$ac_objext conftest$ac_exeext
88623 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
88624 (eval $ac_link) 2>conftest.er1
88625 ac_status=$?
88626 grep -v '^ *+' conftest.er1 >conftest.err
88627 rm -f conftest.er1
88628 cat conftest.err >&5
88629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88630 (exit $ac_status); } &&
88631 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
88632 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88633 (eval $ac_try) 2>&5
88634 ac_status=$?
88635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88636 (exit $ac_status); }; } &&
88637 { ac_try='test -s conftest$ac_exeext'
88638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88639 (eval $ac_try) 2>&5
88640 ac_status=$?
88641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88642 (exit $ac_status); }; }; then
88643 eval "$as_ac_var=yes"
88644 else
88645 echo "$as_me: failed program was:" >&5
88646 sed 's/^/| /' conftest.$ac_ext >&5
88647
88648 eval "$as_ac_var=no"
88649 fi
88650 rm -f conftest.err conftest.$ac_objext \
88651 conftest$ac_exeext conftest.$ac_ext
88652 fi
88653 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
88654 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
88655 if test `eval echo '${'$as_ac_var'}'` = yes; then
88656 cat >>confdefs.h <<_ACEOF
88657 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
88658 _ACEOF
88659
88660 fi
88661 done
88662
88663 else
88664 echo "$as_me:$LINENO: checking for _long double round functions" >&5
88665 echo $ECHO_N "checking for _long double round functions... $ECHO_C" >&6
88666 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then
88667 echo $ECHO_N "(cached) $ECHO_C" >&6
88668 else
88669
88670
88671
88672 ac_ext=cc
88673 ac_cpp='$CXXCPP $CPPFLAGS'
88674 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88675 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88676 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
88677
88678 cat >conftest.$ac_ext <<_ACEOF
88679 /* confdefs.h. */
88680 _ACEOF
88681 cat confdefs.h >>conftest.$ac_ext
88682 cat >>conftest.$ac_ext <<_ACEOF
88683 /* end confdefs.h. */
88684 #include <math.h>
88685 int
88686 main ()
88687 {
88688 _ceill (0); _floorl (0);
88689 ;
88690 return 0;
88691 }
88692 _ACEOF
88693 rm -f conftest.$ac_objext
88694 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
88695 (eval $ac_compile) 2>conftest.er1
88696 ac_status=$?
88697 grep -v '^ *+' conftest.er1 >conftest.err
88698 rm -f conftest.er1
88699 cat conftest.err >&5
88700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88701 (exit $ac_status); } &&
88702 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
88703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88704 (eval $ac_try) 2>&5
88705 ac_status=$?
88706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88707 (exit $ac_status); }; } &&
88708 { ac_try='test -s conftest.$ac_objext'
88709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88710 (eval $ac_try) 2>&5
88711 ac_status=$?
88712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88713 (exit $ac_status); }; }; then
88714 glibcxx_cv_func__long_double_round_use=yes
88715 else
88716 echo "$as_me: failed program was:" >&5
88717 sed 's/^/| /' conftest.$ac_ext >&5
88718
88719 glibcxx_cv_func__long_double_round_use=no
88720 fi
88721 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
88722 ac_ext=c
88723 ac_cpp='$CPP $CPPFLAGS'
88724 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88725 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88726 ac_compiler_gnu=$ac_cv_c_compiler_gnu
88727
88728 fi
88729
88730 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_round_use" >&5
88731 echo "${ECHO_T}$glibcxx_cv_func__long_double_round_use" >&6
88732 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
88733
88734
88735 for ac_func in _ceill _floorl
88736 do
88737 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
88738 echo "$as_me:$LINENO: checking for $ac_func" >&5
88739 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
88740 if eval "test \"\${$as_ac_var+set}\" = set"; then
88741 echo $ECHO_N "(cached) $ECHO_C" >&6
88742 else
88743 if test x$gcc_no_link = xyes; then
88744 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
88745 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
88746 { (exit 1); exit 1; }; }
88747 fi
88748 cat >conftest.$ac_ext <<_ACEOF
88749 /* confdefs.h. */
88750 _ACEOF
88751 cat confdefs.h >>conftest.$ac_ext
88752 cat >>conftest.$ac_ext <<_ACEOF
88753 /* end confdefs.h. */
88754 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
88755 For example, HP-UX 11i <limits.h> declares gettimeofday. */
88756 #define $ac_func innocuous_$ac_func
88757
88758 /* System header to define __stub macros and hopefully few prototypes,
88759 which can conflict with char $ac_func (); below.
88760 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
88761 <limits.h> exists even on freestanding compilers. */
88762
88763 #ifdef __STDC__
88764 # include <limits.h>
88765 #else
88766 # include <assert.h>
88767 #endif
88768
88769 #undef $ac_func
88770
88771 /* Override any gcc2 internal prototype to avoid an error. */
88772 #ifdef __cplusplus
88773 extern "C"
88774 {
88775 #endif
88776 /* We use char because int might match the return type of a gcc2
88777 builtin and then its argument prototype would still apply. */
88778 char $ac_func ();
88779 /* The GNU C library defines this for functions which it implements
88780 to always fail with ENOSYS. Some functions are actually named
88781 something starting with __ and the normal name is an alias. */
88782 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
88783 choke me
88784 #else
88785 char (*f) () = $ac_func;
88786 #endif
88787 #ifdef __cplusplus
88788 }
88789 #endif
88790
88791 int
88792 main ()
88793 {
88794 return f != $ac_func;
88795 ;
88796 return 0;
88797 }
88798 _ACEOF
88799 rm -f conftest.$ac_objext conftest$ac_exeext
88800 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
88801 (eval $ac_link) 2>conftest.er1
88802 ac_status=$?
88803 grep -v '^ *+' conftest.er1 >conftest.err
88804 rm -f conftest.er1
88805 cat conftest.err >&5
88806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88807 (exit $ac_status); } &&
88808 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
88809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88810 (eval $ac_try) 2>&5
88811 ac_status=$?
88812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88813 (exit $ac_status); }; } &&
88814 { ac_try='test -s conftest$ac_exeext'
88815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88816 (eval $ac_try) 2>&5
88817 ac_status=$?
88818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88819 (exit $ac_status); }; }; then
88820 eval "$as_ac_var=yes"
88821 else
88822 echo "$as_me: failed program was:" >&5
88823 sed 's/^/| /' conftest.$ac_ext >&5
88824
88825 eval "$as_ac_var=no"
88826 fi
88827 rm -f conftest.err conftest.$ac_objext \
88828 conftest$ac_exeext conftest.$ac_ext
88829 fi
88830 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
88831 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
88832 if test `eval echo '${'$as_ac_var'}'` = yes; then
88833 cat >>confdefs.h <<_ACEOF
88834 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
88835 _ACEOF
88836
88837 fi
88838 done
88839
88840 fi
88841 fi
88842
88843
88844
88845
88846
88847
88848
88849
88850 echo "$as_me:$LINENO: checking for isnanl declaration" >&5
88851 echo $ECHO_N "checking for isnanl declaration... $ECHO_C" >&6
88852 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
88853 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then
88854 echo $ECHO_N "(cached) $ECHO_C" >&6
88855 else
88856
88857
88858
88859 ac_ext=cc
88860 ac_cpp='$CXXCPP $CPPFLAGS'
88861 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88862 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88863 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
88864
88865 cat >conftest.$ac_ext <<_ACEOF
88866 /* confdefs.h. */
88867 _ACEOF
88868 cat confdefs.h >>conftest.$ac_ext
88869 cat >>conftest.$ac_ext <<_ACEOF
88870 /* end confdefs.h. */
88871 #include <math.h>
88872 #ifdef HAVE_IEEEFP_H
88873 #include <ieeefp.h>
88874 #endif
88875
88876 int
88877 main ()
88878 {
88879 isnanl(0);
88880 ;
88881 return 0;
88882 }
88883 _ACEOF
88884 rm -f conftest.$ac_objext
88885 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
88886 (eval $ac_compile) 2>conftest.er1
88887 ac_status=$?
88888 grep -v '^ *+' conftest.er1 >conftest.err
88889 rm -f conftest.er1
88890 cat conftest.err >&5
88891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88892 (exit $ac_status); } &&
88893 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
88894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88895 (eval $ac_try) 2>&5
88896 ac_status=$?
88897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88898 (exit $ac_status); }; } &&
88899 { ac_try='test -s conftest.$ac_objext'
88900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88901 (eval $ac_try) 2>&5
88902 ac_status=$?
88903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88904 (exit $ac_status); }; }; then
88905 glibcxx_cv_func_isnanl_use=yes
88906 else
88907 echo "$as_me: failed program was:" >&5
88908 sed 's/^/| /' conftest.$ac_ext >&5
88909
88910 glibcxx_cv_func_isnanl_use=no
88911 fi
88912 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
88913 ac_ext=c
88914 ac_cpp='$CPP $CPPFLAGS'
88915 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88916 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88917 ac_compiler_gnu=$ac_cv_c_compiler_gnu
88918
88919
88920 fi
88921
88922 fi
88923 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanl_use" >&5
88924 echo "${ECHO_T}$glibcxx_cv_func_isnanl_use" >&6
88925
88926 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
88927
88928 for ac_func in isnanl
88929 do
88930 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
88931 echo "$as_me:$LINENO: checking for $ac_func" >&5
88932 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
88933 if eval "test \"\${$as_ac_var+set}\" = set"; then
88934 echo $ECHO_N "(cached) $ECHO_C" >&6
88935 else
88936 if test x$gcc_no_link = xyes; then
88937 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
88938 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
88939 { (exit 1); exit 1; }; }
88940 fi
88941 cat >conftest.$ac_ext <<_ACEOF
88942 /* confdefs.h. */
88943 _ACEOF
88944 cat confdefs.h >>conftest.$ac_ext
88945 cat >>conftest.$ac_ext <<_ACEOF
88946 /* end confdefs.h. */
88947 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
88948 For example, HP-UX 11i <limits.h> declares gettimeofday. */
88949 #define $ac_func innocuous_$ac_func
88950
88951 /* System header to define __stub macros and hopefully few prototypes,
88952 which can conflict with char $ac_func (); below.
88953 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
88954 <limits.h> exists even on freestanding compilers. */
88955
88956 #ifdef __STDC__
88957 # include <limits.h>
88958 #else
88959 # include <assert.h>
88960 #endif
88961
88962 #undef $ac_func
88963
88964 /* Override any gcc2 internal prototype to avoid an error. */
88965 #ifdef __cplusplus
88966 extern "C"
88967 {
88968 #endif
88969 /* We use char because int might match the return type of a gcc2
88970 builtin and then its argument prototype would still apply. */
88971 char $ac_func ();
88972 /* The GNU C library defines this for functions which it implements
88973 to always fail with ENOSYS. Some functions are actually named
88974 something starting with __ and the normal name is an alias. */
88975 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
88976 choke me
88977 #else
88978 char (*f) () = $ac_func;
88979 #endif
88980 #ifdef __cplusplus
88981 }
88982 #endif
88983
88984 int
88985 main ()
88986 {
88987 return f != $ac_func;
88988 ;
88989 return 0;
88990 }
88991 _ACEOF
88992 rm -f conftest.$ac_objext conftest$ac_exeext
88993 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
88994 (eval $ac_link) 2>conftest.er1
88995 ac_status=$?
88996 grep -v '^ *+' conftest.er1 >conftest.err
88997 rm -f conftest.er1
88998 cat conftest.err >&5
88999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89000 (exit $ac_status); } &&
89001 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
89002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89003 (eval $ac_try) 2>&5
89004 ac_status=$?
89005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89006 (exit $ac_status); }; } &&
89007 { ac_try='test -s conftest$ac_exeext'
89008 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89009 (eval $ac_try) 2>&5
89010 ac_status=$?
89011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89012 (exit $ac_status); }; }; then
89013 eval "$as_ac_var=yes"
89014 else
89015 echo "$as_me: failed program was:" >&5
89016 sed 's/^/| /' conftest.$ac_ext >&5
89017
89018 eval "$as_ac_var=no"
89019 fi
89020 rm -f conftest.err conftest.$ac_objext \
89021 conftest$ac_exeext conftest.$ac_ext
89022 fi
89023 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
89024 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
89025 if test `eval echo '${'$as_ac_var'}'` = yes; then
89026 cat >>confdefs.h <<_ACEOF
89027 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
89028 _ACEOF
89029
89030 fi
89031 done
89032
89033 else
89034
89035 echo "$as_me:$LINENO: checking for _isnanl declaration" >&5
89036 echo $ECHO_N "checking for _isnanl declaration... $ECHO_C" >&6
89037 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
89038 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then
89039 echo $ECHO_N "(cached) $ECHO_C" >&6
89040 else
89041
89042
89043
89044 ac_ext=cc
89045 ac_cpp='$CXXCPP $CPPFLAGS'
89046 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89047 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89048 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
89049
89050 cat >conftest.$ac_ext <<_ACEOF
89051 /* confdefs.h. */
89052 _ACEOF
89053 cat confdefs.h >>conftest.$ac_ext
89054 cat >>conftest.$ac_ext <<_ACEOF
89055 /* end confdefs.h. */
89056 #include <math.h>
89057 #ifdef HAVE_IEEEFP_H
89058 #include <ieeefp.h>
89059 #endif
89060
89061 int
89062 main ()
89063 {
89064 _isnanl(0);
89065 ;
89066 return 0;
89067 }
89068 _ACEOF
89069 rm -f conftest.$ac_objext
89070 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
89071 (eval $ac_compile) 2>conftest.er1
89072 ac_status=$?
89073 grep -v '^ *+' conftest.er1 >conftest.err
89074 rm -f conftest.er1
89075 cat conftest.err >&5
89076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89077 (exit $ac_status); } &&
89078 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
89079 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89080 (eval $ac_try) 2>&5
89081 ac_status=$?
89082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89083 (exit $ac_status); }; } &&
89084 { ac_try='test -s conftest.$ac_objext'
89085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89086 (eval $ac_try) 2>&5
89087 ac_status=$?
89088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89089 (exit $ac_status); }; }; then
89090 glibcxx_cv_func__isnanl_use=yes
89091 else
89092 echo "$as_me: failed program was:" >&5
89093 sed 's/^/| /' conftest.$ac_ext >&5
89094
89095 glibcxx_cv_func__isnanl_use=no
89096 fi
89097 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
89098 ac_ext=c
89099 ac_cpp='$CPP $CPPFLAGS'
89100 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89101 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89102 ac_compiler_gnu=$ac_cv_c_compiler_gnu
89103
89104
89105 fi
89106
89107 fi
89108 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanl_use" >&5
89109 echo "${ECHO_T}$glibcxx_cv_func__isnanl_use" >&6
89110
89111 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
89112
89113 for ac_func in _isnanl
89114 do
89115 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
89116 echo "$as_me:$LINENO: checking for $ac_func" >&5
89117 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
89118 if eval "test \"\${$as_ac_var+set}\" = set"; then
89119 echo $ECHO_N "(cached) $ECHO_C" >&6
89120 else
89121 if test x$gcc_no_link = xyes; then
89122 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
89123 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
89124 { (exit 1); exit 1; }; }
89125 fi
89126 cat >conftest.$ac_ext <<_ACEOF
89127 /* confdefs.h. */
89128 _ACEOF
89129 cat confdefs.h >>conftest.$ac_ext
89130 cat >>conftest.$ac_ext <<_ACEOF
89131 /* end confdefs.h. */
89132 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
89133 For example, HP-UX 11i <limits.h> declares gettimeofday. */
89134 #define $ac_func innocuous_$ac_func
89135
89136 /* System header to define __stub macros and hopefully few prototypes,
89137 which can conflict with char $ac_func (); below.
89138 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
89139 <limits.h> exists even on freestanding compilers. */
89140
89141 #ifdef __STDC__
89142 # include <limits.h>
89143 #else
89144 # include <assert.h>
89145 #endif
89146
89147 #undef $ac_func
89148
89149 /* Override any gcc2 internal prototype to avoid an error. */
89150 #ifdef __cplusplus
89151 extern "C"
89152 {
89153 #endif
89154 /* We use char because int might match the return type of a gcc2
89155 builtin and then its argument prototype would still apply. */
89156 char $ac_func ();
89157 /* The GNU C library defines this for functions which it implements
89158 to always fail with ENOSYS. Some functions are actually named
89159 something starting with __ and the normal name is an alias. */
89160 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
89161 choke me
89162 #else
89163 char (*f) () = $ac_func;
89164 #endif
89165 #ifdef __cplusplus
89166 }
89167 #endif
89168
89169 int
89170 main ()
89171 {
89172 return f != $ac_func;
89173 ;
89174 return 0;
89175 }
89176 _ACEOF
89177 rm -f conftest.$ac_objext conftest$ac_exeext
89178 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
89179 (eval $ac_link) 2>conftest.er1
89180 ac_status=$?
89181 grep -v '^ *+' conftest.er1 >conftest.err
89182 rm -f conftest.er1
89183 cat conftest.err >&5
89184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89185 (exit $ac_status); } &&
89186 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
89187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89188 (eval $ac_try) 2>&5
89189 ac_status=$?
89190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89191 (exit $ac_status); }; } &&
89192 { ac_try='test -s conftest$ac_exeext'
89193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89194 (eval $ac_try) 2>&5
89195 ac_status=$?
89196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89197 (exit $ac_status); }; }; then
89198 eval "$as_ac_var=yes"
89199 else
89200 echo "$as_me: failed program was:" >&5
89201 sed 's/^/| /' conftest.$ac_ext >&5
89202
89203 eval "$as_ac_var=no"
89204 fi
89205 rm -f conftest.err conftest.$ac_objext \
89206 conftest$ac_exeext conftest.$ac_ext
89207 fi
89208 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
89209 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
89210 if test `eval echo '${'$as_ac_var'}'` = yes; then
89211 cat >>confdefs.h <<_ACEOF
89212 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
89213 _ACEOF
89214
89215 fi
89216 done
89217
89218 fi
89219 fi
89220
89221
89222
89223
89224
89225
89226 echo "$as_me:$LINENO: checking for isinfl declaration" >&5
89227 echo $ECHO_N "checking for isinfl declaration... $ECHO_C" >&6
89228 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
89229 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then
89230 echo $ECHO_N "(cached) $ECHO_C" >&6
89231 else
89232
89233
89234
89235 ac_ext=cc
89236 ac_cpp='$CXXCPP $CPPFLAGS'
89237 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89238 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89239 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
89240
89241 cat >conftest.$ac_ext <<_ACEOF
89242 /* confdefs.h. */
89243 _ACEOF
89244 cat confdefs.h >>conftest.$ac_ext
89245 cat >>conftest.$ac_ext <<_ACEOF
89246 /* end confdefs.h. */
89247 #include <math.h>
89248 #ifdef HAVE_IEEEFP_H
89249 #include <ieeefp.h>
89250 #endif
89251
89252 int
89253 main ()
89254 {
89255 isinfl(0);
89256 ;
89257 return 0;
89258 }
89259 _ACEOF
89260 rm -f conftest.$ac_objext
89261 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
89262 (eval $ac_compile) 2>conftest.er1
89263 ac_status=$?
89264 grep -v '^ *+' conftest.er1 >conftest.err
89265 rm -f conftest.er1
89266 cat conftest.err >&5
89267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89268 (exit $ac_status); } &&
89269 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
89270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89271 (eval $ac_try) 2>&5
89272 ac_status=$?
89273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89274 (exit $ac_status); }; } &&
89275 { ac_try='test -s conftest.$ac_objext'
89276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89277 (eval $ac_try) 2>&5
89278 ac_status=$?
89279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89280 (exit $ac_status); }; }; then
89281 glibcxx_cv_func_isinfl_use=yes
89282 else
89283 echo "$as_me: failed program was:" >&5
89284 sed 's/^/| /' conftest.$ac_ext >&5
89285
89286 glibcxx_cv_func_isinfl_use=no
89287 fi
89288 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
89289 ac_ext=c
89290 ac_cpp='$CPP $CPPFLAGS'
89291 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89292 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89293 ac_compiler_gnu=$ac_cv_c_compiler_gnu
89294
89295
89296 fi
89297
89298 fi
89299 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinfl_use" >&5
89300 echo "${ECHO_T}$glibcxx_cv_func_isinfl_use" >&6
89301
89302 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
89303
89304 for ac_func in isinfl
89305 do
89306 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
89307 echo "$as_me:$LINENO: checking for $ac_func" >&5
89308 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
89309 if eval "test \"\${$as_ac_var+set}\" = set"; then
89310 echo $ECHO_N "(cached) $ECHO_C" >&6
89311 else
89312 if test x$gcc_no_link = xyes; then
89313 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
89314 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
89315 { (exit 1); exit 1; }; }
89316 fi
89317 cat >conftest.$ac_ext <<_ACEOF
89318 /* confdefs.h. */
89319 _ACEOF
89320 cat confdefs.h >>conftest.$ac_ext
89321 cat >>conftest.$ac_ext <<_ACEOF
89322 /* end confdefs.h. */
89323 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
89324 For example, HP-UX 11i <limits.h> declares gettimeofday. */
89325 #define $ac_func innocuous_$ac_func
89326
89327 /* System header to define __stub macros and hopefully few prototypes,
89328 which can conflict with char $ac_func (); below.
89329 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
89330 <limits.h> exists even on freestanding compilers. */
89331
89332 #ifdef __STDC__
89333 # include <limits.h>
89334 #else
89335 # include <assert.h>
89336 #endif
89337
89338 #undef $ac_func
89339
89340 /* Override any gcc2 internal prototype to avoid an error. */
89341 #ifdef __cplusplus
89342 extern "C"
89343 {
89344 #endif
89345 /* We use char because int might match the return type of a gcc2
89346 builtin and then its argument prototype would still apply. */
89347 char $ac_func ();
89348 /* The GNU C library defines this for functions which it implements
89349 to always fail with ENOSYS. Some functions are actually named
89350 something starting with __ and the normal name is an alias. */
89351 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
89352 choke me
89353 #else
89354 char (*f) () = $ac_func;
89355 #endif
89356 #ifdef __cplusplus
89357 }
89358 #endif
89359
89360 int
89361 main ()
89362 {
89363 return f != $ac_func;
89364 ;
89365 return 0;
89366 }
89367 _ACEOF
89368 rm -f conftest.$ac_objext conftest$ac_exeext
89369 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
89370 (eval $ac_link) 2>conftest.er1
89371 ac_status=$?
89372 grep -v '^ *+' conftest.er1 >conftest.err
89373 rm -f conftest.er1
89374 cat conftest.err >&5
89375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89376 (exit $ac_status); } &&
89377 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
89378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89379 (eval $ac_try) 2>&5
89380 ac_status=$?
89381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89382 (exit $ac_status); }; } &&
89383 { ac_try='test -s conftest$ac_exeext'
89384 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89385 (eval $ac_try) 2>&5
89386 ac_status=$?
89387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89388 (exit $ac_status); }; }; then
89389 eval "$as_ac_var=yes"
89390 else
89391 echo "$as_me: failed program was:" >&5
89392 sed 's/^/| /' conftest.$ac_ext >&5
89393
89394 eval "$as_ac_var=no"
89395 fi
89396 rm -f conftest.err conftest.$ac_objext \
89397 conftest$ac_exeext conftest.$ac_ext
89398 fi
89399 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
89400 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
89401 if test `eval echo '${'$as_ac_var'}'` = yes; then
89402 cat >>confdefs.h <<_ACEOF
89403 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
89404 _ACEOF
89405
89406 fi
89407 done
89408
89409 else
89410
89411 echo "$as_me:$LINENO: checking for _isinfl declaration" >&5
89412 echo $ECHO_N "checking for _isinfl declaration... $ECHO_C" >&6
89413 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
89414 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then
89415 echo $ECHO_N "(cached) $ECHO_C" >&6
89416 else
89417
89418
89419
89420 ac_ext=cc
89421 ac_cpp='$CXXCPP $CPPFLAGS'
89422 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89423 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89424 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
89425
89426 cat >conftest.$ac_ext <<_ACEOF
89427 /* confdefs.h. */
89428 _ACEOF
89429 cat confdefs.h >>conftest.$ac_ext
89430 cat >>conftest.$ac_ext <<_ACEOF
89431 /* end confdefs.h. */
89432 #include <math.h>
89433 #ifdef HAVE_IEEEFP_H
89434 #include <ieeefp.h>
89435 #endif
89436
89437 int
89438 main ()
89439 {
89440 _isinfl(0);
89441 ;
89442 return 0;
89443 }
89444 _ACEOF
89445 rm -f conftest.$ac_objext
89446 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
89447 (eval $ac_compile) 2>conftest.er1
89448 ac_status=$?
89449 grep -v '^ *+' conftest.er1 >conftest.err
89450 rm -f conftest.er1
89451 cat conftest.err >&5
89452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89453 (exit $ac_status); } &&
89454 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
89455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89456 (eval $ac_try) 2>&5
89457 ac_status=$?
89458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89459 (exit $ac_status); }; } &&
89460 { ac_try='test -s conftest.$ac_objext'
89461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89462 (eval $ac_try) 2>&5
89463 ac_status=$?
89464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89465 (exit $ac_status); }; }; then
89466 glibcxx_cv_func__isinfl_use=yes
89467 else
89468 echo "$as_me: failed program was:" >&5
89469 sed 's/^/| /' conftest.$ac_ext >&5
89470
89471 glibcxx_cv_func__isinfl_use=no
89472 fi
89473 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
89474 ac_ext=c
89475 ac_cpp='$CPP $CPPFLAGS'
89476 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89477 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89478 ac_compiler_gnu=$ac_cv_c_compiler_gnu
89479
89480
89481 fi
89482
89483 fi
89484 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinfl_use" >&5
89485 echo "${ECHO_T}$glibcxx_cv_func__isinfl_use" >&6
89486
89487 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
89488
89489 for ac_func in _isinfl
89490 do
89491 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
89492 echo "$as_me:$LINENO: checking for $ac_func" >&5
89493 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
89494 if eval "test \"\${$as_ac_var+set}\" = set"; then
89495 echo $ECHO_N "(cached) $ECHO_C" >&6
89496 else
89497 if test x$gcc_no_link = xyes; then
89498 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
89499 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
89500 { (exit 1); exit 1; }; }
89501 fi
89502 cat >conftest.$ac_ext <<_ACEOF
89503 /* confdefs.h. */
89504 _ACEOF
89505 cat confdefs.h >>conftest.$ac_ext
89506 cat >>conftest.$ac_ext <<_ACEOF
89507 /* end confdefs.h. */
89508 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
89509 For example, HP-UX 11i <limits.h> declares gettimeofday. */
89510 #define $ac_func innocuous_$ac_func
89511
89512 /* System header to define __stub macros and hopefully few prototypes,
89513 which can conflict with char $ac_func (); below.
89514 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
89515 <limits.h> exists even on freestanding compilers. */
89516
89517 #ifdef __STDC__
89518 # include <limits.h>
89519 #else
89520 # include <assert.h>
89521 #endif
89522
89523 #undef $ac_func
89524
89525 /* Override any gcc2 internal prototype to avoid an error. */
89526 #ifdef __cplusplus
89527 extern "C"
89528 {
89529 #endif
89530 /* We use char because int might match the return type of a gcc2
89531 builtin and then its argument prototype would still apply. */
89532 char $ac_func ();
89533 /* The GNU C library defines this for functions which it implements
89534 to always fail with ENOSYS. Some functions are actually named
89535 something starting with __ and the normal name is an alias. */
89536 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
89537 choke me
89538 #else
89539 char (*f) () = $ac_func;
89540 #endif
89541 #ifdef __cplusplus
89542 }
89543 #endif
89544
89545 int
89546 main ()
89547 {
89548 return f != $ac_func;
89549 ;
89550 return 0;
89551 }
89552 _ACEOF
89553 rm -f conftest.$ac_objext conftest$ac_exeext
89554 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
89555 (eval $ac_link) 2>conftest.er1
89556 ac_status=$?
89557 grep -v '^ *+' conftest.er1 >conftest.err
89558 rm -f conftest.er1
89559 cat conftest.err >&5
89560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89561 (exit $ac_status); } &&
89562 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
89563 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89564 (eval $ac_try) 2>&5
89565 ac_status=$?
89566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89567 (exit $ac_status); }; } &&
89568 { ac_try='test -s conftest$ac_exeext'
89569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89570 (eval $ac_try) 2>&5
89571 ac_status=$?
89572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89573 (exit $ac_status); }; }; then
89574 eval "$as_ac_var=yes"
89575 else
89576 echo "$as_me: failed program was:" >&5
89577 sed 's/^/| /' conftest.$ac_ext >&5
89578
89579 eval "$as_ac_var=no"
89580 fi
89581 rm -f conftest.err conftest.$ac_objext \
89582 conftest$ac_exeext conftest.$ac_ext
89583 fi
89584 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
89585 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
89586 if test `eval echo '${'$as_ac_var'}'` = yes; then
89587 cat >>confdefs.h <<_ACEOF
89588 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
89589 _ACEOF
89590
89591 fi
89592 done
89593
89594 fi
89595 fi
89596
89597
89598
89599
89600
89601
89602 echo "$as_me:$LINENO: checking for copysignl declaration" >&5
89603 echo $ECHO_N "checking for copysignl declaration... $ECHO_C" >&6
89604 if test x${glibcxx_cv_func_copysignl_use+set} != xset; then
89605 if test "${glibcxx_cv_func_copysignl_use+set}" = set; then
89606 echo $ECHO_N "(cached) $ECHO_C" >&6
89607 else
89608
89609
89610
89611 ac_ext=cc
89612 ac_cpp='$CXXCPP $CPPFLAGS'
89613 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89614 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89615 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
89616
89617 cat >conftest.$ac_ext <<_ACEOF
89618 /* confdefs.h. */
89619 _ACEOF
89620 cat confdefs.h >>conftest.$ac_ext
89621 cat >>conftest.$ac_ext <<_ACEOF
89622 /* end confdefs.h. */
89623 #include <math.h>
89624 int
89625 main ()
89626 {
89627 copysignl(0, 0);
89628 ;
89629 return 0;
89630 }
89631 _ACEOF
89632 rm -f conftest.$ac_objext
89633 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
89634 (eval $ac_compile) 2>conftest.er1
89635 ac_status=$?
89636 grep -v '^ *+' conftest.er1 >conftest.err
89637 rm -f conftest.er1
89638 cat conftest.err >&5
89639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89640 (exit $ac_status); } &&
89641 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
89642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89643 (eval $ac_try) 2>&5
89644 ac_status=$?
89645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89646 (exit $ac_status); }; } &&
89647 { ac_try='test -s conftest.$ac_objext'
89648 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89649 (eval $ac_try) 2>&5
89650 ac_status=$?
89651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89652 (exit $ac_status); }; }; then
89653 glibcxx_cv_func_copysignl_use=yes
89654 else
89655 echo "$as_me: failed program was:" >&5
89656 sed 's/^/| /' conftest.$ac_ext >&5
89657
89658 glibcxx_cv_func_copysignl_use=no
89659 fi
89660 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
89661 ac_ext=c
89662 ac_cpp='$CPP $CPPFLAGS'
89663 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89664 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89665 ac_compiler_gnu=$ac_cv_c_compiler_gnu
89666
89667
89668 fi
89669
89670 fi
89671 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysignl_use" >&5
89672 echo "${ECHO_T}$glibcxx_cv_func_copysignl_use" >&6
89673
89674 if test x$glibcxx_cv_func_copysignl_use = x"yes"; then
89675
89676 for ac_func in copysignl
89677 do
89678 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
89679 echo "$as_me:$LINENO: checking for $ac_func" >&5
89680 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
89681 if eval "test \"\${$as_ac_var+set}\" = set"; then
89682 echo $ECHO_N "(cached) $ECHO_C" >&6
89683 else
89684 if test x$gcc_no_link = xyes; then
89685 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
89686 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
89687 { (exit 1); exit 1; }; }
89688 fi
89689 cat >conftest.$ac_ext <<_ACEOF
89690 /* confdefs.h. */
89691 _ACEOF
89692 cat confdefs.h >>conftest.$ac_ext
89693 cat >>conftest.$ac_ext <<_ACEOF
89694 /* end confdefs.h. */
89695 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
89696 For example, HP-UX 11i <limits.h> declares gettimeofday. */
89697 #define $ac_func innocuous_$ac_func
89698
89699 /* System header to define __stub macros and hopefully few prototypes,
89700 which can conflict with char $ac_func (); below.
89701 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
89702 <limits.h> exists even on freestanding compilers. */
89703
89704 #ifdef __STDC__
89705 # include <limits.h>
89706 #else
89707 # include <assert.h>
89708 #endif
89709
89710 #undef $ac_func
89711
89712 /* Override any gcc2 internal prototype to avoid an error. */
89713 #ifdef __cplusplus
89714 extern "C"
89715 {
89716 #endif
89717 /* We use char because int might match the return type of a gcc2
89718 builtin and then its argument prototype would still apply. */
89719 char $ac_func ();
89720 /* The GNU C library defines this for functions which it implements
89721 to always fail with ENOSYS. Some functions are actually named
89722 something starting with __ and the normal name is an alias. */
89723 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
89724 choke me
89725 #else
89726 char (*f) () = $ac_func;
89727 #endif
89728 #ifdef __cplusplus
89729 }
89730 #endif
89731
89732 int
89733 main ()
89734 {
89735 return f != $ac_func;
89736 ;
89737 return 0;
89738 }
89739 _ACEOF
89740 rm -f conftest.$ac_objext conftest$ac_exeext
89741 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
89742 (eval $ac_link) 2>conftest.er1
89743 ac_status=$?
89744 grep -v '^ *+' conftest.er1 >conftest.err
89745 rm -f conftest.er1
89746 cat conftest.err >&5
89747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89748 (exit $ac_status); } &&
89749 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
89750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89751 (eval $ac_try) 2>&5
89752 ac_status=$?
89753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89754 (exit $ac_status); }; } &&
89755 { ac_try='test -s conftest$ac_exeext'
89756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89757 (eval $ac_try) 2>&5
89758 ac_status=$?
89759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89760 (exit $ac_status); }; }; then
89761 eval "$as_ac_var=yes"
89762 else
89763 echo "$as_me: failed program was:" >&5
89764 sed 's/^/| /' conftest.$ac_ext >&5
89765
89766 eval "$as_ac_var=no"
89767 fi
89768 rm -f conftest.err conftest.$ac_objext \
89769 conftest$ac_exeext conftest.$ac_ext
89770 fi
89771 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
89772 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
89773 if test `eval echo '${'$as_ac_var'}'` = yes; then
89774 cat >>confdefs.h <<_ACEOF
89775 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
89776 _ACEOF
89777
89778 fi
89779 done
89780
89781 else
89782
89783 echo "$as_me:$LINENO: checking for _copysignl declaration" >&5
89784 echo $ECHO_N "checking for _copysignl declaration... $ECHO_C" >&6
89785 if test x${glibcxx_cv_func__copysignl_use+set} != xset; then
89786 if test "${glibcxx_cv_func__copysignl_use+set}" = set; then
89787 echo $ECHO_N "(cached) $ECHO_C" >&6
89788 else
89789
89790
89791
89792 ac_ext=cc
89793 ac_cpp='$CXXCPP $CPPFLAGS'
89794 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89795 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89796 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
89797
89798 cat >conftest.$ac_ext <<_ACEOF
89799 /* confdefs.h. */
89800 _ACEOF
89801 cat confdefs.h >>conftest.$ac_ext
89802 cat >>conftest.$ac_ext <<_ACEOF
89803 /* end confdefs.h. */
89804 #include <math.h>
89805 int
89806 main ()
89807 {
89808 _copysignl(0, 0);
89809 ;
89810 return 0;
89811 }
89812 _ACEOF
89813 rm -f conftest.$ac_objext
89814 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
89815 (eval $ac_compile) 2>conftest.er1
89816 ac_status=$?
89817 grep -v '^ *+' conftest.er1 >conftest.err
89818 rm -f conftest.er1
89819 cat conftest.err >&5
89820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89821 (exit $ac_status); } &&
89822 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
89823 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89824 (eval $ac_try) 2>&5
89825 ac_status=$?
89826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89827 (exit $ac_status); }; } &&
89828 { ac_try='test -s conftest.$ac_objext'
89829 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89830 (eval $ac_try) 2>&5
89831 ac_status=$?
89832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89833 (exit $ac_status); }; }; then
89834 glibcxx_cv_func__copysignl_use=yes
89835 else
89836 echo "$as_me: failed program was:" >&5
89837 sed 's/^/| /' conftest.$ac_ext >&5
89838
89839 glibcxx_cv_func__copysignl_use=no
89840 fi
89841 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
89842 ac_ext=c
89843 ac_cpp='$CPP $CPPFLAGS'
89844 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89845 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89846 ac_compiler_gnu=$ac_cv_c_compiler_gnu
89847
89848
89849 fi
89850
89851 fi
89852 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysignl_use" >&5
89853 echo "${ECHO_T}$glibcxx_cv_func__copysignl_use" >&6
89854
89855 if test x$glibcxx_cv_func__copysignl_use = x"yes"; then
89856
89857 for ac_func in _copysignl
89858 do
89859 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
89860 echo "$as_me:$LINENO: checking for $ac_func" >&5
89861 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
89862 if eval "test \"\${$as_ac_var+set}\" = set"; then
89863 echo $ECHO_N "(cached) $ECHO_C" >&6
89864 else
89865 if test x$gcc_no_link = xyes; then
89866 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
89867 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
89868 { (exit 1); exit 1; }; }
89869 fi
89870 cat >conftest.$ac_ext <<_ACEOF
89871 /* confdefs.h. */
89872 _ACEOF
89873 cat confdefs.h >>conftest.$ac_ext
89874 cat >>conftest.$ac_ext <<_ACEOF
89875 /* end confdefs.h. */
89876 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
89877 For example, HP-UX 11i <limits.h> declares gettimeofday. */
89878 #define $ac_func innocuous_$ac_func
89879
89880 /* System header to define __stub macros and hopefully few prototypes,
89881 which can conflict with char $ac_func (); below.
89882 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
89883 <limits.h> exists even on freestanding compilers. */
89884
89885 #ifdef __STDC__
89886 # include <limits.h>
89887 #else
89888 # include <assert.h>
89889 #endif
89890
89891 #undef $ac_func
89892
89893 /* Override any gcc2 internal prototype to avoid an error. */
89894 #ifdef __cplusplus
89895 extern "C"
89896 {
89897 #endif
89898 /* We use char because int might match the return type of a gcc2
89899 builtin and then its argument prototype would still apply. */
89900 char $ac_func ();
89901 /* The GNU C library defines this for functions which it implements
89902 to always fail with ENOSYS. Some functions are actually named
89903 something starting with __ and the normal name is an alias. */
89904 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
89905 choke me
89906 #else
89907 char (*f) () = $ac_func;
89908 #endif
89909 #ifdef __cplusplus
89910 }
89911 #endif
89912
89913 int
89914 main ()
89915 {
89916 return f != $ac_func;
89917 ;
89918 return 0;
89919 }
89920 _ACEOF
89921 rm -f conftest.$ac_objext conftest$ac_exeext
89922 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
89923 (eval $ac_link) 2>conftest.er1
89924 ac_status=$?
89925 grep -v '^ *+' conftest.er1 >conftest.err
89926 rm -f conftest.er1
89927 cat conftest.err >&5
89928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89929 (exit $ac_status); } &&
89930 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
89931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89932 (eval $ac_try) 2>&5
89933 ac_status=$?
89934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89935 (exit $ac_status); }; } &&
89936 { ac_try='test -s conftest$ac_exeext'
89937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89938 (eval $ac_try) 2>&5
89939 ac_status=$?
89940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89941 (exit $ac_status); }; }; then
89942 eval "$as_ac_var=yes"
89943 else
89944 echo "$as_me: failed program was:" >&5
89945 sed 's/^/| /' conftest.$ac_ext >&5
89946
89947 eval "$as_ac_var=no"
89948 fi
89949 rm -f conftest.err conftest.$ac_objext \
89950 conftest$ac_exeext conftest.$ac_ext
89951 fi
89952 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
89953 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
89954 if test `eval echo '${'$as_ac_var'}'` = yes; then
89955 cat >>confdefs.h <<_ACEOF
89956 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
89957 _ACEOF
89958
89959 fi
89960 done
89961
89962 fi
89963 fi
89964
89965
89966
89967
89968
89969
89970 echo "$as_me:$LINENO: checking for atan2l declaration" >&5
89971 echo $ECHO_N "checking for atan2l declaration... $ECHO_C" >&6
89972 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
89973 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then
89974 echo $ECHO_N "(cached) $ECHO_C" >&6
89975 else
89976
89977
89978
89979 ac_ext=cc
89980 ac_cpp='$CXXCPP $CPPFLAGS'
89981 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89982 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89983 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
89984
89985 cat >conftest.$ac_ext <<_ACEOF
89986 /* confdefs.h. */
89987 _ACEOF
89988 cat confdefs.h >>conftest.$ac_ext
89989 cat >>conftest.$ac_ext <<_ACEOF
89990 /* end confdefs.h. */
89991 #include <math.h>
89992 int
89993 main ()
89994 {
89995 atan2l(0, 0);
89996 ;
89997 return 0;
89998 }
89999 _ACEOF
90000 rm -f conftest.$ac_objext
90001 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
90002 (eval $ac_compile) 2>conftest.er1
90003 ac_status=$?
90004 grep -v '^ *+' conftest.er1 >conftest.err
90005 rm -f conftest.er1
90006 cat conftest.err >&5
90007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90008 (exit $ac_status); } &&
90009 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
90010 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90011 (eval $ac_try) 2>&5
90012 ac_status=$?
90013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90014 (exit $ac_status); }; } &&
90015 { ac_try='test -s conftest.$ac_objext'
90016 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90017 (eval $ac_try) 2>&5
90018 ac_status=$?
90019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90020 (exit $ac_status); }; }; then
90021 glibcxx_cv_func_atan2l_use=yes
90022 else
90023 echo "$as_me: failed program was:" >&5
90024 sed 's/^/| /' conftest.$ac_ext >&5
90025
90026 glibcxx_cv_func_atan2l_use=no
90027 fi
90028 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
90029 ac_ext=c
90030 ac_cpp='$CPP $CPPFLAGS'
90031 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90032 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90033 ac_compiler_gnu=$ac_cv_c_compiler_gnu
90034
90035
90036 fi
90037
90038 fi
90039 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2l_use" >&5
90040 echo "${ECHO_T}$glibcxx_cv_func_atan2l_use" >&6
90041
90042 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
90043
90044 for ac_func in atan2l
90045 do
90046 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
90047 echo "$as_me:$LINENO: checking for $ac_func" >&5
90048 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
90049 if eval "test \"\${$as_ac_var+set}\" = set"; then
90050 echo $ECHO_N "(cached) $ECHO_C" >&6
90051 else
90052 if test x$gcc_no_link = xyes; then
90053 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
90054 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
90055 { (exit 1); exit 1; }; }
90056 fi
90057 cat >conftest.$ac_ext <<_ACEOF
90058 /* confdefs.h. */
90059 _ACEOF
90060 cat confdefs.h >>conftest.$ac_ext
90061 cat >>conftest.$ac_ext <<_ACEOF
90062 /* end confdefs.h. */
90063 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
90064 For example, HP-UX 11i <limits.h> declares gettimeofday. */
90065 #define $ac_func innocuous_$ac_func
90066
90067 /* System header to define __stub macros and hopefully few prototypes,
90068 which can conflict with char $ac_func (); below.
90069 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
90070 <limits.h> exists even on freestanding compilers. */
90071
90072 #ifdef __STDC__
90073 # include <limits.h>
90074 #else
90075 # include <assert.h>
90076 #endif
90077
90078 #undef $ac_func
90079
90080 /* Override any gcc2 internal prototype to avoid an error. */
90081 #ifdef __cplusplus
90082 extern "C"
90083 {
90084 #endif
90085 /* We use char because int might match the return type of a gcc2
90086 builtin and then its argument prototype would still apply. */
90087 char $ac_func ();
90088 /* The GNU C library defines this for functions which it implements
90089 to always fail with ENOSYS. Some functions are actually named
90090 something starting with __ and the normal name is an alias. */
90091 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
90092 choke me
90093 #else
90094 char (*f) () = $ac_func;
90095 #endif
90096 #ifdef __cplusplus
90097 }
90098 #endif
90099
90100 int
90101 main ()
90102 {
90103 return f != $ac_func;
90104 ;
90105 return 0;
90106 }
90107 _ACEOF
90108 rm -f conftest.$ac_objext conftest$ac_exeext
90109 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
90110 (eval $ac_link) 2>conftest.er1
90111 ac_status=$?
90112 grep -v '^ *+' conftest.er1 >conftest.err
90113 rm -f conftest.er1
90114 cat conftest.err >&5
90115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90116 (exit $ac_status); } &&
90117 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
90118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90119 (eval $ac_try) 2>&5
90120 ac_status=$?
90121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90122 (exit $ac_status); }; } &&
90123 { ac_try='test -s conftest$ac_exeext'
90124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90125 (eval $ac_try) 2>&5
90126 ac_status=$?
90127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90128 (exit $ac_status); }; }; then
90129 eval "$as_ac_var=yes"
90130 else
90131 echo "$as_me: failed program was:" >&5
90132 sed 's/^/| /' conftest.$ac_ext >&5
90133
90134 eval "$as_ac_var=no"
90135 fi
90136 rm -f conftest.err conftest.$ac_objext \
90137 conftest$ac_exeext conftest.$ac_ext
90138 fi
90139 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
90140 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
90141 if test `eval echo '${'$as_ac_var'}'` = yes; then
90142 cat >>confdefs.h <<_ACEOF
90143 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
90144 _ACEOF
90145
90146 fi
90147 done
90148
90149 else
90150
90151 echo "$as_me:$LINENO: checking for _atan2l declaration" >&5
90152 echo $ECHO_N "checking for _atan2l declaration... $ECHO_C" >&6
90153 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
90154 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then
90155 echo $ECHO_N "(cached) $ECHO_C" >&6
90156 else
90157
90158
90159
90160 ac_ext=cc
90161 ac_cpp='$CXXCPP $CPPFLAGS'
90162 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90163 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90164 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
90165
90166 cat >conftest.$ac_ext <<_ACEOF
90167 /* confdefs.h. */
90168 _ACEOF
90169 cat confdefs.h >>conftest.$ac_ext
90170 cat >>conftest.$ac_ext <<_ACEOF
90171 /* end confdefs.h. */
90172 #include <math.h>
90173 int
90174 main ()
90175 {
90176 _atan2l(0, 0);
90177 ;
90178 return 0;
90179 }
90180 _ACEOF
90181 rm -f conftest.$ac_objext
90182 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
90183 (eval $ac_compile) 2>conftest.er1
90184 ac_status=$?
90185 grep -v '^ *+' conftest.er1 >conftest.err
90186 rm -f conftest.er1
90187 cat conftest.err >&5
90188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90189 (exit $ac_status); } &&
90190 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
90191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90192 (eval $ac_try) 2>&5
90193 ac_status=$?
90194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90195 (exit $ac_status); }; } &&
90196 { ac_try='test -s conftest.$ac_objext'
90197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90198 (eval $ac_try) 2>&5
90199 ac_status=$?
90200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90201 (exit $ac_status); }; }; then
90202 glibcxx_cv_func__atan2l_use=yes
90203 else
90204 echo "$as_me: failed program was:" >&5
90205 sed 's/^/| /' conftest.$ac_ext >&5
90206
90207 glibcxx_cv_func__atan2l_use=no
90208 fi
90209 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
90210 ac_ext=c
90211 ac_cpp='$CPP $CPPFLAGS'
90212 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90213 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90214 ac_compiler_gnu=$ac_cv_c_compiler_gnu
90215
90216
90217 fi
90218
90219 fi
90220 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2l_use" >&5
90221 echo "${ECHO_T}$glibcxx_cv_func__atan2l_use" >&6
90222
90223 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
90224
90225 for ac_func in _atan2l
90226 do
90227 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
90228 echo "$as_me:$LINENO: checking for $ac_func" >&5
90229 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
90230 if eval "test \"\${$as_ac_var+set}\" = set"; then
90231 echo $ECHO_N "(cached) $ECHO_C" >&6
90232 else
90233 if test x$gcc_no_link = xyes; then
90234 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
90235 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
90236 { (exit 1); exit 1; }; }
90237 fi
90238 cat >conftest.$ac_ext <<_ACEOF
90239 /* confdefs.h. */
90240 _ACEOF
90241 cat confdefs.h >>conftest.$ac_ext
90242 cat >>conftest.$ac_ext <<_ACEOF
90243 /* end confdefs.h. */
90244 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
90245 For example, HP-UX 11i <limits.h> declares gettimeofday. */
90246 #define $ac_func innocuous_$ac_func
90247
90248 /* System header to define __stub macros and hopefully few prototypes,
90249 which can conflict with char $ac_func (); below.
90250 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
90251 <limits.h> exists even on freestanding compilers. */
90252
90253 #ifdef __STDC__
90254 # include <limits.h>
90255 #else
90256 # include <assert.h>
90257 #endif
90258
90259 #undef $ac_func
90260
90261 /* Override any gcc2 internal prototype to avoid an error. */
90262 #ifdef __cplusplus
90263 extern "C"
90264 {
90265 #endif
90266 /* We use char because int might match the return type of a gcc2
90267 builtin and then its argument prototype would still apply. */
90268 char $ac_func ();
90269 /* The GNU C library defines this for functions which it implements
90270 to always fail with ENOSYS. Some functions are actually named
90271 something starting with __ and the normal name is an alias. */
90272 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
90273 choke me
90274 #else
90275 char (*f) () = $ac_func;
90276 #endif
90277 #ifdef __cplusplus
90278 }
90279 #endif
90280
90281 int
90282 main ()
90283 {
90284 return f != $ac_func;
90285 ;
90286 return 0;
90287 }
90288 _ACEOF
90289 rm -f conftest.$ac_objext conftest$ac_exeext
90290 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
90291 (eval $ac_link) 2>conftest.er1
90292 ac_status=$?
90293 grep -v '^ *+' conftest.er1 >conftest.err
90294 rm -f conftest.er1
90295 cat conftest.err >&5
90296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90297 (exit $ac_status); } &&
90298 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
90299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90300 (eval $ac_try) 2>&5
90301 ac_status=$?
90302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90303 (exit $ac_status); }; } &&
90304 { ac_try='test -s conftest$ac_exeext'
90305 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90306 (eval $ac_try) 2>&5
90307 ac_status=$?
90308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90309 (exit $ac_status); }; }; then
90310 eval "$as_ac_var=yes"
90311 else
90312 echo "$as_me: failed program was:" >&5
90313 sed 's/^/| /' conftest.$ac_ext >&5
90314
90315 eval "$as_ac_var=no"
90316 fi
90317 rm -f conftest.err conftest.$ac_objext \
90318 conftest$ac_exeext conftest.$ac_ext
90319 fi
90320 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
90321 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
90322 if test `eval echo '${'$as_ac_var'}'` = yes; then
90323 cat >>confdefs.h <<_ACEOF
90324 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
90325 _ACEOF
90326
90327 fi
90328 done
90329
90330 fi
90331 fi
90332
90333
90334
90335
90336
90337
90338 echo "$as_me:$LINENO: checking for expl declaration" >&5
90339 echo $ECHO_N "checking for expl declaration... $ECHO_C" >&6
90340 if test x${glibcxx_cv_func_expl_use+set} != xset; then
90341 if test "${glibcxx_cv_func_expl_use+set}" = set; then
90342 echo $ECHO_N "(cached) $ECHO_C" >&6
90343 else
90344
90345
90346
90347 ac_ext=cc
90348 ac_cpp='$CXXCPP $CPPFLAGS'
90349 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90350 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90351 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
90352
90353 cat >conftest.$ac_ext <<_ACEOF
90354 /* confdefs.h. */
90355 _ACEOF
90356 cat confdefs.h >>conftest.$ac_ext
90357 cat >>conftest.$ac_ext <<_ACEOF
90358 /* end confdefs.h. */
90359 #include <math.h>
90360 #ifdef HAVE_IEEEFP_H
90361 #include <ieeefp.h>
90362 #endif
90363
90364 int
90365 main ()
90366 {
90367 expl(0);
90368 ;
90369 return 0;
90370 }
90371 _ACEOF
90372 rm -f conftest.$ac_objext
90373 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
90374 (eval $ac_compile) 2>conftest.er1
90375 ac_status=$?
90376 grep -v '^ *+' conftest.er1 >conftest.err
90377 rm -f conftest.er1
90378 cat conftest.err >&5
90379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90380 (exit $ac_status); } &&
90381 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
90382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90383 (eval $ac_try) 2>&5
90384 ac_status=$?
90385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90386 (exit $ac_status); }; } &&
90387 { ac_try='test -s conftest.$ac_objext'
90388 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90389 (eval $ac_try) 2>&5
90390 ac_status=$?
90391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90392 (exit $ac_status); }; }; then
90393 glibcxx_cv_func_expl_use=yes
90394 else
90395 echo "$as_me: failed program was:" >&5
90396 sed 's/^/| /' conftest.$ac_ext >&5
90397
90398 glibcxx_cv_func_expl_use=no
90399 fi
90400 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
90401 ac_ext=c
90402 ac_cpp='$CPP $CPPFLAGS'
90403 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90404 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90405 ac_compiler_gnu=$ac_cv_c_compiler_gnu
90406
90407
90408 fi
90409
90410 fi
90411 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expl_use" >&5
90412 echo "${ECHO_T}$glibcxx_cv_func_expl_use" >&6
90413
90414 if test x$glibcxx_cv_func_expl_use = x"yes"; then
90415
90416 for ac_func in expl
90417 do
90418 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
90419 echo "$as_me:$LINENO: checking for $ac_func" >&5
90420 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
90421 if eval "test \"\${$as_ac_var+set}\" = set"; then
90422 echo $ECHO_N "(cached) $ECHO_C" >&6
90423 else
90424 if test x$gcc_no_link = xyes; then
90425 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
90426 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
90427 { (exit 1); exit 1; }; }
90428 fi
90429 cat >conftest.$ac_ext <<_ACEOF
90430 /* confdefs.h. */
90431 _ACEOF
90432 cat confdefs.h >>conftest.$ac_ext
90433 cat >>conftest.$ac_ext <<_ACEOF
90434 /* end confdefs.h. */
90435 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
90436 For example, HP-UX 11i <limits.h> declares gettimeofday. */
90437 #define $ac_func innocuous_$ac_func
90438
90439 /* System header to define __stub macros and hopefully few prototypes,
90440 which can conflict with char $ac_func (); below.
90441 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
90442 <limits.h> exists even on freestanding compilers. */
90443
90444 #ifdef __STDC__
90445 # include <limits.h>
90446 #else
90447 # include <assert.h>
90448 #endif
90449
90450 #undef $ac_func
90451
90452 /* Override any gcc2 internal prototype to avoid an error. */
90453 #ifdef __cplusplus
90454 extern "C"
90455 {
90456 #endif
90457 /* We use char because int might match the return type of a gcc2
90458 builtin and then its argument prototype would still apply. */
90459 char $ac_func ();
90460 /* The GNU C library defines this for functions which it implements
90461 to always fail with ENOSYS. Some functions are actually named
90462 something starting with __ and the normal name is an alias. */
90463 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
90464 choke me
90465 #else
90466 char (*f) () = $ac_func;
90467 #endif
90468 #ifdef __cplusplus
90469 }
90470 #endif
90471
90472 int
90473 main ()
90474 {
90475 return f != $ac_func;
90476 ;
90477 return 0;
90478 }
90479 _ACEOF
90480 rm -f conftest.$ac_objext conftest$ac_exeext
90481 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
90482 (eval $ac_link) 2>conftest.er1
90483 ac_status=$?
90484 grep -v '^ *+' conftest.er1 >conftest.err
90485 rm -f conftest.er1
90486 cat conftest.err >&5
90487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90488 (exit $ac_status); } &&
90489 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
90490 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90491 (eval $ac_try) 2>&5
90492 ac_status=$?
90493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90494 (exit $ac_status); }; } &&
90495 { ac_try='test -s conftest$ac_exeext'
90496 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90497 (eval $ac_try) 2>&5
90498 ac_status=$?
90499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90500 (exit $ac_status); }; }; then
90501 eval "$as_ac_var=yes"
90502 else
90503 echo "$as_me: failed program was:" >&5
90504 sed 's/^/| /' conftest.$ac_ext >&5
90505
90506 eval "$as_ac_var=no"
90507 fi
90508 rm -f conftest.err conftest.$ac_objext \
90509 conftest$ac_exeext conftest.$ac_ext
90510 fi
90511 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
90512 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
90513 if test `eval echo '${'$as_ac_var'}'` = yes; then
90514 cat >>confdefs.h <<_ACEOF
90515 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
90516 _ACEOF
90517
90518 fi
90519 done
90520
90521 else
90522
90523 echo "$as_me:$LINENO: checking for _expl declaration" >&5
90524 echo $ECHO_N "checking for _expl declaration... $ECHO_C" >&6
90525 if test x${glibcxx_cv_func__expl_use+set} != xset; then
90526 if test "${glibcxx_cv_func__expl_use+set}" = set; then
90527 echo $ECHO_N "(cached) $ECHO_C" >&6
90528 else
90529
90530
90531
90532 ac_ext=cc
90533 ac_cpp='$CXXCPP $CPPFLAGS'
90534 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90535 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90536 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
90537
90538 cat >conftest.$ac_ext <<_ACEOF
90539 /* confdefs.h. */
90540 _ACEOF
90541 cat confdefs.h >>conftest.$ac_ext
90542 cat >>conftest.$ac_ext <<_ACEOF
90543 /* end confdefs.h. */
90544 #include <math.h>
90545 #ifdef HAVE_IEEEFP_H
90546 #include <ieeefp.h>
90547 #endif
90548
90549 int
90550 main ()
90551 {
90552 _expl(0);
90553 ;
90554 return 0;
90555 }
90556 _ACEOF
90557 rm -f conftest.$ac_objext
90558 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
90559 (eval $ac_compile) 2>conftest.er1
90560 ac_status=$?
90561 grep -v '^ *+' conftest.er1 >conftest.err
90562 rm -f conftest.er1
90563 cat conftest.err >&5
90564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90565 (exit $ac_status); } &&
90566 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
90567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90568 (eval $ac_try) 2>&5
90569 ac_status=$?
90570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90571 (exit $ac_status); }; } &&
90572 { ac_try='test -s conftest.$ac_objext'
90573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90574 (eval $ac_try) 2>&5
90575 ac_status=$?
90576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90577 (exit $ac_status); }; }; then
90578 glibcxx_cv_func__expl_use=yes
90579 else
90580 echo "$as_me: failed program was:" >&5
90581 sed 's/^/| /' conftest.$ac_ext >&5
90582
90583 glibcxx_cv_func__expl_use=no
90584 fi
90585 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
90586 ac_ext=c
90587 ac_cpp='$CPP $CPPFLAGS'
90588 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90589 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90590 ac_compiler_gnu=$ac_cv_c_compiler_gnu
90591
90592
90593 fi
90594
90595 fi
90596 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expl_use" >&5
90597 echo "${ECHO_T}$glibcxx_cv_func__expl_use" >&6
90598
90599 if test x$glibcxx_cv_func__expl_use = x"yes"; then
90600
90601 for ac_func in _expl
90602 do
90603 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
90604 echo "$as_me:$LINENO: checking for $ac_func" >&5
90605 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
90606 if eval "test \"\${$as_ac_var+set}\" = set"; then
90607 echo $ECHO_N "(cached) $ECHO_C" >&6
90608 else
90609 if test x$gcc_no_link = xyes; then
90610 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
90611 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
90612 { (exit 1); exit 1; }; }
90613 fi
90614 cat >conftest.$ac_ext <<_ACEOF
90615 /* confdefs.h. */
90616 _ACEOF
90617 cat confdefs.h >>conftest.$ac_ext
90618 cat >>conftest.$ac_ext <<_ACEOF
90619 /* end confdefs.h. */
90620 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
90621 For example, HP-UX 11i <limits.h> declares gettimeofday. */
90622 #define $ac_func innocuous_$ac_func
90623
90624 /* System header to define __stub macros and hopefully few prototypes,
90625 which can conflict with char $ac_func (); below.
90626 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
90627 <limits.h> exists even on freestanding compilers. */
90628
90629 #ifdef __STDC__
90630 # include <limits.h>
90631 #else
90632 # include <assert.h>
90633 #endif
90634
90635 #undef $ac_func
90636
90637 /* Override any gcc2 internal prototype to avoid an error. */
90638 #ifdef __cplusplus
90639 extern "C"
90640 {
90641 #endif
90642 /* We use char because int might match the return type of a gcc2
90643 builtin and then its argument prototype would still apply. */
90644 char $ac_func ();
90645 /* The GNU C library defines this for functions which it implements
90646 to always fail with ENOSYS. Some functions are actually named
90647 something starting with __ and the normal name is an alias. */
90648 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
90649 choke me
90650 #else
90651 char (*f) () = $ac_func;
90652 #endif
90653 #ifdef __cplusplus
90654 }
90655 #endif
90656
90657 int
90658 main ()
90659 {
90660 return f != $ac_func;
90661 ;
90662 return 0;
90663 }
90664 _ACEOF
90665 rm -f conftest.$ac_objext conftest$ac_exeext
90666 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
90667 (eval $ac_link) 2>conftest.er1
90668 ac_status=$?
90669 grep -v '^ *+' conftest.er1 >conftest.err
90670 rm -f conftest.er1
90671 cat conftest.err >&5
90672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90673 (exit $ac_status); } &&
90674 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
90675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90676 (eval $ac_try) 2>&5
90677 ac_status=$?
90678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90679 (exit $ac_status); }; } &&
90680 { ac_try='test -s conftest$ac_exeext'
90681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90682 (eval $ac_try) 2>&5
90683 ac_status=$?
90684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90685 (exit $ac_status); }; }; then
90686 eval "$as_ac_var=yes"
90687 else
90688 echo "$as_me: failed program was:" >&5
90689 sed 's/^/| /' conftest.$ac_ext >&5
90690
90691 eval "$as_ac_var=no"
90692 fi
90693 rm -f conftest.err conftest.$ac_objext \
90694 conftest$ac_exeext conftest.$ac_ext
90695 fi
90696 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
90697 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
90698 if test `eval echo '${'$as_ac_var'}'` = yes; then
90699 cat >>confdefs.h <<_ACEOF
90700 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
90701 _ACEOF
90702
90703 fi
90704 done
90705
90706 fi
90707 fi
90708
90709
90710
90711
90712
90713
90714 echo "$as_me:$LINENO: checking for fabsl declaration" >&5
90715 echo $ECHO_N "checking for fabsl declaration... $ECHO_C" >&6
90716 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
90717 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then
90718 echo $ECHO_N "(cached) $ECHO_C" >&6
90719 else
90720
90721
90722
90723 ac_ext=cc
90724 ac_cpp='$CXXCPP $CPPFLAGS'
90725 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90726 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90727 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
90728
90729 cat >conftest.$ac_ext <<_ACEOF
90730 /* confdefs.h. */
90731 _ACEOF
90732 cat confdefs.h >>conftest.$ac_ext
90733 cat >>conftest.$ac_ext <<_ACEOF
90734 /* end confdefs.h. */
90735 #include <math.h>
90736 #ifdef HAVE_IEEEFP_H
90737 #include <ieeefp.h>
90738 #endif
90739
90740 int
90741 main ()
90742 {
90743 fabsl(0);
90744 ;
90745 return 0;
90746 }
90747 _ACEOF
90748 rm -f conftest.$ac_objext
90749 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
90750 (eval $ac_compile) 2>conftest.er1
90751 ac_status=$?
90752 grep -v '^ *+' conftest.er1 >conftest.err
90753 rm -f conftest.er1
90754 cat conftest.err >&5
90755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90756 (exit $ac_status); } &&
90757 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
90758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90759 (eval $ac_try) 2>&5
90760 ac_status=$?
90761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90762 (exit $ac_status); }; } &&
90763 { ac_try='test -s conftest.$ac_objext'
90764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90765 (eval $ac_try) 2>&5
90766 ac_status=$?
90767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90768 (exit $ac_status); }; }; then
90769 glibcxx_cv_func_fabsl_use=yes
90770 else
90771 echo "$as_me: failed program was:" >&5
90772 sed 's/^/| /' conftest.$ac_ext >&5
90773
90774 glibcxx_cv_func_fabsl_use=no
90775 fi
90776 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
90777 ac_ext=c
90778 ac_cpp='$CPP $CPPFLAGS'
90779 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90780 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90781 ac_compiler_gnu=$ac_cv_c_compiler_gnu
90782
90783
90784 fi
90785
90786 fi
90787 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsl_use" >&5
90788 echo "${ECHO_T}$glibcxx_cv_func_fabsl_use" >&6
90789
90790 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
90791
90792 for ac_func in fabsl
90793 do
90794 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
90795 echo "$as_me:$LINENO: checking for $ac_func" >&5
90796 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
90797 if eval "test \"\${$as_ac_var+set}\" = set"; then
90798 echo $ECHO_N "(cached) $ECHO_C" >&6
90799 else
90800 if test x$gcc_no_link = xyes; then
90801 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
90802 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
90803 { (exit 1); exit 1; }; }
90804 fi
90805 cat >conftest.$ac_ext <<_ACEOF
90806 /* confdefs.h. */
90807 _ACEOF
90808 cat confdefs.h >>conftest.$ac_ext
90809 cat >>conftest.$ac_ext <<_ACEOF
90810 /* end confdefs.h. */
90811 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
90812 For example, HP-UX 11i <limits.h> declares gettimeofday. */
90813 #define $ac_func innocuous_$ac_func
90814
90815 /* System header to define __stub macros and hopefully few prototypes,
90816 which can conflict with char $ac_func (); below.
90817 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
90818 <limits.h> exists even on freestanding compilers. */
90819
90820 #ifdef __STDC__
90821 # include <limits.h>
90822 #else
90823 # include <assert.h>
90824 #endif
90825
90826 #undef $ac_func
90827
90828 /* Override any gcc2 internal prototype to avoid an error. */
90829 #ifdef __cplusplus
90830 extern "C"
90831 {
90832 #endif
90833 /* We use char because int might match the return type of a gcc2
90834 builtin and then its argument prototype would still apply. */
90835 char $ac_func ();
90836 /* The GNU C library defines this for functions which it implements
90837 to always fail with ENOSYS. Some functions are actually named
90838 something starting with __ and the normal name is an alias. */
90839 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
90840 choke me
90841 #else
90842 char (*f) () = $ac_func;
90843 #endif
90844 #ifdef __cplusplus
90845 }
90846 #endif
90847
90848 int
90849 main ()
90850 {
90851 return f != $ac_func;
90852 ;
90853 return 0;
90854 }
90855 _ACEOF
90856 rm -f conftest.$ac_objext conftest$ac_exeext
90857 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
90858 (eval $ac_link) 2>conftest.er1
90859 ac_status=$?
90860 grep -v '^ *+' conftest.er1 >conftest.err
90861 rm -f conftest.er1
90862 cat conftest.err >&5
90863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90864 (exit $ac_status); } &&
90865 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
90866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90867 (eval $ac_try) 2>&5
90868 ac_status=$?
90869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90870 (exit $ac_status); }; } &&
90871 { ac_try='test -s conftest$ac_exeext'
90872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90873 (eval $ac_try) 2>&5
90874 ac_status=$?
90875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90876 (exit $ac_status); }; }; then
90877 eval "$as_ac_var=yes"
90878 else
90879 echo "$as_me: failed program was:" >&5
90880 sed 's/^/| /' conftest.$ac_ext >&5
90881
90882 eval "$as_ac_var=no"
90883 fi
90884 rm -f conftest.err conftest.$ac_objext \
90885 conftest$ac_exeext conftest.$ac_ext
90886 fi
90887 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
90888 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
90889 if test `eval echo '${'$as_ac_var'}'` = yes; then
90890 cat >>confdefs.h <<_ACEOF
90891 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
90892 _ACEOF
90893
90894 fi
90895 done
90896
90897 else
90898
90899 echo "$as_me:$LINENO: checking for _fabsl declaration" >&5
90900 echo $ECHO_N "checking for _fabsl declaration... $ECHO_C" >&6
90901 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
90902 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then
90903 echo $ECHO_N "(cached) $ECHO_C" >&6
90904 else
90905
90906
90907
90908 ac_ext=cc
90909 ac_cpp='$CXXCPP $CPPFLAGS'
90910 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90911 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90912 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
90913
90914 cat >conftest.$ac_ext <<_ACEOF
90915 /* confdefs.h. */
90916 _ACEOF
90917 cat confdefs.h >>conftest.$ac_ext
90918 cat >>conftest.$ac_ext <<_ACEOF
90919 /* end confdefs.h. */
90920 #include <math.h>
90921 #ifdef HAVE_IEEEFP_H
90922 #include <ieeefp.h>
90923 #endif
90924
90925 int
90926 main ()
90927 {
90928 _fabsl(0);
90929 ;
90930 return 0;
90931 }
90932 _ACEOF
90933 rm -f conftest.$ac_objext
90934 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
90935 (eval $ac_compile) 2>conftest.er1
90936 ac_status=$?
90937 grep -v '^ *+' conftest.er1 >conftest.err
90938 rm -f conftest.er1
90939 cat conftest.err >&5
90940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90941 (exit $ac_status); } &&
90942 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
90943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90944 (eval $ac_try) 2>&5
90945 ac_status=$?
90946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90947 (exit $ac_status); }; } &&
90948 { ac_try='test -s conftest.$ac_objext'
90949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90950 (eval $ac_try) 2>&5
90951 ac_status=$?
90952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90953 (exit $ac_status); }; }; then
90954 glibcxx_cv_func__fabsl_use=yes
90955 else
90956 echo "$as_me: failed program was:" >&5
90957 sed 's/^/| /' conftest.$ac_ext >&5
90958
90959 glibcxx_cv_func__fabsl_use=no
90960 fi
90961 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
90962 ac_ext=c
90963 ac_cpp='$CPP $CPPFLAGS'
90964 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90965 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90966 ac_compiler_gnu=$ac_cv_c_compiler_gnu
90967
90968
90969 fi
90970
90971 fi
90972 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsl_use" >&5
90973 echo "${ECHO_T}$glibcxx_cv_func__fabsl_use" >&6
90974
90975 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
90976
90977 for ac_func in _fabsl
90978 do
90979 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
90980 echo "$as_me:$LINENO: checking for $ac_func" >&5
90981 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
90982 if eval "test \"\${$as_ac_var+set}\" = set"; then
90983 echo $ECHO_N "(cached) $ECHO_C" >&6
90984 else
90985 if test x$gcc_no_link = xyes; then
90986 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
90987 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
90988 { (exit 1); exit 1; }; }
90989 fi
90990 cat >conftest.$ac_ext <<_ACEOF
90991 /* confdefs.h. */
90992 _ACEOF
90993 cat confdefs.h >>conftest.$ac_ext
90994 cat >>conftest.$ac_ext <<_ACEOF
90995 /* end confdefs.h. */
90996 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
90997 For example, HP-UX 11i <limits.h> declares gettimeofday. */
90998 #define $ac_func innocuous_$ac_func
90999
91000 /* System header to define __stub macros and hopefully few prototypes,
91001 which can conflict with char $ac_func (); below.
91002 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
91003 <limits.h> exists even on freestanding compilers. */
91004
91005 #ifdef __STDC__
91006 # include <limits.h>
91007 #else
91008 # include <assert.h>
91009 #endif
91010
91011 #undef $ac_func
91012
91013 /* Override any gcc2 internal prototype to avoid an error. */
91014 #ifdef __cplusplus
91015 extern "C"
91016 {
91017 #endif
91018 /* We use char because int might match the return type of a gcc2
91019 builtin and then its argument prototype would still apply. */
91020 char $ac_func ();
91021 /* The GNU C library defines this for functions which it implements
91022 to always fail with ENOSYS. Some functions are actually named
91023 something starting with __ and the normal name is an alias. */
91024 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
91025 choke me
91026 #else
91027 char (*f) () = $ac_func;
91028 #endif
91029 #ifdef __cplusplus
91030 }
91031 #endif
91032
91033 int
91034 main ()
91035 {
91036 return f != $ac_func;
91037 ;
91038 return 0;
91039 }
91040 _ACEOF
91041 rm -f conftest.$ac_objext conftest$ac_exeext
91042 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
91043 (eval $ac_link) 2>conftest.er1
91044 ac_status=$?
91045 grep -v '^ *+' conftest.er1 >conftest.err
91046 rm -f conftest.er1
91047 cat conftest.err >&5
91048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91049 (exit $ac_status); } &&
91050 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
91051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91052 (eval $ac_try) 2>&5
91053 ac_status=$?
91054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91055 (exit $ac_status); }; } &&
91056 { ac_try='test -s conftest$ac_exeext'
91057 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91058 (eval $ac_try) 2>&5
91059 ac_status=$?
91060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91061 (exit $ac_status); }; }; then
91062 eval "$as_ac_var=yes"
91063 else
91064 echo "$as_me: failed program was:" >&5
91065 sed 's/^/| /' conftest.$ac_ext >&5
91066
91067 eval "$as_ac_var=no"
91068 fi
91069 rm -f conftest.err conftest.$ac_objext \
91070 conftest$ac_exeext conftest.$ac_ext
91071 fi
91072 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
91073 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
91074 if test `eval echo '${'$as_ac_var'}'` = yes; then
91075 cat >>confdefs.h <<_ACEOF
91076 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
91077 _ACEOF
91078
91079 fi
91080 done
91081
91082 fi
91083 fi
91084
91085
91086
91087
91088
91089
91090 echo "$as_me:$LINENO: checking for fmodl declaration" >&5
91091 echo $ECHO_N "checking for fmodl declaration... $ECHO_C" >&6
91092 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
91093 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then
91094 echo $ECHO_N "(cached) $ECHO_C" >&6
91095 else
91096
91097
91098
91099 ac_ext=cc
91100 ac_cpp='$CXXCPP $CPPFLAGS'
91101 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91102 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91103 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
91104
91105 cat >conftest.$ac_ext <<_ACEOF
91106 /* confdefs.h. */
91107 _ACEOF
91108 cat confdefs.h >>conftest.$ac_ext
91109 cat >>conftest.$ac_ext <<_ACEOF
91110 /* end confdefs.h. */
91111 #include <math.h>
91112 int
91113 main ()
91114 {
91115 fmodl(0, 0);
91116 ;
91117 return 0;
91118 }
91119 _ACEOF
91120 rm -f conftest.$ac_objext
91121 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
91122 (eval $ac_compile) 2>conftest.er1
91123 ac_status=$?
91124 grep -v '^ *+' conftest.er1 >conftest.err
91125 rm -f conftest.er1
91126 cat conftest.err >&5
91127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91128 (exit $ac_status); } &&
91129 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
91130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91131 (eval $ac_try) 2>&5
91132 ac_status=$?
91133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91134 (exit $ac_status); }; } &&
91135 { ac_try='test -s conftest.$ac_objext'
91136 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91137 (eval $ac_try) 2>&5
91138 ac_status=$?
91139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91140 (exit $ac_status); }; }; then
91141 glibcxx_cv_func_fmodl_use=yes
91142 else
91143 echo "$as_me: failed program was:" >&5
91144 sed 's/^/| /' conftest.$ac_ext >&5
91145
91146 glibcxx_cv_func_fmodl_use=no
91147 fi
91148 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
91149 ac_ext=c
91150 ac_cpp='$CPP $CPPFLAGS'
91151 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91152 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91153 ac_compiler_gnu=$ac_cv_c_compiler_gnu
91154
91155
91156 fi
91157
91158 fi
91159 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodl_use" >&5
91160 echo "${ECHO_T}$glibcxx_cv_func_fmodl_use" >&6
91161
91162 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
91163
91164 for ac_func in fmodl
91165 do
91166 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
91167 echo "$as_me:$LINENO: checking for $ac_func" >&5
91168 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
91169 if eval "test \"\${$as_ac_var+set}\" = set"; then
91170 echo $ECHO_N "(cached) $ECHO_C" >&6
91171 else
91172 if test x$gcc_no_link = xyes; then
91173 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
91174 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
91175 { (exit 1); exit 1; }; }
91176 fi
91177 cat >conftest.$ac_ext <<_ACEOF
91178 /* confdefs.h. */
91179 _ACEOF
91180 cat confdefs.h >>conftest.$ac_ext
91181 cat >>conftest.$ac_ext <<_ACEOF
91182 /* end confdefs.h. */
91183 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
91184 For example, HP-UX 11i <limits.h> declares gettimeofday. */
91185 #define $ac_func innocuous_$ac_func
91186
91187 /* System header to define __stub macros and hopefully few prototypes,
91188 which can conflict with char $ac_func (); below.
91189 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
91190 <limits.h> exists even on freestanding compilers. */
91191
91192 #ifdef __STDC__
91193 # include <limits.h>
91194 #else
91195 # include <assert.h>
91196 #endif
91197
91198 #undef $ac_func
91199
91200 /* Override any gcc2 internal prototype to avoid an error. */
91201 #ifdef __cplusplus
91202 extern "C"
91203 {
91204 #endif
91205 /* We use char because int might match the return type of a gcc2
91206 builtin and then its argument prototype would still apply. */
91207 char $ac_func ();
91208 /* The GNU C library defines this for functions which it implements
91209 to always fail with ENOSYS. Some functions are actually named
91210 something starting with __ and the normal name is an alias. */
91211 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
91212 choke me
91213 #else
91214 char (*f) () = $ac_func;
91215 #endif
91216 #ifdef __cplusplus
91217 }
91218 #endif
91219
91220 int
91221 main ()
91222 {
91223 return f != $ac_func;
91224 ;
91225 return 0;
91226 }
91227 _ACEOF
91228 rm -f conftest.$ac_objext conftest$ac_exeext
91229 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
91230 (eval $ac_link) 2>conftest.er1
91231 ac_status=$?
91232 grep -v '^ *+' conftest.er1 >conftest.err
91233 rm -f conftest.er1
91234 cat conftest.err >&5
91235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91236 (exit $ac_status); } &&
91237 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
91238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91239 (eval $ac_try) 2>&5
91240 ac_status=$?
91241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91242 (exit $ac_status); }; } &&
91243 { ac_try='test -s conftest$ac_exeext'
91244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91245 (eval $ac_try) 2>&5
91246 ac_status=$?
91247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91248 (exit $ac_status); }; }; then
91249 eval "$as_ac_var=yes"
91250 else
91251 echo "$as_me: failed program was:" >&5
91252 sed 's/^/| /' conftest.$ac_ext >&5
91253
91254 eval "$as_ac_var=no"
91255 fi
91256 rm -f conftest.err conftest.$ac_objext \
91257 conftest$ac_exeext conftest.$ac_ext
91258 fi
91259 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
91260 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
91261 if test `eval echo '${'$as_ac_var'}'` = yes; then
91262 cat >>confdefs.h <<_ACEOF
91263 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
91264 _ACEOF
91265
91266 fi
91267 done
91268
91269 else
91270
91271 echo "$as_me:$LINENO: checking for _fmodl declaration" >&5
91272 echo $ECHO_N "checking for _fmodl declaration... $ECHO_C" >&6
91273 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
91274 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then
91275 echo $ECHO_N "(cached) $ECHO_C" >&6
91276 else
91277
91278
91279
91280 ac_ext=cc
91281 ac_cpp='$CXXCPP $CPPFLAGS'
91282 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91283 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91284 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
91285
91286 cat >conftest.$ac_ext <<_ACEOF
91287 /* confdefs.h. */
91288 _ACEOF
91289 cat confdefs.h >>conftest.$ac_ext
91290 cat >>conftest.$ac_ext <<_ACEOF
91291 /* end confdefs.h. */
91292 #include <math.h>
91293 int
91294 main ()
91295 {
91296 _fmodl(0, 0);
91297 ;
91298 return 0;
91299 }
91300 _ACEOF
91301 rm -f conftest.$ac_objext
91302 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
91303 (eval $ac_compile) 2>conftest.er1
91304 ac_status=$?
91305 grep -v '^ *+' conftest.er1 >conftest.err
91306 rm -f conftest.er1
91307 cat conftest.err >&5
91308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91309 (exit $ac_status); } &&
91310 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
91311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91312 (eval $ac_try) 2>&5
91313 ac_status=$?
91314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91315 (exit $ac_status); }; } &&
91316 { ac_try='test -s conftest.$ac_objext'
91317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91318 (eval $ac_try) 2>&5
91319 ac_status=$?
91320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91321 (exit $ac_status); }; }; then
91322 glibcxx_cv_func__fmodl_use=yes
91323 else
91324 echo "$as_me: failed program was:" >&5
91325 sed 's/^/| /' conftest.$ac_ext >&5
91326
91327 glibcxx_cv_func__fmodl_use=no
91328 fi
91329 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
91330 ac_ext=c
91331 ac_cpp='$CPP $CPPFLAGS'
91332 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91333 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91334 ac_compiler_gnu=$ac_cv_c_compiler_gnu
91335
91336
91337 fi
91338
91339 fi
91340 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodl_use" >&5
91341 echo "${ECHO_T}$glibcxx_cv_func__fmodl_use" >&6
91342
91343 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
91344
91345 for ac_func in _fmodl
91346 do
91347 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
91348 echo "$as_me:$LINENO: checking for $ac_func" >&5
91349 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
91350 if eval "test \"\${$as_ac_var+set}\" = set"; then
91351 echo $ECHO_N "(cached) $ECHO_C" >&6
91352 else
91353 if test x$gcc_no_link = xyes; then
91354 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
91355 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
91356 { (exit 1); exit 1; }; }
91357 fi
91358 cat >conftest.$ac_ext <<_ACEOF
91359 /* confdefs.h. */
91360 _ACEOF
91361 cat confdefs.h >>conftest.$ac_ext
91362 cat >>conftest.$ac_ext <<_ACEOF
91363 /* end confdefs.h. */
91364 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
91365 For example, HP-UX 11i <limits.h> declares gettimeofday. */
91366 #define $ac_func innocuous_$ac_func
91367
91368 /* System header to define __stub macros and hopefully few prototypes,
91369 which can conflict with char $ac_func (); below.
91370 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
91371 <limits.h> exists even on freestanding compilers. */
91372
91373 #ifdef __STDC__
91374 # include <limits.h>
91375 #else
91376 # include <assert.h>
91377 #endif
91378
91379 #undef $ac_func
91380
91381 /* Override any gcc2 internal prototype to avoid an error. */
91382 #ifdef __cplusplus
91383 extern "C"
91384 {
91385 #endif
91386 /* We use char because int might match the return type of a gcc2
91387 builtin and then its argument prototype would still apply. */
91388 char $ac_func ();
91389 /* The GNU C library defines this for functions which it implements
91390 to always fail with ENOSYS. Some functions are actually named
91391 something starting with __ and the normal name is an alias. */
91392 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
91393 choke me
91394 #else
91395 char (*f) () = $ac_func;
91396 #endif
91397 #ifdef __cplusplus
91398 }
91399 #endif
91400
91401 int
91402 main ()
91403 {
91404 return f != $ac_func;
91405 ;
91406 return 0;
91407 }
91408 _ACEOF
91409 rm -f conftest.$ac_objext conftest$ac_exeext
91410 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
91411 (eval $ac_link) 2>conftest.er1
91412 ac_status=$?
91413 grep -v '^ *+' conftest.er1 >conftest.err
91414 rm -f conftest.er1
91415 cat conftest.err >&5
91416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91417 (exit $ac_status); } &&
91418 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
91419 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91420 (eval $ac_try) 2>&5
91421 ac_status=$?
91422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91423 (exit $ac_status); }; } &&
91424 { ac_try='test -s conftest$ac_exeext'
91425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91426 (eval $ac_try) 2>&5
91427 ac_status=$?
91428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91429 (exit $ac_status); }; }; then
91430 eval "$as_ac_var=yes"
91431 else
91432 echo "$as_me: failed program was:" >&5
91433 sed 's/^/| /' conftest.$ac_ext >&5
91434
91435 eval "$as_ac_var=no"
91436 fi
91437 rm -f conftest.err conftest.$ac_objext \
91438 conftest$ac_exeext conftest.$ac_ext
91439 fi
91440 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
91441 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
91442 if test `eval echo '${'$as_ac_var'}'` = yes; then
91443 cat >>confdefs.h <<_ACEOF
91444 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
91445 _ACEOF
91446
91447 fi
91448 done
91449
91450 fi
91451 fi
91452
91453
91454
91455
91456
91457
91458 echo "$as_me:$LINENO: checking for frexpl declaration" >&5
91459 echo $ECHO_N "checking for frexpl declaration... $ECHO_C" >&6
91460 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
91461 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then
91462 echo $ECHO_N "(cached) $ECHO_C" >&6
91463 else
91464
91465
91466
91467 ac_ext=cc
91468 ac_cpp='$CXXCPP $CPPFLAGS'
91469 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91470 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91471 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
91472
91473 cat >conftest.$ac_ext <<_ACEOF
91474 /* confdefs.h. */
91475 _ACEOF
91476 cat confdefs.h >>conftest.$ac_ext
91477 cat >>conftest.$ac_ext <<_ACEOF
91478 /* end confdefs.h. */
91479 #include <math.h>
91480 int
91481 main ()
91482 {
91483 frexpl(0, 0);
91484 ;
91485 return 0;
91486 }
91487 _ACEOF
91488 rm -f conftest.$ac_objext
91489 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
91490 (eval $ac_compile) 2>conftest.er1
91491 ac_status=$?
91492 grep -v '^ *+' conftest.er1 >conftest.err
91493 rm -f conftest.er1
91494 cat conftest.err >&5
91495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91496 (exit $ac_status); } &&
91497 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
91498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91499 (eval $ac_try) 2>&5
91500 ac_status=$?
91501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91502 (exit $ac_status); }; } &&
91503 { ac_try='test -s conftest.$ac_objext'
91504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91505 (eval $ac_try) 2>&5
91506 ac_status=$?
91507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91508 (exit $ac_status); }; }; then
91509 glibcxx_cv_func_frexpl_use=yes
91510 else
91511 echo "$as_me: failed program was:" >&5
91512 sed 's/^/| /' conftest.$ac_ext >&5
91513
91514 glibcxx_cv_func_frexpl_use=no
91515 fi
91516 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
91517 ac_ext=c
91518 ac_cpp='$CPP $CPPFLAGS'
91519 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91520 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91521 ac_compiler_gnu=$ac_cv_c_compiler_gnu
91522
91523
91524 fi
91525
91526 fi
91527 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpl_use" >&5
91528 echo "${ECHO_T}$glibcxx_cv_func_frexpl_use" >&6
91529
91530 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
91531
91532 for ac_func in frexpl
91533 do
91534 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
91535 echo "$as_me:$LINENO: checking for $ac_func" >&5
91536 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
91537 if eval "test \"\${$as_ac_var+set}\" = set"; then
91538 echo $ECHO_N "(cached) $ECHO_C" >&6
91539 else
91540 if test x$gcc_no_link = xyes; then
91541 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
91542 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
91543 { (exit 1); exit 1; }; }
91544 fi
91545 cat >conftest.$ac_ext <<_ACEOF
91546 /* confdefs.h. */
91547 _ACEOF
91548 cat confdefs.h >>conftest.$ac_ext
91549 cat >>conftest.$ac_ext <<_ACEOF
91550 /* end confdefs.h. */
91551 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
91552 For example, HP-UX 11i <limits.h> declares gettimeofday. */
91553 #define $ac_func innocuous_$ac_func
91554
91555 /* System header to define __stub macros and hopefully few prototypes,
91556 which can conflict with char $ac_func (); below.
91557 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
91558 <limits.h> exists even on freestanding compilers. */
91559
91560 #ifdef __STDC__
91561 # include <limits.h>
91562 #else
91563 # include <assert.h>
91564 #endif
91565
91566 #undef $ac_func
91567
91568 /* Override any gcc2 internal prototype to avoid an error. */
91569 #ifdef __cplusplus
91570 extern "C"
91571 {
91572 #endif
91573 /* We use char because int might match the return type of a gcc2
91574 builtin and then its argument prototype would still apply. */
91575 char $ac_func ();
91576 /* The GNU C library defines this for functions which it implements
91577 to always fail with ENOSYS. Some functions are actually named
91578 something starting with __ and the normal name is an alias. */
91579 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
91580 choke me
91581 #else
91582 char (*f) () = $ac_func;
91583 #endif
91584 #ifdef __cplusplus
91585 }
91586 #endif
91587
91588 int
91589 main ()
91590 {
91591 return f != $ac_func;
91592 ;
91593 return 0;
91594 }
91595 _ACEOF
91596 rm -f conftest.$ac_objext conftest$ac_exeext
91597 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
91598 (eval $ac_link) 2>conftest.er1
91599 ac_status=$?
91600 grep -v '^ *+' conftest.er1 >conftest.err
91601 rm -f conftest.er1
91602 cat conftest.err >&5
91603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91604 (exit $ac_status); } &&
91605 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
91606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91607 (eval $ac_try) 2>&5
91608 ac_status=$?
91609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91610 (exit $ac_status); }; } &&
91611 { ac_try='test -s conftest$ac_exeext'
91612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91613 (eval $ac_try) 2>&5
91614 ac_status=$?
91615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91616 (exit $ac_status); }; }; then
91617 eval "$as_ac_var=yes"
91618 else
91619 echo "$as_me: failed program was:" >&5
91620 sed 's/^/| /' conftest.$ac_ext >&5
91621
91622 eval "$as_ac_var=no"
91623 fi
91624 rm -f conftest.err conftest.$ac_objext \
91625 conftest$ac_exeext conftest.$ac_ext
91626 fi
91627 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
91628 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
91629 if test `eval echo '${'$as_ac_var'}'` = yes; then
91630 cat >>confdefs.h <<_ACEOF
91631 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
91632 _ACEOF
91633
91634 fi
91635 done
91636
91637 else
91638
91639 echo "$as_me:$LINENO: checking for _frexpl declaration" >&5
91640 echo $ECHO_N "checking for _frexpl declaration... $ECHO_C" >&6
91641 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
91642 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then
91643 echo $ECHO_N "(cached) $ECHO_C" >&6
91644 else
91645
91646
91647
91648 ac_ext=cc
91649 ac_cpp='$CXXCPP $CPPFLAGS'
91650 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91651 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91652 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
91653
91654 cat >conftest.$ac_ext <<_ACEOF
91655 /* confdefs.h. */
91656 _ACEOF
91657 cat confdefs.h >>conftest.$ac_ext
91658 cat >>conftest.$ac_ext <<_ACEOF
91659 /* end confdefs.h. */
91660 #include <math.h>
91661 int
91662 main ()
91663 {
91664 _frexpl(0, 0);
91665 ;
91666 return 0;
91667 }
91668 _ACEOF
91669 rm -f conftest.$ac_objext
91670 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
91671 (eval $ac_compile) 2>conftest.er1
91672 ac_status=$?
91673 grep -v '^ *+' conftest.er1 >conftest.err
91674 rm -f conftest.er1
91675 cat conftest.err >&5
91676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91677 (exit $ac_status); } &&
91678 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
91679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91680 (eval $ac_try) 2>&5
91681 ac_status=$?
91682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91683 (exit $ac_status); }; } &&
91684 { ac_try='test -s conftest.$ac_objext'
91685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91686 (eval $ac_try) 2>&5
91687 ac_status=$?
91688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91689 (exit $ac_status); }; }; then
91690 glibcxx_cv_func__frexpl_use=yes
91691 else
91692 echo "$as_me: failed program was:" >&5
91693 sed 's/^/| /' conftest.$ac_ext >&5
91694
91695 glibcxx_cv_func__frexpl_use=no
91696 fi
91697 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
91698 ac_ext=c
91699 ac_cpp='$CPP $CPPFLAGS'
91700 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91701 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91702 ac_compiler_gnu=$ac_cv_c_compiler_gnu
91703
91704
91705 fi
91706
91707 fi
91708 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpl_use" >&5
91709 echo "${ECHO_T}$glibcxx_cv_func__frexpl_use" >&6
91710
91711 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
91712
91713 for ac_func in _frexpl
91714 do
91715 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
91716 echo "$as_me:$LINENO: checking for $ac_func" >&5
91717 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
91718 if eval "test \"\${$as_ac_var+set}\" = set"; then
91719 echo $ECHO_N "(cached) $ECHO_C" >&6
91720 else
91721 if test x$gcc_no_link = xyes; then
91722 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
91723 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
91724 { (exit 1); exit 1; }; }
91725 fi
91726 cat >conftest.$ac_ext <<_ACEOF
91727 /* confdefs.h. */
91728 _ACEOF
91729 cat confdefs.h >>conftest.$ac_ext
91730 cat >>conftest.$ac_ext <<_ACEOF
91731 /* end confdefs.h. */
91732 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
91733 For example, HP-UX 11i <limits.h> declares gettimeofday. */
91734 #define $ac_func innocuous_$ac_func
91735
91736 /* System header to define __stub macros and hopefully few prototypes,
91737 which can conflict with char $ac_func (); below.
91738 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
91739 <limits.h> exists even on freestanding compilers. */
91740
91741 #ifdef __STDC__
91742 # include <limits.h>
91743 #else
91744 # include <assert.h>
91745 #endif
91746
91747 #undef $ac_func
91748
91749 /* Override any gcc2 internal prototype to avoid an error. */
91750 #ifdef __cplusplus
91751 extern "C"
91752 {
91753 #endif
91754 /* We use char because int might match the return type of a gcc2
91755 builtin and then its argument prototype would still apply. */
91756 char $ac_func ();
91757 /* The GNU C library defines this for functions which it implements
91758 to always fail with ENOSYS. Some functions are actually named
91759 something starting with __ and the normal name is an alias. */
91760 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
91761 choke me
91762 #else
91763 char (*f) () = $ac_func;
91764 #endif
91765 #ifdef __cplusplus
91766 }
91767 #endif
91768
91769 int
91770 main ()
91771 {
91772 return f != $ac_func;
91773 ;
91774 return 0;
91775 }
91776 _ACEOF
91777 rm -f conftest.$ac_objext conftest$ac_exeext
91778 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
91779 (eval $ac_link) 2>conftest.er1
91780 ac_status=$?
91781 grep -v '^ *+' conftest.er1 >conftest.err
91782 rm -f conftest.er1
91783 cat conftest.err >&5
91784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91785 (exit $ac_status); } &&
91786 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
91787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91788 (eval $ac_try) 2>&5
91789 ac_status=$?
91790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91791 (exit $ac_status); }; } &&
91792 { ac_try='test -s conftest$ac_exeext'
91793 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91794 (eval $ac_try) 2>&5
91795 ac_status=$?
91796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91797 (exit $ac_status); }; }; then
91798 eval "$as_ac_var=yes"
91799 else
91800 echo "$as_me: failed program was:" >&5
91801 sed 's/^/| /' conftest.$ac_ext >&5
91802
91803 eval "$as_ac_var=no"
91804 fi
91805 rm -f conftest.err conftest.$ac_objext \
91806 conftest$ac_exeext conftest.$ac_ext
91807 fi
91808 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
91809 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
91810 if test `eval echo '${'$as_ac_var'}'` = yes; then
91811 cat >>confdefs.h <<_ACEOF
91812 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
91813 _ACEOF
91814
91815 fi
91816 done
91817
91818 fi
91819 fi
91820
91821
91822
91823
91824
91825
91826 echo "$as_me:$LINENO: checking for hypotl declaration" >&5
91827 echo $ECHO_N "checking for hypotl declaration... $ECHO_C" >&6
91828 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
91829 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then
91830 echo $ECHO_N "(cached) $ECHO_C" >&6
91831 else
91832
91833
91834
91835 ac_ext=cc
91836 ac_cpp='$CXXCPP $CPPFLAGS'
91837 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91838 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91839 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
91840
91841 cat >conftest.$ac_ext <<_ACEOF
91842 /* confdefs.h. */
91843 _ACEOF
91844 cat confdefs.h >>conftest.$ac_ext
91845 cat >>conftest.$ac_ext <<_ACEOF
91846 /* end confdefs.h. */
91847 #include <math.h>
91848 int
91849 main ()
91850 {
91851 hypotl(0, 0);
91852 ;
91853 return 0;
91854 }
91855 _ACEOF
91856 rm -f conftest.$ac_objext
91857 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
91858 (eval $ac_compile) 2>conftest.er1
91859 ac_status=$?
91860 grep -v '^ *+' conftest.er1 >conftest.err
91861 rm -f conftest.er1
91862 cat conftest.err >&5
91863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91864 (exit $ac_status); } &&
91865 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
91866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91867 (eval $ac_try) 2>&5
91868 ac_status=$?
91869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91870 (exit $ac_status); }; } &&
91871 { ac_try='test -s conftest.$ac_objext'
91872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91873 (eval $ac_try) 2>&5
91874 ac_status=$?
91875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91876 (exit $ac_status); }; }; then
91877 glibcxx_cv_func_hypotl_use=yes
91878 else
91879 echo "$as_me: failed program was:" >&5
91880 sed 's/^/| /' conftest.$ac_ext >&5
91881
91882 glibcxx_cv_func_hypotl_use=no
91883 fi
91884 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
91885 ac_ext=c
91886 ac_cpp='$CPP $CPPFLAGS'
91887 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91888 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91889 ac_compiler_gnu=$ac_cv_c_compiler_gnu
91890
91891
91892 fi
91893
91894 fi
91895 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotl_use" >&5
91896 echo "${ECHO_T}$glibcxx_cv_func_hypotl_use" >&6
91897
91898 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
91899
91900 for ac_func in hypotl
91901 do
91902 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
91903 echo "$as_me:$LINENO: checking for $ac_func" >&5
91904 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
91905 if eval "test \"\${$as_ac_var+set}\" = set"; then
91906 echo $ECHO_N "(cached) $ECHO_C" >&6
91907 else
91908 if test x$gcc_no_link = xyes; then
91909 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
91910 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
91911 { (exit 1); exit 1; }; }
91912 fi
91913 cat >conftest.$ac_ext <<_ACEOF
91914 /* confdefs.h. */
91915 _ACEOF
91916 cat confdefs.h >>conftest.$ac_ext
91917 cat >>conftest.$ac_ext <<_ACEOF
91918 /* end confdefs.h. */
91919 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
91920 For example, HP-UX 11i <limits.h> declares gettimeofday. */
91921 #define $ac_func innocuous_$ac_func
91922
91923 /* System header to define __stub macros and hopefully few prototypes,
91924 which can conflict with char $ac_func (); below.
91925 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
91926 <limits.h> exists even on freestanding compilers. */
91927
91928 #ifdef __STDC__
91929 # include <limits.h>
91930 #else
91931 # include <assert.h>
91932 #endif
91933
91934 #undef $ac_func
91935
91936 /* Override any gcc2 internal prototype to avoid an error. */
91937 #ifdef __cplusplus
91938 extern "C"
91939 {
91940 #endif
91941 /* We use char because int might match the return type of a gcc2
91942 builtin and then its argument prototype would still apply. */
91943 char $ac_func ();
91944 /* The GNU C library defines this for functions which it implements
91945 to always fail with ENOSYS. Some functions are actually named
91946 something starting with __ and the normal name is an alias. */
91947 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
91948 choke me
91949 #else
91950 char (*f) () = $ac_func;
91951 #endif
91952 #ifdef __cplusplus
91953 }
91954 #endif
91955
91956 int
91957 main ()
91958 {
91959 return f != $ac_func;
91960 ;
91961 return 0;
91962 }
91963 _ACEOF
91964 rm -f conftest.$ac_objext conftest$ac_exeext
91965 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
91966 (eval $ac_link) 2>conftest.er1
91967 ac_status=$?
91968 grep -v '^ *+' conftest.er1 >conftest.err
91969 rm -f conftest.er1
91970 cat conftest.err >&5
91971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91972 (exit $ac_status); } &&
91973 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
91974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91975 (eval $ac_try) 2>&5
91976 ac_status=$?
91977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91978 (exit $ac_status); }; } &&
91979 { ac_try='test -s conftest$ac_exeext'
91980 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91981 (eval $ac_try) 2>&5
91982 ac_status=$?
91983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91984 (exit $ac_status); }; }; then
91985 eval "$as_ac_var=yes"
91986 else
91987 echo "$as_me: failed program was:" >&5
91988 sed 's/^/| /' conftest.$ac_ext >&5
91989
91990 eval "$as_ac_var=no"
91991 fi
91992 rm -f conftest.err conftest.$ac_objext \
91993 conftest$ac_exeext conftest.$ac_ext
91994 fi
91995 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
91996 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
91997 if test `eval echo '${'$as_ac_var'}'` = yes; then
91998 cat >>confdefs.h <<_ACEOF
91999 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
92000 _ACEOF
92001
92002 fi
92003 done
92004
92005 else
92006
92007 echo "$as_me:$LINENO: checking for _hypotl declaration" >&5
92008 echo $ECHO_N "checking for _hypotl declaration... $ECHO_C" >&6
92009 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
92010 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then
92011 echo $ECHO_N "(cached) $ECHO_C" >&6
92012 else
92013
92014
92015
92016 ac_ext=cc
92017 ac_cpp='$CXXCPP $CPPFLAGS'
92018 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92019 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92020 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
92021
92022 cat >conftest.$ac_ext <<_ACEOF
92023 /* confdefs.h. */
92024 _ACEOF
92025 cat confdefs.h >>conftest.$ac_ext
92026 cat >>conftest.$ac_ext <<_ACEOF
92027 /* end confdefs.h. */
92028 #include <math.h>
92029 int
92030 main ()
92031 {
92032 _hypotl(0, 0);
92033 ;
92034 return 0;
92035 }
92036 _ACEOF
92037 rm -f conftest.$ac_objext
92038 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
92039 (eval $ac_compile) 2>conftest.er1
92040 ac_status=$?
92041 grep -v '^ *+' conftest.er1 >conftest.err
92042 rm -f conftest.er1
92043 cat conftest.err >&5
92044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92045 (exit $ac_status); } &&
92046 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
92047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92048 (eval $ac_try) 2>&5
92049 ac_status=$?
92050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92051 (exit $ac_status); }; } &&
92052 { ac_try='test -s conftest.$ac_objext'
92053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92054 (eval $ac_try) 2>&5
92055 ac_status=$?
92056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92057 (exit $ac_status); }; }; then
92058 glibcxx_cv_func__hypotl_use=yes
92059 else
92060 echo "$as_me: failed program was:" >&5
92061 sed 's/^/| /' conftest.$ac_ext >&5
92062
92063 glibcxx_cv_func__hypotl_use=no
92064 fi
92065 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
92066 ac_ext=c
92067 ac_cpp='$CPP $CPPFLAGS'
92068 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92069 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92070 ac_compiler_gnu=$ac_cv_c_compiler_gnu
92071
92072
92073 fi
92074
92075 fi
92076 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotl_use" >&5
92077 echo "${ECHO_T}$glibcxx_cv_func__hypotl_use" >&6
92078
92079 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
92080
92081 for ac_func in _hypotl
92082 do
92083 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
92084 echo "$as_me:$LINENO: checking for $ac_func" >&5
92085 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
92086 if eval "test \"\${$as_ac_var+set}\" = set"; then
92087 echo $ECHO_N "(cached) $ECHO_C" >&6
92088 else
92089 if test x$gcc_no_link = xyes; then
92090 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
92091 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
92092 { (exit 1); exit 1; }; }
92093 fi
92094 cat >conftest.$ac_ext <<_ACEOF
92095 /* confdefs.h. */
92096 _ACEOF
92097 cat confdefs.h >>conftest.$ac_ext
92098 cat >>conftest.$ac_ext <<_ACEOF
92099 /* end confdefs.h. */
92100 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
92101 For example, HP-UX 11i <limits.h> declares gettimeofday. */
92102 #define $ac_func innocuous_$ac_func
92103
92104 /* System header to define __stub macros and hopefully few prototypes,
92105 which can conflict with char $ac_func (); below.
92106 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
92107 <limits.h> exists even on freestanding compilers. */
92108
92109 #ifdef __STDC__
92110 # include <limits.h>
92111 #else
92112 # include <assert.h>
92113 #endif
92114
92115 #undef $ac_func
92116
92117 /* Override any gcc2 internal prototype to avoid an error. */
92118 #ifdef __cplusplus
92119 extern "C"
92120 {
92121 #endif
92122 /* We use char because int might match the return type of a gcc2
92123 builtin and then its argument prototype would still apply. */
92124 char $ac_func ();
92125 /* The GNU C library defines this for functions which it implements
92126 to always fail with ENOSYS. Some functions are actually named
92127 something starting with __ and the normal name is an alias. */
92128 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
92129 choke me
92130 #else
92131 char (*f) () = $ac_func;
92132 #endif
92133 #ifdef __cplusplus
92134 }
92135 #endif
92136
92137 int
92138 main ()
92139 {
92140 return f != $ac_func;
92141 ;
92142 return 0;
92143 }
92144 _ACEOF
92145 rm -f conftest.$ac_objext conftest$ac_exeext
92146 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
92147 (eval $ac_link) 2>conftest.er1
92148 ac_status=$?
92149 grep -v '^ *+' conftest.er1 >conftest.err
92150 rm -f conftest.er1
92151 cat conftest.err >&5
92152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92153 (exit $ac_status); } &&
92154 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
92155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92156 (eval $ac_try) 2>&5
92157 ac_status=$?
92158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92159 (exit $ac_status); }; } &&
92160 { ac_try='test -s conftest$ac_exeext'
92161 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92162 (eval $ac_try) 2>&5
92163 ac_status=$?
92164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92165 (exit $ac_status); }; }; then
92166 eval "$as_ac_var=yes"
92167 else
92168 echo "$as_me: failed program was:" >&5
92169 sed 's/^/| /' conftest.$ac_ext >&5
92170
92171 eval "$as_ac_var=no"
92172 fi
92173 rm -f conftest.err conftest.$ac_objext \
92174 conftest$ac_exeext conftest.$ac_ext
92175 fi
92176 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
92177 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
92178 if test `eval echo '${'$as_ac_var'}'` = yes; then
92179 cat >>confdefs.h <<_ACEOF
92180 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
92181 _ACEOF
92182
92183 fi
92184 done
92185
92186 fi
92187 fi
92188
92189
92190
92191
92192
92193
92194 echo "$as_me:$LINENO: checking for ldexpl declaration" >&5
92195 echo $ECHO_N "checking for ldexpl declaration... $ECHO_C" >&6
92196 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
92197 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then
92198 echo $ECHO_N "(cached) $ECHO_C" >&6
92199 else
92200
92201
92202
92203 ac_ext=cc
92204 ac_cpp='$CXXCPP $CPPFLAGS'
92205 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92206 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92207 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
92208
92209 cat >conftest.$ac_ext <<_ACEOF
92210 /* confdefs.h. */
92211 _ACEOF
92212 cat confdefs.h >>conftest.$ac_ext
92213 cat >>conftest.$ac_ext <<_ACEOF
92214 /* end confdefs.h. */
92215 #include <math.h>
92216 int
92217 main ()
92218 {
92219 ldexpl(0, 0);
92220 ;
92221 return 0;
92222 }
92223 _ACEOF
92224 rm -f conftest.$ac_objext
92225 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
92226 (eval $ac_compile) 2>conftest.er1
92227 ac_status=$?
92228 grep -v '^ *+' conftest.er1 >conftest.err
92229 rm -f conftest.er1
92230 cat conftest.err >&5
92231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92232 (exit $ac_status); } &&
92233 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
92234 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92235 (eval $ac_try) 2>&5
92236 ac_status=$?
92237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92238 (exit $ac_status); }; } &&
92239 { ac_try='test -s conftest.$ac_objext'
92240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92241 (eval $ac_try) 2>&5
92242 ac_status=$?
92243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92244 (exit $ac_status); }; }; then
92245 glibcxx_cv_func_ldexpl_use=yes
92246 else
92247 echo "$as_me: failed program was:" >&5
92248 sed 's/^/| /' conftest.$ac_ext >&5
92249
92250 glibcxx_cv_func_ldexpl_use=no
92251 fi
92252 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
92253 ac_ext=c
92254 ac_cpp='$CPP $CPPFLAGS'
92255 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92256 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92257 ac_compiler_gnu=$ac_cv_c_compiler_gnu
92258
92259
92260 fi
92261
92262 fi
92263 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpl_use" >&5
92264 echo "${ECHO_T}$glibcxx_cv_func_ldexpl_use" >&6
92265
92266 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
92267
92268 for ac_func in ldexpl
92269 do
92270 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
92271 echo "$as_me:$LINENO: checking for $ac_func" >&5
92272 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
92273 if eval "test \"\${$as_ac_var+set}\" = set"; then
92274 echo $ECHO_N "(cached) $ECHO_C" >&6
92275 else
92276 if test x$gcc_no_link = xyes; then
92277 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
92278 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
92279 { (exit 1); exit 1; }; }
92280 fi
92281 cat >conftest.$ac_ext <<_ACEOF
92282 /* confdefs.h. */
92283 _ACEOF
92284 cat confdefs.h >>conftest.$ac_ext
92285 cat >>conftest.$ac_ext <<_ACEOF
92286 /* end confdefs.h. */
92287 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
92288 For example, HP-UX 11i <limits.h> declares gettimeofday. */
92289 #define $ac_func innocuous_$ac_func
92290
92291 /* System header to define __stub macros and hopefully few prototypes,
92292 which can conflict with char $ac_func (); below.
92293 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
92294 <limits.h> exists even on freestanding compilers. */
92295
92296 #ifdef __STDC__
92297 # include <limits.h>
92298 #else
92299 # include <assert.h>
92300 #endif
92301
92302 #undef $ac_func
92303
92304 /* Override any gcc2 internal prototype to avoid an error. */
92305 #ifdef __cplusplus
92306 extern "C"
92307 {
92308 #endif
92309 /* We use char because int might match the return type of a gcc2
92310 builtin and then its argument prototype would still apply. */
92311 char $ac_func ();
92312 /* The GNU C library defines this for functions which it implements
92313 to always fail with ENOSYS. Some functions are actually named
92314 something starting with __ and the normal name is an alias. */
92315 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
92316 choke me
92317 #else
92318 char (*f) () = $ac_func;
92319 #endif
92320 #ifdef __cplusplus
92321 }
92322 #endif
92323
92324 int
92325 main ()
92326 {
92327 return f != $ac_func;
92328 ;
92329 return 0;
92330 }
92331 _ACEOF
92332 rm -f conftest.$ac_objext conftest$ac_exeext
92333 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
92334 (eval $ac_link) 2>conftest.er1
92335 ac_status=$?
92336 grep -v '^ *+' conftest.er1 >conftest.err
92337 rm -f conftest.er1
92338 cat conftest.err >&5
92339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92340 (exit $ac_status); } &&
92341 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
92342 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92343 (eval $ac_try) 2>&5
92344 ac_status=$?
92345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92346 (exit $ac_status); }; } &&
92347 { ac_try='test -s conftest$ac_exeext'
92348 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92349 (eval $ac_try) 2>&5
92350 ac_status=$?
92351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92352 (exit $ac_status); }; }; then
92353 eval "$as_ac_var=yes"
92354 else
92355 echo "$as_me: failed program was:" >&5
92356 sed 's/^/| /' conftest.$ac_ext >&5
92357
92358 eval "$as_ac_var=no"
92359 fi
92360 rm -f conftest.err conftest.$ac_objext \
92361 conftest$ac_exeext conftest.$ac_ext
92362 fi
92363 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
92364 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
92365 if test `eval echo '${'$as_ac_var'}'` = yes; then
92366 cat >>confdefs.h <<_ACEOF
92367 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
92368 _ACEOF
92369
92370 fi
92371 done
92372
92373 else
92374
92375 echo "$as_me:$LINENO: checking for _ldexpl declaration" >&5
92376 echo $ECHO_N "checking for _ldexpl declaration... $ECHO_C" >&6
92377 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
92378 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then
92379 echo $ECHO_N "(cached) $ECHO_C" >&6
92380 else
92381
92382
92383
92384 ac_ext=cc
92385 ac_cpp='$CXXCPP $CPPFLAGS'
92386 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92387 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92388 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
92389
92390 cat >conftest.$ac_ext <<_ACEOF
92391 /* confdefs.h. */
92392 _ACEOF
92393 cat confdefs.h >>conftest.$ac_ext
92394 cat >>conftest.$ac_ext <<_ACEOF
92395 /* end confdefs.h. */
92396 #include <math.h>
92397 int
92398 main ()
92399 {
92400 _ldexpl(0, 0);
92401 ;
92402 return 0;
92403 }
92404 _ACEOF
92405 rm -f conftest.$ac_objext
92406 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
92407 (eval $ac_compile) 2>conftest.er1
92408 ac_status=$?
92409 grep -v '^ *+' conftest.er1 >conftest.err
92410 rm -f conftest.er1
92411 cat conftest.err >&5
92412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92413 (exit $ac_status); } &&
92414 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
92415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92416 (eval $ac_try) 2>&5
92417 ac_status=$?
92418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92419 (exit $ac_status); }; } &&
92420 { ac_try='test -s conftest.$ac_objext'
92421 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92422 (eval $ac_try) 2>&5
92423 ac_status=$?
92424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92425 (exit $ac_status); }; }; then
92426 glibcxx_cv_func__ldexpl_use=yes
92427 else
92428 echo "$as_me: failed program was:" >&5
92429 sed 's/^/| /' conftest.$ac_ext >&5
92430
92431 glibcxx_cv_func__ldexpl_use=no
92432 fi
92433 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
92434 ac_ext=c
92435 ac_cpp='$CPP $CPPFLAGS'
92436 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92437 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92438 ac_compiler_gnu=$ac_cv_c_compiler_gnu
92439
92440
92441 fi
92442
92443 fi
92444 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpl_use" >&5
92445 echo "${ECHO_T}$glibcxx_cv_func__ldexpl_use" >&6
92446
92447 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
92448
92449 for ac_func in _ldexpl
92450 do
92451 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
92452 echo "$as_me:$LINENO: checking for $ac_func" >&5
92453 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
92454 if eval "test \"\${$as_ac_var+set}\" = set"; then
92455 echo $ECHO_N "(cached) $ECHO_C" >&6
92456 else
92457 if test x$gcc_no_link = xyes; then
92458 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
92459 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
92460 { (exit 1); exit 1; }; }
92461 fi
92462 cat >conftest.$ac_ext <<_ACEOF
92463 /* confdefs.h. */
92464 _ACEOF
92465 cat confdefs.h >>conftest.$ac_ext
92466 cat >>conftest.$ac_ext <<_ACEOF
92467 /* end confdefs.h. */
92468 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
92469 For example, HP-UX 11i <limits.h> declares gettimeofday. */
92470 #define $ac_func innocuous_$ac_func
92471
92472 /* System header to define __stub macros and hopefully few prototypes,
92473 which can conflict with char $ac_func (); below.
92474 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
92475 <limits.h> exists even on freestanding compilers. */
92476
92477 #ifdef __STDC__
92478 # include <limits.h>
92479 #else
92480 # include <assert.h>
92481 #endif
92482
92483 #undef $ac_func
92484
92485 /* Override any gcc2 internal prototype to avoid an error. */
92486 #ifdef __cplusplus
92487 extern "C"
92488 {
92489 #endif
92490 /* We use char because int might match the return type of a gcc2
92491 builtin and then its argument prototype would still apply. */
92492 char $ac_func ();
92493 /* The GNU C library defines this for functions which it implements
92494 to always fail with ENOSYS. Some functions are actually named
92495 something starting with __ and the normal name is an alias. */
92496 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
92497 choke me
92498 #else
92499 char (*f) () = $ac_func;
92500 #endif
92501 #ifdef __cplusplus
92502 }
92503 #endif
92504
92505 int
92506 main ()
92507 {
92508 return f != $ac_func;
92509 ;
92510 return 0;
92511 }
92512 _ACEOF
92513 rm -f conftest.$ac_objext conftest$ac_exeext
92514 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
92515 (eval $ac_link) 2>conftest.er1
92516 ac_status=$?
92517 grep -v '^ *+' conftest.er1 >conftest.err
92518 rm -f conftest.er1
92519 cat conftest.err >&5
92520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92521 (exit $ac_status); } &&
92522 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
92523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92524 (eval $ac_try) 2>&5
92525 ac_status=$?
92526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92527 (exit $ac_status); }; } &&
92528 { ac_try='test -s conftest$ac_exeext'
92529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92530 (eval $ac_try) 2>&5
92531 ac_status=$?
92532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92533 (exit $ac_status); }; }; then
92534 eval "$as_ac_var=yes"
92535 else
92536 echo "$as_me: failed program was:" >&5
92537 sed 's/^/| /' conftest.$ac_ext >&5
92538
92539 eval "$as_ac_var=no"
92540 fi
92541 rm -f conftest.err conftest.$ac_objext \
92542 conftest$ac_exeext conftest.$ac_ext
92543 fi
92544 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
92545 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
92546 if test `eval echo '${'$as_ac_var'}'` = yes; then
92547 cat >>confdefs.h <<_ACEOF
92548 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
92549 _ACEOF
92550
92551 fi
92552 done
92553
92554 fi
92555 fi
92556
92557
92558
92559
92560
92561
92562 echo "$as_me:$LINENO: checking for logl declaration" >&5
92563 echo $ECHO_N "checking for logl declaration... $ECHO_C" >&6
92564 if test x${glibcxx_cv_func_logl_use+set} != xset; then
92565 if test "${glibcxx_cv_func_logl_use+set}" = set; then
92566 echo $ECHO_N "(cached) $ECHO_C" >&6
92567 else
92568
92569
92570
92571 ac_ext=cc
92572 ac_cpp='$CXXCPP $CPPFLAGS'
92573 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92574 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92575 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
92576
92577 cat >conftest.$ac_ext <<_ACEOF
92578 /* confdefs.h. */
92579 _ACEOF
92580 cat confdefs.h >>conftest.$ac_ext
92581 cat >>conftest.$ac_ext <<_ACEOF
92582 /* end confdefs.h. */
92583 #include <math.h>
92584 #ifdef HAVE_IEEEFP_H
92585 #include <ieeefp.h>
92586 #endif
92587
92588 int
92589 main ()
92590 {
92591 logl(0);
92592 ;
92593 return 0;
92594 }
92595 _ACEOF
92596 rm -f conftest.$ac_objext
92597 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
92598 (eval $ac_compile) 2>conftest.er1
92599 ac_status=$?
92600 grep -v '^ *+' conftest.er1 >conftest.err
92601 rm -f conftest.er1
92602 cat conftest.err >&5
92603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92604 (exit $ac_status); } &&
92605 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
92606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92607 (eval $ac_try) 2>&5
92608 ac_status=$?
92609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92610 (exit $ac_status); }; } &&
92611 { ac_try='test -s conftest.$ac_objext'
92612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92613 (eval $ac_try) 2>&5
92614 ac_status=$?
92615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92616 (exit $ac_status); }; }; then
92617 glibcxx_cv_func_logl_use=yes
92618 else
92619 echo "$as_me: failed program was:" >&5
92620 sed 's/^/| /' conftest.$ac_ext >&5
92621
92622 glibcxx_cv_func_logl_use=no
92623 fi
92624 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
92625 ac_ext=c
92626 ac_cpp='$CPP $CPPFLAGS'
92627 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92628 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92629 ac_compiler_gnu=$ac_cv_c_compiler_gnu
92630
92631
92632 fi
92633
92634 fi
92635 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logl_use" >&5
92636 echo "${ECHO_T}$glibcxx_cv_func_logl_use" >&6
92637
92638 if test x$glibcxx_cv_func_logl_use = x"yes"; then
92639
92640 for ac_func in logl
92641 do
92642 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
92643 echo "$as_me:$LINENO: checking for $ac_func" >&5
92644 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
92645 if eval "test \"\${$as_ac_var+set}\" = set"; then
92646 echo $ECHO_N "(cached) $ECHO_C" >&6
92647 else
92648 if test x$gcc_no_link = xyes; then
92649 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
92650 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
92651 { (exit 1); exit 1; }; }
92652 fi
92653 cat >conftest.$ac_ext <<_ACEOF
92654 /* confdefs.h. */
92655 _ACEOF
92656 cat confdefs.h >>conftest.$ac_ext
92657 cat >>conftest.$ac_ext <<_ACEOF
92658 /* end confdefs.h. */
92659 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
92660 For example, HP-UX 11i <limits.h> declares gettimeofday. */
92661 #define $ac_func innocuous_$ac_func
92662
92663 /* System header to define __stub macros and hopefully few prototypes,
92664 which can conflict with char $ac_func (); below.
92665 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
92666 <limits.h> exists even on freestanding compilers. */
92667
92668 #ifdef __STDC__
92669 # include <limits.h>
92670 #else
92671 # include <assert.h>
92672 #endif
92673
92674 #undef $ac_func
92675
92676 /* Override any gcc2 internal prototype to avoid an error. */
92677 #ifdef __cplusplus
92678 extern "C"
92679 {
92680 #endif
92681 /* We use char because int might match the return type of a gcc2
92682 builtin and then its argument prototype would still apply. */
92683 char $ac_func ();
92684 /* The GNU C library defines this for functions which it implements
92685 to always fail with ENOSYS. Some functions are actually named
92686 something starting with __ and the normal name is an alias. */
92687 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
92688 choke me
92689 #else
92690 char (*f) () = $ac_func;
92691 #endif
92692 #ifdef __cplusplus
92693 }
92694 #endif
92695
92696 int
92697 main ()
92698 {
92699 return f != $ac_func;
92700 ;
92701 return 0;
92702 }
92703 _ACEOF
92704 rm -f conftest.$ac_objext conftest$ac_exeext
92705 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
92706 (eval $ac_link) 2>conftest.er1
92707 ac_status=$?
92708 grep -v '^ *+' conftest.er1 >conftest.err
92709 rm -f conftest.er1
92710 cat conftest.err >&5
92711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92712 (exit $ac_status); } &&
92713 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
92714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92715 (eval $ac_try) 2>&5
92716 ac_status=$?
92717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92718 (exit $ac_status); }; } &&
92719 { ac_try='test -s conftest$ac_exeext'
92720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92721 (eval $ac_try) 2>&5
92722 ac_status=$?
92723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92724 (exit $ac_status); }; }; then
92725 eval "$as_ac_var=yes"
92726 else
92727 echo "$as_me: failed program was:" >&5
92728 sed 's/^/| /' conftest.$ac_ext >&5
92729
92730 eval "$as_ac_var=no"
92731 fi
92732 rm -f conftest.err conftest.$ac_objext \
92733 conftest$ac_exeext conftest.$ac_ext
92734 fi
92735 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
92736 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
92737 if test `eval echo '${'$as_ac_var'}'` = yes; then
92738 cat >>confdefs.h <<_ACEOF
92739 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
92740 _ACEOF
92741
92742 fi
92743 done
92744
92745 else
92746
92747 echo "$as_me:$LINENO: checking for _logl declaration" >&5
92748 echo $ECHO_N "checking for _logl declaration... $ECHO_C" >&6
92749 if test x${glibcxx_cv_func__logl_use+set} != xset; then
92750 if test "${glibcxx_cv_func__logl_use+set}" = set; then
92751 echo $ECHO_N "(cached) $ECHO_C" >&6
92752 else
92753
92754
92755
92756 ac_ext=cc
92757 ac_cpp='$CXXCPP $CPPFLAGS'
92758 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92759 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92760 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
92761
92762 cat >conftest.$ac_ext <<_ACEOF
92763 /* confdefs.h. */
92764 _ACEOF
92765 cat confdefs.h >>conftest.$ac_ext
92766 cat >>conftest.$ac_ext <<_ACEOF
92767 /* end confdefs.h. */
92768 #include <math.h>
92769 #ifdef HAVE_IEEEFP_H
92770 #include <ieeefp.h>
92771 #endif
92772
92773 int
92774 main ()
92775 {
92776 _logl(0);
92777 ;
92778 return 0;
92779 }
92780 _ACEOF
92781 rm -f conftest.$ac_objext
92782 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
92783 (eval $ac_compile) 2>conftest.er1
92784 ac_status=$?
92785 grep -v '^ *+' conftest.er1 >conftest.err
92786 rm -f conftest.er1
92787 cat conftest.err >&5
92788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92789 (exit $ac_status); } &&
92790 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
92791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92792 (eval $ac_try) 2>&5
92793 ac_status=$?
92794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92795 (exit $ac_status); }; } &&
92796 { ac_try='test -s conftest.$ac_objext'
92797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92798 (eval $ac_try) 2>&5
92799 ac_status=$?
92800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92801 (exit $ac_status); }; }; then
92802 glibcxx_cv_func__logl_use=yes
92803 else
92804 echo "$as_me: failed program was:" >&5
92805 sed 's/^/| /' conftest.$ac_ext >&5
92806
92807 glibcxx_cv_func__logl_use=no
92808 fi
92809 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
92810 ac_ext=c
92811 ac_cpp='$CPP $CPPFLAGS'
92812 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92813 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92814 ac_compiler_gnu=$ac_cv_c_compiler_gnu
92815
92816
92817 fi
92818
92819 fi
92820 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logl_use" >&5
92821 echo "${ECHO_T}$glibcxx_cv_func__logl_use" >&6
92822
92823 if test x$glibcxx_cv_func__logl_use = x"yes"; then
92824
92825 for ac_func in _logl
92826 do
92827 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
92828 echo "$as_me:$LINENO: checking for $ac_func" >&5
92829 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
92830 if eval "test \"\${$as_ac_var+set}\" = set"; then
92831 echo $ECHO_N "(cached) $ECHO_C" >&6
92832 else
92833 if test x$gcc_no_link = xyes; then
92834 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
92835 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
92836 { (exit 1); exit 1; }; }
92837 fi
92838 cat >conftest.$ac_ext <<_ACEOF
92839 /* confdefs.h. */
92840 _ACEOF
92841 cat confdefs.h >>conftest.$ac_ext
92842 cat >>conftest.$ac_ext <<_ACEOF
92843 /* end confdefs.h. */
92844 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
92845 For example, HP-UX 11i <limits.h> declares gettimeofday. */
92846 #define $ac_func innocuous_$ac_func
92847
92848 /* System header to define __stub macros and hopefully few prototypes,
92849 which can conflict with char $ac_func (); below.
92850 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
92851 <limits.h> exists even on freestanding compilers. */
92852
92853 #ifdef __STDC__
92854 # include <limits.h>
92855 #else
92856 # include <assert.h>
92857 #endif
92858
92859 #undef $ac_func
92860
92861 /* Override any gcc2 internal prototype to avoid an error. */
92862 #ifdef __cplusplus
92863 extern "C"
92864 {
92865 #endif
92866 /* We use char because int might match the return type of a gcc2
92867 builtin and then its argument prototype would still apply. */
92868 char $ac_func ();
92869 /* The GNU C library defines this for functions which it implements
92870 to always fail with ENOSYS. Some functions are actually named
92871 something starting with __ and the normal name is an alias. */
92872 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
92873 choke me
92874 #else
92875 char (*f) () = $ac_func;
92876 #endif
92877 #ifdef __cplusplus
92878 }
92879 #endif
92880
92881 int
92882 main ()
92883 {
92884 return f != $ac_func;
92885 ;
92886 return 0;
92887 }
92888 _ACEOF
92889 rm -f conftest.$ac_objext conftest$ac_exeext
92890 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
92891 (eval $ac_link) 2>conftest.er1
92892 ac_status=$?
92893 grep -v '^ *+' conftest.er1 >conftest.err
92894 rm -f conftest.er1
92895 cat conftest.err >&5
92896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92897 (exit $ac_status); } &&
92898 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
92899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92900 (eval $ac_try) 2>&5
92901 ac_status=$?
92902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92903 (exit $ac_status); }; } &&
92904 { ac_try='test -s conftest$ac_exeext'
92905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92906 (eval $ac_try) 2>&5
92907 ac_status=$?
92908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92909 (exit $ac_status); }; }; then
92910 eval "$as_ac_var=yes"
92911 else
92912 echo "$as_me: failed program was:" >&5
92913 sed 's/^/| /' conftest.$ac_ext >&5
92914
92915 eval "$as_ac_var=no"
92916 fi
92917 rm -f conftest.err conftest.$ac_objext \
92918 conftest$ac_exeext conftest.$ac_ext
92919 fi
92920 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
92921 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
92922 if test `eval echo '${'$as_ac_var'}'` = yes; then
92923 cat >>confdefs.h <<_ACEOF
92924 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
92925 _ACEOF
92926
92927 fi
92928 done
92929
92930 fi
92931 fi
92932
92933
92934
92935
92936
92937
92938 echo "$as_me:$LINENO: checking for log10l declaration" >&5
92939 echo $ECHO_N "checking for log10l declaration... $ECHO_C" >&6
92940 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
92941 if test "${glibcxx_cv_func_log10l_use+set}" = set; then
92942 echo $ECHO_N "(cached) $ECHO_C" >&6
92943 else
92944
92945
92946
92947 ac_ext=cc
92948 ac_cpp='$CXXCPP $CPPFLAGS'
92949 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92950 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92951 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
92952
92953 cat >conftest.$ac_ext <<_ACEOF
92954 /* confdefs.h. */
92955 _ACEOF
92956 cat confdefs.h >>conftest.$ac_ext
92957 cat >>conftest.$ac_ext <<_ACEOF
92958 /* end confdefs.h. */
92959 #include <math.h>
92960 #ifdef HAVE_IEEEFP_H
92961 #include <ieeefp.h>
92962 #endif
92963
92964 int
92965 main ()
92966 {
92967 log10l(0);
92968 ;
92969 return 0;
92970 }
92971 _ACEOF
92972 rm -f conftest.$ac_objext
92973 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
92974 (eval $ac_compile) 2>conftest.er1
92975 ac_status=$?
92976 grep -v '^ *+' conftest.er1 >conftest.err
92977 rm -f conftest.er1
92978 cat conftest.err >&5
92979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92980 (exit $ac_status); } &&
92981 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
92982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92983 (eval $ac_try) 2>&5
92984 ac_status=$?
92985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92986 (exit $ac_status); }; } &&
92987 { ac_try='test -s conftest.$ac_objext'
92988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92989 (eval $ac_try) 2>&5
92990 ac_status=$?
92991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92992 (exit $ac_status); }; }; then
92993 glibcxx_cv_func_log10l_use=yes
92994 else
92995 echo "$as_me: failed program was:" >&5
92996 sed 's/^/| /' conftest.$ac_ext >&5
92997
92998 glibcxx_cv_func_log10l_use=no
92999 fi
93000 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
93001 ac_ext=c
93002 ac_cpp='$CPP $CPPFLAGS'
93003 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93004 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93005 ac_compiler_gnu=$ac_cv_c_compiler_gnu
93006
93007
93008 fi
93009
93010 fi
93011 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10l_use" >&5
93012 echo "${ECHO_T}$glibcxx_cv_func_log10l_use" >&6
93013
93014 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
93015
93016 for ac_func in log10l
93017 do
93018 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
93019 echo "$as_me:$LINENO: checking for $ac_func" >&5
93020 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
93021 if eval "test \"\${$as_ac_var+set}\" = set"; then
93022 echo $ECHO_N "(cached) $ECHO_C" >&6
93023 else
93024 if test x$gcc_no_link = xyes; then
93025 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
93026 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
93027 { (exit 1); exit 1; }; }
93028 fi
93029 cat >conftest.$ac_ext <<_ACEOF
93030 /* confdefs.h. */
93031 _ACEOF
93032 cat confdefs.h >>conftest.$ac_ext
93033 cat >>conftest.$ac_ext <<_ACEOF
93034 /* end confdefs.h. */
93035 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
93036 For example, HP-UX 11i <limits.h> declares gettimeofday. */
93037 #define $ac_func innocuous_$ac_func
93038
93039 /* System header to define __stub macros and hopefully few prototypes,
93040 which can conflict with char $ac_func (); below.
93041 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
93042 <limits.h> exists even on freestanding compilers. */
93043
93044 #ifdef __STDC__
93045 # include <limits.h>
93046 #else
93047 # include <assert.h>
93048 #endif
93049
93050 #undef $ac_func
93051
93052 /* Override any gcc2 internal prototype to avoid an error. */
93053 #ifdef __cplusplus
93054 extern "C"
93055 {
93056 #endif
93057 /* We use char because int might match the return type of a gcc2
93058 builtin and then its argument prototype would still apply. */
93059 char $ac_func ();
93060 /* The GNU C library defines this for functions which it implements
93061 to always fail with ENOSYS. Some functions are actually named
93062 something starting with __ and the normal name is an alias. */
93063 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
93064 choke me
93065 #else
93066 char (*f) () = $ac_func;
93067 #endif
93068 #ifdef __cplusplus
93069 }
93070 #endif
93071
93072 int
93073 main ()
93074 {
93075 return f != $ac_func;
93076 ;
93077 return 0;
93078 }
93079 _ACEOF
93080 rm -f conftest.$ac_objext conftest$ac_exeext
93081 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
93082 (eval $ac_link) 2>conftest.er1
93083 ac_status=$?
93084 grep -v '^ *+' conftest.er1 >conftest.err
93085 rm -f conftest.er1
93086 cat conftest.err >&5
93087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93088 (exit $ac_status); } &&
93089 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
93090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93091 (eval $ac_try) 2>&5
93092 ac_status=$?
93093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93094 (exit $ac_status); }; } &&
93095 { ac_try='test -s conftest$ac_exeext'
93096 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93097 (eval $ac_try) 2>&5
93098 ac_status=$?
93099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93100 (exit $ac_status); }; }; then
93101 eval "$as_ac_var=yes"
93102 else
93103 echo "$as_me: failed program was:" >&5
93104 sed 's/^/| /' conftest.$ac_ext >&5
93105
93106 eval "$as_ac_var=no"
93107 fi
93108 rm -f conftest.err conftest.$ac_objext \
93109 conftest$ac_exeext conftest.$ac_ext
93110 fi
93111 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
93112 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
93113 if test `eval echo '${'$as_ac_var'}'` = yes; then
93114 cat >>confdefs.h <<_ACEOF
93115 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
93116 _ACEOF
93117
93118 fi
93119 done
93120
93121 else
93122
93123 echo "$as_me:$LINENO: checking for _log10l declaration" >&5
93124 echo $ECHO_N "checking for _log10l declaration... $ECHO_C" >&6
93125 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
93126 if test "${glibcxx_cv_func__log10l_use+set}" = set; then
93127 echo $ECHO_N "(cached) $ECHO_C" >&6
93128 else
93129
93130
93131
93132 ac_ext=cc
93133 ac_cpp='$CXXCPP $CPPFLAGS'
93134 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93135 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93136 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
93137
93138 cat >conftest.$ac_ext <<_ACEOF
93139 /* confdefs.h. */
93140 _ACEOF
93141 cat confdefs.h >>conftest.$ac_ext
93142 cat >>conftest.$ac_ext <<_ACEOF
93143 /* end confdefs.h. */
93144 #include <math.h>
93145 #ifdef HAVE_IEEEFP_H
93146 #include <ieeefp.h>
93147 #endif
93148
93149 int
93150 main ()
93151 {
93152 _log10l(0);
93153 ;
93154 return 0;
93155 }
93156 _ACEOF
93157 rm -f conftest.$ac_objext
93158 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
93159 (eval $ac_compile) 2>conftest.er1
93160 ac_status=$?
93161 grep -v '^ *+' conftest.er1 >conftest.err
93162 rm -f conftest.er1
93163 cat conftest.err >&5
93164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93165 (exit $ac_status); } &&
93166 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
93167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93168 (eval $ac_try) 2>&5
93169 ac_status=$?
93170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93171 (exit $ac_status); }; } &&
93172 { ac_try='test -s conftest.$ac_objext'
93173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93174 (eval $ac_try) 2>&5
93175 ac_status=$?
93176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93177 (exit $ac_status); }; }; then
93178 glibcxx_cv_func__log10l_use=yes
93179 else
93180 echo "$as_me: failed program was:" >&5
93181 sed 's/^/| /' conftest.$ac_ext >&5
93182
93183 glibcxx_cv_func__log10l_use=no
93184 fi
93185 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
93186 ac_ext=c
93187 ac_cpp='$CPP $CPPFLAGS'
93188 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93189 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93190 ac_compiler_gnu=$ac_cv_c_compiler_gnu
93191
93192
93193 fi
93194
93195 fi
93196 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10l_use" >&5
93197 echo "${ECHO_T}$glibcxx_cv_func__log10l_use" >&6
93198
93199 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
93200
93201 for ac_func in _log10l
93202 do
93203 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
93204 echo "$as_me:$LINENO: checking for $ac_func" >&5
93205 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
93206 if eval "test \"\${$as_ac_var+set}\" = set"; then
93207 echo $ECHO_N "(cached) $ECHO_C" >&6
93208 else
93209 if test x$gcc_no_link = xyes; then
93210 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
93211 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
93212 { (exit 1); exit 1; }; }
93213 fi
93214 cat >conftest.$ac_ext <<_ACEOF
93215 /* confdefs.h. */
93216 _ACEOF
93217 cat confdefs.h >>conftest.$ac_ext
93218 cat >>conftest.$ac_ext <<_ACEOF
93219 /* end confdefs.h. */
93220 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
93221 For example, HP-UX 11i <limits.h> declares gettimeofday. */
93222 #define $ac_func innocuous_$ac_func
93223
93224 /* System header to define __stub macros and hopefully few prototypes,
93225 which can conflict with char $ac_func (); below.
93226 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
93227 <limits.h> exists even on freestanding compilers. */
93228
93229 #ifdef __STDC__
93230 # include <limits.h>
93231 #else
93232 # include <assert.h>
93233 #endif
93234
93235 #undef $ac_func
93236
93237 /* Override any gcc2 internal prototype to avoid an error. */
93238 #ifdef __cplusplus
93239 extern "C"
93240 {
93241 #endif
93242 /* We use char because int might match the return type of a gcc2
93243 builtin and then its argument prototype would still apply. */
93244 char $ac_func ();
93245 /* The GNU C library defines this for functions which it implements
93246 to always fail with ENOSYS. Some functions are actually named
93247 something starting with __ and the normal name is an alias. */
93248 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
93249 choke me
93250 #else
93251 char (*f) () = $ac_func;
93252 #endif
93253 #ifdef __cplusplus
93254 }
93255 #endif
93256
93257 int
93258 main ()
93259 {
93260 return f != $ac_func;
93261 ;
93262 return 0;
93263 }
93264 _ACEOF
93265 rm -f conftest.$ac_objext conftest$ac_exeext
93266 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
93267 (eval $ac_link) 2>conftest.er1
93268 ac_status=$?
93269 grep -v '^ *+' conftest.er1 >conftest.err
93270 rm -f conftest.er1
93271 cat conftest.err >&5
93272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93273 (exit $ac_status); } &&
93274 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
93275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93276 (eval $ac_try) 2>&5
93277 ac_status=$?
93278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93279 (exit $ac_status); }; } &&
93280 { ac_try='test -s conftest$ac_exeext'
93281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93282 (eval $ac_try) 2>&5
93283 ac_status=$?
93284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93285 (exit $ac_status); }; }; then
93286 eval "$as_ac_var=yes"
93287 else
93288 echo "$as_me: failed program was:" >&5
93289 sed 's/^/| /' conftest.$ac_ext >&5
93290
93291 eval "$as_ac_var=no"
93292 fi
93293 rm -f conftest.err conftest.$ac_objext \
93294 conftest$ac_exeext conftest.$ac_ext
93295 fi
93296 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
93297 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
93298 if test `eval echo '${'$as_ac_var'}'` = yes; then
93299 cat >>confdefs.h <<_ACEOF
93300 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
93301 _ACEOF
93302
93303 fi
93304 done
93305
93306 fi
93307 fi
93308
93309
93310
93311
93312
93313
93314 echo "$as_me:$LINENO: checking for modfl declaration" >&5
93315 echo $ECHO_N "checking for modfl declaration... $ECHO_C" >&6
93316 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
93317 if test "${glibcxx_cv_func_modfl_use+set}" = set; then
93318 echo $ECHO_N "(cached) $ECHO_C" >&6
93319 else
93320
93321
93322
93323 ac_ext=cc
93324 ac_cpp='$CXXCPP $CPPFLAGS'
93325 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93326 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93327 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
93328
93329 cat >conftest.$ac_ext <<_ACEOF
93330 /* confdefs.h. */
93331 _ACEOF
93332 cat confdefs.h >>conftest.$ac_ext
93333 cat >>conftest.$ac_ext <<_ACEOF
93334 /* end confdefs.h. */
93335 #include <math.h>
93336 int
93337 main ()
93338 {
93339 modfl(0, 0);
93340 ;
93341 return 0;
93342 }
93343 _ACEOF
93344 rm -f conftest.$ac_objext
93345 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
93346 (eval $ac_compile) 2>conftest.er1
93347 ac_status=$?
93348 grep -v '^ *+' conftest.er1 >conftest.err
93349 rm -f conftest.er1
93350 cat conftest.err >&5
93351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93352 (exit $ac_status); } &&
93353 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
93354 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93355 (eval $ac_try) 2>&5
93356 ac_status=$?
93357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93358 (exit $ac_status); }; } &&
93359 { ac_try='test -s conftest.$ac_objext'
93360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93361 (eval $ac_try) 2>&5
93362 ac_status=$?
93363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93364 (exit $ac_status); }; }; then
93365 glibcxx_cv_func_modfl_use=yes
93366 else
93367 echo "$as_me: failed program was:" >&5
93368 sed 's/^/| /' conftest.$ac_ext >&5
93369
93370 glibcxx_cv_func_modfl_use=no
93371 fi
93372 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
93373 ac_ext=c
93374 ac_cpp='$CPP $CPPFLAGS'
93375 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93376 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93377 ac_compiler_gnu=$ac_cv_c_compiler_gnu
93378
93379
93380 fi
93381
93382 fi
93383 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modfl_use" >&5
93384 echo "${ECHO_T}$glibcxx_cv_func_modfl_use" >&6
93385
93386 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
93387
93388 for ac_func in modfl
93389 do
93390 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
93391 echo "$as_me:$LINENO: checking for $ac_func" >&5
93392 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
93393 if eval "test \"\${$as_ac_var+set}\" = set"; then
93394 echo $ECHO_N "(cached) $ECHO_C" >&6
93395 else
93396 if test x$gcc_no_link = xyes; then
93397 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
93398 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
93399 { (exit 1); exit 1; }; }
93400 fi
93401 cat >conftest.$ac_ext <<_ACEOF
93402 /* confdefs.h. */
93403 _ACEOF
93404 cat confdefs.h >>conftest.$ac_ext
93405 cat >>conftest.$ac_ext <<_ACEOF
93406 /* end confdefs.h. */
93407 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
93408 For example, HP-UX 11i <limits.h> declares gettimeofday. */
93409 #define $ac_func innocuous_$ac_func
93410
93411 /* System header to define __stub macros and hopefully few prototypes,
93412 which can conflict with char $ac_func (); below.
93413 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
93414 <limits.h> exists even on freestanding compilers. */
93415
93416 #ifdef __STDC__
93417 # include <limits.h>
93418 #else
93419 # include <assert.h>
93420 #endif
93421
93422 #undef $ac_func
93423
93424 /* Override any gcc2 internal prototype to avoid an error. */
93425 #ifdef __cplusplus
93426 extern "C"
93427 {
93428 #endif
93429 /* We use char because int might match the return type of a gcc2
93430 builtin and then its argument prototype would still apply. */
93431 char $ac_func ();
93432 /* The GNU C library defines this for functions which it implements
93433 to always fail with ENOSYS. Some functions are actually named
93434 something starting with __ and the normal name is an alias. */
93435 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
93436 choke me
93437 #else
93438 char (*f) () = $ac_func;
93439 #endif
93440 #ifdef __cplusplus
93441 }
93442 #endif
93443
93444 int
93445 main ()
93446 {
93447 return f != $ac_func;
93448 ;
93449 return 0;
93450 }
93451 _ACEOF
93452 rm -f conftest.$ac_objext conftest$ac_exeext
93453 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
93454 (eval $ac_link) 2>conftest.er1
93455 ac_status=$?
93456 grep -v '^ *+' conftest.er1 >conftest.err
93457 rm -f conftest.er1
93458 cat conftest.err >&5
93459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93460 (exit $ac_status); } &&
93461 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
93462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93463 (eval $ac_try) 2>&5
93464 ac_status=$?
93465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93466 (exit $ac_status); }; } &&
93467 { ac_try='test -s conftest$ac_exeext'
93468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93469 (eval $ac_try) 2>&5
93470 ac_status=$?
93471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93472 (exit $ac_status); }; }; then
93473 eval "$as_ac_var=yes"
93474 else
93475 echo "$as_me: failed program was:" >&5
93476 sed 's/^/| /' conftest.$ac_ext >&5
93477
93478 eval "$as_ac_var=no"
93479 fi
93480 rm -f conftest.err conftest.$ac_objext \
93481 conftest$ac_exeext conftest.$ac_ext
93482 fi
93483 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
93484 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
93485 if test `eval echo '${'$as_ac_var'}'` = yes; then
93486 cat >>confdefs.h <<_ACEOF
93487 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
93488 _ACEOF
93489
93490 fi
93491 done
93492
93493 else
93494
93495 echo "$as_me:$LINENO: checking for _modfl declaration" >&5
93496 echo $ECHO_N "checking for _modfl declaration... $ECHO_C" >&6
93497 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
93498 if test "${glibcxx_cv_func__modfl_use+set}" = set; then
93499 echo $ECHO_N "(cached) $ECHO_C" >&6
93500 else
93501
93502
93503
93504 ac_ext=cc
93505 ac_cpp='$CXXCPP $CPPFLAGS'
93506 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93507 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93508 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
93509
93510 cat >conftest.$ac_ext <<_ACEOF
93511 /* confdefs.h. */
93512 _ACEOF
93513 cat confdefs.h >>conftest.$ac_ext
93514 cat >>conftest.$ac_ext <<_ACEOF
93515 /* end confdefs.h. */
93516 #include <math.h>
93517 int
93518 main ()
93519 {
93520 _modfl(0, 0);
93521 ;
93522 return 0;
93523 }
93524 _ACEOF
93525 rm -f conftest.$ac_objext
93526 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
93527 (eval $ac_compile) 2>conftest.er1
93528 ac_status=$?
93529 grep -v '^ *+' conftest.er1 >conftest.err
93530 rm -f conftest.er1
93531 cat conftest.err >&5
93532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93533 (exit $ac_status); } &&
93534 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
93535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93536 (eval $ac_try) 2>&5
93537 ac_status=$?
93538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93539 (exit $ac_status); }; } &&
93540 { ac_try='test -s conftest.$ac_objext'
93541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93542 (eval $ac_try) 2>&5
93543 ac_status=$?
93544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93545 (exit $ac_status); }; }; then
93546 glibcxx_cv_func__modfl_use=yes
93547 else
93548 echo "$as_me: failed program was:" >&5
93549 sed 's/^/| /' conftest.$ac_ext >&5
93550
93551 glibcxx_cv_func__modfl_use=no
93552 fi
93553 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
93554 ac_ext=c
93555 ac_cpp='$CPP $CPPFLAGS'
93556 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93557 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93558 ac_compiler_gnu=$ac_cv_c_compiler_gnu
93559
93560
93561 fi
93562
93563 fi
93564 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modfl_use" >&5
93565 echo "${ECHO_T}$glibcxx_cv_func__modfl_use" >&6
93566
93567 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
93568
93569 for ac_func in _modfl
93570 do
93571 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
93572 echo "$as_me:$LINENO: checking for $ac_func" >&5
93573 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
93574 if eval "test \"\${$as_ac_var+set}\" = set"; then
93575 echo $ECHO_N "(cached) $ECHO_C" >&6
93576 else
93577 if test x$gcc_no_link = xyes; then
93578 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
93579 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
93580 { (exit 1); exit 1; }; }
93581 fi
93582 cat >conftest.$ac_ext <<_ACEOF
93583 /* confdefs.h. */
93584 _ACEOF
93585 cat confdefs.h >>conftest.$ac_ext
93586 cat >>conftest.$ac_ext <<_ACEOF
93587 /* end confdefs.h. */
93588 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
93589 For example, HP-UX 11i <limits.h> declares gettimeofday. */
93590 #define $ac_func innocuous_$ac_func
93591
93592 /* System header to define __stub macros and hopefully few prototypes,
93593 which can conflict with char $ac_func (); below.
93594 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
93595 <limits.h> exists even on freestanding compilers. */
93596
93597 #ifdef __STDC__
93598 # include <limits.h>
93599 #else
93600 # include <assert.h>
93601 #endif
93602
93603 #undef $ac_func
93604
93605 /* Override any gcc2 internal prototype to avoid an error. */
93606 #ifdef __cplusplus
93607 extern "C"
93608 {
93609 #endif
93610 /* We use char because int might match the return type of a gcc2
93611 builtin and then its argument prototype would still apply. */
93612 char $ac_func ();
93613 /* The GNU C library defines this for functions which it implements
93614 to always fail with ENOSYS. Some functions are actually named
93615 something starting with __ and the normal name is an alias. */
93616 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
93617 choke me
93618 #else
93619 char (*f) () = $ac_func;
93620 #endif
93621 #ifdef __cplusplus
93622 }
93623 #endif
93624
93625 int
93626 main ()
93627 {
93628 return f != $ac_func;
93629 ;
93630 return 0;
93631 }
93632 _ACEOF
93633 rm -f conftest.$ac_objext conftest$ac_exeext
93634 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
93635 (eval $ac_link) 2>conftest.er1
93636 ac_status=$?
93637 grep -v '^ *+' conftest.er1 >conftest.err
93638 rm -f conftest.er1
93639 cat conftest.err >&5
93640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93641 (exit $ac_status); } &&
93642 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
93643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93644 (eval $ac_try) 2>&5
93645 ac_status=$?
93646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93647 (exit $ac_status); }; } &&
93648 { ac_try='test -s conftest$ac_exeext'
93649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93650 (eval $ac_try) 2>&5
93651 ac_status=$?
93652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93653 (exit $ac_status); }; }; then
93654 eval "$as_ac_var=yes"
93655 else
93656 echo "$as_me: failed program was:" >&5
93657 sed 's/^/| /' conftest.$ac_ext >&5
93658
93659 eval "$as_ac_var=no"
93660 fi
93661 rm -f conftest.err conftest.$ac_objext \
93662 conftest$ac_exeext conftest.$ac_ext
93663 fi
93664 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
93665 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
93666 if test `eval echo '${'$as_ac_var'}'` = yes; then
93667 cat >>confdefs.h <<_ACEOF
93668 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
93669 _ACEOF
93670
93671 fi
93672 done
93673
93674 fi
93675 fi
93676
93677
93678
93679
93680
93681
93682 echo "$as_me:$LINENO: checking for powl declaration" >&5
93683 echo $ECHO_N "checking for powl declaration... $ECHO_C" >&6
93684 if test x${glibcxx_cv_func_powl_use+set} != xset; then
93685 if test "${glibcxx_cv_func_powl_use+set}" = set; then
93686 echo $ECHO_N "(cached) $ECHO_C" >&6
93687 else
93688
93689
93690
93691 ac_ext=cc
93692 ac_cpp='$CXXCPP $CPPFLAGS'
93693 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93694 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93695 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
93696
93697 cat >conftest.$ac_ext <<_ACEOF
93698 /* confdefs.h. */
93699 _ACEOF
93700 cat confdefs.h >>conftest.$ac_ext
93701 cat >>conftest.$ac_ext <<_ACEOF
93702 /* end confdefs.h. */
93703 #include <math.h>
93704 int
93705 main ()
93706 {
93707 powl(0, 0);
93708 ;
93709 return 0;
93710 }
93711 _ACEOF
93712 rm -f conftest.$ac_objext
93713 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
93714 (eval $ac_compile) 2>conftest.er1
93715 ac_status=$?
93716 grep -v '^ *+' conftest.er1 >conftest.err
93717 rm -f conftest.er1
93718 cat conftest.err >&5
93719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93720 (exit $ac_status); } &&
93721 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
93722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93723 (eval $ac_try) 2>&5
93724 ac_status=$?
93725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93726 (exit $ac_status); }; } &&
93727 { ac_try='test -s conftest.$ac_objext'
93728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93729 (eval $ac_try) 2>&5
93730 ac_status=$?
93731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93732 (exit $ac_status); }; }; then
93733 glibcxx_cv_func_powl_use=yes
93734 else
93735 echo "$as_me: failed program was:" >&5
93736 sed 's/^/| /' conftest.$ac_ext >&5
93737
93738 glibcxx_cv_func_powl_use=no
93739 fi
93740 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
93741 ac_ext=c
93742 ac_cpp='$CPP $CPPFLAGS'
93743 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93744 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93745 ac_compiler_gnu=$ac_cv_c_compiler_gnu
93746
93747
93748 fi
93749
93750 fi
93751 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powl_use" >&5
93752 echo "${ECHO_T}$glibcxx_cv_func_powl_use" >&6
93753
93754 if test x$glibcxx_cv_func_powl_use = x"yes"; then
93755
93756 for ac_func in powl
93757 do
93758 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
93759 echo "$as_me:$LINENO: checking for $ac_func" >&5
93760 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
93761 if eval "test \"\${$as_ac_var+set}\" = set"; then
93762 echo $ECHO_N "(cached) $ECHO_C" >&6
93763 else
93764 if test x$gcc_no_link = xyes; then
93765 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
93766 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
93767 { (exit 1); exit 1; }; }
93768 fi
93769 cat >conftest.$ac_ext <<_ACEOF
93770 /* confdefs.h. */
93771 _ACEOF
93772 cat confdefs.h >>conftest.$ac_ext
93773 cat >>conftest.$ac_ext <<_ACEOF
93774 /* end confdefs.h. */
93775 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
93776 For example, HP-UX 11i <limits.h> declares gettimeofday. */
93777 #define $ac_func innocuous_$ac_func
93778
93779 /* System header to define __stub macros and hopefully few prototypes,
93780 which can conflict with char $ac_func (); below.
93781 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
93782 <limits.h> exists even on freestanding compilers. */
93783
93784 #ifdef __STDC__
93785 # include <limits.h>
93786 #else
93787 # include <assert.h>
93788 #endif
93789
93790 #undef $ac_func
93791
93792 /* Override any gcc2 internal prototype to avoid an error. */
93793 #ifdef __cplusplus
93794 extern "C"
93795 {
93796 #endif
93797 /* We use char because int might match the return type of a gcc2
93798 builtin and then its argument prototype would still apply. */
93799 char $ac_func ();
93800 /* The GNU C library defines this for functions which it implements
93801 to always fail with ENOSYS. Some functions are actually named
93802 something starting with __ and the normal name is an alias. */
93803 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
93804 choke me
93805 #else
93806 char (*f) () = $ac_func;
93807 #endif
93808 #ifdef __cplusplus
93809 }
93810 #endif
93811
93812 int
93813 main ()
93814 {
93815 return f != $ac_func;
93816 ;
93817 return 0;
93818 }
93819 _ACEOF
93820 rm -f conftest.$ac_objext conftest$ac_exeext
93821 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
93822 (eval $ac_link) 2>conftest.er1
93823 ac_status=$?
93824 grep -v '^ *+' conftest.er1 >conftest.err
93825 rm -f conftest.er1
93826 cat conftest.err >&5
93827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93828 (exit $ac_status); } &&
93829 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
93830 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93831 (eval $ac_try) 2>&5
93832 ac_status=$?
93833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93834 (exit $ac_status); }; } &&
93835 { ac_try='test -s conftest$ac_exeext'
93836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93837 (eval $ac_try) 2>&5
93838 ac_status=$?
93839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93840 (exit $ac_status); }; }; then
93841 eval "$as_ac_var=yes"
93842 else
93843 echo "$as_me: failed program was:" >&5
93844 sed 's/^/| /' conftest.$ac_ext >&5
93845
93846 eval "$as_ac_var=no"
93847 fi
93848 rm -f conftest.err conftest.$ac_objext \
93849 conftest$ac_exeext conftest.$ac_ext
93850 fi
93851 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
93852 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
93853 if test `eval echo '${'$as_ac_var'}'` = yes; then
93854 cat >>confdefs.h <<_ACEOF
93855 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
93856 _ACEOF
93857
93858 fi
93859 done
93860
93861 else
93862
93863 echo "$as_me:$LINENO: checking for _powl declaration" >&5
93864 echo $ECHO_N "checking for _powl declaration... $ECHO_C" >&6
93865 if test x${glibcxx_cv_func__powl_use+set} != xset; then
93866 if test "${glibcxx_cv_func__powl_use+set}" = set; then
93867 echo $ECHO_N "(cached) $ECHO_C" >&6
93868 else
93869
93870
93871
93872 ac_ext=cc
93873 ac_cpp='$CXXCPP $CPPFLAGS'
93874 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93875 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93876 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
93877
93878 cat >conftest.$ac_ext <<_ACEOF
93879 /* confdefs.h. */
93880 _ACEOF
93881 cat confdefs.h >>conftest.$ac_ext
93882 cat >>conftest.$ac_ext <<_ACEOF
93883 /* end confdefs.h. */
93884 #include <math.h>
93885 int
93886 main ()
93887 {
93888 _powl(0, 0);
93889 ;
93890 return 0;
93891 }
93892 _ACEOF
93893 rm -f conftest.$ac_objext
93894 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
93895 (eval $ac_compile) 2>conftest.er1
93896 ac_status=$?
93897 grep -v '^ *+' conftest.er1 >conftest.err
93898 rm -f conftest.er1
93899 cat conftest.err >&5
93900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93901 (exit $ac_status); } &&
93902 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
93903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93904 (eval $ac_try) 2>&5
93905 ac_status=$?
93906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93907 (exit $ac_status); }; } &&
93908 { ac_try='test -s conftest.$ac_objext'
93909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93910 (eval $ac_try) 2>&5
93911 ac_status=$?
93912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93913 (exit $ac_status); }; }; then
93914 glibcxx_cv_func__powl_use=yes
93915 else
93916 echo "$as_me: failed program was:" >&5
93917 sed 's/^/| /' conftest.$ac_ext >&5
93918
93919 glibcxx_cv_func__powl_use=no
93920 fi
93921 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
93922 ac_ext=c
93923 ac_cpp='$CPP $CPPFLAGS'
93924 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93925 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93926 ac_compiler_gnu=$ac_cv_c_compiler_gnu
93927
93928
93929 fi
93930
93931 fi
93932 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powl_use" >&5
93933 echo "${ECHO_T}$glibcxx_cv_func__powl_use" >&6
93934
93935 if test x$glibcxx_cv_func__powl_use = x"yes"; then
93936
93937 for ac_func in _powl
93938 do
93939 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
93940 echo "$as_me:$LINENO: checking for $ac_func" >&5
93941 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
93942 if eval "test \"\${$as_ac_var+set}\" = set"; then
93943 echo $ECHO_N "(cached) $ECHO_C" >&6
93944 else
93945 if test x$gcc_no_link = xyes; then
93946 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
93947 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
93948 { (exit 1); exit 1; }; }
93949 fi
93950 cat >conftest.$ac_ext <<_ACEOF
93951 /* confdefs.h. */
93952 _ACEOF
93953 cat confdefs.h >>conftest.$ac_ext
93954 cat >>conftest.$ac_ext <<_ACEOF
93955 /* end confdefs.h. */
93956 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
93957 For example, HP-UX 11i <limits.h> declares gettimeofday. */
93958 #define $ac_func innocuous_$ac_func
93959
93960 /* System header to define __stub macros and hopefully few prototypes,
93961 which can conflict with char $ac_func (); below.
93962 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
93963 <limits.h> exists even on freestanding compilers. */
93964
93965 #ifdef __STDC__
93966 # include <limits.h>
93967 #else
93968 # include <assert.h>
93969 #endif
93970
93971 #undef $ac_func
93972
93973 /* Override any gcc2 internal prototype to avoid an error. */
93974 #ifdef __cplusplus
93975 extern "C"
93976 {
93977 #endif
93978 /* We use char because int might match the return type of a gcc2
93979 builtin and then its argument prototype would still apply. */
93980 char $ac_func ();
93981 /* The GNU C library defines this for functions which it implements
93982 to always fail with ENOSYS. Some functions are actually named
93983 something starting with __ and the normal name is an alias. */
93984 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
93985 choke me
93986 #else
93987 char (*f) () = $ac_func;
93988 #endif
93989 #ifdef __cplusplus
93990 }
93991 #endif
93992
93993 int
93994 main ()
93995 {
93996 return f != $ac_func;
93997 ;
93998 return 0;
93999 }
94000 _ACEOF
94001 rm -f conftest.$ac_objext conftest$ac_exeext
94002 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
94003 (eval $ac_link) 2>conftest.er1
94004 ac_status=$?
94005 grep -v '^ *+' conftest.er1 >conftest.err
94006 rm -f conftest.er1
94007 cat conftest.err >&5
94008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94009 (exit $ac_status); } &&
94010 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
94011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94012 (eval $ac_try) 2>&5
94013 ac_status=$?
94014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94015 (exit $ac_status); }; } &&
94016 { ac_try='test -s conftest$ac_exeext'
94017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94018 (eval $ac_try) 2>&5
94019 ac_status=$?
94020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94021 (exit $ac_status); }; }; then
94022 eval "$as_ac_var=yes"
94023 else
94024 echo "$as_me: failed program was:" >&5
94025 sed 's/^/| /' conftest.$ac_ext >&5
94026
94027 eval "$as_ac_var=no"
94028 fi
94029 rm -f conftest.err conftest.$ac_objext \
94030 conftest$ac_exeext conftest.$ac_ext
94031 fi
94032 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
94033 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
94034 if test `eval echo '${'$as_ac_var'}'` = yes; then
94035 cat >>confdefs.h <<_ACEOF
94036 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
94037 _ACEOF
94038
94039 fi
94040 done
94041
94042 fi
94043 fi
94044
94045
94046
94047
94048
94049
94050 echo "$as_me:$LINENO: checking for sqrtl declaration" >&5
94051 echo $ECHO_N "checking for sqrtl declaration... $ECHO_C" >&6
94052 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
94053 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then
94054 echo $ECHO_N "(cached) $ECHO_C" >&6
94055 else
94056
94057
94058
94059 ac_ext=cc
94060 ac_cpp='$CXXCPP $CPPFLAGS'
94061 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94062 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94063 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
94064
94065 cat >conftest.$ac_ext <<_ACEOF
94066 /* confdefs.h. */
94067 _ACEOF
94068 cat confdefs.h >>conftest.$ac_ext
94069 cat >>conftest.$ac_ext <<_ACEOF
94070 /* end confdefs.h. */
94071 #include <math.h>
94072 #ifdef HAVE_IEEEFP_H
94073 #include <ieeefp.h>
94074 #endif
94075
94076 int
94077 main ()
94078 {
94079 sqrtl(0);
94080 ;
94081 return 0;
94082 }
94083 _ACEOF
94084 rm -f conftest.$ac_objext
94085 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
94086 (eval $ac_compile) 2>conftest.er1
94087 ac_status=$?
94088 grep -v '^ *+' conftest.er1 >conftest.err
94089 rm -f conftest.er1
94090 cat conftest.err >&5
94091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94092 (exit $ac_status); } &&
94093 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
94094 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94095 (eval $ac_try) 2>&5
94096 ac_status=$?
94097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94098 (exit $ac_status); }; } &&
94099 { ac_try='test -s conftest.$ac_objext'
94100 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94101 (eval $ac_try) 2>&5
94102 ac_status=$?
94103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94104 (exit $ac_status); }; }; then
94105 glibcxx_cv_func_sqrtl_use=yes
94106 else
94107 echo "$as_me: failed program was:" >&5
94108 sed 's/^/| /' conftest.$ac_ext >&5
94109
94110 glibcxx_cv_func_sqrtl_use=no
94111 fi
94112 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
94113 ac_ext=c
94114 ac_cpp='$CPP $CPPFLAGS'
94115 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94116 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94117 ac_compiler_gnu=$ac_cv_c_compiler_gnu
94118
94119
94120 fi
94121
94122 fi
94123 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtl_use" >&5
94124 echo "${ECHO_T}$glibcxx_cv_func_sqrtl_use" >&6
94125
94126 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
94127
94128 for ac_func in sqrtl
94129 do
94130 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
94131 echo "$as_me:$LINENO: checking for $ac_func" >&5
94132 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
94133 if eval "test \"\${$as_ac_var+set}\" = set"; then
94134 echo $ECHO_N "(cached) $ECHO_C" >&6
94135 else
94136 if test x$gcc_no_link = xyes; then
94137 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
94138 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
94139 { (exit 1); exit 1; }; }
94140 fi
94141 cat >conftest.$ac_ext <<_ACEOF
94142 /* confdefs.h. */
94143 _ACEOF
94144 cat confdefs.h >>conftest.$ac_ext
94145 cat >>conftest.$ac_ext <<_ACEOF
94146 /* end confdefs.h. */
94147 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
94148 For example, HP-UX 11i <limits.h> declares gettimeofday. */
94149 #define $ac_func innocuous_$ac_func
94150
94151 /* System header to define __stub macros and hopefully few prototypes,
94152 which can conflict with char $ac_func (); below.
94153 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
94154 <limits.h> exists even on freestanding compilers. */
94155
94156 #ifdef __STDC__
94157 # include <limits.h>
94158 #else
94159 # include <assert.h>
94160 #endif
94161
94162 #undef $ac_func
94163
94164 /* Override any gcc2 internal prototype to avoid an error. */
94165 #ifdef __cplusplus
94166 extern "C"
94167 {
94168 #endif
94169 /* We use char because int might match the return type of a gcc2
94170 builtin and then its argument prototype would still apply. */
94171 char $ac_func ();
94172 /* The GNU C library defines this for functions which it implements
94173 to always fail with ENOSYS. Some functions are actually named
94174 something starting with __ and the normal name is an alias. */
94175 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
94176 choke me
94177 #else
94178 char (*f) () = $ac_func;
94179 #endif
94180 #ifdef __cplusplus
94181 }
94182 #endif
94183
94184 int
94185 main ()
94186 {
94187 return f != $ac_func;
94188 ;
94189 return 0;
94190 }
94191 _ACEOF
94192 rm -f conftest.$ac_objext conftest$ac_exeext
94193 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
94194 (eval $ac_link) 2>conftest.er1
94195 ac_status=$?
94196 grep -v '^ *+' conftest.er1 >conftest.err
94197 rm -f conftest.er1
94198 cat conftest.err >&5
94199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94200 (exit $ac_status); } &&
94201 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
94202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94203 (eval $ac_try) 2>&5
94204 ac_status=$?
94205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94206 (exit $ac_status); }; } &&
94207 { ac_try='test -s conftest$ac_exeext'
94208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94209 (eval $ac_try) 2>&5
94210 ac_status=$?
94211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94212 (exit $ac_status); }; }; then
94213 eval "$as_ac_var=yes"
94214 else
94215 echo "$as_me: failed program was:" >&5
94216 sed 's/^/| /' conftest.$ac_ext >&5
94217
94218 eval "$as_ac_var=no"
94219 fi
94220 rm -f conftest.err conftest.$ac_objext \
94221 conftest$ac_exeext conftest.$ac_ext
94222 fi
94223 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
94224 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
94225 if test `eval echo '${'$as_ac_var'}'` = yes; then
94226 cat >>confdefs.h <<_ACEOF
94227 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
94228 _ACEOF
94229
94230 fi
94231 done
94232
94233 else
94234
94235 echo "$as_me:$LINENO: checking for _sqrtl declaration" >&5
94236 echo $ECHO_N "checking for _sqrtl declaration... $ECHO_C" >&6
94237 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
94238 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then
94239 echo $ECHO_N "(cached) $ECHO_C" >&6
94240 else
94241
94242
94243
94244 ac_ext=cc
94245 ac_cpp='$CXXCPP $CPPFLAGS'
94246 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94247 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94248 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
94249
94250 cat >conftest.$ac_ext <<_ACEOF
94251 /* confdefs.h. */
94252 _ACEOF
94253 cat confdefs.h >>conftest.$ac_ext
94254 cat >>conftest.$ac_ext <<_ACEOF
94255 /* end confdefs.h. */
94256 #include <math.h>
94257 #ifdef HAVE_IEEEFP_H
94258 #include <ieeefp.h>
94259 #endif
94260
94261 int
94262 main ()
94263 {
94264 _sqrtl(0);
94265 ;
94266 return 0;
94267 }
94268 _ACEOF
94269 rm -f conftest.$ac_objext
94270 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
94271 (eval $ac_compile) 2>conftest.er1
94272 ac_status=$?
94273 grep -v '^ *+' conftest.er1 >conftest.err
94274 rm -f conftest.er1
94275 cat conftest.err >&5
94276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94277 (exit $ac_status); } &&
94278 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
94279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94280 (eval $ac_try) 2>&5
94281 ac_status=$?
94282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94283 (exit $ac_status); }; } &&
94284 { ac_try='test -s conftest.$ac_objext'
94285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94286 (eval $ac_try) 2>&5
94287 ac_status=$?
94288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94289 (exit $ac_status); }; }; then
94290 glibcxx_cv_func__sqrtl_use=yes
94291 else
94292 echo "$as_me: failed program was:" >&5
94293 sed 's/^/| /' conftest.$ac_ext >&5
94294
94295 glibcxx_cv_func__sqrtl_use=no
94296 fi
94297 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
94298 ac_ext=c
94299 ac_cpp='$CPP $CPPFLAGS'
94300 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94301 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94302 ac_compiler_gnu=$ac_cv_c_compiler_gnu
94303
94304
94305 fi
94306
94307 fi
94308 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtl_use" >&5
94309 echo "${ECHO_T}$glibcxx_cv_func__sqrtl_use" >&6
94310
94311 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
94312
94313 for ac_func in _sqrtl
94314 do
94315 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
94316 echo "$as_me:$LINENO: checking for $ac_func" >&5
94317 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
94318 if eval "test \"\${$as_ac_var+set}\" = set"; then
94319 echo $ECHO_N "(cached) $ECHO_C" >&6
94320 else
94321 if test x$gcc_no_link = xyes; then
94322 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
94323 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
94324 { (exit 1); exit 1; }; }
94325 fi
94326 cat >conftest.$ac_ext <<_ACEOF
94327 /* confdefs.h. */
94328 _ACEOF
94329 cat confdefs.h >>conftest.$ac_ext
94330 cat >>conftest.$ac_ext <<_ACEOF
94331 /* end confdefs.h. */
94332 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
94333 For example, HP-UX 11i <limits.h> declares gettimeofday. */
94334 #define $ac_func innocuous_$ac_func
94335
94336 /* System header to define __stub macros and hopefully few prototypes,
94337 which can conflict with char $ac_func (); below.
94338 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
94339 <limits.h> exists even on freestanding compilers. */
94340
94341 #ifdef __STDC__
94342 # include <limits.h>
94343 #else
94344 # include <assert.h>
94345 #endif
94346
94347 #undef $ac_func
94348
94349 /* Override any gcc2 internal prototype to avoid an error. */
94350 #ifdef __cplusplus
94351 extern "C"
94352 {
94353 #endif
94354 /* We use char because int might match the return type of a gcc2
94355 builtin and then its argument prototype would still apply. */
94356 char $ac_func ();
94357 /* The GNU C library defines this for functions which it implements
94358 to always fail with ENOSYS. Some functions are actually named
94359 something starting with __ and the normal name is an alias. */
94360 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
94361 choke me
94362 #else
94363 char (*f) () = $ac_func;
94364 #endif
94365 #ifdef __cplusplus
94366 }
94367 #endif
94368
94369 int
94370 main ()
94371 {
94372 return f != $ac_func;
94373 ;
94374 return 0;
94375 }
94376 _ACEOF
94377 rm -f conftest.$ac_objext conftest$ac_exeext
94378 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
94379 (eval $ac_link) 2>conftest.er1
94380 ac_status=$?
94381 grep -v '^ *+' conftest.er1 >conftest.err
94382 rm -f conftest.er1
94383 cat conftest.err >&5
94384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94385 (exit $ac_status); } &&
94386 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
94387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94388 (eval $ac_try) 2>&5
94389 ac_status=$?
94390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94391 (exit $ac_status); }; } &&
94392 { ac_try='test -s conftest$ac_exeext'
94393 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94394 (eval $ac_try) 2>&5
94395 ac_status=$?
94396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94397 (exit $ac_status); }; }; then
94398 eval "$as_ac_var=yes"
94399 else
94400 echo "$as_me: failed program was:" >&5
94401 sed 's/^/| /' conftest.$ac_ext >&5
94402
94403 eval "$as_ac_var=no"
94404 fi
94405 rm -f conftest.err conftest.$ac_objext \
94406 conftest$ac_exeext conftest.$ac_ext
94407 fi
94408 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
94409 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
94410 if test `eval echo '${'$as_ac_var'}'` = yes; then
94411 cat >>confdefs.h <<_ACEOF
94412 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
94413 _ACEOF
94414
94415 fi
94416 done
94417
94418 fi
94419 fi
94420
94421
94422
94423
94424
94425
94426 echo "$as_me:$LINENO: checking for sincosl declaration" >&5
94427 echo $ECHO_N "checking for sincosl declaration... $ECHO_C" >&6
94428 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
94429 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then
94430 echo $ECHO_N "(cached) $ECHO_C" >&6
94431 else
94432
94433
94434
94435 ac_ext=cc
94436 ac_cpp='$CXXCPP $CPPFLAGS'
94437 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94438 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94439 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
94440
94441 cat >conftest.$ac_ext <<_ACEOF
94442 /* confdefs.h. */
94443 _ACEOF
94444 cat confdefs.h >>conftest.$ac_ext
94445 cat >>conftest.$ac_ext <<_ACEOF
94446 /* end confdefs.h. */
94447 #include <math.h>
94448 int
94449 main ()
94450 {
94451 sincosl(0, 0, 0);
94452 ;
94453 return 0;
94454 }
94455 _ACEOF
94456 rm -f conftest.$ac_objext
94457 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
94458 (eval $ac_compile) 2>conftest.er1
94459 ac_status=$?
94460 grep -v '^ *+' conftest.er1 >conftest.err
94461 rm -f conftest.er1
94462 cat conftest.err >&5
94463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94464 (exit $ac_status); } &&
94465 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
94466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94467 (eval $ac_try) 2>&5
94468 ac_status=$?
94469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94470 (exit $ac_status); }; } &&
94471 { ac_try='test -s conftest.$ac_objext'
94472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94473 (eval $ac_try) 2>&5
94474 ac_status=$?
94475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94476 (exit $ac_status); }; }; then
94477 glibcxx_cv_func_sincosl_use=yes
94478 else
94479 echo "$as_me: failed program was:" >&5
94480 sed 's/^/| /' conftest.$ac_ext >&5
94481
94482 glibcxx_cv_func_sincosl_use=no
94483 fi
94484 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
94485 ac_ext=c
94486 ac_cpp='$CPP $CPPFLAGS'
94487 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94488 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94489 ac_compiler_gnu=$ac_cv_c_compiler_gnu
94490
94491
94492 fi
94493
94494 fi
94495 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosl_use" >&5
94496 echo "${ECHO_T}$glibcxx_cv_func_sincosl_use" >&6
94497
94498 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
94499
94500 for ac_func in sincosl
94501 do
94502 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
94503 echo "$as_me:$LINENO: checking for $ac_func" >&5
94504 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
94505 if eval "test \"\${$as_ac_var+set}\" = set"; then
94506 echo $ECHO_N "(cached) $ECHO_C" >&6
94507 else
94508 if test x$gcc_no_link = xyes; then
94509 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
94510 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
94511 { (exit 1); exit 1; }; }
94512 fi
94513 cat >conftest.$ac_ext <<_ACEOF
94514 /* confdefs.h. */
94515 _ACEOF
94516 cat confdefs.h >>conftest.$ac_ext
94517 cat >>conftest.$ac_ext <<_ACEOF
94518 /* end confdefs.h. */
94519 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
94520 For example, HP-UX 11i <limits.h> declares gettimeofday. */
94521 #define $ac_func innocuous_$ac_func
94522
94523 /* System header to define __stub macros and hopefully few prototypes,
94524 which can conflict with char $ac_func (); below.
94525 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
94526 <limits.h> exists even on freestanding compilers. */
94527
94528 #ifdef __STDC__
94529 # include <limits.h>
94530 #else
94531 # include <assert.h>
94532 #endif
94533
94534 #undef $ac_func
94535
94536 /* Override any gcc2 internal prototype to avoid an error. */
94537 #ifdef __cplusplus
94538 extern "C"
94539 {
94540 #endif
94541 /* We use char because int might match the return type of a gcc2
94542 builtin and then its argument prototype would still apply. */
94543 char $ac_func ();
94544 /* The GNU C library defines this for functions which it implements
94545 to always fail with ENOSYS. Some functions are actually named
94546 something starting with __ and the normal name is an alias. */
94547 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
94548 choke me
94549 #else
94550 char (*f) () = $ac_func;
94551 #endif
94552 #ifdef __cplusplus
94553 }
94554 #endif
94555
94556 int
94557 main ()
94558 {
94559 return f != $ac_func;
94560 ;
94561 return 0;
94562 }
94563 _ACEOF
94564 rm -f conftest.$ac_objext conftest$ac_exeext
94565 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
94566 (eval $ac_link) 2>conftest.er1
94567 ac_status=$?
94568 grep -v '^ *+' conftest.er1 >conftest.err
94569 rm -f conftest.er1
94570 cat conftest.err >&5
94571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94572 (exit $ac_status); } &&
94573 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
94574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94575 (eval $ac_try) 2>&5
94576 ac_status=$?
94577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94578 (exit $ac_status); }; } &&
94579 { ac_try='test -s conftest$ac_exeext'
94580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94581 (eval $ac_try) 2>&5
94582 ac_status=$?
94583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94584 (exit $ac_status); }; }; then
94585 eval "$as_ac_var=yes"
94586 else
94587 echo "$as_me: failed program was:" >&5
94588 sed 's/^/| /' conftest.$ac_ext >&5
94589
94590 eval "$as_ac_var=no"
94591 fi
94592 rm -f conftest.err conftest.$ac_objext \
94593 conftest$ac_exeext conftest.$ac_ext
94594 fi
94595 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
94596 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
94597 if test `eval echo '${'$as_ac_var'}'` = yes; then
94598 cat >>confdefs.h <<_ACEOF
94599 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
94600 _ACEOF
94601
94602 fi
94603 done
94604
94605 else
94606
94607 echo "$as_me:$LINENO: checking for _sincosl declaration" >&5
94608 echo $ECHO_N "checking for _sincosl declaration... $ECHO_C" >&6
94609 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
94610 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then
94611 echo $ECHO_N "(cached) $ECHO_C" >&6
94612 else
94613
94614
94615
94616 ac_ext=cc
94617 ac_cpp='$CXXCPP $CPPFLAGS'
94618 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94619 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94620 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
94621
94622 cat >conftest.$ac_ext <<_ACEOF
94623 /* confdefs.h. */
94624 _ACEOF
94625 cat confdefs.h >>conftest.$ac_ext
94626 cat >>conftest.$ac_ext <<_ACEOF
94627 /* end confdefs.h. */
94628 #include <math.h>
94629 int
94630 main ()
94631 {
94632 _sincosl(0, 0, 0);
94633 ;
94634 return 0;
94635 }
94636 _ACEOF
94637 rm -f conftest.$ac_objext
94638 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
94639 (eval $ac_compile) 2>conftest.er1
94640 ac_status=$?
94641 grep -v '^ *+' conftest.er1 >conftest.err
94642 rm -f conftest.er1
94643 cat conftest.err >&5
94644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94645 (exit $ac_status); } &&
94646 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
94647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94648 (eval $ac_try) 2>&5
94649 ac_status=$?
94650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94651 (exit $ac_status); }; } &&
94652 { ac_try='test -s conftest.$ac_objext'
94653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94654 (eval $ac_try) 2>&5
94655 ac_status=$?
94656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94657 (exit $ac_status); }; }; then
94658 glibcxx_cv_func__sincosl_use=yes
94659 else
94660 echo "$as_me: failed program was:" >&5
94661 sed 's/^/| /' conftest.$ac_ext >&5
94662
94663 glibcxx_cv_func__sincosl_use=no
94664 fi
94665 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
94666 ac_ext=c
94667 ac_cpp='$CPP $CPPFLAGS'
94668 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94669 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94670 ac_compiler_gnu=$ac_cv_c_compiler_gnu
94671
94672
94673 fi
94674
94675 fi
94676 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosl_use" >&5
94677 echo "${ECHO_T}$glibcxx_cv_func__sincosl_use" >&6
94678
94679 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
94680
94681 for ac_func in _sincosl
94682 do
94683 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
94684 echo "$as_me:$LINENO: checking for $ac_func" >&5
94685 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
94686 if eval "test \"\${$as_ac_var+set}\" = set"; then
94687 echo $ECHO_N "(cached) $ECHO_C" >&6
94688 else
94689 if test x$gcc_no_link = xyes; then
94690 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
94691 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
94692 { (exit 1); exit 1; }; }
94693 fi
94694 cat >conftest.$ac_ext <<_ACEOF
94695 /* confdefs.h. */
94696 _ACEOF
94697 cat confdefs.h >>conftest.$ac_ext
94698 cat >>conftest.$ac_ext <<_ACEOF
94699 /* end confdefs.h. */
94700 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
94701 For example, HP-UX 11i <limits.h> declares gettimeofday. */
94702 #define $ac_func innocuous_$ac_func
94703
94704 /* System header to define __stub macros and hopefully few prototypes,
94705 which can conflict with char $ac_func (); below.
94706 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
94707 <limits.h> exists even on freestanding compilers. */
94708
94709 #ifdef __STDC__
94710 # include <limits.h>
94711 #else
94712 # include <assert.h>
94713 #endif
94714
94715 #undef $ac_func
94716
94717 /* Override any gcc2 internal prototype to avoid an error. */
94718 #ifdef __cplusplus
94719 extern "C"
94720 {
94721 #endif
94722 /* We use char because int might match the return type of a gcc2
94723 builtin and then its argument prototype would still apply. */
94724 char $ac_func ();
94725 /* The GNU C library defines this for functions which it implements
94726 to always fail with ENOSYS. Some functions are actually named
94727 something starting with __ and the normal name is an alias. */
94728 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
94729 choke me
94730 #else
94731 char (*f) () = $ac_func;
94732 #endif
94733 #ifdef __cplusplus
94734 }
94735 #endif
94736
94737 int
94738 main ()
94739 {
94740 return f != $ac_func;
94741 ;
94742 return 0;
94743 }
94744 _ACEOF
94745 rm -f conftest.$ac_objext conftest$ac_exeext
94746 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
94747 (eval $ac_link) 2>conftest.er1
94748 ac_status=$?
94749 grep -v '^ *+' conftest.er1 >conftest.err
94750 rm -f conftest.er1
94751 cat conftest.err >&5
94752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94753 (exit $ac_status); } &&
94754 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
94755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94756 (eval $ac_try) 2>&5
94757 ac_status=$?
94758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94759 (exit $ac_status); }; } &&
94760 { ac_try='test -s conftest$ac_exeext'
94761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94762 (eval $ac_try) 2>&5
94763 ac_status=$?
94764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94765 (exit $ac_status); }; }; then
94766 eval "$as_ac_var=yes"
94767 else
94768 echo "$as_me: failed program was:" >&5
94769 sed 's/^/| /' conftest.$ac_ext >&5
94770
94771 eval "$as_ac_var=no"
94772 fi
94773 rm -f conftest.err conftest.$ac_objext \
94774 conftest$ac_exeext conftest.$ac_ext
94775 fi
94776 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
94777 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
94778 if test `eval echo '${'$as_ac_var'}'` = yes; then
94779 cat >>confdefs.h <<_ACEOF
94780 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
94781 _ACEOF
94782
94783 fi
94784 done
94785
94786 fi
94787 fi
94788
94789
94790
94791
94792
94793
94794 echo "$as_me:$LINENO: checking for finitel declaration" >&5
94795 echo $ECHO_N "checking for finitel declaration... $ECHO_C" >&6
94796 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
94797 if test "${glibcxx_cv_func_finitel_use+set}" = set; then
94798 echo $ECHO_N "(cached) $ECHO_C" >&6
94799 else
94800
94801
94802
94803 ac_ext=cc
94804 ac_cpp='$CXXCPP $CPPFLAGS'
94805 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94806 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94807 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
94808
94809 cat >conftest.$ac_ext <<_ACEOF
94810 /* confdefs.h. */
94811 _ACEOF
94812 cat confdefs.h >>conftest.$ac_ext
94813 cat >>conftest.$ac_ext <<_ACEOF
94814 /* end confdefs.h. */
94815 #include <math.h>
94816 #ifdef HAVE_IEEEFP_H
94817 #include <ieeefp.h>
94818 #endif
94819
94820 int
94821 main ()
94822 {
94823 finitel(0);
94824 ;
94825 return 0;
94826 }
94827 _ACEOF
94828 rm -f conftest.$ac_objext
94829 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
94830 (eval $ac_compile) 2>conftest.er1
94831 ac_status=$?
94832 grep -v '^ *+' conftest.er1 >conftest.err
94833 rm -f conftest.er1
94834 cat conftest.err >&5
94835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94836 (exit $ac_status); } &&
94837 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
94838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94839 (eval $ac_try) 2>&5
94840 ac_status=$?
94841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94842 (exit $ac_status); }; } &&
94843 { ac_try='test -s conftest.$ac_objext'
94844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94845 (eval $ac_try) 2>&5
94846 ac_status=$?
94847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94848 (exit $ac_status); }; }; then
94849 glibcxx_cv_func_finitel_use=yes
94850 else
94851 echo "$as_me: failed program was:" >&5
94852 sed 's/^/| /' conftest.$ac_ext >&5
94853
94854 glibcxx_cv_func_finitel_use=no
94855 fi
94856 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
94857 ac_ext=c
94858 ac_cpp='$CPP $CPPFLAGS'
94859 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94860 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94861 ac_compiler_gnu=$ac_cv_c_compiler_gnu
94862
94863
94864 fi
94865
94866 fi
94867 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitel_use" >&5
94868 echo "${ECHO_T}$glibcxx_cv_func_finitel_use" >&6
94869
94870 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
94871
94872 for ac_func in finitel
94873 do
94874 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
94875 echo "$as_me:$LINENO: checking for $ac_func" >&5
94876 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
94877 if eval "test \"\${$as_ac_var+set}\" = set"; then
94878 echo $ECHO_N "(cached) $ECHO_C" >&6
94879 else
94880 if test x$gcc_no_link = xyes; then
94881 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
94882 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
94883 { (exit 1); exit 1; }; }
94884 fi
94885 cat >conftest.$ac_ext <<_ACEOF
94886 /* confdefs.h. */
94887 _ACEOF
94888 cat confdefs.h >>conftest.$ac_ext
94889 cat >>conftest.$ac_ext <<_ACEOF
94890 /* end confdefs.h. */
94891 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
94892 For example, HP-UX 11i <limits.h> declares gettimeofday. */
94893 #define $ac_func innocuous_$ac_func
94894
94895 /* System header to define __stub macros and hopefully few prototypes,
94896 which can conflict with char $ac_func (); below.
94897 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
94898 <limits.h> exists even on freestanding compilers. */
94899
94900 #ifdef __STDC__
94901 # include <limits.h>
94902 #else
94903 # include <assert.h>
94904 #endif
94905
94906 #undef $ac_func
94907
94908 /* Override any gcc2 internal prototype to avoid an error. */
94909 #ifdef __cplusplus
94910 extern "C"
94911 {
94912 #endif
94913 /* We use char because int might match the return type of a gcc2
94914 builtin and then its argument prototype would still apply. */
94915 char $ac_func ();
94916 /* The GNU C library defines this for functions which it implements
94917 to always fail with ENOSYS. Some functions are actually named
94918 something starting with __ and the normal name is an alias. */
94919 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
94920 choke me
94921 #else
94922 char (*f) () = $ac_func;
94923 #endif
94924 #ifdef __cplusplus
94925 }
94926 #endif
94927
94928 int
94929 main ()
94930 {
94931 return f != $ac_func;
94932 ;
94933 return 0;
94934 }
94935 _ACEOF
94936 rm -f conftest.$ac_objext conftest$ac_exeext
94937 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
94938 (eval $ac_link) 2>conftest.er1
94939 ac_status=$?
94940 grep -v '^ *+' conftest.er1 >conftest.err
94941 rm -f conftest.er1
94942 cat conftest.err >&5
94943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94944 (exit $ac_status); } &&
94945 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
94946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94947 (eval $ac_try) 2>&5
94948 ac_status=$?
94949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94950 (exit $ac_status); }; } &&
94951 { ac_try='test -s conftest$ac_exeext'
94952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94953 (eval $ac_try) 2>&5
94954 ac_status=$?
94955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94956 (exit $ac_status); }; }; then
94957 eval "$as_ac_var=yes"
94958 else
94959 echo "$as_me: failed program was:" >&5
94960 sed 's/^/| /' conftest.$ac_ext >&5
94961
94962 eval "$as_ac_var=no"
94963 fi
94964 rm -f conftest.err conftest.$ac_objext \
94965 conftest$ac_exeext conftest.$ac_ext
94966 fi
94967 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
94968 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
94969 if test `eval echo '${'$as_ac_var'}'` = yes; then
94970 cat >>confdefs.h <<_ACEOF
94971 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
94972 _ACEOF
94973
94974 fi
94975 done
94976
94977 else
94978
94979 echo "$as_me:$LINENO: checking for _finitel declaration" >&5
94980 echo $ECHO_N "checking for _finitel declaration... $ECHO_C" >&6
94981 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
94982 if test "${glibcxx_cv_func__finitel_use+set}" = set; then
94983 echo $ECHO_N "(cached) $ECHO_C" >&6
94984 else
94985
94986
94987
94988 ac_ext=cc
94989 ac_cpp='$CXXCPP $CPPFLAGS'
94990 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94991 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94992 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
94993
94994 cat >conftest.$ac_ext <<_ACEOF
94995 /* confdefs.h. */
94996 _ACEOF
94997 cat confdefs.h >>conftest.$ac_ext
94998 cat >>conftest.$ac_ext <<_ACEOF
94999 /* end confdefs.h. */
95000 #include <math.h>
95001 #ifdef HAVE_IEEEFP_H
95002 #include <ieeefp.h>
95003 #endif
95004
95005 int
95006 main ()
95007 {
95008 _finitel(0);
95009 ;
95010 return 0;
95011 }
95012 _ACEOF
95013 rm -f conftest.$ac_objext
95014 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
95015 (eval $ac_compile) 2>conftest.er1
95016 ac_status=$?
95017 grep -v '^ *+' conftest.er1 >conftest.err
95018 rm -f conftest.er1
95019 cat conftest.err >&5
95020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95021 (exit $ac_status); } &&
95022 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
95023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95024 (eval $ac_try) 2>&5
95025 ac_status=$?
95026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95027 (exit $ac_status); }; } &&
95028 { ac_try='test -s conftest.$ac_objext'
95029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95030 (eval $ac_try) 2>&5
95031 ac_status=$?
95032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95033 (exit $ac_status); }; }; then
95034 glibcxx_cv_func__finitel_use=yes
95035 else
95036 echo "$as_me: failed program was:" >&5
95037 sed 's/^/| /' conftest.$ac_ext >&5
95038
95039 glibcxx_cv_func__finitel_use=no
95040 fi
95041 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
95042 ac_ext=c
95043 ac_cpp='$CPP $CPPFLAGS'
95044 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95045 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95046 ac_compiler_gnu=$ac_cv_c_compiler_gnu
95047
95048
95049 fi
95050
95051 fi
95052 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitel_use" >&5
95053 echo "${ECHO_T}$glibcxx_cv_func__finitel_use" >&6
95054
95055 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
95056
95057 for ac_func in _finitel
95058 do
95059 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
95060 echo "$as_me:$LINENO: checking for $ac_func" >&5
95061 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
95062 if eval "test \"\${$as_ac_var+set}\" = set"; then
95063 echo $ECHO_N "(cached) $ECHO_C" >&6
95064 else
95065 if test x$gcc_no_link = xyes; then
95066 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
95067 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
95068 { (exit 1); exit 1; }; }
95069 fi
95070 cat >conftest.$ac_ext <<_ACEOF
95071 /* confdefs.h. */
95072 _ACEOF
95073 cat confdefs.h >>conftest.$ac_ext
95074 cat >>conftest.$ac_ext <<_ACEOF
95075 /* end confdefs.h. */
95076 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
95077 For example, HP-UX 11i <limits.h> declares gettimeofday. */
95078 #define $ac_func innocuous_$ac_func
95079
95080 /* System header to define __stub macros and hopefully few prototypes,
95081 which can conflict with char $ac_func (); below.
95082 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
95083 <limits.h> exists even on freestanding compilers. */
95084
95085 #ifdef __STDC__
95086 # include <limits.h>
95087 #else
95088 # include <assert.h>
95089 #endif
95090
95091 #undef $ac_func
95092
95093 /* Override any gcc2 internal prototype to avoid an error. */
95094 #ifdef __cplusplus
95095 extern "C"
95096 {
95097 #endif
95098 /* We use char because int might match the return type of a gcc2
95099 builtin and then its argument prototype would still apply. */
95100 char $ac_func ();
95101 /* The GNU C library defines this for functions which it implements
95102 to always fail with ENOSYS. Some functions are actually named
95103 something starting with __ and the normal name is an alias. */
95104 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
95105 choke me
95106 #else
95107 char (*f) () = $ac_func;
95108 #endif
95109 #ifdef __cplusplus
95110 }
95111 #endif
95112
95113 int
95114 main ()
95115 {
95116 return f != $ac_func;
95117 ;
95118 return 0;
95119 }
95120 _ACEOF
95121 rm -f conftest.$ac_objext conftest$ac_exeext
95122 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
95123 (eval $ac_link) 2>conftest.er1
95124 ac_status=$?
95125 grep -v '^ *+' conftest.er1 >conftest.err
95126 rm -f conftest.er1
95127 cat conftest.err >&5
95128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95129 (exit $ac_status); } &&
95130 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
95131 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95132 (eval $ac_try) 2>&5
95133 ac_status=$?
95134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95135 (exit $ac_status); }; } &&
95136 { ac_try='test -s conftest$ac_exeext'
95137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95138 (eval $ac_try) 2>&5
95139 ac_status=$?
95140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95141 (exit $ac_status); }; }; then
95142 eval "$as_ac_var=yes"
95143 else
95144 echo "$as_me: failed program was:" >&5
95145 sed 's/^/| /' conftest.$ac_ext >&5
95146
95147 eval "$as_ac_var=no"
95148 fi
95149 rm -f conftest.err conftest.$ac_objext \
95150 conftest$ac_exeext conftest.$ac_ext
95151 fi
95152 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
95153 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
95154 if test `eval echo '${'$as_ac_var'}'` = yes; then
95155 cat >>confdefs.h <<_ACEOF
95156 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
95157 _ACEOF
95158
95159 fi
95160 done
95161
95162 fi
95163 fi
95164
95165
95166
95167
95168
95169 LIBS="$ac_save_LIBS"
95170 CXXFLAGS="$ac_save_CXXFLAGS"
95171
95172
95173
95174 echo "$as_me:$LINENO: checking for __builtin_abs declaration" >&5
95175 echo $ECHO_N "checking for __builtin_abs declaration... $ECHO_C" >&6
95176 if test x${glibcxx_cv_func___builtin_abs_use+set} != xset; then
95177 if test "${glibcxx_cv_func___builtin_abs_use+set}" = set; then
95178 echo $ECHO_N "(cached) $ECHO_C" >&6
95179 else
95180
95181
95182
95183 ac_ext=cc
95184 ac_cpp='$CXXCPP $CPPFLAGS'
95185 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95186 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95187 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
95188
95189 cat >conftest.$ac_ext <<_ACEOF
95190 /* confdefs.h. */
95191 _ACEOF
95192 cat confdefs.h >>conftest.$ac_ext
95193 cat >>conftest.$ac_ext <<_ACEOF
95194 /* end confdefs.h. */
95195 #include <math.h>
95196 int
95197 main ()
95198 {
95199 __builtin_abs(0);
95200 ;
95201 return 0;
95202 }
95203 _ACEOF
95204 rm -f conftest.$ac_objext
95205 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
95206 (eval $ac_compile) 2>conftest.er1
95207 ac_status=$?
95208 grep -v '^ *+' conftest.er1 >conftest.err
95209 rm -f conftest.er1
95210 cat conftest.err >&5
95211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95212 (exit $ac_status); } &&
95213 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
95214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95215 (eval $ac_try) 2>&5
95216 ac_status=$?
95217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95218 (exit $ac_status); }; } &&
95219 { ac_try='test -s conftest.$ac_objext'
95220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95221 (eval $ac_try) 2>&5
95222 ac_status=$?
95223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95224 (exit $ac_status); }; }; then
95225 glibcxx_cv_func___builtin_abs_use=yes
95226 else
95227 echo "$as_me: failed program was:" >&5
95228 sed 's/^/| /' conftest.$ac_ext >&5
95229
95230 glibcxx_cv_func___builtin_abs_use=no
95231 fi
95232 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
95233 ac_ext=c
95234 ac_cpp='$CPP $CPPFLAGS'
95235 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95236 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95237 ac_compiler_gnu=$ac_cv_c_compiler_gnu
95238
95239
95240 fi
95241
95242 fi
95243 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_use" >&5
95244 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_use" >&6
95245 if test x$glibcxx_cv_func___builtin_abs_use = x"yes"; then
95246 echo "$as_me:$LINENO: checking for __builtin_abs linkage" >&5
95247 echo $ECHO_N "checking for __builtin_abs linkage... $ECHO_C" >&6
95248 if test x${glibcxx_cv_func___builtin_abs_link+set} != xset; then
95249 if test "${glibcxx_cv_func___builtin_abs_link+set}" = set; then
95250 echo $ECHO_N "(cached) $ECHO_C" >&6
95251 else
95252
95253 if test x$gcc_no_link = xyes; then
95254 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
95255 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
95256 { (exit 1); exit 1; }; }
95257 fi
95258 cat >conftest.$ac_ext <<_ACEOF
95259 /* confdefs.h. */
95260 _ACEOF
95261 cat confdefs.h >>conftest.$ac_ext
95262 cat >>conftest.$ac_ext <<_ACEOF
95263 /* end confdefs.h. */
95264 #include <math.h>
95265 int
95266 main ()
95267 {
95268 __builtin_abs(0);
95269 ;
95270 return 0;
95271 }
95272 _ACEOF
95273 rm -f conftest.$ac_objext conftest$ac_exeext
95274 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
95275 (eval $ac_link) 2>conftest.er1
95276 ac_status=$?
95277 grep -v '^ *+' conftest.er1 >conftest.err
95278 rm -f conftest.er1
95279 cat conftest.err >&5
95280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95281 (exit $ac_status); } &&
95282 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
95283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95284 (eval $ac_try) 2>&5
95285 ac_status=$?
95286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95287 (exit $ac_status); }; } &&
95288 { ac_try='test -s conftest$ac_exeext'
95289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95290 (eval $ac_try) 2>&5
95291 ac_status=$?
95292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95293 (exit $ac_status); }; }; then
95294 glibcxx_cv_func___builtin_abs_link=yes
95295 else
95296 echo "$as_me: failed program was:" >&5
95297 sed 's/^/| /' conftest.$ac_ext >&5
95298
95299 glibcxx_cv_func___builtin_abs_link=no
95300 fi
95301 rm -f conftest.err conftest.$ac_objext \
95302 conftest$ac_exeext conftest.$ac_ext
95303
95304 fi
95305
95306 fi
95307 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_link" >&5
95308 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_link" >&6
95309
95310 if test x$glibcxx_cv_func___builtin_abs_link = x"yes"; then
95311
95312 cat >>confdefs.h <<\_ACEOF
95313 #define HAVE___BUILTIN_ABS 1
95314 _ACEOF
95315
95316 fi
95317
95318 fi
95319
95320
95321 echo "$as_me:$LINENO: checking for __builtin_fabsf declaration" >&5
95322 echo $ECHO_N "checking for __builtin_fabsf declaration... $ECHO_C" >&6
95323 if test x${glibcxx_cv_func___builtin_fabsf_use+set} != xset; then
95324 if test "${glibcxx_cv_func___builtin_fabsf_use+set}" = set; then
95325 echo $ECHO_N "(cached) $ECHO_C" >&6
95326 else
95327
95328
95329
95330 ac_ext=cc
95331 ac_cpp='$CXXCPP $CPPFLAGS'
95332 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95333 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95334 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
95335
95336 cat >conftest.$ac_ext <<_ACEOF
95337 /* confdefs.h. */
95338 _ACEOF
95339 cat confdefs.h >>conftest.$ac_ext
95340 cat >>conftest.$ac_ext <<_ACEOF
95341 /* end confdefs.h. */
95342 #include <math.h>
95343 int
95344 main ()
95345 {
95346 __builtin_fabsf(0);
95347 ;
95348 return 0;
95349 }
95350 _ACEOF
95351 rm -f conftest.$ac_objext
95352 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
95353 (eval $ac_compile) 2>conftest.er1
95354 ac_status=$?
95355 grep -v '^ *+' conftest.er1 >conftest.err
95356 rm -f conftest.er1
95357 cat conftest.err >&5
95358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95359 (exit $ac_status); } &&
95360 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
95361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95362 (eval $ac_try) 2>&5
95363 ac_status=$?
95364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95365 (exit $ac_status); }; } &&
95366 { ac_try='test -s conftest.$ac_objext'
95367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95368 (eval $ac_try) 2>&5
95369 ac_status=$?
95370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95371 (exit $ac_status); }; }; then
95372 glibcxx_cv_func___builtin_fabsf_use=yes
95373 else
95374 echo "$as_me: failed program was:" >&5
95375 sed 's/^/| /' conftest.$ac_ext >&5
95376
95377 glibcxx_cv_func___builtin_fabsf_use=no
95378 fi
95379 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
95380 ac_ext=c
95381 ac_cpp='$CPP $CPPFLAGS'
95382 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95383 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95384 ac_compiler_gnu=$ac_cv_c_compiler_gnu
95385
95386
95387 fi
95388
95389 fi
95390 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_use" >&5
95391 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_use" >&6
95392 if test x$glibcxx_cv_func___builtin_fabsf_use = x"yes"; then
95393 echo "$as_me:$LINENO: checking for __builtin_fabsf linkage" >&5
95394 echo $ECHO_N "checking for __builtin_fabsf linkage... $ECHO_C" >&6
95395 if test x${glibcxx_cv_func___builtin_fabsf_link+set} != xset; then
95396 if test "${glibcxx_cv_func___builtin_fabsf_link+set}" = set; then
95397 echo $ECHO_N "(cached) $ECHO_C" >&6
95398 else
95399
95400 if test x$gcc_no_link = xyes; then
95401 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
95402 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
95403 { (exit 1); exit 1; }; }
95404 fi
95405 cat >conftest.$ac_ext <<_ACEOF
95406 /* confdefs.h. */
95407 _ACEOF
95408 cat confdefs.h >>conftest.$ac_ext
95409 cat >>conftest.$ac_ext <<_ACEOF
95410 /* end confdefs.h. */
95411 #include <math.h>
95412 int
95413 main ()
95414 {
95415 __builtin_fabsf(0);
95416 ;
95417 return 0;
95418 }
95419 _ACEOF
95420 rm -f conftest.$ac_objext conftest$ac_exeext
95421 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
95422 (eval $ac_link) 2>conftest.er1
95423 ac_status=$?
95424 grep -v '^ *+' conftest.er1 >conftest.err
95425 rm -f conftest.er1
95426 cat conftest.err >&5
95427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95428 (exit $ac_status); } &&
95429 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
95430 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95431 (eval $ac_try) 2>&5
95432 ac_status=$?
95433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95434 (exit $ac_status); }; } &&
95435 { ac_try='test -s conftest$ac_exeext'
95436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95437 (eval $ac_try) 2>&5
95438 ac_status=$?
95439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95440 (exit $ac_status); }; }; then
95441 glibcxx_cv_func___builtin_fabsf_link=yes
95442 else
95443 echo "$as_me: failed program was:" >&5
95444 sed 's/^/| /' conftest.$ac_ext >&5
95445
95446 glibcxx_cv_func___builtin_fabsf_link=no
95447 fi
95448 rm -f conftest.err conftest.$ac_objext \
95449 conftest$ac_exeext conftest.$ac_ext
95450
95451 fi
95452
95453 fi
95454 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_link" >&5
95455 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_link" >&6
95456
95457 if test x$glibcxx_cv_func___builtin_fabsf_link = x"yes"; then
95458
95459 cat >>confdefs.h <<\_ACEOF
95460 #define HAVE___BUILTIN_FABSF 1
95461 _ACEOF
95462
95463 fi
95464
95465 fi
95466
95467
95468 echo "$as_me:$LINENO: checking for __builtin_fabs declaration" >&5
95469 echo $ECHO_N "checking for __builtin_fabs declaration... $ECHO_C" >&6
95470 if test x${glibcxx_cv_func___builtin_fabs_use+set} != xset; then
95471 if test "${glibcxx_cv_func___builtin_fabs_use+set}" = set; then
95472 echo $ECHO_N "(cached) $ECHO_C" >&6
95473 else
95474
95475
95476
95477 ac_ext=cc
95478 ac_cpp='$CXXCPP $CPPFLAGS'
95479 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95480 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95481 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
95482
95483 cat >conftest.$ac_ext <<_ACEOF
95484 /* confdefs.h. */
95485 _ACEOF
95486 cat confdefs.h >>conftest.$ac_ext
95487 cat >>conftest.$ac_ext <<_ACEOF
95488 /* end confdefs.h. */
95489 #include <math.h>
95490 int
95491 main ()
95492 {
95493 __builtin_fabs(0);
95494 ;
95495 return 0;
95496 }
95497 _ACEOF
95498 rm -f conftest.$ac_objext
95499 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
95500 (eval $ac_compile) 2>conftest.er1
95501 ac_status=$?
95502 grep -v '^ *+' conftest.er1 >conftest.err
95503 rm -f conftest.er1
95504 cat conftest.err >&5
95505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95506 (exit $ac_status); } &&
95507 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
95508 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95509 (eval $ac_try) 2>&5
95510 ac_status=$?
95511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95512 (exit $ac_status); }; } &&
95513 { ac_try='test -s conftest.$ac_objext'
95514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95515 (eval $ac_try) 2>&5
95516 ac_status=$?
95517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95518 (exit $ac_status); }; }; then
95519 glibcxx_cv_func___builtin_fabs_use=yes
95520 else
95521 echo "$as_me: failed program was:" >&5
95522 sed 's/^/| /' conftest.$ac_ext >&5
95523
95524 glibcxx_cv_func___builtin_fabs_use=no
95525 fi
95526 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
95527 ac_ext=c
95528 ac_cpp='$CPP $CPPFLAGS'
95529 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95530 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95531 ac_compiler_gnu=$ac_cv_c_compiler_gnu
95532
95533
95534 fi
95535
95536 fi
95537 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_use" >&5
95538 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_use" >&6
95539 if test x$glibcxx_cv_func___builtin_fabs_use = x"yes"; then
95540 echo "$as_me:$LINENO: checking for __builtin_fabs linkage" >&5
95541 echo $ECHO_N "checking for __builtin_fabs linkage... $ECHO_C" >&6
95542 if test x${glibcxx_cv_func___builtin_fabs_link+set} != xset; then
95543 if test "${glibcxx_cv_func___builtin_fabs_link+set}" = set; then
95544 echo $ECHO_N "(cached) $ECHO_C" >&6
95545 else
95546
95547 if test x$gcc_no_link = xyes; then
95548 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
95549 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
95550 { (exit 1); exit 1; }; }
95551 fi
95552 cat >conftest.$ac_ext <<_ACEOF
95553 /* confdefs.h. */
95554 _ACEOF
95555 cat confdefs.h >>conftest.$ac_ext
95556 cat >>conftest.$ac_ext <<_ACEOF
95557 /* end confdefs.h. */
95558 #include <math.h>
95559 int
95560 main ()
95561 {
95562 __builtin_fabs(0);
95563 ;
95564 return 0;
95565 }
95566 _ACEOF
95567 rm -f conftest.$ac_objext conftest$ac_exeext
95568 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
95569 (eval $ac_link) 2>conftest.er1
95570 ac_status=$?
95571 grep -v '^ *+' conftest.er1 >conftest.err
95572 rm -f conftest.er1
95573 cat conftest.err >&5
95574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95575 (exit $ac_status); } &&
95576 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
95577 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95578 (eval $ac_try) 2>&5
95579 ac_status=$?
95580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95581 (exit $ac_status); }; } &&
95582 { ac_try='test -s conftest$ac_exeext'
95583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95584 (eval $ac_try) 2>&5
95585 ac_status=$?
95586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95587 (exit $ac_status); }; }; then
95588 glibcxx_cv_func___builtin_fabs_link=yes
95589 else
95590 echo "$as_me: failed program was:" >&5
95591 sed 's/^/| /' conftest.$ac_ext >&5
95592
95593 glibcxx_cv_func___builtin_fabs_link=no
95594 fi
95595 rm -f conftest.err conftest.$ac_objext \
95596 conftest$ac_exeext conftest.$ac_ext
95597
95598 fi
95599
95600 fi
95601 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_link" >&5
95602 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_link" >&6
95603
95604 if test x$glibcxx_cv_func___builtin_fabs_link = x"yes"; then
95605
95606 cat >>confdefs.h <<\_ACEOF
95607 #define HAVE___BUILTIN_FABS 1
95608 _ACEOF
95609
95610 fi
95611
95612 fi
95613
95614
95615 echo "$as_me:$LINENO: checking for __builtin_fabsl declaration" >&5
95616 echo $ECHO_N "checking for __builtin_fabsl declaration... $ECHO_C" >&6
95617 if test x${glibcxx_cv_func___builtin_fabsl_use+set} != xset; then
95618 if test "${glibcxx_cv_func___builtin_fabsl_use+set}" = set; then
95619 echo $ECHO_N "(cached) $ECHO_C" >&6
95620 else
95621
95622
95623
95624 ac_ext=cc
95625 ac_cpp='$CXXCPP $CPPFLAGS'
95626 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95627 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95628 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
95629
95630 cat >conftest.$ac_ext <<_ACEOF
95631 /* confdefs.h. */
95632 _ACEOF
95633 cat confdefs.h >>conftest.$ac_ext
95634 cat >>conftest.$ac_ext <<_ACEOF
95635 /* end confdefs.h. */
95636 #include <math.h>
95637 int
95638 main ()
95639 {
95640 __builtin_fabsl(0);
95641 ;
95642 return 0;
95643 }
95644 _ACEOF
95645 rm -f conftest.$ac_objext
95646 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
95647 (eval $ac_compile) 2>conftest.er1
95648 ac_status=$?
95649 grep -v '^ *+' conftest.er1 >conftest.err
95650 rm -f conftest.er1
95651 cat conftest.err >&5
95652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95653 (exit $ac_status); } &&
95654 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
95655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95656 (eval $ac_try) 2>&5
95657 ac_status=$?
95658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95659 (exit $ac_status); }; } &&
95660 { ac_try='test -s conftest.$ac_objext'
95661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95662 (eval $ac_try) 2>&5
95663 ac_status=$?
95664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95665 (exit $ac_status); }; }; then
95666 glibcxx_cv_func___builtin_fabsl_use=yes
95667 else
95668 echo "$as_me: failed program was:" >&5
95669 sed 's/^/| /' conftest.$ac_ext >&5
95670
95671 glibcxx_cv_func___builtin_fabsl_use=no
95672 fi
95673 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
95674 ac_ext=c
95675 ac_cpp='$CPP $CPPFLAGS'
95676 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95677 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95678 ac_compiler_gnu=$ac_cv_c_compiler_gnu
95679
95680
95681 fi
95682
95683 fi
95684 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_use" >&5
95685 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_use" >&6
95686 if test x$glibcxx_cv_func___builtin_fabsl_use = x"yes"; then
95687 echo "$as_me:$LINENO: checking for __builtin_fabsl linkage" >&5
95688 echo $ECHO_N "checking for __builtin_fabsl linkage... $ECHO_C" >&6
95689 if test x${glibcxx_cv_func___builtin_fabsl_link+set} != xset; then
95690 if test "${glibcxx_cv_func___builtin_fabsl_link+set}" = set; then
95691 echo $ECHO_N "(cached) $ECHO_C" >&6
95692 else
95693
95694 if test x$gcc_no_link = xyes; then
95695 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
95696 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
95697 { (exit 1); exit 1; }; }
95698 fi
95699 cat >conftest.$ac_ext <<_ACEOF
95700 /* confdefs.h. */
95701 _ACEOF
95702 cat confdefs.h >>conftest.$ac_ext
95703 cat >>conftest.$ac_ext <<_ACEOF
95704 /* end confdefs.h. */
95705 #include <math.h>
95706 int
95707 main ()
95708 {
95709 __builtin_fabsl(0);
95710 ;
95711 return 0;
95712 }
95713 _ACEOF
95714 rm -f conftest.$ac_objext conftest$ac_exeext
95715 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
95716 (eval $ac_link) 2>conftest.er1
95717 ac_status=$?
95718 grep -v '^ *+' conftest.er1 >conftest.err
95719 rm -f conftest.er1
95720 cat conftest.err >&5
95721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95722 (exit $ac_status); } &&
95723 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
95724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95725 (eval $ac_try) 2>&5
95726 ac_status=$?
95727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95728 (exit $ac_status); }; } &&
95729 { ac_try='test -s conftest$ac_exeext'
95730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95731 (eval $ac_try) 2>&5
95732 ac_status=$?
95733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95734 (exit $ac_status); }; }; then
95735 glibcxx_cv_func___builtin_fabsl_link=yes
95736 else
95737 echo "$as_me: failed program was:" >&5
95738 sed 's/^/| /' conftest.$ac_ext >&5
95739
95740 glibcxx_cv_func___builtin_fabsl_link=no
95741 fi
95742 rm -f conftest.err conftest.$ac_objext \
95743 conftest$ac_exeext conftest.$ac_ext
95744
95745 fi
95746
95747 fi
95748 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_link" >&5
95749 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_link" >&6
95750
95751 if test x$glibcxx_cv_func___builtin_fabsl_link = x"yes"; then
95752
95753 cat >>confdefs.h <<\_ACEOF
95754 #define HAVE___BUILTIN_FABSL 1
95755 _ACEOF
95756
95757 fi
95758
95759 fi
95760
95761
95762 echo "$as_me:$LINENO: checking for __builtin_labs declaration" >&5
95763 echo $ECHO_N "checking for __builtin_labs declaration... $ECHO_C" >&6
95764 if test x${glibcxx_cv_func___builtin_labs_use+set} != xset; then
95765 if test "${glibcxx_cv_func___builtin_labs_use+set}" = set; then
95766 echo $ECHO_N "(cached) $ECHO_C" >&6
95767 else
95768
95769
95770
95771 ac_ext=cc
95772 ac_cpp='$CXXCPP $CPPFLAGS'
95773 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95774 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95775 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
95776
95777 cat >conftest.$ac_ext <<_ACEOF
95778 /* confdefs.h. */
95779 _ACEOF
95780 cat confdefs.h >>conftest.$ac_ext
95781 cat >>conftest.$ac_ext <<_ACEOF
95782 /* end confdefs.h. */
95783 #include <math.h>
95784 int
95785 main ()
95786 {
95787 __builtin_labs(0);
95788 ;
95789 return 0;
95790 }
95791 _ACEOF
95792 rm -f conftest.$ac_objext
95793 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
95794 (eval $ac_compile) 2>conftest.er1
95795 ac_status=$?
95796 grep -v '^ *+' conftest.er1 >conftest.err
95797 rm -f conftest.er1
95798 cat conftest.err >&5
95799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95800 (exit $ac_status); } &&
95801 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
95802 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95803 (eval $ac_try) 2>&5
95804 ac_status=$?
95805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95806 (exit $ac_status); }; } &&
95807 { ac_try='test -s conftest.$ac_objext'
95808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95809 (eval $ac_try) 2>&5
95810 ac_status=$?
95811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95812 (exit $ac_status); }; }; then
95813 glibcxx_cv_func___builtin_labs_use=yes
95814 else
95815 echo "$as_me: failed program was:" >&5
95816 sed 's/^/| /' conftest.$ac_ext >&5
95817
95818 glibcxx_cv_func___builtin_labs_use=no
95819 fi
95820 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
95821 ac_ext=c
95822 ac_cpp='$CPP $CPPFLAGS'
95823 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95824 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95825 ac_compiler_gnu=$ac_cv_c_compiler_gnu
95826
95827
95828 fi
95829
95830 fi
95831 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_use" >&5
95832 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_use" >&6
95833 if test x$glibcxx_cv_func___builtin_labs_use = x"yes"; then
95834 echo "$as_me:$LINENO: checking for __builtin_labs linkage" >&5
95835 echo $ECHO_N "checking for __builtin_labs linkage... $ECHO_C" >&6
95836 if test x${glibcxx_cv_func___builtin_labs_link+set} != xset; then
95837 if test "${glibcxx_cv_func___builtin_labs_link+set}" = set; then
95838 echo $ECHO_N "(cached) $ECHO_C" >&6
95839 else
95840
95841 if test x$gcc_no_link = xyes; then
95842 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
95843 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
95844 { (exit 1); exit 1; }; }
95845 fi
95846 cat >conftest.$ac_ext <<_ACEOF
95847 /* confdefs.h. */
95848 _ACEOF
95849 cat confdefs.h >>conftest.$ac_ext
95850 cat >>conftest.$ac_ext <<_ACEOF
95851 /* end confdefs.h. */
95852 #include <math.h>
95853 int
95854 main ()
95855 {
95856 __builtin_labs(0);
95857 ;
95858 return 0;
95859 }
95860 _ACEOF
95861 rm -f conftest.$ac_objext conftest$ac_exeext
95862 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
95863 (eval $ac_link) 2>conftest.er1
95864 ac_status=$?
95865 grep -v '^ *+' conftest.er1 >conftest.err
95866 rm -f conftest.er1
95867 cat conftest.err >&5
95868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95869 (exit $ac_status); } &&
95870 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
95871 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95872 (eval $ac_try) 2>&5
95873 ac_status=$?
95874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95875 (exit $ac_status); }; } &&
95876 { ac_try='test -s conftest$ac_exeext'
95877 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95878 (eval $ac_try) 2>&5
95879 ac_status=$?
95880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95881 (exit $ac_status); }; }; then
95882 glibcxx_cv_func___builtin_labs_link=yes
95883 else
95884 echo "$as_me: failed program was:" >&5
95885 sed 's/^/| /' conftest.$ac_ext >&5
95886
95887 glibcxx_cv_func___builtin_labs_link=no
95888 fi
95889 rm -f conftest.err conftest.$ac_objext \
95890 conftest$ac_exeext conftest.$ac_ext
95891
95892 fi
95893
95894 fi
95895 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_link" >&5
95896 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_link" >&6
95897
95898 if test x$glibcxx_cv_func___builtin_labs_link = x"yes"; then
95899
95900 cat >>confdefs.h <<\_ACEOF
95901 #define HAVE___BUILTIN_LABS 1
95902 _ACEOF
95903
95904 fi
95905
95906 fi
95907
95908
95909
95910 echo "$as_me:$LINENO: checking for __builtin_sqrtf declaration" >&5
95911 echo $ECHO_N "checking for __builtin_sqrtf declaration... $ECHO_C" >&6
95912 if test x${glibcxx_cv_func___builtin_sqrtf_use+set} != xset; then
95913 if test "${glibcxx_cv_func___builtin_sqrtf_use+set}" = set; then
95914 echo $ECHO_N "(cached) $ECHO_C" >&6
95915 else
95916
95917
95918
95919 ac_ext=cc
95920 ac_cpp='$CXXCPP $CPPFLAGS'
95921 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95922 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95923 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
95924
95925 cat >conftest.$ac_ext <<_ACEOF
95926 /* confdefs.h. */
95927 _ACEOF
95928 cat confdefs.h >>conftest.$ac_ext
95929 cat >>conftest.$ac_ext <<_ACEOF
95930 /* end confdefs.h. */
95931 #include <math.h>
95932 int
95933 main ()
95934 {
95935 __builtin_sqrtf(0);
95936 ;
95937 return 0;
95938 }
95939 _ACEOF
95940 rm -f conftest.$ac_objext
95941 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
95942 (eval $ac_compile) 2>conftest.er1
95943 ac_status=$?
95944 grep -v '^ *+' conftest.er1 >conftest.err
95945 rm -f conftest.er1
95946 cat conftest.err >&5
95947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95948 (exit $ac_status); } &&
95949 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
95950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95951 (eval $ac_try) 2>&5
95952 ac_status=$?
95953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95954 (exit $ac_status); }; } &&
95955 { ac_try='test -s conftest.$ac_objext'
95956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95957 (eval $ac_try) 2>&5
95958 ac_status=$?
95959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95960 (exit $ac_status); }; }; then
95961 glibcxx_cv_func___builtin_sqrtf_use=yes
95962 else
95963 echo "$as_me: failed program was:" >&5
95964 sed 's/^/| /' conftest.$ac_ext >&5
95965
95966 glibcxx_cv_func___builtin_sqrtf_use=no
95967 fi
95968 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
95969 ac_ext=c
95970 ac_cpp='$CPP $CPPFLAGS'
95971 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95972 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95973 ac_compiler_gnu=$ac_cv_c_compiler_gnu
95974
95975
95976 fi
95977
95978 fi
95979 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_use" >&5
95980 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_use" >&6
95981 if test x$glibcxx_cv_func___builtin_sqrtf_use = x"yes"; then
95982 echo "$as_me:$LINENO: checking for __builtin_sqrtf linkage" >&5
95983 echo $ECHO_N "checking for __builtin_sqrtf linkage... $ECHO_C" >&6
95984 if test x${glibcxx_cv_func___builtin_sqrtf_link+set} != xset; then
95985 if test "${glibcxx_cv_func___builtin_sqrtf_link+set}" = set; then
95986 echo $ECHO_N "(cached) $ECHO_C" >&6
95987 else
95988
95989 if test x$gcc_no_link = xyes; then
95990 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
95991 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
95992 { (exit 1); exit 1; }; }
95993 fi
95994 cat >conftest.$ac_ext <<_ACEOF
95995 /* confdefs.h. */
95996 _ACEOF
95997 cat confdefs.h >>conftest.$ac_ext
95998 cat >>conftest.$ac_ext <<_ACEOF
95999 /* end confdefs.h. */
96000 #include <math.h>
96001 int
96002 main ()
96003 {
96004 __builtin_sqrtf(0);
96005 ;
96006 return 0;
96007 }
96008 _ACEOF
96009 rm -f conftest.$ac_objext conftest$ac_exeext
96010 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
96011 (eval $ac_link) 2>conftest.er1
96012 ac_status=$?
96013 grep -v '^ *+' conftest.er1 >conftest.err
96014 rm -f conftest.er1
96015 cat conftest.err >&5
96016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96017 (exit $ac_status); } &&
96018 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
96019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96020 (eval $ac_try) 2>&5
96021 ac_status=$?
96022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96023 (exit $ac_status); }; } &&
96024 { ac_try='test -s conftest$ac_exeext'
96025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96026 (eval $ac_try) 2>&5
96027 ac_status=$?
96028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96029 (exit $ac_status); }; }; then
96030 glibcxx_cv_func___builtin_sqrtf_link=yes
96031 else
96032 echo "$as_me: failed program was:" >&5
96033 sed 's/^/| /' conftest.$ac_ext >&5
96034
96035 glibcxx_cv_func___builtin_sqrtf_link=no
96036 fi
96037 rm -f conftest.err conftest.$ac_objext \
96038 conftest$ac_exeext conftest.$ac_ext
96039
96040 fi
96041
96042 fi
96043 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_link" >&5
96044 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_link" >&6
96045
96046 if test x$glibcxx_cv_func___builtin_sqrtf_link = x"yes"; then
96047
96048 cat >>confdefs.h <<\_ACEOF
96049 #define HAVE___BUILTIN_SQRTF 1
96050 _ACEOF
96051
96052 fi
96053
96054 fi
96055
96056
96057 echo "$as_me:$LINENO: checking for __builtin_sqrt declaration" >&5
96058 echo $ECHO_N "checking for __builtin_sqrt declaration... $ECHO_C" >&6
96059 if test x${glibcxx_cv_func___builtin_sqrt_use+set} != xset; then
96060 if test "${glibcxx_cv_func___builtin_sqrt_use+set}" = set; then
96061 echo $ECHO_N "(cached) $ECHO_C" >&6
96062 else
96063
96064
96065
96066 ac_ext=cc
96067 ac_cpp='$CXXCPP $CPPFLAGS'
96068 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96069 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96070 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
96071
96072 cat >conftest.$ac_ext <<_ACEOF
96073 /* confdefs.h. */
96074 _ACEOF
96075 cat confdefs.h >>conftest.$ac_ext
96076 cat >>conftest.$ac_ext <<_ACEOF
96077 /* end confdefs.h. */
96078 #include <math.h>
96079 int
96080 main ()
96081 {
96082 __builtin_sqrt(0);
96083 ;
96084 return 0;
96085 }
96086 _ACEOF
96087 rm -f conftest.$ac_objext
96088 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
96089 (eval $ac_compile) 2>conftest.er1
96090 ac_status=$?
96091 grep -v '^ *+' conftest.er1 >conftest.err
96092 rm -f conftest.er1
96093 cat conftest.err >&5
96094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96095 (exit $ac_status); } &&
96096 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
96097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96098 (eval $ac_try) 2>&5
96099 ac_status=$?
96100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96101 (exit $ac_status); }; } &&
96102 { ac_try='test -s conftest.$ac_objext'
96103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96104 (eval $ac_try) 2>&5
96105 ac_status=$?
96106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96107 (exit $ac_status); }; }; then
96108 glibcxx_cv_func___builtin_sqrt_use=yes
96109 else
96110 echo "$as_me: failed program was:" >&5
96111 sed 's/^/| /' conftest.$ac_ext >&5
96112
96113 glibcxx_cv_func___builtin_sqrt_use=no
96114 fi
96115 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
96116 ac_ext=c
96117 ac_cpp='$CPP $CPPFLAGS'
96118 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96119 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96120 ac_compiler_gnu=$ac_cv_c_compiler_gnu
96121
96122
96123 fi
96124
96125 fi
96126 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_use" >&5
96127 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_use" >&6
96128 if test x$glibcxx_cv_func___builtin_sqrt_use = x"yes"; then
96129 echo "$as_me:$LINENO: checking for __builtin_sqrt linkage" >&5
96130 echo $ECHO_N "checking for __builtin_sqrt linkage... $ECHO_C" >&6
96131 if test x${glibcxx_cv_func___builtin_sqrt_link+set} != xset; then
96132 if test "${glibcxx_cv_func___builtin_sqrt_link+set}" = set; then
96133 echo $ECHO_N "(cached) $ECHO_C" >&6
96134 else
96135
96136 if test x$gcc_no_link = xyes; then
96137 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
96138 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
96139 { (exit 1); exit 1; }; }
96140 fi
96141 cat >conftest.$ac_ext <<_ACEOF
96142 /* confdefs.h. */
96143 _ACEOF
96144 cat confdefs.h >>conftest.$ac_ext
96145 cat >>conftest.$ac_ext <<_ACEOF
96146 /* end confdefs.h. */
96147 #include <math.h>
96148 int
96149 main ()
96150 {
96151 __builtin_sqrt(0);
96152 ;
96153 return 0;
96154 }
96155 _ACEOF
96156 rm -f conftest.$ac_objext conftest$ac_exeext
96157 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
96158 (eval $ac_link) 2>conftest.er1
96159 ac_status=$?
96160 grep -v '^ *+' conftest.er1 >conftest.err
96161 rm -f conftest.er1
96162 cat conftest.err >&5
96163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96164 (exit $ac_status); } &&
96165 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
96166 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96167 (eval $ac_try) 2>&5
96168 ac_status=$?
96169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96170 (exit $ac_status); }; } &&
96171 { ac_try='test -s conftest$ac_exeext'
96172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96173 (eval $ac_try) 2>&5
96174 ac_status=$?
96175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96176 (exit $ac_status); }; }; then
96177 glibcxx_cv_func___builtin_sqrt_link=yes
96178 else
96179 echo "$as_me: failed program was:" >&5
96180 sed 's/^/| /' conftest.$ac_ext >&5
96181
96182 glibcxx_cv_func___builtin_sqrt_link=no
96183 fi
96184 rm -f conftest.err conftest.$ac_objext \
96185 conftest$ac_exeext conftest.$ac_ext
96186
96187 fi
96188
96189 fi
96190 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_link" >&5
96191 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_link" >&6
96192
96193 if test x$glibcxx_cv_func___builtin_sqrt_link = x"yes"; then
96194
96195 cat >>confdefs.h <<\_ACEOF
96196 #define HAVE___BUILTIN_SQRT 1
96197 _ACEOF
96198
96199 fi
96200
96201 fi
96202
96203
96204 echo "$as_me:$LINENO: checking for __builtin_sqrtl declaration" >&5
96205 echo $ECHO_N "checking for __builtin_sqrtl declaration... $ECHO_C" >&6
96206 if test x${glibcxx_cv_func___builtin_sqrtl_use+set} != xset; then
96207 if test "${glibcxx_cv_func___builtin_sqrtl_use+set}" = set; then
96208 echo $ECHO_N "(cached) $ECHO_C" >&6
96209 else
96210
96211
96212
96213 ac_ext=cc
96214 ac_cpp='$CXXCPP $CPPFLAGS'
96215 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96216 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96217 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
96218
96219 cat >conftest.$ac_ext <<_ACEOF
96220 /* confdefs.h. */
96221 _ACEOF
96222 cat confdefs.h >>conftest.$ac_ext
96223 cat >>conftest.$ac_ext <<_ACEOF
96224 /* end confdefs.h. */
96225 #include <math.h>
96226 int
96227 main ()
96228 {
96229 __builtin_sqrtl(0);
96230 ;
96231 return 0;
96232 }
96233 _ACEOF
96234 rm -f conftest.$ac_objext
96235 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
96236 (eval $ac_compile) 2>conftest.er1
96237 ac_status=$?
96238 grep -v '^ *+' conftest.er1 >conftest.err
96239 rm -f conftest.er1
96240 cat conftest.err >&5
96241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96242 (exit $ac_status); } &&
96243 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
96244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96245 (eval $ac_try) 2>&5
96246 ac_status=$?
96247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96248 (exit $ac_status); }; } &&
96249 { ac_try='test -s conftest.$ac_objext'
96250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96251 (eval $ac_try) 2>&5
96252 ac_status=$?
96253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96254 (exit $ac_status); }; }; then
96255 glibcxx_cv_func___builtin_sqrtl_use=yes
96256 else
96257 echo "$as_me: failed program was:" >&5
96258 sed 's/^/| /' conftest.$ac_ext >&5
96259
96260 glibcxx_cv_func___builtin_sqrtl_use=no
96261 fi
96262 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
96263 ac_ext=c
96264 ac_cpp='$CPP $CPPFLAGS'
96265 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96266 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96267 ac_compiler_gnu=$ac_cv_c_compiler_gnu
96268
96269
96270 fi
96271
96272 fi
96273 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_use" >&5
96274 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_use" >&6
96275 if test x$glibcxx_cv_func___builtin_sqrtl_use = x"yes"; then
96276 echo "$as_me:$LINENO: checking for __builtin_sqrtl linkage" >&5
96277 echo $ECHO_N "checking for __builtin_sqrtl linkage... $ECHO_C" >&6
96278 if test x${glibcxx_cv_func___builtin_sqrtl_link+set} != xset; then
96279 if test "${glibcxx_cv_func___builtin_sqrtl_link+set}" = set; then
96280 echo $ECHO_N "(cached) $ECHO_C" >&6
96281 else
96282
96283 if test x$gcc_no_link = xyes; then
96284 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
96285 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
96286 { (exit 1); exit 1; }; }
96287 fi
96288 cat >conftest.$ac_ext <<_ACEOF
96289 /* confdefs.h. */
96290 _ACEOF
96291 cat confdefs.h >>conftest.$ac_ext
96292 cat >>conftest.$ac_ext <<_ACEOF
96293 /* end confdefs.h. */
96294 #include <math.h>
96295 int
96296 main ()
96297 {
96298 __builtin_sqrtl(0);
96299 ;
96300 return 0;
96301 }
96302 _ACEOF
96303 rm -f conftest.$ac_objext conftest$ac_exeext
96304 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
96305 (eval $ac_link) 2>conftest.er1
96306 ac_status=$?
96307 grep -v '^ *+' conftest.er1 >conftest.err
96308 rm -f conftest.er1
96309 cat conftest.err >&5
96310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96311 (exit $ac_status); } &&
96312 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
96313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96314 (eval $ac_try) 2>&5
96315 ac_status=$?
96316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96317 (exit $ac_status); }; } &&
96318 { ac_try='test -s conftest$ac_exeext'
96319 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96320 (eval $ac_try) 2>&5
96321 ac_status=$?
96322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96323 (exit $ac_status); }; }; then
96324 glibcxx_cv_func___builtin_sqrtl_link=yes
96325 else
96326 echo "$as_me: failed program was:" >&5
96327 sed 's/^/| /' conftest.$ac_ext >&5
96328
96329 glibcxx_cv_func___builtin_sqrtl_link=no
96330 fi
96331 rm -f conftest.err conftest.$ac_objext \
96332 conftest$ac_exeext conftest.$ac_ext
96333
96334 fi
96335
96336 fi
96337 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_link" >&5
96338 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_link" >&6
96339
96340 if test x$glibcxx_cv_func___builtin_sqrtl_link = x"yes"; then
96341
96342 cat >>confdefs.h <<\_ACEOF
96343 #define HAVE___BUILTIN_SQRTL 1
96344 _ACEOF
96345
96346 fi
96347
96348 fi
96349
96350
96351
96352 echo "$as_me:$LINENO: checking for __builtin_sinf declaration" >&5
96353 echo $ECHO_N "checking for __builtin_sinf declaration... $ECHO_C" >&6
96354 if test x${glibcxx_cv_func___builtin_sinf_use+set} != xset; then
96355 if test "${glibcxx_cv_func___builtin_sinf_use+set}" = set; then
96356 echo $ECHO_N "(cached) $ECHO_C" >&6
96357 else
96358
96359
96360
96361 ac_ext=cc
96362 ac_cpp='$CXXCPP $CPPFLAGS'
96363 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96364 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96365 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
96366
96367 cat >conftest.$ac_ext <<_ACEOF
96368 /* confdefs.h. */
96369 _ACEOF
96370 cat confdefs.h >>conftest.$ac_ext
96371 cat >>conftest.$ac_ext <<_ACEOF
96372 /* end confdefs.h. */
96373 #include <math.h>
96374 int
96375 main ()
96376 {
96377 __builtin_sinf(0);
96378 ;
96379 return 0;
96380 }
96381 _ACEOF
96382 rm -f conftest.$ac_objext
96383 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
96384 (eval $ac_compile) 2>conftest.er1
96385 ac_status=$?
96386 grep -v '^ *+' conftest.er1 >conftest.err
96387 rm -f conftest.er1
96388 cat conftest.err >&5
96389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96390 (exit $ac_status); } &&
96391 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
96392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96393 (eval $ac_try) 2>&5
96394 ac_status=$?
96395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96396 (exit $ac_status); }; } &&
96397 { ac_try='test -s conftest.$ac_objext'
96398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96399 (eval $ac_try) 2>&5
96400 ac_status=$?
96401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96402 (exit $ac_status); }; }; then
96403 glibcxx_cv_func___builtin_sinf_use=yes
96404 else
96405 echo "$as_me: failed program was:" >&5
96406 sed 's/^/| /' conftest.$ac_ext >&5
96407
96408 glibcxx_cv_func___builtin_sinf_use=no
96409 fi
96410 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
96411 ac_ext=c
96412 ac_cpp='$CPP $CPPFLAGS'
96413 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96414 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96415 ac_compiler_gnu=$ac_cv_c_compiler_gnu
96416
96417
96418 fi
96419
96420 fi
96421 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_use" >&5
96422 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_use" >&6
96423 if test x$glibcxx_cv_func___builtin_sinf_use = x"yes"; then
96424 echo "$as_me:$LINENO: checking for __builtin_sinf linkage" >&5
96425 echo $ECHO_N "checking for __builtin_sinf linkage... $ECHO_C" >&6
96426 if test x${glibcxx_cv_func___builtin_sinf_link+set} != xset; then
96427 if test "${glibcxx_cv_func___builtin_sinf_link+set}" = set; then
96428 echo $ECHO_N "(cached) $ECHO_C" >&6
96429 else
96430
96431 if test x$gcc_no_link = xyes; then
96432 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
96433 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
96434 { (exit 1); exit 1; }; }
96435 fi
96436 cat >conftest.$ac_ext <<_ACEOF
96437 /* confdefs.h. */
96438 _ACEOF
96439 cat confdefs.h >>conftest.$ac_ext
96440 cat >>conftest.$ac_ext <<_ACEOF
96441 /* end confdefs.h. */
96442 #include <math.h>
96443 int
96444 main ()
96445 {
96446 __builtin_sinf(0);
96447 ;
96448 return 0;
96449 }
96450 _ACEOF
96451 rm -f conftest.$ac_objext conftest$ac_exeext
96452 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
96453 (eval $ac_link) 2>conftest.er1
96454 ac_status=$?
96455 grep -v '^ *+' conftest.er1 >conftest.err
96456 rm -f conftest.er1
96457 cat conftest.err >&5
96458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96459 (exit $ac_status); } &&
96460 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
96461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96462 (eval $ac_try) 2>&5
96463 ac_status=$?
96464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96465 (exit $ac_status); }; } &&
96466 { ac_try='test -s conftest$ac_exeext'
96467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96468 (eval $ac_try) 2>&5
96469 ac_status=$?
96470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96471 (exit $ac_status); }; }; then
96472 glibcxx_cv_func___builtin_sinf_link=yes
96473 else
96474 echo "$as_me: failed program was:" >&5
96475 sed 's/^/| /' conftest.$ac_ext >&5
96476
96477 glibcxx_cv_func___builtin_sinf_link=no
96478 fi
96479 rm -f conftest.err conftest.$ac_objext \
96480 conftest$ac_exeext conftest.$ac_ext
96481
96482 fi
96483
96484 fi
96485 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_link" >&5
96486 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_link" >&6
96487
96488 if test x$glibcxx_cv_func___builtin_sinf_link = x"yes"; then
96489
96490 cat >>confdefs.h <<\_ACEOF
96491 #define HAVE___BUILTIN_SINF 1
96492 _ACEOF
96493
96494 fi
96495
96496 fi
96497
96498
96499 echo "$as_me:$LINENO: checking for __builtin_sin declaration" >&5
96500 echo $ECHO_N "checking for __builtin_sin declaration... $ECHO_C" >&6
96501 if test x${glibcxx_cv_func___builtin_sin_use+set} != xset; then
96502 if test "${glibcxx_cv_func___builtin_sin_use+set}" = set; then
96503 echo $ECHO_N "(cached) $ECHO_C" >&6
96504 else
96505
96506
96507
96508 ac_ext=cc
96509 ac_cpp='$CXXCPP $CPPFLAGS'
96510 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96511 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96512 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
96513
96514 cat >conftest.$ac_ext <<_ACEOF
96515 /* confdefs.h. */
96516 _ACEOF
96517 cat confdefs.h >>conftest.$ac_ext
96518 cat >>conftest.$ac_ext <<_ACEOF
96519 /* end confdefs.h. */
96520 #include <math.h>
96521 int
96522 main ()
96523 {
96524 __builtin_sin(0);
96525 ;
96526 return 0;
96527 }
96528 _ACEOF
96529 rm -f conftest.$ac_objext
96530 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
96531 (eval $ac_compile) 2>conftest.er1
96532 ac_status=$?
96533 grep -v '^ *+' conftest.er1 >conftest.err
96534 rm -f conftest.er1
96535 cat conftest.err >&5
96536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96537 (exit $ac_status); } &&
96538 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
96539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96540 (eval $ac_try) 2>&5
96541 ac_status=$?
96542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96543 (exit $ac_status); }; } &&
96544 { ac_try='test -s conftest.$ac_objext'
96545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96546 (eval $ac_try) 2>&5
96547 ac_status=$?
96548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96549 (exit $ac_status); }; }; then
96550 glibcxx_cv_func___builtin_sin_use=yes
96551 else
96552 echo "$as_me: failed program was:" >&5
96553 sed 's/^/| /' conftest.$ac_ext >&5
96554
96555 glibcxx_cv_func___builtin_sin_use=no
96556 fi
96557 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
96558 ac_ext=c
96559 ac_cpp='$CPP $CPPFLAGS'
96560 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96561 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96562 ac_compiler_gnu=$ac_cv_c_compiler_gnu
96563
96564
96565 fi
96566
96567 fi
96568 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_use" >&5
96569 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_use" >&6
96570 if test x$glibcxx_cv_func___builtin_sin_use = x"yes"; then
96571 echo "$as_me:$LINENO: checking for __builtin_sin linkage" >&5
96572 echo $ECHO_N "checking for __builtin_sin linkage... $ECHO_C" >&6
96573 if test x${glibcxx_cv_func___builtin_sin_link+set} != xset; then
96574 if test "${glibcxx_cv_func___builtin_sin_link+set}" = set; then
96575 echo $ECHO_N "(cached) $ECHO_C" >&6
96576 else
96577
96578 if test x$gcc_no_link = xyes; then
96579 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
96580 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
96581 { (exit 1); exit 1; }; }
96582 fi
96583 cat >conftest.$ac_ext <<_ACEOF
96584 /* confdefs.h. */
96585 _ACEOF
96586 cat confdefs.h >>conftest.$ac_ext
96587 cat >>conftest.$ac_ext <<_ACEOF
96588 /* end confdefs.h. */
96589 #include <math.h>
96590 int
96591 main ()
96592 {
96593 __builtin_sin(0);
96594 ;
96595 return 0;
96596 }
96597 _ACEOF
96598 rm -f conftest.$ac_objext conftest$ac_exeext
96599 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
96600 (eval $ac_link) 2>conftest.er1
96601 ac_status=$?
96602 grep -v '^ *+' conftest.er1 >conftest.err
96603 rm -f conftest.er1
96604 cat conftest.err >&5
96605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96606 (exit $ac_status); } &&
96607 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
96608 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96609 (eval $ac_try) 2>&5
96610 ac_status=$?
96611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96612 (exit $ac_status); }; } &&
96613 { ac_try='test -s conftest$ac_exeext'
96614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96615 (eval $ac_try) 2>&5
96616 ac_status=$?
96617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96618 (exit $ac_status); }; }; then
96619 glibcxx_cv_func___builtin_sin_link=yes
96620 else
96621 echo "$as_me: failed program was:" >&5
96622 sed 's/^/| /' conftest.$ac_ext >&5
96623
96624 glibcxx_cv_func___builtin_sin_link=no
96625 fi
96626 rm -f conftest.err conftest.$ac_objext \
96627 conftest$ac_exeext conftest.$ac_ext
96628
96629 fi
96630
96631 fi
96632 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_link" >&5
96633 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_link" >&6
96634
96635 if test x$glibcxx_cv_func___builtin_sin_link = x"yes"; then
96636
96637 cat >>confdefs.h <<\_ACEOF
96638 #define HAVE___BUILTIN_SIN 1
96639 _ACEOF
96640
96641 fi
96642
96643 fi
96644
96645
96646 echo "$as_me:$LINENO: checking for __builtin_sinl declaration" >&5
96647 echo $ECHO_N "checking for __builtin_sinl declaration... $ECHO_C" >&6
96648 if test x${glibcxx_cv_func___builtin_sinl_use+set} != xset; then
96649 if test "${glibcxx_cv_func___builtin_sinl_use+set}" = set; then
96650 echo $ECHO_N "(cached) $ECHO_C" >&6
96651 else
96652
96653
96654
96655 ac_ext=cc
96656 ac_cpp='$CXXCPP $CPPFLAGS'
96657 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96658 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96659 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
96660
96661 cat >conftest.$ac_ext <<_ACEOF
96662 /* confdefs.h. */
96663 _ACEOF
96664 cat confdefs.h >>conftest.$ac_ext
96665 cat >>conftest.$ac_ext <<_ACEOF
96666 /* end confdefs.h. */
96667 #include <math.h>
96668 int
96669 main ()
96670 {
96671 __builtin_sinl(0);
96672 ;
96673 return 0;
96674 }
96675 _ACEOF
96676 rm -f conftest.$ac_objext
96677 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
96678 (eval $ac_compile) 2>conftest.er1
96679 ac_status=$?
96680 grep -v '^ *+' conftest.er1 >conftest.err
96681 rm -f conftest.er1
96682 cat conftest.err >&5
96683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96684 (exit $ac_status); } &&
96685 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
96686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96687 (eval $ac_try) 2>&5
96688 ac_status=$?
96689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96690 (exit $ac_status); }; } &&
96691 { ac_try='test -s conftest.$ac_objext'
96692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96693 (eval $ac_try) 2>&5
96694 ac_status=$?
96695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96696 (exit $ac_status); }; }; then
96697 glibcxx_cv_func___builtin_sinl_use=yes
96698 else
96699 echo "$as_me: failed program was:" >&5
96700 sed 's/^/| /' conftest.$ac_ext >&5
96701
96702 glibcxx_cv_func___builtin_sinl_use=no
96703 fi
96704 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
96705 ac_ext=c
96706 ac_cpp='$CPP $CPPFLAGS'
96707 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96708 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96709 ac_compiler_gnu=$ac_cv_c_compiler_gnu
96710
96711
96712 fi
96713
96714 fi
96715 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_use" >&5
96716 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_use" >&6
96717 if test x$glibcxx_cv_func___builtin_sinl_use = x"yes"; then
96718 echo "$as_me:$LINENO: checking for __builtin_sinl linkage" >&5
96719 echo $ECHO_N "checking for __builtin_sinl linkage... $ECHO_C" >&6
96720 if test x${glibcxx_cv_func___builtin_sinl_link+set} != xset; then
96721 if test "${glibcxx_cv_func___builtin_sinl_link+set}" = set; then
96722 echo $ECHO_N "(cached) $ECHO_C" >&6
96723 else
96724
96725 if test x$gcc_no_link = xyes; then
96726 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
96727 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
96728 { (exit 1); exit 1; }; }
96729 fi
96730 cat >conftest.$ac_ext <<_ACEOF
96731 /* confdefs.h. */
96732 _ACEOF
96733 cat confdefs.h >>conftest.$ac_ext
96734 cat >>conftest.$ac_ext <<_ACEOF
96735 /* end confdefs.h. */
96736 #include <math.h>
96737 int
96738 main ()
96739 {
96740 __builtin_sinl(0);
96741 ;
96742 return 0;
96743 }
96744 _ACEOF
96745 rm -f conftest.$ac_objext conftest$ac_exeext
96746 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
96747 (eval $ac_link) 2>conftest.er1
96748 ac_status=$?
96749 grep -v '^ *+' conftest.er1 >conftest.err
96750 rm -f conftest.er1
96751 cat conftest.err >&5
96752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96753 (exit $ac_status); } &&
96754 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
96755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96756 (eval $ac_try) 2>&5
96757 ac_status=$?
96758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96759 (exit $ac_status); }; } &&
96760 { ac_try='test -s conftest$ac_exeext'
96761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96762 (eval $ac_try) 2>&5
96763 ac_status=$?
96764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96765 (exit $ac_status); }; }; then
96766 glibcxx_cv_func___builtin_sinl_link=yes
96767 else
96768 echo "$as_me: failed program was:" >&5
96769 sed 's/^/| /' conftest.$ac_ext >&5
96770
96771 glibcxx_cv_func___builtin_sinl_link=no
96772 fi
96773 rm -f conftest.err conftest.$ac_objext \
96774 conftest$ac_exeext conftest.$ac_ext
96775
96776 fi
96777
96778 fi
96779 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_link" >&5
96780 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_link" >&6
96781
96782 if test x$glibcxx_cv_func___builtin_sinl_link = x"yes"; then
96783
96784 cat >>confdefs.h <<\_ACEOF
96785 #define HAVE___BUILTIN_SINL 1
96786 _ACEOF
96787
96788 fi
96789
96790 fi
96791
96792
96793
96794 echo "$as_me:$LINENO: checking for __builtin_cosf declaration" >&5
96795 echo $ECHO_N "checking for __builtin_cosf declaration... $ECHO_C" >&6
96796 if test x${glibcxx_cv_func___builtin_cosf_use+set} != xset; then
96797 if test "${glibcxx_cv_func___builtin_cosf_use+set}" = set; then
96798 echo $ECHO_N "(cached) $ECHO_C" >&6
96799 else
96800
96801
96802
96803 ac_ext=cc
96804 ac_cpp='$CXXCPP $CPPFLAGS'
96805 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96806 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96807 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
96808
96809 cat >conftest.$ac_ext <<_ACEOF
96810 /* confdefs.h. */
96811 _ACEOF
96812 cat confdefs.h >>conftest.$ac_ext
96813 cat >>conftest.$ac_ext <<_ACEOF
96814 /* end confdefs.h. */
96815 #include <math.h>
96816 int
96817 main ()
96818 {
96819 __builtin_cosf(0);
96820 ;
96821 return 0;
96822 }
96823 _ACEOF
96824 rm -f conftest.$ac_objext
96825 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
96826 (eval $ac_compile) 2>conftest.er1
96827 ac_status=$?
96828 grep -v '^ *+' conftest.er1 >conftest.err
96829 rm -f conftest.er1
96830 cat conftest.err >&5
96831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96832 (exit $ac_status); } &&
96833 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
96834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96835 (eval $ac_try) 2>&5
96836 ac_status=$?
96837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96838 (exit $ac_status); }; } &&
96839 { ac_try='test -s conftest.$ac_objext'
96840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96841 (eval $ac_try) 2>&5
96842 ac_status=$?
96843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96844 (exit $ac_status); }; }; then
96845 glibcxx_cv_func___builtin_cosf_use=yes
96846 else
96847 echo "$as_me: failed program was:" >&5
96848 sed 's/^/| /' conftest.$ac_ext >&5
96849
96850 glibcxx_cv_func___builtin_cosf_use=no
96851 fi
96852 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
96853 ac_ext=c
96854 ac_cpp='$CPP $CPPFLAGS'
96855 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96856 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96857 ac_compiler_gnu=$ac_cv_c_compiler_gnu
96858
96859
96860 fi
96861
96862 fi
96863 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_use" >&5
96864 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_use" >&6
96865 if test x$glibcxx_cv_func___builtin_cosf_use = x"yes"; then
96866 echo "$as_me:$LINENO: checking for __builtin_cosf linkage" >&5
96867 echo $ECHO_N "checking for __builtin_cosf linkage... $ECHO_C" >&6
96868 if test x${glibcxx_cv_func___builtin_cosf_link+set} != xset; then
96869 if test "${glibcxx_cv_func___builtin_cosf_link+set}" = set; then
96870 echo $ECHO_N "(cached) $ECHO_C" >&6
96871 else
96872
96873 if test x$gcc_no_link = xyes; then
96874 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
96875 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
96876 { (exit 1); exit 1; }; }
96877 fi
96878 cat >conftest.$ac_ext <<_ACEOF
96879 /* confdefs.h. */
96880 _ACEOF
96881 cat confdefs.h >>conftest.$ac_ext
96882 cat >>conftest.$ac_ext <<_ACEOF
96883 /* end confdefs.h. */
96884 #include <math.h>
96885 int
96886 main ()
96887 {
96888 __builtin_cosf(0);
96889 ;
96890 return 0;
96891 }
96892 _ACEOF
96893 rm -f conftest.$ac_objext conftest$ac_exeext
96894 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
96895 (eval $ac_link) 2>conftest.er1
96896 ac_status=$?
96897 grep -v '^ *+' conftest.er1 >conftest.err
96898 rm -f conftest.er1
96899 cat conftest.err >&5
96900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96901 (exit $ac_status); } &&
96902 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
96903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96904 (eval $ac_try) 2>&5
96905 ac_status=$?
96906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96907 (exit $ac_status); }; } &&
96908 { ac_try='test -s conftest$ac_exeext'
96909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96910 (eval $ac_try) 2>&5
96911 ac_status=$?
96912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96913 (exit $ac_status); }; }; then
96914 glibcxx_cv_func___builtin_cosf_link=yes
96915 else
96916 echo "$as_me: failed program was:" >&5
96917 sed 's/^/| /' conftest.$ac_ext >&5
96918
96919 glibcxx_cv_func___builtin_cosf_link=no
96920 fi
96921 rm -f conftest.err conftest.$ac_objext \
96922 conftest$ac_exeext conftest.$ac_ext
96923
96924 fi
96925
96926 fi
96927 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_link" >&5
96928 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_link" >&6
96929
96930 if test x$glibcxx_cv_func___builtin_cosf_link = x"yes"; then
96931
96932 cat >>confdefs.h <<\_ACEOF
96933 #define HAVE___BUILTIN_COSF 1
96934 _ACEOF
96935
96936 fi
96937
96938 fi
96939
96940
96941 echo "$as_me:$LINENO: checking for __builtin_cos declaration" >&5
96942 echo $ECHO_N "checking for __builtin_cos declaration... $ECHO_C" >&6
96943 if test x${glibcxx_cv_func___builtin_cos_use+set} != xset; then
96944 if test "${glibcxx_cv_func___builtin_cos_use+set}" = set; then
96945 echo $ECHO_N "(cached) $ECHO_C" >&6
96946 else
96947
96948
96949
96950 ac_ext=cc
96951 ac_cpp='$CXXCPP $CPPFLAGS'
96952 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96953 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96954 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
96955
96956 cat >conftest.$ac_ext <<_ACEOF
96957 /* confdefs.h. */
96958 _ACEOF
96959 cat confdefs.h >>conftest.$ac_ext
96960 cat >>conftest.$ac_ext <<_ACEOF
96961 /* end confdefs.h. */
96962 #include <math.h>
96963 int
96964 main ()
96965 {
96966 __builtin_cos(0);
96967 ;
96968 return 0;
96969 }
96970 _ACEOF
96971 rm -f conftest.$ac_objext
96972 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
96973 (eval $ac_compile) 2>conftest.er1
96974 ac_status=$?
96975 grep -v '^ *+' conftest.er1 >conftest.err
96976 rm -f conftest.er1
96977 cat conftest.err >&5
96978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96979 (exit $ac_status); } &&
96980 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
96981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96982 (eval $ac_try) 2>&5
96983 ac_status=$?
96984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96985 (exit $ac_status); }; } &&
96986 { ac_try='test -s conftest.$ac_objext'
96987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96988 (eval $ac_try) 2>&5
96989 ac_status=$?
96990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96991 (exit $ac_status); }; }; then
96992 glibcxx_cv_func___builtin_cos_use=yes
96993 else
96994 echo "$as_me: failed program was:" >&5
96995 sed 's/^/| /' conftest.$ac_ext >&5
96996
96997 glibcxx_cv_func___builtin_cos_use=no
96998 fi
96999 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
97000 ac_ext=c
97001 ac_cpp='$CPP $CPPFLAGS'
97002 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97003 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97004 ac_compiler_gnu=$ac_cv_c_compiler_gnu
97005
97006
97007 fi
97008
97009 fi
97010 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_use" >&5
97011 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_use" >&6
97012 if test x$glibcxx_cv_func___builtin_cos_use = x"yes"; then
97013 echo "$as_me:$LINENO: checking for __builtin_cos linkage" >&5
97014 echo $ECHO_N "checking for __builtin_cos linkage... $ECHO_C" >&6
97015 if test x${glibcxx_cv_func___builtin_cos_link+set} != xset; then
97016 if test "${glibcxx_cv_func___builtin_cos_link+set}" = set; then
97017 echo $ECHO_N "(cached) $ECHO_C" >&6
97018 else
97019
97020 if test x$gcc_no_link = xyes; then
97021 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
97022 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
97023 { (exit 1); exit 1; }; }
97024 fi
97025 cat >conftest.$ac_ext <<_ACEOF
97026 /* confdefs.h. */
97027 _ACEOF
97028 cat confdefs.h >>conftest.$ac_ext
97029 cat >>conftest.$ac_ext <<_ACEOF
97030 /* end confdefs.h. */
97031 #include <math.h>
97032 int
97033 main ()
97034 {
97035 __builtin_cos(0);
97036 ;
97037 return 0;
97038 }
97039 _ACEOF
97040 rm -f conftest.$ac_objext conftest$ac_exeext
97041 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
97042 (eval $ac_link) 2>conftest.er1
97043 ac_status=$?
97044 grep -v '^ *+' conftest.er1 >conftest.err
97045 rm -f conftest.er1
97046 cat conftest.err >&5
97047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97048 (exit $ac_status); } &&
97049 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
97050 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97051 (eval $ac_try) 2>&5
97052 ac_status=$?
97053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97054 (exit $ac_status); }; } &&
97055 { ac_try='test -s conftest$ac_exeext'
97056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97057 (eval $ac_try) 2>&5
97058 ac_status=$?
97059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97060 (exit $ac_status); }; }; then
97061 glibcxx_cv_func___builtin_cos_link=yes
97062 else
97063 echo "$as_me: failed program was:" >&5
97064 sed 's/^/| /' conftest.$ac_ext >&5
97065
97066 glibcxx_cv_func___builtin_cos_link=no
97067 fi
97068 rm -f conftest.err conftest.$ac_objext \
97069 conftest$ac_exeext conftest.$ac_ext
97070
97071 fi
97072
97073 fi
97074 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_link" >&5
97075 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_link" >&6
97076
97077 if test x$glibcxx_cv_func___builtin_cos_link = x"yes"; then
97078
97079 cat >>confdefs.h <<\_ACEOF
97080 #define HAVE___BUILTIN_COS 1
97081 _ACEOF
97082
97083 fi
97084
97085 fi
97086
97087
97088 echo "$as_me:$LINENO: checking for __builtin_cosl declaration" >&5
97089 echo $ECHO_N "checking for __builtin_cosl declaration... $ECHO_C" >&6
97090 if test x${glibcxx_cv_func___builtin_cosl_use+set} != xset; then
97091 if test "${glibcxx_cv_func___builtin_cosl_use+set}" = set; then
97092 echo $ECHO_N "(cached) $ECHO_C" >&6
97093 else
97094
97095
97096
97097 ac_ext=cc
97098 ac_cpp='$CXXCPP $CPPFLAGS'
97099 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97100 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97101 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
97102
97103 cat >conftest.$ac_ext <<_ACEOF
97104 /* confdefs.h. */
97105 _ACEOF
97106 cat confdefs.h >>conftest.$ac_ext
97107 cat >>conftest.$ac_ext <<_ACEOF
97108 /* end confdefs.h. */
97109 #include <math.h>
97110 int
97111 main ()
97112 {
97113 __builtin_cosl(0);
97114 ;
97115 return 0;
97116 }
97117 _ACEOF
97118 rm -f conftest.$ac_objext
97119 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
97120 (eval $ac_compile) 2>conftest.er1
97121 ac_status=$?
97122 grep -v '^ *+' conftest.er1 >conftest.err
97123 rm -f conftest.er1
97124 cat conftest.err >&5
97125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97126 (exit $ac_status); } &&
97127 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
97128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97129 (eval $ac_try) 2>&5
97130 ac_status=$?
97131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97132 (exit $ac_status); }; } &&
97133 { ac_try='test -s conftest.$ac_objext'
97134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97135 (eval $ac_try) 2>&5
97136 ac_status=$?
97137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97138 (exit $ac_status); }; }; then
97139 glibcxx_cv_func___builtin_cosl_use=yes
97140 else
97141 echo "$as_me: failed program was:" >&5
97142 sed 's/^/| /' conftest.$ac_ext >&5
97143
97144 glibcxx_cv_func___builtin_cosl_use=no
97145 fi
97146 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
97147 ac_ext=c
97148 ac_cpp='$CPP $CPPFLAGS'
97149 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97150 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97151 ac_compiler_gnu=$ac_cv_c_compiler_gnu
97152
97153
97154 fi
97155
97156 fi
97157 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_use" >&5
97158 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_use" >&6
97159 if test x$glibcxx_cv_func___builtin_cosl_use = x"yes"; then
97160 echo "$as_me:$LINENO: checking for __builtin_cosl linkage" >&5
97161 echo $ECHO_N "checking for __builtin_cosl linkage... $ECHO_C" >&6
97162 if test x${glibcxx_cv_func___builtin_cosl_link+set} != xset; then
97163 if test "${glibcxx_cv_func___builtin_cosl_link+set}" = set; then
97164 echo $ECHO_N "(cached) $ECHO_C" >&6
97165 else
97166
97167 if test x$gcc_no_link = xyes; then
97168 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
97169 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
97170 { (exit 1); exit 1; }; }
97171 fi
97172 cat >conftest.$ac_ext <<_ACEOF
97173 /* confdefs.h. */
97174 _ACEOF
97175 cat confdefs.h >>conftest.$ac_ext
97176 cat >>conftest.$ac_ext <<_ACEOF
97177 /* end confdefs.h. */
97178 #include <math.h>
97179 int
97180 main ()
97181 {
97182 __builtin_cosl(0);
97183 ;
97184 return 0;
97185 }
97186 _ACEOF
97187 rm -f conftest.$ac_objext conftest$ac_exeext
97188 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
97189 (eval $ac_link) 2>conftest.er1
97190 ac_status=$?
97191 grep -v '^ *+' conftest.er1 >conftest.err
97192 rm -f conftest.er1
97193 cat conftest.err >&5
97194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97195 (exit $ac_status); } &&
97196 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
97197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97198 (eval $ac_try) 2>&5
97199 ac_status=$?
97200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97201 (exit $ac_status); }; } &&
97202 { ac_try='test -s conftest$ac_exeext'
97203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97204 (eval $ac_try) 2>&5
97205 ac_status=$?
97206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97207 (exit $ac_status); }; }; then
97208 glibcxx_cv_func___builtin_cosl_link=yes
97209 else
97210 echo "$as_me: failed program was:" >&5
97211 sed 's/^/| /' conftest.$ac_ext >&5
97212
97213 glibcxx_cv_func___builtin_cosl_link=no
97214 fi
97215 rm -f conftest.err conftest.$ac_objext \
97216 conftest$ac_exeext conftest.$ac_ext
97217
97218 fi
97219
97220 fi
97221 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_link" >&5
97222 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_link" >&6
97223
97224 if test x$glibcxx_cv_func___builtin_cosl_link = x"yes"; then
97225
97226 cat >>confdefs.h <<\_ACEOF
97227 #define HAVE___BUILTIN_COSL 1
97228 _ACEOF
97229
97230 fi
97231
97232 fi
97233
97234
97235
97236
97237 echo "$as_me:$LINENO: checking for main in -lm" >&5
97238 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
97239 if test "${ac_cv_lib_m_main+set}" = set; then
97240 echo $ECHO_N "(cached) $ECHO_C" >&6
97241 else
97242 ac_check_lib_save_LIBS=$LIBS
97243 LIBS="-lm $LIBS"
97244 if test x$gcc_no_link = xyes; then
97245 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
97246 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
97247 { (exit 1); exit 1; }; }
97248 fi
97249 cat >conftest.$ac_ext <<_ACEOF
97250 /* confdefs.h. */
97251 _ACEOF
97252 cat confdefs.h >>conftest.$ac_ext
97253 cat >>conftest.$ac_ext <<_ACEOF
97254 /* end confdefs.h. */
97255
97256
97257 int
97258 main ()
97259 {
97260 main ();
97261 ;
97262 return 0;
97263 }
97264 _ACEOF
97265 rm -f conftest.$ac_objext conftest$ac_exeext
97266 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
97267 (eval $ac_link) 2>conftest.er1
97268 ac_status=$?
97269 grep -v '^ *+' conftest.er1 >conftest.err
97270 rm -f conftest.er1
97271 cat conftest.err >&5
97272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97273 (exit $ac_status); } &&
97274 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
97275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97276 (eval $ac_try) 2>&5
97277 ac_status=$?
97278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97279 (exit $ac_status); }; } &&
97280 { ac_try='test -s conftest$ac_exeext'
97281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97282 (eval $ac_try) 2>&5
97283 ac_status=$?
97284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97285 (exit $ac_status); }; }; then
97286 ac_cv_lib_m_main=yes
97287 else
97288 echo "$as_me: failed program was:" >&5
97289 sed 's/^/| /' conftest.$ac_ext >&5
97290
97291 ac_cv_lib_m_main=no
97292 fi
97293 rm -f conftest.err conftest.$ac_objext \
97294 conftest$ac_exeext conftest.$ac_ext
97295 LIBS=$ac_check_lib_save_LIBS
97296 fi
97297 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
97298 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
97299 if test $ac_cv_lib_m_main = yes; then
97300 cat >>confdefs.h <<_ACEOF
97301 #define HAVE_LIBM 1
97302 _ACEOF
97303
97304 LIBS="-lm $LIBS"
97305
97306 fi
97307
97308
97309 for ac_func in copysignf
97310 do
97311 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
97312 echo "$as_me:$LINENO: checking for $ac_func" >&5
97313 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
97314 if eval "test \"\${$as_ac_var+set}\" = set"; then
97315 echo $ECHO_N "(cached) $ECHO_C" >&6
97316 else
97317 if test x$gcc_no_link = xyes; then
97318 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
97319 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
97320 { (exit 1); exit 1; }; }
97321 fi
97322 cat >conftest.$ac_ext <<_ACEOF
97323 /* confdefs.h. */
97324 _ACEOF
97325 cat confdefs.h >>conftest.$ac_ext
97326 cat >>conftest.$ac_ext <<_ACEOF
97327 /* end confdefs.h. */
97328 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
97329 For example, HP-UX 11i <limits.h> declares gettimeofday. */
97330 #define $ac_func innocuous_$ac_func
97331
97332 /* System header to define __stub macros and hopefully few prototypes,
97333 which can conflict with char $ac_func (); below.
97334 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
97335 <limits.h> exists even on freestanding compilers. */
97336
97337 #ifdef __STDC__
97338 # include <limits.h>
97339 #else
97340 # include <assert.h>
97341 #endif
97342
97343 #undef $ac_func
97344
97345 /* Override any gcc2 internal prototype to avoid an error. */
97346 #ifdef __cplusplus
97347 extern "C"
97348 {
97349 #endif
97350 /* We use char because int might match the return type of a gcc2
97351 builtin and then its argument prototype would still apply. */
97352 char $ac_func ();
97353 /* The GNU C library defines this for functions which it implements
97354 to always fail with ENOSYS. Some functions are actually named
97355 something starting with __ and the normal name is an alias. */
97356 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
97357 choke me
97358 #else
97359 char (*f) () = $ac_func;
97360 #endif
97361 #ifdef __cplusplus
97362 }
97363 #endif
97364
97365 int
97366 main ()
97367 {
97368 return f != $ac_func;
97369 ;
97370 return 0;
97371 }
97372 _ACEOF
97373 rm -f conftest.$ac_objext conftest$ac_exeext
97374 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
97375 (eval $ac_link) 2>conftest.er1
97376 ac_status=$?
97377 grep -v '^ *+' conftest.er1 >conftest.err
97378 rm -f conftest.er1
97379 cat conftest.err >&5
97380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97381 (exit $ac_status); } &&
97382 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
97383 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97384 (eval $ac_try) 2>&5
97385 ac_status=$?
97386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97387 (exit $ac_status); }; } &&
97388 { ac_try='test -s conftest$ac_exeext'
97389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97390 (eval $ac_try) 2>&5
97391 ac_status=$?
97392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97393 (exit $ac_status); }; }; then
97394 eval "$as_ac_var=yes"
97395 else
97396 echo "$as_me: failed program was:" >&5
97397 sed 's/^/| /' conftest.$ac_ext >&5
97398
97399 eval "$as_ac_var=no"
97400 fi
97401 rm -f conftest.err conftest.$ac_objext \
97402 conftest$ac_exeext conftest.$ac_ext
97403 fi
97404 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
97405 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
97406 if test `eval echo '${'$as_ac_var'}'` = yes; then
97407 cat >>confdefs.h <<_ACEOF
97408 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
97409 _ACEOF
97410
97411 else
97412 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
97413 fi
97414 done
97415
97416
97417
97418 for ac_func in __signbit
97419 do
97420 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
97421 echo "$as_me:$LINENO: checking for $ac_func" >&5
97422 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
97423 if eval "test \"\${$as_ac_var+set}\" = set"; then
97424 echo $ECHO_N "(cached) $ECHO_C" >&6
97425 else
97426 if test x$gcc_no_link = xyes; then
97427 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
97428 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
97429 { (exit 1); exit 1; }; }
97430 fi
97431 cat >conftest.$ac_ext <<_ACEOF
97432 /* confdefs.h. */
97433 _ACEOF
97434 cat confdefs.h >>conftest.$ac_ext
97435 cat >>conftest.$ac_ext <<_ACEOF
97436 /* end confdefs.h. */
97437 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
97438 For example, HP-UX 11i <limits.h> declares gettimeofday. */
97439 #define $ac_func innocuous_$ac_func
97440
97441 /* System header to define __stub macros and hopefully few prototypes,
97442 which can conflict with char $ac_func (); below.
97443 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
97444 <limits.h> exists even on freestanding compilers. */
97445
97446 #ifdef __STDC__
97447 # include <limits.h>
97448 #else
97449 # include <assert.h>
97450 #endif
97451
97452 #undef $ac_func
97453
97454 /* Override any gcc2 internal prototype to avoid an error. */
97455 #ifdef __cplusplus
97456 extern "C"
97457 {
97458 #endif
97459 /* We use char because int might match the return type of a gcc2
97460 builtin and then its argument prototype would still apply. */
97461 char $ac_func ();
97462 /* The GNU C library defines this for functions which it implements
97463 to always fail with ENOSYS. Some functions are actually named
97464 something starting with __ and the normal name is an alias. */
97465 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
97466 choke me
97467 #else
97468 char (*f) () = $ac_func;
97469 #endif
97470 #ifdef __cplusplus
97471 }
97472 #endif
97473
97474 int
97475 main ()
97476 {
97477 return f != $ac_func;
97478 ;
97479 return 0;
97480 }
97481 _ACEOF
97482 rm -f conftest.$ac_objext conftest$ac_exeext
97483 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
97484 (eval $ac_link) 2>conftest.er1
97485 ac_status=$?
97486 grep -v '^ *+' conftest.er1 >conftest.err
97487 rm -f conftest.er1
97488 cat conftest.err >&5
97489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97490 (exit $ac_status); } &&
97491 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
97492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97493 (eval $ac_try) 2>&5
97494 ac_status=$?
97495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97496 (exit $ac_status); }; } &&
97497 { ac_try='test -s conftest$ac_exeext'
97498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97499 (eval $ac_try) 2>&5
97500 ac_status=$?
97501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97502 (exit $ac_status); }; }; then
97503 eval "$as_ac_var=yes"
97504 else
97505 echo "$as_me: failed program was:" >&5
97506 sed 's/^/| /' conftest.$ac_ext >&5
97507
97508 eval "$as_ac_var=no"
97509 fi
97510 rm -f conftest.err conftest.$ac_objext \
97511 conftest$ac_exeext conftest.$ac_ext
97512 fi
97513 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
97514 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
97515 if test `eval echo '${'$as_ac_var'}'` = yes; then
97516 cat >>confdefs.h <<_ACEOF
97517 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
97518 _ACEOF
97519
97520 else
97521 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
97522 fi
97523 done
97524
97525
97526
97527 for ac_func in __signbitf
97528 do
97529 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
97530 echo "$as_me:$LINENO: checking for $ac_func" >&5
97531 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
97532 if eval "test \"\${$as_ac_var+set}\" = set"; then
97533 echo $ECHO_N "(cached) $ECHO_C" >&6
97534 else
97535 if test x$gcc_no_link = xyes; then
97536 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
97537 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
97538 { (exit 1); exit 1; }; }
97539 fi
97540 cat >conftest.$ac_ext <<_ACEOF
97541 /* confdefs.h. */
97542 _ACEOF
97543 cat confdefs.h >>conftest.$ac_ext
97544 cat >>conftest.$ac_ext <<_ACEOF
97545 /* end confdefs.h. */
97546 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
97547 For example, HP-UX 11i <limits.h> declares gettimeofday. */
97548 #define $ac_func innocuous_$ac_func
97549
97550 /* System header to define __stub macros and hopefully few prototypes,
97551 which can conflict with char $ac_func (); below.
97552 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
97553 <limits.h> exists even on freestanding compilers. */
97554
97555 #ifdef __STDC__
97556 # include <limits.h>
97557 #else
97558 # include <assert.h>
97559 #endif
97560
97561 #undef $ac_func
97562
97563 /* Override any gcc2 internal prototype to avoid an error. */
97564 #ifdef __cplusplus
97565 extern "C"
97566 {
97567 #endif
97568 /* We use char because int might match the return type of a gcc2
97569 builtin and then its argument prototype would still apply. */
97570 char $ac_func ();
97571 /* The GNU C library defines this for functions which it implements
97572 to always fail with ENOSYS. Some functions are actually named
97573 something starting with __ and the normal name is an alias. */
97574 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
97575 choke me
97576 #else
97577 char (*f) () = $ac_func;
97578 #endif
97579 #ifdef __cplusplus
97580 }
97581 #endif
97582
97583 int
97584 main ()
97585 {
97586 return f != $ac_func;
97587 ;
97588 return 0;
97589 }
97590 _ACEOF
97591 rm -f conftest.$ac_objext conftest$ac_exeext
97592 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
97593 (eval $ac_link) 2>conftest.er1
97594 ac_status=$?
97595 grep -v '^ *+' conftest.er1 >conftest.err
97596 rm -f conftest.er1
97597 cat conftest.err >&5
97598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97599 (exit $ac_status); } &&
97600 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
97601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97602 (eval $ac_try) 2>&5
97603 ac_status=$?
97604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97605 (exit $ac_status); }; } &&
97606 { ac_try='test -s conftest$ac_exeext'
97607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97608 (eval $ac_try) 2>&5
97609 ac_status=$?
97610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97611 (exit $ac_status); }; }; then
97612 eval "$as_ac_var=yes"
97613 else
97614 echo "$as_me: failed program was:" >&5
97615 sed 's/^/| /' conftest.$ac_ext >&5
97616
97617 eval "$as_ac_var=no"
97618 fi
97619 rm -f conftest.err conftest.$ac_objext \
97620 conftest$ac_exeext conftest.$ac_ext
97621 fi
97622 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
97623 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
97624 if test `eval echo '${'$as_ac_var'}'` = yes; then
97625 cat >>confdefs.h <<_ACEOF
97626 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
97627 _ACEOF
97628
97629 else
97630 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
97631 fi
97632 done
97633
97634
97635 if test x$ac_cv_func_copysignl = x"yes"; then
97636
97637 for ac_func in __signbitl
97638 do
97639 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
97640 echo "$as_me:$LINENO: checking for $ac_func" >&5
97641 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
97642 if eval "test \"\${$as_ac_var+set}\" = set"; then
97643 echo $ECHO_N "(cached) $ECHO_C" >&6
97644 else
97645 if test x$gcc_no_link = xyes; then
97646 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
97647 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
97648 { (exit 1); exit 1; }; }
97649 fi
97650 cat >conftest.$ac_ext <<_ACEOF
97651 /* confdefs.h. */
97652 _ACEOF
97653 cat confdefs.h >>conftest.$ac_ext
97654 cat >>conftest.$ac_ext <<_ACEOF
97655 /* end confdefs.h. */
97656 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
97657 For example, HP-UX 11i <limits.h> declares gettimeofday. */
97658 #define $ac_func innocuous_$ac_func
97659
97660 /* System header to define __stub macros and hopefully few prototypes,
97661 which can conflict with char $ac_func (); below.
97662 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
97663 <limits.h> exists even on freestanding compilers. */
97664
97665 #ifdef __STDC__
97666 # include <limits.h>
97667 #else
97668 # include <assert.h>
97669 #endif
97670
97671 #undef $ac_func
97672
97673 /* Override any gcc2 internal prototype to avoid an error. */
97674 #ifdef __cplusplus
97675 extern "C"
97676 {
97677 #endif
97678 /* We use char because int might match the return type of a gcc2
97679 builtin and then its argument prototype would still apply. */
97680 char $ac_func ();
97681 /* The GNU C library defines this for functions which it implements
97682 to always fail with ENOSYS. Some functions are actually named
97683 something starting with __ and the normal name is an alias. */
97684 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
97685 choke me
97686 #else
97687 char (*f) () = $ac_func;
97688 #endif
97689 #ifdef __cplusplus
97690 }
97691 #endif
97692
97693 int
97694 main ()
97695 {
97696 return f != $ac_func;
97697 ;
97698 return 0;
97699 }
97700 _ACEOF
97701 rm -f conftest.$ac_objext conftest$ac_exeext
97702 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
97703 (eval $ac_link) 2>conftest.er1
97704 ac_status=$?
97705 grep -v '^ *+' conftest.er1 >conftest.err
97706 rm -f conftest.er1
97707 cat conftest.err >&5
97708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97709 (exit $ac_status); } &&
97710 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
97711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97712 (eval $ac_try) 2>&5
97713 ac_status=$?
97714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97715 (exit $ac_status); }; } &&
97716 { ac_try='test -s conftest$ac_exeext'
97717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97718 (eval $ac_try) 2>&5
97719 ac_status=$?
97720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97721 (exit $ac_status); }; }; then
97722 eval "$as_ac_var=yes"
97723 else
97724 echo "$as_me: failed program was:" >&5
97725 sed 's/^/| /' conftest.$ac_ext >&5
97726
97727 eval "$as_ac_var=no"
97728 fi
97729 rm -f conftest.err conftest.$ac_objext \
97730 conftest$ac_exeext conftest.$ac_ext
97731 fi
97732 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
97733 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
97734 if test `eval echo '${'$as_ac_var'}'` = yes; then
97735 cat >>confdefs.h <<_ACEOF
97736 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
97737 _ACEOF
97738
97739 else
97740 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
97741 fi
97742 done
97743
97744 fi
97745
97746 # Used in libmath/Makefile.am.
97747 if test -n "$LIBMATHOBJS"; then
97748 need_libmath=yes
97749 fi
97750
97751
97752
97753
97754 enable_iconv=no
97755 # Only continue checking if the ISO C99 headers exist and support is on.
97756 if test x"$enable_wchar_t" = xyes; then
97757
97758 # Use iconv for wchar_t to char conversions. As such, check for
97759 # X/Open Portability Guide, version 2 features (XPG2).
97760 if test "${ac_cv_header_iconv_h+set}" = set; then
97761 echo "$as_me:$LINENO: checking for iconv.h" >&5
97762 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
97763 if test "${ac_cv_header_iconv_h+set}" = set; then
97764 echo $ECHO_N "(cached) $ECHO_C" >&6
97765 fi
97766 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
97767 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
97768 else
97769 # Is the header compilable?
97770 echo "$as_me:$LINENO: checking iconv.h usability" >&5
97771 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
97772 cat >conftest.$ac_ext <<_ACEOF
97773 /* confdefs.h. */
97774 _ACEOF
97775 cat confdefs.h >>conftest.$ac_ext
97776 cat >>conftest.$ac_ext <<_ACEOF
97777 /* end confdefs.h. */
97778 $ac_includes_default
97779 #include <iconv.h>
97780 _ACEOF
97781 rm -f conftest.$ac_objext
97782 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
97783 (eval $ac_compile) 2>conftest.er1
97784 ac_status=$?
97785 grep -v '^ *+' conftest.er1 >conftest.err
97786 rm -f conftest.er1
97787 cat conftest.err >&5
97788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97789 (exit $ac_status); } &&
97790 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
97791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97792 (eval $ac_try) 2>&5
97793 ac_status=$?
97794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97795 (exit $ac_status); }; } &&
97796 { ac_try='test -s conftest.$ac_objext'
97797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97798 (eval $ac_try) 2>&5
97799 ac_status=$?
97800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97801 (exit $ac_status); }; }; then
97802 ac_header_compiler=yes
97803 else
97804 echo "$as_me: failed program was:" >&5
97805 sed 's/^/| /' conftest.$ac_ext >&5
97806
97807 ac_header_compiler=no
97808 fi
97809 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
97810 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
97811 echo "${ECHO_T}$ac_header_compiler" >&6
97812
97813 # Is the header present?
97814 echo "$as_me:$LINENO: checking iconv.h presence" >&5
97815 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
97816 cat >conftest.$ac_ext <<_ACEOF
97817 /* confdefs.h. */
97818 _ACEOF
97819 cat confdefs.h >>conftest.$ac_ext
97820 cat >>conftest.$ac_ext <<_ACEOF
97821 /* end confdefs.h. */
97822 #include <iconv.h>
97823 _ACEOF
97824 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
97825 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
97826 ac_status=$?
97827 grep -v '^ *+' conftest.er1 >conftest.err
97828 rm -f conftest.er1
97829 cat conftest.err >&5
97830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97831 (exit $ac_status); } >/dev/null; then
97832 if test -s conftest.err; then
97833 ac_cpp_err=$ac_c_preproc_warn_flag
97834 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
97835 else
97836 ac_cpp_err=
97837 fi
97838 else
97839 ac_cpp_err=yes
97840 fi
97841 if test -z "$ac_cpp_err"; then
97842 ac_header_preproc=yes
97843 else
97844 echo "$as_me: failed program was:" >&5
97845 sed 's/^/| /' conftest.$ac_ext >&5
97846
97847 ac_header_preproc=no
97848 fi
97849 rm -f conftest.err conftest.$ac_ext
97850 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
97851 echo "${ECHO_T}$ac_header_preproc" >&6
97852
97853 # So? What about this header?
97854 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
97855 yes:no: )
97856 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
97857 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
97858 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
97859 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
97860 ac_header_preproc=yes
97861 ;;
97862 no:yes:* )
97863 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
97864 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
97865 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
97866 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
97867 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
97868 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
97869 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
97870 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
97871 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
97872 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
97873 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
97874 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
97875 (
97876 cat <<\_ASBOX
97877 ## ----------------------------------------- ##
97878 ## Report this to the package-unused lists. ##
97879 ## ----------------------------------------- ##
97880 _ASBOX
97881 ) |
97882 sed "s/^/$as_me: WARNING: /" >&2
97883 ;;
97884 esac
97885 echo "$as_me:$LINENO: checking for iconv.h" >&5
97886 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
97887 if test "${ac_cv_header_iconv_h+set}" = set; then
97888 echo $ECHO_N "(cached) $ECHO_C" >&6
97889 else
97890 ac_cv_header_iconv_h=$ac_header_preproc
97891 fi
97892 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
97893 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
97894
97895 fi
97896 if test $ac_cv_header_iconv_h = yes; then
97897 ac_has_iconv_h=yes
97898 else
97899 ac_has_iconv_h=no
97900 fi
97901
97902
97903 if test "${ac_cv_header_langinfo_h+set}" = set; then
97904 echo "$as_me:$LINENO: checking for langinfo.h" >&5
97905 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
97906 if test "${ac_cv_header_langinfo_h+set}" = set; then
97907 echo $ECHO_N "(cached) $ECHO_C" >&6
97908 fi
97909 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
97910 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
97911 else
97912 # Is the header compilable?
97913 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
97914 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
97915 cat >conftest.$ac_ext <<_ACEOF
97916 /* confdefs.h. */
97917 _ACEOF
97918 cat confdefs.h >>conftest.$ac_ext
97919 cat >>conftest.$ac_ext <<_ACEOF
97920 /* end confdefs.h. */
97921 $ac_includes_default
97922 #include <langinfo.h>
97923 _ACEOF
97924 rm -f conftest.$ac_objext
97925 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
97926 (eval $ac_compile) 2>conftest.er1
97927 ac_status=$?
97928 grep -v '^ *+' conftest.er1 >conftest.err
97929 rm -f conftest.er1
97930 cat conftest.err >&5
97931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97932 (exit $ac_status); } &&
97933 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
97934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97935 (eval $ac_try) 2>&5
97936 ac_status=$?
97937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97938 (exit $ac_status); }; } &&
97939 { ac_try='test -s conftest.$ac_objext'
97940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97941 (eval $ac_try) 2>&5
97942 ac_status=$?
97943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97944 (exit $ac_status); }; }; then
97945 ac_header_compiler=yes
97946 else
97947 echo "$as_me: failed program was:" >&5
97948 sed 's/^/| /' conftest.$ac_ext >&5
97949
97950 ac_header_compiler=no
97951 fi
97952 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
97953 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
97954 echo "${ECHO_T}$ac_header_compiler" >&6
97955
97956 # Is the header present?
97957 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
97958 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
97959 cat >conftest.$ac_ext <<_ACEOF
97960 /* confdefs.h. */
97961 _ACEOF
97962 cat confdefs.h >>conftest.$ac_ext
97963 cat >>conftest.$ac_ext <<_ACEOF
97964 /* end confdefs.h. */
97965 #include <langinfo.h>
97966 _ACEOF
97967 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
97968 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
97969 ac_status=$?
97970 grep -v '^ *+' conftest.er1 >conftest.err
97971 rm -f conftest.er1
97972 cat conftest.err >&5
97973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97974 (exit $ac_status); } >/dev/null; then
97975 if test -s conftest.err; then
97976 ac_cpp_err=$ac_c_preproc_warn_flag
97977 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
97978 else
97979 ac_cpp_err=
97980 fi
97981 else
97982 ac_cpp_err=yes
97983 fi
97984 if test -z "$ac_cpp_err"; then
97985 ac_header_preproc=yes
97986 else
97987 echo "$as_me: failed program was:" >&5
97988 sed 's/^/| /' conftest.$ac_ext >&5
97989
97990 ac_header_preproc=no
97991 fi
97992 rm -f conftest.err conftest.$ac_ext
97993 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
97994 echo "${ECHO_T}$ac_header_preproc" >&6
97995
97996 # So? What about this header?
97997 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
97998 yes:no: )
97999 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
98000 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
98001 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
98002 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
98003 ac_header_preproc=yes
98004 ;;
98005 no:yes:* )
98006 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
98007 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
98008 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
98009 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
98010 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
98011 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
98012 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
98013 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
98014 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
98015 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
98016 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
98017 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
98018 (
98019 cat <<\_ASBOX
98020 ## ----------------------------------------- ##
98021 ## Report this to the package-unused lists. ##
98022 ## ----------------------------------------- ##
98023 _ASBOX
98024 ) |
98025 sed "s/^/$as_me: WARNING: /" >&2
98026 ;;
98027 esac
98028 echo "$as_me:$LINENO: checking for langinfo.h" >&5
98029 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
98030 if test "${ac_cv_header_langinfo_h+set}" = set; then
98031 echo $ECHO_N "(cached) $ECHO_C" >&6
98032 else
98033 ac_cv_header_langinfo_h=$ac_header_preproc
98034 fi
98035 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
98036 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
98037
98038 fi
98039 if test $ac_cv_header_langinfo_h = yes; then
98040 ac_has_langinfo_h=yes
98041 else
98042 ac_has_langinfo_h=no
98043 fi
98044
98045
98046
98047 # Check for existence of libiconv.a providing XPG2 wchar_t support.
98048 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
98049 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
98050 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
98051 echo $ECHO_N "(cached) $ECHO_C" >&6
98052 else
98053 ac_check_lib_save_LIBS=$LIBS
98054 LIBS="-liconv $LIBS"
98055 if test x$gcc_no_link = xyes; then
98056 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
98057 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
98058 { (exit 1); exit 1; }; }
98059 fi
98060 cat >conftest.$ac_ext <<_ACEOF
98061 /* confdefs.h. */
98062 _ACEOF
98063 cat confdefs.h >>conftest.$ac_ext
98064 cat >>conftest.$ac_ext <<_ACEOF
98065 /* end confdefs.h. */
98066
98067 /* Override any gcc2 internal prototype to avoid an error. */
98068 #ifdef __cplusplus
98069 extern "C"
98070 #endif
98071 /* We use char because int might match the return type of a gcc2
98072 builtin and then its argument prototype would still apply. */
98073 char iconv ();
98074 int
98075 main ()
98076 {
98077 iconv ();
98078 ;
98079 return 0;
98080 }
98081 _ACEOF
98082 rm -f conftest.$ac_objext conftest$ac_exeext
98083 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
98084 (eval $ac_link) 2>conftest.er1
98085 ac_status=$?
98086 grep -v '^ *+' conftest.er1 >conftest.err
98087 rm -f conftest.er1
98088 cat conftest.err >&5
98089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98090 (exit $ac_status); } &&
98091 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
98092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98093 (eval $ac_try) 2>&5
98094 ac_status=$?
98095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98096 (exit $ac_status); }; } &&
98097 { ac_try='test -s conftest$ac_exeext'
98098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98099 (eval $ac_try) 2>&5
98100 ac_status=$?
98101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98102 (exit $ac_status); }; }; then
98103 ac_cv_lib_iconv_iconv=yes
98104 else
98105 echo "$as_me: failed program was:" >&5
98106 sed 's/^/| /' conftest.$ac_ext >&5
98107
98108 ac_cv_lib_iconv_iconv=no
98109 fi
98110 rm -f conftest.err conftest.$ac_objext \
98111 conftest$ac_exeext conftest.$ac_ext
98112 LIBS=$ac_check_lib_save_LIBS
98113 fi
98114 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
98115 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
98116 if test $ac_cv_lib_iconv_iconv = yes; then
98117 LIBICONV="-liconv"
98118 fi
98119
98120 ac_save_LIBS="$LIBS"
98121 LIBS="$LIBS $LIBICONV"
98122
98123
98124
98125
98126
98127
98128 for ac_func in iconv_open iconv_close iconv nl_langinfo
98129 do
98130 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
98131 echo "$as_me:$LINENO: checking for $ac_func" >&5
98132 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
98133 if eval "test \"\${$as_ac_var+set}\" = set"; then
98134 echo $ECHO_N "(cached) $ECHO_C" >&6
98135 else
98136 if test x$gcc_no_link = xyes; then
98137 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
98138 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
98139 { (exit 1); exit 1; }; }
98140 fi
98141 cat >conftest.$ac_ext <<_ACEOF
98142 /* confdefs.h. */
98143 _ACEOF
98144 cat confdefs.h >>conftest.$ac_ext
98145 cat >>conftest.$ac_ext <<_ACEOF
98146 /* end confdefs.h. */
98147 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
98148 For example, HP-UX 11i <limits.h> declares gettimeofday. */
98149 #define $ac_func innocuous_$ac_func
98150
98151 /* System header to define __stub macros and hopefully few prototypes,
98152 which can conflict with char $ac_func (); below.
98153 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
98154 <limits.h> exists even on freestanding compilers. */
98155
98156 #ifdef __STDC__
98157 # include <limits.h>
98158 #else
98159 # include <assert.h>
98160 #endif
98161
98162 #undef $ac_func
98163
98164 /* Override any gcc2 internal prototype to avoid an error. */
98165 #ifdef __cplusplus
98166 extern "C"
98167 {
98168 #endif
98169 /* We use char because int might match the return type of a gcc2
98170 builtin and then its argument prototype would still apply. */
98171 char $ac_func ();
98172 /* The GNU C library defines this for functions which it implements
98173 to always fail with ENOSYS. Some functions are actually named
98174 something starting with __ and the normal name is an alias. */
98175 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
98176 choke me
98177 #else
98178 char (*f) () = $ac_func;
98179 #endif
98180 #ifdef __cplusplus
98181 }
98182 #endif
98183
98184 int
98185 main ()
98186 {
98187 return f != $ac_func;
98188 ;
98189 return 0;
98190 }
98191 _ACEOF
98192 rm -f conftest.$ac_objext conftest$ac_exeext
98193 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
98194 (eval $ac_link) 2>conftest.er1
98195 ac_status=$?
98196 grep -v '^ *+' conftest.er1 >conftest.err
98197 rm -f conftest.er1
98198 cat conftest.err >&5
98199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98200 (exit $ac_status); } &&
98201 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
98202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98203 (eval $ac_try) 2>&5
98204 ac_status=$?
98205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98206 (exit $ac_status); }; } &&
98207 { ac_try='test -s conftest$ac_exeext'
98208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98209 (eval $ac_try) 2>&5
98210 ac_status=$?
98211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98212 (exit $ac_status); }; }; then
98213 eval "$as_ac_var=yes"
98214 else
98215 echo "$as_me: failed program was:" >&5
98216 sed 's/^/| /' conftest.$ac_ext >&5
98217
98218 eval "$as_ac_var=no"
98219 fi
98220 rm -f conftest.err conftest.$ac_objext \
98221 conftest$ac_exeext conftest.$ac_ext
98222 fi
98223 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
98224 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
98225 if test `eval echo '${'$as_ac_var'}'` = yes; then
98226 cat >>confdefs.h <<_ACEOF
98227 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
98228 _ACEOF
98229 ac_XPG2funcs=yes
98230 else
98231 ac_XPG2funcs=no
98232 fi
98233 done
98234
98235
98236 LIBS="$ac_save_LIBS"
98237
98238 if test x"$ac_has_iconv_h" = xyes &&
98239 test x"$ac_has_langinfo_h" = xyes &&
98240 test x"$ac_XPG2funcs" = xyes;
98241 then
98242
98243 cat >>confdefs.h <<\_ACEOF
98244 #define _GLIBCXX_USE_ICONV 1
98245 _ACEOF
98246
98247 enable_iconv=yes
98248 fi
98249 fi
98250 echo "$as_me:$LINENO: checking for enabled iconv specializations" >&5
98251 echo $ECHO_N "checking for enabled iconv specializations... $ECHO_C" >&6
98252 echo "$as_me:$LINENO: result: $enable_iconv" >&5
98253 echo "${ECHO_T}$enable_iconv" >&6
98254
98255
98256 ac_test_CXXFLAGS="${CXXFLAGS+set}"
98257 ac_save_CXXFLAGS="$CXXFLAGS"
98258 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
98259
98260
98261 echo "$as_me:$LINENO: checking for strtold declaration" >&5
98262 echo $ECHO_N "checking for strtold declaration... $ECHO_C" >&6
98263 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
98264 if test "${glibcxx_cv_func_strtold_use+set}" = set; then
98265 echo $ECHO_N "(cached) $ECHO_C" >&6
98266 else
98267
98268
98269
98270 ac_ext=cc
98271 ac_cpp='$CXXCPP $CPPFLAGS'
98272 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98273 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98274 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
98275
98276 cat >conftest.$ac_ext <<_ACEOF
98277 /* confdefs.h. */
98278 _ACEOF
98279 cat confdefs.h >>conftest.$ac_ext
98280 cat >>conftest.$ac_ext <<_ACEOF
98281 /* end confdefs.h. */
98282 #include <stdlib.h>
98283 int
98284 main ()
98285 {
98286 strtold(0, 0);
98287 ;
98288 return 0;
98289 }
98290 _ACEOF
98291 rm -f conftest.$ac_objext
98292 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
98293 (eval $ac_compile) 2>conftest.er1
98294 ac_status=$?
98295 grep -v '^ *+' conftest.er1 >conftest.err
98296 rm -f conftest.er1
98297 cat conftest.err >&5
98298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98299 (exit $ac_status); } &&
98300 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
98301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98302 (eval $ac_try) 2>&5
98303 ac_status=$?
98304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98305 (exit $ac_status); }; } &&
98306 { ac_try='test -s conftest.$ac_objext'
98307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98308 (eval $ac_try) 2>&5
98309 ac_status=$?
98310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98311 (exit $ac_status); }; }; then
98312 glibcxx_cv_func_strtold_use=yes
98313 else
98314 echo "$as_me: failed program was:" >&5
98315 sed 's/^/| /' conftest.$ac_ext >&5
98316
98317 glibcxx_cv_func_strtold_use=no
98318 fi
98319 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
98320 ac_ext=c
98321 ac_cpp='$CPP $CPPFLAGS'
98322 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98323 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98324 ac_compiler_gnu=$ac_cv_c_compiler_gnu
98325
98326
98327 fi
98328
98329 fi
98330 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtold_use" >&5
98331 echo "${ECHO_T}$glibcxx_cv_func_strtold_use" >&6
98332 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
98333
98334 for ac_func in strtold
98335 do
98336 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
98337 echo "$as_me:$LINENO: checking for $ac_func" >&5
98338 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
98339 if eval "test \"\${$as_ac_var+set}\" = set"; then
98340 echo $ECHO_N "(cached) $ECHO_C" >&6
98341 else
98342 if test x$gcc_no_link = xyes; then
98343 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
98344 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
98345 { (exit 1); exit 1; }; }
98346 fi
98347 cat >conftest.$ac_ext <<_ACEOF
98348 /* confdefs.h. */
98349 _ACEOF
98350 cat confdefs.h >>conftest.$ac_ext
98351 cat >>conftest.$ac_ext <<_ACEOF
98352 /* end confdefs.h. */
98353 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
98354 For example, HP-UX 11i <limits.h> declares gettimeofday. */
98355 #define $ac_func innocuous_$ac_func
98356
98357 /* System header to define __stub macros and hopefully few prototypes,
98358 which can conflict with char $ac_func (); below.
98359 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
98360 <limits.h> exists even on freestanding compilers. */
98361
98362 #ifdef __STDC__
98363 # include <limits.h>
98364 #else
98365 # include <assert.h>
98366 #endif
98367
98368 #undef $ac_func
98369
98370 /* Override any gcc2 internal prototype to avoid an error. */
98371 #ifdef __cplusplus
98372 extern "C"
98373 {
98374 #endif
98375 /* We use char because int might match the return type of a gcc2
98376 builtin and then its argument prototype would still apply. */
98377 char $ac_func ();
98378 /* The GNU C library defines this for functions which it implements
98379 to always fail with ENOSYS. Some functions are actually named
98380 something starting with __ and the normal name is an alias. */
98381 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
98382 choke me
98383 #else
98384 char (*f) () = $ac_func;
98385 #endif
98386 #ifdef __cplusplus
98387 }
98388 #endif
98389
98390 int
98391 main ()
98392 {
98393 return f != $ac_func;
98394 ;
98395 return 0;
98396 }
98397 _ACEOF
98398 rm -f conftest.$ac_objext conftest$ac_exeext
98399 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
98400 (eval $ac_link) 2>conftest.er1
98401 ac_status=$?
98402 grep -v '^ *+' conftest.er1 >conftest.err
98403 rm -f conftest.er1
98404 cat conftest.err >&5
98405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98406 (exit $ac_status); } &&
98407 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
98408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98409 (eval $ac_try) 2>&5
98410 ac_status=$?
98411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98412 (exit $ac_status); }; } &&
98413 { ac_try='test -s conftest$ac_exeext'
98414 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98415 (eval $ac_try) 2>&5
98416 ac_status=$?
98417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98418 (exit $ac_status); }; }; then
98419 eval "$as_ac_var=yes"
98420 else
98421 echo "$as_me: failed program was:" >&5
98422 sed 's/^/| /' conftest.$ac_ext >&5
98423
98424 eval "$as_ac_var=no"
98425 fi
98426 rm -f conftest.err conftest.$ac_objext \
98427 conftest$ac_exeext conftest.$ac_ext
98428 fi
98429 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
98430 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
98431 if test `eval echo '${'$as_ac_var'}'` = yes; then
98432 cat >>confdefs.h <<_ACEOF
98433 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
98434 _ACEOF
98435
98436 fi
98437 done
98438
98439 fi
98440
98441
98442
98443
98444
98445 echo "$as_me:$LINENO: checking for strtof declaration" >&5
98446 echo $ECHO_N "checking for strtof declaration... $ECHO_C" >&6
98447 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
98448 if test "${glibcxx_cv_func_strtof_use+set}" = set; then
98449 echo $ECHO_N "(cached) $ECHO_C" >&6
98450 else
98451
98452
98453
98454 ac_ext=cc
98455 ac_cpp='$CXXCPP $CPPFLAGS'
98456 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98457 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98458 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
98459
98460 cat >conftest.$ac_ext <<_ACEOF
98461 /* confdefs.h. */
98462 _ACEOF
98463 cat confdefs.h >>conftest.$ac_ext
98464 cat >>conftest.$ac_ext <<_ACEOF
98465 /* end confdefs.h. */
98466 #include <stdlib.h>
98467 int
98468 main ()
98469 {
98470 strtof(0, 0);
98471 ;
98472 return 0;
98473 }
98474 _ACEOF
98475 rm -f conftest.$ac_objext
98476 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
98477 (eval $ac_compile) 2>conftest.er1
98478 ac_status=$?
98479 grep -v '^ *+' conftest.er1 >conftest.err
98480 rm -f conftest.er1
98481 cat conftest.err >&5
98482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98483 (exit $ac_status); } &&
98484 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
98485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98486 (eval $ac_try) 2>&5
98487 ac_status=$?
98488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98489 (exit $ac_status); }; } &&
98490 { ac_try='test -s conftest.$ac_objext'
98491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98492 (eval $ac_try) 2>&5
98493 ac_status=$?
98494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98495 (exit $ac_status); }; }; then
98496 glibcxx_cv_func_strtof_use=yes
98497 else
98498 echo "$as_me: failed program was:" >&5
98499 sed 's/^/| /' conftest.$ac_ext >&5
98500
98501 glibcxx_cv_func_strtof_use=no
98502 fi
98503 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
98504 ac_ext=c
98505 ac_cpp='$CPP $CPPFLAGS'
98506 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98507 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98508 ac_compiler_gnu=$ac_cv_c_compiler_gnu
98509
98510
98511 fi
98512
98513 fi
98514 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtof_use" >&5
98515 echo "${ECHO_T}$glibcxx_cv_func_strtof_use" >&6
98516 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
98517
98518 for ac_func in strtof
98519 do
98520 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
98521 echo "$as_me:$LINENO: checking for $ac_func" >&5
98522 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
98523 if eval "test \"\${$as_ac_var+set}\" = set"; then
98524 echo $ECHO_N "(cached) $ECHO_C" >&6
98525 else
98526 if test x$gcc_no_link = xyes; then
98527 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
98528 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
98529 { (exit 1); exit 1; }; }
98530 fi
98531 cat >conftest.$ac_ext <<_ACEOF
98532 /* confdefs.h. */
98533 _ACEOF
98534 cat confdefs.h >>conftest.$ac_ext
98535 cat >>conftest.$ac_ext <<_ACEOF
98536 /* end confdefs.h. */
98537 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
98538 For example, HP-UX 11i <limits.h> declares gettimeofday. */
98539 #define $ac_func innocuous_$ac_func
98540
98541 /* System header to define __stub macros and hopefully few prototypes,
98542 which can conflict with char $ac_func (); below.
98543 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
98544 <limits.h> exists even on freestanding compilers. */
98545
98546 #ifdef __STDC__
98547 # include <limits.h>
98548 #else
98549 # include <assert.h>
98550 #endif
98551
98552 #undef $ac_func
98553
98554 /* Override any gcc2 internal prototype to avoid an error. */
98555 #ifdef __cplusplus
98556 extern "C"
98557 {
98558 #endif
98559 /* We use char because int might match the return type of a gcc2
98560 builtin and then its argument prototype would still apply. */
98561 char $ac_func ();
98562 /* The GNU C library defines this for functions which it implements
98563 to always fail with ENOSYS. Some functions are actually named
98564 something starting with __ and the normal name is an alias. */
98565 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
98566 choke me
98567 #else
98568 char (*f) () = $ac_func;
98569 #endif
98570 #ifdef __cplusplus
98571 }
98572 #endif
98573
98574 int
98575 main ()
98576 {
98577 return f != $ac_func;
98578 ;
98579 return 0;
98580 }
98581 _ACEOF
98582 rm -f conftest.$ac_objext conftest$ac_exeext
98583 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
98584 (eval $ac_link) 2>conftest.er1
98585 ac_status=$?
98586 grep -v '^ *+' conftest.er1 >conftest.err
98587 rm -f conftest.er1
98588 cat conftest.err >&5
98589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98590 (exit $ac_status); } &&
98591 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
98592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98593 (eval $ac_try) 2>&5
98594 ac_status=$?
98595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98596 (exit $ac_status); }; } &&
98597 { ac_try='test -s conftest$ac_exeext'
98598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98599 (eval $ac_try) 2>&5
98600 ac_status=$?
98601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98602 (exit $ac_status); }; }; then
98603 eval "$as_ac_var=yes"
98604 else
98605 echo "$as_me: failed program was:" >&5
98606 sed 's/^/| /' conftest.$ac_ext >&5
98607
98608 eval "$as_ac_var=no"
98609 fi
98610 rm -f conftest.err conftest.$ac_objext \
98611 conftest$ac_exeext conftest.$ac_ext
98612 fi
98613 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
98614 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
98615 if test `eval echo '${'$as_ac_var'}'` = yes; then
98616 cat >>confdefs.h <<_ACEOF
98617 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
98618 _ACEOF
98619
98620 fi
98621 done
98622
98623 fi
98624
98625
98626
98627
98628
98629 CXXFLAGS="$ac_save_CXXFLAGS"
98630
98631
98632 # For LFS.
98633 cat >>confdefs.h <<\_ACEOF
98634 #define HAVE_INT64_T 1
98635 _ACEOF
98636
98637 case "$target" in
98638 *-uclinux*)
98639 # Don't enable LFS with uClibc
98640 ;;
98641 *)
98642 cat >>confdefs.h <<\_ACEOF
98643 #define _GLIBCXX_USE_LFS 1
98644 _ACEOF
98645
98646 esac
98647
98648 # For showmanyc_helper().
98649
98650
98651 for ac_header in sys/ioctl.h sys/filio.h
98652 do
98653 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
98654 if eval "test \"\${$as_ac_Header+set}\" = set"; then
98655 echo "$as_me:$LINENO: checking for $ac_header" >&5
98656 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
98657 if eval "test \"\${$as_ac_Header+set}\" = set"; then
98658 echo $ECHO_N "(cached) $ECHO_C" >&6
98659 fi
98660 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
98661 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
98662 else
98663 # Is the header compilable?
98664 echo "$as_me:$LINENO: checking $ac_header usability" >&5
98665 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
98666 cat >conftest.$ac_ext <<_ACEOF
98667 /* confdefs.h. */
98668 _ACEOF
98669 cat confdefs.h >>conftest.$ac_ext
98670 cat >>conftest.$ac_ext <<_ACEOF
98671 /* end confdefs.h. */
98672 $ac_includes_default
98673 #include <$ac_header>
98674 _ACEOF
98675 rm -f conftest.$ac_objext
98676 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
98677 (eval $ac_compile) 2>conftest.er1
98678 ac_status=$?
98679 grep -v '^ *+' conftest.er1 >conftest.err
98680 rm -f conftest.er1
98681 cat conftest.err >&5
98682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98683 (exit $ac_status); } &&
98684 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
98685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98686 (eval $ac_try) 2>&5
98687 ac_status=$?
98688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98689 (exit $ac_status); }; } &&
98690 { ac_try='test -s conftest.$ac_objext'
98691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98692 (eval $ac_try) 2>&5
98693 ac_status=$?
98694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98695 (exit $ac_status); }; }; then
98696 ac_header_compiler=yes
98697 else
98698 echo "$as_me: failed program was:" >&5
98699 sed 's/^/| /' conftest.$ac_ext >&5
98700
98701 ac_header_compiler=no
98702 fi
98703 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
98704 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
98705 echo "${ECHO_T}$ac_header_compiler" >&6
98706
98707 # Is the header present?
98708 echo "$as_me:$LINENO: checking $ac_header presence" >&5
98709 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
98710 cat >conftest.$ac_ext <<_ACEOF
98711 /* confdefs.h. */
98712 _ACEOF
98713 cat confdefs.h >>conftest.$ac_ext
98714 cat >>conftest.$ac_ext <<_ACEOF
98715 /* end confdefs.h. */
98716 #include <$ac_header>
98717 _ACEOF
98718 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
98719 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
98720 ac_status=$?
98721 grep -v '^ *+' conftest.er1 >conftest.err
98722 rm -f conftest.er1
98723 cat conftest.err >&5
98724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98725 (exit $ac_status); } >/dev/null; then
98726 if test -s conftest.err; then
98727 ac_cpp_err=$ac_c_preproc_warn_flag
98728 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
98729 else
98730 ac_cpp_err=
98731 fi
98732 else
98733 ac_cpp_err=yes
98734 fi
98735 if test -z "$ac_cpp_err"; then
98736 ac_header_preproc=yes
98737 else
98738 echo "$as_me: failed program was:" >&5
98739 sed 's/^/| /' conftest.$ac_ext >&5
98740
98741 ac_header_preproc=no
98742 fi
98743 rm -f conftest.err conftest.$ac_ext
98744 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
98745 echo "${ECHO_T}$ac_header_preproc" >&6
98746
98747 # So? What about this header?
98748 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
98749 yes:no: )
98750 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
98751 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
98752 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
98753 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
98754 ac_header_preproc=yes
98755 ;;
98756 no:yes:* )
98757 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
98758 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
98759 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
98760 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
98761 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
98762 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
98763 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
98764 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
98765 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
98766 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
98767 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
98768 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
98769 (
98770 cat <<\_ASBOX
98771 ## ----------------------------------------- ##
98772 ## Report this to the package-unused lists. ##
98773 ## ----------------------------------------- ##
98774 _ASBOX
98775 ) |
98776 sed "s/^/$as_me: WARNING: /" >&2
98777 ;;
98778 esac
98779 echo "$as_me:$LINENO: checking for $ac_header" >&5
98780 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
98781 if eval "test \"\${$as_ac_Header+set}\" = set"; then
98782 echo $ECHO_N "(cached) $ECHO_C" >&6
98783 else
98784 eval "$as_ac_Header=\$ac_header_preproc"
98785 fi
98786 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
98787 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
98788
98789 fi
98790 if test `eval echo '${'$as_ac_Header'}'` = yes; then
98791 cat >>confdefs.h <<_ACEOF
98792 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
98793 _ACEOF
98794
98795 fi
98796
98797 done
98798
98799
98800 echo "$as_me:$LINENO: checking for poll" >&5
98801 echo $ECHO_N "checking for poll... $ECHO_C" >&6
98802 if test "${glibcxx_cv_POLL+set}" = set; then
98803 echo $ECHO_N "(cached) $ECHO_C" >&6
98804 else
98805
98806 if test x$gcc_no_link = xyes; then
98807 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
98808 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
98809 { (exit 1); exit 1; }; }
98810 fi
98811 cat >conftest.$ac_ext <<_ACEOF
98812 /* confdefs.h. */
98813 _ACEOF
98814 cat confdefs.h >>conftest.$ac_ext
98815 cat >>conftest.$ac_ext <<_ACEOF
98816 /* end confdefs.h. */
98817 #include <poll.h>
98818 int
98819 main ()
98820 {
98821 struct pollfd pfd[1];
98822 pfd[0].events = POLLIN;
98823 poll(pfd, 1, 0);
98824 ;
98825 return 0;
98826 }
98827 _ACEOF
98828 rm -f conftest.$ac_objext conftest$ac_exeext
98829 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
98830 (eval $ac_link) 2>conftest.er1
98831 ac_status=$?
98832 grep -v '^ *+' conftest.er1 >conftest.err
98833 rm -f conftest.er1
98834 cat conftest.err >&5
98835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98836 (exit $ac_status); } &&
98837 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
98838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98839 (eval $ac_try) 2>&5
98840 ac_status=$?
98841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98842 (exit $ac_status); }; } &&
98843 { ac_try='test -s conftest$ac_exeext'
98844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98845 (eval $ac_try) 2>&5
98846 ac_status=$?
98847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98848 (exit $ac_status); }; }; then
98849 glibcxx_cv_POLL=yes
98850 else
98851 echo "$as_me: failed program was:" >&5
98852 sed 's/^/| /' conftest.$ac_ext >&5
98853
98854 glibcxx_cv_POLL=no
98855 fi
98856 rm -f conftest.err conftest.$ac_objext \
98857 conftest$ac_exeext conftest.$ac_ext
98858
98859 fi
98860
98861 if test $glibcxx_cv_POLL = yes; then
98862
98863 cat >>confdefs.h <<\_ACEOF
98864 #define HAVE_POLL 1
98865 _ACEOF
98866
98867 fi
98868 echo "$as_me:$LINENO: result: $glibcxx_cv_POLL" >&5
98869 echo "${ECHO_T}$glibcxx_cv_POLL" >&6
98870
98871
98872 echo "$as_me:$LINENO: checking for S_ISREG or S_IFREG" >&5
98873 echo $ECHO_N "checking for S_ISREG or S_IFREG... $ECHO_C" >&6
98874 if test "${glibcxx_cv_S_ISREG+set}" = set; then
98875 echo $ECHO_N "(cached) $ECHO_C" >&6
98876 else
98877
98878 if test x$gcc_no_link = xyes; then
98879 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
98880 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
98881 { (exit 1); exit 1; }; }
98882 fi
98883 cat >conftest.$ac_ext <<_ACEOF
98884 /* confdefs.h. */
98885 _ACEOF
98886 cat confdefs.h >>conftest.$ac_ext
98887 cat >>conftest.$ac_ext <<_ACEOF
98888 /* end confdefs.h. */
98889 #include <sys/stat.h>
98890 int
98891 main ()
98892 {
98893 struct stat buffer;
98894 fstat(0, &buffer);
98895 S_ISREG(buffer.st_mode);
98896 ;
98897 return 0;
98898 }
98899 _ACEOF
98900 rm -f conftest.$ac_objext conftest$ac_exeext
98901 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
98902 (eval $ac_link) 2>conftest.er1
98903 ac_status=$?
98904 grep -v '^ *+' conftest.er1 >conftest.err
98905 rm -f conftest.er1
98906 cat conftest.err >&5
98907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98908 (exit $ac_status); } &&
98909 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
98910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98911 (eval $ac_try) 2>&5
98912 ac_status=$?
98913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98914 (exit $ac_status); }; } &&
98915 { ac_try='test -s conftest$ac_exeext'
98916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98917 (eval $ac_try) 2>&5
98918 ac_status=$?
98919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98920 (exit $ac_status); }; }; then
98921 glibcxx_cv_S_ISREG=yes
98922 else
98923 echo "$as_me: failed program was:" >&5
98924 sed 's/^/| /' conftest.$ac_ext >&5
98925
98926 glibcxx_cv_S_ISREG=no
98927 fi
98928 rm -f conftest.err conftest.$ac_objext \
98929 conftest$ac_exeext conftest.$ac_ext
98930
98931 fi
98932
98933 if test "${glibcxx_cv_S_IFREG+set}" = set; then
98934 echo $ECHO_N "(cached) $ECHO_C" >&6
98935 else
98936
98937 if test x$gcc_no_link = xyes; then
98938 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
98939 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
98940 { (exit 1); exit 1; }; }
98941 fi
98942 cat >conftest.$ac_ext <<_ACEOF
98943 /* confdefs.h. */
98944 _ACEOF
98945 cat confdefs.h >>conftest.$ac_ext
98946 cat >>conftest.$ac_ext <<_ACEOF
98947 /* end confdefs.h. */
98948 #include <sys/stat.h>
98949 int
98950 main ()
98951 {
98952 struct stat buffer;
98953 fstat(0, &buffer);
98954 S_IFREG & buffer.st_mode;
98955 ;
98956 return 0;
98957 }
98958 _ACEOF
98959 rm -f conftest.$ac_objext conftest$ac_exeext
98960 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
98961 (eval $ac_link) 2>conftest.er1
98962 ac_status=$?
98963 grep -v '^ *+' conftest.er1 >conftest.err
98964 rm -f conftest.er1
98965 cat conftest.err >&5
98966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98967 (exit $ac_status); } &&
98968 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
98969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98970 (eval $ac_try) 2>&5
98971 ac_status=$?
98972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98973 (exit $ac_status); }; } &&
98974 { ac_try='test -s conftest$ac_exeext'
98975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98976 (eval $ac_try) 2>&5
98977 ac_status=$?
98978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98979 (exit $ac_status); }; }; then
98980 glibcxx_cv_S_IFREG=yes
98981 else
98982 echo "$as_me: failed program was:" >&5
98983 sed 's/^/| /' conftest.$ac_ext >&5
98984
98985 glibcxx_cv_S_IFREG=no
98986 fi
98987 rm -f conftest.err conftest.$ac_objext \
98988 conftest$ac_exeext conftest.$ac_ext
98989
98990 fi
98991
98992 res=no
98993 if test $glibcxx_cv_S_ISREG = yes; then
98994
98995 cat >>confdefs.h <<\_ACEOF
98996 #define HAVE_S_ISREG 1
98997 _ACEOF
98998
98999 res=S_ISREG
99000 elif test $glibcxx_cv_S_IFREG = yes; then
99001
99002 cat >>confdefs.h <<\_ACEOF
99003 #define HAVE_S_IFREG 1
99004 _ACEOF
99005
99006 res=S_IFREG
99007 fi
99008 echo "$as_me:$LINENO: result: $res" >&5
99009 echo "${ECHO_T}$res" >&6
99010
99011
99012 # For xsputn_2().
99013
99014 for ac_header in sys/uio.h
99015 do
99016 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
99017 if eval "test \"\${$as_ac_Header+set}\" = set"; then
99018 echo "$as_me:$LINENO: checking for $ac_header" >&5
99019 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
99020 if eval "test \"\${$as_ac_Header+set}\" = set"; then
99021 echo $ECHO_N "(cached) $ECHO_C" >&6
99022 fi
99023 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
99024 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
99025 else
99026 # Is the header compilable?
99027 echo "$as_me:$LINENO: checking $ac_header usability" >&5
99028 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
99029 cat >conftest.$ac_ext <<_ACEOF
99030 /* confdefs.h. */
99031 _ACEOF
99032 cat confdefs.h >>conftest.$ac_ext
99033 cat >>conftest.$ac_ext <<_ACEOF
99034 /* end confdefs.h. */
99035 $ac_includes_default
99036 #include <$ac_header>
99037 _ACEOF
99038 rm -f conftest.$ac_objext
99039 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
99040 (eval $ac_compile) 2>conftest.er1
99041 ac_status=$?
99042 grep -v '^ *+' conftest.er1 >conftest.err
99043 rm -f conftest.er1
99044 cat conftest.err >&5
99045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99046 (exit $ac_status); } &&
99047 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
99048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99049 (eval $ac_try) 2>&5
99050 ac_status=$?
99051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99052 (exit $ac_status); }; } &&
99053 { ac_try='test -s conftest.$ac_objext'
99054 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99055 (eval $ac_try) 2>&5
99056 ac_status=$?
99057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99058 (exit $ac_status); }; }; then
99059 ac_header_compiler=yes
99060 else
99061 echo "$as_me: failed program was:" >&5
99062 sed 's/^/| /' conftest.$ac_ext >&5
99063
99064 ac_header_compiler=no
99065 fi
99066 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
99067 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
99068 echo "${ECHO_T}$ac_header_compiler" >&6
99069
99070 # Is the header present?
99071 echo "$as_me:$LINENO: checking $ac_header presence" >&5
99072 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
99073 cat >conftest.$ac_ext <<_ACEOF
99074 /* confdefs.h. */
99075 _ACEOF
99076 cat confdefs.h >>conftest.$ac_ext
99077 cat >>conftest.$ac_ext <<_ACEOF
99078 /* end confdefs.h. */
99079 #include <$ac_header>
99080 _ACEOF
99081 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
99082 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
99083 ac_status=$?
99084 grep -v '^ *+' conftest.er1 >conftest.err
99085 rm -f conftest.er1
99086 cat conftest.err >&5
99087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99088 (exit $ac_status); } >/dev/null; then
99089 if test -s conftest.err; then
99090 ac_cpp_err=$ac_c_preproc_warn_flag
99091 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
99092 else
99093 ac_cpp_err=
99094 fi
99095 else
99096 ac_cpp_err=yes
99097 fi
99098 if test -z "$ac_cpp_err"; then
99099 ac_header_preproc=yes
99100 else
99101 echo "$as_me: failed program was:" >&5
99102 sed 's/^/| /' conftest.$ac_ext >&5
99103
99104 ac_header_preproc=no
99105 fi
99106 rm -f conftest.err conftest.$ac_ext
99107 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
99108 echo "${ECHO_T}$ac_header_preproc" >&6
99109
99110 # So? What about this header?
99111 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
99112 yes:no: )
99113 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
99114 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
99115 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
99116 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
99117 ac_header_preproc=yes
99118 ;;
99119 no:yes:* )
99120 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
99121 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
99122 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
99123 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
99124 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
99125 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
99126 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
99127 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
99128 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
99129 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
99130 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
99131 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
99132 (
99133 cat <<\_ASBOX
99134 ## ----------------------------------------- ##
99135 ## Report this to the package-unused lists. ##
99136 ## ----------------------------------------- ##
99137 _ASBOX
99138 ) |
99139 sed "s/^/$as_me: WARNING: /" >&2
99140 ;;
99141 esac
99142 echo "$as_me:$LINENO: checking for $ac_header" >&5
99143 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
99144 if eval "test \"\${$as_ac_Header+set}\" = set"; then
99145 echo $ECHO_N "(cached) $ECHO_C" >&6
99146 else
99147 eval "$as_ac_Header=\$ac_header_preproc"
99148 fi
99149 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
99150 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
99151
99152 fi
99153 if test `eval echo '${'$as_ac_Header'}'` = yes; then
99154 cat >>confdefs.h <<_ACEOF
99155 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
99156 _ACEOF
99157
99158 fi
99159
99160 done
99161
99162
99163 echo "$as_me:$LINENO: checking for writev" >&5
99164 echo $ECHO_N "checking for writev... $ECHO_C" >&6
99165 if test "${glibcxx_cv_WRITEV+set}" = set; then
99166 echo $ECHO_N "(cached) $ECHO_C" >&6
99167 else
99168
99169 if test x$gcc_no_link = xyes; then
99170 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
99171 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
99172 { (exit 1); exit 1; }; }
99173 fi
99174 cat >conftest.$ac_ext <<_ACEOF
99175 /* confdefs.h. */
99176 _ACEOF
99177 cat confdefs.h >>conftest.$ac_ext
99178 cat >>conftest.$ac_ext <<_ACEOF
99179 /* end confdefs.h. */
99180 #include <sys/uio.h>
99181 int
99182 main ()
99183 {
99184 struct iovec iov[2];
99185 writev(0, iov, 0);
99186 ;
99187 return 0;
99188 }
99189 _ACEOF
99190 rm -f conftest.$ac_objext conftest$ac_exeext
99191 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
99192 (eval $ac_link) 2>conftest.er1
99193 ac_status=$?
99194 grep -v '^ *+' conftest.er1 >conftest.err
99195 rm -f conftest.er1
99196 cat conftest.err >&5
99197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99198 (exit $ac_status); } &&
99199 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
99200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99201 (eval $ac_try) 2>&5
99202 ac_status=$?
99203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99204 (exit $ac_status); }; } &&
99205 { ac_try='test -s conftest$ac_exeext'
99206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99207 (eval $ac_try) 2>&5
99208 ac_status=$?
99209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99210 (exit $ac_status); }; }; then
99211 glibcxx_cv_WRITEV=yes
99212 else
99213 echo "$as_me: failed program was:" >&5
99214 sed 's/^/| /' conftest.$ac_ext >&5
99215
99216 glibcxx_cv_WRITEV=no
99217 fi
99218 rm -f conftest.err conftest.$ac_objext \
99219 conftest$ac_exeext conftest.$ac_ext
99220
99221 fi
99222
99223 if test $glibcxx_cv_WRITEV = yes; then
99224
99225 cat >>confdefs.h <<\_ACEOF
99226 #define HAVE_WRITEV 1
99227 _ACEOF
99228
99229 fi
99230 echo "$as_me:$LINENO: result: $glibcxx_cv_WRITEV" >&5
99231 echo "${ECHO_T}$glibcxx_cv_WRITEV" >&6
99232
99233 ;;
99234 *-mingw32*)
99235
99236
99237
99238 for ac_header in sys/types.h locale.h float.h
99239 do
99240 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
99241 if eval "test \"\${$as_ac_Header+set}\" = set"; then
99242 echo "$as_me:$LINENO: checking for $ac_header" >&5
99243 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
99244 if eval "test \"\${$as_ac_Header+set}\" = set"; then
99245 echo $ECHO_N "(cached) $ECHO_C" >&6
99246 fi
99247 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
99248 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
99249 else
99250 # Is the header compilable?
99251 echo "$as_me:$LINENO: checking $ac_header usability" >&5
99252 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
99253 cat >conftest.$ac_ext <<_ACEOF
99254 /* confdefs.h. */
99255 _ACEOF
99256 cat confdefs.h >>conftest.$ac_ext
99257 cat >>conftest.$ac_ext <<_ACEOF
99258 /* end confdefs.h. */
99259 $ac_includes_default
99260 #include <$ac_header>
99261 _ACEOF
99262 rm -f conftest.$ac_objext
99263 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
99264 (eval $ac_compile) 2>conftest.er1
99265 ac_status=$?
99266 grep -v '^ *+' conftest.er1 >conftest.err
99267 rm -f conftest.er1
99268 cat conftest.err >&5
99269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99270 (exit $ac_status); } &&
99271 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
99272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99273 (eval $ac_try) 2>&5
99274 ac_status=$?
99275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99276 (exit $ac_status); }; } &&
99277 { ac_try='test -s conftest.$ac_objext'
99278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99279 (eval $ac_try) 2>&5
99280 ac_status=$?
99281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99282 (exit $ac_status); }; }; then
99283 ac_header_compiler=yes
99284 else
99285 echo "$as_me: failed program was:" >&5
99286 sed 's/^/| /' conftest.$ac_ext >&5
99287
99288 ac_header_compiler=no
99289 fi
99290 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
99291 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
99292 echo "${ECHO_T}$ac_header_compiler" >&6
99293
99294 # Is the header present?
99295 echo "$as_me:$LINENO: checking $ac_header presence" >&5
99296 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
99297 cat >conftest.$ac_ext <<_ACEOF
99298 /* confdefs.h. */
99299 _ACEOF
99300 cat confdefs.h >>conftest.$ac_ext
99301 cat >>conftest.$ac_ext <<_ACEOF
99302 /* end confdefs.h. */
99303 #include <$ac_header>
99304 _ACEOF
99305 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
99306 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
99307 ac_status=$?
99308 grep -v '^ *+' conftest.er1 >conftest.err
99309 rm -f conftest.er1
99310 cat conftest.err >&5
99311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99312 (exit $ac_status); } >/dev/null; then
99313 if test -s conftest.err; then
99314 ac_cpp_err=$ac_c_preproc_warn_flag
99315 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
99316 else
99317 ac_cpp_err=
99318 fi
99319 else
99320 ac_cpp_err=yes
99321 fi
99322 if test -z "$ac_cpp_err"; then
99323 ac_header_preproc=yes
99324 else
99325 echo "$as_me: failed program was:" >&5
99326 sed 's/^/| /' conftest.$ac_ext >&5
99327
99328 ac_header_preproc=no
99329 fi
99330 rm -f conftest.err conftest.$ac_ext
99331 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
99332 echo "${ECHO_T}$ac_header_preproc" >&6
99333
99334 # So? What about this header?
99335 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
99336 yes:no: )
99337 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
99338 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
99339 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
99340 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
99341 ac_header_preproc=yes
99342 ;;
99343 no:yes:* )
99344 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
99345 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
99346 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
99347 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
99348 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
99349 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
99350 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
99351 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
99352 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
99353 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
99354 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
99355 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
99356 (
99357 cat <<\_ASBOX
99358 ## ----------------------------------------- ##
99359 ## Report this to the package-unused lists. ##
99360 ## ----------------------------------------- ##
99361 _ASBOX
99362 ) |
99363 sed "s/^/$as_me: WARNING: /" >&2
99364 ;;
99365 esac
99366 echo "$as_me:$LINENO: checking for $ac_header" >&5
99367 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
99368 if eval "test \"\${$as_ac_Header+set}\" = set"; then
99369 echo $ECHO_N "(cached) $ECHO_C" >&6
99370 else
99371 eval "$as_ac_Header=\$ac_header_preproc"
99372 fi
99373 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
99374 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
99375
99376 fi
99377 if test `eval echo '${'$as_ac_Header'}'` = yes; then
99378 cat >>confdefs.h <<_ACEOF
99379 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
99380 _ACEOF
99381
99382 fi
99383
99384 done
99385
99386
99387 # If we're not using GNU ld, then there's no point in even trying these
99388 # tests. Check for that first. We should have already tested for gld
99389 # by now (in libtool), but require it now just to be safe...
99390 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
99391 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
99392
99393
99394
99395 # The name set by libtool depends on the version of libtool. Shame on us
99396 # for depending on an impl detail, but c'est la vie. Older versions used
99397 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
99398 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
99399 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
99400 # set (hence we're using an older libtool), then set it.
99401 if test x${with_gnu_ld+set} != xset; then
99402 if test x${ac_cv_prog_gnu_ld+set} != xset; then
99403 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
99404 with_gnu_ld=no
99405 else
99406 with_gnu_ld=$ac_cv_prog_gnu_ld
99407 fi
99408 fi
99409
99410 # Start by getting the version number. I think the libtool test already
99411 # does some of this, but throws away the result.
99412 echo "$as_me:$LINENO: checking for ld version" >&5
99413 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
99414
99415 ldver=`$LD --version 2>/dev/null | head -1 | \
99416 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
99417
99418 glibcxx_gnu_ld_version=`echo $ldver | \
99419 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
99420 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
99421 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
99422
99423 # Set --gc-sections.
99424 glibcxx_gcsections_min_ld=21602
99425 if test x"$with_gnu_ld" = x"yes" &&
99426 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
99427
99428 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
99429 # NB: This flag only works reliably after 2.16.1. Configure tests
99430 # for this are difficult, so hard wire a value that should work.
99431
99432 # All these tests are for C++, but run with the "C" compiler driver.
99433 # Need to do this so that g++ won't try to link in libstdc++/libsupc++.
99434 ac_test_CFLAGS="${CFLAGS+set}"
99435 ac_save_CFLAGS="$CFLAGS"
99436 CFLAGS='-x c++ -Wl,--gc-sections'
99437
99438 # Check for -Wl,--gc-sections
99439 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
99440 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
99441 if test x$gcc_no_link = xyes; then
99442 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
99443 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
99444 { (exit 1); exit 1; }; }
99445 fi
99446 cat >conftest.$ac_ext <<_ACEOF
99447 /* confdefs.h. */
99448 _ACEOF
99449 cat confdefs.h >>conftest.$ac_ext
99450 cat >>conftest.$ac_ext <<_ACEOF
99451 /* end confdefs.h. */
99452 int one(void) { return 1; }
99453 int two(void) { return 2; }
99454
99455 int
99456 main ()
99457 {
99458 two();
99459 ;
99460 return 0;
99461 }
99462 _ACEOF
99463 rm -f conftest.$ac_objext conftest$ac_exeext
99464 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
99465 (eval $ac_link) 2>conftest.er1
99466 ac_status=$?
99467 grep -v '^ *+' conftest.er1 >conftest.err
99468 rm -f conftest.er1
99469 cat conftest.err >&5
99470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99471 (exit $ac_status); } &&
99472 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
99473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99474 (eval $ac_try) 2>&5
99475 ac_status=$?
99476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99477 (exit $ac_status); }; } &&
99478 { ac_try='test -s conftest$ac_exeext'
99479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99480 (eval $ac_try) 2>&5
99481 ac_status=$?
99482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99483 (exit $ac_status); }; }; then
99484 ac_gcsections=yes
99485 else
99486 echo "$as_me: failed program was:" >&5
99487 sed 's/^/| /' conftest.$ac_ext >&5
99488
99489 ac_gcsections=no
99490 fi
99491 rm -f conftest.err conftest.$ac_objext \
99492 conftest$ac_exeext conftest.$ac_ext
99493 if test "$ac_gcsections" = "yes"; then
99494 rm -f conftest.c
99495 touch conftest.c
99496 if $CC -c conftest.c; then
99497 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
99498 grep "Warning: gc-sections option ignored" > /dev/null; then
99499 ac_gcsections=no
99500 fi
99501 fi
99502 rm -f conftest.c conftest.o conftest
99503 fi
99504 if test "$ac_gcsections" = "yes"; then
99505 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
99506 fi
99507 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
99508 echo "${ECHO_T}$ac_gcsections" >&6
99509
99510 if test "$ac_test_CFLAGS" = set; then
99511 CFLAGS="$ac_save_CFLAGS"
99512 else
99513 # this is the suspicious part
99514 CFLAGS=''
99515 fi
99516 fi
99517
99518 # Set -z,relro.
99519 # Note this is only for shared objects.
99520 ac_ld_relro=no
99521 if test x"$with_gnu_ld" = x"yes"; then
99522 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
99523 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
99524 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
99525 if test -n "$cxx_z_relo"; then
99526 OPT_LDFLAGS="-Wl,-z,relro"
99527 ac_ld_relro=yes
99528 fi
99529 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
99530 echo "${ECHO_T}$ac_ld_relro" >&6
99531 fi
99532
99533 # Set linker optimization flags.
99534 if test x"$with_gnu_ld" = x"yes"; then
99535 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
99536 fi
99537
99538
99539
99540
99541
99542
99543 echo "$as_me:$LINENO: checking for main in -lm" >&5
99544 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
99545 if test "${ac_cv_lib_m_main+set}" = set; then
99546 echo $ECHO_N "(cached) $ECHO_C" >&6
99547 else
99548 ac_check_lib_save_LIBS=$LIBS
99549 LIBS="-lm $LIBS"
99550 if test x$gcc_no_link = xyes; then
99551 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
99552 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
99553 { (exit 1); exit 1; }; }
99554 fi
99555 cat >conftest.$ac_ext <<_ACEOF
99556 /* confdefs.h. */
99557 _ACEOF
99558 cat confdefs.h >>conftest.$ac_ext
99559 cat >>conftest.$ac_ext <<_ACEOF
99560 /* end confdefs.h. */
99561
99562
99563 int
99564 main ()
99565 {
99566 main ();
99567 ;
99568 return 0;
99569 }
99570 _ACEOF
99571 rm -f conftest.$ac_objext conftest$ac_exeext
99572 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
99573 (eval $ac_link) 2>conftest.er1
99574 ac_status=$?
99575 grep -v '^ *+' conftest.er1 >conftest.err
99576 rm -f conftest.er1
99577 cat conftest.err >&5
99578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99579 (exit $ac_status); } &&
99580 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
99581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99582 (eval $ac_try) 2>&5
99583 ac_status=$?
99584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99585 (exit $ac_status); }; } &&
99586 { ac_try='test -s conftest$ac_exeext'
99587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99588 (eval $ac_try) 2>&5
99589 ac_status=$?
99590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99591 (exit $ac_status); }; }; then
99592 ac_cv_lib_m_main=yes
99593 else
99594 echo "$as_me: failed program was:" >&5
99595 sed 's/^/| /' conftest.$ac_ext >&5
99596
99597 ac_cv_lib_m_main=no
99598 fi
99599 rm -f conftest.err conftest.$ac_objext \
99600 conftest$ac_exeext conftest.$ac_ext
99601 LIBS=$ac_check_lib_save_LIBS
99602 fi
99603 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
99604 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
99605 if test $ac_cv_lib_m_main = yes; then
99606 cat >>confdefs.h <<_ACEOF
99607 #define HAVE_LIBM 1
99608 _ACEOF
99609
99610 LIBS="-lm $LIBS"
99611
99612 fi
99613
99614
99615 for ac_func in copysignf
99616 do
99617 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
99618 echo "$as_me:$LINENO: checking for $ac_func" >&5
99619 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
99620 if eval "test \"\${$as_ac_var+set}\" = set"; then
99621 echo $ECHO_N "(cached) $ECHO_C" >&6
99622 else
99623 if test x$gcc_no_link = xyes; then
99624 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
99625 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
99626 { (exit 1); exit 1; }; }
99627 fi
99628 cat >conftest.$ac_ext <<_ACEOF
99629 /* confdefs.h. */
99630 _ACEOF
99631 cat confdefs.h >>conftest.$ac_ext
99632 cat >>conftest.$ac_ext <<_ACEOF
99633 /* end confdefs.h. */
99634 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
99635 For example, HP-UX 11i <limits.h> declares gettimeofday. */
99636 #define $ac_func innocuous_$ac_func
99637
99638 /* System header to define __stub macros and hopefully few prototypes,
99639 which can conflict with char $ac_func (); below.
99640 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
99641 <limits.h> exists even on freestanding compilers. */
99642
99643 #ifdef __STDC__
99644 # include <limits.h>
99645 #else
99646 # include <assert.h>
99647 #endif
99648
99649 #undef $ac_func
99650
99651 /* Override any gcc2 internal prototype to avoid an error. */
99652 #ifdef __cplusplus
99653 extern "C"
99654 {
99655 #endif
99656 /* We use char because int might match the return type of a gcc2
99657 builtin and then its argument prototype would still apply. */
99658 char $ac_func ();
99659 /* The GNU C library defines this for functions which it implements
99660 to always fail with ENOSYS. Some functions are actually named
99661 something starting with __ and the normal name is an alias. */
99662 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
99663 choke me
99664 #else
99665 char (*f) () = $ac_func;
99666 #endif
99667 #ifdef __cplusplus
99668 }
99669 #endif
99670
99671 int
99672 main ()
99673 {
99674 return f != $ac_func;
99675 ;
99676 return 0;
99677 }
99678 _ACEOF
99679 rm -f conftest.$ac_objext conftest$ac_exeext
99680 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
99681 (eval $ac_link) 2>conftest.er1
99682 ac_status=$?
99683 grep -v '^ *+' conftest.er1 >conftest.err
99684 rm -f conftest.er1
99685 cat conftest.err >&5
99686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99687 (exit $ac_status); } &&
99688 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
99689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99690 (eval $ac_try) 2>&5
99691 ac_status=$?
99692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99693 (exit $ac_status); }; } &&
99694 { ac_try='test -s conftest$ac_exeext'
99695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99696 (eval $ac_try) 2>&5
99697 ac_status=$?
99698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99699 (exit $ac_status); }; }; then
99700 eval "$as_ac_var=yes"
99701 else
99702 echo "$as_me: failed program was:" >&5
99703 sed 's/^/| /' conftest.$ac_ext >&5
99704
99705 eval "$as_ac_var=no"
99706 fi
99707 rm -f conftest.err conftest.$ac_objext \
99708 conftest$ac_exeext conftest.$ac_ext
99709 fi
99710 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
99711 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
99712 if test `eval echo '${'$as_ac_var'}'` = yes; then
99713 cat >>confdefs.h <<_ACEOF
99714 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
99715 _ACEOF
99716
99717 else
99718 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
99719 fi
99720 done
99721
99722
99723
99724 for ac_func in __signbit
99725 do
99726 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
99727 echo "$as_me:$LINENO: checking for $ac_func" >&5
99728 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
99729 if eval "test \"\${$as_ac_var+set}\" = set"; then
99730 echo $ECHO_N "(cached) $ECHO_C" >&6
99731 else
99732 if test x$gcc_no_link = xyes; then
99733 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
99734 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
99735 { (exit 1); exit 1; }; }
99736 fi
99737 cat >conftest.$ac_ext <<_ACEOF
99738 /* confdefs.h. */
99739 _ACEOF
99740 cat confdefs.h >>conftest.$ac_ext
99741 cat >>conftest.$ac_ext <<_ACEOF
99742 /* end confdefs.h. */
99743 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
99744 For example, HP-UX 11i <limits.h> declares gettimeofday. */
99745 #define $ac_func innocuous_$ac_func
99746
99747 /* System header to define __stub macros and hopefully few prototypes,
99748 which can conflict with char $ac_func (); below.
99749 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
99750 <limits.h> exists even on freestanding compilers. */
99751
99752 #ifdef __STDC__
99753 # include <limits.h>
99754 #else
99755 # include <assert.h>
99756 #endif
99757
99758 #undef $ac_func
99759
99760 /* Override any gcc2 internal prototype to avoid an error. */
99761 #ifdef __cplusplus
99762 extern "C"
99763 {
99764 #endif
99765 /* We use char because int might match the return type of a gcc2
99766 builtin and then its argument prototype would still apply. */
99767 char $ac_func ();
99768 /* The GNU C library defines this for functions which it implements
99769 to always fail with ENOSYS. Some functions are actually named
99770 something starting with __ and the normal name is an alias. */
99771 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
99772 choke me
99773 #else
99774 char (*f) () = $ac_func;
99775 #endif
99776 #ifdef __cplusplus
99777 }
99778 #endif
99779
99780 int
99781 main ()
99782 {
99783 return f != $ac_func;
99784 ;
99785 return 0;
99786 }
99787 _ACEOF
99788 rm -f conftest.$ac_objext conftest$ac_exeext
99789 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
99790 (eval $ac_link) 2>conftest.er1
99791 ac_status=$?
99792 grep -v '^ *+' conftest.er1 >conftest.err
99793 rm -f conftest.er1
99794 cat conftest.err >&5
99795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99796 (exit $ac_status); } &&
99797 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
99798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99799 (eval $ac_try) 2>&5
99800 ac_status=$?
99801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99802 (exit $ac_status); }; } &&
99803 { ac_try='test -s conftest$ac_exeext'
99804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99805 (eval $ac_try) 2>&5
99806 ac_status=$?
99807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99808 (exit $ac_status); }; }; then
99809 eval "$as_ac_var=yes"
99810 else
99811 echo "$as_me: failed program was:" >&5
99812 sed 's/^/| /' conftest.$ac_ext >&5
99813
99814 eval "$as_ac_var=no"
99815 fi
99816 rm -f conftest.err conftest.$ac_objext \
99817 conftest$ac_exeext conftest.$ac_ext
99818 fi
99819 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
99820 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
99821 if test `eval echo '${'$as_ac_var'}'` = yes; then
99822 cat >>confdefs.h <<_ACEOF
99823 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
99824 _ACEOF
99825
99826 else
99827 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
99828 fi
99829 done
99830
99831
99832
99833 for ac_func in __signbitf
99834 do
99835 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
99836 echo "$as_me:$LINENO: checking for $ac_func" >&5
99837 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
99838 if eval "test \"\${$as_ac_var+set}\" = set"; then
99839 echo $ECHO_N "(cached) $ECHO_C" >&6
99840 else
99841 if test x$gcc_no_link = xyes; then
99842 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
99843 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
99844 { (exit 1); exit 1; }; }
99845 fi
99846 cat >conftest.$ac_ext <<_ACEOF
99847 /* confdefs.h. */
99848 _ACEOF
99849 cat confdefs.h >>conftest.$ac_ext
99850 cat >>conftest.$ac_ext <<_ACEOF
99851 /* end confdefs.h. */
99852 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
99853 For example, HP-UX 11i <limits.h> declares gettimeofday. */
99854 #define $ac_func innocuous_$ac_func
99855
99856 /* System header to define __stub macros and hopefully few prototypes,
99857 which can conflict with char $ac_func (); below.
99858 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
99859 <limits.h> exists even on freestanding compilers. */
99860
99861 #ifdef __STDC__
99862 # include <limits.h>
99863 #else
99864 # include <assert.h>
99865 #endif
99866
99867 #undef $ac_func
99868
99869 /* Override any gcc2 internal prototype to avoid an error. */
99870 #ifdef __cplusplus
99871 extern "C"
99872 {
99873 #endif
99874 /* We use char because int might match the return type of a gcc2
99875 builtin and then its argument prototype would still apply. */
99876 char $ac_func ();
99877 /* The GNU C library defines this for functions which it implements
99878 to always fail with ENOSYS. Some functions are actually named
99879 something starting with __ and the normal name is an alias. */
99880 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
99881 choke me
99882 #else
99883 char (*f) () = $ac_func;
99884 #endif
99885 #ifdef __cplusplus
99886 }
99887 #endif
99888
99889 int
99890 main ()
99891 {
99892 return f != $ac_func;
99893 ;
99894 return 0;
99895 }
99896 _ACEOF
99897 rm -f conftest.$ac_objext conftest$ac_exeext
99898 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
99899 (eval $ac_link) 2>conftest.er1
99900 ac_status=$?
99901 grep -v '^ *+' conftest.er1 >conftest.err
99902 rm -f conftest.er1
99903 cat conftest.err >&5
99904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99905 (exit $ac_status); } &&
99906 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
99907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99908 (eval $ac_try) 2>&5
99909 ac_status=$?
99910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99911 (exit $ac_status); }; } &&
99912 { ac_try='test -s conftest$ac_exeext'
99913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99914 (eval $ac_try) 2>&5
99915 ac_status=$?
99916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99917 (exit $ac_status); }; }; then
99918 eval "$as_ac_var=yes"
99919 else
99920 echo "$as_me: failed program was:" >&5
99921 sed 's/^/| /' conftest.$ac_ext >&5
99922
99923 eval "$as_ac_var=no"
99924 fi
99925 rm -f conftest.err conftest.$ac_objext \
99926 conftest$ac_exeext conftest.$ac_ext
99927 fi
99928 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
99929 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
99930 if test `eval echo '${'$as_ac_var'}'` = yes; then
99931 cat >>confdefs.h <<_ACEOF
99932 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
99933 _ACEOF
99934
99935 else
99936 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
99937 fi
99938 done
99939
99940
99941 if test x$ac_cv_func_copysignl = x"yes"; then
99942
99943 for ac_func in __signbitl
99944 do
99945 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
99946 echo "$as_me:$LINENO: checking for $ac_func" >&5
99947 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
99948 if eval "test \"\${$as_ac_var+set}\" = set"; then
99949 echo $ECHO_N "(cached) $ECHO_C" >&6
99950 else
99951 if test x$gcc_no_link = xyes; then
99952 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
99953 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
99954 { (exit 1); exit 1; }; }
99955 fi
99956 cat >conftest.$ac_ext <<_ACEOF
99957 /* confdefs.h. */
99958 _ACEOF
99959 cat confdefs.h >>conftest.$ac_ext
99960 cat >>conftest.$ac_ext <<_ACEOF
99961 /* end confdefs.h. */
99962 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
99963 For example, HP-UX 11i <limits.h> declares gettimeofday. */
99964 #define $ac_func innocuous_$ac_func
99965
99966 /* System header to define __stub macros and hopefully few prototypes,
99967 which can conflict with char $ac_func (); below.
99968 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
99969 <limits.h> exists even on freestanding compilers. */
99970
99971 #ifdef __STDC__
99972 # include <limits.h>
99973 #else
99974 # include <assert.h>
99975 #endif
99976
99977 #undef $ac_func
99978
99979 /* Override any gcc2 internal prototype to avoid an error. */
99980 #ifdef __cplusplus
99981 extern "C"
99982 {
99983 #endif
99984 /* We use char because int might match the return type of a gcc2
99985 builtin and then its argument prototype would still apply. */
99986 char $ac_func ();
99987 /* The GNU C library defines this for functions which it implements
99988 to always fail with ENOSYS. Some functions are actually named
99989 something starting with __ and the normal name is an alias. */
99990 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
99991 choke me
99992 #else
99993 char (*f) () = $ac_func;
99994 #endif
99995 #ifdef __cplusplus
99996 }
99997 #endif
99998
99999 int
100000 main ()
100001 {
100002 return f != $ac_func;
100003 ;
100004 return 0;
100005 }
100006 _ACEOF
100007 rm -f conftest.$ac_objext conftest$ac_exeext
100008 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
100009 (eval $ac_link) 2>conftest.er1
100010 ac_status=$?
100011 grep -v '^ *+' conftest.er1 >conftest.err
100012 rm -f conftest.er1
100013 cat conftest.err >&5
100014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100015 (exit $ac_status); } &&
100016 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
100017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100018 (eval $ac_try) 2>&5
100019 ac_status=$?
100020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100021 (exit $ac_status); }; } &&
100022 { ac_try='test -s conftest$ac_exeext'
100023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100024 (eval $ac_try) 2>&5
100025 ac_status=$?
100026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100027 (exit $ac_status); }; }; then
100028 eval "$as_ac_var=yes"
100029 else
100030 echo "$as_me: failed program was:" >&5
100031 sed 's/^/| /' conftest.$ac_ext >&5
100032
100033 eval "$as_ac_var=no"
100034 fi
100035 rm -f conftest.err conftest.$ac_objext \
100036 conftest$ac_exeext conftest.$ac_ext
100037 fi
100038 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
100039 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
100040 if test `eval echo '${'$as_ac_var'}'` = yes; then
100041 cat >>confdefs.h <<_ACEOF
100042 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
100043 _ACEOF
100044
100045 else
100046 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
100047 fi
100048 done
100049
100050 fi
100051
100052 # Used in libmath/Makefile.am.
100053 if test -n "$LIBMATHOBJS"; then
100054 need_libmath=yes
100055 fi
100056
100057
100058
100059
100060 enable_iconv=no
100061 # Only continue checking if the ISO C99 headers exist and support is on.
100062 if test x"$enable_wchar_t" = xyes; then
100063
100064 # Use iconv for wchar_t to char conversions. As such, check for
100065 # X/Open Portability Guide, version 2 features (XPG2).
100066 if test "${ac_cv_header_iconv_h+set}" = set; then
100067 echo "$as_me:$LINENO: checking for iconv.h" >&5
100068 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
100069 if test "${ac_cv_header_iconv_h+set}" = set; then
100070 echo $ECHO_N "(cached) $ECHO_C" >&6
100071 fi
100072 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
100073 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
100074 else
100075 # Is the header compilable?
100076 echo "$as_me:$LINENO: checking iconv.h usability" >&5
100077 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
100078 cat >conftest.$ac_ext <<_ACEOF
100079 /* confdefs.h. */
100080 _ACEOF
100081 cat confdefs.h >>conftest.$ac_ext
100082 cat >>conftest.$ac_ext <<_ACEOF
100083 /* end confdefs.h. */
100084 $ac_includes_default
100085 #include <iconv.h>
100086 _ACEOF
100087 rm -f conftest.$ac_objext
100088 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
100089 (eval $ac_compile) 2>conftest.er1
100090 ac_status=$?
100091 grep -v '^ *+' conftest.er1 >conftest.err
100092 rm -f conftest.er1
100093 cat conftest.err >&5
100094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100095 (exit $ac_status); } &&
100096 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
100097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100098 (eval $ac_try) 2>&5
100099 ac_status=$?
100100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100101 (exit $ac_status); }; } &&
100102 { ac_try='test -s conftest.$ac_objext'
100103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100104 (eval $ac_try) 2>&5
100105 ac_status=$?
100106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100107 (exit $ac_status); }; }; then
100108 ac_header_compiler=yes
100109 else
100110 echo "$as_me: failed program was:" >&5
100111 sed 's/^/| /' conftest.$ac_ext >&5
100112
100113 ac_header_compiler=no
100114 fi
100115 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
100116 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
100117 echo "${ECHO_T}$ac_header_compiler" >&6
100118
100119 # Is the header present?
100120 echo "$as_me:$LINENO: checking iconv.h presence" >&5
100121 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
100122 cat >conftest.$ac_ext <<_ACEOF
100123 /* confdefs.h. */
100124 _ACEOF
100125 cat confdefs.h >>conftest.$ac_ext
100126 cat >>conftest.$ac_ext <<_ACEOF
100127 /* end confdefs.h. */
100128 #include <iconv.h>
100129 _ACEOF
100130 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
100131 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
100132 ac_status=$?
100133 grep -v '^ *+' conftest.er1 >conftest.err
100134 rm -f conftest.er1
100135 cat conftest.err >&5
100136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100137 (exit $ac_status); } >/dev/null; then
100138 if test -s conftest.err; then
100139 ac_cpp_err=$ac_c_preproc_warn_flag
100140 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
100141 else
100142 ac_cpp_err=
100143 fi
100144 else
100145 ac_cpp_err=yes
100146 fi
100147 if test -z "$ac_cpp_err"; then
100148 ac_header_preproc=yes
100149 else
100150 echo "$as_me: failed program was:" >&5
100151 sed 's/^/| /' conftest.$ac_ext >&5
100152
100153 ac_header_preproc=no
100154 fi
100155 rm -f conftest.err conftest.$ac_ext
100156 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
100157 echo "${ECHO_T}$ac_header_preproc" >&6
100158
100159 # So? What about this header?
100160 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
100161 yes:no: )
100162 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
100163 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
100164 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
100165 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
100166 ac_header_preproc=yes
100167 ;;
100168 no:yes:* )
100169 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
100170 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
100171 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
100172 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
100173 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
100174 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
100175 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
100176 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
100177 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
100178 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
100179 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
100180 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
100181 (
100182 cat <<\_ASBOX
100183 ## ----------------------------------------- ##
100184 ## Report this to the package-unused lists. ##
100185 ## ----------------------------------------- ##
100186 _ASBOX
100187 ) |
100188 sed "s/^/$as_me: WARNING: /" >&2
100189 ;;
100190 esac
100191 echo "$as_me:$LINENO: checking for iconv.h" >&5
100192 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
100193 if test "${ac_cv_header_iconv_h+set}" = set; then
100194 echo $ECHO_N "(cached) $ECHO_C" >&6
100195 else
100196 ac_cv_header_iconv_h=$ac_header_preproc
100197 fi
100198 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
100199 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
100200
100201 fi
100202 if test $ac_cv_header_iconv_h = yes; then
100203 ac_has_iconv_h=yes
100204 else
100205 ac_has_iconv_h=no
100206 fi
100207
100208
100209 if test "${ac_cv_header_langinfo_h+set}" = set; then
100210 echo "$as_me:$LINENO: checking for langinfo.h" >&5
100211 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
100212 if test "${ac_cv_header_langinfo_h+set}" = set; then
100213 echo $ECHO_N "(cached) $ECHO_C" >&6
100214 fi
100215 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
100216 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
100217 else
100218 # Is the header compilable?
100219 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
100220 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
100221 cat >conftest.$ac_ext <<_ACEOF
100222 /* confdefs.h. */
100223 _ACEOF
100224 cat confdefs.h >>conftest.$ac_ext
100225 cat >>conftest.$ac_ext <<_ACEOF
100226 /* end confdefs.h. */
100227 $ac_includes_default
100228 #include <langinfo.h>
100229 _ACEOF
100230 rm -f conftest.$ac_objext
100231 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
100232 (eval $ac_compile) 2>conftest.er1
100233 ac_status=$?
100234 grep -v '^ *+' conftest.er1 >conftest.err
100235 rm -f conftest.er1
100236 cat conftest.err >&5
100237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100238 (exit $ac_status); } &&
100239 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
100240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100241 (eval $ac_try) 2>&5
100242 ac_status=$?
100243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100244 (exit $ac_status); }; } &&
100245 { ac_try='test -s conftest.$ac_objext'
100246 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100247 (eval $ac_try) 2>&5
100248 ac_status=$?
100249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100250 (exit $ac_status); }; }; then
100251 ac_header_compiler=yes
100252 else
100253 echo "$as_me: failed program was:" >&5
100254 sed 's/^/| /' conftest.$ac_ext >&5
100255
100256 ac_header_compiler=no
100257 fi
100258 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
100259 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
100260 echo "${ECHO_T}$ac_header_compiler" >&6
100261
100262 # Is the header present?
100263 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
100264 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
100265 cat >conftest.$ac_ext <<_ACEOF
100266 /* confdefs.h. */
100267 _ACEOF
100268 cat confdefs.h >>conftest.$ac_ext
100269 cat >>conftest.$ac_ext <<_ACEOF
100270 /* end confdefs.h. */
100271 #include <langinfo.h>
100272 _ACEOF
100273 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
100274 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
100275 ac_status=$?
100276 grep -v '^ *+' conftest.er1 >conftest.err
100277 rm -f conftest.er1
100278 cat conftest.err >&5
100279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100280 (exit $ac_status); } >/dev/null; then
100281 if test -s conftest.err; then
100282 ac_cpp_err=$ac_c_preproc_warn_flag
100283 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
100284 else
100285 ac_cpp_err=
100286 fi
100287 else
100288 ac_cpp_err=yes
100289 fi
100290 if test -z "$ac_cpp_err"; then
100291 ac_header_preproc=yes
100292 else
100293 echo "$as_me: failed program was:" >&5
100294 sed 's/^/| /' conftest.$ac_ext >&5
100295
100296 ac_header_preproc=no
100297 fi
100298 rm -f conftest.err conftest.$ac_ext
100299 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
100300 echo "${ECHO_T}$ac_header_preproc" >&6
100301
100302 # So? What about this header?
100303 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
100304 yes:no: )
100305 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
100306 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
100307 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
100308 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
100309 ac_header_preproc=yes
100310 ;;
100311 no:yes:* )
100312 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
100313 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
100314 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
100315 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
100316 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
100317 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
100318 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
100319 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
100320 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
100321 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
100322 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
100323 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
100324 (
100325 cat <<\_ASBOX
100326 ## ----------------------------------------- ##
100327 ## Report this to the package-unused lists. ##
100328 ## ----------------------------------------- ##
100329 _ASBOX
100330 ) |
100331 sed "s/^/$as_me: WARNING: /" >&2
100332 ;;
100333 esac
100334 echo "$as_me:$LINENO: checking for langinfo.h" >&5
100335 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
100336 if test "${ac_cv_header_langinfo_h+set}" = set; then
100337 echo $ECHO_N "(cached) $ECHO_C" >&6
100338 else
100339 ac_cv_header_langinfo_h=$ac_header_preproc
100340 fi
100341 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
100342 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
100343
100344 fi
100345 if test $ac_cv_header_langinfo_h = yes; then
100346 ac_has_langinfo_h=yes
100347 else
100348 ac_has_langinfo_h=no
100349 fi
100350
100351
100352
100353 # Check for existence of libiconv.a providing XPG2 wchar_t support.
100354 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
100355 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
100356 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
100357 echo $ECHO_N "(cached) $ECHO_C" >&6
100358 else
100359 ac_check_lib_save_LIBS=$LIBS
100360 LIBS="-liconv $LIBS"
100361 if test x$gcc_no_link = xyes; then
100362 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
100363 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
100364 { (exit 1); exit 1; }; }
100365 fi
100366 cat >conftest.$ac_ext <<_ACEOF
100367 /* confdefs.h. */
100368 _ACEOF
100369 cat confdefs.h >>conftest.$ac_ext
100370 cat >>conftest.$ac_ext <<_ACEOF
100371 /* end confdefs.h. */
100372
100373 /* Override any gcc2 internal prototype to avoid an error. */
100374 #ifdef __cplusplus
100375 extern "C"
100376 #endif
100377 /* We use char because int might match the return type of a gcc2
100378 builtin and then its argument prototype would still apply. */
100379 char iconv ();
100380 int
100381 main ()
100382 {
100383 iconv ();
100384 ;
100385 return 0;
100386 }
100387 _ACEOF
100388 rm -f conftest.$ac_objext conftest$ac_exeext
100389 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
100390 (eval $ac_link) 2>conftest.er1
100391 ac_status=$?
100392 grep -v '^ *+' conftest.er1 >conftest.err
100393 rm -f conftest.er1
100394 cat conftest.err >&5
100395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100396 (exit $ac_status); } &&
100397 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
100398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100399 (eval $ac_try) 2>&5
100400 ac_status=$?
100401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100402 (exit $ac_status); }; } &&
100403 { ac_try='test -s conftest$ac_exeext'
100404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100405 (eval $ac_try) 2>&5
100406 ac_status=$?
100407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100408 (exit $ac_status); }; }; then
100409 ac_cv_lib_iconv_iconv=yes
100410 else
100411 echo "$as_me: failed program was:" >&5
100412 sed 's/^/| /' conftest.$ac_ext >&5
100413
100414 ac_cv_lib_iconv_iconv=no
100415 fi
100416 rm -f conftest.err conftest.$ac_objext \
100417 conftest$ac_exeext conftest.$ac_ext
100418 LIBS=$ac_check_lib_save_LIBS
100419 fi
100420 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
100421 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
100422 if test $ac_cv_lib_iconv_iconv = yes; then
100423 LIBICONV="-liconv"
100424 fi
100425
100426 ac_save_LIBS="$LIBS"
100427 LIBS="$LIBS $LIBICONV"
100428
100429
100430
100431
100432
100433
100434 for ac_func in iconv_open iconv_close iconv nl_langinfo
100435 do
100436 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
100437 echo "$as_me:$LINENO: checking for $ac_func" >&5
100438 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
100439 if eval "test \"\${$as_ac_var+set}\" = set"; then
100440 echo $ECHO_N "(cached) $ECHO_C" >&6
100441 else
100442 if test x$gcc_no_link = xyes; then
100443 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
100444 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
100445 { (exit 1); exit 1; }; }
100446 fi
100447 cat >conftest.$ac_ext <<_ACEOF
100448 /* confdefs.h. */
100449 _ACEOF
100450 cat confdefs.h >>conftest.$ac_ext
100451 cat >>conftest.$ac_ext <<_ACEOF
100452 /* end confdefs.h. */
100453 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
100454 For example, HP-UX 11i <limits.h> declares gettimeofday. */
100455 #define $ac_func innocuous_$ac_func
100456
100457 /* System header to define __stub macros and hopefully few prototypes,
100458 which can conflict with char $ac_func (); below.
100459 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
100460 <limits.h> exists even on freestanding compilers. */
100461
100462 #ifdef __STDC__
100463 # include <limits.h>
100464 #else
100465 # include <assert.h>
100466 #endif
100467
100468 #undef $ac_func
100469
100470 /* Override any gcc2 internal prototype to avoid an error. */
100471 #ifdef __cplusplus
100472 extern "C"
100473 {
100474 #endif
100475 /* We use char because int might match the return type of a gcc2
100476 builtin and then its argument prototype would still apply. */
100477 char $ac_func ();
100478 /* The GNU C library defines this for functions which it implements
100479 to always fail with ENOSYS. Some functions are actually named
100480 something starting with __ and the normal name is an alias. */
100481 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
100482 choke me
100483 #else
100484 char (*f) () = $ac_func;
100485 #endif
100486 #ifdef __cplusplus
100487 }
100488 #endif
100489
100490 int
100491 main ()
100492 {
100493 return f != $ac_func;
100494 ;
100495 return 0;
100496 }
100497 _ACEOF
100498 rm -f conftest.$ac_objext conftest$ac_exeext
100499 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
100500 (eval $ac_link) 2>conftest.er1
100501 ac_status=$?
100502 grep -v '^ *+' conftest.er1 >conftest.err
100503 rm -f conftest.er1
100504 cat conftest.err >&5
100505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100506 (exit $ac_status); } &&
100507 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
100508 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100509 (eval $ac_try) 2>&5
100510 ac_status=$?
100511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100512 (exit $ac_status); }; } &&
100513 { ac_try='test -s conftest$ac_exeext'
100514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100515 (eval $ac_try) 2>&5
100516 ac_status=$?
100517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100518 (exit $ac_status); }; }; then
100519 eval "$as_ac_var=yes"
100520 else
100521 echo "$as_me: failed program was:" >&5
100522 sed 's/^/| /' conftest.$ac_ext >&5
100523
100524 eval "$as_ac_var=no"
100525 fi
100526 rm -f conftest.err conftest.$ac_objext \
100527 conftest$ac_exeext conftest.$ac_ext
100528 fi
100529 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
100530 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
100531 if test `eval echo '${'$as_ac_var'}'` = yes; then
100532 cat >>confdefs.h <<_ACEOF
100533 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
100534 _ACEOF
100535 ac_XPG2funcs=yes
100536 else
100537 ac_XPG2funcs=no
100538 fi
100539 done
100540
100541
100542 LIBS="$ac_save_LIBS"
100543
100544 if test x"$ac_has_iconv_h" = xyes &&
100545 test x"$ac_has_langinfo_h" = xyes &&
100546 test x"$ac_XPG2funcs" = xyes;
100547 then
100548
100549 cat >>confdefs.h <<\_ACEOF
100550 #define _GLIBCXX_USE_ICONV 1
100551 _ACEOF
100552
100553 enable_iconv=yes
100554 fi
100555 fi
100556 echo "$as_me:$LINENO: checking for enabled iconv specializations" >&5
100557 echo $ECHO_N "checking for enabled iconv specializations... $ECHO_C" >&6
100558 echo "$as_me:$LINENO: result: $enable_iconv" >&5
100559 echo "${ECHO_T}$enable_iconv" >&6
100560
100561 ;;
100562 *-netbsd*)
100563
100564
100565
100566
100567
100568
100569
100570
100571
100572
100573
100574
100575 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
100576 machine/endian.h machine/param.h sys/machine.h sys/types.h \
100577 fp.h locale.h float.h inttypes.h
100578 do
100579 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
100580 if eval "test \"\${$as_ac_Header+set}\" = set"; then
100581 echo "$as_me:$LINENO: checking for $ac_header" >&5
100582 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
100583 if eval "test \"\${$as_ac_Header+set}\" = set"; then
100584 echo $ECHO_N "(cached) $ECHO_C" >&6
100585 fi
100586 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
100587 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
100588 else
100589 # Is the header compilable?
100590 echo "$as_me:$LINENO: checking $ac_header usability" >&5
100591 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
100592 cat >conftest.$ac_ext <<_ACEOF
100593 /* confdefs.h. */
100594 _ACEOF
100595 cat confdefs.h >>conftest.$ac_ext
100596 cat >>conftest.$ac_ext <<_ACEOF
100597 /* end confdefs.h. */
100598 $ac_includes_default
100599 #include <$ac_header>
100600 _ACEOF
100601 rm -f conftest.$ac_objext
100602 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
100603 (eval $ac_compile) 2>conftest.er1
100604 ac_status=$?
100605 grep -v '^ *+' conftest.er1 >conftest.err
100606 rm -f conftest.er1
100607 cat conftest.err >&5
100608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100609 (exit $ac_status); } &&
100610 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
100611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100612 (eval $ac_try) 2>&5
100613 ac_status=$?
100614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100615 (exit $ac_status); }; } &&
100616 { ac_try='test -s conftest.$ac_objext'
100617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100618 (eval $ac_try) 2>&5
100619 ac_status=$?
100620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100621 (exit $ac_status); }; }; then
100622 ac_header_compiler=yes
100623 else
100624 echo "$as_me: failed program was:" >&5
100625 sed 's/^/| /' conftest.$ac_ext >&5
100626
100627 ac_header_compiler=no
100628 fi
100629 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
100630 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
100631 echo "${ECHO_T}$ac_header_compiler" >&6
100632
100633 # Is the header present?
100634 echo "$as_me:$LINENO: checking $ac_header presence" >&5
100635 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
100636 cat >conftest.$ac_ext <<_ACEOF
100637 /* confdefs.h. */
100638 _ACEOF
100639 cat confdefs.h >>conftest.$ac_ext
100640 cat >>conftest.$ac_ext <<_ACEOF
100641 /* end confdefs.h. */
100642 #include <$ac_header>
100643 _ACEOF
100644 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
100645 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
100646 ac_status=$?
100647 grep -v '^ *+' conftest.er1 >conftest.err
100648 rm -f conftest.er1
100649 cat conftest.err >&5
100650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100651 (exit $ac_status); } >/dev/null; then
100652 if test -s conftest.err; then
100653 ac_cpp_err=$ac_c_preproc_warn_flag
100654 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
100655 else
100656 ac_cpp_err=
100657 fi
100658 else
100659 ac_cpp_err=yes
100660 fi
100661 if test -z "$ac_cpp_err"; then
100662 ac_header_preproc=yes
100663 else
100664 echo "$as_me: failed program was:" >&5
100665 sed 's/^/| /' conftest.$ac_ext >&5
100666
100667 ac_header_preproc=no
100668 fi
100669 rm -f conftest.err conftest.$ac_ext
100670 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
100671 echo "${ECHO_T}$ac_header_preproc" >&6
100672
100673 # So? What about this header?
100674 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
100675 yes:no: )
100676 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
100677 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
100678 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
100679 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
100680 ac_header_preproc=yes
100681 ;;
100682 no:yes:* )
100683 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
100684 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
100685 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
100686 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
100687 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
100688 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
100689 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
100690 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
100691 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
100692 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
100693 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
100694 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
100695 (
100696 cat <<\_ASBOX
100697 ## ----------------------------------------- ##
100698 ## Report this to the package-unused lists. ##
100699 ## ----------------------------------------- ##
100700 _ASBOX
100701 ) |
100702 sed "s/^/$as_me: WARNING: /" >&2
100703 ;;
100704 esac
100705 echo "$as_me:$LINENO: checking for $ac_header" >&5
100706 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
100707 if eval "test \"\${$as_ac_Header+set}\" = set"; then
100708 echo $ECHO_N "(cached) $ECHO_C" >&6
100709 else
100710 eval "$as_ac_Header=\$ac_header_preproc"
100711 fi
100712 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
100713 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
100714
100715 fi
100716 if test `eval echo '${'$as_ac_Header'}'` = yes; then
100717 cat >>confdefs.h <<_ACEOF
100718 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
100719 _ACEOF
100720
100721 fi
100722
100723 done
100724
100725 SECTION_FLAGS='-ffunction-sections -fdata-sections'
100726
100727
100728 # If we're not using GNU ld, then there's no point in even trying these
100729 # tests. Check for that first. We should have already tested for gld
100730 # by now (in libtool), but require it now just to be safe...
100731 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
100732 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
100733
100734
100735
100736 # The name set by libtool depends on the version of libtool. Shame on us
100737 # for depending on an impl detail, but c'est la vie. Older versions used
100738 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
100739 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
100740 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
100741 # set (hence we're using an older libtool), then set it.
100742 if test x${with_gnu_ld+set} != xset; then
100743 if test x${ac_cv_prog_gnu_ld+set} != xset; then
100744 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
100745 with_gnu_ld=no
100746 else
100747 with_gnu_ld=$ac_cv_prog_gnu_ld
100748 fi
100749 fi
100750
100751 # Start by getting the version number. I think the libtool test already
100752 # does some of this, but throws away the result.
100753 echo "$as_me:$LINENO: checking for ld version" >&5
100754 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
100755
100756 ldver=`$LD --version 2>/dev/null | head -1 | \
100757 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
100758
100759 glibcxx_gnu_ld_version=`echo $ldver | \
100760 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
100761 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
100762 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
100763
100764 # Set --gc-sections.
100765 glibcxx_gcsections_min_ld=21602
100766 if test x"$with_gnu_ld" = x"yes" &&
100767 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
100768
100769 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
100770 # NB: This flag only works reliably after 2.16.1. Configure tests
100771 # for this are difficult, so hard wire a value that should work.
100772
100773 # All these tests are for C++, but run with the "C" compiler driver.
100774 # Need to do this so that g++ won't try to link in libstdc++/libsupc++.
100775 ac_test_CFLAGS="${CFLAGS+set}"
100776 ac_save_CFLAGS="$CFLAGS"
100777 CFLAGS='-x c++ -Wl,--gc-sections'
100778
100779 # Check for -Wl,--gc-sections
100780 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
100781 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
100782 if test x$gcc_no_link = xyes; then
100783 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
100784 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
100785 { (exit 1); exit 1; }; }
100786 fi
100787 cat >conftest.$ac_ext <<_ACEOF
100788 /* confdefs.h. */
100789 _ACEOF
100790 cat confdefs.h >>conftest.$ac_ext
100791 cat >>conftest.$ac_ext <<_ACEOF
100792 /* end confdefs.h. */
100793 int one(void) { return 1; }
100794 int two(void) { return 2; }
100795
100796 int
100797 main ()
100798 {
100799 two();
100800 ;
100801 return 0;
100802 }
100803 _ACEOF
100804 rm -f conftest.$ac_objext conftest$ac_exeext
100805 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
100806 (eval $ac_link) 2>conftest.er1
100807 ac_status=$?
100808 grep -v '^ *+' conftest.er1 >conftest.err
100809 rm -f conftest.er1
100810 cat conftest.err >&5
100811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100812 (exit $ac_status); } &&
100813 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
100814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100815 (eval $ac_try) 2>&5
100816 ac_status=$?
100817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100818 (exit $ac_status); }; } &&
100819 { ac_try='test -s conftest$ac_exeext'
100820 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100821 (eval $ac_try) 2>&5
100822 ac_status=$?
100823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100824 (exit $ac_status); }; }; then
100825 ac_gcsections=yes
100826 else
100827 echo "$as_me: failed program was:" >&5
100828 sed 's/^/| /' conftest.$ac_ext >&5
100829
100830 ac_gcsections=no
100831 fi
100832 rm -f conftest.err conftest.$ac_objext \
100833 conftest$ac_exeext conftest.$ac_ext
100834 if test "$ac_gcsections" = "yes"; then
100835 rm -f conftest.c
100836 touch conftest.c
100837 if $CC -c conftest.c; then
100838 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
100839 grep "Warning: gc-sections option ignored" > /dev/null; then
100840 ac_gcsections=no
100841 fi
100842 fi
100843 rm -f conftest.c conftest.o conftest
100844 fi
100845 if test "$ac_gcsections" = "yes"; then
100846 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
100847 fi
100848 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
100849 echo "${ECHO_T}$ac_gcsections" >&6
100850
100851 if test "$ac_test_CFLAGS" = set; then
100852 CFLAGS="$ac_save_CFLAGS"
100853 else
100854 # this is the suspicious part
100855 CFLAGS=''
100856 fi
100857 fi
100858
100859 # Set -z,relro.
100860 # Note this is only for shared objects.
100861 ac_ld_relro=no
100862 if test x"$with_gnu_ld" = x"yes"; then
100863 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
100864 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
100865 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
100866 if test -n "$cxx_z_relo"; then
100867 OPT_LDFLAGS="-Wl,-z,relro"
100868 ac_ld_relro=yes
100869 fi
100870 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
100871 echo "${ECHO_T}$ac_ld_relro" >&6
100872 fi
100873
100874 # Set linker optimization flags.
100875 if test x"$with_gnu_ld" = x"yes"; then
100876 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
100877 fi
100878
100879
100880
100881
100882
100883
100884 echo "$as_me:$LINENO: checking for main in -lm" >&5
100885 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
100886 if test "${ac_cv_lib_m_main+set}" = set; then
100887 echo $ECHO_N "(cached) $ECHO_C" >&6
100888 else
100889 ac_check_lib_save_LIBS=$LIBS
100890 LIBS="-lm $LIBS"
100891 if test x$gcc_no_link = xyes; then
100892 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
100893 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
100894 { (exit 1); exit 1; }; }
100895 fi
100896 cat >conftest.$ac_ext <<_ACEOF
100897 /* confdefs.h. */
100898 _ACEOF
100899 cat confdefs.h >>conftest.$ac_ext
100900 cat >>conftest.$ac_ext <<_ACEOF
100901 /* end confdefs.h. */
100902
100903
100904 int
100905 main ()
100906 {
100907 main ();
100908 ;
100909 return 0;
100910 }
100911 _ACEOF
100912 rm -f conftest.$ac_objext conftest$ac_exeext
100913 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
100914 (eval $ac_link) 2>conftest.er1
100915 ac_status=$?
100916 grep -v '^ *+' conftest.er1 >conftest.err
100917 rm -f conftest.er1
100918 cat conftest.err >&5
100919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100920 (exit $ac_status); } &&
100921 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
100922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100923 (eval $ac_try) 2>&5
100924 ac_status=$?
100925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100926 (exit $ac_status); }; } &&
100927 { ac_try='test -s conftest$ac_exeext'
100928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100929 (eval $ac_try) 2>&5
100930 ac_status=$?
100931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100932 (exit $ac_status); }; }; then
100933 ac_cv_lib_m_main=yes
100934 else
100935 echo "$as_me: failed program was:" >&5
100936 sed 's/^/| /' conftest.$ac_ext >&5
100937
100938 ac_cv_lib_m_main=no
100939 fi
100940 rm -f conftest.err conftest.$ac_objext \
100941 conftest$ac_exeext conftest.$ac_ext
100942 LIBS=$ac_check_lib_save_LIBS
100943 fi
100944 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
100945 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
100946 if test $ac_cv_lib_m_main = yes; then
100947 cat >>confdefs.h <<_ACEOF
100948 #define HAVE_LIBM 1
100949 _ACEOF
100950
100951 LIBS="-lm $LIBS"
100952
100953 fi
100954
100955
100956 for ac_func in copysignf
100957 do
100958 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
100959 echo "$as_me:$LINENO: checking for $ac_func" >&5
100960 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
100961 if eval "test \"\${$as_ac_var+set}\" = set"; then
100962 echo $ECHO_N "(cached) $ECHO_C" >&6
100963 else
100964 if test x$gcc_no_link = xyes; then
100965 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
100966 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
100967 { (exit 1); exit 1; }; }
100968 fi
100969 cat >conftest.$ac_ext <<_ACEOF
100970 /* confdefs.h. */
100971 _ACEOF
100972 cat confdefs.h >>conftest.$ac_ext
100973 cat >>conftest.$ac_ext <<_ACEOF
100974 /* end confdefs.h. */
100975 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
100976 For example, HP-UX 11i <limits.h> declares gettimeofday. */
100977 #define $ac_func innocuous_$ac_func
100978
100979 /* System header to define __stub macros and hopefully few prototypes,
100980 which can conflict with char $ac_func (); below.
100981 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
100982 <limits.h> exists even on freestanding compilers. */
100983
100984 #ifdef __STDC__
100985 # include <limits.h>
100986 #else
100987 # include <assert.h>
100988 #endif
100989
100990 #undef $ac_func
100991
100992 /* Override any gcc2 internal prototype to avoid an error. */
100993 #ifdef __cplusplus
100994 extern "C"
100995 {
100996 #endif
100997 /* We use char because int might match the return type of a gcc2
100998 builtin and then its argument prototype would still apply. */
100999 char $ac_func ();
101000 /* The GNU C library defines this for functions which it implements
101001 to always fail with ENOSYS. Some functions are actually named
101002 something starting with __ and the normal name is an alias. */
101003 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
101004 choke me
101005 #else
101006 char (*f) () = $ac_func;
101007 #endif
101008 #ifdef __cplusplus
101009 }
101010 #endif
101011
101012 int
101013 main ()
101014 {
101015 return f != $ac_func;
101016 ;
101017 return 0;
101018 }
101019 _ACEOF
101020 rm -f conftest.$ac_objext conftest$ac_exeext
101021 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
101022 (eval $ac_link) 2>conftest.er1
101023 ac_status=$?
101024 grep -v '^ *+' conftest.er1 >conftest.err
101025 rm -f conftest.er1
101026 cat conftest.err >&5
101027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101028 (exit $ac_status); } &&
101029 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
101030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101031 (eval $ac_try) 2>&5
101032 ac_status=$?
101033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101034 (exit $ac_status); }; } &&
101035 { ac_try='test -s conftest$ac_exeext'
101036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101037 (eval $ac_try) 2>&5
101038 ac_status=$?
101039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101040 (exit $ac_status); }; }; then
101041 eval "$as_ac_var=yes"
101042 else
101043 echo "$as_me: failed program was:" >&5
101044 sed 's/^/| /' conftest.$ac_ext >&5
101045
101046 eval "$as_ac_var=no"
101047 fi
101048 rm -f conftest.err conftest.$ac_objext \
101049 conftest$ac_exeext conftest.$ac_ext
101050 fi
101051 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
101052 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
101053 if test `eval echo '${'$as_ac_var'}'` = yes; then
101054 cat >>confdefs.h <<_ACEOF
101055 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
101056 _ACEOF
101057
101058 else
101059 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
101060 fi
101061 done
101062
101063
101064
101065 for ac_func in __signbit
101066 do
101067 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
101068 echo "$as_me:$LINENO: checking for $ac_func" >&5
101069 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
101070 if eval "test \"\${$as_ac_var+set}\" = set"; then
101071 echo $ECHO_N "(cached) $ECHO_C" >&6
101072 else
101073 if test x$gcc_no_link = xyes; then
101074 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
101075 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
101076 { (exit 1); exit 1; }; }
101077 fi
101078 cat >conftest.$ac_ext <<_ACEOF
101079 /* confdefs.h. */
101080 _ACEOF
101081 cat confdefs.h >>conftest.$ac_ext
101082 cat >>conftest.$ac_ext <<_ACEOF
101083 /* end confdefs.h. */
101084 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
101085 For example, HP-UX 11i <limits.h> declares gettimeofday. */
101086 #define $ac_func innocuous_$ac_func
101087
101088 /* System header to define __stub macros and hopefully few prototypes,
101089 which can conflict with char $ac_func (); below.
101090 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
101091 <limits.h> exists even on freestanding compilers. */
101092
101093 #ifdef __STDC__
101094 # include <limits.h>
101095 #else
101096 # include <assert.h>
101097 #endif
101098
101099 #undef $ac_func
101100
101101 /* Override any gcc2 internal prototype to avoid an error. */
101102 #ifdef __cplusplus
101103 extern "C"
101104 {
101105 #endif
101106 /* We use char because int might match the return type of a gcc2
101107 builtin and then its argument prototype would still apply. */
101108 char $ac_func ();
101109 /* The GNU C library defines this for functions which it implements
101110 to always fail with ENOSYS. Some functions are actually named
101111 something starting with __ and the normal name is an alias. */
101112 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
101113 choke me
101114 #else
101115 char (*f) () = $ac_func;
101116 #endif
101117 #ifdef __cplusplus
101118 }
101119 #endif
101120
101121 int
101122 main ()
101123 {
101124 return f != $ac_func;
101125 ;
101126 return 0;
101127 }
101128 _ACEOF
101129 rm -f conftest.$ac_objext conftest$ac_exeext
101130 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
101131 (eval $ac_link) 2>conftest.er1
101132 ac_status=$?
101133 grep -v '^ *+' conftest.er1 >conftest.err
101134 rm -f conftest.er1
101135 cat conftest.err >&5
101136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101137 (exit $ac_status); } &&
101138 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
101139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101140 (eval $ac_try) 2>&5
101141 ac_status=$?
101142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101143 (exit $ac_status); }; } &&
101144 { ac_try='test -s conftest$ac_exeext'
101145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101146 (eval $ac_try) 2>&5
101147 ac_status=$?
101148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101149 (exit $ac_status); }; }; then
101150 eval "$as_ac_var=yes"
101151 else
101152 echo "$as_me: failed program was:" >&5
101153 sed 's/^/| /' conftest.$ac_ext >&5
101154
101155 eval "$as_ac_var=no"
101156 fi
101157 rm -f conftest.err conftest.$ac_objext \
101158 conftest$ac_exeext conftest.$ac_ext
101159 fi
101160 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
101161 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
101162 if test `eval echo '${'$as_ac_var'}'` = yes; then
101163 cat >>confdefs.h <<_ACEOF
101164 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
101165 _ACEOF
101166
101167 else
101168 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
101169 fi
101170 done
101171
101172
101173
101174 for ac_func in __signbitf
101175 do
101176 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
101177 echo "$as_me:$LINENO: checking for $ac_func" >&5
101178 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
101179 if eval "test \"\${$as_ac_var+set}\" = set"; then
101180 echo $ECHO_N "(cached) $ECHO_C" >&6
101181 else
101182 if test x$gcc_no_link = xyes; then
101183 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
101184 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
101185 { (exit 1); exit 1; }; }
101186 fi
101187 cat >conftest.$ac_ext <<_ACEOF
101188 /* confdefs.h. */
101189 _ACEOF
101190 cat confdefs.h >>conftest.$ac_ext
101191 cat >>conftest.$ac_ext <<_ACEOF
101192 /* end confdefs.h. */
101193 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
101194 For example, HP-UX 11i <limits.h> declares gettimeofday. */
101195 #define $ac_func innocuous_$ac_func
101196
101197 /* System header to define __stub macros and hopefully few prototypes,
101198 which can conflict with char $ac_func (); below.
101199 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
101200 <limits.h> exists even on freestanding compilers. */
101201
101202 #ifdef __STDC__
101203 # include <limits.h>
101204 #else
101205 # include <assert.h>
101206 #endif
101207
101208 #undef $ac_func
101209
101210 /* Override any gcc2 internal prototype to avoid an error. */
101211 #ifdef __cplusplus
101212 extern "C"
101213 {
101214 #endif
101215 /* We use char because int might match the return type of a gcc2
101216 builtin and then its argument prototype would still apply. */
101217 char $ac_func ();
101218 /* The GNU C library defines this for functions which it implements
101219 to always fail with ENOSYS. Some functions are actually named
101220 something starting with __ and the normal name is an alias. */
101221 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
101222 choke me
101223 #else
101224 char (*f) () = $ac_func;
101225 #endif
101226 #ifdef __cplusplus
101227 }
101228 #endif
101229
101230 int
101231 main ()
101232 {
101233 return f != $ac_func;
101234 ;
101235 return 0;
101236 }
101237 _ACEOF
101238 rm -f conftest.$ac_objext conftest$ac_exeext
101239 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
101240 (eval $ac_link) 2>conftest.er1
101241 ac_status=$?
101242 grep -v '^ *+' conftest.er1 >conftest.err
101243 rm -f conftest.er1
101244 cat conftest.err >&5
101245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101246 (exit $ac_status); } &&
101247 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
101248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101249 (eval $ac_try) 2>&5
101250 ac_status=$?
101251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101252 (exit $ac_status); }; } &&
101253 { ac_try='test -s conftest$ac_exeext'
101254 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101255 (eval $ac_try) 2>&5
101256 ac_status=$?
101257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101258 (exit $ac_status); }; }; then
101259 eval "$as_ac_var=yes"
101260 else
101261 echo "$as_me: failed program was:" >&5
101262 sed 's/^/| /' conftest.$ac_ext >&5
101263
101264 eval "$as_ac_var=no"
101265 fi
101266 rm -f conftest.err conftest.$ac_objext \
101267 conftest$ac_exeext conftest.$ac_ext
101268 fi
101269 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
101270 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
101271 if test `eval echo '${'$as_ac_var'}'` = yes; then
101272 cat >>confdefs.h <<_ACEOF
101273 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
101274 _ACEOF
101275
101276 else
101277 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
101278 fi
101279 done
101280
101281
101282 if test x$ac_cv_func_copysignl = x"yes"; then
101283
101284 for ac_func in __signbitl
101285 do
101286 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
101287 echo "$as_me:$LINENO: checking for $ac_func" >&5
101288 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
101289 if eval "test \"\${$as_ac_var+set}\" = set"; then
101290 echo $ECHO_N "(cached) $ECHO_C" >&6
101291 else
101292 if test x$gcc_no_link = xyes; then
101293 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
101294 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
101295 { (exit 1); exit 1; }; }
101296 fi
101297 cat >conftest.$ac_ext <<_ACEOF
101298 /* confdefs.h. */
101299 _ACEOF
101300 cat confdefs.h >>conftest.$ac_ext
101301 cat >>conftest.$ac_ext <<_ACEOF
101302 /* end confdefs.h. */
101303 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
101304 For example, HP-UX 11i <limits.h> declares gettimeofday. */
101305 #define $ac_func innocuous_$ac_func
101306
101307 /* System header to define __stub macros and hopefully few prototypes,
101308 which can conflict with char $ac_func (); below.
101309 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
101310 <limits.h> exists even on freestanding compilers. */
101311
101312 #ifdef __STDC__
101313 # include <limits.h>
101314 #else
101315 # include <assert.h>
101316 #endif
101317
101318 #undef $ac_func
101319
101320 /* Override any gcc2 internal prototype to avoid an error. */
101321 #ifdef __cplusplus
101322 extern "C"
101323 {
101324 #endif
101325 /* We use char because int might match the return type of a gcc2
101326 builtin and then its argument prototype would still apply. */
101327 char $ac_func ();
101328 /* The GNU C library defines this for functions which it implements
101329 to always fail with ENOSYS. Some functions are actually named
101330 something starting with __ and the normal name is an alias. */
101331 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
101332 choke me
101333 #else
101334 char (*f) () = $ac_func;
101335 #endif
101336 #ifdef __cplusplus
101337 }
101338 #endif
101339
101340 int
101341 main ()
101342 {
101343 return f != $ac_func;
101344 ;
101345 return 0;
101346 }
101347 _ACEOF
101348 rm -f conftest.$ac_objext conftest$ac_exeext
101349 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
101350 (eval $ac_link) 2>conftest.er1
101351 ac_status=$?
101352 grep -v '^ *+' conftest.er1 >conftest.err
101353 rm -f conftest.er1
101354 cat conftest.err >&5
101355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101356 (exit $ac_status); } &&
101357 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
101358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101359 (eval $ac_try) 2>&5
101360 ac_status=$?
101361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101362 (exit $ac_status); }; } &&
101363 { ac_try='test -s conftest$ac_exeext'
101364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101365 (eval $ac_try) 2>&5
101366 ac_status=$?
101367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101368 (exit $ac_status); }; }; then
101369 eval "$as_ac_var=yes"
101370 else
101371 echo "$as_me: failed program was:" >&5
101372 sed 's/^/| /' conftest.$ac_ext >&5
101373
101374 eval "$as_ac_var=no"
101375 fi
101376 rm -f conftest.err conftest.$ac_objext \
101377 conftest$ac_exeext conftest.$ac_ext
101378 fi
101379 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
101380 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
101381 if test `eval echo '${'$as_ac_var'}'` = yes; then
101382 cat >>confdefs.h <<_ACEOF
101383 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
101384 _ACEOF
101385
101386 else
101387 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
101388 fi
101389 done
101390
101391 fi
101392
101393 # Used in libmath/Makefile.am.
101394 if test -n "$LIBMATHOBJS"; then
101395 need_libmath=yes
101396 fi
101397
101398
101399
101400
101401 enable_iconv=no
101402 # Only continue checking if the ISO C99 headers exist and support is on.
101403 if test x"$enable_wchar_t" = xyes; then
101404
101405 # Use iconv for wchar_t to char conversions. As such, check for
101406 # X/Open Portability Guide, version 2 features (XPG2).
101407 if test "${ac_cv_header_iconv_h+set}" = set; then
101408 echo "$as_me:$LINENO: checking for iconv.h" >&5
101409 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
101410 if test "${ac_cv_header_iconv_h+set}" = set; then
101411 echo $ECHO_N "(cached) $ECHO_C" >&6
101412 fi
101413 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
101414 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
101415 else
101416 # Is the header compilable?
101417 echo "$as_me:$LINENO: checking iconv.h usability" >&5
101418 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
101419 cat >conftest.$ac_ext <<_ACEOF
101420 /* confdefs.h. */
101421 _ACEOF
101422 cat confdefs.h >>conftest.$ac_ext
101423 cat >>conftest.$ac_ext <<_ACEOF
101424 /* end confdefs.h. */
101425 $ac_includes_default
101426 #include <iconv.h>
101427 _ACEOF
101428 rm -f conftest.$ac_objext
101429 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
101430 (eval $ac_compile) 2>conftest.er1
101431 ac_status=$?
101432 grep -v '^ *+' conftest.er1 >conftest.err
101433 rm -f conftest.er1
101434 cat conftest.err >&5
101435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101436 (exit $ac_status); } &&
101437 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
101438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101439 (eval $ac_try) 2>&5
101440 ac_status=$?
101441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101442 (exit $ac_status); }; } &&
101443 { ac_try='test -s conftest.$ac_objext'
101444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101445 (eval $ac_try) 2>&5
101446 ac_status=$?
101447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101448 (exit $ac_status); }; }; then
101449 ac_header_compiler=yes
101450 else
101451 echo "$as_me: failed program was:" >&5
101452 sed 's/^/| /' conftest.$ac_ext >&5
101453
101454 ac_header_compiler=no
101455 fi
101456 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
101457 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
101458 echo "${ECHO_T}$ac_header_compiler" >&6
101459
101460 # Is the header present?
101461 echo "$as_me:$LINENO: checking iconv.h presence" >&5
101462 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
101463 cat >conftest.$ac_ext <<_ACEOF
101464 /* confdefs.h. */
101465 _ACEOF
101466 cat confdefs.h >>conftest.$ac_ext
101467 cat >>conftest.$ac_ext <<_ACEOF
101468 /* end confdefs.h. */
101469 #include <iconv.h>
101470 _ACEOF
101471 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
101472 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
101473 ac_status=$?
101474 grep -v '^ *+' conftest.er1 >conftest.err
101475 rm -f conftest.er1
101476 cat conftest.err >&5
101477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101478 (exit $ac_status); } >/dev/null; then
101479 if test -s conftest.err; then
101480 ac_cpp_err=$ac_c_preproc_warn_flag
101481 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
101482 else
101483 ac_cpp_err=
101484 fi
101485 else
101486 ac_cpp_err=yes
101487 fi
101488 if test -z "$ac_cpp_err"; then
101489 ac_header_preproc=yes
101490 else
101491 echo "$as_me: failed program was:" >&5
101492 sed 's/^/| /' conftest.$ac_ext >&5
101493
101494 ac_header_preproc=no
101495 fi
101496 rm -f conftest.err conftest.$ac_ext
101497 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
101498 echo "${ECHO_T}$ac_header_preproc" >&6
101499
101500 # So? What about this header?
101501 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
101502 yes:no: )
101503 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
101504 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
101505 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
101506 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
101507 ac_header_preproc=yes
101508 ;;
101509 no:yes:* )
101510 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
101511 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
101512 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
101513 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
101514 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
101515 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
101516 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
101517 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
101518 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
101519 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
101520 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
101521 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
101522 (
101523 cat <<\_ASBOX
101524 ## ----------------------------------------- ##
101525 ## Report this to the package-unused lists. ##
101526 ## ----------------------------------------- ##
101527 _ASBOX
101528 ) |
101529 sed "s/^/$as_me: WARNING: /" >&2
101530 ;;
101531 esac
101532 echo "$as_me:$LINENO: checking for iconv.h" >&5
101533 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
101534 if test "${ac_cv_header_iconv_h+set}" = set; then
101535 echo $ECHO_N "(cached) $ECHO_C" >&6
101536 else
101537 ac_cv_header_iconv_h=$ac_header_preproc
101538 fi
101539 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
101540 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
101541
101542 fi
101543 if test $ac_cv_header_iconv_h = yes; then
101544 ac_has_iconv_h=yes
101545 else
101546 ac_has_iconv_h=no
101547 fi
101548
101549
101550 if test "${ac_cv_header_langinfo_h+set}" = set; then
101551 echo "$as_me:$LINENO: checking for langinfo.h" >&5
101552 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
101553 if test "${ac_cv_header_langinfo_h+set}" = set; then
101554 echo $ECHO_N "(cached) $ECHO_C" >&6
101555 fi
101556 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
101557 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
101558 else
101559 # Is the header compilable?
101560 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
101561 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
101562 cat >conftest.$ac_ext <<_ACEOF
101563 /* confdefs.h. */
101564 _ACEOF
101565 cat confdefs.h >>conftest.$ac_ext
101566 cat >>conftest.$ac_ext <<_ACEOF
101567 /* end confdefs.h. */
101568 $ac_includes_default
101569 #include <langinfo.h>
101570 _ACEOF
101571 rm -f conftest.$ac_objext
101572 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
101573 (eval $ac_compile) 2>conftest.er1
101574 ac_status=$?
101575 grep -v '^ *+' conftest.er1 >conftest.err
101576 rm -f conftest.er1
101577 cat conftest.err >&5
101578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101579 (exit $ac_status); } &&
101580 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
101581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101582 (eval $ac_try) 2>&5
101583 ac_status=$?
101584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101585 (exit $ac_status); }; } &&
101586 { ac_try='test -s conftest.$ac_objext'
101587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101588 (eval $ac_try) 2>&5
101589 ac_status=$?
101590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101591 (exit $ac_status); }; }; then
101592 ac_header_compiler=yes
101593 else
101594 echo "$as_me: failed program was:" >&5
101595 sed 's/^/| /' conftest.$ac_ext >&5
101596
101597 ac_header_compiler=no
101598 fi
101599 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
101600 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
101601 echo "${ECHO_T}$ac_header_compiler" >&6
101602
101603 # Is the header present?
101604 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
101605 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
101606 cat >conftest.$ac_ext <<_ACEOF
101607 /* confdefs.h. */
101608 _ACEOF
101609 cat confdefs.h >>conftest.$ac_ext
101610 cat >>conftest.$ac_ext <<_ACEOF
101611 /* end confdefs.h. */
101612 #include <langinfo.h>
101613 _ACEOF
101614 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
101615 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
101616 ac_status=$?
101617 grep -v '^ *+' conftest.er1 >conftest.err
101618 rm -f conftest.er1
101619 cat conftest.err >&5
101620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101621 (exit $ac_status); } >/dev/null; then
101622 if test -s conftest.err; then
101623 ac_cpp_err=$ac_c_preproc_warn_flag
101624 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
101625 else
101626 ac_cpp_err=
101627 fi
101628 else
101629 ac_cpp_err=yes
101630 fi
101631 if test -z "$ac_cpp_err"; then
101632 ac_header_preproc=yes
101633 else
101634 echo "$as_me: failed program was:" >&5
101635 sed 's/^/| /' conftest.$ac_ext >&5
101636
101637 ac_header_preproc=no
101638 fi
101639 rm -f conftest.err conftest.$ac_ext
101640 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
101641 echo "${ECHO_T}$ac_header_preproc" >&6
101642
101643 # So? What about this header?
101644 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
101645 yes:no: )
101646 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
101647 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
101648 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
101649 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
101650 ac_header_preproc=yes
101651 ;;
101652 no:yes:* )
101653 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
101654 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
101655 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
101656 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
101657 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
101658 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
101659 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
101660 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
101661 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
101662 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
101663 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
101664 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
101665 (
101666 cat <<\_ASBOX
101667 ## ----------------------------------------- ##
101668 ## Report this to the package-unused lists. ##
101669 ## ----------------------------------------- ##
101670 _ASBOX
101671 ) |
101672 sed "s/^/$as_me: WARNING: /" >&2
101673 ;;
101674 esac
101675 echo "$as_me:$LINENO: checking for langinfo.h" >&5
101676 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
101677 if test "${ac_cv_header_langinfo_h+set}" = set; then
101678 echo $ECHO_N "(cached) $ECHO_C" >&6
101679 else
101680 ac_cv_header_langinfo_h=$ac_header_preproc
101681 fi
101682 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
101683 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
101684
101685 fi
101686 if test $ac_cv_header_langinfo_h = yes; then
101687 ac_has_langinfo_h=yes
101688 else
101689 ac_has_langinfo_h=no
101690 fi
101691
101692
101693
101694 # Check for existence of libiconv.a providing XPG2 wchar_t support.
101695 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
101696 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
101697 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
101698 echo $ECHO_N "(cached) $ECHO_C" >&6
101699 else
101700 ac_check_lib_save_LIBS=$LIBS
101701 LIBS="-liconv $LIBS"
101702 if test x$gcc_no_link = xyes; then
101703 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
101704 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
101705 { (exit 1); exit 1; }; }
101706 fi
101707 cat >conftest.$ac_ext <<_ACEOF
101708 /* confdefs.h. */
101709 _ACEOF
101710 cat confdefs.h >>conftest.$ac_ext
101711 cat >>conftest.$ac_ext <<_ACEOF
101712 /* end confdefs.h. */
101713
101714 /* Override any gcc2 internal prototype to avoid an error. */
101715 #ifdef __cplusplus
101716 extern "C"
101717 #endif
101718 /* We use char because int might match the return type of a gcc2
101719 builtin and then its argument prototype would still apply. */
101720 char iconv ();
101721 int
101722 main ()
101723 {
101724 iconv ();
101725 ;
101726 return 0;
101727 }
101728 _ACEOF
101729 rm -f conftest.$ac_objext conftest$ac_exeext
101730 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
101731 (eval $ac_link) 2>conftest.er1
101732 ac_status=$?
101733 grep -v '^ *+' conftest.er1 >conftest.err
101734 rm -f conftest.er1
101735 cat conftest.err >&5
101736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101737 (exit $ac_status); } &&
101738 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
101739 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101740 (eval $ac_try) 2>&5
101741 ac_status=$?
101742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101743 (exit $ac_status); }; } &&
101744 { ac_try='test -s conftest$ac_exeext'
101745 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101746 (eval $ac_try) 2>&5
101747 ac_status=$?
101748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101749 (exit $ac_status); }; }; then
101750 ac_cv_lib_iconv_iconv=yes
101751 else
101752 echo "$as_me: failed program was:" >&5
101753 sed 's/^/| /' conftest.$ac_ext >&5
101754
101755 ac_cv_lib_iconv_iconv=no
101756 fi
101757 rm -f conftest.err conftest.$ac_objext \
101758 conftest$ac_exeext conftest.$ac_ext
101759 LIBS=$ac_check_lib_save_LIBS
101760 fi
101761 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
101762 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
101763 if test $ac_cv_lib_iconv_iconv = yes; then
101764 LIBICONV="-liconv"
101765 fi
101766
101767 ac_save_LIBS="$LIBS"
101768 LIBS="$LIBS $LIBICONV"
101769
101770
101771
101772
101773
101774
101775 for ac_func in iconv_open iconv_close iconv nl_langinfo
101776 do
101777 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
101778 echo "$as_me:$LINENO: checking for $ac_func" >&5
101779 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
101780 if eval "test \"\${$as_ac_var+set}\" = set"; then
101781 echo $ECHO_N "(cached) $ECHO_C" >&6
101782 else
101783 if test x$gcc_no_link = xyes; then
101784 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
101785 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
101786 { (exit 1); exit 1; }; }
101787 fi
101788 cat >conftest.$ac_ext <<_ACEOF
101789 /* confdefs.h. */
101790 _ACEOF
101791 cat confdefs.h >>conftest.$ac_ext
101792 cat >>conftest.$ac_ext <<_ACEOF
101793 /* end confdefs.h. */
101794 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
101795 For example, HP-UX 11i <limits.h> declares gettimeofday. */
101796 #define $ac_func innocuous_$ac_func
101797
101798 /* System header to define __stub macros and hopefully few prototypes,
101799 which can conflict with char $ac_func (); below.
101800 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
101801 <limits.h> exists even on freestanding compilers. */
101802
101803 #ifdef __STDC__
101804 # include <limits.h>
101805 #else
101806 # include <assert.h>
101807 #endif
101808
101809 #undef $ac_func
101810
101811 /* Override any gcc2 internal prototype to avoid an error. */
101812 #ifdef __cplusplus
101813 extern "C"
101814 {
101815 #endif
101816 /* We use char because int might match the return type of a gcc2
101817 builtin and then its argument prototype would still apply. */
101818 char $ac_func ();
101819 /* The GNU C library defines this for functions which it implements
101820 to always fail with ENOSYS. Some functions are actually named
101821 something starting with __ and the normal name is an alias. */
101822 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
101823 choke me
101824 #else
101825 char (*f) () = $ac_func;
101826 #endif
101827 #ifdef __cplusplus
101828 }
101829 #endif
101830
101831 int
101832 main ()
101833 {
101834 return f != $ac_func;
101835 ;
101836 return 0;
101837 }
101838 _ACEOF
101839 rm -f conftest.$ac_objext conftest$ac_exeext
101840 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
101841 (eval $ac_link) 2>conftest.er1
101842 ac_status=$?
101843 grep -v '^ *+' conftest.er1 >conftest.err
101844 rm -f conftest.er1
101845 cat conftest.err >&5
101846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101847 (exit $ac_status); } &&
101848 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
101849 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101850 (eval $ac_try) 2>&5
101851 ac_status=$?
101852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101853 (exit $ac_status); }; } &&
101854 { ac_try='test -s conftest$ac_exeext'
101855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101856 (eval $ac_try) 2>&5
101857 ac_status=$?
101858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101859 (exit $ac_status); }; }; then
101860 eval "$as_ac_var=yes"
101861 else
101862 echo "$as_me: failed program was:" >&5
101863 sed 's/^/| /' conftest.$ac_ext >&5
101864
101865 eval "$as_ac_var=no"
101866 fi
101867 rm -f conftest.err conftest.$ac_objext \
101868 conftest$ac_exeext conftest.$ac_ext
101869 fi
101870 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
101871 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
101872 if test `eval echo '${'$as_ac_var'}'` = yes; then
101873 cat >>confdefs.h <<_ACEOF
101874 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
101875 _ACEOF
101876 ac_XPG2funcs=yes
101877 else
101878 ac_XPG2funcs=no
101879 fi
101880 done
101881
101882
101883 LIBS="$ac_save_LIBS"
101884
101885 if test x"$ac_has_iconv_h" = xyes &&
101886 test x"$ac_has_langinfo_h" = xyes &&
101887 test x"$ac_XPG2funcs" = xyes;
101888 then
101889
101890 cat >>confdefs.h <<\_ACEOF
101891 #define _GLIBCXX_USE_ICONV 1
101892 _ACEOF
101893
101894 enable_iconv=yes
101895 fi
101896 fi
101897 echo "$as_me:$LINENO: checking for enabled iconv specializations" >&5
101898 echo $ECHO_N "checking for enabled iconv specializations... $ECHO_C" >&6
101899 echo "$as_me:$LINENO: result: $enable_iconv" >&5
101900 echo "${ECHO_T}$enable_iconv" >&6
101901
101902 cat >>confdefs.h <<\_ACEOF
101903 #define HAVE_COPYSIGN 1
101904 _ACEOF
101905
101906 cat >>confdefs.h <<\_ACEOF
101907 #define HAVE_COPYSIGNF 1
101908 _ACEOF
101909
101910 cat >>confdefs.h <<\_ACEOF
101911 #define HAVE_FINITEF 1
101912 _ACEOF
101913
101914 cat >>confdefs.h <<\_ACEOF
101915 #define HAVE_FINITE 1
101916 _ACEOF
101917
101918 cat >>confdefs.h <<\_ACEOF
101919 #define HAVE_FREXPF 1
101920 _ACEOF
101921
101922 cat >>confdefs.h <<\_ACEOF
101923 #define HAVE_HYPOTF 1
101924 _ACEOF
101925
101926 cat >>confdefs.h <<\_ACEOF
101927 #define HAVE_ISINF 1
101928 _ACEOF
101929
101930 cat >>confdefs.h <<\_ACEOF
101931 #define HAVE_ISINFF 1
101932 _ACEOF
101933
101934 cat >>confdefs.h <<\_ACEOF
101935 #define HAVE_ISNAN 1
101936 _ACEOF
101937
101938 cat >>confdefs.h <<\_ACEOF
101939 #define HAVE_ISNANF 1
101940 _ACEOF
101941
101942 if test x"long_double_math_on_this_cpu" = x"yes"; then
101943 cat >>confdefs.h <<\_ACEOF
101944 #define HAVE_FINITEL 1
101945 _ACEOF
101946
101947 cat >>confdefs.h <<\_ACEOF
101948 #define HAVE_ISINFL 1
101949 _ACEOF
101950
101951 cat >>confdefs.h <<\_ACEOF
101952 #define HAVE_ISNANL 1
101953 _ACEOF
101954
101955 fi
101956 ;;
101957 *-netware)
101958
101959
101960
101961
101962
101963
101964
101965
101966 for ac_header in nan.h ieeefp.h sys/isa_defs.h sys/machine.h \
101967 sys/types.h locale.h float.h inttypes.h
101968 do
101969 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
101970 if eval "test \"\${$as_ac_Header+set}\" = set"; then
101971 echo "$as_me:$LINENO: checking for $ac_header" >&5
101972 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
101973 if eval "test \"\${$as_ac_Header+set}\" = set"; then
101974 echo $ECHO_N "(cached) $ECHO_C" >&6
101975 fi
101976 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
101977 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
101978 else
101979 # Is the header compilable?
101980 echo "$as_me:$LINENO: checking $ac_header usability" >&5
101981 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
101982 cat >conftest.$ac_ext <<_ACEOF
101983 /* confdefs.h. */
101984 _ACEOF
101985 cat confdefs.h >>conftest.$ac_ext
101986 cat >>conftest.$ac_ext <<_ACEOF
101987 /* end confdefs.h. */
101988 $ac_includes_default
101989 #include <$ac_header>
101990 _ACEOF
101991 rm -f conftest.$ac_objext
101992 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
101993 (eval $ac_compile) 2>conftest.er1
101994 ac_status=$?
101995 grep -v '^ *+' conftest.er1 >conftest.err
101996 rm -f conftest.er1
101997 cat conftest.err >&5
101998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101999 (exit $ac_status); } &&
102000 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
102001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102002 (eval $ac_try) 2>&5
102003 ac_status=$?
102004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102005 (exit $ac_status); }; } &&
102006 { ac_try='test -s conftest.$ac_objext'
102007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102008 (eval $ac_try) 2>&5
102009 ac_status=$?
102010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102011 (exit $ac_status); }; }; then
102012 ac_header_compiler=yes
102013 else
102014 echo "$as_me: failed program was:" >&5
102015 sed 's/^/| /' conftest.$ac_ext >&5
102016
102017 ac_header_compiler=no
102018 fi
102019 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
102020 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
102021 echo "${ECHO_T}$ac_header_compiler" >&6
102022
102023 # Is the header present?
102024 echo "$as_me:$LINENO: checking $ac_header presence" >&5
102025 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
102026 cat >conftest.$ac_ext <<_ACEOF
102027 /* confdefs.h. */
102028 _ACEOF
102029 cat confdefs.h >>conftest.$ac_ext
102030 cat >>conftest.$ac_ext <<_ACEOF
102031 /* end confdefs.h. */
102032 #include <$ac_header>
102033 _ACEOF
102034 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
102035 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
102036 ac_status=$?
102037 grep -v '^ *+' conftest.er1 >conftest.err
102038 rm -f conftest.er1
102039 cat conftest.err >&5
102040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102041 (exit $ac_status); } >/dev/null; then
102042 if test -s conftest.err; then
102043 ac_cpp_err=$ac_c_preproc_warn_flag
102044 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
102045 else
102046 ac_cpp_err=
102047 fi
102048 else
102049 ac_cpp_err=yes
102050 fi
102051 if test -z "$ac_cpp_err"; then
102052 ac_header_preproc=yes
102053 else
102054 echo "$as_me: failed program was:" >&5
102055 sed 's/^/| /' conftest.$ac_ext >&5
102056
102057 ac_header_preproc=no
102058 fi
102059 rm -f conftest.err conftest.$ac_ext
102060 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
102061 echo "${ECHO_T}$ac_header_preproc" >&6
102062
102063 # So? What about this header?
102064 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
102065 yes:no: )
102066 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
102067 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
102068 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
102069 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
102070 ac_header_preproc=yes
102071 ;;
102072 no:yes:* )
102073 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
102074 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
102075 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
102076 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
102077 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
102078 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
102079 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
102080 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
102081 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
102082 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
102083 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
102084 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
102085 (
102086 cat <<\_ASBOX
102087 ## ----------------------------------------- ##
102088 ## Report this to the package-unused lists. ##
102089 ## ----------------------------------------- ##
102090 _ASBOX
102091 ) |
102092 sed "s/^/$as_me: WARNING: /" >&2
102093 ;;
102094 esac
102095 echo "$as_me:$LINENO: checking for $ac_header" >&5
102096 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
102097 if eval "test \"\${$as_ac_Header+set}\" = set"; then
102098 echo $ECHO_N "(cached) $ECHO_C" >&6
102099 else
102100 eval "$as_ac_Header=\$ac_header_preproc"
102101 fi
102102 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
102103 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
102104
102105 fi
102106 if test `eval echo '${'$as_ac_Header'}'` = yes; then
102107 cat >>confdefs.h <<_ACEOF
102108 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
102109 _ACEOF
102110
102111 fi
102112
102113 done
102114
102115 SECTION_FLAGS='-ffunction-sections -fdata-sections'
102116
102117
102118 # If we're not using GNU ld, then there's no point in even trying these
102119 # tests. Check for that first. We should have already tested for gld
102120 # by now (in libtool), but require it now just to be safe...
102121 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
102122 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
102123
102124
102125
102126 # The name set by libtool depends on the version of libtool. Shame on us
102127 # for depending on an impl detail, but c'est la vie. Older versions used
102128 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
102129 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
102130 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
102131 # set (hence we're using an older libtool), then set it.
102132 if test x${with_gnu_ld+set} != xset; then
102133 if test x${ac_cv_prog_gnu_ld+set} != xset; then
102134 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
102135 with_gnu_ld=no
102136 else
102137 with_gnu_ld=$ac_cv_prog_gnu_ld
102138 fi
102139 fi
102140
102141 # Start by getting the version number. I think the libtool test already
102142 # does some of this, but throws away the result.
102143 echo "$as_me:$LINENO: checking for ld version" >&5
102144 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
102145
102146 ldver=`$LD --version 2>/dev/null | head -1 | \
102147 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
102148
102149 glibcxx_gnu_ld_version=`echo $ldver | \
102150 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
102151 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
102152 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
102153
102154 # Set --gc-sections.
102155 glibcxx_gcsections_min_ld=21602
102156 if test x"$with_gnu_ld" = x"yes" &&
102157 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
102158
102159 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
102160 # NB: This flag only works reliably after 2.16.1. Configure tests
102161 # for this are difficult, so hard wire a value that should work.
102162
102163 # All these tests are for C++, but run with the "C" compiler driver.
102164 # Need to do this so that g++ won't try to link in libstdc++/libsupc++.
102165 ac_test_CFLAGS="${CFLAGS+set}"
102166 ac_save_CFLAGS="$CFLAGS"
102167 CFLAGS='-x c++ -Wl,--gc-sections'
102168
102169 # Check for -Wl,--gc-sections
102170 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
102171 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
102172 if test x$gcc_no_link = xyes; then
102173 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
102174 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
102175 { (exit 1); exit 1; }; }
102176 fi
102177 cat >conftest.$ac_ext <<_ACEOF
102178 /* confdefs.h. */
102179 _ACEOF
102180 cat confdefs.h >>conftest.$ac_ext
102181 cat >>conftest.$ac_ext <<_ACEOF
102182 /* end confdefs.h. */
102183 int one(void) { return 1; }
102184 int two(void) { return 2; }
102185
102186 int
102187 main ()
102188 {
102189 two();
102190 ;
102191 return 0;
102192 }
102193 _ACEOF
102194 rm -f conftest.$ac_objext conftest$ac_exeext
102195 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
102196 (eval $ac_link) 2>conftest.er1
102197 ac_status=$?
102198 grep -v '^ *+' conftest.er1 >conftest.err
102199 rm -f conftest.er1
102200 cat conftest.err >&5
102201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102202 (exit $ac_status); } &&
102203 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
102204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102205 (eval $ac_try) 2>&5
102206 ac_status=$?
102207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102208 (exit $ac_status); }; } &&
102209 { ac_try='test -s conftest$ac_exeext'
102210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102211 (eval $ac_try) 2>&5
102212 ac_status=$?
102213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102214 (exit $ac_status); }; }; then
102215 ac_gcsections=yes
102216 else
102217 echo "$as_me: failed program was:" >&5
102218 sed 's/^/| /' conftest.$ac_ext >&5
102219
102220 ac_gcsections=no
102221 fi
102222 rm -f conftest.err conftest.$ac_objext \
102223 conftest$ac_exeext conftest.$ac_ext
102224 if test "$ac_gcsections" = "yes"; then
102225 rm -f conftest.c
102226 touch conftest.c
102227 if $CC -c conftest.c; then
102228 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
102229 grep "Warning: gc-sections option ignored" > /dev/null; then
102230 ac_gcsections=no
102231 fi
102232 fi
102233 rm -f conftest.c conftest.o conftest
102234 fi
102235 if test "$ac_gcsections" = "yes"; then
102236 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
102237 fi
102238 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
102239 echo "${ECHO_T}$ac_gcsections" >&6
102240
102241 if test "$ac_test_CFLAGS" = set; then
102242 CFLAGS="$ac_save_CFLAGS"
102243 else
102244 # this is the suspicious part
102245 CFLAGS=''
102246 fi
102247 fi
102248
102249 # Set -z,relro.
102250 # Note this is only for shared objects.
102251 ac_ld_relro=no
102252 if test x"$with_gnu_ld" = x"yes"; then
102253 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
102254 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
102255 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
102256 if test -n "$cxx_z_relo"; then
102257 OPT_LDFLAGS="-Wl,-z,relro"
102258 ac_ld_relro=yes
102259 fi
102260 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
102261 echo "${ECHO_T}$ac_ld_relro" >&6
102262 fi
102263
102264 # Set linker optimization flags.
102265 if test x"$with_gnu_ld" = x"yes"; then
102266 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
102267 fi
102268
102269
102270
102271
102272
102273
102274 echo "$as_me:$LINENO: checking for main in -lm" >&5
102275 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
102276 if test "${ac_cv_lib_m_main+set}" = set; then
102277 echo $ECHO_N "(cached) $ECHO_C" >&6
102278 else
102279 ac_check_lib_save_LIBS=$LIBS
102280 LIBS="-lm $LIBS"
102281 if test x$gcc_no_link = xyes; then
102282 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
102283 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
102284 { (exit 1); exit 1; }; }
102285 fi
102286 cat >conftest.$ac_ext <<_ACEOF
102287 /* confdefs.h. */
102288 _ACEOF
102289 cat confdefs.h >>conftest.$ac_ext
102290 cat >>conftest.$ac_ext <<_ACEOF
102291 /* end confdefs.h. */
102292
102293
102294 int
102295 main ()
102296 {
102297 main ();
102298 ;
102299 return 0;
102300 }
102301 _ACEOF
102302 rm -f conftest.$ac_objext conftest$ac_exeext
102303 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
102304 (eval $ac_link) 2>conftest.er1
102305 ac_status=$?
102306 grep -v '^ *+' conftest.er1 >conftest.err
102307 rm -f conftest.er1
102308 cat conftest.err >&5
102309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102310 (exit $ac_status); } &&
102311 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
102312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102313 (eval $ac_try) 2>&5
102314 ac_status=$?
102315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102316 (exit $ac_status); }; } &&
102317 { ac_try='test -s conftest$ac_exeext'
102318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102319 (eval $ac_try) 2>&5
102320 ac_status=$?
102321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102322 (exit $ac_status); }; }; then
102323 ac_cv_lib_m_main=yes
102324 else
102325 echo "$as_me: failed program was:" >&5
102326 sed 's/^/| /' conftest.$ac_ext >&5
102327
102328 ac_cv_lib_m_main=no
102329 fi
102330 rm -f conftest.err conftest.$ac_objext \
102331 conftest$ac_exeext conftest.$ac_ext
102332 LIBS=$ac_check_lib_save_LIBS
102333 fi
102334 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
102335 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
102336 if test $ac_cv_lib_m_main = yes; then
102337 cat >>confdefs.h <<_ACEOF
102338 #define HAVE_LIBM 1
102339 _ACEOF
102340
102341 LIBS="-lm $LIBS"
102342
102343 fi
102344
102345
102346 for ac_func in copysignf
102347 do
102348 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
102349 echo "$as_me:$LINENO: checking for $ac_func" >&5
102350 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
102351 if eval "test \"\${$as_ac_var+set}\" = set"; then
102352 echo $ECHO_N "(cached) $ECHO_C" >&6
102353 else
102354 if test x$gcc_no_link = xyes; then
102355 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
102356 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
102357 { (exit 1); exit 1; }; }
102358 fi
102359 cat >conftest.$ac_ext <<_ACEOF
102360 /* confdefs.h. */
102361 _ACEOF
102362 cat confdefs.h >>conftest.$ac_ext
102363 cat >>conftest.$ac_ext <<_ACEOF
102364 /* end confdefs.h. */
102365 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
102366 For example, HP-UX 11i <limits.h> declares gettimeofday. */
102367 #define $ac_func innocuous_$ac_func
102368
102369 /* System header to define __stub macros and hopefully few prototypes,
102370 which can conflict with char $ac_func (); below.
102371 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
102372 <limits.h> exists even on freestanding compilers. */
102373
102374 #ifdef __STDC__
102375 # include <limits.h>
102376 #else
102377 # include <assert.h>
102378 #endif
102379
102380 #undef $ac_func
102381
102382 /* Override any gcc2 internal prototype to avoid an error. */
102383 #ifdef __cplusplus
102384 extern "C"
102385 {
102386 #endif
102387 /* We use char because int might match the return type of a gcc2
102388 builtin and then its argument prototype would still apply. */
102389 char $ac_func ();
102390 /* The GNU C library defines this for functions which it implements
102391 to always fail with ENOSYS. Some functions are actually named
102392 something starting with __ and the normal name is an alias. */
102393 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
102394 choke me
102395 #else
102396 char (*f) () = $ac_func;
102397 #endif
102398 #ifdef __cplusplus
102399 }
102400 #endif
102401
102402 int
102403 main ()
102404 {
102405 return f != $ac_func;
102406 ;
102407 return 0;
102408 }
102409 _ACEOF
102410 rm -f conftest.$ac_objext conftest$ac_exeext
102411 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
102412 (eval $ac_link) 2>conftest.er1
102413 ac_status=$?
102414 grep -v '^ *+' conftest.er1 >conftest.err
102415 rm -f conftest.er1
102416 cat conftest.err >&5
102417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102418 (exit $ac_status); } &&
102419 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
102420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102421 (eval $ac_try) 2>&5
102422 ac_status=$?
102423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102424 (exit $ac_status); }; } &&
102425 { ac_try='test -s conftest$ac_exeext'
102426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102427 (eval $ac_try) 2>&5
102428 ac_status=$?
102429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102430 (exit $ac_status); }; }; then
102431 eval "$as_ac_var=yes"
102432 else
102433 echo "$as_me: failed program was:" >&5
102434 sed 's/^/| /' conftest.$ac_ext >&5
102435
102436 eval "$as_ac_var=no"
102437 fi
102438 rm -f conftest.err conftest.$ac_objext \
102439 conftest$ac_exeext conftest.$ac_ext
102440 fi
102441 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
102442 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
102443 if test `eval echo '${'$as_ac_var'}'` = yes; then
102444 cat >>confdefs.h <<_ACEOF
102445 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
102446 _ACEOF
102447
102448 else
102449 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
102450 fi
102451 done
102452
102453
102454
102455 for ac_func in __signbit
102456 do
102457 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
102458 echo "$as_me:$LINENO: checking for $ac_func" >&5
102459 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
102460 if eval "test \"\${$as_ac_var+set}\" = set"; then
102461 echo $ECHO_N "(cached) $ECHO_C" >&6
102462 else
102463 if test x$gcc_no_link = xyes; then
102464 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
102465 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
102466 { (exit 1); exit 1; }; }
102467 fi
102468 cat >conftest.$ac_ext <<_ACEOF
102469 /* confdefs.h. */
102470 _ACEOF
102471 cat confdefs.h >>conftest.$ac_ext
102472 cat >>conftest.$ac_ext <<_ACEOF
102473 /* end confdefs.h. */
102474 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
102475 For example, HP-UX 11i <limits.h> declares gettimeofday. */
102476 #define $ac_func innocuous_$ac_func
102477
102478 /* System header to define __stub macros and hopefully few prototypes,
102479 which can conflict with char $ac_func (); below.
102480 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
102481 <limits.h> exists even on freestanding compilers. */
102482
102483 #ifdef __STDC__
102484 # include <limits.h>
102485 #else
102486 # include <assert.h>
102487 #endif
102488
102489 #undef $ac_func
102490
102491 /* Override any gcc2 internal prototype to avoid an error. */
102492 #ifdef __cplusplus
102493 extern "C"
102494 {
102495 #endif
102496 /* We use char because int might match the return type of a gcc2
102497 builtin and then its argument prototype would still apply. */
102498 char $ac_func ();
102499 /* The GNU C library defines this for functions which it implements
102500 to always fail with ENOSYS. Some functions are actually named
102501 something starting with __ and the normal name is an alias. */
102502 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
102503 choke me
102504 #else
102505 char (*f) () = $ac_func;
102506 #endif
102507 #ifdef __cplusplus
102508 }
102509 #endif
102510
102511 int
102512 main ()
102513 {
102514 return f != $ac_func;
102515 ;
102516 return 0;
102517 }
102518 _ACEOF
102519 rm -f conftest.$ac_objext conftest$ac_exeext
102520 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
102521 (eval $ac_link) 2>conftest.er1
102522 ac_status=$?
102523 grep -v '^ *+' conftest.er1 >conftest.err
102524 rm -f conftest.er1
102525 cat conftest.err >&5
102526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102527 (exit $ac_status); } &&
102528 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
102529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102530 (eval $ac_try) 2>&5
102531 ac_status=$?
102532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102533 (exit $ac_status); }; } &&
102534 { ac_try='test -s conftest$ac_exeext'
102535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102536 (eval $ac_try) 2>&5
102537 ac_status=$?
102538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102539 (exit $ac_status); }; }; then
102540 eval "$as_ac_var=yes"
102541 else
102542 echo "$as_me: failed program was:" >&5
102543 sed 's/^/| /' conftest.$ac_ext >&5
102544
102545 eval "$as_ac_var=no"
102546 fi
102547 rm -f conftest.err conftest.$ac_objext \
102548 conftest$ac_exeext conftest.$ac_ext
102549 fi
102550 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
102551 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
102552 if test `eval echo '${'$as_ac_var'}'` = yes; then
102553 cat >>confdefs.h <<_ACEOF
102554 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
102555 _ACEOF
102556
102557 else
102558 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
102559 fi
102560 done
102561
102562
102563
102564 for ac_func in __signbitf
102565 do
102566 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
102567 echo "$as_me:$LINENO: checking for $ac_func" >&5
102568 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
102569 if eval "test \"\${$as_ac_var+set}\" = set"; then
102570 echo $ECHO_N "(cached) $ECHO_C" >&6
102571 else
102572 if test x$gcc_no_link = xyes; then
102573 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
102574 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
102575 { (exit 1); exit 1; }; }
102576 fi
102577 cat >conftest.$ac_ext <<_ACEOF
102578 /* confdefs.h. */
102579 _ACEOF
102580 cat confdefs.h >>conftest.$ac_ext
102581 cat >>conftest.$ac_ext <<_ACEOF
102582 /* end confdefs.h. */
102583 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
102584 For example, HP-UX 11i <limits.h> declares gettimeofday. */
102585 #define $ac_func innocuous_$ac_func
102586
102587 /* System header to define __stub macros and hopefully few prototypes,
102588 which can conflict with char $ac_func (); below.
102589 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
102590 <limits.h> exists even on freestanding compilers. */
102591
102592 #ifdef __STDC__
102593 # include <limits.h>
102594 #else
102595 # include <assert.h>
102596 #endif
102597
102598 #undef $ac_func
102599
102600 /* Override any gcc2 internal prototype to avoid an error. */
102601 #ifdef __cplusplus
102602 extern "C"
102603 {
102604 #endif
102605 /* We use char because int might match the return type of a gcc2
102606 builtin and then its argument prototype would still apply. */
102607 char $ac_func ();
102608 /* The GNU C library defines this for functions which it implements
102609 to always fail with ENOSYS. Some functions are actually named
102610 something starting with __ and the normal name is an alias. */
102611 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
102612 choke me
102613 #else
102614 char (*f) () = $ac_func;
102615 #endif
102616 #ifdef __cplusplus
102617 }
102618 #endif
102619
102620 int
102621 main ()
102622 {
102623 return f != $ac_func;
102624 ;
102625 return 0;
102626 }
102627 _ACEOF
102628 rm -f conftest.$ac_objext conftest$ac_exeext
102629 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
102630 (eval $ac_link) 2>conftest.er1
102631 ac_status=$?
102632 grep -v '^ *+' conftest.er1 >conftest.err
102633 rm -f conftest.er1
102634 cat conftest.err >&5
102635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102636 (exit $ac_status); } &&
102637 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
102638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102639 (eval $ac_try) 2>&5
102640 ac_status=$?
102641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102642 (exit $ac_status); }; } &&
102643 { ac_try='test -s conftest$ac_exeext'
102644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102645 (eval $ac_try) 2>&5
102646 ac_status=$?
102647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102648 (exit $ac_status); }; }; then
102649 eval "$as_ac_var=yes"
102650 else
102651 echo "$as_me: failed program was:" >&5
102652 sed 's/^/| /' conftest.$ac_ext >&5
102653
102654 eval "$as_ac_var=no"
102655 fi
102656 rm -f conftest.err conftest.$ac_objext \
102657 conftest$ac_exeext conftest.$ac_ext
102658 fi
102659 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
102660 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
102661 if test `eval echo '${'$as_ac_var'}'` = yes; then
102662 cat >>confdefs.h <<_ACEOF
102663 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
102664 _ACEOF
102665
102666 else
102667 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
102668 fi
102669 done
102670
102671
102672 if test x$ac_cv_func_copysignl = x"yes"; then
102673
102674 for ac_func in __signbitl
102675 do
102676 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
102677 echo "$as_me:$LINENO: checking for $ac_func" >&5
102678 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
102679 if eval "test \"\${$as_ac_var+set}\" = set"; then
102680 echo $ECHO_N "(cached) $ECHO_C" >&6
102681 else
102682 if test x$gcc_no_link = xyes; then
102683 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
102684 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
102685 { (exit 1); exit 1; }; }
102686 fi
102687 cat >conftest.$ac_ext <<_ACEOF
102688 /* confdefs.h. */
102689 _ACEOF
102690 cat confdefs.h >>conftest.$ac_ext
102691 cat >>conftest.$ac_ext <<_ACEOF
102692 /* end confdefs.h. */
102693 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
102694 For example, HP-UX 11i <limits.h> declares gettimeofday. */
102695 #define $ac_func innocuous_$ac_func
102696
102697 /* System header to define __stub macros and hopefully few prototypes,
102698 which can conflict with char $ac_func (); below.
102699 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
102700 <limits.h> exists even on freestanding compilers. */
102701
102702 #ifdef __STDC__
102703 # include <limits.h>
102704 #else
102705 # include <assert.h>
102706 #endif
102707
102708 #undef $ac_func
102709
102710 /* Override any gcc2 internal prototype to avoid an error. */
102711 #ifdef __cplusplus
102712 extern "C"
102713 {
102714 #endif
102715 /* We use char because int might match the return type of a gcc2
102716 builtin and then its argument prototype would still apply. */
102717 char $ac_func ();
102718 /* The GNU C library defines this for functions which it implements
102719 to always fail with ENOSYS. Some functions are actually named
102720 something starting with __ and the normal name is an alias. */
102721 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
102722 choke me
102723 #else
102724 char (*f) () = $ac_func;
102725 #endif
102726 #ifdef __cplusplus
102727 }
102728 #endif
102729
102730 int
102731 main ()
102732 {
102733 return f != $ac_func;
102734 ;
102735 return 0;
102736 }
102737 _ACEOF
102738 rm -f conftest.$ac_objext conftest$ac_exeext
102739 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
102740 (eval $ac_link) 2>conftest.er1
102741 ac_status=$?
102742 grep -v '^ *+' conftest.er1 >conftest.err
102743 rm -f conftest.er1
102744 cat conftest.err >&5
102745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102746 (exit $ac_status); } &&
102747 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
102748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102749 (eval $ac_try) 2>&5
102750 ac_status=$?
102751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102752 (exit $ac_status); }; } &&
102753 { ac_try='test -s conftest$ac_exeext'
102754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102755 (eval $ac_try) 2>&5
102756 ac_status=$?
102757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102758 (exit $ac_status); }; }; then
102759 eval "$as_ac_var=yes"
102760 else
102761 echo "$as_me: failed program was:" >&5
102762 sed 's/^/| /' conftest.$ac_ext >&5
102763
102764 eval "$as_ac_var=no"
102765 fi
102766 rm -f conftest.err conftest.$ac_objext \
102767 conftest$ac_exeext conftest.$ac_ext
102768 fi
102769 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
102770 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
102771 if test `eval echo '${'$as_ac_var'}'` = yes; then
102772 cat >>confdefs.h <<_ACEOF
102773 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
102774 _ACEOF
102775
102776 else
102777 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
102778 fi
102779 done
102780
102781 fi
102782
102783 # Used in libmath/Makefile.am.
102784 if test -n "$LIBMATHOBJS"; then
102785 need_libmath=yes
102786 fi
102787
102788
102789
102790
102791 enable_iconv=no
102792 # Only continue checking if the ISO C99 headers exist and support is on.
102793 if test x"$enable_wchar_t" = xyes; then
102794
102795 # Use iconv for wchar_t to char conversions. As such, check for
102796 # X/Open Portability Guide, version 2 features (XPG2).
102797 if test "${ac_cv_header_iconv_h+set}" = set; then
102798 echo "$as_me:$LINENO: checking for iconv.h" >&5
102799 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
102800 if test "${ac_cv_header_iconv_h+set}" = set; then
102801 echo $ECHO_N "(cached) $ECHO_C" >&6
102802 fi
102803 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
102804 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
102805 else
102806 # Is the header compilable?
102807 echo "$as_me:$LINENO: checking iconv.h usability" >&5
102808 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
102809 cat >conftest.$ac_ext <<_ACEOF
102810 /* confdefs.h. */
102811 _ACEOF
102812 cat confdefs.h >>conftest.$ac_ext
102813 cat >>conftest.$ac_ext <<_ACEOF
102814 /* end confdefs.h. */
102815 $ac_includes_default
102816 #include <iconv.h>
102817 _ACEOF
102818 rm -f conftest.$ac_objext
102819 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
102820 (eval $ac_compile) 2>conftest.er1
102821 ac_status=$?
102822 grep -v '^ *+' conftest.er1 >conftest.err
102823 rm -f conftest.er1
102824 cat conftest.err >&5
102825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102826 (exit $ac_status); } &&
102827 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
102828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102829 (eval $ac_try) 2>&5
102830 ac_status=$?
102831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102832 (exit $ac_status); }; } &&
102833 { ac_try='test -s conftest.$ac_objext'
102834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102835 (eval $ac_try) 2>&5
102836 ac_status=$?
102837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102838 (exit $ac_status); }; }; then
102839 ac_header_compiler=yes
102840 else
102841 echo "$as_me: failed program was:" >&5
102842 sed 's/^/| /' conftest.$ac_ext >&5
102843
102844 ac_header_compiler=no
102845 fi
102846 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
102847 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
102848 echo "${ECHO_T}$ac_header_compiler" >&6
102849
102850 # Is the header present?
102851 echo "$as_me:$LINENO: checking iconv.h presence" >&5
102852 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
102853 cat >conftest.$ac_ext <<_ACEOF
102854 /* confdefs.h. */
102855 _ACEOF
102856 cat confdefs.h >>conftest.$ac_ext
102857 cat >>conftest.$ac_ext <<_ACEOF
102858 /* end confdefs.h. */
102859 #include <iconv.h>
102860 _ACEOF
102861 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
102862 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
102863 ac_status=$?
102864 grep -v '^ *+' conftest.er1 >conftest.err
102865 rm -f conftest.er1
102866 cat conftest.err >&5
102867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102868 (exit $ac_status); } >/dev/null; then
102869 if test -s conftest.err; then
102870 ac_cpp_err=$ac_c_preproc_warn_flag
102871 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
102872 else
102873 ac_cpp_err=
102874 fi
102875 else
102876 ac_cpp_err=yes
102877 fi
102878 if test -z "$ac_cpp_err"; then
102879 ac_header_preproc=yes
102880 else
102881 echo "$as_me: failed program was:" >&5
102882 sed 's/^/| /' conftest.$ac_ext >&5
102883
102884 ac_header_preproc=no
102885 fi
102886 rm -f conftest.err conftest.$ac_ext
102887 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
102888 echo "${ECHO_T}$ac_header_preproc" >&6
102889
102890 # So? What about this header?
102891 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
102892 yes:no: )
102893 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
102894 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
102895 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
102896 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
102897 ac_header_preproc=yes
102898 ;;
102899 no:yes:* )
102900 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
102901 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
102902 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
102903 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
102904 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
102905 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
102906 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
102907 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
102908 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
102909 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
102910 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
102911 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
102912 (
102913 cat <<\_ASBOX
102914 ## ----------------------------------------- ##
102915 ## Report this to the package-unused lists. ##
102916 ## ----------------------------------------- ##
102917 _ASBOX
102918 ) |
102919 sed "s/^/$as_me: WARNING: /" >&2
102920 ;;
102921 esac
102922 echo "$as_me:$LINENO: checking for iconv.h" >&5
102923 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
102924 if test "${ac_cv_header_iconv_h+set}" = set; then
102925 echo $ECHO_N "(cached) $ECHO_C" >&6
102926 else
102927 ac_cv_header_iconv_h=$ac_header_preproc
102928 fi
102929 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
102930 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
102931
102932 fi
102933 if test $ac_cv_header_iconv_h = yes; then
102934 ac_has_iconv_h=yes
102935 else
102936 ac_has_iconv_h=no
102937 fi
102938
102939
102940 if test "${ac_cv_header_langinfo_h+set}" = set; then
102941 echo "$as_me:$LINENO: checking for langinfo.h" >&5
102942 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
102943 if test "${ac_cv_header_langinfo_h+set}" = set; then
102944 echo $ECHO_N "(cached) $ECHO_C" >&6
102945 fi
102946 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
102947 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
102948 else
102949 # Is the header compilable?
102950 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
102951 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
102952 cat >conftest.$ac_ext <<_ACEOF
102953 /* confdefs.h. */
102954 _ACEOF
102955 cat confdefs.h >>conftest.$ac_ext
102956 cat >>conftest.$ac_ext <<_ACEOF
102957 /* end confdefs.h. */
102958 $ac_includes_default
102959 #include <langinfo.h>
102960 _ACEOF
102961 rm -f conftest.$ac_objext
102962 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
102963 (eval $ac_compile) 2>conftest.er1
102964 ac_status=$?
102965 grep -v '^ *+' conftest.er1 >conftest.err
102966 rm -f conftest.er1
102967 cat conftest.err >&5
102968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102969 (exit $ac_status); } &&
102970 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
102971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102972 (eval $ac_try) 2>&5
102973 ac_status=$?
102974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102975 (exit $ac_status); }; } &&
102976 { ac_try='test -s conftest.$ac_objext'
102977 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102978 (eval $ac_try) 2>&5
102979 ac_status=$?
102980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102981 (exit $ac_status); }; }; then
102982 ac_header_compiler=yes
102983 else
102984 echo "$as_me: failed program was:" >&5
102985 sed 's/^/| /' conftest.$ac_ext >&5
102986
102987 ac_header_compiler=no
102988 fi
102989 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
102990 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
102991 echo "${ECHO_T}$ac_header_compiler" >&6
102992
102993 # Is the header present?
102994 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
102995 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
102996 cat >conftest.$ac_ext <<_ACEOF
102997 /* confdefs.h. */
102998 _ACEOF
102999 cat confdefs.h >>conftest.$ac_ext
103000 cat >>conftest.$ac_ext <<_ACEOF
103001 /* end confdefs.h. */
103002 #include <langinfo.h>
103003 _ACEOF
103004 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
103005 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
103006 ac_status=$?
103007 grep -v '^ *+' conftest.er1 >conftest.err
103008 rm -f conftest.er1
103009 cat conftest.err >&5
103010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103011 (exit $ac_status); } >/dev/null; then
103012 if test -s conftest.err; then
103013 ac_cpp_err=$ac_c_preproc_warn_flag
103014 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
103015 else
103016 ac_cpp_err=
103017 fi
103018 else
103019 ac_cpp_err=yes
103020 fi
103021 if test -z "$ac_cpp_err"; then
103022 ac_header_preproc=yes
103023 else
103024 echo "$as_me: failed program was:" >&5
103025 sed 's/^/| /' conftest.$ac_ext >&5
103026
103027 ac_header_preproc=no
103028 fi
103029 rm -f conftest.err conftest.$ac_ext
103030 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
103031 echo "${ECHO_T}$ac_header_preproc" >&6
103032
103033 # So? What about this header?
103034 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
103035 yes:no: )
103036 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
103037 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
103038 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
103039 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
103040 ac_header_preproc=yes
103041 ;;
103042 no:yes:* )
103043 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
103044 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
103045 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
103046 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
103047 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
103048 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
103049 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
103050 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
103051 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
103052 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
103053 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
103054 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
103055 (
103056 cat <<\_ASBOX
103057 ## ----------------------------------------- ##
103058 ## Report this to the package-unused lists. ##
103059 ## ----------------------------------------- ##
103060 _ASBOX
103061 ) |
103062 sed "s/^/$as_me: WARNING: /" >&2
103063 ;;
103064 esac
103065 echo "$as_me:$LINENO: checking for langinfo.h" >&5
103066 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
103067 if test "${ac_cv_header_langinfo_h+set}" = set; then
103068 echo $ECHO_N "(cached) $ECHO_C" >&6
103069 else
103070 ac_cv_header_langinfo_h=$ac_header_preproc
103071 fi
103072 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
103073 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
103074
103075 fi
103076 if test $ac_cv_header_langinfo_h = yes; then
103077 ac_has_langinfo_h=yes
103078 else
103079 ac_has_langinfo_h=no
103080 fi
103081
103082
103083
103084 # Check for existence of libiconv.a providing XPG2 wchar_t support.
103085 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
103086 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
103087 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
103088 echo $ECHO_N "(cached) $ECHO_C" >&6
103089 else
103090 ac_check_lib_save_LIBS=$LIBS
103091 LIBS="-liconv $LIBS"
103092 if test x$gcc_no_link = xyes; then
103093 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
103094 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
103095 { (exit 1); exit 1; }; }
103096 fi
103097 cat >conftest.$ac_ext <<_ACEOF
103098 /* confdefs.h. */
103099 _ACEOF
103100 cat confdefs.h >>conftest.$ac_ext
103101 cat >>conftest.$ac_ext <<_ACEOF
103102 /* end confdefs.h. */
103103
103104 /* Override any gcc2 internal prototype to avoid an error. */
103105 #ifdef __cplusplus
103106 extern "C"
103107 #endif
103108 /* We use char because int might match the return type of a gcc2
103109 builtin and then its argument prototype would still apply. */
103110 char iconv ();
103111 int
103112 main ()
103113 {
103114 iconv ();
103115 ;
103116 return 0;
103117 }
103118 _ACEOF
103119 rm -f conftest.$ac_objext conftest$ac_exeext
103120 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
103121 (eval $ac_link) 2>conftest.er1
103122 ac_status=$?
103123 grep -v '^ *+' conftest.er1 >conftest.err
103124 rm -f conftest.er1
103125 cat conftest.err >&5
103126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103127 (exit $ac_status); } &&
103128 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
103129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103130 (eval $ac_try) 2>&5
103131 ac_status=$?
103132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103133 (exit $ac_status); }; } &&
103134 { ac_try='test -s conftest$ac_exeext'
103135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103136 (eval $ac_try) 2>&5
103137 ac_status=$?
103138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103139 (exit $ac_status); }; }; then
103140 ac_cv_lib_iconv_iconv=yes
103141 else
103142 echo "$as_me: failed program was:" >&5
103143 sed 's/^/| /' conftest.$ac_ext >&5
103144
103145 ac_cv_lib_iconv_iconv=no
103146 fi
103147 rm -f conftest.err conftest.$ac_objext \
103148 conftest$ac_exeext conftest.$ac_ext
103149 LIBS=$ac_check_lib_save_LIBS
103150 fi
103151 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
103152 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
103153 if test $ac_cv_lib_iconv_iconv = yes; then
103154 LIBICONV="-liconv"
103155 fi
103156
103157 ac_save_LIBS="$LIBS"
103158 LIBS="$LIBS $LIBICONV"
103159
103160
103161
103162
103163
103164
103165 for ac_func in iconv_open iconv_close iconv nl_langinfo
103166 do
103167 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
103168 echo "$as_me:$LINENO: checking for $ac_func" >&5
103169 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
103170 if eval "test \"\${$as_ac_var+set}\" = set"; then
103171 echo $ECHO_N "(cached) $ECHO_C" >&6
103172 else
103173 if test x$gcc_no_link = xyes; then
103174 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
103175 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
103176 { (exit 1); exit 1; }; }
103177 fi
103178 cat >conftest.$ac_ext <<_ACEOF
103179 /* confdefs.h. */
103180 _ACEOF
103181 cat confdefs.h >>conftest.$ac_ext
103182 cat >>conftest.$ac_ext <<_ACEOF
103183 /* end confdefs.h. */
103184 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
103185 For example, HP-UX 11i <limits.h> declares gettimeofday. */
103186 #define $ac_func innocuous_$ac_func
103187
103188 /* System header to define __stub macros and hopefully few prototypes,
103189 which can conflict with char $ac_func (); below.
103190 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
103191 <limits.h> exists even on freestanding compilers. */
103192
103193 #ifdef __STDC__
103194 # include <limits.h>
103195 #else
103196 # include <assert.h>
103197 #endif
103198
103199 #undef $ac_func
103200
103201 /* Override any gcc2 internal prototype to avoid an error. */
103202 #ifdef __cplusplus
103203 extern "C"
103204 {
103205 #endif
103206 /* We use char because int might match the return type of a gcc2
103207 builtin and then its argument prototype would still apply. */
103208 char $ac_func ();
103209 /* The GNU C library defines this for functions which it implements
103210 to always fail with ENOSYS. Some functions are actually named
103211 something starting with __ and the normal name is an alias. */
103212 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
103213 choke me
103214 #else
103215 char (*f) () = $ac_func;
103216 #endif
103217 #ifdef __cplusplus
103218 }
103219 #endif
103220
103221 int
103222 main ()
103223 {
103224 return f != $ac_func;
103225 ;
103226 return 0;
103227 }
103228 _ACEOF
103229 rm -f conftest.$ac_objext conftest$ac_exeext
103230 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
103231 (eval $ac_link) 2>conftest.er1
103232 ac_status=$?
103233 grep -v '^ *+' conftest.er1 >conftest.err
103234 rm -f conftest.er1
103235 cat conftest.err >&5
103236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103237 (exit $ac_status); } &&
103238 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
103239 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103240 (eval $ac_try) 2>&5
103241 ac_status=$?
103242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103243 (exit $ac_status); }; } &&
103244 { ac_try='test -s conftest$ac_exeext'
103245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103246 (eval $ac_try) 2>&5
103247 ac_status=$?
103248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103249 (exit $ac_status); }; }; then
103250 eval "$as_ac_var=yes"
103251 else
103252 echo "$as_me: failed program was:" >&5
103253 sed 's/^/| /' conftest.$ac_ext >&5
103254
103255 eval "$as_ac_var=no"
103256 fi
103257 rm -f conftest.err conftest.$ac_objext \
103258 conftest$ac_exeext conftest.$ac_ext
103259 fi
103260 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
103261 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
103262 if test `eval echo '${'$as_ac_var'}'` = yes; then
103263 cat >>confdefs.h <<_ACEOF
103264 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
103265 _ACEOF
103266 ac_XPG2funcs=yes
103267 else
103268 ac_XPG2funcs=no
103269 fi
103270 done
103271
103272
103273 LIBS="$ac_save_LIBS"
103274
103275 if test x"$ac_has_iconv_h" = xyes &&
103276 test x"$ac_has_langinfo_h" = xyes &&
103277 test x"$ac_XPG2funcs" = xyes;
103278 then
103279
103280 cat >>confdefs.h <<\_ACEOF
103281 #define _GLIBCXX_USE_ICONV 1
103282 _ACEOF
103283
103284 enable_iconv=yes
103285 fi
103286 fi
103287 echo "$as_me:$LINENO: checking for enabled iconv specializations" >&5
103288 echo $ECHO_N "checking for enabled iconv specializations... $ECHO_C" >&6
103289 echo "$as_me:$LINENO: result: $enable_iconv" >&5
103290 echo "${ECHO_T}$enable_iconv" >&6
103291
103292 cat >>confdefs.h <<\_ACEOF
103293 #define HAVE_HYPOT 1
103294 _ACEOF
103295
103296 cat >>confdefs.h <<\_ACEOF
103297 #define HAVE_ISINF 1
103298 _ACEOF
103299
103300 cat >>confdefs.h <<\_ACEOF
103301 #define HAVE_ISNAN 1
103302 _ACEOF
103303
103304
103305 # For showmanyc_helper().
103306
103307
103308 for ac_header in sys/ioctl.h sys/filio.h
103309 do
103310 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
103311 if eval "test \"\${$as_ac_Header+set}\" = set"; then
103312 echo "$as_me:$LINENO: checking for $ac_header" >&5
103313 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
103314 if eval "test \"\${$as_ac_Header+set}\" = set"; then
103315 echo $ECHO_N "(cached) $ECHO_C" >&6
103316 fi
103317 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
103318 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
103319 else
103320 # Is the header compilable?
103321 echo "$as_me:$LINENO: checking $ac_header usability" >&5
103322 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
103323 cat >conftest.$ac_ext <<_ACEOF
103324 /* confdefs.h. */
103325 _ACEOF
103326 cat confdefs.h >>conftest.$ac_ext
103327 cat >>conftest.$ac_ext <<_ACEOF
103328 /* end confdefs.h. */
103329 $ac_includes_default
103330 #include <$ac_header>
103331 _ACEOF
103332 rm -f conftest.$ac_objext
103333 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
103334 (eval $ac_compile) 2>conftest.er1
103335 ac_status=$?
103336 grep -v '^ *+' conftest.er1 >conftest.err
103337 rm -f conftest.er1
103338 cat conftest.err >&5
103339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103340 (exit $ac_status); } &&
103341 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
103342 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103343 (eval $ac_try) 2>&5
103344 ac_status=$?
103345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103346 (exit $ac_status); }; } &&
103347 { ac_try='test -s conftest.$ac_objext'
103348 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103349 (eval $ac_try) 2>&5
103350 ac_status=$?
103351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103352 (exit $ac_status); }; }; then
103353 ac_header_compiler=yes
103354 else
103355 echo "$as_me: failed program was:" >&5
103356 sed 's/^/| /' conftest.$ac_ext >&5
103357
103358 ac_header_compiler=no
103359 fi
103360 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
103361 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
103362 echo "${ECHO_T}$ac_header_compiler" >&6
103363
103364 # Is the header present?
103365 echo "$as_me:$LINENO: checking $ac_header presence" >&5
103366 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
103367 cat >conftest.$ac_ext <<_ACEOF
103368 /* confdefs.h. */
103369 _ACEOF
103370 cat confdefs.h >>conftest.$ac_ext
103371 cat >>conftest.$ac_ext <<_ACEOF
103372 /* end confdefs.h. */
103373 #include <$ac_header>
103374 _ACEOF
103375 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
103376 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
103377 ac_status=$?
103378 grep -v '^ *+' conftest.er1 >conftest.err
103379 rm -f conftest.er1
103380 cat conftest.err >&5
103381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103382 (exit $ac_status); } >/dev/null; then
103383 if test -s conftest.err; then
103384 ac_cpp_err=$ac_c_preproc_warn_flag
103385 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
103386 else
103387 ac_cpp_err=
103388 fi
103389 else
103390 ac_cpp_err=yes
103391 fi
103392 if test -z "$ac_cpp_err"; then
103393 ac_header_preproc=yes
103394 else
103395 echo "$as_me: failed program was:" >&5
103396 sed 's/^/| /' conftest.$ac_ext >&5
103397
103398 ac_header_preproc=no
103399 fi
103400 rm -f conftest.err conftest.$ac_ext
103401 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
103402 echo "${ECHO_T}$ac_header_preproc" >&6
103403
103404 # So? What about this header?
103405 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
103406 yes:no: )
103407 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
103408 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
103409 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
103410 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
103411 ac_header_preproc=yes
103412 ;;
103413 no:yes:* )
103414 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
103415 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
103416 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
103417 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
103418 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
103419 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
103420 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
103421 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
103422 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
103423 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
103424 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
103425 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
103426 (
103427 cat <<\_ASBOX
103428 ## ----------------------------------------- ##
103429 ## Report this to the package-unused lists. ##
103430 ## ----------------------------------------- ##
103431 _ASBOX
103432 ) |
103433 sed "s/^/$as_me: WARNING: /" >&2
103434 ;;
103435 esac
103436 echo "$as_me:$LINENO: checking for $ac_header" >&5
103437 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
103438 if eval "test \"\${$as_ac_Header+set}\" = set"; then
103439 echo $ECHO_N "(cached) $ECHO_C" >&6
103440 else
103441 eval "$as_ac_Header=\$ac_header_preproc"
103442 fi
103443 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
103444 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
103445
103446 fi
103447 if test `eval echo '${'$as_ac_Header'}'` = yes; then
103448 cat >>confdefs.h <<_ACEOF
103449 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
103450 _ACEOF
103451
103452 fi
103453
103454 done
103455
103456
103457 echo "$as_me:$LINENO: checking for poll" >&5
103458 echo $ECHO_N "checking for poll... $ECHO_C" >&6
103459 if test "${glibcxx_cv_POLL+set}" = set; then
103460 echo $ECHO_N "(cached) $ECHO_C" >&6
103461 else
103462
103463 if test x$gcc_no_link = xyes; then
103464 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
103465 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
103466 { (exit 1); exit 1; }; }
103467 fi
103468 cat >conftest.$ac_ext <<_ACEOF
103469 /* confdefs.h. */
103470 _ACEOF
103471 cat confdefs.h >>conftest.$ac_ext
103472 cat >>conftest.$ac_ext <<_ACEOF
103473 /* end confdefs.h. */
103474 #include <poll.h>
103475 int
103476 main ()
103477 {
103478 struct pollfd pfd[1];
103479 pfd[0].events = POLLIN;
103480 poll(pfd, 1, 0);
103481 ;
103482 return 0;
103483 }
103484 _ACEOF
103485 rm -f conftest.$ac_objext conftest$ac_exeext
103486 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
103487 (eval $ac_link) 2>conftest.er1
103488 ac_status=$?
103489 grep -v '^ *+' conftest.er1 >conftest.err
103490 rm -f conftest.er1
103491 cat conftest.err >&5
103492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103493 (exit $ac_status); } &&
103494 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
103495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103496 (eval $ac_try) 2>&5
103497 ac_status=$?
103498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103499 (exit $ac_status); }; } &&
103500 { ac_try='test -s conftest$ac_exeext'
103501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103502 (eval $ac_try) 2>&5
103503 ac_status=$?
103504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103505 (exit $ac_status); }; }; then
103506 glibcxx_cv_POLL=yes
103507 else
103508 echo "$as_me: failed program was:" >&5
103509 sed 's/^/| /' conftest.$ac_ext >&5
103510
103511 glibcxx_cv_POLL=no
103512 fi
103513 rm -f conftest.err conftest.$ac_objext \
103514 conftest$ac_exeext conftest.$ac_ext
103515
103516 fi
103517
103518 if test $glibcxx_cv_POLL = yes; then
103519
103520 cat >>confdefs.h <<\_ACEOF
103521 #define HAVE_POLL 1
103522 _ACEOF
103523
103524 fi
103525 echo "$as_me:$LINENO: result: $glibcxx_cv_POLL" >&5
103526 echo "${ECHO_T}$glibcxx_cv_POLL" >&6
103527
103528
103529 echo "$as_me:$LINENO: checking for S_ISREG or S_IFREG" >&5
103530 echo $ECHO_N "checking for S_ISREG or S_IFREG... $ECHO_C" >&6
103531 if test "${glibcxx_cv_S_ISREG+set}" = set; then
103532 echo $ECHO_N "(cached) $ECHO_C" >&6
103533 else
103534
103535 if test x$gcc_no_link = xyes; then
103536 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
103537 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
103538 { (exit 1); exit 1; }; }
103539 fi
103540 cat >conftest.$ac_ext <<_ACEOF
103541 /* confdefs.h. */
103542 _ACEOF
103543 cat confdefs.h >>conftest.$ac_ext
103544 cat >>conftest.$ac_ext <<_ACEOF
103545 /* end confdefs.h. */
103546 #include <sys/stat.h>
103547 int
103548 main ()
103549 {
103550 struct stat buffer;
103551 fstat(0, &buffer);
103552 S_ISREG(buffer.st_mode);
103553 ;
103554 return 0;
103555 }
103556 _ACEOF
103557 rm -f conftest.$ac_objext conftest$ac_exeext
103558 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
103559 (eval $ac_link) 2>conftest.er1
103560 ac_status=$?
103561 grep -v '^ *+' conftest.er1 >conftest.err
103562 rm -f conftest.er1
103563 cat conftest.err >&5
103564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103565 (exit $ac_status); } &&
103566 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
103567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103568 (eval $ac_try) 2>&5
103569 ac_status=$?
103570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103571 (exit $ac_status); }; } &&
103572 { ac_try='test -s conftest$ac_exeext'
103573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103574 (eval $ac_try) 2>&5
103575 ac_status=$?
103576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103577 (exit $ac_status); }; }; then
103578 glibcxx_cv_S_ISREG=yes
103579 else
103580 echo "$as_me: failed program was:" >&5
103581 sed 's/^/| /' conftest.$ac_ext >&5
103582
103583 glibcxx_cv_S_ISREG=no
103584 fi
103585 rm -f conftest.err conftest.$ac_objext \
103586 conftest$ac_exeext conftest.$ac_ext
103587
103588 fi
103589
103590 if test "${glibcxx_cv_S_IFREG+set}" = set; then
103591 echo $ECHO_N "(cached) $ECHO_C" >&6
103592 else
103593
103594 if test x$gcc_no_link = xyes; then
103595 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
103596 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
103597 { (exit 1); exit 1; }; }
103598 fi
103599 cat >conftest.$ac_ext <<_ACEOF
103600 /* confdefs.h. */
103601 _ACEOF
103602 cat confdefs.h >>conftest.$ac_ext
103603 cat >>conftest.$ac_ext <<_ACEOF
103604 /* end confdefs.h. */
103605 #include <sys/stat.h>
103606 int
103607 main ()
103608 {
103609 struct stat buffer;
103610 fstat(0, &buffer);
103611 S_IFREG & buffer.st_mode;
103612 ;
103613 return 0;
103614 }
103615 _ACEOF
103616 rm -f conftest.$ac_objext conftest$ac_exeext
103617 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
103618 (eval $ac_link) 2>conftest.er1
103619 ac_status=$?
103620 grep -v '^ *+' conftest.er1 >conftest.err
103621 rm -f conftest.er1
103622 cat conftest.err >&5
103623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103624 (exit $ac_status); } &&
103625 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
103626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103627 (eval $ac_try) 2>&5
103628 ac_status=$?
103629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103630 (exit $ac_status); }; } &&
103631 { ac_try='test -s conftest$ac_exeext'
103632 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103633 (eval $ac_try) 2>&5
103634 ac_status=$?
103635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103636 (exit $ac_status); }; }; then
103637 glibcxx_cv_S_IFREG=yes
103638 else
103639 echo "$as_me: failed program was:" >&5
103640 sed 's/^/| /' conftest.$ac_ext >&5
103641
103642 glibcxx_cv_S_IFREG=no
103643 fi
103644 rm -f conftest.err conftest.$ac_objext \
103645 conftest$ac_exeext conftest.$ac_ext
103646
103647 fi
103648
103649 res=no
103650 if test $glibcxx_cv_S_ISREG = yes; then
103651
103652 cat >>confdefs.h <<\_ACEOF
103653 #define HAVE_S_ISREG 1
103654 _ACEOF
103655
103656 res=S_ISREG
103657 elif test $glibcxx_cv_S_IFREG = yes; then
103658
103659 cat >>confdefs.h <<\_ACEOF
103660 #define HAVE_S_IFREG 1
103661 _ACEOF
103662
103663 res=S_IFREG
103664 fi
103665 echo "$as_me:$LINENO: result: $res" >&5
103666 echo "${ECHO_T}$res" >&6
103667
103668
103669 # For xsputn_2().
103670
103671 for ac_header in sys/uio.h
103672 do
103673 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
103674 if eval "test \"\${$as_ac_Header+set}\" = set"; then
103675 echo "$as_me:$LINENO: checking for $ac_header" >&5
103676 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
103677 if eval "test \"\${$as_ac_Header+set}\" = set"; then
103678 echo $ECHO_N "(cached) $ECHO_C" >&6
103679 fi
103680 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
103681 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
103682 else
103683 # Is the header compilable?
103684 echo "$as_me:$LINENO: checking $ac_header usability" >&5
103685 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
103686 cat >conftest.$ac_ext <<_ACEOF
103687 /* confdefs.h. */
103688 _ACEOF
103689 cat confdefs.h >>conftest.$ac_ext
103690 cat >>conftest.$ac_ext <<_ACEOF
103691 /* end confdefs.h. */
103692 $ac_includes_default
103693 #include <$ac_header>
103694 _ACEOF
103695 rm -f conftest.$ac_objext
103696 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
103697 (eval $ac_compile) 2>conftest.er1
103698 ac_status=$?
103699 grep -v '^ *+' conftest.er1 >conftest.err
103700 rm -f conftest.er1
103701 cat conftest.err >&5
103702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103703 (exit $ac_status); } &&
103704 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
103705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103706 (eval $ac_try) 2>&5
103707 ac_status=$?
103708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103709 (exit $ac_status); }; } &&
103710 { ac_try='test -s conftest.$ac_objext'
103711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103712 (eval $ac_try) 2>&5
103713 ac_status=$?
103714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103715 (exit $ac_status); }; }; then
103716 ac_header_compiler=yes
103717 else
103718 echo "$as_me: failed program was:" >&5
103719 sed 's/^/| /' conftest.$ac_ext >&5
103720
103721 ac_header_compiler=no
103722 fi
103723 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
103724 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
103725 echo "${ECHO_T}$ac_header_compiler" >&6
103726
103727 # Is the header present?
103728 echo "$as_me:$LINENO: checking $ac_header presence" >&5
103729 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
103730 cat >conftest.$ac_ext <<_ACEOF
103731 /* confdefs.h. */
103732 _ACEOF
103733 cat confdefs.h >>conftest.$ac_ext
103734 cat >>conftest.$ac_ext <<_ACEOF
103735 /* end confdefs.h. */
103736 #include <$ac_header>
103737 _ACEOF
103738 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
103739 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
103740 ac_status=$?
103741 grep -v '^ *+' conftest.er1 >conftest.err
103742 rm -f conftest.er1
103743 cat conftest.err >&5
103744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103745 (exit $ac_status); } >/dev/null; then
103746 if test -s conftest.err; then
103747 ac_cpp_err=$ac_c_preproc_warn_flag
103748 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
103749 else
103750 ac_cpp_err=
103751 fi
103752 else
103753 ac_cpp_err=yes
103754 fi
103755 if test -z "$ac_cpp_err"; then
103756 ac_header_preproc=yes
103757 else
103758 echo "$as_me: failed program was:" >&5
103759 sed 's/^/| /' conftest.$ac_ext >&5
103760
103761 ac_header_preproc=no
103762 fi
103763 rm -f conftest.err conftest.$ac_ext
103764 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
103765 echo "${ECHO_T}$ac_header_preproc" >&6
103766
103767 # So? What about this header?
103768 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
103769 yes:no: )
103770 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
103771 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
103772 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
103773 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
103774 ac_header_preproc=yes
103775 ;;
103776 no:yes:* )
103777 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
103778 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
103779 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
103780 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
103781 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
103782 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
103783 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
103784 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
103785 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
103786 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
103787 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
103788 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
103789 (
103790 cat <<\_ASBOX
103791 ## ----------------------------------------- ##
103792 ## Report this to the package-unused lists. ##
103793 ## ----------------------------------------- ##
103794 _ASBOX
103795 ) |
103796 sed "s/^/$as_me: WARNING: /" >&2
103797 ;;
103798 esac
103799 echo "$as_me:$LINENO: checking for $ac_header" >&5
103800 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
103801 if eval "test \"\${$as_ac_Header+set}\" = set"; then
103802 echo $ECHO_N "(cached) $ECHO_C" >&6
103803 else
103804 eval "$as_ac_Header=\$ac_header_preproc"
103805 fi
103806 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
103807 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
103808
103809 fi
103810 if test `eval echo '${'$as_ac_Header'}'` = yes; then
103811 cat >>confdefs.h <<_ACEOF
103812 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
103813 _ACEOF
103814
103815 fi
103816
103817 done
103818
103819
103820 echo "$as_me:$LINENO: checking for writev" >&5
103821 echo $ECHO_N "checking for writev... $ECHO_C" >&6
103822 if test "${glibcxx_cv_WRITEV+set}" = set; then
103823 echo $ECHO_N "(cached) $ECHO_C" >&6
103824 else
103825
103826 if test x$gcc_no_link = xyes; then
103827 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
103828 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
103829 { (exit 1); exit 1; }; }
103830 fi
103831 cat >conftest.$ac_ext <<_ACEOF
103832 /* confdefs.h. */
103833 _ACEOF
103834 cat confdefs.h >>conftest.$ac_ext
103835 cat >>conftest.$ac_ext <<_ACEOF
103836 /* end confdefs.h. */
103837 #include <sys/uio.h>
103838 int
103839 main ()
103840 {
103841 struct iovec iov[2];
103842 writev(0, iov, 0);
103843 ;
103844 return 0;
103845 }
103846 _ACEOF
103847 rm -f conftest.$ac_objext conftest$ac_exeext
103848 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
103849 (eval $ac_link) 2>conftest.er1
103850 ac_status=$?
103851 grep -v '^ *+' conftest.er1 >conftest.err
103852 rm -f conftest.er1
103853 cat conftest.err >&5
103854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103855 (exit $ac_status); } &&
103856 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
103857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103858 (eval $ac_try) 2>&5
103859 ac_status=$?
103860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103861 (exit $ac_status); }; } &&
103862 { ac_try='test -s conftest$ac_exeext'
103863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103864 (eval $ac_try) 2>&5
103865 ac_status=$?
103866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103867 (exit $ac_status); }; }; then
103868 glibcxx_cv_WRITEV=yes
103869 else
103870 echo "$as_me: failed program was:" >&5
103871 sed 's/^/| /' conftest.$ac_ext >&5
103872
103873 glibcxx_cv_WRITEV=no
103874 fi
103875 rm -f conftest.err conftest.$ac_objext \
103876 conftest$ac_exeext conftest.$ac_ext
103877
103878 fi
103879
103880 if test $glibcxx_cv_WRITEV = yes; then
103881
103882 cat >>confdefs.h <<\_ACEOF
103883 #define HAVE_WRITEV 1
103884 _ACEOF
103885
103886 fi
103887 echo "$as_me:$LINENO: result: $glibcxx_cv_WRITEV" >&5
103888 echo "${ECHO_T}$glibcxx_cv_WRITEV" >&6
103889
103890 ;;
103891 *-qnx6.1* | *-qnx6.2*)
103892 SECTION_FLAGS='-ffunction-sections -fdata-sections'
103893
103894
103895 # If we're not using GNU ld, then there's no point in even trying these
103896 # tests. Check for that first. We should have already tested for gld
103897 # by now (in libtool), but require it now just to be safe...
103898 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
103899 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
103900
103901
103902
103903 # The name set by libtool depends on the version of libtool. Shame on us
103904 # for depending on an impl detail, but c'est la vie. Older versions used
103905 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
103906 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
103907 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
103908 # set (hence we're using an older libtool), then set it.
103909 if test x${with_gnu_ld+set} != xset; then
103910 if test x${ac_cv_prog_gnu_ld+set} != xset; then
103911 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
103912 with_gnu_ld=no
103913 else
103914 with_gnu_ld=$ac_cv_prog_gnu_ld
103915 fi
103916 fi
103917
103918 # Start by getting the version number. I think the libtool test already
103919 # does some of this, but throws away the result.
103920 echo "$as_me:$LINENO: checking for ld version" >&5
103921 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
103922
103923 ldver=`$LD --version 2>/dev/null | head -1 | \
103924 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
103925
103926 glibcxx_gnu_ld_version=`echo $ldver | \
103927 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
103928 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
103929 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
103930
103931 # Set --gc-sections.
103932 glibcxx_gcsections_min_ld=21602
103933 if test x"$with_gnu_ld" = x"yes" &&
103934 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
103935
103936 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
103937 # NB: This flag only works reliably after 2.16.1. Configure tests
103938 # for this are difficult, so hard wire a value that should work.
103939
103940 # All these tests are for C++, but run with the "C" compiler driver.
103941 # Need to do this so that g++ won't try to link in libstdc++/libsupc++.
103942 ac_test_CFLAGS="${CFLAGS+set}"
103943 ac_save_CFLAGS="$CFLAGS"
103944 CFLAGS='-x c++ -Wl,--gc-sections'
103945
103946 # Check for -Wl,--gc-sections
103947 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
103948 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
103949 if test x$gcc_no_link = xyes; then
103950 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
103951 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
103952 { (exit 1); exit 1; }; }
103953 fi
103954 cat >conftest.$ac_ext <<_ACEOF
103955 /* confdefs.h. */
103956 _ACEOF
103957 cat confdefs.h >>conftest.$ac_ext
103958 cat >>conftest.$ac_ext <<_ACEOF
103959 /* end confdefs.h. */
103960 int one(void) { return 1; }
103961 int two(void) { return 2; }
103962
103963 int
103964 main ()
103965 {
103966 two();
103967 ;
103968 return 0;
103969 }
103970 _ACEOF
103971 rm -f conftest.$ac_objext conftest$ac_exeext
103972 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
103973 (eval $ac_link) 2>conftest.er1
103974 ac_status=$?
103975 grep -v '^ *+' conftest.er1 >conftest.err
103976 rm -f conftest.er1
103977 cat conftest.err >&5
103978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103979 (exit $ac_status); } &&
103980 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
103981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103982 (eval $ac_try) 2>&5
103983 ac_status=$?
103984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103985 (exit $ac_status); }; } &&
103986 { ac_try='test -s conftest$ac_exeext'
103987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103988 (eval $ac_try) 2>&5
103989 ac_status=$?
103990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103991 (exit $ac_status); }; }; then
103992 ac_gcsections=yes
103993 else
103994 echo "$as_me: failed program was:" >&5
103995 sed 's/^/| /' conftest.$ac_ext >&5
103996
103997 ac_gcsections=no
103998 fi
103999 rm -f conftest.err conftest.$ac_objext \
104000 conftest$ac_exeext conftest.$ac_ext
104001 if test "$ac_gcsections" = "yes"; then
104002 rm -f conftest.c
104003 touch conftest.c
104004 if $CC -c conftest.c; then
104005 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
104006 grep "Warning: gc-sections option ignored" > /dev/null; then
104007 ac_gcsections=no
104008 fi
104009 fi
104010 rm -f conftest.c conftest.o conftest
104011 fi
104012 if test "$ac_gcsections" = "yes"; then
104013 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
104014 fi
104015 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
104016 echo "${ECHO_T}$ac_gcsections" >&6
104017
104018 if test "$ac_test_CFLAGS" = set; then
104019 CFLAGS="$ac_save_CFLAGS"
104020 else
104021 # this is the suspicious part
104022 CFLAGS=''
104023 fi
104024 fi
104025
104026 # Set -z,relro.
104027 # Note this is only for shared objects.
104028 ac_ld_relro=no
104029 if test x"$with_gnu_ld" = x"yes"; then
104030 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
104031 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
104032 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
104033 if test -n "$cxx_z_relo"; then
104034 OPT_LDFLAGS="-Wl,-z,relro"
104035 ac_ld_relro=yes
104036 fi
104037 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
104038 echo "${ECHO_T}$ac_ld_relro" >&6
104039 fi
104040
104041 # Set linker optimization flags.
104042 if test x"$with_gnu_ld" = x"yes"; then
104043 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
104044 fi
104045
104046
104047
104048
104049
104050
104051 echo "$as_me:$LINENO: checking for main in -lm" >&5
104052 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
104053 if test "${ac_cv_lib_m_main+set}" = set; then
104054 echo $ECHO_N "(cached) $ECHO_C" >&6
104055 else
104056 ac_check_lib_save_LIBS=$LIBS
104057 LIBS="-lm $LIBS"
104058 if test x$gcc_no_link = xyes; then
104059 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
104060 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
104061 { (exit 1); exit 1; }; }
104062 fi
104063 cat >conftest.$ac_ext <<_ACEOF
104064 /* confdefs.h. */
104065 _ACEOF
104066 cat confdefs.h >>conftest.$ac_ext
104067 cat >>conftest.$ac_ext <<_ACEOF
104068 /* end confdefs.h. */
104069
104070
104071 int
104072 main ()
104073 {
104074 main ();
104075 ;
104076 return 0;
104077 }
104078 _ACEOF
104079 rm -f conftest.$ac_objext conftest$ac_exeext
104080 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
104081 (eval $ac_link) 2>conftest.er1
104082 ac_status=$?
104083 grep -v '^ *+' conftest.er1 >conftest.err
104084 rm -f conftest.er1
104085 cat conftest.err >&5
104086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104087 (exit $ac_status); } &&
104088 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
104089 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104090 (eval $ac_try) 2>&5
104091 ac_status=$?
104092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104093 (exit $ac_status); }; } &&
104094 { ac_try='test -s conftest$ac_exeext'
104095 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104096 (eval $ac_try) 2>&5
104097 ac_status=$?
104098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104099 (exit $ac_status); }; }; then
104100 ac_cv_lib_m_main=yes
104101 else
104102 echo "$as_me: failed program was:" >&5
104103 sed 's/^/| /' conftest.$ac_ext >&5
104104
104105 ac_cv_lib_m_main=no
104106 fi
104107 rm -f conftest.err conftest.$ac_objext \
104108 conftest$ac_exeext conftest.$ac_ext
104109 LIBS=$ac_check_lib_save_LIBS
104110 fi
104111 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
104112 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
104113 if test $ac_cv_lib_m_main = yes; then
104114 cat >>confdefs.h <<_ACEOF
104115 #define HAVE_LIBM 1
104116 _ACEOF
104117
104118 LIBS="-lm $LIBS"
104119
104120 fi
104121
104122
104123 for ac_func in copysignf
104124 do
104125 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
104126 echo "$as_me:$LINENO: checking for $ac_func" >&5
104127 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
104128 if eval "test \"\${$as_ac_var+set}\" = set"; then
104129 echo $ECHO_N "(cached) $ECHO_C" >&6
104130 else
104131 if test x$gcc_no_link = xyes; then
104132 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
104133 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
104134 { (exit 1); exit 1; }; }
104135 fi
104136 cat >conftest.$ac_ext <<_ACEOF
104137 /* confdefs.h. */
104138 _ACEOF
104139 cat confdefs.h >>conftest.$ac_ext
104140 cat >>conftest.$ac_ext <<_ACEOF
104141 /* end confdefs.h. */
104142 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
104143 For example, HP-UX 11i <limits.h> declares gettimeofday. */
104144 #define $ac_func innocuous_$ac_func
104145
104146 /* System header to define __stub macros and hopefully few prototypes,
104147 which can conflict with char $ac_func (); below.
104148 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
104149 <limits.h> exists even on freestanding compilers. */
104150
104151 #ifdef __STDC__
104152 # include <limits.h>
104153 #else
104154 # include <assert.h>
104155 #endif
104156
104157 #undef $ac_func
104158
104159 /* Override any gcc2 internal prototype to avoid an error. */
104160 #ifdef __cplusplus
104161 extern "C"
104162 {
104163 #endif
104164 /* We use char because int might match the return type of a gcc2
104165 builtin and then its argument prototype would still apply. */
104166 char $ac_func ();
104167 /* The GNU C library defines this for functions which it implements
104168 to always fail with ENOSYS. Some functions are actually named
104169 something starting with __ and the normal name is an alias. */
104170 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
104171 choke me
104172 #else
104173 char (*f) () = $ac_func;
104174 #endif
104175 #ifdef __cplusplus
104176 }
104177 #endif
104178
104179 int
104180 main ()
104181 {
104182 return f != $ac_func;
104183 ;
104184 return 0;
104185 }
104186 _ACEOF
104187 rm -f conftest.$ac_objext conftest$ac_exeext
104188 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
104189 (eval $ac_link) 2>conftest.er1
104190 ac_status=$?
104191 grep -v '^ *+' conftest.er1 >conftest.err
104192 rm -f conftest.er1
104193 cat conftest.err >&5
104194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104195 (exit $ac_status); } &&
104196 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
104197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104198 (eval $ac_try) 2>&5
104199 ac_status=$?
104200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104201 (exit $ac_status); }; } &&
104202 { ac_try='test -s conftest$ac_exeext'
104203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104204 (eval $ac_try) 2>&5
104205 ac_status=$?
104206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104207 (exit $ac_status); }; }; then
104208 eval "$as_ac_var=yes"
104209 else
104210 echo "$as_me: failed program was:" >&5
104211 sed 's/^/| /' conftest.$ac_ext >&5
104212
104213 eval "$as_ac_var=no"
104214 fi
104215 rm -f conftest.err conftest.$ac_objext \
104216 conftest$ac_exeext conftest.$ac_ext
104217 fi
104218 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
104219 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
104220 if test `eval echo '${'$as_ac_var'}'` = yes; then
104221 cat >>confdefs.h <<_ACEOF
104222 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
104223 _ACEOF
104224
104225 else
104226 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
104227 fi
104228 done
104229
104230
104231
104232 for ac_func in __signbit
104233 do
104234 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
104235 echo "$as_me:$LINENO: checking for $ac_func" >&5
104236 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
104237 if eval "test \"\${$as_ac_var+set}\" = set"; then
104238 echo $ECHO_N "(cached) $ECHO_C" >&6
104239 else
104240 if test x$gcc_no_link = xyes; then
104241 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
104242 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
104243 { (exit 1); exit 1; }; }
104244 fi
104245 cat >conftest.$ac_ext <<_ACEOF
104246 /* confdefs.h. */
104247 _ACEOF
104248 cat confdefs.h >>conftest.$ac_ext
104249 cat >>conftest.$ac_ext <<_ACEOF
104250 /* end confdefs.h. */
104251 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
104252 For example, HP-UX 11i <limits.h> declares gettimeofday. */
104253 #define $ac_func innocuous_$ac_func
104254
104255 /* System header to define __stub macros and hopefully few prototypes,
104256 which can conflict with char $ac_func (); below.
104257 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
104258 <limits.h> exists even on freestanding compilers. */
104259
104260 #ifdef __STDC__
104261 # include <limits.h>
104262 #else
104263 # include <assert.h>
104264 #endif
104265
104266 #undef $ac_func
104267
104268 /* Override any gcc2 internal prototype to avoid an error. */
104269 #ifdef __cplusplus
104270 extern "C"
104271 {
104272 #endif
104273 /* We use char because int might match the return type of a gcc2
104274 builtin and then its argument prototype would still apply. */
104275 char $ac_func ();
104276 /* The GNU C library defines this for functions which it implements
104277 to always fail with ENOSYS. Some functions are actually named
104278 something starting with __ and the normal name is an alias. */
104279 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
104280 choke me
104281 #else
104282 char (*f) () = $ac_func;
104283 #endif
104284 #ifdef __cplusplus
104285 }
104286 #endif
104287
104288 int
104289 main ()
104290 {
104291 return f != $ac_func;
104292 ;
104293 return 0;
104294 }
104295 _ACEOF
104296 rm -f conftest.$ac_objext conftest$ac_exeext
104297 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
104298 (eval $ac_link) 2>conftest.er1
104299 ac_status=$?
104300 grep -v '^ *+' conftest.er1 >conftest.err
104301 rm -f conftest.er1
104302 cat conftest.err >&5
104303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104304 (exit $ac_status); } &&
104305 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
104306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104307 (eval $ac_try) 2>&5
104308 ac_status=$?
104309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104310 (exit $ac_status); }; } &&
104311 { ac_try='test -s conftest$ac_exeext'
104312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104313 (eval $ac_try) 2>&5
104314 ac_status=$?
104315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104316 (exit $ac_status); }; }; then
104317 eval "$as_ac_var=yes"
104318 else
104319 echo "$as_me: failed program was:" >&5
104320 sed 's/^/| /' conftest.$ac_ext >&5
104321
104322 eval "$as_ac_var=no"
104323 fi
104324 rm -f conftest.err conftest.$ac_objext \
104325 conftest$ac_exeext conftest.$ac_ext
104326 fi
104327 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
104328 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
104329 if test `eval echo '${'$as_ac_var'}'` = yes; then
104330 cat >>confdefs.h <<_ACEOF
104331 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
104332 _ACEOF
104333
104334 else
104335 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
104336 fi
104337 done
104338
104339
104340
104341 for ac_func in __signbitf
104342 do
104343 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
104344 echo "$as_me:$LINENO: checking for $ac_func" >&5
104345 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
104346 if eval "test \"\${$as_ac_var+set}\" = set"; then
104347 echo $ECHO_N "(cached) $ECHO_C" >&6
104348 else
104349 if test x$gcc_no_link = xyes; then
104350 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
104351 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
104352 { (exit 1); exit 1; }; }
104353 fi
104354 cat >conftest.$ac_ext <<_ACEOF
104355 /* confdefs.h. */
104356 _ACEOF
104357 cat confdefs.h >>conftest.$ac_ext
104358 cat >>conftest.$ac_ext <<_ACEOF
104359 /* end confdefs.h. */
104360 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
104361 For example, HP-UX 11i <limits.h> declares gettimeofday. */
104362 #define $ac_func innocuous_$ac_func
104363
104364 /* System header to define __stub macros and hopefully few prototypes,
104365 which can conflict with char $ac_func (); below.
104366 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
104367 <limits.h> exists even on freestanding compilers. */
104368
104369 #ifdef __STDC__
104370 # include <limits.h>
104371 #else
104372 # include <assert.h>
104373 #endif
104374
104375 #undef $ac_func
104376
104377 /* Override any gcc2 internal prototype to avoid an error. */
104378 #ifdef __cplusplus
104379 extern "C"
104380 {
104381 #endif
104382 /* We use char because int might match the return type of a gcc2
104383 builtin and then its argument prototype would still apply. */
104384 char $ac_func ();
104385 /* The GNU C library defines this for functions which it implements
104386 to always fail with ENOSYS. Some functions are actually named
104387 something starting with __ and the normal name is an alias. */
104388 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
104389 choke me
104390 #else
104391 char (*f) () = $ac_func;
104392 #endif
104393 #ifdef __cplusplus
104394 }
104395 #endif
104396
104397 int
104398 main ()
104399 {
104400 return f != $ac_func;
104401 ;
104402 return 0;
104403 }
104404 _ACEOF
104405 rm -f conftest.$ac_objext conftest$ac_exeext
104406 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
104407 (eval $ac_link) 2>conftest.er1
104408 ac_status=$?
104409 grep -v '^ *+' conftest.er1 >conftest.err
104410 rm -f conftest.er1
104411 cat conftest.err >&5
104412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104413 (exit $ac_status); } &&
104414 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
104415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104416 (eval $ac_try) 2>&5
104417 ac_status=$?
104418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104419 (exit $ac_status); }; } &&
104420 { ac_try='test -s conftest$ac_exeext'
104421 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104422 (eval $ac_try) 2>&5
104423 ac_status=$?
104424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104425 (exit $ac_status); }; }; then
104426 eval "$as_ac_var=yes"
104427 else
104428 echo "$as_me: failed program was:" >&5
104429 sed 's/^/| /' conftest.$ac_ext >&5
104430
104431 eval "$as_ac_var=no"
104432 fi
104433 rm -f conftest.err conftest.$ac_objext \
104434 conftest$ac_exeext conftest.$ac_ext
104435 fi
104436 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
104437 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
104438 if test `eval echo '${'$as_ac_var'}'` = yes; then
104439 cat >>confdefs.h <<_ACEOF
104440 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
104441 _ACEOF
104442
104443 else
104444 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
104445 fi
104446 done
104447
104448
104449 if test x$ac_cv_func_copysignl = x"yes"; then
104450
104451 for ac_func in __signbitl
104452 do
104453 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
104454 echo "$as_me:$LINENO: checking for $ac_func" >&5
104455 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
104456 if eval "test \"\${$as_ac_var+set}\" = set"; then
104457 echo $ECHO_N "(cached) $ECHO_C" >&6
104458 else
104459 if test x$gcc_no_link = xyes; then
104460 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
104461 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
104462 { (exit 1); exit 1; }; }
104463 fi
104464 cat >conftest.$ac_ext <<_ACEOF
104465 /* confdefs.h. */
104466 _ACEOF
104467 cat confdefs.h >>conftest.$ac_ext
104468 cat >>conftest.$ac_ext <<_ACEOF
104469 /* end confdefs.h. */
104470 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
104471 For example, HP-UX 11i <limits.h> declares gettimeofday. */
104472 #define $ac_func innocuous_$ac_func
104473
104474 /* System header to define __stub macros and hopefully few prototypes,
104475 which can conflict with char $ac_func (); below.
104476 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
104477 <limits.h> exists even on freestanding compilers. */
104478
104479 #ifdef __STDC__
104480 # include <limits.h>
104481 #else
104482 # include <assert.h>
104483 #endif
104484
104485 #undef $ac_func
104486
104487 /* Override any gcc2 internal prototype to avoid an error. */
104488 #ifdef __cplusplus
104489 extern "C"
104490 {
104491 #endif
104492 /* We use char because int might match the return type of a gcc2
104493 builtin and then its argument prototype would still apply. */
104494 char $ac_func ();
104495 /* The GNU C library defines this for functions which it implements
104496 to always fail with ENOSYS. Some functions are actually named
104497 something starting with __ and the normal name is an alias. */
104498 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
104499 choke me
104500 #else
104501 char (*f) () = $ac_func;
104502 #endif
104503 #ifdef __cplusplus
104504 }
104505 #endif
104506
104507 int
104508 main ()
104509 {
104510 return f != $ac_func;
104511 ;
104512 return 0;
104513 }
104514 _ACEOF
104515 rm -f conftest.$ac_objext conftest$ac_exeext
104516 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
104517 (eval $ac_link) 2>conftest.er1
104518 ac_status=$?
104519 grep -v '^ *+' conftest.er1 >conftest.err
104520 rm -f conftest.er1
104521 cat conftest.err >&5
104522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104523 (exit $ac_status); } &&
104524 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
104525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104526 (eval $ac_try) 2>&5
104527 ac_status=$?
104528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104529 (exit $ac_status); }; } &&
104530 { ac_try='test -s conftest$ac_exeext'
104531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104532 (eval $ac_try) 2>&5
104533 ac_status=$?
104534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104535 (exit $ac_status); }; }; then
104536 eval "$as_ac_var=yes"
104537 else
104538 echo "$as_me: failed program was:" >&5
104539 sed 's/^/| /' conftest.$ac_ext >&5
104540
104541 eval "$as_ac_var=no"
104542 fi
104543 rm -f conftest.err conftest.$ac_objext \
104544 conftest$ac_exeext conftest.$ac_ext
104545 fi
104546 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
104547 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
104548 if test `eval echo '${'$as_ac_var'}'` = yes; then
104549 cat >>confdefs.h <<_ACEOF
104550 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
104551 _ACEOF
104552
104553 else
104554 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
104555 fi
104556 done
104557
104558 fi
104559
104560 # Used in libmath/Makefile.am.
104561 if test -n "$LIBMATHOBJS"; then
104562 need_libmath=yes
104563 fi
104564
104565
104566
104567
104568 enable_iconv=no
104569 # Only continue checking if the ISO C99 headers exist and support is on.
104570 if test x"$enable_wchar_t" = xyes; then
104571
104572 # Use iconv for wchar_t to char conversions. As such, check for
104573 # X/Open Portability Guide, version 2 features (XPG2).
104574 if test "${ac_cv_header_iconv_h+set}" = set; then
104575 echo "$as_me:$LINENO: checking for iconv.h" >&5
104576 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
104577 if test "${ac_cv_header_iconv_h+set}" = set; then
104578 echo $ECHO_N "(cached) $ECHO_C" >&6
104579 fi
104580 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
104581 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
104582 else
104583 # Is the header compilable?
104584 echo "$as_me:$LINENO: checking iconv.h usability" >&5
104585 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
104586 cat >conftest.$ac_ext <<_ACEOF
104587 /* confdefs.h. */
104588 _ACEOF
104589 cat confdefs.h >>conftest.$ac_ext
104590 cat >>conftest.$ac_ext <<_ACEOF
104591 /* end confdefs.h. */
104592 $ac_includes_default
104593 #include <iconv.h>
104594 _ACEOF
104595 rm -f conftest.$ac_objext
104596 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
104597 (eval $ac_compile) 2>conftest.er1
104598 ac_status=$?
104599 grep -v '^ *+' conftest.er1 >conftest.err
104600 rm -f conftest.er1
104601 cat conftest.err >&5
104602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104603 (exit $ac_status); } &&
104604 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
104605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104606 (eval $ac_try) 2>&5
104607 ac_status=$?
104608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104609 (exit $ac_status); }; } &&
104610 { ac_try='test -s conftest.$ac_objext'
104611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104612 (eval $ac_try) 2>&5
104613 ac_status=$?
104614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104615 (exit $ac_status); }; }; then
104616 ac_header_compiler=yes
104617 else
104618 echo "$as_me: failed program was:" >&5
104619 sed 's/^/| /' conftest.$ac_ext >&5
104620
104621 ac_header_compiler=no
104622 fi
104623 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
104624 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
104625 echo "${ECHO_T}$ac_header_compiler" >&6
104626
104627 # Is the header present?
104628 echo "$as_me:$LINENO: checking iconv.h presence" >&5
104629 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
104630 cat >conftest.$ac_ext <<_ACEOF
104631 /* confdefs.h. */
104632 _ACEOF
104633 cat confdefs.h >>conftest.$ac_ext
104634 cat >>conftest.$ac_ext <<_ACEOF
104635 /* end confdefs.h. */
104636 #include <iconv.h>
104637 _ACEOF
104638 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
104639 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
104640 ac_status=$?
104641 grep -v '^ *+' conftest.er1 >conftest.err
104642 rm -f conftest.er1
104643 cat conftest.err >&5
104644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104645 (exit $ac_status); } >/dev/null; then
104646 if test -s conftest.err; then
104647 ac_cpp_err=$ac_c_preproc_warn_flag
104648 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
104649 else
104650 ac_cpp_err=
104651 fi
104652 else
104653 ac_cpp_err=yes
104654 fi
104655 if test -z "$ac_cpp_err"; then
104656 ac_header_preproc=yes
104657 else
104658 echo "$as_me: failed program was:" >&5
104659 sed 's/^/| /' conftest.$ac_ext >&5
104660
104661 ac_header_preproc=no
104662 fi
104663 rm -f conftest.err conftest.$ac_ext
104664 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
104665 echo "${ECHO_T}$ac_header_preproc" >&6
104666
104667 # So? What about this header?
104668 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
104669 yes:no: )
104670 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
104671 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
104672 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
104673 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
104674 ac_header_preproc=yes
104675 ;;
104676 no:yes:* )
104677 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
104678 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
104679 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
104680 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
104681 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
104682 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
104683 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
104684 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
104685 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
104686 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
104687 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
104688 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
104689 (
104690 cat <<\_ASBOX
104691 ## ----------------------------------------- ##
104692 ## Report this to the package-unused lists. ##
104693 ## ----------------------------------------- ##
104694 _ASBOX
104695 ) |
104696 sed "s/^/$as_me: WARNING: /" >&2
104697 ;;
104698 esac
104699 echo "$as_me:$LINENO: checking for iconv.h" >&5
104700 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
104701 if test "${ac_cv_header_iconv_h+set}" = set; then
104702 echo $ECHO_N "(cached) $ECHO_C" >&6
104703 else
104704 ac_cv_header_iconv_h=$ac_header_preproc
104705 fi
104706 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
104707 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
104708
104709 fi
104710 if test $ac_cv_header_iconv_h = yes; then
104711 ac_has_iconv_h=yes
104712 else
104713 ac_has_iconv_h=no
104714 fi
104715
104716
104717 if test "${ac_cv_header_langinfo_h+set}" = set; then
104718 echo "$as_me:$LINENO: checking for langinfo.h" >&5
104719 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
104720 if test "${ac_cv_header_langinfo_h+set}" = set; then
104721 echo $ECHO_N "(cached) $ECHO_C" >&6
104722 fi
104723 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
104724 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
104725 else
104726 # Is the header compilable?
104727 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
104728 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
104729 cat >conftest.$ac_ext <<_ACEOF
104730 /* confdefs.h. */
104731 _ACEOF
104732 cat confdefs.h >>conftest.$ac_ext
104733 cat >>conftest.$ac_ext <<_ACEOF
104734 /* end confdefs.h. */
104735 $ac_includes_default
104736 #include <langinfo.h>
104737 _ACEOF
104738 rm -f conftest.$ac_objext
104739 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
104740 (eval $ac_compile) 2>conftest.er1
104741 ac_status=$?
104742 grep -v '^ *+' conftest.er1 >conftest.err
104743 rm -f conftest.er1
104744 cat conftest.err >&5
104745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104746 (exit $ac_status); } &&
104747 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
104748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104749 (eval $ac_try) 2>&5
104750 ac_status=$?
104751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104752 (exit $ac_status); }; } &&
104753 { ac_try='test -s conftest.$ac_objext'
104754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104755 (eval $ac_try) 2>&5
104756 ac_status=$?
104757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104758 (exit $ac_status); }; }; then
104759 ac_header_compiler=yes
104760 else
104761 echo "$as_me: failed program was:" >&5
104762 sed 's/^/| /' conftest.$ac_ext >&5
104763
104764 ac_header_compiler=no
104765 fi
104766 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
104767 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
104768 echo "${ECHO_T}$ac_header_compiler" >&6
104769
104770 # Is the header present?
104771 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
104772 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
104773 cat >conftest.$ac_ext <<_ACEOF
104774 /* confdefs.h. */
104775 _ACEOF
104776 cat confdefs.h >>conftest.$ac_ext
104777 cat >>conftest.$ac_ext <<_ACEOF
104778 /* end confdefs.h. */
104779 #include <langinfo.h>
104780 _ACEOF
104781 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
104782 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
104783 ac_status=$?
104784 grep -v '^ *+' conftest.er1 >conftest.err
104785 rm -f conftest.er1
104786 cat conftest.err >&5
104787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104788 (exit $ac_status); } >/dev/null; then
104789 if test -s conftest.err; then
104790 ac_cpp_err=$ac_c_preproc_warn_flag
104791 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
104792 else
104793 ac_cpp_err=
104794 fi
104795 else
104796 ac_cpp_err=yes
104797 fi
104798 if test -z "$ac_cpp_err"; then
104799 ac_header_preproc=yes
104800 else
104801 echo "$as_me: failed program was:" >&5
104802 sed 's/^/| /' conftest.$ac_ext >&5
104803
104804 ac_header_preproc=no
104805 fi
104806 rm -f conftest.err conftest.$ac_ext
104807 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
104808 echo "${ECHO_T}$ac_header_preproc" >&6
104809
104810 # So? What about this header?
104811 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
104812 yes:no: )
104813 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
104814 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
104815 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
104816 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
104817 ac_header_preproc=yes
104818 ;;
104819 no:yes:* )
104820 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
104821 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
104822 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
104823 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
104824 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
104825 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
104826 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
104827 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
104828 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
104829 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
104830 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
104831 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
104832 (
104833 cat <<\_ASBOX
104834 ## ----------------------------------------- ##
104835 ## Report this to the package-unused lists. ##
104836 ## ----------------------------------------- ##
104837 _ASBOX
104838 ) |
104839 sed "s/^/$as_me: WARNING: /" >&2
104840 ;;
104841 esac
104842 echo "$as_me:$LINENO: checking for langinfo.h" >&5
104843 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
104844 if test "${ac_cv_header_langinfo_h+set}" = set; then
104845 echo $ECHO_N "(cached) $ECHO_C" >&6
104846 else
104847 ac_cv_header_langinfo_h=$ac_header_preproc
104848 fi
104849 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
104850 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
104851
104852 fi
104853 if test $ac_cv_header_langinfo_h = yes; then
104854 ac_has_langinfo_h=yes
104855 else
104856 ac_has_langinfo_h=no
104857 fi
104858
104859
104860
104861 # Check for existence of libiconv.a providing XPG2 wchar_t support.
104862 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
104863 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
104864 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
104865 echo $ECHO_N "(cached) $ECHO_C" >&6
104866 else
104867 ac_check_lib_save_LIBS=$LIBS
104868 LIBS="-liconv $LIBS"
104869 if test x$gcc_no_link = xyes; then
104870 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
104871 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
104872 { (exit 1); exit 1; }; }
104873 fi
104874 cat >conftest.$ac_ext <<_ACEOF
104875 /* confdefs.h. */
104876 _ACEOF
104877 cat confdefs.h >>conftest.$ac_ext
104878 cat >>conftest.$ac_ext <<_ACEOF
104879 /* end confdefs.h. */
104880
104881 /* Override any gcc2 internal prototype to avoid an error. */
104882 #ifdef __cplusplus
104883 extern "C"
104884 #endif
104885 /* We use char because int might match the return type of a gcc2
104886 builtin and then its argument prototype would still apply. */
104887 char iconv ();
104888 int
104889 main ()
104890 {
104891 iconv ();
104892 ;
104893 return 0;
104894 }
104895 _ACEOF
104896 rm -f conftest.$ac_objext conftest$ac_exeext
104897 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
104898 (eval $ac_link) 2>conftest.er1
104899 ac_status=$?
104900 grep -v '^ *+' conftest.er1 >conftest.err
104901 rm -f conftest.er1
104902 cat conftest.err >&5
104903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104904 (exit $ac_status); } &&
104905 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
104906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104907 (eval $ac_try) 2>&5
104908 ac_status=$?
104909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104910 (exit $ac_status); }; } &&
104911 { ac_try='test -s conftest$ac_exeext'
104912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104913 (eval $ac_try) 2>&5
104914 ac_status=$?
104915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104916 (exit $ac_status); }; }; then
104917 ac_cv_lib_iconv_iconv=yes
104918 else
104919 echo "$as_me: failed program was:" >&5
104920 sed 's/^/| /' conftest.$ac_ext >&5
104921
104922 ac_cv_lib_iconv_iconv=no
104923 fi
104924 rm -f conftest.err conftest.$ac_objext \
104925 conftest$ac_exeext conftest.$ac_ext
104926 LIBS=$ac_check_lib_save_LIBS
104927 fi
104928 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
104929 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
104930 if test $ac_cv_lib_iconv_iconv = yes; then
104931 LIBICONV="-liconv"
104932 fi
104933
104934 ac_save_LIBS="$LIBS"
104935 LIBS="$LIBS $LIBICONV"
104936
104937
104938
104939
104940
104941
104942 for ac_func in iconv_open iconv_close iconv nl_langinfo
104943 do
104944 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
104945 echo "$as_me:$LINENO: checking for $ac_func" >&5
104946 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
104947 if eval "test \"\${$as_ac_var+set}\" = set"; then
104948 echo $ECHO_N "(cached) $ECHO_C" >&6
104949 else
104950 if test x$gcc_no_link = xyes; then
104951 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
104952 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
104953 { (exit 1); exit 1; }; }
104954 fi
104955 cat >conftest.$ac_ext <<_ACEOF
104956 /* confdefs.h. */
104957 _ACEOF
104958 cat confdefs.h >>conftest.$ac_ext
104959 cat >>conftest.$ac_ext <<_ACEOF
104960 /* end confdefs.h. */
104961 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
104962 For example, HP-UX 11i <limits.h> declares gettimeofday. */
104963 #define $ac_func innocuous_$ac_func
104964
104965 /* System header to define __stub macros and hopefully few prototypes,
104966 which can conflict with char $ac_func (); below.
104967 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
104968 <limits.h> exists even on freestanding compilers. */
104969
104970 #ifdef __STDC__
104971 # include <limits.h>
104972 #else
104973 # include <assert.h>
104974 #endif
104975
104976 #undef $ac_func
104977
104978 /* Override any gcc2 internal prototype to avoid an error. */
104979 #ifdef __cplusplus
104980 extern "C"
104981 {
104982 #endif
104983 /* We use char because int might match the return type of a gcc2
104984 builtin and then its argument prototype would still apply. */
104985 char $ac_func ();
104986 /* The GNU C library defines this for functions which it implements
104987 to always fail with ENOSYS. Some functions are actually named
104988 something starting with __ and the normal name is an alias. */
104989 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
104990 choke me
104991 #else
104992 char (*f) () = $ac_func;
104993 #endif
104994 #ifdef __cplusplus
104995 }
104996 #endif
104997
104998 int
104999 main ()
105000 {
105001 return f != $ac_func;
105002 ;
105003 return 0;
105004 }
105005 _ACEOF
105006 rm -f conftest.$ac_objext conftest$ac_exeext
105007 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
105008 (eval $ac_link) 2>conftest.er1
105009 ac_status=$?
105010 grep -v '^ *+' conftest.er1 >conftest.err
105011 rm -f conftest.er1
105012 cat conftest.err >&5
105013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105014 (exit $ac_status); } &&
105015 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
105016 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105017 (eval $ac_try) 2>&5
105018 ac_status=$?
105019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105020 (exit $ac_status); }; } &&
105021 { ac_try='test -s conftest$ac_exeext'
105022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105023 (eval $ac_try) 2>&5
105024 ac_status=$?
105025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105026 (exit $ac_status); }; }; then
105027 eval "$as_ac_var=yes"
105028 else
105029 echo "$as_me: failed program was:" >&5
105030 sed 's/^/| /' conftest.$ac_ext >&5
105031
105032 eval "$as_ac_var=no"
105033 fi
105034 rm -f conftest.err conftest.$ac_objext \
105035 conftest$ac_exeext conftest.$ac_ext
105036 fi
105037 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
105038 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
105039 if test `eval echo '${'$as_ac_var'}'` = yes; then
105040 cat >>confdefs.h <<_ACEOF
105041 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
105042 _ACEOF
105043 ac_XPG2funcs=yes
105044 else
105045 ac_XPG2funcs=no
105046 fi
105047 done
105048
105049
105050 LIBS="$ac_save_LIBS"
105051
105052 if test x"$ac_has_iconv_h" = xyes &&
105053 test x"$ac_has_langinfo_h" = xyes &&
105054 test x"$ac_XPG2funcs" = xyes;
105055 then
105056
105057 cat >>confdefs.h <<\_ACEOF
105058 #define _GLIBCXX_USE_ICONV 1
105059 _ACEOF
105060
105061 enable_iconv=yes
105062 fi
105063 fi
105064 echo "$as_me:$LINENO: checking for enabled iconv specializations" >&5
105065 echo $ECHO_N "checking for enabled iconv specializations... $ECHO_C" >&6
105066 echo "$as_me:$LINENO: result: $enable_iconv" >&5
105067 echo "${ECHO_T}$enable_iconv" >&6
105068
105069 cat >>confdefs.h <<\_ACEOF
105070 #define HAVE_COSF 1
105071 _ACEOF
105072
105073 cat >>confdefs.h <<\_ACEOF
105074 #define HAVE_COSL 1
105075 _ACEOF
105076
105077 cat >>confdefs.h <<\_ACEOF
105078 #define HAVE_COSHF 1
105079 _ACEOF
105080
105081 cat >>confdefs.h <<\_ACEOF
105082 #define HAVE_COSHL 1
105083 _ACEOF
105084
105085 cat >>confdefs.h <<\_ACEOF
105086 #define HAVE_LOGF 1
105087 _ACEOF
105088
105089 cat >>confdefs.h <<\_ACEOF
105090 #define HAVE_LOGL 1
105091 _ACEOF
105092
105093 cat >>confdefs.h <<\_ACEOF
105094 #define HAVE_LOG10F 1
105095 _ACEOF
105096
105097 cat >>confdefs.h <<\_ACEOF
105098 #define HAVE_LOG10L 1
105099 _ACEOF
105100
105101 cat >>confdefs.h <<\_ACEOF
105102 #define HAVE_SINF 1
105103 _ACEOF
105104
105105 cat >>confdefs.h <<\_ACEOF
105106 #define HAVE_SINL 1
105107 _ACEOF
105108
105109 cat >>confdefs.h <<\_ACEOF
105110 #define HAVE_SINHF 1
105111 _ACEOF
105112
105113 cat >>confdefs.h <<\_ACEOF
105114 #define HAVE_SINHL 1
105115 _ACEOF
105116
105117 ;;
105118 *-solaris*)
105119 case "$target" in
105120 # *-solaris2.5)
105121 # os_include_dir="os/solaris/solaris2.5"
105122 # ;;
105123 # *-solaris2.6)
105124 # os_include_dir="os/solaris/solaris2.6"
105125 # ;;
105126 *-solaris2.7 | *-solaris2.8 | *-solaris2.9 | *-solaris2.10)
105127 cat >>confdefs.h <<\_ACEOF
105128 #define HAVE_GETPAGESIZE 1
105129 _ACEOF
105130
105131 cat >>confdefs.h <<\_ACEOF
105132 #define HAVE_SIGSETJMP 1
105133 _ACEOF
105134
105135 cat >>confdefs.h <<\_ACEOF
105136 #define HAVE_MBSTATE_T 1
105137 _ACEOF
105138
105139 cat >>confdefs.h <<\_ACEOF
105140 #define HAVE_POLL 1
105141 _ACEOF
105142
105143 cat >>confdefs.h <<\_ACEOF
105144 #define HAVE_S_ISREG 1
105145 _ACEOF
105146
105147 cat >>confdefs.h <<\_ACEOF
105148 #define HAVE_LC_MESSAGES 1
105149 _ACEOF
105150
105151 cat >>confdefs.h <<\_ACEOF
105152 #define HAVE_FINITE 1
105153 _ACEOF
105154
105155 cat >>confdefs.h <<\_ACEOF
105156 #define HAVE_FPCLASS 1
105157 _ACEOF
105158
105159 cat >>confdefs.h <<\_ACEOF
105160 #define HAVE_GETPAGESIZE 1
105161 _ACEOF
105162
105163 cat >>confdefs.h <<\_ACEOF
105164 #define HAVE_NL_LANGINFO 1
105165 _ACEOF
105166
105167 cat >>confdefs.h <<\_ACEOF
105168 #define HAVE_ICONV 1
105169 _ACEOF
105170
105171 cat >>confdefs.h <<\_ACEOF
105172 #define HAVE_ICONV_CLOSE 1
105173 _ACEOF
105174
105175 cat >>confdefs.h <<\_ACEOF
105176 #define HAVE_ICONV_OPEN 1
105177 _ACEOF
105178
105179 # Look for the pieces required for wchar_t support in order to
105180 # get all the right HAVE_* macros defined.
105181
105182
105183 enable_iconv=no
105184 # Only continue checking if the ISO C99 headers exist and support is on.
105185 if test x"$enable_wchar_t" = xyes; then
105186
105187 # Use iconv for wchar_t to char conversions. As such, check for
105188 # X/Open Portability Guide, version 2 features (XPG2).
105189 if test "${ac_cv_header_iconv_h+set}" = set; then
105190 echo "$as_me:$LINENO: checking for iconv.h" >&5
105191 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
105192 if test "${ac_cv_header_iconv_h+set}" = set; then
105193 echo $ECHO_N "(cached) $ECHO_C" >&6
105194 fi
105195 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
105196 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
105197 else
105198 # Is the header compilable?
105199 echo "$as_me:$LINENO: checking iconv.h usability" >&5
105200 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
105201 cat >conftest.$ac_ext <<_ACEOF
105202 /* confdefs.h. */
105203 _ACEOF
105204 cat confdefs.h >>conftest.$ac_ext
105205 cat >>conftest.$ac_ext <<_ACEOF
105206 /* end confdefs.h. */
105207 $ac_includes_default
105208 #include <iconv.h>
105209 _ACEOF
105210 rm -f conftest.$ac_objext
105211 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
105212 (eval $ac_compile) 2>conftest.er1
105213 ac_status=$?
105214 grep -v '^ *+' conftest.er1 >conftest.err
105215 rm -f conftest.er1
105216 cat conftest.err >&5
105217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105218 (exit $ac_status); } &&
105219 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
105220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105221 (eval $ac_try) 2>&5
105222 ac_status=$?
105223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105224 (exit $ac_status); }; } &&
105225 { ac_try='test -s conftest.$ac_objext'
105226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105227 (eval $ac_try) 2>&5
105228 ac_status=$?
105229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105230 (exit $ac_status); }; }; then
105231 ac_header_compiler=yes
105232 else
105233 echo "$as_me: failed program was:" >&5
105234 sed 's/^/| /' conftest.$ac_ext >&5
105235
105236 ac_header_compiler=no
105237 fi
105238 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
105239 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
105240 echo "${ECHO_T}$ac_header_compiler" >&6
105241
105242 # Is the header present?
105243 echo "$as_me:$LINENO: checking iconv.h presence" >&5
105244 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
105245 cat >conftest.$ac_ext <<_ACEOF
105246 /* confdefs.h. */
105247 _ACEOF
105248 cat confdefs.h >>conftest.$ac_ext
105249 cat >>conftest.$ac_ext <<_ACEOF
105250 /* end confdefs.h. */
105251 #include <iconv.h>
105252 _ACEOF
105253 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
105254 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
105255 ac_status=$?
105256 grep -v '^ *+' conftest.er1 >conftest.err
105257 rm -f conftest.er1
105258 cat conftest.err >&5
105259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105260 (exit $ac_status); } >/dev/null; then
105261 if test -s conftest.err; then
105262 ac_cpp_err=$ac_c_preproc_warn_flag
105263 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
105264 else
105265 ac_cpp_err=
105266 fi
105267 else
105268 ac_cpp_err=yes
105269 fi
105270 if test -z "$ac_cpp_err"; then
105271 ac_header_preproc=yes
105272 else
105273 echo "$as_me: failed program was:" >&5
105274 sed 's/^/| /' conftest.$ac_ext >&5
105275
105276 ac_header_preproc=no
105277 fi
105278 rm -f conftest.err conftest.$ac_ext
105279 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
105280 echo "${ECHO_T}$ac_header_preproc" >&6
105281
105282 # So? What about this header?
105283 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
105284 yes:no: )
105285 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
105286 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
105287 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
105288 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
105289 ac_header_preproc=yes
105290 ;;
105291 no:yes:* )
105292 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
105293 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
105294 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
105295 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
105296 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
105297 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
105298 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
105299 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
105300 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
105301 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
105302 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
105303 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
105304 (
105305 cat <<\_ASBOX
105306 ## ----------------------------------------- ##
105307 ## Report this to the package-unused lists. ##
105308 ## ----------------------------------------- ##
105309 _ASBOX
105310 ) |
105311 sed "s/^/$as_me: WARNING: /" >&2
105312 ;;
105313 esac
105314 echo "$as_me:$LINENO: checking for iconv.h" >&5
105315 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
105316 if test "${ac_cv_header_iconv_h+set}" = set; then
105317 echo $ECHO_N "(cached) $ECHO_C" >&6
105318 else
105319 ac_cv_header_iconv_h=$ac_header_preproc
105320 fi
105321 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
105322 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
105323
105324 fi
105325 if test $ac_cv_header_iconv_h = yes; then
105326 ac_has_iconv_h=yes
105327 else
105328 ac_has_iconv_h=no
105329 fi
105330
105331
105332 if test "${ac_cv_header_langinfo_h+set}" = set; then
105333 echo "$as_me:$LINENO: checking for langinfo.h" >&5
105334 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
105335 if test "${ac_cv_header_langinfo_h+set}" = set; then
105336 echo $ECHO_N "(cached) $ECHO_C" >&6
105337 fi
105338 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
105339 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
105340 else
105341 # Is the header compilable?
105342 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
105343 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
105344 cat >conftest.$ac_ext <<_ACEOF
105345 /* confdefs.h. */
105346 _ACEOF
105347 cat confdefs.h >>conftest.$ac_ext
105348 cat >>conftest.$ac_ext <<_ACEOF
105349 /* end confdefs.h. */
105350 $ac_includes_default
105351 #include <langinfo.h>
105352 _ACEOF
105353 rm -f conftest.$ac_objext
105354 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
105355 (eval $ac_compile) 2>conftest.er1
105356 ac_status=$?
105357 grep -v '^ *+' conftest.er1 >conftest.err
105358 rm -f conftest.er1
105359 cat conftest.err >&5
105360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105361 (exit $ac_status); } &&
105362 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
105363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105364 (eval $ac_try) 2>&5
105365 ac_status=$?
105366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105367 (exit $ac_status); }; } &&
105368 { ac_try='test -s conftest.$ac_objext'
105369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105370 (eval $ac_try) 2>&5
105371 ac_status=$?
105372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105373 (exit $ac_status); }; }; then
105374 ac_header_compiler=yes
105375 else
105376 echo "$as_me: failed program was:" >&5
105377 sed 's/^/| /' conftest.$ac_ext >&5
105378
105379 ac_header_compiler=no
105380 fi
105381 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
105382 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
105383 echo "${ECHO_T}$ac_header_compiler" >&6
105384
105385 # Is the header present?
105386 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
105387 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
105388 cat >conftest.$ac_ext <<_ACEOF
105389 /* confdefs.h. */
105390 _ACEOF
105391 cat confdefs.h >>conftest.$ac_ext
105392 cat >>conftest.$ac_ext <<_ACEOF
105393 /* end confdefs.h. */
105394 #include <langinfo.h>
105395 _ACEOF
105396 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
105397 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
105398 ac_status=$?
105399 grep -v '^ *+' conftest.er1 >conftest.err
105400 rm -f conftest.er1
105401 cat conftest.err >&5
105402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105403 (exit $ac_status); } >/dev/null; then
105404 if test -s conftest.err; then
105405 ac_cpp_err=$ac_c_preproc_warn_flag
105406 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
105407 else
105408 ac_cpp_err=
105409 fi
105410 else
105411 ac_cpp_err=yes
105412 fi
105413 if test -z "$ac_cpp_err"; then
105414 ac_header_preproc=yes
105415 else
105416 echo "$as_me: failed program was:" >&5
105417 sed 's/^/| /' conftest.$ac_ext >&5
105418
105419 ac_header_preproc=no
105420 fi
105421 rm -f conftest.err conftest.$ac_ext
105422 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
105423 echo "${ECHO_T}$ac_header_preproc" >&6
105424
105425 # So? What about this header?
105426 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
105427 yes:no: )
105428 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
105429 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
105430 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
105431 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
105432 ac_header_preproc=yes
105433 ;;
105434 no:yes:* )
105435 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
105436 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
105437 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
105438 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
105439 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
105440 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
105441 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
105442 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
105443 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
105444 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
105445 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
105446 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
105447 (
105448 cat <<\_ASBOX
105449 ## ----------------------------------------- ##
105450 ## Report this to the package-unused lists. ##
105451 ## ----------------------------------------- ##
105452 _ASBOX
105453 ) |
105454 sed "s/^/$as_me: WARNING: /" >&2
105455 ;;
105456 esac
105457 echo "$as_me:$LINENO: checking for langinfo.h" >&5
105458 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
105459 if test "${ac_cv_header_langinfo_h+set}" = set; then
105460 echo $ECHO_N "(cached) $ECHO_C" >&6
105461 else
105462 ac_cv_header_langinfo_h=$ac_header_preproc
105463 fi
105464 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
105465 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
105466
105467 fi
105468 if test $ac_cv_header_langinfo_h = yes; then
105469 ac_has_langinfo_h=yes
105470 else
105471 ac_has_langinfo_h=no
105472 fi
105473
105474
105475
105476 # Check for existence of libiconv.a providing XPG2 wchar_t support.
105477 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
105478 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
105479 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
105480 echo $ECHO_N "(cached) $ECHO_C" >&6
105481 else
105482 ac_check_lib_save_LIBS=$LIBS
105483 LIBS="-liconv $LIBS"
105484 if test x$gcc_no_link = xyes; then
105485 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
105486 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
105487 { (exit 1); exit 1; }; }
105488 fi
105489 cat >conftest.$ac_ext <<_ACEOF
105490 /* confdefs.h. */
105491 _ACEOF
105492 cat confdefs.h >>conftest.$ac_ext
105493 cat >>conftest.$ac_ext <<_ACEOF
105494 /* end confdefs.h. */
105495
105496 /* Override any gcc2 internal prototype to avoid an error. */
105497 #ifdef __cplusplus
105498 extern "C"
105499 #endif
105500 /* We use char because int might match the return type of a gcc2
105501 builtin and then its argument prototype would still apply. */
105502 char iconv ();
105503 int
105504 main ()
105505 {
105506 iconv ();
105507 ;
105508 return 0;
105509 }
105510 _ACEOF
105511 rm -f conftest.$ac_objext conftest$ac_exeext
105512 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
105513 (eval $ac_link) 2>conftest.er1
105514 ac_status=$?
105515 grep -v '^ *+' conftest.er1 >conftest.err
105516 rm -f conftest.er1
105517 cat conftest.err >&5
105518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105519 (exit $ac_status); } &&
105520 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
105521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105522 (eval $ac_try) 2>&5
105523 ac_status=$?
105524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105525 (exit $ac_status); }; } &&
105526 { ac_try='test -s conftest$ac_exeext'
105527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105528 (eval $ac_try) 2>&5
105529 ac_status=$?
105530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105531 (exit $ac_status); }; }; then
105532 ac_cv_lib_iconv_iconv=yes
105533 else
105534 echo "$as_me: failed program was:" >&5
105535 sed 's/^/| /' conftest.$ac_ext >&5
105536
105537 ac_cv_lib_iconv_iconv=no
105538 fi
105539 rm -f conftest.err conftest.$ac_objext \
105540 conftest$ac_exeext conftest.$ac_ext
105541 LIBS=$ac_check_lib_save_LIBS
105542 fi
105543 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
105544 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
105545 if test $ac_cv_lib_iconv_iconv = yes; then
105546 LIBICONV="-liconv"
105547 fi
105548
105549 ac_save_LIBS="$LIBS"
105550 LIBS="$LIBS $LIBICONV"
105551
105552
105553
105554
105555
105556
105557 for ac_func in iconv_open iconv_close iconv nl_langinfo
105558 do
105559 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
105560 echo "$as_me:$LINENO: checking for $ac_func" >&5
105561 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
105562 if eval "test \"\${$as_ac_var+set}\" = set"; then
105563 echo $ECHO_N "(cached) $ECHO_C" >&6
105564 else
105565 if test x$gcc_no_link = xyes; then
105566 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
105567 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
105568 { (exit 1); exit 1; }; }
105569 fi
105570 cat >conftest.$ac_ext <<_ACEOF
105571 /* confdefs.h. */
105572 _ACEOF
105573 cat confdefs.h >>conftest.$ac_ext
105574 cat >>conftest.$ac_ext <<_ACEOF
105575 /* end confdefs.h. */
105576 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
105577 For example, HP-UX 11i <limits.h> declares gettimeofday. */
105578 #define $ac_func innocuous_$ac_func
105579
105580 /* System header to define __stub macros and hopefully few prototypes,
105581 which can conflict with char $ac_func (); below.
105582 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
105583 <limits.h> exists even on freestanding compilers. */
105584
105585 #ifdef __STDC__
105586 # include <limits.h>
105587 #else
105588 # include <assert.h>
105589 #endif
105590
105591 #undef $ac_func
105592
105593 /* Override any gcc2 internal prototype to avoid an error. */
105594 #ifdef __cplusplus
105595 extern "C"
105596 {
105597 #endif
105598 /* We use char because int might match the return type of a gcc2
105599 builtin and then its argument prototype would still apply. */
105600 char $ac_func ();
105601 /* The GNU C library defines this for functions which it implements
105602 to always fail with ENOSYS. Some functions are actually named
105603 something starting with __ and the normal name is an alias. */
105604 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
105605 choke me
105606 #else
105607 char (*f) () = $ac_func;
105608 #endif
105609 #ifdef __cplusplus
105610 }
105611 #endif
105612
105613 int
105614 main ()
105615 {
105616 return f != $ac_func;
105617 ;
105618 return 0;
105619 }
105620 _ACEOF
105621 rm -f conftest.$ac_objext conftest$ac_exeext
105622 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
105623 (eval $ac_link) 2>conftest.er1
105624 ac_status=$?
105625 grep -v '^ *+' conftest.er1 >conftest.err
105626 rm -f conftest.er1
105627 cat conftest.err >&5
105628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105629 (exit $ac_status); } &&
105630 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
105631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105632 (eval $ac_try) 2>&5
105633 ac_status=$?
105634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105635 (exit $ac_status); }; } &&
105636 { ac_try='test -s conftest$ac_exeext'
105637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105638 (eval $ac_try) 2>&5
105639 ac_status=$?
105640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105641 (exit $ac_status); }; }; then
105642 eval "$as_ac_var=yes"
105643 else
105644 echo "$as_me: failed program was:" >&5
105645 sed 's/^/| /' conftest.$ac_ext >&5
105646
105647 eval "$as_ac_var=no"
105648 fi
105649 rm -f conftest.err conftest.$ac_objext \
105650 conftest$ac_exeext conftest.$ac_ext
105651 fi
105652 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
105653 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
105654 if test `eval echo '${'$as_ac_var'}'` = yes; then
105655 cat >>confdefs.h <<_ACEOF
105656 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
105657 _ACEOF
105658 ac_XPG2funcs=yes
105659 else
105660 ac_XPG2funcs=no
105661 fi
105662 done
105663
105664
105665 LIBS="$ac_save_LIBS"
105666
105667 if test x"$ac_has_iconv_h" = xyes &&
105668 test x"$ac_has_langinfo_h" = xyes &&
105669 test x"$ac_XPG2funcs" = xyes;
105670 then
105671
105672 cat >>confdefs.h <<\_ACEOF
105673 #define _GLIBCXX_USE_ICONV 1
105674 _ACEOF
105675
105676 enable_iconv=yes
105677 fi
105678 fi
105679 echo "$as_me:$LINENO: checking for enabled iconv specializations" >&5
105680 echo $ECHO_N "checking for enabled iconv specializations... $ECHO_C" >&6
105681 echo "$as_me:$LINENO: result: $enable_iconv" >&5
105682 echo "${ECHO_T}$enable_iconv" >&6
105683
105684 # All of the dependencies for wide character support are here, so
105685 # turn it on. This requires some syncronization with the
105686 # GLIBCXX_CHECK_ICONV_SUPPORT in acinclude.m4
105687 cat >>confdefs.h <<\_ACEOF
105688 #define _GLIBCXX_USE_WCHAR_T 1
105689 _ACEOF
105690
105691 # Are these tested for even when cross?
105692 cat >>confdefs.h <<\_ACEOF
105693 #define HAVE_FLOAT_H 1
105694 _ACEOF
105695
105696 cat >>confdefs.h <<\_ACEOF
105697 #define HAVE_IEEEFP_H 1
105698 _ACEOF
105699
105700 cat >>confdefs.h <<\_ACEOF
105701 #define HAVE_INTTYPES_H 1
105702 _ACEOF
105703
105704 cat >>confdefs.h <<\_ACEOF
105705 #define HAVE_LOCALE_H 1
105706 _ACEOF
105707
105708 cat >>confdefs.h <<\_ACEOF
105709 #define HAVE_NAN_H 1
105710 _ACEOF
105711
105712 cat >>confdefs.h <<\_ACEOF
105713 #define HAVE_SYS_FILIO_H 1
105714 _ACEOF
105715
105716 cat >>confdefs.h <<\_ACEOF
105717 #define HAVE_SYS_IOCTL_H 1
105718 _ACEOF
105719
105720 cat >>confdefs.h <<\_ACEOF
105721 #define HAVE_SYS_ISA_DEFS_H 1
105722 _ACEOF
105723
105724 cat >>confdefs.h <<\_ACEOF
105725 #define HAVE_SYS_RESOURCE_H 1
105726 _ACEOF
105727
105728 cat >>confdefs.h <<\_ACEOF
105729 #define HAVE_SYS_TIME_H 1
105730 _ACEOF
105731
105732 cat >>confdefs.h <<\_ACEOF
105733 #define HAVE_SYS_TYPES_H 1
105734 _ACEOF
105735
105736 cat >>confdefs.h <<\_ACEOF
105737 #define HAVE_UNISTD_H 1
105738 _ACEOF
105739
105740 cat >>confdefs.h <<\_ACEOF
105741 #define HAVE_WCHAR_H 1
105742 _ACEOF
105743
105744 cat >>confdefs.h <<\_ACEOF
105745 #define HAVE_WCTYPE_H 1
105746 _ACEOF
105747
105748 cat >>confdefs.h <<\_ACEOF
105749 #define HAVE_LIBM 1
105750 _ACEOF
105751
105752 ;;
105753 esac
105754 case "$target" in
105755 sparc*-*-solaris2.8 | sparc*-*-solaris2.9 | sparc*-*-solaris2.10)
105756 # I saw these on sparc-sun-solaris2.8, but not 2.6, and not on i386
105757 cat >>confdefs.h <<\_ACEOF
105758 #define HAVE___BUILTIN_ABS 1
105759 _ACEOF
105760
105761 cat >>confdefs.h <<\_ACEOF
105762 #define HAVE___BUILTIN_LABS 1
105763 _ACEOF
105764
105765 cat >>confdefs.h <<\_ACEOF
105766 #define HAVE___BUILTIN_FABS 1
105767 _ACEOF
105768
105769 cat >>confdefs.h <<\_ACEOF
105770 #define HAVE___BUILTIN_FABSF 1
105771 _ACEOF
105772
105773 cat >>confdefs.h <<\_ACEOF
105774 #define HAVE___BUILTIN_FABSL 1
105775 _ACEOF
105776
105777 cat >>confdefs.h <<\_ACEOF
105778 #define HAVE___BUILTIN_COS 1
105779 _ACEOF
105780
105781 cat >>confdefs.h <<\_ACEOF
105782 #define HAVE___BUILTIN_COSF 1
105783 _ACEOF
105784
105785 cat >>confdefs.h <<\_ACEOF
105786 #define HAVE___BUILTIN_SIN 1
105787 _ACEOF
105788
105789 cat >>confdefs.h <<\_ACEOF
105790 #define HAVE___BUILTIN_SINF 1
105791 _ACEOF
105792
105793 ;;
105794 esac
105795 case "$target" in
105796 *-*-solaris2.10)
105797 # These two C99 functions are present only in Solaris >= 10
105798 cat >>confdefs.h <<\_ACEOF
105799 #define HAVE_STRTOF 1
105800 _ACEOF
105801
105802 cat >>confdefs.h <<\_ACEOF
105803 #define HAVE_STRTOLD 1
105804 _ACEOF
105805
105806 ;;
105807 esac
105808 cat >>confdefs.h <<\_ACEOF
105809 #define HAVE_MMAP 1
105810 _ACEOF
105811
105812 cat >>confdefs.h <<\_ACEOF
105813 #define HAVE_COPYSIGN 1
105814 _ACEOF
105815
105816 cat >>confdefs.h <<\_ACEOF
105817 #define HAVE_ISNAN 1
105818 _ACEOF
105819
105820 cat >>confdefs.h <<\_ACEOF
105821 #define HAVE_ISNANF 1
105822 _ACEOF
105823
105824 cat >>confdefs.h <<\_ACEOF
105825 #define HAVE_MODFF 1
105826 _ACEOF
105827
105828 cat >>confdefs.h <<\_ACEOF
105829 #define HAVE_HYPOT 1
105830 _ACEOF
105831
105832 ;;
105833 *-tpf)
105834
105835
105836
105837
105838
105839
105840
105841
105842 for ac_header in nan.h endian.h machine/endian.h \
105843 sys/param.h sys/types.h locale.h float.h inttypes.h
105844 do
105845 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
105846 if eval "test \"\${$as_ac_Header+set}\" = set"; then
105847 echo "$as_me:$LINENO: checking for $ac_header" >&5
105848 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
105849 if eval "test \"\${$as_ac_Header+set}\" = set"; then
105850 echo $ECHO_N "(cached) $ECHO_C" >&6
105851 fi
105852 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
105853 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
105854 else
105855 # Is the header compilable?
105856 echo "$as_me:$LINENO: checking $ac_header usability" >&5
105857 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
105858 cat >conftest.$ac_ext <<_ACEOF
105859 /* confdefs.h. */
105860 _ACEOF
105861 cat confdefs.h >>conftest.$ac_ext
105862 cat >>conftest.$ac_ext <<_ACEOF
105863 /* end confdefs.h. */
105864 $ac_includes_default
105865 #include <$ac_header>
105866 _ACEOF
105867 rm -f conftest.$ac_objext
105868 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
105869 (eval $ac_compile) 2>conftest.er1
105870 ac_status=$?
105871 grep -v '^ *+' conftest.er1 >conftest.err
105872 rm -f conftest.er1
105873 cat conftest.err >&5
105874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105875 (exit $ac_status); } &&
105876 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
105877 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105878 (eval $ac_try) 2>&5
105879 ac_status=$?
105880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105881 (exit $ac_status); }; } &&
105882 { ac_try='test -s conftest.$ac_objext'
105883 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105884 (eval $ac_try) 2>&5
105885 ac_status=$?
105886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105887 (exit $ac_status); }; }; then
105888 ac_header_compiler=yes
105889 else
105890 echo "$as_me: failed program was:" >&5
105891 sed 's/^/| /' conftest.$ac_ext >&5
105892
105893 ac_header_compiler=no
105894 fi
105895 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
105896 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
105897 echo "${ECHO_T}$ac_header_compiler" >&6
105898
105899 # Is the header present?
105900 echo "$as_me:$LINENO: checking $ac_header presence" >&5
105901 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
105902 cat >conftest.$ac_ext <<_ACEOF
105903 /* confdefs.h. */
105904 _ACEOF
105905 cat confdefs.h >>conftest.$ac_ext
105906 cat >>conftest.$ac_ext <<_ACEOF
105907 /* end confdefs.h. */
105908 #include <$ac_header>
105909 _ACEOF
105910 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
105911 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
105912 ac_status=$?
105913 grep -v '^ *+' conftest.er1 >conftest.err
105914 rm -f conftest.er1
105915 cat conftest.err >&5
105916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105917 (exit $ac_status); } >/dev/null; then
105918 if test -s conftest.err; then
105919 ac_cpp_err=$ac_c_preproc_warn_flag
105920 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
105921 else
105922 ac_cpp_err=
105923 fi
105924 else
105925 ac_cpp_err=yes
105926 fi
105927 if test -z "$ac_cpp_err"; then
105928 ac_header_preproc=yes
105929 else
105930 echo "$as_me: failed program was:" >&5
105931 sed 's/^/| /' conftest.$ac_ext >&5
105932
105933 ac_header_preproc=no
105934 fi
105935 rm -f conftest.err conftest.$ac_ext
105936 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
105937 echo "${ECHO_T}$ac_header_preproc" >&6
105938
105939 # So? What about this header?
105940 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
105941 yes:no: )
105942 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
105943 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
105944 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
105945 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
105946 ac_header_preproc=yes
105947 ;;
105948 no:yes:* )
105949 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
105950 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
105951 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
105952 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
105953 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
105954 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
105955 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
105956 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
105957 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
105958 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
105959 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
105960 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
105961 (
105962 cat <<\_ASBOX
105963 ## ----------------------------------------- ##
105964 ## Report this to the package-unused lists. ##
105965 ## ----------------------------------------- ##
105966 _ASBOX
105967 ) |
105968 sed "s/^/$as_me: WARNING: /" >&2
105969 ;;
105970 esac
105971 echo "$as_me:$LINENO: checking for $ac_header" >&5
105972 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
105973 if eval "test \"\${$as_ac_Header+set}\" = set"; then
105974 echo $ECHO_N "(cached) $ECHO_C" >&6
105975 else
105976 eval "$as_ac_Header=\$ac_header_preproc"
105977 fi
105978 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
105979 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
105980
105981 fi
105982 if test `eval echo '${'$as_ac_Header'}'` = yes; then
105983 cat >>confdefs.h <<_ACEOF
105984 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
105985 _ACEOF
105986
105987 fi
105988
105989 done
105990
105991 SECTION_FLAGS='-ffunction-sections -fdata-sections'
105992
105993
105994 # If we're not using GNU ld, then there's no point in even trying these
105995 # tests. Check for that first. We should have already tested for gld
105996 # by now (in libtool), but require it now just to be safe...
105997 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
105998 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
105999
106000
106001
106002 # The name set by libtool depends on the version of libtool. Shame on us
106003 # for depending on an impl detail, but c'est la vie. Older versions used
106004 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
106005 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
106006 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
106007 # set (hence we're using an older libtool), then set it.
106008 if test x${with_gnu_ld+set} != xset; then
106009 if test x${ac_cv_prog_gnu_ld+set} != xset; then
106010 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
106011 with_gnu_ld=no
106012 else
106013 with_gnu_ld=$ac_cv_prog_gnu_ld
106014 fi
106015 fi
106016
106017 # Start by getting the version number. I think the libtool test already
106018 # does some of this, but throws away the result.
106019 echo "$as_me:$LINENO: checking for ld version" >&5
106020 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
106021
106022 ldver=`$LD --version 2>/dev/null | head -1 | \
106023 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
106024
106025 glibcxx_gnu_ld_version=`echo $ldver | \
106026 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
106027 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
106028 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
106029
106030 # Set --gc-sections.
106031 glibcxx_gcsections_min_ld=21602
106032 if test x"$with_gnu_ld" = x"yes" &&
106033 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
106034
106035 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
106036 # NB: This flag only works reliably after 2.16.1. Configure tests
106037 # for this are difficult, so hard wire a value that should work.
106038
106039 # All these tests are for C++, but run with the "C" compiler driver.
106040 # Need to do this so that g++ won't try to link in libstdc++/libsupc++.
106041 ac_test_CFLAGS="${CFLAGS+set}"
106042 ac_save_CFLAGS="$CFLAGS"
106043 CFLAGS='-x c++ -Wl,--gc-sections'
106044
106045 # Check for -Wl,--gc-sections
106046 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
106047 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
106048 if test x$gcc_no_link = xyes; then
106049 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
106050 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
106051 { (exit 1); exit 1; }; }
106052 fi
106053 cat >conftest.$ac_ext <<_ACEOF
106054 /* confdefs.h. */
106055 _ACEOF
106056 cat confdefs.h >>conftest.$ac_ext
106057 cat >>conftest.$ac_ext <<_ACEOF
106058 /* end confdefs.h. */
106059 int one(void) { return 1; }
106060 int two(void) { return 2; }
106061
106062 int
106063 main ()
106064 {
106065 two();
106066 ;
106067 return 0;
106068 }
106069 _ACEOF
106070 rm -f conftest.$ac_objext conftest$ac_exeext
106071 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
106072 (eval $ac_link) 2>conftest.er1
106073 ac_status=$?
106074 grep -v '^ *+' conftest.er1 >conftest.err
106075 rm -f conftest.er1
106076 cat conftest.err >&5
106077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106078 (exit $ac_status); } &&
106079 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
106080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106081 (eval $ac_try) 2>&5
106082 ac_status=$?
106083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106084 (exit $ac_status); }; } &&
106085 { ac_try='test -s conftest$ac_exeext'
106086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106087 (eval $ac_try) 2>&5
106088 ac_status=$?
106089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106090 (exit $ac_status); }; }; then
106091 ac_gcsections=yes
106092 else
106093 echo "$as_me: failed program was:" >&5
106094 sed 's/^/| /' conftest.$ac_ext >&5
106095
106096 ac_gcsections=no
106097 fi
106098 rm -f conftest.err conftest.$ac_objext \
106099 conftest$ac_exeext conftest.$ac_ext
106100 if test "$ac_gcsections" = "yes"; then
106101 rm -f conftest.c
106102 touch conftest.c
106103 if $CC -c conftest.c; then
106104 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
106105 grep "Warning: gc-sections option ignored" > /dev/null; then
106106 ac_gcsections=no
106107 fi
106108 fi
106109 rm -f conftest.c conftest.o conftest
106110 fi
106111 if test "$ac_gcsections" = "yes"; then
106112 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
106113 fi
106114 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
106115 echo "${ECHO_T}$ac_gcsections" >&6
106116
106117 if test "$ac_test_CFLAGS" = set; then
106118 CFLAGS="$ac_save_CFLAGS"
106119 else
106120 # this is the suspicious part
106121 CFLAGS=''
106122 fi
106123 fi
106124
106125 # Set -z,relro.
106126 # Note this is only for shared objects.
106127 ac_ld_relro=no
106128 if test x"$with_gnu_ld" = x"yes"; then
106129 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
106130 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
106131 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
106132 if test -n "$cxx_z_relo"; then
106133 OPT_LDFLAGS="-Wl,-z,relro"
106134 ac_ld_relro=yes
106135 fi
106136 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
106137 echo "${ECHO_T}$ac_ld_relro" >&6
106138 fi
106139
106140 # Set linker optimization flags.
106141 if test x"$with_gnu_ld" = x"yes"; then
106142 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
106143 fi
106144
106145
106146
106147
106148
106149
106150 echo "$as_me:$LINENO: checking for main in -lm" >&5
106151 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
106152 if test "${ac_cv_lib_m_main+set}" = set; then
106153 echo $ECHO_N "(cached) $ECHO_C" >&6
106154 else
106155 ac_check_lib_save_LIBS=$LIBS
106156 LIBS="-lm $LIBS"
106157 if test x$gcc_no_link = xyes; then
106158 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
106159 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
106160 { (exit 1); exit 1; }; }
106161 fi
106162 cat >conftest.$ac_ext <<_ACEOF
106163 /* confdefs.h. */
106164 _ACEOF
106165 cat confdefs.h >>conftest.$ac_ext
106166 cat >>conftest.$ac_ext <<_ACEOF
106167 /* end confdefs.h. */
106168
106169
106170 int
106171 main ()
106172 {
106173 main ();
106174 ;
106175 return 0;
106176 }
106177 _ACEOF
106178 rm -f conftest.$ac_objext conftest$ac_exeext
106179 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
106180 (eval $ac_link) 2>conftest.er1
106181 ac_status=$?
106182 grep -v '^ *+' conftest.er1 >conftest.err
106183 rm -f conftest.er1
106184 cat conftest.err >&5
106185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106186 (exit $ac_status); } &&
106187 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
106188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106189 (eval $ac_try) 2>&5
106190 ac_status=$?
106191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106192 (exit $ac_status); }; } &&
106193 { ac_try='test -s conftest$ac_exeext'
106194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106195 (eval $ac_try) 2>&5
106196 ac_status=$?
106197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106198 (exit $ac_status); }; }; then
106199 ac_cv_lib_m_main=yes
106200 else
106201 echo "$as_me: failed program was:" >&5
106202 sed 's/^/| /' conftest.$ac_ext >&5
106203
106204 ac_cv_lib_m_main=no
106205 fi
106206 rm -f conftest.err conftest.$ac_objext \
106207 conftest$ac_exeext conftest.$ac_ext
106208 LIBS=$ac_check_lib_save_LIBS
106209 fi
106210 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
106211 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
106212 if test $ac_cv_lib_m_main = yes; then
106213 cat >>confdefs.h <<_ACEOF
106214 #define HAVE_LIBM 1
106215 _ACEOF
106216
106217 LIBS="-lm $LIBS"
106218
106219 fi
106220
106221
106222 for ac_func in copysignf
106223 do
106224 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
106225 echo "$as_me:$LINENO: checking for $ac_func" >&5
106226 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
106227 if eval "test \"\${$as_ac_var+set}\" = set"; then
106228 echo $ECHO_N "(cached) $ECHO_C" >&6
106229 else
106230 if test x$gcc_no_link = xyes; then
106231 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
106232 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
106233 { (exit 1); exit 1; }; }
106234 fi
106235 cat >conftest.$ac_ext <<_ACEOF
106236 /* confdefs.h. */
106237 _ACEOF
106238 cat confdefs.h >>conftest.$ac_ext
106239 cat >>conftest.$ac_ext <<_ACEOF
106240 /* end confdefs.h. */
106241 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
106242 For example, HP-UX 11i <limits.h> declares gettimeofday. */
106243 #define $ac_func innocuous_$ac_func
106244
106245 /* System header to define __stub macros and hopefully few prototypes,
106246 which can conflict with char $ac_func (); below.
106247 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
106248 <limits.h> exists even on freestanding compilers. */
106249
106250 #ifdef __STDC__
106251 # include <limits.h>
106252 #else
106253 # include <assert.h>
106254 #endif
106255
106256 #undef $ac_func
106257
106258 /* Override any gcc2 internal prototype to avoid an error. */
106259 #ifdef __cplusplus
106260 extern "C"
106261 {
106262 #endif
106263 /* We use char because int might match the return type of a gcc2
106264 builtin and then its argument prototype would still apply. */
106265 char $ac_func ();
106266 /* The GNU C library defines this for functions which it implements
106267 to always fail with ENOSYS. Some functions are actually named
106268 something starting with __ and the normal name is an alias. */
106269 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
106270 choke me
106271 #else
106272 char (*f) () = $ac_func;
106273 #endif
106274 #ifdef __cplusplus
106275 }
106276 #endif
106277
106278 int
106279 main ()
106280 {
106281 return f != $ac_func;
106282 ;
106283 return 0;
106284 }
106285 _ACEOF
106286 rm -f conftest.$ac_objext conftest$ac_exeext
106287 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
106288 (eval $ac_link) 2>conftest.er1
106289 ac_status=$?
106290 grep -v '^ *+' conftest.er1 >conftest.err
106291 rm -f conftest.er1
106292 cat conftest.err >&5
106293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106294 (exit $ac_status); } &&
106295 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
106296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106297 (eval $ac_try) 2>&5
106298 ac_status=$?
106299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106300 (exit $ac_status); }; } &&
106301 { ac_try='test -s conftest$ac_exeext'
106302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106303 (eval $ac_try) 2>&5
106304 ac_status=$?
106305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106306 (exit $ac_status); }; }; then
106307 eval "$as_ac_var=yes"
106308 else
106309 echo "$as_me: failed program was:" >&5
106310 sed 's/^/| /' conftest.$ac_ext >&5
106311
106312 eval "$as_ac_var=no"
106313 fi
106314 rm -f conftest.err conftest.$ac_objext \
106315 conftest$ac_exeext conftest.$ac_ext
106316 fi
106317 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
106318 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
106319 if test `eval echo '${'$as_ac_var'}'` = yes; then
106320 cat >>confdefs.h <<_ACEOF
106321 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
106322 _ACEOF
106323
106324 else
106325 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
106326 fi
106327 done
106328
106329
106330
106331 for ac_func in __signbit
106332 do
106333 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
106334 echo "$as_me:$LINENO: checking for $ac_func" >&5
106335 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
106336 if eval "test \"\${$as_ac_var+set}\" = set"; then
106337 echo $ECHO_N "(cached) $ECHO_C" >&6
106338 else
106339 if test x$gcc_no_link = xyes; then
106340 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
106341 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
106342 { (exit 1); exit 1; }; }
106343 fi
106344 cat >conftest.$ac_ext <<_ACEOF
106345 /* confdefs.h. */
106346 _ACEOF
106347 cat confdefs.h >>conftest.$ac_ext
106348 cat >>conftest.$ac_ext <<_ACEOF
106349 /* end confdefs.h. */
106350 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
106351 For example, HP-UX 11i <limits.h> declares gettimeofday. */
106352 #define $ac_func innocuous_$ac_func
106353
106354 /* System header to define __stub macros and hopefully few prototypes,
106355 which can conflict with char $ac_func (); below.
106356 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
106357 <limits.h> exists even on freestanding compilers. */
106358
106359 #ifdef __STDC__
106360 # include <limits.h>
106361 #else
106362 # include <assert.h>
106363 #endif
106364
106365 #undef $ac_func
106366
106367 /* Override any gcc2 internal prototype to avoid an error. */
106368 #ifdef __cplusplus
106369 extern "C"
106370 {
106371 #endif
106372 /* We use char because int might match the return type of a gcc2
106373 builtin and then its argument prototype would still apply. */
106374 char $ac_func ();
106375 /* The GNU C library defines this for functions which it implements
106376 to always fail with ENOSYS. Some functions are actually named
106377 something starting with __ and the normal name is an alias. */
106378 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
106379 choke me
106380 #else
106381 char (*f) () = $ac_func;
106382 #endif
106383 #ifdef __cplusplus
106384 }
106385 #endif
106386
106387 int
106388 main ()
106389 {
106390 return f != $ac_func;
106391 ;
106392 return 0;
106393 }
106394 _ACEOF
106395 rm -f conftest.$ac_objext conftest$ac_exeext
106396 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
106397 (eval $ac_link) 2>conftest.er1
106398 ac_status=$?
106399 grep -v '^ *+' conftest.er1 >conftest.err
106400 rm -f conftest.er1
106401 cat conftest.err >&5
106402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106403 (exit $ac_status); } &&
106404 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
106405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106406 (eval $ac_try) 2>&5
106407 ac_status=$?
106408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106409 (exit $ac_status); }; } &&
106410 { ac_try='test -s conftest$ac_exeext'
106411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106412 (eval $ac_try) 2>&5
106413 ac_status=$?
106414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106415 (exit $ac_status); }; }; then
106416 eval "$as_ac_var=yes"
106417 else
106418 echo "$as_me: failed program was:" >&5
106419 sed 's/^/| /' conftest.$ac_ext >&5
106420
106421 eval "$as_ac_var=no"
106422 fi
106423 rm -f conftest.err conftest.$ac_objext \
106424 conftest$ac_exeext conftest.$ac_ext
106425 fi
106426 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
106427 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
106428 if test `eval echo '${'$as_ac_var'}'` = yes; then
106429 cat >>confdefs.h <<_ACEOF
106430 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
106431 _ACEOF
106432
106433 else
106434 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
106435 fi
106436 done
106437
106438
106439
106440 for ac_func in __signbitf
106441 do
106442 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
106443 echo "$as_me:$LINENO: checking for $ac_func" >&5
106444 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
106445 if eval "test \"\${$as_ac_var+set}\" = set"; then
106446 echo $ECHO_N "(cached) $ECHO_C" >&6
106447 else
106448 if test x$gcc_no_link = xyes; then
106449 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
106450 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
106451 { (exit 1); exit 1; }; }
106452 fi
106453 cat >conftest.$ac_ext <<_ACEOF
106454 /* confdefs.h. */
106455 _ACEOF
106456 cat confdefs.h >>conftest.$ac_ext
106457 cat >>conftest.$ac_ext <<_ACEOF
106458 /* end confdefs.h. */
106459 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
106460 For example, HP-UX 11i <limits.h> declares gettimeofday. */
106461 #define $ac_func innocuous_$ac_func
106462
106463 /* System header to define __stub macros and hopefully few prototypes,
106464 which can conflict with char $ac_func (); below.
106465 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
106466 <limits.h> exists even on freestanding compilers. */
106467
106468 #ifdef __STDC__
106469 # include <limits.h>
106470 #else
106471 # include <assert.h>
106472 #endif
106473
106474 #undef $ac_func
106475
106476 /* Override any gcc2 internal prototype to avoid an error. */
106477 #ifdef __cplusplus
106478 extern "C"
106479 {
106480 #endif
106481 /* We use char because int might match the return type of a gcc2
106482 builtin and then its argument prototype would still apply. */
106483 char $ac_func ();
106484 /* The GNU C library defines this for functions which it implements
106485 to always fail with ENOSYS. Some functions are actually named
106486 something starting with __ and the normal name is an alias. */
106487 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
106488 choke me
106489 #else
106490 char (*f) () = $ac_func;
106491 #endif
106492 #ifdef __cplusplus
106493 }
106494 #endif
106495
106496 int
106497 main ()
106498 {
106499 return f != $ac_func;
106500 ;
106501 return 0;
106502 }
106503 _ACEOF
106504 rm -f conftest.$ac_objext conftest$ac_exeext
106505 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
106506 (eval $ac_link) 2>conftest.er1
106507 ac_status=$?
106508 grep -v '^ *+' conftest.er1 >conftest.err
106509 rm -f conftest.er1
106510 cat conftest.err >&5
106511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106512 (exit $ac_status); } &&
106513 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
106514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106515 (eval $ac_try) 2>&5
106516 ac_status=$?
106517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106518 (exit $ac_status); }; } &&
106519 { ac_try='test -s conftest$ac_exeext'
106520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106521 (eval $ac_try) 2>&5
106522 ac_status=$?
106523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106524 (exit $ac_status); }; }; then
106525 eval "$as_ac_var=yes"
106526 else
106527 echo "$as_me: failed program was:" >&5
106528 sed 's/^/| /' conftest.$ac_ext >&5
106529
106530 eval "$as_ac_var=no"
106531 fi
106532 rm -f conftest.err conftest.$ac_objext \
106533 conftest$ac_exeext conftest.$ac_ext
106534 fi
106535 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
106536 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
106537 if test `eval echo '${'$as_ac_var'}'` = yes; then
106538 cat >>confdefs.h <<_ACEOF
106539 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
106540 _ACEOF
106541
106542 else
106543 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
106544 fi
106545 done
106546
106547
106548 if test x$ac_cv_func_copysignl = x"yes"; then
106549
106550 for ac_func in __signbitl
106551 do
106552 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
106553 echo "$as_me:$LINENO: checking for $ac_func" >&5
106554 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
106555 if eval "test \"\${$as_ac_var+set}\" = set"; then
106556 echo $ECHO_N "(cached) $ECHO_C" >&6
106557 else
106558 if test x$gcc_no_link = xyes; then
106559 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
106560 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
106561 { (exit 1); exit 1; }; }
106562 fi
106563 cat >conftest.$ac_ext <<_ACEOF
106564 /* confdefs.h. */
106565 _ACEOF
106566 cat confdefs.h >>conftest.$ac_ext
106567 cat >>conftest.$ac_ext <<_ACEOF
106568 /* end confdefs.h. */
106569 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
106570 For example, HP-UX 11i <limits.h> declares gettimeofday. */
106571 #define $ac_func innocuous_$ac_func
106572
106573 /* System header to define __stub macros and hopefully few prototypes,
106574 which can conflict with char $ac_func (); below.
106575 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
106576 <limits.h> exists even on freestanding compilers. */
106577
106578 #ifdef __STDC__
106579 # include <limits.h>
106580 #else
106581 # include <assert.h>
106582 #endif
106583
106584 #undef $ac_func
106585
106586 /* Override any gcc2 internal prototype to avoid an error. */
106587 #ifdef __cplusplus
106588 extern "C"
106589 {
106590 #endif
106591 /* We use char because int might match the return type of a gcc2
106592 builtin and then its argument prototype would still apply. */
106593 char $ac_func ();
106594 /* The GNU C library defines this for functions which it implements
106595 to always fail with ENOSYS. Some functions are actually named
106596 something starting with __ and the normal name is an alias. */
106597 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
106598 choke me
106599 #else
106600 char (*f) () = $ac_func;
106601 #endif
106602 #ifdef __cplusplus
106603 }
106604 #endif
106605
106606 int
106607 main ()
106608 {
106609 return f != $ac_func;
106610 ;
106611 return 0;
106612 }
106613 _ACEOF
106614 rm -f conftest.$ac_objext conftest$ac_exeext
106615 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
106616 (eval $ac_link) 2>conftest.er1
106617 ac_status=$?
106618 grep -v '^ *+' conftest.er1 >conftest.err
106619 rm -f conftest.er1
106620 cat conftest.err >&5
106621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106622 (exit $ac_status); } &&
106623 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
106624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106625 (eval $ac_try) 2>&5
106626 ac_status=$?
106627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106628 (exit $ac_status); }; } &&
106629 { ac_try='test -s conftest$ac_exeext'
106630 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106631 (eval $ac_try) 2>&5
106632 ac_status=$?
106633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106634 (exit $ac_status); }; }; then
106635 eval "$as_ac_var=yes"
106636 else
106637 echo "$as_me: failed program was:" >&5
106638 sed 's/^/| /' conftest.$ac_ext >&5
106639
106640 eval "$as_ac_var=no"
106641 fi
106642 rm -f conftest.err conftest.$ac_objext \
106643 conftest$ac_exeext conftest.$ac_ext
106644 fi
106645 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
106646 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
106647 if test `eval echo '${'$as_ac_var'}'` = yes; then
106648 cat >>confdefs.h <<_ACEOF
106649 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
106650 _ACEOF
106651
106652 else
106653 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
106654 fi
106655 done
106656
106657 fi
106658
106659 # Used in libmath/Makefile.am.
106660 if test -n "$LIBMATHOBJS"; then
106661 need_libmath=yes
106662 fi
106663
106664
106665
106666
106667 enable_iconv=no
106668 # Only continue checking if the ISO C99 headers exist and support is on.
106669 if test x"$enable_wchar_t" = xyes; then
106670
106671 # Use iconv for wchar_t to char conversions. As such, check for
106672 # X/Open Portability Guide, version 2 features (XPG2).
106673 if test "${ac_cv_header_iconv_h+set}" = set; then
106674 echo "$as_me:$LINENO: checking for iconv.h" >&5
106675 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
106676 if test "${ac_cv_header_iconv_h+set}" = set; then
106677 echo $ECHO_N "(cached) $ECHO_C" >&6
106678 fi
106679 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
106680 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
106681 else
106682 # Is the header compilable?
106683 echo "$as_me:$LINENO: checking iconv.h usability" >&5
106684 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
106685 cat >conftest.$ac_ext <<_ACEOF
106686 /* confdefs.h. */
106687 _ACEOF
106688 cat confdefs.h >>conftest.$ac_ext
106689 cat >>conftest.$ac_ext <<_ACEOF
106690 /* end confdefs.h. */
106691 $ac_includes_default
106692 #include <iconv.h>
106693 _ACEOF
106694 rm -f conftest.$ac_objext
106695 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
106696 (eval $ac_compile) 2>conftest.er1
106697 ac_status=$?
106698 grep -v '^ *+' conftest.er1 >conftest.err
106699 rm -f conftest.er1
106700 cat conftest.err >&5
106701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106702 (exit $ac_status); } &&
106703 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
106704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106705 (eval $ac_try) 2>&5
106706 ac_status=$?
106707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106708 (exit $ac_status); }; } &&
106709 { ac_try='test -s conftest.$ac_objext'
106710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106711 (eval $ac_try) 2>&5
106712 ac_status=$?
106713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106714 (exit $ac_status); }; }; then
106715 ac_header_compiler=yes
106716 else
106717 echo "$as_me: failed program was:" >&5
106718 sed 's/^/| /' conftest.$ac_ext >&5
106719
106720 ac_header_compiler=no
106721 fi
106722 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
106723 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
106724 echo "${ECHO_T}$ac_header_compiler" >&6
106725
106726 # Is the header present?
106727 echo "$as_me:$LINENO: checking iconv.h presence" >&5
106728 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
106729 cat >conftest.$ac_ext <<_ACEOF
106730 /* confdefs.h. */
106731 _ACEOF
106732 cat confdefs.h >>conftest.$ac_ext
106733 cat >>conftest.$ac_ext <<_ACEOF
106734 /* end confdefs.h. */
106735 #include <iconv.h>
106736 _ACEOF
106737 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
106738 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
106739 ac_status=$?
106740 grep -v '^ *+' conftest.er1 >conftest.err
106741 rm -f conftest.er1
106742 cat conftest.err >&5
106743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106744 (exit $ac_status); } >/dev/null; then
106745 if test -s conftest.err; then
106746 ac_cpp_err=$ac_c_preproc_warn_flag
106747 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
106748 else
106749 ac_cpp_err=
106750 fi
106751 else
106752 ac_cpp_err=yes
106753 fi
106754 if test -z "$ac_cpp_err"; then
106755 ac_header_preproc=yes
106756 else
106757 echo "$as_me: failed program was:" >&5
106758 sed 's/^/| /' conftest.$ac_ext >&5
106759
106760 ac_header_preproc=no
106761 fi
106762 rm -f conftest.err conftest.$ac_ext
106763 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
106764 echo "${ECHO_T}$ac_header_preproc" >&6
106765
106766 # So? What about this header?
106767 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
106768 yes:no: )
106769 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
106770 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
106771 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
106772 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
106773 ac_header_preproc=yes
106774 ;;
106775 no:yes:* )
106776 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
106777 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
106778 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
106779 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
106780 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
106781 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
106782 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
106783 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
106784 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
106785 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
106786 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
106787 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
106788 (
106789 cat <<\_ASBOX
106790 ## ----------------------------------------- ##
106791 ## Report this to the package-unused lists. ##
106792 ## ----------------------------------------- ##
106793 _ASBOX
106794 ) |
106795 sed "s/^/$as_me: WARNING: /" >&2
106796 ;;
106797 esac
106798 echo "$as_me:$LINENO: checking for iconv.h" >&5
106799 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
106800 if test "${ac_cv_header_iconv_h+set}" = set; then
106801 echo $ECHO_N "(cached) $ECHO_C" >&6
106802 else
106803 ac_cv_header_iconv_h=$ac_header_preproc
106804 fi
106805 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
106806 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
106807
106808 fi
106809 if test $ac_cv_header_iconv_h = yes; then
106810 ac_has_iconv_h=yes
106811 else
106812 ac_has_iconv_h=no
106813 fi
106814
106815
106816 if test "${ac_cv_header_langinfo_h+set}" = set; then
106817 echo "$as_me:$LINENO: checking for langinfo.h" >&5
106818 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
106819 if test "${ac_cv_header_langinfo_h+set}" = set; then
106820 echo $ECHO_N "(cached) $ECHO_C" >&6
106821 fi
106822 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
106823 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
106824 else
106825 # Is the header compilable?
106826 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
106827 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
106828 cat >conftest.$ac_ext <<_ACEOF
106829 /* confdefs.h. */
106830 _ACEOF
106831 cat confdefs.h >>conftest.$ac_ext
106832 cat >>conftest.$ac_ext <<_ACEOF
106833 /* end confdefs.h. */
106834 $ac_includes_default
106835 #include <langinfo.h>
106836 _ACEOF
106837 rm -f conftest.$ac_objext
106838 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
106839 (eval $ac_compile) 2>conftest.er1
106840 ac_status=$?
106841 grep -v '^ *+' conftest.er1 >conftest.err
106842 rm -f conftest.er1
106843 cat conftest.err >&5
106844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106845 (exit $ac_status); } &&
106846 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
106847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106848 (eval $ac_try) 2>&5
106849 ac_status=$?
106850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106851 (exit $ac_status); }; } &&
106852 { ac_try='test -s conftest.$ac_objext'
106853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106854 (eval $ac_try) 2>&5
106855 ac_status=$?
106856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106857 (exit $ac_status); }; }; then
106858 ac_header_compiler=yes
106859 else
106860 echo "$as_me: failed program was:" >&5
106861 sed 's/^/| /' conftest.$ac_ext >&5
106862
106863 ac_header_compiler=no
106864 fi
106865 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
106866 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
106867 echo "${ECHO_T}$ac_header_compiler" >&6
106868
106869 # Is the header present?
106870 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
106871 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
106872 cat >conftest.$ac_ext <<_ACEOF
106873 /* confdefs.h. */
106874 _ACEOF
106875 cat confdefs.h >>conftest.$ac_ext
106876 cat >>conftest.$ac_ext <<_ACEOF
106877 /* end confdefs.h. */
106878 #include <langinfo.h>
106879 _ACEOF
106880 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
106881 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
106882 ac_status=$?
106883 grep -v '^ *+' conftest.er1 >conftest.err
106884 rm -f conftest.er1
106885 cat conftest.err >&5
106886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106887 (exit $ac_status); } >/dev/null; then
106888 if test -s conftest.err; then
106889 ac_cpp_err=$ac_c_preproc_warn_flag
106890 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
106891 else
106892 ac_cpp_err=
106893 fi
106894 else
106895 ac_cpp_err=yes
106896 fi
106897 if test -z "$ac_cpp_err"; then
106898 ac_header_preproc=yes
106899 else
106900 echo "$as_me: failed program was:" >&5
106901 sed 's/^/| /' conftest.$ac_ext >&5
106902
106903 ac_header_preproc=no
106904 fi
106905 rm -f conftest.err conftest.$ac_ext
106906 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
106907 echo "${ECHO_T}$ac_header_preproc" >&6
106908
106909 # So? What about this header?
106910 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
106911 yes:no: )
106912 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
106913 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
106914 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
106915 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
106916 ac_header_preproc=yes
106917 ;;
106918 no:yes:* )
106919 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
106920 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
106921 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
106922 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
106923 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
106924 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
106925 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
106926 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
106927 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
106928 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
106929 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
106930 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
106931 (
106932 cat <<\_ASBOX
106933 ## ----------------------------------------- ##
106934 ## Report this to the package-unused lists. ##
106935 ## ----------------------------------------- ##
106936 _ASBOX
106937 ) |
106938 sed "s/^/$as_me: WARNING: /" >&2
106939 ;;
106940 esac
106941 echo "$as_me:$LINENO: checking for langinfo.h" >&5
106942 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
106943 if test "${ac_cv_header_langinfo_h+set}" = set; then
106944 echo $ECHO_N "(cached) $ECHO_C" >&6
106945 else
106946 ac_cv_header_langinfo_h=$ac_header_preproc
106947 fi
106948 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
106949 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
106950
106951 fi
106952 if test $ac_cv_header_langinfo_h = yes; then
106953 ac_has_langinfo_h=yes
106954 else
106955 ac_has_langinfo_h=no
106956 fi
106957
106958
106959
106960 # Check for existence of libiconv.a providing XPG2 wchar_t support.
106961 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
106962 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
106963 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
106964 echo $ECHO_N "(cached) $ECHO_C" >&6
106965 else
106966 ac_check_lib_save_LIBS=$LIBS
106967 LIBS="-liconv $LIBS"
106968 if test x$gcc_no_link = xyes; then
106969 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
106970 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
106971 { (exit 1); exit 1; }; }
106972 fi
106973 cat >conftest.$ac_ext <<_ACEOF
106974 /* confdefs.h. */
106975 _ACEOF
106976 cat confdefs.h >>conftest.$ac_ext
106977 cat >>conftest.$ac_ext <<_ACEOF
106978 /* end confdefs.h. */
106979
106980 /* Override any gcc2 internal prototype to avoid an error. */
106981 #ifdef __cplusplus
106982 extern "C"
106983 #endif
106984 /* We use char because int might match the return type of a gcc2
106985 builtin and then its argument prototype would still apply. */
106986 char iconv ();
106987 int
106988 main ()
106989 {
106990 iconv ();
106991 ;
106992 return 0;
106993 }
106994 _ACEOF
106995 rm -f conftest.$ac_objext conftest$ac_exeext
106996 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
106997 (eval $ac_link) 2>conftest.er1
106998 ac_status=$?
106999 grep -v '^ *+' conftest.er1 >conftest.err
107000 rm -f conftest.er1
107001 cat conftest.err >&5
107002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107003 (exit $ac_status); } &&
107004 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
107005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107006 (eval $ac_try) 2>&5
107007 ac_status=$?
107008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107009 (exit $ac_status); }; } &&
107010 { ac_try='test -s conftest$ac_exeext'
107011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107012 (eval $ac_try) 2>&5
107013 ac_status=$?
107014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107015 (exit $ac_status); }; }; then
107016 ac_cv_lib_iconv_iconv=yes
107017 else
107018 echo "$as_me: failed program was:" >&5
107019 sed 's/^/| /' conftest.$ac_ext >&5
107020
107021 ac_cv_lib_iconv_iconv=no
107022 fi
107023 rm -f conftest.err conftest.$ac_objext \
107024 conftest$ac_exeext conftest.$ac_ext
107025 LIBS=$ac_check_lib_save_LIBS
107026 fi
107027 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
107028 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
107029 if test $ac_cv_lib_iconv_iconv = yes; then
107030 LIBICONV="-liconv"
107031 fi
107032
107033 ac_save_LIBS="$LIBS"
107034 LIBS="$LIBS $LIBICONV"
107035
107036
107037
107038
107039
107040
107041 for ac_func in iconv_open iconv_close iconv nl_langinfo
107042 do
107043 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
107044 echo "$as_me:$LINENO: checking for $ac_func" >&5
107045 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
107046 if eval "test \"\${$as_ac_var+set}\" = set"; then
107047 echo $ECHO_N "(cached) $ECHO_C" >&6
107048 else
107049 if test x$gcc_no_link = xyes; then
107050 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
107051 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
107052 { (exit 1); exit 1; }; }
107053 fi
107054 cat >conftest.$ac_ext <<_ACEOF
107055 /* confdefs.h. */
107056 _ACEOF
107057 cat confdefs.h >>conftest.$ac_ext
107058 cat >>conftest.$ac_ext <<_ACEOF
107059 /* end confdefs.h. */
107060 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
107061 For example, HP-UX 11i <limits.h> declares gettimeofday. */
107062 #define $ac_func innocuous_$ac_func
107063
107064 /* System header to define __stub macros and hopefully few prototypes,
107065 which can conflict with char $ac_func (); below.
107066 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
107067 <limits.h> exists even on freestanding compilers. */
107068
107069 #ifdef __STDC__
107070 # include <limits.h>
107071 #else
107072 # include <assert.h>
107073 #endif
107074
107075 #undef $ac_func
107076
107077 /* Override any gcc2 internal prototype to avoid an error. */
107078 #ifdef __cplusplus
107079 extern "C"
107080 {
107081 #endif
107082 /* We use char because int might match the return type of a gcc2
107083 builtin and then its argument prototype would still apply. */
107084 char $ac_func ();
107085 /* The GNU C library defines this for functions which it implements
107086 to always fail with ENOSYS. Some functions are actually named
107087 something starting with __ and the normal name is an alias. */
107088 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
107089 choke me
107090 #else
107091 char (*f) () = $ac_func;
107092 #endif
107093 #ifdef __cplusplus
107094 }
107095 #endif
107096
107097 int
107098 main ()
107099 {
107100 return f != $ac_func;
107101 ;
107102 return 0;
107103 }
107104 _ACEOF
107105 rm -f conftest.$ac_objext conftest$ac_exeext
107106 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
107107 (eval $ac_link) 2>conftest.er1
107108 ac_status=$?
107109 grep -v '^ *+' conftest.er1 >conftest.err
107110 rm -f conftest.er1
107111 cat conftest.err >&5
107112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107113 (exit $ac_status); } &&
107114 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
107115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107116 (eval $ac_try) 2>&5
107117 ac_status=$?
107118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107119 (exit $ac_status); }; } &&
107120 { ac_try='test -s conftest$ac_exeext'
107121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107122 (eval $ac_try) 2>&5
107123 ac_status=$?
107124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107125 (exit $ac_status); }; }; then
107126 eval "$as_ac_var=yes"
107127 else
107128 echo "$as_me: failed program was:" >&5
107129 sed 's/^/| /' conftest.$ac_ext >&5
107130
107131 eval "$as_ac_var=no"
107132 fi
107133 rm -f conftest.err conftest.$ac_objext \
107134 conftest$ac_exeext conftest.$ac_ext
107135 fi
107136 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
107137 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
107138 if test `eval echo '${'$as_ac_var'}'` = yes; then
107139 cat >>confdefs.h <<_ACEOF
107140 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
107141 _ACEOF
107142 ac_XPG2funcs=yes
107143 else
107144 ac_XPG2funcs=no
107145 fi
107146 done
107147
107148
107149 LIBS="$ac_save_LIBS"
107150
107151 if test x"$ac_has_iconv_h" = xyes &&
107152 test x"$ac_has_langinfo_h" = xyes &&
107153 test x"$ac_XPG2funcs" = xyes;
107154 then
107155
107156 cat >>confdefs.h <<\_ACEOF
107157 #define _GLIBCXX_USE_ICONV 1
107158 _ACEOF
107159
107160 enable_iconv=yes
107161 fi
107162 fi
107163 echo "$as_me:$LINENO: checking for enabled iconv specializations" >&5
107164 echo $ECHO_N "checking for enabled iconv specializations... $ECHO_C" >&6
107165 echo "$as_me:$LINENO: result: $enable_iconv" >&5
107166 echo "${ECHO_T}$enable_iconv" >&6
107167
107168 cat >>confdefs.h <<\_ACEOF
107169 #define HAVE_COPYSIGN 1
107170 _ACEOF
107171
107172 cat >>confdefs.h <<\_ACEOF
107173 #define HAVE_COPYSIGNF 1
107174 _ACEOF
107175
107176 cat >>confdefs.h <<\_ACEOF
107177 #define HAVE_FINITE 1
107178 _ACEOF
107179
107180 cat >>confdefs.h <<\_ACEOF
107181 #define HAVE_FINITEF 1
107182 _ACEOF
107183
107184 cat >>confdefs.h <<\_ACEOF
107185 #define HAVE_FREXPF 1
107186 _ACEOF
107187
107188 cat >>confdefs.h <<\_ACEOF
107189 #define HAVE_HYPOTF 1
107190 _ACEOF
107191
107192 cat >>confdefs.h <<\_ACEOF
107193 #define HAVE_ISINF 1
107194 _ACEOF
107195
107196 cat >>confdefs.h <<\_ACEOF
107197 #define HAVE_ISINFF 1
107198 _ACEOF
107199
107200 cat >>confdefs.h <<\_ACEOF
107201 #define HAVE_ISNAN 1
107202 _ACEOF
107203
107204 cat >>confdefs.h <<\_ACEOF
107205 #define HAVE_ISNANF 1
107206 _ACEOF
107207
107208 cat >>confdefs.h <<\_ACEOF
107209 #define HAVE_SINCOS 1
107210 _ACEOF
107211
107212 cat >>confdefs.h <<\_ACEOF
107213 #define HAVE_SINCOSF 1
107214 _ACEOF
107215
107216 if test x"long_double_math_on_this_cpu" = x"yes"; then
107217 cat >>confdefs.h <<\_ACEOF
107218 #define HAVE_FINITEL 1
107219 _ACEOF
107220
107221 cat >>confdefs.h <<\_ACEOF
107222 #define HAVE_HYPOTL 1
107223 _ACEOF
107224
107225 cat >>confdefs.h <<\_ACEOF
107226 #define HAVE_ISINFL 1
107227 _ACEOF
107228
107229 cat >>confdefs.h <<\_ACEOF
107230 #define HAVE_ISNANL 1
107231 _ACEOF
107232
107233 fi
107234 ;;
107235 *-vxworks)
107236 cat >>confdefs.h <<\_ACEOF
107237 #define HAVE_MMAP 1
107238 _ACEOF
107239
107240 cat >>confdefs.h <<\_ACEOF
107241 #define HAVE_ACOSF 1
107242 _ACEOF
107243
107244 cat >>confdefs.h <<\_ACEOF
107245 #define HAVE_ASINF 1
107246 _ACEOF
107247
107248 cat >>confdefs.h <<\_ACEOF
107249 #define HAVE_ATAN2F 1
107250 _ACEOF
107251
107252 cat >>confdefs.h <<\_ACEOF
107253 #define HAVE_ATANF 1
107254 _ACEOF
107255
107256 cat >>confdefs.h <<\_ACEOF
107257 #define HAVE_CEILF 1
107258 _ACEOF
107259
107260 cat >>confdefs.h <<\_ACEOF
107261 #define HAVE_COSF 1
107262 _ACEOF
107263
107264 cat >>confdefs.h <<\_ACEOF
107265 #define HAVE_COSHF 1
107266 _ACEOF
107267
107268 cat >>confdefs.h <<\_ACEOF
107269 #define HAVE_EXPF 1
107270 _ACEOF
107271
107272 cat >>confdefs.h <<\_ACEOF
107273 #define HAVE_FABSF 1
107274 _ACEOF
107275
107276 cat >>confdefs.h <<\_ACEOF
107277 #define HAVE_FLOORF 1
107278 _ACEOF
107279
107280 cat >>confdefs.h <<\_ACEOF
107281 #define HAVE_FMODF 1
107282 _ACEOF
107283
107284 cat >>confdefs.h <<\_ACEOF
107285 #define HAVE_HYPOT 1
107286 _ACEOF
107287
107288 cat >>confdefs.h <<\_ACEOF
107289 #define HAVE_LOG10F 1
107290 _ACEOF
107291
107292 cat >>confdefs.h <<\_ACEOF
107293 #define HAVE_LOGF 1
107294 _ACEOF
107295
107296 cat >>confdefs.h <<\_ACEOF
107297 #define HAVE_POWF 1
107298 _ACEOF
107299
107300 cat >>confdefs.h <<\_ACEOF
107301 #define HAVE_SINF 1
107302 _ACEOF
107303
107304 cat >>confdefs.h <<\_ACEOF
107305 #define HAVE_SINHF 1
107306 _ACEOF
107307
107308 cat >>confdefs.h <<\_ACEOF
107309 #define HAVE_SQRTF 1
107310 _ACEOF
107311
107312 cat >>confdefs.h <<\_ACEOF
107313 #define HAVE_TANF 1
107314 _ACEOF
107315
107316 cat >>confdefs.h <<\_ACEOF
107317 #define HAVE_TANHF 1
107318 _ACEOF
107319
107320 ;;
107321 *-windiss*)
107322 cat >>confdefs.h <<\_ACEOF
107323 #define HAVE_ACOSF 1
107324 _ACEOF
107325
107326 cat >>confdefs.h <<\_ACEOF
107327 #define HAVE_ACOSL 1
107328 _ACEOF
107329
107330 cat >>confdefs.h <<\_ACEOF
107331 #define HAVE_ASINF 1
107332 _ACEOF
107333
107334 cat >>confdefs.h <<\_ACEOF
107335 #define HAVE_ASINL 1
107336 _ACEOF
107337
107338 cat >>confdefs.h <<\_ACEOF
107339 #define HAVE_ATAN2F 1
107340 _ACEOF
107341
107342 cat >>confdefs.h <<\_ACEOF
107343 #define HAVE_ATAN2L 1
107344 _ACEOF
107345
107346 cat >>confdefs.h <<\_ACEOF
107347 #define HAVE_ATANF 1
107348 _ACEOF
107349
107350 cat >>confdefs.h <<\_ACEOF
107351 #define HAVE_ATANL 1
107352 _ACEOF
107353
107354 cat >>confdefs.h <<\_ACEOF
107355 #define HAVE_CEILF 1
107356 _ACEOF
107357
107358 cat >>confdefs.h <<\_ACEOF
107359 #define HAVE_CEILL 1
107360 _ACEOF
107361
107362 cat >>confdefs.h <<\_ACEOF
107363 #define HAVE_COPYSIGN 1
107364 _ACEOF
107365
107366 cat >>confdefs.h <<\_ACEOF
107367 #define HAVE_COPYSIGNF 1
107368 _ACEOF
107369
107370 cat >>confdefs.h <<\_ACEOF
107371 #define HAVE_COSF 1
107372 _ACEOF
107373
107374 cat >>confdefs.h <<\_ACEOF
107375 #define HAVE_COSL 1
107376 _ACEOF
107377
107378 cat >>confdefs.h <<\_ACEOF
107379 #define HAVE_COSHF 1
107380 _ACEOF
107381
107382 cat >>confdefs.h <<\_ACEOF
107383 #define HAVE_COSHL 1
107384 _ACEOF
107385
107386 cat >>confdefs.h <<\_ACEOF
107387 #define HAVE_EXPF 1
107388 _ACEOF
107389
107390 cat >>confdefs.h <<\_ACEOF
107391 #define HAVE_EXPL 1
107392 _ACEOF
107393
107394 cat >>confdefs.h <<\_ACEOF
107395 #define HAVE_FABSF 1
107396 _ACEOF
107397
107398 cat >>confdefs.h <<\_ACEOF
107399 #define HAVE_FABSL 1
107400 _ACEOF
107401
107402 cat >>confdefs.h <<\_ACEOF
107403 #define HAVE_FLOORF 1
107404 _ACEOF
107405
107406 cat >>confdefs.h <<\_ACEOF
107407 #define HAVE_FLOORL 1
107408 _ACEOF
107409
107410 cat >>confdefs.h <<\_ACEOF
107411 #define HAVE_FMODF 1
107412 _ACEOF
107413
107414 cat >>confdefs.h <<\_ACEOF
107415 #define HAVE_FMODL 1
107416 _ACEOF
107417
107418 cat >>confdefs.h <<\_ACEOF
107419 #define HAVE_FREXPF 1
107420 _ACEOF
107421
107422 cat >>confdefs.h <<\_ACEOF
107423 #define HAVE_FREXPL 1
107424 _ACEOF
107425
107426 cat >>confdefs.h <<\_ACEOF
107427 #define HAVE_LDEXPF 1
107428 _ACEOF
107429
107430 cat >>confdefs.h <<\_ACEOF
107431 #define HAVE_LDEXPL 1
107432 _ACEOF
107433
107434 cat >>confdefs.h <<\_ACEOF
107435 #define HAVE_LOG10F 1
107436 _ACEOF
107437
107438 cat >>confdefs.h <<\_ACEOF
107439 #define HAVE_LOG10L 1
107440 _ACEOF
107441
107442 cat >>confdefs.h <<\_ACEOF
107443 #define HAVE_LOGF 1
107444 _ACEOF
107445
107446 cat >>confdefs.h <<\_ACEOF
107447 #define HAVE_MODFF 1
107448 _ACEOF
107449
107450 cat >>confdefs.h <<\_ACEOF
107451 #define HAVE_MODFL 1
107452 _ACEOF
107453
107454 cat >>confdefs.h <<\_ACEOF
107455 #define HAVE_POWF 1
107456 _ACEOF
107457
107458 cat >>confdefs.h <<\_ACEOF
107459 #define HAVE_POWL 1
107460 _ACEOF
107461
107462 cat >>confdefs.h <<\_ACEOF
107463 #define HAVE_SINF 1
107464 _ACEOF
107465
107466 cat >>confdefs.h <<\_ACEOF
107467 #define HAVE_SINL 1
107468 _ACEOF
107469
107470 cat >>confdefs.h <<\_ACEOF
107471 #define HAVE_SINHF 1
107472 _ACEOF
107473
107474 cat >>confdefs.h <<\_ACEOF
107475 #define HAVE_SINHL 1
107476 _ACEOF
107477
107478 cat >>confdefs.h <<\_ACEOF
107479 #define HAVE_SQRTF 1
107480 _ACEOF
107481
107482 cat >>confdefs.h <<\_ACEOF
107483 #define HAVE_SQRTL 1
107484 _ACEOF
107485
107486 cat >>confdefs.h <<\_ACEOF
107487 #define HAVE_TANF 1
107488 _ACEOF
107489
107490 cat >>confdefs.h <<\_ACEOF
107491 #define HAVE_TANL 1
107492 _ACEOF
107493
107494 cat >>confdefs.h <<\_ACEOF
107495 #define HAVE_TANHF 1
107496 _ACEOF
107497
107498 cat >>confdefs.h <<\_ACEOF
107499 #define HAVE_TANHL 1
107500 _ACEOF
107501
107502 ;;
107503 *)
107504 { { echo "$as_me:$LINENO: error: No support for this host/target combination." >&5
107505 echo "$as_me: error: No support for this host/target combination." >&2;}
107506 { (exit 1); exit 1; }; }
107507 ;;
107508 esac
107509
107510 fi
107511
107512 # At some point, we should differentiate between architectures
107513 # like x86, which have long double versions, and alpha/powerpc/etc.,
107514 # which don't. For the time being, punt.
107515 if test x"long_double_math_on_this_cpu" = x"yes"; then
107516 cat >>confdefs.h <<\_ACEOF
107517 #define HAVE_ACOSL 1
107518 _ACEOF
107519
107520 cat >>confdefs.h <<\_ACEOF
107521 #define HAVE_ASINL 1
107522 _ACEOF
107523
107524 cat >>confdefs.h <<\_ACEOF
107525 #define HAVE_ATAN2L 1
107526 _ACEOF
107527
107528 cat >>confdefs.h <<\_ACEOF
107529 #define HAVE_ATANL 1
107530 _ACEOF
107531
107532 cat >>confdefs.h <<\_ACEOF
107533 #define HAVE_CEILL 1
107534 _ACEOF
107535
107536 cat >>confdefs.h <<\_ACEOF
107537 #define HAVE_COPYSIGNL 1
107538 _ACEOF
107539
107540 cat >>confdefs.h <<\_ACEOF
107541 #define HAVE_COSL 1
107542 _ACEOF
107543
107544 cat >>confdefs.h <<\_ACEOF
107545 #define HAVE_COSHL 1
107546 _ACEOF
107547
107548 cat >>confdefs.h <<\_ACEOF
107549 #define HAVE_EXPL 1
107550 _ACEOF
107551
107552 cat >>confdefs.h <<\_ACEOF
107553 #define HAVE_FABSL 1
107554 _ACEOF
107555
107556 cat >>confdefs.h <<\_ACEOF
107557 #define HAVE_FLOORL 1
107558 _ACEOF
107559
107560 cat >>confdefs.h <<\_ACEOF
107561 #define HAVE_FMODL 1
107562 _ACEOF
107563
107564 cat >>confdefs.h <<\_ACEOF
107565 #define HAVE_FREXPL 1
107566 _ACEOF
107567
107568 cat >>confdefs.h <<\_ACEOF
107569 #define HAVE_LDEXPL 1
107570 _ACEOF
107571
107572 cat >>confdefs.h <<\_ACEOF
107573 #define HAVE_LOG10L 1
107574 _ACEOF
107575
107576 cat >>confdefs.h <<\_ACEOF
107577 #define HAVE_LOGL 1
107578 _ACEOF
107579
107580 cat >>confdefs.h <<\_ACEOF
107581 #define HAVE_MODFL 1
107582 _ACEOF
107583
107584 cat >>confdefs.h <<\_ACEOF
107585 #define HAVE_POWL 1
107586 _ACEOF
107587
107588 cat >>confdefs.h <<\_ACEOF
107589 #define HAVE_SINCOSL 1
107590 _ACEOF
107591
107592 cat >>confdefs.h <<\_ACEOF
107593 #define HAVE_SINL 1
107594 _ACEOF
107595
107596 cat >>confdefs.h <<\_ACEOF
107597 #define HAVE_SINHL 1
107598 _ACEOF
107599
107600 cat >>confdefs.h <<\_ACEOF
107601 #define HAVE_SQRTL 1
107602 _ACEOF
107603
107604 cat >>confdefs.h <<\_ACEOF
107605 #define HAVE_TANL 1
107606 _ACEOF
107607
107608 cat >>confdefs.h <<\_ACEOF
107609 #define HAVE_TANHL 1
107610 _ACEOF
107611
107612 fi
107613
107614 # Assume we have _Unwind_GetIPInfo for cross-compiles.
107615 cat >>confdefs.h <<\_ACEOF
107616 #define HAVE_GETIPINFO 1
107617 _ACEOF
107618
107619
107620 fi
107621
107622 # This depends on GLIBCXX CHECK_LINKER_FEATURES, but without it assumes no.
107623
107624
107625 # Check whether --enable-symvers or --disable-symvers was given.
107626 if test "${enable_symvers+set}" = set; then
107627 enableval="$enable_symvers"
107628
107629 case "$enableval" in
107630 yes|no|gnu|gnu-versioned-namespace|darwin|darwin-export) ;;
107631 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable symvers" >&5
107632 echo "$as_me: error: Unknown argument to enable/disable symvers" >&2;}
107633 { (exit 1); exit 1; }; } ;;
107634 esac
107635
107636 else
107637 enable_symvers=yes
107638 fi;
107639
107640
107641 # If we never went through the GLIBCXX_CHECK_LINKER_FEATURES macro, then we
107642 # don't know enough about $LD to do tricks...
107643
107644
107645 # Turn a 'yes' into a suitable default.
107646 if test x$enable_symvers = xyes ; then
107647 if test $enable_shared = no || test "x$LD" = x || test x$gcc_no_link = xyes; then
107648 enable_symvers=no
107649 else
107650 if test $with_gnu_ld = yes ; then
107651 enable_symvers=gnu
107652 else
107653 case ${target_os} in
107654 darwin*)
107655 enable_symvers=darwin ;;
107656 *)
107657 enable_symvers=no ;;
107658 esac
107659 fi
107660 fi
107661 fi
107662
107663 # Check to see if 'darwin' or 'darwin-export' can win.
107664 if test x$enable_symvers = xdarwin-export ; then
107665 enable_symvers=darwin
107666 fi
107667
107668 # Check to see if 'gnu' can win.
107669 if test $enable_symvers = gnu || test $enable_symvers = gnu-versioned-namespace; then
107670 # Check to see if libgcc_s exists, indicating that shared libgcc is possible.
107671 echo "$as_me:$LINENO: checking for shared libgcc" >&5
107672 echo $ECHO_N "checking for shared libgcc... $ECHO_C" >&6
107673 ac_save_CFLAGS="$CFLAGS"
107674 CFLAGS=' -lgcc_s'
107675 if test x$gcc_no_link = xyes; then
107676 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
107677 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
107678 { (exit 1); exit 1; }; }
107679 fi
107680 cat >conftest.$ac_ext <<_ACEOF
107681 /* confdefs.h. */
107682 _ACEOF
107683 cat confdefs.h >>conftest.$ac_ext
107684 cat >>conftest.$ac_ext <<_ACEOF
107685 /* end confdefs.h. */
107686
107687 int
107688 main ()
107689 {
107690 return 0;
107691 ;
107692 return 0;
107693 }
107694 _ACEOF
107695 rm -f conftest.$ac_objext conftest$ac_exeext
107696 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
107697 (eval $ac_link) 2>conftest.er1
107698 ac_status=$?
107699 grep -v '^ *+' conftest.er1 >conftest.err
107700 rm -f conftest.er1
107701 cat conftest.err >&5
107702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107703 (exit $ac_status); } &&
107704 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
107705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107706 (eval $ac_try) 2>&5
107707 ac_status=$?
107708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107709 (exit $ac_status); }; } &&
107710 { ac_try='test -s conftest$ac_exeext'
107711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107712 (eval $ac_try) 2>&5
107713 ac_status=$?
107714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107715 (exit $ac_status); }; }; then
107716 glibcxx_shared_libgcc=yes
107717 else
107718 echo "$as_me: failed program was:" >&5
107719 sed 's/^/| /' conftest.$ac_ext >&5
107720
107721 glibcxx_shared_libgcc=no
107722 fi
107723 rm -f conftest.err conftest.$ac_objext \
107724 conftest$ac_exeext conftest.$ac_ext
107725 CFLAGS="$ac_save_CFLAGS"
107726 if test $glibcxx_shared_libgcc = no; then
107727 cat > conftest.c <<EOF
107728 int main (void) { return 0; }
107729 EOF
107730 glibcxx_libgcc_s_suffix=`${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS \
107731 -shared -shared-libgcc -o conftest.so \
107732 conftest.c -v 2>&1 >/dev/null \
107733 | sed -n 's/^.* -lgcc_s\([^ ]*\) .*$/\1/p'`
107734 rm -f conftest.c conftest.so
107735 if test x${glibcxx_libgcc_s_suffix+set} = xset; then
107736 CFLAGS=" -lgcc_s$glibcxx_libgcc_s_suffix"
107737 if test x$gcc_no_link = xyes; then
107738 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
107739 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
107740 { (exit 1); exit 1; }; }
107741 fi
107742 cat >conftest.$ac_ext <<_ACEOF
107743 /* confdefs.h. */
107744 _ACEOF
107745 cat confdefs.h >>conftest.$ac_ext
107746 cat >>conftest.$ac_ext <<_ACEOF
107747 /* end confdefs.h. */
107748
107749 int
107750 main ()
107751 {
107752 return 0;
107753 ;
107754 return 0;
107755 }
107756 _ACEOF
107757 rm -f conftest.$ac_objext conftest$ac_exeext
107758 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
107759 (eval $ac_link) 2>conftest.er1
107760 ac_status=$?
107761 grep -v '^ *+' conftest.er1 >conftest.err
107762 rm -f conftest.er1
107763 cat conftest.err >&5
107764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107765 (exit $ac_status); } &&
107766 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
107767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107768 (eval $ac_try) 2>&5
107769 ac_status=$?
107770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107771 (exit $ac_status); }; } &&
107772 { ac_try='test -s conftest$ac_exeext'
107773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107774 (eval $ac_try) 2>&5
107775 ac_status=$?
107776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107777 (exit $ac_status); }; }; then
107778 glibcxx_shared_libgcc=yes
107779 else
107780 echo "$as_me: failed program was:" >&5
107781 sed 's/^/| /' conftest.$ac_ext >&5
107782
107783 fi
107784 rm -f conftest.err conftest.$ac_objext \
107785 conftest$ac_exeext conftest.$ac_ext
107786 CFLAGS="$ac_save_CFLAGS"
107787 fi
107788 fi
107789 echo "$as_me:$LINENO: result: $glibcxx_shared_libgcc" >&5
107790 echo "${ECHO_T}$glibcxx_shared_libgcc" >&6
107791
107792 # For GNU ld, we need at least this version. The format is described in
107793 # GLIBCXX_CHECK_LINKER_FEATURES above.
107794 glibcxx_min_gnu_ld_version=21400
107795
107796 # If no shared libgcc, can't win.
107797 if test $glibcxx_shared_libgcc != yes; then
107798 { echo "$as_me:$LINENO: WARNING: === You have requested GNU symbol versioning, but" >&5
107799 echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
107800 { echo "$as_me:$LINENO: WARNING: === you are not building a shared libgcc_s." >&5
107801 echo "$as_me: WARNING: === you are not building a shared libgcc_s." >&2;}
107802 { echo "$as_me:$LINENO: WARNING: === Symbol versioning will be disabled." >&5
107803 echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
107804 enable_symvers=no
107805 elif test $with_gnu_ld != yes ; then
107806 # just fail for now
107807 { echo "$as_me:$LINENO: WARNING: === You have requested GNU symbol versioning, but" >&5
107808 echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
107809 { echo "$as_me:$LINENO: WARNING: === you are not using the GNU linker." >&5
107810 echo "$as_me: WARNING: === you are not using the GNU linker." >&2;}
107811 { echo "$as_me:$LINENO: WARNING: === Symbol versioning will be disabled." >&5
107812 echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
107813 enable_symvers=no
107814 elif test $glibcxx_gnu_ld_version -lt $glibcxx_min_gnu_ld_version ; then
107815 # The right tools, the right setup, but too old. Fallbacks?
107816 { echo "$as_me:$LINENO: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&5
107817 echo "$as_me: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&2;}
107818 { echo "$as_me:$LINENO: WARNING: === full symbol versioning support in this release of GCC." >&5
107819 echo "$as_me: WARNING: === full symbol versioning support in this release of GCC." >&2;}
107820 { echo "$as_me:$LINENO: WARNING: === You would need to upgrade your binutils to version" >&5
107821 echo "$as_me: WARNING: === You would need to upgrade your binutils to version" >&2;}
107822 { echo "$as_me:$LINENO: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&5
107823 echo "$as_me: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&2;}
107824 { echo "$as_me:$LINENO: WARNING: === Symbol versioning will be disabled." >&5
107825 echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
107826 enable_symvers=no
107827 fi
107828 fi
107829
107830 # Everything parsed; figure out what file to use.
107831 case $enable_symvers in
107832 no)
107833 SYMVER_FILE=config/abi/pre/none.ver
107834 ;;
107835 gnu)
107836 SYMVER_FILE=config/abi/pre/gnu.ver
107837
107838 cat >>confdefs.h <<\_ACEOF
107839 #define _GLIBCXX_SYMVER_GNU 1
107840 _ACEOF
107841
107842 ;;
107843 gnu-versioned-namespace)
107844 SYMVER_FILE=config/abi/pre/gnu-versioned-namespace.ver
107845
107846 cat >>confdefs.h <<\_ACEOF
107847 #define _GLIBCXX_SYMVER_GNU_NAMESPACE 1
107848 _ACEOF
107849
107850 ;;
107851 darwin)
107852 SYMVER_FILE=config/abi/pre/gnu.ver
107853
107854 cat >>confdefs.h <<\_ACEOF
107855 #define _GLIBCXX_SYMVER_DARWIN 1
107856 _ACEOF
107857
107858 ;;
107859 esac
107860
107861 if test x$enable_symvers != xno ; then
107862
107863 cat >>confdefs.h <<\_ACEOF
107864 #define _GLIBCXX_SYMVER 1
107865 _ACEOF
107866
107867 fi
107868
107869
107870
107871
107872
107873
107874
107875 { echo "$as_me:$LINENO: versioning on shared library symbols is $enable_symvers" >&5
107876 echo "$as_me: versioning on shared library symbols is $enable_symvers" >&6;}
107877
107878 # Now, set up compatibility support, if any.
107879 # In addition, need this to deal with std::size_t mangling in
107880 # src/compatibility.cc. In a perfect world, could use
107881 # typeid(std::size_t).name()[0] to do direct substitution.
107882 echo "$as_me:$LINENO: checking for size_t as unsigned int" >&5
107883 echo $ECHO_N "checking for size_t as unsigned int... $ECHO_C" >&6
107884 ac_save_CFLAGS="$CFLAGS"
107885 CFLAGS="-Werror"
107886 cat >conftest.$ac_ext <<_ACEOF
107887 /* confdefs.h. */
107888 _ACEOF
107889 cat confdefs.h >>conftest.$ac_ext
107890 cat >>conftest.$ac_ext <<_ACEOF
107891 /* end confdefs.h. */
107892
107893 int
107894 main ()
107895 {
107896 __SIZE_TYPE__* stp; unsigned int* uip; stp = uip;
107897 ;
107898 return 0;
107899 }
107900 _ACEOF
107901 rm -f conftest.$ac_objext
107902 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
107903 (eval $ac_compile) 2>conftest.er1
107904 ac_status=$?
107905 grep -v '^ *+' conftest.er1 >conftest.err
107906 rm -f conftest.er1
107907 cat conftest.err >&5
107908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107909 (exit $ac_status); } &&
107910 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
107911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107912 (eval $ac_try) 2>&5
107913 ac_status=$?
107914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107915 (exit $ac_status); }; } &&
107916 { ac_try='test -s conftest.$ac_objext'
107917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107918 (eval $ac_try) 2>&5
107919 ac_status=$?
107920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107921 (exit $ac_status); }; }; then
107922 glibcxx_size_t_is_i=yes
107923 else
107924 echo "$as_me: failed program was:" >&5
107925 sed 's/^/| /' conftest.$ac_ext >&5
107926
107927 glibcxx_size_t_is_i=no
107928 fi
107929 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
107930 CFLAGS=$ac_save_CFLAGS
107931 if test "$glibcxx_size_t_is_i" = yes; then
107932
107933 cat >>confdefs.h <<\_ACEOF
107934 #define _GLIBCXX_SIZE_T_IS_UINT 1
107935 _ACEOF
107936
107937 fi
107938 echo "$as_me:$LINENO: result: $glibcxx_size_t_is_i" >&5
107939 echo "${ECHO_T}$glibcxx_size_t_is_i" >&6
107940
107941 echo "$as_me:$LINENO: checking for ptrdiff_t as int" >&5
107942 echo $ECHO_N "checking for ptrdiff_t as int... $ECHO_C" >&6
107943 ac_save_CFLAGS="$CFLAGS"
107944 CFLAGS="-Werror"
107945 cat >conftest.$ac_ext <<_ACEOF
107946 /* confdefs.h. */
107947 _ACEOF
107948 cat confdefs.h >>conftest.$ac_ext
107949 cat >>conftest.$ac_ext <<_ACEOF
107950 /* end confdefs.h. */
107951
107952 int
107953 main ()
107954 {
107955 __PTRDIFF_TYPE__* ptp; int* ip; ptp = ip;
107956 ;
107957 return 0;
107958 }
107959 _ACEOF
107960 rm -f conftest.$ac_objext
107961 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
107962 (eval $ac_compile) 2>conftest.er1
107963 ac_status=$?
107964 grep -v '^ *+' conftest.er1 >conftest.err
107965 rm -f conftest.er1
107966 cat conftest.err >&5
107967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107968 (exit $ac_status); } &&
107969 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
107970 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107971 (eval $ac_try) 2>&5
107972 ac_status=$?
107973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107974 (exit $ac_status); }; } &&
107975 { ac_try='test -s conftest.$ac_objext'
107976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107977 (eval $ac_try) 2>&5
107978 ac_status=$?
107979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107980 (exit $ac_status); }; }; then
107981 glibcxx_ptrdiff_t_is_i=yes
107982 else
107983 echo "$as_me: failed program was:" >&5
107984 sed 's/^/| /' conftest.$ac_ext >&5
107985
107986 glibcxx_ptrdiff_t_is_i=no
107987 fi
107988 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
107989 CFLAGS=$ac_save_CFLAGS
107990 if test "$glibcxx_ptrdiff_t_is_i" = yes; then
107991
107992 cat >>confdefs.h <<\_ACEOF
107993 #define _GLIBCXX_PTRDIFF_T_IS_INT 1
107994 _ACEOF
107995
107996 fi
107997 echo "$as_me:$LINENO: result: $glibcxx_ptrdiff_t_is_i" >&5
107998 echo "${ECHO_T}$glibcxx_ptrdiff_t_is_i" >&6
107999
108000
108001 # Check whether --enable-visibility or --disable-visibility was given.
108002 if test "${enable_visibility+set}" = set; then
108003 enableval="$enable_visibility"
108004
108005 case "$enableval" in
108006 yes|no) ;;
108007 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable visibility must be yes or no" >&5
108008 echo "$as_me: error: Argument to enable/disable visibility must be yes or no" >&2;}
108009 { (exit 1); exit 1; }; } ;;
108010 esac
108011
108012 else
108013 enable_visibility=yes
108014 fi;
108015
108016
108017 if test x$enable_visibility = xyes ; then
108018 echo "$as_me:$LINENO: checking whether the target supports hidden visibility" >&5
108019 echo $ECHO_N "checking whether the target supports hidden visibility... $ECHO_C" >&6
108020 if test "${have_attribute_visibility+set}" = set; then
108021 echo $ECHO_N "(cached) $ECHO_C" >&6
108022 else
108023
108024 save_CFLAGS="$CFLAGS"
108025 CFLAGS="$CFLAGS -Werror"
108026 cat >conftest.$ac_ext <<_ACEOF
108027 /* confdefs.h. */
108028 _ACEOF
108029 cat confdefs.h >>conftest.$ac_ext
108030 cat >>conftest.$ac_ext <<_ACEOF
108031 /* end confdefs.h. */
108032 void __attribute__((visibility("hidden"))) foo(void) { }
108033 int
108034 main ()
108035 {
108036
108037 ;
108038 return 0;
108039 }
108040 _ACEOF
108041 rm -f conftest.$ac_objext
108042 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
108043 (eval $ac_compile) 2>conftest.er1
108044 ac_status=$?
108045 grep -v '^ *+' conftest.er1 >conftest.err
108046 rm -f conftest.er1
108047 cat conftest.err >&5
108048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108049 (exit $ac_status); } &&
108050 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
108051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108052 (eval $ac_try) 2>&5
108053 ac_status=$?
108054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108055 (exit $ac_status); }; } &&
108056 { ac_try='test -s conftest.$ac_objext'
108057 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108058 (eval $ac_try) 2>&5
108059 ac_status=$?
108060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108061 (exit $ac_status); }; }; then
108062 have_attribute_visibility=yes
108063 else
108064 echo "$as_me: failed program was:" >&5
108065 sed 's/^/| /' conftest.$ac_ext >&5
108066
108067 have_attribute_visibility=no
108068 fi
108069 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
108070 CFLAGS="$save_CFLAGS"
108071 fi
108072 echo "$as_me:$LINENO: result: $have_attribute_visibility" >&5
108073 echo "${ECHO_T}$have_attribute_visibility" >&6
108074 if test $have_attribute_visibility = no; then
108075 enable_visibility=no
108076 fi
108077 fi
108078
108079
108080 { echo "$as_me:$LINENO: visibility supported: $enable_visibility" >&5
108081 echo "$as_me: visibility supported: $enable_visibility" >&6;}
108082
108083
108084 ac_ldbl_compat=no
108085 case "$target" in
108086 powerpc*-*-*gnu* | \
108087 sparc*-*-linux* | \
108088 s390*-*-linux* | \
108089 alpha*-*-linux*)
108090 cat >conftest.$ac_ext <<_ACEOF
108091 /* confdefs.h. */
108092 _ACEOF
108093 cat confdefs.h >>conftest.$ac_ext
108094 cat >>conftest.$ac_ext <<_ACEOF
108095 /* end confdefs.h. */
108096
108097 int
108098 main ()
108099 {
108100
108101 #if !defined __LONG_DOUBLE_128__ || (defined(__sparc__) && defined(__arch64__))
108102 #error no need for long double compatibility
108103 #endif
108104
108105 ;
108106 return 0;
108107 }
108108 _ACEOF
108109 rm -f conftest.$ac_objext
108110 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
108111 (eval $ac_compile) 2>conftest.er1
108112 ac_status=$?
108113 grep -v '^ *+' conftest.er1 >conftest.err
108114 rm -f conftest.er1
108115 cat conftest.err >&5
108116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108117 (exit $ac_status); } &&
108118 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
108119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108120 (eval $ac_try) 2>&5
108121 ac_status=$?
108122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108123 (exit $ac_status); }; } &&
108124 { ac_try='test -s conftest.$ac_objext'
108125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108126 (eval $ac_try) 2>&5
108127 ac_status=$?
108128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108129 (exit $ac_status); }; }; then
108130 ac_ldbl_compat=yes
108131 else
108132 echo "$as_me: failed program was:" >&5
108133 sed 's/^/| /' conftest.$ac_ext >&5
108134
108135 ac_ldbl_compat=no
108136 fi
108137 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
108138 if test "$ac_ldbl_compat" = yes; then
108139
108140 cat >>confdefs.h <<\_ACEOF
108141 #define _GLIBCXX_LONG_DOUBLE_COMPAT 1
108142 _ACEOF
108143
108144 port_specific_symbol_files="\$(top_srcdir)/config/os/gnu-linux/ldbl-extra.ver"
108145 fi
108146 esac
108147
108148
108149 # This depends on GLIBCXX_ENABLE_SYMVERS and GLIBCXX_IS_NATIVE.
108150
108151 if $GLIBCXX_IS_NATIVE ; then
108152 # Do checks for resource limit functions.
108153
108154 setrlimit_have_headers=yes
108155
108156
108157
108158 for ac_header in unistd.h sys/time.h sys/resource.h
108159 do
108160 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
108161 if eval "test \"\${$as_ac_Header+set}\" = set"; then
108162 echo "$as_me:$LINENO: checking for $ac_header" >&5
108163 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
108164 if eval "test \"\${$as_ac_Header+set}\" = set"; then
108165 echo $ECHO_N "(cached) $ECHO_C" >&6
108166 fi
108167 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
108168 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
108169 else
108170 # Is the header compilable?
108171 echo "$as_me:$LINENO: checking $ac_header usability" >&5
108172 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
108173 cat >conftest.$ac_ext <<_ACEOF
108174 /* confdefs.h. */
108175 _ACEOF
108176 cat confdefs.h >>conftest.$ac_ext
108177 cat >>conftest.$ac_ext <<_ACEOF
108178 /* end confdefs.h. */
108179 $ac_includes_default
108180 #include <$ac_header>
108181 _ACEOF
108182 rm -f conftest.$ac_objext
108183 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
108184 (eval $ac_compile) 2>conftest.er1
108185 ac_status=$?
108186 grep -v '^ *+' conftest.er1 >conftest.err
108187 rm -f conftest.er1
108188 cat conftest.err >&5
108189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108190 (exit $ac_status); } &&
108191 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
108192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108193 (eval $ac_try) 2>&5
108194 ac_status=$?
108195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108196 (exit $ac_status); }; } &&
108197 { ac_try='test -s conftest.$ac_objext'
108198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108199 (eval $ac_try) 2>&5
108200 ac_status=$?
108201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108202 (exit $ac_status); }; }; then
108203 ac_header_compiler=yes
108204 else
108205 echo "$as_me: failed program was:" >&5
108206 sed 's/^/| /' conftest.$ac_ext >&5
108207
108208 ac_header_compiler=no
108209 fi
108210 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
108211 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
108212 echo "${ECHO_T}$ac_header_compiler" >&6
108213
108214 # Is the header present?
108215 echo "$as_me:$LINENO: checking $ac_header presence" >&5
108216 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
108217 cat >conftest.$ac_ext <<_ACEOF
108218 /* confdefs.h. */
108219 _ACEOF
108220 cat confdefs.h >>conftest.$ac_ext
108221 cat >>conftest.$ac_ext <<_ACEOF
108222 /* end confdefs.h. */
108223 #include <$ac_header>
108224 _ACEOF
108225 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
108226 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
108227 ac_status=$?
108228 grep -v '^ *+' conftest.er1 >conftest.err
108229 rm -f conftest.er1
108230 cat conftest.err >&5
108231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108232 (exit $ac_status); } >/dev/null; then
108233 if test -s conftest.err; then
108234 ac_cpp_err=$ac_c_preproc_warn_flag
108235 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
108236 else
108237 ac_cpp_err=
108238 fi
108239 else
108240 ac_cpp_err=yes
108241 fi
108242 if test -z "$ac_cpp_err"; then
108243 ac_header_preproc=yes
108244 else
108245 echo "$as_me: failed program was:" >&5
108246 sed 's/^/| /' conftest.$ac_ext >&5
108247
108248 ac_header_preproc=no
108249 fi
108250 rm -f conftest.err conftest.$ac_ext
108251 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
108252 echo "${ECHO_T}$ac_header_preproc" >&6
108253
108254 # So? What about this header?
108255 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
108256 yes:no: )
108257 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
108258 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
108259 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
108260 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
108261 ac_header_preproc=yes
108262 ;;
108263 no:yes:* )
108264 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
108265 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
108266 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
108267 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
108268 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
108269 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
108270 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
108271 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
108272 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
108273 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
108274 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
108275 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
108276 (
108277 cat <<\_ASBOX
108278 ## ----------------------------------------- ##
108279 ## Report this to the package-unused lists. ##
108280 ## ----------------------------------------- ##
108281 _ASBOX
108282 ) |
108283 sed "s/^/$as_me: WARNING: /" >&2
108284 ;;
108285 esac
108286 echo "$as_me:$LINENO: checking for $ac_header" >&5
108287 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
108288 if eval "test \"\${$as_ac_Header+set}\" = set"; then
108289 echo $ECHO_N "(cached) $ECHO_C" >&6
108290 else
108291 eval "$as_ac_Header=\$ac_header_preproc"
108292 fi
108293 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
108294 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
108295
108296 fi
108297 if test `eval echo '${'$as_ac_Header'}'` = yes; then
108298 cat >>confdefs.h <<_ACEOF
108299 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
108300 _ACEOF
108301
108302 else
108303 setrlimit_have_headers=no
108304 fi
108305
108306 done
108307
108308 # If don't have the headers, then we can't run the tests now, and we
108309 # won't be seeing any of these during testsuite compilation.
108310 if test $setrlimit_have_headers = yes; then
108311 # Can't do these in a loop, else the resulting syntax is wrong.
108312
108313 echo "$as_me:$LINENO: checking for RLIMIT_DATA" >&5
108314 echo $ECHO_N "checking for RLIMIT_DATA... $ECHO_C" >&6
108315 cat >conftest.$ac_ext <<_ACEOF
108316 /* confdefs.h. */
108317 _ACEOF
108318 cat confdefs.h >>conftest.$ac_ext
108319 cat >>conftest.$ac_ext <<_ACEOF
108320 /* end confdefs.h. */
108321 #include <unistd.h>
108322 #include <sys/time.h>
108323 #include <sys/resource.h>
108324
108325 int
108326 main ()
108327 {
108328 int f = RLIMIT_DATA ;
108329 ;
108330 return 0;
108331 }
108332 _ACEOF
108333 rm -f conftest.$ac_objext
108334 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
108335 (eval $ac_compile) 2>conftest.er1
108336 ac_status=$?
108337 grep -v '^ *+' conftest.er1 >conftest.err
108338 rm -f conftest.er1
108339 cat conftest.err >&5
108340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108341 (exit $ac_status); } &&
108342 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
108343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108344 (eval $ac_try) 2>&5
108345 ac_status=$?
108346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108347 (exit $ac_status); }; } &&
108348 { ac_try='test -s conftest.$ac_objext'
108349 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108350 (eval $ac_try) 2>&5
108351 ac_status=$?
108352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108353 (exit $ac_status); }; }; then
108354 glibcxx_mresult=1
108355 else
108356 echo "$as_me: failed program was:" >&5
108357 sed 's/^/| /' conftest.$ac_ext >&5
108358
108359 glibcxx_mresult=0
108360 fi
108361 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
108362
108363 cat >>confdefs.h <<_ACEOF
108364 #define HAVE_LIMIT_DATA $glibcxx_mresult
108365 _ACEOF
108366
108367 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
108368 echo "$as_me:$LINENO: result: $res" >&5
108369 echo "${ECHO_T}$res" >&6
108370
108371
108372 echo "$as_me:$LINENO: checking for RLIMIT_RSS" >&5
108373 echo $ECHO_N "checking for RLIMIT_RSS... $ECHO_C" >&6
108374 cat >conftest.$ac_ext <<_ACEOF
108375 /* confdefs.h. */
108376 _ACEOF
108377 cat confdefs.h >>conftest.$ac_ext
108378 cat >>conftest.$ac_ext <<_ACEOF
108379 /* end confdefs.h. */
108380 #include <unistd.h>
108381 #include <sys/time.h>
108382 #include <sys/resource.h>
108383
108384 int
108385 main ()
108386 {
108387 int f = RLIMIT_RSS ;
108388 ;
108389 return 0;
108390 }
108391 _ACEOF
108392 rm -f conftest.$ac_objext
108393 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
108394 (eval $ac_compile) 2>conftest.er1
108395 ac_status=$?
108396 grep -v '^ *+' conftest.er1 >conftest.err
108397 rm -f conftest.er1
108398 cat conftest.err >&5
108399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108400 (exit $ac_status); } &&
108401 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
108402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108403 (eval $ac_try) 2>&5
108404 ac_status=$?
108405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108406 (exit $ac_status); }; } &&
108407 { ac_try='test -s conftest.$ac_objext'
108408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108409 (eval $ac_try) 2>&5
108410 ac_status=$?
108411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108412 (exit $ac_status); }; }; then
108413 glibcxx_mresult=1
108414 else
108415 echo "$as_me: failed program was:" >&5
108416 sed 's/^/| /' conftest.$ac_ext >&5
108417
108418 glibcxx_mresult=0
108419 fi
108420 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
108421
108422 cat >>confdefs.h <<_ACEOF
108423 #define HAVE_LIMIT_RSS $glibcxx_mresult
108424 _ACEOF
108425
108426 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
108427 echo "$as_me:$LINENO: result: $res" >&5
108428 echo "${ECHO_T}$res" >&6
108429
108430
108431 echo "$as_me:$LINENO: checking for RLIMIT_VMEM" >&5
108432 echo $ECHO_N "checking for RLIMIT_VMEM... $ECHO_C" >&6
108433 cat >conftest.$ac_ext <<_ACEOF
108434 /* confdefs.h. */
108435 _ACEOF
108436 cat confdefs.h >>conftest.$ac_ext
108437 cat >>conftest.$ac_ext <<_ACEOF
108438 /* end confdefs.h. */
108439 #include <unistd.h>
108440 #include <sys/time.h>
108441 #include <sys/resource.h>
108442
108443 int
108444 main ()
108445 {
108446 int f = RLIMIT_VMEM ;
108447 ;
108448 return 0;
108449 }
108450 _ACEOF
108451 rm -f conftest.$ac_objext
108452 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
108453 (eval $ac_compile) 2>conftest.er1
108454 ac_status=$?
108455 grep -v '^ *+' conftest.er1 >conftest.err
108456 rm -f conftest.er1
108457 cat conftest.err >&5
108458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108459 (exit $ac_status); } &&
108460 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
108461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108462 (eval $ac_try) 2>&5
108463 ac_status=$?
108464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108465 (exit $ac_status); }; } &&
108466 { ac_try='test -s conftest.$ac_objext'
108467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108468 (eval $ac_try) 2>&5
108469 ac_status=$?
108470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108471 (exit $ac_status); }; }; then
108472 glibcxx_mresult=1
108473 else
108474 echo "$as_me: failed program was:" >&5
108475 sed 's/^/| /' conftest.$ac_ext >&5
108476
108477 glibcxx_mresult=0
108478 fi
108479 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
108480
108481 cat >>confdefs.h <<_ACEOF
108482 #define HAVE_LIMIT_VMEM $glibcxx_mresult
108483 _ACEOF
108484
108485 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
108486 echo "$as_me:$LINENO: result: $res" >&5
108487 echo "${ECHO_T}$res" >&6
108488
108489
108490 echo "$as_me:$LINENO: checking for RLIMIT_AS" >&5
108491 echo $ECHO_N "checking for RLIMIT_AS... $ECHO_C" >&6
108492 cat >conftest.$ac_ext <<_ACEOF
108493 /* confdefs.h. */
108494 _ACEOF
108495 cat confdefs.h >>conftest.$ac_ext
108496 cat >>conftest.$ac_ext <<_ACEOF
108497 /* end confdefs.h. */
108498 #include <unistd.h>
108499 #include <sys/time.h>
108500 #include <sys/resource.h>
108501
108502 int
108503 main ()
108504 {
108505 int f = RLIMIT_AS ;
108506 ;
108507 return 0;
108508 }
108509 _ACEOF
108510 rm -f conftest.$ac_objext
108511 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
108512 (eval $ac_compile) 2>conftest.er1
108513 ac_status=$?
108514 grep -v '^ *+' conftest.er1 >conftest.err
108515 rm -f conftest.er1
108516 cat conftest.err >&5
108517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108518 (exit $ac_status); } &&
108519 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
108520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108521 (eval $ac_try) 2>&5
108522 ac_status=$?
108523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108524 (exit $ac_status); }; } &&
108525 { ac_try='test -s conftest.$ac_objext'
108526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108527 (eval $ac_try) 2>&5
108528 ac_status=$?
108529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108530 (exit $ac_status); }; }; then
108531 glibcxx_mresult=1
108532 else
108533 echo "$as_me: failed program was:" >&5
108534 sed 's/^/| /' conftest.$ac_ext >&5
108535
108536 glibcxx_mresult=0
108537 fi
108538 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
108539
108540 cat >>confdefs.h <<_ACEOF
108541 #define HAVE_LIMIT_AS $glibcxx_mresult
108542 _ACEOF
108543
108544 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
108545 echo "$as_me:$LINENO: result: $res" >&5
108546 echo "${ECHO_T}$res" >&6
108547
108548
108549 echo "$as_me:$LINENO: checking for RLIMIT_FSIZE" >&5
108550 echo $ECHO_N "checking for RLIMIT_FSIZE... $ECHO_C" >&6
108551 cat >conftest.$ac_ext <<_ACEOF
108552 /* confdefs.h. */
108553 _ACEOF
108554 cat confdefs.h >>conftest.$ac_ext
108555 cat >>conftest.$ac_ext <<_ACEOF
108556 /* end confdefs.h. */
108557 #include <unistd.h>
108558 #include <sys/time.h>
108559 #include <sys/resource.h>
108560
108561 int
108562 main ()
108563 {
108564 int f = RLIMIT_FSIZE ;
108565 ;
108566 return 0;
108567 }
108568 _ACEOF
108569 rm -f conftest.$ac_objext
108570 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
108571 (eval $ac_compile) 2>conftest.er1
108572 ac_status=$?
108573 grep -v '^ *+' conftest.er1 >conftest.err
108574 rm -f conftest.er1
108575 cat conftest.err >&5
108576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108577 (exit $ac_status); } &&
108578 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
108579 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108580 (eval $ac_try) 2>&5
108581 ac_status=$?
108582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108583 (exit $ac_status); }; } &&
108584 { ac_try='test -s conftest.$ac_objext'
108585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108586 (eval $ac_try) 2>&5
108587 ac_status=$?
108588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108589 (exit $ac_status); }; }; then
108590 glibcxx_mresult=1
108591 else
108592 echo "$as_me: failed program was:" >&5
108593 sed 's/^/| /' conftest.$ac_ext >&5
108594
108595 glibcxx_mresult=0
108596 fi
108597 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
108598
108599 cat >>confdefs.h <<_ACEOF
108600 #define HAVE_LIMIT_FSIZE $glibcxx_mresult
108601 _ACEOF
108602
108603 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
108604 echo "$as_me:$LINENO: result: $res" >&5
108605 echo "${ECHO_T}$res" >&6
108606
108607
108608 # Check for rlimit, setrlimit.
108609 if test "${ac_setrlimit+set}" = set; then
108610 echo $ECHO_N "(cached) $ECHO_C" >&6
108611 else
108612
108613 cat >conftest.$ac_ext <<_ACEOF
108614 /* confdefs.h. */
108615 _ACEOF
108616 cat confdefs.h >>conftest.$ac_ext
108617 cat >>conftest.$ac_ext <<_ACEOF
108618 /* end confdefs.h. */
108619 #include <unistd.h>
108620 #include <sys/time.h>
108621 #include <sys/resource.h>
108622
108623 int
108624 main ()
108625 {
108626 struct rlimit r;
108627 setrlimit(0, &r);
108628 ;
108629 return 0;
108630 }
108631 _ACEOF
108632 rm -f conftest.$ac_objext
108633 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
108634 (eval $ac_compile) 2>conftest.er1
108635 ac_status=$?
108636 grep -v '^ *+' conftest.er1 >conftest.err
108637 rm -f conftest.er1
108638 cat conftest.err >&5
108639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108640 (exit $ac_status); } &&
108641 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
108642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108643 (eval $ac_try) 2>&5
108644 ac_status=$?
108645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108646 (exit $ac_status); }; } &&
108647 { ac_try='test -s conftest.$ac_objext'
108648 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108649 (eval $ac_try) 2>&5
108650 ac_status=$?
108651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108652 (exit $ac_status); }; }; then
108653 ac_setrlimit=yes
108654 else
108655 echo "$as_me: failed program was:" >&5
108656 sed 's/^/| /' conftest.$ac_ext >&5
108657
108658 ac_setrlimit=no
108659 fi
108660 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
108661
108662 fi
108663
108664 fi
108665
108666 echo "$as_me:$LINENO: checking for testsuite resource limits support" >&5
108667 echo $ECHO_N "checking for testsuite resource limits support... $ECHO_C" >&6
108668 if test $setrlimit_have_headers = yes && test $ac_setrlimit = yes; then
108669 ac_res_limits=yes
108670
108671 cat >>confdefs.h <<\_ACEOF
108672 #define _GLIBCXX_RES_LIMITS 1
108673 _ACEOF
108674
108675 else
108676 ac_res_limits=no
108677 fi
108678 echo "$as_me:$LINENO: result: $ac_res_limits" >&5
108679 echo "${ECHO_T}$ac_res_limits" >&6
108680
108681
108682 # Look for setenv, so that extended locale tests can be performed.
108683
108684 echo "$as_me:$LINENO: checking for setenv declaration" >&5
108685 echo $ECHO_N "checking for setenv declaration... $ECHO_C" >&6
108686 if test x${glibcxx_cv_func_setenv_use+set} != xset; then
108687 if test "${glibcxx_cv_func_setenv_use+set}" = set; then
108688 echo $ECHO_N "(cached) $ECHO_C" >&6
108689 else
108690
108691
108692
108693 ac_ext=cc
108694 ac_cpp='$CXXCPP $CPPFLAGS'
108695 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
108696 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
108697 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
108698
108699 cat >conftest.$ac_ext <<_ACEOF
108700 /* confdefs.h. */
108701 _ACEOF
108702 cat confdefs.h >>conftest.$ac_ext
108703 cat >>conftest.$ac_ext <<_ACEOF
108704 /* end confdefs.h. */
108705 #include <stdlib.h>
108706 int
108707 main ()
108708 {
108709 setenv(0, 0, 0);
108710 ;
108711 return 0;
108712 }
108713 _ACEOF
108714 rm -f conftest.$ac_objext
108715 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
108716 (eval $ac_compile) 2>conftest.er1
108717 ac_status=$?
108718 grep -v '^ *+' conftest.er1 >conftest.err
108719 rm -f conftest.er1
108720 cat conftest.err >&5
108721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108722 (exit $ac_status); } &&
108723 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
108724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108725 (eval $ac_try) 2>&5
108726 ac_status=$?
108727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108728 (exit $ac_status); }; } &&
108729 { ac_try='test -s conftest.$ac_objext'
108730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108731 (eval $ac_try) 2>&5
108732 ac_status=$?
108733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108734 (exit $ac_status); }; }; then
108735 glibcxx_cv_func_setenv_use=yes
108736 else
108737 echo "$as_me: failed program was:" >&5
108738 sed 's/^/| /' conftest.$ac_ext >&5
108739
108740 glibcxx_cv_func_setenv_use=no
108741 fi
108742 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
108743 ac_ext=c
108744 ac_cpp='$CPP $CPPFLAGS'
108745 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
108746 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
108747 ac_compiler_gnu=$ac_cv_c_compiler_gnu
108748
108749
108750 fi
108751
108752 fi
108753 echo "$as_me:$LINENO: result: $glibcxx_cv_func_setenv_use" >&5
108754 echo "${ECHO_T}$glibcxx_cv_func_setenv_use" >&6
108755 if test x$glibcxx_cv_func_setenv_use = x"yes"; then
108756
108757 for ac_func in setenv
108758 do
108759 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
108760 echo "$as_me:$LINENO: checking for $ac_func" >&5
108761 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
108762 if eval "test \"\${$as_ac_var+set}\" = set"; then
108763 echo $ECHO_N "(cached) $ECHO_C" >&6
108764 else
108765 if test x$gcc_no_link = xyes; then
108766 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
108767 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
108768 { (exit 1); exit 1; }; }
108769 fi
108770 cat >conftest.$ac_ext <<_ACEOF
108771 /* confdefs.h. */
108772 _ACEOF
108773 cat confdefs.h >>conftest.$ac_ext
108774 cat >>conftest.$ac_ext <<_ACEOF
108775 /* end confdefs.h. */
108776 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
108777 For example, HP-UX 11i <limits.h> declares gettimeofday. */
108778 #define $ac_func innocuous_$ac_func
108779
108780 /* System header to define __stub macros and hopefully few prototypes,
108781 which can conflict with char $ac_func (); below.
108782 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
108783 <limits.h> exists even on freestanding compilers. */
108784
108785 #ifdef __STDC__
108786 # include <limits.h>
108787 #else
108788 # include <assert.h>
108789 #endif
108790
108791 #undef $ac_func
108792
108793 /* Override any gcc2 internal prototype to avoid an error. */
108794 #ifdef __cplusplus
108795 extern "C"
108796 {
108797 #endif
108798 /* We use char because int might match the return type of a gcc2
108799 builtin and then its argument prototype would still apply. */
108800 char $ac_func ();
108801 /* The GNU C library defines this for functions which it implements
108802 to always fail with ENOSYS. Some functions are actually named
108803 something starting with __ and the normal name is an alias. */
108804 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
108805 choke me
108806 #else
108807 char (*f) () = $ac_func;
108808 #endif
108809 #ifdef __cplusplus
108810 }
108811 #endif
108812
108813 int
108814 main ()
108815 {
108816 return f != $ac_func;
108817 ;
108818 return 0;
108819 }
108820 _ACEOF
108821 rm -f conftest.$ac_objext conftest$ac_exeext
108822 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
108823 (eval $ac_link) 2>conftest.er1
108824 ac_status=$?
108825 grep -v '^ *+' conftest.er1 >conftest.err
108826 rm -f conftest.er1
108827 cat conftest.err >&5
108828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108829 (exit $ac_status); } &&
108830 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
108831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108832 (eval $ac_try) 2>&5
108833 ac_status=$?
108834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108835 (exit $ac_status); }; } &&
108836 { ac_try='test -s conftest$ac_exeext'
108837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108838 (eval $ac_try) 2>&5
108839 ac_status=$?
108840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108841 (exit $ac_status); }; }; then
108842 eval "$as_ac_var=yes"
108843 else
108844 echo "$as_me: failed program was:" >&5
108845 sed 's/^/| /' conftest.$ac_ext >&5
108846
108847 eval "$as_ac_var=no"
108848 fi
108849 rm -f conftest.err conftest.$ac_objext \
108850 conftest$ac_exeext conftest.$ac_ext
108851 fi
108852 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
108853 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
108854 if test `eval echo '${'$as_ac_var'}'` = yes; then
108855 cat >>confdefs.h <<_ACEOF
108856 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
108857 _ACEOF
108858
108859 fi
108860 done
108861
108862 fi
108863
108864 fi
108865
108866 if $GLIBCXX_IS_NATIVE && test $is_hosted = yes &&
108867 test $enable_symvers != no; then
108868 case "$host" in
108869 *-*-cygwin*)
108870 enable_abi_check=no ;;
108871 *)
108872 enable_abi_check=yes ;;
108873 esac
108874 else
108875 # Only build this as native, since automake does not understand
108876 # CXX_FOR_BUILD.
108877 enable_abi_check=no
108878 fi
108879
108880 # Export file names for ABI checking.
108881 baseline_dir="$glibcxx_srcdir/config/abi/post/${abi_baseline_pair}\$(MULTISUBDIR)"
108882
108883
108884
108885 # Propagate the target-specific source directories through the build chain.
108886 ATOMICITY_SRCDIR=config/${atomicity_dir}
108887 ATOMIC_WORD_SRCDIR=config/${atomic_word_dir}
108888 CPU_DEFINES_SRCDIR=config/${cpu_defines_dir}
108889 OS_INC_SRCDIR=config/${os_include_dir}
108890 ABI_TWEAKS_SRCDIR=config/${abi_tweaks_dir}
108891
108892
108893
108894
108895
108896
108897
108898 # Determine cross-compile flags and AM_CONDITIONALs.
108899 #AC_SUBST(GLIBCXX_IS_NATIVE)
108900 #AM_CONDITIONAL(CANADIAN, test $CANADIAN = yes)
108901 # from GLIBCXX_CHECK_COMPLEX_MATH_SUPPORT:
108902 #AM_CONDITIONAL(GLIBCXX_BUILD_LIBMATH, test $need_libmath = yes)
108903
108904
108905 if test $is_hosted = yes; then
108906 GLIBCXX_HOSTED_TRUE=
108907 GLIBCXX_HOSTED_FALSE='#'
108908 else
108909 GLIBCXX_HOSTED_TRUE='#'
108910 GLIBCXX_HOSTED_FALSE=
108911 fi
108912
108913
108914
108915
108916 if test $enable_libstdcxx_pch = yes; then
108917 GLIBCXX_BUILD_PCH_TRUE=
108918 GLIBCXX_BUILD_PCH_FALSE='#'
108919 else
108920 GLIBCXX_BUILD_PCH_TRUE='#'
108921 GLIBCXX_BUILD_PCH_FALSE=
108922 fi
108923
108924
108925
108926
108927 if test $enable_cheaders = c; then
108928 GLIBCXX_C_HEADERS_C_TRUE=
108929 GLIBCXX_C_HEADERS_C_FALSE='#'
108930 else
108931 GLIBCXX_C_HEADERS_C_TRUE='#'
108932 GLIBCXX_C_HEADERS_C_FALSE=
108933 fi
108934
108935
108936
108937
108938 if test $enable_cheaders = c_std; then
108939 GLIBCXX_C_HEADERS_C_STD_TRUE=
108940 GLIBCXX_C_HEADERS_C_STD_FALSE='#'
108941 else
108942 GLIBCXX_C_HEADERS_C_STD_TRUE='#'
108943 GLIBCXX_C_HEADERS_C_STD_FALSE=
108944 fi
108945
108946
108947
108948
108949 if test $c_compatibility = yes; then
108950 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE=
108951 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE='#'
108952 else
108953 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE='#'
108954 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE=
108955 fi
108956
108957
108958
108959
108960 if test $enable_libstdcxx_debug = yes; then
108961 GLIBCXX_BUILD_DEBUG_TRUE=
108962 GLIBCXX_BUILD_DEBUG_FALSE='#'
108963 else
108964 GLIBCXX_BUILD_DEBUG_TRUE='#'
108965 GLIBCXX_BUILD_DEBUG_FALSE=
108966 fi
108967
108968
108969
108970
108971 if test $enable_symvers != no; then
108972 ENABLE_SYMVERS_TRUE=
108973 ENABLE_SYMVERS_FALSE='#'
108974 else
108975 ENABLE_SYMVERS_TRUE='#'
108976 ENABLE_SYMVERS_FALSE=
108977 fi
108978
108979
108980
108981
108982 if test $enable_symvers = gnu; then
108983 ENABLE_SYMVERS_GNU_TRUE=
108984 ENABLE_SYMVERS_GNU_FALSE='#'
108985 else
108986 ENABLE_SYMVERS_GNU_TRUE='#'
108987 ENABLE_SYMVERS_GNU_FALSE=
108988 fi
108989
108990
108991
108992
108993 if test $enable_symvers = gnu-versioned-namespace; then
108994 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE=
108995 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE='#'
108996 else
108997 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE='#'
108998 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE=
108999 fi
109000
109001
109002
109003
109004 if test $enable_symvers = darwin; then
109005 ENABLE_SYMVERS_DARWIN_TRUE=
109006 ENABLE_SYMVERS_DARWIN_FALSE='#'
109007 else
109008 ENABLE_SYMVERS_DARWIN_TRUE='#'
109009 ENABLE_SYMVERS_DARWIN_FALSE=
109010 fi
109011
109012
109013
109014
109015 if test $enable_visibility = yes; then
109016 ENABLE_VISIBILITY_TRUE=
109017 ENABLE_VISIBILITY_FALSE='#'
109018 else
109019 ENABLE_VISIBILITY_TRUE='#'
109020 ENABLE_VISIBILITY_FALSE=
109021 fi
109022
109023
109024
109025
109026 if test $ac_ldbl_compat = yes; then
109027 GLIBCXX_LDBL_COMPAT_TRUE=
109028 GLIBCXX_LDBL_COMPAT_FALSE='#'
109029 else
109030 GLIBCXX_LDBL_COMPAT_TRUE='#'
109031 GLIBCXX_LDBL_COMPAT_FALSE=
109032 fi
109033
109034
109035
109036
109037 cat >confcache <<\_ACEOF
109038 # This file is a shell script that caches the results of configure
109039 # tests run on this system so they can be shared between configure
109040 # scripts and configure runs, see configure's option --config-cache.
109041 # It is not useful on other systems. If it contains results you don't
109042 # want to keep, you may remove or edit it.
109043 #
109044 # config.status only pays attention to the cache file if you give it
109045 # the --recheck option to rerun configure.
109046 #
109047 # `ac_cv_env_foo' variables (set or unset) will be overridden when
109048 # loading this file, other *unset* `ac_cv_foo' will be assigned the
109049 # following values.
109050
109051 _ACEOF
109052
109053 # The following way of writing the cache mishandles newlines in values,
109054 # but we know of no workaround that is simple, portable, and efficient.
109055 # So, don't put newlines in cache variables' values.
109056 # Ultrix sh set writes to stderr and can't be redirected directly,
109057 # and sets the high bit in the cache file unless we assign to the vars.
109058 {
109059 (set) 2>&1 |
109060 case `(ac_space=' '; set | grep ac_space) 2>&1` in
109061 *ac_space=\ *)
109062 # `set' does not quote correctly, so add quotes (double-quote
109063 # substitution turns \\\\ into \\, and sed turns \\ into \).
109064 sed -n \
109065 "s/'/'\\\\''/g;
109066 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
109067 ;;
109068 *)
109069 # `set' quotes correctly as required by POSIX, so do not add quotes.
109070 sed -n \
109071 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
109072 ;;
109073 esac;
109074 } |
109075 sed '
109076 t clear
109077 : clear
109078 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
109079 t end
109080 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
109081 : end' >>confcache
109082 if diff $cache_file confcache >/dev/null 2>&1; then :; else
109083 if test -w $cache_file; then
109084 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
109085 cat confcache >$cache_file
109086 else
109087 echo "not updating unwritable cache $cache_file"
109088 fi
109089 fi
109090 rm -f confcache
109091
109092 if test ${multilib} = yes; then
109093 multilib_arg="--enable-multilib"
109094 else
109095 multilib_arg=
109096 fi
109097
109098 # Export all the install information.
109099
109100 glibcxx_toolexecdir=no
109101 glibcxx_toolexeclibdir=no
109102 glibcxx_prefixdir=$prefix
109103
109104 echo "$as_me:$LINENO: checking for gxx-include-dir" >&5
109105 echo $ECHO_N "checking for gxx-include-dir... $ECHO_C" >&6
109106
109107 # Check whether --with-gxx-include-dir or --without-gxx-include-dir was given.
109108 if test "${with_gxx_include_dir+set}" = set; then
109109 withval="$with_gxx_include_dir"
109110 case "$withval" in
109111 yes) { { echo "$as_me:$LINENO: error: Missing directory for --with-gxx-include-dir" >&5
109112 echo "$as_me: error: Missing directory for --with-gxx-include-dir" >&2;}
109113 { (exit 1); exit 1; }; } ;;
109114 no) gxx_include_dir=no ;;
109115 *) gxx_include_dir=$withval ;;
109116 esac
109117 else
109118 gxx_include_dir=no
109119 fi;
109120 echo "$as_me:$LINENO: result: $gxx_include_dir" >&5
109121 echo "${ECHO_T}$gxx_include_dir" >&6
109122
109123 echo "$as_me:$LINENO: checking for --enable-version-specific-runtime-libs" >&5
109124 echo $ECHO_N "checking for --enable-version-specific-runtime-libs... $ECHO_C" >&6
109125 # Check whether --enable-version-specific-runtime-libs or --disable-version-specific-runtime-libs was given.
109126 if test "${enable_version_specific_runtime_libs+set}" = set; then
109127 enableval="$enable_version_specific_runtime_libs"
109128 case "$enableval" in
109129 yes) version_specific_libs=yes ;;
109130 no) version_specific_libs=no ;;
109131 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable version-specific libs" >&5
109132 echo "$as_me: error: Unknown argument to enable/disable version-specific libs" >&2;}
109133 { (exit 1); exit 1; }; };;
109134 esac
109135 else
109136 version_specific_libs=no
109137 fi;
109138 echo "$as_me:$LINENO: result: $version_specific_libs" >&5
109139 echo "${ECHO_T}$version_specific_libs" >&6
109140
109141 # Default case for install directory for include files.
109142 if test $version_specific_libs = no && test $gxx_include_dir = no; then
109143 gxx_include_dir='include/c++/${gcc_version}'
109144 if test -n "$with_cross_host" &&
109145 test x"$with_cross_host" != x"no"; then
109146 gxx_include_dir='${prefix}/${target_alias}/'"$gxx_include_dir"
109147 else
109148 gxx_include_dir='${prefix}/'"$gxx_include_dir"
109149 fi
109150 fi
109151
109152 # Version-specific runtime libs processing.
109153 if test $version_specific_libs = yes; then
109154 # Need the gcc compiler version to know where to install libraries
109155 # and header files if --enable-version-specific-runtime-libs option
109156 # is selected. FIXME: these variables are misnamed, there are
109157 # no executables installed in _toolexecdir or _toolexeclibdir.
109158 if test x"$gxx_include_dir" = x"no"; then
109159 gxx_include_dir='${libdir}/gcc/${host_alias}/${gcc_version}/include/c++'
109160 fi
109161 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
109162 glibcxx_toolexeclibdir='${toolexecdir}/${gcc_version}$(MULTISUBDIR)'
109163 fi
109164
109165 # Calculate glibcxx_toolexecdir, glibcxx_toolexeclibdir
109166 # Install a library built with a cross compiler in tooldir, not libdir.
109167 if test x"$glibcxx_toolexecdir" = x"no"; then
109168 if test -n "$with_cross_host" &&
109169 test x"$with_cross_host" != x"no"; then
109170 glibcxx_toolexecdir='${exec_prefix}/${host_alias}'
109171 glibcxx_toolexeclibdir='${toolexecdir}/lib'
109172 else
109173 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
109174 glibcxx_toolexeclibdir='${libdir}'
109175 fi
109176 multi_os_directory=`$CXX -print-multi-os-directory`
109177 case $multi_os_directory in
109178 .) ;; # Avoid trailing /.
109179 *) glibcxx_toolexeclibdir=$glibcxx_toolexeclibdir/$multi_os_directory ;;
109180 esac
109181 fi
109182
109183 echo "$as_me:$LINENO: checking for install location" >&5
109184 echo $ECHO_N "checking for install location... $ECHO_C" >&6
109185 echo "$as_me:$LINENO: result: $gxx_include_dir" >&5
109186 echo "${ECHO_T}$gxx_include_dir" >&6
109187
109188
109189
109190
109191
109192
109193
109194 # Export all the include and flag information to Makefiles.
109195
109196 # Used for every C++ compile we perform.
109197 GLIBCXX_INCLUDES="\
109198 -I$glibcxx_builddir/include/$host_alias \
109199 -I$glibcxx_builddir/include \
109200 -I$glibcxx_srcdir/libsupc++"
109201
109202 # For Canadian crosses, pick this up too.
109203 if test $CANADIAN = yes; then
109204 GLIBCXX_INCLUDES="$GLIBCXX_INCLUDES -I\${includedir}"
109205 fi
109206
109207 # Stuff in the actual top level. Currently only used by libsupc++ to
109208 # get unwind* headers from the gcc dir.
109209 #TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/gcc -I$(toplevel_srcdir)/include'
109210 TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/gcc'
109211
109212 # Now, export this to all the little Makefiles....
109213
109214
109215
109216
109217 # Optimization flags that are probably a good idea for thrill-seekers. Just
109218 # uncomment the lines below and make, everything else is ready to go...
109219 # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc
109220 OPTIMIZE_CXXFLAGS=
109221
109222
109223 WARN_FLAGS='-Wall -Wextra -Wwrite-strings -Wcast-qual'
109224
109225
109226
109227 if ${CONFIG_SHELL-/bin/sh} ./libtool --tag CXX --features |
109228 grep "enable shared" > /dev/null;
109229 then
109230 LIBSUPCXX_PICFLAGS=-prefer-pic
109231 else
109232 LIBSUPCXX_PICFLAGS=
109233 fi
109234
109235
109236 ac_config_files="$ac_config_files Makefile include/Makefile libmath/Makefile libsupc++/Makefile src/Makefile po/Makefile testsuite/Makefile"
109237
109238 ac_config_files="$ac_config_files scripts/testsuite_flags"
109239
109240
109241 ac_config_commands="$ac_config_commands default"
109242
109243
109244 cat >confcache <<\_ACEOF
109245 # This file is a shell script that caches the results of configure
109246 # tests run on this system so they can be shared between configure
109247 # scripts and configure runs, see configure's option --config-cache.
109248 # It is not useful on other systems. If it contains results you don't
109249 # want to keep, you may remove or edit it.
109250 #
109251 # config.status only pays attention to the cache file if you give it
109252 # the --recheck option to rerun configure.
109253 #
109254 # `ac_cv_env_foo' variables (set or unset) will be overridden when
109255 # loading this file, other *unset* `ac_cv_foo' will be assigned the
109256 # following values.
109257
109258 _ACEOF
109259
109260 # The following way of writing the cache mishandles newlines in values,
109261 # but we know of no workaround that is simple, portable, and efficient.
109262 # So, don't put newlines in cache variables' values.
109263 # Ultrix sh set writes to stderr and can't be redirected directly,
109264 # and sets the high bit in the cache file unless we assign to the vars.
109265 {
109266 (set) 2>&1 |
109267 case `(ac_space=' '; set | grep ac_space) 2>&1` in
109268 *ac_space=\ *)
109269 # `set' does not quote correctly, so add quotes (double-quote
109270 # substitution turns \\\\ into \\, and sed turns \\ into \).
109271 sed -n \
109272 "s/'/'\\\\''/g;
109273 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
109274 ;;
109275 *)
109276 # `set' quotes correctly as required by POSIX, so do not add quotes.
109277 sed -n \
109278 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
109279 ;;
109280 esac;
109281 } |
109282 sed '
109283 t clear
109284 : clear
109285 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
109286 t end
109287 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
109288 : end' >>confcache
109289 if diff $cache_file confcache >/dev/null 2>&1; then :; else
109290 if test -w $cache_file; then
109291 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
109292 cat confcache >$cache_file
109293 else
109294 echo "not updating unwritable cache $cache_file"
109295 fi
109296 fi
109297 rm -f confcache
109298
109299 test "x$prefix" = xNONE && prefix=$ac_default_prefix
109300 # Let make expand exec_prefix.
109301 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
109302
109303 # VPATH may cause trouble with some makes, so we remove $(srcdir),
109304 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
109305 # trailing colons and then remove the whole line if VPATH becomes empty
109306 # (actually we leave an empty line to preserve line numbers).
109307 if test "x$srcdir" = x.; then
109308 ac_vpsub='/^[ ]*VPATH[ ]*=/{
109309 s/:*\$(srcdir):*/:/;
109310 s/:*\${srcdir}:*/:/;
109311 s/:*@srcdir@:*/:/;
109312 s/^\([^=]*=[ ]*\):*/\1/;
109313 s/:*$//;
109314 s/^[^=]*=[ ]*$//;
109315 }'
109316 fi
109317
109318 DEFS=-DHAVE_CONFIG_H
109319
109320 ac_libobjs=
109321 ac_ltlibobjs=
109322 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
109323 # 1. Remove the extension, and $U if already installed.
109324 ac_i=`echo "$ac_i" |
109325 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
109326 # 2. Add them.
109327 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
109328 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
109329 done
109330 LIBOBJS=$ac_libobjs
109331
109332 LTLIBOBJS=$ac_ltlibobjs
109333
109334
109335 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
109336 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
109337 Usually this means the macro was only invoked conditionally." >&5
109338 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
109339 Usually this means the macro was only invoked conditionally." >&2;}
109340 { (exit 1); exit 1; }; }
109341 fi
109342 if test -z "${GLIBCXX_HOSTED_TRUE}" && test -z "${GLIBCXX_HOSTED_FALSE}"; then
109343 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_HOSTED\" was never defined.
109344 Usually this means the macro was only invoked conditionally." >&5
109345 echo "$as_me: error: conditional \"GLIBCXX_HOSTED\" was never defined.
109346 Usually this means the macro was only invoked conditionally." >&2;}
109347 { (exit 1); exit 1; }; }
109348 fi
109349 if test -z "${GLIBCXX_BUILD_PCH_TRUE}" && test -z "${GLIBCXX_BUILD_PCH_FALSE}"; then
109350 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_BUILD_PCH\" was never defined.
109351 Usually this means the macro was only invoked conditionally." >&5
109352 echo "$as_me: error: conditional \"GLIBCXX_BUILD_PCH\" was never defined.
109353 Usually this means the macro was only invoked conditionally." >&2;}
109354 { (exit 1); exit 1; }; }
109355 fi
109356 if test -z "${GLIBCXX_C_HEADERS_C_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_FALSE}"; then
109357 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
109358 Usually this means the macro was only invoked conditionally." >&5
109359 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
109360 Usually this means the macro was only invoked conditionally." >&2;}
109361 { (exit 1); exit 1; }; }
109362 fi
109363 if test -z "${GLIBCXX_C_HEADERS_C_STD_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_STD_FALSE}"; then
109364 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
109365 Usually this means the macro was only invoked conditionally." >&5
109366 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
109367 Usually this means the macro was only invoked conditionally." >&2;}
109368 { (exit 1); exit 1; }; }
109369 fi
109370 if test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE}" && test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE}"; then
109371 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
109372 Usually this means the macro was only invoked conditionally." >&5
109373 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
109374 Usually this means the macro was only invoked conditionally." >&2;}
109375 { (exit 1); exit 1; }; }
109376 fi
109377 if test -z "${GLIBCXX_BUILD_DEBUG_TRUE}" && test -z "${GLIBCXX_BUILD_DEBUG_FALSE}"; then
109378 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
109379 Usually this means the macro was only invoked conditionally." >&5
109380 echo "$as_me: error: conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
109381 Usually this means the macro was only invoked conditionally." >&2;}
109382 { (exit 1); exit 1; }; }
109383 fi
109384 if test -z "${ENABLE_SYMVERS_TRUE}" && test -z "${ENABLE_SYMVERS_FALSE}"; then
109385 { { echo "$as_me:$LINENO: error: conditional \"ENABLE_SYMVERS\" was never defined.
109386 Usually this means the macro was only invoked conditionally." >&5
109387 echo "$as_me: error: conditional \"ENABLE_SYMVERS\" was never defined.
109388 Usually this means the macro was only invoked conditionally." >&2;}
109389 { (exit 1); exit 1; }; }
109390 fi
109391 if test -z "${ENABLE_SYMVERS_GNU_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_FALSE}"; then
109392 { { echo "$as_me:$LINENO: error: conditional \"ENABLE_SYMVERS_GNU\" was never defined.
109393 Usually this means the macro was only invoked conditionally." >&5
109394 echo "$as_me: error: conditional \"ENABLE_SYMVERS_GNU\" was never defined.
109395 Usually this means the macro was only invoked conditionally." >&2;}
109396 { (exit 1); exit 1; }; }
109397 fi
109398 if test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_FALSE}"; then
109399 { { echo "$as_me:$LINENO: error: conditional \"ENABLE_SYMVERS_GNU_NAMESPACE\" was never defined.
109400 Usually this means the macro was only invoked conditionally." >&5
109401 echo "$as_me: error: conditional \"ENABLE_SYMVERS_GNU_NAMESPACE\" was never defined.
109402 Usually this means the macro was only invoked conditionally." >&2;}
109403 { (exit 1); exit 1; }; }
109404 fi
109405 if test -z "${ENABLE_SYMVERS_DARWIN_TRUE}" && test -z "${ENABLE_SYMVERS_DARWIN_FALSE}"; then
109406 { { echo "$as_me:$LINENO: error: conditional \"ENABLE_SYMVERS_DARWIN\" was never defined.
109407 Usually this means the macro was only invoked conditionally." >&5
109408 echo "$as_me: error: conditional \"ENABLE_SYMVERS_DARWIN\" was never defined.
109409 Usually this means the macro was only invoked conditionally." >&2;}
109410 { (exit 1); exit 1; }; }
109411 fi
109412 if test -z "${ENABLE_VISIBILITY_TRUE}" && test -z "${ENABLE_VISIBILITY_FALSE}"; then
109413 { { echo "$as_me:$LINENO: error: conditional \"ENABLE_VISIBILITY\" was never defined.
109414 Usually this means the macro was only invoked conditionally." >&5
109415 echo "$as_me: error: conditional \"ENABLE_VISIBILITY\" was never defined.
109416 Usually this means the macro was only invoked conditionally." >&2;}
109417 { (exit 1); exit 1; }; }
109418 fi
109419 if test -z "${GLIBCXX_LDBL_COMPAT_TRUE}" && test -z "${GLIBCXX_LDBL_COMPAT_FALSE}"; then
109420 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_LDBL_COMPAT\" was never defined.
109421 Usually this means the macro was only invoked conditionally." >&5
109422 echo "$as_me: error: conditional \"GLIBCXX_LDBL_COMPAT\" was never defined.
109423 Usually this means the macro was only invoked conditionally." >&2;}
109424 { (exit 1); exit 1; }; }
109425 fi
109426
109427 : ${CONFIG_STATUS=./config.status}
109428 ac_clean_files_save=$ac_clean_files
109429 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
109430 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
109431 echo "$as_me: creating $CONFIG_STATUS" >&6;}
109432 cat >$CONFIG_STATUS <<_ACEOF
109433 #! $SHELL
109434 # Generated by $as_me.
109435 # Run this file to recreate the current configuration.
109436 # Compiler output produced by configure, useful for debugging
109437 # configure, is in config.log if it exists.
109438
109439 debug=false
109440 ac_cs_recheck=false
109441 ac_cs_silent=false
109442 SHELL=\${CONFIG_SHELL-$SHELL}
109443 _ACEOF
109444
109445 cat >>$CONFIG_STATUS <<\_ACEOF
109446 ## --------------------- ##
109447 ## M4sh Initialization. ##
109448 ## --------------------- ##
109449
109450 # Be Bourne compatible
109451 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
109452 emulate sh
109453 NULLCMD=:
109454 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
109455 # is contrary to our usage. Disable this feature.
109456 alias -g '${1+"$@"}'='"$@"'
109457 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
109458 set -o posix
109459 fi
109460 DUALCASE=1; export DUALCASE # for MKS sh
109461
109462 # Support unset when possible.
109463 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
109464 as_unset=unset
109465 else
109466 as_unset=false
109467 fi
109468
109469
109470 # Work around bugs in pre-3.0 UWIN ksh.
109471 $as_unset ENV MAIL MAILPATH
109472 PS1='$ '
109473 PS2='> '
109474 PS4='+ '
109475
109476 # NLS nuisances.
109477 for as_var in \
109478 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
109479 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
109480 LC_TELEPHONE LC_TIME
109481 do
109482 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
109483 eval $as_var=C; export $as_var
109484 else
109485 $as_unset $as_var
109486 fi
109487 done
109488
109489 # Required to use basename.
109490 if expr a : '\(a\)' >/dev/null 2>&1; then
109491 as_expr=expr
109492 else
109493 as_expr=false
109494 fi
109495
109496 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
109497 as_basename=basename
109498 else
109499 as_basename=false
109500 fi
109501
109502
109503 # Name of the executable.
109504 as_me=`$as_basename "$0" ||
109505 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
109506 X"$0" : 'X\(//\)$' \| \
109507 X"$0" : 'X\(/\)$' \| \
109508 . : '\(.\)' 2>/dev/null ||
109509 echo X/"$0" |
109510 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
109511 /^X\/\(\/\/\)$/{ s//\1/; q; }
109512 /^X\/\(\/\).*/{ s//\1/; q; }
109513 s/.*/./; q'`
109514
109515
109516 # PATH needs CR, and LINENO needs CR and PATH.
109517 # Avoid depending upon Character Ranges.
109518 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
109519 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
109520 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
109521 as_cr_digits='0123456789'
109522 as_cr_alnum=$as_cr_Letters$as_cr_digits
109523
109524 # The user is always right.
109525 if test "${PATH_SEPARATOR+set}" != set; then
109526 echo "#! /bin/sh" >conf$$.sh
109527 echo "exit 0" >>conf$$.sh
109528 chmod +x conf$$.sh
109529 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
109530 PATH_SEPARATOR=';'
109531 else
109532 PATH_SEPARATOR=:
109533 fi
109534 rm -f conf$$.sh
109535 fi
109536
109537
109538 as_lineno_1=$LINENO
109539 as_lineno_2=$LINENO
109540 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
109541 test "x$as_lineno_1" != "x$as_lineno_2" &&
109542 test "x$as_lineno_3" = "x$as_lineno_2" || {
109543 # Find who we are. Look in the path if we contain no path at all
109544 # relative or not.
109545 case $0 in
109546 *[\\/]* ) as_myself=$0 ;;
109547 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
109548 for as_dir in $PATH
109549 do
109550 IFS=$as_save_IFS
109551 test -z "$as_dir" && as_dir=.
109552 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
109553 done
109554
109555 ;;
109556 esac
109557 # We did not find ourselves, most probably we were run as `sh COMMAND'
109558 # in which case we are not to be found in the path.
109559 if test "x$as_myself" = x; then
109560 as_myself=$0
109561 fi
109562 if test ! -f "$as_myself"; then
109563 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
109564 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
109565 { (exit 1); exit 1; }; }
109566 fi
109567 case $CONFIG_SHELL in
109568 '')
109569 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
109570 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
109571 do
109572 IFS=$as_save_IFS
109573 test -z "$as_dir" && as_dir=.
109574 for as_base in sh bash ksh sh5; do
109575 case $as_dir in
109576 /*)
109577 if ("$as_dir/$as_base" -c '
109578 as_lineno_1=$LINENO
109579 as_lineno_2=$LINENO
109580 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
109581 test "x$as_lineno_1" != "x$as_lineno_2" &&
109582 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
109583 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
109584 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
109585 CONFIG_SHELL=$as_dir/$as_base
109586 export CONFIG_SHELL
109587 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
109588 fi;;
109589 esac
109590 done
109591 done
109592 ;;
109593 esac
109594
109595 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
109596 # uniformly replaced by the line number. The first 'sed' inserts a
109597 # line-number line before each line; the second 'sed' does the real
109598 # work. The second script uses 'N' to pair each line-number line
109599 # with the numbered line, and appends trailing '-' during
109600 # substitution so that $LINENO is not a special case at line end.
109601 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
109602 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
109603 sed '=' <$as_myself |
109604 sed '
109605 N
109606 s,$,-,
109607 : loop
109608 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
109609 t loop
109610 s,-$,,
109611 s,^['$as_cr_digits']*\n,,
109612 ' >$as_me.lineno &&
109613 chmod +x $as_me.lineno ||
109614 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
109615 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
109616 { (exit 1); exit 1; }; }
109617
109618 # Don't try to exec as it changes $[0], causing all sort of problems
109619 # (the dirname of $[0] is not the place where we might find the
109620 # original and so on. Autoconf is especially sensible to this).
109621 . ./$as_me.lineno
109622 # Exit status is that of the last command.
109623 exit
109624 }
109625
109626
109627 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
109628 *c*,-n*) ECHO_N= ECHO_C='
109629 ' ECHO_T=' ' ;;
109630 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
109631 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
109632 esac
109633
109634 if expr a : '\(a\)' >/dev/null 2>&1; then
109635 as_expr=expr
109636 else
109637 as_expr=false
109638 fi
109639
109640 rm -f conf$$ conf$$.exe conf$$.file
109641 echo >conf$$.file
109642 if ln -s conf$$.file conf$$ 2>/dev/null; then
109643 # We could just check for DJGPP; but this test a) works b) is more generic
109644 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
109645 if test -f conf$$.exe; then
109646 # Don't use ln at all; we don't have any links
109647 as_ln_s='cp -p'
109648 else
109649 as_ln_s='ln -s'
109650 fi
109651 elif ln conf$$.file conf$$ 2>/dev/null; then
109652 as_ln_s=ln
109653 else
109654 as_ln_s='cp -p'
109655 fi
109656 rm -f conf$$ conf$$.exe conf$$.file
109657
109658 if mkdir -p . 2>/dev/null; then
109659 as_mkdir_p=:
109660 else
109661 test -d ./-p && rmdir ./-p
109662 as_mkdir_p=false
109663 fi
109664
109665 as_executable_p="test -f"
109666
109667 # Sed expression to map a string onto a valid CPP name.
109668 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
109669
109670 # Sed expression to map a string onto a valid variable name.
109671 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
109672
109673
109674 # IFS
109675 # We need space, tab and new line, in precisely that order.
109676 as_nl='
109677 '
109678 IFS=" $as_nl"
109679
109680 # CDPATH.
109681 $as_unset CDPATH
109682
109683 exec 6>&1
109684
109685 # Open the log real soon, to keep \$[0] and so on meaningful, and to
109686 # report actual input values of CONFIG_FILES etc. instead of their
109687 # values after options handling. Logging --version etc. is OK.
109688 exec 5>>config.log
109689 {
109690 echo
109691 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
109692 ## Running $as_me. ##
109693 _ASBOX
109694 } >&5
109695 cat >&5 <<_CSEOF
109696
109697 This file was extended by package-unused $as_me version-unused, which was
109698 generated by GNU Autoconf 2.59. Invocation command line was
109699
109700 CONFIG_FILES = $CONFIG_FILES
109701 CONFIG_HEADERS = $CONFIG_HEADERS
109702 CONFIG_LINKS = $CONFIG_LINKS
109703 CONFIG_COMMANDS = $CONFIG_COMMANDS
109704 $ $0 $@
109705
109706 _CSEOF
109707 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
109708 echo >&5
109709 _ACEOF
109710
109711 # Files that config.status was made for.
109712 if test -n "$ac_config_files"; then
109713 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
109714 fi
109715
109716 if test -n "$ac_config_headers"; then
109717 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
109718 fi
109719
109720 if test -n "$ac_config_links"; then
109721 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
109722 fi
109723
109724 if test -n "$ac_config_commands"; then
109725 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
109726 fi
109727
109728 cat >>$CONFIG_STATUS <<\_ACEOF
109729
109730 ac_cs_usage="\
109731 \`$as_me' instantiates files from templates according to the
109732 current configuration.
109733
109734 Usage: $0 [OPTIONS] [FILE]...
109735
109736 -h, --help print this help, then exit
109737 -V, --version print version number, then exit
109738 -q, --quiet do not print progress messages
109739 -d, --debug don't remove temporary files
109740 --recheck update $as_me by reconfiguring in the same conditions
109741 --file=FILE[:TEMPLATE]
109742 instantiate the configuration file FILE
109743 --header=FILE[:TEMPLATE]
109744 instantiate the configuration header FILE
109745
109746 Configuration files:
109747 $config_files
109748
109749 Configuration headers:
109750 $config_headers
109751
109752 Configuration commands:
109753 $config_commands
109754
109755 Report bugs to <bug-autoconf@gnu.org>."
109756 _ACEOF
109757
109758 cat >>$CONFIG_STATUS <<_ACEOF
109759 ac_cs_version="\\
109760 package-unused config.status version-unused
109761 configured by $0, generated by GNU Autoconf 2.59,
109762 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
109763
109764 Copyright (C) 2003 Free Software Foundation, Inc.
109765 This config.status script is free software; the Free Software Foundation
109766 gives unlimited permission to copy, distribute and modify it."
109767 srcdir=$srcdir
109768 INSTALL="$INSTALL"
109769 _ACEOF
109770
109771 cat >>$CONFIG_STATUS <<\_ACEOF
109772 # If no file are specified by the user, then we need to provide default
109773 # value. By we need to know if files were specified by the user.
109774 ac_need_defaults=:
109775 while test $# != 0
109776 do
109777 case $1 in
109778 --*=*)
109779 ac_option=`expr "x$1" : 'x\([^=]*\)='`
109780 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
109781 ac_shift=:
109782 ;;
109783 -*)
109784 ac_option=$1
109785 ac_optarg=$2
109786 ac_shift=shift
109787 ;;
109788 *) # This is not an option, so the user has probably given explicit
109789 # arguments.
109790 ac_option=$1
109791 ac_need_defaults=false;;
109792 esac
109793
109794 case $ac_option in
109795 # Handling of the options.
109796 _ACEOF
109797 cat >>$CONFIG_STATUS <<\_ACEOF
109798 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
109799 ac_cs_recheck=: ;;
109800 --version | --vers* | -V )
109801 echo "$ac_cs_version"; exit 0 ;;
109802 --he | --h)
109803 # Conflict between --help and --header
109804 { { echo "$as_me:$LINENO: error: ambiguous option: $1
109805 Try \`$0 --help' for more information." >&5
109806 echo "$as_me: error: ambiguous option: $1
109807 Try \`$0 --help' for more information." >&2;}
109808 { (exit 1); exit 1; }; };;
109809 --help | --hel | -h )
109810 echo "$ac_cs_usage"; exit 0 ;;
109811 --debug | --d* | -d )
109812 debug=: ;;
109813 --file | --fil | --fi | --f )
109814 $ac_shift
109815 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
109816 ac_need_defaults=false;;
109817 --header | --heade | --head | --hea )
109818 $ac_shift
109819 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
109820 ac_need_defaults=false;;
109821 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
109822 | -silent | --silent | --silen | --sile | --sil | --si | --s)
109823 ac_cs_silent=: ;;
109824
109825 # This is an error.
109826 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
109827 Try \`$0 --help' for more information." >&5
109828 echo "$as_me: error: unrecognized option: $1
109829 Try \`$0 --help' for more information." >&2;}
109830 { (exit 1); exit 1; }; } ;;
109831
109832 *) ac_config_targets="$ac_config_targets $1" ;;
109833
109834 esac
109835 shift
109836 done
109837
109838 ac_configure_extra_args=
109839
109840 if $ac_cs_silent; then
109841 exec 6>/dev/null
109842 ac_configure_extra_args="$ac_configure_extra_args --silent"
109843 fi
109844
109845 _ACEOF
109846 cat >>$CONFIG_STATUS <<_ACEOF
109847 if \$ac_cs_recheck; then
109848 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
109849 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
109850 fi
109851
109852 _ACEOF
109853
109854 cat >>$CONFIG_STATUS <<_ACEOF
109855 #
109856 # INIT-COMMANDS section.
109857 #
109858
109859
109860 srcdir="$srcdir"
109861 host="$host"
109862 target="$target"
109863 with_multisubdir="$with_multisubdir"
109864 with_multisrctop="$with_multisrctop"
109865 with_target_subdir="$with_target_subdir"
109866 ac_configure_args="${multilib_arg} ${ac_configure_args}"
109867 multi_basedir="$multi_basedir"
109868 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
109869 CC="$CC"
109870
109871 # Variables needed in config.status (file generation) which aren't already
109872 # passed by autoconf.
109873 SUBDIRS="$SUBDIRS"
109874
109875
109876 _ACEOF
109877
109878
109879
109880 cat >>$CONFIG_STATUS <<\_ACEOF
109881 for ac_config_target in $ac_config_targets
109882 do
109883 case "$ac_config_target" in
109884 # Handling of arguments.
109885 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
109886 "include/Makefile" ) CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
109887 "libmath/Makefile" ) CONFIG_FILES="$CONFIG_FILES libmath/Makefile" ;;
109888 "libsupc++/Makefile" ) CONFIG_FILES="$CONFIG_FILES libsupc++/Makefile" ;;
109889 "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
109890 "po/Makefile" ) CONFIG_FILES="$CONFIG_FILES po/Makefile" ;;
109891 "testsuite/Makefile" ) CONFIG_FILES="$CONFIG_FILES testsuite/Makefile" ;;
109892 "scripts/testsuite_flags" ) CONFIG_FILES="$CONFIG_FILES scripts/testsuite_flags" ;;
109893 "default-1" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
109894 "default" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
109895 "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
109896 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
109897 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
109898 { (exit 1); exit 1; }; };;
109899 esac
109900 done
109901
109902 # If the user did not use the arguments to specify the items to instantiate,
109903 # then the envvar interface is used. Set only those that are not.
109904 # We use the long form for the default assignment because of an extremely
109905 # bizarre bug on SunOS 4.1.3.
109906 if $ac_need_defaults; then
109907 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
109908 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
109909 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
109910 fi
109911
109912 # Have a temporary directory for convenience. Make it in the build tree
109913 # simply because there is no reason to put it here, and in addition,
109914 # creating and moving files from /tmp can sometimes cause problems.
109915 # Create a temporary directory, and hook for its removal unless debugging.
109916 $debug ||
109917 {
109918 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
109919 trap '{ (exit 1); exit 1; }' 1 2 13 15
109920 }
109921
109922 # Create a (secure) tmp directory for tmp files.
109923
109924 {
109925 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
109926 test -n "$tmp" && test -d "$tmp"
109927 } ||
109928 {
109929 tmp=./confstat$$-$RANDOM
109930 (umask 077 && mkdir $tmp)
109931 } ||
109932 {
109933 echo "$me: cannot create a temporary directory in ." >&2
109934 { (exit 1); exit 1; }
109935 }
109936
109937 _ACEOF
109938
109939 cat >>$CONFIG_STATUS <<_ACEOF
109940
109941 #
109942 # CONFIG_FILES section.
109943 #
109944
109945 # No need to generate the scripts if there are no CONFIG_FILES.
109946 # This happens for instance when ./config.status config.h
109947 if test -n "\$CONFIG_FILES"; then
109948 # Protect against being on the right side of a sed subst in config.status.
109949 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
109950 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
109951 s,@SHELL@,$SHELL,;t t
109952 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
109953 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
109954 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
109955 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
109956 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
109957 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
109958 s,@exec_prefix@,$exec_prefix,;t t
109959 s,@prefix@,$prefix,;t t
109960 s,@program_transform_name@,$program_transform_name,;t t
109961 s,@bindir@,$bindir,;t t
109962 s,@sbindir@,$sbindir,;t t
109963 s,@libexecdir@,$libexecdir,;t t
109964 s,@datadir@,$datadir,;t t
109965 s,@sysconfdir@,$sysconfdir,;t t
109966 s,@sharedstatedir@,$sharedstatedir,;t t
109967 s,@localstatedir@,$localstatedir,;t t
109968 s,@libdir@,$libdir,;t t
109969 s,@includedir@,$includedir,;t t
109970 s,@oldincludedir@,$oldincludedir,;t t
109971 s,@infodir@,$infodir,;t t
109972 s,@mandir@,$mandir,;t t
109973 s,@build_alias@,$build_alias,;t t
109974 s,@host_alias@,$host_alias,;t t
109975 s,@target_alias@,$target_alias,;t t
109976 s,@DEFS@,$DEFS,;t t
109977 s,@ECHO_C@,$ECHO_C,;t t
109978 s,@ECHO_N@,$ECHO_N,;t t
109979 s,@ECHO_T@,$ECHO_T,;t t
109980 s,@LIBS@,$LIBS,;t t
109981 s,@libtool_VERSION@,$libtool_VERSION,;t t
109982 s,@multi_basedir@,$multi_basedir,;t t
109983 s,@build@,$build,;t t
109984 s,@build_cpu@,$build_cpu,;t t
109985 s,@build_vendor@,$build_vendor,;t t
109986 s,@build_os@,$build_os,;t t
109987 s,@host@,$host,;t t
109988 s,@host_cpu@,$host_cpu,;t t
109989 s,@host_vendor@,$host_vendor,;t t
109990 s,@host_os@,$host_os,;t t
109991 s,@target@,$target,;t t
109992 s,@target_cpu@,$target_cpu,;t t
109993 s,@target_vendor@,$target_vendor,;t t
109994 s,@target_os@,$target_os,;t t
109995 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
109996 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
109997 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
109998 s,@CYGPATH_W@,$CYGPATH_W,;t t
109999 s,@PACKAGE@,$PACKAGE,;t t
110000 s,@VERSION@,$VERSION,;t t
110001 s,@ACLOCAL@,$ACLOCAL,;t t
110002 s,@AUTOCONF@,$AUTOCONF,;t t
110003 s,@AUTOMAKE@,$AUTOMAKE,;t t
110004 s,@AUTOHEADER@,$AUTOHEADER,;t t
110005 s,@MAKEINFO@,$MAKEINFO,;t t
110006 s,@install_sh@,$install_sh,;t t
110007 s,@STRIP@,$STRIP,;t t
110008 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
110009 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
110010 s,@mkdir_p@,$mkdir_p,;t t
110011 s,@AWK@,$AWK,;t t
110012 s,@SET_MAKE@,$SET_MAKE,;t t
110013 s,@am__leading_dot@,$am__leading_dot,;t t
110014 s,@AMTAR@,$AMTAR,;t t
110015 s,@am__tar@,$am__tar,;t t
110016 s,@am__untar@,$am__untar,;t t
110017 s,@glibcxx_builddir@,$glibcxx_builddir,;t t
110018 s,@glibcxx_srcdir@,$glibcxx_srcdir,;t t
110019 s,@toplevel_srcdir@,$toplevel_srcdir,;t t
110020 s,@CC@,$CC,;t t
110021 s,@ac_ct_CC@,$ac_ct_CC,;t t
110022 s,@EXEEXT@,$EXEEXT,;t t
110023 s,@OBJEXT@,$OBJEXT,;t t
110024 s,@CXX@,$CXX,;t t
110025 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
110026 s,@CFLAGS@,$CFLAGS,;t t
110027 s,@CXXFLAGS@,$CXXFLAGS,;t t
110028 s,@LN_S@,$LN_S,;t t
110029 s,@AS@,$AS,;t t
110030 s,@ac_ct_AS@,$ac_ct_AS,;t t
110031 s,@AR@,$AR,;t t
110032 s,@ac_ct_AR@,$ac_ct_AR,;t t
110033 s,@RANLIB@,$RANLIB,;t t
110034 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
110035 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
110036 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
110037 s,@MAINT@,$MAINT,;t t
110038 s,@CPP@,$CPP,;t t
110039 s,@CPPFLAGS@,$CPPFLAGS,;t t
110040 s,@EGREP@,$EGREP,;t t
110041 s,@LIBTOOL@,$LIBTOOL,;t t
110042 s,@CXXCPP@,$CXXCPP,;t t
110043 s,@enable_shared@,$enable_shared,;t t
110044 s,@enable_static@,$enable_static,;t t
110045 s,@GLIBCXX_HOSTED_TRUE@,$GLIBCXX_HOSTED_TRUE,;t t
110046 s,@GLIBCXX_HOSTED_FALSE@,$GLIBCXX_HOSTED_FALSE,;t t
110047 s,@GLIBCXX_BUILD_PCH_TRUE@,$GLIBCXX_BUILD_PCH_TRUE,;t t
110048 s,@GLIBCXX_BUILD_PCH_FALSE@,$GLIBCXX_BUILD_PCH_FALSE,;t t
110049 s,@glibcxx_PCHFLAGS@,$glibcxx_PCHFLAGS,;t t
110050 s,@CSTDIO_H@,$CSTDIO_H,;t t
110051 s,@BASIC_FILE_H@,$BASIC_FILE_H,;t t
110052 s,@BASIC_FILE_CC@,$BASIC_FILE_CC,;t t
110053 s,@check_msgfmt@,$check_msgfmt,;t t
110054 s,@glibcxx_MOFILES@,$glibcxx_MOFILES,;t t
110055 s,@glibcxx_POFILES@,$glibcxx_POFILES,;t t
110056 s,@glibcxx_localedir@,$glibcxx_localedir,;t t
110057 s,@USE_NLS@,$USE_NLS,;t t
110058 s,@CLOCALE_H@,$CLOCALE_H,;t t
110059 s,@CMESSAGES_H@,$CMESSAGES_H,;t t
110060 s,@CCODECVT_CC@,$CCODECVT_CC,;t t
110061 s,@CCOLLATE_CC@,$CCOLLATE_CC,;t t
110062 s,@CCTYPE_CC@,$CCTYPE_CC,;t t
110063 s,@CMESSAGES_CC@,$CMESSAGES_CC,;t t
110064 s,@CMONEY_CC@,$CMONEY_CC,;t t
110065 s,@CNUMERIC_CC@,$CNUMERIC_CC,;t t
110066 s,@CTIME_H@,$CTIME_H,;t t
110067 s,@CTIME_CC@,$CTIME_CC,;t t
110068 s,@CLOCALE_CC@,$CLOCALE_CC,;t t
110069 s,@CLOCALE_INTERNAL_H@,$CLOCALE_INTERNAL_H,;t t
110070 s,@ALLOCATOR_H@,$ALLOCATOR_H,;t t
110071 s,@ALLOCATOR_NAME@,$ALLOCATOR_NAME,;t t
110072 s,@C_INCLUDE_DIR@,$C_INCLUDE_DIR,;t t
110073 s,@GLIBCXX_C_HEADERS_C_TRUE@,$GLIBCXX_C_HEADERS_C_TRUE,;t t
110074 s,@GLIBCXX_C_HEADERS_C_FALSE@,$GLIBCXX_C_HEADERS_C_FALSE,;t t
110075 s,@GLIBCXX_C_HEADERS_C_STD_TRUE@,$GLIBCXX_C_HEADERS_C_STD_TRUE,;t t
110076 s,@GLIBCXX_C_HEADERS_C_STD_FALSE@,$GLIBCXX_C_HEADERS_C_STD_FALSE,;t t
110077 s,@GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE@,$GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE,;t t
110078 s,@GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE@,$GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE,;t t
110079 s,@DEBUG_FLAGS@,$DEBUG_FLAGS,;t t
110080 s,@GLIBCXX_BUILD_DEBUG_TRUE@,$GLIBCXX_BUILD_DEBUG_TRUE,;t t
110081 s,@GLIBCXX_BUILD_DEBUG_FALSE@,$GLIBCXX_BUILD_DEBUG_FALSE,;t t
110082 s,@EXTRA_CXX_FLAGS@,$EXTRA_CXX_FLAGS,;t t
110083 s,@glibcxx_thread_h@,$glibcxx_thread_h,;t t
110084 s,@WERROR@,$WERROR,;t t
110085 s,@SECTION_FLAGS@,$SECTION_FLAGS,;t t
110086 s,@SECTION_LDFLAGS@,$SECTION_LDFLAGS,;t t
110087 s,@OPT_LDFLAGS@,$OPT_LDFLAGS,;t t
110088 s,@LIBMATHOBJS@,$LIBMATHOBJS,;t t
110089 s,@LIBICONV@,$LIBICONV,;t t
110090 s,@SYMVER_FILE@,$SYMVER_FILE,;t t
110091 s,@port_specific_symbol_files@,$port_specific_symbol_files,;t t
110092 s,@ENABLE_SYMVERS_TRUE@,$ENABLE_SYMVERS_TRUE,;t t
110093 s,@ENABLE_SYMVERS_FALSE@,$ENABLE_SYMVERS_FALSE,;t t
110094 s,@ENABLE_SYMVERS_GNU_TRUE@,$ENABLE_SYMVERS_GNU_TRUE,;t t
110095 s,@ENABLE_SYMVERS_GNU_FALSE@,$ENABLE_SYMVERS_GNU_FALSE,;t t
110096 s,@ENABLE_SYMVERS_GNU_NAMESPACE_TRUE@,$ENABLE_SYMVERS_GNU_NAMESPACE_TRUE,;t t
110097 s,@ENABLE_SYMVERS_GNU_NAMESPACE_FALSE@,$ENABLE_SYMVERS_GNU_NAMESPACE_FALSE,;t t
110098 s,@ENABLE_SYMVERS_DARWIN_TRUE@,$ENABLE_SYMVERS_DARWIN_TRUE,;t t
110099 s,@ENABLE_SYMVERS_DARWIN_FALSE@,$ENABLE_SYMVERS_DARWIN_FALSE,;t t
110100 s,@ENABLE_VISIBILITY_TRUE@,$ENABLE_VISIBILITY_TRUE,;t t
110101 s,@ENABLE_VISIBILITY_FALSE@,$ENABLE_VISIBILITY_FALSE,;t t
110102 s,@GLIBCXX_LDBL_COMPAT_TRUE@,$GLIBCXX_LDBL_COMPAT_TRUE,;t t
110103 s,@GLIBCXX_LDBL_COMPAT_FALSE@,$GLIBCXX_LDBL_COMPAT_FALSE,;t t
110104 s,@baseline_dir@,$baseline_dir,;t t
110105 s,@ATOMICITY_SRCDIR@,$ATOMICITY_SRCDIR,;t t
110106 s,@ATOMIC_WORD_SRCDIR@,$ATOMIC_WORD_SRCDIR,;t t
110107 s,@CPU_DEFINES_SRCDIR@,$CPU_DEFINES_SRCDIR,;t t
110108 s,@ABI_TWEAKS_SRCDIR@,$ABI_TWEAKS_SRCDIR,;t t
110109 s,@OS_INC_SRCDIR@,$OS_INC_SRCDIR,;t t
110110 s,@glibcxx_prefixdir@,$glibcxx_prefixdir,;t t
110111 s,@gxx_include_dir@,$gxx_include_dir,;t t
110112 s,@glibcxx_toolexecdir@,$glibcxx_toolexecdir,;t t
110113 s,@glibcxx_toolexeclibdir@,$glibcxx_toolexeclibdir,;t t
110114 s,@GLIBCXX_INCLUDES@,$GLIBCXX_INCLUDES,;t t
110115 s,@TOPLEVEL_INCLUDES@,$TOPLEVEL_INCLUDES,;t t
110116 s,@OPTIMIZE_CXXFLAGS@,$OPTIMIZE_CXXFLAGS,;t t
110117 s,@WARN_FLAGS@,$WARN_FLAGS,;t t
110118 s,@LIBSUPCXX_PICFLAGS@,$LIBSUPCXX_PICFLAGS,;t t
110119 s,@LIBOBJS@,$LIBOBJS,;t t
110120 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
110121 CEOF
110122
110123 _ACEOF
110124
110125 cat >>$CONFIG_STATUS <<\_ACEOF
110126 # Split the substitutions into bite-sized pieces for seds with
110127 # small command number limits, like on Digital OSF/1 and HP-UX.
110128 ac_max_sed_lines=48
110129 ac_sed_frag=1 # Number of current file.
110130 ac_beg=1 # First line for current file.
110131 ac_end=$ac_max_sed_lines # Line after last line for current file.
110132 ac_more_lines=:
110133 ac_sed_cmds=
110134 while $ac_more_lines; do
110135 if test $ac_beg -gt 1; then
110136 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
110137 else
110138 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
110139 fi
110140 if test ! -s $tmp/subs.frag; then
110141 ac_more_lines=false
110142 else
110143 # The purpose of the label and of the branching condition is to
110144 # speed up the sed processing (if there are no `@' at all, there
110145 # is no need to browse any of the substitutions).
110146 # These are the two extra sed commands mentioned above.
110147 (echo ':t
110148 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
110149 if test -z "$ac_sed_cmds"; then
110150 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
110151 else
110152 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
110153 fi
110154 ac_sed_frag=`expr $ac_sed_frag + 1`
110155 ac_beg=$ac_end
110156 ac_end=`expr $ac_end + $ac_max_sed_lines`
110157 fi
110158 done
110159 if test -z "$ac_sed_cmds"; then
110160 ac_sed_cmds=cat
110161 fi
110162 fi # test -n "$CONFIG_FILES"
110163
110164 _ACEOF
110165 cat >>$CONFIG_STATUS <<\_ACEOF
110166 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
110167 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
110168 case $ac_file in
110169 - | *:- | *:-:* ) # input from stdin
110170 cat >$tmp/stdin
110171 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
110172 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
110173 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
110174 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
110175 * ) ac_file_in=$ac_file.in ;;
110176 esac
110177
110178 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
110179 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
110180 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
110181 X"$ac_file" : 'X\(//\)[^/]' \| \
110182 X"$ac_file" : 'X\(//\)$' \| \
110183 X"$ac_file" : 'X\(/\)' \| \
110184 . : '\(.\)' 2>/dev/null ||
110185 echo X"$ac_file" |
110186 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
110187 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
110188 /^X\(\/\/\)$/{ s//\1/; q; }
110189 /^X\(\/\).*/{ s//\1/; q; }
110190 s/.*/./; q'`
110191 { if $as_mkdir_p; then
110192 mkdir -p "$ac_dir"
110193 else
110194 as_dir="$ac_dir"
110195 as_dirs=
110196 while test ! -d "$as_dir"; do
110197 as_dirs="$as_dir $as_dirs"
110198 as_dir=`(dirname "$as_dir") 2>/dev/null ||
110199 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
110200 X"$as_dir" : 'X\(//\)[^/]' \| \
110201 X"$as_dir" : 'X\(//\)$' \| \
110202 X"$as_dir" : 'X\(/\)' \| \
110203 . : '\(.\)' 2>/dev/null ||
110204 echo X"$as_dir" |
110205 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
110206 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
110207 /^X\(\/\/\)$/{ s//\1/; q; }
110208 /^X\(\/\).*/{ s//\1/; q; }
110209 s/.*/./; q'`
110210 done
110211 test ! -n "$as_dirs" || mkdir $as_dirs
110212 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
110213 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
110214 { (exit 1); exit 1; }; }; }
110215
110216 ac_builddir=.
110217
110218 if test "$ac_dir" != .; then
110219 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
110220 # A "../" for each directory in $ac_dir_suffix.
110221 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
110222 else
110223 ac_dir_suffix= ac_top_builddir=
110224 fi
110225
110226 case $srcdir in
110227 .) # No --srcdir option. We are building in place.
110228 ac_srcdir=.
110229 if test -z "$ac_top_builddir"; then
110230 ac_top_srcdir=.
110231 else
110232 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
110233 fi ;;
110234 [\\/]* | ?:[\\/]* ) # Absolute path.
110235 ac_srcdir=$srcdir$ac_dir_suffix;
110236 ac_top_srcdir=$srcdir ;;
110237 *) # Relative path.
110238 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
110239 ac_top_srcdir=$ac_top_builddir$srcdir ;;
110240 esac
110241
110242 # Do not use `cd foo && pwd` to compute absolute paths, because
110243 # the directories may not exist.
110244 case `pwd` in
110245 .) ac_abs_builddir="$ac_dir";;
110246 *)
110247 case "$ac_dir" in
110248 .) ac_abs_builddir=`pwd`;;
110249 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
110250 *) ac_abs_builddir=`pwd`/"$ac_dir";;
110251 esac;;
110252 esac
110253 case $ac_abs_builddir in
110254 .) ac_abs_top_builddir=${ac_top_builddir}.;;
110255 *)
110256 case ${ac_top_builddir}. in
110257 .) ac_abs_top_builddir=$ac_abs_builddir;;
110258 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
110259 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
110260 esac;;
110261 esac
110262 case $ac_abs_builddir in
110263 .) ac_abs_srcdir=$ac_srcdir;;
110264 *)
110265 case $ac_srcdir in
110266 .) ac_abs_srcdir=$ac_abs_builddir;;
110267 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
110268 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
110269 esac;;
110270 esac
110271 case $ac_abs_builddir in
110272 .) ac_abs_top_srcdir=$ac_top_srcdir;;
110273 *)
110274 case $ac_top_srcdir in
110275 .) ac_abs_top_srcdir=$ac_abs_builddir;;
110276 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
110277 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
110278 esac;;
110279 esac
110280
110281
110282 case $INSTALL in
110283 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
110284 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
110285 esac
110286
110287 # Let's still pretend it is `configure' which instantiates (i.e., don't
110288 # use $as_me), people would be surprised to read:
110289 # /* config.h. Generated by config.status. */
110290 if test x"$ac_file" = x-; then
110291 configure_input=
110292 else
110293 configure_input="$ac_file. "
110294 fi
110295 configure_input=$configure_input"Generated from `echo $ac_file_in |
110296 sed 's,.*/,,'` by configure."
110297
110298 # First look for the input files in the build tree, otherwise in the
110299 # src tree.
110300 ac_file_inputs=`IFS=:
110301 for f in $ac_file_in; do
110302 case $f in
110303 -) echo $tmp/stdin ;;
110304 [\\/$]*)
110305 # Absolute (can't be DOS-style, as IFS=:)
110306 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
110307 echo "$as_me: error: cannot find input file: $f" >&2;}
110308 { (exit 1); exit 1; }; }
110309 echo "$f";;
110310 *) # Relative
110311 if test -f "$f"; then
110312 # Build tree
110313 echo "$f"
110314 elif test -f "$srcdir/$f"; then
110315 # Source tree
110316 echo "$srcdir/$f"
110317 else
110318 # /dev/null tree
110319 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
110320 echo "$as_me: error: cannot find input file: $f" >&2;}
110321 { (exit 1); exit 1; }; }
110322 fi;;
110323 esac
110324 done` || { (exit 1); exit 1; }
110325
110326 if test x"$ac_file" != x-; then
110327 { echo "$as_me:$LINENO: creating $ac_file" >&5
110328 echo "$as_me: creating $ac_file" >&6;}
110329 rm -f "$ac_file"
110330 fi
110331 _ACEOF
110332 cat >>$CONFIG_STATUS <<_ACEOF
110333 sed "$ac_vpsub
110334 $extrasub
110335 _ACEOF
110336 cat >>$CONFIG_STATUS <<\_ACEOF
110337 :t
110338 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
110339 s,@configure_input@,$configure_input,;t t
110340 s,@srcdir@,$ac_srcdir,;t t
110341 s,@abs_srcdir@,$ac_abs_srcdir,;t t
110342 s,@top_srcdir@,$ac_top_srcdir,;t t
110343 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
110344 s,@builddir@,$ac_builddir,;t t
110345 s,@abs_builddir@,$ac_abs_builddir,;t t
110346 s,@top_builddir@,$ac_top_builddir,;t t
110347 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
110348 s,@INSTALL@,$ac_INSTALL,;t t
110349 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
110350 rm -f $tmp/stdin
110351 if test x"$ac_file" != x-; then
110352 mv $tmp/out $ac_file
110353 else
110354 cat $tmp/out
110355 rm -f $tmp/out
110356 fi
110357
110358 # Run the commands associated with the file.
110359 case $ac_file in
110360 scripts/testsuite_flags ) chmod +x scripts/testsuite_flags ;;
110361 esac
110362 done
110363 _ACEOF
110364 cat >>$CONFIG_STATUS <<\_ACEOF
110365
110366 #
110367 # CONFIG_HEADER section.
110368 #
110369
110370 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
110371 # NAME is the cpp macro being defined and VALUE is the value it is being given.
110372 #
110373 # ac_d sets the value in "#define NAME VALUE" lines.
110374 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
110375 ac_dB='[ ].*$,\1#\2'
110376 ac_dC=' '
110377 ac_dD=',;t'
110378 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
110379 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
110380 ac_uB='$,\1#\2define\3'
110381 ac_uC=' '
110382 ac_uD=',;t'
110383
110384 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
110385 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
110386 case $ac_file in
110387 - | *:- | *:-:* ) # input from stdin
110388 cat >$tmp/stdin
110389 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
110390 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
110391 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
110392 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
110393 * ) ac_file_in=$ac_file.in ;;
110394 esac
110395
110396 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
110397 echo "$as_me: creating $ac_file" >&6;}
110398
110399 # First look for the input files in the build tree, otherwise in the
110400 # src tree.
110401 ac_file_inputs=`IFS=:
110402 for f in $ac_file_in; do
110403 case $f in
110404 -) echo $tmp/stdin ;;
110405 [\\/$]*)
110406 # Absolute (can't be DOS-style, as IFS=:)
110407 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
110408 echo "$as_me: error: cannot find input file: $f" >&2;}
110409 { (exit 1); exit 1; }; }
110410 # Do quote $f, to prevent DOS paths from being IFS'd.
110411 echo "$f";;
110412 *) # Relative
110413 if test -f "$f"; then
110414 # Build tree
110415 echo "$f"
110416 elif test -f "$srcdir/$f"; then
110417 # Source tree
110418 echo "$srcdir/$f"
110419 else
110420 # /dev/null tree
110421 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
110422 echo "$as_me: error: cannot find input file: $f" >&2;}
110423 { (exit 1); exit 1; }; }
110424 fi;;
110425 esac
110426 done` || { (exit 1); exit 1; }
110427 # Remove the trailing spaces.
110428 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
110429
110430 _ACEOF
110431
110432 # Transform confdefs.h into two sed scripts, `conftest.defines' and
110433 # `conftest.undefs', that substitutes the proper values into
110434 # config.h.in to produce config.h. The first handles `#define'
110435 # templates, and the second `#undef' templates.
110436 # And first: Protect against being on the right side of a sed subst in
110437 # config.status. Protect against being in an unquoted here document
110438 # in config.status.
110439 rm -f conftest.defines conftest.undefs
110440 # Using a here document instead of a string reduces the quoting nightmare.
110441 # Putting comments in sed scripts is not portable.
110442 #
110443 # `end' is used to avoid that the second main sed command (meant for
110444 # 0-ary CPP macros) applies to n-ary macro definitions.
110445 # See the Autoconf documentation for `clear'.
110446 cat >confdef2sed.sed <<\_ACEOF
110447 s/[\\&,]/\\&/g
110448 s,[\\$`],\\&,g
110449 t clear
110450 : clear
110451 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
110452 t end
110453 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
110454 : end
110455 _ACEOF
110456 # If some macros were called several times there might be several times
110457 # the same #defines, which is useless. Nevertheless, we may not want to
110458 # sort them, since we want the *last* AC-DEFINE to be honored.
110459 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
110460 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
110461 rm -f confdef2sed.sed
110462
110463 # This sed command replaces #undef with comments. This is necessary, for
110464 # example, in the case of _POSIX_SOURCE, which is predefined and required
110465 # on some systems where configure will not decide to define it.
110466 cat >>conftest.undefs <<\_ACEOF
110467 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
110468 _ACEOF
110469
110470 # Break up conftest.defines because some shells have a limit on the size
110471 # of here documents, and old seds have small limits too (100 cmds).
110472 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
110473 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
110474 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
110475 echo ' :' >>$CONFIG_STATUS
110476 rm -f conftest.tail
110477 while grep . conftest.defines >/dev/null
110478 do
110479 # Write a limited-size here document to $tmp/defines.sed.
110480 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
110481 # Speed up: don't consider the non `#define' lines.
110482 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
110483 # Work around the forget-to-reset-the-flag bug.
110484 echo 't clr' >>$CONFIG_STATUS
110485 echo ': clr' >>$CONFIG_STATUS
110486 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
110487 echo 'CEOF
110488 sed -f $tmp/defines.sed $tmp/in >$tmp/out
110489 rm -f $tmp/in
110490 mv $tmp/out $tmp/in
110491 ' >>$CONFIG_STATUS
110492 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
110493 rm -f conftest.defines
110494 mv conftest.tail conftest.defines
110495 done
110496 rm -f conftest.defines
110497 echo ' fi # grep' >>$CONFIG_STATUS
110498 echo >>$CONFIG_STATUS
110499
110500 # Break up conftest.undefs because some shells have a limit on the size
110501 # of here documents, and old seds have small limits too (100 cmds).
110502 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
110503 rm -f conftest.tail
110504 while grep . conftest.undefs >/dev/null
110505 do
110506 # Write a limited-size here document to $tmp/undefs.sed.
110507 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
110508 # Speed up: don't consider the non `#undef'
110509 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
110510 # Work around the forget-to-reset-the-flag bug.
110511 echo 't clr' >>$CONFIG_STATUS
110512 echo ': clr' >>$CONFIG_STATUS
110513 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
110514 echo 'CEOF
110515 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
110516 rm -f $tmp/in
110517 mv $tmp/out $tmp/in
110518 ' >>$CONFIG_STATUS
110519 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
110520 rm -f conftest.undefs
110521 mv conftest.tail conftest.undefs
110522 done
110523 rm -f conftest.undefs
110524
110525 cat >>$CONFIG_STATUS <<\_ACEOF
110526 # Let's still pretend it is `configure' which instantiates (i.e., don't
110527 # use $as_me), people would be surprised to read:
110528 # /* config.h. Generated by config.status. */
110529 if test x"$ac_file" = x-; then
110530 echo "/* Generated by configure. */" >$tmp/config.h
110531 else
110532 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
110533 fi
110534 cat $tmp/in >>$tmp/config.h
110535 rm -f $tmp/in
110536 if test x"$ac_file" != x-; then
110537 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
110538 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
110539 echo "$as_me: $ac_file is unchanged" >&6;}
110540 else
110541 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
110542 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
110543 X"$ac_file" : 'X\(//\)[^/]' \| \
110544 X"$ac_file" : 'X\(//\)$' \| \
110545 X"$ac_file" : 'X\(/\)' \| \
110546 . : '\(.\)' 2>/dev/null ||
110547 echo X"$ac_file" |
110548 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
110549 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
110550 /^X\(\/\/\)$/{ s//\1/; q; }
110551 /^X\(\/\).*/{ s//\1/; q; }
110552 s/.*/./; q'`
110553 { if $as_mkdir_p; then
110554 mkdir -p "$ac_dir"
110555 else
110556 as_dir="$ac_dir"
110557 as_dirs=
110558 while test ! -d "$as_dir"; do
110559 as_dirs="$as_dir $as_dirs"
110560 as_dir=`(dirname "$as_dir") 2>/dev/null ||
110561 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
110562 X"$as_dir" : 'X\(//\)[^/]' \| \
110563 X"$as_dir" : 'X\(//\)$' \| \
110564 X"$as_dir" : 'X\(/\)' \| \
110565 . : '\(.\)' 2>/dev/null ||
110566 echo X"$as_dir" |
110567 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
110568 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
110569 /^X\(\/\/\)$/{ s//\1/; q; }
110570 /^X\(\/\).*/{ s//\1/; q; }
110571 s/.*/./; q'`
110572 done
110573 test ! -n "$as_dirs" || mkdir $as_dirs
110574 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
110575 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
110576 { (exit 1); exit 1; }; }; }
110577
110578 rm -f $ac_file
110579 mv $tmp/config.h $ac_file
110580 fi
110581 else
110582 cat $tmp/config.h
110583 rm -f $tmp/config.h
110584 fi
110585 # Compute $ac_file's index in $config_headers.
110586 _am_stamp_count=1
110587 for _am_header in $config_headers :; do
110588 case $_am_header in
110589 $ac_file | $ac_file:* )
110590 break ;;
110591 * )
110592 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
110593 esac
110594 done
110595 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
110596 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
110597 X$ac_file : 'X\(//\)[^/]' \| \
110598 X$ac_file : 'X\(//\)$' \| \
110599 X$ac_file : 'X\(/\)' \| \
110600 . : '\(.\)' 2>/dev/null ||
110601 echo X$ac_file |
110602 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
110603 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
110604 /^X\(\/\/\)$/{ s//\1/; q; }
110605 /^X\(\/\).*/{ s//\1/; q; }
110606 s/.*/./; q'`/stamp-h$_am_stamp_count
110607 done
110608 _ACEOF
110609 cat >>$CONFIG_STATUS <<\_ACEOF
110610
110611 #
110612 # CONFIG_COMMANDS section.
110613 #
110614 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
110615 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
110616 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
110617 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
110618 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
110619 X"$ac_dest" : 'X\(//\)[^/]' \| \
110620 X"$ac_dest" : 'X\(//\)$' \| \
110621 X"$ac_dest" : 'X\(/\)' \| \
110622 . : '\(.\)' 2>/dev/null ||
110623 echo X"$ac_dest" |
110624 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
110625 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
110626 /^X\(\/\/\)$/{ s//\1/; q; }
110627 /^X\(\/\).*/{ s//\1/; q; }
110628 s/.*/./; q'`
110629 { if $as_mkdir_p; then
110630 mkdir -p "$ac_dir"
110631 else
110632 as_dir="$ac_dir"
110633 as_dirs=
110634 while test ! -d "$as_dir"; do
110635 as_dirs="$as_dir $as_dirs"
110636 as_dir=`(dirname "$as_dir") 2>/dev/null ||
110637 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
110638 X"$as_dir" : 'X\(//\)[^/]' \| \
110639 X"$as_dir" : 'X\(//\)$' \| \
110640 X"$as_dir" : 'X\(/\)' \| \
110641 . : '\(.\)' 2>/dev/null ||
110642 echo X"$as_dir" |
110643 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
110644 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
110645 /^X\(\/\/\)$/{ s//\1/; q; }
110646 /^X\(\/\).*/{ s//\1/; q; }
110647 s/.*/./; q'`
110648 done
110649 test ! -n "$as_dirs" || mkdir $as_dirs
110650 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
110651 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
110652 { (exit 1); exit 1; }; }; }
110653
110654 ac_builddir=.
110655
110656 if test "$ac_dir" != .; then
110657 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
110658 # A "../" for each directory in $ac_dir_suffix.
110659 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
110660 else
110661 ac_dir_suffix= ac_top_builddir=
110662 fi
110663
110664 case $srcdir in
110665 .) # No --srcdir option. We are building in place.
110666 ac_srcdir=.
110667 if test -z "$ac_top_builddir"; then
110668 ac_top_srcdir=.
110669 else
110670 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
110671 fi ;;
110672 [\\/]* | ?:[\\/]* ) # Absolute path.
110673 ac_srcdir=$srcdir$ac_dir_suffix;
110674 ac_top_srcdir=$srcdir ;;
110675 *) # Relative path.
110676 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
110677 ac_top_srcdir=$ac_top_builddir$srcdir ;;
110678 esac
110679
110680 # Do not use `cd foo && pwd` to compute absolute paths, because
110681 # the directories may not exist.
110682 case `pwd` in
110683 .) ac_abs_builddir="$ac_dir";;
110684 *)
110685 case "$ac_dir" in
110686 .) ac_abs_builddir=`pwd`;;
110687 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
110688 *) ac_abs_builddir=`pwd`/"$ac_dir";;
110689 esac;;
110690 esac
110691 case $ac_abs_builddir in
110692 .) ac_abs_top_builddir=${ac_top_builddir}.;;
110693 *)
110694 case ${ac_top_builddir}. in
110695 .) ac_abs_top_builddir=$ac_abs_builddir;;
110696 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
110697 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
110698 esac;;
110699 esac
110700 case $ac_abs_builddir in
110701 .) ac_abs_srcdir=$ac_srcdir;;
110702 *)
110703 case $ac_srcdir in
110704 .) ac_abs_srcdir=$ac_abs_builddir;;
110705 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
110706 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
110707 esac;;
110708 esac
110709 case $ac_abs_builddir in
110710 .) ac_abs_top_srcdir=$ac_top_srcdir;;
110711 *)
110712 case $ac_top_srcdir in
110713 .) ac_abs_top_srcdir=$ac_abs_builddir;;
110714 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
110715 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
110716 esac;;
110717 esac
110718
110719
110720 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
110721 echo "$as_me: executing $ac_dest commands" >&6;}
110722 case $ac_dest in
110723 default-1 )
110724 # Only add multilib support code if we just rebuilt the top-level
110725 # Makefile.
110726 case " $CONFIG_FILES " in
110727 *" Makefile "*)
110728 ac_file=Makefile . ${multi_basedir}/config-ml.in
110729 ;;
110730 esac ;;
110731 default ) if test -n "$CONFIG_FILES"; then
110732 # Multilibs need MULTISUBDIR defined correctly in certain makefiles so
110733 # that multilib installs will end up installed in the correct place.
110734 # The testsuite needs it for multilib-aware ABI baseline files.
110735 # To work around this not being passed down from config-ml.in ->
110736 # srcdir/Makefile.am -> srcdir/{src,libsupc++,...}/Makefile.am, manually
110737 # append it here. Only modify Makefiles that have just been created.
110738 #
110739 # Also, get rid of this simulated-VPATH thing that automake does.
110740 cat > vpsed << \_EOF
110741 s!`test -f '$<' || echo '$(srcdir)/'`!!
110742 _EOF
110743 for i in $SUBDIRS; do
110744 case $CONFIG_FILES in
110745 *${i}/Makefile*)
110746 #echo "Adding MULTISUBDIR to $i/Makefile"
110747 sed -f vpsed $i/Makefile > tmp
110748 grep '^MULTISUBDIR =' Makefile >> tmp
110749 mv tmp $i/Makefile
110750 ;;
110751 esac
110752 done
110753 rm vpsed
110754 fi
110755 (cd include && ${MAKE-make})
110756 ;;
110757 esac
110758 done
110759 _ACEOF
110760
110761 cat >>$CONFIG_STATUS <<\_ACEOF
110762
110763 { (exit 0); exit 0; }
110764 _ACEOF
110765 chmod +x $CONFIG_STATUS
110766 ac_clean_files=$ac_clean_files_save
110767
110768
110769 # configure is writing to config.log, and then calls config.status.
110770 # config.status does its own redirection, appending to config.log.
110771 # Unfortunately, on DOS this fails, as config.log is still kept open
110772 # by configure, so config.status won't be able to write to it; its
110773 # output is simply discarded. So we exec the FD to /dev/null,
110774 # effectively closing config.log, so it can be properly (re)opened and
110775 # appended to by config.status. When coming back to configure, we
110776 # need to make the FD available again.
110777 if test "$no_create" != yes; then
110778 ac_cs_success=:
110779 ac_config_status_args=
110780 test "$silent" = yes &&
110781 ac_config_status_args="$ac_config_status_args --quiet"
110782 exec 5>/dev/null
110783 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
110784 exec 5>>config.log
110785 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
110786 # would make configure fail if this is the last instruction.
110787 $ac_cs_success || { (exit 1); exit 1; }
110788 fi
110789