]> git.ipfire.org Git - thirdparty/gcc.git/blob - libstdc++-v3/configure
fd3779979563da592f2e429fa7be5516f39b4953
[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 LIBTOOL CXXCPP CPPFLAGS enable_shared enable_static GLIBCXX_HOSTED_TRUE GLIBCXX_HOSTED_FALSE GLIBCXX_BUILD_PCH_TRUE GLIBCXX_BUILD_PCH_FALSE glibcxx_PCHFLAGS CSTDIO_H BASIC_FILE_H BASIC_FILE_CC CPP EGREP check_msgfmt glibcxx_MOFILES glibcxx_POFILES glibcxx_localedir USE_NLS CLOCALE_H 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_MAP port_specific_symbol_files GLIBCXX_BUILD_VERSIONED_SHLIB_TRUE GLIBCXX_BUILD_VERSIONED_SHLIB_FALSE baseline_dir ATOMICITY_SRCDIR ATOMIC_WORD_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_CXXCPP_set=${CXXCPP+set}
754 ac_env_CXXCPP_value=$CXXCPP
755 ac_cv_env_CXXCPP_set=${CXXCPP+set}
756 ac_cv_env_CXXCPP_value=$CXXCPP
757 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
758 ac_env_CPPFLAGS_value=$CPPFLAGS
759 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
760 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
761 ac_env_CPP_set=${CPP+set}
762 ac_env_CPP_value=$CPP
763 ac_cv_env_CPP_set=${CPP+set}
764 ac_cv_env_CPP_value=$CPP
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-c99 turns on ISO/IEC 9899:1999 support
873 [default=yes]
874 --enable-long-long enable template specializations for 'long long'
875 [default=yes]
876 --enable-wchar_t enable template specializations for 'wchar_t'
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-symvers=STYLE enables symbol versioning of the shared library
891 [default=yes]
892 --enable-version-specific-runtime-libs
893 Specify that runtime libraries should be installed
894 in a compiler-specific directory
895
896 Optional Packages:
897 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
898 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
899 --with-target-subdir=SUBDIR
900 configuring in a subdirectory
901 --with-cross-host=HOST configuring with a cross compiler
902 --with-newlib assume newlib as a system C library
903 --with-gnu-ld assume the C compiler uses GNU ld default=no
904 --with-pic try to use only PIC/non-PIC objects default=use both
905 --with-gxx-include-dir=DIR
906 installation directory for include files
907
908 Some influential environment variables:
909 CC C compiler command
910 CFLAGS C compiler flags
911 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
912 nonstandard directory <lib dir>
913 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
914 headers in a nonstandard directory <include dir>
915 CXX C++ compiler command
916 CXXFLAGS C++ compiler flags
917 CXXCPP C++ preprocessor
918 CPP C preprocessor
919
920 Use these variables to override the choices made by `configure' or to help
921 it to find libraries and programs with nonstandard names/locations.
922
923 _ACEOF
924 fi
925
926 if test "$ac_init_help" = "recursive"; then
927 # If there are subdirs, report their specific --help.
928 ac_popdir=`pwd`
929 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
930 test -d $ac_dir || continue
931 ac_builddir=.
932
933 if test "$ac_dir" != .; then
934 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
935 # A "../" for each directory in $ac_dir_suffix.
936 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
937 else
938 ac_dir_suffix= ac_top_builddir=
939 fi
940
941 case $srcdir in
942 .) # No --srcdir option. We are building in place.
943 ac_srcdir=.
944 if test -z "$ac_top_builddir"; then
945 ac_top_srcdir=.
946 else
947 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
948 fi ;;
949 [\\/]* | ?:[\\/]* ) # Absolute path.
950 ac_srcdir=$srcdir$ac_dir_suffix;
951 ac_top_srcdir=$srcdir ;;
952 *) # Relative path.
953 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
954 ac_top_srcdir=$ac_top_builddir$srcdir ;;
955 esac
956
957 # Do not use `cd foo && pwd` to compute absolute paths, because
958 # the directories may not exist.
959 case `pwd` in
960 .) ac_abs_builddir="$ac_dir";;
961 *)
962 case "$ac_dir" in
963 .) ac_abs_builddir=`pwd`;;
964 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
965 *) ac_abs_builddir=`pwd`/"$ac_dir";;
966 esac;;
967 esac
968 case $ac_abs_builddir in
969 .) ac_abs_top_builddir=${ac_top_builddir}.;;
970 *)
971 case ${ac_top_builddir}. in
972 .) ac_abs_top_builddir=$ac_abs_builddir;;
973 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
974 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
975 esac;;
976 esac
977 case $ac_abs_builddir in
978 .) ac_abs_srcdir=$ac_srcdir;;
979 *)
980 case $ac_srcdir in
981 .) ac_abs_srcdir=$ac_abs_builddir;;
982 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
983 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
984 esac;;
985 esac
986 case $ac_abs_builddir in
987 .) ac_abs_top_srcdir=$ac_top_srcdir;;
988 *)
989 case $ac_top_srcdir in
990 .) ac_abs_top_srcdir=$ac_abs_builddir;;
991 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
992 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
993 esac;;
994 esac
995
996 cd $ac_dir
997 # Check for guested configure; otherwise get Cygnus style configure.
998 if test -f $ac_srcdir/configure.gnu; then
999 echo
1000 $SHELL $ac_srcdir/configure.gnu --help=recursive
1001 elif test -f $ac_srcdir/configure; then
1002 echo
1003 $SHELL $ac_srcdir/configure --help=recursive
1004 elif test -f $ac_srcdir/configure.ac ||
1005 test -f $ac_srcdir/configure.in; then
1006 echo
1007 $ac_configure --help
1008 else
1009 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1010 fi
1011 cd $ac_popdir
1012 done
1013 fi
1014
1015 test -n "$ac_init_help" && exit 0
1016 if $ac_init_version; then
1017 cat <<\_ACEOF
1018 package-unused configure version-unused
1019 generated by GNU Autoconf 2.59
1020
1021 Copyright (C) 2003 Free Software Foundation, Inc.
1022 This configure script is free software; the Free Software Foundation
1023 gives unlimited permission to copy, distribute and modify it.
1024 _ACEOF
1025 exit 0
1026 fi
1027 exec 5>config.log
1028 cat >&5 <<_ACEOF
1029 This file contains any messages produced by compilers while
1030 running configure, to aid debugging if configure makes a mistake.
1031
1032 It was created by package-unused $as_me version-unused, which was
1033 generated by GNU Autoconf 2.59. Invocation command line was
1034
1035 $ $0 $@
1036
1037 _ACEOF
1038 {
1039 cat <<_ASUNAME
1040 ## --------- ##
1041 ## Platform. ##
1042 ## --------- ##
1043
1044 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1045 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1046 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1047 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1048 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1049
1050 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1051 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1052
1053 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1054 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1055 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1056 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1057 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1058 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1059 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1060
1061 _ASUNAME
1062
1063 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1064 for as_dir in $PATH
1065 do
1066 IFS=$as_save_IFS
1067 test -z "$as_dir" && as_dir=.
1068 echo "PATH: $as_dir"
1069 done
1070
1071 } >&5
1072
1073 cat >&5 <<_ACEOF
1074
1075
1076 ## ----------- ##
1077 ## Core tests. ##
1078 ## ----------- ##
1079
1080 _ACEOF
1081
1082
1083 # Keep a trace of the command line.
1084 # Strip out --no-create and --no-recursion so they do not pile up.
1085 # Strip out --silent because we don't want to record it for future runs.
1086 # Also quote any args containing shell meta-characters.
1087 # Make two passes to allow for proper duplicate-argument suppression.
1088 ac_configure_args=
1089 ac_configure_args0=
1090 ac_configure_args1=
1091 ac_sep=
1092 ac_must_keep_next=false
1093 for ac_pass in 1 2
1094 do
1095 for ac_arg
1096 do
1097 case $ac_arg in
1098 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1099 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1100 | -silent | --silent | --silen | --sile | --sil)
1101 continue ;;
1102 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1103 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1104 esac
1105 case $ac_pass in
1106 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1107 2)
1108 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1109 if test $ac_must_keep_next = true; then
1110 ac_must_keep_next=false # Got value, back to normal.
1111 else
1112 case $ac_arg in
1113 *=* | --config-cache | -C | -disable-* | --disable-* \
1114 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1115 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1116 | -with-* | --with-* | -without-* | --without-* | --x)
1117 case "$ac_configure_args0 " in
1118 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1119 esac
1120 ;;
1121 -* ) ac_must_keep_next=true ;;
1122 esac
1123 fi
1124 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1125 # Get rid of the leading space.
1126 ac_sep=" "
1127 ;;
1128 esac
1129 done
1130 done
1131 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1132 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1133
1134 # When interrupted or exit'd, cleanup temporary files, and complete
1135 # config.log. We remove comments because anyway the quotes in there
1136 # would cause problems or look ugly.
1137 # WARNING: Be sure not to use single quotes in there, as some shells,
1138 # such as our DU 5.0 friend, will then `close' the trap.
1139 trap 'exit_status=$?
1140 # Save into config.log some information that might help in debugging.
1141 {
1142 echo
1143
1144 cat <<\_ASBOX
1145 ## ---------------- ##
1146 ## Cache variables. ##
1147 ## ---------------- ##
1148 _ASBOX
1149 echo
1150 # The following way of writing the cache mishandles newlines in values,
1151 {
1152 (set) 2>&1 |
1153 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1154 *ac_space=\ *)
1155 sed -n \
1156 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1157 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1158 ;;
1159 *)
1160 sed -n \
1161 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1162 ;;
1163 esac;
1164 }
1165 echo
1166
1167 cat <<\_ASBOX
1168 ## ----------------- ##
1169 ## Output variables. ##
1170 ## ----------------- ##
1171 _ASBOX
1172 echo
1173 for ac_var in $ac_subst_vars
1174 do
1175 eval ac_val=$`echo $ac_var`
1176 echo "$ac_var='"'"'$ac_val'"'"'"
1177 done | sort
1178 echo
1179
1180 if test -n "$ac_subst_files"; then
1181 cat <<\_ASBOX
1182 ## ------------- ##
1183 ## Output files. ##
1184 ## ------------- ##
1185 _ASBOX
1186 echo
1187 for ac_var in $ac_subst_files
1188 do
1189 eval ac_val=$`echo $ac_var`
1190 echo "$ac_var='"'"'$ac_val'"'"'"
1191 done | sort
1192 echo
1193 fi
1194
1195 if test -s confdefs.h; then
1196 cat <<\_ASBOX
1197 ## ----------- ##
1198 ## confdefs.h. ##
1199 ## ----------- ##
1200 _ASBOX
1201 echo
1202 sed "/^$/d" confdefs.h | sort
1203 echo
1204 fi
1205 test "$ac_signal" != 0 &&
1206 echo "$as_me: caught signal $ac_signal"
1207 echo "$as_me: exit $exit_status"
1208 } >&5
1209 rm -f core *.core &&
1210 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1211 exit $exit_status
1212 ' 0
1213 for ac_signal in 1 2 13 15; do
1214 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1215 done
1216 ac_signal=0
1217
1218 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1219 rm -rf conftest* confdefs.h
1220 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1221 echo >confdefs.h
1222
1223 # Predefined preprocessor variables.
1224
1225 cat >>confdefs.h <<_ACEOF
1226 #define PACKAGE_NAME "$PACKAGE_NAME"
1227 _ACEOF
1228
1229
1230 cat >>confdefs.h <<_ACEOF
1231 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1232 _ACEOF
1233
1234
1235 cat >>confdefs.h <<_ACEOF
1236 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1237 _ACEOF
1238
1239
1240 cat >>confdefs.h <<_ACEOF
1241 #define PACKAGE_STRING "$PACKAGE_STRING"
1242 _ACEOF
1243
1244
1245 cat >>confdefs.h <<_ACEOF
1246 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1247 _ACEOF
1248
1249
1250 # Let the site file select an alternate cache file if it wants to.
1251 # Prefer explicitly selected file to automatically selected ones.
1252 if test -z "$CONFIG_SITE"; then
1253 if test "x$prefix" != xNONE; then
1254 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1255 else
1256 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1257 fi
1258 fi
1259 for ac_site_file in $CONFIG_SITE; do
1260 if test -r "$ac_site_file"; then
1261 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1262 echo "$as_me: loading site script $ac_site_file" >&6;}
1263 sed 's/^/| /' "$ac_site_file" >&5
1264 . "$ac_site_file"
1265 fi
1266 done
1267
1268 if test -r "$cache_file"; then
1269 # Some versions of bash will fail to source /dev/null (special
1270 # files actually), so we avoid doing that.
1271 if test -f "$cache_file"; then
1272 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1273 echo "$as_me: loading cache $cache_file" >&6;}
1274 case $cache_file in
1275 [\\/]* | ?:[\\/]* ) . $cache_file;;
1276 *) . ./$cache_file;;
1277 esac
1278 fi
1279 else
1280 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1281 echo "$as_me: creating cache $cache_file" >&6;}
1282 >$cache_file
1283 fi
1284
1285 # Check that the precious variables saved in the cache have kept the same
1286 # value.
1287 ac_cache_corrupted=false
1288 for ac_var in `(set) 2>&1 |
1289 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1290 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1291 eval ac_new_set=\$ac_env_${ac_var}_set
1292 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1293 eval ac_new_val="\$ac_env_${ac_var}_value"
1294 case $ac_old_set,$ac_new_set in
1295 set,)
1296 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1297 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1298 ac_cache_corrupted=: ;;
1299 ,set)
1300 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1301 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1302 ac_cache_corrupted=: ;;
1303 ,);;
1304 *)
1305 if test "x$ac_old_val" != "x$ac_new_val"; then
1306 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1307 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1308 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1309 echo "$as_me: former value: $ac_old_val" >&2;}
1310 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1311 echo "$as_me: current value: $ac_new_val" >&2;}
1312 ac_cache_corrupted=:
1313 fi;;
1314 esac
1315 # Pass precious variables to config.status.
1316 if test "$ac_new_set" = set; then
1317 case $ac_new_val in
1318 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1319 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1320 *) ac_arg=$ac_var=$ac_new_val ;;
1321 esac
1322 case " $ac_configure_args " in
1323 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1324 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1325 esac
1326 fi
1327 done
1328 if $ac_cache_corrupted; then
1329 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1330 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1331 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1332 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1333 { (exit 1); exit 1; }; }
1334 fi
1335
1336 ac_ext=c
1337 ac_cpp='$CPP $CPPFLAGS'
1338 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1339 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1340 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1341
1342
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 ac_config_headers="$ac_config_headers config.h"
1370
1371
1372 # This works around the fact that libtool configuration may change LD
1373 # for this particular configuration, but some shells, instead of
1374 # keeping the changes in LD private, export them just because LD is
1375 # exported. Only used at the end of this file.
1376 ### am handles this now? ORIGINAL_LD_FOR_MULTILIBS=$LD
1377
1378 # For libtool versioning info, format is CURRENT:REVISION:AGE
1379 libtool_VERSION=6:6:0
1380
1381
1382 # Find the rest of the source tree framework.
1383 # Default to --enable-multilib
1384 # Check whether --enable-multilib or --disable-multilib was given.
1385 if test "${enable_multilib+set}" = set; then
1386 enableval="$enable_multilib"
1387 case "$enableval" in
1388 yes) multilib=yes ;;
1389 no) multilib=no ;;
1390 *) { { echo "$as_me:$LINENO: error: bad value $enableval for multilib option" >&5
1391 echo "$as_me: error: bad value $enableval for multilib option" >&2;}
1392 { (exit 1); exit 1; }; } ;;
1393 esac
1394 else
1395 multilib=yes
1396 fi;
1397
1398 # We may get other options which we leave undocumented:
1399 # --with-target-subdir, --with-multisrctop, --with-multisubdir
1400 # See config-ml.in if you want the gory details.
1401
1402 if test "$srcdir" = "."; then
1403 if test "$with_target_subdir" != "."; then
1404 multi_basedir="$srcdir/$with_multisrctop../.."
1405 else
1406 multi_basedir="$srcdir/$with_multisrctop.."
1407 fi
1408 else
1409 multi_basedir="$srcdir/.."
1410 fi
1411
1412
1413 ac_config_commands="$ac_config_commands default-1"
1414
1415
1416 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
1417 #
1418 # You will slowly go insane if you do not grok the following fact: when
1419 # building v3 as part of the compiler, the top-level /target/ becomes the
1420 # library's /host/. configure then causes --target to default to --host,
1421 # exactly like any other package using autoconf. Therefore, 'target' and
1422 # 'host' will always be the same. This makes sense both for native and
1423 # cross compilers, just think about it for a little while. :-)
1424 #
1425 # Also, if v3 is being configured as part of a cross compiler, the top-level
1426 # configure script will pass the "real" host as $with_cross_host.
1427 #
1428 # Do not delete or change the following two lines. For why, see
1429 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
1430 ac_aux_dir=
1431 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1432 if test -f $ac_dir/install-sh; then
1433 ac_aux_dir=$ac_dir
1434 ac_install_sh="$ac_aux_dir/install-sh -c"
1435 break
1436 elif test -f $ac_dir/install.sh; then
1437 ac_aux_dir=$ac_dir
1438 ac_install_sh="$ac_aux_dir/install.sh -c"
1439 break
1440 elif test -f $ac_dir/shtool; then
1441 ac_aux_dir=$ac_dir
1442 ac_install_sh="$ac_aux_dir/shtool install -c"
1443 break
1444 fi
1445 done
1446 if test -z "$ac_aux_dir"; then
1447 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1448 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1449 { (exit 1); exit 1; }; }
1450 fi
1451 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1452 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1453 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1454
1455 # Make sure we can run config.sub.
1456 $ac_config_sub sun4 >/dev/null 2>&1 ||
1457 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1458 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1459 { (exit 1); exit 1; }; }
1460
1461 echo "$as_me:$LINENO: checking build system type" >&5
1462 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1463 if test "${ac_cv_build+set}" = set; then
1464 echo $ECHO_N "(cached) $ECHO_C" >&6
1465 else
1466 ac_cv_build_alias=$build_alias
1467 test -z "$ac_cv_build_alias" &&
1468 ac_cv_build_alias=`$ac_config_guess`
1469 test -z "$ac_cv_build_alias" &&
1470 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1471 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1472 { (exit 1); exit 1; }; }
1473 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1474 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1475 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1476 { (exit 1); exit 1; }; }
1477
1478 fi
1479 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1480 echo "${ECHO_T}$ac_cv_build" >&6
1481 build=$ac_cv_build
1482 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1483 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1484 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1485
1486
1487 echo "$as_me:$LINENO: checking host system type" >&5
1488 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1489 if test "${ac_cv_host+set}" = set; then
1490 echo $ECHO_N "(cached) $ECHO_C" >&6
1491 else
1492 ac_cv_host_alias=$host_alias
1493 test -z "$ac_cv_host_alias" &&
1494 ac_cv_host_alias=$ac_cv_build_alias
1495 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1496 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1497 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1498 { (exit 1); exit 1; }; }
1499
1500 fi
1501 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1502 echo "${ECHO_T}$ac_cv_host" >&6
1503 host=$ac_cv_host
1504 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1505 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1506 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1507
1508
1509 echo "$as_me:$LINENO: checking target system type" >&5
1510 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1511 if test "${ac_cv_target+set}" = set; then
1512 echo $ECHO_N "(cached) $ECHO_C" >&6
1513 else
1514 ac_cv_target_alias=$target_alias
1515 test "x$ac_cv_target_alias" = "x" &&
1516 ac_cv_target_alias=$ac_cv_host_alias
1517 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1518 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1519 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1520 { (exit 1); exit 1; }; }
1521
1522 fi
1523 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1524 echo "${ECHO_T}$ac_cv_target" >&6
1525 target=$ac_cv_target
1526 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1527 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1528 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1529
1530
1531 # The aliases save the names the user supplied, while $host etc.
1532 # will get canonicalized.
1533 test -n "$target_alias" &&
1534 test "$program_prefix$program_suffix$program_transform_name" = \
1535 NONENONEs,x,x, &&
1536 program_prefix=${target_alias}-
1537 target_alias=${target_alias-$host_alias}
1538
1539 # Handy for debugging:
1540 #AC_MSG_NOTICE($build / $host / $target / $host_alias / $target_alias); sleep 5
1541
1542 if test "$build" != "$host"; then
1543 # We are being configured with some form of cross compiler.
1544 GLIBCXX_IS_NATIVE=false
1545
1546 else
1547 GLIBCXX_IS_NATIVE=true
1548 fi
1549
1550 # Sets up automake. Must come after AC_CANONICAL_SYSTEM. Each of the
1551 # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
1552 # 1.x: minimum required version
1553 # no-define: PACKAGE and VERSION will not be #define'd in config.h (a bunch
1554 # of other PACKAGE_* variables will, however, and there's nothing
1555 # we can do about that; they come from AC_INIT).
1556 # foreign: we don't follow the normal rules for GNU packages (no COPYING
1557 # file in the top srcdir, etc, etc), so stop complaining.
1558 # no-dependencies: turns off auto dependency generation (just for now)
1559 # -Wall: turns on all automake warnings...
1560 # -Wno-portability: ...except this one, since GNU make is now required.
1561 am__api_version="1.9"
1562 # Find a good install program. We prefer a C program (faster),
1563 # so one script is as good as another. But avoid the broken or
1564 # incompatible versions:
1565 # SysV /etc/install, /usr/sbin/install
1566 # SunOS /usr/etc/install
1567 # IRIX /sbin/install
1568 # AIX /bin/install
1569 # AmigaOS /C/install, which installs bootblocks on floppy discs
1570 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1571 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1572 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1573 # OS/2's system install, which has a completely different semantic
1574 # ./install, which can be erroneously created by make from ./install.sh.
1575 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1576 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1577 if test -z "$INSTALL"; then
1578 if test "${ac_cv_path_install+set}" = set; then
1579 echo $ECHO_N "(cached) $ECHO_C" >&6
1580 else
1581 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1582 for as_dir in $PATH
1583 do
1584 IFS=$as_save_IFS
1585 test -z "$as_dir" && as_dir=.
1586 # Account for people who put trailing slashes in PATH elements.
1587 case $as_dir/ in
1588 ./ | .// | /cC/* | \
1589 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1590 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1591 /usr/ucb/* ) ;;
1592 *)
1593 # OSF1 and SCO ODT 3.0 have their own names for install.
1594 # Don't use installbsd from OSF since it installs stuff as root
1595 # by default.
1596 for ac_prog in ginstall scoinst install; do
1597 for ac_exec_ext in '' $ac_executable_extensions; do
1598 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1599 if test $ac_prog = install &&
1600 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1601 # AIX install. It has an incompatible calling convention.
1602 :
1603 elif test $ac_prog = install &&
1604 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1605 # program-specific install script used by HP pwplus--don't use.
1606 :
1607 else
1608 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1609 break 3
1610 fi
1611 fi
1612 done
1613 done
1614 ;;
1615 esac
1616 done
1617
1618
1619 fi
1620 if test "${ac_cv_path_install+set}" = set; then
1621 INSTALL=$ac_cv_path_install
1622 else
1623 # As a last resort, use the slow shell script. We don't cache a
1624 # path for INSTALL within a source directory, because that will
1625 # break other packages using the cache if that directory is
1626 # removed, or if the path is relative.
1627 INSTALL=$ac_install_sh
1628 fi
1629 fi
1630 echo "$as_me:$LINENO: result: $INSTALL" >&5
1631 echo "${ECHO_T}$INSTALL" >&6
1632
1633 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1634 # It thinks the first close brace ends the variable substitution.
1635 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1636
1637 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1638
1639 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1640
1641 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1642 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1643 # Just in case
1644 sleep 1
1645 echo timestamp > conftest.file
1646 # Do `set' in a subshell so we don't clobber the current shell's
1647 # arguments. Must try -L first in case configure is actually a
1648 # symlink; some systems play weird games with the mod time of symlinks
1649 # (eg FreeBSD returns the mod time of the symlink's containing
1650 # directory).
1651 if (
1652 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1653 if test "$*" = "X"; then
1654 # -L didn't work.
1655 set X `ls -t $srcdir/configure conftest.file`
1656 fi
1657 rm -f conftest.file
1658 if test "$*" != "X $srcdir/configure conftest.file" \
1659 && test "$*" != "X conftest.file $srcdir/configure"; then
1660
1661 # If neither matched, then we have a broken ls. This can happen
1662 # if, for instance, CONFIG_SHELL is bash and it inherits a
1663 # broken ls alias from the environment. This has actually
1664 # happened. Such a system could not be considered "sane".
1665 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1666 alias in your environment" >&5
1667 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1668 alias in your environment" >&2;}
1669 { (exit 1); exit 1; }; }
1670 fi
1671
1672 test "$2" = conftest.file
1673 )
1674 then
1675 # Ok.
1676 :
1677 else
1678 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1679 Check your system clock" >&5
1680 echo "$as_me: error: newly created file is older than distributed files!
1681 Check your system clock" >&2;}
1682 { (exit 1); exit 1; }; }
1683 fi
1684 echo "$as_me:$LINENO: result: yes" >&5
1685 echo "${ECHO_T}yes" >&6
1686 test "$program_prefix" != NONE &&
1687 program_transform_name="s,^,$program_prefix,;$program_transform_name"
1688 # Use a double $ so make ignores it.
1689 test "$program_suffix" != NONE &&
1690 program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1691 # Double any \ or $. echo might interpret backslashes.
1692 # By default was `s,x,x', remove it if useless.
1693 cat <<\_ACEOF >conftest.sed
1694 s/[\\$]/&&/g;s/;s,x,x,$//
1695 _ACEOF
1696 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1697 rm conftest.sed
1698
1699 # expand $ac_aux_dir to an absolute path
1700 am_aux_dir=`cd $ac_aux_dir && pwd`
1701
1702 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1703 # Use eval to expand $SHELL
1704 if eval "$MISSING --run true"; then
1705 am_missing_run="$MISSING --run "
1706 else
1707 am_missing_run=
1708 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1709 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1710 fi
1711
1712 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
1713 # We used to keeping the `.' as first argument, in order to
1714 # allow $(mkdir_p) to be used without argument. As in
1715 # $(mkdir_p) $(somedir)
1716 # where $(somedir) is conditionally defined. However this is wrong
1717 # for two reasons:
1718 # 1. if the package is installed by a user who cannot write `.'
1719 # make install will fail,
1720 # 2. the above comment should most certainly read
1721 # $(mkdir_p) $(DESTDIR)$(somedir)
1722 # so it does not work when $(somedir) is undefined and
1723 # $(DESTDIR) is not.
1724 # To support the latter case, we have to write
1725 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1726 # so the `.' trick is pointless.
1727 mkdir_p='mkdir -p --'
1728 else
1729 # On NextStep and OpenStep, the `mkdir' command does not
1730 # recognize any option. It will interpret all options as
1731 # directories to create, and then abort because `.' already
1732 # exists.
1733 for d in ./-p ./--version;
1734 do
1735 test -d $d && rmdir $d
1736 done
1737 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1738 if test -f "$ac_aux_dir/mkinstalldirs"; then
1739 mkdir_p='$(mkinstalldirs)'
1740 else
1741 mkdir_p='$(install_sh) -d'
1742 fi
1743 fi
1744
1745 for ac_prog in gawk mawk nawk awk
1746 do
1747 # Extract the first word of "$ac_prog", so it can be a program name with args.
1748 set dummy $ac_prog; ac_word=$2
1749 echo "$as_me:$LINENO: checking for $ac_word" >&5
1750 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1751 if test "${ac_cv_prog_AWK+set}" = set; then
1752 echo $ECHO_N "(cached) $ECHO_C" >&6
1753 else
1754 if test -n "$AWK"; then
1755 ac_cv_prog_AWK="$AWK" # Let the user override the test.
1756 else
1757 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1758 for as_dir in $PATH
1759 do
1760 IFS=$as_save_IFS
1761 test -z "$as_dir" && as_dir=.
1762 for ac_exec_ext in '' $ac_executable_extensions; do
1763 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1764 ac_cv_prog_AWK="$ac_prog"
1765 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1766 break 2
1767 fi
1768 done
1769 done
1770
1771 fi
1772 fi
1773 AWK=$ac_cv_prog_AWK
1774 if test -n "$AWK"; then
1775 echo "$as_me:$LINENO: result: $AWK" >&5
1776 echo "${ECHO_T}$AWK" >&6
1777 else
1778 echo "$as_me:$LINENO: result: no" >&5
1779 echo "${ECHO_T}no" >&6
1780 fi
1781
1782 test -n "$AWK" && break
1783 done
1784
1785 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1786 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1787 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1788 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1789 echo $ECHO_N "(cached) $ECHO_C" >&6
1790 else
1791 cat >conftest.make <<\_ACEOF
1792 all:
1793 @echo 'ac_maketemp="$(MAKE)"'
1794 _ACEOF
1795 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1796 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1797 if test -n "$ac_maketemp"; then
1798 eval ac_cv_prog_make_${ac_make}_set=yes
1799 else
1800 eval ac_cv_prog_make_${ac_make}_set=no
1801 fi
1802 rm -f conftest.make
1803 fi
1804 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1805 echo "$as_me:$LINENO: result: yes" >&5
1806 echo "${ECHO_T}yes" >&6
1807 SET_MAKE=
1808 else
1809 echo "$as_me:$LINENO: result: no" >&5
1810 echo "${ECHO_T}no" >&6
1811 SET_MAKE="MAKE=${MAKE-make}"
1812 fi
1813
1814 rm -rf .tst 2>/dev/null
1815 mkdir .tst 2>/dev/null
1816 if test -d .tst; then
1817 am__leading_dot=.
1818 else
1819 am__leading_dot=_
1820 fi
1821 rmdir .tst 2>/dev/null
1822
1823 # test to see if srcdir already configured
1824 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1825 test -f $srcdir/config.status; then
1826 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1827 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1828 { (exit 1); exit 1; }; }
1829 fi
1830
1831 # test whether we have cygpath
1832 if test -z "$CYGPATH_W"; then
1833 if (cygpath --version) >/dev/null 2>/dev/null; then
1834 CYGPATH_W='cygpath -w'
1835 else
1836 CYGPATH_W=echo
1837 fi
1838 fi
1839
1840
1841 # Define the identity of the package.
1842 PACKAGE='libstdc++'
1843 VERSION='version-unused'
1844
1845
1846 # Some tools Automake needs.
1847
1848 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1849
1850
1851 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
1852
1853
1854 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1855
1856
1857 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
1858
1859
1860 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1861
1862 install_sh=${install_sh-"$am_aux_dir/install-sh"}
1863
1864 # Installed binaries are usually stripped using `strip' when the user
1865 # run `make install-strip'. However `strip' might not be the right
1866 # tool to use in cross-compilation environments, therefore Automake
1867 # will honor the `STRIP' environment variable to overrule this program.
1868 if test "$cross_compiling" != no; then
1869 if test -n "$ac_tool_prefix"; then
1870 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1871 set dummy ${ac_tool_prefix}strip; ac_word=$2
1872 echo "$as_me:$LINENO: checking for $ac_word" >&5
1873 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1874 if test "${ac_cv_prog_STRIP+set}" = set; then
1875 echo $ECHO_N "(cached) $ECHO_C" >&6
1876 else
1877 if test -n "$STRIP"; then
1878 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1879 else
1880 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1881 for as_dir in $PATH
1882 do
1883 IFS=$as_save_IFS
1884 test -z "$as_dir" && as_dir=.
1885 for ac_exec_ext in '' $ac_executable_extensions; do
1886 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1887 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1888 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1889 break 2
1890 fi
1891 done
1892 done
1893
1894 fi
1895 fi
1896 STRIP=$ac_cv_prog_STRIP
1897 if test -n "$STRIP"; then
1898 echo "$as_me:$LINENO: result: $STRIP" >&5
1899 echo "${ECHO_T}$STRIP" >&6
1900 else
1901 echo "$as_me:$LINENO: result: no" >&5
1902 echo "${ECHO_T}no" >&6
1903 fi
1904
1905 fi
1906 if test -z "$ac_cv_prog_STRIP"; then
1907 ac_ct_STRIP=$STRIP
1908 # Extract the first word of "strip", so it can be a program name with args.
1909 set dummy strip; ac_word=$2
1910 echo "$as_me:$LINENO: checking for $ac_word" >&5
1911 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1912 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1913 echo $ECHO_N "(cached) $ECHO_C" >&6
1914 else
1915 if test -n "$ac_ct_STRIP"; then
1916 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
1917 else
1918 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1919 for as_dir in $PATH
1920 do
1921 IFS=$as_save_IFS
1922 test -z "$as_dir" && as_dir=.
1923 for ac_exec_ext in '' $ac_executable_extensions; do
1924 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1925 ac_cv_prog_ac_ct_STRIP="strip"
1926 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1927 break 2
1928 fi
1929 done
1930 done
1931
1932 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
1933 fi
1934 fi
1935 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
1936 if test -n "$ac_ct_STRIP"; then
1937 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1938 echo "${ECHO_T}$ac_ct_STRIP" >&6
1939 else
1940 echo "$as_me:$LINENO: result: no" >&5
1941 echo "${ECHO_T}no" >&6
1942 fi
1943
1944 STRIP=$ac_ct_STRIP
1945 else
1946 STRIP="$ac_cv_prog_STRIP"
1947 fi
1948
1949 fi
1950 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
1951
1952 # We need awk for the "check" target. The system "awk" is bad on
1953 # some platforms.
1954 # Always define AMTAR for backward compatibility.
1955
1956 AMTAR=${AMTAR-"${am_missing_run}tar"}
1957
1958 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969 # Runs configure.host, finds CC, CXX, and assorted other critical bits. Sets
1970 # up critical shell variables.
1971
1972 # Keep these sync'd with the list in Makefile.am. The first provides an
1973 # expandable list at autoconf time; the second provides an expandable list
1974 # (i.e., shell variable) at configure time.
1975
1976 SUBDIRS='include libmath libsupc++ src po testsuite'
1977
1978 # These need to be absolute paths, yet at the same time need to
1979 # canonicalize only relative paths, because then amd will not unmount
1980 # drives. Thus the use of PWDCMD: set it to 'pawd' or 'amq -w' if using amd.
1981 glibcxx_builddir=`${PWDCMD-pwd}`
1982 case $srcdir in
1983 \\/$* | ?:\\/*) glibcxx_srcdir=${srcdir} ;;
1984 *) glibcxx_srcdir=`cd "$srcdir" && ${PWDCMD-pwd} || echo "$srcdir"` ;;
1985 esac
1986 toplevel_srcdir=${glibcxx_srcdir}/..
1987
1988
1989
1990
1991 # We use these options to decide which functions to include. They are
1992 # set from the top level.
1993
1994 # Check whether --with-target-subdir or --without-target-subdir was given.
1995 if test "${with_target_subdir+set}" = set; then
1996 withval="$with_target_subdir"
1997
1998 fi;
1999
2000
2001 # Check whether --with-cross-host or --without-cross-host was given.
2002 if test "${with_cross_host+set}" = set; then
2003 withval="$with_cross_host"
2004
2005 fi;
2006
2007
2008 # Check whether --with-newlib or --without-newlib was given.
2009 if test "${with_newlib+set}" = set; then
2010 withval="$with_newlib"
2011
2012 fi;
2013
2014 # We're almost certainly being configured before anything else which uses
2015 # C++, so all of our AC_PROG_* discoveries will be cached. It's vital that
2016 # we not cache the value of CXX that we "discover" here, because it's set
2017 # to something unique for us and libjava. Other target libraries need to
2018 # find CXX for themselves. We yank the rug out from under the normal AC_*
2019 # process by sneakily renaming the cache variable. This also lets us debug
2020 # the value of "our" CXX in postmortems.
2021 #
2022 # We must also force CXX to /not/ be a precious variable, otherwise the
2023 # wrong (non-multilib-adjusted) value will be used in multilibs. This
2024 # little trick also affects CPPFLAGS, CXXFLAGS, and LDFLAGS. And as a side
2025 # effect, CXXFLAGS is no longer automagically subst'd, so we have to do
2026 # that ourselves. Un-preciousing AC_PROG_CC also affects CC and CFLAGS.
2027 #
2028 # -fno-builtin must be present here so that a non-conflicting form of
2029 # std::exit can be guessed by AC_PROG_CXX, and used in later tests.
2030
2031
2032
2033
2034 save_CXXFLAGS="$CXXFLAGS"
2035 CXXFLAGS="$CXXFLAGS -fno-builtin"
2036 ac_ext=c
2037 ac_cpp='$CPP $CPPFLAGS'
2038 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2039 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2040 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2041 if test -n "$ac_tool_prefix"; then
2042 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2043 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2044 echo "$as_me:$LINENO: checking for $ac_word" >&5
2045 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2046 if test "${ac_cv_prog_CC+set}" = set; then
2047 echo $ECHO_N "(cached) $ECHO_C" >&6
2048 else
2049 if test -n "$CC"; then
2050 ac_cv_prog_CC="$CC" # Let the user override the test.
2051 else
2052 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2053 for as_dir in $PATH
2054 do
2055 IFS=$as_save_IFS
2056 test -z "$as_dir" && as_dir=.
2057 for ac_exec_ext in '' $ac_executable_extensions; do
2058 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2059 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2060 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2061 break 2
2062 fi
2063 done
2064 done
2065
2066 fi
2067 fi
2068 CC=$ac_cv_prog_CC
2069 if test -n "$CC"; then
2070 echo "$as_me:$LINENO: result: $CC" >&5
2071 echo "${ECHO_T}$CC" >&6
2072 else
2073 echo "$as_me:$LINENO: result: no" >&5
2074 echo "${ECHO_T}no" >&6
2075 fi
2076
2077 fi
2078 if test -z "$ac_cv_prog_CC"; then
2079 ac_ct_CC=$CC
2080 # Extract the first word of "gcc", so it can be a program name with args.
2081 set dummy gcc; ac_word=$2
2082 echo "$as_me:$LINENO: checking for $ac_word" >&5
2083 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2084 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2085 echo $ECHO_N "(cached) $ECHO_C" >&6
2086 else
2087 if test -n "$ac_ct_CC"; then
2088 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2089 else
2090 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2091 for as_dir in $PATH
2092 do
2093 IFS=$as_save_IFS
2094 test -z "$as_dir" && as_dir=.
2095 for ac_exec_ext in '' $ac_executable_extensions; do
2096 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2097 ac_cv_prog_ac_ct_CC="gcc"
2098 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2099 break 2
2100 fi
2101 done
2102 done
2103
2104 fi
2105 fi
2106 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2107 if test -n "$ac_ct_CC"; then
2108 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2109 echo "${ECHO_T}$ac_ct_CC" >&6
2110 else
2111 echo "$as_me:$LINENO: result: no" >&5
2112 echo "${ECHO_T}no" >&6
2113 fi
2114
2115 CC=$ac_ct_CC
2116 else
2117 CC="$ac_cv_prog_CC"
2118 fi
2119
2120 if test -z "$CC"; then
2121 if test -n "$ac_tool_prefix"; then
2122 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2123 set dummy ${ac_tool_prefix}cc; ac_word=$2
2124 echo "$as_me:$LINENO: checking for $ac_word" >&5
2125 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2126 if test "${ac_cv_prog_CC+set}" = set; then
2127 echo $ECHO_N "(cached) $ECHO_C" >&6
2128 else
2129 if test -n "$CC"; then
2130 ac_cv_prog_CC="$CC" # Let the user override the test.
2131 else
2132 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2133 for as_dir in $PATH
2134 do
2135 IFS=$as_save_IFS
2136 test -z "$as_dir" && as_dir=.
2137 for ac_exec_ext in '' $ac_executable_extensions; do
2138 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2139 ac_cv_prog_CC="${ac_tool_prefix}cc"
2140 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2141 break 2
2142 fi
2143 done
2144 done
2145
2146 fi
2147 fi
2148 CC=$ac_cv_prog_CC
2149 if test -n "$CC"; then
2150 echo "$as_me:$LINENO: result: $CC" >&5
2151 echo "${ECHO_T}$CC" >&6
2152 else
2153 echo "$as_me:$LINENO: result: no" >&5
2154 echo "${ECHO_T}no" >&6
2155 fi
2156
2157 fi
2158 if test -z "$ac_cv_prog_CC"; then
2159 ac_ct_CC=$CC
2160 # Extract the first word of "cc", so it can be a program name with args.
2161 set dummy cc; ac_word=$2
2162 echo "$as_me:$LINENO: checking for $ac_word" >&5
2163 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2164 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2165 echo $ECHO_N "(cached) $ECHO_C" >&6
2166 else
2167 if test -n "$ac_ct_CC"; then
2168 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2169 else
2170 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2171 for as_dir in $PATH
2172 do
2173 IFS=$as_save_IFS
2174 test -z "$as_dir" && as_dir=.
2175 for ac_exec_ext in '' $ac_executable_extensions; do
2176 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2177 ac_cv_prog_ac_ct_CC="cc"
2178 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2179 break 2
2180 fi
2181 done
2182 done
2183
2184 fi
2185 fi
2186 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2187 if test -n "$ac_ct_CC"; then
2188 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2189 echo "${ECHO_T}$ac_ct_CC" >&6
2190 else
2191 echo "$as_me:$LINENO: result: no" >&5
2192 echo "${ECHO_T}no" >&6
2193 fi
2194
2195 CC=$ac_ct_CC
2196 else
2197 CC="$ac_cv_prog_CC"
2198 fi
2199
2200 fi
2201 if test -z "$CC"; then
2202 # Extract the first word of "cc", so it can be a program name with args.
2203 set dummy cc; ac_word=$2
2204 echo "$as_me:$LINENO: checking for $ac_word" >&5
2205 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2206 if test "${ac_cv_prog_CC+set}" = set; then
2207 echo $ECHO_N "(cached) $ECHO_C" >&6
2208 else
2209 if test -n "$CC"; then
2210 ac_cv_prog_CC="$CC" # Let the user override the test.
2211 else
2212 ac_prog_rejected=no
2213 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2214 for as_dir in $PATH
2215 do
2216 IFS=$as_save_IFS
2217 test -z "$as_dir" && as_dir=.
2218 for ac_exec_ext in '' $ac_executable_extensions; do
2219 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2220 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2221 ac_prog_rejected=yes
2222 continue
2223 fi
2224 ac_cv_prog_CC="cc"
2225 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2226 break 2
2227 fi
2228 done
2229 done
2230
2231 if test $ac_prog_rejected = yes; then
2232 # We found a bogon in the path, so make sure we never use it.
2233 set dummy $ac_cv_prog_CC
2234 shift
2235 if test $# != 0; then
2236 # We chose a different compiler from the bogus one.
2237 # However, it has the same basename, so the bogon will be chosen
2238 # first if we set CC to just the basename; use the full file name.
2239 shift
2240 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2241 fi
2242 fi
2243 fi
2244 fi
2245 CC=$ac_cv_prog_CC
2246 if test -n "$CC"; then
2247 echo "$as_me:$LINENO: result: $CC" >&5
2248 echo "${ECHO_T}$CC" >&6
2249 else
2250 echo "$as_me:$LINENO: result: no" >&5
2251 echo "${ECHO_T}no" >&6
2252 fi
2253
2254 fi
2255 if test -z "$CC"; then
2256 if test -n "$ac_tool_prefix"; then
2257 for ac_prog in cl
2258 do
2259 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2260 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2261 echo "$as_me:$LINENO: checking for $ac_word" >&5
2262 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2263 if test "${ac_cv_prog_CC+set}" = set; then
2264 echo $ECHO_N "(cached) $ECHO_C" >&6
2265 else
2266 if test -n "$CC"; then
2267 ac_cv_prog_CC="$CC" # Let the user override the test.
2268 else
2269 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2270 for as_dir in $PATH
2271 do
2272 IFS=$as_save_IFS
2273 test -z "$as_dir" && as_dir=.
2274 for ac_exec_ext in '' $ac_executable_extensions; do
2275 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2276 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2277 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2278 break 2
2279 fi
2280 done
2281 done
2282
2283 fi
2284 fi
2285 CC=$ac_cv_prog_CC
2286 if test -n "$CC"; then
2287 echo "$as_me:$LINENO: result: $CC" >&5
2288 echo "${ECHO_T}$CC" >&6
2289 else
2290 echo "$as_me:$LINENO: result: no" >&5
2291 echo "${ECHO_T}no" >&6
2292 fi
2293
2294 test -n "$CC" && break
2295 done
2296 fi
2297 if test -z "$CC"; then
2298 ac_ct_CC=$CC
2299 for ac_prog in cl
2300 do
2301 # Extract the first word of "$ac_prog", so it can be a program name with args.
2302 set dummy $ac_prog; ac_word=$2
2303 echo "$as_me:$LINENO: checking for $ac_word" >&5
2304 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2305 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2306 echo $ECHO_N "(cached) $ECHO_C" >&6
2307 else
2308 if test -n "$ac_ct_CC"; then
2309 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2310 else
2311 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2312 for as_dir in $PATH
2313 do
2314 IFS=$as_save_IFS
2315 test -z "$as_dir" && as_dir=.
2316 for ac_exec_ext in '' $ac_executable_extensions; do
2317 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2318 ac_cv_prog_ac_ct_CC="$ac_prog"
2319 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2320 break 2
2321 fi
2322 done
2323 done
2324
2325 fi
2326 fi
2327 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2328 if test -n "$ac_ct_CC"; then
2329 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2330 echo "${ECHO_T}$ac_ct_CC" >&6
2331 else
2332 echo "$as_me:$LINENO: result: no" >&5
2333 echo "${ECHO_T}no" >&6
2334 fi
2335
2336 test -n "$ac_ct_CC" && break
2337 done
2338
2339 CC=$ac_ct_CC
2340 fi
2341
2342 fi
2343
2344
2345 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2346 See \`config.log' for more details." >&5
2347 echo "$as_me: error: no acceptable C compiler found in \$PATH
2348 See \`config.log' for more details." >&2;}
2349 { (exit 1); exit 1; }; }
2350
2351 # Provide some information about the compiler.
2352 echo "$as_me:$LINENO:" \
2353 "checking for C compiler version" >&5
2354 ac_compiler=`set X $ac_compile; echo $2`
2355 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2356 (eval $ac_compiler --version </dev/null >&5) 2>&5
2357 ac_status=$?
2358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2359 (exit $ac_status); }
2360 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2361 (eval $ac_compiler -v </dev/null >&5) 2>&5
2362 ac_status=$?
2363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2364 (exit $ac_status); }
2365 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2366 (eval $ac_compiler -V </dev/null >&5) 2>&5
2367 ac_status=$?
2368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2369 (exit $ac_status); }
2370
2371 cat >conftest.$ac_ext <<_ACEOF
2372 /* confdefs.h. */
2373 _ACEOF
2374 cat confdefs.h >>conftest.$ac_ext
2375 cat >>conftest.$ac_ext <<_ACEOF
2376 /* end confdefs.h. */
2377
2378 int
2379 main ()
2380 {
2381
2382 ;
2383 return 0;
2384 }
2385 _ACEOF
2386 # FIXME: Cleanup?
2387 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2388 (eval $ac_link) 2>&5
2389 ac_status=$?
2390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2391 (exit $ac_status); }; then
2392 gcc_no_link=no
2393 else
2394 gcc_no_link=yes
2395 fi
2396
2397 if test x$gcc_no_link = xyes; then
2398 # Setting cross_compile will disable run tests; it will
2399 # also disable AC_CHECK_FILE but that's generally
2400 # correct if we can't link.
2401 cross_compiling=yes
2402 EXEEXT=
2403 else
2404 cat >conftest.$ac_ext <<_ACEOF
2405 /* confdefs.h. */
2406 _ACEOF
2407 cat confdefs.h >>conftest.$ac_ext
2408 cat >>conftest.$ac_ext <<_ACEOF
2409 /* end confdefs.h. */
2410
2411 int
2412 main ()
2413 {
2414
2415 ;
2416 return 0;
2417 }
2418 _ACEOF
2419 ac_clean_files_save=$ac_clean_files
2420 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2421 # Try to create an executable without -o first, disregard a.out.
2422 # It will help us diagnose broken compilers, and finding out an intuition
2423 # of exeext.
2424 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2425 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2426 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2427 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2428 (eval $ac_link_default) 2>&5
2429 ac_status=$?
2430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2431 (exit $ac_status); }; then
2432 # Find the output, starting from the most likely. This scheme is
2433 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2434 # resort.
2435
2436 # Be careful to initialize this variable, since it used to be cached.
2437 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2438 ac_cv_exeext=
2439 # b.out is created by i960 compilers.
2440 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2441 do
2442 test -f "$ac_file" || continue
2443 case $ac_file in
2444 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2445 ;;
2446 conftest.$ac_ext )
2447 # This is the source file.
2448 ;;
2449 [ab].out )
2450 # We found the default executable, but exeext='' is most
2451 # certainly right.
2452 break;;
2453 *.* )
2454 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2455 # FIXME: I believe we export ac_cv_exeext for Libtool,
2456 # but it would be cool to find out if it's true. Does anybody
2457 # maintain Libtool? --akim.
2458 export ac_cv_exeext
2459 break;;
2460 * )
2461 break;;
2462 esac
2463 done
2464 else
2465 echo "$as_me: failed program was:" >&5
2466 sed 's/^/| /' conftest.$ac_ext >&5
2467
2468 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2469 See \`config.log' for more details." >&5
2470 echo "$as_me: error: C compiler cannot create executables
2471 See \`config.log' for more details." >&2;}
2472 { (exit 77); exit 77; }; }
2473 fi
2474
2475 ac_exeext=$ac_cv_exeext
2476 echo "$as_me:$LINENO: result: $ac_file" >&5
2477 echo "${ECHO_T}$ac_file" >&6
2478
2479 # Check the compiler produces executables we can run. If not, either
2480 # the compiler is broken, or we cross compile.
2481 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2482 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2483 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2484 # If not cross compiling, check that we can run a simple program.
2485 if test "$cross_compiling" != yes; then
2486 if { ac_try='./$ac_file'
2487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2488 (eval $ac_try) 2>&5
2489 ac_status=$?
2490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2491 (exit $ac_status); }; }; then
2492 cross_compiling=no
2493 else
2494 if test "$cross_compiling" = maybe; then
2495 cross_compiling=yes
2496 else
2497 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2498 If you meant to cross compile, use \`--host'.
2499 See \`config.log' for more details." >&5
2500 echo "$as_me: error: cannot run C compiled programs.
2501 If you meant to cross compile, use \`--host'.
2502 See \`config.log' for more details." >&2;}
2503 { (exit 1); exit 1; }; }
2504 fi
2505 fi
2506 fi
2507 echo "$as_me:$LINENO: result: yes" >&5
2508 echo "${ECHO_T}yes" >&6
2509
2510 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2511 ac_clean_files=$ac_clean_files_save
2512 # Check the compiler produces executables we can run. If not, either
2513 # the compiler is broken, or we cross compile.
2514 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2515 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2516 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2517 echo "${ECHO_T}$cross_compiling" >&6
2518
2519 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2520 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2521 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2522 (eval $ac_link) 2>&5
2523 ac_status=$?
2524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2525 (exit $ac_status); }; then
2526 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2527 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2528 # work properly (i.e., refer to `conftest.exe'), while it won't with
2529 # `rm'.
2530 for ac_file in conftest.exe conftest conftest.*; do
2531 test -f "$ac_file" || continue
2532 case $ac_file in
2533 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2534 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2535 export ac_cv_exeext
2536 break;;
2537 * ) break;;
2538 esac
2539 done
2540 else
2541 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2542 See \`config.log' for more details." >&5
2543 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2544 See \`config.log' for more details." >&2;}
2545 { (exit 1); exit 1; }; }
2546 fi
2547
2548 rm -f conftest$ac_cv_exeext
2549 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2550 echo "${ECHO_T}$ac_cv_exeext" >&6
2551
2552 rm -f conftest.$ac_ext
2553 EXEEXT=$ac_cv_exeext
2554 ac_exeext=$EXEEXT
2555 fi
2556 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2557 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2558 if test "${ac_cv_objext+set}" = set; then
2559 echo $ECHO_N "(cached) $ECHO_C" >&6
2560 else
2561 cat >conftest.$ac_ext <<_ACEOF
2562 /* confdefs.h. */
2563 _ACEOF
2564 cat confdefs.h >>conftest.$ac_ext
2565 cat >>conftest.$ac_ext <<_ACEOF
2566 /* end confdefs.h. */
2567
2568 int
2569 main ()
2570 {
2571
2572 ;
2573 return 0;
2574 }
2575 _ACEOF
2576 rm -f conftest.o conftest.obj
2577 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2578 (eval $ac_compile) 2>&5
2579 ac_status=$?
2580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2581 (exit $ac_status); }; then
2582 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2583 case $ac_file in
2584 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2585 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2586 break;;
2587 esac
2588 done
2589 else
2590 echo "$as_me: failed program was:" >&5
2591 sed 's/^/| /' conftest.$ac_ext >&5
2592
2593 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2594 See \`config.log' for more details." >&5
2595 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2596 See \`config.log' for more details." >&2;}
2597 { (exit 1); exit 1; }; }
2598 fi
2599
2600 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2601 fi
2602 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2603 echo "${ECHO_T}$ac_cv_objext" >&6
2604 OBJEXT=$ac_cv_objext
2605 ac_objext=$OBJEXT
2606 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2607 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2608 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2609 echo $ECHO_N "(cached) $ECHO_C" >&6
2610 else
2611 cat >conftest.$ac_ext <<_ACEOF
2612 /* confdefs.h. */
2613 _ACEOF
2614 cat confdefs.h >>conftest.$ac_ext
2615 cat >>conftest.$ac_ext <<_ACEOF
2616 /* end confdefs.h. */
2617
2618 int
2619 main ()
2620 {
2621 #ifndef __GNUC__
2622 choke me
2623 #endif
2624
2625 ;
2626 return 0;
2627 }
2628 _ACEOF
2629 rm -f conftest.$ac_objext
2630 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2631 (eval $ac_compile) 2>conftest.er1
2632 ac_status=$?
2633 grep -v '^ *+' conftest.er1 >conftest.err
2634 rm -f conftest.er1
2635 cat conftest.err >&5
2636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2637 (exit $ac_status); } &&
2638 { ac_try='test -z "$ac_c_werror_flag"
2639 || test ! -s conftest.err'
2640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2641 (eval $ac_try) 2>&5
2642 ac_status=$?
2643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2644 (exit $ac_status); }; } &&
2645 { ac_try='test -s conftest.$ac_objext'
2646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2647 (eval $ac_try) 2>&5
2648 ac_status=$?
2649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2650 (exit $ac_status); }; }; then
2651 ac_compiler_gnu=yes
2652 else
2653 echo "$as_me: failed program was:" >&5
2654 sed 's/^/| /' conftest.$ac_ext >&5
2655
2656 ac_compiler_gnu=no
2657 fi
2658 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2659 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2660
2661 fi
2662 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2663 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2664 GCC=`test $ac_compiler_gnu = yes && echo yes`
2665 ac_test_CFLAGS=${CFLAGS+set}
2666 ac_save_CFLAGS=$CFLAGS
2667 CFLAGS="-g"
2668 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2669 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2670 if test "${ac_cv_prog_cc_g+set}" = set; then
2671 echo $ECHO_N "(cached) $ECHO_C" >&6
2672 else
2673 cat >conftest.$ac_ext <<_ACEOF
2674 /* confdefs.h. */
2675 _ACEOF
2676 cat confdefs.h >>conftest.$ac_ext
2677 cat >>conftest.$ac_ext <<_ACEOF
2678 /* end confdefs.h. */
2679
2680 int
2681 main ()
2682 {
2683
2684 ;
2685 return 0;
2686 }
2687 _ACEOF
2688 rm -f conftest.$ac_objext
2689 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2690 (eval $ac_compile) 2>conftest.er1
2691 ac_status=$?
2692 grep -v '^ *+' conftest.er1 >conftest.err
2693 rm -f conftest.er1
2694 cat conftest.err >&5
2695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2696 (exit $ac_status); } &&
2697 { ac_try='test -z "$ac_c_werror_flag"
2698 || test ! -s conftest.err'
2699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2700 (eval $ac_try) 2>&5
2701 ac_status=$?
2702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2703 (exit $ac_status); }; } &&
2704 { ac_try='test -s conftest.$ac_objext'
2705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2706 (eval $ac_try) 2>&5
2707 ac_status=$?
2708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2709 (exit $ac_status); }; }; then
2710 ac_cv_prog_cc_g=yes
2711 else
2712 echo "$as_me: failed program was:" >&5
2713 sed 's/^/| /' conftest.$ac_ext >&5
2714
2715 ac_cv_prog_cc_g=no
2716 fi
2717 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2718 fi
2719 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2720 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2721 if test "$ac_test_CFLAGS" = set; then
2722 CFLAGS=$ac_save_CFLAGS
2723 elif test $ac_cv_prog_cc_g = yes; then
2724 if test "$GCC" = yes; then
2725 CFLAGS="-g -O2"
2726 else
2727 CFLAGS="-g"
2728 fi
2729 else
2730 if test "$GCC" = yes; then
2731 CFLAGS="-O2"
2732 else
2733 CFLAGS=
2734 fi
2735 fi
2736 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2737 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2738 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2739 echo $ECHO_N "(cached) $ECHO_C" >&6
2740 else
2741 ac_cv_prog_cc_stdc=no
2742 ac_save_CC=$CC
2743 cat >conftest.$ac_ext <<_ACEOF
2744 /* confdefs.h. */
2745 _ACEOF
2746 cat confdefs.h >>conftest.$ac_ext
2747 cat >>conftest.$ac_ext <<_ACEOF
2748 /* end confdefs.h. */
2749 #include <stdarg.h>
2750 #include <stdio.h>
2751 #include <sys/types.h>
2752 #include <sys/stat.h>
2753 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2754 struct buf { int x; };
2755 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2756 static char *e (p, i)
2757 char **p;
2758 int i;
2759 {
2760 return p[i];
2761 }
2762 static char *f (char * (*g) (char **, int), char **p, ...)
2763 {
2764 char *s;
2765 va_list v;
2766 va_start (v,p);
2767 s = g (p, va_arg (v,int));
2768 va_end (v);
2769 return s;
2770 }
2771
2772 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2773 function prototypes and stuff, but not '\xHH' hex character constants.
2774 These don't provoke an error unfortunately, instead are silently treated
2775 as 'x'. The following induces an error, until -std1 is added to get
2776 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2777 array size at least. It's necessary to write '\x00'==0 to get something
2778 that's true only with -std1. */
2779 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2780
2781 int test (int i, double x);
2782 struct s1 {int (*f) (int a);};
2783 struct s2 {int (*f) (double a);};
2784 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2785 int argc;
2786 char **argv;
2787 int
2788 main ()
2789 {
2790 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2791 ;
2792 return 0;
2793 }
2794 _ACEOF
2795 # Don't try gcc -ansi; that turns off useful extensions and
2796 # breaks some systems' header files.
2797 # AIX -qlanglvl=ansi
2798 # Ultrix and OSF/1 -std1
2799 # HP-UX 10.20 and later -Ae
2800 # HP-UX older versions -Aa -D_HPUX_SOURCE
2801 # SVR4 -Xc -D__EXTENSIONS__
2802 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2803 do
2804 CC="$ac_save_CC $ac_arg"
2805 rm -f conftest.$ac_objext
2806 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2807 (eval $ac_compile) 2>conftest.er1
2808 ac_status=$?
2809 grep -v '^ *+' conftest.er1 >conftest.err
2810 rm -f conftest.er1
2811 cat conftest.err >&5
2812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2813 (exit $ac_status); } &&
2814 { ac_try='test -z "$ac_c_werror_flag"
2815 || test ! -s conftest.err'
2816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2817 (eval $ac_try) 2>&5
2818 ac_status=$?
2819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2820 (exit $ac_status); }; } &&
2821 { ac_try='test -s conftest.$ac_objext'
2822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2823 (eval $ac_try) 2>&5
2824 ac_status=$?
2825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2826 (exit $ac_status); }; }; then
2827 ac_cv_prog_cc_stdc=$ac_arg
2828 break
2829 else
2830 echo "$as_me: failed program was:" >&5
2831 sed 's/^/| /' conftest.$ac_ext >&5
2832
2833 fi
2834 rm -f conftest.err conftest.$ac_objext
2835 done
2836 rm -f conftest.$ac_ext conftest.$ac_objext
2837 CC=$ac_save_CC
2838
2839 fi
2840
2841 case "x$ac_cv_prog_cc_stdc" in
2842 x|xno)
2843 echo "$as_me:$LINENO: result: none needed" >&5
2844 echo "${ECHO_T}none needed" >&6 ;;
2845 *)
2846 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2847 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2848 CC="$CC $ac_cv_prog_cc_stdc" ;;
2849 esac
2850
2851 # Some people use a C++ compiler to compile C. Since we use `exit',
2852 # in C++ we need to declare it. In case someone uses the same compiler
2853 # for both compiling C and C++ we need to have the C++ compiler decide
2854 # the declaration of exit, since it's the most demanding environment.
2855 cat >conftest.$ac_ext <<_ACEOF
2856 #ifndef __cplusplus
2857 choke me
2858 #endif
2859 _ACEOF
2860 rm -f conftest.$ac_objext
2861 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2862 (eval $ac_compile) 2>conftest.er1
2863 ac_status=$?
2864 grep -v '^ *+' conftest.er1 >conftest.err
2865 rm -f conftest.er1
2866 cat conftest.err >&5
2867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2868 (exit $ac_status); } &&
2869 { ac_try='test -z "$ac_c_werror_flag"
2870 || test ! -s conftest.err'
2871 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2872 (eval $ac_try) 2>&5
2873 ac_status=$?
2874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2875 (exit $ac_status); }; } &&
2876 { ac_try='test -s conftest.$ac_objext'
2877 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2878 (eval $ac_try) 2>&5
2879 ac_status=$?
2880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2881 (exit $ac_status); }; }; then
2882 for ac_declaration in \
2883 '' \
2884 'extern "C" void std::exit (int) throw (); using std::exit;' \
2885 'extern "C" void std::exit (int); using std::exit;' \
2886 'extern "C" void exit (int) throw ();' \
2887 'extern "C" void exit (int);' \
2888 'void exit (int);'
2889 do
2890 cat >conftest.$ac_ext <<_ACEOF
2891 /* confdefs.h. */
2892 _ACEOF
2893 cat confdefs.h >>conftest.$ac_ext
2894 cat >>conftest.$ac_ext <<_ACEOF
2895 /* end confdefs.h. */
2896 $ac_declaration
2897 #include <stdlib.h>
2898 int
2899 main ()
2900 {
2901 exit (42);
2902 ;
2903 return 0;
2904 }
2905 _ACEOF
2906 rm -f conftest.$ac_objext
2907 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2908 (eval $ac_compile) 2>conftest.er1
2909 ac_status=$?
2910 grep -v '^ *+' conftest.er1 >conftest.err
2911 rm -f conftest.er1
2912 cat conftest.err >&5
2913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2914 (exit $ac_status); } &&
2915 { ac_try='test -z "$ac_c_werror_flag"
2916 || test ! -s conftest.err'
2917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2918 (eval $ac_try) 2>&5
2919 ac_status=$?
2920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2921 (exit $ac_status); }; } &&
2922 { ac_try='test -s conftest.$ac_objext'
2923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2924 (eval $ac_try) 2>&5
2925 ac_status=$?
2926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2927 (exit $ac_status); }; }; then
2928 :
2929 else
2930 echo "$as_me: failed program was:" >&5
2931 sed 's/^/| /' conftest.$ac_ext >&5
2932
2933 continue
2934 fi
2935 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2936 cat >conftest.$ac_ext <<_ACEOF
2937 /* confdefs.h. */
2938 _ACEOF
2939 cat confdefs.h >>conftest.$ac_ext
2940 cat >>conftest.$ac_ext <<_ACEOF
2941 /* end confdefs.h. */
2942 $ac_declaration
2943 int
2944 main ()
2945 {
2946 exit (42);
2947 ;
2948 return 0;
2949 }
2950 _ACEOF
2951 rm -f conftest.$ac_objext
2952 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2953 (eval $ac_compile) 2>conftest.er1
2954 ac_status=$?
2955 grep -v '^ *+' conftest.er1 >conftest.err
2956 rm -f conftest.er1
2957 cat conftest.err >&5
2958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2959 (exit $ac_status); } &&
2960 { ac_try='test -z "$ac_c_werror_flag"
2961 || test ! -s conftest.err'
2962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2963 (eval $ac_try) 2>&5
2964 ac_status=$?
2965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2966 (exit $ac_status); }; } &&
2967 { ac_try='test -s conftest.$ac_objext'
2968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2969 (eval $ac_try) 2>&5
2970 ac_status=$?
2971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2972 (exit $ac_status); }; }; then
2973 break
2974 else
2975 echo "$as_me: failed program was:" >&5
2976 sed 's/^/| /' conftest.$ac_ext >&5
2977
2978 fi
2979 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2980 done
2981 rm -f conftest*
2982 if test -n "$ac_declaration"; then
2983 echo '#ifdef __cplusplus' >>confdefs.h
2984 echo $ac_declaration >>confdefs.h
2985 echo '#endif' >>confdefs.h
2986 fi
2987
2988 else
2989 echo "$as_me: failed program was:" >&5
2990 sed 's/^/| /' conftest.$ac_ext >&5
2991
2992 fi
2993 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2994 ac_ext=c
2995 ac_cpp='$CPP $CPPFLAGS'
2996 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2997 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2998 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2999
3000 ac_ext=cc
3001 ac_cpp='$CXXCPP $CPPFLAGS'
3002 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3003 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3004 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3005 if test -n "$ac_tool_prefix"; then
3006 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
3007 do
3008 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3009 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3010 echo "$as_me:$LINENO: checking for $ac_word" >&5
3011 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3012 if test "${glibcxx_cv_prog_CXX+set}" = set; then
3013 echo $ECHO_N "(cached) $ECHO_C" >&6
3014 else
3015 if test -n "$CXX"; then
3016 glibcxx_cv_prog_CXX="$CXX" # Let the user override the test.
3017 else
3018 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3019 for as_dir in $PATH
3020 do
3021 IFS=$as_save_IFS
3022 test -z "$as_dir" && as_dir=.
3023 for ac_exec_ext in '' $ac_executable_extensions; do
3024 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3025 glibcxx_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3026 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3027 break 2
3028 fi
3029 done
3030 done
3031
3032 fi
3033 fi
3034 CXX=$glibcxx_cv_prog_CXX
3035 if test -n "$CXX"; then
3036 echo "$as_me:$LINENO: result: $CXX" >&5
3037 echo "${ECHO_T}$CXX" >&6
3038 else
3039 echo "$as_me:$LINENO: result: no" >&5
3040 echo "${ECHO_T}no" >&6
3041 fi
3042
3043 test -n "$CXX" && break
3044 done
3045 fi
3046 if test -z "$CXX"; then
3047 ac_ct_CXX=$CXX
3048 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
3049 do
3050 # Extract the first word of "$ac_prog", so it can be a program name with args.
3051 set dummy $ac_prog; ac_word=$2
3052 echo "$as_me:$LINENO: checking for $ac_word" >&5
3053 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3054 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
3055 echo $ECHO_N "(cached) $ECHO_C" >&6
3056 else
3057 if test -n "$ac_ct_CXX"; then
3058 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3059 else
3060 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3061 for as_dir in $PATH
3062 do
3063 IFS=$as_save_IFS
3064 test -z "$as_dir" && as_dir=.
3065 for ac_exec_ext in '' $ac_executable_extensions; do
3066 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3067 ac_cv_prog_ac_ct_CXX="$ac_prog"
3068 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3069 break 2
3070 fi
3071 done
3072 done
3073
3074 fi
3075 fi
3076 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3077 if test -n "$ac_ct_CXX"; then
3078 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
3079 echo "${ECHO_T}$ac_ct_CXX" >&6
3080 else
3081 echo "$as_me:$LINENO: result: no" >&5
3082 echo "${ECHO_T}no" >&6
3083 fi
3084
3085 test -n "$ac_ct_CXX" && break
3086 done
3087 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
3088
3089 CXX=$ac_ct_CXX
3090 fi
3091
3092
3093 # Provide some information about the compiler.
3094 echo "$as_me:$LINENO:" \
3095 "checking for C++ compiler version" >&5
3096 ac_compiler=`set X $ac_compile; echo $2`
3097 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
3098 (eval $ac_compiler --version </dev/null >&5) 2>&5
3099 ac_status=$?
3100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3101 (exit $ac_status); }
3102 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
3103 (eval $ac_compiler -v </dev/null >&5) 2>&5
3104 ac_status=$?
3105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3106 (exit $ac_status); }
3107 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
3108 (eval $ac_compiler -V </dev/null >&5) 2>&5
3109 ac_status=$?
3110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3111 (exit $ac_status); }
3112
3113 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
3114 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
3115 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
3116 echo $ECHO_N "(cached) $ECHO_C" >&6
3117 else
3118 cat >conftest.$ac_ext <<_ACEOF
3119 /* confdefs.h. */
3120 _ACEOF
3121 cat confdefs.h >>conftest.$ac_ext
3122 cat >>conftest.$ac_ext <<_ACEOF
3123 /* end confdefs.h. */
3124
3125 int
3126 main ()
3127 {
3128 #ifndef __GNUC__
3129 choke me
3130 #endif
3131
3132 ;
3133 return 0;
3134 }
3135 _ACEOF
3136 rm -f conftest.$ac_objext
3137 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3138 (eval $ac_compile) 2>conftest.er1
3139 ac_status=$?
3140 grep -v '^ *+' conftest.er1 >conftest.err
3141 rm -f conftest.er1
3142 cat conftest.err >&5
3143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3144 (exit $ac_status); } &&
3145 { ac_try='test -z "$ac_cxx_werror_flag"
3146 || test ! -s conftest.err'
3147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3148 (eval $ac_try) 2>&5
3149 ac_status=$?
3150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3151 (exit $ac_status); }; } &&
3152 { ac_try='test -s conftest.$ac_objext'
3153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3154 (eval $ac_try) 2>&5
3155 ac_status=$?
3156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3157 (exit $ac_status); }; }; then
3158 ac_compiler_gnu=yes
3159 else
3160 echo "$as_me: failed program was:" >&5
3161 sed 's/^/| /' conftest.$ac_ext >&5
3162
3163 ac_compiler_gnu=no
3164 fi
3165 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3166 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3167
3168 fi
3169 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
3170 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
3171 GXX=`test $ac_compiler_gnu = yes && echo yes`
3172 ac_test_CXXFLAGS=${CXXFLAGS+set}
3173 ac_save_CXXFLAGS=$CXXFLAGS
3174 CXXFLAGS="-g"
3175 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
3176 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
3177 if test "${ac_cv_prog_cxx_g+set}" = set; then
3178 echo $ECHO_N "(cached) $ECHO_C" >&6
3179 else
3180 cat >conftest.$ac_ext <<_ACEOF
3181 /* confdefs.h. */
3182 _ACEOF
3183 cat confdefs.h >>conftest.$ac_ext
3184 cat >>conftest.$ac_ext <<_ACEOF
3185 /* end confdefs.h. */
3186
3187 int
3188 main ()
3189 {
3190
3191 ;
3192 return 0;
3193 }
3194 _ACEOF
3195 rm -f conftest.$ac_objext
3196 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3197 (eval $ac_compile) 2>conftest.er1
3198 ac_status=$?
3199 grep -v '^ *+' conftest.er1 >conftest.err
3200 rm -f conftest.er1
3201 cat conftest.err >&5
3202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3203 (exit $ac_status); } &&
3204 { ac_try='test -z "$ac_cxx_werror_flag"
3205 || test ! -s conftest.err'
3206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3207 (eval $ac_try) 2>&5
3208 ac_status=$?
3209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3210 (exit $ac_status); }; } &&
3211 { ac_try='test -s conftest.$ac_objext'
3212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3213 (eval $ac_try) 2>&5
3214 ac_status=$?
3215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3216 (exit $ac_status); }; }; then
3217 ac_cv_prog_cxx_g=yes
3218 else
3219 echo "$as_me: failed program was:" >&5
3220 sed 's/^/| /' conftest.$ac_ext >&5
3221
3222 ac_cv_prog_cxx_g=no
3223 fi
3224 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3225 fi
3226 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
3227 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
3228 if test "$ac_test_CXXFLAGS" = set; then
3229 CXXFLAGS=$ac_save_CXXFLAGS
3230 elif test $ac_cv_prog_cxx_g = yes; then
3231 if test "$GXX" = yes; then
3232 CXXFLAGS="-g -O2"
3233 else
3234 CXXFLAGS="-g"
3235 fi
3236 else
3237 if test "$GXX" = yes; then
3238 CXXFLAGS="-O2"
3239 else
3240 CXXFLAGS=
3241 fi
3242 fi
3243 for ac_declaration in \
3244 '' \
3245 'extern "C" void std::exit (int) throw (); using std::exit;' \
3246 'extern "C" void std::exit (int); using std::exit;' \
3247 'extern "C" void exit (int) throw ();' \
3248 'extern "C" void exit (int);' \
3249 'void exit (int);'
3250 do
3251 cat >conftest.$ac_ext <<_ACEOF
3252 /* confdefs.h. */
3253 _ACEOF
3254 cat confdefs.h >>conftest.$ac_ext
3255 cat >>conftest.$ac_ext <<_ACEOF
3256 /* end confdefs.h. */
3257 $ac_declaration
3258 #include <stdlib.h>
3259 int
3260 main ()
3261 {
3262 exit (42);
3263 ;
3264 return 0;
3265 }
3266 _ACEOF
3267 rm -f conftest.$ac_objext
3268 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3269 (eval $ac_compile) 2>conftest.er1
3270 ac_status=$?
3271 grep -v '^ *+' conftest.er1 >conftest.err
3272 rm -f conftest.er1
3273 cat conftest.err >&5
3274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3275 (exit $ac_status); } &&
3276 { ac_try='test -z "$ac_cxx_werror_flag"
3277 || test ! -s conftest.err'
3278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3279 (eval $ac_try) 2>&5
3280 ac_status=$?
3281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3282 (exit $ac_status); }; } &&
3283 { ac_try='test -s conftest.$ac_objext'
3284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3285 (eval $ac_try) 2>&5
3286 ac_status=$?
3287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3288 (exit $ac_status); }; }; then
3289 :
3290 else
3291 echo "$as_me: failed program was:" >&5
3292 sed 's/^/| /' conftest.$ac_ext >&5
3293
3294 continue
3295 fi
3296 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3297 cat >conftest.$ac_ext <<_ACEOF
3298 /* confdefs.h. */
3299 _ACEOF
3300 cat confdefs.h >>conftest.$ac_ext
3301 cat >>conftest.$ac_ext <<_ACEOF
3302 /* end confdefs.h. */
3303 $ac_declaration
3304 int
3305 main ()
3306 {
3307 exit (42);
3308 ;
3309 return 0;
3310 }
3311 _ACEOF
3312 rm -f conftest.$ac_objext
3313 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3314 (eval $ac_compile) 2>conftest.er1
3315 ac_status=$?
3316 grep -v '^ *+' conftest.er1 >conftest.err
3317 rm -f conftest.er1
3318 cat conftest.err >&5
3319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3320 (exit $ac_status); } &&
3321 { ac_try='test -z "$ac_cxx_werror_flag"
3322 || test ! -s conftest.err'
3323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3324 (eval $ac_try) 2>&5
3325 ac_status=$?
3326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3327 (exit $ac_status); }; } &&
3328 { ac_try='test -s conftest.$ac_objext'
3329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3330 (eval $ac_try) 2>&5
3331 ac_status=$?
3332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3333 (exit $ac_status); }; }; then
3334 break
3335 else
3336 echo "$as_me: failed program was:" >&5
3337 sed 's/^/| /' conftest.$ac_ext >&5
3338
3339 fi
3340 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3341 done
3342 rm -f conftest*
3343 if test -n "$ac_declaration"; then
3344 echo '#ifdef __cplusplus' >>confdefs.h
3345 echo $ac_declaration >>confdefs.h
3346 echo '#endif' >>confdefs.h
3347 fi
3348
3349 ac_ext=c
3350 ac_cpp='$CPP $CPPFLAGS'
3351 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3352 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3353 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3354
3355 CXXFLAGS="$save_CXXFLAGS"
3356
3357
3358
3359
3360 # Will set LN_S to either 'ln -s', 'ln', or 'cp -p' (if linking isn't
3361 # available). Uncomment the next line to force a particular method.
3362 echo "$as_me:$LINENO: checking whether ln -s works" >&5
3363 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
3364 LN_S=$as_ln_s
3365 if test "$LN_S" = "ln -s"; then
3366 echo "$as_me:$LINENO: result: yes" >&5
3367 echo "${ECHO_T}yes" >&6
3368 else
3369 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3370 echo "${ECHO_T}no, using $LN_S" >&6
3371 fi
3372
3373 #LN_S='cp -p'
3374
3375 if test -n "$ac_tool_prefix"; then
3376 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
3377 set dummy ${ac_tool_prefix}as; ac_word=$2
3378 echo "$as_me:$LINENO: checking for $ac_word" >&5
3379 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3380 if test "${ac_cv_prog_AS+set}" = set; then
3381 echo $ECHO_N "(cached) $ECHO_C" >&6
3382 else
3383 if test -n "$AS"; then
3384 ac_cv_prog_AS="$AS" # Let the user override the test.
3385 else
3386 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3387 for as_dir in $PATH
3388 do
3389 IFS=$as_save_IFS
3390 test -z "$as_dir" && as_dir=.
3391 for ac_exec_ext in '' $ac_executable_extensions; do
3392 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3393 ac_cv_prog_AS="${ac_tool_prefix}as"
3394 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3395 break 2
3396 fi
3397 done
3398 done
3399
3400 fi
3401 fi
3402 AS=$ac_cv_prog_AS
3403 if test -n "$AS"; then
3404 echo "$as_me:$LINENO: result: $AS" >&5
3405 echo "${ECHO_T}$AS" >&6
3406 else
3407 echo "$as_me:$LINENO: result: no" >&5
3408 echo "${ECHO_T}no" >&6
3409 fi
3410
3411 fi
3412 if test -z "$ac_cv_prog_AS"; then
3413 ac_ct_AS=$AS
3414 # Extract the first word of "as", so it can be a program name with args.
3415 set dummy as; ac_word=$2
3416 echo "$as_me:$LINENO: checking for $ac_word" >&5
3417 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3418 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
3419 echo $ECHO_N "(cached) $ECHO_C" >&6
3420 else
3421 if test -n "$ac_ct_AS"; then
3422 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
3423 else
3424 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3425 for as_dir in $PATH
3426 do
3427 IFS=$as_save_IFS
3428 test -z "$as_dir" && as_dir=.
3429 for ac_exec_ext in '' $ac_executable_extensions; do
3430 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3431 ac_cv_prog_ac_ct_AS="as"
3432 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3433 break 2
3434 fi
3435 done
3436 done
3437
3438 fi
3439 fi
3440 ac_ct_AS=$ac_cv_prog_ac_ct_AS
3441 if test -n "$ac_ct_AS"; then
3442 echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
3443 echo "${ECHO_T}$ac_ct_AS" >&6
3444 else
3445 echo "$as_me:$LINENO: result: no" >&5
3446 echo "${ECHO_T}no" >&6
3447 fi
3448
3449 AS=$ac_ct_AS
3450 else
3451 AS="$ac_cv_prog_AS"
3452 fi
3453
3454 if test -n "$ac_tool_prefix"; then
3455 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
3456 set dummy ${ac_tool_prefix}ar; ac_word=$2
3457 echo "$as_me:$LINENO: checking for $ac_word" >&5
3458 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3459 if test "${ac_cv_prog_AR+set}" = set; then
3460 echo $ECHO_N "(cached) $ECHO_C" >&6
3461 else
3462 if test -n "$AR"; then
3463 ac_cv_prog_AR="$AR" # Let the user override the test.
3464 else
3465 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3466 for as_dir in $PATH
3467 do
3468 IFS=$as_save_IFS
3469 test -z "$as_dir" && as_dir=.
3470 for ac_exec_ext in '' $ac_executable_extensions; do
3471 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3472 ac_cv_prog_AR="${ac_tool_prefix}ar"
3473 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3474 break 2
3475 fi
3476 done
3477 done
3478
3479 fi
3480 fi
3481 AR=$ac_cv_prog_AR
3482 if test -n "$AR"; then
3483 echo "$as_me:$LINENO: result: $AR" >&5
3484 echo "${ECHO_T}$AR" >&6
3485 else
3486 echo "$as_me:$LINENO: result: no" >&5
3487 echo "${ECHO_T}no" >&6
3488 fi
3489
3490 fi
3491 if test -z "$ac_cv_prog_AR"; then
3492 ac_ct_AR=$AR
3493 # Extract the first word of "ar", so it can be a program name with args.
3494 set dummy ar; ac_word=$2
3495 echo "$as_me:$LINENO: checking for $ac_word" >&5
3496 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3497 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
3498 echo $ECHO_N "(cached) $ECHO_C" >&6
3499 else
3500 if test -n "$ac_ct_AR"; then
3501 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
3502 else
3503 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3504 for as_dir in $PATH
3505 do
3506 IFS=$as_save_IFS
3507 test -z "$as_dir" && as_dir=.
3508 for ac_exec_ext in '' $ac_executable_extensions; do
3509 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3510 ac_cv_prog_ac_ct_AR="ar"
3511 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3512 break 2
3513 fi
3514 done
3515 done
3516
3517 fi
3518 fi
3519 ac_ct_AR=$ac_cv_prog_ac_ct_AR
3520 if test -n "$ac_ct_AR"; then
3521 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
3522 echo "${ECHO_T}$ac_ct_AR" >&6
3523 else
3524 echo "$as_me:$LINENO: result: no" >&5
3525 echo "${ECHO_T}no" >&6
3526 fi
3527
3528 AR=$ac_ct_AR
3529 else
3530 AR="$ac_cv_prog_AR"
3531 fi
3532
3533 if test -n "$ac_tool_prefix"; then
3534 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3535 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3536 echo "$as_me:$LINENO: checking for $ac_word" >&5
3537 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3538 if test "${ac_cv_prog_RANLIB+set}" = set; then
3539 echo $ECHO_N "(cached) $ECHO_C" >&6
3540 else
3541 if test -n "$RANLIB"; then
3542 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
3543 else
3544 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3545 for as_dir in $PATH
3546 do
3547 IFS=$as_save_IFS
3548 test -z "$as_dir" && as_dir=.
3549 for ac_exec_ext in '' $ac_executable_extensions; do
3550 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3551 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
3552 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3553 break 2
3554 fi
3555 done
3556 done
3557
3558 fi
3559 fi
3560 RANLIB=$ac_cv_prog_RANLIB
3561 if test -n "$RANLIB"; then
3562 echo "$as_me:$LINENO: result: $RANLIB" >&5
3563 echo "${ECHO_T}$RANLIB" >&6
3564 else
3565 echo "$as_me:$LINENO: result: no" >&5
3566 echo "${ECHO_T}no" >&6
3567 fi
3568
3569 fi
3570 if test -z "$ac_cv_prog_RANLIB"; then
3571 ac_ct_RANLIB=$RANLIB
3572 # Extract the first word of "ranlib", so it can be a program name with args.
3573 set dummy ranlib; ac_word=$2
3574 echo "$as_me:$LINENO: checking for $ac_word" >&5
3575 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3576 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3577 echo $ECHO_N "(cached) $ECHO_C" >&6
3578 else
3579 if test -n "$ac_ct_RANLIB"; then
3580 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
3581 else
3582 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3583 for as_dir in $PATH
3584 do
3585 IFS=$as_save_IFS
3586 test -z "$as_dir" && as_dir=.
3587 for ac_exec_ext in '' $ac_executable_extensions; do
3588 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3589 ac_cv_prog_ac_ct_RANLIB="ranlib"
3590 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3591 break 2
3592 fi
3593 done
3594 done
3595
3596 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB="ranlib-not-found-in-path-error"
3597 fi
3598 fi
3599 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
3600 if test -n "$ac_ct_RANLIB"; then
3601 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3602 echo "${ECHO_T}$ac_ct_RANLIB" >&6
3603 else
3604 echo "$as_me:$LINENO: result: no" >&5
3605 echo "${ECHO_T}no" >&6
3606 fi
3607
3608 RANLIB=$ac_ct_RANLIB
3609 else
3610 RANLIB="$ac_cv_prog_RANLIB"
3611 fi
3612
3613
3614 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
3615 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
3616 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
3617 if test "${enable_maintainer_mode+set}" = set; then
3618 enableval="$enable_maintainer_mode"
3619 USE_MAINTAINER_MODE=$enableval
3620 else
3621 USE_MAINTAINER_MODE=no
3622 fi;
3623 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
3624 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
3625
3626
3627 if test $USE_MAINTAINER_MODE = yes; then
3628 MAINTAINER_MODE_TRUE=
3629 MAINTAINER_MODE_FALSE='#'
3630 else
3631 MAINTAINER_MODE_TRUE='#'
3632 MAINTAINER_MODE_FALSE=
3633 fi
3634
3635 MAINT=$MAINTAINER_MODE_TRUE
3636
3637
3638
3639 # Set up safe default values for all subsequent AM_CONDITIONAL tests
3640 # which are themselves conditionally expanded.
3641 ## (Right now, this only matters for enable_wchar_t, but nothing prevents
3642 ## other macros from doing the same. This should be automated.) -pme
3643 need_libmath=no
3644
3645 # Find platform-specific directories containing configuration info.
3646 # Also possibly modify flags used elsewhere, as needed by the platform.
3647
3648 . $glibcxx_srcdir/configure.host
3649 { echo "$as_me:$LINENO: CPU config directory is $cpu_include_dir" >&5
3650 echo "$as_me: CPU config directory is $cpu_include_dir" >&6;}
3651 { echo "$as_me:$LINENO: OS config directory is $os_include_dir" >&5
3652 echo "$as_me: OS config directory is $os_include_dir" >&6;}
3653
3654
3655
3656
3657 # Check whether --enable-shared or --disable-shared was given.
3658 if test "${enable_shared+set}" = set; then
3659 enableval="$enable_shared"
3660 p=${PACKAGE-default}
3661 case $enableval in
3662 yes) enable_shared=yes ;;
3663 no) enable_shared=no ;;
3664 *)
3665 enable_shared=no
3666 # Look at the argument we got. We use all the common list separators.
3667 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
3668 for pkg in $enableval; do
3669 if test "X$pkg" = "X$p"; then
3670 enable_shared=yes
3671 fi
3672 done
3673 IFS="$ac_save_ifs"
3674 ;;
3675 esac
3676 else
3677 enable_shared=yes
3678 fi;
3679 # Check whether --enable-static or --disable-static was given.
3680 if test "${enable_static+set}" = set; then
3681 enableval="$enable_static"
3682 p=${PACKAGE-default}
3683 case $enableval in
3684 yes) enable_static=yes ;;
3685 no) enable_static=no ;;
3686 *)
3687 enable_static=no
3688 # Look at the argument we got. We use all the common list separators.
3689 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
3690 for pkg in $enableval; do
3691 if test "X$pkg" = "X$p"; then
3692 enable_static=yes
3693 fi
3694 done
3695 IFS="$ac_save_ifs"
3696 ;;
3697 esac
3698 else
3699 enable_static=yes
3700 fi;
3701 # Check whether --enable-fast-install or --disable-fast-install was given.
3702 if test "${enable_fast_install+set}" = set; then
3703 enableval="$enable_fast_install"
3704 p=${PACKAGE-default}
3705 case $enableval in
3706 yes) enable_fast_install=yes ;;
3707 no) enable_fast_install=no ;;
3708 *)
3709 enable_fast_install=no
3710 # Look at the argument we got. We use all the common list separators.
3711 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
3712 for pkg in $enableval; do
3713 if test "X$pkg" = "X$p"; then
3714 enable_fast_install=yes
3715 fi
3716 done
3717 IFS="$ac_save_ifs"
3718 ;;
3719 esac
3720 else
3721 enable_fast_install=yes
3722 fi;
3723
3724 # Check whether --with-gnu-ld or --without-gnu-ld was given.
3725 if test "${with_gnu_ld+set}" = set; then
3726 withval="$with_gnu_ld"
3727 test "$withval" = no || with_gnu_ld=yes
3728 else
3729 with_gnu_ld=no
3730 fi;
3731 ac_prog=ld
3732 if test "$GCC" = yes; then
3733 # Check if gcc -print-prog-name=ld gives a path.
3734 echo "$as_me:$LINENO: checking for ld used by GCC" >&5
3735 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
3736 case $host in
3737 *-*-mingw*)
3738 # gcc leaves a trailing carriage return which upsets mingw
3739 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
3740 *)
3741 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
3742 esac
3743 case $ac_prog in
3744 # Accept absolute paths.
3745 [\\/]* | [A-Za-z]:[\\/]*)
3746 re_direlt='/[^/][^/]*/\.\./'
3747 # Canonicalize the path of ld
3748 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
3749 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
3750 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
3751 done
3752 test -z "$LD" && LD="$ac_prog"
3753 ;;
3754 "")
3755 # If it fails, then pretend we aren't using GCC.
3756 ac_prog=ld
3757 ;;
3758 *)
3759 # If it is relative, then search for the first ld in PATH.
3760 with_gnu_ld=unknown
3761 ;;
3762 esac
3763 elif test "$with_gnu_ld" = yes; then
3764 echo "$as_me:$LINENO: checking for GNU ld" >&5
3765 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
3766 else
3767 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
3768 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
3769 fi
3770 if test "${lt_cv_path_LD+set}" = set; then
3771 echo $ECHO_N "(cached) $ECHO_C" >&6
3772 else
3773 if test -z "$LD"; then
3774 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
3775 for ac_dir in $PATH; do
3776 test -z "$ac_dir" && ac_dir=.
3777 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
3778 lt_cv_path_LD="$ac_dir/$ac_prog"
3779 # Check to see if the program is GNU ld. I'd rather use --version,
3780 # but apparently some GNU ld's only accept -v.
3781 # Break only if it was the GNU/non-GNU ld that we prefer.
3782 if "$lt_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
3783 test "$with_gnu_ld" != no && break
3784 else
3785 test "$with_gnu_ld" != yes && break
3786 fi
3787 fi
3788 done
3789 IFS="$ac_save_ifs"
3790 else
3791 lt_cv_path_LD="$LD" # Let the user override the test with a path.
3792 fi
3793 fi
3794
3795 LD="$lt_cv_path_LD"
3796 if test -n "$LD"; then
3797 echo "$as_me:$LINENO: result: $LD" >&5
3798 echo "${ECHO_T}$LD" >&6
3799 else
3800 echo "$as_me:$LINENO: result: no" >&5
3801 echo "${ECHO_T}no" >&6
3802 fi
3803 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
3804 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
3805 { (exit 1); exit 1; }; }
3806 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
3807 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
3808 if test "${lt_cv_prog_gnu_ld+set}" = set; then
3809 echo $ECHO_N "(cached) $ECHO_C" >&6
3810 else
3811 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
3812 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
3813 lt_cv_prog_gnu_ld=yes
3814 else
3815 lt_cv_prog_gnu_ld=no
3816 fi
3817 fi
3818 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
3819 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
3820 with_gnu_ld=$lt_cv_prog_gnu_ld
3821
3822
3823 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
3824 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
3825 if test "${lt_cv_ld_reload_flag+set}" = set; then
3826 echo $ECHO_N "(cached) $ECHO_C" >&6
3827 else
3828 lt_cv_ld_reload_flag='-r'
3829 fi
3830 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
3831 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
3832 reload_flag=$lt_cv_ld_reload_flag
3833 test -n "$reload_flag" && reload_flag=" $reload_flag"
3834
3835 echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
3836 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
3837 if test "${lt_cv_path_NM+set}" = set; then
3838 echo $ECHO_N "(cached) $ECHO_C" >&6
3839 else
3840 if test -n "$NM"; then
3841 # Let the user override the test.
3842 lt_cv_path_NM="$NM"
3843 else
3844 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
3845 for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
3846 test -z "$ac_dir" && ac_dir=.
3847 tmp_nm=$ac_dir/${ac_tool_prefix}nm
3848 if test -f $tmp_nm || test -f $tmp_nm$ac_exeext ; then
3849 # Check to see if the nm accepts a BSD-compat flag.
3850 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
3851 # nm: unknown option "B" ignored
3852 # Tru64's nm complains that /dev/null is an invalid object file
3853 if ($tmp_nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep '(/dev/null|Invalid file or object type)' >/dev/null; then
3854 lt_cv_path_NM="$tmp_nm -B"
3855 break
3856 elif ($tmp_nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
3857 lt_cv_path_NM="$tmp_nm -p"
3858 break
3859 else
3860 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
3861 continue # so that we can try to find one that supports BSD flags
3862 fi
3863 fi
3864 done
3865 IFS="$ac_save_ifs"
3866 test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
3867 fi
3868 fi
3869
3870 NM="$lt_cv_path_NM"
3871 echo "$as_me:$LINENO: result: $NM" >&5
3872 echo "${ECHO_T}$NM" >&6
3873
3874 echo "$as_me:$LINENO: checking how to recognise dependant libraries" >&5
3875 echo $ECHO_N "checking how to recognise dependant libraries... $ECHO_C" >&6
3876 if test "${lt_cv_deplibs_check_method+set}" = set; then
3877 echo $ECHO_N "(cached) $ECHO_C" >&6
3878 else
3879 lt_cv_file_magic_cmd='$MAGIC_CMD'
3880 lt_cv_file_magic_test_file=
3881 lt_cv_deplibs_check_method='unknown'
3882 # Need to set the preceding variable on all platforms that support
3883 # interlibrary dependencies.
3884 # 'none' -- dependencies not supported.
3885 # `unknown' -- same as none, but documents that we really don't know.
3886 # 'pass_all' -- all dependencies passed with no checks.
3887 # 'test_compile' -- check by making test program.
3888 # 'file_magic [regex]' -- check by looking for files in library path
3889 # which responds to the $file_magic_cmd with a given egrep regex.
3890 # If you have `file' or equivalent on your system and you're not sure
3891 # whether `pass_all' will *always* work, you probably want this one.
3892
3893 case $host_os in
3894 aix*)
3895 lt_cv_deplibs_check_method=pass_all
3896 ;;
3897
3898 beos*)
3899 lt_cv_deplibs_check_method=pass_all
3900 ;;
3901
3902 bsdi4*)
3903 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
3904 lt_cv_file_magic_cmd='/usr/bin/file -L'
3905 lt_cv_file_magic_test_file=/shlib/libc.so
3906 ;;
3907
3908 cygwin* | mingw* |pw32*)
3909 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
3910 lt_cv_file_magic_cmd='$OBJDUMP -f'
3911 ;;
3912
3913 darwin* | rhapsody*)
3914 # this will be overwritten by pass_all, but leave it in just in case
3915 lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library'
3916 lt_cv_file_magic_cmd='/usr/bin/file -L'
3917 case "$host_os" in
3918 rhapsody* | darwin1.012)
3919 lt_cv_file_magic_test_file='/System/Library/Frameworks/System.framework/System'
3920 ;;
3921 *) # Darwin 1.3 on
3922 lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib'
3923 ;;
3924 esac
3925 lt_cv_deplibs_check_method=pass_all
3926 ;;
3927
3928 freebsd* | kfreebsd*-gnu)
3929 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
3930 case $host_cpu in
3931 i*86 )
3932 # Not sure whether the presence of OpenBSD here was a mistake.
3933 # Let's accept both of them until this is cleared up.
3934 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
3935 lt_cv_file_magic_cmd=/usr/bin/file
3936 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
3937 ;;
3938 esac
3939 else
3940 lt_cv_deplibs_check_method=pass_all
3941 fi
3942 ;;
3943
3944 gnu*)
3945 lt_cv_deplibs_check_method=pass_all
3946 ;;
3947
3948 hpux10.20*|hpux11*)
3949 case $host_cpu in
3950 hppa*)
3951 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
3952 lt_cv_file_magic_cmd=/usr/bin/file
3953 lt_cv_file_magic_test_file=/usr/lib/libc.sl
3954 ;;
3955 ia64*)
3956 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
3957 lt_cv_file_magic_cmd=/usr/bin/file
3958 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
3959 ;;
3960 esac
3961 ;;
3962
3963 irix5* | irix6*)
3964 case $host_os in
3965 irix5*)
3966 # this will be overridden with pass_all, but let us keep it just in case
3967 lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
3968 ;;
3969 *)
3970 case $LD in
3971 *-32|*"-32 ") libmagic=32-bit;;
3972 *-n32|*"-n32 ") libmagic=N32;;
3973 *-64|*"-64 ") libmagic=64-bit;;
3974 *) libmagic=never-match;;
3975 esac
3976 # this will be overridden with pass_all, but let us keep it just in case
3977 lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
3978 ;;
3979 esac
3980 lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`
3981 lt_cv_deplibs_check_method=pass_all
3982 ;;
3983
3984 # This must be Linux ELF.
3985 linux-gnu*)
3986 lt_cv_deplibs_check_method=pass_all
3987 ;;
3988
3989 netbsd* | knetbsd*-gnu)
3990 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
3991 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
3992 else
3993 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so$'
3994 fi
3995 ;;
3996
3997 newsos6)
3998 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
3999 lt_cv_file_magic_cmd=/usr/bin/file
4000 lt_cv_file_magic_test_file=/usr/lib/libnls.so
4001 ;;
4002
4003 osf3* | osf4* | osf5*)
4004 # this will be overridden with pass_all, but let us keep it just in case
4005 lt_cv_deplibs_check_method='file_magic COFF format alpha shared library'
4006 lt_cv_file_magic_test_file=/shlib/libc.so
4007 lt_cv_deplibs_check_method=pass_all
4008 ;;
4009
4010 sco3.2v5*)
4011 lt_cv_deplibs_check_method=pass_all
4012 ;;
4013
4014 solaris*)
4015 lt_cv_deplibs_check_method=pass_all
4016 lt_cv_file_magic_test_file=/lib/libc.so
4017 ;;
4018
4019 sysv5uw[78]* | sysv4*uw2*)
4020 lt_cv_deplibs_check_method=pass_all
4021 ;;
4022
4023 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
4024 case $host_vendor in
4025 ncr)
4026 lt_cv_deplibs_check_method=pass_all
4027 ;;
4028 motorola)
4029 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]'
4030 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
4031 ;;
4032 esac
4033 ;;
4034 esac
4035
4036 fi
4037 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
4038 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
4039 file_magic_cmd=$lt_cv_file_magic_cmd
4040 deplibs_check_method=$lt_cv_deplibs_check_method
4041
4042
4043
4044
4045
4046 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
4047
4048 # find the maximum length of command line arguments
4049 echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
4050 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
4051 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
4052 echo $ECHO_N "(cached) $ECHO_C" >&6
4053 else
4054 i=0
4055 teststring="ABCD"
4056
4057 case $build_os in
4058 msdosdjgpp*)
4059 # On DJGPP, this test can blow up pretty badly due to problems in libc
4060 # (any single argument exceeding 2000 bytes causes a buffer overrun
4061 # during glob expansion). Even if it were fixed, the result of this
4062 # check would be larger than it should be.
4063 lt_cv_sys_max_cmd_len=12288; # 12K is about right
4064 ;;
4065
4066 cygwin* | mingw*)
4067 # On Win9x/ME, this test blows up -- it succeeds, but takes
4068 # about 5 minutes as the teststring grows exponentially.
4069 # Worse, since 9x/ME are not pre-emptively multitasking,
4070 # you end up with a "frozen" computer, even though with patience
4071 # the test eventually succeeds (with a max line length of 256k).
4072 # Instead, let's just punt: use the minimum linelength reported by
4073 # all of the supported platforms: 8192 (on NT/2K/XP).
4074 lt_cv_sys_max_cmd_len=8192;
4075 ;;
4076
4077 amigaos*)
4078 # On AmigaOS with pdksh, this test takes hours, literally.
4079 # So we just punt and use a minimum line length of 8192.
4080 lt_cv_sys_max_cmd_len=8192;
4081 ;;
4082
4083 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
4084 # This has been around since 386BSD, at least. Likely further.
4085 if test -x /sbin/sysctl; then
4086 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
4087 elif test -x /usr/sbin/sysctl; then
4088 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
4089 else
4090 lt_cv_sys_max_cmd_len=65536 # usable default for *BSD
4091 fi
4092 # And add a safety zone
4093 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4094 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4095 ;;
4096 esac
4097
4098 fi
4099
4100 if test -n "$lt_cv_sys_max_cmd_len" ; then
4101 echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
4102 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
4103 else
4104 echo "$as_me:$LINENO: result: none" >&5
4105 echo "${ECHO_T}none" >&6
4106 fi
4107
4108
4109 # Only perform the check for file, if the check method requires it
4110 case $deplibs_check_method in
4111 file_magic*)
4112 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
4113 echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
4114 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
4115 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
4116 echo $ECHO_N "(cached) $ECHO_C" >&6
4117 else
4118 case $MAGIC_CMD in
4119 /*)
4120 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
4121 ;;
4122 ?:/*)
4123 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
4124 ;;
4125 *)
4126 ac_save_MAGIC_CMD="$MAGIC_CMD"
4127 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
4128 ac_dummy="/usr/bin:$PATH"
4129 for ac_dir in $ac_dummy; do
4130 test -z "$ac_dir" && ac_dir=.
4131 if test -f $ac_dir/${ac_tool_prefix}file; then
4132 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
4133 if test -n "$file_magic_test_file"; then
4134 case $deplibs_check_method in
4135 "file_magic "*)
4136 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
4137 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
4138 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
4139 egrep "$file_magic_regex" > /dev/null; then
4140 :
4141 else
4142 cat <<EOF 1>&2
4143
4144 *** Warning: the command libtool uses to detect shared libraries,
4145 *** $file_magic_cmd, produces output that libtool cannot recognize.
4146 *** The result is that libtool may fail to recognize shared libraries
4147 *** as such. This will affect the creation of libtool libraries that
4148 *** depend on shared libraries, but programs linked with such libtool
4149 *** libraries will work regardless of this problem. Nevertheless, you
4150 *** may want to report the problem to your system manager and/or to
4151 *** bug-libtool@gnu.org
4152
4153 EOF
4154 fi ;;
4155 esac
4156 fi
4157 break
4158 fi
4159 done
4160 IFS="$ac_save_ifs"
4161 MAGIC_CMD="$ac_save_MAGIC_CMD"
4162 ;;
4163 esac
4164 fi
4165
4166 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
4167 if test -n "$MAGIC_CMD"; then
4168 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
4169 echo "${ECHO_T}$MAGIC_CMD" >&6
4170 else
4171 echo "$as_me:$LINENO: result: no" >&5
4172 echo "${ECHO_T}no" >&6
4173 fi
4174
4175 if test -z "$lt_cv_path_MAGIC_CMD"; then
4176 if test -n "$ac_tool_prefix"; then
4177 echo "$as_me:$LINENO: checking for file" >&5
4178 echo $ECHO_N "checking for file... $ECHO_C" >&6
4179 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
4180 echo $ECHO_N "(cached) $ECHO_C" >&6
4181 else
4182 case $MAGIC_CMD in
4183 /*)
4184 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
4185 ;;
4186 ?:/*)
4187 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
4188 ;;
4189 *)
4190 ac_save_MAGIC_CMD="$MAGIC_CMD"
4191 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
4192 ac_dummy="/usr/bin:$PATH"
4193 for ac_dir in $ac_dummy; do
4194 test -z "$ac_dir" && ac_dir=.
4195 if test -f $ac_dir/file; then
4196 lt_cv_path_MAGIC_CMD="$ac_dir/file"
4197 if test -n "$file_magic_test_file"; then
4198 case $deplibs_check_method in
4199 "file_magic "*)
4200 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
4201 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
4202 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
4203 egrep "$file_magic_regex" > /dev/null; then
4204 :
4205 else
4206 cat <<EOF 1>&2
4207
4208 *** Warning: the command libtool uses to detect shared libraries,
4209 *** $file_magic_cmd, produces output that libtool cannot recognize.
4210 *** The result is that libtool may fail to recognize shared libraries
4211 *** as such. This will affect the creation of libtool libraries that
4212 *** depend on shared libraries, but programs linked with such libtool
4213 *** libraries will work regardless of this problem. Nevertheless, you
4214 *** may want to report the problem to your system manager and/or to
4215 *** bug-libtool@gnu.org
4216
4217 EOF
4218 fi ;;
4219 esac
4220 fi
4221 break
4222 fi
4223 done
4224 IFS="$ac_save_ifs"
4225 MAGIC_CMD="$ac_save_MAGIC_CMD"
4226 ;;
4227 esac
4228 fi
4229
4230 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
4231 if test -n "$MAGIC_CMD"; then
4232 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
4233 echo "${ECHO_T}$MAGIC_CMD" >&6
4234 else
4235 echo "$as_me:$LINENO: result: no" >&5
4236 echo "${ECHO_T}no" >&6
4237 fi
4238
4239 else
4240 MAGIC_CMD=:
4241 fi
4242 fi
4243
4244 fi
4245 ;;
4246 esac
4247
4248 if test -n "$ac_tool_prefix"; then
4249 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4250 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
4251 echo "$as_me:$LINENO: checking for $ac_word" >&5
4252 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4253 if test "${ac_cv_prog_RANLIB+set}" = set; then
4254 echo $ECHO_N "(cached) $ECHO_C" >&6
4255 else
4256 if test -n "$RANLIB"; then
4257 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
4258 else
4259 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4260 for as_dir in $PATH
4261 do
4262 IFS=$as_save_IFS
4263 test -z "$as_dir" && as_dir=.
4264 for ac_exec_ext in '' $ac_executable_extensions; do
4265 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4266 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
4267 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4268 break 2
4269 fi
4270 done
4271 done
4272
4273 fi
4274 fi
4275 RANLIB=$ac_cv_prog_RANLIB
4276 if test -n "$RANLIB"; then
4277 echo "$as_me:$LINENO: result: $RANLIB" >&5
4278 echo "${ECHO_T}$RANLIB" >&6
4279 else
4280 echo "$as_me:$LINENO: result: no" >&5
4281 echo "${ECHO_T}no" >&6
4282 fi
4283
4284 fi
4285 if test -z "$ac_cv_prog_RANLIB"; then
4286 ac_ct_RANLIB=$RANLIB
4287 # Extract the first word of "ranlib", so it can be a program name with args.
4288 set dummy ranlib; ac_word=$2
4289 echo "$as_me:$LINENO: checking for $ac_word" >&5
4290 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4291 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
4292 echo $ECHO_N "(cached) $ECHO_C" >&6
4293 else
4294 if test -n "$ac_ct_RANLIB"; then
4295 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
4296 else
4297 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4298 for as_dir in $PATH
4299 do
4300 IFS=$as_save_IFS
4301 test -z "$as_dir" && as_dir=.
4302 for ac_exec_ext in '' $ac_executable_extensions; do
4303 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4304 ac_cv_prog_ac_ct_RANLIB="ranlib"
4305 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4306 break 2
4307 fi
4308 done
4309 done
4310
4311 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
4312 fi
4313 fi
4314 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
4315 if test -n "$ac_ct_RANLIB"; then
4316 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
4317 echo "${ECHO_T}$ac_ct_RANLIB" >&6
4318 else
4319 echo "$as_me:$LINENO: result: no" >&5
4320 echo "${ECHO_T}no" >&6
4321 fi
4322
4323 RANLIB=$ac_ct_RANLIB
4324 else
4325 RANLIB="$ac_cv_prog_RANLIB"
4326 fi
4327
4328 if test -n "$ac_tool_prefix"; then
4329 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
4330 set dummy ${ac_tool_prefix}strip; ac_word=$2
4331 echo "$as_me:$LINENO: checking for $ac_word" >&5
4332 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4333 if test "${ac_cv_prog_STRIP+set}" = set; then
4334 echo $ECHO_N "(cached) $ECHO_C" >&6
4335 else
4336 if test -n "$STRIP"; then
4337 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
4338 else
4339 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4340 for as_dir in $PATH
4341 do
4342 IFS=$as_save_IFS
4343 test -z "$as_dir" && as_dir=.
4344 for ac_exec_ext in '' $ac_executable_extensions; do
4345 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4346 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
4347 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4348 break 2
4349 fi
4350 done
4351 done
4352
4353 fi
4354 fi
4355 STRIP=$ac_cv_prog_STRIP
4356 if test -n "$STRIP"; then
4357 echo "$as_me:$LINENO: result: $STRIP" >&5
4358 echo "${ECHO_T}$STRIP" >&6
4359 else
4360 echo "$as_me:$LINENO: result: no" >&5
4361 echo "${ECHO_T}no" >&6
4362 fi
4363
4364 fi
4365 if test -z "$ac_cv_prog_STRIP"; then
4366 ac_ct_STRIP=$STRIP
4367 # Extract the first word of "strip", so it can be a program name with args.
4368 set dummy strip; ac_word=$2
4369 echo "$as_me:$LINENO: checking for $ac_word" >&5
4370 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4371 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
4372 echo $ECHO_N "(cached) $ECHO_C" >&6
4373 else
4374 if test -n "$ac_ct_STRIP"; then
4375 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
4376 else
4377 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4378 for as_dir in $PATH
4379 do
4380 IFS=$as_save_IFS
4381 test -z "$as_dir" && as_dir=.
4382 for ac_exec_ext in '' $ac_executable_extensions; do
4383 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4384 ac_cv_prog_ac_ct_STRIP="strip"
4385 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4386 break 2
4387 fi
4388 done
4389 done
4390
4391 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
4392 fi
4393 fi
4394 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
4395 if test -n "$ac_ct_STRIP"; then
4396 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
4397 echo "${ECHO_T}$ac_ct_STRIP" >&6
4398 else
4399 echo "$as_me:$LINENO: result: no" >&5
4400 echo "${ECHO_T}no" >&6
4401 fi
4402
4403 STRIP=$ac_ct_STRIP
4404 else
4405 STRIP="$ac_cv_prog_STRIP"
4406 fi
4407
4408
4409 # Check for any special flags to pass to ltconfig.
4410 libtool_flags="--cache-file=$cache_file"
4411 test "$enable_shared" = no && libtool_flags="$libtool_flags --disable-shared"
4412 test "$enable_static" = no && libtool_flags="$libtool_flags --disable-static"
4413 test "$enable_fast_install" = no && libtool_flags="$libtool_flags --disable-fast-install"
4414 test "$GCC" = yes && libtool_flags="$libtool_flags --with-gcc"
4415 test "$lt_cv_prog_gnu_ld" = yes && libtool_flags="$libtool_flags --with-gnu-ld"
4416
4417
4418 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
4419 if test "${enable_libtool_lock+set}" = set; then
4420 enableval="$enable_libtool_lock"
4421
4422 fi;
4423 test "x$enable_libtool_lock" = xno && libtool_flags="$libtool_flags --disable-lock"
4424 test x"$silent" = xyes && libtool_flags="$libtool_flags --silent"
4425
4426
4427 # Check whether --with-pic or --without-pic was given.
4428 if test "${with_pic+set}" = set; then
4429 withval="$with_pic"
4430 pic_mode="$withval"
4431 else
4432 pic_mode=default
4433 fi;
4434 test x"$pic_mode" = xyes && libtool_flags="$libtool_flags --prefer-pic"
4435 test x"$pic_mode" = xno && libtool_flags="$libtool_flags --prefer-non-pic"
4436
4437 # Some flags need to be propagated to the compiler or linker for good
4438 # libtool support.
4439 case $host in
4440 *-*-irix6*)
4441 # Find out which ABI we are using.
4442 echo '#line 4442 "configure"' > conftest.$ac_ext
4443 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4444 (eval $ac_compile) 2>&5
4445 ac_status=$?
4446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4447 (exit $ac_status); }; then
4448 if test "$lt_cv_prog_gnu_ld" = yes; then
4449 case `/usr/bin/file conftest.$ac_objext` in
4450 *32-bit*)
4451 LD="${LD-ld} -melf32bsmip"
4452 ;;
4453 *N32*)
4454 LD="${LD-ld} -melf32bmipn32"
4455 ;;
4456 *64-bit*)
4457 LD="${LD-ld} -melf64bmip"
4458 ;;
4459 esac
4460 else
4461 case `/usr/bin/file conftest.$ac_objext` in
4462 *32-bit*)
4463 LD="${LD-ld} -32"
4464 ;;
4465 *N32*)
4466 LD="${LD-ld} -n32"
4467 ;;
4468 *64-bit*)
4469 LD="${LD-ld} -64"
4470 ;;
4471 esac
4472 fi
4473 fi
4474 rm -rf conftest*
4475 ;;
4476
4477 ia64-*-hpux*)
4478 # Find out which ABI we are using.
4479 echo 'int i;' > conftest.$ac_ext
4480 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4481 (eval $ac_compile) 2>&5
4482 ac_status=$?
4483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4484 (exit $ac_status); }; then
4485 case "`/usr/bin/file conftest.o`" in
4486 *ELF-32*)
4487 HPUX_IA64_MODE="32"
4488 ;;
4489 *ELF-64*)
4490 HPUX_IA64_MODE="64"
4491 ;;
4492 esac
4493 fi
4494 rm -rf conftest*
4495 ;;
4496
4497 x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
4498 # Find out which ABI we are using.
4499 echo 'int i;' > conftest.$ac_ext
4500 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4501 (eval $ac_compile) 2>&5
4502 ac_status=$?
4503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4504 (exit $ac_status); }; then
4505 case "`/usr/bin/file conftest.o`" in
4506 *32-bit*)
4507 case $host in
4508 x86_64-*linux*)
4509 LD="${LD-ld} -m elf_i386"
4510 ;;
4511 ppc64-*linux*|powerpc64-*linux*)
4512 LD="${LD-ld} -m elf32ppclinux"
4513 ;;
4514 s390x-*linux*)
4515 LD="${LD-ld} -m elf_s390"
4516 ;;
4517 sparc64-*linux*)
4518 LD="${LD-ld} -m elf32_sparc"
4519 ;;
4520 esac
4521 ;;
4522 *64-bit*)
4523 case $host in
4524 x86_64-*linux*)
4525 LD="${LD-ld} -m elf_x86_64"
4526 ;;
4527 ppc*-*linux*|powerpc*-*linux*)
4528 LD="${LD-ld} -m elf64ppc"
4529 ;;
4530 s390*-*linux*)
4531 LD="${LD-ld} -m elf64_s390"
4532 ;;
4533 sparc*-*linux*)
4534 LD="${LD-ld} -m elf64_sparc"
4535 ;;
4536 esac
4537 ;;
4538 esac
4539 fi
4540 rm -rf conftest*
4541 ;;
4542
4543 *-*-sco3.2v5*)
4544 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
4545 SAVE_CFLAGS="$CFLAGS"
4546 CFLAGS="$CFLAGS -belf"
4547 echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
4548 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
4549 if test "${lt_cv_cc_needs_belf+set}" = set; then
4550 echo $ECHO_N "(cached) $ECHO_C" >&6
4551 else
4552
4553
4554 ac_ext=c
4555 ac_cpp='$CPP $CPPFLAGS'
4556 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4557 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4558 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4559
4560 if test x$gcc_no_link = xyes; then
4561 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
4562 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
4563 { (exit 1); exit 1; }; }
4564 fi
4565 cat >conftest.$ac_ext <<_ACEOF
4566 /* confdefs.h. */
4567 _ACEOF
4568 cat confdefs.h >>conftest.$ac_ext
4569 cat >>conftest.$ac_ext <<_ACEOF
4570 /* end confdefs.h. */
4571
4572 int
4573 main ()
4574 {
4575
4576 ;
4577 return 0;
4578 }
4579 _ACEOF
4580 rm -f conftest.$ac_objext conftest$ac_exeext
4581 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4582 (eval $ac_link) 2>conftest.er1
4583 ac_status=$?
4584 grep -v '^ *+' conftest.er1 >conftest.err
4585 rm -f conftest.er1
4586 cat conftest.err >&5
4587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4588 (exit $ac_status); } &&
4589 { ac_try='test -z "$ac_c_werror_flag"
4590 || test ! -s conftest.err'
4591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4592 (eval $ac_try) 2>&5
4593 ac_status=$?
4594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4595 (exit $ac_status); }; } &&
4596 { ac_try='test -s conftest$ac_exeext'
4597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4598 (eval $ac_try) 2>&5
4599 ac_status=$?
4600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4601 (exit $ac_status); }; }; then
4602 lt_cv_cc_needs_belf=yes
4603 else
4604 echo "$as_me: failed program was:" >&5
4605 sed 's/^/| /' conftest.$ac_ext >&5
4606
4607 lt_cv_cc_needs_belf=no
4608 fi
4609 rm -f conftest.err conftest.$ac_objext \
4610 conftest$ac_exeext conftest.$ac_ext
4611 ac_ext=c
4612 ac_cpp='$CPP $CPPFLAGS'
4613 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4614 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4615 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4616
4617 fi
4618 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
4619 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
4620 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
4621 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
4622 CFLAGS="$SAVE_CFLAGS"
4623 fi
4624 ;;
4625
4626
4627 esac
4628
4629
4630 # Save cache, so that ltconfig can load it
4631 cat >confcache <<\_ACEOF
4632 # This file is a shell script that caches the results of configure
4633 # tests run on this system so they can be shared between configure
4634 # scripts and configure runs, see configure's option --config-cache.
4635 # It is not useful on other systems. If it contains results you don't
4636 # want to keep, you may remove or edit it.
4637 #
4638 # config.status only pays attention to the cache file if you give it
4639 # the --recheck option to rerun configure.
4640 #
4641 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4642 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4643 # following values.
4644
4645 _ACEOF
4646
4647 # The following way of writing the cache mishandles newlines in values,
4648 # but we know of no workaround that is simple, portable, and efficient.
4649 # So, don't put newlines in cache variables' values.
4650 # Ultrix sh set writes to stderr and can't be redirected directly,
4651 # and sets the high bit in the cache file unless we assign to the vars.
4652 {
4653 (set) 2>&1 |
4654 case `(ac_space=' '; set | grep ac_space) 2>&1` in
4655 *ac_space=\ *)
4656 # `set' does not quote correctly, so add quotes (double-quote
4657 # substitution turns \\\\ into \\, and sed turns \\ into \).
4658 sed -n \
4659 "s/'/'\\\\''/g;
4660 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4661 ;;
4662 *)
4663 # `set' quotes correctly as required by POSIX, so do not add quotes.
4664 sed -n \
4665 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
4666 ;;
4667 esac;
4668 } |
4669 sed '
4670 t clear
4671 : clear
4672 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4673 t end
4674 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4675 : end' >>confcache
4676 if diff $cache_file confcache >/dev/null 2>&1; then :; else
4677 if test -w $cache_file; then
4678 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
4679 cat confcache >$cache_file
4680 else
4681 echo "not updating unwritable cache $cache_file"
4682 fi
4683 fi
4684 rm -f confcache
4685
4686 # Actually configure libtool. ac_aux_dir is where install-sh is found.
4687 AR="$AR" LTCC="$CC" CC="$CC" CFLAGS="$CFLAGS" CPPFLAGS="$CPPFLAGS" \
4688 MAGIC_CMD="$MAGIC_CMD" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
4689 LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
4690 AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
4691 objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
4692 deplibs_check_method="$deplibs_check_method" file_magic_cmd="$file_magic_cmd" \
4693 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig --no-reexec \
4694 $libtool_flags --no-verify --build="$build" $ac_aux_dir/ltmain.sh $host \
4695 || { { echo "$as_me:$LINENO: error: libtool configure failed" >&5
4696 echo "$as_me: error: libtool configure failed" >&2;}
4697 { (exit 1); exit 1; }; }
4698
4699 # Reload cache, that may have been modified by ltconfig
4700 if test -r "$cache_file"; then
4701 # Some versions of bash will fail to source /dev/null (special
4702 # files actually), so we avoid doing that.
4703 if test -f "$cache_file"; then
4704 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
4705 echo "$as_me: loading cache $cache_file" >&6;}
4706 case $cache_file in
4707 [\\/]* | ?:[\\/]* ) . $cache_file;;
4708 *) . ./$cache_file;;
4709 esac
4710 fi
4711 else
4712 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
4713 echo "$as_me: creating cache $cache_file" >&6;}
4714 >$cache_file
4715 fi
4716
4717
4718 # This can be used to rebuild libtool when needed
4719 LIBTOOL_DEPS="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh $ac_aux_dir/ltcf-c.sh"
4720
4721 # Always use our own libtool.
4722 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
4723
4724 # Redirect the config.log output again, so that the ltconfig log is not
4725 # clobbered by the next message.
4726 exec 5>>./config.log
4727
4728 ac_ext=cc
4729 ac_cpp='$CXXCPP $CPPFLAGS'
4730 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4731 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4732 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4733 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
4734 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
4735 if test -z "$CXXCPP"; then
4736 if test "${ac_cv_prog_CXXCPP+set}" = set; then
4737 echo $ECHO_N "(cached) $ECHO_C" >&6
4738 else
4739 # Double quotes because CXXCPP needs to be expanded
4740 for CXXCPP in "$CXX -E" "/lib/cpp"
4741 do
4742 ac_preproc_ok=false
4743 for ac_cxx_preproc_warn_flag in '' yes
4744 do
4745 # Use a header file that comes with gcc, so configuring glibc
4746 # with a fresh cross-compiler works.
4747 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4748 # <limits.h> exists even on freestanding compilers.
4749 # On the NeXT, cc -E runs the code through the compiler's parser,
4750 # not just through cpp. "Syntax error" is here to catch this case.
4751 cat >conftest.$ac_ext <<_ACEOF
4752 /* confdefs.h. */
4753 _ACEOF
4754 cat confdefs.h >>conftest.$ac_ext
4755 cat >>conftest.$ac_ext <<_ACEOF
4756 /* end confdefs.h. */
4757 #ifdef __STDC__
4758 # include <limits.h>
4759 #else
4760 # include <assert.h>
4761 #endif
4762 Syntax error
4763 _ACEOF
4764 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4765 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4766 ac_status=$?
4767 grep -v '^ *+' conftest.er1 >conftest.err
4768 rm -f conftest.er1
4769 cat conftest.err >&5
4770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4771 (exit $ac_status); } >/dev/null; then
4772 if test -s conftest.err; then
4773 ac_cpp_err=$ac_cxx_preproc_warn_flag
4774 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
4775 else
4776 ac_cpp_err=
4777 fi
4778 else
4779 ac_cpp_err=yes
4780 fi
4781 if test -z "$ac_cpp_err"; then
4782 :
4783 else
4784 echo "$as_me: failed program was:" >&5
4785 sed 's/^/| /' conftest.$ac_ext >&5
4786
4787 # Broken: fails on valid input.
4788 continue
4789 fi
4790 rm -f conftest.err conftest.$ac_ext
4791
4792 # OK, works on sane cases. Now check whether non-existent headers
4793 # can be detected and how.
4794 cat >conftest.$ac_ext <<_ACEOF
4795 /* confdefs.h. */
4796 _ACEOF
4797 cat confdefs.h >>conftest.$ac_ext
4798 cat >>conftest.$ac_ext <<_ACEOF
4799 /* end confdefs.h. */
4800 #include <ac_nonexistent.h>
4801 _ACEOF
4802 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4803 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4804 ac_status=$?
4805 grep -v '^ *+' conftest.er1 >conftest.err
4806 rm -f conftest.er1
4807 cat conftest.err >&5
4808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4809 (exit $ac_status); } >/dev/null; then
4810 if test -s conftest.err; then
4811 ac_cpp_err=$ac_cxx_preproc_warn_flag
4812 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
4813 else
4814 ac_cpp_err=
4815 fi
4816 else
4817 ac_cpp_err=yes
4818 fi
4819 if test -z "$ac_cpp_err"; then
4820 # Broken: success on invalid input.
4821 continue
4822 else
4823 echo "$as_me: failed program was:" >&5
4824 sed 's/^/| /' conftest.$ac_ext >&5
4825
4826 # Passes both tests.
4827 ac_preproc_ok=:
4828 break
4829 fi
4830 rm -f conftest.err conftest.$ac_ext
4831
4832 done
4833 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4834 rm -f conftest.err conftest.$ac_ext
4835 if $ac_preproc_ok; then
4836 break
4837 fi
4838
4839 done
4840 ac_cv_prog_CXXCPP=$CXXCPP
4841
4842 fi
4843 CXXCPP=$ac_cv_prog_CXXCPP
4844 else
4845 ac_cv_prog_CXXCPP=$CXXCPP
4846 fi
4847 echo "$as_me:$LINENO: result: $CXXCPP" >&5
4848 echo "${ECHO_T}$CXXCPP" >&6
4849 ac_preproc_ok=false
4850 for ac_cxx_preproc_warn_flag in '' yes
4851 do
4852 # Use a header file that comes with gcc, so configuring glibc
4853 # with a fresh cross-compiler works.
4854 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4855 # <limits.h> exists even on freestanding compilers.
4856 # On the NeXT, cc -E runs the code through the compiler's parser,
4857 # not just through cpp. "Syntax error" is here to catch this case.
4858 cat >conftest.$ac_ext <<_ACEOF
4859 /* confdefs.h. */
4860 _ACEOF
4861 cat confdefs.h >>conftest.$ac_ext
4862 cat >>conftest.$ac_ext <<_ACEOF
4863 /* end confdefs.h. */
4864 #ifdef __STDC__
4865 # include <limits.h>
4866 #else
4867 # include <assert.h>
4868 #endif
4869 Syntax error
4870 _ACEOF
4871 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4872 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4873 ac_status=$?
4874 grep -v '^ *+' conftest.er1 >conftest.err
4875 rm -f conftest.er1
4876 cat conftest.err >&5
4877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4878 (exit $ac_status); } >/dev/null; then
4879 if test -s conftest.err; then
4880 ac_cpp_err=$ac_cxx_preproc_warn_flag
4881 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
4882 else
4883 ac_cpp_err=
4884 fi
4885 else
4886 ac_cpp_err=yes
4887 fi
4888 if test -z "$ac_cpp_err"; then
4889 :
4890 else
4891 echo "$as_me: failed program was:" >&5
4892 sed 's/^/| /' conftest.$ac_ext >&5
4893
4894 # Broken: fails on valid input.
4895 continue
4896 fi
4897 rm -f conftest.err conftest.$ac_ext
4898
4899 # OK, works on sane cases. Now check whether non-existent headers
4900 # can be detected and how.
4901 cat >conftest.$ac_ext <<_ACEOF
4902 /* confdefs.h. */
4903 _ACEOF
4904 cat confdefs.h >>conftest.$ac_ext
4905 cat >>conftest.$ac_ext <<_ACEOF
4906 /* end confdefs.h. */
4907 #include <ac_nonexistent.h>
4908 _ACEOF
4909 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4910 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4911 ac_status=$?
4912 grep -v '^ *+' conftest.er1 >conftest.err
4913 rm -f conftest.er1
4914 cat conftest.err >&5
4915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4916 (exit $ac_status); } >/dev/null; then
4917 if test -s conftest.err; then
4918 ac_cpp_err=$ac_cxx_preproc_warn_flag
4919 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
4920 else
4921 ac_cpp_err=
4922 fi
4923 else
4924 ac_cpp_err=yes
4925 fi
4926 if test -z "$ac_cpp_err"; then
4927 # Broken: success on invalid input.
4928 continue
4929 else
4930 echo "$as_me: failed program was:" >&5
4931 sed 's/^/| /' conftest.$ac_ext >&5
4932
4933 # Passes both tests.
4934 ac_preproc_ok=:
4935 break
4936 fi
4937 rm -f conftest.err conftest.$ac_ext
4938
4939 done
4940 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4941 rm -f conftest.err conftest.$ac_ext
4942 if $ac_preproc_ok; then
4943 :
4944 else
4945 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
4946 See \`config.log' for more details." >&5
4947 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
4948 See \`config.log' for more details." >&2;}
4949 { (exit 1); exit 1; }; }
4950 fi
4951
4952 ac_ext=c
4953 ac_cpp='$CPP $CPPFLAGS'
4954 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4955 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4956 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4957
4958
4959
4960 LIBTOOL_DEPS=$LIBTOOL_DEPS" $ac_aux_dir/ltcf-cxx.sh"
4961 lt_save_CC="$CC"
4962 lt_save_CFLAGS="$CFLAGS"
4963 AR="$AR" LTCC="$CC" CC="$CXX" CXX="$CXX" CFLAGS="$CXXFLAGS" CPPFLAGS="$CPPFLAGS" \
4964 MAGIC_CMD="$MAGIC_CMD" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
4965 LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
4966 AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
4967 objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
4968 deplibs_check_method="$deplibs_check_method" \
4969 file_magic_cmd="$file_magic_cmd" \
4970 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig -o libtool $libtool_flags \
4971 --build="$build" --add-tag=CXX $ac_aux_dir/ltcf-cxx.sh $host \
4972 || { { echo "$as_me:$LINENO: error: libtool tag configuration failed" >&5
4973 echo "$as_me: error: libtool tag configuration failed" >&2;}
4974 { (exit 1); exit 1; }; }
4975 CC="$lt_save_CC"
4976 CFLAGS="$lt_save_CFLAGS"
4977
4978 # Redirect the config.log output again, so that the ltconfig log is not
4979 # clobbered by the next message.
4980 exec 5>>./config.log
4981
4982
4983
4984
4985
4986
4987
4988
4989
4990 # Possibly disable most of the library.
4991 ## TODO: Consider skipping unncessary tests altogether in this case, rather
4992 ## than just ignoring the results. Faster /and/ more correct, win win.
4993
4994 # Check whether --enable-hosted-libstdcxx or --disable-hosted-libstdcxx was given.
4995 if test "${enable_hosted_libstdcxx+set}" = set; then
4996 enableval="$enable_hosted_libstdcxx"
4997
4998 else
4999 case "$host" in
5000 arm*-*-symbianelf*)
5001 enable_hosted_libstdcxx=no
5002 ;;
5003 *)
5004 enable_hosted_libstdcxx=yes
5005 ;;
5006 esac
5007 fi;
5008 if test "$enable_hosted_libstdcxx" = no; then
5009 { echo "$as_me:$LINENO: Only freestanding libraries will be built" >&5
5010 echo "$as_me: Only freestanding libraries will be built" >&6;}
5011 is_hosted=no
5012 hosted_define=0
5013 enable_abi_check=no
5014 enable_libstdcxx_pch=no
5015 else
5016 is_hosted=yes
5017 hosted_define=1
5018 fi
5019
5020
5021 cat >>confdefs.h <<_ACEOF
5022 #define _GLIBCXX_HOSTED $hosted_define
5023 _ACEOF
5024
5025
5026
5027 # Check for compiler support that doesn't require linking.
5028
5029 echo "$as_me:$LINENO: checking for exception model to use" >&5
5030 echo $ECHO_N "checking for exception model to use... $ECHO_C" >&6
5031
5032
5033 ac_ext=cc
5034 ac_cpp='$CXXCPP $CPPFLAGS'
5035 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5036 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5037 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5038
5039 # Check whether --enable-sjlj-exceptions or --disable-sjlj-exceptions was given.
5040 if test "${enable_sjlj_exceptions+set}" = set; then
5041 enableval="$enable_sjlj_exceptions"
5042
5043 case "$enableval" in
5044 yes|no|auto) ;;
5045 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable sjlj-exceptions" >&5
5046 echo "$as_me: error: Unknown argument to enable/disable sjlj-exceptions" >&2;}
5047 { (exit 1); exit 1; }; } ;;
5048 esac
5049
5050 else
5051 enable_sjlj_exceptions=auto
5052 fi;
5053
5054
5055 if test $enable_sjlj_exceptions = auto; then
5056 # Botheration. Now we've got to detect the exception model. Link tests
5057 # against libgcc.a are problematic since we've not been given proper -L
5058 # bits for single-tree newlib and libgloss.
5059 #
5060 # Fake what AC_TRY_COMPILE does. XXX Look at redoing this new-style.
5061 cat > conftest.$ac_ext << EOF
5062 #line 5062 "configure"
5063 struct S { ~S(); };
5064 void bar();
5065 void foo()
5066 {
5067 S s;
5068 bar();
5069 }
5070 EOF
5071 old_CXXFLAGS="$CXXFLAGS"
5072 CXXFLAGS=-S
5073 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5074 (eval $ac_compile) 2>&5
5075 ac_status=$?
5076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5077 (exit $ac_status); }; then
5078 if grep _Unwind_SjLj_Resume conftest.s >/dev/null 2>&1 ; then
5079 enable_sjlj_exceptions=yes
5080 elif grep _Unwind_Resume conftest.s >/dev/null 2>&1 ; then
5081 enable_sjlj_exceptions=no
5082 fi
5083 fi
5084 CXXFLAGS="$old_CXXFLAGS"
5085 rm -f conftest*
5086 fi
5087
5088 # This is a tad weird, for hysterical raisins. We have to map enable/disable
5089 # to two different models.
5090 case $enable_sjlj_exceptions in
5091 yes)
5092
5093 cat >>confdefs.h <<\_ACEOF
5094 #define _GLIBCXX_SJLJ_EXCEPTIONS 1
5095 _ACEOF
5096
5097 ac_exception_model_name=sjlj
5098 ;;
5099 no)
5100 ac_exception_model_name="call frame"
5101 ;;
5102 *)
5103 { { echo "$as_me:$LINENO: error: unable to detect exception model" >&5
5104 echo "$as_me: error: unable to detect exception model" >&2;}
5105 { (exit 1); exit 1; }; }
5106 ;;
5107 esac
5108 ac_ext=c
5109 ac_cpp='$CPP $CPPFLAGS'
5110 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5111 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5112 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5113
5114 echo "$as_me:$LINENO: result: $ac_exception_model_name" >&5
5115 echo "${ECHO_T}$ac_exception_model_name" >&6
5116
5117
5118 echo "$as_me:$LINENO: checking for enabled PCH" >&5
5119 echo $ECHO_N "checking for enabled PCH... $ECHO_C" >&6
5120 # Check whether --enable-libstdcxx-pch or --disable-libstdcxx-pch was given.
5121 if test "${enable_libstdcxx_pch+set}" = set; then
5122 enableval="$enable_libstdcxx_pch"
5123
5124 case "$enableval" in
5125 yes|no) ;;
5126 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable libstdcxx-pch must be yes or no" >&5
5127 echo "$as_me: error: Argument to enable/disable libstdcxx-pch must be yes or no" >&2;}
5128 { (exit 1); exit 1; }; } ;;
5129 esac
5130
5131 else
5132 enable_libstdcxx_pch=$is_hosted
5133 fi;
5134
5135 echo "$as_me:$LINENO: result: $enable_libstdcxx_pch" >&5
5136 echo "${ECHO_T}$enable_libstdcxx_pch" >&6
5137
5138 if test $enable_libstdcxx_pch = yes; then
5139 echo "$as_me:$LINENO: checking for compiler with PCH support" >&5
5140 echo $ECHO_N "checking for compiler with PCH support... $ECHO_C" >&6
5141 if test "${glibcxx_cv_prog_CXX_pch+set}" = set; then
5142 echo $ECHO_N "(cached) $ECHO_C" >&6
5143 else
5144 ac_save_CXXFLAGS="$CXXFLAGS"
5145 CXXFLAGS="$CXXFLAGS -Werror -Winvalid-pch -Wno-deprecated"
5146
5147
5148 ac_ext=cc
5149 ac_cpp='$CXXCPP $CPPFLAGS'
5150 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5151 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5152 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5153
5154 echo '#include <math.h>' > conftest.h
5155 if $CXX $CXXFLAGS $CPPFLAGS -x c++-header conftest.h \
5156 -o conftest.h.gch 1>&5 2>&1 &&
5157 echo '#error "pch failed"' > conftest.h &&
5158 echo '#include "conftest.h"' > conftest.cc &&
5159 $CXX -c $CXXFLAGS $CPPFLAGS conftest.cc 1>&5 2>&1 ;
5160 then
5161 glibcxx_cv_prog_CXX_pch=yes
5162 else
5163 glibcxx_cv_prog_CXX_pch=no
5164 fi
5165 rm -f conftest*
5166 CXXFLAGS=$ac_save_CXXFLAGS
5167 ac_ext=c
5168 ac_cpp='$CPP $CPPFLAGS'
5169 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5170 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5171 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5172
5173
5174 fi
5175 echo "$as_me:$LINENO: result: $glibcxx_cv_prog_CXX_pch" >&5
5176 echo "${ECHO_T}$glibcxx_cv_prog_CXX_pch" >&6
5177 enable_libstdcxx_pch=$glibcxx_cv_prog_CXX_pch
5178 fi
5179
5180
5181 if test $enable_libstdcxx_pch = yes; then
5182 glibcxx_PCHFLAGS="-include bits/stdc++.h"
5183 else
5184 glibcxx_PCHFLAGS=""
5185 fi
5186
5187
5188
5189 # Enable all the variable C++ runtime options.
5190
5191 echo "$as_me:$LINENO: checking for underlying I/O to use" >&5
5192 echo $ECHO_N "checking for underlying I/O to use... $ECHO_C" >&6
5193 # Check whether --enable-cstdio or --disable-cstdio was given.
5194 if test "${enable_cstdio+set}" = set; then
5195 enableval="$enable_cstdio"
5196
5197 case "$enableval" in
5198 stdio) ;;
5199 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable cstdio" >&5
5200 echo "$as_me: error: Unknown argument to enable/disable cstdio" >&2;}
5201 { (exit 1); exit 1; }; } ;;
5202 esac
5203
5204 else
5205 enable_cstdio=stdio
5206 fi;
5207
5208
5209 # Now that libio has been removed, you can have any color you want as long
5210 # as it's black. This is one big no-op until other packages are added, but
5211 # showing the framework never hurts.
5212 case ${enable_cstdio} in
5213 stdio)
5214 CSTDIO_H=config/io/c_io_stdio.h
5215 BASIC_FILE_H=config/io/basic_file_stdio.h
5216 BASIC_FILE_CC=config/io/basic_file_stdio.cc
5217 echo "$as_me:$LINENO: result: stdio" >&5
5218 echo "${ECHO_T}stdio" >&6
5219 ;;
5220 esac
5221
5222
5223
5224
5225
5226 ac_ext=c
5227 ac_cpp='$CPP $CPPFLAGS'
5228 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5229 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5230 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5231 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
5232 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
5233 # On Suns, sometimes $CPP names a directory.
5234 if test -n "$CPP" && test -d "$CPP"; then
5235 CPP=
5236 fi
5237 if test -z "$CPP"; then
5238 if test "${ac_cv_prog_CPP+set}" = set; then
5239 echo $ECHO_N "(cached) $ECHO_C" >&6
5240 else
5241 # Double quotes because CPP needs to be expanded
5242 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5243 do
5244 ac_preproc_ok=false
5245 for ac_c_preproc_warn_flag in '' yes
5246 do
5247 # Use a header file that comes with gcc, so configuring glibc
5248 # with a fresh cross-compiler works.
5249 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5250 # <limits.h> exists even on freestanding compilers.
5251 # On the NeXT, cc -E runs the code through the compiler's parser,
5252 # not just through cpp. "Syntax error" is here to catch this case.
5253 cat >conftest.$ac_ext <<_ACEOF
5254 /* confdefs.h. */
5255 _ACEOF
5256 cat confdefs.h >>conftest.$ac_ext
5257 cat >>conftest.$ac_ext <<_ACEOF
5258 /* end confdefs.h. */
5259 #ifdef __STDC__
5260 # include <limits.h>
5261 #else
5262 # include <assert.h>
5263 #endif
5264 Syntax error
5265 _ACEOF
5266 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5267 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5268 ac_status=$?
5269 grep -v '^ *+' conftest.er1 >conftest.err
5270 rm -f conftest.er1
5271 cat conftest.err >&5
5272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5273 (exit $ac_status); } >/dev/null; then
5274 if test -s conftest.err; then
5275 ac_cpp_err=$ac_c_preproc_warn_flag
5276 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5277 else
5278 ac_cpp_err=
5279 fi
5280 else
5281 ac_cpp_err=yes
5282 fi
5283 if test -z "$ac_cpp_err"; then
5284 :
5285 else
5286 echo "$as_me: failed program was:" >&5
5287 sed 's/^/| /' conftest.$ac_ext >&5
5288
5289 # Broken: fails on valid input.
5290 continue
5291 fi
5292 rm -f conftest.err conftest.$ac_ext
5293
5294 # OK, works on sane cases. Now check whether non-existent headers
5295 # can be detected and how.
5296 cat >conftest.$ac_ext <<_ACEOF
5297 /* confdefs.h. */
5298 _ACEOF
5299 cat confdefs.h >>conftest.$ac_ext
5300 cat >>conftest.$ac_ext <<_ACEOF
5301 /* end confdefs.h. */
5302 #include <ac_nonexistent.h>
5303 _ACEOF
5304 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5305 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5306 ac_status=$?
5307 grep -v '^ *+' conftest.er1 >conftest.err
5308 rm -f conftest.er1
5309 cat conftest.err >&5
5310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5311 (exit $ac_status); } >/dev/null; then
5312 if test -s conftest.err; then
5313 ac_cpp_err=$ac_c_preproc_warn_flag
5314 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5315 else
5316 ac_cpp_err=
5317 fi
5318 else
5319 ac_cpp_err=yes
5320 fi
5321 if test -z "$ac_cpp_err"; then
5322 # Broken: success on invalid input.
5323 continue
5324 else
5325 echo "$as_me: failed program was:" >&5
5326 sed 's/^/| /' conftest.$ac_ext >&5
5327
5328 # Passes both tests.
5329 ac_preproc_ok=:
5330 break
5331 fi
5332 rm -f conftest.err conftest.$ac_ext
5333
5334 done
5335 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5336 rm -f conftest.err conftest.$ac_ext
5337 if $ac_preproc_ok; then
5338 break
5339 fi
5340
5341 done
5342 ac_cv_prog_CPP=$CPP
5343
5344 fi
5345 CPP=$ac_cv_prog_CPP
5346 else
5347 ac_cv_prog_CPP=$CPP
5348 fi
5349 echo "$as_me:$LINENO: result: $CPP" >&5
5350 echo "${ECHO_T}$CPP" >&6
5351 ac_preproc_ok=false
5352 for ac_c_preproc_warn_flag in '' yes
5353 do
5354 # Use a header file that comes with gcc, so configuring glibc
5355 # with a fresh cross-compiler works.
5356 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5357 # <limits.h> exists even on freestanding compilers.
5358 # On the NeXT, cc -E runs the code through the compiler's parser,
5359 # not just through cpp. "Syntax error" is here to catch this case.
5360 cat >conftest.$ac_ext <<_ACEOF
5361 /* confdefs.h. */
5362 _ACEOF
5363 cat confdefs.h >>conftest.$ac_ext
5364 cat >>conftest.$ac_ext <<_ACEOF
5365 /* end confdefs.h. */
5366 #ifdef __STDC__
5367 # include <limits.h>
5368 #else
5369 # include <assert.h>
5370 #endif
5371 Syntax error
5372 _ACEOF
5373 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5374 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5375 ac_status=$?
5376 grep -v '^ *+' conftest.er1 >conftest.err
5377 rm -f conftest.er1
5378 cat conftest.err >&5
5379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5380 (exit $ac_status); } >/dev/null; then
5381 if test -s conftest.err; then
5382 ac_cpp_err=$ac_c_preproc_warn_flag
5383 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5384 else
5385 ac_cpp_err=
5386 fi
5387 else
5388 ac_cpp_err=yes
5389 fi
5390 if test -z "$ac_cpp_err"; then
5391 :
5392 else
5393 echo "$as_me: failed program was:" >&5
5394 sed 's/^/| /' conftest.$ac_ext >&5
5395
5396 # Broken: fails on valid input.
5397 continue
5398 fi
5399 rm -f conftest.err conftest.$ac_ext
5400
5401 # OK, works on sane cases. Now check whether non-existent headers
5402 # can be detected and how.
5403 cat >conftest.$ac_ext <<_ACEOF
5404 /* confdefs.h. */
5405 _ACEOF
5406 cat confdefs.h >>conftest.$ac_ext
5407 cat >>conftest.$ac_ext <<_ACEOF
5408 /* end confdefs.h. */
5409 #include <ac_nonexistent.h>
5410 _ACEOF
5411 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5412 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5413 ac_status=$?
5414 grep -v '^ *+' conftest.er1 >conftest.err
5415 rm -f conftest.er1
5416 cat conftest.err >&5
5417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5418 (exit $ac_status); } >/dev/null; then
5419 if test -s conftest.err; then
5420 ac_cpp_err=$ac_c_preproc_warn_flag
5421 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5422 else
5423 ac_cpp_err=
5424 fi
5425 else
5426 ac_cpp_err=yes
5427 fi
5428 if test -z "$ac_cpp_err"; then
5429 # Broken: success on invalid input.
5430 continue
5431 else
5432 echo "$as_me: failed program was:" >&5
5433 sed 's/^/| /' conftest.$ac_ext >&5
5434
5435 # Passes both tests.
5436 ac_preproc_ok=:
5437 break
5438 fi
5439 rm -f conftest.err conftest.$ac_ext
5440
5441 done
5442 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5443 rm -f conftest.err conftest.$ac_ext
5444 if $ac_preproc_ok; then
5445 :
5446 else
5447 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
5448 See \`config.log' for more details." >&5
5449 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
5450 See \`config.log' for more details." >&2;}
5451 { (exit 1); exit 1; }; }
5452 fi
5453
5454 ac_ext=c
5455 ac_cpp='$CPP $CPPFLAGS'
5456 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5457 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5458 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5459
5460
5461 echo "$as_me:$LINENO: checking for egrep" >&5
5462 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
5463 if test "${ac_cv_prog_egrep+set}" = set; then
5464 echo $ECHO_N "(cached) $ECHO_C" >&6
5465 else
5466 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
5467 then ac_cv_prog_egrep='grep -E'
5468 else ac_cv_prog_egrep='egrep'
5469 fi
5470 fi
5471 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
5472 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
5473 EGREP=$ac_cv_prog_egrep
5474
5475
5476 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5477 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
5478 if test "${ac_cv_header_stdc+set}" = set; then
5479 echo $ECHO_N "(cached) $ECHO_C" >&6
5480 else
5481 cat >conftest.$ac_ext <<_ACEOF
5482 /* confdefs.h. */
5483 _ACEOF
5484 cat confdefs.h >>conftest.$ac_ext
5485 cat >>conftest.$ac_ext <<_ACEOF
5486 /* end confdefs.h. */
5487 #include <stdlib.h>
5488 #include <stdarg.h>
5489 #include <string.h>
5490 #include <float.h>
5491
5492 int
5493 main ()
5494 {
5495
5496 ;
5497 return 0;
5498 }
5499 _ACEOF
5500 rm -f conftest.$ac_objext
5501 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5502 (eval $ac_compile) 2>conftest.er1
5503 ac_status=$?
5504 grep -v '^ *+' conftest.er1 >conftest.err
5505 rm -f conftest.er1
5506 cat conftest.err >&5
5507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5508 (exit $ac_status); } &&
5509 { ac_try='test -z "$ac_c_werror_flag"
5510 || test ! -s conftest.err'
5511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5512 (eval $ac_try) 2>&5
5513 ac_status=$?
5514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5515 (exit $ac_status); }; } &&
5516 { ac_try='test -s conftest.$ac_objext'
5517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5518 (eval $ac_try) 2>&5
5519 ac_status=$?
5520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5521 (exit $ac_status); }; }; then
5522 ac_cv_header_stdc=yes
5523 else
5524 echo "$as_me: failed program was:" >&5
5525 sed 's/^/| /' conftest.$ac_ext >&5
5526
5527 ac_cv_header_stdc=no
5528 fi
5529 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5530
5531 if test $ac_cv_header_stdc = yes; then
5532 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5533 cat >conftest.$ac_ext <<_ACEOF
5534 /* confdefs.h. */
5535 _ACEOF
5536 cat confdefs.h >>conftest.$ac_ext
5537 cat >>conftest.$ac_ext <<_ACEOF
5538 /* end confdefs.h. */
5539 #include <string.h>
5540
5541 _ACEOF
5542 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5543 $EGREP "memchr" >/dev/null 2>&1; then
5544 :
5545 else
5546 ac_cv_header_stdc=no
5547 fi
5548 rm -f conftest*
5549
5550 fi
5551
5552 if test $ac_cv_header_stdc = yes; then
5553 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5554 cat >conftest.$ac_ext <<_ACEOF
5555 /* confdefs.h. */
5556 _ACEOF
5557 cat confdefs.h >>conftest.$ac_ext
5558 cat >>conftest.$ac_ext <<_ACEOF
5559 /* end confdefs.h. */
5560 #include <stdlib.h>
5561
5562 _ACEOF
5563 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5564 $EGREP "free" >/dev/null 2>&1; then
5565 :
5566 else
5567 ac_cv_header_stdc=no
5568 fi
5569 rm -f conftest*
5570
5571 fi
5572
5573 if test $ac_cv_header_stdc = yes; then
5574 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5575 if test "$cross_compiling" = yes; then
5576 :
5577 else
5578 cat >conftest.$ac_ext <<_ACEOF
5579 /* confdefs.h. */
5580 _ACEOF
5581 cat confdefs.h >>conftest.$ac_ext
5582 cat >>conftest.$ac_ext <<_ACEOF
5583 /* end confdefs.h. */
5584 #include <ctype.h>
5585 #if ((' ' & 0x0FF) == 0x020)
5586 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5587 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5588 #else
5589 # define ISLOWER(c) \
5590 (('a' <= (c) && (c) <= 'i') \
5591 || ('j' <= (c) && (c) <= 'r') \
5592 || ('s' <= (c) && (c) <= 'z'))
5593 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5594 #endif
5595
5596 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5597 int
5598 main ()
5599 {
5600 int i;
5601 for (i = 0; i < 256; i++)
5602 if (XOR (islower (i), ISLOWER (i))
5603 || toupper (i) != TOUPPER (i))
5604 exit(2);
5605 exit (0);
5606 }
5607 _ACEOF
5608 rm -f conftest$ac_exeext
5609 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5610 (eval $ac_link) 2>&5
5611 ac_status=$?
5612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5613 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5615 (eval $ac_try) 2>&5
5616 ac_status=$?
5617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5618 (exit $ac_status); }; }; then
5619 :
5620 else
5621 echo "$as_me: program exited with status $ac_status" >&5
5622 echo "$as_me: failed program was:" >&5
5623 sed 's/^/| /' conftest.$ac_ext >&5
5624
5625 ( exit $ac_status )
5626 ac_cv_header_stdc=no
5627 fi
5628 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5629 fi
5630 fi
5631 fi
5632 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5633 echo "${ECHO_T}$ac_cv_header_stdc" >&6
5634 if test $ac_cv_header_stdc = yes; then
5635
5636 cat >>confdefs.h <<\_ACEOF
5637 #define STDC_HEADERS 1
5638 _ACEOF
5639
5640 fi
5641
5642 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5643
5644
5645
5646
5647
5648
5649
5650
5651
5652 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5653 inttypes.h stdint.h unistd.h
5654 do
5655 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5656 echo "$as_me:$LINENO: checking for $ac_header" >&5
5657 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5658 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5659 echo $ECHO_N "(cached) $ECHO_C" >&6
5660 else
5661 cat >conftest.$ac_ext <<_ACEOF
5662 /* confdefs.h. */
5663 _ACEOF
5664 cat confdefs.h >>conftest.$ac_ext
5665 cat >>conftest.$ac_ext <<_ACEOF
5666 /* end confdefs.h. */
5667 $ac_includes_default
5668
5669 #include <$ac_header>
5670 _ACEOF
5671 rm -f conftest.$ac_objext
5672 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5673 (eval $ac_compile) 2>conftest.er1
5674 ac_status=$?
5675 grep -v '^ *+' conftest.er1 >conftest.err
5676 rm -f conftest.er1
5677 cat conftest.err >&5
5678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5679 (exit $ac_status); } &&
5680 { ac_try='test -z "$ac_c_werror_flag"
5681 || test ! -s conftest.err'
5682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5683 (eval $ac_try) 2>&5
5684 ac_status=$?
5685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5686 (exit $ac_status); }; } &&
5687 { ac_try='test -s conftest.$ac_objext'
5688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5689 (eval $ac_try) 2>&5
5690 ac_status=$?
5691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5692 (exit $ac_status); }; }; then
5693 eval "$as_ac_Header=yes"
5694 else
5695 echo "$as_me: failed program was:" >&5
5696 sed 's/^/| /' conftest.$ac_ext >&5
5697
5698 eval "$as_ac_Header=no"
5699 fi
5700 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5701 fi
5702 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5703 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5704 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5705 cat >>confdefs.h <<_ACEOF
5706 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5707 _ACEOF
5708
5709 fi
5710
5711 done
5712
5713
5714
5715 echo "$as_me:$LINENO: checking for C locale to use" >&5
5716 echo $ECHO_N "checking for C locale to use... $ECHO_C" >&6
5717 # Check whether --enable-clocale or --disable-clocale was given.
5718 if test "${enable_clocale+set}" = set; then
5719 enableval="$enable_clocale"
5720
5721 case "$enableval" in
5722 generic|gnu|ieee_1003.1-2001|yes|no|auto) ;;
5723 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable clocale" >&5
5724 echo "$as_me: error: Unknown argument to enable/disable clocale" >&2;}
5725 { (exit 1); exit 1; }; } ;;
5726 esac
5727
5728 else
5729 enable_clocale=auto
5730 fi;
5731
5732
5733 # If they didn't use this option switch, or if they specified --enable
5734 # with no specific model, we'll have to look for one. If they
5735 # specified --disable (???), do likewise.
5736 if test $enable_clocale = no || test $enable_clocale = yes; then
5737 enable_clocale=auto
5738 fi
5739
5740 # Either a known package, or "auto"
5741 enable_clocale_flag=$enable_clocale
5742
5743 # Probe for locale support if no specific model is specified.
5744 # Default to "generic".
5745 if test $enable_clocale_flag = auto; then
5746 case ${target_os} in
5747 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
5748 cat >conftest.$ac_ext <<_ACEOF
5749 /* confdefs.h. */
5750 _ACEOF
5751 cat confdefs.h >>conftest.$ac_ext
5752 cat >>conftest.$ac_ext <<_ACEOF
5753 /* end confdefs.h. */
5754
5755 #include <features.h>
5756 #if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 2)
5757 _GLIBCXX_ok
5758 #endif
5759
5760 _ACEOF
5761 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5762 $EGREP "_GLIBCXX_ok" >/dev/null 2>&1; then
5763 enable_clocale_flag=gnu
5764 else
5765 enable_clocale_flag=generic
5766 fi
5767 rm -f conftest*
5768
5769
5770 # Test for bugs early in glibc-2.2.x series
5771 if test $enable_clocale_flag = gnu; then
5772 if test "$cross_compiling" = yes; then
5773 enable_clocale_flag=generic
5774 else
5775 cat >conftest.$ac_ext <<_ACEOF
5776 /* confdefs.h. */
5777 _ACEOF
5778 cat confdefs.h >>conftest.$ac_ext
5779 cat >>conftest.$ac_ext <<_ACEOF
5780 /* end confdefs.h. */
5781
5782 #define _GNU_SOURCE 1
5783 #include <locale.h>
5784 #include <string.h>
5785 #if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ > 2)
5786 extern __typeof(newlocale) __newlocale;
5787 extern __typeof(duplocale) __duplocale;
5788 extern __typeof(strcoll_l) __strcoll_l;
5789 #endif
5790 int main()
5791 {
5792 const char __one[] = "Äuglein Augmen";
5793 const char __two[] = "Äuglein";
5794 int i;
5795 int j;
5796 __locale_t loc;
5797 __locale_t loc_dup;
5798 loc = __newlocale(1 << LC_ALL, "de_DE", 0);
5799 loc_dup = __duplocale(loc);
5800 i = __strcoll_l(__one, __two, loc);
5801 j = __strcoll_l(__one, __two, loc_dup);
5802 return 0;
5803 }
5804
5805 _ACEOF
5806 rm -f conftest$ac_exeext
5807 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5808 (eval $ac_link) 2>&5
5809 ac_status=$?
5810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5811 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5812 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5813 (eval $ac_try) 2>&5
5814 ac_status=$?
5815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5816 (exit $ac_status); }; }; then
5817 enable_clocale_flag=gnu
5818 else
5819 echo "$as_me: program exited with status $ac_status" >&5
5820 echo "$as_me: failed program was:" >&5
5821 sed 's/^/| /' conftest.$ac_ext >&5
5822
5823 ( exit $ac_status )
5824 enable_clocale_flag=generic
5825 fi
5826 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5827 fi
5828 fi
5829
5830 # ... at some point put __strxfrm_l tests in as well.
5831 ;;
5832 darwin* | freebsd*)
5833 enable_clocale_flag=darwin
5834 ;;
5835 *)
5836 enable_clocale_flag=generic
5837 ;;
5838 esac
5839 fi
5840
5841 # Deal with gettext issues. Default to not using it (=no) until we detect
5842 # support for it later. Let the user turn it off via --e/d, but let that
5843 # default to on for easier handling.
5844 USE_NLS=no
5845 # Check whether --enable-nls or --disable-nls was given.
5846 if test "${enable_nls+set}" = set; then
5847 enableval="$enable_nls"
5848
5849 else
5850 enable_nls=yes
5851 fi;
5852
5853 # Set configure bits for specified locale package
5854 case ${enable_clocale_flag} in
5855 generic)
5856 echo "$as_me:$LINENO: result: generic" >&5
5857 echo "${ECHO_T}generic" >&6
5858
5859 CLOCALE_H=config/locale/generic/c_locale.h
5860 CLOCALE_CC=config/locale/generic/c_locale.cc
5861 CCODECVT_CC=config/locale/generic/codecvt_members.cc
5862 CCOLLATE_CC=config/locale/generic/collate_members.cc
5863 CCTYPE_CC=config/locale/generic/ctype_members.cc
5864 CMESSAGES_H=config/locale/generic/messages_members.h
5865 CMESSAGES_CC=config/locale/generic/messages_members.cc
5866 CMONEY_CC=config/locale/generic/monetary_members.cc
5867 CNUMERIC_CC=config/locale/generic/numeric_members.cc
5868 CTIME_H=config/locale/generic/time_members.h
5869 CTIME_CC=config/locale/generic/time_members.cc
5870 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
5871 ;;
5872 darwin)
5873 echo "$as_me:$LINENO: result: darwin or freebsd" >&5
5874 echo "${ECHO_T}darwin or freebsd" >&6
5875
5876 CLOCALE_H=config/locale/generic/c_locale.h
5877 CLOCALE_CC=config/locale/generic/c_locale.cc
5878 CCODECVT_CC=config/locale/generic/codecvt_members.cc
5879 CCOLLATE_CC=config/locale/generic/collate_members.cc
5880 CCTYPE_CC=config/locale/darwin/ctype_members.cc
5881 CMESSAGES_H=config/locale/generic/messages_members.h
5882 CMESSAGES_CC=config/locale/generic/messages_members.cc
5883 CMONEY_CC=config/locale/generic/monetary_members.cc
5884 CNUMERIC_CC=config/locale/generic/numeric_members.cc
5885 CTIME_H=config/locale/generic/time_members.h
5886 CTIME_CC=config/locale/generic/time_members.cc
5887 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
5888 ;;
5889
5890 gnu)
5891 echo "$as_me:$LINENO: result: gnu" >&5
5892 echo "${ECHO_T}gnu" >&6
5893
5894 # Declare intention to use gettext, and add support for specific
5895 # languages.
5896 # For some reason, ALL_LINGUAS has to be before AM-GNU-GETTEXT
5897 ALL_LINGUAS="de fr"
5898
5899 # Don't call AM-GNU-GETTEXT here. Instead, assume glibc.
5900 # Extract the first word of "msgfmt", so it can be a program name with args.
5901 set dummy msgfmt; ac_word=$2
5902 echo "$as_me:$LINENO: checking for $ac_word" >&5
5903 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5904 if test "${ac_cv_prog_check_msgfmt+set}" = set; then
5905 echo $ECHO_N "(cached) $ECHO_C" >&6
5906 else
5907 if test -n "$check_msgfmt"; then
5908 ac_cv_prog_check_msgfmt="$check_msgfmt" # Let the user override the test.
5909 else
5910 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5911 for as_dir in $PATH
5912 do
5913 IFS=$as_save_IFS
5914 test -z "$as_dir" && as_dir=.
5915 for ac_exec_ext in '' $ac_executable_extensions; do
5916 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5917 ac_cv_prog_check_msgfmt="yes"
5918 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5919 break 2
5920 fi
5921 done
5922 done
5923
5924 test -z "$ac_cv_prog_check_msgfmt" && ac_cv_prog_check_msgfmt="no"
5925 fi
5926 fi
5927 check_msgfmt=$ac_cv_prog_check_msgfmt
5928 if test -n "$check_msgfmt"; then
5929 echo "$as_me:$LINENO: result: $check_msgfmt" >&5
5930 echo "${ECHO_T}$check_msgfmt" >&6
5931 else
5932 echo "$as_me:$LINENO: result: no" >&5
5933 echo "${ECHO_T}no" >&6
5934 fi
5935
5936 if test x"$check_msgfmt" = x"yes" && test x"$enable_nls" = x"yes"; then
5937 USE_NLS=yes
5938 fi
5939 # Export the build objects.
5940 for ling in $ALL_LINGUAS; do \
5941 glibcxx_MOFILES="$glibcxx_MOFILES $ling.mo"; \
5942 glibcxx_POFILES="$glibcxx_POFILES $ling.po"; \
5943 done
5944
5945
5946
5947 CLOCALE_H=config/locale/gnu/c_locale.h
5948 CLOCALE_CC=config/locale/gnu/c_locale.cc
5949 CCODECVT_CC=config/locale/gnu/codecvt_members.cc
5950 CCOLLATE_CC=config/locale/gnu/collate_members.cc
5951 CCTYPE_CC=config/locale/gnu/ctype_members.cc
5952 CMESSAGES_H=config/locale/gnu/messages_members.h
5953 CMESSAGES_CC=config/locale/gnu/messages_members.cc
5954 CMONEY_CC=config/locale/gnu/monetary_members.cc
5955 CNUMERIC_CC=config/locale/gnu/numeric_members.cc
5956 CTIME_H=config/locale/gnu/time_members.h
5957 CTIME_CC=config/locale/gnu/time_members.cc
5958 CLOCALE_INTERNAL_H=config/locale/gnu/c++locale_internal.h
5959 ;;
5960 ieee_1003.1-2001)
5961 echo "$as_me:$LINENO: result: IEEE 1003.1" >&5
5962 echo "${ECHO_T}IEEE 1003.1" >&6
5963
5964 CLOCALE_H=config/locale/ieee_1003.1-2001/c_locale.h
5965 CLOCALE_CC=config/locale/ieee_1003.1-2001/c_locale.cc
5966 CCODECVT_CC=config/locale/generic/codecvt_members.cc
5967 CCOLLATE_CC=config/locale/generic/collate_members.cc
5968 CCTYPE_CC=config/locale/generic/ctype_members.cc
5969 CMESSAGES_H=config/locale/ieee_1003.1-2001/messages_members.h
5970 CMESSAGES_CC=config/locale/ieee_1003.1-2001/messages_members.cc
5971 CMONEY_CC=config/locale/generic/monetary_members.cc
5972 CNUMERIC_CC=config/locale/generic/numeric_members.cc
5973 CTIME_H=config/locale/generic/time_members.h
5974 CTIME_CC=config/locale/generic/time_members.cc
5975 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
5976 ;;
5977 esac
5978
5979 # This is where the testsuite looks for locale catalogs, using the
5980 # -DLOCALEDIR define during testsuite compilation.
5981 glibcxx_localedir=${glibcxx_builddir}/po/share/locale
5982
5983
5984 # A standalone libintl (e.g., GNU libintl) may be in use.
5985 if test $USE_NLS = yes; then
5986
5987 for ac_header in libintl.h
5988 do
5989 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5990 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5991 echo "$as_me:$LINENO: checking for $ac_header" >&5
5992 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5993 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5994 echo $ECHO_N "(cached) $ECHO_C" >&6
5995 fi
5996 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5997 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5998 else
5999 # Is the header compilable?
6000 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6001 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6002 cat >conftest.$ac_ext <<_ACEOF
6003 /* confdefs.h. */
6004 _ACEOF
6005 cat confdefs.h >>conftest.$ac_ext
6006 cat >>conftest.$ac_ext <<_ACEOF
6007 /* end confdefs.h. */
6008 $ac_includes_default
6009 #include <$ac_header>
6010 _ACEOF
6011 rm -f conftest.$ac_objext
6012 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6013 (eval $ac_compile) 2>conftest.er1
6014 ac_status=$?
6015 grep -v '^ *+' conftest.er1 >conftest.err
6016 rm -f conftest.er1
6017 cat conftest.err >&5
6018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6019 (exit $ac_status); } &&
6020 { ac_try='test -z "$ac_c_werror_flag"
6021 || test ! -s conftest.err'
6022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6023 (eval $ac_try) 2>&5
6024 ac_status=$?
6025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6026 (exit $ac_status); }; } &&
6027 { ac_try='test -s conftest.$ac_objext'
6028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6029 (eval $ac_try) 2>&5
6030 ac_status=$?
6031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6032 (exit $ac_status); }; }; then
6033 ac_header_compiler=yes
6034 else
6035 echo "$as_me: failed program was:" >&5
6036 sed 's/^/| /' conftest.$ac_ext >&5
6037
6038 ac_header_compiler=no
6039 fi
6040 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6041 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6042 echo "${ECHO_T}$ac_header_compiler" >&6
6043
6044 # Is the header present?
6045 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6046 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6047 cat >conftest.$ac_ext <<_ACEOF
6048 /* confdefs.h. */
6049 _ACEOF
6050 cat confdefs.h >>conftest.$ac_ext
6051 cat >>conftest.$ac_ext <<_ACEOF
6052 /* end confdefs.h. */
6053 #include <$ac_header>
6054 _ACEOF
6055 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6056 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6057 ac_status=$?
6058 grep -v '^ *+' conftest.er1 >conftest.err
6059 rm -f conftest.er1
6060 cat conftest.err >&5
6061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6062 (exit $ac_status); } >/dev/null; then
6063 if test -s conftest.err; then
6064 ac_cpp_err=$ac_c_preproc_warn_flag
6065 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6066 else
6067 ac_cpp_err=
6068 fi
6069 else
6070 ac_cpp_err=yes
6071 fi
6072 if test -z "$ac_cpp_err"; then
6073 ac_header_preproc=yes
6074 else
6075 echo "$as_me: failed program was:" >&5
6076 sed 's/^/| /' conftest.$ac_ext >&5
6077
6078 ac_header_preproc=no
6079 fi
6080 rm -f conftest.err conftest.$ac_ext
6081 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6082 echo "${ECHO_T}$ac_header_preproc" >&6
6083
6084 # So? What about this header?
6085 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6086 yes:no: )
6087 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6088 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6089 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6090 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6091 ac_header_preproc=yes
6092 ;;
6093 no:yes:* )
6094 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6095 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6096 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6097 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6098 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6099 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6100 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6101 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6102 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6103 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6104 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6105 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6106 (
6107 cat <<\_ASBOX
6108 ## ----------------------------------------- ##
6109 ## Report this to the package-unused lists. ##
6110 ## ----------------------------------------- ##
6111 _ASBOX
6112 ) |
6113 sed "s/^/$as_me: WARNING: /" >&2
6114 ;;
6115 esac
6116 echo "$as_me:$LINENO: checking for $ac_header" >&5
6117 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6118 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6119 echo $ECHO_N "(cached) $ECHO_C" >&6
6120 else
6121 eval "$as_ac_Header=\$ac_header_preproc"
6122 fi
6123 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6124 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6125
6126 fi
6127 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6128 cat >>confdefs.h <<_ACEOF
6129 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6130 _ACEOF
6131
6132 else
6133 USE_NLS=no
6134 fi
6135
6136 done
6137
6138 echo "$as_me:$LINENO: checking for library containing gettext" >&5
6139 echo $ECHO_N "checking for library containing gettext... $ECHO_C" >&6
6140 if test "${ac_cv_search_gettext+set}" = set; then
6141 echo $ECHO_N "(cached) $ECHO_C" >&6
6142 else
6143 ac_func_search_save_LIBS=$LIBS
6144 ac_cv_search_gettext=no
6145 if test x$gcc_no_link = xyes; then
6146 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
6147 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
6148 { (exit 1); exit 1; }; }
6149 fi
6150 cat >conftest.$ac_ext <<_ACEOF
6151 /* confdefs.h. */
6152 _ACEOF
6153 cat confdefs.h >>conftest.$ac_ext
6154 cat >>conftest.$ac_ext <<_ACEOF
6155 /* end confdefs.h. */
6156
6157 /* Override any gcc2 internal prototype to avoid an error. */
6158 #ifdef __cplusplus
6159 extern "C"
6160 #endif
6161 /* We use char because int might match the return type of a gcc2
6162 builtin and then its argument prototype would still apply. */
6163 char gettext ();
6164 int
6165 main ()
6166 {
6167 gettext ();
6168 ;
6169 return 0;
6170 }
6171 _ACEOF
6172 rm -f conftest.$ac_objext conftest$ac_exeext
6173 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6174 (eval $ac_link) 2>conftest.er1
6175 ac_status=$?
6176 grep -v '^ *+' conftest.er1 >conftest.err
6177 rm -f conftest.er1
6178 cat conftest.err >&5
6179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6180 (exit $ac_status); } &&
6181 { ac_try='test -z "$ac_c_werror_flag"
6182 || test ! -s conftest.err'
6183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6184 (eval $ac_try) 2>&5
6185 ac_status=$?
6186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6187 (exit $ac_status); }; } &&
6188 { ac_try='test -s conftest$ac_exeext'
6189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6190 (eval $ac_try) 2>&5
6191 ac_status=$?
6192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6193 (exit $ac_status); }; }; then
6194 ac_cv_search_gettext="none required"
6195 else
6196 echo "$as_me: failed program was:" >&5
6197 sed 's/^/| /' conftest.$ac_ext >&5
6198
6199 fi
6200 rm -f conftest.err conftest.$ac_objext \
6201 conftest$ac_exeext conftest.$ac_ext
6202 if test "$ac_cv_search_gettext" = no; then
6203 for ac_lib in intl; do
6204 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
6205 if test x$gcc_no_link = xyes; then
6206 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
6207 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
6208 { (exit 1); exit 1; }; }
6209 fi
6210 cat >conftest.$ac_ext <<_ACEOF
6211 /* confdefs.h. */
6212 _ACEOF
6213 cat confdefs.h >>conftest.$ac_ext
6214 cat >>conftest.$ac_ext <<_ACEOF
6215 /* end confdefs.h. */
6216
6217 /* Override any gcc2 internal prototype to avoid an error. */
6218 #ifdef __cplusplus
6219 extern "C"
6220 #endif
6221 /* We use char because int might match the return type of a gcc2
6222 builtin and then its argument prototype would still apply. */
6223 char gettext ();
6224 int
6225 main ()
6226 {
6227 gettext ();
6228 ;
6229 return 0;
6230 }
6231 _ACEOF
6232 rm -f conftest.$ac_objext conftest$ac_exeext
6233 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6234 (eval $ac_link) 2>conftest.er1
6235 ac_status=$?
6236 grep -v '^ *+' conftest.er1 >conftest.err
6237 rm -f conftest.er1
6238 cat conftest.err >&5
6239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6240 (exit $ac_status); } &&
6241 { ac_try='test -z "$ac_c_werror_flag"
6242 || test ! -s conftest.err'
6243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6244 (eval $ac_try) 2>&5
6245 ac_status=$?
6246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6247 (exit $ac_status); }; } &&
6248 { ac_try='test -s conftest$ac_exeext'
6249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6250 (eval $ac_try) 2>&5
6251 ac_status=$?
6252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6253 (exit $ac_status); }; }; then
6254 ac_cv_search_gettext="-l$ac_lib"
6255 break
6256 else
6257 echo "$as_me: failed program was:" >&5
6258 sed 's/^/| /' conftest.$ac_ext >&5
6259
6260 fi
6261 rm -f conftest.err conftest.$ac_objext \
6262 conftest$ac_exeext conftest.$ac_ext
6263 done
6264 fi
6265 LIBS=$ac_func_search_save_LIBS
6266 fi
6267 echo "$as_me:$LINENO: result: $ac_cv_search_gettext" >&5
6268 echo "${ECHO_T}$ac_cv_search_gettext" >&6
6269 if test "$ac_cv_search_gettext" != no; then
6270 test "$ac_cv_search_gettext" = "none required" || LIBS="$ac_cv_search_gettext $LIBS"
6271
6272 else
6273 USE_NLS=no
6274 fi
6275
6276 fi
6277 if test $USE_NLS = yes; then
6278
6279 cat >>confdefs.h <<\_ACEOF
6280 #define _GLIBCXX_USE_NLS 1
6281 _ACEOF
6282
6283 fi
6284
6285
6286
6287
6288
6289
6290
6291
6292
6293
6294
6295
6296
6297
6298
6299
6300 echo "$as_me:$LINENO: checking for std::allocator base class" >&5
6301 echo $ECHO_N "checking for std::allocator base class... $ECHO_C" >&6
6302 # Check whether --enable-libstdcxx-allocator or --disable-libstdcxx-allocator was given.
6303 if test "${enable_libstdcxx_allocator+set}" = set; then
6304 enableval="$enable_libstdcxx_allocator"
6305
6306 case "$enableval" in
6307 new|malloc|mt|bitmap|pool|yes|no|auto) ;;
6308 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable libstdcxx-allocator" >&5
6309 echo "$as_me: error: Unknown argument to enable/disable libstdcxx-allocator" >&2;}
6310 { (exit 1); exit 1; }; } ;;
6311 esac
6312
6313 else
6314 enable_libstdcxx_allocator=auto
6315 fi;
6316
6317
6318 # If they didn't use this option switch, or if they specified --enable
6319 # with no specific model, we'll have to look for one. If they
6320 # specified --disable (???), do likewise.
6321 if test $enable_libstdcxx_allocator = no ||
6322 test $enable_libstdcxx_allocator = yes;
6323 then
6324 enable_libstdcxx_allocator=auto
6325 fi
6326
6327 # Either a known package, or "auto". Auto implies the default choice
6328 # for a particular platform.
6329 enable_libstdcxx_allocator_flag=$enable_libstdcxx_allocator
6330
6331 # Probe for host-specific support if no specific model is specified.
6332 # Default to "new".
6333 if test $enable_libstdcxx_allocator_flag = auto; then
6334 case ${target_os} in
6335 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
6336 enable_libstdcxx_allocator_flag=mt
6337 ;;
6338 *)
6339 enable_libstdcxx_allocator_flag=new
6340 ;;
6341 esac
6342 fi
6343 echo "$as_me:$LINENO: result: $enable_libstdcxx_allocator_flag" >&5
6344 echo "${ECHO_T}$enable_libstdcxx_allocator_flag" >&6
6345
6346
6347 # Set configure bits for specified locale package
6348 case ${enable_libstdcxx_allocator_flag} in
6349 bitmap)
6350 ALLOCATOR_H=config/allocator/bitmap_allocator_base.h
6351 ALLOCATOR_NAME=__gnu_cxx::bitmap_allocator
6352 ;;
6353 malloc)
6354 ALLOCATOR_H=config/allocator/malloc_allocator_base.h
6355 ALLOCATOR_NAME=__gnu_cxx::malloc_allocator
6356 ;;
6357 mt)
6358 ALLOCATOR_H=config/allocator/mt_allocator_base.h
6359 ALLOCATOR_NAME=__gnu_cxx::__mt_alloc
6360 ;;
6361 new)
6362 ALLOCATOR_H=config/allocator/new_allocator_base.h
6363 ALLOCATOR_NAME=__gnu_cxx::new_allocator
6364 ;;
6365 pool)
6366 ALLOCATOR_H=config/allocator/pool_allocator_base.h
6367 ALLOCATOR_NAME=__gnu_cxx::__pool_alloc
6368 ;;
6369 esac
6370
6371
6372
6373
6374
6375 # Check whether --enable-cheaders or --disable-cheaders was given.
6376 if test "${enable_cheaders+set}" = set; then
6377 enableval="$enable_cheaders"
6378
6379 case "$enableval" in
6380 c|c_std) ;;
6381 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable cheaders" >&5
6382 echo "$as_me: error: Unknown argument to enable/disable cheaders" >&2;}
6383 { (exit 1); exit 1; }; } ;;
6384 esac
6385
6386 else
6387 enable_cheaders=$c_model
6388 fi;
6389
6390 { echo "$as_me:$LINENO: \"C\" header strategy set to $enable_cheaders" >&5
6391 echo "$as_me: \"C\" header strategy set to $enable_cheaders" >&6;}
6392
6393 C_INCLUDE_DIR='${glibcxx_srcdir}/include/'$enable_cheaders
6394
6395
6396
6397
6398
6399
6400
6401
6402 # Check whether --enable-c99 or --disable-c99 was given.
6403 if test "${enable_c99+set}" = set; then
6404 enableval="$enable_c99"
6405
6406 case "$enableval" in
6407 yes|no) ;;
6408 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable c99 must be yes or no" >&5
6409 echo "$as_me: error: Argument to enable/disable c99 must be yes or no" >&2;}
6410 { (exit 1); exit 1; }; } ;;
6411 esac
6412
6413 else
6414 enable_c99=yes
6415 fi;
6416
6417
6418 # Test wchar.h for mbstate_t, which is needed for char_traits and fpos
6419 # even if C99 support is turned off.
6420
6421 for ac_header in wchar.h
6422 do
6423 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6424 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6425 echo "$as_me:$LINENO: checking for $ac_header" >&5
6426 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6427 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6428 echo $ECHO_N "(cached) $ECHO_C" >&6
6429 fi
6430 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6431 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6432 else
6433 # Is the header compilable?
6434 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6435 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6436 cat >conftest.$ac_ext <<_ACEOF
6437 /* confdefs.h. */
6438 _ACEOF
6439 cat confdefs.h >>conftest.$ac_ext
6440 cat >>conftest.$ac_ext <<_ACEOF
6441 /* end confdefs.h. */
6442 $ac_includes_default
6443 #include <$ac_header>
6444 _ACEOF
6445 rm -f conftest.$ac_objext
6446 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6447 (eval $ac_compile) 2>conftest.er1
6448 ac_status=$?
6449 grep -v '^ *+' conftest.er1 >conftest.err
6450 rm -f conftest.er1
6451 cat conftest.err >&5
6452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6453 (exit $ac_status); } &&
6454 { ac_try='test -z "$ac_c_werror_flag"
6455 || test ! -s conftest.err'
6456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6457 (eval $ac_try) 2>&5
6458 ac_status=$?
6459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6460 (exit $ac_status); }; } &&
6461 { ac_try='test -s conftest.$ac_objext'
6462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6463 (eval $ac_try) 2>&5
6464 ac_status=$?
6465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6466 (exit $ac_status); }; }; then
6467 ac_header_compiler=yes
6468 else
6469 echo "$as_me: failed program was:" >&5
6470 sed 's/^/| /' conftest.$ac_ext >&5
6471
6472 ac_header_compiler=no
6473 fi
6474 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6475 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6476 echo "${ECHO_T}$ac_header_compiler" >&6
6477
6478 # Is the header present?
6479 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6480 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6481 cat >conftest.$ac_ext <<_ACEOF
6482 /* confdefs.h. */
6483 _ACEOF
6484 cat confdefs.h >>conftest.$ac_ext
6485 cat >>conftest.$ac_ext <<_ACEOF
6486 /* end confdefs.h. */
6487 #include <$ac_header>
6488 _ACEOF
6489 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6490 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6491 ac_status=$?
6492 grep -v '^ *+' conftest.er1 >conftest.err
6493 rm -f conftest.er1
6494 cat conftest.err >&5
6495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6496 (exit $ac_status); } >/dev/null; then
6497 if test -s conftest.err; then
6498 ac_cpp_err=$ac_c_preproc_warn_flag
6499 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6500 else
6501 ac_cpp_err=
6502 fi
6503 else
6504 ac_cpp_err=yes
6505 fi
6506 if test -z "$ac_cpp_err"; then
6507 ac_header_preproc=yes
6508 else
6509 echo "$as_me: failed program was:" >&5
6510 sed 's/^/| /' conftest.$ac_ext >&5
6511
6512 ac_header_preproc=no
6513 fi
6514 rm -f conftest.err conftest.$ac_ext
6515 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6516 echo "${ECHO_T}$ac_header_preproc" >&6
6517
6518 # So? What about this header?
6519 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6520 yes:no: )
6521 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6522 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6523 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6524 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6525 ac_header_preproc=yes
6526 ;;
6527 no:yes:* )
6528 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6529 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6530 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6531 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6532 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6533 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6534 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6535 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6536 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6537 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6538 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6539 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6540 (
6541 cat <<\_ASBOX
6542 ## ----------------------------------------- ##
6543 ## Report this to the package-unused lists. ##
6544 ## ----------------------------------------- ##
6545 _ASBOX
6546 ) |
6547 sed "s/^/$as_me: WARNING: /" >&2
6548 ;;
6549 esac
6550 echo "$as_me:$LINENO: checking for $ac_header" >&5
6551 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6552 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6553 echo $ECHO_N "(cached) $ECHO_C" >&6
6554 else
6555 eval "$as_ac_Header=\$ac_header_preproc"
6556 fi
6557 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6558 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6559
6560 fi
6561 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6562 cat >>confdefs.h <<_ACEOF
6563 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6564 _ACEOF
6565 ac_has_wchar_h=yes
6566 else
6567 ac_has_wchar_h=no
6568 fi
6569
6570 done
6571
6572 echo "$as_me:$LINENO: checking for mbstate_t" >&5
6573 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
6574 cat >conftest.$ac_ext <<_ACEOF
6575 /* confdefs.h. */
6576 _ACEOF
6577 cat confdefs.h >>conftest.$ac_ext
6578 cat >>conftest.$ac_ext <<_ACEOF
6579 /* end confdefs.h. */
6580 #include <wchar.h>
6581 int
6582 main ()
6583 {
6584 mbstate_t teststate;
6585 ;
6586 return 0;
6587 }
6588 _ACEOF
6589 rm -f conftest.$ac_objext
6590 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6591 (eval $ac_compile) 2>conftest.er1
6592 ac_status=$?
6593 grep -v '^ *+' conftest.er1 >conftest.err
6594 rm -f conftest.er1
6595 cat conftest.err >&5
6596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6597 (exit $ac_status); } &&
6598 { ac_try='test -z "$ac_c_werror_flag"
6599 || test ! -s conftest.err'
6600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6601 (eval $ac_try) 2>&5
6602 ac_status=$?
6603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6604 (exit $ac_status); }; } &&
6605 { ac_try='test -s conftest.$ac_objext'
6606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6607 (eval $ac_try) 2>&5
6608 ac_status=$?
6609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6610 (exit $ac_status); }; }; then
6611 have_mbstate_t=yes
6612 else
6613 echo "$as_me: failed program was:" >&5
6614 sed 's/^/| /' conftest.$ac_ext >&5
6615
6616 have_mbstate_t=no
6617 fi
6618 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6619 echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
6620 echo "${ECHO_T}$have_mbstate_t" >&6
6621 if test x"$have_mbstate_t" = xyes; then
6622
6623 cat >>confdefs.h <<\_ACEOF
6624 #define HAVE_MBSTATE_T 1
6625 _ACEOF
6626
6627 fi
6628
6629 if test x"$enable_c99" = x"yes"; then
6630
6631
6632
6633 ac_ext=cc
6634 ac_cpp='$CXXCPP $CPPFLAGS'
6635 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6636 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6637 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6638
6639
6640 # Check for the existence of <math.h> functions used if C99 is enabled.
6641 echo "$as_me:$LINENO: checking for ISO C99 support in <math.h>" >&5
6642 echo $ECHO_N "checking for ISO C99 support in <math.h>... $ECHO_C" >&6
6643 if test "${ac_c99_math+set}" = set; then
6644 echo $ECHO_N "(cached) $ECHO_C" >&6
6645 else
6646
6647 cat >conftest.$ac_ext <<_ACEOF
6648 /* confdefs.h. */
6649 _ACEOF
6650 cat confdefs.h >>conftest.$ac_ext
6651 cat >>conftest.$ac_ext <<_ACEOF
6652 /* end confdefs.h. */
6653 #include <math.h>
6654 int
6655 main ()
6656 {
6657 fpclassify(0.0);
6658 isfinite(0.0);
6659 isinf(0.0);
6660 isnan(0.0);
6661 isnormal(0.0);
6662 signbit(0.0);
6663 isgreater(0.0,0.0);
6664 isgreaterequal(0.0,0.0);
6665 isless(0.0,0.0);
6666 islessequal(0.0,0.0);
6667 islessgreater(0.0,0.0);
6668 islessgreater(0.0,0.0);
6669 isunordered(0.0,0.0);
6670
6671 ;
6672 return 0;
6673 }
6674 _ACEOF
6675 rm -f conftest.$ac_objext
6676 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6677 (eval $ac_compile) 2>conftest.er1
6678 ac_status=$?
6679 grep -v '^ *+' conftest.er1 >conftest.err
6680 rm -f conftest.er1
6681 cat conftest.err >&5
6682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6683 (exit $ac_status); } &&
6684 { ac_try='test -z "$ac_cxx_werror_flag"
6685 || test ! -s conftest.err'
6686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6687 (eval $ac_try) 2>&5
6688 ac_status=$?
6689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6690 (exit $ac_status); }; } &&
6691 { ac_try='test -s conftest.$ac_objext'
6692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6693 (eval $ac_try) 2>&5
6694 ac_status=$?
6695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6696 (exit $ac_status); }; }; then
6697 ac_c99_math=yes
6698 else
6699 echo "$as_me: failed program was:" >&5
6700 sed 's/^/| /' conftest.$ac_ext >&5
6701
6702 ac_c99_math=no
6703 fi
6704 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6705
6706 fi
6707
6708 echo "$as_me:$LINENO: result: $ac_c99_math" >&5
6709 echo "${ECHO_T}$ac_c99_math" >&6
6710 if test x"$ac_c99_math" = x"yes"; then
6711
6712 cat >>confdefs.h <<\_ACEOF
6713 #define _GLIBCXX_USE_C99_MATH 1
6714 _ACEOF
6715
6716 fi
6717
6718 # Check for the existence of <complex.h> complex math functions.
6719 # This is necessary even though libstdc++ uses the builtin versions
6720 # of these functions, because if the builtin cannot be used, a reference
6721 # to the library function is emitted.
6722
6723 for ac_header in complex.h
6724 do
6725 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6726 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6727 echo "$as_me:$LINENO: checking for $ac_header" >&5
6728 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6729 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6730 echo $ECHO_N "(cached) $ECHO_C" >&6
6731 fi
6732 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6733 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6734 else
6735 # Is the header compilable?
6736 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6737 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6738 cat >conftest.$ac_ext <<_ACEOF
6739 /* confdefs.h. */
6740 _ACEOF
6741 cat confdefs.h >>conftest.$ac_ext
6742 cat >>conftest.$ac_ext <<_ACEOF
6743 /* end confdefs.h. */
6744 $ac_includes_default
6745 #include <$ac_header>
6746 _ACEOF
6747 rm -f conftest.$ac_objext
6748 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6749 (eval $ac_compile) 2>conftest.er1
6750 ac_status=$?
6751 grep -v '^ *+' conftest.er1 >conftest.err
6752 rm -f conftest.er1
6753 cat conftest.err >&5
6754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6755 (exit $ac_status); } &&
6756 { ac_try='test -z "$ac_cxx_werror_flag"
6757 || test ! -s conftest.err'
6758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6759 (eval $ac_try) 2>&5
6760 ac_status=$?
6761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6762 (exit $ac_status); }; } &&
6763 { ac_try='test -s conftest.$ac_objext'
6764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6765 (eval $ac_try) 2>&5
6766 ac_status=$?
6767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6768 (exit $ac_status); }; }; then
6769 ac_header_compiler=yes
6770 else
6771 echo "$as_me: failed program was:" >&5
6772 sed 's/^/| /' conftest.$ac_ext >&5
6773
6774 ac_header_compiler=no
6775 fi
6776 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6777 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6778 echo "${ECHO_T}$ac_header_compiler" >&6
6779
6780 # Is the header present?
6781 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6782 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6783 cat >conftest.$ac_ext <<_ACEOF
6784 /* confdefs.h. */
6785 _ACEOF
6786 cat confdefs.h >>conftest.$ac_ext
6787 cat >>conftest.$ac_ext <<_ACEOF
6788 /* end confdefs.h. */
6789 #include <$ac_header>
6790 _ACEOF
6791 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6792 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6793 ac_status=$?
6794 grep -v '^ *+' conftest.er1 >conftest.err
6795 rm -f conftest.er1
6796 cat conftest.err >&5
6797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6798 (exit $ac_status); } >/dev/null; then
6799 if test -s conftest.err; then
6800 ac_cpp_err=$ac_cxx_preproc_warn_flag
6801 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
6802 else
6803 ac_cpp_err=
6804 fi
6805 else
6806 ac_cpp_err=yes
6807 fi
6808 if test -z "$ac_cpp_err"; then
6809 ac_header_preproc=yes
6810 else
6811 echo "$as_me: failed program was:" >&5
6812 sed 's/^/| /' conftest.$ac_ext >&5
6813
6814 ac_header_preproc=no
6815 fi
6816 rm -f conftest.err conftest.$ac_ext
6817 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6818 echo "${ECHO_T}$ac_header_preproc" >&6
6819
6820 # So? What about this header?
6821 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
6822 yes:no: )
6823 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6824 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6825 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6826 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6827 ac_header_preproc=yes
6828 ;;
6829 no:yes:* )
6830 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6831 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6832 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6833 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6834 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6835 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6836 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6837 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6838 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6839 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6840 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6841 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6842 (
6843 cat <<\_ASBOX
6844 ## ----------------------------------------- ##
6845 ## Report this to the package-unused lists. ##
6846 ## ----------------------------------------- ##
6847 _ASBOX
6848 ) |
6849 sed "s/^/$as_me: WARNING: /" >&2
6850 ;;
6851 esac
6852 echo "$as_me:$LINENO: checking for $ac_header" >&5
6853 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6854 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6855 echo $ECHO_N "(cached) $ECHO_C" >&6
6856 else
6857 eval "$as_ac_Header=\$ac_header_preproc"
6858 fi
6859 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6860 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6861
6862 fi
6863 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6864 cat >>confdefs.h <<_ACEOF
6865 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6866 _ACEOF
6867 ac_has_complex_h=yes
6868 else
6869 ac_has_complex_h=no
6870 fi
6871
6872 done
6873
6874 ac_c99_complex=no;
6875 if test x"$ac_has_complex_h" = x"yes"; then
6876 echo "$as_me:$LINENO: checking for ISO C99 support in <complex.h>" >&5
6877 echo $ECHO_N "checking for ISO C99 support in <complex.h>... $ECHO_C" >&6
6878 cat >conftest.$ac_ext <<_ACEOF
6879 /* confdefs.h. */
6880 _ACEOF
6881 cat confdefs.h >>conftest.$ac_ext
6882 cat >>conftest.$ac_ext <<_ACEOF
6883 /* end confdefs.h. */
6884 #include <complex.h>
6885 int
6886 main ()
6887 {
6888 typedef __complex__ float float_type; float_type tmpf;
6889 cabsf(tmpf);
6890 cargf(tmpf);
6891 ccosf(tmpf);
6892 ccoshf(tmpf);
6893 cexpf(tmpf);
6894 clogf(tmpf);
6895 csinf(tmpf);
6896 csinhf(tmpf);
6897 csqrtf(tmpf);
6898 ctanf(tmpf);
6899 ctanhf(tmpf);
6900 cpowf(tmpf, tmpf);
6901 typedef __complex__ double double_type; double_type tmpd;
6902 cabs(tmpd);
6903 carg(tmpd);
6904 ccos(tmpd);
6905 ccosh(tmpd);
6906 cexp(tmpd);
6907 clog(tmpd);
6908 csin(tmpd);
6909 csinh(tmpd);
6910 csqrt(tmpd);
6911 ctan(tmpd);
6912 ctanh(tmpd);
6913 cpow(tmpd, tmpd);
6914 typedef __complex__ long double ld_type; ld_type tmpld;
6915 cabsl(tmpld);
6916 cargl(tmpld);
6917 ccosl(tmpld);
6918 ccoshl(tmpld);
6919 cexpl(tmpld);
6920 clogl(tmpld);
6921 csinl(tmpld);
6922 csinhl(tmpld);
6923 csqrtl(tmpld);
6924 ctanl(tmpld);
6925 ctanhl(tmpld);
6926 cpowl(tmpld, tmpld);
6927
6928 ;
6929 return 0;
6930 }
6931 _ACEOF
6932 rm -f conftest.$ac_objext
6933 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6934 (eval $ac_compile) 2>conftest.er1
6935 ac_status=$?
6936 grep -v '^ *+' conftest.er1 >conftest.err
6937 rm -f conftest.er1
6938 cat conftest.err >&5
6939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6940 (exit $ac_status); } &&
6941 { ac_try='test -z "$ac_cxx_werror_flag"
6942 || test ! -s conftest.err'
6943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6944 (eval $ac_try) 2>&5
6945 ac_status=$?
6946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6947 (exit $ac_status); }; } &&
6948 { ac_try='test -s conftest.$ac_objext'
6949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6950 (eval $ac_try) 2>&5
6951 ac_status=$?
6952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6953 (exit $ac_status); }; }; then
6954 ac_c99_complex=yes
6955 else
6956 echo "$as_me: failed program was:" >&5
6957 sed 's/^/| /' conftest.$ac_ext >&5
6958
6959 ac_c99_complex=no
6960 fi
6961 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6962 fi
6963 echo "$as_me:$LINENO: result: $ac_c99_complex" >&5
6964 echo "${ECHO_T}$ac_c99_complex" >&6
6965 if test x"$ac_c99_complex" = x"yes"; then
6966
6967 cat >>confdefs.h <<\_ACEOF
6968 #define _GLIBCXX_USE_C99_COMPLEX 1
6969 _ACEOF
6970
6971 fi
6972
6973 # Check for the existence in <stdio.h> of vscanf, et. al.
6974 echo "$as_me:$LINENO: checking for ISO C99 support in <stdio.h>" >&5
6975 echo $ECHO_N "checking for ISO C99 support in <stdio.h>... $ECHO_C" >&6
6976 if test "${ac_c99_stdio+set}" = set; then
6977 echo $ECHO_N "(cached) $ECHO_C" >&6
6978 else
6979
6980 cat >conftest.$ac_ext <<_ACEOF
6981 /* confdefs.h. */
6982 _ACEOF
6983 cat confdefs.h >>conftest.$ac_ext
6984 cat >>conftest.$ac_ext <<_ACEOF
6985 /* end confdefs.h. */
6986 #include <stdio.h>
6987 #include <stdarg.h>
6988 void foo(char* fmt, ...)
6989 {
6990 va_list args; va_start(args, fmt);
6991 vfscanf(stderr, "%i", args);
6992 vscanf("%i", args);
6993 vsnprintf(fmt, 0, "%i", args);
6994 vsscanf(fmt, "%i", args);
6995 }
6996 int
6997 main ()
6998 {
6999 snprintf("12", 0, "%i");
7000 ;
7001 return 0;
7002 }
7003 _ACEOF
7004 rm -f conftest.$ac_objext
7005 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7006 (eval $ac_compile) 2>conftest.er1
7007 ac_status=$?
7008 grep -v '^ *+' conftest.er1 >conftest.err
7009 rm -f conftest.er1
7010 cat conftest.err >&5
7011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7012 (exit $ac_status); } &&
7013 { ac_try='test -z "$ac_cxx_werror_flag"
7014 || test ! -s conftest.err'
7015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7016 (eval $ac_try) 2>&5
7017 ac_status=$?
7018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7019 (exit $ac_status); }; } &&
7020 { ac_try='test -s conftest.$ac_objext'
7021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7022 (eval $ac_try) 2>&5
7023 ac_status=$?
7024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7025 (exit $ac_status); }; }; then
7026 ac_c99_stdio=yes
7027 else
7028 echo "$as_me: failed program was:" >&5
7029 sed 's/^/| /' conftest.$ac_ext >&5
7030
7031 ac_c99_stdio=no
7032 fi
7033 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7034
7035 fi
7036
7037 echo "$as_me:$LINENO: result: $ac_c99_stdio" >&5
7038 echo "${ECHO_T}$ac_c99_stdio" >&6
7039
7040 # Check for the existence in <stdlib.h> of lldiv_t, et. al.
7041 echo "$as_me:$LINENO: checking for ISO C99 support in <stdlib.h>" >&5
7042 echo $ECHO_N "checking for ISO C99 support in <stdlib.h>... $ECHO_C" >&6
7043 if test "${ac_c99_stdlib+set}" = set; then
7044 echo $ECHO_N "(cached) $ECHO_C" >&6
7045 else
7046
7047 cat >conftest.$ac_ext <<_ACEOF
7048 /* confdefs.h. */
7049 _ACEOF
7050 cat confdefs.h >>conftest.$ac_ext
7051 cat >>conftest.$ac_ext <<_ACEOF
7052 /* end confdefs.h. */
7053 #include <stdlib.h>
7054 int
7055 main ()
7056 {
7057 char* tmp;
7058 strtof("gnu", &tmp);
7059 strtold("gnu", &tmp);
7060 strtoll("gnu", &tmp, 10);
7061 strtoull("gnu", &tmp, 10);
7062 llabs(10);
7063 lldiv(10,1);
7064 atoll("10");
7065 _Exit(0);
7066 lldiv_t mydivt;
7067 ;
7068 return 0;
7069 }
7070 _ACEOF
7071 rm -f conftest.$ac_objext
7072 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7073 (eval $ac_compile) 2>conftest.er1
7074 ac_status=$?
7075 grep -v '^ *+' conftest.er1 >conftest.err
7076 rm -f conftest.er1
7077 cat conftest.err >&5
7078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7079 (exit $ac_status); } &&
7080 { ac_try='test -z "$ac_cxx_werror_flag"
7081 || test ! -s conftest.err'
7082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7083 (eval $ac_try) 2>&5
7084 ac_status=$?
7085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7086 (exit $ac_status); }; } &&
7087 { ac_try='test -s conftest.$ac_objext'
7088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7089 (eval $ac_try) 2>&5
7090 ac_status=$?
7091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7092 (exit $ac_status); }; }; then
7093 ac_c99_stdlib=yes
7094 else
7095 echo "$as_me: failed program was:" >&5
7096 sed 's/^/| /' conftest.$ac_ext >&5
7097
7098 ac_c99_stdlib=no
7099 fi
7100 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7101
7102 fi
7103
7104 echo "$as_me:$LINENO: result: $ac_c99_stdlib" >&5
7105 echo "${ECHO_T}$ac_c99_stdlib" >&6
7106
7107 # Check for the existence in <wchar.h> of wcstoull, WEOF, etc.
7108
7109 for ac_header in wctype.h
7110 do
7111 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7112 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7113 echo "$as_me:$LINENO: checking for $ac_header" >&5
7114 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7115 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7116 echo $ECHO_N "(cached) $ECHO_C" >&6
7117 fi
7118 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7119 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7120 else
7121 # Is the header compilable?
7122 echo "$as_me:$LINENO: checking $ac_header usability" >&5
7123 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7124 cat >conftest.$ac_ext <<_ACEOF
7125 /* confdefs.h. */
7126 _ACEOF
7127 cat confdefs.h >>conftest.$ac_ext
7128 cat >>conftest.$ac_ext <<_ACEOF
7129 /* end confdefs.h. */
7130 $ac_includes_default
7131 #include <$ac_header>
7132 _ACEOF
7133 rm -f conftest.$ac_objext
7134 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7135 (eval $ac_compile) 2>conftest.er1
7136 ac_status=$?
7137 grep -v '^ *+' conftest.er1 >conftest.err
7138 rm -f conftest.er1
7139 cat conftest.err >&5
7140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7141 (exit $ac_status); } &&
7142 { ac_try='test -z "$ac_cxx_werror_flag"
7143 || test ! -s conftest.err'
7144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7145 (eval $ac_try) 2>&5
7146 ac_status=$?
7147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7148 (exit $ac_status); }; } &&
7149 { ac_try='test -s conftest.$ac_objext'
7150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7151 (eval $ac_try) 2>&5
7152 ac_status=$?
7153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7154 (exit $ac_status); }; }; then
7155 ac_header_compiler=yes
7156 else
7157 echo "$as_me: failed program was:" >&5
7158 sed 's/^/| /' conftest.$ac_ext >&5
7159
7160 ac_header_compiler=no
7161 fi
7162 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7163 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7164 echo "${ECHO_T}$ac_header_compiler" >&6
7165
7166 # Is the header present?
7167 echo "$as_me:$LINENO: checking $ac_header presence" >&5
7168 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7169 cat >conftest.$ac_ext <<_ACEOF
7170 /* confdefs.h. */
7171 _ACEOF
7172 cat confdefs.h >>conftest.$ac_ext
7173 cat >>conftest.$ac_ext <<_ACEOF
7174 /* end confdefs.h. */
7175 #include <$ac_header>
7176 _ACEOF
7177 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7178 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7179 ac_status=$?
7180 grep -v '^ *+' conftest.er1 >conftest.err
7181 rm -f conftest.er1
7182 cat conftest.err >&5
7183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7184 (exit $ac_status); } >/dev/null; then
7185 if test -s conftest.err; then
7186 ac_cpp_err=$ac_cxx_preproc_warn_flag
7187 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
7188 else
7189 ac_cpp_err=
7190 fi
7191 else
7192 ac_cpp_err=yes
7193 fi
7194 if test -z "$ac_cpp_err"; then
7195 ac_header_preproc=yes
7196 else
7197 echo "$as_me: failed program was:" >&5
7198 sed 's/^/| /' conftest.$ac_ext >&5
7199
7200 ac_header_preproc=no
7201 fi
7202 rm -f conftest.err conftest.$ac_ext
7203 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7204 echo "${ECHO_T}$ac_header_preproc" >&6
7205
7206 # So? What about this header?
7207 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
7208 yes:no: )
7209 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7210 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7211 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7212 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7213 ac_header_preproc=yes
7214 ;;
7215 no:yes:* )
7216 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7217 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7218 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7219 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7220 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7221 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7222 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7223 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7224 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7225 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7226 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7227 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7228 (
7229 cat <<\_ASBOX
7230 ## ----------------------------------------- ##
7231 ## Report this to the package-unused lists. ##
7232 ## ----------------------------------------- ##
7233 _ASBOX
7234 ) |
7235 sed "s/^/$as_me: WARNING: /" >&2
7236 ;;
7237 esac
7238 echo "$as_me:$LINENO: checking for $ac_header" >&5
7239 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7240 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7241 echo $ECHO_N "(cached) $ECHO_C" >&6
7242 else
7243 eval "$as_ac_Header=\$ac_header_preproc"
7244 fi
7245 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7246 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7247
7248 fi
7249 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7250 cat >>confdefs.h <<_ACEOF
7251 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7252 _ACEOF
7253 ac_has_wctype_h=yes
7254 else
7255 ac_has_wctype_h=no
7256 fi
7257
7258 done
7259
7260 ac_c99_wchar=no;
7261 if test x"$ac_has_wchar_h" = xyes &&
7262 test x"$ac_has_wctype_h" = xyes; then
7263 cat >conftest.$ac_ext <<_ACEOF
7264 /* confdefs.h. */
7265 _ACEOF
7266 cat confdefs.h >>conftest.$ac_ext
7267 cat >>conftest.$ac_ext <<_ACEOF
7268 /* end confdefs.h. */
7269 #include <wchar.h>
7270 #include <stddef.h>
7271 wint_t i;
7272 long l = WEOF;
7273 long j = WCHAR_MIN;
7274 long k = WCHAR_MAX;
7275 namespace test
7276 {
7277 using ::btowc;
7278 using ::fgetwc;
7279 using ::fgetws;
7280 using ::fputwc;
7281 using ::fputws;
7282 using ::fwide;
7283 using ::fwprintf;
7284 using ::fwscanf;
7285 using ::getwc;
7286 using ::getwchar;
7287 using ::mbrlen;
7288 using ::mbrtowc;
7289 using ::mbsinit;
7290 using ::mbsrtowcs;
7291 using ::putwc;
7292 using ::putwchar;
7293 using ::swprintf;
7294 using ::swscanf;
7295 using ::ungetwc;
7296 using ::vfwprintf;
7297 using ::vswprintf;
7298 using ::vwprintf;
7299 using ::wcrtomb;
7300 using ::wcscat;
7301 using ::wcschr;
7302 using ::wcscmp;
7303 using ::wcscoll;
7304 using ::wcscpy;
7305 using ::wcscspn;
7306 using ::wcsftime;
7307 using ::wcslen;
7308 using ::wcsncat;
7309 using ::wcsncmp;
7310 using ::wcsncpy;
7311 using ::wcspbrk;
7312 using ::wcsrchr;
7313 using ::wcsrtombs;
7314 using ::wcsspn;
7315 using ::wcsstr;
7316 using ::wcstod;
7317 using ::wcstok;
7318 using ::wcstol;
7319 using ::wcstold;
7320 using ::wcstoll;
7321 using ::wcstoul;
7322 using ::wcstoull;
7323 using ::wcsxfrm;
7324 using ::wctob;
7325 using ::wmemchr;
7326 using ::wmemcmp;
7327 using ::wmemcpy;
7328 using ::wmemmove;
7329 using ::wmemset;
7330 using ::wprintf;
7331 using ::wscanf;
7332 }
7333
7334 int
7335 main ()
7336 {
7337
7338 ;
7339 return 0;
7340 }
7341 _ACEOF
7342 rm -f conftest.$ac_objext
7343 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7344 (eval $ac_compile) 2>conftest.er1
7345 ac_status=$?
7346 grep -v '^ *+' conftest.er1 >conftest.err
7347 rm -f conftest.er1
7348 cat conftest.err >&5
7349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7350 (exit $ac_status); } &&
7351 { ac_try='test -z "$ac_cxx_werror_flag"
7352 || test ! -s conftest.err'
7353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7354 (eval $ac_try) 2>&5
7355 ac_status=$?
7356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7357 (exit $ac_status); }; } &&
7358 { ac_try='test -s conftest.$ac_objext'
7359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7360 (eval $ac_try) 2>&5
7361 ac_status=$?
7362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7363 (exit $ac_status); }; }; then
7364 ac_c99_wchar=yes
7365 else
7366 echo "$as_me: failed program was:" >&5
7367 sed 's/^/| /' conftest.$ac_ext >&5
7368
7369 ac_c99_wchar=no
7370 fi
7371 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7372
7373 # Checks for wide character functions that may not be present.
7374 # Injection of these is wrapped with guard macros.
7375 # NB: only put functions here, instead of immediately above, if
7376 # absolutely necessary.
7377 cat >conftest.$ac_ext <<_ACEOF
7378 /* confdefs.h. */
7379 _ACEOF
7380 cat confdefs.h >>conftest.$ac_ext
7381 cat >>conftest.$ac_ext <<_ACEOF
7382 /* end confdefs.h. */
7383 #include <wchar.h>
7384 namespace test { using ::vfwscanf; }
7385 int
7386 main ()
7387 {
7388
7389 ;
7390 return 0;
7391 }
7392 _ACEOF
7393 rm -f conftest.$ac_objext
7394 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7395 (eval $ac_compile) 2>conftest.er1
7396 ac_status=$?
7397 grep -v '^ *+' conftest.er1 >conftest.err
7398 rm -f conftest.er1
7399 cat conftest.err >&5
7400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7401 (exit $ac_status); } &&
7402 { ac_try='test -z "$ac_cxx_werror_flag"
7403 || test ! -s conftest.err'
7404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7405 (eval $ac_try) 2>&5
7406 ac_status=$?
7407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7408 (exit $ac_status); }; } &&
7409 { ac_try='test -s conftest.$ac_objext'
7410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7411 (eval $ac_try) 2>&5
7412 ac_status=$?
7413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7414 (exit $ac_status); }; }; then
7415
7416 cat >>confdefs.h <<\_ACEOF
7417 #define HAVE_VFWSCANF 1
7418 _ACEOF
7419
7420 else
7421 echo "$as_me: failed program was:" >&5
7422 sed 's/^/| /' conftest.$ac_ext >&5
7423
7424 fi
7425 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7426
7427 cat >conftest.$ac_ext <<_ACEOF
7428 /* confdefs.h. */
7429 _ACEOF
7430 cat confdefs.h >>conftest.$ac_ext
7431 cat >>conftest.$ac_ext <<_ACEOF
7432 /* end confdefs.h. */
7433 #include <wchar.h>
7434 namespace test { using ::vswscanf; }
7435 int
7436 main ()
7437 {
7438
7439 ;
7440 return 0;
7441 }
7442 _ACEOF
7443 rm -f conftest.$ac_objext
7444 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7445 (eval $ac_compile) 2>conftest.er1
7446 ac_status=$?
7447 grep -v '^ *+' conftest.er1 >conftest.err
7448 rm -f conftest.er1
7449 cat conftest.err >&5
7450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7451 (exit $ac_status); } &&
7452 { ac_try='test -z "$ac_cxx_werror_flag"
7453 || test ! -s conftest.err'
7454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7455 (eval $ac_try) 2>&5
7456 ac_status=$?
7457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7458 (exit $ac_status); }; } &&
7459 { ac_try='test -s conftest.$ac_objext'
7460 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7461 (eval $ac_try) 2>&5
7462 ac_status=$?
7463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7464 (exit $ac_status); }; }; then
7465
7466 cat >>confdefs.h <<\_ACEOF
7467 #define HAVE_VSWSCANF 1
7468 _ACEOF
7469
7470 else
7471 echo "$as_me: failed program was:" >&5
7472 sed 's/^/| /' conftest.$ac_ext >&5
7473
7474 fi
7475 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7476
7477 cat >conftest.$ac_ext <<_ACEOF
7478 /* confdefs.h. */
7479 _ACEOF
7480 cat confdefs.h >>conftest.$ac_ext
7481 cat >>conftest.$ac_ext <<_ACEOF
7482 /* end confdefs.h. */
7483 #include <wchar.h>
7484 namespace test { using ::vwscanf; }
7485 int
7486 main ()
7487 {
7488
7489 ;
7490 return 0;
7491 }
7492 _ACEOF
7493 rm -f conftest.$ac_objext
7494 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7495 (eval $ac_compile) 2>conftest.er1
7496 ac_status=$?
7497 grep -v '^ *+' conftest.er1 >conftest.err
7498 rm -f conftest.er1
7499 cat conftest.err >&5
7500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7501 (exit $ac_status); } &&
7502 { ac_try='test -z "$ac_cxx_werror_flag"
7503 || test ! -s conftest.err'
7504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7505 (eval $ac_try) 2>&5
7506 ac_status=$?
7507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7508 (exit $ac_status); }; } &&
7509 { ac_try='test -s conftest.$ac_objext'
7510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7511 (eval $ac_try) 2>&5
7512 ac_status=$?
7513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7514 (exit $ac_status); }; }; then
7515
7516 cat >>confdefs.h <<\_ACEOF
7517 #define HAVE_VWSCANF 1
7518 _ACEOF
7519
7520 else
7521 echo "$as_me: failed program was:" >&5
7522 sed 's/^/| /' conftest.$ac_ext >&5
7523
7524 fi
7525 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7526
7527 cat >conftest.$ac_ext <<_ACEOF
7528 /* confdefs.h. */
7529 _ACEOF
7530 cat confdefs.h >>conftest.$ac_ext
7531 cat >>conftest.$ac_ext <<_ACEOF
7532 /* end confdefs.h. */
7533 #include <wchar.h>
7534 namespace test { using ::wcstof; }
7535 int
7536 main ()
7537 {
7538
7539 ;
7540 return 0;
7541 }
7542 _ACEOF
7543 rm -f conftest.$ac_objext
7544 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7545 (eval $ac_compile) 2>conftest.er1
7546 ac_status=$?
7547 grep -v '^ *+' conftest.er1 >conftest.err
7548 rm -f conftest.er1
7549 cat conftest.err >&5
7550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7551 (exit $ac_status); } &&
7552 { ac_try='test -z "$ac_cxx_werror_flag"
7553 || test ! -s conftest.err'
7554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7555 (eval $ac_try) 2>&5
7556 ac_status=$?
7557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7558 (exit $ac_status); }; } &&
7559 { ac_try='test -s conftest.$ac_objext'
7560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7561 (eval $ac_try) 2>&5
7562 ac_status=$?
7563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7564 (exit $ac_status); }; }; then
7565
7566 cat >>confdefs.h <<\_ACEOF
7567 #define HAVE_WCSTOF 1
7568 _ACEOF
7569
7570 else
7571 echo "$as_me: failed program was:" >&5
7572 sed 's/^/| /' conftest.$ac_ext >&5
7573
7574 fi
7575 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7576
7577 cat >conftest.$ac_ext <<_ACEOF
7578 /* confdefs.h. */
7579 _ACEOF
7580 cat confdefs.h >>conftest.$ac_ext
7581 cat >>conftest.$ac_ext <<_ACEOF
7582 /* end confdefs.h. */
7583 #include <wctype.h>
7584 int
7585 main ()
7586 {
7587 wint_t t; int i = iswblank(t);
7588 ;
7589 return 0;
7590 }
7591 _ACEOF
7592 rm -f conftest.$ac_objext
7593 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7594 (eval $ac_compile) 2>conftest.er1
7595 ac_status=$?
7596 grep -v '^ *+' conftest.er1 >conftest.err
7597 rm -f conftest.er1
7598 cat conftest.err >&5
7599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7600 (exit $ac_status); } &&
7601 { ac_try='test -z "$ac_cxx_werror_flag"
7602 || test ! -s conftest.err'
7603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7604 (eval $ac_try) 2>&5
7605 ac_status=$?
7606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7607 (exit $ac_status); }; } &&
7608 { ac_try='test -s conftest.$ac_objext'
7609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7610 (eval $ac_try) 2>&5
7611 ac_status=$?
7612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7613 (exit $ac_status); }; }; then
7614
7615 cat >>confdefs.h <<\_ACEOF
7616 #define HAVE_ISWBLANK 1
7617 _ACEOF
7618
7619 else
7620 echo "$as_me: failed program was:" >&5
7621 sed 's/^/| /' conftest.$ac_ext >&5
7622
7623 fi
7624 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7625
7626 echo "$as_me:$LINENO: checking for ISO C99 support in <wchar.h>" >&5
7627 echo $ECHO_N "checking for ISO C99 support in <wchar.h>... $ECHO_C" >&6
7628 echo "$as_me:$LINENO: result: $ac_c99_wchar" >&5
7629 echo "${ECHO_T}$ac_c99_wchar" >&6
7630 fi
7631
7632 # Option parsed, now set things appropriately.
7633 if test x"$ac_c99_math" = x"no" ||
7634 test x"$ac_c99_complex" = x"no" ||
7635 test x"$ac_c99_stdio" = x"no" ||
7636 test x"$ac_c99_stdlib" = x"no" ||
7637 test x"$ac_c99_wchar" = x"no"; then
7638 enable_c99=no;
7639 else
7640
7641 cat >>confdefs.h <<\_ACEOF
7642 #define _GLIBCXX_USE_C99 1
7643 _ACEOF
7644
7645 fi
7646
7647 ac_ext=c
7648 ac_cpp='$CPP $CPPFLAGS'
7649 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7650 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7651 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7652
7653 fi
7654
7655 echo "$as_me:$LINENO: checking for fully enabled ISO C99 support" >&5
7656 echo $ECHO_N "checking for fully enabled ISO C99 support... $ECHO_C" >&6
7657 echo "$as_me:$LINENO: result: $enable_c99" >&5
7658 echo "${ECHO_T}$enable_c99" >&6
7659
7660
7661 # Check whether --enable-long-long or --disable-long-long was given.
7662 if test "${enable_long_long+set}" = set; then
7663 enableval="$enable_long_long"
7664
7665 case "$enableval" in
7666 yes|no) ;;
7667 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable long-long must be yes or no" >&5
7668 echo "$as_me: error: Argument to enable/disable long-long must be yes or no" >&2;}
7669 { (exit 1); exit 1; }; } ;;
7670 esac
7671
7672 else
7673 enable_long_long=yes
7674 fi;
7675
7676 if test $enable_long_long = yes; then
7677
7678 cat >>confdefs.h <<\_ACEOF
7679 #define _GLIBCXX_USE_LONG_LONG 1
7680 _ACEOF
7681
7682 fi
7683 echo "$as_me:$LINENO: checking for enabled long long specializations" >&5
7684 echo $ECHO_N "checking for enabled long long specializations... $ECHO_C" >&6
7685 echo "$as_me:$LINENO: result: $enable_long_long" >&5
7686 echo "${ECHO_T}$enable_long_long" >&6
7687
7688
7689 # Check whether --enable-wchar_t or --disable-wchar_t was given.
7690 if test "${enable_wchar_t+set}" = set; then
7691 enableval="$enable_wchar_t"
7692
7693 case "$enableval" in
7694 yes|no) ;;
7695 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable wchar_t must be yes or no" >&5
7696 echo "$as_me: error: Argument to enable/disable wchar_t must be yes or no" >&2;}
7697 { (exit 1); exit 1; }; } ;;
7698 esac
7699
7700 else
7701 enable_wchar_t=yes
7702 fi;
7703
7704 if test x"$ac_c99_wchar" = x"yes" && test x"$enable_wchar_t" = x"yes"; then
7705
7706 cat >>confdefs.h <<\_ACEOF
7707 #define _GLIBCXX_USE_WCHAR_T 1
7708 _ACEOF
7709
7710 fi
7711 echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
7712 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
7713 echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
7714 echo "${ECHO_T}$enable_wchar_t" >&6
7715
7716
7717 # Check whether --enable-concept-checks or --disable-concept-checks was given.
7718 if test "${enable_concept_checks+set}" = set; then
7719 enableval="$enable_concept_checks"
7720
7721 case "$enableval" in
7722 yes|no) ;;
7723 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable concept-checks must be yes or no" >&5
7724 echo "$as_me: error: Argument to enable/disable concept-checks must be yes or no" >&2;}
7725 { (exit 1); exit 1; }; } ;;
7726 esac
7727
7728 else
7729 enable_concept_checks=no
7730 fi;
7731
7732 if test $enable_concept_checks = yes; then
7733
7734 cat >>confdefs.h <<\_ACEOF
7735 #define _GLIBCXX_CONCEPT_CHECKS 1
7736 _ACEOF
7737
7738 fi
7739
7740
7741 # Check whether --enable-libstdcxx-debug-flags or --disable-libstdcxx-debug-flags was given.
7742 if test "${enable_libstdcxx_debug_flags+set}" = set; then
7743 enableval="$enable_libstdcxx_debug_flags"
7744 case "x$enable_libstdcxx_debug_flags" in
7745 xno | x) enable_libstdcxx_debug_flags= ;;
7746 x-*) ;;
7747 *) { { echo "$as_me:$LINENO: error: --enable-libstdcxx-debug-flags needs compiler flags as arguments" >&5
7748 echo "$as_me: error: --enable-libstdcxx-debug-flags needs compiler flags as arguments" >&2;}
7749 { (exit 1); exit 1; }; } ;;
7750 esac
7751 else
7752 enable_libstdcxx_debug_flags="-g3 -O0"
7753 fi;
7754
7755
7756 # Option parsed, now set things appropriately
7757 DEBUG_FLAGS="$enable_libstdcxx_debug_flags"
7758
7759
7760 { echo "$as_me:$LINENO: Debug build flags set to $DEBUG_FLAGS" >&5
7761 echo "$as_me: Debug build flags set to $DEBUG_FLAGS" >&6;}
7762
7763
7764 echo "$as_me:$LINENO: checking for additional debug build" >&5
7765 echo $ECHO_N "checking for additional debug build... $ECHO_C" >&6
7766 # Check whether --enable-libstdcxx-debug or --disable-libstdcxx-debug was given.
7767 if test "${enable_libstdcxx_debug+set}" = set; then
7768 enableval="$enable_libstdcxx_debug"
7769
7770 case "$enableval" in
7771 yes|no) ;;
7772 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable libstdcxx-debug must be yes or no" >&5
7773 echo "$as_me: error: Argument to enable/disable libstdcxx-debug must be yes or no" >&2;}
7774 { (exit 1); exit 1; }; } ;;
7775 esac
7776
7777 else
7778 enable_libstdcxx_debug=no
7779 fi;
7780
7781 echo "$as_me:$LINENO: result: $enable_libstdcxx_debug" >&5
7782 echo "${ECHO_T}$enable_libstdcxx_debug" >&6
7783
7784
7785 echo "$as_me:$LINENO: checking for extra compiler flags for building" >&5
7786 echo $ECHO_N "checking for extra compiler flags for building... $ECHO_C" >&6
7787 # Check whether --enable-cxx-flags or --disable-cxx-flags was given.
7788 if test "${enable_cxx_flags+set}" = set; then
7789 enableval="$enable_cxx_flags"
7790 case "x$enable_cxx_flags" in
7791 xno | x) enable_cxx_flags= ;;
7792 x-*) ;;
7793 *) { { echo "$as_me:$LINENO: error: --enable-cxx-flags needs compiler flags as arguments" >&5
7794 echo "$as_me: error: --enable-cxx-flags needs compiler flags as arguments" >&2;}
7795 { (exit 1); exit 1; }; } ;;
7796 esac
7797 else
7798 enable_cxx_flags=
7799 fi;
7800
7801
7802 # Run through flags (either default or command-line) and set anything
7803 # extra (e.g., #defines) that must accompany particular g++ options.
7804 if test -n "$enable_cxx_flags"; then
7805 for f in $enable_cxx_flags; do
7806 case "$f" in
7807 -fhonor-std) ;;
7808 -*) ;;
7809 *) # and we're trying to pass /what/ exactly?
7810 { { echo "$as_me:$LINENO: error: compiler flags start with a -" >&5
7811 echo "$as_me: error: compiler flags start with a -" >&2;}
7812 { (exit 1); exit 1; }; } ;;
7813 esac
7814 done
7815 fi
7816
7817 EXTRA_CXX_FLAGS="$enable_cxx_flags"
7818 echo "$as_me:$LINENO: result: $EXTRA_CXX_FLAGS" >&5
7819 echo "${ECHO_T}$EXTRA_CXX_FLAGS" >&6
7820
7821
7822
7823 # Check whether --enable-fully-dynamic-string or --disable-fully-dynamic-string was given.
7824 if test "${enable_fully_dynamic_string+set}" = set; then
7825 enableval="$enable_fully_dynamic_string"
7826
7827 case "$enableval" in
7828 yes|no) ;;
7829 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable fully-dynamic-string must be yes or no" >&5
7830 echo "$as_me: error: Argument to enable/disable fully-dynamic-string must be yes or no" >&2;}
7831 { (exit 1); exit 1; }; } ;;
7832 esac
7833
7834 else
7835 enable_fully_dynamic_string=no
7836 fi;
7837
7838 if test $enable_fully_dynamic_string = yes; then
7839
7840 cat >>confdefs.h <<\_ACEOF
7841 #define _GLIBCXX_FULLY_DYNAMIC_STRING 1
7842 _ACEOF
7843
7844 fi
7845
7846
7847 # No surprises, no surprises...
7848
7849 echo "$as_me:$LINENO: checking for thread model used by GCC" >&5
7850 echo $ECHO_N "checking for thread model used by GCC... $ECHO_C" >&6
7851 target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
7852 echo "$as_me:$LINENO: result: $target_thread_file" >&5
7853 echo "${ECHO_T}$target_thread_file" >&6
7854
7855 if test $target_thread_file != single; then
7856
7857 cat >>confdefs.h <<\_ACEOF
7858 #define HAVE_GTHR_DEFAULT 1
7859 _ACEOF
7860
7861 fi
7862
7863 glibcxx_thread_h=gthr-$target_thread_file.h
7864
7865 gthread_file=${toplevel_srcdir}/gcc/${glibcxx_thread_h}
7866 if grep __GTHREADS $gthread_file >/dev/null 2>&1 ; then
7867 enable_thread=yes
7868 else
7869 enable_thread=no
7870 fi
7871
7872
7873
7874 if test $atomicity_dir = cpu/generic ; then
7875 { echo "$as_me:$LINENO: WARNING: No native atomic operations are provided for this platform." >&5
7876 echo "$as_me: WARNING: No native atomic operations are provided for this platform." >&2;}
7877 if test $target_thread_file = single; then
7878 { echo "$as_me:$LINENO: WARNING: They cannot be faked when thread support is disabled." >&5
7879 echo "$as_me: WARNING: They cannot be faked when thread support is disabled." >&2;}
7880 { echo "$as_me:$LINENO: WARNING: Thread-safety of certain classes is not guaranteed." >&5
7881 echo "$as_me: WARNING: Thread-safety of certain classes is not guaranteed." >&2;}
7882 else
7883 { echo "$as_me:$LINENO: WARNING: They will be faked using a mutex." >&5
7884 echo "$as_me: WARNING: They will be faked using a mutex." >&2;}
7885 { echo "$as_me:$LINENO: WARNING: Performance of certain classes will degrade as a result." >&5
7886 echo "$as_me: WARNING: Performance of certain classes will degrade as a result." >&2;}
7887 fi
7888 fi
7889
7890
7891 if $GLIBCXX_IS_NATIVE; then
7892
7893 # We can do more elaborate tests that assume a working linker.
7894 CANADIAN=no
7895
7896 # Check for available headers.
7897
7898
7899
7900
7901
7902
7903
7904
7905
7906
7907
7908
7909
7910
7911
7912 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h machine/endian.h \
7913 machine/param.h sys/machine.h fp.h locale.h float.h inttypes.h gconv.h \
7914 sys/types.h sys/ipc.h sys/sem.h
7915 do
7916 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7917 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7918 echo "$as_me:$LINENO: checking for $ac_header" >&5
7919 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7920 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7921 echo $ECHO_N "(cached) $ECHO_C" >&6
7922 fi
7923 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7924 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7925 else
7926 # Is the header compilable?
7927 echo "$as_me:$LINENO: checking $ac_header usability" >&5
7928 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7929 cat >conftest.$ac_ext <<_ACEOF
7930 /* confdefs.h. */
7931 _ACEOF
7932 cat confdefs.h >>conftest.$ac_ext
7933 cat >>conftest.$ac_ext <<_ACEOF
7934 /* end confdefs.h. */
7935 $ac_includes_default
7936 #include <$ac_header>
7937 _ACEOF
7938 rm -f conftest.$ac_objext
7939 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7940 (eval $ac_compile) 2>conftest.er1
7941 ac_status=$?
7942 grep -v '^ *+' conftest.er1 >conftest.err
7943 rm -f conftest.er1
7944 cat conftest.err >&5
7945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7946 (exit $ac_status); } &&
7947 { ac_try='test -z "$ac_c_werror_flag"
7948 || test ! -s conftest.err'
7949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7950 (eval $ac_try) 2>&5
7951 ac_status=$?
7952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7953 (exit $ac_status); }; } &&
7954 { ac_try='test -s conftest.$ac_objext'
7955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7956 (eval $ac_try) 2>&5
7957 ac_status=$?
7958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7959 (exit $ac_status); }; }; then
7960 ac_header_compiler=yes
7961 else
7962 echo "$as_me: failed program was:" >&5
7963 sed 's/^/| /' conftest.$ac_ext >&5
7964
7965 ac_header_compiler=no
7966 fi
7967 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7968 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7969 echo "${ECHO_T}$ac_header_compiler" >&6
7970
7971 # Is the header present?
7972 echo "$as_me:$LINENO: checking $ac_header presence" >&5
7973 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7974 cat >conftest.$ac_ext <<_ACEOF
7975 /* confdefs.h. */
7976 _ACEOF
7977 cat confdefs.h >>conftest.$ac_ext
7978 cat >>conftest.$ac_ext <<_ACEOF
7979 /* end confdefs.h. */
7980 #include <$ac_header>
7981 _ACEOF
7982 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7983 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7984 ac_status=$?
7985 grep -v '^ *+' conftest.er1 >conftest.err
7986 rm -f conftest.er1
7987 cat conftest.err >&5
7988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7989 (exit $ac_status); } >/dev/null; then
7990 if test -s conftest.err; then
7991 ac_cpp_err=$ac_c_preproc_warn_flag
7992 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
7993 else
7994 ac_cpp_err=
7995 fi
7996 else
7997 ac_cpp_err=yes
7998 fi
7999 if test -z "$ac_cpp_err"; then
8000 ac_header_preproc=yes
8001 else
8002 echo "$as_me: failed program was:" >&5
8003 sed 's/^/| /' conftest.$ac_ext >&5
8004
8005 ac_header_preproc=no
8006 fi
8007 rm -f conftest.err conftest.$ac_ext
8008 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8009 echo "${ECHO_T}$ac_header_preproc" >&6
8010
8011 # So? What about this header?
8012 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8013 yes:no: )
8014 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8015 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8016 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8017 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8018 ac_header_preproc=yes
8019 ;;
8020 no:yes:* )
8021 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8022 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8023 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8024 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8025 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8026 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8027 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
8028 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
8029 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8030 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8031 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8032 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8033 (
8034 cat <<\_ASBOX
8035 ## ----------------------------------------- ##
8036 ## Report this to the package-unused lists. ##
8037 ## ----------------------------------------- ##
8038 _ASBOX
8039 ) |
8040 sed "s/^/$as_me: WARNING: /" >&2
8041 ;;
8042 esac
8043 echo "$as_me:$LINENO: checking for $ac_header" >&5
8044 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8045 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8046 echo $ECHO_N "(cached) $ECHO_C" >&6
8047 else
8048 eval "$as_ac_Header=\$ac_header_preproc"
8049 fi
8050 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8051 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8052
8053 fi
8054 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8055 cat >>confdefs.h <<_ACEOF
8056 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8057 _ACEOF
8058
8059 fi
8060
8061 done
8062
8063
8064
8065 # All these tests are for C++; save the language and the compiler flags.
8066 # The CXXFLAGS thing is suspicious, but based on similar bits previously
8067 # found in GLIBCXX_CONFIGURE.
8068
8069
8070 ac_ext=cc
8071 ac_cpp='$CXXCPP $CPPFLAGS'
8072 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8073 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8074 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8075
8076 ac_test_CXXFLAGS="${CXXFLAGS+set}"
8077 ac_save_CXXFLAGS="$CXXFLAGS"
8078
8079 # Check for maintainer-mode bits.
8080 if test x"$USE_MAINTAINER_MODE" = xno; then
8081 WERROR=''
8082 else
8083 WERROR='-Werror'
8084 fi
8085
8086 # Check for -ffunction-sections -fdata-sections
8087 echo "$as_me:$LINENO: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
8088 echo $ECHO_N "checking for g++ that supports -ffunction-sections -fdata-sections... $ECHO_C" >&6
8089 CXXFLAGS='-Werror -ffunction-sections -fdata-sections'
8090 cat >conftest.$ac_ext <<_ACEOF
8091 /* confdefs.h. */
8092 _ACEOF
8093 cat confdefs.h >>conftest.$ac_ext
8094 cat >>conftest.$ac_ext <<_ACEOF
8095 /* end confdefs.h. */
8096
8097 int
8098 main ()
8099 {
8100 int foo;
8101 ;
8102 return 0;
8103 }
8104 _ACEOF
8105 rm -f conftest.$ac_objext
8106 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8107 (eval $ac_compile) 2>conftest.er1
8108 ac_status=$?
8109 grep -v '^ *+' conftest.er1 >conftest.err
8110 rm -f conftest.er1
8111 cat conftest.err >&5
8112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8113 (exit $ac_status); } &&
8114 { ac_try='test -z "$ac_cxx_werror_flag"
8115 || test ! -s conftest.err'
8116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8117 (eval $ac_try) 2>&5
8118 ac_status=$?
8119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8120 (exit $ac_status); }; } &&
8121 { ac_try='test -s conftest.$ac_objext'
8122 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8123 (eval $ac_try) 2>&5
8124 ac_status=$?
8125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8126 (exit $ac_status); }; }; then
8127 ac_fdsections=yes
8128 else
8129 echo "$as_me: failed program was:" >&5
8130 sed 's/^/| /' conftest.$ac_ext >&5
8131
8132 ac_fdsections=no
8133 fi
8134 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8135 if test "$ac_test_CXXFLAGS" = set; then
8136 CXXFLAGS="$ac_save_CXXFLAGS"
8137 else
8138 # this is the suspicious part
8139 CXXFLAGS=''
8140 fi
8141 if test x"$ac_fdsections" = x"yes"; then
8142 SECTION_FLAGS='-ffunction-sections -fdata-sections'
8143 fi
8144 echo "$as_me:$LINENO: result: $ac_fdsections" >&5
8145 echo "${ECHO_T}$ac_fdsections" >&6
8146
8147 ac_ext=c
8148 ac_cpp='$CPP $CPPFLAGS'
8149 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8150 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8151 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8152
8153
8154
8155
8156
8157 # If we're not using GNU ld, then there's no point in even trying these
8158 # tests. Check for that first. We should have already tested for gld
8159 # by now (in libtool), but require it now just to be safe...
8160 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
8161 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
8162
8163
8164
8165 # The name set by libtool depends on the version of libtool. Shame on us
8166 # for depending on an impl detail, but c'est la vie. Older versions used
8167 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
8168 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
8169 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
8170 # set (hence we're using an older libtool), then set it.
8171 if test x${with_gnu_ld+set} != xset; then
8172 if test x${ac_cv_prog_gnu_ld+set} != xset; then
8173 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
8174 with_gnu_ld=no
8175 else
8176 with_gnu_ld=$ac_cv_prog_gnu_ld
8177 fi
8178 fi
8179
8180 # Start by getting the version number. I think the libtool test already
8181 # does some of this, but throws away the result.
8182
8183 ldver=`$LD --version 2>/dev/null | head -1 | \
8184 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
8185
8186 glibcxx_gnu_ld_version=`echo $ldver | \
8187 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
8188
8189 # Set --gc-sections.
8190 if test "$with_gnu_ld" = "notbroken"; then
8191 # GNU ld it is! Joy and bunny rabbits!
8192
8193 # All these tests are for C++; save the language and the compiler flags.
8194 # Need to do this so that g++ won't try to link in libstdc++
8195 ac_test_CFLAGS="${CFLAGS+set}"
8196 ac_save_CFLAGS="$CFLAGS"
8197 CFLAGS='-x c++ -Wl,--gc-sections'
8198
8199 # Check for -Wl,--gc-sections
8200 # XXX This test is broken at the moment, as symbols required for linking
8201 # are now in libsupc++ (not built yet). In addition, this test has
8202 # cored on solaris in the past. In addition, --gc-sections doesn't
8203 # really work at the moment (keeps on discarding used sections, first
8204 # .eh_frame and now some of the glibc sections for iconv).
8205 # Bzzzzt. Thanks for playing, maybe next time.
8206 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
8207 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
8208 if test "$cross_compiling" = yes; then
8209 ac_sectionLDflags=yes
8210 else
8211 cat >conftest.$ac_ext <<_ACEOF
8212 /* confdefs.h. */
8213 _ACEOF
8214 cat confdefs.h >>conftest.$ac_ext
8215 cat >>conftest.$ac_ext <<_ACEOF
8216 /* end confdefs.h. */
8217
8218 int main(void)
8219 {
8220 try { throw 1; }
8221 catch (...) { };
8222 return 0;
8223 }
8224
8225 _ACEOF
8226 rm -f conftest$ac_exeext
8227 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8228 (eval $ac_link) 2>&5
8229 ac_status=$?
8230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8231 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
8232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8233 (eval $ac_try) 2>&5
8234 ac_status=$?
8235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8236 (exit $ac_status); }; }; then
8237 ac_sectionLDflags=yes
8238 else
8239 echo "$as_me: program exited with status $ac_status" >&5
8240 echo "$as_me: failed program was:" >&5
8241 sed 's/^/| /' conftest.$ac_ext >&5
8242
8243 ( exit $ac_status )
8244 ac_sectionLDflags=no
8245 fi
8246 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
8247 fi
8248 if test "$ac_test_CFLAGS" = set; then
8249 CFLAGS="$ac_save_CFLAGS"
8250 else
8251 # this is the suspicious part
8252 CFLAGS=''
8253 fi
8254 if test "$ac_sectionLDflags" = "yes"; then
8255 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
8256 fi
8257 echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
8258 echo "${ECHO_T}$ac_sectionLDflags" >&6
8259 fi
8260
8261 # Set linker optimization flags.
8262 if test x"$with_gnu_ld" = x"yes"; then
8263 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
8264 fi
8265
8266
8267
8268
8269
8270 ac_test_CXXFLAGS="${CXXFLAGS+set}"
8271 ac_save_CXXFLAGS="$CXXFLAGS"
8272 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
8273
8274 echo "$as_me:$LINENO: checking for sin in -lm" >&5
8275 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
8276 if test "${ac_cv_lib_m_sin+set}" = set; then
8277 echo $ECHO_N "(cached) $ECHO_C" >&6
8278 else
8279 ac_check_lib_save_LIBS=$LIBS
8280 LIBS="-lm $LIBS"
8281 if test x$gcc_no_link = xyes; then
8282 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8283 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8284 { (exit 1); exit 1; }; }
8285 fi
8286 cat >conftest.$ac_ext <<_ACEOF
8287 /* confdefs.h. */
8288 _ACEOF
8289 cat confdefs.h >>conftest.$ac_ext
8290 cat >>conftest.$ac_ext <<_ACEOF
8291 /* end confdefs.h. */
8292
8293 /* Override any gcc2 internal prototype to avoid an error. */
8294 #ifdef __cplusplus
8295 extern "C"
8296 #endif
8297 /* We use char because int might match the return type of a gcc2
8298 builtin and then its argument prototype would still apply. */
8299 char sin ();
8300 int
8301 main ()
8302 {
8303 sin ();
8304 ;
8305 return 0;
8306 }
8307 _ACEOF
8308 rm -f conftest.$ac_objext conftest$ac_exeext
8309 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8310 (eval $ac_link) 2>conftest.er1
8311 ac_status=$?
8312 grep -v '^ *+' conftest.er1 >conftest.err
8313 rm -f conftest.er1
8314 cat conftest.err >&5
8315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8316 (exit $ac_status); } &&
8317 { ac_try='test -z "$ac_c_werror_flag"
8318 || test ! -s conftest.err'
8319 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8320 (eval $ac_try) 2>&5
8321 ac_status=$?
8322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8323 (exit $ac_status); }; } &&
8324 { ac_try='test -s conftest$ac_exeext'
8325 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8326 (eval $ac_try) 2>&5
8327 ac_status=$?
8328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8329 (exit $ac_status); }; }; then
8330 ac_cv_lib_m_sin=yes
8331 else
8332 echo "$as_me: failed program was:" >&5
8333 sed 's/^/| /' conftest.$ac_ext >&5
8334
8335 ac_cv_lib_m_sin=no
8336 fi
8337 rm -f conftest.err conftest.$ac_objext \
8338 conftest$ac_exeext conftest.$ac_ext
8339 LIBS=$ac_check_lib_save_LIBS
8340 fi
8341 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
8342 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
8343 if test $ac_cv_lib_m_sin = yes; then
8344 libm="-lm"
8345 fi
8346
8347 ac_save_LIBS="$LIBS"
8348 LIBS="$LIBS $libm"
8349
8350
8351
8352 echo "$as_me:$LINENO: checking for isinf declaration" >&5
8353 echo $ECHO_N "checking for isinf declaration... $ECHO_C" >&6
8354 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
8355 if test "${glibcxx_cv_func_isinf_use+set}" = set; then
8356 echo $ECHO_N "(cached) $ECHO_C" >&6
8357 else
8358
8359
8360
8361 ac_ext=cc
8362 ac_cpp='$CXXCPP $CPPFLAGS'
8363 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8364 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8365 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8366
8367 cat >conftest.$ac_ext <<_ACEOF
8368 /* confdefs.h. */
8369 _ACEOF
8370 cat confdefs.h >>conftest.$ac_ext
8371 cat >>conftest.$ac_ext <<_ACEOF
8372 /* end confdefs.h. */
8373 #include <math.h>
8374 #ifdef HAVE_IEEEFP_H
8375 #include <ieeefp.h>
8376 #endif
8377
8378 int
8379 main ()
8380 {
8381 isinf(0);
8382 ;
8383 return 0;
8384 }
8385 _ACEOF
8386 rm -f conftest.$ac_objext
8387 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8388 (eval $ac_compile) 2>conftest.er1
8389 ac_status=$?
8390 grep -v '^ *+' conftest.er1 >conftest.err
8391 rm -f conftest.er1
8392 cat conftest.err >&5
8393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8394 (exit $ac_status); } &&
8395 { ac_try='test -z "$ac_cxx_werror_flag"
8396 || 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_objext'
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 glibcxx_cv_func_isinf_use=yes
8409 else
8410 echo "$as_me: failed program was:" >&5
8411 sed 's/^/| /' conftest.$ac_ext >&5
8412
8413 glibcxx_cv_func_isinf_use=no
8414 fi
8415 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8416 ac_ext=c
8417 ac_cpp='$CPP $CPPFLAGS'
8418 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8419 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8420 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8421
8422
8423 fi
8424
8425 fi
8426 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinf_use" >&5
8427 echo "${ECHO_T}$glibcxx_cv_func_isinf_use" >&6
8428
8429 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
8430
8431 for ac_func in isinf
8432 do
8433 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8434 echo "$as_me:$LINENO: checking for $ac_func" >&5
8435 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8436 if eval "test \"\${$as_ac_var+set}\" = set"; then
8437 echo $ECHO_N "(cached) $ECHO_C" >&6
8438 else
8439 if test x$gcc_no_link = xyes; then
8440 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8441 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8442 { (exit 1); exit 1; }; }
8443 fi
8444 cat >conftest.$ac_ext <<_ACEOF
8445 /* confdefs.h. */
8446 _ACEOF
8447 cat confdefs.h >>conftest.$ac_ext
8448 cat >>conftest.$ac_ext <<_ACEOF
8449 /* end confdefs.h. */
8450 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
8451 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8452 #define $ac_func innocuous_$ac_func
8453
8454 /* System header to define __stub macros and hopefully few prototypes,
8455 which can conflict with char $ac_func (); below.
8456 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8457 <limits.h> exists even on freestanding compilers. */
8458
8459 #ifdef __STDC__
8460 # include <limits.h>
8461 #else
8462 # include <assert.h>
8463 #endif
8464
8465 #undef $ac_func
8466
8467 /* Override any gcc2 internal prototype to avoid an error. */
8468 #ifdef __cplusplus
8469 extern "C"
8470 {
8471 #endif
8472 /* We use char because int might match the return type of a gcc2
8473 builtin and then its argument prototype would still apply. */
8474 char $ac_func ();
8475 /* The GNU C library defines this for functions which it implements
8476 to always fail with ENOSYS. Some functions are actually named
8477 something starting with __ and the normal name is an alias. */
8478 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8479 choke me
8480 #else
8481 char (*f) () = $ac_func;
8482 #endif
8483 #ifdef __cplusplus
8484 }
8485 #endif
8486
8487 int
8488 main ()
8489 {
8490 return f != $ac_func;
8491 ;
8492 return 0;
8493 }
8494 _ACEOF
8495 rm -f conftest.$ac_objext conftest$ac_exeext
8496 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8497 (eval $ac_link) 2>conftest.er1
8498 ac_status=$?
8499 grep -v '^ *+' conftest.er1 >conftest.err
8500 rm -f conftest.er1
8501 cat conftest.err >&5
8502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8503 (exit $ac_status); } &&
8504 { ac_try='test -z "$ac_c_werror_flag"
8505 || test ! -s conftest.err'
8506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8507 (eval $ac_try) 2>&5
8508 ac_status=$?
8509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8510 (exit $ac_status); }; } &&
8511 { ac_try='test -s conftest$ac_exeext'
8512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8513 (eval $ac_try) 2>&5
8514 ac_status=$?
8515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8516 (exit $ac_status); }; }; then
8517 eval "$as_ac_var=yes"
8518 else
8519 echo "$as_me: failed program was:" >&5
8520 sed 's/^/| /' conftest.$ac_ext >&5
8521
8522 eval "$as_ac_var=no"
8523 fi
8524 rm -f conftest.err conftest.$ac_objext \
8525 conftest$ac_exeext conftest.$ac_ext
8526 fi
8527 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8528 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8529 if test `eval echo '${'$as_ac_var'}'` = yes; then
8530 cat >>confdefs.h <<_ACEOF
8531 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8532 _ACEOF
8533
8534 fi
8535 done
8536
8537 else
8538
8539 echo "$as_me:$LINENO: checking for _isinf declaration" >&5
8540 echo $ECHO_N "checking for _isinf declaration... $ECHO_C" >&6
8541 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
8542 if test "${glibcxx_cv_func__isinf_use+set}" = set; then
8543 echo $ECHO_N "(cached) $ECHO_C" >&6
8544 else
8545
8546
8547
8548 ac_ext=cc
8549 ac_cpp='$CXXCPP $CPPFLAGS'
8550 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8551 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8552 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8553
8554 cat >conftest.$ac_ext <<_ACEOF
8555 /* confdefs.h. */
8556 _ACEOF
8557 cat confdefs.h >>conftest.$ac_ext
8558 cat >>conftest.$ac_ext <<_ACEOF
8559 /* end confdefs.h. */
8560 #include <math.h>
8561 #ifdef HAVE_IEEEFP_H
8562 #include <ieeefp.h>
8563 #endif
8564
8565 int
8566 main ()
8567 {
8568 _isinf(0);
8569 ;
8570 return 0;
8571 }
8572 _ACEOF
8573 rm -f conftest.$ac_objext
8574 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8575 (eval $ac_compile) 2>conftest.er1
8576 ac_status=$?
8577 grep -v '^ *+' conftest.er1 >conftest.err
8578 rm -f conftest.er1
8579 cat conftest.err >&5
8580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8581 (exit $ac_status); } &&
8582 { ac_try='test -z "$ac_cxx_werror_flag"
8583 || test ! -s conftest.err'
8584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8585 (eval $ac_try) 2>&5
8586 ac_status=$?
8587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8588 (exit $ac_status); }; } &&
8589 { ac_try='test -s conftest.$ac_objext'
8590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8591 (eval $ac_try) 2>&5
8592 ac_status=$?
8593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8594 (exit $ac_status); }; }; then
8595 glibcxx_cv_func__isinf_use=yes
8596 else
8597 echo "$as_me: failed program was:" >&5
8598 sed 's/^/| /' conftest.$ac_ext >&5
8599
8600 glibcxx_cv_func__isinf_use=no
8601 fi
8602 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8603 ac_ext=c
8604 ac_cpp='$CPP $CPPFLAGS'
8605 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8606 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8607 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8608
8609
8610 fi
8611
8612 fi
8613 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinf_use" >&5
8614 echo "${ECHO_T}$glibcxx_cv_func__isinf_use" >&6
8615
8616 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
8617
8618 for ac_func in _isinf
8619 do
8620 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8621 echo "$as_me:$LINENO: checking for $ac_func" >&5
8622 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8623 if eval "test \"\${$as_ac_var+set}\" = set"; then
8624 echo $ECHO_N "(cached) $ECHO_C" >&6
8625 else
8626 if test x$gcc_no_link = xyes; then
8627 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8628 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8629 { (exit 1); exit 1; }; }
8630 fi
8631 cat >conftest.$ac_ext <<_ACEOF
8632 /* confdefs.h. */
8633 _ACEOF
8634 cat confdefs.h >>conftest.$ac_ext
8635 cat >>conftest.$ac_ext <<_ACEOF
8636 /* end confdefs.h. */
8637 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
8638 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8639 #define $ac_func innocuous_$ac_func
8640
8641 /* System header to define __stub macros and hopefully few prototypes,
8642 which can conflict with char $ac_func (); below.
8643 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8644 <limits.h> exists even on freestanding compilers. */
8645
8646 #ifdef __STDC__
8647 # include <limits.h>
8648 #else
8649 # include <assert.h>
8650 #endif
8651
8652 #undef $ac_func
8653
8654 /* Override any gcc2 internal prototype to avoid an error. */
8655 #ifdef __cplusplus
8656 extern "C"
8657 {
8658 #endif
8659 /* We use char because int might match the return type of a gcc2
8660 builtin and then its argument prototype would still apply. */
8661 char $ac_func ();
8662 /* The GNU C library defines this for functions which it implements
8663 to always fail with ENOSYS. Some functions are actually named
8664 something starting with __ and the normal name is an alias. */
8665 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8666 choke me
8667 #else
8668 char (*f) () = $ac_func;
8669 #endif
8670 #ifdef __cplusplus
8671 }
8672 #endif
8673
8674 int
8675 main ()
8676 {
8677 return f != $ac_func;
8678 ;
8679 return 0;
8680 }
8681 _ACEOF
8682 rm -f conftest.$ac_objext conftest$ac_exeext
8683 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8684 (eval $ac_link) 2>conftest.er1
8685 ac_status=$?
8686 grep -v '^ *+' conftest.er1 >conftest.err
8687 rm -f conftest.er1
8688 cat conftest.err >&5
8689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8690 (exit $ac_status); } &&
8691 { ac_try='test -z "$ac_c_werror_flag"
8692 || test ! -s conftest.err'
8693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8694 (eval $ac_try) 2>&5
8695 ac_status=$?
8696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8697 (exit $ac_status); }; } &&
8698 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
8704 eval "$as_ac_var=yes"
8705 else
8706 echo "$as_me: failed program was:" >&5
8707 sed 's/^/| /' conftest.$ac_ext >&5
8708
8709 eval "$as_ac_var=no"
8710 fi
8711 rm -f conftest.err conftest.$ac_objext \
8712 conftest$ac_exeext conftest.$ac_ext
8713 fi
8714 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8715 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8716 if test `eval echo '${'$as_ac_var'}'` = yes; then
8717 cat >>confdefs.h <<_ACEOF
8718 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8719 _ACEOF
8720
8721 fi
8722 done
8723
8724 fi
8725 fi
8726
8727
8728
8729
8730
8731
8732 echo "$as_me:$LINENO: checking for isnan declaration" >&5
8733 echo $ECHO_N "checking for isnan declaration... $ECHO_C" >&6
8734 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
8735 if test "${glibcxx_cv_func_isnan_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 isnan(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"
8776 || test ! -s conftest.err'
8777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8778 (eval $ac_try) 2>&5
8779 ac_status=$?
8780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8781 (exit $ac_status); }; } &&
8782 { ac_try='test -s conftest.$ac_objext'
8783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8784 (eval $ac_try) 2>&5
8785 ac_status=$?
8786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8787 (exit $ac_status); }; }; then
8788 glibcxx_cv_func_isnan_use=yes
8789 else
8790 echo "$as_me: failed program was:" >&5
8791 sed 's/^/| /' conftest.$ac_ext >&5
8792
8793 glibcxx_cv_func_isnan_use=no
8794 fi
8795 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8796 ac_ext=c
8797 ac_cpp='$CPP $CPPFLAGS'
8798 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8799 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8800 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8801
8802
8803 fi
8804
8805 fi
8806 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnan_use" >&5
8807 echo "${ECHO_T}$glibcxx_cv_func_isnan_use" >&6
8808
8809 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
8810
8811 for ac_func in isnan
8812 do
8813 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8814 echo "$as_me:$LINENO: checking for $ac_func" >&5
8815 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8816 if eval "test \"\${$as_ac_var+set}\" = set"; then
8817 echo $ECHO_N "(cached) $ECHO_C" >&6
8818 else
8819 if test x$gcc_no_link = xyes; then
8820 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8821 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8822 { (exit 1); exit 1; }; }
8823 fi
8824 cat >conftest.$ac_ext <<_ACEOF
8825 /* confdefs.h. */
8826 _ACEOF
8827 cat confdefs.h >>conftest.$ac_ext
8828 cat >>conftest.$ac_ext <<_ACEOF
8829 /* end confdefs.h. */
8830 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
8831 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8832 #define $ac_func innocuous_$ac_func
8833
8834 /* System header to define __stub macros and hopefully few prototypes,
8835 which can conflict with char $ac_func (); below.
8836 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8837 <limits.h> exists even on freestanding compilers. */
8838
8839 #ifdef __STDC__
8840 # include <limits.h>
8841 #else
8842 # include <assert.h>
8843 #endif
8844
8845 #undef $ac_func
8846
8847 /* Override any gcc2 internal prototype to avoid an error. */
8848 #ifdef __cplusplus
8849 extern "C"
8850 {
8851 #endif
8852 /* We use char because int might match the return type of a gcc2
8853 builtin and then its argument prototype would still apply. */
8854 char $ac_func ();
8855 /* The GNU C library defines this for functions which it implements
8856 to always fail with ENOSYS. Some functions are actually named
8857 something starting with __ and the normal name is an alias. */
8858 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8859 choke me
8860 #else
8861 char (*f) () = $ac_func;
8862 #endif
8863 #ifdef __cplusplus
8864 }
8865 #endif
8866
8867 int
8868 main ()
8869 {
8870 return f != $ac_func;
8871 ;
8872 return 0;
8873 }
8874 _ACEOF
8875 rm -f conftest.$ac_objext conftest$ac_exeext
8876 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8877 (eval $ac_link) 2>conftest.er1
8878 ac_status=$?
8879 grep -v '^ *+' conftest.er1 >conftest.err
8880 rm -f conftest.er1
8881 cat conftest.err >&5
8882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8883 (exit $ac_status); } &&
8884 { ac_try='test -z "$ac_c_werror_flag"
8885 || test ! -s conftest.err'
8886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8887 (eval $ac_try) 2>&5
8888 ac_status=$?
8889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8890 (exit $ac_status); }; } &&
8891 { ac_try='test -s conftest$ac_exeext'
8892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8893 (eval $ac_try) 2>&5
8894 ac_status=$?
8895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8896 (exit $ac_status); }; }; then
8897 eval "$as_ac_var=yes"
8898 else
8899 echo "$as_me: failed program was:" >&5
8900 sed 's/^/| /' conftest.$ac_ext >&5
8901
8902 eval "$as_ac_var=no"
8903 fi
8904 rm -f conftest.err conftest.$ac_objext \
8905 conftest$ac_exeext conftest.$ac_ext
8906 fi
8907 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8908 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8909 if test `eval echo '${'$as_ac_var'}'` = yes; then
8910 cat >>confdefs.h <<_ACEOF
8911 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8912 _ACEOF
8913
8914 fi
8915 done
8916
8917 else
8918
8919 echo "$as_me:$LINENO: checking for _isnan declaration" >&5
8920 echo $ECHO_N "checking for _isnan declaration... $ECHO_C" >&6
8921 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
8922 if test "${glibcxx_cv_func__isnan_use+set}" = set; then
8923 echo $ECHO_N "(cached) $ECHO_C" >&6
8924 else
8925
8926
8927
8928 ac_ext=cc
8929 ac_cpp='$CXXCPP $CPPFLAGS'
8930 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8931 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8932 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8933
8934 cat >conftest.$ac_ext <<_ACEOF
8935 /* confdefs.h. */
8936 _ACEOF
8937 cat confdefs.h >>conftest.$ac_ext
8938 cat >>conftest.$ac_ext <<_ACEOF
8939 /* end confdefs.h. */
8940 #include <math.h>
8941 #ifdef HAVE_IEEEFP_H
8942 #include <ieeefp.h>
8943 #endif
8944
8945 int
8946 main ()
8947 {
8948 _isnan(0);
8949 ;
8950 return 0;
8951 }
8952 _ACEOF
8953 rm -f conftest.$ac_objext
8954 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8955 (eval $ac_compile) 2>conftest.er1
8956 ac_status=$?
8957 grep -v '^ *+' conftest.er1 >conftest.err
8958 rm -f conftest.er1
8959 cat conftest.err >&5
8960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8961 (exit $ac_status); } &&
8962 { ac_try='test -z "$ac_cxx_werror_flag"
8963 || test ! -s conftest.err'
8964 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8965 (eval $ac_try) 2>&5
8966 ac_status=$?
8967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8968 (exit $ac_status); }; } &&
8969 { ac_try='test -s conftest.$ac_objext'
8970 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8971 (eval $ac_try) 2>&5
8972 ac_status=$?
8973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8974 (exit $ac_status); }; }; then
8975 glibcxx_cv_func__isnan_use=yes
8976 else
8977 echo "$as_me: failed program was:" >&5
8978 sed 's/^/| /' conftest.$ac_ext >&5
8979
8980 glibcxx_cv_func__isnan_use=no
8981 fi
8982 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8983 ac_ext=c
8984 ac_cpp='$CPP $CPPFLAGS'
8985 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8986 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8987 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8988
8989
8990 fi
8991
8992 fi
8993 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnan_use" >&5
8994 echo "${ECHO_T}$glibcxx_cv_func__isnan_use" >&6
8995
8996 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
8997
8998 for ac_func in _isnan
8999 do
9000 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9001 echo "$as_me:$LINENO: checking for $ac_func" >&5
9002 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9003 if eval "test \"\${$as_ac_var+set}\" = set"; then
9004 echo $ECHO_N "(cached) $ECHO_C" >&6
9005 else
9006 if test x$gcc_no_link = xyes; then
9007 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9008 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9009 { (exit 1); exit 1; }; }
9010 fi
9011 cat >conftest.$ac_ext <<_ACEOF
9012 /* confdefs.h. */
9013 _ACEOF
9014 cat confdefs.h >>conftest.$ac_ext
9015 cat >>conftest.$ac_ext <<_ACEOF
9016 /* end confdefs.h. */
9017 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9018 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9019 #define $ac_func innocuous_$ac_func
9020
9021 /* System header to define __stub macros and hopefully few prototypes,
9022 which can conflict with char $ac_func (); below.
9023 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9024 <limits.h> exists even on freestanding compilers. */
9025
9026 #ifdef __STDC__
9027 # include <limits.h>
9028 #else
9029 # include <assert.h>
9030 #endif
9031
9032 #undef $ac_func
9033
9034 /* Override any gcc2 internal prototype to avoid an error. */
9035 #ifdef __cplusplus
9036 extern "C"
9037 {
9038 #endif
9039 /* We use char because int might match the return type of a gcc2
9040 builtin and then its argument prototype would still apply. */
9041 char $ac_func ();
9042 /* The GNU C library defines this for functions which it implements
9043 to always fail with ENOSYS. Some functions are actually named
9044 something starting with __ and the normal name is an alias. */
9045 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9046 choke me
9047 #else
9048 char (*f) () = $ac_func;
9049 #endif
9050 #ifdef __cplusplus
9051 }
9052 #endif
9053
9054 int
9055 main ()
9056 {
9057 return f != $ac_func;
9058 ;
9059 return 0;
9060 }
9061 _ACEOF
9062 rm -f conftest.$ac_objext conftest$ac_exeext
9063 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9064 (eval $ac_link) 2>conftest.er1
9065 ac_status=$?
9066 grep -v '^ *+' conftest.er1 >conftest.err
9067 rm -f conftest.er1
9068 cat conftest.err >&5
9069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9070 (exit $ac_status); } &&
9071 { ac_try='test -z "$ac_c_werror_flag"
9072 || test ! -s conftest.err'
9073 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9074 (eval $ac_try) 2>&5
9075 ac_status=$?
9076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9077 (exit $ac_status); }; } &&
9078 { ac_try='test -s conftest$ac_exeext'
9079 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9080 (eval $ac_try) 2>&5
9081 ac_status=$?
9082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9083 (exit $ac_status); }; }; then
9084 eval "$as_ac_var=yes"
9085 else
9086 echo "$as_me: failed program was:" >&5
9087 sed 's/^/| /' conftest.$ac_ext >&5
9088
9089 eval "$as_ac_var=no"
9090 fi
9091 rm -f conftest.err conftest.$ac_objext \
9092 conftest$ac_exeext conftest.$ac_ext
9093 fi
9094 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9095 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9096 if test `eval echo '${'$as_ac_var'}'` = yes; then
9097 cat >>confdefs.h <<_ACEOF
9098 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9099 _ACEOF
9100
9101 fi
9102 done
9103
9104 fi
9105 fi
9106
9107
9108
9109
9110
9111
9112 echo "$as_me:$LINENO: checking for finite declaration" >&5
9113 echo $ECHO_N "checking for finite declaration... $ECHO_C" >&6
9114 if test x${glibcxx_cv_func_finite_use+set} != xset; then
9115 if test "${glibcxx_cv_func_finite_use+set}" = set; then
9116 echo $ECHO_N "(cached) $ECHO_C" >&6
9117 else
9118
9119
9120
9121 ac_ext=cc
9122 ac_cpp='$CXXCPP $CPPFLAGS'
9123 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9124 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9125 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9126
9127 cat >conftest.$ac_ext <<_ACEOF
9128 /* confdefs.h. */
9129 _ACEOF
9130 cat confdefs.h >>conftest.$ac_ext
9131 cat >>conftest.$ac_ext <<_ACEOF
9132 /* end confdefs.h. */
9133 #include <math.h>
9134 #ifdef HAVE_IEEEFP_H
9135 #include <ieeefp.h>
9136 #endif
9137
9138 int
9139 main ()
9140 {
9141 finite(0);
9142 ;
9143 return 0;
9144 }
9145 _ACEOF
9146 rm -f conftest.$ac_objext
9147 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9148 (eval $ac_compile) 2>conftest.er1
9149 ac_status=$?
9150 grep -v '^ *+' conftest.er1 >conftest.err
9151 rm -f conftest.er1
9152 cat conftest.err >&5
9153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9154 (exit $ac_status); } &&
9155 { ac_try='test -z "$ac_cxx_werror_flag"
9156 || test ! -s conftest.err'
9157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9158 (eval $ac_try) 2>&5
9159 ac_status=$?
9160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9161 (exit $ac_status); }; } &&
9162 { ac_try='test -s conftest.$ac_objext'
9163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9164 (eval $ac_try) 2>&5
9165 ac_status=$?
9166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9167 (exit $ac_status); }; }; then
9168 glibcxx_cv_func_finite_use=yes
9169 else
9170 echo "$as_me: failed program was:" >&5
9171 sed 's/^/| /' conftest.$ac_ext >&5
9172
9173 glibcxx_cv_func_finite_use=no
9174 fi
9175 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9176 ac_ext=c
9177 ac_cpp='$CPP $CPPFLAGS'
9178 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9179 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9180 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9181
9182
9183 fi
9184
9185 fi
9186 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finite_use" >&5
9187 echo "${ECHO_T}$glibcxx_cv_func_finite_use" >&6
9188
9189 if test x$glibcxx_cv_func_finite_use = x"yes"; then
9190
9191 for ac_func in finite
9192 do
9193 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9194 echo "$as_me:$LINENO: checking for $ac_func" >&5
9195 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9196 if eval "test \"\${$as_ac_var+set}\" = set"; then
9197 echo $ECHO_N "(cached) $ECHO_C" >&6
9198 else
9199 if test x$gcc_no_link = xyes; then
9200 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9201 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9202 { (exit 1); exit 1; }; }
9203 fi
9204 cat >conftest.$ac_ext <<_ACEOF
9205 /* confdefs.h. */
9206 _ACEOF
9207 cat confdefs.h >>conftest.$ac_ext
9208 cat >>conftest.$ac_ext <<_ACEOF
9209 /* end confdefs.h. */
9210 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9211 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9212 #define $ac_func innocuous_$ac_func
9213
9214 /* System header to define __stub macros and hopefully few prototypes,
9215 which can conflict with char $ac_func (); below.
9216 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9217 <limits.h> exists even on freestanding compilers. */
9218
9219 #ifdef __STDC__
9220 # include <limits.h>
9221 #else
9222 # include <assert.h>
9223 #endif
9224
9225 #undef $ac_func
9226
9227 /* Override any gcc2 internal prototype to avoid an error. */
9228 #ifdef __cplusplus
9229 extern "C"
9230 {
9231 #endif
9232 /* We use char because int might match the return type of a gcc2
9233 builtin and then its argument prototype would still apply. */
9234 char $ac_func ();
9235 /* The GNU C library defines this for functions which it implements
9236 to always fail with ENOSYS. Some functions are actually named
9237 something starting with __ and the normal name is an alias. */
9238 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9239 choke me
9240 #else
9241 char (*f) () = $ac_func;
9242 #endif
9243 #ifdef __cplusplus
9244 }
9245 #endif
9246
9247 int
9248 main ()
9249 {
9250 return f != $ac_func;
9251 ;
9252 return 0;
9253 }
9254 _ACEOF
9255 rm -f conftest.$ac_objext conftest$ac_exeext
9256 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9257 (eval $ac_link) 2>conftest.er1
9258 ac_status=$?
9259 grep -v '^ *+' conftest.er1 >conftest.err
9260 rm -f conftest.er1
9261 cat conftest.err >&5
9262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9263 (exit $ac_status); } &&
9264 { ac_try='test -z "$ac_c_werror_flag"
9265 || test ! -s conftest.err'
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); }; } &&
9271 { ac_try='test -s conftest$ac_exeext'
9272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9273 (eval $ac_try) 2>&5
9274 ac_status=$?
9275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9276 (exit $ac_status); }; }; then
9277 eval "$as_ac_var=yes"
9278 else
9279 echo "$as_me: failed program was:" >&5
9280 sed 's/^/| /' conftest.$ac_ext >&5
9281
9282 eval "$as_ac_var=no"
9283 fi
9284 rm -f conftest.err conftest.$ac_objext \
9285 conftest$ac_exeext conftest.$ac_ext
9286 fi
9287 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9288 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9289 if test `eval echo '${'$as_ac_var'}'` = yes; then
9290 cat >>confdefs.h <<_ACEOF
9291 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9292 _ACEOF
9293
9294 fi
9295 done
9296
9297 else
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"
9343 || test ! -s conftest.err'
9344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9345 (eval $ac_try) 2>&5
9346 ac_status=$?
9347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9348 (exit $ac_status); }; } &&
9349 { ac_try='test -s conftest.$ac_objext'
9350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9351 (eval $ac_try) 2>&5
9352 ac_status=$?
9353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9354 (exit $ac_status); }; }; then
9355 glibcxx_cv_func__finite_use=yes
9356 else
9357 echo "$as_me: failed program was:" >&5
9358 sed 's/^/| /' conftest.$ac_ext >&5
9359
9360 glibcxx_cv_func__finite_use=no
9361 fi
9362 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9363 ac_ext=c
9364 ac_cpp='$CPP $CPPFLAGS'
9365 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9366 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9367 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9368
9369
9370 fi
9371
9372 fi
9373 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finite_use" >&5
9374 echo "${ECHO_T}$glibcxx_cv_func__finite_use" >&6
9375
9376 if test x$glibcxx_cv_func__finite_use = x"yes"; then
9377
9378 for ac_func in _finite
9379 do
9380 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9381 echo "$as_me:$LINENO: checking for $ac_func" >&5
9382 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9383 if eval "test \"\${$as_ac_var+set}\" = set"; then
9384 echo $ECHO_N "(cached) $ECHO_C" >&6
9385 else
9386 if test x$gcc_no_link = xyes; then
9387 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9388 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9389 { (exit 1); exit 1; }; }
9390 fi
9391 cat >conftest.$ac_ext <<_ACEOF
9392 /* confdefs.h. */
9393 _ACEOF
9394 cat confdefs.h >>conftest.$ac_ext
9395 cat >>conftest.$ac_ext <<_ACEOF
9396 /* end confdefs.h. */
9397 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9398 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9399 #define $ac_func innocuous_$ac_func
9400
9401 /* System header to define __stub macros and hopefully few prototypes,
9402 which can conflict with char $ac_func (); below.
9403 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9404 <limits.h> exists even on freestanding compilers. */
9405
9406 #ifdef __STDC__
9407 # include <limits.h>
9408 #else
9409 # include <assert.h>
9410 #endif
9411
9412 #undef $ac_func
9413
9414 /* Override any gcc2 internal prototype to avoid an error. */
9415 #ifdef __cplusplus
9416 extern "C"
9417 {
9418 #endif
9419 /* We use char because int might match the return type of a gcc2
9420 builtin and then its argument prototype would still apply. */
9421 char $ac_func ();
9422 /* The GNU C library defines this for functions which it implements
9423 to always fail with ENOSYS. Some functions are actually named
9424 something starting with __ and the normal name is an alias. */
9425 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9426 choke me
9427 #else
9428 char (*f) () = $ac_func;
9429 #endif
9430 #ifdef __cplusplus
9431 }
9432 #endif
9433
9434 int
9435 main ()
9436 {
9437 return f != $ac_func;
9438 ;
9439 return 0;
9440 }
9441 _ACEOF
9442 rm -f conftest.$ac_objext conftest$ac_exeext
9443 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9444 (eval $ac_link) 2>conftest.er1
9445 ac_status=$?
9446 grep -v '^ *+' conftest.er1 >conftest.err
9447 rm -f conftest.er1
9448 cat conftest.err >&5
9449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9450 (exit $ac_status); } &&
9451 { ac_try='test -z "$ac_c_werror_flag"
9452 || test ! -s conftest.err'
9453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9454 (eval $ac_try) 2>&5
9455 ac_status=$?
9456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9457 (exit $ac_status); }; } &&
9458 { ac_try='test -s conftest$ac_exeext'
9459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9460 (eval $ac_try) 2>&5
9461 ac_status=$?
9462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9463 (exit $ac_status); }; }; then
9464 eval "$as_ac_var=yes"
9465 else
9466 echo "$as_me: failed program was:" >&5
9467 sed 's/^/| /' conftest.$ac_ext >&5
9468
9469 eval "$as_ac_var=no"
9470 fi
9471 rm -f conftest.err conftest.$ac_objext \
9472 conftest$ac_exeext conftest.$ac_ext
9473 fi
9474 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9475 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9476 if test `eval echo '${'$as_ac_var'}'` = yes; then
9477 cat >>confdefs.h <<_ACEOF
9478 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9479 _ACEOF
9480
9481 fi
9482 done
9483
9484 fi
9485 fi
9486
9487
9488
9489
9490
9491
9492 echo "$as_me:$LINENO: checking for copysign declaration" >&5
9493 echo $ECHO_N "checking for copysign declaration... $ECHO_C" >&6
9494 if test x${glibcxx_cv_func_copysign_use+set} != xset; then
9495 if test "${glibcxx_cv_func_copysign_use+set}" = set; then
9496 echo $ECHO_N "(cached) $ECHO_C" >&6
9497 else
9498
9499
9500
9501 ac_ext=cc
9502 ac_cpp='$CXXCPP $CPPFLAGS'
9503 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9504 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9505 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9506
9507 cat >conftest.$ac_ext <<_ACEOF
9508 /* confdefs.h. */
9509 _ACEOF
9510 cat confdefs.h >>conftest.$ac_ext
9511 cat >>conftest.$ac_ext <<_ACEOF
9512 /* end confdefs.h. */
9513 #include <math.h>
9514 int
9515 main ()
9516 {
9517 copysign(0, 0);
9518 ;
9519 return 0;
9520 }
9521 _ACEOF
9522 rm -f conftest.$ac_objext
9523 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9524 (eval $ac_compile) 2>conftest.er1
9525 ac_status=$?
9526 grep -v '^ *+' conftest.er1 >conftest.err
9527 rm -f conftest.er1
9528 cat conftest.err >&5
9529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9530 (exit $ac_status); } &&
9531 { ac_try='test -z "$ac_cxx_werror_flag"
9532 || test ! -s conftest.err'
9533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9534 (eval $ac_try) 2>&5
9535 ac_status=$?
9536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9537 (exit $ac_status); }; } &&
9538 { ac_try='test -s conftest.$ac_objext'
9539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9540 (eval $ac_try) 2>&5
9541 ac_status=$?
9542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9543 (exit $ac_status); }; }; then
9544 glibcxx_cv_func_copysign_use=yes
9545 else
9546 echo "$as_me: failed program was:" >&5
9547 sed 's/^/| /' conftest.$ac_ext >&5
9548
9549 glibcxx_cv_func_copysign_use=no
9550 fi
9551 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9552 ac_ext=c
9553 ac_cpp='$CPP $CPPFLAGS'
9554 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9555 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9556 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9557
9558
9559 fi
9560
9561 fi
9562 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysign_use" >&5
9563 echo "${ECHO_T}$glibcxx_cv_func_copysign_use" >&6
9564
9565 if test x$glibcxx_cv_func_copysign_use = x"yes"; then
9566
9567 for ac_func in copysign
9568 do
9569 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9570 echo "$as_me:$LINENO: checking for $ac_func" >&5
9571 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9572 if eval "test \"\${$as_ac_var+set}\" = set"; then
9573 echo $ECHO_N "(cached) $ECHO_C" >&6
9574 else
9575 if test x$gcc_no_link = xyes; then
9576 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9577 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9578 { (exit 1); exit 1; }; }
9579 fi
9580 cat >conftest.$ac_ext <<_ACEOF
9581 /* confdefs.h. */
9582 _ACEOF
9583 cat confdefs.h >>conftest.$ac_ext
9584 cat >>conftest.$ac_ext <<_ACEOF
9585 /* end confdefs.h. */
9586 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9587 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9588 #define $ac_func innocuous_$ac_func
9589
9590 /* System header to define __stub macros and hopefully few prototypes,
9591 which can conflict with char $ac_func (); below.
9592 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9593 <limits.h> exists even on freestanding compilers. */
9594
9595 #ifdef __STDC__
9596 # include <limits.h>
9597 #else
9598 # include <assert.h>
9599 #endif
9600
9601 #undef $ac_func
9602
9603 /* Override any gcc2 internal prototype to avoid an error. */
9604 #ifdef __cplusplus
9605 extern "C"
9606 {
9607 #endif
9608 /* We use char because int might match the return type of a gcc2
9609 builtin and then its argument prototype would still apply. */
9610 char $ac_func ();
9611 /* The GNU C library defines this for functions which it implements
9612 to always fail with ENOSYS. Some functions are actually named
9613 something starting with __ and the normal name is an alias. */
9614 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9615 choke me
9616 #else
9617 char (*f) () = $ac_func;
9618 #endif
9619 #ifdef __cplusplus
9620 }
9621 #endif
9622
9623 int
9624 main ()
9625 {
9626 return f != $ac_func;
9627 ;
9628 return 0;
9629 }
9630 _ACEOF
9631 rm -f conftest.$ac_objext conftest$ac_exeext
9632 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9633 (eval $ac_link) 2>conftest.er1
9634 ac_status=$?
9635 grep -v '^ *+' conftest.er1 >conftest.err
9636 rm -f conftest.er1
9637 cat conftest.err >&5
9638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9639 (exit $ac_status); } &&
9640 { ac_try='test -z "$ac_c_werror_flag"
9641 || test ! -s conftest.err'
9642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9643 (eval $ac_try) 2>&5
9644 ac_status=$?
9645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9646 (exit $ac_status); }; } &&
9647 { ac_try='test -s conftest$ac_exeext'
9648 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9649 (eval $ac_try) 2>&5
9650 ac_status=$?
9651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9652 (exit $ac_status); }; }; then
9653 eval "$as_ac_var=yes"
9654 else
9655 echo "$as_me: failed program was:" >&5
9656 sed 's/^/| /' conftest.$ac_ext >&5
9657
9658 eval "$as_ac_var=no"
9659 fi
9660 rm -f conftest.err conftest.$ac_objext \
9661 conftest$ac_exeext conftest.$ac_ext
9662 fi
9663 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9664 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9665 if test `eval echo '${'$as_ac_var'}'` = yes; then
9666 cat >>confdefs.h <<_ACEOF
9667 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9668 _ACEOF
9669
9670 fi
9671 done
9672
9673 else
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"
9715 || test ! -s conftest.err'
9716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9717 (eval $ac_try) 2>&5
9718 ac_status=$?
9719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9720 (exit $ac_status); }; } &&
9721 { ac_try='test -s conftest.$ac_objext'
9722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9723 (eval $ac_try) 2>&5
9724 ac_status=$?
9725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9726 (exit $ac_status); }; }; then
9727 glibcxx_cv_func__copysign_use=yes
9728 else
9729 echo "$as_me: failed program was:" >&5
9730 sed 's/^/| /' conftest.$ac_ext >&5
9731
9732 glibcxx_cv_func__copysign_use=no
9733 fi
9734 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9735 ac_ext=c
9736 ac_cpp='$CPP $CPPFLAGS'
9737 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9738 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9739 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9740
9741
9742 fi
9743
9744 fi
9745 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysign_use" >&5
9746 echo "${ECHO_T}$glibcxx_cv_func__copysign_use" >&6
9747
9748 if test x$glibcxx_cv_func__copysign_use = x"yes"; then
9749
9750 for ac_func in _copysign
9751 do
9752 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9753 echo "$as_me:$LINENO: checking for $ac_func" >&5
9754 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9755 if eval "test \"\${$as_ac_var+set}\" = set"; then
9756 echo $ECHO_N "(cached) $ECHO_C" >&6
9757 else
9758 if test x$gcc_no_link = xyes; then
9759 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9760 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9761 { (exit 1); exit 1; }; }
9762 fi
9763 cat >conftest.$ac_ext <<_ACEOF
9764 /* confdefs.h. */
9765 _ACEOF
9766 cat confdefs.h >>conftest.$ac_ext
9767 cat >>conftest.$ac_ext <<_ACEOF
9768 /* end confdefs.h. */
9769 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9770 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9771 #define $ac_func innocuous_$ac_func
9772
9773 /* System header to define __stub macros and hopefully few prototypes,
9774 which can conflict with char $ac_func (); below.
9775 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9776 <limits.h> exists even on freestanding compilers. */
9777
9778 #ifdef __STDC__
9779 # include <limits.h>
9780 #else
9781 # include <assert.h>
9782 #endif
9783
9784 #undef $ac_func
9785
9786 /* Override any gcc2 internal prototype to avoid an error. */
9787 #ifdef __cplusplus
9788 extern "C"
9789 {
9790 #endif
9791 /* We use char because int might match the return type of a gcc2
9792 builtin and then its argument prototype would still apply. */
9793 char $ac_func ();
9794 /* The GNU C library defines this for functions which it implements
9795 to always fail with ENOSYS. Some functions are actually named
9796 something starting with __ and the normal name is an alias. */
9797 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9798 choke me
9799 #else
9800 char (*f) () = $ac_func;
9801 #endif
9802 #ifdef __cplusplus
9803 }
9804 #endif
9805
9806 int
9807 main ()
9808 {
9809 return f != $ac_func;
9810 ;
9811 return 0;
9812 }
9813 _ACEOF
9814 rm -f conftest.$ac_objext conftest$ac_exeext
9815 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9816 (eval $ac_link) 2>conftest.er1
9817 ac_status=$?
9818 grep -v '^ *+' conftest.er1 >conftest.err
9819 rm -f conftest.er1
9820 cat conftest.err >&5
9821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9822 (exit $ac_status); } &&
9823 { ac_try='test -z "$ac_c_werror_flag"
9824 || test ! -s conftest.err'
9825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9826 (eval $ac_try) 2>&5
9827 ac_status=$?
9828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9829 (exit $ac_status); }; } &&
9830 { ac_try='test -s conftest$ac_exeext'
9831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9832 (eval $ac_try) 2>&5
9833 ac_status=$?
9834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9835 (exit $ac_status); }; }; then
9836 eval "$as_ac_var=yes"
9837 else
9838 echo "$as_me: failed program was:" >&5
9839 sed 's/^/| /' conftest.$ac_ext >&5
9840
9841 eval "$as_ac_var=no"
9842 fi
9843 rm -f conftest.err conftest.$ac_objext \
9844 conftest$ac_exeext conftest.$ac_ext
9845 fi
9846 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9847 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9848 if test `eval echo '${'$as_ac_var'}'` = yes; then
9849 cat >>confdefs.h <<_ACEOF
9850 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9851 _ACEOF
9852
9853 fi
9854 done
9855
9856 fi
9857 fi
9858
9859
9860
9861
9862
9863
9864 echo "$as_me:$LINENO: checking for sincos declaration" >&5
9865 echo $ECHO_N "checking for sincos declaration... $ECHO_C" >&6
9866 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
9867 if test "${glibcxx_cv_func_sincos_use+set}" = set; then
9868 echo $ECHO_N "(cached) $ECHO_C" >&6
9869 else
9870
9871
9872
9873 ac_ext=cc
9874 ac_cpp='$CXXCPP $CPPFLAGS'
9875 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9876 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9877 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9878
9879 cat >conftest.$ac_ext <<_ACEOF
9880 /* confdefs.h. */
9881 _ACEOF
9882 cat confdefs.h >>conftest.$ac_ext
9883 cat >>conftest.$ac_ext <<_ACEOF
9884 /* end confdefs.h. */
9885 #include <math.h>
9886 int
9887 main ()
9888 {
9889 sincos(0, 0, 0);
9890 ;
9891 return 0;
9892 }
9893 _ACEOF
9894 rm -f conftest.$ac_objext
9895 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9896 (eval $ac_compile) 2>conftest.er1
9897 ac_status=$?
9898 grep -v '^ *+' conftest.er1 >conftest.err
9899 rm -f conftest.er1
9900 cat conftest.err >&5
9901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9902 (exit $ac_status); } &&
9903 { ac_try='test -z "$ac_cxx_werror_flag"
9904 || test ! -s conftest.err'
9905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9906 (eval $ac_try) 2>&5
9907 ac_status=$?
9908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9909 (exit $ac_status); }; } &&
9910 { ac_try='test -s conftest.$ac_objext'
9911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9912 (eval $ac_try) 2>&5
9913 ac_status=$?
9914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9915 (exit $ac_status); }; }; then
9916 glibcxx_cv_func_sincos_use=yes
9917 else
9918 echo "$as_me: failed program was:" >&5
9919 sed 's/^/| /' conftest.$ac_ext >&5
9920
9921 glibcxx_cv_func_sincos_use=no
9922 fi
9923 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9924 ac_ext=c
9925 ac_cpp='$CPP $CPPFLAGS'
9926 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9927 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9928 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9929
9930
9931 fi
9932
9933 fi
9934 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincos_use" >&5
9935 echo "${ECHO_T}$glibcxx_cv_func_sincos_use" >&6
9936
9937 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
9938
9939 for ac_func in sincos
9940 do
9941 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9942 echo "$as_me:$LINENO: checking for $ac_func" >&5
9943 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9944 if eval "test \"\${$as_ac_var+set}\" = set"; then
9945 echo $ECHO_N "(cached) $ECHO_C" >&6
9946 else
9947 if test x$gcc_no_link = xyes; then
9948 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9949 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9950 { (exit 1); exit 1; }; }
9951 fi
9952 cat >conftest.$ac_ext <<_ACEOF
9953 /* confdefs.h. */
9954 _ACEOF
9955 cat confdefs.h >>conftest.$ac_ext
9956 cat >>conftest.$ac_ext <<_ACEOF
9957 /* end confdefs.h. */
9958 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9959 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9960 #define $ac_func innocuous_$ac_func
9961
9962 /* System header to define __stub macros and hopefully few prototypes,
9963 which can conflict with char $ac_func (); below.
9964 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9965 <limits.h> exists even on freestanding compilers. */
9966
9967 #ifdef __STDC__
9968 # include <limits.h>
9969 #else
9970 # include <assert.h>
9971 #endif
9972
9973 #undef $ac_func
9974
9975 /* Override any gcc2 internal prototype to avoid an error. */
9976 #ifdef __cplusplus
9977 extern "C"
9978 {
9979 #endif
9980 /* We use char because int might match the return type of a gcc2
9981 builtin and then its argument prototype would still apply. */
9982 char $ac_func ();
9983 /* The GNU C library defines this for functions which it implements
9984 to always fail with ENOSYS. Some functions are actually named
9985 something starting with __ and the normal name is an alias. */
9986 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9987 choke me
9988 #else
9989 char (*f) () = $ac_func;
9990 #endif
9991 #ifdef __cplusplus
9992 }
9993 #endif
9994
9995 int
9996 main ()
9997 {
9998 return f != $ac_func;
9999 ;
10000 return 0;
10001 }
10002 _ACEOF
10003 rm -f conftest.$ac_objext conftest$ac_exeext
10004 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10005 (eval $ac_link) 2>conftest.er1
10006 ac_status=$?
10007 grep -v '^ *+' conftest.er1 >conftest.err
10008 rm -f conftest.er1
10009 cat conftest.err >&5
10010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10011 (exit $ac_status); } &&
10012 { ac_try='test -z "$ac_c_werror_flag"
10013 || test ! -s conftest.err'
10014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10015 (eval $ac_try) 2>&5
10016 ac_status=$?
10017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10018 (exit $ac_status); }; } &&
10019 { ac_try='test -s conftest$ac_exeext'
10020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10021 (eval $ac_try) 2>&5
10022 ac_status=$?
10023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10024 (exit $ac_status); }; }; then
10025 eval "$as_ac_var=yes"
10026 else
10027 echo "$as_me: failed program was:" >&5
10028 sed 's/^/| /' conftest.$ac_ext >&5
10029
10030 eval "$as_ac_var=no"
10031 fi
10032 rm -f conftest.err conftest.$ac_objext \
10033 conftest$ac_exeext conftest.$ac_ext
10034 fi
10035 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10036 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10037 if test `eval echo '${'$as_ac_var'}'` = yes; then
10038 cat >>confdefs.h <<_ACEOF
10039 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10040 _ACEOF
10041
10042 fi
10043 done
10044
10045 else
10046
10047 echo "$as_me:$LINENO: checking for _sincos declaration" >&5
10048 echo $ECHO_N "checking for _sincos declaration... $ECHO_C" >&6
10049 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
10050 if test "${glibcxx_cv_func__sincos_use+set}" = set; then
10051 echo $ECHO_N "(cached) $ECHO_C" >&6
10052 else
10053
10054
10055
10056 ac_ext=cc
10057 ac_cpp='$CXXCPP $CPPFLAGS'
10058 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10059 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10060 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10061
10062 cat >conftest.$ac_ext <<_ACEOF
10063 /* confdefs.h. */
10064 _ACEOF
10065 cat confdefs.h >>conftest.$ac_ext
10066 cat >>conftest.$ac_ext <<_ACEOF
10067 /* end confdefs.h. */
10068 #include <math.h>
10069 int
10070 main ()
10071 {
10072 _sincos(0, 0, 0);
10073 ;
10074 return 0;
10075 }
10076 _ACEOF
10077 rm -f conftest.$ac_objext
10078 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10079 (eval $ac_compile) 2>conftest.er1
10080 ac_status=$?
10081 grep -v '^ *+' conftest.er1 >conftest.err
10082 rm -f conftest.er1
10083 cat conftest.err >&5
10084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10085 (exit $ac_status); } &&
10086 { ac_try='test -z "$ac_cxx_werror_flag"
10087 || test ! -s conftest.err'
10088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10089 (eval $ac_try) 2>&5
10090 ac_status=$?
10091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10092 (exit $ac_status); }; } &&
10093 { ac_try='test -s conftest.$ac_objext'
10094 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10095 (eval $ac_try) 2>&5
10096 ac_status=$?
10097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10098 (exit $ac_status); }; }; then
10099 glibcxx_cv_func__sincos_use=yes
10100 else
10101 echo "$as_me: failed program was:" >&5
10102 sed 's/^/| /' conftest.$ac_ext >&5
10103
10104 glibcxx_cv_func__sincos_use=no
10105 fi
10106 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10107 ac_ext=c
10108 ac_cpp='$CPP $CPPFLAGS'
10109 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10110 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10111 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10112
10113
10114 fi
10115
10116 fi
10117 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincos_use" >&5
10118 echo "${ECHO_T}$glibcxx_cv_func__sincos_use" >&6
10119
10120 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
10121
10122 for ac_func in _sincos
10123 do
10124 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10125 echo "$as_me:$LINENO: checking for $ac_func" >&5
10126 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10127 if eval "test \"\${$as_ac_var+set}\" = set"; then
10128 echo $ECHO_N "(cached) $ECHO_C" >&6
10129 else
10130 if test x$gcc_no_link = xyes; then
10131 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10132 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10133 { (exit 1); exit 1; }; }
10134 fi
10135 cat >conftest.$ac_ext <<_ACEOF
10136 /* confdefs.h. */
10137 _ACEOF
10138 cat confdefs.h >>conftest.$ac_ext
10139 cat >>conftest.$ac_ext <<_ACEOF
10140 /* end confdefs.h. */
10141 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10142 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10143 #define $ac_func innocuous_$ac_func
10144
10145 /* System header to define __stub macros and hopefully few prototypes,
10146 which can conflict with char $ac_func (); below.
10147 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10148 <limits.h> exists even on freestanding compilers. */
10149
10150 #ifdef __STDC__
10151 # include <limits.h>
10152 #else
10153 # include <assert.h>
10154 #endif
10155
10156 #undef $ac_func
10157
10158 /* Override any gcc2 internal prototype to avoid an error. */
10159 #ifdef __cplusplus
10160 extern "C"
10161 {
10162 #endif
10163 /* We use char because int might match the return type of a gcc2
10164 builtin and then its argument prototype would still apply. */
10165 char $ac_func ();
10166 /* The GNU C library defines this for functions which it implements
10167 to always fail with ENOSYS. Some functions are actually named
10168 something starting with __ and the normal name is an alias. */
10169 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10170 choke me
10171 #else
10172 char (*f) () = $ac_func;
10173 #endif
10174 #ifdef __cplusplus
10175 }
10176 #endif
10177
10178 int
10179 main ()
10180 {
10181 return f != $ac_func;
10182 ;
10183 return 0;
10184 }
10185 _ACEOF
10186 rm -f conftest.$ac_objext conftest$ac_exeext
10187 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10188 (eval $ac_link) 2>conftest.er1
10189 ac_status=$?
10190 grep -v '^ *+' conftest.er1 >conftest.err
10191 rm -f conftest.er1
10192 cat conftest.err >&5
10193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10194 (exit $ac_status); } &&
10195 { ac_try='test -z "$ac_c_werror_flag"
10196 || test ! -s conftest.err'
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); }; } &&
10202 { ac_try='test -s conftest$ac_exeext'
10203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10204 (eval $ac_try) 2>&5
10205 ac_status=$?
10206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10207 (exit $ac_status); }; }; then
10208 eval "$as_ac_var=yes"
10209 else
10210 echo "$as_me: failed program was:" >&5
10211 sed 's/^/| /' conftest.$ac_ext >&5
10212
10213 eval "$as_ac_var=no"
10214 fi
10215 rm -f conftest.err conftest.$ac_objext \
10216 conftest$ac_exeext conftest.$ac_ext
10217 fi
10218 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10219 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10220 if test `eval echo '${'$as_ac_var'}'` = yes; then
10221 cat >>confdefs.h <<_ACEOF
10222 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10223 _ACEOF
10224
10225 fi
10226 done
10227
10228 fi
10229 fi
10230
10231
10232
10233
10234
10235
10236 echo "$as_me:$LINENO: checking for fpclass declaration" >&5
10237 echo $ECHO_N "checking for fpclass declaration... $ECHO_C" >&6
10238 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
10239 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then
10240 echo $ECHO_N "(cached) $ECHO_C" >&6
10241 else
10242
10243
10244
10245 ac_ext=cc
10246 ac_cpp='$CXXCPP $CPPFLAGS'
10247 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10248 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10249 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10250
10251 cat >conftest.$ac_ext <<_ACEOF
10252 /* confdefs.h. */
10253 _ACEOF
10254 cat confdefs.h >>conftest.$ac_ext
10255 cat >>conftest.$ac_ext <<_ACEOF
10256 /* end confdefs.h. */
10257 #include <math.h>
10258 #ifdef HAVE_IEEEFP_H
10259 #include <ieeefp.h>
10260 #endif
10261
10262 int
10263 main ()
10264 {
10265 fpclass(0);
10266 ;
10267 return 0;
10268 }
10269 _ACEOF
10270 rm -f conftest.$ac_objext
10271 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10272 (eval $ac_compile) 2>conftest.er1
10273 ac_status=$?
10274 grep -v '^ *+' conftest.er1 >conftest.err
10275 rm -f conftest.er1
10276 cat conftest.err >&5
10277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10278 (exit $ac_status); } &&
10279 { ac_try='test -z "$ac_cxx_werror_flag"
10280 || test ! -s conftest.err'
10281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10282 (eval $ac_try) 2>&5
10283 ac_status=$?
10284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10285 (exit $ac_status); }; } &&
10286 { ac_try='test -s conftest.$ac_objext'
10287 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10288 (eval $ac_try) 2>&5
10289 ac_status=$?
10290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10291 (exit $ac_status); }; }; then
10292 glibcxx_cv_func_fpclass_use=yes
10293 else
10294 echo "$as_me: failed program was:" >&5
10295 sed 's/^/| /' conftest.$ac_ext >&5
10296
10297 glibcxx_cv_func_fpclass_use=no
10298 fi
10299 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10300 ac_ext=c
10301 ac_cpp='$CPP $CPPFLAGS'
10302 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10303 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10304 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10305
10306
10307 fi
10308
10309 fi
10310 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fpclass_use" >&5
10311 echo "${ECHO_T}$glibcxx_cv_func_fpclass_use" >&6
10312
10313 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
10314
10315 for ac_func in fpclass
10316 do
10317 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10318 echo "$as_me:$LINENO: checking for $ac_func" >&5
10319 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10320 if eval "test \"\${$as_ac_var+set}\" = set"; then
10321 echo $ECHO_N "(cached) $ECHO_C" >&6
10322 else
10323 if test x$gcc_no_link = xyes; then
10324 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10325 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10326 { (exit 1); exit 1; }; }
10327 fi
10328 cat >conftest.$ac_ext <<_ACEOF
10329 /* confdefs.h. */
10330 _ACEOF
10331 cat confdefs.h >>conftest.$ac_ext
10332 cat >>conftest.$ac_ext <<_ACEOF
10333 /* end confdefs.h. */
10334 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10335 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10336 #define $ac_func innocuous_$ac_func
10337
10338 /* System header to define __stub macros and hopefully few prototypes,
10339 which can conflict with char $ac_func (); below.
10340 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10341 <limits.h> exists even on freestanding compilers. */
10342
10343 #ifdef __STDC__
10344 # include <limits.h>
10345 #else
10346 # include <assert.h>
10347 #endif
10348
10349 #undef $ac_func
10350
10351 /* Override any gcc2 internal prototype to avoid an error. */
10352 #ifdef __cplusplus
10353 extern "C"
10354 {
10355 #endif
10356 /* We use char because int might match the return type of a gcc2
10357 builtin and then its argument prototype would still apply. */
10358 char $ac_func ();
10359 /* The GNU C library defines this for functions which it implements
10360 to always fail with ENOSYS. Some functions are actually named
10361 something starting with __ and the normal name is an alias. */
10362 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10363 choke me
10364 #else
10365 char (*f) () = $ac_func;
10366 #endif
10367 #ifdef __cplusplus
10368 }
10369 #endif
10370
10371 int
10372 main ()
10373 {
10374 return f != $ac_func;
10375 ;
10376 return 0;
10377 }
10378 _ACEOF
10379 rm -f conftest.$ac_objext conftest$ac_exeext
10380 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10381 (eval $ac_link) 2>conftest.er1
10382 ac_status=$?
10383 grep -v '^ *+' conftest.er1 >conftest.err
10384 rm -f conftest.er1
10385 cat conftest.err >&5
10386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10387 (exit $ac_status); } &&
10388 { ac_try='test -z "$ac_c_werror_flag"
10389 || test ! -s conftest.err'
10390 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10391 (eval $ac_try) 2>&5
10392 ac_status=$?
10393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10394 (exit $ac_status); }; } &&
10395 { ac_try='test -s conftest$ac_exeext'
10396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10397 (eval $ac_try) 2>&5
10398 ac_status=$?
10399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10400 (exit $ac_status); }; }; then
10401 eval "$as_ac_var=yes"
10402 else
10403 echo "$as_me: failed program was:" >&5
10404 sed 's/^/| /' conftest.$ac_ext >&5
10405
10406 eval "$as_ac_var=no"
10407 fi
10408 rm -f conftest.err conftest.$ac_objext \
10409 conftest$ac_exeext conftest.$ac_ext
10410 fi
10411 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10412 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10413 if test `eval echo '${'$as_ac_var'}'` = yes; then
10414 cat >>confdefs.h <<_ACEOF
10415 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10416 _ACEOF
10417
10418 fi
10419 done
10420
10421 else
10422
10423 echo "$as_me:$LINENO: checking for _fpclass declaration" >&5
10424 echo $ECHO_N "checking for _fpclass declaration... $ECHO_C" >&6
10425 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
10426 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then
10427 echo $ECHO_N "(cached) $ECHO_C" >&6
10428 else
10429
10430
10431
10432 ac_ext=cc
10433 ac_cpp='$CXXCPP $CPPFLAGS'
10434 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10435 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10436 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10437
10438 cat >conftest.$ac_ext <<_ACEOF
10439 /* confdefs.h. */
10440 _ACEOF
10441 cat confdefs.h >>conftest.$ac_ext
10442 cat >>conftest.$ac_ext <<_ACEOF
10443 /* end confdefs.h. */
10444 #include <math.h>
10445 #ifdef HAVE_IEEEFP_H
10446 #include <ieeefp.h>
10447 #endif
10448
10449 int
10450 main ()
10451 {
10452 _fpclass(0);
10453 ;
10454 return 0;
10455 }
10456 _ACEOF
10457 rm -f conftest.$ac_objext
10458 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10459 (eval $ac_compile) 2>conftest.er1
10460 ac_status=$?
10461 grep -v '^ *+' conftest.er1 >conftest.err
10462 rm -f conftest.er1
10463 cat conftest.err >&5
10464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10465 (exit $ac_status); } &&
10466 { ac_try='test -z "$ac_cxx_werror_flag"
10467 || test ! -s conftest.err'
10468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10469 (eval $ac_try) 2>&5
10470 ac_status=$?
10471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10472 (exit $ac_status); }; } &&
10473 { ac_try='test -s conftest.$ac_objext'
10474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10475 (eval $ac_try) 2>&5
10476 ac_status=$?
10477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10478 (exit $ac_status); }; }; then
10479 glibcxx_cv_func__fpclass_use=yes
10480 else
10481 echo "$as_me: failed program was:" >&5
10482 sed 's/^/| /' conftest.$ac_ext >&5
10483
10484 glibcxx_cv_func__fpclass_use=no
10485 fi
10486 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10487 ac_ext=c
10488 ac_cpp='$CPP $CPPFLAGS'
10489 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10490 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10491 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10492
10493
10494 fi
10495
10496 fi
10497 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fpclass_use" >&5
10498 echo "${ECHO_T}$glibcxx_cv_func__fpclass_use" >&6
10499
10500 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
10501
10502 for ac_func in _fpclass
10503 do
10504 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10505 echo "$as_me:$LINENO: checking for $ac_func" >&5
10506 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10507 if eval "test \"\${$as_ac_var+set}\" = set"; then
10508 echo $ECHO_N "(cached) $ECHO_C" >&6
10509 else
10510 if test x$gcc_no_link = xyes; then
10511 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10512 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10513 { (exit 1); exit 1; }; }
10514 fi
10515 cat >conftest.$ac_ext <<_ACEOF
10516 /* confdefs.h. */
10517 _ACEOF
10518 cat confdefs.h >>conftest.$ac_ext
10519 cat >>conftest.$ac_ext <<_ACEOF
10520 /* end confdefs.h. */
10521 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10522 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10523 #define $ac_func innocuous_$ac_func
10524
10525 /* System header to define __stub macros and hopefully few prototypes,
10526 which can conflict with char $ac_func (); below.
10527 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10528 <limits.h> exists even on freestanding compilers. */
10529
10530 #ifdef __STDC__
10531 # include <limits.h>
10532 #else
10533 # include <assert.h>
10534 #endif
10535
10536 #undef $ac_func
10537
10538 /* Override any gcc2 internal prototype to avoid an error. */
10539 #ifdef __cplusplus
10540 extern "C"
10541 {
10542 #endif
10543 /* We use char because int might match the return type of a gcc2
10544 builtin and then its argument prototype would still apply. */
10545 char $ac_func ();
10546 /* The GNU C library defines this for functions which it implements
10547 to always fail with ENOSYS. Some functions are actually named
10548 something starting with __ and the normal name is an alias. */
10549 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10550 choke me
10551 #else
10552 char (*f) () = $ac_func;
10553 #endif
10554 #ifdef __cplusplus
10555 }
10556 #endif
10557
10558 int
10559 main ()
10560 {
10561 return f != $ac_func;
10562 ;
10563 return 0;
10564 }
10565 _ACEOF
10566 rm -f conftest.$ac_objext conftest$ac_exeext
10567 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10568 (eval $ac_link) 2>conftest.er1
10569 ac_status=$?
10570 grep -v '^ *+' conftest.er1 >conftest.err
10571 rm -f conftest.er1
10572 cat conftest.err >&5
10573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10574 (exit $ac_status); } &&
10575 { ac_try='test -z "$ac_c_werror_flag"
10576 || test ! -s conftest.err'
10577 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10578 (eval $ac_try) 2>&5
10579 ac_status=$?
10580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10581 (exit $ac_status); }; } &&
10582 { ac_try='test -s conftest$ac_exeext'
10583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10584 (eval $ac_try) 2>&5
10585 ac_status=$?
10586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10587 (exit $ac_status); }; }; then
10588 eval "$as_ac_var=yes"
10589 else
10590 echo "$as_me: failed program was:" >&5
10591 sed 's/^/| /' conftest.$ac_ext >&5
10592
10593 eval "$as_ac_var=no"
10594 fi
10595 rm -f conftest.err conftest.$ac_objext \
10596 conftest$ac_exeext conftest.$ac_ext
10597 fi
10598 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10599 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10600 if test `eval echo '${'$as_ac_var'}'` = yes; then
10601 cat >>confdefs.h <<_ACEOF
10602 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10603 _ACEOF
10604
10605 fi
10606 done
10607
10608 fi
10609 fi
10610
10611
10612
10613
10614
10615
10616 echo "$as_me:$LINENO: checking for qfpclass declaration" >&5
10617 echo $ECHO_N "checking for qfpclass declaration... $ECHO_C" >&6
10618 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
10619 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then
10620 echo $ECHO_N "(cached) $ECHO_C" >&6
10621 else
10622
10623
10624
10625 ac_ext=cc
10626 ac_cpp='$CXXCPP $CPPFLAGS'
10627 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10628 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10629 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10630
10631 cat >conftest.$ac_ext <<_ACEOF
10632 /* confdefs.h. */
10633 _ACEOF
10634 cat confdefs.h >>conftest.$ac_ext
10635 cat >>conftest.$ac_ext <<_ACEOF
10636 /* end confdefs.h. */
10637 #include <math.h>
10638 #ifdef HAVE_IEEEFP_H
10639 #include <ieeefp.h>
10640 #endif
10641
10642 int
10643 main ()
10644 {
10645 qfpclass(0);
10646 ;
10647 return 0;
10648 }
10649 _ACEOF
10650 rm -f conftest.$ac_objext
10651 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10652 (eval $ac_compile) 2>conftest.er1
10653 ac_status=$?
10654 grep -v '^ *+' conftest.er1 >conftest.err
10655 rm -f conftest.er1
10656 cat conftest.err >&5
10657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10658 (exit $ac_status); } &&
10659 { ac_try='test -z "$ac_cxx_werror_flag"
10660 || test ! -s conftest.err'
10661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10662 (eval $ac_try) 2>&5
10663 ac_status=$?
10664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10665 (exit $ac_status); }; } &&
10666 { ac_try='test -s conftest.$ac_objext'
10667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10668 (eval $ac_try) 2>&5
10669 ac_status=$?
10670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10671 (exit $ac_status); }; }; then
10672 glibcxx_cv_func_qfpclass_use=yes
10673 else
10674 echo "$as_me: failed program was:" >&5
10675 sed 's/^/| /' conftest.$ac_ext >&5
10676
10677 glibcxx_cv_func_qfpclass_use=no
10678 fi
10679 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10680 ac_ext=c
10681 ac_cpp='$CPP $CPPFLAGS'
10682 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10683 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10684 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10685
10686
10687 fi
10688
10689 fi
10690 echo "$as_me:$LINENO: result: $glibcxx_cv_func_qfpclass_use" >&5
10691 echo "${ECHO_T}$glibcxx_cv_func_qfpclass_use" >&6
10692
10693 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
10694
10695 for ac_func in qfpclass
10696 do
10697 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10698 echo "$as_me:$LINENO: checking for $ac_func" >&5
10699 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10700 if eval "test \"\${$as_ac_var+set}\" = set"; then
10701 echo $ECHO_N "(cached) $ECHO_C" >&6
10702 else
10703 if test x$gcc_no_link = xyes; then
10704 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10705 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10706 { (exit 1); exit 1; }; }
10707 fi
10708 cat >conftest.$ac_ext <<_ACEOF
10709 /* confdefs.h. */
10710 _ACEOF
10711 cat confdefs.h >>conftest.$ac_ext
10712 cat >>conftest.$ac_ext <<_ACEOF
10713 /* end confdefs.h. */
10714 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10715 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10716 #define $ac_func innocuous_$ac_func
10717
10718 /* System header to define __stub macros and hopefully few prototypes,
10719 which can conflict with char $ac_func (); below.
10720 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10721 <limits.h> exists even on freestanding compilers. */
10722
10723 #ifdef __STDC__
10724 # include <limits.h>
10725 #else
10726 # include <assert.h>
10727 #endif
10728
10729 #undef $ac_func
10730
10731 /* Override any gcc2 internal prototype to avoid an error. */
10732 #ifdef __cplusplus
10733 extern "C"
10734 {
10735 #endif
10736 /* We use char because int might match the return type of a gcc2
10737 builtin and then its argument prototype would still apply. */
10738 char $ac_func ();
10739 /* The GNU C library defines this for functions which it implements
10740 to always fail with ENOSYS. Some functions are actually named
10741 something starting with __ and the normal name is an alias. */
10742 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10743 choke me
10744 #else
10745 char (*f) () = $ac_func;
10746 #endif
10747 #ifdef __cplusplus
10748 }
10749 #endif
10750
10751 int
10752 main ()
10753 {
10754 return f != $ac_func;
10755 ;
10756 return 0;
10757 }
10758 _ACEOF
10759 rm -f conftest.$ac_objext conftest$ac_exeext
10760 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10761 (eval $ac_link) 2>conftest.er1
10762 ac_status=$?
10763 grep -v '^ *+' conftest.er1 >conftest.err
10764 rm -f conftest.er1
10765 cat conftest.err >&5
10766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10767 (exit $ac_status); } &&
10768 { ac_try='test -z "$ac_c_werror_flag"
10769 || test ! -s conftest.err'
10770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10771 (eval $ac_try) 2>&5
10772 ac_status=$?
10773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10774 (exit $ac_status); }; } &&
10775 { ac_try='test -s conftest$ac_exeext'
10776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10777 (eval $ac_try) 2>&5
10778 ac_status=$?
10779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10780 (exit $ac_status); }; }; then
10781 eval "$as_ac_var=yes"
10782 else
10783 echo "$as_me: failed program was:" >&5
10784 sed 's/^/| /' conftest.$ac_ext >&5
10785
10786 eval "$as_ac_var=no"
10787 fi
10788 rm -f conftest.err conftest.$ac_objext \
10789 conftest$ac_exeext conftest.$ac_ext
10790 fi
10791 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10792 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10793 if test `eval echo '${'$as_ac_var'}'` = yes; then
10794 cat >>confdefs.h <<_ACEOF
10795 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10796 _ACEOF
10797
10798 fi
10799 done
10800
10801 else
10802
10803 echo "$as_me:$LINENO: checking for _qfpclass declaration" >&5
10804 echo $ECHO_N "checking for _qfpclass declaration... $ECHO_C" >&6
10805 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
10806 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then
10807 echo $ECHO_N "(cached) $ECHO_C" >&6
10808 else
10809
10810
10811
10812 ac_ext=cc
10813 ac_cpp='$CXXCPP $CPPFLAGS'
10814 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10815 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10816 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10817
10818 cat >conftest.$ac_ext <<_ACEOF
10819 /* confdefs.h. */
10820 _ACEOF
10821 cat confdefs.h >>conftest.$ac_ext
10822 cat >>conftest.$ac_ext <<_ACEOF
10823 /* end confdefs.h. */
10824 #include <math.h>
10825 #ifdef HAVE_IEEEFP_H
10826 #include <ieeefp.h>
10827 #endif
10828
10829 int
10830 main ()
10831 {
10832 _qfpclass(0);
10833 ;
10834 return 0;
10835 }
10836 _ACEOF
10837 rm -f conftest.$ac_objext
10838 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10839 (eval $ac_compile) 2>conftest.er1
10840 ac_status=$?
10841 grep -v '^ *+' conftest.er1 >conftest.err
10842 rm -f conftest.er1
10843 cat conftest.err >&5
10844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10845 (exit $ac_status); } &&
10846 { ac_try='test -z "$ac_cxx_werror_flag"
10847 || test ! -s conftest.err'
10848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10849 (eval $ac_try) 2>&5
10850 ac_status=$?
10851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10852 (exit $ac_status); }; } &&
10853 { ac_try='test -s conftest.$ac_objext'
10854 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10855 (eval $ac_try) 2>&5
10856 ac_status=$?
10857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10858 (exit $ac_status); }; }; then
10859 glibcxx_cv_func__qfpclass_use=yes
10860 else
10861 echo "$as_me: failed program was:" >&5
10862 sed 's/^/| /' conftest.$ac_ext >&5
10863
10864 glibcxx_cv_func__qfpclass_use=no
10865 fi
10866 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10867 ac_ext=c
10868 ac_cpp='$CPP $CPPFLAGS'
10869 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10870 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10871 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10872
10873
10874 fi
10875
10876 fi
10877 echo "$as_me:$LINENO: result: $glibcxx_cv_func__qfpclass_use" >&5
10878 echo "${ECHO_T}$glibcxx_cv_func__qfpclass_use" >&6
10879
10880 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
10881
10882 for ac_func in _qfpclass
10883 do
10884 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10885 echo "$as_me:$LINENO: checking for $ac_func" >&5
10886 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10887 if eval "test \"\${$as_ac_var+set}\" = set"; then
10888 echo $ECHO_N "(cached) $ECHO_C" >&6
10889 else
10890 if test x$gcc_no_link = xyes; then
10891 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10892 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10893 { (exit 1); exit 1; }; }
10894 fi
10895 cat >conftest.$ac_ext <<_ACEOF
10896 /* confdefs.h. */
10897 _ACEOF
10898 cat confdefs.h >>conftest.$ac_ext
10899 cat >>conftest.$ac_ext <<_ACEOF
10900 /* end confdefs.h. */
10901 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10902 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10903 #define $ac_func innocuous_$ac_func
10904
10905 /* System header to define __stub macros and hopefully few prototypes,
10906 which can conflict with char $ac_func (); below.
10907 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10908 <limits.h> exists even on freestanding compilers. */
10909
10910 #ifdef __STDC__
10911 # include <limits.h>
10912 #else
10913 # include <assert.h>
10914 #endif
10915
10916 #undef $ac_func
10917
10918 /* Override any gcc2 internal prototype to avoid an error. */
10919 #ifdef __cplusplus
10920 extern "C"
10921 {
10922 #endif
10923 /* We use char because int might match the return type of a gcc2
10924 builtin and then its argument prototype would still apply. */
10925 char $ac_func ();
10926 /* The GNU C library defines this for functions which it implements
10927 to always fail with ENOSYS. Some functions are actually named
10928 something starting with __ and the normal name is an alias. */
10929 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10930 choke me
10931 #else
10932 char (*f) () = $ac_func;
10933 #endif
10934 #ifdef __cplusplus
10935 }
10936 #endif
10937
10938 int
10939 main ()
10940 {
10941 return f != $ac_func;
10942 ;
10943 return 0;
10944 }
10945 _ACEOF
10946 rm -f conftest.$ac_objext conftest$ac_exeext
10947 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10948 (eval $ac_link) 2>conftest.er1
10949 ac_status=$?
10950 grep -v '^ *+' conftest.er1 >conftest.err
10951 rm -f conftest.er1
10952 cat conftest.err >&5
10953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10954 (exit $ac_status); } &&
10955 { ac_try='test -z "$ac_c_werror_flag"
10956 || test ! -s conftest.err'
10957 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10958 (eval $ac_try) 2>&5
10959 ac_status=$?
10960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10961 (exit $ac_status); }; } &&
10962 { ac_try='test -s conftest$ac_exeext'
10963 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10964 (eval $ac_try) 2>&5
10965 ac_status=$?
10966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10967 (exit $ac_status); }; }; then
10968 eval "$as_ac_var=yes"
10969 else
10970 echo "$as_me: failed program was:" >&5
10971 sed 's/^/| /' conftest.$ac_ext >&5
10972
10973 eval "$as_ac_var=no"
10974 fi
10975 rm -f conftest.err conftest.$ac_objext \
10976 conftest$ac_exeext conftest.$ac_ext
10977 fi
10978 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10979 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10980 if test `eval echo '${'$as_ac_var'}'` = yes; then
10981 cat >>confdefs.h <<_ACEOF
10982 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10983 _ACEOF
10984
10985 fi
10986 done
10987
10988 fi
10989 fi
10990
10991
10992
10993
10994
10995
10996 echo "$as_me:$LINENO: checking for hypot declaration" >&5
10997 echo $ECHO_N "checking for hypot declaration... $ECHO_C" >&6
10998 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
10999 if test "${glibcxx_cv_func_hypot_use+set}" = set; then
11000 echo $ECHO_N "(cached) $ECHO_C" >&6
11001 else
11002
11003
11004
11005 ac_ext=cc
11006 ac_cpp='$CXXCPP $CPPFLAGS'
11007 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11008 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11009 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11010
11011 cat >conftest.$ac_ext <<_ACEOF
11012 /* confdefs.h. */
11013 _ACEOF
11014 cat confdefs.h >>conftest.$ac_ext
11015 cat >>conftest.$ac_ext <<_ACEOF
11016 /* end confdefs.h. */
11017 #include <math.h>
11018 int
11019 main ()
11020 {
11021 hypot(0, 0);
11022 ;
11023 return 0;
11024 }
11025 _ACEOF
11026 rm -f conftest.$ac_objext
11027 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11028 (eval $ac_compile) 2>conftest.er1
11029 ac_status=$?
11030 grep -v '^ *+' conftest.er1 >conftest.err
11031 rm -f conftest.er1
11032 cat conftest.err >&5
11033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11034 (exit $ac_status); } &&
11035 { ac_try='test -z "$ac_cxx_werror_flag"
11036 || test ! -s conftest.err'
11037 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11038 (eval $ac_try) 2>&5
11039 ac_status=$?
11040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11041 (exit $ac_status); }; } &&
11042 { ac_try='test -s conftest.$ac_objext'
11043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11044 (eval $ac_try) 2>&5
11045 ac_status=$?
11046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11047 (exit $ac_status); }; }; then
11048 glibcxx_cv_func_hypot_use=yes
11049 else
11050 echo "$as_me: failed program was:" >&5
11051 sed 's/^/| /' conftest.$ac_ext >&5
11052
11053 glibcxx_cv_func_hypot_use=no
11054 fi
11055 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11056 ac_ext=c
11057 ac_cpp='$CPP $CPPFLAGS'
11058 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11059 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11060 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11061
11062
11063 fi
11064
11065 fi
11066 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypot_use" >&5
11067 echo "${ECHO_T}$glibcxx_cv_func_hypot_use" >&6
11068
11069 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
11070
11071 for ac_func in hypot
11072 do
11073 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11074 echo "$as_me:$LINENO: checking for $ac_func" >&5
11075 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11076 if eval "test \"\${$as_ac_var+set}\" = set"; then
11077 echo $ECHO_N "(cached) $ECHO_C" >&6
11078 else
11079 if test x$gcc_no_link = xyes; then
11080 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11081 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11082 { (exit 1); exit 1; }; }
11083 fi
11084 cat >conftest.$ac_ext <<_ACEOF
11085 /* confdefs.h. */
11086 _ACEOF
11087 cat confdefs.h >>conftest.$ac_ext
11088 cat >>conftest.$ac_ext <<_ACEOF
11089 /* end confdefs.h. */
11090 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11091 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11092 #define $ac_func innocuous_$ac_func
11093
11094 /* System header to define __stub macros and hopefully few prototypes,
11095 which can conflict with char $ac_func (); below.
11096 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11097 <limits.h> exists even on freestanding compilers. */
11098
11099 #ifdef __STDC__
11100 # include <limits.h>
11101 #else
11102 # include <assert.h>
11103 #endif
11104
11105 #undef $ac_func
11106
11107 /* Override any gcc2 internal prototype to avoid an error. */
11108 #ifdef __cplusplus
11109 extern "C"
11110 {
11111 #endif
11112 /* We use char because int might match the return type of a gcc2
11113 builtin and then its argument prototype would still apply. */
11114 char $ac_func ();
11115 /* The GNU C library defines this for functions which it implements
11116 to always fail with ENOSYS. Some functions are actually named
11117 something starting with __ and the normal name is an alias. */
11118 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11119 choke me
11120 #else
11121 char (*f) () = $ac_func;
11122 #endif
11123 #ifdef __cplusplus
11124 }
11125 #endif
11126
11127 int
11128 main ()
11129 {
11130 return f != $ac_func;
11131 ;
11132 return 0;
11133 }
11134 _ACEOF
11135 rm -f conftest.$ac_objext conftest$ac_exeext
11136 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11137 (eval $ac_link) 2>conftest.er1
11138 ac_status=$?
11139 grep -v '^ *+' conftest.er1 >conftest.err
11140 rm -f conftest.er1
11141 cat conftest.err >&5
11142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11143 (exit $ac_status); } &&
11144 { ac_try='test -z "$ac_c_werror_flag"
11145 || test ! -s conftest.err'
11146 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11147 (eval $ac_try) 2>&5
11148 ac_status=$?
11149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11150 (exit $ac_status); }; } &&
11151 { ac_try='test -s conftest$ac_exeext'
11152 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11153 (eval $ac_try) 2>&5
11154 ac_status=$?
11155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11156 (exit $ac_status); }; }; then
11157 eval "$as_ac_var=yes"
11158 else
11159 echo "$as_me: failed program was:" >&5
11160 sed 's/^/| /' conftest.$ac_ext >&5
11161
11162 eval "$as_ac_var=no"
11163 fi
11164 rm -f conftest.err conftest.$ac_objext \
11165 conftest$ac_exeext conftest.$ac_ext
11166 fi
11167 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11168 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11169 if test `eval echo '${'$as_ac_var'}'` = yes; then
11170 cat >>confdefs.h <<_ACEOF
11171 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11172 _ACEOF
11173
11174 fi
11175 done
11176
11177 else
11178
11179 echo "$as_me:$LINENO: checking for _hypot declaration" >&5
11180 echo $ECHO_N "checking for _hypot declaration... $ECHO_C" >&6
11181 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
11182 if test "${glibcxx_cv_func__hypot_use+set}" = set; then
11183 echo $ECHO_N "(cached) $ECHO_C" >&6
11184 else
11185
11186
11187
11188 ac_ext=cc
11189 ac_cpp='$CXXCPP $CPPFLAGS'
11190 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11191 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11192 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11193
11194 cat >conftest.$ac_ext <<_ACEOF
11195 /* confdefs.h. */
11196 _ACEOF
11197 cat confdefs.h >>conftest.$ac_ext
11198 cat >>conftest.$ac_ext <<_ACEOF
11199 /* end confdefs.h. */
11200 #include <math.h>
11201 int
11202 main ()
11203 {
11204 _hypot(0, 0);
11205 ;
11206 return 0;
11207 }
11208 _ACEOF
11209 rm -f conftest.$ac_objext
11210 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11211 (eval $ac_compile) 2>conftest.er1
11212 ac_status=$?
11213 grep -v '^ *+' conftest.er1 >conftest.err
11214 rm -f conftest.er1
11215 cat conftest.err >&5
11216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11217 (exit $ac_status); } &&
11218 { ac_try='test -z "$ac_cxx_werror_flag"
11219 || test ! -s conftest.err'
11220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11221 (eval $ac_try) 2>&5
11222 ac_status=$?
11223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11224 (exit $ac_status); }; } &&
11225 { ac_try='test -s conftest.$ac_objext'
11226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11227 (eval $ac_try) 2>&5
11228 ac_status=$?
11229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11230 (exit $ac_status); }; }; then
11231 glibcxx_cv_func__hypot_use=yes
11232 else
11233 echo "$as_me: failed program was:" >&5
11234 sed 's/^/| /' conftest.$ac_ext >&5
11235
11236 glibcxx_cv_func__hypot_use=no
11237 fi
11238 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11239 ac_ext=c
11240 ac_cpp='$CPP $CPPFLAGS'
11241 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11242 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11243 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11244
11245
11246 fi
11247
11248 fi
11249 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypot_use" >&5
11250 echo "${ECHO_T}$glibcxx_cv_func__hypot_use" >&6
11251
11252 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
11253
11254 for ac_func in _hypot
11255 do
11256 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11257 echo "$as_me:$LINENO: checking for $ac_func" >&5
11258 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11259 if eval "test \"\${$as_ac_var+set}\" = set"; then
11260 echo $ECHO_N "(cached) $ECHO_C" >&6
11261 else
11262 if test x$gcc_no_link = xyes; then
11263 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11264 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11265 { (exit 1); exit 1; }; }
11266 fi
11267 cat >conftest.$ac_ext <<_ACEOF
11268 /* confdefs.h. */
11269 _ACEOF
11270 cat confdefs.h >>conftest.$ac_ext
11271 cat >>conftest.$ac_ext <<_ACEOF
11272 /* end confdefs.h. */
11273 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11274 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11275 #define $ac_func innocuous_$ac_func
11276
11277 /* System header to define __stub macros and hopefully few prototypes,
11278 which can conflict with char $ac_func (); below.
11279 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11280 <limits.h> exists even on freestanding compilers. */
11281
11282 #ifdef __STDC__
11283 # include <limits.h>
11284 #else
11285 # include <assert.h>
11286 #endif
11287
11288 #undef $ac_func
11289
11290 /* Override any gcc2 internal prototype to avoid an error. */
11291 #ifdef __cplusplus
11292 extern "C"
11293 {
11294 #endif
11295 /* We use char because int might match the return type of a gcc2
11296 builtin and then its argument prototype would still apply. */
11297 char $ac_func ();
11298 /* The GNU C library defines this for functions which it implements
11299 to always fail with ENOSYS. Some functions are actually named
11300 something starting with __ and the normal name is an alias. */
11301 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11302 choke me
11303 #else
11304 char (*f) () = $ac_func;
11305 #endif
11306 #ifdef __cplusplus
11307 }
11308 #endif
11309
11310 int
11311 main ()
11312 {
11313 return f != $ac_func;
11314 ;
11315 return 0;
11316 }
11317 _ACEOF
11318 rm -f conftest.$ac_objext conftest$ac_exeext
11319 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11320 (eval $ac_link) 2>conftest.er1
11321 ac_status=$?
11322 grep -v '^ *+' conftest.er1 >conftest.err
11323 rm -f conftest.er1
11324 cat conftest.err >&5
11325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11326 (exit $ac_status); } &&
11327 { ac_try='test -z "$ac_c_werror_flag"
11328 || test ! -s conftest.err'
11329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11330 (eval $ac_try) 2>&5
11331 ac_status=$?
11332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11333 (exit $ac_status); }; } &&
11334 { ac_try='test -s conftest$ac_exeext'
11335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11336 (eval $ac_try) 2>&5
11337 ac_status=$?
11338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11339 (exit $ac_status); }; }; then
11340 eval "$as_ac_var=yes"
11341 else
11342 echo "$as_me: failed program was:" >&5
11343 sed 's/^/| /' conftest.$ac_ext >&5
11344
11345 eval "$as_ac_var=no"
11346 fi
11347 rm -f conftest.err conftest.$ac_objext \
11348 conftest$ac_exeext conftest.$ac_ext
11349 fi
11350 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11351 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11352 if test `eval echo '${'$as_ac_var'}'` = yes; then
11353 cat >>confdefs.h <<_ACEOF
11354 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11355 _ACEOF
11356
11357 fi
11358 done
11359
11360 fi
11361 fi
11362
11363
11364
11365
11366
11367
11368 echo "$as_me:$LINENO: checking for float trig functions" >&5
11369 echo $ECHO_N "checking for float trig functions... $ECHO_C" >&6
11370 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then
11371 echo $ECHO_N "(cached) $ECHO_C" >&6
11372 else
11373
11374
11375
11376 ac_ext=cc
11377 ac_cpp='$CXXCPP $CPPFLAGS'
11378 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11379 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11380 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11381
11382 cat >conftest.$ac_ext <<_ACEOF
11383 /* confdefs.h. */
11384 _ACEOF
11385 cat confdefs.h >>conftest.$ac_ext
11386 cat >>conftest.$ac_ext <<_ACEOF
11387 /* end confdefs.h. */
11388 #include <math.h>
11389 int
11390 main ()
11391 {
11392 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
11393 ;
11394 return 0;
11395 }
11396 _ACEOF
11397 rm -f conftest.$ac_objext
11398 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11399 (eval $ac_compile) 2>conftest.er1
11400 ac_status=$?
11401 grep -v '^ *+' conftest.er1 >conftest.err
11402 rm -f conftest.er1
11403 cat conftest.err >&5
11404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11405 (exit $ac_status); } &&
11406 { ac_try='test -z "$ac_cxx_werror_flag"
11407 || test ! -s conftest.err'
11408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11409 (eval $ac_try) 2>&5
11410 ac_status=$?
11411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11412 (exit $ac_status); }; } &&
11413 { ac_try='test -s conftest.$ac_objext'
11414 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11415 (eval $ac_try) 2>&5
11416 ac_status=$?
11417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11418 (exit $ac_status); }; }; then
11419 glibcxx_cv_func_float_trig_use=yes
11420 else
11421 echo "$as_me: failed program was:" >&5
11422 sed 's/^/| /' conftest.$ac_ext >&5
11423
11424 glibcxx_cv_func_float_trig_use=no
11425 fi
11426 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11427 ac_ext=c
11428 ac_cpp='$CPP $CPPFLAGS'
11429 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11430 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11431 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11432
11433 fi
11434
11435 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_trig_use" >&5
11436 echo "${ECHO_T}$glibcxx_cv_func_float_trig_use" >&6
11437 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
11438
11439
11440
11441
11442
11443
11444
11445
11446
11447 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
11448 do
11449 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11450 echo "$as_me:$LINENO: checking for $ac_func" >&5
11451 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11452 if eval "test \"\${$as_ac_var+set}\" = set"; then
11453 echo $ECHO_N "(cached) $ECHO_C" >&6
11454 else
11455 if test x$gcc_no_link = xyes; then
11456 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11457 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11458 { (exit 1); exit 1; }; }
11459 fi
11460 cat >conftest.$ac_ext <<_ACEOF
11461 /* confdefs.h. */
11462 _ACEOF
11463 cat confdefs.h >>conftest.$ac_ext
11464 cat >>conftest.$ac_ext <<_ACEOF
11465 /* end confdefs.h. */
11466 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11467 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11468 #define $ac_func innocuous_$ac_func
11469
11470 /* System header to define __stub macros and hopefully few prototypes,
11471 which can conflict with char $ac_func (); below.
11472 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11473 <limits.h> exists even on freestanding compilers. */
11474
11475 #ifdef __STDC__
11476 # include <limits.h>
11477 #else
11478 # include <assert.h>
11479 #endif
11480
11481 #undef $ac_func
11482
11483 /* Override any gcc2 internal prototype to avoid an error. */
11484 #ifdef __cplusplus
11485 extern "C"
11486 {
11487 #endif
11488 /* We use char because int might match the return type of a gcc2
11489 builtin and then its argument prototype would still apply. */
11490 char $ac_func ();
11491 /* The GNU C library defines this for functions which it implements
11492 to always fail with ENOSYS. Some functions are actually named
11493 something starting with __ and the normal name is an alias. */
11494 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11495 choke me
11496 #else
11497 char (*f) () = $ac_func;
11498 #endif
11499 #ifdef __cplusplus
11500 }
11501 #endif
11502
11503 int
11504 main ()
11505 {
11506 return f != $ac_func;
11507 ;
11508 return 0;
11509 }
11510 _ACEOF
11511 rm -f conftest.$ac_objext conftest$ac_exeext
11512 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11513 (eval $ac_link) 2>conftest.er1
11514 ac_status=$?
11515 grep -v '^ *+' conftest.er1 >conftest.err
11516 rm -f conftest.er1
11517 cat conftest.err >&5
11518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11519 (exit $ac_status); } &&
11520 { ac_try='test -z "$ac_c_werror_flag"
11521 || test ! -s conftest.err'
11522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11523 (eval $ac_try) 2>&5
11524 ac_status=$?
11525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11526 (exit $ac_status); }; } &&
11527 { ac_try='test -s conftest$ac_exeext'
11528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11529 (eval $ac_try) 2>&5
11530 ac_status=$?
11531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11532 (exit $ac_status); }; }; then
11533 eval "$as_ac_var=yes"
11534 else
11535 echo "$as_me: failed program was:" >&5
11536 sed 's/^/| /' conftest.$ac_ext >&5
11537
11538 eval "$as_ac_var=no"
11539 fi
11540 rm -f conftest.err conftest.$ac_objext \
11541 conftest$ac_exeext conftest.$ac_ext
11542 fi
11543 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11544 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11545 if test `eval echo '${'$as_ac_var'}'` = yes; then
11546 cat >>confdefs.h <<_ACEOF
11547 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11548 _ACEOF
11549
11550 fi
11551 done
11552
11553 else
11554 echo "$as_me:$LINENO: checking for _float trig functions" >&5
11555 echo $ECHO_N "checking for _float trig functions... $ECHO_C" >&6
11556 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then
11557 echo $ECHO_N "(cached) $ECHO_C" >&6
11558 else
11559
11560
11561
11562 ac_ext=cc
11563 ac_cpp='$CXXCPP $CPPFLAGS'
11564 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11565 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11566 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11567
11568 cat >conftest.$ac_ext <<_ACEOF
11569 /* confdefs.h. */
11570 _ACEOF
11571 cat confdefs.h >>conftest.$ac_ext
11572 cat >>conftest.$ac_ext <<_ACEOF
11573 /* end confdefs.h. */
11574 #include <math.h>
11575 int
11576 main ()
11577 {
11578 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
11579 ;
11580 return 0;
11581 }
11582 _ACEOF
11583 rm -f conftest.$ac_objext
11584 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11585 (eval $ac_compile) 2>conftest.er1
11586 ac_status=$?
11587 grep -v '^ *+' conftest.er1 >conftest.err
11588 rm -f conftest.er1
11589 cat conftest.err >&5
11590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11591 (exit $ac_status); } &&
11592 { ac_try='test -z "$ac_cxx_werror_flag"
11593 || test ! -s conftest.err'
11594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11595 (eval $ac_try) 2>&5
11596 ac_status=$?
11597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11598 (exit $ac_status); }; } &&
11599 { ac_try='test -s conftest.$ac_objext'
11600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11601 (eval $ac_try) 2>&5
11602 ac_status=$?
11603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11604 (exit $ac_status); }; }; then
11605 glibcxx_cv_func__float_trig_use=yes
11606 else
11607 echo "$as_me: failed program was:" >&5
11608 sed 's/^/| /' conftest.$ac_ext >&5
11609
11610 glibcxx_cv_func__float_trig_use=no
11611 fi
11612 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11613 ac_ext=c
11614 ac_cpp='$CPP $CPPFLAGS'
11615 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11616 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11617 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11618
11619 fi
11620
11621 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_trig_use" >&5
11622 echo "${ECHO_T}$glibcxx_cv_func__float_trig_use" >&6
11623 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
11624
11625
11626
11627
11628
11629
11630
11631
11632
11633 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
11634 do
11635 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11636 echo "$as_me:$LINENO: checking for $ac_func" >&5
11637 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11638 if eval "test \"\${$as_ac_var+set}\" = set"; then
11639 echo $ECHO_N "(cached) $ECHO_C" >&6
11640 else
11641 if test x$gcc_no_link = xyes; then
11642 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11643 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11644 { (exit 1); exit 1; }; }
11645 fi
11646 cat >conftest.$ac_ext <<_ACEOF
11647 /* confdefs.h. */
11648 _ACEOF
11649 cat confdefs.h >>conftest.$ac_ext
11650 cat >>conftest.$ac_ext <<_ACEOF
11651 /* end confdefs.h. */
11652 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11653 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11654 #define $ac_func innocuous_$ac_func
11655
11656 /* System header to define __stub macros and hopefully few prototypes,
11657 which can conflict with char $ac_func (); below.
11658 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11659 <limits.h> exists even on freestanding compilers. */
11660
11661 #ifdef __STDC__
11662 # include <limits.h>
11663 #else
11664 # include <assert.h>
11665 #endif
11666
11667 #undef $ac_func
11668
11669 /* Override any gcc2 internal prototype to avoid an error. */
11670 #ifdef __cplusplus
11671 extern "C"
11672 {
11673 #endif
11674 /* We use char because int might match the return type of a gcc2
11675 builtin and then its argument prototype would still apply. */
11676 char $ac_func ();
11677 /* The GNU C library defines this for functions which it implements
11678 to always fail with ENOSYS. Some functions are actually named
11679 something starting with __ and the normal name is an alias. */
11680 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11681 choke me
11682 #else
11683 char (*f) () = $ac_func;
11684 #endif
11685 #ifdef __cplusplus
11686 }
11687 #endif
11688
11689 int
11690 main ()
11691 {
11692 return f != $ac_func;
11693 ;
11694 return 0;
11695 }
11696 _ACEOF
11697 rm -f conftest.$ac_objext conftest$ac_exeext
11698 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11699 (eval $ac_link) 2>conftest.er1
11700 ac_status=$?
11701 grep -v '^ *+' conftest.er1 >conftest.err
11702 rm -f conftest.er1
11703 cat conftest.err >&5
11704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11705 (exit $ac_status); } &&
11706 { ac_try='test -z "$ac_c_werror_flag"
11707 || test ! -s conftest.err'
11708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11709 (eval $ac_try) 2>&5
11710 ac_status=$?
11711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11712 (exit $ac_status); }; } &&
11713 { ac_try='test -s conftest$ac_exeext'
11714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11715 (eval $ac_try) 2>&5
11716 ac_status=$?
11717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11718 (exit $ac_status); }; }; then
11719 eval "$as_ac_var=yes"
11720 else
11721 echo "$as_me: failed program was:" >&5
11722 sed 's/^/| /' conftest.$ac_ext >&5
11723
11724 eval "$as_ac_var=no"
11725 fi
11726 rm -f conftest.err conftest.$ac_objext \
11727 conftest$ac_exeext conftest.$ac_ext
11728 fi
11729 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11730 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11731 if test `eval echo '${'$as_ac_var'}'` = yes; then
11732 cat >>confdefs.h <<_ACEOF
11733 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11734 _ACEOF
11735
11736 fi
11737 done
11738
11739 fi
11740 fi
11741
11742
11743
11744
11745
11746
11747
11748
11749
11750
11751
11752
11753
11754
11755 echo "$as_me:$LINENO: checking for float round functions" >&5
11756 echo $ECHO_N "checking for float round functions... $ECHO_C" >&6
11757 if test "${glibcxx_cv_func_float_round_use+set}" = set; then
11758 echo $ECHO_N "(cached) $ECHO_C" >&6
11759 else
11760
11761
11762
11763 ac_ext=cc
11764 ac_cpp='$CXXCPP $CPPFLAGS'
11765 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11766 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11767 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11768
11769 cat >conftest.$ac_ext <<_ACEOF
11770 /* confdefs.h. */
11771 _ACEOF
11772 cat confdefs.h >>conftest.$ac_ext
11773 cat >>conftest.$ac_ext <<_ACEOF
11774 /* end confdefs.h. */
11775 #include <math.h>
11776 int
11777 main ()
11778 {
11779 ceilf (0); floorf (0);
11780 ;
11781 return 0;
11782 }
11783 _ACEOF
11784 rm -f conftest.$ac_objext
11785 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11786 (eval $ac_compile) 2>conftest.er1
11787 ac_status=$?
11788 grep -v '^ *+' conftest.er1 >conftest.err
11789 rm -f conftest.er1
11790 cat conftest.err >&5
11791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11792 (exit $ac_status); } &&
11793 { ac_try='test -z "$ac_cxx_werror_flag"
11794 || test ! -s conftest.err'
11795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11796 (eval $ac_try) 2>&5
11797 ac_status=$?
11798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11799 (exit $ac_status); }; } &&
11800 { ac_try='test -s conftest.$ac_objext'
11801 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11802 (eval $ac_try) 2>&5
11803 ac_status=$?
11804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11805 (exit $ac_status); }; }; then
11806 glibcxx_cv_func_float_round_use=yes
11807 else
11808 echo "$as_me: failed program was:" >&5
11809 sed 's/^/| /' conftest.$ac_ext >&5
11810
11811 glibcxx_cv_func_float_round_use=no
11812 fi
11813 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11814 ac_ext=c
11815 ac_cpp='$CPP $CPPFLAGS'
11816 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11817 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11818 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11819
11820 fi
11821
11822 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_round_use" >&5
11823 echo "${ECHO_T}$glibcxx_cv_func_float_round_use" >&6
11824 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
11825
11826
11827 for ac_func in ceilf floorf
11828 do
11829 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11830 echo "$as_me:$LINENO: checking for $ac_func" >&5
11831 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11832 if eval "test \"\${$as_ac_var+set}\" = set"; then
11833 echo $ECHO_N "(cached) $ECHO_C" >&6
11834 else
11835 if test x$gcc_no_link = xyes; then
11836 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11837 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11838 { (exit 1); exit 1; }; }
11839 fi
11840 cat >conftest.$ac_ext <<_ACEOF
11841 /* confdefs.h. */
11842 _ACEOF
11843 cat confdefs.h >>conftest.$ac_ext
11844 cat >>conftest.$ac_ext <<_ACEOF
11845 /* end confdefs.h. */
11846 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11847 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11848 #define $ac_func innocuous_$ac_func
11849
11850 /* System header to define __stub macros and hopefully few prototypes,
11851 which can conflict with char $ac_func (); below.
11852 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11853 <limits.h> exists even on freestanding compilers. */
11854
11855 #ifdef __STDC__
11856 # include <limits.h>
11857 #else
11858 # include <assert.h>
11859 #endif
11860
11861 #undef $ac_func
11862
11863 /* Override any gcc2 internal prototype to avoid an error. */
11864 #ifdef __cplusplus
11865 extern "C"
11866 {
11867 #endif
11868 /* We use char because int might match the return type of a gcc2
11869 builtin and then its argument prototype would still apply. */
11870 char $ac_func ();
11871 /* The GNU C library defines this for functions which it implements
11872 to always fail with ENOSYS. Some functions are actually named
11873 something starting with __ and the normal name is an alias. */
11874 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11875 choke me
11876 #else
11877 char (*f) () = $ac_func;
11878 #endif
11879 #ifdef __cplusplus
11880 }
11881 #endif
11882
11883 int
11884 main ()
11885 {
11886 return f != $ac_func;
11887 ;
11888 return 0;
11889 }
11890 _ACEOF
11891 rm -f conftest.$ac_objext conftest$ac_exeext
11892 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11893 (eval $ac_link) 2>conftest.er1
11894 ac_status=$?
11895 grep -v '^ *+' conftest.er1 >conftest.err
11896 rm -f conftest.er1
11897 cat conftest.err >&5
11898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11899 (exit $ac_status); } &&
11900 { ac_try='test -z "$ac_c_werror_flag"
11901 || test ! -s conftest.err'
11902 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11903 (eval $ac_try) 2>&5
11904 ac_status=$?
11905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11906 (exit $ac_status); }; } &&
11907 { ac_try='test -s conftest$ac_exeext'
11908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11909 (eval $ac_try) 2>&5
11910 ac_status=$?
11911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11912 (exit $ac_status); }; }; then
11913 eval "$as_ac_var=yes"
11914 else
11915 echo "$as_me: failed program was:" >&5
11916 sed 's/^/| /' conftest.$ac_ext >&5
11917
11918 eval "$as_ac_var=no"
11919 fi
11920 rm -f conftest.err conftest.$ac_objext \
11921 conftest$ac_exeext conftest.$ac_ext
11922 fi
11923 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11924 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11925 if test `eval echo '${'$as_ac_var'}'` = yes; then
11926 cat >>confdefs.h <<_ACEOF
11927 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11928 _ACEOF
11929
11930 fi
11931 done
11932
11933 else
11934 echo "$as_me:$LINENO: checking for _float round functions" >&5
11935 echo $ECHO_N "checking for _float round functions... $ECHO_C" >&6
11936 if test "${glibcxx_cv_func__float_round_use+set}" = set; then
11937 echo $ECHO_N "(cached) $ECHO_C" >&6
11938 else
11939
11940
11941
11942 ac_ext=cc
11943 ac_cpp='$CXXCPP $CPPFLAGS'
11944 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11945 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11946 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11947
11948 cat >conftest.$ac_ext <<_ACEOF
11949 /* confdefs.h. */
11950 _ACEOF
11951 cat confdefs.h >>conftest.$ac_ext
11952 cat >>conftest.$ac_ext <<_ACEOF
11953 /* end confdefs.h. */
11954 #include <math.h>
11955 int
11956 main ()
11957 {
11958 _ceilf (0); _floorf (0);
11959 ;
11960 return 0;
11961 }
11962 _ACEOF
11963 rm -f conftest.$ac_objext
11964 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11965 (eval $ac_compile) 2>conftest.er1
11966 ac_status=$?
11967 grep -v '^ *+' conftest.er1 >conftest.err
11968 rm -f conftest.er1
11969 cat conftest.err >&5
11970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11971 (exit $ac_status); } &&
11972 { ac_try='test -z "$ac_cxx_werror_flag"
11973 || test ! -s conftest.err'
11974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11975 (eval $ac_try) 2>&5
11976 ac_status=$?
11977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11978 (exit $ac_status); }; } &&
11979 { ac_try='test -s conftest.$ac_objext'
11980 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11981 (eval $ac_try) 2>&5
11982 ac_status=$?
11983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11984 (exit $ac_status); }; }; then
11985 glibcxx_cv_func__float_round_use=yes
11986 else
11987 echo "$as_me: failed program was:" >&5
11988 sed 's/^/| /' conftest.$ac_ext >&5
11989
11990 glibcxx_cv_func__float_round_use=no
11991 fi
11992 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11993 ac_ext=c
11994 ac_cpp='$CPP $CPPFLAGS'
11995 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11996 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11997 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11998
11999 fi
12000
12001 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_round_use" >&5
12002 echo "${ECHO_T}$glibcxx_cv_func__float_round_use" >&6
12003 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
12004
12005
12006 for ac_func in _ceilf _floorf
12007 do
12008 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12009 echo "$as_me:$LINENO: checking for $ac_func" >&5
12010 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12011 if eval "test \"\${$as_ac_var+set}\" = set"; then
12012 echo $ECHO_N "(cached) $ECHO_C" >&6
12013 else
12014 if test x$gcc_no_link = xyes; then
12015 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12016 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12017 { (exit 1); exit 1; }; }
12018 fi
12019 cat >conftest.$ac_ext <<_ACEOF
12020 /* confdefs.h. */
12021 _ACEOF
12022 cat confdefs.h >>conftest.$ac_ext
12023 cat >>conftest.$ac_ext <<_ACEOF
12024 /* end confdefs.h. */
12025 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12026 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12027 #define $ac_func innocuous_$ac_func
12028
12029 /* System header to define __stub macros and hopefully few prototypes,
12030 which can conflict with char $ac_func (); below.
12031 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12032 <limits.h> exists even on freestanding compilers. */
12033
12034 #ifdef __STDC__
12035 # include <limits.h>
12036 #else
12037 # include <assert.h>
12038 #endif
12039
12040 #undef $ac_func
12041
12042 /* Override any gcc2 internal prototype to avoid an error. */
12043 #ifdef __cplusplus
12044 extern "C"
12045 {
12046 #endif
12047 /* We use char because int might match the return type of a gcc2
12048 builtin and then its argument prototype would still apply. */
12049 char $ac_func ();
12050 /* The GNU C library defines this for functions which it implements
12051 to always fail with ENOSYS. Some functions are actually named
12052 something starting with __ and the normal name is an alias. */
12053 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12054 choke me
12055 #else
12056 char (*f) () = $ac_func;
12057 #endif
12058 #ifdef __cplusplus
12059 }
12060 #endif
12061
12062 int
12063 main ()
12064 {
12065 return f != $ac_func;
12066 ;
12067 return 0;
12068 }
12069 _ACEOF
12070 rm -f conftest.$ac_objext conftest$ac_exeext
12071 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12072 (eval $ac_link) 2>conftest.er1
12073 ac_status=$?
12074 grep -v '^ *+' conftest.er1 >conftest.err
12075 rm -f conftest.er1
12076 cat conftest.err >&5
12077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12078 (exit $ac_status); } &&
12079 { ac_try='test -z "$ac_c_werror_flag"
12080 || test ! -s conftest.err'
12081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12082 (eval $ac_try) 2>&5
12083 ac_status=$?
12084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12085 (exit $ac_status); }; } &&
12086 { ac_try='test -s conftest$ac_exeext'
12087 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12088 (eval $ac_try) 2>&5
12089 ac_status=$?
12090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12091 (exit $ac_status); }; }; then
12092 eval "$as_ac_var=yes"
12093 else
12094 echo "$as_me: failed program was:" >&5
12095 sed 's/^/| /' conftest.$ac_ext >&5
12096
12097 eval "$as_ac_var=no"
12098 fi
12099 rm -f conftest.err conftest.$ac_objext \
12100 conftest$ac_exeext conftest.$ac_ext
12101 fi
12102 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12103 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12104 if test `eval echo '${'$as_ac_var'}'` = yes; then
12105 cat >>confdefs.h <<_ACEOF
12106 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12107 _ACEOF
12108
12109 fi
12110 done
12111
12112 fi
12113 fi
12114
12115
12116
12117
12118
12119
12120
12121
12122 echo "$as_me:$LINENO: checking for expf declaration" >&5
12123 echo $ECHO_N "checking for expf declaration... $ECHO_C" >&6
12124 if test x${glibcxx_cv_func_expf_use+set} != xset; then
12125 if test "${glibcxx_cv_func_expf_use+set}" = set; then
12126 echo $ECHO_N "(cached) $ECHO_C" >&6
12127 else
12128
12129
12130
12131 ac_ext=cc
12132 ac_cpp='$CXXCPP $CPPFLAGS'
12133 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12134 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12135 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12136
12137 cat >conftest.$ac_ext <<_ACEOF
12138 /* confdefs.h. */
12139 _ACEOF
12140 cat confdefs.h >>conftest.$ac_ext
12141 cat >>conftest.$ac_ext <<_ACEOF
12142 /* end confdefs.h. */
12143 #include <math.h>
12144 #ifdef HAVE_IEEEFP_H
12145 #include <ieeefp.h>
12146 #endif
12147
12148 int
12149 main ()
12150 {
12151 expf(0);
12152 ;
12153 return 0;
12154 }
12155 _ACEOF
12156 rm -f conftest.$ac_objext
12157 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12158 (eval $ac_compile) 2>conftest.er1
12159 ac_status=$?
12160 grep -v '^ *+' conftest.er1 >conftest.err
12161 rm -f conftest.er1
12162 cat conftest.err >&5
12163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12164 (exit $ac_status); } &&
12165 { ac_try='test -z "$ac_cxx_werror_flag"
12166 || test ! -s conftest.err'
12167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12168 (eval $ac_try) 2>&5
12169 ac_status=$?
12170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12171 (exit $ac_status); }; } &&
12172 { ac_try='test -s conftest.$ac_objext'
12173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12174 (eval $ac_try) 2>&5
12175 ac_status=$?
12176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12177 (exit $ac_status); }; }; then
12178 glibcxx_cv_func_expf_use=yes
12179 else
12180 echo "$as_me: failed program was:" >&5
12181 sed 's/^/| /' conftest.$ac_ext >&5
12182
12183 glibcxx_cv_func_expf_use=no
12184 fi
12185 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12186 ac_ext=c
12187 ac_cpp='$CPP $CPPFLAGS'
12188 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12189 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12190 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12191
12192
12193 fi
12194
12195 fi
12196 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expf_use" >&5
12197 echo "${ECHO_T}$glibcxx_cv_func_expf_use" >&6
12198
12199 if test x$glibcxx_cv_func_expf_use = x"yes"; then
12200
12201 for ac_func in expf
12202 do
12203 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12204 echo "$as_me:$LINENO: checking for $ac_func" >&5
12205 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12206 if eval "test \"\${$as_ac_var+set}\" = set"; then
12207 echo $ECHO_N "(cached) $ECHO_C" >&6
12208 else
12209 if test x$gcc_no_link = xyes; then
12210 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12211 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12212 { (exit 1); exit 1; }; }
12213 fi
12214 cat >conftest.$ac_ext <<_ACEOF
12215 /* confdefs.h. */
12216 _ACEOF
12217 cat confdefs.h >>conftest.$ac_ext
12218 cat >>conftest.$ac_ext <<_ACEOF
12219 /* end confdefs.h. */
12220 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12221 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12222 #define $ac_func innocuous_$ac_func
12223
12224 /* System header to define __stub macros and hopefully few prototypes,
12225 which can conflict with char $ac_func (); below.
12226 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12227 <limits.h> exists even on freestanding compilers. */
12228
12229 #ifdef __STDC__
12230 # include <limits.h>
12231 #else
12232 # include <assert.h>
12233 #endif
12234
12235 #undef $ac_func
12236
12237 /* Override any gcc2 internal prototype to avoid an error. */
12238 #ifdef __cplusplus
12239 extern "C"
12240 {
12241 #endif
12242 /* We use char because int might match the return type of a gcc2
12243 builtin and then its argument prototype would still apply. */
12244 char $ac_func ();
12245 /* The GNU C library defines this for functions which it implements
12246 to always fail with ENOSYS. Some functions are actually named
12247 something starting with __ and the normal name is an alias. */
12248 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12249 choke me
12250 #else
12251 char (*f) () = $ac_func;
12252 #endif
12253 #ifdef __cplusplus
12254 }
12255 #endif
12256
12257 int
12258 main ()
12259 {
12260 return f != $ac_func;
12261 ;
12262 return 0;
12263 }
12264 _ACEOF
12265 rm -f conftest.$ac_objext conftest$ac_exeext
12266 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12267 (eval $ac_link) 2>conftest.er1
12268 ac_status=$?
12269 grep -v '^ *+' conftest.er1 >conftest.err
12270 rm -f conftest.er1
12271 cat conftest.err >&5
12272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12273 (exit $ac_status); } &&
12274 { ac_try='test -z "$ac_c_werror_flag"
12275 || test ! -s conftest.err'
12276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12277 (eval $ac_try) 2>&5
12278 ac_status=$?
12279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12280 (exit $ac_status); }; } &&
12281 { ac_try='test -s conftest$ac_exeext'
12282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12283 (eval $ac_try) 2>&5
12284 ac_status=$?
12285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12286 (exit $ac_status); }; }; then
12287 eval "$as_ac_var=yes"
12288 else
12289 echo "$as_me: failed program was:" >&5
12290 sed 's/^/| /' conftest.$ac_ext >&5
12291
12292 eval "$as_ac_var=no"
12293 fi
12294 rm -f conftest.err conftest.$ac_objext \
12295 conftest$ac_exeext conftest.$ac_ext
12296 fi
12297 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12298 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12299 if test `eval echo '${'$as_ac_var'}'` = yes; then
12300 cat >>confdefs.h <<_ACEOF
12301 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12302 _ACEOF
12303
12304 fi
12305 done
12306
12307 else
12308
12309 echo "$as_me:$LINENO: checking for _expf declaration" >&5
12310 echo $ECHO_N "checking for _expf declaration... $ECHO_C" >&6
12311 if test x${glibcxx_cv_func__expf_use+set} != xset; then
12312 if test "${glibcxx_cv_func__expf_use+set}" = set; then
12313 echo $ECHO_N "(cached) $ECHO_C" >&6
12314 else
12315
12316
12317
12318 ac_ext=cc
12319 ac_cpp='$CXXCPP $CPPFLAGS'
12320 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12321 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12322 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12323
12324 cat >conftest.$ac_ext <<_ACEOF
12325 /* confdefs.h. */
12326 _ACEOF
12327 cat confdefs.h >>conftest.$ac_ext
12328 cat >>conftest.$ac_ext <<_ACEOF
12329 /* end confdefs.h. */
12330 #include <math.h>
12331 #ifdef HAVE_IEEEFP_H
12332 #include <ieeefp.h>
12333 #endif
12334
12335 int
12336 main ()
12337 {
12338 _expf(0);
12339 ;
12340 return 0;
12341 }
12342 _ACEOF
12343 rm -f conftest.$ac_objext
12344 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12345 (eval $ac_compile) 2>conftest.er1
12346 ac_status=$?
12347 grep -v '^ *+' conftest.er1 >conftest.err
12348 rm -f conftest.er1
12349 cat conftest.err >&5
12350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12351 (exit $ac_status); } &&
12352 { ac_try='test -z "$ac_cxx_werror_flag"
12353 || test ! -s conftest.err'
12354 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12355 (eval $ac_try) 2>&5
12356 ac_status=$?
12357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12358 (exit $ac_status); }; } &&
12359 { ac_try='test -s conftest.$ac_objext'
12360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12361 (eval $ac_try) 2>&5
12362 ac_status=$?
12363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12364 (exit $ac_status); }; }; then
12365 glibcxx_cv_func__expf_use=yes
12366 else
12367 echo "$as_me: failed program was:" >&5
12368 sed 's/^/| /' conftest.$ac_ext >&5
12369
12370 glibcxx_cv_func__expf_use=no
12371 fi
12372 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12373 ac_ext=c
12374 ac_cpp='$CPP $CPPFLAGS'
12375 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12376 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12377 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12378
12379
12380 fi
12381
12382 fi
12383 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expf_use" >&5
12384 echo "${ECHO_T}$glibcxx_cv_func__expf_use" >&6
12385
12386 if test x$glibcxx_cv_func__expf_use = x"yes"; then
12387
12388 for ac_func in _expf
12389 do
12390 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12391 echo "$as_me:$LINENO: checking for $ac_func" >&5
12392 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12393 if eval "test \"\${$as_ac_var+set}\" = set"; then
12394 echo $ECHO_N "(cached) $ECHO_C" >&6
12395 else
12396 if test x$gcc_no_link = xyes; then
12397 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12398 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12399 { (exit 1); exit 1; }; }
12400 fi
12401 cat >conftest.$ac_ext <<_ACEOF
12402 /* confdefs.h. */
12403 _ACEOF
12404 cat confdefs.h >>conftest.$ac_ext
12405 cat >>conftest.$ac_ext <<_ACEOF
12406 /* end confdefs.h. */
12407 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12408 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12409 #define $ac_func innocuous_$ac_func
12410
12411 /* System header to define __stub macros and hopefully few prototypes,
12412 which can conflict with char $ac_func (); below.
12413 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12414 <limits.h> exists even on freestanding compilers. */
12415
12416 #ifdef __STDC__
12417 # include <limits.h>
12418 #else
12419 # include <assert.h>
12420 #endif
12421
12422 #undef $ac_func
12423
12424 /* Override any gcc2 internal prototype to avoid an error. */
12425 #ifdef __cplusplus
12426 extern "C"
12427 {
12428 #endif
12429 /* We use char because int might match the return type of a gcc2
12430 builtin and then its argument prototype would still apply. */
12431 char $ac_func ();
12432 /* The GNU C library defines this for functions which it implements
12433 to always fail with ENOSYS. Some functions are actually named
12434 something starting with __ and the normal name is an alias. */
12435 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12436 choke me
12437 #else
12438 char (*f) () = $ac_func;
12439 #endif
12440 #ifdef __cplusplus
12441 }
12442 #endif
12443
12444 int
12445 main ()
12446 {
12447 return f != $ac_func;
12448 ;
12449 return 0;
12450 }
12451 _ACEOF
12452 rm -f conftest.$ac_objext conftest$ac_exeext
12453 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12454 (eval $ac_link) 2>conftest.er1
12455 ac_status=$?
12456 grep -v '^ *+' conftest.er1 >conftest.err
12457 rm -f conftest.er1
12458 cat conftest.err >&5
12459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12460 (exit $ac_status); } &&
12461 { ac_try='test -z "$ac_c_werror_flag"
12462 || test ! -s conftest.err'
12463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12464 (eval $ac_try) 2>&5
12465 ac_status=$?
12466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12467 (exit $ac_status); }; } &&
12468 { ac_try='test -s conftest$ac_exeext'
12469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12470 (eval $ac_try) 2>&5
12471 ac_status=$?
12472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12473 (exit $ac_status); }; }; then
12474 eval "$as_ac_var=yes"
12475 else
12476 echo "$as_me: failed program was:" >&5
12477 sed 's/^/| /' conftest.$ac_ext >&5
12478
12479 eval "$as_ac_var=no"
12480 fi
12481 rm -f conftest.err conftest.$ac_objext \
12482 conftest$ac_exeext conftest.$ac_ext
12483 fi
12484 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12485 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12486 if test `eval echo '${'$as_ac_var'}'` = yes; then
12487 cat >>confdefs.h <<_ACEOF
12488 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12489 _ACEOF
12490
12491 fi
12492 done
12493
12494 fi
12495 fi
12496
12497
12498
12499
12500
12501
12502 echo "$as_me:$LINENO: checking for isnanf declaration" >&5
12503 echo $ECHO_N "checking for isnanf declaration... $ECHO_C" >&6
12504 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
12505 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then
12506 echo $ECHO_N "(cached) $ECHO_C" >&6
12507 else
12508
12509
12510
12511 ac_ext=cc
12512 ac_cpp='$CXXCPP $CPPFLAGS'
12513 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12514 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12515 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12516
12517 cat >conftest.$ac_ext <<_ACEOF
12518 /* confdefs.h. */
12519 _ACEOF
12520 cat confdefs.h >>conftest.$ac_ext
12521 cat >>conftest.$ac_ext <<_ACEOF
12522 /* end confdefs.h. */
12523 #include <math.h>
12524 #ifdef HAVE_IEEEFP_H
12525 #include <ieeefp.h>
12526 #endif
12527
12528 int
12529 main ()
12530 {
12531 isnanf(0);
12532 ;
12533 return 0;
12534 }
12535 _ACEOF
12536 rm -f conftest.$ac_objext
12537 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12538 (eval $ac_compile) 2>conftest.er1
12539 ac_status=$?
12540 grep -v '^ *+' conftest.er1 >conftest.err
12541 rm -f conftest.er1
12542 cat conftest.err >&5
12543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12544 (exit $ac_status); } &&
12545 { ac_try='test -z "$ac_cxx_werror_flag"
12546 || test ! -s conftest.err'
12547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12548 (eval $ac_try) 2>&5
12549 ac_status=$?
12550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12551 (exit $ac_status); }; } &&
12552 { ac_try='test -s conftest.$ac_objext'
12553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12554 (eval $ac_try) 2>&5
12555 ac_status=$?
12556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12557 (exit $ac_status); }; }; then
12558 glibcxx_cv_func_isnanf_use=yes
12559 else
12560 echo "$as_me: failed program was:" >&5
12561 sed 's/^/| /' conftest.$ac_ext >&5
12562
12563 glibcxx_cv_func_isnanf_use=no
12564 fi
12565 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12566 ac_ext=c
12567 ac_cpp='$CPP $CPPFLAGS'
12568 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12569 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12570 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12571
12572
12573 fi
12574
12575 fi
12576 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanf_use" >&5
12577 echo "${ECHO_T}$glibcxx_cv_func_isnanf_use" >&6
12578
12579 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
12580
12581 for ac_func in isnanf
12582 do
12583 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12584 echo "$as_me:$LINENO: checking for $ac_func" >&5
12585 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12586 if eval "test \"\${$as_ac_var+set}\" = set"; then
12587 echo $ECHO_N "(cached) $ECHO_C" >&6
12588 else
12589 if test x$gcc_no_link = xyes; then
12590 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12591 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12592 { (exit 1); exit 1; }; }
12593 fi
12594 cat >conftest.$ac_ext <<_ACEOF
12595 /* confdefs.h. */
12596 _ACEOF
12597 cat confdefs.h >>conftest.$ac_ext
12598 cat >>conftest.$ac_ext <<_ACEOF
12599 /* end confdefs.h. */
12600 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12601 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12602 #define $ac_func innocuous_$ac_func
12603
12604 /* System header to define __stub macros and hopefully few prototypes,
12605 which can conflict with char $ac_func (); below.
12606 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12607 <limits.h> exists even on freestanding compilers. */
12608
12609 #ifdef __STDC__
12610 # include <limits.h>
12611 #else
12612 # include <assert.h>
12613 #endif
12614
12615 #undef $ac_func
12616
12617 /* Override any gcc2 internal prototype to avoid an error. */
12618 #ifdef __cplusplus
12619 extern "C"
12620 {
12621 #endif
12622 /* We use char because int might match the return type of a gcc2
12623 builtin and then its argument prototype would still apply. */
12624 char $ac_func ();
12625 /* The GNU C library defines this for functions which it implements
12626 to always fail with ENOSYS. Some functions are actually named
12627 something starting with __ and the normal name is an alias. */
12628 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12629 choke me
12630 #else
12631 char (*f) () = $ac_func;
12632 #endif
12633 #ifdef __cplusplus
12634 }
12635 #endif
12636
12637 int
12638 main ()
12639 {
12640 return f != $ac_func;
12641 ;
12642 return 0;
12643 }
12644 _ACEOF
12645 rm -f conftest.$ac_objext conftest$ac_exeext
12646 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12647 (eval $ac_link) 2>conftest.er1
12648 ac_status=$?
12649 grep -v '^ *+' conftest.er1 >conftest.err
12650 rm -f conftest.er1
12651 cat conftest.err >&5
12652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12653 (exit $ac_status); } &&
12654 { ac_try='test -z "$ac_c_werror_flag"
12655 || test ! -s conftest.err'
12656 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12657 (eval $ac_try) 2>&5
12658 ac_status=$?
12659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12660 (exit $ac_status); }; } &&
12661 { ac_try='test -s conftest$ac_exeext'
12662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12663 (eval $ac_try) 2>&5
12664 ac_status=$?
12665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12666 (exit $ac_status); }; }; then
12667 eval "$as_ac_var=yes"
12668 else
12669 echo "$as_me: failed program was:" >&5
12670 sed 's/^/| /' conftest.$ac_ext >&5
12671
12672 eval "$as_ac_var=no"
12673 fi
12674 rm -f conftest.err conftest.$ac_objext \
12675 conftest$ac_exeext conftest.$ac_ext
12676 fi
12677 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12678 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12679 if test `eval echo '${'$as_ac_var'}'` = yes; then
12680 cat >>confdefs.h <<_ACEOF
12681 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12682 _ACEOF
12683
12684 fi
12685 done
12686
12687 else
12688
12689 echo "$as_me:$LINENO: checking for _isnanf declaration" >&5
12690 echo $ECHO_N "checking for _isnanf declaration... $ECHO_C" >&6
12691 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
12692 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then
12693 echo $ECHO_N "(cached) $ECHO_C" >&6
12694 else
12695
12696
12697
12698 ac_ext=cc
12699 ac_cpp='$CXXCPP $CPPFLAGS'
12700 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12701 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12702 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12703
12704 cat >conftest.$ac_ext <<_ACEOF
12705 /* confdefs.h. */
12706 _ACEOF
12707 cat confdefs.h >>conftest.$ac_ext
12708 cat >>conftest.$ac_ext <<_ACEOF
12709 /* end confdefs.h. */
12710 #include <math.h>
12711 #ifdef HAVE_IEEEFP_H
12712 #include <ieeefp.h>
12713 #endif
12714
12715 int
12716 main ()
12717 {
12718 _isnanf(0);
12719 ;
12720 return 0;
12721 }
12722 _ACEOF
12723 rm -f conftest.$ac_objext
12724 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12725 (eval $ac_compile) 2>conftest.er1
12726 ac_status=$?
12727 grep -v '^ *+' conftest.er1 >conftest.err
12728 rm -f conftest.er1
12729 cat conftest.err >&5
12730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12731 (exit $ac_status); } &&
12732 { ac_try='test -z "$ac_cxx_werror_flag"
12733 || test ! -s conftest.err'
12734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12735 (eval $ac_try) 2>&5
12736 ac_status=$?
12737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12738 (exit $ac_status); }; } &&
12739 { ac_try='test -s conftest.$ac_objext'
12740 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12741 (eval $ac_try) 2>&5
12742 ac_status=$?
12743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12744 (exit $ac_status); }; }; then
12745 glibcxx_cv_func__isnanf_use=yes
12746 else
12747 echo "$as_me: failed program was:" >&5
12748 sed 's/^/| /' conftest.$ac_ext >&5
12749
12750 glibcxx_cv_func__isnanf_use=no
12751 fi
12752 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12753 ac_ext=c
12754 ac_cpp='$CPP $CPPFLAGS'
12755 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12756 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12757 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12758
12759
12760 fi
12761
12762 fi
12763 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanf_use" >&5
12764 echo "${ECHO_T}$glibcxx_cv_func__isnanf_use" >&6
12765
12766 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
12767
12768 for ac_func in _isnanf
12769 do
12770 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12771 echo "$as_me:$LINENO: checking for $ac_func" >&5
12772 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12773 if eval "test \"\${$as_ac_var+set}\" = set"; then
12774 echo $ECHO_N "(cached) $ECHO_C" >&6
12775 else
12776 if test x$gcc_no_link = xyes; then
12777 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12778 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12779 { (exit 1); exit 1; }; }
12780 fi
12781 cat >conftest.$ac_ext <<_ACEOF
12782 /* confdefs.h. */
12783 _ACEOF
12784 cat confdefs.h >>conftest.$ac_ext
12785 cat >>conftest.$ac_ext <<_ACEOF
12786 /* end confdefs.h. */
12787 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12788 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12789 #define $ac_func innocuous_$ac_func
12790
12791 /* System header to define __stub macros and hopefully few prototypes,
12792 which can conflict with char $ac_func (); below.
12793 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12794 <limits.h> exists even on freestanding compilers. */
12795
12796 #ifdef __STDC__
12797 # include <limits.h>
12798 #else
12799 # include <assert.h>
12800 #endif
12801
12802 #undef $ac_func
12803
12804 /* Override any gcc2 internal prototype to avoid an error. */
12805 #ifdef __cplusplus
12806 extern "C"
12807 {
12808 #endif
12809 /* We use char because int might match the return type of a gcc2
12810 builtin and then its argument prototype would still apply. */
12811 char $ac_func ();
12812 /* The GNU C library defines this for functions which it implements
12813 to always fail with ENOSYS. Some functions are actually named
12814 something starting with __ and the normal name is an alias. */
12815 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12816 choke me
12817 #else
12818 char (*f) () = $ac_func;
12819 #endif
12820 #ifdef __cplusplus
12821 }
12822 #endif
12823
12824 int
12825 main ()
12826 {
12827 return f != $ac_func;
12828 ;
12829 return 0;
12830 }
12831 _ACEOF
12832 rm -f conftest.$ac_objext conftest$ac_exeext
12833 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12834 (eval $ac_link) 2>conftest.er1
12835 ac_status=$?
12836 grep -v '^ *+' conftest.er1 >conftest.err
12837 rm -f conftest.er1
12838 cat conftest.err >&5
12839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12840 (exit $ac_status); } &&
12841 { ac_try='test -z "$ac_c_werror_flag"
12842 || test ! -s conftest.err'
12843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12844 (eval $ac_try) 2>&5
12845 ac_status=$?
12846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12847 (exit $ac_status); }; } &&
12848 { ac_try='test -s conftest$ac_exeext'
12849 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12850 (eval $ac_try) 2>&5
12851 ac_status=$?
12852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12853 (exit $ac_status); }; }; then
12854 eval "$as_ac_var=yes"
12855 else
12856 echo "$as_me: failed program was:" >&5
12857 sed 's/^/| /' conftest.$ac_ext >&5
12858
12859 eval "$as_ac_var=no"
12860 fi
12861 rm -f conftest.err conftest.$ac_objext \
12862 conftest$ac_exeext conftest.$ac_ext
12863 fi
12864 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12865 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12866 if test `eval echo '${'$as_ac_var'}'` = yes; then
12867 cat >>confdefs.h <<_ACEOF
12868 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12869 _ACEOF
12870
12871 fi
12872 done
12873
12874 fi
12875 fi
12876
12877
12878
12879
12880
12881
12882 echo "$as_me:$LINENO: checking for isinff declaration" >&5
12883 echo $ECHO_N "checking for isinff declaration... $ECHO_C" >&6
12884 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
12885 if test "${glibcxx_cv_func_isinff_use+set}" = set; then
12886 echo $ECHO_N "(cached) $ECHO_C" >&6
12887 else
12888
12889
12890
12891 ac_ext=cc
12892 ac_cpp='$CXXCPP $CPPFLAGS'
12893 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12894 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12895 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12896
12897 cat >conftest.$ac_ext <<_ACEOF
12898 /* confdefs.h. */
12899 _ACEOF
12900 cat confdefs.h >>conftest.$ac_ext
12901 cat >>conftest.$ac_ext <<_ACEOF
12902 /* end confdefs.h. */
12903 #include <math.h>
12904 #ifdef HAVE_IEEEFP_H
12905 #include <ieeefp.h>
12906 #endif
12907
12908 int
12909 main ()
12910 {
12911 isinff(0);
12912 ;
12913 return 0;
12914 }
12915 _ACEOF
12916 rm -f conftest.$ac_objext
12917 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12918 (eval $ac_compile) 2>conftest.er1
12919 ac_status=$?
12920 grep -v '^ *+' conftest.er1 >conftest.err
12921 rm -f conftest.er1
12922 cat conftest.err >&5
12923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12924 (exit $ac_status); } &&
12925 { ac_try='test -z "$ac_cxx_werror_flag"
12926 || test ! -s conftest.err'
12927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12928 (eval $ac_try) 2>&5
12929 ac_status=$?
12930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12931 (exit $ac_status); }; } &&
12932 { ac_try='test -s conftest.$ac_objext'
12933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12934 (eval $ac_try) 2>&5
12935 ac_status=$?
12936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12937 (exit $ac_status); }; }; then
12938 glibcxx_cv_func_isinff_use=yes
12939 else
12940 echo "$as_me: failed program was:" >&5
12941 sed 's/^/| /' conftest.$ac_ext >&5
12942
12943 glibcxx_cv_func_isinff_use=no
12944 fi
12945 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12946 ac_ext=c
12947 ac_cpp='$CPP $CPPFLAGS'
12948 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12949 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12950 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12951
12952
12953 fi
12954
12955 fi
12956 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinff_use" >&5
12957 echo "${ECHO_T}$glibcxx_cv_func_isinff_use" >&6
12958
12959 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
12960
12961 for ac_func in isinff
12962 do
12963 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12964 echo "$as_me:$LINENO: checking for $ac_func" >&5
12965 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12966 if eval "test \"\${$as_ac_var+set}\" = set"; then
12967 echo $ECHO_N "(cached) $ECHO_C" >&6
12968 else
12969 if test x$gcc_no_link = xyes; then
12970 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12971 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12972 { (exit 1); exit 1; }; }
12973 fi
12974 cat >conftest.$ac_ext <<_ACEOF
12975 /* confdefs.h. */
12976 _ACEOF
12977 cat confdefs.h >>conftest.$ac_ext
12978 cat >>conftest.$ac_ext <<_ACEOF
12979 /* end confdefs.h. */
12980 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12981 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12982 #define $ac_func innocuous_$ac_func
12983
12984 /* System header to define __stub macros and hopefully few prototypes,
12985 which can conflict with char $ac_func (); below.
12986 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12987 <limits.h> exists even on freestanding compilers. */
12988
12989 #ifdef __STDC__
12990 # include <limits.h>
12991 #else
12992 # include <assert.h>
12993 #endif
12994
12995 #undef $ac_func
12996
12997 /* Override any gcc2 internal prototype to avoid an error. */
12998 #ifdef __cplusplus
12999 extern "C"
13000 {
13001 #endif
13002 /* We use char because int might match the return type of a gcc2
13003 builtin and then its argument prototype would still apply. */
13004 char $ac_func ();
13005 /* The GNU C library defines this for functions which it implements
13006 to always fail with ENOSYS. Some functions are actually named
13007 something starting with __ and the normal name is an alias. */
13008 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13009 choke me
13010 #else
13011 char (*f) () = $ac_func;
13012 #endif
13013 #ifdef __cplusplus
13014 }
13015 #endif
13016
13017 int
13018 main ()
13019 {
13020 return f != $ac_func;
13021 ;
13022 return 0;
13023 }
13024 _ACEOF
13025 rm -f conftest.$ac_objext conftest$ac_exeext
13026 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13027 (eval $ac_link) 2>conftest.er1
13028 ac_status=$?
13029 grep -v '^ *+' conftest.er1 >conftest.err
13030 rm -f conftest.er1
13031 cat conftest.err >&5
13032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13033 (exit $ac_status); } &&
13034 { ac_try='test -z "$ac_c_werror_flag"
13035 || test ! -s conftest.err'
13036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13037 (eval $ac_try) 2>&5
13038 ac_status=$?
13039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13040 (exit $ac_status); }; } &&
13041 { ac_try='test -s conftest$ac_exeext'
13042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13043 (eval $ac_try) 2>&5
13044 ac_status=$?
13045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13046 (exit $ac_status); }; }; then
13047 eval "$as_ac_var=yes"
13048 else
13049 echo "$as_me: failed program was:" >&5
13050 sed 's/^/| /' conftest.$ac_ext >&5
13051
13052 eval "$as_ac_var=no"
13053 fi
13054 rm -f conftest.err conftest.$ac_objext \
13055 conftest$ac_exeext conftest.$ac_ext
13056 fi
13057 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13058 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13059 if test `eval echo '${'$as_ac_var'}'` = yes; then
13060 cat >>confdefs.h <<_ACEOF
13061 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13062 _ACEOF
13063
13064 fi
13065 done
13066
13067 else
13068
13069 echo "$as_me:$LINENO: checking for _isinff declaration" >&5
13070 echo $ECHO_N "checking for _isinff declaration... $ECHO_C" >&6
13071 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
13072 if test "${glibcxx_cv_func__isinff_use+set}" = set; then
13073 echo $ECHO_N "(cached) $ECHO_C" >&6
13074 else
13075
13076
13077
13078 ac_ext=cc
13079 ac_cpp='$CXXCPP $CPPFLAGS'
13080 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13081 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13082 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13083
13084 cat >conftest.$ac_ext <<_ACEOF
13085 /* confdefs.h. */
13086 _ACEOF
13087 cat confdefs.h >>conftest.$ac_ext
13088 cat >>conftest.$ac_ext <<_ACEOF
13089 /* end confdefs.h. */
13090 #include <math.h>
13091 #ifdef HAVE_IEEEFP_H
13092 #include <ieeefp.h>
13093 #endif
13094
13095 int
13096 main ()
13097 {
13098 _isinff(0);
13099 ;
13100 return 0;
13101 }
13102 _ACEOF
13103 rm -f conftest.$ac_objext
13104 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13105 (eval $ac_compile) 2>conftest.er1
13106 ac_status=$?
13107 grep -v '^ *+' conftest.er1 >conftest.err
13108 rm -f conftest.er1
13109 cat conftest.err >&5
13110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13111 (exit $ac_status); } &&
13112 { ac_try='test -z "$ac_cxx_werror_flag"
13113 || test ! -s conftest.err'
13114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13115 (eval $ac_try) 2>&5
13116 ac_status=$?
13117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13118 (exit $ac_status); }; } &&
13119 { ac_try='test -s conftest.$ac_objext'
13120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13121 (eval $ac_try) 2>&5
13122 ac_status=$?
13123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13124 (exit $ac_status); }; }; then
13125 glibcxx_cv_func__isinff_use=yes
13126 else
13127 echo "$as_me: failed program was:" >&5
13128 sed 's/^/| /' conftest.$ac_ext >&5
13129
13130 glibcxx_cv_func__isinff_use=no
13131 fi
13132 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13133 ac_ext=c
13134 ac_cpp='$CPP $CPPFLAGS'
13135 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13136 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13137 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13138
13139
13140 fi
13141
13142 fi
13143 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinff_use" >&5
13144 echo "${ECHO_T}$glibcxx_cv_func__isinff_use" >&6
13145
13146 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
13147
13148 for ac_func in _isinff
13149 do
13150 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13151 echo "$as_me:$LINENO: checking for $ac_func" >&5
13152 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13153 if eval "test \"\${$as_ac_var+set}\" = set"; then
13154 echo $ECHO_N "(cached) $ECHO_C" >&6
13155 else
13156 if test x$gcc_no_link = xyes; then
13157 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13158 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13159 { (exit 1); exit 1; }; }
13160 fi
13161 cat >conftest.$ac_ext <<_ACEOF
13162 /* confdefs.h. */
13163 _ACEOF
13164 cat confdefs.h >>conftest.$ac_ext
13165 cat >>conftest.$ac_ext <<_ACEOF
13166 /* end confdefs.h. */
13167 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13168 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13169 #define $ac_func innocuous_$ac_func
13170
13171 /* System header to define __stub macros and hopefully few prototypes,
13172 which can conflict with char $ac_func (); below.
13173 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13174 <limits.h> exists even on freestanding compilers. */
13175
13176 #ifdef __STDC__
13177 # include <limits.h>
13178 #else
13179 # include <assert.h>
13180 #endif
13181
13182 #undef $ac_func
13183
13184 /* Override any gcc2 internal prototype to avoid an error. */
13185 #ifdef __cplusplus
13186 extern "C"
13187 {
13188 #endif
13189 /* We use char because int might match the return type of a gcc2
13190 builtin and then its argument prototype would still apply. */
13191 char $ac_func ();
13192 /* The GNU C library defines this for functions which it implements
13193 to always fail with ENOSYS. Some functions are actually named
13194 something starting with __ and the normal name is an alias. */
13195 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13196 choke me
13197 #else
13198 char (*f) () = $ac_func;
13199 #endif
13200 #ifdef __cplusplus
13201 }
13202 #endif
13203
13204 int
13205 main ()
13206 {
13207 return f != $ac_func;
13208 ;
13209 return 0;
13210 }
13211 _ACEOF
13212 rm -f conftest.$ac_objext conftest$ac_exeext
13213 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13214 (eval $ac_link) 2>conftest.er1
13215 ac_status=$?
13216 grep -v '^ *+' conftest.er1 >conftest.err
13217 rm -f conftest.er1
13218 cat conftest.err >&5
13219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13220 (exit $ac_status); } &&
13221 { ac_try='test -z "$ac_c_werror_flag"
13222 || test ! -s conftest.err'
13223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13224 (eval $ac_try) 2>&5
13225 ac_status=$?
13226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13227 (exit $ac_status); }; } &&
13228 { ac_try='test -s conftest$ac_exeext'
13229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13230 (eval $ac_try) 2>&5
13231 ac_status=$?
13232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13233 (exit $ac_status); }; }; then
13234 eval "$as_ac_var=yes"
13235 else
13236 echo "$as_me: failed program was:" >&5
13237 sed 's/^/| /' conftest.$ac_ext >&5
13238
13239 eval "$as_ac_var=no"
13240 fi
13241 rm -f conftest.err conftest.$ac_objext \
13242 conftest$ac_exeext conftest.$ac_ext
13243 fi
13244 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13245 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13246 if test `eval echo '${'$as_ac_var'}'` = yes; then
13247 cat >>confdefs.h <<_ACEOF
13248 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13249 _ACEOF
13250
13251 fi
13252 done
13253
13254 fi
13255 fi
13256
13257
13258
13259
13260
13261
13262 echo "$as_me:$LINENO: checking for atan2f declaration" >&5
13263 echo $ECHO_N "checking for atan2f declaration... $ECHO_C" >&6
13264 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
13265 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then
13266 echo $ECHO_N "(cached) $ECHO_C" >&6
13267 else
13268
13269
13270
13271 ac_ext=cc
13272 ac_cpp='$CXXCPP $CPPFLAGS'
13273 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13274 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13275 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13276
13277 cat >conftest.$ac_ext <<_ACEOF
13278 /* confdefs.h. */
13279 _ACEOF
13280 cat confdefs.h >>conftest.$ac_ext
13281 cat >>conftest.$ac_ext <<_ACEOF
13282 /* end confdefs.h. */
13283 #include <math.h>
13284 int
13285 main ()
13286 {
13287 atan2f(0, 0);
13288 ;
13289 return 0;
13290 }
13291 _ACEOF
13292 rm -f conftest.$ac_objext
13293 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13294 (eval $ac_compile) 2>conftest.er1
13295 ac_status=$?
13296 grep -v '^ *+' conftest.er1 >conftest.err
13297 rm -f conftest.er1
13298 cat conftest.err >&5
13299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13300 (exit $ac_status); } &&
13301 { ac_try='test -z "$ac_cxx_werror_flag"
13302 || test ! -s conftest.err'
13303 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13304 (eval $ac_try) 2>&5
13305 ac_status=$?
13306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13307 (exit $ac_status); }; } &&
13308 { ac_try='test -s conftest.$ac_objext'
13309 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13310 (eval $ac_try) 2>&5
13311 ac_status=$?
13312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13313 (exit $ac_status); }; }; then
13314 glibcxx_cv_func_atan2f_use=yes
13315 else
13316 echo "$as_me: failed program was:" >&5
13317 sed 's/^/| /' conftest.$ac_ext >&5
13318
13319 glibcxx_cv_func_atan2f_use=no
13320 fi
13321 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13322 ac_ext=c
13323 ac_cpp='$CPP $CPPFLAGS'
13324 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13325 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13326 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13327
13328
13329 fi
13330
13331 fi
13332 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2f_use" >&5
13333 echo "${ECHO_T}$glibcxx_cv_func_atan2f_use" >&6
13334
13335 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
13336
13337 for ac_func in atan2f
13338 do
13339 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13340 echo "$as_me:$LINENO: checking for $ac_func" >&5
13341 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13342 if eval "test \"\${$as_ac_var+set}\" = set"; then
13343 echo $ECHO_N "(cached) $ECHO_C" >&6
13344 else
13345 if test x$gcc_no_link = xyes; then
13346 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13347 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13348 { (exit 1); exit 1; }; }
13349 fi
13350 cat >conftest.$ac_ext <<_ACEOF
13351 /* confdefs.h. */
13352 _ACEOF
13353 cat confdefs.h >>conftest.$ac_ext
13354 cat >>conftest.$ac_ext <<_ACEOF
13355 /* end confdefs.h. */
13356 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13357 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13358 #define $ac_func innocuous_$ac_func
13359
13360 /* System header to define __stub macros and hopefully few prototypes,
13361 which can conflict with char $ac_func (); below.
13362 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13363 <limits.h> exists even on freestanding compilers. */
13364
13365 #ifdef __STDC__
13366 # include <limits.h>
13367 #else
13368 # include <assert.h>
13369 #endif
13370
13371 #undef $ac_func
13372
13373 /* Override any gcc2 internal prototype to avoid an error. */
13374 #ifdef __cplusplus
13375 extern "C"
13376 {
13377 #endif
13378 /* We use char because int might match the return type of a gcc2
13379 builtin and then its argument prototype would still apply. */
13380 char $ac_func ();
13381 /* The GNU C library defines this for functions which it implements
13382 to always fail with ENOSYS. Some functions are actually named
13383 something starting with __ and the normal name is an alias. */
13384 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13385 choke me
13386 #else
13387 char (*f) () = $ac_func;
13388 #endif
13389 #ifdef __cplusplus
13390 }
13391 #endif
13392
13393 int
13394 main ()
13395 {
13396 return f != $ac_func;
13397 ;
13398 return 0;
13399 }
13400 _ACEOF
13401 rm -f conftest.$ac_objext conftest$ac_exeext
13402 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13403 (eval $ac_link) 2>conftest.er1
13404 ac_status=$?
13405 grep -v '^ *+' conftest.er1 >conftest.err
13406 rm -f conftest.er1
13407 cat conftest.err >&5
13408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13409 (exit $ac_status); } &&
13410 { ac_try='test -z "$ac_c_werror_flag"
13411 || test ! -s conftest.err'
13412 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13413 (eval $ac_try) 2>&5
13414 ac_status=$?
13415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13416 (exit $ac_status); }; } &&
13417 { ac_try='test -s conftest$ac_exeext'
13418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13419 (eval $ac_try) 2>&5
13420 ac_status=$?
13421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13422 (exit $ac_status); }; }; then
13423 eval "$as_ac_var=yes"
13424 else
13425 echo "$as_me: failed program was:" >&5
13426 sed 's/^/| /' conftest.$ac_ext >&5
13427
13428 eval "$as_ac_var=no"
13429 fi
13430 rm -f conftest.err conftest.$ac_objext \
13431 conftest$ac_exeext conftest.$ac_ext
13432 fi
13433 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13434 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13435 if test `eval echo '${'$as_ac_var'}'` = yes; then
13436 cat >>confdefs.h <<_ACEOF
13437 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13438 _ACEOF
13439
13440 fi
13441 done
13442
13443 else
13444
13445 echo "$as_me:$LINENO: checking for _atan2f declaration" >&5
13446 echo $ECHO_N "checking for _atan2f declaration... $ECHO_C" >&6
13447 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
13448 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then
13449 echo $ECHO_N "(cached) $ECHO_C" >&6
13450 else
13451
13452
13453
13454 ac_ext=cc
13455 ac_cpp='$CXXCPP $CPPFLAGS'
13456 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13457 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13458 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13459
13460 cat >conftest.$ac_ext <<_ACEOF
13461 /* confdefs.h. */
13462 _ACEOF
13463 cat confdefs.h >>conftest.$ac_ext
13464 cat >>conftest.$ac_ext <<_ACEOF
13465 /* end confdefs.h. */
13466 #include <math.h>
13467 int
13468 main ()
13469 {
13470 _atan2f(0, 0);
13471 ;
13472 return 0;
13473 }
13474 _ACEOF
13475 rm -f conftest.$ac_objext
13476 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13477 (eval $ac_compile) 2>conftest.er1
13478 ac_status=$?
13479 grep -v '^ *+' conftest.er1 >conftest.err
13480 rm -f conftest.er1
13481 cat conftest.err >&5
13482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13483 (exit $ac_status); } &&
13484 { ac_try='test -z "$ac_cxx_werror_flag"
13485 || test ! -s conftest.err'
13486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13487 (eval $ac_try) 2>&5
13488 ac_status=$?
13489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13490 (exit $ac_status); }; } &&
13491 { ac_try='test -s conftest.$ac_objext'
13492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13493 (eval $ac_try) 2>&5
13494 ac_status=$?
13495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13496 (exit $ac_status); }; }; then
13497 glibcxx_cv_func__atan2f_use=yes
13498 else
13499 echo "$as_me: failed program was:" >&5
13500 sed 's/^/| /' conftest.$ac_ext >&5
13501
13502 glibcxx_cv_func__atan2f_use=no
13503 fi
13504 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13505 ac_ext=c
13506 ac_cpp='$CPP $CPPFLAGS'
13507 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13508 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13509 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13510
13511
13512 fi
13513
13514 fi
13515 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2f_use" >&5
13516 echo "${ECHO_T}$glibcxx_cv_func__atan2f_use" >&6
13517
13518 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
13519
13520 for ac_func in _atan2f
13521 do
13522 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13523 echo "$as_me:$LINENO: checking for $ac_func" >&5
13524 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13525 if eval "test \"\${$as_ac_var+set}\" = set"; then
13526 echo $ECHO_N "(cached) $ECHO_C" >&6
13527 else
13528 if test x$gcc_no_link = xyes; then
13529 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13530 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13531 { (exit 1); exit 1; }; }
13532 fi
13533 cat >conftest.$ac_ext <<_ACEOF
13534 /* confdefs.h. */
13535 _ACEOF
13536 cat confdefs.h >>conftest.$ac_ext
13537 cat >>conftest.$ac_ext <<_ACEOF
13538 /* end confdefs.h. */
13539 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13540 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13541 #define $ac_func innocuous_$ac_func
13542
13543 /* System header to define __stub macros and hopefully few prototypes,
13544 which can conflict with char $ac_func (); below.
13545 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13546 <limits.h> exists even on freestanding compilers. */
13547
13548 #ifdef __STDC__
13549 # include <limits.h>
13550 #else
13551 # include <assert.h>
13552 #endif
13553
13554 #undef $ac_func
13555
13556 /* Override any gcc2 internal prototype to avoid an error. */
13557 #ifdef __cplusplus
13558 extern "C"
13559 {
13560 #endif
13561 /* We use char because int might match the return type of a gcc2
13562 builtin and then its argument prototype would still apply. */
13563 char $ac_func ();
13564 /* The GNU C library defines this for functions which it implements
13565 to always fail with ENOSYS. Some functions are actually named
13566 something starting with __ and the normal name is an alias. */
13567 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13568 choke me
13569 #else
13570 char (*f) () = $ac_func;
13571 #endif
13572 #ifdef __cplusplus
13573 }
13574 #endif
13575
13576 int
13577 main ()
13578 {
13579 return f != $ac_func;
13580 ;
13581 return 0;
13582 }
13583 _ACEOF
13584 rm -f conftest.$ac_objext conftest$ac_exeext
13585 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13586 (eval $ac_link) 2>conftest.er1
13587 ac_status=$?
13588 grep -v '^ *+' conftest.er1 >conftest.err
13589 rm -f conftest.er1
13590 cat conftest.err >&5
13591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13592 (exit $ac_status); } &&
13593 { ac_try='test -z "$ac_c_werror_flag"
13594 || test ! -s conftest.err'
13595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13596 (eval $ac_try) 2>&5
13597 ac_status=$?
13598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13599 (exit $ac_status); }; } &&
13600 { ac_try='test -s conftest$ac_exeext'
13601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13602 (eval $ac_try) 2>&5
13603 ac_status=$?
13604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13605 (exit $ac_status); }; }; then
13606 eval "$as_ac_var=yes"
13607 else
13608 echo "$as_me: failed program was:" >&5
13609 sed 's/^/| /' conftest.$ac_ext >&5
13610
13611 eval "$as_ac_var=no"
13612 fi
13613 rm -f conftest.err conftest.$ac_objext \
13614 conftest$ac_exeext conftest.$ac_ext
13615 fi
13616 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13617 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13618 if test `eval echo '${'$as_ac_var'}'` = yes; then
13619 cat >>confdefs.h <<_ACEOF
13620 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13621 _ACEOF
13622
13623 fi
13624 done
13625
13626 fi
13627 fi
13628
13629
13630
13631
13632
13633
13634 echo "$as_me:$LINENO: checking for fabsf declaration" >&5
13635 echo $ECHO_N "checking for fabsf declaration... $ECHO_C" >&6
13636 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
13637 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then
13638 echo $ECHO_N "(cached) $ECHO_C" >&6
13639 else
13640
13641
13642
13643 ac_ext=cc
13644 ac_cpp='$CXXCPP $CPPFLAGS'
13645 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13646 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13647 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13648
13649 cat >conftest.$ac_ext <<_ACEOF
13650 /* confdefs.h. */
13651 _ACEOF
13652 cat confdefs.h >>conftest.$ac_ext
13653 cat >>conftest.$ac_ext <<_ACEOF
13654 /* end confdefs.h. */
13655 #include <math.h>
13656 #ifdef HAVE_IEEEFP_H
13657 #include <ieeefp.h>
13658 #endif
13659
13660 int
13661 main ()
13662 {
13663 fabsf(0);
13664 ;
13665 return 0;
13666 }
13667 _ACEOF
13668 rm -f conftest.$ac_objext
13669 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13670 (eval $ac_compile) 2>conftest.er1
13671 ac_status=$?
13672 grep -v '^ *+' conftest.er1 >conftest.err
13673 rm -f conftest.er1
13674 cat conftest.err >&5
13675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13676 (exit $ac_status); } &&
13677 { ac_try='test -z "$ac_cxx_werror_flag"
13678 || test ! -s conftest.err'
13679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13680 (eval $ac_try) 2>&5
13681 ac_status=$?
13682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13683 (exit $ac_status); }; } &&
13684 { ac_try='test -s conftest.$ac_objext'
13685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13686 (eval $ac_try) 2>&5
13687 ac_status=$?
13688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13689 (exit $ac_status); }; }; then
13690 glibcxx_cv_func_fabsf_use=yes
13691 else
13692 echo "$as_me: failed program was:" >&5
13693 sed 's/^/| /' conftest.$ac_ext >&5
13694
13695 glibcxx_cv_func_fabsf_use=no
13696 fi
13697 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13698 ac_ext=c
13699 ac_cpp='$CPP $CPPFLAGS'
13700 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13701 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13702 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13703
13704
13705 fi
13706
13707 fi
13708 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsf_use" >&5
13709 echo "${ECHO_T}$glibcxx_cv_func_fabsf_use" >&6
13710
13711 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
13712
13713 for ac_func in fabsf
13714 do
13715 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13716 echo "$as_me:$LINENO: checking for $ac_func" >&5
13717 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13718 if eval "test \"\${$as_ac_var+set}\" = set"; then
13719 echo $ECHO_N "(cached) $ECHO_C" >&6
13720 else
13721 if test x$gcc_no_link = xyes; then
13722 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13723 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13724 { (exit 1); exit 1; }; }
13725 fi
13726 cat >conftest.$ac_ext <<_ACEOF
13727 /* confdefs.h. */
13728 _ACEOF
13729 cat confdefs.h >>conftest.$ac_ext
13730 cat >>conftest.$ac_ext <<_ACEOF
13731 /* end confdefs.h. */
13732 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13733 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13734 #define $ac_func innocuous_$ac_func
13735
13736 /* System header to define __stub macros and hopefully few prototypes,
13737 which can conflict with char $ac_func (); below.
13738 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13739 <limits.h> exists even on freestanding compilers. */
13740
13741 #ifdef __STDC__
13742 # include <limits.h>
13743 #else
13744 # include <assert.h>
13745 #endif
13746
13747 #undef $ac_func
13748
13749 /* Override any gcc2 internal prototype to avoid an error. */
13750 #ifdef __cplusplus
13751 extern "C"
13752 {
13753 #endif
13754 /* We use char because int might match the return type of a gcc2
13755 builtin and then its argument prototype would still apply. */
13756 char $ac_func ();
13757 /* The GNU C library defines this for functions which it implements
13758 to always fail with ENOSYS. Some functions are actually named
13759 something starting with __ and the normal name is an alias. */
13760 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13761 choke me
13762 #else
13763 char (*f) () = $ac_func;
13764 #endif
13765 #ifdef __cplusplus
13766 }
13767 #endif
13768
13769 int
13770 main ()
13771 {
13772 return f != $ac_func;
13773 ;
13774 return 0;
13775 }
13776 _ACEOF
13777 rm -f conftest.$ac_objext conftest$ac_exeext
13778 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13779 (eval $ac_link) 2>conftest.er1
13780 ac_status=$?
13781 grep -v '^ *+' conftest.er1 >conftest.err
13782 rm -f conftest.er1
13783 cat conftest.err >&5
13784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13785 (exit $ac_status); } &&
13786 { ac_try='test -z "$ac_c_werror_flag"
13787 || test ! -s conftest.err'
13788 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13789 (eval $ac_try) 2>&5
13790 ac_status=$?
13791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13792 (exit $ac_status); }; } &&
13793 { ac_try='test -s conftest$ac_exeext'
13794 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13795 (eval $ac_try) 2>&5
13796 ac_status=$?
13797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13798 (exit $ac_status); }; }; then
13799 eval "$as_ac_var=yes"
13800 else
13801 echo "$as_me: failed program was:" >&5
13802 sed 's/^/| /' conftest.$ac_ext >&5
13803
13804 eval "$as_ac_var=no"
13805 fi
13806 rm -f conftest.err conftest.$ac_objext \
13807 conftest$ac_exeext conftest.$ac_ext
13808 fi
13809 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13810 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13811 if test `eval echo '${'$as_ac_var'}'` = yes; then
13812 cat >>confdefs.h <<_ACEOF
13813 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13814 _ACEOF
13815
13816 fi
13817 done
13818
13819 else
13820
13821 echo "$as_me:$LINENO: checking for _fabsf declaration" >&5
13822 echo $ECHO_N "checking for _fabsf declaration... $ECHO_C" >&6
13823 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
13824 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then
13825 echo $ECHO_N "(cached) $ECHO_C" >&6
13826 else
13827
13828
13829
13830 ac_ext=cc
13831 ac_cpp='$CXXCPP $CPPFLAGS'
13832 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13833 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13834 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13835
13836 cat >conftest.$ac_ext <<_ACEOF
13837 /* confdefs.h. */
13838 _ACEOF
13839 cat confdefs.h >>conftest.$ac_ext
13840 cat >>conftest.$ac_ext <<_ACEOF
13841 /* end confdefs.h. */
13842 #include <math.h>
13843 #ifdef HAVE_IEEEFP_H
13844 #include <ieeefp.h>
13845 #endif
13846
13847 int
13848 main ()
13849 {
13850 _fabsf(0);
13851 ;
13852 return 0;
13853 }
13854 _ACEOF
13855 rm -f conftest.$ac_objext
13856 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13857 (eval $ac_compile) 2>conftest.er1
13858 ac_status=$?
13859 grep -v '^ *+' conftest.er1 >conftest.err
13860 rm -f conftest.er1
13861 cat conftest.err >&5
13862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13863 (exit $ac_status); } &&
13864 { ac_try='test -z "$ac_cxx_werror_flag"
13865 || test ! -s conftest.err'
13866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13867 (eval $ac_try) 2>&5
13868 ac_status=$?
13869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13870 (exit $ac_status); }; } &&
13871 { ac_try='test -s conftest.$ac_objext'
13872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13873 (eval $ac_try) 2>&5
13874 ac_status=$?
13875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13876 (exit $ac_status); }; }; then
13877 glibcxx_cv_func__fabsf_use=yes
13878 else
13879 echo "$as_me: failed program was:" >&5
13880 sed 's/^/| /' conftest.$ac_ext >&5
13881
13882 glibcxx_cv_func__fabsf_use=no
13883 fi
13884 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13885 ac_ext=c
13886 ac_cpp='$CPP $CPPFLAGS'
13887 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13888 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13889 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13890
13891
13892 fi
13893
13894 fi
13895 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsf_use" >&5
13896 echo "${ECHO_T}$glibcxx_cv_func__fabsf_use" >&6
13897
13898 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
13899
13900 for ac_func in _fabsf
13901 do
13902 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13903 echo "$as_me:$LINENO: checking for $ac_func" >&5
13904 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13905 if eval "test \"\${$as_ac_var+set}\" = set"; then
13906 echo $ECHO_N "(cached) $ECHO_C" >&6
13907 else
13908 if test x$gcc_no_link = xyes; then
13909 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13910 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13911 { (exit 1); exit 1; }; }
13912 fi
13913 cat >conftest.$ac_ext <<_ACEOF
13914 /* confdefs.h. */
13915 _ACEOF
13916 cat confdefs.h >>conftest.$ac_ext
13917 cat >>conftest.$ac_ext <<_ACEOF
13918 /* end confdefs.h. */
13919 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13920 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13921 #define $ac_func innocuous_$ac_func
13922
13923 /* System header to define __stub macros and hopefully few prototypes,
13924 which can conflict with char $ac_func (); below.
13925 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13926 <limits.h> exists even on freestanding compilers. */
13927
13928 #ifdef __STDC__
13929 # include <limits.h>
13930 #else
13931 # include <assert.h>
13932 #endif
13933
13934 #undef $ac_func
13935
13936 /* Override any gcc2 internal prototype to avoid an error. */
13937 #ifdef __cplusplus
13938 extern "C"
13939 {
13940 #endif
13941 /* We use char because int might match the return type of a gcc2
13942 builtin and then its argument prototype would still apply. */
13943 char $ac_func ();
13944 /* The GNU C library defines this for functions which it implements
13945 to always fail with ENOSYS. Some functions are actually named
13946 something starting with __ and the normal name is an alias. */
13947 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13948 choke me
13949 #else
13950 char (*f) () = $ac_func;
13951 #endif
13952 #ifdef __cplusplus
13953 }
13954 #endif
13955
13956 int
13957 main ()
13958 {
13959 return f != $ac_func;
13960 ;
13961 return 0;
13962 }
13963 _ACEOF
13964 rm -f conftest.$ac_objext conftest$ac_exeext
13965 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13966 (eval $ac_link) 2>conftest.er1
13967 ac_status=$?
13968 grep -v '^ *+' conftest.er1 >conftest.err
13969 rm -f conftest.er1
13970 cat conftest.err >&5
13971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13972 (exit $ac_status); } &&
13973 { ac_try='test -z "$ac_c_werror_flag"
13974 || test ! -s conftest.err'
13975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13976 (eval $ac_try) 2>&5
13977 ac_status=$?
13978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13979 (exit $ac_status); }; } &&
13980 { ac_try='test -s conftest$ac_exeext'
13981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13982 (eval $ac_try) 2>&5
13983 ac_status=$?
13984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13985 (exit $ac_status); }; }; then
13986 eval "$as_ac_var=yes"
13987 else
13988 echo "$as_me: failed program was:" >&5
13989 sed 's/^/| /' conftest.$ac_ext >&5
13990
13991 eval "$as_ac_var=no"
13992 fi
13993 rm -f conftest.err conftest.$ac_objext \
13994 conftest$ac_exeext conftest.$ac_ext
13995 fi
13996 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13997 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13998 if test `eval echo '${'$as_ac_var'}'` = yes; then
13999 cat >>confdefs.h <<_ACEOF
14000 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14001 _ACEOF
14002
14003 fi
14004 done
14005
14006 fi
14007 fi
14008
14009
14010
14011
14012
14013
14014 echo "$as_me:$LINENO: checking for fmodf declaration" >&5
14015 echo $ECHO_N "checking for fmodf declaration... $ECHO_C" >&6
14016 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
14017 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then
14018 echo $ECHO_N "(cached) $ECHO_C" >&6
14019 else
14020
14021
14022
14023 ac_ext=cc
14024 ac_cpp='$CXXCPP $CPPFLAGS'
14025 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14026 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14027 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14028
14029 cat >conftest.$ac_ext <<_ACEOF
14030 /* confdefs.h. */
14031 _ACEOF
14032 cat confdefs.h >>conftest.$ac_ext
14033 cat >>conftest.$ac_ext <<_ACEOF
14034 /* end confdefs.h. */
14035 #include <math.h>
14036 int
14037 main ()
14038 {
14039 fmodf(0, 0);
14040 ;
14041 return 0;
14042 }
14043 _ACEOF
14044 rm -f conftest.$ac_objext
14045 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14046 (eval $ac_compile) 2>conftest.er1
14047 ac_status=$?
14048 grep -v '^ *+' conftest.er1 >conftest.err
14049 rm -f conftest.er1
14050 cat conftest.err >&5
14051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14052 (exit $ac_status); } &&
14053 { ac_try='test -z "$ac_cxx_werror_flag"
14054 || test ! -s conftest.err'
14055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14056 (eval $ac_try) 2>&5
14057 ac_status=$?
14058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14059 (exit $ac_status); }; } &&
14060 { ac_try='test -s conftest.$ac_objext'
14061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14062 (eval $ac_try) 2>&5
14063 ac_status=$?
14064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14065 (exit $ac_status); }; }; then
14066 glibcxx_cv_func_fmodf_use=yes
14067 else
14068 echo "$as_me: failed program was:" >&5
14069 sed 's/^/| /' conftest.$ac_ext >&5
14070
14071 glibcxx_cv_func_fmodf_use=no
14072 fi
14073 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14074 ac_ext=c
14075 ac_cpp='$CPP $CPPFLAGS'
14076 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14077 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14078 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14079
14080
14081 fi
14082
14083 fi
14084 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodf_use" >&5
14085 echo "${ECHO_T}$glibcxx_cv_func_fmodf_use" >&6
14086
14087 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
14088
14089 for ac_func in fmodf
14090 do
14091 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14092 echo "$as_me:$LINENO: checking for $ac_func" >&5
14093 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14094 if eval "test \"\${$as_ac_var+set}\" = set"; then
14095 echo $ECHO_N "(cached) $ECHO_C" >&6
14096 else
14097 if test x$gcc_no_link = xyes; then
14098 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14099 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14100 { (exit 1); exit 1; }; }
14101 fi
14102 cat >conftest.$ac_ext <<_ACEOF
14103 /* confdefs.h. */
14104 _ACEOF
14105 cat confdefs.h >>conftest.$ac_ext
14106 cat >>conftest.$ac_ext <<_ACEOF
14107 /* end confdefs.h. */
14108 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14109 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14110 #define $ac_func innocuous_$ac_func
14111
14112 /* System header to define __stub macros and hopefully few prototypes,
14113 which can conflict with char $ac_func (); below.
14114 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14115 <limits.h> exists even on freestanding compilers. */
14116
14117 #ifdef __STDC__
14118 # include <limits.h>
14119 #else
14120 # include <assert.h>
14121 #endif
14122
14123 #undef $ac_func
14124
14125 /* Override any gcc2 internal prototype to avoid an error. */
14126 #ifdef __cplusplus
14127 extern "C"
14128 {
14129 #endif
14130 /* We use char because int might match the return type of a gcc2
14131 builtin and then its argument prototype would still apply. */
14132 char $ac_func ();
14133 /* The GNU C library defines this for functions which it implements
14134 to always fail with ENOSYS. Some functions are actually named
14135 something starting with __ and the normal name is an alias. */
14136 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14137 choke me
14138 #else
14139 char (*f) () = $ac_func;
14140 #endif
14141 #ifdef __cplusplus
14142 }
14143 #endif
14144
14145 int
14146 main ()
14147 {
14148 return f != $ac_func;
14149 ;
14150 return 0;
14151 }
14152 _ACEOF
14153 rm -f conftest.$ac_objext conftest$ac_exeext
14154 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14155 (eval $ac_link) 2>conftest.er1
14156 ac_status=$?
14157 grep -v '^ *+' conftest.er1 >conftest.err
14158 rm -f conftest.er1
14159 cat conftest.err >&5
14160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14161 (exit $ac_status); } &&
14162 { ac_try='test -z "$ac_c_werror_flag"
14163 || test ! -s conftest.err'
14164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14165 (eval $ac_try) 2>&5
14166 ac_status=$?
14167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14168 (exit $ac_status); }; } &&
14169 { ac_try='test -s conftest$ac_exeext'
14170 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14171 (eval $ac_try) 2>&5
14172 ac_status=$?
14173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14174 (exit $ac_status); }; }; then
14175 eval "$as_ac_var=yes"
14176 else
14177 echo "$as_me: failed program was:" >&5
14178 sed 's/^/| /' conftest.$ac_ext >&5
14179
14180 eval "$as_ac_var=no"
14181 fi
14182 rm -f conftest.err conftest.$ac_objext \
14183 conftest$ac_exeext conftest.$ac_ext
14184 fi
14185 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14186 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14187 if test `eval echo '${'$as_ac_var'}'` = yes; then
14188 cat >>confdefs.h <<_ACEOF
14189 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14190 _ACEOF
14191
14192 fi
14193 done
14194
14195 else
14196
14197 echo "$as_me:$LINENO: checking for _fmodf declaration" >&5
14198 echo $ECHO_N "checking for _fmodf declaration... $ECHO_C" >&6
14199 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
14200 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then
14201 echo $ECHO_N "(cached) $ECHO_C" >&6
14202 else
14203
14204
14205
14206 ac_ext=cc
14207 ac_cpp='$CXXCPP $CPPFLAGS'
14208 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14209 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14210 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14211
14212 cat >conftest.$ac_ext <<_ACEOF
14213 /* confdefs.h. */
14214 _ACEOF
14215 cat confdefs.h >>conftest.$ac_ext
14216 cat >>conftest.$ac_ext <<_ACEOF
14217 /* end confdefs.h. */
14218 #include <math.h>
14219 int
14220 main ()
14221 {
14222 _fmodf(0, 0);
14223 ;
14224 return 0;
14225 }
14226 _ACEOF
14227 rm -f conftest.$ac_objext
14228 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14229 (eval $ac_compile) 2>conftest.er1
14230 ac_status=$?
14231 grep -v '^ *+' conftest.er1 >conftest.err
14232 rm -f conftest.er1
14233 cat conftest.err >&5
14234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14235 (exit $ac_status); } &&
14236 { ac_try='test -z "$ac_cxx_werror_flag"
14237 || test ! -s conftest.err'
14238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14239 (eval $ac_try) 2>&5
14240 ac_status=$?
14241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14242 (exit $ac_status); }; } &&
14243 { ac_try='test -s conftest.$ac_objext'
14244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14245 (eval $ac_try) 2>&5
14246 ac_status=$?
14247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14248 (exit $ac_status); }; }; then
14249 glibcxx_cv_func__fmodf_use=yes
14250 else
14251 echo "$as_me: failed program was:" >&5
14252 sed 's/^/| /' conftest.$ac_ext >&5
14253
14254 glibcxx_cv_func__fmodf_use=no
14255 fi
14256 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14257 ac_ext=c
14258 ac_cpp='$CPP $CPPFLAGS'
14259 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14260 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14261 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14262
14263
14264 fi
14265
14266 fi
14267 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodf_use" >&5
14268 echo "${ECHO_T}$glibcxx_cv_func__fmodf_use" >&6
14269
14270 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
14271
14272 for ac_func in _fmodf
14273 do
14274 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14275 echo "$as_me:$LINENO: checking for $ac_func" >&5
14276 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14277 if eval "test \"\${$as_ac_var+set}\" = set"; then
14278 echo $ECHO_N "(cached) $ECHO_C" >&6
14279 else
14280 if test x$gcc_no_link = xyes; then
14281 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14282 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14283 { (exit 1); exit 1; }; }
14284 fi
14285 cat >conftest.$ac_ext <<_ACEOF
14286 /* confdefs.h. */
14287 _ACEOF
14288 cat confdefs.h >>conftest.$ac_ext
14289 cat >>conftest.$ac_ext <<_ACEOF
14290 /* end confdefs.h. */
14291 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14292 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14293 #define $ac_func innocuous_$ac_func
14294
14295 /* System header to define __stub macros and hopefully few prototypes,
14296 which can conflict with char $ac_func (); below.
14297 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14298 <limits.h> exists even on freestanding compilers. */
14299
14300 #ifdef __STDC__
14301 # include <limits.h>
14302 #else
14303 # include <assert.h>
14304 #endif
14305
14306 #undef $ac_func
14307
14308 /* Override any gcc2 internal prototype to avoid an error. */
14309 #ifdef __cplusplus
14310 extern "C"
14311 {
14312 #endif
14313 /* We use char because int might match the return type of a gcc2
14314 builtin and then its argument prototype would still apply. */
14315 char $ac_func ();
14316 /* The GNU C library defines this for functions which it implements
14317 to always fail with ENOSYS. Some functions are actually named
14318 something starting with __ and the normal name is an alias. */
14319 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14320 choke me
14321 #else
14322 char (*f) () = $ac_func;
14323 #endif
14324 #ifdef __cplusplus
14325 }
14326 #endif
14327
14328 int
14329 main ()
14330 {
14331 return f != $ac_func;
14332 ;
14333 return 0;
14334 }
14335 _ACEOF
14336 rm -f conftest.$ac_objext conftest$ac_exeext
14337 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14338 (eval $ac_link) 2>conftest.er1
14339 ac_status=$?
14340 grep -v '^ *+' conftest.er1 >conftest.err
14341 rm -f conftest.er1
14342 cat conftest.err >&5
14343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14344 (exit $ac_status); } &&
14345 { ac_try='test -z "$ac_c_werror_flag"
14346 || test ! -s conftest.err'
14347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14348 (eval $ac_try) 2>&5
14349 ac_status=$?
14350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14351 (exit $ac_status); }; } &&
14352 { ac_try='test -s conftest$ac_exeext'
14353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14354 (eval $ac_try) 2>&5
14355 ac_status=$?
14356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14357 (exit $ac_status); }; }; then
14358 eval "$as_ac_var=yes"
14359 else
14360 echo "$as_me: failed program was:" >&5
14361 sed 's/^/| /' conftest.$ac_ext >&5
14362
14363 eval "$as_ac_var=no"
14364 fi
14365 rm -f conftest.err conftest.$ac_objext \
14366 conftest$ac_exeext conftest.$ac_ext
14367 fi
14368 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14369 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14370 if test `eval echo '${'$as_ac_var'}'` = yes; then
14371 cat >>confdefs.h <<_ACEOF
14372 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14373 _ACEOF
14374
14375 fi
14376 done
14377
14378 fi
14379 fi
14380
14381
14382
14383
14384
14385
14386 echo "$as_me:$LINENO: checking for frexpf declaration" >&5
14387 echo $ECHO_N "checking for frexpf declaration... $ECHO_C" >&6
14388 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
14389 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then
14390 echo $ECHO_N "(cached) $ECHO_C" >&6
14391 else
14392
14393
14394
14395 ac_ext=cc
14396 ac_cpp='$CXXCPP $CPPFLAGS'
14397 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14398 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14399 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14400
14401 cat >conftest.$ac_ext <<_ACEOF
14402 /* confdefs.h. */
14403 _ACEOF
14404 cat confdefs.h >>conftest.$ac_ext
14405 cat >>conftest.$ac_ext <<_ACEOF
14406 /* end confdefs.h. */
14407 #include <math.h>
14408 int
14409 main ()
14410 {
14411 frexpf(0, 0);
14412 ;
14413 return 0;
14414 }
14415 _ACEOF
14416 rm -f conftest.$ac_objext
14417 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14418 (eval $ac_compile) 2>conftest.er1
14419 ac_status=$?
14420 grep -v '^ *+' conftest.er1 >conftest.err
14421 rm -f conftest.er1
14422 cat conftest.err >&5
14423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14424 (exit $ac_status); } &&
14425 { ac_try='test -z "$ac_cxx_werror_flag"
14426 || test ! -s conftest.err'
14427 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14428 (eval $ac_try) 2>&5
14429 ac_status=$?
14430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14431 (exit $ac_status); }; } &&
14432 { ac_try='test -s conftest.$ac_objext'
14433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14434 (eval $ac_try) 2>&5
14435 ac_status=$?
14436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14437 (exit $ac_status); }; }; then
14438 glibcxx_cv_func_frexpf_use=yes
14439 else
14440 echo "$as_me: failed program was:" >&5
14441 sed 's/^/| /' conftest.$ac_ext >&5
14442
14443 glibcxx_cv_func_frexpf_use=no
14444 fi
14445 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14446 ac_ext=c
14447 ac_cpp='$CPP $CPPFLAGS'
14448 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14449 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14450 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14451
14452
14453 fi
14454
14455 fi
14456 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpf_use" >&5
14457 echo "${ECHO_T}$glibcxx_cv_func_frexpf_use" >&6
14458
14459 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
14460
14461 for ac_func in frexpf
14462 do
14463 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14464 echo "$as_me:$LINENO: checking for $ac_func" >&5
14465 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14466 if eval "test \"\${$as_ac_var+set}\" = set"; then
14467 echo $ECHO_N "(cached) $ECHO_C" >&6
14468 else
14469 if test x$gcc_no_link = xyes; then
14470 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14471 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14472 { (exit 1); exit 1; }; }
14473 fi
14474 cat >conftest.$ac_ext <<_ACEOF
14475 /* confdefs.h. */
14476 _ACEOF
14477 cat confdefs.h >>conftest.$ac_ext
14478 cat >>conftest.$ac_ext <<_ACEOF
14479 /* end confdefs.h. */
14480 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14481 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14482 #define $ac_func innocuous_$ac_func
14483
14484 /* System header to define __stub macros and hopefully few prototypes,
14485 which can conflict with char $ac_func (); below.
14486 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14487 <limits.h> exists even on freestanding compilers. */
14488
14489 #ifdef __STDC__
14490 # include <limits.h>
14491 #else
14492 # include <assert.h>
14493 #endif
14494
14495 #undef $ac_func
14496
14497 /* Override any gcc2 internal prototype to avoid an error. */
14498 #ifdef __cplusplus
14499 extern "C"
14500 {
14501 #endif
14502 /* We use char because int might match the return type of a gcc2
14503 builtin and then its argument prototype would still apply. */
14504 char $ac_func ();
14505 /* The GNU C library defines this for functions which it implements
14506 to always fail with ENOSYS. Some functions are actually named
14507 something starting with __ and the normal name is an alias. */
14508 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14509 choke me
14510 #else
14511 char (*f) () = $ac_func;
14512 #endif
14513 #ifdef __cplusplus
14514 }
14515 #endif
14516
14517 int
14518 main ()
14519 {
14520 return f != $ac_func;
14521 ;
14522 return 0;
14523 }
14524 _ACEOF
14525 rm -f conftest.$ac_objext conftest$ac_exeext
14526 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14527 (eval $ac_link) 2>conftest.er1
14528 ac_status=$?
14529 grep -v '^ *+' conftest.er1 >conftest.err
14530 rm -f conftest.er1
14531 cat conftest.err >&5
14532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14533 (exit $ac_status); } &&
14534 { ac_try='test -z "$ac_c_werror_flag"
14535 || test ! -s conftest.err'
14536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14537 (eval $ac_try) 2>&5
14538 ac_status=$?
14539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14540 (exit $ac_status); }; } &&
14541 { ac_try='test -s conftest$ac_exeext'
14542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14543 (eval $ac_try) 2>&5
14544 ac_status=$?
14545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14546 (exit $ac_status); }; }; then
14547 eval "$as_ac_var=yes"
14548 else
14549 echo "$as_me: failed program was:" >&5
14550 sed 's/^/| /' conftest.$ac_ext >&5
14551
14552 eval "$as_ac_var=no"
14553 fi
14554 rm -f conftest.err conftest.$ac_objext \
14555 conftest$ac_exeext conftest.$ac_ext
14556 fi
14557 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14558 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14559 if test `eval echo '${'$as_ac_var'}'` = yes; then
14560 cat >>confdefs.h <<_ACEOF
14561 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14562 _ACEOF
14563
14564 fi
14565 done
14566
14567 else
14568
14569 echo "$as_me:$LINENO: checking for _frexpf declaration" >&5
14570 echo $ECHO_N "checking for _frexpf declaration... $ECHO_C" >&6
14571 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
14572 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then
14573 echo $ECHO_N "(cached) $ECHO_C" >&6
14574 else
14575
14576
14577
14578 ac_ext=cc
14579 ac_cpp='$CXXCPP $CPPFLAGS'
14580 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14581 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14582 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14583
14584 cat >conftest.$ac_ext <<_ACEOF
14585 /* confdefs.h. */
14586 _ACEOF
14587 cat confdefs.h >>conftest.$ac_ext
14588 cat >>conftest.$ac_ext <<_ACEOF
14589 /* end confdefs.h. */
14590 #include <math.h>
14591 int
14592 main ()
14593 {
14594 _frexpf(0, 0);
14595 ;
14596 return 0;
14597 }
14598 _ACEOF
14599 rm -f conftest.$ac_objext
14600 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14601 (eval $ac_compile) 2>conftest.er1
14602 ac_status=$?
14603 grep -v '^ *+' conftest.er1 >conftest.err
14604 rm -f conftest.er1
14605 cat conftest.err >&5
14606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14607 (exit $ac_status); } &&
14608 { ac_try='test -z "$ac_cxx_werror_flag"
14609 || test ! -s conftest.err'
14610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14611 (eval $ac_try) 2>&5
14612 ac_status=$?
14613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14614 (exit $ac_status); }; } &&
14615 { ac_try='test -s conftest.$ac_objext'
14616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14617 (eval $ac_try) 2>&5
14618 ac_status=$?
14619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14620 (exit $ac_status); }; }; then
14621 glibcxx_cv_func__frexpf_use=yes
14622 else
14623 echo "$as_me: failed program was:" >&5
14624 sed 's/^/| /' conftest.$ac_ext >&5
14625
14626 glibcxx_cv_func__frexpf_use=no
14627 fi
14628 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14629 ac_ext=c
14630 ac_cpp='$CPP $CPPFLAGS'
14631 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14632 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14633 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14634
14635
14636 fi
14637
14638 fi
14639 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpf_use" >&5
14640 echo "${ECHO_T}$glibcxx_cv_func__frexpf_use" >&6
14641
14642 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
14643
14644 for ac_func in _frexpf
14645 do
14646 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14647 echo "$as_me:$LINENO: checking for $ac_func" >&5
14648 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14649 if eval "test \"\${$as_ac_var+set}\" = set"; then
14650 echo $ECHO_N "(cached) $ECHO_C" >&6
14651 else
14652 if test x$gcc_no_link = xyes; then
14653 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14654 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14655 { (exit 1); exit 1; }; }
14656 fi
14657 cat >conftest.$ac_ext <<_ACEOF
14658 /* confdefs.h. */
14659 _ACEOF
14660 cat confdefs.h >>conftest.$ac_ext
14661 cat >>conftest.$ac_ext <<_ACEOF
14662 /* end confdefs.h. */
14663 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14664 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14665 #define $ac_func innocuous_$ac_func
14666
14667 /* System header to define __stub macros and hopefully few prototypes,
14668 which can conflict with char $ac_func (); below.
14669 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14670 <limits.h> exists even on freestanding compilers. */
14671
14672 #ifdef __STDC__
14673 # include <limits.h>
14674 #else
14675 # include <assert.h>
14676 #endif
14677
14678 #undef $ac_func
14679
14680 /* Override any gcc2 internal prototype to avoid an error. */
14681 #ifdef __cplusplus
14682 extern "C"
14683 {
14684 #endif
14685 /* We use char because int might match the return type of a gcc2
14686 builtin and then its argument prototype would still apply. */
14687 char $ac_func ();
14688 /* The GNU C library defines this for functions which it implements
14689 to always fail with ENOSYS. Some functions are actually named
14690 something starting with __ and the normal name is an alias. */
14691 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14692 choke me
14693 #else
14694 char (*f) () = $ac_func;
14695 #endif
14696 #ifdef __cplusplus
14697 }
14698 #endif
14699
14700 int
14701 main ()
14702 {
14703 return f != $ac_func;
14704 ;
14705 return 0;
14706 }
14707 _ACEOF
14708 rm -f conftest.$ac_objext conftest$ac_exeext
14709 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14710 (eval $ac_link) 2>conftest.er1
14711 ac_status=$?
14712 grep -v '^ *+' conftest.er1 >conftest.err
14713 rm -f conftest.er1
14714 cat conftest.err >&5
14715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14716 (exit $ac_status); } &&
14717 { ac_try='test -z "$ac_c_werror_flag"
14718 || test ! -s conftest.err'
14719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14720 (eval $ac_try) 2>&5
14721 ac_status=$?
14722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14723 (exit $ac_status); }; } &&
14724 { ac_try='test -s conftest$ac_exeext'
14725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14726 (eval $ac_try) 2>&5
14727 ac_status=$?
14728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14729 (exit $ac_status); }; }; then
14730 eval "$as_ac_var=yes"
14731 else
14732 echo "$as_me: failed program was:" >&5
14733 sed 's/^/| /' conftest.$ac_ext >&5
14734
14735 eval "$as_ac_var=no"
14736 fi
14737 rm -f conftest.err conftest.$ac_objext \
14738 conftest$ac_exeext conftest.$ac_ext
14739 fi
14740 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14741 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14742 if test `eval echo '${'$as_ac_var'}'` = yes; then
14743 cat >>confdefs.h <<_ACEOF
14744 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14745 _ACEOF
14746
14747 fi
14748 done
14749
14750 fi
14751 fi
14752
14753
14754
14755
14756
14757
14758 echo "$as_me:$LINENO: checking for hypotf declaration" >&5
14759 echo $ECHO_N "checking for hypotf declaration... $ECHO_C" >&6
14760 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
14761 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then
14762 echo $ECHO_N "(cached) $ECHO_C" >&6
14763 else
14764
14765
14766
14767 ac_ext=cc
14768 ac_cpp='$CXXCPP $CPPFLAGS'
14769 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14770 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14771 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14772
14773 cat >conftest.$ac_ext <<_ACEOF
14774 /* confdefs.h. */
14775 _ACEOF
14776 cat confdefs.h >>conftest.$ac_ext
14777 cat >>conftest.$ac_ext <<_ACEOF
14778 /* end confdefs.h. */
14779 #include <math.h>
14780 int
14781 main ()
14782 {
14783 hypotf(0, 0);
14784 ;
14785 return 0;
14786 }
14787 _ACEOF
14788 rm -f conftest.$ac_objext
14789 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14790 (eval $ac_compile) 2>conftest.er1
14791 ac_status=$?
14792 grep -v '^ *+' conftest.er1 >conftest.err
14793 rm -f conftest.er1
14794 cat conftest.err >&5
14795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14796 (exit $ac_status); } &&
14797 { ac_try='test -z "$ac_cxx_werror_flag"
14798 || test ! -s conftest.err'
14799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14800 (eval $ac_try) 2>&5
14801 ac_status=$?
14802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14803 (exit $ac_status); }; } &&
14804 { ac_try='test -s conftest.$ac_objext'
14805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14806 (eval $ac_try) 2>&5
14807 ac_status=$?
14808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14809 (exit $ac_status); }; }; then
14810 glibcxx_cv_func_hypotf_use=yes
14811 else
14812 echo "$as_me: failed program was:" >&5
14813 sed 's/^/| /' conftest.$ac_ext >&5
14814
14815 glibcxx_cv_func_hypotf_use=no
14816 fi
14817 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14818 ac_ext=c
14819 ac_cpp='$CPP $CPPFLAGS'
14820 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14821 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14822 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14823
14824
14825 fi
14826
14827 fi
14828 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotf_use" >&5
14829 echo "${ECHO_T}$glibcxx_cv_func_hypotf_use" >&6
14830
14831 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
14832
14833 for ac_func in hypotf
14834 do
14835 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14836 echo "$as_me:$LINENO: checking for $ac_func" >&5
14837 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14838 if eval "test \"\${$as_ac_var+set}\" = set"; then
14839 echo $ECHO_N "(cached) $ECHO_C" >&6
14840 else
14841 if test x$gcc_no_link = xyes; then
14842 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14843 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14844 { (exit 1); exit 1; }; }
14845 fi
14846 cat >conftest.$ac_ext <<_ACEOF
14847 /* confdefs.h. */
14848 _ACEOF
14849 cat confdefs.h >>conftest.$ac_ext
14850 cat >>conftest.$ac_ext <<_ACEOF
14851 /* end confdefs.h. */
14852 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14853 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14854 #define $ac_func innocuous_$ac_func
14855
14856 /* System header to define __stub macros and hopefully few prototypes,
14857 which can conflict with char $ac_func (); below.
14858 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14859 <limits.h> exists even on freestanding compilers. */
14860
14861 #ifdef __STDC__
14862 # include <limits.h>
14863 #else
14864 # include <assert.h>
14865 #endif
14866
14867 #undef $ac_func
14868
14869 /* Override any gcc2 internal prototype to avoid an error. */
14870 #ifdef __cplusplus
14871 extern "C"
14872 {
14873 #endif
14874 /* We use char because int might match the return type of a gcc2
14875 builtin and then its argument prototype would still apply. */
14876 char $ac_func ();
14877 /* The GNU C library defines this for functions which it implements
14878 to always fail with ENOSYS. Some functions are actually named
14879 something starting with __ and the normal name is an alias. */
14880 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14881 choke me
14882 #else
14883 char (*f) () = $ac_func;
14884 #endif
14885 #ifdef __cplusplus
14886 }
14887 #endif
14888
14889 int
14890 main ()
14891 {
14892 return f != $ac_func;
14893 ;
14894 return 0;
14895 }
14896 _ACEOF
14897 rm -f conftest.$ac_objext conftest$ac_exeext
14898 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14899 (eval $ac_link) 2>conftest.er1
14900 ac_status=$?
14901 grep -v '^ *+' conftest.er1 >conftest.err
14902 rm -f conftest.er1
14903 cat conftest.err >&5
14904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14905 (exit $ac_status); } &&
14906 { ac_try='test -z "$ac_c_werror_flag"
14907 || test ! -s conftest.err'
14908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14909 (eval $ac_try) 2>&5
14910 ac_status=$?
14911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14912 (exit $ac_status); }; } &&
14913 { ac_try='test -s conftest$ac_exeext'
14914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14915 (eval $ac_try) 2>&5
14916 ac_status=$?
14917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14918 (exit $ac_status); }; }; then
14919 eval "$as_ac_var=yes"
14920 else
14921 echo "$as_me: failed program was:" >&5
14922 sed 's/^/| /' conftest.$ac_ext >&5
14923
14924 eval "$as_ac_var=no"
14925 fi
14926 rm -f conftest.err conftest.$ac_objext \
14927 conftest$ac_exeext conftest.$ac_ext
14928 fi
14929 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14930 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14931 if test `eval echo '${'$as_ac_var'}'` = yes; then
14932 cat >>confdefs.h <<_ACEOF
14933 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14934 _ACEOF
14935
14936 fi
14937 done
14938
14939 else
14940
14941 echo "$as_me:$LINENO: checking for _hypotf declaration" >&5
14942 echo $ECHO_N "checking for _hypotf declaration... $ECHO_C" >&6
14943 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
14944 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then
14945 echo $ECHO_N "(cached) $ECHO_C" >&6
14946 else
14947
14948
14949
14950 ac_ext=cc
14951 ac_cpp='$CXXCPP $CPPFLAGS'
14952 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14953 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14954 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14955
14956 cat >conftest.$ac_ext <<_ACEOF
14957 /* confdefs.h. */
14958 _ACEOF
14959 cat confdefs.h >>conftest.$ac_ext
14960 cat >>conftest.$ac_ext <<_ACEOF
14961 /* end confdefs.h. */
14962 #include <math.h>
14963 int
14964 main ()
14965 {
14966 _hypotf(0, 0);
14967 ;
14968 return 0;
14969 }
14970 _ACEOF
14971 rm -f conftest.$ac_objext
14972 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14973 (eval $ac_compile) 2>conftest.er1
14974 ac_status=$?
14975 grep -v '^ *+' conftest.er1 >conftest.err
14976 rm -f conftest.er1
14977 cat conftest.err >&5
14978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14979 (exit $ac_status); } &&
14980 { ac_try='test -z "$ac_cxx_werror_flag"
14981 || test ! -s conftest.err'
14982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14983 (eval $ac_try) 2>&5
14984 ac_status=$?
14985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14986 (exit $ac_status); }; } &&
14987 { ac_try='test -s conftest.$ac_objext'
14988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14989 (eval $ac_try) 2>&5
14990 ac_status=$?
14991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14992 (exit $ac_status); }; }; then
14993 glibcxx_cv_func__hypotf_use=yes
14994 else
14995 echo "$as_me: failed program was:" >&5
14996 sed 's/^/| /' conftest.$ac_ext >&5
14997
14998 glibcxx_cv_func__hypotf_use=no
14999 fi
15000 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15001 ac_ext=c
15002 ac_cpp='$CPP $CPPFLAGS'
15003 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15004 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15005 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15006
15007
15008 fi
15009
15010 fi
15011 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotf_use" >&5
15012 echo "${ECHO_T}$glibcxx_cv_func__hypotf_use" >&6
15013
15014 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
15015
15016 for ac_func in _hypotf
15017 do
15018 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15019 echo "$as_me:$LINENO: checking for $ac_func" >&5
15020 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15021 if eval "test \"\${$as_ac_var+set}\" = set"; then
15022 echo $ECHO_N "(cached) $ECHO_C" >&6
15023 else
15024 if test x$gcc_no_link = xyes; then
15025 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15026 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15027 { (exit 1); exit 1; }; }
15028 fi
15029 cat >conftest.$ac_ext <<_ACEOF
15030 /* confdefs.h. */
15031 _ACEOF
15032 cat confdefs.h >>conftest.$ac_ext
15033 cat >>conftest.$ac_ext <<_ACEOF
15034 /* end confdefs.h. */
15035 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15036 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15037 #define $ac_func innocuous_$ac_func
15038
15039 /* System header to define __stub macros and hopefully few prototypes,
15040 which can conflict with char $ac_func (); below.
15041 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15042 <limits.h> exists even on freestanding compilers. */
15043
15044 #ifdef __STDC__
15045 # include <limits.h>
15046 #else
15047 # include <assert.h>
15048 #endif
15049
15050 #undef $ac_func
15051
15052 /* Override any gcc2 internal prototype to avoid an error. */
15053 #ifdef __cplusplus
15054 extern "C"
15055 {
15056 #endif
15057 /* We use char because int might match the return type of a gcc2
15058 builtin and then its argument prototype would still apply. */
15059 char $ac_func ();
15060 /* The GNU C library defines this for functions which it implements
15061 to always fail with ENOSYS. Some functions are actually named
15062 something starting with __ and the normal name is an alias. */
15063 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15064 choke me
15065 #else
15066 char (*f) () = $ac_func;
15067 #endif
15068 #ifdef __cplusplus
15069 }
15070 #endif
15071
15072 int
15073 main ()
15074 {
15075 return f != $ac_func;
15076 ;
15077 return 0;
15078 }
15079 _ACEOF
15080 rm -f conftest.$ac_objext conftest$ac_exeext
15081 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15082 (eval $ac_link) 2>conftest.er1
15083 ac_status=$?
15084 grep -v '^ *+' conftest.er1 >conftest.err
15085 rm -f conftest.er1
15086 cat conftest.err >&5
15087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15088 (exit $ac_status); } &&
15089 { ac_try='test -z "$ac_c_werror_flag"
15090 || test ! -s conftest.err'
15091 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15092 (eval $ac_try) 2>&5
15093 ac_status=$?
15094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15095 (exit $ac_status); }; } &&
15096 { ac_try='test -s conftest$ac_exeext'
15097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15098 (eval $ac_try) 2>&5
15099 ac_status=$?
15100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15101 (exit $ac_status); }; }; then
15102 eval "$as_ac_var=yes"
15103 else
15104 echo "$as_me: failed program was:" >&5
15105 sed 's/^/| /' conftest.$ac_ext >&5
15106
15107 eval "$as_ac_var=no"
15108 fi
15109 rm -f conftest.err conftest.$ac_objext \
15110 conftest$ac_exeext conftest.$ac_ext
15111 fi
15112 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15113 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15114 if test `eval echo '${'$as_ac_var'}'` = yes; then
15115 cat >>confdefs.h <<_ACEOF
15116 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15117 _ACEOF
15118
15119 fi
15120 done
15121
15122 fi
15123 fi
15124
15125
15126
15127
15128
15129
15130 echo "$as_me:$LINENO: checking for ldexpf declaration" >&5
15131 echo $ECHO_N "checking for ldexpf declaration... $ECHO_C" >&6
15132 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
15133 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then
15134 echo $ECHO_N "(cached) $ECHO_C" >&6
15135 else
15136
15137
15138
15139 ac_ext=cc
15140 ac_cpp='$CXXCPP $CPPFLAGS'
15141 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15142 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15143 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15144
15145 cat >conftest.$ac_ext <<_ACEOF
15146 /* confdefs.h. */
15147 _ACEOF
15148 cat confdefs.h >>conftest.$ac_ext
15149 cat >>conftest.$ac_ext <<_ACEOF
15150 /* end confdefs.h. */
15151 #include <math.h>
15152 int
15153 main ()
15154 {
15155 ldexpf(0, 0);
15156 ;
15157 return 0;
15158 }
15159 _ACEOF
15160 rm -f conftest.$ac_objext
15161 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15162 (eval $ac_compile) 2>conftest.er1
15163 ac_status=$?
15164 grep -v '^ *+' conftest.er1 >conftest.err
15165 rm -f conftest.er1
15166 cat conftest.err >&5
15167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15168 (exit $ac_status); } &&
15169 { ac_try='test -z "$ac_cxx_werror_flag"
15170 || test ! -s conftest.err'
15171 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15172 (eval $ac_try) 2>&5
15173 ac_status=$?
15174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15175 (exit $ac_status); }; } &&
15176 { ac_try='test -s conftest.$ac_objext'
15177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15178 (eval $ac_try) 2>&5
15179 ac_status=$?
15180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15181 (exit $ac_status); }; }; then
15182 glibcxx_cv_func_ldexpf_use=yes
15183 else
15184 echo "$as_me: failed program was:" >&5
15185 sed 's/^/| /' conftest.$ac_ext >&5
15186
15187 glibcxx_cv_func_ldexpf_use=no
15188 fi
15189 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15190 ac_ext=c
15191 ac_cpp='$CPP $CPPFLAGS'
15192 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15193 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15194 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15195
15196
15197 fi
15198
15199 fi
15200 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpf_use" >&5
15201 echo "${ECHO_T}$glibcxx_cv_func_ldexpf_use" >&6
15202
15203 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
15204
15205 for ac_func in ldexpf
15206 do
15207 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15208 echo "$as_me:$LINENO: checking for $ac_func" >&5
15209 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15210 if eval "test \"\${$as_ac_var+set}\" = set"; then
15211 echo $ECHO_N "(cached) $ECHO_C" >&6
15212 else
15213 if test x$gcc_no_link = xyes; then
15214 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15215 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15216 { (exit 1); exit 1; }; }
15217 fi
15218 cat >conftest.$ac_ext <<_ACEOF
15219 /* confdefs.h. */
15220 _ACEOF
15221 cat confdefs.h >>conftest.$ac_ext
15222 cat >>conftest.$ac_ext <<_ACEOF
15223 /* end confdefs.h. */
15224 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15225 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15226 #define $ac_func innocuous_$ac_func
15227
15228 /* System header to define __stub macros and hopefully few prototypes,
15229 which can conflict with char $ac_func (); below.
15230 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15231 <limits.h> exists even on freestanding compilers. */
15232
15233 #ifdef __STDC__
15234 # include <limits.h>
15235 #else
15236 # include <assert.h>
15237 #endif
15238
15239 #undef $ac_func
15240
15241 /* Override any gcc2 internal prototype to avoid an error. */
15242 #ifdef __cplusplus
15243 extern "C"
15244 {
15245 #endif
15246 /* We use char because int might match the return type of a gcc2
15247 builtin and then its argument prototype would still apply. */
15248 char $ac_func ();
15249 /* The GNU C library defines this for functions which it implements
15250 to always fail with ENOSYS. Some functions are actually named
15251 something starting with __ and the normal name is an alias. */
15252 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15253 choke me
15254 #else
15255 char (*f) () = $ac_func;
15256 #endif
15257 #ifdef __cplusplus
15258 }
15259 #endif
15260
15261 int
15262 main ()
15263 {
15264 return f != $ac_func;
15265 ;
15266 return 0;
15267 }
15268 _ACEOF
15269 rm -f conftest.$ac_objext conftest$ac_exeext
15270 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15271 (eval $ac_link) 2>conftest.er1
15272 ac_status=$?
15273 grep -v '^ *+' conftest.er1 >conftest.err
15274 rm -f conftest.er1
15275 cat conftest.err >&5
15276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15277 (exit $ac_status); } &&
15278 { ac_try='test -z "$ac_c_werror_flag"
15279 || test ! -s conftest.err'
15280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15281 (eval $ac_try) 2>&5
15282 ac_status=$?
15283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15284 (exit $ac_status); }; } &&
15285 { ac_try='test -s conftest$ac_exeext'
15286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15287 (eval $ac_try) 2>&5
15288 ac_status=$?
15289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15290 (exit $ac_status); }; }; then
15291 eval "$as_ac_var=yes"
15292 else
15293 echo "$as_me: failed program was:" >&5
15294 sed 's/^/| /' conftest.$ac_ext >&5
15295
15296 eval "$as_ac_var=no"
15297 fi
15298 rm -f conftest.err conftest.$ac_objext \
15299 conftest$ac_exeext conftest.$ac_ext
15300 fi
15301 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15302 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15303 if test `eval echo '${'$as_ac_var'}'` = yes; then
15304 cat >>confdefs.h <<_ACEOF
15305 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15306 _ACEOF
15307
15308 fi
15309 done
15310
15311 else
15312
15313 echo "$as_me:$LINENO: checking for _ldexpf declaration" >&5
15314 echo $ECHO_N "checking for _ldexpf declaration... $ECHO_C" >&6
15315 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
15316 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then
15317 echo $ECHO_N "(cached) $ECHO_C" >&6
15318 else
15319
15320
15321
15322 ac_ext=cc
15323 ac_cpp='$CXXCPP $CPPFLAGS'
15324 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15325 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15326 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15327
15328 cat >conftest.$ac_ext <<_ACEOF
15329 /* confdefs.h. */
15330 _ACEOF
15331 cat confdefs.h >>conftest.$ac_ext
15332 cat >>conftest.$ac_ext <<_ACEOF
15333 /* end confdefs.h. */
15334 #include <math.h>
15335 int
15336 main ()
15337 {
15338 _ldexpf(0, 0);
15339 ;
15340 return 0;
15341 }
15342 _ACEOF
15343 rm -f conftest.$ac_objext
15344 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15345 (eval $ac_compile) 2>conftest.er1
15346 ac_status=$?
15347 grep -v '^ *+' conftest.er1 >conftest.err
15348 rm -f conftest.er1
15349 cat conftest.err >&5
15350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15351 (exit $ac_status); } &&
15352 { ac_try='test -z "$ac_cxx_werror_flag"
15353 || test ! -s conftest.err'
15354 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15355 (eval $ac_try) 2>&5
15356 ac_status=$?
15357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15358 (exit $ac_status); }; } &&
15359 { ac_try='test -s conftest.$ac_objext'
15360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15361 (eval $ac_try) 2>&5
15362 ac_status=$?
15363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15364 (exit $ac_status); }; }; then
15365 glibcxx_cv_func__ldexpf_use=yes
15366 else
15367 echo "$as_me: failed program was:" >&5
15368 sed 's/^/| /' conftest.$ac_ext >&5
15369
15370 glibcxx_cv_func__ldexpf_use=no
15371 fi
15372 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15373 ac_ext=c
15374 ac_cpp='$CPP $CPPFLAGS'
15375 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15376 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15377 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15378
15379
15380 fi
15381
15382 fi
15383 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpf_use" >&5
15384 echo "${ECHO_T}$glibcxx_cv_func__ldexpf_use" >&6
15385
15386 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
15387
15388 for ac_func in _ldexpf
15389 do
15390 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15391 echo "$as_me:$LINENO: checking for $ac_func" >&5
15392 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15393 if eval "test \"\${$as_ac_var+set}\" = set"; then
15394 echo $ECHO_N "(cached) $ECHO_C" >&6
15395 else
15396 if test x$gcc_no_link = xyes; then
15397 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15398 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15399 { (exit 1); exit 1; }; }
15400 fi
15401 cat >conftest.$ac_ext <<_ACEOF
15402 /* confdefs.h. */
15403 _ACEOF
15404 cat confdefs.h >>conftest.$ac_ext
15405 cat >>conftest.$ac_ext <<_ACEOF
15406 /* end confdefs.h. */
15407 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15408 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15409 #define $ac_func innocuous_$ac_func
15410
15411 /* System header to define __stub macros and hopefully few prototypes,
15412 which can conflict with char $ac_func (); below.
15413 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15414 <limits.h> exists even on freestanding compilers. */
15415
15416 #ifdef __STDC__
15417 # include <limits.h>
15418 #else
15419 # include <assert.h>
15420 #endif
15421
15422 #undef $ac_func
15423
15424 /* Override any gcc2 internal prototype to avoid an error. */
15425 #ifdef __cplusplus
15426 extern "C"
15427 {
15428 #endif
15429 /* We use char because int might match the return type of a gcc2
15430 builtin and then its argument prototype would still apply. */
15431 char $ac_func ();
15432 /* The GNU C library defines this for functions which it implements
15433 to always fail with ENOSYS. Some functions are actually named
15434 something starting with __ and the normal name is an alias. */
15435 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15436 choke me
15437 #else
15438 char (*f) () = $ac_func;
15439 #endif
15440 #ifdef __cplusplus
15441 }
15442 #endif
15443
15444 int
15445 main ()
15446 {
15447 return f != $ac_func;
15448 ;
15449 return 0;
15450 }
15451 _ACEOF
15452 rm -f conftest.$ac_objext conftest$ac_exeext
15453 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15454 (eval $ac_link) 2>conftest.er1
15455 ac_status=$?
15456 grep -v '^ *+' conftest.er1 >conftest.err
15457 rm -f conftest.er1
15458 cat conftest.err >&5
15459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15460 (exit $ac_status); } &&
15461 { ac_try='test -z "$ac_c_werror_flag"
15462 || test ! -s conftest.err'
15463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15464 (eval $ac_try) 2>&5
15465 ac_status=$?
15466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15467 (exit $ac_status); }; } &&
15468 { ac_try='test -s conftest$ac_exeext'
15469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15470 (eval $ac_try) 2>&5
15471 ac_status=$?
15472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15473 (exit $ac_status); }; }; then
15474 eval "$as_ac_var=yes"
15475 else
15476 echo "$as_me: failed program was:" >&5
15477 sed 's/^/| /' conftest.$ac_ext >&5
15478
15479 eval "$as_ac_var=no"
15480 fi
15481 rm -f conftest.err conftest.$ac_objext \
15482 conftest$ac_exeext conftest.$ac_ext
15483 fi
15484 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15485 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15486 if test `eval echo '${'$as_ac_var'}'` = yes; then
15487 cat >>confdefs.h <<_ACEOF
15488 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15489 _ACEOF
15490
15491 fi
15492 done
15493
15494 fi
15495 fi
15496
15497
15498
15499
15500
15501
15502 echo "$as_me:$LINENO: checking for logf declaration" >&5
15503 echo $ECHO_N "checking for logf declaration... $ECHO_C" >&6
15504 if test x${glibcxx_cv_func_logf_use+set} != xset; then
15505 if test "${glibcxx_cv_func_logf_use+set}" = set; then
15506 echo $ECHO_N "(cached) $ECHO_C" >&6
15507 else
15508
15509
15510
15511 ac_ext=cc
15512 ac_cpp='$CXXCPP $CPPFLAGS'
15513 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15514 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15515 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15516
15517 cat >conftest.$ac_ext <<_ACEOF
15518 /* confdefs.h. */
15519 _ACEOF
15520 cat confdefs.h >>conftest.$ac_ext
15521 cat >>conftest.$ac_ext <<_ACEOF
15522 /* end confdefs.h. */
15523 #include <math.h>
15524 #ifdef HAVE_IEEEFP_H
15525 #include <ieeefp.h>
15526 #endif
15527
15528 int
15529 main ()
15530 {
15531 logf(0);
15532 ;
15533 return 0;
15534 }
15535 _ACEOF
15536 rm -f conftest.$ac_objext
15537 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15538 (eval $ac_compile) 2>conftest.er1
15539 ac_status=$?
15540 grep -v '^ *+' conftest.er1 >conftest.err
15541 rm -f conftest.er1
15542 cat conftest.err >&5
15543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15544 (exit $ac_status); } &&
15545 { ac_try='test -z "$ac_cxx_werror_flag"
15546 || test ! -s conftest.err'
15547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15548 (eval $ac_try) 2>&5
15549 ac_status=$?
15550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15551 (exit $ac_status); }; } &&
15552 { ac_try='test -s conftest.$ac_objext'
15553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15554 (eval $ac_try) 2>&5
15555 ac_status=$?
15556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15557 (exit $ac_status); }; }; then
15558 glibcxx_cv_func_logf_use=yes
15559 else
15560 echo "$as_me: failed program was:" >&5
15561 sed 's/^/| /' conftest.$ac_ext >&5
15562
15563 glibcxx_cv_func_logf_use=no
15564 fi
15565 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15566 ac_ext=c
15567 ac_cpp='$CPP $CPPFLAGS'
15568 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15569 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15570 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15571
15572
15573 fi
15574
15575 fi
15576 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logf_use" >&5
15577 echo "${ECHO_T}$glibcxx_cv_func_logf_use" >&6
15578
15579 if test x$glibcxx_cv_func_logf_use = x"yes"; then
15580
15581 for ac_func in logf
15582 do
15583 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15584 echo "$as_me:$LINENO: checking for $ac_func" >&5
15585 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15586 if eval "test \"\${$as_ac_var+set}\" = set"; then
15587 echo $ECHO_N "(cached) $ECHO_C" >&6
15588 else
15589 if test x$gcc_no_link = xyes; then
15590 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15591 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15592 { (exit 1); exit 1; }; }
15593 fi
15594 cat >conftest.$ac_ext <<_ACEOF
15595 /* confdefs.h. */
15596 _ACEOF
15597 cat confdefs.h >>conftest.$ac_ext
15598 cat >>conftest.$ac_ext <<_ACEOF
15599 /* end confdefs.h. */
15600 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15601 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15602 #define $ac_func innocuous_$ac_func
15603
15604 /* System header to define __stub macros and hopefully few prototypes,
15605 which can conflict with char $ac_func (); below.
15606 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15607 <limits.h> exists even on freestanding compilers. */
15608
15609 #ifdef __STDC__
15610 # include <limits.h>
15611 #else
15612 # include <assert.h>
15613 #endif
15614
15615 #undef $ac_func
15616
15617 /* Override any gcc2 internal prototype to avoid an error. */
15618 #ifdef __cplusplus
15619 extern "C"
15620 {
15621 #endif
15622 /* We use char because int might match the return type of a gcc2
15623 builtin and then its argument prototype would still apply. */
15624 char $ac_func ();
15625 /* The GNU C library defines this for functions which it implements
15626 to always fail with ENOSYS. Some functions are actually named
15627 something starting with __ and the normal name is an alias. */
15628 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15629 choke me
15630 #else
15631 char (*f) () = $ac_func;
15632 #endif
15633 #ifdef __cplusplus
15634 }
15635 #endif
15636
15637 int
15638 main ()
15639 {
15640 return f != $ac_func;
15641 ;
15642 return 0;
15643 }
15644 _ACEOF
15645 rm -f conftest.$ac_objext conftest$ac_exeext
15646 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15647 (eval $ac_link) 2>conftest.er1
15648 ac_status=$?
15649 grep -v '^ *+' conftest.er1 >conftest.err
15650 rm -f conftest.er1
15651 cat conftest.err >&5
15652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15653 (exit $ac_status); } &&
15654 { ac_try='test -z "$ac_c_werror_flag"
15655 || test ! -s conftest.err'
15656 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15657 (eval $ac_try) 2>&5
15658 ac_status=$?
15659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15660 (exit $ac_status); }; } &&
15661 { ac_try='test -s conftest$ac_exeext'
15662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15663 (eval $ac_try) 2>&5
15664 ac_status=$?
15665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15666 (exit $ac_status); }; }; then
15667 eval "$as_ac_var=yes"
15668 else
15669 echo "$as_me: failed program was:" >&5
15670 sed 's/^/| /' conftest.$ac_ext >&5
15671
15672 eval "$as_ac_var=no"
15673 fi
15674 rm -f conftest.err conftest.$ac_objext \
15675 conftest$ac_exeext conftest.$ac_ext
15676 fi
15677 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15678 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15679 if test `eval echo '${'$as_ac_var'}'` = yes; then
15680 cat >>confdefs.h <<_ACEOF
15681 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15682 _ACEOF
15683
15684 fi
15685 done
15686
15687 else
15688
15689 echo "$as_me:$LINENO: checking for _logf declaration" >&5
15690 echo $ECHO_N "checking for _logf declaration... $ECHO_C" >&6
15691 if test x${glibcxx_cv_func__logf_use+set} != xset; then
15692 if test "${glibcxx_cv_func__logf_use+set}" = set; then
15693 echo $ECHO_N "(cached) $ECHO_C" >&6
15694 else
15695
15696
15697
15698 ac_ext=cc
15699 ac_cpp='$CXXCPP $CPPFLAGS'
15700 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15701 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15702 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15703
15704 cat >conftest.$ac_ext <<_ACEOF
15705 /* confdefs.h. */
15706 _ACEOF
15707 cat confdefs.h >>conftest.$ac_ext
15708 cat >>conftest.$ac_ext <<_ACEOF
15709 /* end confdefs.h. */
15710 #include <math.h>
15711 #ifdef HAVE_IEEEFP_H
15712 #include <ieeefp.h>
15713 #endif
15714
15715 int
15716 main ()
15717 {
15718 _logf(0);
15719 ;
15720 return 0;
15721 }
15722 _ACEOF
15723 rm -f conftest.$ac_objext
15724 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15725 (eval $ac_compile) 2>conftest.er1
15726 ac_status=$?
15727 grep -v '^ *+' conftest.er1 >conftest.err
15728 rm -f conftest.er1
15729 cat conftest.err >&5
15730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15731 (exit $ac_status); } &&
15732 { ac_try='test -z "$ac_cxx_werror_flag"
15733 || test ! -s conftest.err'
15734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15735 (eval $ac_try) 2>&5
15736 ac_status=$?
15737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15738 (exit $ac_status); }; } &&
15739 { ac_try='test -s conftest.$ac_objext'
15740 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15741 (eval $ac_try) 2>&5
15742 ac_status=$?
15743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15744 (exit $ac_status); }; }; then
15745 glibcxx_cv_func__logf_use=yes
15746 else
15747 echo "$as_me: failed program was:" >&5
15748 sed 's/^/| /' conftest.$ac_ext >&5
15749
15750 glibcxx_cv_func__logf_use=no
15751 fi
15752 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15753 ac_ext=c
15754 ac_cpp='$CPP $CPPFLAGS'
15755 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15756 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15757 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15758
15759
15760 fi
15761
15762 fi
15763 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logf_use" >&5
15764 echo "${ECHO_T}$glibcxx_cv_func__logf_use" >&6
15765
15766 if test x$glibcxx_cv_func__logf_use = x"yes"; then
15767
15768 for ac_func in _logf
15769 do
15770 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15771 echo "$as_me:$LINENO: checking for $ac_func" >&5
15772 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15773 if eval "test \"\${$as_ac_var+set}\" = set"; then
15774 echo $ECHO_N "(cached) $ECHO_C" >&6
15775 else
15776 if test x$gcc_no_link = xyes; then
15777 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15778 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15779 { (exit 1); exit 1; }; }
15780 fi
15781 cat >conftest.$ac_ext <<_ACEOF
15782 /* confdefs.h. */
15783 _ACEOF
15784 cat confdefs.h >>conftest.$ac_ext
15785 cat >>conftest.$ac_ext <<_ACEOF
15786 /* end confdefs.h. */
15787 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15788 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15789 #define $ac_func innocuous_$ac_func
15790
15791 /* System header to define __stub macros and hopefully few prototypes,
15792 which can conflict with char $ac_func (); below.
15793 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15794 <limits.h> exists even on freestanding compilers. */
15795
15796 #ifdef __STDC__
15797 # include <limits.h>
15798 #else
15799 # include <assert.h>
15800 #endif
15801
15802 #undef $ac_func
15803
15804 /* Override any gcc2 internal prototype to avoid an error. */
15805 #ifdef __cplusplus
15806 extern "C"
15807 {
15808 #endif
15809 /* We use char because int might match the return type of a gcc2
15810 builtin and then its argument prototype would still apply. */
15811 char $ac_func ();
15812 /* The GNU C library defines this for functions which it implements
15813 to always fail with ENOSYS. Some functions are actually named
15814 something starting with __ and the normal name is an alias. */
15815 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15816 choke me
15817 #else
15818 char (*f) () = $ac_func;
15819 #endif
15820 #ifdef __cplusplus
15821 }
15822 #endif
15823
15824 int
15825 main ()
15826 {
15827 return f != $ac_func;
15828 ;
15829 return 0;
15830 }
15831 _ACEOF
15832 rm -f conftest.$ac_objext conftest$ac_exeext
15833 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15834 (eval $ac_link) 2>conftest.er1
15835 ac_status=$?
15836 grep -v '^ *+' conftest.er1 >conftest.err
15837 rm -f conftest.er1
15838 cat conftest.err >&5
15839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15840 (exit $ac_status); } &&
15841 { ac_try='test -z "$ac_c_werror_flag"
15842 || test ! -s conftest.err'
15843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15844 (eval $ac_try) 2>&5
15845 ac_status=$?
15846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15847 (exit $ac_status); }; } &&
15848 { ac_try='test -s conftest$ac_exeext'
15849 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15850 (eval $ac_try) 2>&5
15851 ac_status=$?
15852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15853 (exit $ac_status); }; }; then
15854 eval "$as_ac_var=yes"
15855 else
15856 echo "$as_me: failed program was:" >&5
15857 sed 's/^/| /' conftest.$ac_ext >&5
15858
15859 eval "$as_ac_var=no"
15860 fi
15861 rm -f conftest.err conftest.$ac_objext \
15862 conftest$ac_exeext conftest.$ac_ext
15863 fi
15864 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15865 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15866 if test `eval echo '${'$as_ac_var'}'` = yes; then
15867 cat >>confdefs.h <<_ACEOF
15868 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15869 _ACEOF
15870
15871 fi
15872 done
15873
15874 fi
15875 fi
15876
15877
15878
15879
15880
15881
15882 echo "$as_me:$LINENO: checking for log10f declaration" >&5
15883 echo $ECHO_N "checking for log10f declaration... $ECHO_C" >&6
15884 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
15885 if test "${glibcxx_cv_func_log10f_use+set}" = set; then
15886 echo $ECHO_N "(cached) $ECHO_C" >&6
15887 else
15888
15889
15890
15891 ac_ext=cc
15892 ac_cpp='$CXXCPP $CPPFLAGS'
15893 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15894 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15895 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15896
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 #include <math.h>
15904 #ifdef HAVE_IEEEFP_H
15905 #include <ieeefp.h>
15906 #endif
15907
15908 int
15909 main ()
15910 {
15911 log10f(0);
15912 ;
15913 return 0;
15914 }
15915 _ACEOF
15916 rm -f conftest.$ac_objext
15917 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15918 (eval $ac_compile) 2>conftest.er1
15919 ac_status=$?
15920 grep -v '^ *+' conftest.er1 >conftest.err
15921 rm -f conftest.er1
15922 cat conftest.err >&5
15923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15924 (exit $ac_status); } &&
15925 { ac_try='test -z "$ac_cxx_werror_flag"
15926 || test ! -s conftest.err'
15927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15928 (eval $ac_try) 2>&5
15929 ac_status=$?
15930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15931 (exit $ac_status); }; } &&
15932 { ac_try='test -s conftest.$ac_objext'
15933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15934 (eval $ac_try) 2>&5
15935 ac_status=$?
15936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15937 (exit $ac_status); }; }; then
15938 glibcxx_cv_func_log10f_use=yes
15939 else
15940 echo "$as_me: failed program was:" >&5
15941 sed 's/^/| /' conftest.$ac_ext >&5
15942
15943 glibcxx_cv_func_log10f_use=no
15944 fi
15945 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15946 ac_ext=c
15947 ac_cpp='$CPP $CPPFLAGS'
15948 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15949 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15950 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15951
15952
15953 fi
15954
15955 fi
15956 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10f_use" >&5
15957 echo "${ECHO_T}$glibcxx_cv_func_log10f_use" >&6
15958
15959 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
15960
15961 for ac_func in log10f
15962 do
15963 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15964 echo "$as_me:$LINENO: checking for $ac_func" >&5
15965 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15966 if eval "test \"\${$as_ac_var+set}\" = set"; then
15967 echo $ECHO_N "(cached) $ECHO_C" >&6
15968 else
15969 if test x$gcc_no_link = xyes; then
15970 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15971 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15972 { (exit 1); exit 1; }; }
15973 fi
15974 cat >conftest.$ac_ext <<_ACEOF
15975 /* confdefs.h. */
15976 _ACEOF
15977 cat confdefs.h >>conftest.$ac_ext
15978 cat >>conftest.$ac_ext <<_ACEOF
15979 /* end confdefs.h. */
15980 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15981 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15982 #define $ac_func innocuous_$ac_func
15983
15984 /* System header to define __stub macros and hopefully few prototypes,
15985 which can conflict with char $ac_func (); below.
15986 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15987 <limits.h> exists even on freestanding compilers. */
15988
15989 #ifdef __STDC__
15990 # include <limits.h>
15991 #else
15992 # include <assert.h>
15993 #endif
15994
15995 #undef $ac_func
15996
15997 /* Override any gcc2 internal prototype to avoid an error. */
15998 #ifdef __cplusplus
15999 extern "C"
16000 {
16001 #endif
16002 /* We use char because int might match the return type of a gcc2
16003 builtin and then its argument prototype would still apply. */
16004 char $ac_func ();
16005 /* The GNU C library defines this for functions which it implements
16006 to always fail with ENOSYS. Some functions are actually named
16007 something starting with __ and the normal name is an alias. */
16008 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16009 choke me
16010 #else
16011 char (*f) () = $ac_func;
16012 #endif
16013 #ifdef __cplusplus
16014 }
16015 #endif
16016
16017 int
16018 main ()
16019 {
16020 return f != $ac_func;
16021 ;
16022 return 0;
16023 }
16024 _ACEOF
16025 rm -f conftest.$ac_objext conftest$ac_exeext
16026 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16027 (eval $ac_link) 2>conftest.er1
16028 ac_status=$?
16029 grep -v '^ *+' conftest.er1 >conftest.err
16030 rm -f conftest.er1
16031 cat conftest.err >&5
16032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16033 (exit $ac_status); } &&
16034 { ac_try='test -z "$ac_c_werror_flag"
16035 || test ! -s conftest.err'
16036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16037 (eval $ac_try) 2>&5
16038 ac_status=$?
16039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16040 (exit $ac_status); }; } &&
16041 { ac_try='test -s conftest$ac_exeext'
16042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16043 (eval $ac_try) 2>&5
16044 ac_status=$?
16045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16046 (exit $ac_status); }; }; then
16047 eval "$as_ac_var=yes"
16048 else
16049 echo "$as_me: failed program was:" >&5
16050 sed 's/^/| /' conftest.$ac_ext >&5
16051
16052 eval "$as_ac_var=no"
16053 fi
16054 rm -f conftest.err conftest.$ac_objext \
16055 conftest$ac_exeext conftest.$ac_ext
16056 fi
16057 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16058 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16059 if test `eval echo '${'$as_ac_var'}'` = yes; then
16060 cat >>confdefs.h <<_ACEOF
16061 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16062 _ACEOF
16063
16064 fi
16065 done
16066
16067 else
16068
16069 echo "$as_me:$LINENO: checking for _log10f declaration" >&5
16070 echo $ECHO_N "checking for _log10f declaration... $ECHO_C" >&6
16071 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
16072 if test "${glibcxx_cv_func__log10f_use+set}" = set; then
16073 echo $ECHO_N "(cached) $ECHO_C" >&6
16074 else
16075
16076
16077
16078 ac_ext=cc
16079 ac_cpp='$CXXCPP $CPPFLAGS'
16080 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16081 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16082 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16083
16084 cat >conftest.$ac_ext <<_ACEOF
16085 /* confdefs.h. */
16086 _ACEOF
16087 cat confdefs.h >>conftest.$ac_ext
16088 cat >>conftest.$ac_ext <<_ACEOF
16089 /* end confdefs.h. */
16090 #include <math.h>
16091 #ifdef HAVE_IEEEFP_H
16092 #include <ieeefp.h>
16093 #endif
16094
16095 int
16096 main ()
16097 {
16098 _log10f(0);
16099 ;
16100 return 0;
16101 }
16102 _ACEOF
16103 rm -f conftest.$ac_objext
16104 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16105 (eval $ac_compile) 2>conftest.er1
16106 ac_status=$?
16107 grep -v '^ *+' conftest.er1 >conftest.err
16108 rm -f conftest.er1
16109 cat conftest.err >&5
16110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16111 (exit $ac_status); } &&
16112 { ac_try='test -z "$ac_cxx_werror_flag"
16113 || test ! -s conftest.err'
16114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16115 (eval $ac_try) 2>&5
16116 ac_status=$?
16117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16118 (exit $ac_status); }; } &&
16119 { ac_try='test -s conftest.$ac_objext'
16120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16121 (eval $ac_try) 2>&5
16122 ac_status=$?
16123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16124 (exit $ac_status); }; }; then
16125 glibcxx_cv_func__log10f_use=yes
16126 else
16127 echo "$as_me: failed program was:" >&5
16128 sed 's/^/| /' conftest.$ac_ext >&5
16129
16130 glibcxx_cv_func__log10f_use=no
16131 fi
16132 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16133 ac_ext=c
16134 ac_cpp='$CPP $CPPFLAGS'
16135 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16136 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16137 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16138
16139
16140 fi
16141
16142 fi
16143 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10f_use" >&5
16144 echo "${ECHO_T}$glibcxx_cv_func__log10f_use" >&6
16145
16146 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
16147
16148 for ac_func in _log10f
16149 do
16150 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16151 echo "$as_me:$LINENO: checking for $ac_func" >&5
16152 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16153 if eval "test \"\${$as_ac_var+set}\" = set"; then
16154 echo $ECHO_N "(cached) $ECHO_C" >&6
16155 else
16156 if test x$gcc_no_link = xyes; then
16157 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16158 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16159 { (exit 1); exit 1; }; }
16160 fi
16161 cat >conftest.$ac_ext <<_ACEOF
16162 /* confdefs.h. */
16163 _ACEOF
16164 cat confdefs.h >>conftest.$ac_ext
16165 cat >>conftest.$ac_ext <<_ACEOF
16166 /* end confdefs.h. */
16167 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16168 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16169 #define $ac_func innocuous_$ac_func
16170
16171 /* System header to define __stub macros and hopefully few prototypes,
16172 which can conflict with char $ac_func (); below.
16173 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16174 <limits.h> exists even on freestanding compilers. */
16175
16176 #ifdef __STDC__
16177 # include <limits.h>
16178 #else
16179 # include <assert.h>
16180 #endif
16181
16182 #undef $ac_func
16183
16184 /* Override any gcc2 internal prototype to avoid an error. */
16185 #ifdef __cplusplus
16186 extern "C"
16187 {
16188 #endif
16189 /* We use char because int might match the return type of a gcc2
16190 builtin and then its argument prototype would still apply. */
16191 char $ac_func ();
16192 /* The GNU C library defines this for functions which it implements
16193 to always fail with ENOSYS. Some functions are actually named
16194 something starting with __ and the normal name is an alias. */
16195 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16196 choke me
16197 #else
16198 char (*f) () = $ac_func;
16199 #endif
16200 #ifdef __cplusplus
16201 }
16202 #endif
16203
16204 int
16205 main ()
16206 {
16207 return f != $ac_func;
16208 ;
16209 return 0;
16210 }
16211 _ACEOF
16212 rm -f conftest.$ac_objext conftest$ac_exeext
16213 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16214 (eval $ac_link) 2>conftest.er1
16215 ac_status=$?
16216 grep -v '^ *+' conftest.er1 >conftest.err
16217 rm -f conftest.er1
16218 cat conftest.err >&5
16219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16220 (exit $ac_status); } &&
16221 { ac_try='test -z "$ac_c_werror_flag"
16222 || test ! -s conftest.err'
16223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16224 (eval $ac_try) 2>&5
16225 ac_status=$?
16226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16227 (exit $ac_status); }; } &&
16228 { ac_try='test -s conftest$ac_exeext'
16229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16230 (eval $ac_try) 2>&5
16231 ac_status=$?
16232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16233 (exit $ac_status); }; }; then
16234 eval "$as_ac_var=yes"
16235 else
16236 echo "$as_me: failed program was:" >&5
16237 sed 's/^/| /' conftest.$ac_ext >&5
16238
16239 eval "$as_ac_var=no"
16240 fi
16241 rm -f conftest.err conftest.$ac_objext \
16242 conftest$ac_exeext conftest.$ac_ext
16243 fi
16244 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16245 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16246 if test `eval echo '${'$as_ac_var'}'` = yes; then
16247 cat >>confdefs.h <<_ACEOF
16248 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16249 _ACEOF
16250
16251 fi
16252 done
16253
16254 fi
16255 fi
16256
16257
16258
16259
16260
16261
16262 echo "$as_me:$LINENO: checking for modff declaration" >&5
16263 echo $ECHO_N "checking for modff declaration... $ECHO_C" >&6
16264 if test x${glibcxx_cv_func_modff_use+set} != xset; then
16265 if test "${glibcxx_cv_func_modff_use+set}" = set; then
16266 echo $ECHO_N "(cached) $ECHO_C" >&6
16267 else
16268
16269
16270
16271 ac_ext=cc
16272 ac_cpp='$CXXCPP $CPPFLAGS'
16273 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16274 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16275 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16276
16277 cat >conftest.$ac_ext <<_ACEOF
16278 /* confdefs.h. */
16279 _ACEOF
16280 cat confdefs.h >>conftest.$ac_ext
16281 cat >>conftest.$ac_ext <<_ACEOF
16282 /* end confdefs.h. */
16283 #include <math.h>
16284 int
16285 main ()
16286 {
16287 modff(0, 0);
16288 ;
16289 return 0;
16290 }
16291 _ACEOF
16292 rm -f conftest.$ac_objext
16293 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16294 (eval $ac_compile) 2>conftest.er1
16295 ac_status=$?
16296 grep -v '^ *+' conftest.er1 >conftest.err
16297 rm -f conftest.er1
16298 cat conftest.err >&5
16299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16300 (exit $ac_status); } &&
16301 { ac_try='test -z "$ac_cxx_werror_flag"
16302 || test ! -s conftest.err'
16303 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16304 (eval $ac_try) 2>&5
16305 ac_status=$?
16306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16307 (exit $ac_status); }; } &&
16308 { ac_try='test -s conftest.$ac_objext'
16309 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16310 (eval $ac_try) 2>&5
16311 ac_status=$?
16312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16313 (exit $ac_status); }; }; then
16314 glibcxx_cv_func_modff_use=yes
16315 else
16316 echo "$as_me: failed program was:" >&5
16317 sed 's/^/| /' conftest.$ac_ext >&5
16318
16319 glibcxx_cv_func_modff_use=no
16320 fi
16321 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16322 ac_ext=c
16323 ac_cpp='$CPP $CPPFLAGS'
16324 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16325 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16326 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16327
16328
16329 fi
16330
16331 fi
16332 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modff_use" >&5
16333 echo "${ECHO_T}$glibcxx_cv_func_modff_use" >&6
16334
16335 if test x$glibcxx_cv_func_modff_use = x"yes"; then
16336
16337 for ac_func in modff
16338 do
16339 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16340 echo "$as_me:$LINENO: checking for $ac_func" >&5
16341 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16342 if eval "test \"\${$as_ac_var+set}\" = set"; then
16343 echo $ECHO_N "(cached) $ECHO_C" >&6
16344 else
16345 if test x$gcc_no_link = xyes; then
16346 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16347 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16348 { (exit 1); exit 1; }; }
16349 fi
16350 cat >conftest.$ac_ext <<_ACEOF
16351 /* confdefs.h. */
16352 _ACEOF
16353 cat confdefs.h >>conftest.$ac_ext
16354 cat >>conftest.$ac_ext <<_ACEOF
16355 /* end confdefs.h. */
16356 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16357 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16358 #define $ac_func innocuous_$ac_func
16359
16360 /* System header to define __stub macros and hopefully few prototypes,
16361 which can conflict with char $ac_func (); below.
16362 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16363 <limits.h> exists even on freestanding compilers. */
16364
16365 #ifdef __STDC__
16366 # include <limits.h>
16367 #else
16368 # include <assert.h>
16369 #endif
16370
16371 #undef $ac_func
16372
16373 /* Override any gcc2 internal prototype to avoid an error. */
16374 #ifdef __cplusplus
16375 extern "C"
16376 {
16377 #endif
16378 /* We use char because int might match the return type of a gcc2
16379 builtin and then its argument prototype would still apply. */
16380 char $ac_func ();
16381 /* The GNU C library defines this for functions which it implements
16382 to always fail with ENOSYS. Some functions are actually named
16383 something starting with __ and the normal name is an alias. */
16384 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16385 choke me
16386 #else
16387 char (*f) () = $ac_func;
16388 #endif
16389 #ifdef __cplusplus
16390 }
16391 #endif
16392
16393 int
16394 main ()
16395 {
16396 return f != $ac_func;
16397 ;
16398 return 0;
16399 }
16400 _ACEOF
16401 rm -f conftest.$ac_objext conftest$ac_exeext
16402 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16403 (eval $ac_link) 2>conftest.er1
16404 ac_status=$?
16405 grep -v '^ *+' conftest.er1 >conftest.err
16406 rm -f conftest.er1
16407 cat conftest.err >&5
16408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16409 (exit $ac_status); } &&
16410 { ac_try='test -z "$ac_c_werror_flag"
16411 || test ! -s conftest.err'
16412 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16413 (eval $ac_try) 2>&5
16414 ac_status=$?
16415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16416 (exit $ac_status); }; } &&
16417 { ac_try='test -s conftest$ac_exeext'
16418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16419 (eval $ac_try) 2>&5
16420 ac_status=$?
16421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16422 (exit $ac_status); }; }; then
16423 eval "$as_ac_var=yes"
16424 else
16425 echo "$as_me: failed program was:" >&5
16426 sed 's/^/| /' conftest.$ac_ext >&5
16427
16428 eval "$as_ac_var=no"
16429 fi
16430 rm -f conftest.err conftest.$ac_objext \
16431 conftest$ac_exeext conftest.$ac_ext
16432 fi
16433 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16434 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16435 if test `eval echo '${'$as_ac_var'}'` = yes; then
16436 cat >>confdefs.h <<_ACEOF
16437 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16438 _ACEOF
16439
16440 fi
16441 done
16442
16443 else
16444
16445 echo "$as_me:$LINENO: checking for _modff declaration" >&5
16446 echo $ECHO_N "checking for _modff declaration... $ECHO_C" >&6
16447 if test x${glibcxx_cv_func__modff_use+set} != xset; then
16448 if test "${glibcxx_cv_func__modff_use+set}" = set; then
16449 echo $ECHO_N "(cached) $ECHO_C" >&6
16450 else
16451
16452
16453
16454 ac_ext=cc
16455 ac_cpp='$CXXCPP $CPPFLAGS'
16456 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16457 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16458 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16459
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 #include <math.h>
16467 int
16468 main ()
16469 {
16470 _modff(0, 0);
16471 ;
16472 return 0;
16473 }
16474 _ACEOF
16475 rm -f conftest.$ac_objext
16476 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16477 (eval $ac_compile) 2>conftest.er1
16478 ac_status=$?
16479 grep -v '^ *+' conftest.er1 >conftest.err
16480 rm -f conftest.er1
16481 cat conftest.err >&5
16482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16483 (exit $ac_status); } &&
16484 { ac_try='test -z "$ac_cxx_werror_flag"
16485 || test ! -s conftest.err'
16486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16487 (eval $ac_try) 2>&5
16488 ac_status=$?
16489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16490 (exit $ac_status); }; } &&
16491 { ac_try='test -s conftest.$ac_objext'
16492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16493 (eval $ac_try) 2>&5
16494 ac_status=$?
16495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16496 (exit $ac_status); }; }; then
16497 glibcxx_cv_func__modff_use=yes
16498 else
16499 echo "$as_me: failed program was:" >&5
16500 sed 's/^/| /' conftest.$ac_ext >&5
16501
16502 glibcxx_cv_func__modff_use=no
16503 fi
16504 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16505 ac_ext=c
16506 ac_cpp='$CPP $CPPFLAGS'
16507 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16508 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16509 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16510
16511
16512 fi
16513
16514 fi
16515 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modff_use" >&5
16516 echo "${ECHO_T}$glibcxx_cv_func__modff_use" >&6
16517
16518 if test x$glibcxx_cv_func__modff_use = x"yes"; then
16519
16520 for ac_func in _modff
16521 do
16522 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16523 echo "$as_me:$LINENO: checking for $ac_func" >&5
16524 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16525 if eval "test \"\${$as_ac_var+set}\" = set"; then
16526 echo $ECHO_N "(cached) $ECHO_C" >&6
16527 else
16528 if test x$gcc_no_link = xyes; then
16529 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16530 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16531 { (exit 1); exit 1; }; }
16532 fi
16533 cat >conftest.$ac_ext <<_ACEOF
16534 /* confdefs.h. */
16535 _ACEOF
16536 cat confdefs.h >>conftest.$ac_ext
16537 cat >>conftest.$ac_ext <<_ACEOF
16538 /* end confdefs.h. */
16539 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16540 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16541 #define $ac_func innocuous_$ac_func
16542
16543 /* System header to define __stub macros and hopefully few prototypes,
16544 which can conflict with char $ac_func (); below.
16545 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16546 <limits.h> exists even on freestanding compilers. */
16547
16548 #ifdef __STDC__
16549 # include <limits.h>
16550 #else
16551 # include <assert.h>
16552 #endif
16553
16554 #undef $ac_func
16555
16556 /* Override any gcc2 internal prototype to avoid an error. */
16557 #ifdef __cplusplus
16558 extern "C"
16559 {
16560 #endif
16561 /* We use char because int might match the return type of a gcc2
16562 builtin and then its argument prototype would still apply. */
16563 char $ac_func ();
16564 /* The GNU C library defines this for functions which it implements
16565 to always fail with ENOSYS. Some functions are actually named
16566 something starting with __ and the normal name is an alias. */
16567 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16568 choke me
16569 #else
16570 char (*f) () = $ac_func;
16571 #endif
16572 #ifdef __cplusplus
16573 }
16574 #endif
16575
16576 int
16577 main ()
16578 {
16579 return f != $ac_func;
16580 ;
16581 return 0;
16582 }
16583 _ACEOF
16584 rm -f conftest.$ac_objext conftest$ac_exeext
16585 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16586 (eval $ac_link) 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_c_werror_flag"
16594 || test ! -s conftest.err'
16595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16596 (eval $ac_try) 2>&5
16597 ac_status=$?
16598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16599 (exit $ac_status); }; } &&
16600 { ac_try='test -s conftest$ac_exeext'
16601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16602 (eval $ac_try) 2>&5
16603 ac_status=$?
16604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16605 (exit $ac_status); }; }; then
16606 eval "$as_ac_var=yes"
16607 else
16608 echo "$as_me: failed program was:" >&5
16609 sed 's/^/| /' conftest.$ac_ext >&5
16610
16611 eval "$as_ac_var=no"
16612 fi
16613 rm -f conftest.err conftest.$ac_objext \
16614 conftest$ac_exeext conftest.$ac_ext
16615 fi
16616 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16617 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16618 if test `eval echo '${'$as_ac_var'}'` = yes; then
16619 cat >>confdefs.h <<_ACEOF
16620 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16621 _ACEOF
16622
16623 fi
16624 done
16625
16626 fi
16627 fi
16628
16629
16630
16631
16632
16633
16634 echo "$as_me:$LINENO: checking for modf declaration" >&5
16635 echo $ECHO_N "checking for modf declaration... $ECHO_C" >&6
16636 if test x${glibcxx_cv_func_modf_use+set} != xset; then
16637 if test "${glibcxx_cv_func_modf_use+set}" = set; then
16638 echo $ECHO_N "(cached) $ECHO_C" >&6
16639 else
16640
16641
16642
16643 ac_ext=cc
16644 ac_cpp='$CXXCPP $CPPFLAGS'
16645 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16646 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16647 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16648
16649 cat >conftest.$ac_ext <<_ACEOF
16650 /* confdefs.h. */
16651 _ACEOF
16652 cat confdefs.h >>conftest.$ac_ext
16653 cat >>conftest.$ac_ext <<_ACEOF
16654 /* end confdefs.h. */
16655 #include <math.h>
16656 int
16657 main ()
16658 {
16659 modf(0, 0);
16660 ;
16661 return 0;
16662 }
16663 _ACEOF
16664 rm -f conftest.$ac_objext
16665 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16666 (eval $ac_compile) 2>conftest.er1
16667 ac_status=$?
16668 grep -v '^ *+' conftest.er1 >conftest.err
16669 rm -f conftest.er1
16670 cat conftest.err >&5
16671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16672 (exit $ac_status); } &&
16673 { ac_try='test -z "$ac_cxx_werror_flag"
16674 || test ! -s conftest.err'
16675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16676 (eval $ac_try) 2>&5
16677 ac_status=$?
16678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16679 (exit $ac_status); }; } &&
16680 { ac_try='test -s conftest.$ac_objext'
16681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16682 (eval $ac_try) 2>&5
16683 ac_status=$?
16684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16685 (exit $ac_status); }; }; then
16686 glibcxx_cv_func_modf_use=yes
16687 else
16688 echo "$as_me: failed program was:" >&5
16689 sed 's/^/| /' conftest.$ac_ext >&5
16690
16691 glibcxx_cv_func_modf_use=no
16692 fi
16693 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16694 ac_ext=c
16695 ac_cpp='$CPP $CPPFLAGS'
16696 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16697 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16698 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16699
16700
16701 fi
16702
16703 fi
16704 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modf_use" >&5
16705 echo "${ECHO_T}$glibcxx_cv_func_modf_use" >&6
16706
16707 if test x$glibcxx_cv_func_modf_use = x"yes"; then
16708
16709 for ac_func in modf
16710 do
16711 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16712 echo "$as_me:$LINENO: checking for $ac_func" >&5
16713 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16714 if eval "test \"\${$as_ac_var+set}\" = set"; then
16715 echo $ECHO_N "(cached) $ECHO_C" >&6
16716 else
16717 if test x$gcc_no_link = xyes; then
16718 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16719 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16720 { (exit 1); exit 1; }; }
16721 fi
16722 cat >conftest.$ac_ext <<_ACEOF
16723 /* confdefs.h. */
16724 _ACEOF
16725 cat confdefs.h >>conftest.$ac_ext
16726 cat >>conftest.$ac_ext <<_ACEOF
16727 /* end confdefs.h. */
16728 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16729 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16730 #define $ac_func innocuous_$ac_func
16731
16732 /* System header to define __stub macros and hopefully few prototypes,
16733 which can conflict with char $ac_func (); below.
16734 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16735 <limits.h> exists even on freestanding compilers. */
16736
16737 #ifdef __STDC__
16738 # include <limits.h>
16739 #else
16740 # include <assert.h>
16741 #endif
16742
16743 #undef $ac_func
16744
16745 /* Override any gcc2 internal prototype to avoid an error. */
16746 #ifdef __cplusplus
16747 extern "C"
16748 {
16749 #endif
16750 /* We use char because int might match the return type of a gcc2
16751 builtin and then its argument prototype would still apply. */
16752 char $ac_func ();
16753 /* The GNU C library defines this for functions which it implements
16754 to always fail with ENOSYS. Some functions are actually named
16755 something starting with __ and the normal name is an alias. */
16756 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16757 choke me
16758 #else
16759 char (*f) () = $ac_func;
16760 #endif
16761 #ifdef __cplusplus
16762 }
16763 #endif
16764
16765 int
16766 main ()
16767 {
16768 return f != $ac_func;
16769 ;
16770 return 0;
16771 }
16772 _ACEOF
16773 rm -f conftest.$ac_objext conftest$ac_exeext
16774 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16775 (eval $ac_link) 2>conftest.er1
16776 ac_status=$?
16777 grep -v '^ *+' conftest.er1 >conftest.err
16778 rm -f conftest.er1
16779 cat conftest.err >&5
16780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16781 (exit $ac_status); } &&
16782 { ac_try='test -z "$ac_c_werror_flag"
16783 || test ! -s conftest.err'
16784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16785 (eval $ac_try) 2>&5
16786 ac_status=$?
16787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16788 (exit $ac_status); }; } &&
16789 { ac_try='test -s conftest$ac_exeext'
16790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16791 (eval $ac_try) 2>&5
16792 ac_status=$?
16793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16794 (exit $ac_status); }; }; then
16795 eval "$as_ac_var=yes"
16796 else
16797 echo "$as_me: failed program was:" >&5
16798 sed 's/^/| /' conftest.$ac_ext >&5
16799
16800 eval "$as_ac_var=no"
16801 fi
16802 rm -f conftest.err conftest.$ac_objext \
16803 conftest$ac_exeext conftest.$ac_ext
16804 fi
16805 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16806 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16807 if test `eval echo '${'$as_ac_var'}'` = yes; then
16808 cat >>confdefs.h <<_ACEOF
16809 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16810 _ACEOF
16811
16812 fi
16813 done
16814
16815 else
16816
16817 echo "$as_me:$LINENO: checking for _modf declaration" >&5
16818 echo $ECHO_N "checking for _modf declaration... $ECHO_C" >&6
16819 if test x${glibcxx_cv_func__modf_use+set} != xset; then
16820 if test "${glibcxx_cv_func__modf_use+set}" = set; then
16821 echo $ECHO_N "(cached) $ECHO_C" >&6
16822 else
16823
16824
16825
16826 ac_ext=cc
16827 ac_cpp='$CXXCPP $CPPFLAGS'
16828 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16829 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16830 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16831
16832 cat >conftest.$ac_ext <<_ACEOF
16833 /* confdefs.h. */
16834 _ACEOF
16835 cat confdefs.h >>conftest.$ac_ext
16836 cat >>conftest.$ac_ext <<_ACEOF
16837 /* end confdefs.h. */
16838 #include <math.h>
16839 int
16840 main ()
16841 {
16842 _modf(0, 0);
16843 ;
16844 return 0;
16845 }
16846 _ACEOF
16847 rm -f conftest.$ac_objext
16848 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16849 (eval $ac_compile) 2>conftest.er1
16850 ac_status=$?
16851 grep -v '^ *+' conftest.er1 >conftest.err
16852 rm -f conftest.er1
16853 cat conftest.err >&5
16854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16855 (exit $ac_status); } &&
16856 { ac_try='test -z "$ac_cxx_werror_flag"
16857 || test ! -s conftest.err'
16858 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16859 (eval $ac_try) 2>&5
16860 ac_status=$?
16861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16862 (exit $ac_status); }; } &&
16863 { ac_try='test -s conftest.$ac_objext'
16864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16865 (eval $ac_try) 2>&5
16866 ac_status=$?
16867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16868 (exit $ac_status); }; }; then
16869 glibcxx_cv_func__modf_use=yes
16870 else
16871 echo "$as_me: failed program was:" >&5
16872 sed 's/^/| /' conftest.$ac_ext >&5
16873
16874 glibcxx_cv_func__modf_use=no
16875 fi
16876 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16877 ac_ext=c
16878 ac_cpp='$CPP $CPPFLAGS'
16879 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16880 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16881 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16882
16883
16884 fi
16885
16886 fi
16887 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modf_use" >&5
16888 echo "${ECHO_T}$glibcxx_cv_func__modf_use" >&6
16889
16890 if test x$glibcxx_cv_func__modf_use = x"yes"; then
16891
16892 for ac_func in _modf
16893 do
16894 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16895 echo "$as_me:$LINENO: checking for $ac_func" >&5
16896 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16897 if eval "test \"\${$as_ac_var+set}\" = set"; then
16898 echo $ECHO_N "(cached) $ECHO_C" >&6
16899 else
16900 if test x$gcc_no_link = xyes; then
16901 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16902 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16903 { (exit 1); exit 1; }; }
16904 fi
16905 cat >conftest.$ac_ext <<_ACEOF
16906 /* confdefs.h. */
16907 _ACEOF
16908 cat confdefs.h >>conftest.$ac_ext
16909 cat >>conftest.$ac_ext <<_ACEOF
16910 /* end confdefs.h. */
16911 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16912 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16913 #define $ac_func innocuous_$ac_func
16914
16915 /* System header to define __stub macros and hopefully few prototypes,
16916 which can conflict with char $ac_func (); below.
16917 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16918 <limits.h> exists even on freestanding compilers. */
16919
16920 #ifdef __STDC__
16921 # include <limits.h>
16922 #else
16923 # include <assert.h>
16924 #endif
16925
16926 #undef $ac_func
16927
16928 /* Override any gcc2 internal prototype to avoid an error. */
16929 #ifdef __cplusplus
16930 extern "C"
16931 {
16932 #endif
16933 /* We use char because int might match the return type of a gcc2
16934 builtin and then its argument prototype would still apply. */
16935 char $ac_func ();
16936 /* The GNU C library defines this for functions which it implements
16937 to always fail with ENOSYS. Some functions are actually named
16938 something starting with __ and the normal name is an alias. */
16939 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16940 choke me
16941 #else
16942 char (*f) () = $ac_func;
16943 #endif
16944 #ifdef __cplusplus
16945 }
16946 #endif
16947
16948 int
16949 main ()
16950 {
16951 return f != $ac_func;
16952 ;
16953 return 0;
16954 }
16955 _ACEOF
16956 rm -f conftest.$ac_objext conftest$ac_exeext
16957 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16958 (eval $ac_link) 2>conftest.er1
16959 ac_status=$?
16960 grep -v '^ *+' conftest.er1 >conftest.err
16961 rm -f conftest.er1
16962 cat conftest.err >&5
16963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16964 (exit $ac_status); } &&
16965 { ac_try='test -z "$ac_c_werror_flag"
16966 || test ! -s conftest.err'
16967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16968 (eval $ac_try) 2>&5
16969 ac_status=$?
16970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16971 (exit $ac_status); }; } &&
16972 { ac_try='test -s conftest$ac_exeext'
16973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16974 (eval $ac_try) 2>&5
16975 ac_status=$?
16976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16977 (exit $ac_status); }; }; then
16978 eval "$as_ac_var=yes"
16979 else
16980 echo "$as_me: failed program was:" >&5
16981 sed 's/^/| /' conftest.$ac_ext >&5
16982
16983 eval "$as_ac_var=no"
16984 fi
16985 rm -f conftest.err conftest.$ac_objext \
16986 conftest$ac_exeext conftest.$ac_ext
16987 fi
16988 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16989 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16990 if test `eval echo '${'$as_ac_var'}'` = yes; then
16991 cat >>confdefs.h <<_ACEOF
16992 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16993 _ACEOF
16994
16995 fi
16996 done
16997
16998 fi
16999 fi
17000
17001
17002
17003
17004
17005
17006 echo "$as_me:$LINENO: checking for powf declaration" >&5
17007 echo $ECHO_N "checking for powf declaration... $ECHO_C" >&6
17008 if test x${glibcxx_cv_func_powf_use+set} != xset; then
17009 if test "${glibcxx_cv_func_powf_use+set}" = set; then
17010 echo $ECHO_N "(cached) $ECHO_C" >&6
17011 else
17012
17013
17014
17015 ac_ext=cc
17016 ac_cpp='$CXXCPP $CPPFLAGS'
17017 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17018 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17019 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17020
17021 cat >conftest.$ac_ext <<_ACEOF
17022 /* confdefs.h. */
17023 _ACEOF
17024 cat confdefs.h >>conftest.$ac_ext
17025 cat >>conftest.$ac_ext <<_ACEOF
17026 /* end confdefs.h. */
17027 #include <math.h>
17028 int
17029 main ()
17030 {
17031 powf(0, 0);
17032 ;
17033 return 0;
17034 }
17035 _ACEOF
17036 rm -f conftest.$ac_objext
17037 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17038 (eval $ac_compile) 2>conftest.er1
17039 ac_status=$?
17040 grep -v '^ *+' conftest.er1 >conftest.err
17041 rm -f conftest.er1
17042 cat conftest.err >&5
17043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17044 (exit $ac_status); } &&
17045 { ac_try='test -z "$ac_cxx_werror_flag"
17046 || test ! -s conftest.err'
17047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17048 (eval $ac_try) 2>&5
17049 ac_status=$?
17050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17051 (exit $ac_status); }; } &&
17052 { ac_try='test -s conftest.$ac_objext'
17053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17054 (eval $ac_try) 2>&5
17055 ac_status=$?
17056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17057 (exit $ac_status); }; }; then
17058 glibcxx_cv_func_powf_use=yes
17059 else
17060 echo "$as_me: failed program was:" >&5
17061 sed 's/^/| /' conftest.$ac_ext >&5
17062
17063 glibcxx_cv_func_powf_use=no
17064 fi
17065 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17066 ac_ext=c
17067 ac_cpp='$CPP $CPPFLAGS'
17068 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17069 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17070 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17071
17072
17073 fi
17074
17075 fi
17076 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powf_use" >&5
17077 echo "${ECHO_T}$glibcxx_cv_func_powf_use" >&6
17078
17079 if test x$glibcxx_cv_func_powf_use = x"yes"; then
17080
17081 for ac_func in powf
17082 do
17083 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17084 echo "$as_me:$LINENO: checking for $ac_func" >&5
17085 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17086 if eval "test \"\${$as_ac_var+set}\" = set"; then
17087 echo $ECHO_N "(cached) $ECHO_C" >&6
17088 else
17089 if test x$gcc_no_link = xyes; then
17090 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17091 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17092 { (exit 1); exit 1; }; }
17093 fi
17094 cat >conftest.$ac_ext <<_ACEOF
17095 /* confdefs.h. */
17096 _ACEOF
17097 cat confdefs.h >>conftest.$ac_ext
17098 cat >>conftest.$ac_ext <<_ACEOF
17099 /* end confdefs.h. */
17100 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17101 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17102 #define $ac_func innocuous_$ac_func
17103
17104 /* System header to define __stub macros and hopefully few prototypes,
17105 which can conflict with char $ac_func (); below.
17106 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17107 <limits.h> exists even on freestanding compilers. */
17108
17109 #ifdef __STDC__
17110 # include <limits.h>
17111 #else
17112 # include <assert.h>
17113 #endif
17114
17115 #undef $ac_func
17116
17117 /* Override any gcc2 internal prototype to avoid an error. */
17118 #ifdef __cplusplus
17119 extern "C"
17120 {
17121 #endif
17122 /* We use char because int might match the return type of a gcc2
17123 builtin and then its argument prototype would still apply. */
17124 char $ac_func ();
17125 /* The GNU C library defines this for functions which it implements
17126 to always fail with ENOSYS. Some functions are actually named
17127 something starting with __ and the normal name is an alias. */
17128 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17129 choke me
17130 #else
17131 char (*f) () = $ac_func;
17132 #endif
17133 #ifdef __cplusplus
17134 }
17135 #endif
17136
17137 int
17138 main ()
17139 {
17140 return f != $ac_func;
17141 ;
17142 return 0;
17143 }
17144 _ACEOF
17145 rm -f conftest.$ac_objext conftest$ac_exeext
17146 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17147 (eval $ac_link) 2>conftest.er1
17148 ac_status=$?
17149 grep -v '^ *+' conftest.er1 >conftest.err
17150 rm -f conftest.er1
17151 cat conftest.err >&5
17152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17153 (exit $ac_status); } &&
17154 { ac_try='test -z "$ac_c_werror_flag"
17155 || test ! -s conftest.err'
17156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17157 (eval $ac_try) 2>&5
17158 ac_status=$?
17159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17160 (exit $ac_status); }; } &&
17161 { ac_try='test -s conftest$ac_exeext'
17162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17163 (eval $ac_try) 2>&5
17164 ac_status=$?
17165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17166 (exit $ac_status); }; }; then
17167 eval "$as_ac_var=yes"
17168 else
17169 echo "$as_me: failed program was:" >&5
17170 sed 's/^/| /' conftest.$ac_ext >&5
17171
17172 eval "$as_ac_var=no"
17173 fi
17174 rm -f conftest.err conftest.$ac_objext \
17175 conftest$ac_exeext conftest.$ac_ext
17176 fi
17177 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17178 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17179 if test `eval echo '${'$as_ac_var'}'` = yes; then
17180 cat >>confdefs.h <<_ACEOF
17181 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17182 _ACEOF
17183
17184 fi
17185 done
17186
17187 else
17188
17189 echo "$as_me:$LINENO: checking for _powf declaration" >&5
17190 echo $ECHO_N "checking for _powf declaration... $ECHO_C" >&6
17191 if test x${glibcxx_cv_func__powf_use+set} != xset; then
17192 if test "${glibcxx_cv_func__powf_use+set}" = set; then
17193 echo $ECHO_N "(cached) $ECHO_C" >&6
17194 else
17195
17196
17197
17198 ac_ext=cc
17199 ac_cpp='$CXXCPP $CPPFLAGS'
17200 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17201 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17202 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17203
17204 cat >conftest.$ac_ext <<_ACEOF
17205 /* confdefs.h. */
17206 _ACEOF
17207 cat confdefs.h >>conftest.$ac_ext
17208 cat >>conftest.$ac_ext <<_ACEOF
17209 /* end confdefs.h. */
17210 #include <math.h>
17211 int
17212 main ()
17213 {
17214 _powf(0, 0);
17215 ;
17216 return 0;
17217 }
17218 _ACEOF
17219 rm -f conftest.$ac_objext
17220 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17221 (eval $ac_compile) 2>conftest.er1
17222 ac_status=$?
17223 grep -v '^ *+' conftest.er1 >conftest.err
17224 rm -f conftest.er1
17225 cat conftest.err >&5
17226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17227 (exit $ac_status); } &&
17228 { ac_try='test -z "$ac_cxx_werror_flag"
17229 || test ! -s conftest.err'
17230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17231 (eval $ac_try) 2>&5
17232 ac_status=$?
17233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17234 (exit $ac_status); }; } &&
17235 { ac_try='test -s conftest.$ac_objext'
17236 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17237 (eval $ac_try) 2>&5
17238 ac_status=$?
17239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17240 (exit $ac_status); }; }; then
17241 glibcxx_cv_func__powf_use=yes
17242 else
17243 echo "$as_me: failed program was:" >&5
17244 sed 's/^/| /' conftest.$ac_ext >&5
17245
17246 glibcxx_cv_func__powf_use=no
17247 fi
17248 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17249 ac_ext=c
17250 ac_cpp='$CPP $CPPFLAGS'
17251 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17252 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17253 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17254
17255
17256 fi
17257
17258 fi
17259 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powf_use" >&5
17260 echo "${ECHO_T}$glibcxx_cv_func__powf_use" >&6
17261
17262 if test x$glibcxx_cv_func__powf_use = x"yes"; then
17263
17264 for ac_func in _powf
17265 do
17266 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17267 echo "$as_me:$LINENO: checking for $ac_func" >&5
17268 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17269 if eval "test \"\${$as_ac_var+set}\" = set"; then
17270 echo $ECHO_N "(cached) $ECHO_C" >&6
17271 else
17272 if test x$gcc_no_link = xyes; then
17273 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17274 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17275 { (exit 1); exit 1; }; }
17276 fi
17277 cat >conftest.$ac_ext <<_ACEOF
17278 /* confdefs.h. */
17279 _ACEOF
17280 cat confdefs.h >>conftest.$ac_ext
17281 cat >>conftest.$ac_ext <<_ACEOF
17282 /* end confdefs.h. */
17283 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17284 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17285 #define $ac_func innocuous_$ac_func
17286
17287 /* System header to define __stub macros and hopefully few prototypes,
17288 which can conflict with char $ac_func (); below.
17289 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17290 <limits.h> exists even on freestanding compilers. */
17291
17292 #ifdef __STDC__
17293 # include <limits.h>
17294 #else
17295 # include <assert.h>
17296 #endif
17297
17298 #undef $ac_func
17299
17300 /* Override any gcc2 internal prototype to avoid an error. */
17301 #ifdef __cplusplus
17302 extern "C"
17303 {
17304 #endif
17305 /* We use char because int might match the return type of a gcc2
17306 builtin and then its argument prototype would still apply. */
17307 char $ac_func ();
17308 /* The GNU C library defines this for functions which it implements
17309 to always fail with ENOSYS. Some functions are actually named
17310 something starting with __ and the normal name is an alias. */
17311 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17312 choke me
17313 #else
17314 char (*f) () = $ac_func;
17315 #endif
17316 #ifdef __cplusplus
17317 }
17318 #endif
17319
17320 int
17321 main ()
17322 {
17323 return f != $ac_func;
17324 ;
17325 return 0;
17326 }
17327 _ACEOF
17328 rm -f conftest.$ac_objext conftest$ac_exeext
17329 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17330 (eval $ac_link) 2>conftest.er1
17331 ac_status=$?
17332 grep -v '^ *+' conftest.er1 >conftest.err
17333 rm -f conftest.er1
17334 cat conftest.err >&5
17335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17336 (exit $ac_status); } &&
17337 { ac_try='test -z "$ac_c_werror_flag"
17338 || test ! -s conftest.err'
17339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17340 (eval $ac_try) 2>&5
17341 ac_status=$?
17342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17343 (exit $ac_status); }; } &&
17344 { ac_try='test -s conftest$ac_exeext'
17345 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17346 (eval $ac_try) 2>&5
17347 ac_status=$?
17348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17349 (exit $ac_status); }; }; then
17350 eval "$as_ac_var=yes"
17351 else
17352 echo "$as_me: failed program was:" >&5
17353 sed 's/^/| /' conftest.$ac_ext >&5
17354
17355 eval "$as_ac_var=no"
17356 fi
17357 rm -f conftest.err conftest.$ac_objext \
17358 conftest$ac_exeext conftest.$ac_ext
17359 fi
17360 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17361 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17362 if test `eval echo '${'$as_ac_var'}'` = yes; then
17363 cat >>confdefs.h <<_ACEOF
17364 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17365 _ACEOF
17366
17367 fi
17368 done
17369
17370 fi
17371 fi
17372
17373
17374
17375
17376
17377
17378 echo "$as_me:$LINENO: checking for sqrtf declaration" >&5
17379 echo $ECHO_N "checking for sqrtf declaration... $ECHO_C" >&6
17380 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
17381 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then
17382 echo $ECHO_N "(cached) $ECHO_C" >&6
17383 else
17384
17385
17386
17387 ac_ext=cc
17388 ac_cpp='$CXXCPP $CPPFLAGS'
17389 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17390 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17391 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17392
17393 cat >conftest.$ac_ext <<_ACEOF
17394 /* confdefs.h. */
17395 _ACEOF
17396 cat confdefs.h >>conftest.$ac_ext
17397 cat >>conftest.$ac_ext <<_ACEOF
17398 /* end confdefs.h. */
17399 #include <math.h>
17400 #ifdef HAVE_IEEEFP_H
17401 #include <ieeefp.h>
17402 #endif
17403
17404 int
17405 main ()
17406 {
17407 sqrtf(0);
17408 ;
17409 return 0;
17410 }
17411 _ACEOF
17412 rm -f conftest.$ac_objext
17413 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17414 (eval $ac_compile) 2>conftest.er1
17415 ac_status=$?
17416 grep -v '^ *+' conftest.er1 >conftest.err
17417 rm -f conftest.er1
17418 cat conftest.err >&5
17419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17420 (exit $ac_status); } &&
17421 { ac_try='test -z "$ac_cxx_werror_flag"
17422 || test ! -s conftest.err'
17423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17424 (eval $ac_try) 2>&5
17425 ac_status=$?
17426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17427 (exit $ac_status); }; } &&
17428 { ac_try='test -s conftest.$ac_objext'
17429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17430 (eval $ac_try) 2>&5
17431 ac_status=$?
17432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17433 (exit $ac_status); }; }; then
17434 glibcxx_cv_func_sqrtf_use=yes
17435 else
17436 echo "$as_me: failed program was:" >&5
17437 sed 's/^/| /' conftest.$ac_ext >&5
17438
17439 glibcxx_cv_func_sqrtf_use=no
17440 fi
17441 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17442 ac_ext=c
17443 ac_cpp='$CPP $CPPFLAGS'
17444 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17445 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17446 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17447
17448
17449 fi
17450
17451 fi
17452 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtf_use" >&5
17453 echo "${ECHO_T}$glibcxx_cv_func_sqrtf_use" >&6
17454
17455 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
17456
17457 for ac_func in sqrtf
17458 do
17459 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17460 echo "$as_me:$LINENO: checking for $ac_func" >&5
17461 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17462 if eval "test \"\${$as_ac_var+set}\" = set"; then
17463 echo $ECHO_N "(cached) $ECHO_C" >&6
17464 else
17465 if test x$gcc_no_link = xyes; then
17466 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17467 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17468 { (exit 1); exit 1; }; }
17469 fi
17470 cat >conftest.$ac_ext <<_ACEOF
17471 /* confdefs.h. */
17472 _ACEOF
17473 cat confdefs.h >>conftest.$ac_ext
17474 cat >>conftest.$ac_ext <<_ACEOF
17475 /* end confdefs.h. */
17476 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17477 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17478 #define $ac_func innocuous_$ac_func
17479
17480 /* System header to define __stub macros and hopefully few prototypes,
17481 which can conflict with char $ac_func (); below.
17482 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17483 <limits.h> exists even on freestanding compilers. */
17484
17485 #ifdef __STDC__
17486 # include <limits.h>
17487 #else
17488 # include <assert.h>
17489 #endif
17490
17491 #undef $ac_func
17492
17493 /* Override any gcc2 internal prototype to avoid an error. */
17494 #ifdef __cplusplus
17495 extern "C"
17496 {
17497 #endif
17498 /* We use char because int might match the return type of a gcc2
17499 builtin and then its argument prototype would still apply. */
17500 char $ac_func ();
17501 /* The GNU C library defines this for functions which it implements
17502 to always fail with ENOSYS. Some functions are actually named
17503 something starting with __ and the normal name is an alias. */
17504 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17505 choke me
17506 #else
17507 char (*f) () = $ac_func;
17508 #endif
17509 #ifdef __cplusplus
17510 }
17511 #endif
17512
17513 int
17514 main ()
17515 {
17516 return f != $ac_func;
17517 ;
17518 return 0;
17519 }
17520 _ACEOF
17521 rm -f conftest.$ac_objext conftest$ac_exeext
17522 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17523 (eval $ac_link) 2>conftest.er1
17524 ac_status=$?
17525 grep -v '^ *+' conftest.er1 >conftest.err
17526 rm -f conftest.er1
17527 cat conftest.err >&5
17528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17529 (exit $ac_status); } &&
17530 { ac_try='test -z "$ac_c_werror_flag"
17531 || test ! -s conftest.err'
17532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17533 (eval $ac_try) 2>&5
17534 ac_status=$?
17535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17536 (exit $ac_status); }; } &&
17537 { ac_try='test -s conftest$ac_exeext'
17538 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17539 (eval $ac_try) 2>&5
17540 ac_status=$?
17541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17542 (exit $ac_status); }; }; then
17543 eval "$as_ac_var=yes"
17544 else
17545 echo "$as_me: failed program was:" >&5
17546 sed 's/^/| /' conftest.$ac_ext >&5
17547
17548 eval "$as_ac_var=no"
17549 fi
17550 rm -f conftest.err conftest.$ac_objext \
17551 conftest$ac_exeext conftest.$ac_ext
17552 fi
17553 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17554 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17555 if test `eval echo '${'$as_ac_var'}'` = yes; then
17556 cat >>confdefs.h <<_ACEOF
17557 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17558 _ACEOF
17559
17560 fi
17561 done
17562
17563 else
17564
17565 echo "$as_me:$LINENO: checking for _sqrtf declaration" >&5
17566 echo $ECHO_N "checking for _sqrtf declaration... $ECHO_C" >&6
17567 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
17568 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then
17569 echo $ECHO_N "(cached) $ECHO_C" >&6
17570 else
17571
17572
17573
17574 ac_ext=cc
17575 ac_cpp='$CXXCPP $CPPFLAGS'
17576 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17577 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17578 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17579
17580 cat >conftest.$ac_ext <<_ACEOF
17581 /* confdefs.h. */
17582 _ACEOF
17583 cat confdefs.h >>conftest.$ac_ext
17584 cat >>conftest.$ac_ext <<_ACEOF
17585 /* end confdefs.h. */
17586 #include <math.h>
17587 #ifdef HAVE_IEEEFP_H
17588 #include <ieeefp.h>
17589 #endif
17590
17591 int
17592 main ()
17593 {
17594 _sqrtf(0);
17595 ;
17596 return 0;
17597 }
17598 _ACEOF
17599 rm -f conftest.$ac_objext
17600 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17601 (eval $ac_compile) 2>conftest.er1
17602 ac_status=$?
17603 grep -v '^ *+' conftest.er1 >conftest.err
17604 rm -f conftest.er1
17605 cat conftest.err >&5
17606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17607 (exit $ac_status); } &&
17608 { ac_try='test -z "$ac_cxx_werror_flag"
17609 || test ! -s conftest.err'
17610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17611 (eval $ac_try) 2>&5
17612 ac_status=$?
17613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17614 (exit $ac_status); }; } &&
17615 { ac_try='test -s conftest.$ac_objext'
17616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17617 (eval $ac_try) 2>&5
17618 ac_status=$?
17619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17620 (exit $ac_status); }; }; then
17621 glibcxx_cv_func__sqrtf_use=yes
17622 else
17623 echo "$as_me: failed program was:" >&5
17624 sed 's/^/| /' conftest.$ac_ext >&5
17625
17626 glibcxx_cv_func__sqrtf_use=no
17627 fi
17628 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17629 ac_ext=c
17630 ac_cpp='$CPP $CPPFLAGS'
17631 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17632 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17633 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17634
17635
17636 fi
17637
17638 fi
17639 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtf_use" >&5
17640 echo "${ECHO_T}$glibcxx_cv_func__sqrtf_use" >&6
17641
17642 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
17643
17644 for ac_func in _sqrtf
17645 do
17646 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17647 echo "$as_me:$LINENO: checking for $ac_func" >&5
17648 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17649 if eval "test \"\${$as_ac_var+set}\" = set"; then
17650 echo $ECHO_N "(cached) $ECHO_C" >&6
17651 else
17652 if test x$gcc_no_link = xyes; then
17653 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17654 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17655 { (exit 1); exit 1; }; }
17656 fi
17657 cat >conftest.$ac_ext <<_ACEOF
17658 /* confdefs.h. */
17659 _ACEOF
17660 cat confdefs.h >>conftest.$ac_ext
17661 cat >>conftest.$ac_ext <<_ACEOF
17662 /* end confdefs.h. */
17663 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17664 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17665 #define $ac_func innocuous_$ac_func
17666
17667 /* System header to define __stub macros and hopefully few prototypes,
17668 which can conflict with char $ac_func (); below.
17669 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17670 <limits.h> exists even on freestanding compilers. */
17671
17672 #ifdef __STDC__
17673 # include <limits.h>
17674 #else
17675 # include <assert.h>
17676 #endif
17677
17678 #undef $ac_func
17679
17680 /* Override any gcc2 internal prototype to avoid an error. */
17681 #ifdef __cplusplus
17682 extern "C"
17683 {
17684 #endif
17685 /* We use char because int might match the return type of a gcc2
17686 builtin and then its argument prototype would still apply. */
17687 char $ac_func ();
17688 /* The GNU C library defines this for functions which it implements
17689 to always fail with ENOSYS. Some functions are actually named
17690 something starting with __ and the normal name is an alias. */
17691 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17692 choke me
17693 #else
17694 char (*f) () = $ac_func;
17695 #endif
17696 #ifdef __cplusplus
17697 }
17698 #endif
17699
17700 int
17701 main ()
17702 {
17703 return f != $ac_func;
17704 ;
17705 return 0;
17706 }
17707 _ACEOF
17708 rm -f conftest.$ac_objext conftest$ac_exeext
17709 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17710 (eval $ac_link) 2>conftest.er1
17711 ac_status=$?
17712 grep -v '^ *+' conftest.er1 >conftest.err
17713 rm -f conftest.er1
17714 cat conftest.err >&5
17715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17716 (exit $ac_status); } &&
17717 { ac_try='test -z "$ac_c_werror_flag"
17718 || test ! -s conftest.err'
17719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17720 (eval $ac_try) 2>&5
17721 ac_status=$?
17722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17723 (exit $ac_status); }; } &&
17724 { ac_try='test -s conftest$ac_exeext'
17725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17726 (eval $ac_try) 2>&5
17727 ac_status=$?
17728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17729 (exit $ac_status); }; }; then
17730 eval "$as_ac_var=yes"
17731 else
17732 echo "$as_me: failed program was:" >&5
17733 sed 's/^/| /' conftest.$ac_ext >&5
17734
17735 eval "$as_ac_var=no"
17736 fi
17737 rm -f conftest.err conftest.$ac_objext \
17738 conftest$ac_exeext conftest.$ac_ext
17739 fi
17740 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17741 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17742 if test `eval echo '${'$as_ac_var'}'` = yes; then
17743 cat >>confdefs.h <<_ACEOF
17744 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17745 _ACEOF
17746
17747 fi
17748 done
17749
17750 fi
17751 fi
17752
17753
17754
17755
17756
17757
17758 echo "$as_me:$LINENO: checking for sincosf declaration" >&5
17759 echo $ECHO_N "checking for sincosf declaration... $ECHO_C" >&6
17760 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
17761 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then
17762 echo $ECHO_N "(cached) $ECHO_C" >&6
17763 else
17764
17765
17766
17767 ac_ext=cc
17768 ac_cpp='$CXXCPP $CPPFLAGS'
17769 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17770 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17771 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17772
17773 cat >conftest.$ac_ext <<_ACEOF
17774 /* confdefs.h. */
17775 _ACEOF
17776 cat confdefs.h >>conftest.$ac_ext
17777 cat >>conftest.$ac_ext <<_ACEOF
17778 /* end confdefs.h. */
17779 #include <math.h>
17780 int
17781 main ()
17782 {
17783 sincosf(0, 0, 0);
17784 ;
17785 return 0;
17786 }
17787 _ACEOF
17788 rm -f conftest.$ac_objext
17789 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17790 (eval $ac_compile) 2>conftest.er1
17791 ac_status=$?
17792 grep -v '^ *+' conftest.er1 >conftest.err
17793 rm -f conftest.er1
17794 cat conftest.err >&5
17795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17796 (exit $ac_status); } &&
17797 { ac_try='test -z "$ac_cxx_werror_flag"
17798 || test ! -s conftest.err'
17799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17800 (eval $ac_try) 2>&5
17801 ac_status=$?
17802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17803 (exit $ac_status); }; } &&
17804 { ac_try='test -s conftest.$ac_objext'
17805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17806 (eval $ac_try) 2>&5
17807 ac_status=$?
17808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17809 (exit $ac_status); }; }; then
17810 glibcxx_cv_func_sincosf_use=yes
17811 else
17812 echo "$as_me: failed program was:" >&5
17813 sed 's/^/| /' conftest.$ac_ext >&5
17814
17815 glibcxx_cv_func_sincosf_use=no
17816 fi
17817 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17818 ac_ext=c
17819 ac_cpp='$CPP $CPPFLAGS'
17820 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17821 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17822 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17823
17824
17825 fi
17826
17827 fi
17828 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosf_use" >&5
17829 echo "${ECHO_T}$glibcxx_cv_func_sincosf_use" >&6
17830
17831 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
17832
17833 for ac_func in sincosf
17834 do
17835 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17836 echo "$as_me:$LINENO: checking for $ac_func" >&5
17837 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17838 if eval "test \"\${$as_ac_var+set}\" = set"; then
17839 echo $ECHO_N "(cached) $ECHO_C" >&6
17840 else
17841 if test x$gcc_no_link = xyes; then
17842 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17843 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17844 { (exit 1); exit 1; }; }
17845 fi
17846 cat >conftest.$ac_ext <<_ACEOF
17847 /* confdefs.h. */
17848 _ACEOF
17849 cat confdefs.h >>conftest.$ac_ext
17850 cat >>conftest.$ac_ext <<_ACEOF
17851 /* end confdefs.h. */
17852 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17853 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17854 #define $ac_func innocuous_$ac_func
17855
17856 /* System header to define __stub macros and hopefully few prototypes,
17857 which can conflict with char $ac_func (); below.
17858 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17859 <limits.h> exists even on freestanding compilers. */
17860
17861 #ifdef __STDC__
17862 # include <limits.h>
17863 #else
17864 # include <assert.h>
17865 #endif
17866
17867 #undef $ac_func
17868
17869 /* Override any gcc2 internal prototype to avoid an error. */
17870 #ifdef __cplusplus
17871 extern "C"
17872 {
17873 #endif
17874 /* We use char because int might match the return type of a gcc2
17875 builtin and then its argument prototype would still apply. */
17876 char $ac_func ();
17877 /* The GNU C library defines this for functions which it implements
17878 to always fail with ENOSYS. Some functions are actually named
17879 something starting with __ and the normal name is an alias. */
17880 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17881 choke me
17882 #else
17883 char (*f) () = $ac_func;
17884 #endif
17885 #ifdef __cplusplus
17886 }
17887 #endif
17888
17889 int
17890 main ()
17891 {
17892 return f != $ac_func;
17893 ;
17894 return 0;
17895 }
17896 _ACEOF
17897 rm -f conftest.$ac_objext conftest$ac_exeext
17898 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17899 (eval $ac_link) 2>conftest.er1
17900 ac_status=$?
17901 grep -v '^ *+' conftest.er1 >conftest.err
17902 rm -f conftest.er1
17903 cat conftest.err >&5
17904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17905 (exit $ac_status); } &&
17906 { ac_try='test -z "$ac_c_werror_flag"
17907 || test ! -s conftest.err'
17908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17909 (eval $ac_try) 2>&5
17910 ac_status=$?
17911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17912 (exit $ac_status); }; } &&
17913 { ac_try='test -s conftest$ac_exeext'
17914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17915 (eval $ac_try) 2>&5
17916 ac_status=$?
17917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17918 (exit $ac_status); }; }; then
17919 eval "$as_ac_var=yes"
17920 else
17921 echo "$as_me: failed program was:" >&5
17922 sed 's/^/| /' conftest.$ac_ext >&5
17923
17924 eval "$as_ac_var=no"
17925 fi
17926 rm -f conftest.err conftest.$ac_objext \
17927 conftest$ac_exeext conftest.$ac_ext
17928 fi
17929 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17930 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17931 if test `eval echo '${'$as_ac_var'}'` = yes; then
17932 cat >>confdefs.h <<_ACEOF
17933 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17934 _ACEOF
17935
17936 fi
17937 done
17938
17939 else
17940
17941 echo "$as_me:$LINENO: checking for _sincosf declaration" >&5
17942 echo $ECHO_N "checking for _sincosf declaration... $ECHO_C" >&6
17943 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
17944 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then
17945 echo $ECHO_N "(cached) $ECHO_C" >&6
17946 else
17947
17948
17949
17950 ac_ext=cc
17951 ac_cpp='$CXXCPP $CPPFLAGS'
17952 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17953 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17954 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17955
17956 cat >conftest.$ac_ext <<_ACEOF
17957 /* confdefs.h. */
17958 _ACEOF
17959 cat confdefs.h >>conftest.$ac_ext
17960 cat >>conftest.$ac_ext <<_ACEOF
17961 /* end confdefs.h. */
17962 #include <math.h>
17963 int
17964 main ()
17965 {
17966 _sincosf(0, 0, 0);
17967 ;
17968 return 0;
17969 }
17970 _ACEOF
17971 rm -f conftest.$ac_objext
17972 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17973 (eval $ac_compile) 2>conftest.er1
17974 ac_status=$?
17975 grep -v '^ *+' conftest.er1 >conftest.err
17976 rm -f conftest.er1
17977 cat conftest.err >&5
17978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17979 (exit $ac_status); } &&
17980 { ac_try='test -z "$ac_cxx_werror_flag"
17981 || test ! -s conftest.err'
17982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17983 (eval $ac_try) 2>&5
17984 ac_status=$?
17985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17986 (exit $ac_status); }; } &&
17987 { ac_try='test -s conftest.$ac_objext'
17988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17989 (eval $ac_try) 2>&5
17990 ac_status=$?
17991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17992 (exit $ac_status); }; }; then
17993 glibcxx_cv_func__sincosf_use=yes
17994 else
17995 echo "$as_me: failed program was:" >&5
17996 sed 's/^/| /' conftest.$ac_ext >&5
17997
17998 glibcxx_cv_func__sincosf_use=no
17999 fi
18000 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18001 ac_ext=c
18002 ac_cpp='$CPP $CPPFLAGS'
18003 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18004 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18005 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18006
18007
18008 fi
18009
18010 fi
18011 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosf_use" >&5
18012 echo "${ECHO_T}$glibcxx_cv_func__sincosf_use" >&6
18013
18014 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
18015
18016 for ac_func in _sincosf
18017 do
18018 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18019 echo "$as_me:$LINENO: checking for $ac_func" >&5
18020 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18021 if eval "test \"\${$as_ac_var+set}\" = set"; then
18022 echo $ECHO_N "(cached) $ECHO_C" >&6
18023 else
18024 if test x$gcc_no_link = xyes; then
18025 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18026 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18027 { (exit 1); exit 1; }; }
18028 fi
18029 cat >conftest.$ac_ext <<_ACEOF
18030 /* confdefs.h. */
18031 _ACEOF
18032 cat confdefs.h >>conftest.$ac_ext
18033 cat >>conftest.$ac_ext <<_ACEOF
18034 /* end confdefs.h. */
18035 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18036 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18037 #define $ac_func innocuous_$ac_func
18038
18039 /* System header to define __stub macros and hopefully few prototypes,
18040 which can conflict with char $ac_func (); below.
18041 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18042 <limits.h> exists even on freestanding compilers. */
18043
18044 #ifdef __STDC__
18045 # include <limits.h>
18046 #else
18047 # include <assert.h>
18048 #endif
18049
18050 #undef $ac_func
18051
18052 /* Override any gcc2 internal prototype to avoid an error. */
18053 #ifdef __cplusplus
18054 extern "C"
18055 {
18056 #endif
18057 /* We use char because int might match the return type of a gcc2
18058 builtin and then its argument prototype would still apply. */
18059 char $ac_func ();
18060 /* The GNU C library defines this for functions which it implements
18061 to always fail with ENOSYS. Some functions are actually named
18062 something starting with __ and the normal name is an alias. */
18063 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18064 choke me
18065 #else
18066 char (*f) () = $ac_func;
18067 #endif
18068 #ifdef __cplusplus
18069 }
18070 #endif
18071
18072 int
18073 main ()
18074 {
18075 return f != $ac_func;
18076 ;
18077 return 0;
18078 }
18079 _ACEOF
18080 rm -f conftest.$ac_objext conftest$ac_exeext
18081 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18082 (eval $ac_link) 2>conftest.er1
18083 ac_status=$?
18084 grep -v '^ *+' conftest.er1 >conftest.err
18085 rm -f conftest.er1
18086 cat conftest.err >&5
18087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18088 (exit $ac_status); } &&
18089 { ac_try='test -z "$ac_c_werror_flag"
18090 || test ! -s conftest.err'
18091 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18092 (eval $ac_try) 2>&5
18093 ac_status=$?
18094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18095 (exit $ac_status); }; } &&
18096 { ac_try='test -s conftest$ac_exeext'
18097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18098 (eval $ac_try) 2>&5
18099 ac_status=$?
18100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18101 (exit $ac_status); }; }; then
18102 eval "$as_ac_var=yes"
18103 else
18104 echo "$as_me: failed program was:" >&5
18105 sed 's/^/| /' conftest.$ac_ext >&5
18106
18107 eval "$as_ac_var=no"
18108 fi
18109 rm -f conftest.err conftest.$ac_objext \
18110 conftest$ac_exeext conftest.$ac_ext
18111 fi
18112 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18113 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18114 if test `eval echo '${'$as_ac_var'}'` = yes; then
18115 cat >>confdefs.h <<_ACEOF
18116 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18117 _ACEOF
18118
18119 fi
18120 done
18121
18122 fi
18123 fi
18124
18125
18126
18127
18128
18129
18130 echo "$as_me:$LINENO: checking for finitef declaration" >&5
18131 echo $ECHO_N "checking for finitef declaration... $ECHO_C" >&6
18132 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
18133 if test "${glibcxx_cv_func_finitef_use+set}" = set; then
18134 echo $ECHO_N "(cached) $ECHO_C" >&6
18135 else
18136
18137
18138
18139 ac_ext=cc
18140 ac_cpp='$CXXCPP $CPPFLAGS'
18141 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18142 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18143 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18144
18145 cat >conftest.$ac_ext <<_ACEOF
18146 /* confdefs.h. */
18147 _ACEOF
18148 cat confdefs.h >>conftest.$ac_ext
18149 cat >>conftest.$ac_ext <<_ACEOF
18150 /* end confdefs.h. */
18151 #include <math.h>
18152 #ifdef HAVE_IEEEFP_H
18153 #include <ieeefp.h>
18154 #endif
18155
18156 int
18157 main ()
18158 {
18159 finitef(0);
18160 ;
18161 return 0;
18162 }
18163 _ACEOF
18164 rm -f conftest.$ac_objext
18165 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18166 (eval $ac_compile) 2>conftest.er1
18167 ac_status=$?
18168 grep -v '^ *+' conftest.er1 >conftest.err
18169 rm -f conftest.er1
18170 cat conftest.err >&5
18171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18172 (exit $ac_status); } &&
18173 { ac_try='test -z "$ac_cxx_werror_flag"
18174 || test ! -s conftest.err'
18175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18176 (eval $ac_try) 2>&5
18177 ac_status=$?
18178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18179 (exit $ac_status); }; } &&
18180 { ac_try='test -s conftest.$ac_objext'
18181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18182 (eval $ac_try) 2>&5
18183 ac_status=$?
18184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18185 (exit $ac_status); }; }; then
18186 glibcxx_cv_func_finitef_use=yes
18187 else
18188 echo "$as_me: failed program was:" >&5
18189 sed 's/^/| /' conftest.$ac_ext >&5
18190
18191 glibcxx_cv_func_finitef_use=no
18192 fi
18193 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18194 ac_ext=c
18195 ac_cpp='$CPP $CPPFLAGS'
18196 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18197 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18198 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18199
18200
18201 fi
18202
18203 fi
18204 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitef_use" >&5
18205 echo "${ECHO_T}$glibcxx_cv_func_finitef_use" >&6
18206
18207 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
18208
18209 for ac_func in finitef
18210 do
18211 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18212 echo "$as_me:$LINENO: checking for $ac_func" >&5
18213 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18214 if eval "test \"\${$as_ac_var+set}\" = set"; then
18215 echo $ECHO_N "(cached) $ECHO_C" >&6
18216 else
18217 if test x$gcc_no_link = xyes; then
18218 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18219 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18220 { (exit 1); exit 1; }; }
18221 fi
18222 cat >conftest.$ac_ext <<_ACEOF
18223 /* confdefs.h. */
18224 _ACEOF
18225 cat confdefs.h >>conftest.$ac_ext
18226 cat >>conftest.$ac_ext <<_ACEOF
18227 /* end confdefs.h. */
18228 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18229 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18230 #define $ac_func innocuous_$ac_func
18231
18232 /* System header to define __stub macros and hopefully few prototypes,
18233 which can conflict with char $ac_func (); below.
18234 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18235 <limits.h> exists even on freestanding compilers. */
18236
18237 #ifdef __STDC__
18238 # include <limits.h>
18239 #else
18240 # include <assert.h>
18241 #endif
18242
18243 #undef $ac_func
18244
18245 /* Override any gcc2 internal prototype to avoid an error. */
18246 #ifdef __cplusplus
18247 extern "C"
18248 {
18249 #endif
18250 /* We use char because int might match the return type of a gcc2
18251 builtin and then its argument prototype would still apply. */
18252 char $ac_func ();
18253 /* The GNU C library defines this for functions which it implements
18254 to always fail with ENOSYS. Some functions are actually named
18255 something starting with __ and the normal name is an alias. */
18256 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18257 choke me
18258 #else
18259 char (*f) () = $ac_func;
18260 #endif
18261 #ifdef __cplusplus
18262 }
18263 #endif
18264
18265 int
18266 main ()
18267 {
18268 return f != $ac_func;
18269 ;
18270 return 0;
18271 }
18272 _ACEOF
18273 rm -f conftest.$ac_objext conftest$ac_exeext
18274 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18275 (eval $ac_link) 2>conftest.er1
18276 ac_status=$?
18277 grep -v '^ *+' conftest.er1 >conftest.err
18278 rm -f conftest.er1
18279 cat conftest.err >&5
18280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18281 (exit $ac_status); } &&
18282 { ac_try='test -z "$ac_c_werror_flag"
18283 || test ! -s conftest.err'
18284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18285 (eval $ac_try) 2>&5
18286 ac_status=$?
18287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18288 (exit $ac_status); }; } &&
18289 { ac_try='test -s conftest$ac_exeext'
18290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18291 (eval $ac_try) 2>&5
18292 ac_status=$?
18293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18294 (exit $ac_status); }; }; then
18295 eval "$as_ac_var=yes"
18296 else
18297 echo "$as_me: failed program was:" >&5
18298 sed 's/^/| /' conftest.$ac_ext >&5
18299
18300 eval "$as_ac_var=no"
18301 fi
18302 rm -f conftest.err conftest.$ac_objext \
18303 conftest$ac_exeext conftest.$ac_ext
18304 fi
18305 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18306 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18307 if test `eval echo '${'$as_ac_var'}'` = yes; then
18308 cat >>confdefs.h <<_ACEOF
18309 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18310 _ACEOF
18311
18312 fi
18313 done
18314
18315 else
18316
18317 echo "$as_me:$LINENO: checking for _finitef declaration" >&5
18318 echo $ECHO_N "checking for _finitef declaration... $ECHO_C" >&6
18319 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
18320 if test "${glibcxx_cv_func__finitef_use+set}" = set; then
18321 echo $ECHO_N "(cached) $ECHO_C" >&6
18322 else
18323
18324
18325
18326 ac_ext=cc
18327 ac_cpp='$CXXCPP $CPPFLAGS'
18328 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18329 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18330 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18331
18332 cat >conftest.$ac_ext <<_ACEOF
18333 /* confdefs.h. */
18334 _ACEOF
18335 cat confdefs.h >>conftest.$ac_ext
18336 cat >>conftest.$ac_ext <<_ACEOF
18337 /* end confdefs.h. */
18338 #include <math.h>
18339 #ifdef HAVE_IEEEFP_H
18340 #include <ieeefp.h>
18341 #endif
18342
18343 int
18344 main ()
18345 {
18346 _finitef(0);
18347 ;
18348 return 0;
18349 }
18350 _ACEOF
18351 rm -f conftest.$ac_objext
18352 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18353 (eval $ac_compile) 2>conftest.er1
18354 ac_status=$?
18355 grep -v '^ *+' conftest.er1 >conftest.err
18356 rm -f conftest.er1
18357 cat conftest.err >&5
18358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18359 (exit $ac_status); } &&
18360 { ac_try='test -z "$ac_cxx_werror_flag"
18361 || test ! -s conftest.err'
18362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18363 (eval $ac_try) 2>&5
18364 ac_status=$?
18365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18366 (exit $ac_status); }; } &&
18367 { ac_try='test -s conftest.$ac_objext'
18368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18369 (eval $ac_try) 2>&5
18370 ac_status=$?
18371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18372 (exit $ac_status); }; }; then
18373 glibcxx_cv_func__finitef_use=yes
18374 else
18375 echo "$as_me: failed program was:" >&5
18376 sed 's/^/| /' conftest.$ac_ext >&5
18377
18378 glibcxx_cv_func__finitef_use=no
18379 fi
18380 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18381 ac_ext=c
18382 ac_cpp='$CPP $CPPFLAGS'
18383 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18384 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18385 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18386
18387
18388 fi
18389
18390 fi
18391 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitef_use" >&5
18392 echo "${ECHO_T}$glibcxx_cv_func__finitef_use" >&6
18393
18394 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
18395
18396 for ac_func in _finitef
18397 do
18398 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18399 echo "$as_me:$LINENO: checking for $ac_func" >&5
18400 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18401 if eval "test \"\${$as_ac_var+set}\" = set"; then
18402 echo $ECHO_N "(cached) $ECHO_C" >&6
18403 else
18404 if test x$gcc_no_link = xyes; then
18405 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18406 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18407 { (exit 1); exit 1; }; }
18408 fi
18409 cat >conftest.$ac_ext <<_ACEOF
18410 /* confdefs.h. */
18411 _ACEOF
18412 cat confdefs.h >>conftest.$ac_ext
18413 cat >>conftest.$ac_ext <<_ACEOF
18414 /* end confdefs.h. */
18415 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18416 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18417 #define $ac_func innocuous_$ac_func
18418
18419 /* System header to define __stub macros and hopefully few prototypes,
18420 which can conflict with char $ac_func (); below.
18421 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18422 <limits.h> exists even on freestanding compilers. */
18423
18424 #ifdef __STDC__
18425 # include <limits.h>
18426 #else
18427 # include <assert.h>
18428 #endif
18429
18430 #undef $ac_func
18431
18432 /* Override any gcc2 internal prototype to avoid an error. */
18433 #ifdef __cplusplus
18434 extern "C"
18435 {
18436 #endif
18437 /* We use char because int might match the return type of a gcc2
18438 builtin and then its argument prototype would still apply. */
18439 char $ac_func ();
18440 /* The GNU C library defines this for functions which it implements
18441 to always fail with ENOSYS. Some functions are actually named
18442 something starting with __ and the normal name is an alias. */
18443 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18444 choke me
18445 #else
18446 char (*f) () = $ac_func;
18447 #endif
18448 #ifdef __cplusplus
18449 }
18450 #endif
18451
18452 int
18453 main ()
18454 {
18455 return f != $ac_func;
18456 ;
18457 return 0;
18458 }
18459 _ACEOF
18460 rm -f conftest.$ac_objext conftest$ac_exeext
18461 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18462 (eval $ac_link) 2>conftest.er1
18463 ac_status=$?
18464 grep -v '^ *+' conftest.er1 >conftest.err
18465 rm -f conftest.er1
18466 cat conftest.err >&5
18467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18468 (exit $ac_status); } &&
18469 { ac_try='test -z "$ac_c_werror_flag"
18470 || test ! -s conftest.err'
18471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18472 (eval $ac_try) 2>&5
18473 ac_status=$?
18474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18475 (exit $ac_status); }; } &&
18476 { ac_try='test -s conftest$ac_exeext'
18477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18478 (eval $ac_try) 2>&5
18479 ac_status=$?
18480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18481 (exit $ac_status); }; }; then
18482 eval "$as_ac_var=yes"
18483 else
18484 echo "$as_me: failed program was:" >&5
18485 sed 's/^/| /' conftest.$ac_ext >&5
18486
18487 eval "$as_ac_var=no"
18488 fi
18489 rm -f conftest.err conftest.$ac_objext \
18490 conftest$ac_exeext conftest.$ac_ext
18491 fi
18492 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18493 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18494 if test `eval echo '${'$as_ac_var'}'` = yes; then
18495 cat >>confdefs.h <<_ACEOF
18496 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18497 _ACEOF
18498
18499 fi
18500 done
18501
18502 fi
18503 fi
18504
18505
18506
18507
18508
18509
18510 echo "$as_me:$LINENO: checking for long double trig functions" >&5
18511 echo $ECHO_N "checking for long double trig functions... $ECHO_C" >&6
18512 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then
18513 echo $ECHO_N "(cached) $ECHO_C" >&6
18514 else
18515
18516
18517
18518 ac_ext=cc
18519 ac_cpp='$CXXCPP $CPPFLAGS'
18520 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18521 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18522 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18523
18524 cat >conftest.$ac_ext <<_ACEOF
18525 /* confdefs.h. */
18526 _ACEOF
18527 cat confdefs.h >>conftest.$ac_ext
18528 cat >>conftest.$ac_ext <<_ACEOF
18529 /* end confdefs.h. */
18530 #include <math.h>
18531 int
18532 main ()
18533 {
18534 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
18535 ;
18536 return 0;
18537 }
18538 _ACEOF
18539 rm -f conftest.$ac_objext
18540 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18541 (eval $ac_compile) 2>conftest.er1
18542 ac_status=$?
18543 grep -v '^ *+' conftest.er1 >conftest.err
18544 rm -f conftest.er1
18545 cat conftest.err >&5
18546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18547 (exit $ac_status); } &&
18548 { ac_try='test -z "$ac_cxx_werror_flag"
18549 || test ! -s conftest.err'
18550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18551 (eval $ac_try) 2>&5
18552 ac_status=$?
18553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18554 (exit $ac_status); }; } &&
18555 { ac_try='test -s conftest.$ac_objext'
18556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18557 (eval $ac_try) 2>&5
18558 ac_status=$?
18559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18560 (exit $ac_status); }; }; then
18561 glibcxx_cv_func_long_double_trig_use=yes
18562 else
18563 echo "$as_me: failed program was:" >&5
18564 sed 's/^/| /' conftest.$ac_ext >&5
18565
18566 glibcxx_cv_func_long_double_trig_use=no
18567 fi
18568 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18569 ac_ext=c
18570 ac_cpp='$CPP $CPPFLAGS'
18571 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18572 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18573 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18574
18575 fi
18576
18577 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_trig_use" >&5
18578 echo "${ECHO_T}$glibcxx_cv_func_long_double_trig_use" >&6
18579 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
18580
18581
18582
18583
18584
18585
18586
18587
18588
18589 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
18590 do
18591 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18592 echo "$as_me:$LINENO: checking for $ac_func" >&5
18593 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18594 if eval "test \"\${$as_ac_var+set}\" = set"; then
18595 echo $ECHO_N "(cached) $ECHO_C" >&6
18596 else
18597 if test x$gcc_no_link = xyes; then
18598 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18599 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18600 { (exit 1); exit 1; }; }
18601 fi
18602 cat >conftest.$ac_ext <<_ACEOF
18603 /* confdefs.h. */
18604 _ACEOF
18605 cat confdefs.h >>conftest.$ac_ext
18606 cat >>conftest.$ac_ext <<_ACEOF
18607 /* end confdefs.h. */
18608 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18609 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18610 #define $ac_func innocuous_$ac_func
18611
18612 /* System header to define __stub macros and hopefully few prototypes,
18613 which can conflict with char $ac_func (); below.
18614 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18615 <limits.h> exists even on freestanding compilers. */
18616
18617 #ifdef __STDC__
18618 # include <limits.h>
18619 #else
18620 # include <assert.h>
18621 #endif
18622
18623 #undef $ac_func
18624
18625 /* Override any gcc2 internal prototype to avoid an error. */
18626 #ifdef __cplusplus
18627 extern "C"
18628 {
18629 #endif
18630 /* We use char because int might match the return type of a gcc2
18631 builtin and then its argument prototype would still apply. */
18632 char $ac_func ();
18633 /* The GNU C library defines this for functions which it implements
18634 to always fail with ENOSYS. Some functions are actually named
18635 something starting with __ and the normal name is an alias. */
18636 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18637 choke me
18638 #else
18639 char (*f) () = $ac_func;
18640 #endif
18641 #ifdef __cplusplus
18642 }
18643 #endif
18644
18645 int
18646 main ()
18647 {
18648 return f != $ac_func;
18649 ;
18650 return 0;
18651 }
18652 _ACEOF
18653 rm -f conftest.$ac_objext conftest$ac_exeext
18654 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18655 (eval $ac_link) 2>conftest.er1
18656 ac_status=$?
18657 grep -v '^ *+' conftest.er1 >conftest.err
18658 rm -f conftest.er1
18659 cat conftest.err >&5
18660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18661 (exit $ac_status); } &&
18662 { ac_try='test -z "$ac_c_werror_flag"
18663 || test ! -s conftest.err'
18664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18665 (eval $ac_try) 2>&5
18666 ac_status=$?
18667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18668 (exit $ac_status); }; } &&
18669 { ac_try='test -s conftest$ac_exeext'
18670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18671 (eval $ac_try) 2>&5
18672 ac_status=$?
18673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18674 (exit $ac_status); }; }; then
18675 eval "$as_ac_var=yes"
18676 else
18677 echo "$as_me: failed program was:" >&5
18678 sed 's/^/| /' conftest.$ac_ext >&5
18679
18680 eval "$as_ac_var=no"
18681 fi
18682 rm -f conftest.err conftest.$ac_objext \
18683 conftest$ac_exeext conftest.$ac_ext
18684 fi
18685 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18686 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18687 if test `eval echo '${'$as_ac_var'}'` = yes; then
18688 cat >>confdefs.h <<_ACEOF
18689 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18690 _ACEOF
18691
18692 fi
18693 done
18694
18695 else
18696 echo "$as_me:$LINENO: checking for _long double trig functions" >&5
18697 echo $ECHO_N "checking for _long double trig functions... $ECHO_C" >&6
18698 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then
18699 echo $ECHO_N "(cached) $ECHO_C" >&6
18700 else
18701
18702
18703
18704 ac_ext=cc
18705 ac_cpp='$CXXCPP $CPPFLAGS'
18706 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18707 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18708 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18709
18710 cat >conftest.$ac_ext <<_ACEOF
18711 /* confdefs.h. */
18712 _ACEOF
18713 cat confdefs.h >>conftest.$ac_ext
18714 cat >>conftest.$ac_ext <<_ACEOF
18715 /* end confdefs.h. */
18716 #include <math.h>
18717 int
18718 main ()
18719 {
18720 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
18721 ;
18722 return 0;
18723 }
18724 _ACEOF
18725 rm -f conftest.$ac_objext
18726 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18727 (eval $ac_compile) 2>conftest.er1
18728 ac_status=$?
18729 grep -v '^ *+' conftest.er1 >conftest.err
18730 rm -f conftest.er1
18731 cat conftest.err >&5
18732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18733 (exit $ac_status); } &&
18734 { ac_try='test -z "$ac_cxx_werror_flag"
18735 || test ! -s conftest.err'
18736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18737 (eval $ac_try) 2>&5
18738 ac_status=$?
18739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18740 (exit $ac_status); }; } &&
18741 { ac_try='test -s conftest.$ac_objext'
18742 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18743 (eval $ac_try) 2>&5
18744 ac_status=$?
18745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18746 (exit $ac_status); }; }; then
18747 glibcxx_cv_func__long_double_trig_use=yes
18748 else
18749 echo "$as_me: failed program was:" >&5
18750 sed 's/^/| /' conftest.$ac_ext >&5
18751
18752 glibcxx_cv_func__long_double_trig_use=no
18753 fi
18754 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18755 ac_ext=c
18756 ac_cpp='$CPP $CPPFLAGS'
18757 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18758 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18759 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18760
18761 fi
18762
18763 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_trig_use" >&5
18764 echo "${ECHO_T}$glibcxx_cv_func__long_double_trig_use" >&6
18765 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
18766
18767
18768
18769
18770
18771
18772
18773
18774
18775 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
18776 do
18777 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18778 echo "$as_me:$LINENO: checking for $ac_func" >&5
18779 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18780 if eval "test \"\${$as_ac_var+set}\" = set"; then
18781 echo $ECHO_N "(cached) $ECHO_C" >&6
18782 else
18783 if test x$gcc_no_link = xyes; then
18784 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18785 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18786 { (exit 1); exit 1; }; }
18787 fi
18788 cat >conftest.$ac_ext <<_ACEOF
18789 /* confdefs.h. */
18790 _ACEOF
18791 cat confdefs.h >>conftest.$ac_ext
18792 cat >>conftest.$ac_ext <<_ACEOF
18793 /* end confdefs.h. */
18794 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18795 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18796 #define $ac_func innocuous_$ac_func
18797
18798 /* System header to define __stub macros and hopefully few prototypes,
18799 which can conflict with char $ac_func (); below.
18800 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18801 <limits.h> exists even on freestanding compilers. */
18802
18803 #ifdef __STDC__
18804 # include <limits.h>
18805 #else
18806 # include <assert.h>
18807 #endif
18808
18809 #undef $ac_func
18810
18811 /* Override any gcc2 internal prototype to avoid an error. */
18812 #ifdef __cplusplus
18813 extern "C"
18814 {
18815 #endif
18816 /* We use char because int might match the return type of a gcc2
18817 builtin and then its argument prototype would still apply. */
18818 char $ac_func ();
18819 /* The GNU C library defines this for functions which it implements
18820 to always fail with ENOSYS. Some functions are actually named
18821 something starting with __ and the normal name is an alias. */
18822 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18823 choke me
18824 #else
18825 char (*f) () = $ac_func;
18826 #endif
18827 #ifdef __cplusplus
18828 }
18829 #endif
18830
18831 int
18832 main ()
18833 {
18834 return f != $ac_func;
18835 ;
18836 return 0;
18837 }
18838 _ACEOF
18839 rm -f conftest.$ac_objext conftest$ac_exeext
18840 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18841 (eval $ac_link) 2>conftest.er1
18842 ac_status=$?
18843 grep -v '^ *+' conftest.er1 >conftest.err
18844 rm -f conftest.er1
18845 cat conftest.err >&5
18846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18847 (exit $ac_status); } &&
18848 { ac_try='test -z "$ac_c_werror_flag"
18849 || test ! -s conftest.err'
18850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18851 (eval $ac_try) 2>&5
18852 ac_status=$?
18853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18854 (exit $ac_status); }; } &&
18855 { ac_try='test -s conftest$ac_exeext'
18856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18857 (eval $ac_try) 2>&5
18858 ac_status=$?
18859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18860 (exit $ac_status); }; }; then
18861 eval "$as_ac_var=yes"
18862 else
18863 echo "$as_me: failed program was:" >&5
18864 sed 's/^/| /' conftest.$ac_ext >&5
18865
18866 eval "$as_ac_var=no"
18867 fi
18868 rm -f conftest.err conftest.$ac_objext \
18869 conftest$ac_exeext conftest.$ac_ext
18870 fi
18871 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18872 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18873 if test `eval echo '${'$as_ac_var'}'` = yes; then
18874 cat >>confdefs.h <<_ACEOF
18875 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18876 _ACEOF
18877
18878 fi
18879 done
18880
18881 fi
18882 fi
18883
18884
18885
18886
18887
18888
18889
18890
18891
18892
18893
18894
18895
18896
18897 echo "$as_me:$LINENO: checking for long double round functions" >&5
18898 echo $ECHO_N "checking for long double round functions... $ECHO_C" >&6
18899 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then
18900 echo $ECHO_N "(cached) $ECHO_C" >&6
18901 else
18902
18903
18904
18905 ac_ext=cc
18906 ac_cpp='$CXXCPP $CPPFLAGS'
18907 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18908 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18909 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18910
18911 cat >conftest.$ac_ext <<_ACEOF
18912 /* confdefs.h. */
18913 _ACEOF
18914 cat confdefs.h >>conftest.$ac_ext
18915 cat >>conftest.$ac_ext <<_ACEOF
18916 /* end confdefs.h. */
18917 #include <math.h>
18918 int
18919 main ()
18920 {
18921 ceill (0); floorl (0);
18922 ;
18923 return 0;
18924 }
18925 _ACEOF
18926 rm -f conftest.$ac_objext
18927 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18928 (eval $ac_compile) 2>conftest.er1
18929 ac_status=$?
18930 grep -v '^ *+' conftest.er1 >conftest.err
18931 rm -f conftest.er1
18932 cat conftest.err >&5
18933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18934 (exit $ac_status); } &&
18935 { ac_try='test -z "$ac_cxx_werror_flag"
18936 || test ! -s conftest.err'
18937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18938 (eval $ac_try) 2>&5
18939 ac_status=$?
18940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18941 (exit $ac_status); }; } &&
18942 { ac_try='test -s conftest.$ac_objext'
18943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18944 (eval $ac_try) 2>&5
18945 ac_status=$?
18946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18947 (exit $ac_status); }; }; then
18948 glibcxx_cv_func_long_double_round_use=yes
18949 else
18950 echo "$as_me: failed program was:" >&5
18951 sed 's/^/| /' conftest.$ac_ext >&5
18952
18953 glibcxx_cv_func_long_double_round_use=no
18954 fi
18955 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18956 ac_ext=c
18957 ac_cpp='$CPP $CPPFLAGS'
18958 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18959 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18960 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18961
18962 fi
18963
18964 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_round_use" >&5
18965 echo "${ECHO_T}$glibcxx_cv_func_long_double_round_use" >&6
18966 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
18967
18968
18969 for ac_func in ceill floorl
18970 do
18971 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18972 echo "$as_me:$LINENO: checking for $ac_func" >&5
18973 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18974 if eval "test \"\${$as_ac_var+set}\" = set"; then
18975 echo $ECHO_N "(cached) $ECHO_C" >&6
18976 else
18977 if test x$gcc_no_link = xyes; then
18978 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18979 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18980 { (exit 1); exit 1; }; }
18981 fi
18982 cat >conftest.$ac_ext <<_ACEOF
18983 /* confdefs.h. */
18984 _ACEOF
18985 cat confdefs.h >>conftest.$ac_ext
18986 cat >>conftest.$ac_ext <<_ACEOF
18987 /* end confdefs.h. */
18988 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18989 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18990 #define $ac_func innocuous_$ac_func
18991
18992 /* System header to define __stub macros and hopefully few prototypes,
18993 which can conflict with char $ac_func (); below.
18994 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18995 <limits.h> exists even on freestanding compilers. */
18996
18997 #ifdef __STDC__
18998 # include <limits.h>
18999 #else
19000 # include <assert.h>
19001 #endif
19002
19003 #undef $ac_func
19004
19005 /* Override any gcc2 internal prototype to avoid an error. */
19006 #ifdef __cplusplus
19007 extern "C"
19008 {
19009 #endif
19010 /* We use char because int might match the return type of a gcc2
19011 builtin and then its argument prototype would still apply. */
19012 char $ac_func ();
19013 /* The GNU C library defines this for functions which it implements
19014 to always fail with ENOSYS. Some functions are actually named
19015 something starting with __ and the normal name is an alias. */
19016 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19017 choke me
19018 #else
19019 char (*f) () = $ac_func;
19020 #endif
19021 #ifdef __cplusplus
19022 }
19023 #endif
19024
19025 int
19026 main ()
19027 {
19028 return f != $ac_func;
19029 ;
19030 return 0;
19031 }
19032 _ACEOF
19033 rm -f conftest.$ac_objext conftest$ac_exeext
19034 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19035 (eval $ac_link) 2>conftest.er1
19036 ac_status=$?
19037 grep -v '^ *+' conftest.er1 >conftest.err
19038 rm -f conftest.er1
19039 cat conftest.err >&5
19040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19041 (exit $ac_status); } &&
19042 { ac_try='test -z "$ac_c_werror_flag"
19043 || test ! -s conftest.err'
19044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19045 (eval $ac_try) 2>&5
19046 ac_status=$?
19047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19048 (exit $ac_status); }; } &&
19049 { ac_try='test -s conftest$ac_exeext'
19050 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19051 (eval $ac_try) 2>&5
19052 ac_status=$?
19053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19054 (exit $ac_status); }; }; then
19055 eval "$as_ac_var=yes"
19056 else
19057 echo "$as_me: failed program was:" >&5
19058 sed 's/^/| /' conftest.$ac_ext >&5
19059
19060 eval "$as_ac_var=no"
19061 fi
19062 rm -f conftest.err conftest.$ac_objext \
19063 conftest$ac_exeext conftest.$ac_ext
19064 fi
19065 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19066 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19067 if test `eval echo '${'$as_ac_var'}'` = yes; then
19068 cat >>confdefs.h <<_ACEOF
19069 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19070 _ACEOF
19071
19072 fi
19073 done
19074
19075 else
19076 echo "$as_me:$LINENO: checking for _long double round functions" >&5
19077 echo $ECHO_N "checking for _long double round functions... $ECHO_C" >&6
19078 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then
19079 echo $ECHO_N "(cached) $ECHO_C" >&6
19080 else
19081
19082
19083
19084 ac_ext=cc
19085 ac_cpp='$CXXCPP $CPPFLAGS'
19086 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19087 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19088 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19089
19090 cat >conftest.$ac_ext <<_ACEOF
19091 /* confdefs.h. */
19092 _ACEOF
19093 cat confdefs.h >>conftest.$ac_ext
19094 cat >>conftest.$ac_ext <<_ACEOF
19095 /* end confdefs.h. */
19096 #include <math.h>
19097 int
19098 main ()
19099 {
19100 _ceill (0); _floorl (0);
19101 ;
19102 return 0;
19103 }
19104 _ACEOF
19105 rm -f conftest.$ac_objext
19106 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19107 (eval $ac_compile) 2>conftest.er1
19108 ac_status=$?
19109 grep -v '^ *+' conftest.er1 >conftest.err
19110 rm -f conftest.er1
19111 cat conftest.err >&5
19112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19113 (exit $ac_status); } &&
19114 { ac_try='test -z "$ac_cxx_werror_flag"
19115 || test ! -s conftest.err'
19116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19117 (eval $ac_try) 2>&5
19118 ac_status=$?
19119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19120 (exit $ac_status); }; } &&
19121 { ac_try='test -s conftest.$ac_objext'
19122 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19123 (eval $ac_try) 2>&5
19124 ac_status=$?
19125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19126 (exit $ac_status); }; }; then
19127 glibcxx_cv_func__long_double_round_use=yes
19128 else
19129 echo "$as_me: failed program was:" >&5
19130 sed 's/^/| /' conftest.$ac_ext >&5
19131
19132 glibcxx_cv_func__long_double_round_use=no
19133 fi
19134 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19135 ac_ext=c
19136 ac_cpp='$CPP $CPPFLAGS'
19137 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19138 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19139 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19140
19141 fi
19142
19143 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_round_use" >&5
19144 echo "${ECHO_T}$glibcxx_cv_func__long_double_round_use" >&6
19145 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
19146
19147
19148 for ac_func in _ceill _floorl
19149 do
19150 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19151 echo "$as_me:$LINENO: checking for $ac_func" >&5
19152 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19153 if eval "test \"\${$as_ac_var+set}\" = set"; then
19154 echo $ECHO_N "(cached) $ECHO_C" >&6
19155 else
19156 if test x$gcc_no_link = xyes; then
19157 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19158 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19159 { (exit 1); exit 1; }; }
19160 fi
19161 cat >conftest.$ac_ext <<_ACEOF
19162 /* confdefs.h. */
19163 _ACEOF
19164 cat confdefs.h >>conftest.$ac_ext
19165 cat >>conftest.$ac_ext <<_ACEOF
19166 /* end confdefs.h. */
19167 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19168 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19169 #define $ac_func innocuous_$ac_func
19170
19171 /* System header to define __stub macros and hopefully few prototypes,
19172 which can conflict with char $ac_func (); below.
19173 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19174 <limits.h> exists even on freestanding compilers. */
19175
19176 #ifdef __STDC__
19177 # include <limits.h>
19178 #else
19179 # include <assert.h>
19180 #endif
19181
19182 #undef $ac_func
19183
19184 /* Override any gcc2 internal prototype to avoid an error. */
19185 #ifdef __cplusplus
19186 extern "C"
19187 {
19188 #endif
19189 /* We use char because int might match the return type of a gcc2
19190 builtin and then its argument prototype would still apply. */
19191 char $ac_func ();
19192 /* The GNU C library defines this for functions which it implements
19193 to always fail with ENOSYS. Some functions are actually named
19194 something starting with __ and the normal name is an alias. */
19195 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19196 choke me
19197 #else
19198 char (*f) () = $ac_func;
19199 #endif
19200 #ifdef __cplusplus
19201 }
19202 #endif
19203
19204 int
19205 main ()
19206 {
19207 return f != $ac_func;
19208 ;
19209 return 0;
19210 }
19211 _ACEOF
19212 rm -f conftest.$ac_objext conftest$ac_exeext
19213 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19214 (eval $ac_link) 2>conftest.er1
19215 ac_status=$?
19216 grep -v '^ *+' conftest.er1 >conftest.err
19217 rm -f conftest.er1
19218 cat conftest.err >&5
19219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19220 (exit $ac_status); } &&
19221 { ac_try='test -z "$ac_c_werror_flag"
19222 || test ! -s conftest.err'
19223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19224 (eval $ac_try) 2>&5
19225 ac_status=$?
19226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19227 (exit $ac_status); }; } &&
19228 { ac_try='test -s conftest$ac_exeext'
19229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19230 (eval $ac_try) 2>&5
19231 ac_status=$?
19232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19233 (exit $ac_status); }; }; then
19234 eval "$as_ac_var=yes"
19235 else
19236 echo "$as_me: failed program was:" >&5
19237 sed 's/^/| /' conftest.$ac_ext >&5
19238
19239 eval "$as_ac_var=no"
19240 fi
19241 rm -f conftest.err conftest.$ac_objext \
19242 conftest$ac_exeext conftest.$ac_ext
19243 fi
19244 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19245 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19246 if test `eval echo '${'$as_ac_var'}'` = yes; then
19247 cat >>confdefs.h <<_ACEOF
19248 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19249 _ACEOF
19250
19251 fi
19252 done
19253
19254 fi
19255 fi
19256
19257
19258
19259
19260
19261
19262
19263
19264 echo "$as_me:$LINENO: checking for isnanl declaration" >&5
19265 echo $ECHO_N "checking for isnanl declaration... $ECHO_C" >&6
19266 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
19267 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then
19268 echo $ECHO_N "(cached) $ECHO_C" >&6
19269 else
19270
19271
19272
19273 ac_ext=cc
19274 ac_cpp='$CXXCPP $CPPFLAGS'
19275 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19276 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19277 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19278
19279 cat >conftest.$ac_ext <<_ACEOF
19280 /* confdefs.h. */
19281 _ACEOF
19282 cat confdefs.h >>conftest.$ac_ext
19283 cat >>conftest.$ac_ext <<_ACEOF
19284 /* end confdefs.h. */
19285 #include <math.h>
19286 #ifdef HAVE_IEEEFP_H
19287 #include <ieeefp.h>
19288 #endif
19289
19290 int
19291 main ()
19292 {
19293 isnanl(0);
19294 ;
19295 return 0;
19296 }
19297 _ACEOF
19298 rm -f conftest.$ac_objext
19299 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19300 (eval $ac_compile) 2>conftest.er1
19301 ac_status=$?
19302 grep -v '^ *+' conftest.er1 >conftest.err
19303 rm -f conftest.er1
19304 cat conftest.err >&5
19305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19306 (exit $ac_status); } &&
19307 { ac_try='test -z "$ac_cxx_werror_flag"
19308 || test ! -s conftest.err'
19309 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19310 (eval $ac_try) 2>&5
19311 ac_status=$?
19312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19313 (exit $ac_status); }; } &&
19314 { ac_try='test -s conftest.$ac_objext'
19315 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19316 (eval $ac_try) 2>&5
19317 ac_status=$?
19318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19319 (exit $ac_status); }; }; then
19320 glibcxx_cv_func_isnanl_use=yes
19321 else
19322 echo "$as_me: failed program was:" >&5
19323 sed 's/^/| /' conftest.$ac_ext >&5
19324
19325 glibcxx_cv_func_isnanl_use=no
19326 fi
19327 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19328 ac_ext=c
19329 ac_cpp='$CPP $CPPFLAGS'
19330 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19331 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19332 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19333
19334
19335 fi
19336
19337 fi
19338 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanl_use" >&5
19339 echo "${ECHO_T}$glibcxx_cv_func_isnanl_use" >&6
19340
19341 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
19342
19343 for ac_func in isnanl
19344 do
19345 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19346 echo "$as_me:$LINENO: checking for $ac_func" >&5
19347 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19348 if eval "test \"\${$as_ac_var+set}\" = set"; then
19349 echo $ECHO_N "(cached) $ECHO_C" >&6
19350 else
19351 if test x$gcc_no_link = xyes; then
19352 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19353 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19354 { (exit 1); exit 1; }; }
19355 fi
19356 cat >conftest.$ac_ext <<_ACEOF
19357 /* confdefs.h. */
19358 _ACEOF
19359 cat confdefs.h >>conftest.$ac_ext
19360 cat >>conftest.$ac_ext <<_ACEOF
19361 /* end confdefs.h. */
19362 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19363 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19364 #define $ac_func innocuous_$ac_func
19365
19366 /* System header to define __stub macros and hopefully few prototypes,
19367 which can conflict with char $ac_func (); below.
19368 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19369 <limits.h> exists even on freestanding compilers. */
19370
19371 #ifdef __STDC__
19372 # include <limits.h>
19373 #else
19374 # include <assert.h>
19375 #endif
19376
19377 #undef $ac_func
19378
19379 /* Override any gcc2 internal prototype to avoid an error. */
19380 #ifdef __cplusplus
19381 extern "C"
19382 {
19383 #endif
19384 /* We use char because int might match the return type of a gcc2
19385 builtin and then its argument prototype would still apply. */
19386 char $ac_func ();
19387 /* The GNU C library defines this for functions which it implements
19388 to always fail with ENOSYS. Some functions are actually named
19389 something starting with __ and the normal name is an alias. */
19390 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19391 choke me
19392 #else
19393 char (*f) () = $ac_func;
19394 #endif
19395 #ifdef __cplusplus
19396 }
19397 #endif
19398
19399 int
19400 main ()
19401 {
19402 return f != $ac_func;
19403 ;
19404 return 0;
19405 }
19406 _ACEOF
19407 rm -f conftest.$ac_objext conftest$ac_exeext
19408 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19409 (eval $ac_link) 2>conftest.er1
19410 ac_status=$?
19411 grep -v '^ *+' conftest.er1 >conftest.err
19412 rm -f conftest.er1
19413 cat conftest.err >&5
19414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19415 (exit $ac_status); } &&
19416 { ac_try='test -z "$ac_c_werror_flag"
19417 || test ! -s conftest.err'
19418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19419 (eval $ac_try) 2>&5
19420 ac_status=$?
19421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19422 (exit $ac_status); }; } &&
19423 { ac_try='test -s conftest$ac_exeext'
19424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19425 (eval $ac_try) 2>&5
19426 ac_status=$?
19427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19428 (exit $ac_status); }; }; then
19429 eval "$as_ac_var=yes"
19430 else
19431 echo "$as_me: failed program was:" >&5
19432 sed 's/^/| /' conftest.$ac_ext >&5
19433
19434 eval "$as_ac_var=no"
19435 fi
19436 rm -f conftest.err conftest.$ac_objext \
19437 conftest$ac_exeext conftest.$ac_ext
19438 fi
19439 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19440 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19441 if test `eval echo '${'$as_ac_var'}'` = yes; then
19442 cat >>confdefs.h <<_ACEOF
19443 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19444 _ACEOF
19445
19446 fi
19447 done
19448
19449 else
19450
19451 echo "$as_me:$LINENO: checking for _isnanl declaration" >&5
19452 echo $ECHO_N "checking for _isnanl declaration... $ECHO_C" >&6
19453 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
19454 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then
19455 echo $ECHO_N "(cached) $ECHO_C" >&6
19456 else
19457
19458
19459
19460 ac_ext=cc
19461 ac_cpp='$CXXCPP $CPPFLAGS'
19462 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19463 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19464 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19465
19466 cat >conftest.$ac_ext <<_ACEOF
19467 /* confdefs.h. */
19468 _ACEOF
19469 cat confdefs.h >>conftest.$ac_ext
19470 cat >>conftest.$ac_ext <<_ACEOF
19471 /* end confdefs.h. */
19472 #include <math.h>
19473 #ifdef HAVE_IEEEFP_H
19474 #include <ieeefp.h>
19475 #endif
19476
19477 int
19478 main ()
19479 {
19480 _isnanl(0);
19481 ;
19482 return 0;
19483 }
19484 _ACEOF
19485 rm -f conftest.$ac_objext
19486 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19487 (eval $ac_compile) 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_cxx_werror_flag"
19495 || test ! -s conftest.err'
19496 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19497 (eval $ac_try) 2>&5
19498 ac_status=$?
19499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19500 (exit $ac_status); }; } &&
19501 { ac_try='test -s conftest.$ac_objext'
19502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19503 (eval $ac_try) 2>&5
19504 ac_status=$?
19505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19506 (exit $ac_status); }; }; then
19507 glibcxx_cv_func__isnanl_use=yes
19508 else
19509 echo "$as_me: failed program was:" >&5
19510 sed 's/^/| /' conftest.$ac_ext >&5
19511
19512 glibcxx_cv_func__isnanl_use=no
19513 fi
19514 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19515 ac_ext=c
19516 ac_cpp='$CPP $CPPFLAGS'
19517 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19518 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19519 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19520
19521
19522 fi
19523
19524 fi
19525 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanl_use" >&5
19526 echo "${ECHO_T}$glibcxx_cv_func__isnanl_use" >&6
19527
19528 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
19529
19530 for ac_func in _isnanl
19531 do
19532 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19533 echo "$as_me:$LINENO: checking for $ac_func" >&5
19534 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19535 if eval "test \"\${$as_ac_var+set}\" = set"; then
19536 echo $ECHO_N "(cached) $ECHO_C" >&6
19537 else
19538 if test x$gcc_no_link = xyes; then
19539 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19540 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19541 { (exit 1); exit 1; }; }
19542 fi
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 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19550 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19551 #define $ac_func innocuous_$ac_func
19552
19553 /* System header to define __stub macros and hopefully few prototypes,
19554 which can conflict with char $ac_func (); below.
19555 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19556 <limits.h> exists even on freestanding compilers. */
19557
19558 #ifdef __STDC__
19559 # include <limits.h>
19560 #else
19561 # include <assert.h>
19562 #endif
19563
19564 #undef $ac_func
19565
19566 /* Override any gcc2 internal prototype to avoid an error. */
19567 #ifdef __cplusplus
19568 extern "C"
19569 {
19570 #endif
19571 /* We use char because int might match the return type of a gcc2
19572 builtin and then its argument prototype would still apply. */
19573 char $ac_func ();
19574 /* The GNU C library defines this for functions which it implements
19575 to always fail with ENOSYS. Some functions are actually named
19576 something starting with __ and the normal name is an alias. */
19577 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19578 choke me
19579 #else
19580 char (*f) () = $ac_func;
19581 #endif
19582 #ifdef __cplusplus
19583 }
19584 #endif
19585
19586 int
19587 main ()
19588 {
19589 return f != $ac_func;
19590 ;
19591 return 0;
19592 }
19593 _ACEOF
19594 rm -f conftest.$ac_objext conftest$ac_exeext
19595 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19596 (eval $ac_link) 2>conftest.er1
19597 ac_status=$?
19598 grep -v '^ *+' conftest.er1 >conftest.err
19599 rm -f conftest.er1
19600 cat conftest.err >&5
19601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19602 (exit $ac_status); } &&
19603 { ac_try='test -z "$ac_c_werror_flag"
19604 || test ! -s conftest.err'
19605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19606 (eval $ac_try) 2>&5
19607 ac_status=$?
19608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19609 (exit $ac_status); }; } &&
19610 { ac_try='test -s conftest$ac_exeext'
19611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19612 (eval $ac_try) 2>&5
19613 ac_status=$?
19614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19615 (exit $ac_status); }; }; then
19616 eval "$as_ac_var=yes"
19617 else
19618 echo "$as_me: failed program was:" >&5
19619 sed 's/^/| /' conftest.$ac_ext >&5
19620
19621 eval "$as_ac_var=no"
19622 fi
19623 rm -f conftest.err conftest.$ac_objext \
19624 conftest$ac_exeext conftest.$ac_ext
19625 fi
19626 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19627 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19628 if test `eval echo '${'$as_ac_var'}'` = yes; then
19629 cat >>confdefs.h <<_ACEOF
19630 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19631 _ACEOF
19632
19633 fi
19634 done
19635
19636 fi
19637 fi
19638
19639
19640
19641
19642
19643
19644 echo "$as_me:$LINENO: checking for isinfl declaration" >&5
19645 echo $ECHO_N "checking for isinfl declaration... $ECHO_C" >&6
19646 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
19647 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then
19648 echo $ECHO_N "(cached) $ECHO_C" >&6
19649 else
19650
19651
19652
19653 ac_ext=cc
19654 ac_cpp='$CXXCPP $CPPFLAGS'
19655 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19656 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19657 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19658
19659 cat >conftest.$ac_ext <<_ACEOF
19660 /* confdefs.h. */
19661 _ACEOF
19662 cat confdefs.h >>conftest.$ac_ext
19663 cat >>conftest.$ac_ext <<_ACEOF
19664 /* end confdefs.h. */
19665 #include <math.h>
19666 #ifdef HAVE_IEEEFP_H
19667 #include <ieeefp.h>
19668 #endif
19669
19670 int
19671 main ()
19672 {
19673 isinfl(0);
19674 ;
19675 return 0;
19676 }
19677 _ACEOF
19678 rm -f conftest.$ac_objext
19679 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19680 (eval $ac_compile) 2>conftest.er1
19681 ac_status=$?
19682 grep -v '^ *+' conftest.er1 >conftest.err
19683 rm -f conftest.er1
19684 cat conftest.err >&5
19685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19686 (exit $ac_status); } &&
19687 { ac_try='test -z "$ac_cxx_werror_flag"
19688 || test ! -s conftest.err'
19689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19690 (eval $ac_try) 2>&5
19691 ac_status=$?
19692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19693 (exit $ac_status); }; } &&
19694 { ac_try='test -s conftest.$ac_objext'
19695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19696 (eval $ac_try) 2>&5
19697 ac_status=$?
19698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19699 (exit $ac_status); }; }; then
19700 glibcxx_cv_func_isinfl_use=yes
19701 else
19702 echo "$as_me: failed program was:" >&5
19703 sed 's/^/| /' conftest.$ac_ext >&5
19704
19705 glibcxx_cv_func_isinfl_use=no
19706 fi
19707 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19708 ac_ext=c
19709 ac_cpp='$CPP $CPPFLAGS'
19710 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19711 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19712 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19713
19714
19715 fi
19716
19717 fi
19718 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinfl_use" >&5
19719 echo "${ECHO_T}$glibcxx_cv_func_isinfl_use" >&6
19720
19721 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
19722
19723 for ac_func in isinfl
19724 do
19725 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19726 echo "$as_me:$LINENO: checking for $ac_func" >&5
19727 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19728 if eval "test \"\${$as_ac_var+set}\" = set"; then
19729 echo $ECHO_N "(cached) $ECHO_C" >&6
19730 else
19731 if test x$gcc_no_link = xyes; then
19732 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19733 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19734 { (exit 1); exit 1; }; }
19735 fi
19736 cat >conftest.$ac_ext <<_ACEOF
19737 /* confdefs.h. */
19738 _ACEOF
19739 cat confdefs.h >>conftest.$ac_ext
19740 cat >>conftest.$ac_ext <<_ACEOF
19741 /* end confdefs.h. */
19742 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19743 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19744 #define $ac_func innocuous_$ac_func
19745
19746 /* System header to define __stub macros and hopefully few prototypes,
19747 which can conflict with char $ac_func (); below.
19748 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19749 <limits.h> exists even on freestanding compilers. */
19750
19751 #ifdef __STDC__
19752 # include <limits.h>
19753 #else
19754 # include <assert.h>
19755 #endif
19756
19757 #undef $ac_func
19758
19759 /* Override any gcc2 internal prototype to avoid an error. */
19760 #ifdef __cplusplus
19761 extern "C"
19762 {
19763 #endif
19764 /* We use char because int might match the return type of a gcc2
19765 builtin and then its argument prototype would still apply. */
19766 char $ac_func ();
19767 /* The GNU C library defines this for functions which it implements
19768 to always fail with ENOSYS. Some functions are actually named
19769 something starting with __ and the normal name is an alias. */
19770 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19771 choke me
19772 #else
19773 char (*f) () = $ac_func;
19774 #endif
19775 #ifdef __cplusplus
19776 }
19777 #endif
19778
19779 int
19780 main ()
19781 {
19782 return f != $ac_func;
19783 ;
19784 return 0;
19785 }
19786 _ACEOF
19787 rm -f conftest.$ac_objext conftest$ac_exeext
19788 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19789 (eval $ac_link) 2>conftest.er1
19790 ac_status=$?
19791 grep -v '^ *+' conftest.er1 >conftest.err
19792 rm -f conftest.er1
19793 cat conftest.err >&5
19794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19795 (exit $ac_status); } &&
19796 { ac_try='test -z "$ac_c_werror_flag"
19797 || test ! -s conftest.err'
19798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19799 (eval $ac_try) 2>&5
19800 ac_status=$?
19801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19802 (exit $ac_status); }; } &&
19803 { ac_try='test -s conftest$ac_exeext'
19804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19805 (eval $ac_try) 2>&5
19806 ac_status=$?
19807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19808 (exit $ac_status); }; }; then
19809 eval "$as_ac_var=yes"
19810 else
19811 echo "$as_me: failed program was:" >&5
19812 sed 's/^/| /' conftest.$ac_ext >&5
19813
19814 eval "$as_ac_var=no"
19815 fi
19816 rm -f conftest.err conftest.$ac_objext \
19817 conftest$ac_exeext conftest.$ac_ext
19818 fi
19819 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19820 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19821 if test `eval echo '${'$as_ac_var'}'` = yes; then
19822 cat >>confdefs.h <<_ACEOF
19823 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19824 _ACEOF
19825
19826 fi
19827 done
19828
19829 else
19830
19831 echo "$as_me:$LINENO: checking for _isinfl declaration" >&5
19832 echo $ECHO_N "checking for _isinfl declaration... $ECHO_C" >&6
19833 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
19834 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then
19835 echo $ECHO_N "(cached) $ECHO_C" >&6
19836 else
19837
19838
19839
19840 ac_ext=cc
19841 ac_cpp='$CXXCPP $CPPFLAGS'
19842 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19843 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19844 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19845
19846 cat >conftest.$ac_ext <<_ACEOF
19847 /* confdefs.h. */
19848 _ACEOF
19849 cat confdefs.h >>conftest.$ac_ext
19850 cat >>conftest.$ac_ext <<_ACEOF
19851 /* end confdefs.h. */
19852 #include <math.h>
19853 #ifdef HAVE_IEEEFP_H
19854 #include <ieeefp.h>
19855 #endif
19856
19857 int
19858 main ()
19859 {
19860 _isinfl(0);
19861 ;
19862 return 0;
19863 }
19864 _ACEOF
19865 rm -f conftest.$ac_objext
19866 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19867 (eval $ac_compile) 2>conftest.er1
19868 ac_status=$?
19869 grep -v '^ *+' conftest.er1 >conftest.err
19870 rm -f conftest.er1
19871 cat conftest.err >&5
19872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19873 (exit $ac_status); } &&
19874 { ac_try='test -z "$ac_cxx_werror_flag"
19875 || test ! -s conftest.err'
19876 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19877 (eval $ac_try) 2>&5
19878 ac_status=$?
19879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19880 (exit $ac_status); }; } &&
19881 { ac_try='test -s conftest.$ac_objext'
19882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19883 (eval $ac_try) 2>&5
19884 ac_status=$?
19885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19886 (exit $ac_status); }; }; then
19887 glibcxx_cv_func__isinfl_use=yes
19888 else
19889 echo "$as_me: failed program was:" >&5
19890 sed 's/^/| /' conftest.$ac_ext >&5
19891
19892 glibcxx_cv_func__isinfl_use=no
19893 fi
19894 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19895 ac_ext=c
19896 ac_cpp='$CPP $CPPFLAGS'
19897 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19898 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19899 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19900
19901
19902 fi
19903
19904 fi
19905 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinfl_use" >&5
19906 echo "${ECHO_T}$glibcxx_cv_func__isinfl_use" >&6
19907
19908 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
19909
19910 for ac_func in _isinfl
19911 do
19912 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19913 echo "$as_me:$LINENO: checking for $ac_func" >&5
19914 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19915 if eval "test \"\${$as_ac_var+set}\" = set"; then
19916 echo $ECHO_N "(cached) $ECHO_C" >&6
19917 else
19918 if test x$gcc_no_link = xyes; then
19919 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19920 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19921 { (exit 1); exit 1; }; }
19922 fi
19923 cat >conftest.$ac_ext <<_ACEOF
19924 /* confdefs.h. */
19925 _ACEOF
19926 cat confdefs.h >>conftest.$ac_ext
19927 cat >>conftest.$ac_ext <<_ACEOF
19928 /* end confdefs.h. */
19929 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19930 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19931 #define $ac_func innocuous_$ac_func
19932
19933 /* System header to define __stub macros and hopefully few prototypes,
19934 which can conflict with char $ac_func (); below.
19935 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19936 <limits.h> exists even on freestanding compilers. */
19937
19938 #ifdef __STDC__
19939 # include <limits.h>
19940 #else
19941 # include <assert.h>
19942 #endif
19943
19944 #undef $ac_func
19945
19946 /* Override any gcc2 internal prototype to avoid an error. */
19947 #ifdef __cplusplus
19948 extern "C"
19949 {
19950 #endif
19951 /* We use char because int might match the return type of a gcc2
19952 builtin and then its argument prototype would still apply. */
19953 char $ac_func ();
19954 /* The GNU C library defines this for functions which it implements
19955 to always fail with ENOSYS. Some functions are actually named
19956 something starting with __ and the normal name is an alias. */
19957 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19958 choke me
19959 #else
19960 char (*f) () = $ac_func;
19961 #endif
19962 #ifdef __cplusplus
19963 }
19964 #endif
19965
19966 int
19967 main ()
19968 {
19969 return f != $ac_func;
19970 ;
19971 return 0;
19972 }
19973 _ACEOF
19974 rm -f conftest.$ac_objext conftest$ac_exeext
19975 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19976 (eval $ac_link) 2>conftest.er1
19977 ac_status=$?
19978 grep -v '^ *+' conftest.er1 >conftest.err
19979 rm -f conftest.er1
19980 cat conftest.err >&5
19981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19982 (exit $ac_status); } &&
19983 { ac_try='test -z "$ac_c_werror_flag"
19984 || test ! -s conftest.err'
19985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19986 (eval $ac_try) 2>&5
19987 ac_status=$?
19988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19989 (exit $ac_status); }; } &&
19990 { ac_try='test -s conftest$ac_exeext'
19991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19992 (eval $ac_try) 2>&5
19993 ac_status=$?
19994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19995 (exit $ac_status); }; }; then
19996 eval "$as_ac_var=yes"
19997 else
19998 echo "$as_me: failed program was:" >&5
19999 sed 's/^/| /' conftest.$ac_ext >&5
20000
20001 eval "$as_ac_var=no"
20002 fi
20003 rm -f conftest.err conftest.$ac_objext \
20004 conftest$ac_exeext conftest.$ac_ext
20005 fi
20006 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20007 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20008 if test `eval echo '${'$as_ac_var'}'` = yes; then
20009 cat >>confdefs.h <<_ACEOF
20010 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20011 _ACEOF
20012
20013 fi
20014 done
20015
20016 fi
20017 fi
20018
20019
20020
20021
20022
20023
20024 echo "$as_me:$LINENO: checking for copysignl declaration" >&5
20025 echo $ECHO_N "checking for copysignl declaration... $ECHO_C" >&6
20026 if test x${glibcxx_cv_func_copysignl_use+set} != xset; then
20027 if test "${glibcxx_cv_func_copysignl_use+set}" = set; then
20028 echo $ECHO_N "(cached) $ECHO_C" >&6
20029 else
20030
20031
20032
20033 ac_ext=cc
20034 ac_cpp='$CXXCPP $CPPFLAGS'
20035 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20036 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20037 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20038
20039 cat >conftest.$ac_ext <<_ACEOF
20040 /* confdefs.h. */
20041 _ACEOF
20042 cat confdefs.h >>conftest.$ac_ext
20043 cat >>conftest.$ac_ext <<_ACEOF
20044 /* end confdefs.h. */
20045 #include <math.h>
20046 int
20047 main ()
20048 {
20049 copysignl(0, 0);
20050 ;
20051 return 0;
20052 }
20053 _ACEOF
20054 rm -f conftest.$ac_objext
20055 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20056 (eval $ac_compile) 2>conftest.er1
20057 ac_status=$?
20058 grep -v '^ *+' conftest.er1 >conftest.err
20059 rm -f conftest.er1
20060 cat conftest.err >&5
20061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20062 (exit $ac_status); } &&
20063 { ac_try='test -z "$ac_cxx_werror_flag"
20064 || test ! -s conftest.err'
20065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20066 (eval $ac_try) 2>&5
20067 ac_status=$?
20068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20069 (exit $ac_status); }; } &&
20070 { ac_try='test -s conftest.$ac_objext'
20071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20072 (eval $ac_try) 2>&5
20073 ac_status=$?
20074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20075 (exit $ac_status); }; }; then
20076 glibcxx_cv_func_copysignl_use=yes
20077 else
20078 echo "$as_me: failed program was:" >&5
20079 sed 's/^/| /' conftest.$ac_ext >&5
20080
20081 glibcxx_cv_func_copysignl_use=no
20082 fi
20083 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20084 ac_ext=c
20085 ac_cpp='$CPP $CPPFLAGS'
20086 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20087 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20088 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20089
20090
20091 fi
20092
20093 fi
20094 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysignl_use" >&5
20095 echo "${ECHO_T}$glibcxx_cv_func_copysignl_use" >&6
20096
20097 if test x$glibcxx_cv_func_copysignl_use = x"yes"; then
20098
20099 for ac_func in copysignl
20100 do
20101 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20102 echo "$as_me:$LINENO: checking for $ac_func" >&5
20103 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20104 if eval "test \"\${$as_ac_var+set}\" = set"; then
20105 echo $ECHO_N "(cached) $ECHO_C" >&6
20106 else
20107 if test x$gcc_no_link = xyes; then
20108 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20109 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20110 { (exit 1); exit 1; }; }
20111 fi
20112 cat >conftest.$ac_ext <<_ACEOF
20113 /* confdefs.h. */
20114 _ACEOF
20115 cat confdefs.h >>conftest.$ac_ext
20116 cat >>conftest.$ac_ext <<_ACEOF
20117 /* end confdefs.h. */
20118 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20119 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20120 #define $ac_func innocuous_$ac_func
20121
20122 /* System header to define __stub macros and hopefully few prototypes,
20123 which can conflict with char $ac_func (); below.
20124 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20125 <limits.h> exists even on freestanding compilers. */
20126
20127 #ifdef __STDC__
20128 # include <limits.h>
20129 #else
20130 # include <assert.h>
20131 #endif
20132
20133 #undef $ac_func
20134
20135 /* Override any gcc2 internal prototype to avoid an error. */
20136 #ifdef __cplusplus
20137 extern "C"
20138 {
20139 #endif
20140 /* We use char because int might match the return type of a gcc2
20141 builtin and then its argument prototype would still apply. */
20142 char $ac_func ();
20143 /* The GNU C library defines this for functions which it implements
20144 to always fail with ENOSYS. Some functions are actually named
20145 something starting with __ and the normal name is an alias. */
20146 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20147 choke me
20148 #else
20149 char (*f) () = $ac_func;
20150 #endif
20151 #ifdef __cplusplus
20152 }
20153 #endif
20154
20155 int
20156 main ()
20157 {
20158 return f != $ac_func;
20159 ;
20160 return 0;
20161 }
20162 _ACEOF
20163 rm -f conftest.$ac_objext conftest$ac_exeext
20164 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20165 (eval $ac_link) 2>conftest.er1
20166 ac_status=$?
20167 grep -v '^ *+' conftest.er1 >conftest.err
20168 rm -f conftest.er1
20169 cat conftest.err >&5
20170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20171 (exit $ac_status); } &&
20172 { ac_try='test -z "$ac_c_werror_flag"
20173 || test ! -s conftest.err'
20174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20175 (eval $ac_try) 2>&5
20176 ac_status=$?
20177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20178 (exit $ac_status); }; } &&
20179 { ac_try='test -s conftest$ac_exeext'
20180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20181 (eval $ac_try) 2>&5
20182 ac_status=$?
20183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20184 (exit $ac_status); }; }; then
20185 eval "$as_ac_var=yes"
20186 else
20187 echo "$as_me: failed program was:" >&5
20188 sed 's/^/| /' conftest.$ac_ext >&5
20189
20190 eval "$as_ac_var=no"
20191 fi
20192 rm -f conftest.err conftest.$ac_objext \
20193 conftest$ac_exeext conftest.$ac_ext
20194 fi
20195 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20196 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20197 if test `eval echo '${'$as_ac_var'}'` = yes; then
20198 cat >>confdefs.h <<_ACEOF
20199 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20200 _ACEOF
20201
20202 fi
20203 done
20204
20205 else
20206
20207 echo "$as_me:$LINENO: checking for _copysignl declaration" >&5
20208 echo $ECHO_N "checking for _copysignl declaration... $ECHO_C" >&6
20209 if test x${glibcxx_cv_func__copysignl_use+set} != xset; then
20210 if test "${glibcxx_cv_func__copysignl_use+set}" = set; then
20211 echo $ECHO_N "(cached) $ECHO_C" >&6
20212 else
20213
20214
20215
20216 ac_ext=cc
20217 ac_cpp='$CXXCPP $CPPFLAGS'
20218 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20219 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20220 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20221
20222 cat >conftest.$ac_ext <<_ACEOF
20223 /* confdefs.h. */
20224 _ACEOF
20225 cat confdefs.h >>conftest.$ac_ext
20226 cat >>conftest.$ac_ext <<_ACEOF
20227 /* end confdefs.h. */
20228 #include <math.h>
20229 int
20230 main ()
20231 {
20232 _copysignl(0, 0);
20233 ;
20234 return 0;
20235 }
20236 _ACEOF
20237 rm -f conftest.$ac_objext
20238 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20239 (eval $ac_compile) 2>conftest.er1
20240 ac_status=$?
20241 grep -v '^ *+' conftest.er1 >conftest.err
20242 rm -f conftest.er1
20243 cat conftest.err >&5
20244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20245 (exit $ac_status); } &&
20246 { ac_try='test -z "$ac_cxx_werror_flag"
20247 || test ! -s conftest.err'
20248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20249 (eval $ac_try) 2>&5
20250 ac_status=$?
20251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20252 (exit $ac_status); }; } &&
20253 { ac_try='test -s conftest.$ac_objext'
20254 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20255 (eval $ac_try) 2>&5
20256 ac_status=$?
20257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20258 (exit $ac_status); }; }; then
20259 glibcxx_cv_func__copysignl_use=yes
20260 else
20261 echo "$as_me: failed program was:" >&5
20262 sed 's/^/| /' conftest.$ac_ext >&5
20263
20264 glibcxx_cv_func__copysignl_use=no
20265 fi
20266 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20267 ac_ext=c
20268 ac_cpp='$CPP $CPPFLAGS'
20269 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20270 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20271 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20272
20273
20274 fi
20275
20276 fi
20277 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysignl_use" >&5
20278 echo "${ECHO_T}$glibcxx_cv_func__copysignl_use" >&6
20279
20280 if test x$glibcxx_cv_func__copysignl_use = x"yes"; then
20281
20282 for ac_func in _copysignl
20283 do
20284 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20285 echo "$as_me:$LINENO: checking for $ac_func" >&5
20286 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20287 if eval "test \"\${$as_ac_var+set}\" = set"; then
20288 echo $ECHO_N "(cached) $ECHO_C" >&6
20289 else
20290 if test x$gcc_no_link = xyes; then
20291 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20292 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20293 { (exit 1); exit 1; }; }
20294 fi
20295 cat >conftest.$ac_ext <<_ACEOF
20296 /* confdefs.h. */
20297 _ACEOF
20298 cat confdefs.h >>conftest.$ac_ext
20299 cat >>conftest.$ac_ext <<_ACEOF
20300 /* end confdefs.h. */
20301 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20302 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20303 #define $ac_func innocuous_$ac_func
20304
20305 /* System header to define __stub macros and hopefully few prototypes,
20306 which can conflict with char $ac_func (); below.
20307 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20308 <limits.h> exists even on freestanding compilers. */
20309
20310 #ifdef __STDC__
20311 # include <limits.h>
20312 #else
20313 # include <assert.h>
20314 #endif
20315
20316 #undef $ac_func
20317
20318 /* Override any gcc2 internal prototype to avoid an error. */
20319 #ifdef __cplusplus
20320 extern "C"
20321 {
20322 #endif
20323 /* We use char because int might match the return type of a gcc2
20324 builtin and then its argument prototype would still apply. */
20325 char $ac_func ();
20326 /* The GNU C library defines this for functions which it implements
20327 to always fail with ENOSYS. Some functions are actually named
20328 something starting with __ and the normal name is an alias. */
20329 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20330 choke me
20331 #else
20332 char (*f) () = $ac_func;
20333 #endif
20334 #ifdef __cplusplus
20335 }
20336 #endif
20337
20338 int
20339 main ()
20340 {
20341 return f != $ac_func;
20342 ;
20343 return 0;
20344 }
20345 _ACEOF
20346 rm -f conftest.$ac_objext conftest$ac_exeext
20347 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20348 (eval $ac_link) 2>conftest.er1
20349 ac_status=$?
20350 grep -v '^ *+' conftest.er1 >conftest.err
20351 rm -f conftest.er1
20352 cat conftest.err >&5
20353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20354 (exit $ac_status); } &&
20355 { ac_try='test -z "$ac_c_werror_flag"
20356 || test ! -s conftest.err'
20357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20358 (eval $ac_try) 2>&5
20359 ac_status=$?
20360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20361 (exit $ac_status); }; } &&
20362 { ac_try='test -s conftest$ac_exeext'
20363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20364 (eval $ac_try) 2>&5
20365 ac_status=$?
20366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20367 (exit $ac_status); }; }; then
20368 eval "$as_ac_var=yes"
20369 else
20370 echo "$as_me: failed program was:" >&5
20371 sed 's/^/| /' conftest.$ac_ext >&5
20372
20373 eval "$as_ac_var=no"
20374 fi
20375 rm -f conftest.err conftest.$ac_objext \
20376 conftest$ac_exeext conftest.$ac_ext
20377 fi
20378 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20379 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20380 if test `eval echo '${'$as_ac_var'}'` = yes; then
20381 cat >>confdefs.h <<_ACEOF
20382 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20383 _ACEOF
20384
20385 fi
20386 done
20387
20388 fi
20389 fi
20390
20391
20392
20393
20394
20395
20396 echo "$as_me:$LINENO: checking for atan2l declaration" >&5
20397 echo $ECHO_N "checking for atan2l declaration... $ECHO_C" >&6
20398 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
20399 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then
20400 echo $ECHO_N "(cached) $ECHO_C" >&6
20401 else
20402
20403
20404
20405 ac_ext=cc
20406 ac_cpp='$CXXCPP $CPPFLAGS'
20407 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20408 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20409 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20410
20411 cat >conftest.$ac_ext <<_ACEOF
20412 /* confdefs.h. */
20413 _ACEOF
20414 cat confdefs.h >>conftest.$ac_ext
20415 cat >>conftest.$ac_ext <<_ACEOF
20416 /* end confdefs.h. */
20417 #include <math.h>
20418 int
20419 main ()
20420 {
20421 atan2l(0, 0);
20422 ;
20423 return 0;
20424 }
20425 _ACEOF
20426 rm -f conftest.$ac_objext
20427 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20428 (eval $ac_compile) 2>conftest.er1
20429 ac_status=$?
20430 grep -v '^ *+' conftest.er1 >conftest.err
20431 rm -f conftest.er1
20432 cat conftest.err >&5
20433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20434 (exit $ac_status); } &&
20435 { ac_try='test -z "$ac_cxx_werror_flag"
20436 || test ! -s conftest.err'
20437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20438 (eval $ac_try) 2>&5
20439 ac_status=$?
20440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20441 (exit $ac_status); }; } &&
20442 { ac_try='test -s conftest.$ac_objext'
20443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20444 (eval $ac_try) 2>&5
20445 ac_status=$?
20446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20447 (exit $ac_status); }; }; then
20448 glibcxx_cv_func_atan2l_use=yes
20449 else
20450 echo "$as_me: failed program was:" >&5
20451 sed 's/^/| /' conftest.$ac_ext >&5
20452
20453 glibcxx_cv_func_atan2l_use=no
20454 fi
20455 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20456 ac_ext=c
20457 ac_cpp='$CPP $CPPFLAGS'
20458 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20459 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20460 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20461
20462
20463 fi
20464
20465 fi
20466 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2l_use" >&5
20467 echo "${ECHO_T}$glibcxx_cv_func_atan2l_use" >&6
20468
20469 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
20470
20471 for ac_func in atan2l
20472 do
20473 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20474 echo "$as_me:$LINENO: checking for $ac_func" >&5
20475 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20476 if eval "test \"\${$as_ac_var+set}\" = set"; then
20477 echo $ECHO_N "(cached) $ECHO_C" >&6
20478 else
20479 if test x$gcc_no_link = xyes; then
20480 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20481 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20482 { (exit 1); exit 1; }; }
20483 fi
20484 cat >conftest.$ac_ext <<_ACEOF
20485 /* confdefs.h. */
20486 _ACEOF
20487 cat confdefs.h >>conftest.$ac_ext
20488 cat >>conftest.$ac_ext <<_ACEOF
20489 /* end confdefs.h. */
20490 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20491 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20492 #define $ac_func innocuous_$ac_func
20493
20494 /* System header to define __stub macros and hopefully few prototypes,
20495 which can conflict with char $ac_func (); below.
20496 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20497 <limits.h> exists even on freestanding compilers. */
20498
20499 #ifdef __STDC__
20500 # include <limits.h>
20501 #else
20502 # include <assert.h>
20503 #endif
20504
20505 #undef $ac_func
20506
20507 /* Override any gcc2 internal prototype to avoid an error. */
20508 #ifdef __cplusplus
20509 extern "C"
20510 {
20511 #endif
20512 /* We use char because int might match the return type of a gcc2
20513 builtin and then its argument prototype would still apply. */
20514 char $ac_func ();
20515 /* The GNU C library defines this for functions which it implements
20516 to always fail with ENOSYS. Some functions are actually named
20517 something starting with __ and the normal name is an alias. */
20518 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20519 choke me
20520 #else
20521 char (*f) () = $ac_func;
20522 #endif
20523 #ifdef __cplusplus
20524 }
20525 #endif
20526
20527 int
20528 main ()
20529 {
20530 return f != $ac_func;
20531 ;
20532 return 0;
20533 }
20534 _ACEOF
20535 rm -f conftest.$ac_objext conftest$ac_exeext
20536 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20537 (eval $ac_link) 2>conftest.er1
20538 ac_status=$?
20539 grep -v '^ *+' conftest.er1 >conftest.err
20540 rm -f conftest.er1
20541 cat conftest.err >&5
20542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20543 (exit $ac_status); } &&
20544 { ac_try='test -z "$ac_c_werror_flag"
20545 || test ! -s conftest.err'
20546 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20547 (eval $ac_try) 2>&5
20548 ac_status=$?
20549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20550 (exit $ac_status); }; } &&
20551 { ac_try='test -s conftest$ac_exeext'
20552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20553 (eval $ac_try) 2>&5
20554 ac_status=$?
20555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20556 (exit $ac_status); }; }; then
20557 eval "$as_ac_var=yes"
20558 else
20559 echo "$as_me: failed program was:" >&5
20560 sed 's/^/| /' conftest.$ac_ext >&5
20561
20562 eval "$as_ac_var=no"
20563 fi
20564 rm -f conftest.err conftest.$ac_objext \
20565 conftest$ac_exeext conftest.$ac_ext
20566 fi
20567 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20568 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20569 if test `eval echo '${'$as_ac_var'}'` = yes; then
20570 cat >>confdefs.h <<_ACEOF
20571 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20572 _ACEOF
20573
20574 fi
20575 done
20576
20577 else
20578
20579 echo "$as_me:$LINENO: checking for _atan2l declaration" >&5
20580 echo $ECHO_N "checking for _atan2l declaration... $ECHO_C" >&6
20581 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
20582 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then
20583 echo $ECHO_N "(cached) $ECHO_C" >&6
20584 else
20585
20586
20587
20588 ac_ext=cc
20589 ac_cpp='$CXXCPP $CPPFLAGS'
20590 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20591 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20592 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20593
20594 cat >conftest.$ac_ext <<_ACEOF
20595 /* confdefs.h. */
20596 _ACEOF
20597 cat confdefs.h >>conftest.$ac_ext
20598 cat >>conftest.$ac_ext <<_ACEOF
20599 /* end confdefs.h. */
20600 #include <math.h>
20601 int
20602 main ()
20603 {
20604 _atan2l(0, 0);
20605 ;
20606 return 0;
20607 }
20608 _ACEOF
20609 rm -f conftest.$ac_objext
20610 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20611 (eval $ac_compile) 2>conftest.er1
20612 ac_status=$?
20613 grep -v '^ *+' conftest.er1 >conftest.err
20614 rm -f conftest.er1
20615 cat conftest.err >&5
20616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20617 (exit $ac_status); } &&
20618 { ac_try='test -z "$ac_cxx_werror_flag"
20619 || test ! -s conftest.err'
20620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20621 (eval $ac_try) 2>&5
20622 ac_status=$?
20623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20624 (exit $ac_status); }; } &&
20625 { ac_try='test -s conftest.$ac_objext'
20626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20627 (eval $ac_try) 2>&5
20628 ac_status=$?
20629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20630 (exit $ac_status); }; }; then
20631 glibcxx_cv_func__atan2l_use=yes
20632 else
20633 echo "$as_me: failed program was:" >&5
20634 sed 's/^/| /' conftest.$ac_ext >&5
20635
20636 glibcxx_cv_func__atan2l_use=no
20637 fi
20638 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20639 ac_ext=c
20640 ac_cpp='$CPP $CPPFLAGS'
20641 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20642 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20643 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20644
20645
20646 fi
20647
20648 fi
20649 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2l_use" >&5
20650 echo "${ECHO_T}$glibcxx_cv_func__atan2l_use" >&6
20651
20652 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
20653
20654 for ac_func in _atan2l
20655 do
20656 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20657 echo "$as_me:$LINENO: checking for $ac_func" >&5
20658 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20659 if eval "test \"\${$as_ac_var+set}\" = set"; then
20660 echo $ECHO_N "(cached) $ECHO_C" >&6
20661 else
20662 if test x$gcc_no_link = xyes; then
20663 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20664 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20665 { (exit 1); exit 1; }; }
20666 fi
20667 cat >conftest.$ac_ext <<_ACEOF
20668 /* confdefs.h. */
20669 _ACEOF
20670 cat confdefs.h >>conftest.$ac_ext
20671 cat >>conftest.$ac_ext <<_ACEOF
20672 /* end confdefs.h. */
20673 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20674 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20675 #define $ac_func innocuous_$ac_func
20676
20677 /* System header to define __stub macros and hopefully few prototypes,
20678 which can conflict with char $ac_func (); below.
20679 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20680 <limits.h> exists even on freestanding compilers. */
20681
20682 #ifdef __STDC__
20683 # include <limits.h>
20684 #else
20685 # include <assert.h>
20686 #endif
20687
20688 #undef $ac_func
20689
20690 /* Override any gcc2 internal prototype to avoid an error. */
20691 #ifdef __cplusplus
20692 extern "C"
20693 {
20694 #endif
20695 /* We use char because int might match the return type of a gcc2
20696 builtin and then its argument prototype would still apply. */
20697 char $ac_func ();
20698 /* The GNU C library defines this for functions which it implements
20699 to always fail with ENOSYS. Some functions are actually named
20700 something starting with __ and the normal name is an alias. */
20701 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20702 choke me
20703 #else
20704 char (*f) () = $ac_func;
20705 #endif
20706 #ifdef __cplusplus
20707 }
20708 #endif
20709
20710 int
20711 main ()
20712 {
20713 return f != $ac_func;
20714 ;
20715 return 0;
20716 }
20717 _ACEOF
20718 rm -f conftest.$ac_objext conftest$ac_exeext
20719 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20720 (eval $ac_link) 2>conftest.er1
20721 ac_status=$?
20722 grep -v '^ *+' conftest.er1 >conftest.err
20723 rm -f conftest.er1
20724 cat conftest.err >&5
20725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20726 (exit $ac_status); } &&
20727 { ac_try='test -z "$ac_c_werror_flag"
20728 || test ! -s conftest.err'
20729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20730 (eval $ac_try) 2>&5
20731 ac_status=$?
20732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20733 (exit $ac_status); }; } &&
20734 { ac_try='test -s conftest$ac_exeext'
20735 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20736 (eval $ac_try) 2>&5
20737 ac_status=$?
20738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20739 (exit $ac_status); }; }; then
20740 eval "$as_ac_var=yes"
20741 else
20742 echo "$as_me: failed program was:" >&5
20743 sed 's/^/| /' conftest.$ac_ext >&5
20744
20745 eval "$as_ac_var=no"
20746 fi
20747 rm -f conftest.err conftest.$ac_objext \
20748 conftest$ac_exeext conftest.$ac_ext
20749 fi
20750 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20751 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20752 if test `eval echo '${'$as_ac_var'}'` = yes; then
20753 cat >>confdefs.h <<_ACEOF
20754 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20755 _ACEOF
20756
20757 fi
20758 done
20759
20760 fi
20761 fi
20762
20763
20764
20765
20766
20767
20768 echo "$as_me:$LINENO: checking for expl declaration" >&5
20769 echo $ECHO_N "checking for expl declaration... $ECHO_C" >&6
20770 if test x${glibcxx_cv_func_expl_use+set} != xset; then
20771 if test "${glibcxx_cv_func_expl_use+set}" = set; then
20772 echo $ECHO_N "(cached) $ECHO_C" >&6
20773 else
20774
20775
20776
20777 ac_ext=cc
20778 ac_cpp='$CXXCPP $CPPFLAGS'
20779 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20780 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20781 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20782
20783 cat >conftest.$ac_ext <<_ACEOF
20784 /* confdefs.h. */
20785 _ACEOF
20786 cat confdefs.h >>conftest.$ac_ext
20787 cat >>conftest.$ac_ext <<_ACEOF
20788 /* end confdefs.h. */
20789 #include <math.h>
20790 #ifdef HAVE_IEEEFP_H
20791 #include <ieeefp.h>
20792 #endif
20793
20794 int
20795 main ()
20796 {
20797 expl(0);
20798 ;
20799 return 0;
20800 }
20801 _ACEOF
20802 rm -f conftest.$ac_objext
20803 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20804 (eval $ac_compile) 2>conftest.er1
20805 ac_status=$?
20806 grep -v '^ *+' conftest.er1 >conftest.err
20807 rm -f conftest.er1
20808 cat conftest.err >&5
20809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20810 (exit $ac_status); } &&
20811 { ac_try='test -z "$ac_cxx_werror_flag"
20812 || test ! -s conftest.err'
20813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20814 (eval $ac_try) 2>&5
20815 ac_status=$?
20816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20817 (exit $ac_status); }; } &&
20818 { ac_try='test -s conftest.$ac_objext'
20819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20820 (eval $ac_try) 2>&5
20821 ac_status=$?
20822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20823 (exit $ac_status); }; }; then
20824 glibcxx_cv_func_expl_use=yes
20825 else
20826 echo "$as_me: failed program was:" >&5
20827 sed 's/^/| /' conftest.$ac_ext >&5
20828
20829 glibcxx_cv_func_expl_use=no
20830 fi
20831 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20832 ac_ext=c
20833 ac_cpp='$CPP $CPPFLAGS'
20834 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20835 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20836 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20837
20838
20839 fi
20840
20841 fi
20842 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expl_use" >&5
20843 echo "${ECHO_T}$glibcxx_cv_func_expl_use" >&6
20844
20845 if test x$glibcxx_cv_func_expl_use = x"yes"; then
20846
20847 for ac_func in expl
20848 do
20849 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20850 echo "$as_me:$LINENO: checking for $ac_func" >&5
20851 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20852 if eval "test \"\${$as_ac_var+set}\" = set"; then
20853 echo $ECHO_N "(cached) $ECHO_C" >&6
20854 else
20855 if test x$gcc_no_link = xyes; then
20856 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20857 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20858 { (exit 1); exit 1; }; }
20859 fi
20860 cat >conftest.$ac_ext <<_ACEOF
20861 /* confdefs.h. */
20862 _ACEOF
20863 cat confdefs.h >>conftest.$ac_ext
20864 cat >>conftest.$ac_ext <<_ACEOF
20865 /* end confdefs.h. */
20866 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20867 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20868 #define $ac_func innocuous_$ac_func
20869
20870 /* System header to define __stub macros and hopefully few prototypes,
20871 which can conflict with char $ac_func (); below.
20872 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20873 <limits.h> exists even on freestanding compilers. */
20874
20875 #ifdef __STDC__
20876 # include <limits.h>
20877 #else
20878 # include <assert.h>
20879 #endif
20880
20881 #undef $ac_func
20882
20883 /* Override any gcc2 internal prototype to avoid an error. */
20884 #ifdef __cplusplus
20885 extern "C"
20886 {
20887 #endif
20888 /* We use char because int might match the return type of a gcc2
20889 builtin and then its argument prototype would still apply. */
20890 char $ac_func ();
20891 /* The GNU C library defines this for functions which it implements
20892 to always fail with ENOSYS. Some functions are actually named
20893 something starting with __ and the normal name is an alias. */
20894 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20895 choke me
20896 #else
20897 char (*f) () = $ac_func;
20898 #endif
20899 #ifdef __cplusplus
20900 }
20901 #endif
20902
20903 int
20904 main ()
20905 {
20906 return f != $ac_func;
20907 ;
20908 return 0;
20909 }
20910 _ACEOF
20911 rm -f conftest.$ac_objext conftest$ac_exeext
20912 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20913 (eval $ac_link) 2>conftest.er1
20914 ac_status=$?
20915 grep -v '^ *+' conftest.er1 >conftest.err
20916 rm -f conftest.er1
20917 cat conftest.err >&5
20918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20919 (exit $ac_status); } &&
20920 { ac_try='test -z "$ac_c_werror_flag"
20921 || test ! -s conftest.err'
20922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20923 (eval $ac_try) 2>&5
20924 ac_status=$?
20925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20926 (exit $ac_status); }; } &&
20927 { ac_try='test -s conftest$ac_exeext'
20928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20929 (eval $ac_try) 2>&5
20930 ac_status=$?
20931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20932 (exit $ac_status); }; }; then
20933 eval "$as_ac_var=yes"
20934 else
20935 echo "$as_me: failed program was:" >&5
20936 sed 's/^/| /' conftest.$ac_ext >&5
20937
20938 eval "$as_ac_var=no"
20939 fi
20940 rm -f conftest.err conftest.$ac_objext \
20941 conftest$ac_exeext conftest.$ac_ext
20942 fi
20943 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20944 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20945 if test `eval echo '${'$as_ac_var'}'` = yes; then
20946 cat >>confdefs.h <<_ACEOF
20947 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20948 _ACEOF
20949
20950 fi
20951 done
20952
20953 else
20954
20955 echo "$as_me:$LINENO: checking for _expl declaration" >&5
20956 echo $ECHO_N "checking for _expl declaration... $ECHO_C" >&6
20957 if test x${glibcxx_cv_func__expl_use+set} != xset; then
20958 if test "${glibcxx_cv_func__expl_use+set}" = set; then
20959 echo $ECHO_N "(cached) $ECHO_C" >&6
20960 else
20961
20962
20963
20964 ac_ext=cc
20965 ac_cpp='$CXXCPP $CPPFLAGS'
20966 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20967 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20968 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20969
20970 cat >conftest.$ac_ext <<_ACEOF
20971 /* confdefs.h. */
20972 _ACEOF
20973 cat confdefs.h >>conftest.$ac_ext
20974 cat >>conftest.$ac_ext <<_ACEOF
20975 /* end confdefs.h. */
20976 #include <math.h>
20977 #ifdef HAVE_IEEEFP_H
20978 #include <ieeefp.h>
20979 #endif
20980
20981 int
20982 main ()
20983 {
20984 _expl(0);
20985 ;
20986 return 0;
20987 }
20988 _ACEOF
20989 rm -f conftest.$ac_objext
20990 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20991 (eval $ac_compile) 2>conftest.er1
20992 ac_status=$?
20993 grep -v '^ *+' conftest.er1 >conftest.err
20994 rm -f conftest.er1
20995 cat conftest.err >&5
20996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20997 (exit $ac_status); } &&
20998 { ac_try='test -z "$ac_cxx_werror_flag"
20999 || test ! -s conftest.err'
21000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21001 (eval $ac_try) 2>&5
21002 ac_status=$?
21003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21004 (exit $ac_status); }; } &&
21005 { ac_try='test -s conftest.$ac_objext'
21006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21007 (eval $ac_try) 2>&5
21008 ac_status=$?
21009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21010 (exit $ac_status); }; }; then
21011 glibcxx_cv_func__expl_use=yes
21012 else
21013 echo "$as_me: failed program was:" >&5
21014 sed 's/^/| /' conftest.$ac_ext >&5
21015
21016 glibcxx_cv_func__expl_use=no
21017 fi
21018 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21019 ac_ext=c
21020 ac_cpp='$CPP $CPPFLAGS'
21021 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21022 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21023 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21024
21025
21026 fi
21027
21028 fi
21029 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expl_use" >&5
21030 echo "${ECHO_T}$glibcxx_cv_func__expl_use" >&6
21031
21032 if test x$glibcxx_cv_func__expl_use = x"yes"; then
21033
21034 for ac_func in _expl
21035 do
21036 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21037 echo "$as_me:$LINENO: checking for $ac_func" >&5
21038 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21039 if eval "test \"\${$as_ac_var+set}\" = set"; then
21040 echo $ECHO_N "(cached) $ECHO_C" >&6
21041 else
21042 if test x$gcc_no_link = xyes; then
21043 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21044 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21045 { (exit 1); exit 1; }; }
21046 fi
21047 cat >conftest.$ac_ext <<_ACEOF
21048 /* confdefs.h. */
21049 _ACEOF
21050 cat confdefs.h >>conftest.$ac_ext
21051 cat >>conftest.$ac_ext <<_ACEOF
21052 /* end confdefs.h. */
21053 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21054 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21055 #define $ac_func innocuous_$ac_func
21056
21057 /* System header to define __stub macros and hopefully few prototypes,
21058 which can conflict with char $ac_func (); below.
21059 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21060 <limits.h> exists even on freestanding compilers. */
21061
21062 #ifdef __STDC__
21063 # include <limits.h>
21064 #else
21065 # include <assert.h>
21066 #endif
21067
21068 #undef $ac_func
21069
21070 /* Override any gcc2 internal prototype to avoid an error. */
21071 #ifdef __cplusplus
21072 extern "C"
21073 {
21074 #endif
21075 /* We use char because int might match the return type of a gcc2
21076 builtin and then its argument prototype would still apply. */
21077 char $ac_func ();
21078 /* The GNU C library defines this for functions which it implements
21079 to always fail with ENOSYS. Some functions are actually named
21080 something starting with __ and the normal name is an alias. */
21081 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21082 choke me
21083 #else
21084 char (*f) () = $ac_func;
21085 #endif
21086 #ifdef __cplusplus
21087 }
21088 #endif
21089
21090 int
21091 main ()
21092 {
21093 return f != $ac_func;
21094 ;
21095 return 0;
21096 }
21097 _ACEOF
21098 rm -f conftest.$ac_objext conftest$ac_exeext
21099 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21100 (eval $ac_link) 2>conftest.er1
21101 ac_status=$?
21102 grep -v '^ *+' conftest.er1 >conftest.err
21103 rm -f conftest.er1
21104 cat conftest.err >&5
21105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21106 (exit $ac_status); } &&
21107 { ac_try='test -z "$ac_c_werror_flag"
21108 || test ! -s conftest.err'
21109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21110 (eval $ac_try) 2>&5
21111 ac_status=$?
21112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21113 (exit $ac_status); }; } &&
21114 { ac_try='test -s conftest$ac_exeext'
21115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21116 (eval $ac_try) 2>&5
21117 ac_status=$?
21118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21119 (exit $ac_status); }; }; then
21120 eval "$as_ac_var=yes"
21121 else
21122 echo "$as_me: failed program was:" >&5
21123 sed 's/^/| /' conftest.$ac_ext >&5
21124
21125 eval "$as_ac_var=no"
21126 fi
21127 rm -f conftest.err conftest.$ac_objext \
21128 conftest$ac_exeext conftest.$ac_ext
21129 fi
21130 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21131 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21132 if test `eval echo '${'$as_ac_var'}'` = yes; then
21133 cat >>confdefs.h <<_ACEOF
21134 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21135 _ACEOF
21136
21137 fi
21138 done
21139
21140 fi
21141 fi
21142
21143
21144
21145
21146
21147
21148 echo "$as_me:$LINENO: checking for fabsl declaration" >&5
21149 echo $ECHO_N "checking for fabsl declaration... $ECHO_C" >&6
21150 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
21151 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then
21152 echo $ECHO_N "(cached) $ECHO_C" >&6
21153 else
21154
21155
21156
21157 ac_ext=cc
21158 ac_cpp='$CXXCPP $CPPFLAGS'
21159 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21160 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21161 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21162
21163 cat >conftest.$ac_ext <<_ACEOF
21164 /* confdefs.h. */
21165 _ACEOF
21166 cat confdefs.h >>conftest.$ac_ext
21167 cat >>conftest.$ac_ext <<_ACEOF
21168 /* end confdefs.h. */
21169 #include <math.h>
21170 #ifdef HAVE_IEEEFP_H
21171 #include <ieeefp.h>
21172 #endif
21173
21174 int
21175 main ()
21176 {
21177 fabsl(0);
21178 ;
21179 return 0;
21180 }
21181 _ACEOF
21182 rm -f conftest.$ac_objext
21183 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21184 (eval $ac_compile) 2>conftest.er1
21185 ac_status=$?
21186 grep -v '^ *+' conftest.er1 >conftest.err
21187 rm -f conftest.er1
21188 cat conftest.err >&5
21189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21190 (exit $ac_status); } &&
21191 { ac_try='test -z "$ac_cxx_werror_flag"
21192 || test ! -s conftest.err'
21193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21194 (eval $ac_try) 2>&5
21195 ac_status=$?
21196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21197 (exit $ac_status); }; } &&
21198 { ac_try='test -s conftest.$ac_objext'
21199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21200 (eval $ac_try) 2>&5
21201 ac_status=$?
21202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21203 (exit $ac_status); }; }; then
21204 glibcxx_cv_func_fabsl_use=yes
21205 else
21206 echo "$as_me: failed program was:" >&5
21207 sed 's/^/| /' conftest.$ac_ext >&5
21208
21209 glibcxx_cv_func_fabsl_use=no
21210 fi
21211 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21212 ac_ext=c
21213 ac_cpp='$CPP $CPPFLAGS'
21214 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21215 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21216 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21217
21218
21219 fi
21220
21221 fi
21222 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsl_use" >&5
21223 echo "${ECHO_T}$glibcxx_cv_func_fabsl_use" >&6
21224
21225 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
21226
21227 for ac_func in fabsl
21228 do
21229 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21230 echo "$as_me:$LINENO: checking for $ac_func" >&5
21231 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21232 if eval "test \"\${$as_ac_var+set}\" = set"; then
21233 echo $ECHO_N "(cached) $ECHO_C" >&6
21234 else
21235 if test x$gcc_no_link = xyes; then
21236 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21237 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21238 { (exit 1); exit 1; }; }
21239 fi
21240 cat >conftest.$ac_ext <<_ACEOF
21241 /* confdefs.h. */
21242 _ACEOF
21243 cat confdefs.h >>conftest.$ac_ext
21244 cat >>conftest.$ac_ext <<_ACEOF
21245 /* end confdefs.h. */
21246 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21247 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21248 #define $ac_func innocuous_$ac_func
21249
21250 /* System header to define __stub macros and hopefully few prototypes,
21251 which can conflict with char $ac_func (); below.
21252 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21253 <limits.h> exists even on freestanding compilers. */
21254
21255 #ifdef __STDC__
21256 # include <limits.h>
21257 #else
21258 # include <assert.h>
21259 #endif
21260
21261 #undef $ac_func
21262
21263 /* Override any gcc2 internal prototype to avoid an error. */
21264 #ifdef __cplusplus
21265 extern "C"
21266 {
21267 #endif
21268 /* We use char because int might match the return type of a gcc2
21269 builtin and then its argument prototype would still apply. */
21270 char $ac_func ();
21271 /* The GNU C library defines this for functions which it implements
21272 to always fail with ENOSYS. Some functions are actually named
21273 something starting with __ and the normal name is an alias. */
21274 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21275 choke me
21276 #else
21277 char (*f) () = $ac_func;
21278 #endif
21279 #ifdef __cplusplus
21280 }
21281 #endif
21282
21283 int
21284 main ()
21285 {
21286 return f != $ac_func;
21287 ;
21288 return 0;
21289 }
21290 _ACEOF
21291 rm -f conftest.$ac_objext conftest$ac_exeext
21292 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21293 (eval $ac_link) 2>conftest.er1
21294 ac_status=$?
21295 grep -v '^ *+' conftest.er1 >conftest.err
21296 rm -f conftest.er1
21297 cat conftest.err >&5
21298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21299 (exit $ac_status); } &&
21300 { ac_try='test -z "$ac_c_werror_flag"
21301 || test ! -s conftest.err'
21302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21303 (eval $ac_try) 2>&5
21304 ac_status=$?
21305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21306 (exit $ac_status); }; } &&
21307 { ac_try='test -s conftest$ac_exeext'
21308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21309 (eval $ac_try) 2>&5
21310 ac_status=$?
21311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21312 (exit $ac_status); }; }; then
21313 eval "$as_ac_var=yes"
21314 else
21315 echo "$as_me: failed program was:" >&5
21316 sed 's/^/| /' conftest.$ac_ext >&5
21317
21318 eval "$as_ac_var=no"
21319 fi
21320 rm -f conftest.err conftest.$ac_objext \
21321 conftest$ac_exeext conftest.$ac_ext
21322 fi
21323 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21324 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21325 if test `eval echo '${'$as_ac_var'}'` = yes; then
21326 cat >>confdefs.h <<_ACEOF
21327 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21328 _ACEOF
21329
21330 fi
21331 done
21332
21333 else
21334
21335 echo "$as_me:$LINENO: checking for _fabsl declaration" >&5
21336 echo $ECHO_N "checking for _fabsl declaration... $ECHO_C" >&6
21337 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
21338 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then
21339 echo $ECHO_N "(cached) $ECHO_C" >&6
21340 else
21341
21342
21343
21344 ac_ext=cc
21345 ac_cpp='$CXXCPP $CPPFLAGS'
21346 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21347 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21348 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21349
21350 cat >conftest.$ac_ext <<_ACEOF
21351 /* confdefs.h. */
21352 _ACEOF
21353 cat confdefs.h >>conftest.$ac_ext
21354 cat >>conftest.$ac_ext <<_ACEOF
21355 /* end confdefs.h. */
21356 #include <math.h>
21357 #ifdef HAVE_IEEEFP_H
21358 #include <ieeefp.h>
21359 #endif
21360
21361 int
21362 main ()
21363 {
21364 _fabsl(0);
21365 ;
21366 return 0;
21367 }
21368 _ACEOF
21369 rm -f conftest.$ac_objext
21370 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21371 (eval $ac_compile) 2>conftest.er1
21372 ac_status=$?
21373 grep -v '^ *+' conftest.er1 >conftest.err
21374 rm -f conftest.er1
21375 cat conftest.err >&5
21376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21377 (exit $ac_status); } &&
21378 { ac_try='test -z "$ac_cxx_werror_flag"
21379 || test ! -s conftest.err'
21380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21381 (eval $ac_try) 2>&5
21382 ac_status=$?
21383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21384 (exit $ac_status); }; } &&
21385 { ac_try='test -s conftest.$ac_objext'
21386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21387 (eval $ac_try) 2>&5
21388 ac_status=$?
21389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21390 (exit $ac_status); }; }; then
21391 glibcxx_cv_func__fabsl_use=yes
21392 else
21393 echo "$as_me: failed program was:" >&5
21394 sed 's/^/| /' conftest.$ac_ext >&5
21395
21396 glibcxx_cv_func__fabsl_use=no
21397 fi
21398 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21399 ac_ext=c
21400 ac_cpp='$CPP $CPPFLAGS'
21401 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21402 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21403 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21404
21405
21406 fi
21407
21408 fi
21409 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsl_use" >&5
21410 echo "${ECHO_T}$glibcxx_cv_func__fabsl_use" >&6
21411
21412 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
21413
21414 for ac_func in _fabsl
21415 do
21416 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21417 echo "$as_me:$LINENO: checking for $ac_func" >&5
21418 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21419 if eval "test \"\${$as_ac_var+set}\" = set"; then
21420 echo $ECHO_N "(cached) $ECHO_C" >&6
21421 else
21422 if test x$gcc_no_link = xyes; then
21423 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21424 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21425 { (exit 1); exit 1; }; }
21426 fi
21427 cat >conftest.$ac_ext <<_ACEOF
21428 /* confdefs.h. */
21429 _ACEOF
21430 cat confdefs.h >>conftest.$ac_ext
21431 cat >>conftest.$ac_ext <<_ACEOF
21432 /* end confdefs.h. */
21433 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21434 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21435 #define $ac_func innocuous_$ac_func
21436
21437 /* System header to define __stub macros and hopefully few prototypes,
21438 which can conflict with char $ac_func (); below.
21439 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21440 <limits.h> exists even on freestanding compilers. */
21441
21442 #ifdef __STDC__
21443 # include <limits.h>
21444 #else
21445 # include <assert.h>
21446 #endif
21447
21448 #undef $ac_func
21449
21450 /* Override any gcc2 internal prototype to avoid an error. */
21451 #ifdef __cplusplus
21452 extern "C"
21453 {
21454 #endif
21455 /* We use char because int might match the return type of a gcc2
21456 builtin and then its argument prototype would still apply. */
21457 char $ac_func ();
21458 /* The GNU C library defines this for functions which it implements
21459 to always fail with ENOSYS. Some functions are actually named
21460 something starting with __ and the normal name is an alias. */
21461 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21462 choke me
21463 #else
21464 char (*f) () = $ac_func;
21465 #endif
21466 #ifdef __cplusplus
21467 }
21468 #endif
21469
21470 int
21471 main ()
21472 {
21473 return f != $ac_func;
21474 ;
21475 return 0;
21476 }
21477 _ACEOF
21478 rm -f conftest.$ac_objext conftest$ac_exeext
21479 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21480 (eval $ac_link) 2>conftest.er1
21481 ac_status=$?
21482 grep -v '^ *+' conftest.er1 >conftest.err
21483 rm -f conftest.er1
21484 cat conftest.err >&5
21485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21486 (exit $ac_status); } &&
21487 { ac_try='test -z "$ac_c_werror_flag"
21488 || test ! -s conftest.err'
21489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21490 (eval $ac_try) 2>&5
21491 ac_status=$?
21492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21493 (exit $ac_status); }; } &&
21494 { ac_try='test -s conftest$ac_exeext'
21495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21496 (eval $ac_try) 2>&5
21497 ac_status=$?
21498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21499 (exit $ac_status); }; }; then
21500 eval "$as_ac_var=yes"
21501 else
21502 echo "$as_me: failed program was:" >&5
21503 sed 's/^/| /' conftest.$ac_ext >&5
21504
21505 eval "$as_ac_var=no"
21506 fi
21507 rm -f conftest.err conftest.$ac_objext \
21508 conftest$ac_exeext conftest.$ac_ext
21509 fi
21510 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21511 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21512 if test `eval echo '${'$as_ac_var'}'` = yes; then
21513 cat >>confdefs.h <<_ACEOF
21514 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21515 _ACEOF
21516
21517 fi
21518 done
21519
21520 fi
21521 fi
21522
21523
21524
21525
21526
21527
21528 echo "$as_me:$LINENO: checking for fmodl declaration" >&5
21529 echo $ECHO_N "checking for fmodl declaration... $ECHO_C" >&6
21530 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
21531 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then
21532 echo $ECHO_N "(cached) $ECHO_C" >&6
21533 else
21534
21535
21536
21537 ac_ext=cc
21538 ac_cpp='$CXXCPP $CPPFLAGS'
21539 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21540 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21541 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21542
21543 cat >conftest.$ac_ext <<_ACEOF
21544 /* confdefs.h. */
21545 _ACEOF
21546 cat confdefs.h >>conftest.$ac_ext
21547 cat >>conftest.$ac_ext <<_ACEOF
21548 /* end confdefs.h. */
21549 #include <math.h>
21550 int
21551 main ()
21552 {
21553 fmodl(0, 0);
21554 ;
21555 return 0;
21556 }
21557 _ACEOF
21558 rm -f conftest.$ac_objext
21559 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21560 (eval $ac_compile) 2>conftest.er1
21561 ac_status=$?
21562 grep -v '^ *+' conftest.er1 >conftest.err
21563 rm -f conftest.er1
21564 cat conftest.err >&5
21565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21566 (exit $ac_status); } &&
21567 { ac_try='test -z "$ac_cxx_werror_flag"
21568 || test ! -s conftest.err'
21569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21570 (eval $ac_try) 2>&5
21571 ac_status=$?
21572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21573 (exit $ac_status); }; } &&
21574 { ac_try='test -s conftest.$ac_objext'
21575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21576 (eval $ac_try) 2>&5
21577 ac_status=$?
21578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21579 (exit $ac_status); }; }; then
21580 glibcxx_cv_func_fmodl_use=yes
21581 else
21582 echo "$as_me: failed program was:" >&5
21583 sed 's/^/| /' conftest.$ac_ext >&5
21584
21585 glibcxx_cv_func_fmodl_use=no
21586 fi
21587 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21588 ac_ext=c
21589 ac_cpp='$CPP $CPPFLAGS'
21590 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21591 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21592 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21593
21594
21595 fi
21596
21597 fi
21598 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodl_use" >&5
21599 echo "${ECHO_T}$glibcxx_cv_func_fmodl_use" >&6
21600
21601 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
21602
21603 for ac_func in fmodl
21604 do
21605 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21606 echo "$as_me:$LINENO: checking for $ac_func" >&5
21607 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21608 if eval "test \"\${$as_ac_var+set}\" = set"; then
21609 echo $ECHO_N "(cached) $ECHO_C" >&6
21610 else
21611 if test x$gcc_no_link = xyes; then
21612 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21613 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21614 { (exit 1); exit 1; }; }
21615 fi
21616 cat >conftest.$ac_ext <<_ACEOF
21617 /* confdefs.h. */
21618 _ACEOF
21619 cat confdefs.h >>conftest.$ac_ext
21620 cat >>conftest.$ac_ext <<_ACEOF
21621 /* end confdefs.h. */
21622 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21623 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21624 #define $ac_func innocuous_$ac_func
21625
21626 /* System header to define __stub macros and hopefully few prototypes,
21627 which can conflict with char $ac_func (); below.
21628 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21629 <limits.h> exists even on freestanding compilers. */
21630
21631 #ifdef __STDC__
21632 # include <limits.h>
21633 #else
21634 # include <assert.h>
21635 #endif
21636
21637 #undef $ac_func
21638
21639 /* Override any gcc2 internal prototype to avoid an error. */
21640 #ifdef __cplusplus
21641 extern "C"
21642 {
21643 #endif
21644 /* We use char because int might match the return type of a gcc2
21645 builtin and then its argument prototype would still apply. */
21646 char $ac_func ();
21647 /* The GNU C library defines this for functions which it implements
21648 to always fail with ENOSYS. Some functions are actually named
21649 something starting with __ and the normal name is an alias. */
21650 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21651 choke me
21652 #else
21653 char (*f) () = $ac_func;
21654 #endif
21655 #ifdef __cplusplus
21656 }
21657 #endif
21658
21659 int
21660 main ()
21661 {
21662 return f != $ac_func;
21663 ;
21664 return 0;
21665 }
21666 _ACEOF
21667 rm -f conftest.$ac_objext conftest$ac_exeext
21668 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21669 (eval $ac_link) 2>conftest.er1
21670 ac_status=$?
21671 grep -v '^ *+' conftest.er1 >conftest.err
21672 rm -f conftest.er1
21673 cat conftest.err >&5
21674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21675 (exit $ac_status); } &&
21676 { ac_try='test -z "$ac_c_werror_flag"
21677 || test ! -s conftest.err'
21678 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21679 (eval $ac_try) 2>&5
21680 ac_status=$?
21681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21682 (exit $ac_status); }; } &&
21683 { ac_try='test -s conftest$ac_exeext'
21684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21685 (eval $ac_try) 2>&5
21686 ac_status=$?
21687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21688 (exit $ac_status); }; }; then
21689 eval "$as_ac_var=yes"
21690 else
21691 echo "$as_me: failed program was:" >&5
21692 sed 's/^/| /' conftest.$ac_ext >&5
21693
21694 eval "$as_ac_var=no"
21695 fi
21696 rm -f conftest.err conftest.$ac_objext \
21697 conftest$ac_exeext conftest.$ac_ext
21698 fi
21699 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21700 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21701 if test `eval echo '${'$as_ac_var'}'` = yes; then
21702 cat >>confdefs.h <<_ACEOF
21703 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21704 _ACEOF
21705
21706 fi
21707 done
21708
21709 else
21710
21711 echo "$as_me:$LINENO: checking for _fmodl declaration" >&5
21712 echo $ECHO_N "checking for _fmodl declaration... $ECHO_C" >&6
21713 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
21714 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then
21715 echo $ECHO_N "(cached) $ECHO_C" >&6
21716 else
21717
21718
21719
21720 ac_ext=cc
21721 ac_cpp='$CXXCPP $CPPFLAGS'
21722 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21723 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21724 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21725
21726 cat >conftest.$ac_ext <<_ACEOF
21727 /* confdefs.h. */
21728 _ACEOF
21729 cat confdefs.h >>conftest.$ac_ext
21730 cat >>conftest.$ac_ext <<_ACEOF
21731 /* end confdefs.h. */
21732 #include <math.h>
21733 int
21734 main ()
21735 {
21736 _fmodl(0, 0);
21737 ;
21738 return 0;
21739 }
21740 _ACEOF
21741 rm -f conftest.$ac_objext
21742 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21743 (eval $ac_compile) 2>conftest.er1
21744 ac_status=$?
21745 grep -v '^ *+' conftest.er1 >conftest.err
21746 rm -f conftest.er1
21747 cat conftest.err >&5
21748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21749 (exit $ac_status); } &&
21750 { ac_try='test -z "$ac_cxx_werror_flag"
21751 || test ! -s conftest.err'
21752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21753 (eval $ac_try) 2>&5
21754 ac_status=$?
21755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21756 (exit $ac_status); }; } &&
21757 { ac_try='test -s conftest.$ac_objext'
21758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21759 (eval $ac_try) 2>&5
21760 ac_status=$?
21761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21762 (exit $ac_status); }; }; then
21763 glibcxx_cv_func__fmodl_use=yes
21764 else
21765 echo "$as_me: failed program was:" >&5
21766 sed 's/^/| /' conftest.$ac_ext >&5
21767
21768 glibcxx_cv_func__fmodl_use=no
21769 fi
21770 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21771 ac_ext=c
21772 ac_cpp='$CPP $CPPFLAGS'
21773 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21774 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21775 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21776
21777
21778 fi
21779
21780 fi
21781 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodl_use" >&5
21782 echo "${ECHO_T}$glibcxx_cv_func__fmodl_use" >&6
21783
21784 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
21785
21786 for ac_func in _fmodl
21787 do
21788 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21789 echo "$as_me:$LINENO: checking for $ac_func" >&5
21790 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21791 if eval "test \"\${$as_ac_var+set}\" = set"; then
21792 echo $ECHO_N "(cached) $ECHO_C" >&6
21793 else
21794 if test x$gcc_no_link = xyes; then
21795 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21796 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21797 { (exit 1); exit 1; }; }
21798 fi
21799 cat >conftest.$ac_ext <<_ACEOF
21800 /* confdefs.h. */
21801 _ACEOF
21802 cat confdefs.h >>conftest.$ac_ext
21803 cat >>conftest.$ac_ext <<_ACEOF
21804 /* end confdefs.h. */
21805 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21806 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21807 #define $ac_func innocuous_$ac_func
21808
21809 /* System header to define __stub macros and hopefully few prototypes,
21810 which can conflict with char $ac_func (); below.
21811 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21812 <limits.h> exists even on freestanding compilers. */
21813
21814 #ifdef __STDC__
21815 # include <limits.h>
21816 #else
21817 # include <assert.h>
21818 #endif
21819
21820 #undef $ac_func
21821
21822 /* Override any gcc2 internal prototype to avoid an error. */
21823 #ifdef __cplusplus
21824 extern "C"
21825 {
21826 #endif
21827 /* We use char because int might match the return type of a gcc2
21828 builtin and then its argument prototype would still apply. */
21829 char $ac_func ();
21830 /* The GNU C library defines this for functions which it implements
21831 to always fail with ENOSYS. Some functions are actually named
21832 something starting with __ and the normal name is an alias. */
21833 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21834 choke me
21835 #else
21836 char (*f) () = $ac_func;
21837 #endif
21838 #ifdef __cplusplus
21839 }
21840 #endif
21841
21842 int
21843 main ()
21844 {
21845 return f != $ac_func;
21846 ;
21847 return 0;
21848 }
21849 _ACEOF
21850 rm -f conftest.$ac_objext conftest$ac_exeext
21851 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21852 (eval $ac_link) 2>conftest.er1
21853 ac_status=$?
21854 grep -v '^ *+' conftest.er1 >conftest.err
21855 rm -f conftest.er1
21856 cat conftest.err >&5
21857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21858 (exit $ac_status); } &&
21859 { ac_try='test -z "$ac_c_werror_flag"
21860 || test ! -s conftest.err'
21861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21862 (eval $ac_try) 2>&5
21863 ac_status=$?
21864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21865 (exit $ac_status); }; } &&
21866 { ac_try='test -s conftest$ac_exeext'
21867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21868 (eval $ac_try) 2>&5
21869 ac_status=$?
21870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21871 (exit $ac_status); }; }; then
21872 eval "$as_ac_var=yes"
21873 else
21874 echo "$as_me: failed program was:" >&5
21875 sed 's/^/| /' conftest.$ac_ext >&5
21876
21877 eval "$as_ac_var=no"
21878 fi
21879 rm -f conftest.err conftest.$ac_objext \
21880 conftest$ac_exeext conftest.$ac_ext
21881 fi
21882 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21883 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21884 if test `eval echo '${'$as_ac_var'}'` = yes; then
21885 cat >>confdefs.h <<_ACEOF
21886 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21887 _ACEOF
21888
21889 fi
21890 done
21891
21892 fi
21893 fi
21894
21895
21896
21897
21898
21899
21900 echo "$as_me:$LINENO: checking for frexpl declaration" >&5
21901 echo $ECHO_N "checking for frexpl declaration... $ECHO_C" >&6
21902 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
21903 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then
21904 echo $ECHO_N "(cached) $ECHO_C" >&6
21905 else
21906
21907
21908
21909 ac_ext=cc
21910 ac_cpp='$CXXCPP $CPPFLAGS'
21911 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21912 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21913 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21914
21915 cat >conftest.$ac_ext <<_ACEOF
21916 /* confdefs.h. */
21917 _ACEOF
21918 cat confdefs.h >>conftest.$ac_ext
21919 cat >>conftest.$ac_ext <<_ACEOF
21920 /* end confdefs.h. */
21921 #include <math.h>
21922 int
21923 main ()
21924 {
21925 frexpl(0, 0);
21926 ;
21927 return 0;
21928 }
21929 _ACEOF
21930 rm -f conftest.$ac_objext
21931 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21932 (eval $ac_compile) 2>conftest.er1
21933 ac_status=$?
21934 grep -v '^ *+' conftest.er1 >conftest.err
21935 rm -f conftest.er1
21936 cat conftest.err >&5
21937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21938 (exit $ac_status); } &&
21939 { ac_try='test -z "$ac_cxx_werror_flag"
21940 || test ! -s conftest.err'
21941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21942 (eval $ac_try) 2>&5
21943 ac_status=$?
21944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21945 (exit $ac_status); }; } &&
21946 { ac_try='test -s conftest.$ac_objext'
21947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21948 (eval $ac_try) 2>&5
21949 ac_status=$?
21950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21951 (exit $ac_status); }; }; then
21952 glibcxx_cv_func_frexpl_use=yes
21953 else
21954 echo "$as_me: failed program was:" >&5
21955 sed 's/^/| /' conftest.$ac_ext >&5
21956
21957 glibcxx_cv_func_frexpl_use=no
21958 fi
21959 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21960 ac_ext=c
21961 ac_cpp='$CPP $CPPFLAGS'
21962 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21963 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21964 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21965
21966
21967 fi
21968
21969 fi
21970 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpl_use" >&5
21971 echo "${ECHO_T}$glibcxx_cv_func_frexpl_use" >&6
21972
21973 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
21974
21975 for ac_func in frexpl
21976 do
21977 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21978 echo "$as_me:$LINENO: checking for $ac_func" >&5
21979 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21980 if eval "test \"\${$as_ac_var+set}\" = set"; then
21981 echo $ECHO_N "(cached) $ECHO_C" >&6
21982 else
21983 if test x$gcc_no_link = xyes; then
21984 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21985 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21986 { (exit 1); exit 1; }; }
21987 fi
21988 cat >conftest.$ac_ext <<_ACEOF
21989 /* confdefs.h. */
21990 _ACEOF
21991 cat confdefs.h >>conftest.$ac_ext
21992 cat >>conftest.$ac_ext <<_ACEOF
21993 /* end confdefs.h. */
21994 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21995 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21996 #define $ac_func innocuous_$ac_func
21997
21998 /* System header to define __stub macros and hopefully few prototypes,
21999 which can conflict with char $ac_func (); below.
22000 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22001 <limits.h> exists even on freestanding compilers. */
22002
22003 #ifdef __STDC__
22004 # include <limits.h>
22005 #else
22006 # include <assert.h>
22007 #endif
22008
22009 #undef $ac_func
22010
22011 /* Override any gcc2 internal prototype to avoid an error. */
22012 #ifdef __cplusplus
22013 extern "C"
22014 {
22015 #endif
22016 /* We use char because int might match the return type of a gcc2
22017 builtin and then its argument prototype would still apply. */
22018 char $ac_func ();
22019 /* The GNU C library defines this for functions which it implements
22020 to always fail with ENOSYS. Some functions are actually named
22021 something starting with __ and the normal name is an alias. */
22022 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22023 choke me
22024 #else
22025 char (*f) () = $ac_func;
22026 #endif
22027 #ifdef __cplusplus
22028 }
22029 #endif
22030
22031 int
22032 main ()
22033 {
22034 return f != $ac_func;
22035 ;
22036 return 0;
22037 }
22038 _ACEOF
22039 rm -f conftest.$ac_objext conftest$ac_exeext
22040 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22041 (eval $ac_link) 2>conftest.er1
22042 ac_status=$?
22043 grep -v '^ *+' conftest.er1 >conftest.err
22044 rm -f conftest.er1
22045 cat conftest.err >&5
22046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22047 (exit $ac_status); } &&
22048 { ac_try='test -z "$ac_c_werror_flag"
22049 || test ! -s conftest.err'
22050 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22051 (eval $ac_try) 2>&5
22052 ac_status=$?
22053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22054 (exit $ac_status); }; } &&
22055 { ac_try='test -s conftest$ac_exeext'
22056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22057 (eval $ac_try) 2>&5
22058 ac_status=$?
22059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22060 (exit $ac_status); }; }; then
22061 eval "$as_ac_var=yes"
22062 else
22063 echo "$as_me: failed program was:" >&5
22064 sed 's/^/| /' conftest.$ac_ext >&5
22065
22066 eval "$as_ac_var=no"
22067 fi
22068 rm -f conftest.err conftest.$ac_objext \
22069 conftest$ac_exeext conftest.$ac_ext
22070 fi
22071 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22072 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22073 if test `eval echo '${'$as_ac_var'}'` = yes; then
22074 cat >>confdefs.h <<_ACEOF
22075 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22076 _ACEOF
22077
22078 fi
22079 done
22080
22081 else
22082
22083 echo "$as_me:$LINENO: checking for _frexpl declaration" >&5
22084 echo $ECHO_N "checking for _frexpl declaration... $ECHO_C" >&6
22085 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
22086 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then
22087 echo $ECHO_N "(cached) $ECHO_C" >&6
22088 else
22089
22090
22091
22092 ac_ext=cc
22093 ac_cpp='$CXXCPP $CPPFLAGS'
22094 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22095 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22096 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22097
22098 cat >conftest.$ac_ext <<_ACEOF
22099 /* confdefs.h. */
22100 _ACEOF
22101 cat confdefs.h >>conftest.$ac_ext
22102 cat >>conftest.$ac_ext <<_ACEOF
22103 /* end confdefs.h. */
22104 #include <math.h>
22105 int
22106 main ()
22107 {
22108 _frexpl(0, 0);
22109 ;
22110 return 0;
22111 }
22112 _ACEOF
22113 rm -f conftest.$ac_objext
22114 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22115 (eval $ac_compile) 2>conftest.er1
22116 ac_status=$?
22117 grep -v '^ *+' conftest.er1 >conftest.err
22118 rm -f conftest.er1
22119 cat conftest.err >&5
22120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22121 (exit $ac_status); } &&
22122 { ac_try='test -z "$ac_cxx_werror_flag"
22123 || test ! -s conftest.err'
22124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22125 (eval $ac_try) 2>&5
22126 ac_status=$?
22127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22128 (exit $ac_status); }; } &&
22129 { ac_try='test -s conftest.$ac_objext'
22130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22131 (eval $ac_try) 2>&5
22132 ac_status=$?
22133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22134 (exit $ac_status); }; }; then
22135 glibcxx_cv_func__frexpl_use=yes
22136 else
22137 echo "$as_me: failed program was:" >&5
22138 sed 's/^/| /' conftest.$ac_ext >&5
22139
22140 glibcxx_cv_func__frexpl_use=no
22141 fi
22142 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22143 ac_ext=c
22144 ac_cpp='$CPP $CPPFLAGS'
22145 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22146 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22147 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22148
22149
22150 fi
22151
22152 fi
22153 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpl_use" >&5
22154 echo "${ECHO_T}$glibcxx_cv_func__frexpl_use" >&6
22155
22156 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
22157
22158 for ac_func in _frexpl
22159 do
22160 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22161 echo "$as_me:$LINENO: checking for $ac_func" >&5
22162 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22163 if eval "test \"\${$as_ac_var+set}\" = set"; then
22164 echo $ECHO_N "(cached) $ECHO_C" >&6
22165 else
22166 if test x$gcc_no_link = xyes; then
22167 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22168 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22169 { (exit 1); exit 1; }; }
22170 fi
22171 cat >conftest.$ac_ext <<_ACEOF
22172 /* confdefs.h. */
22173 _ACEOF
22174 cat confdefs.h >>conftest.$ac_ext
22175 cat >>conftest.$ac_ext <<_ACEOF
22176 /* end confdefs.h. */
22177 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22178 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22179 #define $ac_func innocuous_$ac_func
22180
22181 /* System header to define __stub macros and hopefully few prototypes,
22182 which can conflict with char $ac_func (); below.
22183 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22184 <limits.h> exists even on freestanding compilers. */
22185
22186 #ifdef __STDC__
22187 # include <limits.h>
22188 #else
22189 # include <assert.h>
22190 #endif
22191
22192 #undef $ac_func
22193
22194 /* Override any gcc2 internal prototype to avoid an error. */
22195 #ifdef __cplusplus
22196 extern "C"
22197 {
22198 #endif
22199 /* We use char because int might match the return type of a gcc2
22200 builtin and then its argument prototype would still apply. */
22201 char $ac_func ();
22202 /* The GNU C library defines this for functions which it implements
22203 to always fail with ENOSYS. Some functions are actually named
22204 something starting with __ and the normal name is an alias. */
22205 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22206 choke me
22207 #else
22208 char (*f) () = $ac_func;
22209 #endif
22210 #ifdef __cplusplus
22211 }
22212 #endif
22213
22214 int
22215 main ()
22216 {
22217 return f != $ac_func;
22218 ;
22219 return 0;
22220 }
22221 _ACEOF
22222 rm -f conftest.$ac_objext conftest$ac_exeext
22223 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22224 (eval $ac_link) 2>conftest.er1
22225 ac_status=$?
22226 grep -v '^ *+' conftest.er1 >conftest.err
22227 rm -f conftest.er1
22228 cat conftest.err >&5
22229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22230 (exit $ac_status); } &&
22231 { ac_try='test -z "$ac_c_werror_flag"
22232 || test ! -s conftest.err'
22233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22234 (eval $ac_try) 2>&5
22235 ac_status=$?
22236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22237 (exit $ac_status); }; } &&
22238 { ac_try='test -s conftest$ac_exeext'
22239 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22240 (eval $ac_try) 2>&5
22241 ac_status=$?
22242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22243 (exit $ac_status); }; }; then
22244 eval "$as_ac_var=yes"
22245 else
22246 echo "$as_me: failed program was:" >&5
22247 sed 's/^/| /' conftest.$ac_ext >&5
22248
22249 eval "$as_ac_var=no"
22250 fi
22251 rm -f conftest.err conftest.$ac_objext \
22252 conftest$ac_exeext conftest.$ac_ext
22253 fi
22254 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22255 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22256 if test `eval echo '${'$as_ac_var'}'` = yes; then
22257 cat >>confdefs.h <<_ACEOF
22258 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22259 _ACEOF
22260
22261 fi
22262 done
22263
22264 fi
22265 fi
22266
22267
22268
22269
22270
22271
22272 echo "$as_me:$LINENO: checking for hypotl declaration" >&5
22273 echo $ECHO_N "checking for hypotl declaration... $ECHO_C" >&6
22274 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
22275 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then
22276 echo $ECHO_N "(cached) $ECHO_C" >&6
22277 else
22278
22279
22280
22281 ac_ext=cc
22282 ac_cpp='$CXXCPP $CPPFLAGS'
22283 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22284 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22285 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22286
22287 cat >conftest.$ac_ext <<_ACEOF
22288 /* confdefs.h. */
22289 _ACEOF
22290 cat confdefs.h >>conftest.$ac_ext
22291 cat >>conftest.$ac_ext <<_ACEOF
22292 /* end confdefs.h. */
22293 #include <math.h>
22294 int
22295 main ()
22296 {
22297 hypotl(0, 0);
22298 ;
22299 return 0;
22300 }
22301 _ACEOF
22302 rm -f conftest.$ac_objext
22303 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22304 (eval $ac_compile) 2>conftest.er1
22305 ac_status=$?
22306 grep -v '^ *+' conftest.er1 >conftest.err
22307 rm -f conftest.er1
22308 cat conftest.err >&5
22309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22310 (exit $ac_status); } &&
22311 { ac_try='test -z "$ac_cxx_werror_flag"
22312 || test ! -s conftest.err'
22313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22314 (eval $ac_try) 2>&5
22315 ac_status=$?
22316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22317 (exit $ac_status); }; } &&
22318 { ac_try='test -s conftest.$ac_objext'
22319 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22320 (eval $ac_try) 2>&5
22321 ac_status=$?
22322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22323 (exit $ac_status); }; }; then
22324 glibcxx_cv_func_hypotl_use=yes
22325 else
22326 echo "$as_me: failed program was:" >&5
22327 sed 's/^/| /' conftest.$ac_ext >&5
22328
22329 glibcxx_cv_func_hypotl_use=no
22330 fi
22331 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22332 ac_ext=c
22333 ac_cpp='$CPP $CPPFLAGS'
22334 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22335 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22336 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22337
22338
22339 fi
22340
22341 fi
22342 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotl_use" >&5
22343 echo "${ECHO_T}$glibcxx_cv_func_hypotl_use" >&6
22344
22345 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
22346
22347 for ac_func in hypotl
22348 do
22349 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22350 echo "$as_me:$LINENO: checking for $ac_func" >&5
22351 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22352 if eval "test \"\${$as_ac_var+set}\" = set"; then
22353 echo $ECHO_N "(cached) $ECHO_C" >&6
22354 else
22355 if test x$gcc_no_link = xyes; then
22356 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22357 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22358 { (exit 1); exit 1; }; }
22359 fi
22360 cat >conftest.$ac_ext <<_ACEOF
22361 /* confdefs.h. */
22362 _ACEOF
22363 cat confdefs.h >>conftest.$ac_ext
22364 cat >>conftest.$ac_ext <<_ACEOF
22365 /* end confdefs.h. */
22366 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22367 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22368 #define $ac_func innocuous_$ac_func
22369
22370 /* System header to define __stub macros and hopefully few prototypes,
22371 which can conflict with char $ac_func (); below.
22372 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22373 <limits.h> exists even on freestanding compilers. */
22374
22375 #ifdef __STDC__
22376 # include <limits.h>
22377 #else
22378 # include <assert.h>
22379 #endif
22380
22381 #undef $ac_func
22382
22383 /* Override any gcc2 internal prototype to avoid an error. */
22384 #ifdef __cplusplus
22385 extern "C"
22386 {
22387 #endif
22388 /* We use char because int might match the return type of a gcc2
22389 builtin and then its argument prototype would still apply. */
22390 char $ac_func ();
22391 /* The GNU C library defines this for functions which it implements
22392 to always fail with ENOSYS. Some functions are actually named
22393 something starting with __ and the normal name is an alias. */
22394 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22395 choke me
22396 #else
22397 char (*f) () = $ac_func;
22398 #endif
22399 #ifdef __cplusplus
22400 }
22401 #endif
22402
22403 int
22404 main ()
22405 {
22406 return f != $ac_func;
22407 ;
22408 return 0;
22409 }
22410 _ACEOF
22411 rm -f conftest.$ac_objext conftest$ac_exeext
22412 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22413 (eval $ac_link) 2>conftest.er1
22414 ac_status=$?
22415 grep -v '^ *+' conftest.er1 >conftest.err
22416 rm -f conftest.er1
22417 cat conftest.err >&5
22418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22419 (exit $ac_status); } &&
22420 { ac_try='test -z "$ac_c_werror_flag"
22421 || test ! -s conftest.err'
22422 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22423 (eval $ac_try) 2>&5
22424 ac_status=$?
22425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22426 (exit $ac_status); }; } &&
22427 { ac_try='test -s conftest$ac_exeext'
22428 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22429 (eval $ac_try) 2>&5
22430 ac_status=$?
22431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22432 (exit $ac_status); }; }; then
22433 eval "$as_ac_var=yes"
22434 else
22435 echo "$as_me: failed program was:" >&5
22436 sed 's/^/| /' conftest.$ac_ext >&5
22437
22438 eval "$as_ac_var=no"
22439 fi
22440 rm -f conftest.err conftest.$ac_objext \
22441 conftest$ac_exeext conftest.$ac_ext
22442 fi
22443 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22444 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22445 if test `eval echo '${'$as_ac_var'}'` = yes; then
22446 cat >>confdefs.h <<_ACEOF
22447 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22448 _ACEOF
22449
22450 fi
22451 done
22452
22453 else
22454
22455 echo "$as_me:$LINENO: checking for _hypotl declaration" >&5
22456 echo $ECHO_N "checking for _hypotl declaration... $ECHO_C" >&6
22457 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
22458 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then
22459 echo $ECHO_N "(cached) $ECHO_C" >&6
22460 else
22461
22462
22463
22464 ac_ext=cc
22465 ac_cpp='$CXXCPP $CPPFLAGS'
22466 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22467 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22468 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22469
22470 cat >conftest.$ac_ext <<_ACEOF
22471 /* confdefs.h. */
22472 _ACEOF
22473 cat confdefs.h >>conftest.$ac_ext
22474 cat >>conftest.$ac_ext <<_ACEOF
22475 /* end confdefs.h. */
22476 #include <math.h>
22477 int
22478 main ()
22479 {
22480 _hypotl(0, 0);
22481 ;
22482 return 0;
22483 }
22484 _ACEOF
22485 rm -f conftest.$ac_objext
22486 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22487 (eval $ac_compile) 2>conftest.er1
22488 ac_status=$?
22489 grep -v '^ *+' conftest.er1 >conftest.err
22490 rm -f conftest.er1
22491 cat conftest.err >&5
22492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22493 (exit $ac_status); } &&
22494 { ac_try='test -z "$ac_cxx_werror_flag"
22495 || test ! -s conftest.err'
22496 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22497 (eval $ac_try) 2>&5
22498 ac_status=$?
22499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22500 (exit $ac_status); }; } &&
22501 { ac_try='test -s conftest.$ac_objext'
22502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22503 (eval $ac_try) 2>&5
22504 ac_status=$?
22505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22506 (exit $ac_status); }; }; then
22507 glibcxx_cv_func__hypotl_use=yes
22508 else
22509 echo "$as_me: failed program was:" >&5
22510 sed 's/^/| /' conftest.$ac_ext >&5
22511
22512 glibcxx_cv_func__hypotl_use=no
22513 fi
22514 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22515 ac_ext=c
22516 ac_cpp='$CPP $CPPFLAGS'
22517 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22518 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22519 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22520
22521
22522 fi
22523
22524 fi
22525 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotl_use" >&5
22526 echo "${ECHO_T}$glibcxx_cv_func__hypotl_use" >&6
22527
22528 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
22529
22530 for ac_func in _hypotl
22531 do
22532 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22533 echo "$as_me:$LINENO: checking for $ac_func" >&5
22534 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22535 if eval "test \"\${$as_ac_var+set}\" = set"; then
22536 echo $ECHO_N "(cached) $ECHO_C" >&6
22537 else
22538 if test x$gcc_no_link = xyes; then
22539 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22540 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22541 { (exit 1); exit 1; }; }
22542 fi
22543 cat >conftest.$ac_ext <<_ACEOF
22544 /* confdefs.h. */
22545 _ACEOF
22546 cat confdefs.h >>conftest.$ac_ext
22547 cat >>conftest.$ac_ext <<_ACEOF
22548 /* end confdefs.h. */
22549 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22550 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22551 #define $ac_func innocuous_$ac_func
22552
22553 /* System header to define __stub macros and hopefully few prototypes,
22554 which can conflict with char $ac_func (); below.
22555 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22556 <limits.h> exists even on freestanding compilers. */
22557
22558 #ifdef __STDC__
22559 # include <limits.h>
22560 #else
22561 # include <assert.h>
22562 #endif
22563
22564 #undef $ac_func
22565
22566 /* Override any gcc2 internal prototype to avoid an error. */
22567 #ifdef __cplusplus
22568 extern "C"
22569 {
22570 #endif
22571 /* We use char because int might match the return type of a gcc2
22572 builtin and then its argument prototype would still apply. */
22573 char $ac_func ();
22574 /* The GNU C library defines this for functions which it implements
22575 to always fail with ENOSYS. Some functions are actually named
22576 something starting with __ and the normal name is an alias. */
22577 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22578 choke me
22579 #else
22580 char (*f) () = $ac_func;
22581 #endif
22582 #ifdef __cplusplus
22583 }
22584 #endif
22585
22586 int
22587 main ()
22588 {
22589 return f != $ac_func;
22590 ;
22591 return 0;
22592 }
22593 _ACEOF
22594 rm -f conftest.$ac_objext conftest$ac_exeext
22595 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22596 (eval $ac_link) 2>conftest.er1
22597 ac_status=$?
22598 grep -v '^ *+' conftest.er1 >conftest.err
22599 rm -f conftest.er1
22600 cat conftest.err >&5
22601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22602 (exit $ac_status); } &&
22603 { ac_try='test -z "$ac_c_werror_flag"
22604 || test ! -s conftest.err'
22605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22606 (eval $ac_try) 2>&5
22607 ac_status=$?
22608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22609 (exit $ac_status); }; } &&
22610 { ac_try='test -s conftest$ac_exeext'
22611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22612 (eval $ac_try) 2>&5
22613 ac_status=$?
22614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22615 (exit $ac_status); }; }; then
22616 eval "$as_ac_var=yes"
22617 else
22618 echo "$as_me: failed program was:" >&5
22619 sed 's/^/| /' conftest.$ac_ext >&5
22620
22621 eval "$as_ac_var=no"
22622 fi
22623 rm -f conftest.err conftest.$ac_objext \
22624 conftest$ac_exeext conftest.$ac_ext
22625 fi
22626 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22627 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22628 if test `eval echo '${'$as_ac_var'}'` = yes; then
22629 cat >>confdefs.h <<_ACEOF
22630 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22631 _ACEOF
22632
22633 fi
22634 done
22635
22636 fi
22637 fi
22638
22639
22640
22641
22642
22643
22644 echo "$as_me:$LINENO: checking for ldexpl declaration" >&5
22645 echo $ECHO_N "checking for ldexpl declaration... $ECHO_C" >&6
22646 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
22647 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then
22648 echo $ECHO_N "(cached) $ECHO_C" >&6
22649 else
22650
22651
22652
22653 ac_ext=cc
22654 ac_cpp='$CXXCPP $CPPFLAGS'
22655 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22656 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22657 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22658
22659 cat >conftest.$ac_ext <<_ACEOF
22660 /* confdefs.h. */
22661 _ACEOF
22662 cat confdefs.h >>conftest.$ac_ext
22663 cat >>conftest.$ac_ext <<_ACEOF
22664 /* end confdefs.h. */
22665 #include <math.h>
22666 int
22667 main ()
22668 {
22669 ldexpl(0, 0);
22670 ;
22671 return 0;
22672 }
22673 _ACEOF
22674 rm -f conftest.$ac_objext
22675 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22676 (eval $ac_compile) 2>conftest.er1
22677 ac_status=$?
22678 grep -v '^ *+' conftest.er1 >conftest.err
22679 rm -f conftest.er1
22680 cat conftest.err >&5
22681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22682 (exit $ac_status); } &&
22683 { ac_try='test -z "$ac_cxx_werror_flag"
22684 || test ! -s conftest.err'
22685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22686 (eval $ac_try) 2>&5
22687 ac_status=$?
22688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22689 (exit $ac_status); }; } &&
22690 { ac_try='test -s conftest.$ac_objext'
22691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22692 (eval $ac_try) 2>&5
22693 ac_status=$?
22694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22695 (exit $ac_status); }; }; then
22696 glibcxx_cv_func_ldexpl_use=yes
22697 else
22698 echo "$as_me: failed program was:" >&5
22699 sed 's/^/| /' conftest.$ac_ext >&5
22700
22701 glibcxx_cv_func_ldexpl_use=no
22702 fi
22703 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22704 ac_ext=c
22705 ac_cpp='$CPP $CPPFLAGS'
22706 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22707 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22708 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22709
22710
22711 fi
22712
22713 fi
22714 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpl_use" >&5
22715 echo "${ECHO_T}$glibcxx_cv_func_ldexpl_use" >&6
22716
22717 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
22718
22719 for ac_func in ldexpl
22720 do
22721 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22722 echo "$as_me:$LINENO: checking for $ac_func" >&5
22723 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22724 if eval "test \"\${$as_ac_var+set}\" = set"; then
22725 echo $ECHO_N "(cached) $ECHO_C" >&6
22726 else
22727 if test x$gcc_no_link = xyes; then
22728 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22729 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22730 { (exit 1); exit 1; }; }
22731 fi
22732 cat >conftest.$ac_ext <<_ACEOF
22733 /* confdefs.h. */
22734 _ACEOF
22735 cat confdefs.h >>conftest.$ac_ext
22736 cat >>conftest.$ac_ext <<_ACEOF
22737 /* end confdefs.h. */
22738 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22739 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22740 #define $ac_func innocuous_$ac_func
22741
22742 /* System header to define __stub macros and hopefully few prototypes,
22743 which can conflict with char $ac_func (); below.
22744 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22745 <limits.h> exists even on freestanding compilers. */
22746
22747 #ifdef __STDC__
22748 # include <limits.h>
22749 #else
22750 # include <assert.h>
22751 #endif
22752
22753 #undef $ac_func
22754
22755 /* Override any gcc2 internal prototype to avoid an error. */
22756 #ifdef __cplusplus
22757 extern "C"
22758 {
22759 #endif
22760 /* We use char because int might match the return type of a gcc2
22761 builtin and then its argument prototype would still apply. */
22762 char $ac_func ();
22763 /* The GNU C library defines this for functions which it implements
22764 to always fail with ENOSYS. Some functions are actually named
22765 something starting with __ and the normal name is an alias. */
22766 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22767 choke me
22768 #else
22769 char (*f) () = $ac_func;
22770 #endif
22771 #ifdef __cplusplus
22772 }
22773 #endif
22774
22775 int
22776 main ()
22777 {
22778 return f != $ac_func;
22779 ;
22780 return 0;
22781 }
22782 _ACEOF
22783 rm -f conftest.$ac_objext conftest$ac_exeext
22784 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22785 (eval $ac_link) 2>conftest.er1
22786 ac_status=$?
22787 grep -v '^ *+' conftest.er1 >conftest.err
22788 rm -f conftest.er1
22789 cat conftest.err >&5
22790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22791 (exit $ac_status); } &&
22792 { ac_try='test -z "$ac_c_werror_flag"
22793 || test ! -s conftest.err'
22794 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22795 (eval $ac_try) 2>&5
22796 ac_status=$?
22797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22798 (exit $ac_status); }; } &&
22799 { ac_try='test -s conftest$ac_exeext'
22800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22801 (eval $ac_try) 2>&5
22802 ac_status=$?
22803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22804 (exit $ac_status); }; }; then
22805 eval "$as_ac_var=yes"
22806 else
22807 echo "$as_me: failed program was:" >&5
22808 sed 's/^/| /' conftest.$ac_ext >&5
22809
22810 eval "$as_ac_var=no"
22811 fi
22812 rm -f conftest.err conftest.$ac_objext \
22813 conftest$ac_exeext conftest.$ac_ext
22814 fi
22815 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22816 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22817 if test `eval echo '${'$as_ac_var'}'` = yes; then
22818 cat >>confdefs.h <<_ACEOF
22819 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22820 _ACEOF
22821
22822 fi
22823 done
22824
22825 else
22826
22827 echo "$as_me:$LINENO: checking for _ldexpl declaration" >&5
22828 echo $ECHO_N "checking for _ldexpl declaration... $ECHO_C" >&6
22829 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
22830 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then
22831 echo $ECHO_N "(cached) $ECHO_C" >&6
22832 else
22833
22834
22835
22836 ac_ext=cc
22837 ac_cpp='$CXXCPP $CPPFLAGS'
22838 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22839 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22840 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22841
22842 cat >conftest.$ac_ext <<_ACEOF
22843 /* confdefs.h. */
22844 _ACEOF
22845 cat confdefs.h >>conftest.$ac_ext
22846 cat >>conftest.$ac_ext <<_ACEOF
22847 /* end confdefs.h. */
22848 #include <math.h>
22849 int
22850 main ()
22851 {
22852 _ldexpl(0, 0);
22853 ;
22854 return 0;
22855 }
22856 _ACEOF
22857 rm -f conftest.$ac_objext
22858 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22859 (eval $ac_compile) 2>conftest.er1
22860 ac_status=$?
22861 grep -v '^ *+' conftest.er1 >conftest.err
22862 rm -f conftest.er1
22863 cat conftest.err >&5
22864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22865 (exit $ac_status); } &&
22866 { ac_try='test -z "$ac_cxx_werror_flag"
22867 || test ! -s conftest.err'
22868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22869 (eval $ac_try) 2>&5
22870 ac_status=$?
22871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22872 (exit $ac_status); }; } &&
22873 { ac_try='test -s conftest.$ac_objext'
22874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22875 (eval $ac_try) 2>&5
22876 ac_status=$?
22877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22878 (exit $ac_status); }; }; then
22879 glibcxx_cv_func__ldexpl_use=yes
22880 else
22881 echo "$as_me: failed program was:" >&5
22882 sed 's/^/| /' conftest.$ac_ext >&5
22883
22884 glibcxx_cv_func__ldexpl_use=no
22885 fi
22886 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22887 ac_ext=c
22888 ac_cpp='$CPP $CPPFLAGS'
22889 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22890 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22891 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22892
22893
22894 fi
22895
22896 fi
22897 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpl_use" >&5
22898 echo "${ECHO_T}$glibcxx_cv_func__ldexpl_use" >&6
22899
22900 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
22901
22902 for ac_func in _ldexpl
22903 do
22904 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22905 echo "$as_me:$LINENO: checking for $ac_func" >&5
22906 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22907 if eval "test \"\${$as_ac_var+set}\" = set"; then
22908 echo $ECHO_N "(cached) $ECHO_C" >&6
22909 else
22910 if test x$gcc_no_link = xyes; then
22911 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22912 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22913 { (exit 1); exit 1; }; }
22914 fi
22915 cat >conftest.$ac_ext <<_ACEOF
22916 /* confdefs.h. */
22917 _ACEOF
22918 cat confdefs.h >>conftest.$ac_ext
22919 cat >>conftest.$ac_ext <<_ACEOF
22920 /* end confdefs.h. */
22921 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22922 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22923 #define $ac_func innocuous_$ac_func
22924
22925 /* System header to define __stub macros and hopefully few prototypes,
22926 which can conflict with char $ac_func (); below.
22927 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22928 <limits.h> exists even on freestanding compilers. */
22929
22930 #ifdef __STDC__
22931 # include <limits.h>
22932 #else
22933 # include <assert.h>
22934 #endif
22935
22936 #undef $ac_func
22937
22938 /* Override any gcc2 internal prototype to avoid an error. */
22939 #ifdef __cplusplus
22940 extern "C"
22941 {
22942 #endif
22943 /* We use char because int might match the return type of a gcc2
22944 builtin and then its argument prototype would still apply. */
22945 char $ac_func ();
22946 /* The GNU C library defines this for functions which it implements
22947 to always fail with ENOSYS. Some functions are actually named
22948 something starting with __ and the normal name is an alias. */
22949 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22950 choke me
22951 #else
22952 char (*f) () = $ac_func;
22953 #endif
22954 #ifdef __cplusplus
22955 }
22956 #endif
22957
22958 int
22959 main ()
22960 {
22961 return f != $ac_func;
22962 ;
22963 return 0;
22964 }
22965 _ACEOF
22966 rm -f conftest.$ac_objext conftest$ac_exeext
22967 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22968 (eval $ac_link) 2>conftest.er1
22969 ac_status=$?
22970 grep -v '^ *+' conftest.er1 >conftest.err
22971 rm -f conftest.er1
22972 cat conftest.err >&5
22973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22974 (exit $ac_status); } &&
22975 { ac_try='test -z "$ac_c_werror_flag"
22976 || test ! -s conftest.err'
22977 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22978 (eval $ac_try) 2>&5
22979 ac_status=$?
22980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22981 (exit $ac_status); }; } &&
22982 { ac_try='test -s conftest$ac_exeext'
22983 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22984 (eval $ac_try) 2>&5
22985 ac_status=$?
22986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22987 (exit $ac_status); }; }; then
22988 eval "$as_ac_var=yes"
22989 else
22990 echo "$as_me: failed program was:" >&5
22991 sed 's/^/| /' conftest.$ac_ext >&5
22992
22993 eval "$as_ac_var=no"
22994 fi
22995 rm -f conftest.err conftest.$ac_objext \
22996 conftest$ac_exeext conftest.$ac_ext
22997 fi
22998 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22999 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23000 if test `eval echo '${'$as_ac_var'}'` = yes; then
23001 cat >>confdefs.h <<_ACEOF
23002 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23003 _ACEOF
23004
23005 fi
23006 done
23007
23008 fi
23009 fi
23010
23011
23012
23013
23014
23015
23016 echo "$as_me:$LINENO: checking for logl declaration" >&5
23017 echo $ECHO_N "checking for logl declaration... $ECHO_C" >&6
23018 if test x${glibcxx_cv_func_logl_use+set} != xset; then
23019 if test "${glibcxx_cv_func_logl_use+set}" = set; then
23020 echo $ECHO_N "(cached) $ECHO_C" >&6
23021 else
23022
23023
23024
23025 ac_ext=cc
23026 ac_cpp='$CXXCPP $CPPFLAGS'
23027 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23028 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23029 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23030
23031 cat >conftest.$ac_ext <<_ACEOF
23032 /* confdefs.h. */
23033 _ACEOF
23034 cat confdefs.h >>conftest.$ac_ext
23035 cat >>conftest.$ac_ext <<_ACEOF
23036 /* end confdefs.h. */
23037 #include <math.h>
23038 #ifdef HAVE_IEEEFP_H
23039 #include <ieeefp.h>
23040 #endif
23041
23042 int
23043 main ()
23044 {
23045 logl(0);
23046 ;
23047 return 0;
23048 }
23049 _ACEOF
23050 rm -f conftest.$ac_objext
23051 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23052 (eval $ac_compile) 2>conftest.er1
23053 ac_status=$?
23054 grep -v '^ *+' conftest.er1 >conftest.err
23055 rm -f conftest.er1
23056 cat conftest.err >&5
23057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23058 (exit $ac_status); } &&
23059 { ac_try='test -z "$ac_cxx_werror_flag"
23060 || test ! -s conftest.err'
23061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23062 (eval $ac_try) 2>&5
23063 ac_status=$?
23064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23065 (exit $ac_status); }; } &&
23066 { ac_try='test -s conftest.$ac_objext'
23067 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23068 (eval $ac_try) 2>&5
23069 ac_status=$?
23070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23071 (exit $ac_status); }; }; then
23072 glibcxx_cv_func_logl_use=yes
23073 else
23074 echo "$as_me: failed program was:" >&5
23075 sed 's/^/| /' conftest.$ac_ext >&5
23076
23077 glibcxx_cv_func_logl_use=no
23078 fi
23079 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23080 ac_ext=c
23081 ac_cpp='$CPP $CPPFLAGS'
23082 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23083 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23084 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23085
23086
23087 fi
23088
23089 fi
23090 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logl_use" >&5
23091 echo "${ECHO_T}$glibcxx_cv_func_logl_use" >&6
23092
23093 if test x$glibcxx_cv_func_logl_use = x"yes"; then
23094
23095 for ac_func in logl
23096 do
23097 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23098 echo "$as_me:$LINENO: checking for $ac_func" >&5
23099 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23100 if eval "test \"\${$as_ac_var+set}\" = set"; then
23101 echo $ECHO_N "(cached) $ECHO_C" >&6
23102 else
23103 if test x$gcc_no_link = xyes; then
23104 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23105 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23106 { (exit 1); exit 1; }; }
23107 fi
23108 cat >conftest.$ac_ext <<_ACEOF
23109 /* confdefs.h. */
23110 _ACEOF
23111 cat confdefs.h >>conftest.$ac_ext
23112 cat >>conftest.$ac_ext <<_ACEOF
23113 /* end confdefs.h. */
23114 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23115 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23116 #define $ac_func innocuous_$ac_func
23117
23118 /* System header to define __stub macros and hopefully few prototypes,
23119 which can conflict with char $ac_func (); below.
23120 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23121 <limits.h> exists even on freestanding compilers. */
23122
23123 #ifdef __STDC__
23124 # include <limits.h>
23125 #else
23126 # include <assert.h>
23127 #endif
23128
23129 #undef $ac_func
23130
23131 /* Override any gcc2 internal prototype to avoid an error. */
23132 #ifdef __cplusplus
23133 extern "C"
23134 {
23135 #endif
23136 /* We use char because int might match the return type of a gcc2
23137 builtin and then its argument prototype would still apply. */
23138 char $ac_func ();
23139 /* The GNU C library defines this for functions which it implements
23140 to always fail with ENOSYS. Some functions are actually named
23141 something starting with __ and the normal name is an alias. */
23142 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23143 choke me
23144 #else
23145 char (*f) () = $ac_func;
23146 #endif
23147 #ifdef __cplusplus
23148 }
23149 #endif
23150
23151 int
23152 main ()
23153 {
23154 return f != $ac_func;
23155 ;
23156 return 0;
23157 }
23158 _ACEOF
23159 rm -f conftest.$ac_objext conftest$ac_exeext
23160 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23161 (eval $ac_link) 2>conftest.er1
23162 ac_status=$?
23163 grep -v '^ *+' conftest.er1 >conftest.err
23164 rm -f conftest.er1
23165 cat conftest.err >&5
23166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23167 (exit $ac_status); } &&
23168 { ac_try='test -z "$ac_c_werror_flag"
23169 || test ! -s conftest.err'
23170 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23171 (eval $ac_try) 2>&5
23172 ac_status=$?
23173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23174 (exit $ac_status); }; } &&
23175 { ac_try='test -s conftest$ac_exeext'
23176 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23177 (eval $ac_try) 2>&5
23178 ac_status=$?
23179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23180 (exit $ac_status); }; }; then
23181 eval "$as_ac_var=yes"
23182 else
23183 echo "$as_me: failed program was:" >&5
23184 sed 's/^/| /' conftest.$ac_ext >&5
23185
23186 eval "$as_ac_var=no"
23187 fi
23188 rm -f conftest.err conftest.$ac_objext \
23189 conftest$ac_exeext conftest.$ac_ext
23190 fi
23191 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23192 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23193 if test `eval echo '${'$as_ac_var'}'` = yes; then
23194 cat >>confdefs.h <<_ACEOF
23195 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23196 _ACEOF
23197
23198 fi
23199 done
23200
23201 else
23202
23203 echo "$as_me:$LINENO: checking for _logl declaration" >&5
23204 echo $ECHO_N "checking for _logl declaration... $ECHO_C" >&6
23205 if test x${glibcxx_cv_func__logl_use+set} != xset; then
23206 if test "${glibcxx_cv_func__logl_use+set}" = set; then
23207 echo $ECHO_N "(cached) $ECHO_C" >&6
23208 else
23209
23210
23211
23212 ac_ext=cc
23213 ac_cpp='$CXXCPP $CPPFLAGS'
23214 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23215 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23216 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23217
23218 cat >conftest.$ac_ext <<_ACEOF
23219 /* confdefs.h. */
23220 _ACEOF
23221 cat confdefs.h >>conftest.$ac_ext
23222 cat >>conftest.$ac_ext <<_ACEOF
23223 /* end confdefs.h. */
23224 #include <math.h>
23225 #ifdef HAVE_IEEEFP_H
23226 #include <ieeefp.h>
23227 #endif
23228
23229 int
23230 main ()
23231 {
23232 _logl(0);
23233 ;
23234 return 0;
23235 }
23236 _ACEOF
23237 rm -f conftest.$ac_objext
23238 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23239 (eval $ac_compile) 2>conftest.er1
23240 ac_status=$?
23241 grep -v '^ *+' conftest.er1 >conftest.err
23242 rm -f conftest.er1
23243 cat conftest.err >&5
23244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23245 (exit $ac_status); } &&
23246 { ac_try='test -z "$ac_cxx_werror_flag"
23247 || test ! -s conftest.err'
23248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23249 (eval $ac_try) 2>&5
23250 ac_status=$?
23251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23252 (exit $ac_status); }; } &&
23253 { ac_try='test -s conftest.$ac_objext'
23254 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23255 (eval $ac_try) 2>&5
23256 ac_status=$?
23257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23258 (exit $ac_status); }; }; then
23259 glibcxx_cv_func__logl_use=yes
23260 else
23261 echo "$as_me: failed program was:" >&5
23262 sed 's/^/| /' conftest.$ac_ext >&5
23263
23264 glibcxx_cv_func__logl_use=no
23265 fi
23266 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23267 ac_ext=c
23268 ac_cpp='$CPP $CPPFLAGS'
23269 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23270 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23271 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23272
23273
23274 fi
23275
23276 fi
23277 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logl_use" >&5
23278 echo "${ECHO_T}$glibcxx_cv_func__logl_use" >&6
23279
23280 if test x$glibcxx_cv_func__logl_use = x"yes"; then
23281
23282 for ac_func in _logl
23283 do
23284 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23285 echo "$as_me:$LINENO: checking for $ac_func" >&5
23286 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23287 if eval "test \"\${$as_ac_var+set}\" = set"; then
23288 echo $ECHO_N "(cached) $ECHO_C" >&6
23289 else
23290 if test x$gcc_no_link = xyes; then
23291 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23292 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23293 { (exit 1); exit 1; }; }
23294 fi
23295 cat >conftest.$ac_ext <<_ACEOF
23296 /* confdefs.h. */
23297 _ACEOF
23298 cat confdefs.h >>conftest.$ac_ext
23299 cat >>conftest.$ac_ext <<_ACEOF
23300 /* end confdefs.h. */
23301 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23302 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23303 #define $ac_func innocuous_$ac_func
23304
23305 /* System header to define __stub macros and hopefully few prototypes,
23306 which can conflict with char $ac_func (); below.
23307 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23308 <limits.h> exists even on freestanding compilers. */
23309
23310 #ifdef __STDC__
23311 # include <limits.h>
23312 #else
23313 # include <assert.h>
23314 #endif
23315
23316 #undef $ac_func
23317
23318 /* Override any gcc2 internal prototype to avoid an error. */
23319 #ifdef __cplusplus
23320 extern "C"
23321 {
23322 #endif
23323 /* We use char because int might match the return type of a gcc2
23324 builtin and then its argument prototype would still apply. */
23325 char $ac_func ();
23326 /* The GNU C library defines this for functions which it implements
23327 to always fail with ENOSYS. Some functions are actually named
23328 something starting with __ and the normal name is an alias. */
23329 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23330 choke me
23331 #else
23332 char (*f) () = $ac_func;
23333 #endif
23334 #ifdef __cplusplus
23335 }
23336 #endif
23337
23338 int
23339 main ()
23340 {
23341 return f != $ac_func;
23342 ;
23343 return 0;
23344 }
23345 _ACEOF
23346 rm -f conftest.$ac_objext conftest$ac_exeext
23347 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23348 (eval $ac_link) 2>conftest.er1
23349 ac_status=$?
23350 grep -v '^ *+' conftest.er1 >conftest.err
23351 rm -f conftest.er1
23352 cat conftest.err >&5
23353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23354 (exit $ac_status); } &&
23355 { ac_try='test -z "$ac_c_werror_flag"
23356 || test ! -s conftest.err'
23357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23358 (eval $ac_try) 2>&5
23359 ac_status=$?
23360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23361 (exit $ac_status); }; } &&
23362 { ac_try='test -s conftest$ac_exeext'
23363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23364 (eval $ac_try) 2>&5
23365 ac_status=$?
23366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23367 (exit $ac_status); }; }; then
23368 eval "$as_ac_var=yes"
23369 else
23370 echo "$as_me: failed program was:" >&5
23371 sed 's/^/| /' conftest.$ac_ext >&5
23372
23373 eval "$as_ac_var=no"
23374 fi
23375 rm -f conftest.err conftest.$ac_objext \
23376 conftest$ac_exeext conftest.$ac_ext
23377 fi
23378 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23379 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23380 if test `eval echo '${'$as_ac_var'}'` = yes; then
23381 cat >>confdefs.h <<_ACEOF
23382 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23383 _ACEOF
23384
23385 fi
23386 done
23387
23388 fi
23389 fi
23390
23391
23392
23393
23394
23395
23396 echo "$as_me:$LINENO: checking for log10l declaration" >&5
23397 echo $ECHO_N "checking for log10l declaration... $ECHO_C" >&6
23398 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
23399 if test "${glibcxx_cv_func_log10l_use+set}" = set; then
23400 echo $ECHO_N "(cached) $ECHO_C" >&6
23401 else
23402
23403
23404
23405 ac_ext=cc
23406 ac_cpp='$CXXCPP $CPPFLAGS'
23407 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23408 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23409 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23410
23411 cat >conftest.$ac_ext <<_ACEOF
23412 /* confdefs.h. */
23413 _ACEOF
23414 cat confdefs.h >>conftest.$ac_ext
23415 cat >>conftest.$ac_ext <<_ACEOF
23416 /* end confdefs.h. */
23417 #include <math.h>
23418 #ifdef HAVE_IEEEFP_H
23419 #include <ieeefp.h>
23420 #endif
23421
23422 int
23423 main ()
23424 {
23425 log10l(0);
23426 ;
23427 return 0;
23428 }
23429 _ACEOF
23430 rm -f conftest.$ac_objext
23431 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23432 (eval $ac_compile) 2>conftest.er1
23433 ac_status=$?
23434 grep -v '^ *+' conftest.er1 >conftest.err
23435 rm -f conftest.er1
23436 cat conftest.err >&5
23437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23438 (exit $ac_status); } &&
23439 { ac_try='test -z "$ac_cxx_werror_flag"
23440 || test ! -s conftest.err'
23441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23442 (eval $ac_try) 2>&5
23443 ac_status=$?
23444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23445 (exit $ac_status); }; } &&
23446 { ac_try='test -s conftest.$ac_objext'
23447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23448 (eval $ac_try) 2>&5
23449 ac_status=$?
23450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23451 (exit $ac_status); }; }; then
23452 glibcxx_cv_func_log10l_use=yes
23453 else
23454 echo "$as_me: failed program was:" >&5
23455 sed 's/^/| /' conftest.$ac_ext >&5
23456
23457 glibcxx_cv_func_log10l_use=no
23458 fi
23459 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23460 ac_ext=c
23461 ac_cpp='$CPP $CPPFLAGS'
23462 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23463 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23464 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23465
23466
23467 fi
23468
23469 fi
23470 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10l_use" >&5
23471 echo "${ECHO_T}$glibcxx_cv_func_log10l_use" >&6
23472
23473 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
23474
23475 for ac_func in log10l
23476 do
23477 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23478 echo "$as_me:$LINENO: checking for $ac_func" >&5
23479 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23480 if eval "test \"\${$as_ac_var+set}\" = set"; then
23481 echo $ECHO_N "(cached) $ECHO_C" >&6
23482 else
23483 if test x$gcc_no_link = xyes; then
23484 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23485 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23486 { (exit 1); exit 1; }; }
23487 fi
23488 cat >conftest.$ac_ext <<_ACEOF
23489 /* confdefs.h. */
23490 _ACEOF
23491 cat confdefs.h >>conftest.$ac_ext
23492 cat >>conftest.$ac_ext <<_ACEOF
23493 /* end confdefs.h. */
23494 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23495 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23496 #define $ac_func innocuous_$ac_func
23497
23498 /* System header to define __stub macros and hopefully few prototypes,
23499 which can conflict with char $ac_func (); below.
23500 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23501 <limits.h> exists even on freestanding compilers. */
23502
23503 #ifdef __STDC__
23504 # include <limits.h>
23505 #else
23506 # include <assert.h>
23507 #endif
23508
23509 #undef $ac_func
23510
23511 /* Override any gcc2 internal prototype to avoid an error. */
23512 #ifdef __cplusplus
23513 extern "C"
23514 {
23515 #endif
23516 /* We use char because int might match the return type of a gcc2
23517 builtin and then its argument prototype would still apply. */
23518 char $ac_func ();
23519 /* The GNU C library defines this for functions which it implements
23520 to always fail with ENOSYS. Some functions are actually named
23521 something starting with __ and the normal name is an alias. */
23522 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23523 choke me
23524 #else
23525 char (*f) () = $ac_func;
23526 #endif
23527 #ifdef __cplusplus
23528 }
23529 #endif
23530
23531 int
23532 main ()
23533 {
23534 return f != $ac_func;
23535 ;
23536 return 0;
23537 }
23538 _ACEOF
23539 rm -f conftest.$ac_objext conftest$ac_exeext
23540 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23541 (eval $ac_link) 2>conftest.er1
23542 ac_status=$?
23543 grep -v '^ *+' conftest.er1 >conftest.err
23544 rm -f conftest.er1
23545 cat conftest.err >&5
23546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23547 (exit $ac_status); } &&
23548 { ac_try='test -z "$ac_c_werror_flag"
23549 || test ! -s conftest.err'
23550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23551 (eval $ac_try) 2>&5
23552 ac_status=$?
23553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23554 (exit $ac_status); }; } &&
23555 { ac_try='test -s conftest$ac_exeext'
23556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23557 (eval $ac_try) 2>&5
23558 ac_status=$?
23559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23560 (exit $ac_status); }; }; then
23561 eval "$as_ac_var=yes"
23562 else
23563 echo "$as_me: failed program was:" >&5
23564 sed 's/^/| /' conftest.$ac_ext >&5
23565
23566 eval "$as_ac_var=no"
23567 fi
23568 rm -f conftest.err conftest.$ac_objext \
23569 conftest$ac_exeext conftest.$ac_ext
23570 fi
23571 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23572 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23573 if test `eval echo '${'$as_ac_var'}'` = yes; then
23574 cat >>confdefs.h <<_ACEOF
23575 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23576 _ACEOF
23577
23578 fi
23579 done
23580
23581 else
23582
23583 echo "$as_me:$LINENO: checking for _log10l declaration" >&5
23584 echo $ECHO_N "checking for _log10l declaration... $ECHO_C" >&6
23585 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
23586 if test "${glibcxx_cv_func__log10l_use+set}" = set; then
23587 echo $ECHO_N "(cached) $ECHO_C" >&6
23588 else
23589
23590
23591
23592 ac_ext=cc
23593 ac_cpp='$CXXCPP $CPPFLAGS'
23594 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23595 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23596 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23597
23598 cat >conftest.$ac_ext <<_ACEOF
23599 /* confdefs.h. */
23600 _ACEOF
23601 cat confdefs.h >>conftest.$ac_ext
23602 cat >>conftest.$ac_ext <<_ACEOF
23603 /* end confdefs.h. */
23604 #include <math.h>
23605 #ifdef HAVE_IEEEFP_H
23606 #include <ieeefp.h>
23607 #endif
23608
23609 int
23610 main ()
23611 {
23612 _log10l(0);
23613 ;
23614 return 0;
23615 }
23616 _ACEOF
23617 rm -f conftest.$ac_objext
23618 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23619 (eval $ac_compile) 2>conftest.er1
23620 ac_status=$?
23621 grep -v '^ *+' conftest.er1 >conftest.err
23622 rm -f conftest.er1
23623 cat conftest.err >&5
23624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23625 (exit $ac_status); } &&
23626 { ac_try='test -z "$ac_cxx_werror_flag"
23627 || test ! -s conftest.err'
23628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23629 (eval $ac_try) 2>&5
23630 ac_status=$?
23631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23632 (exit $ac_status); }; } &&
23633 { ac_try='test -s conftest.$ac_objext'
23634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23635 (eval $ac_try) 2>&5
23636 ac_status=$?
23637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23638 (exit $ac_status); }; }; then
23639 glibcxx_cv_func__log10l_use=yes
23640 else
23641 echo "$as_me: failed program was:" >&5
23642 sed 's/^/| /' conftest.$ac_ext >&5
23643
23644 glibcxx_cv_func__log10l_use=no
23645 fi
23646 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23647 ac_ext=c
23648 ac_cpp='$CPP $CPPFLAGS'
23649 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23650 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23651 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23652
23653
23654 fi
23655
23656 fi
23657 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10l_use" >&5
23658 echo "${ECHO_T}$glibcxx_cv_func__log10l_use" >&6
23659
23660 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
23661
23662 for ac_func in _log10l
23663 do
23664 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23665 echo "$as_me:$LINENO: checking for $ac_func" >&5
23666 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23667 if eval "test \"\${$as_ac_var+set}\" = set"; then
23668 echo $ECHO_N "(cached) $ECHO_C" >&6
23669 else
23670 if test x$gcc_no_link = xyes; then
23671 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23672 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23673 { (exit 1); exit 1; }; }
23674 fi
23675 cat >conftest.$ac_ext <<_ACEOF
23676 /* confdefs.h. */
23677 _ACEOF
23678 cat confdefs.h >>conftest.$ac_ext
23679 cat >>conftest.$ac_ext <<_ACEOF
23680 /* end confdefs.h. */
23681 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23682 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23683 #define $ac_func innocuous_$ac_func
23684
23685 /* System header to define __stub macros and hopefully few prototypes,
23686 which can conflict with char $ac_func (); below.
23687 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23688 <limits.h> exists even on freestanding compilers. */
23689
23690 #ifdef __STDC__
23691 # include <limits.h>
23692 #else
23693 # include <assert.h>
23694 #endif
23695
23696 #undef $ac_func
23697
23698 /* Override any gcc2 internal prototype to avoid an error. */
23699 #ifdef __cplusplus
23700 extern "C"
23701 {
23702 #endif
23703 /* We use char because int might match the return type of a gcc2
23704 builtin and then its argument prototype would still apply. */
23705 char $ac_func ();
23706 /* The GNU C library defines this for functions which it implements
23707 to always fail with ENOSYS. Some functions are actually named
23708 something starting with __ and the normal name is an alias. */
23709 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23710 choke me
23711 #else
23712 char (*f) () = $ac_func;
23713 #endif
23714 #ifdef __cplusplus
23715 }
23716 #endif
23717
23718 int
23719 main ()
23720 {
23721 return f != $ac_func;
23722 ;
23723 return 0;
23724 }
23725 _ACEOF
23726 rm -f conftest.$ac_objext conftest$ac_exeext
23727 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23728 (eval $ac_link) 2>conftest.er1
23729 ac_status=$?
23730 grep -v '^ *+' conftest.er1 >conftest.err
23731 rm -f conftest.er1
23732 cat conftest.err >&5
23733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23734 (exit $ac_status); } &&
23735 { ac_try='test -z "$ac_c_werror_flag"
23736 || test ! -s conftest.err'
23737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23738 (eval $ac_try) 2>&5
23739 ac_status=$?
23740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23741 (exit $ac_status); }; } &&
23742 { ac_try='test -s conftest$ac_exeext'
23743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23744 (eval $ac_try) 2>&5
23745 ac_status=$?
23746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23747 (exit $ac_status); }; }; then
23748 eval "$as_ac_var=yes"
23749 else
23750 echo "$as_me: failed program was:" >&5
23751 sed 's/^/| /' conftest.$ac_ext >&5
23752
23753 eval "$as_ac_var=no"
23754 fi
23755 rm -f conftest.err conftest.$ac_objext \
23756 conftest$ac_exeext conftest.$ac_ext
23757 fi
23758 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23759 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23760 if test `eval echo '${'$as_ac_var'}'` = yes; then
23761 cat >>confdefs.h <<_ACEOF
23762 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23763 _ACEOF
23764
23765 fi
23766 done
23767
23768 fi
23769 fi
23770
23771
23772
23773
23774
23775
23776 echo "$as_me:$LINENO: checking for modfl declaration" >&5
23777 echo $ECHO_N "checking for modfl declaration... $ECHO_C" >&6
23778 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
23779 if test "${glibcxx_cv_func_modfl_use+set}" = set; then
23780 echo $ECHO_N "(cached) $ECHO_C" >&6
23781 else
23782
23783
23784
23785 ac_ext=cc
23786 ac_cpp='$CXXCPP $CPPFLAGS'
23787 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23788 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23789 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23790
23791 cat >conftest.$ac_ext <<_ACEOF
23792 /* confdefs.h. */
23793 _ACEOF
23794 cat confdefs.h >>conftest.$ac_ext
23795 cat >>conftest.$ac_ext <<_ACEOF
23796 /* end confdefs.h. */
23797 #include <math.h>
23798 int
23799 main ()
23800 {
23801 modfl(0, 0);
23802 ;
23803 return 0;
23804 }
23805 _ACEOF
23806 rm -f conftest.$ac_objext
23807 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23808 (eval $ac_compile) 2>conftest.er1
23809 ac_status=$?
23810 grep -v '^ *+' conftest.er1 >conftest.err
23811 rm -f conftest.er1
23812 cat conftest.err >&5
23813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23814 (exit $ac_status); } &&
23815 { ac_try='test -z "$ac_cxx_werror_flag"
23816 || test ! -s conftest.err'
23817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23818 (eval $ac_try) 2>&5
23819 ac_status=$?
23820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23821 (exit $ac_status); }; } &&
23822 { ac_try='test -s conftest.$ac_objext'
23823 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23824 (eval $ac_try) 2>&5
23825 ac_status=$?
23826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23827 (exit $ac_status); }; }; then
23828 glibcxx_cv_func_modfl_use=yes
23829 else
23830 echo "$as_me: failed program was:" >&5
23831 sed 's/^/| /' conftest.$ac_ext >&5
23832
23833 glibcxx_cv_func_modfl_use=no
23834 fi
23835 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23836 ac_ext=c
23837 ac_cpp='$CPP $CPPFLAGS'
23838 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23839 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23840 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23841
23842
23843 fi
23844
23845 fi
23846 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modfl_use" >&5
23847 echo "${ECHO_T}$glibcxx_cv_func_modfl_use" >&6
23848
23849 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
23850
23851 for ac_func in modfl
23852 do
23853 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23854 echo "$as_me:$LINENO: checking for $ac_func" >&5
23855 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23856 if eval "test \"\${$as_ac_var+set}\" = set"; then
23857 echo $ECHO_N "(cached) $ECHO_C" >&6
23858 else
23859 if test x$gcc_no_link = xyes; then
23860 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23861 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23862 { (exit 1); exit 1; }; }
23863 fi
23864 cat >conftest.$ac_ext <<_ACEOF
23865 /* confdefs.h. */
23866 _ACEOF
23867 cat confdefs.h >>conftest.$ac_ext
23868 cat >>conftest.$ac_ext <<_ACEOF
23869 /* end confdefs.h. */
23870 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23871 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23872 #define $ac_func innocuous_$ac_func
23873
23874 /* System header to define __stub macros and hopefully few prototypes,
23875 which can conflict with char $ac_func (); below.
23876 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23877 <limits.h> exists even on freestanding compilers. */
23878
23879 #ifdef __STDC__
23880 # include <limits.h>
23881 #else
23882 # include <assert.h>
23883 #endif
23884
23885 #undef $ac_func
23886
23887 /* Override any gcc2 internal prototype to avoid an error. */
23888 #ifdef __cplusplus
23889 extern "C"
23890 {
23891 #endif
23892 /* We use char because int might match the return type of a gcc2
23893 builtin and then its argument prototype would still apply. */
23894 char $ac_func ();
23895 /* The GNU C library defines this for functions which it implements
23896 to always fail with ENOSYS. Some functions are actually named
23897 something starting with __ and the normal name is an alias. */
23898 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23899 choke me
23900 #else
23901 char (*f) () = $ac_func;
23902 #endif
23903 #ifdef __cplusplus
23904 }
23905 #endif
23906
23907 int
23908 main ()
23909 {
23910 return f != $ac_func;
23911 ;
23912 return 0;
23913 }
23914 _ACEOF
23915 rm -f conftest.$ac_objext conftest$ac_exeext
23916 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23917 (eval $ac_link) 2>conftest.er1
23918 ac_status=$?
23919 grep -v '^ *+' conftest.er1 >conftest.err
23920 rm -f conftest.er1
23921 cat conftest.err >&5
23922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23923 (exit $ac_status); } &&
23924 { ac_try='test -z "$ac_c_werror_flag"
23925 || test ! -s conftest.err'
23926 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23927 (eval $ac_try) 2>&5
23928 ac_status=$?
23929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23930 (exit $ac_status); }; } &&
23931 { ac_try='test -s conftest$ac_exeext'
23932 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23933 (eval $ac_try) 2>&5
23934 ac_status=$?
23935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23936 (exit $ac_status); }; }; then
23937 eval "$as_ac_var=yes"
23938 else
23939 echo "$as_me: failed program was:" >&5
23940 sed 's/^/| /' conftest.$ac_ext >&5
23941
23942 eval "$as_ac_var=no"
23943 fi
23944 rm -f conftest.err conftest.$ac_objext \
23945 conftest$ac_exeext conftest.$ac_ext
23946 fi
23947 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23948 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23949 if test `eval echo '${'$as_ac_var'}'` = yes; then
23950 cat >>confdefs.h <<_ACEOF
23951 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23952 _ACEOF
23953
23954 fi
23955 done
23956
23957 else
23958
23959 echo "$as_me:$LINENO: checking for _modfl declaration" >&5
23960 echo $ECHO_N "checking for _modfl declaration... $ECHO_C" >&6
23961 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
23962 if test "${glibcxx_cv_func__modfl_use+set}" = set; then
23963 echo $ECHO_N "(cached) $ECHO_C" >&6
23964 else
23965
23966
23967
23968 ac_ext=cc
23969 ac_cpp='$CXXCPP $CPPFLAGS'
23970 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23971 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23972 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23973
23974 cat >conftest.$ac_ext <<_ACEOF
23975 /* confdefs.h. */
23976 _ACEOF
23977 cat confdefs.h >>conftest.$ac_ext
23978 cat >>conftest.$ac_ext <<_ACEOF
23979 /* end confdefs.h. */
23980 #include <math.h>
23981 int
23982 main ()
23983 {
23984 _modfl(0, 0);
23985 ;
23986 return 0;
23987 }
23988 _ACEOF
23989 rm -f conftest.$ac_objext
23990 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23991 (eval $ac_compile) 2>conftest.er1
23992 ac_status=$?
23993 grep -v '^ *+' conftest.er1 >conftest.err
23994 rm -f conftest.er1
23995 cat conftest.err >&5
23996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23997 (exit $ac_status); } &&
23998 { ac_try='test -z "$ac_cxx_werror_flag"
23999 || test ! -s conftest.err'
24000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24001 (eval $ac_try) 2>&5
24002 ac_status=$?
24003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24004 (exit $ac_status); }; } &&
24005 { ac_try='test -s conftest.$ac_objext'
24006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24007 (eval $ac_try) 2>&5
24008 ac_status=$?
24009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24010 (exit $ac_status); }; }; then
24011 glibcxx_cv_func__modfl_use=yes
24012 else
24013 echo "$as_me: failed program was:" >&5
24014 sed 's/^/| /' conftest.$ac_ext >&5
24015
24016 glibcxx_cv_func__modfl_use=no
24017 fi
24018 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24019 ac_ext=c
24020 ac_cpp='$CPP $CPPFLAGS'
24021 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24022 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24023 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24024
24025
24026 fi
24027
24028 fi
24029 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modfl_use" >&5
24030 echo "${ECHO_T}$glibcxx_cv_func__modfl_use" >&6
24031
24032 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
24033
24034 for ac_func in _modfl
24035 do
24036 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24037 echo "$as_me:$LINENO: checking for $ac_func" >&5
24038 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24039 if eval "test \"\${$as_ac_var+set}\" = set"; then
24040 echo $ECHO_N "(cached) $ECHO_C" >&6
24041 else
24042 if test x$gcc_no_link = xyes; then
24043 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24044 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24045 { (exit 1); exit 1; }; }
24046 fi
24047 cat >conftest.$ac_ext <<_ACEOF
24048 /* confdefs.h. */
24049 _ACEOF
24050 cat confdefs.h >>conftest.$ac_ext
24051 cat >>conftest.$ac_ext <<_ACEOF
24052 /* end confdefs.h. */
24053 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24054 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24055 #define $ac_func innocuous_$ac_func
24056
24057 /* System header to define __stub macros and hopefully few prototypes,
24058 which can conflict with char $ac_func (); below.
24059 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24060 <limits.h> exists even on freestanding compilers. */
24061
24062 #ifdef __STDC__
24063 # include <limits.h>
24064 #else
24065 # include <assert.h>
24066 #endif
24067
24068 #undef $ac_func
24069
24070 /* Override any gcc2 internal prototype to avoid an error. */
24071 #ifdef __cplusplus
24072 extern "C"
24073 {
24074 #endif
24075 /* We use char because int might match the return type of a gcc2
24076 builtin and then its argument prototype would still apply. */
24077 char $ac_func ();
24078 /* The GNU C library defines this for functions which it implements
24079 to always fail with ENOSYS. Some functions are actually named
24080 something starting with __ and the normal name is an alias. */
24081 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24082 choke me
24083 #else
24084 char (*f) () = $ac_func;
24085 #endif
24086 #ifdef __cplusplus
24087 }
24088 #endif
24089
24090 int
24091 main ()
24092 {
24093 return f != $ac_func;
24094 ;
24095 return 0;
24096 }
24097 _ACEOF
24098 rm -f conftest.$ac_objext conftest$ac_exeext
24099 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24100 (eval $ac_link) 2>conftest.er1
24101 ac_status=$?
24102 grep -v '^ *+' conftest.er1 >conftest.err
24103 rm -f conftest.er1
24104 cat conftest.err >&5
24105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24106 (exit $ac_status); } &&
24107 { ac_try='test -z "$ac_c_werror_flag"
24108 || test ! -s conftest.err'
24109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24110 (eval $ac_try) 2>&5
24111 ac_status=$?
24112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24113 (exit $ac_status); }; } &&
24114 { ac_try='test -s conftest$ac_exeext'
24115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24116 (eval $ac_try) 2>&5
24117 ac_status=$?
24118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24119 (exit $ac_status); }; }; then
24120 eval "$as_ac_var=yes"
24121 else
24122 echo "$as_me: failed program was:" >&5
24123 sed 's/^/| /' conftest.$ac_ext >&5
24124
24125 eval "$as_ac_var=no"
24126 fi
24127 rm -f conftest.err conftest.$ac_objext \
24128 conftest$ac_exeext conftest.$ac_ext
24129 fi
24130 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24131 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24132 if test `eval echo '${'$as_ac_var'}'` = yes; then
24133 cat >>confdefs.h <<_ACEOF
24134 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24135 _ACEOF
24136
24137 fi
24138 done
24139
24140 fi
24141 fi
24142
24143
24144
24145
24146
24147
24148 echo "$as_me:$LINENO: checking for powl declaration" >&5
24149 echo $ECHO_N "checking for powl declaration... $ECHO_C" >&6
24150 if test x${glibcxx_cv_func_powl_use+set} != xset; then
24151 if test "${glibcxx_cv_func_powl_use+set}" = set; then
24152 echo $ECHO_N "(cached) $ECHO_C" >&6
24153 else
24154
24155
24156
24157 ac_ext=cc
24158 ac_cpp='$CXXCPP $CPPFLAGS'
24159 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24160 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24161 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24162
24163 cat >conftest.$ac_ext <<_ACEOF
24164 /* confdefs.h. */
24165 _ACEOF
24166 cat confdefs.h >>conftest.$ac_ext
24167 cat >>conftest.$ac_ext <<_ACEOF
24168 /* end confdefs.h. */
24169 #include <math.h>
24170 int
24171 main ()
24172 {
24173 powl(0, 0);
24174 ;
24175 return 0;
24176 }
24177 _ACEOF
24178 rm -f conftest.$ac_objext
24179 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24180 (eval $ac_compile) 2>conftest.er1
24181 ac_status=$?
24182 grep -v '^ *+' conftest.er1 >conftest.err
24183 rm -f conftest.er1
24184 cat conftest.err >&5
24185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24186 (exit $ac_status); } &&
24187 { ac_try='test -z "$ac_cxx_werror_flag"
24188 || test ! -s conftest.err'
24189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24190 (eval $ac_try) 2>&5
24191 ac_status=$?
24192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24193 (exit $ac_status); }; } &&
24194 { ac_try='test -s conftest.$ac_objext'
24195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24196 (eval $ac_try) 2>&5
24197 ac_status=$?
24198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24199 (exit $ac_status); }; }; then
24200 glibcxx_cv_func_powl_use=yes
24201 else
24202 echo "$as_me: failed program was:" >&5
24203 sed 's/^/| /' conftest.$ac_ext >&5
24204
24205 glibcxx_cv_func_powl_use=no
24206 fi
24207 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24208 ac_ext=c
24209 ac_cpp='$CPP $CPPFLAGS'
24210 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24211 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24212 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24213
24214
24215 fi
24216
24217 fi
24218 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powl_use" >&5
24219 echo "${ECHO_T}$glibcxx_cv_func_powl_use" >&6
24220
24221 if test x$glibcxx_cv_func_powl_use = x"yes"; then
24222
24223 for ac_func in powl
24224 do
24225 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24226 echo "$as_me:$LINENO: checking for $ac_func" >&5
24227 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24228 if eval "test \"\${$as_ac_var+set}\" = set"; then
24229 echo $ECHO_N "(cached) $ECHO_C" >&6
24230 else
24231 if test x$gcc_no_link = xyes; then
24232 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24233 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24234 { (exit 1); exit 1; }; }
24235 fi
24236 cat >conftest.$ac_ext <<_ACEOF
24237 /* confdefs.h. */
24238 _ACEOF
24239 cat confdefs.h >>conftest.$ac_ext
24240 cat >>conftest.$ac_ext <<_ACEOF
24241 /* end confdefs.h. */
24242 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24243 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24244 #define $ac_func innocuous_$ac_func
24245
24246 /* System header to define __stub macros and hopefully few prototypes,
24247 which can conflict with char $ac_func (); below.
24248 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24249 <limits.h> exists even on freestanding compilers. */
24250
24251 #ifdef __STDC__
24252 # include <limits.h>
24253 #else
24254 # include <assert.h>
24255 #endif
24256
24257 #undef $ac_func
24258
24259 /* Override any gcc2 internal prototype to avoid an error. */
24260 #ifdef __cplusplus
24261 extern "C"
24262 {
24263 #endif
24264 /* We use char because int might match the return type of a gcc2
24265 builtin and then its argument prototype would still apply. */
24266 char $ac_func ();
24267 /* The GNU C library defines this for functions which it implements
24268 to always fail with ENOSYS. Some functions are actually named
24269 something starting with __ and the normal name is an alias. */
24270 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24271 choke me
24272 #else
24273 char (*f) () = $ac_func;
24274 #endif
24275 #ifdef __cplusplus
24276 }
24277 #endif
24278
24279 int
24280 main ()
24281 {
24282 return f != $ac_func;
24283 ;
24284 return 0;
24285 }
24286 _ACEOF
24287 rm -f conftest.$ac_objext conftest$ac_exeext
24288 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24289 (eval $ac_link) 2>conftest.er1
24290 ac_status=$?
24291 grep -v '^ *+' conftest.er1 >conftest.err
24292 rm -f conftest.er1
24293 cat conftest.err >&5
24294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24295 (exit $ac_status); } &&
24296 { ac_try='test -z "$ac_c_werror_flag"
24297 || test ! -s conftest.err'
24298 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24299 (eval $ac_try) 2>&5
24300 ac_status=$?
24301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24302 (exit $ac_status); }; } &&
24303 { ac_try='test -s conftest$ac_exeext'
24304 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24305 (eval $ac_try) 2>&5
24306 ac_status=$?
24307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24308 (exit $ac_status); }; }; then
24309 eval "$as_ac_var=yes"
24310 else
24311 echo "$as_me: failed program was:" >&5
24312 sed 's/^/| /' conftest.$ac_ext >&5
24313
24314 eval "$as_ac_var=no"
24315 fi
24316 rm -f conftest.err conftest.$ac_objext \
24317 conftest$ac_exeext conftest.$ac_ext
24318 fi
24319 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24320 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24321 if test `eval echo '${'$as_ac_var'}'` = yes; then
24322 cat >>confdefs.h <<_ACEOF
24323 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24324 _ACEOF
24325
24326 fi
24327 done
24328
24329 else
24330
24331 echo "$as_me:$LINENO: checking for _powl declaration" >&5
24332 echo $ECHO_N "checking for _powl declaration... $ECHO_C" >&6
24333 if test x${glibcxx_cv_func__powl_use+set} != xset; then
24334 if test "${glibcxx_cv_func__powl_use+set}" = set; then
24335 echo $ECHO_N "(cached) $ECHO_C" >&6
24336 else
24337
24338
24339
24340 ac_ext=cc
24341 ac_cpp='$CXXCPP $CPPFLAGS'
24342 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24343 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24344 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24345
24346 cat >conftest.$ac_ext <<_ACEOF
24347 /* confdefs.h. */
24348 _ACEOF
24349 cat confdefs.h >>conftest.$ac_ext
24350 cat >>conftest.$ac_ext <<_ACEOF
24351 /* end confdefs.h. */
24352 #include <math.h>
24353 int
24354 main ()
24355 {
24356 _powl(0, 0);
24357 ;
24358 return 0;
24359 }
24360 _ACEOF
24361 rm -f conftest.$ac_objext
24362 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24363 (eval $ac_compile) 2>conftest.er1
24364 ac_status=$?
24365 grep -v '^ *+' conftest.er1 >conftest.err
24366 rm -f conftest.er1
24367 cat conftest.err >&5
24368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24369 (exit $ac_status); } &&
24370 { ac_try='test -z "$ac_cxx_werror_flag"
24371 || test ! -s conftest.err'
24372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24373 (eval $ac_try) 2>&5
24374 ac_status=$?
24375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24376 (exit $ac_status); }; } &&
24377 { ac_try='test -s conftest.$ac_objext'
24378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24379 (eval $ac_try) 2>&5
24380 ac_status=$?
24381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24382 (exit $ac_status); }; }; then
24383 glibcxx_cv_func__powl_use=yes
24384 else
24385 echo "$as_me: failed program was:" >&5
24386 sed 's/^/| /' conftest.$ac_ext >&5
24387
24388 glibcxx_cv_func__powl_use=no
24389 fi
24390 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24391 ac_ext=c
24392 ac_cpp='$CPP $CPPFLAGS'
24393 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24394 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24395 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24396
24397
24398 fi
24399
24400 fi
24401 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powl_use" >&5
24402 echo "${ECHO_T}$glibcxx_cv_func__powl_use" >&6
24403
24404 if test x$glibcxx_cv_func__powl_use = x"yes"; then
24405
24406 for ac_func in _powl
24407 do
24408 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24409 echo "$as_me:$LINENO: checking for $ac_func" >&5
24410 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24411 if eval "test \"\${$as_ac_var+set}\" = set"; then
24412 echo $ECHO_N "(cached) $ECHO_C" >&6
24413 else
24414 if test x$gcc_no_link = xyes; then
24415 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24416 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24417 { (exit 1); exit 1; }; }
24418 fi
24419 cat >conftest.$ac_ext <<_ACEOF
24420 /* confdefs.h. */
24421 _ACEOF
24422 cat confdefs.h >>conftest.$ac_ext
24423 cat >>conftest.$ac_ext <<_ACEOF
24424 /* end confdefs.h. */
24425 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24426 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24427 #define $ac_func innocuous_$ac_func
24428
24429 /* System header to define __stub macros and hopefully few prototypes,
24430 which can conflict with char $ac_func (); below.
24431 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24432 <limits.h> exists even on freestanding compilers. */
24433
24434 #ifdef __STDC__
24435 # include <limits.h>
24436 #else
24437 # include <assert.h>
24438 #endif
24439
24440 #undef $ac_func
24441
24442 /* Override any gcc2 internal prototype to avoid an error. */
24443 #ifdef __cplusplus
24444 extern "C"
24445 {
24446 #endif
24447 /* We use char because int might match the return type of a gcc2
24448 builtin and then its argument prototype would still apply. */
24449 char $ac_func ();
24450 /* The GNU C library defines this for functions which it implements
24451 to always fail with ENOSYS. Some functions are actually named
24452 something starting with __ and the normal name is an alias. */
24453 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24454 choke me
24455 #else
24456 char (*f) () = $ac_func;
24457 #endif
24458 #ifdef __cplusplus
24459 }
24460 #endif
24461
24462 int
24463 main ()
24464 {
24465 return f != $ac_func;
24466 ;
24467 return 0;
24468 }
24469 _ACEOF
24470 rm -f conftest.$ac_objext conftest$ac_exeext
24471 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24472 (eval $ac_link) 2>conftest.er1
24473 ac_status=$?
24474 grep -v '^ *+' conftest.er1 >conftest.err
24475 rm -f conftest.er1
24476 cat conftest.err >&5
24477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24478 (exit $ac_status); } &&
24479 { ac_try='test -z "$ac_c_werror_flag"
24480 || test ! -s conftest.err'
24481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24482 (eval $ac_try) 2>&5
24483 ac_status=$?
24484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24485 (exit $ac_status); }; } &&
24486 { ac_try='test -s conftest$ac_exeext'
24487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24488 (eval $ac_try) 2>&5
24489 ac_status=$?
24490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24491 (exit $ac_status); }; }; then
24492 eval "$as_ac_var=yes"
24493 else
24494 echo "$as_me: failed program was:" >&5
24495 sed 's/^/| /' conftest.$ac_ext >&5
24496
24497 eval "$as_ac_var=no"
24498 fi
24499 rm -f conftest.err conftest.$ac_objext \
24500 conftest$ac_exeext conftest.$ac_ext
24501 fi
24502 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24503 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24504 if test `eval echo '${'$as_ac_var'}'` = yes; then
24505 cat >>confdefs.h <<_ACEOF
24506 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24507 _ACEOF
24508
24509 fi
24510 done
24511
24512 fi
24513 fi
24514
24515
24516
24517
24518
24519
24520 echo "$as_me:$LINENO: checking for sqrtl declaration" >&5
24521 echo $ECHO_N "checking for sqrtl declaration... $ECHO_C" >&6
24522 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
24523 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then
24524 echo $ECHO_N "(cached) $ECHO_C" >&6
24525 else
24526
24527
24528
24529 ac_ext=cc
24530 ac_cpp='$CXXCPP $CPPFLAGS'
24531 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24532 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24533 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24534
24535 cat >conftest.$ac_ext <<_ACEOF
24536 /* confdefs.h. */
24537 _ACEOF
24538 cat confdefs.h >>conftest.$ac_ext
24539 cat >>conftest.$ac_ext <<_ACEOF
24540 /* end confdefs.h. */
24541 #include <math.h>
24542 #ifdef HAVE_IEEEFP_H
24543 #include <ieeefp.h>
24544 #endif
24545
24546 int
24547 main ()
24548 {
24549 sqrtl(0);
24550 ;
24551 return 0;
24552 }
24553 _ACEOF
24554 rm -f conftest.$ac_objext
24555 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24556 (eval $ac_compile) 2>conftest.er1
24557 ac_status=$?
24558 grep -v '^ *+' conftest.er1 >conftest.err
24559 rm -f conftest.er1
24560 cat conftest.err >&5
24561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24562 (exit $ac_status); } &&
24563 { ac_try='test -z "$ac_cxx_werror_flag"
24564 || test ! -s conftest.err'
24565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24566 (eval $ac_try) 2>&5
24567 ac_status=$?
24568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24569 (exit $ac_status); }; } &&
24570 { ac_try='test -s conftest.$ac_objext'
24571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24572 (eval $ac_try) 2>&5
24573 ac_status=$?
24574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24575 (exit $ac_status); }; }; then
24576 glibcxx_cv_func_sqrtl_use=yes
24577 else
24578 echo "$as_me: failed program was:" >&5
24579 sed 's/^/| /' conftest.$ac_ext >&5
24580
24581 glibcxx_cv_func_sqrtl_use=no
24582 fi
24583 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24584 ac_ext=c
24585 ac_cpp='$CPP $CPPFLAGS'
24586 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24587 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24588 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24589
24590
24591 fi
24592
24593 fi
24594 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtl_use" >&5
24595 echo "${ECHO_T}$glibcxx_cv_func_sqrtl_use" >&6
24596
24597 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
24598
24599 for ac_func in sqrtl
24600 do
24601 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24602 echo "$as_me:$LINENO: checking for $ac_func" >&5
24603 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24604 if eval "test \"\${$as_ac_var+set}\" = set"; then
24605 echo $ECHO_N "(cached) $ECHO_C" >&6
24606 else
24607 if test x$gcc_no_link = xyes; then
24608 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24609 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24610 { (exit 1); exit 1; }; }
24611 fi
24612 cat >conftest.$ac_ext <<_ACEOF
24613 /* confdefs.h. */
24614 _ACEOF
24615 cat confdefs.h >>conftest.$ac_ext
24616 cat >>conftest.$ac_ext <<_ACEOF
24617 /* end confdefs.h. */
24618 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24619 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24620 #define $ac_func innocuous_$ac_func
24621
24622 /* System header to define __stub macros and hopefully few prototypes,
24623 which can conflict with char $ac_func (); below.
24624 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24625 <limits.h> exists even on freestanding compilers. */
24626
24627 #ifdef __STDC__
24628 # include <limits.h>
24629 #else
24630 # include <assert.h>
24631 #endif
24632
24633 #undef $ac_func
24634
24635 /* Override any gcc2 internal prototype to avoid an error. */
24636 #ifdef __cplusplus
24637 extern "C"
24638 {
24639 #endif
24640 /* We use char because int might match the return type of a gcc2
24641 builtin and then its argument prototype would still apply. */
24642 char $ac_func ();
24643 /* The GNU C library defines this for functions which it implements
24644 to always fail with ENOSYS. Some functions are actually named
24645 something starting with __ and the normal name is an alias. */
24646 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24647 choke me
24648 #else
24649 char (*f) () = $ac_func;
24650 #endif
24651 #ifdef __cplusplus
24652 }
24653 #endif
24654
24655 int
24656 main ()
24657 {
24658 return f != $ac_func;
24659 ;
24660 return 0;
24661 }
24662 _ACEOF
24663 rm -f conftest.$ac_objext conftest$ac_exeext
24664 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24665 (eval $ac_link) 2>conftest.er1
24666 ac_status=$?
24667 grep -v '^ *+' conftest.er1 >conftest.err
24668 rm -f conftest.er1
24669 cat conftest.err >&5
24670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24671 (exit $ac_status); } &&
24672 { ac_try='test -z "$ac_c_werror_flag"
24673 || test ! -s conftest.err'
24674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24675 (eval $ac_try) 2>&5
24676 ac_status=$?
24677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24678 (exit $ac_status); }; } &&
24679 { ac_try='test -s conftest$ac_exeext'
24680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24681 (eval $ac_try) 2>&5
24682 ac_status=$?
24683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24684 (exit $ac_status); }; }; then
24685 eval "$as_ac_var=yes"
24686 else
24687 echo "$as_me: failed program was:" >&5
24688 sed 's/^/| /' conftest.$ac_ext >&5
24689
24690 eval "$as_ac_var=no"
24691 fi
24692 rm -f conftest.err conftest.$ac_objext \
24693 conftest$ac_exeext conftest.$ac_ext
24694 fi
24695 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24696 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24697 if test `eval echo '${'$as_ac_var'}'` = yes; then
24698 cat >>confdefs.h <<_ACEOF
24699 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24700 _ACEOF
24701
24702 fi
24703 done
24704
24705 else
24706
24707 echo "$as_me:$LINENO: checking for _sqrtl declaration" >&5
24708 echo $ECHO_N "checking for _sqrtl declaration... $ECHO_C" >&6
24709 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
24710 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then
24711 echo $ECHO_N "(cached) $ECHO_C" >&6
24712 else
24713
24714
24715
24716 ac_ext=cc
24717 ac_cpp='$CXXCPP $CPPFLAGS'
24718 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24719 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24720 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24721
24722 cat >conftest.$ac_ext <<_ACEOF
24723 /* confdefs.h. */
24724 _ACEOF
24725 cat confdefs.h >>conftest.$ac_ext
24726 cat >>conftest.$ac_ext <<_ACEOF
24727 /* end confdefs.h. */
24728 #include <math.h>
24729 #ifdef HAVE_IEEEFP_H
24730 #include <ieeefp.h>
24731 #endif
24732
24733 int
24734 main ()
24735 {
24736 _sqrtl(0);
24737 ;
24738 return 0;
24739 }
24740 _ACEOF
24741 rm -f conftest.$ac_objext
24742 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24743 (eval $ac_compile) 2>conftest.er1
24744 ac_status=$?
24745 grep -v '^ *+' conftest.er1 >conftest.err
24746 rm -f conftest.er1
24747 cat conftest.err >&5
24748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24749 (exit $ac_status); } &&
24750 { ac_try='test -z "$ac_cxx_werror_flag"
24751 || test ! -s conftest.err'
24752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24753 (eval $ac_try) 2>&5
24754 ac_status=$?
24755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24756 (exit $ac_status); }; } &&
24757 { ac_try='test -s conftest.$ac_objext'
24758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24759 (eval $ac_try) 2>&5
24760 ac_status=$?
24761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24762 (exit $ac_status); }; }; then
24763 glibcxx_cv_func__sqrtl_use=yes
24764 else
24765 echo "$as_me: failed program was:" >&5
24766 sed 's/^/| /' conftest.$ac_ext >&5
24767
24768 glibcxx_cv_func__sqrtl_use=no
24769 fi
24770 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24771 ac_ext=c
24772 ac_cpp='$CPP $CPPFLAGS'
24773 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24774 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24775 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24776
24777
24778 fi
24779
24780 fi
24781 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtl_use" >&5
24782 echo "${ECHO_T}$glibcxx_cv_func__sqrtl_use" >&6
24783
24784 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
24785
24786 for ac_func in _sqrtl
24787 do
24788 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24789 echo "$as_me:$LINENO: checking for $ac_func" >&5
24790 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24791 if eval "test \"\${$as_ac_var+set}\" = set"; then
24792 echo $ECHO_N "(cached) $ECHO_C" >&6
24793 else
24794 if test x$gcc_no_link = xyes; then
24795 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24796 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24797 { (exit 1); exit 1; }; }
24798 fi
24799 cat >conftest.$ac_ext <<_ACEOF
24800 /* confdefs.h. */
24801 _ACEOF
24802 cat confdefs.h >>conftest.$ac_ext
24803 cat >>conftest.$ac_ext <<_ACEOF
24804 /* end confdefs.h. */
24805 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24806 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24807 #define $ac_func innocuous_$ac_func
24808
24809 /* System header to define __stub macros and hopefully few prototypes,
24810 which can conflict with char $ac_func (); below.
24811 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24812 <limits.h> exists even on freestanding compilers. */
24813
24814 #ifdef __STDC__
24815 # include <limits.h>
24816 #else
24817 # include <assert.h>
24818 #endif
24819
24820 #undef $ac_func
24821
24822 /* Override any gcc2 internal prototype to avoid an error. */
24823 #ifdef __cplusplus
24824 extern "C"
24825 {
24826 #endif
24827 /* We use char because int might match the return type of a gcc2
24828 builtin and then its argument prototype would still apply. */
24829 char $ac_func ();
24830 /* The GNU C library defines this for functions which it implements
24831 to always fail with ENOSYS. Some functions are actually named
24832 something starting with __ and the normal name is an alias. */
24833 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24834 choke me
24835 #else
24836 char (*f) () = $ac_func;
24837 #endif
24838 #ifdef __cplusplus
24839 }
24840 #endif
24841
24842 int
24843 main ()
24844 {
24845 return f != $ac_func;
24846 ;
24847 return 0;
24848 }
24849 _ACEOF
24850 rm -f conftest.$ac_objext conftest$ac_exeext
24851 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24852 (eval $ac_link) 2>conftest.er1
24853 ac_status=$?
24854 grep -v '^ *+' conftest.er1 >conftest.err
24855 rm -f conftest.er1
24856 cat conftest.err >&5
24857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24858 (exit $ac_status); } &&
24859 { ac_try='test -z "$ac_c_werror_flag"
24860 || test ! -s conftest.err'
24861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24862 (eval $ac_try) 2>&5
24863 ac_status=$?
24864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24865 (exit $ac_status); }; } &&
24866 { ac_try='test -s conftest$ac_exeext'
24867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24868 (eval $ac_try) 2>&5
24869 ac_status=$?
24870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24871 (exit $ac_status); }; }; then
24872 eval "$as_ac_var=yes"
24873 else
24874 echo "$as_me: failed program was:" >&5
24875 sed 's/^/| /' conftest.$ac_ext >&5
24876
24877 eval "$as_ac_var=no"
24878 fi
24879 rm -f conftest.err conftest.$ac_objext \
24880 conftest$ac_exeext conftest.$ac_ext
24881 fi
24882 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24883 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24884 if test `eval echo '${'$as_ac_var'}'` = yes; then
24885 cat >>confdefs.h <<_ACEOF
24886 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24887 _ACEOF
24888
24889 fi
24890 done
24891
24892 fi
24893 fi
24894
24895
24896
24897
24898
24899
24900 echo "$as_me:$LINENO: checking for sincosl declaration" >&5
24901 echo $ECHO_N "checking for sincosl declaration... $ECHO_C" >&6
24902 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
24903 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then
24904 echo $ECHO_N "(cached) $ECHO_C" >&6
24905 else
24906
24907
24908
24909 ac_ext=cc
24910 ac_cpp='$CXXCPP $CPPFLAGS'
24911 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24912 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24913 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24914
24915 cat >conftest.$ac_ext <<_ACEOF
24916 /* confdefs.h. */
24917 _ACEOF
24918 cat confdefs.h >>conftest.$ac_ext
24919 cat >>conftest.$ac_ext <<_ACEOF
24920 /* end confdefs.h. */
24921 #include <math.h>
24922 int
24923 main ()
24924 {
24925 sincosl(0, 0, 0);
24926 ;
24927 return 0;
24928 }
24929 _ACEOF
24930 rm -f conftest.$ac_objext
24931 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24932 (eval $ac_compile) 2>conftest.er1
24933 ac_status=$?
24934 grep -v '^ *+' conftest.er1 >conftest.err
24935 rm -f conftest.er1
24936 cat conftest.err >&5
24937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24938 (exit $ac_status); } &&
24939 { ac_try='test -z "$ac_cxx_werror_flag"
24940 || test ! -s conftest.err'
24941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24942 (eval $ac_try) 2>&5
24943 ac_status=$?
24944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24945 (exit $ac_status); }; } &&
24946 { ac_try='test -s conftest.$ac_objext'
24947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24948 (eval $ac_try) 2>&5
24949 ac_status=$?
24950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24951 (exit $ac_status); }; }; then
24952 glibcxx_cv_func_sincosl_use=yes
24953 else
24954 echo "$as_me: failed program was:" >&5
24955 sed 's/^/| /' conftest.$ac_ext >&5
24956
24957 glibcxx_cv_func_sincosl_use=no
24958 fi
24959 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24960 ac_ext=c
24961 ac_cpp='$CPP $CPPFLAGS'
24962 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24963 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24964 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24965
24966
24967 fi
24968
24969 fi
24970 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosl_use" >&5
24971 echo "${ECHO_T}$glibcxx_cv_func_sincosl_use" >&6
24972
24973 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
24974
24975 for ac_func in sincosl
24976 do
24977 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24978 echo "$as_me:$LINENO: checking for $ac_func" >&5
24979 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24980 if eval "test \"\${$as_ac_var+set}\" = set"; then
24981 echo $ECHO_N "(cached) $ECHO_C" >&6
24982 else
24983 if test x$gcc_no_link = xyes; then
24984 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24985 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24986 { (exit 1); exit 1; }; }
24987 fi
24988 cat >conftest.$ac_ext <<_ACEOF
24989 /* confdefs.h. */
24990 _ACEOF
24991 cat confdefs.h >>conftest.$ac_ext
24992 cat >>conftest.$ac_ext <<_ACEOF
24993 /* end confdefs.h. */
24994 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24995 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24996 #define $ac_func innocuous_$ac_func
24997
24998 /* System header to define __stub macros and hopefully few prototypes,
24999 which can conflict with char $ac_func (); below.
25000 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25001 <limits.h> exists even on freestanding compilers. */
25002
25003 #ifdef __STDC__
25004 # include <limits.h>
25005 #else
25006 # include <assert.h>
25007 #endif
25008
25009 #undef $ac_func
25010
25011 /* Override any gcc2 internal prototype to avoid an error. */
25012 #ifdef __cplusplus
25013 extern "C"
25014 {
25015 #endif
25016 /* We use char because int might match the return type of a gcc2
25017 builtin and then its argument prototype would still apply. */
25018 char $ac_func ();
25019 /* The GNU C library defines this for functions which it implements
25020 to always fail with ENOSYS. Some functions are actually named
25021 something starting with __ and the normal name is an alias. */
25022 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25023 choke me
25024 #else
25025 char (*f) () = $ac_func;
25026 #endif
25027 #ifdef __cplusplus
25028 }
25029 #endif
25030
25031 int
25032 main ()
25033 {
25034 return f != $ac_func;
25035 ;
25036 return 0;
25037 }
25038 _ACEOF
25039 rm -f conftest.$ac_objext conftest$ac_exeext
25040 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25041 (eval $ac_link) 2>conftest.er1
25042 ac_status=$?
25043 grep -v '^ *+' conftest.er1 >conftest.err
25044 rm -f conftest.er1
25045 cat conftest.err >&5
25046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25047 (exit $ac_status); } &&
25048 { ac_try='test -z "$ac_c_werror_flag"
25049 || test ! -s conftest.err'
25050 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25051 (eval $ac_try) 2>&5
25052 ac_status=$?
25053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25054 (exit $ac_status); }; } &&
25055 { ac_try='test -s conftest$ac_exeext'
25056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25057 (eval $ac_try) 2>&5
25058 ac_status=$?
25059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25060 (exit $ac_status); }; }; then
25061 eval "$as_ac_var=yes"
25062 else
25063 echo "$as_me: failed program was:" >&5
25064 sed 's/^/| /' conftest.$ac_ext >&5
25065
25066 eval "$as_ac_var=no"
25067 fi
25068 rm -f conftest.err conftest.$ac_objext \
25069 conftest$ac_exeext conftest.$ac_ext
25070 fi
25071 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25072 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25073 if test `eval echo '${'$as_ac_var'}'` = yes; then
25074 cat >>confdefs.h <<_ACEOF
25075 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25076 _ACEOF
25077
25078 fi
25079 done
25080
25081 else
25082
25083 echo "$as_me:$LINENO: checking for _sincosl declaration" >&5
25084 echo $ECHO_N "checking for _sincosl declaration... $ECHO_C" >&6
25085 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
25086 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then
25087 echo $ECHO_N "(cached) $ECHO_C" >&6
25088 else
25089
25090
25091
25092 ac_ext=cc
25093 ac_cpp='$CXXCPP $CPPFLAGS'
25094 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25095 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25096 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25097
25098 cat >conftest.$ac_ext <<_ACEOF
25099 /* confdefs.h. */
25100 _ACEOF
25101 cat confdefs.h >>conftest.$ac_ext
25102 cat >>conftest.$ac_ext <<_ACEOF
25103 /* end confdefs.h. */
25104 #include <math.h>
25105 int
25106 main ()
25107 {
25108 _sincosl(0, 0, 0);
25109 ;
25110 return 0;
25111 }
25112 _ACEOF
25113 rm -f conftest.$ac_objext
25114 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25115 (eval $ac_compile) 2>conftest.er1
25116 ac_status=$?
25117 grep -v '^ *+' conftest.er1 >conftest.err
25118 rm -f conftest.er1
25119 cat conftest.err >&5
25120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25121 (exit $ac_status); } &&
25122 { ac_try='test -z "$ac_cxx_werror_flag"
25123 || test ! -s conftest.err'
25124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25125 (eval $ac_try) 2>&5
25126 ac_status=$?
25127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25128 (exit $ac_status); }; } &&
25129 { ac_try='test -s conftest.$ac_objext'
25130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25131 (eval $ac_try) 2>&5
25132 ac_status=$?
25133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25134 (exit $ac_status); }; }; then
25135 glibcxx_cv_func__sincosl_use=yes
25136 else
25137 echo "$as_me: failed program was:" >&5
25138 sed 's/^/| /' conftest.$ac_ext >&5
25139
25140 glibcxx_cv_func__sincosl_use=no
25141 fi
25142 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25143 ac_ext=c
25144 ac_cpp='$CPP $CPPFLAGS'
25145 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25146 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25147 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25148
25149
25150 fi
25151
25152 fi
25153 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosl_use" >&5
25154 echo "${ECHO_T}$glibcxx_cv_func__sincosl_use" >&6
25155
25156 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
25157
25158 for ac_func in _sincosl
25159 do
25160 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25161 echo "$as_me:$LINENO: checking for $ac_func" >&5
25162 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25163 if eval "test \"\${$as_ac_var+set}\" = set"; then
25164 echo $ECHO_N "(cached) $ECHO_C" >&6
25165 else
25166 if test x$gcc_no_link = xyes; then
25167 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25168 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25169 { (exit 1); exit 1; }; }
25170 fi
25171 cat >conftest.$ac_ext <<_ACEOF
25172 /* confdefs.h. */
25173 _ACEOF
25174 cat confdefs.h >>conftest.$ac_ext
25175 cat >>conftest.$ac_ext <<_ACEOF
25176 /* end confdefs.h. */
25177 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25178 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25179 #define $ac_func innocuous_$ac_func
25180
25181 /* System header to define __stub macros and hopefully few prototypes,
25182 which can conflict with char $ac_func (); below.
25183 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25184 <limits.h> exists even on freestanding compilers. */
25185
25186 #ifdef __STDC__
25187 # include <limits.h>
25188 #else
25189 # include <assert.h>
25190 #endif
25191
25192 #undef $ac_func
25193
25194 /* Override any gcc2 internal prototype to avoid an error. */
25195 #ifdef __cplusplus
25196 extern "C"
25197 {
25198 #endif
25199 /* We use char because int might match the return type of a gcc2
25200 builtin and then its argument prototype would still apply. */
25201 char $ac_func ();
25202 /* The GNU C library defines this for functions which it implements
25203 to always fail with ENOSYS. Some functions are actually named
25204 something starting with __ and the normal name is an alias. */
25205 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25206 choke me
25207 #else
25208 char (*f) () = $ac_func;
25209 #endif
25210 #ifdef __cplusplus
25211 }
25212 #endif
25213
25214 int
25215 main ()
25216 {
25217 return f != $ac_func;
25218 ;
25219 return 0;
25220 }
25221 _ACEOF
25222 rm -f conftest.$ac_objext conftest$ac_exeext
25223 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25224 (eval $ac_link) 2>conftest.er1
25225 ac_status=$?
25226 grep -v '^ *+' conftest.er1 >conftest.err
25227 rm -f conftest.er1
25228 cat conftest.err >&5
25229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25230 (exit $ac_status); } &&
25231 { ac_try='test -z "$ac_c_werror_flag"
25232 || test ! -s conftest.err'
25233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25234 (eval $ac_try) 2>&5
25235 ac_status=$?
25236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25237 (exit $ac_status); }; } &&
25238 { ac_try='test -s conftest$ac_exeext'
25239 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25240 (eval $ac_try) 2>&5
25241 ac_status=$?
25242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25243 (exit $ac_status); }; }; then
25244 eval "$as_ac_var=yes"
25245 else
25246 echo "$as_me: failed program was:" >&5
25247 sed 's/^/| /' conftest.$ac_ext >&5
25248
25249 eval "$as_ac_var=no"
25250 fi
25251 rm -f conftest.err conftest.$ac_objext \
25252 conftest$ac_exeext conftest.$ac_ext
25253 fi
25254 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25255 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25256 if test `eval echo '${'$as_ac_var'}'` = yes; then
25257 cat >>confdefs.h <<_ACEOF
25258 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25259 _ACEOF
25260
25261 fi
25262 done
25263
25264 fi
25265 fi
25266
25267
25268
25269
25270
25271
25272 echo "$as_me:$LINENO: checking for finitel declaration" >&5
25273 echo $ECHO_N "checking for finitel declaration... $ECHO_C" >&6
25274 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
25275 if test "${glibcxx_cv_func_finitel_use+set}" = set; then
25276 echo $ECHO_N "(cached) $ECHO_C" >&6
25277 else
25278
25279
25280
25281 ac_ext=cc
25282 ac_cpp='$CXXCPP $CPPFLAGS'
25283 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25284 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25285 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25286
25287 cat >conftest.$ac_ext <<_ACEOF
25288 /* confdefs.h. */
25289 _ACEOF
25290 cat confdefs.h >>conftest.$ac_ext
25291 cat >>conftest.$ac_ext <<_ACEOF
25292 /* end confdefs.h. */
25293 #include <math.h>
25294 #ifdef HAVE_IEEEFP_H
25295 #include <ieeefp.h>
25296 #endif
25297
25298 int
25299 main ()
25300 {
25301 finitel(0);
25302 ;
25303 return 0;
25304 }
25305 _ACEOF
25306 rm -f conftest.$ac_objext
25307 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25308 (eval $ac_compile) 2>conftest.er1
25309 ac_status=$?
25310 grep -v '^ *+' conftest.er1 >conftest.err
25311 rm -f conftest.er1
25312 cat conftest.err >&5
25313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25314 (exit $ac_status); } &&
25315 { ac_try='test -z "$ac_cxx_werror_flag"
25316 || test ! -s conftest.err'
25317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25318 (eval $ac_try) 2>&5
25319 ac_status=$?
25320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25321 (exit $ac_status); }; } &&
25322 { ac_try='test -s conftest.$ac_objext'
25323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25324 (eval $ac_try) 2>&5
25325 ac_status=$?
25326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25327 (exit $ac_status); }; }; then
25328 glibcxx_cv_func_finitel_use=yes
25329 else
25330 echo "$as_me: failed program was:" >&5
25331 sed 's/^/| /' conftest.$ac_ext >&5
25332
25333 glibcxx_cv_func_finitel_use=no
25334 fi
25335 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25336 ac_ext=c
25337 ac_cpp='$CPP $CPPFLAGS'
25338 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25339 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25340 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25341
25342
25343 fi
25344
25345 fi
25346 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitel_use" >&5
25347 echo "${ECHO_T}$glibcxx_cv_func_finitel_use" >&6
25348
25349 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
25350
25351 for ac_func in finitel
25352 do
25353 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25354 echo "$as_me:$LINENO: checking for $ac_func" >&5
25355 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25356 if eval "test \"\${$as_ac_var+set}\" = set"; then
25357 echo $ECHO_N "(cached) $ECHO_C" >&6
25358 else
25359 if test x$gcc_no_link = xyes; then
25360 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25361 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25362 { (exit 1); exit 1; }; }
25363 fi
25364 cat >conftest.$ac_ext <<_ACEOF
25365 /* confdefs.h. */
25366 _ACEOF
25367 cat confdefs.h >>conftest.$ac_ext
25368 cat >>conftest.$ac_ext <<_ACEOF
25369 /* end confdefs.h. */
25370 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25371 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25372 #define $ac_func innocuous_$ac_func
25373
25374 /* System header to define __stub macros and hopefully few prototypes,
25375 which can conflict with char $ac_func (); below.
25376 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25377 <limits.h> exists even on freestanding compilers. */
25378
25379 #ifdef __STDC__
25380 # include <limits.h>
25381 #else
25382 # include <assert.h>
25383 #endif
25384
25385 #undef $ac_func
25386
25387 /* Override any gcc2 internal prototype to avoid an error. */
25388 #ifdef __cplusplus
25389 extern "C"
25390 {
25391 #endif
25392 /* We use char because int might match the return type of a gcc2
25393 builtin and then its argument prototype would still apply. */
25394 char $ac_func ();
25395 /* The GNU C library defines this for functions which it implements
25396 to always fail with ENOSYS. Some functions are actually named
25397 something starting with __ and the normal name is an alias. */
25398 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25399 choke me
25400 #else
25401 char (*f) () = $ac_func;
25402 #endif
25403 #ifdef __cplusplus
25404 }
25405 #endif
25406
25407 int
25408 main ()
25409 {
25410 return f != $ac_func;
25411 ;
25412 return 0;
25413 }
25414 _ACEOF
25415 rm -f conftest.$ac_objext conftest$ac_exeext
25416 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25417 (eval $ac_link) 2>conftest.er1
25418 ac_status=$?
25419 grep -v '^ *+' conftest.er1 >conftest.err
25420 rm -f conftest.er1
25421 cat conftest.err >&5
25422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25423 (exit $ac_status); } &&
25424 { ac_try='test -z "$ac_c_werror_flag"
25425 || test ! -s conftest.err'
25426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25427 (eval $ac_try) 2>&5
25428 ac_status=$?
25429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25430 (exit $ac_status); }; } &&
25431 { ac_try='test -s conftest$ac_exeext'
25432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25433 (eval $ac_try) 2>&5
25434 ac_status=$?
25435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25436 (exit $ac_status); }; }; then
25437 eval "$as_ac_var=yes"
25438 else
25439 echo "$as_me: failed program was:" >&5
25440 sed 's/^/| /' conftest.$ac_ext >&5
25441
25442 eval "$as_ac_var=no"
25443 fi
25444 rm -f conftest.err conftest.$ac_objext \
25445 conftest$ac_exeext conftest.$ac_ext
25446 fi
25447 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25448 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25449 if test `eval echo '${'$as_ac_var'}'` = yes; then
25450 cat >>confdefs.h <<_ACEOF
25451 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25452 _ACEOF
25453
25454 fi
25455 done
25456
25457 else
25458
25459 echo "$as_me:$LINENO: checking for _finitel declaration" >&5
25460 echo $ECHO_N "checking for _finitel declaration... $ECHO_C" >&6
25461 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
25462 if test "${glibcxx_cv_func__finitel_use+set}" = set; then
25463 echo $ECHO_N "(cached) $ECHO_C" >&6
25464 else
25465
25466
25467
25468 ac_ext=cc
25469 ac_cpp='$CXXCPP $CPPFLAGS'
25470 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25471 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25472 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25473
25474 cat >conftest.$ac_ext <<_ACEOF
25475 /* confdefs.h. */
25476 _ACEOF
25477 cat confdefs.h >>conftest.$ac_ext
25478 cat >>conftest.$ac_ext <<_ACEOF
25479 /* end confdefs.h. */
25480 #include <math.h>
25481 #ifdef HAVE_IEEEFP_H
25482 #include <ieeefp.h>
25483 #endif
25484
25485 int
25486 main ()
25487 {
25488 _finitel(0);
25489 ;
25490 return 0;
25491 }
25492 _ACEOF
25493 rm -f conftest.$ac_objext
25494 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25495 (eval $ac_compile) 2>conftest.er1
25496 ac_status=$?
25497 grep -v '^ *+' conftest.er1 >conftest.err
25498 rm -f conftest.er1
25499 cat conftest.err >&5
25500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25501 (exit $ac_status); } &&
25502 { ac_try='test -z "$ac_cxx_werror_flag"
25503 || test ! -s conftest.err'
25504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25505 (eval $ac_try) 2>&5
25506 ac_status=$?
25507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25508 (exit $ac_status); }; } &&
25509 { ac_try='test -s conftest.$ac_objext'
25510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25511 (eval $ac_try) 2>&5
25512 ac_status=$?
25513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25514 (exit $ac_status); }; }; then
25515 glibcxx_cv_func__finitel_use=yes
25516 else
25517 echo "$as_me: failed program was:" >&5
25518 sed 's/^/| /' conftest.$ac_ext >&5
25519
25520 glibcxx_cv_func__finitel_use=no
25521 fi
25522 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25523 ac_ext=c
25524 ac_cpp='$CPP $CPPFLAGS'
25525 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25526 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25527 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25528
25529
25530 fi
25531
25532 fi
25533 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitel_use" >&5
25534 echo "${ECHO_T}$glibcxx_cv_func__finitel_use" >&6
25535
25536 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
25537
25538 for ac_func in _finitel
25539 do
25540 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25541 echo "$as_me:$LINENO: checking for $ac_func" >&5
25542 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25543 if eval "test \"\${$as_ac_var+set}\" = set"; then
25544 echo $ECHO_N "(cached) $ECHO_C" >&6
25545 else
25546 if test x$gcc_no_link = xyes; then
25547 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25548 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25549 { (exit 1); exit 1; }; }
25550 fi
25551 cat >conftest.$ac_ext <<_ACEOF
25552 /* confdefs.h. */
25553 _ACEOF
25554 cat confdefs.h >>conftest.$ac_ext
25555 cat >>conftest.$ac_ext <<_ACEOF
25556 /* end confdefs.h. */
25557 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25558 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25559 #define $ac_func innocuous_$ac_func
25560
25561 /* System header to define __stub macros and hopefully few prototypes,
25562 which can conflict with char $ac_func (); below.
25563 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25564 <limits.h> exists even on freestanding compilers. */
25565
25566 #ifdef __STDC__
25567 # include <limits.h>
25568 #else
25569 # include <assert.h>
25570 #endif
25571
25572 #undef $ac_func
25573
25574 /* Override any gcc2 internal prototype to avoid an error. */
25575 #ifdef __cplusplus
25576 extern "C"
25577 {
25578 #endif
25579 /* We use char because int might match the return type of a gcc2
25580 builtin and then its argument prototype would still apply. */
25581 char $ac_func ();
25582 /* The GNU C library defines this for functions which it implements
25583 to always fail with ENOSYS. Some functions are actually named
25584 something starting with __ and the normal name is an alias. */
25585 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25586 choke me
25587 #else
25588 char (*f) () = $ac_func;
25589 #endif
25590 #ifdef __cplusplus
25591 }
25592 #endif
25593
25594 int
25595 main ()
25596 {
25597 return f != $ac_func;
25598 ;
25599 return 0;
25600 }
25601 _ACEOF
25602 rm -f conftest.$ac_objext conftest$ac_exeext
25603 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25604 (eval $ac_link) 2>conftest.er1
25605 ac_status=$?
25606 grep -v '^ *+' conftest.er1 >conftest.err
25607 rm -f conftest.er1
25608 cat conftest.err >&5
25609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25610 (exit $ac_status); } &&
25611 { ac_try='test -z "$ac_c_werror_flag"
25612 || test ! -s conftest.err'
25613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25614 (eval $ac_try) 2>&5
25615 ac_status=$?
25616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25617 (exit $ac_status); }; } &&
25618 { ac_try='test -s conftest$ac_exeext'
25619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25620 (eval $ac_try) 2>&5
25621 ac_status=$?
25622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25623 (exit $ac_status); }; }; then
25624 eval "$as_ac_var=yes"
25625 else
25626 echo "$as_me: failed program was:" >&5
25627 sed 's/^/| /' conftest.$ac_ext >&5
25628
25629 eval "$as_ac_var=no"
25630 fi
25631 rm -f conftest.err conftest.$ac_objext \
25632 conftest$ac_exeext conftest.$ac_ext
25633 fi
25634 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25635 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25636 if test `eval echo '${'$as_ac_var'}'` = yes; then
25637 cat >>confdefs.h <<_ACEOF
25638 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25639 _ACEOF
25640
25641 fi
25642 done
25643
25644 fi
25645 fi
25646
25647
25648
25649
25650
25651 LIBS="$ac_save_LIBS"
25652 CXXFLAGS="$ac_save_CXXFLAGS"
25653
25654
25655
25656 echo "$as_me:$LINENO: checking for __builtin_abs declaration" >&5
25657 echo $ECHO_N "checking for __builtin_abs declaration... $ECHO_C" >&6
25658 if test x${glibcxx_cv_func___builtin_abs_use+set} != xset; then
25659 if test "${glibcxx_cv_func___builtin_abs_use+set}" = set; then
25660 echo $ECHO_N "(cached) $ECHO_C" >&6
25661 else
25662
25663
25664
25665 ac_ext=cc
25666 ac_cpp='$CXXCPP $CPPFLAGS'
25667 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25668 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25669 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25670
25671 cat >conftest.$ac_ext <<_ACEOF
25672 /* confdefs.h. */
25673 _ACEOF
25674 cat confdefs.h >>conftest.$ac_ext
25675 cat >>conftest.$ac_ext <<_ACEOF
25676 /* end confdefs.h. */
25677 #include <math.h>
25678 int
25679 main ()
25680 {
25681 __builtin_abs(0);
25682 ;
25683 return 0;
25684 }
25685 _ACEOF
25686 rm -f conftest.$ac_objext
25687 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25688 (eval $ac_compile) 2>conftest.er1
25689 ac_status=$?
25690 grep -v '^ *+' conftest.er1 >conftest.err
25691 rm -f conftest.er1
25692 cat conftest.err >&5
25693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25694 (exit $ac_status); } &&
25695 { ac_try='test -z "$ac_cxx_werror_flag"
25696 || test ! -s conftest.err'
25697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25698 (eval $ac_try) 2>&5
25699 ac_status=$?
25700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25701 (exit $ac_status); }; } &&
25702 { ac_try='test -s conftest.$ac_objext'
25703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25704 (eval $ac_try) 2>&5
25705 ac_status=$?
25706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25707 (exit $ac_status); }; }; then
25708 glibcxx_cv_func___builtin_abs_use=yes
25709 else
25710 echo "$as_me: failed program was:" >&5
25711 sed 's/^/| /' conftest.$ac_ext >&5
25712
25713 glibcxx_cv_func___builtin_abs_use=no
25714 fi
25715 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25716 ac_ext=c
25717 ac_cpp='$CPP $CPPFLAGS'
25718 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25719 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25720 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25721
25722
25723 fi
25724
25725 fi
25726 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_use" >&5
25727 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_use" >&6
25728 if test x$glibcxx_cv_func___builtin_abs_use = x"yes"; then
25729 echo "$as_me:$LINENO: checking for __builtin_abs linkage" >&5
25730 echo $ECHO_N "checking for __builtin_abs linkage... $ECHO_C" >&6
25731 if test x${glibcxx_cv_func___builtin_abs_link+set} != xset; then
25732 if test "${glibcxx_cv_func___builtin_abs_link+set}" = set; then
25733 echo $ECHO_N "(cached) $ECHO_C" >&6
25734 else
25735
25736 if test x$gcc_no_link = xyes; then
25737 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25738 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25739 { (exit 1); exit 1; }; }
25740 fi
25741 cat >conftest.$ac_ext <<_ACEOF
25742 /* confdefs.h. */
25743 _ACEOF
25744 cat confdefs.h >>conftest.$ac_ext
25745 cat >>conftest.$ac_ext <<_ACEOF
25746 /* end confdefs.h. */
25747 #include <math.h>
25748 int
25749 main ()
25750 {
25751 __builtin_abs(0);
25752 ;
25753 return 0;
25754 }
25755 _ACEOF
25756 rm -f conftest.$ac_objext conftest$ac_exeext
25757 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25758 (eval $ac_link) 2>conftest.er1
25759 ac_status=$?
25760 grep -v '^ *+' conftest.er1 >conftest.err
25761 rm -f conftest.er1
25762 cat conftest.err >&5
25763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25764 (exit $ac_status); } &&
25765 { ac_try='test -z "$ac_c_werror_flag"
25766 || test ! -s conftest.err'
25767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25768 (eval $ac_try) 2>&5
25769 ac_status=$?
25770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25771 (exit $ac_status); }; } &&
25772 { ac_try='test -s conftest$ac_exeext'
25773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25774 (eval $ac_try) 2>&5
25775 ac_status=$?
25776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25777 (exit $ac_status); }; }; then
25778 glibcxx_cv_func___builtin_abs_link=yes
25779 else
25780 echo "$as_me: failed program was:" >&5
25781 sed 's/^/| /' conftest.$ac_ext >&5
25782
25783 glibcxx_cv_func___builtin_abs_link=no
25784 fi
25785 rm -f conftest.err conftest.$ac_objext \
25786 conftest$ac_exeext conftest.$ac_ext
25787
25788 fi
25789
25790 fi
25791 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_link" >&5
25792 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_link" >&6
25793
25794 if test x$glibcxx_cv_func___builtin_abs_link = x"yes"; then
25795
25796 cat >>confdefs.h <<\_ACEOF
25797 #define HAVE___BUILTIN_ABS 1
25798 _ACEOF
25799
25800 fi
25801
25802 fi
25803
25804
25805 echo "$as_me:$LINENO: checking for __builtin_fabsf declaration" >&5
25806 echo $ECHO_N "checking for __builtin_fabsf declaration... $ECHO_C" >&6
25807 if test x${glibcxx_cv_func___builtin_fabsf_use+set} != xset; then
25808 if test "${glibcxx_cv_func___builtin_fabsf_use+set}" = set; then
25809 echo $ECHO_N "(cached) $ECHO_C" >&6
25810 else
25811
25812
25813
25814 ac_ext=cc
25815 ac_cpp='$CXXCPP $CPPFLAGS'
25816 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25817 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25818 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25819
25820 cat >conftest.$ac_ext <<_ACEOF
25821 /* confdefs.h. */
25822 _ACEOF
25823 cat confdefs.h >>conftest.$ac_ext
25824 cat >>conftest.$ac_ext <<_ACEOF
25825 /* end confdefs.h. */
25826 #include <math.h>
25827 int
25828 main ()
25829 {
25830 __builtin_fabsf(0);
25831 ;
25832 return 0;
25833 }
25834 _ACEOF
25835 rm -f conftest.$ac_objext
25836 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25837 (eval $ac_compile) 2>conftest.er1
25838 ac_status=$?
25839 grep -v '^ *+' conftest.er1 >conftest.err
25840 rm -f conftest.er1
25841 cat conftest.err >&5
25842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25843 (exit $ac_status); } &&
25844 { ac_try='test -z "$ac_cxx_werror_flag"
25845 || test ! -s conftest.err'
25846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25847 (eval $ac_try) 2>&5
25848 ac_status=$?
25849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25850 (exit $ac_status); }; } &&
25851 { ac_try='test -s conftest.$ac_objext'
25852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25853 (eval $ac_try) 2>&5
25854 ac_status=$?
25855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25856 (exit $ac_status); }; }; then
25857 glibcxx_cv_func___builtin_fabsf_use=yes
25858 else
25859 echo "$as_me: failed program was:" >&5
25860 sed 's/^/| /' conftest.$ac_ext >&5
25861
25862 glibcxx_cv_func___builtin_fabsf_use=no
25863 fi
25864 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25865 ac_ext=c
25866 ac_cpp='$CPP $CPPFLAGS'
25867 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25868 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25869 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25870
25871
25872 fi
25873
25874 fi
25875 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_use" >&5
25876 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_use" >&6
25877 if test x$glibcxx_cv_func___builtin_fabsf_use = x"yes"; then
25878 echo "$as_me:$LINENO: checking for __builtin_fabsf linkage" >&5
25879 echo $ECHO_N "checking for __builtin_fabsf linkage... $ECHO_C" >&6
25880 if test x${glibcxx_cv_func___builtin_fabsf_link+set} != xset; then
25881 if test "${glibcxx_cv_func___builtin_fabsf_link+set}" = set; then
25882 echo $ECHO_N "(cached) $ECHO_C" >&6
25883 else
25884
25885 if test x$gcc_no_link = xyes; then
25886 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25887 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25888 { (exit 1); exit 1; }; }
25889 fi
25890 cat >conftest.$ac_ext <<_ACEOF
25891 /* confdefs.h. */
25892 _ACEOF
25893 cat confdefs.h >>conftest.$ac_ext
25894 cat >>conftest.$ac_ext <<_ACEOF
25895 /* end confdefs.h. */
25896 #include <math.h>
25897 int
25898 main ()
25899 {
25900 __builtin_fabsf(0);
25901 ;
25902 return 0;
25903 }
25904 _ACEOF
25905 rm -f conftest.$ac_objext conftest$ac_exeext
25906 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25907 (eval $ac_link) 2>conftest.er1
25908 ac_status=$?
25909 grep -v '^ *+' conftest.er1 >conftest.err
25910 rm -f conftest.er1
25911 cat conftest.err >&5
25912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25913 (exit $ac_status); } &&
25914 { ac_try='test -z "$ac_c_werror_flag"
25915 || test ! -s conftest.err'
25916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25917 (eval $ac_try) 2>&5
25918 ac_status=$?
25919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25920 (exit $ac_status); }; } &&
25921 { ac_try='test -s conftest$ac_exeext'
25922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25923 (eval $ac_try) 2>&5
25924 ac_status=$?
25925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25926 (exit $ac_status); }; }; then
25927 glibcxx_cv_func___builtin_fabsf_link=yes
25928 else
25929 echo "$as_me: failed program was:" >&5
25930 sed 's/^/| /' conftest.$ac_ext >&5
25931
25932 glibcxx_cv_func___builtin_fabsf_link=no
25933 fi
25934 rm -f conftest.err conftest.$ac_objext \
25935 conftest$ac_exeext conftest.$ac_ext
25936
25937 fi
25938
25939 fi
25940 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_link" >&5
25941 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_link" >&6
25942
25943 if test x$glibcxx_cv_func___builtin_fabsf_link = x"yes"; then
25944
25945 cat >>confdefs.h <<\_ACEOF
25946 #define HAVE___BUILTIN_FABSF 1
25947 _ACEOF
25948
25949 fi
25950
25951 fi
25952
25953
25954 echo "$as_me:$LINENO: checking for __builtin_fabs declaration" >&5
25955 echo $ECHO_N "checking for __builtin_fabs declaration... $ECHO_C" >&6
25956 if test x${glibcxx_cv_func___builtin_fabs_use+set} != xset; then
25957 if test "${glibcxx_cv_func___builtin_fabs_use+set}" = set; then
25958 echo $ECHO_N "(cached) $ECHO_C" >&6
25959 else
25960
25961
25962
25963 ac_ext=cc
25964 ac_cpp='$CXXCPP $CPPFLAGS'
25965 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25966 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25967 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25968
25969 cat >conftest.$ac_ext <<_ACEOF
25970 /* confdefs.h. */
25971 _ACEOF
25972 cat confdefs.h >>conftest.$ac_ext
25973 cat >>conftest.$ac_ext <<_ACEOF
25974 /* end confdefs.h. */
25975 #include <math.h>
25976 int
25977 main ()
25978 {
25979 __builtin_fabs(0);
25980 ;
25981 return 0;
25982 }
25983 _ACEOF
25984 rm -f conftest.$ac_objext
25985 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25986 (eval $ac_compile) 2>conftest.er1
25987 ac_status=$?
25988 grep -v '^ *+' conftest.er1 >conftest.err
25989 rm -f conftest.er1
25990 cat conftest.err >&5
25991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25992 (exit $ac_status); } &&
25993 { ac_try='test -z "$ac_cxx_werror_flag"
25994 || test ! -s conftest.err'
25995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25996 (eval $ac_try) 2>&5
25997 ac_status=$?
25998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25999 (exit $ac_status); }; } &&
26000 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
26006 glibcxx_cv_func___builtin_fabs_use=yes
26007 else
26008 echo "$as_me: failed program was:" >&5
26009 sed 's/^/| /' conftest.$ac_ext >&5
26010
26011 glibcxx_cv_func___builtin_fabs_use=no
26012 fi
26013 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26014 ac_ext=c
26015 ac_cpp='$CPP $CPPFLAGS'
26016 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26017 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26018 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26019
26020
26021 fi
26022
26023 fi
26024 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_use" >&5
26025 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_use" >&6
26026 if test x$glibcxx_cv_func___builtin_fabs_use = x"yes"; then
26027 echo "$as_me:$LINENO: checking for __builtin_fabs linkage" >&5
26028 echo $ECHO_N "checking for __builtin_fabs linkage... $ECHO_C" >&6
26029 if test x${glibcxx_cv_func___builtin_fabs_link+set} != xset; then
26030 if test "${glibcxx_cv_func___builtin_fabs_link+set}" = set; then
26031 echo $ECHO_N "(cached) $ECHO_C" >&6
26032 else
26033
26034 if test x$gcc_no_link = xyes; then
26035 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26036 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26037 { (exit 1); exit 1; }; }
26038 fi
26039 cat >conftest.$ac_ext <<_ACEOF
26040 /* confdefs.h. */
26041 _ACEOF
26042 cat confdefs.h >>conftest.$ac_ext
26043 cat >>conftest.$ac_ext <<_ACEOF
26044 /* end confdefs.h. */
26045 #include <math.h>
26046 int
26047 main ()
26048 {
26049 __builtin_fabs(0);
26050 ;
26051 return 0;
26052 }
26053 _ACEOF
26054 rm -f conftest.$ac_objext conftest$ac_exeext
26055 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26056 (eval $ac_link) 2>conftest.er1
26057 ac_status=$?
26058 grep -v '^ *+' conftest.er1 >conftest.err
26059 rm -f conftest.er1
26060 cat conftest.err >&5
26061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26062 (exit $ac_status); } &&
26063 { ac_try='test -z "$ac_c_werror_flag"
26064 || test ! -s conftest.err'
26065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26066 (eval $ac_try) 2>&5
26067 ac_status=$?
26068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26069 (exit $ac_status); }; } &&
26070 { ac_try='test -s conftest$ac_exeext'
26071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26072 (eval $ac_try) 2>&5
26073 ac_status=$?
26074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26075 (exit $ac_status); }; }; then
26076 glibcxx_cv_func___builtin_fabs_link=yes
26077 else
26078 echo "$as_me: failed program was:" >&5
26079 sed 's/^/| /' conftest.$ac_ext >&5
26080
26081 glibcxx_cv_func___builtin_fabs_link=no
26082 fi
26083 rm -f conftest.err conftest.$ac_objext \
26084 conftest$ac_exeext conftest.$ac_ext
26085
26086 fi
26087
26088 fi
26089 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_link" >&5
26090 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_link" >&6
26091
26092 if test x$glibcxx_cv_func___builtin_fabs_link = x"yes"; then
26093
26094 cat >>confdefs.h <<\_ACEOF
26095 #define HAVE___BUILTIN_FABS 1
26096 _ACEOF
26097
26098 fi
26099
26100 fi
26101
26102
26103 echo "$as_me:$LINENO: checking for __builtin_fabsl declaration" >&5
26104 echo $ECHO_N "checking for __builtin_fabsl declaration... $ECHO_C" >&6
26105 if test x${glibcxx_cv_func___builtin_fabsl_use+set} != xset; then
26106 if test "${glibcxx_cv_func___builtin_fabsl_use+set}" = set; then
26107 echo $ECHO_N "(cached) $ECHO_C" >&6
26108 else
26109
26110
26111
26112 ac_ext=cc
26113 ac_cpp='$CXXCPP $CPPFLAGS'
26114 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26115 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26116 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26117
26118 cat >conftest.$ac_ext <<_ACEOF
26119 /* confdefs.h. */
26120 _ACEOF
26121 cat confdefs.h >>conftest.$ac_ext
26122 cat >>conftest.$ac_ext <<_ACEOF
26123 /* end confdefs.h. */
26124 #include <math.h>
26125 int
26126 main ()
26127 {
26128 __builtin_fabsl(0);
26129 ;
26130 return 0;
26131 }
26132 _ACEOF
26133 rm -f conftest.$ac_objext
26134 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26135 (eval $ac_compile) 2>conftest.er1
26136 ac_status=$?
26137 grep -v '^ *+' conftest.er1 >conftest.err
26138 rm -f conftest.er1
26139 cat conftest.err >&5
26140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26141 (exit $ac_status); } &&
26142 { ac_try='test -z "$ac_cxx_werror_flag"
26143 || test ! -s conftest.err'
26144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26145 (eval $ac_try) 2>&5
26146 ac_status=$?
26147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26148 (exit $ac_status); }; } &&
26149 { ac_try='test -s conftest.$ac_objext'
26150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26151 (eval $ac_try) 2>&5
26152 ac_status=$?
26153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26154 (exit $ac_status); }; }; then
26155 glibcxx_cv_func___builtin_fabsl_use=yes
26156 else
26157 echo "$as_me: failed program was:" >&5
26158 sed 's/^/| /' conftest.$ac_ext >&5
26159
26160 glibcxx_cv_func___builtin_fabsl_use=no
26161 fi
26162 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26163 ac_ext=c
26164 ac_cpp='$CPP $CPPFLAGS'
26165 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26166 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26167 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26168
26169
26170 fi
26171
26172 fi
26173 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_use" >&5
26174 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_use" >&6
26175 if test x$glibcxx_cv_func___builtin_fabsl_use = x"yes"; then
26176 echo "$as_me:$LINENO: checking for __builtin_fabsl linkage" >&5
26177 echo $ECHO_N "checking for __builtin_fabsl linkage... $ECHO_C" >&6
26178 if test x${glibcxx_cv_func___builtin_fabsl_link+set} != xset; then
26179 if test "${glibcxx_cv_func___builtin_fabsl_link+set}" = set; then
26180 echo $ECHO_N "(cached) $ECHO_C" >&6
26181 else
26182
26183 if test x$gcc_no_link = xyes; then
26184 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26185 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26186 { (exit 1); exit 1; }; }
26187 fi
26188 cat >conftest.$ac_ext <<_ACEOF
26189 /* confdefs.h. */
26190 _ACEOF
26191 cat confdefs.h >>conftest.$ac_ext
26192 cat >>conftest.$ac_ext <<_ACEOF
26193 /* end confdefs.h. */
26194 #include <math.h>
26195 int
26196 main ()
26197 {
26198 __builtin_fabsl(0);
26199 ;
26200 return 0;
26201 }
26202 _ACEOF
26203 rm -f conftest.$ac_objext conftest$ac_exeext
26204 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26205 (eval $ac_link) 2>conftest.er1
26206 ac_status=$?
26207 grep -v '^ *+' conftest.er1 >conftest.err
26208 rm -f conftest.er1
26209 cat conftest.err >&5
26210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26211 (exit $ac_status); } &&
26212 { ac_try='test -z "$ac_c_werror_flag"
26213 || test ! -s conftest.err'
26214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26215 (eval $ac_try) 2>&5
26216 ac_status=$?
26217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26218 (exit $ac_status); }; } &&
26219 { ac_try='test -s conftest$ac_exeext'
26220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26221 (eval $ac_try) 2>&5
26222 ac_status=$?
26223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26224 (exit $ac_status); }; }; then
26225 glibcxx_cv_func___builtin_fabsl_link=yes
26226 else
26227 echo "$as_me: failed program was:" >&5
26228 sed 's/^/| /' conftest.$ac_ext >&5
26229
26230 glibcxx_cv_func___builtin_fabsl_link=no
26231 fi
26232 rm -f conftest.err conftest.$ac_objext \
26233 conftest$ac_exeext conftest.$ac_ext
26234
26235 fi
26236
26237 fi
26238 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_link" >&5
26239 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_link" >&6
26240
26241 if test x$glibcxx_cv_func___builtin_fabsl_link = x"yes"; then
26242
26243 cat >>confdefs.h <<\_ACEOF
26244 #define HAVE___BUILTIN_FABSL 1
26245 _ACEOF
26246
26247 fi
26248
26249 fi
26250
26251
26252 echo "$as_me:$LINENO: checking for __builtin_labs declaration" >&5
26253 echo $ECHO_N "checking for __builtin_labs declaration... $ECHO_C" >&6
26254 if test x${glibcxx_cv_func___builtin_labs_use+set} != xset; then
26255 if test "${glibcxx_cv_func___builtin_labs_use+set}" = set; then
26256 echo $ECHO_N "(cached) $ECHO_C" >&6
26257 else
26258
26259
26260
26261 ac_ext=cc
26262 ac_cpp='$CXXCPP $CPPFLAGS'
26263 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26264 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26265 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26266
26267 cat >conftest.$ac_ext <<_ACEOF
26268 /* confdefs.h. */
26269 _ACEOF
26270 cat confdefs.h >>conftest.$ac_ext
26271 cat >>conftest.$ac_ext <<_ACEOF
26272 /* end confdefs.h. */
26273 #include <math.h>
26274 int
26275 main ()
26276 {
26277 __builtin_labs(0);
26278 ;
26279 return 0;
26280 }
26281 _ACEOF
26282 rm -f conftest.$ac_objext
26283 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26284 (eval $ac_compile) 2>conftest.er1
26285 ac_status=$?
26286 grep -v '^ *+' conftest.er1 >conftest.err
26287 rm -f conftest.er1
26288 cat conftest.err >&5
26289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26290 (exit $ac_status); } &&
26291 { ac_try='test -z "$ac_cxx_werror_flag"
26292 || test ! -s conftest.err'
26293 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26294 (eval $ac_try) 2>&5
26295 ac_status=$?
26296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26297 (exit $ac_status); }; } &&
26298 { ac_try='test -s conftest.$ac_objext'
26299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26300 (eval $ac_try) 2>&5
26301 ac_status=$?
26302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26303 (exit $ac_status); }; }; then
26304 glibcxx_cv_func___builtin_labs_use=yes
26305 else
26306 echo "$as_me: failed program was:" >&5
26307 sed 's/^/| /' conftest.$ac_ext >&5
26308
26309 glibcxx_cv_func___builtin_labs_use=no
26310 fi
26311 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26312 ac_ext=c
26313 ac_cpp='$CPP $CPPFLAGS'
26314 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26315 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26316 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26317
26318
26319 fi
26320
26321 fi
26322 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_use" >&5
26323 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_use" >&6
26324 if test x$glibcxx_cv_func___builtin_labs_use = x"yes"; then
26325 echo "$as_me:$LINENO: checking for __builtin_labs linkage" >&5
26326 echo $ECHO_N "checking for __builtin_labs linkage... $ECHO_C" >&6
26327 if test x${glibcxx_cv_func___builtin_labs_link+set} != xset; then
26328 if test "${glibcxx_cv_func___builtin_labs_link+set}" = set; then
26329 echo $ECHO_N "(cached) $ECHO_C" >&6
26330 else
26331
26332 if test x$gcc_no_link = xyes; then
26333 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26334 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26335 { (exit 1); exit 1; }; }
26336 fi
26337 cat >conftest.$ac_ext <<_ACEOF
26338 /* confdefs.h. */
26339 _ACEOF
26340 cat confdefs.h >>conftest.$ac_ext
26341 cat >>conftest.$ac_ext <<_ACEOF
26342 /* end confdefs.h. */
26343 #include <math.h>
26344 int
26345 main ()
26346 {
26347 __builtin_labs(0);
26348 ;
26349 return 0;
26350 }
26351 _ACEOF
26352 rm -f conftest.$ac_objext conftest$ac_exeext
26353 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26354 (eval $ac_link) 2>conftest.er1
26355 ac_status=$?
26356 grep -v '^ *+' conftest.er1 >conftest.err
26357 rm -f conftest.er1
26358 cat conftest.err >&5
26359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26360 (exit $ac_status); } &&
26361 { ac_try='test -z "$ac_c_werror_flag"
26362 || test ! -s conftest.err'
26363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26364 (eval $ac_try) 2>&5
26365 ac_status=$?
26366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26367 (exit $ac_status); }; } &&
26368 { ac_try='test -s conftest$ac_exeext'
26369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26370 (eval $ac_try) 2>&5
26371 ac_status=$?
26372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26373 (exit $ac_status); }; }; then
26374 glibcxx_cv_func___builtin_labs_link=yes
26375 else
26376 echo "$as_me: failed program was:" >&5
26377 sed 's/^/| /' conftest.$ac_ext >&5
26378
26379 glibcxx_cv_func___builtin_labs_link=no
26380 fi
26381 rm -f conftest.err conftest.$ac_objext \
26382 conftest$ac_exeext conftest.$ac_ext
26383
26384 fi
26385
26386 fi
26387 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_link" >&5
26388 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_link" >&6
26389
26390 if test x$glibcxx_cv_func___builtin_labs_link = x"yes"; then
26391
26392 cat >>confdefs.h <<\_ACEOF
26393 #define HAVE___BUILTIN_LABS 1
26394 _ACEOF
26395
26396 fi
26397
26398 fi
26399
26400
26401
26402 echo "$as_me:$LINENO: checking for __builtin_sqrtf declaration" >&5
26403 echo $ECHO_N "checking for __builtin_sqrtf declaration... $ECHO_C" >&6
26404 if test x${glibcxx_cv_func___builtin_sqrtf_use+set} != xset; then
26405 if test "${glibcxx_cv_func___builtin_sqrtf_use+set}" = set; then
26406 echo $ECHO_N "(cached) $ECHO_C" >&6
26407 else
26408
26409
26410
26411 ac_ext=cc
26412 ac_cpp='$CXXCPP $CPPFLAGS'
26413 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26414 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26415 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26416
26417 cat >conftest.$ac_ext <<_ACEOF
26418 /* confdefs.h. */
26419 _ACEOF
26420 cat confdefs.h >>conftest.$ac_ext
26421 cat >>conftest.$ac_ext <<_ACEOF
26422 /* end confdefs.h. */
26423 #include <math.h>
26424 int
26425 main ()
26426 {
26427 __builtin_sqrtf(0);
26428 ;
26429 return 0;
26430 }
26431 _ACEOF
26432 rm -f conftest.$ac_objext
26433 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26434 (eval $ac_compile) 2>conftest.er1
26435 ac_status=$?
26436 grep -v '^ *+' conftest.er1 >conftest.err
26437 rm -f conftest.er1
26438 cat conftest.err >&5
26439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26440 (exit $ac_status); } &&
26441 { ac_try='test -z "$ac_cxx_werror_flag"
26442 || 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"
26512 || test ! -s conftest.err'
26513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26514 (eval $ac_try) 2>&5
26515 ac_status=$?
26516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26517 (exit $ac_status); }; } &&
26518 { ac_try='test -s conftest$ac_exeext'
26519 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26520 (eval $ac_try) 2>&5
26521 ac_status=$?
26522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26523 (exit $ac_status); }; }; then
26524 glibcxx_cv_func___builtin_sqrtf_link=yes
26525 else
26526 echo "$as_me: failed program was:" >&5
26527 sed 's/^/| /' conftest.$ac_ext >&5
26528
26529 glibcxx_cv_func___builtin_sqrtf_link=no
26530 fi
26531 rm -f conftest.err conftest.$ac_objext \
26532 conftest$ac_exeext conftest.$ac_ext
26533
26534 fi
26535
26536 fi
26537 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_link" >&5
26538 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_link" >&6
26539
26540 if test x$glibcxx_cv_func___builtin_sqrtf_link = x"yes"; then
26541
26542 cat >>confdefs.h <<\_ACEOF
26543 #define HAVE___BUILTIN_SQRTF 1
26544 _ACEOF
26545
26546 fi
26547
26548 fi
26549
26550
26551 echo "$as_me:$LINENO: checking for __builtin_sqrt declaration" >&5
26552 echo $ECHO_N "checking for __builtin_sqrt declaration... $ECHO_C" >&6
26553 if test x${glibcxx_cv_func___builtin_sqrt_use+set} != xset; then
26554 if test "${glibcxx_cv_func___builtin_sqrt_use+set}" = set; then
26555 echo $ECHO_N "(cached) $ECHO_C" >&6
26556 else
26557
26558
26559
26560 ac_ext=cc
26561 ac_cpp='$CXXCPP $CPPFLAGS'
26562 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26563 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26564 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26565
26566 cat >conftest.$ac_ext <<_ACEOF
26567 /* confdefs.h. */
26568 _ACEOF
26569 cat confdefs.h >>conftest.$ac_ext
26570 cat >>conftest.$ac_ext <<_ACEOF
26571 /* end confdefs.h. */
26572 #include <math.h>
26573 int
26574 main ()
26575 {
26576 __builtin_sqrt(0);
26577 ;
26578 return 0;
26579 }
26580 _ACEOF
26581 rm -f conftest.$ac_objext
26582 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26583 (eval $ac_compile) 2>conftest.er1
26584 ac_status=$?
26585 grep -v '^ *+' conftest.er1 >conftest.err
26586 rm -f conftest.er1
26587 cat conftest.err >&5
26588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26589 (exit $ac_status); } &&
26590 { ac_try='test -z "$ac_cxx_werror_flag"
26591 || test ! -s conftest.err'
26592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26593 (eval $ac_try) 2>&5
26594 ac_status=$?
26595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26596 (exit $ac_status); }; } &&
26597 { ac_try='test -s conftest.$ac_objext'
26598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26599 (eval $ac_try) 2>&5
26600 ac_status=$?
26601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26602 (exit $ac_status); }; }; then
26603 glibcxx_cv_func___builtin_sqrt_use=yes
26604 else
26605 echo "$as_me: failed program was:" >&5
26606 sed 's/^/| /' conftest.$ac_ext >&5
26607
26608 glibcxx_cv_func___builtin_sqrt_use=no
26609 fi
26610 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26611 ac_ext=c
26612 ac_cpp='$CPP $CPPFLAGS'
26613 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26614 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26615 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26616
26617
26618 fi
26619
26620 fi
26621 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_use" >&5
26622 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_use" >&6
26623 if test x$glibcxx_cv_func___builtin_sqrt_use = x"yes"; then
26624 echo "$as_me:$LINENO: checking for __builtin_sqrt linkage" >&5
26625 echo $ECHO_N "checking for __builtin_sqrt linkage... $ECHO_C" >&6
26626 if test x${glibcxx_cv_func___builtin_sqrt_link+set} != xset; then
26627 if test "${glibcxx_cv_func___builtin_sqrt_link+set}" = set; then
26628 echo $ECHO_N "(cached) $ECHO_C" >&6
26629 else
26630
26631 if test x$gcc_no_link = xyes; then
26632 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26633 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26634 { (exit 1); exit 1; }; }
26635 fi
26636 cat >conftest.$ac_ext <<_ACEOF
26637 /* confdefs.h. */
26638 _ACEOF
26639 cat confdefs.h >>conftest.$ac_ext
26640 cat >>conftest.$ac_ext <<_ACEOF
26641 /* end confdefs.h. */
26642 #include <math.h>
26643 int
26644 main ()
26645 {
26646 __builtin_sqrt(0);
26647 ;
26648 return 0;
26649 }
26650 _ACEOF
26651 rm -f conftest.$ac_objext conftest$ac_exeext
26652 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26653 (eval $ac_link) 2>conftest.er1
26654 ac_status=$?
26655 grep -v '^ *+' conftest.er1 >conftest.err
26656 rm -f conftest.er1
26657 cat conftest.err >&5
26658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26659 (exit $ac_status); } &&
26660 { ac_try='test -z "$ac_c_werror_flag"
26661 || test ! -s conftest.err'
26662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26663 (eval $ac_try) 2>&5
26664 ac_status=$?
26665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26666 (exit $ac_status); }; } &&
26667 { ac_try='test -s conftest$ac_exeext'
26668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26669 (eval $ac_try) 2>&5
26670 ac_status=$?
26671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26672 (exit $ac_status); }; }; then
26673 glibcxx_cv_func___builtin_sqrt_link=yes
26674 else
26675 echo "$as_me: failed program was:" >&5
26676 sed 's/^/| /' conftest.$ac_ext >&5
26677
26678 glibcxx_cv_func___builtin_sqrt_link=no
26679 fi
26680 rm -f conftest.err conftest.$ac_objext \
26681 conftest$ac_exeext conftest.$ac_ext
26682
26683 fi
26684
26685 fi
26686 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_link" >&5
26687 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_link" >&6
26688
26689 if test x$glibcxx_cv_func___builtin_sqrt_link = x"yes"; then
26690
26691 cat >>confdefs.h <<\_ACEOF
26692 #define HAVE___BUILTIN_SQRT 1
26693 _ACEOF
26694
26695 fi
26696
26697 fi
26698
26699
26700 echo "$as_me:$LINENO: checking for __builtin_sqrtl declaration" >&5
26701 echo $ECHO_N "checking for __builtin_sqrtl declaration... $ECHO_C" >&6
26702 if test x${glibcxx_cv_func___builtin_sqrtl_use+set} != xset; then
26703 if test "${glibcxx_cv_func___builtin_sqrtl_use+set}" = set; then
26704 echo $ECHO_N "(cached) $ECHO_C" >&6
26705 else
26706
26707
26708
26709 ac_ext=cc
26710 ac_cpp='$CXXCPP $CPPFLAGS'
26711 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26712 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26713 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26714
26715 cat >conftest.$ac_ext <<_ACEOF
26716 /* confdefs.h. */
26717 _ACEOF
26718 cat confdefs.h >>conftest.$ac_ext
26719 cat >>conftest.$ac_ext <<_ACEOF
26720 /* end confdefs.h. */
26721 #include <math.h>
26722 int
26723 main ()
26724 {
26725 __builtin_sqrtl(0);
26726 ;
26727 return 0;
26728 }
26729 _ACEOF
26730 rm -f conftest.$ac_objext
26731 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26732 (eval $ac_compile) 2>conftest.er1
26733 ac_status=$?
26734 grep -v '^ *+' conftest.er1 >conftest.err
26735 rm -f conftest.er1
26736 cat conftest.err >&5
26737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26738 (exit $ac_status); } &&
26739 { ac_try='test -z "$ac_cxx_werror_flag"
26740 || test ! -s conftest.err'
26741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26742 (eval $ac_try) 2>&5
26743 ac_status=$?
26744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26745 (exit $ac_status); }; } &&
26746 { ac_try='test -s conftest.$ac_objext'
26747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26748 (eval $ac_try) 2>&5
26749 ac_status=$?
26750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26751 (exit $ac_status); }; }; then
26752 glibcxx_cv_func___builtin_sqrtl_use=yes
26753 else
26754 echo "$as_me: failed program was:" >&5
26755 sed 's/^/| /' conftest.$ac_ext >&5
26756
26757 glibcxx_cv_func___builtin_sqrtl_use=no
26758 fi
26759 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26760 ac_ext=c
26761 ac_cpp='$CPP $CPPFLAGS'
26762 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26763 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26764 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26765
26766
26767 fi
26768
26769 fi
26770 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_use" >&5
26771 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_use" >&6
26772 if test x$glibcxx_cv_func___builtin_sqrtl_use = x"yes"; then
26773 echo "$as_me:$LINENO: checking for __builtin_sqrtl linkage" >&5
26774 echo $ECHO_N "checking for __builtin_sqrtl linkage... $ECHO_C" >&6
26775 if test x${glibcxx_cv_func___builtin_sqrtl_link+set} != xset; then
26776 if test "${glibcxx_cv_func___builtin_sqrtl_link+set}" = set; then
26777 echo $ECHO_N "(cached) $ECHO_C" >&6
26778 else
26779
26780 if test x$gcc_no_link = xyes; then
26781 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26782 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26783 { (exit 1); exit 1; }; }
26784 fi
26785 cat >conftest.$ac_ext <<_ACEOF
26786 /* confdefs.h. */
26787 _ACEOF
26788 cat confdefs.h >>conftest.$ac_ext
26789 cat >>conftest.$ac_ext <<_ACEOF
26790 /* end confdefs.h. */
26791 #include <math.h>
26792 int
26793 main ()
26794 {
26795 __builtin_sqrtl(0);
26796 ;
26797 return 0;
26798 }
26799 _ACEOF
26800 rm -f conftest.$ac_objext conftest$ac_exeext
26801 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26802 (eval $ac_link) 2>conftest.er1
26803 ac_status=$?
26804 grep -v '^ *+' conftest.er1 >conftest.err
26805 rm -f conftest.er1
26806 cat conftest.err >&5
26807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26808 (exit $ac_status); } &&
26809 { ac_try='test -z "$ac_c_werror_flag"
26810 || test ! -s conftest.err'
26811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26812 (eval $ac_try) 2>&5
26813 ac_status=$?
26814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26815 (exit $ac_status); }; } &&
26816 { ac_try='test -s conftest$ac_exeext'
26817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26818 (eval $ac_try) 2>&5
26819 ac_status=$?
26820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26821 (exit $ac_status); }; }; then
26822 glibcxx_cv_func___builtin_sqrtl_link=yes
26823 else
26824 echo "$as_me: failed program was:" >&5
26825 sed 's/^/| /' conftest.$ac_ext >&5
26826
26827 glibcxx_cv_func___builtin_sqrtl_link=no
26828 fi
26829 rm -f conftest.err conftest.$ac_objext \
26830 conftest$ac_exeext conftest.$ac_ext
26831
26832 fi
26833
26834 fi
26835 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_link" >&5
26836 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_link" >&6
26837
26838 if test x$glibcxx_cv_func___builtin_sqrtl_link = x"yes"; then
26839
26840 cat >>confdefs.h <<\_ACEOF
26841 #define HAVE___BUILTIN_SQRTL 1
26842 _ACEOF
26843
26844 fi
26845
26846 fi
26847
26848
26849
26850 echo "$as_me:$LINENO: checking for __builtin_sinf declaration" >&5
26851 echo $ECHO_N "checking for __builtin_sinf declaration... $ECHO_C" >&6
26852 if test x${glibcxx_cv_func___builtin_sinf_use+set} != xset; then
26853 if test "${glibcxx_cv_func___builtin_sinf_use+set}" = set; then
26854 echo $ECHO_N "(cached) $ECHO_C" >&6
26855 else
26856
26857
26858
26859 ac_ext=cc
26860 ac_cpp='$CXXCPP $CPPFLAGS'
26861 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26862 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26863 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26864
26865 cat >conftest.$ac_ext <<_ACEOF
26866 /* confdefs.h. */
26867 _ACEOF
26868 cat confdefs.h >>conftest.$ac_ext
26869 cat >>conftest.$ac_ext <<_ACEOF
26870 /* end confdefs.h. */
26871 #include <math.h>
26872 int
26873 main ()
26874 {
26875 __builtin_sinf(0);
26876 ;
26877 return 0;
26878 }
26879 _ACEOF
26880 rm -f conftest.$ac_objext
26881 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26882 (eval $ac_compile) 2>conftest.er1
26883 ac_status=$?
26884 grep -v '^ *+' conftest.er1 >conftest.err
26885 rm -f conftest.er1
26886 cat conftest.err >&5
26887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26888 (exit $ac_status); } &&
26889 { ac_try='test -z "$ac_cxx_werror_flag"
26890 || test ! -s conftest.err'
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); }; } &&
26896 { ac_try='test -s conftest.$ac_objext'
26897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26898 (eval $ac_try) 2>&5
26899 ac_status=$?
26900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26901 (exit $ac_status); }; }; then
26902 glibcxx_cv_func___builtin_sinf_use=yes
26903 else
26904 echo "$as_me: failed program was:" >&5
26905 sed 's/^/| /' conftest.$ac_ext >&5
26906
26907 glibcxx_cv_func___builtin_sinf_use=no
26908 fi
26909 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26910 ac_ext=c
26911 ac_cpp='$CPP $CPPFLAGS'
26912 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26913 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26914 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26915
26916
26917 fi
26918
26919 fi
26920 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_use" >&5
26921 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_use" >&6
26922 if test x$glibcxx_cv_func___builtin_sinf_use = x"yes"; then
26923 echo "$as_me:$LINENO: checking for __builtin_sinf linkage" >&5
26924 echo $ECHO_N "checking for __builtin_sinf linkage... $ECHO_C" >&6
26925 if test x${glibcxx_cv_func___builtin_sinf_link+set} != xset; then
26926 if test "${glibcxx_cv_func___builtin_sinf_link+set}" = set; then
26927 echo $ECHO_N "(cached) $ECHO_C" >&6
26928 else
26929
26930 if test x$gcc_no_link = xyes; then
26931 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26932 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26933 { (exit 1); exit 1; }; }
26934 fi
26935 cat >conftest.$ac_ext <<_ACEOF
26936 /* confdefs.h. */
26937 _ACEOF
26938 cat confdefs.h >>conftest.$ac_ext
26939 cat >>conftest.$ac_ext <<_ACEOF
26940 /* end confdefs.h. */
26941 #include <math.h>
26942 int
26943 main ()
26944 {
26945 __builtin_sinf(0);
26946 ;
26947 return 0;
26948 }
26949 _ACEOF
26950 rm -f conftest.$ac_objext conftest$ac_exeext
26951 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26952 (eval $ac_link) 2>conftest.er1
26953 ac_status=$?
26954 grep -v '^ *+' conftest.er1 >conftest.err
26955 rm -f conftest.er1
26956 cat conftest.err >&5
26957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26958 (exit $ac_status); } &&
26959 { ac_try='test -z "$ac_c_werror_flag"
26960 || test ! -s conftest.err'
26961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26962 (eval $ac_try) 2>&5
26963 ac_status=$?
26964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26965 (exit $ac_status); }; } &&
26966 { ac_try='test -s conftest$ac_exeext'
26967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26968 (eval $ac_try) 2>&5
26969 ac_status=$?
26970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26971 (exit $ac_status); }; }; then
26972 glibcxx_cv_func___builtin_sinf_link=yes
26973 else
26974 echo "$as_me: failed program was:" >&5
26975 sed 's/^/| /' conftest.$ac_ext >&5
26976
26977 glibcxx_cv_func___builtin_sinf_link=no
26978 fi
26979 rm -f conftest.err conftest.$ac_objext \
26980 conftest$ac_exeext conftest.$ac_ext
26981
26982 fi
26983
26984 fi
26985 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_link" >&5
26986 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_link" >&6
26987
26988 if test x$glibcxx_cv_func___builtin_sinf_link = x"yes"; then
26989
26990 cat >>confdefs.h <<\_ACEOF
26991 #define HAVE___BUILTIN_SINF 1
26992 _ACEOF
26993
26994 fi
26995
26996 fi
26997
26998
26999 echo "$as_me:$LINENO: checking for __builtin_sin declaration" >&5
27000 echo $ECHO_N "checking for __builtin_sin declaration... $ECHO_C" >&6
27001 if test x${glibcxx_cv_func___builtin_sin_use+set} != xset; then
27002 if test "${glibcxx_cv_func___builtin_sin_use+set}" = set; then
27003 echo $ECHO_N "(cached) $ECHO_C" >&6
27004 else
27005
27006
27007
27008 ac_ext=cc
27009 ac_cpp='$CXXCPP $CPPFLAGS'
27010 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27011 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27012 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27013
27014 cat >conftest.$ac_ext <<_ACEOF
27015 /* confdefs.h. */
27016 _ACEOF
27017 cat confdefs.h >>conftest.$ac_ext
27018 cat >>conftest.$ac_ext <<_ACEOF
27019 /* end confdefs.h. */
27020 #include <math.h>
27021 int
27022 main ()
27023 {
27024 __builtin_sin(0);
27025 ;
27026 return 0;
27027 }
27028 _ACEOF
27029 rm -f conftest.$ac_objext
27030 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27031 (eval $ac_compile) 2>conftest.er1
27032 ac_status=$?
27033 grep -v '^ *+' conftest.er1 >conftest.err
27034 rm -f conftest.er1
27035 cat conftest.err >&5
27036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27037 (exit $ac_status); } &&
27038 { ac_try='test -z "$ac_cxx_werror_flag"
27039 || test ! -s conftest.err'
27040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27041 (eval $ac_try) 2>&5
27042 ac_status=$?
27043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27044 (exit $ac_status); }; } &&
27045 { ac_try='test -s conftest.$ac_objext'
27046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27047 (eval $ac_try) 2>&5
27048 ac_status=$?
27049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27050 (exit $ac_status); }; }; then
27051 glibcxx_cv_func___builtin_sin_use=yes
27052 else
27053 echo "$as_me: failed program was:" >&5
27054 sed 's/^/| /' conftest.$ac_ext >&5
27055
27056 glibcxx_cv_func___builtin_sin_use=no
27057 fi
27058 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27059 ac_ext=c
27060 ac_cpp='$CPP $CPPFLAGS'
27061 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27062 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27063 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27064
27065
27066 fi
27067
27068 fi
27069 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_use" >&5
27070 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_use" >&6
27071 if test x$glibcxx_cv_func___builtin_sin_use = x"yes"; then
27072 echo "$as_me:$LINENO: checking for __builtin_sin linkage" >&5
27073 echo $ECHO_N "checking for __builtin_sin linkage... $ECHO_C" >&6
27074 if test x${glibcxx_cv_func___builtin_sin_link+set} != xset; then
27075 if test "${glibcxx_cv_func___builtin_sin_link+set}" = set; then
27076 echo $ECHO_N "(cached) $ECHO_C" >&6
27077 else
27078
27079 if test x$gcc_no_link = xyes; then
27080 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27081 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27082 { (exit 1); exit 1; }; }
27083 fi
27084 cat >conftest.$ac_ext <<_ACEOF
27085 /* confdefs.h. */
27086 _ACEOF
27087 cat confdefs.h >>conftest.$ac_ext
27088 cat >>conftest.$ac_ext <<_ACEOF
27089 /* end confdefs.h. */
27090 #include <math.h>
27091 int
27092 main ()
27093 {
27094 __builtin_sin(0);
27095 ;
27096 return 0;
27097 }
27098 _ACEOF
27099 rm -f conftest.$ac_objext conftest$ac_exeext
27100 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27101 (eval $ac_link) 2>conftest.er1
27102 ac_status=$?
27103 grep -v '^ *+' conftest.er1 >conftest.err
27104 rm -f conftest.er1
27105 cat conftest.err >&5
27106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27107 (exit $ac_status); } &&
27108 { ac_try='test -z "$ac_c_werror_flag"
27109 || test ! -s conftest.err'
27110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27111 (eval $ac_try) 2>&5
27112 ac_status=$?
27113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27114 (exit $ac_status); }; } &&
27115 { ac_try='test -s conftest$ac_exeext'
27116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27117 (eval $ac_try) 2>&5
27118 ac_status=$?
27119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27120 (exit $ac_status); }; }; then
27121 glibcxx_cv_func___builtin_sin_link=yes
27122 else
27123 echo "$as_me: failed program was:" >&5
27124 sed 's/^/| /' conftest.$ac_ext >&5
27125
27126 glibcxx_cv_func___builtin_sin_link=no
27127 fi
27128 rm -f conftest.err conftest.$ac_objext \
27129 conftest$ac_exeext conftest.$ac_ext
27130
27131 fi
27132
27133 fi
27134 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_link" >&5
27135 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_link" >&6
27136
27137 if test x$glibcxx_cv_func___builtin_sin_link = x"yes"; then
27138
27139 cat >>confdefs.h <<\_ACEOF
27140 #define HAVE___BUILTIN_SIN 1
27141 _ACEOF
27142
27143 fi
27144
27145 fi
27146
27147
27148 echo "$as_me:$LINENO: checking for __builtin_sinl declaration" >&5
27149 echo $ECHO_N "checking for __builtin_sinl declaration... $ECHO_C" >&6
27150 if test x${glibcxx_cv_func___builtin_sinl_use+set} != xset; then
27151 if test "${glibcxx_cv_func___builtin_sinl_use+set}" = set; then
27152 echo $ECHO_N "(cached) $ECHO_C" >&6
27153 else
27154
27155
27156
27157 ac_ext=cc
27158 ac_cpp='$CXXCPP $CPPFLAGS'
27159 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27160 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27161 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27162
27163 cat >conftest.$ac_ext <<_ACEOF
27164 /* confdefs.h. */
27165 _ACEOF
27166 cat confdefs.h >>conftest.$ac_ext
27167 cat >>conftest.$ac_ext <<_ACEOF
27168 /* end confdefs.h. */
27169 #include <math.h>
27170 int
27171 main ()
27172 {
27173 __builtin_sinl(0);
27174 ;
27175 return 0;
27176 }
27177 _ACEOF
27178 rm -f conftest.$ac_objext
27179 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27180 (eval $ac_compile) 2>conftest.er1
27181 ac_status=$?
27182 grep -v '^ *+' conftest.er1 >conftest.err
27183 rm -f conftest.er1
27184 cat conftest.err >&5
27185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27186 (exit $ac_status); } &&
27187 { ac_try='test -z "$ac_cxx_werror_flag"
27188 || test ! -s conftest.err'
27189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27190 (eval $ac_try) 2>&5
27191 ac_status=$?
27192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27193 (exit $ac_status); }; } &&
27194 { ac_try='test -s conftest.$ac_objext'
27195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27196 (eval $ac_try) 2>&5
27197 ac_status=$?
27198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27199 (exit $ac_status); }; }; then
27200 glibcxx_cv_func___builtin_sinl_use=yes
27201 else
27202 echo "$as_me: failed program was:" >&5
27203 sed 's/^/| /' conftest.$ac_ext >&5
27204
27205 glibcxx_cv_func___builtin_sinl_use=no
27206 fi
27207 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27208 ac_ext=c
27209 ac_cpp='$CPP $CPPFLAGS'
27210 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27211 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27212 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27213
27214
27215 fi
27216
27217 fi
27218 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_use" >&5
27219 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_use" >&6
27220 if test x$glibcxx_cv_func___builtin_sinl_use = x"yes"; then
27221 echo "$as_me:$LINENO: checking for __builtin_sinl linkage" >&5
27222 echo $ECHO_N "checking for __builtin_sinl linkage... $ECHO_C" >&6
27223 if test x${glibcxx_cv_func___builtin_sinl_link+set} != xset; then
27224 if test "${glibcxx_cv_func___builtin_sinl_link+set}" = set; then
27225 echo $ECHO_N "(cached) $ECHO_C" >&6
27226 else
27227
27228 if test x$gcc_no_link = xyes; then
27229 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27230 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27231 { (exit 1); exit 1; }; }
27232 fi
27233 cat >conftest.$ac_ext <<_ACEOF
27234 /* confdefs.h. */
27235 _ACEOF
27236 cat confdefs.h >>conftest.$ac_ext
27237 cat >>conftest.$ac_ext <<_ACEOF
27238 /* end confdefs.h. */
27239 #include <math.h>
27240 int
27241 main ()
27242 {
27243 __builtin_sinl(0);
27244 ;
27245 return 0;
27246 }
27247 _ACEOF
27248 rm -f conftest.$ac_objext conftest$ac_exeext
27249 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27250 (eval $ac_link) 2>conftest.er1
27251 ac_status=$?
27252 grep -v '^ *+' conftest.er1 >conftest.err
27253 rm -f conftest.er1
27254 cat conftest.err >&5
27255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27256 (exit $ac_status); } &&
27257 { ac_try='test -z "$ac_c_werror_flag"
27258 || test ! -s conftest.err'
27259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27260 (eval $ac_try) 2>&5
27261 ac_status=$?
27262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27263 (exit $ac_status); }; } &&
27264 { ac_try='test -s conftest$ac_exeext'
27265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27266 (eval $ac_try) 2>&5
27267 ac_status=$?
27268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27269 (exit $ac_status); }; }; then
27270 glibcxx_cv_func___builtin_sinl_link=yes
27271 else
27272 echo "$as_me: failed program was:" >&5
27273 sed 's/^/| /' conftest.$ac_ext >&5
27274
27275 glibcxx_cv_func___builtin_sinl_link=no
27276 fi
27277 rm -f conftest.err conftest.$ac_objext \
27278 conftest$ac_exeext conftest.$ac_ext
27279
27280 fi
27281
27282 fi
27283 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_link" >&5
27284 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_link" >&6
27285
27286 if test x$glibcxx_cv_func___builtin_sinl_link = x"yes"; then
27287
27288 cat >>confdefs.h <<\_ACEOF
27289 #define HAVE___BUILTIN_SINL 1
27290 _ACEOF
27291
27292 fi
27293
27294 fi
27295
27296
27297
27298 echo "$as_me:$LINENO: checking for __builtin_cosf declaration" >&5
27299 echo $ECHO_N "checking for __builtin_cosf declaration... $ECHO_C" >&6
27300 if test x${glibcxx_cv_func___builtin_cosf_use+set} != xset; then
27301 if test "${glibcxx_cv_func___builtin_cosf_use+set}" = set; then
27302 echo $ECHO_N "(cached) $ECHO_C" >&6
27303 else
27304
27305
27306
27307 ac_ext=cc
27308 ac_cpp='$CXXCPP $CPPFLAGS'
27309 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27310 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27311 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27312
27313 cat >conftest.$ac_ext <<_ACEOF
27314 /* confdefs.h. */
27315 _ACEOF
27316 cat confdefs.h >>conftest.$ac_ext
27317 cat >>conftest.$ac_ext <<_ACEOF
27318 /* end confdefs.h. */
27319 #include <math.h>
27320 int
27321 main ()
27322 {
27323 __builtin_cosf(0);
27324 ;
27325 return 0;
27326 }
27327 _ACEOF
27328 rm -f conftest.$ac_objext
27329 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27330 (eval $ac_compile) 2>conftest.er1
27331 ac_status=$?
27332 grep -v '^ *+' conftest.er1 >conftest.err
27333 rm -f conftest.er1
27334 cat conftest.err >&5
27335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27336 (exit $ac_status); } &&
27337 { ac_try='test -z "$ac_cxx_werror_flag"
27338 || test ! -s conftest.err'
27339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27340 (eval $ac_try) 2>&5
27341 ac_status=$?
27342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27343 (exit $ac_status); }; } &&
27344 { ac_try='test -s conftest.$ac_objext'
27345 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27346 (eval $ac_try) 2>&5
27347 ac_status=$?
27348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27349 (exit $ac_status); }; }; then
27350 glibcxx_cv_func___builtin_cosf_use=yes
27351 else
27352 echo "$as_me: failed program was:" >&5
27353 sed 's/^/| /' conftest.$ac_ext >&5
27354
27355 glibcxx_cv_func___builtin_cosf_use=no
27356 fi
27357 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27358 ac_ext=c
27359 ac_cpp='$CPP $CPPFLAGS'
27360 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27361 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27362 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27363
27364
27365 fi
27366
27367 fi
27368 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_use" >&5
27369 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_use" >&6
27370 if test x$glibcxx_cv_func___builtin_cosf_use = x"yes"; then
27371 echo "$as_me:$LINENO: checking for __builtin_cosf linkage" >&5
27372 echo $ECHO_N "checking for __builtin_cosf linkage... $ECHO_C" >&6
27373 if test x${glibcxx_cv_func___builtin_cosf_link+set} != xset; then
27374 if test "${glibcxx_cv_func___builtin_cosf_link+set}" = set; then
27375 echo $ECHO_N "(cached) $ECHO_C" >&6
27376 else
27377
27378 if test x$gcc_no_link = xyes; then
27379 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27380 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27381 { (exit 1); exit 1; }; }
27382 fi
27383 cat >conftest.$ac_ext <<_ACEOF
27384 /* confdefs.h. */
27385 _ACEOF
27386 cat confdefs.h >>conftest.$ac_ext
27387 cat >>conftest.$ac_ext <<_ACEOF
27388 /* end confdefs.h. */
27389 #include <math.h>
27390 int
27391 main ()
27392 {
27393 __builtin_cosf(0);
27394 ;
27395 return 0;
27396 }
27397 _ACEOF
27398 rm -f conftest.$ac_objext conftest$ac_exeext
27399 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27400 (eval $ac_link) 2>conftest.er1
27401 ac_status=$?
27402 grep -v '^ *+' conftest.er1 >conftest.err
27403 rm -f conftest.er1
27404 cat conftest.err >&5
27405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27406 (exit $ac_status); } &&
27407 { ac_try='test -z "$ac_c_werror_flag"
27408 || test ! -s conftest.err'
27409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27410 (eval $ac_try) 2>&5
27411 ac_status=$?
27412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27413 (exit $ac_status); }; } &&
27414 { ac_try='test -s conftest$ac_exeext'
27415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27416 (eval $ac_try) 2>&5
27417 ac_status=$?
27418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27419 (exit $ac_status); }; }; then
27420 glibcxx_cv_func___builtin_cosf_link=yes
27421 else
27422 echo "$as_me: failed program was:" >&5
27423 sed 's/^/| /' conftest.$ac_ext >&5
27424
27425 glibcxx_cv_func___builtin_cosf_link=no
27426 fi
27427 rm -f conftest.err conftest.$ac_objext \
27428 conftest$ac_exeext conftest.$ac_ext
27429
27430 fi
27431
27432 fi
27433 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_link" >&5
27434 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_link" >&6
27435
27436 if test x$glibcxx_cv_func___builtin_cosf_link = x"yes"; then
27437
27438 cat >>confdefs.h <<\_ACEOF
27439 #define HAVE___BUILTIN_COSF 1
27440 _ACEOF
27441
27442 fi
27443
27444 fi
27445
27446
27447 echo "$as_me:$LINENO: checking for __builtin_cos declaration" >&5
27448 echo $ECHO_N "checking for __builtin_cos declaration... $ECHO_C" >&6
27449 if test x${glibcxx_cv_func___builtin_cos_use+set} != xset; then
27450 if test "${glibcxx_cv_func___builtin_cos_use+set}" = set; then
27451 echo $ECHO_N "(cached) $ECHO_C" >&6
27452 else
27453
27454
27455
27456 ac_ext=cc
27457 ac_cpp='$CXXCPP $CPPFLAGS'
27458 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27459 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27460 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27461
27462 cat >conftest.$ac_ext <<_ACEOF
27463 /* confdefs.h. */
27464 _ACEOF
27465 cat confdefs.h >>conftest.$ac_ext
27466 cat >>conftest.$ac_ext <<_ACEOF
27467 /* end confdefs.h. */
27468 #include <math.h>
27469 int
27470 main ()
27471 {
27472 __builtin_cos(0);
27473 ;
27474 return 0;
27475 }
27476 _ACEOF
27477 rm -f conftest.$ac_objext
27478 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27479 (eval $ac_compile) 2>conftest.er1
27480 ac_status=$?
27481 grep -v '^ *+' conftest.er1 >conftest.err
27482 rm -f conftest.er1
27483 cat conftest.err >&5
27484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27485 (exit $ac_status); } &&
27486 { ac_try='test -z "$ac_cxx_werror_flag"
27487 || test ! -s conftest.err'
27488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27489 (eval $ac_try) 2>&5
27490 ac_status=$?
27491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27492 (exit $ac_status); }; } &&
27493 { ac_try='test -s conftest.$ac_objext'
27494 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27495 (eval $ac_try) 2>&5
27496 ac_status=$?
27497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27498 (exit $ac_status); }; }; then
27499 glibcxx_cv_func___builtin_cos_use=yes
27500 else
27501 echo "$as_me: failed program was:" >&5
27502 sed 's/^/| /' conftest.$ac_ext >&5
27503
27504 glibcxx_cv_func___builtin_cos_use=no
27505 fi
27506 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27507 ac_ext=c
27508 ac_cpp='$CPP $CPPFLAGS'
27509 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27510 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27511 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27512
27513
27514 fi
27515
27516 fi
27517 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_use" >&5
27518 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_use" >&6
27519 if test x$glibcxx_cv_func___builtin_cos_use = x"yes"; then
27520 echo "$as_me:$LINENO: checking for __builtin_cos linkage" >&5
27521 echo $ECHO_N "checking for __builtin_cos linkage... $ECHO_C" >&6
27522 if test x${glibcxx_cv_func___builtin_cos_link+set} != xset; then
27523 if test "${glibcxx_cv_func___builtin_cos_link+set}" = set; then
27524 echo $ECHO_N "(cached) $ECHO_C" >&6
27525 else
27526
27527 if test x$gcc_no_link = xyes; then
27528 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27529 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27530 { (exit 1); exit 1; }; }
27531 fi
27532 cat >conftest.$ac_ext <<_ACEOF
27533 /* confdefs.h. */
27534 _ACEOF
27535 cat confdefs.h >>conftest.$ac_ext
27536 cat >>conftest.$ac_ext <<_ACEOF
27537 /* end confdefs.h. */
27538 #include <math.h>
27539 int
27540 main ()
27541 {
27542 __builtin_cos(0);
27543 ;
27544 return 0;
27545 }
27546 _ACEOF
27547 rm -f conftest.$ac_objext conftest$ac_exeext
27548 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27549 (eval $ac_link) 2>conftest.er1
27550 ac_status=$?
27551 grep -v '^ *+' conftest.er1 >conftest.err
27552 rm -f conftest.er1
27553 cat conftest.err >&5
27554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27555 (exit $ac_status); } &&
27556 { ac_try='test -z "$ac_c_werror_flag"
27557 || test ! -s conftest.err'
27558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27559 (eval $ac_try) 2>&5
27560 ac_status=$?
27561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27562 (exit $ac_status); }; } &&
27563 { ac_try='test -s conftest$ac_exeext'
27564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27565 (eval $ac_try) 2>&5
27566 ac_status=$?
27567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27568 (exit $ac_status); }; }; then
27569 glibcxx_cv_func___builtin_cos_link=yes
27570 else
27571 echo "$as_me: failed program was:" >&5
27572 sed 's/^/| /' conftest.$ac_ext >&5
27573
27574 glibcxx_cv_func___builtin_cos_link=no
27575 fi
27576 rm -f conftest.err conftest.$ac_objext \
27577 conftest$ac_exeext conftest.$ac_ext
27578
27579 fi
27580
27581 fi
27582 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_link" >&5
27583 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_link" >&6
27584
27585 if test x$glibcxx_cv_func___builtin_cos_link = x"yes"; then
27586
27587 cat >>confdefs.h <<\_ACEOF
27588 #define HAVE___BUILTIN_COS 1
27589 _ACEOF
27590
27591 fi
27592
27593 fi
27594
27595
27596 echo "$as_me:$LINENO: checking for __builtin_cosl declaration" >&5
27597 echo $ECHO_N "checking for __builtin_cosl declaration... $ECHO_C" >&6
27598 if test x${glibcxx_cv_func___builtin_cosl_use+set} != xset; then
27599 if test "${glibcxx_cv_func___builtin_cosl_use+set}" = set; then
27600 echo $ECHO_N "(cached) $ECHO_C" >&6
27601 else
27602
27603
27604
27605 ac_ext=cc
27606 ac_cpp='$CXXCPP $CPPFLAGS'
27607 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27608 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27609 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27610
27611 cat >conftest.$ac_ext <<_ACEOF
27612 /* confdefs.h. */
27613 _ACEOF
27614 cat confdefs.h >>conftest.$ac_ext
27615 cat >>conftest.$ac_ext <<_ACEOF
27616 /* end confdefs.h. */
27617 #include <math.h>
27618 int
27619 main ()
27620 {
27621 __builtin_cosl(0);
27622 ;
27623 return 0;
27624 }
27625 _ACEOF
27626 rm -f conftest.$ac_objext
27627 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27628 (eval $ac_compile) 2>conftest.er1
27629 ac_status=$?
27630 grep -v '^ *+' conftest.er1 >conftest.err
27631 rm -f conftest.er1
27632 cat conftest.err >&5
27633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27634 (exit $ac_status); } &&
27635 { ac_try='test -z "$ac_cxx_werror_flag"
27636 || test ! -s conftest.err'
27637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27638 (eval $ac_try) 2>&5
27639 ac_status=$?
27640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27641 (exit $ac_status); }; } &&
27642 { ac_try='test -s conftest.$ac_objext'
27643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27644 (eval $ac_try) 2>&5
27645 ac_status=$?
27646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27647 (exit $ac_status); }; }; then
27648 glibcxx_cv_func___builtin_cosl_use=yes
27649 else
27650 echo "$as_me: failed program was:" >&5
27651 sed 's/^/| /' conftest.$ac_ext >&5
27652
27653 glibcxx_cv_func___builtin_cosl_use=no
27654 fi
27655 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27656 ac_ext=c
27657 ac_cpp='$CPP $CPPFLAGS'
27658 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27659 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27660 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27661
27662
27663 fi
27664
27665 fi
27666 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_use" >&5
27667 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_use" >&6
27668 if test x$glibcxx_cv_func___builtin_cosl_use = x"yes"; then
27669 echo "$as_me:$LINENO: checking for __builtin_cosl linkage" >&5
27670 echo $ECHO_N "checking for __builtin_cosl linkage... $ECHO_C" >&6
27671 if test x${glibcxx_cv_func___builtin_cosl_link+set} != xset; then
27672 if test "${glibcxx_cv_func___builtin_cosl_link+set}" = set; then
27673 echo $ECHO_N "(cached) $ECHO_C" >&6
27674 else
27675
27676 if test x$gcc_no_link = xyes; then
27677 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27678 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27679 { (exit 1); exit 1; }; }
27680 fi
27681 cat >conftest.$ac_ext <<_ACEOF
27682 /* confdefs.h. */
27683 _ACEOF
27684 cat confdefs.h >>conftest.$ac_ext
27685 cat >>conftest.$ac_ext <<_ACEOF
27686 /* end confdefs.h. */
27687 #include <math.h>
27688 int
27689 main ()
27690 {
27691 __builtin_cosl(0);
27692 ;
27693 return 0;
27694 }
27695 _ACEOF
27696 rm -f conftest.$ac_objext conftest$ac_exeext
27697 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27698 (eval $ac_link) 2>conftest.er1
27699 ac_status=$?
27700 grep -v '^ *+' conftest.er1 >conftest.err
27701 rm -f conftest.er1
27702 cat conftest.err >&5
27703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27704 (exit $ac_status); } &&
27705 { ac_try='test -z "$ac_c_werror_flag"
27706 || test ! -s conftest.err'
27707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27708 (eval $ac_try) 2>&5
27709 ac_status=$?
27710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27711 (exit $ac_status); }; } &&
27712 { ac_try='test -s conftest$ac_exeext'
27713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27714 (eval $ac_try) 2>&5
27715 ac_status=$?
27716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27717 (exit $ac_status); }; }; then
27718 glibcxx_cv_func___builtin_cosl_link=yes
27719 else
27720 echo "$as_me: failed program was:" >&5
27721 sed 's/^/| /' conftest.$ac_ext >&5
27722
27723 glibcxx_cv_func___builtin_cosl_link=no
27724 fi
27725 rm -f conftest.err conftest.$ac_objext \
27726 conftest$ac_exeext conftest.$ac_ext
27727
27728 fi
27729
27730 fi
27731 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_link" >&5
27732 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_link" >&6
27733
27734 if test x$glibcxx_cv_func___builtin_cosl_link = x"yes"; then
27735
27736 cat >>confdefs.h <<\_ACEOF
27737 #define HAVE___BUILTIN_COSL 1
27738 _ACEOF
27739
27740 fi
27741
27742 fi
27743
27744
27745
27746
27747 echo "$as_me:$LINENO: checking for main in -lm" >&5
27748 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
27749 if test "${ac_cv_lib_m_main+set}" = set; then
27750 echo $ECHO_N "(cached) $ECHO_C" >&6
27751 else
27752 ac_check_lib_save_LIBS=$LIBS
27753 LIBS="-lm $LIBS"
27754 if test x$gcc_no_link = xyes; then
27755 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27756 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27757 { (exit 1); exit 1; }; }
27758 fi
27759 cat >conftest.$ac_ext <<_ACEOF
27760 /* confdefs.h. */
27761 _ACEOF
27762 cat confdefs.h >>conftest.$ac_ext
27763 cat >>conftest.$ac_ext <<_ACEOF
27764 /* end confdefs.h. */
27765
27766
27767 int
27768 main ()
27769 {
27770 main ();
27771 ;
27772 return 0;
27773 }
27774 _ACEOF
27775 rm -f conftest.$ac_objext conftest$ac_exeext
27776 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27777 (eval $ac_link) 2>conftest.er1
27778 ac_status=$?
27779 grep -v '^ *+' conftest.er1 >conftest.err
27780 rm -f conftest.er1
27781 cat conftest.err >&5
27782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27783 (exit $ac_status); } &&
27784 { ac_try='test -z "$ac_c_werror_flag"
27785 || test ! -s conftest.err'
27786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27787 (eval $ac_try) 2>&5
27788 ac_status=$?
27789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27790 (exit $ac_status); }; } &&
27791 { ac_try='test -s conftest$ac_exeext'
27792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27793 (eval $ac_try) 2>&5
27794 ac_status=$?
27795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27796 (exit $ac_status); }; }; then
27797 ac_cv_lib_m_main=yes
27798 else
27799 echo "$as_me: failed program was:" >&5
27800 sed 's/^/| /' conftest.$ac_ext >&5
27801
27802 ac_cv_lib_m_main=no
27803 fi
27804 rm -f conftest.err conftest.$ac_objext \
27805 conftest$ac_exeext conftest.$ac_ext
27806 LIBS=$ac_check_lib_save_LIBS
27807 fi
27808 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
27809 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
27810 if test $ac_cv_lib_m_main = yes; then
27811 cat >>confdefs.h <<_ACEOF
27812 #define HAVE_LIBM 1
27813 _ACEOF
27814
27815 LIBS="-lm $LIBS"
27816
27817 fi
27818
27819
27820 for ac_func in copysignf
27821 do
27822 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27823 echo "$as_me:$LINENO: checking for $ac_func" >&5
27824 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27825 if eval "test \"\${$as_ac_var+set}\" = set"; then
27826 echo $ECHO_N "(cached) $ECHO_C" >&6
27827 else
27828 if test x$gcc_no_link = xyes; then
27829 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27830 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27831 { (exit 1); exit 1; }; }
27832 fi
27833 cat >conftest.$ac_ext <<_ACEOF
27834 /* confdefs.h. */
27835 _ACEOF
27836 cat confdefs.h >>conftest.$ac_ext
27837 cat >>conftest.$ac_ext <<_ACEOF
27838 /* end confdefs.h. */
27839 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27840 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27841 #define $ac_func innocuous_$ac_func
27842
27843 /* System header to define __stub macros and hopefully few prototypes,
27844 which can conflict with char $ac_func (); below.
27845 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27846 <limits.h> exists even on freestanding compilers. */
27847
27848 #ifdef __STDC__
27849 # include <limits.h>
27850 #else
27851 # include <assert.h>
27852 #endif
27853
27854 #undef $ac_func
27855
27856 /* Override any gcc2 internal prototype to avoid an error. */
27857 #ifdef __cplusplus
27858 extern "C"
27859 {
27860 #endif
27861 /* We use char because int might match the return type of a gcc2
27862 builtin and then its argument prototype would still apply. */
27863 char $ac_func ();
27864 /* The GNU C library defines this for functions which it implements
27865 to always fail with ENOSYS. Some functions are actually named
27866 something starting with __ and the normal name is an alias. */
27867 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27868 choke me
27869 #else
27870 char (*f) () = $ac_func;
27871 #endif
27872 #ifdef __cplusplus
27873 }
27874 #endif
27875
27876 int
27877 main ()
27878 {
27879 return f != $ac_func;
27880 ;
27881 return 0;
27882 }
27883 _ACEOF
27884 rm -f conftest.$ac_objext conftest$ac_exeext
27885 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27886 (eval $ac_link) 2>conftest.er1
27887 ac_status=$?
27888 grep -v '^ *+' conftest.er1 >conftest.err
27889 rm -f conftest.er1
27890 cat conftest.err >&5
27891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27892 (exit $ac_status); } &&
27893 { ac_try='test -z "$ac_c_werror_flag"
27894 || test ! -s conftest.err'
27895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27896 (eval $ac_try) 2>&5
27897 ac_status=$?
27898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27899 (exit $ac_status); }; } &&
27900 { ac_try='test -s conftest$ac_exeext'
27901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27902 (eval $ac_try) 2>&5
27903 ac_status=$?
27904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27905 (exit $ac_status); }; }; then
27906 eval "$as_ac_var=yes"
27907 else
27908 echo "$as_me: failed program was:" >&5
27909 sed 's/^/| /' conftest.$ac_ext >&5
27910
27911 eval "$as_ac_var=no"
27912 fi
27913 rm -f conftest.err conftest.$ac_objext \
27914 conftest$ac_exeext conftest.$ac_ext
27915 fi
27916 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27917 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27918 if test `eval echo '${'$as_ac_var'}'` = yes; then
27919 cat >>confdefs.h <<_ACEOF
27920 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27921 _ACEOF
27922
27923 else
27924 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
27925 fi
27926 done
27927
27928
27929
27930 for ac_func in __signbit
27931 do
27932 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27933 echo "$as_me:$LINENO: checking for $ac_func" >&5
27934 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27935 if eval "test \"\${$as_ac_var+set}\" = set"; then
27936 echo $ECHO_N "(cached) $ECHO_C" >&6
27937 else
27938 if test x$gcc_no_link = xyes; then
27939 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27940 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27941 { (exit 1); exit 1; }; }
27942 fi
27943 cat >conftest.$ac_ext <<_ACEOF
27944 /* confdefs.h. */
27945 _ACEOF
27946 cat confdefs.h >>conftest.$ac_ext
27947 cat >>conftest.$ac_ext <<_ACEOF
27948 /* end confdefs.h. */
27949 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27950 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27951 #define $ac_func innocuous_$ac_func
27952
27953 /* System header to define __stub macros and hopefully few prototypes,
27954 which can conflict with char $ac_func (); below.
27955 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27956 <limits.h> exists even on freestanding compilers. */
27957
27958 #ifdef __STDC__
27959 # include <limits.h>
27960 #else
27961 # include <assert.h>
27962 #endif
27963
27964 #undef $ac_func
27965
27966 /* Override any gcc2 internal prototype to avoid an error. */
27967 #ifdef __cplusplus
27968 extern "C"
27969 {
27970 #endif
27971 /* We use char because int might match the return type of a gcc2
27972 builtin and then its argument prototype would still apply. */
27973 char $ac_func ();
27974 /* The GNU C library defines this for functions which it implements
27975 to always fail with ENOSYS. Some functions are actually named
27976 something starting with __ and the normal name is an alias. */
27977 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27978 choke me
27979 #else
27980 char (*f) () = $ac_func;
27981 #endif
27982 #ifdef __cplusplus
27983 }
27984 #endif
27985
27986 int
27987 main ()
27988 {
27989 return f != $ac_func;
27990 ;
27991 return 0;
27992 }
27993 _ACEOF
27994 rm -f conftest.$ac_objext conftest$ac_exeext
27995 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27996 (eval $ac_link) 2>conftest.er1
27997 ac_status=$?
27998 grep -v '^ *+' conftest.er1 >conftest.err
27999 rm -f conftest.er1
28000 cat conftest.err >&5
28001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28002 (exit $ac_status); } &&
28003 { ac_try='test -z "$ac_c_werror_flag"
28004 || test ! -s conftest.err'
28005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28006 (eval $ac_try) 2>&5
28007 ac_status=$?
28008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28009 (exit $ac_status); }; } &&
28010 { ac_try='test -s conftest$ac_exeext'
28011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28012 (eval $ac_try) 2>&5
28013 ac_status=$?
28014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28015 (exit $ac_status); }; }; then
28016 eval "$as_ac_var=yes"
28017 else
28018 echo "$as_me: failed program was:" >&5
28019 sed 's/^/| /' conftest.$ac_ext >&5
28020
28021 eval "$as_ac_var=no"
28022 fi
28023 rm -f conftest.err conftest.$ac_objext \
28024 conftest$ac_exeext conftest.$ac_ext
28025 fi
28026 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28027 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28028 if test `eval echo '${'$as_ac_var'}'` = yes; then
28029 cat >>confdefs.h <<_ACEOF
28030 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28031 _ACEOF
28032
28033 else
28034 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
28035 fi
28036 done
28037
28038
28039
28040 for ac_func in __signbitf
28041 do
28042 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28043 echo "$as_me:$LINENO: checking for $ac_func" >&5
28044 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28045 if eval "test \"\${$as_ac_var+set}\" = set"; then
28046 echo $ECHO_N "(cached) $ECHO_C" >&6
28047 else
28048 if test x$gcc_no_link = xyes; then
28049 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28050 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28051 { (exit 1); exit 1; }; }
28052 fi
28053 cat >conftest.$ac_ext <<_ACEOF
28054 /* confdefs.h. */
28055 _ACEOF
28056 cat confdefs.h >>conftest.$ac_ext
28057 cat >>conftest.$ac_ext <<_ACEOF
28058 /* end confdefs.h. */
28059 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28060 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28061 #define $ac_func innocuous_$ac_func
28062
28063 /* System header to define __stub macros and hopefully few prototypes,
28064 which can conflict with char $ac_func (); below.
28065 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28066 <limits.h> exists even on freestanding compilers. */
28067
28068 #ifdef __STDC__
28069 # include <limits.h>
28070 #else
28071 # include <assert.h>
28072 #endif
28073
28074 #undef $ac_func
28075
28076 /* Override any gcc2 internal prototype to avoid an error. */
28077 #ifdef __cplusplus
28078 extern "C"
28079 {
28080 #endif
28081 /* We use char because int might match the return type of a gcc2
28082 builtin and then its argument prototype would still apply. */
28083 char $ac_func ();
28084 /* The GNU C library defines this for functions which it implements
28085 to always fail with ENOSYS. Some functions are actually named
28086 something starting with __ and the normal name is an alias. */
28087 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28088 choke me
28089 #else
28090 char (*f) () = $ac_func;
28091 #endif
28092 #ifdef __cplusplus
28093 }
28094 #endif
28095
28096 int
28097 main ()
28098 {
28099 return f != $ac_func;
28100 ;
28101 return 0;
28102 }
28103 _ACEOF
28104 rm -f conftest.$ac_objext conftest$ac_exeext
28105 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28106 (eval $ac_link) 2>conftest.er1
28107 ac_status=$?
28108 grep -v '^ *+' conftest.er1 >conftest.err
28109 rm -f conftest.er1
28110 cat conftest.err >&5
28111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28112 (exit $ac_status); } &&
28113 { ac_try='test -z "$ac_c_werror_flag"
28114 || test ! -s conftest.err'
28115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28116 (eval $ac_try) 2>&5
28117 ac_status=$?
28118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28119 (exit $ac_status); }; } &&
28120 { ac_try='test -s conftest$ac_exeext'
28121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28122 (eval $ac_try) 2>&5
28123 ac_status=$?
28124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28125 (exit $ac_status); }; }; then
28126 eval "$as_ac_var=yes"
28127 else
28128 echo "$as_me: failed program was:" >&5
28129 sed 's/^/| /' conftest.$ac_ext >&5
28130
28131 eval "$as_ac_var=no"
28132 fi
28133 rm -f conftest.err conftest.$ac_objext \
28134 conftest$ac_exeext conftest.$ac_ext
28135 fi
28136 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28137 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28138 if test `eval echo '${'$as_ac_var'}'` = yes; then
28139 cat >>confdefs.h <<_ACEOF
28140 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28141 _ACEOF
28142
28143 else
28144 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
28145 fi
28146 done
28147
28148
28149 if test x$ac_cv_func_copysignl = x"yes"; then
28150
28151 for ac_func in __signbitl
28152 do
28153 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28154 echo "$as_me:$LINENO: checking for $ac_func" >&5
28155 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28156 if eval "test \"\${$as_ac_var+set}\" = set"; then
28157 echo $ECHO_N "(cached) $ECHO_C" >&6
28158 else
28159 if test x$gcc_no_link = xyes; then
28160 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28161 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28162 { (exit 1); exit 1; }; }
28163 fi
28164 cat >conftest.$ac_ext <<_ACEOF
28165 /* confdefs.h. */
28166 _ACEOF
28167 cat confdefs.h >>conftest.$ac_ext
28168 cat >>conftest.$ac_ext <<_ACEOF
28169 /* end confdefs.h. */
28170 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28171 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28172 #define $ac_func innocuous_$ac_func
28173
28174 /* System header to define __stub macros and hopefully few prototypes,
28175 which can conflict with char $ac_func (); below.
28176 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28177 <limits.h> exists even on freestanding compilers. */
28178
28179 #ifdef __STDC__
28180 # include <limits.h>
28181 #else
28182 # include <assert.h>
28183 #endif
28184
28185 #undef $ac_func
28186
28187 /* Override any gcc2 internal prototype to avoid an error. */
28188 #ifdef __cplusplus
28189 extern "C"
28190 {
28191 #endif
28192 /* We use char because int might match the return type of a gcc2
28193 builtin and then its argument prototype would still apply. */
28194 char $ac_func ();
28195 /* The GNU C library defines this for functions which it implements
28196 to always fail with ENOSYS. Some functions are actually named
28197 something starting with __ and the normal name is an alias. */
28198 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28199 choke me
28200 #else
28201 char (*f) () = $ac_func;
28202 #endif
28203 #ifdef __cplusplus
28204 }
28205 #endif
28206
28207 int
28208 main ()
28209 {
28210 return f != $ac_func;
28211 ;
28212 return 0;
28213 }
28214 _ACEOF
28215 rm -f conftest.$ac_objext conftest$ac_exeext
28216 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28217 (eval $ac_link) 2>conftest.er1
28218 ac_status=$?
28219 grep -v '^ *+' conftest.er1 >conftest.err
28220 rm -f conftest.er1
28221 cat conftest.err >&5
28222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28223 (exit $ac_status); } &&
28224 { ac_try='test -z "$ac_c_werror_flag"
28225 || test ! -s conftest.err'
28226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28227 (eval $ac_try) 2>&5
28228 ac_status=$?
28229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28230 (exit $ac_status); }; } &&
28231 { ac_try='test -s conftest$ac_exeext'
28232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28233 (eval $ac_try) 2>&5
28234 ac_status=$?
28235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28236 (exit $ac_status); }; }; then
28237 eval "$as_ac_var=yes"
28238 else
28239 echo "$as_me: failed program was:" >&5
28240 sed 's/^/| /' conftest.$ac_ext >&5
28241
28242 eval "$as_ac_var=no"
28243 fi
28244 rm -f conftest.err conftest.$ac_objext \
28245 conftest$ac_exeext conftest.$ac_ext
28246 fi
28247 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28248 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28249 if test `eval echo '${'$as_ac_var'}'` = yes; then
28250 cat >>confdefs.h <<_ACEOF
28251 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28252 _ACEOF
28253
28254 else
28255 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
28256 fi
28257 done
28258
28259 fi
28260
28261 # Used in libmath/Makefile.am.
28262 if test -n "$LIBMATHOBJS"; then
28263 need_libmath=yes
28264 fi
28265
28266
28267
28268
28269 enable_iconv=no
28270 # Only continue checking if the ISO C99 headers exist and support is on.
28271 if test x"$enable_wchar_t" = xyes; then
28272
28273 # Use iconv for wchar_t to char conversions. As such, check for
28274 # X/Open Portability Guide, version 2 features (XPG2).
28275 if test "${ac_cv_header_iconv_h+set}" = set; then
28276 echo "$as_me:$LINENO: checking for iconv.h" >&5
28277 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
28278 if test "${ac_cv_header_iconv_h+set}" = set; then
28279 echo $ECHO_N "(cached) $ECHO_C" >&6
28280 fi
28281 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
28282 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
28283 else
28284 # Is the header compilable?
28285 echo "$as_me:$LINENO: checking iconv.h usability" >&5
28286 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
28287 cat >conftest.$ac_ext <<_ACEOF
28288 /* confdefs.h. */
28289 _ACEOF
28290 cat confdefs.h >>conftest.$ac_ext
28291 cat >>conftest.$ac_ext <<_ACEOF
28292 /* end confdefs.h. */
28293 $ac_includes_default
28294 #include <iconv.h>
28295 _ACEOF
28296 rm -f conftest.$ac_objext
28297 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28298 (eval $ac_compile) 2>conftest.er1
28299 ac_status=$?
28300 grep -v '^ *+' conftest.er1 >conftest.err
28301 rm -f conftest.er1
28302 cat conftest.err >&5
28303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28304 (exit $ac_status); } &&
28305 { ac_try='test -z "$ac_c_werror_flag"
28306 || test ! -s conftest.err'
28307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28308 (eval $ac_try) 2>&5
28309 ac_status=$?
28310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28311 (exit $ac_status); }; } &&
28312 { ac_try='test -s conftest.$ac_objext'
28313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28314 (eval $ac_try) 2>&5
28315 ac_status=$?
28316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28317 (exit $ac_status); }; }; then
28318 ac_header_compiler=yes
28319 else
28320 echo "$as_me: failed program was:" >&5
28321 sed 's/^/| /' conftest.$ac_ext >&5
28322
28323 ac_header_compiler=no
28324 fi
28325 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28326 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28327 echo "${ECHO_T}$ac_header_compiler" >&6
28328
28329 # Is the header present?
28330 echo "$as_me:$LINENO: checking iconv.h presence" >&5
28331 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
28332 cat >conftest.$ac_ext <<_ACEOF
28333 /* confdefs.h. */
28334 _ACEOF
28335 cat confdefs.h >>conftest.$ac_ext
28336 cat >>conftest.$ac_ext <<_ACEOF
28337 /* end confdefs.h. */
28338 #include <iconv.h>
28339 _ACEOF
28340 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
28341 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
28342 ac_status=$?
28343 grep -v '^ *+' conftest.er1 >conftest.err
28344 rm -f conftest.er1
28345 cat conftest.err >&5
28346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28347 (exit $ac_status); } >/dev/null; then
28348 if test -s conftest.err; then
28349 ac_cpp_err=$ac_c_preproc_warn_flag
28350 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
28351 else
28352 ac_cpp_err=
28353 fi
28354 else
28355 ac_cpp_err=yes
28356 fi
28357 if test -z "$ac_cpp_err"; then
28358 ac_header_preproc=yes
28359 else
28360 echo "$as_me: failed program was:" >&5
28361 sed 's/^/| /' conftest.$ac_ext >&5
28362
28363 ac_header_preproc=no
28364 fi
28365 rm -f conftest.err conftest.$ac_ext
28366 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
28367 echo "${ECHO_T}$ac_header_preproc" >&6
28368
28369 # So? What about this header?
28370 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
28371 yes:no: )
28372 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
28373 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
28374 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
28375 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
28376 ac_header_preproc=yes
28377 ;;
28378 no:yes:* )
28379 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
28380 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
28381 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
28382 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
28383 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
28384 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
28385 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
28386 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
28387 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
28388 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
28389 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
28390 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
28391 (
28392 cat <<\_ASBOX
28393 ## ----------------------------------------- ##
28394 ## Report this to the package-unused lists. ##
28395 ## ----------------------------------------- ##
28396 _ASBOX
28397 ) |
28398 sed "s/^/$as_me: WARNING: /" >&2
28399 ;;
28400 esac
28401 echo "$as_me:$LINENO: checking for iconv.h" >&5
28402 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
28403 if test "${ac_cv_header_iconv_h+set}" = set; then
28404 echo $ECHO_N "(cached) $ECHO_C" >&6
28405 else
28406 ac_cv_header_iconv_h=$ac_header_preproc
28407 fi
28408 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
28409 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
28410
28411 fi
28412 if test $ac_cv_header_iconv_h = yes; then
28413 ac_has_iconv_h=yes
28414 else
28415 ac_has_iconv_h=no
28416 fi
28417
28418
28419 if test "${ac_cv_header_langinfo_h+set}" = set; then
28420 echo "$as_me:$LINENO: checking for langinfo.h" >&5
28421 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
28422 if test "${ac_cv_header_langinfo_h+set}" = set; then
28423 echo $ECHO_N "(cached) $ECHO_C" >&6
28424 fi
28425 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
28426 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
28427 else
28428 # Is the header compilable?
28429 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
28430 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
28431 cat >conftest.$ac_ext <<_ACEOF
28432 /* confdefs.h. */
28433 _ACEOF
28434 cat confdefs.h >>conftest.$ac_ext
28435 cat >>conftest.$ac_ext <<_ACEOF
28436 /* end confdefs.h. */
28437 $ac_includes_default
28438 #include <langinfo.h>
28439 _ACEOF
28440 rm -f conftest.$ac_objext
28441 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28442 (eval $ac_compile) 2>conftest.er1
28443 ac_status=$?
28444 grep -v '^ *+' conftest.er1 >conftest.err
28445 rm -f conftest.er1
28446 cat conftest.err >&5
28447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28448 (exit $ac_status); } &&
28449 { ac_try='test -z "$ac_c_werror_flag"
28450 || test ! -s conftest.err'
28451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28452 (eval $ac_try) 2>&5
28453 ac_status=$?
28454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28455 (exit $ac_status); }; } &&
28456 { ac_try='test -s conftest.$ac_objext'
28457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28458 (eval $ac_try) 2>&5
28459 ac_status=$?
28460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28461 (exit $ac_status); }; }; then
28462 ac_header_compiler=yes
28463 else
28464 echo "$as_me: failed program was:" >&5
28465 sed 's/^/| /' conftest.$ac_ext >&5
28466
28467 ac_header_compiler=no
28468 fi
28469 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28470 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28471 echo "${ECHO_T}$ac_header_compiler" >&6
28472
28473 # Is the header present?
28474 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
28475 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
28476 cat >conftest.$ac_ext <<_ACEOF
28477 /* confdefs.h. */
28478 _ACEOF
28479 cat confdefs.h >>conftest.$ac_ext
28480 cat >>conftest.$ac_ext <<_ACEOF
28481 /* end confdefs.h. */
28482 #include <langinfo.h>
28483 _ACEOF
28484 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
28485 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
28486 ac_status=$?
28487 grep -v '^ *+' conftest.er1 >conftest.err
28488 rm -f conftest.er1
28489 cat conftest.err >&5
28490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28491 (exit $ac_status); } >/dev/null; then
28492 if test -s conftest.err; then
28493 ac_cpp_err=$ac_c_preproc_warn_flag
28494 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
28495 else
28496 ac_cpp_err=
28497 fi
28498 else
28499 ac_cpp_err=yes
28500 fi
28501 if test -z "$ac_cpp_err"; then
28502 ac_header_preproc=yes
28503 else
28504 echo "$as_me: failed program was:" >&5
28505 sed 's/^/| /' conftest.$ac_ext >&5
28506
28507 ac_header_preproc=no
28508 fi
28509 rm -f conftest.err conftest.$ac_ext
28510 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
28511 echo "${ECHO_T}$ac_header_preproc" >&6
28512
28513 # So? What about this header?
28514 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
28515 yes:no: )
28516 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
28517 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
28518 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
28519 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
28520 ac_header_preproc=yes
28521 ;;
28522 no:yes:* )
28523 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
28524 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
28525 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
28526 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
28527 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
28528 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
28529 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
28530 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
28531 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
28532 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
28533 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
28534 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
28535 (
28536 cat <<\_ASBOX
28537 ## ----------------------------------------- ##
28538 ## Report this to the package-unused lists. ##
28539 ## ----------------------------------------- ##
28540 _ASBOX
28541 ) |
28542 sed "s/^/$as_me: WARNING: /" >&2
28543 ;;
28544 esac
28545 echo "$as_me:$LINENO: checking for langinfo.h" >&5
28546 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
28547 if test "${ac_cv_header_langinfo_h+set}" = set; then
28548 echo $ECHO_N "(cached) $ECHO_C" >&6
28549 else
28550 ac_cv_header_langinfo_h=$ac_header_preproc
28551 fi
28552 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
28553 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
28554
28555 fi
28556 if test $ac_cv_header_langinfo_h = yes; then
28557 ac_has_langinfo_h=yes
28558 else
28559 ac_has_langinfo_h=no
28560 fi
28561
28562
28563
28564 # Check for existence of libiconv.a providing XPG2 wchar_t support.
28565 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
28566 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
28567 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
28568 echo $ECHO_N "(cached) $ECHO_C" >&6
28569 else
28570 ac_check_lib_save_LIBS=$LIBS
28571 LIBS="-liconv $LIBS"
28572 if test x$gcc_no_link = xyes; then
28573 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28574 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28575 { (exit 1); exit 1; }; }
28576 fi
28577 cat >conftest.$ac_ext <<_ACEOF
28578 /* confdefs.h. */
28579 _ACEOF
28580 cat confdefs.h >>conftest.$ac_ext
28581 cat >>conftest.$ac_ext <<_ACEOF
28582 /* end confdefs.h. */
28583
28584 /* Override any gcc2 internal prototype to avoid an error. */
28585 #ifdef __cplusplus
28586 extern "C"
28587 #endif
28588 /* We use char because int might match the return type of a gcc2
28589 builtin and then its argument prototype would still apply. */
28590 char iconv ();
28591 int
28592 main ()
28593 {
28594 iconv ();
28595 ;
28596 return 0;
28597 }
28598 _ACEOF
28599 rm -f conftest.$ac_objext conftest$ac_exeext
28600 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28601 (eval $ac_link) 2>conftest.er1
28602 ac_status=$?
28603 grep -v '^ *+' conftest.er1 >conftest.err
28604 rm -f conftest.er1
28605 cat conftest.err >&5
28606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28607 (exit $ac_status); } &&
28608 { ac_try='test -z "$ac_c_werror_flag"
28609 || test ! -s conftest.err'
28610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28611 (eval $ac_try) 2>&5
28612 ac_status=$?
28613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28614 (exit $ac_status); }; } &&
28615 { ac_try='test -s conftest$ac_exeext'
28616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28617 (eval $ac_try) 2>&5
28618 ac_status=$?
28619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28620 (exit $ac_status); }; }; then
28621 ac_cv_lib_iconv_iconv=yes
28622 else
28623 echo "$as_me: failed program was:" >&5
28624 sed 's/^/| /' conftest.$ac_ext >&5
28625
28626 ac_cv_lib_iconv_iconv=no
28627 fi
28628 rm -f conftest.err conftest.$ac_objext \
28629 conftest$ac_exeext conftest.$ac_ext
28630 LIBS=$ac_check_lib_save_LIBS
28631 fi
28632 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
28633 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
28634 if test $ac_cv_lib_iconv_iconv = yes; then
28635 LIBICONV="-liconv"
28636 fi
28637
28638 ac_save_LIBS="$LIBS"
28639 LIBS="$LIBS $LIBICONV"
28640
28641
28642
28643
28644
28645
28646 for ac_func in iconv_open iconv_close iconv nl_langinfo
28647 do
28648 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28649 echo "$as_me:$LINENO: checking for $ac_func" >&5
28650 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28651 if eval "test \"\${$as_ac_var+set}\" = set"; then
28652 echo $ECHO_N "(cached) $ECHO_C" >&6
28653 else
28654 if test x$gcc_no_link = xyes; then
28655 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28656 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28657 { (exit 1); exit 1; }; }
28658 fi
28659 cat >conftest.$ac_ext <<_ACEOF
28660 /* confdefs.h. */
28661 _ACEOF
28662 cat confdefs.h >>conftest.$ac_ext
28663 cat >>conftest.$ac_ext <<_ACEOF
28664 /* end confdefs.h. */
28665 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28666 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28667 #define $ac_func innocuous_$ac_func
28668
28669 /* System header to define __stub macros and hopefully few prototypes,
28670 which can conflict with char $ac_func (); below.
28671 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28672 <limits.h> exists even on freestanding compilers. */
28673
28674 #ifdef __STDC__
28675 # include <limits.h>
28676 #else
28677 # include <assert.h>
28678 #endif
28679
28680 #undef $ac_func
28681
28682 /* Override any gcc2 internal prototype to avoid an error. */
28683 #ifdef __cplusplus
28684 extern "C"
28685 {
28686 #endif
28687 /* We use char because int might match the return type of a gcc2
28688 builtin and then its argument prototype would still apply. */
28689 char $ac_func ();
28690 /* The GNU C library defines this for functions which it implements
28691 to always fail with ENOSYS. Some functions are actually named
28692 something starting with __ and the normal name is an alias. */
28693 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28694 choke me
28695 #else
28696 char (*f) () = $ac_func;
28697 #endif
28698 #ifdef __cplusplus
28699 }
28700 #endif
28701
28702 int
28703 main ()
28704 {
28705 return f != $ac_func;
28706 ;
28707 return 0;
28708 }
28709 _ACEOF
28710 rm -f conftest.$ac_objext conftest$ac_exeext
28711 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28712 (eval $ac_link) 2>conftest.er1
28713 ac_status=$?
28714 grep -v '^ *+' conftest.er1 >conftest.err
28715 rm -f conftest.er1
28716 cat conftest.err >&5
28717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28718 (exit $ac_status); } &&
28719 { ac_try='test -z "$ac_c_werror_flag"
28720 || test ! -s conftest.err'
28721 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28722 (eval $ac_try) 2>&5
28723 ac_status=$?
28724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28725 (exit $ac_status); }; } &&
28726 { ac_try='test -s conftest$ac_exeext'
28727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28728 (eval $ac_try) 2>&5
28729 ac_status=$?
28730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28731 (exit $ac_status); }; }; then
28732 eval "$as_ac_var=yes"
28733 else
28734 echo "$as_me: failed program was:" >&5
28735 sed 's/^/| /' conftest.$ac_ext >&5
28736
28737 eval "$as_ac_var=no"
28738 fi
28739 rm -f conftest.err conftest.$ac_objext \
28740 conftest$ac_exeext conftest.$ac_ext
28741 fi
28742 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28743 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28744 if test `eval echo '${'$as_ac_var'}'` = yes; then
28745 cat >>confdefs.h <<_ACEOF
28746 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28747 _ACEOF
28748 ac_XPG2funcs=yes
28749 else
28750 ac_XPG2funcs=no
28751 fi
28752 done
28753
28754
28755 LIBS="$ac_save_LIBS"
28756
28757 if test x"$ac_has_iconv_h" = xyes &&
28758 test x"$ac_has_langinfo_h" = xyes &&
28759 test x"$ac_XPG2funcs" = xyes;
28760 then
28761
28762 cat >>confdefs.h <<\_ACEOF
28763 #define _GLIBCXX_USE_ICONV 1
28764 _ACEOF
28765
28766 enable_iconv=yes
28767 fi
28768 fi
28769 echo "$as_me:$LINENO: checking for enabled iconv specializations" >&5
28770 echo $ECHO_N "checking for enabled iconv specializations... $ECHO_C" >&6
28771 echo "$as_me:$LINENO: result: $enable_iconv" >&5
28772 echo "${ECHO_T}$enable_iconv" >&6
28773
28774
28775 ac_test_CXXFLAGS="${CXXFLAGS+set}"
28776 ac_save_CXXFLAGS="$CXXFLAGS"
28777 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
28778
28779
28780 echo "$as_me:$LINENO: checking for strtold declaration" >&5
28781 echo $ECHO_N "checking for strtold declaration... $ECHO_C" >&6
28782 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
28783 if test "${glibcxx_cv_func_strtold_use+set}" = set; then
28784 echo $ECHO_N "(cached) $ECHO_C" >&6
28785 else
28786
28787
28788
28789 ac_ext=cc
28790 ac_cpp='$CXXCPP $CPPFLAGS'
28791 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28792 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28793 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28794
28795 cat >conftest.$ac_ext <<_ACEOF
28796 /* confdefs.h. */
28797 _ACEOF
28798 cat confdefs.h >>conftest.$ac_ext
28799 cat >>conftest.$ac_ext <<_ACEOF
28800 /* end confdefs.h. */
28801 #include <stdlib.h>
28802 int
28803 main ()
28804 {
28805 strtold(0, 0);
28806 ;
28807 return 0;
28808 }
28809 _ACEOF
28810 rm -f conftest.$ac_objext
28811 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28812 (eval $ac_compile) 2>conftest.er1
28813 ac_status=$?
28814 grep -v '^ *+' conftest.er1 >conftest.err
28815 rm -f conftest.er1
28816 cat conftest.err >&5
28817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28818 (exit $ac_status); } &&
28819 { ac_try='test -z "$ac_cxx_werror_flag"
28820 || test ! -s conftest.err'
28821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28822 (eval $ac_try) 2>&5
28823 ac_status=$?
28824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28825 (exit $ac_status); }; } &&
28826 { ac_try='test -s conftest.$ac_objext'
28827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28828 (eval $ac_try) 2>&5
28829 ac_status=$?
28830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28831 (exit $ac_status); }; }; then
28832 glibcxx_cv_func_strtold_use=yes
28833 else
28834 echo "$as_me: failed program was:" >&5
28835 sed 's/^/| /' conftest.$ac_ext >&5
28836
28837 glibcxx_cv_func_strtold_use=no
28838 fi
28839 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28840 ac_ext=c
28841 ac_cpp='$CPP $CPPFLAGS'
28842 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28843 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28844 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28845
28846
28847 fi
28848
28849 fi
28850 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtold_use" >&5
28851 echo "${ECHO_T}$glibcxx_cv_func_strtold_use" >&6
28852 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
28853
28854 for ac_func in strtold
28855 do
28856 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28857 echo "$as_me:$LINENO: checking for $ac_func" >&5
28858 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28859 if eval "test \"\${$as_ac_var+set}\" = set"; then
28860 echo $ECHO_N "(cached) $ECHO_C" >&6
28861 else
28862 if test x$gcc_no_link = xyes; then
28863 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28864 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28865 { (exit 1); exit 1; }; }
28866 fi
28867 cat >conftest.$ac_ext <<_ACEOF
28868 /* confdefs.h. */
28869 _ACEOF
28870 cat confdefs.h >>conftest.$ac_ext
28871 cat >>conftest.$ac_ext <<_ACEOF
28872 /* end confdefs.h. */
28873 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28874 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28875 #define $ac_func innocuous_$ac_func
28876
28877 /* System header to define __stub macros and hopefully few prototypes,
28878 which can conflict with char $ac_func (); below.
28879 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28880 <limits.h> exists even on freestanding compilers. */
28881
28882 #ifdef __STDC__
28883 # include <limits.h>
28884 #else
28885 # include <assert.h>
28886 #endif
28887
28888 #undef $ac_func
28889
28890 /* Override any gcc2 internal prototype to avoid an error. */
28891 #ifdef __cplusplus
28892 extern "C"
28893 {
28894 #endif
28895 /* We use char because int might match the return type of a gcc2
28896 builtin and then its argument prototype would still apply. */
28897 char $ac_func ();
28898 /* The GNU C library defines this for functions which it implements
28899 to always fail with ENOSYS. Some functions are actually named
28900 something starting with __ and the normal name is an alias. */
28901 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28902 choke me
28903 #else
28904 char (*f) () = $ac_func;
28905 #endif
28906 #ifdef __cplusplus
28907 }
28908 #endif
28909
28910 int
28911 main ()
28912 {
28913 return f != $ac_func;
28914 ;
28915 return 0;
28916 }
28917 _ACEOF
28918 rm -f conftest.$ac_objext conftest$ac_exeext
28919 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28920 (eval $ac_link) 2>conftest.er1
28921 ac_status=$?
28922 grep -v '^ *+' conftest.er1 >conftest.err
28923 rm -f conftest.er1
28924 cat conftest.err >&5
28925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28926 (exit $ac_status); } &&
28927 { ac_try='test -z "$ac_c_werror_flag"
28928 || test ! -s conftest.err'
28929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28930 (eval $ac_try) 2>&5
28931 ac_status=$?
28932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28933 (exit $ac_status); }; } &&
28934 { ac_try='test -s conftest$ac_exeext'
28935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28936 (eval $ac_try) 2>&5
28937 ac_status=$?
28938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28939 (exit $ac_status); }; }; then
28940 eval "$as_ac_var=yes"
28941 else
28942 echo "$as_me: failed program was:" >&5
28943 sed 's/^/| /' conftest.$ac_ext >&5
28944
28945 eval "$as_ac_var=no"
28946 fi
28947 rm -f conftest.err conftest.$ac_objext \
28948 conftest$ac_exeext conftest.$ac_ext
28949 fi
28950 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28951 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28952 if test `eval echo '${'$as_ac_var'}'` = yes; then
28953 cat >>confdefs.h <<_ACEOF
28954 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28955 _ACEOF
28956
28957 fi
28958 done
28959
28960 fi
28961
28962
28963
28964
28965
28966 echo "$as_me:$LINENO: checking for strtof declaration" >&5
28967 echo $ECHO_N "checking for strtof declaration... $ECHO_C" >&6
28968 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
28969 if test "${glibcxx_cv_func_strtof_use+set}" = set; then
28970 echo $ECHO_N "(cached) $ECHO_C" >&6
28971 else
28972
28973
28974
28975 ac_ext=cc
28976 ac_cpp='$CXXCPP $CPPFLAGS'
28977 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28978 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28979 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28980
28981 cat >conftest.$ac_ext <<_ACEOF
28982 /* confdefs.h. */
28983 _ACEOF
28984 cat confdefs.h >>conftest.$ac_ext
28985 cat >>conftest.$ac_ext <<_ACEOF
28986 /* end confdefs.h. */
28987 #include <stdlib.h>
28988 int
28989 main ()
28990 {
28991 strtof(0, 0);
28992 ;
28993 return 0;
28994 }
28995 _ACEOF
28996 rm -f conftest.$ac_objext
28997 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28998 (eval $ac_compile) 2>conftest.er1
28999 ac_status=$?
29000 grep -v '^ *+' conftest.er1 >conftest.err
29001 rm -f conftest.er1
29002 cat conftest.err >&5
29003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29004 (exit $ac_status); } &&
29005 { ac_try='test -z "$ac_cxx_werror_flag"
29006 || test ! -s conftest.err'
29007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29008 (eval $ac_try) 2>&5
29009 ac_status=$?
29010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29011 (exit $ac_status); }; } &&
29012 { ac_try='test -s conftest.$ac_objext'
29013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29014 (eval $ac_try) 2>&5
29015 ac_status=$?
29016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29017 (exit $ac_status); }; }; then
29018 glibcxx_cv_func_strtof_use=yes
29019 else
29020 echo "$as_me: failed program was:" >&5
29021 sed 's/^/| /' conftest.$ac_ext >&5
29022
29023 glibcxx_cv_func_strtof_use=no
29024 fi
29025 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29026 ac_ext=c
29027 ac_cpp='$CPP $CPPFLAGS'
29028 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29029 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29030 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29031
29032
29033 fi
29034
29035 fi
29036 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtof_use" >&5
29037 echo "${ECHO_T}$glibcxx_cv_func_strtof_use" >&6
29038 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
29039
29040 for ac_func in strtof
29041 do
29042 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29043 echo "$as_me:$LINENO: checking for $ac_func" >&5
29044 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29045 if eval "test \"\${$as_ac_var+set}\" = set"; then
29046 echo $ECHO_N "(cached) $ECHO_C" >&6
29047 else
29048 if test x$gcc_no_link = xyes; then
29049 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29050 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29051 { (exit 1); exit 1; }; }
29052 fi
29053 cat >conftest.$ac_ext <<_ACEOF
29054 /* confdefs.h. */
29055 _ACEOF
29056 cat confdefs.h >>conftest.$ac_ext
29057 cat >>conftest.$ac_ext <<_ACEOF
29058 /* end confdefs.h. */
29059 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29060 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29061 #define $ac_func innocuous_$ac_func
29062
29063 /* System header to define __stub macros and hopefully few prototypes,
29064 which can conflict with char $ac_func (); below.
29065 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29066 <limits.h> exists even on freestanding compilers. */
29067
29068 #ifdef __STDC__
29069 # include <limits.h>
29070 #else
29071 # include <assert.h>
29072 #endif
29073
29074 #undef $ac_func
29075
29076 /* Override any gcc2 internal prototype to avoid an error. */
29077 #ifdef __cplusplus
29078 extern "C"
29079 {
29080 #endif
29081 /* We use char because int might match the return type of a gcc2
29082 builtin and then its argument prototype would still apply. */
29083 char $ac_func ();
29084 /* The GNU C library defines this for functions which it implements
29085 to always fail with ENOSYS. Some functions are actually named
29086 something starting with __ and the normal name is an alias. */
29087 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29088 choke me
29089 #else
29090 char (*f) () = $ac_func;
29091 #endif
29092 #ifdef __cplusplus
29093 }
29094 #endif
29095
29096 int
29097 main ()
29098 {
29099 return f != $ac_func;
29100 ;
29101 return 0;
29102 }
29103 _ACEOF
29104 rm -f conftest.$ac_objext conftest$ac_exeext
29105 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29106 (eval $ac_link) 2>conftest.er1
29107 ac_status=$?
29108 grep -v '^ *+' conftest.er1 >conftest.err
29109 rm -f conftest.er1
29110 cat conftest.err >&5
29111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29112 (exit $ac_status); } &&
29113 { ac_try='test -z "$ac_c_werror_flag"
29114 || test ! -s conftest.err'
29115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29116 (eval $ac_try) 2>&5
29117 ac_status=$?
29118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29119 (exit $ac_status); }; } &&
29120 { ac_try='test -s conftest$ac_exeext'
29121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29122 (eval $ac_try) 2>&5
29123 ac_status=$?
29124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29125 (exit $ac_status); }; }; then
29126 eval "$as_ac_var=yes"
29127 else
29128 echo "$as_me: failed program was:" >&5
29129 sed 's/^/| /' conftest.$ac_ext >&5
29130
29131 eval "$as_ac_var=no"
29132 fi
29133 rm -f conftest.err conftest.$ac_objext \
29134 conftest$ac_exeext conftest.$ac_ext
29135 fi
29136 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29137 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29138 if test `eval echo '${'$as_ac_var'}'` = yes; then
29139 cat >>confdefs.h <<_ACEOF
29140 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29141 _ACEOF
29142
29143 fi
29144 done
29145
29146 fi
29147
29148
29149
29150
29151
29152 CXXFLAGS="$ac_save_CXXFLAGS"
29153
29154
29155 # For showmanyc_helper().
29156
29157
29158 for ac_header in sys/ioctl.h sys/filio.h
29159 do
29160 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
29161 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29162 echo "$as_me:$LINENO: checking for $ac_header" >&5
29163 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29164 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29165 echo $ECHO_N "(cached) $ECHO_C" >&6
29166 fi
29167 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29168 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29169 else
29170 # Is the header compilable?
29171 echo "$as_me:$LINENO: checking $ac_header usability" >&5
29172 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
29173 cat >conftest.$ac_ext <<_ACEOF
29174 /* confdefs.h. */
29175 _ACEOF
29176 cat confdefs.h >>conftest.$ac_ext
29177 cat >>conftest.$ac_ext <<_ACEOF
29178 /* end confdefs.h. */
29179 $ac_includes_default
29180 #include <$ac_header>
29181 _ACEOF
29182 rm -f conftest.$ac_objext
29183 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29184 (eval $ac_compile) 2>conftest.er1
29185 ac_status=$?
29186 grep -v '^ *+' conftest.er1 >conftest.err
29187 rm -f conftest.er1
29188 cat conftest.err >&5
29189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29190 (exit $ac_status); } &&
29191 { ac_try='test -z "$ac_c_werror_flag"
29192 || test ! -s conftest.err'
29193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29194 (eval $ac_try) 2>&5
29195 ac_status=$?
29196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29197 (exit $ac_status); }; } &&
29198 { ac_try='test -s conftest.$ac_objext'
29199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29200 (eval $ac_try) 2>&5
29201 ac_status=$?
29202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29203 (exit $ac_status); }; }; then
29204 ac_header_compiler=yes
29205 else
29206 echo "$as_me: failed program was:" >&5
29207 sed 's/^/| /' conftest.$ac_ext >&5
29208
29209 ac_header_compiler=no
29210 fi
29211 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29212 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
29213 echo "${ECHO_T}$ac_header_compiler" >&6
29214
29215 # Is the header present?
29216 echo "$as_me:$LINENO: checking $ac_header presence" >&5
29217 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
29218 cat >conftest.$ac_ext <<_ACEOF
29219 /* confdefs.h. */
29220 _ACEOF
29221 cat confdefs.h >>conftest.$ac_ext
29222 cat >>conftest.$ac_ext <<_ACEOF
29223 /* end confdefs.h. */
29224 #include <$ac_header>
29225 _ACEOF
29226 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
29227 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
29228 ac_status=$?
29229 grep -v '^ *+' conftest.er1 >conftest.err
29230 rm -f conftest.er1
29231 cat conftest.err >&5
29232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29233 (exit $ac_status); } >/dev/null; then
29234 if test -s conftest.err; then
29235 ac_cpp_err=$ac_c_preproc_warn_flag
29236 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
29237 else
29238 ac_cpp_err=
29239 fi
29240 else
29241 ac_cpp_err=yes
29242 fi
29243 if test -z "$ac_cpp_err"; then
29244 ac_header_preproc=yes
29245 else
29246 echo "$as_me: failed program was:" >&5
29247 sed 's/^/| /' conftest.$ac_ext >&5
29248
29249 ac_header_preproc=no
29250 fi
29251 rm -f conftest.err conftest.$ac_ext
29252 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
29253 echo "${ECHO_T}$ac_header_preproc" >&6
29254
29255 # So? What about this header?
29256 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
29257 yes:no: )
29258 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
29259 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
29260 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
29261 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
29262 ac_header_preproc=yes
29263 ;;
29264 no:yes:* )
29265 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
29266 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
29267 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
29268 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
29269 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
29270 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
29271 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
29272 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
29273 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
29274 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
29275 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
29276 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
29277 (
29278 cat <<\_ASBOX
29279 ## ----------------------------------------- ##
29280 ## Report this to the package-unused lists. ##
29281 ## ----------------------------------------- ##
29282 _ASBOX
29283 ) |
29284 sed "s/^/$as_me: WARNING: /" >&2
29285 ;;
29286 esac
29287 echo "$as_me:$LINENO: checking for $ac_header" >&5
29288 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29289 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29290 echo $ECHO_N "(cached) $ECHO_C" >&6
29291 else
29292 eval "$as_ac_Header=\$ac_header_preproc"
29293 fi
29294 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29295 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29296
29297 fi
29298 if test `eval echo '${'$as_ac_Header'}'` = yes; then
29299 cat >>confdefs.h <<_ACEOF
29300 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
29301 _ACEOF
29302
29303 fi
29304
29305 done
29306
29307
29308 if test "${glibcxx_cv_POLL+set}" = set; then
29309 echo $ECHO_N "(cached) $ECHO_C" >&6
29310 else
29311
29312 if test x$gcc_no_link = xyes; then
29313 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29314 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29315 { (exit 1); exit 1; }; }
29316 fi
29317 cat >conftest.$ac_ext <<_ACEOF
29318 /* confdefs.h. */
29319 _ACEOF
29320 cat confdefs.h >>conftest.$ac_ext
29321 cat >>conftest.$ac_ext <<_ACEOF
29322 /* end confdefs.h. */
29323 #include <poll.h>
29324 int
29325 main ()
29326 {
29327 struct pollfd pfd[1];
29328 pfd[0].events = POLLIN;
29329 poll(pfd, 1, 0);
29330 ;
29331 return 0;
29332 }
29333 _ACEOF
29334 rm -f conftest.$ac_objext conftest$ac_exeext
29335 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29336 (eval $ac_link) 2>conftest.er1
29337 ac_status=$?
29338 grep -v '^ *+' conftest.er1 >conftest.err
29339 rm -f conftest.er1
29340 cat conftest.err >&5
29341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29342 (exit $ac_status); } &&
29343 { ac_try='test -z "$ac_c_werror_flag"
29344 || test ! -s conftest.err'
29345 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29346 (eval $ac_try) 2>&5
29347 ac_status=$?
29348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29349 (exit $ac_status); }; } &&
29350 { ac_try='test -s conftest$ac_exeext'
29351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29352 (eval $ac_try) 2>&5
29353 ac_status=$?
29354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29355 (exit $ac_status); }; }; then
29356 glibcxx_cv_POLL=yes
29357 else
29358 echo "$as_me: failed program was:" >&5
29359 sed 's/^/| /' conftest.$ac_ext >&5
29360
29361 glibcxx_cv_POLL=no
29362 fi
29363 rm -f conftest.err conftest.$ac_objext \
29364 conftest$ac_exeext conftest.$ac_ext
29365
29366 fi
29367
29368 if test $glibcxx_cv_POLL = yes; then
29369
29370 cat >>confdefs.h <<\_ACEOF
29371 #define HAVE_POLL 1
29372 _ACEOF
29373
29374 fi
29375
29376
29377 if test "${glibcxx_cv_S_ISREG+set}" = set; then
29378 echo $ECHO_N "(cached) $ECHO_C" >&6
29379 else
29380
29381 if test x$gcc_no_link = xyes; then
29382 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29383 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29384 { (exit 1); exit 1; }; }
29385 fi
29386 cat >conftest.$ac_ext <<_ACEOF
29387 /* confdefs.h. */
29388 _ACEOF
29389 cat confdefs.h >>conftest.$ac_ext
29390 cat >>conftest.$ac_ext <<_ACEOF
29391 /* end confdefs.h. */
29392 #include <sys/stat.h>
29393 int
29394 main ()
29395 {
29396 struct stat buffer;
29397 fstat(0, &buffer);
29398 S_ISREG(buffer.st_mode);
29399 ;
29400 return 0;
29401 }
29402 _ACEOF
29403 rm -f conftest.$ac_objext conftest$ac_exeext
29404 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29405 (eval $ac_link) 2>conftest.er1
29406 ac_status=$?
29407 grep -v '^ *+' conftest.er1 >conftest.err
29408 rm -f conftest.er1
29409 cat conftest.err >&5
29410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29411 (exit $ac_status); } &&
29412 { ac_try='test -z "$ac_c_werror_flag"
29413 || test ! -s conftest.err'
29414 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29415 (eval $ac_try) 2>&5
29416 ac_status=$?
29417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29418 (exit $ac_status); }; } &&
29419 { ac_try='test -s conftest$ac_exeext'
29420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29421 (eval $ac_try) 2>&5
29422 ac_status=$?
29423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29424 (exit $ac_status); }; }; then
29425 glibcxx_cv_S_ISREG=yes
29426 else
29427 echo "$as_me: failed program was:" >&5
29428 sed 's/^/| /' conftest.$ac_ext >&5
29429
29430 glibcxx_cv_S_ISREG=no
29431 fi
29432 rm -f conftest.err conftest.$ac_objext \
29433 conftest$ac_exeext conftest.$ac_ext
29434
29435 fi
29436
29437 if test "${glibcxx_cv_S_IFREG+set}" = set; then
29438 echo $ECHO_N "(cached) $ECHO_C" >&6
29439 else
29440
29441 if test x$gcc_no_link = xyes; then
29442 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29443 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29444 { (exit 1); exit 1; }; }
29445 fi
29446 cat >conftest.$ac_ext <<_ACEOF
29447 /* confdefs.h. */
29448 _ACEOF
29449 cat confdefs.h >>conftest.$ac_ext
29450 cat >>conftest.$ac_ext <<_ACEOF
29451 /* end confdefs.h. */
29452 #include <sys/stat.h>
29453 int
29454 main ()
29455 {
29456 struct stat buffer;
29457 fstat(0, &buffer);
29458 S_IFREG & buffer.st_mode;
29459 ;
29460 return 0;
29461 }
29462 _ACEOF
29463 rm -f conftest.$ac_objext conftest$ac_exeext
29464 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29465 (eval $ac_link) 2>conftest.er1
29466 ac_status=$?
29467 grep -v '^ *+' conftest.er1 >conftest.err
29468 rm -f conftest.er1
29469 cat conftest.err >&5
29470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29471 (exit $ac_status); } &&
29472 { ac_try='test -z "$ac_c_werror_flag"
29473 || test ! -s conftest.err'
29474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29475 (eval $ac_try) 2>&5
29476 ac_status=$?
29477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29478 (exit $ac_status); }; } &&
29479 { ac_try='test -s conftest$ac_exeext'
29480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29481 (eval $ac_try) 2>&5
29482 ac_status=$?
29483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29484 (exit $ac_status); }; }; then
29485 glibcxx_cv_S_IFREG=yes
29486 else
29487 echo "$as_me: failed program was:" >&5
29488 sed 's/^/| /' conftest.$ac_ext >&5
29489
29490 glibcxx_cv_S_IFREG=no
29491 fi
29492 rm -f conftest.err conftest.$ac_objext \
29493 conftest$ac_exeext conftest.$ac_ext
29494
29495 fi
29496
29497 if test $glibcxx_cv_S_ISREG = yes; then
29498
29499 cat >>confdefs.h <<\_ACEOF
29500 #define HAVE_S_ISREG 1
29501 _ACEOF
29502
29503 elif test $glibcxx_cv_S_IFREG = yes; then
29504
29505 cat >>confdefs.h <<\_ACEOF
29506 #define HAVE_S_IFREG 1
29507 _ACEOF
29508
29509 fi
29510
29511
29512 # For xsputn_2().
29513
29514 for ac_header in sys/uio.h
29515 do
29516 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
29517 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29518 echo "$as_me:$LINENO: checking for $ac_header" >&5
29519 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29520 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29521 echo $ECHO_N "(cached) $ECHO_C" >&6
29522 fi
29523 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29524 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29525 else
29526 # Is the header compilable?
29527 echo "$as_me:$LINENO: checking $ac_header usability" >&5
29528 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
29529 cat >conftest.$ac_ext <<_ACEOF
29530 /* confdefs.h. */
29531 _ACEOF
29532 cat confdefs.h >>conftest.$ac_ext
29533 cat >>conftest.$ac_ext <<_ACEOF
29534 /* end confdefs.h. */
29535 $ac_includes_default
29536 #include <$ac_header>
29537 _ACEOF
29538 rm -f conftest.$ac_objext
29539 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29540 (eval $ac_compile) 2>conftest.er1
29541 ac_status=$?
29542 grep -v '^ *+' conftest.er1 >conftest.err
29543 rm -f conftest.er1
29544 cat conftest.err >&5
29545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29546 (exit $ac_status); } &&
29547 { ac_try='test -z "$ac_c_werror_flag"
29548 || test ! -s conftest.err'
29549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29550 (eval $ac_try) 2>&5
29551 ac_status=$?
29552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29553 (exit $ac_status); }; } &&
29554 { ac_try='test -s conftest.$ac_objext'
29555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29556 (eval $ac_try) 2>&5
29557 ac_status=$?
29558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29559 (exit $ac_status); }; }; then
29560 ac_header_compiler=yes
29561 else
29562 echo "$as_me: failed program was:" >&5
29563 sed 's/^/| /' conftest.$ac_ext >&5
29564
29565 ac_header_compiler=no
29566 fi
29567 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29568 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
29569 echo "${ECHO_T}$ac_header_compiler" >&6
29570
29571 # Is the header present?
29572 echo "$as_me:$LINENO: checking $ac_header presence" >&5
29573 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
29574 cat >conftest.$ac_ext <<_ACEOF
29575 /* confdefs.h. */
29576 _ACEOF
29577 cat confdefs.h >>conftest.$ac_ext
29578 cat >>conftest.$ac_ext <<_ACEOF
29579 /* end confdefs.h. */
29580 #include <$ac_header>
29581 _ACEOF
29582 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
29583 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
29584 ac_status=$?
29585 grep -v '^ *+' conftest.er1 >conftest.err
29586 rm -f conftest.er1
29587 cat conftest.err >&5
29588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29589 (exit $ac_status); } >/dev/null; then
29590 if test -s conftest.err; then
29591 ac_cpp_err=$ac_c_preproc_warn_flag
29592 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
29593 else
29594 ac_cpp_err=
29595 fi
29596 else
29597 ac_cpp_err=yes
29598 fi
29599 if test -z "$ac_cpp_err"; then
29600 ac_header_preproc=yes
29601 else
29602 echo "$as_me: failed program was:" >&5
29603 sed 's/^/| /' conftest.$ac_ext >&5
29604
29605 ac_header_preproc=no
29606 fi
29607 rm -f conftest.err conftest.$ac_ext
29608 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
29609 echo "${ECHO_T}$ac_header_preproc" >&6
29610
29611 # So? What about this header?
29612 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
29613 yes:no: )
29614 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
29615 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
29616 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
29617 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
29618 ac_header_preproc=yes
29619 ;;
29620 no:yes:* )
29621 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
29622 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
29623 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
29624 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
29625 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
29626 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
29627 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
29628 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
29629 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
29630 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
29631 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
29632 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
29633 (
29634 cat <<\_ASBOX
29635 ## ----------------------------------------- ##
29636 ## Report this to the package-unused lists. ##
29637 ## ----------------------------------------- ##
29638 _ASBOX
29639 ) |
29640 sed "s/^/$as_me: WARNING: /" >&2
29641 ;;
29642 esac
29643 echo "$as_me:$LINENO: checking for $ac_header" >&5
29644 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29645 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29646 echo $ECHO_N "(cached) $ECHO_C" >&6
29647 else
29648 eval "$as_ac_Header=\$ac_header_preproc"
29649 fi
29650 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29651 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29652
29653 fi
29654 if test `eval echo '${'$as_ac_Header'}'` = yes; then
29655 cat >>confdefs.h <<_ACEOF
29656 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
29657 _ACEOF
29658
29659 fi
29660
29661 done
29662
29663
29664 if test "${glibcxx_cv_WRITEV+set}" = set; then
29665 echo $ECHO_N "(cached) $ECHO_C" >&6
29666 else
29667
29668 if test x$gcc_no_link = xyes; then
29669 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29670 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29671 { (exit 1); exit 1; }; }
29672 fi
29673 cat >conftest.$ac_ext <<_ACEOF
29674 /* confdefs.h. */
29675 _ACEOF
29676 cat confdefs.h >>conftest.$ac_ext
29677 cat >>conftest.$ac_ext <<_ACEOF
29678 /* end confdefs.h. */
29679 #include <sys/uio.h>
29680 int
29681 main ()
29682 {
29683 struct iovec iov[2];
29684 writev(0, iov, 0);
29685 ;
29686 return 0;
29687 }
29688 _ACEOF
29689 rm -f conftest.$ac_objext conftest$ac_exeext
29690 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29691 (eval $ac_link) 2>conftest.er1
29692 ac_status=$?
29693 grep -v '^ *+' conftest.er1 >conftest.err
29694 rm -f conftest.er1
29695 cat conftest.err >&5
29696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29697 (exit $ac_status); } &&
29698 { ac_try='test -z "$ac_c_werror_flag"
29699 || test ! -s conftest.err'
29700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29701 (eval $ac_try) 2>&5
29702 ac_status=$?
29703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29704 (exit $ac_status); }; } &&
29705 { ac_try='test -s conftest$ac_exeext'
29706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29707 (eval $ac_try) 2>&5
29708 ac_status=$?
29709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29710 (exit $ac_status); }; }; then
29711 glibcxx_cv_WRITEV=yes
29712 else
29713 echo "$as_me: failed program was:" >&5
29714 sed 's/^/| /' conftest.$ac_ext >&5
29715
29716 glibcxx_cv_WRITEV=no
29717 fi
29718 rm -f conftest.err conftest.$ac_objext \
29719 conftest$ac_exeext conftest.$ac_ext
29720
29721 fi
29722
29723 if test $glibcxx_cv_WRITEV = yes; then
29724
29725 cat >>confdefs.h <<\_ACEOF
29726 #define HAVE_WRITEV 1
29727 _ACEOF
29728
29729 fi
29730
29731
29732 # For the __streamoff_base_type typedef.
29733
29734 if test "${glibcxx_cv_INT64_T+set}" = set; then
29735 echo $ECHO_N "(cached) $ECHO_C" >&6
29736 else
29737
29738 cat >conftest.$ac_ext <<_ACEOF
29739 /* confdefs.h. */
29740 _ACEOF
29741 cat confdefs.h >>conftest.$ac_ext
29742 cat >>conftest.$ac_ext <<_ACEOF
29743 /* end confdefs.h. */
29744 #include <stdint.h>
29745 int
29746 main ()
29747 {
29748 int64_t var;
29749 ;
29750 return 0;
29751 }
29752 _ACEOF
29753 rm -f conftest.$ac_objext
29754 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29755 (eval $ac_compile) 2>conftest.er1
29756 ac_status=$?
29757 grep -v '^ *+' conftest.er1 >conftest.err
29758 rm -f conftest.er1
29759 cat conftest.err >&5
29760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29761 (exit $ac_status); } &&
29762 { ac_try='test -z "$ac_c_werror_flag"
29763 || test ! -s conftest.err'
29764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29765 (eval $ac_try) 2>&5
29766 ac_status=$?
29767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29768 (exit $ac_status); }; } &&
29769 { ac_try='test -s conftest.$ac_objext'
29770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29771 (eval $ac_try) 2>&5
29772 ac_status=$?
29773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29774 (exit $ac_status); }; }; then
29775 glibcxx_cv_INT64_T=yes
29776 else
29777 echo "$as_me: failed program was:" >&5
29778 sed 's/^/| /' conftest.$ac_ext >&5
29779
29780 glibcxx_cv_INT64_T=no
29781 fi
29782 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29783
29784 fi
29785
29786 if test $glibcxx_cv_INT64_T = yes; then
29787
29788 cat >>confdefs.h <<\_ACEOF
29789 #define HAVE_INT64_T 1
29790 _ACEOF
29791
29792 fi
29793
29794
29795 # For LFS support.
29796
29797
29798
29799 ac_ext=cc
29800 ac_cpp='$CXXCPP $CPPFLAGS'
29801 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29802 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29803 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29804
29805 ac_save_CXXFLAGS="$CXXFLAGS"
29806 CXXFLAGS="$CXXFLAGS -fno-exceptions"
29807 if test "${glibcxx_cv_LFS+set}" = set; then
29808 echo $ECHO_N "(cached) $ECHO_C" >&6
29809 else
29810
29811 if test x$gcc_no_link = xyes; then
29812 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29813 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29814 { (exit 1); exit 1; }; }
29815 fi
29816 cat >conftest.$ac_ext <<_ACEOF
29817 /* confdefs.h. */
29818 _ACEOF
29819 cat confdefs.h >>conftest.$ac_ext
29820 cat >>conftest.$ac_ext <<_ACEOF
29821 /* end confdefs.h. */
29822 #include <unistd.h>
29823 #include <stdio.h>
29824 #include <sys/stat.h>
29825
29826 int
29827 main ()
29828 {
29829 FILE* fp;
29830 fopen64("t", "w");
29831 fseeko64(fp, 0, SEEK_CUR);
29832 ftello64(fp);
29833 lseek64(1, 0, SEEK_CUR);
29834 struct stat64 buf;
29835 fstat64(1, &buf);
29836 ;
29837 return 0;
29838 }
29839 _ACEOF
29840 rm -f conftest.$ac_objext conftest$ac_exeext
29841 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29842 (eval $ac_link) 2>conftest.er1
29843 ac_status=$?
29844 grep -v '^ *+' conftest.er1 >conftest.err
29845 rm -f conftest.er1
29846 cat conftest.err >&5
29847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29848 (exit $ac_status); } &&
29849 { ac_try='test -z "$ac_cxx_werror_flag"
29850 || test ! -s conftest.err'
29851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29852 (eval $ac_try) 2>&5
29853 ac_status=$?
29854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29855 (exit $ac_status); }; } &&
29856 { ac_try='test -s conftest$ac_exeext'
29857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29858 (eval $ac_try) 2>&5
29859 ac_status=$?
29860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29861 (exit $ac_status); }; }; then
29862 glibcxx_cv_LFS=yes
29863 else
29864 echo "$as_me: failed program was:" >&5
29865 sed 's/^/| /' conftest.$ac_ext >&5
29866
29867 glibcxx_cv_LFS=no
29868 fi
29869 rm -f conftest.err conftest.$ac_objext \
29870 conftest$ac_exeext conftest.$ac_ext
29871
29872 fi
29873
29874 if test $glibcxx_cv_LFS = yes; then
29875
29876 cat >>confdefs.h <<\_ACEOF
29877 #define _GLIBCXX_USE_LFS 1
29878 _ACEOF
29879
29880 fi
29881 CXXFLAGS="$ac_save_CXXFLAGS"
29882 ac_ext=c
29883 ac_cpp='$CPP $CPPFLAGS'
29884 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29885 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29886 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29887
29888
29889
29890
29891 if test "${ac_cv_header_locale_h+set}" = set; then
29892 echo "$as_me:$LINENO: checking for locale.h" >&5
29893 echo $ECHO_N "checking for locale.h... $ECHO_C" >&6
29894 if test "${ac_cv_header_locale_h+set}" = set; then
29895 echo $ECHO_N "(cached) $ECHO_C" >&6
29896 fi
29897 echo "$as_me:$LINENO: result: $ac_cv_header_locale_h" >&5
29898 echo "${ECHO_T}$ac_cv_header_locale_h" >&6
29899 else
29900 # Is the header compilable?
29901 echo "$as_me:$LINENO: checking locale.h usability" >&5
29902 echo $ECHO_N "checking locale.h usability... $ECHO_C" >&6
29903 cat >conftest.$ac_ext <<_ACEOF
29904 /* confdefs.h. */
29905 _ACEOF
29906 cat confdefs.h >>conftest.$ac_ext
29907 cat >>conftest.$ac_ext <<_ACEOF
29908 /* end confdefs.h. */
29909 $ac_includes_default
29910 #include <locale.h>
29911 _ACEOF
29912 rm -f conftest.$ac_objext
29913 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29914 (eval $ac_compile) 2>conftest.er1
29915 ac_status=$?
29916 grep -v '^ *+' conftest.er1 >conftest.err
29917 rm -f conftest.er1
29918 cat conftest.err >&5
29919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29920 (exit $ac_status); } &&
29921 { ac_try='test -z "$ac_c_werror_flag"
29922 || test ! -s conftest.err'
29923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29924 (eval $ac_try) 2>&5
29925 ac_status=$?
29926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29927 (exit $ac_status); }; } &&
29928 { ac_try='test -s conftest.$ac_objext'
29929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29930 (eval $ac_try) 2>&5
29931 ac_status=$?
29932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29933 (exit $ac_status); }; }; then
29934 ac_header_compiler=yes
29935 else
29936 echo "$as_me: failed program was:" >&5
29937 sed 's/^/| /' conftest.$ac_ext >&5
29938
29939 ac_header_compiler=no
29940 fi
29941 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29942 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
29943 echo "${ECHO_T}$ac_header_compiler" >&6
29944
29945 # Is the header present?
29946 echo "$as_me:$LINENO: checking locale.h presence" >&5
29947 echo $ECHO_N "checking locale.h presence... $ECHO_C" >&6
29948 cat >conftest.$ac_ext <<_ACEOF
29949 /* confdefs.h. */
29950 _ACEOF
29951 cat confdefs.h >>conftest.$ac_ext
29952 cat >>conftest.$ac_ext <<_ACEOF
29953 /* end confdefs.h. */
29954 #include <locale.h>
29955 _ACEOF
29956 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
29957 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
29958 ac_status=$?
29959 grep -v '^ *+' conftest.er1 >conftest.err
29960 rm -f conftest.er1
29961 cat conftest.err >&5
29962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29963 (exit $ac_status); } >/dev/null; then
29964 if test -s conftest.err; then
29965 ac_cpp_err=$ac_c_preproc_warn_flag
29966 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
29967 else
29968 ac_cpp_err=
29969 fi
29970 else
29971 ac_cpp_err=yes
29972 fi
29973 if test -z "$ac_cpp_err"; then
29974 ac_header_preproc=yes
29975 else
29976 echo "$as_me: failed program was:" >&5
29977 sed 's/^/| /' conftest.$ac_ext >&5
29978
29979 ac_header_preproc=no
29980 fi
29981 rm -f conftest.err conftest.$ac_ext
29982 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
29983 echo "${ECHO_T}$ac_header_preproc" >&6
29984
29985 # So? What about this header?
29986 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
29987 yes:no: )
29988 { echo "$as_me:$LINENO: WARNING: locale.h: accepted by the compiler, rejected by the preprocessor!" >&5
29989 echo "$as_me: WARNING: locale.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
29990 { echo "$as_me:$LINENO: WARNING: locale.h: proceeding with the compiler's result" >&5
29991 echo "$as_me: WARNING: locale.h: proceeding with the compiler's result" >&2;}
29992 ac_header_preproc=yes
29993 ;;
29994 no:yes:* )
29995 { echo "$as_me:$LINENO: WARNING: locale.h: present but cannot be compiled" >&5
29996 echo "$as_me: WARNING: locale.h: present but cannot be compiled" >&2;}
29997 { echo "$as_me:$LINENO: WARNING: locale.h: check for missing prerequisite headers?" >&5
29998 echo "$as_me: WARNING: locale.h: check for missing prerequisite headers?" >&2;}
29999 { echo "$as_me:$LINENO: WARNING: locale.h: see the Autoconf documentation" >&5
30000 echo "$as_me: WARNING: locale.h: see the Autoconf documentation" >&2;}
30001 { echo "$as_me:$LINENO: WARNING: locale.h: section \"Present But Cannot Be Compiled\"" >&5
30002 echo "$as_me: WARNING: locale.h: section \"Present But Cannot Be Compiled\"" >&2;}
30003 { echo "$as_me:$LINENO: WARNING: locale.h: proceeding with the preprocessor's result" >&5
30004 echo "$as_me: WARNING: locale.h: proceeding with the preprocessor's result" >&2;}
30005 { echo "$as_me:$LINENO: WARNING: locale.h: in the future, the compiler will take precedence" >&5
30006 echo "$as_me: WARNING: locale.h: in the future, the compiler will take precedence" >&2;}
30007 (
30008 cat <<\_ASBOX
30009 ## ----------------------------------------- ##
30010 ## Report this to the package-unused lists. ##
30011 ## ----------------------------------------- ##
30012 _ASBOX
30013 ) |
30014 sed "s/^/$as_me: WARNING: /" >&2
30015 ;;
30016 esac
30017 echo "$as_me:$LINENO: checking for locale.h" >&5
30018 echo $ECHO_N "checking for locale.h... $ECHO_C" >&6
30019 if test "${ac_cv_header_locale_h+set}" = set; then
30020 echo $ECHO_N "(cached) $ECHO_C" >&6
30021 else
30022 ac_cv_header_locale_h=$ac_header_preproc
30023 fi
30024 echo "$as_me:$LINENO: result: $ac_cv_header_locale_h" >&5
30025 echo "${ECHO_T}$ac_cv_header_locale_h" >&6
30026
30027 fi
30028 if test $ac_cv_header_locale_h = yes; then
30029
30030 echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5
30031 echo $ECHO_N "checking for LC_MESSAGES... $ECHO_C" >&6
30032 if test "${ac_cv_val_LC_MESSAGES+set}" = set; then
30033 echo $ECHO_N "(cached) $ECHO_C" >&6
30034 else
30035 if test x$gcc_no_link = xyes; then
30036 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30037 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30038 { (exit 1); exit 1; }; }
30039 fi
30040 cat >conftest.$ac_ext <<_ACEOF
30041 /* confdefs.h. */
30042 _ACEOF
30043 cat confdefs.h >>conftest.$ac_ext
30044 cat >>conftest.$ac_ext <<_ACEOF
30045 /* end confdefs.h. */
30046 #include <locale.h>
30047 int
30048 main ()
30049 {
30050 return LC_MESSAGES
30051 ;
30052 return 0;
30053 }
30054 _ACEOF
30055 rm -f conftest.$ac_objext conftest$ac_exeext
30056 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30057 (eval $ac_link) 2>conftest.er1
30058 ac_status=$?
30059 grep -v '^ *+' conftest.er1 >conftest.err
30060 rm -f conftest.er1
30061 cat conftest.err >&5
30062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30063 (exit $ac_status); } &&
30064 { ac_try='test -z "$ac_c_werror_flag"
30065 || test ! -s conftest.err'
30066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30067 (eval $ac_try) 2>&5
30068 ac_status=$?
30069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30070 (exit $ac_status); }; } &&
30071 { ac_try='test -s conftest$ac_exeext'
30072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30073 (eval $ac_try) 2>&5
30074 ac_status=$?
30075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30076 (exit $ac_status); }; }; then
30077 ac_cv_val_LC_MESSAGES=yes
30078 else
30079 echo "$as_me: failed program was:" >&5
30080 sed 's/^/| /' conftest.$ac_ext >&5
30081
30082 ac_cv_val_LC_MESSAGES=no
30083 fi
30084 rm -f conftest.err conftest.$ac_objext \
30085 conftest$ac_exeext conftest.$ac_ext
30086 fi
30087 echo "$as_me:$LINENO: result: $ac_cv_val_LC_MESSAGES" >&5
30088 echo "${ECHO_T}$ac_cv_val_LC_MESSAGES" >&6
30089 if test $ac_cv_val_LC_MESSAGES = yes; then
30090
30091 cat >>confdefs.h <<\_ACEOF
30092 #define HAVE_LC_MESSAGES 1
30093 _ACEOF
30094
30095 fi
30096
30097 fi
30098
30099
30100
30101
30102 cat >conftest.$ac_ext <<_ACEOF
30103 /* confdefs.h. */
30104 _ACEOF
30105 cat confdefs.h >>conftest.$ac_ext
30106 cat >>conftest.$ac_ext <<_ACEOF
30107 /* end confdefs.h. */
30108 #include <setjmp.h>
30109 int
30110 main ()
30111 {
30112 sigjmp_buf env;
30113 while (! sigsetjmp (env, 1))
30114 siglongjmp (env, 1);
30115
30116 ;
30117 return 0;
30118 }
30119 _ACEOF
30120 rm -f conftest.$ac_objext
30121 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30122 (eval $ac_compile) 2>conftest.er1
30123 ac_status=$?
30124 grep -v '^ *+' conftest.er1 >conftest.err
30125 rm -f conftest.er1
30126 cat conftest.err >&5
30127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30128 (exit $ac_status); } &&
30129 { ac_try='test -z "$ac_c_werror_flag"
30130 || test ! -s conftest.err'
30131 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30132 (eval $ac_try) 2>&5
30133 ac_status=$?
30134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30135 (exit $ac_status); }; } &&
30136 { ac_try='test -s conftest.$ac_objext'
30137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30138 (eval $ac_try) 2>&5
30139 ac_status=$?
30140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30141 (exit $ac_status); }; }; then
30142
30143 cat >>confdefs.h <<\_ACEOF
30144 #define HAVE_SIGSETJMP 1
30145 _ACEOF
30146
30147 else
30148 echo "$as_me: failed program was:" >&5
30149 sed 's/^/| /' conftest.$ac_ext >&5
30150
30151 fi
30152 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30153
30154 if test x$gcc_no_link = xyes; then
30155 if test "x${ac_cv_func_mmap_fixed_mapped+set}" != xset; then
30156 ac_cv_func_mmap_fixed_mapped=no
30157 fi
30158 fi
30159 if test "x${ac_cv_func_mmap_fixed_mapped}" != xno; then
30160
30161
30162 for ac_header in stdlib.h unistd.h
30163 do
30164 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
30165 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30166 echo "$as_me:$LINENO: checking for $ac_header" >&5
30167 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
30168 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30169 echo $ECHO_N "(cached) $ECHO_C" >&6
30170 fi
30171 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
30172 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
30173 else
30174 # Is the header compilable?
30175 echo "$as_me:$LINENO: checking $ac_header usability" >&5
30176 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
30177 cat >conftest.$ac_ext <<_ACEOF
30178 /* confdefs.h. */
30179 _ACEOF
30180 cat confdefs.h >>conftest.$ac_ext
30181 cat >>conftest.$ac_ext <<_ACEOF
30182 /* end confdefs.h. */
30183 $ac_includes_default
30184 #include <$ac_header>
30185 _ACEOF
30186 rm -f conftest.$ac_objext
30187 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30188 (eval $ac_compile) 2>conftest.er1
30189 ac_status=$?
30190 grep -v '^ *+' conftest.er1 >conftest.err
30191 rm -f conftest.er1
30192 cat conftest.err >&5
30193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30194 (exit $ac_status); } &&
30195 { ac_try='test -z "$ac_c_werror_flag"
30196 || test ! -s conftest.err'
30197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30198 (eval $ac_try) 2>&5
30199 ac_status=$?
30200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30201 (exit $ac_status); }; } &&
30202 { ac_try='test -s conftest.$ac_objext'
30203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30204 (eval $ac_try) 2>&5
30205 ac_status=$?
30206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30207 (exit $ac_status); }; }; then
30208 ac_header_compiler=yes
30209 else
30210 echo "$as_me: failed program was:" >&5
30211 sed 's/^/| /' conftest.$ac_ext >&5
30212
30213 ac_header_compiler=no
30214 fi
30215 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30216 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
30217 echo "${ECHO_T}$ac_header_compiler" >&6
30218
30219 # Is the header present?
30220 echo "$as_me:$LINENO: checking $ac_header presence" >&5
30221 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
30222 cat >conftest.$ac_ext <<_ACEOF
30223 /* confdefs.h. */
30224 _ACEOF
30225 cat confdefs.h >>conftest.$ac_ext
30226 cat >>conftest.$ac_ext <<_ACEOF
30227 /* end confdefs.h. */
30228 #include <$ac_header>
30229 _ACEOF
30230 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
30231 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
30232 ac_status=$?
30233 grep -v '^ *+' conftest.er1 >conftest.err
30234 rm -f conftest.er1
30235 cat conftest.err >&5
30236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30237 (exit $ac_status); } >/dev/null; then
30238 if test -s conftest.err; then
30239 ac_cpp_err=$ac_c_preproc_warn_flag
30240 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
30241 else
30242 ac_cpp_err=
30243 fi
30244 else
30245 ac_cpp_err=yes
30246 fi
30247 if test -z "$ac_cpp_err"; then
30248 ac_header_preproc=yes
30249 else
30250 echo "$as_me: failed program was:" >&5
30251 sed 's/^/| /' conftest.$ac_ext >&5
30252
30253 ac_header_preproc=no
30254 fi
30255 rm -f conftest.err conftest.$ac_ext
30256 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
30257 echo "${ECHO_T}$ac_header_preproc" >&6
30258
30259 # So? What about this header?
30260 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
30261 yes:no: )
30262 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
30263 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
30264 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
30265 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
30266 ac_header_preproc=yes
30267 ;;
30268 no:yes:* )
30269 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
30270 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
30271 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
30272 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
30273 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
30274 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
30275 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
30276 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
30277 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
30278 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
30279 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
30280 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
30281 (
30282 cat <<\_ASBOX
30283 ## ----------------------------------------- ##
30284 ## Report this to the package-unused lists. ##
30285 ## ----------------------------------------- ##
30286 _ASBOX
30287 ) |
30288 sed "s/^/$as_me: WARNING: /" >&2
30289 ;;
30290 esac
30291 echo "$as_me:$LINENO: checking for $ac_header" >&5
30292 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
30293 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30294 echo $ECHO_N "(cached) $ECHO_C" >&6
30295 else
30296 eval "$as_ac_Header=\$ac_header_preproc"
30297 fi
30298 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
30299 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
30300
30301 fi
30302 if test `eval echo '${'$as_ac_Header'}'` = yes; then
30303 cat >>confdefs.h <<_ACEOF
30304 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
30305 _ACEOF
30306
30307 fi
30308
30309 done
30310
30311
30312 for ac_func in getpagesize
30313 do
30314 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30315 echo "$as_me:$LINENO: checking for $ac_func" >&5
30316 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30317 if eval "test \"\${$as_ac_var+set}\" = set"; then
30318 echo $ECHO_N "(cached) $ECHO_C" >&6
30319 else
30320 if test x$gcc_no_link = xyes; then
30321 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30322 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30323 { (exit 1); exit 1; }; }
30324 fi
30325 cat >conftest.$ac_ext <<_ACEOF
30326 /* confdefs.h. */
30327 _ACEOF
30328 cat confdefs.h >>conftest.$ac_ext
30329 cat >>conftest.$ac_ext <<_ACEOF
30330 /* end confdefs.h. */
30331 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30332 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30333 #define $ac_func innocuous_$ac_func
30334
30335 /* System header to define __stub macros and hopefully few prototypes,
30336 which can conflict with char $ac_func (); below.
30337 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30338 <limits.h> exists even on freestanding compilers. */
30339
30340 #ifdef __STDC__
30341 # include <limits.h>
30342 #else
30343 # include <assert.h>
30344 #endif
30345
30346 #undef $ac_func
30347
30348 /* Override any gcc2 internal prototype to avoid an error. */
30349 #ifdef __cplusplus
30350 extern "C"
30351 {
30352 #endif
30353 /* We use char because int might match the return type of a gcc2
30354 builtin and then its argument prototype would still apply. */
30355 char $ac_func ();
30356 /* The GNU C library defines this for functions which it implements
30357 to always fail with ENOSYS. Some functions are actually named
30358 something starting with __ and the normal name is an alias. */
30359 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30360 choke me
30361 #else
30362 char (*f) () = $ac_func;
30363 #endif
30364 #ifdef __cplusplus
30365 }
30366 #endif
30367
30368 int
30369 main ()
30370 {
30371 return f != $ac_func;
30372 ;
30373 return 0;
30374 }
30375 _ACEOF
30376 rm -f conftest.$ac_objext conftest$ac_exeext
30377 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30378 (eval $ac_link) 2>conftest.er1
30379 ac_status=$?
30380 grep -v '^ *+' conftest.er1 >conftest.err
30381 rm -f conftest.er1
30382 cat conftest.err >&5
30383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30384 (exit $ac_status); } &&
30385 { ac_try='test -z "$ac_c_werror_flag"
30386 || test ! -s conftest.err'
30387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30388 (eval $ac_try) 2>&5
30389 ac_status=$?
30390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30391 (exit $ac_status); }; } &&
30392 { ac_try='test -s conftest$ac_exeext'
30393 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30394 (eval $ac_try) 2>&5
30395 ac_status=$?
30396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30397 (exit $ac_status); }; }; then
30398 eval "$as_ac_var=yes"
30399 else
30400 echo "$as_me: failed program was:" >&5
30401 sed 's/^/| /' conftest.$ac_ext >&5
30402
30403 eval "$as_ac_var=no"
30404 fi
30405 rm -f conftest.err conftest.$ac_objext \
30406 conftest$ac_exeext conftest.$ac_ext
30407 fi
30408 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30409 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30410 if test `eval echo '${'$as_ac_var'}'` = yes; then
30411 cat >>confdefs.h <<_ACEOF
30412 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30413 _ACEOF
30414
30415 fi
30416 done
30417
30418 echo "$as_me:$LINENO: checking for working mmap" >&5
30419 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
30420 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
30421 echo $ECHO_N "(cached) $ECHO_C" >&6
30422 else
30423 if test "$cross_compiling" = yes; then
30424 ac_cv_func_mmap_fixed_mapped=no
30425 else
30426 cat >conftest.$ac_ext <<_ACEOF
30427 /* confdefs.h. */
30428 _ACEOF
30429 cat confdefs.h >>conftest.$ac_ext
30430 cat >>conftest.$ac_ext <<_ACEOF
30431 /* end confdefs.h. */
30432 $ac_includes_default
30433 /* malloc might have been renamed as rpl_malloc. */
30434 #undef malloc
30435
30436 /* Thanks to Mike Haertel and Jim Avera for this test.
30437 Here is a matrix of mmap possibilities:
30438 mmap private not fixed
30439 mmap private fixed at somewhere currently unmapped
30440 mmap private fixed at somewhere already mapped
30441 mmap shared not fixed
30442 mmap shared fixed at somewhere currently unmapped
30443 mmap shared fixed at somewhere already mapped
30444 For private mappings, we should verify that changes cannot be read()
30445 back from the file, nor mmap's back from the file at a different
30446 address. (There have been systems where private was not correctly
30447 implemented like the infamous i386 svr4.0, and systems where the
30448 VM page cache was not coherent with the file system buffer cache
30449 like early versions of FreeBSD and possibly contemporary NetBSD.)
30450 For shared mappings, we should conversely verify that changes get
30451 propagated back to all the places they're supposed to be.
30452
30453 Grep wants private fixed already mapped.
30454 The main things grep needs to know about mmap are:
30455 * does it exist and is it safe to write into the mmap'd area
30456 * how to use it (BSD variants) */
30457
30458 #include <fcntl.h>
30459 #include <sys/mman.h>
30460
30461 #if !STDC_HEADERS && !HAVE_STDLIB_H
30462 char *malloc ();
30463 #endif
30464
30465 /* This mess was copied from the GNU getpagesize.h. */
30466 #if !HAVE_GETPAGESIZE
30467 /* Assume that all systems that can run configure have sys/param.h. */
30468 # if !HAVE_SYS_PARAM_H
30469 # define HAVE_SYS_PARAM_H 1
30470 # endif
30471
30472 # ifdef _SC_PAGESIZE
30473 # define getpagesize() sysconf(_SC_PAGESIZE)
30474 # else /* no _SC_PAGESIZE */
30475 # if HAVE_SYS_PARAM_H
30476 # include <sys/param.h>
30477 # ifdef EXEC_PAGESIZE
30478 # define getpagesize() EXEC_PAGESIZE
30479 # else /* no EXEC_PAGESIZE */
30480 # ifdef NBPG
30481 # define getpagesize() NBPG * CLSIZE
30482 # ifndef CLSIZE
30483 # define CLSIZE 1
30484 # endif /* no CLSIZE */
30485 # else /* no NBPG */
30486 # ifdef NBPC
30487 # define getpagesize() NBPC
30488 # else /* no NBPC */
30489 # ifdef PAGESIZE
30490 # define getpagesize() PAGESIZE
30491 # endif /* PAGESIZE */
30492 # endif /* no NBPC */
30493 # endif /* no NBPG */
30494 # endif /* no EXEC_PAGESIZE */
30495 # else /* no HAVE_SYS_PARAM_H */
30496 # define getpagesize() 8192 /* punt totally */
30497 # endif /* no HAVE_SYS_PARAM_H */
30498 # endif /* no _SC_PAGESIZE */
30499
30500 #endif /* no HAVE_GETPAGESIZE */
30501
30502 int
30503 main ()
30504 {
30505 char *data, *data2, *data3;
30506 int i, pagesize;
30507 int fd;
30508
30509 pagesize = getpagesize ();
30510
30511 /* First, make a file with some known garbage in it. */
30512 data = (char *) malloc (pagesize);
30513 if (!data)
30514 exit (1);
30515 for (i = 0; i < pagesize; ++i)
30516 *(data + i) = rand ();
30517 umask (0);
30518 fd = creat ("conftest.mmap", 0600);
30519 if (fd < 0)
30520 exit (1);
30521 if (write (fd, data, pagesize) != pagesize)
30522 exit (1);
30523 close (fd);
30524
30525 /* Next, try to mmap the file at a fixed address which already has
30526 something else allocated at it. If we can, also make sure that
30527 we see the same garbage. */
30528 fd = open ("conftest.mmap", O_RDWR);
30529 if (fd < 0)
30530 exit (1);
30531 data2 = (char *) malloc (2 * pagesize);
30532 if (!data2)
30533 exit (1);
30534 data2 += (pagesize - ((long) data2 & (pagesize - 1))) & (pagesize - 1);
30535 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
30536 MAP_PRIVATE | MAP_FIXED, fd, 0L))
30537 exit (1);
30538 for (i = 0; i < pagesize; ++i)
30539 if (*(data + i) != *(data2 + i))
30540 exit (1);
30541
30542 /* Finally, make sure that changes to the mapped area do not
30543 percolate back to the file as seen by read(). (This is a bug on
30544 some variants of i386 svr4.0.) */
30545 for (i = 0; i < pagesize; ++i)
30546 *(data2 + i) = *(data2 + i) + 1;
30547 data3 = (char *) malloc (pagesize);
30548 if (!data3)
30549 exit (1);
30550 if (read (fd, data3, pagesize) != pagesize)
30551 exit (1);
30552 for (i = 0; i < pagesize; ++i)
30553 if (*(data + i) != *(data3 + i))
30554 exit (1);
30555 close (fd);
30556 exit (0);
30557 }
30558 _ACEOF
30559 rm -f conftest$ac_exeext
30560 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30561 (eval $ac_link) 2>&5
30562 ac_status=$?
30563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30564 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
30565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30566 (eval $ac_try) 2>&5
30567 ac_status=$?
30568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30569 (exit $ac_status); }; }; then
30570 ac_cv_func_mmap_fixed_mapped=yes
30571 else
30572 echo "$as_me: program exited with status $ac_status" >&5
30573 echo "$as_me: failed program was:" >&5
30574 sed 's/^/| /' conftest.$ac_ext >&5
30575
30576 ( exit $ac_status )
30577 ac_cv_func_mmap_fixed_mapped=no
30578 fi
30579 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
30580 fi
30581 fi
30582 echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
30583 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
30584 if test $ac_cv_func_mmap_fixed_mapped = yes; then
30585
30586 cat >>confdefs.h <<\_ACEOF
30587 #define HAVE_MMAP 1
30588 _ACEOF
30589
30590 fi
30591 rm -f conftest.mmap
30592
30593 fi
30594
30595 else
30596
30597 # This lets us hard-code the functionality we know we'll have in the cross
30598 # target environment. "Let" is a sugar-coated word placed on an especially
30599 # dull and tedious hack, actually.
30600 #
30601 # Here's why GLIBCXX_CHECK_MATH_SUPPORT, and other autoconf macros
30602 # that involve linking, can't be used:
30603 # "cannot open sim-crt0.o"
30604 # "cannot open crt0.o"
30605 # etc. All this is because there currently exists no unified, consistent
30606 # way for top level CC information to be passed down to target directories:
30607 # newlib includes, newlib linking info, libgloss versus newlib crt0.o, etc.
30608 # When all of that is done, all of this hokey, excessive AC_DEFINE junk for
30609 # crosses can be removed.
30610
30611 # If Canadian cross, then don't pick up tools from the build directory.
30612 # Used only in GLIBCXX_EXPORT_INCLUDES.
30613 if test -n "$with_cross_host" &&
30614 test x"$build_alias" != x"$with_cross_host" &&
30615 test x"$build" != x"$target";
30616 then
30617 CANADIAN=yes
30618 else
30619 CANADIAN=no
30620 fi
30621
30622 # Construct crosses by hand, eliminating bits that need ld...
30623 # GLIBCXX_CHECK_COMPILER_FEATURES
30624 # GLIBCXX_CHECK_BUILTIN_MATH_SUPPORT
30625 # GLIBCXX_CHECK_MATH_SUPPORT
30626
30627 # First, test for "known" system libraries. We may be using newlib even
30628 # on a hosted environment.
30629 if test "x${with_newlib}" = "xyes"; then
30630 os_include_dir="os/newlib"
30631 cat >>confdefs.h <<\_ACEOF
30632 #define HAVE_HYPOT 1
30633 _ACEOF
30634
30635
30636 # GLIBCXX_CHECK_STDLIB_SUPPORT
30637 cat >>confdefs.h <<\_ACEOF
30638 #define HAVE_STRTOF 1
30639 _ACEOF
30640
30641 # AC_FUNC_MMAP
30642 cat >>confdefs.h <<\_ACEOF
30643 #define HAVE_MMAP 1
30644 _ACEOF
30645
30646
30647 cat >>confdefs.h <<\_ACEOF
30648 #define HAVE_ACOSF 1
30649 _ACEOF
30650
30651 cat >>confdefs.h <<\_ACEOF
30652 #define HAVE_ASINF 1
30653 _ACEOF
30654
30655 cat >>confdefs.h <<\_ACEOF
30656 #define HAVE_ATAN2F 1
30657 _ACEOF
30658
30659 cat >>confdefs.h <<\_ACEOF
30660 #define HAVE_ATANF 1
30661 _ACEOF
30662
30663 cat >>confdefs.h <<\_ACEOF
30664 #define HAVE_CEILF 1
30665 _ACEOF
30666
30667 cat >>confdefs.h <<\_ACEOF
30668 #define HAVE_COPYSIGN 1
30669 _ACEOF
30670
30671 cat >>confdefs.h <<\_ACEOF
30672 #define HAVE_COPYSIGNF 1
30673 _ACEOF
30674
30675 cat >>confdefs.h <<\_ACEOF
30676 #define HAVE_COSF 1
30677 _ACEOF
30678
30679 cat >>confdefs.h <<\_ACEOF
30680 #define HAVE_COSHF 1
30681 _ACEOF
30682
30683 cat >>confdefs.h <<\_ACEOF
30684 #define HAVE_EXPF 1
30685 _ACEOF
30686
30687 cat >>confdefs.h <<\_ACEOF
30688 #define HAVE_FABSF 1
30689 _ACEOF
30690
30691 cat >>confdefs.h <<\_ACEOF
30692 #define HAVE_FLOORF 1
30693 _ACEOF
30694
30695 cat >>confdefs.h <<\_ACEOF
30696 #define HAVE_FMODF 1
30697 _ACEOF
30698
30699 cat >>confdefs.h <<\_ACEOF
30700 #define HAVE_FREXPF 1
30701 _ACEOF
30702
30703 cat >>confdefs.h <<\_ACEOF
30704 #define HAVE_LDEXPF 1
30705 _ACEOF
30706
30707 cat >>confdefs.h <<\_ACEOF
30708 #define HAVE_LOG10F 1
30709 _ACEOF
30710
30711 cat >>confdefs.h <<\_ACEOF
30712 #define HAVE_LOGF 1
30713 _ACEOF
30714
30715 cat >>confdefs.h <<\_ACEOF
30716 #define HAVE_MODFF 1
30717 _ACEOF
30718
30719 cat >>confdefs.h <<\_ACEOF
30720 #define HAVE_POWF 1
30721 _ACEOF
30722
30723 cat >>confdefs.h <<\_ACEOF
30724 #define HAVE_SINF 1
30725 _ACEOF
30726
30727 cat >>confdefs.h <<\_ACEOF
30728 #define HAVE_SINHF 1
30729 _ACEOF
30730
30731 cat >>confdefs.h <<\_ACEOF
30732 #define HAVE_SQRTF 1
30733 _ACEOF
30734
30735 cat >>confdefs.h <<\_ACEOF
30736 #define HAVE_TANF 1
30737 _ACEOF
30738
30739 cat >>confdefs.h <<\_ACEOF
30740 #define HAVE_TANHF 1
30741 _ACEOF
30742
30743
30744 cat >>confdefs.h <<\_ACEOF
30745 #define HAVE_S_ISREG 1
30746 _ACEOF
30747
30748 cat >>confdefs.h <<\_ACEOF
30749 #define HAVE_S_IFREG 1
30750 _ACEOF
30751
30752 else
30753
30754 # Base decisions on target environment.
30755 case "${host}" in
30756 arm*-*-symbianelf*)
30757 # This is a freestanding configuration; there is nothing to do here.
30758 ;;
30759
30760 *-darwin*)
30761 # Darwin versions vary, but the linker should work in a cross environment,
30762 # so we just check for all the features here.
30763 # Check for available headers.
30764
30765
30766
30767
30768
30769
30770
30771
30772
30773
30774
30775
30776
30777 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h machine/endian.h \
30778 machine/param.h sys/machine.h fp.h locale.h float.h inttypes.h gconv.h \
30779 sys/types.h
30780 do
30781 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
30782 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30783 echo "$as_me:$LINENO: checking for $ac_header" >&5
30784 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
30785 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30786 echo $ECHO_N "(cached) $ECHO_C" >&6
30787 fi
30788 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
30789 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
30790 else
30791 # Is the header compilable?
30792 echo "$as_me:$LINENO: checking $ac_header usability" >&5
30793 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
30794 cat >conftest.$ac_ext <<_ACEOF
30795 /* confdefs.h. */
30796 _ACEOF
30797 cat confdefs.h >>conftest.$ac_ext
30798 cat >>conftest.$ac_ext <<_ACEOF
30799 /* end confdefs.h. */
30800 $ac_includes_default
30801 #include <$ac_header>
30802 _ACEOF
30803 rm -f conftest.$ac_objext
30804 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30805 (eval $ac_compile) 2>conftest.er1
30806 ac_status=$?
30807 grep -v '^ *+' conftest.er1 >conftest.err
30808 rm -f conftest.er1
30809 cat conftest.err >&5
30810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30811 (exit $ac_status); } &&
30812 { ac_try='test -z "$ac_c_werror_flag"
30813 || test ! -s conftest.err'
30814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30815 (eval $ac_try) 2>&5
30816 ac_status=$?
30817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30818 (exit $ac_status); }; } &&
30819 { ac_try='test -s conftest.$ac_objext'
30820 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30821 (eval $ac_try) 2>&5
30822 ac_status=$?
30823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30824 (exit $ac_status); }; }; then
30825 ac_header_compiler=yes
30826 else
30827 echo "$as_me: failed program was:" >&5
30828 sed 's/^/| /' conftest.$ac_ext >&5
30829
30830 ac_header_compiler=no
30831 fi
30832 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30833 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
30834 echo "${ECHO_T}$ac_header_compiler" >&6
30835
30836 # Is the header present?
30837 echo "$as_me:$LINENO: checking $ac_header presence" >&5
30838 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
30839 cat >conftest.$ac_ext <<_ACEOF
30840 /* confdefs.h. */
30841 _ACEOF
30842 cat confdefs.h >>conftest.$ac_ext
30843 cat >>conftest.$ac_ext <<_ACEOF
30844 /* end confdefs.h. */
30845 #include <$ac_header>
30846 _ACEOF
30847 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
30848 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
30849 ac_status=$?
30850 grep -v '^ *+' conftest.er1 >conftest.err
30851 rm -f conftest.er1
30852 cat conftest.err >&5
30853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30854 (exit $ac_status); } >/dev/null; then
30855 if test -s conftest.err; then
30856 ac_cpp_err=$ac_c_preproc_warn_flag
30857 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
30858 else
30859 ac_cpp_err=
30860 fi
30861 else
30862 ac_cpp_err=yes
30863 fi
30864 if test -z "$ac_cpp_err"; then
30865 ac_header_preproc=yes
30866 else
30867 echo "$as_me: failed program was:" >&5
30868 sed 's/^/| /' conftest.$ac_ext >&5
30869
30870 ac_header_preproc=no
30871 fi
30872 rm -f conftest.err conftest.$ac_ext
30873 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
30874 echo "${ECHO_T}$ac_header_preproc" >&6
30875
30876 # So? What about this header?
30877 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
30878 yes:no: )
30879 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
30880 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
30881 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
30882 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
30883 ac_header_preproc=yes
30884 ;;
30885 no:yes:* )
30886 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
30887 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
30888 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
30889 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
30890 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
30891 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
30892 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
30893 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
30894 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
30895 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
30896 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
30897 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
30898 (
30899 cat <<\_ASBOX
30900 ## ----------------------------------------- ##
30901 ## Report this to the package-unused lists. ##
30902 ## ----------------------------------------- ##
30903 _ASBOX
30904 ) |
30905 sed "s/^/$as_me: WARNING: /" >&2
30906 ;;
30907 esac
30908 echo "$as_me:$LINENO: checking for $ac_header" >&5
30909 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
30910 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30911 echo $ECHO_N "(cached) $ECHO_C" >&6
30912 else
30913 eval "$as_ac_Header=\$ac_header_preproc"
30914 fi
30915 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
30916 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
30917
30918 fi
30919 if test `eval echo '${'$as_ac_Header'}'` = yes; then
30920 cat >>confdefs.h <<_ACEOF
30921 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
30922 _ACEOF
30923
30924 fi
30925
30926 done
30927
30928
30929
30930 # All these tests are for C++; save the language and the compiler flags.
30931 # The CXXFLAGS thing is suspicious, but based on similar bits previously
30932 # found in GLIBCXX_CONFIGURE.
30933
30934
30935 ac_ext=cc
30936 ac_cpp='$CXXCPP $CPPFLAGS'
30937 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30938 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30939 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30940
30941 ac_test_CXXFLAGS="${CXXFLAGS+set}"
30942 ac_save_CXXFLAGS="$CXXFLAGS"
30943
30944 # Check for maintainer-mode bits.
30945 if test x"$USE_MAINTAINER_MODE" = xno; then
30946 WERROR=''
30947 else
30948 WERROR='-Werror'
30949 fi
30950
30951 # Check for -ffunction-sections -fdata-sections
30952 echo "$as_me:$LINENO: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
30953 echo $ECHO_N "checking for g++ that supports -ffunction-sections -fdata-sections... $ECHO_C" >&6
30954 CXXFLAGS='-Werror -ffunction-sections -fdata-sections'
30955 cat >conftest.$ac_ext <<_ACEOF
30956 /* confdefs.h. */
30957 _ACEOF
30958 cat confdefs.h >>conftest.$ac_ext
30959 cat >>conftest.$ac_ext <<_ACEOF
30960 /* end confdefs.h. */
30961
30962 int
30963 main ()
30964 {
30965 int foo;
30966 ;
30967 return 0;
30968 }
30969 _ACEOF
30970 rm -f conftest.$ac_objext
30971 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30972 (eval $ac_compile) 2>conftest.er1
30973 ac_status=$?
30974 grep -v '^ *+' conftest.er1 >conftest.err
30975 rm -f conftest.er1
30976 cat conftest.err >&5
30977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30978 (exit $ac_status); } &&
30979 { ac_try='test -z "$ac_cxx_werror_flag"
30980 || test ! -s conftest.err'
30981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30982 (eval $ac_try) 2>&5
30983 ac_status=$?
30984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30985 (exit $ac_status); }; } &&
30986 { ac_try='test -s conftest.$ac_objext'
30987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30988 (eval $ac_try) 2>&5
30989 ac_status=$?
30990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30991 (exit $ac_status); }; }; then
30992 ac_fdsections=yes
30993 else
30994 echo "$as_me: failed program was:" >&5
30995 sed 's/^/| /' conftest.$ac_ext >&5
30996
30997 ac_fdsections=no
30998 fi
30999 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31000 if test "$ac_test_CXXFLAGS" = set; then
31001 CXXFLAGS="$ac_save_CXXFLAGS"
31002 else
31003 # this is the suspicious part
31004 CXXFLAGS=''
31005 fi
31006 if test x"$ac_fdsections" = x"yes"; then
31007 SECTION_FLAGS='-ffunction-sections -fdata-sections'
31008 fi
31009 echo "$as_me:$LINENO: result: $ac_fdsections" >&5
31010 echo "${ECHO_T}$ac_fdsections" >&6
31011
31012 ac_ext=c
31013 ac_cpp='$CPP $CPPFLAGS'
31014 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31015 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31016 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31017
31018
31019
31020
31021 # Don't call GLIBCXX_CHECK_LINKER_FEATURES, Darwin doesn't have a GNU ld
31022
31023 ac_test_CXXFLAGS="${CXXFLAGS+set}"
31024 ac_save_CXXFLAGS="$CXXFLAGS"
31025 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
31026
31027 echo "$as_me:$LINENO: checking for sin in -lm" >&5
31028 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
31029 if test "${ac_cv_lib_m_sin+set}" = set; then
31030 echo $ECHO_N "(cached) $ECHO_C" >&6
31031 else
31032 ac_check_lib_save_LIBS=$LIBS
31033 LIBS="-lm $LIBS"
31034 if test x$gcc_no_link = xyes; then
31035 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31036 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31037 { (exit 1); exit 1; }; }
31038 fi
31039 cat >conftest.$ac_ext <<_ACEOF
31040 /* confdefs.h. */
31041 _ACEOF
31042 cat confdefs.h >>conftest.$ac_ext
31043 cat >>conftest.$ac_ext <<_ACEOF
31044 /* end confdefs.h. */
31045
31046 /* Override any gcc2 internal prototype to avoid an error. */
31047 #ifdef __cplusplus
31048 extern "C"
31049 #endif
31050 /* We use char because int might match the return type of a gcc2
31051 builtin and then its argument prototype would still apply. */
31052 char sin ();
31053 int
31054 main ()
31055 {
31056 sin ();
31057 ;
31058 return 0;
31059 }
31060 _ACEOF
31061 rm -f conftest.$ac_objext conftest$ac_exeext
31062 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31063 (eval $ac_link) 2>conftest.er1
31064 ac_status=$?
31065 grep -v '^ *+' conftest.er1 >conftest.err
31066 rm -f conftest.er1
31067 cat conftest.err >&5
31068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31069 (exit $ac_status); } &&
31070 { ac_try='test -z "$ac_c_werror_flag"
31071 || test ! -s conftest.err'
31072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31073 (eval $ac_try) 2>&5
31074 ac_status=$?
31075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31076 (exit $ac_status); }; } &&
31077 { ac_try='test -s conftest$ac_exeext'
31078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31079 (eval $ac_try) 2>&5
31080 ac_status=$?
31081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31082 (exit $ac_status); }; }; then
31083 ac_cv_lib_m_sin=yes
31084 else
31085 echo "$as_me: failed program was:" >&5
31086 sed 's/^/| /' conftest.$ac_ext >&5
31087
31088 ac_cv_lib_m_sin=no
31089 fi
31090 rm -f conftest.err conftest.$ac_objext \
31091 conftest$ac_exeext conftest.$ac_ext
31092 LIBS=$ac_check_lib_save_LIBS
31093 fi
31094 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
31095 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
31096 if test $ac_cv_lib_m_sin = yes; then
31097 libm="-lm"
31098 fi
31099
31100 ac_save_LIBS="$LIBS"
31101 LIBS="$LIBS $libm"
31102
31103
31104
31105 echo "$as_me:$LINENO: checking for isinf declaration" >&5
31106 echo $ECHO_N "checking for isinf declaration... $ECHO_C" >&6
31107 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
31108 if test "${glibcxx_cv_func_isinf_use+set}" = set; then
31109 echo $ECHO_N "(cached) $ECHO_C" >&6
31110 else
31111
31112
31113
31114 ac_ext=cc
31115 ac_cpp='$CXXCPP $CPPFLAGS'
31116 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31117 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31118 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31119
31120 cat >conftest.$ac_ext <<_ACEOF
31121 /* confdefs.h. */
31122 _ACEOF
31123 cat confdefs.h >>conftest.$ac_ext
31124 cat >>conftest.$ac_ext <<_ACEOF
31125 /* end confdefs.h. */
31126 #include <math.h>
31127 #ifdef HAVE_IEEEFP_H
31128 #include <ieeefp.h>
31129 #endif
31130
31131 int
31132 main ()
31133 {
31134 isinf(0);
31135 ;
31136 return 0;
31137 }
31138 _ACEOF
31139 rm -f conftest.$ac_objext
31140 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31141 (eval $ac_compile) 2>conftest.er1
31142 ac_status=$?
31143 grep -v '^ *+' conftest.er1 >conftest.err
31144 rm -f conftest.er1
31145 cat conftest.err >&5
31146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31147 (exit $ac_status); } &&
31148 { ac_try='test -z "$ac_cxx_werror_flag"
31149 || test ! -s conftest.err'
31150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31151 (eval $ac_try) 2>&5
31152 ac_status=$?
31153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31154 (exit $ac_status); }; } &&
31155 { ac_try='test -s conftest.$ac_objext'
31156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31157 (eval $ac_try) 2>&5
31158 ac_status=$?
31159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31160 (exit $ac_status); }; }; then
31161 glibcxx_cv_func_isinf_use=yes
31162 else
31163 echo "$as_me: failed program was:" >&5
31164 sed 's/^/| /' conftest.$ac_ext >&5
31165
31166 glibcxx_cv_func_isinf_use=no
31167 fi
31168 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31169 ac_ext=c
31170 ac_cpp='$CPP $CPPFLAGS'
31171 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31172 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31173 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31174
31175
31176 fi
31177
31178 fi
31179 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinf_use" >&5
31180 echo "${ECHO_T}$glibcxx_cv_func_isinf_use" >&6
31181
31182 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
31183
31184 for ac_func in isinf
31185 do
31186 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31187 echo "$as_me:$LINENO: checking for $ac_func" >&5
31188 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31189 if eval "test \"\${$as_ac_var+set}\" = set"; then
31190 echo $ECHO_N "(cached) $ECHO_C" >&6
31191 else
31192 if test x$gcc_no_link = xyes; then
31193 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31194 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31195 { (exit 1); exit 1; }; }
31196 fi
31197 cat >conftest.$ac_ext <<_ACEOF
31198 /* confdefs.h. */
31199 _ACEOF
31200 cat confdefs.h >>conftest.$ac_ext
31201 cat >>conftest.$ac_ext <<_ACEOF
31202 /* end confdefs.h. */
31203 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31204 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31205 #define $ac_func innocuous_$ac_func
31206
31207 /* System header to define __stub macros and hopefully few prototypes,
31208 which can conflict with char $ac_func (); below.
31209 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31210 <limits.h> exists even on freestanding compilers. */
31211
31212 #ifdef __STDC__
31213 # include <limits.h>
31214 #else
31215 # include <assert.h>
31216 #endif
31217
31218 #undef $ac_func
31219
31220 /* Override any gcc2 internal prototype to avoid an error. */
31221 #ifdef __cplusplus
31222 extern "C"
31223 {
31224 #endif
31225 /* We use char because int might match the return type of a gcc2
31226 builtin and then its argument prototype would still apply. */
31227 char $ac_func ();
31228 /* The GNU C library defines this for functions which it implements
31229 to always fail with ENOSYS. Some functions are actually named
31230 something starting with __ and the normal name is an alias. */
31231 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31232 choke me
31233 #else
31234 char (*f) () = $ac_func;
31235 #endif
31236 #ifdef __cplusplus
31237 }
31238 #endif
31239
31240 int
31241 main ()
31242 {
31243 return f != $ac_func;
31244 ;
31245 return 0;
31246 }
31247 _ACEOF
31248 rm -f conftest.$ac_objext conftest$ac_exeext
31249 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31250 (eval $ac_link) 2>conftest.er1
31251 ac_status=$?
31252 grep -v '^ *+' conftest.er1 >conftest.err
31253 rm -f conftest.er1
31254 cat conftest.err >&5
31255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31256 (exit $ac_status); } &&
31257 { ac_try='test -z "$ac_c_werror_flag"
31258 || test ! -s conftest.err'
31259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31260 (eval $ac_try) 2>&5
31261 ac_status=$?
31262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31263 (exit $ac_status); }; } &&
31264 { ac_try='test -s conftest$ac_exeext'
31265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31266 (eval $ac_try) 2>&5
31267 ac_status=$?
31268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31269 (exit $ac_status); }; }; then
31270 eval "$as_ac_var=yes"
31271 else
31272 echo "$as_me: failed program was:" >&5
31273 sed 's/^/| /' conftest.$ac_ext >&5
31274
31275 eval "$as_ac_var=no"
31276 fi
31277 rm -f conftest.err conftest.$ac_objext \
31278 conftest$ac_exeext conftest.$ac_ext
31279 fi
31280 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31281 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31282 if test `eval echo '${'$as_ac_var'}'` = yes; then
31283 cat >>confdefs.h <<_ACEOF
31284 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31285 _ACEOF
31286
31287 fi
31288 done
31289
31290 else
31291
31292 echo "$as_me:$LINENO: checking for _isinf declaration" >&5
31293 echo $ECHO_N "checking for _isinf declaration... $ECHO_C" >&6
31294 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
31295 if test "${glibcxx_cv_func__isinf_use+set}" = set; then
31296 echo $ECHO_N "(cached) $ECHO_C" >&6
31297 else
31298
31299
31300
31301 ac_ext=cc
31302 ac_cpp='$CXXCPP $CPPFLAGS'
31303 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31304 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31305 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31306
31307 cat >conftest.$ac_ext <<_ACEOF
31308 /* confdefs.h. */
31309 _ACEOF
31310 cat confdefs.h >>conftest.$ac_ext
31311 cat >>conftest.$ac_ext <<_ACEOF
31312 /* end confdefs.h. */
31313 #include <math.h>
31314 #ifdef HAVE_IEEEFP_H
31315 #include <ieeefp.h>
31316 #endif
31317
31318 int
31319 main ()
31320 {
31321 _isinf(0);
31322 ;
31323 return 0;
31324 }
31325 _ACEOF
31326 rm -f conftest.$ac_objext
31327 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31328 (eval $ac_compile) 2>conftest.er1
31329 ac_status=$?
31330 grep -v '^ *+' conftest.er1 >conftest.err
31331 rm -f conftest.er1
31332 cat conftest.err >&5
31333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31334 (exit $ac_status); } &&
31335 { ac_try='test -z "$ac_cxx_werror_flag"
31336 || test ! -s conftest.err'
31337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31338 (eval $ac_try) 2>&5
31339 ac_status=$?
31340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31341 (exit $ac_status); }; } &&
31342 { ac_try='test -s conftest.$ac_objext'
31343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31344 (eval $ac_try) 2>&5
31345 ac_status=$?
31346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31347 (exit $ac_status); }; }; then
31348 glibcxx_cv_func__isinf_use=yes
31349 else
31350 echo "$as_me: failed program was:" >&5
31351 sed 's/^/| /' conftest.$ac_ext >&5
31352
31353 glibcxx_cv_func__isinf_use=no
31354 fi
31355 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31356 ac_ext=c
31357 ac_cpp='$CPP $CPPFLAGS'
31358 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31359 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31360 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31361
31362
31363 fi
31364
31365 fi
31366 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinf_use" >&5
31367 echo "${ECHO_T}$glibcxx_cv_func__isinf_use" >&6
31368
31369 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
31370
31371 for ac_func in _isinf
31372 do
31373 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31374 echo "$as_me:$LINENO: checking for $ac_func" >&5
31375 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31376 if eval "test \"\${$as_ac_var+set}\" = set"; then
31377 echo $ECHO_N "(cached) $ECHO_C" >&6
31378 else
31379 if test x$gcc_no_link = xyes; then
31380 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31381 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31382 { (exit 1); exit 1; }; }
31383 fi
31384 cat >conftest.$ac_ext <<_ACEOF
31385 /* confdefs.h. */
31386 _ACEOF
31387 cat confdefs.h >>conftest.$ac_ext
31388 cat >>conftest.$ac_ext <<_ACEOF
31389 /* end confdefs.h. */
31390 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31391 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31392 #define $ac_func innocuous_$ac_func
31393
31394 /* System header to define __stub macros and hopefully few prototypes,
31395 which can conflict with char $ac_func (); below.
31396 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31397 <limits.h> exists even on freestanding compilers. */
31398
31399 #ifdef __STDC__
31400 # include <limits.h>
31401 #else
31402 # include <assert.h>
31403 #endif
31404
31405 #undef $ac_func
31406
31407 /* Override any gcc2 internal prototype to avoid an error. */
31408 #ifdef __cplusplus
31409 extern "C"
31410 {
31411 #endif
31412 /* We use char because int might match the return type of a gcc2
31413 builtin and then its argument prototype would still apply. */
31414 char $ac_func ();
31415 /* The GNU C library defines this for functions which it implements
31416 to always fail with ENOSYS. Some functions are actually named
31417 something starting with __ and the normal name is an alias. */
31418 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31419 choke me
31420 #else
31421 char (*f) () = $ac_func;
31422 #endif
31423 #ifdef __cplusplus
31424 }
31425 #endif
31426
31427 int
31428 main ()
31429 {
31430 return f != $ac_func;
31431 ;
31432 return 0;
31433 }
31434 _ACEOF
31435 rm -f conftest.$ac_objext conftest$ac_exeext
31436 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31437 (eval $ac_link) 2>conftest.er1
31438 ac_status=$?
31439 grep -v '^ *+' conftest.er1 >conftest.err
31440 rm -f conftest.er1
31441 cat conftest.err >&5
31442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31443 (exit $ac_status); } &&
31444 { ac_try='test -z "$ac_c_werror_flag"
31445 || test ! -s conftest.err'
31446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31447 (eval $ac_try) 2>&5
31448 ac_status=$?
31449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31450 (exit $ac_status); }; } &&
31451 { ac_try='test -s conftest$ac_exeext'
31452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31453 (eval $ac_try) 2>&5
31454 ac_status=$?
31455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31456 (exit $ac_status); }; }; then
31457 eval "$as_ac_var=yes"
31458 else
31459 echo "$as_me: failed program was:" >&5
31460 sed 's/^/| /' conftest.$ac_ext >&5
31461
31462 eval "$as_ac_var=no"
31463 fi
31464 rm -f conftest.err conftest.$ac_objext \
31465 conftest$ac_exeext conftest.$ac_ext
31466 fi
31467 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31468 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31469 if test `eval echo '${'$as_ac_var'}'` = yes; then
31470 cat >>confdefs.h <<_ACEOF
31471 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31472 _ACEOF
31473
31474 fi
31475 done
31476
31477 fi
31478 fi
31479
31480
31481
31482
31483
31484
31485 echo "$as_me:$LINENO: checking for isnan declaration" >&5
31486 echo $ECHO_N "checking for isnan declaration... $ECHO_C" >&6
31487 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
31488 if test "${glibcxx_cv_func_isnan_use+set}" = set; then
31489 echo $ECHO_N "(cached) $ECHO_C" >&6
31490 else
31491
31492
31493
31494 ac_ext=cc
31495 ac_cpp='$CXXCPP $CPPFLAGS'
31496 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31497 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31498 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31499
31500 cat >conftest.$ac_ext <<_ACEOF
31501 /* confdefs.h. */
31502 _ACEOF
31503 cat confdefs.h >>conftest.$ac_ext
31504 cat >>conftest.$ac_ext <<_ACEOF
31505 /* end confdefs.h. */
31506 #include <math.h>
31507 #ifdef HAVE_IEEEFP_H
31508 #include <ieeefp.h>
31509 #endif
31510
31511 int
31512 main ()
31513 {
31514 isnan(0);
31515 ;
31516 return 0;
31517 }
31518 _ACEOF
31519 rm -f conftest.$ac_objext
31520 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31521 (eval $ac_compile) 2>conftest.er1
31522 ac_status=$?
31523 grep -v '^ *+' conftest.er1 >conftest.err
31524 rm -f conftest.er1
31525 cat conftest.err >&5
31526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31527 (exit $ac_status); } &&
31528 { ac_try='test -z "$ac_cxx_werror_flag"
31529 || test ! -s conftest.err'
31530 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31531 (eval $ac_try) 2>&5
31532 ac_status=$?
31533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31534 (exit $ac_status); }; } &&
31535 { ac_try='test -s conftest.$ac_objext'
31536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31537 (eval $ac_try) 2>&5
31538 ac_status=$?
31539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31540 (exit $ac_status); }; }; then
31541 glibcxx_cv_func_isnan_use=yes
31542 else
31543 echo "$as_me: failed program was:" >&5
31544 sed 's/^/| /' conftest.$ac_ext >&5
31545
31546 glibcxx_cv_func_isnan_use=no
31547 fi
31548 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31549 ac_ext=c
31550 ac_cpp='$CPP $CPPFLAGS'
31551 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31552 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31553 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31554
31555
31556 fi
31557
31558 fi
31559 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnan_use" >&5
31560 echo "${ECHO_T}$glibcxx_cv_func_isnan_use" >&6
31561
31562 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
31563
31564 for ac_func in isnan
31565 do
31566 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31567 echo "$as_me:$LINENO: checking for $ac_func" >&5
31568 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31569 if eval "test \"\${$as_ac_var+set}\" = set"; then
31570 echo $ECHO_N "(cached) $ECHO_C" >&6
31571 else
31572 if test x$gcc_no_link = xyes; then
31573 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31574 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31575 { (exit 1); exit 1; }; }
31576 fi
31577 cat >conftest.$ac_ext <<_ACEOF
31578 /* confdefs.h. */
31579 _ACEOF
31580 cat confdefs.h >>conftest.$ac_ext
31581 cat >>conftest.$ac_ext <<_ACEOF
31582 /* end confdefs.h. */
31583 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31584 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31585 #define $ac_func innocuous_$ac_func
31586
31587 /* System header to define __stub macros and hopefully few prototypes,
31588 which can conflict with char $ac_func (); below.
31589 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31590 <limits.h> exists even on freestanding compilers. */
31591
31592 #ifdef __STDC__
31593 # include <limits.h>
31594 #else
31595 # include <assert.h>
31596 #endif
31597
31598 #undef $ac_func
31599
31600 /* Override any gcc2 internal prototype to avoid an error. */
31601 #ifdef __cplusplus
31602 extern "C"
31603 {
31604 #endif
31605 /* We use char because int might match the return type of a gcc2
31606 builtin and then its argument prototype would still apply. */
31607 char $ac_func ();
31608 /* The GNU C library defines this for functions which it implements
31609 to always fail with ENOSYS. Some functions are actually named
31610 something starting with __ and the normal name is an alias. */
31611 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31612 choke me
31613 #else
31614 char (*f) () = $ac_func;
31615 #endif
31616 #ifdef __cplusplus
31617 }
31618 #endif
31619
31620 int
31621 main ()
31622 {
31623 return f != $ac_func;
31624 ;
31625 return 0;
31626 }
31627 _ACEOF
31628 rm -f conftest.$ac_objext conftest$ac_exeext
31629 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31630 (eval $ac_link) 2>conftest.er1
31631 ac_status=$?
31632 grep -v '^ *+' conftest.er1 >conftest.err
31633 rm -f conftest.er1
31634 cat conftest.err >&5
31635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31636 (exit $ac_status); } &&
31637 { ac_try='test -z "$ac_c_werror_flag"
31638 || test ! -s conftest.err'
31639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31640 (eval $ac_try) 2>&5
31641 ac_status=$?
31642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31643 (exit $ac_status); }; } &&
31644 { ac_try='test -s conftest$ac_exeext'
31645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31646 (eval $ac_try) 2>&5
31647 ac_status=$?
31648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31649 (exit $ac_status); }; }; then
31650 eval "$as_ac_var=yes"
31651 else
31652 echo "$as_me: failed program was:" >&5
31653 sed 's/^/| /' conftest.$ac_ext >&5
31654
31655 eval "$as_ac_var=no"
31656 fi
31657 rm -f conftest.err conftest.$ac_objext \
31658 conftest$ac_exeext conftest.$ac_ext
31659 fi
31660 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31661 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31662 if test `eval echo '${'$as_ac_var'}'` = yes; then
31663 cat >>confdefs.h <<_ACEOF
31664 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31665 _ACEOF
31666
31667 fi
31668 done
31669
31670 else
31671
31672 echo "$as_me:$LINENO: checking for _isnan declaration" >&5
31673 echo $ECHO_N "checking for _isnan declaration... $ECHO_C" >&6
31674 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
31675 if test "${glibcxx_cv_func__isnan_use+set}" = set; then
31676 echo $ECHO_N "(cached) $ECHO_C" >&6
31677 else
31678
31679
31680
31681 ac_ext=cc
31682 ac_cpp='$CXXCPP $CPPFLAGS'
31683 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31684 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31685 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31686
31687 cat >conftest.$ac_ext <<_ACEOF
31688 /* confdefs.h. */
31689 _ACEOF
31690 cat confdefs.h >>conftest.$ac_ext
31691 cat >>conftest.$ac_ext <<_ACEOF
31692 /* end confdefs.h. */
31693 #include <math.h>
31694 #ifdef HAVE_IEEEFP_H
31695 #include <ieeefp.h>
31696 #endif
31697
31698 int
31699 main ()
31700 {
31701 _isnan(0);
31702 ;
31703 return 0;
31704 }
31705 _ACEOF
31706 rm -f conftest.$ac_objext
31707 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31708 (eval $ac_compile) 2>conftest.er1
31709 ac_status=$?
31710 grep -v '^ *+' conftest.er1 >conftest.err
31711 rm -f conftest.er1
31712 cat conftest.err >&5
31713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31714 (exit $ac_status); } &&
31715 { ac_try='test -z "$ac_cxx_werror_flag"
31716 || test ! -s conftest.err'
31717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31718 (eval $ac_try) 2>&5
31719 ac_status=$?
31720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31721 (exit $ac_status); }; } &&
31722 { ac_try='test -s conftest.$ac_objext'
31723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31724 (eval $ac_try) 2>&5
31725 ac_status=$?
31726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31727 (exit $ac_status); }; }; then
31728 glibcxx_cv_func__isnan_use=yes
31729 else
31730 echo "$as_me: failed program was:" >&5
31731 sed 's/^/| /' conftest.$ac_ext >&5
31732
31733 glibcxx_cv_func__isnan_use=no
31734 fi
31735 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31736 ac_ext=c
31737 ac_cpp='$CPP $CPPFLAGS'
31738 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31739 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31740 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31741
31742
31743 fi
31744
31745 fi
31746 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnan_use" >&5
31747 echo "${ECHO_T}$glibcxx_cv_func__isnan_use" >&6
31748
31749 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
31750
31751 for ac_func in _isnan
31752 do
31753 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31754 echo "$as_me:$LINENO: checking for $ac_func" >&5
31755 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31756 if eval "test \"\${$as_ac_var+set}\" = set"; then
31757 echo $ECHO_N "(cached) $ECHO_C" >&6
31758 else
31759 if test x$gcc_no_link = xyes; then
31760 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31761 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31762 { (exit 1); exit 1; }; }
31763 fi
31764 cat >conftest.$ac_ext <<_ACEOF
31765 /* confdefs.h. */
31766 _ACEOF
31767 cat confdefs.h >>conftest.$ac_ext
31768 cat >>conftest.$ac_ext <<_ACEOF
31769 /* end confdefs.h. */
31770 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31771 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31772 #define $ac_func innocuous_$ac_func
31773
31774 /* System header to define __stub macros and hopefully few prototypes,
31775 which can conflict with char $ac_func (); below.
31776 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31777 <limits.h> exists even on freestanding compilers. */
31778
31779 #ifdef __STDC__
31780 # include <limits.h>
31781 #else
31782 # include <assert.h>
31783 #endif
31784
31785 #undef $ac_func
31786
31787 /* Override any gcc2 internal prototype to avoid an error. */
31788 #ifdef __cplusplus
31789 extern "C"
31790 {
31791 #endif
31792 /* We use char because int might match the return type of a gcc2
31793 builtin and then its argument prototype would still apply. */
31794 char $ac_func ();
31795 /* The GNU C library defines this for functions which it implements
31796 to always fail with ENOSYS. Some functions are actually named
31797 something starting with __ and the normal name is an alias. */
31798 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31799 choke me
31800 #else
31801 char (*f) () = $ac_func;
31802 #endif
31803 #ifdef __cplusplus
31804 }
31805 #endif
31806
31807 int
31808 main ()
31809 {
31810 return f != $ac_func;
31811 ;
31812 return 0;
31813 }
31814 _ACEOF
31815 rm -f conftest.$ac_objext conftest$ac_exeext
31816 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31817 (eval $ac_link) 2>conftest.er1
31818 ac_status=$?
31819 grep -v '^ *+' conftest.er1 >conftest.err
31820 rm -f conftest.er1
31821 cat conftest.err >&5
31822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31823 (exit $ac_status); } &&
31824 { ac_try='test -z "$ac_c_werror_flag"
31825 || test ! -s conftest.err'
31826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31827 (eval $ac_try) 2>&5
31828 ac_status=$?
31829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31830 (exit $ac_status); }; } &&
31831 { ac_try='test -s conftest$ac_exeext'
31832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31833 (eval $ac_try) 2>&5
31834 ac_status=$?
31835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31836 (exit $ac_status); }; }; then
31837 eval "$as_ac_var=yes"
31838 else
31839 echo "$as_me: failed program was:" >&5
31840 sed 's/^/| /' conftest.$ac_ext >&5
31841
31842 eval "$as_ac_var=no"
31843 fi
31844 rm -f conftest.err conftest.$ac_objext \
31845 conftest$ac_exeext conftest.$ac_ext
31846 fi
31847 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31848 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31849 if test `eval echo '${'$as_ac_var'}'` = yes; then
31850 cat >>confdefs.h <<_ACEOF
31851 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31852 _ACEOF
31853
31854 fi
31855 done
31856
31857 fi
31858 fi
31859
31860
31861
31862
31863
31864
31865 echo "$as_me:$LINENO: checking for finite declaration" >&5
31866 echo $ECHO_N "checking for finite declaration... $ECHO_C" >&6
31867 if test x${glibcxx_cv_func_finite_use+set} != xset; then
31868 if test "${glibcxx_cv_func_finite_use+set}" = set; then
31869 echo $ECHO_N "(cached) $ECHO_C" >&6
31870 else
31871
31872
31873
31874 ac_ext=cc
31875 ac_cpp='$CXXCPP $CPPFLAGS'
31876 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31877 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31878 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31879
31880 cat >conftest.$ac_ext <<_ACEOF
31881 /* confdefs.h. */
31882 _ACEOF
31883 cat confdefs.h >>conftest.$ac_ext
31884 cat >>conftest.$ac_ext <<_ACEOF
31885 /* end confdefs.h. */
31886 #include <math.h>
31887 #ifdef HAVE_IEEEFP_H
31888 #include <ieeefp.h>
31889 #endif
31890
31891 int
31892 main ()
31893 {
31894 finite(0);
31895 ;
31896 return 0;
31897 }
31898 _ACEOF
31899 rm -f conftest.$ac_objext
31900 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31901 (eval $ac_compile) 2>conftest.er1
31902 ac_status=$?
31903 grep -v '^ *+' conftest.er1 >conftest.err
31904 rm -f conftest.er1
31905 cat conftest.err >&5
31906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31907 (exit $ac_status); } &&
31908 { ac_try='test -z "$ac_cxx_werror_flag"
31909 || test ! -s conftest.err'
31910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31911 (eval $ac_try) 2>&5
31912 ac_status=$?
31913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31914 (exit $ac_status); }; } &&
31915 { ac_try='test -s conftest.$ac_objext'
31916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31917 (eval $ac_try) 2>&5
31918 ac_status=$?
31919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31920 (exit $ac_status); }; }; then
31921 glibcxx_cv_func_finite_use=yes
31922 else
31923 echo "$as_me: failed program was:" >&5
31924 sed 's/^/| /' conftest.$ac_ext >&5
31925
31926 glibcxx_cv_func_finite_use=no
31927 fi
31928 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31929 ac_ext=c
31930 ac_cpp='$CPP $CPPFLAGS'
31931 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31932 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31933 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31934
31935
31936 fi
31937
31938 fi
31939 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finite_use" >&5
31940 echo "${ECHO_T}$glibcxx_cv_func_finite_use" >&6
31941
31942 if test x$glibcxx_cv_func_finite_use = x"yes"; then
31943
31944 for ac_func in finite
31945 do
31946 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31947 echo "$as_me:$LINENO: checking for $ac_func" >&5
31948 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31949 if eval "test \"\${$as_ac_var+set}\" = set"; then
31950 echo $ECHO_N "(cached) $ECHO_C" >&6
31951 else
31952 if test x$gcc_no_link = xyes; then
31953 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31954 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31955 { (exit 1); exit 1; }; }
31956 fi
31957 cat >conftest.$ac_ext <<_ACEOF
31958 /* confdefs.h. */
31959 _ACEOF
31960 cat confdefs.h >>conftest.$ac_ext
31961 cat >>conftest.$ac_ext <<_ACEOF
31962 /* end confdefs.h. */
31963 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31964 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31965 #define $ac_func innocuous_$ac_func
31966
31967 /* System header to define __stub macros and hopefully few prototypes,
31968 which can conflict with char $ac_func (); below.
31969 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31970 <limits.h> exists even on freestanding compilers. */
31971
31972 #ifdef __STDC__
31973 # include <limits.h>
31974 #else
31975 # include <assert.h>
31976 #endif
31977
31978 #undef $ac_func
31979
31980 /* Override any gcc2 internal prototype to avoid an error. */
31981 #ifdef __cplusplus
31982 extern "C"
31983 {
31984 #endif
31985 /* We use char because int might match the return type of a gcc2
31986 builtin and then its argument prototype would still apply. */
31987 char $ac_func ();
31988 /* The GNU C library defines this for functions which it implements
31989 to always fail with ENOSYS. Some functions are actually named
31990 something starting with __ and the normal name is an alias. */
31991 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31992 choke me
31993 #else
31994 char (*f) () = $ac_func;
31995 #endif
31996 #ifdef __cplusplus
31997 }
31998 #endif
31999
32000 int
32001 main ()
32002 {
32003 return f != $ac_func;
32004 ;
32005 return 0;
32006 }
32007 _ACEOF
32008 rm -f conftest.$ac_objext conftest$ac_exeext
32009 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32010 (eval $ac_link) 2>conftest.er1
32011 ac_status=$?
32012 grep -v '^ *+' conftest.er1 >conftest.err
32013 rm -f conftest.er1
32014 cat conftest.err >&5
32015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32016 (exit $ac_status); } &&
32017 { ac_try='test -z "$ac_c_werror_flag"
32018 || test ! -s conftest.err'
32019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32020 (eval $ac_try) 2>&5
32021 ac_status=$?
32022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32023 (exit $ac_status); }; } &&
32024 { ac_try='test -s conftest$ac_exeext'
32025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32026 (eval $ac_try) 2>&5
32027 ac_status=$?
32028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32029 (exit $ac_status); }; }; then
32030 eval "$as_ac_var=yes"
32031 else
32032 echo "$as_me: failed program was:" >&5
32033 sed 's/^/| /' conftest.$ac_ext >&5
32034
32035 eval "$as_ac_var=no"
32036 fi
32037 rm -f conftest.err conftest.$ac_objext \
32038 conftest$ac_exeext conftest.$ac_ext
32039 fi
32040 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32041 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32042 if test `eval echo '${'$as_ac_var'}'` = yes; then
32043 cat >>confdefs.h <<_ACEOF
32044 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32045 _ACEOF
32046
32047 fi
32048 done
32049
32050 else
32051
32052 echo "$as_me:$LINENO: checking for _finite declaration" >&5
32053 echo $ECHO_N "checking for _finite declaration... $ECHO_C" >&6
32054 if test x${glibcxx_cv_func__finite_use+set} != xset; then
32055 if test "${glibcxx_cv_func__finite_use+set}" = set; then
32056 echo $ECHO_N "(cached) $ECHO_C" >&6
32057 else
32058
32059
32060
32061 ac_ext=cc
32062 ac_cpp='$CXXCPP $CPPFLAGS'
32063 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32064 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32065 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32066
32067 cat >conftest.$ac_ext <<_ACEOF
32068 /* confdefs.h. */
32069 _ACEOF
32070 cat confdefs.h >>conftest.$ac_ext
32071 cat >>conftest.$ac_ext <<_ACEOF
32072 /* end confdefs.h. */
32073 #include <math.h>
32074 #ifdef HAVE_IEEEFP_H
32075 #include <ieeefp.h>
32076 #endif
32077
32078 int
32079 main ()
32080 {
32081 _finite(0);
32082 ;
32083 return 0;
32084 }
32085 _ACEOF
32086 rm -f conftest.$ac_objext
32087 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32088 (eval $ac_compile) 2>conftest.er1
32089 ac_status=$?
32090 grep -v '^ *+' conftest.er1 >conftest.err
32091 rm -f conftest.er1
32092 cat conftest.err >&5
32093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32094 (exit $ac_status); } &&
32095 { ac_try='test -z "$ac_cxx_werror_flag"
32096 || test ! -s conftest.err'
32097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32098 (eval $ac_try) 2>&5
32099 ac_status=$?
32100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32101 (exit $ac_status); }; } &&
32102 { ac_try='test -s conftest.$ac_objext'
32103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32104 (eval $ac_try) 2>&5
32105 ac_status=$?
32106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32107 (exit $ac_status); }; }; then
32108 glibcxx_cv_func__finite_use=yes
32109 else
32110 echo "$as_me: failed program was:" >&5
32111 sed 's/^/| /' conftest.$ac_ext >&5
32112
32113 glibcxx_cv_func__finite_use=no
32114 fi
32115 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32116 ac_ext=c
32117 ac_cpp='$CPP $CPPFLAGS'
32118 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32119 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32120 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32121
32122
32123 fi
32124
32125 fi
32126 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finite_use" >&5
32127 echo "${ECHO_T}$glibcxx_cv_func__finite_use" >&6
32128
32129 if test x$glibcxx_cv_func__finite_use = x"yes"; then
32130
32131 for ac_func in _finite
32132 do
32133 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32134 echo "$as_me:$LINENO: checking for $ac_func" >&5
32135 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32136 if eval "test \"\${$as_ac_var+set}\" = set"; then
32137 echo $ECHO_N "(cached) $ECHO_C" >&6
32138 else
32139 if test x$gcc_no_link = xyes; then
32140 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32141 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32142 { (exit 1); exit 1; }; }
32143 fi
32144 cat >conftest.$ac_ext <<_ACEOF
32145 /* confdefs.h. */
32146 _ACEOF
32147 cat confdefs.h >>conftest.$ac_ext
32148 cat >>conftest.$ac_ext <<_ACEOF
32149 /* end confdefs.h. */
32150 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32151 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32152 #define $ac_func innocuous_$ac_func
32153
32154 /* System header to define __stub macros and hopefully few prototypes,
32155 which can conflict with char $ac_func (); below.
32156 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32157 <limits.h> exists even on freestanding compilers. */
32158
32159 #ifdef __STDC__
32160 # include <limits.h>
32161 #else
32162 # include <assert.h>
32163 #endif
32164
32165 #undef $ac_func
32166
32167 /* Override any gcc2 internal prototype to avoid an error. */
32168 #ifdef __cplusplus
32169 extern "C"
32170 {
32171 #endif
32172 /* We use char because int might match the return type of a gcc2
32173 builtin and then its argument prototype would still apply. */
32174 char $ac_func ();
32175 /* The GNU C library defines this for functions which it implements
32176 to always fail with ENOSYS. Some functions are actually named
32177 something starting with __ and the normal name is an alias. */
32178 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32179 choke me
32180 #else
32181 char (*f) () = $ac_func;
32182 #endif
32183 #ifdef __cplusplus
32184 }
32185 #endif
32186
32187 int
32188 main ()
32189 {
32190 return f != $ac_func;
32191 ;
32192 return 0;
32193 }
32194 _ACEOF
32195 rm -f conftest.$ac_objext conftest$ac_exeext
32196 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32197 (eval $ac_link) 2>conftest.er1
32198 ac_status=$?
32199 grep -v '^ *+' conftest.er1 >conftest.err
32200 rm -f conftest.er1
32201 cat conftest.err >&5
32202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32203 (exit $ac_status); } &&
32204 { ac_try='test -z "$ac_c_werror_flag"
32205 || test ! -s conftest.err'
32206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32207 (eval $ac_try) 2>&5
32208 ac_status=$?
32209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32210 (exit $ac_status); }; } &&
32211 { ac_try='test -s conftest$ac_exeext'
32212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32213 (eval $ac_try) 2>&5
32214 ac_status=$?
32215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32216 (exit $ac_status); }; }; then
32217 eval "$as_ac_var=yes"
32218 else
32219 echo "$as_me: failed program was:" >&5
32220 sed 's/^/| /' conftest.$ac_ext >&5
32221
32222 eval "$as_ac_var=no"
32223 fi
32224 rm -f conftest.err conftest.$ac_objext \
32225 conftest$ac_exeext conftest.$ac_ext
32226 fi
32227 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32228 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32229 if test `eval echo '${'$as_ac_var'}'` = yes; then
32230 cat >>confdefs.h <<_ACEOF
32231 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32232 _ACEOF
32233
32234 fi
32235 done
32236
32237 fi
32238 fi
32239
32240
32241
32242
32243
32244
32245 echo "$as_me:$LINENO: checking for copysign declaration" >&5
32246 echo $ECHO_N "checking for copysign declaration... $ECHO_C" >&6
32247 if test x${glibcxx_cv_func_copysign_use+set} != xset; then
32248 if test "${glibcxx_cv_func_copysign_use+set}" = set; then
32249 echo $ECHO_N "(cached) $ECHO_C" >&6
32250 else
32251
32252
32253
32254 ac_ext=cc
32255 ac_cpp='$CXXCPP $CPPFLAGS'
32256 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32257 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32258 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32259
32260 cat >conftest.$ac_ext <<_ACEOF
32261 /* confdefs.h. */
32262 _ACEOF
32263 cat confdefs.h >>conftest.$ac_ext
32264 cat >>conftest.$ac_ext <<_ACEOF
32265 /* end confdefs.h. */
32266 #include <math.h>
32267 int
32268 main ()
32269 {
32270 copysign(0, 0);
32271 ;
32272 return 0;
32273 }
32274 _ACEOF
32275 rm -f conftest.$ac_objext
32276 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32277 (eval $ac_compile) 2>conftest.er1
32278 ac_status=$?
32279 grep -v '^ *+' conftest.er1 >conftest.err
32280 rm -f conftest.er1
32281 cat conftest.err >&5
32282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32283 (exit $ac_status); } &&
32284 { ac_try='test -z "$ac_cxx_werror_flag"
32285 || test ! -s conftest.err'
32286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32287 (eval $ac_try) 2>&5
32288 ac_status=$?
32289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32290 (exit $ac_status); }; } &&
32291 { ac_try='test -s conftest.$ac_objext'
32292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32293 (eval $ac_try) 2>&5
32294 ac_status=$?
32295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32296 (exit $ac_status); }; }; then
32297 glibcxx_cv_func_copysign_use=yes
32298 else
32299 echo "$as_me: failed program was:" >&5
32300 sed 's/^/| /' conftest.$ac_ext >&5
32301
32302 glibcxx_cv_func_copysign_use=no
32303 fi
32304 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32305 ac_ext=c
32306 ac_cpp='$CPP $CPPFLAGS'
32307 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32308 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32309 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32310
32311
32312 fi
32313
32314 fi
32315 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysign_use" >&5
32316 echo "${ECHO_T}$glibcxx_cv_func_copysign_use" >&6
32317
32318 if test x$glibcxx_cv_func_copysign_use = x"yes"; then
32319
32320 for ac_func in copysign
32321 do
32322 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32323 echo "$as_me:$LINENO: checking for $ac_func" >&5
32324 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32325 if eval "test \"\${$as_ac_var+set}\" = set"; then
32326 echo $ECHO_N "(cached) $ECHO_C" >&6
32327 else
32328 if test x$gcc_no_link = xyes; then
32329 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32330 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32331 { (exit 1); exit 1; }; }
32332 fi
32333 cat >conftest.$ac_ext <<_ACEOF
32334 /* confdefs.h. */
32335 _ACEOF
32336 cat confdefs.h >>conftest.$ac_ext
32337 cat >>conftest.$ac_ext <<_ACEOF
32338 /* end confdefs.h. */
32339 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32340 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32341 #define $ac_func innocuous_$ac_func
32342
32343 /* System header to define __stub macros and hopefully few prototypes,
32344 which can conflict with char $ac_func (); below.
32345 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32346 <limits.h> exists even on freestanding compilers. */
32347
32348 #ifdef __STDC__
32349 # include <limits.h>
32350 #else
32351 # include <assert.h>
32352 #endif
32353
32354 #undef $ac_func
32355
32356 /* Override any gcc2 internal prototype to avoid an error. */
32357 #ifdef __cplusplus
32358 extern "C"
32359 {
32360 #endif
32361 /* We use char because int might match the return type of a gcc2
32362 builtin and then its argument prototype would still apply. */
32363 char $ac_func ();
32364 /* The GNU C library defines this for functions which it implements
32365 to always fail with ENOSYS. Some functions are actually named
32366 something starting with __ and the normal name is an alias. */
32367 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32368 choke me
32369 #else
32370 char (*f) () = $ac_func;
32371 #endif
32372 #ifdef __cplusplus
32373 }
32374 #endif
32375
32376 int
32377 main ()
32378 {
32379 return f != $ac_func;
32380 ;
32381 return 0;
32382 }
32383 _ACEOF
32384 rm -f conftest.$ac_objext conftest$ac_exeext
32385 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32386 (eval $ac_link) 2>conftest.er1
32387 ac_status=$?
32388 grep -v '^ *+' conftest.er1 >conftest.err
32389 rm -f conftest.er1
32390 cat conftest.err >&5
32391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32392 (exit $ac_status); } &&
32393 { ac_try='test -z "$ac_c_werror_flag"
32394 || test ! -s conftest.err'
32395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32396 (eval $ac_try) 2>&5
32397 ac_status=$?
32398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32399 (exit $ac_status); }; } &&
32400 { ac_try='test -s conftest$ac_exeext'
32401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32402 (eval $ac_try) 2>&5
32403 ac_status=$?
32404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32405 (exit $ac_status); }; }; then
32406 eval "$as_ac_var=yes"
32407 else
32408 echo "$as_me: failed program was:" >&5
32409 sed 's/^/| /' conftest.$ac_ext >&5
32410
32411 eval "$as_ac_var=no"
32412 fi
32413 rm -f conftest.err conftest.$ac_objext \
32414 conftest$ac_exeext conftest.$ac_ext
32415 fi
32416 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32417 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32418 if test `eval echo '${'$as_ac_var'}'` = yes; then
32419 cat >>confdefs.h <<_ACEOF
32420 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32421 _ACEOF
32422
32423 fi
32424 done
32425
32426 else
32427
32428 echo "$as_me:$LINENO: checking for _copysign declaration" >&5
32429 echo $ECHO_N "checking for _copysign declaration... $ECHO_C" >&6
32430 if test x${glibcxx_cv_func__copysign_use+set} != xset; then
32431 if test "${glibcxx_cv_func__copysign_use+set}" = set; then
32432 echo $ECHO_N "(cached) $ECHO_C" >&6
32433 else
32434
32435
32436
32437 ac_ext=cc
32438 ac_cpp='$CXXCPP $CPPFLAGS'
32439 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32440 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32441 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32442
32443 cat >conftest.$ac_ext <<_ACEOF
32444 /* confdefs.h. */
32445 _ACEOF
32446 cat confdefs.h >>conftest.$ac_ext
32447 cat >>conftest.$ac_ext <<_ACEOF
32448 /* end confdefs.h. */
32449 #include <math.h>
32450 int
32451 main ()
32452 {
32453 _copysign(0, 0);
32454 ;
32455 return 0;
32456 }
32457 _ACEOF
32458 rm -f conftest.$ac_objext
32459 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32460 (eval $ac_compile) 2>conftest.er1
32461 ac_status=$?
32462 grep -v '^ *+' conftest.er1 >conftest.err
32463 rm -f conftest.er1
32464 cat conftest.err >&5
32465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32466 (exit $ac_status); } &&
32467 { ac_try='test -z "$ac_cxx_werror_flag"
32468 || test ! -s conftest.err'
32469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32470 (eval $ac_try) 2>&5
32471 ac_status=$?
32472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32473 (exit $ac_status); }; } &&
32474 { ac_try='test -s conftest.$ac_objext'
32475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32476 (eval $ac_try) 2>&5
32477 ac_status=$?
32478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32479 (exit $ac_status); }; }; then
32480 glibcxx_cv_func__copysign_use=yes
32481 else
32482 echo "$as_me: failed program was:" >&5
32483 sed 's/^/| /' conftest.$ac_ext >&5
32484
32485 glibcxx_cv_func__copysign_use=no
32486 fi
32487 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32488 ac_ext=c
32489 ac_cpp='$CPP $CPPFLAGS'
32490 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32491 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32492 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32493
32494
32495 fi
32496
32497 fi
32498 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysign_use" >&5
32499 echo "${ECHO_T}$glibcxx_cv_func__copysign_use" >&6
32500
32501 if test x$glibcxx_cv_func__copysign_use = x"yes"; then
32502
32503 for ac_func in _copysign
32504 do
32505 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32506 echo "$as_me:$LINENO: checking for $ac_func" >&5
32507 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32508 if eval "test \"\${$as_ac_var+set}\" = set"; then
32509 echo $ECHO_N "(cached) $ECHO_C" >&6
32510 else
32511 if test x$gcc_no_link = xyes; then
32512 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32513 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32514 { (exit 1); exit 1; }; }
32515 fi
32516 cat >conftest.$ac_ext <<_ACEOF
32517 /* confdefs.h. */
32518 _ACEOF
32519 cat confdefs.h >>conftest.$ac_ext
32520 cat >>conftest.$ac_ext <<_ACEOF
32521 /* end confdefs.h. */
32522 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32523 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32524 #define $ac_func innocuous_$ac_func
32525
32526 /* System header to define __stub macros and hopefully few prototypes,
32527 which can conflict with char $ac_func (); below.
32528 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32529 <limits.h> exists even on freestanding compilers. */
32530
32531 #ifdef __STDC__
32532 # include <limits.h>
32533 #else
32534 # include <assert.h>
32535 #endif
32536
32537 #undef $ac_func
32538
32539 /* Override any gcc2 internal prototype to avoid an error. */
32540 #ifdef __cplusplus
32541 extern "C"
32542 {
32543 #endif
32544 /* We use char because int might match the return type of a gcc2
32545 builtin and then its argument prototype would still apply. */
32546 char $ac_func ();
32547 /* The GNU C library defines this for functions which it implements
32548 to always fail with ENOSYS. Some functions are actually named
32549 something starting with __ and the normal name is an alias. */
32550 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32551 choke me
32552 #else
32553 char (*f) () = $ac_func;
32554 #endif
32555 #ifdef __cplusplus
32556 }
32557 #endif
32558
32559 int
32560 main ()
32561 {
32562 return f != $ac_func;
32563 ;
32564 return 0;
32565 }
32566 _ACEOF
32567 rm -f conftest.$ac_objext conftest$ac_exeext
32568 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32569 (eval $ac_link) 2>conftest.er1
32570 ac_status=$?
32571 grep -v '^ *+' conftest.er1 >conftest.err
32572 rm -f conftest.er1
32573 cat conftest.err >&5
32574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32575 (exit $ac_status); } &&
32576 { ac_try='test -z "$ac_c_werror_flag"
32577 || test ! -s conftest.err'
32578 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32579 (eval $ac_try) 2>&5
32580 ac_status=$?
32581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32582 (exit $ac_status); }; } &&
32583 { ac_try='test -s conftest$ac_exeext'
32584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32585 (eval $ac_try) 2>&5
32586 ac_status=$?
32587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32588 (exit $ac_status); }; }; then
32589 eval "$as_ac_var=yes"
32590 else
32591 echo "$as_me: failed program was:" >&5
32592 sed 's/^/| /' conftest.$ac_ext >&5
32593
32594 eval "$as_ac_var=no"
32595 fi
32596 rm -f conftest.err conftest.$ac_objext \
32597 conftest$ac_exeext conftest.$ac_ext
32598 fi
32599 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32600 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32601 if test `eval echo '${'$as_ac_var'}'` = yes; then
32602 cat >>confdefs.h <<_ACEOF
32603 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32604 _ACEOF
32605
32606 fi
32607 done
32608
32609 fi
32610 fi
32611
32612
32613
32614
32615
32616
32617 echo "$as_me:$LINENO: checking for sincos declaration" >&5
32618 echo $ECHO_N "checking for sincos declaration... $ECHO_C" >&6
32619 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
32620 if test "${glibcxx_cv_func_sincos_use+set}" = set; then
32621 echo $ECHO_N "(cached) $ECHO_C" >&6
32622 else
32623
32624
32625
32626 ac_ext=cc
32627 ac_cpp='$CXXCPP $CPPFLAGS'
32628 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32629 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32630 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32631
32632 cat >conftest.$ac_ext <<_ACEOF
32633 /* confdefs.h. */
32634 _ACEOF
32635 cat confdefs.h >>conftest.$ac_ext
32636 cat >>conftest.$ac_ext <<_ACEOF
32637 /* end confdefs.h. */
32638 #include <math.h>
32639 int
32640 main ()
32641 {
32642 sincos(0, 0, 0);
32643 ;
32644 return 0;
32645 }
32646 _ACEOF
32647 rm -f conftest.$ac_objext
32648 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32649 (eval $ac_compile) 2>conftest.er1
32650 ac_status=$?
32651 grep -v '^ *+' conftest.er1 >conftest.err
32652 rm -f conftest.er1
32653 cat conftest.err >&5
32654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32655 (exit $ac_status); } &&
32656 { ac_try='test -z "$ac_cxx_werror_flag"
32657 || test ! -s conftest.err'
32658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32659 (eval $ac_try) 2>&5
32660 ac_status=$?
32661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32662 (exit $ac_status); }; } &&
32663 { ac_try='test -s conftest.$ac_objext'
32664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32665 (eval $ac_try) 2>&5
32666 ac_status=$?
32667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32668 (exit $ac_status); }; }; then
32669 glibcxx_cv_func_sincos_use=yes
32670 else
32671 echo "$as_me: failed program was:" >&5
32672 sed 's/^/| /' conftest.$ac_ext >&5
32673
32674 glibcxx_cv_func_sincos_use=no
32675 fi
32676 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32677 ac_ext=c
32678 ac_cpp='$CPP $CPPFLAGS'
32679 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32680 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32681 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32682
32683
32684 fi
32685
32686 fi
32687 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincos_use" >&5
32688 echo "${ECHO_T}$glibcxx_cv_func_sincos_use" >&6
32689
32690 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
32691
32692 for ac_func in sincos
32693 do
32694 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32695 echo "$as_me:$LINENO: checking for $ac_func" >&5
32696 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32697 if eval "test \"\${$as_ac_var+set}\" = set"; then
32698 echo $ECHO_N "(cached) $ECHO_C" >&6
32699 else
32700 if test x$gcc_no_link = xyes; then
32701 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32702 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32703 { (exit 1); exit 1; }; }
32704 fi
32705 cat >conftest.$ac_ext <<_ACEOF
32706 /* confdefs.h. */
32707 _ACEOF
32708 cat confdefs.h >>conftest.$ac_ext
32709 cat >>conftest.$ac_ext <<_ACEOF
32710 /* end confdefs.h. */
32711 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32712 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32713 #define $ac_func innocuous_$ac_func
32714
32715 /* System header to define __stub macros and hopefully few prototypes,
32716 which can conflict with char $ac_func (); below.
32717 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32718 <limits.h> exists even on freestanding compilers. */
32719
32720 #ifdef __STDC__
32721 # include <limits.h>
32722 #else
32723 # include <assert.h>
32724 #endif
32725
32726 #undef $ac_func
32727
32728 /* Override any gcc2 internal prototype to avoid an error. */
32729 #ifdef __cplusplus
32730 extern "C"
32731 {
32732 #endif
32733 /* We use char because int might match the return type of a gcc2
32734 builtin and then its argument prototype would still apply. */
32735 char $ac_func ();
32736 /* The GNU C library defines this for functions which it implements
32737 to always fail with ENOSYS. Some functions are actually named
32738 something starting with __ and the normal name is an alias. */
32739 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32740 choke me
32741 #else
32742 char (*f) () = $ac_func;
32743 #endif
32744 #ifdef __cplusplus
32745 }
32746 #endif
32747
32748 int
32749 main ()
32750 {
32751 return f != $ac_func;
32752 ;
32753 return 0;
32754 }
32755 _ACEOF
32756 rm -f conftest.$ac_objext conftest$ac_exeext
32757 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32758 (eval $ac_link) 2>conftest.er1
32759 ac_status=$?
32760 grep -v '^ *+' conftest.er1 >conftest.err
32761 rm -f conftest.er1
32762 cat conftest.err >&5
32763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32764 (exit $ac_status); } &&
32765 { ac_try='test -z "$ac_c_werror_flag"
32766 || test ! -s conftest.err'
32767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32768 (eval $ac_try) 2>&5
32769 ac_status=$?
32770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32771 (exit $ac_status); }; } &&
32772 { ac_try='test -s conftest$ac_exeext'
32773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32774 (eval $ac_try) 2>&5
32775 ac_status=$?
32776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32777 (exit $ac_status); }; }; then
32778 eval "$as_ac_var=yes"
32779 else
32780 echo "$as_me: failed program was:" >&5
32781 sed 's/^/| /' conftest.$ac_ext >&5
32782
32783 eval "$as_ac_var=no"
32784 fi
32785 rm -f conftest.err conftest.$ac_objext \
32786 conftest$ac_exeext conftest.$ac_ext
32787 fi
32788 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32789 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32790 if test `eval echo '${'$as_ac_var'}'` = yes; then
32791 cat >>confdefs.h <<_ACEOF
32792 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32793 _ACEOF
32794
32795 fi
32796 done
32797
32798 else
32799
32800 echo "$as_me:$LINENO: checking for _sincos declaration" >&5
32801 echo $ECHO_N "checking for _sincos declaration... $ECHO_C" >&6
32802 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
32803 if test "${glibcxx_cv_func__sincos_use+set}" = set; then
32804 echo $ECHO_N "(cached) $ECHO_C" >&6
32805 else
32806
32807
32808
32809 ac_ext=cc
32810 ac_cpp='$CXXCPP $CPPFLAGS'
32811 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32812 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32813 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32814
32815 cat >conftest.$ac_ext <<_ACEOF
32816 /* confdefs.h. */
32817 _ACEOF
32818 cat confdefs.h >>conftest.$ac_ext
32819 cat >>conftest.$ac_ext <<_ACEOF
32820 /* end confdefs.h. */
32821 #include <math.h>
32822 int
32823 main ()
32824 {
32825 _sincos(0, 0, 0);
32826 ;
32827 return 0;
32828 }
32829 _ACEOF
32830 rm -f conftest.$ac_objext
32831 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32832 (eval $ac_compile) 2>conftest.er1
32833 ac_status=$?
32834 grep -v '^ *+' conftest.er1 >conftest.err
32835 rm -f conftest.er1
32836 cat conftest.err >&5
32837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32838 (exit $ac_status); } &&
32839 { ac_try='test -z "$ac_cxx_werror_flag"
32840 || test ! -s conftest.err'
32841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32842 (eval $ac_try) 2>&5
32843 ac_status=$?
32844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32845 (exit $ac_status); }; } &&
32846 { ac_try='test -s conftest.$ac_objext'
32847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32848 (eval $ac_try) 2>&5
32849 ac_status=$?
32850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32851 (exit $ac_status); }; }; then
32852 glibcxx_cv_func__sincos_use=yes
32853 else
32854 echo "$as_me: failed program was:" >&5
32855 sed 's/^/| /' conftest.$ac_ext >&5
32856
32857 glibcxx_cv_func__sincos_use=no
32858 fi
32859 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32860 ac_ext=c
32861 ac_cpp='$CPP $CPPFLAGS'
32862 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32863 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32864 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32865
32866
32867 fi
32868
32869 fi
32870 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincos_use" >&5
32871 echo "${ECHO_T}$glibcxx_cv_func__sincos_use" >&6
32872
32873 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
32874
32875 for ac_func in _sincos
32876 do
32877 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32878 echo "$as_me:$LINENO: checking for $ac_func" >&5
32879 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32880 if eval "test \"\${$as_ac_var+set}\" = set"; then
32881 echo $ECHO_N "(cached) $ECHO_C" >&6
32882 else
32883 if test x$gcc_no_link = xyes; then
32884 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32885 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32886 { (exit 1); exit 1; }; }
32887 fi
32888 cat >conftest.$ac_ext <<_ACEOF
32889 /* confdefs.h. */
32890 _ACEOF
32891 cat confdefs.h >>conftest.$ac_ext
32892 cat >>conftest.$ac_ext <<_ACEOF
32893 /* end confdefs.h. */
32894 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32895 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32896 #define $ac_func innocuous_$ac_func
32897
32898 /* System header to define __stub macros and hopefully few prototypes,
32899 which can conflict with char $ac_func (); below.
32900 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32901 <limits.h> exists even on freestanding compilers. */
32902
32903 #ifdef __STDC__
32904 # include <limits.h>
32905 #else
32906 # include <assert.h>
32907 #endif
32908
32909 #undef $ac_func
32910
32911 /* Override any gcc2 internal prototype to avoid an error. */
32912 #ifdef __cplusplus
32913 extern "C"
32914 {
32915 #endif
32916 /* We use char because int might match the return type of a gcc2
32917 builtin and then its argument prototype would still apply. */
32918 char $ac_func ();
32919 /* The GNU C library defines this for functions which it implements
32920 to always fail with ENOSYS. Some functions are actually named
32921 something starting with __ and the normal name is an alias. */
32922 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32923 choke me
32924 #else
32925 char (*f) () = $ac_func;
32926 #endif
32927 #ifdef __cplusplus
32928 }
32929 #endif
32930
32931 int
32932 main ()
32933 {
32934 return f != $ac_func;
32935 ;
32936 return 0;
32937 }
32938 _ACEOF
32939 rm -f conftest.$ac_objext conftest$ac_exeext
32940 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32941 (eval $ac_link) 2>conftest.er1
32942 ac_status=$?
32943 grep -v '^ *+' conftest.er1 >conftest.err
32944 rm -f conftest.er1
32945 cat conftest.err >&5
32946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32947 (exit $ac_status); } &&
32948 { ac_try='test -z "$ac_c_werror_flag"
32949 || test ! -s conftest.err'
32950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32951 (eval $ac_try) 2>&5
32952 ac_status=$?
32953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32954 (exit $ac_status); }; } &&
32955 { ac_try='test -s conftest$ac_exeext'
32956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32957 (eval $ac_try) 2>&5
32958 ac_status=$?
32959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32960 (exit $ac_status); }; }; then
32961 eval "$as_ac_var=yes"
32962 else
32963 echo "$as_me: failed program was:" >&5
32964 sed 's/^/| /' conftest.$ac_ext >&5
32965
32966 eval "$as_ac_var=no"
32967 fi
32968 rm -f conftest.err conftest.$ac_objext \
32969 conftest$ac_exeext conftest.$ac_ext
32970 fi
32971 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32972 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32973 if test `eval echo '${'$as_ac_var'}'` = yes; then
32974 cat >>confdefs.h <<_ACEOF
32975 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32976 _ACEOF
32977
32978 fi
32979 done
32980
32981 fi
32982 fi
32983
32984
32985
32986
32987
32988
32989 echo "$as_me:$LINENO: checking for fpclass declaration" >&5
32990 echo $ECHO_N "checking for fpclass declaration... $ECHO_C" >&6
32991 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
32992 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then
32993 echo $ECHO_N "(cached) $ECHO_C" >&6
32994 else
32995
32996
32997
32998 ac_ext=cc
32999 ac_cpp='$CXXCPP $CPPFLAGS'
33000 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33001 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33002 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33003
33004 cat >conftest.$ac_ext <<_ACEOF
33005 /* confdefs.h. */
33006 _ACEOF
33007 cat confdefs.h >>conftest.$ac_ext
33008 cat >>conftest.$ac_ext <<_ACEOF
33009 /* end confdefs.h. */
33010 #include <math.h>
33011 #ifdef HAVE_IEEEFP_H
33012 #include <ieeefp.h>
33013 #endif
33014
33015 int
33016 main ()
33017 {
33018 fpclass(0);
33019 ;
33020 return 0;
33021 }
33022 _ACEOF
33023 rm -f conftest.$ac_objext
33024 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33025 (eval $ac_compile) 2>conftest.er1
33026 ac_status=$?
33027 grep -v '^ *+' conftest.er1 >conftest.err
33028 rm -f conftest.er1
33029 cat conftest.err >&5
33030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33031 (exit $ac_status); } &&
33032 { ac_try='test -z "$ac_cxx_werror_flag"
33033 || test ! -s conftest.err'
33034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33035 (eval $ac_try) 2>&5
33036 ac_status=$?
33037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33038 (exit $ac_status); }; } &&
33039 { ac_try='test -s conftest.$ac_objext'
33040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33041 (eval $ac_try) 2>&5
33042 ac_status=$?
33043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33044 (exit $ac_status); }; }; then
33045 glibcxx_cv_func_fpclass_use=yes
33046 else
33047 echo "$as_me: failed program was:" >&5
33048 sed 's/^/| /' conftest.$ac_ext >&5
33049
33050 glibcxx_cv_func_fpclass_use=no
33051 fi
33052 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33053 ac_ext=c
33054 ac_cpp='$CPP $CPPFLAGS'
33055 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33056 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33057 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33058
33059
33060 fi
33061
33062 fi
33063 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fpclass_use" >&5
33064 echo "${ECHO_T}$glibcxx_cv_func_fpclass_use" >&6
33065
33066 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
33067
33068 for ac_func in fpclass
33069 do
33070 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33071 echo "$as_me:$LINENO: checking for $ac_func" >&5
33072 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33073 if eval "test \"\${$as_ac_var+set}\" = set"; then
33074 echo $ECHO_N "(cached) $ECHO_C" >&6
33075 else
33076 if test x$gcc_no_link = xyes; then
33077 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33078 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33079 { (exit 1); exit 1; }; }
33080 fi
33081 cat >conftest.$ac_ext <<_ACEOF
33082 /* confdefs.h. */
33083 _ACEOF
33084 cat confdefs.h >>conftest.$ac_ext
33085 cat >>conftest.$ac_ext <<_ACEOF
33086 /* end confdefs.h. */
33087 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33088 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33089 #define $ac_func innocuous_$ac_func
33090
33091 /* System header to define __stub macros and hopefully few prototypes,
33092 which can conflict with char $ac_func (); below.
33093 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33094 <limits.h> exists even on freestanding compilers. */
33095
33096 #ifdef __STDC__
33097 # include <limits.h>
33098 #else
33099 # include <assert.h>
33100 #endif
33101
33102 #undef $ac_func
33103
33104 /* Override any gcc2 internal prototype to avoid an error. */
33105 #ifdef __cplusplus
33106 extern "C"
33107 {
33108 #endif
33109 /* We use char because int might match the return type of a gcc2
33110 builtin and then its argument prototype would still apply. */
33111 char $ac_func ();
33112 /* The GNU C library defines this for functions which it implements
33113 to always fail with ENOSYS. Some functions are actually named
33114 something starting with __ and the normal name is an alias. */
33115 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33116 choke me
33117 #else
33118 char (*f) () = $ac_func;
33119 #endif
33120 #ifdef __cplusplus
33121 }
33122 #endif
33123
33124 int
33125 main ()
33126 {
33127 return f != $ac_func;
33128 ;
33129 return 0;
33130 }
33131 _ACEOF
33132 rm -f conftest.$ac_objext conftest$ac_exeext
33133 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33134 (eval $ac_link) 2>conftest.er1
33135 ac_status=$?
33136 grep -v '^ *+' conftest.er1 >conftest.err
33137 rm -f conftest.er1
33138 cat conftest.err >&5
33139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33140 (exit $ac_status); } &&
33141 { ac_try='test -z "$ac_c_werror_flag"
33142 || test ! -s conftest.err'
33143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33144 (eval $ac_try) 2>&5
33145 ac_status=$?
33146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33147 (exit $ac_status); }; } &&
33148 { ac_try='test -s conftest$ac_exeext'
33149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33150 (eval $ac_try) 2>&5
33151 ac_status=$?
33152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33153 (exit $ac_status); }; }; then
33154 eval "$as_ac_var=yes"
33155 else
33156 echo "$as_me: failed program was:" >&5
33157 sed 's/^/| /' conftest.$ac_ext >&5
33158
33159 eval "$as_ac_var=no"
33160 fi
33161 rm -f conftest.err conftest.$ac_objext \
33162 conftest$ac_exeext conftest.$ac_ext
33163 fi
33164 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33165 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33166 if test `eval echo '${'$as_ac_var'}'` = yes; then
33167 cat >>confdefs.h <<_ACEOF
33168 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33169 _ACEOF
33170
33171 fi
33172 done
33173
33174 else
33175
33176 echo "$as_me:$LINENO: checking for _fpclass declaration" >&5
33177 echo $ECHO_N "checking for _fpclass declaration... $ECHO_C" >&6
33178 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
33179 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then
33180 echo $ECHO_N "(cached) $ECHO_C" >&6
33181 else
33182
33183
33184
33185 ac_ext=cc
33186 ac_cpp='$CXXCPP $CPPFLAGS'
33187 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33188 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33189 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33190
33191 cat >conftest.$ac_ext <<_ACEOF
33192 /* confdefs.h. */
33193 _ACEOF
33194 cat confdefs.h >>conftest.$ac_ext
33195 cat >>conftest.$ac_ext <<_ACEOF
33196 /* end confdefs.h. */
33197 #include <math.h>
33198 #ifdef HAVE_IEEEFP_H
33199 #include <ieeefp.h>
33200 #endif
33201
33202 int
33203 main ()
33204 {
33205 _fpclass(0);
33206 ;
33207 return 0;
33208 }
33209 _ACEOF
33210 rm -f conftest.$ac_objext
33211 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33212 (eval $ac_compile) 2>conftest.er1
33213 ac_status=$?
33214 grep -v '^ *+' conftest.er1 >conftest.err
33215 rm -f conftest.er1
33216 cat conftest.err >&5
33217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33218 (exit $ac_status); } &&
33219 { ac_try='test -z "$ac_cxx_werror_flag"
33220 || test ! -s conftest.err'
33221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33222 (eval $ac_try) 2>&5
33223 ac_status=$?
33224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33225 (exit $ac_status); }; } &&
33226 { ac_try='test -s conftest.$ac_objext'
33227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33228 (eval $ac_try) 2>&5
33229 ac_status=$?
33230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33231 (exit $ac_status); }; }; then
33232 glibcxx_cv_func__fpclass_use=yes
33233 else
33234 echo "$as_me: failed program was:" >&5
33235 sed 's/^/| /' conftest.$ac_ext >&5
33236
33237 glibcxx_cv_func__fpclass_use=no
33238 fi
33239 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33240 ac_ext=c
33241 ac_cpp='$CPP $CPPFLAGS'
33242 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33243 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33244 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33245
33246
33247 fi
33248
33249 fi
33250 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fpclass_use" >&5
33251 echo "${ECHO_T}$glibcxx_cv_func__fpclass_use" >&6
33252
33253 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
33254
33255 for ac_func in _fpclass
33256 do
33257 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33258 echo "$as_me:$LINENO: checking for $ac_func" >&5
33259 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33260 if eval "test \"\${$as_ac_var+set}\" = set"; then
33261 echo $ECHO_N "(cached) $ECHO_C" >&6
33262 else
33263 if test x$gcc_no_link = xyes; then
33264 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33265 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33266 { (exit 1); exit 1; }; }
33267 fi
33268 cat >conftest.$ac_ext <<_ACEOF
33269 /* confdefs.h. */
33270 _ACEOF
33271 cat confdefs.h >>conftest.$ac_ext
33272 cat >>conftest.$ac_ext <<_ACEOF
33273 /* end confdefs.h. */
33274 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33275 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33276 #define $ac_func innocuous_$ac_func
33277
33278 /* System header to define __stub macros and hopefully few prototypes,
33279 which can conflict with char $ac_func (); below.
33280 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33281 <limits.h> exists even on freestanding compilers. */
33282
33283 #ifdef __STDC__
33284 # include <limits.h>
33285 #else
33286 # include <assert.h>
33287 #endif
33288
33289 #undef $ac_func
33290
33291 /* Override any gcc2 internal prototype to avoid an error. */
33292 #ifdef __cplusplus
33293 extern "C"
33294 {
33295 #endif
33296 /* We use char because int might match the return type of a gcc2
33297 builtin and then its argument prototype would still apply. */
33298 char $ac_func ();
33299 /* The GNU C library defines this for functions which it implements
33300 to always fail with ENOSYS. Some functions are actually named
33301 something starting with __ and the normal name is an alias. */
33302 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33303 choke me
33304 #else
33305 char (*f) () = $ac_func;
33306 #endif
33307 #ifdef __cplusplus
33308 }
33309 #endif
33310
33311 int
33312 main ()
33313 {
33314 return f != $ac_func;
33315 ;
33316 return 0;
33317 }
33318 _ACEOF
33319 rm -f conftest.$ac_objext conftest$ac_exeext
33320 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33321 (eval $ac_link) 2>conftest.er1
33322 ac_status=$?
33323 grep -v '^ *+' conftest.er1 >conftest.err
33324 rm -f conftest.er1
33325 cat conftest.err >&5
33326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33327 (exit $ac_status); } &&
33328 { ac_try='test -z "$ac_c_werror_flag"
33329 || test ! -s conftest.err'
33330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33331 (eval $ac_try) 2>&5
33332 ac_status=$?
33333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33334 (exit $ac_status); }; } &&
33335 { ac_try='test -s conftest$ac_exeext'
33336 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33337 (eval $ac_try) 2>&5
33338 ac_status=$?
33339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33340 (exit $ac_status); }; }; then
33341 eval "$as_ac_var=yes"
33342 else
33343 echo "$as_me: failed program was:" >&5
33344 sed 's/^/| /' conftest.$ac_ext >&5
33345
33346 eval "$as_ac_var=no"
33347 fi
33348 rm -f conftest.err conftest.$ac_objext \
33349 conftest$ac_exeext conftest.$ac_ext
33350 fi
33351 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33352 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33353 if test `eval echo '${'$as_ac_var'}'` = yes; then
33354 cat >>confdefs.h <<_ACEOF
33355 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33356 _ACEOF
33357
33358 fi
33359 done
33360
33361 fi
33362 fi
33363
33364
33365
33366
33367
33368
33369 echo "$as_me:$LINENO: checking for qfpclass declaration" >&5
33370 echo $ECHO_N "checking for qfpclass declaration... $ECHO_C" >&6
33371 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
33372 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then
33373 echo $ECHO_N "(cached) $ECHO_C" >&6
33374 else
33375
33376
33377
33378 ac_ext=cc
33379 ac_cpp='$CXXCPP $CPPFLAGS'
33380 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33381 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33382 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33383
33384 cat >conftest.$ac_ext <<_ACEOF
33385 /* confdefs.h. */
33386 _ACEOF
33387 cat confdefs.h >>conftest.$ac_ext
33388 cat >>conftest.$ac_ext <<_ACEOF
33389 /* end confdefs.h. */
33390 #include <math.h>
33391 #ifdef HAVE_IEEEFP_H
33392 #include <ieeefp.h>
33393 #endif
33394
33395 int
33396 main ()
33397 {
33398 qfpclass(0);
33399 ;
33400 return 0;
33401 }
33402 _ACEOF
33403 rm -f conftest.$ac_objext
33404 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33405 (eval $ac_compile) 2>conftest.er1
33406 ac_status=$?
33407 grep -v '^ *+' conftest.er1 >conftest.err
33408 rm -f conftest.er1
33409 cat conftest.err >&5
33410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33411 (exit $ac_status); } &&
33412 { ac_try='test -z "$ac_cxx_werror_flag"
33413 || test ! -s conftest.err'
33414 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33415 (eval $ac_try) 2>&5
33416 ac_status=$?
33417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33418 (exit $ac_status); }; } &&
33419 { ac_try='test -s conftest.$ac_objext'
33420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33421 (eval $ac_try) 2>&5
33422 ac_status=$?
33423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33424 (exit $ac_status); }; }; then
33425 glibcxx_cv_func_qfpclass_use=yes
33426 else
33427 echo "$as_me: failed program was:" >&5
33428 sed 's/^/| /' conftest.$ac_ext >&5
33429
33430 glibcxx_cv_func_qfpclass_use=no
33431 fi
33432 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33433 ac_ext=c
33434 ac_cpp='$CPP $CPPFLAGS'
33435 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33436 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33437 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33438
33439
33440 fi
33441
33442 fi
33443 echo "$as_me:$LINENO: result: $glibcxx_cv_func_qfpclass_use" >&5
33444 echo "${ECHO_T}$glibcxx_cv_func_qfpclass_use" >&6
33445
33446 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
33447
33448 for ac_func in qfpclass
33449 do
33450 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33451 echo "$as_me:$LINENO: checking for $ac_func" >&5
33452 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33453 if eval "test \"\${$as_ac_var+set}\" = set"; then
33454 echo $ECHO_N "(cached) $ECHO_C" >&6
33455 else
33456 if test x$gcc_no_link = xyes; then
33457 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33458 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33459 { (exit 1); exit 1; }; }
33460 fi
33461 cat >conftest.$ac_ext <<_ACEOF
33462 /* confdefs.h. */
33463 _ACEOF
33464 cat confdefs.h >>conftest.$ac_ext
33465 cat >>conftest.$ac_ext <<_ACEOF
33466 /* end confdefs.h. */
33467 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33468 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33469 #define $ac_func innocuous_$ac_func
33470
33471 /* System header to define __stub macros and hopefully few prototypes,
33472 which can conflict with char $ac_func (); below.
33473 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33474 <limits.h> exists even on freestanding compilers. */
33475
33476 #ifdef __STDC__
33477 # include <limits.h>
33478 #else
33479 # include <assert.h>
33480 #endif
33481
33482 #undef $ac_func
33483
33484 /* Override any gcc2 internal prototype to avoid an error. */
33485 #ifdef __cplusplus
33486 extern "C"
33487 {
33488 #endif
33489 /* We use char because int might match the return type of a gcc2
33490 builtin and then its argument prototype would still apply. */
33491 char $ac_func ();
33492 /* The GNU C library defines this for functions which it implements
33493 to always fail with ENOSYS. Some functions are actually named
33494 something starting with __ and the normal name is an alias. */
33495 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33496 choke me
33497 #else
33498 char (*f) () = $ac_func;
33499 #endif
33500 #ifdef __cplusplus
33501 }
33502 #endif
33503
33504 int
33505 main ()
33506 {
33507 return f != $ac_func;
33508 ;
33509 return 0;
33510 }
33511 _ACEOF
33512 rm -f conftest.$ac_objext conftest$ac_exeext
33513 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33514 (eval $ac_link) 2>conftest.er1
33515 ac_status=$?
33516 grep -v '^ *+' conftest.er1 >conftest.err
33517 rm -f conftest.er1
33518 cat conftest.err >&5
33519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33520 (exit $ac_status); } &&
33521 { ac_try='test -z "$ac_c_werror_flag"
33522 || test ! -s conftest.err'
33523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33524 (eval $ac_try) 2>&5
33525 ac_status=$?
33526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33527 (exit $ac_status); }; } &&
33528 { ac_try='test -s conftest$ac_exeext'
33529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33530 (eval $ac_try) 2>&5
33531 ac_status=$?
33532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33533 (exit $ac_status); }; }; then
33534 eval "$as_ac_var=yes"
33535 else
33536 echo "$as_me: failed program was:" >&5
33537 sed 's/^/| /' conftest.$ac_ext >&5
33538
33539 eval "$as_ac_var=no"
33540 fi
33541 rm -f conftest.err conftest.$ac_objext \
33542 conftest$ac_exeext conftest.$ac_ext
33543 fi
33544 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33545 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33546 if test `eval echo '${'$as_ac_var'}'` = yes; then
33547 cat >>confdefs.h <<_ACEOF
33548 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33549 _ACEOF
33550
33551 fi
33552 done
33553
33554 else
33555
33556 echo "$as_me:$LINENO: checking for _qfpclass declaration" >&5
33557 echo $ECHO_N "checking for _qfpclass declaration... $ECHO_C" >&6
33558 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
33559 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then
33560 echo $ECHO_N "(cached) $ECHO_C" >&6
33561 else
33562
33563
33564
33565 ac_ext=cc
33566 ac_cpp='$CXXCPP $CPPFLAGS'
33567 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33568 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33569 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33570
33571 cat >conftest.$ac_ext <<_ACEOF
33572 /* confdefs.h. */
33573 _ACEOF
33574 cat confdefs.h >>conftest.$ac_ext
33575 cat >>conftest.$ac_ext <<_ACEOF
33576 /* end confdefs.h. */
33577 #include <math.h>
33578 #ifdef HAVE_IEEEFP_H
33579 #include <ieeefp.h>
33580 #endif
33581
33582 int
33583 main ()
33584 {
33585 _qfpclass(0);
33586 ;
33587 return 0;
33588 }
33589 _ACEOF
33590 rm -f conftest.$ac_objext
33591 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33592 (eval $ac_compile) 2>conftest.er1
33593 ac_status=$?
33594 grep -v '^ *+' conftest.er1 >conftest.err
33595 rm -f conftest.er1
33596 cat conftest.err >&5
33597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33598 (exit $ac_status); } &&
33599 { ac_try='test -z "$ac_cxx_werror_flag"
33600 || test ! -s conftest.err'
33601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33602 (eval $ac_try) 2>&5
33603 ac_status=$?
33604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33605 (exit $ac_status); }; } &&
33606 { ac_try='test -s conftest.$ac_objext'
33607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33608 (eval $ac_try) 2>&5
33609 ac_status=$?
33610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33611 (exit $ac_status); }; }; then
33612 glibcxx_cv_func__qfpclass_use=yes
33613 else
33614 echo "$as_me: failed program was:" >&5
33615 sed 's/^/| /' conftest.$ac_ext >&5
33616
33617 glibcxx_cv_func__qfpclass_use=no
33618 fi
33619 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33620 ac_ext=c
33621 ac_cpp='$CPP $CPPFLAGS'
33622 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33623 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33624 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33625
33626
33627 fi
33628
33629 fi
33630 echo "$as_me:$LINENO: result: $glibcxx_cv_func__qfpclass_use" >&5
33631 echo "${ECHO_T}$glibcxx_cv_func__qfpclass_use" >&6
33632
33633 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
33634
33635 for ac_func in _qfpclass
33636 do
33637 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33638 echo "$as_me:$LINENO: checking for $ac_func" >&5
33639 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33640 if eval "test \"\${$as_ac_var+set}\" = set"; then
33641 echo $ECHO_N "(cached) $ECHO_C" >&6
33642 else
33643 if test x$gcc_no_link = xyes; then
33644 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33645 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33646 { (exit 1); exit 1; }; }
33647 fi
33648 cat >conftest.$ac_ext <<_ACEOF
33649 /* confdefs.h. */
33650 _ACEOF
33651 cat confdefs.h >>conftest.$ac_ext
33652 cat >>conftest.$ac_ext <<_ACEOF
33653 /* end confdefs.h. */
33654 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33655 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33656 #define $ac_func innocuous_$ac_func
33657
33658 /* System header to define __stub macros and hopefully few prototypes,
33659 which can conflict with char $ac_func (); below.
33660 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33661 <limits.h> exists even on freestanding compilers. */
33662
33663 #ifdef __STDC__
33664 # include <limits.h>
33665 #else
33666 # include <assert.h>
33667 #endif
33668
33669 #undef $ac_func
33670
33671 /* Override any gcc2 internal prototype to avoid an error. */
33672 #ifdef __cplusplus
33673 extern "C"
33674 {
33675 #endif
33676 /* We use char because int might match the return type of a gcc2
33677 builtin and then its argument prototype would still apply. */
33678 char $ac_func ();
33679 /* The GNU C library defines this for functions which it implements
33680 to always fail with ENOSYS. Some functions are actually named
33681 something starting with __ and the normal name is an alias. */
33682 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33683 choke me
33684 #else
33685 char (*f) () = $ac_func;
33686 #endif
33687 #ifdef __cplusplus
33688 }
33689 #endif
33690
33691 int
33692 main ()
33693 {
33694 return f != $ac_func;
33695 ;
33696 return 0;
33697 }
33698 _ACEOF
33699 rm -f conftest.$ac_objext conftest$ac_exeext
33700 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33701 (eval $ac_link) 2>conftest.er1
33702 ac_status=$?
33703 grep -v '^ *+' conftest.er1 >conftest.err
33704 rm -f conftest.er1
33705 cat conftest.err >&5
33706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33707 (exit $ac_status); } &&
33708 { ac_try='test -z "$ac_c_werror_flag"
33709 || test ! -s conftest.err'
33710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33711 (eval $ac_try) 2>&5
33712 ac_status=$?
33713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33714 (exit $ac_status); }; } &&
33715 { ac_try='test -s conftest$ac_exeext'
33716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33717 (eval $ac_try) 2>&5
33718 ac_status=$?
33719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33720 (exit $ac_status); }; }; then
33721 eval "$as_ac_var=yes"
33722 else
33723 echo "$as_me: failed program was:" >&5
33724 sed 's/^/| /' conftest.$ac_ext >&5
33725
33726 eval "$as_ac_var=no"
33727 fi
33728 rm -f conftest.err conftest.$ac_objext \
33729 conftest$ac_exeext conftest.$ac_ext
33730 fi
33731 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33732 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33733 if test `eval echo '${'$as_ac_var'}'` = yes; then
33734 cat >>confdefs.h <<_ACEOF
33735 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33736 _ACEOF
33737
33738 fi
33739 done
33740
33741 fi
33742 fi
33743
33744
33745
33746
33747
33748
33749 echo "$as_me:$LINENO: checking for hypot declaration" >&5
33750 echo $ECHO_N "checking for hypot declaration... $ECHO_C" >&6
33751 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
33752 if test "${glibcxx_cv_func_hypot_use+set}" = set; then
33753 echo $ECHO_N "(cached) $ECHO_C" >&6
33754 else
33755
33756
33757
33758 ac_ext=cc
33759 ac_cpp='$CXXCPP $CPPFLAGS'
33760 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33761 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33762 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33763
33764 cat >conftest.$ac_ext <<_ACEOF
33765 /* confdefs.h. */
33766 _ACEOF
33767 cat confdefs.h >>conftest.$ac_ext
33768 cat >>conftest.$ac_ext <<_ACEOF
33769 /* end confdefs.h. */
33770 #include <math.h>
33771 int
33772 main ()
33773 {
33774 hypot(0, 0);
33775 ;
33776 return 0;
33777 }
33778 _ACEOF
33779 rm -f conftest.$ac_objext
33780 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33781 (eval $ac_compile) 2>conftest.er1
33782 ac_status=$?
33783 grep -v '^ *+' conftest.er1 >conftest.err
33784 rm -f conftest.er1
33785 cat conftest.err >&5
33786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33787 (exit $ac_status); } &&
33788 { ac_try='test -z "$ac_cxx_werror_flag"
33789 || test ! -s conftest.err'
33790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33791 (eval $ac_try) 2>&5
33792 ac_status=$?
33793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33794 (exit $ac_status); }; } &&
33795 { ac_try='test -s conftest.$ac_objext'
33796 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33797 (eval $ac_try) 2>&5
33798 ac_status=$?
33799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33800 (exit $ac_status); }; }; then
33801 glibcxx_cv_func_hypot_use=yes
33802 else
33803 echo "$as_me: failed program was:" >&5
33804 sed 's/^/| /' conftest.$ac_ext >&5
33805
33806 glibcxx_cv_func_hypot_use=no
33807 fi
33808 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33809 ac_ext=c
33810 ac_cpp='$CPP $CPPFLAGS'
33811 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33812 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33813 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33814
33815
33816 fi
33817
33818 fi
33819 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypot_use" >&5
33820 echo "${ECHO_T}$glibcxx_cv_func_hypot_use" >&6
33821
33822 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
33823
33824 for ac_func in hypot
33825 do
33826 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33827 echo "$as_me:$LINENO: checking for $ac_func" >&5
33828 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33829 if eval "test \"\${$as_ac_var+set}\" = set"; then
33830 echo $ECHO_N "(cached) $ECHO_C" >&6
33831 else
33832 if test x$gcc_no_link = xyes; then
33833 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33834 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33835 { (exit 1); exit 1; }; }
33836 fi
33837 cat >conftest.$ac_ext <<_ACEOF
33838 /* confdefs.h. */
33839 _ACEOF
33840 cat confdefs.h >>conftest.$ac_ext
33841 cat >>conftest.$ac_ext <<_ACEOF
33842 /* end confdefs.h. */
33843 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33844 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33845 #define $ac_func innocuous_$ac_func
33846
33847 /* System header to define __stub macros and hopefully few prototypes,
33848 which can conflict with char $ac_func (); below.
33849 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33850 <limits.h> exists even on freestanding compilers. */
33851
33852 #ifdef __STDC__
33853 # include <limits.h>
33854 #else
33855 # include <assert.h>
33856 #endif
33857
33858 #undef $ac_func
33859
33860 /* Override any gcc2 internal prototype to avoid an error. */
33861 #ifdef __cplusplus
33862 extern "C"
33863 {
33864 #endif
33865 /* We use char because int might match the return type of a gcc2
33866 builtin and then its argument prototype would still apply. */
33867 char $ac_func ();
33868 /* The GNU C library defines this for functions which it implements
33869 to always fail with ENOSYS. Some functions are actually named
33870 something starting with __ and the normal name is an alias. */
33871 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33872 choke me
33873 #else
33874 char (*f) () = $ac_func;
33875 #endif
33876 #ifdef __cplusplus
33877 }
33878 #endif
33879
33880 int
33881 main ()
33882 {
33883 return f != $ac_func;
33884 ;
33885 return 0;
33886 }
33887 _ACEOF
33888 rm -f conftest.$ac_objext conftest$ac_exeext
33889 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33890 (eval $ac_link) 2>conftest.er1
33891 ac_status=$?
33892 grep -v '^ *+' conftest.er1 >conftest.err
33893 rm -f conftest.er1
33894 cat conftest.err >&5
33895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33896 (exit $ac_status); } &&
33897 { ac_try='test -z "$ac_c_werror_flag"
33898 || test ! -s conftest.err'
33899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33900 (eval $ac_try) 2>&5
33901 ac_status=$?
33902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33903 (exit $ac_status); }; } &&
33904 { ac_try='test -s conftest$ac_exeext'
33905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33906 (eval $ac_try) 2>&5
33907 ac_status=$?
33908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33909 (exit $ac_status); }; }; then
33910 eval "$as_ac_var=yes"
33911 else
33912 echo "$as_me: failed program was:" >&5
33913 sed 's/^/| /' conftest.$ac_ext >&5
33914
33915 eval "$as_ac_var=no"
33916 fi
33917 rm -f conftest.err conftest.$ac_objext \
33918 conftest$ac_exeext conftest.$ac_ext
33919 fi
33920 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33921 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33922 if test `eval echo '${'$as_ac_var'}'` = yes; then
33923 cat >>confdefs.h <<_ACEOF
33924 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33925 _ACEOF
33926
33927 fi
33928 done
33929
33930 else
33931
33932 echo "$as_me:$LINENO: checking for _hypot declaration" >&5
33933 echo $ECHO_N "checking for _hypot declaration... $ECHO_C" >&6
33934 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
33935 if test "${glibcxx_cv_func__hypot_use+set}" = set; then
33936 echo $ECHO_N "(cached) $ECHO_C" >&6
33937 else
33938
33939
33940
33941 ac_ext=cc
33942 ac_cpp='$CXXCPP $CPPFLAGS'
33943 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33944 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33945 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33946
33947 cat >conftest.$ac_ext <<_ACEOF
33948 /* confdefs.h. */
33949 _ACEOF
33950 cat confdefs.h >>conftest.$ac_ext
33951 cat >>conftest.$ac_ext <<_ACEOF
33952 /* end confdefs.h. */
33953 #include <math.h>
33954 int
33955 main ()
33956 {
33957 _hypot(0, 0);
33958 ;
33959 return 0;
33960 }
33961 _ACEOF
33962 rm -f conftest.$ac_objext
33963 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33964 (eval $ac_compile) 2>conftest.er1
33965 ac_status=$?
33966 grep -v '^ *+' conftest.er1 >conftest.err
33967 rm -f conftest.er1
33968 cat conftest.err >&5
33969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33970 (exit $ac_status); } &&
33971 { ac_try='test -z "$ac_cxx_werror_flag"
33972 || test ! -s conftest.err'
33973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33974 (eval $ac_try) 2>&5
33975 ac_status=$?
33976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33977 (exit $ac_status); }; } &&
33978 { ac_try='test -s conftest.$ac_objext'
33979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33980 (eval $ac_try) 2>&5
33981 ac_status=$?
33982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33983 (exit $ac_status); }; }; then
33984 glibcxx_cv_func__hypot_use=yes
33985 else
33986 echo "$as_me: failed program was:" >&5
33987 sed 's/^/| /' conftest.$ac_ext >&5
33988
33989 glibcxx_cv_func__hypot_use=no
33990 fi
33991 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33992 ac_ext=c
33993 ac_cpp='$CPP $CPPFLAGS'
33994 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33995 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33996 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33997
33998
33999 fi
34000
34001 fi
34002 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypot_use" >&5
34003 echo "${ECHO_T}$glibcxx_cv_func__hypot_use" >&6
34004
34005 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
34006
34007 for ac_func in _hypot
34008 do
34009 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34010 echo "$as_me:$LINENO: checking for $ac_func" >&5
34011 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34012 if eval "test \"\${$as_ac_var+set}\" = set"; then
34013 echo $ECHO_N "(cached) $ECHO_C" >&6
34014 else
34015 if test x$gcc_no_link = xyes; then
34016 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34017 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34018 { (exit 1); exit 1; }; }
34019 fi
34020 cat >conftest.$ac_ext <<_ACEOF
34021 /* confdefs.h. */
34022 _ACEOF
34023 cat confdefs.h >>conftest.$ac_ext
34024 cat >>conftest.$ac_ext <<_ACEOF
34025 /* end confdefs.h. */
34026 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34027 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34028 #define $ac_func innocuous_$ac_func
34029
34030 /* System header to define __stub macros and hopefully few prototypes,
34031 which can conflict with char $ac_func (); below.
34032 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34033 <limits.h> exists even on freestanding compilers. */
34034
34035 #ifdef __STDC__
34036 # include <limits.h>
34037 #else
34038 # include <assert.h>
34039 #endif
34040
34041 #undef $ac_func
34042
34043 /* Override any gcc2 internal prototype to avoid an error. */
34044 #ifdef __cplusplus
34045 extern "C"
34046 {
34047 #endif
34048 /* We use char because int might match the return type of a gcc2
34049 builtin and then its argument prototype would still apply. */
34050 char $ac_func ();
34051 /* The GNU C library defines this for functions which it implements
34052 to always fail with ENOSYS. Some functions are actually named
34053 something starting with __ and the normal name is an alias. */
34054 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34055 choke me
34056 #else
34057 char (*f) () = $ac_func;
34058 #endif
34059 #ifdef __cplusplus
34060 }
34061 #endif
34062
34063 int
34064 main ()
34065 {
34066 return f != $ac_func;
34067 ;
34068 return 0;
34069 }
34070 _ACEOF
34071 rm -f conftest.$ac_objext conftest$ac_exeext
34072 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34073 (eval $ac_link) 2>conftest.er1
34074 ac_status=$?
34075 grep -v '^ *+' conftest.er1 >conftest.err
34076 rm -f conftest.er1
34077 cat conftest.err >&5
34078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34079 (exit $ac_status); } &&
34080 { ac_try='test -z "$ac_c_werror_flag"
34081 || test ! -s conftest.err'
34082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34083 (eval $ac_try) 2>&5
34084 ac_status=$?
34085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34086 (exit $ac_status); }; } &&
34087 { ac_try='test -s conftest$ac_exeext'
34088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34089 (eval $ac_try) 2>&5
34090 ac_status=$?
34091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34092 (exit $ac_status); }; }; then
34093 eval "$as_ac_var=yes"
34094 else
34095 echo "$as_me: failed program was:" >&5
34096 sed 's/^/| /' conftest.$ac_ext >&5
34097
34098 eval "$as_ac_var=no"
34099 fi
34100 rm -f conftest.err conftest.$ac_objext \
34101 conftest$ac_exeext conftest.$ac_ext
34102 fi
34103 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34104 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34105 if test `eval echo '${'$as_ac_var'}'` = yes; then
34106 cat >>confdefs.h <<_ACEOF
34107 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34108 _ACEOF
34109
34110 fi
34111 done
34112
34113 fi
34114 fi
34115
34116
34117
34118
34119
34120
34121 echo "$as_me:$LINENO: checking for float trig functions" >&5
34122 echo $ECHO_N "checking for float trig functions... $ECHO_C" >&6
34123 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then
34124 echo $ECHO_N "(cached) $ECHO_C" >&6
34125 else
34126
34127
34128
34129 ac_ext=cc
34130 ac_cpp='$CXXCPP $CPPFLAGS'
34131 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34132 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34133 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34134
34135 cat >conftest.$ac_ext <<_ACEOF
34136 /* confdefs.h. */
34137 _ACEOF
34138 cat confdefs.h >>conftest.$ac_ext
34139 cat >>conftest.$ac_ext <<_ACEOF
34140 /* end confdefs.h. */
34141 #include <math.h>
34142 int
34143 main ()
34144 {
34145 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
34146 ;
34147 return 0;
34148 }
34149 _ACEOF
34150 rm -f conftest.$ac_objext
34151 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34152 (eval $ac_compile) 2>conftest.er1
34153 ac_status=$?
34154 grep -v '^ *+' conftest.er1 >conftest.err
34155 rm -f conftest.er1
34156 cat conftest.err >&5
34157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34158 (exit $ac_status); } &&
34159 { ac_try='test -z "$ac_cxx_werror_flag"
34160 || test ! -s conftest.err'
34161 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34162 (eval $ac_try) 2>&5
34163 ac_status=$?
34164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34165 (exit $ac_status); }; } &&
34166 { ac_try='test -s conftest.$ac_objext'
34167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34168 (eval $ac_try) 2>&5
34169 ac_status=$?
34170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34171 (exit $ac_status); }; }; then
34172 glibcxx_cv_func_float_trig_use=yes
34173 else
34174 echo "$as_me: failed program was:" >&5
34175 sed 's/^/| /' conftest.$ac_ext >&5
34176
34177 glibcxx_cv_func_float_trig_use=no
34178 fi
34179 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34180 ac_ext=c
34181 ac_cpp='$CPP $CPPFLAGS'
34182 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34183 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34184 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34185
34186 fi
34187
34188 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_trig_use" >&5
34189 echo "${ECHO_T}$glibcxx_cv_func_float_trig_use" >&6
34190 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
34191
34192
34193
34194
34195
34196
34197
34198
34199
34200 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
34201 do
34202 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34203 echo "$as_me:$LINENO: checking for $ac_func" >&5
34204 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34205 if eval "test \"\${$as_ac_var+set}\" = set"; then
34206 echo $ECHO_N "(cached) $ECHO_C" >&6
34207 else
34208 if test x$gcc_no_link = xyes; then
34209 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34210 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34211 { (exit 1); exit 1; }; }
34212 fi
34213 cat >conftest.$ac_ext <<_ACEOF
34214 /* confdefs.h. */
34215 _ACEOF
34216 cat confdefs.h >>conftest.$ac_ext
34217 cat >>conftest.$ac_ext <<_ACEOF
34218 /* end confdefs.h. */
34219 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34220 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34221 #define $ac_func innocuous_$ac_func
34222
34223 /* System header to define __stub macros and hopefully few prototypes,
34224 which can conflict with char $ac_func (); below.
34225 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34226 <limits.h> exists even on freestanding compilers. */
34227
34228 #ifdef __STDC__
34229 # include <limits.h>
34230 #else
34231 # include <assert.h>
34232 #endif
34233
34234 #undef $ac_func
34235
34236 /* Override any gcc2 internal prototype to avoid an error. */
34237 #ifdef __cplusplus
34238 extern "C"
34239 {
34240 #endif
34241 /* We use char because int might match the return type of a gcc2
34242 builtin and then its argument prototype would still apply. */
34243 char $ac_func ();
34244 /* The GNU C library defines this for functions which it implements
34245 to always fail with ENOSYS. Some functions are actually named
34246 something starting with __ and the normal name is an alias. */
34247 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34248 choke me
34249 #else
34250 char (*f) () = $ac_func;
34251 #endif
34252 #ifdef __cplusplus
34253 }
34254 #endif
34255
34256 int
34257 main ()
34258 {
34259 return f != $ac_func;
34260 ;
34261 return 0;
34262 }
34263 _ACEOF
34264 rm -f conftest.$ac_objext conftest$ac_exeext
34265 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34266 (eval $ac_link) 2>conftest.er1
34267 ac_status=$?
34268 grep -v '^ *+' conftest.er1 >conftest.err
34269 rm -f conftest.er1
34270 cat conftest.err >&5
34271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34272 (exit $ac_status); } &&
34273 { ac_try='test -z "$ac_c_werror_flag"
34274 || test ! -s conftest.err'
34275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34276 (eval $ac_try) 2>&5
34277 ac_status=$?
34278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34279 (exit $ac_status); }; } &&
34280 { ac_try='test -s conftest$ac_exeext'
34281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34282 (eval $ac_try) 2>&5
34283 ac_status=$?
34284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34285 (exit $ac_status); }; }; then
34286 eval "$as_ac_var=yes"
34287 else
34288 echo "$as_me: failed program was:" >&5
34289 sed 's/^/| /' conftest.$ac_ext >&5
34290
34291 eval "$as_ac_var=no"
34292 fi
34293 rm -f conftest.err conftest.$ac_objext \
34294 conftest$ac_exeext conftest.$ac_ext
34295 fi
34296 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34297 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34298 if test `eval echo '${'$as_ac_var'}'` = yes; then
34299 cat >>confdefs.h <<_ACEOF
34300 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34301 _ACEOF
34302
34303 fi
34304 done
34305
34306 else
34307 echo "$as_me:$LINENO: checking for _float trig functions" >&5
34308 echo $ECHO_N "checking for _float trig functions... $ECHO_C" >&6
34309 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then
34310 echo $ECHO_N "(cached) $ECHO_C" >&6
34311 else
34312
34313
34314
34315 ac_ext=cc
34316 ac_cpp='$CXXCPP $CPPFLAGS'
34317 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34318 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34319 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34320
34321 cat >conftest.$ac_ext <<_ACEOF
34322 /* confdefs.h. */
34323 _ACEOF
34324 cat confdefs.h >>conftest.$ac_ext
34325 cat >>conftest.$ac_ext <<_ACEOF
34326 /* end confdefs.h. */
34327 #include <math.h>
34328 int
34329 main ()
34330 {
34331 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
34332 ;
34333 return 0;
34334 }
34335 _ACEOF
34336 rm -f conftest.$ac_objext
34337 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34338 (eval $ac_compile) 2>conftest.er1
34339 ac_status=$?
34340 grep -v '^ *+' conftest.er1 >conftest.err
34341 rm -f conftest.er1
34342 cat conftest.err >&5
34343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34344 (exit $ac_status); } &&
34345 { ac_try='test -z "$ac_cxx_werror_flag"
34346 || test ! -s conftest.err'
34347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34348 (eval $ac_try) 2>&5
34349 ac_status=$?
34350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34351 (exit $ac_status); }; } &&
34352 { ac_try='test -s conftest.$ac_objext'
34353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34354 (eval $ac_try) 2>&5
34355 ac_status=$?
34356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34357 (exit $ac_status); }; }; then
34358 glibcxx_cv_func__float_trig_use=yes
34359 else
34360 echo "$as_me: failed program was:" >&5
34361 sed 's/^/| /' conftest.$ac_ext >&5
34362
34363 glibcxx_cv_func__float_trig_use=no
34364 fi
34365 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34366 ac_ext=c
34367 ac_cpp='$CPP $CPPFLAGS'
34368 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34369 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34370 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34371
34372 fi
34373
34374 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_trig_use" >&5
34375 echo "${ECHO_T}$glibcxx_cv_func__float_trig_use" >&6
34376 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
34377
34378
34379
34380
34381
34382
34383
34384
34385
34386 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
34387 do
34388 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34389 echo "$as_me:$LINENO: checking for $ac_func" >&5
34390 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34391 if eval "test \"\${$as_ac_var+set}\" = set"; then
34392 echo $ECHO_N "(cached) $ECHO_C" >&6
34393 else
34394 if test x$gcc_no_link = xyes; then
34395 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34396 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34397 { (exit 1); exit 1; }; }
34398 fi
34399 cat >conftest.$ac_ext <<_ACEOF
34400 /* confdefs.h. */
34401 _ACEOF
34402 cat confdefs.h >>conftest.$ac_ext
34403 cat >>conftest.$ac_ext <<_ACEOF
34404 /* end confdefs.h. */
34405 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34406 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34407 #define $ac_func innocuous_$ac_func
34408
34409 /* System header to define __stub macros and hopefully few prototypes,
34410 which can conflict with char $ac_func (); below.
34411 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34412 <limits.h> exists even on freestanding compilers. */
34413
34414 #ifdef __STDC__
34415 # include <limits.h>
34416 #else
34417 # include <assert.h>
34418 #endif
34419
34420 #undef $ac_func
34421
34422 /* Override any gcc2 internal prototype to avoid an error. */
34423 #ifdef __cplusplus
34424 extern "C"
34425 {
34426 #endif
34427 /* We use char because int might match the return type of a gcc2
34428 builtin and then its argument prototype would still apply. */
34429 char $ac_func ();
34430 /* The GNU C library defines this for functions which it implements
34431 to always fail with ENOSYS. Some functions are actually named
34432 something starting with __ and the normal name is an alias. */
34433 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34434 choke me
34435 #else
34436 char (*f) () = $ac_func;
34437 #endif
34438 #ifdef __cplusplus
34439 }
34440 #endif
34441
34442 int
34443 main ()
34444 {
34445 return f != $ac_func;
34446 ;
34447 return 0;
34448 }
34449 _ACEOF
34450 rm -f conftest.$ac_objext conftest$ac_exeext
34451 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34452 (eval $ac_link) 2>conftest.er1
34453 ac_status=$?
34454 grep -v '^ *+' conftest.er1 >conftest.err
34455 rm -f conftest.er1
34456 cat conftest.err >&5
34457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34458 (exit $ac_status); } &&
34459 { ac_try='test -z "$ac_c_werror_flag"
34460 || test ! -s conftest.err'
34461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34462 (eval $ac_try) 2>&5
34463 ac_status=$?
34464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34465 (exit $ac_status); }; } &&
34466 { ac_try='test -s conftest$ac_exeext'
34467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34468 (eval $ac_try) 2>&5
34469 ac_status=$?
34470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34471 (exit $ac_status); }; }; then
34472 eval "$as_ac_var=yes"
34473 else
34474 echo "$as_me: failed program was:" >&5
34475 sed 's/^/| /' conftest.$ac_ext >&5
34476
34477 eval "$as_ac_var=no"
34478 fi
34479 rm -f conftest.err conftest.$ac_objext \
34480 conftest$ac_exeext conftest.$ac_ext
34481 fi
34482 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34483 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34484 if test `eval echo '${'$as_ac_var'}'` = yes; then
34485 cat >>confdefs.h <<_ACEOF
34486 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34487 _ACEOF
34488
34489 fi
34490 done
34491
34492 fi
34493 fi
34494
34495
34496
34497
34498
34499
34500
34501
34502
34503
34504
34505
34506
34507
34508 echo "$as_me:$LINENO: checking for float round functions" >&5
34509 echo $ECHO_N "checking for float round functions... $ECHO_C" >&6
34510 if test "${glibcxx_cv_func_float_round_use+set}" = set; then
34511 echo $ECHO_N "(cached) $ECHO_C" >&6
34512 else
34513
34514
34515
34516 ac_ext=cc
34517 ac_cpp='$CXXCPP $CPPFLAGS'
34518 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34519 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34520 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34521
34522 cat >conftest.$ac_ext <<_ACEOF
34523 /* confdefs.h. */
34524 _ACEOF
34525 cat confdefs.h >>conftest.$ac_ext
34526 cat >>conftest.$ac_ext <<_ACEOF
34527 /* end confdefs.h. */
34528 #include <math.h>
34529 int
34530 main ()
34531 {
34532 ceilf (0); floorf (0);
34533 ;
34534 return 0;
34535 }
34536 _ACEOF
34537 rm -f conftest.$ac_objext
34538 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34539 (eval $ac_compile) 2>conftest.er1
34540 ac_status=$?
34541 grep -v '^ *+' conftest.er1 >conftest.err
34542 rm -f conftest.er1
34543 cat conftest.err >&5
34544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34545 (exit $ac_status); } &&
34546 { ac_try='test -z "$ac_cxx_werror_flag"
34547 || test ! -s conftest.err'
34548 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34549 (eval $ac_try) 2>&5
34550 ac_status=$?
34551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34552 (exit $ac_status); }; } &&
34553 { ac_try='test -s conftest.$ac_objext'
34554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34555 (eval $ac_try) 2>&5
34556 ac_status=$?
34557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34558 (exit $ac_status); }; }; then
34559 glibcxx_cv_func_float_round_use=yes
34560 else
34561 echo "$as_me: failed program was:" >&5
34562 sed 's/^/| /' conftest.$ac_ext >&5
34563
34564 glibcxx_cv_func_float_round_use=no
34565 fi
34566 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34567 ac_ext=c
34568 ac_cpp='$CPP $CPPFLAGS'
34569 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34570 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34571 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34572
34573 fi
34574
34575 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_round_use" >&5
34576 echo "${ECHO_T}$glibcxx_cv_func_float_round_use" >&6
34577 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
34578
34579
34580 for ac_func in ceilf floorf
34581 do
34582 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34583 echo "$as_me:$LINENO: checking for $ac_func" >&5
34584 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34585 if eval "test \"\${$as_ac_var+set}\" = set"; then
34586 echo $ECHO_N "(cached) $ECHO_C" >&6
34587 else
34588 if test x$gcc_no_link = xyes; then
34589 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34590 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34591 { (exit 1); exit 1; }; }
34592 fi
34593 cat >conftest.$ac_ext <<_ACEOF
34594 /* confdefs.h. */
34595 _ACEOF
34596 cat confdefs.h >>conftest.$ac_ext
34597 cat >>conftest.$ac_ext <<_ACEOF
34598 /* end confdefs.h. */
34599 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34600 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34601 #define $ac_func innocuous_$ac_func
34602
34603 /* System header to define __stub macros and hopefully few prototypes,
34604 which can conflict with char $ac_func (); below.
34605 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34606 <limits.h> exists even on freestanding compilers. */
34607
34608 #ifdef __STDC__
34609 # include <limits.h>
34610 #else
34611 # include <assert.h>
34612 #endif
34613
34614 #undef $ac_func
34615
34616 /* Override any gcc2 internal prototype to avoid an error. */
34617 #ifdef __cplusplus
34618 extern "C"
34619 {
34620 #endif
34621 /* We use char because int might match the return type of a gcc2
34622 builtin and then its argument prototype would still apply. */
34623 char $ac_func ();
34624 /* The GNU C library defines this for functions which it implements
34625 to always fail with ENOSYS. Some functions are actually named
34626 something starting with __ and the normal name is an alias. */
34627 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34628 choke me
34629 #else
34630 char (*f) () = $ac_func;
34631 #endif
34632 #ifdef __cplusplus
34633 }
34634 #endif
34635
34636 int
34637 main ()
34638 {
34639 return f != $ac_func;
34640 ;
34641 return 0;
34642 }
34643 _ACEOF
34644 rm -f conftest.$ac_objext conftest$ac_exeext
34645 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34646 (eval $ac_link) 2>conftest.er1
34647 ac_status=$?
34648 grep -v '^ *+' conftest.er1 >conftest.err
34649 rm -f conftest.er1
34650 cat conftest.err >&5
34651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34652 (exit $ac_status); } &&
34653 { ac_try='test -z "$ac_c_werror_flag"
34654 || test ! -s conftest.err'
34655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34656 (eval $ac_try) 2>&5
34657 ac_status=$?
34658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34659 (exit $ac_status); }; } &&
34660 { ac_try='test -s conftest$ac_exeext'
34661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34662 (eval $ac_try) 2>&5
34663 ac_status=$?
34664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34665 (exit $ac_status); }; }; then
34666 eval "$as_ac_var=yes"
34667 else
34668 echo "$as_me: failed program was:" >&5
34669 sed 's/^/| /' conftest.$ac_ext >&5
34670
34671 eval "$as_ac_var=no"
34672 fi
34673 rm -f conftest.err conftest.$ac_objext \
34674 conftest$ac_exeext conftest.$ac_ext
34675 fi
34676 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34677 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34678 if test `eval echo '${'$as_ac_var'}'` = yes; then
34679 cat >>confdefs.h <<_ACEOF
34680 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34681 _ACEOF
34682
34683 fi
34684 done
34685
34686 else
34687 echo "$as_me:$LINENO: checking for _float round functions" >&5
34688 echo $ECHO_N "checking for _float round functions... $ECHO_C" >&6
34689 if test "${glibcxx_cv_func__float_round_use+set}" = set; then
34690 echo $ECHO_N "(cached) $ECHO_C" >&6
34691 else
34692
34693
34694
34695 ac_ext=cc
34696 ac_cpp='$CXXCPP $CPPFLAGS'
34697 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34698 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34699 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34700
34701 cat >conftest.$ac_ext <<_ACEOF
34702 /* confdefs.h. */
34703 _ACEOF
34704 cat confdefs.h >>conftest.$ac_ext
34705 cat >>conftest.$ac_ext <<_ACEOF
34706 /* end confdefs.h. */
34707 #include <math.h>
34708 int
34709 main ()
34710 {
34711 _ceilf (0); _floorf (0);
34712 ;
34713 return 0;
34714 }
34715 _ACEOF
34716 rm -f conftest.$ac_objext
34717 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34718 (eval $ac_compile) 2>conftest.er1
34719 ac_status=$?
34720 grep -v '^ *+' conftest.er1 >conftest.err
34721 rm -f conftest.er1
34722 cat conftest.err >&5
34723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34724 (exit $ac_status); } &&
34725 { ac_try='test -z "$ac_cxx_werror_flag"
34726 || test ! -s conftest.err'
34727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34728 (eval $ac_try) 2>&5
34729 ac_status=$?
34730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34731 (exit $ac_status); }; } &&
34732 { ac_try='test -s conftest.$ac_objext'
34733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34734 (eval $ac_try) 2>&5
34735 ac_status=$?
34736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34737 (exit $ac_status); }; }; then
34738 glibcxx_cv_func__float_round_use=yes
34739 else
34740 echo "$as_me: failed program was:" >&5
34741 sed 's/^/| /' conftest.$ac_ext >&5
34742
34743 glibcxx_cv_func__float_round_use=no
34744 fi
34745 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34746 ac_ext=c
34747 ac_cpp='$CPP $CPPFLAGS'
34748 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34749 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34750 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34751
34752 fi
34753
34754 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_round_use" >&5
34755 echo "${ECHO_T}$glibcxx_cv_func__float_round_use" >&6
34756 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
34757
34758
34759 for ac_func in _ceilf _floorf
34760 do
34761 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34762 echo "$as_me:$LINENO: checking for $ac_func" >&5
34763 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34764 if eval "test \"\${$as_ac_var+set}\" = set"; then
34765 echo $ECHO_N "(cached) $ECHO_C" >&6
34766 else
34767 if test x$gcc_no_link = xyes; then
34768 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34769 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34770 { (exit 1); exit 1; }; }
34771 fi
34772 cat >conftest.$ac_ext <<_ACEOF
34773 /* confdefs.h. */
34774 _ACEOF
34775 cat confdefs.h >>conftest.$ac_ext
34776 cat >>conftest.$ac_ext <<_ACEOF
34777 /* end confdefs.h. */
34778 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34779 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34780 #define $ac_func innocuous_$ac_func
34781
34782 /* System header to define __stub macros and hopefully few prototypes,
34783 which can conflict with char $ac_func (); below.
34784 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34785 <limits.h> exists even on freestanding compilers. */
34786
34787 #ifdef __STDC__
34788 # include <limits.h>
34789 #else
34790 # include <assert.h>
34791 #endif
34792
34793 #undef $ac_func
34794
34795 /* Override any gcc2 internal prototype to avoid an error. */
34796 #ifdef __cplusplus
34797 extern "C"
34798 {
34799 #endif
34800 /* We use char because int might match the return type of a gcc2
34801 builtin and then its argument prototype would still apply. */
34802 char $ac_func ();
34803 /* The GNU C library defines this for functions which it implements
34804 to always fail with ENOSYS. Some functions are actually named
34805 something starting with __ and the normal name is an alias. */
34806 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34807 choke me
34808 #else
34809 char (*f) () = $ac_func;
34810 #endif
34811 #ifdef __cplusplus
34812 }
34813 #endif
34814
34815 int
34816 main ()
34817 {
34818 return f != $ac_func;
34819 ;
34820 return 0;
34821 }
34822 _ACEOF
34823 rm -f conftest.$ac_objext conftest$ac_exeext
34824 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34825 (eval $ac_link) 2>conftest.er1
34826 ac_status=$?
34827 grep -v '^ *+' conftest.er1 >conftest.err
34828 rm -f conftest.er1
34829 cat conftest.err >&5
34830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34831 (exit $ac_status); } &&
34832 { ac_try='test -z "$ac_c_werror_flag"
34833 || test ! -s conftest.err'
34834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34835 (eval $ac_try) 2>&5
34836 ac_status=$?
34837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34838 (exit $ac_status); }; } &&
34839 { ac_try='test -s conftest$ac_exeext'
34840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34841 (eval $ac_try) 2>&5
34842 ac_status=$?
34843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34844 (exit $ac_status); }; }; then
34845 eval "$as_ac_var=yes"
34846 else
34847 echo "$as_me: failed program was:" >&5
34848 sed 's/^/| /' conftest.$ac_ext >&5
34849
34850 eval "$as_ac_var=no"
34851 fi
34852 rm -f conftest.err conftest.$ac_objext \
34853 conftest$ac_exeext conftest.$ac_ext
34854 fi
34855 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34856 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34857 if test `eval echo '${'$as_ac_var'}'` = yes; then
34858 cat >>confdefs.h <<_ACEOF
34859 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34860 _ACEOF
34861
34862 fi
34863 done
34864
34865 fi
34866 fi
34867
34868
34869
34870
34871
34872
34873
34874
34875 echo "$as_me:$LINENO: checking for expf declaration" >&5
34876 echo $ECHO_N "checking for expf declaration... $ECHO_C" >&6
34877 if test x${glibcxx_cv_func_expf_use+set} != xset; then
34878 if test "${glibcxx_cv_func_expf_use+set}" = set; then
34879 echo $ECHO_N "(cached) $ECHO_C" >&6
34880 else
34881
34882
34883
34884 ac_ext=cc
34885 ac_cpp='$CXXCPP $CPPFLAGS'
34886 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34887 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34888 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34889
34890 cat >conftest.$ac_ext <<_ACEOF
34891 /* confdefs.h. */
34892 _ACEOF
34893 cat confdefs.h >>conftest.$ac_ext
34894 cat >>conftest.$ac_ext <<_ACEOF
34895 /* end confdefs.h. */
34896 #include <math.h>
34897 #ifdef HAVE_IEEEFP_H
34898 #include <ieeefp.h>
34899 #endif
34900
34901 int
34902 main ()
34903 {
34904 expf(0);
34905 ;
34906 return 0;
34907 }
34908 _ACEOF
34909 rm -f conftest.$ac_objext
34910 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34911 (eval $ac_compile) 2>conftest.er1
34912 ac_status=$?
34913 grep -v '^ *+' conftest.er1 >conftest.err
34914 rm -f conftest.er1
34915 cat conftest.err >&5
34916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34917 (exit $ac_status); } &&
34918 { ac_try='test -z "$ac_cxx_werror_flag"
34919 || test ! -s conftest.err'
34920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34921 (eval $ac_try) 2>&5
34922 ac_status=$?
34923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34924 (exit $ac_status); }; } &&
34925 { ac_try='test -s conftest.$ac_objext'
34926 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34927 (eval $ac_try) 2>&5
34928 ac_status=$?
34929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34930 (exit $ac_status); }; }; then
34931 glibcxx_cv_func_expf_use=yes
34932 else
34933 echo "$as_me: failed program was:" >&5
34934 sed 's/^/| /' conftest.$ac_ext >&5
34935
34936 glibcxx_cv_func_expf_use=no
34937 fi
34938 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34939 ac_ext=c
34940 ac_cpp='$CPP $CPPFLAGS'
34941 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34942 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34943 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34944
34945
34946 fi
34947
34948 fi
34949 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expf_use" >&5
34950 echo "${ECHO_T}$glibcxx_cv_func_expf_use" >&6
34951
34952 if test x$glibcxx_cv_func_expf_use = x"yes"; then
34953
34954 for ac_func in expf
34955 do
34956 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34957 echo "$as_me:$LINENO: checking for $ac_func" >&5
34958 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34959 if eval "test \"\${$as_ac_var+set}\" = set"; then
34960 echo $ECHO_N "(cached) $ECHO_C" >&6
34961 else
34962 if test x$gcc_no_link = xyes; then
34963 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34964 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34965 { (exit 1); exit 1; }; }
34966 fi
34967 cat >conftest.$ac_ext <<_ACEOF
34968 /* confdefs.h. */
34969 _ACEOF
34970 cat confdefs.h >>conftest.$ac_ext
34971 cat >>conftest.$ac_ext <<_ACEOF
34972 /* end confdefs.h. */
34973 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34974 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34975 #define $ac_func innocuous_$ac_func
34976
34977 /* System header to define __stub macros and hopefully few prototypes,
34978 which can conflict with char $ac_func (); below.
34979 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34980 <limits.h> exists even on freestanding compilers. */
34981
34982 #ifdef __STDC__
34983 # include <limits.h>
34984 #else
34985 # include <assert.h>
34986 #endif
34987
34988 #undef $ac_func
34989
34990 /* Override any gcc2 internal prototype to avoid an error. */
34991 #ifdef __cplusplus
34992 extern "C"
34993 {
34994 #endif
34995 /* We use char because int might match the return type of a gcc2
34996 builtin and then its argument prototype would still apply. */
34997 char $ac_func ();
34998 /* The GNU C library defines this for functions which it implements
34999 to always fail with ENOSYS. Some functions are actually named
35000 something starting with __ and the normal name is an alias. */
35001 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35002 choke me
35003 #else
35004 char (*f) () = $ac_func;
35005 #endif
35006 #ifdef __cplusplus
35007 }
35008 #endif
35009
35010 int
35011 main ()
35012 {
35013 return f != $ac_func;
35014 ;
35015 return 0;
35016 }
35017 _ACEOF
35018 rm -f conftest.$ac_objext conftest$ac_exeext
35019 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35020 (eval $ac_link) 2>conftest.er1
35021 ac_status=$?
35022 grep -v '^ *+' conftest.er1 >conftest.err
35023 rm -f conftest.er1
35024 cat conftest.err >&5
35025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35026 (exit $ac_status); } &&
35027 { ac_try='test -z "$ac_c_werror_flag"
35028 || test ! -s conftest.err'
35029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35030 (eval $ac_try) 2>&5
35031 ac_status=$?
35032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35033 (exit $ac_status); }; } &&
35034 { ac_try='test -s conftest$ac_exeext'
35035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35036 (eval $ac_try) 2>&5
35037 ac_status=$?
35038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35039 (exit $ac_status); }; }; then
35040 eval "$as_ac_var=yes"
35041 else
35042 echo "$as_me: failed program was:" >&5
35043 sed 's/^/| /' conftest.$ac_ext >&5
35044
35045 eval "$as_ac_var=no"
35046 fi
35047 rm -f conftest.err conftest.$ac_objext \
35048 conftest$ac_exeext conftest.$ac_ext
35049 fi
35050 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35051 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35052 if test `eval echo '${'$as_ac_var'}'` = yes; then
35053 cat >>confdefs.h <<_ACEOF
35054 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35055 _ACEOF
35056
35057 fi
35058 done
35059
35060 else
35061
35062 echo "$as_me:$LINENO: checking for _expf declaration" >&5
35063 echo $ECHO_N "checking for _expf declaration... $ECHO_C" >&6
35064 if test x${glibcxx_cv_func__expf_use+set} != xset; then
35065 if test "${glibcxx_cv_func__expf_use+set}" = set; then
35066 echo $ECHO_N "(cached) $ECHO_C" >&6
35067 else
35068
35069
35070
35071 ac_ext=cc
35072 ac_cpp='$CXXCPP $CPPFLAGS'
35073 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35074 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35075 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35076
35077 cat >conftest.$ac_ext <<_ACEOF
35078 /* confdefs.h. */
35079 _ACEOF
35080 cat confdefs.h >>conftest.$ac_ext
35081 cat >>conftest.$ac_ext <<_ACEOF
35082 /* end confdefs.h. */
35083 #include <math.h>
35084 #ifdef HAVE_IEEEFP_H
35085 #include <ieeefp.h>
35086 #endif
35087
35088 int
35089 main ()
35090 {
35091 _expf(0);
35092 ;
35093 return 0;
35094 }
35095 _ACEOF
35096 rm -f conftest.$ac_objext
35097 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35098 (eval $ac_compile) 2>conftest.er1
35099 ac_status=$?
35100 grep -v '^ *+' conftest.er1 >conftest.err
35101 rm -f conftest.er1
35102 cat conftest.err >&5
35103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35104 (exit $ac_status); } &&
35105 { ac_try='test -z "$ac_cxx_werror_flag"
35106 || test ! -s conftest.err'
35107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35108 (eval $ac_try) 2>&5
35109 ac_status=$?
35110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35111 (exit $ac_status); }; } &&
35112 { ac_try='test -s conftest.$ac_objext'
35113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35114 (eval $ac_try) 2>&5
35115 ac_status=$?
35116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35117 (exit $ac_status); }; }; then
35118 glibcxx_cv_func__expf_use=yes
35119 else
35120 echo "$as_me: failed program was:" >&5
35121 sed 's/^/| /' conftest.$ac_ext >&5
35122
35123 glibcxx_cv_func__expf_use=no
35124 fi
35125 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35126 ac_ext=c
35127 ac_cpp='$CPP $CPPFLAGS'
35128 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35129 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35130 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35131
35132
35133 fi
35134
35135 fi
35136 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expf_use" >&5
35137 echo "${ECHO_T}$glibcxx_cv_func__expf_use" >&6
35138
35139 if test x$glibcxx_cv_func__expf_use = x"yes"; then
35140
35141 for ac_func in _expf
35142 do
35143 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35144 echo "$as_me:$LINENO: checking for $ac_func" >&5
35145 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35146 if eval "test \"\${$as_ac_var+set}\" = set"; then
35147 echo $ECHO_N "(cached) $ECHO_C" >&6
35148 else
35149 if test x$gcc_no_link = xyes; then
35150 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35151 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35152 { (exit 1); exit 1; }; }
35153 fi
35154 cat >conftest.$ac_ext <<_ACEOF
35155 /* confdefs.h. */
35156 _ACEOF
35157 cat confdefs.h >>conftest.$ac_ext
35158 cat >>conftest.$ac_ext <<_ACEOF
35159 /* end confdefs.h. */
35160 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35161 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35162 #define $ac_func innocuous_$ac_func
35163
35164 /* System header to define __stub macros and hopefully few prototypes,
35165 which can conflict with char $ac_func (); below.
35166 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35167 <limits.h> exists even on freestanding compilers. */
35168
35169 #ifdef __STDC__
35170 # include <limits.h>
35171 #else
35172 # include <assert.h>
35173 #endif
35174
35175 #undef $ac_func
35176
35177 /* Override any gcc2 internal prototype to avoid an error. */
35178 #ifdef __cplusplus
35179 extern "C"
35180 {
35181 #endif
35182 /* We use char because int might match the return type of a gcc2
35183 builtin and then its argument prototype would still apply. */
35184 char $ac_func ();
35185 /* The GNU C library defines this for functions which it implements
35186 to always fail with ENOSYS. Some functions are actually named
35187 something starting with __ and the normal name is an alias. */
35188 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35189 choke me
35190 #else
35191 char (*f) () = $ac_func;
35192 #endif
35193 #ifdef __cplusplus
35194 }
35195 #endif
35196
35197 int
35198 main ()
35199 {
35200 return f != $ac_func;
35201 ;
35202 return 0;
35203 }
35204 _ACEOF
35205 rm -f conftest.$ac_objext conftest$ac_exeext
35206 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35207 (eval $ac_link) 2>conftest.er1
35208 ac_status=$?
35209 grep -v '^ *+' conftest.er1 >conftest.err
35210 rm -f conftest.er1
35211 cat conftest.err >&5
35212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35213 (exit $ac_status); } &&
35214 { ac_try='test -z "$ac_c_werror_flag"
35215 || test ! -s conftest.err'
35216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35217 (eval $ac_try) 2>&5
35218 ac_status=$?
35219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35220 (exit $ac_status); }; } &&
35221 { ac_try='test -s conftest$ac_exeext'
35222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35223 (eval $ac_try) 2>&5
35224 ac_status=$?
35225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35226 (exit $ac_status); }; }; then
35227 eval "$as_ac_var=yes"
35228 else
35229 echo "$as_me: failed program was:" >&5
35230 sed 's/^/| /' conftest.$ac_ext >&5
35231
35232 eval "$as_ac_var=no"
35233 fi
35234 rm -f conftest.err conftest.$ac_objext \
35235 conftest$ac_exeext conftest.$ac_ext
35236 fi
35237 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35238 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35239 if test `eval echo '${'$as_ac_var'}'` = yes; then
35240 cat >>confdefs.h <<_ACEOF
35241 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35242 _ACEOF
35243
35244 fi
35245 done
35246
35247 fi
35248 fi
35249
35250
35251
35252
35253
35254
35255 echo "$as_me:$LINENO: checking for isnanf declaration" >&5
35256 echo $ECHO_N "checking for isnanf declaration... $ECHO_C" >&6
35257 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
35258 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then
35259 echo $ECHO_N "(cached) $ECHO_C" >&6
35260 else
35261
35262
35263
35264 ac_ext=cc
35265 ac_cpp='$CXXCPP $CPPFLAGS'
35266 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35267 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35268 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35269
35270 cat >conftest.$ac_ext <<_ACEOF
35271 /* confdefs.h. */
35272 _ACEOF
35273 cat confdefs.h >>conftest.$ac_ext
35274 cat >>conftest.$ac_ext <<_ACEOF
35275 /* end confdefs.h. */
35276 #include <math.h>
35277 #ifdef HAVE_IEEEFP_H
35278 #include <ieeefp.h>
35279 #endif
35280
35281 int
35282 main ()
35283 {
35284 isnanf(0);
35285 ;
35286 return 0;
35287 }
35288 _ACEOF
35289 rm -f conftest.$ac_objext
35290 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35291 (eval $ac_compile) 2>conftest.er1
35292 ac_status=$?
35293 grep -v '^ *+' conftest.er1 >conftest.err
35294 rm -f conftest.er1
35295 cat conftest.err >&5
35296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35297 (exit $ac_status); } &&
35298 { ac_try='test -z "$ac_cxx_werror_flag"
35299 || test ! -s conftest.err'
35300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35301 (eval $ac_try) 2>&5
35302 ac_status=$?
35303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35304 (exit $ac_status); }; } &&
35305 { ac_try='test -s conftest.$ac_objext'
35306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35307 (eval $ac_try) 2>&5
35308 ac_status=$?
35309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35310 (exit $ac_status); }; }; then
35311 glibcxx_cv_func_isnanf_use=yes
35312 else
35313 echo "$as_me: failed program was:" >&5
35314 sed 's/^/| /' conftest.$ac_ext >&5
35315
35316 glibcxx_cv_func_isnanf_use=no
35317 fi
35318 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35319 ac_ext=c
35320 ac_cpp='$CPP $CPPFLAGS'
35321 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35322 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35323 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35324
35325
35326 fi
35327
35328 fi
35329 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanf_use" >&5
35330 echo "${ECHO_T}$glibcxx_cv_func_isnanf_use" >&6
35331
35332 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
35333
35334 for ac_func in isnanf
35335 do
35336 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35337 echo "$as_me:$LINENO: checking for $ac_func" >&5
35338 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35339 if eval "test \"\${$as_ac_var+set}\" = set"; then
35340 echo $ECHO_N "(cached) $ECHO_C" >&6
35341 else
35342 if test x$gcc_no_link = xyes; then
35343 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35344 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35345 { (exit 1); exit 1; }; }
35346 fi
35347 cat >conftest.$ac_ext <<_ACEOF
35348 /* confdefs.h. */
35349 _ACEOF
35350 cat confdefs.h >>conftest.$ac_ext
35351 cat >>conftest.$ac_ext <<_ACEOF
35352 /* end confdefs.h. */
35353 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35354 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35355 #define $ac_func innocuous_$ac_func
35356
35357 /* System header to define __stub macros and hopefully few prototypes,
35358 which can conflict with char $ac_func (); below.
35359 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35360 <limits.h> exists even on freestanding compilers. */
35361
35362 #ifdef __STDC__
35363 # include <limits.h>
35364 #else
35365 # include <assert.h>
35366 #endif
35367
35368 #undef $ac_func
35369
35370 /* Override any gcc2 internal prototype to avoid an error. */
35371 #ifdef __cplusplus
35372 extern "C"
35373 {
35374 #endif
35375 /* We use char because int might match the return type of a gcc2
35376 builtin and then its argument prototype would still apply. */
35377 char $ac_func ();
35378 /* The GNU C library defines this for functions which it implements
35379 to always fail with ENOSYS. Some functions are actually named
35380 something starting with __ and the normal name is an alias. */
35381 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35382 choke me
35383 #else
35384 char (*f) () = $ac_func;
35385 #endif
35386 #ifdef __cplusplus
35387 }
35388 #endif
35389
35390 int
35391 main ()
35392 {
35393 return f != $ac_func;
35394 ;
35395 return 0;
35396 }
35397 _ACEOF
35398 rm -f conftest.$ac_objext conftest$ac_exeext
35399 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35400 (eval $ac_link) 2>conftest.er1
35401 ac_status=$?
35402 grep -v '^ *+' conftest.er1 >conftest.err
35403 rm -f conftest.er1
35404 cat conftest.err >&5
35405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35406 (exit $ac_status); } &&
35407 { ac_try='test -z "$ac_c_werror_flag"
35408 || test ! -s conftest.err'
35409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35410 (eval $ac_try) 2>&5
35411 ac_status=$?
35412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35413 (exit $ac_status); }; } &&
35414 { ac_try='test -s conftest$ac_exeext'
35415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35416 (eval $ac_try) 2>&5
35417 ac_status=$?
35418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35419 (exit $ac_status); }; }; then
35420 eval "$as_ac_var=yes"
35421 else
35422 echo "$as_me: failed program was:" >&5
35423 sed 's/^/| /' conftest.$ac_ext >&5
35424
35425 eval "$as_ac_var=no"
35426 fi
35427 rm -f conftest.err conftest.$ac_objext \
35428 conftest$ac_exeext conftest.$ac_ext
35429 fi
35430 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35431 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35432 if test `eval echo '${'$as_ac_var'}'` = yes; then
35433 cat >>confdefs.h <<_ACEOF
35434 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35435 _ACEOF
35436
35437 fi
35438 done
35439
35440 else
35441
35442 echo "$as_me:$LINENO: checking for _isnanf declaration" >&5
35443 echo $ECHO_N "checking for _isnanf declaration... $ECHO_C" >&6
35444 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
35445 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then
35446 echo $ECHO_N "(cached) $ECHO_C" >&6
35447 else
35448
35449
35450
35451 ac_ext=cc
35452 ac_cpp='$CXXCPP $CPPFLAGS'
35453 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35454 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35455 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35456
35457 cat >conftest.$ac_ext <<_ACEOF
35458 /* confdefs.h. */
35459 _ACEOF
35460 cat confdefs.h >>conftest.$ac_ext
35461 cat >>conftest.$ac_ext <<_ACEOF
35462 /* end confdefs.h. */
35463 #include <math.h>
35464 #ifdef HAVE_IEEEFP_H
35465 #include <ieeefp.h>
35466 #endif
35467
35468 int
35469 main ()
35470 {
35471 _isnanf(0);
35472 ;
35473 return 0;
35474 }
35475 _ACEOF
35476 rm -f conftest.$ac_objext
35477 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35478 (eval $ac_compile) 2>conftest.er1
35479 ac_status=$?
35480 grep -v '^ *+' conftest.er1 >conftest.err
35481 rm -f conftest.er1
35482 cat conftest.err >&5
35483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35484 (exit $ac_status); } &&
35485 { ac_try='test -z "$ac_cxx_werror_flag"
35486 || test ! -s conftest.err'
35487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35488 (eval $ac_try) 2>&5
35489 ac_status=$?
35490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35491 (exit $ac_status); }; } &&
35492 { ac_try='test -s conftest.$ac_objext'
35493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35494 (eval $ac_try) 2>&5
35495 ac_status=$?
35496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35497 (exit $ac_status); }; }; then
35498 glibcxx_cv_func__isnanf_use=yes
35499 else
35500 echo "$as_me: failed program was:" >&5
35501 sed 's/^/| /' conftest.$ac_ext >&5
35502
35503 glibcxx_cv_func__isnanf_use=no
35504 fi
35505 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35506 ac_ext=c
35507 ac_cpp='$CPP $CPPFLAGS'
35508 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35509 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35510 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35511
35512
35513 fi
35514
35515 fi
35516 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanf_use" >&5
35517 echo "${ECHO_T}$glibcxx_cv_func__isnanf_use" >&6
35518
35519 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
35520
35521 for ac_func in _isnanf
35522 do
35523 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35524 echo "$as_me:$LINENO: checking for $ac_func" >&5
35525 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35526 if eval "test \"\${$as_ac_var+set}\" = set"; then
35527 echo $ECHO_N "(cached) $ECHO_C" >&6
35528 else
35529 if test x$gcc_no_link = xyes; then
35530 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35531 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35532 { (exit 1); exit 1; }; }
35533 fi
35534 cat >conftest.$ac_ext <<_ACEOF
35535 /* confdefs.h. */
35536 _ACEOF
35537 cat confdefs.h >>conftest.$ac_ext
35538 cat >>conftest.$ac_ext <<_ACEOF
35539 /* end confdefs.h. */
35540 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35541 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35542 #define $ac_func innocuous_$ac_func
35543
35544 /* System header to define __stub macros and hopefully few prototypes,
35545 which can conflict with char $ac_func (); below.
35546 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35547 <limits.h> exists even on freestanding compilers. */
35548
35549 #ifdef __STDC__
35550 # include <limits.h>
35551 #else
35552 # include <assert.h>
35553 #endif
35554
35555 #undef $ac_func
35556
35557 /* Override any gcc2 internal prototype to avoid an error. */
35558 #ifdef __cplusplus
35559 extern "C"
35560 {
35561 #endif
35562 /* We use char because int might match the return type of a gcc2
35563 builtin and then its argument prototype would still apply. */
35564 char $ac_func ();
35565 /* The GNU C library defines this for functions which it implements
35566 to always fail with ENOSYS. Some functions are actually named
35567 something starting with __ and the normal name is an alias. */
35568 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35569 choke me
35570 #else
35571 char (*f) () = $ac_func;
35572 #endif
35573 #ifdef __cplusplus
35574 }
35575 #endif
35576
35577 int
35578 main ()
35579 {
35580 return f != $ac_func;
35581 ;
35582 return 0;
35583 }
35584 _ACEOF
35585 rm -f conftest.$ac_objext conftest$ac_exeext
35586 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35587 (eval $ac_link) 2>conftest.er1
35588 ac_status=$?
35589 grep -v '^ *+' conftest.er1 >conftest.err
35590 rm -f conftest.er1
35591 cat conftest.err >&5
35592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35593 (exit $ac_status); } &&
35594 { ac_try='test -z "$ac_c_werror_flag"
35595 || test ! -s conftest.err'
35596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35597 (eval $ac_try) 2>&5
35598 ac_status=$?
35599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35600 (exit $ac_status); }; } &&
35601 { ac_try='test -s conftest$ac_exeext'
35602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35603 (eval $ac_try) 2>&5
35604 ac_status=$?
35605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35606 (exit $ac_status); }; }; then
35607 eval "$as_ac_var=yes"
35608 else
35609 echo "$as_me: failed program was:" >&5
35610 sed 's/^/| /' conftest.$ac_ext >&5
35611
35612 eval "$as_ac_var=no"
35613 fi
35614 rm -f conftest.err conftest.$ac_objext \
35615 conftest$ac_exeext conftest.$ac_ext
35616 fi
35617 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35618 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35619 if test `eval echo '${'$as_ac_var'}'` = yes; then
35620 cat >>confdefs.h <<_ACEOF
35621 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35622 _ACEOF
35623
35624 fi
35625 done
35626
35627 fi
35628 fi
35629
35630
35631
35632
35633
35634
35635 echo "$as_me:$LINENO: checking for isinff declaration" >&5
35636 echo $ECHO_N "checking for isinff declaration... $ECHO_C" >&6
35637 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
35638 if test "${glibcxx_cv_func_isinff_use+set}" = set; then
35639 echo $ECHO_N "(cached) $ECHO_C" >&6
35640 else
35641
35642
35643
35644 ac_ext=cc
35645 ac_cpp='$CXXCPP $CPPFLAGS'
35646 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35647 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35648 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35649
35650 cat >conftest.$ac_ext <<_ACEOF
35651 /* confdefs.h. */
35652 _ACEOF
35653 cat confdefs.h >>conftest.$ac_ext
35654 cat >>conftest.$ac_ext <<_ACEOF
35655 /* end confdefs.h. */
35656 #include <math.h>
35657 #ifdef HAVE_IEEEFP_H
35658 #include <ieeefp.h>
35659 #endif
35660
35661 int
35662 main ()
35663 {
35664 isinff(0);
35665 ;
35666 return 0;
35667 }
35668 _ACEOF
35669 rm -f conftest.$ac_objext
35670 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35671 (eval $ac_compile) 2>conftest.er1
35672 ac_status=$?
35673 grep -v '^ *+' conftest.er1 >conftest.err
35674 rm -f conftest.er1
35675 cat conftest.err >&5
35676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35677 (exit $ac_status); } &&
35678 { ac_try='test -z "$ac_cxx_werror_flag"
35679 || test ! -s conftest.err'
35680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35681 (eval $ac_try) 2>&5
35682 ac_status=$?
35683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35684 (exit $ac_status); }; } &&
35685 { ac_try='test -s conftest.$ac_objext'
35686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35687 (eval $ac_try) 2>&5
35688 ac_status=$?
35689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35690 (exit $ac_status); }; }; then
35691 glibcxx_cv_func_isinff_use=yes
35692 else
35693 echo "$as_me: failed program was:" >&5
35694 sed 's/^/| /' conftest.$ac_ext >&5
35695
35696 glibcxx_cv_func_isinff_use=no
35697 fi
35698 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35699 ac_ext=c
35700 ac_cpp='$CPP $CPPFLAGS'
35701 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35702 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35703 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35704
35705
35706 fi
35707
35708 fi
35709 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinff_use" >&5
35710 echo "${ECHO_T}$glibcxx_cv_func_isinff_use" >&6
35711
35712 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
35713
35714 for ac_func in isinff
35715 do
35716 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35717 echo "$as_me:$LINENO: checking for $ac_func" >&5
35718 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35719 if eval "test \"\${$as_ac_var+set}\" = set"; then
35720 echo $ECHO_N "(cached) $ECHO_C" >&6
35721 else
35722 if test x$gcc_no_link = xyes; then
35723 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35724 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35725 { (exit 1); exit 1; }; }
35726 fi
35727 cat >conftest.$ac_ext <<_ACEOF
35728 /* confdefs.h. */
35729 _ACEOF
35730 cat confdefs.h >>conftest.$ac_ext
35731 cat >>conftest.$ac_ext <<_ACEOF
35732 /* end confdefs.h. */
35733 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35734 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35735 #define $ac_func innocuous_$ac_func
35736
35737 /* System header to define __stub macros and hopefully few prototypes,
35738 which can conflict with char $ac_func (); below.
35739 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35740 <limits.h> exists even on freestanding compilers. */
35741
35742 #ifdef __STDC__
35743 # include <limits.h>
35744 #else
35745 # include <assert.h>
35746 #endif
35747
35748 #undef $ac_func
35749
35750 /* Override any gcc2 internal prototype to avoid an error. */
35751 #ifdef __cplusplus
35752 extern "C"
35753 {
35754 #endif
35755 /* We use char because int might match the return type of a gcc2
35756 builtin and then its argument prototype would still apply. */
35757 char $ac_func ();
35758 /* The GNU C library defines this for functions which it implements
35759 to always fail with ENOSYS. Some functions are actually named
35760 something starting with __ and the normal name is an alias. */
35761 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35762 choke me
35763 #else
35764 char (*f) () = $ac_func;
35765 #endif
35766 #ifdef __cplusplus
35767 }
35768 #endif
35769
35770 int
35771 main ()
35772 {
35773 return f != $ac_func;
35774 ;
35775 return 0;
35776 }
35777 _ACEOF
35778 rm -f conftest.$ac_objext conftest$ac_exeext
35779 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35780 (eval $ac_link) 2>conftest.er1
35781 ac_status=$?
35782 grep -v '^ *+' conftest.er1 >conftest.err
35783 rm -f conftest.er1
35784 cat conftest.err >&5
35785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35786 (exit $ac_status); } &&
35787 { ac_try='test -z "$ac_c_werror_flag"
35788 || test ! -s conftest.err'
35789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35790 (eval $ac_try) 2>&5
35791 ac_status=$?
35792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35793 (exit $ac_status); }; } &&
35794 { ac_try='test -s conftest$ac_exeext'
35795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35796 (eval $ac_try) 2>&5
35797 ac_status=$?
35798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35799 (exit $ac_status); }; }; then
35800 eval "$as_ac_var=yes"
35801 else
35802 echo "$as_me: failed program was:" >&5
35803 sed 's/^/| /' conftest.$ac_ext >&5
35804
35805 eval "$as_ac_var=no"
35806 fi
35807 rm -f conftest.err conftest.$ac_objext \
35808 conftest$ac_exeext conftest.$ac_ext
35809 fi
35810 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35811 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35812 if test `eval echo '${'$as_ac_var'}'` = yes; then
35813 cat >>confdefs.h <<_ACEOF
35814 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35815 _ACEOF
35816
35817 fi
35818 done
35819
35820 else
35821
35822 echo "$as_me:$LINENO: checking for _isinff declaration" >&5
35823 echo $ECHO_N "checking for _isinff declaration... $ECHO_C" >&6
35824 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
35825 if test "${glibcxx_cv_func__isinff_use+set}" = set; then
35826 echo $ECHO_N "(cached) $ECHO_C" >&6
35827 else
35828
35829
35830
35831 ac_ext=cc
35832 ac_cpp='$CXXCPP $CPPFLAGS'
35833 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35834 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35835 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35836
35837 cat >conftest.$ac_ext <<_ACEOF
35838 /* confdefs.h. */
35839 _ACEOF
35840 cat confdefs.h >>conftest.$ac_ext
35841 cat >>conftest.$ac_ext <<_ACEOF
35842 /* end confdefs.h. */
35843 #include <math.h>
35844 #ifdef HAVE_IEEEFP_H
35845 #include <ieeefp.h>
35846 #endif
35847
35848 int
35849 main ()
35850 {
35851 _isinff(0);
35852 ;
35853 return 0;
35854 }
35855 _ACEOF
35856 rm -f conftest.$ac_objext
35857 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35858 (eval $ac_compile) 2>conftest.er1
35859 ac_status=$?
35860 grep -v '^ *+' conftest.er1 >conftest.err
35861 rm -f conftest.er1
35862 cat conftest.err >&5
35863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35864 (exit $ac_status); } &&
35865 { ac_try='test -z "$ac_cxx_werror_flag"
35866 || test ! -s conftest.err'
35867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35868 (eval $ac_try) 2>&5
35869 ac_status=$?
35870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35871 (exit $ac_status); }; } &&
35872 { ac_try='test -s conftest.$ac_objext'
35873 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35874 (eval $ac_try) 2>&5
35875 ac_status=$?
35876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35877 (exit $ac_status); }; }; then
35878 glibcxx_cv_func__isinff_use=yes
35879 else
35880 echo "$as_me: failed program was:" >&5
35881 sed 's/^/| /' conftest.$ac_ext >&5
35882
35883 glibcxx_cv_func__isinff_use=no
35884 fi
35885 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35886 ac_ext=c
35887 ac_cpp='$CPP $CPPFLAGS'
35888 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35889 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35890 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35891
35892
35893 fi
35894
35895 fi
35896 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinff_use" >&5
35897 echo "${ECHO_T}$glibcxx_cv_func__isinff_use" >&6
35898
35899 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
35900
35901 for ac_func in _isinff
35902 do
35903 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35904 echo "$as_me:$LINENO: checking for $ac_func" >&5
35905 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35906 if eval "test \"\${$as_ac_var+set}\" = set"; then
35907 echo $ECHO_N "(cached) $ECHO_C" >&6
35908 else
35909 if test x$gcc_no_link = xyes; then
35910 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35911 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35912 { (exit 1); exit 1; }; }
35913 fi
35914 cat >conftest.$ac_ext <<_ACEOF
35915 /* confdefs.h. */
35916 _ACEOF
35917 cat confdefs.h >>conftest.$ac_ext
35918 cat >>conftest.$ac_ext <<_ACEOF
35919 /* end confdefs.h. */
35920 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35921 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35922 #define $ac_func innocuous_$ac_func
35923
35924 /* System header to define __stub macros and hopefully few prototypes,
35925 which can conflict with char $ac_func (); below.
35926 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35927 <limits.h> exists even on freestanding compilers. */
35928
35929 #ifdef __STDC__
35930 # include <limits.h>
35931 #else
35932 # include <assert.h>
35933 #endif
35934
35935 #undef $ac_func
35936
35937 /* Override any gcc2 internal prototype to avoid an error. */
35938 #ifdef __cplusplus
35939 extern "C"
35940 {
35941 #endif
35942 /* We use char because int might match the return type of a gcc2
35943 builtin and then its argument prototype would still apply. */
35944 char $ac_func ();
35945 /* The GNU C library defines this for functions which it implements
35946 to always fail with ENOSYS. Some functions are actually named
35947 something starting with __ and the normal name is an alias. */
35948 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35949 choke me
35950 #else
35951 char (*f) () = $ac_func;
35952 #endif
35953 #ifdef __cplusplus
35954 }
35955 #endif
35956
35957 int
35958 main ()
35959 {
35960 return f != $ac_func;
35961 ;
35962 return 0;
35963 }
35964 _ACEOF
35965 rm -f conftest.$ac_objext conftest$ac_exeext
35966 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35967 (eval $ac_link) 2>conftest.er1
35968 ac_status=$?
35969 grep -v '^ *+' conftest.er1 >conftest.err
35970 rm -f conftest.er1
35971 cat conftest.err >&5
35972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35973 (exit $ac_status); } &&
35974 { ac_try='test -z "$ac_c_werror_flag"
35975 || test ! -s conftest.err'
35976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35977 (eval $ac_try) 2>&5
35978 ac_status=$?
35979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35980 (exit $ac_status); }; } &&
35981 { ac_try='test -s conftest$ac_exeext'
35982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35983 (eval $ac_try) 2>&5
35984 ac_status=$?
35985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35986 (exit $ac_status); }; }; then
35987 eval "$as_ac_var=yes"
35988 else
35989 echo "$as_me: failed program was:" >&5
35990 sed 's/^/| /' conftest.$ac_ext >&5
35991
35992 eval "$as_ac_var=no"
35993 fi
35994 rm -f conftest.err conftest.$ac_objext \
35995 conftest$ac_exeext conftest.$ac_ext
35996 fi
35997 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35998 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35999 if test `eval echo '${'$as_ac_var'}'` = yes; then
36000 cat >>confdefs.h <<_ACEOF
36001 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36002 _ACEOF
36003
36004 fi
36005 done
36006
36007 fi
36008 fi
36009
36010
36011
36012
36013
36014
36015 echo "$as_me:$LINENO: checking for atan2f declaration" >&5
36016 echo $ECHO_N "checking for atan2f declaration... $ECHO_C" >&6
36017 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
36018 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then
36019 echo $ECHO_N "(cached) $ECHO_C" >&6
36020 else
36021
36022
36023
36024 ac_ext=cc
36025 ac_cpp='$CXXCPP $CPPFLAGS'
36026 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36027 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36028 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36029
36030 cat >conftest.$ac_ext <<_ACEOF
36031 /* confdefs.h. */
36032 _ACEOF
36033 cat confdefs.h >>conftest.$ac_ext
36034 cat >>conftest.$ac_ext <<_ACEOF
36035 /* end confdefs.h. */
36036 #include <math.h>
36037 int
36038 main ()
36039 {
36040 atan2f(0, 0);
36041 ;
36042 return 0;
36043 }
36044 _ACEOF
36045 rm -f conftest.$ac_objext
36046 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36047 (eval $ac_compile) 2>conftest.er1
36048 ac_status=$?
36049 grep -v '^ *+' conftest.er1 >conftest.err
36050 rm -f conftest.er1
36051 cat conftest.err >&5
36052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36053 (exit $ac_status); } &&
36054 { ac_try='test -z "$ac_cxx_werror_flag"
36055 || test ! -s conftest.err'
36056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36057 (eval $ac_try) 2>&5
36058 ac_status=$?
36059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36060 (exit $ac_status); }; } &&
36061 { ac_try='test -s conftest.$ac_objext'
36062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36063 (eval $ac_try) 2>&5
36064 ac_status=$?
36065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36066 (exit $ac_status); }; }; then
36067 glibcxx_cv_func_atan2f_use=yes
36068 else
36069 echo "$as_me: failed program was:" >&5
36070 sed 's/^/| /' conftest.$ac_ext >&5
36071
36072 glibcxx_cv_func_atan2f_use=no
36073 fi
36074 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36075 ac_ext=c
36076 ac_cpp='$CPP $CPPFLAGS'
36077 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36078 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36079 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36080
36081
36082 fi
36083
36084 fi
36085 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2f_use" >&5
36086 echo "${ECHO_T}$glibcxx_cv_func_atan2f_use" >&6
36087
36088 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
36089
36090 for ac_func in atan2f
36091 do
36092 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36093 echo "$as_me:$LINENO: checking for $ac_func" >&5
36094 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36095 if eval "test \"\${$as_ac_var+set}\" = set"; then
36096 echo $ECHO_N "(cached) $ECHO_C" >&6
36097 else
36098 if test x$gcc_no_link = xyes; then
36099 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36100 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36101 { (exit 1); exit 1; }; }
36102 fi
36103 cat >conftest.$ac_ext <<_ACEOF
36104 /* confdefs.h. */
36105 _ACEOF
36106 cat confdefs.h >>conftest.$ac_ext
36107 cat >>conftest.$ac_ext <<_ACEOF
36108 /* end confdefs.h. */
36109 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36110 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36111 #define $ac_func innocuous_$ac_func
36112
36113 /* System header to define __stub macros and hopefully few prototypes,
36114 which can conflict with char $ac_func (); below.
36115 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36116 <limits.h> exists even on freestanding compilers. */
36117
36118 #ifdef __STDC__
36119 # include <limits.h>
36120 #else
36121 # include <assert.h>
36122 #endif
36123
36124 #undef $ac_func
36125
36126 /* Override any gcc2 internal prototype to avoid an error. */
36127 #ifdef __cplusplus
36128 extern "C"
36129 {
36130 #endif
36131 /* We use char because int might match the return type of a gcc2
36132 builtin and then its argument prototype would still apply. */
36133 char $ac_func ();
36134 /* The GNU C library defines this for functions which it implements
36135 to always fail with ENOSYS. Some functions are actually named
36136 something starting with __ and the normal name is an alias. */
36137 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36138 choke me
36139 #else
36140 char (*f) () = $ac_func;
36141 #endif
36142 #ifdef __cplusplus
36143 }
36144 #endif
36145
36146 int
36147 main ()
36148 {
36149 return f != $ac_func;
36150 ;
36151 return 0;
36152 }
36153 _ACEOF
36154 rm -f conftest.$ac_objext conftest$ac_exeext
36155 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36156 (eval $ac_link) 2>conftest.er1
36157 ac_status=$?
36158 grep -v '^ *+' conftest.er1 >conftest.err
36159 rm -f conftest.er1
36160 cat conftest.err >&5
36161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36162 (exit $ac_status); } &&
36163 { ac_try='test -z "$ac_c_werror_flag"
36164 || test ! -s conftest.err'
36165 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36166 (eval $ac_try) 2>&5
36167 ac_status=$?
36168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36169 (exit $ac_status); }; } &&
36170 { ac_try='test -s conftest$ac_exeext'
36171 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36172 (eval $ac_try) 2>&5
36173 ac_status=$?
36174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36175 (exit $ac_status); }; }; then
36176 eval "$as_ac_var=yes"
36177 else
36178 echo "$as_me: failed program was:" >&5
36179 sed 's/^/| /' conftest.$ac_ext >&5
36180
36181 eval "$as_ac_var=no"
36182 fi
36183 rm -f conftest.err conftest.$ac_objext \
36184 conftest$ac_exeext conftest.$ac_ext
36185 fi
36186 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36187 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36188 if test `eval echo '${'$as_ac_var'}'` = yes; then
36189 cat >>confdefs.h <<_ACEOF
36190 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36191 _ACEOF
36192
36193 fi
36194 done
36195
36196 else
36197
36198 echo "$as_me:$LINENO: checking for _atan2f declaration" >&5
36199 echo $ECHO_N "checking for _atan2f declaration... $ECHO_C" >&6
36200 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
36201 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then
36202 echo $ECHO_N "(cached) $ECHO_C" >&6
36203 else
36204
36205
36206
36207 ac_ext=cc
36208 ac_cpp='$CXXCPP $CPPFLAGS'
36209 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36210 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36211 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36212
36213 cat >conftest.$ac_ext <<_ACEOF
36214 /* confdefs.h. */
36215 _ACEOF
36216 cat confdefs.h >>conftest.$ac_ext
36217 cat >>conftest.$ac_ext <<_ACEOF
36218 /* end confdefs.h. */
36219 #include <math.h>
36220 int
36221 main ()
36222 {
36223 _atan2f(0, 0);
36224 ;
36225 return 0;
36226 }
36227 _ACEOF
36228 rm -f conftest.$ac_objext
36229 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36230 (eval $ac_compile) 2>conftest.er1
36231 ac_status=$?
36232 grep -v '^ *+' conftest.er1 >conftest.err
36233 rm -f conftest.er1
36234 cat conftest.err >&5
36235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36236 (exit $ac_status); } &&
36237 { ac_try='test -z "$ac_cxx_werror_flag"
36238 || test ! -s conftest.err'
36239 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36240 (eval $ac_try) 2>&5
36241 ac_status=$?
36242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36243 (exit $ac_status); }; } &&
36244 { ac_try='test -s conftest.$ac_objext'
36245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36246 (eval $ac_try) 2>&5
36247 ac_status=$?
36248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36249 (exit $ac_status); }; }; then
36250 glibcxx_cv_func__atan2f_use=yes
36251 else
36252 echo "$as_me: failed program was:" >&5
36253 sed 's/^/| /' conftest.$ac_ext >&5
36254
36255 glibcxx_cv_func__atan2f_use=no
36256 fi
36257 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36258 ac_ext=c
36259 ac_cpp='$CPP $CPPFLAGS'
36260 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36261 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36262 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36263
36264
36265 fi
36266
36267 fi
36268 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2f_use" >&5
36269 echo "${ECHO_T}$glibcxx_cv_func__atan2f_use" >&6
36270
36271 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
36272
36273 for ac_func in _atan2f
36274 do
36275 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36276 echo "$as_me:$LINENO: checking for $ac_func" >&5
36277 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36278 if eval "test \"\${$as_ac_var+set}\" = set"; then
36279 echo $ECHO_N "(cached) $ECHO_C" >&6
36280 else
36281 if test x$gcc_no_link = xyes; then
36282 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36283 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36284 { (exit 1); exit 1; }; }
36285 fi
36286 cat >conftest.$ac_ext <<_ACEOF
36287 /* confdefs.h. */
36288 _ACEOF
36289 cat confdefs.h >>conftest.$ac_ext
36290 cat >>conftest.$ac_ext <<_ACEOF
36291 /* end confdefs.h. */
36292 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36293 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36294 #define $ac_func innocuous_$ac_func
36295
36296 /* System header to define __stub macros and hopefully few prototypes,
36297 which can conflict with char $ac_func (); below.
36298 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36299 <limits.h> exists even on freestanding compilers. */
36300
36301 #ifdef __STDC__
36302 # include <limits.h>
36303 #else
36304 # include <assert.h>
36305 #endif
36306
36307 #undef $ac_func
36308
36309 /* Override any gcc2 internal prototype to avoid an error. */
36310 #ifdef __cplusplus
36311 extern "C"
36312 {
36313 #endif
36314 /* We use char because int might match the return type of a gcc2
36315 builtin and then its argument prototype would still apply. */
36316 char $ac_func ();
36317 /* The GNU C library defines this for functions which it implements
36318 to always fail with ENOSYS. Some functions are actually named
36319 something starting with __ and the normal name is an alias. */
36320 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36321 choke me
36322 #else
36323 char (*f) () = $ac_func;
36324 #endif
36325 #ifdef __cplusplus
36326 }
36327 #endif
36328
36329 int
36330 main ()
36331 {
36332 return f != $ac_func;
36333 ;
36334 return 0;
36335 }
36336 _ACEOF
36337 rm -f conftest.$ac_objext conftest$ac_exeext
36338 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36339 (eval $ac_link) 2>conftest.er1
36340 ac_status=$?
36341 grep -v '^ *+' conftest.er1 >conftest.err
36342 rm -f conftest.er1
36343 cat conftest.err >&5
36344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36345 (exit $ac_status); } &&
36346 { ac_try='test -z "$ac_c_werror_flag"
36347 || test ! -s conftest.err'
36348 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36349 (eval $ac_try) 2>&5
36350 ac_status=$?
36351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36352 (exit $ac_status); }; } &&
36353 { ac_try='test -s conftest$ac_exeext'
36354 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36355 (eval $ac_try) 2>&5
36356 ac_status=$?
36357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36358 (exit $ac_status); }; }; then
36359 eval "$as_ac_var=yes"
36360 else
36361 echo "$as_me: failed program was:" >&5
36362 sed 's/^/| /' conftest.$ac_ext >&5
36363
36364 eval "$as_ac_var=no"
36365 fi
36366 rm -f conftest.err conftest.$ac_objext \
36367 conftest$ac_exeext conftest.$ac_ext
36368 fi
36369 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36370 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36371 if test `eval echo '${'$as_ac_var'}'` = yes; then
36372 cat >>confdefs.h <<_ACEOF
36373 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36374 _ACEOF
36375
36376 fi
36377 done
36378
36379 fi
36380 fi
36381
36382
36383
36384
36385
36386
36387 echo "$as_me:$LINENO: checking for fabsf declaration" >&5
36388 echo $ECHO_N "checking for fabsf declaration... $ECHO_C" >&6
36389 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
36390 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then
36391 echo $ECHO_N "(cached) $ECHO_C" >&6
36392 else
36393
36394
36395
36396 ac_ext=cc
36397 ac_cpp='$CXXCPP $CPPFLAGS'
36398 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36399 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36400 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36401
36402 cat >conftest.$ac_ext <<_ACEOF
36403 /* confdefs.h. */
36404 _ACEOF
36405 cat confdefs.h >>conftest.$ac_ext
36406 cat >>conftest.$ac_ext <<_ACEOF
36407 /* end confdefs.h. */
36408 #include <math.h>
36409 #ifdef HAVE_IEEEFP_H
36410 #include <ieeefp.h>
36411 #endif
36412
36413 int
36414 main ()
36415 {
36416 fabsf(0);
36417 ;
36418 return 0;
36419 }
36420 _ACEOF
36421 rm -f conftest.$ac_objext
36422 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36423 (eval $ac_compile) 2>conftest.er1
36424 ac_status=$?
36425 grep -v '^ *+' conftest.er1 >conftest.err
36426 rm -f conftest.er1
36427 cat conftest.err >&5
36428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36429 (exit $ac_status); } &&
36430 { ac_try='test -z "$ac_cxx_werror_flag"
36431 || test ! -s conftest.err'
36432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36433 (eval $ac_try) 2>&5
36434 ac_status=$?
36435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36436 (exit $ac_status); }; } &&
36437 { ac_try='test -s conftest.$ac_objext'
36438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36439 (eval $ac_try) 2>&5
36440 ac_status=$?
36441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36442 (exit $ac_status); }; }; then
36443 glibcxx_cv_func_fabsf_use=yes
36444 else
36445 echo "$as_me: failed program was:" >&5
36446 sed 's/^/| /' conftest.$ac_ext >&5
36447
36448 glibcxx_cv_func_fabsf_use=no
36449 fi
36450 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36451 ac_ext=c
36452 ac_cpp='$CPP $CPPFLAGS'
36453 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36454 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36455 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36456
36457
36458 fi
36459
36460 fi
36461 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsf_use" >&5
36462 echo "${ECHO_T}$glibcxx_cv_func_fabsf_use" >&6
36463
36464 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
36465
36466 for ac_func in fabsf
36467 do
36468 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36469 echo "$as_me:$LINENO: checking for $ac_func" >&5
36470 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36471 if eval "test \"\${$as_ac_var+set}\" = set"; then
36472 echo $ECHO_N "(cached) $ECHO_C" >&6
36473 else
36474 if test x$gcc_no_link = xyes; then
36475 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36476 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36477 { (exit 1); exit 1; }; }
36478 fi
36479 cat >conftest.$ac_ext <<_ACEOF
36480 /* confdefs.h. */
36481 _ACEOF
36482 cat confdefs.h >>conftest.$ac_ext
36483 cat >>conftest.$ac_ext <<_ACEOF
36484 /* end confdefs.h. */
36485 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36486 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36487 #define $ac_func innocuous_$ac_func
36488
36489 /* System header to define __stub macros and hopefully few prototypes,
36490 which can conflict with char $ac_func (); below.
36491 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36492 <limits.h> exists even on freestanding compilers. */
36493
36494 #ifdef __STDC__
36495 # include <limits.h>
36496 #else
36497 # include <assert.h>
36498 #endif
36499
36500 #undef $ac_func
36501
36502 /* Override any gcc2 internal prototype to avoid an error. */
36503 #ifdef __cplusplus
36504 extern "C"
36505 {
36506 #endif
36507 /* We use char because int might match the return type of a gcc2
36508 builtin and then its argument prototype would still apply. */
36509 char $ac_func ();
36510 /* The GNU C library defines this for functions which it implements
36511 to always fail with ENOSYS. Some functions are actually named
36512 something starting with __ and the normal name is an alias. */
36513 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36514 choke me
36515 #else
36516 char (*f) () = $ac_func;
36517 #endif
36518 #ifdef __cplusplus
36519 }
36520 #endif
36521
36522 int
36523 main ()
36524 {
36525 return f != $ac_func;
36526 ;
36527 return 0;
36528 }
36529 _ACEOF
36530 rm -f conftest.$ac_objext conftest$ac_exeext
36531 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36532 (eval $ac_link) 2>conftest.er1
36533 ac_status=$?
36534 grep -v '^ *+' conftest.er1 >conftest.err
36535 rm -f conftest.er1
36536 cat conftest.err >&5
36537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36538 (exit $ac_status); } &&
36539 { ac_try='test -z "$ac_c_werror_flag"
36540 || test ! -s conftest.err'
36541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36542 (eval $ac_try) 2>&5
36543 ac_status=$?
36544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36545 (exit $ac_status); }; } &&
36546 { ac_try='test -s conftest$ac_exeext'
36547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36548 (eval $ac_try) 2>&5
36549 ac_status=$?
36550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36551 (exit $ac_status); }; }; then
36552 eval "$as_ac_var=yes"
36553 else
36554 echo "$as_me: failed program was:" >&5
36555 sed 's/^/| /' conftest.$ac_ext >&5
36556
36557 eval "$as_ac_var=no"
36558 fi
36559 rm -f conftest.err conftest.$ac_objext \
36560 conftest$ac_exeext conftest.$ac_ext
36561 fi
36562 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36563 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36564 if test `eval echo '${'$as_ac_var'}'` = yes; then
36565 cat >>confdefs.h <<_ACEOF
36566 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36567 _ACEOF
36568
36569 fi
36570 done
36571
36572 else
36573
36574 echo "$as_me:$LINENO: checking for _fabsf declaration" >&5
36575 echo $ECHO_N "checking for _fabsf declaration... $ECHO_C" >&6
36576 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
36577 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then
36578 echo $ECHO_N "(cached) $ECHO_C" >&6
36579 else
36580
36581
36582
36583 ac_ext=cc
36584 ac_cpp='$CXXCPP $CPPFLAGS'
36585 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36586 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36587 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36588
36589 cat >conftest.$ac_ext <<_ACEOF
36590 /* confdefs.h. */
36591 _ACEOF
36592 cat confdefs.h >>conftest.$ac_ext
36593 cat >>conftest.$ac_ext <<_ACEOF
36594 /* end confdefs.h. */
36595 #include <math.h>
36596 #ifdef HAVE_IEEEFP_H
36597 #include <ieeefp.h>
36598 #endif
36599
36600 int
36601 main ()
36602 {
36603 _fabsf(0);
36604 ;
36605 return 0;
36606 }
36607 _ACEOF
36608 rm -f conftest.$ac_objext
36609 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36610 (eval $ac_compile) 2>conftest.er1
36611 ac_status=$?
36612 grep -v '^ *+' conftest.er1 >conftest.err
36613 rm -f conftest.er1
36614 cat conftest.err >&5
36615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36616 (exit $ac_status); } &&
36617 { ac_try='test -z "$ac_cxx_werror_flag"
36618 || test ! -s conftest.err'
36619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36620 (eval $ac_try) 2>&5
36621 ac_status=$?
36622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36623 (exit $ac_status); }; } &&
36624 { ac_try='test -s conftest.$ac_objext'
36625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36626 (eval $ac_try) 2>&5
36627 ac_status=$?
36628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36629 (exit $ac_status); }; }; then
36630 glibcxx_cv_func__fabsf_use=yes
36631 else
36632 echo "$as_me: failed program was:" >&5
36633 sed 's/^/| /' conftest.$ac_ext >&5
36634
36635 glibcxx_cv_func__fabsf_use=no
36636 fi
36637 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36638 ac_ext=c
36639 ac_cpp='$CPP $CPPFLAGS'
36640 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36641 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36642 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36643
36644
36645 fi
36646
36647 fi
36648 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsf_use" >&5
36649 echo "${ECHO_T}$glibcxx_cv_func__fabsf_use" >&6
36650
36651 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
36652
36653 for ac_func in _fabsf
36654 do
36655 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36656 echo "$as_me:$LINENO: checking for $ac_func" >&5
36657 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36658 if eval "test \"\${$as_ac_var+set}\" = set"; then
36659 echo $ECHO_N "(cached) $ECHO_C" >&6
36660 else
36661 if test x$gcc_no_link = xyes; then
36662 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36663 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36664 { (exit 1); exit 1; }; }
36665 fi
36666 cat >conftest.$ac_ext <<_ACEOF
36667 /* confdefs.h. */
36668 _ACEOF
36669 cat confdefs.h >>conftest.$ac_ext
36670 cat >>conftest.$ac_ext <<_ACEOF
36671 /* end confdefs.h. */
36672 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36673 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36674 #define $ac_func innocuous_$ac_func
36675
36676 /* System header to define __stub macros and hopefully few prototypes,
36677 which can conflict with char $ac_func (); below.
36678 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36679 <limits.h> exists even on freestanding compilers. */
36680
36681 #ifdef __STDC__
36682 # include <limits.h>
36683 #else
36684 # include <assert.h>
36685 #endif
36686
36687 #undef $ac_func
36688
36689 /* Override any gcc2 internal prototype to avoid an error. */
36690 #ifdef __cplusplus
36691 extern "C"
36692 {
36693 #endif
36694 /* We use char because int might match the return type of a gcc2
36695 builtin and then its argument prototype would still apply. */
36696 char $ac_func ();
36697 /* The GNU C library defines this for functions which it implements
36698 to always fail with ENOSYS. Some functions are actually named
36699 something starting with __ and the normal name is an alias. */
36700 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36701 choke me
36702 #else
36703 char (*f) () = $ac_func;
36704 #endif
36705 #ifdef __cplusplus
36706 }
36707 #endif
36708
36709 int
36710 main ()
36711 {
36712 return f != $ac_func;
36713 ;
36714 return 0;
36715 }
36716 _ACEOF
36717 rm -f conftest.$ac_objext conftest$ac_exeext
36718 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36719 (eval $ac_link) 2>conftest.er1
36720 ac_status=$?
36721 grep -v '^ *+' conftest.er1 >conftest.err
36722 rm -f conftest.er1
36723 cat conftest.err >&5
36724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36725 (exit $ac_status); } &&
36726 { ac_try='test -z "$ac_c_werror_flag"
36727 || test ! -s conftest.err'
36728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36729 (eval $ac_try) 2>&5
36730 ac_status=$?
36731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36732 (exit $ac_status); }; } &&
36733 { ac_try='test -s conftest$ac_exeext'
36734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36735 (eval $ac_try) 2>&5
36736 ac_status=$?
36737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36738 (exit $ac_status); }; }; then
36739 eval "$as_ac_var=yes"
36740 else
36741 echo "$as_me: failed program was:" >&5
36742 sed 's/^/| /' conftest.$ac_ext >&5
36743
36744 eval "$as_ac_var=no"
36745 fi
36746 rm -f conftest.err conftest.$ac_objext \
36747 conftest$ac_exeext conftest.$ac_ext
36748 fi
36749 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36750 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36751 if test `eval echo '${'$as_ac_var'}'` = yes; then
36752 cat >>confdefs.h <<_ACEOF
36753 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36754 _ACEOF
36755
36756 fi
36757 done
36758
36759 fi
36760 fi
36761
36762
36763
36764
36765
36766
36767 echo "$as_me:$LINENO: checking for fmodf declaration" >&5
36768 echo $ECHO_N "checking for fmodf declaration... $ECHO_C" >&6
36769 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
36770 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then
36771 echo $ECHO_N "(cached) $ECHO_C" >&6
36772 else
36773
36774
36775
36776 ac_ext=cc
36777 ac_cpp='$CXXCPP $CPPFLAGS'
36778 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36779 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36780 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36781
36782 cat >conftest.$ac_ext <<_ACEOF
36783 /* confdefs.h. */
36784 _ACEOF
36785 cat confdefs.h >>conftest.$ac_ext
36786 cat >>conftest.$ac_ext <<_ACEOF
36787 /* end confdefs.h. */
36788 #include <math.h>
36789 int
36790 main ()
36791 {
36792 fmodf(0, 0);
36793 ;
36794 return 0;
36795 }
36796 _ACEOF
36797 rm -f conftest.$ac_objext
36798 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36799 (eval $ac_compile) 2>conftest.er1
36800 ac_status=$?
36801 grep -v '^ *+' conftest.er1 >conftest.err
36802 rm -f conftest.er1
36803 cat conftest.err >&5
36804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36805 (exit $ac_status); } &&
36806 { ac_try='test -z "$ac_cxx_werror_flag"
36807 || test ! -s conftest.err'
36808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36809 (eval $ac_try) 2>&5
36810 ac_status=$?
36811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36812 (exit $ac_status); }; } &&
36813 { ac_try='test -s conftest.$ac_objext'
36814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36815 (eval $ac_try) 2>&5
36816 ac_status=$?
36817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36818 (exit $ac_status); }; }; then
36819 glibcxx_cv_func_fmodf_use=yes
36820 else
36821 echo "$as_me: failed program was:" >&5
36822 sed 's/^/| /' conftest.$ac_ext >&5
36823
36824 glibcxx_cv_func_fmodf_use=no
36825 fi
36826 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36827 ac_ext=c
36828 ac_cpp='$CPP $CPPFLAGS'
36829 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36830 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36831 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36832
36833
36834 fi
36835
36836 fi
36837 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodf_use" >&5
36838 echo "${ECHO_T}$glibcxx_cv_func_fmodf_use" >&6
36839
36840 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
36841
36842 for ac_func in fmodf
36843 do
36844 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36845 echo "$as_me:$LINENO: checking for $ac_func" >&5
36846 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36847 if eval "test \"\${$as_ac_var+set}\" = set"; then
36848 echo $ECHO_N "(cached) $ECHO_C" >&6
36849 else
36850 if test x$gcc_no_link = xyes; then
36851 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36852 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36853 { (exit 1); exit 1; }; }
36854 fi
36855 cat >conftest.$ac_ext <<_ACEOF
36856 /* confdefs.h. */
36857 _ACEOF
36858 cat confdefs.h >>conftest.$ac_ext
36859 cat >>conftest.$ac_ext <<_ACEOF
36860 /* end confdefs.h. */
36861 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36862 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36863 #define $ac_func innocuous_$ac_func
36864
36865 /* System header to define __stub macros and hopefully few prototypes,
36866 which can conflict with char $ac_func (); below.
36867 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36868 <limits.h> exists even on freestanding compilers. */
36869
36870 #ifdef __STDC__
36871 # include <limits.h>
36872 #else
36873 # include <assert.h>
36874 #endif
36875
36876 #undef $ac_func
36877
36878 /* Override any gcc2 internal prototype to avoid an error. */
36879 #ifdef __cplusplus
36880 extern "C"
36881 {
36882 #endif
36883 /* We use char because int might match the return type of a gcc2
36884 builtin and then its argument prototype would still apply. */
36885 char $ac_func ();
36886 /* The GNU C library defines this for functions which it implements
36887 to always fail with ENOSYS. Some functions are actually named
36888 something starting with __ and the normal name is an alias. */
36889 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36890 choke me
36891 #else
36892 char (*f) () = $ac_func;
36893 #endif
36894 #ifdef __cplusplus
36895 }
36896 #endif
36897
36898 int
36899 main ()
36900 {
36901 return f != $ac_func;
36902 ;
36903 return 0;
36904 }
36905 _ACEOF
36906 rm -f conftest.$ac_objext conftest$ac_exeext
36907 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36908 (eval $ac_link) 2>conftest.er1
36909 ac_status=$?
36910 grep -v '^ *+' conftest.er1 >conftest.err
36911 rm -f conftest.er1
36912 cat conftest.err >&5
36913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36914 (exit $ac_status); } &&
36915 { ac_try='test -z "$ac_c_werror_flag"
36916 || test ! -s conftest.err'
36917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36918 (eval $ac_try) 2>&5
36919 ac_status=$?
36920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36921 (exit $ac_status); }; } &&
36922 { ac_try='test -s conftest$ac_exeext'
36923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36924 (eval $ac_try) 2>&5
36925 ac_status=$?
36926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36927 (exit $ac_status); }; }; then
36928 eval "$as_ac_var=yes"
36929 else
36930 echo "$as_me: failed program was:" >&5
36931 sed 's/^/| /' conftest.$ac_ext >&5
36932
36933 eval "$as_ac_var=no"
36934 fi
36935 rm -f conftest.err conftest.$ac_objext \
36936 conftest$ac_exeext conftest.$ac_ext
36937 fi
36938 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36939 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36940 if test `eval echo '${'$as_ac_var'}'` = yes; then
36941 cat >>confdefs.h <<_ACEOF
36942 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36943 _ACEOF
36944
36945 fi
36946 done
36947
36948 else
36949
36950 echo "$as_me:$LINENO: checking for _fmodf declaration" >&5
36951 echo $ECHO_N "checking for _fmodf declaration... $ECHO_C" >&6
36952 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
36953 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then
36954 echo $ECHO_N "(cached) $ECHO_C" >&6
36955 else
36956
36957
36958
36959 ac_ext=cc
36960 ac_cpp='$CXXCPP $CPPFLAGS'
36961 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36962 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36963 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36964
36965 cat >conftest.$ac_ext <<_ACEOF
36966 /* confdefs.h. */
36967 _ACEOF
36968 cat confdefs.h >>conftest.$ac_ext
36969 cat >>conftest.$ac_ext <<_ACEOF
36970 /* end confdefs.h. */
36971 #include <math.h>
36972 int
36973 main ()
36974 {
36975 _fmodf(0, 0);
36976 ;
36977 return 0;
36978 }
36979 _ACEOF
36980 rm -f conftest.$ac_objext
36981 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36982 (eval $ac_compile) 2>conftest.er1
36983 ac_status=$?
36984 grep -v '^ *+' conftest.er1 >conftest.err
36985 rm -f conftest.er1
36986 cat conftest.err >&5
36987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36988 (exit $ac_status); } &&
36989 { ac_try='test -z "$ac_cxx_werror_flag"
36990 || test ! -s conftest.err'
36991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36992 (eval $ac_try) 2>&5
36993 ac_status=$?
36994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36995 (exit $ac_status); }; } &&
36996 { ac_try='test -s conftest.$ac_objext'
36997 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36998 (eval $ac_try) 2>&5
36999 ac_status=$?
37000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37001 (exit $ac_status); }; }; then
37002 glibcxx_cv_func__fmodf_use=yes
37003 else
37004 echo "$as_me: failed program was:" >&5
37005 sed 's/^/| /' conftest.$ac_ext >&5
37006
37007 glibcxx_cv_func__fmodf_use=no
37008 fi
37009 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37010 ac_ext=c
37011 ac_cpp='$CPP $CPPFLAGS'
37012 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37013 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37014 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37015
37016
37017 fi
37018
37019 fi
37020 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodf_use" >&5
37021 echo "${ECHO_T}$glibcxx_cv_func__fmodf_use" >&6
37022
37023 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
37024
37025 for ac_func in _fmodf
37026 do
37027 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37028 echo "$as_me:$LINENO: checking for $ac_func" >&5
37029 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37030 if eval "test \"\${$as_ac_var+set}\" = set"; then
37031 echo $ECHO_N "(cached) $ECHO_C" >&6
37032 else
37033 if test x$gcc_no_link = xyes; then
37034 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37035 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37036 { (exit 1); exit 1; }; }
37037 fi
37038 cat >conftest.$ac_ext <<_ACEOF
37039 /* confdefs.h. */
37040 _ACEOF
37041 cat confdefs.h >>conftest.$ac_ext
37042 cat >>conftest.$ac_ext <<_ACEOF
37043 /* end confdefs.h. */
37044 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37045 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37046 #define $ac_func innocuous_$ac_func
37047
37048 /* System header to define __stub macros and hopefully few prototypes,
37049 which can conflict with char $ac_func (); below.
37050 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37051 <limits.h> exists even on freestanding compilers. */
37052
37053 #ifdef __STDC__
37054 # include <limits.h>
37055 #else
37056 # include <assert.h>
37057 #endif
37058
37059 #undef $ac_func
37060
37061 /* Override any gcc2 internal prototype to avoid an error. */
37062 #ifdef __cplusplus
37063 extern "C"
37064 {
37065 #endif
37066 /* We use char because int might match the return type of a gcc2
37067 builtin and then its argument prototype would still apply. */
37068 char $ac_func ();
37069 /* The GNU C library defines this for functions which it implements
37070 to always fail with ENOSYS. Some functions are actually named
37071 something starting with __ and the normal name is an alias. */
37072 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37073 choke me
37074 #else
37075 char (*f) () = $ac_func;
37076 #endif
37077 #ifdef __cplusplus
37078 }
37079 #endif
37080
37081 int
37082 main ()
37083 {
37084 return f != $ac_func;
37085 ;
37086 return 0;
37087 }
37088 _ACEOF
37089 rm -f conftest.$ac_objext conftest$ac_exeext
37090 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37091 (eval $ac_link) 2>conftest.er1
37092 ac_status=$?
37093 grep -v '^ *+' conftest.er1 >conftest.err
37094 rm -f conftest.er1
37095 cat conftest.err >&5
37096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37097 (exit $ac_status); } &&
37098 { ac_try='test -z "$ac_c_werror_flag"
37099 || test ! -s conftest.err'
37100 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37101 (eval $ac_try) 2>&5
37102 ac_status=$?
37103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37104 (exit $ac_status); }; } &&
37105 { ac_try='test -s conftest$ac_exeext'
37106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37107 (eval $ac_try) 2>&5
37108 ac_status=$?
37109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37110 (exit $ac_status); }; }; then
37111 eval "$as_ac_var=yes"
37112 else
37113 echo "$as_me: failed program was:" >&5
37114 sed 's/^/| /' conftest.$ac_ext >&5
37115
37116 eval "$as_ac_var=no"
37117 fi
37118 rm -f conftest.err conftest.$ac_objext \
37119 conftest$ac_exeext conftest.$ac_ext
37120 fi
37121 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37122 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37123 if test `eval echo '${'$as_ac_var'}'` = yes; then
37124 cat >>confdefs.h <<_ACEOF
37125 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37126 _ACEOF
37127
37128 fi
37129 done
37130
37131 fi
37132 fi
37133
37134
37135
37136
37137
37138
37139 echo "$as_me:$LINENO: checking for frexpf declaration" >&5
37140 echo $ECHO_N "checking for frexpf declaration... $ECHO_C" >&6
37141 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
37142 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then
37143 echo $ECHO_N "(cached) $ECHO_C" >&6
37144 else
37145
37146
37147
37148 ac_ext=cc
37149 ac_cpp='$CXXCPP $CPPFLAGS'
37150 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37151 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37152 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37153
37154 cat >conftest.$ac_ext <<_ACEOF
37155 /* confdefs.h. */
37156 _ACEOF
37157 cat confdefs.h >>conftest.$ac_ext
37158 cat >>conftest.$ac_ext <<_ACEOF
37159 /* end confdefs.h. */
37160 #include <math.h>
37161 int
37162 main ()
37163 {
37164 frexpf(0, 0);
37165 ;
37166 return 0;
37167 }
37168 _ACEOF
37169 rm -f conftest.$ac_objext
37170 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37171 (eval $ac_compile) 2>conftest.er1
37172 ac_status=$?
37173 grep -v '^ *+' conftest.er1 >conftest.err
37174 rm -f conftest.er1
37175 cat conftest.err >&5
37176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37177 (exit $ac_status); } &&
37178 { ac_try='test -z "$ac_cxx_werror_flag"
37179 || test ! -s conftest.err'
37180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37181 (eval $ac_try) 2>&5
37182 ac_status=$?
37183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37184 (exit $ac_status); }; } &&
37185 { ac_try='test -s conftest.$ac_objext'
37186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37187 (eval $ac_try) 2>&5
37188 ac_status=$?
37189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37190 (exit $ac_status); }; }; then
37191 glibcxx_cv_func_frexpf_use=yes
37192 else
37193 echo "$as_me: failed program was:" >&5
37194 sed 's/^/| /' conftest.$ac_ext >&5
37195
37196 glibcxx_cv_func_frexpf_use=no
37197 fi
37198 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37199 ac_ext=c
37200 ac_cpp='$CPP $CPPFLAGS'
37201 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37202 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37203 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37204
37205
37206 fi
37207
37208 fi
37209 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpf_use" >&5
37210 echo "${ECHO_T}$glibcxx_cv_func_frexpf_use" >&6
37211
37212 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
37213
37214 for ac_func in frexpf
37215 do
37216 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37217 echo "$as_me:$LINENO: checking for $ac_func" >&5
37218 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37219 if eval "test \"\${$as_ac_var+set}\" = set"; then
37220 echo $ECHO_N "(cached) $ECHO_C" >&6
37221 else
37222 if test x$gcc_no_link = xyes; then
37223 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37224 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37225 { (exit 1); exit 1; }; }
37226 fi
37227 cat >conftest.$ac_ext <<_ACEOF
37228 /* confdefs.h. */
37229 _ACEOF
37230 cat confdefs.h >>conftest.$ac_ext
37231 cat >>conftest.$ac_ext <<_ACEOF
37232 /* end confdefs.h. */
37233 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37234 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37235 #define $ac_func innocuous_$ac_func
37236
37237 /* System header to define __stub macros and hopefully few prototypes,
37238 which can conflict with char $ac_func (); below.
37239 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37240 <limits.h> exists even on freestanding compilers. */
37241
37242 #ifdef __STDC__
37243 # include <limits.h>
37244 #else
37245 # include <assert.h>
37246 #endif
37247
37248 #undef $ac_func
37249
37250 /* Override any gcc2 internal prototype to avoid an error. */
37251 #ifdef __cplusplus
37252 extern "C"
37253 {
37254 #endif
37255 /* We use char because int might match the return type of a gcc2
37256 builtin and then its argument prototype would still apply. */
37257 char $ac_func ();
37258 /* The GNU C library defines this for functions which it implements
37259 to always fail with ENOSYS. Some functions are actually named
37260 something starting with __ and the normal name is an alias. */
37261 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37262 choke me
37263 #else
37264 char (*f) () = $ac_func;
37265 #endif
37266 #ifdef __cplusplus
37267 }
37268 #endif
37269
37270 int
37271 main ()
37272 {
37273 return f != $ac_func;
37274 ;
37275 return 0;
37276 }
37277 _ACEOF
37278 rm -f conftest.$ac_objext conftest$ac_exeext
37279 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37280 (eval $ac_link) 2>conftest.er1
37281 ac_status=$?
37282 grep -v '^ *+' conftest.er1 >conftest.err
37283 rm -f conftest.er1
37284 cat conftest.err >&5
37285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37286 (exit $ac_status); } &&
37287 { ac_try='test -z "$ac_c_werror_flag"
37288 || test ! -s conftest.err'
37289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37290 (eval $ac_try) 2>&5
37291 ac_status=$?
37292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37293 (exit $ac_status); }; } &&
37294 { ac_try='test -s conftest$ac_exeext'
37295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37296 (eval $ac_try) 2>&5
37297 ac_status=$?
37298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37299 (exit $ac_status); }; }; then
37300 eval "$as_ac_var=yes"
37301 else
37302 echo "$as_me: failed program was:" >&5
37303 sed 's/^/| /' conftest.$ac_ext >&5
37304
37305 eval "$as_ac_var=no"
37306 fi
37307 rm -f conftest.err conftest.$ac_objext \
37308 conftest$ac_exeext conftest.$ac_ext
37309 fi
37310 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37311 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37312 if test `eval echo '${'$as_ac_var'}'` = yes; then
37313 cat >>confdefs.h <<_ACEOF
37314 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37315 _ACEOF
37316
37317 fi
37318 done
37319
37320 else
37321
37322 echo "$as_me:$LINENO: checking for _frexpf declaration" >&5
37323 echo $ECHO_N "checking for _frexpf declaration... $ECHO_C" >&6
37324 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
37325 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then
37326 echo $ECHO_N "(cached) $ECHO_C" >&6
37327 else
37328
37329
37330
37331 ac_ext=cc
37332 ac_cpp='$CXXCPP $CPPFLAGS'
37333 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37334 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37335 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37336
37337 cat >conftest.$ac_ext <<_ACEOF
37338 /* confdefs.h. */
37339 _ACEOF
37340 cat confdefs.h >>conftest.$ac_ext
37341 cat >>conftest.$ac_ext <<_ACEOF
37342 /* end confdefs.h. */
37343 #include <math.h>
37344 int
37345 main ()
37346 {
37347 _frexpf(0, 0);
37348 ;
37349 return 0;
37350 }
37351 _ACEOF
37352 rm -f conftest.$ac_objext
37353 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37354 (eval $ac_compile) 2>conftest.er1
37355 ac_status=$?
37356 grep -v '^ *+' conftest.er1 >conftest.err
37357 rm -f conftest.er1
37358 cat conftest.err >&5
37359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37360 (exit $ac_status); } &&
37361 { ac_try='test -z "$ac_cxx_werror_flag"
37362 || test ! -s conftest.err'
37363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37364 (eval $ac_try) 2>&5
37365 ac_status=$?
37366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37367 (exit $ac_status); }; } &&
37368 { ac_try='test -s conftest.$ac_objext'
37369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37370 (eval $ac_try) 2>&5
37371 ac_status=$?
37372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37373 (exit $ac_status); }; }; then
37374 glibcxx_cv_func__frexpf_use=yes
37375 else
37376 echo "$as_me: failed program was:" >&5
37377 sed 's/^/| /' conftest.$ac_ext >&5
37378
37379 glibcxx_cv_func__frexpf_use=no
37380 fi
37381 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37382 ac_ext=c
37383 ac_cpp='$CPP $CPPFLAGS'
37384 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37385 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37386 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37387
37388
37389 fi
37390
37391 fi
37392 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpf_use" >&5
37393 echo "${ECHO_T}$glibcxx_cv_func__frexpf_use" >&6
37394
37395 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
37396
37397 for ac_func in _frexpf
37398 do
37399 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37400 echo "$as_me:$LINENO: checking for $ac_func" >&5
37401 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37402 if eval "test \"\${$as_ac_var+set}\" = set"; then
37403 echo $ECHO_N "(cached) $ECHO_C" >&6
37404 else
37405 if test x$gcc_no_link = xyes; then
37406 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37407 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37408 { (exit 1); exit 1; }; }
37409 fi
37410 cat >conftest.$ac_ext <<_ACEOF
37411 /* confdefs.h. */
37412 _ACEOF
37413 cat confdefs.h >>conftest.$ac_ext
37414 cat >>conftest.$ac_ext <<_ACEOF
37415 /* end confdefs.h. */
37416 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37417 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37418 #define $ac_func innocuous_$ac_func
37419
37420 /* System header to define __stub macros and hopefully few prototypes,
37421 which can conflict with char $ac_func (); below.
37422 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37423 <limits.h> exists even on freestanding compilers. */
37424
37425 #ifdef __STDC__
37426 # include <limits.h>
37427 #else
37428 # include <assert.h>
37429 #endif
37430
37431 #undef $ac_func
37432
37433 /* Override any gcc2 internal prototype to avoid an error. */
37434 #ifdef __cplusplus
37435 extern "C"
37436 {
37437 #endif
37438 /* We use char because int might match the return type of a gcc2
37439 builtin and then its argument prototype would still apply. */
37440 char $ac_func ();
37441 /* The GNU C library defines this for functions which it implements
37442 to always fail with ENOSYS. Some functions are actually named
37443 something starting with __ and the normal name is an alias. */
37444 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37445 choke me
37446 #else
37447 char (*f) () = $ac_func;
37448 #endif
37449 #ifdef __cplusplus
37450 }
37451 #endif
37452
37453 int
37454 main ()
37455 {
37456 return f != $ac_func;
37457 ;
37458 return 0;
37459 }
37460 _ACEOF
37461 rm -f conftest.$ac_objext conftest$ac_exeext
37462 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37463 (eval $ac_link) 2>conftest.er1
37464 ac_status=$?
37465 grep -v '^ *+' conftest.er1 >conftest.err
37466 rm -f conftest.er1
37467 cat conftest.err >&5
37468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37469 (exit $ac_status); } &&
37470 { ac_try='test -z "$ac_c_werror_flag"
37471 || test ! -s conftest.err'
37472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37473 (eval $ac_try) 2>&5
37474 ac_status=$?
37475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37476 (exit $ac_status); }; } &&
37477 { ac_try='test -s conftest$ac_exeext'
37478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37479 (eval $ac_try) 2>&5
37480 ac_status=$?
37481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37482 (exit $ac_status); }; }; then
37483 eval "$as_ac_var=yes"
37484 else
37485 echo "$as_me: failed program was:" >&5
37486 sed 's/^/| /' conftest.$ac_ext >&5
37487
37488 eval "$as_ac_var=no"
37489 fi
37490 rm -f conftest.err conftest.$ac_objext \
37491 conftest$ac_exeext conftest.$ac_ext
37492 fi
37493 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37494 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37495 if test `eval echo '${'$as_ac_var'}'` = yes; then
37496 cat >>confdefs.h <<_ACEOF
37497 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37498 _ACEOF
37499
37500 fi
37501 done
37502
37503 fi
37504 fi
37505
37506
37507
37508
37509
37510
37511 echo "$as_me:$LINENO: checking for hypotf declaration" >&5
37512 echo $ECHO_N "checking for hypotf declaration... $ECHO_C" >&6
37513 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
37514 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then
37515 echo $ECHO_N "(cached) $ECHO_C" >&6
37516 else
37517
37518
37519
37520 ac_ext=cc
37521 ac_cpp='$CXXCPP $CPPFLAGS'
37522 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37523 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37524 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37525
37526 cat >conftest.$ac_ext <<_ACEOF
37527 /* confdefs.h. */
37528 _ACEOF
37529 cat confdefs.h >>conftest.$ac_ext
37530 cat >>conftest.$ac_ext <<_ACEOF
37531 /* end confdefs.h. */
37532 #include <math.h>
37533 int
37534 main ()
37535 {
37536 hypotf(0, 0);
37537 ;
37538 return 0;
37539 }
37540 _ACEOF
37541 rm -f conftest.$ac_objext
37542 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37543 (eval $ac_compile) 2>conftest.er1
37544 ac_status=$?
37545 grep -v '^ *+' conftest.er1 >conftest.err
37546 rm -f conftest.er1
37547 cat conftest.err >&5
37548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37549 (exit $ac_status); } &&
37550 { ac_try='test -z "$ac_cxx_werror_flag"
37551 || test ! -s conftest.err'
37552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37553 (eval $ac_try) 2>&5
37554 ac_status=$?
37555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37556 (exit $ac_status); }; } &&
37557 { ac_try='test -s conftest.$ac_objext'
37558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37559 (eval $ac_try) 2>&5
37560 ac_status=$?
37561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37562 (exit $ac_status); }; }; then
37563 glibcxx_cv_func_hypotf_use=yes
37564 else
37565 echo "$as_me: failed program was:" >&5
37566 sed 's/^/| /' conftest.$ac_ext >&5
37567
37568 glibcxx_cv_func_hypotf_use=no
37569 fi
37570 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37571 ac_ext=c
37572 ac_cpp='$CPP $CPPFLAGS'
37573 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37574 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37575 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37576
37577
37578 fi
37579
37580 fi
37581 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotf_use" >&5
37582 echo "${ECHO_T}$glibcxx_cv_func_hypotf_use" >&6
37583
37584 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
37585
37586 for ac_func in hypotf
37587 do
37588 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37589 echo "$as_me:$LINENO: checking for $ac_func" >&5
37590 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37591 if eval "test \"\${$as_ac_var+set}\" = set"; then
37592 echo $ECHO_N "(cached) $ECHO_C" >&6
37593 else
37594 if test x$gcc_no_link = xyes; then
37595 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37596 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37597 { (exit 1); exit 1; }; }
37598 fi
37599 cat >conftest.$ac_ext <<_ACEOF
37600 /* confdefs.h. */
37601 _ACEOF
37602 cat confdefs.h >>conftest.$ac_ext
37603 cat >>conftest.$ac_ext <<_ACEOF
37604 /* end confdefs.h. */
37605 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37606 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37607 #define $ac_func innocuous_$ac_func
37608
37609 /* System header to define __stub macros and hopefully few prototypes,
37610 which can conflict with char $ac_func (); below.
37611 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37612 <limits.h> exists even on freestanding compilers. */
37613
37614 #ifdef __STDC__
37615 # include <limits.h>
37616 #else
37617 # include <assert.h>
37618 #endif
37619
37620 #undef $ac_func
37621
37622 /* Override any gcc2 internal prototype to avoid an error. */
37623 #ifdef __cplusplus
37624 extern "C"
37625 {
37626 #endif
37627 /* We use char because int might match the return type of a gcc2
37628 builtin and then its argument prototype would still apply. */
37629 char $ac_func ();
37630 /* The GNU C library defines this for functions which it implements
37631 to always fail with ENOSYS. Some functions are actually named
37632 something starting with __ and the normal name is an alias. */
37633 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37634 choke me
37635 #else
37636 char (*f) () = $ac_func;
37637 #endif
37638 #ifdef __cplusplus
37639 }
37640 #endif
37641
37642 int
37643 main ()
37644 {
37645 return f != $ac_func;
37646 ;
37647 return 0;
37648 }
37649 _ACEOF
37650 rm -f conftest.$ac_objext conftest$ac_exeext
37651 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37652 (eval $ac_link) 2>conftest.er1
37653 ac_status=$?
37654 grep -v '^ *+' conftest.er1 >conftest.err
37655 rm -f conftest.er1
37656 cat conftest.err >&5
37657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37658 (exit $ac_status); } &&
37659 { ac_try='test -z "$ac_c_werror_flag"
37660 || test ! -s conftest.err'
37661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37662 (eval $ac_try) 2>&5
37663 ac_status=$?
37664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37665 (exit $ac_status); }; } &&
37666 { ac_try='test -s conftest$ac_exeext'
37667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37668 (eval $ac_try) 2>&5
37669 ac_status=$?
37670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37671 (exit $ac_status); }; }; then
37672 eval "$as_ac_var=yes"
37673 else
37674 echo "$as_me: failed program was:" >&5
37675 sed 's/^/| /' conftest.$ac_ext >&5
37676
37677 eval "$as_ac_var=no"
37678 fi
37679 rm -f conftest.err conftest.$ac_objext \
37680 conftest$ac_exeext conftest.$ac_ext
37681 fi
37682 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37683 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37684 if test `eval echo '${'$as_ac_var'}'` = yes; then
37685 cat >>confdefs.h <<_ACEOF
37686 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37687 _ACEOF
37688
37689 fi
37690 done
37691
37692 else
37693
37694 echo "$as_me:$LINENO: checking for _hypotf declaration" >&5
37695 echo $ECHO_N "checking for _hypotf declaration... $ECHO_C" >&6
37696 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
37697 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then
37698 echo $ECHO_N "(cached) $ECHO_C" >&6
37699 else
37700
37701
37702
37703 ac_ext=cc
37704 ac_cpp='$CXXCPP $CPPFLAGS'
37705 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37706 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37707 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37708
37709 cat >conftest.$ac_ext <<_ACEOF
37710 /* confdefs.h. */
37711 _ACEOF
37712 cat confdefs.h >>conftest.$ac_ext
37713 cat >>conftest.$ac_ext <<_ACEOF
37714 /* end confdefs.h. */
37715 #include <math.h>
37716 int
37717 main ()
37718 {
37719 _hypotf(0, 0);
37720 ;
37721 return 0;
37722 }
37723 _ACEOF
37724 rm -f conftest.$ac_objext
37725 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37726 (eval $ac_compile) 2>conftest.er1
37727 ac_status=$?
37728 grep -v '^ *+' conftest.er1 >conftest.err
37729 rm -f conftest.er1
37730 cat conftest.err >&5
37731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37732 (exit $ac_status); } &&
37733 { ac_try='test -z "$ac_cxx_werror_flag"
37734 || test ! -s conftest.err'
37735 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37736 (eval $ac_try) 2>&5
37737 ac_status=$?
37738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37739 (exit $ac_status); }; } &&
37740 { ac_try='test -s conftest.$ac_objext'
37741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37742 (eval $ac_try) 2>&5
37743 ac_status=$?
37744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37745 (exit $ac_status); }; }; then
37746 glibcxx_cv_func__hypotf_use=yes
37747 else
37748 echo "$as_me: failed program was:" >&5
37749 sed 's/^/| /' conftest.$ac_ext >&5
37750
37751 glibcxx_cv_func__hypotf_use=no
37752 fi
37753 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37754 ac_ext=c
37755 ac_cpp='$CPP $CPPFLAGS'
37756 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37757 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37758 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37759
37760
37761 fi
37762
37763 fi
37764 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotf_use" >&5
37765 echo "${ECHO_T}$glibcxx_cv_func__hypotf_use" >&6
37766
37767 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
37768
37769 for ac_func in _hypotf
37770 do
37771 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37772 echo "$as_me:$LINENO: checking for $ac_func" >&5
37773 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37774 if eval "test \"\${$as_ac_var+set}\" = set"; then
37775 echo $ECHO_N "(cached) $ECHO_C" >&6
37776 else
37777 if test x$gcc_no_link = xyes; then
37778 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37779 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37780 { (exit 1); exit 1; }; }
37781 fi
37782 cat >conftest.$ac_ext <<_ACEOF
37783 /* confdefs.h. */
37784 _ACEOF
37785 cat confdefs.h >>conftest.$ac_ext
37786 cat >>conftest.$ac_ext <<_ACEOF
37787 /* end confdefs.h. */
37788 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37789 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37790 #define $ac_func innocuous_$ac_func
37791
37792 /* System header to define __stub macros and hopefully few prototypes,
37793 which can conflict with char $ac_func (); below.
37794 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37795 <limits.h> exists even on freestanding compilers. */
37796
37797 #ifdef __STDC__
37798 # include <limits.h>
37799 #else
37800 # include <assert.h>
37801 #endif
37802
37803 #undef $ac_func
37804
37805 /* Override any gcc2 internal prototype to avoid an error. */
37806 #ifdef __cplusplus
37807 extern "C"
37808 {
37809 #endif
37810 /* We use char because int might match the return type of a gcc2
37811 builtin and then its argument prototype would still apply. */
37812 char $ac_func ();
37813 /* The GNU C library defines this for functions which it implements
37814 to always fail with ENOSYS. Some functions are actually named
37815 something starting with __ and the normal name is an alias. */
37816 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37817 choke me
37818 #else
37819 char (*f) () = $ac_func;
37820 #endif
37821 #ifdef __cplusplus
37822 }
37823 #endif
37824
37825 int
37826 main ()
37827 {
37828 return f != $ac_func;
37829 ;
37830 return 0;
37831 }
37832 _ACEOF
37833 rm -f conftest.$ac_objext conftest$ac_exeext
37834 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37835 (eval $ac_link) 2>conftest.er1
37836 ac_status=$?
37837 grep -v '^ *+' conftest.er1 >conftest.err
37838 rm -f conftest.er1
37839 cat conftest.err >&5
37840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37841 (exit $ac_status); } &&
37842 { ac_try='test -z "$ac_c_werror_flag"
37843 || test ! -s conftest.err'
37844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37845 (eval $ac_try) 2>&5
37846 ac_status=$?
37847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37848 (exit $ac_status); }; } &&
37849 { ac_try='test -s conftest$ac_exeext'
37850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37851 (eval $ac_try) 2>&5
37852 ac_status=$?
37853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37854 (exit $ac_status); }; }; then
37855 eval "$as_ac_var=yes"
37856 else
37857 echo "$as_me: failed program was:" >&5
37858 sed 's/^/| /' conftest.$ac_ext >&5
37859
37860 eval "$as_ac_var=no"
37861 fi
37862 rm -f conftest.err conftest.$ac_objext \
37863 conftest$ac_exeext conftest.$ac_ext
37864 fi
37865 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37866 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37867 if test `eval echo '${'$as_ac_var'}'` = yes; then
37868 cat >>confdefs.h <<_ACEOF
37869 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37870 _ACEOF
37871
37872 fi
37873 done
37874
37875 fi
37876 fi
37877
37878
37879
37880
37881
37882
37883 echo "$as_me:$LINENO: checking for ldexpf declaration" >&5
37884 echo $ECHO_N "checking for ldexpf declaration... $ECHO_C" >&6
37885 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
37886 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then
37887 echo $ECHO_N "(cached) $ECHO_C" >&6
37888 else
37889
37890
37891
37892 ac_ext=cc
37893 ac_cpp='$CXXCPP $CPPFLAGS'
37894 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37895 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37896 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37897
37898 cat >conftest.$ac_ext <<_ACEOF
37899 /* confdefs.h. */
37900 _ACEOF
37901 cat confdefs.h >>conftest.$ac_ext
37902 cat >>conftest.$ac_ext <<_ACEOF
37903 /* end confdefs.h. */
37904 #include <math.h>
37905 int
37906 main ()
37907 {
37908 ldexpf(0, 0);
37909 ;
37910 return 0;
37911 }
37912 _ACEOF
37913 rm -f conftest.$ac_objext
37914 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37915 (eval $ac_compile) 2>conftest.er1
37916 ac_status=$?
37917 grep -v '^ *+' conftest.er1 >conftest.err
37918 rm -f conftest.er1
37919 cat conftest.err >&5
37920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37921 (exit $ac_status); } &&
37922 { ac_try='test -z "$ac_cxx_werror_flag"
37923 || test ! -s conftest.err'
37924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37925 (eval $ac_try) 2>&5
37926 ac_status=$?
37927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37928 (exit $ac_status); }; } &&
37929 { ac_try='test -s conftest.$ac_objext'
37930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37931 (eval $ac_try) 2>&5
37932 ac_status=$?
37933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37934 (exit $ac_status); }; }; then
37935 glibcxx_cv_func_ldexpf_use=yes
37936 else
37937 echo "$as_me: failed program was:" >&5
37938 sed 's/^/| /' conftest.$ac_ext >&5
37939
37940 glibcxx_cv_func_ldexpf_use=no
37941 fi
37942 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37943 ac_ext=c
37944 ac_cpp='$CPP $CPPFLAGS'
37945 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37946 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37947 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37948
37949
37950 fi
37951
37952 fi
37953 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpf_use" >&5
37954 echo "${ECHO_T}$glibcxx_cv_func_ldexpf_use" >&6
37955
37956 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
37957
37958 for ac_func in ldexpf
37959 do
37960 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37961 echo "$as_me:$LINENO: checking for $ac_func" >&5
37962 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37963 if eval "test \"\${$as_ac_var+set}\" = set"; then
37964 echo $ECHO_N "(cached) $ECHO_C" >&6
37965 else
37966 if test x$gcc_no_link = xyes; then
37967 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37968 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37969 { (exit 1); exit 1; }; }
37970 fi
37971 cat >conftest.$ac_ext <<_ACEOF
37972 /* confdefs.h. */
37973 _ACEOF
37974 cat confdefs.h >>conftest.$ac_ext
37975 cat >>conftest.$ac_ext <<_ACEOF
37976 /* end confdefs.h. */
37977 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37978 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37979 #define $ac_func innocuous_$ac_func
37980
37981 /* System header to define __stub macros and hopefully few prototypes,
37982 which can conflict with char $ac_func (); below.
37983 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37984 <limits.h> exists even on freestanding compilers. */
37985
37986 #ifdef __STDC__
37987 # include <limits.h>
37988 #else
37989 # include <assert.h>
37990 #endif
37991
37992 #undef $ac_func
37993
37994 /* Override any gcc2 internal prototype to avoid an error. */
37995 #ifdef __cplusplus
37996 extern "C"
37997 {
37998 #endif
37999 /* We use char because int might match the return type of a gcc2
38000 builtin and then its argument prototype would still apply. */
38001 char $ac_func ();
38002 /* The GNU C library defines this for functions which it implements
38003 to always fail with ENOSYS. Some functions are actually named
38004 something starting with __ and the normal name is an alias. */
38005 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38006 choke me
38007 #else
38008 char (*f) () = $ac_func;
38009 #endif
38010 #ifdef __cplusplus
38011 }
38012 #endif
38013
38014 int
38015 main ()
38016 {
38017 return f != $ac_func;
38018 ;
38019 return 0;
38020 }
38021 _ACEOF
38022 rm -f conftest.$ac_objext conftest$ac_exeext
38023 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38024 (eval $ac_link) 2>conftest.er1
38025 ac_status=$?
38026 grep -v '^ *+' conftest.er1 >conftest.err
38027 rm -f conftest.er1
38028 cat conftest.err >&5
38029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38030 (exit $ac_status); } &&
38031 { ac_try='test -z "$ac_c_werror_flag"
38032 || test ! -s conftest.err'
38033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38034 (eval $ac_try) 2>&5
38035 ac_status=$?
38036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38037 (exit $ac_status); }; } &&
38038 { ac_try='test -s conftest$ac_exeext'
38039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38040 (eval $ac_try) 2>&5
38041 ac_status=$?
38042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38043 (exit $ac_status); }; }; then
38044 eval "$as_ac_var=yes"
38045 else
38046 echo "$as_me: failed program was:" >&5
38047 sed 's/^/| /' conftest.$ac_ext >&5
38048
38049 eval "$as_ac_var=no"
38050 fi
38051 rm -f conftest.err conftest.$ac_objext \
38052 conftest$ac_exeext conftest.$ac_ext
38053 fi
38054 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38055 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38056 if test `eval echo '${'$as_ac_var'}'` = yes; then
38057 cat >>confdefs.h <<_ACEOF
38058 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38059 _ACEOF
38060
38061 fi
38062 done
38063
38064 else
38065
38066 echo "$as_me:$LINENO: checking for _ldexpf declaration" >&5
38067 echo $ECHO_N "checking for _ldexpf declaration... $ECHO_C" >&6
38068 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
38069 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then
38070 echo $ECHO_N "(cached) $ECHO_C" >&6
38071 else
38072
38073
38074
38075 ac_ext=cc
38076 ac_cpp='$CXXCPP $CPPFLAGS'
38077 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38078 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38079 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38080
38081 cat >conftest.$ac_ext <<_ACEOF
38082 /* confdefs.h. */
38083 _ACEOF
38084 cat confdefs.h >>conftest.$ac_ext
38085 cat >>conftest.$ac_ext <<_ACEOF
38086 /* end confdefs.h. */
38087 #include <math.h>
38088 int
38089 main ()
38090 {
38091 _ldexpf(0, 0);
38092 ;
38093 return 0;
38094 }
38095 _ACEOF
38096 rm -f conftest.$ac_objext
38097 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38098 (eval $ac_compile) 2>conftest.er1
38099 ac_status=$?
38100 grep -v '^ *+' conftest.er1 >conftest.err
38101 rm -f conftest.er1
38102 cat conftest.err >&5
38103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38104 (exit $ac_status); } &&
38105 { ac_try='test -z "$ac_cxx_werror_flag"
38106 || test ! -s conftest.err'
38107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38108 (eval $ac_try) 2>&5
38109 ac_status=$?
38110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38111 (exit $ac_status); }; } &&
38112 { ac_try='test -s conftest.$ac_objext'
38113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38114 (eval $ac_try) 2>&5
38115 ac_status=$?
38116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38117 (exit $ac_status); }; }; then
38118 glibcxx_cv_func__ldexpf_use=yes
38119 else
38120 echo "$as_me: failed program was:" >&5
38121 sed 's/^/| /' conftest.$ac_ext >&5
38122
38123 glibcxx_cv_func__ldexpf_use=no
38124 fi
38125 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38126 ac_ext=c
38127 ac_cpp='$CPP $CPPFLAGS'
38128 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38129 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38130 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38131
38132
38133 fi
38134
38135 fi
38136 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpf_use" >&5
38137 echo "${ECHO_T}$glibcxx_cv_func__ldexpf_use" >&6
38138
38139 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
38140
38141 for ac_func in _ldexpf
38142 do
38143 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38144 echo "$as_me:$LINENO: checking for $ac_func" >&5
38145 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38146 if eval "test \"\${$as_ac_var+set}\" = set"; then
38147 echo $ECHO_N "(cached) $ECHO_C" >&6
38148 else
38149 if test x$gcc_no_link = xyes; then
38150 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38151 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38152 { (exit 1); exit 1; }; }
38153 fi
38154 cat >conftest.$ac_ext <<_ACEOF
38155 /* confdefs.h. */
38156 _ACEOF
38157 cat confdefs.h >>conftest.$ac_ext
38158 cat >>conftest.$ac_ext <<_ACEOF
38159 /* end confdefs.h. */
38160 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38161 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38162 #define $ac_func innocuous_$ac_func
38163
38164 /* System header to define __stub macros and hopefully few prototypes,
38165 which can conflict with char $ac_func (); below.
38166 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38167 <limits.h> exists even on freestanding compilers. */
38168
38169 #ifdef __STDC__
38170 # include <limits.h>
38171 #else
38172 # include <assert.h>
38173 #endif
38174
38175 #undef $ac_func
38176
38177 /* Override any gcc2 internal prototype to avoid an error. */
38178 #ifdef __cplusplus
38179 extern "C"
38180 {
38181 #endif
38182 /* We use char because int might match the return type of a gcc2
38183 builtin and then its argument prototype would still apply. */
38184 char $ac_func ();
38185 /* The GNU C library defines this for functions which it implements
38186 to always fail with ENOSYS. Some functions are actually named
38187 something starting with __ and the normal name is an alias. */
38188 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38189 choke me
38190 #else
38191 char (*f) () = $ac_func;
38192 #endif
38193 #ifdef __cplusplus
38194 }
38195 #endif
38196
38197 int
38198 main ()
38199 {
38200 return f != $ac_func;
38201 ;
38202 return 0;
38203 }
38204 _ACEOF
38205 rm -f conftest.$ac_objext conftest$ac_exeext
38206 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38207 (eval $ac_link) 2>conftest.er1
38208 ac_status=$?
38209 grep -v '^ *+' conftest.er1 >conftest.err
38210 rm -f conftest.er1
38211 cat conftest.err >&5
38212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38213 (exit $ac_status); } &&
38214 { ac_try='test -z "$ac_c_werror_flag"
38215 || test ! -s conftest.err'
38216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38217 (eval $ac_try) 2>&5
38218 ac_status=$?
38219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38220 (exit $ac_status); }; } &&
38221 { ac_try='test -s conftest$ac_exeext'
38222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38223 (eval $ac_try) 2>&5
38224 ac_status=$?
38225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38226 (exit $ac_status); }; }; then
38227 eval "$as_ac_var=yes"
38228 else
38229 echo "$as_me: failed program was:" >&5
38230 sed 's/^/| /' conftest.$ac_ext >&5
38231
38232 eval "$as_ac_var=no"
38233 fi
38234 rm -f conftest.err conftest.$ac_objext \
38235 conftest$ac_exeext conftest.$ac_ext
38236 fi
38237 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38238 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38239 if test `eval echo '${'$as_ac_var'}'` = yes; then
38240 cat >>confdefs.h <<_ACEOF
38241 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38242 _ACEOF
38243
38244 fi
38245 done
38246
38247 fi
38248 fi
38249
38250
38251
38252
38253
38254
38255 echo "$as_me:$LINENO: checking for logf declaration" >&5
38256 echo $ECHO_N "checking for logf declaration... $ECHO_C" >&6
38257 if test x${glibcxx_cv_func_logf_use+set} != xset; then
38258 if test "${glibcxx_cv_func_logf_use+set}" = set; then
38259 echo $ECHO_N "(cached) $ECHO_C" >&6
38260 else
38261
38262
38263
38264 ac_ext=cc
38265 ac_cpp='$CXXCPP $CPPFLAGS'
38266 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38267 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38268 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38269
38270 cat >conftest.$ac_ext <<_ACEOF
38271 /* confdefs.h. */
38272 _ACEOF
38273 cat confdefs.h >>conftest.$ac_ext
38274 cat >>conftest.$ac_ext <<_ACEOF
38275 /* end confdefs.h. */
38276 #include <math.h>
38277 #ifdef HAVE_IEEEFP_H
38278 #include <ieeefp.h>
38279 #endif
38280
38281 int
38282 main ()
38283 {
38284 logf(0);
38285 ;
38286 return 0;
38287 }
38288 _ACEOF
38289 rm -f conftest.$ac_objext
38290 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38291 (eval $ac_compile) 2>conftest.er1
38292 ac_status=$?
38293 grep -v '^ *+' conftest.er1 >conftest.err
38294 rm -f conftest.er1
38295 cat conftest.err >&5
38296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38297 (exit $ac_status); } &&
38298 { ac_try='test -z "$ac_cxx_werror_flag"
38299 || test ! -s conftest.err'
38300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38301 (eval $ac_try) 2>&5
38302 ac_status=$?
38303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38304 (exit $ac_status); }; } &&
38305 { ac_try='test -s conftest.$ac_objext'
38306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38307 (eval $ac_try) 2>&5
38308 ac_status=$?
38309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38310 (exit $ac_status); }; }; then
38311 glibcxx_cv_func_logf_use=yes
38312 else
38313 echo "$as_me: failed program was:" >&5
38314 sed 's/^/| /' conftest.$ac_ext >&5
38315
38316 glibcxx_cv_func_logf_use=no
38317 fi
38318 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38319 ac_ext=c
38320 ac_cpp='$CPP $CPPFLAGS'
38321 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38322 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38323 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38324
38325
38326 fi
38327
38328 fi
38329 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logf_use" >&5
38330 echo "${ECHO_T}$glibcxx_cv_func_logf_use" >&6
38331
38332 if test x$glibcxx_cv_func_logf_use = x"yes"; then
38333
38334 for ac_func in logf
38335 do
38336 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38337 echo "$as_me:$LINENO: checking for $ac_func" >&5
38338 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38339 if eval "test \"\${$as_ac_var+set}\" = set"; then
38340 echo $ECHO_N "(cached) $ECHO_C" >&6
38341 else
38342 if test x$gcc_no_link = xyes; then
38343 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38344 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38345 { (exit 1); exit 1; }; }
38346 fi
38347 cat >conftest.$ac_ext <<_ACEOF
38348 /* confdefs.h. */
38349 _ACEOF
38350 cat confdefs.h >>conftest.$ac_ext
38351 cat >>conftest.$ac_ext <<_ACEOF
38352 /* end confdefs.h. */
38353 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38354 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38355 #define $ac_func innocuous_$ac_func
38356
38357 /* System header to define __stub macros and hopefully few prototypes,
38358 which can conflict with char $ac_func (); below.
38359 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38360 <limits.h> exists even on freestanding compilers. */
38361
38362 #ifdef __STDC__
38363 # include <limits.h>
38364 #else
38365 # include <assert.h>
38366 #endif
38367
38368 #undef $ac_func
38369
38370 /* Override any gcc2 internal prototype to avoid an error. */
38371 #ifdef __cplusplus
38372 extern "C"
38373 {
38374 #endif
38375 /* We use char because int might match the return type of a gcc2
38376 builtin and then its argument prototype would still apply. */
38377 char $ac_func ();
38378 /* The GNU C library defines this for functions which it implements
38379 to always fail with ENOSYS. Some functions are actually named
38380 something starting with __ and the normal name is an alias. */
38381 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38382 choke me
38383 #else
38384 char (*f) () = $ac_func;
38385 #endif
38386 #ifdef __cplusplus
38387 }
38388 #endif
38389
38390 int
38391 main ()
38392 {
38393 return f != $ac_func;
38394 ;
38395 return 0;
38396 }
38397 _ACEOF
38398 rm -f conftest.$ac_objext conftest$ac_exeext
38399 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38400 (eval $ac_link) 2>conftest.er1
38401 ac_status=$?
38402 grep -v '^ *+' conftest.er1 >conftest.err
38403 rm -f conftest.er1
38404 cat conftest.err >&5
38405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38406 (exit $ac_status); } &&
38407 { ac_try='test -z "$ac_c_werror_flag"
38408 || test ! -s conftest.err'
38409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38410 (eval $ac_try) 2>&5
38411 ac_status=$?
38412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38413 (exit $ac_status); }; } &&
38414 { ac_try='test -s conftest$ac_exeext'
38415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38416 (eval $ac_try) 2>&5
38417 ac_status=$?
38418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38419 (exit $ac_status); }; }; then
38420 eval "$as_ac_var=yes"
38421 else
38422 echo "$as_me: failed program was:" >&5
38423 sed 's/^/| /' conftest.$ac_ext >&5
38424
38425 eval "$as_ac_var=no"
38426 fi
38427 rm -f conftest.err conftest.$ac_objext \
38428 conftest$ac_exeext conftest.$ac_ext
38429 fi
38430 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38431 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38432 if test `eval echo '${'$as_ac_var'}'` = yes; then
38433 cat >>confdefs.h <<_ACEOF
38434 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38435 _ACEOF
38436
38437 fi
38438 done
38439
38440 else
38441
38442 echo "$as_me:$LINENO: checking for _logf declaration" >&5
38443 echo $ECHO_N "checking for _logf declaration... $ECHO_C" >&6
38444 if test x${glibcxx_cv_func__logf_use+set} != xset; then
38445 if test "${glibcxx_cv_func__logf_use+set}" = set; then
38446 echo $ECHO_N "(cached) $ECHO_C" >&6
38447 else
38448
38449
38450
38451 ac_ext=cc
38452 ac_cpp='$CXXCPP $CPPFLAGS'
38453 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38454 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38455 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38456
38457 cat >conftest.$ac_ext <<_ACEOF
38458 /* confdefs.h. */
38459 _ACEOF
38460 cat confdefs.h >>conftest.$ac_ext
38461 cat >>conftest.$ac_ext <<_ACEOF
38462 /* end confdefs.h. */
38463 #include <math.h>
38464 #ifdef HAVE_IEEEFP_H
38465 #include <ieeefp.h>
38466 #endif
38467
38468 int
38469 main ()
38470 {
38471 _logf(0);
38472 ;
38473 return 0;
38474 }
38475 _ACEOF
38476 rm -f conftest.$ac_objext
38477 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38478 (eval $ac_compile) 2>conftest.er1
38479 ac_status=$?
38480 grep -v '^ *+' conftest.er1 >conftest.err
38481 rm -f conftest.er1
38482 cat conftest.err >&5
38483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38484 (exit $ac_status); } &&
38485 { ac_try='test -z "$ac_cxx_werror_flag"
38486 || test ! -s conftest.err'
38487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38488 (eval $ac_try) 2>&5
38489 ac_status=$?
38490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38491 (exit $ac_status); }; } &&
38492 { ac_try='test -s conftest.$ac_objext'
38493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38494 (eval $ac_try) 2>&5
38495 ac_status=$?
38496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38497 (exit $ac_status); }; }; then
38498 glibcxx_cv_func__logf_use=yes
38499 else
38500 echo "$as_me: failed program was:" >&5
38501 sed 's/^/| /' conftest.$ac_ext >&5
38502
38503 glibcxx_cv_func__logf_use=no
38504 fi
38505 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38506 ac_ext=c
38507 ac_cpp='$CPP $CPPFLAGS'
38508 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38509 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38510 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38511
38512
38513 fi
38514
38515 fi
38516 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logf_use" >&5
38517 echo "${ECHO_T}$glibcxx_cv_func__logf_use" >&6
38518
38519 if test x$glibcxx_cv_func__logf_use = x"yes"; then
38520
38521 for ac_func in _logf
38522 do
38523 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38524 echo "$as_me:$LINENO: checking for $ac_func" >&5
38525 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38526 if eval "test \"\${$as_ac_var+set}\" = set"; then
38527 echo $ECHO_N "(cached) $ECHO_C" >&6
38528 else
38529 if test x$gcc_no_link = xyes; then
38530 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38531 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38532 { (exit 1); exit 1; }; }
38533 fi
38534 cat >conftest.$ac_ext <<_ACEOF
38535 /* confdefs.h. */
38536 _ACEOF
38537 cat confdefs.h >>conftest.$ac_ext
38538 cat >>conftest.$ac_ext <<_ACEOF
38539 /* end confdefs.h. */
38540 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38541 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38542 #define $ac_func innocuous_$ac_func
38543
38544 /* System header to define __stub macros and hopefully few prototypes,
38545 which can conflict with char $ac_func (); below.
38546 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38547 <limits.h> exists even on freestanding compilers. */
38548
38549 #ifdef __STDC__
38550 # include <limits.h>
38551 #else
38552 # include <assert.h>
38553 #endif
38554
38555 #undef $ac_func
38556
38557 /* Override any gcc2 internal prototype to avoid an error. */
38558 #ifdef __cplusplus
38559 extern "C"
38560 {
38561 #endif
38562 /* We use char because int might match the return type of a gcc2
38563 builtin and then its argument prototype would still apply. */
38564 char $ac_func ();
38565 /* The GNU C library defines this for functions which it implements
38566 to always fail with ENOSYS. Some functions are actually named
38567 something starting with __ and the normal name is an alias. */
38568 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38569 choke me
38570 #else
38571 char (*f) () = $ac_func;
38572 #endif
38573 #ifdef __cplusplus
38574 }
38575 #endif
38576
38577 int
38578 main ()
38579 {
38580 return f != $ac_func;
38581 ;
38582 return 0;
38583 }
38584 _ACEOF
38585 rm -f conftest.$ac_objext conftest$ac_exeext
38586 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38587 (eval $ac_link) 2>conftest.er1
38588 ac_status=$?
38589 grep -v '^ *+' conftest.er1 >conftest.err
38590 rm -f conftest.er1
38591 cat conftest.err >&5
38592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38593 (exit $ac_status); } &&
38594 { ac_try='test -z "$ac_c_werror_flag"
38595 || test ! -s conftest.err'
38596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38597 (eval $ac_try) 2>&5
38598 ac_status=$?
38599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38600 (exit $ac_status); }; } &&
38601 { ac_try='test -s conftest$ac_exeext'
38602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38603 (eval $ac_try) 2>&5
38604 ac_status=$?
38605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38606 (exit $ac_status); }; }; then
38607 eval "$as_ac_var=yes"
38608 else
38609 echo "$as_me: failed program was:" >&5
38610 sed 's/^/| /' conftest.$ac_ext >&5
38611
38612 eval "$as_ac_var=no"
38613 fi
38614 rm -f conftest.err conftest.$ac_objext \
38615 conftest$ac_exeext conftest.$ac_ext
38616 fi
38617 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38618 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38619 if test `eval echo '${'$as_ac_var'}'` = yes; then
38620 cat >>confdefs.h <<_ACEOF
38621 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38622 _ACEOF
38623
38624 fi
38625 done
38626
38627 fi
38628 fi
38629
38630
38631
38632
38633
38634
38635 echo "$as_me:$LINENO: checking for log10f declaration" >&5
38636 echo $ECHO_N "checking for log10f declaration... $ECHO_C" >&6
38637 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
38638 if test "${glibcxx_cv_func_log10f_use+set}" = set; then
38639 echo $ECHO_N "(cached) $ECHO_C" >&6
38640 else
38641
38642
38643
38644 ac_ext=cc
38645 ac_cpp='$CXXCPP $CPPFLAGS'
38646 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38647 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38648 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38649
38650 cat >conftest.$ac_ext <<_ACEOF
38651 /* confdefs.h. */
38652 _ACEOF
38653 cat confdefs.h >>conftest.$ac_ext
38654 cat >>conftest.$ac_ext <<_ACEOF
38655 /* end confdefs.h. */
38656 #include <math.h>
38657 #ifdef HAVE_IEEEFP_H
38658 #include <ieeefp.h>
38659 #endif
38660
38661 int
38662 main ()
38663 {
38664 log10f(0);
38665 ;
38666 return 0;
38667 }
38668 _ACEOF
38669 rm -f conftest.$ac_objext
38670 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38671 (eval $ac_compile) 2>conftest.er1
38672 ac_status=$?
38673 grep -v '^ *+' conftest.er1 >conftest.err
38674 rm -f conftest.er1
38675 cat conftest.err >&5
38676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38677 (exit $ac_status); } &&
38678 { ac_try='test -z "$ac_cxx_werror_flag"
38679 || test ! -s conftest.err'
38680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38681 (eval $ac_try) 2>&5
38682 ac_status=$?
38683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38684 (exit $ac_status); }; } &&
38685 { ac_try='test -s conftest.$ac_objext'
38686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38687 (eval $ac_try) 2>&5
38688 ac_status=$?
38689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38690 (exit $ac_status); }; }; then
38691 glibcxx_cv_func_log10f_use=yes
38692 else
38693 echo "$as_me: failed program was:" >&5
38694 sed 's/^/| /' conftest.$ac_ext >&5
38695
38696 glibcxx_cv_func_log10f_use=no
38697 fi
38698 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38699 ac_ext=c
38700 ac_cpp='$CPP $CPPFLAGS'
38701 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38702 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38703 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38704
38705
38706 fi
38707
38708 fi
38709 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10f_use" >&5
38710 echo "${ECHO_T}$glibcxx_cv_func_log10f_use" >&6
38711
38712 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
38713
38714 for ac_func in log10f
38715 do
38716 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38717 echo "$as_me:$LINENO: checking for $ac_func" >&5
38718 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38719 if eval "test \"\${$as_ac_var+set}\" = set"; then
38720 echo $ECHO_N "(cached) $ECHO_C" >&6
38721 else
38722 if test x$gcc_no_link = xyes; then
38723 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38724 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38725 { (exit 1); exit 1; }; }
38726 fi
38727 cat >conftest.$ac_ext <<_ACEOF
38728 /* confdefs.h. */
38729 _ACEOF
38730 cat confdefs.h >>conftest.$ac_ext
38731 cat >>conftest.$ac_ext <<_ACEOF
38732 /* end confdefs.h. */
38733 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38734 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38735 #define $ac_func innocuous_$ac_func
38736
38737 /* System header to define __stub macros and hopefully few prototypes,
38738 which can conflict with char $ac_func (); below.
38739 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38740 <limits.h> exists even on freestanding compilers. */
38741
38742 #ifdef __STDC__
38743 # include <limits.h>
38744 #else
38745 # include <assert.h>
38746 #endif
38747
38748 #undef $ac_func
38749
38750 /* Override any gcc2 internal prototype to avoid an error. */
38751 #ifdef __cplusplus
38752 extern "C"
38753 {
38754 #endif
38755 /* We use char because int might match the return type of a gcc2
38756 builtin and then its argument prototype would still apply. */
38757 char $ac_func ();
38758 /* The GNU C library defines this for functions which it implements
38759 to always fail with ENOSYS. Some functions are actually named
38760 something starting with __ and the normal name is an alias. */
38761 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38762 choke me
38763 #else
38764 char (*f) () = $ac_func;
38765 #endif
38766 #ifdef __cplusplus
38767 }
38768 #endif
38769
38770 int
38771 main ()
38772 {
38773 return f != $ac_func;
38774 ;
38775 return 0;
38776 }
38777 _ACEOF
38778 rm -f conftest.$ac_objext conftest$ac_exeext
38779 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38780 (eval $ac_link) 2>conftest.er1
38781 ac_status=$?
38782 grep -v '^ *+' conftest.er1 >conftest.err
38783 rm -f conftest.er1
38784 cat conftest.err >&5
38785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38786 (exit $ac_status); } &&
38787 { ac_try='test -z "$ac_c_werror_flag"
38788 || test ! -s conftest.err'
38789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38790 (eval $ac_try) 2>&5
38791 ac_status=$?
38792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38793 (exit $ac_status); }; } &&
38794 { ac_try='test -s conftest$ac_exeext'
38795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38796 (eval $ac_try) 2>&5
38797 ac_status=$?
38798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38799 (exit $ac_status); }; }; then
38800 eval "$as_ac_var=yes"
38801 else
38802 echo "$as_me: failed program was:" >&5
38803 sed 's/^/| /' conftest.$ac_ext >&5
38804
38805 eval "$as_ac_var=no"
38806 fi
38807 rm -f conftest.err conftest.$ac_objext \
38808 conftest$ac_exeext conftest.$ac_ext
38809 fi
38810 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38811 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38812 if test `eval echo '${'$as_ac_var'}'` = yes; then
38813 cat >>confdefs.h <<_ACEOF
38814 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38815 _ACEOF
38816
38817 fi
38818 done
38819
38820 else
38821
38822 echo "$as_me:$LINENO: checking for _log10f declaration" >&5
38823 echo $ECHO_N "checking for _log10f declaration... $ECHO_C" >&6
38824 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
38825 if test "${glibcxx_cv_func__log10f_use+set}" = set; then
38826 echo $ECHO_N "(cached) $ECHO_C" >&6
38827 else
38828
38829
38830
38831 ac_ext=cc
38832 ac_cpp='$CXXCPP $CPPFLAGS'
38833 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38834 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38835 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38836
38837 cat >conftest.$ac_ext <<_ACEOF
38838 /* confdefs.h. */
38839 _ACEOF
38840 cat confdefs.h >>conftest.$ac_ext
38841 cat >>conftest.$ac_ext <<_ACEOF
38842 /* end confdefs.h. */
38843 #include <math.h>
38844 #ifdef HAVE_IEEEFP_H
38845 #include <ieeefp.h>
38846 #endif
38847
38848 int
38849 main ()
38850 {
38851 _log10f(0);
38852 ;
38853 return 0;
38854 }
38855 _ACEOF
38856 rm -f conftest.$ac_objext
38857 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38858 (eval $ac_compile) 2>conftest.er1
38859 ac_status=$?
38860 grep -v '^ *+' conftest.er1 >conftest.err
38861 rm -f conftest.er1
38862 cat conftest.err >&5
38863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38864 (exit $ac_status); } &&
38865 { ac_try='test -z "$ac_cxx_werror_flag"
38866 || test ! -s conftest.err'
38867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38868 (eval $ac_try) 2>&5
38869 ac_status=$?
38870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38871 (exit $ac_status); }; } &&
38872 { ac_try='test -s conftest.$ac_objext'
38873 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38874 (eval $ac_try) 2>&5
38875 ac_status=$?
38876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38877 (exit $ac_status); }; }; then
38878 glibcxx_cv_func__log10f_use=yes
38879 else
38880 echo "$as_me: failed program was:" >&5
38881 sed 's/^/| /' conftest.$ac_ext >&5
38882
38883 glibcxx_cv_func__log10f_use=no
38884 fi
38885 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38886 ac_ext=c
38887 ac_cpp='$CPP $CPPFLAGS'
38888 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38889 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38890 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38891
38892
38893 fi
38894
38895 fi
38896 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10f_use" >&5
38897 echo "${ECHO_T}$glibcxx_cv_func__log10f_use" >&6
38898
38899 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
38900
38901 for ac_func in _log10f
38902 do
38903 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38904 echo "$as_me:$LINENO: checking for $ac_func" >&5
38905 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38906 if eval "test \"\${$as_ac_var+set}\" = set"; then
38907 echo $ECHO_N "(cached) $ECHO_C" >&6
38908 else
38909 if test x$gcc_no_link = xyes; then
38910 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38911 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38912 { (exit 1); exit 1; }; }
38913 fi
38914 cat >conftest.$ac_ext <<_ACEOF
38915 /* confdefs.h. */
38916 _ACEOF
38917 cat confdefs.h >>conftest.$ac_ext
38918 cat >>conftest.$ac_ext <<_ACEOF
38919 /* end confdefs.h. */
38920 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38921 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38922 #define $ac_func innocuous_$ac_func
38923
38924 /* System header to define __stub macros and hopefully few prototypes,
38925 which can conflict with char $ac_func (); below.
38926 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38927 <limits.h> exists even on freestanding compilers. */
38928
38929 #ifdef __STDC__
38930 # include <limits.h>
38931 #else
38932 # include <assert.h>
38933 #endif
38934
38935 #undef $ac_func
38936
38937 /* Override any gcc2 internal prototype to avoid an error. */
38938 #ifdef __cplusplus
38939 extern "C"
38940 {
38941 #endif
38942 /* We use char because int might match the return type of a gcc2
38943 builtin and then its argument prototype would still apply. */
38944 char $ac_func ();
38945 /* The GNU C library defines this for functions which it implements
38946 to always fail with ENOSYS. Some functions are actually named
38947 something starting with __ and the normal name is an alias. */
38948 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38949 choke me
38950 #else
38951 char (*f) () = $ac_func;
38952 #endif
38953 #ifdef __cplusplus
38954 }
38955 #endif
38956
38957 int
38958 main ()
38959 {
38960 return f != $ac_func;
38961 ;
38962 return 0;
38963 }
38964 _ACEOF
38965 rm -f conftest.$ac_objext conftest$ac_exeext
38966 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38967 (eval $ac_link) 2>conftest.er1
38968 ac_status=$?
38969 grep -v '^ *+' conftest.er1 >conftest.err
38970 rm -f conftest.er1
38971 cat conftest.err >&5
38972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38973 (exit $ac_status); } &&
38974 { ac_try='test -z "$ac_c_werror_flag"
38975 || test ! -s conftest.err'
38976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38977 (eval $ac_try) 2>&5
38978 ac_status=$?
38979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38980 (exit $ac_status); }; } &&
38981 { ac_try='test -s conftest$ac_exeext'
38982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38983 (eval $ac_try) 2>&5
38984 ac_status=$?
38985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38986 (exit $ac_status); }; }; then
38987 eval "$as_ac_var=yes"
38988 else
38989 echo "$as_me: failed program was:" >&5
38990 sed 's/^/| /' conftest.$ac_ext >&5
38991
38992 eval "$as_ac_var=no"
38993 fi
38994 rm -f conftest.err conftest.$ac_objext \
38995 conftest$ac_exeext conftest.$ac_ext
38996 fi
38997 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38998 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38999 if test `eval echo '${'$as_ac_var'}'` = yes; then
39000 cat >>confdefs.h <<_ACEOF
39001 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39002 _ACEOF
39003
39004 fi
39005 done
39006
39007 fi
39008 fi
39009
39010
39011
39012
39013
39014
39015 echo "$as_me:$LINENO: checking for modff declaration" >&5
39016 echo $ECHO_N "checking for modff declaration... $ECHO_C" >&6
39017 if test x${glibcxx_cv_func_modff_use+set} != xset; then
39018 if test "${glibcxx_cv_func_modff_use+set}" = set; then
39019 echo $ECHO_N "(cached) $ECHO_C" >&6
39020 else
39021
39022
39023
39024 ac_ext=cc
39025 ac_cpp='$CXXCPP $CPPFLAGS'
39026 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39027 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39028 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39029
39030 cat >conftest.$ac_ext <<_ACEOF
39031 /* confdefs.h. */
39032 _ACEOF
39033 cat confdefs.h >>conftest.$ac_ext
39034 cat >>conftest.$ac_ext <<_ACEOF
39035 /* end confdefs.h. */
39036 #include <math.h>
39037 int
39038 main ()
39039 {
39040 modff(0, 0);
39041 ;
39042 return 0;
39043 }
39044 _ACEOF
39045 rm -f conftest.$ac_objext
39046 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39047 (eval $ac_compile) 2>conftest.er1
39048 ac_status=$?
39049 grep -v '^ *+' conftest.er1 >conftest.err
39050 rm -f conftest.er1
39051 cat conftest.err >&5
39052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39053 (exit $ac_status); } &&
39054 { ac_try='test -z "$ac_cxx_werror_flag"
39055 || test ! -s conftest.err'
39056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39057 (eval $ac_try) 2>&5
39058 ac_status=$?
39059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39060 (exit $ac_status); }; } &&
39061 { ac_try='test -s conftest.$ac_objext'
39062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39063 (eval $ac_try) 2>&5
39064 ac_status=$?
39065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39066 (exit $ac_status); }; }; then
39067 glibcxx_cv_func_modff_use=yes
39068 else
39069 echo "$as_me: failed program was:" >&5
39070 sed 's/^/| /' conftest.$ac_ext >&5
39071
39072 glibcxx_cv_func_modff_use=no
39073 fi
39074 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39075 ac_ext=c
39076 ac_cpp='$CPP $CPPFLAGS'
39077 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39078 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39079 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39080
39081
39082 fi
39083
39084 fi
39085 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modff_use" >&5
39086 echo "${ECHO_T}$glibcxx_cv_func_modff_use" >&6
39087
39088 if test x$glibcxx_cv_func_modff_use = x"yes"; then
39089
39090 for ac_func in modff
39091 do
39092 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39093 echo "$as_me:$LINENO: checking for $ac_func" >&5
39094 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39095 if eval "test \"\${$as_ac_var+set}\" = set"; then
39096 echo $ECHO_N "(cached) $ECHO_C" >&6
39097 else
39098 if test x$gcc_no_link = xyes; then
39099 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39100 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39101 { (exit 1); exit 1; }; }
39102 fi
39103 cat >conftest.$ac_ext <<_ACEOF
39104 /* confdefs.h. */
39105 _ACEOF
39106 cat confdefs.h >>conftest.$ac_ext
39107 cat >>conftest.$ac_ext <<_ACEOF
39108 /* end confdefs.h. */
39109 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39110 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39111 #define $ac_func innocuous_$ac_func
39112
39113 /* System header to define __stub macros and hopefully few prototypes,
39114 which can conflict with char $ac_func (); below.
39115 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39116 <limits.h> exists even on freestanding compilers. */
39117
39118 #ifdef __STDC__
39119 # include <limits.h>
39120 #else
39121 # include <assert.h>
39122 #endif
39123
39124 #undef $ac_func
39125
39126 /* Override any gcc2 internal prototype to avoid an error. */
39127 #ifdef __cplusplus
39128 extern "C"
39129 {
39130 #endif
39131 /* We use char because int might match the return type of a gcc2
39132 builtin and then its argument prototype would still apply. */
39133 char $ac_func ();
39134 /* The GNU C library defines this for functions which it implements
39135 to always fail with ENOSYS. Some functions are actually named
39136 something starting with __ and the normal name is an alias. */
39137 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39138 choke me
39139 #else
39140 char (*f) () = $ac_func;
39141 #endif
39142 #ifdef __cplusplus
39143 }
39144 #endif
39145
39146 int
39147 main ()
39148 {
39149 return f != $ac_func;
39150 ;
39151 return 0;
39152 }
39153 _ACEOF
39154 rm -f conftest.$ac_objext conftest$ac_exeext
39155 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39156 (eval $ac_link) 2>conftest.er1
39157 ac_status=$?
39158 grep -v '^ *+' conftest.er1 >conftest.err
39159 rm -f conftest.er1
39160 cat conftest.err >&5
39161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39162 (exit $ac_status); } &&
39163 { ac_try='test -z "$ac_c_werror_flag"
39164 || test ! -s conftest.err'
39165 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39166 (eval $ac_try) 2>&5
39167 ac_status=$?
39168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39169 (exit $ac_status); }; } &&
39170 { ac_try='test -s conftest$ac_exeext'
39171 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39172 (eval $ac_try) 2>&5
39173 ac_status=$?
39174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39175 (exit $ac_status); }; }; then
39176 eval "$as_ac_var=yes"
39177 else
39178 echo "$as_me: failed program was:" >&5
39179 sed 's/^/| /' conftest.$ac_ext >&5
39180
39181 eval "$as_ac_var=no"
39182 fi
39183 rm -f conftest.err conftest.$ac_objext \
39184 conftest$ac_exeext conftest.$ac_ext
39185 fi
39186 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39187 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39188 if test `eval echo '${'$as_ac_var'}'` = yes; then
39189 cat >>confdefs.h <<_ACEOF
39190 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39191 _ACEOF
39192
39193 fi
39194 done
39195
39196 else
39197
39198 echo "$as_me:$LINENO: checking for _modff declaration" >&5
39199 echo $ECHO_N "checking for _modff declaration... $ECHO_C" >&6
39200 if test x${glibcxx_cv_func__modff_use+set} != xset; then
39201 if test "${glibcxx_cv_func__modff_use+set}" = set; then
39202 echo $ECHO_N "(cached) $ECHO_C" >&6
39203 else
39204
39205
39206
39207 ac_ext=cc
39208 ac_cpp='$CXXCPP $CPPFLAGS'
39209 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39210 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39211 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39212
39213 cat >conftest.$ac_ext <<_ACEOF
39214 /* confdefs.h. */
39215 _ACEOF
39216 cat confdefs.h >>conftest.$ac_ext
39217 cat >>conftest.$ac_ext <<_ACEOF
39218 /* end confdefs.h. */
39219 #include <math.h>
39220 int
39221 main ()
39222 {
39223 _modff(0, 0);
39224 ;
39225 return 0;
39226 }
39227 _ACEOF
39228 rm -f conftest.$ac_objext
39229 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39230 (eval $ac_compile) 2>conftest.er1
39231 ac_status=$?
39232 grep -v '^ *+' conftest.er1 >conftest.err
39233 rm -f conftest.er1
39234 cat conftest.err >&5
39235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39236 (exit $ac_status); } &&
39237 { ac_try='test -z "$ac_cxx_werror_flag"
39238 || test ! -s conftest.err'
39239 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39240 (eval $ac_try) 2>&5
39241 ac_status=$?
39242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39243 (exit $ac_status); }; } &&
39244 { ac_try='test -s conftest.$ac_objext'
39245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39246 (eval $ac_try) 2>&5
39247 ac_status=$?
39248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39249 (exit $ac_status); }; }; then
39250 glibcxx_cv_func__modff_use=yes
39251 else
39252 echo "$as_me: failed program was:" >&5
39253 sed 's/^/| /' conftest.$ac_ext >&5
39254
39255 glibcxx_cv_func__modff_use=no
39256 fi
39257 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39258 ac_ext=c
39259 ac_cpp='$CPP $CPPFLAGS'
39260 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39261 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39262 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39263
39264
39265 fi
39266
39267 fi
39268 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modff_use" >&5
39269 echo "${ECHO_T}$glibcxx_cv_func__modff_use" >&6
39270
39271 if test x$glibcxx_cv_func__modff_use = x"yes"; then
39272
39273 for ac_func in _modff
39274 do
39275 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39276 echo "$as_me:$LINENO: checking for $ac_func" >&5
39277 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39278 if eval "test \"\${$as_ac_var+set}\" = set"; then
39279 echo $ECHO_N "(cached) $ECHO_C" >&6
39280 else
39281 if test x$gcc_no_link = xyes; then
39282 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39283 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39284 { (exit 1); exit 1; }; }
39285 fi
39286 cat >conftest.$ac_ext <<_ACEOF
39287 /* confdefs.h. */
39288 _ACEOF
39289 cat confdefs.h >>conftest.$ac_ext
39290 cat >>conftest.$ac_ext <<_ACEOF
39291 /* end confdefs.h. */
39292 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39293 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39294 #define $ac_func innocuous_$ac_func
39295
39296 /* System header to define __stub macros and hopefully few prototypes,
39297 which can conflict with char $ac_func (); below.
39298 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39299 <limits.h> exists even on freestanding compilers. */
39300
39301 #ifdef __STDC__
39302 # include <limits.h>
39303 #else
39304 # include <assert.h>
39305 #endif
39306
39307 #undef $ac_func
39308
39309 /* Override any gcc2 internal prototype to avoid an error. */
39310 #ifdef __cplusplus
39311 extern "C"
39312 {
39313 #endif
39314 /* We use char because int might match the return type of a gcc2
39315 builtin and then its argument prototype would still apply. */
39316 char $ac_func ();
39317 /* The GNU C library defines this for functions which it implements
39318 to always fail with ENOSYS. Some functions are actually named
39319 something starting with __ and the normal name is an alias. */
39320 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39321 choke me
39322 #else
39323 char (*f) () = $ac_func;
39324 #endif
39325 #ifdef __cplusplus
39326 }
39327 #endif
39328
39329 int
39330 main ()
39331 {
39332 return f != $ac_func;
39333 ;
39334 return 0;
39335 }
39336 _ACEOF
39337 rm -f conftest.$ac_objext conftest$ac_exeext
39338 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39339 (eval $ac_link) 2>conftest.er1
39340 ac_status=$?
39341 grep -v '^ *+' conftest.er1 >conftest.err
39342 rm -f conftest.er1
39343 cat conftest.err >&5
39344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39345 (exit $ac_status); } &&
39346 { ac_try='test -z "$ac_c_werror_flag"
39347 || test ! -s conftest.err'
39348 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39349 (eval $ac_try) 2>&5
39350 ac_status=$?
39351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39352 (exit $ac_status); }; } &&
39353 { ac_try='test -s conftest$ac_exeext'
39354 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39355 (eval $ac_try) 2>&5
39356 ac_status=$?
39357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39358 (exit $ac_status); }; }; then
39359 eval "$as_ac_var=yes"
39360 else
39361 echo "$as_me: failed program was:" >&5
39362 sed 's/^/| /' conftest.$ac_ext >&5
39363
39364 eval "$as_ac_var=no"
39365 fi
39366 rm -f conftest.err conftest.$ac_objext \
39367 conftest$ac_exeext conftest.$ac_ext
39368 fi
39369 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39370 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39371 if test `eval echo '${'$as_ac_var'}'` = yes; then
39372 cat >>confdefs.h <<_ACEOF
39373 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39374 _ACEOF
39375
39376 fi
39377 done
39378
39379 fi
39380 fi
39381
39382
39383
39384
39385
39386
39387 echo "$as_me:$LINENO: checking for modf declaration" >&5
39388 echo $ECHO_N "checking for modf declaration... $ECHO_C" >&6
39389 if test x${glibcxx_cv_func_modf_use+set} != xset; then
39390 if test "${glibcxx_cv_func_modf_use+set}" = set; then
39391 echo $ECHO_N "(cached) $ECHO_C" >&6
39392 else
39393
39394
39395
39396 ac_ext=cc
39397 ac_cpp='$CXXCPP $CPPFLAGS'
39398 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39399 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39400 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39401
39402 cat >conftest.$ac_ext <<_ACEOF
39403 /* confdefs.h. */
39404 _ACEOF
39405 cat confdefs.h >>conftest.$ac_ext
39406 cat >>conftest.$ac_ext <<_ACEOF
39407 /* end confdefs.h. */
39408 #include <math.h>
39409 int
39410 main ()
39411 {
39412 modf(0, 0);
39413 ;
39414 return 0;
39415 }
39416 _ACEOF
39417 rm -f conftest.$ac_objext
39418 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39419 (eval $ac_compile) 2>conftest.er1
39420 ac_status=$?
39421 grep -v '^ *+' conftest.er1 >conftest.err
39422 rm -f conftest.er1
39423 cat conftest.err >&5
39424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39425 (exit $ac_status); } &&
39426 { ac_try='test -z "$ac_cxx_werror_flag"
39427 || test ! -s conftest.err'
39428 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39429 (eval $ac_try) 2>&5
39430 ac_status=$?
39431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39432 (exit $ac_status); }; } &&
39433 { ac_try='test -s conftest.$ac_objext'
39434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39435 (eval $ac_try) 2>&5
39436 ac_status=$?
39437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39438 (exit $ac_status); }; }; then
39439 glibcxx_cv_func_modf_use=yes
39440 else
39441 echo "$as_me: failed program was:" >&5
39442 sed 's/^/| /' conftest.$ac_ext >&5
39443
39444 glibcxx_cv_func_modf_use=no
39445 fi
39446 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39447 ac_ext=c
39448 ac_cpp='$CPP $CPPFLAGS'
39449 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39450 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39451 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39452
39453
39454 fi
39455
39456 fi
39457 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modf_use" >&5
39458 echo "${ECHO_T}$glibcxx_cv_func_modf_use" >&6
39459
39460 if test x$glibcxx_cv_func_modf_use = x"yes"; then
39461
39462 for ac_func in modf
39463 do
39464 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39465 echo "$as_me:$LINENO: checking for $ac_func" >&5
39466 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39467 if eval "test \"\${$as_ac_var+set}\" = set"; then
39468 echo $ECHO_N "(cached) $ECHO_C" >&6
39469 else
39470 if test x$gcc_no_link = xyes; then
39471 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39472 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39473 { (exit 1); exit 1; }; }
39474 fi
39475 cat >conftest.$ac_ext <<_ACEOF
39476 /* confdefs.h. */
39477 _ACEOF
39478 cat confdefs.h >>conftest.$ac_ext
39479 cat >>conftest.$ac_ext <<_ACEOF
39480 /* end confdefs.h. */
39481 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39482 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39483 #define $ac_func innocuous_$ac_func
39484
39485 /* System header to define __stub macros and hopefully few prototypes,
39486 which can conflict with char $ac_func (); below.
39487 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39488 <limits.h> exists even on freestanding compilers. */
39489
39490 #ifdef __STDC__
39491 # include <limits.h>
39492 #else
39493 # include <assert.h>
39494 #endif
39495
39496 #undef $ac_func
39497
39498 /* Override any gcc2 internal prototype to avoid an error. */
39499 #ifdef __cplusplus
39500 extern "C"
39501 {
39502 #endif
39503 /* We use char because int might match the return type of a gcc2
39504 builtin and then its argument prototype would still apply. */
39505 char $ac_func ();
39506 /* The GNU C library defines this for functions which it implements
39507 to always fail with ENOSYS. Some functions are actually named
39508 something starting with __ and the normal name is an alias. */
39509 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39510 choke me
39511 #else
39512 char (*f) () = $ac_func;
39513 #endif
39514 #ifdef __cplusplus
39515 }
39516 #endif
39517
39518 int
39519 main ()
39520 {
39521 return f != $ac_func;
39522 ;
39523 return 0;
39524 }
39525 _ACEOF
39526 rm -f conftest.$ac_objext conftest$ac_exeext
39527 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39528 (eval $ac_link) 2>conftest.er1
39529 ac_status=$?
39530 grep -v '^ *+' conftest.er1 >conftest.err
39531 rm -f conftest.er1
39532 cat conftest.err >&5
39533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39534 (exit $ac_status); } &&
39535 { ac_try='test -z "$ac_c_werror_flag"
39536 || test ! -s conftest.err'
39537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39538 (eval $ac_try) 2>&5
39539 ac_status=$?
39540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39541 (exit $ac_status); }; } &&
39542 { ac_try='test -s conftest$ac_exeext'
39543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39544 (eval $ac_try) 2>&5
39545 ac_status=$?
39546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39547 (exit $ac_status); }; }; then
39548 eval "$as_ac_var=yes"
39549 else
39550 echo "$as_me: failed program was:" >&5
39551 sed 's/^/| /' conftest.$ac_ext >&5
39552
39553 eval "$as_ac_var=no"
39554 fi
39555 rm -f conftest.err conftest.$ac_objext \
39556 conftest$ac_exeext conftest.$ac_ext
39557 fi
39558 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39559 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39560 if test `eval echo '${'$as_ac_var'}'` = yes; then
39561 cat >>confdefs.h <<_ACEOF
39562 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39563 _ACEOF
39564
39565 fi
39566 done
39567
39568 else
39569
39570 echo "$as_me:$LINENO: checking for _modf declaration" >&5
39571 echo $ECHO_N "checking for _modf declaration... $ECHO_C" >&6
39572 if test x${glibcxx_cv_func__modf_use+set} != xset; then
39573 if test "${glibcxx_cv_func__modf_use+set}" = set; then
39574 echo $ECHO_N "(cached) $ECHO_C" >&6
39575 else
39576
39577
39578
39579 ac_ext=cc
39580 ac_cpp='$CXXCPP $CPPFLAGS'
39581 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39582 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39583 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39584
39585 cat >conftest.$ac_ext <<_ACEOF
39586 /* confdefs.h. */
39587 _ACEOF
39588 cat confdefs.h >>conftest.$ac_ext
39589 cat >>conftest.$ac_ext <<_ACEOF
39590 /* end confdefs.h. */
39591 #include <math.h>
39592 int
39593 main ()
39594 {
39595 _modf(0, 0);
39596 ;
39597 return 0;
39598 }
39599 _ACEOF
39600 rm -f conftest.$ac_objext
39601 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39602 (eval $ac_compile) 2>conftest.er1
39603 ac_status=$?
39604 grep -v '^ *+' conftest.er1 >conftest.err
39605 rm -f conftest.er1
39606 cat conftest.err >&5
39607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39608 (exit $ac_status); } &&
39609 { ac_try='test -z "$ac_cxx_werror_flag"
39610 || test ! -s conftest.err'
39611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39612 (eval $ac_try) 2>&5
39613 ac_status=$?
39614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39615 (exit $ac_status); }; } &&
39616 { ac_try='test -s conftest.$ac_objext'
39617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39618 (eval $ac_try) 2>&5
39619 ac_status=$?
39620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39621 (exit $ac_status); }; }; then
39622 glibcxx_cv_func__modf_use=yes
39623 else
39624 echo "$as_me: failed program was:" >&5
39625 sed 's/^/| /' conftest.$ac_ext >&5
39626
39627 glibcxx_cv_func__modf_use=no
39628 fi
39629 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39630 ac_ext=c
39631 ac_cpp='$CPP $CPPFLAGS'
39632 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39633 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39634 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39635
39636
39637 fi
39638
39639 fi
39640 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modf_use" >&5
39641 echo "${ECHO_T}$glibcxx_cv_func__modf_use" >&6
39642
39643 if test x$glibcxx_cv_func__modf_use = x"yes"; then
39644
39645 for ac_func in _modf
39646 do
39647 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39648 echo "$as_me:$LINENO: checking for $ac_func" >&5
39649 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39650 if eval "test \"\${$as_ac_var+set}\" = set"; then
39651 echo $ECHO_N "(cached) $ECHO_C" >&6
39652 else
39653 if test x$gcc_no_link = xyes; then
39654 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39655 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39656 { (exit 1); exit 1; }; }
39657 fi
39658 cat >conftest.$ac_ext <<_ACEOF
39659 /* confdefs.h. */
39660 _ACEOF
39661 cat confdefs.h >>conftest.$ac_ext
39662 cat >>conftest.$ac_ext <<_ACEOF
39663 /* end confdefs.h. */
39664 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39665 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39666 #define $ac_func innocuous_$ac_func
39667
39668 /* System header to define __stub macros and hopefully few prototypes,
39669 which can conflict with char $ac_func (); below.
39670 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39671 <limits.h> exists even on freestanding compilers. */
39672
39673 #ifdef __STDC__
39674 # include <limits.h>
39675 #else
39676 # include <assert.h>
39677 #endif
39678
39679 #undef $ac_func
39680
39681 /* Override any gcc2 internal prototype to avoid an error. */
39682 #ifdef __cplusplus
39683 extern "C"
39684 {
39685 #endif
39686 /* We use char because int might match the return type of a gcc2
39687 builtin and then its argument prototype would still apply. */
39688 char $ac_func ();
39689 /* The GNU C library defines this for functions which it implements
39690 to always fail with ENOSYS. Some functions are actually named
39691 something starting with __ and the normal name is an alias. */
39692 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39693 choke me
39694 #else
39695 char (*f) () = $ac_func;
39696 #endif
39697 #ifdef __cplusplus
39698 }
39699 #endif
39700
39701 int
39702 main ()
39703 {
39704 return f != $ac_func;
39705 ;
39706 return 0;
39707 }
39708 _ACEOF
39709 rm -f conftest.$ac_objext conftest$ac_exeext
39710 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39711 (eval $ac_link) 2>conftest.er1
39712 ac_status=$?
39713 grep -v '^ *+' conftest.er1 >conftest.err
39714 rm -f conftest.er1
39715 cat conftest.err >&5
39716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39717 (exit $ac_status); } &&
39718 { ac_try='test -z "$ac_c_werror_flag"
39719 || test ! -s conftest.err'
39720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39721 (eval $ac_try) 2>&5
39722 ac_status=$?
39723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39724 (exit $ac_status); }; } &&
39725 { ac_try='test -s conftest$ac_exeext'
39726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39727 (eval $ac_try) 2>&5
39728 ac_status=$?
39729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39730 (exit $ac_status); }; }; then
39731 eval "$as_ac_var=yes"
39732 else
39733 echo "$as_me: failed program was:" >&5
39734 sed 's/^/| /' conftest.$ac_ext >&5
39735
39736 eval "$as_ac_var=no"
39737 fi
39738 rm -f conftest.err conftest.$ac_objext \
39739 conftest$ac_exeext conftest.$ac_ext
39740 fi
39741 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39742 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39743 if test `eval echo '${'$as_ac_var'}'` = yes; then
39744 cat >>confdefs.h <<_ACEOF
39745 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39746 _ACEOF
39747
39748 fi
39749 done
39750
39751 fi
39752 fi
39753
39754
39755
39756
39757
39758
39759 echo "$as_me:$LINENO: checking for powf declaration" >&5
39760 echo $ECHO_N "checking for powf declaration... $ECHO_C" >&6
39761 if test x${glibcxx_cv_func_powf_use+set} != xset; then
39762 if test "${glibcxx_cv_func_powf_use+set}" = set; then
39763 echo $ECHO_N "(cached) $ECHO_C" >&6
39764 else
39765
39766
39767
39768 ac_ext=cc
39769 ac_cpp='$CXXCPP $CPPFLAGS'
39770 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39771 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39772 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39773
39774 cat >conftest.$ac_ext <<_ACEOF
39775 /* confdefs.h. */
39776 _ACEOF
39777 cat confdefs.h >>conftest.$ac_ext
39778 cat >>conftest.$ac_ext <<_ACEOF
39779 /* end confdefs.h. */
39780 #include <math.h>
39781 int
39782 main ()
39783 {
39784 powf(0, 0);
39785 ;
39786 return 0;
39787 }
39788 _ACEOF
39789 rm -f conftest.$ac_objext
39790 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39791 (eval $ac_compile) 2>conftest.er1
39792 ac_status=$?
39793 grep -v '^ *+' conftest.er1 >conftest.err
39794 rm -f conftest.er1
39795 cat conftest.err >&5
39796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39797 (exit $ac_status); } &&
39798 { ac_try='test -z "$ac_cxx_werror_flag"
39799 || test ! -s conftest.err'
39800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39801 (eval $ac_try) 2>&5
39802 ac_status=$?
39803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39804 (exit $ac_status); }; } &&
39805 { ac_try='test -s conftest.$ac_objext'
39806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39807 (eval $ac_try) 2>&5
39808 ac_status=$?
39809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39810 (exit $ac_status); }; }; then
39811 glibcxx_cv_func_powf_use=yes
39812 else
39813 echo "$as_me: failed program was:" >&5
39814 sed 's/^/| /' conftest.$ac_ext >&5
39815
39816 glibcxx_cv_func_powf_use=no
39817 fi
39818 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39819 ac_ext=c
39820 ac_cpp='$CPP $CPPFLAGS'
39821 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39822 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39823 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39824
39825
39826 fi
39827
39828 fi
39829 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powf_use" >&5
39830 echo "${ECHO_T}$glibcxx_cv_func_powf_use" >&6
39831
39832 if test x$glibcxx_cv_func_powf_use = x"yes"; then
39833
39834 for ac_func in powf
39835 do
39836 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39837 echo "$as_me:$LINENO: checking for $ac_func" >&5
39838 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39839 if eval "test \"\${$as_ac_var+set}\" = set"; then
39840 echo $ECHO_N "(cached) $ECHO_C" >&6
39841 else
39842 if test x$gcc_no_link = xyes; then
39843 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39844 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39845 { (exit 1); exit 1; }; }
39846 fi
39847 cat >conftest.$ac_ext <<_ACEOF
39848 /* confdefs.h. */
39849 _ACEOF
39850 cat confdefs.h >>conftest.$ac_ext
39851 cat >>conftest.$ac_ext <<_ACEOF
39852 /* end confdefs.h. */
39853 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39854 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39855 #define $ac_func innocuous_$ac_func
39856
39857 /* System header to define __stub macros and hopefully few prototypes,
39858 which can conflict with char $ac_func (); below.
39859 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39860 <limits.h> exists even on freestanding compilers. */
39861
39862 #ifdef __STDC__
39863 # include <limits.h>
39864 #else
39865 # include <assert.h>
39866 #endif
39867
39868 #undef $ac_func
39869
39870 /* Override any gcc2 internal prototype to avoid an error. */
39871 #ifdef __cplusplus
39872 extern "C"
39873 {
39874 #endif
39875 /* We use char because int might match the return type of a gcc2
39876 builtin and then its argument prototype would still apply. */
39877 char $ac_func ();
39878 /* The GNU C library defines this for functions which it implements
39879 to always fail with ENOSYS. Some functions are actually named
39880 something starting with __ and the normal name is an alias. */
39881 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39882 choke me
39883 #else
39884 char (*f) () = $ac_func;
39885 #endif
39886 #ifdef __cplusplus
39887 }
39888 #endif
39889
39890 int
39891 main ()
39892 {
39893 return f != $ac_func;
39894 ;
39895 return 0;
39896 }
39897 _ACEOF
39898 rm -f conftest.$ac_objext conftest$ac_exeext
39899 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39900 (eval $ac_link) 2>conftest.er1
39901 ac_status=$?
39902 grep -v '^ *+' conftest.er1 >conftest.err
39903 rm -f conftest.er1
39904 cat conftest.err >&5
39905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39906 (exit $ac_status); } &&
39907 { ac_try='test -z "$ac_c_werror_flag"
39908 || test ! -s conftest.err'
39909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39910 (eval $ac_try) 2>&5
39911 ac_status=$?
39912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39913 (exit $ac_status); }; } &&
39914 { ac_try='test -s conftest$ac_exeext'
39915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39916 (eval $ac_try) 2>&5
39917 ac_status=$?
39918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39919 (exit $ac_status); }; }; then
39920 eval "$as_ac_var=yes"
39921 else
39922 echo "$as_me: failed program was:" >&5
39923 sed 's/^/| /' conftest.$ac_ext >&5
39924
39925 eval "$as_ac_var=no"
39926 fi
39927 rm -f conftest.err conftest.$ac_objext \
39928 conftest$ac_exeext conftest.$ac_ext
39929 fi
39930 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39931 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39932 if test `eval echo '${'$as_ac_var'}'` = yes; then
39933 cat >>confdefs.h <<_ACEOF
39934 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39935 _ACEOF
39936
39937 fi
39938 done
39939
39940 else
39941
39942 echo "$as_me:$LINENO: checking for _powf declaration" >&5
39943 echo $ECHO_N "checking for _powf declaration... $ECHO_C" >&6
39944 if test x${glibcxx_cv_func__powf_use+set} != xset; then
39945 if test "${glibcxx_cv_func__powf_use+set}" = set; then
39946 echo $ECHO_N "(cached) $ECHO_C" >&6
39947 else
39948
39949
39950
39951 ac_ext=cc
39952 ac_cpp='$CXXCPP $CPPFLAGS'
39953 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39954 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39955 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39956
39957 cat >conftest.$ac_ext <<_ACEOF
39958 /* confdefs.h. */
39959 _ACEOF
39960 cat confdefs.h >>conftest.$ac_ext
39961 cat >>conftest.$ac_ext <<_ACEOF
39962 /* end confdefs.h. */
39963 #include <math.h>
39964 int
39965 main ()
39966 {
39967 _powf(0, 0);
39968 ;
39969 return 0;
39970 }
39971 _ACEOF
39972 rm -f conftest.$ac_objext
39973 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39974 (eval $ac_compile) 2>conftest.er1
39975 ac_status=$?
39976 grep -v '^ *+' conftest.er1 >conftest.err
39977 rm -f conftest.er1
39978 cat conftest.err >&5
39979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39980 (exit $ac_status); } &&
39981 { ac_try='test -z "$ac_cxx_werror_flag"
39982 || test ! -s conftest.err'
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); }; } &&
39988 { ac_try='test -s conftest.$ac_objext'
39989 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39990 (eval $ac_try) 2>&5
39991 ac_status=$?
39992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39993 (exit $ac_status); }; }; then
39994 glibcxx_cv_func__powf_use=yes
39995 else
39996 echo "$as_me: failed program was:" >&5
39997 sed 's/^/| /' conftest.$ac_ext >&5
39998
39999 glibcxx_cv_func__powf_use=no
40000 fi
40001 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40002 ac_ext=c
40003 ac_cpp='$CPP $CPPFLAGS'
40004 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40005 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40006 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40007
40008
40009 fi
40010
40011 fi
40012 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powf_use" >&5
40013 echo "${ECHO_T}$glibcxx_cv_func__powf_use" >&6
40014
40015 if test x$glibcxx_cv_func__powf_use = x"yes"; then
40016
40017 for ac_func in _powf
40018 do
40019 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40020 echo "$as_me:$LINENO: checking for $ac_func" >&5
40021 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40022 if eval "test \"\${$as_ac_var+set}\" = set"; then
40023 echo $ECHO_N "(cached) $ECHO_C" >&6
40024 else
40025 if test x$gcc_no_link = xyes; then
40026 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40027 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40028 { (exit 1); exit 1; }; }
40029 fi
40030 cat >conftest.$ac_ext <<_ACEOF
40031 /* confdefs.h. */
40032 _ACEOF
40033 cat confdefs.h >>conftest.$ac_ext
40034 cat >>conftest.$ac_ext <<_ACEOF
40035 /* end confdefs.h. */
40036 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40037 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40038 #define $ac_func innocuous_$ac_func
40039
40040 /* System header to define __stub macros and hopefully few prototypes,
40041 which can conflict with char $ac_func (); below.
40042 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40043 <limits.h> exists even on freestanding compilers. */
40044
40045 #ifdef __STDC__
40046 # include <limits.h>
40047 #else
40048 # include <assert.h>
40049 #endif
40050
40051 #undef $ac_func
40052
40053 /* Override any gcc2 internal prototype to avoid an error. */
40054 #ifdef __cplusplus
40055 extern "C"
40056 {
40057 #endif
40058 /* We use char because int might match the return type of a gcc2
40059 builtin and then its argument prototype would still apply. */
40060 char $ac_func ();
40061 /* The GNU C library defines this for functions which it implements
40062 to always fail with ENOSYS. Some functions are actually named
40063 something starting with __ and the normal name is an alias. */
40064 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40065 choke me
40066 #else
40067 char (*f) () = $ac_func;
40068 #endif
40069 #ifdef __cplusplus
40070 }
40071 #endif
40072
40073 int
40074 main ()
40075 {
40076 return f != $ac_func;
40077 ;
40078 return 0;
40079 }
40080 _ACEOF
40081 rm -f conftest.$ac_objext conftest$ac_exeext
40082 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40083 (eval $ac_link) 2>conftest.er1
40084 ac_status=$?
40085 grep -v '^ *+' conftest.er1 >conftest.err
40086 rm -f conftest.er1
40087 cat conftest.err >&5
40088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40089 (exit $ac_status); } &&
40090 { ac_try='test -z "$ac_c_werror_flag"
40091 || test ! -s conftest.err'
40092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40093 (eval $ac_try) 2>&5
40094 ac_status=$?
40095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40096 (exit $ac_status); }; } &&
40097 { ac_try='test -s conftest$ac_exeext'
40098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40099 (eval $ac_try) 2>&5
40100 ac_status=$?
40101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40102 (exit $ac_status); }; }; then
40103 eval "$as_ac_var=yes"
40104 else
40105 echo "$as_me: failed program was:" >&5
40106 sed 's/^/| /' conftest.$ac_ext >&5
40107
40108 eval "$as_ac_var=no"
40109 fi
40110 rm -f conftest.err conftest.$ac_objext \
40111 conftest$ac_exeext conftest.$ac_ext
40112 fi
40113 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40114 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40115 if test `eval echo '${'$as_ac_var'}'` = yes; then
40116 cat >>confdefs.h <<_ACEOF
40117 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40118 _ACEOF
40119
40120 fi
40121 done
40122
40123 fi
40124 fi
40125
40126
40127
40128
40129
40130
40131 echo "$as_me:$LINENO: checking for sqrtf declaration" >&5
40132 echo $ECHO_N "checking for sqrtf declaration... $ECHO_C" >&6
40133 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
40134 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then
40135 echo $ECHO_N "(cached) $ECHO_C" >&6
40136 else
40137
40138
40139
40140 ac_ext=cc
40141 ac_cpp='$CXXCPP $CPPFLAGS'
40142 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40143 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40144 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40145
40146 cat >conftest.$ac_ext <<_ACEOF
40147 /* confdefs.h. */
40148 _ACEOF
40149 cat confdefs.h >>conftest.$ac_ext
40150 cat >>conftest.$ac_ext <<_ACEOF
40151 /* end confdefs.h. */
40152 #include <math.h>
40153 #ifdef HAVE_IEEEFP_H
40154 #include <ieeefp.h>
40155 #endif
40156
40157 int
40158 main ()
40159 {
40160 sqrtf(0);
40161 ;
40162 return 0;
40163 }
40164 _ACEOF
40165 rm -f conftest.$ac_objext
40166 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40167 (eval $ac_compile) 2>conftest.er1
40168 ac_status=$?
40169 grep -v '^ *+' conftest.er1 >conftest.err
40170 rm -f conftest.er1
40171 cat conftest.err >&5
40172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40173 (exit $ac_status); } &&
40174 { ac_try='test -z "$ac_cxx_werror_flag"
40175 || test ! -s conftest.err'
40176 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40177 (eval $ac_try) 2>&5
40178 ac_status=$?
40179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40180 (exit $ac_status); }; } &&
40181 { ac_try='test -s conftest.$ac_objext'
40182 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40183 (eval $ac_try) 2>&5
40184 ac_status=$?
40185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40186 (exit $ac_status); }; }; then
40187 glibcxx_cv_func_sqrtf_use=yes
40188 else
40189 echo "$as_me: failed program was:" >&5
40190 sed 's/^/| /' conftest.$ac_ext >&5
40191
40192 glibcxx_cv_func_sqrtf_use=no
40193 fi
40194 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40195 ac_ext=c
40196 ac_cpp='$CPP $CPPFLAGS'
40197 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40198 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40199 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40200
40201
40202 fi
40203
40204 fi
40205 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtf_use" >&5
40206 echo "${ECHO_T}$glibcxx_cv_func_sqrtf_use" >&6
40207
40208 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
40209
40210 for ac_func in sqrtf
40211 do
40212 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40213 echo "$as_me:$LINENO: checking for $ac_func" >&5
40214 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40215 if eval "test \"\${$as_ac_var+set}\" = set"; then
40216 echo $ECHO_N "(cached) $ECHO_C" >&6
40217 else
40218 if test x$gcc_no_link = xyes; then
40219 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40220 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40221 { (exit 1); exit 1; }; }
40222 fi
40223 cat >conftest.$ac_ext <<_ACEOF
40224 /* confdefs.h. */
40225 _ACEOF
40226 cat confdefs.h >>conftest.$ac_ext
40227 cat >>conftest.$ac_ext <<_ACEOF
40228 /* end confdefs.h. */
40229 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40230 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40231 #define $ac_func innocuous_$ac_func
40232
40233 /* System header to define __stub macros and hopefully few prototypes,
40234 which can conflict with char $ac_func (); below.
40235 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40236 <limits.h> exists even on freestanding compilers. */
40237
40238 #ifdef __STDC__
40239 # include <limits.h>
40240 #else
40241 # include <assert.h>
40242 #endif
40243
40244 #undef $ac_func
40245
40246 /* Override any gcc2 internal prototype to avoid an error. */
40247 #ifdef __cplusplus
40248 extern "C"
40249 {
40250 #endif
40251 /* We use char because int might match the return type of a gcc2
40252 builtin and then its argument prototype would still apply. */
40253 char $ac_func ();
40254 /* The GNU C library defines this for functions which it implements
40255 to always fail with ENOSYS. Some functions are actually named
40256 something starting with __ and the normal name is an alias. */
40257 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40258 choke me
40259 #else
40260 char (*f) () = $ac_func;
40261 #endif
40262 #ifdef __cplusplus
40263 }
40264 #endif
40265
40266 int
40267 main ()
40268 {
40269 return f != $ac_func;
40270 ;
40271 return 0;
40272 }
40273 _ACEOF
40274 rm -f conftest.$ac_objext conftest$ac_exeext
40275 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40276 (eval $ac_link) 2>conftest.er1
40277 ac_status=$?
40278 grep -v '^ *+' conftest.er1 >conftest.err
40279 rm -f conftest.er1
40280 cat conftest.err >&5
40281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40282 (exit $ac_status); } &&
40283 { ac_try='test -z "$ac_c_werror_flag"
40284 || test ! -s conftest.err'
40285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40286 (eval $ac_try) 2>&5
40287 ac_status=$?
40288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40289 (exit $ac_status); }; } &&
40290 { ac_try='test -s conftest$ac_exeext'
40291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40292 (eval $ac_try) 2>&5
40293 ac_status=$?
40294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40295 (exit $ac_status); }; }; then
40296 eval "$as_ac_var=yes"
40297 else
40298 echo "$as_me: failed program was:" >&5
40299 sed 's/^/| /' conftest.$ac_ext >&5
40300
40301 eval "$as_ac_var=no"
40302 fi
40303 rm -f conftest.err conftest.$ac_objext \
40304 conftest$ac_exeext conftest.$ac_ext
40305 fi
40306 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40307 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40308 if test `eval echo '${'$as_ac_var'}'` = yes; then
40309 cat >>confdefs.h <<_ACEOF
40310 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40311 _ACEOF
40312
40313 fi
40314 done
40315
40316 else
40317
40318 echo "$as_me:$LINENO: checking for _sqrtf declaration" >&5
40319 echo $ECHO_N "checking for _sqrtf declaration... $ECHO_C" >&6
40320 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
40321 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then
40322 echo $ECHO_N "(cached) $ECHO_C" >&6
40323 else
40324
40325
40326
40327 ac_ext=cc
40328 ac_cpp='$CXXCPP $CPPFLAGS'
40329 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40330 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40331 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40332
40333 cat >conftest.$ac_ext <<_ACEOF
40334 /* confdefs.h. */
40335 _ACEOF
40336 cat confdefs.h >>conftest.$ac_ext
40337 cat >>conftest.$ac_ext <<_ACEOF
40338 /* end confdefs.h. */
40339 #include <math.h>
40340 #ifdef HAVE_IEEEFP_H
40341 #include <ieeefp.h>
40342 #endif
40343
40344 int
40345 main ()
40346 {
40347 _sqrtf(0);
40348 ;
40349 return 0;
40350 }
40351 _ACEOF
40352 rm -f conftest.$ac_objext
40353 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40354 (eval $ac_compile) 2>conftest.er1
40355 ac_status=$?
40356 grep -v '^ *+' conftest.er1 >conftest.err
40357 rm -f conftest.er1
40358 cat conftest.err >&5
40359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40360 (exit $ac_status); } &&
40361 { ac_try='test -z "$ac_cxx_werror_flag"
40362 || test ! -s conftest.err'
40363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40364 (eval $ac_try) 2>&5
40365 ac_status=$?
40366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40367 (exit $ac_status); }; } &&
40368 { ac_try='test -s conftest.$ac_objext'
40369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40370 (eval $ac_try) 2>&5
40371 ac_status=$?
40372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40373 (exit $ac_status); }; }; then
40374 glibcxx_cv_func__sqrtf_use=yes
40375 else
40376 echo "$as_me: failed program was:" >&5
40377 sed 's/^/| /' conftest.$ac_ext >&5
40378
40379 glibcxx_cv_func__sqrtf_use=no
40380 fi
40381 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40382 ac_ext=c
40383 ac_cpp='$CPP $CPPFLAGS'
40384 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40385 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40386 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40387
40388
40389 fi
40390
40391 fi
40392 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtf_use" >&5
40393 echo "${ECHO_T}$glibcxx_cv_func__sqrtf_use" >&6
40394
40395 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
40396
40397 for ac_func in _sqrtf
40398 do
40399 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40400 echo "$as_me:$LINENO: checking for $ac_func" >&5
40401 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40402 if eval "test \"\${$as_ac_var+set}\" = set"; then
40403 echo $ECHO_N "(cached) $ECHO_C" >&6
40404 else
40405 if test x$gcc_no_link = xyes; then
40406 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40407 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40408 { (exit 1); exit 1; }; }
40409 fi
40410 cat >conftest.$ac_ext <<_ACEOF
40411 /* confdefs.h. */
40412 _ACEOF
40413 cat confdefs.h >>conftest.$ac_ext
40414 cat >>conftest.$ac_ext <<_ACEOF
40415 /* end confdefs.h. */
40416 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40417 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40418 #define $ac_func innocuous_$ac_func
40419
40420 /* System header to define __stub macros and hopefully few prototypes,
40421 which can conflict with char $ac_func (); below.
40422 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40423 <limits.h> exists even on freestanding compilers. */
40424
40425 #ifdef __STDC__
40426 # include <limits.h>
40427 #else
40428 # include <assert.h>
40429 #endif
40430
40431 #undef $ac_func
40432
40433 /* Override any gcc2 internal prototype to avoid an error. */
40434 #ifdef __cplusplus
40435 extern "C"
40436 {
40437 #endif
40438 /* We use char because int might match the return type of a gcc2
40439 builtin and then its argument prototype would still apply. */
40440 char $ac_func ();
40441 /* The GNU C library defines this for functions which it implements
40442 to always fail with ENOSYS. Some functions are actually named
40443 something starting with __ and the normal name is an alias. */
40444 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40445 choke me
40446 #else
40447 char (*f) () = $ac_func;
40448 #endif
40449 #ifdef __cplusplus
40450 }
40451 #endif
40452
40453 int
40454 main ()
40455 {
40456 return f != $ac_func;
40457 ;
40458 return 0;
40459 }
40460 _ACEOF
40461 rm -f conftest.$ac_objext conftest$ac_exeext
40462 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40463 (eval $ac_link) 2>conftest.er1
40464 ac_status=$?
40465 grep -v '^ *+' conftest.er1 >conftest.err
40466 rm -f conftest.er1
40467 cat conftest.err >&5
40468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40469 (exit $ac_status); } &&
40470 { ac_try='test -z "$ac_c_werror_flag"
40471 || test ! -s conftest.err'
40472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40473 (eval $ac_try) 2>&5
40474 ac_status=$?
40475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40476 (exit $ac_status); }; } &&
40477 { ac_try='test -s conftest$ac_exeext'
40478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40479 (eval $ac_try) 2>&5
40480 ac_status=$?
40481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40482 (exit $ac_status); }; }; then
40483 eval "$as_ac_var=yes"
40484 else
40485 echo "$as_me: failed program was:" >&5
40486 sed 's/^/| /' conftest.$ac_ext >&5
40487
40488 eval "$as_ac_var=no"
40489 fi
40490 rm -f conftest.err conftest.$ac_objext \
40491 conftest$ac_exeext conftest.$ac_ext
40492 fi
40493 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40494 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40495 if test `eval echo '${'$as_ac_var'}'` = yes; then
40496 cat >>confdefs.h <<_ACEOF
40497 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40498 _ACEOF
40499
40500 fi
40501 done
40502
40503 fi
40504 fi
40505
40506
40507
40508
40509
40510
40511 echo "$as_me:$LINENO: checking for sincosf declaration" >&5
40512 echo $ECHO_N "checking for sincosf declaration... $ECHO_C" >&6
40513 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
40514 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then
40515 echo $ECHO_N "(cached) $ECHO_C" >&6
40516 else
40517
40518
40519
40520 ac_ext=cc
40521 ac_cpp='$CXXCPP $CPPFLAGS'
40522 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40523 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40524 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40525
40526 cat >conftest.$ac_ext <<_ACEOF
40527 /* confdefs.h. */
40528 _ACEOF
40529 cat confdefs.h >>conftest.$ac_ext
40530 cat >>conftest.$ac_ext <<_ACEOF
40531 /* end confdefs.h. */
40532 #include <math.h>
40533 int
40534 main ()
40535 {
40536 sincosf(0, 0, 0);
40537 ;
40538 return 0;
40539 }
40540 _ACEOF
40541 rm -f conftest.$ac_objext
40542 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40543 (eval $ac_compile) 2>conftest.er1
40544 ac_status=$?
40545 grep -v '^ *+' conftest.er1 >conftest.err
40546 rm -f conftest.er1
40547 cat conftest.err >&5
40548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40549 (exit $ac_status); } &&
40550 { ac_try='test -z "$ac_cxx_werror_flag"
40551 || test ! -s conftest.err'
40552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40553 (eval $ac_try) 2>&5
40554 ac_status=$?
40555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40556 (exit $ac_status); }; } &&
40557 { ac_try='test -s conftest.$ac_objext'
40558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40559 (eval $ac_try) 2>&5
40560 ac_status=$?
40561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40562 (exit $ac_status); }; }; then
40563 glibcxx_cv_func_sincosf_use=yes
40564 else
40565 echo "$as_me: failed program was:" >&5
40566 sed 's/^/| /' conftest.$ac_ext >&5
40567
40568 glibcxx_cv_func_sincosf_use=no
40569 fi
40570 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40571 ac_ext=c
40572 ac_cpp='$CPP $CPPFLAGS'
40573 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40574 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40575 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40576
40577
40578 fi
40579
40580 fi
40581 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosf_use" >&5
40582 echo "${ECHO_T}$glibcxx_cv_func_sincosf_use" >&6
40583
40584 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
40585
40586 for ac_func in sincosf
40587 do
40588 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40589 echo "$as_me:$LINENO: checking for $ac_func" >&5
40590 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40591 if eval "test \"\${$as_ac_var+set}\" = set"; then
40592 echo $ECHO_N "(cached) $ECHO_C" >&6
40593 else
40594 if test x$gcc_no_link = xyes; then
40595 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40596 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40597 { (exit 1); exit 1; }; }
40598 fi
40599 cat >conftest.$ac_ext <<_ACEOF
40600 /* confdefs.h. */
40601 _ACEOF
40602 cat confdefs.h >>conftest.$ac_ext
40603 cat >>conftest.$ac_ext <<_ACEOF
40604 /* end confdefs.h. */
40605 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40606 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40607 #define $ac_func innocuous_$ac_func
40608
40609 /* System header to define __stub macros and hopefully few prototypes,
40610 which can conflict with char $ac_func (); below.
40611 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40612 <limits.h> exists even on freestanding compilers. */
40613
40614 #ifdef __STDC__
40615 # include <limits.h>
40616 #else
40617 # include <assert.h>
40618 #endif
40619
40620 #undef $ac_func
40621
40622 /* Override any gcc2 internal prototype to avoid an error. */
40623 #ifdef __cplusplus
40624 extern "C"
40625 {
40626 #endif
40627 /* We use char because int might match the return type of a gcc2
40628 builtin and then its argument prototype would still apply. */
40629 char $ac_func ();
40630 /* The GNU C library defines this for functions which it implements
40631 to always fail with ENOSYS. Some functions are actually named
40632 something starting with __ and the normal name is an alias. */
40633 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40634 choke me
40635 #else
40636 char (*f) () = $ac_func;
40637 #endif
40638 #ifdef __cplusplus
40639 }
40640 #endif
40641
40642 int
40643 main ()
40644 {
40645 return f != $ac_func;
40646 ;
40647 return 0;
40648 }
40649 _ACEOF
40650 rm -f conftest.$ac_objext conftest$ac_exeext
40651 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40652 (eval $ac_link) 2>conftest.er1
40653 ac_status=$?
40654 grep -v '^ *+' conftest.er1 >conftest.err
40655 rm -f conftest.er1
40656 cat conftest.err >&5
40657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40658 (exit $ac_status); } &&
40659 { ac_try='test -z "$ac_c_werror_flag"
40660 || test ! -s conftest.err'
40661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40662 (eval $ac_try) 2>&5
40663 ac_status=$?
40664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40665 (exit $ac_status); }; } &&
40666 { ac_try='test -s conftest$ac_exeext'
40667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40668 (eval $ac_try) 2>&5
40669 ac_status=$?
40670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40671 (exit $ac_status); }; }; then
40672 eval "$as_ac_var=yes"
40673 else
40674 echo "$as_me: failed program was:" >&5
40675 sed 's/^/| /' conftest.$ac_ext >&5
40676
40677 eval "$as_ac_var=no"
40678 fi
40679 rm -f conftest.err conftest.$ac_objext \
40680 conftest$ac_exeext conftest.$ac_ext
40681 fi
40682 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40683 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40684 if test `eval echo '${'$as_ac_var'}'` = yes; then
40685 cat >>confdefs.h <<_ACEOF
40686 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40687 _ACEOF
40688
40689 fi
40690 done
40691
40692 else
40693
40694 echo "$as_me:$LINENO: checking for _sincosf declaration" >&5
40695 echo $ECHO_N "checking for _sincosf declaration... $ECHO_C" >&6
40696 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
40697 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then
40698 echo $ECHO_N "(cached) $ECHO_C" >&6
40699 else
40700
40701
40702
40703 ac_ext=cc
40704 ac_cpp='$CXXCPP $CPPFLAGS'
40705 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40706 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40707 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40708
40709 cat >conftest.$ac_ext <<_ACEOF
40710 /* confdefs.h. */
40711 _ACEOF
40712 cat confdefs.h >>conftest.$ac_ext
40713 cat >>conftest.$ac_ext <<_ACEOF
40714 /* end confdefs.h. */
40715 #include <math.h>
40716 int
40717 main ()
40718 {
40719 _sincosf(0, 0, 0);
40720 ;
40721 return 0;
40722 }
40723 _ACEOF
40724 rm -f conftest.$ac_objext
40725 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40726 (eval $ac_compile) 2>conftest.er1
40727 ac_status=$?
40728 grep -v '^ *+' conftest.er1 >conftest.err
40729 rm -f conftest.er1
40730 cat conftest.err >&5
40731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40732 (exit $ac_status); } &&
40733 { ac_try='test -z "$ac_cxx_werror_flag"
40734 || test ! -s conftest.err'
40735 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40736 (eval $ac_try) 2>&5
40737 ac_status=$?
40738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40739 (exit $ac_status); }; } &&
40740 { ac_try='test -s conftest.$ac_objext'
40741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40742 (eval $ac_try) 2>&5
40743 ac_status=$?
40744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40745 (exit $ac_status); }; }; then
40746 glibcxx_cv_func__sincosf_use=yes
40747 else
40748 echo "$as_me: failed program was:" >&5
40749 sed 's/^/| /' conftest.$ac_ext >&5
40750
40751 glibcxx_cv_func__sincosf_use=no
40752 fi
40753 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40754 ac_ext=c
40755 ac_cpp='$CPP $CPPFLAGS'
40756 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40757 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40758 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40759
40760
40761 fi
40762
40763 fi
40764 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosf_use" >&5
40765 echo "${ECHO_T}$glibcxx_cv_func__sincosf_use" >&6
40766
40767 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
40768
40769 for ac_func in _sincosf
40770 do
40771 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40772 echo "$as_me:$LINENO: checking for $ac_func" >&5
40773 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40774 if eval "test \"\${$as_ac_var+set}\" = set"; then
40775 echo $ECHO_N "(cached) $ECHO_C" >&6
40776 else
40777 if test x$gcc_no_link = xyes; then
40778 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40779 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40780 { (exit 1); exit 1; }; }
40781 fi
40782 cat >conftest.$ac_ext <<_ACEOF
40783 /* confdefs.h. */
40784 _ACEOF
40785 cat confdefs.h >>conftest.$ac_ext
40786 cat >>conftest.$ac_ext <<_ACEOF
40787 /* end confdefs.h. */
40788 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40789 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40790 #define $ac_func innocuous_$ac_func
40791
40792 /* System header to define __stub macros and hopefully few prototypes,
40793 which can conflict with char $ac_func (); below.
40794 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40795 <limits.h> exists even on freestanding compilers. */
40796
40797 #ifdef __STDC__
40798 # include <limits.h>
40799 #else
40800 # include <assert.h>
40801 #endif
40802
40803 #undef $ac_func
40804
40805 /* Override any gcc2 internal prototype to avoid an error. */
40806 #ifdef __cplusplus
40807 extern "C"
40808 {
40809 #endif
40810 /* We use char because int might match the return type of a gcc2
40811 builtin and then its argument prototype would still apply. */
40812 char $ac_func ();
40813 /* The GNU C library defines this for functions which it implements
40814 to always fail with ENOSYS. Some functions are actually named
40815 something starting with __ and the normal name is an alias. */
40816 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40817 choke me
40818 #else
40819 char (*f) () = $ac_func;
40820 #endif
40821 #ifdef __cplusplus
40822 }
40823 #endif
40824
40825 int
40826 main ()
40827 {
40828 return f != $ac_func;
40829 ;
40830 return 0;
40831 }
40832 _ACEOF
40833 rm -f conftest.$ac_objext conftest$ac_exeext
40834 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40835 (eval $ac_link) 2>conftest.er1
40836 ac_status=$?
40837 grep -v '^ *+' conftest.er1 >conftest.err
40838 rm -f conftest.er1
40839 cat conftest.err >&5
40840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40841 (exit $ac_status); } &&
40842 { ac_try='test -z "$ac_c_werror_flag"
40843 || test ! -s conftest.err'
40844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40845 (eval $ac_try) 2>&5
40846 ac_status=$?
40847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40848 (exit $ac_status); }; } &&
40849 { ac_try='test -s conftest$ac_exeext'
40850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40851 (eval $ac_try) 2>&5
40852 ac_status=$?
40853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40854 (exit $ac_status); }; }; then
40855 eval "$as_ac_var=yes"
40856 else
40857 echo "$as_me: failed program was:" >&5
40858 sed 's/^/| /' conftest.$ac_ext >&5
40859
40860 eval "$as_ac_var=no"
40861 fi
40862 rm -f conftest.err conftest.$ac_objext \
40863 conftest$ac_exeext conftest.$ac_ext
40864 fi
40865 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40866 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40867 if test `eval echo '${'$as_ac_var'}'` = yes; then
40868 cat >>confdefs.h <<_ACEOF
40869 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40870 _ACEOF
40871
40872 fi
40873 done
40874
40875 fi
40876 fi
40877
40878
40879
40880
40881
40882
40883 echo "$as_me:$LINENO: checking for finitef declaration" >&5
40884 echo $ECHO_N "checking for finitef declaration... $ECHO_C" >&6
40885 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
40886 if test "${glibcxx_cv_func_finitef_use+set}" = set; then
40887 echo $ECHO_N "(cached) $ECHO_C" >&6
40888 else
40889
40890
40891
40892 ac_ext=cc
40893 ac_cpp='$CXXCPP $CPPFLAGS'
40894 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40895 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40896 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40897
40898 cat >conftest.$ac_ext <<_ACEOF
40899 /* confdefs.h. */
40900 _ACEOF
40901 cat confdefs.h >>conftest.$ac_ext
40902 cat >>conftest.$ac_ext <<_ACEOF
40903 /* end confdefs.h. */
40904 #include <math.h>
40905 #ifdef HAVE_IEEEFP_H
40906 #include <ieeefp.h>
40907 #endif
40908
40909 int
40910 main ()
40911 {
40912 finitef(0);
40913 ;
40914 return 0;
40915 }
40916 _ACEOF
40917 rm -f conftest.$ac_objext
40918 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40919 (eval $ac_compile) 2>conftest.er1
40920 ac_status=$?
40921 grep -v '^ *+' conftest.er1 >conftest.err
40922 rm -f conftest.er1
40923 cat conftest.err >&5
40924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40925 (exit $ac_status); } &&
40926 { ac_try='test -z "$ac_cxx_werror_flag"
40927 || test ! -s conftest.err'
40928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40929 (eval $ac_try) 2>&5
40930 ac_status=$?
40931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40932 (exit $ac_status); }; } &&
40933 { ac_try='test -s conftest.$ac_objext'
40934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40935 (eval $ac_try) 2>&5
40936 ac_status=$?
40937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40938 (exit $ac_status); }; }; then
40939 glibcxx_cv_func_finitef_use=yes
40940 else
40941 echo "$as_me: failed program was:" >&5
40942 sed 's/^/| /' conftest.$ac_ext >&5
40943
40944 glibcxx_cv_func_finitef_use=no
40945 fi
40946 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40947 ac_ext=c
40948 ac_cpp='$CPP $CPPFLAGS'
40949 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40950 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40951 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40952
40953
40954 fi
40955
40956 fi
40957 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitef_use" >&5
40958 echo "${ECHO_T}$glibcxx_cv_func_finitef_use" >&6
40959
40960 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
40961
40962 for ac_func in finitef
40963 do
40964 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40965 echo "$as_me:$LINENO: checking for $ac_func" >&5
40966 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40967 if eval "test \"\${$as_ac_var+set}\" = set"; then
40968 echo $ECHO_N "(cached) $ECHO_C" >&6
40969 else
40970 if test x$gcc_no_link = xyes; then
40971 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40972 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40973 { (exit 1); exit 1; }; }
40974 fi
40975 cat >conftest.$ac_ext <<_ACEOF
40976 /* confdefs.h. */
40977 _ACEOF
40978 cat confdefs.h >>conftest.$ac_ext
40979 cat >>conftest.$ac_ext <<_ACEOF
40980 /* end confdefs.h. */
40981 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40982 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40983 #define $ac_func innocuous_$ac_func
40984
40985 /* System header to define __stub macros and hopefully few prototypes,
40986 which can conflict with char $ac_func (); below.
40987 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40988 <limits.h> exists even on freestanding compilers. */
40989
40990 #ifdef __STDC__
40991 # include <limits.h>
40992 #else
40993 # include <assert.h>
40994 #endif
40995
40996 #undef $ac_func
40997
40998 /* Override any gcc2 internal prototype to avoid an error. */
40999 #ifdef __cplusplus
41000 extern "C"
41001 {
41002 #endif
41003 /* We use char because int might match the return type of a gcc2
41004 builtin and then its argument prototype would still apply. */
41005 char $ac_func ();
41006 /* The GNU C library defines this for functions which it implements
41007 to always fail with ENOSYS. Some functions are actually named
41008 something starting with __ and the normal name is an alias. */
41009 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41010 choke me
41011 #else
41012 char (*f) () = $ac_func;
41013 #endif
41014 #ifdef __cplusplus
41015 }
41016 #endif
41017
41018 int
41019 main ()
41020 {
41021 return f != $ac_func;
41022 ;
41023 return 0;
41024 }
41025 _ACEOF
41026 rm -f conftest.$ac_objext conftest$ac_exeext
41027 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41028 (eval $ac_link) 2>conftest.er1
41029 ac_status=$?
41030 grep -v '^ *+' conftest.er1 >conftest.err
41031 rm -f conftest.er1
41032 cat conftest.err >&5
41033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41034 (exit $ac_status); } &&
41035 { ac_try='test -z "$ac_c_werror_flag"
41036 || test ! -s conftest.err'
41037 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41038 (eval $ac_try) 2>&5
41039 ac_status=$?
41040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41041 (exit $ac_status); }; } &&
41042 { ac_try='test -s conftest$ac_exeext'
41043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41044 (eval $ac_try) 2>&5
41045 ac_status=$?
41046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41047 (exit $ac_status); }; }; then
41048 eval "$as_ac_var=yes"
41049 else
41050 echo "$as_me: failed program was:" >&5
41051 sed 's/^/| /' conftest.$ac_ext >&5
41052
41053 eval "$as_ac_var=no"
41054 fi
41055 rm -f conftest.err conftest.$ac_objext \
41056 conftest$ac_exeext conftest.$ac_ext
41057 fi
41058 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41059 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41060 if test `eval echo '${'$as_ac_var'}'` = yes; then
41061 cat >>confdefs.h <<_ACEOF
41062 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41063 _ACEOF
41064
41065 fi
41066 done
41067
41068 else
41069
41070 echo "$as_me:$LINENO: checking for _finitef declaration" >&5
41071 echo $ECHO_N "checking for _finitef declaration... $ECHO_C" >&6
41072 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
41073 if test "${glibcxx_cv_func__finitef_use+set}" = set; then
41074 echo $ECHO_N "(cached) $ECHO_C" >&6
41075 else
41076
41077
41078
41079 ac_ext=cc
41080 ac_cpp='$CXXCPP $CPPFLAGS'
41081 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41082 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41083 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41084
41085 cat >conftest.$ac_ext <<_ACEOF
41086 /* confdefs.h. */
41087 _ACEOF
41088 cat confdefs.h >>conftest.$ac_ext
41089 cat >>conftest.$ac_ext <<_ACEOF
41090 /* end confdefs.h. */
41091 #include <math.h>
41092 #ifdef HAVE_IEEEFP_H
41093 #include <ieeefp.h>
41094 #endif
41095
41096 int
41097 main ()
41098 {
41099 _finitef(0);
41100 ;
41101 return 0;
41102 }
41103 _ACEOF
41104 rm -f conftest.$ac_objext
41105 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41106 (eval $ac_compile) 2>conftest.er1
41107 ac_status=$?
41108 grep -v '^ *+' conftest.er1 >conftest.err
41109 rm -f conftest.er1
41110 cat conftest.err >&5
41111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41112 (exit $ac_status); } &&
41113 { ac_try='test -z "$ac_cxx_werror_flag"
41114 || test ! -s conftest.err'
41115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41116 (eval $ac_try) 2>&5
41117 ac_status=$?
41118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41119 (exit $ac_status); }; } &&
41120 { ac_try='test -s conftest.$ac_objext'
41121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41122 (eval $ac_try) 2>&5
41123 ac_status=$?
41124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41125 (exit $ac_status); }; }; then
41126 glibcxx_cv_func__finitef_use=yes
41127 else
41128 echo "$as_me: failed program was:" >&5
41129 sed 's/^/| /' conftest.$ac_ext >&5
41130
41131 glibcxx_cv_func__finitef_use=no
41132 fi
41133 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41134 ac_ext=c
41135 ac_cpp='$CPP $CPPFLAGS'
41136 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41137 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41138 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41139
41140
41141 fi
41142
41143 fi
41144 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitef_use" >&5
41145 echo "${ECHO_T}$glibcxx_cv_func__finitef_use" >&6
41146
41147 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
41148
41149 for ac_func in _finitef
41150 do
41151 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41152 echo "$as_me:$LINENO: checking for $ac_func" >&5
41153 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41154 if eval "test \"\${$as_ac_var+set}\" = set"; then
41155 echo $ECHO_N "(cached) $ECHO_C" >&6
41156 else
41157 if test x$gcc_no_link = xyes; then
41158 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41159 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41160 { (exit 1); exit 1; }; }
41161 fi
41162 cat >conftest.$ac_ext <<_ACEOF
41163 /* confdefs.h. */
41164 _ACEOF
41165 cat confdefs.h >>conftest.$ac_ext
41166 cat >>conftest.$ac_ext <<_ACEOF
41167 /* end confdefs.h. */
41168 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41169 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41170 #define $ac_func innocuous_$ac_func
41171
41172 /* System header to define __stub macros and hopefully few prototypes,
41173 which can conflict with char $ac_func (); below.
41174 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41175 <limits.h> exists even on freestanding compilers. */
41176
41177 #ifdef __STDC__
41178 # include <limits.h>
41179 #else
41180 # include <assert.h>
41181 #endif
41182
41183 #undef $ac_func
41184
41185 /* Override any gcc2 internal prototype to avoid an error. */
41186 #ifdef __cplusplus
41187 extern "C"
41188 {
41189 #endif
41190 /* We use char because int might match the return type of a gcc2
41191 builtin and then its argument prototype would still apply. */
41192 char $ac_func ();
41193 /* The GNU C library defines this for functions which it implements
41194 to always fail with ENOSYS. Some functions are actually named
41195 something starting with __ and the normal name is an alias. */
41196 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41197 choke me
41198 #else
41199 char (*f) () = $ac_func;
41200 #endif
41201 #ifdef __cplusplus
41202 }
41203 #endif
41204
41205 int
41206 main ()
41207 {
41208 return f != $ac_func;
41209 ;
41210 return 0;
41211 }
41212 _ACEOF
41213 rm -f conftest.$ac_objext conftest$ac_exeext
41214 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41215 (eval $ac_link) 2>conftest.er1
41216 ac_status=$?
41217 grep -v '^ *+' conftest.er1 >conftest.err
41218 rm -f conftest.er1
41219 cat conftest.err >&5
41220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41221 (exit $ac_status); } &&
41222 { ac_try='test -z "$ac_c_werror_flag"
41223 || test ! -s conftest.err'
41224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41225 (eval $ac_try) 2>&5
41226 ac_status=$?
41227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41228 (exit $ac_status); }; } &&
41229 { ac_try='test -s conftest$ac_exeext'
41230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41231 (eval $ac_try) 2>&5
41232 ac_status=$?
41233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41234 (exit $ac_status); }; }; then
41235 eval "$as_ac_var=yes"
41236 else
41237 echo "$as_me: failed program was:" >&5
41238 sed 's/^/| /' conftest.$ac_ext >&5
41239
41240 eval "$as_ac_var=no"
41241 fi
41242 rm -f conftest.err conftest.$ac_objext \
41243 conftest$ac_exeext conftest.$ac_ext
41244 fi
41245 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41246 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41247 if test `eval echo '${'$as_ac_var'}'` = yes; then
41248 cat >>confdefs.h <<_ACEOF
41249 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41250 _ACEOF
41251
41252 fi
41253 done
41254
41255 fi
41256 fi
41257
41258
41259
41260
41261
41262
41263 echo "$as_me:$LINENO: checking for long double trig functions" >&5
41264 echo $ECHO_N "checking for long double trig functions... $ECHO_C" >&6
41265 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then
41266 echo $ECHO_N "(cached) $ECHO_C" >&6
41267 else
41268
41269
41270
41271 ac_ext=cc
41272 ac_cpp='$CXXCPP $CPPFLAGS'
41273 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41274 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41275 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41276
41277 cat >conftest.$ac_ext <<_ACEOF
41278 /* confdefs.h. */
41279 _ACEOF
41280 cat confdefs.h >>conftest.$ac_ext
41281 cat >>conftest.$ac_ext <<_ACEOF
41282 /* end confdefs.h. */
41283 #include <math.h>
41284 int
41285 main ()
41286 {
41287 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
41288 ;
41289 return 0;
41290 }
41291 _ACEOF
41292 rm -f conftest.$ac_objext
41293 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41294 (eval $ac_compile) 2>conftest.er1
41295 ac_status=$?
41296 grep -v '^ *+' conftest.er1 >conftest.err
41297 rm -f conftest.er1
41298 cat conftest.err >&5
41299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41300 (exit $ac_status); } &&
41301 { ac_try='test -z "$ac_cxx_werror_flag"
41302 || test ! -s conftest.err'
41303 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41304 (eval $ac_try) 2>&5
41305 ac_status=$?
41306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41307 (exit $ac_status); }; } &&
41308 { ac_try='test -s conftest.$ac_objext'
41309 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41310 (eval $ac_try) 2>&5
41311 ac_status=$?
41312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41313 (exit $ac_status); }; }; then
41314 glibcxx_cv_func_long_double_trig_use=yes
41315 else
41316 echo "$as_me: failed program was:" >&5
41317 sed 's/^/| /' conftest.$ac_ext >&5
41318
41319 glibcxx_cv_func_long_double_trig_use=no
41320 fi
41321 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41322 ac_ext=c
41323 ac_cpp='$CPP $CPPFLAGS'
41324 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41325 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41326 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41327
41328 fi
41329
41330 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_trig_use" >&5
41331 echo "${ECHO_T}$glibcxx_cv_func_long_double_trig_use" >&6
41332 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
41333
41334
41335
41336
41337
41338
41339
41340
41341
41342 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
41343 do
41344 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41345 echo "$as_me:$LINENO: checking for $ac_func" >&5
41346 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41347 if eval "test \"\${$as_ac_var+set}\" = set"; then
41348 echo $ECHO_N "(cached) $ECHO_C" >&6
41349 else
41350 if test x$gcc_no_link = xyes; then
41351 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41352 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41353 { (exit 1); exit 1; }; }
41354 fi
41355 cat >conftest.$ac_ext <<_ACEOF
41356 /* confdefs.h. */
41357 _ACEOF
41358 cat confdefs.h >>conftest.$ac_ext
41359 cat >>conftest.$ac_ext <<_ACEOF
41360 /* end confdefs.h. */
41361 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41362 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41363 #define $ac_func innocuous_$ac_func
41364
41365 /* System header to define __stub macros and hopefully few prototypes,
41366 which can conflict with char $ac_func (); below.
41367 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41368 <limits.h> exists even on freestanding compilers. */
41369
41370 #ifdef __STDC__
41371 # include <limits.h>
41372 #else
41373 # include <assert.h>
41374 #endif
41375
41376 #undef $ac_func
41377
41378 /* Override any gcc2 internal prototype to avoid an error. */
41379 #ifdef __cplusplus
41380 extern "C"
41381 {
41382 #endif
41383 /* We use char because int might match the return type of a gcc2
41384 builtin and then its argument prototype would still apply. */
41385 char $ac_func ();
41386 /* The GNU C library defines this for functions which it implements
41387 to always fail with ENOSYS. Some functions are actually named
41388 something starting with __ and the normal name is an alias. */
41389 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41390 choke me
41391 #else
41392 char (*f) () = $ac_func;
41393 #endif
41394 #ifdef __cplusplus
41395 }
41396 #endif
41397
41398 int
41399 main ()
41400 {
41401 return f != $ac_func;
41402 ;
41403 return 0;
41404 }
41405 _ACEOF
41406 rm -f conftest.$ac_objext conftest$ac_exeext
41407 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41408 (eval $ac_link) 2>conftest.er1
41409 ac_status=$?
41410 grep -v '^ *+' conftest.er1 >conftest.err
41411 rm -f conftest.er1
41412 cat conftest.err >&5
41413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41414 (exit $ac_status); } &&
41415 { ac_try='test -z "$ac_c_werror_flag"
41416 || test ! -s conftest.err'
41417 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41418 (eval $ac_try) 2>&5
41419 ac_status=$?
41420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41421 (exit $ac_status); }; } &&
41422 { ac_try='test -s conftest$ac_exeext'
41423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41424 (eval $ac_try) 2>&5
41425 ac_status=$?
41426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41427 (exit $ac_status); }; }; then
41428 eval "$as_ac_var=yes"
41429 else
41430 echo "$as_me: failed program was:" >&5
41431 sed 's/^/| /' conftest.$ac_ext >&5
41432
41433 eval "$as_ac_var=no"
41434 fi
41435 rm -f conftest.err conftest.$ac_objext \
41436 conftest$ac_exeext conftest.$ac_ext
41437 fi
41438 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41439 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41440 if test `eval echo '${'$as_ac_var'}'` = yes; then
41441 cat >>confdefs.h <<_ACEOF
41442 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41443 _ACEOF
41444
41445 fi
41446 done
41447
41448 else
41449 echo "$as_me:$LINENO: checking for _long double trig functions" >&5
41450 echo $ECHO_N "checking for _long double trig functions... $ECHO_C" >&6
41451 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then
41452 echo $ECHO_N "(cached) $ECHO_C" >&6
41453 else
41454
41455
41456
41457 ac_ext=cc
41458 ac_cpp='$CXXCPP $CPPFLAGS'
41459 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41460 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41461 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41462
41463 cat >conftest.$ac_ext <<_ACEOF
41464 /* confdefs.h. */
41465 _ACEOF
41466 cat confdefs.h >>conftest.$ac_ext
41467 cat >>conftest.$ac_ext <<_ACEOF
41468 /* end confdefs.h. */
41469 #include <math.h>
41470 int
41471 main ()
41472 {
41473 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
41474 ;
41475 return 0;
41476 }
41477 _ACEOF
41478 rm -f conftest.$ac_objext
41479 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41480 (eval $ac_compile) 2>conftest.er1
41481 ac_status=$?
41482 grep -v '^ *+' conftest.er1 >conftest.err
41483 rm -f conftest.er1
41484 cat conftest.err >&5
41485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41486 (exit $ac_status); } &&
41487 { ac_try='test -z "$ac_cxx_werror_flag"
41488 || test ! -s conftest.err'
41489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41490 (eval $ac_try) 2>&5
41491 ac_status=$?
41492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41493 (exit $ac_status); }; } &&
41494 { ac_try='test -s conftest.$ac_objext'
41495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41496 (eval $ac_try) 2>&5
41497 ac_status=$?
41498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41499 (exit $ac_status); }; }; then
41500 glibcxx_cv_func__long_double_trig_use=yes
41501 else
41502 echo "$as_me: failed program was:" >&5
41503 sed 's/^/| /' conftest.$ac_ext >&5
41504
41505 glibcxx_cv_func__long_double_trig_use=no
41506 fi
41507 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41508 ac_ext=c
41509 ac_cpp='$CPP $CPPFLAGS'
41510 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41511 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41512 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41513
41514 fi
41515
41516 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_trig_use" >&5
41517 echo "${ECHO_T}$glibcxx_cv_func__long_double_trig_use" >&6
41518 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
41519
41520
41521
41522
41523
41524
41525
41526
41527
41528 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
41529 do
41530 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41531 echo "$as_me:$LINENO: checking for $ac_func" >&5
41532 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41533 if eval "test \"\${$as_ac_var+set}\" = set"; then
41534 echo $ECHO_N "(cached) $ECHO_C" >&6
41535 else
41536 if test x$gcc_no_link = xyes; then
41537 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41538 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41539 { (exit 1); exit 1; }; }
41540 fi
41541 cat >conftest.$ac_ext <<_ACEOF
41542 /* confdefs.h. */
41543 _ACEOF
41544 cat confdefs.h >>conftest.$ac_ext
41545 cat >>conftest.$ac_ext <<_ACEOF
41546 /* end confdefs.h. */
41547 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41548 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41549 #define $ac_func innocuous_$ac_func
41550
41551 /* System header to define __stub macros and hopefully few prototypes,
41552 which can conflict with char $ac_func (); below.
41553 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41554 <limits.h> exists even on freestanding compilers. */
41555
41556 #ifdef __STDC__
41557 # include <limits.h>
41558 #else
41559 # include <assert.h>
41560 #endif
41561
41562 #undef $ac_func
41563
41564 /* Override any gcc2 internal prototype to avoid an error. */
41565 #ifdef __cplusplus
41566 extern "C"
41567 {
41568 #endif
41569 /* We use char because int might match the return type of a gcc2
41570 builtin and then its argument prototype would still apply. */
41571 char $ac_func ();
41572 /* The GNU C library defines this for functions which it implements
41573 to always fail with ENOSYS. Some functions are actually named
41574 something starting with __ and the normal name is an alias. */
41575 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41576 choke me
41577 #else
41578 char (*f) () = $ac_func;
41579 #endif
41580 #ifdef __cplusplus
41581 }
41582 #endif
41583
41584 int
41585 main ()
41586 {
41587 return f != $ac_func;
41588 ;
41589 return 0;
41590 }
41591 _ACEOF
41592 rm -f conftest.$ac_objext conftest$ac_exeext
41593 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41594 (eval $ac_link) 2>conftest.er1
41595 ac_status=$?
41596 grep -v '^ *+' conftest.er1 >conftest.err
41597 rm -f conftest.er1
41598 cat conftest.err >&5
41599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41600 (exit $ac_status); } &&
41601 { ac_try='test -z "$ac_c_werror_flag"
41602 || test ! -s conftest.err'
41603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41604 (eval $ac_try) 2>&5
41605 ac_status=$?
41606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41607 (exit $ac_status); }; } &&
41608 { ac_try='test -s conftest$ac_exeext'
41609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41610 (eval $ac_try) 2>&5
41611 ac_status=$?
41612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41613 (exit $ac_status); }; }; then
41614 eval "$as_ac_var=yes"
41615 else
41616 echo "$as_me: failed program was:" >&5
41617 sed 's/^/| /' conftest.$ac_ext >&5
41618
41619 eval "$as_ac_var=no"
41620 fi
41621 rm -f conftest.err conftest.$ac_objext \
41622 conftest$ac_exeext conftest.$ac_ext
41623 fi
41624 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41625 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41626 if test `eval echo '${'$as_ac_var'}'` = yes; then
41627 cat >>confdefs.h <<_ACEOF
41628 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41629 _ACEOF
41630
41631 fi
41632 done
41633
41634 fi
41635 fi
41636
41637
41638
41639
41640
41641
41642
41643
41644
41645
41646
41647
41648
41649
41650 echo "$as_me:$LINENO: checking for long double round functions" >&5
41651 echo $ECHO_N "checking for long double round functions... $ECHO_C" >&6
41652 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then
41653 echo $ECHO_N "(cached) $ECHO_C" >&6
41654 else
41655
41656
41657
41658 ac_ext=cc
41659 ac_cpp='$CXXCPP $CPPFLAGS'
41660 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41661 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41662 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41663
41664 cat >conftest.$ac_ext <<_ACEOF
41665 /* confdefs.h. */
41666 _ACEOF
41667 cat confdefs.h >>conftest.$ac_ext
41668 cat >>conftest.$ac_ext <<_ACEOF
41669 /* end confdefs.h. */
41670 #include <math.h>
41671 int
41672 main ()
41673 {
41674 ceill (0); floorl (0);
41675 ;
41676 return 0;
41677 }
41678 _ACEOF
41679 rm -f conftest.$ac_objext
41680 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41681 (eval $ac_compile) 2>conftest.er1
41682 ac_status=$?
41683 grep -v '^ *+' conftest.er1 >conftest.err
41684 rm -f conftest.er1
41685 cat conftest.err >&5
41686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41687 (exit $ac_status); } &&
41688 { ac_try='test -z "$ac_cxx_werror_flag"
41689 || test ! -s conftest.err'
41690 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41691 (eval $ac_try) 2>&5
41692 ac_status=$?
41693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41694 (exit $ac_status); }; } &&
41695 { ac_try='test -s conftest.$ac_objext'
41696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41697 (eval $ac_try) 2>&5
41698 ac_status=$?
41699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41700 (exit $ac_status); }; }; then
41701 glibcxx_cv_func_long_double_round_use=yes
41702 else
41703 echo "$as_me: failed program was:" >&5
41704 sed 's/^/| /' conftest.$ac_ext >&5
41705
41706 glibcxx_cv_func_long_double_round_use=no
41707 fi
41708 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41709 ac_ext=c
41710 ac_cpp='$CPP $CPPFLAGS'
41711 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41712 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41713 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41714
41715 fi
41716
41717 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_round_use" >&5
41718 echo "${ECHO_T}$glibcxx_cv_func_long_double_round_use" >&6
41719 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
41720
41721
41722 for ac_func in ceill floorl
41723 do
41724 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41725 echo "$as_me:$LINENO: checking for $ac_func" >&5
41726 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41727 if eval "test \"\${$as_ac_var+set}\" = set"; then
41728 echo $ECHO_N "(cached) $ECHO_C" >&6
41729 else
41730 if test x$gcc_no_link = xyes; then
41731 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41732 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41733 { (exit 1); exit 1; }; }
41734 fi
41735 cat >conftest.$ac_ext <<_ACEOF
41736 /* confdefs.h. */
41737 _ACEOF
41738 cat confdefs.h >>conftest.$ac_ext
41739 cat >>conftest.$ac_ext <<_ACEOF
41740 /* end confdefs.h. */
41741 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41742 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41743 #define $ac_func innocuous_$ac_func
41744
41745 /* System header to define __stub macros and hopefully few prototypes,
41746 which can conflict with char $ac_func (); below.
41747 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41748 <limits.h> exists even on freestanding compilers. */
41749
41750 #ifdef __STDC__
41751 # include <limits.h>
41752 #else
41753 # include <assert.h>
41754 #endif
41755
41756 #undef $ac_func
41757
41758 /* Override any gcc2 internal prototype to avoid an error. */
41759 #ifdef __cplusplus
41760 extern "C"
41761 {
41762 #endif
41763 /* We use char because int might match the return type of a gcc2
41764 builtin and then its argument prototype would still apply. */
41765 char $ac_func ();
41766 /* The GNU C library defines this for functions which it implements
41767 to always fail with ENOSYS. Some functions are actually named
41768 something starting with __ and the normal name is an alias. */
41769 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41770 choke me
41771 #else
41772 char (*f) () = $ac_func;
41773 #endif
41774 #ifdef __cplusplus
41775 }
41776 #endif
41777
41778 int
41779 main ()
41780 {
41781 return f != $ac_func;
41782 ;
41783 return 0;
41784 }
41785 _ACEOF
41786 rm -f conftest.$ac_objext conftest$ac_exeext
41787 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41788 (eval $ac_link) 2>conftest.er1
41789 ac_status=$?
41790 grep -v '^ *+' conftest.er1 >conftest.err
41791 rm -f conftest.er1
41792 cat conftest.err >&5
41793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41794 (exit $ac_status); } &&
41795 { ac_try='test -z "$ac_c_werror_flag"
41796 || test ! -s conftest.err'
41797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41798 (eval $ac_try) 2>&5
41799 ac_status=$?
41800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41801 (exit $ac_status); }; } &&
41802 { ac_try='test -s conftest$ac_exeext'
41803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41804 (eval $ac_try) 2>&5
41805 ac_status=$?
41806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41807 (exit $ac_status); }; }; then
41808 eval "$as_ac_var=yes"
41809 else
41810 echo "$as_me: failed program was:" >&5
41811 sed 's/^/| /' conftest.$ac_ext >&5
41812
41813 eval "$as_ac_var=no"
41814 fi
41815 rm -f conftest.err conftest.$ac_objext \
41816 conftest$ac_exeext conftest.$ac_ext
41817 fi
41818 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41819 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41820 if test `eval echo '${'$as_ac_var'}'` = yes; then
41821 cat >>confdefs.h <<_ACEOF
41822 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41823 _ACEOF
41824
41825 fi
41826 done
41827
41828 else
41829 echo "$as_me:$LINENO: checking for _long double round functions" >&5
41830 echo $ECHO_N "checking for _long double round functions... $ECHO_C" >&6
41831 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then
41832 echo $ECHO_N "(cached) $ECHO_C" >&6
41833 else
41834
41835
41836
41837 ac_ext=cc
41838 ac_cpp='$CXXCPP $CPPFLAGS'
41839 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41840 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41841 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41842
41843 cat >conftest.$ac_ext <<_ACEOF
41844 /* confdefs.h. */
41845 _ACEOF
41846 cat confdefs.h >>conftest.$ac_ext
41847 cat >>conftest.$ac_ext <<_ACEOF
41848 /* end confdefs.h. */
41849 #include <math.h>
41850 int
41851 main ()
41852 {
41853 _ceill (0); _floorl (0);
41854 ;
41855 return 0;
41856 }
41857 _ACEOF
41858 rm -f conftest.$ac_objext
41859 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41860 (eval $ac_compile) 2>conftest.er1
41861 ac_status=$?
41862 grep -v '^ *+' conftest.er1 >conftest.err
41863 rm -f conftest.er1
41864 cat conftest.err >&5
41865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41866 (exit $ac_status); } &&
41867 { ac_try='test -z "$ac_cxx_werror_flag"
41868 || test ! -s conftest.err'
41869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41870 (eval $ac_try) 2>&5
41871 ac_status=$?
41872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41873 (exit $ac_status); }; } &&
41874 { ac_try='test -s conftest.$ac_objext'
41875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41876 (eval $ac_try) 2>&5
41877 ac_status=$?
41878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41879 (exit $ac_status); }; }; then
41880 glibcxx_cv_func__long_double_round_use=yes
41881 else
41882 echo "$as_me: failed program was:" >&5
41883 sed 's/^/| /' conftest.$ac_ext >&5
41884
41885 glibcxx_cv_func__long_double_round_use=no
41886 fi
41887 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41888 ac_ext=c
41889 ac_cpp='$CPP $CPPFLAGS'
41890 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41891 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41892 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41893
41894 fi
41895
41896 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_round_use" >&5
41897 echo "${ECHO_T}$glibcxx_cv_func__long_double_round_use" >&6
41898 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
41899
41900
41901 for ac_func in _ceill _floorl
41902 do
41903 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41904 echo "$as_me:$LINENO: checking for $ac_func" >&5
41905 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41906 if eval "test \"\${$as_ac_var+set}\" = set"; then
41907 echo $ECHO_N "(cached) $ECHO_C" >&6
41908 else
41909 if test x$gcc_no_link = xyes; then
41910 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41911 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41912 { (exit 1); exit 1; }; }
41913 fi
41914 cat >conftest.$ac_ext <<_ACEOF
41915 /* confdefs.h. */
41916 _ACEOF
41917 cat confdefs.h >>conftest.$ac_ext
41918 cat >>conftest.$ac_ext <<_ACEOF
41919 /* end confdefs.h. */
41920 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41921 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41922 #define $ac_func innocuous_$ac_func
41923
41924 /* System header to define __stub macros and hopefully few prototypes,
41925 which can conflict with char $ac_func (); below.
41926 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41927 <limits.h> exists even on freestanding compilers. */
41928
41929 #ifdef __STDC__
41930 # include <limits.h>
41931 #else
41932 # include <assert.h>
41933 #endif
41934
41935 #undef $ac_func
41936
41937 /* Override any gcc2 internal prototype to avoid an error. */
41938 #ifdef __cplusplus
41939 extern "C"
41940 {
41941 #endif
41942 /* We use char because int might match the return type of a gcc2
41943 builtin and then its argument prototype would still apply. */
41944 char $ac_func ();
41945 /* The GNU C library defines this for functions which it implements
41946 to always fail with ENOSYS. Some functions are actually named
41947 something starting with __ and the normal name is an alias. */
41948 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41949 choke me
41950 #else
41951 char (*f) () = $ac_func;
41952 #endif
41953 #ifdef __cplusplus
41954 }
41955 #endif
41956
41957 int
41958 main ()
41959 {
41960 return f != $ac_func;
41961 ;
41962 return 0;
41963 }
41964 _ACEOF
41965 rm -f conftest.$ac_objext conftest$ac_exeext
41966 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41967 (eval $ac_link) 2>conftest.er1
41968 ac_status=$?
41969 grep -v '^ *+' conftest.er1 >conftest.err
41970 rm -f conftest.er1
41971 cat conftest.err >&5
41972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41973 (exit $ac_status); } &&
41974 { ac_try='test -z "$ac_c_werror_flag"
41975 || test ! -s conftest.err'
41976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41977 (eval $ac_try) 2>&5
41978 ac_status=$?
41979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41980 (exit $ac_status); }; } &&
41981 { ac_try='test -s conftest$ac_exeext'
41982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41983 (eval $ac_try) 2>&5
41984 ac_status=$?
41985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41986 (exit $ac_status); }; }; then
41987 eval "$as_ac_var=yes"
41988 else
41989 echo "$as_me: failed program was:" >&5
41990 sed 's/^/| /' conftest.$ac_ext >&5
41991
41992 eval "$as_ac_var=no"
41993 fi
41994 rm -f conftest.err conftest.$ac_objext \
41995 conftest$ac_exeext conftest.$ac_ext
41996 fi
41997 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41998 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41999 if test `eval echo '${'$as_ac_var'}'` = yes; then
42000 cat >>confdefs.h <<_ACEOF
42001 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42002 _ACEOF
42003
42004 fi
42005 done
42006
42007 fi
42008 fi
42009
42010
42011
42012
42013
42014
42015
42016
42017 echo "$as_me:$LINENO: checking for isnanl declaration" >&5
42018 echo $ECHO_N "checking for isnanl declaration... $ECHO_C" >&6
42019 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
42020 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then
42021 echo $ECHO_N "(cached) $ECHO_C" >&6
42022 else
42023
42024
42025
42026 ac_ext=cc
42027 ac_cpp='$CXXCPP $CPPFLAGS'
42028 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42029 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42030 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42031
42032 cat >conftest.$ac_ext <<_ACEOF
42033 /* confdefs.h. */
42034 _ACEOF
42035 cat confdefs.h >>conftest.$ac_ext
42036 cat >>conftest.$ac_ext <<_ACEOF
42037 /* end confdefs.h. */
42038 #include <math.h>
42039 #ifdef HAVE_IEEEFP_H
42040 #include <ieeefp.h>
42041 #endif
42042
42043 int
42044 main ()
42045 {
42046 isnanl(0);
42047 ;
42048 return 0;
42049 }
42050 _ACEOF
42051 rm -f conftest.$ac_objext
42052 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42053 (eval $ac_compile) 2>conftest.er1
42054 ac_status=$?
42055 grep -v '^ *+' conftest.er1 >conftest.err
42056 rm -f conftest.er1
42057 cat conftest.err >&5
42058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42059 (exit $ac_status); } &&
42060 { ac_try='test -z "$ac_cxx_werror_flag"
42061 || test ! -s conftest.err'
42062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42063 (eval $ac_try) 2>&5
42064 ac_status=$?
42065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42066 (exit $ac_status); }; } &&
42067 { ac_try='test -s conftest.$ac_objext'
42068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42069 (eval $ac_try) 2>&5
42070 ac_status=$?
42071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42072 (exit $ac_status); }; }; then
42073 glibcxx_cv_func_isnanl_use=yes
42074 else
42075 echo "$as_me: failed program was:" >&5
42076 sed 's/^/| /' conftest.$ac_ext >&5
42077
42078 glibcxx_cv_func_isnanl_use=no
42079 fi
42080 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42081 ac_ext=c
42082 ac_cpp='$CPP $CPPFLAGS'
42083 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42084 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42085 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42086
42087
42088 fi
42089
42090 fi
42091 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanl_use" >&5
42092 echo "${ECHO_T}$glibcxx_cv_func_isnanl_use" >&6
42093
42094 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
42095
42096 for ac_func in isnanl
42097 do
42098 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42099 echo "$as_me:$LINENO: checking for $ac_func" >&5
42100 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42101 if eval "test \"\${$as_ac_var+set}\" = set"; then
42102 echo $ECHO_N "(cached) $ECHO_C" >&6
42103 else
42104 if test x$gcc_no_link = xyes; then
42105 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42106 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42107 { (exit 1); exit 1; }; }
42108 fi
42109 cat >conftest.$ac_ext <<_ACEOF
42110 /* confdefs.h. */
42111 _ACEOF
42112 cat confdefs.h >>conftest.$ac_ext
42113 cat >>conftest.$ac_ext <<_ACEOF
42114 /* end confdefs.h. */
42115 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42116 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42117 #define $ac_func innocuous_$ac_func
42118
42119 /* System header to define __stub macros and hopefully few prototypes,
42120 which can conflict with char $ac_func (); below.
42121 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42122 <limits.h> exists even on freestanding compilers. */
42123
42124 #ifdef __STDC__
42125 # include <limits.h>
42126 #else
42127 # include <assert.h>
42128 #endif
42129
42130 #undef $ac_func
42131
42132 /* Override any gcc2 internal prototype to avoid an error. */
42133 #ifdef __cplusplus
42134 extern "C"
42135 {
42136 #endif
42137 /* We use char because int might match the return type of a gcc2
42138 builtin and then its argument prototype would still apply. */
42139 char $ac_func ();
42140 /* The GNU C library defines this for functions which it implements
42141 to always fail with ENOSYS. Some functions are actually named
42142 something starting with __ and the normal name is an alias. */
42143 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42144 choke me
42145 #else
42146 char (*f) () = $ac_func;
42147 #endif
42148 #ifdef __cplusplus
42149 }
42150 #endif
42151
42152 int
42153 main ()
42154 {
42155 return f != $ac_func;
42156 ;
42157 return 0;
42158 }
42159 _ACEOF
42160 rm -f conftest.$ac_objext conftest$ac_exeext
42161 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42162 (eval $ac_link) 2>conftest.er1
42163 ac_status=$?
42164 grep -v '^ *+' conftest.er1 >conftest.err
42165 rm -f conftest.er1
42166 cat conftest.err >&5
42167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42168 (exit $ac_status); } &&
42169 { ac_try='test -z "$ac_c_werror_flag"
42170 || test ! -s conftest.err'
42171 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42172 (eval $ac_try) 2>&5
42173 ac_status=$?
42174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42175 (exit $ac_status); }; } &&
42176 { ac_try='test -s conftest$ac_exeext'
42177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42178 (eval $ac_try) 2>&5
42179 ac_status=$?
42180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42181 (exit $ac_status); }; }; then
42182 eval "$as_ac_var=yes"
42183 else
42184 echo "$as_me: failed program was:" >&5
42185 sed 's/^/| /' conftest.$ac_ext >&5
42186
42187 eval "$as_ac_var=no"
42188 fi
42189 rm -f conftest.err conftest.$ac_objext \
42190 conftest$ac_exeext conftest.$ac_ext
42191 fi
42192 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42193 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42194 if test `eval echo '${'$as_ac_var'}'` = yes; then
42195 cat >>confdefs.h <<_ACEOF
42196 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42197 _ACEOF
42198
42199 fi
42200 done
42201
42202 else
42203
42204 echo "$as_me:$LINENO: checking for _isnanl declaration" >&5
42205 echo $ECHO_N "checking for _isnanl declaration... $ECHO_C" >&6
42206 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
42207 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then
42208 echo $ECHO_N "(cached) $ECHO_C" >&6
42209 else
42210
42211
42212
42213 ac_ext=cc
42214 ac_cpp='$CXXCPP $CPPFLAGS'
42215 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42216 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42217 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42218
42219 cat >conftest.$ac_ext <<_ACEOF
42220 /* confdefs.h. */
42221 _ACEOF
42222 cat confdefs.h >>conftest.$ac_ext
42223 cat >>conftest.$ac_ext <<_ACEOF
42224 /* end confdefs.h. */
42225 #include <math.h>
42226 #ifdef HAVE_IEEEFP_H
42227 #include <ieeefp.h>
42228 #endif
42229
42230 int
42231 main ()
42232 {
42233 _isnanl(0);
42234 ;
42235 return 0;
42236 }
42237 _ACEOF
42238 rm -f conftest.$ac_objext
42239 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42240 (eval $ac_compile) 2>conftest.er1
42241 ac_status=$?
42242 grep -v '^ *+' conftest.er1 >conftest.err
42243 rm -f conftest.er1
42244 cat conftest.err >&5
42245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42246 (exit $ac_status); } &&
42247 { ac_try='test -z "$ac_cxx_werror_flag"
42248 || test ! -s conftest.err'
42249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42250 (eval $ac_try) 2>&5
42251 ac_status=$?
42252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42253 (exit $ac_status); }; } &&
42254 { ac_try='test -s conftest.$ac_objext'
42255 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42256 (eval $ac_try) 2>&5
42257 ac_status=$?
42258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42259 (exit $ac_status); }; }; then
42260 glibcxx_cv_func__isnanl_use=yes
42261 else
42262 echo "$as_me: failed program was:" >&5
42263 sed 's/^/| /' conftest.$ac_ext >&5
42264
42265 glibcxx_cv_func__isnanl_use=no
42266 fi
42267 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42268 ac_ext=c
42269 ac_cpp='$CPP $CPPFLAGS'
42270 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42271 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42272 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42273
42274
42275 fi
42276
42277 fi
42278 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanl_use" >&5
42279 echo "${ECHO_T}$glibcxx_cv_func__isnanl_use" >&6
42280
42281 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
42282
42283 for ac_func in _isnanl
42284 do
42285 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42286 echo "$as_me:$LINENO: checking for $ac_func" >&5
42287 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42288 if eval "test \"\${$as_ac_var+set}\" = set"; then
42289 echo $ECHO_N "(cached) $ECHO_C" >&6
42290 else
42291 if test x$gcc_no_link = xyes; then
42292 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42293 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42294 { (exit 1); exit 1; }; }
42295 fi
42296 cat >conftest.$ac_ext <<_ACEOF
42297 /* confdefs.h. */
42298 _ACEOF
42299 cat confdefs.h >>conftest.$ac_ext
42300 cat >>conftest.$ac_ext <<_ACEOF
42301 /* end confdefs.h. */
42302 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42303 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42304 #define $ac_func innocuous_$ac_func
42305
42306 /* System header to define __stub macros and hopefully few prototypes,
42307 which can conflict with char $ac_func (); below.
42308 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42309 <limits.h> exists even on freestanding compilers. */
42310
42311 #ifdef __STDC__
42312 # include <limits.h>
42313 #else
42314 # include <assert.h>
42315 #endif
42316
42317 #undef $ac_func
42318
42319 /* Override any gcc2 internal prototype to avoid an error. */
42320 #ifdef __cplusplus
42321 extern "C"
42322 {
42323 #endif
42324 /* We use char because int might match the return type of a gcc2
42325 builtin and then its argument prototype would still apply. */
42326 char $ac_func ();
42327 /* The GNU C library defines this for functions which it implements
42328 to always fail with ENOSYS. Some functions are actually named
42329 something starting with __ and the normal name is an alias. */
42330 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42331 choke me
42332 #else
42333 char (*f) () = $ac_func;
42334 #endif
42335 #ifdef __cplusplus
42336 }
42337 #endif
42338
42339 int
42340 main ()
42341 {
42342 return f != $ac_func;
42343 ;
42344 return 0;
42345 }
42346 _ACEOF
42347 rm -f conftest.$ac_objext conftest$ac_exeext
42348 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42349 (eval $ac_link) 2>conftest.er1
42350 ac_status=$?
42351 grep -v '^ *+' conftest.er1 >conftest.err
42352 rm -f conftest.er1
42353 cat conftest.err >&5
42354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42355 (exit $ac_status); } &&
42356 { ac_try='test -z "$ac_c_werror_flag"
42357 || test ! -s conftest.err'
42358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42359 (eval $ac_try) 2>&5
42360 ac_status=$?
42361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42362 (exit $ac_status); }; } &&
42363 { ac_try='test -s conftest$ac_exeext'
42364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42365 (eval $ac_try) 2>&5
42366 ac_status=$?
42367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42368 (exit $ac_status); }; }; then
42369 eval "$as_ac_var=yes"
42370 else
42371 echo "$as_me: failed program was:" >&5
42372 sed 's/^/| /' conftest.$ac_ext >&5
42373
42374 eval "$as_ac_var=no"
42375 fi
42376 rm -f conftest.err conftest.$ac_objext \
42377 conftest$ac_exeext conftest.$ac_ext
42378 fi
42379 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42380 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42381 if test `eval echo '${'$as_ac_var'}'` = yes; then
42382 cat >>confdefs.h <<_ACEOF
42383 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42384 _ACEOF
42385
42386 fi
42387 done
42388
42389 fi
42390 fi
42391
42392
42393
42394
42395
42396
42397 echo "$as_me:$LINENO: checking for isinfl declaration" >&5
42398 echo $ECHO_N "checking for isinfl declaration... $ECHO_C" >&6
42399 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
42400 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then
42401 echo $ECHO_N "(cached) $ECHO_C" >&6
42402 else
42403
42404
42405
42406 ac_ext=cc
42407 ac_cpp='$CXXCPP $CPPFLAGS'
42408 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42409 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42410 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42411
42412 cat >conftest.$ac_ext <<_ACEOF
42413 /* confdefs.h. */
42414 _ACEOF
42415 cat confdefs.h >>conftest.$ac_ext
42416 cat >>conftest.$ac_ext <<_ACEOF
42417 /* end confdefs.h. */
42418 #include <math.h>
42419 #ifdef HAVE_IEEEFP_H
42420 #include <ieeefp.h>
42421 #endif
42422
42423 int
42424 main ()
42425 {
42426 isinfl(0);
42427 ;
42428 return 0;
42429 }
42430 _ACEOF
42431 rm -f conftest.$ac_objext
42432 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42433 (eval $ac_compile) 2>conftest.er1
42434 ac_status=$?
42435 grep -v '^ *+' conftest.er1 >conftest.err
42436 rm -f conftest.er1
42437 cat conftest.err >&5
42438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42439 (exit $ac_status); } &&
42440 { ac_try='test -z "$ac_cxx_werror_flag"
42441 || test ! -s conftest.err'
42442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42443 (eval $ac_try) 2>&5
42444 ac_status=$?
42445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42446 (exit $ac_status); }; } &&
42447 { ac_try='test -s conftest.$ac_objext'
42448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42449 (eval $ac_try) 2>&5
42450 ac_status=$?
42451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42452 (exit $ac_status); }; }; then
42453 glibcxx_cv_func_isinfl_use=yes
42454 else
42455 echo "$as_me: failed program was:" >&5
42456 sed 's/^/| /' conftest.$ac_ext >&5
42457
42458 glibcxx_cv_func_isinfl_use=no
42459 fi
42460 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42461 ac_ext=c
42462 ac_cpp='$CPP $CPPFLAGS'
42463 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42464 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42465 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42466
42467
42468 fi
42469
42470 fi
42471 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinfl_use" >&5
42472 echo "${ECHO_T}$glibcxx_cv_func_isinfl_use" >&6
42473
42474 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
42475
42476 for ac_func in isinfl
42477 do
42478 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42479 echo "$as_me:$LINENO: checking for $ac_func" >&5
42480 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42481 if eval "test \"\${$as_ac_var+set}\" = set"; then
42482 echo $ECHO_N "(cached) $ECHO_C" >&6
42483 else
42484 if test x$gcc_no_link = xyes; then
42485 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42486 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42487 { (exit 1); exit 1; }; }
42488 fi
42489 cat >conftest.$ac_ext <<_ACEOF
42490 /* confdefs.h. */
42491 _ACEOF
42492 cat confdefs.h >>conftest.$ac_ext
42493 cat >>conftest.$ac_ext <<_ACEOF
42494 /* end confdefs.h. */
42495 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42496 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42497 #define $ac_func innocuous_$ac_func
42498
42499 /* System header to define __stub macros and hopefully few prototypes,
42500 which can conflict with char $ac_func (); below.
42501 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42502 <limits.h> exists even on freestanding compilers. */
42503
42504 #ifdef __STDC__
42505 # include <limits.h>
42506 #else
42507 # include <assert.h>
42508 #endif
42509
42510 #undef $ac_func
42511
42512 /* Override any gcc2 internal prototype to avoid an error. */
42513 #ifdef __cplusplus
42514 extern "C"
42515 {
42516 #endif
42517 /* We use char because int might match the return type of a gcc2
42518 builtin and then its argument prototype would still apply. */
42519 char $ac_func ();
42520 /* The GNU C library defines this for functions which it implements
42521 to always fail with ENOSYS. Some functions are actually named
42522 something starting with __ and the normal name is an alias. */
42523 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42524 choke me
42525 #else
42526 char (*f) () = $ac_func;
42527 #endif
42528 #ifdef __cplusplus
42529 }
42530 #endif
42531
42532 int
42533 main ()
42534 {
42535 return f != $ac_func;
42536 ;
42537 return 0;
42538 }
42539 _ACEOF
42540 rm -f conftest.$ac_objext conftest$ac_exeext
42541 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42542 (eval $ac_link) 2>conftest.er1
42543 ac_status=$?
42544 grep -v '^ *+' conftest.er1 >conftest.err
42545 rm -f conftest.er1
42546 cat conftest.err >&5
42547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42548 (exit $ac_status); } &&
42549 { ac_try='test -z "$ac_c_werror_flag"
42550 || test ! -s conftest.err'
42551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42552 (eval $ac_try) 2>&5
42553 ac_status=$?
42554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42555 (exit $ac_status); }; } &&
42556 { ac_try='test -s conftest$ac_exeext'
42557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42558 (eval $ac_try) 2>&5
42559 ac_status=$?
42560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42561 (exit $ac_status); }; }; then
42562 eval "$as_ac_var=yes"
42563 else
42564 echo "$as_me: failed program was:" >&5
42565 sed 's/^/| /' conftest.$ac_ext >&5
42566
42567 eval "$as_ac_var=no"
42568 fi
42569 rm -f conftest.err conftest.$ac_objext \
42570 conftest$ac_exeext conftest.$ac_ext
42571 fi
42572 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42573 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42574 if test `eval echo '${'$as_ac_var'}'` = yes; then
42575 cat >>confdefs.h <<_ACEOF
42576 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42577 _ACEOF
42578
42579 fi
42580 done
42581
42582 else
42583
42584 echo "$as_me:$LINENO: checking for _isinfl declaration" >&5
42585 echo $ECHO_N "checking for _isinfl declaration... $ECHO_C" >&6
42586 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
42587 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then
42588 echo $ECHO_N "(cached) $ECHO_C" >&6
42589 else
42590
42591
42592
42593 ac_ext=cc
42594 ac_cpp='$CXXCPP $CPPFLAGS'
42595 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42596 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42597 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42598
42599 cat >conftest.$ac_ext <<_ACEOF
42600 /* confdefs.h. */
42601 _ACEOF
42602 cat confdefs.h >>conftest.$ac_ext
42603 cat >>conftest.$ac_ext <<_ACEOF
42604 /* end confdefs.h. */
42605 #include <math.h>
42606 #ifdef HAVE_IEEEFP_H
42607 #include <ieeefp.h>
42608 #endif
42609
42610 int
42611 main ()
42612 {
42613 _isinfl(0);
42614 ;
42615 return 0;
42616 }
42617 _ACEOF
42618 rm -f conftest.$ac_objext
42619 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42620 (eval $ac_compile) 2>conftest.er1
42621 ac_status=$?
42622 grep -v '^ *+' conftest.er1 >conftest.err
42623 rm -f conftest.er1
42624 cat conftest.err >&5
42625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42626 (exit $ac_status); } &&
42627 { ac_try='test -z "$ac_cxx_werror_flag"
42628 || test ! -s conftest.err'
42629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42630 (eval $ac_try) 2>&5
42631 ac_status=$?
42632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42633 (exit $ac_status); }; } &&
42634 { ac_try='test -s conftest.$ac_objext'
42635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42636 (eval $ac_try) 2>&5
42637 ac_status=$?
42638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42639 (exit $ac_status); }; }; then
42640 glibcxx_cv_func__isinfl_use=yes
42641 else
42642 echo "$as_me: failed program was:" >&5
42643 sed 's/^/| /' conftest.$ac_ext >&5
42644
42645 glibcxx_cv_func__isinfl_use=no
42646 fi
42647 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42648 ac_ext=c
42649 ac_cpp='$CPP $CPPFLAGS'
42650 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42651 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42652 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42653
42654
42655 fi
42656
42657 fi
42658 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinfl_use" >&5
42659 echo "${ECHO_T}$glibcxx_cv_func__isinfl_use" >&6
42660
42661 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
42662
42663 for ac_func in _isinfl
42664 do
42665 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42666 echo "$as_me:$LINENO: checking for $ac_func" >&5
42667 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42668 if eval "test \"\${$as_ac_var+set}\" = set"; then
42669 echo $ECHO_N "(cached) $ECHO_C" >&6
42670 else
42671 if test x$gcc_no_link = xyes; then
42672 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42673 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42674 { (exit 1); exit 1; }; }
42675 fi
42676 cat >conftest.$ac_ext <<_ACEOF
42677 /* confdefs.h. */
42678 _ACEOF
42679 cat confdefs.h >>conftest.$ac_ext
42680 cat >>conftest.$ac_ext <<_ACEOF
42681 /* end confdefs.h. */
42682 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42683 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42684 #define $ac_func innocuous_$ac_func
42685
42686 /* System header to define __stub macros and hopefully few prototypes,
42687 which can conflict with char $ac_func (); below.
42688 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42689 <limits.h> exists even on freestanding compilers. */
42690
42691 #ifdef __STDC__
42692 # include <limits.h>
42693 #else
42694 # include <assert.h>
42695 #endif
42696
42697 #undef $ac_func
42698
42699 /* Override any gcc2 internal prototype to avoid an error. */
42700 #ifdef __cplusplus
42701 extern "C"
42702 {
42703 #endif
42704 /* We use char because int might match the return type of a gcc2
42705 builtin and then its argument prototype would still apply. */
42706 char $ac_func ();
42707 /* The GNU C library defines this for functions which it implements
42708 to always fail with ENOSYS. Some functions are actually named
42709 something starting with __ and the normal name is an alias. */
42710 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42711 choke me
42712 #else
42713 char (*f) () = $ac_func;
42714 #endif
42715 #ifdef __cplusplus
42716 }
42717 #endif
42718
42719 int
42720 main ()
42721 {
42722 return f != $ac_func;
42723 ;
42724 return 0;
42725 }
42726 _ACEOF
42727 rm -f conftest.$ac_objext conftest$ac_exeext
42728 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42729 (eval $ac_link) 2>conftest.er1
42730 ac_status=$?
42731 grep -v '^ *+' conftest.er1 >conftest.err
42732 rm -f conftest.er1
42733 cat conftest.err >&5
42734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42735 (exit $ac_status); } &&
42736 { ac_try='test -z "$ac_c_werror_flag"
42737 || test ! -s conftest.err'
42738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42739 (eval $ac_try) 2>&5
42740 ac_status=$?
42741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42742 (exit $ac_status); }; } &&
42743 { ac_try='test -s conftest$ac_exeext'
42744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42745 (eval $ac_try) 2>&5
42746 ac_status=$?
42747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42748 (exit $ac_status); }; }; then
42749 eval "$as_ac_var=yes"
42750 else
42751 echo "$as_me: failed program was:" >&5
42752 sed 's/^/| /' conftest.$ac_ext >&5
42753
42754 eval "$as_ac_var=no"
42755 fi
42756 rm -f conftest.err conftest.$ac_objext \
42757 conftest$ac_exeext conftest.$ac_ext
42758 fi
42759 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42760 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42761 if test `eval echo '${'$as_ac_var'}'` = yes; then
42762 cat >>confdefs.h <<_ACEOF
42763 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42764 _ACEOF
42765
42766 fi
42767 done
42768
42769 fi
42770 fi
42771
42772
42773
42774
42775
42776
42777 echo "$as_me:$LINENO: checking for copysignl declaration" >&5
42778 echo $ECHO_N "checking for copysignl declaration... $ECHO_C" >&6
42779 if test x${glibcxx_cv_func_copysignl_use+set} != xset; then
42780 if test "${glibcxx_cv_func_copysignl_use+set}" = set; then
42781 echo $ECHO_N "(cached) $ECHO_C" >&6
42782 else
42783
42784
42785
42786 ac_ext=cc
42787 ac_cpp='$CXXCPP $CPPFLAGS'
42788 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42789 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42790 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42791
42792 cat >conftest.$ac_ext <<_ACEOF
42793 /* confdefs.h. */
42794 _ACEOF
42795 cat confdefs.h >>conftest.$ac_ext
42796 cat >>conftest.$ac_ext <<_ACEOF
42797 /* end confdefs.h. */
42798 #include <math.h>
42799 int
42800 main ()
42801 {
42802 copysignl(0, 0);
42803 ;
42804 return 0;
42805 }
42806 _ACEOF
42807 rm -f conftest.$ac_objext
42808 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42809 (eval $ac_compile) 2>conftest.er1
42810 ac_status=$?
42811 grep -v '^ *+' conftest.er1 >conftest.err
42812 rm -f conftest.er1
42813 cat conftest.err >&5
42814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42815 (exit $ac_status); } &&
42816 { ac_try='test -z "$ac_cxx_werror_flag"
42817 || test ! -s conftest.err'
42818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42819 (eval $ac_try) 2>&5
42820 ac_status=$?
42821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42822 (exit $ac_status); }; } &&
42823 { ac_try='test -s conftest.$ac_objext'
42824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42825 (eval $ac_try) 2>&5
42826 ac_status=$?
42827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42828 (exit $ac_status); }; }; then
42829 glibcxx_cv_func_copysignl_use=yes
42830 else
42831 echo "$as_me: failed program was:" >&5
42832 sed 's/^/| /' conftest.$ac_ext >&5
42833
42834 glibcxx_cv_func_copysignl_use=no
42835 fi
42836 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42837 ac_ext=c
42838 ac_cpp='$CPP $CPPFLAGS'
42839 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42840 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42841 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42842
42843
42844 fi
42845
42846 fi
42847 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysignl_use" >&5
42848 echo "${ECHO_T}$glibcxx_cv_func_copysignl_use" >&6
42849
42850 if test x$glibcxx_cv_func_copysignl_use = x"yes"; then
42851
42852 for ac_func in copysignl
42853 do
42854 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42855 echo "$as_me:$LINENO: checking for $ac_func" >&5
42856 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42857 if eval "test \"\${$as_ac_var+set}\" = set"; then
42858 echo $ECHO_N "(cached) $ECHO_C" >&6
42859 else
42860 if test x$gcc_no_link = xyes; then
42861 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42862 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42863 { (exit 1); exit 1; }; }
42864 fi
42865 cat >conftest.$ac_ext <<_ACEOF
42866 /* confdefs.h. */
42867 _ACEOF
42868 cat confdefs.h >>conftest.$ac_ext
42869 cat >>conftest.$ac_ext <<_ACEOF
42870 /* end confdefs.h. */
42871 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42872 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42873 #define $ac_func innocuous_$ac_func
42874
42875 /* System header to define __stub macros and hopefully few prototypes,
42876 which can conflict with char $ac_func (); below.
42877 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42878 <limits.h> exists even on freestanding compilers. */
42879
42880 #ifdef __STDC__
42881 # include <limits.h>
42882 #else
42883 # include <assert.h>
42884 #endif
42885
42886 #undef $ac_func
42887
42888 /* Override any gcc2 internal prototype to avoid an error. */
42889 #ifdef __cplusplus
42890 extern "C"
42891 {
42892 #endif
42893 /* We use char because int might match the return type of a gcc2
42894 builtin and then its argument prototype would still apply. */
42895 char $ac_func ();
42896 /* The GNU C library defines this for functions which it implements
42897 to always fail with ENOSYS. Some functions are actually named
42898 something starting with __ and the normal name is an alias. */
42899 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42900 choke me
42901 #else
42902 char (*f) () = $ac_func;
42903 #endif
42904 #ifdef __cplusplus
42905 }
42906 #endif
42907
42908 int
42909 main ()
42910 {
42911 return f != $ac_func;
42912 ;
42913 return 0;
42914 }
42915 _ACEOF
42916 rm -f conftest.$ac_objext conftest$ac_exeext
42917 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42918 (eval $ac_link) 2>conftest.er1
42919 ac_status=$?
42920 grep -v '^ *+' conftest.er1 >conftest.err
42921 rm -f conftest.er1
42922 cat conftest.err >&5
42923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42924 (exit $ac_status); } &&
42925 { ac_try='test -z "$ac_c_werror_flag"
42926 || test ! -s conftest.err'
42927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42928 (eval $ac_try) 2>&5
42929 ac_status=$?
42930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42931 (exit $ac_status); }; } &&
42932 { ac_try='test -s conftest$ac_exeext'
42933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42934 (eval $ac_try) 2>&5
42935 ac_status=$?
42936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42937 (exit $ac_status); }; }; then
42938 eval "$as_ac_var=yes"
42939 else
42940 echo "$as_me: failed program was:" >&5
42941 sed 's/^/| /' conftest.$ac_ext >&5
42942
42943 eval "$as_ac_var=no"
42944 fi
42945 rm -f conftest.err conftest.$ac_objext \
42946 conftest$ac_exeext conftest.$ac_ext
42947 fi
42948 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42949 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42950 if test `eval echo '${'$as_ac_var'}'` = yes; then
42951 cat >>confdefs.h <<_ACEOF
42952 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42953 _ACEOF
42954
42955 fi
42956 done
42957
42958 else
42959
42960 echo "$as_me:$LINENO: checking for _copysignl declaration" >&5
42961 echo $ECHO_N "checking for _copysignl declaration... $ECHO_C" >&6
42962 if test x${glibcxx_cv_func__copysignl_use+set} != xset; then
42963 if test "${glibcxx_cv_func__copysignl_use+set}" = set; then
42964 echo $ECHO_N "(cached) $ECHO_C" >&6
42965 else
42966
42967
42968
42969 ac_ext=cc
42970 ac_cpp='$CXXCPP $CPPFLAGS'
42971 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42972 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42973 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42974
42975 cat >conftest.$ac_ext <<_ACEOF
42976 /* confdefs.h. */
42977 _ACEOF
42978 cat confdefs.h >>conftest.$ac_ext
42979 cat >>conftest.$ac_ext <<_ACEOF
42980 /* end confdefs.h. */
42981 #include <math.h>
42982 int
42983 main ()
42984 {
42985 _copysignl(0, 0);
42986 ;
42987 return 0;
42988 }
42989 _ACEOF
42990 rm -f conftest.$ac_objext
42991 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42992 (eval $ac_compile) 2>conftest.er1
42993 ac_status=$?
42994 grep -v '^ *+' conftest.er1 >conftest.err
42995 rm -f conftest.er1
42996 cat conftest.err >&5
42997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42998 (exit $ac_status); } &&
42999 { ac_try='test -z "$ac_cxx_werror_flag"
43000 || test ! -s conftest.err'
43001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43002 (eval $ac_try) 2>&5
43003 ac_status=$?
43004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43005 (exit $ac_status); }; } &&
43006 { ac_try='test -s conftest.$ac_objext'
43007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43008 (eval $ac_try) 2>&5
43009 ac_status=$?
43010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43011 (exit $ac_status); }; }; then
43012 glibcxx_cv_func__copysignl_use=yes
43013 else
43014 echo "$as_me: failed program was:" >&5
43015 sed 's/^/| /' conftest.$ac_ext >&5
43016
43017 glibcxx_cv_func__copysignl_use=no
43018 fi
43019 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43020 ac_ext=c
43021 ac_cpp='$CPP $CPPFLAGS'
43022 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43023 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43024 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43025
43026
43027 fi
43028
43029 fi
43030 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysignl_use" >&5
43031 echo "${ECHO_T}$glibcxx_cv_func__copysignl_use" >&6
43032
43033 if test x$glibcxx_cv_func__copysignl_use = x"yes"; then
43034
43035 for ac_func in _copysignl
43036 do
43037 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43038 echo "$as_me:$LINENO: checking for $ac_func" >&5
43039 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43040 if eval "test \"\${$as_ac_var+set}\" = set"; then
43041 echo $ECHO_N "(cached) $ECHO_C" >&6
43042 else
43043 if test x$gcc_no_link = xyes; then
43044 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43045 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43046 { (exit 1); exit 1; }; }
43047 fi
43048 cat >conftest.$ac_ext <<_ACEOF
43049 /* confdefs.h. */
43050 _ACEOF
43051 cat confdefs.h >>conftest.$ac_ext
43052 cat >>conftest.$ac_ext <<_ACEOF
43053 /* end confdefs.h. */
43054 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43055 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43056 #define $ac_func innocuous_$ac_func
43057
43058 /* System header to define __stub macros and hopefully few prototypes,
43059 which can conflict with char $ac_func (); below.
43060 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43061 <limits.h> exists even on freestanding compilers. */
43062
43063 #ifdef __STDC__
43064 # include <limits.h>
43065 #else
43066 # include <assert.h>
43067 #endif
43068
43069 #undef $ac_func
43070
43071 /* Override any gcc2 internal prototype to avoid an error. */
43072 #ifdef __cplusplus
43073 extern "C"
43074 {
43075 #endif
43076 /* We use char because int might match the return type of a gcc2
43077 builtin and then its argument prototype would still apply. */
43078 char $ac_func ();
43079 /* The GNU C library defines this for functions which it implements
43080 to always fail with ENOSYS. Some functions are actually named
43081 something starting with __ and the normal name is an alias. */
43082 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43083 choke me
43084 #else
43085 char (*f) () = $ac_func;
43086 #endif
43087 #ifdef __cplusplus
43088 }
43089 #endif
43090
43091 int
43092 main ()
43093 {
43094 return f != $ac_func;
43095 ;
43096 return 0;
43097 }
43098 _ACEOF
43099 rm -f conftest.$ac_objext conftest$ac_exeext
43100 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43101 (eval $ac_link) 2>conftest.er1
43102 ac_status=$?
43103 grep -v '^ *+' conftest.er1 >conftest.err
43104 rm -f conftest.er1
43105 cat conftest.err >&5
43106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43107 (exit $ac_status); } &&
43108 { ac_try='test -z "$ac_c_werror_flag"
43109 || test ! -s conftest.err'
43110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43111 (eval $ac_try) 2>&5
43112 ac_status=$?
43113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43114 (exit $ac_status); }; } &&
43115 { ac_try='test -s conftest$ac_exeext'
43116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43117 (eval $ac_try) 2>&5
43118 ac_status=$?
43119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43120 (exit $ac_status); }; }; then
43121 eval "$as_ac_var=yes"
43122 else
43123 echo "$as_me: failed program was:" >&5
43124 sed 's/^/| /' conftest.$ac_ext >&5
43125
43126 eval "$as_ac_var=no"
43127 fi
43128 rm -f conftest.err conftest.$ac_objext \
43129 conftest$ac_exeext conftest.$ac_ext
43130 fi
43131 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43132 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43133 if test `eval echo '${'$as_ac_var'}'` = yes; then
43134 cat >>confdefs.h <<_ACEOF
43135 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43136 _ACEOF
43137
43138 fi
43139 done
43140
43141 fi
43142 fi
43143
43144
43145
43146
43147
43148
43149 echo "$as_me:$LINENO: checking for atan2l declaration" >&5
43150 echo $ECHO_N "checking for atan2l declaration... $ECHO_C" >&6
43151 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
43152 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then
43153 echo $ECHO_N "(cached) $ECHO_C" >&6
43154 else
43155
43156
43157
43158 ac_ext=cc
43159 ac_cpp='$CXXCPP $CPPFLAGS'
43160 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43161 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43162 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43163
43164 cat >conftest.$ac_ext <<_ACEOF
43165 /* confdefs.h. */
43166 _ACEOF
43167 cat confdefs.h >>conftest.$ac_ext
43168 cat >>conftest.$ac_ext <<_ACEOF
43169 /* end confdefs.h. */
43170 #include <math.h>
43171 int
43172 main ()
43173 {
43174 atan2l(0, 0);
43175 ;
43176 return 0;
43177 }
43178 _ACEOF
43179 rm -f conftest.$ac_objext
43180 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43181 (eval $ac_compile) 2>conftest.er1
43182 ac_status=$?
43183 grep -v '^ *+' conftest.er1 >conftest.err
43184 rm -f conftest.er1
43185 cat conftest.err >&5
43186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43187 (exit $ac_status); } &&
43188 { ac_try='test -z "$ac_cxx_werror_flag"
43189 || test ! -s conftest.err'
43190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43191 (eval $ac_try) 2>&5
43192 ac_status=$?
43193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43194 (exit $ac_status); }; } &&
43195 { ac_try='test -s conftest.$ac_objext'
43196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43197 (eval $ac_try) 2>&5
43198 ac_status=$?
43199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43200 (exit $ac_status); }; }; then
43201 glibcxx_cv_func_atan2l_use=yes
43202 else
43203 echo "$as_me: failed program was:" >&5
43204 sed 's/^/| /' conftest.$ac_ext >&5
43205
43206 glibcxx_cv_func_atan2l_use=no
43207 fi
43208 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43209 ac_ext=c
43210 ac_cpp='$CPP $CPPFLAGS'
43211 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43212 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43213 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43214
43215
43216 fi
43217
43218 fi
43219 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2l_use" >&5
43220 echo "${ECHO_T}$glibcxx_cv_func_atan2l_use" >&6
43221
43222 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
43223
43224 for ac_func in atan2l
43225 do
43226 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43227 echo "$as_me:$LINENO: checking for $ac_func" >&5
43228 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43229 if eval "test \"\${$as_ac_var+set}\" = set"; then
43230 echo $ECHO_N "(cached) $ECHO_C" >&6
43231 else
43232 if test x$gcc_no_link = xyes; then
43233 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43234 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43235 { (exit 1); exit 1; }; }
43236 fi
43237 cat >conftest.$ac_ext <<_ACEOF
43238 /* confdefs.h. */
43239 _ACEOF
43240 cat confdefs.h >>conftest.$ac_ext
43241 cat >>conftest.$ac_ext <<_ACEOF
43242 /* end confdefs.h. */
43243 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43244 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43245 #define $ac_func innocuous_$ac_func
43246
43247 /* System header to define __stub macros and hopefully few prototypes,
43248 which can conflict with char $ac_func (); below.
43249 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43250 <limits.h> exists even on freestanding compilers. */
43251
43252 #ifdef __STDC__
43253 # include <limits.h>
43254 #else
43255 # include <assert.h>
43256 #endif
43257
43258 #undef $ac_func
43259
43260 /* Override any gcc2 internal prototype to avoid an error. */
43261 #ifdef __cplusplus
43262 extern "C"
43263 {
43264 #endif
43265 /* We use char because int might match the return type of a gcc2
43266 builtin and then its argument prototype would still apply. */
43267 char $ac_func ();
43268 /* The GNU C library defines this for functions which it implements
43269 to always fail with ENOSYS. Some functions are actually named
43270 something starting with __ and the normal name is an alias. */
43271 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43272 choke me
43273 #else
43274 char (*f) () = $ac_func;
43275 #endif
43276 #ifdef __cplusplus
43277 }
43278 #endif
43279
43280 int
43281 main ()
43282 {
43283 return f != $ac_func;
43284 ;
43285 return 0;
43286 }
43287 _ACEOF
43288 rm -f conftest.$ac_objext conftest$ac_exeext
43289 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43290 (eval $ac_link) 2>conftest.er1
43291 ac_status=$?
43292 grep -v '^ *+' conftest.er1 >conftest.err
43293 rm -f conftest.er1
43294 cat conftest.err >&5
43295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43296 (exit $ac_status); } &&
43297 { ac_try='test -z "$ac_c_werror_flag"
43298 || test ! -s conftest.err'
43299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43300 (eval $ac_try) 2>&5
43301 ac_status=$?
43302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43303 (exit $ac_status); }; } &&
43304 { ac_try='test -s conftest$ac_exeext'
43305 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43306 (eval $ac_try) 2>&5
43307 ac_status=$?
43308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43309 (exit $ac_status); }; }; then
43310 eval "$as_ac_var=yes"
43311 else
43312 echo "$as_me: failed program was:" >&5
43313 sed 's/^/| /' conftest.$ac_ext >&5
43314
43315 eval "$as_ac_var=no"
43316 fi
43317 rm -f conftest.err conftest.$ac_objext \
43318 conftest$ac_exeext conftest.$ac_ext
43319 fi
43320 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43321 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43322 if test `eval echo '${'$as_ac_var'}'` = yes; then
43323 cat >>confdefs.h <<_ACEOF
43324 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43325 _ACEOF
43326
43327 fi
43328 done
43329
43330 else
43331
43332 echo "$as_me:$LINENO: checking for _atan2l declaration" >&5
43333 echo $ECHO_N "checking for _atan2l declaration... $ECHO_C" >&6
43334 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
43335 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then
43336 echo $ECHO_N "(cached) $ECHO_C" >&6
43337 else
43338
43339
43340
43341 ac_ext=cc
43342 ac_cpp='$CXXCPP $CPPFLAGS'
43343 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43344 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43345 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43346
43347 cat >conftest.$ac_ext <<_ACEOF
43348 /* confdefs.h. */
43349 _ACEOF
43350 cat confdefs.h >>conftest.$ac_ext
43351 cat >>conftest.$ac_ext <<_ACEOF
43352 /* end confdefs.h. */
43353 #include <math.h>
43354 int
43355 main ()
43356 {
43357 _atan2l(0, 0);
43358 ;
43359 return 0;
43360 }
43361 _ACEOF
43362 rm -f conftest.$ac_objext
43363 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43364 (eval $ac_compile) 2>conftest.er1
43365 ac_status=$?
43366 grep -v '^ *+' conftest.er1 >conftest.err
43367 rm -f conftest.er1
43368 cat conftest.err >&5
43369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43370 (exit $ac_status); } &&
43371 { ac_try='test -z "$ac_cxx_werror_flag"
43372 || test ! -s conftest.err'
43373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43374 (eval $ac_try) 2>&5
43375 ac_status=$?
43376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43377 (exit $ac_status); }; } &&
43378 { ac_try='test -s conftest.$ac_objext'
43379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43380 (eval $ac_try) 2>&5
43381 ac_status=$?
43382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43383 (exit $ac_status); }; }; then
43384 glibcxx_cv_func__atan2l_use=yes
43385 else
43386 echo "$as_me: failed program was:" >&5
43387 sed 's/^/| /' conftest.$ac_ext >&5
43388
43389 glibcxx_cv_func__atan2l_use=no
43390 fi
43391 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43392 ac_ext=c
43393 ac_cpp='$CPP $CPPFLAGS'
43394 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43395 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43396 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43397
43398
43399 fi
43400
43401 fi
43402 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2l_use" >&5
43403 echo "${ECHO_T}$glibcxx_cv_func__atan2l_use" >&6
43404
43405 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
43406
43407 for ac_func in _atan2l
43408 do
43409 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43410 echo "$as_me:$LINENO: checking for $ac_func" >&5
43411 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43412 if eval "test \"\${$as_ac_var+set}\" = set"; then
43413 echo $ECHO_N "(cached) $ECHO_C" >&6
43414 else
43415 if test x$gcc_no_link = xyes; then
43416 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43417 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43418 { (exit 1); exit 1; }; }
43419 fi
43420 cat >conftest.$ac_ext <<_ACEOF
43421 /* confdefs.h. */
43422 _ACEOF
43423 cat confdefs.h >>conftest.$ac_ext
43424 cat >>conftest.$ac_ext <<_ACEOF
43425 /* end confdefs.h. */
43426 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43427 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43428 #define $ac_func innocuous_$ac_func
43429
43430 /* System header to define __stub macros and hopefully few prototypes,
43431 which can conflict with char $ac_func (); below.
43432 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43433 <limits.h> exists even on freestanding compilers. */
43434
43435 #ifdef __STDC__
43436 # include <limits.h>
43437 #else
43438 # include <assert.h>
43439 #endif
43440
43441 #undef $ac_func
43442
43443 /* Override any gcc2 internal prototype to avoid an error. */
43444 #ifdef __cplusplus
43445 extern "C"
43446 {
43447 #endif
43448 /* We use char because int might match the return type of a gcc2
43449 builtin and then its argument prototype would still apply. */
43450 char $ac_func ();
43451 /* The GNU C library defines this for functions which it implements
43452 to always fail with ENOSYS. Some functions are actually named
43453 something starting with __ and the normal name is an alias. */
43454 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43455 choke me
43456 #else
43457 char (*f) () = $ac_func;
43458 #endif
43459 #ifdef __cplusplus
43460 }
43461 #endif
43462
43463 int
43464 main ()
43465 {
43466 return f != $ac_func;
43467 ;
43468 return 0;
43469 }
43470 _ACEOF
43471 rm -f conftest.$ac_objext conftest$ac_exeext
43472 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43473 (eval $ac_link) 2>conftest.er1
43474 ac_status=$?
43475 grep -v '^ *+' conftest.er1 >conftest.err
43476 rm -f conftest.er1
43477 cat conftest.err >&5
43478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43479 (exit $ac_status); } &&
43480 { ac_try='test -z "$ac_c_werror_flag"
43481 || test ! -s conftest.err'
43482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43483 (eval $ac_try) 2>&5
43484 ac_status=$?
43485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43486 (exit $ac_status); }; } &&
43487 { ac_try='test -s conftest$ac_exeext'
43488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43489 (eval $ac_try) 2>&5
43490 ac_status=$?
43491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43492 (exit $ac_status); }; }; then
43493 eval "$as_ac_var=yes"
43494 else
43495 echo "$as_me: failed program was:" >&5
43496 sed 's/^/| /' conftest.$ac_ext >&5
43497
43498 eval "$as_ac_var=no"
43499 fi
43500 rm -f conftest.err conftest.$ac_objext \
43501 conftest$ac_exeext conftest.$ac_ext
43502 fi
43503 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43504 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43505 if test `eval echo '${'$as_ac_var'}'` = yes; then
43506 cat >>confdefs.h <<_ACEOF
43507 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43508 _ACEOF
43509
43510 fi
43511 done
43512
43513 fi
43514 fi
43515
43516
43517
43518
43519
43520
43521 echo "$as_me:$LINENO: checking for expl declaration" >&5
43522 echo $ECHO_N "checking for expl declaration... $ECHO_C" >&6
43523 if test x${glibcxx_cv_func_expl_use+set} != xset; then
43524 if test "${glibcxx_cv_func_expl_use+set}" = set; then
43525 echo $ECHO_N "(cached) $ECHO_C" >&6
43526 else
43527
43528
43529
43530 ac_ext=cc
43531 ac_cpp='$CXXCPP $CPPFLAGS'
43532 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43533 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43534 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43535
43536 cat >conftest.$ac_ext <<_ACEOF
43537 /* confdefs.h. */
43538 _ACEOF
43539 cat confdefs.h >>conftest.$ac_ext
43540 cat >>conftest.$ac_ext <<_ACEOF
43541 /* end confdefs.h. */
43542 #include <math.h>
43543 #ifdef HAVE_IEEEFP_H
43544 #include <ieeefp.h>
43545 #endif
43546
43547 int
43548 main ()
43549 {
43550 expl(0);
43551 ;
43552 return 0;
43553 }
43554 _ACEOF
43555 rm -f conftest.$ac_objext
43556 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43557 (eval $ac_compile) 2>conftest.er1
43558 ac_status=$?
43559 grep -v '^ *+' conftest.er1 >conftest.err
43560 rm -f conftest.er1
43561 cat conftest.err >&5
43562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43563 (exit $ac_status); } &&
43564 { ac_try='test -z "$ac_cxx_werror_flag"
43565 || test ! -s conftest.err'
43566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43567 (eval $ac_try) 2>&5
43568 ac_status=$?
43569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43570 (exit $ac_status); }; } &&
43571 { ac_try='test -s conftest.$ac_objext'
43572 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43573 (eval $ac_try) 2>&5
43574 ac_status=$?
43575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43576 (exit $ac_status); }; }; then
43577 glibcxx_cv_func_expl_use=yes
43578 else
43579 echo "$as_me: failed program was:" >&5
43580 sed 's/^/| /' conftest.$ac_ext >&5
43581
43582 glibcxx_cv_func_expl_use=no
43583 fi
43584 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43585 ac_ext=c
43586 ac_cpp='$CPP $CPPFLAGS'
43587 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43588 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43589 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43590
43591
43592 fi
43593
43594 fi
43595 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expl_use" >&5
43596 echo "${ECHO_T}$glibcxx_cv_func_expl_use" >&6
43597
43598 if test x$glibcxx_cv_func_expl_use = x"yes"; then
43599
43600 for ac_func in expl
43601 do
43602 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43603 echo "$as_me:$LINENO: checking for $ac_func" >&5
43604 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43605 if eval "test \"\${$as_ac_var+set}\" = set"; then
43606 echo $ECHO_N "(cached) $ECHO_C" >&6
43607 else
43608 if test x$gcc_no_link = xyes; then
43609 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43610 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43611 { (exit 1); exit 1; }; }
43612 fi
43613 cat >conftest.$ac_ext <<_ACEOF
43614 /* confdefs.h. */
43615 _ACEOF
43616 cat confdefs.h >>conftest.$ac_ext
43617 cat >>conftest.$ac_ext <<_ACEOF
43618 /* end confdefs.h. */
43619 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43620 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43621 #define $ac_func innocuous_$ac_func
43622
43623 /* System header to define __stub macros and hopefully few prototypes,
43624 which can conflict with char $ac_func (); below.
43625 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43626 <limits.h> exists even on freestanding compilers. */
43627
43628 #ifdef __STDC__
43629 # include <limits.h>
43630 #else
43631 # include <assert.h>
43632 #endif
43633
43634 #undef $ac_func
43635
43636 /* Override any gcc2 internal prototype to avoid an error. */
43637 #ifdef __cplusplus
43638 extern "C"
43639 {
43640 #endif
43641 /* We use char because int might match the return type of a gcc2
43642 builtin and then its argument prototype would still apply. */
43643 char $ac_func ();
43644 /* The GNU C library defines this for functions which it implements
43645 to always fail with ENOSYS. Some functions are actually named
43646 something starting with __ and the normal name is an alias. */
43647 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43648 choke me
43649 #else
43650 char (*f) () = $ac_func;
43651 #endif
43652 #ifdef __cplusplus
43653 }
43654 #endif
43655
43656 int
43657 main ()
43658 {
43659 return f != $ac_func;
43660 ;
43661 return 0;
43662 }
43663 _ACEOF
43664 rm -f conftest.$ac_objext conftest$ac_exeext
43665 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43666 (eval $ac_link) 2>conftest.er1
43667 ac_status=$?
43668 grep -v '^ *+' conftest.er1 >conftest.err
43669 rm -f conftest.er1
43670 cat conftest.err >&5
43671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43672 (exit $ac_status); } &&
43673 { ac_try='test -z "$ac_c_werror_flag"
43674 || test ! -s conftest.err'
43675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43676 (eval $ac_try) 2>&5
43677 ac_status=$?
43678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43679 (exit $ac_status); }; } &&
43680 { ac_try='test -s conftest$ac_exeext'
43681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43682 (eval $ac_try) 2>&5
43683 ac_status=$?
43684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43685 (exit $ac_status); }; }; then
43686 eval "$as_ac_var=yes"
43687 else
43688 echo "$as_me: failed program was:" >&5
43689 sed 's/^/| /' conftest.$ac_ext >&5
43690
43691 eval "$as_ac_var=no"
43692 fi
43693 rm -f conftest.err conftest.$ac_objext \
43694 conftest$ac_exeext conftest.$ac_ext
43695 fi
43696 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43697 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43698 if test `eval echo '${'$as_ac_var'}'` = yes; then
43699 cat >>confdefs.h <<_ACEOF
43700 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43701 _ACEOF
43702
43703 fi
43704 done
43705
43706 else
43707
43708 echo "$as_me:$LINENO: checking for _expl declaration" >&5
43709 echo $ECHO_N "checking for _expl declaration... $ECHO_C" >&6
43710 if test x${glibcxx_cv_func__expl_use+set} != xset; then
43711 if test "${glibcxx_cv_func__expl_use+set}" = set; then
43712 echo $ECHO_N "(cached) $ECHO_C" >&6
43713 else
43714
43715
43716
43717 ac_ext=cc
43718 ac_cpp='$CXXCPP $CPPFLAGS'
43719 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43720 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43721 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43722
43723 cat >conftest.$ac_ext <<_ACEOF
43724 /* confdefs.h. */
43725 _ACEOF
43726 cat confdefs.h >>conftest.$ac_ext
43727 cat >>conftest.$ac_ext <<_ACEOF
43728 /* end confdefs.h. */
43729 #include <math.h>
43730 #ifdef HAVE_IEEEFP_H
43731 #include <ieeefp.h>
43732 #endif
43733
43734 int
43735 main ()
43736 {
43737 _expl(0);
43738 ;
43739 return 0;
43740 }
43741 _ACEOF
43742 rm -f conftest.$ac_objext
43743 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43744 (eval $ac_compile) 2>conftest.er1
43745 ac_status=$?
43746 grep -v '^ *+' conftest.er1 >conftest.err
43747 rm -f conftest.er1
43748 cat conftest.err >&5
43749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43750 (exit $ac_status); } &&
43751 { ac_try='test -z "$ac_cxx_werror_flag"
43752 || test ! -s conftest.err'
43753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43754 (eval $ac_try) 2>&5
43755 ac_status=$?
43756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43757 (exit $ac_status); }; } &&
43758 { ac_try='test -s conftest.$ac_objext'
43759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43760 (eval $ac_try) 2>&5
43761 ac_status=$?
43762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43763 (exit $ac_status); }; }; then
43764 glibcxx_cv_func__expl_use=yes
43765 else
43766 echo "$as_me: failed program was:" >&5
43767 sed 's/^/| /' conftest.$ac_ext >&5
43768
43769 glibcxx_cv_func__expl_use=no
43770 fi
43771 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43772 ac_ext=c
43773 ac_cpp='$CPP $CPPFLAGS'
43774 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43775 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43776 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43777
43778
43779 fi
43780
43781 fi
43782 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expl_use" >&5
43783 echo "${ECHO_T}$glibcxx_cv_func__expl_use" >&6
43784
43785 if test x$glibcxx_cv_func__expl_use = x"yes"; then
43786
43787 for ac_func in _expl
43788 do
43789 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43790 echo "$as_me:$LINENO: checking for $ac_func" >&5
43791 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43792 if eval "test \"\${$as_ac_var+set}\" = set"; then
43793 echo $ECHO_N "(cached) $ECHO_C" >&6
43794 else
43795 if test x$gcc_no_link = xyes; then
43796 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43797 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43798 { (exit 1); exit 1; }; }
43799 fi
43800 cat >conftest.$ac_ext <<_ACEOF
43801 /* confdefs.h. */
43802 _ACEOF
43803 cat confdefs.h >>conftest.$ac_ext
43804 cat >>conftest.$ac_ext <<_ACEOF
43805 /* end confdefs.h. */
43806 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43807 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43808 #define $ac_func innocuous_$ac_func
43809
43810 /* System header to define __stub macros and hopefully few prototypes,
43811 which can conflict with char $ac_func (); below.
43812 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43813 <limits.h> exists even on freestanding compilers. */
43814
43815 #ifdef __STDC__
43816 # include <limits.h>
43817 #else
43818 # include <assert.h>
43819 #endif
43820
43821 #undef $ac_func
43822
43823 /* Override any gcc2 internal prototype to avoid an error. */
43824 #ifdef __cplusplus
43825 extern "C"
43826 {
43827 #endif
43828 /* We use char because int might match the return type of a gcc2
43829 builtin and then its argument prototype would still apply. */
43830 char $ac_func ();
43831 /* The GNU C library defines this for functions which it implements
43832 to always fail with ENOSYS. Some functions are actually named
43833 something starting with __ and the normal name is an alias. */
43834 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43835 choke me
43836 #else
43837 char (*f) () = $ac_func;
43838 #endif
43839 #ifdef __cplusplus
43840 }
43841 #endif
43842
43843 int
43844 main ()
43845 {
43846 return f != $ac_func;
43847 ;
43848 return 0;
43849 }
43850 _ACEOF
43851 rm -f conftest.$ac_objext conftest$ac_exeext
43852 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43853 (eval $ac_link) 2>conftest.er1
43854 ac_status=$?
43855 grep -v '^ *+' conftest.er1 >conftest.err
43856 rm -f conftest.er1
43857 cat conftest.err >&5
43858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43859 (exit $ac_status); } &&
43860 { ac_try='test -z "$ac_c_werror_flag"
43861 || test ! -s conftest.err'
43862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43863 (eval $ac_try) 2>&5
43864 ac_status=$?
43865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43866 (exit $ac_status); }; } &&
43867 { ac_try='test -s conftest$ac_exeext'
43868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43869 (eval $ac_try) 2>&5
43870 ac_status=$?
43871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43872 (exit $ac_status); }; }; then
43873 eval "$as_ac_var=yes"
43874 else
43875 echo "$as_me: failed program was:" >&5
43876 sed 's/^/| /' conftest.$ac_ext >&5
43877
43878 eval "$as_ac_var=no"
43879 fi
43880 rm -f conftest.err conftest.$ac_objext \
43881 conftest$ac_exeext conftest.$ac_ext
43882 fi
43883 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43884 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43885 if test `eval echo '${'$as_ac_var'}'` = yes; then
43886 cat >>confdefs.h <<_ACEOF
43887 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43888 _ACEOF
43889
43890 fi
43891 done
43892
43893 fi
43894 fi
43895
43896
43897
43898
43899
43900
43901 echo "$as_me:$LINENO: checking for fabsl declaration" >&5
43902 echo $ECHO_N "checking for fabsl declaration... $ECHO_C" >&6
43903 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
43904 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then
43905 echo $ECHO_N "(cached) $ECHO_C" >&6
43906 else
43907
43908
43909
43910 ac_ext=cc
43911 ac_cpp='$CXXCPP $CPPFLAGS'
43912 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43913 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43914 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43915
43916 cat >conftest.$ac_ext <<_ACEOF
43917 /* confdefs.h. */
43918 _ACEOF
43919 cat confdefs.h >>conftest.$ac_ext
43920 cat >>conftest.$ac_ext <<_ACEOF
43921 /* end confdefs.h. */
43922 #include <math.h>
43923 #ifdef HAVE_IEEEFP_H
43924 #include <ieeefp.h>
43925 #endif
43926
43927 int
43928 main ()
43929 {
43930 fabsl(0);
43931 ;
43932 return 0;
43933 }
43934 _ACEOF
43935 rm -f conftest.$ac_objext
43936 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43937 (eval $ac_compile) 2>conftest.er1
43938 ac_status=$?
43939 grep -v '^ *+' conftest.er1 >conftest.err
43940 rm -f conftest.er1
43941 cat conftest.err >&5
43942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43943 (exit $ac_status); } &&
43944 { ac_try='test -z "$ac_cxx_werror_flag"
43945 || test ! -s conftest.err'
43946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43947 (eval $ac_try) 2>&5
43948 ac_status=$?
43949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43950 (exit $ac_status); }; } &&
43951 { ac_try='test -s conftest.$ac_objext'
43952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43953 (eval $ac_try) 2>&5
43954 ac_status=$?
43955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43956 (exit $ac_status); }; }; then
43957 glibcxx_cv_func_fabsl_use=yes
43958 else
43959 echo "$as_me: failed program was:" >&5
43960 sed 's/^/| /' conftest.$ac_ext >&5
43961
43962 glibcxx_cv_func_fabsl_use=no
43963 fi
43964 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43965 ac_ext=c
43966 ac_cpp='$CPP $CPPFLAGS'
43967 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43968 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43969 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43970
43971
43972 fi
43973
43974 fi
43975 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsl_use" >&5
43976 echo "${ECHO_T}$glibcxx_cv_func_fabsl_use" >&6
43977
43978 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
43979
43980 for ac_func in fabsl
43981 do
43982 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43983 echo "$as_me:$LINENO: checking for $ac_func" >&5
43984 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43985 if eval "test \"\${$as_ac_var+set}\" = set"; then
43986 echo $ECHO_N "(cached) $ECHO_C" >&6
43987 else
43988 if test x$gcc_no_link = xyes; then
43989 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43990 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43991 { (exit 1); exit 1; }; }
43992 fi
43993 cat >conftest.$ac_ext <<_ACEOF
43994 /* confdefs.h. */
43995 _ACEOF
43996 cat confdefs.h >>conftest.$ac_ext
43997 cat >>conftest.$ac_ext <<_ACEOF
43998 /* end confdefs.h. */
43999 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44000 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44001 #define $ac_func innocuous_$ac_func
44002
44003 /* System header to define __stub macros and hopefully few prototypes,
44004 which can conflict with char $ac_func (); below.
44005 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44006 <limits.h> exists even on freestanding compilers. */
44007
44008 #ifdef __STDC__
44009 # include <limits.h>
44010 #else
44011 # include <assert.h>
44012 #endif
44013
44014 #undef $ac_func
44015
44016 /* Override any gcc2 internal prototype to avoid an error. */
44017 #ifdef __cplusplus
44018 extern "C"
44019 {
44020 #endif
44021 /* We use char because int might match the return type of a gcc2
44022 builtin and then its argument prototype would still apply. */
44023 char $ac_func ();
44024 /* The GNU C library defines this for functions which it implements
44025 to always fail with ENOSYS. Some functions are actually named
44026 something starting with __ and the normal name is an alias. */
44027 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44028 choke me
44029 #else
44030 char (*f) () = $ac_func;
44031 #endif
44032 #ifdef __cplusplus
44033 }
44034 #endif
44035
44036 int
44037 main ()
44038 {
44039 return f != $ac_func;
44040 ;
44041 return 0;
44042 }
44043 _ACEOF
44044 rm -f conftest.$ac_objext conftest$ac_exeext
44045 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44046 (eval $ac_link) 2>conftest.er1
44047 ac_status=$?
44048 grep -v '^ *+' conftest.er1 >conftest.err
44049 rm -f conftest.er1
44050 cat conftest.err >&5
44051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44052 (exit $ac_status); } &&
44053 { ac_try='test -z "$ac_c_werror_flag"
44054 || test ! -s conftest.err'
44055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44056 (eval $ac_try) 2>&5
44057 ac_status=$?
44058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44059 (exit $ac_status); }; } &&
44060 { ac_try='test -s conftest$ac_exeext'
44061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44062 (eval $ac_try) 2>&5
44063 ac_status=$?
44064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44065 (exit $ac_status); }; }; then
44066 eval "$as_ac_var=yes"
44067 else
44068 echo "$as_me: failed program was:" >&5
44069 sed 's/^/| /' conftest.$ac_ext >&5
44070
44071 eval "$as_ac_var=no"
44072 fi
44073 rm -f conftest.err conftest.$ac_objext \
44074 conftest$ac_exeext conftest.$ac_ext
44075 fi
44076 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44077 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44078 if test `eval echo '${'$as_ac_var'}'` = yes; then
44079 cat >>confdefs.h <<_ACEOF
44080 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44081 _ACEOF
44082
44083 fi
44084 done
44085
44086 else
44087
44088 echo "$as_me:$LINENO: checking for _fabsl declaration" >&5
44089 echo $ECHO_N "checking for _fabsl declaration... $ECHO_C" >&6
44090 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
44091 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then
44092 echo $ECHO_N "(cached) $ECHO_C" >&6
44093 else
44094
44095
44096
44097 ac_ext=cc
44098 ac_cpp='$CXXCPP $CPPFLAGS'
44099 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44100 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44101 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44102
44103 cat >conftest.$ac_ext <<_ACEOF
44104 /* confdefs.h. */
44105 _ACEOF
44106 cat confdefs.h >>conftest.$ac_ext
44107 cat >>conftest.$ac_ext <<_ACEOF
44108 /* end confdefs.h. */
44109 #include <math.h>
44110 #ifdef HAVE_IEEEFP_H
44111 #include <ieeefp.h>
44112 #endif
44113
44114 int
44115 main ()
44116 {
44117 _fabsl(0);
44118 ;
44119 return 0;
44120 }
44121 _ACEOF
44122 rm -f conftest.$ac_objext
44123 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44124 (eval $ac_compile) 2>conftest.er1
44125 ac_status=$?
44126 grep -v '^ *+' conftest.er1 >conftest.err
44127 rm -f conftest.er1
44128 cat conftest.err >&5
44129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44130 (exit $ac_status); } &&
44131 { ac_try='test -z "$ac_cxx_werror_flag"
44132 || test ! -s conftest.err'
44133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44134 (eval $ac_try) 2>&5
44135 ac_status=$?
44136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44137 (exit $ac_status); }; } &&
44138 { ac_try='test -s conftest.$ac_objext'
44139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44140 (eval $ac_try) 2>&5
44141 ac_status=$?
44142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44143 (exit $ac_status); }; }; then
44144 glibcxx_cv_func__fabsl_use=yes
44145 else
44146 echo "$as_me: failed program was:" >&5
44147 sed 's/^/| /' conftest.$ac_ext >&5
44148
44149 glibcxx_cv_func__fabsl_use=no
44150 fi
44151 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44152 ac_ext=c
44153 ac_cpp='$CPP $CPPFLAGS'
44154 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44155 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44156 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44157
44158
44159 fi
44160
44161 fi
44162 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsl_use" >&5
44163 echo "${ECHO_T}$glibcxx_cv_func__fabsl_use" >&6
44164
44165 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
44166
44167 for ac_func in _fabsl
44168 do
44169 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44170 echo "$as_me:$LINENO: checking for $ac_func" >&5
44171 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44172 if eval "test \"\${$as_ac_var+set}\" = set"; then
44173 echo $ECHO_N "(cached) $ECHO_C" >&6
44174 else
44175 if test x$gcc_no_link = xyes; then
44176 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44177 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44178 { (exit 1); exit 1; }; }
44179 fi
44180 cat >conftest.$ac_ext <<_ACEOF
44181 /* confdefs.h. */
44182 _ACEOF
44183 cat confdefs.h >>conftest.$ac_ext
44184 cat >>conftest.$ac_ext <<_ACEOF
44185 /* end confdefs.h. */
44186 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44187 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44188 #define $ac_func innocuous_$ac_func
44189
44190 /* System header to define __stub macros and hopefully few prototypes,
44191 which can conflict with char $ac_func (); below.
44192 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44193 <limits.h> exists even on freestanding compilers. */
44194
44195 #ifdef __STDC__
44196 # include <limits.h>
44197 #else
44198 # include <assert.h>
44199 #endif
44200
44201 #undef $ac_func
44202
44203 /* Override any gcc2 internal prototype to avoid an error. */
44204 #ifdef __cplusplus
44205 extern "C"
44206 {
44207 #endif
44208 /* We use char because int might match the return type of a gcc2
44209 builtin and then its argument prototype would still apply. */
44210 char $ac_func ();
44211 /* The GNU C library defines this for functions which it implements
44212 to always fail with ENOSYS. Some functions are actually named
44213 something starting with __ and the normal name is an alias. */
44214 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44215 choke me
44216 #else
44217 char (*f) () = $ac_func;
44218 #endif
44219 #ifdef __cplusplus
44220 }
44221 #endif
44222
44223 int
44224 main ()
44225 {
44226 return f != $ac_func;
44227 ;
44228 return 0;
44229 }
44230 _ACEOF
44231 rm -f conftest.$ac_objext conftest$ac_exeext
44232 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44233 (eval $ac_link) 2>conftest.er1
44234 ac_status=$?
44235 grep -v '^ *+' conftest.er1 >conftest.err
44236 rm -f conftest.er1
44237 cat conftest.err >&5
44238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44239 (exit $ac_status); } &&
44240 { ac_try='test -z "$ac_c_werror_flag"
44241 || test ! -s conftest.err'
44242 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44243 (eval $ac_try) 2>&5
44244 ac_status=$?
44245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44246 (exit $ac_status); }; } &&
44247 { ac_try='test -s conftest$ac_exeext'
44248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44249 (eval $ac_try) 2>&5
44250 ac_status=$?
44251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44252 (exit $ac_status); }; }; then
44253 eval "$as_ac_var=yes"
44254 else
44255 echo "$as_me: failed program was:" >&5
44256 sed 's/^/| /' conftest.$ac_ext >&5
44257
44258 eval "$as_ac_var=no"
44259 fi
44260 rm -f conftest.err conftest.$ac_objext \
44261 conftest$ac_exeext conftest.$ac_ext
44262 fi
44263 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44264 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44265 if test `eval echo '${'$as_ac_var'}'` = yes; then
44266 cat >>confdefs.h <<_ACEOF
44267 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44268 _ACEOF
44269
44270 fi
44271 done
44272
44273 fi
44274 fi
44275
44276
44277
44278
44279
44280
44281 echo "$as_me:$LINENO: checking for fmodl declaration" >&5
44282 echo $ECHO_N "checking for fmodl declaration... $ECHO_C" >&6
44283 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
44284 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then
44285 echo $ECHO_N "(cached) $ECHO_C" >&6
44286 else
44287
44288
44289
44290 ac_ext=cc
44291 ac_cpp='$CXXCPP $CPPFLAGS'
44292 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44293 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44294 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44295
44296 cat >conftest.$ac_ext <<_ACEOF
44297 /* confdefs.h. */
44298 _ACEOF
44299 cat confdefs.h >>conftest.$ac_ext
44300 cat >>conftest.$ac_ext <<_ACEOF
44301 /* end confdefs.h. */
44302 #include <math.h>
44303 int
44304 main ()
44305 {
44306 fmodl(0, 0);
44307 ;
44308 return 0;
44309 }
44310 _ACEOF
44311 rm -f conftest.$ac_objext
44312 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44313 (eval $ac_compile) 2>conftest.er1
44314 ac_status=$?
44315 grep -v '^ *+' conftest.er1 >conftest.err
44316 rm -f conftest.er1
44317 cat conftest.err >&5
44318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44319 (exit $ac_status); } &&
44320 { ac_try='test -z "$ac_cxx_werror_flag"
44321 || test ! -s conftest.err'
44322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44323 (eval $ac_try) 2>&5
44324 ac_status=$?
44325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44326 (exit $ac_status); }; } &&
44327 { ac_try='test -s conftest.$ac_objext'
44328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44329 (eval $ac_try) 2>&5
44330 ac_status=$?
44331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44332 (exit $ac_status); }; }; then
44333 glibcxx_cv_func_fmodl_use=yes
44334 else
44335 echo "$as_me: failed program was:" >&5
44336 sed 's/^/| /' conftest.$ac_ext >&5
44337
44338 glibcxx_cv_func_fmodl_use=no
44339 fi
44340 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44341 ac_ext=c
44342 ac_cpp='$CPP $CPPFLAGS'
44343 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44344 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44345 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44346
44347
44348 fi
44349
44350 fi
44351 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodl_use" >&5
44352 echo "${ECHO_T}$glibcxx_cv_func_fmodl_use" >&6
44353
44354 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
44355
44356 for ac_func in fmodl
44357 do
44358 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44359 echo "$as_me:$LINENO: checking for $ac_func" >&5
44360 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44361 if eval "test \"\${$as_ac_var+set}\" = set"; then
44362 echo $ECHO_N "(cached) $ECHO_C" >&6
44363 else
44364 if test x$gcc_no_link = xyes; then
44365 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44366 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44367 { (exit 1); exit 1; }; }
44368 fi
44369 cat >conftest.$ac_ext <<_ACEOF
44370 /* confdefs.h. */
44371 _ACEOF
44372 cat confdefs.h >>conftest.$ac_ext
44373 cat >>conftest.$ac_ext <<_ACEOF
44374 /* end confdefs.h. */
44375 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44376 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44377 #define $ac_func innocuous_$ac_func
44378
44379 /* System header to define __stub macros and hopefully few prototypes,
44380 which can conflict with char $ac_func (); below.
44381 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44382 <limits.h> exists even on freestanding compilers. */
44383
44384 #ifdef __STDC__
44385 # include <limits.h>
44386 #else
44387 # include <assert.h>
44388 #endif
44389
44390 #undef $ac_func
44391
44392 /* Override any gcc2 internal prototype to avoid an error. */
44393 #ifdef __cplusplus
44394 extern "C"
44395 {
44396 #endif
44397 /* We use char because int might match the return type of a gcc2
44398 builtin and then its argument prototype would still apply. */
44399 char $ac_func ();
44400 /* The GNU C library defines this for functions which it implements
44401 to always fail with ENOSYS. Some functions are actually named
44402 something starting with __ and the normal name is an alias. */
44403 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44404 choke me
44405 #else
44406 char (*f) () = $ac_func;
44407 #endif
44408 #ifdef __cplusplus
44409 }
44410 #endif
44411
44412 int
44413 main ()
44414 {
44415 return f != $ac_func;
44416 ;
44417 return 0;
44418 }
44419 _ACEOF
44420 rm -f conftest.$ac_objext conftest$ac_exeext
44421 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44422 (eval $ac_link) 2>conftest.er1
44423 ac_status=$?
44424 grep -v '^ *+' conftest.er1 >conftest.err
44425 rm -f conftest.er1
44426 cat conftest.err >&5
44427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44428 (exit $ac_status); } &&
44429 { ac_try='test -z "$ac_c_werror_flag"
44430 || test ! -s conftest.err'
44431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44432 (eval $ac_try) 2>&5
44433 ac_status=$?
44434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44435 (exit $ac_status); }; } &&
44436 { ac_try='test -s conftest$ac_exeext'
44437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44438 (eval $ac_try) 2>&5
44439 ac_status=$?
44440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44441 (exit $ac_status); }; }; then
44442 eval "$as_ac_var=yes"
44443 else
44444 echo "$as_me: failed program was:" >&5
44445 sed 's/^/| /' conftest.$ac_ext >&5
44446
44447 eval "$as_ac_var=no"
44448 fi
44449 rm -f conftest.err conftest.$ac_objext \
44450 conftest$ac_exeext conftest.$ac_ext
44451 fi
44452 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44453 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44454 if test `eval echo '${'$as_ac_var'}'` = yes; then
44455 cat >>confdefs.h <<_ACEOF
44456 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44457 _ACEOF
44458
44459 fi
44460 done
44461
44462 else
44463
44464 echo "$as_me:$LINENO: checking for _fmodl declaration" >&5
44465 echo $ECHO_N "checking for _fmodl declaration... $ECHO_C" >&6
44466 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
44467 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then
44468 echo $ECHO_N "(cached) $ECHO_C" >&6
44469 else
44470
44471
44472
44473 ac_ext=cc
44474 ac_cpp='$CXXCPP $CPPFLAGS'
44475 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44476 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44477 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44478
44479 cat >conftest.$ac_ext <<_ACEOF
44480 /* confdefs.h. */
44481 _ACEOF
44482 cat confdefs.h >>conftest.$ac_ext
44483 cat >>conftest.$ac_ext <<_ACEOF
44484 /* end confdefs.h. */
44485 #include <math.h>
44486 int
44487 main ()
44488 {
44489 _fmodl(0, 0);
44490 ;
44491 return 0;
44492 }
44493 _ACEOF
44494 rm -f conftest.$ac_objext
44495 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44496 (eval $ac_compile) 2>conftest.er1
44497 ac_status=$?
44498 grep -v '^ *+' conftest.er1 >conftest.err
44499 rm -f conftest.er1
44500 cat conftest.err >&5
44501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44502 (exit $ac_status); } &&
44503 { ac_try='test -z "$ac_cxx_werror_flag"
44504 || test ! -s conftest.err'
44505 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44506 (eval $ac_try) 2>&5
44507 ac_status=$?
44508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44509 (exit $ac_status); }; } &&
44510 { ac_try='test -s conftest.$ac_objext'
44511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44512 (eval $ac_try) 2>&5
44513 ac_status=$?
44514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44515 (exit $ac_status); }; }; then
44516 glibcxx_cv_func__fmodl_use=yes
44517 else
44518 echo "$as_me: failed program was:" >&5
44519 sed 's/^/| /' conftest.$ac_ext >&5
44520
44521 glibcxx_cv_func__fmodl_use=no
44522 fi
44523 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44524 ac_ext=c
44525 ac_cpp='$CPP $CPPFLAGS'
44526 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44527 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44528 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44529
44530
44531 fi
44532
44533 fi
44534 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodl_use" >&5
44535 echo "${ECHO_T}$glibcxx_cv_func__fmodl_use" >&6
44536
44537 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
44538
44539 for ac_func in _fmodl
44540 do
44541 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44542 echo "$as_me:$LINENO: checking for $ac_func" >&5
44543 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44544 if eval "test \"\${$as_ac_var+set}\" = set"; then
44545 echo $ECHO_N "(cached) $ECHO_C" >&6
44546 else
44547 if test x$gcc_no_link = xyes; then
44548 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44549 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44550 { (exit 1); exit 1; }; }
44551 fi
44552 cat >conftest.$ac_ext <<_ACEOF
44553 /* confdefs.h. */
44554 _ACEOF
44555 cat confdefs.h >>conftest.$ac_ext
44556 cat >>conftest.$ac_ext <<_ACEOF
44557 /* end confdefs.h. */
44558 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44559 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44560 #define $ac_func innocuous_$ac_func
44561
44562 /* System header to define __stub macros and hopefully few prototypes,
44563 which can conflict with char $ac_func (); below.
44564 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44565 <limits.h> exists even on freestanding compilers. */
44566
44567 #ifdef __STDC__
44568 # include <limits.h>
44569 #else
44570 # include <assert.h>
44571 #endif
44572
44573 #undef $ac_func
44574
44575 /* Override any gcc2 internal prototype to avoid an error. */
44576 #ifdef __cplusplus
44577 extern "C"
44578 {
44579 #endif
44580 /* We use char because int might match the return type of a gcc2
44581 builtin and then its argument prototype would still apply. */
44582 char $ac_func ();
44583 /* The GNU C library defines this for functions which it implements
44584 to always fail with ENOSYS. Some functions are actually named
44585 something starting with __ and the normal name is an alias. */
44586 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44587 choke me
44588 #else
44589 char (*f) () = $ac_func;
44590 #endif
44591 #ifdef __cplusplus
44592 }
44593 #endif
44594
44595 int
44596 main ()
44597 {
44598 return f != $ac_func;
44599 ;
44600 return 0;
44601 }
44602 _ACEOF
44603 rm -f conftest.$ac_objext conftest$ac_exeext
44604 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44605 (eval $ac_link) 2>conftest.er1
44606 ac_status=$?
44607 grep -v '^ *+' conftest.er1 >conftest.err
44608 rm -f conftest.er1
44609 cat conftest.err >&5
44610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44611 (exit $ac_status); } &&
44612 { ac_try='test -z "$ac_c_werror_flag"
44613 || test ! -s conftest.err'
44614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44615 (eval $ac_try) 2>&5
44616 ac_status=$?
44617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44618 (exit $ac_status); }; } &&
44619 { ac_try='test -s conftest$ac_exeext'
44620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44621 (eval $ac_try) 2>&5
44622 ac_status=$?
44623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44624 (exit $ac_status); }; }; then
44625 eval "$as_ac_var=yes"
44626 else
44627 echo "$as_me: failed program was:" >&5
44628 sed 's/^/| /' conftest.$ac_ext >&5
44629
44630 eval "$as_ac_var=no"
44631 fi
44632 rm -f conftest.err conftest.$ac_objext \
44633 conftest$ac_exeext conftest.$ac_ext
44634 fi
44635 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44636 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44637 if test `eval echo '${'$as_ac_var'}'` = yes; then
44638 cat >>confdefs.h <<_ACEOF
44639 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44640 _ACEOF
44641
44642 fi
44643 done
44644
44645 fi
44646 fi
44647
44648
44649
44650
44651
44652
44653 echo "$as_me:$LINENO: checking for frexpl declaration" >&5
44654 echo $ECHO_N "checking for frexpl declaration... $ECHO_C" >&6
44655 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
44656 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then
44657 echo $ECHO_N "(cached) $ECHO_C" >&6
44658 else
44659
44660
44661
44662 ac_ext=cc
44663 ac_cpp='$CXXCPP $CPPFLAGS'
44664 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44665 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44666 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44667
44668 cat >conftest.$ac_ext <<_ACEOF
44669 /* confdefs.h. */
44670 _ACEOF
44671 cat confdefs.h >>conftest.$ac_ext
44672 cat >>conftest.$ac_ext <<_ACEOF
44673 /* end confdefs.h. */
44674 #include <math.h>
44675 int
44676 main ()
44677 {
44678 frexpl(0, 0);
44679 ;
44680 return 0;
44681 }
44682 _ACEOF
44683 rm -f conftest.$ac_objext
44684 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44685 (eval $ac_compile) 2>conftest.er1
44686 ac_status=$?
44687 grep -v '^ *+' conftest.er1 >conftest.err
44688 rm -f conftest.er1
44689 cat conftest.err >&5
44690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44691 (exit $ac_status); } &&
44692 { ac_try='test -z "$ac_cxx_werror_flag"
44693 || test ! -s conftest.err'
44694 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44695 (eval $ac_try) 2>&5
44696 ac_status=$?
44697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44698 (exit $ac_status); }; } &&
44699 { ac_try='test -s conftest.$ac_objext'
44700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44701 (eval $ac_try) 2>&5
44702 ac_status=$?
44703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44704 (exit $ac_status); }; }; then
44705 glibcxx_cv_func_frexpl_use=yes
44706 else
44707 echo "$as_me: failed program was:" >&5
44708 sed 's/^/| /' conftest.$ac_ext >&5
44709
44710 glibcxx_cv_func_frexpl_use=no
44711 fi
44712 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44713 ac_ext=c
44714 ac_cpp='$CPP $CPPFLAGS'
44715 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44716 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44717 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44718
44719
44720 fi
44721
44722 fi
44723 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpl_use" >&5
44724 echo "${ECHO_T}$glibcxx_cv_func_frexpl_use" >&6
44725
44726 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
44727
44728 for ac_func in frexpl
44729 do
44730 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44731 echo "$as_me:$LINENO: checking for $ac_func" >&5
44732 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44733 if eval "test \"\${$as_ac_var+set}\" = set"; then
44734 echo $ECHO_N "(cached) $ECHO_C" >&6
44735 else
44736 if test x$gcc_no_link = xyes; then
44737 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44738 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44739 { (exit 1); exit 1; }; }
44740 fi
44741 cat >conftest.$ac_ext <<_ACEOF
44742 /* confdefs.h. */
44743 _ACEOF
44744 cat confdefs.h >>conftest.$ac_ext
44745 cat >>conftest.$ac_ext <<_ACEOF
44746 /* end confdefs.h. */
44747 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44748 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44749 #define $ac_func innocuous_$ac_func
44750
44751 /* System header to define __stub macros and hopefully few prototypes,
44752 which can conflict with char $ac_func (); below.
44753 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44754 <limits.h> exists even on freestanding compilers. */
44755
44756 #ifdef __STDC__
44757 # include <limits.h>
44758 #else
44759 # include <assert.h>
44760 #endif
44761
44762 #undef $ac_func
44763
44764 /* Override any gcc2 internal prototype to avoid an error. */
44765 #ifdef __cplusplus
44766 extern "C"
44767 {
44768 #endif
44769 /* We use char because int might match the return type of a gcc2
44770 builtin and then its argument prototype would still apply. */
44771 char $ac_func ();
44772 /* The GNU C library defines this for functions which it implements
44773 to always fail with ENOSYS. Some functions are actually named
44774 something starting with __ and the normal name is an alias. */
44775 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44776 choke me
44777 #else
44778 char (*f) () = $ac_func;
44779 #endif
44780 #ifdef __cplusplus
44781 }
44782 #endif
44783
44784 int
44785 main ()
44786 {
44787 return f != $ac_func;
44788 ;
44789 return 0;
44790 }
44791 _ACEOF
44792 rm -f conftest.$ac_objext conftest$ac_exeext
44793 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44794 (eval $ac_link) 2>conftest.er1
44795 ac_status=$?
44796 grep -v '^ *+' conftest.er1 >conftest.err
44797 rm -f conftest.er1
44798 cat conftest.err >&5
44799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44800 (exit $ac_status); } &&
44801 { ac_try='test -z "$ac_c_werror_flag"
44802 || test ! -s conftest.err'
44803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44804 (eval $ac_try) 2>&5
44805 ac_status=$?
44806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44807 (exit $ac_status); }; } &&
44808 { ac_try='test -s conftest$ac_exeext'
44809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44810 (eval $ac_try) 2>&5
44811 ac_status=$?
44812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44813 (exit $ac_status); }; }; then
44814 eval "$as_ac_var=yes"
44815 else
44816 echo "$as_me: failed program was:" >&5
44817 sed 's/^/| /' conftest.$ac_ext >&5
44818
44819 eval "$as_ac_var=no"
44820 fi
44821 rm -f conftest.err conftest.$ac_objext \
44822 conftest$ac_exeext conftest.$ac_ext
44823 fi
44824 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44825 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44826 if test `eval echo '${'$as_ac_var'}'` = yes; then
44827 cat >>confdefs.h <<_ACEOF
44828 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44829 _ACEOF
44830
44831 fi
44832 done
44833
44834 else
44835
44836 echo "$as_me:$LINENO: checking for _frexpl declaration" >&5
44837 echo $ECHO_N "checking for _frexpl declaration... $ECHO_C" >&6
44838 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
44839 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then
44840 echo $ECHO_N "(cached) $ECHO_C" >&6
44841 else
44842
44843
44844
44845 ac_ext=cc
44846 ac_cpp='$CXXCPP $CPPFLAGS'
44847 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44848 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44849 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44850
44851 cat >conftest.$ac_ext <<_ACEOF
44852 /* confdefs.h. */
44853 _ACEOF
44854 cat confdefs.h >>conftest.$ac_ext
44855 cat >>conftest.$ac_ext <<_ACEOF
44856 /* end confdefs.h. */
44857 #include <math.h>
44858 int
44859 main ()
44860 {
44861 _frexpl(0, 0);
44862 ;
44863 return 0;
44864 }
44865 _ACEOF
44866 rm -f conftest.$ac_objext
44867 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44868 (eval $ac_compile) 2>conftest.er1
44869 ac_status=$?
44870 grep -v '^ *+' conftest.er1 >conftest.err
44871 rm -f conftest.er1
44872 cat conftest.err >&5
44873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44874 (exit $ac_status); } &&
44875 { ac_try='test -z "$ac_cxx_werror_flag"
44876 || test ! -s conftest.err'
44877 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44878 (eval $ac_try) 2>&5
44879 ac_status=$?
44880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44881 (exit $ac_status); }; } &&
44882 { ac_try='test -s conftest.$ac_objext'
44883 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44884 (eval $ac_try) 2>&5
44885 ac_status=$?
44886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44887 (exit $ac_status); }; }; then
44888 glibcxx_cv_func__frexpl_use=yes
44889 else
44890 echo "$as_me: failed program was:" >&5
44891 sed 's/^/| /' conftest.$ac_ext >&5
44892
44893 glibcxx_cv_func__frexpl_use=no
44894 fi
44895 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44896 ac_ext=c
44897 ac_cpp='$CPP $CPPFLAGS'
44898 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44899 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44900 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44901
44902
44903 fi
44904
44905 fi
44906 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpl_use" >&5
44907 echo "${ECHO_T}$glibcxx_cv_func__frexpl_use" >&6
44908
44909 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
44910
44911 for ac_func in _frexpl
44912 do
44913 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44914 echo "$as_me:$LINENO: checking for $ac_func" >&5
44915 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44916 if eval "test \"\${$as_ac_var+set}\" = set"; then
44917 echo $ECHO_N "(cached) $ECHO_C" >&6
44918 else
44919 if test x$gcc_no_link = xyes; then
44920 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44921 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44922 { (exit 1); exit 1; }; }
44923 fi
44924 cat >conftest.$ac_ext <<_ACEOF
44925 /* confdefs.h. */
44926 _ACEOF
44927 cat confdefs.h >>conftest.$ac_ext
44928 cat >>conftest.$ac_ext <<_ACEOF
44929 /* end confdefs.h. */
44930 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44931 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44932 #define $ac_func innocuous_$ac_func
44933
44934 /* System header to define __stub macros and hopefully few prototypes,
44935 which can conflict with char $ac_func (); below.
44936 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44937 <limits.h> exists even on freestanding compilers. */
44938
44939 #ifdef __STDC__
44940 # include <limits.h>
44941 #else
44942 # include <assert.h>
44943 #endif
44944
44945 #undef $ac_func
44946
44947 /* Override any gcc2 internal prototype to avoid an error. */
44948 #ifdef __cplusplus
44949 extern "C"
44950 {
44951 #endif
44952 /* We use char because int might match the return type of a gcc2
44953 builtin and then its argument prototype would still apply. */
44954 char $ac_func ();
44955 /* The GNU C library defines this for functions which it implements
44956 to always fail with ENOSYS. Some functions are actually named
44957 something starting with __ and the normal name is an alias. */
44958 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44959 choke me
44960 #else
44961 char (*f) () = $ac_func;
44962 #endif
44963 #ifdef __cplusplus
44964 }
44965 #endif
44966
44967 int
44968 main ()
44969 {
44970 return f != $ac_func;
44971 ;
44972 return 0;
44973 }
44974 _ACEOF
44975 rm -f conftest.$ac_objext conftest$ac_exeext
44976 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44977 (eval $ac_link) 2>conftest.er1
44978 ac_status=$?
44979 grep -v '^ *+' conftest.er1 >conftest.err
44980 rm -f conftest.er1
44981 cat conftest.err >&5
44982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44983 (exit $ac_status); } &&
44984 { ac_try='test -z "$ac_c_werror_flag"
44985 || test ! -s conftest.err'
44986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44987 (eval $ac_try) 2>&5
44988 ac_status=$?
44989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44990 (exit $ac_status); }; } &&
44991 { ac_try='test -s conftest$ac_exeext'
44992 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44993 (eval $ac_try) 2>&5
44994 ac_status=$?
44995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44996 (exit $ac_status); }; }; then
44997 eval "$as_ac_var=yes"
44998 else
44999 echo "$as_me: failed program was:" >&5
45000 sed 's/^/| /' conftest.$ac_ext >&5
45001
45002 eval "$as_ac_var=no"
45003 fi
45004 rm -f conftest.err conftest.$ac_objext \
45005 conftest$ac_exeext conftest.$ac_ext
45006 fi
45007 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45008 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45009 if test `eval echo '${'$as_ac_var'}'` = yes; then
45010 cat >>confdefs.h <<_ACEOF
45011 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45012 _ACEOF
45013
45014 fi
45015 done
45016
45017 fi
45018 fi
45019
45020
45021
45022
45023
45024
45025 echo "$as_me:$LINENO: checking for hypotl declaration" >&5
45026 echo $ECHO_N "checking for hypotl declaration... $ECHO_C" >&6
45027 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
45028 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then
45029 echo $ECHO_N "(cached) $ECHO_C" >&6
45030 else
45031
45032
45033
45034 ac_ext=cc
45035 ac_cpp='$CXXCPP $CPPFLAGS'
45036 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45037 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45038 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45039
45040 cat >conftest.$ac_ext <<_ACEOF
45041 /* confdefs.h. */
45042 _ACEOF
45043 cat confdefs.h >>conftest.$ac_ext
45044 cat >>conftest.$ac_ext <<_ACEOF
45045 /* end confdefs.h. */
45046 #include <math.h>
45047 int
45048 main ()
45049 {
45050 hypotl(0, 0);
45051 ;
45052 return 0;
45053 }
45054 _ACEOF
45055 rm -f conftest.$ac_objext
45056 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45057 (eval $ac_compile) 2>conftest.er1
45058 ac_status=$?
45059 grep -v '^ *+' conftest.er1 >conftest.err
45060 rm -f conftest.er1
45061 cat conftest.err >&5
45062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45063 (exit $ac_status); } &&
45064 { ac_try='test -z "$ac_cxx_werror_flag"
45065 || test ! -s conftest.err'
45066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45067 (eval $ac_try) 2>&5
45068 ac_status=$?
45069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45070 (exit $ac_status); }; } &&
45071 { ac_try='test -s conftest.$ac_objext'
45072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45073 (eval $ac_try) 2>&5
45074 ac_status=$?
45075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45076 (exit $ac_status); }; }; then
45077 glibcxx_cv_func_hypotl_use=yes
45078 else
45079 echo "$as_me: failed program was:" >&5
45080 sed 's/^/| /' conftest.$ac_ext >&5
45081
45082 glibcxx_cv_func_hypotl_use=no
45083 fi
45084 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45085 ac_ext=c
45086 ac_cpp='$CPP $CPPFLAGS'
45087 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45088 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45089 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45090
45091
45092 fi
45093
45094 fi
45095 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotl_use" >&5
45096 echo "${ECHO_T}$glibcxx_cv_func_hypotl_use" >&6
45097
45098 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
45099
45100 for ac_func in hypotl
45101 do
45102 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45103 echo "$as_me:$LINENO: checking for $ac_func" >&5
45104 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45105 if eval "test \"\${$as_ac_var+set}\" = set"; then
45106 echo $ECHO_N "(cached) $ECHO_C" >&6
45107 else
45108 if test x$gcc_no_link = xyes; then
45109 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45110 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45111 { (exit 1); exit 1; }; }
45112 fi
45113 cat >conftest.$ac_ext <<_ACEOF
45114 /* confdefs.h. */
45115 _ACEOF
45116 cat confdefs.h >>conftest.$ac_ext
45117 cat >>conftest.$ac_ext <<_ACEOF
45118 /* end confdefs.h. */
45119 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45120 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45121 #define $ac_func innocuous_$ac_func
45122
45123 /* System header to define __stub macros and hopefully few prototypes,
45124 which can conflict with char $ac_func (); below.
45125 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45126 <limits.h> exists even on freestanding compilers. */
45127
45128 #ifdef __STDC__
45129 # include <limits.h>
45130 #else
45131 # include <assert.h>
45132 #endif
45133
45134 #undef $ac_func
45135
45136 /* Override any gcc2 internal prototype to avoid an error. */
45137 #ifdef __cplusplus
45138 extern "C"
45139 {
45140 #endif
45141 /* We use char because int might match the return type of a gcc2
45142 builtin and then its argument prototype would still apply. */
45143 char $ac_func ();
45144 /* The GNU C library defines this for functions which it implements
45145 to always fail with ENOSYS. Some functions are actually named
45146 something starting with __ and the normal name is an alias. */
45147 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45148 choke me
45149 #else
45150 char (*f) () = $ac_func;
45151 #endif
45152 #ifdef __cplusplus
45153 }
45154 #endif
45155
45156 int
45157 main ()
45158 {
45159 return f != $ac_func;
45160 ;
45161 return 0;
45162 }
45163 _ACEOF
45164 rm -f conftest.$ac_objext conftest$ac_exeext
45165 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45166 (eval $ac_link) 2>conftest.er1
45167 ac_status=$?
45168 grep -v '^ *+' conftest.er1 >conftest.err
45169 rm -f conftest.er1
45170 cat conftest.err >&5
45171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45172 (exit $ac_status); } &&
45173 { ac_try='test -z "$ac_c_werror_flag"
45174 || test ! -s conftest.err'
45175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45176 (eval $ac_try) 2>&5
45177 ac_status=$?
45178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45179 (exit $ac_status); }; } &&
45180 { ac_try='test -s conftest$ac_exeext'
45181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45182 (eval $ac_try) 2>&5
45183 ac_status=$?
45184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45185 (exit $ac_status); }; }; then
45186 eval "$as_ac_var=yes"
45187 else
45188 echo "$as_me: failed program was:" >&5
45189 sed 's/^/| /' conftest.$ac_ext >&5
45190
45191 eval "$as_ac_var=no"
45192 fi
45193 rm -f conftest.err conftest.$ac_objext \
45194 conftest$ac_exeext conftest.$ac_ext
45195 fi
45196 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45197 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45198 if test `eval echo '${'$as_ac_var'}'` = yes; then
45199 cat >>confdefs.h <<_ACEOF
45200 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45201 _ACEOF
45202
45203 fi
45204 done
45205
45206 else
45207
45208 echo "$as_me:$LINENO: checking for _hypotl declaration" >&5
45209 echo $ECHO_N "checking for _hypotl declaration... $ECHO_C" >&6
45210 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
45211 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then
45212 echo $ECHO_N "(cached) $ECHO_C" >&6
45213 else
45214
45215
45216
45217 ac_ext=cc
45218 ac_cpp='$CXXCPP $CPPFLAGS'
45219 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45220 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45221 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45222
45223 cat >conftest.$ac_ext <<_ACEOF
45224 /* confdefs.h. */
45225 _ACEOF
45226 cat confdefs.h >>conftest.$ac_ext
45227 cat >>conftest.$ac_ext <<_ACEOF
45228 /* end confdefs.h. */
45229 #include <math.h>
45230 int
45231 main ()
45232 {
45233 _hypotl(0, 0);
45234 ;
45235 return 0;
45236 }
45237 _ACEOF
45238 rm -f conftest.$ac_objext
45239 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45240 (eval $ac_compile) 2>conftest.er1
45241 ac_status=$?
45242 grep -v '^ *+' conftest.er1 >conftest.err
45243 rm -f conftest.er1
45244 cat conftest.err >&5
45245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45246 (exit $ac_status); } &&
45247 { ac_try='test -z "$ac_cxx_werror_flag"
45248 || test ! -s conftest.err'
45249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45250 (eval $ac_try) 2>&5
45251 ac_status=$?
45252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45253 (exit $ac_status); }; } &&
45254 { ac_try='test -s conftest.$ac_objext'
45255 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45256 (eval $ac_try) 2>&5
45257 ac_status=$?
45258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45259 (exit $ac_status); }; }; then
45260 glibcxx_cv_func__hypotl_use=yes
45261 else
45262 echo "$as_me: failed program was:" >&5
45263 sed 's/^/| /' conftest.$ac_ext >&5
45264
45265 glibcxx_cv_func__hypotl_use=no
45266 fi
45267 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45268 ac_ext=c
45269 ac_cpp='$CPP $CPPFLAGS'
45270 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45271 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45272 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45273
45274
45275 fi
45276
45277 fi
45278 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotl_use" >&5
45279 echo "${ECHO_T}$glibcxx_cv_func__hypotl_use" >&6
45280
45281 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
45282
45283 for ac_func in _hypotl
45284 do
45285 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45286 echo "$as_me:$LINENO: checking for $ac_func" >&5
45287 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45288 if eval "test \"\${$as_ac_var+set}\" = set"; then
45289 echo $ECHO_N "(cached) $ECHO_C" >&6
45290 else
45291 if test x$gcc_no_link = xyes; then
45292 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45293 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45294 { (exit 1); exit 1; }; }
45295 fi
45296 cat >conftest.$ac_ext <<_ACEOF
45297 /* confdefs.h. */
45298 _ACEOF
45299 cat confdefs.h >>conftest.$ac_ext
45300 cat >>conftest.$ac_ext <<_ACEOF
45301 /* end confdefs.h. */
45302 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45303 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45304 #define $ac_func innocuous_$ac_func
45305
45306 /* System header to define __stub macros and hopefully few prototypes,
45307 which can conflict with char $ac_func (); below.
45308 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45309 <limits.h> exists even on freestanding compilers. */
45310
45311 #ifdef __STDC__
45312 # include <limits.h>
45313 #else
45314 # include <assert.h>
45315 #endif
45316
45317 #undef $ac_func
45318
45319 /* Override any gcc2 internal prototype to avoid an error. */
45320 #ifdef __cplusplus
45321 extern "C"
45322 {
45323 #endif
45324 /* We use char because int might match the return type of a gcc2
45325 builtin and then its argument prototype would still apply. */
45326 char $ac_func ();
45327 /* The GNU C library defines this for functions which it implements
45328 to always fail with ENOSYS. Some functions are actually named
45329 something starting with __ and the normal name is an alias. */
45330 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45331 choke me
45332 #else
45333 char (*f) () = $ac_func;
45334 #endif
45335 #ifdef __cplusplus
45336 }
45337 #endif
45338
45339 int
45340 main ()
45341 {
45342 return f != $ac_func;
45343 ;
45344 return 0;
45345 }
45346 _ACEOF
45347 rm -f conftest.$ac_objext conftest$ac_exeext
45348 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45349 (eval $ac_link) 2>conftest.er1
45350 ac_status=$?
45351 grep -v '^ *+' conftest.er1 >conftest.err
45352 rm -f conftest.er1
45353 cat conftest.err >&5
45354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45355 (exit $ac_status); } &&
45356 { ac_try='test -z "$ac_c_werror_flag"
45357 || test ! -s conftest.err'
45358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45359 (eval $ac_try) 2>&5
45360 ac_status=$?
45361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45362 (exit $ac_status); }; } &&
45363 { ac_try='test -s conftest$ac_exeext'
45364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45365 (eval $ac_try) 2>&5
45366 ac_status=$?
45367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45368 (exit $ac_status); }; }; then
45369 eval "$as_ac_var=yes"
45370 else
45371 echo "$as_me: failed program was:" >&5
45372 sed 's/^/| /' conftest.$ac_ext >&5
45373
45374 eval "$as_ac_var=no"
45375 fi
45376 rm -f conftest.err conftest.$ac_objext \
45377 conftest$ac_exeext conftest.$ac_ext
45378 fi
45379 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45380 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45381 if test `eval echo '${'$as_ac_var'}'` = yes; then
45382 cat >>confdefs.h <<_ACEOF
45383 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45384 _ACEOF
45385
45386 fi
45387 done
45388
45389 fi
45390 fi
45391
45392
45393
45394
45395
45396
45397 echo "$as_me:$LINENO: checking for ldexpl declaration" >&5
45398 echo $ECHO_N "checking for ldexpl declaration... $ECHO_C" >&6
45399 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
45400 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then
45401 echo $ECHO_N "(cached) $ECHO_C" >&6
45402 else
45403
45404
45405
45406 ac_ext=cc
45407 ac_cpp='$CXXCPP $CPPFLAGS'
45408 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45409 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45410 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45411
45412 cat >conftest.$ac_ext <<_ACEOF
45413 /* confdefs.h. */
45414 _ACEOF
45415 cat confdefs.h >>conftest.$ac_ext
45416 cat >>conftest.$ac_ext <<_ACEOF
45417 /* end confdefs.h. */
45418 #include <math.h>
45419 int
45420 main ()
45421 {
45422 ldexpl(0, 0);
45423 ;
45424 return 0;
45425 }
45426 _ACEOF
45427 rm -f conftest.$ac_objext
45428 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45429 (eval $ac_compile) 2>conftest.er1
45430 ac_status=$?
45431 grep -v '^ *+' conftest.er1 >conftest.err
45432 rm -f conftest.er1
45433 cat conftest.err >&5
45434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45435 (exit $ac_status); } &&
45436 { ac_try='test -z "$ac_cxx_werror_flag"
45437 || test ! -s conftest.err'
45438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45439 (eval $ac_try) 2>&5
45440 ac_status=$?
45441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45442 (exit $ac_status); }; } &&
45443 { ac_try='test -s conftest.$ac_objext'
45444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45445 (eval $ac_try) 2>&5
45446 ac_status=$?
45447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45448 (exit $ac_status); }; }; then
45449 glibcxx_cv_func_ldexpl_use=yes
45450 else
45451 echo "$as_me: failed program was:" >&5
45452 sed 's/^/| /' conftest.$ac_ext >&5
45453
45454 glibcxx_cv_func_ldexpl_use=no
45455 fi
45456 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45457 ac_ext=c
45458 ac_cpp='$CPP $CPPFLAGS'
45459 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45460 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45461 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45462
45463
45464 fi
45465
45466 fi
45467 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpl_use" >&5
45468 echo "${ECHO_T}$glibcxx_cv_func_ldexpl_use" >&6
45469
45470 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
45471
45472 for ac_func in ldexpl
45473 do
45474 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45475 echo "$as_me:$LINENO: checking for $ac_func" >&5
45476 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45477 if eval "test \"\${$as_ac_var+set}\" = set"; then
45478 echo $ECHO_N "(cached) $ECHO_C" >&6
45479 else
45480 if test x$gcc_no_link = xyes; then
45481 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45482 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45483 { (exit 1); exit 1; }; }
45484 fi
45485 cat >conftest.$ac_ext <<_ACEOF
45486 /* confdefs.h. */
45487 _ACEOF
45488 cat confdefs.h >>conftest.$ac_ext
45489 cat >>conftest.$ac_ext <<_ACEOF
45490 /* end confdefs.h. */
45491 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45492 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45493 #define $ac_func innocuous_$ac_func
45494
45495 /* System header to define __stub macros and hopefully few prototypes,
45496 which can conflict with char $ac_func (); below.
45497 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45498 <limits.h> exists even on freestanding compilers. */
45499
45500 #ifdef __STDC__
45501 # include <limits.h>
45502 #else
45503 # include <assert.h>
45504 #endif
45505
45506 #undef $ac_func
45507
45508 /* Override any gcc2 internal prototype to avoid an error. */
45509 #ifdef __cplusplus
45510 extern "C"
45511 {
45512 #endif
45513 /* We use char because int might match the return type of a gcc2
45514 builtin and then its argument prototype would still apply. */
45515 char $ac_func ();
45516 /* The GNU C library defines this for functions which it implements
45517 to always fail with ENOSYS. Some functions are actually named
45518 something starting with __ and the normal name is an alias. */
45519 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45520 choke me
45521 #else
45522 char (*f) () = $ac_func;
45523 #endif
45524 #ifdef __cplusplus
45525 }
45526 #endif
45527
45528 int
45529 main ()
45530 {
45531 return f != $ac_func;
45532 ;
45533 return 0;
45534 }
45535 _ACEOF
45536 rm -f conftest.$ac_objext conftest$ac_exeext
45537 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45538 (eval $ac_link) 2>conftest.er1
45539 ac_status=$?
45540 grep -v '^ *+' conftest.er1 >conftest.err
45541 rm -f conftest.er1
45542 cat conftest.err >&5
45543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45544 (exit $ac_status); } &&
45545 { ac_try='test -z "$ac_c_werror_flag"
45546 || test ! -s conftest.err'
45547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45548 (eval $ac_try) 2>&5
45549 ac_status=$?
45550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45551 (exit $ac_status); }; } &&
45552 { ac_try='test -s conftest$ac_exeext'
45553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45554 (eval $ac_try) 2>&5
45555 ac_status=$?
45556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45557 (exit $ac_status); }; }; then
45558 eval "$as_ac_var=yes"
45559 else
45560 echo "$as_me: failed program was:" >&5
45561 sed 's/^/| /' conftest.$ac_ext >&5
45562
45563 eval "$as_ac_var=no"
45564 fi
45565 rm -f conftest.err conftest.$ac_objext \
45566 conftest$ac_exeext conftest.$ac_ext
45567 fi
45568 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45569 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45570 if test `eval echo '${'$as_ac_var'}'` = yes; then
45571 cat >>confdefs.h <<_ACEOF
45572 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45573 _ACEOF
45574
45575 fi
45576 done
45577
45578 else
45579
45580 echo "$as_me:$LINENO: checking for _ldexpl declaration" >&5
45581 echo $ECHO_N "checking for _ldexpl declaration... $ECHO_C" >&6
45582 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
45583 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then
45584 echo $ECHO_N "(cached) $ECHO_C" >&6
45585 else
45586
45587
45588
45589 ac_ext=cc
45590 ac_cpp='$CXXCPP $CPPFLAGS'
45591 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45592 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45593 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45594
45595 cat >conftest.$ac_ext <<_ACEOF
45596 /* confdefs.h. */
45597 _ACEOF
45598 cat confdefs.h >>conftest.$ac_ext
45599 cat >>conftest.$ac_ext <<_ACEOF
45600 /* end confdefs.h. */
45601 #include <math.h>
45602 int
45603 main ()
45604 {
45605 _ldexpl(0, 0);
45606 ;
45607 return 0;
45608 }
45609 _ACEOF
45610 rm -f conftest.$ac_objext
45611 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45612 (eval $ac_compile) 2>conftest.er1
45613 ac_status=$?
45614 grep -v '^ *+' conftest.er1 >conftest.err
45615 rm -f conftest.er1
45616 cat conftest.err >&5
45617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45618 (exit $ac_status); } &&
45619 { ac_try='test -z "$ac_cxx_werror_flag"
45620 || test ! -s conftest.err'
45621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45622 (eval $ac_try) 2>&5
45623 ac_status=$?
45624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45625 (exit $ac_status); }; } &&
45626 { ac_try='test -s conftest.$ac_objext'
45627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45628 (eval $ac_try) 2>&5
45629 ac_status=$?
45630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45631 (exit $ac_status); }; }; then
45632 glibcxx_cv_func__ldexpl_use=yes
45633 else
45634 echo "$as_me: failed program was:" >&5
45635 sed 's/^/| /' conftest.$ac_ext >&5
45636
45637 glibcxx_cv_func__ldexpl_use=no
45638 fi
45639 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45640 ac_ext=c
45641 ac_cpp='$CPP $CPPFLAGS'
45642 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45643 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45644 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45645
45646
45647 fi
45648
45649 fi
45650 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpl_use" >&5
45651 echo "${ECHO_T}$glibcxx_cv_func__ldexpl_use" >&6
45652
45653 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
45654
45655 for ac_func in _ldexpl
45656 do
45657 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45658 echo "$as_me:$LINENO: checking for $ac_func" >&5
45659 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45660 if eval "test \"\${$as_ac_var+set}\" = set"; then
45661 echo $ECHO_N "(cached) $ECHO_C" >&6
45662 else
45663 if test x$gcc_no_link = xyes; then
45664 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45665 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45666 { (exit 1); exit 1; }; }
45667 fi
45668 cat >conftest.$ac_ext <<_ACEOF
45669 /* confdefs.h. */
45670 _ACEOF
45671 cat confdefs.h >>conftest.$ac_ext
45672 cat >>conftest.$ac_ext <<_ACEOF
45673 /* end confdefs.h. */
45674 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45675 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45676 #define $ac_func innocuous_$ac_func
45677
45678 /* System header to define __stub macros and hopefully few prototypes,
45679 which can conflict with char $ac_func (); below.
45680 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45681 <limits.h> exists even on freestanding compilers. */
45682
45683 #ifdef __STDC__
45684 # include <limits.h>
45685 #else
45686 # include <assert.h>
45687 #endif
45688
45689 #undef $ac_func
45690
45691 /* Override any gcc2 internal prototype to avoid an error. */
45692 #ifdef __cplusplus
45693 extern "C"
45694 {
45695 #endif
45696 /* We use char because int might match the return type of a gcc2
45697 builtin and then its argument prototype would still apply. */
45698 char $ac_func ();
45699 /* The GNU C library defines this for functions which it implements
45700 to always fail with ENOSYS. Some functions are actually named
45701 something starting with __ and the normal name is an alias. */
45702 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45703 choke me
45704 #else
45705 char (*f) () = $ac_func;
45706 #endif
45707 #ifdef __cplusplus
45708 }
45709 #endif
45710
45711 int
45712 main ()
45713 {
45714 return f != $ac_func;
45715 ;
45716 return 0;
45717 }
45718 _ACEOF
45719 rm -f conftest.$ac_objext conftest$ac_exeext
45720 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45721 (eval $ac_link) 2>conftest.er1
45722 ac_status=$?
45723 grep -v '^ *+' conftest.er1 >conftest.err
45724 rm -f conftest.er1
45725 cat conftest.err >&5
45726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45727 (exit $ac_status); } &&
45728 { ac_try='test -z "$ac_c_werror_flag"
45729 || test ! -s conftest.err'
45730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45731 (eval $ac_try) 2>&5
45732 ac_status=$?
45733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45734 (exit $ac_status); }; } &&
45735 { ac_try='test -s conftest$ac_exeext'
45736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45737 (eval $ac_try) 2>&5
45738 ac_status=$?
45739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45740 (exit $ac_status); }; }; then
45741 eval "$as_ac_var=yes"
45742 else
45743 echo "$as_me: failed program was:" >&5
45744 sed 's/^/| /' conftest.$ac_ext >&5
45745
45746 eval "$as_ac_var=no"
45747 fi
45748 rm -f conftest.err conftest.$ac_objext \
45749 conftest$ac_exeext conftest.$ac_ext
45750 fi
45751 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45752 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45753 if test `eval echo '${'$as_ac_var'}'` = yes; then
45754 cat >>confdefs.h <<_ACEOF
45755 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45756 _ACEOF
45757
45758 fi
45759 done
45760
45761 fi
45762 fi
45763
45764
45765
45766
45767
45768
45769 echo "$as_me:$LINENO: checking for logl declaration" >&5
45770 echo $ECHO_N "checking for logl declaration... $ECHO_C" >&6
45771 if test x${glibcxx_cv_func_logl_use+set} != xset; then
45772 if test "${glibcxx_cv_func_logl_use+set}" = set; then
45773 echo $ECHO_N "(cached) $ECHO_C" >&6
45774 else
45775
45776
45777
45778 ac_ext=cc
45779 ac_cpp='$CXXCPP $CPPFLAGS'
45780 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45781 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45782 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45783
45784 cat >conftest.$ac_ext <<_ACEOF
45785 /* confdefs.h. */
45786 _ACEOF
45787 cat confdefs.h >>conftest.$ac_ext
45788 cat >>conftest.$ac_ext <<_ACEOF
45789 /* end confdefs.h. */
45790 #include <math.h>
45791 #ifdef HAVE_IEEEFP_H
45792 #include <ieeefp.h>
45793 #endif
45794
45795 int
45796 main ()
45797 {
45798 logl(0);
45799 ;
45800 return 0;
45801 }
45802 _ACEOF
45803 rm -f conftest.$ac_objext
45804 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45805 (eval $ac_compile) 2>conftest.er1
45806 ac_status=$?
45807 grep -v '^ *+' conftest.er1 >conftest.err
45808 rm -f conftest.er1
45809 cat conftest.err >&5
45810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45811 (exit $ac_status); } &&
45812 { ac_try='test -z "$ac_cxx_werror_flag"
45813 || test ! -s conftest.err'
45814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45815 (eval $ac_try) 2>&5
45816 ac_status=$?
45817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45818 (exit $ac_status); }; } &&
45819 { ac_try='test -s conftest.$ac_objext'
45820 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45821 (eval $ac_try) 2>&5
45822 ac_status=$?
45823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45824 (exit $ac_status); }; }; then
45825 glibcxx_cv_func_logl_use=yes
45826 else
45827 echo "$as_me: failed program was:" >&5
45828 sed 's/^/| /' conftest.$ac_ext >&5
45829
45830 glibcxx_cv_func_logl_use=no
45831 fi
45832 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45833 ac_ext=c
45834 ac_cpp='$CPP $CPPFLAGS'
45835 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45836 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45837 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45838
45839
45840 fi
45841
45842 fi
45843 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logl_use" >&5
45844 echo "${ECHO_T}$glibcxx_cv_func_logl_use" >&6
45845
45846 if test x$glibcxx_cv_func_logl_use = x"yes"; then
45847
45848 for ac_func in logl
45849 do
45850 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45851 echo "$as_me:$LINENO: checking for $ac_func" >&5
45852 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45853 if eval "test \"\${$as_ac_var+set}\" = set"; then
45854 echo $ECHO_N "(cached) $ECHO_C" >&6
45855 else
45856 if test x$gcc_no_link = xyes; then
45857 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45858 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45859 { (exit 1); exit 1; }; }
45860 fi
45861 cat >conftest.$ac_ext <<_ACEOF
45862 /* confdefs.h. */
45863 _ACEOF
45864 cat confdefs.h >>conftest.$ac_ext
45865 cat >>conftest.$ac_ext <<_ACEOF
45866 /* end confdefs.h. */
45867 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45868 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45869 #define $ac_func innocuous_$ac_func
45870
45871 /* System header to define __stub macros and hopefully few prototypes,
45872 which can conflict with char $ac_func (); below.
45873 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45874 <limits.h> exists even on freestanding compilers. */
45875
45876 #ifdef __STDC__
45877 # include <limits.h>
45878 #else
45879 # include <assert.h>
45880 #endif
45881
45882 #undef $ac_func
45883
45884 /* Override any gcc2 internal prototype to avoid an error. */
45885 #ifdef __cplusplus
45886 extern "C"
45887 {
45888 #endif
45889 /* We use char because int might match the return type of a gcc2
45890 builtin and then its argument prototype would still apply. */
45891 char $ac_func ();
45892 /* The GNU C library defines this for functions which it implements
45893 to always fail with ENOSYS. Some functions are actually named
45894 something starting with __ and the normal name is an alias. */
45895 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45896 choke me
45897 #else
45898 char (*f) () = $ac_func;
45899 #endif
45900 #ifdef __cplusplus
45901 }
45902 #endif
45903
45904 int
45905 main ()
45906 {
45907 return f != $ac_func;
45908 ;
45909 return 0;
45910 }
45911 _ACEOF
45912 rm -f conftest.$ac_objext conftest$ac_exeext
45913 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45914 (eval $ac_link) 2>conftest.er1
45915 ac_status=$?
45916 grep -v '^ *+' conftest.er1 >conftest.err
45917 rm -f conftest.er1
45918 cat conftest.err >&5
45919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45920 (exit $ac_status); } &&
45921 { ac_try='test -z "$ac_c_werror_flag"
45922 || 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_exeext'
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 eval "$as_ac_var=yes"
45935 else
45936 echo "$as_me: failed program was:" >&5
45937 sed 's/^/| /' conftest.$ac_ext >&5
45938
45939 eval "$as_ac_var=no"
45940 fi
45941 rm -f conftest.err conftest.$ac_objext \
45942 conftest$ac_exeext conftest.$ac_ext
45943 fi
45944 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45945 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45946 if test `eval echo '${'$as_ac_var'}'` = yes; then
45947 cat >>confdefs.h <<_ACEOF
45948 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45949 _ACEOF
45950
45951 fi
45952 done
45953
45954 else
45955
45956 echo "$as_me:$LINENO: checking for _logl declaration" >&5
45957 echo $ECHO_N "checking for _logl declaration... $ECHO_C" >&6
45958 if test x${glibcxx_cv_func__logl_use+set} != xset; then
45959 if test "${glibcxx_cv_func__logl_use+set}" = set; then
45960 echo $ECHO_N "(cached) $ECHO_C" >&6
45961 else
45962
45963
45964
45965 ac_ext=cc
45966 ac_cpp='$CXXCPP $CPPFLAGS'
45967 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45968 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45969 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45970
45971 cat >conftest.$ac_ext <<_ACEOF
45972 /* confdefs.h. */
45973 _ACEOF
45974 cat confdefs.h >>conftest.$ac_ext
45975 cat >>conftest.$ac_ext <<_ACEOF
45976 /* end confdefs.h. */
45977 #include <math.h>
45978 #ifdef HAVE_IEEEFP_H
45979 #include <ieeefp.h>
45980 #endif
45981
45982 int
45983 main ()
45984 {
45985 _logl(0);
45986 ;
45987 return 0;
45988 }
45989 _ACEOF
45990 rm -f conftest.$ac_objext
45991 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45992 (eval $ac_compile) 2>conftest.er1
45993 ac_status=$?
45994 grep -v '^ *+' conftest.er1 >conftest.err
45995 rm -f conftest.er1
45996 cat conftest.err >&5
45997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45998 (exit $ac_status); } &&
45999 { ac_try='test -z "$ac_cxx_werror_flag"
46000 || test ! -s conftest.err'
46001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46002 (eval $ac_try) 2>&5
46003 ac_status=$?
46004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46005 (exit $ac_status); }; } &&
46006 { ac_try='test -s conftest.$ac_objext'
46007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46008 (eval $ac_try) 2>&5
46009 ac_status=$?
46010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46011 (exit $ac_status); }; }; then
46012 glibcxx_cv_func__logl_use=yes
46013 else
46014 echo "$as_me: failed program was:" >&5
46015 sed 's/^/| /' conftest.$ac_ext >&5
46016
46017 glibcxx_cv_func__logl_use=no
46018 fi
46019 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46020 ac_ext=c
46021 ac_cpp='$CPP $CPPFLAGS'
46022 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46023 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46024 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46025
46026
46027 fi
46028
46029 fi
46030 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logl_use" >&5
46031 echo "${ECHO_T}$glibcxx_cv_func__logl_use" >&6
46032
46033 if test x$glibcxx_cv_func__logl_use = x"yes"; then
46034
46035 for ac_func in _logl
46036 do
46037 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46038 echo "$as_me:$LINENO: checking for $ac_func" >&5
46039 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46040 if eval "test \"\${$as_ac_var+set}\" = set"; then
46041 echo $ECHO_N "(cached) $ECHO_C" >&6
46042 else
46043 if test x$gcc_no_link = xyes; then
46044 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46045 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46046 { (exit 1); exit 1; }; }
46047 fi
46048 cat >conftest.$ac_ext <<_ACEOF
46049 /* confdefs.h. */
46050 _ACEOF
46051 cat confdefs.h >>conftest.$ac_ext
46052 cat >>conftest.$ac_ext <<_ACEOF
46053 /* end confdefs.h. */
46054 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46055 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46056 #define $ac_func innocuous_$ac_func
46057
46058 /* System header to define __stub macros and hopefully few prototypes,
46059 which can conflict with char $ac_func (); below.
46060 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46061 <limits.h> exists even on freestanding compilers. */
46062
46063 #ifdef __STDC__
46064 # include <limits.h>
46065 #else
46066 # include <assert.h>
46067 #endif
46068
46069 #undef $ac_func
46070
46071 /* Override any gcc2 internal prototype to avoid an error. */
46072 #ifdef __cplusplus
46073 extern "C"
46074 {
46075 #endif
46076 /* We use char because int might match the return type of a gcc2
46077 builtin and then its argument prototype would still apply. */
46078 char $ac_func ();
46079 /* The GNU C library defines this for functions which it implements
46080 to always fail with ENOSYS. Some functions are actually named
46081 something starting with __ and the normal name is an alias. */
46082 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46083 choke me
46084 #else
46085 char (*f) () = $ac_func;
46086 #endif
46087 #ifdef __cplusplus
46088 }
46089 #endif
46090
46091 int
46092 main ()
46093 {
46094 return f != $ac_func;
46095 ;
46096 return 0;
46097 }
46098 _ACEOF
46099 rm -f conftest.$ac_objext conftest$ac_exeext
46100 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46101 (eval $ac_link) 2>conftest.er1
46102 ac_status=$?
46103 grep -v '^ *+' conftest.er1 >conftest.err
46104 rm -f conftest.er1
46105 cat conftest.err >&5
46106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46107 (exit $ac_status); } &&
46108 { ac_try='test -z "$ac_c_werror_flag"
46109 || 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_exeext'
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 eval "$as_ac_var=yes"
46122 else
46123 echo "$as_me: failed program was:" >&5
46124 sed 's/^/| /' conftest.$ac_ext >&5
46125
46126 eval "$as_ac_var=no"
46127 fi
46128 rm -f conftest.err conftest.$ac_objext \
46129 conftest$ac_exeext conftest.$ac_ext
46130 fi
46131 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46132 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46133 if test `eval echo '${'$as_ac_var'}'` = yes; then
46134 cat >>confdefs.h <<_ACEOF
46135 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46136 _ACEOF
46137
46138 fi
46139 done
46140
46141 fi
46142 fi
46143
46144
46145
46146
46147
46148
46149 echo "$as_me:$LINENO: checking for log10l declaration" >&5
46150 echo $ECHO_N "checking for log10l declaration... $ECHO_C" >&6
46151 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
46152 if test "${glibcxx_cv_func_log10l_use+set}" = set; then
46153 echo $ECHO_N "(cached) $ECHO_C" >&6
46154 else
46155
46156
46157
46158 ac_ext=cc
46159 ac_cpp='$CXXCPP $CPPFLAGS'
46160 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46161 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46162 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46163
46164 cat >conftest.$ac_ext <<_ACEOF
46165 /* confdefs.h. */
46166 _ACEOF
46167 cat confdefs.h >>conftest.$ac_ext
46168 cat >>conftest.$ac_ext <<_ACEOF
46169 /* end confdefs.h. */
46170 #include <math.h>
46171 #ifdef HAVE_IEEEFP_H
46172 #include <ieeefp.h>
46173 #endif
46174
46175 int
46176 main ()
46177 {
46178 log10l(0);
46179 ;
46180 return 0;
46181 }
46182 _ACEOF
46183 rm -f conftest.$ac_objext
46184 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46185 (eval $ac_compile) 2>conftest.er1
46186 ac_status=$?
46187 grep -v '^ *+' conftest.er1 >conftest.err
46188 rm -f conftest.er1
46189 cat conftest.err >&5
46190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46191 (exit $ac_status); } &&
46192 { ac_try='test -z "$ac_cxx_werror_flag"
46193 || test ! -s conftest.err'
46194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46195 (eval $ac_try) 2>&5
46196 ac_status=$?
46197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46198 (exit $ac_status); }; } &&
46199 { ac_try='test -s conftest.$ac_objext'
46200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46201 (eval $ac_try) 2>&5
46202 ac_status=$?
46203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46204 (exit $ac_status); }; }; then
46205 glibcxx_cv_func_log10l_use=yes
46206 else
46207 echo "$as_me: failed program was:" >&5
46208 sed 's/^/| /' conftest.$ac_ext >&5
46209
46210 glibcxx_cv_func_log10l_use=no
46211 fi
46212 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46213 ac_ext=c
46214 ac_cpp='$CPP $CPPFLAGS'
46215 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46216 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46217 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46218
46219
46220 fi
46221
46222 fi
46223 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10l_use" >&5
46224 echo "${ECHO_T}$glibcxx_cv_func_log10l_use" >&6
46225
46226 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
46227
46228 for ac_func in log10l
46229 do
46230 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46231 echo "$as_me:$LINENO: checking for $ac_func" >&5
46232 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46233 if eval "test \"\${$as_ac_var+set}\" = set"; then
46234 echo $ECHO_N "(cached) $ECHO_C" >&6
46235 else
46236 if test x$gcc_no_link = xyes; then
46237 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46238 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46239 { (exit 1); exit 1; }; }
46240 fi
46241 cat >conftest.$ac_ext <<_ACEOF
46242 /* confdefs.h. */
46243 _ACEOF
46244 cat confdefs.h >>conftest.$ac_ext
46245 cat >>conftest.$ac_ext <<_ACEOF
46246 /* end confdefs.h. */
46247 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46248 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46249 #define $ac_func innocuous_$ac_func
46250
46251 /* System header to define __stub macros and hopefully few prototypes,
46252 which can conflict with char $ac_func (); below.
46253 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46254 <limits.h> exists even on freestanding compilers. */
46255
46256 #ifdef __STDC__
46257 # include <limits.h>
46258 #else
46259 # include <assert.h>
46260 #endif
46261
46262 #undef $ac_func
46263
46264 /* Override any gcc2 internal prototype to avoid an error. */
46265 #ifdef __cplusplus
46266 extern "C"
46267 {
46268 #endif
46269 /* We use char because int might match the return type of a gcc2
46270 builtin and then its argument prototype would still apply. */
46271 char $ac_func ();
46272 /* The GNU C library defines this for functions which it implements
46273 to always fail with ENOSYS. Some functions are actually named
46274 something starting with __ and the normal name is an alias. */
46275 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46276 choke me
46277 #else
46278 char (*f) () = $ac_func;
46279 #endif
46280 #ifdef __cplusplus
46281 }
46282 #endif
46283
46284 int
46285 main ()
46286 {
46287 return f != $ac_func;
46288 ;
46289 return 0;
46290 }
46291 _ACEOF
46292 rm -f conftest.$ac_objext conftest$ac_exeext
46293 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46294 (eval $ac_link) 2>conftest.er1
46295 ac_status=$?
46296 grep -v '^ *+' conftest.er1 >conftest.err
46297 rm -f conftest.er1
46298 cat conftest.err >&5
46299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46300 (exit $ac_status); } &&
46301 { ac_try='test -z "$ac_c_werror_flag"
46302 || test ! -s conftest.err'
46303 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46304 (eval $ac_try) 2>&5
46305 ac_status=$?
46306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46307 (exit $ac_status); }; } &&
46308 { ac_try='test -s conftest$ac_exeext'
46309 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46310 (eval $ac_try) 2>&5
46311 ac_status=$?
46312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46313 (exit $ac_status); }; }; then
46314 eval "$as_ac_var=yes"
46315 else
46316 echo "$as_me: failed program was:" >&5
46317 sed 's/^/| /' conftest.$ac_ext >&5
46318
46319 eval "$as_ac_var=no"
46320 fi
46321 rm -f conftest.err conftest.$ac_objext \
46322 conftest$ac_exeext conftest.$ac_ext
46323 fi
46324 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46325 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46326 if test `eval echo '${'$as_ac_var'}'` = yes; then
46327 cat >>confdefs.h <<_ACEOF
46328 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46329 _ACEOF
46330
46331 fi
46332 done
46333
46334 else
46335
46336 echo "$as_me:$LINENO: checking for _log10l declaration" >&5
46337 echo $ECHO_N "checking for _log10l declaration... $ECHO_C" >&6
46338 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
46339 if test "${glibcxx_cv_func__log10l_use+set}" = set; then
46340 echo $ECHO_N "(cached) $ECHO_C" >&6
46341 else
46342
46343
46344
46345 ac_ext=cc
46346 ac_cpp='$CXXCPP $CPPFLAGS'
46347 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46348 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46349 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46350
46351 cat >conftest.$ac_ext <<_ACEOF
46352 /* confdefs.h. */
46353 _ACEOF
46354 cat confdefs.h >>conftest.$ac_ext
46355 cat >>conftest.$ac_ext <<_ACEOF
46356 /* end confdefs.h. */
46357 #include <math.h>
46358 #ifdef HAVE_IEEEFP_H
46359 #include <ieeefp.h>
46360 #endif
46361
46362 int
46363 main ()
46364 {
46365 _log10l(0);
46366 ;
46367 return 0;
46368 }
46369 _ACEOF
46370 rm -f conftest.$ac_objext
46371 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46372 (eval $ac_compile) 2>conftest.er1
46373 ac_status=$?
46374 grep -v '^ *+' conftest.er1 >conftest.err
46375 rm -f conftest.er1
46376 cat conftest.err >&5
46377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46378 (exit $ac_status); } &&
46379 { ac_try='test -z "$ac_cxx_werror_flag"
46380 || test ! -s conftest.err'
46381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46382 (eval $ac_try) 2>&5
46383 ac_status=$?
46384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46385 (exit $ac_status); }; } &&
46386 { ac_try='test -s conftest.$ac_objext'
46387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46388 (eval $ac_try) 2>&5
46389 ac_status=$?
46390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46391 (exit $ac_status); }; }; then
46392 glibcxx_cv_func__log10l_use=yes
46393 else
46394 echo "$as_me: failed program was:" >&5
46395 sed 's/^/| /' conftest.$ac_ext >&5
46396
46397 glibcxx_cv_func__log10l_use=no
46398 fi
46399 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46400 ac_ext=c
46401 ac_cpp='$CPP $CPPFLAGS'
46402 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46403 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46404 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46405
46406
46407 fi
46408
46409 fi
46410 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10l_use" >&5
46411 echo "${ECHO_T}$glibcxx_cv_func__log10l_use" >&6
46412
46413 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
46414
46415 for ac_func in _log10l
46416 do
46417 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46418 echo "$as_me:$LINENO: checking for $ac_func" >&5
46419 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46420 if eval "test \"\${$as_ac_var+set}\" = set"; then
46421 echo $ECHO_N "(cached) $ECHO_C" >&6
46422 else
46423 if test x$gcc_no_link = xyes; then
46424 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46425 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46426 { (exit 1); exit 1; }; }
46427 fi
46428 cat >conftest.$ac_ext <<_ACEOF
46429 /* confdefs.h. */
46430 _ACEOF
46431 cat confdefs.h >>conftest.$ac_ext
46432 cat >>conftest.$ac_ext <<_ACEOF
46433 /* end confdefs.h. */
46434 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46435 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46436 #define $ac_func innocuous_$ac_func
46437
46438 /* System header to define __stub macros and hopefully few prototypes,
46439 which can conflict with char $ac_func (); below.
46440 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46441 <limits.h> exists even on freestanding compilers. */
46442
46443 #ifdef __STDC__
46444 # include <limits.h>
46445 #else
46446 # include <assert.h>
46447 #endif
46448
46449 #undef $ac_func
46450
46451 /* Override any gcc2 internal prototype to avoid an error. */
46452 #ifdef __cplusplus
46453 extern "C"
46454 {
46455 #endif
46456 /* We use char because int might match the return type of a gcc2
46457 builtin and then its argument prototype would still apply. */
46458 char $ac_func ();
46459 /* The GNU C library defines this for functions which it implements
46460 to always fail with ENOSYS. Some functions are actually named
46461 something starting with __ and the normal name is an alias. */
46462 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46463 choke me
46464 #else
46465 char (*f) () = $ac_func;
46466 #endif
46467 #ifdef __cplusplus
46468 }
46469 #endif
46470
46471 int
46472 main ()
46473 {
46474 return f != $ac_func;
46475 ;
46476 return 0;
46477 }
46478 _ACEOF
46479 rm -f conftest.$ac_objext conftest$ac_exeext
46480 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46481 (eval $ac_link) 2>conftest.er1
46482 ac_status=$?
46483 grep -v '^ *+' conftest.er1 >conftest.err
46484 rm -f conftest.er1
46485 cat conftest.err >&5
46486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46487 (exit $ac_status); } &&
46488 { ac_try='test -z "$ac_c_werror_flag"
46489 || test ! -s conftest.err'
46490 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46491 (eval $ac_try) 2>&5
46492 ac_status=$?
46493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46494 (exit $ac_status); }; } &&
46495 { ac_try='test -s conftest$ac_exeext'
46496 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46497 (eval $ac_try) 2>&5
46498 ac_status=$?
46499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46500 (exit $ac_status); }; }; then
46501 eval "$as_ac_var=yes"
46502 else
46503 echo "$as_me: failed program was:" >&5
46504 sed 's/^/| /' conftest.$ac_ext >&5
46505
46506 eval "$as_ac_var=no"
46507 fi
46508 rm -f conftest.err conftest.$ac_objext \
46509 conftest$ac_exeext conftest.$ac_ext
46510 fi
46511 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46512 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46513 if test `eval echo '${'$as_ac_var'}'` = yes; then
46514 cat >>confdefs.h <<_ACEOF
46515 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46516 _ACEOF
46517
46518 fi
46519 done
46520
46521 fi
46522 fi
46523
46524
46525
46526
46527
46528
46529 echo "$as_me:$LINENO: checking for modfl declaration" >&5
46530 echo $ECHO_N "checking for modfl declaration... $ECHO_C" >&6
46531 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
46532 if test "${glibcxx_cv_func_modfl_use+set}" = set; then
46533 echo $ECHO_N "(cached) $ECHO_C" >&6
46534 else
46535
46536
46537
46538 ac_ext=cc
46539 ac_cpp='$CXXCPP $CPPFLAGS'
46540 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46541 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46542 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46543
46544 cat >conftest.$ac_ext <<_ACEOF
46545 /* confdefs.h. */
46546 _ACEOF
46547 cat confdefs.h >>conftest.$ac_ext
46548 cat >>conftest.$ac_ext <<_ACEOF
46549 /* end confdefs.h. */
46550 #include <math.h>
46551 int
46552 main ()
46553 {
46554 modfl(0, 0);
46555 ;
46556 return 0;
46557 }
46558 _ACEOF
46559 rm -f conftest.$ac_objext
46560 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46561 (eval $ac_compile) 2>conftest.er1
46562 ac_status=$?
46563 grep -v '^ *+' conftest.er1 >conftest.err
46564 rm -f conftest.er1
46565 cat conftest.err >&5
46566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46567 (exit $ac_status); } &&
46568 { ac_try='test -z "$ac_cxx_werror_flag"
46569 || test ! -s conftest.err'
46570 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46571 (eval $ac_try) 2>&5
46572 ac_status=$?
46573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46574 (exit $ac_status); }; } &&
46575 { ac_try='test -s conftest.$ac_objext'
46576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46577 (eval $ac_try) 2>&5
46578 ac_status=$?
46579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46580 (exit $ac_status); }; }; then
46581 glibcxx_cv_func_modfl_use=yes
46582 else
46583 echo "$as_me: failed program was:" >&5
46584 sed 's/^/| /' conftest.$ac_ext >&5
46585
46586 glibcxx_cv_func_modfl_use=no
46587 fi
46588 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46589 ac_ext=c
46590 ac_cpp='$CPP $CPPFLAGS'
46591 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46592 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46593 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46594
46595
46596 fi
46597
46598 fi
46599 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modfl_use" >&5
46600 echo "${ECHO_T}$glibcxx_cv_func_modfl_use" >&6
46601
46602 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
46603
46604 for ac_func in modfl
46605 do
46606 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46607 echo "$as_me:$LINENO: checking for $ac_func" >&5
46608 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46609 if eval "test \"\${$as_ac_var+set}\" = set"; then
46610 echo $ECHO_N "(cached) $ECHO_C" >&6
46611 else
46612 if test x$gcc_no_link = xyes; then
46613 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46614 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46615 { (exit 1); exit 1; }; }
46616 fi
46617 cat >conftest.$ac_ext <<_ACEOF
46618 /* confdefs.h. */
46619 _ACEOF
46620 cat confdefs.h >>conftest.$ac_ext
46621 cat >>conftest.$ac_ext <<_ACEOF
46622 /* end confdefs.h. */
46623 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46624 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46625 #define $ac_func innocuous_$ac_func
46626
46627 /* System header to define __stub macros and hopefully few prototypes,
46628 which can conflict with char $ac_func (); below.
46629 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46630 <limits.h> exists even on freestanding compilers. */
46631
46632 #ifdef __STDC__
46633 # include <limits.h>
46634 #else
46635 # include <assert.h>
46636 #endif
46637
46638 #undef $ac_func
46639
46640 /* Override any gcc2 internal prototype to avoid an error. */
46641 #ifdef __cplusplus
46642 extern "C"
46643 {
46644 #endif
46645 /* We use char because int might match the return type of a gcc2
46646 builtin and then its argument prototype would still apply. */
46647 char $ac_func ();
46648 /* The GNU C library defines this for functions which it implements
46649 to always fail with ENOSYS. Some functions are actually named
46650 something starting with __ and the normal name is an alias. */
46651 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46652 choke me
46653 #else
46654 char (*f) () = $ac_func;
46655 #endif
46656 #ifdef __cplusplus
46657 }
46658 #endif
46659
46660 int
46661 main ()
46662 {
46663 return f != $ac_func;
46664 ;
46665 return 0;
46666 }
46667 _ACEOF
46668 rm -f conftest.$ac_objext conftest$ac_exeext
46669 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46670 (eval $ac_link) 2>conftest.er1
46671 ac_status=$?
46672 grep -v '^ *+' conftest.er1 >conftest.err
46673 rm -f conftest.er1
46674 cat conftest.err >&5
46675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46676 (exit $ac_status); } &&
46677 { ac_try='test -z "$ac_c_werror_flag"
46678 || test ! -s conftest.err'
46679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46680 (eval $ac_try) 2>&5
46681 ac_status=$?
46682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46683 (exit $ac_status); }; } &&
46684 { ac_try='test -s conftest$ac_exeext'
46685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46686 (eval $ac_try) 2>&5
46687 ac_status=$?
46688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46689 (exit $ac_status); }; }; then
46690 eval "$as_ac_var=yes"
46691 else
46692 echo "$as_me: failed program was:" >&5
46693 sed 's/^/| /' conftest.$ac_ext >&5
46694
46695 eval "$as_ac_var=no"
46696 fi
46697 rm -f conftest.err conftest.$ac_objext \
46698 conftest$ac_exeext conftest.$ac_ext
46699 fi
46700 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46701 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46702 if test `eval echo '${'$as_ac_var'}'` = yes; then
46703 cat >>confdefs.h <<_ACEOF
46704 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46705 _ACEOF
46706
46707 fi
46708 done
46709
46710 else
46711
46712 echo "$as_me:$LINENO: checking for _modfl declaration" >&5
46713 echo $ECHO_N "checking for _modfl declaration... $ECHO_C" >&6
46714 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
46715 if test "${glibcxx_cv_func__modfl_use+set}" = set; then
46716 echo $ECHO_N "(cached) $ECHO_C" >&6
46717 else
46718
46719
46720
46721 ac_ext=cc
46722 ac_cpp='$CXXCPP $CPPFLAGS'
46723 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46724 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46725 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46726
46727 cat >conftest.$ac_ext <<_ACEOF
46728 /* confdefs.h. */
46729 _ACEOF
46730 cat confdefs.h >>conftest.$ac_ext
46731 cat >>conftest.$ac_ext <<_ACEOF
46732 /* end confdefs.h. */
46733 #include <math.h>
46734 int
46735 main ()
46736 {
46737 _modfl(0, 0);
46738 ;
46739 return 0;
46740 }
46741 _ACEOF
46742 rm -f conftest.$ac_objext
46743 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46744 (eval $ac_compile) 2>conftest.er1
46745 ac_status=$?
46746 grep -v '^ *+' conftest.er1 >conftest.err
46747 rm -f conftest.er1
46748 cat conftest.err >&5
46749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46750 (exit $ac_status); } &&
46751 { ac_try='test -z "$ac_cxx_werror_flag"
46752 || test ! -s conftest.err'
46753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46754 (eval $ac_try) 2>&5
46755 ac_status=$?
46756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46757 (exit $ac_status); }; } &&
46758 { ac_try='test -s conftest.$ac_objext'
46759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46760 (eval $ac_try) 2>&5
46761 ac_status=$?
46762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46763 (exit $ac_status); }; }; then
46764 glibcxx_cv_func__modfl_use=yes
46765 else
46766 echo "$as_me: failed program was:" >&5
46767 sed 's/^/| /' conftest.$ac_ext >&5
46768
46769 glibcxx_cv_func__modfl_use=no
46770 fi
46771 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46772 ac_ext=c
46773 ac_cpp='$CPP $CPPFLAGS'
46774 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46775 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46776 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46777
46778
46779 fi
46780
46781 fi
46782 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modfl_use" >&5
46783 echo "${ECHO_T}$glibcxx_cv_func__modfl_use" >&6
46784
46785 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
46786
46787 for ac_func in _modfl
46788 do
46789 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46790 echo "$as_me:$LINENO: checking for $ac_func" >&5
46791 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46792 if eval "test \"\${$as_ac_var+set}\" = set"; then
46793 echo $ECHO_N "(cached) $ECHO_C" >&6
46794 else
46795 if test x$gcc_no_link = xyes; then
46796 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46797 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46798 { (exit 1); exit 1; }; }
46799 fi
46800 cat >conftest.$ac_ext <<_ACEOF
46801 /* confdefs.h. */
46802 _ACEOF
46803 cat confdefs.h >>conftest.$ac_ext
46804 cat >>conftest.$ac_ext <<_ACEOF
46805 /* end confdefs.h. */
46806 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46807 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46808 #define $ac_func innocuous_$ac_func
46809
46810 /* System header to define __stub macros and hopefully few prototypes,
46811 which can conflict with char $ac_func (); below.
46812 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46813 <limits.h> exists even on freestanding compilers. */
46814
46815 #ifdef __STDC__
46816 # include <limits.h>
46817 #else
46818 # include <assert.h>
46819 #endif
46820
46821 #undef $ac_func
46822
46823 /* Override any gcc2 internal prototype to avoid an error. */
46824 #ifdef __cplusplus
46825 extern "C"
46826 {
46827 #endif
46828 /* We use char because int might match the return type of a gcc2
46829 builtin and then its argument prototype would still apply. */
46830 char $ac_func ();
46831 /* The GNU C library defines this for functions which it implements
46832 to always fail with ENOSYS. Some functions are actually named
46833 something starting with __ and the normal name is an alias. */
46834 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46835 choke me
46836 #else
46837 char (*f) () = $ac_func;
46838 #endif
46839 #ifdef __cplusplus
46840 }
46841 #endif
46842
46843 int
46844 main ()
46845 {
46846 return f != $ac_func;
46847 ;
46848 return 0;
46849 }
46850 _ACEOF
46851 rm -f conftest.$ac_objext conftest$ac_exeext
46852 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46853 (eval $ac_link) 2>conftest.er1
46854 ac_status=$?
46855 grep -v '^ *+' conftest.er1 >conftest.err
46856 rm -f conftest.er1
46857 cat conftest.err >&5
46858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46859 (exit $ac_status); } &&
46860 { ac_try='test -z "$ac_c_werror_flag"
46861 || test ! -s conftest.err'
46862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46863 (eval $ac_try) 2>&5
46864 ac_status=$?
46865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46866 (exit $ac_status); }; } &&
46867 { ac_try='test -s conftest$ac_exeext'
46868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46869 (eval $ac_try) 2>&5
46870 ac_status=$?
46871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46872 (exit $ac_status); }; }; then
46873 eval "$as_ac_var=yes"
46874 else
46875 echo "$as_me: failed program was:" >&5
46876 sed 's/^/| /' conftest.$ac_ext >&5
46877
46878 eval "$as_ac_var=no"
46879 fi
46880 rm -f conftest.err conftest.$ac_objext \
46881 conftest$ac_exeext conftest.$ac_ext
46882 fi
46883 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46884 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46885 if test `eval echo '${'$as_ac_var'}'` = yes; then
46886 cat >>confdefs.h <<_ACEOF
46887 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46888 _ACEOF
46889
46890 fi
46891 done
46892
46893 fi
46894 fi
46895
46896
46897
46898
46899
46900
46901 echo "$as_me:$LINENO: checking for powl declaration" >&5
46902 echo $ECHO_N "checking for powl declaration... $ECHO_C" >&6
46903 if test x${glibcxx_cv_func_powl_use+set} != xset; then
46904 if test "${glibcxx_cv_func_powl_use+set}" = set; then
46905 echo $ECHO_N "(cached) $ECHO_C" >&6
46906 else
46907
46908
46909
46910 ac_ext=cc
46911 ac_cpp='$CXXCPP $CPPFLAGS'
46912 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46913 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46914 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46915
46916 cat >conftest.$ac_ext <<_ACEOF
46917 /* confdefs.h. */
46918 _ACEOF
46919 cat confdefs.h >>conftest.$ac_ext
46920 cat >>conftest.$ac_ext <<_ACEOF
46921 /* end confdefs.h. */
46922 #include <math.h>
46923 int
46924 main ()
46925 {
46926 powl(0, 0);
46927 ;
46928 return 0;
46929 }
46930 _ACEOF
46931 rm -f conftest.$ac_objext
46932 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46933 (eval $ac_compile) 2>conftest.er1
46934 ac_status=$?
46935 grep -v '^ *+' conftest.er1 >conftest.err
46936 rm -f conftest.er1
46937 cat conftest.err >&5
46938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46939 (exit $ac_status); } &&
46940 { ac_try='test -z "$ac_cxx_werror_flag"
46941 || test ! -s conftest.err'
46942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46943 (eval $ac_try) 2>&5
46944 ac_status=$?
46945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46946 (exit $ac_status); }; } &&
46947 { ac_try='test -s conftest.$ac_objext'
46948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46949 (eval $ac_try) 2>&5
46950 ac_status=$?
46951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46952 (exit $ac_status); }; }; then
46953 glibcxx_cv_func_powl_use=yes
46954 else
46955 echo "$as_me: failed program was:" >&5
46956 sed 's/^/| /' conftest.$ac_ext >&5
46957
46958 glibcxx_cv_func_powl_use=no
46959 fi
46960 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46961 ac_ext=c
46962 ac_cpp='$CPP $CPPFLAGS'
46963 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46964 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46965 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46966
46967
46968 fi
46969
46970 fi
46971 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powl_use" >&5
46972 echo "${ECHO_T}$glibcxx_cv_func_powl_use" >&6
46973
46974 if test x$glibcxx_cv_func_powl_use = x"yes"; then
46975
46976 for ac_func in powl
46977 do
46978 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46979 echo "$as_me:$LINENO: checking for $ac_func" >&5
46980 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46981 if eval "test \"\${$as_ac_var+set}\" = set"; then
46982 echo $ECHO_N "(cached) $ECHO_C" >&6
46983 else
46984 if test x$gcc_no_link = xyes; then
46985 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46986 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46987 { (exit 1); exit 1; }; }
46988 fi
46989 cat >conftest.$ac_ext <<_ACEOF
46990 /* confdefs.h. */
46991 _ACEOF
46992 cat confdefs.h >>conftest.$ac_ext
46993 cat >>conftest.$ac_ext <<_ACEOF
46994 /* end confdefs.h. */
46995 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46996 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46997 #define $ac_func innocuous_$ac_func
46998
46999 /* System header to define __stub macros and hopefully few prototypes,
47000 which can conflict with char $ac_func (); below.
47001 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47002 <limits.h> exists even on freestanding compilers. */
47003
47004 #ifdef __STDC__
47005 # include <limits.h>
47006 #else
47007 # include <assert.h>
47008 #endif
47009
47010 #undef $ac_func
47011
47012 /* Override any gcc2 internal prototype to avoid an error. */
47013 #ifdef __cplusplus
47014 extern "C"
47015 {
47016 #endif
47017 /* We use char because int might match the return type of a gcc2
47018 builtin and then its argument prototype would still apply. */
47019 char $ac_func ();
47020 /* The GNU C library defines this for functions which it implements
47021 to always fail with ENOSYS. Some functions are actually named
47022 something starting with __ and the normal name is an alias. */
47023 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47024 choke me
47025 #else
47026 char (*f) () = $ac_func;
47027 #endif
47028 #ifdef __cplusplus
47029 }
47030 #endif
47031
47032 int
47033 main ()
47034 {
47035 return f != $ac_func;
47036 ;
47037 return 0;
47038 }
47039 _ACEOF
47040 rm -f conftest.$ac_objext conftest$ac_exeext
47041 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47042 (eval $ac_link) 2>conftest.er1
47043 ac_status=$?
47044 grep -v '^ *+' conftest.er1 >conftest.err
47045 rm -f conftest.er1
47046 cat conftest.err >&5
47047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47048 (exit $ac_status); } &&
47049 { ac_try='test -z "$ac_c_werror_flag"
47050 || test ! -s conftest.err'
47051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47052 (eval $ac_try) 2>&5
47053 ac_status=$?
47054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47055 (exit $ac_status); }; } &&
47056 { ac_try='test -s conftest$ac_exeext'
47057 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47058 (eval $ac_try) 2>&5
47059 ac_status=$?
47060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47061 (exit $ac_status); }; }; then
47062 eval "$as_ac_var=yes"
47063 else
47064 echo "$as_me: failed program was:" >&5
47065 sed 's/^/| /' conftest.$ac_ext >&5
47066
47067 eval "$as_ac_var=no"
47068 fi
47069 rm -f conftest.err conftest.$ac_objext \
47070 conftest$ac_exeext conftest.$ac_ext
47071 fi
47072 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47073 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47074 if test `eval echo '${'$as_ac_var'}'` = yes; then
47075 cat >>confdefs.h <<_ACEOF
47076 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47077 _ACEOF
47078
47079 fi
47080 done
47081
47082 else
47083
47084 echo "$as_me:$LINENO: checking for _powl declaration" >&5
47085 echo $ECHO_N "checking for _powl declaration... $ECHO_C" >&6
47086 if test x${glibcxx_cv_func__powl_use+set} != xset; then
47087 if test "${glibcxx_cv_func__powl_use+set}" = set; then
47088 echo $ECHO_N "(cached) $ECHO_C" >&6
47089 else
47090
47091
47092
47093 ac_ext=cc
47094 ac_cpp='$CXXCPP $CPPFLAGS'
47095 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47096 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47097 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47098
47099 cat >conftest.$ac_ext <<_ACEOF
47100 /* confdefs.h. */
47101 _ACEOF
47102 cat confdefs.h >>conftest.$ac_ext
47103 cat >>conftest.$ac_ext <<_ACEOF
47104 /* end confdefs.h. */
47105 #include <math.h>
47106 int
47107 main ()
47108 {
47109 _powl(0, 0);
47110 ;
47111 return 0;
47112 }
47113 _ACEOF
47114 rm -f conftest.$ac_objext
47115 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47116 (eval $ac_compile) 2>conftest.er1
47117 ac_status=$?
47118 grep -v '^ *+' conftest.er1 >conftest.err
47119 rm -f conftest.er1
47120 cat conftest.err >&5
47121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47122 (exit $ac_status); } &&
47123 { ac_try='test -z "$ac_cxx_werror_flag"
47124 || test ! -s conftest.err'
47125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47126 (eval $ac_try) 2>&5
47127 ac_status=$?
47128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47129 (exit $ac_status); }; } &&
47130 { ac_try='test -s conftest.$ac_objext'
47131 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47132 (eval $ac_try) 2>&5
47133 ac_status=$?
47134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47135 (exit $ac_status); }; }; then
47136 glibcxx_cv_func__powl_use=yes
47137 else
47138 echo "$as_me: failed program was:" >&5
47139 sed 's/^/| /' conftest.$ac_ext >&5
47140
47141 glibcxx_cv_func__powl_use=no
47142 fi
47143 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47144 ac_ext=c
47145 ac_cpp='$CPP $CPPFLAGS'
47146 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47147 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47148 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47149
47150
47151 fi
47152
47153 fi
47154 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powl_use" >&5
47155 echo "${ECHO_T}$glibcxx_cv_func__powl_use" >&6
47156
47157 if test x$glibcxx_cv_func__powl_use = x"yes"; then
47158
47159 for ac_func in _powl
47160 do
47161 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47162 echo "$as_me:$LINENO: checking for $ac_func" >&5
47163 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47164 if eval "test \"\${$as_ac_var+set}\" = set"; then
47165 echo $ECHO_N "(cached) $ECHO_C" >&6
47166 else
47167 if test x$gcc_no_link = xyes; then
47168 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47169 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47170 { (exit 1); exit 1; }; }
47171 fi
47172 cat >conftest.$ac_ext <<_ACEOF
47173 /* confdefs.h. */
47174 _ACEOF
47175 cat confdefs.h >>conftest.$ac_ext
47176 cat >>conftest.$ac_ext <<_ACEOF
47177 /* end confdefs.h. */
47178 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47179 For example, HP-UX 11i <limits.h> declares gettimeofday. */
47180 #define $ac_func innocuous_$ac_func
47181
47182 /* System header to define __stub macros and hopefully few prototypes,
47183 which can conflict with char $ac_func (); below.
47184 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47185 <limits.h> exists even on freestanding compilers. */
47186
47187 #ifdef __STDC__
47188 # include <limits.h>
47189 #else
47190 # include <assert.h>
47191 #endif
47192
47193 #undef $ac_func
47194
47195 /* Override any gcc2 internal prototype to avoid an error. */
47196 #ifdef __cplusplus
47197 extern "C"
47198 {
47199 #endif
47200 /* We use char because int might match the return type of a gcc2
47201 builtin and then its argument prototype would still apply. */
47202 char $ac_func ();
47203 /* The GNU C library defines this for functions which it implements
47204 to always fail with ENOSYS. Some functions are actually named
47205 something starting with __ and the normal name is an alias. */
47206 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47207 choke me
47208 #else
47209 char (*f) () = $ac_func;
47210 #endif
47211 #ifdef __cplusplus
47212 }
47213 #endif
47214
47215 int
47216 main ()
47217 {
47218 return f != $ac_func;
47219 ;
47220 return 0;
47221 }
47222 _ACEOF
47223 rm -f conftest.$ac_objext conftest$ac_exeext
47224 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47225 (eval $ac_link) 2>conftest.er1
47226 ac_status=$?
47227 grep -v '^ *+' conftest.er1 >conftest.err
47228 rm -f conftest.er1
47229 cat conftest.err >&5
47230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47231 (exit $ac_status); } &&
47232 { ac_try='test -z "$ac_c_werror_flag"
47233 || test ! -s conftest.err'
47234 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47235 (eval $ac_try) 2>&5
47236 ac_status=$?
47237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47238 (exit $ac_status); }; } &&
47239 { ac_try='test -s conftest$ac_exeext'
47240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47241 (eval $ac_try) 2>&5
47242 ac_status=$?
47243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47244 (exit $ac_status); }; }; then
47245 eval "$as_ac_var=yes"
47246 else
47247 echo "$as_me: failed program was:" >&5
47248 sed 's/^/| /' conftest.$ac_ext >&5
47249
47250 eval "$as_ac_var=no"
47251 fi
47252 rm -f conftest.err conftest.$ac_objext \
47253 conftest$ac_exeext conftest.$ac_ext
47254 fi
47255 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47256 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47257 if test `eval echo '${'$as_ac_var'}'` = yes; then
47258 cat >>confdefs.h <<_ACEOF
47259 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47260 _ACEOF
47261
47262 fi
47263 done
47264
47265 fi
47266 fi
47267
47268
47269
47270
47271
47272
47273 echo "$as_me:$LINENO: checking for sqrtl declaration" >&5
47274 echo $ECHO_N "checking for sqrtl declaration... $ECHO_C" >&6
47275 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
47276 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then
47277 echo $ECHO_N "(cached) $ECHO_C" >&6
47278 else
47279
47280
47281
47282 ac_ext=cc
47283 ac_cpp='$CXXCPP $CPPFLAGS'
47284 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47285 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47286 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47287
47288 cat >conftest.$ac_ext <<_ACEOF
47289 /* confdefs.h. */
47290 _ACEOF
47291 cat confdefs.h >>conftest.$ac_ext
47292 cat >>conftest.$ac_ext <<_ACEOF
47293 /* end confdefs.h. */
47294 #include <math.h>
47295 #ifdef HAVE_IEEEFP_H
47296 #include <ieeefp.h>
47297 #endif
47298
47299 int
47300 main ()
47301 {
47302 sqrtl(0);
47303 ;
47304 return 0;
47305 }
47306 _ACEOF
47307 rm -f conftest.$ac_objext
47308 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47309 (eval $ac_compile) 2>conftest.er1
47310 ac_status=$?
47311 grep -v '^ *+' conftest.er1 >conftest.err
47312 rm -f conftest.er1
47313 cat conftest.err >&5
47314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47315 (exit $ac_status); } &&
47316 { ac_try='test -z "$ac_cxx_werror_flag"
47317 || test ! -s conftest.err'
47318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47319 (eval $ac_try) 2>&5
47320 ac_status=$?
47321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47322 (exit $ac_status); }; } &&
47323 { ac_try='test -s conftest.$ac_objext'
47324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47325 (eval $ac_try) 2>&5
47326 ac_status=$?
47327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47328 (exit $ac_status); }; }; then
47329 glibcxx_cv_func_sqrtl_use=yes
47330 else
47331 echo "$as_me: failed program was:" >&5
47332 sed 's/^/| /' conftest.$ac_ext >&5
47333
47334 glibcxx_cv_func_sqrtl_use=no
47335 fi
47336 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47337 ac_ext=c
47338 ac_cpp='$CPP $CPPFLAGS'
47339 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47340 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47341 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47342
47343
47344 fi
47345
47346 fi
47347 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtl_use" >&5
47348 echo "${ECHO_T}$glibcxx_cv_func_sqrtl_use" >&6
47349
47350 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
47351
47352 for ac_func in sqrtl
47353 do
47354 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47355 echo "$as_me:$LINENO: checking for $ac_func" >&5
47356 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47357 if eval "test \"\${$as_ac_var+set}\" = set"; then
47358 echo $ECHO_N "(cached) $ECHO_C" >&6
47359 else
47360 if test x$gcc_no_link = xyes; then
47361 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47362 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47363 { (exit 1); exit 1; }; }
47364 fi
47365 cat >conftest.$ac_ext <<_ACEOF
47366 /* confdefs.h. */
47367 _ACEOF
47368 cat confdefs.h >>conftest.$ac_ext
47369 cat >>conftest.$ac_ext <<_ACEOF
47370 /* end confdefs.h. */
47371 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47372 For example, HP-UX 11i <limits.h> declares gettimeofday. */
47373 #define $ac_func innocuous_$ac_func
47374
47375 /* System header to define __stub macros and hopefully few prototypes,
47376 which can conflict with char $ac_func (); below.
47377 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47378 <limits.h> exists even on freestanding compilers. */
47379
47380 #ifdef __STDC__
47381 # include <limits.h>
47382 #else
47383 # include <assert.h>
47384 #endif
47385
47386 #undef $ac_func
47387
47388 /* Override any gcc2 internal prototype to avoid an error. */
47389 #ifdef __cplusplus
47390 extern "C"
47391 {
47392 #endif
47393 /* We use char because int might match the return type of a gcc2
47394 builtin and then its argument prototype would still apply. */
47395 char $ac_func ();
47396 /* The GNU C library defines this for functions which it implements
47397 to always fail with ENOSYS. Some functions are actually named
47398 something starting with __ and the normal name is an alias. */
47399 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47400 choke me
47401 #else
47402 char (*f) () = $ac_func;
47403 #endif
47404 #ifdef __cplusplus
47405 }
47406 #endif
47407
47408 int
47409 main ()
47410 {
47411 return f != $ac_func;
47412 ;
47413 return 0;
47414 }
47415 _ACEOF
47416 rm -f conftest.$ac_objext conftest$ac_exeext
47417 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47418 (eval $ac_link) 2>conftest.er1
47419 ac_status=$?
47420 grep -v '^ *+' conftest.er1 >conftest.err
47421 rm -f conftest.er1
47422 cat conftest.err >&5
47423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47424 (exit $ac_status); } &&
47425 { ac_try='test -z "$ac_c_werror_flag"
47426 || test ! -s conftest.err'
47427 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47428 (eval $ac_try) 2>&5
47429 ac_status=$?
47430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47431 (exit $ac_status); }; } &&
47432 { ac_try='test -s conftest$ac_exeext'
47433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47434 (eval $ac_try) 2>&5
47435 ac_status=$?
47436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47437 (exit $ac_status); }; }; then
47438 eval "$as_ac_var=yes"
47439 else
47440 echo "$as_me: failed program was:" >&5
47441 sed 's/^/| /' conftest.$ac_ext >&5
47442
47443 eval "$as_ac_var=no"
47444 fi
47445 rm -f conftest.err conftest.$ac_objext \
47446 conftest$ac_exeext conftest.$ac_ext
47447 fi
47448 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47449 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47450 if test `eval echo '${'$as_ac_var'}'` = yes; then
47451 cat >>confdefs.h <<_ACEOF
47452 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47453 _ACEOF
47454
47455 fi
47456 done
47457
47458 else
47459
47460 echo "$as_me:$LINENO: checking for _sqrtl declaration" >&5
47461 echo $ECHO_N "checking for _sqrtl declaration... $ECHO_C" >&6
47462 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
47463 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then
47464 echo $ECHO_N "(cached) $ECHO_C" >&6
47465 else
47466
47467
47468
47469 ac_ext=cc
47470 ac_cpp='$CXXCPP $CPPFLAGS'
47471 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47472 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47473 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47474
47475 cat >conftest.$ac_ext <<_ACEOF
47476 /* confdefs.h. */
47477 _ACEOF
47478 cat confdefs.h >>conftest.$ac_ext
47479 cat >>conftest.$ac_ext <<_ACEOF
47480 /* end confdefs.h. */
47481 #include <math.h>
47482 #ifdef HAVE_IEEEFP_H
47483 #include <ieeefp.h>
47484 #endif
47485
47486 int
47487 main ()
47488 {
47489 _sqrtl(0);
47490 ;
47491 return 0;
47492 }
47493 _ACEOF
47494 rm -f conftest.$ac_objext
47495 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47496 (eval $ac_compile) 2>conftest.er1
47497 ac_status=$?
47498 grep -v '^ *+' conftest.er1 >conftest.err
47499 rm -f conftest.er1
47500 cat conftest.err >&5
47501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47502 (exit $ac_status); } &&
47503 { ac_try='test -z "$ac_cxx_werror_flag"
47504 || test ! -s conftest.err'
47505 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47506 (eval $ac_try) 2>&5
47507 ac_status=$?
47508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47509 (exit $ac_status); }; } &&
47510 { ac_try='test -s conftest.$ac_objext'
47511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47512 (eval $ac_try) 2>&5
47513 ac_status=$?
47514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47515 (exit $ac_status); }; }; then
47516 glibcxx_cv_func__sqrtl_use=yes
47517 else
47518 echo "$as_me: failed program was:" >&5
47519 sed 's/^/| /' conftest.$ac_ext >&5
47520
47521 glibcxx_cv_func__sqrtl_use=no
47522 fi
47523 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47524 ac_ext=c
47525 ac_cpp='$CPP $CPPFLAGS'
47526 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47527 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47528 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47529
47530
47531 fi
47532
47533 fi
47534 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtl_use" >&5
47535 echo "${ECHO_T}$glibcxx_cv_func__sqrtl_use" >&6
47536
47537 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
47538
47539 for ac_func in _sqrtl
47540 do
47541 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47542 echo "$as_me:$LINENO: checking for $ac_func" >&5
47543 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47544 if eval "test \"\${$as_ac_var+set}\" = set"; then
47545 echo $ECHO_N "(cached) $ECHO_C" >&6
47546 else
47547 if test x$gcc_no_link = xyes; then
47548 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47549 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47550 { (exit 1); exit 1; }; }
47551 fi
47552 cat >conftest.$ac_ext <<_ACEOF
47553 /* confdefs.h. */
47554 _ACEOF
47555 cat confdefs.h >>conftest.$ac_ext
47556 cat >>conftest.$ac_ext <<_ACEOF
47557 /* end confdefs.h. */
47558 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47559 For example, HP-UX 11i <limits.h> declares gettimeofday. */
47560 #define $ac_func innocuous_$ac_func
47561
47562 /* System header to define __stub macros and hopefully few prototypes,
47563 which can conflict with char $ac_func (); below.
47564 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47565 <limits.h> exists even on freestanding compilers. */
47566
47567 #ifdef __STDC__
47568 # include <limits.h>
47569 #else
47570 # include <assert.h>
47571 #endif
47572
47573 #undef $ac_func
47574
47575 /* Override any gcc2 internal prototype to avoid an error. */
47576 #ifdef __cplusplus
47577 extern "C"
47578 {
47579 #endif
47580 /* We use char because int might match the return type of a gcc2
47581 builtin and then its argument prototype would still apply. */
47582 char $ac_func ();
47583 /* The GNU C library defines this for functions which it implements
47584 to always fail with ENOSYS. Some functions are actually named
47585 something starting with __ and the normal name is an alias. */
47586 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47587 choke me
47588 #else
47589 char (*f) () = $ac_func;
47590 #endif
47591 #ifdef __cplusplus
47592 }
47593 #endif
47594
47595 int
47596 main ()
47597 {
47598 return f != $ac_func;
47599 ;
47600 return 0;
47601 }
47602 _ACEOF
47603 rm -f conftest.$ac_objext conftest$ac_exeext
47604 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47605 (eval $ac_link) 2>conftest.er1
47606 ac_status=$?
47607 grep -v '^ *+' conftest.er1 >conftest.err
47608 rm -f conftest.er1
47609 cat conftest.err >&5
47610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47611 (exit $ac_status); } &&
47612 { ac_try='test -z "$ac_c_werror_flag"
47613 || test ! -s conftest.err'
47614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47615 (eval $ac_try) 2>&5
47616 ac_status=$?
47617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47618 (exit $ac_status); }; } &&
47619 { ac_try='test -s conftest$ac_exeext'
47620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47621 (eval $ac_try) 2>&5
47622 ac_status=$?
47623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47624 (exit $ac_status); }; }; then
47625 eval "$as_ac_var=yes"
47626 else
47627 echo "$as_me: failed program was:" >&5
47628 sed 's/^/| /' conftest.$ac_ext >&5
47629
47630 eval "$as_ac_var=no"
47631 fi
47632 rm -f conftest.err conftest.$ac_objext \
47633 conftest$ac_exeext conftest.$ac_ext
47634 fi
47635 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47636 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47637 if test `eval echo '${'$as_ac_var'}'` = yes; then
47638 cat >>confdefs.h <<_ACEOF
47639 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47640 _ACEOF
47641
47642 fi
47643 done
47644
47645 fi
47646 fi
47647
47648
47649
47650
47651
47652
47653 echo "$as_me:$LINENO: checking for sincosl declaration" >&5
47654 echo $ECHO_N "checking for sincosl declaration... $ECHO_C" >&6
47655 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
47656 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then
47657 echo $ECHO_N "(cached) $ECHO_C" >&6
47658 else
47659
47660
47661
47662 ac_ext=cc
47663 ac_cpp='$CXXCPP $CPPFLAGS'
47664 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47665 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47666 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47667
47668 cat >conftest.$ac_ext <<_ACEOF
47669 /* confdefs.h. */
47670 _ACEOF
47671 cat confdefs.h >>conftest.$ac_ext
47672 cat >>conftest.$ac_ext <<_ACEOF
47673 /* end confdefs.h. */
47674 #include <math.h>
47675 int
47676 main ()
47677 {
47678 sincosl(0, 0, 0);
47679 ;
47680 return 0;
47681 }
47682 _ACEOF
47683 rm -f conftest.$ac_objext
47684 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47685 (eval $ac_compile) 2>conftest.er1
47686 ac_status=$?
47687 grep -v '^ *+' conftest.er1 >conftest.err
47688 rm -f conftest.er1
47689 cat conftest.err >&5
47690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47691 (exit $ac_status); } &&
47692 { ac_try='test -z "$ac_cxx_werror_flag"
47693 || test ! -s conftest.err'
47694 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47695 (eval $ac_try) 2>&5
47696 ac_status=$?
47697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47698 (exit $ac_status); }; } &&
47699 { ac_try='test -s conftest.$ac_objext'
47700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47701 (eval $ac_try) 2>&5
47702 ac_status=$?
47703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47704 (exit $ac_status); }; }; then
47705 glibcxx_cv_func_sincosl_use=yes
47706 else
47707 echo "$as_me: failed program was:" >&5
47708 sed 's/^/| /' conftest.$ac_ext >&5
47709
47710 glibcxx_cv_func_sincosl_use=no
47711 fi
47712 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47713 ac_ext=c
47714 ac_cpp='$CPP $CPPFLAGS'
47715 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47716 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47717 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47718
47719
47720 fi
47721
47722 fi
47723 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosl_use" >&5
47724 echo "${ECHO_T}$glibcxx_cv_func_sincosl_use" >&6
47725
47726 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
47727
47728 for ac_func in sincosl
47729 do
47730 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47731 echo "$as_me:$LINENO: checking for $ac_func" >&5
47732 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47733 if eval "test \"\${$as_ac_var+set}\" = set"; then
47734 echo $ECHO_N "(cached) $ECHO_C" >&6
47735 else
47736 if test x$gcc_no_link = xyes; then
47737 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47738 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47739 { (exit 1); exit 1; }; }
47740 fi
47741 cat >conftest.$ac_ext <<_ACEOF
47742 /* confdefs.h. */
47743 _ACEOF
47744 cat confdefs.h >>conftest.$ac_ext
47745 cat >>conftest.$ac_ext <<_ACEOF
47746 /* end confdefs.h. */
47747 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47748 For example, HP-UX 11i <limits.h> declares gettimeofday. */
47749 #define $ac_func innocuous_$ac_func
47750
47751 /* System header to define __stub macros and hopefully few prototypes,
47752 which can conflict with char $ac_func (); below.
47753 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47754 <limits.h> exists even on freestanding compilers. */
47755
47756 #ifdef __STDC__
47757 # include <limits.h>
47758 #else
47759 # include <assert.h>
47760 #endif
47761
47762 #undef $ac_func
47763
47764 /* Override any gcc2 internal prototype to avoid an error. */
47765 #ifdef __cplusplus
47766 extern "C"
47767 {
47768 #endif
47769 /* We use char because int might match the return type of a gcc2
47770 builtin and then its argument prototype would still apply. */
47771 char $ac_func ();
47772 /* The GNU C library defines this for functions which it implements
47773 to always fail with ENOSYS. Some functions are actually named
47774 something starting with __ and the normal name is an alias. */
47775 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47776 choke me
47777 #else
47778 char (*f) () = $ac_func;
47779 #endif
47780 #ifdef __cplusplus
47781 }
47782 #endif
47783
47784 int
47785 main ()
47786 {
47787 return f != $ac_func;
47788 ;
47789 return 0;
47790 }
47791 _ACEOF
47792 rm -f conftest.$ac_objext conftest$ac_exeext
47793 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47794 (eval $ac_link) 2>conftest.er1
47795 ac_status=$?
47796 grep -v '^ *+' conftest.er1 >conftest.err
47797 rm -f conftest.er1
47798 cat conftest.err >&5
47799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47800 (exit $ac_status); } &&
47801 { ac_try='test -z "$ac_c_werror_flag"
47802 || test ! -s conftest.err'
47803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47804 (eval $ac_try) 2>&5
47805 ac_status=$?
47806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47807 (exit $ac_status); }; } &&
47808 { ac_try='test -s conftest$ac_exeext'
47809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47810 (eval $ac_try) 2>&5
47811 ac_status=$?
47812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47813 (exit $ac_status); }; }; then
47814 eval "$as_ac_var=yes"
47815 else
47816 echo "$as_me: failed program was:" >&5
47817 sed 's/^/| /' conftest.$ac_ext >&5
47818
47819 eval "$as_ac_var=no"
47820 fi
47821 rm -f conftest.err conftest.$ac_objext \
47822 conftest$ac_exeext conftest.$ac_ext
47823 fi
47824 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47825 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47826 if test `eval echo '${'$as_ac_var'}'` = yes; then
47827 cat >>confdefs.h <<_ACEOF
47828 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47829 _ACEOF
47830
47831 fi
47832 done
47833
47834 else
47835
47836 echo "$as_me:$LINENO: checking for _sincosl declaration" >&5
47837 echo $ECHO_N "checking for _sincosl declaration... $ECHO_C" >&6
47838 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
47839 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then
47840 echo $ECHO_N "(cached) $ECHO_C" >&6
47841 else
47842
47843
47844
47845 ac_ext=cc
47846 ac_cpp='$CXXCPP $CPPFLAGS'
47847 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47848 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47849 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47850
47851 cat >conftest.$ac_ext <<_ACEOF
47852 /* confdefs.h. */
47853 _ACEOF
47854 cat confdefs.h >>conftest.$ac_ext
47855 cat >>conftest.$ac_ext <<_ACEOF
47856 /* end confdefs.h. */
47857 #include <math.h>
47858 int
47859 main ()
47860 {
47861 _sincosl(0, 0, 0);
47862 ;
47863 return 0;
47864 }
47865 _ACEOF
47866 rm -f conftest.$ac_objext
47867 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47868 (eval $ac_compile) 2>conftest.er1
47869 ac_status=$?
47870 grep -v '^ *+' conftest.er1 >conftest.err
47871 rm -f conftest.er1
47872 cat conftest.err >&5
47873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47874 (exit $ac_status); } &&
47875 { ac_try='test -z "$ac_cxx_werror_flag"
47876 || test ! -s conftest.err'
47877 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47878 (eval $ac_try) 2>&5
47879 ac_status=$?
47880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47881 (exit $ac_status); }; } &&
47882 { ac_try='test -s conftest.$ac_objext'
47883 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47884 (eval $ac_try) 2>&5
47885 ac_status=$?
47886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47887 (exit $ac_status); }; }; then
47888 glibcxx_cv_func__sincosl_use=yes
47889 else
47890 echo "$as_me: failed program was:" >&5
47891 sed 's/^/| /' conftest.$ac_ext >&5
47892
47893 glibcxx_cv_func__sincosl_use=no
47894 fi
47895 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47896 ac_ext=c
47897 ac_cpp='$CPP $CPPFLAGS'
47898 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47899 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47900 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47901
47902
47903 fi
47904
47905 fi
47906 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosl_use" >&5
47907 echo "${ECHO_T}$glibcxx_cv_func__sincosl_use" >&6
47908
47909 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
47910
47911 for ac_func in _sincosl
47912 do
47913 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47914 echo "$as_me:$LINENO: checking for $ac_func" >&5
47915 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47916 if eval "test \"\${$as_ac_var+set}\" = set"; then
47917 echo $ECHO_N "(cached) $ECHO_C" >&6
47918 else
47919 if test x$gcc_no_link = xyes; then
47920 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47921 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47922 { (exit 1); exit 1; }; }
47923 fi
47924 cat >conftest.$ac_ext <<_ACEOF
47925 /* confdefs.h. */
47926 _ACEOF
47927 cat confdefs.h >>conftest.$ac_ext
47928 cat >>conftest.$ac_ext <<_ACEOF
47929 /* end confdefs.h. */
47930 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47931 For example, HP-UX 11i <limits.h> declares gettimeofday. */
47932 #define $ac_func innocuous_$ac_func
47933
47934 /* System header to define __stub macros and hopefully few prototypes,
47935 which can conflict with char $ac_func (); below.
47936 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47937 <limits.h> exists even on freestanding compilers. */
47938
47939 #ifdef __STDC__
47940 # include <limits.h>
47941 #else
47942 # include <assert.h>
47943 #endif
47944
47945 #undef $ac_func
47946
47947 /* Override any gcc2 internal prototype to avoid an error. */
47948 #ifdef __cplusplus
47949 extern "C"
47950 {
47951 #endif
47952 /* We use char because int might match the return type of a gcc2
47953 builtin and then its argument prototype would still apply. */
47954 char $ac_func ();
47955 /* The GNU C library defines this for functions which it implements
47956 to always fail with ENOSYS. Some functions are actually named
47957 something starting with __ and the normal name is an alias. */
47958 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47959 choke me
47960 #else
47961 char (*f) () = $ac_func;
47962 #endif
47963 #ifdef __cplusplus
47964 }
47965 #endif
47966
47967 int
47968 main ()
47969 {
47970 return f != $ac_func;
47971 ;
47972 return 0;
47973 }
47974 _ACEOF
47975 rm -f conftest.$ac_objext conftest$ac_exeext
47976 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47977 (eval $ac_link) 2>conftest.er1
47978 ac_status=$?
47979 grep -v '^ *+' conftest.er1 >conftest.err
47980 rm -f conftest.er1
47981 cat conftest.err >&5
47982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47983 (exit $ac_status); } &&
47984 { ac_try='test -z "$ac_c_werror_flag"
47985 || test ! -s conftest.err'
47986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47987 (eval $ac_try) 2>&5
47988 ac_status=$?
47989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47990 (exit $ac_status); }; } &&
47991 { ac_try='test -s conftest$ac_exeext'
47992 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47993 (eval $ac_try) 2>&5
47994 ac_status=$?
47995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47996 (exit $ac_status); }; }; then
47997 eval "$as_ac_var=yes"
47998 else
47999 echo "$as_me: failed program was:" >&5
48000 sed 's/^/| /' conftest.$ac_ext >&5
48001
48002 eval "$as_ac_var=no"
48003 fi
48004 rm -f conftest.err conftest.$ac_objext \
48005 conftest$ac_exeext conftest.$ac_ext
48006 fi
48007 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48008 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48009 if test `eval echo '${'$as_ac_var'}'` = yes; then
48010 cat >>confdefs.h <<_ACEOF
48011 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48012 _ACEOF
48013
48014 fi
48015 done
48016
48017 fi
48018 fi
48019
48020
48021
48022
48023
48024
48025 echo "$as_me:$LINENO: checking for finitel declaration" >&5
48026 echo $ECHO_N "checking for finitel declaration... $ECHO_C" >&6
48027 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
48028 if test "${glibcxx_cv_func_finitel_use+set}" = set; then
48029 echo $ECHO_N "(cached) $ECHO_C" >&6
48030 else
48031
48032
48033
48034 ac_ext=cc
48035 ac_cpp='$CXXCPP $CPPFLAGS'
48036 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48037 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48038 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48039
48040 cat >conftest.$ac_ext <<_ACEOF
48041 /* confdefs.h. */
48042 _ACEOF
48043 cat confdefs.h >>conftest.$ac_ext
48044 cat >>conftest.$ac_ext <<_ACEOF
48045 /* end confdefs.h. */
48046 #include <math.h>
48047 #ifdef HAVE_IEEEFP_H
48048 #include <ieeefp.h>
48049 #endif
48050
48051 int
48052 main ()
48053 {
48054 finitel(0);
48055 ;
48056 return 0;
48057 }
48058 _ACEOF
48059 rm -f conftest.$ac_objext
48060 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48061 (eval $ac_compile) 2>conftest.er1
48062 ac_status=$?
48063 grep -v '^ *+' conftest.er1 >conftest.err
48064 rm -f conftest.er1
48065 cat conftest.err >&5
48066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48067 (exit $ac_status); } &&
48068 { ac_try='test -z "$ac_cxx_werror_flag"
48069 || test ! -s conftest.err'
48070 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48071 (eval $ac_try) 2>&5
48072 ac_status=$?
48073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48074 (exit $ac_status); }; } &&
48075 { ac_try='test -s conftest.$ac_objext'
48076 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48077 (eval $ac_try) 2>&5
48078 ac_status=$?
48079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48080 (exit $ac_status); }; }; then
48081 glibcxx_cv_func_finitel_use=yes
48082 else
48083 echo "$as_me: failed program was:" >&5
48084 sed 's/^/| /' conftest.$ac_ext >&5
48085
48086 glibcxx_cv_func_finitel_use=no
48087 fi
48088 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48089 ac_ext=c
48090 ac_cpp='$CPP $CPPFLAGS'
48091 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48092 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48093 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48094
48095
48096 fi
48097
48098 fi
48099 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitel_use" >&5
48100 echo "${ECHO_T}$glibcxx_cv_func_finitel_use" >&6
48101
48102 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
48103
48104 for ac_func in finitel
48105 do
48106 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48107 echo "$as_me:$LINENO: checking for $ac_func" >&5
48108 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48109 if eval "test \"\${$as_ac_var+set}\" = set"; then
48110 echo $ECHO_N "(cached) $ECHO_C" >&6
48111 else
48112 if test x$gcc_no_link = xyes; then
48113 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48114 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48115 { (exit 1); exit 1; }; }
48116 fi
48117 cat >conftest.$ac_ext <<_ACEOF
48118 /* confdefs.h. */
48119 _ACEOF
48120 cat confdefs.h >>conftest.$ac_ext
48121 cat >>conftest.$ac_ext <<_ACEOF
48122 /* end confdefs.h. */
48123 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48124 For example, HP-UX 11i <limits.h> declares gettimeofday. */
48125 #define $ac_func innocuous_$ac_func
48126
48127 /* System header to define __stub macros and hopefully few prototypes,
48128 which can conflict with char $ac_func (); below.
48129 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48130 <limits.h> exists even on freestanding compilers. */
48131
48132 #ifdef __STDC__
48133 # include <limits.h>
48134 #else
48135 # include <assert.h>
48136 #endif
48137
48138 #undef $ac_func
48139
48140 /* Override any gcc2 internal prototype to avoid an error. */
48141 #ifdef __cplusplus
48142 extern "C"
48143 {
48144 #endif
48145 /* We use char because int might match the return type of a gcc2
48146 builtin and then its argument prototype would still apply. */
48147 char $ac_func ();
48148 /* The GNU C library defines this for functions which it implements
48149 to always fail with ENOSYS. Some functions are actually named
48150 something starting with __ and the normal name is an alias. */
48151 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48152 choke me
48153 #else
48154 char (*f) () = $ac_func;
48155 #endif
48156 #ifdef __cplusplus
48157 }
48158 #endif
48159
48160 int
48161 main ()
48162 {
48163 return f != $ac_func;
48164 ;
48165 return 0;
48166 }
48167 _ACEOF
48168 rm -f conftest.$ac_objext conftest$ac_exeext
48169 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48170 (eval $ac_link) 2>conftest.er1
48171 ac_status=$?
48172 grep -v '^ *+' conftest.er1 >conftest.err
48173 rm -f conftest.er1
48174 cat conftest.err >&5
48175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48176 (exit $ac_status); } &&
48177 { ac_try='test -z "$ac_c_werror_flag"
48178 || test ! -s conftest.err'
48179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48180 (eval $ac_try) 2>&5
48181 ac_status=$?
48182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48183 (exit $ac_status); }; } &&
48184 { ac_try='test -s conftest$ac_exeext'
48185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48186 (eval $ac_try) 2>&5
48187 ac_status=$?
48188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48189 (exit $ac_status); }; }; then
48190 eval "$as_ac_var=yes"
48191 else
48192 echo "$as_me: failed program was:" >&5
48193 sed 's/^/| /' conftest.$ac_ext >&5
48194
48195 eval "$as_ac_var=no"
48196 fi
48197 rm -f conftest.err conftest.$ac_objext \
48198 conftest$ac_exeext conftest.$ac_ext
48199 fi
48200 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48201 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48202 if test `eval echo '${'$as_ac_var'}'` = yes; then
48203 cat >>confdefs.h <<_ACEOF
48204 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48205 _ACEOF
48206
48207 fi
48208 done
48209
48210 else
48211
48212 echo "$as_me:$LINENO: checking for _finitel declaration" >&5
48213 echo $ECHO_N "checking for _finitel declaration... $ECHO_C" >&6
48214 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
48215 if test "${glibcxx_cv_func__finitel_use+set}" = set; then
48216 echo $ECHO_N "(cached) $ECHO_C" >&6
48217 else
48218
48219
48220
48221 ac_ext=cc
48222 ac_cpp='$CXXCPP $CPPFLAGS'
48223 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48224 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48225 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48226
48227 cat >conftest.$ac_ext <<_ACEOF
48228 /* confdefs.h. */
48229 _ACEOF
48230 cat confdefs.h >>conftest.$ac_ext
48231 cat >>conftest.$ac_ext <<_ACEOF
48232 /* end confdefs.h. */
48233 #include <math.h>
48234 #ifdef HAVE_IEEEFP_H
48235 #include <ieeefp.h>
48236 #endif
48237
48238 int
48239 main ()
48240 {
48241 _finitel(0);
48242 ;
48243 return 0;
48244 }
48245 _ACEOF
48246 rm -f conftest.$ac_objext
48247 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48248 (eval $ac_compile) 2>conftest.er1
48249 ac_status=$?
48250 grep -v '^ *+' conftest.er1 >conftest.err
48251 rm -f conftest.er1
48252 cat conftest.err >&5
48253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48254 (exit $ac_status); } &&
48255 { ac_try='test -z "$ac_cxx_werror_flag"
48256 || test ! -s conftest.err'
48257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48258 (eval $ac_try) 2>&5
48259 ac_status=$?
48260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48261 (exit $ac_status); }; } &&
48262 { ac_try='test -s conftest.$ac_objext'
48263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48264 (eval $ac_try) 2>&5
48265 ac_status=$?
48266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48267 (exit $ac_status); }; }; then
48268 glibcxx_cv_func__finitel_use=yes
48269 else
48270 echo "$as_me: failed program was:" >&5
48271 sed 's/^/| /' conftest.$ac_ext >&5
48272
48273 glibcxx_cv_func__finitel_use=no
48274 fi
48275 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48276 ac_ext=c
48277 ac_cpp='$CPP $CPPFLAGS'
48278 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48279 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48280 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48281
48282
48283 fi
48284
48285 fi
48286 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitel_use" >&5
48287 echo "${ECHO_T}$glibcxx_cv_func__finitel_use" >&6
48288
48289 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
48290
48291 for ac_func in _finitel
48292 do
48293 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48294 echo "$as_me:$LINENO: checking for $ac_func" >&5
48295 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48296 if eval "test \"\${$as_ac_var+set}\" = set"; then
48297 echo $ECHO_N "(cached) $ECHO_C" >&6
48298 else
48299 if test x$gcc_no_link = xyes; then
48300 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48301 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48302 { (exit 1); exit 1; }; }
48303 fi
48304 cat >conftest.$ac_ext <<_ACEOF
48305 /* confdefs.h. */
48306 _ACEOF
48307 cat confdefs.h >>conftest.$ac_ext
48308 cat >>conftest.$ac_ext <<_ACEOF
48309 /* end confdefs.h. */
48310 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48311 For example, HP-UX 11i <limits.h> declares gettimeofday. */
48312 #define $ac_func innocuous_$ac_func
48313
48314 /* System header to define __stub macros and hopefully few prototypes,
48315 which can conflict with char $ac_func (); below.
48316 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48317 <limits.h> exists even on freestanding compilers. */
48318
48319 #ifdef __STDC__
48320 # include <limits.h>
48321 #else
48322 # include <assert.h>
48323 #endif
48324
48325 #undef $ac_func
48326
48327 /* Override any gcc2 internal prototype to avoid an error. */
48328 #ifdef __cplusplus
48329 extern "C"
48330 {
48331 #endif
48332 /* We use char because int might match the return type of a gcc2
48333 builtin and then its argument prototype would still apply. */
48334 char $ac_func ();
48335 /* The GNU C library defines this for functions which it implements
48336 to always fail with ENOSYS. Some functions are actually named
48337 something starting with __ and the normal name is an alias. */
48338 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48339 choke me
48340 #else
48341 char (*f) () = $ac_func;
48342 #endif
48343 #ifdef __cplusplus
48344 }
48345 #endif
48346
48347 int
48348 main ()
48349 {
48350 return f != $ac_func;
48351 ;
48352 return 0;
48353 }
48354 _ACEOF
48355 rm -f conftest.$ac_objext conftest$ac_exeext
48356 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48357 (eval $ac_link) 2>conftest.er1
48358 ac_status=$?
48359 grep -v '^ *+' conftest.er1 >conftest.err
48360 rm -f conftest.er1
48361 cat conftest.err >&5
48362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48363 (exit $ac_status); } &&
48364 { ac_try='test -z "$ac_c_werror_flag"
48365 || test ! -s conftest.err'
48366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48367 (eval $ac_try) 2>&5
48368 ac_status=$?
48369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48370 (exit $ac_status); }; } &&
48371 { ac_try='test -s conftest$ac_exeext'
48372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48373 (eval $ac_try) 2>&5
48374 ac_status=$?
48375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48376 (exit $ac_status); }; }; then
48377 eval "$as_ac_var=yes"
48378 else
48379 echo "$as_me: failed program was:" >&5
48380 sed 's/^/| /' conftest.$ac_ext >&5
48381
48382 eval "$as_ac_var=no"
48383 fi
48384 rm -f conftest.err conftest.$ac_objext \
48385 conftest$ac_exeext conftest.$ac_ext
48386 fi
48387 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48388 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48389 if test `eval echo '${'$as_ac_var'}'` = yes; then
48390 cat >>confdefs.h <<_ACEOF
48391 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48392 _ACEOF
48393
48394 fi
48395 done
48396
48397 fi
48398 fi
48399
48400
48401
48402
48403
48404 LIBS="$ac_save_LIBS"
48405 CXXFLAGS="$ac_save_CXXFLAGS"
48406
48407
48408
48409 echo "$as_me:$LINENO: checking for __builtin_abs declaration" >&5
48410 echo $ECHO_N "checking for __builtin_abs declaration... $ECHO_C" >&6
48411 if test x${glibcxx_cv_func___builtin_abs_use+set} != xset; then
48412 if test "${glibcxx_cv_func___builtin_abs_use+set}" = set; then
48413 echo $ECHO_N "(cached) $ECHO_C" >&6
48414 else
48415
48416
48417
48418 ac_ext=cc
48419 ac_cpp='$CXXCPP $CPPFLAGS'
48420 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48421 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48422 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48423
48424 cat >conftest.$ac_ext <<_ACEOF
48425 /* confdefs.h. */
48426 _ACEOF
48427 cat confdefs.h >>conftest.$ac_ext
48428 cat >>conftest.$ac_ext <<_ACEOF
48429 /* end confdefs.h. */
48430 #include <math.h>
48431 int
48432 main ()
48433 {
48434 __builtin_abs(0);
48435 ;
48436 return 0;
48437 }
48438 _ACEOF
48439 rm -f conftest.$ac_objext
48440 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48441 (eval $ac_compile) 2>conftest.er1
48442 ac_status=$?
48443 grep -v '^ *+' conftest.er1 >conftest.err
48444 rm -f conftest.er1
48445 cat conftest.err >&5
48446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48447 (exit $ac_status); } &&
48448 { ac_try='test -z "$ac_cxx_werror_flag"
48449 || test ! -s conftest.err'
48450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48451 (eval $ac_try) 2>&5
48452 ac_status=$?
48453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48454 (exit $ac_status); }; } &&
48455 { ac_try='test -s conftest.$ac_objext'
48456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48457 (eval $ac_try) 2>&5
48458 ac_status=$?
48459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48460 (exit $ac_status); }; }; then
48461 glibcxx_cv_func___builtin_abs_use=yes
48462 else
48463 echo "$as_me: failed program was:" >&5
48464 sed 's/^/| /' conftest.$ac_ext >&5
48465
48466 glibcxx_cv_func___builtin_abs_use=no
48467 fi
48468 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48469 ac_ext=c
48470 ac_cpp='$CPP $CPPFLAGS'
48471 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48472 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48473 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48474
48475
48476 fi
48477
48478 fi
48479 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_use" >&5
48480 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_use" >&6
48481 if test x$glibcxx_cv_func___builtin_abs_use = x"yes"; then
48482 echo "$as_me:$LINENO: checking for __builtin_abs linkage" >&5
48483 echo $ECHO_N "checking for __builtin_abs linkage... $ECHO_C" >&6
48484 if test x${glibcxx_cv_func___builtin_abs_link+set} != xset; then
48485 if test "${glibcxx_cv_func___builtin_abs_link+set}" = set; then
48486 echo $ECHO_N "(cached) $ECHO_C" >&6
48487 else
48488
48489 if test x$gcc_no_link = xyes; then
48490 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48491 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48492 { (exit 1); exit 1; }; }
48493 fi
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 int
48502 main ()
48503 {
48504 __builtin_abs(0);
48505 ;
48506 return 0;
48507 }
48508 _ACEOF
48509 rm -f conftest.$ac_objext conftest$ac_exeext
48510 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48511 (eval $ac_link) 2>conftest.er1
48512 ac_status=$?
48513 grep -v '^ *+' conftest.er1 >conftest.err
48514 rm -f conftest.er1
48515 cat conftest.err >&5
48516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48517 (exit $ac_status); } &&
48518 { ac_try='test -z "$ac_c_werror_flag"
48519 || test ! -s conftest.err'
48520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48521 (eval $ac_try) 2>&5
48522 ac_status=$?
48523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48524 (exit $ac_status); }; } &&
48525 { ac_try='test -s conftest$ac_exeext'
48526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48527 (eval $ac_try) 2>&5
48528 ac_status=$?
48529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48530 (exit $ac_status); }; }; then
48531 glibcxx_cv_func___builtin_abs_link=yes
48532 else
48533 echo "$as_me: failed program was:" >&5
48534 sed 's/^/| /' conftest.$ac_ext >&5
48535
48536 glibcxx_cv_func___builtin_abs_link=no
48537 fi
48538 rm -f conftest.err conftest.$ac_objext \
48539 conftest$ac_exeext conftest.$ac_ext
48540
48541 fi
48542
48543 fi
48544 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_link" >&5
48545 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_link" >&6
48546
48547 if test x$glibcxx_cv_func___builtin_abs_link = x"yes"; then
48548
48549 cat >>confdefs.h <<\_ACEOF
48550 #define HAVE___BUILTIN_ABS 1
48551 _ACEOF
48552
48553 fi
48554
48555 fi
48556
48557
48558 echo "$as_me:$LINENO: checking for __builtin_fabsf declaration" >&5
48559 echo $ECHO_N "checking for __builtin_fabsf declaration... $ECHO_C" >&6
48560 if test x${glibcxx_cv_func___builtin_fabsf_use+set} != xset; then
48561 if test "${glibcxx_cv_func___builtin_fabsf_use+set}" = set; then
48562 echo $ECHO_N "(cached) $ECHO_C" >&6
48563 else
48564
48565
48566
48567 ac_ext=cc
48568 ac_cpp='$CXXCPP $CPPFLAGS'
48569 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48570 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48571 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48572
48573 cat >conftest.$ac_ext <<_ACEOF
48574 /* confdefs.h. */
48575 _ACEOF
48576 cat confdefs.h >>conftest.$ac_ext
48577 cat >>conftest.$ac_ext <<_ACEOF
48578 /* end confdefs.h. */
48579 #include <math.h>
48580 int
48581 main ()
48582 {
48583 __builtin_fabsf(0);
48584 ;
48585 return 0;
48586 }
48587 _ACEOF
48588 rm -f conftest.$ac_objext
48589 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48590 (eval $ac_compile) 2>conftest.er1
48591 ac_status=$?
48592 grep -v '^ *+' conftest.er1 >conftest.err
48593 rm -f conftest.er1
48594 cat conftest.err >&5
48595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48596 (exit $ac_status); } &&
48597 { ac_try='test -z "$ac_cxx_werror_flag"
48598 || test ! -s conftest.err'
48599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48600 (eval $ac_try) 2>&5
48601 ac_status=$?
48602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48603 (exit $ac_status); }; } &&
48604 { ac_try='test -s conftest.$ac_objext'
48605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48606 (eval $ac_try) 2>&5
48607 ac_status=$?
48608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48609 (exit $ac_status); }; }; then
48610 glibcxx_cv_func___builtin_fabsf_use=yes
48611 else
48612 echo "$as_me: failed program was:" >&5
48613 sed 's/^/| /' conftest.$ac_ext >&5
48614
48615 glibcxx_cv_func___builtin_fabsf_use=no
48616 fi
48617 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48618 ac_ext=c
48619 ac_cpp='$CPP $CPPFLAGS'
48620 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48621 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48622 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48623
48624
48625 fi
48626
48627 fi
48628 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_use" >&5
48629 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_use" >&6
48630 if test x$glibcxx_cv_func___builtin_fabsf_use = x"yes"; then
48631 echo "$as_me:$LINENO: checking for __builtin_fabsf linkage" >&5
48632 echo $ECHO_N "checking for __builtin_fabsf linkage... $ECHO_C" >&6
48633 if test x${glibcxx_cv_func___builtin_fabsf_link+set} != xset; then
48634 if test "${glibcxx_cv_func___builtin_fabsf_link+set}" = set; then
48635 echo $ECHO_N "(cached) $ECHO_C" >&6
48636 else
48637
48638 if test x$gcc_no_link = xyes; then
48639 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48640 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48641 { (exit 1); exit 1; }; }
48642 fi
48643 cat >conftest.$ac_ext <<_ACEOF
48644 /* confdefs.h. */
48645 _ACEOF
48646 cat confdefs.h >>conftest.$ac_ext
48647 cat >>conftest.$ac_ext <<_ACEOF
48648 /* end confdefs.h. */
48649 #include <math.h>
48650 int
48651 main ()
48652 {
48653 __builtin_fabsf(0);
48654 ;
48655 return 0;
48656 }
48657 _ACEOF
48658 rm -f conftest.$ac_objext conftest$ac_exeext
48659 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48660 (eval $ac_link) 2>conftest.er1
48661 ac_status=$?
48662 grep -v '^ *+' conftest.er1 >conftest.err
48663 rm -f conftest.er1
48664 cat conftest.err >&5
48665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48666 (exit $ac_status); } &&
48667 { ac_try='test -z "$ac_c_werror_flag"
48668 || test ! -s conftest.err'
48669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48670 (eval $ac_try) 2>&5
48671 ac_status=$?
48672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48673 (exit $ac_status); }; } &&
48674 { ac_try='test -s conftest$ac_exeext'
48675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48676 (eval $ac_try) 2>&5
48677 ac_status=$?
48678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48679 (exit $ac_status); }; }; then
48680 glibcxx_cv_func___builtin_fabsf_link=yes
48681 else
48682 echo "$as_me: failed program was:" >&5
48683 sed 's/^/| /' conftest.$ac_ext >&5
48684
48685 glibcxx_cv_func___builtin_fabsf_link=no
48686 fi
48687 rm -f conftest.err conftest.$ac_objext \
48688 conftest$ac_exeext conftest.$ac_ext
48689
48690 fi
48691
48692 fi
48693 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_link" >&5
48694 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_link" >&6
48695
48696 if test x$glibcxx_cv_func___builtin_fabsf_link = x"yes"; then
48697
48698 cat >>confdefs.h <<\_ACEOF
48699 #define HAVE___BUILTIN_FABSF 1
48700 _ACEOF
48701
48702 fi
48703
48704 fi
48705
48706
48707 echo "$as_me:$LINENO: checking for __builtin_fabs declaration" >&5
48708 echo $ECHO_N "checking for __builtin_fabs declaration... $ECHO_C" >&6
48709 if test x${glibcxx_cv_func___builtin_fabs_use+set} != xset; then
48710 if test "${glibcxx_cv_func___builtin_fabs_use+set}" = set; then
48711 echo $ECHO_N "(cached) $ECHO_C" >&6
48712 else
48713
48714
48715
48716 ac_ext=cc
48717 ac_cpp='$CXXCPP $CPPFLAGS'
48718 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48719 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48720 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48721
48722 cat >conftest.$ac_ext <<_ACEOF
48723 /* confdefs.h. */
48724 _ACEOF
48725 cat confdefs.h >>conftest.$ac_ext
48726 cat >>conftest.$ac_ext <<_ACEOF
48727 /* end confdefs.h. */
48728 #include <math.h>
48729 int
48730 main ()
48731 {
48732 __builtin_fabs(0);
48733 ;
48734 return 0;
48735 }
48736 _ACEOF
48737 rm -f conftest.$ac_objext
48738 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48739 (eval $ac_compile) 2>conftest.er1
48740 ac_status=$?
48741 grep -v '^ *+' conftest.er1 >conftest.err
48742 rm -f conftest.er1
48743 cat conftest.err >&5
48744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48745 (exit $ac_status); } &&
48746 { ac_try='test -z "$ac_cxx_werror_flag"
48747 || test ! -s conftest.err'
48748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48749 (eval $ac_try) 2>&5
48750 ac_status=$?
48751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48752 (exit $ac_status); }; } &&
48753 { ac_try='test -s conftest.$ac_objext'
48754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48755 (eval $ac_try) 2>&5
48756 ac_status=$?
48757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48758 (exit $ac_status); }; }; then
48759 glibcxx_cv_func___builtin_fabs_use=yes
48760 else
48761 echo "$as_me: failed program was:" >&5
48762 sed 's/^/| /' conftest.$ac_ext >&5
48763
48764 glibcxx_cv_func___builtin_fabs_use=no
48765 fi
48766 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48767 ac_ext=c
48768 ac_cpp='$CPP $CPPFLAGS'
48769 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48770 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48771 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48772
48773
48774 fi
48775
48776 fi
48777 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_use" >&5
48778 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_use" >&6
48779 if test x$glibcxx_cv_func___builtin_fabs_use = x"yes"; then
48780 echo "$as_me:$LINENO: checking for __builtin_fabs linkage" >&5
48781 echo $ECHO_N "checking for __builtin_fabs linkage... $ECHO_C" >&6
48782 if test x${glibcxx_cv_func___builtin_fabs_link+set} != xset; then
48783 if test "${glibcxx_cv_func___builtin_fabs_link+set}" = set; then
48784 echo $ECHO_N "(cached) $ECHO_C" >&6
48785 else
48786
48787 if test x$gcc_no_link = xyes; then
48788 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48789 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48790 { (exit 1); exit 1; }; }
48791 fi
48792 cat >conftest.$ac_ext <<_ACEOF
48793 /* confdefs.h. */
48794 _ACEOF
48795 cat confdefs.h >>conftest.$ac_ext
48796 cat >>conftest.$ac_ext <<_ACEOF
48797 /* end confdefs.h. */
48798 #include <math.h>
48799 int
48800 main ()
48801 {
48802 __builtin_fabs(0);
48803 ;
48804 return 0;
48805 }
48806 _ACEOF
48807 rm -f conftest.$ac_objext conftest$ac_exeext
48808 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48809 (eval $ac_link) 2>conftest.er1
48810 ac_status=$?
48811 grep -v '^ *+' conftest.er1 >conftest.err
48812 rm -f conftest.er1
48813 cat conftest.err >&5
48814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48815 (exit $ac_status); } &&
48816 { ac_try='test -z "$ac_c_werror_flag"
48817 || 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 glibcxx_cv_func___builtin_fabs_link=yes
48830 else
48831 echo "$as_me: failed program was:" >&5
48832 sed 's/^/| /' conftest.$ac_ext >&5
48833
48834 glibcxx_cv_func___builtin_fabs_link=no
48835 fi
48836 rm -f conftest.err conftest.$ac_objext \
48837 conftest$ac_exeext conftest.$ac_ext
48838
48839 fi
48840
48841 fi
48842 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_link" >&5
48843 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_link" >&6
48844
48845 if test x$glibcxx_cv_func___builtin_fabs_link = x"yes"; then
48846
48847 cat >>confdefs.h <<\_ACEOF
48848 #define HAVE___BUILTIN_FABS 1
48849 _ACEOF
48850
48851 fi
48852
48853 fi
48854
48855
48856 echo "$as_me:$LINENO: checking for __builtin_fabsl declaration" >&5
48857 echo $ECHO_N "checking for __builtin_fabsl declaration... $ECHO_C" >&6
48858 if test x${glibcxx_cv_func___builtin_fabsl_use+set} != xset; then
48859 if test "${glibcxx_cv_func___builtin_fabsl_use+set}" = set; then
48860 echo $ECHO_N "(cached) $ECHO_C" >&6
48861 else
48862
48863
48864
48865 ac_ext=cc
48866 ac_cpp='$CXXCPP $CPPFLAGS'
48867 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48868 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48869 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48870
48871 cat >conftest.$ac_ext <<_ACEOF
48872 /* confdefs.h. */
48873 _ACEOF
48874 cat confdefs.h >>conftest.$ac_ext
48875 cat >>conftest.$ac_ext <<_ACEOF
48876 /* end confdefs.h. */
48877 #include <math.h>
48878 int
48879 main ()
48880 {
48881 __builtin_fabsl(0);
48882 ;
48883 return 0;
48884 }
48885 _ACEOF
48886 rm -f conftest.$ac_objext
48887 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48888 (eval $ac_compile) 2>conftest.er1
48889 ac_status=$?
48890 grep -v '^ *+' conftest.er1 >conftest.err
48891 rm -f conftest.er1
48892 cat conftest.err >&5
48893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48894 (exit $ac_status); } &&
48895 { ac_try='test -z "$ac_cxx_werror_flag"
48896 || test ! -s conftest.err'
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); }; } &&
48902 { ac_try='test -s conftest.$ac_objext'
48903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48904 (eval $ac_try) 2>&5
48905 ac_status=$?
48906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48907 (exit $ac_status); }; }; then
48908 glibcxx_cv_func___builtin_fabsl_use=yes
48909 else
48910 echo "$as_me: failed program was:" >&5
48911 sed 's/^/| /' conftest.$ac_ext >&5
48912
48913 glibcxx_cv_func___builtin_fabsl_use=no
48914 fi
48915 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48916 ac_ext=c
48917 ac_cpp='$CPP $CPPFLAGS'
48918 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48919 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48920 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48921
48922
48923 fi
48924
48925 fi
48926 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_use" >&5
48927 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_use" >&6
48928 if test x$glibcxx_cv_func___builtin_fabsl_use = x"yes"; then
48929 echo "$as_me:$LINENO: checking for __builtin_fabsl linkage" >&5
48930 echo $ECHO_N "checking for __builtin_fabsl linkage... $ECHO_C" >&6
48931 if test x${glibcxx_cv_func___builtin_fabsl_link+set} != xset; then
48932 if test "${glibcxx_cv_func___builtin_fabsl_link+set}" = set; then
48933 echo $ECHO_N "(cached) $ECHO_C" >&6
48934 else
48935
48936 if test x$gcc_no_link = xyes; then
48937 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48938 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48939 { (exit 1); exit 1; }; }
48940 fi
48941 cat >conftest.$ac_ext <<_ACEOF
48942 /* confdefs.h. */
48943 _ACEOF
48944 cat confdefs.h >>conftest.$ac_ext
48945 cat >>conftest.$ac_ext <<_ACEOF
48946 /* end confdefs.h. */
48947 #include <math.h>
48948 int
48949 main ()
48950 {
48951 __builtin_fabsl(0);
48952 ;
48953 return 0;
48954 }
48955 _ACEOF
48956 rm -f conftest.$ac_objext conftest$ac_exeext
48957 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48958 (eval $ac_link) 2>conftest.er1
48959 ac_status=$?
48960 grep -v '^ *+' conftest.er1 >conftest.err
48961 rm -f conftest.er1
48962 cat conftest.err >&5
48963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48964 (exit $ac_status); } &&
48965 { ac_try='test -z "$ac_c_werror_flag"
48966 || test ! -s conftest.err'
48967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48968 (eval $ac_try) 2>&5
48969 ac_status=$?
48970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48971 (exit $ac_status); }; } &&
48972 { ac_try='test -s conftest$ac_exeext'
48973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48974 (eval $ac_try) 2>&5
48975 ac_status=$?
48976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48977 (exit $ac_status); }; }; then
48978 glibcxx_cv_func___builtin_fabsl_link=yes
48979 else
48980 echo "$as_me: failed program was:" >&5
48981 sed 's/^/| /' conftest.$ac_ext >&5
48982
48983 glibcxx_cv_func___builtin_fabsl_link=no
48984 fi
48985 rm -f conftest.err conftest.$ac_objext \
48986 conftest$ac_exeext conftest.$ac_ext
48987
48988 fi
48989
48990 fi
48991 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_link" >&5
48992 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_link" >&6
48993
48994 if test x$glibcxx_cv_func___builtin_fabsl_link = x"yes"; then
48995
48996 cat >>confdefs.h <<\_ACEOF
48997 #define HAVE___BUILTIN_FABSL 1
48998 _ACEOF
48999
49000 fi
49001
49002 fi
49003
49004
49005 echo "$as_me:$LINENO: checking for __builtin_labs declaration" >&5
49006 echo $ECHO_N "checking for __builtin_labs declaration... $ECHO_C" >&6
49007 if test x${glibcxx_cv_func___builtin_labs_use+set} != xset; then
49008 if test "${glibcxx_cv_func___builtin_labs_use+set}" = set; then
49009 echo $ECHO_N "(cached) $ECHO_C" >&6
49010 else
49011
49012
49013
49014 ac_ext=cc
49015 ac_cpp='$CXXCPP $CPPFLAGS'
49016 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49017 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49018 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49019
49020 cat >conftest.$ac_ext <<_ACEOF
49021 /* confdefs.h. */
49022 _ACEOF
49023 cat confdefs.h >>conftest.$ac_ext
49024 cat >>conftest.$ac_ext <<_ACEOF
49025 /* end confdefs.h. */
49026 #include <math.h>
49027 int
49028 main ()
49029 {
49030 __builtin_labs(0);
49031 ;
49032 return 0;
49033 }
49034 _ACEOF
49035 rm -f conftest.$ac_objext
49036 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49037 (eval $ac_compile) 2>conftest.er1
49038 ac_status=$?
49039 grep -v '^ *+' conftest.er1 >conftest.err
49040 rm -f conftest.er1
49041 cat conftest.err >&5
49042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49043 (exit $ac_status); } &&
49044 { ac_try='test -z "$ac_cxx_werror_flag"
49045 || test ! -s conftest.err'
49046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49047 (eval $ac_try) 2>&5
49048 ac_status=$?
49049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49050 (exit $ac_status); }; } &&
49051 { ac_try='test -s conftest.$ac_objext'
49052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49053 (eval $ac_try) 2>&5
49054 ac_status=$?
49055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49056 (exit $ac_status); }; }; then
49057 glibcxx_cv_func___builtin_labs_use=yes
49058 else
49059 echo "$as_me: failed program was:" >&5
49060 sed 's/^/| /' conftest.$ac_ext >&5
49061
49062 glibcxx_cv_func___builtin_labs_use=no
49063 fi
49064 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49065 ac_ext=c
49066 ac_cpp='$CPP $CPPFLAGS'
49067 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49068 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49069 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49070
49071
49072 fi
49073
49074 fi
49075 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_use" >&5
49076 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_use" >&6
49077 if test x$glibcxx_cv_func___builtin_labs_use = x"yes"; then
49078 echo "$as_me:$LINENO: checking for __builtin_labs linkage" >&5
49079 echo $ECHO_N "checking for __builtin_labs linkage... $ECHO_C" >&6
49080 if test x${glibcxx_cv_func___builtin_labs_link+set} != xset; then
49081 if test "${glibcxx_cv_func___builtin_labs_link+set}" = set; then
49082 echo $ECHO_N "(cached) $ECHO_C" >&6
49083 else
49084
49085 if test x$gcc_no_link = xyes; then
49086 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49087 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49088 { (exit 1); exit 1; }; }
49089 fi
49090 cat >conftest.$ac_ext <<_ACEOF
49091 /* confdefs.h. */
49092 _ACEOF
49093 cat confdefs.h >>conftest.$ac_ext
49094 cat >>conftest.$ac_ext <<_ACEOF
49095 /* end confdefs.h. */
49096 #include <math.h>
49097 int
49098 main ()
49099 {
49100 __builtin_labs(0);
49101 ;
49102 return 0;
49103 }
49104 _ACEOF
49105 rm -f conftest.$ac_objext conftest$ac_exeext
49106 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49107 (eval $ac_link) 2>conftest.er1
49108 ac_status=$?
49109 grep -v '^ *+' conftest.er1 >conftest.err
49110 rm -f conftest.er1
49111 cat conftest.err >&5
49112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49113 (exit $ac_status); } &&
49114 { ac_try='test -z "$ac_c_werror_flag"
49115 || test ! -s conftest.err'
49116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49117 (eval $ac_try) 2>&5
49118 ac_status=$?
49119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49120 (exit $ac_status); }; } &&
49121 { ac_try='test -s conftest$ac_exeext'
49122 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49123 (eval $ac_try) 2>&5
49124 ac_status=$?
49125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49126 (exit $ac_status); }; }; then
49127 glibcxx_cv_func___builtin_labs_link=yes
49128 else
49129 echo "$as_me: failed program was:" >&5
49130 sed 's/^/| /' conftest.$ac_ext >&5
49131
49132 glibcxx_cv_func___builtin_labs_link=no
49133 fi
49134 rm -f conftest.err conftest.$ac_objext \
49135 conftest$ac_exeext conftest.$ac_ext
49136
49137 fi
49138
49139 fi
49140 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_link" >&5
49141 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_link" >&6
49142
49143 if test x$glibcxx_cv_func___builtin_labs_link = x"yes"; then
49144
49145 cat >>confdefs.h <<\_ACEOF
49146 #define HAVE___BUILTIN_LABS 1
49147 _ACEOF
49148
49149 fi
49150
49151 fi
49152
49153
49154
49155 echo "$as_me:$LINENO: checking for __builtin_sqrtf declaration" >&5
49156 echo $ECHO_N "checking for __builtin_sqrtf declaration... $ECHO_C" >&6
49157 if test x${glibcxx_cv_func___builtin_sqrtf_use+set} != xset; then
49158 if test "${glibcxx_cv_func___builtin_sqrtf_use+set}" = set; then
49159 echo $ECHO_N "(cached) $ECHO_C" >&6
49160 else
49161
49162
49163
49164 ac_ext=cc
49165 ac_cpp='$CXXCPP $CPPFLAGS'
49166 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49167 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49168 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49169
49170 cat >conftest.$ac_ext <<_ACEOF
49171 /* confdefs.h. */
49172 _ACEOF
49173 cat confdefs.h >>conftest.$ac_ext
49174 cat >>conftest.$ac_ext <<_ACEOF
49175 /* end confdefs.h. */
49176 #include <math.h>
49177 int
49178 main ()
49179 {
49180 __builtin_sqrtf(0);
49181 ;
49182 return 0;
49183 }
49184 _ACEOF
49185 rm -f conftest.$ac_objext
49186 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49187 (eval $ac_compile) 2>conftest.er1
49188 ac_status=$?
49189 grep -v '^ *+' conftest.er1 >conftest.err
49190 rm -f conftest.er1
49191 cat conftest.err >&5
49192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49193 (exit $ac_status); } &&
49194 { ac_try='test -z "$ac_cxx_werror_flag"
49195 || test ! -s conftest.err'
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); }; } &&
49201 { ac_try='test -s conftest.$ac_objext'
49202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49203 (eval $ac_try) 2>&5
49204 ac_status=$?
49205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49206 (exit $ac_status); }; }; then
49207 glibcxx_cv_func___builtin_sqrtf_use=yes
49208 else
49209 echo "$as_me: failed program was:" >&5
49210 sed 's/^/| /' conftest.$ac_ext >&5
49211
49212 glibcxx_cv_func___builtin_sqrtf_use=no
49213 fi
49214 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49215 ac_ext=c
49216 ac_cpp='$CPP $CPPFLAGS'
49217 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49218 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49219 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49220
49221
49222 fi
49223
49224 fi
49225 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_use" >&5
49226 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_use" >&6
49227 if test x$glibcxx_cv_func___builtin_sqrtf_use = x"yes"; then
49228 echo "$as_me:$LINENO: checking for __builtin_sqrtf linkage" >&5
49229 echo $ECHO_N "checking for __builtin_sqrtf linkage... $ECHO_C" >&6
49230 if test x${glibcxx_cv_func___builtin_sqrtf_link+set} != xset; then
49231 if test "${glibcxx_cv_func___builtin_sqrtf_link+set}" = set; then
49232 echo $ECHO_N "(cached) $ECHO_C" >&6
49233 else
49234
49235 if test x$gcc_no_link = xyes; then
49236 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49237 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49238 { (exit 1); exit 1; }; }
49239 fi
49240 cat >conftest.$ac_ext <<_ACEOF
49241 /* confdefs.h. */
49242 _ACEOF
49243 cat confdefs.h >>conftest.$ac_ext
49244 cat >>conftest.$ac_ext <<_ACEOF
49245 /* end confdefs.h. */
49246 #include <math.h>
49247 int
49248 main ()
49249 {
49250 __builtin_sqrtf(0);
49251 ;
49252 return 0;
49253 }
49254 _ACEOF
49255 rm -f conftest.$ac_objext conftest$ac_exeext
49256 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49257 (eval $ac_link) 2>conftest.er1
49258 ac_status=$?
49259 grep -v '^ *+' conftest.er1 >conftest.err
49260 rm -f conftest.er1
49261 cat conftest.err >&5
49262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49263 (exit $ac_status); } &&
49264 { ac_try='test -z "$ac_c_werror_flag"
49265 || test ! -s conftest.err'
49266 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49267 (eval $ac_try) 2>&5
49268 ac_status=$?
49269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49270 (exit $ac_status); }; } &&
49271 { ac_try='test -s conftest$ac_exeext'
49272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49273 (eval $ac_try) 2>&5
49274 ac_status=$?
49275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49276 (exit $ac_status); }; }; then
49277 glibcxx_cv_func___builtin_sqrtf_link=yes
49278 else
49279 echo "$as_me: failed program was:" >&5
49280 sed 's/^/| /' conftest.$ac_ext >&5
49281
49282 glibcxx_cv_func___builtin_sqrtf_link=no
49283 fi
49284 rm -f conftest.err conftest.$ac_objext \
49285 conftest$ac_exeext conftest.$ac_ext
49286
49287 fi
49288
49289 fi
49290 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_link" >&5
49291 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_link" >&6
49292
49293 if test x$glibcxx_cv_func___builtin_sqrtf_link = x"yes"; then
49294
49295 cat >>confdefs.h <<\_ACEOF
49296 #define HAVE___BUILTIN_SQRTF 1
49297 _ACEOF
49298
49299 fi
49300
49301 fi
49302
49303
49304 echo "$as_me:$LINENO: checking for __builtin_sqrt declaration" >&5
49305 echo $ECHO_N "checking for __builtin_sqrt declaration... $ECHO_C" >&6
49306 if test x${glibcxx_cv_func___builtin_sqrt_use+set} != xset; then
49307 if test "${glibcxx_cv_func___builtin_sqrt_use+set}" = set; then
49308 echo $ECHO_N "(cached) $ECHO_C" >&6
49309 else
49310
49311
49312
49313 ac_ext=cc
49314 ac_cpp='$CXXCPP $CPPFLAGS'
49315 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49316 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49317 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49318
49319 cat >conftest.$ac_ext <<_ACEOF
49320 /* confdefs.h. */
49321 _ACEOF
49322 cat confdefs.h >>conftest.$ac_ext
49323 cat >>conftest.$ac_ext <<_ACEOF
49324 /* end confdefs.h. */
49325 #include <math.h>
49326 int
49327 main ()
49328 {
49329 __builtin_sqrt(0);
49330 ;
49331 return 0;
49332 }
49333 _ACEOF
49334 rm -f conftest.$ac_objext
49335 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49336 (eval $ac_compile) 2>conftest.er1
49337 ac_status=$?
49338 grep -v '^ *+' conftest.er1 >conftest.err
49339 rm -f conftest.er1
49340 cat conftest.err >&5
49341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49342 (exit $ac_status); } &&
49343 { ac_try='test -z "$ac_cxx_werror_flag"
49344 || test ! -s conftest.err'
49345 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49346 (eval $ac_try) 2>&5
49347 ac_status=$?
49348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49349 (exit $ac_status); }; } &&
49350 { ac_try='test -s conftest.$ac_objext'
49351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49352 (eval $ac_try) 2>&5
49353 ac_status=$?
49354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49355 (exit $ac_status); }; }; then
49356 glibcxx_cv_func___builtin_sqrt_use=yes
49357 else
49358 echo "$as_me: failed program was:" >&5
49359 sed 's/^/| /' conftest.$ac_ext >&5
49360
49361 glibcxx_cv_func___builtin_sqrt_use=no
49362 fi
49363 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49364 ac_ext=c
49365 ac_cpp='$CPP $CPPFLAGS'
49366 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49367 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49368 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49369
49370
49371 fi
49372
49373 fi
49374 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_use" >&5
49375 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_use" >&6
49376 if test x$glibcxx_cv_func___builtin_sqrt_use = x"yes"; then
49377 echo "$as_me:$LINENO: checking for __builtin_sqrt linkage" >&5
49378 echo $ECHO_N "checking for __builtin_sqrt linkage... $ECHO_C" >&6
49379 if test x${glibcxx_cv_func___builtin_sqrt_link+set} != xset; then
49380 if test "${glibcxx_cv_func___builtin_sqrt_link+set}" = set; then
49381 echo $ECHO_N "(cached) $ECHO_C" >&6
49382 else
49383
49384 if test x$gcc_no_link = xyes; then
49385 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49386 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49387 { (exit 1); exit 1; }; }
49388 fi
49389 cat >conftest.$ac_ext <<_ACEOF
49390 /* confdefs.h. */
49391 _ACEOF
49392 cat confdefs.h >>conftest.$ac_ext
49393 cat >>conftest.$ac_ext <<_ACEOF
49394 /* end confdefs.h. */
49395 #include <math.h>
49396 int
49397 main ()
49398 {
49399 __builtin_sqrt(0);
49400 ;
49401 return 0;
49402 }
49403 _ACEOF
49404 rm -f conftest.$ac_objext conftest$ac_exeext
49405 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49406 (eval $ac_link) 2>conftest.er1
49407 ac_status=$?
49408 grep -v '^ *+' conftest.er1 >conftest.err
49409 rm -f conftest.er1
49410 cat conftest.err >&5
49411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49412 (exit $ac_status); } &&
49413 { ac_try='test -z "$ac_c_werror_flag"
49414 || test ! -s conftest.err'
49415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49416 (eval $ac_try) 2>&5
49417 ac_status=$?
49418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49419 (exit $ac_status); }; } &&
49420 { ac_try='test -s conftest$ac_exeext'
49421 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49422 (eval $ac_try) 2>&5
49423 ac_status=$?
49424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49425 (exit $ac_status); }; }; then
49426 glibcxx_cv_func___builtin_sqrt_link=yes
49427 else
49428 echo "$as_me: failed program was:" >&5
49429 sed 's/^/| /' conftest.$ac_ext >&5
49430
49431 glibcxx_cv_func___builtin_sqrt_link=no
49432 fi
49433 rm -f conftest.err conftest.$ac_objext \
49434 conftest$ac_exeext conftest.$ac_ext
49435
49436 fi
49437
49438 fi
49439 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_link" >&5
49440 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_link" >&6
49441
49442 if test x$glibcxx_cv_func___builtin_sqrt_link = x"yes"; then
49443
49444 cat >>confdefs.h <<\_ACEOF
49445 #define HAVE___BUILTIN_SQRT 1
49446 _ACEOF
49447
49448 fi
49449
49450 fi
49451
49452
49453 echo "$as_me:$LINENO: checking for __builtin_sqrtl declaration" >&5
49454 echo $ECHO_N "checking for __builtin_sqrtl declaration... $ECHO_C" >&6
49455 if test x${glibcxx_cv_func___builtin_sqrtl_use+set} != xset; then
49456 if test "${glibcxx_cv_func___builtin_sqrtl_use+set}" = set; then
49457 echo $ECHO_N "(cached) $ECHO_C" >&6
49458 else
49459
49460
49461
49462 ac_ext=cc
49463 ac_cpp='$CXXCPP $CPPFLAGS'
49464 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49465 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49466 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49467
49468 cat >conftest.$ac_ext <<_ACEOF
49469 /* confdefs.h. */
49470 _ACEOF
49471 cat confdefs.h >>conftest.$ac_ext
49472 cat >>conftest.$ac_ext <<_ACEOF
49473 /* end confdefs.h. */
49474 #include <math.h>
49475 int
49476 main ()
49477 {
49478 __builtin_sqrtl(0);
49479 ;
49480 return 0;
49481 }
49482 _ACEOF
49483 rm -f conftest.$ac_objext
49484 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49485 (eval $ac_compile) 2>conftest.er1
49486 ac_status=$?
49487 grep -v '^ *+' conftest.er1 >conftest.err
49488 rm -f conftest.er1
49489 cat conftest.err >&5
49490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49491 (exit $ac_status); } &&
49492 { ac_try='test -z "$ac_cxx_werror_flag"
49493 || test ! -s conftest.err'
49494 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49495 (eval $ac_try) 2>&5
49496 ac_status=$?
49497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49498 (exit $ac_status); }; } &&
49499 { ac_try='test -s conftest.$ac_objext'
49500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49501 (eval $ac_try) 2>&5
49502 ac_status=$?
49503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49504 (exit $ac_status); }; }; then
49505 glibcxx_cv_func___builtin_sqrtl_use=yes
49506 else
49507 echo "$as_me: failed program was:" >&5
49508 sed 's/^/| /' conftest.$ac_ext >&5
49509
49510 glibcxx_cv_func___builtin_sqrtl_use=no
49511 fi
49512 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49513 ac_ext=c
49514 ac_cpp='$CPP $CPPFLAGS'
49515 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49516 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49517 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49518
49519
49520 fi
49521
49522 fi
49523 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_use" >&5
49524 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_use" >&6
49525 if test x$glibcxx_cv_func___builtin_sqrtl_use = x"yes"; then
49526 echo "$as_me:$LINENO: checking for __builtin_sqrtl linkage" >&5
49527 echo $ECHO_N "checking for __builtin_sqrtl linkage... $ECHO_C" >&6
49528 if test x${glibcxx_cv_func___builtin_sqrtl_link+set} != xset; then
49529 if test "${glibcxx_cv_func___builtin_sqrtl_link+set}" = set; then
49530 echo $ECHO_N "(cached) $ECHO_C" >&6
49531 else
49532
49533 if test x$gcc_no_link = xyes; then
49534 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49535 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49536 { (exit 1); exit 1; }; }
49537 fi
49538 cat >conftest.$ac_ext <<_ACEOF
49539 /* confdefs.h. */
49540 _ACEOF
49541 cat confdefs.h >>conftest.$ac_ext
49542 cat >>conftest.$ac_ext <<_ACEOF
49543 /* end confdefs.h. */
49544 #include <math.h>
49545 int
49546 main ()
49547 {
49548 __builtin_sqrtl(0);
49549 ;
49550 return 0;
49551 }
49552 _ACEOF
49553 rm -f conftest.$ac_objext conftest$ac_exeext
49554 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49555 (eval $ac_link) 2>conftest.er1
49556 ac_status=$?
49557 grep -v '^ *+' conftest.er1 >conftest.err
49558 rm -f conftest.er1
49559 cat conftest.err >&5
49560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49561 (exit $ac_status); } &&
49562 { ac_try='test -z "$ac_c_werror_flag"
49563 || test ! -s conftest.err'
49564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49565 (eval $ac_try) 2>&5
49566 ac_status=$?
49567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49568 (exit $ac_status); }; } &&
49569 { ac_try='test -s conftest$ac_exeext'
49570 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49571 (eval $ac_try) 2>&5
49572 ac_status=$?
49573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49574 (exit $ac_status); }; }; then
49575 glibcxx_cv_func___builtin_sqrtl_link=yes
49576 else
49577 echo "$as_me: failed program was:" >&5
49578 sed 's/^/| /' conftest.$ac_ext >&5
49579
49580 glibcxx_cv_func___builtin_sqrtl_link=no
49581 fi
49582 rm -f conftest.err conftest.$ac_objext \
49583 conftest$ac_exeext conftest.$ac_ext
49584
49585 fi
49586
49587 fi
49588 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_link" >&5
49589 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_link" >&6
49590
49591 if test x$glibcxx_cv_func___builtin_sqrtl_link = x"yes"; then
49592
49593 cat >>confdefs.h <<\_ACEOF
49594 #define HAVE___BUILTIN_SQRTL 1
49595 _ACEOF
49596
49597 fi
49598
49599 fi
49600
49601
49602
49603 echo "$as_me:$LINENO: checking for __builtin_sinf declaration" >&5
49604 echo $ECHO_N "checking for __builtin_sinf declaration... $ECHO_C" >&6
49605 if test x${glibcxx_cv_func___builtin_sinf_use+set} != xset; then
49606 if test "${glibcxx_cv_func___builtin_sinf_use+set}" = set; then
49607 echo $ECHO_N "(cached) $ECHO_C" >&6
49608 else
49609
49610
49611
49612 ac_ext=cc
49613 ac_cpp='$CXXCPP $CPPFLAGS'
49614 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49615 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49616 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49617
49618 cat >conftest.$ac_ext <<_ACEOF
49619 /* confdefs.h. */
49620 _ACEOF
49621 cat confdefs.h >>conftest.$ac_ext
49622 cat >>conftest.$ac_ext <<_ACEOF
49623 /* end confdefs.h. */
49624 #include <math.h>
49625 int
49626 main ()
49627 {
49628 __builtin_sinf(0);
49629 ;
49630 return 0;
49631 }
49632 _ACEOF
49633 rm -f conftest.$ac_objext
49634 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49635 (eval $ac_compile) 2>conftest.er1
49636 ac_status=$?
49637 grep -v '^ *+' conftest.er1 >conftest.err
49638 rm -f conftest.er1
49639 cat conftest.err >&5
49640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49641 (exit $ac_status); } &&
49642 { ac_try='test -z "$ac_cxx_werror_flag"
49643 || test ! -s conftest.err'
49644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49645 (eval $ac_try) 2>&5
49646 ac_status=$?
49647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49648 (exit $ac_status); }; } &&
49649 { ac_try='test -s conftest.$ac_objext'
49650 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49651 (eval $ac_try) 2>&5
49652 ac_status=$?
49653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49654 (exit $ac_status); }; }; then
49655 glibcxx_cv_func___builtin_sinf_use=yes
49656 else
49657 echo "$as_me: failed program was:" >&5
49658 sed 's/^/| /' conftest.$ac_ext >&5
49659
49660 glibcxx_cv_func___builtin_sinf_use=no
49661 fi
49662 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49663 ac_ext=c
49664 ac_cpp='$CPP $CPPFLAGS'
49665 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49666 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49667 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49668
49669
49670 fi
49671
49672 fi
49673 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_use" >&5
49674 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_use" >&6
49675 if test x$glibcxx_cv_func___builtin_sinf_use = x"yes"; then
49676 echo "$as_me:$LINENO: checking for __builtin_sinf linkage" >&5
49677 echo $ECHO_N "checking for __builtin_sinf linkage... $ECHO_C" >&6
49678 if test x${glibcxx_cv_func___builtin_sinf_link+set} != xset; then
49679 if test "${glibcxx_cv_func___builtin_sinf_link+set}" = set; then
49680 echo $ECHO_N "(cached) $ECHO_C" >&6
49681 else
49682
49683 if test x$gcc_no_link = xyes; then
49684 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49685 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49686 { (exit 1); exit 1; }; }
49687 fi
49688 cat >conftest.$ac_ext <<_ACEOF
49689 /* confdefs.h. */
49690 _ACEOF
49691 cat confdefs.h >>conftest.$ac_ext
49692 cat >>conftest.$ac_ext <<_ACEOF
49693 /* end confdefs.h. */
49694 #include <math.h>
49695 int
49696 main ()
49697 {
49698 __builtin_sinf(0);
49699 ;
49700 return 0;
49701 }
49702 _ACEOF
49703 rm -f conftest.$ac_objext conftest$ac_exeext
49704 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49705 (eval $ac_link) 2>conftest.er1
49706 ac_status=$?
49707 grep -v '^ *+' conftest.er1 >conftest.err
49708 rm -f conftest.er1
49709 cat conftest.err >&5
49710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49711 (exit $ac_status); } &&
49712 { ac_try='test -z "$ac_c_werror_flag"
49713 || test ! -s conftest.err'
49714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49715 (eval $ac_try) 2>&5
49716 ac_status=$?
49717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49718 (exit $ac_status); }; } &&
49719 { ac_try='test -s conftest$ac_exeext'
49720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49721 (eval $ac_try) 2>&5
49722 ac_status=$?
49723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49724 (exit $ac_status); }; }; then
49725 glibcxx_cv_func___builtin_sinf_link=yes
49726 else
49727 echo "$as_me: failed program was:" >&5
49728 sed 's/^/| /' conftest.$ac_ext >&5
49729
49730 glibcxx_cv_func___builtin_sinf_link=no
49731 fi
49732 rm -f conftest.err conftest.$ac_objext \
49733 conftest$ac_exeext conftest.$ac_ext
49734
49735 fi
49736
49737 fi
49738 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_link" >&5
49739 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_link" >&6
49740
49741 if test x$glibcxx_cv_func___builtin_sinf_link = x"yes"; then
49742
49743 cat >>confdefs.h <<\_ACEOF
49744 #define HAVE___BUILTIN_SINF 1
49745 _ACEOF
49746
49747 fi
49748
49749 fi
49750
49751
49752 echo "$as_me:$LINENO: checking for __builtin_sin declaration" >&5
49753 echo $ECHO_N "checking for __builtin_sin declaration... $ECHO_C" >&6
49754 if test x${glibcxx_cv_func___builtin_sin_use+set} != xset; then
49755 if test "${glibcxx_cv_func___builtin_sin_use+set}" = set; then
49756 echo $ECHO_N "(cached) $ECHO_C" >&6
49757 else
49758
49759
49760
49761 ac_ext=cc
49762 ac_cpp='$CXXCPP $CPPFLAGS'
49763 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49764 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49765 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49766
49767 cat >conftest.$ac_ext <<_ACEOF
49768 /* confdefs.h. */
49769 _ACEOF
49770 cat confdefs.h >>conftest.$ac_ext
49771 cat >>conftest.$ac_ext <<_ACEOF
49772 /* end confdefs.h. */
49773 #include <math.h>
49774 int
49775 main ()
49776 {
49777 __builtin_sin(0);
49778 ;
49779 return 0;
49780 }
49781 _ACEOF
49782 rm -f conftest.$ac_objext
49783 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49784 (eval $ac_compile) 2>conftest.er1
49785 ac_status=$?
49786 grep -v '^ *+' conftest.er1 >conftest.err
49787 rm -f conftest.er1
49788 cat conftest.err >&5
49789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49790 (exit $ac_status); } &&
49791 { ac_try='test -z "$ac_cxx_werror_flag"
49792 || test ! -s conftest.err'
49793 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49794 (eval $ac_try) 2>&5
49795 ac_status=$?
49796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49797 (exit $ac_status); }; } &&
49798 { ac_try='test -s conftest.$ac_objext'
49799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49800 (eval $ac_try) 2>&5
49801 ac_status=$?
49802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49803 (exit $ac_status); }; }; then
49804 glibcxx_cv_func___builtin_sin_use=yes
49805 else
49806 echo "$as_me: failed program was:" >&5
49807 sed 's/^/| /' conftest.$ac_ext >&5
49808
49809 glibcxx_cv_func___builtin_sin_use=no
49810 fi
49811 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49812 ac_ext=c
49813 ac_cpp='$CPP $CPPFLAGS'
49814 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49815 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49816 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49817
49818
49819 fi
49820
49821 fi
49822 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_use" >&5
49823 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_use" >&6
49824 if test x$glibcxx_cv_func___builtin_sin_use = x"yes"; then
49825 echo "$as_me:$LINENO: checking for __builtin_sin linkage" >&5
49826 echo $ECHO_N "checking for __builtin_sin linkage... $ECHO_C" >&6
49827 if test x${glibcxx_cv_func___builtin_sin_link+set} != xset; then
49828 if test "${glibcxx_cv_func___builtin_sin_link+set}" = set; then
49829 echo $ECHO_N "(cached) $ECHO_C" >&6
49830 else
49831
49832 if test x$gcc_no_link = xyes; then
49833 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49834 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49835 { (exit 1); exit 1; }; }
49836 fi
49837 cat >conftest.$ac_ext <<_ACEOF
49838 /* confdefs.h. */
49839 _ACEOF
49840 cat confdefs.h >>conftest.$ac_ext
49841 cat >>conftest.$ac_ext <<_ACEOF
49842 /* end confdefs.h. */
49843 #include <math.h>
49844 int
49845 main ()
49846 {
49847 __builtin_sin(0);
49848 ;
49849 return 0;
49850 }
49851 _ACEOF
49852 rm -f conftest.$ac_objext conftest$ac_exeext
49853 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49854 (eval $ac_link) 2>conftest.er1
49855 ac_status=$?
49856 grep -v '^ *+' conftest.er1 >conftest.err
49857 rm -f conftest.er1
49858 cat conftest.err >&5
49859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49860 (exit $ac_status); } &&
49861 { ac_try='test -z "$ac_c_werror_flag"
49862 || test ! -s conftest.err'
49863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49864 (eval $ac_try) 2>&5
49865 ac_status=$?
49866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49867 (exit $ac_status); }; } &&
49868 { ac_try='test -s conftest$ac_exeext'
49869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49870 (eval $ac_try) 2>&5
49871 ac_status=$?
49872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49873 (exit $ac_status); }; }; then
49874 glibcxx_cv_func___builtin_sin_link=yes
49875 else
49876 echo "$as_me: failed program was:" >&5
49877 sed 's/^/| /' conftest.$ac_ext >&5
49878
49879 glibcxx_cv_func___builtin_sin_link=no
49880 fi
49881 rm -f conftest.err conftest.$ac_objext \
49882 conftest$ac_exeext conftest.$ac_ext
49883
49884 fi
49885
49886 fi
49887 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_link" >&5
49888 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_link" >&6
49889
49890 if test x$glibcxx_cv_func___builtin_sin_link = x"yes"; then
49891
49892 cat >>confdefs.h <<\_ACEOF
49893 #define HAVE___BUILTIN_SIN 1
49894 _ACEOF
49895
49896 fi
49897
49898 fi
49899
49900
49901 echo "$as_me:$LINENO: checking for __builtin_sinl declaration" >&5
49902 echo $ECHO_N "checking for __builtin_sinl declaration... $ECHO_C" >&6
49903 if test x${glibcxx_cv_func___builtin_sinl_use+set} != xset; then
49904 if test "${glibcxx_cv_func___builtin_sinl_use+set}" = set; then
49905 echo $ECHO_N "(cached) $ECHO_C" >&6
49906 else
49907
49908
49909
49910 ac_ext=cc
49911 ac_cpp='$CXXCPP $CPPFLAGS'
49912 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49913 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49914 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49915
49916 cat >conftest.$ac_ext <<_ACEOF
49917 /* confdefs.h. */
49918 _ACEOF
49919 cat confdefs.h >>conftest.$ac_ext
49920 cat >>conftest.$ac_ext <<_ACEOF
49921 /* end confdefs.h. */
49922 #include <math.h>
49923 int
49924 main ()
49925 {
49926 __builtin_sinl(0);
49927 ;
49928 return 0;
49929 }
49930 _ACEOF
49931 rm -f conftest.$ac_objext
49932 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49933 (eval $ac_compile) 2>conftest.er1
49934 ac_status=$?
49935 grep -v '^ *+' conftest.er1 >conftest.err
49936 rm -f conftest.er1
49937 cat conftest.err >&5
49938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49939 (exit $ac_status); } &&
49940 { ac_try='test -z "$ac_cxx_werror_flag"
49941 || test ! -s conftest.err'
49942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49943 (eval $ac_try) 2>&5
49944 ac_status=$?
49945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49946 (exit $ac_status); }; } &&
49947 { ac_try='test -s conftest.$ac_objext'
49948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49949 (eval $ac_try) 2>&5
49950 ac_status=$?
49951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49952 (exit $ac_status); }; }; then
49953 glibcxx_cv_func___builtin_sinl_use=yes
49954 else
49955 echo "$as_me: failed program was:" >&5
49956 sed 's/^/| /' conftest.$ac_ext >&5
49957
49958 glibcxx_cv_func___builtin_sinl_use=no
49959 fi
49960 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49961 ac_ext=c
49962 ac_cpp='$CPP $CPPFLAGS'
49963 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49964 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49965 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49966
49967
49968 fi
49969
49970 fi
49971 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_use" >&5
49972 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_use" >&6
49973 if test x$glibcxx_cv_func___builtin_sinl_use = x"yes"; then
49974 echo "$as_me:$LINENO: checking for __builtin_sinl linkage" >&5
49975 echo $ECHO_N "checking for __builtin_sinl linkage... $ECHO_C" >&6
49976 if test x${glibcxx_cv_func___builtin_sinl_link+set} != xset; then
49977 if test "${glibcxx_cv_func___builtin_sinl_link+set}" = set; then
49978 echo $ECHO_N "(cached) $ECHO_C" >&6
49979 else
49980
49981 if test x$gcc_no_link = xyes; then
49982 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49983 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49984 { (exit 1); exit 1; }; }
49985 fi
49986 cat >conftest.$ac_ext <<_ACEOF
49987 /* confdefs.h. */
49988 _ACEOF
49989 cat confdefs.h >>conftest.$ac_ext
49990 cat >>conftest.$ac_ext <<_ACEOF
49991 /* end confdefs.h. */
49992 #include <math.h>
49993 int
49994 main ()
49995 {
49996 __builtin_sinl(0);
49997 ;
49998 return 0;
49999 }
50000 _ACEOF
50001 rm -f conftest.$ac_objext conftest$ac_exeext
50002 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50003 (eval $ac_link) 2>conftest.er1
50004 ac_status=$?
50005 grep -v '^ *+' conftest.er1 >conftest.err
50006 rm -f conftest.er1
50007 cat conftest.err >&5
50008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50009 (exit $ac_status); } &&
50010 { ac_try='test -z "$ac_c_werror_flag"
50011 || test ! -s conftest.err'
50012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50013 (eval $ac_try) 2>&5
50014 ac_status=$?
50015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50016 (exit $ac_status); }; } &&
50017 { ac_try='test -s conftest$ac_exeext'
50018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50019 (eval $ac_try) 2>&5
50020 ac_status=$?
50021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50022 (exit $ac_status); }; }; then
50023 glibcxx_cv_func___builtin_sinl_link=yes
50024 else
50025 echo "$as_me: failed program was:" >&5
50026 sed 's/^/| /' conftest.$ac_ext >&5
50027
50028 glibcxx_cv_func___builtin_sinl_link=no
50029 fi
50030 rm -f conftest.err conftest.$ac_objext \
50031 conftest$ac_exeext conftest.$ac_ext
50032
50033 fi
50034
50035 fi
50036 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_link" >&5
50037 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_link" >&6
50038
50039 if test x$glibcxx_cv_func___builtin_sinl_link = x"yes"; then
50040
50041 cat >>confdefs.h <<\_ACEOF
50042 #define HAVE___BUILTIN_SINL 1
50043 _ACEOF
50044
50045 fi
50046
50047 fi
50048
50049
50050
50051 echo "$as_me:$LINENO: checking for __builtin_cosf declaration" >&5
50052 echo $ECHO_N "checking for __builtin_cosf declaration... $ECHO_C" >&6
50053 if test x${glibcxx_cv_func___builtin_cosf_use+set} != xset; then
50054 if test "${glibcxx_cv_func___builtin_cosf_use+set}" = set; then
50055 echo $ECHO_N "(cached) $ECHO_C" >&6
50056 else
50057
50058
50059
50060 ac_ext=cc
50061 ac_cpp='$CXXCPP $CPPFLAGS'
50062 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50063 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50064 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50065
50066 cat >conftest.$ac_ext <<_ACEOF
50067 /* confdefs.h. */
50068 _ACEOF
50069 cat confdefs.h >>conftest.$ac_ext
50070 cat >>conftest.$ac_ext <<_ACEOF
50071 /* end confdefs.h. */
50072 #include <math.h>
50073 int
50074 main ()
50075 {
50076 __builtin_cosf(0);
50077 ;
50078 return 0;
50079 }
50080 _ACEOF
50081 rm -f conftest.$ac_objext
50082 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50083 (eval $ac_compile) 2>conftest.er1
50084 ac_status=$?
50085 grep -v '^ *+' conftest.er1 >conftest.err
50086 rm -f conftest.er1
50087 cat conftest.err >&5
50088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50089 (exit $ac_status); } &&
50090 { ac_try='test -z "$ac_cxx_werror_flag"
50091 || test ! -s conftest.err'
50092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50093 (eval $ac_try) 2>&5
50094 ac_status=$?
50095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50096 (exit $ac_status); }; } &&
50097 { ac_try='test -s conftest.$ac_objext'
50098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50099 (eval $ac_try) 2>&5
50100 ac_status=$?
50101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50102 (exit $ac_status); }; }; then
50103 glibcxx_cv_func___builtin_cosf_use=yes
50104 else
50105 echo "$as_me: failed program was:" >&5
50106 sed 's/^/| /' conftest.$ac_ext >&5
50107
50108 glibcxx_cv_func___builtin_cosf_use=no
50109 fi
50110 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50111 ac_ext=c
50112 ac_cpp='$CPP $CPPFLAGS'
50113 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50114 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50115 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50116
50117
50118 fi
50119
50120 fi
50121 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_use" >&5
50122 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_use" >&6
50123 if test x$glibcxx_cv_func___builtin_cosf_use = x"yes"; then
50124 echo "$as_me:$LINENO: checking for __builtin_cosf linkage" >&5
50125 echo $ECHO_N "checking for __builtin_cosf linkage... $ECHO_C" >&6
50126 if test x${glibcxx_cv_func___builtin_cosf_link+set} != xset; then
50127 if test "${glibcxx_cv_func___builtin_cosf_link+set}" = set; then
50128 echo $ECHO_N "(cached) $ECHO_C" >&6
50129 else
50130
50131 if test x$gcc_no_link = xyes; then
50132 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50133 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50134 { (exit 1); exit 1; }; }
50135 fi
50136 cat >conftest.$ac_ext <<_ACEOF
50137 /* confdefs.h. */
50138 _ACEOF
50139 cat confdefs.h >>conftest.$ac_ext
50140 cat >>conftest.$ac_ext <<_ACEOF
50141 /* end confdefs.h. */
50142 #include <math.h>
50143 int
50144 main ()
50145 {
50146 __builtin_cosf(0);
50147 ;
50148 return 0;
50149 }
50150 _ACEOF
50151 rm -f conftest.$ac_objext conftest$ac_exeext
50152 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50153 (eval $ac_link) 2>conftest.er1
50154 ac_status=$?
50155 grep -v '^ *+' conftest.er1 >conftest.err
50156 rm -f conftest.er1
50157 cat conftest.err >&5
50158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50159 (exit $ac_status); } &&
50160 { ac_try='test -z "$ac_c_werror_flag"
50161 || test ! -s conftest.err'
50162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50163 (eval $ac_try) 2>&5
50164 ac_status=$?
50165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50166 (exit $ac_status); }; } &&
50167 { ac_try='test -s conftest$ac_exeext'
50168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50169 (eval $ac_try) 2>&5
50170 ac_status=$?
50171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50172 (exit $ac_status); }; }; then
50173 glibcxx_cv_func___builtin_cosf_link=yes
50174 else
50175 echo "$as_me: failed program was:" >&5
50176 sed 's/^/| /' conftest.$ac_ext >&5
50177
50178 glibcxx_cv_func___builtin_cosf_link=no
50179 fi
50180 rm -f conftest.err conftest.$ac_objext \
50181 conftest$ac_exeext conftest.$ac_ext
50182
50183 fi
50184
50185 fi
50186 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_link" >&5
50187 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_link" >&6
50188
50189 if test x$glibcxx_cv_func___builtin_cosf_link = x"yes"; then
50190
50191 cat >>confdefs.h <<\_ACEOF
50192 #define HAVE___BUILTIN_COSF 1
50193 _ACEOF
50194
50195 fi
50196
50197 fi
50198
50199
50200 echo "$as_me:$LINENO: checking for __builtin_cos declaration" >&5
50201 echo $ECHO_N "checking for __builtin_cos declaration... $ECHO_C" >&6
50202 if test x${glibcxx_cv_func___builtin_cos_use+set} != xset; then
50203 if test "${glibcxx_cv_func___builtin_cos_use+set}" = set; then
50204 echo $ECHO_N "(cached) $ECHO_C" >&6
50205 else
50206
50207
50208
50209 ac_ext=cc
50210 ac_cpp='$CXXCPP $CPPFLAGS'
50211 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50212 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50213 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50214
50215 cat >conftest.$ac_ext <<_ACEOF
50216 /* confdefs.h. */
50217 _ACEOF
50218 cat confdefs.h >>conftest.$ac_ext
50219 cat >>conftest.$ac_ext <<_ACEOF
50220 /* end confdefs.h. */
50221 #include <math.h>
50222 int
50223 main ()
50224 {
50225 __builtin_cos(0);
50226 ;
50227 return 0;
50228 }
50229 _ACEOF
50230 rm -f conftest.$ac_objext
50231 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50232 (eval $ac_compile) 2>conftest.er1
50233 ac_status=$?
50234 grep -v '^ *+' conftest.er1 >conftest.err
50235 rm -f conftest.er1
50236 cat conftest.err >&5
50237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50238 (exit $ac_status); } &&
50239 { ac_try='test -z "$ac_cxx_werror_flag"
50240 || test ! -s conftest.err'
50241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50242 (eval $ac_try) 2>&5
50243 ac_status=$?
50244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50245 (exit $ac_status); }; } &&
50246 { ac_try='test -s conftest.$ac_objext'
50247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50248 (eval $ac_try) 2>&5
50249 ac_status=$?
50250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50251 (exit $ac_status); }; }; then
50252 glibcxx_cv_func___builtin_cos_use=yes
50253 else
50254 echo "$as_me: failed program was:" >&5
50255 sed 's/^/| /' conftest.$ac_ext >&5
50256
50257 glibcxx_cv_func___builtin_cos_use=no
50258 fi
50259 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50260 ac_ext=c
50261 ac_cpp='$CPP $CPPFLAGS'
50262 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50263 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50264 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50265
50266
50267 fi
50268
50269 fi
50270 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_use" >&5
50271 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_use" >&6
50272 if test x$glibcxx_cv_func___builtin_cos_use = x"yes"; then
50273 echo "$as_me:$LINENO: checking for __builtin_cos linkage" >&5
50274 echo $ECHO_N "checking for __builtin_cos linkage... $ECHO_C" >&6
50275 if test x${glibcxx_cv_func___builtin_cos_link+set} != xset; then
50276 if test "${glibcxx_cv_func___builtin_cos_link+set}" = set; then
50277 echo $ECHO_N "(cached) $ECHO_C" >&6
50278 else
50279
50280 if test x$gcc_no_link = xyes; then
50281 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50282 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50283 { (exit 1); exit 1; }; }
50284 fi
50285 cat >conftest.$ac_ext <<_ACEOF
50286 /* confdefs.h. */
50287 _ACEOF
50288 cat confdefs.h >>conftest.$ac_ext
50289 cat >>conftest.$ac_ext <<_ACEOF
50290 /* end confdefs.h. */
50291 #include <math.h>
50292 int
50293 main ()
50294 {
50295 __builtin_cos(0);
50296 ;
50297 return 0;
50298 }
50299 _ACEOF
50300 rm -f conftest.$ac_objext conftest$ac_exeext
50301 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50302 (eval $ac_link) 2>conftest.er1
50303 ac_status=$?
50304 grep -v '^ *+' conftest.er1 >conftest.err
50305 rm -f conftest.er1
50306 cat conftest.err >&5
50307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50308 (exit $ac_status); } &&
50309 { ac_try='test -z "$ac_c_werror_flag"
50310 || test ! -s conftest.err'
50311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50312 (eval $ac_try) 2>&5
50313 ac_status=$?
50314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50315 (exit $ac_status); }; } &&
50316 { ac_try='test -s conftest$ac_exeext'
50317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50318 (eval $ac_try) 2>&5
50319 ac_status=$?
50320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50321 (exit $ac_status); }; }; then
50322 glibcxx_cv_func___builtin_cos_link=yes
50323 else
50324 echo "$as_me: failed program was:" >&5
50325 sed 's/^/| /' conftest.$ac_ext >&5
50326
50327 glibcxx_cv_func___builtin_cos_link=no
50328 fi
50329 rm -f conftest.err conftest.$ac_objext \
50330 conftest$ac_exeext conftest.$ac_ext
50331
50332 fi
50333
50334 fi
50335 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_link" >&5
50336 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_link" >&6
50337
50338 if test x$glibcxx_cv_func___builtin_cos_link = x"yes"; then
50339
50340 cat >>confdefs.h <<\_ACEOF
50341 #define HAVE___BUILTIN_COS 1
50342 _ACEOF
50343
50344 fi
50345
50346 fi
50347
50348
50349 echo "$as_me:$LINENO: checking for __builtin_cosl declaration" >&5
50350 echo $ECHO_N "checking for __builtin_cosl declaration... $ECHO_C" >&6
50351 if test x${glibcxx_cv_func___builtin_cosl_use+set} != xset; then
50352 if test "${glibcxx_cv_func___builtin_cosl_use+set}" = set; then
50353 echo $ECHO_N "(cached) $ECHO_C" >&6
50354 else
50355
50356
50357
50358 ac_ext=cc
50359 ac_cpp='$CXXCPP $CPPFLAGS'
50360 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50361 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50362 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50363
50364 cat >conftest.$ac_ext <<_ACEOF
50365 /* confdefs.h. */
50366 _ACEOF
50367 cat confdefs.h >>conftest.$ac_ext
50368 cat >>conftest.$ac_ext <<_ACEOF
50369 /* end confdefs.h. */
50370 #include <math.h>
50371 int
50372 main ()
50373 {
50374 __builtin_cosl(0);
50375 ;
50376 return 0;
50377 }
50378 _ACEOF
50379 rm -f conftest.$ac_objext
50380 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50381 (eval $ac_compile) 2>conftest.er1
50382 ac_status=$?
50383 grep -v '^ *+' conftest.er1 >conftest.err
50384 rm -f conftest.er1
50385 cat conftest.err >&5
50386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50387 (exit $ac_status); } &&
50388 { ac_try='test -z "$ac_cxx_werror_flag"
50389 || test ! -s conftest.err'
50390 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50391 (eval $ac_try) 2>&5
50392 ac_status=$?
50393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50394 (exit $ac_status); }; } &&
50395 { ac_try='test -s conftest.$ac_objext'
50396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50397 (eval $ac_try) 2>&5
50398 ac_status=$?
50399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50400 (exit $ac_status); }; }; then
50401 glibcxx_cv_func___builtin_cosl_use=yes
50402 else
50403 echo "$as_me: failed program was:" >&5
50404 sed 's/^/| /' conftest.$ac_ext >&5
50405
50406 glibcxx_cv_func___builtin_cosl_use=no
50407 fi
50408 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50409 ac_ext=c
50410 ac_cpp='$CPP $CPPFLAGS'
50411 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50412 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50413 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50414
50415
50416 fi
50417
50418 fi
50419 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_use" >&5
50420 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_use" >&6
50421 if test x$glibcxx_cv_func___builtin_cosl_use = x"yes"; then
50422 echo "$as_me:$LINENO: checking for __builtin_cosl linkage" >&5
50423 echo $ECHO_N "checking for __builtin_cosl linkage... $ECHO_C" >&6
50424 if test x${glibcxx_cv_func___builtin_cosl_link+set} != xset; then
50425 if test "${glibcxx_cv_func___builtin_cosl_link+set}" = set; then
50426 echo $ECHO_N "(cached) $ECHO_C" >&6
50427 else
50428
50429 if test x$gcc_no_link = xyes; then
50430 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50431 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50432 { (exit 1); exit 1; }; }
50433 fi
50434 cat >conftest.$ac_ext <<_ACEOF
50435 /* confdefs.h. */
50436 _ACEOF
50437 cat confdefs.h >>conftest.$ac_ext
50438 cat >>conftest.$ac_ext <<_ACEOF
50439 /* end confdefs.h. */
50440 #include <math.h>
50441 int
50442 main ()
50443 {
50444 __builtin_cosl(0);
50445 ;
50446 return 0;
50447 }
50448 _ACEOF
50449 rm -f conftest.$ac_objext conftest$ac_exeext
50450 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50451 (eval $ac_link) 2>conftest.er1
50452 ac_status=$?
50453 grep -v '^ *+' conftest.er1 >conftest.err
50454 rm -f conftest.er1
50455 cat conftest.err >&5
50456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50457 (exit $ac_status); } &&
50458 { ac_try='test -z "$ac_c_werror_flag"
50459 || test ! -s conftest.err'
50460 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50461 (eval $ac_try) 2>&5
50462 ac_status=$?
50463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50464 (exit $ac_status); }; } &&
50465 { ac_try='test -s conftest$ac_exeext'
50466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50467 (eval $ac_try) 2>&5
50468 ac_status=$?
50469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50470 (exit $ac_status); }; }; then
50471 glibcxx_cv_func___builtin_cosl_link=yes
50472 else
50473 echo "$as_me: failed program was:" >&5
50474 sed 's/^/| /' conftest.$ac_ext >&5
50475
50476 glibcxx_cv_func___builtin_cosl_link=no
50477 fi
50478 rm -f conftest.err conftest.$ac_objext \
50479 conftest$ac_exeext conftest.$ac_ext
50480
50481 fi
50482
50483 fi
50484 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_link" >&5
50485 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_link" >&6
50486
50487 if test x$glibcxx_cv_func___builtin_cosl_link = x"yes"; then
50488
50489 cat >>confdefs.h <<\_ACEOF
50490 #define HAVE___BUILTIN_COSL 1
50491 _ACEOF
50492
50493 fi
50494
50495 fi
50496
50497
50498
50499
50500 echo "$as_me:$LINENO: checking for main in -lm" >&5
50501 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
50502 if test "${ac_cv_lib_m_main+set}" = set; then
50503 echo $ECHO_N "(cached) $ECHO_C" >&6
50504 else
50505 ac_check_lib_save_LIBS=$LIBS
50506 LIBS="-lm $LIBS"
50507 if test x$gcc_no_link = xyes; then
50508 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50509 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50510 { (exit 1); exit 1; }; }
50511 fi
50512 cat >conftest.$ac_ext <<_ACEOF
50513 /* confdefs.h. */
50514 _ACEOF
50515 cat confdefs.h >>conftest.$ac_ext
50516 cat >>conftest.$ac_ext <<_ACEOF
50517 /* end confdefs.h. */
50518
50519
50520 int
50521 main ()
50522 {
50523 main ();
50524 ;
50525 return 0;
50526 }
50527 _ACEOF
50528 rm -f conftest.$ac_objext conftest$ac_exeext
50529 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50530 (eval $ac_link) 2>conftest.er1
50531 ac_status=$?
50532 grep -v '^ *+' conftest.er1 >conftest.err
50533 rm -f conftest.er1
50534 cat conftest.err >&5
50535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50536 (exit $ac_status); } &&
50537 { ac_try='test -z "$ac_c_werror_flag"
50538 || test ! -s conftest.err'
50539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50540 (eval $ac_try) 2>&5
50541 ac_status=$?
50542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50543 (exit $ac_status); }; } &&
50544 { ac_try='test -s conftest$ac_exeext'
50545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50546 (eval $ac_try) 2>&5
50547 ac_status=$?
50548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50549 (exit $ac_status); }; }; then
50550 ac_cv_lib_m_main=yes
50551 else
50552 echo "$as_me: failed program was:" >&5
50553 sed 's/^/| /' conftest.$ac_ext >&5
50554
50555 ac_cv_lib_m_main=no
50556 fi
50557 rm -f conftest.err conftest.$ac_objext \
50558 conftest$ac_exeext conftest.$ac_ext
50559 LIBS=$ac_check_lib_save_LIBS
50560 fi
50561 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
50562 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
50563 if test $ac_cv_lib_m_main = yes; then
50564 cat >>confdefs.h <<_ACEOF
50565 #define HAVE_LIBM 1
50566 _ACEOF
50567
50568 LIBS="-lm $LIBS"
50569
50570 fi
50571
50572
50573 for ac_func in copysignf
50574 do
50575 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50576 echo "$as_me:$LINENO: checking for $ac_func" >&5
50577 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50578 if eval "test \"\${$as_ac_var+set}\" = set"; then
50579 echo $ECHO_N "(cached) $ECHO_C" >&6
50580 else
50581 if test x$gcc_no_link = xyes; then
50582 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50583 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50584 { (exit 1); exit 1; }; }
50585 fi
50586 cat >conftest.$ac_ext <<_ACEOF
50587 /* confdefs.h. */
50588 _ACEOF
50589 cat confdefs.h >>conftest.$ac_ext
50590 cat >>conftest.$ac_ext <<_ACEOF
50591 /* end confdefs.h. */
50592 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
50593 For example, HP-UX 11i <limits.h> declares gettimeofday. */
50594 #define $ac_func innocuous_$ac_func
50595
50596 /* System header to define __stub macros and hopefully few prototypes,
50597 which can conflict with char $ac_func (); below.
50598 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50599 <limits.h> exists even on freestanding compilers. */
50600
50601 #ifdef __STDC__
50602 # include <limits.h>
50603 #else
50604 # include <assert.h>
50605 #endif
50606
50607 #undef $ac_func
50608
50609 /* Override any gcc2 internal prototype to avoid an error. */
50610 #ifdef __cplusplus
50611 extern "C"
50612 {
50613 #endif
50614 /* We use char because int might match the return type of a gcc2
50615 builtin and then its argument prototype would still apply. */
50616 char $ac_func ();
50617 /* The GNU C library defines this for functions which it implements
50618 to always fail with ENOSYS. Some functions are actually named
50619 something starting with __ and the normal name is an alias. */
50620 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50621 choke me
50622 #else
50623 char (*f) () = $ac_func;
50624 #endif
50625 #ifdef __cplusplus
50626 }
50627 #endif
50628
50629 int
50630 main ()
50631 {
50632 return f != $ac_func;
50633 ;
50634 return 0;
50635 }
50636 _ACEOF
50637 rm -f conftest.$ac_objext conftest$ac_exeext
50638 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50639 (eval $ac_link) 2>conftest.er1
50640 ac_status=$?
50641 grep -v '^ *+' conftest.er1 >conftest.err
50642 rm -f conftest.er1
50643 cat conftest.err >&5
50644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50645 (exit $ac_status); } &&
50646 { ac_try='test -z "$ac_c_werror_flag"
50647 || test ! -s conftest.err'
50648 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50649 (eval $ac_try) 2>&5
50650 ac_status=$?
50651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50652 (exit $ac_status); }; } &&
50653 { ac_try='test -s conftest$ac_exeext'
50654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50655 (eval $ac_try) 2>&5
50656 ac_status=$?
50657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50658 (exit $ac_status); }; }; then
50659 eval "$as_ac_var=yes"
50660 else
50661 echo "$as_me: failed program was:" >&5
50662 sed 's/^/| /' conftest.$ac_ext >&5
50663
50664 eval "$as_ac_var=no"
50665 fi
50666 rm -f conftest.err conftest.$ac_objext \
50667 conftest$ac_exeext conftest.$ac_ext
50668 fi
50669 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
50670 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
50671 if test `eval echo '${'$as_ac_var'}'` = yes; then
50672 cat >>confdefs.h <<_ACEOF
50673 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50674 _ACEOF
50675
50676 else
50677 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
50678 fi
50679 done
50680
50681
50682
50683 for ac_func in __signbit
50684 do
50685 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50686 echo "$as_me:$LINENO: checking for $ac_func" >&5
50687 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50688 if eval "test \"\${$as_ac_var+set}\" = set"; then
50689 echo $ECHO_N "(cached) $ECHO_C" >&6
50690 else
50691 if test x$gcc_no_link = xyes; then
50692 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50693 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50694 { (exit 1); exit 1; }; }
50695 fi
50696 cat >conftest.$ac_ext <<_ACEOF
50697 /* confdefs.h. */
50698 _ACEOF
50699 cat confdefs.h >>conftest.$ac_ext
50700 cat >>conftest.$ac_ext <<_ACEOF
50701 /* end confdefs.h. */
50702 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
50703 For example, HP-UX 11i <limits.h> declares gettimeofday. */
50704 #define $ac_func innocuous_$ac_func
50705
50706 /* System header to define __stub macros and hopefully few prototypes,
50707 which can conflict with char $ac_func (); below.
50708 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50709 <limits.h> exists even on freestanding compilers. */
50710
50711 #ifdef __STDC__
50712 # include <limits.h>
50713 #else
50714 # include <assert.h>
50715 #endif
50716
50717 #undef $ac_func
50718
50719 /* Override any gcc2 internal prototype to avoid an error. */
50720 #ifdef __cplusplus
50721 extern "C"
50722 {
50723 #endif
50724 /* We use char because int might match the return type of a gcc2
50725 builtin and then its argument prototype would still apply. */
50726 char $ac_func ();
50727 /* The GNU C library defines this for functions which it implements
50728 to always fail with ENOSYS. Some functions are actually named
50729 something starting with __ and the normal name is an alias. */
50730 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50731 choke me
50732 #else
50733 char (*f) () = $ac_func;
50734 #endif
50735 #ifdef __cplusplus
50736 }
50737 #endif
50738
50739 int
50740 main ()
50741 {
50742 return f != $ac_func;
50743 ;
50744 return 0;
50745 }
50746 _ACEOF
50747 rm -f conftest.$ac_objext conftest$ac_exeext
50748 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50749 (eval $ac_link) 2>conftest.er1
50750 ac_status=$?
50751 grep -v '^ *+' conftest.er1 >conftest.err
50752 rm -f conftest.er1
50753 cat conftest.err >&5
50754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50755 (exit $ac_status); } &&
50756 { ac_try='test -z "$ac_c_werror_flag"
50757 || test ! -s conftest.err'
50758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50759 (eval $ac_try) 2>&5
50760 ac_status=$?
50761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50762 (exit $ac_status); }; } &&
50763 { ac_try='test -s conftest$ac_exeext'
50764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50765 (eval $ac_try) 2>&5
50766 ac_status=$?
50767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50768 (exit $ac_status); }; }; then
50769 eval "$as_ac_var=yes"
50770 else
50771 echo "$as_me: failed program was:" >&5
50772 sed 's/^/| /' conftest.$ac_ext >&5
50773
50774 eval "$as_ac_var=no"
50775 fi
50776 rm -f conftest.err conftest.$ac_objext \
50777 conftest$ac_exeext conftest.$ac_ext
50778 fi
50779 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
50780 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
50781 if test `eval echo '${'$as_ac_var'}'` = yes; then
50782 cat >>confdefs.h <<_ACEOF
50783 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50784 _ACEOF
50785
50786 else
50787 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
50788 fi
50789 done
50790
50791
50792
50793 for ac_func in __signbitf
50794 do
50795 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50796 echo "$as_me:$LINENO: checking for $ac_func" >&5
50797 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50798 if eval "test \"\${$as_ac_var+set}\" = set"; then
50799 echo $ECHO_N "(cached) $ECHO_C" >&6
50800 else
50801 if test x$gcc_no_link = xyes; then
50802 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50803 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50804 { (exit 1); exit 1; }; }
50805 fi
50806 cat >conftest.$ac_ext <<_ACEOF
50807 /* confdefs.h. */
50808 _ACEOF
50809 cat confdefs.h >>conftest.$ac_ext
50810 cat >>conftest.$ac_ext <<_ACEOF
50811 /* end confdefs.h. */
50812 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
50813 For example, HP-UX 11i <limits.h> declares gettimeofday. */
50814 #define $ac_func innocuous_$ac_func
50815
50816 /* System header to define __stub macros and hopefully few prototypes,
50817 which can conflict with char $ac_func (); below.
50818 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50819 <limits.h> exists even on freestanding compilers. */
50820
50821 #ifdef __STDC__
50822 # include <limits.h>
50823 #else
50824 # include <assert.h>
50825 #endif
50826
50827 #undef $ac_func
50828
50829 /* Override any gcc2 internal prototype to avoid an error. */
50830 #ifdef __cplusplus
50831 extern "C"
50832 {
50833 #endif
50834 /* We use char because int might match the return type of a gcc2
50835 builtin and then its argument prototype would still apply. */
50836 char $ac_func ();
50837 /* The GNU C library defines this for functions which it implements
50838 to always fail with ENOSYS. Some functions are actually named
50839 something starting with __ and the normal name is an alias. */
50840 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50841 choke me
50842 #else
50843 char (*f) () = $ac_func;
50844 #endif
50845 #ifdef __cplusplus
50846 }
50847 #endif
50848
50849 int
50850 main ()
50851 {
50852 return f != $ac_func;
50853 ;
50854 return 0;
50855 }
50856 _ACEOF
50857 rm -f conftest.$ac_objext conftest$ac_exeext
50858 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50859 (eval $ac_link) 2>conftest.er1
50860 ac_status=$?
50861 grep -v '^ *+' conftest.er1 >conftest.err
50862 rm -f conftest.er1
50863 cat conftest.err >&5
50864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50865 (exit $ac_status); } &&
50866 { ac_try='test -z "$ac_c_werror_flag"
50867 || test ! -s conftest.err'
50868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50869 (eval $ac_try) 2>&5
50870 ac_status=$?
50871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50872 (exit $ac_status); }; } &&
50873 { ac_try='test -s conftest$ac_exeext'
50874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50875 (eval $ac_try) 2>&5
50876 ac_status=$?
50877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50878 (exit $ac_status); }; }; then
50879 eval "$as_ac_var=yes"
50880 else
50881 echo "$as_me: failed program was:" >&5
50882 sed 's/^/| /' conftest.$ac_ext >&5
50883
50884 eval "$as_ac_var=no"
50885 fi
50886 rm -f conftest.err conftest.$ac_objext \
50887 conftest$ac_exeext conftest.$ac_ext
50888 fi
50889 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
50890 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
50891 if test `eval echo '${'$as_ac_var'}'` = yes; then
50892 cat >>confdefs.h <<_ACEOF
50893 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50894 _ACEOF
50895
50896 else
50897 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
50898 fi
50899 done
50900
50901
50902 if test x$ac_cv_func_copysignl = x"yes"; then
50903
50904 for ac_func in __signbitl
50905 do
50906 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50907 echo "$as_me:$LINENO: checking for $ac_func" >&5
50908 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50909 if eval "test \"\${$as_ac_var+set}\" = set"; then
50910 echo $ECHO_N "(cached) $ECHO_C" >&6
50911 else
50912 if test x$gcc_no_link = xyes; then
50913 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50914 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50915 { (exit 1); exit 1; }; }
50916 fi
50917 cat >conftest.$ac_ext <<_ACEOF
50918 /* confdefs.h. */
50919 _ACEOF
50920 cat confdefs.h >>conftest.$ac_ext
50921 cat >>conftest.$ac_ext <<_ACEOF
50922 /* end confdefs.h. */
50923 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
50924 For example, HP-UX 11i <limits.h> declares gettimeofday. */
50925 #define $ac_func innocuous_$ac_func
50926
50927 /* System header to define __stub macros and hopefully few prototypes,
50928 which can conflict with char $ac_func (); below.
50929 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50930 <limits.h> exists even on freestanding compilers. */
50931
50932 #ifdef __STDC__
50933 # include <limits.h>
50934 #else
50935 # include <assert.h>
50936 #endif
50937
50938 #undef $ac_func
50939
50940 /* Override any gcc2 internal prototype to avoid an error. */
50941 #ifdef __cplusplus
50942 extern "C"
50943 {
50944 #endif
50945 /* We use char because int might match the return type of a gcc2
50946 builtin and then its argument prototype would still apply. */
50947 char $ac_func ();
50948 /* The GNU C library defines this for functions which it implements
50949 to always fail with ENOSYS. Some functions are actually named
50950 something starting with __ and the normal name is an alias. */
50951 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50952 choke me
50953 #else
50954 char (*f) () = $ac_func;
50955 #endif
50956 #ifdef __cplusplus
50957 }
50958 #endif
50959
50960 int
50961 main ()
50962 {
50963 return f != $ac_func;
50964 ;
50965 return 0;
50966 }
50967 _ACEOF
50968 rm -f conftest.$ac_objext conftest$ac_exeext
50969 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50970 (eval $ac_link) 2>conftest.er1
50971 ac_status=$?
50972 grep -v '^ *+' conftest.er1 >conftest.err
50973 rm -f conftest.er1
50974 cat conftest.err >&5
50975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50976 (exit $ac_status); } &&
50977 { ac_try='test -z "$ac_c_werror_flag"
50978 || test ! -s conftest.err'
50979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50980 (eval $ac_try) 2>&5
50981 ac_status=$?
50982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50983 (exit $ac_status); }; } &&
50984 { ac_try='test -s conftest$ac_exeext'
50985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50986 (eval $ac_try) 2>&5
50987 ac_status=$?
50988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50989 (exit $ac_status); }; }; then
50990 eval "$as_ac_var=yes"
50991 else
50992 echo "$as_me: failed program was:" >&5
50993 sed 's/^/| /' conftest.$ac_ext >&5
50994
50995 eval "$as_ac_var=no"
50996 fi
50997 rm -f conftest.err conftest.$ac_objext \
50998 conftest$ac_exeext conftest.$ac_ext
50999 fi
51000 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51001 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51002 if test `eval echo '${'$as_ac_var'}'` = yes; then
51003 cat >>confdefs.h <<_ACEOF
51004 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51005 _ACEOF
51006
51007 else
51008 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
51009 fi
51010 done
51011
51012 fi
51013
51014 # Used in libmath/Makefile.am.
51015 if test -n "$LIBMATHOBJS"; then
51016 need_libmath=yes
51017 fi
51018
51019
51020
51021
51022 enable_iconv=no
51023 # Only continue checking if the ISO C99 headers exist and support is on.
51024 if test x"$enable_wchar_t" = xyes; then
51025
51026 # Use iconv for wchar_t to char conversions. As such, check for
51027 # X/Open Portability Guide, version 2 features (XPG2).
51028 if test "${ac_cv_header_iconv_h+set}" = set; then
51029 echo "$as_me:$LINENO: checking for iconv.h" >&5
51030 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
51031 if test "${ac_cv_header_iconv_h+set}" = set; then
51032 echo $ECHO_N "(cached) $ECHO_C" >&6
51033 fi
51034 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
51035 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
51036 else
51037 # Is the header compilable?
51038 echo "$as_me:$LINENO: checking iconv.h usability" >&5
51039 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
51040 cat >conftest.$ac_ext <<_ACEOF
51041 /* confdefs.h. */
51042 _ACEOF
51043 cat confdefs.h >>conftest.$ac_ext
51044 cat >>conftest.$ac_ext <<_ACEOF
51045 /* end confdefs.h. */
51046 $ac_includes_default
51047 #include <iconv.h>
51048 _ACEOF
51049 rm -f conftest.$ac_objext
51050 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51051 (eval $ac_compile) 2>conftest.er1
51052 ac_status=$?
51053 grep -v '^ *+' conftest.er1 >conftest.err
51054 rm -f conftest.er1
51055 cat conftest.err >&5
51056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51057 (exit $ac_status); } &&
51058 { ac_try='test -z "$ac_c_werror_flag"
51059 || test ! -s conftest.err'
51060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51061 (eval $ac_try) 2>&5
51062 ac_status=$?
51063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51064 (exit $ac_status); }; } &&
51065 { ac_try='test -s conftest.$ac_objext'
51066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51067 (eval $ac_try) 2>&5
51068 ac_status=$?
51069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51070 (exit $ac_status); }; }; then
51071 ac_header_compiler=yes
51072 else
51073 echo "$as_me: failed program was:" >&5
51074 sed 's/^/| /' conftest.$ac_ext >&5
51075
51076 ac_header_compiler=no
51077 fi
51078 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51079 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
51080 echo "${ECHO_T}$ac_header_compiler" >&6
51081
51082 # Is the header present?
51083 echo "$as_me:$LINENO: checking iconv.h presence" >&5
51084 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
51085 cat >conftest.$ac_ext <<_ACEOF
51086 /* confdefs.h. */
51087 _ACEOF
51088 cat confdefs.h >>conftest.$ac_ext
51089 cat >>conftest.$ac_ext <<_ACEOF
51090 /* end confdefs.h. */
51091 #include <iconv.h>
51092 _ACEOF
51093 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
51094 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
51095 ac_status=$?
51096 grep -v '^ *+' conftest.er1 >conftest.err
51097 rm -f conftest.er1
51098 cat conftest.err >&5
51099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51100 (exit $ac_status); } >/dev/null; then
51101 if test -s conftest.err; then
51102 ac_cpp_err=$ac_c_preproc_warn_flag
51103 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
51104 else
51105 ac_cpp_err=
51106 fi
51107 else
51108 ac_cpp_err=yes
51109 fi
51110 if test -z "$ac_cpp_err"; then
51111 ac_header_preproc=yes
51112 else
51113 echo "$as_me: failed program was:" >&5
51114 sed 's/^/| /' conftest.$ac_ext >&5
51115
51116 ac_header_preproc=no
51117 fi
51118 rm -f conftest.err conftest.$ac_ext
51119 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
51120 echo "${ECHO_T}$ac_header_preproc" >&6
51121
51122 # So? What about this header?
51123 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
51124 yes:no: )
51125 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
51126 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
51127 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
51128 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
51129 ac_header_preproc=yes
51130 ;;
51131 no:yes:* )
51132 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
51133 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
51134 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
51135 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
51136 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
51137 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
51138 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
51139 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
51140 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
51141 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
51142 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
51143 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
51144 (
51145 cat <<\_ASBOX
51146 ## ----------------------------------------- ##
51147 ## Report this to the package-unused lists. ##
51148 ## ----------------------------------------- ##
51149 _ASBOX
51150 ) |
51151 sed "s/^/$as_me: WARNING: /" >&2
51152 ;;
51153 esac
51154 echo "$as_me:$LINENO: checking for iconv.h" >&5
51155 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
51156 if test "${ac_cv_header_iconv_h+set}" = set; then
51157 echo $ECHO_N "(cached) $ECHO_C" >&6
51158 else
51159 ac_cv_header_iconv_h=$ac_header_preproc
51160 fi
51161 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
51162 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
51163
51164 fi
51165 if test $ac_cv_header_iconv_h = yes; then
51166 ac_has_iconv_h=yes
51167 else
51168 ac_has_iconv_h=no
51169 fi
51170
51171
51172 if test "${ac_cv_header_langinfo_h+set}" = set; then
51173 echo "$as_me:$LINENO: checking for langinfo.h" >&5
51174 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
51175 if test "${ac_cv_header_langinfo_h+set}" = set; then
51176 echo $ECHO_N "(cached) $ECHO_C" >&6
51177 fi
51178 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
51179 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
51180 else
51181 # Is the header compilable?
51182 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
51183 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
51184 cat >conftest.$ac_ext <<_ACEOF
51185 /* confdefs.h. */
51186 _ACEOF
51187 cat confdefs.h >>conftest.$ac_ext
51188 cat >>conftest.$ac_ext <<_ACEOF
51189 /* end confdefs.h. */
51190 $ac_includes_default
51191 #include <langinfo.h>
51192 _ACEOF
51193 rm -f conftest.$ac_objext
51194 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51195 (eval $ac_compile) 2>conftest.er1
51196 ac_status=$?
51197 grep -v '^ *+' conftest.er1 >conftest.err
51198 rm -f conftest.er1
51199 cat conftest.err >&5
51200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51201 (exit $ac_status); } &&
51202 { ac_try='test -z "$ac_c_werror_flag"
51203 || test ! -s conftest.err'
51204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51205 (eval $ac_try) 2>&5
51206 ac_status=$?
51207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51208 (exit $ac_status); }; } &&
51209 { ac_try='test -s conftest.$ac_objext'
51210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51211 (eval $ac_try) 2>&5
51212 ac_status=$?
51213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51214 (exit $ac_status); }; }; then
51215 ac_header_compiler=yes
51216 else
51217 echo "$as_me: failed program was:" >&5
51218 sed 's/^/| /' conftest.$ac_ext >&5
51219
51220 ac_header_compiler=no
51221 fi
51222 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51223 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
51224 echo "${ECHO_T}$ac_header_compiler" >&6
51225
51226 # Is the header present?
51227 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
51228 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
51229 cat >conftest.$ac_ext <<_ACEOF
51230 /* confdefs.h. */
51231 _ACEOF
51232 cat confdefs.h >>conftest.$ac_ext
51233 cat >>conftest.$ac_ext <<_ACEOF
51234 /* end confdefs.h. */
51235 #include <langinfo.h>
51236 _ACEOF
51237 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
51238 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
51239 ac_status=$?
51240 grep -v '^ *+' conftest.er1 >conftest.err
51241 rm -f conftest.er1
51242 cat conftest.err >&5
51243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51244 (exit $ac_status); } >/dev/null; then
51245 if test -s conftest.err; then
51246 ac_cpp_err=$ac_c_preproc_warn_flag
51247 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
51248 else
51249 ac_cpp_err=
51250 fi
51251 else
51252 ac_cpp_err=yes
51253 fi
51254 if test -z "$ac_cpp_err"; then
51255 ac_header_preproc=yes
51256 else
51257 echo "$as_me: failed program was:" >&5
51258 sed 's/^/| /' conftest.$ac_ext >&5
51259
51260 ac_header_preproc=no
51261 fi
51262 rm -f conftest.err conftest.$ac_ext
51263 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
51264 echo "${ECHO_T}$ac_header_preproc" >&6
51265
51266 # So? What about this header?
51267 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
51268 yes:no: )
51269 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
51270 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
51271 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
51272 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
51273 ac_header_preproc=yes
51274 ;;
51275 no:yes:* )
51276 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
51277 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
51278 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
51279 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
51280 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
51281 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
51282 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
51283 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
51284 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
51285 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
51286 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
51287 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
51288 (
51289 cat <<\_ASBOX
51290 ## ----------------------------------------- ##
51291 ## Report this to the package-unused lists. ##
51292 ## ----------------------------------------- ##
51293 _ASBOX
51294 ) |
51295 sed "s/^/$as_me: WARNING: /" >&2
51296 ;;
51297 esac
51298 echo "$as_me:$LINENO: checking for langinfo.h" >&5
51299 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
51300 if test "${ac_cv_header_langinfo_h+set}" = set; then
51301 echo $ECHO_N "(cached) $ECHO_C" >&6
51302 else
51303 ac_cv_header_langinfo_h=$ac_header_preproc
51304 fi
51305 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
51306 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
51307
51308 fi
51309 if test $ac_cv_header_langinfo_h = yes; then
51310 ac_has_langinfo_h=yes
51311 else
51312 ac_has_langinfo_h=no
51313 fi
51314
51315
51316
51317 # Check for existence of libiconv.a providing XPG2 wchar_t support.
51318 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
51319 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
51320 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
51321 echo $ECHO_N "(cached) $ECHO_C" >&6
51322 else
51323 ac_check_lib_save_LIBS=$LIBS
51324 LIBS="-liconv $LIBS"
51325 if test x$gcc_no_link = xyes; then
51326 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51327 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51328 { (exit 1); exit 1; }; }
51329 fi
51330 cat >conftest.$ac_ext <<_ACEOF
51331 /* confdefs.h. */
51332 _ACEOF
51333 cat confdefs.h >>conftest.$ac_ext
51334 cat >>conftest.$ac_ext <<_ACEOF
51335 /* end confdefs.h. */
51336
51337 /* Override any gcc2 internal prototype to avoid an error. */
51338 #ifdef __cplusplus
51339 extern "C"
51340 #endif
51341 /* We use char because int might match the return type of a gcc2
51342 builtin and then its argument prototype would still apply. */
51343 char iconv ();
51344 int
51345 main ()
51346 {
51347 iconv ();
51348 ;
51349 return 0;
51350 }
51351 _ACEOF
51352 rm -f conftest.$ac_objext conftest$ac_exeext
51353 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51354 (eval $ac_link) 2>conftest.er1
51355 ac_status=$?
51356 grep -v '^ *+' conftest.er1 >conftest.err
51357 rm -f conftest.er1
51358 cat conftest.err >&5
51359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51360 (exit $ac_status); } &&
51361 { ac_try='test -z "$ac_c_werror_flag"
51362 || test ! -s conftest.err'
51363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51364 (eval $ac_try) 2>&5
51365 ac_status=$?
51366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51367 (exit $ac_status); }; } &&
51368 { ac_try='test -s conftest$ac_exeext'
51369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51370 (eval $ac_try) 2>&5
51371 ac_status=$?
51372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51373 (exit $ac_status); }; }; then
51374 ac_cv_lib_iconv_iconv=yes
51375 else
51376 echo "$as_me: failed program was:" >&5
51377 sed 's/^/| /' conftest.$ac_ext >&5
51378
51379 ac_cv_lib_iconv_iconv=no
51380 fi
51381 rm -f conftest.err conftest.$ac_objext \
51382 conftest$ac_exeext conftest.$ac_ext
51383 LIBS=$ac_check_lib_save_LIBS
51384 fi
51385 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
51386 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
51387 if test $ac_cv_lib_iconv_iconv = yes; then
51388 LIBICONV="-liconv"
51389 fi
51390
51391 ac_save_LIBS="$LIBS"
51392 LIBS="$LIBS $LIBICONV"
51393
51394
51395
51396
51397
51398
51399 for ac_func in iconv_open iconv_close iconv nl_langinfo
51400 do
51401 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51402 echo "$as_me:$LINENO: checking for $ac_func" >&5
51403 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
51404 if eval "test \"\${$as_ac_var+set}\" = set"; then
51405 echo $ECHO_N "(cached) $ECHO_C" >&6
51406 else
51407 if test x$gcc_no_link = xyes; then
51408 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51409 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51410 { (exit 1); exit 1; }; }
51411 fi
51412 cat >conftest.$ac_ext <<_ACEOF
51413 /* confdefs.h. */
51414 _ACEOF
51415 cat confdefs.h >>conftest.$ac_ext
51416 cat >>conftest.$ac_ext <<_ACEOF
51417 /* end confdefs.h. */
51418 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
51419 For example, HP-UX 11i <limits.h> declares gettimeofday. */
51420 #define $ac_func innocuous_$ac_func
51421
51422 /* System header to define __stub macros and hopefully few prototypes,
51423 which can conflict with char $ac_func (); below.
51424 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51425 <limits.h> exists even on freestanding compilers. */
51426
51427 #ifdef __STDC__
51428 # include <limits.h>
51429 #else
51430 # include <assert.h>
51431 #endif
51432
51433 #undef $ac_func
51434
51435 /* Override any gcc2 internal prototype to avoid an error. */
51436 #ifdef __cplusplus
51437 extern "C"
51438 {
51439 #endif
51440 /* We use char because int might match the return type of a gcc2
51441 builtin and then its argument prototype would still apply. */
51442 char $ac_func ();
51443 /* The GNU C library defines this for functions which it implements
51444 to always fail with ENOSYS. Some functions are actually named
51445 something starting with __ and the normal name is an alias. */
51446 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
51447 choke me
51448 #else
51449 char (*f) () = $ac_func;
51450 #endif
51451 #ifdef __cplusplus
51452 }
51453 #endif
51454
51455 int
51456 main ()
51457 {
51458 return f != $ac_func;
51459 ;
51460 return 0;
51461 }
51462 _ACEOF
51463 rm -f conftest.$ac_objext conftest$ac_exeext
51464 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51465 (eval $ac_link) 2>conftest.er1
51466 ac_status=$?
51467 grep -v '^ *+' conftest.er1 >conftest.err
51468 rm -f conftest.er1
51469 cat conftest.err >&5
51470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51471 (exit $ac_status); } &&
51472 { ac_try='test -z "$ac_c_werror_flag"
51473 || test ! -s conftest.err'
51474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51475 (eval $ac_try) 2>&5
51476 ac_status=$?
51477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51478 (exit $ac_status); }; } &&
51479 { ac_try='test -s conftest$ac_exeext'
51480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51481 (eval $ac_try) 2>&5
51482 ac_status=$?
51483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51484 (exit $ac_status); }; }; then
51485 eval "$as_ac_var=yes"
51486 else
51487 echo "$as_me: failed program was:" >&5
51488 sed 's/^/| /' conftest.$ac_ext >&5
51489
51490 eval "$as_ac_var=no"
51491 fi
51492 rm -f conftest.err conftest.$ac_objext \
51493 conftest$ac_exeext conftest.$ac_ext
51494 fi
51495 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51496 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51497 if test `eval echo '${'$as_ac_var'}'` = yes; then
51498 cat >>confdefs.h <<_ACEOF
51499 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51500 _ACEOF
51501 ac_XPG2funcs=yes
51502 else
51503 ac_XPG2funcs=no
51504 fi
51505 done
51506
51507
51508 LIBS="$ac_save_LIBS"
51509
51510 if test x"$ac_has_iconv_h" = xyes &&
51511 test x"$ac_has_langinfo_h" = xyes &&
51512 test x"$ac_XPG2funcs" = xyes;
51513 then
51514
51515 cat >>confdefs.h <<\_ACEOF
51516 #define _GLIBCXX_USE_ICONV 1
51517 _ACEOF
51518
51519 enable_iconv=yes
51520 fi
51521 fi
51522 echo "$as_me:$LINENO: checking for enabled iconv specializations" >&5
51523 echo $ECHO_N "checking for enabled iconv specializations... $ECHO_C" >&6
51524 echo "$as_me:$LINENO: result: $enable_iconv" >&5
51525 echo "${ECHO_T}$enable_iconv" >&6
51526
51527
51528 ac_test_CXXFLAGS="${CXXFLAGS+set}"
51529 ac_save_CXXFLAGS="$CXXFLAGS"
51530 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
51531
51532
51533 echo "$as_me:$LINENO: checking for strtold declaration" >&5
51534 echo $ECHO_N "checking for strtold declaration... $ECHO_C" >&6
51535 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
51536 if test "${glibcxx_cv_func_strtold_use+set}" = set; then
51537 echo $ECHO_N "(cached) $ECHO_C" >&6
51538 else
51539
51540
51541
51542 ac_ext=cc
51543 ac_cpp='$CXXCPP $CPPFLAGS'
51544 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51545 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51546 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51547
51548 cat >conftest.$ac_ext <<_ACEOF
51549 /* confdefs.h. */
51550 _ACEOF
51551 cat confdefs.h >>conftest.$ac_ext
51552 cat >>conftest.$ac_ext <<_ACEOF
51553 /* end confdefs.h. */
51554 #include <stdlib.h>
51555 int
51556 main ()
51557 {
51558 strtold(0, 0);
51559 ;
51560 return 0;
51561 }
51562 _ACEOF
51563 rm -f conftest.$ac_objext
51564 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51565 (eval $ac_compile) 2>conftest.er1
51566 ac_status=$?
51567 grep -v '^ *+' conftest.er1 >conftest.err
51568 rm -f conftest.er1
51569 cat conftest.err >&5
51570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51571 (exit $ac_status); } &&
51572 { ac_try='test -z "$ac_cxx_werror_flag"
51573 || test ! -s conftest.err'
51574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51575 (eval $ac_try) 2>&5
51576 ac_status=$?
51577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51578 (exit $ac_status); }; } &&
51579 { ac_try='test -s conftest.$ac_objext'
51580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51581 (eval $ac_try) 2>&5
51582 ac_status=$?
51583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51584 (exit $ac_status); }; }; then
51585 glibcxx_cv_func_strtold_use=yes
51586 else
51587 echo "$as_me: failed program was:" >&5
51588 sed 's/^/| /' conftest.$ac_ext >&5
51589
51590 glibcxx_cv_func_strtold_use=no
51591 fi
51592 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51593 ac_ext=c
51594 ac_cpp='$CPP $CPPFLAGS'
51595 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51596 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51597 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51598
51599
51600 fi
51601
51602 fi
51603 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtold_use" >&5
51604 echo "${ECHO_T}$glibcxx_cv_func_strtold_use" >&6
51605 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
51606
51607 for ac_func in strtold
51608 do
51609 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51610 echo "$as_me:$LINENO: checking for $ac_func" >&5
51611 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
51612 if eval "test \"\${$as_ac_var+set}\" = set"; then
51613 echo $ECHO_N "(cached) $ECHO_C" >&6
51614 else
51615 if test x$gcc_no_link = xyes; then
51616 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51617 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51618 { (exit 1); exit 1; }; }
51619 fi
51620 cat >conftest.$ac_ext <<_ACEOF
51621 /* confdefs.h. */
51622 _ACEOF
51623 cat confdefs.h >>conftest.$ac_ext
51624 cat >>conftest.$ac_ext <<_ACEOF
51625 /* end confdefs.h. */
51626 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
51627 For example, HP-UX 11i <limits.h> declares gettimeofday. */
51628 #define $ac_func innocuous_$ac_func
51629
51630 /* System header to define __stub macros and hopefully few prototypes,
51631 which can conflict with char $ac_func (); below.
51632 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51633 <limits.h> exists even on freestanding compilers. */
51634
51635 #ifdef __STDC__
51636 # include <limits.h>
51637 #else
51638 # include <assert.h>
51639 #endif
51640
51641 #undef $ac_func
51642
51643 /* Override any gcc2 internal prototype to avoid an error. */
51644 #ifdef __cplusplus
51645 extern "C"
51646 {
51647 #endif
51648 /* We use char because int might match the return type of a gcc2
51649 builtin and then its argument prototype would still apply. */
51650 char $ac_func ();
51651 /* The GNU C library defines this for functions which it implements
51652 to always fail with ENOSYS. Some functions are actually named
51653 something starting with __ and the normal name is an alias. */
51654 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
51655 choke me
51656 #else
51657 char (*f) () = $ac_func;
51658 #endif
51659 #ifdef __cplusplus
51660 }
51661 #endif
51662
51663 int
51664 main ()
51665 {
51666 return f != $ac_func;
51667 ;
51668 return 0;
51669 }
51670 _ACEOF
51671 rm -f conftest.$ac_objext conftest$ac_exeext
51672 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51673 (eval $ac_link) 2>conftest.er1
51674 ac_status=$?
51675 grep -v '^ *+' conftest.er1 >conftest.err
51676 rm -f conftest.er1
51677 cat conftest.err >&5
51678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51679 (exit $ac_status); } &&
51680 { ac_try='test -z "$ac_c_werror_flag"
51681 || test ! -s conftest.err'
51682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51683 (eval $ac_try) 2>&5
51684 ac_status=$?
51685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51686 (exit $ac_status); }; } &&
51687 { ac_try='test -s conftest$ac_exeext'
51688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51689 (eval $ac_try) 2>&5
51690 ac_status=$?
51691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51692 (exit $ac_status); }; }; then
51693 eval "$as_ac_var=yes"
51694 else
51695 echo "$as_me: failed program was:" >&5
51696 sed 's/^/| /' conftest.$ac_ext >&5
51697
51698 eval "$as_ac_var=no"
51699 fi
51700 rm -f conftest.err conftest.$ac_objext \
51701 conftest$ac_exeext conftest.$ac_ext
51702 fi
51703 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51704 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51705 if test `eval echo '${'$as_ac_var'}'` = yes; then
51706 cat >>confdefs.h <<_ACEOF
51707 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51708 _ACEOF
51709
51710 fi
51711 done
51712
51713 fi
51714
51715
51716
51717
51718
51719 echo "$as_me:$LINENO: checking for strtof declaration" >&5
51720 echo $ECHO_N "checking for strtof declaration... $ECHO_C" >&6
51721 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
51722 if test "${glibcxx_cv_func_strtof_use+set}" = set; then
51723 echo $ECHO_N "(cached) $ECHO_C" >&6
51724 else
51725
51726
51727
51728 ac_ext=cc
51729 ac_cpp='$CXXCPP $CPPFLAGS'
51730 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51731 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51732 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51733
51734 cat >conftest.$ac_ext <<_ACEOF
51735 /* confdefs.h. */
51736 _ACEOF
51737 cat confdefs.h >>conftest.$ac_ext
51738 cat >>conftest.$ac_ext <<_ACEOF
51739 /* end confdefs.h. */
51740 #include <stdlib.h>
51741 int
51742 main ()
51743 {
51744 strtof(0, 0);
51745 ;
51746 return 0;
51747 }
51748 _ACEOF
51749 rm -f conftest.$ac_objext
51750 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51751 (eval $ac_compile) 2>conftest.er1
51752 ac_status=$?
51753 grep -v '^ *+' conftest.er1 >conftest.err
51754 rm -f conftest.er1
51755 cat conftest.err >&5
51756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51757 (exit $ac_status); } &&
51758 { ac_try='test -z "$ac_cxx_werror_flag"
51759 || test ! -s conftest.err'
51760 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51761 (eval $ac_try) 2>&5
51762 ac_status=$?
51763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51764 (exit $ac_status); }; } &&
51765 { ac_try='test -s conftest.$ac_objext'
51766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51767 (eval $ac_try) 2>&5
51768 ac_status=$?
51769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51770 (exit $ac_status); }; }; then
51771 glibcxx_cv_func_strtof_use=yes
51772 else
51773 echo "$as_me: failed program was:" >&5
51774 sed 's/^/| /' conftest.$ac_ext >&5
51775
51776 glibcxx_cv_func_strtof_use=no
51777 fi
51778 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51779 ac_ext=c
51780 ac_cpp='$CPP $CPPFLAGS'
51781 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51782 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51783 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51784
51785
51786 fi
51787
51788 fi
51789 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtof_use" >&5
51790 echo "${ECHO_T}$glibcxx_cv_func_strtof_use" >&6
51791 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
51792
51793 for ac_func in strtof
51794 do
51795 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51796 echo "$as_me:$LINENO: checking for $ac_func" >&5
51797 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
51798 if eval "test \"\${$as_ac_var+set}\" = set"; then
51799 echo $ECHO_N "(cached) $ECHO_C" >&6
51800 else
51801 if test x$gcc_no_link = xyes; then
51802 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51803 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51804 { (exit 1); exit 1; }; }
51805 fi
51806 cat >conftest.$ac_ext <<_ACEOF
51807 /* confdefs.h. */
51808 _ACEOF
51809 cat confdefs.h >>conftest.$ac_ext
51810 cat >>conftest.$ac_ext <<_ACEOF
51811 /* end confdefs.h. */
51812 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
51813 For example, HP-UX 11i <limits.h> declares gettimeofday. */
51814 #define $ac_func innocuous_$ac_func
51815
51816 /* System header to define __stub macros and hopefully few prototypes,
51817 which can conflict with char $ac_func (); below.
51818 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51819 <limits.h> exists even on freestanding compilers. */
51820
51821 #ifdef __STDC__
51822 # include <limits.h>
51823 #else
51824 # include <assert.h>
51825 #endif
51826
51827 #undef $ac_func
51828
51829 /* Override any gcc2 internal prototype to avoid an error. */
51830 #ifdef __cplusplus
51831 extern "C"
51832 {
51833 #endif
51834 /* We use char because int might match the return type of a gcc2
51835 builtin and then its argument prototype would still apply. */
51836 char $ac_func ();
51837 /* The GNU C library defines this for functions which it implements
51838 to always fail with ENOSYS. Some functions are actually named
51839 something starting with __ and the normal name is an alias. */
51840 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
51841 choke me
51842 #else
51843 char (*f) () = $ac_func;
51844 #endif
51845 #ifdef __cplusplus
51846 }
51847 #endif
51848
51849 int
51850 main ()
51851 {
51852 return f != $ac_func;
51853 ;
51854 return 0;
51855 }
51856 _ACEOF
51857 rm -f conftest.$ac_objext conftest$ac_exeext
51858 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51859 (eval $ac_link) 2>conftest.er1
51860 ac_status=$?
51861 grep -v '^ *+' conftest.er1 >conftest.err
51862 rm -f conftest.er1
51863 cat conftest.err >&5
51864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51865 (exit $ac_status); } &&
51866 { ac_try='test -z "$ac_c_werror_flag"
51867 || test ! -s conftest.err'
51868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51869 (eval $ac_try) 2>&5
51870 ac_status=$?
51871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51872 (exit $ac_status); }; } &&
51873 { ac_try='test -s conftest$ac_exeext'
51874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51875 (eval $ac_try) 2>&5
51876 ac_status=$?
51877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51878 (exit $ac_status); }; }; then
51879 eval "$as_ac_var=yes"
51880 else
51881 echo "$as_me: failed program was:" >&5
51882 sed 's/^/| /' conftest.$ac_ext >&5
51883
51884 eval "$as_ac_var=no"
51885 fi
51886 rm -f conftest.err conftest.$ac_objext \
51887 conftest$ac_exeext conftest.$ac_ext
51888 fi
51889 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51890 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51891 if test `eval echo '${'$as_ac_var'}'` = yes; then
51892 cat >>confdefs.h <<_ACEOF
51893 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51894 _ACEOF
51895
51896 fi
51897 done
51898
51899 fi
51900
51901
51902
51903
51904
51905 CXXFLAGS="$ac_save_CXXFLAGS"
51906
51907
51908 # For showmanyc_helper().
51909
51910
51911 for ac_header in sys/ioctl.h sys/filio.h
51912 do
51913 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
51914 if eval "test \"\${$as_ac_Header+set}\" = set"; then
51915 echo "$as_me:$LINENO: checking for $ac_header" >&5
51916 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
51917 if eval "test \"\${$as_ac_Header+set}\" = set"; then
51918 echo $ECHO_N "(cached) $ECHO_C" >&6
51919 fi
51920 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
51921 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
51922 else
51923 # Is the header compilable?
51924 echo "$as_me:$LINENO: checking $ac_header usability" >&5
51925 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
51926 cat >conftest.$ac_ext <<_ACEOF
51927 /* confdefs.h. */
51928 _ACEOF
51929 cat confdefs.h >>conftest.$ac_ext
51930 cat >>conftest.$ac_ext <<_ACEOF
51931 /* end confdefs.h. */
51932 $ac_includes_default
51933 #include <$ac_header>
51934 _ACEOF
51935 rm -f conftest.$ac_objext
51936 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51937 (eval $ac_compile) 2>conftest.er1
51938 ac_status=$?
51939 grep -v '^ *+' conftest.er1 >conftest.err
51940 rm -f conftest.er1
51941 cat conftest.err >&5
51942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51943 (exit $ac_status); } &&
51944 { ac_try='test -z "$ac_c_werror_flag"
51945 || test ! -s conftest.err'
51946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51947 (eval $ac_try) 2>&5
51948 ac_status=$?
51949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51950 (exit $ac_status); }; } &&
51951 { ac_try='test -s conftest.$ac_objext'
51952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51953 (eval $ac_try) 2>&5
51954 ac_status=$?
51955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51956 (exit $ac_status); }; }; then
51957 ac_header_compiler=yes
51958 else
51959 echo "$as_me: failed program was:" >&5
51960 sed 's/^/| /' conftest.$ac_ext >&5
51961
51962 ac_header_compiler=no
51963 fi
51964 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51965 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
51966 echo "${ECHO_T}$ac_header_compiler" >&6
51967
51968 # Is the header present?
51969 echo "$as_me:$LINENO: checking $ac_header presence" >&5
51970 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
51971 cat >conftest.$ac_ext <<_ACEOF
51972 /* confdefs.h. */
51973 _ACEOF
51974 cat confdefs.h >>conftest.$ac_ext
51975 cat >>conftest.$ac_ext <<_ACEOF
51976 /* end confdefs.h. */
51977 #include <$ac_header>
51978 _ACEOF
51979 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
51980 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
51981 ac_status=$?
51982 grep -v '^ *+' conftest.er1 >conftest.err
51983 rm -f conftest.er1
51984 cat conftest.err >&5
51985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51986 (exit $ac_status); } >/dev/null; then
51987 if test -s conftest.err; then
51988 ac_cpp_err=$ac_c_preproc_warn_flag
51989 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
51990 else
51991 ac_cpp_err=
51992 fi
51993 else
51994 ac_cpp_err=yes
51995 fi
51996 if test -z "$ac_cpp_err"; then
51997 ac_header_preproc=yes
51998 else
51999 echo "$as_me: failed program was:" >&5
52000 sed 's/^/| /' conftest.$ac_ext >&5
52001
52002 ac_header_preproc=no
52003 fi
52004 rm -f conftest.err conftest.$ac_ext
52005 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
52006 echo "${ECHO_T}$ac_header_preproc" >&6
52007
52008 # So? What about this header?
52009 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
52010 yes:no: )
52011 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
52012 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
52013 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
52014 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
52015 ac_header_preproc=yes
52016 ;;
52017 no:yes:* )
52018 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
52019 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
52020 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
52021 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
52022 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
52023 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
52024 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
52025 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
52026 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
52027 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
52028 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
52029 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
52030 (
52031 cat <<\_ASBOX
52032 ## ----------------------------------------- ##
52033 ## Report this to the package-unused lists. ##
52034 ## ----------------------------------------- ##
52035 _ASBOX
52036 ) |
52037 sed "s/^/$as_me: WARNING: /" >&2
52038 ;;
52039 esac
52040 echo "$as_me:$LINENO: checking for $ac_header" >&5
52041 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
52042 if eval "test \"\${$as_ac_Header+set}\" = set"; then
52043 echo $ECHO_N "(cached) $ECHO_C" >&6
52044 else
52045 eval "$as_ac_Header=\$ac_header_preproc"
52046 fi
52047 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
52048 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
52049
52050 fi
52051 if test `eval echo '${'$as_ac_Header'}'` = yes; then
52052 cat >>confdefs.h <<_ACEOF
52053 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
52054 _ACEOF
52055
52056 fi
52057
52058 done
52059
52060
52061 if test "${glibcxx_cv_POLL+set}" = set; then
52062 echo $ECHO_N "(cached) $ECHO_C" >&6
52063 else
52064
52065 if test x$gcc_no_link = xyes; then
52066 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52067 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52068 { (exit 1); exit 1; }; }
52069 fi
52070 cat >conftest.$ac_ext <<_ACEOF
52071 /* confdefs.h. */
52072 _ACEOF
52073 cat confdefs.h >>conftest.$ac_ext
52074 cat >>conftest.$ac_ext <<_ACEOF
52075 /* end confdefs.h. */
52076 #include <poll.h>
52077 int
52078 main ()
52079 {
52080 struct pollfd pfd[1];
52081 pfd[0].events = POLLIN;
52082 poll(pfd, 1, 0);
52083 ;
52084 return 0;
52085 }
52086 _ACEOF
52087 rm -f conftest.$ac_objext conftest$ac_exeext
52088 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52089 (eval $ac_link) 2>conftest.er1
52090 ac_status=$?
52091 grep -v '^ *+' conftest.er1 >conftest.err
52092 rm -f conftest.er1
52093 cat conftest.err >&5
52094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52095 (exit $ac_status); } &&
52096 { ac_try='test -z "$ac_c_werror_flag"
52097 || test ! -s conftest.err'
52098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52099 (eval $ac_try) 2>&5
52100 ac_status=$?
52101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52102 (exit $ac_status); }; } &&
52103 { ac_try='test -s conftest$ac_exeext'
52104 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52105 (eval $ac_try) 2>&5
52106 ac_status=$?
52107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52108 (exit $ac_status); }; }; then
52109 glibcxx_cv_POLL=yes
52110 else
52111 echo "$as_me: failed program was:" >&5
52112 sed 's/^/| /' conftest.$ac_ext >&5
52113
52114 glibcxx_cv_POLL=no
52115 fi
52116 rm -f conftest.err conftest.$ac_objext \
52117 conftest$ac_exeext conftest.$ac_ext
52118
52119 fi
52120
52121 if test $glibcxx_cv_POLL = yes; then
52122
52123 cat >>confdefs.h <<\_ACEOF
52124 #define HAVE_POLL 1
52125 _ACEOF
52126
52127 fi
52128
52129
52130 if test "${glibcxx_cv_S_ISREG+set}" = set; then
52131 echo $ECHO_N "(cached) $ECHO_C" >&6
52132 else
52133
52134 if test x$gcc_no_link = xyes; then
52135 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52136 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52137 { (exit 1); exit 1; }; }
52138 fi
52139 cat >conftest.$ac_ext <<_ACEOF
52140 /* confdefs.h. */
52141 _ACEOF
52142 cat confdefs.h >>conftest.$ac_ext
52143 cat >>conftest.$ac_ext <<_ACEOF
52144 /* end confdefs.h. */
52145 #include <sys/stat.h>
52146 int
52147 main ()
52148 {
52149 struct stat buffer;
52150 fstat(0, &buffer);
52151 S_ISREG(buffer.st_mode);
52152 ;
52153 return 0;
52154 }
52155 _ACEOF
52156 rm -f conftest.$ac_objext conftest$ac_exeext
52157 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52158 (eval $ac_link) 2>conftest.er1
52159 ac_status=$?
52160 grep -v '^ *+' conftest.er1 >conftest.err
52161 rm -f conftest.er1
52162 cat conftest.err >&5
52163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52164 (exit $ac_status); } &&
52165 { ac_try='test -z "$ac_c_werror_flag"
52166 || test ! -s conftest.err'
52167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52168 (eval $ac_try) 2>&5
52169 ac_status=$?
52170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52171 (exit $ac_status); }; } &&
52172 { ac_try='test -s conftest$ac_exeext'
52173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52174 (eval $ac_try) 2>&5
52175 ac_status=$?
52176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52177 (exit $ac_status); }; }; then
52178 glibcxx_cv_S_ISREG=yes
52179 else
52180 echo "$as_me: failed program was:" >&5
52181 sed 's/^/| /' conftest.$ac_ext >&5
52182
52183 glibcxx_cv_S_ISREG=no
52184 fi
52185 rm -f conftest.err conftest.$ac_objext \
52186 conftest$ac_exeext conftest.$ac_ext
52187
52188 fi
52189
52190 if test "${glibcxx_cv_S_IFREG+set}" = set; then
52191 echo $ECHO_N "(cached) $ECHO_C" >&6
52192 else
52193
52194 if test x$gcc_no_link = xyes; then
52195 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52196 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52197 { (exit 1); exit 1; }; }
52198 fi
52199 cat >conftest.$ac_ext <<_ACEOF
52200 /* confdefs.h. */
52201 _ACEOF
52202 cat confdefs.h >>conftest.$ac_ext
52203 cat >>conftest.$ac_ext <<_ACEOF
52204 /* end confdefs.h. */
52205 #include <sys/stat.h>
52206 int
52207 main ()
52208 {
52209 struct stat buffer;
52210 fstat(0, &buffer);
52211 S_IFREG & buffer.st_mode;
52212 ;
52213 return 0;
52214 }
52215 _ACEOF
52216 rm -f conftest.$ac_objext conftest$ac_exeext
52217 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52218 (eval $ac_link) 2>conftest.er1
52219 ac_status=$?
52220 grep -v '^ *+' conftest.er1 >conftest.err
52221 rm -f conftest.er1
52222 cat conftest.err >&5
52223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52224 (exit $ac_status); } &&
52225 { ac_try='test -z "$ac_c_werror_flag"
52226 || test ! -s conftest.err'
52227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52228 (eval $ac_try) 2>&5
52229 ac_status=$?
52230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52231 (exit $ac_status); }; } &&
52232 { ac_try='test -s conftest$ac_exeext'
52233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52234 (eval $ac_try) 2>&5
52235 ac_status=$?
52236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52237 (exit $ac_status); }; }; then
52238 glibcxx_cv_S_IFREG=yes
52239 else
52240 echo "$as_me: failed program was:" >&5
52241 sed 's/^/| /' conftest.$ac_ext >&5
52242
52243 glibcxx_cv_S_IFREG=no
52244 fi
52245 rm -f conftest.err conftest.$ac_objext \
52246 conftest$ac_exeext conftest.$ac_ext
52247
52248 fi
52249
52250 if test $glibcxx_cv_S_ISREG = yes; then
52251
52252 cat >>confdefs.h <<\_ACEOF
52253 #define HAVE_S_ISREG 1
52254 _ACEOF
52255
52256 elif test $glibcxx_cv_S_IFREG = yes; then
52257
52258 cat >>confdefs.h <<\_ACEOF
52259 #define HAVE_S_IFREG 1
52260 _ACEOF
52261
52262 fi
52263
52264
52265 # For xsputn_2().
52266
52267 for ac_header in sys/uio.h
52268 do
52269 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
52270 if eval "test \"\${$as_ac_Header+set}\" = set"; then
52271 echo "$as_me:$LINENO: checking for $ac_header" >&5
52272 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
52273 if eval "test \"\${$as_ac_Header+set}\" = set"; then
52274 echo $ECHO_N "(cached) $ECHO_C" >&6
52275 fi
52276 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
52277 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
52278 else
52279 # Is the header compilable?
52280 echo "$as_me:$LINENO: checking $ac_header usability" >&5
52281 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
52282 cat >conftest.$ac_ext <<_ACEOF
52283 /* confdefs.h. */
52284 _ACEOF
52285 cat confdefs.h >>conftest.$ac_ext
52286 cat >>conftest.$ac_ext <<_ACEOF
52287 /* end confdefs.h. */
52288 $ac_includes_default
52289 #include <$ac_header>
52290 _ACEOF
52291 rm -f conftest.$ac_objext
52292 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52293 (eval $ac_compile) 2>conftest.er1
52294 ac_status=$?
52295 grep -v '^ *+' conftest.er1 >conftest.err
52296 rm -f conftest.er1
52297 cat conftest.err >&5
52298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52299 (exit $ac_status); } &&
52300 { ac_try='test -z "$ac_c_werror_flag"
52301 || test ! -s conftest.err'
52302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52303 (eval $ac_try) 2>&5
52304 ac_status=$?
52305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52306 (exit $ac_status); }; } &&
52307 { ac_try='test -s conftest.$ac_objext'
52308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52309 (eval $ac_try) 2>&5
52310 ac_status=$?
52311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52312 (exit $ac_status); }; }; then
52313 ac_header_compiler=yes
52314 else
52315 echo "$as_me: failed program was:" >&5
52316 sed 's/^/| /' conftest.$ac_ext >&5
52317
52318 ac_header_compiler=no
52319 fi
52320 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52321 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
52322 echo "${ECHO_T}$ac_header_compiler" >&6
52323
52324 # Is the header present?
52325 echo "$as_me:$LINENO: checking $ac_header presence" >&5
52326 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
52327 cat >conftest.$ac_ext <<_ACEOF
52328 /* confdefs.h. */
52329 _ACEOF
52330 cat confdefs.h >>conftest.$ac_ext
52331 cat >>conftest.$ac_ext <<_ACEOF
52332 /* end confdefs.h. */
52333 #include <$ac_header>
52334 _ACEOF
52335 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
52336 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
52337 ac_status=$?
52338 grep -v '^ *+' conftest.er1 >conftest.err
52339 rm -f conftest.er1
52340 cat conftest.err >&5
52341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52342 (exit $ac_status); } >/dev/null; then
52343 if test -s conftest.err; then
52344 ac_cpp_err=$ac_c_preproc_warn_flag
52345 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
52346 else
52347 ac_cpp_err=
52348 fi
52349 else
52350 ac_cpp_err=yes
52351 fi
52352 if test -z "$ac_cpp_err"; then
52353 ac_header_preproc=yes
52354 else
52355 echo "$as_me: failed program was:" >&5
52356 sed 's/^/| /' conftest.$ac_ext >&5
52357
52358 ac_header_preproc=no
52359 fi
52360 rm -f conftest.err conftest.$ac_ext
52361 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
52362 echo "${ECHO_T}$ac_header_preproc" >&6
52363
52364 # So? What about this header?
52365 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
52366 yes:no: )
52367 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
52368 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
52369 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
52370 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
52371 ac_header_preproc=yes
52372 ;;
52373 no:yes:* )
52374 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
52375 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
52376 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
52377 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
52378 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
52379 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
52380 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
52381 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
52382 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
52383 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
52384 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
52385 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
52386 (
52387 cat <<\_ASBOX
52388 ## ----------------------------------------- ##
52389 ## Report this to the package-unused lists. ##
52390 ## ----------------------------------------- ##
52391 _ASBOX
52392 ) |
52393 sed "s/^/$as_me: WARNING: /" >&2
52394 ;;
52395 esac
52396 echo "$as_me:$LINENO: checking for $ac_header" >&5
52397 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
52398 if eval "test \"\${$as_ac_Header+set}\" = set"; then
52399 echo $ECHO_N "(cached) $ECHO_C" >&6
52400 else
52401 eval "$as_ac_Header=\$ac_header_preproc"
52402 fi
52403 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
52404 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
52405
52406 fi
52407 if test `eval echo '${'$as_ac_Header'}'` = yes; then
52408 cat >>confdefs.h <<_ACEOF
52409 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
52410 _ACEOF
52411
52412 fi
52413
52414 done
52415
52416
52417 if test "${glibcxx_cv_WRITEV+set}" = set; then
52418 echo $ECHO_N "(cached) $ECHO_C" >&6
52419 else
52420
52421 if test x$gcc_no_link = xyes; then
52422 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52423 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52424 { (exit 1); exit 1; }; }
52425 fi
52426 cat >conftest.$ac_ext <<_ACEOF
52427 /* confdefs.h. */
52428 _ACEOF
52429 cat confdefs.h >>conftest.$ac_ext
52430 cat >>conftest.$ac_ext <<_ACEOF
52431 /* end confdefs.h. */
52432 #include <sys/uio.h>
52433 int
52434 main ()
52435 {
52436 struct iovec iov[2];
52437 writev(0, iov, 0);
52438 ;
52439 return 0;
52440 }
52441 _ACEOF
52442 rm -f conftest.$ac_objext conftest$ac_exeext
52443 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52444 (eval $ac_link) 2>conftest.er1
52445 ac_status=$?
52446 grep -v '^ *+' conftest.er1 >conftest.err
52447 rm -f conftest.er1
52448 cat conftest.err >&5
52449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52450 (exit $ac_status); } &&
52451 { ac_try='test -z "$ac_c_werror_flag"
52452 || test ! -s conftest.err'
52453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52454 (eval $ac_try) 2>&5
52455 ac_status=$?
52456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52457 (exit $ac_status); }; } &&
52458 { ac_try='test -s conftest$ac_exeext'
52459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52460 (eval $ac_try) 2>&5
52461 ac_status=$?
52462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52463 (exit $ac_status); }; }; then
52464 glibcxx_cv_WRITEV=yes
52465 else
52466 echo "$as_me: failed program was:" >&5
52467 sed 's/^/| /' conftest.$ac_ext >&5
52468
52469 glibcxx_cv_WRITEV=no
52470 fi
52471 rm -f conftest.err conftest.$ac_objext \
52472 conftest$ac_exeext conftest.$ac_ext
52473
52474 fi
52475
52476 if test $glibcxx_cv_WRITEV = yes; then
52477
52478 cat >>confdefs.h <<\_ACEOF
52479 #define HAVE_WRITEV 1
52480 _ACEOF
52481
52482 fi
52483
52484
52485 cat >>confdefs.h <<\_ACEOF
52486 #define HAVE_LC_MESSAGES 1
52487 _ACEOF
52488
52489
52490 cat >conftest.$ac_ext <<_ACEOF
52491 /* confdefs.h. */
52492 _ACEOF
52493 cat confdefs.h >>conftest.$ac_ext
52494 cat >>conftest.$ac_ext <<_ACEOF
52495 /* end confdefs.h. */
52496 #include <setjmp.h>
52497 int
52498 main ()
52499 {
52500 sigjmp_buf env;
52501 while (! sigsetjmp (env, 1))
52502 siglongjmp (env, 1);
52503
52504 ;
52505 return 0;
52506 }
52507 _ACEOF
52508 rm -f conftest.$ac_objext
52509 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52510 (eval $ac_compile) 2>conftest.er1
52511 ac_status=$?
52512 grep -v '^ *+' conftest.er1 >conftest.err
52513 rm -f conftest.er1
52514 cat conftest.err >&5
52515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52516 (exit $ac_status); } &&
52517 { ac_try='test -z "$ac_c_werror_flag"
52518 || test ! -s conftest.err'
52519 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52520 (eval $ac_try) 2>&5
52521 ac_status=$?
52522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52523 (exit $ac_status); }; } &&
52524 { ac_try='test -s conftest.$ac_objext'
52525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52526 (eval $ac_try) 2>&5
52527 ac_status=$?
52528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52529 (exit $ac_status); }; }; then
52530
52531 cat >>confdefs.h <<\_ACEOF
52532 #define HAVE_SIGSETJMP 1
52533 _ACEOF
52534
52535 else
52536 echo "$as_me: failed program was:" >&5
52537 sed 's/^/| /' conftest.$ac_ext >&5
52538
52539 fi
52540 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52541
52542 cat >>confdefs.h <<\_ACEOF
52543 #define HAVE_MMAP 1
52544 _ACEOF
52545
52546 ;;
52547
52548 *djgpp)
52549
52550
52551
52552
52553
52554
52555
52556
52557
52558
52559
52560
52561
52562
52563
52564
52565
52566
52567
52568
52569 for ac_header in float.h ieeefp.h inttypes.h locale.h \
52570 memory.h stdint.h stdlib.h strings.h string.h unistd.h \
52571 wchar.h wctype.h machine/endian.h sys/ioctl.h sys/param.h \
52572 sys/resource.h sys/stat.h sys/time.h sys/types.h sys/uio.h
52573 do
52574 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
52575 if eval "test \"\${$as_ac_Header+set}\" = set"; then
52576 echo "$as_me:$LINENO: checking for $ac_header" >&5
52577 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
52578 if eval "test \"\${$as_ac_Header+set}\" = set"; then
52579 echo $ECHO_N "(cached) $ECHO_C" >&6
52580 fi
52581 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
52582 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
52583 else
52584 # Is the header compilable?
52585 echo "$as_me:$LINENO: checking $ac_header usability" >&5
52586 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
52587 cat >conftest.$ac_ext <<_ACEOF
52588 /* confdefs.h. */
52589 _ACEOF
52590 cat confdefs.h >>conftest.$ac_ext
52591 cat >>conftest.$ac_ext <<_ACEOF
52592 /* end confdefs.h. */
52593 $ac_includes_default
52594 #include <$ac_header>
52595 _ACEOF
52596 rm -f conftest.$ac_objext
52597 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52598 (eval $ac_compile) 2>conftest.er1
52599 ac_status=$?
52600 grep -v '^ *+' conftest.er1 >conftest.err
52601 rm -f conftest.er1
52602 cat conftest.err >&5
52603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52604 (exit $ac_status); } &&
52605 { ac_try='test -z "$ac_c_werror_flag"
52606 || test ! -s conftest.err'
52607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52608 (eval $ac_try) 2>&5
52609 ac_status=$?
52610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52611 (exit $ac_status); }; } &&
52612 { ac_try='test -s conftest.$ac_objext'
52613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52614 (eval $ac_try) 2>&5
52615 ac_status=$?
52616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52617 (exit $ac_status); }; }; then
52618 ac_header_compiler=yes
52619 else
52620 echo "$as_me: failed program was:" >&5
52621 sed 's/^/| /' conftest.$ac_ext >&5
52622
52623 ac_header_compiler=no
52624 fi
52625 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52626 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
52627 echo "${ECHO_T}$ac_header_compiler" >&6
52628
52629 # Is the header present?
52630 echo "$as_me:$LINENO: checking $ac_header presence" >&5
52631 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
52632 cat >conftest.$ac_ext <<_ACEOF
52633 /* confdefs.h. */
52634 _ACEOF
52635 cat confdefs.h >>conftest.$ac_ext
52636 cat >>conftest.$ac_ext <<_ACEOF
52637 /* end confdefs.h. */
52638 #include <$ac_header>
52639 _ACEOF
52640 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
52641 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
52642 ac_status=$?
52643 grep -v '^ *+' conftest.er1 >conftest.err
52644 rm -f conftest.er1
52645 cat conftest.err >&5
52646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52647 (exit $ac_status); } >/dev/null; then
52648 if test -s conftest.err; then
52649 ac_cpp_err=$ac_c_preproc_warn_flag
52650 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
52651 else
52652 ac_cpp_err=
52653 fi
52654 else
52655 ac_cpp_err=yes
52656 fi
52657 if test -z "$ac_cpp_err"; then
52658 ac_header_preproc=yes
52659 else
52660 echo "$as_me: failed program was:" >&5
52661 sed 's/^/| /' conftest.$ac_ext >&5
52662
52663 ac_header_preproc=no
52664 fi
52665 rm -f conftest.err conftest.$ac_ext
52666 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
52667 echo "${ECHO_T}$ac_header_preproc" >&6
52668
52669 # So? What about this header?
52670 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
52671 yes:no: )
52672 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
52673 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
52674 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
52675 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
52676 ac_header_preproc=yes
52677 ;;
52678 no:yes:* )
52679 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
52680 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
52681 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
52682 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
52683 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
52684 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
52685 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
52686 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
52687 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
52688 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
52689 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
52690 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
52691 (
52692 cat <<\_ASBOX
52693 ## ----------------------------------------- ##
52694 ## Report this to the package-unused lists. ##
52695 ## ----------------------------------------- ##
52696 _ASBOX
52697 ) |
52698 sed "s/^/$as_me: WARNING: /" >&2
52699 ;;
52700 esac
52701 echo "$as_me:$LINENO: checking for $ac_header" >&5
52702 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
52703 if eval "test \"\${$as_ac_Header+set}\" = set"; then
52704 echo $ECHO_N "(cached) $ECHO_C" >&6
52705 else
52706 eval "$as_ac_Header=\$ac_header_preproc"
52707 fi
52708 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
52709 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
52710
52711 fi
52712 if test `eval echo '${'$as_ac_Header'}'` = yes; then
52713 cat >>confdefs.h <<_ACEOF
52714 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
52715 _ACEOF
52716
52717 fi
52718
52719 done
52720
52721
52722 # All these tests are for C++; save the language and the compiler flags.
52723 # The CXXFLAGS thing is suspicious, but based on similar bits previously
52724 # found in GLIBCXX_CONFIGURE.
52725
52726
52727 ac_ext=cc
52728 ac_cpp='$CXXCPP $CPPFLAGS'
52729 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52730 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52731 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52732
52733 ac_test_CXXFLAGS="${CXXFLAGS+set}"
52734 ac_save_CXXFLAGS="$CXXFLAGS"
52735
52736 # Check for maintainer-mode bits.
52737 if test x"$USE_MAINTAINER_MODE" = xno; then
52738 WERROR=''
52739 else
52740 WERROR='-Werror'
52741 fi
52742
52743 # Check for -ffunction-sections -fdata-sections
52744 echo "$as_me:$LINENO: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
52745 echo $ECHO_N "checking for g++ that supports -ffunction-sections -fdata-sections... $ECHO_C" >&6
52746 CXXFLAGS='-Werror -ffunction-sections -fdata-sections'
52747 cat >conftest.$ac_ext <<_ACEOF
52748 /* confdefs.h. */
52749 _ACEOF
52750 cat confdefs.h >>conftest.$ac_ext
52751 cat >>conftest.$ac_ext <<_ACEOF
52752 /* end confdefs.h. */
52753
52754 int
52755 main ()
52756 {
52757 int foo;
52758 ;
52759 return 0;
52760 }
52761 _ACEOF
52762 rm -f conftest.$ac_objext
52763 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52764 (eval $ac_compile) 2>conftest.er1
52765 ac_status=$?
52766 grep -v '^ *+' conftest.er1 >conftest.err
52767 rm -f conftest.er1
52768 cat conftest.err >&5
52769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52770 (exit $ac_status); } &&
52771 { ac_try='test -z "$ac_cxx_werror_flag"
52772 || test ! -s conftest.err'
52773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52774 (eval $ac_try) 2>&5
52775 ac_status=$?
52776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52777 (exit $ac_status); }; } &&
52778 { ac_try='test -s conftest.$ac_objext'
52779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52780 (eval $ac_try) 2>&5
52781 ac_status=$?
52782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52783 (exit $ac_status); }; }; then
52784 ac_fdsections=yes
52785 else
52786 echo "$as_me: failed program was:" >&5
52787 sed 's/^/| /' conftest.$ac_ext >&5
52788
52789 ac_fdsections=no
52790 fi
52791 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52792 if test "$ac_test_CXXFLAGS" = set; then
52793 CXXFLAGS="$ac_save_CXXFLAGS"
52794 else
52795 # this is the suspicious part
52796 CXXFLAGS=''
52797 fi
52798 if test x"$ac_fdsections" = x"yes"; then
52799 SECTION_FLAGS='-ffunction-sections -fdata-sections'
52800 fi
52801 echo "$as_me:$LINENO: result: $ac_fdsections" >&5
52802 echo "${ECHO_T}$ac_fdsections" >&6
52803
52804 ac_ext=c
52805 ac_cpp='$CPP $CPPFLAGS'
52806 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52807 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52808 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52809
52810
52811
52812
52813
52814 # If we're not using GNU ld, then there's no point in even trying these
52815 # tests. Check for that first. We should have already tested for gld
52816 # by now (in libtool), but require it now just to be safe...
52817 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
52818 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
52819
52820
52821
52822 # The name set by libtool depends on the version of libtool. Shame on us
52823 # for depending on an impl detail, but c'est la vie. Older versions used
52824 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
52825 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
52826 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
52827 # set (hence we're using an older libtool), then set it.
52828 if test x${with_gnu_ld+set} != xset; then
52829 if test x${ac_cv_prog_gnu_ld+set} != xset; then
52830 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
52831 with_gnu_ld=no
52832 else
52833 with_gnu_ld=$ac_cv_prog_gnu_ld
52834 fi
52835 fi
52836
52837 # Start by getting the version number. I think the libtool test already
52838 # does some of this, but throws away the result.
52839
52840 ldver=`$LD --version 2>/dev/null | head -1 | \
52841 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
52842
52843 glibcxx_gnu_ld_version=`echo $ldver | \
52844 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
52845
52846 # Set --gc-sections.
52847 if test "$with_gnu_ld" = "notbroken"; then
52848 # GNU ld it is! Joy and bunny rabbits!
52849
52850 # All these tests are for C++; save the language and the compiler flags.
52851 # Need to do this so that g++ won't try to link in libstdc++
52852 ac_test_CFLAGS="${CFLAGS+set}"
52853 ac_save_CFLAGS="$CFLAGS"
52854 CFLAGS='-x c++ -Wl,--gc-sections'
52855
52856 # Check for -Wl,--gc-sections
52857 # XXX This test is broken at the moment, as symbols required for linking
52858 # are now in libsupc++ (not built yet). In addition, this test has
52859 # cored on solaris in the past. In addition, --gc-sections doesn't
52860 # really work at the moment (keeps on discarding used sections, first
52861 # .eh_frame and now some of the glibc sections for iconv).
52862 # Bzzzzt. Thanks for playing, maybe next time.
52863 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
52864 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
52865 if test "$cross_compiling" = yes; then
52866 ac_sectionLDflags=yes
52867 else
52868 cat >conftest.$ac_ext <<_ACEOF
52869 /* confdefs.h. */
52870 _ACEOF
52871 cat confdefs.h >>conftest.$ac_ext
52872 cat >>conftest.$ac_ext <<_ACEOF
52873 /* end confdefs.h. */
52874
52875 int main(void)
52876 {
52877 try { throw 1; }
52878 catch (...) { };
52879 return 0;
52880 }
52881
52882 _ACEOF
52883 rm -f conftest$ac_exeext
52884 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52885 (eval $ac_link) 2>&5
52886 ac_status=$?
52887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52888 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
52889 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52890 (eval $ac_try) 2>&5
52891 ac_status=$?
52892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52893 (exit $ac_status); }; }; then
52894 ac_sectionLDflags=yes
52895 else
52896 echo "$as_me: program exited with status $ac_status" >&5
52897 echo "$as_me: failed program was:" >&5
52898 sed 's/^/| /' conftest.$ac_ext >&5
52899
52900 ( exit $ac_status )
52901 ac_sectionLDflags=no
52902 fi
52903 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
52904 fi
52905 if test "$ac_test_CFLAGS" = set; then
52906 CFLAGS="$ac_save_CFLAGS"
52907 else
52908 # this is the suspicious part
52909 CFLAGS=''
52910 fi
52911 if test "$ac_sectionLDflags" = "yes"; then
52912 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
52913 fi
52914 echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
52915 echo "${ECHO_T}$ac_sectionLDflags" >&6
52916 fi
52917
52918 # Set linker optimization flags.
52919 if test x"$with_gnu_ld" = x"yes"; then
52920 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
52921 fi
52922
52923
52924
52925
52926
52927 ac_test_CXXFLAGS="${CXXFLAGS+set}"
52928 ac_save_CXXFLAGS="$CXXFLAGS"
52929 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
52930
52931 echo "$as_me:$LINENO: checking for sin in -lm" >&5
52932 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
52933 if test "${ac_cv_lib_m_sin+set}" = set; then
52934 echo $ECHO_N "(cached) $ECHO_C" >&6
52935 else
52936 ac_check_lib_save_LIBS=$LIBS
52937 LIBS="-lm $LIBS"
52938 if test x$gcc_no_link = xyes; then
52939 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52940 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52941 { (exit 1); exit 1; }; }
52942 fi
52943 cat >conftest.$ac_ext <<_ACEOF
52944 /* confdefs.h. */
52945 _ACEOF
52946 cat confdefs.h >>conftest.$ac_ext
52947 cat >>conftest.$ac_ext <<_ACEOF
52948 /* end confdefs.h. */
52949
52950 /* Override any gcc2 internal prototype to avoid an error. */
52951 #ifdef __cplusplus
52952 extern "C"
52953 #endif
52954 /* We use char because int might match the return type of a gcc2
52955 builtin and then its argument prototype would still apply. */
52956 char sin ();
52957 int
52958 main ()
52959 {
52960 sin ();
52961 ;
52962 return 0;
52963 }
52964 _ACEOF
52965 rm -f conftest.$ac_objext conftest$ac_exeext
52966 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52967 (eval $ac_link) 2>conftest.er1
52968 ac_status=$?
52969 grep -v '^ *+' conftest.er1 >conftest.err
52970 rm -f conftest.er1
52971 cat conftest.err >&5
52972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52973 (exit $ac_status); } &&
52974 { ac_try='test -z "$ac_c_werror_flag"
52975 || test ! -s conftest.err'
52976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52977 (eval $ac_try) 2>&5
52978 ac_status=$?
52979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52980 (exit $ac_status); }; } &&
52981 { ac_try='test -s conftest$ac_exeext'
52982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52983 (eval $ac_try) 2>&5
52984 ac_status=$?
52985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52986 (exit $ac_status); }; }; then
52987 ac_cv_lib_m_sin=yes
52988 else
52989 echo "$as_me: failed program was:" >&5
52990 sed 's/^/| /' conftest.$ac_ext >&5
52991
52992 ac_cv_lib_m_sin=no
52993 fi
52994 rm -f conftest.err conftest.$ac_objext \
52995 conftest$ac_exeext conftest.$ac_ext
52996 LIBS=$ac_check_lib_save_LIBS
52997 fi
52998 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
52999 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
53000 if test $ac_cv_lib_m_sin = yes; then
53001 libm="-lm"
53002 fi
53003
53004 ac_save_LIBS="$LIBS"
53005 LIBS="$LIBS $libm"
53006
53007
53008
53009 echo "$as_me:$LINENO: checking for isinf declaration" >&5
53010 echo $ECHO_N "checking for isinf declaration... $ECHO_C" >&6
53011 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
53012 if test "${glibcxx_cv_func_isinf_use+set}" = set; then
53013 echo $ECHO_N "(cached) $ECHO_C" >&6
53014 else
53015
53016
53017
53018 ac_ext=cc
53019 ac_cpp='$CXXCPP $CPPFLAGS'
53020 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53021 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53022 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53023
53024 cat >conftest.$ac_ext <<_ACEOF
53025 /* confdefs.h. */
53026 _ACEOF
53027 cat confdefs.h >>conftest.$ac_ext
53028 cat >>conftest.$ac_ext <<_ACEOF
53029 /* end confdefs.h. */
53030 #include <math.h>
53031 #ifdef HAVE_IEEEFP_H
53032 #include <ieeefp.h>
53033 #endif
53034
53035 int
53036 main ()
53037 {
53038 isinf(0);
53039 ;
53040 return 0;
53041 }
53042 _ACEOF
53043 rm -f conftest.$ac_objext
53044 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53045 (eval $ac_compile) 2>conftest.er1
53046 ac_status=$?
53047 grep -v '^ *+' conftest.er1 >conftest.err
53048 rm -f conftest.er1
53049 cat conftest.err >&5
53050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53051 (exit $ac_status); } &&
53052 { ac_try='test -z "$ac_cxx_werror_flag"
53053 || test ! -s conftest.err'
53054 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53055 (eval $ac_try) 2>&5
53056 ac_status=$?
53057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53058 (exit $ac_status); }; } &&
53059 { ac_try='test -s conftest.$ac_objext'
53060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53061 (eval $ac_try) 2>&5
53062 ac_status=$?
53063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53064 (exit $ac_status); }; }; then
53065 glibcxx_cv_func_isinf_use=yes
53066 else
53067 echo "$as_me: failed program was:" >&5
53068 sed 's/^/| /' conftest.$ac_ext >&5
53069
53070 glibcxx_cv_func_isinf_use=no
53071 fi
53072 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53073 ac_ext=c
53074 ac_cpp='$CPP $CPPFLAGS'
53075 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53076 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53077 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53078
53079
53080 fi
53081
53082 fi
53083 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinf_use" >&5
53084 echo "${ECHO_T}$glibcxx_cv_func_isinf_use" >&6
53085
53086 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
53087
53088 for ac_func in isinf
53089 do
53090 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53091 echo "$as_me:$LINENO: checking for $ac_func" >&5
53092 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53093 if eval "test \"\${$as_ac_var+set}\" = set"; then
53094 echo $ECHO_N "(cached) $ECHO_C" >&6
53095 else
53096 if test x$gcc_no_link = xyes; then
53097 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53098 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53099 { (exit 1); exit 1; }; }
53100 fi
53101 cat >conftest.$ac_ext <<_ACEOF
53102 /* confdefs.h. */
53103 _ACEOF
53104 cat confdefs.h >>conftest.$ac_ext
53105 cat >>conftest.$ac_ext <<_ACEOF
53106 /* end confdefs.h. */
53107 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
53108 For example, HP-UX 11i <limits.h> declares gettimeofday. */
53109 #define $ac_func innocuous_$ac_func
53110
53111 /* System header to define __stub macros and hopefully few prototypes,
53112 which can conflict with char $ac_func (); below.
53113 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53114 <limits.h> exists even on freestanding compilers. */
53115
53116 #ifdef __STDC__
53117 # include <limits.h>
53118 #else
53119 # include <assert.h>
53120 #endif
53121
53122 #undef $ac_func
53123
53124 /* Override any gcc2 internal prototype to avoid an error. */
53125 #ifdef __cplusplus
53126 extern "C"
53127 {
53128 #endif
53129 /* We use char because int might match the return type of a gcc2
53130 builtin and then its argument prototype would still apply. */
53131 char $ac_func ();
53132 /* The GNU C library defines this for functions which it implements
53133 to always fail with ENOSYS. Some functions are actually named
53134 something starting with __ and the normal name is an alias. */
53135 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53136 choke me
53137 #else
53138 char (*f) () = $ac_func;
53139 #endif
53140 #ifdef __cplusplus
53141 }
53142 #endif
53143
53144 int
53145 main ()
53146 {
53147 return f != $ac_func;
53148 ;
53149 return 0;
53150 }
53151 _ACEOF
53152 rm -f conftest.$ac_objext conftest$ac_exeext
53153 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53154 (eval $ac_link) 2>conftest.er1
53155 ac_status=$?
53156 grep -v '^ *+' conftest.er1 >conftest.err
53157 rm -f conftest.er1
53158 cat conftest.err >&5
53159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53160 (exit $ac_status); } &&
53161 { ac_try='test -z "$ac_c_werror_flag"
53162 || test ! -s conftest.err'
53163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53164 (eval $ac_try) 2>&5
53165 ac_status=$?
53166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53167 (exit $ac_status); }; } &&
53168 { ac_try='test -s conftest$ac_exeext'
53169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53170 (eval $ac_try) 2>&5
53171 ac_status=$?
53172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53173 (exit $ac_status); }; }; then
53174 eval "$as_ac_var=yes"
53175 else
53176 echo "$as_me: failed program was:" >&5
53177 sed 's/^/| /' conftest.$ac_ext >&5
53178
53179 eval "$as_ac_var=no"
53180 fi
53181 rm -f conftest.err conftest.$ac_objext \
53182 conftest$ac_exeext conftest.$ac_ext
53183 fi
53184 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53185 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53186 if test `eval echo '${'$as_ac_var'}'` = yes; then
53187 cat >>confdefs.h <<_ACEOF
53188 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53189 _ACEOF
53190
53191 fi
53192 done
53193
53194 else
53195
53196 echo "$as_me:$LINENO: checking for _isinf declaration" >&5
53197 echo $ECHO_N "checking for _isinf declaration... $ECHO_C" >&6
53198 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
53199 if test "${glibcxx_cv_func__isinf_use+set}" = set; then
53200 echo $ECHO_N "(cached) $ECHO_C" >&6
53201 else
53202
53203
53204
53205 ac_ext=cc
53206 ac_cpp='$CXXCPP $CPPFLAGS'
53207 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53208 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53209 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53210
53211 cat >conftest.$ac_ext <<_ACEOF
53212 /* confdefs.h. */
53213 _ACEOF
53214 cat confdefs.h >>conftest.$ac_ext
53215 cat >>conftest.$ac_ext <<_ACEOF
53216 /* end confdefs.h. */
53217 #include <math.h>
53218 #ifdef HAVE_IEEEFP_H
53219 #include <ieeefp.h>
53220 #endif
53221
53222 int
53223 main ()
53224 {
53225 _isinf(0);
53226 ;
53227 return 0;
53228 }
53229 _ACEOF
53230 rm -f conftest.$ac_objext
53231 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53232 (eval $ac_compile) 2>conftest.er1
53233 ac_status=$?
53234 grep -v '^ *+' conftest.er1 >conftest.err
53235 rm -f conftest.er1
53236 cat conftest.err >&5
53237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53238 (exit $ac_status); } &&
53239 { ac_try='test -z "$ac_cxx_werror_flag"
53240 || test ! -s conftest.err'
53241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53242 (eval $ac_try) 2>&5
53243 ac_status=$?
53244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53245 (exit $ac_status); }; } &&
53246 { ac_try='test -s conftest.$ac_objext'
53247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53248 (eval $ac_try) 2>&5
53249 ac_status=$?
53250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53251 (exit $ac_status); }; }; then
53252 glibcxx_cv_func__isinf_use=yes
53253 else
53254 echo "$as_me: failed program was:" >&5
53255 sed 's/^/| /' conftest.$ac_ext >&5
53256
53257 glibcxx_cv_func__isinf_use=no
53258 fi
53259 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53260 ac_ext=c
53261 ac_cpp='$CPP $CPPFLAGS'
53262 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53263 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53264 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53265
53266
53267 fi
53268
53269 fi
53270 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinf_use" >&5
53271 echo "${ECHO_T}$glibcxx_cv_func__isinf_use" >&6
53272
53273 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
53274
53275 for ac_func in _isinf
53276 do
53277 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53278 echo "$as_me:$LINENO: checking for $ac_func" >&5
53279 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53280 if eval "test \"\${$as_ac_var+set}\" = set"; then
53281 echo $ECHO_N "(cached) $ECHO_C" >&6
53282 else
53283 if test x$gcc_no_link = xyes; then
53284 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53285 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53286 { (exit 1); exit 1; }; }
53287 fi
53288 cat >conftest.$ac_ext <<_ACEOF
53289 /* confdefs.h. */
53290 _ACEOF
53291 cat confdefs.h >>conftest.$ac_ext
53292 cat >>conftest.$ac_ext <<_ACEOF
53293 /* end confdefs.h. */
53294 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
53295 For example, HP-UX 11i <limits.h> declares gettimeofday. */
53296 #define $ac_func innocuous_$ac_func
53297
53298 /* System header to define __stub macros and hopefully few prototypes,
53299 which can conflict with char $ac_func (); below.
53300 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53301 <limits.h> exists even on freestanding compilers. */
53302
53303 #ifdef __STDC__
53304 # include <limits.h>
53305 #else
53306 # include <assert.h>
53307 #endif
53308
53309 #undef $ac_func
53310
53311 /* Override any gcc2 internal prototype to avoid an error. */
53312 #ifdef __cplusplus
53313 extern "C"
53314 {
53315 #endif
53316 /* We use char because int might match the return type of a gcc2
53317 builtin and then its argument prototype would still apply. */
53318 char $ac_func ();
53319 /* The GNU C library defines this for functions which it implements
53320 to always fail with ENOSYS. Some functions are actually named
53321 something starting with __ and the normal name is an alias. */
53322 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53323 choke me
53324 #else
53325 char (*f) () = $ac_func;
53326 #endif
53327 #ifdef __cplusplus
53328 }
53329 #endif
53330
53331 int
53332 main ()
53333 {
53334 return f != $ac_func;
53335 ;
53336 return 0;
53337 }
53338 _ACEOF
53339 rm -f conftest.$ac_objext conftest$ac_exeext
53340 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53341 (eval $ac_link) 2>conftest.er1
53342 ac_status=$?
53343 grep -v '^ *+' conftest.er1 >conftest.err
53344 rm -f conftest.er1
53345 cat conftest.err >&5
53346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53347 (exit $ac_status); } &&
53348 { ac_try='test -z "$ac_c_werror_flag"
53349 || test ! -s conftest.err'
53350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53351 (eval $ac_try) 2>&5
53352 ac_status=$?
53353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53354 (exit $ac_status); }; } &&
53355 { ac_try='test -s conftest$ac_exeext'
53356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53357 (eval $ac_try) 2>&5
53358 ac_status=$?
53359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53360 (exit $ac_status); }; }; then
53361 eval "$as_ac_var=yes"
53362 else
53363 echo "$as_me: failed program was:" >&5
53364 sed 's/^/| /' conftest.$ac_ext >&5
53365
53366 eval "$as_ac_var=no"
53367 fi
53368 rm -f conftest.err conftest.$ac_objext \
53369 conftest$ac_exeext conftest.$ac_ext
53370 fi
53371 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53372 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53373 if test `eval echo '${'$as_ac_var'}'` = yes; then
53374 cat >>confdefs.h <<_ACEOF
53375 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53376 _ACEOF
53377
53378 fi
53379 done
53380
53381 fi
53382 fi
53383
53384
53385
53386
53387
53388
53389 echo "$as_me:$LINENO: checking for isnan declaration" >&5
53390 echo $ECHO_N "checking for isnan declaration... $ECHO_C" >&6
53391 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
53392 if test "${glibcxx_cv_func_isnan_use+set}" = set; then
53393 echo $ECHO_N "(cached) $ECHO_C" >&6
53394 else
53395
53396
53397
53398 ac_ext=cc
53399 ac_cpp='$CXXCPP $CPPFLAGS'
53400 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53401 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53402 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53403
53404 cat >conftest.$ac_ext <<_ACEOF
53405 /* confdefs.h. */
53406 _ACEOF
53407 cat confdefs.h >>conftest.$ac_ext
53408 cat >>conftest.$ac_ext <<_ACEOF
53409 /* end confdefs.h. */
53410 #include <math.h>
53411 #ifdef HAVE_IEEEFP_H
53412 #include <ieeefp.h>
53413 #endif
53414
53415 int
53416 main ()
53417 {
53418 isnan(0);
53419 ;
53420 return 0;
53421 }
53422 _ACEOF
53423 rm -f conftest.$ac_objext
53424 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53425 (eval $ac_compile) 2>conftest.er1
53426 ac_status=$?
53427 grep -v '^ *+' conftest.er1 >conftest.err
53428 rm -f conftest.er1
53429 cat conftest.err >&5
53430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53431 (exit $ac_status); } &&
53432 { ac_try='test -z "$ac_cxx_werror_flag"
53433 || test ! -s conftest.err'
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); }; } &&
53439 { ac_try='test -s conftest.$ac_objext'
53440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53441 (eval $ac_try) 2>&5
53442 ac_status=$?
53443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53444 (exit $ac_status); }; }; then
53445 glibcxx_cv_func_isnan_use=yes
53446 else
53447 echo "$as_me: failed program was:" >&5
53448 sed 's/^/| /' conftest.$ac_ext >&5
53449
53450 glibcxx_cv_func_isnan_use=no
53451 fi
53452 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53453 ac_ext=c
53454 ac_cpp='$CPP $CPPFLAGS'
53455 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53456 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53457 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53458
53459
53460 fi
53461
53462 fi
53463 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnan_use" >&5
53464 echo "${ECHO_T}$glibcxx_cv_func_isnan_use" >&6
53465
53466 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
53467
53468 for ac_func in isnan
53469 do
53470 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53471 echo "$as_me:$LINENO: checking for $ac_func" >&5
53472 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53473 if eval "test \"\${$as_ac_var+set}\" = set"; then
53474 echo $ECHO_N "(cached) $ECHO_C" >&6
53475 else
53476 if test x$gcc_no_link = xyes; then
53477 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53478 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53479 { (exit 1); exit 1; }; }
53480 fi
53481 cat >conftest.$ac_ext <<_ACEOF
53482 /* confdefs.h. */
53483 _ACEOF
53484 cat confdefs.h >>conftest.$ac_ext
53485 cat >>conftest.$ac_ext <<_ACEOF
53486 /* end confdefs.h. */
53487 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
53488 For example, HP-UX 11i <limits.h> declares gettimeofday. */
53489 #define $ac_func innocuous_$ac_func
53490
53491 /* System header to define __stub macros and hopefully few prototypes,
53492 which can conflict with char $ac_func (); below.
53493 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53494 <limits.h> exists even on freestanding compilers. */
53495
53496 #ifdef __STDC__
53497 # include <limits.h>
53498 #else
53499 # include <assert.h>
53500 #endif
53501
53502 #undef $ac_func
53503
53504 /* Override any gcc2 internal prototype to avoid an error. */
53505 #ifdef __cplusplus
53506 extern "C"
53507 {
53508 #endif
53509 /* We use char because int might match the return type of a gcc2
53510 builtin and then its argument prototype would still apply. */
53511 char $ac_func ();
53512 /* The GNU C library defines this for functions which it implements
53513 to always fail with ENOSYS. Some functions are actually named
53514 something starting with __ and the normal name is an alias. */
53515 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53516 choke me
53517 #else
53518 char (*f) () = $ac_func;
53519 #endif
53520 #ifdef __cplusplus
53521 }
53522 #endif
53523
53524 int
53525 main ()
53526 {
53527 return f != $ac_func;
53528 ;
53529 return 0;
53530 }
53531 _ACEOF
53532 rm -f conftest.$ac_objext conftest$ac_exeext
53533 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53534 (eval $ac_link) 2>conftest.er1
53535 ac_status=$?
53536 grep -v '^ *+' conftest.er1 >conftest.err
53537 rm -f conftest.er1
53538 cat conftest.err >&5
53539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53540 (exit $ac_status); } &&
53541 { ac_try='test -z "$ac_c_werror_flag"
53542 || test ! -s conftest.err'
53543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53544 (eval $ac_try) 2>&5
53545 ac_status=$?
53546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53547 (exit $ac_status); }; } &&
53548 { ac_try='test -s conftest$ac_exeext'
53549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53550 (eval $ac_try) 2>&5
53551 ac_status=$?
53552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53553 (exit $ac_status); }; }; then
53554 eval "$as_ac_var=yes"
53555 else
53556 echo "$as_me: failed program was:" >&5
53557 sed 's/^/| /' conftest.$ac_ext >&5
53558
53559 eval "$as_ac_var=no"
53560 fi
53561 rm -f conftest.err conftest.$ac_objext \
53562 conftest$ac_exeext conftest.$ac_ext
53563 fi
53564 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53565 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53566 if test `eval echo '${'$as_ac_var'}'` = yes; then
53567 cat >>confdefs.h <<_ACEOF
53568 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53569 _ACEOF
53570
53571 fi
53572 done
53573
53574 else
53575
53576 echo "$as_me:$LINENO: checking for _isnan declaration" >&5
53577 echo $ECHO_N "checking for _isnan declaration... $ECHO_C" >&6
53578 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
53579 if test "${glibcxx_cv_func__isnan_use+set}" = set; then
53580 echo $ECHO_N "(cached) $ECHO_C" >&6
53581 else
53582
53583
53584
53585 ac_ext=cc
53586 ac_cpp='$CXXCPP $CPPFLAGS'
53587 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53588 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53589 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53590
53591 cat >conftest.$ac_ext <<_ACEOF
53592 /* confdefs.h. */
53593 _ACEOF
53594 cat confdefs.h >>conftest.$ac_ext
53595 cat >>conftest.$ac_ext <<_ACEOF
53596 /* end confdefs.h. */
53597 #include <math.h>
53598 #ifdef HAVE_IEEEFP_H
53599 #include <ieeefp.h>
53600 #endif
53601
53602 int
53603 main ()
53604 {
53605 _isnan(0);
53606 ;
53607 return 0;
53608 }
53609 _ACEOF
53610 rm -f conftest.$ac_objext
53611 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53612 (eval $ac_compile) 2>conftest.er1
53613 ac_status=$?
53614 grep -v '^ *+' conftest.er1 >conftest.err
53615 rm -f conftest.er1
53616 cat conftest.err >&5
53617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53618 (exit $ac_status); } &&
53619 { ac_try='test -z "$ac_cxx_werror_flag"
53620 || test ! -s conftest.err'
53621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53622 (eval $ac_try) 2>&5
53623 ac_status=$?
53624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53625 (exit $ac_status); }; } &&
53626 { ac_try='test -s conftest.$ac_objext'
53627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53628 (eval $ac_try) 2>&5
53629 ac_status=$?
53630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53631 (exit $ac_status); }; }; then
53632 glibcxx_cv_func__isnan_use=yes
53633 else
53634 echo "$as_me: failed program was:" >&5
53635 sed 's/^/| /' conftest.$ac_ext >&5
53636
53637 glibcxx_cv_func__isnan_use=no
53638 fi
53639 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53640 ac_ext=c
53641 ac_cpp='$CPP $CPPFLAGS'
53642 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53643 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53644 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53645
53646
53647 fi
53648
53649 fi
53650 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnan_use" >&5
53651 echo "${ECHO_T}$glibcxx_cv_func__isnan_use" >&6
53652
53653 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
53654
53655 for ac_func in _isnan
53656 do
53657 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53658 echo "$as_me:$LINENO: checking for $ac_func" >&5
53659 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53660 if eval "test \"\${$as_ac_var+set}\" = set"; then
53661 echo $ECHO_N "(cached) $ECHO_C" >&6
53662 else
53663 if test x$gcc_no_link = xyes; then
53664 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53665 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53666 { (exit 1); exit 1; }; }
53667 fi
53668 cat >conftest.$ac_ext <<_ACEOF
53669 /* confdefs.h. */
53670 _ACEOF
53671 cat confdefs.h >>conftest.$ac_ext
53672 cat >>conftest.$ac_ext <<_ACEOF
53673 /* end confdefs.h. */
53674 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
53675 For example, HP-UX 11i <limits.h> declares gettimeofday. */
53676 #define $ac_func innocuous_$ac_func
53677
53678 /* System header to define __stub macros and hopefully few prototypes,
53679 which can conflict with char $ac_func (); below.
53680 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53681 <limits.h> exists even on freestanding compilers. */
53682
53683 #ifdef __STDC__
53684 # include <limits.h>
53685 #else
53686 # include <assert.h>
53687 #endif
53688
53689 #undef $ac_func
53690
53691 /* Override any gcc2 internal prototype to avoid an error. */
53692 #ifdef __cplusplus
53693 extern "C"
53694 {
53695 #endif
53696 /* We use char because int might match the return type of a gcc2
53697 builtin and then its argument prototype would still apply. */
53698 char $ac_func ();
53699 /* The GNU C library defines this for functions which it implements
53700 to always fail with ENOSYS. Some functions are actually named
53701 something starting with __ and the normal name is an alias. */
53702 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53703 choke me
53704 #else
53705 char (*f) () = $ac_func;
53706 #endif
53707 #ifdef __cplusplus
53708 }
53709 #endif
53710
53711 int
53712 main ()
53713 {
53714 return f != $ac_func;
53715 ;
53716 return 0;
53717 }
53718 _ACEOF
53719 rm -f conftest.$ac_objext conftest$ac_exeext
53720 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53721 (eval $ac_link) 2>conftest.er1
53722 ac_status=$?
53723 grep -v '^ *+' conftest.er1 >conftest.err
53724 rm -f conftest.er1
53725 cat conftest.err >&5
53726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53727 (exit $ac_status); } &&
53728 { ac_try='test -z "$ac_c_werror_flag"
53729 || test ! -s conftest.err'
53730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53731 (eval $ac_try) 2>&5
53732 ac_status=$?
53733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53734 (exit $ac_status); }; } &&
53735 { ac_try='test -s conftest$ac_exeext'
53736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53737 (eval $ac_try) 2>&5
53738 ac_status=$?
53739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53740 (exit $ac_status); }; }; then
53741 eval "$as_ac_var=yes"
53742 else
53743 echo "$as_me: failed program was:" >&5
53744 sed 's/^/| /' conftest.$ac_ext >&5
53745
53746 eval "$as_ac_var=no"
53747 fi
53748 rm -f conftest.err conftest.$ac_objext \
53749 conftest$ac_exeext conftest.$ac_ext
53750 fi
53751 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53752 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53753 if test `eval echo '${'$as_ac_var'}'` = yes; then
53754 cat >>confdefs.h <<_ACEOF
53755 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53756 _ACEOF
53757
53758 fi
53759 done
53760
53761 fi
53762 fi
53763
53764
53765
53766
53767
53768
53769 echo "$as_me:$LINENO: checking for finite declaration" >&5
53770 echo $ECHO_N "checking for finite declaration... $ECHO_C" >&6
53771 if test x${glibcxx_cv_func_finite_use+set} != xset; then
53772 if test "${glibcxx_cv_func_finite_use+set}" = set; then
53773 echo $ECHO_N "(cached) $ECHO_C" >&6
53774 else
53775
53776
53777
53778 ac_ext=cc
53779 ac_cpp='$CXXCPP $CPPFLAGS'
53780 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53781 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53782 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53783
53784 cat >conftest.$ac_ext <<_ACEOF
53785 /* confdefs.h. */
53786 _ACEOF
53787 cat confdefs.h >>conftest.$ac_ext
53788 cat >>conftest.$ac_ext <<_ACEOF
53789 /* end confdefs.h. */
53790 #include <math.h>
53791 #ifdef HAVE_IEEEFP_H
53792 #include <ieeefp.h>
53793 #endif
53794
53795 int
53796 main ()
53797 {
53798 finite(0);
53799 ;
53800 return 0;
53801 }
53802 _ACEOF
53803 rm -f conftest.$ac_objext
53804 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53805 (eval $ac_compile) 2>conftest.er1
53806 ac_status=$?
53807 grep -v '^ *+' conftest.er1 >conftest.err
53808 rm -f conftest.er1
53809 cat conftest.err >&5
53810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53811 (exit $ac_status); } &&
53812 { ac_try='test -z "$ac_cxx_werror_flag"
53813 || test ! -s conftest.err'
53814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53815 (eval $ac_try) 2>&5
53816 ac_status=$?
53817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53818 (exit $ac_status); }; } &&
53819 { ac_try='test -s conftest.$ac_objext'
53820 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53821 (eval $ac_try) 2>&5
53822 ac_status=$?
53823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53824 (exit $ac_status); }; }; then
53825 glibcxx_cv_func_finite_use=yes
53826 else
53827 echo "$as_me: failed program was:" >&5
53828 sed 's/^/| /' conftest.$ac_ext >&5
53829
53830 glibcxx_cv_func_finite_use=no
53831 fi
53832 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53833 ac_ext=c
53834 ac_cpp='$CPP $CPPFLAGS'
53835 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53836 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53837 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53838
53839
53840 fi
53841
53842 fi
53843 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finite_use" >&5
53844 echo "${ECHO_T}$glibcxx_cv_func_finite_use" >&6
53845
53846 if test x$glibcxx_cv_func_finite_use = x"yes"; then
53847
53848 for ac_func in finite
53849 do
53850 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53851 echo "$as_me:$LINENO: checking for $ac_func" >&5
53852 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53853 if eval "test \"\${$as_ac_var+set}\" = set"; then
53854 echo $ECHO_N "(cached) $ECHO_C" >&6
53855 else
53856 if test x$gcc_no_link = xyes; then
53857 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53858 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53859 { (exit 1); exit 1; }; }
53860 fi
53861 cat >conftest.$ac_ext <<_ACEOF
53862 /* confdefs.h. */
53863 _ACEOF
53864 cat confdefs.h >>conftest.$ac_ext
53865 cat >>conftest.$ac_ext <<_ACEOF
53866 /* end confdefs.h. */
53867 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
53868 For example, HP-UX 11i <limits.h> declares gettimeofday. */
53869 #define $ac_func innocuous_$ac_func
53870
53871 /* System header to define __stub macros and hopefully few prototypes,
53872 which can conflict with char $ac_func (); below.
53873 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53874 <limits.h> exists even on freestanding compilers. */
53875
53876 #ifdef __STDC__
53877 # include <limits.h>
53878 #else
53879 # include <assert.h>
53880 #endif
53881
53882 #undef $ac_func
53883
53884 /* Override any gcc2 internal prototype to avoid an error. */
53885 #ifdef __cplusplus
53886 extern "C"
53887 {
53888 #endif
53889 /* We use char because int might match the return type of a gcc2
53890 builtin and then its argument prototype would still apply. */
53891 char $ac_func ();
53892 /* The GNU C library defines this for functions which it implements
53893 to always fail with ENOSYS. Some functions are actually named
53894 something starting with __ and the normal name is an alias. */
53895 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53896 choke me
53897 #else
53898 char (*f) () = $ac_func;
53899 #endif
53900 #ifdef __cplusplus
53901 }
53902 #endif
53903
53904 int
53905 main ()
53906 {
53907 return f != $ac_func;
53908 ;
53909 return 0;
53910 }
53911 _ACEOF
53912 rm -f conftest.$ac_objext conftest$ac_exeext
53913 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53914 (eval $ac_link) 2>conftest.er1
53915 ac_status=$?
53916 grep -v '^ *+' conftest.er1 >conftest.err
53917 rm -f conftest.er1
53918 cat conftest.err >&5
53919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53920 (exit $ac_status); } &&
53921 { ac_try='test -z "$ac_c_werror_flag"
53922 || test ! -s conftest.err'
53923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53924 (eval $ac_try) 2>&5
53925 ac_status=$?
53926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53927 (exit $ac_status); }; } &&
53928 { ac_try='test -s conftest$ac_exeext'
53929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53930 (eval $ac_try) 2>&5
53931 ac_status=$?
53932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53933 (exit $ac_status); }; }; then
53934 eval "$as_ac_var=yes"
53935 else
53936 echo "$as_me: failed program was:" >&5
53937 sed 's/^/| /' conftest.$ac_ext >&5
53938
53939 eval "$as_ac_var=no"
53940 fi
53941 rm -f conftest.err conftest.$ac_objext \
53942 conftest$ac_exeext conftest.$ac_ext
53943 fi
53944 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53945 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53946 if test `eval echo '${'$as_ac_var'}'` = yes; then
53947 cat >>confdefs.h <<_ACEOF
53948 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53949 _ACEOF
53950
53951 fi
53952 done
53953
53954 else
53955
53956 echo "$as_me:$LINENO: checking for _finite declaration" >&5
53957 echo $ECHO_N "checking for _finite declaration... $ECHO_C" >&6
53958 if test x${glibcxx_cv_func__finite_use+set} != xset; then
53959 if test "${glibcxx_cv_func__finite_use+set}" = set; then
53960 echo $ECHO_N "(cached) $ECHO_C" >&6
53961 else
53962
53963
53964
53965 ac_ext=cc
53966 ac_cpp='$CXXCPP $CPPFLAGS'
53967 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53968 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53969 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53970
53971 cat >conftest.$ac_ext <<_ACEOF
53972 /* confdefs.h. */
53973 _ACEOF
53974 cat confdefs.h >>conftest.$ac_ext
53975 cat >>conftest.$ac_ext <<_ACEOF
53976 /* end confdefs.h. */
53977 #include <math.h>
53978 #ifdef HAVE_IEEEFP_H
53979 #include <ieeefp.h>
53980 #endif
53981
53982 int
53983 main ()
53984 {
53985 _finite(0);
53986 ;
53987 return 0;
53988 }
53989 _ACEOF
53990 rm -f conftest.$ac_objext
53991 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53992 (eval $ac_compile) 2>conftest.er1
53993 ac_status=$?
53994 grep -v '^ *+' conftest.er1 >conftest.err
53995 rm -f conftest.er1
53996 cat conftest.err >&5
53997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53998 (exit $ac_status); } &&
53999 { ac_try='test -z "$ac_cxx_werror_flag"
54000 || test ! -s conftest.err'
54001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54002 (eval $ac_try) 2>&5
54003 ac_status=$?
54004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54005 (exit $ac_status); }; } &&
54006 { ac_try='test -s conftest.$ac_objext'
54007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54008 (eval $ac_try) 2>&5
54009 ac_status=$?
54010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54011 (exit $ac_status); }; }; then
54012 glibcxx_cv_func__finite_use=yes
54013 else
54014 echo "$as_me: failed program was:" >&5
54015 sed 's/^/| /' conftest.$ac_ext >&5
54016
54017 glibcxx_cv_func__finite_use=no
54018 fi
54019 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54020 ac_ext=c
54021 ac_cpp='$CPP $CPPFLAGS'
54022 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54023 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54024 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54025
54026
54027 fi
54028
54029 fi
54030 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finite_use" >&5
54031 echo "${ECHO_T}$glibcxx_cv_func__finite_use" >&6
54032
54033 if test x$glibcxx_cv_func__finite_use = x"yes"; then
54034
54035 for ac_func in _finite
54036 do
54037 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54038 echo "$as_me:$LINENO: checking for $ac_func" >&5
54039 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54040 if eval "test \"\${$as_ac_var+set}\" = set"; then
54041 echo $ECHO_N "(cached) $ECHO_C" >&6
54042 else
54043 if test x$gcc_no_link = xyes; then
54044 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54045 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54046 { (exit 1); exit 1; }; }
54047 fi
54048 cat >conftest.$ac_ext <<_ACEOF
54049 /* confdefs.h. */
54050 _ACEOF
54051 cat confdefs.h >>conftest.$ac_ext
54052 cat >>conftest.$ac_ext <<_ACEOF
54053 /* end confdefs.h. */
54054 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54055 For example, HP-UX 11i <limits.h> declares gettimeofday. */
54056 #define $ac_func innocuous_$ac_func
54057
54058 /* System header to define __stub macros and hopefully few prototypes,
54059 which can conflict with char $ac_func (); below.
54060 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54061 <limits.h> exists even on freestanding compilers. */
54062
54063 #ifdef __STDC__
54064 # include <limits.h>
54065 #else
54066 # include <assert.h>
54067 #endif
54068
54069 #undef $ac_func
54070
54071 /* Override any gcc2 internal prototype to avoid an error. */
54072 #ifdef __cplusplus
54073 extern "C"
54074 {
54075 #endif
54076 /* We use char because int might match the return type of a gcc2
54077 builtin and then its argument prototype would still apply. */
54078 char $ac_func ();
54079 /* The GNU C library defines this for functions which it implements
54080 to always fail with ENOSYS. Some functions are actually named
54081 something starting with __ and the normal name is an alias. */
54082 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54083 choke me
54084 #else
54085 char (*f) () = $ac_func;
54086 #endif
54087 #ifdef __cplusplus
54088 }
54089 #endif
54090
54091 int
54092 main ()
54093 {
54094 return f != $ac_func;
54095 ;
54096 return 0;
54097 }
54098 _ACEOF
54099 rm -f conftest.$ac_objext conftest$ac_exeext
54100 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54101 (eval $ac_link) 2>conftest.er1
54102 ac_status=$?
54103 grep -v '^ *+' conftest.er1 >conftest.err
54104 rm -f conftest.er1
54105 cat conftest.err >&5
54106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54107 (exit $ac_status); } &&
54108 { ac_try='test -z "$ac_c_werror_flag"
54109 || test ! -s conftest.err'
54110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54111 (eval $ac_try) 2>&5
54112 ac_status=$?
54113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54114 (exit $ac_status); }; } &&
54115 { ac_try='test -s conftest$ac_exeext'
54116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54117 (eval $ac_try) 2>&5
54118 ac_status=$?
54119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54120 (exit $ac_status); }; }; then
54121 eval "$as_ac_var=yes"
54122 else
54123 echo "$as_me: failed program was:" >&5
54124 sed 's/^/| /' conftest.$ac_ext >&5
54125
54126 eval "$as_ac_var=no"
54127 fi
54128 rm -f conftest.err conftest.$ac_objext \
54129 conftest$ac_exeext conftest.$ac_ext
54130 fi
54131 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54132 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54133 if test `eval echo '${'$as_ac_var'}'` = yes; then
54134 cat >>confdefs.h <<_ACEOF
54135 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54136 _ACEOF
54137
54138 fi
54139 done
54140
54141 fi
54142 fi
54143
54144
54145
54146
54147
54148
54149 echo "$as_me:$LINENO: checking for copysign declaration" >&5
54150 echo $ECHO_N "checking for copysign declaration... $ECHO_C" >&6
54151 if test x${glibcxx_cv_func_copysign_use+set} != xset; then
54152 if test "${glibcxx_cv_func_copysign_use+set}" = set; then
54153 echo $ECHO_N "(cached) $ECHO_C" >&6
54154 else
54155
54156
54157
54158 ac_ext=cc
54159 ac_cpp='$CXXCPP $CPPFLAGS'
54160 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54161 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54162 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54163
54164 cat >conftest.$ac_ext <<_ACEOF
54165 /* confdefs.h. */
54166 _ACEOF
54167 cat confdefs.h >>conftest.$ac_ext
54168 cat >>conftest.$ac_ext <<_ACEOF
54169 /* end confdefs.h. */
54170 #include <math.h>
54171 int
54172 main ()
54173 {
54174 copysign(0, 0);
54175 ;
54176 return 0;
54177 }
54178 _ACEOF
54179 rm -f conftest.$ac_objext
54180 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54181 (eval $ac_compile) 2>conftest.er1
54182 ac_status=$?
54183 grep -v '^ *+' conftest.er1 >conftest.err
54184 rm -f conftest.er1
54185 cat conftest.err >&5
54186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54187 (exit $ac_status); } &&
54188 { ac_try='test -z "$ac_cxx_werror_flag"
54189 || test ! -s conftest.err'
54190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54191 (eval $ac_try) 2>&5
54192 ac_status=$?
54193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54194 (exit $ac_status); }; } &&
54195 { ac_try='test -s conftest.$ac_objext'
54196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54197 (eval $ac_try) 2>&5
54198 ac_status=$?
54199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54200 (exit $ac_status); }; }; then
54201 glibcxx_cv_func_copysign_use=yes
54202 else
54203 echo "$as_me: failed program was:" >&5
54204 sed 's/^/| /' conftest.$ac_ext >&5
54205
54206 glibcxx_cv_func_copysign_use=no
54207 fi
54208 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54209 ac_ext=c
54210 ac_cpp='$CPP $CPPFLAGS'
54211 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54212 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54213 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54214
54215
54216 fi
54217
54218 fi
54219 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysign_use" >&5
54220 echo "${ECHO_T}$glibcxx_cv_func_copysign_use" >&6
54221
54222 if test x$glibcxx_cv_func_copysign_use = x"yes"; then
54223
54224 for ac_func in copysign
54225 do
54226 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54227 echo "$as_me:$LINENO: checking for $ac_func" >&5
54228 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54229 if eval "test \"\${$as_ac_var+set}\" = set"; then
54230 echo $ECHO_N "(cached) $ECHO_C" >&6
54231 else
54232 if test x$gcc_no_link = xyes; then
54233 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54234 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54235 { (exit 1); exit 1; }; }
54236 fi
54237 cat >conftest.$ac_ext <<_ACEOF
54238 /* confdefs.h. */
54239 _ACEOF
54240 cat confdefs.h >>conftest.$ac_ext
54241 cat >>conftest.$ac_ext <<_ACEOF
54242 /* end confdefs.h. */
54243 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54244 For example, HP-UX 11i <limits.h> declares gettimeofday. */
54245 #define $ac_func innocuous_$ac_func
54246
54247 /* System header to define __stub macros and hopefully few prototypes,
54248 which can conflict with char $ac_func (); below.
54249 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54250 <limits.h> exists even on freestanding compilers. */
54251
54252 #ifdef __STDC__
54253 # include <limits.h>
54254 #else
54255 # include <assert.h>
54256 #endif
54257
54258 #undef $ac_func
54259
54260 /* Override any gcc2 internal prototype to avoid an error. */
54261 #ifdef __cplusplus
54262 extern "C"
54263 {
54264 #endif
54265 /* We use char because int might match the return type of a gcc2
54266 builtin and then its argument prototype would still apply. */
54267 char $ac_func ();
54268 /* The GNU C library defines this for functions which it implements
54269 to always fail with ENOSYS. Some functions are actually named
54270 something starting with __ and the normal name is an alias. */
54271 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54272 choke me
54273 #else
54274 char (*f) () = $ac_func;
54275 #endif
54276 #ifdef __cplusplus
54277 }
54278 #endif
54279
54280 int
54281 main ()
54282 {
54283 return f != $ac_func;
54284 ;
54285 return 0;
54286 }
54287 _ACEOF
54288 rm -f conftest.$ac_objext conftest$ac_exeext
54289 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54290 (eval $ac_link) 2>conftest.er1
54291 ac_status=$?
54292 grep -v '^ *+' conftest.er1 >conftest.err
54293 rm -f conftest.er1
54294 cat conftest.err >&5
54295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54296 (exit $ac_status); } &&
54297 { ac_try='test -z "$ac_c_werror_flag"
54298 || test ! -s conftest.err'
54299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54300 (eval $ac_try) 2>&5
54301 ac_status=$?
54302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54303 (exit $ac_status); }; } &&
54304 { ac_try='test -s conftest$ac_exeext'
54305 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54306 (eval $ac_try) 2>&5
54307 ac_status=$?
54308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54309 (exit $ac_status); }; }; then
54310 eval "$as_ac_var=yes"
54311 else
54312 echo "$as_me: failed program was:" >&5
54313 sed 's/^/| /' conftest.$ac_ext >&5
54314
54315 eval "$as_ac_var=no"
54316 fi
54317 rm -f conftest.err conftest.$ac_objext \
54318 conftest$ac_exeext conftest.$ac_ext
54319 fi
54320 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54321 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54322 if test `eval echo '${'$as_ac_var'}'` = yes; then
54323 cat >>confdefs.h <<_ACEOF
54324 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54325 _ACEOF
54326
54327 fi
54328 done
54329
54330 else
54331
54332 echo "$as_me:$LINENO: checking for _copysign declaration" >&5
54333 echo $ECHO_N "checking for _copysign declaration... $ECHO_C" >&6
54334 if test x${glibcxx_cv_func__copysign_use+set} != xset; then
54335 if test "${glibcxx_cv_func__copysign_use+set}" = set; then
54336 echo $ECHO_N "(cached) $ECHO_C" >&6
54337 else
54338
54339
54340
54341 ac_ext=cc
54342 ac_cpp='$CXXCPP $CPPFLAGS'
54343 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54344 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54345 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54346
54347 cat >conftest.$ac_ext <<_ACEOF
54348 /* confdefs.h. */
54349 _ACEOF
54350 cat confdefs.h >>conftest.$ac_ext
54351 cat >>conftest.$ac_ext <<_ACEOF
54352 /* end confdefs.h. */
54353 #include <math.h>
54354 int
54355 main ()
54356 {
54357 _copysign(0, 0);
54358 ;
54359 return 0;
54360 }
54361 _ACEOF
54362 rm -f conftest.$ac_objext
54363 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54364 (eval $ac_compile) 2>conftest.er1
54365 ac_status=$?
54366 grep -v '^ *+' conftest.er1 >conftest.err
54367 rm -f conftest.er1
54368 cat conftest.err >&5
54369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54370 (exit $ac_status); } &&
54371 { ac_try='test -z "$ac_cxx_werror_flag"
54372 || test ! -s conftest.err'
54373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54374 (eval $ac_try) 2>&5
54375 ac_status=$?
54376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54377 (exit $ac_status); }; } &&
54378 { ac_try='test -s conftest.$ac_objext'
54379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54380 (eval $ac_try) 2>&5
54381 ac_status=$?
54382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54383 (exit $ac_status); }; }; then
54384 glibcxx_cv_func__copysign_use=yes
54385 else
54386 echo "$as_me: failed program was:" >&5
54387 sed 's/^/| /' conftest.$ac_ext >&5
54388
54389 glibcxx_cv_func__copysign_use=no
54390 fi
54391 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54392 ac_ext=c
54393 ac_cpp='$CPP $CPPFLAGS'
54394 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54395 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54396 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54397
54398
54399 fi
54400
54401 fi
54402 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysign_use" >&5
54403 echo "${ECHO_T}$glibcxx_cv_func__copysign_use" >&6
54404
54405 if test x$glibcxx_cv_func__copysign_use = x"yes"; then
54406
54407 for ac_func in _copysign
54408 do
54409 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54410 echo "$as_me:$LINENO: checking for $ac_func" >&5
54411 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54412 if eval "test \"\${$as_ac_var+set}\" = set"; then
54413 echo $ECHO_N "(cached) $ECHO_C" >&6
54414 else
54415 if test x$gcc_no_link = xyes; then
54416 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54417 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54418 { (exit 1); exit 1; }; }
54419 fi
54420 cat >conftest.$ac_ext <<_ACEOF
54421 /* confdefs.h. */
54422 _ACEOF
54423 cat confdefs.h >>conftest.$ac_ext
54424 cat >>conftest.$ac_ext <<_ACEOF
54425 /* end confdefs.h. */
54426 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54427 For example, HP-UX 11i <limits.h> declares gettimeofday. */
54428 #define $ac_func innocuous_$ac_func
54429
54430 /* System header to define __stub macros and hopefully few prototypes,
54431 which can conflict with char $ac_func (); below.
54432 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54433 <limits.h> exists even on freestanding compilers. */
54434
54435 #ifdef __STDC__
54436 # include <limits.h>
54437 #else
54438 # include <assert.h>
54439 #endif
54440
54441 #undef $ac_func
54442
54443 /* Override any gcc2 internal prototype to avoid an error. */
54444 #ifdef __cplusplus
54445 extern "C"
54446 {
54447 #endif
54448 /* We use char because int might match the return type of a gcc2
54449 builtin and then its argument prototype would still apply. */
54450 char $ac_func ();
54451 /* The GNU C library defines this for functions which it implements
54452 to always fail with ENOSYS. Some functions are actually named
54453 something starting with __ and the normal name is an alias. */
54454 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54455 choke me
54456 #else
54457 char (*f) () = $ac_func;
54458 #endif
54459 #ifdef __cplusplus
54460 }
54461 #endif
54462
54463 int
54464 main ()
54465 {
54466 return f != $ac_func;
54467 ;
54468 return 0;
54469 }
54470 _ACEOF
54471 rm -f conftest.$ac_objext conftest$ac_exeext
54472 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54473 (eval $ac_link) 2>conftest.er1
54474 ac_status=$?
54475 grep -v '^ *+' conftest.er1 >conftest.err
54476 rm -f conftest.er1
54477 cat conftest.err >&5
54478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54479 (exit $ac_status); } &&
54480 { ac_try='test -z "$ac_c_werror_flag"
54481 || test ! -s conftest.err'
54482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54483 (eval $ac_try) 2>&5
54484 ac_status=$?
54485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54486 (exit $ac_status); }; } &&
54487 { ac_try='test -s conftest$ac_exeext'
54488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54489 (eval $ac_try) 2>&5
54490 ac_status=$?
54491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54492 (exit $ac_status); }; }; then
54493 eval "$as_ac_var=yes"
54494 else
54495 echo "$as_me: failed program was:" >&5
54496 sed 's/^/| /' conftest.$ac_ext >&5
54497
54498 eval "$as_ac_var=no"
54499 fi
54500 rm -f conftest.err conftest.$ac_objext \
54501 conftest$ac_exeext conftest.$ac_ext
54502 fi
54503 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54504 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54505 if test `eval echo '${'$as_ac_var'}'` = yes; then
54506 cat >>confdefs.h <<_ACEOF
54507 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54508 _ACEOF
54509
54510 fi
54511 done
54512
54513 fi
54514 fi
54515
54516
54517
54518
54519
54520
54521 echo "$as_me:$LINENO: checking for sincos declaration" >&5
54522 echo $ECHO_N "checking for sincos declaration... $ECHO_C" >&6
54523 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
54524 if test "${glibcxx_cv_func_sincos_use+set}" = set; then
54525 echo $ECHO_N "(cached) $ECHO_C" >&6
54526 else
54527
54528
54529
54530 ac_ext=cc
54531 ac_cpp='$CXXCPP $CPPFLAGS'
54532 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54533 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54534 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54535
54536 cat >conftest.$ac_ext <<_ACEOF
54537 /* confdefs.h. */
54538 _ACEOF
54539 cat confdefs.h >>conftest.$ac_ext
54540 cat >>conftest.$ac_ext <<_ACEOF
54541 /* end confdefs.h. */
54542 #include <math.h>
54543 int
54544 main ()
54545 {
54546 sincos(0, 0, 0);
54547 ;
54548 return 0;
54549 }
54550 _ACEOF
54551 rm -f conftest.$ac_objext
54552 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54553 (eval $ac_compile) 2>conftest.er1
54554 ac_status=$?
54555 grep -v '^ *+' conftest.er1 >conftest.err
54556 rm -f conftest.er1
54557 cat conftest.err >&5
54558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54559 (exit $ac_status); } &&
54560 { ac_try='test -z "$ac_cxx_werror_flag"
54561 || test ! -s conftest.err'
54562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54563 (eval $ac_try) 2>&5
54564 ac_status=$?
54565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54566 (exit $ac_status); }; } &&
54567 { ac_try='test -s conftest.$ac_objext'
54568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54569 (eval $ac_try) 2>&5
54570 ac_status=$?
54571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54572 (exit $ac_status); }; }; then
54573 glibcxx_cv_func_sincos_use=yes
54574 else
54575 echo "$as_me: failed program was:" >&5
54576 sed 's/^/| /' conftest.$ac_ext >&5
54577
54578 glibcxx_cv_func_sincos_use=no
54579 fi
54580 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54581 ac_ext=c
54582 ac_cpp='$CPP $CPPFLAGS'
54583 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54584 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54585 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54586
54587
54588 fi
54589
54590 fi
54591 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincos_use" >&5
54592 echo "${ECHO_T}$glibcxx_cv_func_sincos_use" >&6
54593
54594 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
54595
54596 for ac_func in sincos
54597 do
54598 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54599 echo "$as_me:$LINENO: checking for $ac_func" >&5
54600 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54601 if eval "test \"\${$as_ac_var+set}\" = set"; then
54602 echo $ECHO_N "(cached) $ECHO_C" >&6
54603 else
54604 if test x$gcc_no_link = xyes; then
54605 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54606 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54607 { (exit 1); exit 1; }; }
54608 fi
54609 cat >conftest.$ac_ext <<_ACEOF
54610 /* confdefs.h. */
54611 _ACEOF
54612 cat confdefs.h >>conftest.$ac_ext
54613 cat >>conftest.$ac_ext <<_ACEOF
54614 /* end confdefs.h. */
54615 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54616 For example, HP-UX 11i <limits.h> declares gettimeofday. */
54617 #define $ac_func innocuous_$ac_func
54618
54619 /* System header to define __stub macros and hopefully few prototypes,
54620 which can conflict with char $ac_func (); below.
54621 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54622 <limits.h> exists even on freestanding compilers. */
54623
54624 #ifdef __STDC__
54625 # include <limits.h>
54626 #else
54627 # include <assert.h>
54628 #endif
54629
54630 #undef $ac_func
54631
54632 /* Override any gcc2 internal prototype to avoid an error. */
54633 #ifdef __cplusplus
54634 extern "C"
54635 {
54636 #endif
54637 /* We use char because int might match the return type of a gcc2
54638 builtin and then its argument prototype would still apply. */
54639 char $ac_func ();
54640 /* The GNU C library defines this for functions which it implements
54641 to always fail with ENOSYS. Some functions are actually named
54642 something starting with __ and the normal name is an alias. */
54643 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54644 choke me
54645 #else
54646 char (*f) () = $ac_func;
54647 #endif
54648 #ifdef __cplusplus
54649 }
54650 #endif
54651
54652 int
54653 main ()
54654 {
54655 return f != $ac_func;
54656 ;
54657 return 0;
54658 }
54659 _ACEOF
54660 rm -f conftest.$ac_objext conftest$ac_exeext
54661 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54662 (eval $ac_link) 2>conftest.er1
54663 ac_status=$?
54664 grep -v '^ *+' conftest.er1 >conftest.err
54665 rm -f conftest.er1
54666 cat conftest.err >&5
54667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54668 (exit $ac_status); } &&
54669 { ac_try='test -z "$ac_c_werror_flag"
54670 || test ! -s conftest.err'
54671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54672 (eval $ac_try) 2>&5
54673 ac_status=$?
54674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54675 (exit $ac_status); }; } &&
54676 { ac_try='test -s conftest$ac_exeext'
54677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54678 (eval $ac_try) 2>&5
54679 ac_status=$?
54680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54681 (exit $ac_status); }; }; then
54682 eval "$as_ac_var=yes"
54683 else
54684 echo "$as_me: failed program was:" >&5
54685 sed 's/^/| /' conftest.$ac_ext >&5
54686
54687 eval "$as_ac_var=no"
54688 fi
54689 rm -f conftest.err conftest.$ac_objext \
54690 conftest$ac_exeext conftest.$ac_ext
54691 fi
54692 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54693 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54694 if test `eval echo '${'$as_ac_var'}'` = yes; then
54695 cat >>confdefs.h <<_ACEOF
54696 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54697 _ACEOF
54698
54699 fi
54700 done
54701
54702 else
54703
54704 echo "$as_me:$LINENO: checking for _sincos declaration" >&5
54705 echo $ECHO_N "checking for _sincos declaration... $ECHO_C" >&6
54706 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
54707 if test "${glibcxx_cv_func__sincos_use+set}" = set; then
54708 echo $ECHO_N "(cached) $ECHO_C" >&6
54709 else
54710
54711
54712
54713 ac_ext=cc
54714 ac_cpp='$CXXCPP $CPPFLAGS'
54715 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54716 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54717 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54718
54719 cat >conftest.$ac_ext <<_ACEOF
54720 /* confdefs.h. */
54721 _ACEOF
54722 cat confdefs.h >>conftest.$ac_ext
54723 cat >>conftest.$ac_ext <<_ACEOF
54724 /* end confdefs.h. */
54725 #include <math.h>
54726 int
54727 main ()
54728 {
54729 _sincos(0, 0, 0);
54730 ;
54731 return 0;
54732 }
54733 _ACEOF
54734 rm -f conftest.$ac_objext
54735 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54736 (eval $ac_compile) 2>conftest.er1
54737 ac_status=$?
54738 grep -v '^ *+' conftest.er1 >conftest.err
54739 rm -f conftest.er1
54740 cat conftest.err >&5
54741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54742 (exit $ac_status); } &&
54743 { ac_try='test -z "$ac_cxx_werror_flag"
54744 || test ! -s conftest.err'
54745 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54746 (eval $ac_try) 2>&5
54747 ac_status=$?
54748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54749 (exit $ac_status); }; } &&
54750 { ac_try='test -s conftest.$ac_objext'
54751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54752 (eval $ac_try) 2>&5
54753 ac_status=$?
54754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54755 (exit $ac_status); }; }; then
54756 glibcxx_cv_func__sincos_use=yes
54757 else
54758 echo "$as_me: failed program was:" >&5
54759 sed 's/^/| /' conftest.$ac_ext >&5
54760
54761 glibcxx_cv_func__sincos_use=no
54762 fi
54763 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54764 ac_ext=c
54765 ac_cpp='$CPP $CPPFLAGS'
54766 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54767 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54768 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54769
54770
54771 fi
54772
54773 fi
54774 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincos_use" >&5
54775 echo "${ECHO_T}$glibcxx_cv_func__sincos_use" >&6
54776
54777 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
54778
54779 for ac_func in _sincos
54780 do
54781 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54782 echo "$as_me:$LINENO: checking for $ac_func" >&5
54783 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54784 if eval "test \"\${$as_ac_var+set}\" = set"; then
54785 echo $ECHO_N "(cached) $ECHO_C" >&6
54786 else
54787 if test x$gcc_no_link = xyes; then
54788 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54789 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54790 { (exit 1); exit 1; }; }
54791 fi
54792 cat >conftest.$ac_ext <<_ACEOF
54793 /* confdefs.h. */
54794 _ACEOF
54795 cat confdefs.h >>conftest.$ac_ext
54796 cat >>conftest.$ac_ext <<_ACEOF
54797 /* end confdefs.h. */
54798 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54799 For example, HP-UX 11i <limits.h> declares gettimeofday. */
54800 #define $ac_func innocuous_$ac_func
54801
54802 /* System header to define __stub macros and hopefully few prototypes,
54803 which can conflict with char $ac_func (); below.
54804 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54805 <limits.h> exists even on freestanding compilers. */
54806
54807 #ifdef __STDC__
54808 # include <limits.h>
54809 #else
54810 # include <assert.h>
54811 #endif
54812
54813 #undef $ac_func
54814
54815 /* Override any gcc2 internal prototype to avoid an error. */
54816 #ifdef __cplusplus
54817 extern "C"
54818 {
54819 #endif
54820 /* We use char because int might match the return type of a gcc2
54821 builtin and then its argument prototype would still apply. */
54822 char $ac_func ();
54823 /* The GNU C library defines this for functions which it implements
54824 to always fail with ENOSYS. Some functions are actually named
54825 something starting with __ and the normal name is an alias. */
54826 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54827 choke me
54828 #else
54829 char (*f) () = $ac_func;
54830 #endif
54831 #ifdef __cplusplus
54832 }
54833 #endif
54834
54835 int
54836 main ()
54837 {
54838 return f != $ac_func;
54839 ;
54840 return 0;
54841 }
54842 _ACEOF
54843 rm -f conftest.$ac_objext conftest$ac_exeext
54844 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54845 (eval $ac_link) 2>conftest.er1
54846 ac_status=$?
54847 grep -v '^ *+' conftest.er1 >conftest.err
54848 rm -f conftest.er1
54849 cat conftest.err >&5
54850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54851 (exit $ac_status); } &&
54852 { ac_try='test -z "$ac_c_werror_flag"
54853 || test ! -s conftest.err'
54854 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54855 (eval $ac_try) 2>&5
54856 ac_status=$?
54857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54858 (exit $ac_status); }; } &&
54859 { ac_try='test -s conftest$ac_exeext'
54860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54861 (eval $ac_try) 2>&5
54862 ac_status=$?
54863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54864 (exit $ac_status); }; }; then
54865 eval "$as_ac_var=yes"
54866 else
54867 echo "$as_me: failed program was:" >&5
54868 sed 's/^/| /' conftest.$ac_ext >&5
54869
54870 eval "$as_ac_var=no"
54871 fi
54872 rm -f conftest.err conftest.$ac_objext \
54873 conftest$ac_exeext conftest.$ac_ext
54874 fi
54875 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54876 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54877 if test `eval echo '${'$as_ac_var'}'` = yes; then
54878 cat >>confdefs.h <<_ACEOF
54879 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54880 _ACEOF
54881
54882 fi
54883 done
54884
54885 fi
54886 fi
54887
54888
54889
54890
54891
54892
54893 echo "$as_me:$LINENO: checking for fpclass declaration" >&5
54894 echo $ECHO_N "checking for fpclass declaration... $ECHO_C" >&6
54895 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
54896 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then
54897 echo $ECHO_N "(cached) $ECHO_C" >&6
54898 else
54899
54900
54901
54902 ac_ext=cc
54903 ac_cpp='$CXXCPP $CPPFLAGS'
54904 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54905 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54906 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54907
54908 cat >conftest.$ac_ext <<_ACEOF
54909 /* confdefs.h. */
54910 _ACEOF
54911 cat confdefs.h >>conftest.$ac_ext
54912 cat >>conftest.$ac_ext <<_ACEOF
54913 /* end confdefs.h. */
54914 #include <math.h>
54915 #ifdef HAVE_IEEEFP_H
54916 #include <ieeefp.h>
54917 #endif
54918
54919 int
54920 main ()
54921 {
54922 fpclass(0);
54923 ;
54924 return 0;
54925 }
54926 _ACEOF
54927 rm -f conftest.$ac_objext
54928 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54929 (eval $ac_compile) 2>conftest.er1
54930 ac_status=$?
54931 grep -v '^ *+' conftest.er1 >conftest.err
54932 rm -f conftest.er1
54933 cat conftest.err >&5
54934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54935 (exit $ac_status); } &&
54936 { ac_try='test -z "$ac_cxx_werror_flag"
54937 || test ! -s conftest.err'
54938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54939 (eval $ac_try) 2>&5
54940 ac_status=$?
54941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54942 (exit $ac_status); }; } &&
54943 { ac_try='test -s conftest.$ac_objext'
54944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54945 (eval $ac_try) 2>&5
54946 ac_status=$?
54947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54948 (exit $ac_status); }; }; then
54949 glibcxx_cv_func_fpclass_use=yes
54950 else
54951 echo "$as_me: failed program was:" >&5
54952 sed 's/^/| /' conftest.$ac_ext >&5
54953
54954 glibcxx_cv_func_fpclass_use=no
54955 fi
54956 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54957 ac_ext=c
54958 ac_cpp='$CPP $CPPFLAGS'
54959 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54960 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54961 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54962
54963
54964 fi
54965
54966 fi
54967 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fpclass_use" >&5
54968 echo "${ECHO_T}$glibcxx_cv_func_fpclass_use" >&6
54969
54970 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
54971
54972 for ac_func in fpclass
54973 do
54974 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54975 echo "$as_me:$LINENO: checking for $ac_func" >&5
54976 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54977 if eval "test \"\${$as_ac_var+set}\" = set"; then
54978 echo $ECHO_N "(cached) $ECHO_C" >&6
54979 else
54980 if test x$gcc_no_link = xyes; then
54981 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54982 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54983 { (exit 1); exit 1; }; }
54984 fi
54985 cat >conftest.$ac_ext <<_ACEOF
54986 /* confdefs.h. */
54987 _ACEOF
54988 cat confdefs.h >>conftest.$ac_ext
54989 cat >>conftest.$ac_ext <<_ACEOF
54990 /* end confdefs.h. */
54991 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54992 For example, HP-UX 11i <limits.h> declares gettimeofday. */
54993 #define $ac_func innocuous_$ac_func
54994
54995 /* System header to define __stub macros and hopefully few prototypes,
54996 which can conflict with char $ac_func (); below.
54997 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54998 <limits.h> exists even on freestanding compilers. */
54999
55000 #ifdef __STDC__
55001 # include <limits.h>
55002 #else
55003 # include <assert.h>
55004 #endif
55005
55006 #undef $ac_func
55007
55008 /* Override any gcc2 internal prototype to avoid an error. */
55009 #ifdef __cplusplus
55010 extern "C"
55011 {
55012 #endif
55013 /* We use char because int might match the return type of a gcc2
55014 builtin and then its argument prototype would still apply. */
55015 char $ac_func ();
55016 /* The GNU C library defines this for functions which it implements
55017 to always fail with ENOSYS. Some functions are actually named
55018 something starting with __ and the normal name is an alias. */
55019 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55020 choke me
55021 #else
55022 char (*f) () = $ac_func;
55023 #endif
55024 #ifdef __cplusplus
55025 }
55026 #endif
55027
55028 int
55029 main ()
55030 {
55031 return f != $ac_func;
55032 ;
55033 return 0;
55034 }
55035 _ACEOF
55036 rm -f conftest.$ac_objext conftest$ac_exeext
55037 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55038 (eval $ac_link) 2>conftest.er1
55039 ac_status=$?
55040 grep -v '^ *+' conftest.er1 >conftest.err
55041 rm -f conftest.er1
55042 cat conftest.err >&5
55043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55044 (exit $ac_status); } &&
55045 { ac_try='test -z "$ac_c_werror_flag"
55046 || test ! -s conftest.err'
55047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55048 (eval $ac_try) 2>&5
55049 ac_status=$?
55050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55051 (exit $ac_status); }; } &&
55052 { ac_try='test -s conftest$ac_exeext'
55053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55054 (eval $ac_try) 2>&5
55055 ac_status=$?
55056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55057 (exit $ac_status); }; }; then
55058 eval "$as_ac_var=yes"
55059 else
55060 echo "$as_me: failed program was:" >&5
55061 sed 's/^/| /' conftest.$ac_ext >&5
55062
55063 eval "$as_ac_var=no"
55064 fi
55065 rm -f conftest.err conftest.$ac_objext \
55066 conftest$ac_exeext conftest.$ac_ext
55067 fi
55068 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55069 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55070 if test `eval echo '${'$as_ac_var'}'` = yes; then
55071 cat >>confdefs.h <<_ACEOF
55072 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55073 _ACEOF
55074
55075 fi
55076 done
55077
55078 else
55079
55080 echo "$as_me:$LINENO: checking for _fpclass declaration" >&5
55081 echo $ECHO_N "checking for _fpclass declaration... $ECHO_C" >&6
55082 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
55083 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then
55084 echo $ECHO_N "(cached) $ECHO_C" >&6
55085 else
55086
55087
55088
55089 ac_ext=cc
55090 ac_cpp='$CXXCPP $CPPFLAGS'
55091 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55092 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55093 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55094
55095 cat >conftest.$ac_ext <<_ACEOF
55096 /* confdefs.h. */
55097 _ACEOF
55098 cat confdefs.h >>conftest.$ac_ext
55099 cat >>conftest.$ac_ext <<_ACEOF
55100 /* end confdefs.h. */
55101 #include <math.h>
55102 #ifdef HAVE_IEEEFP_H
55103 #include <ieeefp.h>
55104 #endif
55105
55106 int
55107 main ()
55108 {
55109 _fpclass(0);
55110 ;
55111 return 0;
55112 }
55113 _ACEOF
55114 rm -f conftest.$ac_objext
55115 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55116 (eval $ac_compile) 2>conftest.er1
55117 ac_status=$?
55118 grep -v '^ *+' conftest.er1 >conftest.err
55119 rm -f conftest.er1
55120 cat conftest.err >&5
55121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55122 (exit $ac_status); } &&
55123 { ac_try='test -z "$ac_cxx_werror_flag"
55124 || test ! -s conftest.err'
55125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55126 (eval $ac_try) 2>&5
55127 ac_status=$?
55128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55129 (exit $ac_status); }; } &&
55130 { ac_try='test -s conftest.$ac_objext'
55131 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55132 (eval $ac_try) 2>&5
55133 ac_status=$?
55134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55135 (exit $ac_status); }; }; then
55136 glibcxx_cv_func__fpclass_use=yes
55137 else
55138 echo "$as_me: failed program was:" >&5
55139 sed 's/^/| /' conftest.$ac_ext >&5
55140
55141 glibcxx_cv_func__fpclass_use=no
55142 fi
55143 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55144 ac_ext=c
55145 ac_cpp='$CPP $CPPFLAGS'
55146 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55147 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55148 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55149
55150
55151 fi
55152
55153 fi
55154 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fpclass_use" >&5
55155 echo "${ECHO_T}$glibcxx_cv_func__fpclass_use" >&6
55156
55157 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
55158
55159 for ac_func in _fpclass
55160 do
55161 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55162 echo "$as_me:$LINENO: checking for $ac_func" >&5
55163 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55164 if eval "test \"\${$as_ac_var+set}\" = set"; then
55165 echo $ECHO_N "(cached) $ECHO_C" >&6
55166 else
55167 if test x$gcc_no_link = xyes; then
55168 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55169 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55170 { (exit 1); exit 1; }; }
55171 fi
55172 cat >conftest.$ac_ext <<_ACEOF
55173 /* confdefs.h. */
55174 _ACEOF
55175 cat confdefs.h >>conftest.$ac_ext
55176 cat >>conftest.$ac_ext <<_ACEOF
55177 /* end confdefs.h. */
55178 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55179 For example, HP-UX 11i <limits.h> declares gettimeofday. */
55180 #define $ac_func innocuous_$ac_func
55181
55182 /* System header to define __stub macros and hopefully few prototypes,
55183 which can conflict with char $ac_func (); below.
55184 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55185 <limits.h> exists even on freestanding compilers. */
55186
55187 #ifdef __STDC__
55188 # include <limits.h>
55189 #else
55190 # include <assert.h>
55191 #endif
55192
55193 #undef $ac_func
55194
55195 /* Override any gcc2 internal prototype to avoid an error. */
55196 #ifdef __cplusplus
55197 extern "C"
55198 {
55199 #endif
55200 /* We use char because int might match the return type of a gcc2
55201 builtin and then its argument prototype would still apply. */
55202 char $ac_func ();
55203 /* The GNU C library defines this for functions which it implements
55204 to always fail with ENOSYS. Some functions are actually named
55205 something starting with __ and the normal name is an alias. */
55206 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55207 choke me
55208 #else
55209 char (*f) () = $ac_func;
55210 #endif
55211 #ifdef __cplusplus
55212 }
55213 #endif
55214
55215 int
55216 main ()
55217 {
55218 return f != $ac_func;
55219 ;
55220 return 0;
55221 }
55222 _ACEOF
55223 rm -f conftest.$ac_objext conftest$ac_exeext
55224 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55225 (eval $ac_link) 2>conftest.er1
55226 ac_status=$?
55227 grep -v '^ *+' conftest.er1 >conftest.err
55228 rm -f conftest.er1
55229 cat conftest.err >&5
55230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55231 (exit $ac_status); } &&
55232 { ac_try='test -z "$ac_c_werror_flag"
55233 || test ! -s conftest.err'
55234 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55235 (eval $ac_try) 2>&5
55236 ac_status=$?
55237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55238 (exit $ac_status); }; } &&
55239 { ac_try='test -s conftest$ac_exeext'
55240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55241 (eval $ac_try) 2>&5
55242 ac_status=$?
55243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55244 (exit $ac_status); }; }; then
55245 eval "$as_ac_var=yes"
55246 else
55247 echo "$as_me: failed program was:" >&5
55248 sed 's/^/| /' conftest.$ac_ext >&5
55249
55250 eval "$as_ac_var=no"
55251 fi
55252 rm -f conftest.err conftest.$ac_objext \
55253 conftest$ac_exeext conftest.$ac_ext
55254 fi
55255 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55256 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55257 if test `eval echo '${'$as_ac_var'}'` = yes; then
55258 cat >>confdefs.h <<_ACEOF
55259 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55260 _ACEOF
55261
55262 fi
55263 done
55264
55265 fi
55266 fi
55267
55268
55269
55270
55271
55272
55273 echo "$as_me:$LINENO: checking for qfpclass declaration" >&5
55274 echo $ECHO_N "checking for qfpclass declaration... $ECHO_C" >&6
55275 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
55276 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then
55277 echo $ECHO_N "(cached) $ECHO_C" >&6
55278 else
55279
55280
55281
55282 ac_ext=cc
55283 ac_cpp='$CXXCPP $CPPFLAGS'
55284 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55285 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55286 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55287
55288 cat >conftest.$ac_ext <<_ACEOF
55289 /* confdefs.h. */
55290 _ACEOF
55291 cat confdefs.h >>conftest.$ac_ext
55292 cat >>conftest.$ac_ext <<_ACEOF
55293 /* end confdefs.h. */
55294 #include <math.h>
55295 #ifdef HAVE_IEEEFP_H
55296 #include <ieeefp.h>
55297 #endif
55298
55299 int
55300 main ()
55301 {
55302 qfpclass(0);
55303 ;
55304 return 0;
55305 }
55306 _ACEOF
55307 rm -f conftest.$ac_objext
55308 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55309 (eval $ac_compile) 2>conftest.er1
55310 ac_status=$?
55311 grep -v '^ *+' conftest.er1 >conftest.err
55312 rm -f conftest.er1
55313 cat conftest.err >&5
55314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55315 (exit $ac_status); } &&
55316 { ac_try='test -z "$ac_cxx_werror_flag"
55317 || test ! -s conftest.err'
55318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55319 (eval $ac_try) 2>&5
55320 ac_status=$?
55321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55322 (exit $ac_status); }; } &&
55323 { ac_try='test -s conftest.$ac_objext'
55324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55325 (eval $ac_try) 2>&5
55326 ac_status=$?
55327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55328 (exit $ac_status); }; }; then
55329 glibcxx_cv_func_qfpclass_use=yes
55330 else
55331 echo "$as_me: failed program was:" >&5
55332 sed 's/^/| /' conftest.$ac_ext >&5
55333
55334 glibcxx_cv_func_qfpclass_use=no
55335 fi
55336 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55337 ac_ext=c
55338 ac_cpp='$CPP $CPPFLAGS'
55339 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55340 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55341 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55342
55343
55344 fi
55345
55346 fi
55347 echo "$as_me:$LINENO: result: $glibcxx_cv_func_qfpclass_use" >&5
55348 echo "${ECHO_T}$glibcxx_cv_func_qfpclass_use" >&6
55349
55350 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
55351
55352 for ac_func in qfpclass
55353 do
55354 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55355 echo "$as_me:$LINENO: checking for $ac_func" >&5
55356 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55357 if eval "test \"\${$as_ac_var+set}\" = set"; then
55358 echo $ECHO_N "(cached) $ECHO_C" >&6
55359 else
55360 if test x$gcc_no_link = xyes; then
55361 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55362 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55363 { (exit 1); exit 1; }; }
55364 fi
55365 cat >conftest.$ac_ext <<_ACEOF
55366 /* confdefs.h. */
55367 _ACEOF
55368 cat confdefs.h >>conftest.$ac_ext
55369 cat >>conftest.$ac_ext <<_ACEOF
55370 /* end confdefs.h. */
55371 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55372 For example, HP-UX 11i <limits.h> declares gettimeofday. */
55373 #define $ac_func innocuous_$ac_func
55374
55375 /* System header to define __stub macros and hopefully few prototypes,
55376 which can conflict with char $ac_func (); below.
55377 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55378 <limits.h> exists even on freestanding compilers. */
55379
55380 #ifdef __STDC__
55381 # include <limits.h>
55382 #else
55383 # include <assert.h>
55384 #endif
55385
55386 #undef $ac_func
55387
55388 /* Override any gcc2 internal prototype to avoid an error. */
55389 #ifdef __cplusplus
55390 extern "C"
55391 {
55392 #endif
55393 /* We use char because int might match the return type of a gcc2
55394 builtin and then its argument prototype would still apply. */
55395 char $ac_func ();
55396 /* The GNU C library defines this for functions which it implements
55397 to always fail with ENOSYS. Some functions are actually named
55398 something starting with __ and the normal name is an alias. */
55399 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55400 choke me
55401 #else
55402 char (*f) () = $ac_func;
55403 #endif
55404 #ifdef __cplusplus
55405 }
55406 #endif
55407
55408 int
55409 main ()
55410 {
55411 return f != $ac_func;
55412 ;
55413 return 0;
55414 }
55415 _ACEOF
55416 rm -f conftest.$ac_objext conftest$ac_exeext
55417 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55418 (eval $ac_link) 2>conftest.er1
55419 ac_status=$?
55420 grep -v '^ *+' conftest.er1 >conftest.err
55421 rm -f conftest.er1
55422 cat conftest.err >&5
55423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55424 (exit $ac_status); } &&
55425 { ac_try='test -z "$ac_c_werror_flag"
55426 || test ! -s conftest.err'
55427 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55428 (eval $ac_try) 2>&5
55429 ac_status=$?
55430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55431 (exit $ac_status); }; } &&
55432 { ac_try='test -s conftest$ac_exeext'
55433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55434 (eval $ac_try) 2>&5
55435 ac_status=$?
55436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55437 (exit $ac_status); }; }; then
55438 eval "$as_ac_var=yes"
55439 else
55440 echo "$as_me: failed program was:" >&5
55441 sed 's/^/| /' conftest.$ac_ext >&5
55442
55443 eval "$as_ac_var=no"
55444 fi
55445 rm -f conftest.err conftest.$ac_objext \
55446 conftest$ac_exeext conftest.$ac_ext
55447 fi
55448 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55449 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55450 if test `eval echo '${'$as_ac_var'}'` = yes; then
55451 cat >>confdefs.h <<_ACEOF
55452 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55453 _ACEOF
55454
55455 fi
55456 done
55457
55458 else
55459
55460 echo "$as_me:$LINENO: checking for _qfpclass declaration" >&5
55461 echo $ECHO_N "checking for _qfpclass declaration... $ECHO_C" >&6
55462 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
55463 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then
55464 echo $ECHO_N "(cached) $ECHO_C" >&6
55465 else
55466
55467
55468
55469 ac_ext=cc
55470 ac_cpp='$CXXCPP $CPPFLAGS'
55471 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55472 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55473 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55474
55475 cat >conftest.$ac_ext <<_ACEOF
55476 /* confdefs.h. */
55477 _ACEOF
55478 cat confdefs.h >>conftest.$ac_ext
55479 cat >>conftest.$ac_ext <<_ACEOF
55480 /* end confdefs.h. */
55481 #include <math.h>
55482 #ifdef HAVE_IEEEFP_H
55483 #include <ieeefp.h>
55484 #endif
55485
55486 int
55487 main ()
55488 {
55489 _qfpclass(0);
55490 ;
55491 return 0;
55492 }
55493 _ACEOF
55494 rm -f conftest.$ac_objext
55495 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55496 (eval $ac_compile) 2>conftest.er1
55497 ac_status=$?
55498 grep -v '^ *+' conftest.er1 >conftest.err
55499 rm -f conftest.er1
55500 cat conftest.err >&5
55501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55502 (exit $ac_status); } &&
55503 { ac_try='test -z "$ac_cxx_werror_flag"
55504 || test ! -s conftest.err'
55505 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55506 (eval $ac_try) 2>&5
55507 ac_status=$?
55508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55509 (exit $ac_status); }; } &&
55510 { ac_try='test -s conftest.$ac_objext'
55511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55512 (eval $ac_try) 2>&5
55513 ac_status=$?
55514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55515 (exit $ac_status); }; }; then
55516 glibcxx_cv_func__qfpclass_use=yes
55517 else
55518 echo "$as_me: failed program was:" >&5
55519 sed 's/^/| /' conftest.$ac_ext >&5
55520
55521 glibcxx_cv_func__qfpclass_use=no
55522 fi
55523 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55524 ac_ext=c
55525 ac_cpp='$CPP $CPPFLAGS'
55526 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55527 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55528 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55529
55530
55531 fi
55532
55533 fi
55534 echo "$as_me:$LINENO: result: $glibcxx_cv_func__qfpclass_use" >&5
55535 echo "${ECHO_T}$glibcxx_cv_func__qfpclass_use" >&6
55536
55537 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
55538
55539 for ac_func in _qfpclass
55540 do
55541 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55542 echo "$as_me:$LINENO: checking for $ac_func" >&5
55543 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55544 if eval "test \"\${$as_ac_var+set}\" = set"; then
55545 echo $ECHO_N "(cached) $ECHO_C" >&6
55546 else
55547 if test x$gcc_no_link = xyes; then
55548 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55549 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55550 { (exit 1); exit 1; }; }
55551 fi
55552 cat >conftest.$ac_ext <<_ACEOF
55553 /* confdefs.h. */
55554 _ACEOF
55555 cat confdefs.h >>conftest.$ac_ext
55556 cat >>conftest.$ac_ext <<_ACEOF
55557 /* end confdefs.h. */
55558 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55559 For example, HP-UX 11i <limits.h> declares gettimeofday. */
55560 #define $ac_func innocuous_$ac_func
55561
55562 /* System header to define __stub macros and hopefully few prototypes,
55563 which can conflict with char $ac_func (); below.
55564 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55565 <limits.h> exists even on freestanding compilers. */
55566
55567 #ifdef __STDC__
55568 # include <limits.h>
55569 #else
55570 # include <assert.h>
55571 #endif
55572
55573 #undef $ac_func
55574
55575 /* Override any gcc2 internal prototype to avoid an error. */
55576 #ifdef __cplusplus
55577 extern "C"
55578 {
55579 #endif
55580 /* We use char because int might match the return type of a gcc2
55581 builtin and then its argument prototype would still apply. */
55582 char $ac_func ();
55583 /* The GNU C library defines this for functions which it implements
55584 to always fail with ENOSYS. Some functions are actually named
55585 something starting with __ and the normal name is an alias. */
55586 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55587 choke me
55588 #else
55589 char (*f) () = $ac_func;
55590 #endif
55591 #ifdef __cplusplus
55592 }
55593 #endif
55594
55595 int
55596 main ()
55597 {
55598 return f != $ac_func;
55599 ;
55600 return 0;
55601 }
55602 _ACEOF
55603 rm -f conftest.$ac_objext conftest$ac_exeext
55604 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55605 (eval $ac_link) 2>conftest.er1
55606 ac_status=$?
55607 grep -v '^ *+' conftest.er1 >conftest.err
55608 rm -f conftest.er1
55609 cat conftest.err >&5
55610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55611 (exit $ac_status); } &&
55612 { ac_try='test -z "$ac_c_werror_flag"
55613 || test ! -s conftest.err'
55614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55615 (eval $ac_try) 2>&5
55616 ac_status=$?
55617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55618 (exit $ac_status); }; } &&
55619 { ac_try='test -s conftest$ac_exeext'
55620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55621 (eval $ac_try) 2>&5
55622 ac_status=$?
55623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55624 (exit $ac_status); }; }; then
55625 eval "$as_ac_var=yes"
55626 else
55627 echo "$as_me: failed program was:" >&5
55628 sed 's/^/| /' conftest.$ac_ext >&5
55629
55630 eval "$as_ac_var=no"
55631 fi
55632 rm -f conftest.err conftest.$ac_objext \
55633 conftest$ac_exeext conftest.$ac_ext
55634 fi
55635 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55636 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55637 if test `eval echo '${'$as_ac_var'}'` = yes; then
55638 cat >>confdefs.h <<_ACEOF
55639 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55640 _ACEOF
55641
55642 fi
55643 done
55644
55645 fi
55646 fi
55647
55648
55649
55650
55651
55652
55653 echo "$as_me:$LINENO: checking for hypot declaration" >&5
55654 echo $ECHO_N "checking for hypot declaration... $ECHO_C" >&6
55655 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
55656 if test "${glibcxx_cv_func_hypot_use+set}" = set; then
55657 echo $ECHO_N "(cached) $ECHO_C" >&6
55658 else
55659
55660
55661
55662 ac_ext=cc
55663 ac_cpp='$CXXCPP $CPPFLAGS'
55664 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55665 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55666 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55667
55668 cat >conftest.$ac_ext <<_ACEOF
55669 /* confdefs.h. */
55670 _ACEOF
55671 cat confdefs.h >>conftest.$ac_ext
55672 cat >>conftest.$ac_ext <<_ACEOF
55673 /* end confdefs.h. */
55674 #include <math.h>
55675 int
55676 main ()
55677 {
55678 hypot(0, 0);
55679 ;
55680 return 0;
55681 }
55682 _ACEOF
55683 rm -f conftest.$ac_objext
55684 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55685 (eval $ac_compile) 2>conftest.er1
55686 ac_status=$?
55687 grep -v '^ *+' conftest.er1 >conftest.err
55688 rm -f conftest.er1
55689 cat conftest.err >&5
55690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55691 (exit $ac_status); } &&
55692 { ac_try='test -z "$ac_cxx_werror_flag"
55693 || test ! -s conftest.err'
55694 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55695 (eval $ac_try) 2>&5
55696 ac_status=$?
55697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55698 (exit $ac_status); }; } &&
55699 { ac_try='test -s conftest.$ac_objext'
55700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55701 (eval $ac_try) 2>&5
55702 ac_status=$?
55703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55704 (exit $ac_status); }; }; then
55705 glibcxx_cv_func_hypot_use=yes
55706 else
55707 echo "$as_me: failed program was:" >&5
55708 sed 's/^/| /' conftest.$ac_ext >&5
55709
55710 glibcxx_cv_func_hypot_use=no
55711 fi
55712 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55713 ac_ext=c
55714 ac_cpp='$CPP $CPPFLAGS'
55715 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55716 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55717 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55718
55719
55720 fi
55721
55722 fi
55723 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypot_use" >&5
55724 echo "${ECHO_T}$glibcxx_cv_func_hypot_use" >&6
55725
55726 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
55727
55728 for ac_func in hypot
55729 do
55730 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55731 echo "$as_me:$LINENO: checking for $ac_func" >&5
55732 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55733 if eval "test \"\${$as_ac_var+set}\" = set"; then
55734 echo $ECHO_N "(cached) $ECHO_C" >&6
55735 else
55736 if test x$gcc_no_link = xyes; then
55737 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55738 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55739 { (exit 1); exit 1; }; }
55740 fi
55741 cat >conftest.$ac_ext <<_ACEOF
55742 /* confdefs.h. */
55743 _ACEOF
55744 cat confdefs.h >>conftest.$ac_ext
55745 cat >>conftest.$ac_ext <<_ACEOF
55746 /* end confdefs.h. */
55747 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55748 For example, HP-UX 11i <limits.h> declares gettimeofday. */
55749 #define $ac_func innocuous_$ac_func
55750
55751 /* System header to define __stub macros and hopefully few prototypes,
55752 which can conflict with char $ac_func (); below.
55753 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55754 <limits.h> exists even on freestanding compilers. */
55755
55756 #ifdef __STDC__
55757 # include <limits.h>
55758 #else
55759 # include <assert.h>
55760 #endif
55761
55762 #undef $ac_func
55763
55764 /* Override any gcc2 internal prototype to avoid an error. */
55765 #ifdef __cplusplus
55766 extern "C"
55767 {
55768 #endif
55769 /* We use char because int might match the return type of a gcc2
55770 builtin and then its argument prototype would still apply. */
55771 char $ac_func ();
55772 /* The GNU C library defines this for functions which it implements
55773 to always fail with ENOSYS. Some functions are actually named
55774 something starting with __ and the normal name is an alias. */
55775 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55776 choke me
55777 #else
55778 char (*f) () = $ac_func;
55779 #endif
55780 #ifdef __cplusplus
55781 }
55782 #endif
55783
55784 int
55785 main ()
55786 {
55787 return f != $ac_func;
55788 ;
55789 return 0;
55790 }
55791 _ACEOF
55792 rm -f conftest.$ac_objext conftest$ac_exeext
55793 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55794 (eval $ac_link) 2>conftest.er1
55795 ac_status=$?
55796 grep -v '^ *+' conftest.er1 >conftest.err
55797 rm -f conftest.er1
55798 cat conftest.err >&5
55799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55800 (exit $ac_status); } &&
55801 { ac_try='test -z "$ac_c_werror_flag"
55802 || test ! -s conftest.err'
55803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55804 (eval $ac_try) 2>&5
55805 ac_status=$?
55806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55807 (exit $ac_status); }; } &&
55808 { ac_try='test -s conftest$ac_exeext'
55809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55810 (eval $ac_try) 2>&5
55811 ac_status=$?
55812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55813 (exit $ac_status); }; }; then
55814 eval "$as_ac_var=yes"
55815 else
55816 echo "$as_me: failed program was:" >&5
55817 sed 's/^/| /' conftest.$ac_ext >&5
55818
55819 eval "$as_ac_var=no"
55820 fi
55821 rm -f conftest.err conftest.$ac_objext \
55822 conftest$ac_exeext conftest.$ac_ext
55823 fi
55824 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55825 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55826 if test `eval echo '${'$as_ac_var'}'` = yes; then
55827 cat >>confdefs.h <<_ACEOF
55828 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55829 _ACEOF
55830
55831 fi
55832 done
55833
55834 else
55835
55836 echo "$as_me:$LINENO: checking for _hypot declaration" >&5
55837 echo $ECHO_N "checking for _hypot declaration... $ECHO_C" >&6
55838 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
55839 if test "${glibcxx_cv_func__hypot_use+set}" = set; then
55840 echo $ECHO_N "(cached) $ECHO_C" >&6
55841 else
55842
55843
55844
55845 ac_ext=cc
55846 ac_cpp='$CXXCPP $CPPFLAGS'
55847 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55848 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55849 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55850
55851 cat >conftest.$ac_ext <<_ACEOF
55852 /* confdefs.h. */
55853 _ACEOF
55854 cat confdefs.h >>conftest.$ac_ext
55855 cat >>conftest.$ac_ext <<_ACEOF
55856 /* end confdefs.h. */
55857 #include <math.h>
55858 int
55859 main ()
55860 {
55861 _hypot(0, 0);
55862 ;
55863 return 0;
55864 }
55865 _ACEOF
55866 rm -f conftest.$ac_objext
55867 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55868 (eval $ac_compile) 2>conftest.er1
55869 ac_status=$?
55870 grep -v '^ *+' conftest.er1 >conftest.err
55871 rm -f conftest.er1
55872 cat conftest.err >&5
55873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55874 (exit $ac_status); } &&
55875 { ac_try='test -z "$ac_cxx_werror_flag"
55876 || test ! -s conftest.err'
55877 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55878 (eval $ac_try) 2>&5
55879 ac_status=$?
55880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55881 (exit $ac_status); }; } &&
55882 { ac_try='test -s conftest.$ac_objext'
55883 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55884 (eval $ac_try) 2>&5
55885 ac_status=$?
55886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55887 (exit $ac_status); }; }; then
55888 glibcxx_cv_func__hypot_use=yes
55889 else
55890 echo "$as_me: failed program was:" >&5
55891 sed 's/^/| /' conftest.$ac_ext >&5
55892
55893 glibcxx_cv_func__hypot_use=no
55894 fi
55895 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55896 ac_ext=c
55897 ac_cpp='$CPP $CPPFLAGS'
55898 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55899 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55900 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55901
55902
55903 fi
55904
55905 fi
55906 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypot_use" >&5
55907 echo "${ECHO_T}$glibcxx_cv_func__hypot_use" >&6
55908
55909 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
55910
55911 for ac_func in _hypot
55912 do
55913 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55914 echo "$as_me:$LINENO: checking for $ac_func" >&5
55915 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55916 if eval "test \"\${$as_ac_var+set}\" = set"; then
55917 echo $ECHO_N "(cached) $ECHO_C" >&6
55918 else
55919 if test x$gcc_no_link = xyes; then
55920 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55921 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55922 { (exit 1); exit 1; }; }
55923 fi
55924 cat >conftest.$ac_ext <<_ACEOF
55925 /* confdefs.h. */
55926 _ACEOF
55927 cat confdefs.h >>conftest.$ac_ext
55928 cat >>conftest.$ac_ext <<_ACEOF
55929 /* end confdefs.h. */
55930 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55931 For example, HP-UX 11i <limits.h> declares gettimeofday. */
55932 #define $ac_func innocuous_$ac_func
55933
55934 /* System header to define __stub macros and hopefully few prototypes,
55935 which can conflict with char $ac_func (); below.
55936 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55937 <limits.h> exists even on freestanding compilers. */
55938
55939 #ifdef __STDC__
55940 # include <limits.h>
55941 #else
55942 # include <assert.h>
55943 #endif
55944
55945 #undef $ac_func
55946
55947 /* Override any gcc2 internal prototype to avoid an error. */
55948 #ifdef __cplusplus
55949 extern "C"
55950 {
55951 #endif
55952 /* We use char because int might match the return type of a gcc2
55953 builtin and then its argument prototype would still apply. */
55954 char $ac_func ();
55955 /* The GNU C library defines this for functions which it implements
55956 to always fail with ENOSYS. Some functions are actually named
55957 something starting with __ and the normal name is an alias. */
55958 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55959 choke me
55960 #else
55961 char (*f) () = $ac_func;
55962 #endif
55963 #ifdef __cplusplus
55964 }
55965 #endif
55966
55967 int
55968 main ()
55969 {
55970 return f != $ac_func;
55971 ;
55972 return 0;
55973 }
55974 _ACEOF
55975 rm -f conftest.$ac_objext conftest$ac_exeext
55976 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55977 (eval $ac_link) 2>conftest.er1
55978 ac_status=$?
55979 grep -v '^ *+' conftest.er1 >conftest.err
55980 rm -f conftest.er1
55981 cat conftest.err >&5
55982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55983 (exit $ac_status); } &&
55984 { ac_try='test -z "$ac_c_werror_flag"
55985 || test ! -s conftest.err'
55986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55987 (eval $ac_try) 2>&5
55988 ac_status=$?
55989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55990 (exit $ac_status); }; } &&
55991 { ac_try='test -s conftest$ac_exeext'
55992 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55993 (eval $ac_try) 2>&5
55994 ac_status=$?
55995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55996 (exit $ac_status); }; }; then
55997 eval "$as_ac_var=yes"
55998 else
55999 echo "$as_me: failed program was:" >&5
56000 sed 's/^/| /' conftest.$ac_ext >&5
56001
56002 eval "$as_ac_var=no"
56003 fi
56004 rm -f conftest.err conftest.$ac_objext \
56005 conftest$ac_exeext conftest.$ac_ext
56006 fi
56007 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56008 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56009 if test `eval echo '${'$as_ac_var'}'` = yes; then
56010 cat >>confdefs.h <<_ACEOF
56011 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56012 _ACEOF
56013
56014 fi
56015 done
56016
56017 fi
56018 fi
56019
56020
56021
56022
56023
56024
56025 echo "$as_me:$LINENO: checking for float trig functions" >&5
56026 echo $ECHO_N "checking for float trig functions... $ECHO_C" >&6
56027 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then
56028 echo $ECHO_N "(cached) $ECHO_C" >&6
56029 else
56030
56031
56032
56033 ac_ext=cc
56034 ac_cpp='$CXXCPP $CPPFLAGS'
56035 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56036 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56037 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56038
56039 cat >conftest.$ac_ext <<_ACEOF
56040 /* confdefs.h. */
56041 _ACEOF
56042 cat confdefs.h >>conftest.$ac_ext
56043 cat >>conftest.$ac_ext <<_ACEOF
56044 /* end confdefs.h. */
56045 #include <math.h>
56046 int
56047 main ()
56048 {
56049 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
56050 ;
56051 return 0;
56052 }
56053 _ACEOF
56054 rm -f conftest.$ac_objext
56055 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56056 (eval $ac_compile) 2>conftest.er1
56057 ac_status=$?
56058 grep -v '^ *+' conftest.er1 >conftest.err
56059 rm -f conftest.er1
56060 cat conftest.err >&5
56061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56062 (exit $ac_status); } &&
56063 { ac_try='test -z "$ac_cxx_werror_flag"
56064 || test ! -s conftest.err'
56065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56066 (eval $ac_try) 2>&5
56067 ac_status=$?
56068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56069 (exit $ac_status); }; } &&
56070 { ac_try='test -s conftest.$ac_objext'
56071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56072 (eval $ac_try) 2>&5
56073 ac_status=$?
56074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56075 (exit $ac_status); }; }; then
56076 glibcxx_cv_func_float_trig_use=yes
56077 else
56078 echo "$as_me: failed program was:" >&5
56079 sed 's/^/| /' conftest.$ac_ext >&5
56080
56081 glibcxx_cv_func_float_trig_use=no
56082 fi
56083 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56084 ac_ext=c
56085 ac_cpp='$CPP $CPPFLAGS'
56086 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56087 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56088 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56089
56090 fi
56091
56092 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_trig_use" >&5
56093 echo "${ECHO_T}$glibcxx_cv_func_float_trig_use" >&6
56094 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
56095
56096
56097
56098
56099
56100
56101
56102
56103
56104 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
56105 do
56106 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56107 echo "$as_me:$LINENO: checking for $ac_func" >&5
56108 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56109 if eval "test \"\${$as_ac_var+set}\" = set"; then
56110 echo $ECHO_N "(cached) $ECHO_C" >&6
56111 else
56112 if test x$gcc_no_link = xyes; then
56113 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56114 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56115 { (exit 1); exit 1; }; }
56116 fi
56117 cat >conftest.$ac_ext <<_ACEOF
56118 /* confdefs.h. */
56119 _ACEOF
56120 cat confdefs.h >>conftest.$ac_ext
56121 cat >>conftest.$ac_ext <<_ACEOF
56122 /* end confdefs.h. */
56123 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56124 For example, HP-UX 11i <limits.h> declares gettimeofday. */
56125 #define $ac_func innocuous_$ac_func
56126
56127 /* System header to define __stub macros and hopefully few prototypes,
56128 which can conflict with char $ac_func (); below.
56129 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56130 <limits.h> exists even on freestanding compilers. */
56131
56132 #ifdef __STDC__
56133 # include <limits.h>
56134 #else
56135 # include <assert.h>
56136 #endif
56137
56138 #undef $ac_func
56139
56140 /* Override any gcc2 internal prototype to avoid an error. */
56141 #ifdef __cplusplus
56142 extern "C"
56143 {
56144 #endif
56145 /* We use char because int might match the return type of a gcc2
56146 builtin and then its argument prototype would still apply. */
56147 char $ac_func ();
56148 /* The GNU C library defines this for functions which it implements
56149 to always fail with ENOSYS. Some functions are actually named
56150 something starting with __ and the normal name is an alias. */
56151 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56152 choke me
56153 #else
56154 char (*f) () = $ac_func;
56155 #endif
56156 #ifdef __cplusplus
56157 }
56158 #endif
56159
56160 int
56161 main ()
56162 {
56163 return f != $ac_func;
56164 ;
56165 return 0;
56166 }
56167 _ACEOF
56168 rm -f conftest.$ac_objext conftest$ac_exeext
56169 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56170 (eval $ac_link) 2>conftest.er1
56171 ac_status=$?
56172 grep -v '^ *+' conftest.er1 >conftest.err
56173 rm -f conftest.er1
56174 cat conftest.err >&5
56175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56176 (exit $ac_status); } &&
56177 { ac_try='test -z "$ac_c_werror_flag"
56178 || test ! -s conftest.err'
56179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56180 (eval $ac_try) 2>&5
56181 ac_status=$?
56182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56183 (exit $ac_status); }; } &&
56184 { ac_try='test -s conftest$ac_exeext'
56185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56186 (eval $ac_try) 2>&5
56187 ac_status=$?
56188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56189 (exit $ac_status); }; }; then
56190 eval "$as_ac_var=yes"
56191 else
56192 echo "$as_me: failed program was:" >&5
56193 sed 's/^/| /' conftest.$ac_ext >&5
56194
56195 eval "$as_ac_var=no"
56196 fi
56197 rm -f conftest.err conftest.$ac_objext \
56198 conftest$ac_exeext conftest.$ac_ext
56199 fi
56200 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56201 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56202 if test `eval echo '${'$as_ac_var'}'` = yes; then
56203 cat >>confdefs.h <<_ACEOF
56204 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56205 _ACEOF
56206
56207 fi
56208 done
56209
56210 else
56211 echo "$as_me:$LINENO: checking for _float trig functions" >&5
56212 echo $ECHO_N "checking for _float trig functions... $ECHO_C" >&6
56213 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then
56214 echo $ECHO_N "(cached) $ECHO_C" >&6
56215 else
56216
56217
56218
56219 ac_ext=cc
56220 ac_cpp='$CXXCPP $CPPFLAGS'
56221 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56222 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56223 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56224
56225 cat >conftest.$ac_ext <<_ACEOF
56226 /* confdefs.h. */
56227 _ACEOF
56228 cat confdefs.h >>conftest.$ac_ext
56229 cat >>conftest.$ac_ext <<_ACEOF
56230 /* end confdefs.h. */
56231 #include <math.h>
56232 int
56233 main ()
56234 {
56235 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
56236 ;
56237 return 0;
56238 }
56239 _ACEOF
56240 rm -f conftest.$ac_objext
56241 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56242 (eval $ac_compile) 2>conftest.er1
56243 ac_status=$?
56244 grep -v '^ *+' conftest.er1 >conftest.err
56245 rm -f conftest.er1
56246 cat conftest.err >&5
56247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56248 (exit $ac_status); } &&
56249 { ac_try='test -z "$ac_cxx_werror_flag"
56250 || test ! -s conftest.err'
56251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56252 (eval $ac_try) 2>&5
56253 ac_status=$?
56254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56255 (exit $ac_status); }; } &&
56256 { ac_try='test -s conftest.$ac_objext'
56257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56258 (eval $ac_try) 2>&5
56259 ac_status=$?
56260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56261 (exit $ac_status); }; }; then
56262 glibcxx_cv_func__float_trig_use=yes
56263 else
56264 echo "$as_me: failed program was:" >&5
56265 sed 's/^/| /' conftest.$ac_ext >&5
56266
56267 glibcxx_cv_func__float_trig_use=no
56268 fi
56269 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56270 ac_ext=c
56271 ac_cpp='$CPP $CPPFLAGS'
56272 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56273 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56274 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56275
56276 fi
56277
56278 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_trig_use" >&5
56279 echo "${ECHO_T}$glibcxx_cv_func__float_trig_use" >&6
56280 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
56281
56282
56283
56284
56285
56286
56287
56288
56289
56290 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
56291 do
56292 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56293 echo "$as_me:$LINENO: checking for $ac_func" >&5
56294 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56295 if eval "test \"\${$as_ac_var+set}\" = set"; then
56296 echo $ECHO_N "(cached) $ECHO_C" >&6
56297 else
56298 if test x$gcc_no_link = xyes; then
56299 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56300 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56301 { (exit 1); exit 1; }; }
56302 fi
56303 cat >conftest.$ac_ext <<_ACEOF
56304 /* confdefs.h. */
56305 _ACEOF
56306 cat confdefs.h >>conftest.$ac_ext
56307 cat >>conftest.$ac_ext <<_ACEOF
56308 /* end confdefs.h. */
56309 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56310 For example, HP-UX 11i <limits.h> declares gettimeofday. */
56311 #define $ac_func innocuous_$ac_func
56312
56313 /* System header to define __stub macros and hopefully few prototypes,
56314 which can conflict with char $ac_func (); below.
56315 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56316 <limits.h> exists even on freestanding compilers. */
56317
56318 #ifdef __STDC__
56319 # include <limits.h>
56320 #else
56321 # include <assert.h>
56322 #endif
56323
56324 #undef $ac_func
56325
56326 /* Override any gcc2 internal prototype to avoid an error. */
56327 #ifdef __cplusplus
56328 extern "C"
56329 {
56330 #endif
56331 /* We use char because int might match the return type of a gcc2
56332 builtin and then its argument prototype would still apply. */
56333 char $ac_func ();
56334 /* The GNU C library defines this for functions which it implements
56335 to always fail with ENOSYS. Some functions are actually named
56336 something starting with __ and the normal name is an alias. */
56337 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56338 choke me
56339 #else
56340 char (*f) () = $ac_func;
56341 #endif
56342 #ifdef __cplusplus
56343 }
56344 #endif
56345
56346 int
56347 main ()
56348 {
56349 return f != $ac_func;
56350 ;
56351 return 0;
56352 }
56353 _ACEOF
56354 rm -f conftest.$ac_objext conftest$ac_exeext
56355 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56356 (eval $ac_link) 2>conftest.er1
56357 ac_status=$?
56358 grep -v '^ *+' conftest.er1 >conftest.err
56359 rm -f conftest.er1
56360 cat conftest.err >&5
56361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56362 (exit $ac_status); } &&
56363 { ac_try='test -z "$ac_c_werror_flag"
56364 || test ! -s conftest.err'
56365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56366 (eval $ac_try) 2>&5
56367 ac_status=$?
56368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56369 (exit $ac_status); }; } &&
56370 { ac_try='test -s conftest$ac_exeext'
56371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56372 (eval $ac_try) 2>&5
56373 ac_status=$?
56374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56375 (exit $ac_status); }; }; then
56376 eval "$as_ac_var=yes"
56377 else
56378 echo "$as_me: failed program was:" >&5
56379 sed 's/^/| /' conftest.$ac_ext >&5
56380
56381 eval "$as_ac_var=no"
56382 fi
56383 rm -f conftest.err conftest.$ac_objext \
56384 conftest$ac_exeext conftest.$ac_ext
56385 fi
56386 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56387 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56388 if test `eval echo '${'$as_ac_var'}'` = yes; then
56389 cat >>confdefs.h <<_ACEOF
56390 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56391 _ACEOF
56392
56393 fi
56394 done
56395
56396 fi
56397 fi
56398
56399
56400
56401
56402
56403
56404
56405
56406
56407
56408
56409
56410
56411
56412 echo "$as_me:$LINENO: checking for float round functions" >&5
56413 echo $ECHO_N "checking for float round functions... $ECHO_C" >&6
56414 if test "${glibcxx_cv_func_float_round_use+set}" = set; then
56415 echo $ECHO_N "(cached) $ECHO_C" >&6
56416 else
56417
56418
56419
56420 ac_ext=cc
56421 ac_cpp='$CXXCPP $CPPFLAGS'
56422 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56423 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56424 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56425
56426 cat >conftest.$ac_ext <<_ACEOF
56427 /* confdefs.h. */
56428 _ACEOF
56429 cat confdefs.h >>conftest.$ac_ext
56430 cat >>conftest.$ac_ext <<_ACEOF
56431 /* end confdefs.h. */
56432 #include <math.h>
56433 int
56434 main ()
56435 {
56436 ceilf (0); floorf (0);
56437 ;
56438 return 0;
56439 }
56440 _ACEOF
56441 rm -f conftest.$ac_objext
56442 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56443 (eval $ac_compile) 2>conftest.er1
56444 ac_status=$?
56445 grep -v '^ *+' conftest.er1 >conftest.err
56446 rm -f conftest.er1
56447 cat conftest.err >&5
56448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56449 (exit $ac_status); } &&
56450 { ac_try='test -z "$ac_cxx_werror_flag"
56451 || test ! -s conftest.err'
56452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56453 (eval $ac_try) 2>&5
56454 ac_status=$?
56455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56456 (exit $ac_status); }; } &&
56457 { ac_try='test -s conftest.$ac_objext'
56458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56459 (eval $ac_try) 2>&5
56460 ac_status=$?
56461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56462 (exit $ac_status); }; }; then
56463 glibcxx_cv_func_float_round_use=yes
56464 else
56465 echo "$as_me: failed program was:" >&5
56466 sed 's/^/| /' conftest.$ac_ext >&5
56467
56468 glibcxx_cv_func_float_round_use=no
56469 fi
56470 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56471 ac_ext=c
56472 ac_cpp='$CPP $CPPFLAGS'
56473 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56474 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56475 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56476
56477 fi
56478
56479 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_round_use" >&5
56480 echo "${ECHO_T}$glibcxx_cv_func_float_round_use" >&6
56481 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
56482
56483
56484 for ac_func in ceilf floorf
56485 do
56486 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56487 echo "$as_me:$LINENO: checking for $ac_func" >&5
56488 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56489 if eval "test \"\${$as_ac_var+set}\" = set"; then
56490 echo $ECHO_N "(cached) $ECHO_C" >&6
56491 else
56492 if test x$gcc_no_link = xyes; then
56493 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56494 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56495 { (exit 1); exit 1; }; }
56496 fi
56497 cat >conftest.$ac_ext <<_ACEOF
56498 /* confdefs.h. */
56499 _ACEOF
56500 cat confdefs.h >>conftest.$ac_ext
56501 cat >>conftest.$ac_ext <<_ACEOF
56502 /* end confdefs.h. */
56503 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56504 For example, HP-UX 11i <limits.h> declares gettimeofday. */
56505 #define $ac_func innocuous_$ac_func
56506
56507 /* System header to define __stub macros and hopefully few prototypes,
56508 which can conflict with char $ac_func (); below.
56509 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56510 <limits.h> exists even on freestanding compilers. */
56511
56512 #ifdef __STDC__
56513 # include <limits.h>
56514 #else
56515 # include <assert.h>
56516 #endif
56517
56518 #undef $ac_func
56519
56520 /* Override any gcc2 internal prototype to avoid an error. */
56521 #ifdef __cplusplus
56522 extern "C"
56523 {
56524 #endif
56525 /* We use char because int might match the return type of a gcc2
56526 builtin and then its argument prototype would still apply. */
56527 char $ac_func ();
56528 /* The GNU C library defines this for functions which it implements
56529 to always fail with ENOSYS. Some functions are actually named
56530 something starting with __ and the normal name is an alias. */
56531 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56532 choke me
56533 #else
56534 char (*f) () = $ac_func;
56535 #endif
56536 #ifdef __cplusplus
56537 }
56538 #endif
56539
56540 int
56541 main ()
56542 {
56543 return f != $ac_func;
56544 ;
56545 return 0;
56546 }
56547 _ACEOF
56548 rm -f conftest.$ac_objext conftest$ac_exeext
56549 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56550 (eval $ac_link) 2>conftest.er1
56551 ac_status=$?
56552 grep -v '^ *+' conftest.er1 >conftest.err
56553 rm -f conftest.er1
56554 cat conftest.err >&5
56555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56556 (exit $ac_status); } &&
56557 { ac_try='test -z "$ac_c_werror_flag"
56558 || test ! -s conftest.err'
56559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56560 (eval $ac_try) 2>&5
56561 ac_status=$?
56562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56563 (exit $ac_status); }; } &&
56564 { ac_try='test -s conftest$ac_exeext'
56565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56566 (eval $ac_try) 2>&5
56567 ac_status=$?
56568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56569 (exit $ac_status); }; }; then
56570 eval "$as_ac_var=yes"
56571 else
56572 echo "$as_me: failed program was:" >&5
56573 sed 's/^/| /' conftest.$ac_ext >&5
56574
56575 eval "$as_ac_var=no"
56576 fi
56577 rm -f conftest.err conftest.$ac_objext \
56578 conftest$ac_exeext conftest.$ac_ext
56579 fi
56580 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56581 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56582 if test `eval echo '${'$as_ac_var'}'` = yes; then
56583 cat >>confdefs.h <<_ACEOF
56584 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56585 _ACEOF
56586
56587 fi
56588 done
56589
56590 else
56591 echo "$as_me:$LINENO: checking for _float round functions" >&5
56592 echo $ECHO_N "checking for _float round functions... $ECHO_C" >&6
56593 if test "${glibcxx_cv_func__float_round_use+set}" = set; then
56594 echo $ECHO_N "(cached) $ECHO_C" >&6
56595 else
56596
56597
56598
56599 ac_ext=cc
56600 ac_cpp='$CXXCPP $CPPFLAGS'
56601 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56602 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56603 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56604
56605 cat >conftest.$ac_ext <<_ACEOF
56606 /* confdefs.h. */
56607 _ACEOF
56608 cat confdefs.h >>conftest.$ac_ext
56609 cat >>conftest.$ac_ext <<_ACEOF
56610 /* end confdefs.h. */
56611 #include <math.h>
56612 int
56613 main ()
56614 {
56615 _ceilf (0); _floorf (0);
56616 ;
56617 return 0;
56618 }
56619 _ACEOF
56620 rm -f conftest.$ac_objext
56621 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56622 (eval $ac_compile) 2>conftest.er1
56623 ac_status=$?
56624 grep -v '^ *+' conftest.er1 >conftest.err
56625 rm -f conftest.er1
56626 cat conftest.err >&5
56627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56628 (exit $ac_status); } &&
56629 { ac_try='test -z "$ac_cxx_werror_flag"
56630 || test ! -s conftest.err'
56631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56632 (eval $ac_try) 2>&5
56633 ac_status=$?
56634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56635 (exit $ac_status); }; } &&
56636 { ac_try='test -s conftest.$ac_objext'
56637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56638 (eval $ac_try) 2>&5
56639 ac_status=$?
56640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56641 (exit $ac_status); }; }; then
56642 glibcxx_cv_func__float_round_use=yes
56643 else
56644 echo "$as_me: failed program was:" >&5
56645 sed 's/^/| /' conftest.$ac_ext >&5
56646
56647 glibcxx_cv_func__float_round_use=no
56648 fi
56649 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56650 ac_ext=c
56651 ac_cpp='$CPP $CPPFLAGS'
56652 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56653 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56654 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56655
56656 fi
56657
56658 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_round_use" >&5
56659 echo "${ECHO_T}$glibcxx_cv_func__float_round_use" >&6
56660 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
56661
56662
56663 for ac_func in _ceilf _floorf
56664 do
56665 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56666 echo "$as_me:$LINENO: checking for $ac_func" >&5
56667 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56668 if eval "test \"\${$as_ac_var+set}\" = set"; then
56669 echo $ECHO_N "(cached) $ECHO_C" >&6
56670 else
56671 if test x$gcc_no_link = xyes; then
56672 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56673 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56674 { (exit 1); exit 1; }; }
56675 fi
56676 cat >conftest.$ac_ext <<_ACEOF
56677 /* confdefs.h. */
56678 _ACEOF
56679 cat confdefs.h >>conftest.$ac_ext
56680 cat >>conftest.$ac_ext <<_ACEOF
56681 /* end confdefs.h. */
56682 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56683 For example, HP-UX 11i <limits.h> declares gettimeofday. */
56684 #define $ac_func innocuous_$ac_func
56685
56686 /* System header to define __stub macros and hopefully few prototypes,
56687 which can conflict with char $ac_func (); below.
56688 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56689 <limits.h> exists even on freestanding compilers. */
56690
56691 #ifdef __STDC__
56692 # include <limits.h>
56693 #else
56694 # include <assert.h>
56695 #endif
56696
56697 #undef $ac_func
56698
56699 /* Override any gcc2 internal prototype to avoid an error. */
56700 #ifdef __cplusplus
56701 extern "C"
56702 {
56703 #endif
56704 /* We use char because int might match the return type of a gcc2
56705 builtin and then its argument prototype would still apply. */
56706 char $ac_func ();
56707 /* The GNU C library defines this for functions which it implements
56708 to always fail with ENOSYS. Some functions are actually named
56709 something starting with __ and the normal name is an alias. */
56710 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56711 choke me
56712 #else
56713 char (*f) () = $ac_func;
56714 #endif
56715 #ifdef __cplusplus
56716 }
56717 #endif
56718
56719 int
56720 main ()
56721 {
56722 return f != $ac_func;
56723 ;
56724 return 0;
56725 }
56726 _ACEOF
56727 rm -f conftest.$ac_objext conftest$ac_exeext
56728 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56729 (eval $ac_link) 2>conftest.er1
56730 ac_status=$?
56731 grep -v '^ *+' conftest.er1 >conftest.err
56732 rm -f conftest.er1
56733 cat conftest.err >&5
56734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56735 (exit $ac_status); } &&
56736 { ac_try='test -z "$ac_c_werror_flag"
56737 || test ! -s conftest.err'
56738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56739 (eval $ac_try) 2>&5
56740 ac_status=$?
56741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56742 (exit $ac_status); }; } &&
56743 { ac_try='test -s conftest$ac_exeext'
56744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56745 (eval $ac_try) 2>&5
56746 ac_status=$?
56747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56748 (exit $ac_status); }; }; then
56749 eval "$as_ac_var=yes"
56750 else
56751 echo "$as_me: failed program was:" >&5
56752 sed 's/^/| /' conftest.$ac_ext >&5
56753
56754 eval "$as_ac_var=no"
56755 fi
56756 rm -f conftest.err conftest.$ac_objext \
56757 conftest$ac_exeext conftest.$ac_ext
56758 fi
56759 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56760 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56761 if test `eval echo '${'$as_ac_var'}'` = yes; then
56762 cat >>confdefs.h <<_ACEOF
56763 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56764 _ACEOF
56765
56766 fi
56767 done
56768
56769 fi
56770 fi
56771
56772
56773
56774
56775
56776
56777
56778
56779 echo "$as_me:$LINENO: checking for expf declaration" >&5
56780 echo $ECHO_N "checking for expf declaration... $ECHO_C" >&6
56781 if test x${glibcxx_cv_func_expf_use+set} != xset; then
56782 if test "${glibcxx_cv_func_expf_use+set}" = set; then
56783 echo $ECHO_N "(cached) $ECHO_C" >&6
56784 else
56785
56786
56787
56788 ac_ext=cc
56789 ac_cpp='$CXXCPP $CPPFLAGS'
56790 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56791 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56792 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56793
56794 cat >conftest.$ac_ext <<_ACEOF
56795 /* confdefs.h. */
56796 _ACEOF
56797 cat confdefs.h >>conftest.$ac_ext
56798 cat >>conftest.$ac_ext <<_ACEOF
56799 /* end confdefs.h. */
56800 #include <math.h>
56801 #ifdef HAVE_IEEEFP_H
56802 #include <ieeefp.h>
56803 #endif
56804
56805 int
56806 main ()
56807 {
56808 expf(0);
56809 ;
56810 return 0;
56811 }
56812 _ACEOF
56813 rm -f conftest.$ac_objext
56814 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56815 (eval $ac_compile) 2>conftest.er1
56816 ac_status=$?
56817 grep -v '^ *+' conftest.er1 >conftest.err
56818 rm -f conftest.er1
56819 cat conftest.err >&5
56820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56821 (exit $ac_status); } &&
56822 { ac_try='test -z "$ac_cxx_werror_flag"
56823 || test ! -s conftest.err'
56824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56825 (eval $ac_try) 2>&5
56826 ac_status=$?
56827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56828 (exit $ac_status); }; } &&
56829 { ac_try='test -s conftest.$ac_objext'
56830 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56831 (eval $ac_try) 2>&5
56832 ac_status=$?
56833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56834 (exit $ac_status); }; }; then
56835 glibcxx_cv_func_expf_use=yes
56836 else
56837 echo "$as_me: failed program was:" >&5
56838 sed 's/^/| /' conftest.$ac_ext >&5
56839
56840 glibcxx_cv_func_expf_use=no
56841 fi
56842 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56843 ac_ext=c
56844 ac_cpp='$CPP $CPPFLAGS'
56845 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56846 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56847 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56848
56849
56850 fi
56851
56852 fi
56853 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expf_use" >&5
56854 echo "${ECHO_T}$glibcxx_cv_func_expf_use" >&6
56855
56856 if test x$glibcxx_cv_func_expf_use = x"yes"; then
56857
56858 for ac_func in expf
56859 do
56860 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56861 echo "$as_me:$LINENO: checking for $ac_func" >&5
56862 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56863 if eval "test \"\${$as_ac_var+set}\" = set"; then
56864 echo $ECHO_N "(cached) $ECHO_C" >&6
56865 else
56866 if test x$gcc_no_link = xyes; then
56867 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56868 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56869 { (exit 1); exit 1; }; }
56870 fi
56871 cat >conftest.$ac_ext <<_ACEOF
56872 /* confdefs.h. */
56873 _ACEOF
56874 cat confdefs.h >>conftest.$ac_ext
56875 cat >>conftest.$ac_ext <<_ACEOF
56876 /* end confdefs.h. */
56877 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56878 For example, HP-UX 11i <limits.h> declares gettimeofday. */
56879 #define $ac_func innocuous_$ac_func
56880
56881 /* System header to define __stub macros and hopefully few prototypes,
56882 which can conflict with char $ac_func (); below.
56883 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56884 <limits.h> exists even on freestanding compilers. */
56885
56886 #ifdef __STDC__
56887 # include <limits.h>
56888 #else
56889 # include <assert.h>
56890 #endif
56891
56892 #undef $ac_func
56893
56894 /* Override any gcc2 internal prototype to avoid an error. */
56895 #ifdef __cplusplus
56896 extern "C"
56897 {
56898 #endif
56899 /* We use char because int might match the return type of a gcc2
56900 builtin and then its argument prototype would still apply. */
56901 char $ac_func ();
56902 /* The GNU C library defines this for functions which it implements
56903 to always fail with ENOSYS. Some functions are actually named
56904 something starting with __ and the normal name is an alias. */
56905 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56906 choke me
56907 #else
56908 char (*f) () = $ac_func;
56909 #endif
56910 #ifdef __cplusplus
56911 }
56912 #endif
56913
56914 int
56915 main ()
56916 {
56917 return f != $ac_func;
56918 ;
56919 return 0;
56920 }
56921 _ACEOF
56922 rm -f conftest.$ac_objext conftest$ac_exeext
56923 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56924 (eval $ac_link) 2>conftest.er1
56925 ac_status=$?
56926 grep -v '^ *+' conftest.er1 >conftest.err
56927 rm -f conftest.er1
56928 cat conftest.err >&5
56929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56930 (exit $ac_status); } &&
56931 { ac_try='test -z "$ac_c_werror_flag"
56932 || test ! -s conftest.err'
56933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56934 (eval $ac_try) 2>&5
56935 ac_status=$?
56936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56937 (exit $ac_status); }; } &&
56938 { ac_try='test -s conftest$ac_exeext'
56939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56940 (eval $ac_try) 2>&5
56941 ac_status=$?
56942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56943 (exit $ac_status); }; }; then
56944 eval "$as_ac_var=yes"
56945 else
56946 echo "$as_me: failed program was:" >&5
56947 sed 's/^/| /' conftest.$ac_ext >&5
56948
56949 eval "$as_ac_var=no"
56950 fi
56951 rm -f conftest.err conftest.$ac_objext \
56952 conftest$ac_exeext conftest.$ac_ext
56953 fi
56954 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56955 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56956 if test `eval echo '${'$as_ac_var'}'` = yes; then
56957 cat >>confdefs.h <<_ACEOF
56958 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56959 _ACEOF
56960
56961 fi
56962 done
56963
56964 else
56965
56966 echo "$as_me:$LINENO: checking for _expf declaration" >&5
56967 echo $ECHO_N "checking for _expf declaration... $ECHO_C" >&6
56968 if test x${glibcxx_cv_func__expf_use+set} != xset; then
56969 if test "${glibcxx_cv_func__expf_use+set}" = set; then
56970 echo $ECHO_N "(cached) $ECHO_C" >&6
56971 else
56972
56973
56974
56975 ac_ext=cc
56976 ac_cpp='$CXXCPP $CPPFLAGS'
56977 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56978 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56979 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56980
56981 cat >conftest.$ac_ext <<_ACEOF
56982 /* confdefs.h. */
56983 _ACEOF
56984 cat confdefs.h >>conftest.$ac_ext
56985 cat >>conftest.$ac_ext <<_ACEOF
56986 /* end confdefs.h. */
56987 #include <math.h>
56988 #ifdef HAVE_IEEEFP_H
56989 #include <ieeefp.h>
56990 #endif
56991
56992 int
56993 main ()
56994 {
56995 _expf(0);
56996 ;
56997 return 0;
56998 }
56999 _ACEOF
57000 rm -f conftest.$ac_objext
57001 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57002 (eval $ac_compile) 2>conftest.er1
57003 ac_status=$?
57004 grep -v '^ *+' conftest.er1 >conftest.err
57005 rm -f conftest.er1
57006 cat conftest.err >&5
57007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57008 (exit $ac_status); } &&
57009 { ac_try='test -z "$ac_cxx_werror_flag"
57010 || test ! -s conftest.err'
57011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57012 (eval $ac_try) 2>&5
57013 ac_status=$?
57014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57015 (exit $ac_status); }; } &&
57016 { ac_try='test -s conftest.$ac_objext'
57017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57018 (eval $ac_try) 2>&5
57019 ac_status=$?
57020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57021 (exit $ac_status); }; }; then
57022 glibcxx_cv_func__expf_use=yes
57023 else
57024 echo "$as_me: failed program was:" >&5
57025 sed 's/^/| /' conftest.$ac_ext >&5
57026
57027 glibcxx_cv_func__expf_use=no
57028 fi
57029 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57030 ac_ext=c
57031 ac_cpp='$CPP $CPPFLAGS'
57032 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57033 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57034 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57035
57036
57037 fi
57038
57039 fi
57040 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expf_use" >&5
57041 echo "${ECHO_T}$glibcxx_cv_func__expf_use" >&6
57042
57043 if test x$glibcxx_cv_func__expf_use = x"yes"; then
57044
57045 for ac_func in _expf
57046 do
57047 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57048 echo "$as_me:$LINENO: checking for $ac_func" >&5
57049 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57050 if eval "test \"\${$as_ac_var+set}\" = set"; then
57051 echo $ECHO_N "(cached) $ECHO_C" >&6
57052 else
57053 if test x$gcc_no_link = xyes; then
57054 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57055 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57056 { (exit 1); exit 1; }; }
57057 fi
57058 cat >conftest.$ac_ext <<_ACEOF
57059 /* confdefs.h. */
57060 _ACEOF
57061 cat confdefs.h >>conftest.$ac_ext
57062 cat >>conftest.$ac_ext <<_ACEOF
57063 /* end confdefs.h. */
57064 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57065 For example, HP-UX 11i <limits.h> declares gettimeofday. */
57066 #define $ac_func innocuous_$ac_func
57067
57068 /* System header to define __stub macros and hopefully few prototypes,
57069 which can conflict with char $ac_func (); below.
57070 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57071 <limits.h> exists even on freestanding compilers. */
57072
57073 #ifdef __STDC__
57074 # include <limits.h>
57075 #else
57076 # include <assert.h>
57077 #endif
57078
57079 #undef $ac_func
57080
57081 /* Override any gcc2 internal prototype to avoid an error. */
57082 #ifdef __cplusplus
57083 extern "C"
57084 {
57085 #endif
57086 /* We use char because int might match the return type of a gcc2
57087 builtin and then its argument prototype would still apply. */
57088 char $ac_func ();
57089 /* The GNU C library defines this for functions which it implements
57090 to always fail with ENOSYS. Some functions are actually named
57091 something starting with __ and the normal name is an alias. */
57092 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57093 choke me
57094 #else
57095 char (*f) () = $ac_func;
57096 #endif
57097 #ifdef __cplusplus
57098 }
57099 #endif
57100
57101 int
57102 main ()
57103 {
57104 return f != $ac_func;
57105 ;
57106 return 0;
57107 }
57108 _ACEOF
57109 rm -f conftest.$ac_objext conftest$ac_exeext
57110 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57111 (eval $ac_link) 2>conftest.er1
57112 ac_status=$?
57113 grep -v '^ *+' conftest.er1 >conftest.err
57114 rm -f conftest.er1
57115 cat conftest.err >&5
57116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57117 (exit $ac_status); } &&
57118 { ac_try='test -z "$ac_c_werror_flag"
57119 || test ! -s conftest.err'
57120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57121 (eval $ac_try) 2>&5
57122 ac_status=$?
57123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57124 (exit $ac_status); }; } &&
57125 { ac_try='test -s conftest$ac_exeext'
57126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57127 (eval $ac_try) 2>&5
57128 ac_status=$?
57129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57130 (exit $ac_status); }; }; then
57131 eval "$as_ac_var=yes"
57132 else
57133 echo "$as_me: failed program was:" >&5
57134 sed 's/^/| /' conftest.$ac_ext >&5
57135
57136 eval "$as_ac_var=no"
57137 fi
57138 rm -f conftest.err conftest.$ac_objext \
57139 conftest$ac_exeext conftest.$ac_ext
57140 fi
57141 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57142 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57143 if test `eval echo '${'$as_ac_var'}'` = yes; then
57144 cat >>confdefs.h <<_ACEOF
57145 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57146 _ACEOF
57147
57148 fi
57149 done
57150
57151 fi
57152 fi
57153
57154
57155
57156
57157
57158
57159 echo "$as_me:$LINENO: checking for isnanf declaration" >&5
57160 echo $ECHO_N "checking for isnanf declaration... $ECHO_C" >&6
57161 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
57162 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then
57163 echo $ECHO_N "(cached) $ECHO_C" >&6
57164 else
57165
57166
57167
57168 ac_ext=cc
57169 ac_cpp='$CXXCPP $CPPFLAGS'
57170 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57171 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57172 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57173
57174 cat >conftest.$ac_ext <<_ACEOF
57175 /* confdefs.h. */
57176 _ACEOF
57177 cat confdefs.h >>conftest.$ac_ext
57178 cat >>conftest.$ac_ext <<_ACEOF
57179 /* end confdefs.h. */
57180 #include <math.h>
57181 #ifdef HAVE_IEEEFP_H
57182 #include <ieeefp.h>
57183 #endif
57184
57185 int
57186 main ()
57187 {
57188 isnanf(0);
57189 ;
57190 return 0;
57191 }
57192 _ACEOF
57193 rm -f conftest.$ac_objext
57194 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57195 (eval $ac_compile) 2>conftest.er1
57196 ac_status=$?
57197 grep -v '^ *+' conftest.er1 >conftest.err
57198 rm -f conftest.er1
57199 cat conftest.err >&5
57200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57201 (exit $ac_status); } &&
57202 { ac_try='test -z "$ac_cxx_werror_flag"
57203 || test ! -s conftest.err'
57204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57205 (eval $ac_try) 2>&5
57206 ac_status=$?
57207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57208 (exit $ac_status); }; } &&
57209 { ac_try='test -s conftest.$ac_objext'
57210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57211 (eval $ac_try) 2>&5
57212 ac_status=$?
57213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57214 (exit $ac_status); }; }; then
57215 glibcxx_cv_func_isnanf_use=yes
57216 else
57217 echo "$as_me: failed program was:" >&5
57218 sed 's/^/| /' conftest.$ac_ext >&5
57219
57220 glibcxx_cv_func_isnanf_use=no
57221 fi
57222 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57223 ac_ext=c
57224 ac_cpp='$CPP $CPPFLAGS'
57225 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57226 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57227 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57228
57229
57230 fi
57231
57232 fi
57233 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanf_use" >&5
57234 echo "${ECHO_T}$glibcxx_cv_func_isnanf_use" >&6
57235
57236 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
57237
57238 for ac_func in isnanf
57239 do
57240 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57241 echo "$as_me:$LINENO: checking for $ac_func" >&5
57242 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57243 if eval "test \"\${$as_ac_var+set}\" = set"; then
57244 echo $ECHO_N "(cached) $ECHO_C" >&6
57245 else
57246 if test x$gcc_no_link = xyes; then
57247 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57248 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57249 { (exit 1); exit 1; }; }
57250 fi
57251 cat >conftest.$ac_ext <<_ACEOF
57252 /* confdefs.h. */
57253 _ACEOF
57254 cat confdefs.h >>conftest.$ac_ext
57255 cat >>conftest.$ac_ext <<_ACEOF
57256 /* end confdefs.h. */
57257 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57258 For example, HP-UX 11i <limits.h> declares gettimeofday. */
57259 #define $ac_func innocuous_$ac_func
57260
57261 /* System header to define __stub macros and hopefully few prototypes,
57262 which can conflict with char $ac_func (); below.
57263 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57264 <limits.h> exists even on freestanding compilers. */
57265
57266 #ifdef __STDC__
57267 # include <limits.h>
57268 #else
57269 # include <assert.h>
57270 #endif
57271
57272 #undef $ac_func
57273
57274 /* Override any gcc2 internal prototype to avoid an error. */
57275 #ifdef __cplusplus
57276 extern "C"
57277 {
57278 #endif
57279 /* We use char because int might match the return type of a gcc2
57280 builtin and then its argument prototype would still apply. */
57281 char $ac_func ();
57282 /* The GNU C library defines this for functions which it implements
57283 to always fail with ENOSYS. Some functions are actually named
57284 something starting with __ and the normal name is an alias. */
57285 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57286 choke me
57287 #else
57288 char (*f) () = $ac_func;
57289 #endif
57290 #ifdef __cplusplus
57291 }
57292 #endif
57293
57294 int
57295 main ()
57296 {
57297 return f != $ac_func;
57298 ;
57299 return 0;
57300 }
57301 _ACEOF
57302 rm -f conftest.$ac_objext conftest$ac_exeext
57303 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57304 (eval $ac_link) 2>conftest.er1
57305 ac_status=$?
57306 grep -v '^ *+' conftest.er1 >conftest.err
57307 rm -f conftest.er1
57308 cat conftest.err >&5
57309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57310 (exit $ac_status); } &&
57311 { ac_try='test -z "$ac_c_werror_flag"
57312 || test ! -s conftest.err'
57313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57314 (eval $ac_try) 2>&5
57315 ac_status=$?
57316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57317 (exit $ac_status); }; } &&
57318 { ac_try='test -s conftest$ac_exeext'
57319 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57320 (eval $ac_try) 2>&5
57321 ac_status=$?
57322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57323 (exit $ac_status); }; }; then
57324 eval "$as_ac_var=yes"
57325 else
57326 echo "$as_me: failed program was:" >&5
57327 sed 's/^/| /' conftest.$ac_ext >&5
57328
57329 eval "$as_ac_var=no"
57330 fi
57331 rm -f conftest.err conftest.$ac_objext \
57332 conftest$ac_exeext conftest.$ac_ext
57333 fi
57334 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57335 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57336 if test `eval echo '${'$as_ac_var'}'` = yes; then
57337 cat >>confdefs.h <<_ACEOF
57338 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57339 _ACEOF
57340
57341 fi
57342 done
57343
57344 else
57345
57346 echo "$as_me:$LINENO: checking for _isnanf declaration" >&5
57347 echo $ECHO_N "checking for _isnanf declaration... $ECHO_C" >&6
57348 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
57349 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then
57350 echo $ECHO_N "(cached) $ECHO_C" >&6
57351 else
57352
57353
57354
57355 ac_ext=cc
57356 ac_cpp='$CXXCPP $CPPFLAGS'
57357 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57358 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57359 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57360
57361 cat >conftest.$ac_ext <<_ACEOF
57362 /* confdefs.h. */
57363 _ACEOF
57364 cat confdefs.h >>conftest.$ac_ext
57365 cat >>conftest.$ac_ext <<_ACEOF
57366 /* end confdefs.h. */
57367 #include <math.h>
57368 #ifdef HAVE_IEEEFP_H
57369 #include <ieeefp.h>
57370 #endif
57371
57372 int
57373 main ()
57374 {
57375 _isnanf(0);
57376 ;
57377 return 0;
57378 }
57379 _ACEOF
57380 rm -f conftest.$ac_objext
57381 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57382 (eval $ac_compile) 2>conftest.er1
57383 ac_status=$?
57384 grep -v '^ *+' conftest.er1 >conftest.err
57385 rm -f conftest.er1
57386 cat conftest.err >&5
57387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57388 (exit $ac_status); } &&
57389 { ac_try='test -z "$ac_cxx_werror_flag"
57390 || test ! -s conftest.err'
57391 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57392 (eval $ac_try) 2>&5
57393 ac_status=$?
57394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57395 (exit $ac_status); }; } &&
57396 { ac_try='test -s conftest.$ac_objext'
57397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57398 (eval $ac_try) 2>&5
57399 ac_status=$?
57400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57401 (exit $ac_status); }; }; then
57402 glibcxx_cv_func__isnanf_use=yes
57403 else
57404 echo "$as_me: failed program was:" >&5
57405 sed 's/^/| /' conftest.$ac_ext >&5
57406
57407 glibcxx_cv_func__isnanf_use=no
57408 fi
57409 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57410 ac_ext=c
57411 ac_cpp='$CPP $CPPFLAGS'
57412 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57413 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57414 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57415
57416
57417 fi
57418
57419 fi
57420 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanf_use" >&5
57421 echo "${ECHO_T}$glibcxx_cv_func__isnanf_use" >&6
57422
57423 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
57424
57425 for ac_func in _isnanf
57426 do
57427 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57428 echo "$as_me:$LINENO: checking for $ac_func" >&5
57429 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57430 if eval "test \"\${$as_ac_var+set}\" = set"; then
57431 echo $ECHO_N "(cached) $ECHO_C" >&6
57432 else
57433 if test x$gcc_no_link = xyes; then
57434 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57435 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57436 { (exit 1); exit 1; }; }
57437 fi
57438 cat >conftest.$ac_ext <<_ACEOF
57439 /* confdefs.h. */
57440 _ACEOF
57441 cat confdefs.h >>conftest.$ac_ext
57442 cat >>conftest.$ac_ext <<_ACEOF
57443 /* end confdefs.h. */
57444 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57445 For example, HP-UX 11i <limits.h> declares gettimeofday. */
57446 #define $ac_func innocuous_$ac_func
57447
57448 /* System header to define __stub macros and hopefully few prototypes,
57449 which can conflict with char $ac_func (); below.
57450 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57451 <limits.h> exists even on freestanding compilers. */
57452
57453 #ifdef __STDC__
57454 # include <limits.h>
57455 #else
57456 # include <assert.h>
57457 #endif
57458
57459 #undef $ac_func
57460
57461 /* Override any gcc2 internal prototype to avoid an error. */
57462 #ifdef __cplusplus
57463 extern "C"
57464 {
57465 #endif
57466 /* We use char because int might match the return type of a gcc2
57467 builtin and then its argument prototype would still apply. */
57468 char $ac_func ();
57469 /* The GNU C library defines this for functions which it implements
57470 to always fail with ENOSYS. Some functions are actually named
57471 something starting with __ and the normal name is an alias. */
57472 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57473 choke me
57474 #else
57475 char (*f) () = $ac_func;
57476 #endif
57477 #ifdef __cplusplus
57478 }
57479 #endif
57480
57481 int
57482 main ()
57483 {
57484 return f != $ac_func;
57485 ;
57486 return 0;
57487 }
57488 _ACEOF
57489 rm -f conftest.$ac_objext conftest$ac_exeext
57490 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57491 (eval $ac_link) 2>conftest.er1
57492 ac_status=$?
57493 grep -v '^ *+' conftest.er1 >conftest.err
57494 rm -f conftest.er1
57495 cat conftest.err >&5
57496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57497 (exit $ac_status); } &&
57498 { ac_try='test -z "$ac_c_werror_flag"
57499 || test ! -s conftest.err'
57500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57501 (eval $ac_try) 2>&5
57502 ac_status=$?
57503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57504 (exit $ac_status); }; } &&
57505 { ac_try='test -s conftest$ac_exeext'
57506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57507 (eval $ac_try) 2>&5
57508 ac_status=$?
57509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57510 (exit $ac_status); }; }; then
57511 eval "$as_ac_var=yes"
57512 else
57513 echo "$as_me: failed program was:" >&5
57514 sed 's/^/| /' conftest.$ac_ext >&5
57515
57516 eval "$as_ac_var=no"
57517 fi
57518 rm -f conftest.err conftest.$ac_objext \
57519 conftest$ac_exeext conftest.$ac_ext
57520 fi
57521 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57522 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57523 if test `eval echo '${'$as_ac_var'}'` = yes; then
57524 cat >>confdefs.h <<_ACEOF
57525 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57526 _ACEOF
57527
57528 fi
57529 done
57530
57531 fi
57532 fi
57533
57534
57535
57536
57537
57538
57539 echo "$as_me:$LINENO: checking for isinff declaration" >&5
57540 echo $ECHO_N "checking for isinff declaration... $ECHO_C" >&6
57541 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
57542 if test "${glibcxx_cv_func_isinff_use+set}" = set; then
57543 echo $ECHO_N "(cached) $ECHO_C" >&6
57544 else
57545
57546
57547
57548 ac_ext=cc
57549 ac_cpp='$CXXCPP $CPPFLAGS'
57550 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57551 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57552 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57553
57554 cat >conftest.$ac_ext <<_ACEOF
57555 /* confdefs.h. */
57556 _ACEOF
57557 cat confdefs.h >>conftest.$ac_ext
57558 cat >>conftest.$ac_ext <<_ACEOF
57559 /* end confdefs.h. */
57560 #include <math.h>
57561 #ifdef HAVE_IEEEFP_H
57562 #include <ieeefp.h>
57563 #endif
57564
57565 int
57566 main ()
57567 {
57568 isinff(0);
57569 ;
57570 return 0;
57571 }
57572 _ACEOF
57573 rm -f conftest.$ac_objext
57574 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57575 (eval $ac_compile) 2>conftest.er1
57576 ac_status=$?
57577 grep -v '^ *+' conftest.er1 >conftest.err
57578 rm -f conftest.er1
57579 cat conftest.err >&5
57580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57581 (exit $ac_status); } &&
57582 { ac_try='test -z "$ac_cxx_werror_flag"
57583 || test ! -s conftest.err'
57584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57585 (eval $ac_try) 2>&5
57586 ac_status=$?
57587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57588 (exit $ac_status); }; } &&
57589 { ac_try='test -s conftest.$ac_objext'
57590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57591 (eval $ac_try) 2>&5
57592 ac_status=$?
57593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57594 (exit $ac_status); }; }; then
57595 glibcxx_cv_func_isinff_use=yes
57596 else
57597 echo "$as_me: failed program was:" >&5
57598 sed 's/^/| /' conftest.$ac_ext >&5
57599
57600 glibcxx_cv_func_isinff_use=no
57601 fi
57602 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57603 ac_ext=c
57604 ac_cpp='$CPP $CPPFLAGS'
57605 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57606 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57607 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57608
57609
57610 fi
57611
57612 fi
57613 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinff_use" >&5
57614 echo "${ECHO_T}$glibcxx_cv_func_isinff_use" >&6
57615
57616 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
57617
57618 for ac_func in isinff
57619 do
57620 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57621 echo "$as_me:$LINENO: checking for $ac_func" >&5
57622 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57623 if eval "test \"\${$as_ac_var+set}\" = set"; then
57624 echo $ECHO_N "(cached) $ECHO_C" >&6
57625 else
57626 if test x$gcc_no_link = xyes; then
57627 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57628 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57629 { (exit 1); exit 1; }; }
57630 fi
57631 cat >conftest.$ac_ext <<_ACEOF
57632 /* confdefs.h. */
57633 _ACEOF
57634 cat confdefs.h >>conftest.$ac_ext
57635 cat >>conftest.$ac_ext <<_ACEOF
57636 /* end confdefs.h. */
57637 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57638 For example, HP-UX 11i <limits.h> declares gettimeofday. */
57639 #define $ac_func innocuous_$ac_func
57640
57641 /* System header to define __stub macros and hopefully few prototypes,
57642 which can conflict with char $ac_func (); below.
57643 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57644 <limits.h> exists even on freestanding compilers. */
57645
57646 #ifdef __STDC__
57647 # include <limits.h>
57648 #else
57649 # include <assert.h>
57650 #endif
57651
57652 #undef $ac_func
57653
57654 /* Override any gcc2 internal prototype to avoid an error. */
57655 #ifdef __cplusplus
57656 extern "C"
57657 {
57658 #endif
57659 /* We use char because int might match the return type of a gcc2
57660 builtin and then its argument prototype would still apply. */
57661 char $ac_func ();
57662 /* The GNU C library defines this for functions which it implements
57663 to always fail with ENOSYS. Some functions are actually named
57664 something starting with __ and the normal name is an alias. */
57665 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57666 choke me
57667 #else
57668 char (*f) () = $ac_func;
57669 #endif
57670 #ifdef __cplusplus
57671 }
57672 #endif
57673
57674 int
57675 main ()
57676 {
57677 return f != $ac_func;
57678 ;
57679 return 0;
57680 }
57681 _ACEOF
57682 rm -f conftest.$ac_objext conftest$ac_exeext
57683 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57684 (eval $ac_link) 2>conftest.er1
57685 ac_status=$?
57686 grep -v '^ *+' conftest.er1 >conftest.err
57687 rm -f conftest.er1
57688 cat conftest.err >&5
57689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57690 (exit $ac_status); } &&
57691 { ac_try='test -z "$ac_c_werror_flag"
57692 || test ! -s conftest.err'
57693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57694 (eval $ac_try) 2>&5
57695 ac_status=$?
57696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57697 (exit $ac_status); }; } &&
57698 { ac_try='test -s conftest$ac_exeext'
57699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57700 (eval $ac_try) 2>&5
57701 ac_status=$?
57702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57703 (exit $ac_status); }; }; then
57704 eval "$as_ac_var=yes"
57705 else
57706 echo "$as_me: failed program was:" >&5
57707 sed 's/^/| /' conftest.$ac_ext >&5
57708
57709 eval "$as_ac_var=no"
57710 fi
57711 rm -f conftest.err conftest.$ac_objext \
57712 conftest$ac_exeext conftest.$ac_ext
57713 fi
57714 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57715 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57716 if test `eval echo '${'$as_ac_var'}'` = yes; then
57717 cat >>confdefs.h <<_ACEOF
57718 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57719 _ACEOF
57720
57721 fi
57722 done
57723
57724 else
57725
57726 echo "$as_me:$LINENO: checking for _isinff declaration" >&5
57727 echo $ECHO_N "checking for _isinff declaration... $ECHO_C" >&6
57728 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
57729 if test "${glibcxx_cv_func__isinff_use+set}" = set; then
57730 echo $ECHO_N "(cached) $ECHO_C" >&6
57731 else
57732
57733
57734
57735 ac_ext=cc
57736 ac_cpp='$CXXCPP $CPPFLAGS'
57737 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57738 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57739 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57740
57741 cat >conftest.$ac_ext <<_ACEOF
57742 /* confdefs.h. */
57743 _ACEOF
57744 cat confdefs.h >>conftest.$ac_ext
57745 cat >>conftest.$ac_ext <<_ACEOF
57746 /* end confdefs.h. */
57747 #include <math.h>
57748 #ifdef HAVE_IEEEFP_H
57749 #include <ieeefp.h>
57750 #endif
57751
57752 int
57753 main ()
57754 {
57755 _isinff(0);
57756 ;
57757 return 0;
57758 }
57759 _ACEOF
57760 rm -f conftest.$ac_objext
57761 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57762 (eval $ac_compile) 2>conftest.er1
57763 ac_status=$?
57764 grep -v '^ *+' conftest.er1 >conftest.err
57765 rm -f conftest.er1
57766 cat conftest.err >&5
57767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57768 (exit $ac_status); } &&
57769 { ac_try='test -z "$ac_cxx_werror_flag"
57770 || test ! -s conftest.err'
57771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57772 (eval $ac_try) 2>&5
57773 ac_status=$?
57774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57775 (exit $ac_status); }; } &&
57776 { ac_try='test -s conftest.$ac_objext'
57777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57778 (eval $ac_try) 2>&5
57779 ac_status=$?
57780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57781 (exit $ac_status); }; }; then
57782 glibcxx_cv_func__isinff_use=yes
57783 else
57784 echo "$as_me: failed program was:" >&5
57785 sed 's/^/| /' conftest.$ac_ext >&5
57786
57787 glibcxx_cv_func__isinff_use=no
57788 fi
57789 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57790 ac_ext=c
57791 ac_cpp='$CPP $CPPFLAGS'
57792 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57793 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57794 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57795
57796
57797 fi
57798
57799 fi
57800 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinff_use" >&5
57801 echo "${ECHO_T}$glibcxx_cv_func__isinff_use" >&6
57802
57803 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
57804
57805 for ac_func in _isinff
57806 do
57807 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57808 echo "$as_me:$LINENO: checking for $ac_func" >&5
57809 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57810 if eval "test \"\${$as_ac_var+set}\" = set"; then
57811 echo $ECHO_N "(cached) $ECHO_C" >&6
57812 else
57813 if test x$gcc_no_link = xyes; then
57814 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57815 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57816 { (exit 1); exit 1; }; }
57817 fi
57818 cat >conftest.$ac_ext <<_ACEOF
57819 /* confdefs.h. */
57820 _ACEOF
57821 cat confdefs.h >>conftest.$ac_ext
57822 cat >>conftest.$ac_ext <<_ACEOF
57823 /* end confdefs.h. */
57824 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57825 For example, HP-UX 11i <limits.h> declares gettimeofday. */
57826 #define $ac_func innocuous_$ac_func
57827
57828 /* System header to define __stub macros and hopefully few prototypes,
57829 which can conflict with char $ac_func (); below.
57830 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57831 <limits.h> exists even on freestanding compilers. */
57832
57833 #ifdef __STDC__
57834 # include <limits.h>
57835 #else
57836 # include <assert.h>
57837 #endif
57838
57839 #undef $ac_func
57840
57841 /* Override any gcc2 internal prototype to avoid an error. */
57842 #ifdef __cplusplus
57843 extern "C"
57844 {
57845 #endif
57846 /* We use char because int might match the return type of a gcc2
57847 builtin and then its argument prototype would still apply. */
57848 char $ac_func ();
57849 /* The GNU C library defines this for functions which it implements
57850 to always fail with ENOSYS. Some functions are actually named
57851 something starting with __ and the normal name is an alias. */
57852 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57853 choke me
57854 #else
57855 char (*f) () = $ac_func;
57856 #endif
57857 #ifdef __cplusplus
57858 }
57859 #endif
57860
57861 int
57862 main ()
57863 {
57864 return f != $ac_func;
57865 ;
57866 return 0;
57867 }
57868 _ACEOF
57869 rm -f conftest.$ac_objext conftest$ac_exeext
57870 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57871 (eval $ac_link) 2>conftest.er1
57872 ac_status=$?
57873 grep -v '^ *+' conftest.er1 >conftest.err
57874 rm -f conftest.er1
57875 cat conftest.err >&5
57876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57877 (exit $ac_status); } &&
57878 { ac_try='test -z "$ac_c_werror_flag"
57879 || test ! -s conftest.err'
57880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57881 (eval $ac_try) 2>&5
57882 ac_status=$?
57883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57884 (exit $ac_status); }; } &&
57885 { ac_try='test -s conftest$ac_exeext'
57886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57887 (eval $ac_try) 2>&5
57888 ac_status=$?
57889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57890 (exit $ac_status); }; }; then
57891 eval "$as_ac_var=yes"
57892 else
57893 echo "$as_me: failed program was:" >&5
57894 sed 's/^/| /' conftest.$ac_ext >&5
57895
57896 eval "$as_ac_var=no"
57897 fi
57898 rm -f conftest.err conftest.$ac_objext \
57899 conftest$ac_exeext conftest.$ac_ext
57900 fi
57901 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57902 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57903 if test `eval echo '${'$as_ac_var'}'` = yes; then
57904 cat >>confdefs.h <<_ACEOF
57905 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57906 _ACEOF
57907
57908 fi
57909 done
57910
57911 fi
57912 fi
57913
57914
57915
57916
57917
57918
57919 echo "$as_me:$LINENO: checking for atan2f declaration" >&5
57920 echo $ECHO_N "checking for atan2f declaration... $ECHO_C" >&6
57921 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
57922 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then
57923 echo $ECHO_N "(cached) $ECHO_C" >&6
57924 else
57925
57926
57927
57928 ac_ext=cc
57929 ac_cpp='$CXXCPP $CPPFLAGS'
57930 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57931 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57932 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57933
57934 cat >conftest.$ac_ext <<_ACEOF
57935 /* confdefs.h. */
57936 _ACEOF
57937 cat confdefs.h >>conftest.$ac_ext
57938 cat >>conftest.$ac_ext <<_ACEOF
57939 /* end confdefs.h. */
57940 #include <math.h>
57941 int
57942 main ()
57943 {
57944 atan2f(0, 0);
57945 ;
57946 return 0;
57947 }
57948 _ACEOF
57949 rm -f conftest.$ac_objext
57950 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57951 (eval $ac_compile) 2>conftest.er1
57952 ac_status=$?
57953 grep -v '^ *+' conftest.er1 >conftest.err
57954 rm -f conftest.er1
57955 cat conftest.err >&5
57956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57957 (exit $ac_status); } &&
57958 { ac_try='test -z "$ac_cxx_werror_flag"
57959 || test ! -s conftest.err'
57960 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57961 (eval $ac_try) 2>&5
57962 ac_status=$?
57963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57964 (exit $ac_status); }; } &&
57965 { ac_try='test -s conftest.$ac_objext'
57966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57967 (eval $ac_try) 2>&5
57968 ac_status=$?
57969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57970 (exit $ac_status); }; }; then
57971 glibcxx_cv_func_atan2f_use=yes
57972 else
57973 echo "$as_me: failed program was:" >&5
57974 sed 's/^/| /' conftest.$ac_ext >&5
57975
57976 glibcxx_cv_func_atan2f_use=no
57977 fi
57978 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57979 ac_ext=c
57980 ac_cpp='$CPP $CPPFLAGS'
57981 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57982 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57983 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57984
57985
57986 fi
57987
57988 fi
57989 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2f_use" >&5
57990 echo "${ECHO_T}$glibcxx_cv_func_atan2f_use" >&6
57991
57992 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
57993
57994 for ac_func in atan2f
57995 do
57996 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57997 echo "$as_me:$LINENO: checking for $ac_func" >&5
57998 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57999 if eval "test \"\${$as_ac_var+set}\" = set"; then
58000 echo $ECHO_N "(cached) $ECHO_C" >&6
58001 else
58002 if test x$gcc_no_link = xyes; then
58003 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58004 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58005 { (exit 1); exit 1; }; }
58006 fi
58007 cat >conftest.$ac_ext <<_ACEOF
58008 /* confdefs.h. */
58009 _ACEOF
58010 cat confdefs.h >>conftest.$ac_ext
58011 cat >>conftest.$ac_ext <<_ACEOF
58012 /* end confdefs.h. */
58013 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58014 For example, HP-UX 11i <limits.h> declares gettimeofday. */
58015 #define $ac_func innocuous_$ac_func
58016
58017 /* System header to define __stub macros and hopefully few prototypes,
58018 which can conflict with char $ac_func (); below.
58019 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58020 <limits.h> exists even on freestanding compilers. */
58021
58022 #ifdef __STDC__
58023 # include <limits.h>
58024 #else
58025 # include <assert.h>
58026 #endif
58027
58028 #undef $ac_func
58029
58030 /* Override any gcc2 internal prototype to avoid an error. */
58031 #ifdef __cplusplus
58032 extern "C"
58033 {
58034 #endif
58035 /* We use char because int might match the return type of a gcc2
58036 builtin and then its argument prototype would still apply. */
58037 char $ac_func ();
58038 /* The GNU C library defines this for functions which it implements
58039 to always fail with ENOSYS. Some functions are actually named
58040 something starting with __ and the normal name is an alias. */
58041 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58042 choke me
58043 #else
58044 char (*f) () = $ac_func;
58045 #endif
58046 #ifdef __cplusplus
58047 }
58048 #endif
58049
58050 int
58051 main ()
58052 {
58053 return f != $ac_func;
58054 ;
58055 return 0;
58056 }
58057 _ACEOF
58058 rm -f conftest.$ac_objext conftest$ac_exeext
58059 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58060 (eval $ac_link) 2>conftest.er1
58061 ac_status=$?
58062 grep -v '^ *+' conftest.er1 >conftest.err
58063 rm -f conftest.er1
58064 cat conftest.err >&5
58065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58066 (exit $ac_status); } &&
58067 { ac_try='test -z "$ac_c_werror_flag"
58068 || test ! -s conftest.err'
58069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58070 (eval $ac_try) 2>&5
58071 ac_status=$?
58072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58073 (exit $ac_status); }; } &&
58074 { ac_try='test -s conftest$ac_exeext'
58075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58076 (eval $ac_try) 2>&5
58077 ac_status=$?
58078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58079 (exit $ac_status); }; }; then
58080 eval "$as_ac_var=yes"
58081 else
58082 echo "$as_me: failed program was:" >&5
58083 sed 's/^/| /' conftest.$ac_ext >&5
58084
58085 eval "$as_ac_var=no"
58086 fi
58087 rm -f conftest.err conftest.$ac_objext \
58088 conftest$ac_exeext conftest.$ac_ext
58089 fi
58090 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58091 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58092 if test `eval echo '${'$as_ac_var'}'` = yes; then
58093 cat >>confdefs.h <<_ACEOF
58094 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58095 _ACEOF
58096
58097 fi
58098 done
58099
58100 else
58101
58102 echo "$as_me:$LINENO: checking for _atan2f declaration" >&5
58103 echo $ECHO_N "checking for _atan2f declaration... $ECHO_C" >&6
58104 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
58105 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then
58106 echo $ECHO_N "(cached) $ECHO_C" >&6
58107 else
58108
58109
58110
58111 ac_ext=cc
58112 ac_cpp='$CXXCPP $CPPFLAGS'
58113 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58114 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58115 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58116
58117 cat >conftest.$ac_ext <<_ACEOF
58118 /* confdefs.h. */
58119 _ACEOF
58120 cat confdefs.h >>conftest.$ac_ext
58121 cat >>conftest.$ac_ext <<_ACEOF
58122 /* end confdefs.h. */
58123 #include <math.h>
58124 int
58125 main ()
58126 {
58127 _atan2f(0, 0);
58128 ;
58129 return 0;
58130 }
58131 _ACEOF
58132 rm -f conftest.$ac_objext
58133 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58134 (eval $ac_compile) 2>conftest.er1
58135 ac_status=$?
58136 grep -v '^ *+' conftest.er1 >conftest.err
58137 rm -f conftest.er1
58138 cat conftest.err >&5
58139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58140 (exit $ac_status); } &&
58141 { ac_try='test -z "$ac_cxx_werror_flag"
58142 || test ! -s conftest.err'
58143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58144 (eval $ac_try) 2>&5
58145 ac_status=$?
58146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58147 (exit $ac_status); }; } &&
58148 { ac_try='test -s conftest.$ac_objext'
58149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58150 (eval $ac_try) 2>&5
58151 ac_status=$?
58152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58153 (exit $ac_status); }; }; then
58154 glibcxx_cv_func__atan2f_use=yes
58155 else
58156 echo "$as_me: failed program was:" >&5
58157 sed 's/^/| /' conftest.$ac_ext >&5
58158
58159 glibcxx_cv_func__atan2f_use=no
58160 fi
58161 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58162 ac_ext=c
58163 ac_cpp='$CPP $CPPFLAGS'
58164 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58165 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58166 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58167
58168
58169 fi
58170
58171 fi
58172 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2f_use" >&5
58173 echo "${ECHO_T}$glibcxx_cv_func__atan2f_use" >&6
58174
58175 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
58176
58177 for ac_func in _atan2f
58178 do
58179 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58180 echo "$as_me:$LINENO: checking for $ac_func" >&5
58181 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58182 if eval "test \"\${$as_ac_var+set}\" = set"; then
58183 echo $ECHO_N "(cached) $ECHO_C" >&6
58184 else
58185 if test x$gcc_no_link = xyes; then
58186 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58187 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58188 { (exit 1); exit 1; }; }
58189 fi
58190 cat >conftest.$ac_ext <<_ACEOF
58191 /* confdefs.h. */
58192 _ACEOF
58193 cat confdefs.h >>conftest.$ac_ext
58194 cat >>conftest.$ac_ext <<_ACEOF
58195 /* end confdefs.h. */
58196 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58197 For example, HP-UX 11i <limits.h> declares gettimeofday. */
58198 #define $ac_func innocuous_$ac_func
58199
58200 /* System header to define __stub macros and hopefully few prototypes,
58201 which can conflict with char $ac_func (); below.
58202 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58203 <limits.h> exists even on freestanding compilers. */
58204
58205 #ifdef __STDC__
58206 # include <limits.h>
58207 #else
58208 # include <assert.h>
58209 #endif
58210
58211 #undef $ac_func
58212
58213 /* Override any gcc2 internal prototype to avoid an error. */
58214 #ifdef __cplusplus
58215 extern "C"
58216 {
58217 #endif
58218 /* We use char because int might match the return type of a gcc2
58219 builtin and then its argument prototype would still apply. */
58220 char $ac_func ();
58221 /* The GNU C library defines this for functions which it implements
58222 to always fail with ENOSYS. Some functions are actually named
58223 something starting with __ and the normal name is an alias. */
58224 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58225 choke me
58226 #else
58227 char (*f) () = $ac_func;
58228 #endif
58229 #ifdef __cplusplus
58230 }
58231 #endif
58232
58233 int
58234 main ()
58235 {
58236 return f != $ac_func;
58237 ;
58238 return 0;
58239 }
58240 _ACEOF
58241 rm -f conftest.$ac_objext conftest$ac_exeext
58242 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58243 (eval $ac_link) 2>conftest.er1
58244 ac_status=$?
58245 grep -v '^ *+' conftest.er1 >conftest.err
58246 rm -f conftest.er1
58247 cat conftest.err >&5
58248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58249 (exit $ac_status); } &&
58250 { ac_try='test -z "$ac_c_werror_flag"
58251 || test ! -s conftest.err'
58252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58253 (eval $ac_try) 2>&5
58254 ac_status=$?
58255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58256 (exit $ac_status); }; } &&
58257 { ac_try='test -s conftest$ac_exeext'
58258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58259 (eval $ac_try) 2>&5
58260 ac_status=$?
58261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58262 (exit $ac_status); }; }; then
58263 eval "$as_ac_var=yes"
58264 else
58265 echo "$as_me: failed program was:" >&5
58266 sed 's/^/| /' conftest.$ac_ext >&5
58267
58268 eval "$as_ac_var=no"
58269 fi
58270 rm -f conftest.err conftest.$ac_objext \
58271 conftest$ac_exeext conftest.$ac_ext
58272 fi
58273 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58274 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58275 if test `eval echo '${'$as_ac_var'}'` = yes; then
58276 cat >>confdefs.h <<_ACEOF
58277 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58278 _ACEOF
58279
58280 fi
58281 done
58282
58283 fi
58284 fi
58285
58286
58287
58288
58289
58290
58291 echo "$as_me:$LINENO: checking for fabsf declaration" >&5
58292 echo $ECHO_N "checking for fabsf declaration... $ECHO_C" >&6
58293 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
58294 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then
58295 echo $ECHO_N "(cached) $ECHO_C" >&6
58296 else
58297
58298
58299
58300 ac_ext=cc
58301 ac_cpp='$CXXCPP $CPPFLAGS'
58302 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58303 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58304 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58305
58306 cat >conftest.$ac_ext <<_ACEOF
58307 /* confdefs.h. */
58308 _ACEOF
58309 cat confdefs.h >>conftest.$ac_ext
58310 cat >>conftest.$ac_ext <<_ACEOF
58311 /* end confdefs.h. */
58312 #include <math.h>
58313 #ifdef HAVE_IEEEFP_H
58314 #include <ieeefp.h>
58315 #endif
58316
58317 int
58318 main ()
58319 {
58320 fabsf(0);
58321 ;
58322 return 0;
58323 }
58324 _ACEOF
58325 rm -f conftest.$ac_objext
58326 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58327 (eval $ac_compile) 2>conftest.er1
58328 ac_status=$?
58329 grep -v '^ *+' conftest.er1 >conftest.err
58330 rm -f conftest.er1
58331 cat conftest.err >&5
58332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58333 (exit $ac_status); } &&
58334 { ac_try='test -z "$ac_cxx_werror_flag"
58335 || test ! -s conftest.err'
58336 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58337 (eval $ac_try) 2>&5
58338 ac_status=$?
58339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58340 (exit $ac_status); }; } &&
58341 { ac_try='test -s conftest.$ac_objext'
58342 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58343 (eval $ac_try) 2>&5
58344 ac_status=$?
58345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58346 (exit $ac_status); }; }; then
58347 glibcxx_cv_func_fabsf_use=yes
58348 else
58349 echo "$as_me: failed program was:" >&5
58350 sed 's/^/| /' conftest.$ac_ext >&5
58351
58352 glibcxx_cv_func_fabsf_use=no
58353 fi
58354 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58355 ac_ext=c
58356 ac_cpp='$CPP $CPPFLAGS'
58357 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58358 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58359 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58360
58361
58362 fi
58363
58364 fi
58365 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsf_use" >&5
58366 echo "${ECHO_T}$glibcxx_cv_func_fabsf_use" >&6
58367
58368 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
58369
58370 for ac_func in fabsf
58371 do
58372 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58373 echo "$as_me:$LINENO: checking for $ac_func" >&5
58374 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58375 if eval "test \"\${$as_ac_var+set}\" = set"; then
58376 echo $ECHO_N "(cached) $ECHO_C" >&6
58377 else
58378 if test x$gcc_no_link = xyes; then
58379 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58380 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58381 { (exit 1); exit 1; }; }
58382 fi
58383 cat >conftest.$ac_ext <<_ACEOF
58384 /* confdefs.h. */
58385 _ACEOF
58386 cat confdefs.h >>conftest.$ac_ext
58387 cat >>conftest.$ac_ext <<_ACEOF
58388 /* end confdefs.h. */
58389 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58390 For example, HP-UX 11i <limits.h> declares gettimeofday. */
58391 #define $ac_func innocuous_$ac_func
58392
58393 /* System header to define __stub macros and hopefully few prototypes,
58394 which can conflict with char $ac_func (); below.
58395 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58396 <limits.h> exists even on freestanding compilers. */
58397
58398 #ifdef __STDC__
58399 # include <limits.h>
58400 #else
58401 # include <assert.h>
58402 #endif
58403
58404 #undef $ac_func
58405
58406 /* Override any gcc2 internal prototype to avoid an error. */
58407 #ifdef __cplusplus
58408 extern "C"
58409 {
58410 #endif
58411 /* We use char because int might match the return type of a gcc2
58412 builtin and then its argument prototype would still apply. */
58413 char $ac_func ();
58414 /* The GNU C library defines this for functions which it implements
58415 to always fail with ENOSYS. Some functions are actually named
58416 something starting with __ and the normal name is an alias. */
58417 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58418 choke me
58419 #else
58420 char (*f) () = $ac_func;
58421 #endif
58422 #ifdef __cplusplus
58423 }
58424 #endif
58425
58426 int
58427 main ()
58428 {
58429 return f != $ac_func;
58430 ;
58431 return 0;
58432 }
58433 _ACEOF
58434 rm -f conftest.$ac_objext conftest$ac_exeext
58435 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58436 (eval $ac_link) 2>conftest.er1
58437 ac_status=$?
58438 grep -v '^ *+' conftest.er1 >conftest.err
58439 rm -f conftest.er1
58440 cat conftest.err >&5
58441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58442 (exit $ac_status); } &&
58443 { ac_try='test -z "$ac_c_werror_flag"
58444 || test ! -s conftest.err'
58445 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58446 (eval $ac_try) 2>&5
58447 ac_status=$?
58448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58449 (exit $ac_status); }; } &&
58450 { ac_try='test -s conftest$ac_exeext'
58451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58452 (eval $ac_try) 2>&5
58453 ac_status=$?
58454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58455 (exit $ac_status); }; }; then
58456 eval "$as_ac_var=yes"
58457 else
58458 echo "$as_me: failed program was:" >&5
58459 sed 's/^/| /' conftest.$ac_ext >&5
58460
58461 eval "$as_ac_var=no"
58462 fi
58463 rm -f conftest.err conftest.$ac_objext \
58464 conftest$ac_exeext conftest.$ac_ext
58465 fi
58466 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58467 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58468 if test `eval echo '${'$as_ac_var'}'` = yes; then
58469 cat >>confdefs.h <<_ACEOF
58470 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58471 _ACEOF
58472
58473 fi
58474 done
58475
58476 else
58477
58478 echo "$as_me:$LINENO: checking for _fabsf declaration" >&5
58479 echo $ECHO_N "checking for _fabsf declaration... $ECHO_C" >&6
58480 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
58481 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then
58482 echo $ECHO_N "(cached) $ECHO_C" >&6
58483 else
58484
58485
58486
58487 ac_ext=cc
58488 ac_cpp='$CXXCPP $CPPFLAGS'
58489 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58490 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58491 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58492
58493 cat >conftest.$ac_ext <<_ACEOF
58494 /* confdefs.h. */
58495 _ACEOF
58496 cat confdefs.h >>conftest.$ac_ext
58497 cat >>conftest.$ac_ext <<_ACEOF
58498 /* end confdefs.h. */
58499 #include <math.h>
58500 #ifdef HAVE_IEEEFP_H
58501 #include <ieeefp.h>
58502 #endif
58503
58504 int
58505 main ()
58506 {
58507 _fabsf(0);
58508 ;
58509 return 0;
58510 }
58511 _ACEOF
58512 rm -f conftest.$ac_objext
58513 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58514 (eval $ac_compile) 2>conftest.er1
58515 ac_status=$?
58516 grep -v '^ *+' conftest.er1 >conftest.err
58517 rm -f conftest.er1
58518 cat conftest.err >&5
58519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58520 (exit $ac_status); } &&
58521 { ac_try='test -z "$ac_cxx_werror_flag"
58522 || test ! -s conftest.err'
58523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58524 (eval $ac_try) 2>&5
58525 ac_status=$?
58526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58527 (exit $ac_status); }; } &&
58528 { ac_try='test -s conftest.$ac_objext'
58529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58530 (eval $ac_try) 2>&5
58531 ac_status=$?
58532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58533 (exit $ac_status); }; }; then
58534 glibcxx_cv_func__fabsf_use=yes
58535 else
58536 echo "$as_me: failed program was:" >&5
58537 sed 's/^/| /' conftest.$ac_ext >&5
58538
58539 glibcxx_cv_func__fabsf_use=no
58540 fi
58541 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58542 ac_ext=c
58543 ac_cpp='$CPP $CPPFLAGS'
58544 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58545 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58546 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58547
58548
58549 fi
58550
58551 fi
58552 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsf_use" >&5
58553 echo "${ECHO_T}$glibcxx_cv_func__fabsf_use" >&6
58554
58555 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
58556
58557 for ac_func in _fabsf
58558 do
58559 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58560 echo "$as_me:$LINENO: checking for $ac_func" >&5
58561 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58562 if eval "test \"\${$as_ac_var+set}\" = set"; then
58563 echo $ECHO_N "(cached) $ECHO_C" >&6
58564 else
58565 if test x$gcc_no_link = xyes; then
58566 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58567 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58568 { (exit 1); exit 1; }; }
58569 fi
58570 cat >conftest.$ac_ext <<_ACEOF
58571 /* confdefs.h. */
58572 _ACEOF
58573 cat confdefs.h >>conftest.$ac_ext
58574 cat >>conftest.$ac_ext <<_ACEOF
58575 /* end confdefs.h. */
58576 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58577 For example, HP-UX 11i <limits.h> declares gettimeofday. */
58578 #define $ac_func innocuous_$ac_func
58579
58580 /* System header to define __stub macros and hopefully few prototypes,
58581 which can conflict with char $ac_func (); below.
58582 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58583 <limits.h> exists even on freestanding compilers. */
58584
58585 #ifdef __STDC__
58586 # include <limits.h>
58587 #else
58588 # include <assert.h>
58589 #endif
58590
58591 #undef $ac_func
58592
58593 /* Override any gcc2 internal prototype to avoid an error. */
58594 #ifdef __cplusplus
58595 extern "C"
58596 {
58597 #endif
58598 /* We use char because int might match the return type of a gcc2
58599 builtin and then its argument prototype would still apply. */
58600 char $ac_func ();
58601 /* The GNU C library defines this for functions which it implements
58602 to always fail with ENOSYS. Some functions are actually named
58603 something starting with __ and the normal name is an alias. */
58604 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58605 choke me
58606 #else
58607 char (*f) () = $ac_func;
58608 #endif
58609 #ifdef __cplusplus
58610 }
58611 #endif
58612
58613 int
58614 main ()
58615 {
58616 return f != $ac_func;
58617 ;
58618 return 0;
58619 }
58620 _ACEOF
58621 rm -f conftest.$ac_objext conftest$ac_exeext
58622 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58623 (eval $ac_link) 2>conftest.er1
58624 ac_status=$?
58625 grep -v '^ *+' conftest.er1 >conftest.err
58626 rm -f conftest.er1
58627 cat conftest.err >&5
58628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58629 (exit $ac_status); } &&
58630 { ac_try='test -z "$ac_c_werror_flag"
58631 || test ! -s conftest.err'
58632 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58633 (eval $ac_try) 2>&5
58634 ac_status=$?
58635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58636 (exit $ac_status); }; } &&
58637 { ac_try='test -s conftest$ac_exeext'
58638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58639 (eval $ac_try) 2>&5
58640 ac_status=$?
58641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58642 (exit $ac_status); }; }; then
58643 eval "$as_ac_var=yes"
58644 else
58645 echo "$as_me: failed program was:" >&5
58646 sed 's/^/| /' conftest.$ac_ext >&5
58647
58648 eval "$as_ac_var=no"
58649 fi
58650 rm -f conftest.err conftest.$ac_objext \
58651 conftest$ac_exeext conftest.$ac_ext
58652 fi
58653 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58654 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58655 if test `eval echo '${'$as_ac_var'}'` = yes; then
58656 cat >>confdefs.h <<_ACEOF
58657 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58658 _ACEOF
58659
58660 fi
58661 done
58662
58663 fi
58664 fi
58665
58666
58667
58668
58669
58670
58671 echo "$as_me:$LINENO: checking for fmodf declaration" >&5
58672 echo $ECHO_N "checking for fmodf declaration... $ECHO_C" >&6
58673 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
58674 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then
58675 echo $ECHO_N "(cached) $ECHO_C" >&6
58676 else
58677
58678
58679
58680 ac_ext=cc
58681 ac_cpp='$CXXCPP $CPPFLAGS'
58682 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58683 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58684 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58685
58686 cat >conftest.$ac_ext <<_ACEOF
58687 /* confdefs.h. */
58688 _ACEOF
58689 cat confdefs.h >>conftest.$ac_ext
58690 cat >>conftest.$ac_ext <<_ACEOF
58691 /* end confdefs.h. */
58692 #include <math.h>
58693 int
58694 main ()
58695 {
58696 fmodf(0, 0);
58697 ;
58698 return 0;
58699 }
58700 _ACEOF
58701 rm -f conftest.$ac_objext
58702 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58703 (eval $ac_compile) 2>conftest.er1
58704 ac_status=$?
58705 grep -v '^ *+' conftest.er1 >conftest.err
58706 rm -f conftest.er1
58707 cat conftest.err >&5
58708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58709 (exit $ac_status); } &&
58710 { ac_try='test -z "$ac_cxx_werror_flag"
58711 || test ! -s conftest.err'
58712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58713 (eval $ac_try) 2>&5
58714 ac_status=$?
58715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58716 (exit $ac_status); }; } &&
58717 { ac_try='test -s conftest.$ac_objext'
58718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58719 (eval $ac_try) 2>&5
58720 ac_status=$?
58721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58722 (exit $ac_status); }; }; then
58723 glibcxx_cv_func_fmodf_use=yes
58724 else
58725 echo "$as_me: failed program was:" >&5
58726 sed 's/^/| /' conftest.$ac_ext >&5
58727
58728 glibcxx_cv_func_fmodf_use=no
58729 fi
58730 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58731 ac_ext=c
58732 ac_cpp='$CPP $CPPFLAGS'
58733 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58734 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58735 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58736
58737
58738 fi
58739
58740 fi
58741 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodf_use" >&5
58742 echo "${ECHO_T}$glibcxx_cv_func_fmodf_use" >&6
58743
58744 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
58745
58746 for ac_func in fmodf
58747 do
58748 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58749 echo "$as_me:$LINENO: checking for $ac_func" >&5
58750 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58751 if eval "test \"\${$as_ac_var+set}\" = set"; then
58752 echo $ECHO_N "(cached) $ECHO_C" >&6
58753 else
58754 if test x$gcc_no_link = xyes; then
58755 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58756 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58757 { (exit 1); exit 1; }; }
58758 fi
58759 cat >conftest.$ac_ext <<_ACEOF
58760 /* confdefs.h. */
58761 _ACEOF
58762 cat confdefs.h >>conftest.$ac_ext
58763 cat >>conftest.$ac_ext <<_ACEOF
58764 /* end confdefs.h. */
58765 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58766 For example, HP-UX 11i <limits.h> declares gettimeofday. */
58767 #define $ac_func innocuous_$ac_func
58768
58769 /* System header to define __stub macros and hopefully few prototypes,
58770 which can conflict with char $ac_func (); below.
58771 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58772 <limits.h> exists even on freestanding compilers. */
58773
58774 #ifdef __STDC__
58775 # include <limits.h>
58776 #else
58777 # include <assert.h>
58778 #endif
58779
58780 #undef $ac_func
58781
58782 /* Override any gcc2 internal prototype to avoid an error. */
58783 #ifdef __cplusplus
58784 extern "C"
58785 {
58786 #endif
58787 /* We use char because int might match the return type of a gcc2
58788 builtin and then its argument prototype would still apply. */
58789 char $ac_func ();
58790 /* The GNU C library defines this for functions which it implements
58791 to always fail with ENOSYS. Some functions are actually named
58792 something starting with __ and the normal name is an alias. */
58793 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58794 choke me
58795 #else
58796 char (*f) () = $ac_func;
58797 #endif
58798 #ifdef __cplusplus
58799 }
58800 #endif
58801
58802 int
58803 main ()
58804 {
58805 return f != $ac_func;
58806 ;
58807 return 0;
58808 }
58809 _ACEOF
58810 rm -f conftest.$ac_objext conftest$ac_exeext
58811 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58812 (eval $ac_link) 2>conftest.er1
58813 ac_status=$?
58814 grep -v '^ *+' conftest.er1 >conftest.err
58815 rm -f conftest.er1
58816 cat conftest.err >&5
58817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58818 (exit $ac_status); } &&
58819 { ac_try='test -z "$ac_c_werror_flag"
58820 || test ! -s conftest.err'
58821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58822 (eval $ac_try) 2>&5
58823 ac_status=$?
58824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58825 (exit $ac_status); }; } &&
58826 { ac_try='test -s conftest$ac_exeext'
58827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58828 (eval $ac_try) 2>&5
58829 ac_status=$?
58830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58831 (exit $ac_status); }; }; then
58832 eval "$as_ac_var=yes"
58833 else
58834 echo "$as_me: failed program was:" >&5
58835 sed 's/^/| /' conftest.$ac_ext >&5
58836
58837 eval "$as_ac_var=no"
58838 fi
58839 rm -f conftest.err conftest.$ac_objext \
58840 conftest$ac_exeext conftest.$ac_ext
58841 fi
58842 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58843 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58844 if test `eval echo '${'$as_ac_var'}'` = yes; then
58845 cat >>confdefs.h <<_ACEOF
58846 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58847 _ACEOF
58848
58849 fi
58850 done
58851
58852 else
58853
58854 echo "$as_me:$LINENO: checking for _fmodf declaration" >&5
58855 echo $ECHO_N "checking for _fmodf declaration... $ECHO_C" >&6
58856 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
58857 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then
58858 echo $ECHO_N "(cached) $ECHO_C" >&6
58859 else
58860
58861
58862
58863 ac_ext=cc
58864 ac_cpp='$CXXCPP $CPPFLAGS'
58865 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58866 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58867 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58868
58869 cat >conftest.$ac_ext <<_ACEOF
58870 /* confdefs.h. */
58871 _ACEOF
58872 cat confdefs.h >>conftest.$ac_ext
58873 cat >>conftest.$ac_ext <<_ACEOF
58874 /* end confdefs.h. */
58875 #include <math.h>
58876 int
58877 main ()
58878 {
58879 _fmodf(0, 0);
58880 ;
58881 return 0;
58882 }
58883 _ACEOF
58884 rm -f conftest.$ac_objext
58885 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58886 (eval $ac_compile) 2>conftest.er1
58887 ac_status=$?
58888 grep -v '^ *+' conftest.er1 >conftest.err
58889 rm -f conftest.er1
58890 cat conftest.err >&5
58891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58892 (exit $ac_status); } &&
58893 { ac_try='test -z "$ac_cxx_werror_flag"
58894 || test ! -s conftest.err'
58895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58896 (eval $ac_try) 2>&5
58897 ac_status=$?
58898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58899 (exit $ac_status); }; } &&
58900 { ac_try='test -s conftest.$ac_objext'
58901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58902 (eval $ac_try) 2>&5
58903 ac_status=$?
58904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58905 (exit $ac_status); }; }; then
58906 glibcxx_cv_func__fmodf_use=yes
58907 else
58908 echo "$as_me: failed program was:" >&5
58909 sed 's/^/| /' conftest.$ac_ext >&5
58910
58911 glibcxx_cv_func__fmodf_use=no
58912 fi
58913 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58914 ac_ext=c
58915 ac_cpp='$CPP $CPPFLAGS'
58916 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58917 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58918 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58919
58920
58921 fi
58922
58923 fi
58924 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodf_use" >&5
58925 echo "${ECHO_T}$glibcxx_cv_func__fmodf_use" >&6
58926
58927 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
58928
58929 for ac_func in _fmodf
58930 do
58931 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58932 echo "$as_me:$LINENO: checking for $ac_func" >&5
58933 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58934 if eval "test \"\${$as_ac_var+set}\" = set"; then
58935 echo $ECHO_N "(cached) $ECHO_C" >&6
58936 else
58937 if test x$gcc_no_link = xyes; then
58938 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58939 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58940 { (exit 1); exit 1; }; }
58941 fi
58942 cat >conftest.$ac_ext <<_ACEOF
58943 /* confdefs.h. */
58944 _ACEOF
58945 cat confdefs.h >>conftest.$ac_ext
58946 cat >>conftest.$ac_ext <<_ACEOF
58947 /* end confdefs.h. */
58948 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58949 For example, HP-UX 11i <limits.h> declares gettimeofday. */
58950 #define $ac_func innocuous_$ac_func
58951
58952 /* System header to define __stub macros and hopefully few prototypes,
58953 which can conflict with char $ac_func (); below.
58954 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58955 <limits.h> exists even on freestanding compilers. */
58956
58957 #ifdef __STDC__
58958 # include <limits.h>
58959 #else
58960 # include <assert.h>
58961 #endif
58962
58963 #undef $ac_func
58964
58965 /* Override any gcc2 internal prototype to avoid an error. */
58966 #ifdef __cplusplus
58967 extern "C"
58968 {
58969 #endif
58970 /* We use char because int might match the return type of a gcc2
58971 builtin and then its argument prototype would still apply. */
58972 char $ac_func ();
58973 /* The GNU C library defines this for functions which it implements
58974 to always fail with ENOSYS. Some functions are actually named
58975 something starting with __ and the normal name is an alias. */
58976 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58977 choke me
58978 #else
58979 char (*f) () = $ac_func;
58980 #endif
58981 #ifdef __cplusplus
58982 }
58983 #endif
58984
58985 int
58986 main ()
58987 {
58988 return f != $ac_func;
58989 ;
58990 return 0;
58991 }
58992 _ACEOF
58993 rm -f conftest.$ac_objext conftest$ac_exeext
58994 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58995 (eval $ac_link) 2>conftest.er1
58996 ac_status=$?
58997 grep -v '^ *+' conftest.er1 >conftest.err
58998 rm -f conftest.er1
58999 cat conftest.err >&5
59000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59001 (exit $ac_status); } &&
59002 { ac_try='test -z "$ac_c_werror_flag"
59003 || test ! -s conftest.err'
59004 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59005 (eval $ac_try) 2>&5
59006 ac_status=$?
59007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59008 (exit $ac_status); }; } &&
59009 { ac_try='test -s conftest$ac_exeext'
59010 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59011 (eval $ac_try) 2>&5
59012 ac_status=$?
59013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59014 (exit $ac_status); }; }; then
59015 eval "$as_ac_var=yes"
59016 else
59017 echo "$as_me: failed program was:" >&5
59018 sed 's/^/| /' conftest.$ac_ext >&5
59019
59020 eval "$as_ac_var=no"
59021 fi
59022 rm -f conftest.err conftest.$ac_objext \
59023 conftest$ac_exeext conftest.$ac_ext
59024 fi
59025 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59026 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59027 if test `eval echo '${'$as_ac_var'}'` = yes; then
59028 cat >>confdefs.h <<_ACEOF
59029 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59030 _ACEOF
59031
59032 fi
59033 done
59034
59035 fi
59036 fi
59037
59038
59039
59040
59041
59042
59043 echo "$as_me:$LINENO: checking for frexpf declaration" >&5
59044 echo $ECHO_N "checking for frexpf declaration... $ECHO_C" >&6
59045 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
59046 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then
59047 echo $ECHO_N "(cached) $ECHO_C" >&6
59048 else
59049
59050
59051
59052 ac_ext=cc
59053 ac_cpp='$CXXCPP $CPPFLAGS'
59054 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59055 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59056 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59057
59058 cat >conftest.$ac_ext <<_ACEOF
59059 /* confdefs.h. */
59060 _ACEOF
59061 cat confdefs.h >>conftest.$ac_ext
59062 cat >>conftest.$ac_ext <<_ACEOF
59063 /* end confdefs.h. */
59064 #include <math.h>
59065 int
59066 main ()
59067 {
59068 frexpf(0, 0);
59069 ;
59070 return 0;
59071 }
59072 _ACEOF
59073 rm -f conftest.$ac_objext
59074 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59075 (eval $ac_compile) 2>conftest.er1
59076 ac_status=$?
59077 grep -v '^ *+' conftest.er1 >conftest.err
59078 rm -f conftest.er1
59079 cat conftest.err >&5
59080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59081 (exit $ac_status); } &&
59082 { ac_try='test -z "$ac_cxx_werror_flag"
59083 || test ! -s conftest.err'
59084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59085 (eval $ac_try) 2>&5
59086 ac_status=$?
59087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59088 (exit $ac_status); }; } &&
59089 { ac_try='test -s conftest.$ac_objext'
59090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59091 (eval $ac_try) 2>&5
59092 ac_status=$?
59093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59094 (exit $ac_status); }; }; then
59095 glibcxx_cv_func_frexpf_use=yes
59096 else
59097 echo "$as_me: failed program was:" >&5
59098 sed 's/^/| /' conftest.$ac_ext >&5
59099
59100 glibcxx_cv_func_frexpf_use=no
59101 fi
59102 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59103 ac_ext=c
59104 ac_cpp='$CPP $CPPFLAGS'
59105 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59106 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59107 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59108
59109
59110 fi
59111
59112 fi
59113 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpf_use" >&5
59114 echo "${ECHO_T}$glibcxx_cv_func_frexpf_use" >&6
59115
59116 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
59117
59118 for ac_func in frexpf
59119 do
59120 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59121 echo "$as_me:$LINENO: checking for $ac_func" >&5
59122 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59123 if eval "test \"\${$as_ac_var+set}\" = set"; then
59124 echo $ECHO_N "(cached) $ECHO_C" >&6
59125 else
59126 if test x$gcc_no_link = xyes; then
59127 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59128 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59129 { (exit 1); exit 1; }; }
59130 fi
59131 cat >conftest.$ac_ext <<_ACEOF
59132 /* confdefs.h. */
59133 _ACEOF
59134 cat confdefs.h >>conftest.$ac_ext
59135 cat >>conftest.$ac_ext <<_ACEOF
59136 /* end confdefs.h. */
59137 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59138 For example, HP-UX 11i <limits.h> declares gettimeofday. */
59139 #define $ac_func innocuous_$ac_func
59140
59141 /* System header to define __stub macros and hopefully few prototypes,
59142 which can conflict with char $ac_func (); below.
59143 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59144 <limits.h> exists even on freestanding compilers. */
59145
59146 #ifdef __STDC__
59147 # include <limits.h>
59148 #else
59149 # include <assert.h>
59150 #endif
59151
59152 #undef $ac_func
59153
59154 /* Override any gcc2 internal prototype to avoid an error. */
59155 #ifdef __cplusplus
59156 extern "C"
59157 {
59158 #endif
59159 /* We use char because int might match the return type of a gcc2
59160 builtin and then its argument prototype would still apply. */
59161 char $ac_func ();
59162 /* The GNU C library defines this for functions which it implements
59163 to always fail with ENOSYS. Some functions are actually named
59164 something starting with __ and the normal name is an alias. */
59165 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59166 choke me
59167 #else
59168 char (*f) () = $ac_func;
59169 #endif
59170 #ifdef __cplusplus
59171 }
59172 #endif
59173
59174 int
59175 main ()
59176 {
59177 return f != $ac_func;
59178 ;
59179 return 0;
59180 }
59181 _ACEOF
59182 rm -f conftest.$ac_objext conftest$ac_exeext
59183 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59184 (eval $ac_link) 2>conftest.er1
59185 ac_status=$?
59186 grep -v '^ *+' conftest.er1 >conftest.err
59187 rm -f conftest.er1
59188 cat conftest.err >&5
59189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59190 (exit $ac_status); } &&
59191 { ac_try='test -z "$ac_c_werror_flag"
59192 || test ! -s conftest.err'
59193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59194 (eval $ac_try) 2>&5
59195 ac_status=$?
59196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59197 (exit $ac_status); }; } &&
59198 { ac_try='test -s conftest$ac_exeext'
59199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59200 (eval $ac_try) 2>&5
59201 ac_status=$?
59202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59203 (exit $ac_status); }; }; then
59204 eval "$as_ac_var=yes"
59205 else
59206 echo "$as_me: failed program was:" >&5
59207 sed 's/^/| /' conftest.$ac_ext >&5
59208
59209 eval "$as_ac_var=no"
59210 fi
59211 rm -f conftest.err conftest.$ac_objext \
59212 conftest$ac_exeext conftest.$ac_ext
59213 fi
59214 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59215 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59216 if test `eval echo '${'$as_ac_var'}'` = yes; then
59217 cat >>confdefs.h <<_ACEOF
59218 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59219 _ACEOF
59220
59221 fi
59222 done
59223
59224 else
59225
59226 echo "$as_me:$LINENO: checking for _frexpf declaration" >&5
59227 echo $ECHO_N "checking for _frexpf declaration... $ECHO_C" >&6
59228 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
59229 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then
59230 echo $ECHO_N "(cached) $ECHO_C" >&6
59231 else
59232
59233
59234
59235 ac_ext=cc
59236 ac_cpp='$CXXCPP $CPPFLAGS'
59237 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59238 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59239 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59240
59241 cat >conftest.$ac_ext <<_ACEOF
59242 /* confdefs.h. */
59243 _ACEOF
59244 cat confdefs.h >>conftest.$ac_ext
59245 cat >>conftest.$ac_ext <<_ACEOF
59246 /* end confdefs.h. */
59247 #include <math.h>
59248 int
59249 main ()
59250 {
59251 _frexpf(0, 0);
59252 ;
59253 return 0;
59254 }
59255 _ACEOF
59256 rm -f conftest.$ac_objext
59257 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59258 (eval $ac_compile) 2>conftest.er1
59259 ac_status=$?
59260 grep -v '^ *+' conftest.er1 >conftest.err
59261 rm -f conftest.er1
59262 cat conftest.err >&5
59263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59264 (exit $ac_status); } &&
59265 { ac_try='test -z "$ac_cxx_werror_flag"
59266 || test ! -s conftest.err'
59267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59268 (eval $ac_try) 2>&5
59269 ac_status=$?
59270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59271 (exit $ac_status); }; } &&
59272 { ac_try='test -s conftest.$ac_objext'
59273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59274 (eval $ac_try) 2>&5
59275 ac_status=$?
59276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59277 (exit $ac_status); }; }; then
59278 glibcxx_cv_func__frexpf_use=yes
59279 else
59280 echo "$as_me: failed program was:" >&5
59281 sed 's/^/| /' conftest.$ac_ext >&5
59282
59283 glibcxx_cv_func__frexpf_use=no
59284 fi
59285 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59286 ac_ext=c
59287 ac_cpp='$CPP $CPPFLAGS'
59288 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59289 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59290 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59291
59292
59293 fi
59294
59295 fi
59296 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpf_use" >&5
59297 echo "${ECHO_T}$glibcxx_cv_func__frexpf_use" >&6
59298
59299 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
59300
59301 for ac_func in _frexpf
59302 do
59303 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59304 echo "$as_me:$LINENO: checking for $ac_func" >&5
59305 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59306 if eval "test \"\${$as_ac_var+set}\" = set"; then
59307 echo $ECHO_N "(cached) $ECHO_C" >&6
59308 else
59309 if test x$gcc_no_link = xyes; then
59310 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59311 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59312 { (exit 1); exit 1; }; }
59313 fi
59314 cat >conftest.$ac_ext <<_ACEOF
59315 /* confdefs.h. */
59316 _ACEOF
59317 cat confdefs.h >>conftest.$ac_ext
59318 cat >>conftest.$ac_ext <<_ACEOF
59319 /* end confdefs.h. */
59320 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59321 For example, HP-UX 11i <limits.h> declares gettimeofday. */
59322 #define $ac_func innocuous_$ac_func
59323
59324 /* System header to define __stub macros and hopefully few prototypes,
59325 which can conflict with char $ac_func (); below.
59326 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59327 <limits.h> exists even on freestanding compilers. */
59328
59329 #ifdef __STDC__
59330 # include <limits.h>
59331 #else
59332 # include <assert.h>
59333 #endif
59334
59335 #undef $ac_func
59336
59337 /* Override any gcc2 internal prototype to avoid an error. */
59338 #ifdef __cplusplus
59339 extern "C"
59340 {
59341 #endif
59342 /* We use char because int might match the return type of a gcc2
59343 builtin and then its argument prototype would still apply. */
59344 char $ac_func ();
59345 /* The GNU C library defines this for functions which it implements
59346 to always fail with ENOSYS. Some functions are actually named
59347 something starting with __ and the normal name is an alias. */
59348 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59349 choke me
59350 #else
59351 char (*f) () = $ac_func;
59352 #endif
59353 #ifdef __cplusplus
59354 }
59355 #endif
59356
59357 int
59358 main ()
59359 {
59360 return f != $ac_func;
59361 ;
59362 return 0;
59363 }
59364 _ACEOF
59365 rm -f conftest.$ac_objext conftest$ac_exeext
59366 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59367 (eval $ac_link) 2>conftest.er1
59368 ac_status=$?
59369 grep -v '^ *+' conftest.er1 >conftest.err
59370 rm -f conftest.er1
59371 cat conftest.err >&5
59372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59373 (exit $ac_status); } &&
59374 { ac_try='test -z "$ac_c_werror_flag"
59375 || test ! -s conftest.err'
59376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59377 (eval $ac_try) 2>&5
59378 ac_status=$?
59379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59380 (exit $ac_status); }; } &&
59381 { ac_try='test -s conftest$ac_exeext'
59382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59383 (eval $ac_try) 2>&5
59384 ac_status=$?
59385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59386 (exit $ac_status); }; }; then
59387 eval "$as_ac_var=yes"
59388 else
59389 echo "$as_me: failed program was:" >&5
59390 sed 's/^/| /' conftest.$ac_ext >&5
59391
59392 eval "$as_ac_var=no"
59393 fi
59394 rm -f conftest.err conftest.$ac_objext \
59395 conftest$ac_exeext conftest.$ac_ext
59396 fi
59397 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59398 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59399 if test `eval echo '${'$as_ac_var'}'` = yes; then
59400 cat >>confdefs.h <<_ACEOF
59401 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59402 _ACEOF
59403
59404 fi
59405 done
59406
59407 fi
59408 fi
59409
59410
59411
59412
59413
59414
59415 echo "$as_me:$LINENO: checking for hypotf declaration" >&5
59416 echo $ECHO_N "checking for hypotf declaration... $ECHO_C" >&6
59417 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
59418 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then
59419 echo $ECHO_N "(cached) $ECHO_C" >&6
59420 else
59421
59422
59423
59424 ac_ext=cc
59425 ac_cpp='$CXXCPP $CPPFLAGS'
59426 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59427 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59428 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59429
59430 cat >conftest.$ac_ext <<_ACEOF
59431 /* confdefs.h. */
59432 _ACEOF
59433 cat confdefs.h >>conftest.$ac_ext
59434 cat >>conftest.$ac_ext <<_ACEOF
59435 /* end confdefs.h. */
59436 #include <math.h>
59437 int
59438 main ()
59439 {
59440 hypotf(0, 0);
59441 ;
59442 return 0;
59443 }
59444 _ACEOF
59445 rm -f conftest.$ac_objext
59446 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59447 (eval $ac_compile) 2>conftest.er1
59448 ac_status=$?
59449 grep -v '^ *+' conftest.er1 >conftest.err
59450 rm -f conftest.er1
59451 cat conftest.err >&5
59452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59453 (exit $ac_status); } &&
59454 { ac_try='test -z "$ac_cxx_werror_flag"
59455 || test ! -s conftest.err'
59456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59457 (eval $ac_try) 2>&5
59458 ac_status=$?
59459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59460 (exit $ac_status); }; } &&
59461 { ac_try='test -s conftest.$ac_objext'
59462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59463 (eval $ac_try) 2>&5
59464 ac_status=$?
59465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59466 (exit $ac_status); }; }; then
59467 glibcxx_cv_func_hypotf_use=yes
59468 else
59469 echo "$as_me: failed program was:" >&5
59470 sed 's/^/| /' conftest.$ac_ext >&5
59471
59472 glibcxx_cv_func_hypotf_use=no
59473 fi
59474 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59475 ac_ext=c
59476 ac_cpp='$CPP $CPPFLAGS'
59477 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59478 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59479 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59480
59481
59482 fi
59483
59484 fi
59485 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotf_use" >&5
59486 echo "${ECHO_T}$glibcxx_cv_func_hypotf_use" >&6
59487
59488 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
59489
59490 for ac_func in hypotf
59491 do
59492 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59493 echo "$as_me:$LINENO: checking for $ac_func" >&5
59494 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59495 if eval "test \"\${$as_ac_var+set}\" = set"; then
59496 echo $ECHO_N "(cached) $ECHO_C" >&6
59497 else
59498 if test x$gcc_no_link = xyes; then
59499 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59500 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59501 { (exit 1); exit 1; }; }
59502 fi
59503 cat >conftest.$ac_ext <<_ACEOF
59504 /* confdefs.h. */
59505 _ACEOF
59506 cat confdefs.h >>conftest.$ac_ext
59507 cat >>conftest.$ac_ext <<_ACEOF
59508 /* end confdefs.h. */
59509 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59510 For example, HP-UX 11i <limits.h> declares gettimeofday. */
59511 #define $ac_func innocuous_$ac_func
59512
59513 /* System header to define __stub macros and hopefully few prototypes,
59514 which can conflict with char $ac_func (); below.
59515 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59516 <limits.h> exists even on freestanding compilers. */
59517
59518 #ifdef __STDC__
59519 # include <limits.h>
59520 #else
59521 # include <assert.h>
59522 #endif
59523
59524 #undef $ac_func
59525
59526 /* Override any gcc2 internal prototype to avoid an error. */
59527 #ifdef __cplusplus
59528 extern "C"
59529 {
59530 #endif
59531 /* We use char because int might match the return type of a gcc2
59532 builtin and then its argument prototype would still apply. */
59533 char $ac_func ();
59534 /* The GNU C library defines this for functions which it implements
59535 to always fail with ENOSYS. Some functions are actually named
59536 something starting with __ and the normal name is an alias. */
59537 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59538 choke me
59539 #else
59540 char (*f) () = $ac_func;
59541 #endif
59542 #ifdef __cplusplus
59543 }
59544 #endif
59545
59546 int
59547 main ()
59548 {
59549 return f != $ac_func;
59550 ;
59551 return 0;
59552 }
59553 _ACEOF
59554 rm -f conftest.$ac_objext conftest$ac_exeext
59555 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59556 (eval $ac_link) 2>conftest.er1
59557 ac_status=$?
59558 grep -v '^ *+' conftest.er1 >conftest.err
59559 rm -f conftest.er1
59560 cat conftest.err >&5
59561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59562 (exit $ac_status); } &&
59563 { ac_try='test -z "$ac_c_werror_flag"
59564 || test ! -s conftest.err'
59565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59566 (eval $ac_try) 2>&5
59567 ac_status=$?
59568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59569 (exit $ac_status); }; } &&
59570 { ac_try='test -s conftest$ac_exeext'
59571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59572 (eval $ac_try) 2>&5
59573 ac_status=$?
59574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59575 (exit $ac_status); }; }; then
59576 eval "$as_ac_var=yes"
59577 else
59578 echo "$as_me: failed program was:" >&5
59579 sed 's/^/| /' conftest.$ac_ext >&5
59580
59581 eval "$as_ac_var=no"
59582 fi
59583 rm -f conftest.err conftest.$ac_objext \
59584 conftest$ac_exeext conftest.$ac_ext
59585 fi
59586 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59587 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59588 if test `eval echo '${'$as_ac_var'}'` = yes; then
59589 cat >>confdefs.h <<_ACEOF
59590 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59591 _ACEOF
59592
59593 fi
59594 done
59595
59596 else
59597
59598 echo "$as_me:$LINENO: checking for _hypotf declaration" >&5
59599 echo $ECHO_N "checking for _hypotf declaration... $ECHO_C" >&6
59600 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
59601 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then
59602 echo $ECHO_N "(cached) $ECHO_C" >&6
59603 else
59604
59605
59606
59607 ac_ext=cc
59608 ac_cpp='$CXXCPP $CPPFLAGS'
59609 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59610 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59611 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59612
59613 cat >conftest.$ac_ext <<_ACEOF
59614 /* confdefs.h. */
59615 _ACEOF
59616 cat confdefs.h >>conftest.$ac_ext
59617 cat >>conftest.$ac_ext <<_ACEOF
59618 /* end confdefs.h. */
59619 #include <math.h>
59620 int
59621 main ()
59622 {
59623 _hypotf(0, 0);
59624 ;
59625 return 0;
59626 }
59627 _ACEOF
59628 rm -f conftest.$ac_objext
59629 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59630 (eval $ac_compile) 2>conftest.er1
59631 ac_status=$?
59632 grep -v '^ *+' conftest.er1 >conftest.err
59633 rm -f conftest.er1
59634 cat conftest.err >&5
59635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59636 (exit $ac_status); } &&
59637 { ac_try='test -z "$ac_cxx_werror_flag"
59638 || test ! -s conftest.err'
59639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59640 (eval $ac_try) 2>&5
59641 ac_status=$?
59642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59643 (exit $ac_status); }; } &&
59644 { ac_try='test -s conftest.$ac_objext'
59645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59646 (eval $ac_try) 2>&5
59647 ac_status=$?
59648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59649 (exit $ac_status); }; }; then
59650 glibcxx_cv_func__hypotf_use=yes
59651 else
59652 echo "$as_me: failed program was:" >&5
59653 sed 's/^/| /' conftest.$ac_ext >&5
59654
59655 glibcxx_cv_func__hypotf_use=no
59656 fi
59657 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59658 ac_ext=c
59659 ac_cpp='$CPP $CPPFLAGS'
59660 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59661 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59662 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59663
59664
59665 fi
59666
59667 fi
59668 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotf_use" >&5
59669 echo "${ECHO_T}$glibcxx_cv_func__hypotf_use" >&6
59670
59671 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
59672
59673 for ac_func in _hypotf
59674 do
59675 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59676 echo "$as_me:$LINENO: checking for $ac_func" >&5
59677 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59678 if eval "test \"\${$as_ac_var+set}\" = set"; then
59679 echo $ECHO_N "(cached) $ECHO_C" >&6
59680 else
59681 if test x$gcc_no_link = xyes; then
59682 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59683 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59684 { (exit 1); exit 1; }; }
59685 fi
59686 cat >conftest.$ac_ext <<_ACEOF
59687 /* confdefs.h. */
59688 _ACEOF
59689 cat confdefs.h >>conftest.$ac_ext
59690 cat >>conftest.$ac_ext <<_ACEOF
59691 /* end confdefs.h. */
59692 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59693 For example, HP-UX 11i <limits.h> declares gettimeofday. */
59694 #define $ac_func innocuous_$ac_func
59695
59696 /* System header to define __stub macros and hopefully few prototypes,
59697 which can conflict with char $ac_func (); below.
59698 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59699 <limits.h> exists even on freestanding compilers. */
59700
59701 #ifdef __STDC__
59702 # include <limits.h>
59703 #else
59704 # include <assert.h>
59705 #endif
59706
59707 #undef $ac_func
59708
59709 /* Override any gcc2 internal prototype to avoid an error. */
59710 #ifdef __cplusplus
59711 extern "C"
59712 {
59713 #endif
59714 /* We use char because int might match the return type of a gcc2
59715 builtin and then its argument prototype would still apply. */
59716 char $ac_func ();
59717 /* The GNU C library defines this for functions which it implements
59718 to always fail with ENOSYS. Some functions are actually named
59719 something starting with __ and the normal name is an alias. */
59720 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59721 choke me
59722 #else
59723 char (*f) () = $ac_func;
59724 #endif
59725 #ifdef __cplusplus
59726 }
59727 #endif
59728
59729 int
59730 main ()
59731 {
59732 return f != $ac_func;
59733 ;
59734 return 0;
59735 }
59736 _ACEOF
59737 rm -f conftest.$ac_objext conftest$ac_exeext
59738 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59739 (eval $ac_link) 2>conftest.er1
59740 ac_status=$?
59741 grep -v '^ *+' conftest.er1 >conftest.err
59742 rm -f conftest.er1
59743 cat conftest.err >&5
59744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59745 (exit $ac_status); } &&
59746 { ac_try='test -z "$ac_c_werror_flag"
59747 || test ! -s conftest.err'
59748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59749 (eval $ac_try) 2>&5
59750 ac_status=$?
59751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59752 (exit $ac_status); }; } &&
59753 { ac_try='test -s conftest$ac_exeext'
59754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59755 (eval $ac_try) 2>&5
59756 ac_status=$?
59757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59758 (exit $ac_status); }; }; then
59759 eval "$as_ac_var=yes"
59760 else
59761 echo "$as_me: failed program was:" >&5
59762 sed 's/^/| /' conftest.$ac_ext >&5
59763
59764 eval "$as_ac_var=no"
59765 fi
59766 rm -f conftest.err conftest.$ac_objext \
59767 conftest$ac_exeext conftest.$ac_ext
59768 fi
59769 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59770 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59771 if test `eval echo '${'$as_ac_var'}'` = yes; then
59772 cat >>confdefs.h <<_ACEOF
59773 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59774 _ACEOF
59775
59776 fi
59777 done
59778
59779 fi
59780 fi
59781
59782
59783
59784
59785
59786
59787 echo "$as_me:$LINENO: checking for ldexpf declaration" >&5
59788 echo $ECHO_N "checking for ldexpf declaration... $ECHO_C" >&6
59789 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
59790 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then
59791 echo $ECHO_N "(cached) $ECHO_C" >&6
59792 else
59793
59794
59795
59796 ac_ext=cc
59797 ac_cpp='$CXXCPP $CPPFLAGS'
59798 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59799 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59800 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59801
59802 cat >conftest.$ac_ext <<_ACEOF
59803 /* confdefs.h. */
59804 _ACEOF
59805 cat confdefs.h >>conftest.$ac_ext
59806 cat >>conftest.$ac_ext <<_ACEOF
59807 /* end confdefs.h. */
59808 #include <math.h>
59809 int
59810 main ()
59811 {
59812 ldexpf(0, 0);
59813 ;
59814 return 0;
59815 }
59816 _ACEOF
59817 rm -f conftest.$ac_objext
59818 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59819 (eval $ac_compile) 2>conftest.er1
59820 ac_status=$?
59821 grep -v '^ *+' conftest.er1 >conftest.err
59822 rm -f conftest.er1
59823 cat conftest.err >&5
59824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59825 (exit $ac_status); } &&
59826 { ac_try='test -z "$ac_cxx_werror_flag"
59827 || test ! -s conftest.err'
59828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59829 (eval $ac_try) 2>&5
59830 ac_status=$?
59831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59832 (exit $ac_status); }; } &&
59833 { ac_try='test -s conftest.$ac_objext'
59834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59835 (eval $ac_try) 2>&5
59836 ac_status=$?
59837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59838 (exit $ac_status); }; }; then
59839 glibcxx_cv_func_ldexpf_use=yes
59840 else
59841 echo "$as_me: failed program was:" >&5
59842 sed 's/^/| /' conftest.$ac_ext >&5
59843
59844 glibcxx_cv_func_ldexpf_use=no
59845 fi
59846 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59847 ac_ext=c
59848 ac_cpp='$CPP $CPPFLAGS'
59849 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59850 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59851 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59852
59853
59854 fi
59855
59856 fi
59857 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpf_use" >&5
59858 echo "${ECHO_T}$glibcxx_cv_func_ldexpf_use" >&6
59859
59860 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
59861
59862 for ac_func in ldexpf
59863 do
59864 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59865 echo "$as_me:$LINENO: checking for $ac_func" >&5
59866 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59867 if eval "test \"\${$as_ac_var+set}\" = set"; then
59868 echo $ECHO_N "(cached) $ECHO_C" >&6
59869 else
59870 if test x$gcc_no_link = xyes; then
59871 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59872 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59873 { (exit 1); exit 1; }; }
59874 fi
59875 cat >conftest.$ac_ext <<_ACEOF
59876 /* confdefs.h. */
59877 _ACEOF
59878 cat confdefs.h >>conftest.$ac_ext
59879 cat >>conftest.$ac_ext <<_ACEOF
59880 /* end confdefs.h. */
59881 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59882 For example, HP-UX 11i <limits.h> declares gettimeofday. */
59883 #define $ac_func innocuous_$ac_func
59884
59885 /* System header to define __stub macros and hopefully few prototypes,
59886 which can conflict with char $ac_func (); below.
59887 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59888 <limits.h> exists even on freestanding compilers. */
59889
59890 #ifdef __STDC__
59891 # include <limits.h>
59892 #else
59893 # include <assert.h>
59894 #endif
59895
59896 #undef $ac_func
59897
59898 /* Override any gcc2 internal prototype to avoid an error. */
59899 #ifdef __cplusplus
59900 extern "C"
59901 {
59902 #endif
59903 /* We use char because int might match the return type of a gcc2
59904 builtin and then its argument prototype would still apply. */
59905 char $ac_func ();
59906 /* The GNU C library defines this for functions which it implements
59907 to always fail with ENOSYS. Some functions are actually named
59908 something starting with __ and the normal name is an alias. */
59909 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59910 choke me
59911 #else
59912 char (*f) () = $ac_func;
59913 #endif
59914 #ifdef __cplusplus
59915 }
59916 #endif
59917
59918 int
59919 main ()
59920 {
59921 return f != $ac_func;
59922 ;
59923 return 0;
59924 }
59925 _ACEOF
59926 rm -f conftest.$ac_objext conftest$ac_exeext
59927 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59928 (eval $ac_link) 2>conftest.er1
59929 ac_status=$?
59930 grep -v '^ *+' conftest.er1 >conftest.err
59931 rm -f conftest.er1
59932 cat conftest.err >&5
59933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59934 (exit $ac_status); } &&
59935 { ac_try='test -z "$ac_c_werror_flag"
59936 || test ! -s conftest.err'
59937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59938 (eval $ac_try) 2>&5
59939 ac_status=$?
59940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59941 (exit $ac_status); }; } &&
59942 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
59948 eval "$as_ac_var=yes"
59949 else
59950 echo "$as_me: failed program was:" >&5
59951 sed 's/^/| /' conftest.$ac_ext >&5
59952
59953 eval "$as_ac_var=no"
59954 fi
59955 rm -f conftest.err conftest.$ac_objext \
59956 conftest$ac_exeext conftest.$ac_ext
59957 fi
59958 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59959 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59960 if test `eval echo '${'$as_ac_var'}'` = yes; then
59961 cat >>confdefs.h <<_ACEOF
59962 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59963 _ACEOF
59964
59965 fi
59966 done
59967
59968 else
59969
59970 echo "$as_me:$LINENO: checking for _ldexpf declaration" >&5
59971 echo $ECHO_N "checking for _ldexpf declaration... $ECHO_C" >&6
59972 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
59973 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then
59974 echo $ECHO_N "(cached) $ECHO_C" >&6
59975 else
59976
59977
59978
59979 ac_ext=cc
59980 ac_cpp='$CXXCPP $CPPFLAGS'
59981 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59982 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59983 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59984
59985 cat >conftest.$ac_ext <<_ACEOF
59986 /* confdefs.h. */
59987 _ACEOF
59988 cat confdefs.h >>conftest.$ac_ext
59989 cat >>conftest.$ac_ext <<_ACEOF
59990 /* end confdefs.h. */
59991 #include <math.h>
59992 int
59993 main ()
59994 {
59995 _ldexpf(0, 0);
59996 ;
59997 return 0;
59998 }
59999 _ACEOF
60000 rm -f conftest.$ac_objext
60001 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60002 (eval $ac_compile) 2>conftest.er1
60003 ac_status=$?
60004 grep -v '^ *+' conftest.er1 >conftest.err
60005 rm -f conftest.er1
60006 cat conftest.err >&5
60007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60008 (exit $ac_status); } &&
60009 { ac_try='test -z "$ac_cxx_werror_flag"
60010 || test ! -s conftest.err'
60011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60012 (eval $ac_try) 2>&5
60013 ac_status=$?
60014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60015 (exit $ac_status); }; } &&
60016 { ac_try='test -s conftest.$ac_objext'
60017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60018 (eval $ac_try) 2>&5
60019 ac_status=$?
60020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60021 (exit $ac_status); }; }; then
60022 glibcxx_cv_func__ldexpf_use=yes
60023 else
60024 echo "$as_me: failed program was:" >&5
60025 sed 's/^/| /' conftest.$ac_ext >&5
60026
60027 glibcxx_cv_func__ldexpf_use=no
60028 fi
60029 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60030 ac_ext=c
60031 ac_cpp='$CPP $CPPFLAGS'
60032 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60033 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60034 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60035
60036
60037 fi
60038
60039 fi
60040 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpf_use" >&5
60041 echo "${ECHO_T}$glibcxx_cv_func__ldexpf_use" >&6
60042
60043 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
60044
60045 for ac_func in _ldexpf
60046 do
60047 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60048 echo "$as_me:$LINENO: checking for $ac_func" >&5
60049 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60050 if eval "test \"\${$as_ac_var+set}\" = set"; then
60051 echo $ECHO_N "(cached) $ECHO_C" >&6
60052 else
60053 if test x$gcc_no_link = xyes; then
60054 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60055 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60056 { (exit 1); exit 1; }; }
60057 fi
60058 cat >conftest.$ac_ext <<_ACEOF
60059 /* confdefs.h. */
60060 _ACEOF
60061 cat confdefs.h >>conftest.$ac_ext
60062 cat >>conftest.$ac_ext <<_ACEOF
60063 /* end confdefs.h. */
60064 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60065 For example, HP-UX 11i <limits.h> declares gettimeofday. */
60066 #define $ac_func innocuous_$ac_func
60067
60068 /* System header to define __stub macros and hopefully few prototypes,
60069 which can conflict with char $ac_func (); below.
60070 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60071 <limits.h> exists even on freestanding compilers. */
60072
60073 #ifdef __STDC__
60074 # include <limits.h>
60075 #else
60076 # include <assert.h>
60077 #endif
60078
60079 #undef $ac_func
60080
60081 /* Override any gcc2 internal prototype to avoid an error. */
60082 #ifdef __cplusplus
60083 extern "C"
60084 {
60085 #endif
60086 /* We use char because int might match the return type of a gcc2
60087 builtin and then its argument prototype would still apply. */
60088 char $ac_func ();
60089 /* The GNU C library defines this for functions which it implements
60090 to always fail with ENOSYS. Some functions are actually named
60091 something starting with __ and the normal name is an alias. */
60092 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60093 choke me
60094 #else
60095 char (*f) () = $ac_func;
60096 #endif
60097 #ifdef __cplusplus
60098 }
60099 #endif
60100
60101 int
60102 main ()
60103 {
60104 return f != $ac_func;
60105 ;
60106 return 0;
60107 }
60108 _ACEOF
60109 rm -f conftest.$ac_objext conftest$ac_exeext
60110 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60111 (eval $ac_link) 2>conftest.er1
60112 ac_status=$?
60113 grep -v '^ *+' conftest.er1 >conftest.err
60114 rm -f conftest.er1
60115 cat conftest.err >&5
60116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60117 (exit $ac_status); } &&
60118 { ac_try='test -z "$ac_c_werror_flag"
60119 || test ! -s conftest.err'
60120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60121 (eval $ac_try) 2>&5
60122 ac_status=$?
60123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60124 (exit $ac_status); }; } &&
60125 { ac_try='test -s conftest$ac_exeext'
60126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60127 (eval $ac_try) 2>&5
60128 ac_status=$?
60129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60130 (exit $ac_status); }; }; then
60131 eval "$as_ac_var=yes"
60132 else
60133 echo "$as_me: failed program was:" >&5
60134 sed 's/^/| /' conftest.$ac_ext >&5
60135
60136 eval "$as_ac_var=no"
60137 fi
60138 rm -f conftest.err conftest.$ac_objext \
60139 conftest$ac_exeext conftest.$ac_ext
60140 fi
60141 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60142 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60143 if test `eval echo '${'$as_ac_var'}'` = yes; then
60144 cat >>confdefs.h <<_ACEOF
60145 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60146 _ACEOF
60147
60148 fi
60149 done
60150
60151 fi
60152 fi
60153
60154
60155
60156
60157
60158
60159 echo "$as_me:$LINENO: checking for logf declaration" >&5
60160 echo $ECHO_N "checking for logf declaration... $ECHO_C" >&6
60161 if test x${glibcxx_cv_func_logf_use+set} != xset; then
60162 if test "${glibcxx_cv_func_logf_use+set}" = set; then
60163 echo $ECHO_N "(cached) $ECHO_C" >&6
60164 else
60165
60166
60167
60168 ac_ext=cc
60169 ac_cpp='$CXXCPP $CPPFLAGS'
60170 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60171 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60172 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60173
60174 cat >conftest.$ac_ext <<_ACEOF
60175 /* confdefs.h. */
60176 _ACEOF
60177 cat confdefs.h >>conftest.$ac_ext
60178 cat >>conftest.$ac_ext <<_ACEOF
60179 /* end confdefs.h. */
60180 #include <math.h>
60181 #ifdef HAVE_IEEEFP_H
60182 #include <ieeefp.h>
60183 #endif
60184
60185 int
60186 main ()
60187 {
60188 logf(0);
60189 ;
60190 return 0;
60191 }
60192 _ACEOF
60193 rm -f conftest.$ac_objext
60194 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60195 (eval $ac_compile) 2>conftest.er1
60196 ac_status=$?
60197 grep -v '^ *+' conftest.er1 >conftest.err
60198 rm -f conftest.er1
60199 cat conftest.err >&5
60200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60201 (exit $ac_status); } &&
60202 { ac_try='test -z "$ac_cxx_werror_flag"
60203 || test ! -s conftest.err'
60204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60205 (eval $ac_try) 2>&5
60206 ac_status=$?
60207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60208 (exit $ac_status); }; } &&
60209 { ac_try='test -s conftest.$ac_objext'
60210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60211 (eval $ac_try) 2>&5
60212 ac_status=$?
60213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60214 (exit $ac_status); }; }; then
60215 glibcxx_cv_func_logf_use=yes
60216 else
60217 echo "$as_me: failed program was:" >&5
60218 sed 's/^/| /' conftest.$ac_ext >&5
60219
60220 glibcxx_cv_func_logf_use=no
60221 fi
60222 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60223 ac_ext=c
60224 ac_cpp='$CPP $CPPFLAGS'
60225 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60226 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60227 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60228
60229
60230 fi
60231
60232 fi
60233 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logf_use" >&5
60234 echo "${ECHO_T}$glibcxx_cv_func_logf_use" >&6
60235
60236 if test x$glibcxx_cv_func_logf_use = x"yes"; then
60237
60238 for ac_func in logf
60239 do
60240 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60241 echo "$as_me:$LINENO: checking for $ac_func" >&5
60242 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60243 if eval "test \"\${$as_ac_var+set}\" = set"; then
60244 echo $ECHO_N "(cached) $ECHO_C" >&6
60245 else
60246 if test x$gcc_no_link = xyes; then
60247 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60248 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60249 { (exit 1); exit 1; }; }
60250 fi
60251 cat >conftest.$ac_ext <<_ACEOF
60252 /* confdefs.h. */
60253 _ACEOF
60254 cat confdefs.h >>conftest.$ac_ext
60255 cat >>conftest.$ac_ext <<_ACEOF
60256 /* end confdefs.h. */
60257 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60258 For example, HP-UX 11i <limits.h> declares gettimeofday. */
60259 #define $ac_func innocuous_$ac_func
60260
60261 /* System header to define __stub macros and hopefully few prototypes,
60262 which can conflict with char $ac_func (); below.
60263 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60264 <limits.h> exists even on freestanding compilers. */
60265
60266 #ifdef __STDC__
60267 # include <limits.h>
60268 #else
60269 # include <assert.h>
60270 #endif
60271
60272 #undef $ac_func
60273
60274 /* Override any gcc2 internal prototype to avoid an error. */
60275 #ifdef __cplusplus
60276 extern "C"
60277 {
60278 #endif
60279 /* We use char because int might match the return type of a gcc2
60280 builtin and then its argument prototype would still apply. */
60281 char $ac_func ();
60282 /* The GNU C library defines this for functions which it implements
60283 to always fail with ENOSYS. Some functions are actually named
60284 something starting with __ and the normal name is an alias. */
60285 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60286 choke me
60287 #else
60288 char (*f) () = $ac_func;
60289 #endif
60290 #ifdef __cplusplus
60291 }
60292 #endif
60293
60294 int
60295 main ()
60296 {
60297 return f != $ac_func;
60298 ;
60299 return 0;
60300 }
60301 _ACEOF
60302 rm -f conftest.$ac_objext conftest$ac_exeext
60303 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60304 (eval $ac_link) 2>conftest.er1
60305 ac_status=$?
60306 grep -v '^ *+' conftest.er1 >conftest.err
60307 rm -f conftest.er1
60308 cat conftest.err >&5
60309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60310 (exit $ac_status); } &&
60311 { ac_try='test -z "$ac_c_werror_flag"
60312 || test ! -s conftest.err'
60313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60314 (eval $ac_try) 2>&5
60315 ac_status=$?
60316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60317 (exit $ac_status); }; } &&
60318 { ac_try='test -s conftest$ac_exeext'
60319 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60320 (eval $ac_try) 2>&5
60321 ac_status=$?
60322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60323 (exit $ac_status); }; }; then
60324 eval "$as_ac_var=yes"
60325 else
60326 echo "$as_me: failed program was:" >&5
60327 sed 's/^/| /' conftest.$ac_ext >&5
60328
60329 eval "$as_ac_var=no"
60330 fi
60331 rm -f conftest.err conftest.$ac_objext \
60332 conftest$ac_exeext conftest.$ac_ext
60333 fi
60334 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60335 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60336 if test `eval echo '${'$as_ac_var'}'` = yes; then
60337 cat >>confdefs.h <<_ACEOF
60338 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60339 _ACEOF
60340
60341 fi
60342 done
60343
60344 else
60345
60346 echo "$as_me:$LINENO: checking for _logf declaration" >&5
60347 echo $ECHO_N "checking for _logf declaration... $ECHO_C" >&6
60348 if test x${glibcxx_cv_func__logf_use+set} != xset; then
60349 if test "${glibcxx_cv_func__logf_use+set}" = set; then
60350 echo $ECHO_N "(cached) $ECHO_C" >&6
60351 else
60352
60353
60354
60355 ac_ext=cc
60356 ac_cpp='$CXXCPP $CPPFLAGS'
60357 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60358 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60359 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60360
60361 cat >conftest.$ac_ext <<_ACEOF
60362 /* confdefs.h. */
60363 _ACEOF
60364 cat confdefs.h >>conftest.$ac_ext
60365 cat >>conftest.$ac_ext <<_ACEOF
60366 /* end confdefs.h. */
60367 #include <math.h>
60368 #ifdef HAVE_IEEEFP_H
60369 #include <ieeefp.h>
60370 #endif
60371
60372 int
60373 main ()
60374 {
60375 _logf(0);
60376 ;
60377 return 0;
60378 }
60379 _ACEOF
60380 rm -f conftest.$ac_objext
60381 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60382 (eval $ac_compile) 2>conftest.er1
60383 ac_status=$?
60384 grep -v '^ *+' conftest.er1 >conftest.err
60385 rm -f conftest.er1
60386 cat conftest.err >&5
60387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60388 (exit $ac_status); } &&
60389 { ac_try='test -z "$ac_cxx_werror_flag"
60390 || test ! -s conftest.err'
60391 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60392 (eval $ac_try) 2>&5
60393 ac_status=$?
60394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60395 (exit $ac_status); }; } &&
60396 { ac_try='test -s conftest.$ac_objext'
60397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60398 (eval $ac_try) 2>&5
60399 ac_status=$?
60400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60401 (exit $ac_status); }; }; then
60402 glibcxx_cv_func__logf_use=yes
60403 else
60404 echo "$as_me: failed program was:" >&5
60405 sed 's/^/| /' conftest.$ac_ext >&5
60406
60407 glibcxx_cv_func__logf_use=no
60408 fi
60409 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60410 ac_ext=c
60411 ac_cpp='$CPP $CPPFLAGS'
60412 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60413 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60414 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60415
60416
60417 fi
60418
60419 fi
60420 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logf_use" >&5
60421 echo "${ECHO_T}$glibcxx_cv_func__logf_use" >&6
60422
60423 if test x$glibcxx_cv_func__logf_use = x"yes"; then
60424
60425 for ac_func in _logf
60426 do
60427 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60428 echo "$as_me:$LINENO: checking for $ac_func" >&5
60429 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60430 if eval "test \"\${$as_ac_var+set}\" = set"; then
60431 echo $ECHO_N "(cached) $ECHO_C" >&6
60432 else
60433 if test x$gcc_no_link = xyes; then
60434 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60435 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60436 { (exit 1); exit 1; }; }
60437 fi
60438 cat >conftest.$ac_ext <<_ACEOF
60439 /* confdefs.h. */
60440 _ACEOF
60441 cat confdefs.h >>conftest.$ac_ext
60442 cat >>conftest.$ac_ext <<_ACEOF
60443 /* end confdefs.h. */
60444 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60445 For example, HP-UX 11i <limits.h> declares gettimeofday. */
60446 #define $ac_func innocuous_$ac_func
60447
60448 /* System header to define __stub macros and hopefully few prototypes,
60449 which can conflict with char $ac_func (); below.
60450 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60451 <limits.h> exists even on freestanding compilers. */
60452
60453 #ifdef __STDC__
60454 # include <limits.h>
60455 #else
60456 # include <assert.h>
60457 #endif
60458
60459 #undef $ac_func
60460
60461 /* Override any gcc2 internal prototype to avoid an error. */
60462 #ifdef __cplusplus
60463 extern "C"
60464 {
60465 #endif
60466 /* We use char because int might match the return type of a gcc2
60467 builtin and then its argument prototype would still apply. */
60468 char $ac_func ();
60469 /* The GNU C library defines this for functions which it implements
60470 to always fail with ENOSYS. Some functions are actually named
60471 something starting with __ and the normal name is an alias. */
60472 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60473 choke me
60474 #else
60475 char (*f) () = $ac_func;
60476 #endif
60477 #ifdef __cplusplus
60478 }
60479 #endif
60480
60481 int
60482 main ()
60483 {
60484 return f != $ac_func;
60485 ;
60486 return 0;
60487 }
60488 _ACEOF
60489 rm -f conftest.$ac_objext conftest$ac_exeext
60490 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60491 (eval $ac_link) 2>conftest.er1
60492 ac_status=$?
60493 grep -v '^ *+' conftest.er1 >conftest.err
60494 rm -f conftest.er1
60495 cat conftest.err >&5
60496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60497 (exit $ac_status); } &&
60498 { ac_try='test -z "$ac_c_werror_flag"
60499 || test ! -s conftest.err'
60500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60501 (eval $ac_try) 2>&5
60502 ac_status=$?
60503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60504 (exit $ac_status); }; } &&
60505 { ac_try='test -s conftest$ac_exeext'
60506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60507 (eval $ac_try) 2>&5
60508 ac_status=$?
60509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60510 (exit $ac_status); }; }; then
60511 eval "$as_ac_var=yes"
60512 else
60513 echo "$as_me: failed program was:" >&5
60514 sed 's/^/| /' conftest.$ac_ext >&5
60515
60516 eval "$as_ac_var=no"
60517 fi
60518 rm -f conftest.err conftest.$ac_objext \
60519 conftest$ac_exeext conftest.$ac_ext
60520 fi
60521 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60522 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60523 if test `eval echo '${'$as_ac_var'}'` = yes; then
60524 cat >>confdefs.h <<_ACEOF
60525 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60526 _ACEOF
60527
60528 fi
60529 done
60530
60531 fi
60532 fi
60533
60534
60535
60536
60537
60538
60539 echo "$as_me:$LINENO: checking for log10f declaration" >&5
60540 echo $ECHO_N "checking for log10f declaration... $ECHO_C" >&6
60541 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
60542 if test "${glibcxx_cv_func_log10f_use+set}" = set; then
60543 echo $ECHO_N "(cached) $ECHO_C" >&6
60544 else
60545
60546
60547
60548 ac_ext=cc
60549 ac_cpp='$CXXCPP $CPPFLAGS'
60550 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60551 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60552 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60553
60554 cat >conftest.$ac_ext <<_ACEOF
60555 /* confdefs.h. */
60556 _ACEOF
60557 cat confdefs.h >>conftest.$ac_ext
60558 cat >>conftest.$ac_ext <<_ACEOF
60559 /* end confdefs.h. */
60560 #include <math.h>
60561 #ifdef HAVE_IEEEFP_H
60562 #include <ieeefp.h>
60563 #endif
60564
60565 int
60566 main ()
60567 {
60568 log10f(0);
60569 ;
60570 return 0;
60571 }
60572 _ACEOF
60573 rm -f conftest.$ac_objext
60574 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60575 (eval $ac_compile) 2>conftest.er1
60576 ac_status=$?
60577 grep -v '^ *+' conftest.er1 >conftest.err
60578 rm -f conftest.er1
60579 cat conftest.err >&5
60580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60581 (exit $ac_status); } &&
60582 { ac_try='test -z "$ac_cxx_werror_flag"
60583 || test ! -s conftest.err'
60584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60585 (eval $ac_try) 2>&5
60586 ac_status=$?
60587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60588 (exit $ac_status); }; } &&
60589 { ac_try='test -s conftest.$ac_objext'
60590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60591 (eval $ac_try) 2>&5
60592 ac_status=$?
60593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60594 (exit $ac_status); }; }; then
60595 glibcxx_cv_func_log10f_use=yes
60596 else
60597 echo "$as_me: failed program was:" >&5
60598 sed 's/^/| /' conftest.$ac_ext >&5
60599
60600 glibcxx_cv_func_log10f_use=no
60601 fi
60602 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60603 ac_ext=c
60604 ac_cpp='$CPP $CPPFLAGS'
60605 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60606 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60607 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60608
60609
60610 fi
60611
60612 fi
60613 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10f_use" >&5
60614 echo "${ECHO_T}$glibcxx_cv_func_log10f_use" >&6
60615
60616 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
60617
60618 for ac_func in log10f
60619 do
60620 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60621 echo "$as_me:$LINENO: checking for $ac_func" >&5
60622 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60623 if eval "test \"\${$as_ac_var+set}\" = set"; then
60624 echo $ECHO_N "(cached) $ECHO_C" >&6
60625 else
60626 if test x$gcc_no_link = xyes; then
60627 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60628 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60629 { (exit 1); exit 1; }; }
60630 fi
60631 cat >conftest.$ac_ext <<_ACEOF
60632 /* confdefs.h. */
60633 _ACEOF
60634 cat confdefs.h >>conftest.$ac_ext
60635 cat >>conftest.$ac_ext <<_ACEOF
60636 /* end confdefs.h. */
60637 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60638 For example, HP-UX 11i <limits.h> declares gettimeofday. */
60639 #define $ac_func innocuous_$ac_func
60640
60641 /* System header to define __stub macros and hopefully few prototypes,
60642 which can conflict with char $ac_func (); below.
60643 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60644 <limits.h> exists even on freestanding compilers. */
60645
60646 #ifdef __STDC__
60647 # include <limits.h>
60648 #else
60649 # include <assert.h>
60650 #endif
60651
60652 #undef $ac_func
60653
60654 /* Override any gcc2 internal prototype to avoid an error. */
60655 #ifdef __cplusplus
60656 extern "C"
60657 {
60658 #endif
60659 /* We use char because int might match the return type of a gcc2
60660 builtin and then its argument prototype would still apply. */
60661 char $ac_func ();
60662 /* The GNU C library defines this for functions which it implements
60663 to always fail with ENOSYS. Some functions are actually named
60664 something starting with __ and the normal name is an alias. */
60665 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60666 choke me
60667 #else
60668 char (*f) () = $ac_func;
60669 #endif
60670 #ifdef __cplusplus
60671 }
60672 #endif
60673
60674 int
60675 main ()
60676 {
60677 return f != $ac_func;
60678 ;
60679 return 0;
60680 }
60681 _ACEOF
60682 rm -f conftest.$ac_objext conftest$ac_exeext
60683 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60684 (eval $ac_link) 2>conftest.er1
60685 ac_status=$?
60686 grep -v '^ *+' conftest.er1 >conftest.err
60687 rm -f conftest.er1
60688 cat conftest.err >&5
60689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60690 (exit $ac_status); } &&
60691 { ac_try='test -z "$ac_c_werror_flag"
60692 || test ! -s conftest.err'
60693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60694 (eval $ac_try) 2>&5
60695 ac_status=$?
60696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60697 (exit $ac_status); }; } &&
60698 { ac_try='test -s conftest$ac_exeext'
60699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60700 (eval $ac_try) 2>&5
60701 ac_status=$?
60702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60703 (exit $ac_status); }; }; then
60704 eval "$as_ac_var=yes"
60705 else
60706 echo "$as_me: failed program was:" >&5
60707 sed 's/^/| /' conftest.$ac_ext >&5
60708
60709 eval "$as_ac_var=no"
60710 fi
60711 rm -f conftest.err conftest.$ac_objext \
60712 conftest$ac_exeext conftest.$ac_ext
60713 fi
60714 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60715 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60716 if test `eval echo '${'$as_ac_var'}'` = yes; then
60717 cat >>confdefs.h <<_ACEOF
60718 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60719 _ACEOF
60720
60721 fi
60722 done
60723
60724 else
60725
60726 echo "$as_me:$LINENO: checking for _log10f declaration" >&5
60727 echo $ECHO_N "checking for _log10f declaration... $ECHO_C" >&6
60728 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
60729 if test "${glibcxx_cv_func__log10f_use+set}" = set; then
60730 echo $ECHO_N "(cached) $ECHO_C" >&6
60731 else
60732
60733
60734
60735 ac_ext=cc
60736 ac_cpp='$CXXCPP $CPPFLAGS'
60737 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60738 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60739 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60740
60741 cat >conftest.$ac_ext <<_ACEOF
60742 /* confdefs.h. */
60743 _ACEOF
60744 cat confdefs.h >>conftest.$ac_ext
60745 cat >>conftest.$ac_ext <<_ACEOF
60746 /* end confdefs.h. */
60747 #include <math.h>
60748 #ifdef HAVE_IEEEFP_H
60749 #include <ieeefp.h>
60750 #endif
60751
60752 int
60753 main ()
60754 {
60755 _log10f(0);
60756 ;
60757 return 0;
60758 }
60759 _ACEOF
60760 rm -f conftest.$ac_objext
60761 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60762 (eval $ac_compile) 2>conftest.er1
60763 ac_status=$?
60764 grep -v '^ *+' conftest.er1 >conftest.err
60765 rm -f conftest.er1
60766 cat conftest.err >&5
60767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60768 (exit $ac_status); } &&
60769 { ac_try='test -z "$ac_cxx_werror_flag"
60770 || test ! -s conftest.err'
60771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60772 (eval $ac_try) 2>&5
60773 ac_status=$?
60774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60775 (exit $ac_status); }; } &&
60776 { ac_try='test -s conftest.$ac_objext'
60777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60778 (eval $ac_try) 2>&5
60779 ac_status=$?
60780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60781 (exit $ac_status); }; }; then
60782 glibcxx_cv_func__log10f_use=yes
60783 else
60784 echo "$as_me: failed program was:" >&5
60785 sed 's/^/| /' conftest.$ac_ext >&5
60786
60787 glibcxx_cv_func__log10f_use=no
60788 fi
60789 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60790 ac_ext=c
60791 ac_cpp='$CPP $CPPFLAGS'
60792 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60793 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60794 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60795
60796
60797 fi
60798
60799 fi
60800 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10f_use" >&5
60801 echo "${ECHO_T}$glibcxx_cv_func__log10f_use" >&6
60802
60803 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
60804
60805 for ac_func in _log10f
60806 do
60807 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60808 echo "$as_me:$LINENO: checking for $ac_func" >&5
60809 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60810 if eval "test \"\${$as_ac_var+set}\" = set"; then
60811 echo $ECHO_N "(cached) $ECHO_C" >&6
60812 else
60813 if test x$gcc_no_link = xyes; then
60814 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60815 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60816 { (exit 1); exit 1; }; }
60817 fi
60818 cat >conftest.$ac_ext <<_ACEOF
60819 /* confdefs.h. */
60820 _ACEOF
60821 cat confdefs.h >>conftest.$ac_ext
60822 cat >>conftest.$ac_ext <<_ACEOF
60823 /* end confdefs.h. */
60824 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60825 For example, HP-UX 11i <limits.h> declares gettimeofday. */
60826 #define $ac_func innocuous_$ac_func
60827
60828 /* System header to define __stub macros and hopefully few prototypes,
60829 which can conflict with char $ac_func (); below.
60830 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60831 <limits.h> exists even on freestanding compilers. */
60832
60833 #ifdef __STDC__
60834 # include <limits.h>
60835 #else
60836 # include <assert.h>
60837 #endif
60838
60839 #undef $ac_func
60840
60841 /* Override any gcc2 internal prototype to avoid an error. */
60842 #ifdef __cplusplus
60843 extern "C"
60844 {
60845 #endif
60846 /* We use char because int might match the return type of a gcc2
60847 builtin and then its argument prototype would still apply. */
60848 char $ac_func ();
60849 /* The GNU C library defines this for functions which it implements
60850 to always fail with ENOSYS. Some functions are actually named
60851 something starting with __ and the normal name is an alias. */
60852 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60853 choke me
60854 #else
60855 char (*f) () = $ac_func;
60856 #endif
60857 #ifdef __cplusplus
60858 }
60859 #endif
60860
60861 int
60862 main ()
60863 {
60864 return f != $ac_func;
60865 ;
60866 return 0;
60867 }
60868 _ACEOF
60869 rm -f conftest.$ac_objext conftest$ac_exeext
60870 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60871 (eval $ac_link) 2>conftest.er1
60872 ac_status=$?
60873 grep -v '^ *+' conftest.er1 >conftest.err
60874 rm -f conftest.er1
60875 cat conftest.err >&5
60876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60877 (exit $ac_status); } &&
60878 { ac_try='test -z "$ac_c_werror_flag"
60879 || test ! -s conftest.err'
60880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60881 (eval $ac_try) 2>&5
60882 ac_status=$?
60883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60884 (exit $ac_status); }; } &&
60885 { ac_try='test -s conftest$ac_exeext'
60886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60887 (eval $ac_try) 2>&5
60888 ac_status=$?
60889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60890 (exit $ac_status); }; }; then
60891 eval "$as_ac_var=yes"
60892 else
60893 echo "$as_me: failed program was:" >&5
60894 sed 's/^/| /' conftest.$ac_ext >&5
60895
60896 eval "$as_ac_var=no"
60897 fi
60898 rm -f conftest.err conftest.$ac_objext \
60899 conftest$ac_exeext conftest.$ac_ext
60900 fi
60901 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60902 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60903 if test `eval echo '${'$as_ac_var'}'` = yes; then
60904 cat >>confdefs.h <<_ACEOF
60905 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60906 _ACEOF
60907
60908 fi
60909 done
60910
60911 fi
60912 fi
60913
60914
60915
60916
60917
60918
60919 echo "$as_me:$LINENO: checking for modff declaration" >&5
60920 echo $ECHO_N "checking for modff declaration... $ECHO_C" >&6
60921 if test x${glibcxx_cv_func_modff_use+set} != xset; then
60922 if test "${glibcxx_cv_func_modff_use+set}" = set; then
60923 echo $ECHO_N "(cached) $ECHO_C" >&6
60924 else
60925
60926
60927
60928 ac_ext=cc
60929 ac_cpp='$CXXCPP $CPPFLAGS'
60930 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60931 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60932 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60933
60934 cat >conftest.$ac_ext <<_ACEOF
60935 /* confdefs.h. */
60936 _ACEOF
60937 cat confdefs.h >>conftest.$ac_ext
60938 cat >>conftest.$ac_ext <<_ACEOF
60939 /* end confdefs.h. */
60940 #include <math.h>
60941 int
60942 main ()
60943 {
60944 modff(0, 0);
60945 ;
60946 return 0;
60947 }
60948 _ACEOF
60949 rm -f conftest.$ac_objext
60950 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60951 (eval $ac_compile) 2>conftest.er1
60952 ac_status=$?
60953 grep -v '^ *+' conftest.er1 >conftest.err
60954 rm -f conftest.er1
60955 cat conftest.err >&5
60956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60957 (exit $ac_status); } &&
60958 { ac_try='test -z "$ac_cxx_werror_flag"
60959 || test ! -s conftest.err'
60960 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60961 (eval $ac_try) 2>&5
60962 ac_status=$?
60963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60964 (exit $ac_status); }; } &&
60965 { ac_try='test -s conftest.$ac_objext'
60966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60967 (eval $ac_try) 2>&5
60968 ac_status=$?
60969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60970 (exit $ac_status); }; }; then
60971 glibcxx_cv_func_modff_use=yes
60972 else
60973 echo "$as_me: failed program was:" >&5
60974 sed 's/^/| /' conftest.$ac_ext >&5
60975
60976 glibcxx_cv_func_modff_use=no
60977 fi
60978 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60979 ac_ext=c
60980 ac_cpp='$CPP $CPPFLAGS'
60981 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60982 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60983 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60984
60985
60986 fi
60987
60988 fi
60989 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modff_use" >&5
60990 echo "${ECHO_T}$glibcxx_cv_func_modff_use" >&6
60991
60992 if test x$glibcxx_cv_func_modff_use = x"yes"; then
60993
60994 for ac_func in modff
60995 do
60996 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60997 echo "$as_me:$LINENO: checking for $ac_func" >&5
60998 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60999 if eval "test \"\${$as_ac_var+set}\" = set"; then
61000 echo $ECHO_N "(cached) $ECHO_C" >&6
61001 else
61002 if test x$gcc_no_link = xyes; then
61003 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61004 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61005 { (exit 1); exit 1; }; }
61006 fi
61007 cat >conftest.$ac_ext <<_ACEOF
61008 /* confdefs.h. */
61009 _ACEOF
61010 cat confdefs.h >>conftest.$ac_ext
61011 cat >>conftest.$ac_ext <<_ACEOF
61012 /* end confdefs.h. */
61013 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
61014 For example, HP-UX 11i <limits.h> declares gettimeofday. */
61015 #define $ac_func innocuous_$ac_func
61016
61017 /* System header to define __stub macros and hopefully few prototypes,
61018 which can conflict with char $ac_func (); below.
61019 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61020 <limits.h> exists even on freestanding compilers. */
61021
61022 #ifdef __STDC__
61023 # include <limits.h>
61024 #else
61025 # include <assert.h>
61026 #endif
61027
61028 #undef $ac_func
61029
61030 /* Override any gcc2 internal prototype to avoid an error. */
61031 #ifdef __cplusplus
61032 extern "C"
61033 {
61034 #endif
61035 /* We use char because int might match the return type of a gcc2
61036 builtin and then its argument prototype would still apply. */
61037 char $ac_func ();
61038 /* The GNU C library defines this for functions which it implements
61039 to always fail with ENOSYS. Some functions are actually named
61040 something starting with __ and the normal name is an alias. */
61041 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61042 choke me
61043 #else
61044 char (*f) () = $ac_func;
61045 #endif
61046 #ifdef __cplusplus
61047 }
61048 #endif
61049
61050 int
61051 main ()
61052 {
61053 return f != $ac_func;
61054 ;
61055 return 0;
61056 }
61057 _ACEOF
61058 rm -f conftest.$ac_objext conftest$ac_exeext
61059 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61060 (eval $ac_link) 2>conftest.er1
61061 ac_status=$?
61062 grep -v '^ *+' conftest.er1 >conftest.err
61063 rm -f conftest.er1
61064 cat conftest.err >&5
61065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61066 (exit $ac_status); } &&
61067 { ac_try='test -z "$ac_c_werror_flag"
61068 || test ! -s conftest.err'
61069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61070 (eval $ac_try) 2>&5
61071 ac_status=$?
61072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61073 (exit $ac_status); }; } &&
61074 { ac_try='test -s conftest$ac_exeext'
61075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61076 (eval $ac_try) 2>&5
61077 ac_status=$?
61078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61079 (exit $ac_status); }; }; then
61080 eval "$as_ac_var=yes"
61081 else
61082 echo "$as_me: failed program was:" >&5
61083 sed 's/^/| /' conftest.$ac_ext >&5
61084
61085 eval "$as_ac_var=no"
61086 fi
61087 rm -f conftest.err conftest.$ac_objext \
61088 conftest$ac_exeext conftest.$ac_ext
61089 fi
61090 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61091 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61092 if test `eval echo '${'$as_ac_var'}'` = yes; then
61093 cat >>confdefs.h <<_ACEOF
61094 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61095 _ACEOF
61096
61097 fi
61098 done
61099
61100 else
61101
61102 echo "$as_me:$LINENO: checking for _modff declaration" >&5
61103 echo $ECHO_N "checking for _modff declaration... $ECHO_C" >&6
61104 if test x${glibcxx_cv_func__modff_use+set} != xset; then
61105 if test "${glibcxx_cv_func__modff_use+set}" = set; then
61106 echo $ECHO_N "(cached) $ECHO_C" >&6
61107 else
61108
61109
61110
61111 ac_ext=cc
61112 ac_cpp='$CXXCPP $CPPFLAGS'
61113 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61114 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61115 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61116
61117 cat >conftest.$ac_ext <<_ACEOF
61118 /* confdefs.h. */
61119 _ACEOF
61120 cat confdefs.h >>conftest.$ac_ext
61121 cat >>conftest.$ac_ext <<_ACEOF
61122 /* end confdefs.h. */
61123 #include <math.h>
61124 int
61125 main ()
61126 {
61127 _modff(0, 0);
61128 ;
61129 return 0;
61130 }
61131 _ACEOF
61132 rm -f conftest.$ac_objext
61133 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61134 (eval $ac_compile) 2>conftest.er1
61135 ac_status=$?
61136 grep -v '^ *+' conftest.er1 >conftest.err
61137 rm -f conftest.er1
61138 cat conftest.err >&5
61139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61140 (exit $ac_status); } &&
61141 { ac_try='test -z "$ac_cxx_werror_flag"
61142 || test ! -s conftest.err'
61143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61144 (eval $ac_try) 2>&5
61145 ac_status=$?
61146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61147 (exit $ac_status); }; } &&
61148 { ac_try='test -s conftest.$ac_objext'
61149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61150 (eval $ac_try) 2>&5
61151 ac_status=$?
61152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61153 (exit $ac_status); }; }; then
61154 glibcxx_cv_func__modff_use=yes
61155 else
61156 echo "$as_me: failed program was:" >&5
61157 sed 's/^/| /' conftest.$ac_ext >&5
61158
61159 glibcxx_cv_func__modff_use=no
61160 fi
61161 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61162 ac_ext=c
61163 ac_cpp='$CPP $CPPFLAGS'
61164 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61165 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61166 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61167
61168
61169 fi
61170
61171 fi
61172 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modff_use" >&5
61173 echo "${ECHO_T}$glibcxx_cv_func__modff_use" >&6
61174
61175 if test x$glibcxx_cv_func__modff_use = x"yes"; then
61176
61177 for ac_func in _modff
61178 do
61179 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61180 echo "$as_me:$LINENO: checking for $ac_func" >&5
61181 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
61182 if eval "test \"\${$as_ac_var+set}\" = set"; then
61183 echo $ECHO_N "(cached) $ECHO_C" >&6
61184 else
61185 if test x$gcc_no_link = xyes; then
61186 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61187 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61188 { (exit 1); exit 1; }; }
61189 fi
61190 cat >conftest.$ac_ext <<_ACEOF
61191 /* confdefs.h. */
61192 _ACEOF
61193 cat confdefs.h >>conftest.$ac_ext
61194 cat >>conftest.$ac_ext <<_ACEOF
61195 /* end confdefs.h. */
61196 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
61197 For example, HP-UX 11i <limits.h> declares gettimeofday. */
61198 #define $ac_func innocuous_$ac_func
61199
61200 /* System header to define __stub macros and hopefully few prototypes,
61201 which can conflict with char $ac_func (); below.
61202 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61203 <limits.h> exists even on freestanding compilers. */
61204
61205 #ifdef __STDC__
61206 # include <limits.h>
61207 #else
61208 # include <assert.h>
61209 #endif
61210
61211 #undef $ac_func
61212
61213 /* Override any gcc2 internal prototype to avoid an error. */
61214 #ifdef __cplusplus
61215 extern "C"
61216 {
61217 #endif
61218 /* We use char because int might match the return type of a gcc2
61219 builtin and then its argument prototype would still apply. */
61220 char $ac_func ();
61221 /* The GNU C library defines this for functions which it implements
61222 to always fail with ENOSYS. Some functions are actually named
61223 something starting with __ and the normal name is an alias. */
61224 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61225 choke me
61226 #else
61227 char (*f) () = $ac_func;
61228 #endif
61229 #ifdef __cplusplus
61230 }
61231 #endif
61232
61233 int
61234 main ()
61235 {
61236 return f != $ac_func;
61237 ;
61238 return 0;
61239 }
61240 _ACEOF
61241 rm -f conftest.$ac_objext conftest$ac_exeext
61242 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61243 (eval $ac_link) 2>conftest.er1
61244 ac_status=$?
61245 grep -v '^ *+' conftest.er1 >conftest.err
61246 rm -f conftest.er1
61247 cat conftest.err >&5
61248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61249 (exit $ac_status); } &&
61250 { ac_try='test -z "$ac_c_werror_flag"
61251 || test ! -s conftest.err'
61252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61253 (eval $ac_try) 2>&5
61254 ac_status=$?
61255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61256 (exit $ac_status); }; } &&
61257 { ac_try='test -s conftest$ac_exeext'
61258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61259 (eval $ac_try) 2>&5
61260 ac_status=$?
61261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61262 (exit $ac_status); }; }; then
61263 eval "$as_ac_var=yes"
61264 else
61265 echo "$as_me: failed program was:" >&5
61266 sed 's/^/| /' conftest.$ac_ext >&5
61267
61268 eval "$as_ac_var=no"
61269 fi
61270 rm -f conftest.err conftest.$ac_objext \
61271 conftest$ac_exeext conftest.$ac_ext
61272 fi
61273 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61274 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61275 if test `eval echo '${'$as_ac_var'}'` = yes; then
61276 cat >>confdefs.h <<_ACEOF
61277 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61278 _ACEOF
61279
61280 fi
61281 done
61282
61283 fi
61284 fi
61285
61286
61287
61288
61289
61290
61291 echo "$as_me:$LINENO: checking for modf declaration" >&5
61292 echo $ECHO_N "checking for modf declaration... $ECHO_C" >&6
61293 if test x${glibcxx_cv_func_modf_use+set} != xset; then
61294 if test "${glibcxx_cv_func_modf_use+set}" = set; then
61295 echo $ECHO_N "(cached) $ECHO_C" >&6
61296 else
61297
61298
61299
61300 ac_ext=cc
61301 ac_cpp='$CXXCPP $CPPFLAGS'
61302 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61303 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61304 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61305
61306 cat >conftest.$ac_ext <<_ACEOF
61307 /* confdefs.h. */
61308 _ACEOF
61309 cat confdefs.h >>conftest.$ac_ext
61310 cat >>conftest.$ac_ext <<_ACEOF
61311 /* end confdefs.h. */
61312 #include <math.h>
61313 int
61314 main ()
61315 {
61316 modf(0, 0);
61317 ;
61318 return 0;
61319 }
61320 _ACEOF
61321 rm -f conftest.$ac_objext
61322 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61323 (eval $ac_compile) 2>conftest.er1
61324 ac_status=$?
61325 grep -v '^ *+' conftest.er1 >conftest.err
61326 rm -f conftest.er1
61327 cat conftest.err >&5
61328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61329 (exit $ac_status); } &&
61330 { ac_try='test -z "$ac_cxx_werror_flag"
61331 || test ! -s conftest.err'
61332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61333 (eval $ac_try) 2>&5
61334 ac_status=$?
61335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61336 (exit $ac_status); }; } &&
61337 { ac_try='test -s conftest.$ac_objext'
61338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61339 (eval $ac_try) 2>&5
61340 ac_status=$?
61341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61342 (exit $ac_status); }; }; then
61343 glibcxx_cv_func_modf_use=yes
61344 else
61345 echo "$as_me: failed program was:" >&5
61346 sed 's/^/| /' conftest.$ac_ext >&5
61347
61348 glibcxx_cv_func_modf_use=no
61349 fi
61350 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61351 ac_ext=c
61352 ac_cpp='$CPP $CPPFLAGS'
61353 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61354 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61355 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61356
61357
61358 fi
61359
61360 fi
61361 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modf_use" >&5
61362 echo "${ECHO_T}$glibcxx_cv_func_modf_use" >&6
61363
61364 if test x$glibcxx_cv_func_modf_use = x"yes"; then
61365
61366 for ac_func in modf
61367 do
61368 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61369 echo "$as_me:$LINENO: checking for $ac_func" >&5
61370 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
61371 if eval "test \"\${$as_ac_var+set}\" = set"; then
61372 echo $ECHO_N "(cached) $ECHO_C" >&6
61373 else
61374 if test x$gcc_no_link = xyes; then
61375 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61376 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61377 { (exit 1); exit 1; }; }
61378 fi
61379 cat >conftest.$ac_ext <<_ACEOF
61380 /* confdefs.h. */
61381 _ACEOF
61382 cat confdefs.h >>conftest.$ac_ext
61383 cat >>conftest.$ac_ext <<_ACEOF
61384 /* end confdefs.h. */
61385 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
61386 For example, HP-UX 11i <limits.h> declares gettimeofday. */
61387 #define $ac_func innocuous_$ac_func
61388
61389 /* System header to define __stub macros and hopefully few prototypes,
61390 which can conflict with char $ac_func (); below.
61391 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61392 <limits.h> exists even on freestanding compilers. */
61393
61394 #ifdef __STDC__
61395 # include <limits.h>
61396 #else
61397 # include <assert.h>
61398 #endif
61399
61400 #undef $ac_func
61401
61402 /* Override any gcc2 internal prototype to avoid an error. */
61403 #ifdef __cplusplus
61404 extern "C"
61405 {
61406 #endif
61407 /* We use char because int might match the return type of a gcc2
61408 builtin and then its argument prototype would still apply. */
61409 char $ac_func ();
61410 /* The GNU C library defines this for functions which it implements
61411 to always fail with ENOSYS. Some functions are actually named
61412 something starting with __ and the normal name is an alias. */
61413 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61414 choke me
61415 #else
61416 char (*f) () = $ac_func;
61417 #endif
61418 #ifdef __cplusplus
61419 }
61420 #endif
61421
61422 int
61423 main ()
61424 {
61425 return f != $ac_func;
61426 ;
61427 return 0;
61428 }
61429 _ACEOF
61430 rm -f conftest.$ac_objext conftest$ac_exeext
61431 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61432 (eval $ac_link) 2>conftest.er1
61433 ac_status=$?
61434 grep -v '^ *+' conftest.er1 >conftest.err
61435 rm -f conftest.er1
61436 cat conftest.err >&5
61437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61438 (exit $ac_status); } &&
61439 { ac_try='test -z "$ac_c_werror_flag"
61440 || test ! -s conftest.err'
61441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61442 (eval $ac_try) 2>&5
61443 ac_status=$?
61444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61445 (exit $ac_status); }; } &&
61446 { ac_try='test -s conftest$ac_exeext'
61447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61448 (eval $ac_try) 2>&5
61449 ac_status=$?
61450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61451 (exit $ac_status); }; }; then
61452 eval "$as_ac_var=yes"
61453 else
61454 echo "$as_me: failed program was:" >&5
61455 sed 's/^/| /' conftest.$ac_ext >&5
61456
61457 eval "$as_ac_var=no"
61458 fi
61459 rm -f conftest.err conftest.$ac_objext \
61460 conftest$ac_exeext conftest.$ac_ext
61461 fi
61462 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61463 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61464 if test `eval echo '${'$as_ac_var'}'` = yes; then
61465 cat >>confdefs.h <<_ACEOF
61466 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61467 _ACEOF
61468
61469 fi
61470 done
61471
61472 else
61473
61474 echo "$as_me:$LINENO: checking for _modf declaration" >&5
61475 echo $ECHO_N "checking for _modf declaration... $ECHO_C" >&6
61476 if test x${glibcxx_cv_func__modf_use+set} != xset; then
61477 if test "${glibcxx_cv_func__modf_use+set}" = set; then
61478 echo $ECHO_N "(cached) $ECHO_C" >&6
61479 else
61480
61481
61482
61483 ac_ext=cc
61484 ac_cpp='$CXXCPP $CPPFLAGS'
61485 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61486 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61487 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61488
61489 cat >conftest.$ac_ext <<_ACEOF
61490 /* confdefs.h. */
61491 _ACEOF
61492 cat confdefs.h >>conftest.$ac_ext
61493 cat >>conftest.$ac_ext <<_ACEOF
61494 /* end confdefs.h. */
61495 #include <math.h>
61496 int
61497 main ()
61498 {
61499 _modf(0, 0);
61500 ;
61501 return 0;
61502 }
61503 _ACEOF
61504 rm -f conftest.$ac_objext
61505 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61506 (eval $ac_compile) 2>conftest.er1
61507 ac_status=$?
61508 grep -v '^ *+' conftest.er1 >conftest.err
61509 rm -f conftest.er1
61510 cat conftest.err >&5
61511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61512 (exit $ac_status); } &&
61513 { ac_try='test -z "$ac_cxx_werror_flag"
61514 || test ! -s conftest.err'
61515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61516 (eval $ac_try) 2>&5
61517 ac_status=$?
61518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61519 (exit $ac_status); }; } &&
61520 { ac_try='test -s conftest.$ac_objext'
61521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61522 (eval $ac_try) 2>&5
61523 ac_status=$?
61524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61525 (exit $ac_status); }; }; then
61526 glibcxx_cv_func__modf_use=yes
61527 else
61528 echo "$as_me: failed program was:" >&5
61529 sed 's/^/| /' conftest.$ac_ext >&5
61530
61531 glibcxx_cv_func__modf_use=no
61532 fi
61533 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61534 ac_ext=c
61535 ac_cpp='$CPP $CPPFLAGS'
61536 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61537 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61538 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61539
61540
61541 fi
61542
61543 fi
61544 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modf_use" >&5
61545 echo "${ECHO_T}$glibcxx_cv_func__modf_use" >&6
61546
61547 if test x$glibcxx_cv_func__modf_use = x"yes"; then
61548
61549 for ac_func in _modf
61550 do
61551 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61552 echo "$as_me:$LINENO: checking for $ac_func" >&5
61553 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
61554 if eval "test \"\${$as_ac_var+set}\" = set"; then
61555 echo $ECHO_N "(cached) $ECHO_C" >&6
61556 else
61557 if test x$gcc_no_link = xyes; then
61558 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61559 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61560 { (exit 1); exit 1; }; }
61561 fi
61562 cat >conftest.$ac_ext <<_ACEOF
61563 /* confdefs.h. */
61564 _ACEOF
61565 cat confdefs.h >>conftest.$ac_ext
61566 cat >>conftest.$ac_ext <<_ACEOF
61567 /* end confdefs.h. */
61568 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
61569 For example, HP-UX 11i <limits.h> declares gettimeofday. */
61570 #define $ac_func innocuous_$ac_func
61571
61572 /* System header to define __stub macros and hopefully few prototypes,
61573 which can conflict with char $ac_func (); below.
61574 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61575 <limits.h> exists even on freestanding compilers. */
61576
61577 #ifdef __STDC__
61578 # include <limits.h>
61579 #else
61580 # include <assert.h>
61581 #endif
61582
61583 #undef $ac_func
61584
61585 /* Override any gcc2 internal prototype to avoid an error. */
61586 #ifdef __cplusplus
61587 extern "C"
61588 {
61589 #endif
61590 /* We use char because int might match the return type of a gcc2
61591 builtin and then its argument prototype would still apply. */
61592 char $ac_func ();
61593 /* The GNU C library defines this for functions which it implements
61594 to always fail with ENOSYS. Some functions are actually named
61595 something starting with __ and the normal name is an alias. */
61596 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61597 choke me
61598 #else
61599 char (*f) () = $ac_func;
61600 #endif
61601 #ifdef __cplusplus
61602 }
61603 #endif
61604
61605 int
61606 main ()
61607 {
61608 return f != $ac_func;
61609 ;
61610 return 0;
61611 }
61612 _ACEOF
61613 rm -f conftest.$ac_objext conftest$ac_exeext
61614 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61615 (eval $ac_link) 2>conftest.er1
61616 ac_status=$?
61617 grep -v '^ *+' conftest.er1 >conftest.err
61618 rm -f conftest.er1
61619 cat conftest.err >&5
61620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61621 (exit $ac_status); } &&
61622 { ac_try='test -z "$ac_c_werror_flag"
61623 || test ! -s conftest.err'
61624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61625 (eval $ac_try) 2>&5
61626 ac_status=$?
61627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61628 (exit $ac_status); }; } &&
61629 { ac_try='test -s conftest$ac_exeext'
61630 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61631 (eval $ac_try) 2>&5
61632 ac_status=$?
61633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61634 (exit $ac_status); }; }; then
61635 eval "$as_ac_var=yes"
61636 else
61637 echo "$as_me: failed program was:" >&5
61638 sed 's/^/| /' conftest.$ac_ext >&5
61639
61640 eval "$as_ac_var=no"
61641 fi
61642 rm -f conftest.err conftest.$ac_objext \
61643 conftest$ac_exeext conftest.$ac_ext
61644 fi
61645 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61646 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61647 if test `eval echo '${'$as_ac_var'}'` = yes; then
61648 cat >>confdefs.h <<_ACEOF
61649 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61650 _ACEOF
61651
61652 fi
61653 done
61654
61655 fi
61656 fi
61657
61658
61659
61660
61661
61662
61663 echo "$as_me:$LINENO: checking for powf declaration" >&5
61664 echo $ECHO_N "checking for powf declaration... $ECHO_C" >&6
61665 if test x${glibcxx_cv_func_powf_use+set} != xset; then
61666 if test "${glibcxx_cv_func_powf_use+set}" = set; then
61667 echo $ECHO_N "(cached) $ECHO_C" >&6
61668 else
61669
61670
61671
61672 ac_ext=cc
61673 ac_cpp='$CXXCPP $CPPFLAGS'
61674 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61675 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61676 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61677
61678 cat >conftest.$ac_ext <<_ACEOF
61679 /* confdefs.h. */
61680 _ACEOF
61681 cat confdefs.h >>conftest.$ac_ext
61682 cat >>conftest.$ac_ext <<_ACEOF
61683 /* end confdefs.h. */
61684 #include <math.h>
61685 int
61686 main ()
61687 {
61688 powf(0, 0);
61689 ;
61690 return 0;
61691 }
61692 _ACEOF
61693 rm -f conftest.$ac_objext
61694 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61695 (eval $ac_compile) 2>conftest.er1
61696 ac_status=$?
61697 grep -v '^ *+' conftest.er1 >conftest.err
61698 rm -f conftest.er1
61699 cat conftest.err >&5
61700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61701 (exit $ac_status); } &&
61702 { ac_try='test -z "$ac_cxx_werror_flag"
61703 || test ! -s conftest.err'
61704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61705 (eval $ac_try) 2>&5
61706 ac_status=$?
61707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61708 (exit $ac_status); }; } &&
61709 { ac_try='test -s conftest.$ac_objext'
61710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61711 (eval $ac_try) 2>&5
61712 ac_status=$?
61713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61714 (exit $ac_status); }; }; then
61715 glibcxx_cv_func_powf_use=yes
61716 else
61717 echo "$as_me: failed program was:" >&5
61718 sed 's/^/| /' conftest.$ac_ext >&5
61719
61720 glibcxx_cv_func_powf_use=no
61721 fi
61722 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61723 ac_ext=c
61724 ac_cpp='$CPP $CPPFLAGS'
61725 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61726 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61727 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61728
61729
61730 fi
61731
61732 fi
61733 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powf_use" >&5
61734 echo "${ECHO_T}$glibcxx_cv_func_powf_use" >&6
61735
61736 if test x$glibcxx_cv_func_powf_use = x"yes"; then
61737
61738 for ac_func in powf
61739 do
61740 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61741 echo "$as_me:$LINENO: checking for $ac_func" >&5
61742 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
61743 if eval "test \"\${$as_ac_var+set}\" = set"; then
61744 echo $ECHO_N "(cached) $ECHO_C" >&6
61745 else
61746 if test x$gcc_no_link = xyes; then
61747 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61748 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61749 { (exit 1); exit 1; }; }
61750 fi
61751 cat >conftest.$ac_ext <<_ACEOF
61752 /* confdefs.h. */
61753 _ACEOF
61754 cat confdefs.h >>conftest.$ac_ext
61755 cat >>conftest.$ac_ext <<_ACEOF
61756 /* end confdefs.h. */
61757 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
61758 For example, HP-UX 11i <limits.h> declares gettimeofday. */
61759 #define $ac_func innocuous_$ac_func
61760
61761 /* System header to define __stub macros and hopefully few prototypes,
61762 which can conflict with char $ac_func (); below.
61763 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61764 <limits.h> exists even on freestanding compilers. */
61765
61766 #ifdef __STDC__
61767 # include <limits.h>
61768 #else
61769 # include <assert.h>
61770 #endif
61771
61772 #undef $ac_func
61773
61774 /* Override any gcc2 internal prototype to avoid an error. */
61775 #ifdef __cplusplus
61776 extern "C"
61777 {
61778 #endif
61779 /* We use char because int might match the return type of a gcc2
61780 builtin and then its argument prototype would still apply. */
61781 char $ac_func ();
61782 /* The GNU C library defines this for functions which it implements
61783 to always fail with ENOSYS. Some functions are actually named
61784 something starting with __ and the normal name is an alias. */
61785 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61786 choke me
61787 #else
61788 char (*f) () = $ac_func;
61789 #endif
61790 #ifdef __cplusplus
61791 }
61792 #endif
61793
61794 int
61795 main ()
61796 {
61797 return f != $ac_func;
61798 ;
61799 return 0;
61800 }
61801 _ACEOF
61802 rm -f conftest.$ac_objext conftest$ac_exeext
61803 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61804 (eval $ac_link) 2>conftest.er1
61805 ac_status=$?
61806 grep -v '^ *+' conftest.er1 >conftest.err
61807 rm -f conftest.er1
61808 cat conftest.err >&5
61809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61810 (exit $ac_status); } &&
61811 { ac_try='test -z "$ac_c_werror_flag"
61812 || test ! -s conftest.err'
61813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61814 (eval $ac_try) 2>&5
61815 ac_status=$?
61816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61817 (exit $ac_status); }; } &&
61818 { ac_try='test -s conftest$ac_exeext'
61819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61820 (eval $ac_try) 2>&5
61821 ac_status=$?
61822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61823 (exit $ac_status); }; }; then
61824 eval "$as_ac_var=yes"
61825 else
61826 echo "$as_me: failed program was:" >&5
61827 sed 's/^/| /' conftest.$ac_ext >&5
61828
61829 eval "$as_ac_var=no"
61830 fi
61831 rm -f conftest.err conftest.$ac_objext \
61832 conftest$ac_exeext conftest.$ac_ext
61833 fi
61834 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61835 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61836 if test `eval echo '${'$as_ac_var'}'` = yes; then
61837 cat >>confdefs.h <<_ACEOF
61838 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61839 _ACEOF
61840
61841 fi
61842 done
61843
61844 else
61845
61846 echo "$as_me:$LINENO: checking for _powf declaration" >&5
61847 echo $ECHO_N "checking for _powf declaration... $ECHO_C" >&6
61848 if test x${glibcxx_cv_func__powf_use+set} != xset; then
61849 if test "${glibcxx_cv_func__powf_use+set}" = set; then
61850 echo $ECHO_N "(cached) $ECHO_C" >&6
61851 else
61852
61853
61854
61855 ac_ext=cc
61856 ac_cpp='$CXXCPP $CPPFLAGS'
61857 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61858 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61859 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61860
61861 cat >conftest.$ac_ext <<_ACEOF
61862 /* confdefs.h. */
61863 _ACEOF
61864 cat confdefs.h >>conftest.$ac_ext
61865 cat >>conftest.$ac_ext <<_ACEOF
61866 /* end confdefs.h. */
61867 #include <math.h>
61868 int
61869 main ()
61870 {
61871 _powf(0, 0);
61872 ;
61873 return 0;
61874 }
61875 _ACEOF
61876 rm -f conftest.$ac_objext
61877 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61878 (eval $ac_compile) 2>conftest.er1
61879 ac_status=$?
61880 grep -v '^ *+' conftest.er1 >conftest.err
61881 rm -f conftest.er1
61882 cat conftest.err >&5
61883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61884 (exit $ac_status); } &&
61885 { ac_try='test -z "$ac_cxx_werror_flag"
61886 || test ! -s conftest.err'
61887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61888 (eval $ac_try) 2>&5
61889 ac_status=$?
61890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61891 (exit $ac_status); }; } &&
61892 { ac_try='test -s conftest.$ac_objext'
61893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61894 (eval $ac_try) 2>&5
61895 ac_status=$?
61896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61897 (exit $ac_status); }; }; then
61898 glibcxx_cv_func__powf_use=yes
61899 else
61900 echo "$as_me: failed program was:" >&5
61901 sed 's/^/| /' conftest.$ac_ext >&5
61902
61903 glibcxx_cv_func__powf_use=no
61904 fi
61905 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61906 ac_ext=c
61907 ac_cpp='$CPP $CPPFLAGS'
61908 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61909 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61910 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61911
61912
61913 fi
61914
61915 fi
61916 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powf_use" >&5
61917 echo "${ECHO_T}$glibcxx_cv_func__powf_use" >&6
61918
61919 if test x$glibcxx_cv_func__powf_use = x"yes"; then
61920
61921 for ac_func in _powf
61922 do
61923 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61924 echo "$as_me:$LINENO: checking for $ac_func" >&5
61925 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
61926 if eval "test \"\${$as_ac_var+set}\" = set"; then
61927 echo $ECHO_N "(cached) $ECHO_C" >&6
61928 else
61929 if test x$gcc_no_link = xyes; then
61930 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61931 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61932 { (exit 1); exit 1; }; }
61933 fi
61934 cat >conftest.$ac_ext <<_ACEOF
61935 /* confdefs.h. */
61936 _ACEOF
61937 cat confdefs.h >>conftest.$ac_ext
61938 cat >>conftest.$ac_ext <<_ACEOF
61939 /* end confdefs.h. */
61940 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
61941 For example, HP-UX 11i <limits.h> declares gettimeofday. */
61942 #define $ac_func innocuous_$ac_func
61943
61944 /* System header to define __stub macros and hopefully few prototypes,
61945 which can conflict with char $ac_func (); below.
61946 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61947 <limits.h> exists even on freestanding compilers. */
61948
61949 #ifdef __STDC__
61950 # include <limits.h>
61951 #else
61952 # include <assert.h>
61953 #endif
61954
61955 #undef $ac_func
61956
61957 /* Override any gcc2 internal prototype to avoid an error. */
61958 #ifdef __cplusplus
61959 extern "C"
61960 {
61961 #endif
61962 /* We use char because int might match the return type of a gcc2
61963 builtin and then its argument prototype would still apply. */
61964 char $ac_func ();
61965 /* The GNU C library defines this for functions which it implements
61966 to always fail with ENOSYS. Some functions are actually named
61967 something starting with __ and the normal name is an alias. */
61968 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61969 choke me
61970 #else
61971 char (*f) () = $ac_func;
61972 #endif
61973 #ifdef __cplusplus
61974 }
61975 #endif
61976
61977 int
61978 main ()
61979 {
61980 return f != $ac_func;
61981 ;
61982 return 0;
61983 }
61984 _ACEOF
61985 rm -f conftest.$ac_objext conftest$ac_exeext
61986 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61987 (eval $ac_link) 2>conftest.er1
61988 ac_status=$?
61989 grep -v '^ *+' conftest.er1 >conftest.err
61990 rm -f conftest.er1
61991 cat conftest.err >&5
61992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61993 (exit $ac_status); } &&
61994 { ac_try='test -z "$ac_c_werror_flag"
61995 || test ! -s conftest.err'
61996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61997 (eval $ac_try) 2>&5
61998 ac_status=$?
61999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62000 (exit $ac_status); }; } &&
62001 { ac_try='test -s conftest$ac_exeext'
62002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62003 (eval $ac_try) 2>&5
62004 ac_status=$?
62005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62006 (exit $ac_status); }; }; then
62007 eval "$as_ac_var=yes"
62008 else
62009 echo "$as_me: failed program was:" >&5
62010 sed 's/^/| /' conftest.$ac_ext >&5
62011
62012 eval "$as_ac_var=no"
62013 fi
62014 rm -f conftest.err conftest.$ac_objext \
62015 conftest$ac_exeext conftest.$ac_ext
62016 fi
62017 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
62018 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
62019 if test `eval echo '${'$as_ac_var'}'` = yes; then
62020 cat >>confdefs.h <<_ACEOF
62021 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62022 _ACEOF
62023
62024 fi
62025 done
62026
62027 fi
62028 fi
62029
62030
62031
62032
62033
62034
62035 echo "$as_me:$LINENO: checking for sqrtf declaration" >&5
62036 echo $ECHO_N "checking for sqrtf declaration... $ECHO_C" >&6
62037 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
62038 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then
62039 echo $ECHO_N "(cached) $ECHO_C" >&6
62040 else
62041
62042
62043
62044 ac_ext=cc
62045 ac_cpp='$CXXCPP $CPPFLAGS'
62046 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62047 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62048 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62049
62050 cat >conftest.$ac_ext <<_ACEOF
62051 /* confdefs.h. */
62052 _ACEOF
62053 cat confdefs.h >>conftest.$ac_ext
62054 cat >>conftest.$ac_ext <<_ACEOF
62055 /* end confdefs.h. */
62056 #include <math.h>
62057 #ifdef HAVE_IEEEFP_H
62058 #include <ieeefp.h>
62059 #endif
62060
62061 int
62062 main ()
62063 {
62064 sqrtf(0);
62065 ;
62066 return 0;
62067 }
62068 _ACEOF
62069 rm -f conftest.$ac_objext
62070 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62071 (eval $ac_compile) 2>conftest.er1
62072 ac_status=$?
62073 grep -v '^ *+' conftest.er1 >conftest.err
62074 rm -f conftest.er1
62075 cat conftest.err >&5
62076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62077 (exit $ac_status); } &&
62078 { ac_try='test -z "$ac_cxx_werror_flag"
62079 || test ! -s conftest.err'
62080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62081 (eval $ac_try) 2>&5
62082 ac_status=$?
62083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62084 (exit $ac_status); }; } &&
62085 { ac_try='test -s conftest.$ac_objext'
62086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62087 (eval $ac_try) 2>&5
62088 ac_status=$?
62089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62090 (exit $ac_status); }; }; then
62091 glibcxx_cv_func_sqrtf_use=yes
62092 else
62093 echo "$as_me: failed program was:" >&5
62094 sed 's/^/| /' conftest.$ac_ext >&5
62095
62096 glibcxx_cv_func_sqrtf_use=no
62097 fi
62098 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62099 ac_ext=c
62100 ac_cpp='$CPP $CPPFLAGS'
62101 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62102 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62103 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62104
62105
62106 fi
62107
62108 fi
62109 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtf_use" >&5
62110 echo "${ECHO_T}$glibcxx_cv_func_sqrtf_use" >&6
62111
62112 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
62113
62114 for ac_func in sqrtf
62115 do
62116 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62117 echo "$as_me:$LINENO: checking for $ac_func" >&5
62118 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62119 if eval "test \"\${$as_ac_var+set}\" = set"; then
62120 echo $ECHO_N "(cached) $ECHO_C" >&6
62121 else
62122 if test x$gcc_no_link = xyes; then
62123 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62124 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62125 { (exit 1); exit 1; }; }
62126 fi
62127 cat >conftest.$ac_ext <<_ACEOF
62128 /* confdefs.h. */
62129 _ACEOF
62130 cat confdefs.h >>conftest.$ac_ext
62131 cat >>conftest.$ac_ext <<_ACEOF
62132 /* end confdefs.h. */
62133 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62134 For example, HP-UX 11i <limits.h> declares gettimeofday. */
62135 #define $ac_func innocuous_$ac_func
62136
62137 /* System header to define __stub macros and hopefully few prototypes,
62138 which can conflict with char $ac_func (); below.
62139 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62140 <limits.h> exists even on freestanding compilers. */
62141
62142 #ifdef __STDC__
62143 # include <limits.h>
62144 #else
62145 # include <assert.h>
62146 #endif
62147
62148 #undef $ac_func
62149
62150 /* Override any gcc2 internal prototype to avoid an error. */
62151 #ifdef __cplusplus
62152 extern "C"
62153 {
62154 #endif
62155 /* We use char because int might match the return type of a gcc2
62156 builtin and then its argument prototype would still apply. */
62157 char $ac_func ();
62158 /* The GNU C library defines this for functions which it implements
62159 to always fail with ENOSYS. Some functions are actually named
62160 something starting with __ and the normal name is an alias. */
62161 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
62162 choke me
62163 #else
62164 char (*f) () = $ac_func;
62165 #endif
62166 #ifdef __cplusplus
62167 }
62168 #endif
62169
62170 int
62171 main ()
62172 {
62173 return f != $ac_func;
62174 ;
62175 return 0;
62176 }
62177 _ACEOF
62178 rm -f conftest.$ac_objext conftest$ac_exeext
62179 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62180 (eval $ac_link) 2>conftest.er1
62181 ac_status=$?
62182 grep -v '^ *+' conftest.er1 >conftest.err
62183 rm -f conftest.er1
62184 cat conftest.err >&5
62185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62186 (exit $ac_status); } &&
62187 { ac_try='test -z "$ac_c_werror_flag"
62188 || test ! -s conftest.err'
62189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62190 (eval $ac_try) 2>&5
62191 ac_status=$?
62192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62193 (exit $ac_status); }; } &&
62194 { ac_try='test -s conftest$ac_exeext'
62195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62196 (eval $ac_try) 2>&5
62197 ac_status=$?
62198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62199 (exit $ac_status); }; }; then
62200 eval "$as_ac_var=yes"
62201 else
62202 echo "$as_me: failed program was:" >&5
62203 sed 's/^/| /' conftest.$ac_ext >&5
62204
62205 eval "$as_ac_var=no"
62206 fi
62207 rm -f conftest.err conftest.$ac_objext \
62208 conftest$ac_exeext conftest.$ac_ext
62209 fi
62210 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
62211 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
62212 if test `eval echo '${'$as_ac_var'}'` = yes; then
62213 cat >>confdefs.h <<_ACEOF
62214 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62215 _ACEOF
62216
62217 fi
62218 done
62219
62220 else
62221
62222 echo "$as_me:$LINENO: checking for _sqrtf declaration" >&5
62223 echo $ECHO_N "checking for _sqrtf declaration... $ECHO_C" >&6
62224 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
62225 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then
62226 echo $ECHO_N "(cached) $ECHO_C" >&6
62227 else
62228
62229
62230
62231 ac_ext=cc
62232 ac_cpp='$CXXCPP $CPPFLAGS'
62233 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62234 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62235 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62236
62237 cat >conftest.$ac_ext <<_ACEOF
62238 /* confdefs.h. */
62239 _ACEOF
62240 cat confdefs.h >>conftest.$ac_ext
62241 cat >>conftest.$ac_ext <<_ACEOF
62242 /* end confdefs.h. */
62243 #include <math.h>
62244 #ifdef HAVE_IEEEFP_H
62245 #include <ieeefp.h>
62246 #endif
62247
62248 int
62249 main ()
62250 {
62251 _sqrtf(0);
62252 ;
62253 return 0;
62254 }
62255 _ACEOF
62256 rm -f conftest.$ac_objext
62257 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62258 (eval $ac_compile) 2>conftest.er1
62259 ac_status=$?
62260 grep -v '^ *+' conftest.er1 >conftest.err
62261 rm -f conftest.er1
62262 cat conftest.err >&5
62263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62264 (exit $ac_status); } &&
62265 { ac_try='test -z "$ac_cxx_werror_flag"
62266 || test ! -s conftest.err'
62267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62268 (eval $ac_try) 2>&5
62269 ac_status=$?
62270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62271 (exit $ac_status); }; } &&
62272 { ac_try='test -s conftest.$ac_objext'
62273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62274 (eval $ac_try) 2>&5
62275 ac_status=$?
62276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62277 (exit $ac_status); }; }; then
62278 glibcxx_cv_func__sqrtf_use=yes
62279 else
62280 echo "$as_me: failed program was:" >&5
62281 sed 's/^/| /' conftest.$ac_ext >&5
62282
62283 glibcxx_cv_func__sqrtf_use=no
62284 fi
62285 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62286 ac_ext=c
62287 ac_cpp='$CPP $CPPFLAGS'
62288 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62289 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62290 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62291
62292
62293 fi
62294
62295 fi
62296 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtf_use" >&5
62297 echo "${ECHO_T}$glibcxx_cv_func__sqrtf_use" >&6
62298
62299 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
62300
62301 for ac_func in _sqrtf
62302 do
62303 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62304 echo "$as_me:$LINENO: checking for $ac_func" >&5
62305 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62306 if eval "test \"\${$as_ac_var+set}\" = set"; then
62307 echo $ECHO_N "(cached) $ECHO_C" >&6
62308 else
62309 if test x$gcc_no_link = xyes; then
62310 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62311 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62312 { (exit 1); exit 1; }; }
62313 fi
62314 cat >conftest.$ac_ext <<_ACEOF
62315 /* confdefs.h. */
62316 _ACEOF
62317 cat confdefs.h >>conftest.$ac_ext
62318 cat >>conftest.$ac_ext <<_ACEOF
62319 /* end confdefs.h. */
62320 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62321 For example, HP-UX 11i <limits.h> declares gettimeofday. */
62322 #define $ac_func innocuous_$ac_func
62323
62324 /* System header to define __stub macros and hopefully few prototypes,
62325 which can conflict with char $ac_func (); below.
62326 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62327 <limits.h> exists even on freestanding compilers. */
62328
62329 #ifdef __STDC__
62330 # include <limits.h>
62331 #else
62332 # include <assert.h>
62333 #endif
62334
62335 #undef $ac_func
62336
62337 /* Override any gcc2 internal prototype to avoid an error. */
62338 #ifdef __cplusplus
62339 extern "C"
62340 {
62341 #endif
62342 /* We use char because int might match the return type of a gcc2
62343 builtin and then its argument prototype would still apply. */
62344 char $ac_func ();
62345 /* The GNU C library defines this for functions which it implements
62346 to always fail with ENOSYS. Some functions are actually named
62347 something starting with __ and the normal name is an alias. */
62348 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
62349 choke me
62350 #else
62351 char (*f) () = $ac_func;
62352 #endif
62353 #ifdef __cplusplus
62354 }
62355 #endif
62356
62357 int
62358 main ()
62359 {
62360 return f != $ac_func;
62361 ;
62362 return 0;
62363 }
62364 _ACEOF
62365 rm -f conftest.$ac_objext conftest$ac_exeext
62366 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62367 (eval $ac_link) 2>conftest.er1
62368 ac_status=$?
62369 grep -v '^ *+' conftest.er1 >conftest.err
62370 rm -f conftest.er1
62371 cat conftest.err >&5
62372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62373 (exit $ac_status); } &&
62374 { ac_try='test -z "$ac_c_werror_flag"
62375 || test ! -s conftest.err'
62376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62377 (eval $ac_try) 2>&5
62378 ac_status=$?
62379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62380 (exit $ac_status); }; } &&
62381 { ac_try='test -s conftest$ac_exeext'
62382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62383 (eval $ac_try) 2>&5
62384 ac_status=$?
62385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62386 (exit $ac_status); }; }; then
62387 eval "$as_ac_var=yes"
62388 else
62389 echo "$as_me: failed program was:" >&5
62390 sed 's/^/| /' conftest.$ac_ext >&5
62391
62392 eval "$as_ac_var=no"
62393 fi
62394 rm -f conftest.err conftest.$ac_objext \
62395 conftest$ac_exeext conftest.$ac_ext
62396 fi
62397 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
62398 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
62399 if test `eval echo '${'$as_ac_var'}'` = yes; then
62400 cat >>confdefs.h <<_ACEOF
62401 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62402 _ACEOF
62403
62404 fi
62405 done
62406
62407 fi
62408 fi
62409
62410
62411
62412
62413
62414
62415 echo "$as_me:$LINENO: checking for sincosf declaration" >&5
62416 echo $ECHO_N "checking for sincosf declaration... $ECHO_C" >&6
62417 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
62418 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then
62419 echo $ECHO_N "(cached) $ECHO_C" >&6
62420 else
62421
62422
62423
62424 ac_ext=cc
62425 ac_cpp='$CXXCPP $CPPFLAGS'
62426 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62427 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62428 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62429
62430 cat >conftest.$ac_ext <<_ACEOF
62431 /* confdefs.h. */
62432 _ACEOF
62433 cat confdefs.h >>conftest.$ac_ext
62434 cat >>conftest.$ac_ext <<_ACEOF
62435 /* end confdefs.h. */
62436 #include <math.h>
62437 int
62438 main ()
62439 {
62440 sincosf(0, 0, 0);
62441 ;
62442 return 0;
62443 }
62444 _ACEOF
62445 rm -f conftest.$ac_objext
62446 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62447 (eval $ac_compile) 2>conftest.er1
62448 ac_status=$?
62449 grep -v '^ *+' conftest.er1 >conftest.err
62450 rm -f conftest.er1
62451 cat conftest.err >&5
62452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62453 (exit $ac_status); } &&
62454 { ac_try='test -z "$ac_cxx_werror_flag"
62455 || 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_objext'
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 glibcxx_cv_func_sincosf_use=yes
62468 else
62469 echo "$as_me: failed program was:" >&5
62470 sed 's/^/| /' conftest.$ac_ext >&5
62471
62472 glibcxx_cv_func_sincosf_use=no
62473 fi
62474 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62475 ac_ext=c
62476 ac_cpp='$CPP $CPPFLAGS'
62477 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62478 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62479 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62480
62481
62482 fi
62483
62484 fi
62485 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosf_use" >&5
62486 echo "${ECHO_T}$glibcxx_cv_func_sincosf_use" >&6
62487
62488 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
62489
62490 for ac_func in sincosf
62491 do
62492 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62493 echo "$as_me:$LINENO: checking for $ac_func" >&5
62494 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62495 if eval "test \"\${$as_ac_var+set}\" = set"; then
62496 echo $ECHO_N "(cached) $ECHO_C" >&6
62497 else
62498 if test x$gcc_no_link = xyes; then
62499 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62500 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62501 { (exit 1); exit 1; }; }
62502 fi
62503 cat >conftest.$ac_ext <<_ACEOF
62504 /* confdefs.h. */
62505 _ACEOF
62506 cat confdefs.h >>conftest.$ac_ext
62507 cat >>conftest.$ac_ext <<_ACEOF
62508 /* end confdefs.h. */
62509 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62510 For example, HP-UX 11i <limits.h> declares gettimeofday. */
62511 #define $ac_func innocuous_$ac_func
62512
62513 /* System header to define __stub macros and hopefully few prototypes,
62514 which can conflict with char $ac_func (); below.
62515 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62516 <limits.h> exists even on freestanding compilers. */
62517
62518 #ifdef __STDC__
62519 # include <limits.h>
62520 #else
62521 # include <assert.h>
62522 #endif
62523
62524 #undef $ac_func
62525
62526 /* Override any gcc2 internal prototype to avoid an error. */
62527 #ifdef __cplusplus
62528 extern "C"
62529 {
62530 #endif
62531 /* We use char because int might match the return type of a gcc2
62532 builtin and then its argument prototype would still apply. */
62533 char $ac_func ();
62534 /* The GNU C library defines this for functions which it implements
62535 to always fail with ENOSYS. Some functions are actually named
62536 something starting with __ and the normal name is an alias. */
62537 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
62538 choke me
62539 #else
62540 char (*f) () = $ac_func;
62541 #endif
62542 #ifdef __cplusplus
62543 }
62544 #endif
62545
62546 int
62547 main ()
62548 {
62549 return f != $ac_func;
62550 ;
62551 return 0;
62552 }
62553 _ACEOF
62554 rm -f conftest.$ac_objext conftest$ac_exeext
62555 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62556 (eval $ac_link) 2>conftest.er1
62557 ac_status=$?
62558 grep -v '^ *+' conftest.er1 >conftest.err
62559 rm -f conftest.er1
62560 cat conftest.err >&5
62561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62562 (exit $ac_status); } &&
62563 { ac_try='test -z "$ac_c_werror_flag"
62564 || test ! -s conftest.err'
62565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62566 (eval $ac_try) 2>&5
62567 ac_status=$?
62568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62569 (exit $ac_status); }; } &&
62570 { ac_try='test -s conftest$ac_exeext'
62571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62572 (eval $ac_try) 2>&5
62573 ac_status=$?
62574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62575 (exit $ac_status); }; }; then
62576 eval "$as_ac_var=yes"
62577 else
62578 echo "$as_me: failed program was:" >&5
62579 sed 's/^/| /' conftest.$ac_ext >&5
62580
62581 eval "$as_ac_var=no"
62582 fi
62583 rm -f conftest.err conftest.$ac_objext \
62584 conftest$ac_exeext conftest.$ac_ext
62585 fi
62586 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
62587 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
62588 if test `eval echo '${'$as_ac_var'}'` = yes; then
62589 cat >>confdefs.h <<_ACEOF
62590 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62591 _ACEOF
62592
62593 fi
62594 done
62595
62596 else
62597
62598 echo "$as_me:$LINENO: checking for _sincosf declaration" >&5
62599 echo $ECHO_N "checking for _sincosf declaration... $ECHO_C" >&6
62600 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
62601 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then
62602 echo $ECHO_N "(cached) $ECHO_C" >&6
62603 else
62604
62605
62606
62607 ac_ext=cc
62608 ac_cpp='$CXXCPP $CPPFLAGS'
62609 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62610 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62611 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62612
62613 cat >conftest.$ac_ext <<_ACEOF
62614 /* confdefs.h. */
62615 _ACEOF
62616 cat confdefs.h >>conftest.$ac_ext
62617 cat >>conftest.$ac_ext <<_ACEOF
62618 /* end confdefs.h. */
62619 #include <math.h>
62620 int
62621 main ()
62622 {
62623 _sincosf(0, 0, 0);
62624 ;
62625 return 0;
62626 }
62627 _ACEOF
62628 rm -f conftest.$ac_objext
62629 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62630 (eval $ac_compile) 2>conftest.er1
62631 ac_status=$?
62632 grep -v '^ *+' conftest.er1 >conftest.err
62633 rm -f conftest.er1
62634 cat conftest.err >&5
62635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62636 (exit $ac_status); } &&
62637 { ac_try='test -z "$ac_cxx_werror_flag"
62638 || test ! -s conftest.err'
62639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62640 (eval $ac_try) 2>&5
62641 ac_status=$?
62642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62643 (exit $ac_status); }; } &&
62644 { ac_try='test -s conftest.$ac_objext'
62645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62646 (eval $ac_try) 2>&5
62647 ac_status=$?
62648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62649 (exit $ac_status); }; }; then
62650 glibcxx_cv_func__sincosf_use=yes
62651 else
62652 echo "$as_me: failed program was:" >&5
62653 sed 's/^/| /' conftest.$ac_ext >&5
62654
62655 glibcxx_cv_func__sincosf_use=no
62656 fi
62657 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62658 ac_ext=c
62659 ac_cpp='$CPP $CPPFLAGS'
62660 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62661 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62662 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62663
62664
62665 fi
62666
62667 fi
62668 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosf_use" >&5
62669 echo "${ECHO_T}$glibcxx_cv_func__sincosf_use" >&6
62670
62671 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
62672
62673 for ac_func in _sincosf
62674 do
62675 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62676 echo "$as_me:$LINENO: checking for $ac_func" >&5
62677 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62678 if eval "test \"\${$as_ac_var+set}\" = set"; then
62679 echo $ECHO_N "(cached) $ECHO_C" >&6
62680 else
62681 if test x$gcc_no_link = xyes; then
62682 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62683 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62684 { (exit 1); exit 1; }; }
62685 fi
62686 cat >conftest.$ac_ext <<_ACEOF
62687 /* confdefs.h. */
62688 _ACEOF
62689 cat confdefs.h >>conftest.$ac_ext
62690 cat >>conftest.$ac_ext <<_ACEOF
62691 /* end confdefs.h. */
62692 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62693 For example, HP-UX 11i <limits.h> declares gettimeofday. */
62694 #define $ac_func innocuous_$ac_func
62695
62696 /* System header to define __stub macros and hopefully few prototypes,
62697 which can conflict with char $ac_func (); below.
62698 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62699 <limits.h> exists even on freestanding compilers. */
62700
62701 #ifdef __STDC__
62702 # include <limits.h>
62703 #else
62704 # include <assert.h>
62705 #endif
62706
62707 #undef $ac_func
62708
62709 /* Override any gcc2 internal prototype to avoid an error. */
62710 #ifdef __cplusplus
62711 extern "C"
62712 {
62713 #endif
62714 /* We use char because int might match the return type of a gcc2
62715 builtin and then its argument prototype would still apply. */
62716 char $ac_func ();
62717 /* The GNU C library defines this for functions which it implements
62718 to always fail with ENOSYS. Some functions are actually named
62719 something starting with __ and the normal name is an alias. */
62720 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
62721 choke me
62722 #else
62723 char (*f) () = $ac_func;
62724 #endif
62725 #ifdef __cplusplus
62726 }
62727 #endif
62728
62729 int
62730 main ()
62731 {
62732 return f != $ac_func;
62733 ;
62734 return 0;
62735 }
62736 _ACEOF
62737 rm -f conftest.$ac_objext conftest$ac_exeext
62738 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62739 (eval $ac_link) 2>conftest.er1
62740 ac_status=$?
62741 grep -v '^ *+' conftest.er1 >conftest.err
62742 rm -f conftest.er1
62743 cat conftest.err >&5
62744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62745 (exit $ac_status); } &&
62746 { ac_try='test -z "$ac_c_werror_flag"
62747 || test ! -s conftest.err'
62748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62749 (eval $ac_try) 2>&5
62750 ac_status=$?
62751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62752 (exit $ac_status); }; } &&
62753 { ac_try='test -s conftest$ac_exeext'
62754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62755 (eval $ac_try) 2>&5
62756 ac_status=$?
62757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62758 (exit $ac_status); }; }; then
62759 eval "$as_ac_var=yes"
62760 else
62761 echo "$as_me: failed program was:" >&5
62762 sed 's/^/| /' conftest.$ac_ext >&5
62763
62764 eval "$as_ac_var=no"
62765 fi
62766 rm -f conftest.err conftest.$ac_objext \
62767 conftest$ac_exeext conftest.$ac_ext
62768 fi
62769 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
62770 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
62771 if test `eval echo '${'$as_ac_var'}'` = yes; then
62772 cat >>confdefs.h <<_ACEOF
62773 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62774 _ACEOF
62775
62776 fi
62777 done
62778
62779 fi
62780 fi
62781
62782
62783
62784
62785
62786
62787 echo "$as_me:$LINENO: checking for finitef declaration" >&5
62788 echo $ECHO_N "checking for finitef declaration... $ECHO_C" >&6
62789 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
62790 if test "${glibcxx_cv_func_finitef_use+set}" = set; then
62791 echo $ECHO_N "(cached) $ECHO_C" >&6
62792 else
62793
62794
62795
62796 ac_ext=cc
62797 ac_cpp='$CXXCPP $CPPFLAGS'
62798 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62799 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62800 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62801
62802 cat >conftest.$ac_ext <<_ACEOF
62803 /* confdefs.h. */
62804 _ACEOF
62805 cat confdefs.h >>conftest.$ac_ext
62806 cat >>conftest.$ac_ext <<_ACEOF
62807 /* end confdefs.h. */
62808 #include <math.h>
62809 #ifdef HAVE_IEEEFP_H
62810 #include <ieeefp.h>
62811 #endif
62812
62813 int
62814 main ()
62815 {
62816 finitef(0);
62817 ;
62818 return 0;
62819 }
62820 _ACEOF
62821 rm -f conftest.$ac_objext
62822 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62823 (eval $ac_compile) 2>conftest.er1
62824 ac_status=$?
62825 grep -v '^ *+' conftest.er1 >conftest.err
62826 rm -f conftest.er1
62827 cat conftest.err >&5
62828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62829 (exit $ac_status); } &&
62830 { ac_try='test -z "$ac_cxx_werror_flag"
62831 || test ! -s conftest.err'
62832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62833 (eval $ac_try) 2>&5
62834 ac_status=$?
62835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62836 (exit $ac_status); }; } &&
62837 { ac_try='test -s conftest.$ac_objext'
62838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62839 (eval $ac_try) 2>&5
62840 ac_status=$?
62841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62842 (exit $ac_status); }; }; then
62843 glibcxx_cv_func_finitef_use=yes
62844 else
62845 echo "$as_me: failed program was:" >&5
62846 sed 's/^/| /' conftest.$ac_ext >&5
62847
62848 glibcxx_cv_func_finitef_use=no
62849 fi
62850 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62851 ac_ext=c
62852 ac_cpp='$CPP $CPPFLAGS'
62853 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62854 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62855 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62856
62857
62858 fi
62859
62860 fi
62861 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitef_use" >&5
62862 echo "${ECHO_T}$glibcxx_cv_func_finitef_use" >&6
62863
62864 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
62865
62866 for ac_func in finitef
62867 do
62868 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62869 echo "$as_me:$LINENO: checking for $ac_func" >&5
62870 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62871 if eval "test \"\${$as_ac_var+set}\" = set"; then
62872 echo $ECHO_N "(cached) $ECHO_C" >&6
62873 else
62874 if test x$gcc_no_link = xyes; then
62875 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62876 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62877 { (exit 1); exit 1; }; }
62878 fi
62879 cat >conftest.$ac_ext <<_ACEOF
62880 /* confdefs.h. */
62881 _ACEOF
62882 cat confdefs.h >>conftest.$ac_ext
62883 cat >>conftest.$ac_ext <<_ACEOF
62884 /* end confdefs.h. */
62885 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62886 For example, HP-UX 11i <limits.h> declares gettimeofday. */
62887 #define $ac_func innocuous_$ac_func
62888
62889 /* System header to define __stub macros and hopefully few prototypes,
62890 which can conflict with char $ac_func (); below.
62891 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62892 <limits.h> exists even on freestanding compilers. */
62893
62894 #ifdef __STDC__
62895 # include <limits.h>
62896 #else
62897 # include <assert.h>
62898 #endif
62899
62900 #undef $ac_func
62901
62902 /* Override any gcc2 internal prototype to avoid an error. */
62903 #ifdef __cplusplus
62904 extern "C"
62905 {
62906 #endif
62907 /* We use char because int might match the return type of a gcc2
62908 builtin and then its argument prototype would still apply. */
62909 char $ac_func ();
62910 /* The GNU C library defines this for functions which it implements
62911 to always fail with ENOSYS. Some functions are actually named
62912 something starting with __ and the normal name is an alias. */
62913 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
62914 choke me
62915 #else
62916 char (*f) () = $ac_func;
62917 #endif
62918 #ifdef __cplusplus
62919 }
62920 #endif
62921
62922 int
62923 main ()
62924 {
62925 return f != $ac_func;
62926 ;
62927 return 0;
62928 }
62929 _ACEOF
62930 rm -f conftest.$ac_objext conftest$ac_exeext
62931 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62932 (eval $ac_link) 2>conftest.er1
62933 ac_status=$?
62934 grep -v '^ *+' conftest.er1 >conftest.err
62935 rm -f conftest.er1
62936 cat conftest.err >&5
62937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62938 (exit $ac_status); } &&
62939 { ac_try='test -z "$ac_c_werror_flag"
62940 || test ! -s conftest.err'
62941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62942 (eval $ac_try) 2>&5
62943 ac_status=$?
62944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62945 (exit $ac_status); }; } &&
62946 { ac_try='test -s conftest$ac_exeext'
62947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62948 (eval $ac_try) 2>&5
62949 ac_status=$?
62950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62951 (exit $ac_status); }; }; then
62952 eval "$as_ac_var=yes"
62953 else
62954 echo "$as_me: failed program was:" >&5
62955 sed 's/^/| /' conftest.$ac_ext >&5
62956
62957 eval "$as_ac_var=no"
62958 fi
62959 rm -f conftest.err conftest.$ac_objext \
62960 conftest$ac_exeext conftest.$ac_ext
62961 fi
62962 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
62963 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
62964 if test `eval echo '${'$as_ac_var'}'` = yes; then
62965 cat >>confdefs.h <<_ACEOF
62966 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62967 _ACEOF
62968
62969 fi
62970 done
62971
62972 else
62973
62974 echo "$as_me:$LINENO: checking for _finitef declaration" >&5
62975 echo $ECHO_N "checking for _finitef declaration... $ECHO_C" >&6
62976 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
62977 if test "${glibcxx_cv_func__finitef_use+set}" = set; then
62978 echo $ECHO_N "(cached) $ECHO_C" >&6
62979 else
62980
62981
62982
62983 ac_ext=cc
62984 ac_cpp='$CXXCPP $CPPFLAGS'
62985 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62986 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62987 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62988
62989 cat >conftest.$ac_ext <<_ACEOF
62990 /* confdefs.h. */
62991 _ACEOF
62992 cat confdefs.h >>conftest.$ac_ext
62993 cat >>conftest.$ac_ext <<_ACEOF
62994 /* end confdefs.h. */
62995 #include <math.h>
62996 #ifdef HAVE_IEEEFP_H
62997 #include <ieeefp.h>
62998 #endif
62999
63000 int
63001 main ()
63002 {
63003 _finitef(0);
63004 ;
63005 return 0;
63006 }
63007 _ACEOF
63008 rm -f conftest.$ac_objext
63009 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63010 (eval $ac_compile) 2>conftest.er1
63011 ac_status=$?
63012 grep -v '^ *+' conftest.er1 >conftest.err
63013 rm -f conftest.er1
63014 cat conftest.err >&5
63015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63016 (exit $ac_status); } &&
63017 { ac_try='test -z "$ac_cxx_werror_flag"
63018 || test ! -s conftest.err'
63019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63020 (eval $ac_try) 2>&5
63021 ac_status=$?
63022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63023 (exit $ac_status); }; } &&
63024 { ac_try='test -s conftest.$ac_objext'
63025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63026 (eval $ac_try) 2>&5
63027 ac_status=$?
63028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63029 (exit $ac_status); }; }; then
63030 glibcxx_cv_func__finitef_use=yes
63031 else
63032 echo "$as_me: failed program was:" >&5
63033 sed 's/^/| /' conftest.$ac_ext >&5
63034
63035 glibcxx_cv_func__finitef_use=no
63036 fi
63037 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63038 ac_ext=c
63039 ac_cpp='$CPP $CPPFLAGS'
63040 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63041 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63042 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63043
63044
63045 fi
63046
63047 fi
63048 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitef_use" >&5
63049 echo "${ECHO_T}$glibcxx_cv_func__finitef_use" >&6
63050
63051 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
63052
63053 for ac_func in _finitef
63054 do
63055 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63056 echo "$as_me:$LINENO: checking for $ac_func" >&5
63057 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63058 if eval "test \"\${$as_ac_var+set}\" = set"; then
63059 echo $ECHO_N "(cached) $ECHO_C" >&6
63060 else
63061 if test x$gcc_no_link = xyes; then
63062 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63063 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63064 { (exit 1); exit 1; }; }
63065 fi
63066 cat >conftest.$ac_ext <<_ACEOF
63067 /* confdefs.h. */
63068 _ACEOF
63069 cat confdefs.h >>conftest.$ac_ext
63070 cat >>conftest.$ac_ext <<_ACEOF
63071 /* end confdefs.h. */
63072 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63073 For example, HP-UX 11i <limits.h> declares gettimeofday. */
63074 #define $ac_func innocuous_$ac_func
63075
63076 /* System header to define __stub macros and hopefully few prototypes,
63077 which can conflict with char $ac_func (); below.
63078 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63079 <limits.h> exists even on freestanding compilers. */
63080
63081 #ifdef __STDC__
63082 # include <limits.h>
63083 #else
63084 # include <assert.h>
63085 #endif
63086
63087 #undef $ac_func
63088
63089 /* Override any gcc2 internal prototype to avoid an error. */
63090 #ifdef __cplusplus
63091 extern "C"
63092 {
63093 #endif
63094 /* We use char because int might match the return type of a gcc2
63095 builtin and then its argument prototype would still apply. */
63096 char $ac_func ();
63097 /* The GNU C library defines this for functions which it implements
63098 to always fail with ENOSYS. Some functions are actually named
63099 something starting with __ and the normal name is an alias. */
63100 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63101 choke me
63102 #else
63103 char (*f) () = $ac_func;
63104 #endif
63105 #ifdef __cplusplus
63106 }
63107 #endif
63108
63109 int
63110 main ()
63111 {
63112 return f != $ac_func;
63113 ;
63114 return 0;
63115 }
63116 _ACEOF
63117 rm -f conftest.$ac_objext conftest$ac_exeext
63118 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63119 (eval $ac_link) 2>conftest.er1
63120 ac_status=$?
63121 grep -v '^ *+' conftest.er1 >conftest.err
63122 rm -f conftest.er1
63123 cat conftest.err >&5
63124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63125 (exit $ac_status); } &&
63126 { ac_try='test -z "$ac_c_werror_flag"
63127 || test ! -s conftest.err'
63128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63129 (eval $ac_try) 2>&5
63130 ac_status=$?
63131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63132 (exit $ac_status); }; } &&
63133 { ac_try='test -s conftest$ac_exeext'
63134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63135 (eval $ac_try) 2>&5
63136 ac_status=$?
63137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63138 (exit $ac_status); }; }; then
63139 eval "$as_ac_var=yes"
63140 else
63141 echo "$as_me: failed program was:" >&5
63142 sed 's/^/| /' conftest.$ac_ext >&5
63143
63144 eval "$as_ac_var=no"
63145 fi
63146 rm -f conftest.err conftest.$ac_objext \
63147 conftest$ac_exeext conftest.$ac_ext
63148 fi
63149 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63150 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63151 if test `eval echo '${'$as_ac_var'}'` = yes; then
63152 cat >>confdefs.h <<_ACEOF
63153 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63154 _ACEOF
63155
63156 fi
63157 done
63158
63159 fi
63160 fi
63161
63162
63163
63164
63165
63166
63167 echo "$as_me:$LINENO: checking for long double trig functions" >&5
63168 echo $ECHO_N "checking for long double trig functions... $ECHO_C" >&6
63169 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then
63170 echo $ECHO_N "(cached) $ECHO_C" >&6
63171 else
63172
63173
63174
63175 ac_ext=cc
63176 ac_cpp='$CXXCPP $CPPFLAGS'
63177 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63178 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63179 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63180
63181 cat >conftest.$ac_ext <<_ACEOF
63182 /* confdefs.h. */
63183 _ACEOF
63184 cat confdefs.h >>conftest.$ac_ext
63185 cat >>conftest.$ac_ext <<_ACEOF
63186 /* end confdefs.h. */
63187 #include <math.h>
63188 int
63189 main ()
63190 {
63191 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
63192 ;
63193 return 0;
63194 }
63195 _ACEOF
63196 rm -f conftest.$ac_objext
63197 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63198 (eval $ac_compile) 2>conftest.er1
63199 ac_status=$?
63200 grep -v '^ *+' conftest.er1 >conftest.err
63201 rm -f conftest.er1
63202 cat conftest.err >&5
63203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63204 (exit $ac_status); } &&
63205 { ac_try='test -z "$ac_cxx_werror_flag"
63206 || test ! -s conftest.err'
63207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63208 (eval $ac_try) 2>&5
63209 ac_status=$?
63210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63211 (exit $ac_status); }; } &&
63212 { ac_try='test -s conftest.$ac_objext'
63213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63214 (eval $ac_try) 2>&5
63215 ac_status=$?
63216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63217 (exit $ac_status); }; }; then
63218 glibcxx_cv_func_long_double_trig_use=yes
63219 else
63220 echo "$as_me: failed program was:" >&5
63221 sed 's/^/| /' conftest.$ac_ext >&5
63222
63223 glibcxx_cv_func_long_double_trig_use=no
63224 fi
63225 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63226 ac_ext=c
63227 ac_cpp='$CPP $CPPFLAGS'
63228 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63229 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63230 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63231
63232 fi
63233
63234 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_trig_use" >&5
63235 echo "${ECHO_T}$glibcxx_cv_func_long_double_trig_use" >&6
63236 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
63237
63238
63239
63240
63241
63242
63243
63244
63245
63246 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
63247 do
63248 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63249 echo "$as_me:$LINENO: checking for $ac_func" >&5
63250 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63251 if eval "test \"\${$as_ac_var+set}\" = set"; then
63252 echo $ECHO_N "(cached) $ECHO_C" >&6
63253 else
63254 if test x$gcc_no_link = xyes; then
63255 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63256 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63257 { (exit 1); exit 1; }; }
63258 fi
63259 cat >conftest.$ac_ext <<_ACEOF
63260 /* confdefs.h. */
63261 _ACEOF
63262 cat confdefs.h >>conftest.$ac_ext
63263 cat >>conftest.$ac_ext <<_ACEOF
63264 /* end confdefs.h. */
63265 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63266 For example, HP-UX 11i <limits.h> declares gettimeofday. */
63267 #define $ac_func innocuous_$ac_func
63268
63269 /* System header to define __stub macros and hopefully few prototypes,
63270 which can conflict with char $ac_func (); below.
63271 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63272 <limits.h> exists even on freestanding compilers. */
63273
63274 #ifdef __STDC__
63275 # include <limits.h>
63276 #else
63277 # include <assert.h>
63278 #endif
63279
63280 #undef $ac_func
63281
63282 /* Override any gcc2 internal prototype to avoid an error. */
63283 #ifdef __cplusplus
63284 extern "C"
63285 {
63286 #endif
63287 /* We use char because int might match the return type of a gcc2
63288 builtin and then its argument prototype would still apply. */
63289 char $ac_func ();
63290 /* The GNU C library defines this for functions which it implements
63291 to always fail with ENOSYS. Some functions are actually named
63292 something starting with __ and the normal name is an alias. */
63293 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63294 choke me
63295 #else
63296 char (*f) () = $ac_func;
63297 #endif
63298 #ifdef __cplusplus
63299 }
63300 #endif
63301
63302 int
63303 main ()
63304 {
63305 return f != $ac_func;
63306 ;
63307 return 0;
63308 }
63309 _ACEOF
63310 rm -f conftest.$ac_objext conftest$ac_exeext
63311 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63312 (eval $ac_link) 2>conftest.er1
63313 ac_status=$?
63314 grep -v '^ *+' conftest.er1 >conftest.err
63315 rm -f conftest.er1
63316 cat conftest.err >&5
63317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63318 (exit $ac_status); } &&
63319 { ac_try='test -z "$ac_c_werror_flag"
63320 || test ! -s conftest.err'
63321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63322 (eval $ac_try) 2>&5
63323 ac_status=$?
63324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63325 (exit $ac_status); }; } &&
63326 { ac_try='test -s conftest$ac_exeext'
63327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63328 (eval $ac_try) 2>&5
63329 ac_status=$?
63330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63331 (exit $ac_status); }; }; then
63332 eval "$as_ac_var=yes"
63333 else
63334 echo "$as_me: failed program was:" >&5
63335 sed 's/^/| /' conftest.$ac_ext >&5
63336
63337 eval "$as_ac_var=no"
63338 fi
63339 rm -f conftest.err conftest.$ac_objext \
63340 conftest$ac_exeext conftest.$ac_ext
63341 fi
63342 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63343 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63344 if test `eval echo '${'$as_ac_var'}'` = yes; then
63345 cat >>confdefs.h <<_ACEOF
63346 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63347 _ACEOF
63348
63349 fi
63350 done
63351
63352 else
63353 echo "$as_me:$LINENO: checking for _long double trig functions" >&5
63354 echo $ECHO_N "checking for _long double trig functions... $ECHO_C" >&6
63355 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then
63356 echo $ECHO_N "(cached) $ECHO_C" >&6
63357 else
63358
63359
63360
63361 ac_ext=cc
63362 ac_cpp='$CXXCPP $CPPFLAGS'
63363 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63364 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63365 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63366
63367 cat >conftest.$ac_ext <<_ACEOF
63368 /* confdefs.h. */
63369 _ACEOF
63370 cat confdefs.h >>conftest.$ac_ext
63371 cat >>conftest.$ac_ext <<_ACEOF
63372 /* end confdefs.h. */
63373 #include <math.h>
63374 int
63375 main ()
63376 {
63377 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
63378 ;
63379 return 0;
63380 }
63381 _ACEOF
63382 rm -f conftest.$ac_objext
63383 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63384 (eval $ac_compile) 2>conftest.er1
63385 ac_status=$?
63386 grep -v '^ *+' conftest.er1 >conftest.err
63387 rm -f conftest.er1
63388 cat conftest.err >&5
63389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63390 (exit $ac_status); } &&
63391 { ac_try='test -z "$ac_cxx_werror_flag"
63392 || test ! -s conftest.err'
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); }; } &&
63398 { ac_try='test -s conftest.$ac_objext'
63399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63400 (eval $ac_try) 2>&5
63401 ac_status=$?
63402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63403 (exit $ac_status); }; }; then
63404 glibcxx_cv_func__long_double_trig_use=yes
63405 else
63406 echo "$as_me: failed program was:" >&5
63407 sed 's/^/| /' conftest.$ac_ext >&5
63408
63409 glibcxx_cv_func__long_double_trig_use=no
63410 fi
63411 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63412 ac_ext=c
63413 ac_cpp='$CPP $CPPFLAGS'
63414 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63415 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63416 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63417
63418 fi
63419
63420 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_trig_use" >&5
63421 echo "${ECHO_T}$glibcxx_cv_func__long_double_trig_use" >&6
63422 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
63423
63424
63425
63426
63427
63428
63429
63430
63431
63432 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
63433 do
63434 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63435 echo "$as_me:$LINENO: checking for $ac_func" >&5
63436 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63437 if eval "test \"\${$as_ac_var+set}\" = set"; then
63438 echo $ECHO_N "(cached) $ECHO_C" >&6
63439 else
63440 if test x$gcc_no_link = xyes; then
63441 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63442 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63443 { (exit 1); exit 1; }; }
63444 fi
63445 cat >conftest.$ac_ext <<_ACEOF
63446 /* confdefs.h. */
63447 _ACEOF
63448 cat confdefs.h >>conftest.$ac_ext
63449 cat >>conftest.$ac_ext <<_ACEOF
63450 /* end confdefs.h. */
63451 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63452 For example, HP-UX 11i <limits.h> declares gettimeofday. */
63453 #define $ac_func innocuous_$ac_func
63454
63455 /* System header to define __stub macros and hopefully few prototypes,
63456 which can conflict with char $ac_func (); below.
63457 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63458 <limits.h> exists even on freestanding compilers. */
63459
63460 #ifdef __STDC__
63461 # include <limits.h>
63462 #else
63463 # include <assert.h>
63464 #endif
63465
63466 #undef $ac_func
63467
63468 /* Override any gcc2 internal prototype to avoid an error. */
63469 #ifdef __cplusplus
63470 extern "C"
63471 {
63472 #endif
63473 /* We use char because int might match the return type of a gcc2
63474 builtin and then its argument prototype would still apply. */
63475 char $ac_func ();
63476 /* The GNU C library defines this for functions which it implements
63477 to always fail with ENOSYS. Some functions are actually named
63478 something starting with __ and the normal name is an alias. */
63479 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63480 choke me
63481 #else
63482 char (*f) () = $ac_func;
63483 #endif
63484 #ifdef __cplusplus
63485 }
63486 #endif
63487
63488 int
63489 main ()
63490 {
63491 return f != $ac_func;
63492 ;
63493 return 0;
63494 }
63495 _ACEOF
63496 rm -f conftest.$ac_objext conftest$ac_exeext
63497 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63498 (eval $ac_link) 2>conftest.er1
63499 ac_status=$?
63500 grep -v '^ *+' conftest.er1 >conftest.err
63501 rm -f conftest.er1
63502 cat conftest.err >&5
63503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63504 (exit $ac_status); } &&
63505 { ac_try='test -z "$ac_c_werror_flag"
63506 || test ! -s conftest.err'
63507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63508 (eval $ac_try) 2>&5
63509 ac_status=$?
63510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63511 (exit $ac_status); }; } &&
63512 { ac_try='test -s conftest$ac_exeext'
63513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63514 (eval $ac_try) 2>&5
63515 ac_status=$?
63516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63517 (exit $ac_status); }; }; then
63518 eval "$as_ac_var=yes"
63519 else
63520 echo "$as_me: failed program was:" >&5
63521 sed 's/^/| /' conftest.$ac_ext >&5
63522
63523 eval "$as_ac_var=no"
63524 fi
63525 rm -f conftest.err conftest.$ac_objext \
63526 conftest$ac_exeext conftest.$ac_ext
63527 fi
63528 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63529 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63530 if test `eval echo '${'$as_ac_var'}'` = yes; then
63531 cat >>confdefs.h <<_ACEOF
63532 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63533 _ACEOF
63534
63535 fi
63536 done
63537
63538 fi
63539 fi
63540
63541
63542
63543
63544
63545
63546
63547
63548
63549
63550
63551
63552
63553
63554 echo "$as_me:$LINENO: checking for long double round functions" >&5
63555 echo $ECHO_N "checking for long double round functions... $ECHO_C" >&6
63556 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then
63557 echo $ECHO_N "(cached) $ECHO_C" >&6
63558 else
63559
63560
63561
63562 ac_ext=cc
63563 ac_cpp='$CXXCPP $CPPFLAGS'
63564 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63565 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63566 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63567
63568 cat >conftest.$ac_ext <<_ACEOF
63569 /* confdefs.h. */
63570 _ACEOF
63571 cat confdefs.h >>conftest.$ac_ext
63572 cat >>conftest.$ac_ext <<_ACEOF
63573 /* end confdefs.h. */
63574 #include <math.h>
63575 int
63576 main ()
63577 {
63578 ceill (0); floorl (0);
63579 ;
63580 return 0;
63581 }
63582 _ACEOF
63583 rm -f conftest.$ac_objext
63584 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63585 (eval $ac_compile) 2>conftest.er1
63586 ac_status=$?
63587 grep -v '^ *+' conftest.er1 >conftest.err
63588 rm -f conftest.er1
63589 cat conftest.err >&5
63590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63591 (exit $ac_status); } &&
63592 { ac_try='test -z "$ac_cxx_werror_flag"
63593 || test ! -s conftest.err'
63594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63595 (eval $ac_try) 2>&5
63596 ac_status=$?
63597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63598 (exit $ac_status); }; } &&
63599 { ac_try='test -s conftest.$ac_objext'
63600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63601 (eval $ac_try) 2>&5
63602 ac_status=$?
63603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63604 (exit $ac_status); }; }; then
63605 glibcxx_cv_func_long_double_round_use=yes
63606 else
63607 echo "$as_me: failed program was:" >&5
63608 sed 's/^/| /' conftest.$ac_ext >&5
63609
63610 glibcxx_cv_func_long_double_round_use=no
63611 fi
63612 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63613 ac_ext=c
63614 ac_cpp='$CPP $CPPFLAGS'
63615 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63616 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63617 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63618
63619 fi
63620
63621 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_round_use" >&5
63622 echo "${ECHO_T}$glibcxx_cv_func_long_double_round_use" >&6
63623 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
63624
63625
63626 for ac_func in ceill floorl
63627 do
63628 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63629 echo "$as_me:$LINENO: checking for $ac_func" >&5
63630 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63631 if eval "test \"\${$as_ac_var+set}\" = set"; then
63632 echo $ECHO_N "(cached) $ECHO_C" >&6
63633 else
63634 if test x$gcc_no_link = xyes; then
63635 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63636 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63637 { (exit 1); exit 1; }; }
63638 fi
63639 cat >conftest.$ac_ext <<_ACEOF
63640 /* confdefs.h. */
63641 _ACEOF
63642 cat confdefs.h >>conftest.$ac_ext
63643 cat >>conftest.$ac_ext <<_ACEOF
63644 /* end confdefs.h. */
63645 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63646 For example, HP-UX 11i <limits.h> declares gettimeofday. */
63647 #define $ac_func innocuous_$ac_func
63648
63649 /* System header to define __stub macros and hopefully few prototypes,
63650 which can conflict with char $ac_func (); below.
63651 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63652 <limits.h> exists even on freestanding compilers. */
63653
63654 #ifdef __STDC__
63655 # include <limits.h>
63656 #else
63657 # include <assert.h>
63658 #endif
63659
63660 #undef $ac_func
63661
63662 /* Override any gcc2 internal prototype to avoid an error. */
63663 #ifdef __cplusplus
63664 extern "C"
63665 {
63666 #endif
63667 /* We use char because int might match the return type of a gcc2
63668 builtin and then its argument prototype would still apply. */
63669 char $ac_func ();
63670 /* The GNU C library defines this for functions which it implements
63671 to always fail with ENOSYS. Some functions are actually named
63672 something starting with __ and the normal name is an alias. */
63673 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63674 choke me
63675 #else
63676 char (*f) () = $ac_func;
63677 #endif
63678 #ifdef __cplusplus
63679 }
63680 #endif
63681
63682 int
63683 main ()
63684 {
63685 return f != $ac_func;
63686 ;
63687 return 0;
63688 }
63689 _ACEOF
63690 rm -f conftest.$ac_objext conftest$ac_exeext
63691 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63692 (eval $ac_link) 2>conftest.er1
63693 ac_status=$?
63694 grep -v '^ *+' conftest.er1 >conftest.err
63695 rm -f conftest.er1
63696 cat conftest.err >&5
63697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63698 (exit $ac_status); } &&
63699 { ac_try='test -z "$ac_c_werror_flag"
63700 || test ! -s conftest.err'
63701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63702 (eval $ac_try) 2>&5
63703 ac_status=$?
63704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63705 (exit $ac_status); }; } &&
63706 { ac_try='test -s conftest$ac_exeext'
63707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63708 (eval $ac_try) 2>&5
63709 ac_status=$?
63710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63711 (exit $ac_status); }; }; then
63712 eval "$as_ac_var=yes"
63713 else
63714 echo "$as_me: failed program was:" >&5
63715 sed 's/^/| /' conftest.$ac_ext >&5
63716
63717 eval "$as_ac_var=no"
63718 fi
63719 rm -f conftest.err conftest.$ac_objext \
63720 conftest$ac_exeext conftest.$ac_ext
63721 fi
63722 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63723 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63724 if test `eval echo '${'$as_ac_var'}'` = yes; then
63725 cat >>confdefs.h <<_ACEOF
63726 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63727 _ACEOF
63728
63729 fi
63730 done
63731
63732 else
63733 echo "$as_me:$LINENO: checking for _long double round functions" >&5
63734 echo $ECHO_N "checking for _long double round functions... $ECHO_C" >&6
63735 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then
63736 echo $ECHO_N "(cached) $ECHO_C" >&6
63737 else
63738
63739
63740
63741 ac_ext=cc
63742 ac_cpp='$CXXCPP $CPPFLAGS'
63743 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63744 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63745 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63746
63747 cat >conftest.$ac_ext <<_ACEOF
63748 /* confdefs.h. */
63749 _ACEOF
63750 cat confdefs.h >>conftest.$ac_ext
63751 cat >>conftest.$ac_ext <<_ACEOF
63752 /* end confdefs.h. */
63753 #include <math.h>
63754 int
63755 main ()
63756 {
63757 _ceill (0); _floorl (0);
63758 ;
63759 return 0;
63760 }
63761 _ACEOF
63762 rm -f conftest.$ac_objext
63763 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63764 (eval $ac_compile) 2>conftest.er1
63765 ac_status=$?
63766 grep -v '^ *+' conftest.er1 >conftest.err
63767 rm -f conftest.er1
63768 cat conftest.err >&5
63769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63770 (exit $ac_status); } &&
63771 { ac_try='test -z "$ac_cxx_werror_flag"
63772 || test ! -s conftest.err'
63773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63774 (eval $ac_try) 2>&5
63775 ac_status=$?
63776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63777 (exit $ac_status); }; } &&
63778 { ac_try='test -s conftest.$ac_objext'
63779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63780 (eval $ac_try) 2>&5
63781 ac_status=$?
63782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63783 (exit $ac_status); }; }; then
63784 glibcxx_cv_func__long_double_round_use=yes
63785 else
63786 echo "$as_me: failed program was:" >&5
63787 sed 's/^/| /' conftest.$ac_ext >&5
63788
63789 glibcxx_cv_func__long_double_round_use=no
63790 fi
63791 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63792 ac_ext=c
63793 ac_cpp='$CPP $CPPFLAGS'
63794 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63795 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63796 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63797
63798 fi
63799
63800 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_round_use" >&5
63801 echo "${ECHO_T}$glibcxx_cv_func__long_double_round_use" >&6
63802 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
63803
63804
63805 for ac_func in _ceill _floorl
63806 do
63807 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63808 echo "$as_me:$LINENO: checking for $ac_func" >&5
63809 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63810 if eval "test \"\${$as_ac_var+set}\" = set"; then
63811 echo $ECHO_N "(cached) $ECHO_C" >&6
63812 else
63813 if test x$gcc_no_link = xyes; then
63814 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63815 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63816 { (exit 1); exit 1; }; }
63817 fi
63818 cat >conftest.$ac_ext <<_ACEOF
63819 /* confdefs.h. */
63820 _ACEOF
63821 cat confdefs.h >>conftest.$ac_ext
63822 cat >>conftest.$ac_ext <<_ACEOF
63823 /* end confdefs.h. */
63824 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63825 For example, HP-UX 11i <limits.h> declares gettimeofday. */
63826 #define $ac_func innocuous_$ac_func
63827
63828 /* System header to define __stub macros and hopefully few prototypes,
63829 which can conflict with char $ac_func (); below.
63830 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63831 <limits.h> exists even on freestanding compilers. */
63832
63833 #ifdef __STDC__
63834 # include <limits.h>
63835 #else
63836 # include <assert.h>
63837 #endif
63838
63839 #undef $ac_func
63840
63841 /* Override any gcc2 internal prototype to avoid an error. */
63842 #ifdef __cplusplus
63843 extern "C"
63844 {
63845 #endif
63846 /* We use char because int might match the return type of a gcc2
63847 builtin and then its argument prototype would still apply. */
63848 char $ac_func ();
63849 /* The GNU C library defines this for functions which it implements
63850 to always fail with ENOSYS. Some functions are actually named
63851 something starting with __ and the normal name is an alias. */
63852 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63853 choke me
63854 #else
63855 char (*f) () = $ac_func;
63856 #endif
63857 #ifdef __cplusplus
63858 }
63859 #endif
63860
63861 int
63862 main ()
63863 {
63864 return f != $ac_func;
63865 ;
63866 return 0;
63867 }
63868 _ACEOF
63869 rm -f conftest.$ac_objext conftest$ac_exeext
63870 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63871 (eval $ac_link) 2>conftest.er1
63872 ac_status=$?
63873 grep -v '^ *+' conftest.er1 >conftest.err
63874 rm -f conftest.er1
63875 cat conftest.err >&5
63876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63877 (exit $ac_status); } &&
63878 { ac_try='test -z "$ac_c_werror_flag"
63879 || test ! -s conftest.err'
63880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63881 (eval $ac_try) 2>&5
63882 ac_status=$?
63883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63884 (exit $ac_status); }; } &&
63885 { ac_try='test -s conftest$ac_exeext'
63886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63887 (eval $ac_try) 2>&5
63888 ac_status=$?
63889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63890 (exit $ac_status); }; }; then
63891 eval "$as_ac_var=yes"
63892 else
63893 echo "$as_me: failed program was:" >&5
63894 sed 's/^/| /' conftest.$ac_ext >&5
63895
63896 eval "$as_ac_var=no"
63897 fi
63898 rm -f conftest.err conftest.$ac_objext \
63899 conftest$ac_exeext conftest.$ac_ext
63900 fi
63901 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63902 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63903 if test `eval echo '${'$as_ac_var'}'` = yes; then
63904 cat >>confdefs.h <<_ACEOF
63905 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63906 _ACEOF
63907
63908 fi
63909 done
63910
63911 fi
63912 fi
63913
63914
63915
63916
63917
63918
63919
63920
63921 echo "$as_me:$LINENO: checking for isnanl declaration" >&5
63922 echo $ECHO_N "checking for isnanl declaration... $ECHO_C" >&6
63923 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
63924 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then
63925 echo $ECHO_N "(cached) $ECHO_C" >&6
63926 else
63927
63928
63929
63930 ac_ext=cc
63931 ac_cpp='$CXXCPP $CPPFLAGS'
63932 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63933 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63934 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63935
63936 cat >conftest.$ac_ext <<_ACEOF
63937 /* confdefs.h. */
63938 _ACEOF
63939 cat confdefs.h >>conftest.$ac_ext
63940 cat >>conftest.$ac_ext <<_ACEOF
63941 /* end confdefs.h. */
63942 #include <math.h>
63943 #ifdef HAVE_IEEEFP_H
63944 #include <ieeefp.h>
63945 #endif
63946
63947 int
63948 main ()
63949 {
63950 isnanl(0);
63951 ;
63952 return 0;
63953 }
63954 _ACEOF
63955 rm -f conftest.$ac_objext
63956 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63957 (eval $ac_compile) 2>conftest.er1
63958 ac_status=$?
63959 grep -v '^ *+' conftest.er1 >conftest.err
63960 rm -f conftest.er1
63961 cat conftest.err >&5
63962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63963 (exit $ac_status); } &&
63964 { ac_try='test -z "$ac_cxx_werror_flag"
63965 || test ! -s conftest.err'
63966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63967 (eval $ac_try) 2>&5
63968 ac_status=$?
63969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63970 (exit $ac_status); }; } &&
63971 { ac_try='test -s conftest.$ac_objext'
63972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63973 (eval $ac_try) 2>&5
63974 ac_status=$?
63975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63976 (exit $ac_status); }; }; then
63977 glibcxx_cv_func_isnanl_use=yes
63978 else
63979 echo "$as_me: failed program was:" >&5
63980 sed 's/^/| /' conftest.$ac_ext >&5
63981
63982 glibcxx_cv_func_isnanl_use=no
63983 fi
63984 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63985 ac_ext=c
63986 ac_cpp='$CPP $CPPFLAGS'
63987 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63988 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63989 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63990
63991
63992 fi
63993
63994 fi
63995 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanl_use" >&5
63996 echo "${ECHO_T}$glibcxx_cv_func_isnanl_use" >&6
63997
63998 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
63999
64000 for ac_func in isnanl
64001 do
64002 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64003 echo "$as_me:$LINENO: checking for $ac_func" >&5
64004 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64005 if eval "test \"\${$as_ac_var+set}\" = set"; then
64006 echo $ECHO_N "(cached) $ECHO_C" >&6
64007 else
64008 if test x$gcc_no_link = xyes; then
64009 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64010 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64011 { (exit 1); exit 1; }; }
64012 fi
64013 cat >conftest.$ac_ext <<_ACEOF
64014 /* confdefs.h. */
64015 _ACEOF
64016 cat confdefs.h >>conftest.$ac_ext
64017 cat >>conftest.$ac_ext <<_ACEOF
64018 /* end confdefs.h. */
64019 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64020 For example, HP-UX 11i <limits.h> declares gettimeofday. */
64021 #define $ac_func innocuous_$ac_func
64022
64023 /* System header to define __stub macros and hopefully few prototypes,
64024 which can conflict with char $ac_func (); below.
64025 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64026 <limits.h> exists even on freestanding compilers. */
64027
64028 #ifdef __STDC__
64029 # include <limits.h>
64030 #else
64031 # include <assert.h>
64032 #endif
64033
64034 #undef $ac_func
64035
64036 /* Override any gcc2 internal prototype to avoid an error. */
64037 #ifdef __cplusplus
64038 extern "C"
64039 {
64040 #endif
64041 /* We use char because int might match the return type of a gcc2
64042 builtin and then its argument prototype would still apply. */
64043 char $ac_func ();
64044 /* The GNU C library defines this for functions which it implements
64045 to always fail with ENOSYS. Some functions are actually named
64046 something starting with __ and the normal name is an alias. */
64047 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64048 choke me
64049 #else
64050 char (*f) () = $ac_func;
64051 #endif
64052 #ifdef __cplusplus
64053 }
64054 #endif
64055
64056 int
64057 main ()
64058 {
64059 return f != $ac_func;
64060 ;
64061 return 0;
64062 }
64063 _ACEOF
64064 rm -f conftest.$ac_objext conftest$ac_exeext
64065 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64066 (eval $ac_link) 2>conftest.er1
64067 ac_status=$?
64068 grep -v '^ *+' conftest.er1 >conftest.err
64069 rm -f conftest.er1
64070 cat conftest.err >&5
64071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64072 (exit $ac_status); } &&
64073 { ac_try='test -z "$ac_c_werror_flag"
64074 || test ! -s conftest.err'
64075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64076 (eval $ac_try) 2>&5
64077 ac_status=$?
64078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64079 (exit $ac_status); }; } &&
64080 { ac_try='test -s conftest$ac_exeext'
64081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64082 (eval $ac_try) 2>&5
64083 ac_status=$?
64084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64085 (exit $ac_status); }; }; then
64086 eval "$as_ac_var=yes"
64087 else
64088 echo "$as_me: failed program was:" >&5
64089 sed 's/^/| /' conftest.$ac_ext >&5
64090
64091 eval "$as_ac_var=no"
64092 fi
64093 rm -f conftest.err conftest.$ac_objext \
64094 conftest$ac_exeext conftest.$ac_ext
64095 fi
64096 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64097 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64098 if test `eval echo '${'$as_ac_var'}'` = yes; then
64099 cat >>confdefs.h <<_ACEOF
64100 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64101 _ACEOF
64102
64103 fi
64104 done
64105
64106 else
64107
64108 echo "$as_me:$LINENO: checking for _isnanl declaration" >&5
64109 echo $ECHO_N "checking for _isnanl declaration... $ECHO_C" >&6
64110 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
64111 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then
64112 echo $ECHO_N "(cached) $ECHO_C" >&6
64113 else
64114
64115
64116
64117 ac_ext=cc
64118 ac_cpp='$CXXCPP $CPPFLAGS'
64119 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64120 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64121 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64122
64123 cat >conftest.$ac_ext <<_ACEOF
64124 /* confdefs.h. */
64125 _ACEOF
64126 cat confdefs.h >>conftest.$ac_ext
64127 cat >>conftest.$ac_ext <<_ACEOF
64128 /* end confdefs.h. */
64129 #include <math.h>
64130 #ifdef HAVE_IEEEFP_H
64131 #include <ieeefp.h>
64132 #endif
64133
64134 int
64135 main ()
64136 {
64137 _isnanl(0);
64138 ;
64139 return 0;
64140 }
64141 _ACEOF
64142 rm -f conftest.$ac_objext
64143 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64144 (eval $ac_compile) 2>conftest.er1
64145 ac_status=$?
64146 grep -v '^ *+' conftest.er1 >conftest.err
64147 rm -f conftest.er1
64148 cat conftest.err >&5
64149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64150 (exit $ac_status); } &&
64151 { ac_try='test -z "$ac_cxx_werror_flag"
64152 || test ! -s conftest.err'
64153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64154 (eval $ac_try) 2>&5
64155 ac_status=$?
64156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64157 (exit $ac_status); }; } &&
64158 { ac_try='test -s conftest.$ac_objext'
64159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64160 (eval $ac_try) 2>&5
64161 ac_status=$?
64162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64163 (exit $ac_status); }; }; then
64164 glibcxx_cv_func__isnanl_use=yes
64165 else
64166 echo "$as_me: failed program was:" >&5
64167 sed 's/^/| /' conftest.$ac_ext >&5
64168
64169 glibcxx_cv_func__isnanl_use=no
64170 fi
64171 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64172 ac_ext=c
64173 ac_cpp='$CPP $CPPFLAGS'
64174 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64175 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64176 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64177
64178
64179 fi
64180
64181 fi
64182 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanl_use" >&5
64183 echo "${ECHO_T}$glibcxx_cv_func__isnanl_use" >&6
64184
64185 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
64186
64187 for ac_func in _isnanl
64188 do
64189 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64190 echo "$as_me:$LINENO: checking for $ac_func" >&5
64191 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64192 if eval "test \"\${$as_ac_var+set}\" = set"; then
64193 echo $ECHO_N "(cached) $ECHO_C" >&6
64194 else
64195 if test x$gcc_no_link = xyes; then
64196 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64197 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64198 { (exit 1); exit 1; }; }
64199 fi
64200 cat >conftest.$ac_ext <<_ACEOF
64201 /* confdefs.h. */
64202 _ACEOF
64203 cat confdefs.h >>conftest.$ac_ext
64204 cat >>conftest.$ac_ext <<_ACEOF
64205 /* end confdefs.h. */
64206 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64207 For example, HP-UX 11i <limits.h> declares gettimeofday. */
64208 #define $ac_func innocuous_$ac_func
64209
64210 /* System header to define __stub macros and hopefully few prototypes,
64211 which can conflict with char $ac_func (); below.
64212 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64213 <limits.h> exists even on freestanding compilers. */
64214
64215 #ifdef __STDC__
64216 # include <limits.h>
64217 #else
64218 # include <assert.h>
64219 #endif
64220
64221 #undef $ac_func
64222
64223 /* Override any gcc2 internal prototype to avoid an error. */
64224 #ifdef __cplusplus
64225 extern "C"
64226 {
64227 #endif
64228 /* We use char because int might match the return type of a gcc2
64229 builtin and then its argument prototype would still apply. */
64230 char $ac_func ();
64231 /* The GNU C library defines this for functions which it implements
64232 to always fail with ENOSYS. Some functions are actually named
64233 something starting with __ and the normal name is an alias. */
64234 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64235 choke me
64236 #else
64237 char (*f) () = $ac_func;
64238 #endif
64239 #ifdef __cplusplus
64240 }
64241 #endif
64242
64243 int
64244 main ()
64245 {
64246 return f != $ac_func;
64247 ;
64248 return 0;
64249 }
64250 _ACEOF
64251 rm -f conftest.$ac_objext conftest$ac_exeext
64252 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64253 (eval $ac_link) 2>conftest.er1
64254 ac_status=$?
64255 grep -v '^ *+' conftest.er1 >conftest.err
64256 rm -f conftest.er1
64257 cat conftest.err >&5
64258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64259 (exit $ac_status); } &&
64260 { ac_try='test -z "$ac_c_werror_flag"
64261 || test ! -s conftest.err'
64262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64263 (eval $ac_try) 2>&5
64264 ac_status=$?
64265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64266 (exit $ac_status); }; } &&
64267 { ac_try='test -s conftest$ac_exeext'
64268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64269 (eval $ac_try) 2>&5
64270 ac_status=$?
64271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64272 (exit $ac_status); }; }; then
64273 eval "$as_ac_var=yes"
64274 else
64275 echo "$as_me: failed program was:" >&5
64276 sed 's/^/| /' conftest.$ac_ext >&5
64277
64278 eval "$as_ac_var=no"
64279 fi
64280 rm -f conftest.err conftest.$ac_objext \
64281 conftest$ac_exeext conftest.$ac_ext
64282 fi
64283 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64284 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64285 if test `eval echo '${'$as_ac_var'}'` = yes; then
64286 cat >>confdefs.h <<_ACEOF
64287 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64288 _ACEOF
64289
64290 fi
64291 done
64292
64293 fi
64294 fi
64295
64296
64297
64298
64299
64300
64301 echo "$as_me:$LINENO: checking for isinfl declaration" >&5
64302 echo $ECHO_N "checking for isinfl declaration... $ECHO_C" >&6
64303 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
64304 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then
64305 echo $ECHO_N "(cached) $ECHO_C" >&6
64306 else
64307
64308
64309
64310 ac_ext=cc
64311 ac_cpp='$CXXCPP $CPPFLAGS'
64312 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64313 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64314 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64315
64316 cat >conftest.$ac_ext <<_ACEOF
64317 /* confdefs.h. */
64318 _ACEOF
64319 cat confdefs.h >>conftest.$ac_ext
64320 cat >>conftest.$ac_ext <<_ACEOF
64321 /* end confdefs.h. */
64322 #include <math.h>
64323 #ifdef HAVE_IEEEFP_H
64324 #include <ieeefp.h>
64325 #endif
64326
64327 int
64328 main ()
64329 {
64330 isinfl(0);
64331 ;
64332 return 0;
64333 }
64334 _ACEOF
64335 rm -f conftest.$ac_objext
64336 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64337 (eval $ac_compile) 2>conftest.er1
64338 ac_status=$?
64339 grep -v '^ *+' conftest.er1 >conftest.err
64340 rm -f conftest.er1
64341 cat conftest.err >&5
64342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64343 (exit $ac_status); } &&
64344 { ac_try='test -z "$ac_cxx_werror_flag"
64345 || test ! -s conftest.err'
64346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64347 (eval $ac_try) 2>&5
64348 ac_status=$?
64349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64350 (exit $ac_status); }; } &&
64351 { ac_try='test -s conftest.$ac_objext'
64352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64353 (eval $ac_try) 2>&5
64354 ac_status=$?
64355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64356 (exit $ac_status); }; }; then
64357 glibcxx_cv_func_isinfl_use=yes
64358 else
64359 echo "$as_me: failed program was:" >&5
64360 sed 's/^/| /' conftest.$ac_ext >&5
64361
64362 glibcxx_cv_func_isinfl_use=no
64363 fi
64364 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64365 ac_ext=c
64366 ac_cpp='$CPP $CPPFLAGS'
64367 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64368 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64369 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64370
64371
64372 fi
64373
64374 fi
64375 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinfl_use" >&5
64376 echo "${ECHO_T}$glibcxx_cv_func_isinfl_use" >&6
64377
64378 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
64379
64380 for ac_func in isinfl
64381 do
64382 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64383 echo "$as_me:$LINENO: checking for $ac_func" >&5
64384 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64385 if eval "test \"\${$as_ac_var+set}\" = set"; then
64386 echo $ECHO_N "(cached) $ECHO_C" >&6
64387 else
64388 if test x$gcc_no_link = xyes; then
64389 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64390 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64391 { (exit 1); exit 1; }; }
64392 fi
64393 cat >conftest.$ac_ext <<_ACEOF
64394 /* confdefs.h. */
64395 _ACEOF
64396 cat confdefs.h >>conftest.$ac_ext
64397 cat >>conftest.$ac_ext <<_ACEOF
64398 /* end confdefs.h. */
64399 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64400 For example, HP-UX 11i <limits.h> declares gettimeofday. */
64401 #define $ac_func innocuous_$ac_func
64402
64403 /* System header to define __stub macros and hopefully few prototypes,
64404 which can conflict with char $ac_func (); below.
64405 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64406 <limits.h> exists even on freestanding compilers. */
64407
64408 #ifdef __STDC__
64409 # include <limits.h>
64410 #else
64411 # include <assert.h>
64412 #endif
64413
64414 #undef $ac_func
64415
64416 /* Override any gcc2 internal prototype to avoid an error. */
64417 #ifdef __cplusplus
64418 extern "C"
64419 {
64420 #endif
64421 /* We use char because int might match the return type of a gcc2
64422 builtin and then its argument prototype would still apply. */
64423 char $ac_func ();
64424 /* The GNU C library defines this for functions which it implements
64425 to always fail with ENOSYS. Some functions are actually named
64426 something starting with __ and the normal name is an alias. */
64427 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64428 choke me
64429 #else
64430 char (*f) () = $ac_func;
64431 #endif
64432 #ifdef __cplusplus
64433 }
64434 #endif
64435
64436 int
64437 main ()
64438 {
64439 return f != $ac_func;
64440 ;
64441 return 0;
64442 }
64443 _ACEOF
64444 rm -f conftest.$ac_objext conftest$ac_exeext
64445 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64446 (eval $ac_link) 2>conftest.er1
64447 ac_status=$?
64448 grep -v '^ *+' conftest.er1 >conftest.err
64449 rm -f conftest.er1
64450 cat conftest.err >&5
64451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64452 (exit $ac_status); } &&
64453 { ac_try='test -z "$ac_c_werror_flag"
64454 || test ! -s conftest.err'
64455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64456 (eval $ac_try) 2>&5
64457 ac_status=$?
64458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64459 (exit $ac_status); }; } &&
64460 { ac_try='test -s conftest$ac_exeext'
64461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64462 (eval $ac_try) 2>&5
64463 ac_status=$?
64464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64465 (exit $ac_status); }; }; then
64466 eval "$as_ac_var=yes"
64467 else
64468 echo "$as_me: failed program was:" >&5
64469 sed 's/^/| /' conftest.$ac_ext >&5
64470
64471 eval "$as_ac_var=no"
64472 fi
64473 rm -f conftest.err conftest.$ac_objext \
64474 conftest$ac_exeext conftest.$ac_ext
64475 fi
64476 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64477 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64478 if test `eval echo '${'$as_ac_var'}'` = yes; then
64479 cat >>confdefs.h <<_ACEOF
64480 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64481 _ACEOF
64482
64483 fi
64484 done
64485
64486 else
64487
64488 echo "$as_me:$LINENO: checking for _isinfl declaration" >&5
64489 echo $ECHO_N "checking for _isinfl declaration... $ECHO_C" >&6
64490 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
64491 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then
64492 echo $ECHO_N "(cached) $ECHO_C" >&6
64493 else
64494
64495
64496
64497 ac_ext=cc
64498 ac_cpp='$CXXCPP $CPPFLAGS'
64499 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64500 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64501 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64502
64503 cat >conftest.$ac_ext <<_ACEOF
64504 /* confdefs.h. */
64505 _ACEOF
64506 cat confdefs.h >>conftest.$ac_ext
64507 cat >>conftest.$ac_ext <<_ACEOF
64508 /* end confdefs.h. */
64509 #include <math.h>
64510 #ifdef HAVE_IEEEFP_H
64511 #include <ieeefp.h>
64512 #endif
64513
64514 int
64515 main ()
64516 {
64517 _isinfl(0);
64518 ;
64519 return 0;
64520 }
64521 _ACEOF
64522 rm -f conftest.$ac_objext
64523 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64524 (eval $ac_compile) 2>conftest.er1
64525 ac_status=$?
64526 grep -v '^ *+' conftest.er1 >conftest.err
64527 rm -f conftest.er1
64528 cat conftest.err >&5
64529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64530 (exit $ac_status); } &&
64531 { ac_try='test -z "$ac_cxx_werror_flag"
64532 || test ! -s conftest.err'
64533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64534 (eval $ac_try) 2>&5
64535 ac_status=$?
64536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64537 (exit $ac_status); }; } &&
64538 { ac_try='test -s conftest.$ac_objext'
64539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64540 (eval $ac_try) 2>&5
64541 ac_status=$?
64542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64543 (exit $ac_status); }; }; then
64544 glibcxx_cv_func__isinfl_use=yes
64545 else
64546 echo "$as_me: failed program was:" >&5
64547 sed 's/^/| /' conftest.$ac_ext >&5
64548
64549 glibcxx_cv_func__isinfl_use=no
64550 fi
64551 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64552 ac_ext=c
64553 ac_cpp='$CPP $CPPFLAGS'
64554 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64555 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64556 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64557
64558
64559 fi
64560
64561 fi
64562 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinfl_use" >&5
64563 echo "${ECHO_T}$glibcxx_cv_func__isinfl_use" >&6
64564
64565 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
64566
64567 for ac_func in _isinfl
64568 do
64569 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64570 echo "$as_me:$LINENO: checking for $ac_func" >&5
64571 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64572 if eval "test \"\${$as_ac_var+set}\" = set"; then
64573 echo $ECHO_N "(cached) $ECHO_C" >&6
64574 else
64575 if test x$gcc_no_link = xyes; then
64576 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64577 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64578 { (exit 1); exit 1; }; }
64579 fi
64580 cat >conftest.$ac_ext <<_ACEOF
64581 /* confdefs.h. */
64582 _ACEOF
64583 cat confdefs.h >>conftest.$ac_ext
64584 cat >>conftest.$ac_ext <<_ACEOF
64585 /* end confdefs.h. */
64586 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64587 For example, HP-UX 11i <limits.h> declares gettimeofday. */
64588 #define $ac_func innocuous_$ac_func
64589
64590 /* System header to define __stub macros and hopefully few prototypes,
64591 which can conflict with char $ac_func (); below.
64592 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64593 <limits.h> exists even on freestanding compilers. */
64594
64595 #ifdef __STDC__
64596 # include <limits.h>
64597 #else
64598 # include <assert.h>
64599 #endif
64600
64601 #undef $ac_func
64602
64603 /* Override any gcc2 internal prototype to avoid an error. */
64604 #ifdef __cplusplus
64605 extern "C"
64606 {
64607 #endif
64608 /* We use char because int might match the return type of a gcc2
64609 builtin and then its argument prototype would still apply. */
64610 char $ac_func ();
64611 /* The GNU C library defines this for functions which it implements
64612 to always fail with ENOSYS. Some functions are actually named
64613 something starting with __ and the normal name is an alias. */
64614 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64615 choke me
64616 #else
64617 char (*f) () = $ac_func;
64618 #endif
64619 #ifdef __cplusplus
64620 }
64621 #endif
64622
64623 int
64624 main ()
64625 {
64626 return f != $ac_func;
64627 ;
64628 return 0;
64629 }
64630 _ACEOF
64631 rm -f conftest.$ac_objext conftest$ac_exeext
64632 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64633 (eval $ac_link) 2>conftest.er1
64634 ac_status=$?
64635 grep -v '^ *+' conftest.er1 >conftest.err
64636 rm -f conftest.er1
64637 cat conftest.err >&5
64638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64639 (exit $ac_status); } &&
64640 { ac_try='test -z "$ac_c_werror_flag"
64641 || test ! -s conftest.err'
64642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64643 (eval $ac_try) 2>&5
64644 ac_status=$?
64645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64646 (exit $ac_status); }; } &&
64647 { ac_try='test -s conftest$ac_exeext'
64648 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64649 (eval $ac_try) 2>&5
64650 ac_status=$?
64651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64652 (exit $ac_status); }; }; then
64653 eval "$as_ac_var=yes"
64654 else
64655 echo "$as_me: failed program was:" >&5
64656 sed 's/^/| /' conftest.$ac_ext >&5
64657
64658 eval "$as_ac_var=no"
64659 fi
64660 rm -f conftest.err conftest.$ac_objext \
64661 conftest$ac_exeext conftest.$ac_ext
64662 fi
64663 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64664 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64665 if test `eval echo '${'$as_ac_var'}'` = yes; then
64666 cat >>confdefs.h <<_ACEOF
64667 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64668 _ACEOF
64669
64670 fi
64671 done
64672
64673 fi
64674 fi
64675
64676
64677
64678
64679
64680
64681 echo "$as_me:$LINENO: checking for copysignl declaration" >&5
64682 echo $ECHO_N "checking for copysignl declaration... $ECHO_C" >&6
64683 if test x${glibcxx_cv_func_copysignl_use+set} != xset; then
64684 if test "${glibcxx_cv_func_copysignl_use+set}" = set; then
64685 echo $ECHO_N "(cached) $ECHO_C" >&6
64686 else
64687
64688
64689
64690 ac_ext=cc
64691 ac_cpp='$CXXCPP $CPPFLAGS'
64692 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64693 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64694 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64695
64696 cat >conftest.$ac_ext <<_ACEOF
64697 /* confdefs.h. */
64698 _ACEOF
64699 cat confdefs.h >>conftest.$ac_ext
64700 cat >>conftest.$ac_ext <<_ACEOF
64701 /* end confdefs.h. */
64702 #include <math.h>
64703 int
64704 main ()
64705 {
64706 copysignl(0, 0);
64707 ;
64708 return 0;
64709 }
64710 _ACEOF
64711 rm -f conftest.$ac_objext
64712 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64713 (eval $ac_compile) 2>conftest.er1
64714 ac_status=$?
64715 grep -v '^ *+' conftest.er1 >conftest.err
64716 rm -f conftest.er1
64717 cat conftest.err >&5
64718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64719 (exit $ac_status); } &&
64720 { ac_try='test -z "$ac_cxx_werror_flag"
64721 || test ! -s conftest.err'
64722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64723 (eval $ac_try) 2>&5
64724 ac_status=$?
64725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64726 (exit $ac_status); }; } &&
64727 { ac_try='test -s conftest.$ac_objext'
64728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64729 (eval $ac_try) 2>&5
64730 ac_status=$?
64731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64732 (exit $ac_status); }; }; then
64733 glibcxx_cv_func_copysignl_use=yes
64734 else
64735 echo "$as_me: failed program was:" >&5
64736 sed 's/^/| /' conftest.$ac_ext >&5
64737
64738 glibcxx_cv_func_copysignl_use=no
64739 fi
64740 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64741 ac_ext=c
64742 ac_cpp='$CPP $CPPFLAGS'
64743 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64744 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64745 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64746
64747
64748 fi
64749
64750 fi
64751 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysignl_use" >&5
64752 echo "${ECHO_T}$glibcxx_cv_func_copysignl_use" >&6
64753
64754 if test x$glibcxx_cv_func_copysignl_use = x"yes"; then
64755
64756 for ac_func in copysignl
64757 do
64758 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64759 echo "$as_me:$LINENO: checking for $ac_func" >&5
64760 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64761 if eval "test \"\${$as_ac_var+set}\" = set"; then
64762 echo $ECHO_N "(cached) $ECHO_C" >&6
64763 else
64764 if test x$gcc_no_link = xyes; then
64765 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64766 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64767 { (exit 1); exit 1; }; }
64768 fi
64769 cat >conftest.$ac_ext <<_ACEOF
64770 /* confdefs.h. */
64771 _ACEOF
64772 cat confdefs.h >>conftest.$ac_ext
64773 cat >>conftest.$ac_ext <<_ACEOF
64774 /* end confdefs.h. */
64775 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64776 For example, HP-UX 11i <limits.h> declares gettimeofday. */
64777 #define $ac_func innocuous_$ac_func
64778
64779 /* System header to define __stub macros and hopefully few prototypes,
64780 which can conflict with char $ac_func (); below.
64781 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64782 <limits.h> exists even on freestanding compilers. */
64783
64784 #ifdef __STDC__
64785 # include <limits.h>
64786 #else
64787 # include <assert.h>
64788 #endif
64789
64790 #undef $ac_func
64791
64792 /* Override any gcc2 internal prototype to avoid an error. */
64793 #ifdef __cplusplus
64794 extern "C"
64795 {
64796 #endif
64797 /* We use char because int might match the return type of a gcc2
64798 builtin and then its argument prototype would still apply. */
64799 char $ac_func ();
64800 /* The GNU C library defines this for functions which it implements
64801 to always fail with ENOSYS. Some functions are actually named
64802 something starting with __ and the normal name is an alias. */
64803 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64804 choke me
64805 #else
64806 char (*f) () = $ac_func;
64807 #endif
64808 #ifdef __cplusplus
64809 }
64810 #endif
64811
64812 int
64813 main ()
64814 {
64815 return f != $ac_func;
64816 ;
64817 return 0;
64818 }
64819 _ACEOF
64820 rm -f conftest.$ac_objext conftest$ac_exeext
64821 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64822 (eval $ac_link) 2>conftest.er1
64823 ac_status=$?
64824 grep -v '^ *+' conftest.er1 >conftest.err
64825 rm -f conftest.er1
64826 cat conftest.err >&5
64827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64828 (exit $ac_status); } &&
64829 { ac_try='test -z "$ac_c_werror_flag"
64830 || test ! -s conftest.err'
64831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64832 (eval $ac_try) 2>&5
64833 ac_status=$?
64834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64835 (exit $ac_status); }; } &&
64836 { ac_try='test -s conftest$ac_exeext'
64837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64838 (eval $ac_try) 2>&5
64839 ac_status=$?
64840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64841 (exit $ac_status); }; }; then
64842 eval "$as_ac_var=yes"
64843 else
64844 echo "$as_me: failed program was:" >&5
64845 sed 's/^/| /' conftest.$ac_ext >&5
64846
64847 eval "$as_ac_var=no"
64848 fi
64849 rm -f conftest.err conftest.$ac_objext \
64850 conftest$ac_exeext conftest.$ac_ext
64851 fi
64852 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64853 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64854 if test `eval echo '${'$as_ac_var'}'` = yes; then
64855 cat >>confdefs.h <<_ACEOF
64856 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64857 _ACEOF
64858
64859 fi
64860 done
64861
64862 else
64863
64864 echo "$as_me:$LINENO: checking for _copysignl declaration" >&5
64865 echo $ECHO_N "checking for _copysignl declaration... $ECHO_C" >&6
64866 if test x${glibcxx_cv_func__copysignl_use+set} != xset; then
64867 if test "${glibcxx_cv_func__copysignl_use+set}" = set; then
64868 echo $ECHO_N "(cached) $ECHO_C" >&6
64869 else
64870
64871
64872
64873 ac_ext=cc
64874 ac_cpp='$CXXCPP $CPPFLAGS'
64875 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64876 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64877 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64878
64879 cat >conftest.$ac_ext <<_ACEOF
64880 /* confdefs.h. */
64881 _ACEOF
64882 cat confdefs.h >>conftest.$ac_ext
64883 cat >>conftest.$ac_ext <<_ACEOF
64884 /* end confdefs.h. */
64885 #include <math.h>
64886 int
64887 main ()
64888 {
64889 _copysignl(0, 0);
64890 ;
64891 return 0;
64892 }
64893 _ACEOF
64894 rm -f conftest.$ac_objext
64895 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64896 (eval $ac_compile) 2>conftest.er1
64897 ac_status=$?
64898 grep -v '^ *+' conftest.er1 >conftest.err
64899 rm -f conftest.er1
64900 cat conftest.err >&5
64901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64902 (exit $ac_status); } &&
64903 { ac_try='test -z "$ac_cxx_werror_flag"
64904 || test ! -s conftest.err'
64905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64906 (eval $ac_try) 2>&5
64907 ac_status=$?
64908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64909 (exit $ac_status); }; } &&
64910 { ac_try='test -s conftest.$ac_objext'
64911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64912 (eval $ac_try) 2>&5
64913 ac_status=$?
64914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64915 (exit $ac_status); }; }; then
64916 glibcxx_cv_func__copysignl_use=yes
64917 else
64918 echo "$as_me: failed program was:" >&5
64919 sed 's/^/| /' conftest.$ac_ext >&5
64920
64921 glibcxx_cv_func__copysignl_use=no
64922 fi
64923 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64924 ac_ext=c
64925 ac_cpp='$CPP $CPPFLAGS'
64926 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64927 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64928 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64929
64930
64931 fi
64932
64933 fi
64934 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysignl_use" >&5
64935 echo "${ECHO_T}$glibcxx_cv_func__copysignl_use" >&6
64936
64937 if test x$glibcxx_cv_func__copysignl_use = x"yes"; then
64938
64939 for ac_func in _copysignl
64940 do
64941 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64942 echo "$as_me:$LINENO: checking for $ac_func" >&5
64943 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64944 if eval "test \"\${$as_ac_var+set}\" = set"; then
64945 echo $ECHO_N "(cached) $ECHO_C" >&6
64946 else
64947 if test x$gcc_no_link = xyes; then
64948 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64949 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64950 { (exit 1); exit 1; }; }
64951 fi
64952 cat >conftest.$ac_ext <<_ACEOF
64953 /* confdefs.h. */
64954 _ACEOF
64955 cat confdefs.h >>conftest.$ac_ext
64956 cat >>conftest.$ac_ext <<_ACEOF
64957 /* end confdefs.h. */
64958 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64959 For example, HP-UX 11i <limits.h> declares gettimeofday. */
64960 #define $ac_func innocuous_$ac_func
64961
64962 /* System header to define __stub macros and hopefully few prototypes,
64963 which can conflict with char $ac_func (); below.
64964 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64965 <limits.h> exists even on freestanding compilers. */
64966
64967 #ifdef __STDC__
64968 # include <limits.h>
64969 #else
64970 # include <assert.h>
64971 #endif
64972
64973 #undef $ac_func
64974
64975 /* Override any gcc2 internal prototype to avoid an error. */
64976 #ifdef __cplusplus
64977 extern "C"
64978 {
64979 #endif
64980 /* We use char because int might match the return type of a gcc2
64981 builtin and then its argument prototype would still apply. */
64982 char $ac_func ();
64983 /* The GNU C library defines this for functions which it implements
64984 to always fail with ENOSYS. Some functions are actually named
64985 something starting with __ and the normal name is an alias. */
64986 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64987 choke me
64988 #else
64989 char (*f) () = $ac_func;
64990 #endif
64991 #ifdef __cplusplus
64992 }
64993 #endif
64994
64995 int
64996 main ()
64997 {
64998 return f != $ac_func;
64999 ;
65000 return 0;
65001 }
65002 _ACEOF
65003 rm -f conftest.$ac_objext conftest$ac_exeext
65004 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65005 (eval $ac_link) 2>conftest.er1
65006 ac_status=$?
65007 grep -v '^ *+' conftest.er1 >conftest.err
65008 rm -f conftest.er1
65009 cat conftest.err >&5
65010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65011 (exit $ac_status); } &&
65012 { ac_try='test -z "$ac_c_werror_flag"
65013 || test ! -s conftest.err'
65014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65015 (eval $ac_try) 2>&5
65016 ac_status=$?
65017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65018 (exit $ac_status); }; } &&
65019 { ac_try='test -s conftest$ac_exeext'
65020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65021 (eval $ac_try) 2>&5
65022 ac_status=$?
65023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65024 (exit $ac_status); }; }; then
65025 eval "$as_ac_var=yes"
65026 else
65027 echo "$as_me: failed program was:" >&5
65028 sed 's/^/| /' conftest.$ac_ext >&5
65029
65030 eval "$as_ac_var=no"
65031 fi
65032 rm -f conftest.err conftest.$ac_objext \
65033 conftest$ac_exeext conftest.$ac_ext
65034 fi
65035 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65036 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65037 if test `eval echo '${'$as_ac_var'}'` = yes; then
65038 cat >>confdefs.h <<_ACEOF
65039 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65040 _ACEOF
65041
65042 fi
65043 done
65044
65045 fi
65046 fi
65047
65048
65049
65050
65051
65052
65053 echo "$as_me:$LINENO: checking for atan2l declaration" >&5
65054 echo $ECHO_N "checking for atan2l declaration... $ECHO_C" >&6
65055 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
65056 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then
65057 echo $ECHO_N "(cached) $ECHO_C" >&6
65058 else
65059
65060
65061
65062 ac_ext=cc
65063 ac_cpp='$CXXCPP $CPPFLAGS'
65064 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65065 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65066 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65067
65068 cat >conftest.$ac_ext <<_ACEOF
65069 /* confdefs.h. */
65070 _ACEOF
65071 cat confdefs.h >>conftest.$ac_ext
65072 cat >>conftest.$ac_ext <<_ACEOF
65073 /* end confdefs.h. */
65074 #include <math.h>
65075 int
65076 main ()
65077 {
65078 atan2l(0, 0);
65079 ;
65080 return 0;
65081 }
65082 _ACEOF
65083 rm -f conftest.$ac_objext
65084 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65085 (eval $ac_compile) 2>conftest.er1
65086 ac_status=$?
65087 grep -v '^ *+' conftest.er1 >conftest.err
65088 rm -f conftest.er1
65089 cat conftest.err >&5
65090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65091 (exit $ac_status); } &&
65092 { ac_try='test -z "$ac_cxx_werror_flag"
65093 || test ! -s conftest.err'
65094 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65095 (eval $ac_try) 2>&5
65096 ac_status=$?
65097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65098 (exit $ac_status); }; } &&
65099 { ac_try='test -s conftest.$ac_objext'
65100 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65101 (eval $ac_try) 2>&5
65102 ac_status=$?
65103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65104 (exit $ac_status); }; }; then
65105 glibcxx_cv_func_atan2l_use=yes
65106 else
65107 echo "$as_me: failed program was:" >&5
65108 sed 's/^/| /' conftest.$ac_ext >&5
65109
65110 glibcxx_cv_func_atan2l_use=no
65111 fi
65112 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65113 ac_ext=c
65114 ac_cpp='$CPP $CPPFLAGS'
65115 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65116 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65117 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65118
65119
65120 fi
65121
65122 fi
65123 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2l_use" >&5
65124 echo "${ECHO_T}$glibcxx_cv_func_atan2l_use" >&6
65125
65126 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
65127
65128 for ac_func in atan2l
65129 do
65130 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65131 echo "$as_me:$LINENO: checking for $ac_func" >&5
65132 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65133 if eval "test \"\${$as_ac_var+set}\" = set"; then
65134 echo $ECHO_N "(cached) $ECHO_C" >&6
65135 else
65136 if test x$gcc_no_link = xyes; then
65137 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65138 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65139 { (exit 1); exit 1; }; }
65140 fi
65141 cat >conftest.$ac_ext <<_ACEOF
65142 /* confdefs.h. */
65143 _ACEOF
65144 cat confdefs.h >>conftest.$ac_ext
65145 cat >>conftest.$ac_ext <<_ACEOF
65146 /* end confdefs.h. */
65147 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65148 For example, HP-UX 11i <limits.h> declares gettimeofday. */
65149 #define $ac_func innocuous_$ac_func
65150
65151 /* System header to define __stub macros and hopefully few prototypes,
65152 which can conflict with char $ac_func (); below.
65153 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65154 <limits.h> exists even on freestanding compilers. */
65155
65156 #ifdef __STDC__
65157 # include <limits.h>
65158 #else
65159 # include <assert.h>
65160 #endif
65161
65162 #undef $ac_func
65163
65164 /* Override any gcc2 internal prototype to avoid an error. */
65165 #ifdef __cplusplus
65166 extern "C"
65167 {
65168 #endif
65169 /* We use char because int might match the return type of a gcc2
65170 builtin and then its argument prototype would still apply. */
65171 char $ac_func ();
65172 /* The GNU C library defines this for functions which it implements
65173 to always fail with ENOSYS. Some functions are actually named
65174 something starting with __ and the normal name is an alias. */
65175 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65176 choke me
65177 #else
65178 char (*f) () = $ac_func;
65179 #endif
65180 #ifdef __cplusplus
65181 }
65182 #endif
65183
65184 int
65185 main ()
65186 {
65187 return f != $ac_func;
65188 ;
65189 return 0;
65190 }
65191 _ACEOF
65192 rm -f conftest.$ac_objext conftest$ac_exeext
65193 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65194 (eval $ac_link) 2>conftest.er1
65195 ac_status=$?
65196 grep -v '^ *+' conftest.er1 >conftest.err
65197 rm -f conftest.er1
65198 cat conftest.err >&5
65199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65200 (exit $ac_status); } &&
65201 { ac_try='test -z "$ac_c_werror_flag"
65202 || test ! -s conftest.err'
65203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65204 (eval $ac_try) 2>&5
65205 ac_status=$?
65206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65207 (exit $ac_status); }; } &&
65208 { ac_try='test -s conftest$ac_exeext'
65209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65210 (eval $ac_try) 2>&5
65211 ac_status=$?
65212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65213 (exit $ac_status); }; }; then
65214 eval "$as_ac_var=yes"
65215 else
65216 echo "$as_me: failed program was:" >&5
65217 sed 's/^/| /' conftest.$ac_ext >&5
65218
65219 eval "$as_ac_var=no"
65220 fi
65221 rm -f conftest.err conftest.$ac_objext \
65222 conftest$ac_exeext conftest.$ac_ext
65223 fi
65224 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65225 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65226 if test `eval echo '${'$as_ac_var'}'` = yes; then
65227 cat >>confdefs.h <<_ACEOF
65228 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65229 _ACEOF
65230
65231 fi
65232 done
65233
65234 else
65235
65236 echo "$as_me:$LINENO: checking for _atan2l declaration" >&5
65237 echo $ECHO_N "checking for _atan2l declaration... $ECHO_C" >&6
65238 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
65239 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then
65240 echo $ECHO_N "(cached) $ECHO_C" >&6
65241 else
65242
65243
65244
65245 ac_ext=cc
65246 ac_cpp='$CXXCPP $CPPFLAGS'
65247 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65248 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65249 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65250
65251 cat >conftest.$ac_ext <<_ACEOF
65252 /* confdefs.h. */
65253 _ACEOF
65254 cat confdefs.h >>conftest.$ac_ext
65255 cat >>conftest.$ac_ext <<_ACEOF
65256 /* end confdefs.h. */
65257 #include <math.h>
65258 int
65259 main ()
65260 {
65261 _atan2l(0, 0);
65262 ;
65263 return 0;
65264 }
65265 _ACEOF
65266 rm -f conftest.$ac_objext
65267 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65268 (eval $ac_compile) 2>conftest.er1
65269 ac_status=$?
65270 grep -v '^ *+' conftest.er1 >conftest.err
65271 rm -f conftest.er1
65272 cat conftest.err >&5
65273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65274 (exit $ac_status); } &&
65275 { ac_try='test -z "$ac_cxx_werror_flag"
65276 || test ! -s conftest.err'
65277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65278 (eval $ac_try) 2>&5
65279 ac_status=$?
65280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65281 (exit $ac_status); }; } &&
65282 { ac_try='test -s conftest.$ac_objext'
65283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65284 (eval $ac_try) 2>&5
65285 ac_status=$?
65286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65287 (exit $ac_status); }; }; then
65288 glibcxx_cv_func__atan2l_use=yes
65289 else
65290 echo "$as_me: failed program was:" >&5
65291 sed 's/^/| /' conftest.$ac_ext >&5
65292
65293 glibcxx_cv_func__atan2l_use=no
65294 fi
65295 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65296 ac_ext=c
65297 ac_cpp='$CPP $CPPFLAGS'
65298 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65299 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65300 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65301
65302
65303 fi
65304
65305 fi
65306 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2l_use" >&5
65307 echo "${ECHO_T}$glibcxx_cv_func__atan2l_use" >&6
65308
65309 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
65310
65311 for ac_func in _atan2l
65312 do
65313 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65314 echo "$as_me:$LINENO: checking for $ac_func" >&5
65315 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65316 if eval "test \"\${$as_ac_var+set}\" = set"; then
65317 echo $ECHO_N "(cached) $ECHO_C" >&6
65318 else
65319 if test x$gcc_no_link = xyes; then
65320 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65321 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65322 { (exit 1); exit 1; }; }
65323 fi
65324 cat >conftest.$ac_ext <<_ACEOF
65325 /* confdefs.h. */
65326 _ACEOF
65327 cat confdefs.h >>conftest.$ac_ext
65328 cat >>conftest.$ac_ext <<_ACEOF
65329 /* end confdefs.h. */
65330 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65331 For example, HP-UX 11i <limits.h> declares gettimeofday. */
65332 #define $ac_func innocuous_$ac_func
65333
65334 /* System header to define __stub macros and hopefully few prototypes,
65335 which can conflict with char $ac_func (); below.
65336 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65337 <limits.h> exists even on freestanding compilers. */
65338
65339 #ifdef __STDC__
65340 # include <limits.h>
65341 #else
65342 # include <assert.h>
65343 #endif
65344
65345 #undef $ac_func
65346
65347 /* Override any gcc2 internal prototype to avoid an error. */
65348 #ifdef __cplusplus
65349 extern "C"
65350 {
65351 #endif
65352 /* We use char because int might match the return type of a gcc2
65353 builtin and then its argument prototype would still apply. */
65354 char $ac_func ();
65355 /* The GNU C library defines this for functions which it implements
65356 to always fail with ENOSYS. Some functions are actually named
65357 something starting with __ and the normal name is an alias. */
65358 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65359 choke me
65360 #else
65361 char (*f) () = $ac_func;
65362 #endif
65363 #ifdef __cplusplus
65364 }
65365 #endif
65366
65367 int
65368 main ()
65369 {
65370 return f != $ac_func;
65371 ;
65372 return 0;
65373 }
65374 _ACEOF
65375 rm -f conftest.$ac_objext conftest$ac_exeext
65376 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65377 (eval $ac_link) 2>conftest.er1
65378 ac_status=$?
65379 grep -v '^ *+' conftest.er1 >conftest.err
65380 rm -f conftest.er1
65381 cat conftest.err >&5
65382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65383 (exit $ac_status); } &&
65384 { ac_try='test -z "$ac_c_werror_flag"
65385 || test ! -s conftest.err'
65386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65387 (eval $ac_try) 2>&5
65388 ac_status=$?
65389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65390 (exit $ac_status); }; } &&
65391 { ac_try='test -s conftest$ac_exeext'
65392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65393 (eval $ac_try) 2>&5
65394 ac_status=$?
65395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65396 (exit $ac_status); }; }; then
65397 eval "$as_ac_var=yes"
65398 else
65399 echo "$as_me: failed program was:" >&5
65400 sed 's/^/| /' conftest.$ac_ext >&5
65401
65402 eval "$as_ac_var=no"
65403 fi
65404 rm -f conftest.err conftest.$ac_objext \
65405 conftest$ac_exeext conftest.$ac_ext
65406 fi
65407 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65408 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65409 if test `eval echo '${'$as_ac_var'}'` = yes; then
65410 cat >>confdefs.h <<_ACEOF
65411 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65412 _ACEOF
65413
65414 fi
65415 done
65416
65417 fi
65418 fi
65419
65420
65421
65422
65423
65424
65425 echo "$as_me:$LINENO: checking for expl declaration" >&5
65426 echo $ECHO_N "checking for expl declaration... $ECHO_C" >&6
65427 if test x${glibcxx_cv_func_expl_use+set} != xset; then
65428 if test "${glibcxx_cv_func_expl_use+set}" = set; then
65429 echo $ECHO_N "(cached) $ECHO_C" >&6
65430 else
65431
65432
65433
65434 ac_ext=cc
65435 ac_cpp='$CXXCPP $CPPFLAGS'
65436 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65437 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65438 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65439
65440 cat >conftest.$ac_ext <<_ACEOF
65441 /* confdefs.h. */
65442 _ACEOF
65443 cat confdefs.h >>conftest.$ac_ext
65444 cat >>conftest.$ac_ext <<_ACEOF
65445 /* end confdefs.h. */
65446 #include <math.h>
65447 #ifdef HAVE_IEEEFP_H
65448 #include <ieeefp.h>
65449 #endif
65450
65451 int
65452 main ()
65453 {
65454 expl(0);
65455 ;
65456 return 0;
65457 }
65458 _ACEOF
65459 rm -f conftest.$ac_objext
65460 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65461 (eval $ac_compile) 2>conftest.er1
65462 ac_status=$?
65463 grep -v '^ *+' conftest.er1 >conftest.err
65464 rm -f conftest.er1
65465 cat conftest.err >&5
65466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65467 (exit $ac_status); } &&
65468 { ac_try='test -z "$ac_cxx_werror_flag"
65469 || test ! -s conftest.err'
65470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65471 (eval $ac_try) 2>&5
65472 ac_status=$?
65473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65474 (exit $ac_status); }; } &&
65475 { ac_try='test -s conftest.$ac_objext'
65476 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65477 (eval $ac_try) 2>&5
65478 ac_status=$?
65479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65480 (exit $ac_status); }; }; then
65481 glibcxx_cv_func_expl_use=yes
65482 else
65483 echo "$as_me: failed program was:" >&5
65484 sed 's/^/| /' conftest.$ac_ext >&5
65485
65486 glibcxx_cv_func_expl_use=no
65487 fi
65488 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65489 ac_ext=c
65490 ac_cpp='$CPP $CPPFLAGS'
65491 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65492 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65493 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65494
65495
65496 fi
65497
65498 fi
65499 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expl_use" >&5
65500 echo "${ECHO_T}$glibcxx_cv_func_expl_use" >&6
65501
65502 if test x$glibcxx_cv_func_expl_use = x"yes"; then
65503
65504 for ac_func in expl
65505 do
65506 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65507 echo "$as_me:$LINENO: checking for $ac_func" >&5
65508 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65509 if eval "test \"\${$as_ac_var+set}\" = set"; then
65510 echo $ECHO_N "(cached) $ECHO_C" >&6
65511 else
65512 if test x$gcc_no_link = xyes; then
65513 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65514 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65515 { (exit 1); exit 1; }; }
65516 fi
65517 cat >conftest.$ac_ext <<_ACEOF
65518 /* confdefs.h. */
65519 _ACEOF
65520 cat confdefs.h >>conftest.$ac_ext
65521 cat >>conftest.$ac_ext <<_ACEOF
65522 /* end confdefs.h. */
65523 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65524 For example, HP-UX 11i <limits.h> declares gettimeofday. */
65525 #define $ac_func innocuous_$ac_func
65526
65527 /* System header to define __stub macros and hopefully few prototypes,
65528 which can conflict with char $ac_func (); below.
65529 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65530 <limits.h> exists even on freestanding compilers. */
65531
65532 #ifdef __STDC__
65533 # include <limits.h>
65534 #else
65535 # include <assert.h>
65536 #endif
65537
65538 #undef $ac_func
65539
65540 /* Override any gcc2 internal prototype to avoid an error. */
65541 #ifdef __cplusplus
65542 extern "C"
65543 {
65544 #endif
65545 /* We use char because int might match the return type of a gcc2
65546 builtin and then its argument prototype would still apply. */
65547 char $ac_func ();
65548 /* The GNU C library defines this for functions which it implements
65549 to always fail with ENOSYS. Some functions are actually named
65550 something starting with __ and the normal name is an alias. */
65551 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65552 choke me
65553 #else
65554 char (*f) () = $ac_func;
65555 #endif
65556 #ifdef __cplusplus
65557 }
65558 #endif
65559
65560 int
65561 main ()
65562 {
65563 return f != $ac_func;
65564 ;
65565 return 0;
65566 }
65567 _ACEOF
65568 rm -f conftest.$ac_objext conftest$ac_exeext
65569 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65570 (eval $ac_link) 2>conftest.er1
65571 ac_status=$?
65572 grep -v '^ *+' conftest.er1 >conftest.err
65573 rm -f conftest.er1
65574 cat conftest.err >&5
65575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65576 (exit $ac_status); } &&
65577 { ac_try='test -z "$ac_c_werror_flag"
65578 || test ! -s conftest.err'
65579 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65580 (eval $ac_try) 2>&5
65581 ac_status=$?
65582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65583 (exit $ac_status); }; } &&
65584 { ac_try='test -s conftest$ac_exeext'
65585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65586 (eval $ac_try) 2>&5
65587 ac_status=$?
65588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65589 (exit $ac_status); }; }; then
65590 eval "$as_ac_var=yes"
65591 else
65592 echo "$as_me: failed program was:" >&5
65593 sed 's/^/| /' conftest.$ac_ext >&5
65594
65595 eval "$as_ac_var=no"
65596 fi
65597 rm -f conftest.err conftest.$ac_objext \
65598 conftest$ac_exeext conftest.$ac_ext
65599 fi
65600 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65601 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65602 if test `eval echo '${'$as_ac_var'}'` = yes; then
65603 cat >>confdefs.h <<_ACEOF
65604 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65605 _ACEOF
65606
65607 fi
65608 done
65609
65610 else
65611
65612 echo "$as_me:$LINENO: checking for _expl declaration" >&5
65613 echo $ECHO_N "checking for _expl declaration... $ECHO_C" >&6
65614 if test x${glibcxx_cv_func__expl_use+set} != xset; then
65615 if test "${glibcxx_cv_func__expl_use+set}" = set; then
65616 echo $ECHO_N "(cached) $ECHO_C" >&6
65617 else
65618
65619
65620
65621 ac_ext=cc
65622 ac_cpp='$CXXCPP $CPPFLAGS'
65623 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65624 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65625 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65626
65627 cat >conftest.$ac_ext <<_ACEOF
65628 /* confdefs.h. */
65629 _ACEOF
65630 cat confdefs.h >>conftest.$ac_ext
65631 cat >>conftest.$ac_ext <<_ACEOF
65632 /* end confdefs.h. */
65633 #include <math.h>
65634 #ifdef HAVE_IEEEFP_H
65635 #include <ieeefp.h>
65636 #endif
65637
65638 int
65639 main ()
65640 {
65641 _expl(0);
65642 ;
65643 return 0;
65644 }
65645 _ACEOF
65646 rm -f conftest.$ac_objext
65647 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65648 (eval $ac_compile) 2>conftest.er1
65649 ac_status=$?
65650 grep -v '^ *+' conftest.er1 >conftest.err
65651 rm -f conftest.er1
65652 cat conftest.err >&5
65653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65654 (exit $ac_status); } &&
65655 { ac_try='test -z "$ac_cxx_werror_flag"
65656 || test ! -s conftest.err'
65657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65658 (eval $ac_try) 2>&5
65659 ac_status=$?
65660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65661 (exit $ac_status); }; } &&
65662 { ac_try='test -s conftest.$ac_objext'
65663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65664 (eval $ac_try) 2>&5
65665 ac_status=$?
65666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65667 (exit $ac_status); }; }; then
65668 glibcxx_cv_func__expl_use=yes
65669 else
65670 echo "$as_me: failed program was:" >&5
65671 sed 's/^/| /' conftest.$ac_ext >&5
65672
65673 glibcxx_cv_func__expl_use=no
65674 fi
65675 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65676 ac_ext=c
65677 ac_cpp='$CPP $CPPFLAGS'
65678 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65679 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65680 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65681
65682
65683 fi
65684
65685 fi
65686 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expl_use" >&5
65687 echo "${ECHO_T}$glibcxx_cv_func__expl_use" >&6
65688
65689 if test x$glibcxx_cv_func__expl_use = x"yes"; then
65690
65691 for ac_func in _expl
65692 do
65693 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65694 echo "$as_me:$LINENO: checking for $ac_func" >&5
65695 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65696 if eval "test \"\${$as_ac_var+set}\" = set"; then
65697 echo $ECHO_N "(cached) $ECHO_C" >&6
65698 else
65699 if test x$gcc_no_link = xyes; then
65700 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65701 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65702 { (exit 1); exit 1; }; }
65703 fi
65704 cat >conftest.$ac_ext <<_ACEOF
65705 /* confdefs.h. */
65706 _ACEOF
65707 cat confdefs.h >>conftest.$ac_ext
65708 cat >>conftest.$ac_ext <<_ACEOF
65709 /* end confdefs.h. */
65710 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65711 For example, HP-UX 11i <limits.h> declares gettimeofday. */
65712 #define $ac_func innocuous_$ac_func
65713
65714 /* System header to define __stub macros and hopefully few prototypes,
65715 which can conflict with char $ac_func (); below.
65716 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65717 <limits.h> exists even on freestanding compilers. */
65718
65719 #ifdef __STDC__
65720 # include <limits.h>
65721 #else
65722 # include <assert.h>
65723 #endif
65724
65725 #undef $ac_func
65726
65727 /* Override any gcc2 internal prototype to avoid an error. */
65728 #ifdef __cplusplus
65729 extern "C"
65730 {
65731 #endif
65732 /* We use char because int might match the return type of a gcc2
65733 builtin and then its argument prototype would still apply. */
65734 char $ac_func ();
65735 /* The GNU C library defines this for functions which it implements
65736 to always fail with ENOSYS. Some functions are actually named
65737 something starting with __ and the normal name is an alias. */
65738 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65739 choke me
65740 #else
65741 char (*f) () = $ac_func;
65742 #endif
65743 #ifdef __cplusplus
65744 }
65745 #endif
65746
65747 int
65748 main ()
65749 {
65750 return f != $ac_func;
65751 ;
65752 return 0;
65753 }
65754 _ACEOF
65755 rm -f conftest.$ac_objext conftest$ac_exeext
65756 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65757 (eval $ac_link) 2>conftest.er1
65758 ac_status=$?
65759 grep -v '^ *+' conftest.er1 >conftest.err
65760 rm -f conftest.er1
65761 cat conftest.err >&5
65762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65763 (exit $ac_status); } &&
65764 { ac_try='test -z "$ac_c_werror_flag"
65765 || test ! -s conftest.err'
65766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65767 (eval $ac_try) 2>&5
65768 ac_status=$?
65769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65770 (exit $ac_status); }; } &&
65771 { ac_try='test -s conftest$ac_exeext'
65772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65773 (eval $ac_try) 2>&5
65774 ac_status=$?
65775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65776 (exit $ac_status); }; }; then
65777 eval "$as_ac_var=yes"
65778 else
65779 echo "$as_me: failed program was:" >&5
65780 sed 's/^/| /' conftest.$ac_ext >&5
65781
65782 eval "$as_ac_var=no"
65783 fi
65784 rm -f conftest.err conftest.$ac_objext \
65785 conftest$ac_exeext conftest.$ac_ext
65786 fi
65787 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65788 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65789 if test `eval echo '${'$as_ac_var'}'` = yes; then
65790 cat >>confdefs.h <<_ACEOF
65791 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65792 _ACEOF
65793
65794 fi
65795 done
65796
65797 fi
65798 fi
65799
65800
65801
65802
65803
65804
65805 echo "$as_me:$LINENO: checking for fabsl declaration" >&5
65806 echo $ECHO_N "checking for fabsl declaration... $ECHO_C" >&6
65807 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
65808 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then
65809 echo $ECHO_N "(cached) $ECHO_C" >&6
65810 else
65811
65812
65813
65814 ac_ext=cc
65815 ac_cpp='$CXXCPP $CPPFLAGS'
65816 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65817 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65818 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65819
65820 cat >conftest.$ac_ext <<_ACEOF
65821 /* confdefs.h. */
65822 _ACEOF
65823 cat confdefs.h >>conftest.$ac_ext
65824 cat >>conftest.$ac_ext <<_ACEOF
65825 /* end confdefs.h. */
65826 #include <math.h>
65827 #ifdef HAVE_IEEEFP_H
65828 #include <ieeefp.h>
65829 #endif
65830
65831 int
65832 main ()
65833 {
65834 fabsl(0);
65835 ;
65836 return 0;
65837 }
65838 _ACEOF
65839 rm -f conftest.$ac_objext
65840 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65841 (eval $ac_compile) 2>conftest.er1
65842 ac_status=$?
65843 grep -v '^ *+' conftest.er1 >conftest.err
65844 rm -f conftest.er1
65845 cat conftest.err >&5
65846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65847 (exit $ac_status); } &&
65848 { ac_try='test -z "$ac_cxx_werror_flag"
65849 || test ! -s conftest.err'
65850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65851 (eval $ac_try) 2>&5
65852 ac_status=$?
65853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65854 (exit $ac_status); }; } &&
65855 { ac_try='test -s conftest.$ac_objext'
65856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65857 (eval $ac_try) 2>&5
65858 ac_status=$?
65859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65860 (exit $ac_status); }; }; then
65861 glibcxx_cv_func_fabsl_use=yes
65862 else
65863 echo "$as_me: failed program was:" >&5
65864 sed 's/^/| /' conftest.$ac_ext >&5
65865
65866 glibcxx_cv_func_fabsl_use=no
65867 fi
65868 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65869 ac_ext=c
65870 ac_cpp='$CPP $CPPFLAGS'
65871 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65872 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65873 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65874
65875
65876 fi
65877
65878 fi
65879 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsl_use" >&5
65880 echo "${ECHO_T}$glibcxx_cv_func_fabsl_use" >&6
65881
65882 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
65883
65884 for ac_func in fabsl
65885 do
65886 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65887 echo "$as_me:$LINENO: checking for $ac_func" >&5
65888 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65889 if eval "test \"\${$as_ac_var+set}\" = set"; then
65890 echo $ECHO_N "(cached) $ECHO_C" >&6
65891 else
65892 if test x$gcc_no_link = xyes; then
65893 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65894 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65895 { (exit 1); exit 1; }; }
65896 fi
65897 cat >conftest.$ac_ext <<_ACEOF
65898 /* confdefs.h. */
65899 _ACEOF
65900 cat confdefs.h >>conftest.$ac_ext
65901 cat >>conftest.$ac_ext <<_ACEOF
65902 /* end confdefs.h. */
65903 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65904 For example, HP-UX 11i <limits.h> declares gettimeofday. */
65905 #define $ac_func innocuous_$ac_func
65906
65907 /* System header to define __stub macros and hopefully few prototypes,
65908 which can conflict with char $ac_func (); below.
65909 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65910 <limits.h> exists even on freestanding compilers. */
65911
65912 #ifdef __STDC__
65913 # include <limits.h>
65914 #else
65915 # include <assert.h>
65916 #endif
65917
65918 #undef $ac_func
65919
65920 /* Override any gcc2 internal prototype to avoid an error. */
65921 #ifdef __cplusplus
65922 extern "C"
65923 {
65924 #endif
65925 /* We use char because int might match the return type of a gcc2
65926 builtin and then its argument prototype would still apply. */
65927 char $ac_func ();
65928 /* The GNU C library defines this for functions which it implements
65929 to always fail with ENOSYS. Some functions are actually named
65930 something starting with __ and the normal name is an alias. */
65931 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65932 choke me
65933 #else
65934 char (*f) () = $ac_func;
65935 #endif
65936 #ifdef __cplusplus
65937 }
65938 #endif
65939
65940 int
65941 main ()
65942 {
65943 return f != $ac_func;
65944 ;
65945 return 0;
65946 }
65947 _ACEOF
65948 rm -f conftest.$ac_objext conftest$ac_exeext
65949 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65950 (eval $ac_link) 2>conftest.er1
65951 ac_status=$?
65952 grep -v '^ *+' conftest.er1 >conftest.err
65953 rm -f conftest.er1
65954 cat conftest.err >&5
65955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65956 (exit $ac_status); } &&
65957 { ac_try='test -z "$ac_c_werror_flag"
65958 || test ! -s conftest.err'
65959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65960 (eval $ac_try) 2>&5
65961 ac_status=$?
65962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65963 (exit $ac_status); }; } &&
65964 { ac_try='test -s conftest$ac_exeext'
65965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65966 (eval $ac_try) 2>&5
65967 ac_status=$?
65968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65969 (exit $ac_status); }; }; then
65970 eval "$as_ac_var=yes"
65971 else
65972 echo "$as_me: failed program was:" >&5
65973 sed 's/^/| /' conftest.$ac_ext >&5
65974
65975 eval "$as_ac_var=no"
65976 fi
65977 rm -f conftest.err conftest.$ac_objext \
65978 conftest$ac_exeext conftest.$ac_ext
65979 fi
65980 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65981 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65982 if test `eval echo '${'$as_ac_var'}'` = yes; then
65983 cat >>confdefs.h <<_ACEOF
65984 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65985 _ACEOF
65986
65987 fi
65988 done
65989
65990 else
65991
65992 echo "$as_me:$LINENO: checking for _fabsl declaration" >&5
65993 echo $ECHO_N "checking for _fabsl declaration... $ECHO_C" >&6
65994 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
65995 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then
65996 echo $ECHO_N "(cached) $ECHO_C" >&6
65997 else
65998
65999
66000
66001 ac_ext=cc
66002 ac_cpp='$CXXCPP $CPPFLAGS'
66003 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66004 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66005 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66006
66007 cat >conftest.$ac_ext <<_ACEOF
66008 /* confdefs.h. */
66009 _ACEOF
66010 cat confdefs.h >>conftest.$ac_ext
66011 cat >>conftest.$ac_ext <<_ACEOF
66012 /* end confdefs.h. */
66013 #include <math.h>
66014 #ifdef HAVE_IEEEFP_H
66015 #include <ieeefp.h>
66016 #endif
66017
66018 int
66019 main ()
66020 {
66021 _fabsl(0);
66022 ;
66023 return 0;
66024 }
66025 _ACEOF
66026 rm -f conftest.$ac_objext
66027 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66028 (eval $ac_compile) 2>conftest.er1
66029 ac_status=$?
66030 grep -v '^ *+' conftest.er1 >conftest.err
66031 rm -f conftest.er1
66032 cat conftest.err >&5
66033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66034 (exit $ac_status); } &&
66035 { ac_try='test -z "$ac_cxx_werror_flag"
66036 || test ! -s conftest.err'
66037 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66038 (eval $ac_try) 2>&5
66039 ac_status=$?
66040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66041 (exit $ac_status); }; } &&
66042 { ac_try='test -s conftest.$ac_objext'
66043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66044 (eval $ac_try) 2>&5
66045 ac_status=$?
66046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66047 (exit $ac_status); }; }; then
66048 glibcxx_cv_func__fabsl_use=yes
66049 else
66050 echo "$as_me: failed program was:" >&5
66051 sed 's/^/| /' conftest.$ac_ext >&5
66052
66053 glibcxx_cv_func__fabsl_use=no
66054 fi
66055 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66056 ac_ext=c
66057 ac_cpp='$CPP $CPPFLAGS'
66058 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66059 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66060 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66061
66062
66063 fi
66064
66065 fi
66066 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsl_use" >&5
66067 echo "${ECHO_T}$glibcxx_cv_func__fabsl_use" >&6
66068
66069 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
66070
66071 for ac_func in _fabsl
66072 do
66073 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66074 echo "$as_me:$LINENO: checking for $ac_func" >&5
66075 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66076 if eval "test \"\${$as_ac_var+set}\" = set"; then
66077 echo $ECHO_N "(cached) $ECHO_C" >&6
66078 else
66079 if test x$gcc_no_link = xyes; then
66080 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66081 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66082 { (exit 1); exit 1; }; }
66083 fi
66084 cat >conftest.$ac_ext <<_ACEOF
66085 /* confdefs.h. */
66086 _ACEOF
66087 cat confdefs.h >>conftest.$ac_ext
66088 cat >>conftest.$ac_ext <<_ACEOF
66089 /* end confdefs.h. */
66090 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66091 For example, HP-UX 11i <limits.h> declares gettimeofday. */
66092 #define $ac_func innocuous_$ac_func
66093
66094 /* System header to define __stub macros and hopefully few prototypes,
66095 which can conflict with char $ac_func (); below.
66096 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66097 <limits.h> exists even on freestanding compilers. */
66098
66099 #ifdef __STDC__
66100 # include <limits.h>
66101 #else
66102 # include <assert.h>
66103 #endif
66104
66105 #undef $ac_func
66106
66107 /* Override any gcc2 internal prototype to avoid an error. */
66108 #ifdef __cplusplus
66109 extern "C"
66110 {
66111 #endif
66112 /* We use char because int might match the return type of a gcc2
66113 builtin and then its argument prototype would still apply. */
66114 char $ac_func ();
66115 /* The GNU C library defines this for functions which it implements
66116 to always fail with ENOSYS. Some functions are actually named
66117 something starting with __ and the normal name is an alias. */
66118 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66119 choke me
66120 #else
66121 char (*f) () = $ac_func;
66122 #endif
66123 #ifdef __cplusplus
66124 }
66125 #endif
66126
66127 int
66128 main ()
66129 {
66130 return f != $ac_func;
66131 ;
66132 return 0;
66133 }
66134 _ACEOF
66135 rm -f conftest.$ac_objext conftest$ac_exeext
66136 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66137 (eval $ac_link) 2>conftest.er1
66138 ac_status=$?
66139 grep -v '^ *+' conftest.er1 >conftest.err
66140 rm -f conftest.er1
66141 cat conftest.err >&5
66142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66143 (exit $ac_status); } &&
66144 { ac_try='test -z "$ac_c_werror_flag"
66145 || test ! -s conftest.err'
66146 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66147 (eval $ac_try) 2>&5
66148 ac_status=$?
66149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66150 (exit $ac_status); }; } &&
66151 { ac_try='test -s conftest$ac_exeext'
66152 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66153 (eval $ac_try) 2>&5
66154 ac_status=$?
66155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66156 (exit $ac_status); }; }; then
66157 eval "$as_ac_var=yes"
66158 else
66159 echo "$as_me: failed program was:" >&5
66160 sed 's/^/| /' conftest.$ac_ext >&5
66161
66162 eval "$as_ac_var=no"
66163 fi
66164 rm -f conftest.err conftest.$ac_objext \
66165 conftest$ac_exeext conftest.$ac_ext
66166 fi
66167 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66168 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66169 if test `eval echo '${'$as_ac_var'}'` = yes; then
66170 cat >>confdefs.h <<_ACEOF
66171 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66172 _ACEOF
66173
66174 fi
66175 done
66176
66177 fi
66178 fi
66179
66180
66181
66182
66183
66184
66185 echo "$as_me:$LINENO: checking for fmodl declaration" >&5
66186 echo $ECHO_N "checking for fmodl declaration... $ECHO_C" >&6
66187 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
66188 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then
66189 echo $ECHO_N "(cached) $ECHO_C" >&6
66190 else
66191
66192
66193
66194 ac_ext=cc
66195 ac_cpp='$CXXCPP $CPPFLAGS'
66196 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66197 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66198 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66199
66200 cat >conftest.$ac_ext <<_ACEOF
66201 /* confdefs.h. */
66202 _ACEOF
66203 cat confdefs.h >>conftest.$ac_ext
66204 cat >>conftest.$ac_ext <<_ACEOF
66205 /* end confdefs.h. */
66206 #include <math.h>
66207 int
66208 main ()
66209 {
66210 fmodl(0, 0);
66211 ;
66212 return 0;
66213 }
66214 _ACEOF
66215 rm -f conftest.$ac_objext
66216 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66217 (eval $ac_compile) 2>conftest.er1
66218 ac_status=$?
66219 grep -v '^ *+' conftest.er1 >conftest.err
66220 rm -f conftest.er1
66221 cat conftest.err >&5
66222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66223 (exit $ac_status); } &&
66224 { ac_try='test -z "$ac_cxx_werror_flag"
66225 || test ! -s conftest.err'
66226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66227 (eval $ac_try) 2>&5
66228 ac_status=$?
66229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66230 (exit $ac_status); }; } &&
66231 { ac_try='test -s conftest.$ac_objext'
66232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66233 (eval $ac_try) 2>&5
66234 ac_status=$?
66235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66236 (exit $ac_status); }; }; then
66237 glibcxx_cv_func_fmodl_use=yes
66238 else
66239 echo "$as_me: failed program was:" >&5
66240 sed 's/^/| /' conftest.$ac_ext >&5
66241
66242 glibcxx_cv_func_fmodl_use=no
66243 fi
66244 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66245 ac_ext=c
66246 ac_cpp='$CPP $CPPFLAGS'
66247 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66248 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66249 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66250
66251
66252 fi
66253
66254 fi
66255 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodl_use" >&5
66256 echo "${ECHO_T}$glibcxx_cv_func_fmodl_use" >&6
66257
66258 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
66259
66260 for ac_func in fmodl
66261 do
66262 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66263 echo "$as_me:$LINENO: checking for $ac_func" >&5
66264 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66265 if eval "test \"\${$as_ac_var+set}\" = set"; then
66266 echo $ECHO_N "(cached) $ECHO_C" >&6
66267 else
66268 if test x$gcc_no_link = xyes; then
66269 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66270 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66271 { (exit 1); exit 1; }; }
66272 fi
66273 cat >conftest.$ac_ext <<_ACEOF
66274 /* confdefs.h. */
66275 _ACEOF
66276 cat confdefs.h >>conftest.$ac_ext
66277 cat >>conftest.$ac_ext <<_ACEOF
66278 /* end confdefs.h. */
66279 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66280 For example, HP-UX 11i <limits.h> declares gettimeofday. */
66281 #define $ac_func innocuous_$ac_func
66282
66283 /* System header to define __stub macros and hopefully few prototypes,
66284 which can conflict with char $ac_func (); below.
66285 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66286 <limits.h> exists even on freestanding compilers. */
66287
66288 #ifdef __STDC__
66289 # include <limits.h>
66290 #else
66291 # include <assert.h>
66292 #endif
66293
66294 #undef $ac_func
66295
66296 /* Override any gcc2 internal prototype to avoid an error. */
66297 #ifdef __cplusplus
66298 extern "C"
66299 {
66300 #endif
66301 /* We use char because int might match the return type of a gcc2
66302 builtin and then its argument prototype would still apply. */
66303 char $ac_func ();
66304 /* The GNU C library defines this for functions which it implements
66305 to always fail with ENOSYS. Some functions are actually named
66306 something starting with __ and the normal name is an alias. */
66307 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66308 choke me
66309 #else
66310 char (*f) () = $ac_func;
66311 #endif
66312 #ifdef __cplusplus
66313 }
66314 #endif
66315
66316 int
66317 main ()
66318 {
66319 return f != $ac_func;
66320 ;
66321 return 0;
66322 }
66323 _ACEOF
66324 rm -f conftest.$ac_objext conftest$ac_exeext
66325 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66326 (eval $ac_link) 2>conftest.er1
66327 ac_status=$?
66328 grep -v '^ *+' conftest.er1 >conftest.err
66329 rm -f conftest.er1
66330 cat conftest.err >&5
66331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66332 (exit $ac_status); } &&
66333 { ac_try='test -z "$ac_c_werror_flag"
66334 || test ! -s conftest.err'
66335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66336 (eval $ac_try) 2>&5
66337 ac_status=$?
66338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66339 (exit $ac_status); }; } &&
66340 { ac_try='test -s conftest$ac_exeext'
66341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66342 (eval $ac_try) 2>&5
66343 ac_status=$?
66344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66345 (exit $ac_status); }; }; then
66346 eval "$as_ac_var=yes"
66347 else
66348 echo "$as_me: failed program was:" >&5
66349 sed 's/^/| /' conftest.$ac_ext >&5
66350
66351 eval "$as_ac_var=no"
66352 fi
66353 rm -f conftest.err conftest.$ac_objext \
66354 conftest$ac_exeext conftest.$ac_ext
66355 fi
66356 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66357 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66358 if test `eval echo '${'$as_ac_var'}'` = yes; then
66359 cat >>confdefs.h <<_ACEOF
66360 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66361 _ACEOF
66362
66363 fi
66364 done
66365
66366 else
66367
66368 echo "$as_me:$LINENO: checking for _fmodl declaration" >&5
66369 echo $ECHO_N "checking for _fmodl declaration... $ECHO_C" >&6
66370 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
66371 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then
66372 echo $ECHO_N "(cached) $ECHO_C" >&6
66373 else
66374
66375
66376
66377 ac_ext=cc
66378 ac_cpp='$CXXCPP $CPPFLAGS'
66379 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66380 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66381 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66382
66383 cat >conftest.$ac_ext <<_ACEOF
66384 /* confdefs.h. */
66385 _ACEOF
66386 cat confdefs.h >>conftest.$ac_ext
66387 cat >>conftest.$ac_ext <<_ACEOF
66388 /* end confdefs.h. */
66389 #include <math.h>
66390 int
66391 main ()
66392 {
66393 _fmodl(0, 0);
66394 ;
66395 return 0;
66396 }
66397 _ACEOF
66398 rm -f conftest.$ac_objext
66399 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66400 (eval $ac_compile) 2>conftest.er1
66401 ac_status=$?
66402 grep -v '^ *+' conftest.er1 >conftest.err
66403 rm -f conftest.er1
66404 cat conftest.err >&5
66405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66406 (exit $ac_status); } &&
66407 { ac_try='test -z "$ac_cxx_werror_flag"
66408 || test ! -s conftest.err'
66409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66410 (eval $ac_try) 2>&5
66411 ac_status=$?
66412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66413 (exit $ac_status); }; } &&
66414 { ac_try='test -s conftest.$ac_objext'
66415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66416 (eval $ac_try) 2>&5
66417 ac_status=$?
66418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66419 (exit $ac_status); }; }; then
66420 glibcxx_cv_func__fmodl_use=yes
66421 else
66422 echo "$as_me: failed program was:" >&5
66423 sed 's/^/| /' conftest.$ac_ext >&5
66424
66425 glibcxx_cv_func__fmodl_use=no
66426 fi
66427 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66428 ac_ext=c
66429 ac_cpp='$CPP $CPPFLAGS'
66430 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66431 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66432 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66433
66434
66435 fi
66436
66437 fi
66438 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodl_use" >&5
66439 echo "${ECHO_T}$glibcxx_cv_func__fmodl_use" >&6
66440
66441 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
66442
66443 for ac_func in _fmodl
66444 do
66445 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66446 echo "$as_me:$LINENO: checking for $ac_func" >&5
66447 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66448 if eval "test \"\${$as_ac_var+set}\" = set"; then
66449 echo $ECHO_N "(cached) $ECHO_C" >&6
66450 else
66451 if test x$gcc_no_link = xyes; then
66452 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66453 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66454 { (exit 1); exit 1; }; }
66455 fi
66456 cat >conftest.$ac_ext <<_ACEOF
66457 /* confdefs.h. */
66458 _ACEOF
66459 cat confdefs.h >>conftest.$ac_ext
66460 cat >>conftest.$ac_ext <<_ACEOF
66461 /* end confdefs.h. */
66462 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66463 For example, HP-UX 11i <limits.h> declares gettimeofday. */
66464 #define $ac_func innocuous_$ac_func
66465
66466 /* System header to define __stub macros and hopefully few prototypes,
66467 which can conflict with char $ac_func (); below.
66468 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66469 <limits.h> exists even on freestanding compilers. */
66470
66471 #ifdef __STDC__
66472 # include <limits.h>
66473 #else
66474 # include <assert.h>
66475 #endif
66476
66477 #undef $ac_func
66478
66479 /* Override any gcc2 internal prototype to avoid an error. */
66480 #ifdef __cplusplus
66481 extern "C"
66482 {
66483 #endif
66484 /* We use char because int might match the return type of a gcc2
66485 builtin and then its argument prototype would still apply. */
66486 char $ac_func ();
66487 /* The GNU C library defines this for functions which it implements
66488 to always fail with ENOSYS. Some functions are actually named
66489 something starting with __ and the normal name is an alias. */
66490 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66491 choke me
66492 #else
66493 char (*f) () = $ac_func;
66494 #endif
66495 #ifdef __cplusplus
66496 }
66497 #endif
66498
66499 int
66500 main ()
66501 {
66502 return f != $ac_func;
66503 ;
66504 return 0;
66505 }
66506 _ACEOF
66507 rm -f conftest.$ac_objext conftest$ac_exeext
66508 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66509 (eval $ac_link) 2>conftest.er1
66510 ac_status=$?
66511 grep -v '^ *+' conftest.er1 >conftest.err
66512 rm -f conftest.er1
66513 cat conftest.err >&5
66514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66515 (exit $ac_status); } &&
66516 { ac_try='test -z "$ac_c_werror_flag"
66517 || test ! -s conftest.err'
66518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66519 (eval $ac_try) 2>&5
66520 ac_status=$?
66521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66522 (exit $ac_status); }; } &&
66523 { ac_try='test -s conftest$ac_exeext'
66524 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66525 (eval $ac_try) 2>&5
66526 ac_status=$?
66527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66528 (exit $ac_status); }; }; then
66529 eval "$as_ac_var=yes"
66530 else
66531 echo "$as_me: failed program was:" >&5
66532 sed 's/^/| /' conftest.$ac_ext >&5
66533
66534 eval "$as_ac_var=no"
66535 fi
66536 rm -f conftest.err conftest.$ac_objext \
66537 conftest$ac_exeext conftest.$ac_ext
66538 fi
66539 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66540 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66541 if test `eval echo '${'$as_ac_var'}'` = yes; then
66542 cat >>confdefs.h <<_ACEOF
66543 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66544 _ACEOF
66545
66546 fi
66547 done
66548
66549 fi
66550 fi
66551
66552
66553
66554
66555
66556
66557 echo "$as_me:$LINENO: checking for frexpl declaration" >&5
66558 echo $ECHO_N "checking for frexpl declaration... $ECHO_C" >&6
66559 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
66560 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then
66561 echo $ECHO_N "(cached) $ECHO_C" >&6
66562 else
66563
66564
66565
66566 ac_ext=cc
66567 ac_cpp='$CXXCPP $CPPFLAGS'
66568 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66569 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66570 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66571
66572 cat >conftest.$ac_ext <<_ACEOF
66573 /* confdefs.h. */
66574 _ACEOF
66575 cat confdefs.h >>conftest.$ac_ext
66576 cat >>conftest.$ac_ext <<_ACEOF
66577 /* end confdefs.h. */
66578 #include <math.h>
66579 int
66580 main ()
66581 {
66582 frexpl(0, 0);
66583 ;
66584 return 0;
66585 }
66586 _ACEOF
66587 rm -f conftest.$ac_objext
66588 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66589 (eval $ac_compile) 2>conftest.er1
66590 ac_status=$?
66591 grep -v '^ *+' conftest.er1 >conftest.err
66592 rm -f conftest.er1
66593 cat conftest.err >&5
66594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66595 (exit $ac_status); } &&
66596 { ac_try='test -z "$ac_cxx_werror_flag"
66597 || test ! -s conftest.err'
66598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66599 (eval $ac_try) 2>&5
66600 ac_status=$?
66601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66602 (exit $ac_status); }; } &&
66603 { ac_try='test -s conftest.$ac_objext'
66604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66605 (eval $ac_try) 2>&5
66606 ac_status=$?
66607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66608 (exit $ac_status); }; }; then
66609 glibcxx_cv_func_frexpl_use=yes
66610 else
66611 echo "$as_me: failed program was:" >&5
66612 sed 's/^/| /' conftest.$ac_ext >&5
66613
66614 glibcxx_cv_func_frexpl_use=no
66615 fi
66616 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66617 ac_ext=c
66618 ac_cpp='$CPP $CPPFLAGS'
66619 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66620 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66621 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66622
66623
66624 fi
66625
66626 fi
66627 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpl_use" >&5
66628 echo "${ECHO_T}$glibcxx_cv_func_frexpl_use" >&6
66629
66630 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
66631
66632 for ac_func in frexpl
66633 do
66634 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66635 echo "$as_me:$LINENO: checking for $ac_func" >&5
66636 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66637 if eval "test \"\${$as_ac_var+set}\" = set"; then
66638 echo $ECHO_N "(cached) $ECHO_C" >&6
66639 else
66640 if test x$gcc_no_link = xyes; then
66641 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66642 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66643 { (exit 1); exit 1; }; }
66644 fi
66645 cat >conftest.$ac_ext <<_ACEOF
66646 /* confdefs.h. */
66647 _ACEOF
66648 cat confdefs.h >>conftest.$ac_ext
66649 cat >>conftest.$ac_ext <<_ACEOF
66650 /* end confdefs.h. */
66651 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66652 For example, HP-UX 11i <limits.h> declares gettimeofday. */
66653 #define $ac_func innocuous_$ac_func
66654
66655 /* System header to define __stub macros and hopefully few prototypes,
66656 which can conflict with char $ac_func (); below.
66657 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66658 <limits.h> exists even on freestanding compilers. */
66659
66660 #ifdef __STDC__
66661 # include <limits.h>
66662 #else
66663 # include <assert.h>
66664 #endif
66665
66666 #undef $ac_func
66667
66668 /* Override any gcc2 internal prototype to avoid an error. */
66669 #ifdef __cplusplus
66670 extern "C"
66671 {
66672 #endif
66673 /* We use char because int might match the return type of a gcc2
66674 builtin and then its argument prototype would still apply. */
66675 char $ac_func ();
66676 /* The GNU C library defines this for functions which it implements
66677 to always fail with ENOSYS. Some functions are actually named
66678 something starting with __ and the normal name is an alias. */
66679 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66680 choke me
66681 #else
66682 char (*f) () = $ac_func;
66683 #endif
66684 #ifdef __cplusplus
66685 }
66686 #endif
66687
66688 int
66689 main ()
66690 {
66691 return f != $ac_func;
66692 ;
66693 return 0;
66694 }
66695 _ACEOF
66696 rm -f conftest.$ac_objext conftest$ac_exeext
66697 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66698 (eval $ac_link) 2>conftest.er1
66699 ac_status=$?
66700 grep -v '^ *+' conftest.er1 >conftest.err
66701 rm -f conftest.er1
66702 cat conftest.err >&5
66703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66704 (exit $ac_status); } &&
66705 { ac_try='test -z "$ac_c_werror_flag"
66706 || test ! -s conftest.err'
66707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66708 (eval $ac_try) 2>&5
66709 ac_status=$?
66710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66711 (exit $ac_status); }; } &&
66712 { ac_try='test -s conftest$ac_exeext'
66713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66714 (eval $ac_try) 2>&5
66715 ac_status=$?
66716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66717 (exit $ac_status); }; }; then
66718 eval "$as_ac_var=yes"
66719 else
66720 echo "$as_me: failed program was:" >&5
66721 sed 's/^/| /' conftest.$ac_ext >&5
66722
66723 eval "$as_ac_var=no"
66724 fi
66725 rm -f conftest.err conftest.$ac_objext \
66726 conftest$ac_exeext conftest.$ac_ext
66727 fi
66728 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66729 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66730 if test `eval echo '${'$as_ac_var'}'` = yes; then
66731 cat >>confdefs.h <<_ACEOF
66732 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66733 _ACEOF
66734
66735 fi
66736 done
66737
66738 else
66739
66740 echo "$as_me:$LINENO: checking for _frexpl declaration" >&5
66741 echo $ECHO_N "checking for _frexpl declaration... $ECHO_C" >&6
66742 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
66743 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then
66744 echo $ECHO_N "(cached) $ECHO_C" >&6
66745 else
66746
66747
66748
66749 ac_ext=cc
66750 ac_cpp='$CXXCPP $CPPFLAGS'
66751 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66752 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66753 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66754
66755 cat >conftest.$ac_ext <<_ACEOF
66756 /* confdefs.h. */
66757 _ACEOF
66758 cat confdefs.h >>conftest.$ac_ext
66759 cat >>conftest.$ac_ext <<_ACEOF
66760 /* end confdefs.h. */
66761 #include <math.h>
66762 int
66763 main ()
66764 {
66765 _frexpl(0, 0);
66766 ;
66767 return 0;
66768 }
66769 _ACEOF
66770 rm -f conftest.$ac_objext
66771 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66772 (eval $ac_compile) 2>conftest.er1
66773 ac_status=$?
66774 grep -v '^ *+' conftest.er1 >conftest.err
66775 rm -f conftest.er1
66776 cat conftest.err >&5
66777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66778 (exit $ac_status); } &&
66779 { ac_try='test -z "$ac_cxx_werror_flag"
66780 || test ! -s conftest.err'
66781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66782 (eval $ac_try) 2>&5
66783 ac_status=$?
66784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66785 (exit $ac_status); }; } &&
66786 { ac_try='test -s conftest.$ac_objext'
66787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66788 (eval $ac_try) 2>&5
66789 ac_status=$?
66790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66791 (exit $ac_status); }; }; then
66792 glibcxx_cv_func__frexpl_use=yes
66793 else
66794 echo "$as_me: failed program was:" >&5
66795 sed 's/^/| /' conftest.$ac_ext >&5
66796
66797 glibcxx_cv_func__frexpl_use=no
66798 fi
66799 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66800 ac_ext=c
66801 ac_cpp='$CPP $CPPFLAGS'
66802 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66803 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66804 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66805
66806
66807 fi
66808
66809 fi
66810 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpl_use" >&5
66811 echo "${ECHO_T}$glibcxx_cv_func__frexpl_use" >&6
66812
66813 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
66814
66815 for ac_func in _frexpl
66816 do
66817 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66818 echo "$as_me:$LINENO: checking for $ac_func" >&5
66819 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66820 if eval "test \"\${$as_ac_var+set}\" = set"; then
66821 echo $ECHO_N "(cached) $ECHO_C" >&6
66822 else
66823 if test x$gcc_no_link = xyes; then
66824 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66825 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66826 { (exit 1); exit 1; }; }
66827 fi
66828 cat >conftest.$ac_ext <<_ACEOF
66829 /* confdefs.h. */
66830 _ACEOF
66831 cat confdefs.h >>conftest.$ac_ext
66832 cat >>conftest.$ac_ext <<_ACEOF
66833 /* end confdefs.h. */
66834 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66835 For example, HP-UX 11i <limits.h> declares gettimeofday. */
66836 #define $ac_func innocuous_$ac_func
66837
66838 /* System header to define __stub macros and hopefully few prototypes,
66839 which can conflict with char $ac_func (); below.
66840 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66841 <limits.h> exists even on freestanding compilers. */
66842
66843 #ifdef __STDC__
66844 # include <limits.h>
66845 #else
66846 # include <assert.h>
66847 #endif
66848
66849 #undef $ac_func
66850
66851 /* Override any gcc2 internal prototype to avoid an error. */
66852 #ifdef __cplusplus
66853 extern "C"
66854 {
66855 #endif
66856 /* We use char because int might match the return type of a gcc2
66857 builtin and then its argument prototype would still apply. */
66858 char $ac_func ();
66859 /* The GNU C library defines this for functions which it implements
66860 to always fail with ENOSYS. Some functions are actually named
66861 something starting with __ and the normal name is an alias. */
66862 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66863 choke me
66864 #else
66865 char (*f) () = $ac_func;
66866 #endif
66867 #ifdef __cplusplus
66868 }
66869 #endif
66870
66871 int
66872 main ()
66873 {
66874 return f != $ac_func;
66875 ;
66876 return 0;
66877 }
66878 _ACEOF
66879 rm -f conftest.$ac_objext conftest$ac_exeext
66880 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66881 (eval $ac_link) 2>conftest.er1
66882 ac_status=$?
66883 grep -v '^ *+' conftest.er1 >conftest.err
66884 rm -f conftest.er1
66885 cat conftest.err >&5
66886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66887 (exit $ac_status); } &&
66888 { ac_try='test -z "$ac_c_werror_flag"
66889 || test ! -s conftest.err'
66890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66891 (eval $ac_try) 2>&5
66892 ac_status=$?
66893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66894 (exit $ac_status); }; } &&
66895 { ac_try='test -s conftest$ac_exeext'
66896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66897 (eval $ac_try) 2>&5
66898 ac_status=$?
66899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66900 (exit $ac_status); }; }; then
66901 eval "$as_ac_var=yes"
66902 else
66903 echo "$as_me: failed program was:" >&5
66904 sed 's/^/| /' conftest.$ac_ext >&5
66905
66906 eval "$as_ac_var=no"
66907 fi
66908 rm -f conftest.err conftest.$ac_objext \
66909 conftest$ac_exeext conftest.$ac_ext
66910 fi
66911 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66912 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66913 if test `eval echo '${'$as_ac_var'}'` = yes; then
66914 cat >>confdefs.h <<_ACEOF
66915 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66916 _ACEOF
66917
66918 fi
66919 done
66920
66921 fi
66922 fi
66923
66924
66925
66926
66927
66928
66929 echo "$as_me:$LINENO: checking for hypotl declaration" >&5
66930 echo $ECHO_N "checking for hypotl declaration... $ECHO_C" >&6
66931 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
66932 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then
66933 echo $ECHO_N "(cached) $ECHO_C" >&6
66934 else
66935
66936
66937
66938 ac_ext=cc
66939 ac_cpp='$CXXCPP $CPPFLAGS'
66940 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66941 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66942 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66943
66944 cat >conftest.$ac_ext <<_ACEOF
66945 /* confdefs.h. */
66946 _ACEOF
66947 cat confdefs.h >>conftest.$ac_ext
66948 cat >>conftest.$ac_ext <<_ACEOF
66949 /* end confdefs.h. */
66950 #include <math.h>
66951 int
66952 main ()
66953 {
66954 hypotl(0, 0);
66955 ;
66956 return 0;
66957 }
66958 _ACEOF
66959 rm -f conftest.$ac_objext
66960 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66961 (eval $ac_compile) 2>conftest.er1
66962 ac_status=$?
66963 grep -v '^ *+' conftest.er1 >conftest.err
66964 rm -f conftest.er1
66965 cat conftest.err >&5
66966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66967 (exit $ac_status); } &&
66968 { ac_try='test -z "$ac_cxx_werror_flag"
66969 || test ! -s conftest.err'
66970 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66971 (eval $ac_try) 2>&5
66972 ac_status=$?
66973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66974 (exit $ac_status); }; } &&
66975 { ac_try='test -s conftest.$ac_objext'
66976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66977 (eval $ac_try) 2>&5
66978 ac_status=$?
66979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66980 (exit $ac_status); }; }; then
66981 glibcxx_cv_func_hypotl_use=yes
66982 else
66983 echo "$as_me: failed program was:" >&5
66984 sed 's/^/| /' conftest.$ac_ext >&5
66985
66986 glibcxx_cv_func_hypotl_use=no
66987 fi
66988 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66989 ac_ext=c
66990 ac_cpp='$CPP $CPPFLAGS'
66991 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66992 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66993 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66994
66995
66996 fi
66997
66998 fi
66999 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotl_use" >&5
67000 echo "${ECHO_T}$glibcxx_cv_func_hypotl_use" >&6
67001
67002 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
67003
67004 for ac_func in hypotl
67005 do
67006 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67007 echo "$as_me:$LINENO: checking for $ac_func" >&5
67008 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67009 if eval "test \"\${$as_ac_var+set}\" = set"; then
67010 echo $ECHO_N "(cached) $ECHO_C" >&6
67011 else
67012 if test x$gcc_no_link = xyes; then
67013 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67014 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67015 { (exit 1); exit 1; }; }
67016 fi
67017 cat >conftest.$ac_ext <<_ACEOF
67018 /* confdefs.h. */
67019 _ACEOF
67020 cat confdefs.h >>conftest.$ac_ext
67021 cat >>conftest.$ac_ext <<_ACEOF
67022 /* end confdefs.h. */
67023 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67024 For example, HP-UX 11i <limits.h> declares gettimeofday. */
67025 #define $ac_func innocuous_$ac_func
67026
67027 /* System header to define __stub macros and hopefully few prototypes,
67028 which can conflict with char $ac_func (); below.
67029 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67030 <limits.h> exists even on freestanding compilers. */
67031
67032 #ifdef __STDC__
67033 # include <limits.h>
67034 #else
67035 # include <assert.h>
67036 #endif
67037
67038 #undef $ac_func
67039
67040 /* Override any gcc2 internal prototype to avoid an error. */
67041 #ifdef __cplusplus
67042 extern "C"
67043 {
67044 #endif
67045 /* We use char because int might match the return type of a gcc2
67046 builtin and then its argument prototype would still apply. */
67047 char $ac_func ();
67048 /* The GNU C library defines this for functions which it implements
67049 to always fail with ENOSYS. Some functions are actually named
67050 something starting with __ and the normal name is an alias. */
67051 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67052 choke me
67053 #else
67054 char (*f) () = $ac_func;
67055 #endif
67056 #ifdef __cplusplus
67057 }
67058 #endif
67059
67060 int
67061 main ()
67062 {
67063 return f != $ac_func;
67064 ;
67065 return 0;
67066 }
67067 _ACEOF
67068 rm -f conftest.$ac_objext conftest$ac_exeext
67069 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67070 (eval $ac_link) 2>conftest.er1
67071 ac_status=$?
67072 grep -v '^ *+' conftest.er1 >conftest.err
67073 rm -f conftest.er1
67074 cat conftest.err >&5
67075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67076 (exit $ac_status); } &&
67077 { ac_try='test -z "$ac_c_werror_flag"
67078 || test ! -s conftest.err'
67079 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67080 (eval $ac_try) 2>&5
67081 ac_status=$?
67082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67083 (exit $ac_status); }; } &&
67084 { ac_try='test -s conftest$ac_exeext'
67085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67086 (eval $ac_try) 2>&5
67087 ac_status=$?
67088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67089 (exit $ac_status); }; }; then
67090 eval "$as_ac_var=yes"
67091 else
67092 echo "$as_me: failed program was:" >&5
67093 sed 's/^/| /' conftest.$ac_ext >&5
67094
67095 eval "$as_ac_var=no"
67096 fi
67097 rm -f conftest.err conftest.$ac_objext \
67098 conftest$ac_exeext conftest.$ac_ext
67099 fi
67100 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67101 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67102 if test `eval echo '${'$as_ac_var'}'` = yes; then
67103 cat >>confdefs.h <<_ACEOF
67104 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67105 _ACEOF
67106
67107 fi
67108 done
67109
67110 else
67111
67112 echo "$as_me:$LINENO: checking for _hypotl declaration" >&5
67113 echo $ECHO_N "checking for _hypotl declaration... $ECHO_C" >&6
67114 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
67115 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then
67116 echo $ECHO_N "(cached) $ECHO_C" >&6
67117 else
67118
67119
67120
67121 ac_ext=cc
67122 ac_cpp='$CXXCPP $CPPFLAGS'
67123 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67124 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67125 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67126
67127 cat >conftest.$ac_ext <<_ACEOF
67128 /* confdefs.h. */
67129 _ACEOF
67130 cat confdefs.h >>conftest.$ac_ext
67131 cat >>conftest.$ac_ext <<_ACEOF
67132 /* end confdefs.h. */
67133 #include <math.h>
67134 int
67135 main ()
67136 {
67137 _hypotl(0, 0);
67138 ;
67139 return 0;
67140 }
67141 _ACEOF
67142 rm -f conftest.$ac_objext
67143 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67144 (eval $ac_compile) 2>conftest.er1
67145 ac_status=$?
67146 grep -v '^ *+' conftest.er1 >conftest.err
67147 rm -f conftest.er1
67148 cat conftest.err >&5
67149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67150 (exit $ac_status); } &&
67151 { ac_try='test -z "$ac_cxx_werror_flag"
67152 || test ! -s conftest.err'
67153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67154 (eval $ac_try) 2>&5
67155 ac_status=$?
67156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67157 (exit $ac_status); }; } &&
67158 { ac_try='test -s conftest.$ac_objext'
67159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67160 (eval $ac_try) 2>&5
67161 ac_status=$?
67162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67163 (exit $ac_status); }; }; then
67164 glibcxx_cv_func__hypotl_use=yes
67165 else
67166 echo "$as_me: failed program was:" >&5
67167 sed 's/^/| /' conftest.$ac_ext >&5
67168
67169 glibcxx_cv_func__hypotl_use=no
67170 fi
67171 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67172 ac_ext=c
67173 ac_cpp='$CPP $CPPFLAGS'
67174 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67175 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67176 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67177
67178
67179 fi
67180
67181 fi
67182 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotl_use" >&5
67183 echo "${ECHO_T}$glibcxx_cv_func__hypotl_use" >&6
67184
67185 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
67186
67187 for ac_func in _hypotl
67188 do
67189 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67190 echo "$as_me:$LINENO: checking for $ac_func" >&5
67191 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67192 if eval "test \"\${$as_ac_var+set}\" = set"; then
67193 echo $ECHO_N "(cached) $ECHO_C" >&6
67194 else
67195 if test x$gcc_no_link = xyes; then
67196 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67197 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67198 { (exit 1); exit 1; }; }
67199 fi
67200 cat >conftest.$ac_ext <<_ACEOF
67201 /* confdefs.h. */
67202 _ACEOF
67203 cat confdefs.h >>conftest.$ac_ext
67204 cat >>conftest.$ac_ext <<_ACEOF
67205 /* end confdefs.h. */
67206 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67207 For example, HP-UX 11i <limits.h> declares gettimeofday. */
67208 #define $ac_func innocuous_$ac_func
67209
67210 /* System header to define __stub macros and hopefully few prototypes,
67211 which can conflict with char $ac_func (); below.
67212 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67213 <limits.h> exists even on freestanding compilers. */
67214
67215 #ifdef __STDC__
67216 # include <limits.h>
67217 #else
67218 # include <assert.h>
67219 #endif
67220
67221 #undef $ac_func
67222
67223 /* Override any gcc2 internal prototype to avoid an error. */
67224 #ifdef __cplusplus
67225 extern "C"
67226 {
67227 #endif
67228 /* We use char because int might match the return type of a gcc2
67229 builtin and then its argument prototype would still apply. */
67230 char $ac_func ();
67231 /* The GNU C library defines this for functions which it implements
67232 to always fail with ENOSYS. Some functions are actually named
67233 something starting with __ and the normal name is an alias. */
67234 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67235 choke me
67236 #else
67237 char (*f) () = $ac_func;
67238 #endif
67239 #ifdef __cplusplus
67240 }
67241 #endif
67242
67243 int
67244 main ()
67245 {
67246 return f != $ac_func;
67247 ;
67248 return 0;
67249 }
67250 _ACEOF
67251 rm -f conftest.$ac_objext conftest$ac_exeext
67252 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67253 (eval $ac_link) 2>conftest.er1
67254 ac_status=$?
67255 grep -v '^ *+' conftest.er1 >conftest.err
67256 rm -f conftest.er1
67257 cat conftest.err >&5
67258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67259 (exit $ac_status); } &&
67260 { ac_try='test -z "$ac_c_werror_flag"
67261 || test ! -s conftest.err'
67262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67263 (eval $ac_try) 2>&5
67264 ac_status=$?
67265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67266 (exit $ac_status); }; } &&
67267 { ac_try='test -s conftest$ac_exeext'
67268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67269 (eval $ac_try) 2>&5
67270 ac_status=$?
67271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67272 (exit $ac_status); }; }; then
67273 eval "$as_ac_var=yes"
67274 else
67275 echo "$as_me: failed program was:" >&5
67276 sed 's/^/| /' conftest.$ac_ext >&5
67277
67278 eval "$as_ac_var=no"
67279 fi
67280 rm -f conftest.err conftest.$ac_objext \
67281 conftest$ac_exeext conftest.$ac_ext
67282 fi
67283 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67284 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67285 if test `eval echo '${'$as_ac_var'}'` = yes; then
67286 cat >>confdefs.h <<_ACEOF
67287 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67288 _ACEOF
67289
67290 fi
67291 done
67292
67293 fi
67294 fi
67295
67296
67297
67298
67299
67300
67301 echo "$as_me:$LINENO: checking for ldexpl declaration" >&5
67302 echo $ECHO_N "checking for ldexpl declaration... $ECHO_C" >&6
67303 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
67304 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then
67305 echo $ECHO_N "(cached) $ECHO_C" >&6
67306 else
67307
67308
67309
67310 ac_ext=cc
67311 ac_cpp='$CXXCPP $CPPFLAGS'
67312 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67313 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67314 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67315
67316 cat >conftest.$ac_ext <<_ACEOF
67317 /* confdefs.h. */
67318 _ACEOF
67319 cat confdefs.h >>conftest.$ac_ext
67320 cat >>conftest.$ac_ext <<_ACEOF
67321 /* end confdefs.h. */
67322 #include <math.h>
67323 int
67324 main ()
67325 {
67326 ldexpl(0, 0);
67327 ;
67328 return 0;
67329 }
67330 _ACEOF
67331 rm -f conftest.$ac_objext
67332 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67333 (eval $ac_compile) 2>conftest.er1
67334 ac_status=$?
67335 grep -v '^ *+' conftest.er1 >conftest.err
67336 rm -f conftest.er1
67337 cat conftest.err >&5
67338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67339 (exit $ac_status); } &&
67340 { ac_try='test -z "$ac_cxx_werror_flag"
67341 || test ! -s conftest.err'
67342 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67343 (eval $ac_try) 2>&5
67344 ac_status=$?
67345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67346 (exit $ac_status); }; } &&
67347 { ac_try='test -s conftest.$ac_objext'
67348 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67349 (eval $ac_try) 2>&5
67350 ac_status=$?
67351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67352 (exit $ac_status); }; }; then
67353 glibcxx_cv_func_ldexpl_use=yes
67354 else
67355 echo "$as_me: failed program was:" >&5
67356 sed 's/^/| /' conftest.$ac_ext >&5
67357
67358 glibcxx_cv_func_ldexpl_use=no
67359 fi
67360 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67361 ac_ext=c
67362 ac_cpp='$CPP $CPPFLAGS'
67363 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67364 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67365 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67366
67367
67368 fi
67369
67370 fi
67371 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpl_use" >&5
67372 echo "${ECHO_T}$glibcxx_cv_func_ldexpl_use" >&6
67373
67374 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
67375
67376 for ac_func in ldexpl
67377 do
67378 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67379 echo "$as_me:$LINENO: checking for $ac_func" >&5
67380 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67381 if eval "test \"\${$as_ac_var+set}\" = set"; then
67382 echo $ECHO_N "(cached) $ECHO_C" >&6
67383 else
67384 if test x$gcc_no_link = xyes; then
67385 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67386 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67387 { (exit 1); exit 1; }; }
67388 fi
67389 cat >conftest.$ac_ext <<_ACEOF
67390 /* confdefs.h. */
67391 _ACEOF
67392 cat confdefs.h >>conftest.$ac_ext
67393 cat >>conftest.$ac_ext <<_ACEOF
67394 /* end confdefs.h. */
67395 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67396 For example, HP-UX 11i <limits.h> declares gettimeofday. */
67397 #define $ac_func innocuous_$ac_func
67398
67399 /* System header to define __stub macros and hopefully few prototypes,
67400 which can conflict with char $ac_func (); below.
67401 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67402 <limits.h> exists even on freestanding compilers. */
67403
67404 #ifdef __STDC__
67405 # include <limits.h>
67406 #else
67407 # include <assert.h>
67408 #endif
67409
67410 #undef $ac_func
67411
67412 /* Override any gcc2 internal prototype to avoid an error. */
67413 #ifdef __cplusplus
67414 extern "C"
67415 {
67416 #endif
67417 /* We use char because int might match the return type of a gcc2
67418 builtin and then its argument prototype would still apply. */
67419 char $ac_func ();
67420 /* The GNU C library defines this for functions which it implements
67421 to always fail with ENOSYS. Some functions are actually named
67422 something starting with __ and the normal name is an alias. */
67423 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67424 choke me
67425 #else
67426 char (*f) () = $ac_func;
67427 #endif
67428 #ifdef __cplusplus
67429 }
67430 #endif
67431
67432 int
67433 main ()
67434 {
67435 return f != $ac_func;
67436 ;
67437 return 0;
67438 }
67439 _ACEOF
67440 rm -f conftest.$ac_objext conftest$ac_exeext
67441 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67442 (eval $ac_link) 2>conftest.er1
67443 ac_status=$?
67444 grep -v '^ *+' conftest.er1 >conftest.err
67445 rm -f conftest.er1
67446 cat conftest.err >&5
67447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67448 (exit $ac_status); } &&
67449 { ac_try='test -z "$ac_c_werror_flag"
67450 || test ! -s conftest.err'
67451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67452 (eval $ac_try) 2>&5
67453 ac_status=$?
67454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67455 (exit $ac_status); }; } &&
67456 { ac_try='test -s conftest$ac_exeext'
67457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67458 (eval $ac_try) 2>&5
67459 ac_status=$?
67460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67461 (exit $ac_status); }; }; then
67462 eval "$as_ac_var=yes"
67463 else
67464 echo "$as_me: failed program was:" >&5
67465 sed 's/^/| /' conftest.$ac_ext >&5
67466
67467 eval "$as_ac_var=no"
67468 fi
67469 rm -f conftest.err conftest.$ac_objext \
67470 conftest$ac_exeext conftest.$ac_ext
67471 fi
67472 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67473 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67474 if test `eval echo '${'$as_ac_var'}'` = yes; then
67475 cat >>confdefs.h <<_ACEOF
67476 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67477 _ACEOF
67478
67479 fi
67480 done
67481
67482 else
67483
67484 echo "$as_me:$LINENO: checking for _ldexpl declaration" >&5
67485 echo $ECHO_N "checking for _ldexpl declaration... $ECHO_C" >&6
67486 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
67487 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then
67488 echo $ECHO_N "(cached) $ECHO_C" >&6
67489 else
67490
67491
67492
67493 ac_ext=cc
67494 ac_cpp='$CXXCPP $CPPFLAGS'
67495 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67496 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67497 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67498
67499 cat >conftest.$ac_ext <<_ACEOF
67500 /* confdefs.h. */
67501 _ACEOF
67502 cat confdefs.h >>conftest.$ac_ext
67503 cat >>conftest.$ac_ext <<_ACEOF
67504 /* end confdefs.h. */
67505 #include <math.h>
67506 int
67507 main ()
67508 {
67509 _ldexpl(0, 0);
67510 ;
67511 return 0;
67512 }
67513 _ACEOF
67514 rm -f conftest.$ac_objext
67515 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67516 (eval $ac_compile) 2>conftest.er1
67517 ac_status=$?
67518 grep -v '^ *+' conftest.er1 >conftest.err
67519 rm -f conftest.er1
67520 cat conftest.err >&5
67521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67522 (exit $ac_status); } &&
67523 { ac_try='test -z "$ac_cxx_werror_flag"
67524 || test ! -s conftest.err'
67525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67526 (eval $ac_try) 2>&5
67527 ac_status=$?
67528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67529 (exit $ac_status); }; } &&
67530 { ac_try='test -s conftest.$ac_objext'
67531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67532 (eval $ac_try) 2>&5
67533 ac_status=$?
67534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67535 (exit $ac_status); }; }; then
67536 glibcxx_cv_func__ldexpl_use=yes
67537 else
67538 echo "$as_me: failed program was:" >&5
67539 sed 's/^/| /' conftest.$ac_ext >&5
67540
67541 glibcxx_cv_func__ldexpl_use=no
67542 fi
67543 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67544 ac_ext=c
67545 ac_cpp='$CPP $CPPFLAGS'
67546 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67547 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67548 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67549
67550
67551 fi
67552
67553 fi
67554 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpl_use" >&5
67555 echo "${ECHO_T}$glibcxx_cv_func__ldexpl_use" >&6
67556
67557 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
67558
67559 for ac_func in _ldexpl
67560 do
67561 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67562 echo "$as_me:$LINENO: checking for $ac_func" >&5
67563 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67564 if eval "test \"\${$as_ac_var+set}\" = set"; then
67565 echo $ECHO_N "(cached) $ECHO_C" >&6
67566 else
67567 if test x$gcc_no_link = xyes; then
67568 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67569 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67570 { (exit 1); exit 1; }; }
67571 fi
67572 cat >conftest.$ac_ext <<_ACEOF
67573 /* confdefs.h. */
67574 _ACEOF
67575 cat confdefs.h >>conftest.$ac_ext
67576 cat >>conftest.$ac_ext <<_ACEOF
67577 /* end confdefs.h. */
67578 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67579 For example, HP-UX 11i <limits.h> declares gettimeofday. */
67580 #define $ac_func innocuous_$ac_func
67581
67582 /* System header to define __stub macros and hopefully few prototypes,
67583 which can conflict with char $ac_func (); below.
67584 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67585 <limits.h> exists even on freestanding compilers. */
67586
67587 #ifdef __STDC__
67588 # include <limits.h>
67589 #else
67590 # include <assert.h>
67591 #endif
67592
67593 #undef $ac_func
67594
67595 /* Override any gcc2 internal prototype to avoid an error. */
67596 #ifdef __cplusplus
67597 extern "C"
67598 {
67599 #endif
67600 /* We use char because int might match the return type of a gcc2
67601 builtin and then its argument prototype would still apply. */
67602 char $ac_func ();
67603 /* The GNU C library defines this for functions which it implements
67604 to always fail with ENOSYS. Some functions are actually named
67605 something starting with __ and the normal name is an alias. */
67606 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67607 choke me
67608 #else
67609 char (*f) () = $ac_func;
67610 #endif
67611 #ifdef __cplusplus
67612 }
67613 #endif
67614
67615 int
67616 main ()
67617 {
67618 return f != $ac_func;
67619 ;
67620 return 0;
67621 }
67622 _ACEOF
67623 rm -f conftest.$ac_objext conftest$ac_exeext
67624 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67625 (eval $ac_link) 2>conftest.er1
67626 ac_status=$?
67627 grep -v '^ *+' conftest.er1 >conftest.err
67628 rm -f conftest.er1
67629 cat conftest.err >&5
67630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67631 (exit $ac_status); } &&
67632 { ac_try='test -z "$ac_c_werror_flag"
67633 || test ! -s conftest.err'
67634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67635 (eval $ac_try) 2>&5
67636 ac_status=$?
67637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67638 (exit $ac_status); }; } &&
67639 { ac_try='test -s conftest$ac_exeext'
67640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67641 (eval $ac_try) 2>&5
67642 ac_status=$?
67643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67644 (exit $ac_status); }; }; then
67645 eval "$as_ac_var=yes"
67646 else
67647 echo "$as_me: failed program was:" >&5
67648 sed 's/^/| /' conftest.$ac_ext >&5
67649
67650 eval "$as_ac_var=no"
67651 fi
67652 rm -f conftest.err conftest.$ac_objext \
67653 conftest$ac_exeext conftest.$ac_ext
67654 fi
67655 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67656 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67657 if test `eval echo '${'$as_ac_var'}'` = yes; then
67658 cat >>confdefs.h <<_ACEOF
67659 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67660 _ACEOF
67661
67662 fi
67663 done
67664
67665 fi
67666 fi
67667
67668
67669
67670
67671
67672
67673 echo "$as_me:$LINENO: checking for logl declaration" >&5
67674 echo $ECHO_N "checking for logl declaration... $ECHO_C" >&6
67675 if test x${glibcxx_cv_func_logl_use+set} != xset; then
67676 if test "${glibcxx_cv_func_logl_use+set}" = set; then
67677 echo $ECHO_N "(cached) $ECHO_C" >&6
67678 else
67679
67680
67681
67682 ac_ext=cc
67683 ac_cpp='$CXXCPP $CPPFLAGS'
67684 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67685 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67686 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67687
67688 cat >conftest.$ac_ext <<_ACEOF
67689 /* confdefs.h. */
67690 _ACEOF
67691 cat confdefs.h >>conftest.$ac_ext
67692 cat >>conftest.$ac_ext <<_ACEOF
67693 /* end confdefs.h. */
67694 #include <math.h>
67695 #ifdef HAVE_IEEEFP_H
67696 #include <ieeefp.h>
67697 #endif
67698
67699 int
67700 main ()
67701 {
67702 logl(0);
67703 ;
67704 return 0;
67705 }
67706 _ACEOF
67707 rm -f conftest.$ac_objext
67708 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67709 (eval $ac_compile) 2>conftest.er1
67710 ac_status=$?
67711 grep -v '^ *+' conftest.er1 >conftest.err
67712 rm -f conftest.er1
67713 cat conftest.err >&5
67714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67715 (exit $ac_status); } &&
67716 { ac_try='test -z "$ac_cxx_werror_flag"
67717 || test ! -s conftest.err'
67718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67719 (eval $ac_try) 2>&5
67720 ac_status=$?
67721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67722 (exit $ac_status); }; } &&
67723 { ac_try='test -s conftest.$ac_objext'
67724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67725 (eval $ac_try) 2>&5
67726 ac_status=$?
67727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67728 (exit $ac_status); }; }; then
67729 glibcxx_cv_func_logl_use=yes
67730 else
67731 echo "$as_me: failed program was:" >&5
67732 sed 's/^/| /' conftest.$ac_ext >&5
67733
67734 glibcxx_cv_func_logl_use=no
67735 fi
67736 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67737 ac_ext=c
67738 ac_cpp='$CPP $CPPFLAGS'
67739 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67740 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67741 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67742
67743
67744 fi
67745
67746 fi
67747 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logl_use" >&5
67748 echo "${ECHO_T}$glibcxx_cv_func_logl_use" >&6
67749
67750 if test x$glibcxx_cv_func_logl_use = x"yes"; then
67751
67752 for ac_func in logl
67753 do
67754 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67755 echo "$as_me:$LINENO: checking for $ac_func" >&5
67756 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67757 if eval "test \"\${$as_ac_var+set}\" = set"; then
67758 echo $ECHO_N "(cached) $ECHO_C" >&6
67759 else
67760 if test x$gcc_no_link = xyes; then
67761 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67762 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67763 { (exit 1); exit 1; }; }
67764 fi
67765 cat >conftest.$ac_ext <<_ACEOF
67766 /* confdefs.h. */
67767 _ACEOF
67768 cat confdefs.h >>conftest.$ac_ext
67769 cat >>conftest.$ac_ext <<_ACEOF
67770 /* end confdefs.h. */
67771 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67772 For example, HP-UX 11i <limits.h> declares gettimeofday. */
67773 #define $ac_func innocuous_$ac_func
67774
67775 /* System header to define __stub macros and hopefully few prototypes,
67776 which can conflict with char $ac_func (); below.
67777 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67778 <limits.h> exists even on freestanding compilers. */
67779
67780 #ifdef __STDC__
67781 # include <limits.h>
67782 #else
67783 # include <assert.h>
67784 #endif
67785
67786 #undef $ac_func
67787
67788 /* Override any gcc2 internal prototype to avoid an error. */
67789 #ifdef __cplusplus
67790 extern "C"
67791 {
67792 #endif
67793 /* We use char because int might match the return type of a gcc2
67794 builtin and then its argument prototype would still apply. */
67795 char $ac_func ();
67796 /* The GNU C library defines this for functions which it implements
67797 to always fail with ENOSYS. Some functions are actually named
67798 something starting with __ and the normal name is an alias. */
67799 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67800 choke me
67801 #else
67802 char (*f) () = $ac_func;
67803 #endif
67804 #ifdef __cplusplus
67805 }
67806 #endif
67807
67808 int
67809 main ()
67810 {
67811 return f != $ac_func;
67812 ;
67813 return 0;
67814 }
67815 _ACEOF
67816 rm -f conftest.$ac_objext conftest$ac_exeext
67817 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67818 (eval $ac_link) 2>conftest.er1
67819 ac_status=$?
67820 grep -v '^ *+' conftest.er1 >conftest.err
67821 rm -f conftest.er1
67822 cat conftest.err >&5
67823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67824 (exit $ac_status); } &&
67825 { ac_try='test -z "$ac_c_werror_flag"
67826 || test ! -s conftest.err'
67827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67828 (eval $ac_try) 2>&5
67829 ac_status=$?
67830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67831 (exit $ac_status); }; } &&
67832 { ac_try='test -s conftest$ac_exeext'
67833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67834 (eval $ac_try) 2>&5
67835 ac_status=$?
67836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67837 (exit $ac_status); }; }; then
67838 eval "$as_ac_var=yes"
67839 else
67840 echo "$as_me: failed program was:" >&5
67841 sed 's/^/| /' conftest.$ac_ext >&5
67842
67843 eval "$as_ac_var=no"
67844 fi
67845 rm -f conftest.err conftest.$ac_objext \
67846 conftest$ac_exeext conftest.$ac_ext
67847 fi
67848 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67849 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67850 if test `eval echo '${'$as_ac_var'}'` = yes; then
67851 cat >>confdefs.h <<_ACEOF
67852 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67853 _ACEOF
67854
67855 fi
67856 done
67857
67858 else
67859
67860 echo "$as_me:$LINENO: checking for _logl declaration" >&5
67861 echo $ECHO_N "checking for _logl declaration... $ECHO_C" >&6
67862 if test x${glibcxx_cv_func__logl_use+set} != xset; then
67863 if test "${glibcxx_cv_func__logl_use+set}" = set; then
67864 echo $ECHO_N "(cached) $ECHO_C" >&6
67865 else
67866
67867
67868
67869 ac_ext=cc
67870 ac_cpp='$CXXCPP $CPPFLAGS'
67871 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67872 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67873 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67874
67875 cat >conftest.$ac_ext <<_ACEOF
67876 /* confdefs.h. */
67877 _ACEOF
67878 cat confdefs.h >>conftest.$ac_ext
67879 cat >>conftest.$ac_ext <<_ACEOF
67880 /* end confdefs.h. */
67881 #include <math.h>
67882 #ifdef HAVE_IEEEFP_H
67883 #include <ieeefp.h>
67884 #endif
67885
67886 int
67887 main ()
67888 {
67889 _logl(0);
67890 ;
67891 return 0;
67892 }
67893 _ACEOF
67894 rm -f conftest.$ac_objext
67895 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67896 (eval $ac_compile) 2>conftest.er1
67897 ac_status=$?
67898 grep -v '^ *+' conftest.er1 >conftest.err
67899 rm -f conftest.er1
67900 cat conftest.err >&5
67901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67902 (exit $ac_status); } &&
67903 { ac_try='test -z "$ac_cxx_werror_flag"
67904 || test ! -s conftest.err'
67905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67906 (eval $ac_try) 2>&5
67907 ac_status=$?
67908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67909 (exit $ac_status); }; } &&
67910 { ac_try='test -s conftest.$ac_objext'
67911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67912 (eval $ac_try) 2>&5
67913 ac_status=$?
67914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67915 (exit $ac_status); }; }; then
67916 glibcxx_cv_func__logl_use=yes
67917 else
67918 echo "$as_me: failed program was:" >&5
67919 sed 's/^/| /' conftest.$ac_ext >&5
67920
67921 glibcxx_cv_func__logl_use=no
67922 fi
67923 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67924 ac_ext=c
67925 ac_cpp='$CPP $CPPFLAGS'
67926 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67927 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67928 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67929
67930
67931 fi
67932
67933 fi
67934 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logl_use" >&5
67935 echo "${ECHO_T}$glibcxx_cv_func__logl_use" >&6
67936
67937 if test x$glibcxx_cv_func__logl_use = x"yes"; then
67938
67939 for ac_func in _logl
67940 do
67941 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67942 echo "$as_me:$LINENO: checking for $ac_func" >&5
67943 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67944 if eval "test \"\${$as_ac_var+set}\" = set"; then
67945 echo $ECHO_N "(cached) $ECHO_C" >&6
67946 else
67947 if test x$gcc_no_link = xyes; then
67948 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67949 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67950 { (exit 1); exit 1; }; }
67951 fi
67952 cat >conftest.$ac_ext <<_ACEOF
67953 /* confdefs.h. */
67954 _ACEOF
67955 cat confdefs.h >>conftest.$ac_ext
67956 cat >>conftest.$ac_ext <<_ACEOF
67957 /* end confdefs.h. */
67958 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67959 For example, HP-UX 11i <limits.h> declares gettimeofday. */
67960 #define $ac_func innocuous_$ac_func
67961
67962 /* System header to define __stub macros and hopefully few prototypes,
67963 which can conflict with char $ac_func (); below.
67964 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67965 <limits.h> exists even on freestanding compilers. */
67966
67967 #ifdef __STDC__
67968 # include <limits.h>
67969 #else
67970 # include <assert.h>
67971 #endif
67972
67973 #undef $ac_func
67974
67975 /* Override any gcc2 internal prototype to avoid an error. */
67976 #ifdef __cplusplus
67977 extern "C"
67978 {
67979 #endif
67980 /* We use char because int might match the return type of a gcc2
67981 builtin and then its argument prototype would still apply. */
67982 char $ac_func ();
67983 /* The GNU C library defines this for functions which it implements
67984 to always fail with ENOSYS. Some functions are actually named
67985 something starting with __ and the normal name is an alias. */
67986 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67987 choke me
67988 #else
67989 char (*f) () = $ac_func;
67990 #endif
67991 #ifdef __cplusplus
67992 }
67993 #endif
67994
67995 int
67996 main ()
67997 {
67998 return f != $ac_func;
67999 ;
68000 return 0;
68001 }
68002 _ACEOF
68003 rm -f conftest.$ac_objext conftest$ac_exeext
68004 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68005 (eval $ac_link) 2>conftest.er1
68006 ac_status=$?
68007 grep -v '^ *+' conftest.er1 >conftest.err
68008 rm -f conftest.er1
68009 cat conftest.err >&5
68010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68011 (exit $ac_status); } &&
68012 { ac_try='test -z "$ac_c_werror_flag"
68013 || test ! -s conftest.err'
68014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68015 (eval $ac_try) 2>&5
68016 ac_status=$?
68017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68018 (exit $ac_status); }; } &&
68019 { ac_try='test -s conftest$ac_exeext'
68020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68021 (eval $ac_try) 2>&5
68022 ac_status=$?
68023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68024 (exit $ac_status); }; }; then
68025 eval "$as_ac_var=yes"
68026 else
68027 echo "$as_me: failed program was:" >&5
68028 sed 's/^/| /' conftest.$ac_ext >&5
68029
68030 eval "$as_ac_var=no"
68031 fi
68032 rm -f conftest.err conftest.$ac_objext \
68033 conftest$ac_exeext conftest.$ac_ext
68034 fi
68035 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68036 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68037 if test `eval echo '${'$as_ac_var'}'` = yes; then
68038 cat >>confdefs.h <<_ACEOF
68039 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68040 _ACEOF
68041
68042 fi
68043 done
68044
68045 fi
68046 fi
68047
68048
68049
68050
68051
68052
68053 echo "$as_me:$LINENO: checking for log10l declaration" >&5
68054 echo $ECHO_N "checking for log10l declaration... $ECHO_C" >&6
68055 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
68056 if test "${glibcxx_cv_func_log10l_use+set}" = set; then
68057 echo $ECHO_N "(cached) $ECHO_C" >&6
68058 else
68059
68060
68061
68062 ac_ext=cc
68063 ac_cpp='$CXXCPP $CPPFLAGS'
68064 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68065 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68066 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68067
68068 cat >conftest.$ac_ext <<_ACEOF
68069 /* confdefs.h. */
68070 _ACEOF
68071 cat confdefs.h >>conftest.$ac_ext
68072 cat >>conftest.$ac_ext <<_ACEOF
68073 /* end confdefs.h. */
68074 #include <math.h>
68075 #ifdef HAVE_IEEEFP_H
68076 #include <ieeefp.h>
68077 #endif
68078
68079 int
68080 main ()
68081 {
68082 log10l(0);
68083 ;
68084 return 0;
68085 }
68086 _ACEOF
68087 rm -f conftest.$ac_objext
68088 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68089 (eval $ac_compile) 2>conftest.er1
68090 ac_status=$?
68091 grep -v '^ *+' conftest.er1 >conftest.err
68092 rm -f conftest.er1
68093 cat conftest.err >&5
68094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68095 (exit $ac_status); } &&
68096 { ac_try='test -z "$ac_cxx_werror_flag"
68097 || test ! -s conftest.err'
68098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68099 (eval $ac_try) 2>&5
68100 ac_status=$?
68101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68102 (exit $ac_status); }; } &&
68103 { ac_try='test -s conftest.$ac_objext'
68104 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68105 (eval $ac_try) 2>&5
68106 ac_status=$?
68107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68108 (exit $ac_status); }; }; then
68109 glibcxx_cv_func_log10l_use=yes
68110 else
68111 echo "$as_me: failed program was:" >&5
68112 sed 's/^/| /' conftest.$ac_ext >&5
68113
68114 glibcxx_cv_func_log10l_use=no
68115 fi
68116 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68117 ac_ext=c
68118 ac_cpp='$CPP $CPPFLAGS'
68119 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68120 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68121 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68122
68123
68124 fi
68125
68126 fi
68127 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10l_use" >&5
68128 echo "${ECHO_T}$glibcxx_cv_func_log10l_use" >&6
68129
68130 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
68131
68132 for ac_func in log10l
68133 do
68134 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68135 echo "$as_me:$LINENO: checking for $ac_func" >&5
68136 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68137 if eval "test \"\${$as_ac_var+set}\" = set"; then
68138 echo $ECHO_N "(cached) $ECHO_C" >&6
68139 else
68140 if test x$gcc_no_link = xyes; then
68141 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68142 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68143 { (exit 1); exit 1; }; }
68144 fi
68145 cat >conftest.$ac_ext <<_ACEOF
68146 /* confdefs.h. */
68147 _ACEOF
68148 cat confdefs.h >>conftest.$ac_ext
68149 cat >>conftest.$ac_ext <<_ACEOF
68150 /* end confdefs.h. */
68151 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68152 For example, HP-UX 11i <limits.h> declares gettimeofday. */
68153 #define $ac_func innocuous_$ac_func
68154
68155 /* System header to define __stub macros and hopefully few prototypes,
68156 which can conflict with char $ac_func (); below.
68157 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68158 <limits.h> exists even on freestanding compilers. */
68159
68160 #ifdef __STDC__
68161 # include <limits.h>
68162 #else
68163 # include <assert.h>
68164 #endif
68165
68166 #undef $ac_func
68167
68168 /* Override any gcc2 internal prototype to avoid an error. */
68169 #ifdef __cplusplus
68170 extern "C"
68171 {
68172 #endif
68173 /* We use char because int might match the return type of a gcc2
68174 builtin and then its argument prototype would still apply. */
68175 char $ac_func ();
68176 /* The GNU C library defines this for functions which it implements
68177 to always fail with ENOSYS. Some functions are actually named
68178 something starting with __ and the normal name is an alias. */
68179 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68180 choke me
68181 #else
68182 char (*f) () = $ac_func;
68183 #endif
68184 #ifdef __cplusplus
68185 }
68186 #endif
68187
68188 int
68189 main ()
68190 {
68191 return f != $ac_func;
68192 ;
68193 return 0;
68194 }
68195 _ACEOF
68196 rm -f conftest.$ac_objext conftest$ac_exeext
68197 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68198 (eval $ac_link) 2>conftest.er1
68199 ac_status=$?
68200 grep -v '^ *+' conftest.er1 >conftest.err
68201 rm -f conftest.er1
68202 cat conftest.err >&5
68203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68204 (exit $ac_status); } &&
68205 { ac_try='test -z "$ac_c_werror_flag"
68206 || test ! -s conftest.err'
68207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68208 (eval $ac_try) 2>&5
68209 ac_status=$?
68210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68211 (exit $ac_status); }; } &&
68212 { ac_try='test -s conftest$ac_exeext'
68213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68214 (eval $ac_try) 2>&5
68215 ac_status=$?
68216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68217 (exit $ac_status); }; }; then
68218 eval "$as_ac_var=yes"
68219 else
68220 echo "$as_me: failed program was:" >&5
68221 sed 's/^/| /' conftest.$ac_ext >&5
68222
68223 eval "$as_ac_var=no"
68224 fi
68225 rm -f conftest.err conftest.$ac_objext \
68226 conftest$ac_exeext conftest.$ac_ext
68227 fi
68228 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68229 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68230 if test `eval echo '${'$as_ac_var'}'` = yes; then
68231 cat >>confdefs.h <<_ACEOF
68232 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68233 _ACEOF
68234
68235 fi
68236 done
68237
68238 else
68239
68240 echo "$as_me:$LINENO: checking for _log10l declaration" >&5
68241 echo $ECHO_N "checking for _log10l declaration... $ECHO_C" >&6
68242 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
68243 if test "${glibcxx_cv_func__log10l_use+set}" = set; then
68244 echo $ECHO_N "(cached) $ECHO_C" >&6
68245 else
68246
68247
68248
68249 ac_ext=cc
68250 ac_cpp='$CXXCPP $CPPFLAGS'
68251 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68252 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68253 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68254
68255 cat >conftest.$ac_ext <<_ACEOF
68256 /* confdefs.h. */
68257 _ACEOF
68258 cat confdefs.h >>conftest.$ac_ext
68259 cat >>conftest.$ac_ext <<_ACEOF
68260 /* end confdefs.h. */
68261 #include <math.h>
68262 #ifdef HAVE_IEEEFP_H
68263 #include <ieeefp.h>
68264 #endif
68265
68266 int
68267 main ()
68268 {
68269 _log10l(0);
68270 ;
68271 return 0;
68272 }
68273 _ACEOF
68274 rm -f conftest.$ac_objext
68275 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68276 (eval $ac_compile) 2>conftest.er1
68277 ac_status=$?
68278 grep -v '^ *+' conftest.er1 >conftest.err
68279 rm -f conftest.er1
68280 cat conftest.err >&5
68281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68282 (exit $ac_status); } &&
68283 { ac_try='test -z "$ac_cxx_werror_flag"
68284 || test ! -s conftest.err'
68285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68286 (eval $ac_try) 2>&5
68287 ac_status=$?
68288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68289 (exit $ac_status); }; } &&
68290 { ac_try='test -s conftest.$ac_objext'
68291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68292 (eval $ac_try) 2>&5
68293 ac_status=$?
68294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68295 (exit $ac_status); }; }; then
68296 glibcxx_cv_func__log10l_use=yes
68297 else
68298 echo "$as_me: failed program was:" >&5
68299 sed 's/^/| /' conftest.$ac_ext >&5
68300
68301 glibcxx_cv_func__log10l_use=no
68302 fi
68303 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68304 ac_ext=c
68305 ac_cpp='$CPP $CPPFLAGS'
68306 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68307 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68308 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68309
68310
68311 fi
68312
68313 fi
68314 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10l_use" >&5
68315 echo "${ECHO_T}$glibcxx_cv_func__log10l_use" >&6
68316
68317 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
68318
68319 for ac_func in _log10l
68320 do
68321 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68322 echo "$as_me:$LINENO: checking for $ac_func" >&5
68323 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68324 if eval "test \"\${$as_ac_var+set}\" = set"; then
68325 echo $ECHO_N "(cached) $ECHO_C" >&6
68326 else
68327 if test x$gcc_no_link = xyes; then
68328 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68329 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68330 { (exit 1); exit 1; }; }
68331 fi
68332 cat >conftest.$ac_ext <<_ACEOF
68333 /* confdefs.h. */
68334 _ACEOF
68335 cat confdefs.h >>conftest.$ac_ext
68336 cat >>conftest.$ac_ext <<_ACEOF
68337 /* end confdefs.h. */
68338 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68339 For example, HP-UX 11i <limits.h> declares gettimeofday. */
68340 #define $ac_func innocuous_$ac_func
68341
68342 /* System header to define __stub macros and hopefully few prototypes,
68343 which can conflict with char $ac_func (); below.
68344 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68345 <limits.h> exists even on freestanding compilers. */
68346
68347 #ifdef __STDC__
68348 # include <limits.h>
68349 #else
68350 # include <assert.h>
68351 #endif
68352
68353 #undef $ac_func
68354
68355 /* Override any gcc2 internal prototype to avoid an error. */
68356 #ifdef __cplusplus
68357 extern "C"
68358 {
68359 #endif
68360 /* We use char because int might match the return type of a gcc2
68361 builtin and then its argument prototype would still apply. */
68362 char $ac_func ();
68363 /* The GNU C library defines this for functions which it implements
68364 to always fail with ENOSYS. Some functions are actually named
68365 something starting with __ and the normal name is an alias. */
68366 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68367 choke me
68368 #else
68369 char (*f) () = $ac_func;
68370 #endif
68371 #ifdef __cplusplus
68372 }
68373 #endif
68374
68375 int
68376 main ()
68377 {
68378 return f != $ac_func;
68379 ;
68380 return 0;
68381 }
68382 _ACEOF
68383 rm -f conftest.$ac_objext conftest$ac_exeext
68384 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68385 (eval $ac_link) 2>conftest.er1
68386 ac_status=$?
68387 grep -v '^ *+' conftest.er1 >conftest.err
68388 rm -f conftest.er1
68389 cat conftest.err >&5
68390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68391 (exit $ac_status); } &&
68392 { ac_try='test -z "$ac_c_werror_flag"
68393 || test ! -s conftest.err'
68394 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68395 (eval $ac_try) 2>&5
68396 ac_status=$?
68397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68398 (exit $ac_status); }; } &&
68399 { ac_try='test -s conftest$ac_exeext'
68400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68401 (eval $ac_try) 2>&5
68402 ac_status=$?
68403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68404 (exit $ac_status); }; }; then
68405 eval "$as_ac_var=yes"
68406 else
68407 echo "$as_me: failed program was:" >&5
68408 sed 's/^/| /' conftest.$ac_ext >&5
68409
68410 eval "$as_ac_var=no"
68411 fi
68412 rm -f conftest.err conftest.$ac_objext \
68413 conftest$ac_exeext conftest.$ac_ext
68414 fi
68415 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68416 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68417 if test `eval echo '${'$as_ac_var'}'` = yes; then
68418 cat >>confdefs.h <<_ACEOF
68419 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68420 _ACEOF
68421
68422 fi
68423 done
68424
68425 fi
68426 fi
68427
68428
68429
68430
68431
68432
68433 echo "$as_me:$LINENO: checking for modfl declaration" >&5
68434 echo $ECHO_N "checking for modfl declaration... $ECHO_C" >&6
68435 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
68436 if test "${glibcxx_cv_func_modfl_use+set}" = set; then
68437 echo $ECHO_N "(cached) $ECHO_C" >&6
68438 else
68439
68440
68441
68442 ac_ext=cc
68443 ac_cpp='$CXXCPP $CPPFLAGS'
68444 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68445 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68446 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68447
68448 cat >conftest.$ac_ext <<_ACEOF
68449 /* confdefs.h. */
68450 _ACEOF
68451 cat confdefs.h >>conftest.$ac_ext
68452 cat >>conftest.$ac_ext <<_ACEOF
68453 /* end confdefs.h. */
68454 #include <math.h>
68455 int
68456 main ()
68457 {
68458 modfl(0, 0);
68459 ;
68460 return 0;
68461 }
68462 _ACEOF
68463 rm -f conftest.$ac_objext
68464 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68465 (eval $ac_compile) 2>conftest.er1
68466 ac_status=$?
68467 grep -v '^ *+' conftest.er1 >conftest.err
68468 rm -f conftest.er1
68469 cat conftest.err >&5
68470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68471 (exit $ac_status); } &&
68472 { ac_try='test -z "$ac_cxx_werror_flag"
68473 || test ! -s conftest.err'
68474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68475 (eval $ac_try) 2>&5
68476 ac_status=$?
68477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68478 (exit $ac_status); }; } &&
68479 { ac_try='test -s conftest.$ac_objext'
68480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68481 (eval $ac_try) 2>&5
68482 ac_status=$?
68483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68484 (exit $ac_status); }; }; then
68485 glibcxx_cv_func_modfl_use=yes
68486 else
68487 echo "$as_me: failed program was:" >&5
68488 sed 's/^/| /' conftest.$ac_ext >&5
68489
68490 glibcxx_cv_func_modfl_use=no
68491 fi
68492 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68493 ac_ext=c
68494 ac_cpp='$CPP $CPPFLAGS'
68495 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68496 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68497 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68498
68499
68500 fi
68501
68502 fi
68503 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modfl_use" >&5
68504 echo "${ECHO_T}$glibcxx_cv_func_modfl_use" >&6
68505
68506 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
68507
68508 for ac_func in modfl
68509 do
68510 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68511 echo "$as_me:$LINENO: checking for $ac_func" >&5
68512 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68513 if eval "test \"\${$as_ac_var+set}\" = set"; then
68514 echo $ECHO_N "(cached) $ECHO_C" >&6
68515 else
68516 if test x$gcc_no_link = xyes; then
68517 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68518 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68519 { (exit 1); exit 1; }; }
68520 fi
68521 cat >conftest.$ac_ext <<_ACEOF
68522 /* confdefs.h. */
68523 _ACEOF
68524 cat confdefs.h >>conftest.$ac_ext
68525 cat >>conftest.$ac_ext <<_ACEOF
68526 /* end confdefs.h. */
68527 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68528 For example, HP-UX 11i <limits.h> declares gettimeofday. */
68529 #define $ac_func innocuous_$ac_func
68530
68531 /* System header to define __stub macros and hopefully few prototypes,
68532 which can conflict with char $ac_func (); below.
68533 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68534 <limits.h> exists even on freestanding compilers. */
68535
68536 #ifdef __STDC__
68537 # include <limits.h>
68538 #else
68539 # include <assert.h>
68540 #endif
68541
68542 #undef $ac_func
68543
68544 /* Override any gcc2 internal prototype to avoid an error. */
68545 #ifdef __cplusplus
68546 extern "C"
68547 {
68548 #endif
68549 /* We use char because int might match the return type of a gcc2
68550 builtin and then its argument prototype would still apply. */
68551 char $ac_func ();
68552 /* The GNU C library defines this for functions which it implements
68553 to always fail with ENOSYS. Some functions are actually named
68554 something starting with __ and the normal name is an alias. */
68555 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68556 choke me
68557 #else
68558 char (*f) () = $ac_func;
68559 #endif
68560 #ifdef __cplusplus
68561 }
68562 #endif
68563
68564 int
68565 main ()
68566 {
68567 return f != $ac_func;
68568 ;
68569 return 0;
68570 }
68571 _ACEOF
68572 rm -f conftest.$ac_objext conftest$ac_exeext
68573 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68574 (eval $ac_link) 2>conftest.er1
68575 ac_status=$?
68576 grep -v '^ *+' conftest.er1 >conftest.err
68577 rm -f conftest.er1
68578 cat conftest.err >&5
68579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68580 (exit $ac_status); } &&
68581 { ac_try='test -z "$ac_c_werror_flag"
68582 || test ! -s conftest.err'
68583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68584 (eval $ac_try) 2>&5
68585 ac_status=$?
68586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68587 (exit $ac_status); }; } &&
68588 { ac_try='test -s conftest$ac_exeext'
68589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68590 (eval $ac_try) 2>&5
68591 ac_status=$?
68592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68593 (exit $ac_status); }; }; then
68594 eval "$as_ac_var=yes"
68595 else
68596 echo "$as_me: failed program was:" >&5
68597 sed 's/^/| /' conftest.$ac_ext >&5
68598
68599 eval "$as_ac_var=no"
68600 fi
68601 rm -f conftest.err conftest.$ac_objext \
68602 conftest$ac_exeext conftest.$ac_ext
68603 fi
68604 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68605 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68606 if test `eval echo '${'$as_ac_var'}'` = yes; then
68607 cat >>confdefs.h <<_ACEOF
68608 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68609 _ACEOF
68610
68611 fi
68612 done
68613
68614 else
68615
68616 echo "$as_me:$LINENO: checking for _modfl declaration" >&5
68617 echo $ECHO_N "checking for _modfl declaration... $ECHO_C" >&6
68618 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
68619 if test "${glibcxx_cv_func__modfl_use+set}" = set; then
68620 echo $ECHO_N "(cached) $ECHO_C" >&6
68621 else
68622
68623
68624
68625 ac_ext=cc
68626 ac_cpp='$CXXCPP $CPPFLAGS'
68627 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68628 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68629 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68630
68631 cat >conftest.$ac_ext <<_ACEOF
68632 /* confdefs.h. */
68633 _ACEOF
68634 cat confdefs.h >>conftest.$ac_ext
68635 cat >>conftest.$ac_ext <<_ACEOF
68636 /* end confdefs.h. */
68637 #include <math.h>
68638 int
68639 main ()
68640 {
68641 _modfl(0, 0);
68642 ;
68643 return 0;
68644 }
68645 _ACEOF
68646 rm -f conftest.$ac_objext
68647 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68648 (eval $ac_compile) 2>conftest.er1
68649 ac_status=$?
68650 grep -v '^ *+' conftest.er1 >conftest.err
68651 rm -f conftest.er1
68652 cat conftest.err >&5
68653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68654 (exit $ac_status); } &&
68655 { ac_try='test -z "$ac_cxx_werror_flag"
68656 || test ! -s conftest.err'
68657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68658 (eval $ac_try) 2>&5
68659 ac_status=$?
68660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68661 (exit $ac_status); }; } &&
68662 { ac_try='test -s conftest.$ac_objext'
68663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68664 (eval $ac_try) 2>&5
68665 ac_status=$?
68666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68667 (exit $ac_status); }; }; then
68668 glibcxx_cv_func__modfl_use=yes
68669 else
68670 echo "$as_me: failed program was:" >&5
68671 sed 's/^/| /' conftest.$ac_ext >&5
68672
68673 glibcxx_cv_func__modfl_use=no
68674 fi
68675 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68676 ac_ext=c
68677 ac_cpp='$CPP $CPPFLAGS'
68678 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68679 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68680 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68681
68682
68683 fi
68684
68685 fi
68686 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modfl_use" >&5
68687 echo "${ECHO_T}$glibcxx_cv_func__modfl_use" >&6
68688
68689 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
68690
68691 for ac_func in _modfl
68692 do
68693 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68694 echo "$as_me:$LINENO: checking for $ac_func" >&5
68695 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68696 if eval "test \"\${$as_ac_var+set}\" = set"; then
68697 echo $ECHO_N "(cached) $ECHO_C" >&6
68698 else
68699 if test x$gcc_no_link = xyes; then
68700 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68701 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68702 { (exit 1); exit 1; }; }
68703 fi
68704 cat >conftest.$ac_ext <<_ACEOF
68705 /* confdefs.h. */
68706 _ACEOF
68707 cat confdefs.h >>conftest.$ac_ext
68708 cat >>conftest.$ac_ext <<_ACEOF
68709 /* end confdefs.h. */
68710 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68711 For example, HP-UX 11i <limits.h> declares gettimeofday. */
68712 #define $ac_func innocuous_$ac_func
68713
68714 /* System header to define __stub macros and hopefully few prototypes,
68715 which can conflict with char $ac_func (); below.
68716 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68717 <limits.h> exists even on freestanding compilers. */
68718
68719 #ifdef __STDC__
68720 # include <limits.h>
68721 #else
68722 # include <assert.h>
68723 #endif
68724
68725 #undef $ac_func
68726
68727 /* Override any gcc2 internal prototype to avoid an error. */
68728 #ifdef __cplusplus
68729 extern "C"
68730 {
68731 #endif
68732 /* We use char because int might match the return type of a gcc2
68733 builtin and then its argument prototype would still apply. */
68734 char $ac_func ();
68735 /* The GNU C library defines this for functions which it implements
68736 to always fail with ENOSYS. Some functions are actually named
68737 something starting with __ and the normal name is an alias. */
68738 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68739 choke me
68740 #else
68741 char (*f) () = $ac_func;
68742 #endif
68743 #ifdef __cplusplus
68744 }
68745 #endif
68746
68747 int
68748 main ()
68749 {
68750 return f != $ac_func;
68751 ;
68752 return 0;
68753 }
68754 _ACEOF
68755 rm -f conftest.$ac_objext conftest$ac_exeext
68756 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68757 (eval $ac_link) 2>conftest.er1
68758 ac_status=$?
68759 grep -v '^ *+' conftest.er1 >conftest.err
68760 rm -f conftest.er1
68761 cat conftest.err >&5
68762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68763 (exit $ac_status); } &&
68764 { ac_try='test -z "$ac_c_werror_flag"
68765 || test ! -s conftest.err'
68766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68767 (eval $ac_try) 2>&5
68768 ac_status=$?
68769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68770 (exit $ac_status); }; } &&
68771 { ac_try='test -s conftest$ac_exeext'
68772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68773 (eval $ac_try) 2>&5
68774 ac_status=$?
68775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68776 (exit $ac_status); }; }; then
68777 eval "$as_ac_var=yes"
68778 else
68779 echo "$as_me: failed program was:" >&5
68780 sed 's/^/| /' conftest.$ac_ext >&5
68781
68782 eval "$as_ac_var=no"
68783 fi
68784 rm -f conftest.err conftest.$ac_objext \
68785 conftest$ac_exeext conftest.$ac_ext
68786 fi
68787 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68788 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68789 if test `eval echo '${'$as_ac_var'}'` = yes; then
68790 cat >>confdefs.h <<_ACEOF
68791 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68792 _ACEOF
68793
68794 fi
68795 done
68796
68797 fi
68798 fi
68799
68800
68801
68802
68803
68804
68805 echo "$as_me:$LINENO: checking for powl declaration" >&5
68806 echo $ECHO_N "checking for powl declaration... $ECHO_C" >&6
68807 if test x${glibcxx_cv_func_powl_use+set} != xset; then
68808 if test "${glibcxx_cv_func_powl_use+set}" = set; then
68809 echo $ECHO_N "(cached) $ECHO_C" >&6
68810 else
68811
68812
68813
68814 ac_ext=cc
68815 ac_cpp='$CXXCPP $CPPFLAGS'
68816 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68817 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68818 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68819
68820 cat >conftest.$ac_ext <<_ACEOF
68821 /* confdefs.h. */
68822 _ACEOF
68823 cat confdefs.h >>conftest.$ac_ext
68824 cat >>conftest.$ac_ext <<_ACEOF
68825 /* end confdefs.h. */
68826 #include <math.h>
68827 int
68828 main ()
68829 {
68830 powl(0, 0);
68831 ;
68832 return 0;
68833 }
68834 _ACEOF
68835 rm -f conftest.$ac_objext
68836 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68837 (eval $ac_compile) 2>conftest.er1
68838 ac_status=$?
68839 grep -v '^ *+' conftest.er1 >conftest.err
68840 rm -f conftest.er1
68841 cat conftest.err >&5
68842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68843 (exit $ac_status); } &&
68844 { ac_try='test -z "$ac_cxx_werror_flag"
68845 || test ! -s conftest.err'
68846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68847 (eval $ac_try) 2>&5
68848 ac_status=$?
68849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68850 (exit $ac_status); }; } &&
68851 { ac_try='test -s conftest.$ac_objext'
68852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68853 (eval $ac_try) 2>&5
68854 ac_status=$?
68855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68856 (exit $ac_status); }; }; then
68857 glibcxx_cv_func_powl_use=yes
68858 else
68859 echo "$as_me: failed program was:" >&5
68860 sed 's/^/| /' conftest.$ac_ext >&5
68861
68862 glibcxx_cv_func_powl_use=no
68863 fi
68864 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68865 ac_ext=c
68866 ac_cpp='$CPP $CPPFLAGS'
68867 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68868 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68869 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68870
68871
68872 fi
68873
68874 fi
68875 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powl_use" >&5
68876 echo "${ECHO_T}$glibcxx_cv_func_powl_use" >&6
68877
68878 if test x$glibcxx_cv_func_powl_use = x"yes"; then
68879
68880 for ac_func in powl
68881 do
68882 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68883 echo "$as_me:$LINENO: checking for $ac_func" >&5
68884 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68885 if eval "test \"\${$as_ac_var+set}\" = set"; then
68886 echo $ECHO_N "(cached) $ECHO_C" >&6
68887 else
68888 if test x$gcc_no_link = xyes; then
68889 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68890 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68891 { (exit 1); exit 1; }; }
68892 fi
68893 cat >conftest.$ac_ext <<_ACEOF
68894 /* confdefs.h. */
68895 _ACEOF
68896 cat confdefs.h >>conftest.$ac_ext
68897 cat >>conftest.$ac_ext <<_ACEOF
68898 /* end confdefs.h. */
68899 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68900 For example, HP-UX 11i <limits.h> declares gettimeofday. */
68901 #define $ac_func innocuous_$ac_func
68902
68903 /* System header to define __stub macros and hopefully few prototypes,
68904 which can conflict with char $ac_func (); below.
68905 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68906 <limits.h> exists even on freestanding compilers. */
68907
68908 #ifdef __STDC__
68909 # include <limits.h>
68910 #else
68911 # include <assert.h>
68912 #endif
68913
68914 #undef $ac_func
68915
68916 /* Override any gcc2 internal prototype to avoid an error. */
68917 #ifdef __cplusplus
68918 extern "C"
68919 {
68920 #endif
68921 /* We use char because int might match the return type of a gcc2
68922 builtin and then its argument prototype would still apply. */
68923 char $ac_func ();
68924 /* The GNU C library defines this for functions which it implements
68925 to always fail with ENOSYS. Some functions are actually named
68926 something starting with __ and the normal name is an alias. */
68927 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68928 choke me
68929 #else
68930 char (*f) () = $ac_func;
68931 #endif
68932 #ifdef __cplusplus
68933 }
68934 #endif
68935
68936 int
68937 main ()
68938 {
68939 return f != $ac_func;
68940 ;
68941 return 0;
68942 }
68943 _ACEOF
68944 rm -f conftest.$ac_objext conftest$ac_exeext
68945 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68946 (eval $ac_link) 2>conftest.er1
68947 ac_status=$?
68948 grep -v '^ *+' conftest.er1 >conftest.err
68949 rm -f conftest.er1
68950 cat conftest.err >&5
68951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68952 (exit $ac_status); } &&
68953 { ac_try='test -z "$ac_c_werror_flag"
68954 || test ! -s conftest.err'
68955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68956 (eval $ac_try) 2>&5
68957 ac_status=$?
68958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68959 (exit $ac_status); }; } &&
68960 { ac_try='test -s conftest$ac_exeext'
68961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68962 (eval $ac_try) 2>&5
68963 ac_status=$?
68964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68965 (exit $ac_status); }; }; then
68966 eval "$as_ac_var=yes"
68967 else
68968 echo "$as_me: failed program was:" >&5
68969 sed 's/^/| /' conftest.$ac_ext >&5
68970
68971 eval "$as_ac_var=no"
68972 fi
68973 rm -f conftest.err conftest.$ac_objext \
68974 conftest$ac_exeext conftest.$ac_ext
68975 fi
68976 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68977 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68978 if test `eval echo '${'$as_ac_var'}'` = yes; then
68979 cat >>confdefs.h <<_ACEOF
68980 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68981 _ACEOF
68982
68983 fi
68984 done
68985
68986 else
68987
68988 echo "$as_me:$LINENO: checking for _powl declaration" >&5
68989 echo $ECHO_N "checking for _powl declaration... $ECHO_C" >&6
68990 if test x${glibcxx_cv_func__powl_use+set} != xset; then
68991 if test "${glibcxx_cv_func__powl_use+set}" = set; then
68992 echo $ECHO_N "(cached) $ECHO_C" >&6
68993 else
68994
68995
68996
68997 ac_ext=cc
68998 ac_cpp='$CXXCPP $CPPFLAGS'
68999 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69000 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69001 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69002
69003 cat >conftest.$ac_ext <<_ACEOF
69004 /* confdefs.h. */
69005 _ACEOF
69006 cat confdefs.h >>conftest.$ac_ext
69007 cat >>conftest.$ac_ext <<_ACEOF
69008 /* end confdefs.h. */
69009 #include <math.h>
69010 int
69011 main ()
69012 {
69013 _powl(0, 0);
69014 ;
69015 return 0;
69016 }
69017 _ACEOF
69018 rm -f conftest.$ac_objext
69019 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69020 (eval $ac_compile) 2>conftest.er1
69021 ac_status=$?
69022 grep -v '^ *+' conftest.er1 >conftest.err
69023 rm -f conftest.er1
69024 cat conftest.err >&5
69025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69026 (exit $ac_status); } &&
69027 { ac_try='test -z "$ac_cxx_werror_flag"
69028 || test ! -s conftest.err'
69029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69030 (eval $ac_try) 2>&5
69031 ac_status=$?
69032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69033 (exit $ac_status); }; } &&
69034 { ac_try='test -s conftest.$ac_objext'
69035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69036 (eval $ac_try) 2>&5
69037 ac_status=$?
69038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69039 (exit $ac_status); }; }; then
69040 glibcxx_cv_func__powl_use=yes
69041 else
69042 echo "$as_me: failed program was:" >&5
69043 sed 's/^/| /' conftest.$ac_ext >&5
69044
69045 glibcxx_cv_func__powl_use=no
69046 fi
69047 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69048 ac_ext=c
69049 ac_cpp='$CPP $CPPFLAGS'
69050 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69051 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69052 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69053
69054
69055 fi
69056
69057 fi
69058 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powl_use" >&5
69059 echo "${ECHO_T}$glibcxx_cv_func__powl_use" >&6
69060
69061 if test x$glibcxx_cv_func__powl_use = x"yes"; then
69062
69063 for ac_func in _powl
69064 do
69065 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69066 echo "$as_me:$LINENO: checking for $ac_func" >&5
69067 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69068 if eval "test \"\${$as_ac_var+set}\" = set"; then
69069 echo $ECHO_N "(cached) $ECHO_C" >&6
69070 else
69071 if test x$gcc_no_link = xyes; then
69072 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69073 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69074 { (exit 1); exit 1; }; }
69075 fi
69076 cat >conftest.$ac_ext <<_ACEOF
69077 /* confdefs.h. */
69078 _ACEOF
69079 cat confdefs.h >>conftest.$ac_ext
69080 cat >>conftest.$ac_ext <<_ACEOF
69081 /* end confdefs.h. */
69082 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69083 For example, HP-UX 11i <limits.h> declares gettimeofday. */
69084 #define $ac_func innocuous_$ac_func
69085
69086 /* System header to define __stub macros and hopefully few prototypes,
69087 which can conflict with char $ac_func (); below.
69088 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69089 <limits.h> exists even on freestanding compilers. */
69090
69091 #ifdef __STDC__
69092 # include <limits.h>
69093 #else
69094 # include <assert.h>
69095 #endif
69096
69097 #undef $ac_func
69098
69099 /* Override any gcc2 internal prototype to avoid an error. */
69100 #ifdef __cplusplus
69101 extern "C"
69102 {
69103 #endif
69104 /* We use char because int might match the return type of a gcc2
69105 builtin and then its argument prototype would still apply. */
69106 char $ac_func ();
69107 /* The GNU C library defines this for functions which it implements
69108 to always fail with ENOSYS. Some functions are actually named
69109 something starting with __ and the normal name is an alias. */
69110 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69111 choke me
69112 #else
69113 char (*f) () = $ac_func;
69114 #endif
69115 #ifdef __cplusplus
69116 }
69117 #endif
69118
69119 int
69120 main ()
69121 {
69122 return f != $ac_func;
69123 ;
69124 return 0;
69125 }
69126 _ACEOF
69127 rm -f conftest.$ac_objext conftest$ac_exeext
69128 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69129 (eval $ac_link) 2>conftest.er1
69130 ac_status=$?
69131 grep -v '^ *+' conftest.er1 >conftest.err
69132 rm -f conftest.er1
69133 cat conftest.err >&5
69134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69135 (exit $ac_status); } &&
69136 { ac_try='test -z "$ac_c_werror_flag"
69137 || test ! -s conftest.err'
69138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69139 (eval $ac_try) 2>&5
69140 ac_status=$?
69141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69142 (exit $ac_status); }; } &&
69143 { ac_try='test -s conftest$ac_exeext'
69144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69145 (eval $ac_try) 2>&5
69146 ac_status=$?
69147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69148 (exit $ac_status); }; }; then
69149 eval "$as_ac_var=yes"
69150 else
69151 echo "$as_me: failed program was:" >&5
69152 sed 's/^/| /' conftest.$ac_ext >&5
69153
69154 eval "$as_ac_var=no"
69155 fi
69156 rm -f conftest.err conftest.$ac_objext \
69157 conftest$ac_exeext conftest.$ac_ext
69158 fi
69159 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69160 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69161 if test `eval echo '${'$as_ac_var'}'` = yes; then
69162 cat >>confdefs.h <<_ACEOF
69163 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69164 _ACEOF
69165
69166 fi
69167 done
69168
69169 fi
69170 fi
69171
69172
69173
69174
69175
69176
69177 echo "$as_me:$LINENO: checking for sqrtl declaration" >&5
69178 echo $ECHO_N "checking for sqrtl declaration... $ECHO_C" >&6
69179 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
69180 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then
69181 echo $ECHO_N "(cached) $ECHO_C" >&6
69182 else
69183
69184
69185
69186 ac_ext=cc
69187 ac_cpp='$CXXCPP $CPPFLAGS'
69188 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69189 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69190 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69191
69192 cat >conftest.$ac_ext <<_ACEOF
69193 /* confdefs.h. */
69194 _ACEOF
69195 cat confdefs.h >>conftest.$ac_ext
69196 cat >>conftest.$ac_ext <<_ACEOF
69197 /* end confdefs.h. */
69198 #include <math.h>
69199 #ifdef HAVE_IEEEFP_H
69200 #include <ieeefp.h>
69201 #endif
69202
69203 int
69204 main ()
69205 {
69206 sqrtl(0);
69207 ;
69208 return 0;
69209 }
69210 _ACEOF
69211 rm -f conftest.$ac_objext
69212 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69213 (eval $ac_compile) 2>conftest.er1
69214 ac_status=$?
69215 grep -v '^ *+' conftest.er1 >conftest.err
69216 rm -f conftest.er1
69217 cat conftest.err >&5
69218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69219 (exit $ac_status); } &&
69220 { ac_try='test -z "$ac_cxx_werror_flag"
69221 || test ! -s conftest.err'
69222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69223 (eval $ac_try) 2>&5
69224 ac_status=$?
69225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69226 (exit $ac_status); }; } &&
69227 { ac_try='test -s conftest.$ac_objext'
69228 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69229 (eval $ac_try) 2>&5
69230 ac_status=$?
69231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69232 (exit $ac_status); }; }; then
69233 glibcxx_cv_func_sqrtl_use=yes
69234 else
69235 echo "$as_me: failed program was:" >&5
69236 sed 's/^/| /' conftest.$ac_ext >&5
69237
69238 glibcxx_cv_func_sqrtl_use=no
69239 fi
69240 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69241 ac_ext=c
69242 ac_cpp='$CPP $CPPFLAGS'
69243 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69244 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69245 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69246
69247
69248 fi
69249
69250 fi
69251 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtl_use" >&5
69252 echo "${ECHO_T}$glibcxx_cv_func_sqrtl_use" >&6
69253
69254 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
69255
69256 for ac_func in sqrtl
69257 do
69258 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69259 echo "$as_me:$LINENO: checking for $ac_func" >&5
69260 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69261 if eval "test \"\${$as_ac_var+set}\" = set"; then
69262 echo $ECHO_N "(cached) $ECHO_C" >&6
69263 else
69264 if test x$gcc_no_link = xyes; then
69265 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69266 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69267 { (exit 1); exit 1; }; }
69268 fi
69269 cat >conftest.$ac_ext <<_ACEOF
69270 /* confdefs.h. */
69271 _ACEOF
69272 cat confdefs.h >>conftest.$ac_ext
69273 cat >>conftest.$ac_ext <<_ACEOF
69274 /* end confdefs.h. */
69275 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69276 For example, HP-UX 11i <limits.h> declares gettimeofday. */
69277 #define $ac_func innocuous_$ac_func
69278
69279 /* System header to define __stub macros and hopefully few prototypes,
69280 which can conflict with char $ac_func (); below.
69281 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69282 <limits.h> exists even on freestanding compilers. */
69283
69284 #ifdef __STDC__
69285 # include <limits.h>
69286 #else
69287 # include <assert.h>
69288 #endif
69289
69290 #undef $ac_func
69291
69292 /* Override any gcc2 internal prototype to avoid an error. */
69293 #ifdef __cplusplus
69294 extern "C"
69295 {
69296 #endif
69297 /* We use char because int might match the return type of a gcc2
69298 builtin and then its argument prototype would still apply. */
69299 char $ac_func ();
69300 /* The GNU C library defines this for functions which it implements
69301 to always fail with ENOSYS. Some functions are actually named
69302 something starting with __ and the normal name is an alias. */
69303 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69304 choke me
69305 #else
69306 char (*f) () = $ac_func;
69307 #endif
69308 #ifdef __cplusplus
69309 }
69310 #endif
69311
69312 int
69313 main ()
69314 {
69315 return f != $ac_func;
69316 ;
69317 return 0;
69318 }
69319 _ACEOF
69320 rm -f conftest.$ac_objext conftest$ac_exeext
69321 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69322 (eval $ac_link) 2>conftest.er1
69323 ac_status=$?
69324 grep -v '^ *+' conftest.er1 >conftest.err
69325 rm -f conftest.er1
69326 cat conftest.err >&5
69327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69328 (exit $ac_status); } &&
69329 { ac_try='test -z "$ac_c_werror_flag"
69330 || test ! -s conftest.err'
69331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69332 (eval $ac_try) 2>&5
69333 ac_status=$?
69334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69335 (exit $ac_status); }; } &&
69336 { ac_try='test -s conftest$ac_exeext'
69337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69338 (eval $ac_try) 2>&5
69339 ac_status=$?
69340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69341 (exit $ac_status); }; }; then
69342 eval "$as_ac_var=yes"
69343 else
69344 echo "$as_me: failed program was:" >&5
69345 sed 's/^/| /' conftest.$ac_ext >&5
69346
69347 eval "$as_ac_var=no"
69348 fi
69349 rm -f conftest.err conftest.$ac_objext \
69350 conftest$ac_exeext conftest.$ac_ext
69351 fi
69352 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69353 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69354 if test `eval echo '${'$as_ac_var'}'` = yes; then
69355 cat >>confdefs.h <<_ACEOF
69356 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69357 _ACEOF
69358
69359 fi
69360 done
69361
69362 else
69363
69364 echo "$as_me:$LINENO: checking for _sqrtl declaration" >&5
69365 echo $ECHO_N "checking for _sqrtl declaration... $ECHO_C" >&6
69366 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
69367 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then
69368 echo $ECHO_N "(cached) $ECHO_C" >&6
69369 else
69370
69371
69372
69373 ac_ext=cc
69374 ac_cpp='$CXXCPP $CPPFLAGS'
69375 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69376 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69377 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69378
69379 cat >conftest.$ac_ext <<_ACEOF
69380 /* confdefs.h. */
69381 _ACEOF
69382 cat confdefs.h >>conftest.$ac_ext
69383 cat >>conftest.$ac_ext <<_ACEOF
69384 /* end confdefs.h. */
69385 #include <math.h>
69386 #ifdef HAVE_IEEEFP_H
69387 #include <ieeefp.h>
69388 #endif
69389
69390 int
69391 main ()
69392 {
69393 _sqrtl(0);
69394 ;
69395 return 0;
69396 }
69397 _ACEOF
69398 rm -f conftest.$ac_objext
69399 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69400 (eval $ac_compile) 2>conftest.er1
69401 ac_status=$?
69402 grep -v '^ *+' conftest.er1 >conftest.err
69403 rm -f conftest.er1
69404 cat conftest.err >&5
69405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69406 (exit $ac_status); } &&
69407 { ac_try='test -z "$ac_cxx_werror_flag"
69408 || test ! -s conftest.err'
69409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69410 (eval $ac_try) 2>&5
69411 ac_status=$?
69412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69413 (exit $ac_status); }; } &&
69414 { ac_try='test -s conftest.$ac_objext'
69415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69416 (eval $ac_try) 2>&5
69417 ac_status=$?
69418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69419 (exit $ac_status); }; }; then
69420 glibcxx_cv_func__sqrtl_use=yes
69421 else
69422 echo "$as_me: failed program was:" >&5
69423 sed 's/^/| /' conftest.$ac_ext >&5
69424
69425 glibcxx_cv_func__sqrtl_use=no
69426 fi
69427 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69428 ac_ext=c
69429 ac_cpp='$CPP $CPPFLAGS'
69430 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69431 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69432 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69433
69434
69435 fi
69436
69437 fi
69438 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtl_use" >&5
69439 echo "${ECHO_T}$glibcxx_cv_func__sqrtl_use" >&6
69440
69441 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
69442
69443 for ac_func in _sqrtl
69444 do
69445 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69446 echo "$as_me:$LINENO: checking for $ac_func" >&5
69447 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69448 if eval "test \"\${$as_ac_var+set}\" = set"; then
69449 echo $ECHO_N "(cached) $ECHO_C" >&6
69450 else
69451 if test x$gcc_no_link = xyes; then
69452 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69453 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69454 { (exit 1); exit 1; }; }
69455 fi
69456 cat >conftest.$ac_ext <<_ACEOF
69457 /* confdefs.h. */
69458 _ACEOF
69459 cat confdefs.h >>conftest.$ac_ext
69460 cat >>conftest.$ac_ext <<_ACEOF
69461 /* end confdefs.h. */
69462 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69463 For example, HP-UX 11i <limits.h> declares gettimeofday. */
69464 #define $ac_func innocuous_$ac_func
69465
69466 /* System header to define __stub macros and hopefully few prototypes,
69467 which can conflict with char $ac_func (); below.
69468 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69469 <limits.h> exists even on freestanding compilers. */
69470
69471 #ifdef __STDC__
69472 # include <limits.h>
69473 #else
69474 # include <assert.h>
69475 #endif
69476
69477 #undef $ac_func
69478
69479 /* Override any gcc2 internal prototype to avoid an error. */
69480 #ifdef __cplusplus
69481 extern "C"
69482 {
69483 #endif
69484 /* We use char because int might match the return type of a gcc2
69485 builtin and then its argument prototype would still apply. */
69486 char $ac_func ();
69487 /* The GNU C library defines this for functions which it implements
69488 to always fail with ENOSYS. Some functions are actually named
69489 something starting with __ and the normal name is an alias. */
69490 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69491 choke me
69492 #else
69493 char (*f) () = $ac_func;
69494 #endif
69495 #ifdef __cplusplus
69496 }
69497 #endif
69498
69499 int
69500 main ()
69501 {
69502 return f != $ac_func;
69503 ;
69504 return 0;
69505 }
69506 _ACEOF
69507 rm -f conftest.$ac_objext conftest$ac_exeext
69508 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69509 (eval $ac_link) 2>conftest.er1
69510 ac_status=$?
69511 grep -v '^ *+' conftest.er1 >conftest.err
69512 rm -f conftest.er1
69513 cat conftest.err >&5
69514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69515 (exit $ac_status); } &&
69516 { ac_try='test -z "$ac_c_werror_flag"
69517 || test ! -s conftest.err'
69518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69519 (eval $ac_try) 2>&5
69520 ac_status=$?
69521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69522 (exit $ac_status); }; } &&
69523 { ac_try='test -s conftest$ac_exeext'
69524 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69525 (eval $ac_try) 2>&5
69526 ac_status=$?
69527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69528 (exit $ac_status); }; }; then
69529 eval "$as_ac_var=yes"
69530 else
69531 echo "$as_me: failed program was:" >&5
69532 sed 's/^/| /' conftest.$ac_ext >&5
69533
69534 eval "$as_ac_var=no"
69535 fi
69536 rm -f conftest.err conftest.$ac_objext \
69537 conftest$ac_exeext conftest.$ac_ext
69538 fi
69539 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69540 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69541 if test `eval echo '${'$as_ac_var'}'` = yes; then
69542 cat >>confdefs.h <<_ACEOF
69543 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69544 _ACEOF
69545
69546 fi
69547 done
69548
69549 fi
69550 fi
69551
69552
69553
69554
69555
69556
69557 echo "$as_me:$LINENO: checking for sincosl declaration" >&5
69558 echo $ECHO_N "checking for sincosl declaration... $ECHO_C" >&6
69559 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
69560 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then
69561 echo $ECHO_N "(cached) $ECHO_C" >&6
69562 else
69563
69564
69565
69566 ac_ext=cc
69567 ac_cpp='$CXXCPP $CPPFLAGS'
69568 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69569 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69570 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69571
69572 cat >conftest.$ac_ext <<_ACEOF
69573 /* confdefs.h. */
69574 _ACEOF
69575 cat confdefs.h >>conftest.$ac_ext
69576 cat >>conftest.$ac_ext <<_ACEOF
69577 /* end confdefs.h. */
69578 #include <math.h>
69579 int
69580 main ()
69581 {
69582 sincosl(0, 0, 0);
69583 ;
69584 return 0;
69585 }
69586 _ACEOF
69587 rm -f conftest.$ac_objext
69588 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69589 (eval $ac_compile) 2>conftest.er1
69590 ac_status=$?
69591 grep -v '^ *+' conftest.er1 >conftest.err
69592 rm -f conftest.er1
69593 cat conftest.err >&5
69594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69595 (exit $ac_status); } &&
69596 { ac_try='test -z "$ac_cxx_werror_flag"
69597 || test ! -s conftest.err'
69598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69599 (eval $ac_try) 2>&5
69600 ac_status=$?
69601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69602 (exit $ac_status); }; } &&
69603 { ac_try='test -s conftest.$ac_objext'
69604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69605 (eval $ac_try) 2>&5
69606 ac_status=$?
69607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69608 (exit $ac_status); }; }; then
69609 glibcxx_cv_func_sincosl_use=yes
69610 else
69611 echo "$as_me: failed program was:" >&5
69612 sed 's/^/| /' conftest.$ac_ext >&5
69613
69614 glibcxx_cv_func_sincosl_use=no
69615 fi
69616 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69617 ac_ext=c
69618 ac_cpp='$CPP $CPPFLAGS'
69619 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69620 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69621 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69622
69623
69624 fi
69625
69626 fi
69627 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosl_use" >&5
69628 echo "${ECHO_T}$glibcxx_cv_func_sincosl_use" >&6
69629
69630 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
69631
69632 for ac_func in sincosl
69633 do
69634 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69635 echo "$as_me:$LINENO: checking for $ac_func" >&5
69636 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69637 if eval "test \"\${$as_ac_var+set}\" = set"; then
69638 echo $ECHO_N "(cached) $ECHO_C" >&6
69639 else
69640 if test x$gcc_no_link = xyes; then
69641 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69642 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69643 { (exit 1); exit 1; }; }
69644 fi
69645 cat >conftest.$ac_ext <<_ACEOF
69646 /* confdefs.h. */
69647 _ACEOF
69648 cat confdefs.h >>conftest.$ac_ext
69649 cat >>conftest.$ac_ext <<_ACEOF
69650 /* end confdefs.h. */
69651 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69652 For example, HP-UX 11i <limits.h> declares gettimeofday. */
69653 #define $ac_func innocuous_$ac_func
69654
69655 /* System header to define __stub macros and hopefully few prototypes,
69656 which can conflict with char $ac_func (); below.
69657 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69658 <limits.h> exists even on freestanding compilers. */
69659
69660 #ifdef __STDC__
69661 # include <limits.h>
69662 #else
69663 # include <assert.h>
69664 #endif
69665
69666 #undef $ac_func
69667
69668 /* Override any gcc2 internal prototype to avoid an error. */
69669 #ifdef __cplusplus
69670 extern "C"
69671 {
69672 #endif
69673 /* We use char because int might match the return type of a gcc2
69674 builtin and then its argument prototype would still apply. */
69675 char $ac_func ();
69676 /* The GNU C library defines this for functions which it implements
69677 to always fail with ENOSYS. Some functions are actually named
69678 something starting with __ and the normal name is an alias. */
69679 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69680 choke me
69681 #else
69682 char (*f) () = $ac_func;
69683 #endif
69684 #ifdef __cplusplus
69685 }
69686 #endif
69687
69688 int
69689 main ()
69690 {
69691 return f != $ac_func;
69692 ;
69693 return 0;
69694 }
69695 _ACEOF
69696 rm -f conftest.$ac_objext conftest$ac_exeext
69697 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69698 (eval $ac_link) 2>conftest.er1
69699 ac_status=$?
69700 grep -v '^ *+' conftest.er1 >conftest.err
69701 rm -f conftest.er1
69702 cat conftest.err >&5
69703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69704 (exit $ac_status); } &&
69705 { ac_try='test -z "$ac_c_werror_flag"
69706 || test ! -s conftest.err'
69707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69708 (eval $ac_try) 2>&5
69709 ac_status=$?
69710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69711 (exit $ac_status); }; } &&
69712 { ac_try='test -s conftest$ac_exeext'
69713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69714 (eval $ac_try) 2>&5
69715 ac_status=$?
69716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69717 (exit $ac_status); }; }; then
69718 eval "$as_ac_var=yes"
69719 else
69720 echo "$as_me: failed program was:" >&5
69721 sed 's/^/| /' conftest.$ac_ext >&5
69722
69723 eval "$as_ac_var=no"
69724 fi
69725 rm -f conftest.err conftest.$ac_objext \
69726 conftest$ac_exeext conftest.$ac_ext
69727 fi
69728 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69729 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69730 if test `eval echo '${'$as_ac_var'}'` = yes; then
69731 cat >>confdefs.h <<_ACEOF
69732 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69733 _ACEOF
69734
69735 fi
69736 done
69737
69738 else
69739
69740 echo "$as_me:$LINENO: checking for _sincosl declaration" >&5
69741 echo $ECHO_N "checking for _sincosl declaration... $ECHO_C" >&6
69742 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
69743 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then
69744 echo $ECHO_N "(cached) $ECHO_C" >&6
69745 else
69746
69747
69748
69749 ac_ext=cc
69750 ac_cpp='$CXXCPP $CPPFLAGS'
69751 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69752 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69753 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69754
69755 cat >conftest.$ac_ext <<_ACEOF
69756 /* confdefs.h. */
69757 _ACEOF
69758 cat confdefs.h >>conftest.$ac_ext
69759 cat >>conftest.$ac_ext <<_ACEOF
69760 /* end confdefs.h. */
69761 #include <math.h>
69762 int
69763 main ()
69764 {
69765 _sincosl(0, 0, 0);
69766 ;
69767 return 0;
69768 }
69769 _ACEOF
69770 rm -f conftest.$ac_objext
69771 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69772 (eval $ac_compile) 2>conftest.er1
69773 ac_status=$?
69774 grep -v '^ *+' conftest.er1 >conftest.err
69775 rm -f conftest.er1
69776 cat conftest.err >&5
69777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69778 (exit $ac_status); } &&
69779 { ac_try='test -z "$ac_cxx_werror_flag"
69780 || test ! -s conftest.err'
69781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69782 (eval $ac_try) 2>&5
69783 ac_status=$?
69784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69785 (exit $ac_status); }; } &&
69786 { ac_try='test -s conftest.$ac_objext'
69787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69788 (eval $ac_try) 2>&5
69789 ac_status=$?
69790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69791 (exit $ac_status); }; }; then
69792 glibcxx_cv_func__sincosl_use=yes
69793 else
69794 echo "$as_me: failed program was:" >&5
69795 sed 's/^/| /' conftest.$ac_ext >&5
69796
69797 glibcxx_cv_func__sincosl_use=no
69798 fi
69799 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69800 ac_ext=c
69801 ac_cpp='$CPP $CPPFLAGS'
69802 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69803 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69804 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69805
69806
69807 fi
69808
69809 fi
69810 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosl_use" >&5
69811 echo "${ECHO_T}$glibcxx_cv_func__sincosl_use" >&6
69812
69813 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
69814
69815 for ac_func in _sincosl
69816 do
69817 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69818 echo "$as_me:$LINENO: checking for $ac_func" >&5
69819 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69820 if eval "test \"\${$as_ac_var+set}\" = set"; then
69821 echo $ECHO_N "(cached) $ECHO_C" >&6
69822 else
69823 if test x$gcc_no_link = xyes; then
69824 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69825 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69826 { (exit 1); exit 1; }; }
69827 fi
69828 cat >conftest.$ac_ext <<_ACEOF
69829 /* confdefs.h. */
69830 _ACEOF
69831 cat confdefs.h >>conftest.$ac_ext
69832 cat >>conftest.$ac_ext <<_ACEOF
69833 /* end confdefs.h. */
69834 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69835 For example, HP-UX 11i <limits.h> declares gettimeofday. */
69836 #define $ac_func innocuous_$ac_func
69837
69838 /* System header to define __stub macros and hopefully few prototypes,
69839 which can conflict with char $ac_func (); below.
69840 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69841 <limits.h> exists even on freestanding compilers. */
69842
69843 #ifdef __STDC__
69844 # include <limits.h>
69845 #else
69846 # include <assert.h>
69847 #endif
69848
69849 #undef $ac_func
69850
69851 /* Override any gcc2 internal prototype to avoid an error. */
69852 #ifdef __cplusplus
69853 extern "C"
69854 {
69855 #endif
69856 /* We use char because int might match the return type of a gcc2
69857 builtin and then its argument prototype would still apply. */
69858 char $ac_func ();
69859 /* The GNU C library defines this for functions which it implements
69860 to always fail with ENOSYS. Some functions are actually named
69861 something starting with __ and the normal name is an alias. */
69862 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69863 choke me
69864 #else
69865 char (*f) () = $ac_func;
69866 #endif
69867 #ifdef __cplusplus
69868 }
69869 #endif
69870
69871 int
69872 main ()
69873 {
69874 return f != $ac_func;
69875 ;
69876 return 0;
69877 }
69878 _ACEOF
69879 rm -f conftest.$ac_objext conftest$ac_exeext
69880 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69881 (eval $ac_link) 2>conftest.er1
69882 ac_status=$?
69883 grep -v '^ *+' conftest.er1 >conftest.err
69884 rm -f conftest.er1
69885 cat conftest.err >&5
69886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69887 (exit $ac_status); } &&
69888 { ac_try='test -z "$ac_c_werror_flag"
69889 || 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 finitel declaration" >&5
69930 echo $ECHO_N "checking for finitel declaration... $ECHO_C" >&6
69931 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
69932 if test "${glibcxx_cv_func_finitel_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 finitel(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"
69973 || test ! -s conftest.err'
69974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69975 (eval $ac_try) 2>&5
69976 ac_status=$?
69977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69978 (exit $ac_status); }; } &&
69979 { ac_try='test -s conftest.$ac_objext'
69980 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69981 (eval $ac_try) 2>&5
69982 ac_status=$?
69983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69984 (exit $ac_status); }; }; then
69985 glibcxx_cv_func_finitel_use=yes
69986 else
69987 echo "$as_me: failed program was:" >&5
69988 sed 's/^/| /' conftest.$ac_ext >&5
69989
69990 glibcxx_cv_func_finitel_use=no
69991 fi
69992 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69993 ac_ext=c
69994 ac_cpp='$CPP $CPPFLAGS'
69995 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69996 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69997 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69998
69999
70000 fi
70001
70002 fi
70003 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitel_use" >&5
70004 echo "${ECHO_T}$glibcxx_cv_func_finitel_use" >&6
70005
70006 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
70007
70008 for ac_func in finitel
70009 do
70010 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70011 echo "$as_me:$LINENO: checking for $ac_func" >&5
70012 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70013 if eval "test \"\${$as_ac_var+set}\" = set"; then
70014 echo $ECHO_N "(cached) $ECHO_C" >&6
70015 else
70016 if test x$gcc_no_link = xyes; then
70017 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70018 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70019 { (exit 1); exit 1; }; }
70020 fi
70021 cat >conftest.$ac_ext <<_ACEOF
70022 /* confdefs.h. */
70023 _ACEOF
70024 cat confdefs.h >>conftest.$ac_ext
70025 cat >>conftest.$ac_ext <<_ACEOF
70026 /* end confdefs.h. */
70027 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70028 For example, HP-UX 11i <limits.h> declares gettimeofday. */
70029 #define $ac_func innocuous_$ac_func
70030
70031 /* System header to define __stub macros and hopefully few prototypes,
70032 which can conflict with char $ac_func (); below.
70033 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70034 <limits.h> exists even on freestanding compilers. */
70035
70036 #ifdef __STDC__
70037 # include <limits.h>
70038 #else
70039 # include <assert.h>
70040 #endif
70041
70042 #undef $ac_func
70043
70044 /* Override any gcc2 internal prototype to avoid an error. */
70045 #ifdef __cplusplus
70046 extern "C"
70047 {
70048 #endif
70049 /* We use char because int might match the return type of a gcc2
70050 builtin and then its argument prototype would still apply. */
70051 char $ac_func ();
70052 /* The GNU C library defines this for functions which it implements
70053 to always fail with ENOSYS. Some functions are actually named
70054 something starting with __ and the normal name is an alias. */
70055 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70056 choke me
70057 #else
70058 char (*f) () = $ac_func;
70059 #endif
70060 #ifdef __cplusplus
70061 }
70062 #endif
70063
70064 int
70065 main ()
70066 {
70067 return f != $ac_func;
70068 ;
70069 return 0;
70070 }
70071 _ACEOF
70072 rm -f conftest.$ac_objext conftest$ac_exeext
70073 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70074 (eval $ac_link) 2>conftest.er1
70075 ac_status=$?
70076 grep -v '^ *+' conftest.er1 >conftest.err
70077 rm -f conftest.er1
70078 cat conftest.err >&5
70079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70080 (exit $ac_status); } &&
70081 { ac_try='test -z "$ac_c_werror_flag"
70082 || test ! -s conftest.err'
70083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70084 (eval $ac_try) 2>&5
70085 ac_status=$?
70086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70087 (exit $ac_status); }; } &&
70088 { ac_try='test -s conftest$ac_exeext'
70089 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70090 (eval $ac_try) 2>&5
70091 ac_status=$?
70092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70093 (exit $ac_status); }; }; then
70094 eval "$as_ac_var=yes"
70095 else
70096 echo "$as_me: failed program was:" >&5
70097 sed 's/^/| /' conftest.$ac_ext >&5
70098
70099 eval "$as_ac_var=no"
70100 fi
70101 rm -f conftest.err conftest.$ac_objext \
70102 conftest$ac_exeext conftest.$ac_ext
70103 fi
70104 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70105 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70106 if test `eval echo '${'$as_ac_var'}'` = yes; then
70107 cat >>confdefs.h <<_ACEOF
70108 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70109 _ACEOF
70110
70111 fi
70112 done
70113
70114 else
70115
70116 echo "$as_me:$LINENO: checking for _finitel declaration" >&5
70117 echo $ECHO_N "checking for _finitel declaration... $ECHO_C" >&6
70118 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
70119 if test "${glibcxx_cv_func__finitel_use+set}" = set; then
70120 echo $ECHO_N "(cached) $ECHO_C" >&6
70121 else
70122
70123
70124
70125 ac_ext=cc
70126 ac_cpp='$CXXCPP $CPPFLAGS'
70127 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70128 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70129 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70130
70131 cat >conftest.$ac_ext <<_ACEOF
70132 /* confdefs.h. */
70133 _ACEOF
70134 cat confdefs.h >>conftest.$ac_ext
70135 cat >>conftest.$ac_ext <<_ACEOF
70136 /* end confdefs.h. */
70137 #include <math.h>
70138 #ifdef HAVE_IEEEFP_H
70139 #include <ieeefp.h>
70140 #endif
70141
70142 int
70143 main ()
70144 {
70145 _finitel(0);
70146 ;
70147 return 0;
70148 }
70149 _ACEOF
70150 rm -f conftest.$ac_objext
70151 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70152 (eval $ac_compile) 2>conftest.er1
70153 ac_status=$?
70154 grep -v '^ *+' conftest.er1 >conftest.err
70155 rm -f conftest.er1
70156 cat conftest.err >&5
70157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70158 (exit $ac_status); } &&
70159 { ac_try='test -z "$ac_cxx_werror_flag"
70160 || test ! -s conftest.err'
70161 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70162 (eval $ac_try) 2>&5
70163 ac_status=$?
70164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70165 (exit $ac_status); }; } &&
70166 { ac_try='test -s conftest.$ac_objext'
70167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70168 (eval $ac_try) 2>&5
70169 ac_status=$?
70170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70171 (exit $ac_status); }; }; then
70172 glibcxx_cv_func__finitel_use=yes
70173 else
70174 echo "$as_me: failed program was:" >&5
70175 sed 's/^/| /' conftest.$ac_ext >&5
70176
70177 glibcxx_cv_func__finitel_use=no
70178 fi
70179 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70180 ac_ext=c
70181 ac_cpp='$CPP $CPPFLAGS'
70182 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70183 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70184 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70185
70186
70187 fi
70188
70189 fi
70190 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitel_use" >&5
70191 echo "${ECHO_T}$glibcxx_cv_func__finitel_use" >&6
70192
70193 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
70194
70195 for ac_func in _finitel
70196 do
70197 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70198 echo "$as_me:$LINENO: checking for $ac_func" >&5
70199 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70200 if eval "test \"\${$as_ac_var+set}\" = set"; then
70201 echo $ECHO_N "(cached) $ECHO_C" >&6
70202 else
70203 if test x$gcc_no_link = xyes; then
70204 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70205 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70206 { (exit 1); exit 1; }; }
70207 fi
70208 cat >conftest.$ac_ext <<_ACEOF
70209 /* confdefs.h. */
70210 _ACEOF
70211 cat confdefs.h >>conftest.$ac_ext
70212 cat >>conftest.$ac_ext <<_ACEOF
70213 /* end confdefs.h. */
70214 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70215 For example, HP-UX 11i <limits.h> declares gettimeofday. */
70216 #define $ac_func innocuous_$ac_func
70217
70218 /* System header to define __stub macros and hopefully few prototypes,
70219 which can conflict with char $ac_func (); below.
70220 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70221 <limits.h> exists even on freestanding compilers. */
70222
70223 #ifdef __STDC__
70224 # include <limits.h>
70225 #else
70226 # include <assert.h>
70227 #endif
70228
70229 #undef $ac_func
70230
70231 /* Override any gcc2 internal prototype to avoid an error. */
70232 #ifdef __cplusplus
70233 extern "C"
70234 {
70235 #endif
70236 /* We use char because int might match the return type of a gcc2
70237 builtin and then its argument prototype would still apply. */
70238 char $ac_func ();
70239 /* The GNU C library defines this for functions which it implements
70240 to always fail with ENOSYS. Some functions are actually named
70241 something starting with __ and the normal name is an alias. */
70242 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70243 choke me
70244 #else
70245 char (*f) () = $ac_func;
70246 #endif
70247 #ifdef __cplusplus
70248 }
70249 #endif
70250
70251 int
70252 main ()
70253 {
70254 return f != $ac_func;
70255 ;
70256 return 0;
70257 }
70258 _ACEOF
70259 rm -f conftest.$ac_objext conftest$ac_exeext
70260 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70261 (eval $ac_link) 2>conftest.er1
70262 ac_status=$?
70263 grep -v '^ *+' conftest.er1 >conftest.err
70264 rm -f conftest.er1
70265 cat conftest.err >&5
70266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70267 (exit $ac_status); } &&
70268 { ac_try='test -z "$ac_c_werror_flag"
70269 || test ! -s conftest.err'
70270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70271 (eval $ac_try) 2>&5
70272 ac_status=$?
70273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70274 (exit $ac_status); }; } &&
70275 { ac_try='test -s conftest$ac_exeext'
70276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70277 (eval $ac_try) 2>&5
70278 ac_status=$?
70279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70280 (exit $ac_status); }; }; then
70281 eval "$as_ac_var=yes"
70282 else
70283 echo "$as_me: failed program was:" >&5
70284 sed 's/^/| /' conftest.$ac_ext >&5
70285
70286 eval "$as_ac_var=no"
70287 fi
70288 rm -f conftest.err conftest.$ac_objext \
70289 conftest$ac_exeext conftest.$ac_ext
70290 fi
70291 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70292 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70293 if test `eval echo '${'$as_ac_var'}'` = yes; then
70294 cat >>confdefs.h <<_ACEOF
70295 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70296 _ACEOF
70297
70298 fi
70299 done
70300
70301 fi
70302 fi
70303
70304
70305
70306
70307
70308 LIBS="$ac_save_LIBS"
70309 CXXFLAGS="$ac_save_CXXFLAGS"
70310
70311
70312
70313 echo "$as_me:$LINENO: checking for __builtin_abs declaration" >&5
70314 echo $ECHO_N "checking for __builtin_abs declaration... $ECHO_C" >&6
70315 if test x${glibcxx_cv_func___builtin_abs_use+set} != xset; then
70316 if test "${glibcxx_cv_func___builtin_abs_use+set}" = set; then
70317 echo $ECHO_N "(cached) $ECHO_C" >&6
70318 else
70319
70320
70321
70322 ac_ext=cc
70323 ac_cpp='$CXXCPP $CPPFLAGS'
70324 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70325 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70326 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70327
70328 cat >conftest.$ac_ext <<_ACEOF
70329 /* confdefs.h. */
70330 _ACEOF
70331 cat confdefs.h >>conftest.$ac_ext
70332 cat >>conftest.$ac_ext <<_ACEOF
70333 /* end confdefs.h. */
70334 #include <math.h>
70335 int
70336 main ()
70337 {
70338 __builtin_abs(0);
70339 ;
70340 return 0;
70341 }
70342 _ACEOF
70343 rm -f conftest.$ac_objext
70344 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70345 (eval $ac_compile) 2>conftest.er1
70346 ac_status=$?
70347 grep -v '^ *+' conftest.er1 >conftest.err
70348 rm -f conftest.er1
70349 cat conftest.err >&5
70350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70351 (exit $ac_status); } &&
70352 { ac_try='test -z "$ac_cxx_werror_flag"
70353 || test ! -s conftest.err'
70354 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70355 (eval $ac_try) 2>&5
70356 ac_status=$?
70357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70358 (exit $ac_status); }; } &&
70359 { ac_try='test -s conftest.$ac_objext'
70360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70361 (eval $ac_try) 2>&5
70362 ac_status=$?
70363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70364 (exit $ac_status); }; }; then
70365 glibcxx_cv_func___builtin_abs_use=yes
70366 else
70367 echo "$as_me: failed program was:" >&5
70368 sed 's/^/| /' conftest.$ac_ext >&5
70369
70370 glibcxx_cv_func___builtin_abs_use=no
70371 fi
70372 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70373 ac_ext=c
70374 ac_cpp='$CPP $CPPFLAGS'
70375 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70376 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70377 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70378
70379
70380 fi
70381
70382 fi
70383 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_use" >&5
70384 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_use" >&6
70385 if test x$glibcxx_cv_func___builtin_abs_use = x"yes"; then
70386 echo "$as_me:$LINENO: checking for __builtin_abs linkage" >&5
70387 echo $ECHO_N "checking for __builtin_abs linkage... $ECHO_C" >&6
70388 if test x${glibcxx_cv_func___builtin_abs_link+set} != xset; then
70389 if test "${glibcxx_cv_func___builtin_abs_link+set}" = set; then
70390 echo $ECHO_N "(cached) $ECHO_C" >&6
70391 else
70392
70393 if test x$gcc_no_link = xyes; then
70394 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70395 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70396 { (exit 1); exit 1; }; }
70397 fi
70398 cat >conftest.$ac_ext <<_ACEOF
70399 /* confdefs.h. */
70400 _ACEOF
70401 cat confdefs.h >>conftest.$ac_ext
70402 cat >>conftest.$ac_ext <<_ACEOF
70403 /* end confdefs.h. */
70404 #include <math.h>
70405 int
70406 main ()
70407 {
70408 __builtin_abs(0);
70409 ;
70410 return 0;
70411 }
70412 _ACEOF
70413 rm -f conftest.$ac_objext conftest$ac_exeext
70414 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70415 (eval $ac_link) 2>conftest.er1
70416 ac_status=$?
70417 grep -v '^ *+' conftest.er1 >conftest.err
70418 rm -f conftest.er1
70419 cat conftest.err >&5
70420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70421 (exit $ac_status); } &&
70422 { ac_try='test -z "$ac_c_werror_flag"
70423 || test ! -s conftest.err'
70424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70425 (eval $ac_try) 2>&5
70426 ac_status=$?
70427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70428 (exit $ac_status); }; } &&
70429 { ac_try='test -s conftest$ac_exeext'
70430 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70431 (eval $ac_try) 2>&5
70432 ac_status=$?
70433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70434 (exit $ac_status); }; }; then
70435 glibcxx_cv_func___builtin_abs_link=yes
70436 else
70437 echo "$as_me: failed program was:" >&5
70438 sed 's/^/| /' conftest.$ac_ext >&5
70439
70440 glibcxx_cv_func___builtin_abs_link=no
70441 fi
70442 rm -f conftest.err conftest.$ac_objext \
70443 conftest$ac_exeext conftest.$ac_ext
70444
70445 fi
70446
70447 fi
70448 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_link" >&5
70449 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_link" >&6
70450
70451 if test x$glibcxx_cv_func___builtin_abs_link = x"yes"; then
70452
70453 cat >>confdefs.h <<\_ACEOF
70454 #define HAVE___BUILTIN_ABS 1
70455 _ACEOF
70456
70457 fi
70458
70459 fi
70460
70461
70462 echo "$as_me:$LINENO: checking for __builtin_fabsf declaration" >&5
70463 echo $ECHO_N "checking for __builtin_fabsf declaration... $ECHO_C" >&6
70464 if test x${glibcxx_cv_func___builtin_fabsf_use+set} != xset; then
70465 if test "${glibcxx_cv_func___builtin_fabsf_use+set}" = set; then
70466 echo $ECHO_N "(cached) $ECHO_C" >&6
70467 else
70468
70469
70470
70471 ac_ext=cc
70472 ac_cpp='$CXXCPP $CPPFLAGS'
70473 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70474 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70475 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70476
70477 cat >conftest.$ac_ext <<_ACEOF
70478 /* confdefs.h. */
70479 _ACEOF
70480 cat confdefs.h >>conftest.$ac_ext
70481 cat >>conftest.$ac_ext <<_ACEOF
70482 /* end confdefs.h. */
70483 #include <math.h>
70484 int
70485 main ()
70486 {
70487 __builtin_fabsf(0);
70488 ;
70489 return 0;
70490 }
70491 _ACEOF
70492 rm -f conftest.$ac_objext
70493 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70494 (eval $ac_compile) 2>conftest.er1
70495 ac_status=$?
70496 grep -v '^ *+' conftest.er1 >conftest.err
70497 rm -f conftest.er1
70498 cat conftest.err >&5
70499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70500 (exit $ac_status); } &&
70501 { ac_try='test -z "$ac_cxx_werror_flag"
70502 || test ! -s conftest.err'
70503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70504 (eval $ac_try) 2>&5
70505 ac_status=$?
70506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70507 (exit $ac_status); }; } &&
70508 { ac_try='test -s conftest.$ac_objext'
70509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70510 (eval $ac_try) 2>&5
70511 ac_status=$?
70512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70513 (exit $ac_status); }; }; then
70514 glibcxx_cv_func___builtin_fabsf_use=yes
70515 else
70516 echo "$as_me: failed program was:" >&5
70517 sed 's/^/| /' conftest.$ac_ext >&5
70518
70519 glibcxx_cv_func___builtin_fabsf_use=no
70520 fi
70521 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70522 ac_ext=c
70523 ac_cpp='$CPP $CPPFLAGS'
70524 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70525 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70526 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70527
70528
70529 fi
70530
70531 fi
70532 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_use" >&5
70533 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_use" >&6
70534 if test x$glibcxx_cv_func___builtin_fabsf_use = x"yes"; then
70535 echo "$as_me:$LINENO: checking for __builtin_fabsf linkage" >&5
70536 echo $ECHO_N "checking for __builtin_fabsf linkage... $ECHO_C" >&6
70537 if test x${glibcxx_cv_func___builtin_fabsf_link+set} != xset; then
70538 if test "${glibcxx_cv_func___builtin_fabsf_link+set}" = set; then
70539 echo $ECHO_N "(cached) $ECHO_C" >&6
70540 else
70541
70542 if test x$gcc_no_link = xyes; then
70543 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70544 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70545 { (exit 1); exit 1; }; }
70546 fi
70547 cat >conftest.$ac_ext <<_ACEOF
70548 /* confdefs.h. */
70549 _ACEOF
70550 cat confdefs.h >>conftest.$ac_ext
70551 cat >>conftest.$ac_ext <<_ACEOF
70552 /* end confdefs.h. */
70553 #include <math.h>
70554 int
70555 main ()
70556 {
70557 __builtin_fabsf(0);
70558 ;
70559 return 0;
70560 }
70561 _ACEOF
70562 rm -f conftest.$ac_objext conftest$ac_exeext
70563 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70564 (eval $ac_link) 2>conftest.er1
70565 ac_status=$?
70566 grep -v '^ *+' conftest.er1 >conftest.err
70567 rm -f conftest.er1
70568 cat conftest.err >&5
70569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70570 (exit $ac_status); } &&
70571 { ac_try='test -z "$ac_c_werror_flag"
70572 || test ! -s conftest.err'
70573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70574 (eval $ac_try) 2>&5
70575 ac_status=$?
70576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70577 (exit $ac_status); }; } &&
70578 { ac_try='test -s conftest$ac_exeext'
70579 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70580 (eval $ac_try) 2>&5
70581 ac_status=$?
70582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70583 (exit $ac_status); }; }; then
70584 glibcxx_cv_func___builtin_fabsf_link=yes
70585 else
70586 echo "$as_me: failed program was:" >&5
70587 sed 's/^/| /' conftest.$ac_ext >&5
70588
70589 glibcxx_cv_func___builtin_fabsf_link=no
70590 fi
70591 rm -f conftest.err conftest.$ac_objext \
70592 conftest$ac_exeext conftest.$ac_ext
70593
70594 fi
70595
70596 fi
70597 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_link" >&5
70598 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_link" >&6
70599
70600 if test x$glibcxx_cv_func___builtin_fabsf_link = x"yes"; then
70601
70602 cat >>confdefs.h <<\_ACEOF
70603 #define HAVE___BUILTIN_FABSF 1
70604 _ACEOF
70605
70606 fi
70607
70608 fi
70609
70610
70611 echo "$as_me:$LINENO: checking for __builtin_fabs declaration" >&5
70612 echo $ECHO_N "checking for __builtin_fabs declaration... $ECHO_C" >&6
70613 if test x${glibcxx_cv_func___builtin_fabs_use+set} != xset; then
70614 if test "${glibcxx_cv_func___builtin_fabs_use+set}" = set; then
70615 echo $ECHO_N "(cached) $ECHO_C" >&6
70616 else
70617
70618
70619
70620 ac_ext=cc
70621 ac_cpp='$CXXCPP $CPPFLAGS'
70622 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70623 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70624 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70625
70626 cat >conftest.$ac_ext <<_ACEOF
70627 /* confdefs.h. */
70628 _ACEOF
70629 cat confdefs.h >>conftest.$ac_ext
70630 cat >>conftest.$ac_ext <<_ACEOF
70631 /* end confdefs.h. */
70632 #include <math.h>
70633 int
70634 main ()
70635 {
70636 __builtin_fabs(0);
70637 ;
70638 return 0;
70639 }
70640 _ACEOF
70641 rm -f conftest.$ac_objext
70642 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70643 (eval $ac_compile) 2>conftest.er1
70644 ac_status=$?
70645 grep -v '^ *+' conftest.er1 >conftest.err
70646 rm -f conftest.er1
70647 cat conftest.err >&5
70648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70649 (exit $ac_status); } &&
70650 { ac_try='test -z "$ac_cxx_werror_flag"
70651 || test ! -s conftest.err'
70652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70653 (eval $ac_try) 2>&5
70654 ac_status=$?
70655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70656 (exit $ac_status); }; } &&
70657 { ac_try='test -s conftest.$ac_objext'
70658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70659 (eval $ac_try) 2>&5
70660 ac_status=$?
70661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70662 (exit $ac_status); }; }; then
70663 glibcxx_cv_func___builtin_fabs_use=yes
70664 else
70665 echo "$as_me: failed program was:" >&5
70666 sed 's/^/| /' conftest.$ac_ext >&5
70667
70668 glibcxx_cv_func___builtin_fabs_use=no
70669 fi
70670 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70671 ac_ext=c
70672 ac_cpp='$CPP $CPPFLAGS'
70673 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70674 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70675 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70676
70677
70678 fi
70679
70680 fi
70681 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_use" >&5
70682 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_use" >&6
70683 if test x$glibcxx_cv_func___builtin_fabs_use = x"yes"; then
70684 echo "$as_me:$LINENO: checking for __builtin_fabs linkage" >&5
70685 echo $ECHO_N "checking for __builtin_fabs linkage... $ECHO_C" >&6
70686 if test x${glibcxx_cv_func___builtin_fabs_link+set} != xset; then
70687 if test "${glibcxx_cv_func___builtin_fabs_link+set}" = set; then
70688 echo $ECHO_N "(cached) $ECHO_C" >&6
70689 else
70690
70691 if test x$gcc_no_link = xyes; then
70692 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70693 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70694 { (exit 1); exit 1; }; }
70695 fi
70696 cat >conftest.$ac_ext <<_ACEOF
70697 /* confdefs.h. */
70698 _ACEOF
70699 cat confdefs.h >>conftest.$ac_ext
70700 cat >>conftest.$ac_ext <<_ACEOF
70701 /* end confdefs.h. */
70702 #include <math.h>
70703 int
70704 main ()
70705 {
70706 __builtin_fabs(0);
70707 ;
70708 return 0;
70709 }
70710 _ACEOF
70711 rm -f conftest.$ac_objext conftest$ac_exeext
70712 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70713 (eval $ac_link) 2>conftest.er1
70714 ac_status=$?
70715 grep -v '^ *+' conftest.er1 >conftest.err
70716 rm -f conftest.er1
70717 cat conftest.err >&5
70718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70719 (exit $ac_status); } &&
70720 { ac_try='test -z "$ac_c_werror_flag"
70721 || test ! -s conftest.err'
70722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70723 (eval $ac_try) 2>&5
70724 ac_status=$?
70725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70726 (exit $ac_status); }; } &&
70727 { ac_try='test -s conftest$ac_exeext'
70728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70729 (eval $ac_try) 2>&5
70730 ac_status=$?
70731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70732 (exit $ac_status); }; }; then
70733 glibcxx_cv_func___builtin_fabs_link=yes
70734 else
70735 echo "$as_me: failed program was:" >&5
70736 sed 's/^/| /' conftest.$ac_ext >&5
70737
70738 glibcxx_cv_func___builtin_fabs_link=no
70739 fi
70740 rm -f conftest.err conftest.$ac_objext \
70741 conftest$ac_exeext conftest.$ac_ext
70742
70743 fi
70744
70745 fi
70746 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_link" >&5
70747 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_link" >&6
70748
70749 if test x$glibcxx_cv_func___builtin_fabs_link = x"yes"; then
70750
70751 cat >>confdefs.h <<\_ACEOF
70752 #define HAVE___BUILTIN_FABS 1
70753 _ACEOF
70754
70755 fi
70756
70757 fi
70758
70759
70760 echo "$as_me:$LINENO: checking for __builtin_fabsl declaration" >&5
70761 echo $ECHO_N "checking for __builtin_fabsl declaration... $ECHO_C" >&6
70762 if test x${glibcxx_cv_func___builtin_fabsl_use+set} != xset; then
70763 if test "${glibcxx_cv_func___builtin_fabsl_use+set}" = set; then
70764 echo $ECHO_N "(cached) $ECHO_C" >&6
70765 else
70766
70767
70768
70769 ac_ext=cc
70770 ac_cpp='$CXXCPP $CPPFLAGS'
70771 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70772 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70773 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70774
70775 cat >conftest.$ac_ext <<_ACEOF
70776 /* confdefs.h. */
70777 _ACEOF
70778 cat confdefs.h >>conftest.$ac_ext
70779 cat >>conftest.$ac_ext <<_ACEOF
70780 /* end confdefs.h. */
70781 #include <math.h>
70782 int
70783 main ()
70784 {
70785 __builtin_fabsl(0);
70786 ;
70787 return 0;
70788 }
70789 _ACEOF
70790 rm -f conftest.$ac_objext
70791 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70792 (eval $ac_compile) 2>conftest.er1
70793 ac_status=$?
70794 grep -v '^ *+' conftest.er1 >conftest.err
70795 rm -f conftest.er1
70796 cat conftest.err >&5
70797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70798 (exit $ac_status); } &&
70799 { ac_try='test -z "$ac_cxx_werror_flag"
70800 || test ! -s conftest.err'
70801 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70802 (eval $ac_try) 2>&5
70803 ac_status=$?
70804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70805 (exit $ac_status); }; } &&
70806 { ac_try='test -s conftest.$ac_objext'
70807 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70808 (eval $ac_try) 2>&5
70809 ac_status=$?
70810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70811 (exit $ac_status); }; }; then
70812 glibcxx_cv_func___builtin_fabsl_use=yes
70813 else
70814 echo "$as_me: failed program was:" >&5
70815 sed 's/^/| /' conftest.$ac_ext >&5
70816
70817 glibcxx_cv_func___builtin_fabsl_use=no
70818 fi
70819 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70820 ac_ext=c
70821 ac_cpp='$CPP $CPPFLAGS'
70822 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70823 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70824 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70825
70826
70827 fi
70828
70829 fi
70830 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_use" >&5
70831 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_use" >&6
70832 if test x$glibcxx_cv_func___builtin_fabsl_use = x"yes"; then
70833 echo "$as_me:$LINENO: checking for __builtin_fabsl linkage" >&5
70834 echo $ECHO_N "checking for __builtin_fabsl linkage... $ECHO_C" >&6
70835 if test x${glibcxx_cv_func___builtin_fabsl_link+set} != xset; then
70836 if test "${glibcxx_cv_func___builtin_fabsl_link+set}" = set; then
70837 echo $ECHO_N "(cached) $ECHO_C" >&6
70838 else
70839
70840 if test x$gcc_no_link = xyes; then
70841 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70842 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70843 { (exit 1); exit 1; }; }
70844 fi
70845 cat >conftest.$ac_ext <<_ACEOF
70846 /* confdefs.h. */
70847 _ACEOF
70848 cat confdefs.h >>conftest.$ac_ext
70849 cat >>conftest.$ac_ext <<_ACEOF
70850 /* end confdefs.h. */
70851 #include <math.h>
70852 int
70853 main ()
70854 {
70855 __builtin_fabsl(0);
70856 ;
70857 return 0;
70858 }
70859 _ACEOF
70860 rm -f conftest.$ac_objext conftest$ac_exeext
70861 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70862 (eval $ac_link) 2>conftest.er1
70863 ac_status=$?
70864 grep -v '^ *+' conftest.er1 >conftest.err
70865 rm -f conftest.er1
70866 cat conftest.err >&5
70867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70868 (exit $ac_status); } &&
70869 { ac_try='test -z "$ac_c_werror_flag"
70870 || test ! -s conftest.err'
70871 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70872 (eval $ac_try) 2>&5
70873 ac_status=$?
70874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70875 (exit $ac_status); }; } &&
70876 { ac_try='test -s conftest$ac_exeext'
70877 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70878 (eval $ac_try) 2>&5
70879 ac_status=$?
70880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70881 (exit $ac_status); }; }; then
70882 glibcxx_cv_func___builtin_fabsl_link=yes
70883 else
70884 echo "$as_me: failed program was:" >&5
70885 sed 's/^/| /' conftest.$ac_ext >&5
70886
70887 glibcxx_cv_func___builtin_fabsl_link=no
70888 fi
70889 rm -f conftest.err conftest.$ac_objext \
70890 conftest$ac_exeext conftest.$ac_ext
70891
70892 fi
70893
70894 fi
70895 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_link" >&5
70896 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_link" >&6
70897
70898 if test x$glibcxx_cv_func___builtin_fabsl_link = x"yes"; then
70899
70900 cat >>confdefs.h <<\_ACEOF
70901 #define HAVE___BUILTIN_FABSL 1
70902 _ACEOF
70903
70904 fi
70905
70906 fi
70907
70908
70909 echo "$as_me:$LINENO: checking for __builtin_labs declaration" >&5
70910 echo $ECHO_N "checking for __builtin_labs declaration... $ECHO_C" >&6
70911 if test x${glibcxx_cv_func___builtin_labs_use+set} != xset; then
70912 if test "${glibcxx_cv_func___builtin_labs_use+set}" = set; then
70913 echo $ECHO_N "(cached) $ECHO_C" >&6
70914 else
70915
70916
70917
70918 ac_ext=cc
70919 ac_cpp='$CXXCPP $CPPFLAGS'
70920 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70921 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70922 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70923
70924 cat >conftest.$ac_ext <<_ACEOF
70925 /* confdefs.h. */
70926 _ACEOF
70927 cat confdefs.h >>conftest.$ac_ext
70928 cat >>conftest.$ac_ext <<_ACEOF
70929 /* end confdefs.h. */
70930 #include <math.h>
70931 int
70932 main ()
70933 {
70934 __builtin_labs(0);
70935 ;
70936 return 0;
70937 }
70938 _ACEOF
70939 rm -f conftest.$ac_objext
70940 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70941 (eval $ac_compile) 2>conftest.er1
70942 ac_status=$?
70943 grep -v '^ *+' conftest.er1 >conftest.err
70944 rm -f conftest.er1
70945 cat conftest.err >&5
70946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70947 (exit $ac_status); } &&
70948 { ac_try='test -z "$ac_cxx_werror_flag"
70949 || test ! -s conftest.err'
70950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70951 (eval $ac_try) 2>&5
70952 ac_status=$?
70953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70954 (exit $ac_status); }; } &&
70955 { ac_try='test -s conftest.$ac_objext'
70956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70957 (eval $ac_try) 2>&5
70958 ac_status=$?
70959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70960 (exit $ac_status); }; }; then
70961 glibcxx_cv_func___builtin_labs_use=yes
70962 else
70963 echo "$as_me: failed program was:" >&5
70964 sed 's/^/| /' conftest.$ac_ext >&5
70965
70966 glibcxx_cv_func___builtin_labs_use=no
70967 fi
70968 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70969 ac_ext=c
70970 ac_cpp='$CPP $CPPFLAGS'
70971 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70972 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70973 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70974
70975
70976 fi
70977
70978 fi
70979 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_use" >&5
70980 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_use" >&6
70981 if test x$glibcxx_cv_func___builtin_labs_use = x"yes"; then
70982 echo "$as_me:$LINENO: checking for __builtin_labs linkage" >&5
70983 echo $ECHO_N "checking for __builtin_labs linkage... $ECHO_C" >&6
70984 if test x${glibcxx_cv_func___builtin_labs_link+set} != xset; then
70985 if test "${glibcxx_cv_func___builtin_labs_link+set}" = set; then
70986 echo $ECHO_N "(cached) $ECHO_C" >&6
70987 else
70988
70989 if test x$gcc_no_link = xyes; then
70990 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70991 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70992 { (exit 1); exit 1; }; }
70993 fi
70994 cat >conftest.$ac_ext <<_ACEOF
70995 /* confdefs.h. */
70996 _ACEOF
70997 cat confdefs.h >>conftest.$ac_ext
70998 cat >>conftest.$ac_ext <<_ACEOF
70999 /* end confdefs.h. */
71000 #include <math.h>
71001 int
71002 main ()
71003 {
71004 __builtin_labs(0);
71005 ;
71006 return 0;
71007 }
71008 _ACEOF
71009 rm -f conftest.$ac_objext conftest$ac_exeext
71010 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71011 (eval $ac_link) 2>conftest.er1
71012 ac_status=$?
71013 grep -v '^ *+' conftest.er1 >conftest.err
71014 rm -f conftest.er1
71015 cat conftest.err >&5
71016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71017 (exit $ac_status); } &&
71018 { ac_try='test -z "$ac_c_werror_flag"
71019 || test ! -s conftest.err'
71020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71021 (eval $ac_try) 2>&5
71022 ac_status=$?
71023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71024 (exit $ac_status); }; } &&
71025 { ac_try='test -s conftest$ac_exeext'
71026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71027 (eval $ac_try) 2>&5
71028 ac_status=$?
71029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71030 (exit $ac_status); }; }; then
71031 glibcxx_cv_func___builtin_labs_link=yes
71032 else
71033 echo "$as_me: failed program was:" >&5
71034 sed 's/^/| /' conftest.$ac_ext >&5
71035
71036 glibcxx_cv_func___builtin_labs_link=no
71037 fi
71038 rm -f conftest.err conftest.$ac_objext \
71039 conftest$ac_exeext conftest.$ac_ext
71040
71041 fi
71042
71043 fi
71044 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_link" >&5
71045 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_link" >&6
71046
71047 if test x$glibcxx_cv_func___builtin_labs_link = x"yes"; then
71048
71049 cat >>confdefs.h <<\_ACEOF
71050 #define HAVE___BUILTIN_LABS 1
71051 _ACEOF
71052
71053 fi
71054
71055 fi
71056
71057
71058
71059 echo "$as_me:$LINENO: checking for __builtin_sqrtf declaration" >&5
71060 echo $ECHO_N "checking for __builtin_sqrtf declaration... $ECHO_C" >&6
71061 if test x${glibcxx_cv_func___builtin_sqrtf_use+set} != xset; then
71062 if test "${glibcxx_cv_func___builtin_sqrtf_use+set}" = set; then
71063 echo $ECHO_N "(cached) $ECHO_C" >&6
71064 else
71065
71066
71067
71068 ac_ext=cc
71069 ac_cpp='$CXXCPP $CPPFLAGS'
71070 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71071 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71072 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71073
71074 cat >conftest.$ac_ext <<_ACEOF
71075 /* confdefs.h. */
71076 _ACEOF
71077 cat confdefs.h >>conftest.$ac_ext
71078 cat >>conftest.$ac_ext <<_ACEOF
71079 /* end confdefs.h. */
71080 #include <math.h>
71081 int
71082 main ()
71083 {
71084 __builtin_sqrtf(0);
71085 ;
71086 return 0;
71087 }
71088 _ACEOF
71089 rm -f conftest.$ac_objext
71090 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71091 (eval $ac_compile) 2>conftest.er1
71092 ac_status=$?
71093 grep -v '^ *+' conftest.er1 >conftest.err
71094 rm -f conftest.er1
71095 cat conftest.err >&5
71096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71097 (exit $ac_status); } &&
71098 { ac_try='test -z "$ac_cxx_werror_flag"
71099 || test ! -s conftest.err'
71100 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71101 (eval $ac_try) 2>&5
71102 ac_status=$?
71103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71104 (exit $ac_status); }; } &&
71105 { ac_try='test -s conftest.$ac_objext'
71106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71107 (eval $ac_try) 2>&5
71108 ac_status=$?
71109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71110 (exit $ac_status); }; }; then
71111 glibcxx_cv_func___builtin_sqrtf_use=yes
71112 else
71113 echo "$as_me: failed program was:" >&5
71114 sed 's/^/| /' conftest.$ac_ext >&5
71115
71116 glibcxx_cv_func___builtin_sqrtf_use=no
71117 fi
71118 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71119 ac_ext=c
71120 ac_cpp='$CPP $CPPFLAGS'
71121 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71122 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71123 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71124
71125
71126 fi
71127
71128 fi
71129 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_use" >&5
71130 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_use" >&6
71131 if test x$glibcxx_cv_func___builtin_sqrtf_use = x"yes"; then
71132 echo "$as_me:$LINENO: checking for __builtin_sqrtf linkage" >&5
71133 echo $ECHO_N "checking for __builtin_sqrtf linkage... $ECHO_C" >&6
71134 if test x${glibcxx_cv_func___builtin_sqrtf_link+set} != xset; then
71135 if test "${glibcxx_cv_func___builtin_sqrtf_link+set}" = set; then
71136 echo $ECHO_N "(cached) $ECHO_C" >&6
71137 else
71138
71139 if test x$gcc_no_link = xyes; then
71140 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71141 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71142 { (exit 1); exit 1; }; }
71143 fi
71144 cat >conftest.$ac_ext <<_ACEOF
71145 /* confdefs.h. */
71146 _ACEOF
71147 cat confdefs.h >>conftest.$ac_ext
71148 cat >>conftest.$ac_ext <<_ACEOF
71149 /* end confdefs.h. */
71150 #include <math.h>
71151 int
71152 main ()
71153 {
71154 __builtin_sqrtf(0);
71155 ;
71156 return 0;
71157 }
71158 _ACEOF
71159 rm -f conftest.$ac_objext conftest$ac_exeext
71160 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71161 (eval $ac_link) 2>conftest.er1
71162 ac_status=$?
71163 grep -v '^ *+' conftest.er1 >conftest.err
71164 rm -f conftest.er1
71165 cat conftest.err >&5
71166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71167 (exit $ac_status); } &&
71168 { ac_try='test -z "$ac_c_werror_flag"
71169 || test ! -s conftest.err'
71170 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71171 (eval $ac_try) 2>&5
71172 ac_status=$?
71173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71174 (exit $ac_status); }; } &&
71175 { ac_try='test -s conftest$ac_exeext'
71176 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71177 (eval $ac_try) 2>&5
71178 ac_status=$?
71179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71180 (exit $ac_status); }; }; then
71181 glibcxx_cv_func___builtin_sqrtf_link=yes
71182 else
71183 echo "$as_me: failed program was:" >&5
71184 sed 's/^/| /' conftest.$ac_ext >&5
71185
71186 glibcxx_cv_func___builtin_sqrtf_link=no
71187 fi
71188 rm -f conftest.err conftest.$ac_objext \
71189 conftest$ac_exeext conftest.$ac_ext
71190
71191 fi
71192
71193 fi
71194 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_link" >&5
71195 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_link" >&6
71196
71197 if test x$glibcxx_cv_func___builtin_sqrtf_link = x"yes"; then
71198
71199 cat >>confdefs.h <<\_ACEOF
71200 #define HAVE___BUILTIN_SQRTF 1
71201 _ACEOF
71202
71203 fi
71204
71205 fi
71206
71207
71208 echo "$as_me:$LINENO: checking for __builtin_sqrt declaration" >&5
71209 echo $ECHO_N "checking for __builtin_sqrt declaration... $ECHO_C" >&6
71210 if test x${glibcxx_cv_func___builtin_sqrt_use+set} != xset; then
71211 if test "${glibcxx_cv_func___builtin_sqrt_use+set}" = set; then
71212 echo $ECHO_N "(cached) $ECHO_C" >&6
71213 else
71214
71215
71216
71217 ac_ext=cc
71218 ac_cpp='$CXXCPP $CPPFLAGS'
71219 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71220 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71221 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71222
71223 cat >conftest.$ac_ext <<_ACEOF
71224 /* confdefs.h. */
71225 _ACEOF
71226 cat confdefs.h >>conftest.$ac_ext
71227 cat >>conftest.$ac_ext <<_ACEOF
71228 /* end confdefs.h. */
71229 #include <math.h>
71230 int
71231 main ()
71232 {
71233 __builtin_sqrt(0);
71234 ;
71235 return 0;
71236 }
71237 _ACEOF
71238 rm -f conftest.$ac_objext
71239 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71240 (eval $ac_compile) 2>conftest.er1
71241 ac_status=$?
71242 grep -v '^ *+' conftest.er1 >conftest.err
71243 rm -f conftest.er1
71244 cat conftest.err >&5
71245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71246 (exit $ac_status); } &&
71247 { ac_try='test -z "$ac_cxx_werror_flag"
71248 || test ! -s conftest.err'
71249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71250 (eval $ac_try) 2>&5
71251 ac_status=$?
71252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71253 (exit $ac_status); }; } &&
71254 { ac_try='test -s conftest.$ac_objext'
71255 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71256 (eval $ac_try) 2>&5
71257 ac_status=$?
71258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71259 (exit $ac_status); }; }; then
71260 glibcxx_cv_func___builtin_sqrt_use=yes
71261 else
71262 echo "$as_me: failed program was:" >&5
71263 sed 's/^/| /' conftest.$ac_ext >&5
71264
71265 glibcxx_cv_func___builtin_sqrt_use=no
71266 fi
71267 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71268 ac_ext=c
71269 ac_cpp='$CPP $CPPFLAGS'
71270 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71271 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71272 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71273
71274
71275 fi
71276
71277 fi
71278 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_use" >&5
71279 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_use" >&6
71280 if test x$glibcxx_cv_func___builtin_sqrt_use = x"yes"; then
71281 echo "$as_me:$LINENO: checking for __builtin_sqrt linkage" >&5
71282 echo $ECHO_N "checking for __builtin_sqrt linkage... $ECHO_C" >&6
71283 if test x${glibcxx_cv_func___builtin_sqrt_link+set} != xset; then
71284 if test "${glibcxx_cv_func___builtin_sqrt_link+set}" = set; then
71285 echo $ECHO_N "(cached) $ECHO_C" >&6
71286 else
71287
71288 if test x$gcc_no_link = xyes; then
71289 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71290 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71291 { (exit 1); exit 1; }; }
71292 fi
71293 cat >conftest.$ac_ext <<_ACEOF
71294 /* confdefs.h. */
71295 _ACEOF
71296 cat confdefs.h >>conftest.$ac_ext
71297 cat >>conftest.$ac_ext <<_ACEOF
71298 /* end confdefs.h. */
71299 #include <math.h>
71300 int
71301 main ()
71302 {
71303 __builtin_sqrt(0);
71304 ;
71305 return 0;
71306 }
71307 _ACEOF
71308 rm -f conftest.$ac_objext conftest$ac_exeext
71309 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71310 (eval $ac_link) 2>conftest.er1
71311 ac_status=$?
71312 grep -v '^ *+' conftest.er1 >conftest.err
71313 rm -f conftest.er1
71314 cat conftest.err >&5
71315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71316 (exit $ac_status); } &&
71317 { ac_try='test -z "$ac_c_werror_flag"
71318 || test ! -s conftest.err'
71319 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71320 (eval $ac_try) 2>&5
71321 ac_status=$?
71322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71323 (exit $ac_status); }; } &&
71324 { ac_try='test -s conftest$ac_exeext'
71325 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71326 (eval $ac_try) 2>&5
71327 ac_status=$?
71328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71329 (exit $ac_status); }; }; then
71330 glibcxx_cv_func___builtin_sqrt_link=yes
71331 else
71332 echo "$as_me: failed program was:" >&5
71333 sed 's/^/| /' conftest.$ac_ext >&5
71334
71335 glibcxx_cv_func___builtin_sqrt_link=no
71336 fi
71337 rm -f conftest.err conftest.$ac_objext \
71338 conftest$ac_exeext conftest.$ac_ext
71339
71340 fi
71341
71342 fi
71343 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_link" >&5
71344 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_link" >&6
71345
71346 if test x$glibcxx_cv_func___builtin_sqrt_link = x"yes"; then
71347
71348 cat >>confdefs.h <<\_ACEOF
71349 #define HAVE___BUILTIN_SQRT 1
71350 _ACEOF
71351
71352 fi
71353
71354 fi
71355
71356
71357 echo "$as_me:$LINENO: checking for __builtin_sqrtl declaration" >&5
71358 echo $ECHO_N "checking for __builtin_sqrtl declaration... $ECHO_C" >&6
71359 if test x${glibcxx_cv_func___builtin_sqrtl_use+set} != xset; then
71360 if test "${glibcxx_cv_func___builtin_sqrtl_use+set}" = set; then
71361 echo $ECHO_N "(cached) $ECHO_C" >&6
71362 else
71363
71364
71365
71366 ac_ext=cc
71367 ac_cpp='$CXXCPP $CPPFLAGS'
71368 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71369 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71370 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71371
71372 cat >conftest.$ac_ext <<_ACEOF
71373 /* confdefs.h. */
71374 _ACEOF
71375 cat confdefs.h >>conftest.$ac_ext
71376 cat >>conftest.$ac_ext <<_ACEOF
71377 /* end confdefs.h. */
71378 #include <math.h>
71379 int
71380 main ()
71381 {
71382 __builtin_sqrtl(0);
71383 ;
71384 return 0;
71385 }
71386 _ACEOF
71387 rm -f conftest.$ac_objext
71388 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71389 (eval $ac_compile) 2>conftest.er1
71390 ac_status=$?
71391 grep -v '^ *+' conftest.er1 >conftest.err
71392 rm -f conftest.er1
71393 cat conftest.err >&5
71394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71395 (exit $ac_status); } &&
71396 { ac_try='test -z "$ac_cxx_werror_flag"
71397 || test ! -s conftest.err'
71398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71399 (eval $ac_try) 2>&5
71400 ac_status=$?
71401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71402 (exit $ac_status); }; } &&
71403 { ac_try='test -s conftest.$ac_objext'
71404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71405 (eval $ac_try) 2>&5
71406 ac_status=$?
71407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71408 (exit $ac_status); }; }; then
71409 glibcxx_cv_func___builtin_sqrtl_use=yes
71410 else
71411 echo "$as_me: failed program was:" >&5
71412 sed 's/^/| /' conftest.$ac_ext >&5
71413
71414 glibcxx_cv_func___builtin_sqrtl_use=no
71415 fi
71416 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71417 ac_ext=c
71418 ac_cpp='$CPP $CPPFLAGS'
71419 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71420 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71421 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71422
71423
71424 fi
71425
71426 fi
71427 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_use" >&5
71428 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_use" >&6
71429 if test x$glibcxx_cv_func___builtin_sqrtl_use = x"yes"; then
71430 echo "$as_me:$LINENO: checking for __builtin_sqrtl linkage" >&5
71431 echo $ECHO_N "checking for __builtin_sqrtl linkage... $ECHO_C" >&6
71432 if test x${glibcxx_cv_func___builtin_sqrtl_link+set} != xset; then
71433 if test "${glibcxx_cv_func___builtin_sqrtl_link+set}" = set; then
71434 echo $ECHO_N "(cached) $ECHO_C" >&6
71435 else
71436
71437 if test x$gcc_no_link = xyes; then
71438 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71439 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71440 { (exit 1); exit 1; }; }
71441 fi
71442 cat >conftest.$ac_ext <<_ACEOF
71443 /* confdefs.h. */
71444 _ACEOF
71445 cat confdefs.h >>conftest.$ac_ext
71446 cat >>conftest.$ac_ext <<_ACEOF
71447 /* end confdefs.h. */
71448 #include <math.h>
71449 int
71450 main ()
71451 {
71452 __builtin_sqrtl(0);
71453 ;
71454 return 0;
71455 }
71456 _ACEOF
71457 rm -f conftest.$ac_objext conftest$ac_exeext
71458 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71459 (eval $ac_link) 2>conftest.er1
71460 ac_status=$?
71461 grep -v '^ *+' conftest.er1 >conftest.err
71462 rm -f conftest.er1
71463 cat conftest.err >&5
71464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71465 (exit $ac_status); } &&
71466 { ac_try='test -z "$ac_c_werror_flag"
71467 || test ! -s conftest.err'
71468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71469 (eval $ac_try) 2>&5
71470 ac_status=$?
71471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71472 (exit $ac_status); }; } &&
71473 { ac_try='test -s conftest$ac_exeext'
71474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71475 (eval $ac_try) 2>&5
71476 ac_status=$?
71477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71478 (exit $ac_status); }; }; then
71479 glibcxx_cv_func___builtin_sqrtl_link=yes
71480 else
71481 echo "$as_me: failed program was:" >&5
71482 sed 's/^/| /' conftest.$ac_ext >&5
71483
71484 glibcxx_cv_func___builtin_sqrtl_link=no
71485 fi
71486 rm -f conftest.err conftest.$ac_objext \
71487 conftest$ac_exeext conftest.$ac_ext
71488
71489 fi
71490
71491 fi
71492 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_link" >&5
71493 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_link" >&6
71494
71495 if test x$glibcxx_cv_func___builtin_sqrtl_link = x"yes"; then
71496
71497 cat >>confdefs.h <<\_ACEOF
71498 #define HAVE___BUILTIN_SQRTL 1
71499 _ACEOF
71500
71501 fi
71502
71503 fi
71504
71505
71506
71507 echo "$as_me:$LINENO: checking for __builtin_sinf declaration" >&5
71508 echo $ECHO_N "checking for __builtin_sinf declaration... $ECHO_C" >&6
71509 if test x${glibcxx_cv_func___builtin_sinf_use+set} != xset; then
71510 if test "${glibcxx_cv_func___builtin_sinf_use+set}" = set; then
71511 echo $ECHO_N "(cached) $ECHO_C" >&6
71512 else
71513
71514
71515
71516 ac_ext=cc
71517 ac_cpp='$CXXCPP $CPPFLAGS'
71518 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71519 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71520 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71521
71522 cat >conftest.$ac_ext <<_ACEOF
71523 /* confdefs.h. */
71524 _ACEOF
71525 cat confdefs.h >>conftest.$ac_ext
71526 cat >>conftest.$ac_ext <<_ACEOF
71527 /* end confdefs.h. */
71528 #include <math.h>
71529 int
71530 main ()
71531 {
71532 __builtin_sinf(0);
71533 ;
71534 return 0;
71535 }
71536 _ACEOF
71537 rm -f conftest.$ac_objext
71538 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71539 (eval $ac_compile) 2>conftest.er1
71540 ac_status=$?
71541 grep -v '^ *+' conftest.er1 >conftest.err
71542 rm -f conftest.er1
71543 cat conftest.err >&5
71544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71545 (exit $ac_status); } &&
71546 { ac_try='test -z "$ac_cxx_werror_flag"
71547 || test ! -s conftest.err'
71548 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71549 (eval $ac_try) 2>&5
71550 ac_status=$?
71551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71552 (exit $ac_status); }; } &&
71553 { ac_try='test -s conftest.$ac_objext'
71554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71555 (eval $ac_try) 2>&5
71556 ac_status=$?
71557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71558 (exit $ac_status); }; }; then
71559 glibcxx_cv_func___builtin_sinf_use=yes
71560 else
71561 echo "$as_me: failed program was:" >&5
71562 sed 's/^/| /' conftest.$ac_ext >&5
71563
71564 glibcxx_cv_func___builtin_sinf_use=no
71565 fi
71566 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71567 ac_ext=c
71568 ac_cpp='$CPP $CPPFLAGS'
71569 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71570 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71571 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71572
71573
71574 fi
71575
71576 fi
71577 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_use" >&5
71578 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_use" >&6
71579 if test x$glibcxx_cv_func___builtin_sinf_use = x"yes"; then
71580 echo "$as_me:$LINENO: checking for __builtin_sinf linkage" >&5
71581 echo $ECHO_N "checking for __builtin_sinf linkage... $ECHO_C" >&6
71582 if test x${glibcxx_cv_func___builtin_sinf_link+set} != xset; then
71583 if test "${glibcxx_cv_func___builtin_sinf_link+set}" = set; then
71584 echo $ECHO_N "(cached) $ECHO_C" >&6
71585 else
71586
71587 if test x$gcc_no_link = xyes; then
71588 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71589 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71590 { (exit 1); exit 1; }; }
71591 fi
71592 cat >conftest.$ac_ext <<_ACEOF
71593 /* confdefs.h. */
71594 _ACEOF
71595 cat confdefs.h >>conftest.$ac_ext
71596 cat >>conftest.$ac_ext <<_ACEOF
71597 /* end confdefs.h. */
71598 #include <math.h>
71599 int
71600 main ()
71601 {
71602 __builtin_sinf(0);
71603 ;
71604 return 0;
71605 }
71606 _ACEOF
71607 rm -f conftest.$ac_objext conftest$ac_exeext
71608 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71609 (eval $ac_link) 2>conftest.er1
71610 ac_status=$?
71611 grep -v '^ *+' conftest.er1 >conftest.err
71612 rm -f conftest.er1
71613 cat conftest.err >&5
71614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71615 (exit $ac_status); } &&
71616 { ac_try='test -z "$ac_c_werror_flag"
71617 || test ! -s conftest.err'
71618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71619 (eval $ac_try) 2>&5
71620 ac_status=$?
71621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71622 (exit $ac_status); }; } &&
71623 { ac_try='test -s conftest$ac_exeext'
71624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71625 (eval $ac_try) 2>&5
71626 ac_status=$?
71627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71628 (exit $ac_status); }; }; then
71629 glibcxx_cv_func___builtin_sinf_link=yes
71630 else
71631 echo "$as_me: failed program was:" >&5
71632 sed 's/^/| /' conftest.$ac_ext >&5
71633
71634 glibcxx_cv_func___builtin_sinf_link=no
71635 fi
71636 rm -f conftest.err conftest.$ac_objext \
71637 conftest$ac_exeext conftest.$ac_ext
71638
71639 fi
71640
71641 fi
71642 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_link" >&5
71643 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_link" >&6
71644
71645 if test x$glibcxx_cv_func___builtin_sinf_link = x"yes"; then
71646
71647 cat >>confdefs.h <<\_ACEOF
71648 #define HAVE___BUILTIN_SINF 1
71649 _ACEOF
71650
71651 fi
71652
71653 fi
71654
71655
71656 echo "$as_me:$LINENO: checking for __builtin_sin declaration" >&5
71657 echo $ECHO_N "checking for __builtin_sin declaration... $ECHO_C" >&6
71658 if test x${glibcxx_cv_func___builtin_sin_use+set} != xset; then
71659 if test "${glibcxx_cv_func___builtin_sin_use+set}" = set; then
71660 echo $ECHO_N "(cached) $ECHO_C" >&6
71661 else
71662
71663
71664
71665 ac_ext=cc
71666 ac_cpp='$CXXCPP $CPPFLAGS'
71667 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71668 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71669 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71670
71671 cat >conftest.$ac_ext <<_ACEOF
71672 /* confdefs.h. */
71673 _ACEOF
71674 cat confdefs.h >>conftest.$ac_ext
71675 cat >>conftest.$ac_ext <<_ACEOF
71676 /* end confdefs.h. */
71677 #include <math.h>
71678 int
71679 main ()
71680 {
71681 __builtin_sin(0);
71682 ;
71683 return 0;
71684 }
71685 _ACEOF
71686 rm -f conftest.$ac_objext
71687 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71688 (eval $ac_compile) 2>conftest.er1
71689 ac_status=$?
71690 grep -v '^ *+' conftest.er1 >conftest.err
71691 rm -f conftest.er1
71692 cat conftest.err >&5
71693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71694 (exit $ac_status); } &&
71695 { ac_try='test -z "$ac_cxx_werror_flag"
71696 || test ! -s conftest.err'
71697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71698 (eval $ac_try) 2>&5
71699 ac_status=$?
71700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71701 (exit $ac_status); }; } &&
71702 { ac_try='test -s conftest.$ac_objext'
71703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71704 (eval $ac_try) 2>&5
71705 ac_status=$?
71706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71707 (exit $ac_status); }; }; then
71708 glibcxx_cv_func___builtin_sin_use=yes
71709 else
71710 echo "$as_me: failed program was:" >&5
71711 sed 's/^/| /' conftest.$ac_ext >&5
71712
71713 glibcxx_cv_func___builtin_sin_use=no
71714 fi
71715 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71716 ac_ext=c
71717 ac_cpp='$CPP $CPPFLAGS'
71718 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71719 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71720 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71721
71722
71723 fi
71724
71725 fi
71726 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_use" >&5
71727 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_use" >&6
71728 if test x$glibcxx_cv_func___builtin_sin_use = x"yes"; then
71729 echo "$as_me:$LINENO: checking for __builtin_sin linkage" >&5
71730 echo $ECHO_N "checking for __builtin_sin linkage... $ECHO_C" >&6
71731 if test x${glibcxx_cv_func___builtin_sin_link+set} != xset; then
71732 if test "${glibcxx_cv_func___builtin_sin_link+set}" = set; then
71733 echo $ECHO_N "(cached) $ECHO_C" >&6
71734 else
71735
71736 if test x$gcc_no_link = xyes; then
71737 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71738 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71739 { (exit 1); exit 1; }; }
71740 fi
71741 cat >conftest.$ac_ext <<_ACEOF
71742 /* confdefs.h. */
71743 _ACEOF
71744 cat confdefs.h >>conftest.$ac_ext
71745 cat >>conftest.$ac_ext <<_ACEOF
71746 /* end confdefs.h. */
71747 #include <math.h>
71748 int
71749 main ()
71750 {
71751 __builtin_sin(0);
71752 ;
71753 return 0;
71754 }
71755 _ACEOF
71756 rm -f conftest.$ac_objext conftest$ac_exeext
71757 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71758 (eval $ac_link) 2>conftest.er1
71759 ac_status=$?
71760 grep -v '^ *+' conftest.er1 >conftest.err
71761 rm -f conftest.er1
71762 cat conftest.err >&5
71763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71764 (exit $ac_status); } &&
71765 { ac_try='test -z "$ac_c_werror_flag"
71766 || test ! -s conftest.err'
71767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71768 (eval $ac_try) 2>&5
71769 ac_status=$?
71770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71771 (exit $ac_status); }; } &&
71772 { ac_try='test -s conftest$ac_exeext'
71773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71774 (eval $ac_try) 2>&5
71775 ac_status=$?
71776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71777 (exit $ac_status); }; }; then
71778 glibcxx_cv_func___builtin_sin_link=yes
71779 else
71780 echo "$as_me: failed program was:" >&5
71781 sed 's/^/| /' conftest.$ac_ext >&5
71782
71783 glibcxx_cv_func___builtin_sin_link=no
71784 fi
71785 rm -f conftest.err conftest.$ac_objext \
71786 conftest$ac_exeext conftest.$ac_ext
71787
71788 fi
71789
71790 fi
71791 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_link" >&5
71792 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_link" >&6
71793
71794 if test x$glibcxx_cv_func___builtin_sin_link = x"yes"; then
71795
71796 cat >>confdefs.h <<\_ACEOF
71797 #define HAVE___BUILTIN_SIN 1
71798 _ACEOF
71799
71800 fi
71801
71802 fi
71803
71804
71805 echo "$as_me:$LINENO: checking for __builtin_sinl declaration" >&5
71806 echo $ECHO_N "checking for __builtin_sinl declaration... $ECHO_C" >&6
71807 if test x${glibcxx_cv_func___builtin_sinl_use+set} != xset; then
71808 if test "${glibcxx_cv_func___builtin_sinl_use+set}" = set; then
71809 echo $ECHO_N "(cached) $ECHO_C" >&6
71810 else
71811
71812
71813
71814 ac_ext=cc
71815 ac_cpp='$CXXCPP $CPPFLAGS'
71816 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71817 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71818 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71819
71820 cat >conftest.$ac_ext <<_ACEOF
71821 /* confdefs.h. */
71822 _ACEOF
71823 cat confdefs.h >>conftest.$ac_ext
71824 cat >>conftest.$ac_ext <<_ACEOF
71825 /* end confdefs.h. */
71826 #include <math.h>
71827 int
71828 main ()
71829 {
71830 __builtin_sinl(0);
71831 ;
71832 return 0;
71833 }
71834 _ACEOF
71835 rm -f conftest.$ac_objext
71836 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71837 (eval $ac_compile) 2>conftest.er1
71838 ac_status=$?
71839 grep -v '^ *+' conftest.er1 >conftest.err
71840 rm -f conftest.er1
71841 cat conftest.err >&5
71842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71843 (exit $ac_status); } &&
71844 { ac_try='test -z "$ac_cxx_werror_flag"
71845 || test ! -s conftest.err'
71846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71847 (eval $ac_try) 2>&5
71848 ac_status=$?
71849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71850 (exit $ac_status); }; } &&
71851 { ac_try='test -s conftest.$ac_objext'
71852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71853 (eval $ac_try) 2>&5
71854 ac_status=$?
71855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71856 (exit $ac_status); }; }; then
71857 glibcxx_cv_func___builtin_sinl_use=yes
71858 else
71859 echo "$as_me: failed program was:" >&5
71860 sed 's/^/| /' conftest.$ac_ext >&5
71861
71862 glibcxx_cv_func___builtin_sinl_use=no
71863 fi
71864 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71865 ac_ext=c
71866 ac_cpp='$CPP $CPPFLAGS'
71867 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71868 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71869 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71870
71871
71872 fi
71873
71874 fi
71875 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_use" >&5
71876 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_use" >&6
71877 if test x$glibcxx_cv_func___builtin_sinl_use = x"yes"; then
71878 echo "$as_me:$LINENO: checking for __builtin_sinl linkage" >&5
71879 echo $ECHO_N "checking for __builtin_sinl linkage... $ECHO_C" >&6
71880 if test x${glibcxx_cv_func___builtin_sinl_link+set} != xset; then
71881 if test "${glibcxx_cv_func___builtin_sinl_link+set}" = set; then
71882 echo $ECHO_N "(cached) $ECHO_C" >&6
71883 else
71884
71885 if test x$gcc_no_link = xyes; then
71886 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71887 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71888 { (exit 1); exit 1; }; }
71889 fi
71890 cat >conftest.$ac_ext <<_ACEOF
71891 /* confdefs.h. */
71892 _ACEOF
71893 cat confdefs.h >>conftest.$ac_ext
71894 cat >>conftest.$ac_ext <<_ACEOF
71895 /* end confdefs.h. */
71896 #include <math.h>
71897 int
71898 main ()
71899 {
71900 __builtin_sinl(0);
71901 ;
71902 return 0;
71903 }
71904 _ACEOF
71905 rm -f conftest.$ac_objext conftest$ac_exeext
71906 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71907 (eval $ac_link) 2>conftest.er1
71908 ac_status=$?
71909 grep -v '^ *+' conftest.er1 >conftest.err
71910 rm -f conftest.er1
71911 cat conftest.err >&5
71912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71913 (exit $ac_status); } &&
71914 { ac_try='test -z "$ac_c_werror_flag"
71915 || test ! -s conftest.err'
71916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71917 (eval $ac_try) 2>&5
71918 ac_status=$?
71919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71920 (exit $ac_status); }; } &&
71921 { ac_try='test -s conftest$ac_exeext'
71922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71923 (eval $ac_try) 2>&5
71924 ac_status=$?
71925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71926 (exit $ac_status); }; }; then
71927 glibcxx_cv_func___builtin_sinl_link=yes
71928 else
71929 echo "$as_me: failed program was:" >&5
71930 sed 's/^/| /' conftest.$ac_ext >&5
71931
71932 glibcxx_cv_func___builtin_sinl_link=no
71933 fi
71934 rm -f conftest.err conftest.$ac_objext \
71935 conftest$ac_exeext conftest.$ac_ext
71936
71937 fi
71938
71939 fi
71940 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_link" >&5
71941 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_link" >&6
71942
71943 if test x$glibcxx_cv_func___builtin_sinl_link = x"yes"; then
71944
71945 cat >>confdefs.h <<\_ACEOF
71946 #define HAVE___BUILTIN_SINL 1
71947 _ACEOF
71948
71949 fi
71950
71951 fi
71952
71953
71954
71955 echo "$as_me:$LINENO: checking for __builtin_cosf declaration" >&5
71956 echo $ECHO_N "checking for __builtin_cosf declaration... $ECHO_C" >&6
71957 if test x${glibcxx_cv_func___builtin_cosf_use+set} != xset; then
71958 if test "${glibcxx_cv_func___builtin_cosf_use+set}" = set; then
71959 echo $ECHO_N "(cached) $ECHO_C" >&6
71960 else
71961
71962
71963
71964 ac_ext=cc
71965 ac_cpp='$CXXCPP $CPPFLAGS'
71966 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71967 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71968 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71969
71970 cat >conftest.$ac_ext <<_ACEOF
71971 /* confdefs.h. */
71972 _ACEOF
71973 cat confdefs.h >>conftest.$ac_ext
71974 cat >>conftest.$ac_ext <<_ACEOF
71975 /* end confdefs.h. */
71976 #include <math.h>
71977 int
71978 main ()
71979 {
71980 __builtin_cosf(0);
71981 ;
71982 return 0;
71983 }
71984 _ACEOF
71985 rm -f conftest.$ac_objext
71986 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71987 (eval $ac_compile) 2>conftest.er1
71988 ac_status=$?
71989 grep -v '^ *+' conftest.er1 >conftest.err
71990 rm -f conftest.er1
71991 cat conftest.err >&5
71992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71993 (exit $ac_status); } &&
71994 { ac_try='test -z "$ac_cxx_werror_flag"
71995 || test ! -s conftest.err'
71996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71997 (eval $ac_try) 2>&5
71998 ac_status=$?
71999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72000 (exit $ac_status); }; } &&
72001 { ac_try='test -s conftest.$ac_objext'
72002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72003 (eval $ac_try) 2>&5
72004 ac_status=$?
72005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72006 (exit $ac_status); }; }; then
72007 glibcxx_cv_func___builtin_cosf_use=yes
72008 else
72009 echo "$as_me: failed program was:" >&5
72010 sed 's/^/| /' conftest.$ac_ext >&5
72011
72012 glibcxx_cv_func___builtin_cosf_use=no
72013 fi
72014 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72015 ac_ext=c
72016 ac_cpp='$CPP $CPPFLAGS'
72017 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72018 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72019 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72020
72021
72022 fi
72023
72024 fi
72025 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_use" >&5
72026 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_use" >&6
72027 if test x$glibcxx_cv_func___builtin_cosf_use = x"yes"; then
72028 echo "$as_me:$LINENO: checking for __builtin_cosf linkage" >&5
72029 echo $ECHO_N "checking for __builtin_cosf linkage... $ECHO_C" >&6
72030 if test x${glibcxx_cv_func___builtin_cosf_link+set} != xset; then
72031 if test "${glibcxx_cv_func___builtin_cosf_link+set}" = set; then
72032 echo $ECHO_N "(cached) $ECHO_C" >&6
72033 else
72034
72035 if test x$gcc_no_link = xyes; then
72036 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72037 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72038 { (exit 1); exit 1; }; }
72039 fi
72040 cat >conftest.$ac_ext <<_ACEOF
72041 /* confdefs.h. */
72042 _ACEOF
72043 cat confdefs.h >>conftest.$ac_ext
72044 cat >>conftest.$ac_ext <<_ACEOF
72045 /* end confdefs.h. */
72046 #include <math.h>
72047 int
72048 main ()
72049 {
72050 __builtin_cosf(0);
72051 ;
72052 return 0;
72053 }
72054 _ACEOF
72055 rm -f conftest.$ac_objext conftest$ac_exeext
72056 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72057 (eval $ac_link) 2>conftest.er1
72058 ac_status=$?
72059 grep -v '^ *+' conftest.er1 >conftest.err
72060 rm -f conftest.er1
72061 cat conftest.err >&5
72062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72063 (exit $ac_status); } &&
72064 { ac_try='test -z "$ac_c_werror_flag"
72065 || test ! -s conftest.err'
72066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72067 (eval $ac_try) 2>&5
72068 ac_status=$?
72069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72070 (exit $ac_status); }; } &&
72071 { ac_try='test -s conftest$ac_exeext'
72072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72073 (eval $ac_try) 2>&5
72074 ac_status=$?
72075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72076 (exit $ac_status); }; }; then
72077 glibcxx_cv_func___builtin_cosf_link=yes
72078 else
72079 echo "$as_me: failed program was:" >&5
72080 sed 's/^/| /' conftest.$ac_ext >&5
72081
72082 glibcxx_cv_func___builtin_cosf_link=no
72083 fi
72084 rm -f conftest.err conftest.$ac_objext \
72085 conftest$ac_exeext conftest.$ac_ext
72086
72087 fi
72088
72089 fi
72090 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_link" >&5
72091 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_link" >&6
72092
72093 if test x$glibcxx_cv_func___builtin_cosf_link = x"yes"; then
72094
72095 cat >>confdefs.h <<\_ACEOF
72096 #define HAVE___BUILTIN_COSF 1
72097 _ACEOF
72098
72099 fi
72100
72101 fi
72102
72103
72104 echo "$as_me:$LINENO: checking for __builtin_cos declaration" >&5
72105 echo $ECHO_N "checking for __builtin_cos declaration... $ECHO_C" >&6
72106 if test x${glibcxx_cv_func___builtin_cos_use+set} != xset; then
72107 if test "${glibcxx_cv_func___builtin_cos_use+set}" = set; then
72108 echo $ECHO_N "(cached) $ECHO_C" >&6
72109 else
72110
72111
72112
72113 ac_ext=cc
72114 ac_cpp='$CXXCPP $CPPFLAGS'
72115 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72116 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72117 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72118
72119 cat >conftest.$ac_ext <<_ACEOF
72120 /* confdefs.h. */
72121 _ACEOF
72122 cat confdefs.h >>conftest.$ac_ext
72123 cat >>conftest.$ac_ext <<_ACEOF
72124 /* end confdefs.h. */
72125 #include <math.h>
72126 int
72127 main ()
72128 {
72129 __builtin_cos(0);
72130 ;
72131 return 0;
72132 }
72133 _ACEOF
72134 rm -f conftest.$ac_objext
72135 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72136 (eval $ac_compile) 2>conftest.er1
72137 ac_status=$?
72138 grep -v '^ *+' conftest.er1 >conftest.err
72139 rm -f conftest.er1
72140 cat conftest.err >&5
72141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72142 (exit $ac_status); } &&
72143 { ac_try='test -z "$ac_cxx_werror_flag"
72144 || test ! -s conftest.err'
72145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72146 (eval $ac_try) 2>&5
72147 ac_status=$?
72148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72149 (exit $ac_status); }; } &&
72150 { ac_try='test -s conftest.$ac_objext'
72151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72152 (eval $ac_try) 2>&5
72153 ac_status=$?
72154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72155 (exit $ac_status); }; }; then
72156 glibcxx_cv_func___builtin_cos_use=yes
72157 else
72158 echo "$as_me: failed program was:" >&5
72159 sed 's/^/| /' conftest.$ac_ext >&5
72160
72161 glibcxx_cv_func___builtin_cos_use=no
72162 fi
72163 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72164 ac_ext=c
72165 ac_cpp='$CPP $CPPFLAGS'
72166 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72167 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72168 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72169
72170
72171 fi
72172
72173 fi
72174 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_use" >&5
72175 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_use" >&6
72176 if test x$glibcxx_cv_func___builtin_cos_use = x"yes"; then
72177 echo "$as_me:$LINENO: checking for __builtin_cos linkage" >&5
72178 echo $ECHO_N "checking for __builtin_cos linkage... $ECHO_C" >&6
72179 if test x${glibcxx_cv_func___builtin_cos_link+set} != xset; then
72180 if test "${glibcxx_cv_func___builtin_cos_link+set}" = set; then
72181 echo $ECHO_N "(cached) $ECHO_C" >&6
72182 else
72183
72184 if test x$gcc_no_link = xyes; then
72185 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72186 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72187 { (exit 1); exit 1; }; }
72188 fi
72189 cat >conftest.$ac_ext <<_ACEOF
72190 /* confdefs.h. */
72191 _ACEOF
72192 cat confdefs.h >>conftest.$ac_ext
72193 cat >>conftest.$ac_ext <<_ACEOF
72194 /* end confdefs.h. */
72195 #include <math.h>
72196 int
72197 main ()
72198 {
72199 __builtin_cos(0);
72200 ;
72201 return 0;
72202 }
72203 _ACEOF
72204 rm -f conftest.$ac_objext conftest$ac_exeext
72205 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72206 (eval $ac_link) 2>conftest.er1
72207 ac_status=$?
72208 grep -v '^ *+' conftest.er1 >conftest.err
72209 rm -f conftest.er1
72210 cat conftest.err >&5
72211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72212 (exit $ac_status); } &&
72213 { ac_try='test -z "$ac_c_werror_flag"
72214 || test ! -s conftest.err'
72215 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72216 (eval $ac_try) 2>&5
72217 ac_status=$?
72218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72219 (exit $ac_status); }; } &&
72220 { ac_try='test -s conftest$ac_exeext'
72221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72222 (eval $ac_try) 2>&5
72223 ac_status=$?
72224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72225 (exit $ac_status); }; }; then
72226 glibcxx_cv_func___builtin_cos_link=yes
72227 else
72228 echo "$as_me: failed program was:" >&5
72229 sed 's/^/| /' conftest.$ac_ext >&5
72230
72231 glibcxx_cv_func___builtin_cos_link=no
72232 fi
72233 rm -f conftest.err conftest.$ac_objext \
72234 conftest$ac_exeext conftest.$ac_ext
72235
72236 fi
72237
72238 fi
72239 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_link" >&5
72240 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_link" >&6
72241
72242 if test x$glibcxx_cv_func___builtin_cos_link = x"yes"; then
72243
72244 cat >>confdefs.h <<\_ACEOF
72245 #define HAVE___BUILTIN_COS 1
72246 _ACEOF
72247
72248 fi
72249
72250 fi
72251
72252
72253 echo "$as_me:$LINENO: checking for __builtin_cosl declaration" >&5
72254 echo $ECHO_N "checking for __builtin_cosl declaration... $ECHO_C" >&6
72255 if test x${glibcxx_cv_func___builtin_cosl_use+set} != xset; then
72256 if test "${glibcxx_cv_func___builtin_cosl_use+set}" = set; then
72257 echo $ECHO_N "(cached) $ECHO_C" >&6
72258 else
72259
72260
72261
72262 ac_ext=cc
72263 ac_cpp='$CXXCPP $CPPFLAGS'
72264 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72265 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72266 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72267
72268 cat >conftest.$ac_ext <<_ACEOF
72269 /* confdefs.h. */
72270 _ACEOF
72271 cat confdefs.h >>conftest.$ac_ext
72272 cat >>conftest.$ac_ext <<_ACEOF
72273 /* end confdefs.h. */
72274 #include <math.h>
72275 int
72276 main ()
72277 {
72278 __builtin_cosl(0);
72279 ;
72280 return 0;
72281 }
72282 _ACEOF
72283 rm -f conftest.$ac_objext
72284 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72285 (eval $ac_compile) 2>conftest.er1
72286 ac_status=$?
72287 grep -v '^ *+' conftest.er1 >conftest.err
72288 rm -f conftest.er1
72289 cat conftest.err >&5
72290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72291 (exit $ac_status); } &&
72292 { ac_try='test -z "$ac_cxx_werror_flag"
72293 || test ! -s conftest.err'
72294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72295 (eval $ac_try) 2>&5
72296 ac_status=$?
72297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72298 (exit $ac_status); }; } &&
72299 { ac_try='test -s conftest.$ac_objext'
72300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72301 (eval $ac_try) 2>&5
72302 ac_status=$?
72303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72304 (exit $ac_status); }; }; then
72305 glibcxx_cv_func___builtin_cosl_use=yes
72306 else
72307 echo "$as_me: failed program was:" >&5
72308 sed 's/^/| /' conftest.$ac_ext >&5
72309
72310 glibcxx_cv_func___builtin_cosl_use=no
72311 fi
72312 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72313 ac_ext=c
72314 ac_cpp='$CPP $CPPFLAGS'
72315 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72316 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72317 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72318
72319
72320 fi
72321
72322 fi
72323 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_use" >&5
72324 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_use" >&6
72325 if test x$glibcxx_cv_func___builtin_cosl_use = x"yes"; then
72326 echo "$as_me:$LINENO: checking for __builtin_cosl linkage" >&5
72327 echo $ECHO_N "checking for __builtin_cosl linkage... $ECHO_C" >&6
72328 if test x${glibcxx_cv_func___builtin_cosl_link+set} != xset; then
72329 if test "${glibcxx_cv_func___builtin_cosl_link+set}" = set; then
72330 echo $ECHO_N "(cached) $ECHO_C" >&6
72331 else
72332
72333 if test x$gcc_no_link = xyes; then
72334 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72335 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72336 { (exit 1); exit 1; }; }
72337 fi
72338 cat >conftest.$ac_ext <<_ACEOF
72339 /* confdefs.h. */
72340 _ACEOF
72341 cat confdefs.h >>conftest.$ac_ext
72342 cat >>conftest.$ac_ext <<_ACEOF
72343 /* end confdefs.h. */
72344 #include <math.h>
72345 int
72346 main ()
72347 {
72348 __builtin_cosl(0);
72349 ;
72350 return 0;
72351 }
72352 _ACEOF
72353 rm -f conftest.$ac_objext conftest$ac_exeext
72354 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72355 (eval $ac_link) 2>conftest.er1
72356 ac_status=$?
72357 grep -v '^ *+' conftest.er1 >conftest.err
72358 rm -f conftest.er1
72359 cat conftest.err >&5
72360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72361 (exit $ac_status); } &&
72362 { ac_try='test -z "$ac_c_werror_flag"
72363 || test ! -s conftest.err'
72364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72365 (eval $ac_try) 2>&5
72366 ac_status=$?
72367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72368 (exit $ac_status); }; } &&
72369 { ac_try='test -s conftest$ac_exeext'
72370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72371 (eval $ac_try) 2>&5
72372 ac_status=$?
72373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72374 (exit $ac_status); }; }; then
72375 glibcxx_cv_func___builtin_cosl_link=yes
72376 else
72377 echo "$as_me: failed program was:" >&5
72378 sed 's/^/| /' conftest.$ac_ext >&5
72379
72380 glibcxx_cv_func___builtin_cosl_link=no
72381 fi
72382 rm -f conftest.err conftest.$ac_objext \
72383 conftest$ac_exeext conftest.$ac_ext
72384
72385 fi
72386
72387 fi
72388 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_link" >&5
72389 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_link" >&6
72390
72391 if test x$glibcxx_cv_func___builtin_cosl_link = x"yes"; then
72392
72393 cat >>confdefs.h <<\_ACEOF
72394 #define HAVE___BUILTIN_COSL 1
72395 _ACEOF
72396
72397 fi
72398
72399 fi
72400
72401
72402
72403
72404 echo "$as_me:$LINENO: checking for main in -lm" >&5
72405 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
72406 if test "${ac_cv_lib_m_main+set}" = set; then
72407 echo $ECHO_N "(cached) $ECHO_C" >&6
72408 else
72409 ac_check_lib_save_LIBS=$LIBS
72410 LIBS="-lm $LIBS"
72411 if test x$gcc_no_link = xyes; then
72412 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72413 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72414 { (exit 1); exit 1; }; }
72415 fi
72416 cat >conftest.$ac_ext <<_ACEOF
72417 /* confdefs.h. */
72418 _ACEOF
72419 cat confdefs.h >>conftest.$ac_ext
72420 cat >>conftest.$ac_ext <<_ACEOF
72421 /* end confdefs.h. */
72422
72423
72424 int
72425 main ()
72426 {
72427 main ();
72428 ;
72429 return 0;
72430 }
72431 _ACEOF
72432 rm -f conftest.$ac_objext conftest$ac_exeext
72433 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72434 (eval $ac_link) 2>conftest.er1
72435 ac_status=$?
72436 grep -v '^ *+' conftest.er1 >conftest.err
72437 rm -f conftest.er1
72438 cat conftest.err >&5
72439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72440 (exit $ac_status); } &&
72441 { ac_try='test -z "$ac_c_werror_flag"
72442 || test ! -s conftest.err'
72443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72444 (eval $ac_try) 2>&5
72445 ac_status=$?
72446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72447 (exit $ac_status); }; } &&
72448 { ac_try='test -s conftest$ac_exeext'
72449 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72450 (eval $ac_try) 2>&5
72451 ac_status=$?
72452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72453 (exit $ac_status); }; }; then
72454 ac_cv_lib_m_main=yes
72455 else
72456 echo "$as_me: failed program was:" >&5
72457 sed 's/^/| /' conftest.$ac_ext >&5
72458
72459 ac_cv_lib_m_main=no
72460 fi
72461 rm -f conftest.err conftest.$ac_objext \
72462 conftest$ac_exeext conftest.$ac_ext
72463 LIBS=$ac_check_lib_save_LIBS
72464 fi
72465 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
72466 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
72467 if test $ac_cv_lib_m_main = yes; then
72468 cat >>confdefs.h <<_ACEOF
72469 #define HAVE_LIBM 1
72470 _ACEOF
72471
72472 LIBS="-lm $LIBS"
72473
72474 fi
72475
72476
72477 for ac_func in copysignf
72478 do
72479 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
72480 echo "$as_me:$LINENO: checking for $ac_func" >&5
72481 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
72482 if eval "test \"\${$as_ac_var+set}\" = set"; then
72483 echo $ECHO_N "(cached) $ECHO_C" >&6
72484 else
72485 if test x$gcc_no_link = xyes; then
72486 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72487 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72488 { (exit 1); exit 1; }; }
72489 fi
72490 cat >conftest.$ac_ext <<_ACEOF
72491 /* confdefs.h. */
72492 _ACEOF
72493 cat confdefs.h >>conftest.$ac_ext
72494 cat >>conftest.$ac_ext <<_ACEOF
72495 /* end confdefs.h. */
72496 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
72497 For example, HP-UX 11i <limits.h> declares gettimeofday. */
72498 #define $ac_func innocuous_$ac_func
72499
72500 /* System header to define __stub macros and hopefully few prototypes,
72501 which can conflict with char $ac_func (); below.
72502 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
72503 <limits.h> exists even on freestanding compilers. */
72504
72505 #ifdef __STDC__
72506 # include <limits.h>
72507 #else
72508 # include <assert.h>
72509 #endif
72510
72511 #undef $ac_func
72512
72513 /* Override any gcc2 internal prototype to avoid an error. */
72514 #ifdef __cplusplus
72515 extern "C"
72516 {
72517 #endif
72518 /* We use char because int might match the return type of a gcc2
72519 builtin and then its argument prototype would still apply. */
72520 char $ac_func ();
72521 /* The GNU C library defines this for functions which it implements
72522 to always fail with ENOSYS. Some functions are actually named
72523 something starting with __ and the normal name is an alias. */
72524 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
72525 choke me
72526 #else
72527 char (*f) () = $ac_func;
72528 #endif
72529 #ifdef __cplusplus
72530 }
72531 #endif
72532
72533 int
72534 main ()
72535 {
72536 return f != $ac_func;
72537 ;
72538 return 0;
72539 }
72540 _ACEOF
72541 rm -f conftest.$ac_objext conftest$ac_exeext
72542 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72543 (eval $ac_link) 2>conftest.er1
72544 ac_status=$?
72545 grep -v '^ *+' conftest.er1 >conftest.err
72546 rm -f conftest.er1
72547 cat conftest.err >&5
72548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72549 (exit $ac_status); } &&
72550 { ac_try='test -z "$ac_c_werror_flag"
72551 || test ! -s conftest.err'
72552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72553 (eval $ac_try) 2>&5
72554 ac_status=$?
72555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72556 (exit $ac_status); }; } &&
72557 { ac_try='test -s conftest$ac_exeext'
72558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72559 (eval $ac_try) 2>&5
72560 ac_status=$?
72561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72562 (exit $ac_status); }; }; then
72563 eval "$as_ac_var=yes"
72564 else
72565 echo "$as_me: failed program was:" >&5
72566 sed 's/^/| /' conftest.$ac_ext >&5
72567
72568 eval "$as_ac_var=no"
72569 fi
72570 rm -f conftest.err conftest.$ac_objext \
72571 conftest$ac_exeext conftest.$ac_ext
72572 fi
72573 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
72574 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
72575 if test `eval echo '${'$as_ac_var'}'` = yes; then
72576 cat >>confdefs.h <<_ACEOF
72577 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
72578 _ACEOF
72579
72580 else
72581 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
72582 fi
72583 done
72584
72585
72586
72587 for ac_func in __signbit
72588 do
72589 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
72590 echo "$as_me:$LINENO: checking for $ac_func" >&5
72591 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
72592 if eval "test \"\${$as_ac_var+set}\" = set"; then
72593 echo $ECHO_N "(cached) $ECHO_C" >&6
72594 else
72595 if test x$gcc_no_link = xyes; then
72596 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72597 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72598 { (exit 1); exit 1; }; }
72599 fi
72600 cat >conftest.$ac_ext <<_ACEOF
72601 /* confdefs.h. */
72602 _ACEOF
72603 cat confdefs.h >>conftest.$ac_ext
72604 cat >>conftest.$ac_ext <<_ACEOF
72605 /* end confdefs.h. */
72606 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
72607 For example, HP-UX 11i <limits.h> declares gettimeofday. */
72608 #define $ac_func innocuous_$ac_func
72609
72610 /* System header to define __stub macros and hopefully few prototypes,
72611 which can conflict with char $ac_func (); below.
72612 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
72613 <limits.h> exists even on freestanding compilers. */
72614
72615 #ifdef __STDC__
72616 # include <limits.h>
72617 #else
72618 # include <assert.h>
72619 #endif
72620
72621 #undef $ac_func
72622
72623 /* Override any gcc2 internal prototype to avoid an error. */
72624 #ifdef __cplusplus
72625 extern "C"
72626 {
72627 #endif
72628 /* We use char because int might match the return type of a gcc2
72629 builtin and then its argument prototype would still apply. */
72630 char $ac_func ();
72631 /* The GNU C library defines this for functions which it implements
72632 to always fail with ENOSYS. Some functions are actually named
72633 something starting with __ and the normal name is an alias. */
72634 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
72635 choke me
72636 #else
72637 char (*f) () = $ac_func;
72638 #endif
72639 #ifdef __cplusplus
72640 }
72641 #endif
72642
72643 int
72644 main ()
72645 {
72646 return f != $ac_func;
72647 ;
72648 return 0;
72649 }
72650 _ACEOF
72651 rm -f conftest.$ac_objext conftest$ac_exeext
72652 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72653 (eval $ac_link) 2>conftest.er1
72654 ac_status=$?
72655 grep -v '^ *+' conftest.er1 >conftest.err
72656 rm -f conftest.er1
72657 cat conftest.err >&5
72658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72659 (exit $ac_status); } &&
72660 { ac_try='test -z "$ac_c_werror_flag"
72661 || test ! -s conftest.err'
72662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72663 (eval $ac_try) 2>&5
72664 ac_status=$?
72665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72666 (exit $ac_status); }; } &&
72667 { ac_try='test -s conftest$ac_exeext'
72668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72669 (eval $ac_try) 2>&5
72670 ac_status=$?
72671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72672 (exit $ac_status); }; }; then
72673 eval "$as_ac_var=yes"
72674 else
72675 echo "$as_me: failed program was:" >&5
72676 sed 's/^/| /' conftest.$ac_ext >&5
72677
72678 eval "$as_ac_var=no"
72679 fi
72680 rm -f conftest.err conftest.$ac_objext \
72681 conftest$ac_exeext conftest.$ac_ext
72682 fi
72683 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
72684 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
72685 if test `eval echo '${'$as_ac_var'}'` = yes; then
72686 cat >>confdefs.h <<_ACEOF
72687 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
72688 _ACEOF
72689
72690 else
72691 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
72692 fi
72693 done
72694
72695
72696
72697 for ac_func in __signbitf
72698 do
72699 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
72700 echo "$as_me:$LINENO: checking for $ac_func" >&5
72701 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
72702 if eval "test \"\${$as_ac_var+set}\" = set"; then
72703 echo $ECHO_N "(cached) $ECHO_C" >&6
72704 else
72705 if test x$gcc_no_link = xyes; then
72706 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72707 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72708 { (exit 1); exit 1; }; }
72709 fi
72710 cat >conftest.$ac_ext <<_ACEOF
72711 /* confdefs.h. */
72712 _ACEOF
72713 cat confdefs.h >>conftest.$ac_ext
72714 cat >>conftest.$ac_ext <<_ACEOF
72715 /* end confdefs.h. */
72716 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
72717 For example, HP-UX 11i <limits.h> declares gettimeofday. */
72718 #define $ac_func innocuous_$ac_func
72719
72720 /* System header to define __stub macros and hopefully few prototypes,
72721 which can conflict with char $ac_func (); below.
72722 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
72723 <limits.h> exists even on freestanding compilers. */
72724
72725 #ifdef __STDC__
72726 # include <limits.h>
72727 #else
72728 # include <assert.h>
72729 #endif
72730
72731 #undef $ac_func
72732
72733 /* Override any gcc2 internal prototype to avoid an error. */
72734 #ifdef __cplusplus
72735 extern "C"
72736 {
72737 #endif
72738 /* We use char because int might match the return type of a gcc2
72739 builtin and then its argument prototype would still apply. */
72740 char $ac_func ();
72741 /* The GNU C library defines this for functions which it implements
72742 to always fail with ENOSYS. Some functions are actually named
72743 something starting with __ and the normal name is an alias. */
72744 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
72745 choke me
72746 #else
72747 char (*f) () = $ac_func;
72748 #endif
72749 #ifdef __cplusplus
72750 }
72751 #endif
72752
72753 int
72754 main ()
72755 {
72756 return f != $ac_func;
72757 ;
72758 return 0;
72759 }
72760 _ACEOF
72761 rm -f conftest.$ac_objext conftest$ac_exeext
72762 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72763 (eval $ac_link) 2>conftest.er1
72764 ac_status=$?
72765 grep -v '^ *+' conftest.er1 >conftest.err
72766 rm -f conftest.er1
72767 cat conftest.err >&5
72768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72769 (exit $ac_status); } &&
72770 { ac_try='test -z "$ac_c_werror_flag"
72771 || test ! -s conftest.err'
72772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72773 (eval $ac_try) 2>&5
72774 ac_status=$?
72775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72776 (exit $ac_status); }; } &&
72777 { ac_try='test -s conftest$ac_exeext'
72778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72779 (eval $ac_try) 2>&5
72780 ac_status=$?
72781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72782 (exit $ac_status); }; }; then
72783 eval "$as_ac_var=yes"
72784 else
72785 echo "$as_me: failed program was:" >&5
72786 sed 's/^/| /' conftest.$ac_ext >&5
72787
72788 eval "$as_ac_var=no"
72789 fi
72790 rm -f conftest.err conftest.$ac_objext \
72791 conftest$ac_exeext conftest.$ac_ext
72792 fi
72793 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
72794 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
72795 if test `eval echo '${'$as_ac_var'}'` = yes; then
72796 cat >>confdefs.h <<_ACEOF
72797 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
72798 _ACEOF
72799
72800 else
72801 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
72802 fi
72803 done
72804
72805
72806 if test x$ac_cv_func_copysignl = x"yes"; then
72807
72808 for ac_func in __signbitl
72809 do
72810 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
72811 echo "$as_me:$LINENO: checking for $ac_func" >&5
72812 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
72813 if eval "test \"\${$as_ac_var+set}\" = set"; then
72814 echo $ECHO_N "(cached) $ECHO_C" >&6
72815 else
72816 if test x$gcc_no_link = xyes; then
72817 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72818 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72819 { (exit 1); exit 1; }; }
72820 fi
72821 cat >conftest.$ac_ext <<_ACEOF
72822 /* confdefs.h. */
72823 _ACEOF
72824 cat confdefs.h >>conftest.$ac_ext
72825 cat >>conftest.$ac_ext <<_ACEOF
72826 /* end confdefs.h. */
72827 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
72828 For example, HP-UX 11i <limits.h> declares gettimeofday. */
72829 #define $ac_func innocuous_$ac_func
72830
72831 /* System header to define __stub macros and hopefully few prototypes,
72832 which can conflict with char $ac_func (); below.
72833 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
72834 <limits.h> exists even on freestanding compilers. */
72835
72836 #ifdef __STDC__
72837 # include <limits.h>
72838 #else
72839 # include <assert.h>
72840 #endif
72841
72842 #undef $ac_func
72843
72844 /* Override any gcc2 internal prototype to avoid an error. */
72845 #ifdef __cplusplus
72846 extern "C"
72847 {
72848 #endif
72849 /* We use char because int might match the return type of a gcc2
72850 builtin and then its argument prototype would still apply. */
72851 char $ac_func ();
72852 /* The GNU C library defines this for functions which it implements
72853 to always fail with ENOSYS. Some functions are actually named
72854 something starting with __ and the normal name is an alias. */
72855 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
72856 choke me
72857 #else
72858 char (*f) () = $ac_func;
72859 #endif
72860 #ifdef __cplusplus
72861 }
72862 #endif
72863
72864 int
72865 main ()
72866 {
72867 return f != $ac_func;
72868 ;
72869 return 0;
72870 }
72871 _ACEOF
72872 rm -f conftest.$ac_objext conftest$ac_exeext
72873 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72874 (eval $ac_link) 2>conftest.er1
72875 ac_status=$?
72876 grep -v '^ *+' conftest.er1 >conftest.err
72877 rm -f conftest.er1
72878 cat conftest.err >&5
72879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72880 (exit $ac_status); } &&
72881 { ac_try='test -z "$ac_c_werror_flag"
72882 || test ! -s conftest.err'
72883 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72884 (eval $ac_try) 2>&5
72885 ac_status=$?
72886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72887 (exit $ac_status); }; } &&
72888 { ac_try='test -s conftest$ac_exeext'
72889 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72890 (eval $ac_try) 2>&5
72891 ac_status=$?
72892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72893 (exit $ac_status); }; }; then
72894 eval "$as_ac_var=yes"
72895 else
72896 echo "$as_me: failed program was:" >&5
72897 sed 's/^/| /' conftest.$ac_ext >&5
72898
72899 eval "$as_ac_var=no"
72900 fi
72901 rm -f conftest.err conftest.$ac_objext \
72902 conftest$ac_exeext conftest.$ac_ext
72903 fi
72904 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
72905 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
72906 if test `eval echo '${'$as_ac_var'}'` = yes; then
72907 cat >>confdefs.h <<_ACEOF
72908 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
72909 _ACEOF
72910
72911 else
72912 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
72913 fi
72914 done
72915
72916 fi
72917
72918 # Used in libmath/Makefile.am.
72919 if test -n "$LIBMATHOBJS"; then
72920 need_libmath=yes
72921 fi
72922
72923
72924
72925
72926 enable_iconv=no
72927 # Only continue checking if the ISO C99 headers exist and support is on.
72928 if test x"$enable_wchar_t" = xyes; then
72929
72930 # Use iconv for wchar_t to char conversions. As such, check for
72931 # X/Open Portability Guide, version 2 features (XPG2).
72932 if test "${ac_cv_header_iconv_h+set}" = set; then
72933 echo "$as_me:$LINENO: checking for iconv.h" >&5
72934 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
72935 if test "${ac_cv_header_iconv_h+set}" = set; then
72936 echo $ECHO_N "(cached) $ECHO_C" >&6
72937 fi
72938 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
72939 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
72940 else
72941 # Is the header compilable?
72942 echo "$as_me:$LINENO: checking iconv.h usability" >&5
72943 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
72944 cat >conftest.$ac_ext <<_ACEOF
72945 /* confdefs.h. */
72946 _ACEOF
72947 cat confdefs.h >>conftest.$ac_ext
72948 cat >>conftest.$ac_ext <<_ACEOF
72949 /* end confdefs.h. */
72950 $ac_includes_default
72951 #include <iconv.h>
72952 _ACEOF
72953 rm -f conftest.$ac_objext
72954 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72955 (eval $ac_compile) 2>conftest.er1
72956 ac_status=$?
72957 grep -v '^ *+' conftest.er1 >conftest.err
72958 rm -f conftest.er1
72959 cat conftest.err >&5
72960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72961 (exit $ac_status); } &&
72962 { ac_try='test -z "$ac_c_werror_flag"
72963 || test ! -s conftest.err'
72964 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72965 (eval $ac_try) 2>&5
72966 ac_status=$?
72967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72968 (exit $ac_status); }; } &&
72969 { ac_try='test -s conftest.$ac_objext'
72970 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72971 (eval $ac_try) 2>&5
72972 ac_status=$?
72973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72974 (exit $ac_status); }; }; then
72975 ac_header_compiler=yes
72976 else
72977 echo "$as_me: failed program was:" >&5
72978 sed 's/^/| /' conftest.$ac_ext >&5
72979
72980 ac_header_compiler=no
72981 fi
72982 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72983 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
72984 echo "${ECHO_T}$ac_header_compiler" >&6
72985
72986 # Is the header present?
72987 echo "$as_me:$LINENO: checking iconv.h presence" >&5
72988 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
72989 cat >conftest.$ac_ext <<_ACEOF
72990 /* confdefs.h. */
72991 _ACEOF
72992 cat confdefs.h >>conftest.$ac_ext
72993 cat >>conftest.$ac_ext <<_ACEOF
72994 /* end confdefs.h. */
72995 #include <iconv.h>
72996 _ACEOF
72997 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
72998 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
72999 ac_status=$?
73000 grep -v '^ *+' conftest.er1 >conftest.err
73001 rm -f conftest.er1
73002 cat conftest.err >&5
73003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73004 (exit $ac_status); } >/dev/null; then
73005 if test -s conftest.err; then
73006 ac_cpp_err=$ac_c_preproc_warn_flag
73007 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
73008 else
73009 ac_cpp_err=
73010 fi
73011 else
73012 ac_cpp_err=yes
73013 fi
73014 if test -z "$ac_cpp_err"; then
73015 ac_header_preproc=yes
73016 else
73017 echo "$as_me: failed program was:" >&5
73018 sed 's/^/| /' conftest.$ac_ext >&5
73019
73020 ac_header_preproc=no
73021 fi
73022 rm -f conftest.err conftest.$ac_ext
73023 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
73024 echo "${ECHO_T}$ac_header_preproc" >&6
73025
73026 # So? What about this header?
73027 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
73028 yes:no: )
73029 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
73030 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
73031 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
73032 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
73033 ac_header_preproc=yes
73034 ;;
73035 no:yes:* )
73036 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
73037 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
73038 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
73039 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
73040 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
73041 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
73042 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
73043 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
73044 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
73045 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
73046 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
73047 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
73048 (
73049 cat <<\_ASBOX
73050 ## ----------------------------------------- ##
73051 ## Report this to the package-unused lists. ##
73052 ## ----------------------------------------- ##
73053 _ASBOX
73054 ) |
73055 sed "s/^/$as_me: WARNING: /" >&2
73056 ;;
73057 esac
73058 echo "$as_me:$LINENO: checking for iconv.h" >&5
73059 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
73060 if test "${ac_cv_header_iconv_h+set}" = set; then
73061 echo $ECHO_N "(cached) $ECHO_C" >&6
73062 else
73063 ac_cv_header_iconv_h=$ac_header_preproc
73064 fi
73065 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
73066 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
73067
73068 fi
73069 if test $ac_cv_header_iconv_h = yes; then
73070 ac_has_iconv_h=yes
73071 else
73072 ac_has_iconv_h=no
73073 fi
73074
73075
73076 if test "${ac_cv_header_langinfo_h+set}" = set; then
73077 echo "$as_me:$LINENO: checking for langinfo.h" >&5
73078 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
73079 if test "${ac_cv_header_langinfo_h+set}" = set; then
73080 echo $ECHO_N "(cached) $ECHO_C" >&6
73081 fi
73082 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
73083 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
73084 else
73085 # Is the header compilable?
73086 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
73087 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
73088 cat >conftest.$ac_ext <<_ACEOF
73089 /* confdefs.h. */
73090 _ACEOF
73091 cat confdefs.h >>conftest.$ac_ext
73092 cat >>conftest.$ac_ext <<_ACEOF
73093 /* end confdefs.h. */
73094 $ac_includes_default
73095 #include <langinfo.h>
73096 _ACEOF
73097 rm -f conftest.$ac_objext
73098 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73099 (eval $ac_compile) 2>conftest.er1
73100 ac_status=$?
73101 grep -v '^ *+' conftest.er1 >conftest.err
73102 rm -f conftest.er1
73103 cat conftest.err >&5
73104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73105 (exit $ac_status); } &&
73106 { ac_try='test -z "$ac_c_werror_flag"
73107 || test ! -s conftest.err'
73108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73109 (eval $ac_try) 2>&5
73110 ac_status=$?
73111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73112 (exit $ac_status); }; } &&
73113 { ac_try='test -s conftest.$ac_objext'
73114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73115 (eval $ac_try) 2>&5
73116 ac_status=$?
73117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73118 (exit $ac_status); }; }; then
73119 ac_header_compiler=yes
73120 else
73121 echo "$as_me: failed program was:" >&5
73122 sed 's/^/| /' conftest.$ac_ext >&5
73123
73124 ac_header_compiler=no
73125 fi
73126 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73127 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
73128 echo "${ECHO_T}$ac_header_compiler" >&6
73129
73130 # Is the header present?
73131 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
73132 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
73133 cat >conftest.$ac_ext <<_ACEOF
73134 /* confdefs.h. */
73135 _ACEOF
73136 cat confdefs.h >>conftest.$ac_ext
73137 cat >>conftest.$ac_ext <<_ACEOF
73138 /* end confdefs.h. */
73139 #include <langinfo.h>
73140 _ACEOF
73141 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
73142 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
73143 ac_status=$?
73144 grep -v '^ *+' conftest.er1 >conftest.err
73145 rm -f conftest.er1
73146 cat conftest.err >&5
73147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73148 (exit $ac_status); } >/dev/null; then
73149 if test -s conftest.err; then
73150 ac_cpp_err=$ac_c_preproc_warn_flag
73151 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
73152 else
73153 ac_cpp_err=
73154 fi
73155 else
73156 ac_cpp_err=yes
73157 fi
73158 if test -z "$ac_cpp_err"; then
73159 ac_header_preproc=yes
73160 else
73161 echo "$as_me: failed program was:" >&5
73162 sed 's/^/| /' conftest.$ac_ext >&5
73163
73164 ac_header_preproc=no
73165 fi
73166 rm -f conftest.err conftest.$ac_ext
73167 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
73168 echo "${ECHO_T}$ac_header_preproc" >&6
73169
73170 # So? What about this header?
73171 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
73172 yes:no: )
73173 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
73174 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
73175 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
73176 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
73177 ac_header_preproc=yes
73178 ;;
73179 no:yes:* )
73180 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
73181 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
73182 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
73183 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
73184 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
73185 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
73186 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
73187 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
73188 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
73189 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
73190 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
73191 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
73192 (
73193 cat <<\_ASBOX
73194 ## ----------------------------------------- ##
73195 ## Report this to the package-unused lists. ##
73196 ## ----------------------------------------- ##
73197 _ASBOX
73198 ) |
73199 sed "s/^/$as_me: WARNING: /" >&2
73200 ;;
73201 esac
73202 echo "$as_me:$LINENO: checking for langinfo.h" >&5
73203 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
73204 if test "${ac_cv_header_langinfo_h+set}" = set; then
73205 echo $ECHO_N "(cached) $ECHO_C" >&6
73206 else
73207 ac_cv_header_langinfo_h=$ac_header_preproc
73208 fi
73209 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
73210 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
73211
73212 fi
73213 if test $ac_cv_header_langinfo_h = yes; then
73214 ac_has_langinfo_h=yes
73215 else
73216 ac_has_langinfo_h=no
73217 fi
73218
73219
73220
73221 # Check for existence of libiconv.a providing XPG2 wchar_t support.
73222 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
73223 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
73224 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
73225 echo $ECHO_N "(cached) $ECHO_C" >&6
73226 else
73227 ac_check_lib_save_LIBS=$LIBS
73228 LIBS="-liconv $LIBS"
73229 if test x$gcc_no_link = xyes; then
73230 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73231 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73232 { (exit 1); exit 1; }; }
73233 fi
73234 cat >conftest.$ac_ext <<_ACEOF
73235 /* confdefs.h. */
73236 _ACEOF
73237 cat confdefs.h >>conftest.$ac_ext
73238 cat >>conftest.$ac_ext <<_ACEOF
73239 /* end confdefs.h. */
73240
73241 /* Override any gcc2 internal prototype to avoid an error. */
73242 #ifdef __cplusplus
73243 extern "C"
73244 #endif
73245 /* We use char because int might match the return type of a gcc2
73246 builtin and then its argument prototype would still apply. */
73247 char iconv ();
73248 int
73249 main ()
73250 {
73251 iconv ();
73252 ;
73253 return 0;
73254 }
73255 _ACEOF
73256 rm -f conftest.$ac_objext conftest$ac_exeext
73257 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73258 (eval $ac_link) 2>conftest.er1
73259 ac_status=$?
73260 grep -v '^ *+' conftest.er1 >conftest.err
73261 rm -f conftest.er1
73262 cat conftest.err >&5
73263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73264 (exit $ac_status); } &&
73265 { ac_try='test -z "$ac_c_werror_flag"
73266 || test ! -s conftest.err'
73267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73268 (eval $ac_try) 2>&5
73269 ac_status=$?
73270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73271 (exit $ac_status); }; } &&
73272 { ac_try='test -s conftest$ac_exeext'
73273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73274 (eval $ac_try) 2>&5
73275 ac_status=$?
73276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73277 (exit $ac_status); }; }; then
73278 ac_cv_lib_iconv_iconv=yes
73279 else
73280 echo "$as_me: failed program was:" >&5
73281 sed 's/^/| /' conftest.$ac_ext >&5
73282
73283 ac_cv_lib_iconv_iconv=no
73284 fi
73285 rm -f conftest.err conftest.$ac_objext \
73286 conftest$ac_exeext conftest.$ac_ext
73287 LIBS=$ac_check_lib_save_LIBS
73288 fi
73289 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
73290 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
73291 if test $ac_cv_lib_iconv_iconv = yes; then
73292 LIBICONV="-liconv"
73293 fi
73294
73295 ac_save_LIBS="$LIBS"
73296 LIBS="$LIBS $LIBICONV"
73297
73298
73299
73300
73301
73302
73303 for ac_func in iconv_open iconv_close iconv nl_langinfo
73304 do
73305 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
73306 echo "$as_me:$LINENO: checking for $ac_func" >&5
73307 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
73308 if eval "test \"\${$as_ac_var+set}\" = set"; then
73309 echo $ECHO_N "(cached) $ECHO_C" >&6
73310 else
73311 if test x$gcc_no_link = xyes; then
73312 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73313 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73314 { (exit 1); exit 1; }; }
73315 fi
73316 cat >conftest.$ac_ext <<_ACEOF
73317 /* confdefs.h. */
73318 _ACEOF
73319 cat confdefs.h >>conftest.$ac_ext
73320 cat >>conftest.$ac_ext <<_ACEOF
73321 /* end confdefs.h. */
73322 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
73323 For example, HP-UX 11i <limits.h> declares gettimeofday. */
73324 #define $ac_func innocuous_$ac_func
73325
73326 /* System header to define __stub macros and hopefully few prototypes,
73327 which can conflict with char $ac_func (); below.
73328 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
73329 <limits.h> exists even on freestanding compilers. */
73330
73331 #ifdef __STDC__
73332 # include <limits.h>
73333 #else
73334 # include <assert.h>
73335 #endif
73336
73337 #undef $ac_func
73338
73339 /* Override any gcc2 internal prototype to avoid an error. */
73340 #ifdef __cplusplus
73341 extern "C"
73342 {
73343 #endif
73344 /* We use char because int might match the return type of a gcc2
73345 builtin and then its argument prototype would still apply. */
73346 char $ac_func ();
73347 /* The GNU C library defines this for functions which it implements
73348 to always fail with ENOSYS. Some functions are actually named
73349 something starting with __ and the normal name is an alias. */
73350 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
73351 choke me
73352 #else
73353 char (*f) () = $ac_func;
73354 #endif
73355 #ifdef __cplusplus
73356 }
73357 #endif
73358
73359 int
73360 main ()
73361 {
73362 return f != $ac_func;
73363 ;
73364 return 0;
73365 }
73366 _ACEOF
73367 rm -f conftest.$ac_objext conftest$ac_exeext
73368 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73369 (eval $ac_link) 2>conftest.er1
73370 ac_status=$?
73371 grep -v '^ *+' conftest.er1 >conftest.err
73372 rm -f conftest.er1
73373 cat conftest.err >&5
73374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73375 (exit $ac_status); } &&
73376 { ac_try='test -z "$ac_c_werror_flag"
73377 || test ! -s conftest.err'
73378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73379 (eval $ac_try) 2>&5
73380 ac_status=$?
73381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73382 (exit $ac_status); }; } &&
73383 { ac_try='test -s conftest$ac_exeext'
73384 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73385 (eval $ac_try) 2>&5
73386 ac_status=$?
73387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73388 (exit $ac_status); }; }; then
73389 eval "$as_ac_var=yes"
73390 else
73391 echo "$as_me: failed program was:" >&5
73392 sed 's/^/| /' conftest.$ac_ext >&5
73393
73394 eval "$as_ac_var=no"
73395 fi
73396 rm -f conftest.err conftest.$ac_objext \
73397 conftest$ac_exeext conftest.$ac_ext
73398 fi
73399 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
73400 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
73401 if test `eval echo '${'$as_ac_var'}'` = yes; then
73402 cat >>confdefs.h <<_ACEOF
73403 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
73404 _ACEOF
73405 ac_XPG2funcs=yes
73406 else
73407 ac_XPG2funcs=no
73408 fi
73409 done
73410
73411
73412 LIBS="$ac_save_LIBS"
73413
73414 if test x"$ac_has_iconv_h" = xyes &&
73415 test x"$ac_has_langinfo_h" = xyes &&
73416 test x"$ac_XPG2funcs" = xyes;
73417 then
73418
73419 cat >>confdefs.h <<\_ACEOF
73420 #define _GLIBCXX_USE_ICONV 1
73421 _ACEOF
73422
73423 enable_iconv=yes
73424 fi
73425 fi
73426 echo "$as_me:$LINENO: checking for enabled iconv specializations" >&5
73427 echo $ECHO_N "checking for enabled iconv specializations... $ECHO_C" >&6
73428 echo "$as_me:$LINENO: result: $enable_iconv" >&5
73429 echo "${ECHO_T}$enable_iconv" >&6
73430
73431
73432 ac_test_CXXFLAGS="${CXXFLAGS+set}"
73433 ac_save_CXXFLAGS="$CXXFLAGS"
73434 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
73435
73436
73437 echo "$as_me:$LINENO: checking for strtold declaration" >&5
73438 echo $ECHO_N "checking for strtold declaration... $ECHO_C" >&6
73439 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
73440 if test "${glibcxx_cv_func_strtold_use+set}" = set; then
73441 echo $ECHO_N "(cached) $ECHO_C" >&6
73442 else
73443
73444
73445
73446 ac_ext=cc
73447 ac_cpp='$CXXCPP $CPPFLAGS'
73448 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73449 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73450 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73451
73452 cat >conftest.$ac_ext <<_ACEOF
73453 /* confdefs.h. */
73454 _ACEOF
73455 cat confdefs.h >>conftest.$ac_ext
73456 cat >>conftest.$ac_ext <<_ACEOF
73457 /* end confdefs.h. */
73458 #include <stdlib.h>
73459 int
73460 main ()
73461 {
73462 strtold(0, 0);
73463 ;
73464 return 0;
73465 }
73466 _ACEOF
73467 rm -f conftest.$ac_objext
73468 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73469 (eval $ac_compile) 2>conftest.er1
73470 ac_status=$?
73471 grep -v '^ *+' conftest.er1 >conftest.err
73472 rm -f conftest.er1
73473 cat conftest.err >&5
73474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73475 (exit $ac_status); } &&
73476 { ac_try='test -z "$ac_cxx_werror_flag"
73477 || test ! -s conftest.err'
73478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73479 (eval $ac_try) 2>&5
73480 ac_status=$?
73481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73482 (exit $ac_status); }; } &&
73483 { ac_try='test -s conftest.$ac_objext'
73484 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73485 (eval $ac_try) 2>&5
73486 ac_status=$?
73487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73488 (exit $ac_status); }; }; then
73489 glibcxx_cv_func_strtold_use=yes
73490 else
73491 echo "$as_me: failed program was:" >&5
73492 sed 's/^/| /' conftest.$ac_ext >&5
73493
73494 glibcxx_cv_func_strtold_use=no
73495 fi
73496 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73497 ac_ext=c
73498 ac_cpp='$CPP $CPPFLAGS'
73499 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73500 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73501 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73502
73503
73504 fi
73505
73506 fi
73507 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtold_use" >&5
73508 echo "${ECHO_T}$glibcxx_cv_func_strtold_use" >&6
73509 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
73510
73511 for ac_func in strtold
73512 do
73513 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
73514 echo "$as_me:$LINENO: checking for $ac_func" >&5
73515 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
73516 if eval "test \"\${$as_ac_var+set}\" = set"; then
73517 echo $ECHO_N "(cached) $ECHO_C" >&6
73518 else
73519 if test x$gcc_no_link = xyes; then
73520 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73521 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73522 { (exit 1); exit 1; }; }
73523 fi
73524 cat >conftest.$ac_ext <<_ACEOF
73525 /* confdefs.h. */
73526 _ACEOF
73527 cat confdefs.h >>conftest.$ac_ext
73528 cat >>conftest.$ac_ext <<_ACEOF
73529 /* end confdefs.h. */
73530 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
73531 For example, HP-UX 11i <limits.h> declares gettimeofday. */
73532 #define $ac_func innocuous_$ac_func
73533
73534 /* System header to define __stub macros and hopefully few prototypes,
73535 which can conflict with char $ac_func (); below.
73536 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
73537 <limits.h> exists even on freestanding compilers. */
73538
73539 #ifdef __STDC__
73540 # include <limits.h>
73541 #else
73542 # include <assert.h>
73543 #endif
73544
73545 #undef $ac_func
73546
73547 /* Override any gcc2 internal prototype to avoid an error. */
73548 #ifdef __cplusplus
73549 extern "C"
73550 {
73551 #endif
73552 /* We use char because int might match the return type of a gcc2
73553 builtin and then its argument prototype would still apply. */
73554 char $ac_func ();
73555 /* The GNU C library defines this for functions which it implements
73556 to always fail with ENOSYS. Some functions are actually named
73557 something starting with __ and the normal name is an alias. */
73558 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
73559 choke me
73560 #else
73561 char (*f) () = $ac_func;
73562 #endif
73563 #ifdef __cplusplus
73564 }
73565 #endif
73566
73567 int
73568 main ()
73569 {
73570 return f != $ac_func;
73571 ;
73572 return 0;
73573 }
73574 _ACEOF
73575 rm -f conftest.$ac_objext conftest$ac_exeext
73576 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73577 (eval $ac_link) 2>conftest.er1
73578 ac_status=$?
73579 grep -v '^ *+' conftest.er1 >conftest.err
73580 rm -f conftest.er1
73581 cat conftest.err >&5
73582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73583 (exit $ac_status); } &&
73584 { ac_try='test -z "$ac_c_werror_flag"
73585 || test ! -s conftest.err'
73586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73587 (eval $ac_try) 2>&5
73588 ac_status=$?
73589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73590 (exit $ac_status); }; } &&
73591 { ac_try='test -s conftest$ac_exeext'
73592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73593 (eval $ac_try) 2>&5
73594 ac_status=$?
73595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73596 (exit $ac_status); }; }; then
73597 eval "$as_ac_var=yes"
73598 else
73599 echo "$as_me: failed program was:" >&5
73600 sed 's/^/| /' conftest.$ac_ext >&5
73601
73602 eval "$as_ac_var=no"
73603 fi
73604 rm -f conftest.err conftest.$ac_objext \
73605 conftest$ac_exeext conftest.$ac_ext
73606 fi
73607 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
73608 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
73609 if test `eval echo '${'$as_ac_var'}'` = yes; then
73610 cat >>confdefs.h <<_ACEOF
73611 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
73612 _ACEOF
73613
73614 fi
73615 done
73616
73617 fi
73618
73619
73620
73621
73622
73623 echo "$as_me:$LINENO: checking for strtof declaration" >&5
73624 echo $ECHO_N "checking for strtof declaration... $ECHO_C" >&6
73625 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
73626 if test "${glibcxx_cv_func_strtof_use+set}" = set; then
73627 echo $ECHO_N "(cached) $ECHO_C" >&6
73628 else
73629
73630
73631
73632 ac_ext=cc
73633 ac_cpp='$CXXCPP $CPPFLAGS'
73634 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73635 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73636 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73637
73638 cat >conftest.$ac_ext <<_ACEOF
73639 /* confdefs.h. */
73640 _ACEOF
73641 cat confdefs.h >>conftest.$ac_ext
73642 cat >>conftest.$ac_ext <<_ACEOF
73643 /* end confdefs.h. */
73644 #include <stdlib.h>
73645 int
73646 main ()
73647 {
73648 strtof(0, 0);
73649 ;
73650 return 0;
73651 }
73652 _ACEOF
73653 rm -f conftest.$ac_objext
73654 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73655 (eval $ac_compile) 2>conftest.er1
73656 ac_status=$?
73657 grep -v '^ *+' conftest.er1 >conftest.err
73658 rm -f conftest.er1
73659 cat conftest.err >&5
73660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73661 (exit $ac_status); } &&
73662 { ac_try='test -z "$ac_cxx_werror_flag"
73663 || test ! -s conftest.err'
73664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73665 (eval $ac_try) 2>&5
73666 ac_status=$?
73667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73668 (exit $ac_status); }; } &&
73669 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
73675 glibcxx_cv_func_strtof_use=yes
73676 else
73677 echo "$as_me: failed program was:" >&5
73678 sed 's/^/| /' conftest.$ac_ext >&5
73679
73680 glibcxx_cv_func_strtof_use=no
73681 fi
73682 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73683 ac_ext=c
73684 ac_cpp='$CPP $CPPFLAGS'
73685 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73686 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73687 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73688
73689
73690 fi
73691
73692 fi
73693 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtof_use" >&5
73694 echo "${ECHO_T}$glibcxx_cv_func_strtof_use" >&6
73695 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
73696
73697 for ac_func in strtof
73698 do
73699 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
73700 echo "$as_me:$LINENO: checking for $ac_func" >&5
73701 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
73702 if eval "test \"\${$as_ac_var+set}\" = set"; then
73703 echo $ECHO_N "(cached) $ECHO_C" >&6
73704 else
73705 if test x$gcc_no_link = xyes; then
73706 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73707 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73708 { (exit 1); exit 1; }; }
73709 fi
73710 cat >conftest.$ac_ext <<_ACEOF
73711 /* confdefs.h. */
73712 _ACEOF
73713 cat confdefs.h >>conftest.$ac_ext
73714 cat >>conftest.$ac_ext <<_ACEOF
73715 /* end confdefs.h. */
73716 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
73717 For example, HP-UX 11i <limits.h> declares gettimeofday. */
73718 #define $ac_func innocuous_$ac_func
73719
73720 /* System header to define __stub macros and hopefully few prototypes,
73721 which can conflict with char $ac_func (); below.
73722 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
73723 <limits.h> exists even on freestanding compilers. */
73724
73725 #ifdef __STDC__
73726 # include <limits.h>
73727 #else
73728 # include <assert.h>
73729 #endif
73730
73731 #undef $ac_func
73732
73733 /* Override any gcc2 internal prototype to avoid an error. */
73734 #ifdef __cplusplus
73735 extern "C"
73736 {
73737 #endif
73738 /* We use char because int might match the return type of a gcc2
73739 builtin and then its argument prototype would still apply. */
73740 char $ac_func ();
73741 /* The GNU C library defines this for functions which it implements
73742 to always fail with ENOSYS. Some functions are actually named
73743 something starting with __ and the normal name is an alias. */
73744 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
73745 choke me
73746 #else
73747 char (*f) () = $ac_func;
73748 #endif
73749 #ifdef __cplusplus
73750 }
73751 #endif
73752
73753 int
73754 main ()
73755 {
73756 return f != $ac_func;
73757 ;
73758 return 0;
73759 }
73760 _ACEOF
73761 rm -f conftest.$ac_objext conftest$ac_exeext
73762 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73763 (eval $ac_link) 2>conftest.er1
73764 ac_status=$?
73765 grep -v '^ *+' conftest.er1 >conftest.err
73766 rm -f conftest.er1
73767 cat conftest.err >&5
73768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73769 (exit $ac_status); } &&
73770 { ac_try='test -z "$ac_c_werror_flag"
73771 || test ! -s conftest.err'
73772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73773 (eval $ac_try) 2>&5
73774 ac_status=$?
73775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73776 (exit $ac_status); }; } &&
73777 { ac_try='test -s conftest$ac_exeext'
73778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73779 (eval $ac_try) 2>&5
73780 ac_status=$?
73781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73782 (exit $ac_status); }; }; then
73783 eval "$as_ac_var=yes"
73784 else
73785 echo "$as_me: failed program was:" >&5
73786 sed 's/^/| /' conftest.$ac_ext >&5
73787
73788 eval "$as_ac_var=no"
73789 fi
73790 rm -f conftest.err conftest.$ac_objext \
73791 conftest$ac_exeext conftest.$ac_ext
73792 fi
73793 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
73794 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
73795 if test `eval echo '${'$as_ac_var'}'` = yes; then
73796 cat >>confdefs.h <<_ACEOF
73797 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
73798 _ACEOF
73799
73800 fi
73801 done
73802
73803 fi
73804
73805
73806
73807
73808
73809 CXXFLAGS="$ac_save_CXXFLAGS"
73810
73811
73812 if test "${glibcxx_cv_S_ISREG+set}" = set; then
73813 echo $ECHO_N "(cached) $ECHO_C" >&6
73814 else
73815
73816 if test x$gcc_no_link = xyes; then
73817 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73818 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73819 { (exit 1); exit 1; }; }
73820 fi
73821 cat >conftest.$ac_ext <<_ACEOF
73822 /* confdefs.h. */
73823 _ACEOF
73824 cat confdefs.h >>conftest.$ac_ext
73825 cat >>conftest.$ac_ext <<_ACEOF
73826 /* end confdefs.h. */
73827 #include <sys/stat.h>
73828 int
73829 main ()
73830 {
73831 struct stat buffer;
73832 fstat(0, &buffer);
73833 S_ISREG(buffer.st_mode);
73834 ;
73835 return 0;
73836 }
73837 _ACEOF
73838 rm -f conftest.$ac_objext conftest$ac_exeext
73839 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73840 (eval $ac_link) 2>conftest.er1
73841 ac_status=$?
73842 grep -v '^ *+' conftest.er1 >conftest.err
73843 rm -f conftest.er1
73844 cat conftest.err >&5
73845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73846 (exit $ac_status); } &&
73847 { ac_try='test -z "$ac_c_werror_flag"
73848 || test ! -s conftest.err'
73849 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73850 (eval $ac_try) 2>&5
73851 ac_status=$?
73852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73853 (exit $ac_status); }; } &&
73854 { ac_try='test -s conftest$ac_exeext'
73855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73856 (eval $ac_try) 2>&5
73857 ac_status=$?
73858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73859 (exit $ac_status); }; }; then
73860 glibcxx_cv_S_ISREG=yes
73861 else
73862 echo "$as_me: failed program was:" >&5
73863 sed 's/^/| /' conftest.$ac_ext >&5
73864
73865 glibcxx_cv_S_ISREG=no
73866 fi
73867 rm -f conftest.err conftest.$ac_objext \
73868 conftest$ac_exeext conftest.$ac_ext
73869
73870 fi
73871
73872 if test "${glibcxx_cv_S_IFREG+set}" = set; then
73873 echo $ECHO_N "(cached) $ECHO_C" >&6
73874 else
73875
73876 if test x$gcc_no_link = xyes; then
73877 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73878 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73879 { (exit 1); exit 1; }; }
73880 fi
73881 cat >conftest.$ac_ext <<_ACEOF
73882 /* confdefs.h. */
73883 _ACEOF
73884 cat confdefs.h >>conftest.$ac_ext
73885 cat >>conftest.$ac_ext <<_ACEOF
73886 /* end confdefs.h. */
73887 #include <sys/stat.h>
73888 int
73889 main ()
73890 {
73891 struct stat buffer;
73892 fstat(0, &buffer);
73893 S_IFREG & buffer.st_mode;
73894 ;
73895 return 0;
73896 }
73897 _ACEOF
73898 rm -f conftest.$ac_objext conftest$ac_exeext
73899 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73900 (eval $ac_link) 2>conftest.er1
73901 ac_status=$?
73902 grep -v '^ *+' conftest.er1 >conftest.err
73903 rm -f conftest.er1
73904 cat conftest.err >&5
73905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73906 (exit $ac_status); } &&
73907 { ac_try='test -z "$ac_c_werror_flag"
73908 || test ! -s conftest.err'
73909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73910 (eval $ac_try) 2>&5
73911 ac_status=$?
73912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73913 (exit $ac_status); }; } &&
73914 { ac_try='test -s conftest$ac_exeext'
73915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73916 (eval $ac_try) 2>&5
73917 ac_status=$?
73918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73919 (exit $ac_status); }; }; then
73920 glibcxx_cv_S_IFREG=yes
73921 else
73922 echo "$as_me: failed program was:" >&5
73923 sed 's/^/| /' conftest.$ac_ext >&5
73924
73925 glibcxx_cv_S_IFREG=no
73926 fi
73927 rm -f conftest.err conftest.$ac_objext \
73928 conftest$ac_exeext conftest.$ac_ext
73929
73930 fi
73931
73932 if test $glibcxx_cv_S_ISREG = yes; then
73933
73934 cat >>confdefs.h <<\_ACEOF
73935 #define HAVE_S_ISREG 1
73936 _ACEOF
73937
73938 elif test $glibcxx_cv_S_IFREG = yes; then
73939
73940 cat >>confdefs.h <<\_ACEOF
73941 #define HAVE_S_IFREG 1
73942 _ACEOF
73943
73944 fi
73945
73946 cat >>confdefs.h <<\_ACEOF
73947 #define HAVE_WRITEV 1
73948 _ACEOF
73949
73950 ;;
73951
73952 *-freebsd*)
73953
73954
73955
73956
73957
73958
73959
73960
73961
73962
73963
73964
73965
73966
73967
73968
73969 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
73970 machine/endian.h machine/param.h sys/machine.h sys/types.h \
73971 fp.h locale.h float.h inttypes.h sys/resource.h sys/stat.h \
73972 sys/time.h unistd.h
73973 do
73974 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
73975 if eval "test \"\${$as_ac_Header+set}\" = set"; then
73976 echo "$as_me:$LINENO: checking for $ac_header" >&5
73977 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
73978 if eval "test \"\${$as_ac_Header+set}\" = set"; then
73979 echo $ECHO_N "(cached) $ECHO_C" >&6
73980 fi
73981 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
73982 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
73983 else
73984 # Is the header compilable?
73985 echo "$as_me:$LINENO: checking $ac_header usability" >&5
73986 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
73987 cat >conftest.$ac_ext <<_ACEOF
73988 /* confdefs.h. */
73989 _ACEOF
73990 cat confdefs.h >>conftest.$ac_ext
73991 cat >>conftest.$ac_ext <<_ACEOF
73992 /* end confdefs.h. */
73993 $ac_includes_default
73994 #include <$ac_header>
73995 _ACEOF
73996 rm -f conftest.$ac_objext
73997 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73998 (eval $ac_compile) 2>conftest.er1
73999 ac_status=$?
74000 grep -v '^ *+' conftest.er1 >conftest.err
74001 rm -f conftest.er1
74002 cat conftest.err >&5
74003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74004 (exit $ac_status); } &&
74005 { ac_try='test -z "$ac_c_werror_flag"
74006 || test ! -s conftest.err'
74007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74008 (eval $ac_try) 2>&5
74009 ac_status=$?
74010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74011 (exit $ac_status); }; } &&
74012 { ac_try='test -s conftest.$ac_objext'
74013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74014 (eval $ac_try) 2>&5
74015 ac_status=$?
74016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74017 (exit $ac_status); }; }; then
74018 ac_header_compiler=yes
74019 else
74020 echo "$as_me: failed program was:" >&5
74021 sed 's/^/| /' conftest.$ac_ext >&5
74022
74023 ac_header_compiler=no
74024 fi
74025 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
74026 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
74027 echo "${ECHO_T}$ac_header_compiler" >&6
74028
74029 # Is the header present?
74030 echo "$as_me:$LINENO: checking $ac_header presence" >&5
74031 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
74032 cat >conftest.$ac_ext <<_ACEOF
74033 /* confdefs.h. */
74034 _ACEOF
74035 cat confdefs.h >>conftest.$ac_ext
74036 cat >>conftest.$ac_ext <<_ACEOF
74037 /* end confdefs.h. */
74038 #include <$ac_header>
74039 _ACEOF
74040 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
74041 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
74042 ac_status=$?
74043 grep -v '^ *+' conftest.er1 >conftest.err
74044 rm -f conftest.er1
74045 cat conftest.err >&5
74046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74047 (exit $ac_status); } >/dev/null; then
74048 if test -s conftest.err; then
74049 ac_cpp_err=$ac_c_preproc_warn_flag
74050 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
74051 else
74052 ac_cpp_err=
74053 fi
74054 else
74055 ac_cpp_err=yes
74056 fi
74057 if test -z "$ac_cpp_err"; then
74058 ac_header_preproc=yes
74059 else
74060 echo "$as_me: failed program was:" >&5
74061 sed 's/^/| /' conftest.$ac_ext >&5
74062
74063 ac_header_preproc=no
74064 fi
74065 rm -f conftest.err conftest.$ac_ext
74066 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
74067 echo "${ECHO_T}$ac_header_preproc" >&6
74068
74069 # So? What about this header?
74070 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
74071 yes:no: )
74072 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
74073 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
74074 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
74075 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
74076 ac_header_preproc=yes
74077 ;;
74078 no:yes:* )
74079 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
74080 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
74081 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
74082 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
74083 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
74084 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
74085 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
74086 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
74087 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
74088 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
74089 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
74090 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
74091 (
74092 cat <<\_ASBOX
74093 ## ----------------------------------------- ##
74094 ## Report this to the package-unused lists. ##
74095 ## ----------------------------------------- ##
74096 _ASBOX
74097 ) |
74098 sed "s/^/$as_me: WARNING: /" >&2
74099 ;;
74100 esac
74101 echo "$as_me:$LINENO: checking for $ac_header" >&5
74102 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
74103 if eval "test \"\${$as_ac_Header+set}\" = set"; then
74104 echo $ECHO_N "(cached) $ECHO_C" >&6
74105 else
74106 eval "$as_ac_Header=\$ac_header_preproc"
74107 fi
74108 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
74109 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
74110
74111 fi
74112 if test `eval echo '${'$as_ac_Header'}'` = yes; then
74113 cat >>confdefs.h <<_ACEOF
74114 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
74115 _ACEOF
74116
74117 fi
74118
74119 done
74120
74121 SECTION_FLAGS='-ffunction-sections -fdata-sections'
74122
74123
74124 # If we're not using GNU ld, then there's no point in even trying these
74125 # tests. Check for that first. We should have already tested for gld
74126 # by now (in libtool), but require it now just to be safe...
74127 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
74128 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
74129
74130
74131
74132 # The name set by libtool depends on the version of libtool. Shame on us
74133 # for depending on an impl detail, but c'est la vie. Older versions used
74134 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
74135 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
74136 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
74137 # set (hence we're using an older libtool), then set it.
74138 if test x${with_gnu_ld+set} != xset; then
74139 if test x${ac_cv_prog_gnu_ld+set} != xset; then
74140 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
74141 with_gnu_ld=no
74142 else
74143 with_gnu_ld=$ac_cv_prog_gnu_ld
74144 fi
74145 fi
74146
74147 # Start by getting the version number. I think the libtool test already
74148 # does some of this, but throws away the result.
74149
74150 ldver=`$LD --version 2>/dev/null | head -1 | \
74151 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
74152
74153 glibcxx_gnu_ld_version=`echo $ldver | \
74154 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
74155
74156 # Set --gc-sections.
74157 if test "$with_gnu_ld" = "notbroken"; then
74158 # GNU ld it is! Joy and bunny rabbits!
74159
74160 # All these tests are for C++; save the language and the compiler flags.
74161 # Need to do this so that g++ won't try to link in libstdc++
74162 ac_test_CFLAGS="${CFLAGS+set}"
74163 ac_save_CFLAGS="$CFLAGS"
74164 CFLAGS='-x c++ -Wl,--gc-sections'
74165
74166 # Check for -Wl,--gc-sections
74167 # XXX This test is broken at the moment, as symbols required for linking
74168 # are now in libsupc++ (not built yet). In addition, this test has
74169 # cored on solaris in the past. In addition, --gc-sections doesn't
74170 # really work at the moment (keeps on discarding used sections, first
74171 # .eh_frame and now some of the glibc sections for iconv).
74172 # Bzzzzt. Thanks for playing, maybe next time.
74173 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
74174 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
74175 if test "$cross_compiling" = yes; then
74176 ac_sectionLDflags=yes
74177 else
74178 cat >conftest.$ac_ext <<_ACEOF
74179 /* confdefs.h. */
74180 _ACEOF
74181 cat confdefs.h >>conftest.$ac_ext
74182 cat >>conftest.$ac_ext <<_ACEOF
74183 /* end confdefs.h. */
74184
74185 int main(void)
74186 {
74187 try { throw 1; }
74188 catch (...) { };
74189 return 0;
74190 }
74191
74192 _ACEOF
74193 rm -f conftest$ac_exeext
74194 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74195 (eval $ac_link) 2>&5
74196 ac_status=$?
74197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74198 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
74199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74200 (eval $ac_try) 2>&5
74201 ac_status=$?
74202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74203 (exit $ac_status); }; }; then
74204 ac_sectionLDflags=yes
74205 else
74206 echo "$as_me: program exited with status $ac_status" >&5
74207 echo "$as_me: failed program was:" >&5
74208 sed 's/^/| /' conftest.$ac_ext >&5
74209
74210 ( exit $ac_status )
74211 ac_sectionLDflags=no
74212 fi
74213 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
74214 fi
74215 if test "$ac_test_CFLAGS" = set; then
74216 CFLAGS="$ac_save_CFLAGS"
74217 else
74218 # this is the suspicious part
74219 CFLAGS=''
74220 fi
74221 if test "$ac_sectionLDflags" = "yes"; then
74222 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
74223 fi
74224 echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
74225 echo "${ECHO_T}$ac_sectionLDflags" >&6
74226 fi
74227
74228 # Set linker optimization flags.
74229 if test x"$with_gnu_ld" = x"yes"; then
74230 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
74231 fi
74232
74233
74234
74235
74236
74237
74238 echo "$as_me:$LINENO: checking for main in -lm" >&5
74239 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
74240 if test "${ac_cv_lib_m_main+set}" = set; then
74241 echo $ECHO_N "(cached) $ECHO_C" >&6
74242 else
74243 ac_check_lib_save_LIBS=$LIBS
74244 LIBS="-lm $LIBS"
74245 if test x$gcc_no_link = xyes; then
74246 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74247 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74248 { (exit 1); exit 1; }; }
74249 fi
74250 cat >conftest.$ac_ext <<_ACEOF
74251 /* confdefs.h. */
74252 _ACEOF
74253 cat confdefs.h >>conftest.$ac_ext
74254 cat >>conftest.$ac_ext <<_ACEOF
74255 /* end confdefs.h. */
74256
74257
74258 int
74259 main ()
74260 {
74261 main ();
74262 ;
74263 return 0;
74264 }
74265 _ACEOF
74266 rm -f conftest.$ac_objext conftest$ac_exeext
74267 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74268 (eval $ac_link) 2>conftest.er1
74269 ac_status=$?
74270 grep -v '^ *+' conftest.er1 >conftest.err
74271 rm -f conftest.er1
74272 cat conftest.err >&5
74273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74274 (exit $ac_status); } &&
74275 { ac_try='test -z "$ac_c_werror_flag"
74276 || test ! -s conftest.err'
74277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74278 (eval $ac_try) 2>&5
74279 ac_status=$?
74280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74281 (exit $ac_status); }; } &&
74282 { ac_try='test -s conftest$ac_exeext'
74283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74284 (eval $ac_try) 2>&5
74285 ac_status=$?
74286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74287 (exit $ac_status); }; }; then
74288 ac_cv_lib_m_main=yes
74289 else
74290 echo "$as_me: failed program was:" >&5
74291 sed 's/^/| /' conftest.$ac_ext >&5
74292
74293 ac_cv_lib_m_main=no
74294 fi
74295 rm -f conftest.err conftest.$ac_objext \
74296 conftest$ac_exeext conftest.$ac_ext
74297 LIBS=$ac_check_lib_save_LIBS
74298 fi
74299 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
74300 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
74301 if test $ac_cv_lib_m_main = yes; then
74302 cat >>confdefs.h <<_ACEOF
74303 #define HAVE_LIBM 1
74304 _ACEOF
74305
74306 LIBS="-lm $LIBS"
74307
74308 fi
74309
74310
74311 for ac_func in copysignf
74312 do
74313 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74314 echo "$as_me:$LINENO: checking for $ac_func" >&5
74315 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74316 if eval "test \"\${$as_ac_var+set}\" = set"; then
74317 echo $ECHO_N "(cached) $ECHO_C" >&6
74318 else
74319 if test x$gcc_no_link = xyes; then
74320 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74321 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74322 { (exit 1); exit 1; }; }
74323 fi
74324 cat >conftest.$ac_ext <<_ACEOF
74325 /* confdefs.h. */
74326 _ACEOF
74327 cat confdefs.h >>conftest.$ac_ext
74328 cat >>conftest.$ac_ext <<_ACEOF
74329 /* end confdefs.h. */
74330 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74331 For example, HP-UX 11i <limits.h> declares gettimeofday. */
74332 #define $ac_func innocuous_$ac_func
74333
74334 /* System header to define __stub macros and hopefully few prototypes,
74335 which can conflict with char $ac_func (); below.
74336 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74337 <limits.h> exists even on freestanding compilers. */
74338
74339 #ifdef __STDC__
74340 # include <limits.h>
74341 #else
74342 # include <assert.h>
74343 #endif
74344
74345 #undef $ac_func
74346
74347 /* Override any gcc2 internal prototype to avoid an error. */
74348 #ifdef __cplusplus
74349 extern "C"
74350 {
74351 #endif
74352 /* We use char because int might match the return type of a gcc2
74353 builtin and then its argument prototype would still apply. */
74354 char $ac_func ();
74355 /* The GNU C library defines this for functions which it implements
74356 to always fail with ENOSYS. Some functions are actually named
74357 something starting with __ and the normal name is an alias. */
74358 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74359 choke me
74360 #else
74361 char (*f) () = $ac_func;
74362 #endif
74363 #ifdef __cplusplus
74364 }
74365 #endif
74366
74367 int
74368 main ()
74369 {
74370 return f != $ac_func;
74371 ;
74372 return 0;
74373 }
74374 _ACEOF
74375 rm -f conftest.$ac_objext conftest$ac_exeext
74376 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74377 (eval $ac_link) 2>conftest.er1
74378 ac_status=$?
74379 grep -v '^ *+' conftest.er1 >conftest.err
74380 rm -f conftest.er1
74381 cat conftest.err >&5
74382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74383 (exit $ac_status); } &&
74384 { ac_try='test -z "$ac_c_werror_flag"
74385 || test ! -s conftest.err'
74386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74387 (eval $ac_try) 2>&5
74388 ac_status=$?
74389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74390 (exit $ac_status); }; } &&
74391 { ac_try='test -s conftest$ac_exeext'
74392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74393 (eval $ac_try) 2>&5
74394 ac_status=$?
74395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74396 (exit $ac_status); }; }; then
74397 eval "$as_ac_var=yes"
74398 else
74399 echo "$as_me: failed program was:" >&5
74400 sed 's/^/| /' conftest.$ac_ext >&5
74401
74402 eval "$as_ac_var=no"
74403 fi
74404 rm -f conftest.err conftest.$ac_objext \
74405 conftest$ac_exeext conftest.$ac_ext
74406 fi
74407 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74408 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74409 if test `eval echo '${'$as_ac_var'}'` = yes; then
74410 cat >>confdefs.h <<_ACEOF
74411 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74412 _ACEOF
74413
74414 else
74415 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
74416 fi
74417 done
74418
74419
74420
74421 for ac_func in __signbit
74422 do
74423 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74424 echo "$as_me:$LINENO: checking for $ac_func" >&5
74425 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74426 if eval "test \"\${$as_ac_var+set}\" = set"; then
74427 echo $ECHO_N "(cached) $ECHO_C" >&6
74428 else
74429 if test x$gcc_no_link = xyes; then
74430 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74431 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74432 { (exit 1); exit 1; }; }
74433 fi
74434 cat >conftest.$ac_ext <<_ACEOF
74435 /* confdefs.h. */
74436 _ACEOF
74437 cat confdefs.h >>conftest.$ac_ext
74438 cat >>conftest.$ac_ext <<_ACEOF
74439 /* end confdefs.h. */
74440 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74441 For example, HP-UX 11i <limits.h> declares gettimeofday. */
74442 #define $ac_func innocuous_$ac_func
74443
74444 /* System header to define __stub macros and hopefully few prototypes,
74445 which can conflict with char $ac_func (); below.
74446 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74447 <limits.h> exists even on freestanding compilers. */
74448
74449 #ifdef __STDC__
74450 # include <limits.h>
74451 #else
74452 # include <assert.h>
74453 #endif
74454
74455 #undef $ac_func
74456
74457 /* Override any gcc2 internal prototype to avoid an error. */
74458 #ifdef __cplusplus
74459 extern "C"
74460 {
74461 #endif
74462 /* We use char because int might match the return type of a gcc2
74463 builtin and then its argument prototype would still apply. */
74464 char $ac_func ();
74465 /* The GNU C library defines this for functions which it implements
74466 to always fail with ENOSYS. Some functions are actually named
74467 something starting with __ and the normal name is an alias. */
74468 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74469 choke me
74470 #else
74471 char (*f) () = $ac_func;
74472 #endif
74473 #ifdef __cplusplus
74474 }
74475 #endif
74476
74477 int
74478 main ()
74479 {
74480 return f != $ac_func;
74481 ;
74482 return 0;
74483 }
74484 _ACEOF
74485 rm -f conftest.$ac_objext conftest$ac_exeext
74486 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74487 (eval $ac_link) 2>conftest.er1
74488 ac_status=$?
74489 grep -v '^ *+' conftest.er1 >conftest.err
74490 rm -f conftest.er1
74491 cat conftest.err >&5
74492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74493 (exit $ac_status); } &&
74494 { ac_try='test -z "$ac_c_werror_flag"
74495 || test ! -s conftest.err'
74496 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74497 (eval $ac_try) 2>&5
74498 ac_status=$?
74499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74500 (exit $ac_status); }; } &&
74501 { ac_try='test -s conftest$ac_exeext'
74502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74503 (eval $ac_try) 2>&5
74504 ac_status=$?
74505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74506 (exit $ac_status); }; }; then
74507 eval "$as_ac_var=yes"
74508 else
74509 echo "$as_me: failed program was:" >&5
74510 sed 's/^/| /' conftest.$ac_ext >&5
74511
74512 eval "$as_ac_var=no"
74513 fi
74514 rm -f conftest.err conftest.$ac_objext \
74515 conftest$ac_exeext conftest.$ac_ext
74516 fi
74517 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74518 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74519 if test `eval echo '${'$as_ac_var'}'` = yes; then
74520 cat >>confdefs.h <<_ACEOF
74521 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74522 _ACEOF
74523
74524 else
74525 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
74526 fi
74527 done
74528
74529
74530
74531 for ac_func in __signbitf
74532 do
74533 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74534 echo "$as_me:$LINENO: checking for $ac_func" >&5
74535 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74536 if eval "test \"\${$as_ac_var+set}\" = set"; then
74537 echo $ECHO_N "(cached) $ECHO_C" >&6
74538 else
74539 if test x$gcc_no_link = xyes; then
74540 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74541 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74542 { (exit 1); exit 1; }; }
74543 fi
74544 cat >conftest.$ac_ext <<_ACEOF
74545 /* confdefs.h. */
74546 _ACEOF
74547 cat confdefs.h >>conftest.$ac_ext
74548 cat >>conftest.$ac_ext <<_ACEOF
74549 /* end confdefs.h. */
74550 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74551 For example, HP-UX 11i <limits.h> declares gettimeofday. */
74552 #define $ac_func innocuous_$ac_func
74553
74554 /* System header to define __stub macros and hopefully few prototypes,
74555 which can conflict with char $ac_func (); below.
74556 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74557 <limits.h> exists even on freestanding compilers. */
74558
74559 #ifdef __STDC__
74560 # include <limits.h>
74561 #else
74562 # include <assert.h>
74563 #endif
74564
74565 #undef $ac_func
74566
74567 /* Override any gcc2 internal prototype to avoid an error. */
74568 #ifdef __cplusplus
74569 extern "C"
74570 {
74571 #endif
74572 /* We use char because int might match the return type of a gcc2
74573 builtin and then its argument prototype would still apply. */
74574 char $ac_func ();
74575 /* The GNU C library defines this for functions which it implements
74576 to always fail with ENOSYS. Some functions are actually named
74577 something starting with __ and the normal name is an alias. */
74578 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74579 choke me
74580 #else
74581 char (*f) () = $ac_func;
74582 #endif
74583 #ifdef __cplusplus
74584 }
74585 #endif
74586
74587 int
74588 main ()
74589 {
74590 return f != $ac_func;
74591 ;
74592 return 0;
74593 }
74594 _ACEOF
74595 rm -f conftest.$ac_objext conftest$ac_exeext
74596 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74597 (eval $ac_link) 2>conftest.er1
74598 ac_status=$?
74599 grep -v '^ *+' conftest.er1 >conftest.err
74600 rm -f conftest.er1
74601 cat conftest.err >&5
74602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74603 (exit $ac_status); } &&
74604 { ac_try='test -z "$ac_c_werror_flag"
74605 || test ! -s conftest.err'
74606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74607 (eval $ac_try) 2>&5
74608 ac_status=$?
74609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74610 (exit $ac_status); }; } &&
74611 { ac_try='test -s conftest$ac_exeext'
74612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74613 (eval $ac_try) 2>&5
74614 ac_status=$?
74615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74616 (exit $ac_status); }; }; then
74617 eval "$as_ac_var=yes"
74618 else
74619 echo "$as_me: failed program was:" >&5
74620 sed 's/^/| /' conftest.$ac_ext >&5
74621
74622 eval "$as_ac_var=no"
74623 fi
74624 rm -f conftest.err conftest.$ac_objext \
74625 conftest$ac_exeext conftest.$ac_ext
74626 fi
74627 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74628 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74629 if test `eval echo '${'$as_ac_var'}'` = yes; then
74630 cat >>confdefs.h <<_ACEOF
74631 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74632 _ACEOF
74633
74634 else
74635 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
74636 fi
74637 done
74638
74639
74640 if test x$ac_cv_func_copysignl = x"yes"; then
74641
74642 for ac_func in __signbitl
74643 do
74644 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74645 echo "$as_me:$LINENO: checking for $ac_func" >&5
74646 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74647 if eval "test \"\${$as_ac_var+set}\" = set"; then
74648 echo $ECHO_N "(cached) $ECHO_C" >&6
74649 else
74650 if test x$gcc_no_link = xyes; then
74651 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74652 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74653 { (exit 1); exit 1; }; }
74654 fi
74655 cat >conftest.$ac_ext <<_ACEOF
74656 /* confdefs.h. */
74657 _ACEOF
74658 cat confdefs.h >>conftest.$ac_ext
74659 cat >>conftest.$ac_ext <<_ACEOF
74660 /* end confdefs.h. */
74661 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74662 For example, HP-UX 11i <limits.h> declares gettimeofday. */
74663 #define $ac_func innocuous_$ac_func
74664
74665 /* System header to define __stub macros and hopefully few prototypes,
74666 which can conflict with char $ac_func (); below.
74667 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74668 <limits.h> exists even on freestanding compilers. */
74669
74670 #ifdef __STDC__
74671 # include <limits.h>
74672 #else
74673 # include <assert.h>
74674 #endif
74675
74676 #undef $ac_func
74677
74678 /* Override any gcc2 internal prototype to avoid an error. */
74679 #ifdef __cplusplus
74680 extern "C"
74681 {
74682 #endif
74683 /* We use char because int might match the return type of a gcc2
74684 builtin and then its argument prototype would still apply. */
74685 char $ac_func ();
74686 /* The GNU C library defines this for functions which it implements
74687 to always fail with ENOSYS. Some functions are actually named
74688 something starting with __ and the normal name is an alias. */
74689 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74690 choke me
74691 #else
74692 char (*f) () = $ac_func;
74693 #endif
74694 #ifdef __cplusplus
74695 }
74696 #endif
74697
74698 int
74699 main ()
74700 {
74701 return f != $ac_func;
74702 ;
74703 return 0;
74704 }
74705 _ACEOF
74706 rm -f conftest.$ac_objext conftest$ac_exeext
74707 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74708 (eval $ac_link) 2>conftest.er1
74709 ac_status=$?
74710 grep -v '^ *+' conftest.er1 >conftest.err
74711 rm -f conftest.er1
74712 cat conftest.err >&5
74713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74714 (exit $ac_status); } &&
74715 { ac_try='test -z "$ac_c_werror_flag"
74716 || test ! -s conftest.err'
74717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74718 (eval $ac_try) 2>&5
74719 ac_status=$?
74720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74721 (exit $ac_status); }; } &&
74722 { ac_try='test -s conftest$ac_exeext'
74723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74724 (eval $ac_try) 2>&5
74725 ac_status=$?
74726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74727 (exit $ac_status); }; }; then
74728 eval "$as_ac_var=yes"
74729 else
74730 echo "$as_me: failed program was:" >&5
74731 sed 's/^/| /' conftest.$ac_ext >&5
74732
74733 eval "$as_ac_var=no"
74734 fi
74735 rm -f conftest.err conftest.$ac_objext \
74736 conftest$ac_exeext conftest.$ac_ext
74737 fi
74738 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74739 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74740 if test `eval echo '${'$as_ac_var'}'` = yes; then
74741 cat >>confdefs.h <<_ACEOF
74742 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74743 _ACEOF
74744
74745 else
74746 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
74747 fi
74748 done
74749
74750 fi
74751
74752 # Used in libmath/Makefile.am.
74753 if test -n "$LIBMATHOBJS"; then
74754 need_libmath=yes
74755 fi
74756
74757
74758
74759
74760 enable_iconv=no
74761 # Only continue checking if the ISO C99 headers exist and support is on.
74762 if test x"$enable_wchar_t" = xyes; then
74763
74764 # Use iconv for wchar_t to char conversions. As such, check for
74765 # X/Open Portability Guide, version 2 features (XPG2).
74766 if test "${ac_cv_header_iconv_h+set}" = set; then
74767 echo "$as_me:$LINENO: checking for iconv.h" >&5
74768 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
74769 if test "${ac_cv_header_iconv_h+set}" = set; then
74770 echo $ECHO_N "(cached) $ECHO_C" >&6
74771 fi
74772 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
74773 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
74774 else
74775 # Is the header compilable?
74776 echo "$as_me:$LINENO: checking iconv.h usability" >&5
74777 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
74778 cat >conftest.$ac_ext <<_ACEOF
74779 /* confdefs.h. */
74780 _ACEOF
74781 cat confdefs.h >>conftest.$ac_ext
74782 cat >>conftest.$ac_ext <<_ACEOF
74783 /* end confdefs.h. */
74784 $ac_includes_default
74785 #include <iconv.h>
74786 _ACEOF
74787 rm -f conftest.$ac_objext
74788 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
74789 (eval $ac_compile) 2>conftest.er1
74790 ac_status=$?
74791 grep -v '^ *+' conftest.er1 >conftest.err
74792 rm -f conftest.er1
74793 cat conftest.err >&5
74794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74795 (exit $ac_status); } &&
74796 { ac_try='test -z "$ac_c_werror_flag"
74797 || test ! -s conftest.err'
74798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74799 (eval $ac_try) 2>&5
74800 ac_status=$?
74801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74802 (exit $ac_status); }; } &&
74803 { ac_try='test -s conftest.$ac_objext'
74804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74805 (eval $ac_try) 2>&5
74806 ac_status=$?
74807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74808 (exit $ac_status); }; }; then
74809 ac_header_compiler=yes
74810 else
74811 echo "$as_me: failed program was:" >&5
74812 sed 's/^/| /' conftest.$ac_ext >&5
74813
74814 ac_header_compiler=no
74815 fi
74816 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
74817 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
74818 echo "${ECHO_T}$ac_header_compiler" >&6
74819
74820 # Is the header present?
74821 echo "$as_me:$LINENO: checking iconv.h presence" >&5
74822 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
74823 cat >conftest.$ac_ext <<_ACEOF
74824 /* confdefs.h. */
74825 _ACEOF
74826 cat confdefs.h >>conftest.$ac_ext
74827 cat >>conftest.$ac_ext <<_ACEOF
74828 /* end confdefs.h. */
74829 #include <iconv.h>
74830 _ACEOF
74831 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
74832 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
74833 ac_status=$?
74834 grep -v '^ *+' conftest.er1 >conftest.err
74835 rm -f conftest.er1
74836 cat conftest.err >&5
74837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74838 (exit $ac_status); } >/dev/null; then
74839 if test -s conftest.err; then
74840 ac_cpp_err=$ac_c_preproc_warn_flag
74841 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
74842 else
74843 ac_cpp_err=
74844 fi
74845 else
74846 ac_cpp_err=yes
74847 fi
74848 if test -z "$ac_cpp_err"; then
74849 ac_header_preproc=yes
74850 else
74851 echo "$as_me: failed program was:" >&5
74852 sed 's/^/| /' conftest.$ac_ext >&5
74853
74854 ac_header_preproc=no
74855 fi
74856 rm -f conftest.err conftest.$ac_ext
74857 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
74858 echo "${ECHO_T}$ac_header_preproc" >&6
74859
74860 # So? What about this header?
74861 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
74862 yes:no: )
74863 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
74864 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
74865 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
74866 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
74867 ac_header_preproc=yes
74868 ;;
74869 no:yes:* )
74870 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
74871 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
74872 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
74873 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
74874 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
74875 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
74876 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
74877 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
74878 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
74879 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
74880 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
74881 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
74882 (
74883 cat <<\_ASBOX
74884 ## ----------------------------------------- ##
74885 ## Report this to the package-unused lists. ##
74886 ## ----------------------------------------- ##
74887 _ASBOX
74888 ) |
74889 sed "s/^/$as_me: WARNING: /" >&2
74890 ;;
74891 esac
74892 echo "$as_me:$LINENO: checking for iconv.h" >&5
74893 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
74894 if test "${ac_cv_header_iconv_h+set}" = set; then
74895 echo $ECHO_N "(cached) $ECHO_C" >&6
74896 else
74897 ac_cv_header_iconv_h=$ac_header_preproc
74898 fi
74899 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
74900 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
74901
74902 fi
74903 if test $ac_cv_header_iconv_h = yes; then
74904 ac_has_iconv_h=yes
74905 else
74906 ac_has_iconv_h=no
74907 fi
74908
74909
74910 if test "${ac_cv_header_langinfo_h+set}" = set; then
74911 echo "$as_me:$LINENO: checking for langinfo.h" >&5
74912 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
74913 if test "${ac_cv_header_langinfo_h+set}" = set; then
74914 echo $ECHO_N "(cached) $ECHO_C" >&6
74915 fi
74916 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
74917 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
74918 else
74919 # Is the header compilable?
74920 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
74921 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
74922 cat >conftest.$ac_ext <<_ACEOF
74923 /* confdefs.h. */
74924 _ACEOF
74925 cat confdefs.h >>conftest.$ac_ext
74926 cat >>conftest.$ac_ext <<_ACEOF
74927 /* end confdefs.h. */
74928 $ac_includes_default
74929 #include <langinfo.h>
74930 _ACEOF
74931 rm -f conftest.$ac_objext
74932 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
74933 (eval $ac_compile) 2>conftest.er1
74934 ac_status=$?
74935 grep -v '^ *+' conftest.er1 >conftest.err
74936 rm -f conftest.er1
74937 cat conftest.err >&5
74938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74939 (exit $ac_status); } &&
74940 { ac_try='test -z "$ac_c_werror_flag"
74941 || test ! -s conftest.err'
74942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74943 (eval $ac_try) 2>&5
74944 ac_status=$?
74945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74946 (exit $ac_status); }; } &&
74947 { ac_try='test -s conftest.$ac_objext'
74948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74949 (eval $ac_try) 2>&5
74950 ac_status=$?
74951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74952 (exit $ac_status); }; }; then
74953 ac_header_compiler=yes
74954 else
74955 echo "$as_me: failed program was:" >&5
74956 sed 's/^/| /' conftest.$ac_ext >&5
74957
74958 ac_header_compiler=no
74959 fi
74960 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
74961 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
74962 echo "${ECHO_T}$ac_header_compiler" >&6
74963
74964 # Is the header present?
74965 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
74966 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
74967 cat >conftest.$ac_ext <<_ACEOF
74968 /* confdefs.h. */
74969 _ACEOF
74970 cat confdefs.h >>conftest.$ac_ext
74971 cat >>conftest.$ac_ext <<_ACEOF
74972 /* end confdefs.h. */
74973 #include <langinfo.h>
74974 _ACEOF
74975 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
74976 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
74977 ac_status=$?
74978 grep -v '^ *+' conftest.er1 >conftest.err
74979 rm -f conftest.er1
74980 cat conftest.err >&5
74981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74982 (exit $ac_status); } >/dev/null; then
74983 if test -s conftest.err; then
74984 ac_cpp_err=$ac_c_preproc_warn_flag
74985 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
74986 else
74987 ac_cpp_err=
74988 fi
74989 else
74990 ac_cpp_err=yes
74991 fi
74992 if test -z "$ac_cpp_err"; then
74993 ac_header_preproc=yes
74994 else
74995 echo "$as_me: failed program was:" >&5
74996 sed 's/^/| /' conftest.$ac_ext >&5
74997
74998 ac_header_preproc=no
74999 fi
75000 rm -f conftest.err conftest.$ac_ext
75001 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
75002 echo "${ECHO_T}$ac_header_preproc" >&6
75003
75004 # So? What about this header?
75005 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
75006 yes:no: )
75007 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
75008 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
75009 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
75010 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
75011 ac_header_preproc=yes
75012 ;;
75013 no:yes:* )
75014 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
75015 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
75016 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
75017 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
75018 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
75019 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
75020 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
75021 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
75022 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
75023 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
75024 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
75025 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
75026 (
75027 cat <<\_ASBOX
75028 ## ----------------------------------------- ##
75029 ## Report this to the package-unused lists. ##
75030 ## ----------------------------------------- ##
75031 _ASBOX
75032 ) |
75033 sed "s/^/$as_me: WARNING: /" >&2
75034 ;;
75035 esac
75036 echo "$as_me:$LINENO: checking for langinfo.h" >&5
75037 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
75038 if test "${ac_cv_header_langinfo_h+set}" = set; then
75039 echo $ECHO_N "(cached) $ECHO_C" >&6
75040 else
75041 ac_cv_header_langinfo_h=$ac_header_preproc
75042 fi
75043 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
75044 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
75045
75046 fi
75047 if test $ac_cv_header_langinfo_h = yes; then
75048 ac_has_langinfo_h=yes
75049 else
75050 ac_has_langinfo_h=no
75051 fi
75052
75053
75054
75055 # Check for existence of libiconv.a providing XPG2 wchar_t support.
75056 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
75057 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
75058 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
75059 echo $ECHO_N "(cached) $ECHO_C" >&6
75060 else
75061 ac_check_lib_save_LIBS=$LIBS
75062 LIBS="-liconv $LIBS"
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
75075 /* Override any gcc2 internal prototype to avoid an error. */
75076 #ifdef __cplusplus
75077 extern "C"
75078 #endif
75079 /* We use char because int might match the return type of a gcc2
75080 builtin and then its argument prototype would still apply. */
75081 char iconv ();
75082 int
75083 main ()
75084 {
75085 iconv ();
75086 ;
75087 return 0;
75088 }
75089 _ACEOF
75090 rm -f conftest.$ac_objext conftest$ac_exeext
75091 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75092 (eval $ac_link) 2>conftest.er1
75093 ac_status=$?
75094 grep -v '^ *+' conftest.er1 >conftest.err
75095 rm -f conftest.er1
75096 cat conftest.err >&5
75097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75098 (exit $ac_status); } &&
75099 { ac_try='test -z "$ac_c_werror_flag"
75100 || test ! -s conftest.err'
75101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75102 (eval $ac_try) 2>&5
75103 ac_status=$?
75104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75105 (exit $ac_status); }; } &&
75106 { ac_try='test -s conftest$ac_exeext'
75107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75108 (eval $ac_try) 2>&5
75109 ac_status=$?
75110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75111 (exit $ac_status); }; }; then
75112 ac_cv_lib_iconv_iconv=yes
75113 else
75114 echo "$as_me: failed program was:" >&5
75115 sed 's/^/| /' conftest.$ac_ext >&5
75116
75117 ac_cv_lib_iconv_iconv=no
75118 fi
75119 rm -f conftest.err conftest.$ac_objext \
75120 conftest$ac_exeext conftest.$ac_ext
75121 LIBS=$ac_check_lib_save_LIBS
75122 fi
75123 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
75124 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
75125 if test $ac_cv_lib_iconv_iconv = yes; then
75126 LIBICONV="-liconv"
75127 fi
75128
75129 ac_save_LIBS="$LIBS"
75130 LIBS="$LIBS $LIBICONV"
75131
75132
75133
75134
75135
75136
75137 for ac_func in iconv_open iconv_close iconv nl_langinfo
75138 do
75139 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
75140 echo "$as_me:$LINENO: checking for $ac_func" >&5
75141 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
75142 if eval "test \"\${$as_ac_var+set}\" = set"; then
75143 echo $ECHO_N "(cached) $ECHO_C" >&6
75144 else
75145 if test x$gcc_no_link = xyes; then
75146 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75147 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75148 { (exit 1); exit 1; }; }
75149 fi
75150 cat >conftest.$ac_ext <<_ACEOF
75151 /* confdefs.h. */
75152 _ACEOF
75153 cat confdefs.h >>conftest.$ac_ext
75154 cat >>conftest.$ac_ext <<_ACEOF
75155 /* end confdefs.h. */
75156 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
75157 For example, HP-UX 11i <limits.h> declares gettimeofday. */
75158 #define $ac_func innocuous_$ac_func
75159
75160 /* System header to define __stub macros and hopefully few prototypes,
75161 which can conflict with char $ac_func (); below.
75162 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
75163 <limits.h> exists even on freestanding compilers. */
75164
75165 #ifdef __STDC__
75166 # include <limits.h>
75167 #else
75168 # include <assert.h>
75169 #endif
75170
75171 #undef $ac_func
75172
75173 /* Override any gcc2 internal prototype to avoid an error. */
75174 #ifdef __cplusplus
75175 extern "C"
75176 {
75177 #endif
75178 /* We use char because int might match the return type of a gcc2
75179 builtin and then its argument prototype would still apply. */
75180 char $ac_func ();
75181 /* The GNU C library defines this for functions which it implements
75182 to always fail with ENOSYS. Some functions are actually named
75183 something starting with __ and the normal name is an alias. */
75184 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
75185 choke me
75186 #else
75187 char (*f) () = $ac_func;
75188 #endif
75189 #ifdef __cplusplus
75190 }
75191 #endif
75192
75193 int
75194 main ()
75195 {
75196 return f != $ac_func;
75197 ;
75198 return 0;
75199 }
75200 _ACEOF
75201 rm -f conftest.$ac_objext conftest$ac_exeext
75202 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75203 (eval $ac_link) 2>conftest.er1
75204 ac_status=$?
75205 grep -v '^ *+' conftest.er1 >conftest.err
75206 rm -f conftest.er1
75207 cat conftest.err >&5
75208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75209 (exit $ac_status); } &&
75210 { ac_try='test -z "$ac_c_werror_flag"
75211 || test ! -s conftest.err'
75212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75213 (eval $ac_try) 2>&5
75214 ac_status=$?
75215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75216 (exit $ac_status); }; } &&
75217 { ac_try='test -s conftest$ac_exeext'
75218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75219 (eval $ac_try) 2>&5
75220 ac_status=$?
75221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75222 (exit $ac_status); }; }; then
75223 eval "$as_ac_var=yes"
75224 else
75225 echo "$as_me: failed program was:" >&5
75226 sed 's/^/| /' conftest.$ac_ext >&5
75227
75228 eval "$as_ac_var=no"
75229 fi
75230 rm -f conftest.err conftest.$ac_objext \
75231 conftest$ac_exeext conftest.$ac_ext
75232 fi
75233 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
75234 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
75235 if test `eval echo '${'$as_ac_var'}'` = yes; then
75236 cat >>confdefs.h <<_ACEOF
75237 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
75238 _ACEOF
75239 ac_XPG2funcs=yes
75240 else
75241 ac_XPG2funcs=no
75242 fi
75243 done
75244
75245
75246 LIBS="$ac_save_LIBS"
75247
75248 if test x"$ac_has_iconv_h" = xyes &&
75249 test x"$ac_has_langinfo_h" = xyes &&
75250 test x"$ac_XPG2funcs" = xyes;
75251 then
75252
75253 cat >>confdefs.h <<\_ACEOF
75254 #define _GLIBCXX_USE_ICONV 1
75255 _ACEOF
75256
75257 enable_iconv=yes
75258 fi
75259 fi
75260 echo "$as_me:$LINENO: checking for enabled iconv specializations" >&5
75261 echo $ECHO_N "checking for enabled iconv specializations... $ECHO_C" >&6
75262 echo "$as_me:$LINENO: result: $enable_iconv" >&5
75263 echo "${ECHO_T}$enable_iconv" >&6
75264
75265 cat >>confdefs.h <<\_ACEOF
75266 #define HAVE_LC_MESSAGES 1
75267 _ACEOF
75268
75269 cat >>confdefs.h <<\_ACEOF
75270 #define HAVE_GETPAGESIZE 1
75271 _ACEOF
75272
75273 cat >>confdefs.h <<\_ACEOF
75274 #define HAVE_SETENV 1
75275 _ACEOF
75276
75277 cat >>confdefs.h <<\_ACEOF
75278 #define HAVE_SIGSETJMP 1
75279 _ACEOF
75280
75281 cat >>confdefs.h <<\_ACEOF
75282 #define HAVE_COPYSIGN 1
75283 _ACEOF
75284
75285 cat >>confdefs.h <<\_ACEOF
75286 #define HAVE_COPYSIGNF 1
75287 _ACEOF
75288
75289 cat >>confdefs.h <<\_ACEOF
75290 #define HAVE_FINITEF 1
75291 _ACEOF
75292
75293 cat >>confdefs.h <<\_ACEOF
75294 #define HAVE_FINITE 1
75295 _ACEOF
75296
75297 cat >>confdefs.h <<\_ACEOF
75298 #define HAVE_FREXPF 1
75299 _ACEOF
75300
75301 cat >>confdefs.h <<\_ACEOF
75302 #define HAVE_HYPOT 1
75303 _ACEOF
75304
75305 cat >>confdefs.h <<\_ACEOF
75306 #define HAVE_HYPOTF 1
75307 _ACEOF
75308
75309 cat >>confdefs.h <<\_ACEOF
75310 #define HAVE_ISINF 1
75311 _ACEOF
75312
75313 cat >>confdefs.h <<\_ACEOF
75314 #define HAVE_ISNAN 1
75315 _ACEOF
75316
75317 cat >>confdefs.h <<\_ACEOF
75318 #define HAVE_ISNANF 1
75319 _ACEOF
75320
75321
75322 cat >>confdefs.h <<\_ACEOF
75323 #define HAVE_MMAP 1
75324 _ACEOF
75325
75326 cat >>confdefs.h <<\_ACEOF
75327 #define HAVE_ACOSF 1
75328 _ACEOF
75329
75330 cat >>confdefs.h <<\_ACEOF
75331 #define HAVE_ASINF 1
75332 _ACEOF
75333
75334 cat >>confdefs.h <<\_ACEOF
75335 #define HAVE_ATAN2F 1
75336 _ACEOF
75337
75338 cat >>confdefs.h <<\_ACEOF
75339 #define HAVE_ATANF 1
75340 _ACEOF
75341
75342 cat >>confdefs.h <<\_ACEOF
75343 #define HAVE_CEILF 1
75344 _ACEOF
75345
75346 cat >>confdefs.h <<\_ACEOF
75347 #define HAVE_COPYSIGN 1
75348 _ACEOF
75349
75350 cat >>confdefs.h <<\_ACEOF
75351 #define HAVE_COPYSIGNF 1
75352 _ACEOF
75353
75354 cat >>confdefs.h <<\_ACEOF
75355 #define HAVE_COSF 1
75356 _ACEOF
75357
75358 cat >>confdefs.h <<\_ACEOF
75359 #define HAVE_COSHF 1
75360 _ACEOF
75361
75362 cat >>confdefs.h <<\_ACEOF
75363 #define HAVE_EXPF 1
75364 _ACEOF
75365
75366 cat >>confdefs.h <<\_ACEOF
75367 #define HAVE_FABSF 1
75368 _ACEOF
75369
75370 cat >>confdefs.h <<\_ACEOF
75371 #define HAVE_FLOORF 1
75372 _ACEOF
75373
75374 cat >>confdefs.h <<\_ACEOF
75375 #define HAVE_FMODF 1
75376 _ACEOF
75377
75378 cat >>confdefs.h <<\_ACEOF
75379 #define HAVE_FREXPF 1
75380 _ACEOF
75381
75382 cat >>confdefs.h <<\_ACEOF
75383 #define HAVE_LDEXPF 1
75384 _ACEOF
75385
75386 cat >>confdefs.h <<\_ACEOF
75387 #define HAVE_LOG10F 1
75388 _ACEOF
75389
75390 cat >>confdefs.h <<\_ACEOF
75391 #define HAVE_LOGF 1
75392 _ACEOF
75393
75394 cat >>confdefs.h <<\_ACEOF
75395 #define HAVE_MODFF 1
75396 _ACEOF
75397
75398 cat >>confdefs.h <<\_ACEOF
75399 #define HAVE_POWF 1
75400 _ACEOF
75401
75402 cat >>confdefs.h <<\_ACEOF
75403 #define HAVE_SINF 1
75404 _ACEOF
75405
75406 cat >>confdefs.h <<\_ACEOF
75407 #define HAVE_SINHF 1
75408 _ACEOF
75409
75410 cat >>confdefs.h <<\_ACEOF
75411 #define HAVE_SQRTF 1
75412 _ACEOF
75413
75414 cat >>confdefs.h <<\_ACEOF
75415 #define HAVE_TANF 1
75416 _ACEOF
75417
75418 cat >>confdefs.h <<\_ACEOF
75419 #define HAVE_TANHF 1
75420 _ACEOF
75421
75422 if test x"long_double_math_on_this_cpu" = x"yes"; then
75423 cat >>confdefs.h <<\_ACEOF
75424 #define HAVE_FINITEL 1
75425 _ACEOF
75426
75427 cat >>confdefs.h <<\_ACEOF
75428 #define HAVE_ISINFL 1
75429 _ACEOF
75430
75431 cat >>confdefs.h <<\_ACEOF
75432 #define HAVE_ISNANL 1
75433 _ACEOF
75434
75435 fi
75436 ;;
75437 *-hpux*)
75438
75439
75440
75441
75442
75443
75444
75445
75446
75447
75448
75449
75450 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
75451 machine/endian.h machine/param.h sys/machine.h sys/types.h \
75452 fp.h locale.h float.h inttypes.h
75453 do
75454 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
75455 if eval "test \"\${$as_ac_Header+set}\" = set"; then
75456 echo "$as_me:$LINENO: checking for $ac_header" >&5
75457 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
75458 if eval "test \"\${$as_ac_Header+set}\" = set"; then
75459 echo $ECHO_N "(cached) $ECHO_C" >&6
75460 fi
75461 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
75462 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
75463 else
75464 # Is the header compilable?
75465 echo "$as_me:$LINENO: checking $ac_header usability" >&5
75466 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
75467 cat >conftest.$ac_ext <<_ACEOF
75468 /* confdefs.h. */
75469 _ACEOF
75470 cat confdefs.h >>conftest.$ac_ext
75471 cat >>conftest.$ac_ext <<_ACEOF
75472 /* end confdefs.h. */
75473 $ac_includes_default
75474 #include <$ac_header>
75475 _ACEOF
75476 rm -f conftest.$ac_objext
75477 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
75478 (eval $ac_compile) 2>conftest.er1
75479 ac_status=$?
75480 grep -v '^ *+' conftest.er1 >conftest.err
75481 rm -f conftest.er1
75482 cat conftest.err >&5
75483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75484 (exit $ac_status); } &&
75485 { ac_try='test -z "$ac_c_werror_flag"
75486 || test ! -s conftest.err'
75487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75488 (eval $ac_try) 2>&5
75489 ac_status=$?
75490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75491 (exit $ac_status); }; } &&
75492 { ac_try='test -s conftest.$ac_objext'
75493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75494 (eval $ac_try) 2>&5
75495 ac_status=$?
75496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75497 (exit $ac_status); }; }; then
75498 ac_header_compiler=yes
75499 else
75500 echo "$as_me: failed program was:" >&5
75501 sed 's/^/| /' conftest.$ac_ext >&5
75502
75503 ac_header_compiler=no
75504 fi
75505 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
75506 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
75507 echo "${ECHO_T}$ac_header_compiler" >&6
75508
75509 # Is the header present?
75510 echo "$as_me:$LINENO: checking $ac_header presence" >&5
75511 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
75512 cat >conftest.$ac_ext <<_ACEOF
75513 /* confdefs.h. */
75514 _ACEOF
75515 cat confdefs.h >>conftest.$ac_ext
75516 cat >>conftest.$ac_ext <<_ACEOF
75517 /* end confdefs.h. */
75518 #include <$ac_header>
75519 _ACEOF
75520 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
75521 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
75522 ac_status=$?
75523 grep -v '^ *+' conftest.er1 >conftest.err
75524 rm -f conftest.er1
75525 cat conftest.err >&5
75526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75527 (exit $ac_status); } >/dev/null; then
75528 if test -s conftest.err; then
75529 ac_cpp_err=$ac_c_preproc_warn_flag
75530 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
75531 else
75532 ac_cpp_err=
75533 fi
75534 else
75535 ac_cpp_err=yes
75536 fi
75537 if test -z "$ac_cpp_err"; then
75538 ac_header_preproc=yes
75539 else
75540 echo "$as_me: failed program was:" >&5
75541 sed 's/^/| /' conftest.$ac_ext >&5
75542
75543 ac_header_preproc=no
75544 fi
75545 rm -f conftest.err conftest.$ac_ext
75546 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
75547 echo "${ECHO_T}$ac_header_preproc" >&6
75548
75549 # So? What about this header?
75550 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
75551 yes:no: )
75552 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
75553 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
75554 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
75555 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
75556 ac_header_preproc=yes
75557 ;;
75558 no:yes:* )
75559 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
75560 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
75561 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
75562 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
75563 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
75564 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
75565 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
75566 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
75567 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
75568 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
75569 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
75570 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
75571 (
75572 cat <<\_ASBOX
75573 ## ----------------------------------------- ##
75574 ## Report this to the package-unused lists. ##
75575 ## ----------------------------------------- ##
75576 _ASBOX
75577 ) |
75578 sed "s/^/$as_me: WARNING: /" >&2
75579 ;;
75580 esac
75581 echo "$as_me:$LINENO: checking for $ac_header" >&5
75582 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
75583 if eval "test \"\${$as_ac_Header+set}\" = set"; then
75584 echo $ECHO_N "(cached) $ECHO_C" >&6
75585 else
75586 eval "$as_ac_Header=\$ac_header_preproc"
75587 fi
75588 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
75589 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
75590
75591 fi
75592 if test `eval echo '${'$as_ac_Header'}'` = yes; then
75593 cat >>confdefs.h <<_ACEOF
75594 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
75595 _ACEOF
75596
75597 fi
75598
75599 done
75600
75601 SECTION_FLAGS='-ffunction-sections -fdata-sections'
75602
75603
75604 # If we're not using GNU ld, then there's no point in even trying these
75605 # tests. Check for that first. We should have already tested for gld
75606 # by now (in libtool), but require it now just to be safe...
75607 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
75608 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
75609
75610
75611
75612 # The name set by libtool depends on the version of libtool. Shame on us
75613 # for depending on an impl detail, but c'est la vie. Older versions used
75614 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
75615 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
75616 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
75617 # set (hence we're using an older libtool), then set it.
75618 if test x${with_gnu_ld+set} != xset; then
75619 if test x${ac_cv_prog_gnu_ld+set} != xset; then
75620 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
75621 with_gnu_ld=no
75622 else
75623 with_gnu_ld=$ac_cv_prog_gnu_ld
75624 fi
75625 fi
75626
75627 # Start by getting the version number. I think the libtool test already
75628 # does some of this, but throws away the result.
75629
75630 ldver=`$LD --version 2>/dev/null | head -1 | \
75631 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
75632
75633 glibcxx_gnu_ld_version=`echo $ldver | \
75634 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
75635
75636 # Set --gc-sections.
75637 if test "$with_gnu_ld" = "notbroken"; then
75638 # GNU ld it is! Joy and bunny rabbits!
75639
75640 # All these tests are for C++; save the language and the compiler flags.
75641 # Need to do this so that g++ won't try to link in libstdc++
75642 ac_test_CFLAGS="${CFLAGS+set}"
75643 ac_save_CFLAGS="$CFLAGS"
75644 CFLAGS='-x c++ -Wl,--gc-sections'
75645
75646 # Check for -Wl,--gc-sections
75647 # XXX This test is broken at the moment, as symbols required for linking
75648 # are now in libsupc++ (not built yet). In addition, this test has
75649 # cored on solaris in the past. In addition, --gc-sections doesn't
75650 # really work at the moment (keeps on discarding used sections, first
75651 # .eh_frame and now some of the glibc sections for iconv).
75652 # Bzzzzt. Thanks for playing, maybe next time.
75653 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
75654 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
75655 if test "$cross_compiling" = yes; then
75656 ac_sectionLDflags=yes
75657 else
75658 cat >conftest.$ac_ext <<_ACEOF
75659 /* confdefs.h. */
75660 _ACEOF
75661 cat confdefs.h >>conftest.$ac_ext
75662 cat >>conftest.$ac_ext <<_ACEOF
75663 /* end confdefs.h. */
75664
75665 int main(void)
75666 {
75667 try { throw 1; }
75668 catch (...) { };
75669 return 0;
75670 }
75671
75672 _ACEOF
75673 rm -f conftest$ac_exeext
75674 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75675 (eval $ac_link) 2>&5
75676 ac_status=$?
75677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75678 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
75679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75680 (eval $ac_try) 2>&5
75681 ac_status=$?
75682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75683 (exit $ac_status); }; }; then
75684 ac_sectionLDflags=yes
75685 else
75686 echo "$as_me: program exited with status $ac_status" >&5
75687 echo "$as_me: failed program was:" >&5
75688 sed 's/^/| /' conftest.$ac_ext >&5
75689
75690 ( exit $ac_status )
75691 ac_sectionLDflags=no
75692 fi
75693 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
75694 fi
75695 if test "$ac_test_CFLAGS" = set; then
75696 CFLAGS="$ac_save_CFLAGS"
75697 else
75698 # this is the suspicious part
75699 CFLAGS=''
75700 fi
75701 if test "$ac_sectionLDflags" = "yes"; then
75702 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
75703 fi
75704 echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
75705 echo "${ECHO_T}$ac_sectionLDflags" >&6
75706 fi
75707
75708 # Set linker optimization flags.
75709 if test x"$with_gnu_ld" = x"yes"; then
75710 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
75711 fi
75712
75713
75714
75715
75716
75717
75718 echo "$as_me:$LINENO: checking for main in -lm" >&5
75719 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
75720 if test "${ac_cv_lib_m_main+set}" = set; then
75721 echo $ECHO_N "(cached) $ECHO_C" >&6
75722 else
75723 ac_check_lib_save_LIBS=$LIBS
75724 LIBS="-lm $LIBS"
75725 if test x$gcc_no_link = xyes; then
75726 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75727 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75728 { (exit 1); exit 1; }; }
75729 fi
75730 cat >conftest.$ac_ext <<_ACEOF
75731 /* confdefs.h. */
75732 _ACEOF
75733 cat confdefs.h >>conftest.$ac_ext
75734 cat >>conftest.$ac_ext <<_ACEOF
75735 /* end confdefs.h. */
75736
75737
75738 int
75739 main ()
75740 {
75741 main ();
75742 ;
75743 return 0;
75744 }
75745 _ACEOF
75746 rm -f conftest.$ac_objext conftest$ac_exeext
75747 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75748 (eval $ac_link) 2>conftest.er1
75749 ac_status=$?
75750 grep -v '^ *+' conftest.er1 >conftest.err
75751 rm -f conftest.er1
75752 cat conftest.err >&5
75753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75754 (exit $ac_status); } &&
75755 { ac_try='test -z "$ac_c_werror_flag"
75756 || test ! -s conftest.err'
75757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75758 (eval $ac_try) 2>&5
75759 ac_status=$?
75760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75761 (exit $ac_status); }; } &&
75762 { ac_try='test -s conftest$ac_exeext'
75763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75764 (eval $ac_try) 2>&5
75765 ac_status=$?
75766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75767 (exit $ac_status); }; }; then
75768 ac_cv_lib_m_main=yes
75769 else
75770 echo "$as_me: failed program was:" >&5
75771 sed 's/^/| /' conftest.$ac_ext >&5
75772
75773 ac_cv_lib_m_main=no
75774 fi
75775 rm -f conftest.err conftest.$ac_objext \
75776 conftest$ac_exeext conftest.$ac_ext
75777 LIBS=$ac_check_lib_save_LIBS
75778 fi
75779 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
75780 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
75781 if test $ac_cv_lib_m_main = yes; then
75782 cat >>confdefs.h <<_ACEOF
75783 #define HAVE_LIBM 1
75784 _ACEOF
75785
75786 LIBS="-lm $LIBS"
75787
75788 fi
75789
75790
75791 for ac_func in copysignf
75792 do
75793 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
75794 echo "$as_me:$LINENO: checking for $ac_func" >&5
75795 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
75796 if eval "test \"\${$as_ac_var+set}\" = set"; then
75797 echo $ECHO_N "(cached) $ECHO_C" >&6
75798 else
75799 if test x$gcc_no_link = xyes; then
75800 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75801 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75802 { (exit 1); exit 1; }; }
75803 fi
75804 cat >conftest.$ac_ext <<_ACEOF
75805 /* confdefs.h. */
75806 _ACEOF
75807 cat confdefs.h >>conftest.$ac_ext
75808 cat >>conftest.$ac_ext <<_ACEOF
75809 /* end confdefs.h. */
75810 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
75811 For example, HP-UX 11i <limits.h> declares gettimeofday. */
75812 #define $ac_func innocuous_$ac_func
75813
75814 /* System header to define __stub macros and hopefully few prototypes,
75815 which can conflict with char $ac_func (); below.
75816 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
75817 <limits.h> exists even on freestanding compilers. */
75818
75819 #ifdef __STDC__
75820 # include <limits.h>
75821 #else
75822 # include <assert.h>
75823 #endif
75824
75825 #undef $ac_func
75826
75827 /* Override any gcc2 internal prototype to avoid an error. */
75828 #ifdef __cplusplus
75829 extern "C"
75830 {
75831 #endif
75832 /* We use char because int might match the return type of a gcc2
75833 builtin and then its argument prototype would still apply. */
75834 char $ac_func ();
75835 /* The GNU C library defines this for functions which it implements
75836 to always fail with ENOSYS. Some functions are actually named
75837 something starting with __ and the normal name is an alias. */
75838 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
75839 choke me
75840 #else
75841 char (*f) () = $ac_func;
75842 #endif
75843 #ifdef __cplusplus
75844 }
75845 #endif
75846
75847 int
75848 main ()
75849 {
75850 return f != $ac_func;
75851 ;
75852 return 0;
75853 }
75854 _ACEOF
75855 rm -f conftest.$ac_objext conftest$ac_exeext
75856 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75857 (eval $ac_link) 2>conftest.er1
75858 ac_status=$?
75859 grep -v '^ *+' conftest.er1 >conftest.err
75860 rm -f conftest.er1
75861 cat conftest.err >&5
75862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75863 (exit $ac_status); } &&
75864 { ac_try='test -z "$ac_c_werror_flag"
75865 || test ! -s conftest.err'
75866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75867 (eval $ac_try) 2>&5
75868 ac_status=$?
75869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75870 (exit $ac_status); }; } &&
75871 { ac_try='test -s conftest$ac_exeext'
75872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75873 (eval $ac_try) 2>&5
75874 ac_status=$?
75875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75876 (exit $ac_status); }; }; then
75877 eval "$as_ac_var=yes"
75878 else
75879 echo "$as_me: failed program was:" >&5
75880 sed 's/^/| /' conftest.$ac_ext >&5
75881
75882 eval "$as_ac_var=no"
75883 fi
75884 rm -f conftest.err conftest.$ac_objext \
75885 conftest$ac_exeext conftest.$ac_ext
75886 fi
75887 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
75888 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
75889 if test `eval echo '${'$as_ac_var'}'` = yes; then
75890 cat >>confdefs.h <<_ACEOF
75891 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
75892 _ACEOF
75893
75894 else
75895 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
75896 fi
75897 done
75898
75899
75900
75901 for ac_func in __signbit
75902 do
75903 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
75904 echo "$as_me:$LINENO: checking for $ac_func" >&5
75905 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
75906 if eval "test \"\${$as_ac_var+set}\" = set"; then
75907 echo $ECHO_N "(cached) $ECHO_C" >&6
75908 else
75909 if test x$gcc_no_link = xyes; then
75910 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75911 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75912 { (exit 1); exit 1; }; }
75913 fi
75914 cat >conftest.$ac_ext <<_ACEOF
75915 /* confdefs.h. */
75916 _ACEOF
75917 cat confdefs.h >>conftest.$ac_ext
75918 cat >>conftest.$ac_ext <<_ACEOF
75919 /* end confdefs.h. */
75920 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
75921 For example, HP-UX 11i <limits.h> declares gettimeofday. */
75922 #define $ac_func innocuous_$ac_func
75923
75924 /* System header to define __stub macros and hopefully few prototypes,
75925 which can conflict with char $ac_func (); below.
75926 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
75927 <limits.h> exists even on freestanding compilers. */
75928
75929 #ifdef __STDC__
75930 # include <limits.h>
75931 #else
75932 # include <assert.h>
75933 #endif
75934
75935 #undef $ac_func
75936
75937 /* Override any gcc2 internal prototype to avoid an error. */
75938 #ifdef __cplusplus
75939 extern "C"
75940 {
75941 #endif
75942 /* We use char because int might match the return type of a gcc2
75943 builtin and then its argument prototype would still apply. */
75944 char $ac_func ();
75945 /* The GNU C library defines this for functions which it implements
75946 to always fail with ENOSYS. Some functions are actually named
75947 something starting with __ and the normal name is an alias. */
75948 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
75949 choke me
75950 #else
75951 char (*f) () = $ac_func;
75952 #endif
75953 #ifdef __cplusplus
75954 }
75955 #endif
75956
75957 int
75958 main ()
75959 {
75960 return f != $ac_func;
75961 ;
75962 return 0;
75963 }
75964 _ACEOF
75965 rm -f conftest.$ac_objext conftest$ac_exeext
75966 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75967 (eval $ac_link) 2>conftest.er1
75968 ac_status=$?
75969 grep -v '^ *+' conftest.er1 >conftest.err
75970 rm -f conftest.er1
75971 cat conftest.err >&5
75972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75973 (exit $ac_status); } &&
75974 { ac_try='test -z "$ac_c_werror_flag"
75975 || test ! -s conftest.err'
75976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75977 (eval $ac_try) 2>&5
75978 ac_status=$?
75979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75980 (exit $ac_status); }; } &&
75981 { ac_try='test -s conftest$ac_exeext'
75982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75983 (eval $ac_try) 2>&5
75984 ac_status=$?
75985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75986 (exit $ac_status); }; }; then
75987 eval "$as_ac_var=yes"
75988 else
75989 echo "$as_me: failed program was:" >&5
75990 sed 's/^/| /' conftest.$ac_ext >&5
75991
75992 eval "$as_ac_var=no"
75993 fi
75994 rm -f conftest.err conftest.$ac_objext \
75995 conftest$ac_exeext conftest.$ac_ext
75996 fi
75997 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
75998 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
75999 if test `eval echo '${'$as_ac_var'}'` = yes; then
76000 cat >>confdefs.h <<_ACEOF
76001 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
76002 _ACEOF
76003
76004 else
76005 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
76006 fi
76007 done
76008
76009
76010
76011 for ac_func in __signbitf
76012 do
76013 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
76014 echo "$as_me:$LINENO: checking for $ac_func" >&5
76015 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
76016 if eval "test \"\${$as_ac_var+set}\" = set"; then
76017 echo $ECHO_N "(cached) $ECHO_C" >&6
76018 else
76019 if test x$gcc_no_link = xyes; then
76020 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76021 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76022 { (exit 1); exit 1; }; }
76023 fi
76024 cat >conftest.$ac_ext <<_ACEOF
76025 /* confdefs.h. */
76026 _ACEOF
76027 cat confdefs.h >>conftest.$ac_ext
76028 cat >>conftest.$ac_ext <<_ACEOF
76029 /* end confdefs.h. */
76030 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
76031 For example, HP-UX 11i <limits.h> declares gettimeofday. */
76032 #define $ac_func innocuous_$ac_func
76033
76034 /* System header to define __stub macros and hopefully few prototypes,
76035 which can conflict with char $ac_func (); below.
76036 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
76037 <limits.h> exists even on freestanding compilers. */
76038
76039 #ifdef __STDC__
76040 # include <limits.h>
76041 #else
76042 # include <assert.h>
76043 #endif
76044
76045 #undef $ac_func
76046
76047 /* Override any gcc2 internal prototype to avoid an error. */
76048 #ifdef __cplusplus
76049 extern "C"
76050 {
76051 #endif
76052 /* We use char because int might match the return type of a gcc2
76053 builtin and then its argument prototype would still apply. */
76054 char $ac_func ();
76055 /* The GNU C library defines this for functions which it implements
76056 to always fail with ENOSYS. Some functions are actually named
76057 something starting with __ and the normal name is an alias. */
76058 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
76059 choke me
76060 #else
76061 char (*f) () = $ac_func;
76062 #endif
76063 #ifdef __cplusplus
76064 }
76065 #endif
76066
76067 int
76068 main ()
76069 {
76070 return f != $ac_func;
76071 ;
76072 return 0;
76073 }
76074 _ACEOF
76075 rm -f conftest.$ac_objext conftest$ac_exeext
76076 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76077 (eval $ac_link) 2>conftest.er1
76078 ac_status=$?
76079 grep -v '^ *+' conftest.er1 >conftest.err
76080 rm -f conftest.er1
76081 cat conftest.err >&5
76082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76083 (exit $ac_status); } &&
76084 { ac_try='test -z "$ac_c_werror_flag"
76085 || test ! -s conftest.err'
76086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76087 (eval $ac_try) 2>&5
76088 ac_status=$?
76089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76090 (exit $ac_status); }; } &&
76091 { ac_try='test -s conftest$ac_exeext'
76092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76093 (eval $ac_try) 2>&5
76094 ac_status=$?
76095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76096 (exit $ac_status); }; }; then
76097 eval "$as_ac_var=yes"
76098 else
76099 echo "$as_me: failed program was:" >&5
76100 sed 's/^/| /' conftest.$ac_ext >&5
76101
76102 eval "$as_ac_var=no"
76103 fi
76104 rm -f conftest.err conftest.$ac_objext \
76105 conftest$ac_exeext conftest.$ac_ext
76106 fi
76107 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
76108 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
76109 if test `eval echo '${'$as_ac_var'}'` = yes; then
76110 cat >>confdefs.h <<_ACEOF
76111 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
76112 _ACEOF
76113
76114 else
76115 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
76116 fi
76117 done
76118
76119
76120 if test x$ac_cv_func_copysignl = x"yes"; then
76121
76122 for ac_func in __signbitl
76123 do
76124 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
76125 echo "$as_me:$LINENO: checking for $ac_func" >&5
76126 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
76127 if eval "test \"\${$as_ac_var+set}\" = set"; then
76128 echo $ECHO_N "(cached) $ECHO_C" >&6
76129 else
76130 if test x$gcc_no_link = xyes; then
76131 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76132 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76133 { (exit 1); exit 1; }; }
76134 fi
76135 cat >conftest.$ac_ext <<_ACEOF
76136 /* confdefs.h. */
76137 _ACEOF
76138 cat confdefs.h >>conftest.$ac_ext
76139 cat >>conftest.$ac_ext <<_ACEOF
76140 /* end confdefs.h. */
76141 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
76142 For example, HP-UX 11i <limits.h> declares gettimeofday. */
76143 #define $ac_func innocuous_$ac_func
76144
76145 /* System header to define __stub macros and hopefully few prototypes,
76146 which can conflict with char $ac_func (); below.
76147 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
76148 <limits.h> exists even on freestanding compilers. */
76149
76150 #ifdef __STDC__
76151 # include <limits.h>
76152 #else
76153 # include <assert.h>
76154 #endif
76155
76156 #undef $ac_func
76157
76158 /* Override any gcc2 internal prototype to avoid an error. */
76159 #ifdef __cplusplus
76160 extern "C"
76161 {
76162 #endif
76163 /* We use char because int might match the return type of a gcc2
76164 builtin and then its argument prototype would still apply. */
76165 char $ac_func ();
76166 /* The GNU C library defines this for functions which it implements
76167 to always fail with ENOSYS. Some functions are actually named
76168 something starting with __ and the normal name is an alias. */
76169 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
76170 choke me
76171 #else
76172 char (*f) () = $ac_func;
76173 #endif
76174 #ifdef __cplusplus
76175 }
76176 #endif
76177
76178 int
76179 main ()
76180 {
76181 return f != $ac_func;
76182 ;
76183 return 0;
76184 }
76185 _ACEOF
76186 rm -f conftest.$ac_objext conftest$ac_exeext
76187 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76188 (eval $ac_link) 2>conftest.er1
76189 ac_status=$?
76190 grep -v '^ *+' conftest.er1 >conftest.err
76191 rm -f conftest.er1
76192 cat conftest.err >&5
76193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76194 (exit $ac_status); } &&
76195 { ac_try='test -z "$ac_c_werror_flag"
76196 || test ! -s conftest.err'
76197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76198 (eval $ac_try) 2>&5
76199 ac_status=$?
76200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76201 (exit $ac_status); }; } &&
76202 { ac_try='test -s conftest$ac_exeext'
76203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76204 (eval $ac_try) 2>&5
76205 ac_status=$?
76206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76207 (exit $ac_status); }; }; then
76208 eval "$as_ac_var=yes"
76209 else
76210 echo "$as_me: failed program was:" >&5
76211 sed 's/^/| /' conftest.$ac_ext >&5
76212
76213 eval "$as_ac_var=no"
76214 fi
76215 rm -f conftest.err conftest.$ac_objext \
76216 conftest$ac_exeext conftest.$ac_ext
76217 fi
76218 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
76219 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
76220 if test `eval echo '${'$as_ac_var'}'` = yes; then
76221 cat >>confdefs.h <<_ACEOF
76222 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
76223 _ACEOF
76224
76225 else
76226 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
76227 fi
76228 done
76229
76230 fi
76231
76232 # Used in libmath/Makefile.am.
76233 if test -n "$LIBMATHOBJS"; then
76234 need_libmath=yes
76235 fi
76236
76237
76238
76239
76240 enable_iconv=no
76241 # Only continue checking if the ISO C99 headers exist and support is on.
76242 if test x"$enable_wchar_t" = xyes; then
76243
76244 # Use iconv for wchar_t to char conversions. As such, check for
76245 # X/Open Portability Guide, version 2 features (XPG2).
76246 if test "${ac_cv_header_iconv_h+set}" = set; then
76247 echo "$as_me:$LINENO: checking for iconv.h" >&5
76248 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
76249 if test "${ac_cv_header_iconv_h+set}" = set; then
76250 echo $ECHO_N "(cached) $ECHO_C" >&6
76251 fi
76252 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
76253 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
76254 else
76255 # Is the header compilable?
76256 echo "$as_me:$LINENO: checking iconv.h usability" >&5
76257 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
76258 cat >conftest.$ac_ext <<_ACEOF
76259 /* confdefs.h. */
76260 _ACEOF
76261 cat confdefs.h >>conftest.$ac_ext
76262 cat >>conftest.$ac_ext <<_ACEOF
76263 /* end confdefs.h. */
76264 $ac_includes_default
76265 #include <iconv.h>
76266 _ACEOF
76267 rm -f conftest.$ac_objext
76268 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
76269 (eval $ac_compile) 2>conftest.er1
76270 ac_status=$?
76271 grep -v '^ *+' conftest.er1 >conftest.err
76272 rm -f conftest.er1
76273 cat conftest.err >&5
76274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76275 (exit $ac_status); } &&
76276 { ac_try='test -z "$ac_c_werror_flag"
76277 || test ! -s conftest.err'
76278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76279 (eval $ac_try) 2>&5
76280 ac_status=$?
76281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76282 (exit $ac_status); }; } &&
76283 { ac_try='test -s conftest.$ac_objext'
76284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76285 (eval $ac_try) 2>&5
76286 ac_status=$?
76287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76288 (exit $ac_status); }; }; then
76289 ac_header_compiler=yes
76290 else
76291 echo "$as_me: failed program was:" >&5
76292 sed 's/^/| /' conftest.$ac_ext >&5
76293
76294 ac_header_compiler=no
76295 fi
76296 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
76297 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
76298 echo "${ECHO_T}$ac_header_compiler" >&6
76299
76300 # Is the header present?
76301 echo "$as_me:$LINENO: checking iconv.h presence" >&5
76302 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
76303 cat >conftest.$ac_ext <<_ACEOF
76304 /* confdefs.h. */
76305 _ACEOF
76306 cat confdefs.h >>conftest.$ac_ext
76307 cat >>conftest.$ac_ext <<_ACEOF
76308 /* end confdefs.h. */
76309 #include <iconv.h>
76310 _ACEOF
76311 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
76312 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
76313 ac_status=$?
76314 grep -v '^ *+' conftest.er1 >conftest.err
76315 rm -f conftest.er1
76316 cat conftest.err >&5
76317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76318 (exit $ac_status); } >/dev/null; then
76319 if test -s conftest.err; then
76320 ac_cpp_err=$ac_c_preproc_warn_flag
76321 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
76322 else
76323 ac_cpp_err=
76324 fi
76325 else
76326 ac_cpp_err=yes
76327 fi
76328 if test -z "$ac_cpp_err"; then
76329 ac_header_preproc=yes
76330 else
76331 echo "$as_me: failed program was:" >&5
76332 sed 's/^/| /' conftest.$ac_ext >&5
76333
76334 ac_header_preproc=no
76335 fi
76336 rm -f conftest.err conftest.$ac_ext
76337 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
76338 echo "${ECHO_T}$ac_header_preproc" >&6
76339
76340 # So? What about this header?
76341 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
76342 yes:no: )
76343 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
76344 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
76345 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
76346 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
76347 ac_header_preproc=yes
76348 ;;
76349 no:yes:* )
76350 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
76351 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
76352 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
76353 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
76354 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
76355 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
76356 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
76357 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
76358 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
76359 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
76360 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
76361 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
76362 (
76363 cat <<\_ASBOX
76364 ## ----------------------------------------- ##
76365 ## Report this to the package-unused lists. ##
76366 ## ----------------------------------------- ##
76367 _ASBOX
76368 ) |
76369 sed "s/^/$as_me: WARNING: /" >&2
76370 ;;
76371 esac
76372 echo "$as_me:$LINENO: checking for iconv.h" >&5
76373 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
76374 if test "${ac_cv_header_iconv_h+set}" = set; then
76375 echo $ECHO_N "(cached) $ECHO_C" >&6
76376 else
76377 ac_cv_header_iconv_h=$ac_header_preproc
76378 fi
76379 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
76380 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
76381
76382 fi
76383 if test $ac_cv_header_iconv_h = yes; then
76384 ac_has_iconv_h=yes
76385 else
76386 ac_has_iconv_h=no
76387 fi
76388
76389
76390 if test "${ac_cv_header_langinfo_h+set}" = set; then
76391 echo "$as_me:$LINENO: checking for langinfo.h" >&5
76392 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
76393 if test "${ac_cv_header_langinfo_h+set}" = set; then
76394 echo $ECHO_N "(cached) $ECHO_C" >&6
76395 fi
76396 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
76397 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
76398 else
76399 # Is the header compilable?
76400 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
76401 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
76402 cat >conftest.$ac_ext <<_ACEOF
76403 /* confdefs.h. */
76404 _ACEOF
76405 cat confdefs.h >>conftest.$ac_ext
76406 cat >>conftest.$ac_ext <<_ACEOF
76407 /* end confdefs.h. */
76408 $ac_includes_default
76409 #include <langinfo.h>
76410 _ACEOF
76411 rm -f conftest.$ac_objext
76412 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
76413 (eval $ac_compile) 2>conftest.er1
76414 ac_status=$?
76415 grep -v '^ *+' conftest.er1 >conftest.err
76416 rm -f conftest.er1
76417 cat conftest.err >&5
76418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76419 (exit $ac_status); } &&
76420 { ac_try='test -z "$ac_c_werror_flag"
76421 || test ! -s conftest.err'
76422 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76423 (eval $ac_try) 2>&5
76424 ac_status=$?
76425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76426 (exit $ac_status); }; } &&
76427 { ac_try='test -s conftest.$ac_objext'
76428 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76429 (eval $ac_try) 2>&5
76430 ac_status=$?
76431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76432 (exit $ac_status); }; }; then
76433 ac_header_compiler=yes
76434 else
76435 echo "$as_me: failed program was:" >&5
76436 sed 's/^/| /' conftest.$ac_ext >&5
76437
76438 ac_header_compiler=no
76439 fi
76440 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
76441 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
76442 echo "${ECHO_T}$ac_header_compiler" >&6
76443
76444 # Is the header present?
76445 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
76446 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
76447 cat >conftest.$ac_ext <<_ACEOF
76448 /* confdefs.h. */
76449 _ACEOF
76450 cat confdefs.h >>conftest.$ac_ext
76451 cat >>conftest.$ac_ext <<_ACEOF
76452 /* end confdefs.h. */
76453 #include <langinfo.h>
76454 _ACEOF
76455 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
76456 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
76457 ac_status=$?
76458 grep -v '^ *+' conftest.er1 >conftest.err
76459 rm -f conftest.er1
76460 cat conftest.err >&5
76461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76462 (exit $ac_status); } >/dev/null; then
76463 if test -s conftest.err; then
76464 ac_cpp_err=$ac_c_preproc_warn_flag
76465 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
76466 else
76467 ac_cpp_err=
76468 fi
76469 else
76470 ac_cpp_err=yes
76471 fi
76472 if test -z "$ac_cpp_err"; then
76473 ac_header_preproc=yes
76474 else
76475 echo "$as_me: failed program was:" >&5
76476 sed 's/^/| /' conftest.$ac_ext >&5
76477
76478 ac_header_preproc=no
76479 fi
76480 rm -f conftest.err conftest.$ac_ext
76481 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
76482 echo "${ECHO_T}$ac_header_preproc" >&6
76483
76484 # So? What about this header?
76485 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
76486 yes:no: )
76487 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
76488 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
76489 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
76490 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
76491 ac_header_preproc=yes
76492 ;;
76493 no:yes:* )
76494 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
76495 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
76496 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
76497 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
76498 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
76499 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
76500 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
76501 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
76502 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
76503 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
76504 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
76505 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
76506 (
76507 cat <<\_ASBOX
76508 ## ----------------------------------------- ##
76509 ## Report this to the package-unused lists. ##
76510 ## ----------------------------------------- ##
76511 _ASBOX
76512 ) |
76513 sed "s/^/$as_me: WARNING: /" >&2
76514 ;;
76515 esac
76516 echo "$as_me:$LINENO: checking for langinfo.h" >&5
76517 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
76518 if test "${ac_cv_header_langinfo_h+set}" = set; then
76519 echo $ECHO_N "(cached) $ECHO_C" >&6
76520 else
76521 ac_cv_header_langinfo_h=$ac_header_preproc
76522 fi
76523 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
76524 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
76525
76526 fi
76527 if test $ac_cv_header_langinfo_h = yes; then
76528 ac_has_langinfo_h=yes
76529 else
76530 ac_has_langinfo_h=no
76531 fi
76532
76533
76534
76535 # Check for existence of libiconv.a providing XPG2 wchar_t support.
76536 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
76537 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
76538 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
76539 echo $ECHO_N "(cached) $ECHO_C" >&6
76540 else
76541 ac_check_lib_save_LIBS=$LIBS
76542 LIBS="-liconv $LIBS"
76543 if test x$gcc_no_link = xyes; then
76544 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76545 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76546 { (exit 1); exit 1; }; }
76547 fi
76548 cat >conftest.$ac_ext <<_ACEOF
76549 /* confdefs.h. */
76550 _ACEOF
76551 cat confdefs.h >>conftest.$ac_ext
76552 cat >>conftest.$ac_ext <<_ACEOF
76553 /* end confdefs.h. */
76554
76555 /* Override any gcc2 internal prototype to avoid an error. */
76556 #ifdef __cplusplus
76557 extern "C"
76558 #endif
76559 /* We use char because int might match the return type of a gcc2
76560 builtin and then its argument prototype would still apply. */
76561 char iconv ();
76562 int
76563 main ()
76564 {
76565 iconv ();
76566 ;
76567 return 0;
76568 }
76569 _ACEOF
76570 rm -f conftest.$ac_objext conftest$ac_exeext
76571 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76572 (eval $ac_link) 2>conftest.er1
76573 ac_status=$?
76574 grep -v '^ *+' conftest.er1 >conftest.err
76575 rm -f conftest.er1
76576 cat conftest.err >&5
76577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76578 (exit $ac_status); } &&
76579 { ac_try='test -z "$ac_c_werror_flag"
76580 || test ! -s conftest.err'
76581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76582 (eval $ac_try) 2>&5
76583 ac_status=$?
76584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76585 (exit $ac_status); }; } &&
76586 { ac_try='test -s conftest$ac_exeext'
76587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76588 (eval $ac_try) 2>&5
76589 ac_status=$?
76590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76591 (exit $ac_status); }; }; then
76592 ac_cv_lib_iconv_iconv=yes
76593 else
76594 echo "$as_me: failed program was:" >&5
76595 sed 's/^/| /' conftest.$ac_ext >&5
76596
76597 ac_cv_lib_iconv_iconv=no
76598 fi
76599 rm -f conftest.err conftest.$ac_objext \
76600 conftest$ac_exeext conftest.$ac_ext
76601 LIBS=$ac_check_lib_save_LIBS
76602 fi
76603 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
76604 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
76605 if test $ac_cv_lib_iconv_iconv = yes; then
76606 LIBICONV="-liconv"
76607 fi
76608
76609 ac_save_LIBS="$LIBS"
76610 LIBS="$LIBS $LIBICONV"
76611
76612
76613
76614
76615
76616
76617 for ac_func in iconv_open iconv_close iconv nl_langinfo
76618 do
76619 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
76620 echo "$as_me:$LINENO: checking for $ac_func" >&5
76621 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
76622 if eval "test \"\${$as_ac_var+set}\" = set"; then
76623 echo $ECHO_N "(cached) $ECHO_C" >&6
76624 else
76625 if test x$gcc_no_link = xyes; then
76626 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76627 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76628 { (exit 1); exit 1; }; }
76629 fi
76630 cat >conftest.$ac_ext <<_ACEOF
76631 /* confdefs.h. */
76632 _ACEOF
76633 cat confdefs.h >>conftest.$ac_ext
76634 cat >>conftest.$ac_ext <<_ACEOF
76635 /* end confdefs.h. */
76636 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
76637 For example, HP-UX 11i <limits.h> declares gettimeofday. */
76638 #define $ac_func innocuous_$ac_func
76639
76640 /* System header to define __stub macros and hopefully few prototypes,
76641 which can conflict with char $ac_func (); below.
76642 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
76643 <limits.h> exists even on freestanding compilers. */
76644
76645 #ifdef __STDC__
76646 # include <limits.h>
76647 #else
76648 # include <assert.h>
76649 #endif
76650
76651 #undef $ac_func
76652
76653 /* Override any gcc2 internal prototype to avoid an error. */
76654 #ifdef __cplusplus
76655 extern "C"
76656 {
76657 #endif
76658 /* We use char because int might match the return type of a gcc2
76659 builtin and then its argument prototype would still apply. */
76660 char $ac_func ();
76661 /* The GNU C library defines this for functions which it implements
76662 to always fail with ENOSYS. Some functions are actually named
76663 something starting with __ and the normal name is an alias. */
76664 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
76665 choke me
76666 #else
76667 char (*f) () = $ac_func;
76668 #endif
76669 #ifdef __cplusplus
76670 }
76671 #endif
76672
76673 int
76674 main ()
76675 {
76676 return f != $ac_func;
76677 ;
76678 return 0;
76679 }
76680 _ACEOF
76681 rm -f conftest.$ac_objext conftest$ac_exeext
76682 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76683 (eval $ac_link) 2>conftest.er1
76684 ac_status=$?
76685 grep -v '^ *+' conftest.er1 >conftest.err
76686 rm -f conftest.er1
76687 cat conftest.err >&5
76688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76689 (exit $ac_status); } &&
76690 { ac_try='test -z "$ac_c_werror_flag"
76691 || test ! -s conftest.err'
76692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76693 (eval $ac_try) 2>&5
76694 ac_status=$?
76695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76696 (exit $ac_status); }; } &&
76697 { ac_try='test -s conftest$ac_exeext'
76698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76699 (eval $ac_try) 2>&5
76700 ac_status=$?
76701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76702 (exit $ac_status); }; }; then
76703 eval "$as_ac_var=yes"
76704 else
76705 echo "$as_me: failed program was:" >&5
76706 sed 's/^/| /' conftest.$ac_ext >&5
76707
76708 eval "$as_ac_var=no"
76709 fi
76710 rm -f conftest.err conftest.$ac_objext \
76711 conftest$ac_exeext conftest.$ac_ext
76712 fi
76713 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
76714 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
76715 if test `eval echo '${'$as_ac_var'}'` = yes; then
76716 cat >>confdefs.h <<_ACEOF
76717 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
76718 _ACEOF
76719 ac_XPG2funcs=yes
76720 else
76721 ac_XPG2funcs=no
76722 fi
76723 done
76724
76725
76726 LIBS="$ac_save_LIBS"
76727
76728 if test x"$ac_has_iconv_h" = xyes &&
76729 test x"$ac_has_langinfo_h" = xyes &&
76730 test x"$ac_XPG2funcs" = xyes;
76731 then
76732
76733 cat >>confdefs.h <<\_ACEOF
76734 #define _GLIBCXX_USE_ICONV 1
76735 _ACEOF
76736
76737 enable_iconv=yes
76738 fi
76739 fi
76740 echo "$as_me:$LINENO: checking for enabled iconv specializations" >&5
76741 echo $ECHO_N "checking for enabled iconv specializations... $ECHO_C" >&6
76742 echo "$as_me:$LINENO: result: $enable_iconv" >&5
76743 echo "${ECHO_T}$enable_iconv" >&6
76744
76745 cat >>confdefs.h <<\_ACEOF
76746 #define HAVE_COPYSIGN 1
76747 _ACEOF
76748
76749 cat >>confdefs.h <<\_ACEOF
76750 #define HAVE_COPYSIGNF 1
76751 _ACEOF
76752
76753 cat >>confdefs.h <<\_ACEOF
76754 #define HAVE_FREXPF 1
76755 _ACEOF
76756
76757 cat >>confdefs.h <<\_ACEOF
76758 #define HAVE_HYPOT 1
76759 _ACEOF
76760
76761 case "$target" in
76762 *-hpux10*)
76763 cat >>confdefs.h <<\_ACEOF
76764 #define HAVE_FINITE 1
76765 _ACEOF
76766
76767 cat >>confdefs.h <<\_ACEOF
76768 #define HAVE_FINITEF 1
76769 _ACEOF
76770
76771 cat >>confdefs.h <<\_ACEOF
76772 #define HAVE_ISINF 1
76773 _ACEOF
76774
76775 cat >>confdefs.h <<\_ACEOF
76776 #define HAVE_ISINFF 1
76777 _ACEOF
76778
76779 cat >>confdefs.h <<\_ACEOF
76780 #define HAVE_ISNAN 1
76781 _ACEOF
76782
76783 cat >>confdefs.h <<\_ACEOF
76784 #define HAVE_ISNANF 1
76785 _ACEOF
76786
76787 ;;
76788 esac
76789 ;;
76790 *-linux* | *-uclinux* | *-gnu* | *-kfreebsd*-gnu | *-knetbsd*-gnu)
76791
76792
76793
76794
76795
76796
76797
76798
76799
76800
76801
76802
76803
76804
76805
76806 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
76807 machine/endian.h machine/param.h sys/machine.h sys/types.h \
76808 fp.h float.h endian.h inttypes.h locale.h float.h stdint.h
76809 do
76810 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
76811 if eval "test \"\${$as_ac_Header+set}\" = set"; then
76812 echo "$as_me:$LINENO: checking for $ac_header" >&5
76813 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
76814 if eval "test \"\${$as_ac_Header+set}\" = set"; then
76815 echo $ECHO_N "(cached) $ECHO_C" >&6
76816 fi
76817 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
76818 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
76819 else
76820 # Is the header compilable?
76821 echo "$as_me:$LINENO: checking $ac_header usability" >&5
76822 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
76823 cat >conftest.$ac_ext <<_ACEOF
76824 /* confdefs.h. */
76825 _ACEOF
76826 cat confdefs.h >>conftest.$ac_ext
76827 cat >>conftest.$ac_ext <<_ACEOF
76828 /* end confdefs.h. */
76829 $ac_includes_default
76830 #include <$ac_header>
76831 _ACEOF
76832 rm -f conftest.$ac_objext
76833 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
76834 (eval $ac_compile) 2>conftest.er1
76835 ac_status=$?
76836 grep -v '^ *+' conftest.er1 >conftest.err
76837 rm -f conftest.er1
76838 cat conftest.err >&5
76839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76840 (exit $ac_status); } &&
76841 { ac_try='test -z "$ac_c_werror_flag"
76842 || test ! -s conftest.err'
76843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76844 (eval $ac_try) 2>&5
76845 ac_status=$?
76846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76847 (exit $ac_status); }; } &&
76848 { ac_try='test -s conftest.$ac_objext'
76849 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76850 (eval $ac_try) 2>&5
76851 ac_status=$?
76852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76853 (exit $ac_status); }; }; then
76854 ac_header_compiler=yes
76855 else
76856 echo "$as_me: failed program was:" >&5
76857 sed 's/^/| /' conftest.$ac_ext >&5
76858
76859 ac_header_compiler=no
76860 fi
76861 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
76862 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
76863 echo "${ECHO_T}$ac_header_compiler" >&6
76864
76865 # Is the header present?
76866 echo "$as_me:$LINENO: checking $ac_header presence" >&5
76867 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
76868 cat >conftest.$ac_ext <<_ACEOF
76869 /* confdefs.h. */
76870 _ACEOF
76871 cat confdefs.h >>conftest.$ac_ext
76872 cat >>conftest.$ac_ext <<_ACEOF
76873 /* end confdefs.h. */
76874 #include <$ac_header>
76875 _ACEOF
76876 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
76877 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
76878 ac_status=$?
76879 grep -v '^ *+' conftest.er1 >conftest.err
76880 rm -f conftest.er1
76881 cat conftest.err >&5
76882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76883 (exit $ac_status); } >/dev/null; then
76884 if test -s conftest.err; then
76885 ac_cpp_err=$ac_c_preproc_warn_flag
76886 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
76887 else
76888 ac_cpp_err=
76889 fi
76890 else
76891 ac_cpp_err=yes
76892 fi
76893 if test -z "$ac_cpp_err"; then
76894 ac_header_preproc=yes
76895 else
76896 echo "$as_me: failed program was:" >&5
76897 sed 's/^/| /' conftest.$ac_ext >&5
76898
76899 ac_header_preproc=no
76900 fi
76901 rm -f conftest.err conftest.$ac_ext
76902 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
76903 echo "${ECHO_T}$ac_header_preproc" >&6
76904
76905 # So? What about this header?
76906 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
76907 yes:no: )
76908 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
76909 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
76910 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
76911 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
76912 ac_header_preproc=yes
76913 ;;
76914 no:yes:* )
76915 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
76916 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
76917 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
76918 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
76919 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
76920 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
76921 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
76922 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
76923 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
76924 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
76925 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
76926 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
76927 (
76928 cat <<\_ASBOX
76929 ## ----------------------------------------- ##
76930 ## Report this to the package-unused lists. ##
76931 ## ----------------------------------------- ##
76932 _ASBOX
76933 ) |
76934 sed "s/^/$as_me: WARNING: /" >&2
76935 ;;
76936 esac
76937 echo "$as_me:$LINENO: checking for $ac_header" >&5
76938 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
76939 if eval "test \"\${$as_ac_Header+set}\" = set"; then
76940 echo $ECHO_N "(cached) $ECHO_C" >&6
76941 else
76942 eval "$as_ac_Header=\$ac_header_preproc"
76943 fi
76944 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
76945 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
76946
76947 fi
76948 if test `eval echo '${'$as_ac_Header'}'` = yes; then
76949 cat >>confdefs.h <<_ACEOF
76950 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
76951 _ACEOF
76952
76953 fi
76954
76955 done
76956
76957 SECTION_FLAGS='-ffunction-sections -fdata-sections'
76958
76959
76960 # If we're not using GNU ld, then there's no point in even trying these
76961 # tests. Check for that first. We should have already tested for gld
76962 # by now (in libtool), but require it now just to be safe...
76963 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
76964 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
76965
76966
76967
76968 # The name set by libtool depends on the version of libtool. Shame on us
76969 # for depending on an impl detail, but c'est la vie. Older versions used
76970 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
76971 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
76972 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
76973 # set (hence we're using an older libtool), then set it.
76974 if test x${with_gnu_ld+set} != xset; then
76975 if test x${ac_cv_prog_gnu_ld+set} != xset; then
76976 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
76977 with_gnu_ld=no
76978 else
76979 with_gnu_ld=$ac_cv_prog_gnu_ld
76980 fi
76981 fi
76982
76983 # Start by getting the version number. I think the libtool test already
76984 # does some of this, but throws away the result.
76985
76986 ldver=`$LD --version 2>/dev/null | head -1 | \
76987 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
76988
76989 glibcxx_gnu_ld_version=`echo $ldver | \
76990 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
76991
76992 # Set --gc-sections.
76993 if test "$with_gnu_ld" = "notbroken"; then
76994 # GNU ld it is! Joy and bunny rabbits!
76995
76996 # All these tests are for C++; save the language and the compiler flags.
76997 # Need to do this so that g++ won't try to link in libstdc++
76998 ac_test_CFLAGS="${CFLAGS+set}"
76999 ac_save_CFLAGS="$CFLAGS"
77000 CFLAGS='-x c++ -Wl,--gc-sections'
77001
77002 # Check for -Wl,--gc-sections
77003 # XXX This test is broken at the moment, as symbols required for linking
77004 # are now in libsupc++ (not built yet). In addition, this test has
77005 # cored on solaris in the past. In addition, --gc-sections doesn't
77006 # really work at the moment (keeps on discarding used sections, first
77007 # .eh_frame and now some of the glibc sections for iconv).
77008 # Bzzzzt. Thanks for playing, maybe next time.
77009 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
77010 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
77011 if test "$cross_compiling" = yes; then
77012 ac_sectionLDflags=yes
77013 else
77014 cat >conftest.$ac_ext <<_ACEOF
77015 /* confdefs.h. */
77016 _ACEOF
77017 cat confdefs.h >>conftest.$ac_ext
77018 cat >>conftest.$ac_ext <<_ACEOF
77019 /* end confdefs.h. */
77020
77021 int main(void)
77022 {
77023 try { throw 1; }
77024 catch (...) { };
77025 return 0;
77026 }
77027
77028 _ACEOF
77029 rm -f conftest$ac_exeext
77030 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77031 (eval $ac_link) 2>&5
77032 ac_status=$?
77033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77034 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
77035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77036 (eval $ac_try) 2>&5
77037 ac_status=$?
77038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77039 (exit $ac_status); }; }; then
77040 ac_sectionLDflags=yes
77041 else
77042 echo "$as_me: program exited with status $ac_status" >&5
77043 echo "$as_me: failed program was:" >&5
77044 sed 's/^/| /' conftest.$ac_ext >&5
77045
77046 ( exit $ac_status )
77047 ac_sectionLDflags=no
77048 fi
77049 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
77050 fi
77051 if test "$ac_test_CFLAGS" = set; then
77052 CFLAGS="$ac_save_CFLAGS"
77053 else
77054 # this is the suspicious part
77055 CFLAGS=''
77056 fi
77057 if test "$ac_sectionLDflags" = "yes"; then
77058 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
77059 fi
77060 echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
77061 echo "${ECHO_T}$ac_sectionLDflags" >&6
77062 fi
77063
77064 # Set linker optimization flags.
77065 if test x"$with_gnu_ld" = x"yes"; then
77066 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
77067 fi
77068
77069
77070
77071
77072
77073
77074 echo "$as_me:$LINENO: checking for main in -lm" >&5
77075 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
77076 if test "${ac_cv_lib_m_main+set}" = set; then
77077 echo $ECHO_N "(cached) $ECHO_C" >&6
77078 else
77079 ac_check_lib_save_LIBS=$LIBS
77080 LIBS="-lm $LIBS"
77081 if test x$gcc_no_link = xyes; then
77082 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77083 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77084 { (exit 1); exit 1; }; }
77085 fi
77086 cat >conftest.$ac_ext <<_ACEOF
77087 /* confdefs.h. */
77088 _ACEOF
77089 cat confdefs.h >>conftest.$ac_ext
77090 cat >>conftest.$ac_ext <<_ACEOF
77091 /* end confdefs.h. */
77092
77093
77094 int
77095 main ()
77096 {
77097 main ();
77098 ;
77099 return 0;
77100 }
77101 _ACEOF
77102 rm -f conftest.$ac_objext conftest$ac_exeext
77103 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77104 (eval $ac_link) 2>conftest.er1
77105 ac_status=$?
77106 grep -v '^ *+' conftest.er1 >conftest.err
77107 rm -f conftest.er1
77108 cat conftest.err >&5
77109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77110 (exit $ac_status); } &&
77111 { ac_try='test -z "$ac_c_werror_flag"
77112 || test ! -s conftest.err'
77113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77114 (eval $ac_try) 2>&5
77115 ac_status=$?
77116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77117 (exit $ac_status); }; } &&
77118 { ac_try='test -s conftest$ac_exeext'
77119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77120 (eval $ac_try) 2>&5
77121 ac_status=$?
77122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77123 (exit $ac_status); }; }; then
77124 ac_cv_lib_m_main=yes
77125 else
77126 echo "$as_me: failed program was:" >&5
77127 sed 's/^/| /' conftest.$ac_ext >&5
77128
77129 ac_cv_lib_m_main=no
77130 fi
77131 rm -f conftest.err conftest.$ac_objext \
77132 conftest$ac_exeext conftest.$ac_ext
77133 LIBS=$ac_check_lib_save_LIBS
77134 fi
77135 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
77136 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
77137 if test $ac_cv_lib_m_main = yes; then
77138 cat >>confdefs.h <<_ACEOF
77139 #define HAVE_LIBM 1
77140 _ACEOF
77141
77142 LIBS="-lm $LIBS"
77143
77144 fi
77145
77146
77147 for ac_func in copysignf
77148 do
77149 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77150 echo "$as_me:$LINENO: checking for $ac_func" >&5
77151 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77152 if eval "test \"\${$as_ac_var+set}\" = set"; then
77153 echo $ECHO_N "(cached) $ECHO_C" >&6
77154 else
77155 if test x$gcc_no_link = xyes; then
77156 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77157 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77158 { (exit 1); exit 1; }; }
77159 fi
77160 cat >conftest.$ac_ext <<_ACEOF
77161 /* confdefs.h. */
77162 _ACEOF
77163 cat confdefs.h >>conftest.$ac_ext
77164 cat >>conftest.$ac_ext <<_ACEOF
77165 /* end confdefs.h. */
77166 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77167 For example, HP-UX 11i <limits.h> declares gettimeofday. */
77168 #define $ac_func innocuous_$ac_func
77169
77170 /* System header to define __stub macros and hopefully few prototypes,
77171 which can conflict with char $ac_func (); below.
77172 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77173 <limits.h> exists even on freestanding compilers. */
77174
77175 #ifdef __STDC__
77176 # include <limits.h>
77177 #else
77178 # include <assert.h>
77179 #endif
77180
77181 #undef $ac_func
77182
77183 /* Override any gcc2 internal prototype to avoid an error. */
77184 #ifdef __cplusplus
77185 extern "C"
77186 {
77187 #endif
77188 /* We use char because int might match the return type of a gcc2
77189 builtin and then its argument prototype would still apply. */
77190 char $ac_func ();
77191 /* The GNU C library defines this for functions which it implements
77192 to always fail with ENOSYS. Some functions are actually named
77193 something starting with __ and the normal name is an alias. */
77194 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77195 choke me
77196 #else
77197 char (*f) () = $ac_func;
77198 #endif
77199 #ifdef __cplusplus
77200 }
77201 #endif
77202
77203 int
77204 main ()
77205 {
77206 return f != $ac_func;
77207 ;
77208 return 0;
77209 }
77210 _ACEOF
77211 rm -f conftest.$ac_objext conftest$ac_exeext
77212 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77213 (eval $ac_link) 2>conftest.er1
77214 ac_status=$?
77215 grep -v '^ *+' conftest.er1 >conftest.err
77216 rm -f conftest.er1
77217 cat conftest.err >&5
77218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77219 (exit $ac_status); } &&
77220 { ac_try='test -z "$ac_c_werror_flag"
77221 || test ! -s conftest.err'
77222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77223 (eval $ac_try) 2>&5
77224 ac_status=$?
77225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77226 (exit $ac_status); }; } &&
77227 { ac_try='test -s conftest$ac_exeext'
77228 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77229 (eval $ac_try) 2>&5
77230 ac_status=$?
77231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77232 (exit $ac_status); }; }; then
77233 eval "$as_ac_var=yes"
77234 else
77235 echo "$as_me: failed program was:" >&5
77236 sed 's/^/| /' conftest.$ac_ext >&5
77237
77238 eval "$as_ac_var=no"
77239 fi
77240 rm -f conftest.err conftest.$ac_objext \
77241 conftest$ac_exeext conftest.$ac_ext
77242 fi
77243 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
77244 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
77245 if test `eval echo '${'$as_ac_var'}'` = yes; then
77246 cat >>confdefs.h <<_ACEOF
77247 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
77248 _ACEOF
77249
77250 else
77251 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
77252 fi
77253 done
77254
77255
77256
77257 for ac_func in __signbit
77258 do
77259 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77260 echo "$as_me:$LINENO: checking for $ac_func" >&5
77261 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77262 if eval "test \"\${$as_ac_var+set}\" = set"; then
77263 echo $ECHO_N "(cached) $ECHO_C" >&6
77264 else
77265 if test x$gcc_no_link = xyes; then
77266 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77267 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77268 { (exit 1); exit 1; }; }
77269 fi
77270 cat >conftest.$ac_ext <<_ACEOF
77271 /* confdefs.h. */
77272 _ACEOF
77273 cat confdefs.h >>conftest.$ac_ext
77274 cat >>conftest.$ac_ext <<_ACEOF
77275 /* end confdefs.h. */
77276 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77277 For example, HP-UX 11i <limits.h> declares gettimeofday. */
77278 #define $ac_func innocuous_$ac_func
77279
77280 /* System header to define __stub macros and hopefully few prototypes,
77281 which can conflict with char $ac_func (); below.
77282 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77283 <limits.h> exists even on freestanding compilers. */
77284
77285 #ifdef __STDC__
77286 # include <limits.h>
77287 #else
77288 # include <assert.h>
77289 #endif
77290
77291 #undef $ac_func
77292
77293 /* Override any gcc2 internal prototype to avoid an error. */
77294 #ifdef __cplusplus
77295 extern "C"
77296 {
77297 #endif
77298 /* We use char because int might match the return type of a gcc2
77299 builtin and then its argument prototype would still apply. */
77300 char $ac_func ();
77301 /* The GNU C library defines this for functions which it implements
77302 to always fail with ENOSYS. Some functions are actually named
77303 something starting with __ and the normal name is an alias. */
77304 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77305 choke me
77306 #else
77307 char (*f) () = $ac_func;
77308 #endif
77309 #ifdef __cplusplus
77310 }
77311 #endif
77312
77313 int
77314 main ()
77315 {
77316 return f != $ac_func;
77317 ;
77318 return 0;
77319 }
77320 _ACEOF
77321 rm -f conftest.$ac_objext conftest$ac_exeext
77322 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77323 (eval $ac_link) 2>conftest.er1
77324 ac_status=$?
77325 grep -v '^ *+' conftest.er1 >conftest.err
77326 rm -f conftest.er1
77327 cat conftest.err >&5
77328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77329 (exit $ac_status); } &&
77330 { ac_try='test -z "$ac_c_werror_flag"
77331 || test ! -s conftest.err'
77332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77333 (eval $ac_try) 2>&5
77334 ac_status=$?
77335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77336 (exit $ac_status); }; } &&
77337 { ac_try='test -s conftest$ac_exeext'
77338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77339 (eval $ac_try) 2>&5
77340 ac_status=$?
77341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77342 (exit $ac_status); }; }; then
77343 eval "$as_ac_var=yes"
77344 else
77345 echo "$as_me: failed program was:" >&5
77346 sed 's/^/| /' conftest.$ac_ext >&5
77347
77348 eval "$as_ac_var=no"
77349 fi
77350 rm -f conftest.err conftest.$ac_objext \
77351 conftest$ac_exeext conftest.$ac_ext
77352 fi
77353 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
77354 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
77355 if test `eval echo '${'$as_ac_var'}'` = yes; then
77356 cat >>confdefs.h <<_ACEOF
77357 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
77358 _ACEOF
77359
77360 else
77361 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
77362 fi
77363 done
77364
77365
77366
77367 for ac_func in __signbitf
77368 do
77369 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77370 echo "$as_me:$LINENO: checking for $ac_func" >&5
77371 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77372 if eval "test \"\${$as_ac_var+set}\" = set"; then
77373 echo $ECHO_N "(cached) $ECHO_C" >&6
77374 else
77375 if test x$gcc_no_link = xyes; then
77376 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77377 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77378 { (exit 1); exit 1; }; }
77379 fi
77380 cat >conftest.$ac_ext <<_ACEOF
77381 /* confdefs.h. */
77382 _ACEOF
77383 cat confdefs.h >>conftest.$ac_ext
77384 cat >>conftest.$ac_ext <<_ACEOF
77385 /* end confdefs.h. */
77386 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77387 For example, HP-UX 11i <limits.h> declares gettimeofday. */
77388 #define $ac_func innocuous_$ac_func
77389
77390 /* System header to define __stub macros and hopefully few prototypes,
77391 which can conflict with char $ac_func (); below.
77392 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77393 <limits.h> exists even on freestanding compilers. */
77394
77395 #ifdef __STDC__
77396 # include <limits.h>
77397 #else
77398 # include <assert.h>
77399 #endif
77400
77401 #undef $ac_func
77402
77403 /* Override any gcc2 internal prototype to avoid an error. */
77404 #ifdef __cplusplus
77405 extern "C"
77406 {
77407 #endif
77408 /* We use char because int might match the return type of a gcc2
77409 builtin and then its argument prototype would still apply. */
77410 char $ac_func ();
77411 /* The GNU C library defines this for functions which it implements
77412 to always fail with ENOSYS. Some functions are actually named
77413 something starting with __ and the normal name is an alias. */
77414 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77415 choke me
77416 #else
77417 char (*f) () = $ac_func;
77418 #endif
77419 #ifdef __cplusplus
77420 }
77421 #endif
77422
77423 int
77424 main ()
77425 {
77426 return f != $ac_func;
77427 ;
77428 return 0;
77429 }
77430 _ACEOF
77431 rm -f conftest.$ac_objext conftest$ac_exeext
77432 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77433 (eval $ac_link) 2>conftest.er1
77434 ac_status=$?
77435 grep -v '^ *+' conftest.er1 >conftest.err
77436 rm -f conftest.er1
77437 cat conftest.err >&5
77438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77439 (exit $ac_status); } &&
77440 { ac_try='test -z "$ac_c_werror_flag"
77441 || test ! -s conftest.err'
77442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77443 (eval $ac_try) 2>&5
77444 ac_status=$?
77445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77446 (exit $ac_status); }; } &&
77447 { ac_try='test -s conftest$ac_exeext'
77448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77449 (eval $ac_try) 2>&5
77450 ac_status=$?
77451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77452 (exit $ac_status); }; }; then
77453 eval "$as_ac_var=yes"
77454 else
77455 echo "$as_me: failed program was:" >&5
77456 sed 's/^/| /' conftest.$ac_ext >&5
77457
77458 eval "$as_ac_var=no"
77459 fi
77460 rm -f conftest.err conftest.$ac_objext \
77461 conftest$ac_exeext conftest.$ac_ext
77462 fi
77463 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
77464 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
77465 if test `eval echo '${'$as_ac_var'}'` = yes; then
77466 cat >>confdefs.h <<_ACEOF
77467 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
77468 _ACEOF
77469
77470 else
77471 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
77472 fi
77473 done
77474
77475
77476 if test x$ac_cv_func_copysignl = x"yes"; then
77477
77478 for ac_func in __signbitl
77479 do
77480 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77481 echo "$as_me:$LINENO: checking for $ac_func" >&5
77482 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77483 if eval "test \"\${$as_ac_var+set}\" = set"; then
77484 echo $ECHO_N "(cached) $ECHO_C" >&6
77485 else
77486 if test x$gcc_no_link = xyes; then
77487 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77488 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77489 { (exit 1); exit 1; }; }
77490 fi
77491 cat >conftest.$ac_ext <<_ACEOF
77492 /* confdefs.h. */
77493 _ACEOF
77494 cat confdefs.h >>conftest.$ac_ext
77495 cat >>conftest.$ac_ext <<_ACEOF
77496 /* end confdefs.h. */
77497 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77498 For example, HP-UX 11i <limits.h> declares gettimeofday. */
77499 #define $ac_func innocuous_$ac_func
77500
77501 /* System header to define __stub macros and hopefully few prototypes,
77502 which can conflict with char $ac_func (); below.
77503 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77504 <limits.h> exists even on freestanding compilers. */
77505
77506 #ifdef __STDC__
77507 # include <limits.h>
77508 #else
77509 # include <assert.h>
77510 #endif
77511
77512 #undef $ac_func
77513
77514 /* Override any gcc2 internal prototype to avoid an error. */
77515 #ifdef __cplusplus
77516 extern "C"
77517 {
77518 #endif
77519 /* We use char because int might match the return type of a gcc2
77520 builtin and then its argument prototype would still apply. */
77521 char $ac_func ();
77522 /* The GNU C library defines this for functions which it implements
77523 to always fail with ENOSYS. Some functions are actually named
77524 something starting with __ and the normal name is an alias. */
77525 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77526 choke me
77527 #else
77528 char (*f) () = $ac_func;
77529 #endif
77530 #ifdef __cplusplus
77531 }
77532 #endif
77533
77534 int
77535 main ()
77536 {
77537 return f != $ac_func;
77538 ;
77539 return 0;
77540 }
77541 _ACEOF
77542 rm -f conftest.$ac_objext conftest$ac_exeext
77543 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77544 (eval $ac_link) 2>conftest.er1
77545 ac_status=$?
77546 grep -v '^ *+' conftest.er1 >conftest.err
77547 rm -f conftest.er1
77548 cat conftest.err >&5
77549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77550 (exit $ac_status); } &&
77551 { ac_try='test -z "$ac_c_werror_flag"
77552 || test ! -s conftest.err'
77553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77554 (eval $ac_try) 2>&5
77555 ac_status=$?
77556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77557 (exit $ac_status); }; } &&
77558 { ac_try='test -s conftest$ac_exeext'
77559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77560 (eval $ac_try) 2>&5
77561 ac_status=$?
77562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77563 (exit $ac_status); }; }; then
77564 eval "$as_ac_var=yes"
77565 else
77566 echo "$as_me: failed program was:" >&5
77567 sed 's/^/| /' conftest.$ac_ext >&5
77568
77569 eval "$as_ac_var=no"
77570 fi
77571 rm -f conftest.err conftest.$ac_objext \
77572 conftest$ac_exeext conftest.$ac_ext
77573 fi
77574 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
77575 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
77576 if test `eval echo '${'$as_ac_var'}'` = yes; then
77577 cat >>confdefs.h <<_ACEOF
77578 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
77579 _ACEOF
77580
77581 else
77582 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
77583 fi
77584 done
77585
77586 fi
77587
77588 # Used in libmath/Makefile.am.
77589 if test -n "$LIBMATHOBJS"; then
77590 need_libmath=yes
77591 fi
77592
77593
77594
77595
77596 enable_iconv=no
77597 # Only continue checking if the ISO C99 headers exist and support is on.
77598 if test x"$enable_wchar_t" = xyes; then
77599
77600 # Use iconv for wchar_t to char conversions. As such, check for
77601 # X/Open Portability Guide, version 2 features (XPG2).
77602 if test "${ac_cv_header_iconv_h+set}" = set; then
77603 echo "$as_me:$LINENO: checking for iconv.h" >&5
77604 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
77605 if test "${ac_cv_header_iconv_h+set}" = set; then
77606 echo $ECHO_N "(cached) $ECHO_C" >&6
77607 fi
77608 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
77609 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
77610 else
77611 # Is the header compilable?
77612 echo "$as_me:$LINENO: checking iconv.h usability" >&5
77613 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
77614 cat >conftest.$ac_ext <<_ACEOF
77615 /* confdefs.h. */
77616 _ACEOF
77617 cat confdefs.h >>conftest.$ac_ext
77618 cat >>conftest.$ac_ext <<_ACEOF
77619 /* end confdefs.h. */
77620 $ac_includes_default
77621 #include <iconv.h>
77622 _ACEOF
77623 rm -f conftest.$ac_objext
77624 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
77625 (eval $ac_compile) 2>conftest.er1
77626 ac_status=$?
77627 grep -v '^ *+' conftest.er1 >conftest.err
77628 rm -f conftest.er1
77629 cat conftest.err >&5
77630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77631 (exit $ac_status); } &&
77632 { ac_try='test -z "$ac_c_werror_flag"
77633 || test ! -s conftest.err'
77634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77635 (eval $ac_try) 2>&5
77636 ac_status=$?
77637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77638 (exit $ac_status); }; } &&
77639 { ac_try='test -s conftest.$ac_objext'
77640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77641 (eval $ac_try) 2>&5
77642 ac_status=$?
77643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77644 (exit $ac_status); }; }; then
77645 ac_header_compiler=yes
77646 else
77647 echo "$as_me: failed program was:" >&5
77648 sed 's/^/| /' conftest.$ac_ext >&5
77649
77650 ac_header_compiler=no
77651 fi
77652 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
77653 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
77654 echo "${ECHO_T}$ac_header_compiler" >&6
77655
77656 # Is the header present?
77657 echo "$as_me:$LINENO: checking iconv.h presence" >&5
77658 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
77659 cat >conftest.$ac_ext <<_ACEOF
77660 /* confdefs.h. */
77661 _ACEOF
77662 cat confdefs.h >>conftest.$ac_ext
77663 cat >>conftest.$ac_ext <<_ACEOF
77664 /* end confdefs.h. */
77665 #include <iconv.h>
77666 _ACEOF
77667 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
77668 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
77669 ac_status=$?
77670 grep -v '^ *+' conftest.er1 >conftest.err
77671 rm -f conftest.er1
77672 cat conftest.err >&5
77673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77674 (exit $ac_status); } >/dev/null; then
77675 if test -s conftest.err; then
77676 ac_cpp_err=$ac_c_preproc_warn_flag
77677 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
77678 else
77679 ac_cpp_err=
77680 fi
77681 else
77682 ac_cpp_err=yes
77683 fi
77684 if test -z "$ac_cpp_err"; then
77685 ac_header_preproc=yes
77686 else
77687 echo "$as_me: failed program was:" >&5
77688 sed 's/^/| /' conftest.$ac_ext >&5
77689
77690 ac_header_preproc=no
77691 fi
77692 rm -f conftest.err conftest.$ac_ext
77693 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
77694 echo "${ECHO_T}$ac_header_preproc" >&6
77695
77696 # So? What about this header?
77697 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
77698 yes:no: )
77699 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
77700 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
77701 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
77702 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
77703 ac_header_preproc=yes
77704 ;;
77705 no:yes:* )
77706 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
77707 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
77708 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
77709 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
77710 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
77711 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
77712 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
77713 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
77714 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
77715 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
77716 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
77717 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
77718 (
77719 cat <<\_ASBOX
77720 ## ----------------------------------------- ##
77721 ## Report this to the package-unused lists. ##
77722 ## ----------------------------------------- ##
77723 _ASBOX
77724 ) |
77725 sed "s/^/$as_me: WARNING: /" >&2
77726 ;;
77727 esac
77728 echo "$as_me:$LINENO: checking for iconv.h" >&5
77729 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
77730 if test "${ac_cv_header_iconv_h+set}" = set; then
77731 echo $ECHO_N "(cached) $ECHO_C" >&6
77732 else
77733 ac_cv_header_iconv_h=$ac_header_preproc
77734 fi
77735 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
77736 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
77737
77738 fi
77739 if test $ac_cv_header_iconv_h = yes; then
77740 ac_has_iconv_h=yes
77741 else
77742 ac_has_iconv_h=no
77743 fi
77744
77745
77746 if test "${ac_cv_header_langinfo_h+set}" = set; then
77747 echo "$as_me:$LINENO: checking for langinfo.h" >&5
77748 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
77749 if test "${ac_cv_header_langinfo_h+set}" = set; then
77750 echo $ECHO_N "(cached) $ECHO_C" >&6
77751 fi
77752 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
77753 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
77754 else
77755 # Is the header compilable?
77756 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
77757 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
77758 cat >conftest.$ac_ext <<_ACEOF
77759 /* confdefs.h. */
77760 _ACEOF
77761 cat confdefs.h >>conftest.$ac_ext
77762 cat >>conftest.$ac_ext <<_ACEOF
77763 /* end confdefs.h. */
77764 $ac_includes_default
77765 #include <langinfo.h>
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_c_werror_flag"
77777 || test ! -s conftest.err'
77778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77779 (eval $ac_try) 2>&5
77780 ac_status=$?
77781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77782 (exit $ac_status); }; } &&
77783 { ac_try='test -s conftest.$ac_objext'
77784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77785 (eval $ac_try) 2>&5
77786 ac_status=$?
77787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77788 (exit $ac_status); }; }; then
77789 ac_header_compiler=yes
77790 else
77791 echo "$as_me: failed program was:" >&5
77792 sed 's/^/| /' conftest.$ac_ext >&5
77793
77794 ac_header_compiler=no
77795 fi
77796 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
77797 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
77798 echo "${ECHO_T}$ac_header_compiler" >&6
77799
77800 # Is the header present?
77801 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
77802 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
77803 cat >conftest.$ac_ext <<_ACEOF
77804 /* confdefs.h. */
77805 _ACEOF
77806 cat confdefs.h >>conftest.$ac_ext
77807 cat >>conftest.$ac_ext <<_ACEOF
77808 /* end confdefs.h. */
77809 #include <langinfo.h>
77810 _ACEOF
77811 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
77812 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
77813 ac_status=$?
77814 grep -v '^ *+' conftest.er1 >conftest.err
77815 rm -f conftest.er1
77816 cat conftest.err >&5
77817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77818 (exit $ac_status); } >/dev/null; then
77819 if test -s conftest.err; then
77820 ac_cpp_err=$ac_c_preproc_warn_flag
77821 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
77822 else
77823 ac_cpp_err=
77824 fi
77825 else
77826 ac_cpp_err=yes
77827 fi
77828 if test -z "$ac_cpp_err"; then
77829 ac_header_preproc=yes
77830 else
77831 echo "$as_me: failed program was:" >&5
77832 sed 's/^/| /' conftest.$ac_ext >&5
77833
77834 ac_header_preproc=no
77835 fi
77836 rm -f conftest.err conftest.$ac_ext
77837 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
77838 echo "${ECHO_T}$ac_header_preproc" >&6
77839
77840 # So? What about this header?
77841 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
77842 yes:no: )
77843 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
77844 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
77845 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
77846 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
77847 ac_header_preproc=yes
77848 ;;
77849 no:yes:* )
77850 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
77851 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
77852 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
77853 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
77854 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
77855 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
77856 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
77857 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
77858 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
77859 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
77860 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
77861 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
77862 (
77863 cat <<\_ASBOX
77864 ## ----------------------------------------- ##
77865 ## Report this to the package-unused lists. ##
77866 ## ----------------------------------------- ##
77867 _ASBOX
77868 ) |
77869 sed "s/^/$as_me: WARNING: /" >&2
77870 ;;
77871 esac
77872 echo "$as_me:$LINENO: checking for langinfo.h" >&5
77873 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
77874 if test "${ac_cv_header_langinfo_h+set}" = set; then
77875 echo $ECHO_N "(cached) $ECHO_C" >&6
77876 else
77877 ac_cv_header_langinfo_h=$ac_header_preproc
77878 fi
77879 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
77880 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
77881
77882 fi
77883 if test $ac_cv_header_langinfo_h = yes; then
77884 ac_has_langinfo_h=yes
77885 else
77886 ac_has_langinfo_h=no
77887 fi
77888
77889
77890
77891 # Check for existence of libiconv.a providing XPG2 wchar_t support.
77892 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
77893 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
77894 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
77895 echo $ECHO_N "(cached) $ECHO_C" >&6
77896 else
77897 ac_check_lib_save_LIBS=$LIBS
77898 LIBS="-liconv $LIBS"
77899 if test x$gcc_no_link = xyes; then
77900 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77901 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77902 { (exit 1); exit 1; }; }
77903 fi
77904 cat >conftest.$ac_ext <<_ACEOF
77905 /* confdefs.h. */
77906 _ACEOF
77907 cat confdefs.h >>conftest.$ac_ext
77908 cat >>conftest.$ac_ext <<_ACEOF
77909 /* end confdefs.h. */
77910
77911 /* Override any gcc2 internal prototype to avoid an error. */
77912 #ifdef __cplusplus
77913 extern "C"
77914 #endif
77915 /* We use char because int might match the return type of a gcc2
77916 builtin and then its argument prototype would still apply. */
77917 char iconv ();
77918 int
77919 main ()
77920 {
77921 iconv ();
77922 ;
77923 return 0;
77924 }
77925 _ACEOF
77926 rm -f conftest.$ac_objext conftest$ac_exeext
77927 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77928 (eval $ac_link) 2>conftest.er1
77929 ac_status=$?
77930 grep -v '^ *+' conftest.er1 >conftest.err
77931 rm -f conftest.er1
77932 cat conftest.err >&5
77933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77934 (exit $ac_status); } &&
77935 { ac_try='test -z "$ac_c_werror_flag"
77936 || test ! -s conftest.err'
77937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77938 (eval $ac_try) 2>&5
77939 ac_status=$?
77940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77941 (exit $ac_status); }; } &&
77942 { ac_try='test -s conftest$ac_exeext'
77943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77944 (eval $ac_try) 2>&5
77945 ac_status=$?
77946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77947 (exit $ac_status); }; }; then
77948 ac_cv_lib_iconv_iconv=yes
77949 else
77950 echo "$as_me: failed program was:" >&5
77951 sed 's/^/| /' conftest.$ac_ext >&5
77952
77953 ac_cv_lib_iconv_iconv=no
77954 fi
77955 rm -f conftest.err conftest.$ac_objext \
77956 conftest$ac_exeext conftest.$ac_ext
77957 LIBS=$ac_check_lib_save_LIBS
77958 fi
77959 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
77960 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
77961 if test $ac_cv_lib_iconv_iconv = yes; then
77962 LIBICONV="-liconv"
77963 fi
77964
77965 ac_save_LIBS="$LIBS"
77966 LIBS="$LIBS $LIBICONV"
77967
77968
77969
77970
77971
77972
77973 for ac_func in iconv_open iconv_close iconv nl_langinfo
77974 do
77975 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77976 echo "$as_me:$LINENO: checking for $ac_func" >&5
77977 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77978 if eval "test \"\${$as_ac_var+set}\" = set"; then
77979 echo $ECHO_N "(cached) $ECHO_C" >&6
77980 else
77981 if test x$gcc_no_link = xyes; then
77982 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77983 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77984 { (exit 1); exit 1; }; }
77985 fi
77986 cat >conftest.$ac_ext <<_ACEOF
77987 /* confdefs.h. */
77988 _ACEOF
77989 cat confdefs.h >>conftest.$ac_ext
77990 cat >>conftest.$ac_ext <<_ACEOF
77991 /* end confdefs.h. */
77992 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77993 For example, HP-UX 11i <limits.h> declares gettimeofday. */
77994 #define $ac_func innocuous_$ac_func
77995
77996 /* System header to define __stub macros and hopefully few prototypes,
77997 which can conflict with char $ac_func (); below.
77998 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77999 <limits.h> exists even on freestanding compilers. */
78000
78001 #ifdef __STDC__
78002 # include <limits.h>
78003 #else
78004 # include <assert.h>
78005 #endif
78006
78007 #undef $ac_func
78008
78009 /* Override any gcc2 internal prototype to avoid an error. */
78010 #ifdef __cplusplus
78011 extern "C"
78012 {
78013 #endif
78014 /* We use char because int might match the return type of a gcc2
78015 builtin and then its argument prototype would still apply. */
78016 char $ac_func ();
78017 /* The GNU C library defines this for functions which it implements
78018 to always fail with ENOSYS. Some functions are actually named
78019 something starting with __ and the normal name is an alias. */
78020 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
78021 choke me
78022 #else
78023 char (*f) () = $ac_func;
78024 #endif
78025 #ifdef __cplusplus
78026 }
78027 #endif
78028
78029 int
78030 main ()
78031 {
78032 return f != $ac_func;
78033 ;
78034 return 0;
78035 }
78036 _ACEOF
78037 rm -f conftest.$ac_objext conftest$ac_exeext
78038 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78039 (eval $ac_link) 2>conftest.er1
78040 ac_status=$?
78041 grep -v '^ *+' conftest.er1 >conftest.err
78042 rm -f conftest.er1
78043 cat conftest.err >&5
78044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78045 (exit $ac_status); } &&
78046 { ac_try='test -z "$ac_c_werror_flag"
78047 || test ! -s conftest.err'
78048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78049 (eval $ac_try) 2>&5
78050 ac_status=$?
78051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78052 (exit $ac_status); }; } &&
78053 { ac_try='test -s conftest$ac_exeext'
78054 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78055 (eval $ac_try) 2>&5
78056 ac_status=$?
78057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78058 (exit $ac_status); }; }; then
78059 eval "$as_ac_var=yes"
78060 else
78061 echo "$as_me: failed program was:" >&5
78062 sed 's/^/| /' conftest.$ac_ext >&5
78063
78064 eval "$as_ac_var=no"
78065 fi
78066 rm -f conftest.err conftest.$ac_objext \
78067 conftest$ac_exeext conftest.$ac_ext
78068 fi
78069 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
78070 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
78071 if test `eval echo '${'$as_ac_var'}'` = yes; then
78072 cat >>confdefs.h <<_ACEOF
78073 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
78074 _ACEOF
78075 ac_XPG2funcs=yes
78076 else
78077 ac_XPG2funcs=no
78078 fi
78079 done
78080
78081
78082 LIBS="$ac_save_LIBS"
78083
78084 if test x"$ac_has_iconv_h" = xyes &&
78085 test x"$ac_has_langinfo_h" = xyes &&
78086 test x"$ac_XPG2funcs" = xyes;
78087 then
78088
78089 cat >>confdefs.h <<\_ACEOF
78090 #define _GLIBCXX_USE_ICONV 1
78091 _ACEOF
78092
78093 enable_iconv=yes
78094 fi
78095 fi
78096 echo "$as_me:$LINENO: checking for enabled iconv specializations" >&5
78097 echo $ECHO_N "checking for enabled iconv specializations... $ECHO_C" >&6
78098 echo "$as_me:$LINENO: result: $enable_iconv" >&5
78099 echo "${ECHO_T}$enable_iconv" >&6
78100
78101
78102 # For LFS.
78103 cat >>confdefs.h <<\_ACEOF
78104 #define HAVE_INT64_T 1
78105 _ACEOF
78106
78107 case "$target" in
78108 *-uclinux*)
78109 # Don't enable LFS with uClibc
78110 ;;
78111 *)
78112 cat >>confdefs.h <<\_ACEOF
78113 #define _GLIBCXX_USE_LFS 1
78114 _ACEOF
78115
78116 esac
78117
78118 # For showmanyc_helper().
78119
78120
78121 for ac_header in sys/ioctl.h sys/filio.h
78122 do
78123 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
78124 if eval "test \"\${$as_ac_Header+set}\" = set"; then
78125 echo "$as_me:$LINENO: checking for $ac_header" >&5
78126 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
78127 if eval "test \"\${$as_ac_Header+set}\" = set"; then
78128 echo $ECHO_N "(cached) $ECHO_C" >&6
78129 fi
78130 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
78131 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
78132 else
78133 # Is the header compilable?
78134 echo "$as_me:$LINENO: checking $ac_header usability" >&5
78135 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
78136 cat >conftest.$ac_ext <<_ACEOF
78137 /* confdefs.h. */
78138 _ACEOF
78139 cat confdefs.h >>conftest.$ac_ext
78140 cat >>conftest.$ac_ext <<_ACEOF
78141 /* end confdefs.h. */
78142 $ac_includes_default
78143 #include <$ac_header>
78144 _ACEOF
78145 rm -f conftest.$ac_objext
78146 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78147 (eval $ac_compile) 2>conftest.er1
78148 ac_status=$?
78149 grep -v '^ *+' conftest.er1 >conftest.err
78150 rm -f conftest.er1
78151 cat conftest.err >&5
78152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78153 (exit $ac_status); } &&
78154 { ac_try='test -z "$ac_c_werror_flag"
78155 || test ! -s conftest.err'
78156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78157 (eval $ac_try) 2>&5
78158 ac_status=$?
78159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78160 (exit $ac_status); }; } &&
78161 { ac_try='test -s conftest.$ac_objext'
78162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78163 (eval $ac_try) 2>&5
78164 ac_status=$?
78165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78166 (exit $ac_status); }; }; then
78167 ac_header_compiler=yes
78168 else
78169 echo "$as_me: failed program was:" >&5
78170 sed 's/^/| /' conftest.$ac_ext >&5
78171
78172 ac_header_compiler=no
78173 fi
78174 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
78175 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
78176 echo "${ECHO_T}$ac_header_compiler" >&6
78177
78178 # Is the header present?
78179 echo "$as_me:$LINENO: checking $ac_header presence" >&5
78180 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
78181 cat >conftest.$ac_ext <<_ACEOF
78182 /* confdefs.h. */
78183 _ACEOF
78184 cat confdefs.h >>conftest.$ac_ext
78185 cat >>conftest.$ac_ext <<_ACEOF
78186 /* end confdefs.h. */
78187 #include <$ac_header>
78188 _ACEOF
78189 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
78190 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
78191 ac_status=$?
78192 grep -v '^ *+' conftest.er1 >conftest.err
78193 rm -f conftest.er1
78194 cat conftest.err >&5
78195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78196 (exit $ac_status); } >/dev/null; then
78197 if test -s conftest.err; then
78198 ac_cpp_err=$ac_c_preproc_warn_flag
78199 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
78200 else
78201 ac_cpp_err=
78202 fi
78203 else
78204 ac_cpp_err=yes
78205 fi
78206 if test -z "$ac_cpp_err"; then
78207 ac_header_preproc=yes
78208 else
78209 echo "$as_me: failed program was:" >&5
78210 sed 's/^/| /' conftest.$ac_ext >&5
78211
78212 ac_header_preproc=no
78213 fi
78214 rm -f conftest.err conftest.$ac_ext
78215 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
78216 echo "${ECHO_T}$ac_header_preproc" >&6
78217
78218 # So? What about this header?
78219 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
78220 yes:no: )
78221 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
78222 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
78223 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
78224 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
78225 ac_header_preproc=yes
78226 ;;
78227 no:yes:* )
78228 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
78229 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
78230 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
78231 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
78232 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
78233 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
78234 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
78235 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
78236 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
78237 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
78238 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
78239 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
78240 (
78241 cat <<\_ASBOX
78242 ## ----------------------------------------- ##
78243 ## Report this to the package-unused lists. ##
78244 ## ----------------------------------------- ##
78245 _ASBOX
78246 ) |
78247 sed "s/^/$as_me: WARNING: /" >&2
78248 ;;
78249 esac
78250 echo "$as_me:$LINENO: checking for $ac_header" >&5
78251 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
78252 if eval "test \"\${$as_ac_Header+set}\" = set"; then
78253 echo $ECHO_N "(cached) $ECHO_C" >&6
78254 else
78255 eval "$as_ac_Header=\$ac_header_preproc"
78256 fi
78257 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
78258 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
78259
78260 fi
78261 if test `eval echo '${'$as_ac_Header'}'` = yes; then
78262 cat >>confdefs.h <<_ACEOF
78263 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
78264 _ACEOF
78265
78266 fi
78267
78268 done
78269
78270
78271 if test "${glibcxx_cv_POLL+set}" = set; then
78272 echo $ECHO_N "(cached) $ECHO_C" >&6
78273 else
78274
78275 if test x$gcc_no_link = xyes; then
78276 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78277 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78278 { (exit 1); exit 1; }; }
78279 fi
78280 cat >conftest.$ac_ext <<_ACEOF
78281 /* confdefs.h. */
78282 _ACEOF
78283 cat confdefs.h >>conftest.$ac_ext
78284 cat >>conftest.$ac_ext <<_ACEOF
78285 /* end confdefs.h. */
78286 #include <poll.h>
78287 int
78288 main ()
78289 {
78290 struct pollfd pfd[1];
78291 pfd[0].events = POLLIN;
78292 poll(pfd, 1, 0);
78293 ;
78294 return 0;
78295 }
78296 _ACEOF
78297 rm -f conftest.$ac_objext conftest$ac_exeext
78298 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78299 (eval $ac_link) 2>conftest.er1
78300 ac_status=$?
78301 grep -v '^ *+' conftest.er1 >conftest.err
78302 rm -f conftest.er1
78303 cat conftest.err >&5
78304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78305 (exit $ac_status); } &&
78306 { ac_try='test -z "$ac_c_werror_flag"
78307 || test ! -s conftest.err'
78308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78309 (eval $ac_try) 2>&5
78310 ac_status=$?
78311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78312 (exit $ac_status); }; } &&
78313 { ac_try='test -s conftest$ac_exeext'
78314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78315 (eval $ac_try) 2>&5
78316 ac_status=$?
78317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78318 (exit $ac_status); }; }; then
78319 glibcxx_cv_POLL=yes
78320 else
78321 echo "$as_me: failed program was:" >&5
78322 sed 's/^/| /' conftest.$ac_ext >&5
78323
78324 glibcxx_cv_POLL=no
78325 fi
78326 rm -f conftest.err conftest.$ac_objext \
78327 conftest$ac_exeext conftest.$ac_ext
78328
78329 fi
78330
78331 if test $glibcxx_cv_POLL = yes; then
78332
78333 cat >>confdefs.h <<\_ACEOF
78334 #define HAVE_POLL 1
78335 _ACEOF
78336
78337 fi
78338
78339
78340 if test "${glibcxx_cv_S_ISREG+set}" = set; then
78341 echo $ECHO_N "(cached) $ECHO_C" >&6
78342 else
78343
78344 if test x$gcc_no_link = xyes; then
78345 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78346 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78347 { (exit 1); exit 1; }; }
78348 fi
78349 cat >conftest.$ac_ext <<_ACEOF
78350 /* confdefs.h. */
78351 _ACEOF
78352 cat confdefs.h >>conftest.$ac_ext
78353 cat >>conftest.$ac_ext <<_ACEOF
78354 /* end confdefs.h. */
78355 #include <sys/stat.h>
78356 int
78357 main ()
78358 {
78359 struct stat buffer;
78360 fstat(0, &buffer);
78361 S_ISREG(buffer.st_mode);
78362 ;
78363 return 0;
78364 }
78365 _ACEOF
78366 rm -f conftest.$ac_objext conftest$ac_exeext
78367 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78368 (eval $ac_link) 2>conftest.er1
78369 ac_status=$?
78370 grep -v '^ *+' conftest.er1 >conftest.err
78371 rm -f conftest.er1
78372 cat conftest.err >&5
78373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78374 (exit $ac_status); } &&
78375 { ac_try='test -z "$ac_c_werror_flag"
78376 || test ! -s conftest.err'
78377 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78378 (eval $ac_try) 2>&5
78379 ac_status=$?
78380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78381 (exit $ac_status); }; } &&
78382 { ac_try='test -s conftest$ac_exeext'
78383 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78384 (eval $ac_try) 2>&5
78385 ac_status=$?
78386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78387 (exit $ac_status); }; }; then
78388 glibcxx_cv_S_ISREG=yes
78389 else
78390 echo "$as_me: failed program was:" >&5
78391 sed 's/^/| /' conftest.$ac_ext >&5
78392
78393 glibcxx_cv_S_ISREG=no
78394 fi
78395 rm -f conftest.err conftest.$ac_objext \
78396 conftest$ac_exeext conftest.$ac_ext
78397
78398 fi
78399
78400 if test "${glibcxx_cv_S_IFREG+set}" = set; then
78401 echo $ECHO_N "(cached) $ECHO_C" >&6
78402 else
78403
78404 if test x$gcc_no_link = xyes; then
78405 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78406 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78407 { (exit 1); exit 1; }; }
78408 fi
78409 cat >conftest.$ac_ext <<_ACEOF
78410 /* confdefs.h. */
78411 _ACEOF
78412 cat confdefs.h >>conftest.$ac_ext
78413 cat >>conftest.$ac_ext <<_ACEOF
78414 /* end confdefs.h. */
78415 #include <sys/stat.h>
78416 int
78417 main ()
78418 {
78419 struct stat buffer;
78420 fstat(0, &buffer);
78421 S_IFREG & buffer.st_mode;
78422 ;
78423 return 0;
78424 }
78425 _ACEOF
78426 rm -f conftest.$ac_objext conftest$ac_exeext
78427 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78428 (eval $ac_link) 2>conftest.er1
78429 ac_status=$?
78430 grep -v '^ *+' conftest.er1 >conftest.err
78431 rm -f conftest.er1
78432 cat conftest.err >&5
78433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78434 (exit $ac_status); } &&
78435 { ac_try='test -z "$ac_c_werror_flag"
78436 || test ! -s conftest.err'
78437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78438 (eval $ac_try) 2>&5
78439 ac_status=$?
78440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78441 (exit $ac_status); }; } &&
78442 { ac_try='test -s conftest$ac_exeext'
78443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78444 (eval $ac_try) 2>&5
78445 ac_status=$?
78446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78447 (exit $ac_status); }; }; then
78448 glibcxx_cv_S_IFREG=yes
78449 else
78450 echo "$as_me: failed program was:" >&5
78451 sed 's/^/| /' conftest.$ac_ext >&5
78452
78453 glibcxx_cv_S_IFREG=no
78454 fi
78455 rm -f conftest.err conftest.$ac_objext \
78456 conftest$ac_exeext conftest.$ac_ext
78457
78458 fi
78459
78460 if test $glibcxx_cv_S_ISREG = yes; then
78461
78462 cat >>confdefs.h <<\_ACEOF
78463 #define HAVE_S_ISREG 1
78464 _ACEOF
78465
78466 elif test $glibcxx_cv_S_IFREG = yes; then
78467
78468 cat >>confdefs.h <<\_ACEOF
78469 #define HAVE_S_IFREG 1
78470 _ACEOF
78471
78472 fi
78473
78474
78475 # For xsputn_2().
78476
78477 for ac_header in sys/uio.h
78478 do
78479 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
78480 if eval "test \"\${$as_ac_Header+set}\" = set"; then
78481 echo "$as_me:$LINENO: checking for $ac_header" >&5
78482 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
78483 if eval "test \"\${$as_ac_Header+set}\" = set"; then
78484 echo $ECHO_N "(cached) $ECHO_C" >&6
78485 fi
78486 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
78487 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
78488 else
78489 # Is the header compilable?
78490 echo "$as_me:$LINENO: checking $ac_header usability" >&5
78491 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
78492 cat >conftest.$ac_ext <<_ACEOF
78493 /* confdefs.h. */
78494 _ACEOF
78495 cat confdefs.h >>conftest.$ac_ext
78496 cat >>conftest.$ac_ext <<_ACEOF
78497 /* end confdefs.h. */
78498 $ac_includes_default
78499 #include <$ac_header>
78500 _ACEOF
78501 rm -f conftest.$ac_objext
78502 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78503 (eval $ac_compile) 2>conftest.er1
78504 ac_status=$?
78505 grep -v '^ *+' conftest.er1 >conftest.err
78506 rm -f conftest.er1
78507 cat conftest.err >&5
78508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78509 (exit $ac_status); } &&
78510 { ac_try='test -z "$ac_c_werror_flag"
78511 || test ! -s conftest.err'
78512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78513 (eval $ac_try) 2>&5
78514 ac_status=$?
78515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78516 (exit $ac_status); }; } &&
78517 { ac_try='test -s conftest.$ac_objext'
78518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78519 (eval $ac_try) 2>&5
78520 ac_status=$?
78521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78522 (exit $ac_status); }; }; then
78523 ac_header_compiler=yes
78524 else
78525 echo "$as_me: failed program was:" >&5
78526 sed 's/^/| /' conftest.$ac_ext >&5
78527
78528 ac_header_compiler=no
78529 fi
78530 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
78531 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
78532 echo "${ECHO_T}$ac_header_compiler" >&6
78533
78534 # Is the header present?
78535 echo "$as_me:$LINENO: checking $ac_header presence" >&5
78536 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
78537 cat >conftest.$ac_ext <<_ACEOF
78538 /* confdefs.h. */
78539 _ACEOF
78540 cat confdefs.h >>conftest.$ac_ext
78541 cat >>conftest.$ac_ext <<_ACEOF
78542 /* end confdefs.h. */
78543 #include <$ac_header>
78544 _ACEOF
78545 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
78546 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
78547 ac_status=$?
78548 grep -v '^ *+' conftest.er1 >conftest.err
78549 rm -f conftest.er1
78550 cat conftest.err >&5
78551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78552 (exit $ac_status); } >/dev/null; then
78553 if test -s conftest.err; then
78554 ac_cpp_err=$ac_c_preproc_warn_flag
78555 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
78556 else
78557 ac_cpp_err=
78558 fi
78559 else
78560 ac_cpp_err=yes
78561 fi
78562 if test -z "$ac_cpp_err"; then
78563 ac_header_preproc=yes
78564 else
78565 echo "$as_me: failed program was:" >&5
78566 sed 's/^/| /' conftest.$ac_ext >&5
78567
78568 ac_header_preproc=no
78569 fi
78570 rm -f conftest.err conftest.$ac_ext
78571 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
78572 echo "${ECHO_T}$ac_header_preproc" >&6
78573
78574 # So? What about this header?
78575 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
78576 yes:no: )
78577 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
78578 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
78579 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
78580 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
78581 ac_header_preproc=yes
78582 ;;
78583 no:yes:* )
78584 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
78585 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
78586 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
78587 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
78588 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
78589 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
78590 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
78591 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
78592 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
78593 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
78594 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
78595 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
78596 (
78597 cat <<\_ASBOX
78598 ## ----------------------------------------- ##
78599 ## Report this to the package-unused lists. ##
78600 ## ----------------------------------------- ##
78601 _ASBOX
78602 ) |
78603 sed "s/^/$as_me: WARNING: /" >&2
78604 ;;
78605 esac
78606 echo "$as_me:$LINENO: checking for $ac_header" >&5
78607 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
78608 if eval "test \"\${$as_ac_Header+set}\" = set"; then
78609 echo $ECHO_N "(cached) $ECHO_C" >&6
78610 else
78611 eval "$as_ac_Header=\$ac_header_preproc"
78612 fi
78613 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
78614 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
78615
78616 fi
78617 if test `eval echo '${'$as_ac_Header'}'` = yes; then
78618 cat >>confdefs.h <<_ACEOF
78619 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
78620 _ACEOF
78621
78622 fi
78623
78624 done
78625
78626
78627 if test "${glibcxx_cv_WRITEV+set}" = set; then
78628 echo $ECHO_N "(cached) $ECHO_C" >&6
78629 else
78630
78631 if test x$gcc_no_link = xyes; then
78632 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78633 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78634 { (exit 1); exit 1; }; }
78635 fi
78636 cat >conftest.$ac_ext <<_ACEOF
78637 /* confdefs.h. */
78638 _ACEOF
78639 cat confdefs.h >>conftest.$ac_ext
78640 cat >>conftest.$ac_ext <<_ACEOF
78641 /* end confdefs.h. */
78642 #include <sys/uio.h>
78643 int
78644 main ()
78645 {
78646 struct iovec iov[2];
78647 writev(0, iov, 0);
78648 ;
78649 return 0;
78650 }
78651 _ACEOF
78652 rm -f conftest.$ac_objext conftest$ac_exeext
78653 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78654 (eval $ac_link) 2>conftest.er1
78655 ac_status=$?
78656 grep -v '^ *+' conftest.er1 >conftest.err
78657 rm -f conftest.er1
78658 cat conftest.err >&5
78659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78660 (exit $ac_status); } &&
78661 { ac_try='test -z "$ac_c_werror_flag"
78662 || test ! -s conftest.err'
78663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78664 (eval $ac_try) 2>&5
78665 ac_status=$?
78666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78667 (exit $ac_status); }; } &&
78668 { ac_try='test -s conftest$ac_exeext'
78669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78670 (eval $ac_try) 2>&5
78671 ac_status=$?
78672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78673 (exit $ac_status); }; }; then
78674 glibcxx_cv_WRITEV=yes
78675 else
78676 echo "$as_me: failed program was:" >&5
78677 sed 's/^/| /' conftest.$ac_ext >&5
78678
78679 glibcxx_cv_WRITEV=no
78680 fi
78681 rm -f conftest.err conftest.$ac_objext \
78682 conftest$ac_exeext conftest.$ac_ext
78683
78684 fi
78685
78686 if test $glibcxx_cv_WRITEV = yes; then
78687
78688 cat >>confdefs.h <<\_ACEOF
78689 #define HAVE_WRITEV 1
78690 _ACEOF
78691
78692 fi
78693
78694
78695 cat >>confdefs.h <<\_ACEOF
78696 #define HAVE_ACOSF 1
78697 _ACEOF
78698
78699 cat >>confdefs.h <<\_ACEOF
78700 #define HAVE_ASINF 1
78701 _ACEOF
78702
78703 cat >>confdefs.h <<\_ACEOF
78704 #define HAVE_ATANF 1
78705 _ACEOF
78706
78707 cat >>confdefs.h <<\_ACEOF
78708 #define HAVE_ATAN2F 1
78709 _ACEOF
78710
78711 cat >>confdefs.h <<\_ACEOF
78712 #define HAVE_CEILF 1
78713 _ACEOF
78714
78715 cat >>confdefs.h <<\_ACEOF
78716 #define HAVE_COPYSIGN 1
78717 _ACEOF
78718
78719 cat >>confdefs.h <<\_ACEOF
78720 #define HAVE_COPYSIGNF 1
78721 _ACEOF
78722
78723 cat >>confdefs.h <<\_ACEOF
78724 #define HAVE_COSF 1
78725 _ACEOF
78726
78727 cat >>confdefs.h <<\_ACEOF
78728 #define HAVE_COSHF 1
78729 _ACEOF
78730
78731 cat >>confdefs.h <<\_ACEOF
78732 #define HAVE_EXPF 1
78733 _ACEOF
78734
78735 cat >>confdefs.h <<\_ACEOF
78736 #define HAVE_FABSF 1
78737 _ACEOF
78738
78739 cat >>confdefs.h <<\_ACEOF
78740 #define HAVE_FINITE 1
78741 _ACEOF
78742
78743 cat >>confdefs.h <<\_ACEOF
78744 #define HAVE_FINITEF 1
78745 _ACEOF
78746
78747 cat >>confdefs.h <<\_ACEOF
78748 #define HAVE_FLOORF 1
78749 _ACEOF
78750
78751 cat >>confdefs.h <<\_ACEOF
78752 #define HAVE_FMODF 1
78753 _ACEOF
78754
78755 cat >>confdefs.h <<\_ACEOF
78756 #define HAVE_FREXPF 1
78757 _ACEOF
78758
78759 cat >>confdefs.h <<\_ACEOF
78760 #define HAVE_HYPOT 1
78761 _ACEOF
78762
78763 cat >>confdefs.h <<\_ACEOF
78764 #define HAVE_HYPOTF 1
78765 _ACEOF
78766
78767 cat >>confdefs.h <<\_ACEOF
78768 #define HAVE_ISINF 1
78769 _ACEOF
78770
78771 cat >>confdefs.h <<\_ACEOF
78772 #define HAVE_ISINFF 1
78773 _ACEOF
78774
78775 cat >>confdefs.h <<\_ACEOF
78776 #define HAVE_ISNAN 1
78777 _ACEOF
78778
78779 cat >>confdefs.h <<\_ACEOF
78780 #define HAVE_ISNANF 1
78781 _ACEOF
78782
78783 cat >>confdefs.h <<\_ACEOF
78784 #define HAVE_LOGF 1
78785 _ACEOF
78786
78787 cat >>confdefs.h <<\_ACEOF
78788 #define HAVE_LOG10F 1
78789 _ACEOF
78790
78791 cat >>confdefs.h <<\_ACEOF
78792 #define HAVE_MODFF 1
78793 _ACEOF
78794
78795 cat >>confdefs.h <<\_ACEOF
78796 #define HAVE_SINF 1
78797 _ACEOF
78798
78799 cat >>confdefs.h <<\_ACEOF
78800 #define HAVE_SINHF 1
78801 _ACEOF
78802
78803 cat >>confdefs.h <<\_ACEOF
78804 #define HAVE_SINCOS 1
78805 _ACEOF
78806
78807 cat >>confdefs.h <<\_ACEOF
78808 #define HAVE_SINCOSF 1
78809 _ACEOF
78810
78811 cat >>confdefs.h <<\_ACEOF
78812 #define HAVE_SQRTF 1
78813 _ACEOF
78814
78815 cat >>confdefs.h <<\_ACEOF
78816 #define HAVE_TANF 1
78817 _ACEOF
78818
78819 cat >>confdefs.h <<\_ACEOF
78820 #define HAVE_TANHF 1
78821 _ACEOF
78822
78823 if test x"long_double_math_on_this_cpu" = x"yes"; then
78824 cat >>confdefs.h <<\_ACEOF
78825 #define HAVE_ACOSL 1
78826 _ACEOF
78827
78828 cat >>confdefs.h <<\_ACEOF
78829 #define HAVE_ASINL 1
78830 _ACEOF
78831
78832 cat >>confdefs.h <<\_ACEOF
78833 #define HAVE_ATANL 1
78834 _ACEOF
78835
78836 cat >>confdefs.h <<\_ACEOF
78837 #define HAVE_ATAN2L 1
78838 _ACEOF
78839
78840 cat >>confdefs.h <<\_ACEOF
78841 #define HAVE_CEILL 1
78842 _ACEOF
78843
78844 cat >>confdefs.h <<\_ACEOF
78845 #define HAVE_COPYSIGNL 1
78846 _ACEOF
78847
78848 cat >>confdefs.h <<\_ACEOF
78849 #define HAVE_COSL 1
78850 _ACEOF
78851
78852 cat >>confdefs.h <<\_ACEOF
78853 #define HAVE_COSHL 1
78854 _ACEOF
78855
78856 cat >>confdefs.h <<\_ACEOF
78857 #define HAVE_EXPL 1
78858 _ACEOF
78859
78860 cat >>confdefs.h <<\_ACEOF
78861 #define HAVE_FABSL 1
78862 _ACEOF
78863
78864 cat >>confdefs.h <<\_ACEOF
78865 #define HAVE_FINITEL 1
78866 _ACEOF
78867
78868 cat >>confdefs.h <<\_ACEOF
78869 #define HAVE_FLOORL 1
78870 _ACEOF
78871
78872 cat >>confdefs.h <<\_ACEOF
78873 #define HAVE_FMODL 1
78874 _ACEOF
78875
78876 cat >>confdefs.h <<\_ACEOF
78877 #define HAVE_FREXPL 1
78878 _ACEOF
78879
78880 cat >>confdefs.h <<\_ACEOF
78881 #define HAVE_HYPOTL 1
78882 _ACEOF
78883
78884 cat >>confdefs.h <<\_ACEOF
78885 #define HAVE_ISINFL 1
78886 _ACEOF
78887
78888 cat >>confdefs.h <<\_ACEOF
78889 #define HAVE_ISNANL 1
78890 _ACEOF
78891
78892 cat >>confdefs.h <<\_ACEOF
78893 #define HAVE_LOGL 1
78894 _ACEOF
78895
78896 cat >>confdefs.h <<\_ACEOF
78897 #define HAVE_LOG10L 1
78898 _ACEOF
78899
78900 cat >>confdefs.h <<\_ACEOF
78901 #define HAVE_MODFL 1
78902 _ACEOF
78903
78904 cat >>confdefs.h <<\_ACEOF
78905 #define HAVE_POWL 1
78906 _ACEOF
78907
78908 cat >>confdefs.h <<\_ACEOF
78909 #define HAVE_SINL 1
78910 _ACEOF
78911
78912 cat >>confdefs.h <<\_ACEOF
78913 #define HAVE_SINHL 1
78914 _ACEOF
78915
78916 cat >>confdefs.h <<\_ACEOF
78917 #define HAVE_SINCOSL 1
78918 _ACEOF
78919
78920 cat >>confdefs.h <<\_ACEOF
78921 #define HAVE_SQRTL 1
78922 _ACEOF
78923
78924 cat >>confdefs.h <<\_ACEOF
78925 #define HAVE_TANL 1
78926 _ACEOF
78927
78928 cat >>confdefs.h <<\_ACEOF
78929 #define HAVE_TANHL 1
78930 _ACEOF
78931
78932 fi
78933 ;;
78934 *-mingw32*)
78935
78936
78937
78938 for ac_header in sys/types.h locale.h float.h
78939 do
78940 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
78941 if eval "test \"\${$as_ac_Header+set}\" = set"; then
78942 echo "$as_me:$LINENO: checking for $ac_header" >&5
78943 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
78944 if eval "test \"\${$as_ac_Header+set}\" = set"; then
78945 echo $ECHO_N "(cached) $ECHO_C" >&6
78946 fi
78947 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
78948 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
78949 else
78950 # Is the header compilable?
78951 echo "$as_me:$LINENO: checking $ac_header usability" >&5
78952 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
78953 cat >conftest.$ac_ext <<_ACEOF
78954 /* confdefs.h. */
78955 _ACEOF
78956 cat confdefs.h >>conftest.$ac_ext
78957 cat >>conftest.$ac_ext <<_ACEOF
78958 /* end confdefs.h. */
78959 $ac_includes_default
78960 #include <$ac_header>
78961 _ACEOF
78962 rm -f conftest.$ac_objext
78963 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78964 (eval $ac_compile) 2>conftest.er1
78965 ac_status=$?
78966 grep -v '^ *+' conftest.er1 >conftest.err
78967 rm -f conftest.er1
78968 cat conftest.err >&5
78969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78970 (exit $ac_status); } &&
78971 { ac_try='test -z "$ac_c_werror_flag"
78972 || test ! -s conftest.err'
78973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78974 (eval $ac_try) 2>&5
78975 ac_status=$?
78976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78977 (exit $ac_status); }; } &&
78978 { ac_try='test -s conftest.$ac_objext'
78979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78980 (eval $ac_try) 2>&5
78981 ac_status=$?
78982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78983 (exit $ac_status); }; }; then
78984 ac_header_compiler=yes
78985 else
78986 echo "$as_me: failed program was:" >&5
78987 sed 's/^/| /' conftest.$ac_ext >&5
78988
78989 ac_header_compiler=no
78990 fi
78991 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
78992 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
78993 echo "${ECHO_T}$ac_header_compiler" >&6
78994
78995 # Is the header present?
78996 echo "$as_me:$LINENO: checking $ac_header presence" >&5
78997 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
78998 cat >conftest.$ac_ext <<_ACEOF
78999 /* confdefs.h. */
79000 _ACEOF
79001 cat confdefs.h >>conftest.$ac_ext
79002 cat >>conftest.$ac_ext <<_ACEOF
79003 /* end confdefs.h. */
79004 #include <$ac_header>
79005 _ACEOF
79006 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
79007 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
79008 ac_status=$?
79009 grep -v '^ *+' conftest.er1 >conftest.err
79010 rm -f conftest.er1
79011 cat conftest.err >&5
79012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79013 (exit $ac_status); } >/dev/null; then
79014 if test -s conftest.err; then
79015 ac_cpp_err=$ac_c_preproc_warn_flag
79016 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
79017 else
79018 ac_cpp_err=
79019 fi
79020 else
79021 ac_cpp_err=yes
79022 fi
79023 if test -z "$ac_cpp_err"; then
79024 ac_header_preproc=yes
79025 else
79026 echo "$as_me: failed program was:" >&5
79027 sed 's/^/| /' conftest.$ac_ext >&5
79028
79029 ac_header_preproc=no
79030 fi
79031 rm -f conftest.err conftest.$ac_ext
79032 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
79033 echo "${ECHO_T}$ac_header_preproc" >&6
79034
79035 # So? What about this header?
79036 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
79037 yes:no: )
79038 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
79039 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
79040 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
79041 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
79042 ac_header_preproc=yes
79043 ;;
79044 no:yes:* )
79045 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
79046 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
79047 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
79048 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
79049 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
79050 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
79051 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
79052 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
79053 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
79054 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
79055 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
79056 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
79057 (
79058 cat <<\_ASBOX
79059 ## ----------------------------------------- ##
79060 ## Report this to the package-unused lists. ##
79061 ## ----------------------------------------- ##
79062 _ASBOX
79063 ) |
79064 sed "s/^/$as_me: WARNING: /" >&2
79065 ;;
79066 esac
79067 echo "$as_me:$LINENO: checking for $ac_header" >&5
79068 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
79069 if eval "test \"\${$as_ac_Header+set}\" = set"; then
79070 echo $ECHO_N "(cached) $ECHO_C" >&6
79071 else
79072 eval "$as_ac_Header=\$ac_header_preproc"
79073 fi
79074 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
79075 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
79076
79077 fi
79078 if test `eval echo '${'$as_ac_Header'}'` = yes; then
79079 cat >>confdefs.h <<_ACEOF
79080 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
79081 _ACEOF
79082
79083 fi
79084
79085 done
79086
79087
79088 # If we're not using GNU ld, then there's no point in even trying these
79089 # tests. Check for that first. We should have already tested for gld
79090 # by now (in libtool), but require it now just to be safe...
79091 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
79092 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
79093
79094
79095
79096 # The name set by libtool depends on the version of libtool. Shame on us
79097 # for depending on an impl detail, but c'est la vie. Older versions used
79098 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
79099 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
79100 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
79101 # set (hence we're using an older libtool), then set it.
79102 if test x${with_gnu_ld+set} != xset; then
79103 if test x${ac_cv_prog_gnu_ld+set} != xset; then
79104 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
79105 with_gnu_ld=no
79106 else
79107 with_gnu_ld=$ac_cv_prog_gnu_ld
79108 fi
79109 fi
79110
79111 # Start by getting the version number. I think the libtool test already
79112 # does some of this, but throws away the result.
79113
79114 ldver=`$LD --version 2>/dev/null | head -1 | \
79115 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
79116
79117 glibcxx_gnu_ld_version=`echo $ldver | \
79118 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
79119
79120 # Set --gc-sections.
79121 if test "$with_gnu_ld" = "notbroken"; then
79122 # GNU ld it is! Joy and bunny rabbits!
79123
79124 # All these tests are for C++; save the language and the compiler flags.
79125 # Need to do this so that g++ won't try to link in libstdc++
79126 ac_test_CFLAGS="${CFLAGS+set}"
79127 ac_save_CFLAGS="$CFLAGS"
79128 CFLAGS='-x c++ -Wl,--gc-sections'
79129
79130 # Check for -Wl,--gc-sections
79131 # XXX This test is broken at the moment, as symbols required for linking
79132 # are now in libsupc++ (not built yet). In addition, this test has
79133 # cored on solaris in the past. In addition, --gc-sections doesn't
79134 # really work at the moment (keeps on discarding used sections, first
79135 # .eh_frame and now some of the glibc sections for iconv).
79136 # Bzzzzt. Thanks for playing, maybe next time.
79137 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
79138 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
79139 if test "$cross_compiling" = yes; then
79140 ac_sectionLDflags=yes
79141 else
79142 cat >conftest.$ac_ext <<_ACEOF
79143 /* confdefs.h. */
79144 _ACEOF
79145 cat confdefs.h >>conftest.$ac_ext
79146 cat >>conftest.$ac_ext <<_ACEOF
79147 /* end confdefs.h. */
79148
79149 int main(void)
79150 {
79151 try { throw 1; }
79152 catch (...) { };
79153 return 0;
79154 }
79155
79156 _ACEOF
79157 rm -f conftest$ac_exeext
79158 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79159 (eval $ac_link) 2>&5
79160 ac_status=$?
79161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79162 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
79163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79164 (eval $ac_try) 2>&5
79165 ac_status=$?
79166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79167 (exit $ac_status); }; }; then
79168 ac_sectionLDflags=yes
79169 else
79170 echo "$as_me: program exited with status $ac_status" >&5
79171 echo "$as_me: failed program was:" >&5
79172 sed 's/^/| /' conftest.$ac_ext >&5
79173
79174 ( exit $ac_status )
79175 ac_sectionLDflags=no
79176 fi
79177 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
79178 fi
79179 if test "$ac_test_CFLAGS" = set; then
79180 CFLAGS="$ac_save_CFLAGS"
79181 else
79182 # this is the suspicious part
79183 CFLAGS=''
79184 fi
79185 if test "$ac_sectionLDflags" = "yes"; then
79186 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
79187 fi
79188 echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
79189 echo "${ECHO_T}$ac_sectionLDflags" >&6
79190 fi
79191
79192 # Set linker optimization flags.
79193 if test x"$with_gnu_ld" = x"yes"; then
79194 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
79195 fi
79196
79197
79198
79199
79200
79201
79202 echo "$as_me:$LINENO: checking for main in -lm" >&5
79203 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
79204 if test "${ac_cv_lib_m_main+set}" = set; then
79205 echo $ECHO_N "(cached) $ECHO_C" >&6
79206 else
79207 ac_check_lib_save_LIBS=$LIBS
79208 LIBS="-lm $LIBS"
79209 if test x$gcc_no_link = xyes; then
79210 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79211 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79212 { (exit 1); exit 1; }; }
79213 fi
79214 cat >conftest.$ac_ext <<_ACEOF
79215 /* confdefs.h. */
79216 _ACEOF
79217 cat confdefs.h >>conftest.$ac_ext
79218 cat >>conftest.$ac_ext <<_ACEOF
79219 /* end confdefs.h. */
79220
79221
79222 int
79223 main ()
79224 {
79225 main ();
79226 ;
79227 return 0;
79228 }
79229 _ACEOF
79230 rm -f conftest.$ac_objext conftest$ac_exeext
79231 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79232 (eval $ac_link) 2>conftest.er1
79233 ac_status=$?
79234 grep -v '^ *+' conftest.er1 >conftest.err
79235 rm -f conftest.er1
79236 cat conftest.err >&5
79237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79238 (exit $ac_status); } &&
79239 { ac_try='test -z "$ac_c_werror_flag"
79240 || test ! -s conftest.err'
79241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79242 (eval $ac_try) 2>&5
79243 ac_status=$?
79244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79245 (exit $ac_status); }; } &&
79246 { ac_try='test -s conftest$ac_exeext'
79247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79248 (eval $ac_try) 2>&5
79249 ac_status=$?
79250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79251 (exit $ac_status); }; }; then
79252 ac_cv_lib_m_main=yes
79253 else
79254 echo "$as_me: failed program was:" >&5
79255 sed 's/^/| /' conftest.$ac_ext >&5
79256
79257 ac_cv_lib_m_main=no
79258 fi
79259 rm -f conftest.err conftest.$ac_objext \
79260 conftest$ac_exeext conftest.$ac_ext
79261 LIBS=$ac_check_lib_save_LIBS
79262 fi
79263 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
79264 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
79265 if test $ac_cv_lib_m_main = yes; then
79266 cat >>confdefs.h <<_ACEOF
79267 #define HAVE_LIBM 1
79268 _ACEOF
79269
79270 LIBS="-lm $LIBS"
79271
79272 fi
79273
79274
79275 for ac_func in copysignf
79276 do
79277 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79278 echo "$as_me:$LINENO: checking for $ac_func" >&5
79279 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79280 if eval "test \"\${$as_ac_var+set}\" = set"; then
79281 echo $ECHO_N "(cached) $ECHO_C" >&6
79282 else
79283 if test x$gcc_no_link = xyes; then
79284 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79285 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79286 { (exit 1); exit 1; }; }
79287 fi
79288 cat >conftest.$ac_ext <<_ACEOF
79289 /* confdefs.h. */
79290 _ACEOF
79291 cat confdefs.h >>conftest.$ac_ext
79292 cat >>conftest.$ac_ext <<_ACEOF
79293 /* end confdefs.h. */
79294 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79295 For example, HP-UX 11i <limits.h> declares gettimeofday. */
79296 #define $ac_func innocuous_$ac_func
79297
79298 /* System header to define __stub macros and hopefully few prototypes,
79299 which can conflict with char $ac_func (); below.
79300 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79301 <limits.h> exists even on freestanding compilers. */
79302
79303 #ifdef __STDC__
79304 # include <limits.h>
79305 #else
79306 # include <assert.h>
79307 #endif
79308
79309 #undef $ac_func
79310
79311 /* Override any gcc2 internal prototype to avoid an error. */
79312 #ifdef __cplusplus
79313 extern "C"
79314 {
79315 #endif
79316 /* We use char because int might match the return type of a gcc2
79317 builtin and then its argument prototype would still apply. */
79318 char $ac_func ();
79319 /* The GNU C library defines this for functions which it implements
79320 to always fail with ENOSYS. Some functions are actually named
79321 something starting with __ and the normal name is an alias. */
79322 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79323 choke me
79324 #else
79325 char (*f) () = $ac_func;
79326 #endif
79327 #ifdef __cplusplus
79328 }
79329 #endif
79330
79331 int
79332 main ()
79333 {
79334 return f != $ac_func;
79335 ;
79336 return 0;
79337 }
79338 _ACEOF
79339 rm -f conftest.$ac_objext conftest$ac_exeext
79340 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79341 (eval $ac_link) 2>conftest.er1
79342 ac_status=$?
79343 grep -v '^ *+' conftest.er1 >conftest.err
79344 rm -f conftest.er1
79345 cat conftest.err >&5
79346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79347 (exit $ac_status); } &&
79348 { ac_try='test -z "$ac_c_werror_flag"
79349 || test ! -s conftest.err'
79350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79351 (eval $ac_try) 2>&5
79352 ac_status=$?
79353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79354 (exit $ac_status); }; } &&
79355 { ac_try='test -s conftest$ac_exeext'
79356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79357 (eval $ac_try) 2>&5
79358 ac_status=$?
79359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79360 (exit $ac_status); }; }; then
79361 eval "$as_ac_var=yes"
79362 else
79363 echo "$as_me: failed program was:" >&5
79364 sed 's/^/| /' conftest.$ac_ext >&5
79365
79366 eval "$as_ac_var=no"
79367 fi
79368 rm -f conftest.err conftest.$ac_objext \
79369 conftest$ac_exeext conftest.$ac_ext
79370 fi
79371 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79372 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79373 if test `eval echo '${'$as_ac_var'}'` = yes; then
79374 cat >>confdefs.h <<_ACEOF
79375 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79376 _ACEOF
79377
79378 else
79379 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
79380 fi
79381 done
79382
79383
79384
79385 for ac_func in __signbit
79386 do
79387 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79388 echo "$as_me:$LINENO: checking for $ac_func" >&5
79389 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79390 if eval "test \"\${$as_ac_var+set}\" = set"; then
79391 echo $ECHO_N "(cached) $ECHO_C" >&6
79392 else
79393 if test x$gcc_no_link = xyes; then
79394 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79395 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79396 { (exit 1); exit 1; }; }
79397 fi
79398 cat >conftest.$ac_ext <<_ACEOF
79399 /* confdefs.h. */
79400 _ACEOF
79401 cat confdefs.h >>conftest.$ac_ext
79402 cat >>conftest.$ac_ext <<_ACEOF
79403 /* end confdefs.h. */
79404 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79405 For example, HP-UX 11i <limits.h> declares gettimeofday. */
79406 #define $ac_func innocuous_$ac_func
79407
79408 /* System header to define __stub macros and hopefully few prototypes,
79409 which can conflict with char $ac_func (); below.
79410 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79411 <limits.h> exists even on freestanding compilers. */
79412
79413 #ifdef __STDC__
79414 # include <limits.h>
79415 #else
79416 # include <assert.h>
79417 #endif
79418
79419 #undef $ac_func
79420
79421 /* Override any gcc2 internal prototype to avoid an error. */
79422 #ifdef __cplusplus
79423 extern "C"
79424 {
79425 #endif
79426 /* We use char because int might match the return type of a gcc2
79427 builtin and then its argument prototype would still apply. */
79428 char $ac_func ();
79429 /* The GNU C library defines this for functions which it implements
79430 to always fail with ENOSYS. Some functions are actually named
79431 something starting with __ and the normal name is an alias. */
79432 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79433 choke me
79434 #else
79435 char (*f) () = $ac_func;
79436 #endif
79437 #ifdef __cplusplus
79438 }
79439 #endif
79440
79441 int
79442 main ()
79443 {
79444 return f != $ac_func;
79445 ;
79446 return 0;
79447 }
79448 _ACEOF
79449 rm -f conftest.$ac_objext conftest$ac_exeext
79450 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79451 (eval $ac_link) 2>conftest.er1
79452 ac_status=$?
79453 grep -v '^ *+' conftest.er1 >conftest.err
79454 rm -f conftest.er1
79455 cat conftest.err >&5
79456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79457 (exit $ac_status); } &&
79458 { ac_try='test -z "$ac_c_werror_flag"
79459 || test ! -s conftest.err'
79460 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79461 (eval $ac_try) 2>&5
79462 ac_status=$?
79463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79464 (exit $ac_status); }; } &&
79465 { ac_try='test -s conftest$ac_exeext'
79466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79467 (eval $ac_try) 2>&5
79468 ac_status=$?
79469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79470 (exit $ac_status); }; }; then
79471 eval "$as_ac_var=yes"
79472 else
79473 echo "$as_me: failed program was:" >&5
79474 sed 's/^/| /' conftest.$ac_ext >&5
79475
79476 eval "$as_ac_var=no"
79477 fi
79478 rm -f conftest.err conftest.$ac_objext \
79479 conftest$ac_exeext conftest.$ac_ext
79480 fi
79481 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79482 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79483 if test `eval echo '${'$as_ac_var'}'` = yes; then
79484 cat >>confdefs.h <<_ACEOF
79485 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79486 _ACEOF
79487
79488 else
79489 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
79490 fi
79491 done
79492
79493
79494
79495 for ac_func in __signbitf
79496 do
79497 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79498 echo "$as_me:$LINENO: checking for $ac_func" >&5
79499 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79500 if eval "test \"\${$as_ac_var+set}\" = set"; then
79501 echo $ECHO_N "(cached) $ECHO_C" >&6
79502 else
79503 if test x$gcc_no_link = xyes; then
79504 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79505 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79506 { (exit 1); exit 1; }; }
79507 fi
79508 cat >conftest.$ac_ext <<_ACEOF
79509 /* confdefs.h. */
79510 _ACEOF
79511 cat confdefs.h >>conftest.$ac_ext
79512 cat >>conftest.$ac_ext <<_ACEOF
79513 /* end confdefs.h. */
79514 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79515 For example, HP-UX 11i <limits.h> declares gettimeofday. */
79516 #define $ac_func innocuous_$ac_func
79517
79518 /* System header to define __stub macros and hopefully few prototypes,
79519 which can conflict with char $ac_func (); below.
79520 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79521 <limits.h> exists even on freestanding compilers. */
79522
79523 #ifdef __STDC__
79524 # include <limits.h>
79525 #else
79526 # include <assert.h>
79527 #endif
79528
79529 #undef $ac_func
79530
79531 /* Override any gcc2 internal prototype to avoid an error. */
79532 #ifdef __cplusplus
79533 extern "C"
79534 {
79535 #endif
79536 /* We use char because int might match the return type of a gcc2
79537 builtin and then its argument prototype would still apply. */
79538 char $ac_func ();
79539 /* The GNU C library defines this for functions which it implements
79540 to always fail with ENOSYS. Some functions are actually named
79541 something starting with __ and the normal name is an alias. */
79542 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79543 choke me
79544 #else
79545 char (*f) () = $ac_func;
79546 #endif
79547 #ifdef __cplusplus
79548 }
79549 #endif
79550
79551 int
79552 main ()
79553 {
79554 return f != $ac_func;
79555 ;
79556 return 0;
79557 }
79558 _ACEOF
79559 rm -f conftest.$ac_objext conftest$ac_exeext
79560 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79561 (eval $ac_link) 2>conftest.er1
79562 ac_status=$?
79563 grep -v '^ *+' conftest.er1 >conftest.err
79564 rm -f conftest.er1
79565 cat conftest.err >&5
79566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79567 (exit $ac_status); } &&
79568 { ac_try='test -z "$ac_c_werror_flag"
79569 || test ! -s conftest.err'
79570 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79571 (eval $ac_try) 2>&5
79572 ac_status=$?
79573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79574 (exit $ac_status); }; } &&
79575 { ac_try='test -s conftest$ac_exeext'
79576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79577 (eval $ac_try) 2>&5
79578 ac_status=$?
79579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79580 (exit $ac_status); }; }; then
79581 eval "$as_ac_var=yes"
79582 else
79583 echo "$as_me: failed program was:" >&5
79584 sed 's/^/| /' conftest.$ac_ext >&5
79585
79586 eval "$as_ac_var=no"
79587 fi
79588 rm -f conftest.err conftest.$ac_objext \
79589 conftest$ac_exeext conftest.$ac_ext
79590 fi
79591 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79592 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79593 if test `eval echo '${'$as_ac_var'}'` = yes; then
79594 cat >>confdefs.h <<_ACEOF
79595 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79596 _ACEOF
79597
79598 else
79599 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
79600 fi
79601 done
79602
79603
79604 if test x$ac_cv_func_copysignl = x"yes"; then
79605
79606 for ac_func in __signbitl
79607 do
79608 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79609 echo "$as_me:$LINENO: checking for $ac_func" >&5
79610 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79611 if eval "test \"\${$as_ac_var+set}\" = set"; then
79612 echo $ECHO_N "(cached) $ECHO_C" >&6
79613 else
79614 if test x$gcc_no_link = xyes; then
79615 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79616 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79617 { (exit 1); exit 1; }; }
79618 fi
79619 cat >conftest.$ac_ext <<_ACEOF
79620 /* confdefs.h. */
79621 _ACEOF
79622 cat confdefs.h >>conftest.$ac_ext
79623 cat >>conftest.$ac_ext <<_ACEOF
79624 /* end confdefs.h. */
79625 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79626 For example, HP-UX 11i <limits.h> declares gettimeofday. */
79627 #define $ac_func innocuous_$ac_func
79628
79629 /* System header to define __stub macros and hopefully few prototypes,
79630 which can conflict with char $ac_func (); below.
79631 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79632 <limits.h> exists even on freestanding compilers. */
79633
79634 #ifdef __STDC__
79635 # include <limits.h>
79636 #else
79637 # include <assert.h>
79638 #endif
79639
79640 #undef $ac_func
79641
79642 /* Override any gcc2 internal prototype to avoid an error. */
79643 #ifdef __cplusplus
79644 extern "C"
79645 {
79646 #endif
79647 /* We use char because int might match the return type of a gcc2
79648 builtin and then its argument prototype would still apply. */
79649 char $ac_func ();
79650 /* The GNU C library defines this for functions which it implements
79651 to always fail with ENOSYS. Some functions are actually named
79652 something starting with __ and the normal name is an alias. */
79653 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79654 choke me
79655 #else
79656 char (*f) () = $ac_func;
79657 #endif
79658 #ifdef __cplusplus
79659 }
79660 #endif
79661
79662 int
79663 main ()
79664 {
79665 return f != $ac_func;
79666 ;
79667 return 0;
79668 }
79669 _ACEOF
79670 rm -f conftest.$ac_objext conftest$ac_exeext
79671 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79672 (eval $ac_link) 2>conftest.er1
79673 ac_status=$?
79674 grep -v '^ *+' conftest.er1 >conftest.err
79675 rm -f conftest.er1
79676 cat conftest.err >&5
79677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79678 (exit $ac_status); } &&
79679 { ac_try='test -z "$ac_c_werror_flag"
79680 || test ! -s conftest.err'
79681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79682 (eval $ac_try) 2>&5
79683 ac_status=$?
79684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79685 (exit $ac_status); }; } &&
79686 { ac_try='test -s conftest$ac_exeext'
79687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79688 (eval $ac_try) 2>&5
79689 ac_status=$?
79690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79691 (exit $ac_status); }; }; then
79692 eval "$as_ac_var=yes"
79693 else
79694 echo "$as_me: failed program was:" >&5
79695 sed 's/^/| /' conftest.$ac_ext >&5
79696
79697 eval "$as_ac_var=no"
79698 fi
79699 rm -f conftest.err conftest.$ac_objext \
79700 conftest$ac_exeext conftest.$ac_ext
79701 fi
79702 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79703 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79704 if test `eval echo '${'$as_ac_var'}'` = yes; then
79705 cat >>confdefs.h <<_ACEOF
79706 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79707 _ACEOF
79708
79709 else
79710 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
79711 fi
79712 done
79713
79714 fi
79715
79716 # Used in libmath/Makefile.am.
79717 if test -n "$LIBMATHOBJS"; then
79718 need_libmath=yes
79719 fi
79720
79721
79722
79723
79724 enable_iconv=no
79725 # Only continue checking if the ISO C99 headers exist and support is on.
79726 if test x"$enable_wchar_t" = xyes; then
79727
79728 # Use iconv for wchar_t to char conversions. As such, check for
79729 # X/Open Portability Guide, version 2 features (XPG2).
79730 if test "${ac_cv_header_iconv_h+set}" = set; then
79731 echo "$as_me:$LINENO: checking for iconv.h" >&5
79732 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
79733 if test "${ac_cv_header_iconv_h+set}" = set; then
79734 echo $ECHO_N "(cached) $ECHO_C" >&6
79735 fi
79736 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
79737 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
79738 else
79739 # Is the header compilable?
79740 echo "$as_me:$LINENO: checking iconv.h usability" >&5
79741 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
79742 cat >conftest.$ac_ext <<_ACEOF
79743 /* confdefs.h. */
79744 _ACEOF
79745 cat confdefs.h >>conftest.$ac_ext
79746 cat >>conftest.$ac_ext <<_ACEOF
79747 /* end confdefs.h. */
79748 $ac_includes_default
79749 #include <iconv.h>
79750 _ACEOF
79751 rm -f conftest.$ac_objext
79752 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
79753 (eval $ac_compile) 2>conftest.er1
79754 ac_status=$?
79755 grep -v '^ *+' conftest.er1 >conftest.err
79756 rm -f conftest.er1
79757 cat conftest.err >&5
79758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79759 (exit $ac_status); } &&
79760 { ac_try='test -z "$ac_c_werror_flag"
79761 || test ! -s conftest.err'
79762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79763 (eval $ac_try) 2>&5
79764 ac_status=$?
79765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79766 (exit $ac_status); }; } &&
79767 { ac_try='test -s conftest.$ac_objext'
79768 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79769 (eval $ac_try) 2>&5
79770 ac_status=$?
79771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79772 (exit $ac_status); }; }; then
79773 ac_header_compiler=yes
79774 else
79775 echo "$as_me: failed program was:" >&5
79776 sed 's/^/| /' conftest.$ac_ext >&5
79777
79778 ac_header_compiler=no
79779 fi
79780 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
79781 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
79782 echo "${ECHO_T}$ac_header_compiler" >&6
79783
79784 # Is the header present?
79785 echo "$as_me:$LINENO: checking iconv.h presence" >&5
79786 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
79787 cat >conftest.$ac_ext <<_ACEOF
79788 /* confdefs.h. */
79789 _ACEOF
79790 cat confdefs.h >>conftest.$ac_ext
79791 cat >>conftest.$ac_ext <<_ACEOF
79792 /* end confdefs.h. */
79793 #include <iconv.h>
79794 _ACEOF
79795 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
79796 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
79797 ac_status=$?
79798 grep -v '^ *+' conftest.er1 >conftest.err
79799 rm -f conftest.er1
79800 cat conftest.err >&5
79801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79802 (exit $ac_status); } >/dev/null; then
79803 if test -s conftest.err; then
79804 ac_cpp_err=$ac_c_preproc_warn_flag
79805 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
79806 else
79807 ac_cpp_err=
79808 fi
79809 else
79810 ac_cpp_err=yes
79811 fi
79812 if test -z "$ac_cpp_err"; then
79813 ac_header_preproc=yes
79814 else
79815 echo "$as_me: failed program was:" >&5
79816 sed 's/^/| /' conftest.$ac_ext >&5
79817
79818 ac_header_preproc=no
79819 fi
79820 rm -f conftest.err conftest.$ac_ext
79821 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
79822 echo "${ECHO_T}$ac_header_preproc" >&6
79823
79824 # So? What about this header?
79825 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
79826 yes:no: )
79827 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
79828 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
79829 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
79830 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
79831 ac_header_preproc=yes
79832 ;;
79833 no:yes:* )
79834 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
79835 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
79836 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
79837 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
79838 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
79839 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
79840 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
79841 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
79842 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
79843 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
79844 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
79845 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
79846 (
79847 cat <<\_ASBOX
79848 ## ----------------------------------------- ##
79849 ## Report this to the package-unused lists. ##
79850 ## ----------------------------------------- ##
79851 _ASBOX
79852 ) |
79853 sed "s/^/$as_me: WARNING: /" >&2
79854 ;;
79855 esac
79856 echo "$as_me:$LINENO: checking for iconv.h" >&5
79857 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
79858 if test "${ac_cv_header_iconv_h+set}" = set; then
79859 echo $ECHO_N "(cached) $ECHO_C" >&6
79860 else
79861 ac_cv_header_iconv_h=$ac_header_preproc
79862 fi
79863 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
79864 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
79865
79866 fi
79867 if test $ac_cv_header_iconv_h = yes; then
79868 ac_has_iconv_h=yes
79869 else
79870 ac_has_iconv_h=no
79871 fi
79872
79873
79874 if test "${ac_cv_header_langinfo_h+set}" = set; then
79875 echo "$as_me:$LINENO: checking for langinfo.h" >&5
79876 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
79877 if test "${ac_cv_header_langinfo_h+set}" = set; then
79878 echo $ECHO_N "(cached) $ECHO_C" >&6
79879 fi
79880 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
79881 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
79882 else
79883 # Is the header compilable?
79884 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
79885 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
79886 cat >conftest.$ac_ext <<_ACEOF
79887 /* confdefs.h. */
79888 _ACEOF
79889 cat confdefs.h >>conftest.$ac_ext
79890 cat >>conftest.$ac_ext <<_ACEOF
79891 /* end confdefs.h. */
79892 $ac_includes_default
79893 #include <langinfo.h>
79894 _ACEOF
79895 rm -f conftest.$ac_objext
79896 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
79897 (eval $ac_compile) 2>conftest.er1
79898 ac_status=$?
79899 grep -v '^ *+' conftest.er1 >conftest.err
79900 rm -f conftest.er1
79901 cat conftest.err >&5
79902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79903 (exit $ac_status); } &&
79904 { ac_try='test -z "$ac_c_werror_flag"
79905 || test ! -s conftest.err'
79906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79907 (eval $ac_try) 2>&5
79908 ac_status=$?
79909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79910 (exit $ac_status); }; } &&
79911 { ac_try='test -s conftest.$ac_objext'
79912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79913 (eval $ac_try) 2>&5
79914 ac_status=$?
79915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79916 (exit $ac_status); }; }; then
79917 ac_header_compiler=yes
79918 else
79919 echo "$as_me: failed program was:" >&5
79920 sed 's/^/| /' conftest.$ac_ext >&5
79921
79922 ac_header_compiler=no
79923 fi
79924 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
79925 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
79926 echo "${ECHO_T}$ac_header_compiler" >&6
79927
79928 # Is the header present?
79929 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
79930 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
79931 cat >conftest.$ac_ext <<_ACEOF
79932 /* confdefs.h. */
79933 _ACEOF
79934 cat confdefs.h >>conftest.$ac_ext
79935 cat >>conftest.$ac_ext <<_ACEOF
79936 /* end confdefs.h. */
79937 #include <langinfo.h>
79938 _ACEOF
79939 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
79940 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
79941 ac_status=$?
79942 grep -v '^ *+' conftest.er1 >conftest.err
79943 rm -f conftest.er1
79944 cat conftest.err >&5
79945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79946 (exit $ac_status); } >/dev/null; then
79947 if test -s conftest.err; then
79948 ac_cpp_err=$ac_c_preproc_warn_flag
79949 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
79950 else
79951 ac_cpp_err=
79952 fi
79953 else
79954 ac_cpp_err=yes
79955 fi
79956 if test -z "$ac_cpp_err"; then
79957 ac_header_preproc=yes
79958 else
79959 echo "$as_me: failed program was:" >&5
79960 sed 's/^/| /' conftest.$ac_ext >&5
79961
79962 ac_header_preproc=no
79963 fi
79964 rm -f conftest.err conftest.$ac_ext
79965 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
79966 echo "${ECHO_T}$ac_header_preproc" >&6
79967
79968 # So? What about this header?
79969 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
79970 yes:no: )
79971 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
79972 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
79973 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
79974 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
79975 ac_header_preproc=yes
79976 ;;
79977 no:yes:* )
79978 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
79979 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
79980 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
79981 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
79982 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
79983 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
79984 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
79985 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
79986 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
79987 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
79988 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
79989 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
79990 (
79991 cat <<\_ASBOX
79992 ## ----------------------------------------- ##
79993 ## Report this to the package-unused lists. ##
79994 ## ----------------------------------------- ##
79995 _ASBOX
79996 ) |
79997 sed "s/^/$as_me: WARNING: /" >&2
79998 ;;
79999 esac
80000 echo "$as_me:$LINENO: checking for langinfo.h" >&5
80001 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
80002 if test "${ac_cv_header_langinfo_h+set}" = set; then
80003 echo $ECHO_N "(cached) $ECHO_C" >&6
80004 else
80005 ac_cv_header_langinfo_h=$ac_header_preproc
80006 fi
80007 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
80008 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
80009
80010 fi
80011 if test $ac_cv_header_langinfo_h = yes; then
80012 ac_has_langinfo_h=yes
80013 else
80014 ac_has_langinfo_h=no
80015 fi
80016
80017
80018
80019 # Check for existence of libiconv.a providing XPG2 wchar_t support.
80020 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
80021 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
80022 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
80023 echo $ECHO_N "(cached) $ECHO_C" >&6
80024 else
80025 ac_check_lib_save_LIBS=$LIBS
80026 LIBS="-liconv $LIBS"
80027 if test x$gcc_no_link = xyes; then
80028 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80029 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80030 { (exit 1); exit 1; }; }
80031 fi
80032 cat >conftest.$ac_ext <<_ACEOF
80033 /* confdefs.h. */
80034 _ACEOF
80035 cat confdefs.h >>conftest.$ac_ext
80036 cat >>conftest.$ac_ext <<_ACEOF
80037 /* end confdefs.h. */
80038
80039 /* Override any gcc2 internal prototype to avoid an error. */
80040 #ifdef __cplusplus
80041 extern "C"
80042 #endif
80043 /* We use char because int might match the return type of a gcc2
80044 builtin and then its argument prototype would still apply. */
80045 char iconv ();
80046 int
80047 main ()
80048 {
80049 iconv ();
80050 ;
80051 return 0;
80052 }
80053 _ACEOF
80054 rm -f conftest.$ac_objext conftest$ac_exeext
80055 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80056 (eval $ac_link) 2>conftest.er1
80057 ac_status=$?
80058 grep -v '^ *+' conftest.er1 >conftest.err
80059 rm -f conftest.er1
80060 cat conftest.err >&5
80061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80062 (exit $ac_status); } &&
80063 { ac_try='test -z "$ac_c_werror_flag"
80064 || test ! -s conftest.err'
80065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80066 (eval $ac_try) 2>&5
80067 ac_status=$?
80068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80069 (exit $ac_status); }; } &&
80070 { ac_try='test -s conftest$ac_exeext'
80071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80072 (eval $ac_try) 2>&5
80073 ac_status=$?
80074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80075 (exit $ac_status); }; }; then
80076 ac_cv_lib_iconv_iconv=yes
80077 else
80078 echo "$as_me: failed program was:" >&5
80079 sed 's/^/| /' conftest.$ac_ext >&5
80080
80081 ac_cv_lib_iconv_iconv=no
80082 fi
80083 rm -f conftest.err conftest.$ac_objext \
80084 conftest$ac_exeext conftest.$ac_ext
80085 LIBS=$ac_check_lib_save_LIBS
80086 fi
80087 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
80088 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
80089 if test $ac_cv_lib_iconv_iconv = yes; then
80090 LIBICONV="-liconv"
80091 fi
80092
80093 ac_save_LIBS="$LIBS"
80094 LIBS="$LIBS $LIBICONV"
80095
80096
80097
80098
80099
80100
80101 for ac_func in iconv_open iconv_close iconv nl_langinfo
80102 do
80103 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80104 echo "$as_me:$LINENO: checking for $ac_func" >&5
80105 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80106 if eval "test \"\${$as_ac_var+set}\" = set"; then
80107 echo $ECHO_N "(cached) $ECHO_C" >&6
80108 else
80109 if test x$gcc_no_link = xyes; then
80110 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80111 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80112 { (exit 1); exit 1; }; }
80113 fi
80114 cat >conftest.$ac_ext <<_ACEOF
80115 /* confdefs.h. */
80116 _ACEOF
80117 cat confdefs.h >>conftest.$ac_ext
80118 cat >>conftest.$ac_ext <<_ACEOF
80119 /* end confdefs.h. */
80120 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80121 For example, HP-UX 11i <limits.h> declares gettimeofday. */
80122 #define $ac_func innocuous_$ac_func
80123
80124 /* System header to define __stub macros and hopefully few prototypes,
80125 which can conflict with char $ac_func (); below.
80126 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80127 <limits.h> exists even on freestanding compilers. */
80128
80129 #ifdef __STDC__
80130 # include <limits.h>
80131 #else
80132 # include <assert.h>
80133 #endif
80134
80135 #undef $ac_func
80136
80137 /* Override any gcc2 internal prototype to avoid an error. */
80138 #ifdef __cplusplus
80139 extern "C"
80140 {
80141 #endif
80142 /* We use char because int might match the return type of a gcc2
80143 builtin and then its argument prototype would still apply. */
80144 char $ac_func ();
80145 /* The GNU C library defines this for functions which it implements
80146 to always fail with ENOSYS. Some functions are actually named
80147 something starting with __ and the normal name is an alias. */
80148 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80149 choke me
80150 #else
80151 char (*f) () = $ac_func;
80152 #endif
80153 #ifdef __cplusplus
80154 }
80155 #endif
80156
80157 int
80158 main ()
80159 {
80160 return f != $ac_func;
80161 ;
80162 return 0;
80163 }
80164 _ACEOF
80165 rm -f conftest.$ac_objext conftest$ac_exeext
80166 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80167 (eval $ac_link) 2>conftest.er1
80168 ac_status=$?
80169 grep -v '^ *+' conftest.er1 >conftest.err
80170 rm -f conftest.er1
80171 cat conftest.err >&5
80172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80173 (exit $ac_status); } &&
80174 { ac_try='test -z "$ac_c_werror_flag"
80175 || test ! -s conftest.err'
80176 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80177 (eval $ac_try) 2>&5
80178 ac_status=$?
80179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80180 (exit $ac_status); }; } &&
80181 { ac_try='test -s conftest$ac_exeext'
80182 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80183 (eval $ac_try) 2>&5
80184 ac_status=$?
80185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80186 (exit $ac_status); }; }; then
80187 eval "$as_ac_var=yes"
80188 else
80189 echo "$as_me: failed program was:" >&5
80190 sed 's/^/| /' conftest.$ac_ext >&5
80191
80192 eval "$as_ac_var=no"
80193 fi
80194 rm -f conftest.err conftest.$ac_objext \
80195 conftest$ac_exeext conftest.$ac_ext
80196 fi
80197 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80198 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80199 if test `eval echo '${'$as_ac_var'}'` = yes; then
80200 cat >>confdefs.h <<_ACEOF
80201 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80202 _ACEOF
80203 ac_XPG2funcs=yes
80204 else
80205 ac_XPG2funcs=no
80206 fi
80207 done
80208
80209
80210 LIBS="$ac_save_LIBS"
80211
80212 if test x"$ac_has_iconv_h" = xyes &&
80213 test x"$ac_has_langinfo_h" = xyes &&
80214 test x"$ac_XPG2funcs" = xyes;
80215 then
80216
80217 cat >>confdefs.h <<\_ACEOF
80218 #define _GLIBCXX_USE_ICONV 1
80219 _ACEOF
80220
80221 enable_iconv=yes
80222 fi
80223 fi
80224 echo "$as_me:$LINENO: checking for enabled iconv specializations" >&5
80225 echo $ECHO_N "checking for enabled iconv specializations... $ECHO_C" >&6
80226 echo "$as_me:$LINENO: result: $enable_iconv" >&5
80227 echo "${ECHO_T}$enable_iconv" >&6
80228
80229 ;;
80230 *-netbsd*)
80231
80232
80233
80234
80235
80236
80237
80238
80239
80240
80241
80242
80243 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
80244 machine/endian.h machine/param.h sys/machine.h sys/types.h \
80245 fp.h locale.h float.h inttypes.h
80246 do
80247 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
80248 if eval "test \"\${$as_ac_Header+set}\" = set"; then
80249 echo "$as_me:$LINENO: checking for $ac_header" >&5
80250 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
80251 if eval "test \"\${$as_ac_Header+set}\" = set"; then
80252 echo $ECHO_N "(cached) $ECHO_C" >&6
80253 fi
80254 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
80255 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
80256 else
80257 # Is the header compilable?
80258 echo "$as_me:$LINENO: checking $ac_header usability" >&5
80259 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
80260 cat >conftest.$ac_ext <<_ACEOF
80261 /* confdefs.h. */
80262 _ACEOF
80263 cat confdefs.h >>conftest.$ac_ext
80264 cat >>conftest.$ac_ext <<_ACEOF
80265 /* end confdefs.h. */
80266 $ac_includes_default
80267 #include <$ac_header>
80268 _ACEOF
80269 rm -f conftest.$ac_objext
80270 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
80271 (eval $ac_compile) 2>conftest.er1
80272 ac_status=$?
80273 grep -v '^ *+' conftest.er1 >conftest.err
80274 rm -f conftest.er1
80275 cat conftest.err >&5
80276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80277 (exit $ac_status); } &&
80278 { ac_try='test -z "$ac_c_werror_flag"
80279 || test ! -s conftest.err'
80280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80281 (eval $ac_try) 2>&5
80282 ac_status=$?
80283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80284 (exit $ac_status); }; } &&
80285 { ac_try='test -s conftest.$ac_objext'
80286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80287 (eval $ac_try) 2>&5
80288 ac_status=$?
80289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80290 (exit $ac_status); }; }; then
80291 ac_header_compiler=yes
80292 else
80293 echo "$as_me: failed program was:" >&5
80294 sed 's/^/| /' conftest.$ac_ext >&5
80295
80296 ac_header_compiler=no
80297 fi
80298 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
80299 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
80300 echo "${ECHO_T}$ac_header_compiler" >&6
80301
80302 # Is the header present?
80303 echo "$as_me:$LINENO: checking $ac_header presence" >&5
80304 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
80305 cat >conftest.$ac_ext <<_ACEOF
80306 /* confdefs.h. */
80307 _ACEOF
80308 cat confdefs.h >>conftest.$ac_ext
80309 cat >>conftest.$ac_ext <<_ACEOF
80310 /* end confdefs.h. */
80311 #include <$ac_header>
80312 _ACEOF
80313 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
80314 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
80315 ac_status=$?
80316 grep -v '^ *+' conftest.er1 >conftest.err
80317 rm -f conftest.er1
80318 cat conftest.err >&5
80319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80320 (exit $ac_status); } >/dev/null; then
80321 if test -s conftest.err; then
80322 ac_cpp_err=$ac_c_preproc_warn_flag
80323 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
80324 else
80325 ac_cpp_err=
80326 fi
80327 else
80328 ac_cpp_err=yes
80329 fi
80330 if test -z "$ac_cpp_err"; then
80331 ac_header_preproc=yes
80332 else
80333 echo "$as_me: failed program was:" >&5
80334 sed 's/^/| /' conftest.$ac_ext >&5
80335
80336 ac_header_preproc=no
80337 fi
80338 rm -f conftest.err conftest.$ac_ext
80339 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
80340 echo "${ECHO_T}$ac_header_preproc" >&6
80341
80342 # So? What about this header?
80343 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
80344 yes:no: )
80345 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
80346 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
80347 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
80348 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
80349 ac_header_preproc=yes
80350 ;;
80351 no:yes:* )
80352 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
80353 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
80354 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
80355 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
80356 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
80357 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
80358 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
80359 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
80360 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
80361 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
80362 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
80363 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
80364 (
80365 cat <<\_ASBOX
80366 ## ----------------------------------------- ##
80367 ## Report this to the package-unused lists. ##
80368 ## ----------------------------------------- ##
80369 _ASBOX
80370 ) |
80371 sed "s/^/$as_me: WARNING: /" >&2
80372 ;;
80373 esac
80374 echo "$as_me:$LINENO: checking for $ac_header" >&5
80375 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
80376 if eval "test \"\${$as_ac_Header+set}\" = set"; then
80377 echo $ECHO_N "(cached) $ECHO_C" >&6
80378 else
80379 eval "$as_ac_Header=\$ac_header_preproc"
80380 fi
80381 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
80382 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
80383
80384 fi
80385 if test `eval echo '${'$as_ac_Header'}'` = yes; then
80386 cat >>confdefs.h <<_ACEOF
80387 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
80388 _ACEOF
80389
80390 fi
80391
80392 done
80393
80394 SECTION_FLAGS='-ffunction-sections -fdata-sections'
80395
80396
80397 # If we're not using GNU ld, then there's no point in even trying these
80398 # tests. Check for that first. We should have already tested for gld
80399 # by now (in libtool), but require it now just to be safe...
80400 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
80401 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
80402
80403
80404
80405 # The name set by libtool depends on the version of libtool. Shame on us
80406 # for depending on an impl detail, but c'est la vie. Older versions used
80407 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
80408 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
80409 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
80410 # set (hence we're using an older libtool), then set it.
80411 if test x${with_gnu_ld+set} != xset; then
80412 if test x${ac_cv_prog_gnu_ld+set} != xset; then
80413 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
80414 with_gnu_ld=no
80415 else
80416 with_gnu_ld=$ac_cv_prog_gnu_ld
80417 fi
80418 fi
80419
80420 # Start by getting the version number. I think the libtool test already
80421 # does some of this, but throws away the result.
80422
80423 ldver=`$LD --version 2>/dev/null | head -1 | \
80424 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
80425
80426 glibcxx_gnu_ld_version=`echo $ldver | \
80427 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
80428
80429 # Set --gc-sections.
80430 if test "$with_gnu_ld" = "notbroken"; then
80431 # GNU ld it is! Joy and bunny rabbits!
80432
80433 # All these tests are for C++; save the language and the compiler flags.
80434 # Need to do this so that g++ won't try to link in libstdc++
80435 ac_test_CFLAGS="${CFLAGS+set}"
80436 ac_save_CFLAGS="$CFLAGS"
80437 CFLAGS='-x c++ -Wl,--gc-sections'
80438
80439 # Check for -Wl,--gc-sections
80440 # XXX This test is broken at the moment, as symbols required for linking
80441 # are now in libsupc++ (not built yet). In addition, this test has
80442 # cored on solaris in the past. In addition, --gc-sections doesn't
80443 # really work at the moment (keeps on discarding used sections, first
80444 # .eh_frame and now some of the glibc sections for iconv).
80445 # Bzzzzt. Thanks for playing, maybe next time.
80446 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
80447 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
80448 if test "$cross_compiling" = yes; then
80449 ac_sectionLDflags=yes
80450 else
80451 cat >conftest.$ac_ext <<_ACEOF
80452 /* confdefs.h. */
80453 _ACEOF
80454 cat confdefs.h >>conftest.$ac_ext
80455 cat >>conftest.$ac_ext <<_ACEOF
80456 /* end confdefs.h. */
80457
80458 int main(void)
80459 {
80460 try { throw 1; }
80461 catch (...) { };
80462 return 0;
80463 }
80464
80465 _ACEOF
80466 rm -f conftest$ac_exeext
80467 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80468 (eval $ac_link) 2>&5
80469 ac_status=$?
80470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80471 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
80472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80473 (eval $ac_try) 2>&5
80474 ac_status=$?
80475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80476 (exit $ac_status); }; }; then
80477 ac_sectionLDflags=yes
80478 else
80479 echo "$as_me: program exited with status $ac_status" >&5
80480 echo "$as_me: failed program was:" >&5
80481 sed 's/^/| /' conftest.$ac_ext >&5
80482
80483 ( exit $ac_status )
80484 ac_sectionLDflags=no
80485 fi
80486 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
80487 fi
80488 if test "$ac_test_CFLAGS" = set; then
80489 CFLAGS="$ac_save_CFLAGS"
80490 else
80491 # this is the suspicious part
80492 CFLAGS=''
80493 fi
80494 if test "$ac_sectionLDflags" = "yes"; then
80495 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
80496 fi
80497 echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
80498 echo "${ECHO_T}$ac_sectionLDflags" >&6
80499 fi
80500
80501 # Set linker optimization flags.
80502 if test x"$with_gnu_ld" = x"yes"; then
80503 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
80504 fi
80505
80506
80507
80508
80509
80510
80511 echo "$as_me:$LINENO: checking for main in -lm" >&5
80512 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
80513 if test "${ac_cv_lib_m_main+set}" = set; then
80514 echo $ECHO_N "(cached) $ECHO_C" >&6
80515 else
80516 ac_check_lib_save_LIBS=$LIBS
80517 LIBS="-lm $LIBS"
80518 if test x$gcc_no_link = xyes; then
80519 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80520 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80521 { (exit 1); exit 1; }; }
80522 fi
80523 cat >conftest.$ac_ext <<_ACEOF
80524 /* confdefs.h. */
80525 _ACEOF
80526 cat confdefs.h >>conftest.$ac_ext
80527 cat >>conftest.$ac_ext <<_ACEOF
80528 /* end confdefs.h. */
80529
80530
80531 int
80532 main ()
80533 {
80534 main ();
80535 ;
80536 return 0;
80537 }
80538 _ACEOF
80539 rm -f conftest.$ac_objext conftest$ac_exeext
80540 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80541 (eval $ac_link) 2>conftest.er1
80542 ac_status=$?
80543 grep -v '^ *+' conftest.er1 >conftest.err
80544 rm -f conftest.er1
80545 cat conftest.err >&5
80546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80547 (exit $ac_status); } &&
80548 { ac_try='test -z "$ac_c_werror_flag"
80549 || test ! -s conftest.err'
80550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80551 (eval $ac_try) 2>&5
80552 ac_status=$?
80553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80554 (exit $ac_status); }; } &&
80555 { ac_try='test -s conftest$ac_exeext'
80556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80557 (eval $ac_try) 2>&5
80558 ac_status=$?
80559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80560 (exit $ac_status); }; }; then
80561 ac_cv_lib_m_main=yes
80562 else
80563 echo "$as_me: failed program was:" >&5
80564 sed 's/^/| /' conftest.$ac_ext >&5
80565
80566 ac_cv_lib_m_main=no
80567 fi
80568 rm -f conftest.err conftest.$ac_objext \
80569 conftest$ac_exeext conftest.$ac_ext
80570 LIBS=$ac_check_lib_save_LIBS
80571 fi
80572 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
80573 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
80574 if test $ac_cv_lib_m_main = yes; then
80575 cat >>confdefs.h <<_ACEOF
80576 #define HAVE_LIBM 1
80577 _ACEOF
80578
80579 LIBS="-lm $LIBS"
80580
80581 fi
80582
80583
80584 for ac_func in copysignf
80585 do
80586 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80587 echo "$as_me:$LINENO: checking for $ac_func" >&5
80588 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80589 if eval "test \"\${$as_ac_var+set}\" = set"; then
80590 echo $ECHO_N "(cached) $ECHO_C" >&6
80591 else
80592 if test x$gcc_no_link = xyes; then
80593 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80594 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80595 { (exit 1); exit 1; }; }
80596 fi
80597 cat >conftest.$ac_ext <<_ACEOF
80598 /* confdefs.h. */
80599 _ACEOF
80600 cat confdefs.h >>conftest.$ac_ext
80601 cat >>conftest.$ac_ext <<_ACEOF
80602 /* end confdefs.h. */
80603 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80604 For example, HP-UX 11i <limits.h> declares gettimeofday. */
80605 #define $ac_func innocuous_$ac_func
80606
80607 /* System header to define __stub macros and hopefully few prototypes,
80608 which can conflict with char $ac_func (); below.
80609 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80610 <limits.h> exists even on freestanding compilers. */
80611
80612 #ifdef __STDC__
80613 # include <limits.h>
80614 #else
80615 # include <assert.h>
80616 #endif
80617
80618 #undef $ac_func
80619
80620 /* Override any gcc2 internal prototype to avoid an error. */
80621 #ifdef __cplusplus
80622 extern "C"
80623 {
80624 #endif
80625 /* We use char because int might match the return type of a gcc2
80626 builtin and then its argument prototype would still apply. */
80627 char $ac_func ();
80628 /* The GNU C library defines this for functions which it implements
80629 to always fail with ENOSYS. Some functions are actually named
80630 something starting with __ and the normal name is an alias. */
80631 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80632 choke me
80633 #else
80634 char (*f) () = $ac_func;
80635 #endif
80636 #ifdef __cplusplus
80637 }
80638 #endif
80639
80640 int
80641 main ()
80642 {
80643 return f != $ac_func;
80644 ;
80645 return 0;
80646 }
80647 _ACEOF
80648 rm -f conftest.$ac_objext conftest$ac_exeext
80649 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80650 (eval $ac_link) 2>conftest.er1
80651 ac_status=$?
80652 grep -v '^ *+' conftest.er1 >conftest.err
80653 rm -f conftest.er1
80654 cat conftest.err >&5
80655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80656 (exit $ac_status); } &&
80657 { ac_try='test -z "$ac_c_werror_flag"
80658 || test ! -s conftest.err'
80659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80660 (eval $ac_try) 2>&5
80661 ac_status=$?
80662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80663 (exit $ac_status); }; } &&
80664 { ac_try='test -s conftest$ac_exeext'
80665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80666 (eval $ac_try) 2>&5
80667 ac_status=$?
80668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80669 (exit $ac_status); }; }; then
80670 eval "$as_ac_var=yes"
80671 else
80672 echo "$as_me: failed program was:" >&5
80673 sed 's/^/| /' conftest.$ac_ext >&5
80674
80675 eval "$as_ac_var=no"
80676 fi
80677 rm -f conftest.err conftest.$ac_objext \
80678 conftest$ac_exeext conftest.$ac_ext
80679 fi
80680 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80681 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80682 if test `eval echo '${'$as_ac_var'}'` = yes; then
80683 cat >>confdefs.h <<_ACEOF
80684 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80685 _ACEOF
80686
80687 else
80688 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
80689 fi
80690 done
80691
80692
80693
80694 for ac_func in __signbit
80695 do
80696 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80697 echo "$as_me:$LINENO: checking for $ac_func" >&5
80698 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80699 if eval "test \"\${$as_ac_var+set}\" = set"; then
80700 echo $ECHO_N "(cached) $ECHO_C" >&6
80701 else
80702 if test x$gcc_no_link = xyes; then
80703 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80704 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80705 { (exit 1); exit 1; }; }
80706 fi
80707 cat >conftest.$ac_ext <<_ACEOF
80708 /* confdefs.h. */
80709 _ACEOF
80710 cat confdefs.h >>conftest.$ac_ext
80711 cat >>conftest.$ac_ext <<_ACEOF
80712 /* end confdefs.h. */
80713 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80714 For example, HP-UX 11i <limits.h> declares gettimeofday. */
80715 #define $ac_func innocuous_$ac_func
80716
80717 /* System header to define __stub macros and hopefully few prototypes,
80718 which can conflict with char $ac_func (); below.
80719 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80720 <limits.h> exists even on freestanding compilers. */
80721
80722 #ifdef __STDC__
80723 # include <limits.h>
80724 #else
80725 # include <assert.h>
80726 #endif
80727
80728 #undef $ac_func
80729
80730 /* Override any gcc2 internal prototype to avoid an error. */
80731 #ifdef __cplusplus
80732 extern "C"
80733 {
80734 #endif
80735 /* We use char because int might match the return type of a gcc2
80736 builtin and then its argument prototype would still apply. */
80737 char $ac_func ();
80738 /* The GNU C library defines this for functions which it implements
80739 to always fail with ENOSYS. Some functions are actually named
80740 something starting with __ and the normal name is an alias. */
80741 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80742 choke me
80743 #else
80744 char (*f) () = $ac_func;
80745 #endif
80746 #ifdef __cplusplus
80747 }
80748 #endif
80749
80750 int
80751 main ()
80752 {
80753 return f != $ac_func;
80754 ;
80755 return 0;
80756 }
80757 _ACEOF
80758 rm -f conftest.$ac_objext conftest$ac_exeext
80759 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80760 (eval $ac_link) 2>conftest.er1
80761 ac_status=$?
80762 grep -v '^ *+' conftest.er1 >conftest.err
80763 rm -f conftest.er1
80764 cat conftest.err >&5
80765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80766 (exit $ac_status); } &&
80767 { ac_try='test -z "$ac_c_werror_flag"
80768 || test ! -s conftest.err'
80769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80770 (eval $ac_try) 2>&5
80771 ac_status=$?
80772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80773 (exit $ac_status); }; } &&
80774 { ac_try='test -s conftest$ac_exeext'
80775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80776 (eval $ac_try) 2>&5
80777 ac_status=$?
80778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80779 (exit $ac_status); }; }; then
80780 eval "$as_ac_var=yes"
80781 else
80782 echo "$as_me: failed program was:" >&5
80783 sed 's/^/| /' conftest.$ac_ext >&5
80784
80785 eval "$as_ac_var=no"
80786 fi
80787 rm -f conftest.err conftest.$ac_objext \
80788 conftest$ac_exeext conftest.$ac_ext
80789 fi
80790 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80791 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80792 if test `eval echo '${'$as_ac_var'}'` = yes; then
80793 cat >>confdefs.h <<_ACEOF
80794 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80795 _ACEOF
80796
80797 else
80798 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
80799 fi
80800 done
80801
80802
80803
80804 for ac_func in __signbitf
80805 do
80806 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80807 echo "$as_me:$LINENO: checking for $ac_func" >&5
80808 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80809 if eval "test \"\${$as_ac_var+set}\" = set"; then
80810 echo $ECHO_N "(cached) $ECHO_C" >&6
80811 else
80812 if test x$gcc_no_link = xyes; then
80813 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80814 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80815 { (exit 1); exit 1; }; }
80816 fi
80817 cat >conftest.$ac_ext <<_ACEOF
80818 /* confdefs.h. */
80819 _ACEOF
80820 cat confdefs.h >>conftest.$ac_ext
80821 cat >>conftest.$ac_ext <<_ACEOF
80822 /* end confdefs.h. */
80823 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80824 For example, HP-UX 11i <limits.h> declares gettimeofday. */
80825 #define $ac_func innocuous_$ac_func
80826
80827 /* System header to define __stub macros and hopefully few prototypes,
80828 which can conflict with char $ac_func (); below.
80829 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80830 <limits.h> exists even on freestanding compilers. */
80831
80832 #ifdef __STDC__
80833 # include <limits.h>
80834 #else
80835 # include <assert.h>
80836 #endif
80837
80838 #undef $ac_func
80839
80840 /* Override any gcc2 internal prototype to avoid an error. */
80841 #ifdef __cplusplus
80842 extern "C"
80843 {
80844 #endif
80845 /* We use char because int might match the return type of a gcc2
80846 builtin and then its argument prototype would still apply. */
80847 char $ac_func ();
80848 /* The GNU C library defines this for functions which it implements
80849 to always fail with ENOSYS. Some functions are actually named
80850 something starting with __ and the normal name is an alias. */
80851 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80852 choke me
80853 #else
80854 char (*f) () = $ac_func;
80855 #endif
80856 #ifdef __cplusplus
80857 }
80858 #endif
80859
80860 int
80861 main ()
80862 {
80863 return f != $ac_func;
80864 ;
80865 return 0;
80866 }
80867 _ACEOF
80868 rm -f conftest.$ac_objext conftest$ac_exeext
80869 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80870 (eval $ac_link) 2>conftest.er1
80871 ac_status=$?
80872 grep -v '^ *+' conftest.er1 >conftest.err
80873 rm -f conftest.er1
80874 cat conftest.err >&5
80875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80876 (exit $ac_status); } &&
80877 { ac_try='test -z "$ac_c_werror_flag"
80878 || test ! -s conftest.err'
80879 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80880 (eval $ac_try) 2>&5
80881 ac_status=$?
80882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80883 (exit $ac_status); }; } &&
80884 { ac_try='test -s conftest$ac_exeext'
80885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80886 (eval $ac_try) 2>&5
80887 ac_status=$?
80888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80889 (exit $ac_status); }; }; then
80890 eval "$as_ac_var=yes"
80891 else
80892 echo "$as_me: failed program was:" >&5
80893 sed 's/^/| /' conftest.$ac_ext >&5
80894
80895 eval "$as_ac_var=no"
80896 fi
80897 rm -f conftest.err conftest.$ac_objext \
80898 conftest$ac_exeext conftest.$ac_ext
80899 fi
80900 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80901 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80902 if test `eval echo '${'$as_ac_var'}'` = yes; then
80903 cat >>confdefs.h <<_ACEOF
80904 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80905 _ACEOF
80906
80907 else
80908 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
80909 fi
80910 done
80911
80912
80913 if test x$ac_cv_func_copysignl = x"yes"; then
80914
80915 for ac_func in __signbitl
80916 do
80917 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80918 echo "$as_me:$LINENO: checking for $ac_func" >&5
80919 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80920 if eval "test \"\${$as_ac_var+set}\" = set"; then
80921 echo $ECHO_N "(cached) $ECHO_C" >&6
80922 else
80923 if test x$gcc_no_link = xyes; then
80924 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80925 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80926 { (exit 1); exit 1; }; }
80927 fi
80928 cat >conftest.$ac_ext <<_ACEOF
80929 /* confdefs.h. */
80930 _ACEOF
80931 cat confdefs.h >>conftest.$ac_ext
80932 cat >>conftest.$ac_ext <<_ACEOF
80933 /* end confdefs.h. */
80934 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80935 For example, HP-UX 11i <limits.h> declares gettimeofday. */
80936 #define $ac_func innocuous_$ac_func
80937
80938 /* System header to define __stub macros and hopefully few prototypes,
80939 which can conflict with char $ac_func (); below.
80940 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80941 <limits.h> exists even on freestanding compilers. */
80942
80943 #ifdef __STDC__
80944 # include <limits.h>
80945 #else
80946 # include <assert.h>
80947 #endif
80948
80949 #undef $ac_func
80950
80951 /* Override any gcc2 internal prototype to avoid an error. */
80952 #ifdef __cplusplus
80953 extern "C"
80954 {
80955 #endif
80956 /* We use char because int might match the return type of a gcc2
80957 builtin and then its argument prototype would still apply. */
80958 char $ac_func ();
80959 /* The GNU C library defines this for functions which it implements
80960 to always fail with ENOSYS. Some functions are actually named
80961 something starting with __ and the normal name is an alias. */
80962 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80963 choke me
80964 #else
80965 char (*f) () = $ac_func;
80966 #endif
80967 #ifdef __cplusplus
80968 }
80969 #endif
80970
80971 int
80972 main ()
80973 {
80974 return f != $ac_func;
80975 ;
80976 return 0;
80977 }
80978 _ACEOF
80979 rm -f conftest.$ac_objext conftest$ac_exeext
80980 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80981 (eval $ac_link) 2>conftest.er1
80982 ac_status=$?
80983 grep -v '^ *+' conftest.er1 >conftest.err
80984 rm -f conftest.er1
80985 cat conftest.err >&5
80986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80987 (exit $ac_status); } &&
80988 { ac_try='test -z "$ac_c_werror_flag"
80989 || test ! -s conftest.err'
80990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80991 (eval $ac_try) 2>&5
80992 ac_status=$?
80993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80994 (exit $ac_status); }; } &&
80995 { ac_try='test -s conftest$ac_exeext'
80996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80997 (eval $ac_try) 2>&5
80998 ac_status=$?
80999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81000 (exit $ac_status); }; }; then
81001 eval "$as_ac_var=yes"
81002 else
81003 echo "$as_me: failed program was:" >&5
81004 sed 's/^/| /' conftest.$ac_ext >&5
81005
81006 eval "$as_ac_var=no"
81007 fi
81008 rm -f conftest.err conftest.$ac_objext \
81009 conftest$ac_exeext conftest.$ac_ext
81010 fi
81011 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
81012 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
81013 if test `eval echo '${'$as_ac_var'}'` = yes; then
81014 cat >>confdefs.h <<_ACEOF
81015 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
81016 _ACEOF
81017
81018 else
81019 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
81020 fi
81021 done
81022
81023 fi
81024
81025 # Used in libmath/Makefile.am.
81026 if test -n "$LIBMATHOBJS"; then
81027 need_libmath=yes
81028 fi
81029
81030
81031
81032
81033 enable_iconv=no
81034 # Only continue checking if the ISO C99 headers exist and support is on.
81035 if test x"$enable_wchar_t" = xyes; then
81036
81037 # Use iconv for wchar_t to char conversions. As such, check for
81038 # X/Open Portability Guide, version 2 features (XPG2).
81039 if test "${ac_cv_header_iconv_h+set}" = set; then
81040 echo "$as_me:$LINENO: checking for iconv.h" >&5
81041 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
81042 if test "${ac_cv_header_iconv_h+set}" = set; then
81043 echo $ECHO_N "(cached) $ECHO_C" >&6
81044 fi
81045 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
81046 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
81047 else
81048 # Is the header compilable?
81049 echo "$as_me:$LINENO: checking iconv.h usability" >&5
81050 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
81051 cat >conftest.$ac_ext <<_ACEOF
81052 /* confdefs.h. */
81053 _ACEOF
81054 cat confdefs.h >>conftest.$ac_ext
81055 cat >>conftest.$ac_ext <<_ACEOF
81056 /* end confdefs.h. */
81057 $ac_includes_default
81058 #include <iconv.h>
81059 _ACEOF
81060 rm -f conftest.$ac_objext
81061 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
81062 (eval $ac_compile) 2>conftest.er1
81063 ac_status=$?
81064 grep -v '^ *+' conftest.er1 >conftest.err
81065 rm -f conftest.er1
81066 cat conftest.err >&5
81067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81068 (exit $ac_status); } &&
81069 { ac_try='test -z "$ac_c_werror_flag"
81070 || test ! -s conftest.err'
81071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81072 (eval $ac_try) 2>&5
81073 ac_status=$?
81074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81075 (exit $ac_status); }; } &&
81076 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
81082 ac_header_compiler=yes
81083 else
81084 echo "$as_me: failed program was:" >&5
81085 sed 's/^/| /' conftest.$ac_ext >&5
81086
81087 ac_header_compiler=no
81088 fi
81089 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
81090 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
81091 echo "${ECHO_T}$ac_header_compiler" >&6
81092
81093 # Is the header present?
81094 echo "$as_me:$LINENO: checking iconv.h presence" >&5
81095 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
81096 cat >conftest.$ac_ext <<_ACEOF
81097 /* confdefs.h. */
81098 _ACEOF
81099 cat confdefs.h >>conftest.$ac_ext
81100 cat >>conftest.$ac_ext <<_ACEOF
81101 /* end confdefs.h. */
81102 #include <iconv.h>
81103 _ACEOF
81104 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
81105 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
81106 ac_status=$?
81107 grep -v '^ *+' conftest.er1 >conftest.err
81108 rm -f conftest.er1
81109 cat conftest.err >&5
81110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81111 (exit $ac_status); } >/dev/null; then
81112 if test -s conftest.err; then
81113 ac_cpp_err=$ac_c_preproc_warn_flag
81114 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
81115 else
81116 ac_cpp_err=
81117 fi
81118 else
81119 ac_cpp_err=yes
81120 fi
81121 if test -z "$ac_cpp_err"; then
81122 ac_header_preproc=yes
81123 else
81124 echo "$as_me: failed program was:" >&5
81125 sed 's/^/| /' conftest.$ac_ext >&5
81126
81127 ac_header_preproc=no
81128 fi
81129 rm -f conftest.err conftest.$ac_ext
81130 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
81131 echo "${ECHO_T}$ac_header_preproc" >&6
81132
81133 # So? What about this header?
81134 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
81135 yes:no: )
81136 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
81137 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
81138 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
81139 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
81140 ac_header_preproc=yes
81141 ;;
81142 no:yes:* )
81143 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
81144 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
81145 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
81146 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
81147 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
81148 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
81149 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
81150 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
81151 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
81152 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
81153 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
81154 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
81155 (
81156 cat <<\_ASBOX
81157 ## ----------------------------------------- ##
81158 ## Report this to the package-unused lists. ##
81159 ## ----------------------------------------- ##
81160 _ASBOX
81161 ) |
81162 sed "s/^/$as_me: WARNING: /" >&2
81163 ;;
81164 esac
81165 echo "$as_me:$LINENO: checking for iconv.h" >&5
81166 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
81167 if test "${ac_cv_header_iconv_h+set}" = set; then
81168 echo $ECHO_N "(cached) $ECHO_C" >&6
81169 else
81170 ac_cv_header_iconv_h=$ac_header_preproc
81171 fi
81172 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
81173 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
81174
81175 fi
81176 if test $ac_cv_header_iconv_h = yes; then
81177 ac_has_iconv_h=yes
81178 else
81179 ac_has_iconv_h=no
81180 fi
81181
81182
81183 if test "${ac_cv_header_langinfo_h+set}" = set; then
81184 echo "$as_me:$LINENO: checking for langinfo.h" >&5
81185 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
81186 if test "${ac_cv_header_langinfo_h+set}" = set; then
81187 echo $ECHO_N "(cached) $ECHO_C" >&6
81188 fi
81189 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
81190 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
81191 else
81192 # Is the header compilable?
81193 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
81194 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
81195 cat >conftest.$ac_ext <<_ACEOF
81196 /* confdefs.h. */
81197 _ACEOF
81198 cat confdefs.h >>conftest.$ac_ext
81199 cat >>conftest.$ac_ext <<_ACEOF
81200 /* end confdefs.h. */
81201 $ac_includes_default
81202 #include <langinfo.h>
81203 _ACEOF
81204 rm -f conftest.$ac_objext
81205 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
81206 (eval $ac_compile) 2>conftest.er1
81207 ac_status=$?
81208 grep -v '^ *+' conftest.er1 >conftest.err
81209 rm -f conftest.er1
81210 cat conftest.err >&5
81211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81212 (exit $ac_status); } &&
81213 { ac_try='test -z "$ac_c_werror_flag"
81214 || test ! -s conftest.err'
81215 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81216 (eval $ac_try) 2>&5
81217 ac_status=$?
81218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81219 (exit $ac_status); }; } &&
81220 { ac_try='test -s conftest.$ac_objext'
81221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81222 (eval $ac_try) 2>&5
81223 ac_status=$?
81224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81225 (exit $ac_status); }; }; then
81226 ac_header_compiler=yes
81227 else
81228 echo "$as_me: failed program was:" >&5
81229 sed 's/^/| /' conftest.$ac_ext >&5
81230
81231 ac_header_compiler=no
81232 fi
81233 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
81234 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
81235 echo "${ECHO_T}$ac_header_compiler" >&6
81236
81237 # Is the header present?
81238 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
81239 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
81240 cat >conftest.$ac_ext <<_ACEOF
81241 /* confdefs.h. */
81242 _ACEOF
81243 cat confdefs.h >>conftest.$ac_ext
81244 cat >>conftest.$ac_ext <<_ACEOF
81245 /* end confdefs.h. */
81246 #include <langinfo.h>
81247 _ACEOF
81248 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
81249 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
81250 ac_status=$?
81251 grep -v '^ *+' conftest.er1 >conftest.err
81252 rm -f conftest.er1
81253 cat conftest.err >&5
81254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81255 (exit $ac_status); } >/dev/null; then
81256 if test -s conftest.err; then
81257 ac_cpp_err=$ac_c_preproc_warn_flag
81258 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
81259 else
81260 ac_cpp_err=
81261 fi
81262 else
81263 ac_cpp_err=yes
81264 fi
81265 if test -z "$ac_cpp_err"; then
81266 ac_header_preproc=yes
81267 else
81268 echo "$as_me: failed program was:" >&5
81269 sed 's/^/| /' conftest.$ac_ext >&5
81270
81271 ac_header_preproc=no
81272 fi
81273 rm -f conftest.err conftest.$ac_ext
81274 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
81275 echo "${ECHO_T}$ac_header_preproc" >&6
81276
81277 # So? What about this header?
81278 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
81279 yes:no: )
81280 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
81281 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
81282 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
81283 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
81284 ac_header_preproc=yes
81285 ;;
81286 no:yes:* )
81287 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
81288 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
81289 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
81290 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
81291 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
81292 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
81293 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
81294 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
81295 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
81296 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
81297 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
81298 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
81299 (
81300 cat <<\_ASBOX
81301 ## ----------------------------------------- ##
81302 ## Report this to the package-unused lists. ##
81303 ## ----------------------------------------- ##
81304 _ASBOX
81305 ) |
81306 sed "s/^/$as_me: WARNING: /" >&2
81307 ;;
81308 esac
81309 echo "$as_me:$LINENO: checking for langinfo.h" >&5
81310 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
81311 if test "${ac_cv_header_langinfo_h+set}" = set; then
81312 echo $ECHO_N "(cached) $ECHO_C" >&6
81313 else
81314 ac_cv_header_langinfo_h=$ac_header_preproc
81315 fi
81316 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
81317 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
81318
81319 fi
81320 if test $ac_cv_header_langinfo_h = yes; then
81321 ac_has_langinfo_h=yes
81322 else
81323 ac_has_langinfo_h=no
81324 fi
81325
81326
81327
81328 # Check for existence of libiconv.a providing XPG2 wchar_t support.
81329 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
81330 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
81331 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
81332 echo $ECHO_N "(cached) $ECHO_C" >&6
81333 else
81334 ac_check_lib_save_LIBS=$LIBS
81335 LIBS="-liconv $LIBS"
81336 if test x$gcc_no_link = xyes; then
81337 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81338 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81339 { (exit 1); exit 1; }; }
81340 fi
81341 cat >conftest.$ac_ext <<_ACEOF
81342 /* confdefs.h. */
81343 _ACEOF
81344 cat confdefs.h >>conftest.$ac_ext
81345 cat >>conftest.$ac_ext <<_ACEOF
81346 /* end confdefs.h. */
81347
81348 /* Override any gcc2 internal prototype to avoid an error. */
81349 #ifdef __cplusplus
81350 extern "C"
81351 #endif
81352 /* We use char because int might match the return type of a gcc2
81353 builtin and then its argument prototype would still apply. */
81354 char iconv ();
81355 int
81356 main ()
81357 {
81358 iconv ();
81359 ;
81360 return 0;
81361 }
81362 _ACEOF
81363 rm -f conftest.$ac_objext conftest$ac_exeext
81364 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81365 (eval $ac_link) 2>conftest.er1
81366 ac_status=$?
81367 grep -v '^ *+' conftest.er1 >conftest.err
81368 rm -f conftest.er1
81369 cat conftest.err >&5
81370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81371 (exit $ac_status); } &&
81372 { ac_try='test -z "$ac_c_werror_flag"
81373 || 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 ac_cv_lib_iconv_iconv=yes
81386 else
81387 echo "$as_me: failed program was:" >&5
81388 sed 's/^/| /' conftest.$ac_ext >&5
81389
81390 ac_cv_lib_iconv_iconv=no
81391 fi
81392 rm -f conftest.err conftest.$ac_objext \
81393 conftest$ac_exeext conftest.$ac_ext
81394 LIBS=$ac_check_lib_save_LIBS
81395 fi
81396 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
81397 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
81398 if test $ac_cv_lib_iconv_iconv = yes; then
81399 LIBICONV="-liconv"
81400 fi
81401
81402 ac_save_LIBS="$LIBS"
81403 LIBS="$LIBS $LIBICONV"
81404
81405
81406
81407
81408
81409
81410 for ac_func in iconv_open iconv_close iconv nl_langinfo
81411 do
81412 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
81413 echo "$as_me:$LINENO: checking for $ac_func" >&5
81414 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
81415 if eval "test \"\${$as_ac_var+set}\" = set"; then
81416 echo $ECHO_N "(cached) $ECHO_C" >&6
81417 else
81418 if test x$gcc_no_link = xyes; then
81419 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81420 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81421 { (exit 1); exit 1; }; }
81422 fi
81423 cat >conftest.$ac_ext <<_ACEOF
81424 /* confdefs.h. */
81425 _ACEOF
81426 cat confdefs.h >>conftest.$ac_ext
81427 cat >>conftest.$ac_ext <<_ACEOF
81428 /* end confdefs.h. */
81429 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
81430 For example, HP-UX 11i <limits.h> declares gettimeofday. */
81431 #define $ac_func innocuous_$ac_func
81432
81433 /* System header to define __stub macros and hopefully few prototypes,
81434 which can conflict with char $ac_func (); below.
81435 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
81436 <limits.h> exists even on freestanding compilers. */
81437
81438 #ifdef __STDC__
81439 # include <limits.h>
81440 #else
81441 # include <assert.h>
81442 #endif
81443
81444 #undef $ac_func
81445
81446 /* Override any gcc2 internal prototype to avoid an error. */
81447 #ifdef __cplusplus
81448 extern "C"
81449 {
81450 #endif
81451 /* We use char because int might match the return type of a gcc2
81452 builtin and then its argument prototype would still apply. */
81453 char $ac_func ();
81454 /* The GNU C library defines this for functions which it implements
81455 to always fail with ENOSYS. Some functions are actually named
81456 something starting with __ and the normal name is an alias. */
81457 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
81458 choke me
81459 #else
81460 char (*f) () = $ac_func;
81461 #endif
81462 #ifdef __cplusplus
81463 }
81464 #endif
81465
81466 int
81467 main ()
81468 {
81469 return f != $ac_func;
81470 ;
81471 return 0;
81472 }
81473 _ACEOF
81474 rm -f conftest.$ac_objext conftest$ac_exeext
81475 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81476 (eval $ac_link) 2>conftest.er1
81477 ac_status=$?
81478 grep -v '^ *+' conftest.er1 >conftest.err
81479 rm -f conftest.er1
81480 cat conftest.err >&5
81481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81482 (exit $ac_status); } &&
81483 { ac_try='test -z "$ac_c_werror_flag"
81484 || test ! -s conftest.err'
81485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81486 (eval $ac_try) 2>&5
81487 ac_status=$?
81488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81489 (exit $ac_status); }; } &&
81490 { ac_try='test -s conftest$ac_exeext'
81491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81492 (eval $ac_try) 2>&5
81493 ac_status=$?
81494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81495 (exit $ac_status); }; }; then
81496 eval "$as_ac_var=yes"
81497 else
81498 echo "$as_me: failed program was:" >&5
81499 sed 's/^/| /' conftest.$ac_ext >&5
81500
81501 eval "$as_ac_var=no"
81502 fi
81503 rm -f conftest.err conftest.$ac_objext \
81504 conftest$ac_exeext conftest.$ac_ext
81505 fi
81506 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
81507 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
81508 if test `eval echo '${'$as_ac_var'}'` = yes; then
81509 cat >>confdefs.h <<_ACEOF
81510 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
81511 _ACEOF
81512 ac_XPG2funcs=yes
81513 else
81514 ac_XPG2funcs=no
81515 fi
81516 done
81517
81518
81519 LIBS="$ac_save_LIBS"
81520
81521 if test x"$ac_has_iconv_h" = xyes &&
81522 test x"$ac_has_langinfo_h" = xyes &&
81523 test x"$ac_XPG2funcs" = xyes;
81524 then
81525
81526 cat >>confdefs.h <<\_ACEOF
81527 #define _GLIBCXX_USE_ICONV 1
81528 _ACEOF
81529
81530 enable_iconv=yes
81531 fi
81532 fi
81533 echo "$as_me:$LINENO: checking for enabled iconv specializations" >&5
81534 echo $ECHO_N "checking for enabled iconv specializations... $ECHO_C" >&6
81535 echo "$as_me:$LINENO: result: $enable_iconv" >&5
81536 echo "${ECHO_T}$enable_iconv" >&6
81537
81538 cat >>confdefs.h <<\_ACEOF
81539 #define HAVE_COPYSIGN 1
81540 _ACEOF
81541
81542 cat >>confdefs.h <<\_ACEOF
81543 #define HAVE_COPYSIGNF 1
81544 _ACEOF
81545
81546 cat >>confdefs.h <<\_ACEOF
81547 #define HAVE_FINITEF 1
81548 _ACEOF
81549
81550 cat >>confdefs.h <<\_ACEOF
81551 #define HAVE_FINITE 1
81552 _ACEOF
81553
81554 cat >>confdefs.h <<\_ACEOF
81555 #define HAVE_FREXPF 1
81556 _ACEOF
81557
81558 cat >>confdefs.h <<\_ACEOF
81559 #define HAVE_HYPOTF 1
81560 _ACEOF
81561
81562 cat >>confdefs.h <<\_ACEOF
81563 #define HAVE_ISINF 1
81564 _ACEOF
81565
81566 cat >>confdefs.h <<\_ACEOF
81567 #define HAVE_ISINFF 1
81568 _ACEOF
81569
81570 cat >>confdefs.h <<\_ACEOF
81571 #define HAVE_ISNAN 1
81572 _ACEOF
81573
81574 cat >>confdefs.h <<\_ACEOF
81575 #define HAVE_ISNANF 1
81576 _ACEOF
81577
81578 if test x"long_double_math_on_this_cpu" = x"yes"; then
81579 cat >>confdefs.h <<\_ACEOF
81580 #define HAVE_FINITEL 1
81581 _ACEOF
81582
81583 cat >>confdefs.h <<\_ACEOF
81584 #define HAVE_ISINFL 1
81585 _ACEOF
81586
81587 cat >>confdefs.h <<\_ACEOF
81588 #define HAVE_ISNANL 1
81589 _ACEOF
81590
81591 fi
81592 ;;
81593 *-netware)
81594
81595
81596
81597
81598
81599
81600
81601
81602 for ac_header in nan.h ieeefp.h sys/isa_defs.h sys/machine.h \
81603 sys/types.h locale.h float.h inttypes.h
81604 do
81605 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
81606 if eval "test \"\${$as_ac_Header+set}\" = set"; then
81607 echo "$as_me:$LINENO: checking for $ac_header" >&5
81608 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
81609 if eval "test \"\${$as_ac_Header+set}\" = set"; then
81610 echo $ECHO_N "(cached) $ECHO_C" >&6
81611 fi
81612 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
81613 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
81614 else
81615 # Is the header compilable?
81616 echo "$as_me:$LINENO: checking $ac_header usability" >&5
81617 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
81618 cat >conftest.$ac_ext <<_ACEOF
81619 /* confdefs.h. */
81620 _ACEOF
81621 cat confdefs.h >>conftest.$ac_ext
81622 cat >>conftest.$ac_ext <<_ACEOF
81623 /* end confdefs.h. */
81624 $ac_includes_default
81625 #include <$ac_header>
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_c_werror_flag"
81637 || test ! -s conftest.err'
81638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81639 (eval $ac_try) 2>&5
81640 ac_status=$?
81641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81642 (exit $ac_status); }; } &&
81643 { ac_try='test -s conftest.$ac_objext'
81644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81645 (eval $ac_try) 2>&5
81646 ac_status=$?
81647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81648 (exit $ac_status); }; }; then
81649 ac_header_compiler=yes
81650 else
81651 echo "$as_me: failed program was:" >&5
81652 sed 's/^/| /' conftest.$ac_ext >&5
81653
81654 ac_header_compiler=no
81655 fi
81656 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
81657 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
81658 echo "${ECHO_T}$ac_header_compiler" >&6
81659
81660 # Is the header present?
81661 echo "$as_me:$LINENO: checking $ac_header presence" >&5
81662 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
81663 cat >conftest.$ac_ext <<_ACEOF
81664 /* confdefs.h. */
81665 _ACEOF
81666 cat confdefs.h >>conftest.$ac_ext
81667 cat >>conftest.$ac_ext <<_ACEOF
81668 /* end confdefs.h. */
81669 #include <$ac_header>
81670 _ACEOF
81671 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
81672 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
81673 ac_status=$?
81674 grep -v '^ *+' conftest.er1 >conftest.err
81675 rm -f conftest.er1
81676 cat conftest.err >&5
81677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81678 (exit $ac_status); } >/dev/null; then
81679 if test -s conftest.err; then
81680 ac_cpp_err=$ac_c_preproc_warn_flag
81681 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
81682 else
81683 ac_cpp_err=
81684 fi
81685 else
81686 ac_cpp_err=yes
81687 fi
81688 if test -z "$ac_cpp_err"; then
81689 ac_header_preproc=yes
81690 else
81691 echo "$as_me: failed program was:" >&5
81692 sed 's/^/| /' conftest.$ac_ext >&5
81693
81694 ac_header_preproc=no
81695 fi
81696 rm -f conftest.err conftest.$ac_ext
81697 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
81698 echo "${ECHO_T}$ac_header_preproc" >&6
81699
81700 # So? What about this header?
81701 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
81702 yes:no: )
81703 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
81704 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
81705 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
81706 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
81707 ac_header_preproc=yes
81708 ;;
81709 no:yes:* )
81710 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
81711 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
81712 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
81713 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
81714 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
81715 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
81716 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
81717 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
81718 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
81719 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
81720 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
81721 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
81722 (
81723 cat <<\_ASBOX
81724 ## ----------------------------------------- ##
81725 ## Report this to the package-unused lists. ##
81726 ## ----------------------------------------- ##
81727 _ASBOX
81728 ) |
81729 sed "s/^/$as_me: WARNING: /" >&2
81730 ;;
81731 esac
81732 echo "$as_me:$LINENO: checking for $ac_header" >&5
81733 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
81734 if eval "test \"\${$as_ac_Header+set}\" = set"; then
81735 echo $ECHO_N "(cached) $ECHO_C" >&6
81736 else
81737 eval "$as_ac_Header=\$ac_header_preproc"
81738 fi
81739 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
81740 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
81741
81742 fi
81743 if test `eval echo '${'$as_ac_Header'}'` = yes; then
81744 cat >>confdefs.h <<_ACEOF
81745 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
81746 _ACEOF
81747
81748 fi
81749
81750 done
81751
81752 SECTION_FLAGS='-ffunction-sections -fdata-sections'
81753
81754
81755 # If we're not using GNU ld, then there's no point in even trying these
81756 # tests. Check for that first. We should have already tested for gld
81757 # by now (in libtool), but require it now just to be safe...
81758 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
81759 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
81760
81761
81762
81763 # The name set by libtool depends on the version of libtool. Shame on us
81764 # for depending on an impl detail, but c'est la vie. Older versions used
81765 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
81766 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
81767 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
81768 # set (hence we're using an older libtool), then set it.
81769 if test x${with_gnu_ld+set} != xset; then
81770 if test x${ac_cv_prog_gnu_ld+set} != xset; then
81771 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
81772 with_gnu_ld=no
81773 else
81774 with_gnu_ld=$ac_cv_prog_gnu_ld
81775 fi
81776 fi
81777
81778 # Start by getting the version number. I think the libtool test already
81779 # does some of this, but throws away the result.
81780
81781 ldver=`$LD --version 2>/dev/null | head -1 | \
81782 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
81783
81784 glibcxx_gnu_ld_version=`echo $ldver | \
81785 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
81786
81787 # Set --gc-sections.
81788 if test "$with_gnu_ld" = "notbroken"; then
81789 # GNU ld it is! Joy and bunny rabbits!
81790
81791 # All these tests are for C++; save the language and the compiler flags.
81792 # Need to do this so that g++ won't try to link in libstdc++
81793 ac_test_CFLAGS="${CFLAGS+set}"
81794 ac_save_CFLAGS="$CFLAGS"
81795 CFLAGS='-x c++ -Wl,--gc-sections'
81796
81797 # Check for -Wl,--gc-sections
81798 # XXX This test is broken at the moment, as symbols required for linking
81799 # are now in libsupc++ (not built yet). In addition, this test has
81800 # cored on solaris in the past. In addition, --gc-sections doesn't
81801 # really work at the moment (keeps on discarding used sections, first
81802 # .eh_frame and now some of the glibc sections for iconv).
81803 # Bzzzzt. Thanks for playing, maybe next time.
81804 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
81805 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
81806 if test "$cross_compiling" = yes; then
81807 ac_sectionLDflags=yes
81808 else
81809 cat >conftest.$ac_ext <<_ACEOF
81810 /* confdefs.h. */
81811 _ACEOF
81812 cat confdefs.h >>conftest.$ac_ext
81813 cat >>conftest.$ac_ext <<_ACEOF
81814 /* end confdefs.h. */
81815
81816 int main(void)
81817 {
81818 try { throw 1; }
81819 catch (...) { };
81820 return 0;
81821 }
81822
81823 _ACEOF
81824 rm -f conftest$ac_exeext
81825 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81826 (eval $ac_link) 2>&5
81827 ac_status=$?
81828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81829 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
81830 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81831 (eval $ac_try) 2>&5
81832 ac_status=$?
81833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81834 (exit $ac_status); }; }; then
81835 ac_sectionLDflags=yes
81836 else
81837 echo "$as_me: program exited with status $ac_status" >&5
81838 echo "$as_me: failed program was:" >&5
81839 sed 's/^/| /' conftest.$ac_ext >&5
81840
81841 ( exit $ac_status )
81842 ac_sectionLDflags=no
81843 fi
81844 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
81845 fi
81846 if test "$ac_test_CFLAGS" = set; then
81847 CFLAGS="$ac_save_CFLAGS"
81848 else
81849 # this is the suspicious part
81850 CFLAGS=''
81851 fi
81852 if test "$ac_sectionLDflags" = "yes"; then
81853 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
81854 fi
81855 echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
81856 echo "${ECHO_T}$ac_sectionLDflags" >&6
81857 fi
81858
81859 # Set linker optimization flags.
81860 if test x"$with_gnu_ld" = x"yes"; then
81861 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
81862 fi
81863
81864
81865
81866
81867
81868
81869 echo "$as_me:$LINENO: checking for main in -lm" >&5
81870 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
81871 if test "${ac_cv_lib_m_main+set}" = set; then
81872 echo $ECHO_N "(cached) $ECHO_C" >&6
81873 else
81874 ac_check_lib_save_LIBS=$LIBS
81875 LIBS="-lm $LIBS"
81876 if test x$gcc_no_link = xyes; then
81877 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81878 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81879 { (exit 1); exit 1; }; }
81880 fi
81881 cat >conftest.$ac_ext <<_ACEOF
81882 /* confdefs.h. */
81883 _ACEOF
81884 cat confdefs.h >>conftest.$ac_ext
81885 cat >>conftest.$ac_ext <<_ACEOF
81886 /* end confdefs.h. */
81887
81888
81889 int
81890 main ()
81891 {
81892 main ();
81893 ;
81894 return 0;
81895 }
81896 _ACEOF
81897 rm -f conftest.$ac_objext conftest$ac_exeext
81898 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81899 (eval $ac_link) 2>conftest.er1
81900 ac_status=$?
81901 grep -v '^ *+' conftest.er1 >conftest.err
81902 rm -f conftest.er1
81903 cat conftest.err >&5
81904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81905 (exit $ac_status); } &&
81906 { ac_try='test -z "$ac_c_werror_flag"
81907 || test ! -s conftest.err'
81908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81909 (eval $ac_try) 2>&5
81910 ac_status=$?
81911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81912 (exit $ac_status); }; } &&
81913 { ac_try='test -s conftest$ac_exeext'
81914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81915 (eval $ac_try) 2>&5
81916 ac_status=$?
81917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81918 (exit $ac_status); }; }; then
81919 ac_cv_lib_m_main=yes
81920 else
81921 echo "$as_me: failed program was:" >&5
81922 sed 's/^/| /' conftest.$ac_ext >&5
81923
81924 ac_cv_lib_m_main=no
81925 fi
81926 rm -f conftest.err conftest.$ac_objext \
81927 conftest$ac_exeext conftest.$ac_ext
81928 LIBS=$ac_check_lib_save_LIBS
81929 fi
81930 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
81931 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
81932 if test $ac_cv_lib_m_main = yes; then
81933 cat >>confdefs.h <<_ACEOF
81934 #define HAVE_LIBM 1
81935 _ACEOF
81936
81937 LIBS="-lm $LIBS"
81938
81939 fi
81940
81941
81942 for ac_func in copysignf
81943 do
81944 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
81945 echo "$as_me:$LINENO: checking for $ac_func" >&5
81946 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
81947 if eval "test \"\${$as_ac_var+set}\" = set"; then
81948 echo $ECHO_N "(cached) $ECHO_C" >&6
81949 else
81950 if test x$gcc_no_link = xyes; then
81951 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81952 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81953 { (exit 1); exit 1; }; }
81954 fi
81955 cat >conftest.$ac_ext <<_ACEOF
81956 /* confdefs.h. */
81957 _ACEOF
81958 cat confdefs.h >>conftest.$ac_ext
81959 cat >>conftest.$ac_ext <<_ACEOF
81960 /* end confdefs.h. */
81961 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
81962 For example, HP-UX 11i <limits.h> declares gettimeofday. */
81963 #define $ac_func innocuous_$ac_func
81964
81965 /* System header to define __stub macros and hopefully few prototypes,
81966 which can conflict with char $ac_func (); below.
81967 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
81968 <limits.h> exists even on freestanding compilers. */
81969
81970 #ifdef __STDC__
81971 # include <limits.h>
81972 #else
81973 # include <assert.h>
81974 #endif
81975
81976 #undef $ac_func
81977
81978 /* Override any gcc2 internal prototype to avoid an error. */
81979 #ifdef __cplusplus
81980 extern "C"
81981 {
81982 #endif
81983 /* We use char because int might match the return type of a gcc2
81984 builtin and then its argument prototype would still apply. */
81985 char $ac_func ();
81986 /* The GNU C library defines this for functions which it implements
81987 to always fail with ENOSYS. Some functions are actually named
81988 something starting with __ and the normal name is an alias. */
81989 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
81990 choke me
81991 #else
81992 char (*f) () = $ac_func;
81993 #endif
81994 #ifdef __cplusplus
81995 }
81996 #endif
81997
81998 int
81999 main ()
82000 {
82001 return f != $ac_func;
82002 ;
82003 return 0;
82004 }
82005 _ACEOF
82006 rm -f conftest.$ac_objext conftest$ac_exeext
82007 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82008 (eval $ac_link) 2>conftest.er1
82009 ac_status=$?
82010 grep -v '^ *+' conftest.er1 >conftest.err
82011 rm -f conftest.er1
82012 cat conftest.err >&5
82013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82014 (exit $ac_status); } &&
82015 { ac_try='test -z "$ac_c_werror_flag"
82016 || test ! -s conftest.err'
82017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82018 (eval $ac_try) 2>&5
82019 ac_status=$?
82020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82021 (exit $ac_status); }; } &&
82022 { ac_try='test -s conftest$ac_exeext'
82023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82024 (eval $ac_try) 2>&5
82025 ac_status=$?
82026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82027 (exit $ac_status); }; }; then
82028 eval "$as_ac_var=yes"
82029 else
82030 echo "$as_me: failed program was:" >&5
82031 sed 's/^/| /' conftest.$ac_ext >&5
82032
82033 eval "$as_ac_var=no"
82034 fi
82035 rm -f conftest.err conftest.$ac_objext \
82036 conftest$ac_exeext conftest.$ac_ext
82037 fi
82038 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
82039 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
82040 if test `eval echo '${'$as_ac_var'}'` = yes; then
82041 cat >>confdefs.h <<_ACEOF
82042 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
82043 _ACEOF
82044
82045 else
82046 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
82047 fi
82048 done
82049
82050
82051
82052 for ac_func in __signbit
82053 do
82054 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
82055 echo "$as_me:$LINENO: checking for $ac_func" >&5
82056 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
82057 if eval "test \"\${$as_ac_var+set}\" = set"; then
82058 echo $ECHO_N "(cached) $ECHO_C" >&6
82059 else
82060 if test x$gcc_no_link = xyes; then
82061 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82062 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82063 { (exit 1); exit 1; }; }
82064 fi
82065 cat >conftest.$ac_ext <<_ACEOF
82066 /* confdefs.h. */
82067 _ACEOF
82068 cat confdefs.h >>conftest.$ac_ext
82069 cat >>conftest.$ac_ext <<_ACEOF
82070 /* end confdefs.h. */
82071 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
82072 For example, HP-UX 11i <limits.h> declares gettimeofday. */
82073 #define $ac_func innocuous_$ac_func
82074
82075 /* System header to define __stub macros and hopefully few prototypes,
82076 which can conflict with char $ac_func (); below.
82077 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
82078 <limits.h> exists even on freestanding compilers. */
82079
82080 #ifdef __STDC__
82081 # include <limits.h>
82082 #else
82083 # include <assert.h>
82084 #endif
82085
82086 #undef $ac_func
82087
82088 /* Override any gcc2 internal prototype to avoid an error. */
82089 #ifdef __cplusplus
82090 extern "C"
82091 {
82092 #endif
82093 /* We use char because int might match the return type of a gcc2
82094 builtin and then its argument prototype would still apply. */
82095 char $ac_func ();
82096 /* The GNU C library defines this for functions which it implements
82097 to always fail with ENOSYS. Some functions are actually named
82098 something starting with __ and the normal name is an alias. */
82099 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
82100 choke me
82101 #else
82102 char (*f) () = $ac_func;
82103 #endif
82104 #ifdef __cplusplus
82105 }
82106 #endif
82107
82108 int
82109 main ()
82110 {
82111 return f != $ac_func;
82112 ;
82113 return 0;
82114 }
82115 _ACEOF
82116 rm -f conftest.$ac_objext conftest$ac_exeext
82117 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82118 (eval $ac_link) 2>conftest.er1
82119 ac_status=$?
82120 grep -v '^ *+' conftest.er1 >conftest.err
82121 rm -f conftest.er1
82122 cat conftest.err >&5
82123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82124 (exit $ac_status); } &&
82125 { ac_try='test -z "$ac_c_werror_flag"
82126 || test ! -s conftest.err'
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); }; } &&
82132 { ac_try='test -s conftest$ac_exeext'
82133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82134 (eval $ac_try) 2>&5
82135 ac_status=$?
82136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82137 (exit $ac_status); }; }; then
82138 eval "$as_ac_var=yes"
82139 else
82140 echo "$as_me: failed program was:" >&5
82141 sed 's/^/| /' conftest.$ac_ext >&5
82142
82143 eval "$as_ac_var=no"
82144 fi
82145 rm -f conftest.err conftest.$ac_objext \
82146 conftest$ac_exeext conftest.$ac_ext
82147 fi
82148 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
82149 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
82150 if test `eval echo '${'$as_ac_var'}'` = yes; then
82151 cat >>confdefs.h <<_ACEOF
82152 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
82153 _ACEOF
82154
82155 else
82156 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
82157 fi
82158 done
82159
82160
82161
82162 for ac_func in __signbitf
82163 do
82164 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
82165 echo "$as_me:$LINENO: checking for $ac_func" >&5
82166 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
82167 if eval "test \"\${$as_ac_var+set}\" = set"; then
82168 echo $ECHO_N "(cached) $ECHO_C" >&6
82169 else
82170 if test x$gcc_no_link = xyes; then
82171 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82172 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82173 { (exit 1); exit 1; }; }
82174 fi
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 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
82182 For example, HP-UX 11i <limits.h> declares gettimeofday. */
82183 #define $ac_func innocuous_$ac_func
82184
82185 /* System header to define __stub macros and hopefully few prototypes,
82186 which can conflict with char $ac_func (); below.
82187 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
82188 <limits.h> exists even on freestanding compilers. */
82189
82190 #ifdef __STDC__
82191 # include <limits.h>
82192 #else
82193 # include <assert.h>
82194 #endif
82195
82196 #undef $ac_func
82197
82198 /* Override any gcc2 internal prototype to avoid an error. */
82199 #ifdef __cplusplus
82200 extern "C"
82201 {
82202 #endif
82203 /* We use char because int might match the return type of a gcc2
82204 builtin and then its argument prototype would still apply. */
82205 char $ac_func ();
82206 /* The GNU C library defines this for functions which it implements
82207 to always fail with ENOSYS. Some functions are actually named
82208 something starting with __ and the normal name is an alias. */
82209 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
82210 choke me
82211 #else
82212 char (*f) () = $ac_func;
82213 #endif
82214 #ifdef __cplusplus
82215 }
82216 #endif
82217
82218 int
82219 main ()
82220 {
82221 return f != $ac_func;
82222 ;
82223 return 0;
82224 }
82225 _ACEOF
82226 rm -f conftest.$ac_objext conftest$ac_exeext
82227 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82228 (eval $ac_link) 2>conftest.er1
82229 ac_status=$?
82230 grep -v '^ *+' conftest.er1 >conftest.err
82231 rm -f conftest.er1
82232 cat conftest.err >&5
82233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82234 (exit $ac_status); } &&
82235 { ac_try='test -z "$ac_c_werror_flag"
82236 || test ! -s conftest.err'
82237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82238 (eval $ac_try) 2>&5
82239 ac_status=$?
82240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82241 (exit $ac_status); }; } &&
82242 { ac_try='test -s conftest$ac_exeext'
82243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82244 (eval $ac_try) 2>&5
82245 ac_status=$?
82246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82247 (exit $ac_status); }; }; then
82248 eval "$as_ac_var=yes"
82249 else
82250 echo "$as_me: failed program was:" >&5
82251 sed 's/^/| /' conftest.$ac_ext >&5
82252
82253 eval "$as_ac_var=no"
82254 fi
82255 rm -f conftest.err conftest.$ac_objext \
82256 conftest$ac_exeext conftest.$ac_ext
82257 fi
82258 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
82259 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
82260 if test `eval echo '${'$as_ac_var'}'` = yes; then
82261 cat >>confdefs.h <<_ACEOF
82262 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
82263 _ACEOF
82264
82265 else
82266 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
82267 fi
82268 done
82269
82270
82271 if test x$ac_cv_func_copysignl = x"yes"; then
82272
82273 for ac_func in __signbitl
82274 do
82275 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
82276 echo "$as_me:$LINENO: checking for $ac_func" >&5
82277 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
82278 if eval "test \"\${$as_ac_var+set}\" = set"; then
82279 echo $ECHO_N "(cached) $ECHO_C" >&6
82280 else
82281 if test x$gcc_no_link = xyes; then
82282 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82283 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82284 { (exit 1); exit 1; }; }
82285 fi
82286 cat >conftest.$ac_ext <<_ACEOF
82287 /* confdefs.h. */
82288 _ACEOF
82289 cat confdefs.h >>conftest.$ac_ext
82290 cat >>conftest.$ac_ext <<_ACEOF
82291 /* end confdefs.h. */
82292 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
82293 For example, HP-UX 11i <limits.h> declares gettimeofday. */
82294 #define $ac_func innocuous_$ac_func
82295
82296 /* System header to define __stub macros and hopefully few prototypes,
82297 which can conflict with char $ac_func (); below.
82298 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
82299 <limits.h> exists even on freestanding compilers. */
82300
82301 #ifdef __STDC__
82302 # include <limits.h>
82303 #else
82304 # include <assert.h>
82305 #endif
82306
82307 #undef $ac_func
82308
82309 /* Override any gcc2 internal prototype to avoid an error. */
82310 #ifdef __cplusplus
82311 extern "C"
82312 {
82313 #endif
82314 /* We use char because int might match the return type of a gcc2
82315 builtin and then its argument prototype would still apply. */
82316 char $ac_func ();
82317 /* The GNU C library defines this for functions which it implements
82318 to always fail with ENOSYS. Some functions are actually named
82319 something starting with __ and the normal name is an alias. */
82320 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
82321 choke me
82322 #else
82323 char (*f) () = $ac_func;
82324 #endif
82325 #ifdef __cplusplus
82326 }
82327 #endif
82328
82329 int
82330 main ()
82331 {
82332 return f != $ac_func;
82333 ;
82334 return 0;
82335 }
82336 _ACEOF
82337 rm -f conftest.$ac_objext conftest$ac_exeext
82338 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82339 (eval $ac_link) 2>conftest.er1
82340 ac_status=$?
82341 grep -v '^ *+' conftest.er1 >conftest.err
82342 rm -f conftest.er1
82343 cat conftest.err >&5
82344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82345 (exit $ac_status); } &&
82346 { ac_try='test -z "$ac_c_werror_flag"
82347 || test ! -s conftest.err'
82348 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82349 (eval $ac_try) 2>&5
82350 ac_status=$?
82351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82352 (exit $ac_status); }; } &&
82353 { ac_try='test -s conftest$ac_exeext'
82354 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82355 (eval $ac_try) 2>&5
82356 ac_status=$?
82357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82358 (exit $ac_status); }; }; then
82359 eval "$as_ac_var=yes"
82360 else
82361 echo "$as_me: failed program was:" >&5
82362 sed 's/^/| /' conftest.$ac_ext >&5
82363
82364 eval "$as_ac_var=no"
82365 fi
82366 rm -f conftest.err conftest.$ac_objext \
82367 conftest$ac_exeext conftest.$ac_ext
82368 fi
82369 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
82370 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
82371 if test `eval echo '${'$as_ac_var'}'` = yes; then
82372 cat >>confdefs.h <<_ACEOF
82373 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
82374 _ACEOF
82375
82376 else
82377 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
82378 fi
82379 done
82380
82381 fi
82382
82383 # Used in libmath/Makefile.am.
82384 if test -n "$LIBMATHOBJS"; then
82385 need_libmath=yes
82386 fi
82387
82388
82389
82390
82391 enable_iconv=no
82392 # Only continue checking if the ISO C99 headers exist and support is on.
82393 if test x"$enable_wchar_t" = xyes; then
82394
82395 # Use iconv for wchar_t to char conversions. As such, check for
82396 # X/Open Portability Guide, version 2 features (XPG2).
82397 if test "${ac_cv_header_iconv_h+set}" = set; then
82398 echo "$as_me:$LINENO: checking for iconv.h" >&5
82399 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
82400 if test "${ac_cv_header_iconv_h+set}" = set; then
82401 echo $ECHO_N "(cached) $ECHO_C" >&6
82402 fi
82403 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
82404 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
82405 else
82406 # Is the header compilable?
82407 echo "$as_me:$LINENO: checking iconv.h usability" >&5
82408 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
82409 cat >conftest.$ac_ext <<_ACEOF
82410 /* confdefs.h. */
82411 _ACEOF
82412 cat confdefs.h >>conftest.$ac_ext
82413 cat >>conftest.$ac_ext <<_ACEOF
82414 /* end confdefs.h. */
82415 $ac_includes_default
82416 #include <iconv.h>
82417 _ACEOF
82418 rm -f conftest.$ac_objext
82419 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82420 (eval $ac_compile) 2>conftest.er1
82421 ac_status=$?
82422 grep -v '^ *+' conftest.er1 >conftest.err
82423 rm -f conftest.er1
82424 cat conftest.err >&5
82425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82426 (exit $ac_status); } &&
82427 { ac_try='test -z "$ac_c_werror_flag"
82428 || test ! -s conftest.err'
82429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82430 (eval $ac_try) 2>&5
82431 ac_status=$?
82432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82433 (exit $ac_status); }; } &&
82434 { ac_try='test -s conftest.$ac_objext'
82435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82436 (eval $ac_try) 2>&5
82437 ac_status=$?
82438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82439 (exit $ac_status); }; }; then
82440 ac_header_compiler=yes
82441 else
82442 echo "$as_me: failed program was:" >&5
82443 sed 's/^/| /' conftest.$ac_ext >&5
82444
82445 ac_header_compiler=no
82446 fi
82447 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
82448 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
82449 echo "${ECHO_T}$ac_header_compiler" >&6
82450
82451 # Is the header present?
82452 echo "$as_me:$LINENO: checking iconv.h presence" >&5
82453 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
82454 cat >conftest.$ac_ext <<_ACEOF
82455 /* confdefs.h. */
82456 _ACEOF
82457 cat confdefs.h >>conftest.$ac_ext
82458 cat >>conftest.$ac_ext <<_ACEOF
82459 /* end confdefs.h. */
82460 #include <iconv.h>
82461 _ACEOF
82462 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
82463 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
82464 ac_status=$?
82465 grep -v '^ *+' conftest.er1 >conftest.err
82466 rm -f conftest.er1
82467 cat conftest.err >&5
82468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82469 (exit $ac_status); } >/dev/null; then
82470 if test -s conftest.err; then
82471 ac_cpp_err=$ac_c_preproc_warn_flag
82472 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
82473 else
82474 ac_cpp_err=
82475 fi
82476 else
82477 ac_cpp_err=yes
82478 fi
82479 if test -z "$ac_cpp_err"; then
82480 ac_header_preproc=yes
82481 else
82482 echo "$as_me: failed program was:" >&5
82483 sed 's/^/| /' conftest.$ac_ext >&5
82484
82485 ac_header_preproc=no
82486 fi
82487 rm -f conftest.err conftest.$ac_ext
82488 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
82489 echo "${ECHO_T}$ac_header_preproc" >&6
82490
82491 # So? What about this header?
82492 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
82493 yes:no: )
82494 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
82495 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
82496 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
82497 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
82498 ac_header_preproc=yes
82499 ;;
82500 no:yes:* )
82501 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
82502 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
82503 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
82504 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
82505 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
82506 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
82507 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
82508 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
82509 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
82510 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
82511 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
82512 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
82513 (
82514 cat <<\_ASBOX
82515 ## ----------------------------------------- ##
82516 ## Report this to the package-unused lists. ##
82517 ## ----------------------------------------- ##
82518 _ASBOX
82519 ) |
82520 sed "s/^/$as_me: WARNING: /" >&2
82521 ;;
82522 esac
82523 echo "$as_me:$LINENO: checking for iconv.h" >&5
82524 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
82525 if test "${ac_cv_header_iconv_h+set}" = set; then
82526 echo $ECHO_N "(cached) $ECHO_C" >&6
82527 else
82528 ac_cv_header_iconv_h=$ac_header_preproc
82529 fi
82530 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
82531 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
82532
82533 fi
82534 if test $ac_cv_header_iconv_h = yes; then
82535 ac_has_iconv_h=yes
82536 else
82537 ac_has_iconv_h=no
82538 fi
82539
82540
82541 if test "${ac_cv_header_langinfo_h+set}" = set; then
82542 echo "$as_me:$LINENO: checking for langinfo.h" >&5
82543 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
82544 if test "${ac_cv_header_langinfo_h+set}" = set; then
82545 echo $ECHO_N "(cached) $ECHO_C" >&6
82546 fi
82547 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
82548 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
82549 else
82550 # Is the header compilable?
82551 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
82552 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
82553 cat >conftest.$ac_ext <<_ACEOF
82554 /* confdefs.h. */
82555 _ACEOF
82556 cat confdefs.h >>conftest.$ac_ext
82557 cat >>conftest.$ac_ext <<_ACEOF
82558 /* end confdefs.h. */
82559 $ac_includes_default
82560 #include <langinfo.h>
82561 _ACEOF
82562 rm -f conftest.$ac_objext
82563 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82564 (eval $ac_compile) 2>conftest.er1
82565 ac_status=$?
82566 grep -v '^ *+' conftest.er1 >conftest.err
82567 rm -f conftest.er1
82568 cat conftest.err >&5
82569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82570 (exit $ac_status); } &&
82571 { ac_try='test -z "$ac_c_werror_flag"
82572 || test ! -s conftest.err'
82573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82574 (eval $ac_try) 2>&5
82575 ac_status=$?
82576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82577 (exit $ac_status); }; } &&
82578 { ac_try='test -s conftest.$ac_objext'
82579 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82580 (eval $ac_try) 2>&5
82581 ac_status=$?
82582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82583 (exit $ac_status); }; }; then
82584 ac_header_compiler=yes
82585 else
82586 echo "$as_me: failed program was:" >&5
82587 sed 's/^/| /' conftest.$ac_ext >&5
82588
82589 ac_header_compiler=no
82590 fi
82591 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
82592 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
82593 echo "${ECHO_T}$ac_header_compiler" >&6
82594
82595 # Is the header present?
82596 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
82597 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
82598 cat >conftest.$ac_ext <<_ACEOF
82599 /* confdefs.h. */
82600 _ACEOF
82601 cat confdefs.h >>conftest.$ac_ext
82602 cat >>conftest.$ac_ext <<_ACEOF
82603 /* end confdefs.h. */
82604 #include <langinfo.h>
82605 _ACEOF
82606 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
82607 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
82608 ac_status=$?
82609 grep -v '^ *+' conftest.er1 >conftest.err
82610 rm -f conftest.er1
82611 cat conftest.err >&5
82612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82613 (exit $ac_status); } >/dev/null; then
82614 if test -s conftest.err; then
82615 ac_cpp_err=$ac_c_preproc_warn_flag
82616 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
82617 else
82618 ac_cpp_err=
82619 fi
82620 else
82621 ac_cpp_err=yes
82622 fi
82623 if test -z "$ac_cpp_err"; then
82624 ac_header_preproc=yes
82625 else
82626 echo "$as_me: failed program was:" >&5
82627 sed 's/^/| /' conftest.$ac_ext >&5
82628
82629 ac_header_preproc=no
82630 fi
82631 rm -f conftest.err conftest.$ac_ext
82632 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
82633 echo "${ECHO_T}$ac_header_preproc" >&6
82634
82635 # So? What about this header?
82636 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
82637 yes:no: )
82638 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
82639 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
82640 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
82641 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
82642 ac_header_preproc=yes
82643 ;;
82644 no:yes:* )
82645 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
82646 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
82647 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
82648 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
82649 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
82650 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
82651 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
82652 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
82653 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
82654 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
82655 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
82656 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
82657 (
82658 cat <<\_ASBOX
82659 ## ----------------------------------------- ##
82660 ## Report this to the package-unused lists. ##
82661 ## ----------------------------------------- ##
82662 _ASBOX
82663 ) |
82664 sed "s/^/$as_me: WARNING: /" >&2
82665 ;;
82666 esac
82667 echo "$as_me:$LINENO: checking for langinfo.h" >&5
82668 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
82669 if test "${ac_cv_header_langinfo_h+set}" = set; then
82670 echo $ECHO_N "(cached) $ECHO_C" >&6
82671 else
82672 ac_cv_header_langinfo_h=$ac_header_preproc
82673 fi
82674 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
82675 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
82676
82677 fi
82678 if test $ac_cv_header_langinfo_h = yes; then
82679 ac_has_langinfo_h=yes
82680 else
82681 ac_has_langinfo_h=no
82682 fi
82683
82684
82685
82686 # Check for existence of libiconv.a providing XPG2 wchar_t support.
82687 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
82688 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
82689 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
82690 echo $ECHO_N "(cached) $ECHO_C" >&6
82691 else
82692 ac_check_lib_save_LIBS=$LIBS
82693 LIBS="-liconv $LIBS"
82694 if test x$gcc_no_link = xyes; then
82695 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82696 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82697 { (exit 1); exit 1; }; }
82698 fi
82699 cat >conftest.$ac_ext <<_ACEOF
82700 /* confdefs.h. */
82701 _ACEOF
82702 cat confdefs.h >>conftest.$ac_ext
82703 cat >>conftest.$ac_ext <<_ACEOF
82704 /* end confdefs.h. */
82705
82706 /* Override any gcc2 internal prototype to avoid an error. */
82707 #ifdef __cplusplus
82708 extern "C"
82709 #endif
82710 /* We use char because int might match the return type of a gcc2
82711 builtin and then its argument prototype would still apply. */
82712 char iconv ();
82713 int
82714 main ()
82715 {
82716 iconv ();
82717 ;
82718 return 0;
82719 }
82720 _ACEOF
82721 rm -f conftest.$ac_objext conftest$ac_exeext
82722 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82723 (eval $ac_link) 2>conftest.er1
82724 ac_status=$?
82725 grep -v '^ *+' conftest.er1 >conftest.err
82726 rm -f conftest.er1
82727 cat conftest.err >&5
82728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82729 (exit $ac_status); } &&
82730 { ac_try='test -z "$ac_c_werror_flag"
82731 || test ! -s conftest.err'
82732 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82733 (eval $ac_try) 2>&5
82734 ac_status=$?
82735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82736 (exit $ac_status); }; } &&
82737 { ac_try='test -s conftest$ac_exeext'
82738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82739 (eval $ac_try) 2>&5
82740 ac_status=$?
82741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82742 (exit $ac_status); }; }; then
82743 ac_cv_lib_iconv_iconv=yes
82744 else
82745 echo "$as_me: failed program was:" >&5
82746 sed 's/^/| /' conftest.$ac_ext >&5
82747
82748 ac_cv_lib_iconv_iconv=no
82749 fi
82750 rm -f conftest.err conftest.$ac_objext \
82751 conftest$ac_exeext conftest.$ac_ext
82752 LIBS=$ac_check_lib_save_LIBS
82753 fi
82754 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
82755 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
82756 if test $ac_cv_lib_iconv_iconv = yes; then
82757 LIBICONV="-liconv"
82758 fi
82759
82760 ac_save_LIBS="$LIBS"
82761 LIBS="$LIBS $LIBICONV"
82762
82763
82764
82765
82766
82767
82768 for ac_func in iconv_open iconv_close iconv nl_langinfo
82769 do
82770 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
82771 echo "$as_me:$LINENO: checking for $ac_func" >&5
82772 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
82773 if eval "test \"\${$as_ac_var+set}\" = set"; then
82774 echo $ECHO_N "(cached) $ECHO_C" >&6
82775 else
82776 if test x$gcc_no_link = xyes; then
82777 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82778 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82779 { (exit 1); exit 1; }; }
82780 fi
82781 cat >conftest.$ac_ext <<_ACEOF
82782 /* confdefs.h. */
82783 _ACEOF
82784 cat confdefs.h >>conftest.$ac_ext
82785 cat >>conftest.$ac_ext <<_ACEOF
82786 /* end confdefs.h. */
82787 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
82788 For example, HP-UX 11i <limits.h> declares gettimeofday. */
82789 #define $ac_func innocuous_$ac_func
82790
82791 /* System header to define __stub macros and hopefully few prototypes,
82792 which can conflict with char $ac_func (); below.
82793 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
82794 <limits.h> exists even on freestanding compilers. */
82795
82796 #ifdef __STDC__
82797 # include <limits.h>
82798 #else
82799 # include <assert.h>
82800 #endif
82801
82802 #undef $ac_func
82803
82804 /* Override any gcc2 internal prototype to avoid an error. */
82805 #ifdef __cplusplus
82806 extern "C"
82807 {
82808 #endif
82809 /* We use char because int might match the return type of a gcc2
82810 builtin and then its argument prototype would still apply. */
82811 char $ac_func ();
82812 /* The GNU C library defines this for functions which it implements
82813 to always fail with ENOSYS. Some functions are actually named
82814 something starting with __ and the normal name is an alias. */
82815 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
82816 choke me
82817 #else
82818 char (*f) () = $ac_func;
82819 #endif
82820 #ifdef __cplusplus
82821 }
82822 #endif
82823
82824 int
82825 main ()
82826 {
82827 return f != $ac_func;
82828 ;
82829 return 0;
82830 }
82831 _ACEOF
82832 rm -f conftest.$ac_objext conftest$ac_exeext
82833 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82834 (eval $ac_link) 2>conftest.er1
82835 ac_status=$?
82836 grep -v '^ *+' conftest.er1 >conftest.err
82837 rm -f conftest.er1
82838 cat conftest.err >&5
82839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82840 (exit $ac_status); } &&
82841 { ac_try='test -z "$ac_c_werror_flag"
82842 || test ! -s conftest.err'
82843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82844 (eval $ac_try) 2>&5
82845 ac_status=$?
82846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82847 (exit $ac_status); }; } &&
82848 { ac_try='test -s conftest$ac_exeext'
82849 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82850 (eval $ac_try) 2>&5
82851 ac_status=$?
82852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82853 (exit $ac_status); }; }; then
82854 eval "$as_ac_var=yes"
82855 else
82856 echo "$as_me: failed program was:" >&5
82857 sed 's/^/| /' conftest.$ac_ext >&5
82858
82859 eval "$as_ac_var=no"
82860 fi
82861 rm -f conftest.err conftest.$ac_objext \
82862 conftest$ac_exeext conftest.$ac_ext
82863 fi
82864 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
82865 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
82866 if test `eval echo '${'$as_ac_var'}'` = yes; then
82867 cat >>confdefs.h <<_ACEOF
82868 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
82869 _ACEOF
82870 ac_XPG2funcs=yes
82871 else
82872 ac_XPG2funcs=no
82873 fi
82874 done
82875
82876
82877 LIBS="$ac_save_LIBS"
82878
82879 if test x"$ac_has_iconv_h" = xyes &&
82880 test x"$ac_has_langinfo_h" = xyes &&
82881 test x"$ac_XPG2funcs" = xyes;
82882 then
82883
82884 cat >>confdefs.h <<\_ACEOF
82885 #define _GLIBCXX_USE_ICONV 1
82886 _ACEOF
82887
82888 enable_iconv=yes
82889 fi
82890 fi
82891 echo "$as_me:$LINENO: checking for enabled iconv specializations" >&5
82892 echo $ECHO_N "checking for enabled iconv specializations... $ECHO_C" >&6
82893 echo "$as_me:$LINENO: result: $enable_iconv" >&5
82894 echo "${ECHO_T}$enable_iconv" >&6
82895
82896
82897 # For showmanyc_helper().
82898
82899
82900 for ac_header in sys/ioctl.h sys/filio.h
82901 do
82902 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
82903 if eval "test \"\${$as_ac_Header+set}\" = set"; then
82904 echo "$as_me:$LINENO: checking for $ac_header" >&5
82905 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
82906 if eval "test \"\${$as_ac_Header+set}\" = set"; then
82907 echo $ECHO_N "(cached) $ECHO_C" >&6
82908 fi
82909 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
82910 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
82911 else
82912 # Is the header compilable?
82913 echo "$as_me:$LINENO: checking $ac_header usability" >&5
82914 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
82915 cat >conftest.$ac_ext <<_ACEOF
82916 /* confdefs.h. */
82917 _ACEOF
82918 cat confdefs.h >>conftest.$ac_ext
82919 cat >>conftest.$ac_ext <<_ACEOF
82920 /* end confdefs.h. */
82921 $ac_includes_default
82922 #include <$ac_header>
82923 _ACEOF
82924 rm -f conftest.$ac_objext
82925 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82926 (eval $ac_compile) 2>conftest.er1
82927 ac_status=$?
82928 grep -v '^ *+' conftest.er1 >conftest.err
82929 rm -f conftest.er1
82930 cat conftest.err >&5
82931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82932 (exit $ac_status); } &&
82933 { ac_try='test -z "$ac_c_werror_flag"
82934 || test ! -s conftest.err'
82935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82936 (eval $ac_try) 2>&5
82937 ac_status=$?
82938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82939 (exit $ac_status); }; } &&
82940 { ac_try='test -s conftest.$ac_objext'
82941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82942 (eval $ac_try) 2>&5
82943 ac_status=$?
82944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82945 (exit $ac_status); }; }; then
82946 ac_header_compiler=yes
82947 else
82948 echo "$as_me: failed program was:" >&5
82949 sed 's/^/| /' conftest.$ac_ext >&5
82950
82951 ac_header_compiler=no
82952 fi
82953 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
82954 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
82955 echo "${ECHO_T}$ac_header_compiler" >&6
82956
82957 # Is the header present?
82958 echo "$as_me:$LINENO: checking $ac_header presence" >&5
82959 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
82960 cat >conftest.$ac_ext <<_ACEOF
82961 /* confdefs.h. */
82962 _ACEOF
82963 cat confdefs.h >>conftest.$ac_ext
82964 cat >>conftest.$ac_ext <<_ACEOF
82965 /* end confdefs.h. */
82966 #include <$ac_header>
82967 _ACEOF
82968 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
82969 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
82970 ac_status=$?
82971 grep -v '^ *+' conftest.er1 >conftest.err
82972 rm -f conftest.er1
82973 cat conftest.err >&5
82974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82975 (exit $ac_status); } >/dev/null; then
82976 if test -s conftest.err; then
82977 ac_cpp_err=$ac_c_preproc_warn_flag
82978 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
82979 else
82980 ac_cpp_err=
82981 fi
82982 else
82983 ac_cpp_err=yes
82984 fi
82985 if test -z "$ac_cpp_err"; then
82986 ac_header_preproc=yes
82987 else
82988 echo "$as_me: failed program was:" >&5
82989 sed 's/^/| /' conftest.$ac_ext >&5
82990
82991 ac_header_preproc=no
82992 fi
82993 rm -f conftest.err conftest.$ac_ext
82994 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
82995 echo "${ECHO_T}$ac_header_preproc" >&6
82996
82997 # So? What about this header?
82998 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
82999 yes:no: )
83000 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
83001 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
83002 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
83003 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
83004 ac_header_preproc=yes
83005 ;;
83006 no:yes:* )
83007 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
83008 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
83009 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
83010 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
83011 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
83012 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
83013 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
83014 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
83015 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
83016 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
83017 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
83018 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
83019 (
83020 cat <<\_ASBOX
83021 ## ----------------------------------------- ##
83022 ## Report this to the package-unused lists. ##
83023 ## ----------------------------------------- ##
83024 _ASBOX
83025 ) |
83026 sed "s/^/$as_me: WARNING: /" >&2
83027 ;;
83028 esac
83029 echo "$as_me:$LINENO: checking for $ac_header" >&5
83030 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
83031 if eval "test \"\${$as_ac_Header+set}\" = set"; then
83032 echo $ECHO_N "(cached) $ECHO_C" >&6
83033 else
83034 eval "$as_ac_Header=\$ac_header_preproc"
83035 fi
83036 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
83037 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
83038
83039 fi
83040 if test `eval echo '${'$as_ac_Header'}'` = yes; then
83041 cat >>confdefs.h <<_ACEOF
83042 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
83043 _ACEOF
83044
83045 fi
83046
83047 done
83048
83049
83050 if test "${glibcxx_cv_POLL+set}" = set; then
83051 echo $ECHO_N "(cached) $ECHO_C" >&6
83052 else
83053
83054 if test x$gcc_no_link = xyes; then
83055 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83056 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83057 { (exit 1); exit 1; }; }
83058 fi
83059 cat >conftest.$ac_ext <<_ACEOF
83060 /* confdefs.h. */
83061 _ACEOF
83062 cat confdefs.h >>conftest.$ac_ext
83063 cat >>conftest.$ac_ext <<_ACEOF
83064 /* end confdefs.h. */
83065 #include <poll.h>
83066 int
83067 main ()
83068 {
83069 struct pollfd pfd[1];
83070 pfd[0].events = POLLIN;
83071 poll(pfd, 1, 0);
83072 ;
83073 return 0;
83074 }
83075 _ACEOF
83076 rm -f conftest.$ac_objext conftest$ac_exeext
83077 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83078 (eval $ac_link) 2>conftest.er1
83079 ac_status=$?
83080 grep -v '^ *+' conftest.er1 >conftest.err
83081 rm -f conftest.er1
83082 cat conftest.err >&5
83083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83084 (exit $ac_status); } &&
83085 { ac_try='test -z "$ac_c_werror_flag"
83086 || test ! -s conftest.err'
83087 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83088 (eval $ac_try) 2>&5
83089 ac_status=$?
83090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83091 (exit $ac_status); }; } &&
83092 { ac_try='test -s conftest$ac_exeext'
83093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83094 (eval $ac_try) 2>&5
83095 ac_status=$?
83096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83097 (exit $ac_status); }; }; then
83098 glibcxx_cv_POLL=yes
83099 else
83100 echo "$as_me: failed program was:" >&5
83101 sed 's/^/| /' conftest.$ac_ext >&5
83102
83103 glibcxx_cv_POLL=no
83104 fi
83105 rm -f conftest.err conftest.$ac_objext \
83106 conftest$ac_exeext conftest.$ac_ext
83107
83108 fi
83109
83110 if test $glibcxx_cv_POLL = yes; then
83111
83112 cat >>confdefs.h <<\_ACEOF
83113 #define HAVE_POLL 1
83114 _ACEOF
83115
83116 fi
83117
83118
83119 if test "${glibcxx_cv_S_ISREG+set}" = set; then
83120 echo $ECHO_N "(cached) $ECHO_C" >&6
83121 else
83122
83123 if test x$gcc_no_link = xyes; then
83124 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83125 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83126 { (exit 1); exit 1; }; }
83127 fi
83128 cat >conftest.$ac_ext <<_ACEOF
83129 /* confdefs.h. */
83130 _ACEOF
83131 cat confdefs.h >>conftest.$ac_ext
83132 cat >>conftest.$ac_ext <<_ACEOF
83133 /* end confdefs.h. */
83134 #include <sys/stat.h>
83135 int
83136 main ()
83137 {
83138 struct stat buffer;
83139 fstat(0, &buffer);
83140 S_ISREG(buffer.st_mode);
83141 ;
83142 return 0;
83143 }
83144 _ACEOF
83145 rm -f conftest.$ac_objext conftest$ac_exeext
83146 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83147 (eval $ac_link) 2>conftest.er1
83148 ac_status=$?
83149 grep -v '^ *+' conftest.er1 >conftest.err
83150 rm -f conftest.er1
83151 cat conftest.err >&5
83152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83153 (exit $ac_status); } &&
83154 { ac_try='test -z "$ac_c_werror_flag"
83155 || test ! -s conftest.err'
83156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83157 (eval $ac_try) 2>&5
83158 ac_status=$?
83159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83160 (exit $ac_status); }; } &&
83161 { ac_try='test -s conftest$ac_exeext'
83162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83163 (eval $ac_try) 2>&5
83164 ac_status=$?
83165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83166 (exit $ac_status); }; }; then
83167 glibcxx_cv_S_ISREG=yes
83168 else
83169 echo "$as_me: failed program was:" >&5
83170 sed 's/^/| /' conftest.$ac_ext >&5
83171
83172 glibcxx_cv_S_ISREG=no
83173 fi
83174 rm -f conftest.err conftest.$ac_objext \
83175 conftest$ac_exeext conftest.$ac_ext
83176
83177 fi
83178
83179 if test "${glibcxx_cv_S_IFREG+set}" = set; then
83180 echo $ECHO_N "(cached) $ECHO_C" >&6
83181 else
83182
83183 if test x$gcc_no_link = xyes; then
83184 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83185 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83186 { (exit 1); exit 1; }; }
83187 fi
83188 cat >conftest.$ac_ext <<_ACEOF
83189 /* confdefs.h. */
83190 _ACEOF
83191 cat confdefs.h >>conftest.$ac_ext
83192 cat >>conftest.$ac_ext <<_ACEOF
83193 /* end confdefs.h. */
83194 #include <sys/stat.h>
83195 int
83196 main ()
83197 {
83198 struct stat buffer;
83199 fstat(0, &buffer);
83200 S_IFREG & buffer.st_mode;
83201 ;
83202 return 0;
83203 }
83204 _ACEOF
83205 rm -f conftest.$ac_objext conftest$ac_exeext
83206 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83207 (eval $ac_link) 2>conftest.er1
83208 ac_status=$?
83209 grep -v '^ *+' conftest.er1 >conftest.err
83210 rm -f conftest.er1
83211 cat conftest.err >&5
83212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83213 (exit $ac_status); } &&
83214 { ac_try='test -z "$ac_c_werror_flag"
83215 || test ! -s conftest.err'
83216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83217 (eval $ac_try) 2>&5
83218 ac_status=$?
83219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83220 (exit $ac_status); }; } &&
83221 { ac_try='test -s conftest$ac_exeext'
83222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83223 (eval $ac_try) 2>&5
83224 ac_status=$?
83225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83226 (exit $ac_status); }; }; then
83227 glibcxx_cv_S_IFREG=yes
83228 else
83229 echo "$as_me: failed program was:" >&5
83230 sed 's/^/| /' conftest.$ac_ext >&5
83231
83232 glibcxx_cv_S_IFREG=no
83233 fi
83234 rm -f conftest.err conftest.$ac_objext \
83235 conftest$ac_exeext conftest.$ac_ext
83236
83237 fi
83238
83239 if test $glibcxx_cv_S_ISREG = yes; then
83240
83241 cat >>confdefs.h <<\_ACEOF
83242 #define HAVE_S_ISREG 1
83243 _ACEOF
83244
83245 elif test $glibcxx_cv_S_IFREG = yes; then
83246
83247 cat >>confdefs.h <<\_ACEOF
83248 #define HAVE_S_IFREG 1
83249 _ACEOF
83250
83251 fi
83252
83253
83254 # For xsputn_2().
83255
83256 for ac_header in sys/uio.h
83257 do
83258 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
83259 if eval "test \"\${$as_ac_Header+set}\" = set"; then
83260 echo "$as_me:$LINENO: checking for $ac_header" >&5
83261 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
83262 if eval "test \"\${$as_ac_Header+set}\" = set"; then
83263 echo $ECHO_N "(cached) $ECHO_C" >&6
83264 fi
83265 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
83266 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
83267 else
83268 # Is the header compilable?
83269 echo "$as_me:$LINENO: checking $ac_header usability" >&5
83270 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
83271 cat >conftest.$ac_ext <<_ACEOF
83272 /* confdefs.h. */
83273 _ACEOF
83274 cat confdefs.h >>conftest.$ac_ext
83275 cat >>conftest.$ac_ext <<_ACEOF
83276 /* end confdefs.h. */
83277 $ac_includes_default
83278 #include <$ac_header>
83279 _ACEOF
83280 rm -f conftest.$ac_objext
83281 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
83282 (eval $ac_compile) 2>conftest.er1
83283 ac_status=$?
83284 grep -v '^ *+' conftest.er1 >conftest.err
83285 rm -f conftest.er1
83286 cat conftest.err >&5
83287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83288 (exit $ac_status); } &&
83289 { ac_try='test -z "$ac_c_werror_flag"
83290 || test ! -s conftest.err'
83291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83292 (eval $ac_try) 2>&5
83293 ac_status=$?
83294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83295 (exit $ac_status); }; } &&
83296 { ac_try='test -s conftest.$ac_objext'
83297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83298 (eval $ac_try) 2>&5
83299 ac_status=$?
83300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83301 (exit $ac_status); }; }; then
83302 ac_header_compiler=yes
83303 else
83304 echo "$as_me: failed program was:" >&5
83305 sed 's/^/| /' conftest.$ac_ext >&5
83306
83307 ac_header_compiler=no
83308 fi
83309 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83310 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
83311 echo "${ECHO_T}$ac_header_compiler" >&6
83312
83313 # Is the header present?
83314 echo "$as_me:$LINENO: checking $ac_header presence" >&5
83315 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
83316 cat >conftest.$ac_ext <<_ACEOF
83317 /* confdefs.h. */
83318 _ACEOF
83319 cat confdefs.h >>conftest.$ac_ext
83320 cat >>conftest.$ac_ext <<_ACEOF
83321 /* end confdefs.h. */
83322 #include <$ac_header>
83323 _ACEOF
83324 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
83325 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
83326 ac_status=$?
83327 grep -v '^ *+' conftest.er1 >conftest.err
83328 rm -f conftest.er1
83329 cat conftest.err >&5
83330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83331 (exit $ac_status); } >/dev/null; then
83332 if test -s conftest.err; then
83333 ac_cpp_err=$ac_c_preproc_warn_flag
83334 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
83335 else
83336 ac_cpp_err=
83337 fi
83338 else
83339 ac_cpp_err=yes
83340 fi
83341 if test -z "$ac_cpp_err"; then
83342 ac_header_preproc=yes
83343 else
83344 echo "$as_me: failed program was:" >&5
83345 sed 's/^/| /' conftest.$ac_ext >&5
83346
83347 ac_header_preproc=no
83348 fi
83349 rm -f conftest.err conftest.$ac_ext
83350 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
83351 echo "${ECHO_T}$ac_header_preproc" >&6
83352
83353 # So? What about this header?
83354 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
83355 yes:no: )
83356 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
83357 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
83358 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
83359 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
83360 ac_header_preproc=yes
83361 ;;
83362 no:yes:* )
83363 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
83364 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
83365 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
83366 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
83367 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
83368 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
83369 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
83370 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
83371 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
83372 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
83373 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
83374 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
83375 (
83376 cat <<\_ASBOX
83377 ## ----------------------------------------- ##
83378 ## Report this to the package-unused lists. ##
83379 ## ----------------------------------------- ##
83380 _ASBOX
83381 ) |
83382 sed "s/^/$as_me: WARNING: /" >&2
83383 ;;
83384 esac
83385 echo "$as_me:$LINENO: checking for $ac_header" >&5
83386 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
83387 if eval "test \"\${$as_ac_Header+set}\" = set"; then
83388 echo $ECHO_N "(cached) $ECHO_C" >&6
83389 else
83390 eval "$as_ac_Header=\$ac_header_preproc"
83391 fi
83392 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
83393 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
83394
83395 fi
83396 if test `eval echo '${'$as_ac_Header'}'` = yes; then
83397 cat >>confdefs.h <<_ACEOF
83398 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
83399 _ACEOF
83400
83401 fi
83402
83403 done
83404
83405
83406 if test "${glibcxx_cv_WRITEV+set}" = set; then
83407 echo $ECHO_N "(cached) $ECHO_C" >&6
83408 else
83409
83410 if test x$gcc_no_link = xyes; then
83411 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83412 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83413 { (exit 1); exit 1; }; }
83414 fi
83415 cat >conftest.$ac_ext <<_ACEOF
83416 /* confdefs.h. */
83417 _ACEOF
83418 cat confdefs.h >>conftest.$ac_ext
83419 cat >>conftest.$ac_ext <<_ACEOF
83420 /* end confdefs.h. */
83421 #include <sys/uio.h>
83422 int
83423 main ()
83424 {
83425 struct iovec iov[2];
83426 writev(0, iov, 0);
83427 ;
83428 return 0;
83429 }
83430 _ACEOF
83431 rm -f conftest.$ac_objext conftest$ac_exeext
83432 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83433 (eval $ac_link) 2>conftest.er1
83434 ac_status=$?
83435 grep -v '^ *+' conftest.er1 >conftest.err
83436 rm -f conftest.er1
83437 cat conftest.err >&5
83438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83439 (exit $ac_status); } &&
83440 { ac_try='test -z "$ac_c_werror_flag"
83441 || test ! -s conftest.err'
83442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83443 (eval $ac_try) 2>&5
83444 ac_status=$?
83445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83446 (exit $ac_status); }; } &&
83447 { ac_try='test -s conftest$ac_exeext'
83448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83449 (eval $ac_try) 2>&5
83450 ac_status=$?
83451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83452 (exit $ac_status); }; }; then
83453 glibcxx_cv_WRITEV=yes
83454 else
83455 echo "$as_me: failed program was:" >&5
83456 sed 's/^/| /' conftest.$ac_ext >&5
83457
83458 glibcxx_cv_WRITEV=no
83459 fi
83460 rm -f conftest.err conftest.$ac_objext \
83461 conftest$ac_exeext conftest.$ac_ext
83462
83463 fi
83464
83465 if test $glibcxx_cv_WRITEV = yes; then
83466
83467 cat >>confdefs.h <<\_ACEOF
83468 #define HAVE_WRITEV 1
83469 _ACEOF
83470
83471 fi
83472
83473 ;;
83474 *-qnx6.1* | *-qnx6.2*)
83475 SECTION_FLAGS='-ffunction-sections -fdata-sections'
83476
83477
83478 # If we're not using GNU ld, then there's no point in even trying these
83479 # tests. Check for that first. We should have already tested for gld
83480 # by now (in libtool), but require it now just to be safe...
83481 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
83482 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
83483
83484
83485
83486 # The name set by libtool depends on the version of libtool. Shame on us
83487 # for depending on an impl detail, but c'est la vie. Older versions used
83488 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
83489 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
83490 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
83491 # set (hence we're using an older libtool), then set it.
83492 if test x${with_gnu_ld+set} != xset; then
83493 if test x${ac_cv_prog_gnu_ld+set} != xset; then
83494 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
83495 with_gnu_ld=no
83496 else
83497 with_gnu_ld=$ac_cv_prog_gnu_ld
83498 fi
83499 fi
83500
83501 # Start by getting the version number. I think the libtool test already
83502 # does some of this, but throws away the result.
83503
83504 ldver=`$LD --version 2>/dev/null | head -1 | \
83505 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
83506
83507 glibcxx_gnu_ld_version=`echo $ldver | \
83508 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
83509
83510 # Set --gc-sections.
83511 if test "$with_gnu_ld" = "notbroken"; then
83512 # GNU ld it is! Joy and bunny rabbits!
83513
83514 # All these tests are for C++; save the language and the compiler flags.
83515 # Need to do this so that g++ won't try to link in libstdc++
83516 ac_test_CFLAGS="${CFLAGS+set}"
83517 ac_save_CFLAGS="$CFLAGS"
83518 CFLAGS='-x c++ -Wl,--gc-sections'
83519
83520 # Check for -Wl,--gc-sections
83521 # XXX This test is broken at the moment, as symbols required for linking
83522 # are now in libsupc++ (not built yet). In addition, this test has
83523 # cored on solaris in the past. In addition, --gc-sections doesn't
83524 # really work at the moment (keeps on discarding used sections, first
83525 # .eh_frame and now some of the glibc sections for iconv).
83526 # Bzzzzt. Thanks for playing, maybe next time.
83527 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
83528 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
83529 if test "$cross_compiling" = yes; then
83530 ac_sectionLDflags=yes
83531 else
83532 cat >conftest.$ac_ext <<_ACEOF
83533 /* confdefs.h. */
83534 _ACEOF
83535 cat confdefs.h >>conftest.$ac_ext
83536 cat >>conftest.$ac_ext <<_ACEOF
83537 /* end confdefs.h. */
83538
83539 int main(void)
83540 {
83541 try { throw 1; }
83542 catch (...) { };
83543 return 0;
83544 }
83545
83546 _ACEOF
83547 rm -f conftest$ac_exeext
83548 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83549 (eval $ac_link) 2>&5
83550 ac_status=$?
83551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83552 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
83553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83554 (eval $ac_try) 2>&5
83555 ac_status=$?
83556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83557 (exit $ac_status); }; }; then
83558 ac_sectionLDflags=yes
83559 else
83560 echo "$as_me: program exited with status $ac_status" >&5
83561 echo "$as_me: failed program was:" >&5
83562 sed 's/^/| /' conftest.$ac_ext >&5
83563
83564 ( exit $ac_status )
83565 ac_sectionLDflags=no
83566 fi
83567 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
83568 fi
83569 if test "$ac_test_CFLAGS" = set; then
83570 CFLAGS="$ac_save_CFLAGS"
83571 else
83572 # this is the suspicious part
83573 CFLAGS=''
83574 fi
83575 if test "$ac_sectionLDflags" = "yes"; then
83576 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
83577 fi
83578 echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
83579 echo "${ECHO_T}$ac_sectionLDflags" >&6
83580 fi
83581
83582 # Set linker optimization flags.
83583 if test x"$with_gnu_ld" = x"yes"; then
83584 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
83585 fi
83586
83587
83588
83589
83590
83591
83592 echo "$as_me:$LINENO: checking for main in -lm" >&5
83593 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
83594 if test "${ac_cv_lib_m_main+set}" = set; then
83595 echo $ECHO_N "(cached) $ECHO_C" >&6
83596 else
83597 ac_check_lib_save_LIBS=$LIBS
83598 LIBS="-lm $LIBS"
83599 if test x$gcc_no_link = xyes; then
83600 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83601 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83602 { (exit 1); exit 1; }; }
83603 fi
83604 cat >conftest.$ac_ext <<_ACEOF
83605 /* confdefs.h. */
83606 _ACEOF
83607 cat confdefs.h >>conftest.$ac_ext
83608 cat >>conftest.$ac_ext <<_ACEOF
83609 /* end confdefs.h. */
83610
83611
83612 int
83613 main ()
83614 {
83615 main ();
83616 ;
83617 return 0;
83618 }
83619 _ACEOF
83620 rm -f conftest.$ac_objext conftest$ac_exeext
83621 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83622 (eval $ac_link) 2>conftest.er1
83623 ac_status=$?
83624 grep -v '^ *+' conftest.er1 >conftest.err
83625 rm -f conftest.er1
83626 cat conftest.err >&5
83627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83628 (exit $ac_status); } &&
83629 { ac_try='test -z "$ac_c_werror_flag"
83630 || test ! -s conftest.err'
83631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83632 (eval $ac_try) 2>&5
83633 ac_status=$?
83634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83635 (exit $ac_status); }; } &&
83636 { ac_try='test -s conftest$ac_exeext'
83637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83638 (eval $ac_try) 2>&5
83639 ac_status=$?
83640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83641 (exit $ac_status); }; }; then
83642 ac_cv_lib_m_main=yes
83643 else
83644 echo "$as_me: failed program was:" >&5
83645 sed 's/^/| /' conftest.$ac_ext >&5
83646
83647 ac_cv_lib_m_main=no
83648 fi
83649 rm -f conftest.err conftest.$ac_objext \
83650 conftest$ac_exeext conftest.$ac_ext
83651 LIBS=$ac_check_lib_save_LIBS
83652 fi
83653 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
83654 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
83655 if test $ac_cv_lib_m_main = yes; then
83656 cat >>confdefs.h <<_ACEOF
83657 #define HAVE_LIBM 1
83658 _ACEOF
83659
83660 LIBS="-lm $LIBS"
83661
83662 fi
83663
83664
83665 for ac_func in copysignf
83666 do
83667 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
83668 echo "$as_me:$LINENO: checking for $ac_func" >&5
83669 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
83670 if eval "test \"\${$as_ac_var+set}\" = set"; then
83671 echo $ECHO_N "(cached) $ECHO_C" >&6
83672 else
83673 if test x$gcc_no_link = xyes; then
83674 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83675 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83676 { (exit 1); exit 1; }; }
83677 fi
83678 cat >conftest.$ac_ext <<_ACEOF
83679 /* confdefs.h. */
83680 _ACEOF
83681 cat confdefs.h >>conftest.$ac_ext
83682 cat >>conftest.$ac_ext <<_ACEOF
83683 /* end confdefs.h. */
83684 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
83685 For example, HP-UX 11i <limits.h> declares gettimeofday. */
83686 #define $ac_func innocuous_$ac_func
83687
83688 /* System header to define __stub macros and hopefully few prototypes,
83689 which can conflict with char $ac_func (); below.
83690 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
83691 <limits.h> exists even on freestanding compilers. */
83692
83693 #ifdef __STDC__
83694 # include <limits.h>
83695 #else
83696 # include <assert.h>
83697 #endif
83698
83699 #undef $ac_func
83700
83701 /* Override any gcc2 internal prototype to avoid an error. */
83702 #ifdef __cplusplus
83703 extern "C"
83704 {
83705 #endif
83706 /* We use char because int might match the return type of a gcc2
83707 builtin and then its argument prototype would still apply. */
83708 char $ac_func ();
83709 /* The GNU C library defines this for functions which it implements
83710 to always fail with ENOSYS. Some functions are actually named
83711 something starting with __ and the normal name is an alias. */
83712 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
83713 choke me
83714 #else
83715 char (*f) () = $ac_func;
83716 #endif
83717 #ifdef __cplusplus
83718 }
83719 #endif
83720
83721 int
83722 main ()
83723 {
83724 return f != $ac_func;
83725 ;
83726 return 0;
83727 }
83728 _ACEOF
83729 rm -f conftest.$ac_objext conftest$ac_exeext
83730 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83731 (eval $ac_link) 2>conftest.er1
83732 ac_status=$?
83733 grep -v '^ *+' conftest.er1 >conftest.err
83734 rm -f conftest.er1
83735 cat conftest.err >&5
83736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83737 (exit $ac_status); } &&
83738 { ac_try='test -z "$ac_c_werror_flag"
83739 || test ! -s conftest.err'
83740 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83741 (eval $ac_try) 2>&5
83742 ac_status=$?
83743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83744 (exit $ac_status); }; } &&
83745 { ac_try='test -s conftest$ac_exeext'
83746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83747 (eval $ac_try) 2>&5
83748 ac_status=$?
83749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83750 (exit $ac_status); }; }; then
83751 eval "$as_ac_var=yes"
83752 else
83753 echo "$as_me: failed program was:" >&5
83754 sed 's/^/| /' conftest.$ac_ext >&5
83755
83756 eval "$as_ac_var=no"
83757 fi
83758 rm -f conftest.err conftest.$ac_objext \
83759 conftest$ac_exeext conftest.$ac_ext
83760 fi
83761 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
83762 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
83763 if test `eval echo '${'$as_ac_var'}'` = yes; then
83764 cat >>confdefs.h <<_ACEOF
83765 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
83766 _ACEOF
83767
83768 else
83769 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
83770 fi
83771 done
83772
83773
83774
83775 for ac_func in __signbit
83776 do
83777 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
83778 echo "$as_me:$LINENO: checking for $ac_func" >&5
83779 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
83780 if eval "test \"\${$as_ac_var+set}\" = set"; then
83781 echo $ECHO_N "(cached) $ECHO_C" >&6
83782 else
83783 if test x$gcc_no_link = xyes; then
83784 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83785 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83786 { (exit 1); exit 1; }; }
83787 fi
83788 cat >conftest.$ac_ext <<_ACEOF
83789 /* confdefs.h. */
83790 _ACEOF
83791 cat confdefs.h >>conftest.$ac_ext
83792 cat >>conftest.$ac_ext <<_ACEOF
83793 /* end confdefs.h. */
83794 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
83795 For example, HP-UX 11i <limits.h> declares gettimeofday. */
83796 #define $ac_func innocuous_$ac_func
83797
83798 /* System header to define __stub macros and hopefully few prototypes,
83799 which can conflict with char $ac_func (); below.
83800 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
83801 <limits.h> exists even on freestanding compilers. */
83802
83803 #ifdef __STDC__
83804 # include <limits.h>
83805 #else
83806 # include <assert.h>
83807 #endif
83808
83809 #undef $ac_func
83810
83811 /* Override any gcc2 internal prototype to avoid an error. */
83812 #ifdef __cplusplus
83813 extern "C"
83814 {
83815 #endif
83816 /* We use char because int might match the return type of a gcc2
83817 builtin and then its argument prototype would still apply. */
83818 char $ac_func ();
83819 /* The GNU C library defines this for functions which it implements
83820 to always fail with ENOSYS. Some functions are actually named
83821 something starting with __ and the normal name is an alias. */
83822 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
83823 choke me
83824 #else
83825 char (*f) () = $ac_func;
83826 #endif
83827 #ifdef __cplusplus
83828 }
83829 #endif
83830
83831 int
83832 main ()
83833 {
83834 return f != $ac_func;
83835 ;
83836 return 0;
83837 }
83838 _ACEOF
83839 rm -f conftest.$ac_objext conftest$ac_exeext
83840 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83841 (eval $ac_link) 2>conftest.er1
83842 ac_status=$?
83843 grep -v '^ *+' conftest.er1 >conftest.err
83844 rm -f conftest.er1
83845 cat conftest.err >&5
83846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83847 (exit $ac_status); } &&
83848 { ac_try='test -z "$ac_c_werror_flag"
83849 || test ! -s conftest.err'
83850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83851 (eval $ac_try) 2>&5
83852 ac_status=$?
83853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83854 (exit $ac_status); }; } &&
83855 { ac_try='test -s conftest$ac_exeext'
83856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83857 (eval $ac_try) 2>&5
83858 ac_status=$?
83859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83860 (exit $ac_status); }; }; then
83861 eval "$as_ac_var=yes"
83862 else
83863 echo "$as_me: failed program was:" >&5
83864 sed 's/^/| /' conftest.$ac_ext >&5
83865
83866 eval "$as_ac_var=no"
83867 fi
83868 rm -f conftest.err conftest.$ac_objext \
83869 conftest$ac_exeext conftest.$ac_ext
83870 fi
83871 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
83872 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
83873 if test `eval echo '${'$as_ac_var'}'` = yes; then
83874 cat >>confdefs.h <<_ACEOF
83875 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
83876 _ACEOF
83877
83878 else
83879 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
83880 fi
83881 done
83882
83883
83884
83885 for ac_func in __signbitf
83886 do
83887 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
83888 echo "$as_me:$LINENO: checking for $ac_func" >&5
83889 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
83890 if eval "test \"\${$as_ac_var+set}\" = set"; then
83891 echo $ECHO_N "(cached) $ECHO_C" >&6
83892 else
83893 if test x$gcc_no_link = xyes; then
83894 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83895 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83896 { (exit 1); exit 1; }; }
83897 fi
83898 cat >conftest.$ac_ext <<_ACEOF
83899 /* confdefs.h. */
83900 _ACEOF
83901 cat confdefs.h >>conftest.$ac_ext
83902 cat >>conftest.$ac_ext <<_ACEOF
83903 /* end confdefs.h. */
83904 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
83905 For example, HP-UX 11i <limits.h> declares gettimeofday. */
83906 #define $ac_func innocuous_$ac_func
83907
83908 /* System header to define __stub macros and hopefully few prototypes,
83909 which can conflict with char $ac_func (); below.
83910 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
83911 <limits.h> exists even on freestanding compilers. */
83912
83913 #ifdef __STDC__
83914 # include <limits.h>
83915 #else
83916 # include <assert.h>
83917 #endif
83918
83919 #undef $ac_func
83920
83921 /* Override any gcc2 internal prototype to avoid an error. */
83922 #ifdef __cplusplus
83923 extern "C"
83924 {
83925 #endif
83926 /* We use char because int might match the return type of a gcc2
83927 builtin and then its argument prototype would still apply. */
83928 char $ac_func ();
83929 /* The GNU C library defines this for functions which it implements
83930 to always fail with ENOSYS. Some functions are actually named
83931 something starting with __ and the normal name is an alias. */
83932 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
83933 choke me
83934 #else
83935 char (*f) () = $ac_func;
83936 #endif
83937 #ifdef __cplusplus
83938 }
83939 #endif
83940
83941 int
83942 main ()
83943 {
83944 return f != $ac_func;
83945 ;
83946 return 0;
83947 }
83948 _ACEOF
83949 rm -f conftest.$ac_objext conftest$ac_exeext
83950 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83951 (eval $ac_link) 2>conftest.er1
83952 ac_status=$?
83953 grep -v '^ *+' conftest.er1 >conftest.err
83954 rm -f conftest.er1
83955 cat conftest.err >&5
83956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83957 (exit $ac_status); } &&
83958 { ac_try='test -z "$ac_c_werror_flag"
83959 || test ! -s conftest.err'
83960 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83961 (eval $ac_try) 2>&5
83962 ac_status=$?
83963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83964 (exit $ac_status); }; } &&
83965 { ac_try='test -s conftest$ac_exeext'
83966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83967 (eval $ac_try) 2>&5
83968 ac_status=$?
83969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83970 (exit $ac_status); }; }; then
83971 eval "$as_ac_var=yes"
83972 else
83973 echo "$as_me: failed program was:" >&5
83974 sed 's/^/| /' conftest.$ac_ext >&5
83975
83976 eval "$as_ac_var=no"
83977 fi
83978 rm -f conftest.err conftest.$ac_objext \
83979 conftest$ac_exeext conftest.$ac_ext
83980 fi
83981 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
83982 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
83983 if test `eval echo '${'$as_ac_var'}'` = yes; then
83984 cat >>confdefs.h <<_ACEOF
83985 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
83986 _ACEOF
83987
83988 else
83989 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
83990 fi
83991 done
83992
83993
83994 if test x$ac_cv_func_copysignl = x"yes"; then
83995
83996 for ac_func in __signbitl
83997 do
83998 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
83999 echo "$as_me:$LINENO: checking for $ac_func" >&5
84000 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
84001 if eval "test \"\${$as_ac_var+set}\" = set"; then
84002 echo $ECHO_N "(cached) $ECHO_C" >&6
84003 else
84004 if test x$gcc_no_link = xyes; then
84005 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84006 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84007 { (exit 1); exit 1; }; }
84008 fi
84009 cat >conftest.$ac_ext <<_ACEOF
84010 /* confdefs.h. */
84011 _ACEOF
84012 cat confdefs.h >>conftest.$ac_ext
84013 cat >>conftest.$ac_ext <<_ACEOF
84014 /* end confdefs.h. */
84015 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
84016 For example, HP-UX 11i <limits.h> declares gettimeofday. */
84017 #define $ac_func innocuous_$ac_func
84018
84019 /* System header to define __stub macros and hopefully few prototypes,
84020 which can conflict with char $ac_func (); below.
84021 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
84022 <limits.h> exists even on freestanding compilers. */
84023
84024 #ifdef __STDC__
84025 # include <limits.h>
84026 #else
84027 # include <assert.h>
84028 #endif
84029
84030 #undef $ac_func
84031
84032 /* Override any gcc2 internal prototype to avoid an error. */
84033 #ifdef __cplusplus
84034 extern "C"
84035 {
84036 #endif
84037 /* We use char because int might match the return type of a gcc2
84038 builtin and then its argument prototype would still apply. */
84039 char $ac_func ();
84040 /* The GNU C library defines this for functions which it implements
84041 to always fail with ENOSYS. Some functions are actually named
84042 something starting with __ and the normal name is an alias. */
84043 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
84044 choke me
84045 #else
84046 char (*f) () = $ac_func;
84047 #endif
84048 #ifdef __cplusplus
84049 }
84050 #endif
84051
84052 int
84053 main ()
84054 {
84055 return f != $ac_func;
84056 ;
84057 return 0;
84058 }
84059 _ACEOF
84060 rm -f conftest.$ac_objext conftest$ac_exeext
84061 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84062 (eval $ac_link) 2>conftest.er1
84063 ac_status=$?
84064 grep -v '^ *+' conftest.er1 >conftest.err
84065 rm -f conftest.er1
84066 cat conftest.err >&5
84067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84068 (exit $ac_status); } &&
84069 { ac_try='test -z "$ac_c_werror_flag"
84070 || test ! -s conftest.err'
84071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84072 (eval $ac_try) 2>&5
84073 ac_status=$?
84074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84075 (exit $ac_status); }; } &&
84076 { ac_try='test -s conftest$ac_exeext'
84077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84078 (eval $ac_try) 2>&5
84079 ac_status=$?
84080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84081 (exit $ac_status); }; }; then
84082 eval "$as_ac_var=yes"
84083 else
84084 echo "$as_me: failed program was:" >&5
84085 sed 's/^/| /' conftest.$ac_ext >&5
84086
84087 eval "$as_ac_var=no"
84088 fi
84089 rm -f conftest.err conftest.$ac_objext \
84090 conftest$ac_exeext conftest.$ac_ext
84091 fi
84092 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
84093 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
84094 if test `eval echo '${'$as_ac_var'}'` = yes; then
84095 cat >>confdefs.h <<_ACEOF
84096 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
84097 _ACEOF
84098
84099 else
84100 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
84101 fi
84102 done
84103
84104 fi
84105
84106 # Used in libmath/Makefile.am.
84107 if test -n "$LIBMATHOBJS"; then
84108 need_libmath=yes
84109 fi
84110
84111
84112
84113
84114 enable_iconv=no
84115 # Only continue checking if the ISO C99 headers exist and support is on.
84116 if test x"$enable_wchar_t" = xyes; then
84117
84118 # Use iconv for wchar_t to char conversions. As such, check for
84119 # X/Open Portability Guide, version 2 features (XPG2).
84120 if test "${ac_cv_header_iconv_h+set}" = set; then
84121 echo "$as_me:$LINENO: checking for iconv.h" >&5
84122 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
84123 if test "${ac_cv_header_iconv_h+set}" = set; then
84124 echo $ECHO_N "(cached) $ECHO_C" >&6
84125 fi
84126 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
84127 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
84128 else
84129 # Is the header compilable?
84130 echo "$as_me:$LINENO: checking iconv.h usability" >&5
84131 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
84132 cat >conftest.$ac_ext <<_ACEOF
84133 /* confdefs.h. */
84134 _ACEOF
84135 cat confdefs.h >>conftest.$ac_ext
84136 cat >>conftest.$ac_ext <<_ACEOF
84137 /* end confdefs.h. */
84138 $ac_includes_default
84139 #include <iconv.h>
84140 _ACEOF
84141 rm -f conftest.$ac_objext
84142 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
84143 (eval $ac_compile) 2>conftest.er1
84144 ac_status=$?
84145 grep -v '^ *+' conftest.er1 >conftest.err
84146 rm -f conftest.er1
84147 cat conftest.err >&5
84148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84149 (exit $ac_status); } &&
84150 { ac_try='test -z "$ac_c_werror_flag"
84151 || test ! -s conftest.err'
84152 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84153 (eval $ac_try) 2>&5
84154 ac_status=$?
84155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84156 (exit $ac_status); }; } &&
84157 { ac_try='test -s conftest.$ac_objext'
84158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84159 (eval $ac_try) 2>&5
84160 ac_status=$?
84161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84162 (exit $ac_status); }; }; then
84163 ac_header_compiler=yes
84164 else
84165 echo "$as_me: failed program was:" >&5
84166 sed 's/^/| /' conftest.$ac_ext >&5
84167
84168 ac_header_compiler=no
84169 fi
84170 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
84171 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
84172 echo "${ECHO_T}$ac_header_compiler" >&6
84173
84174 # Is the header present?
84175 echo "$as_me:$LINENO: checking iconv.h presence" >&5
84176 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
84177 cat >conftest.$ac_ext <<_ACEOF
84178 /* confdefs.h. */
84179 _ACEOF
84180 cat confdefs.h >>conftest.$ac_ext
84181 cat >>conftest.$ac_ext <<_ACEOF
84182 /* end confdefs.h. */
84183 #include <iconv.h>
84184 _ACEOF
84185 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
84186 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
84187 ac_status=$?
84188 grep -v '^ *+' conftest.er1 >conftest.err
84189 rm -f conftest.er1
84190 cat conftest.err >&5
84191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84192 (exit $ac_status); } >/dev/null; then
84193 if test -s conftest.err; then
84194 ac_cpp_err=$ac_c_preproc_warn_flag
84195 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
84196 else
84197 ac_cpp_err=
84198 fi
84199 else
84200 ac_cpp_err=yes
84201 fi
84202 if test -z "$ac_cpp_err"; then
84203 ac_header_preproc=yes
84204 else
84205 echo "$as_me: failed program was:" >&5
84206 sed 's/^/| /' conftest.$ac_ext >&5
84207
84208 ac_header_preproc=no
84209 fi
84210 rm -f conftest.err conftest.$ac_ext
84211 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
84212 echo "${ECHO_T}$ac_header_preproc" >&6
84213
84214 # So? What about this header?
84215 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
84216 yes:no: )
84217 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
84218 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
84219 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
84220 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
84221 ac_header_preproc=yes
84222 ;;
84223 no:yes:* )
84224 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
84225 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
84226 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
84227 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
84228 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
84229 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
84230 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
84231 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
84232 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
84233 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
84234 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
84235 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
84236 (
84237 cat <<\_ASBOX
84238 ## ----------------------------------------- ##
84239 ## Report this to the package-unused lists. ##
84240 ## ----------------------------------------- ##
84241 _ASBOX
84242 ) |
84243 sed "s/^/$as_me: WARNING: /" >&2
84244 ;;
84245 esac
84246 echo "$as_me:$LINENO: checking for iconv.h" >&5
84247 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
84248 if test "${ac_cv_header_iconv_h+set}" = set; then
84249 echo $ECHO_N "(cached) $ECHO_C" >&6
84250 else
84251 ac_cv_header_iconv_h=$ac_header_preproc
84252 fi
84253 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
84254 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
84255
84256 fi
84257 if test $ac_cv_header_iconv_h = yes; then
84258 ac_has_iconv_h=yes
84259 else
84260 ac_has_iconv_h=no
84261 fi
84262
84263
84264 if test "${ac_cv_header_langinfo_h+set}" = set; then
84265 echo "$as_me:$LINENO: checking for langinfo.h" >&5
84266 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
84267 if test "${ac_cv_header_langinfo_h+set}" = set; then
84268 echo $ECHO_N "(cached) $ECHO_C" >&6
84269 fi
84270 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
84271 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
84272 else
84273 # Is the header compilable?
84274 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
84275 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
84276 cat >conftest.$ac_ext <<_ACEOF
84277 /* confdefs.h. */
84278 _ACEOF
84279 cat confdefs.h >>conftest.$ac_ext
84280 cat >>conftest.$ac_ext <<_ACEOF
84281 /* end confdefs.h. */
84282 $ac_includes_default
84283 #include <langinfo.h>
84284 _ACEOF
84285 rm -f conftest.$ac_objext
84286 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
84287 (eval $ac_compile) 2>conftest.er1
84288 ac_status=$?
84289 grep -v '^ *+' conftest.er1 >conftest.err
84290 rm -f conftest.er1
84291 cat conftest.err >&5
84292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84293 (exit $ac_status); } &&
84294 { ac_try='test -z "$ac_c_werror_flag"
84295 || test ! -s conftest.err'
84296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84297 (eval $ac_try) 2>&5
84298 ac_status=$?
84299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84300 (exit $ac_status); }; } &&
84301 { ac_try='test -s conftest.$ac_objext'
84302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84303 (eval $ac_try) 2>&5
84304 ac_status=$?
84305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84306 (exit $ac_status); }; }; then
84307 ac_header_compiler=yes
84308 else
84309 echo "$as_me: failed program was:" >&5
84310 sed 's/^/| /' conftest.$ac_ext >&5
84311
84312 ac_header_compiler=no
84313 fi
84314 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
84315 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
84316 echo "${ECHO_T}$ac_header_compiler" >&6
84317
84318 # Is the header present?
84319 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
84320 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
84321 cat >conftest.$ac_ext <<_ACEOF
84322 /* confdefs.h. */
84323 _ACEOF
84324 cat confdefs.h >>conftest.$ac_ext
84325 cat >>conftest.$ac_ext <<_ACEOF
84326 /* end confdefs.h. */
84327 #include <langinfo.h>
84328 _ACEOF
84329 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
84330 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
84331 ac_status=$?
84332 grep -v '^ *+' conftest.er1 >conftest.err
84333 rm -f conftest.er1
84334 cat conftest.err >&5
84335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84336 (exit $ac_status); } >/dev/null; then
84337 if test -s conftest.err; then
84338 ac_cpp_err=$ac_c_preproc_warn_flag
84339 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
84340 else
84341 ac_cpp_err=
84342 fi
84343 else
84344 ac_cpp_err=yes
84345 fi
84346 if test -z "$ac_cpp_err"; then
84347 ac_header_preproc=yes
84348 else
84349 echo "$as_me: failed program was:" >&5
84350 sed 's/^/| /' conftest.$ac_ext >&5
84351
84352 ac_header_preproc=no
84353 fi
84354 rm -f conftest.err conftest.$ac_ext
84355 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
84356 echo "${ECHO_T}$ac_header_preproc" >&6
84357
84358 # So? What about this header?
84359 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
84360 yes:no: )
84361 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
84362 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
84363 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
84364 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
84365 ac_header_preproc=yes
84366 ;;
84367 no:yes:* )
84368 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
84369 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
84370 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
84371 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
84372 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
84373 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
84374 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
84375 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
84376 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
84377 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
84378 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
84379 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
84380 (
84381 cat <<\_ASBOX
84382 ## ----------------------------------------- ##
84383 ## Report this to the package-unused lists. ##
84384 ## ----------------------------------------- ##
84385 _ASBOX
84386 ) |
84387 sed "s/^/$as_me: WARNING: /" >&2
84388 ;;
84389 esac
84390 echo "$as_me:$LINENO: checking for langinfo.h" >&5
84391 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
84392 if test "${ac_cv_header_langinfo_h+set}" = set; then
84393 echo $ECHO_N "(cached) $ECHO_C" >&6
84394 else
84395 ac_cv_header_langinfo_h=$ac_header_preproc
84396 fi
84397 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
84398 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
84399
84400 fi
84401 if test $ac_cv_header_langinfo_h = yes; then
84402 ac_has_langinfo_h=yes
84403 else
84404 ac_has_langinfo_h=no
84405 fi
84406
84407
84408
84409 # Check for existence of libiconv.a providing XPG2 wchar_t support.
84410 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
84411 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
84412 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
84413 echo $ECHO_N "(cached) $ECHO_C" >&6
84414 else
84415 ac_check_lib_save_LIBS=$LIBS
84416 LIBS="-liconv $LIBS"
84417 if test x$gcc_no_link = xyes; then
84418 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84419 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84420 { (exit 1); exit 1; }; }
84421 fi
84422 cat >conftest.$ac_ext <<_ACEOF
84423 /* confdefs.h. */
84424 _ACEOF
84425 cat confdefs.h >>conftest.$ac_ext
84426 cat >>conftest.$ac_ext <<_ACEOF
84427 /* end confdefs.h. */
84428
84429 /* Override any gcc2 internal prototype to avoid an error. */
84430 #ifdef __cplusplus
84431 extern "C"
84432 #endif
84433 /* We use char because int might match the return type of a gcc2
84434 builtin and then its argument prototype would still apply. */
84435 char iconv ();
84436 int
84437 main ()
84438 {
84439 iconv ();
84440 ;
84441 return 0;
84442 }
84443 _ACEOF
84444 rm -f conftest.$ac_objext conftest$ac_exeext
84445 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84446 (eval $ac_link) 2>conftest.er1
84447 ac_status=$?
84448 grep -v '^ *+' conftest.er1 >conftest.err
84449 rm -f conftest.er1
84450 cat conftest.err >&5
84451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84452 (exit $ac_status); } &&
84453 { ac_try='test -z "$ac_c_werror_flag"
84454 || test ! -s conftest.err'
84455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84456 (eval $ac_try) 2>&5
84457 ac_status=$?
84458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84459 (exit $ac_status); }; } &&
84460 { ac_try='test -s conftest$ac_exeext'
84461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84462 (eval $ac_try) 2>&5
84463 ac_status=$?
84464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84465 (exit $ac_status); }; }; then
84466 ac_cv_lib_iconv_iconv=yes
84467 else
84468 echo "$as_me: failed program was:" >&5
84469 sed 's/^/| /' conftest.$ac_ext >&5
84470
84471 ac_cv_lib_iconv_iconv=no
84472 fi
84473 rm -f conftest.err conftest.$ac_objext \
84474 conftest$ac_exeext conftest.$ac_ext
84475 LIBS=$ac_check_lib_save_LIBS
84476 fi
84477 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
84478 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
84479 if test $ac_cv_lib_iconv_iconv = yes; then
84480 LIBICONV="-liconv"
84481 fi
84482
84483 ac_save_LIBS="$LIBS"
84484 LIBS="$LIBS $LIBICONV"
84485
84486
84487
84488
84489
84490
84491 for ac_func in iconv_open iconv_close iconv nl_langinfo
84492 do
84493 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
84494 echo "$as_me:$LINENO: checking for $ac_func" >&5
84495 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
84496 if eval "test \"\${$as_ac_var+set}\" = set"; then
84497 echo $ECHO_N "(cached) $ECHO_C" >&6
84498 else
84499 if test x$gcc_no_link = xyes; then
84500 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84501 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84502 { (exit 1); exit 1; }; }
84503 fi
84504 cat >conftest.$ac_ext <<_ACEOF
84505 /* confdefs.h. */
84506 _ACEOF
84507 cat confdefs.h >>conftest.$ac_ext
84508 cat >>conftest.$ac_ext <<_ACEOF
84509 /* end confdefs.h. */
84510 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
84511 For example, HP-UX 11i <limits.h> declares gettimeofday. */
84512 #define $ac_func innocuous_$ac_func
84513
84514 /* System header to define __stub macros and hopefully few prototypes,
84515 which can conflict with char $ac_func (); below.
84516 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
84517 <limits.h> exists even on freestanding compilers. */
84518
84519 #ifdef __STDC__
84520 # include <limits.h>
84521 #else
84522 # include <assert.h>
84523 #endif
84524
84525 #undef $ac_func
84526
84527 /* Override any gcc2 internal prototype to avoid an error. */
84528 #ifdef __cplusplus
84529 extern "C"
84530 {
84531 #endif
84532 /* We use char because int might match the return type of a gcc2
84533 builtin and then its argument prototype would still apply. */
84534 char $ac_func ();
84535 /* The GNU C library defines this for functions which it implements
84536 to always fail with ENOSYS. Some functions are actually named
84537 something starting with __ and the normal name is an alias. */
84538 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
84539 choke me
84540 #else
84541 char (*f) () = $ac_func;
84542 #endif
84543 #ifdef __cplusplus
84544 }
84545 #endif
84546
84547 int
84548 main ()
84549 {
84550 return f != $ac_func;
84551 ;
84552 return 0;
84553 }
84554 _ACEOF
84555 rm -f conftest.$ac_objext conftest$ac_exeext
84556 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84557 (eval $ac_link) 2>conftest.er1
84558 ac_status=$?
84559 grep -v '^ *+' conftest.er1 >conftest.err
84560 rm -f conftest.er1
84561 cat conftest.err >&5
84562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84563 (exit $ac_status); } &&
84564 { ac_try='test -z "$ac_c_werror_flag"
84565 || test ! -s conftest.err'
84566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84567 (eval $ac_try) 2>&5
84568 ac_status=$?
84569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84570 (exit $ac_status); }; } &&
84571 { ac_try='test -s conftest$ac_exeext'
84572 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84573 (eval $ac_try) 2>&5
84574 ac_status=$?
84575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84576 (exit $ac_status); }; }; then
84577 eval "$as_ac_var=yes"
84578 else
84579 echo "$as_me: failed program was:" >&5
84580 sed 's/^/| /' conftest.$ac_ext >&5
84581
84582 eval "$as_ac_var=no"
84583 fi
84584 rm -f conftest.err conftest.$ac_objext \
84585 conftest$ac_exeext conftest.$ac_ext
84586 fi
84587 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
84588 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
84589 if test `eval echo '${'$as_ac_var'}'` = yes; then
84590 cat >>confdefs.h <<_ACEOF
84591 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
84592 _ACEOF
84593 ac_XPG2funcs=yes
84594 else
84595 ac_XPG2funcs=no
84596 fi
84597 done
84598
84599
84600 LIBS="$ac_save_LIBS"
84601
84602 if test x"$ac_has_iconv_h" = xyes &&
84603 test x"$ac_has_langinfo_h" = xyes &&
84604 test x"$ac_XPG2funcs" = xyes;
84605 then
84606
84607 cat >>confdefs.h <<\_ACEOF
84608 #define _GLIBCXX_USE_ICONV 1
84609 _ACEOF
84610
84611 enable_iconv=yes
84612 fi
84613 fi
84614 echo "$as_me:$LINENO: checking for enabled iconv specializations" >&5
84615 echo $ECHO_N "checking for enabled iconv specializations... $ECHO_C" >&6
84616 echo "$as_me:$LINENO: result: $enable_iconv" >&5
84617 echo "${ECHO_T}$enable_iconv" >&6
84618
84619 cat >>confdefs.h <<\_ACEOF
84620 #define HAVE_COSF 1
84621 _ACEOF
84622
84623 cat >>confdefs.h <<\_ACEOF
84624 #define HAVE_COSL 1
84625 _ACEOF
84626
84627 cat >>confdefs.h <<\_ACEOF
84628 #define HAVE_COSHF 1
84629 _ACEOF
84630
84631 cat >>confdefs.h <<\_ACEOF
84632 #define HAVE_COSHL 1
84633 _ACEOF
84634
84635 cat >>confdefs.h <<\_ACEOF
84636 #define HAVE_LOGF 1
84637 _ACEOF
84638
84639 cat >>confdefs.h <<\_ACEOF
84640 #define HAVE_LOGL 1
84641 _ACEOF
84642
84643 cat >>confdefs.h <<\_ACEOF
84644 #define HAVE_LOG10F 1
84645 _ACEOF
84646
84647 cat >>confdefs.h <<\_ACEOF
84648 #define HAVE_LOG10L 1
84649 _ACEOF
84650
84651 cat >>confdefs.h <<\_ACEOF
84652 #define HAVE_SINF 1
84653 _ACEOF
84654
84655 cat >>confdefs.h <<\_ACEOF
84656 #define HAVE_SINL 1
84657 _ACEOF
84658
84659 cat >>confdefs.h <<\_ACEOF
84660 #define HAVE_SINHF 1
84661 _ACEOF
84662
84663 cat >>confdefs.h <<\_ACEOF
84664 #define HAVE_SINHL 1
84665 _ACEOF
84666
84667 ;;
84668 *-solaris*)
84669 case "$target" in
84670 # *-solaris2.5)
84671 # os_include_dir="os/solaris/solaris2.5"
84672 # ;;
84673 # *-solaris2.6)
84674 # os_include_dir="os/solaris/solaris2.6"
84675 # ;;
84676 *-solaris2.7 | *-solaris2.8 | *-solaris2.9 | *-solaris2.10)
84677 cat >>confdefs.h <<\_ACEOF
84678 #define HAVE_GETPAGESIZE 1
84679 _ACEOF
84680
84681 cat >>confdefs.h <<\_ACEOF
84682 #define HAVE_SIGSETJMP 1
84683 _ACEOF
84684
84685 cat >>confdefs.h <<\_ACEOF
84686 #define HAVE_MBSTATE_T 1
84687 _ACEOF
84688
84689 cat >>confdefs.h <<\_ACEOF
84690 #define HAVE_POLL 1
84691 _ACEOF
84692
84693 cat >>confdefs.h <<\_ACEOF
84694 #define HAVE_S_ISREG 1
84695 _ACEOF
84696
84697 cat >>confdefs.h <<\_ACEOF
84698 #define HAVE_LC_MESSAGES 1
84699 _ACEOF
84700
84701 cat >>confdefs.h <<\_ACEOF
84702 #define HAVE_FINITE 1
84703 _ACEOF
84704
84705 cat >>confdefs.h <<\_ACEOF
84706 #define HAVE_FPCLASS 1
84707 _ACEOF
84708
84709 cat >>confdefs.h <<\_ACEOF
84710 #define HAVE_GETPAGESIZE 1
84711 _ACEOF
84712
84713 cat >>confdefs.h <<\_ACEOF
84714 #define HAVE_NL_LANGINFO 1
84715 _ACEOF
84716
84717 cat >>confdefs.h <<\_ACEOF
84718 #define HAVE_ICONV 1
84719 _ACEOF
84720
84721 cat >>confdefs.h <<\_ACEOF
84722 #define HAVE_ICONV_CLOSE 1
84723 _ACEOF
84724
84725 cat >>confdefs.h <<\_ACEOF
84726 #define HAVE_ICONV_OPEN 1
84727 _ACEOF
84728
84729 # Look for the pieces required for wchar_t support in order to
84730 # get all the right HAVE_* macros defined.
84731
84732
84733 enable_iconv=no
84734 # Only continue checking if the ISO C99 headers exist and support is on.
84735 if test x"$enable_wchar_t" = xyes; then
84736
84737 # Use iconv for wchar_t to char conversions. As such, check for
84738 # X/Open Portability Guide, version 2 features (XPG2).
84739 if test "${ac_cv_header_iconv_h+set}" = set; then
84740 echo "$as_me:$LINENO: checking for iconv.h" >&5
84741 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
84742 if test "${ac_cv_header_iconv_h+set}" = set; then
84743 echo $ECHO_N "(cached) $ECHO_C" >&6
84744 fi
84745 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
84746 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
84747 else
84748 # Is the header compilable?
84749 echo "$as_me:$LINENO: checking iconv.h usability" >&5
84750 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
84751 cat >conftest.$ac_ext <<_ACEOF
84752 /* confdefs.h. */
84753 _ACEOF
84754 cat confdefs.h >>conftest.$ac_ext
84755 cat >>conftest.$ac_ext <<_ACEOF
84756 /* end confdefs.h. */
84757 $ac_includes_default
84758 #include <iconv.h>
84759 _ACEOF
84760 rm -f conftest.$ac_objext
84761 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
84762 (eval $ac_compile) 2>conftest.er1
84763 ac_status=$?
84764 grep -v '^ *+' conftest.er1 >conftest.err
84765 rm -f conftest.er1
84766 cat conftest.err >&5
84767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84768 (exit $ac_status); } &&
84769 { ac_try='test -z "$ac_c_werror_flag"
84770 || test ! -s conftest.err'
84771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84772 (eval $ac_try) 2>&5
84773 ac_status=$?
84774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84775 (exit $ac_status); }; } &&
84776 { ac_try='test -s conftest.$ac_objext'
84777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84778 (eval $ac_try) 2>&5
84779 ac_status=$?
84780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84781 (exit $ac_status); }; }; then
84782 ac_header_compiler=yes
84783 else
84784 echo "$as_me: failed program was:" >&5
84785 sed 's/^/| /' conftest.$ac_ext >&5
84786
84787 ac_header_compiler=no
84788 fi
84789 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
84790 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
84791 echo "${ECHO_T}$ac_header_compiler" >&6
84792
84793 # Is the header present?
84794 echo "$as_me:$LINENO: checking iconv.h presence" >&5
84795 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
84796 cat >conftest.$ac_ext <<_ACEOF
84797 /* confdefs.h. */
84798 _ACEOF
84799 cat confdefs.h >>conftest.$ac_ext
84800 cat >>conftest.$ac_ext <<_ACEOF
84801 /* end confdefs.h. */
84802 #include <iconv.h>
84803 _ACEOF
84804 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
84805 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
84806 ac_status=$?
84807 grep -v '^ *+' conftest.er1 >conftest.err
84808 rm -f conftest.er1
84809 cat conftest.err >&5
84810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84811 (exit $ac_status); } >/dev/null; then
84812 if test -s conftest.err; then
84813 ac_cpp_err=$ac_c_preproc_warn_flag
84814 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
84815 else
84816 ac_cpp_err=
84817 fi
84818 else
84819 ac_cpp_err=yes
84820 fi
84821 if test -z "$ac_cpp_err"; then
84822 ac_header_preproc=yes
84823 else
84824 echo "$as_me: failed program was:" >&5
84825 sed 's/^/| /' conftest.$ac_ext >&5
84826
84827 ac_header_preproc=no
84828 fi
84829 rm -f conftest.err conftest.$ac_ext
84830 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
84831 echo "${ECHO_T}$ac_header_preproc" >&6
84832
84833 # So? What about this header?
84834 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
84835 yes:no: )
84836 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
84837 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
84838 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
84839 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
84840 ac_header_preproc=yes
84841 ;;
84842 no:yes:* )
84843 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
84844 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
84845 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
84846 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
84847 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
84848 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
84849 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
84850 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
84851 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
84852 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
84853 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
84854 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
84855 (
84856 cat <<\_ASBOX
84857 ## ----------------------------------------- ##
84858 ## Report this to the package-unused lists. ##
84859 ## ----------------------------------------- ##
84860 _ASBOX
84861 ) |
84862 sed "s/^/$as_me: WARNING: /" >&2
84863 ;;
84864 esac
84865 echo "$as_me:$LINENO: checking for iconv.h" >&5
84866 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
84867 if test "${ac_cv_header_iconv_h+set}" = set; then
84868 echo $ECHO_N "(cached) $ECHO_C" >&6
84869 else
84870 ac_cv_header_iconv_h=$ac_header_preproc
84871 fi
84872 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
84873 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
84874
84875 fi
84876 if test $ac_cv_header_iconv_h = yes; then
84877 ac_has_iconv_h=yes
84878 else
84879 ac_has_iconv_h=no
84880 fi
84881
84882
84883 if test "${ac_cv_header_langinfo_h+set}" = set; then
84884 echo "$as_me:$LINENO: checking for langinfo.h" >&5
84885 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
84886 if test "${ac_cv_header_langinfo_h+set}" = set; then
84887 echo $ECHO_N "(cached) $ECHO_C" >&6
84888 fi
84889 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
84890 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
84891 else
84892 # Is the header compilable?
84893 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
84894 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
84895 cat >conftest.$ac_ext <<_ACEOF
84896 /* confdefs.h. */
84897 _ACEOF
84898 cat confdefs.h >>conftest.$ac_ext
84899 cat >>conftest.$ac_ext <<_ACEOF
84900 /* end confdefs.h. */
84901 $ac_includes_default
84902 #include <langinfo.h>
84903 _ACEOF
84904 rm -f conftest.$ac_objext
84905 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
84906 (eval $ac_compile) 2>conftest.er1
84907 ac_status=$?
84908 grep -v '^ *+' conftest.er1 >conftest.err
84909 rm -f conftest.er1
84910 cat conftest.err >&5
84911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84912 (exit $ac_status); } &&
84913 { ac_try='test -z "$ac_c_werror_flag"
84914 || test ! -s conftest.err'
84915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84916 (eval $ac_try) 2>&5
84917 ac_status=$?
84918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84919 (exit $ac_status); }; } &&
84920 { ac_try='test -s conftest.$ac_objext'
84921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84922 (eval $ac_try) 2>&5
84923 ac_status=$?
84924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84925 (exit $ac_status); }; }; then
84926 ac_header_compiler=yes
84927 else
84928 echo "$as_me: failed program was:" >&5
84929 sed 's/^/| /' conftest.$ac_ext >&5
84930
84931 ac_header_compiler=no
84932 fi
84933 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
84934 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
84935 echo "${ECHO_T}$ac_header_compiler" >&6
84936
84937 # Is the header present?
84938 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
84939 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
84940 cat >conftest.$ac_ext <<_ACEOF
84941 /* confdefs.h. */
84942 _ACEOF
84943 cat confdefs.h >>conftest.$ac_ext
84944 cat >>conftest.$ac_ext <<_ACEOF
84945 /* end confdefs.h. */
84946 #include <langinfo.h>
84947 _ACEOF
84948 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
84949 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
84950 ac_status=$?
84951 grep -v '^ *+' conftest.er1 >conftest.err
84952 rm -f conftest.er1
84953 cat conftest.err >&5
84954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84955 (exit $ac_status); } >/dev/null; then
84956 if test -s conftest.err; then
84957 ac_cpp_err=$ac_c_preproc_warn_flag
84958 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
84959 else
84960 ac_cpp_err=
84961 fi
84962 else
84963 ac_cpp_err=yes
84964 fi
84965 if test -z "$ac_cpp_err"; then
84966 ac_header_preproc=yes
84967 else
84968 echo "$as_me: failed program was:" >&5
84969 sed 's/^/| /' conftest.$ac_ext >&5
84970
84971 ac_header_preproc=no
84972 fi
84973 rm -f conftest.err conftest.$ac_ext
84974 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
84975 echo "${ECHO_T}$ac_header_preproc" >&6
84976
84977 # So? What about this header?
84978 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
84979 yes:no: )
84980 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
84981 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
84982 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
84983 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
84984 ac_header_preproc=yes
84985 ;;
84986 no:yes:* )
84987 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
84988 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
84989 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
84990 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
84991 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
84992 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
84993 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
84994 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
84995 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
84996 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
84997 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
84998 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
84999 (
85000 cat <<\_ASBOX
85001 ## ----------------------------------------- ##
85002 ## Report this to the package-unused lists. ##
85003 ## ----------------------------------------- ##
85004 _ASBOX
85005 ) |
85006 sed "s/^/$as_me: WARNING: /" >&2
85007 ;;
85008 esac
85009 echo "$as_me:$LINENO: checking for langinfo.h" >&5
85010 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
85011 if test "${ac_cv_header_langinfo_h+set}" = set; then
85012 echo $ECHO_N "(cached) $ECHO_C" >&6
85013 else
85014 ac_cv_header_langinfo_h=$ac_header_preproc
85015 fi
85016 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
85017 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
85018
85019 fi
85020 if test $ac_cv_header_langinfo_h = yes; then
85021 ac_has_langinfo_h=yes
85022 else
85023 ac_has_langinfo_h=no
85024 fi
85025
85026
85027
85028 # Check for existence of libiconv.a providing XPG2 wchar_t support.
85029 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
85030 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
85031 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
85032 echo $ECHO_N "(cached) $ECHO_C" >&6
85033 else
85034 ac_check_lib_save_LIBS=$LIBS
85035 LIBS="-liconv $LIBS"
85036 if test x$gcc_no_link = xyes; then
85037 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85038 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85039 { (exit 1); exit 1; }; }
85040 fi
85041 cat >conftest.$ac_ext <<_ACEOF
85042 /* confdefs.h. */
85043 _ACEOF
85044 cat confdefs.h >>conftest.$ac_ext
85045 cat >>conftest.$ac_ext <<_ACEOF
85046 /* end confdefs.h. */
85047
85048 /* Override any gcc2 internal prototype to avoid an error. */
85049 #ifdef __cplusplus
85050 extern "C"
85051 #endif
85052 /* We use char because int might match the return type of a gcc2
85053 builtin and then its argument prototype would still apply. */
85054 char iconv ();
85055 int
85056 main ()
85057 {
85058 iconv ();
85059 ;
85060 return 0;
85061 }
85062 _ACEOF
85063 rm -f conftest.$ac_objext conftest$ac_exeext
85064 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85065 (eval $ac_link) 2>conftest.er1
85066 ac_status=$?
85067 grep -v '^ *+' conftest.er1 >conftest.err
85068 rm -f conftest.er1
85069 cat conftest.err >&5
85070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85071 (exit $ac_status); } &&
85072 { ac_try='test -z "$ac_c_werror_flag"
85073 || test ! -s conftest.err'
85074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85075 (eval $ac_try) 2>&5
85076 ac_status=$?
85077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85078 (exit $ac_status); }; } &&
85079 { ac_try='test -s conftest$ac_exeext'
85080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85081 (eval $ac_try) 2>&5
85082 ac_status=$?
85083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85084 (exit $ac_status); }; }; then
85085 ac_cv_lib_iconv_iconv=yes
85086 else
85087 echo "$as_me: failed program was:" >&5
85088 sed 's/^/| /' conftest.$ac_ext >&5
85089
85090 ac_cv_lib_iconv_iconv=no
85091 fi
85092 rm -f conftest.err conftest.$ac_objext \
85093 conftest$ac_exeext conftest.$ac_ext
85094 LIBS=$ac_check_lib_save_LIBS
85095 fi
85096 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
85097 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
85098 if test $ac_cv_lib_iconv_iconv = yes; then
85099 LIBICONV="-liconv"
85100 fi
85101
85102 ac_save_LIBS="$LIBS"
85103 LIBS="$LIBS $LIBICONV"
85104
85105
85106
85107
85108
85109
85110 for ac_func in iconv_open iconv_close iconv nl_langinfo
85111 do
85112 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
85113 echo "$as_me:$LINENO: checking for $ac_func" >&5
85114 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
85115 if eval "test \"\${$as_ac_var+set}\" = set"; then
85116 echo $ECHO_N "(cached) $ECHO_C" >&6
85117 else
85118 if test x$gcc_no_link = xyes; then
85119 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85120 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85121 { (exit 1); exit 1; }; }
85122 fi
85123 cat >conftest.$ac_ext <<_ACEOF
85124 /* confdefs.h. */
85125 _ACEOF
85126 cat confdefs.h >>conftest.$ac_ext
85127 cat >>conftest.$ac_ext <<_ACEOF
85128 /* end confdefs.h. */
85129 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
85130 For example, HP-UX 11i <limits.h> declares gettimeofday. */
85131 #define $ac_func innocuous_$ac_func
85132
85133 /* System header to define __stub macros and hopefully few prototypes,
85134 which can conflict with char $ac_func (); below.
85135 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
85136 <limits.h> exists even on freestanding compilers. */
85137
85138 #ifdef __STDC__
85139 # include <limits.h>
85140 #else
85141 # include <assert.h>
85142 #endif
85143
85144 #undef $ac_func
85145
85146 /* Override any gcc2 internal prototype to avoid an error. */
85147 #ifdef __cplusplus
85148 extern "C"
85149 {
85150 #endif
85151 /* We use char because int might match the return type of a gcc2
85152 builtin and then its argument prototype would still apply. */
85153 char $ac_func ();
85154 /* The GNU C library defines this for functions which it implements
85155 to always fail with ENOSYS. Some functions are actually named
85156 something starting with __ and the normal name is an alias. */
85157 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
85158 choke me
85159 #else
85160 char (*f) () = $ac_func;
85161 #endif
85162 #ifdef __cplusplus
85163 }
85164 #endif
85165
85166 int
85167 main ()
85168 {
85169 return f != $ac_func;
85170 ;
85171 return 0;
85172 }
85173 _ACEOF
85174 rm -f conftest.$ac_objext conftest$ac_exeext
85175 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85176 (eval $ac_link) 2>conftest.er1
85177 ac_status=$?
85178 grep -v '^ *+' conftest.er1 >conftest.err
85179 rm -f conftest.er1
85180 cat conftest.err >&5
85181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85182 (exit $ac_status); } &&
85183 { ac_try='test -z "$ac_c_werror_flag"
85184 || test ! -s conftest.err'
85185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85186 (eval $ac_try) 2>&5
85187 ac_status=$?
85188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85189 (exit $ac_status); }; } &&
85190 { ac_try='test -s conftest$ac_exeext'
85191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85192 (eval $ac_try) 2>&5
85193 ac_status=$?
85194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85195 (exit $ac_status); }; }; then
85196 eval "$as_ac_var=yes"
85197 else
85198 echo "$as_me: failed program was:" >&5
85199 sed 's/^/| /' conftest.$ac_ext >&5
85200
85201 eval "$as_ac_var=no"
85202 fi
85203 rm -f conftest.err conftest.$ac_objext \
85204 conftest$ac_exeext conftest.$ac_ext
85205 fi
85206 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
85207 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
85208 if test `eval echo '${'$as_ac_var'}'` = yes; then
85209 cat >>confdefs.h <<_ACEOF
85210 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
85211 _ACEOF
85212 ac_XPG2funcs=yes
85213 else
85214 ac_XPG2funcs=no
85215 fi
85216 done
85217
85218
85219 LIBS="$ac_save_LIBS"
85220
85221 if test x"$ac_has_iconv_h" = xyes &&
85222 test x"$ac_has_langinfo_h" = xyes &&
85223 test x"$ac_XPG2funcs" = xyes;
85224 then
85225
85226 cat >>confdefs.h <<\_ACEOF
85227 #define _GLIBCXX_USE_ICONV 1
85228 _ACEOF
85229
85230 enable_iconv=yes
85231 fi
85232 fi
85233 echo "$as_me:$LINENO: checking for enabled iconv specializations" >&5
85234 echo $ECHO_N "checking for enabled iconv specializations... $ECHO_C" >&6
85235 echo "$as_me:$LINENO: result: $enable_iconv" >&5
85236 echo "${ECHO_T}$enable_iconv" >&6
85237
85238 # All of the dependencies for wide character support are here, so
85239 # turn it on. This requires some syncronization with the
85240 # GLIBCXX_CHECK_ICONV_SUPPORT in acinclude.m4
85241 cat >>confdefs.h <<\_ACEOF
85242 #define _GLIBCXX_USE_WCHAR_T 1
85243 _ACEOF
85244
85245 # Are these tested for even when cross?
85246 cat >>confdefs.h <<\_ACEOF
85247 #define HAVE_FLOAT_H 1
85248 _ACEOF
85249
85250 cat >>confdefs.h <<\_ACEOF
85251 #define HAVE_IEEEFP_H 1
85252 _ACEOF
85253
85254 cat >>confdefs.h <<\_ACEOF
85255 #define HAVE_INTTYPES_H 1
85256 _ACEOF
85257
85258 cat >>confdefs.h <<\_ACEOF
85259 #define HAVE_LOCALE_H 1
85260 _ACEOF
85261
85262 cat >>confdefs.h <<\_ACEOF
85263 #define HAVE_NAN_H 1
85264 _ACEOF
85265
85266 cat >>confdefs.h <<\_ACEOF
85267 #define HAVE_SYS_FILIO_H 1
85268 _ACEOF
85269
85270 cat >>confdefs.h <<\_ACEOF
85271 #define HAVE_SYS_IOCTL_H 1
85272 _ACEOF
85273
85274 cat >>confdefs.h <<\_ACEOF
85275 #define HAVE_SYS_ISA_DEFS_H 1
85276 _ACEOF
85277
85278 cat >>confdefs.h <<\_ACEOF
85279 #define HAVE_SYS_RESOURCE_H 1
85280 _ACEOF
85281
85282 cat >>confdefs.h <<\_ACEOF
85283 #define HAVE_SYS_TIME_H 1
85284 _ACEOF
85285
85286 cat >>confdefs.h <<\_ACEOF
85287 #define HAVE_SYS_TYPES_H 1
85288 _ACEOF
85289
85290 cat >>confdefs.h <<\_ACEOF
85291 #define HAVE_UNISTD_H 1
85292 _ACEOF
85293
85294 cat >>confdefs.h <<\_ACEOF
85295 #define HAVE_WCHAR_H 1
85296 _ACEOF
85297
85298 cat >>confdefs.h <<\_ACEOF
85299 #define HAVE_WCTYPE_H 1
85300 _ACEOF
85301
85302 cat >>confdefs.h <<\_ACEOF
85303 #define HAVE_LIBM 1
85304 _ACEOF
85305
85306 ;;
85307 esac
85308 case "$target" in
85309 sparc*-*-solaris2.8 | sparc*-*-solaris2.9 | sparc*-*-solaris2.10)
85310 # I saw these on sparc-sun-solaris2.8, but not 2.6, and not on i386
85311 cat >>confdefs.h <<\_ACEOF
85312 #define HAVE___BUILTIN_ABS 1
85313 _ACEOF
85314
85315 cat >>confdefs.h <<\_ACEOF
85316 #define HAVE___BUILTIN_LABS 1
85317 _ACEOF
85318
85319 cat >>confdefs.h <<\_ACEOF
85320 #define HAVE___BUILTIN_FABS 1
85321 _ACEOF
85322
85323 cat >>confdefs.h <<\_ACEOF
85324 #define HAVE___BUILTIN_FABSF 1
85325 _ACEOF
85326
85327 cat >>confdefs.h <<\_ACEOF
85328 #define HAVE___BUILTIN_FABSL 1
85329 _ACEOF
85330
85331 cat >>confdefs.h <<\_ACEOF
85332 #define HAVE___BUILTIN_COS 1
85333 _ACEOF
85334
85335 cat >>confdefs.h <<\_ACEOF
85336 #define HAVE___BUILTIN_COSF 1
85337 _ACEOF
85338
85339 cat >>confdefs.h <<\_ACEOF
85340 #define HAVE___BUILTIN_SIN 1
85341 _ACEOF
85342
85343 cat >>confdefs.h <<\_ACEOF
85344 #define HAVE___BUILTIN_SINF 1
85345 _ACEOF
85346
85347 ;;
85348 esac
85349 case "$target" in
85350 *-*-solaris2.10)
85351 # These two C99 functions are present only in Solaris >= 10
85352 cat >>confdefs.h <<\_ACEOF
85353 #define HAVE_STRTOF 1
85354 _ACEOF
85355
85356 cat >>confdefs.h <<\_ACEOF
85357 #define HAVE_STRTOLD 1
85358 _ACEOF
85359
85360 ;;
85361 esac
85362 cat >>confdefs.h <<\_ACEOF
85363 #define HAVE_MMAP 1
85364 _ACEOF
85365
85366 cat >>confdefs.h <<\_ACEOF
85367 #define HAVE_COPYSIGN 1
85368 _ACEOF
85369
85370 cat >>confdefs.h <<\_ACEOF
85371 #define HAVE_ISNAN 1
85372 _ACEOF
85373
85374 cat >>confdefs.h <<\_ACEOF
85375 #define HAVE_ISNANF 1
85376 _ACEOF
85377
85378 cat >>confdefs.h <<\_ACEOF
85379 #define HAVE_MODFF 1
85380 _ACEOF
85381
85382 cat >>confdefs.h <<\_ACEOF
85383 #define HAVE_HYPOT 1
85384 _ACEOF
85385
85386 ;;
85387 *-tpf)
85388
85389
85390
85391
85392
85393
85394
85395
85396 for ac_header in nan.h endian.h machine/endian.h \
85397 sys/param.h sys/types.h locale.h float.h inttypes.h
85398 do
85399 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
85400 if eval "test \"\${$as_ac_Header+set}\" = set"; then
85401 echo "$as_me:$LINENO: checking for $ac_header" >&5
85402 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
85403 if eval "test \"\${$as_ac_Header+set}\" = set"; then
85404 echo $ECHO_N "(cached) $ECHO_C" >&6
85405 fi
85406 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
85407 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
85408 else
85409 # Is the header compilable?
85410 echo "$as_me:$LINENO: checking $ac_header usability" >&5
85411 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
85412 cat >conftest.$ac_ext <<_ACEOF
85413 /* confdefs.h. */
85414 _ACEOF
85415 cat confdefs.h >>conftest.$ac_ext
85416 cat >>conftest.$ac_ext <<_ACEOF
85417 /* end confdefs.h. */
85418 $ac_includes_default
85419 #include <$ac_header>
85420 _ACEOF
85421 rm -f conftest.$ac_objext
85422 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
85423 (eval $ac_compile) 2>conftest.er1
85424 ac_status=$?
85425 grep -v '^ *+' conftest.er1 >conftest.err
85426 rm -f conftest.er1
85427 cat conftest.err >&5
85428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85429 (exit $ac_status); } &&
85430 { ac_try='test -z "$ac_c_werror_flag"
85431 || test ! -s conftest.err'
85432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85433 (eval $ac_try) 2>&5
85434 ac_status=$?
85435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85436 (exit $ac_status); }; } &&
85437 { ac_try='test -s conftest.$ac_objext'
85438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85439 (eval $ac_try) 2>&5
85440 ac_status=$?
85441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85442 (exit $ac_status); }; }; then
85443 ac_header_compiler=yes
85444 else
85445 echo "$as_me: failed program was:" >&5
85446 sed 's/^/| /' conftest.$ac_ext >&5
85447
85448 ac_header_compiler=no
85449 fi
85450 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
85451 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
85452 echo "${ECHO_T}$ac_header_compiler" >&6
85453
85454 # Is the header present?
85455 echo "$as_me:$LINENO: checking $ac_header presence" >&5
85456 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
85457 cat >conftest.$ac_ext <<_ACEOF
85458 /* confdefs.h. */
85459 _ACEOF
85460 cat confdefs.h >>conftest.$ac_ext
85461 cat >>conftest.$ac_ext <<_ACEOF
85462 /* end confdefs.h. */
85463 #include <$ac_header>
85464 _ACEOF
85465 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
85466 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
85467 ac_status=$?
85468 grep -v '^ *+' conftest.er1 >conftest.err
85469 rm -f conftest.er1
85470 cat conftest.err >&5
85471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85472 (exit $ac_status); } >/dev/null; then
85473 if test -s conftest.err; then
85474 ac_cpp_err=$ac_c_preproc_warn_flag
85475 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
85476 else
85477 ac_cpp_err=
85478 fi
85479 else
85480 ac_cpp_err=yes
85481 fi
85482 if test -z "$ac_cpp_err"; then
85483 ac_header_preproc=yes
85484 else
85485 echo "$as_me: failed program was:" >&5
85486 sed 's/^/| /' conftest.$ac_ext >&5
85487
85488 ac_header_preproc=no
85489 fi
85490 rm -f conftest.err conftest.$ac_ext
85491 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
85492 echo "${ECHO_T}$ac_header_preproc" >&6
85493
85494 # So? What about this header?
85495 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
85496 yes:no: )
85497 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
85498 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
85499 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
85500 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
85501 ac_header_preproc=yes
85502 ;;
85503 no:yes:* )
85504 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
85505 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
85506 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
85507 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
85508 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
85509 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
85510 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
85511 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
85512 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
85513 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
85514 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
85515 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
85516 (
85517 cat <<\_ASBOX
85518 ## ----------------------------------------- ##
85519 ## Report this to the package-unused lists. ##
85520 ## ----------------------------------------- ##
85521 _ASBOX
85522 ) |
85523 sed "s/^/$as_me: WARNING: /" >&2
85524 ;;
85525 esac
85526 echo "$as_me:$LINENO: checking for $ac_header" >&5
85527 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
85528 if eval "test \"\${$as_ac_Header+set}\" = set"; then
85529 echo $ECHO_N "(cached) $ECHO_C" >&6
85530 else
85531 eval "$as_ac_Header=\$ac_header_preproc"
85532 fi
85533 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
85534 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
85535
85536 fi
85537 if test `eval echo '${'$as_ac_Header'}'` = yes; then
85538 cat >>confdefs.h <<_ACEOF
85539 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
85540 _ACEOF
85541
85542 fi
85543
85544 done
85545
85546 SECTION_FLAGS='-ffunction-sections -fdata-sections'
85547
85548
85549 # If we're not using GNU ld, then there's no point in even trying these
85550 # tests. Check for that first. We should have already tested for gld
85551 # by now (in libtool), but require it now just to be safe...
85552 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
85553 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
85554
85555
85556
85557 # The name set by libtool depends on the version of libtool. Shame on us
85558 # for depending on an impl detail, but c'est la vie. Older versions used
85559 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
85560 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
85561 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
85562 # set (hence we're using an older libtool), then set it.
85563 if test x${with_gnu_ld+set} != xset; then
85564 if test x${ac_cv_prog_gnu_ld+set} != xset; then
85565 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
85566 with_gnu_ld=no
85567 else
85568 with_gnu_ld=$ac_cv_prog_gnu_ld
85569 fi
85570 fi
85571
85572 # Start by getting the version number. I think the libtool test already
85573 # does some of this, but throws away the result.
85574
85575 ldver=`$LD --version 2>/dev/null | head -1 | \
85576 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
85577
85578 glibcxx_gnu_ld_version=`echo $ldver | \
85579 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
85580
85581 # Set --gc-sections.
85582 if test "$with_gnu_ld" = "notbroken"; then
85583 # GNU ld it is! Joy and bunny rabbits!
85584
85585 # All these tests are for C++; save the language and the compiler flags.
85586 # Need to do this so that g++ won't try to link in libstdc++
85587 ac_test_CFLAGS="${CFLAGS+set}"
85588 ac_save_CFLAGS="$CFLAGS"
85589 CFLAGS='-x c++ -Wl,--gc-sections'
85590
85591 # Check for -Wl,--gc-sections
85592 # XXX This test is broken at the moment, as symbols required for linking
85593 # are now in libsupc++ (not built yet). In addition, this test has
85594 # cored on solaris in the past. In addition, --gc-sections doesn't
85595 # really work at the moment (keeps on discarding used sections, first
85596 # .eh_frame and now some of the glibc sections for iconv).
85597 # Bzzzzt. Thanks for playing, maybe next time.
85598 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
85599 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
85600 if test "$cross_compiling" = yes; then
85601 ac_sectionLDflags=yes
85602 else
85603 cat >conftest.$ac_ext <<_ACEOF
85604 /* confdefs.h. */
85605 _ACEOF
85606 cat confdefs.h >>conftest.$ac_ext
85607 cat >>conftest.$ac_ext <<_ACEOF
85608 /* end confdefs.h. */
85609
85610 int main(void)
85611 {
85612 try { throw 1; }
85613 catch (...) { };
85614 return 0;
85615 }
85616
85617 _ACEOF
85618 rm -f conftest$ac_exeext
85619 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85620 (eval $ac_link) 2>&5
85621 ac_status=$?
85622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85623 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
85624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85625 (eval $ac_try) 2>&5
85626 ac_status=$?
85627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85628 (exit $ac_status); }; }; then
85629 ac_sectionLDflags=yes
85630 else
85631 echo "$as_me: program exited with status $ac_status" >&5
85632 echo "$as_me: failed program was:" >&5
85633 sed 's/^/| /' conftest.$ac_ext >&5
85634
85635 ( exit $ac_status )
85636 ac_sectionLDflags=no
85637 fi
85638 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
85639 fi
85640 if test "$ac_test_CFLAGS" = set; then
85641 CFLAGS="$ac_save_CFLAGS"
85642 else
85643 # this is the suspicious part
85644 CFLAGS=''
85645 fi
85646 if test "$ac_sectionLDflags" = "yes"; then
85647 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
85648 fi
85649 echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
85650 echo "${ECHO_T}$ac_sectionLDflags" >&6
85651 fi
85652
85653 # Set linker optimization flags.
85654 if test x"$with_gnu_ld" = x"yes"; then
85655 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
85656 fi
85657
85658
85659
85660
85661
85662
85663 echo "$as_me:$LINENO: checking for main in -lm" >&5
85664 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
85665 if test "${ac_cv_lib_m_main+set}" = set; then
85666 echo $ECHO_N "(cached) $ECHO_C" >&6
85667 else
85668 ac_check_lib_save_LIBS=$LIBS
85669 LIBS="-lm $LIBS"
85670 if test x$gcc_no_link = xyes; then
85671 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85672 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85673 { (exit 1); exit 1; }; }
85674 fi
85675 cat >conftest.$ac_ext <<_ACEOF
85676 /* confdefs.h. */
85677 _ACEOF
85678 cat confdefs.h >>conftest.$ac_ext
85679 cat >>conftest.$ac_ext <<_ACEOF
85680 /* end confdefs.h. */
85681
85682
85683 int
85684 main ()
85685 {
85686 main ();
85687 ;
85688 return 0;
85689 }
85690 _ACEOF
85691 rm -f conftest.$ac_objext conftest$ac_exeext
85692 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85693 (eval $ac_link) 2>conftest.er1
85694 ac_status=$?
85695 grep -v '^ *+' conftest.er1 >conftest.err
85696 rm -f conftest.er1
85697 cat conftest.err >&5
85698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85699 (exit $ac_status); } &&
85700 { ac_try='test -z "$ac_c_werror_flag"
85701 || test ! -s conftest.err'
85702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85703 (eval $ac_try) 2>&5
85704 ac_status=$?
85705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85706 (exit $ac_status); }; } &&
85707 { ac_try='test -s conftest$ac_exeext'
85708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85709 (eval $ac_try) 2>&5
85710 ac_status=$?
85711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85712 (exit $ac_status); }; }; then
85713 ac_cv_lib_m_main=yes
85714 else
85715 echo "$as_me: failed program was:" >&5
85716 sed 's/^/| /' conftest.$ac_ext >&5
85717
85718 ac_cv_lib_m_main=no
85719 fi
85720 rm -f conftest.err conftest.$ac_objext \
85721 conftest$ac_exeext conftest.$ac_ext
85722 LIBS=$ac_check_lib_save_LIBS
85723 fi
85724 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
85725 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
85726 if test $ac_cv_lib_m_main = yes; then
85727 cat >>confdefs.h <<_ACEOF
85728 #define HAVE_LIBM 1
85729 _ACEOF
85730
85731 LIBS="-lm $LIBS"
85732
85733 fi
85734
85735
85736 for ac_func in copysignf
85737 do
85738 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
85739 echo "$as_me:$LINENO: checking for $ac_func" >&5
85740 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
85741 if eval "test \"\${$as_ac_var+set}\" = set"; then
85742 echo $ECHO_N "(cached) $ECHO_C" >&6
85743 else
85744 if test x$gcc_no_link = xyes; then
85745 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85746 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85747 { (exit 1); exit 1; }; }
85748 fi
85749 cat >conftest.$ac_ext <<_ACEOF
85750 /* confdefs.h. */
85751 _ACEOF
85752 cat confdefs.h >>conftest.$ac_ext
85753 cat >>conftest.$ac_ext <<_ACEOF
85754 /* end confdefs.h. */
85755 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
85756 For example, HP-UX 11i <limits.h> declares gettimeofday. */
85757 #define $ac_func innocuous_$ac_func
85758
85759 /* System header to define __stub macros and hopefully few prototypes,
85760 which can conflict with char $ac_func (); below.
85761 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
85762 <limits.h> exists even on freestanding compilers. */
85763
85764 #ifdef __STDC__
85765 # include <limits.h>
85766 #else
85767 # include <assert.h>
85768 #endif
85769
85770 #undef $ac_func
85771
85772 /* Override any gcc2 internal prototype to avoid an error. */
85773 #ifdef __cplusplus
85774 extern "C"
85775 {
85776 #endif
85777 /* We use char because int might match the return type of a gcc2
85778 builtin and then its argument prototype would still apply. */
85779 char $ac_func ();
85780 /* The GNU C library defines this for functions which it implements
85781 to always fail with ENOSYS. Some functions are actually named
85782 something starting with __ and the normal name is an alias. */
85783 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
85784 choke me
85785 #else
85786 char (*f) () = $ac_func;
85787 #endif
85788 #ifdef __cplusplus
85789 }
85790 #endif
85791
85792 int
85793 main ()
85794 {
85795 return f != $ac_func;
85796 ;
85797 return 0;
85798 }
85799 _ACEOF
85800 rm -f conftest.$ac_objext conftest$ac_exeext
85801 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85802 (eval $ac_link) 2>conftest.er1
85803 ac_status=$?
85804 grep -v '^ *+' conftest.er1 >conftest.err
85805 rm -f conftest.er1
85806 cat conftest.err >&5
85807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85808 (exit $ac_status); } &&
85809 { ac_try='test -z "$ac_c_werror_flag"
85810 || test ! -s conftest.err'
85811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85812 (eval $ac_try) 2>&5
85813 ac_status=$?
85814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85815 (exit $ac_status); }; } &&
85816 { ac_try='test -s conftest$ac_exeext'
85817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85818 (eval $ac_try) 2>&5
85819 ac_status=$?
85820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85821 (exit $ac_status); }; }; then
85822 eval "$as_ac_var=yes"
85823 else
85824 echo "$as_me: failed program was:" >&5
85825 sed 's/^/| /' conftest.$ac_ext >&5
85826
85827 eval "$as_ac_var=no"
85828 fi
85829 rm -f conftest.err conftest.$ac_objext \
85830 conftest$ac_exeext conftest.$ac_ext
85831 fi
85832 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
85833 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
85834 if test `eval echo '${'$as_ac_var'}'` = yes; then
85835 cat >>confdefs.h <<_ACEOF
85836 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
85837 _ACEOF
85838
85839 else
85840 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
85841 fi
85842 done
85843
85844
85845
85846 for ac_func in __signbit
85847 do
85848 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
85849 echo "$as_me:$LINENO: checking for $ac_func" >&5
85850 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
85851 if eval "test \"\${$as_ac_var+set}\" = set"; then
85852 echo $ECHO_N "(cached) $ECHO_C" >&6
85853 else
85854 if test x$gcc_no_link = xyes; then
85855 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85856 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85857 { (exit 1); exit 1; }; }
85858 fi
85859 cat >conftest.$ac_ext <<_ACEOF
85860 /* confdefs.h. */
85861 _ACEOF
85862 cat confdefs.h >>conftest.$ac_ext
85863 cat >>conftest.$ac_ext <<_ACEOF
85864 /* end confdefs.h. */
85865 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
85866 For example, HP-UX 11i <limits.h> declares gettimeofday. */
85867 #define $ac_func innocuous_$ac_func
85868
85869 /* System header to define __stub macros and hopefully few prototypes,
85870 which can conflict with char $ac_func (); below.
85871 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
85872 <limits.h> exists even on freestanding compilers. */
85873
85874 #ifdef __STDC__
85875 # include <limits.h>
85876 #else
85877 # include <assert.h>
85878 #endif
85879
85880 #undef $ac_func
85881
85882 /* Override any gcc2 internal prototype to avoid an error. */
85883 #ifdef __cplusplus
85884 extern "C"
85885 {
85886 #endif
85887 /* We use char because int might match the return type of a gcc2
85888 builtin and then its argument prototype would still apply. */
85889 char $ac_func ();
85890 /* The GNU C library defines this for functions which it implements
85891 to always fail with ENOSYS. Some functions are actually named
85892 something starting with __ and the normal name is an alias. */
85893 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
85894 choke me
85895 #else
85896 char (*f) () = $ac_func;
85897 #endif
85898 #ifdef __cplusplus
85899 }
85900 #endif
85901
85902 int
85903 main ()
85904 {
85905 return f != $ac_func;
85906 ;
85907 return 0;
85908 }
85909 _ACEOF
85910 rm -f conftest.$ac_objext conftest$ac_exeext
85911 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85912 (eval $ac_link) 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_c_werror_flag"
85920 || test ! -s conftest.err'
85921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85922 (eval $ac_try) 2>&5
85923 ac_status=$?
85924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85925 (exit $ac_status); }; } &&
85926 { ac_try='test -s conftest$ac_exeext'
85927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85928 (eval $ac_try) 2>&5
85929 ac_status=$?
85930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85931 (exit $ac_status); }; }; then
85932 eval "$as_ac_var=yes"
85933 else
85934 echo "$as_me: failed program was:" >&5
85935 sed 's/^/| /' conftest.$ac_ext >&5
85936
85937 eval "$as_ac_var=no"
85938 fi
85939 rm -f conftest.err conftest.$ac_objext \
85940 conftest$ac_exeext conftest.$ac_ext
85941 fi
85942 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
85943 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
85944 if test `eval echo '${'$as_ac_var'}'` = yes; then
85945 cat >>confdefs.h <<_ACEOF
85946 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
85947 _ACEOF
85948
85949 else
85950 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
85951 fi
85952 done
85953
85954
85955
85956 for ac_func in __signbitf
85957 do
85958 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
85959 echo "$as_me:$LINENO: checking for $ac_func" >&5
85960 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
85961 if eval "test \"\${$as_ac_var+set}\" = set"; then
85962 echo $ECHO_N "(cached) $ECHO_C" >&6
85963 else
85964 if test x$gcc_no_link = xyes; then
85965 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85966 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85967 { (exit 1); exit 1; }; }
85968 fi
85969 cat >conftest.$ac_ext <<_ACEOF
85970 /* confdefs.h. */
85971 _ACEOF
85972 cat confdefs.h >>conftest.$ac_ext
85973 cat >>conftest.$ac_ext <<_ACEOF
85974 /* end confdefs.h. */
85975 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
85976 For example, HP-UX 11i <limits.h> declares gettimeofday. */
85977 #define $ac_func innocuous_$ac_func
85978
85979 /* System header to define __stub macros and hopefully few prototypes,
85980 which can conflict with char $ac_func (); below.
85981 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
85982 <limits.h> exists even on freestanding compilers. */
85983
85984 #ifdef __STDC__
85985 # include <limits.h>
85986 #else
85987 # include <assert.h>
85988 #endif
85989
85990 #undef $ac_func
85991
85992 /* Override any gcc2 internal prototype to avoid an error. */
85993 #ifdef __cplusplus
85994 extern "C"
85995 {
85996 #endif
85997 /* We use char because int might match the return type of a gcc2
85998 builtin and then its argument prototype would still apply. */
85999 char $ac_func ();
86000 /* The GNU C library defines this for functions which it implements
86001 to always fail with ENOSYS. Some functions are actually named
86002 something starting with __ and the normal name is an alias. */
86003 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
86004 choke me
86005 #else
86006 char (*f) () = $ac_func;
86007 #endif
86008 #ifdef __cplusplus
86009 }
86010 #endif
86011
86012 int
86013 main ()
86014 {
86015 return f != $ac_func;
86016 ;
86017 return 0;
86018 }
86019 _ACEOF
86020 rm -f conftest.$ac_objext conftest$ac_exeext
86021 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86022 (eval $ac_link) 2>conftest.er1
86023 ac_status=$?
86024 grep -v '^ *+' conftest.er1 >conftest.err
86025 rm -f conftest.er1
86026 cat conftest.err >&5
86027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86028 (exit $ac_status); } &&
86029 { ac_try='test -z "$ac_c_werror_flag"
86030 || test ! -s conftest.err'
86031 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86032 (eval $ac_try) 2>&5
86033 ac_status=$?
86034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86035 (exit $ac_status); }; } &&
86036 { ac_try='test -s conftest$ac_exeext'
86037 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86038 (eval $ac_try) 2>&5
86039 ac_status=$?
86040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86041 (exit $ac_status); }; }; then
86042 eval "$as_ac_var=yes"
86043 else
86044 echo "$as_me: failed program was:" >&5
86045 sed 's/^/| /' conftest.$ac_ext >&5
86046
86047 eval "$as_ac_var=no"
86048 fi
86049 rm -f conftest.err conftest.$ac_objext \
86050 conftest$ac_exeext conftest.$ac_ext
86051 fi
86052 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
86053 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
86054 if test `eval echo '${'$as_ac_var'}'` = yes; then
86055 cat >>confdefs.h <<_ACEOF
86056 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
86057 _ACEOF
86058
86059 else
86060 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
86061 fi
86062 done
86063
86064
86065 if test x$ac_cv_func_copysignl = x"yes"; then
86066
86067 for ac_func in __signbitl
86068 do
86069 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
86070 echo "$as_me:$LINENO: checking for $ac_func" >&5
86071 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
86072 if eval "test \"\${$as_ac_var+set}\" = set"; then
86073 echo $ECHO_N "(cached) $ECHO_C" >&6
86074 else
86075 if test x$gcc_no_link = xyes; then
86076 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86077 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86078 { (exit 1); exit 1; }; }
86079 fi
86080 cat >conftest.$ac_ext <<_ACEOF
86081 /* confdefs.h. */
86082 _ACEOF
86083 cat confdefs.h >>conftest.$ac_ext
86084 cat >>conftest.$ac_ext <<_ACEOF
86085 /* end confdefs.h. */
86086 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
86087 For example, HP-UX 11i <limits.h> declares gettimeofday. */
86088 #define $ac_func innocuous_$ac_func
86089
86090 /* System header to define __stub macros and hopefully few prototypes,
86091 which can conflict with char $ac_func (); below.
86092 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
86093 <limits.h> exists even on freestanding compilers. */
86094
86095 #ifdef __STDC__
86096 # include <limits.h>
86097 #else
86098 # include <assert.h>
86099 #endif
86100
86101 #undef $ac_func
86102
86103 /* Override any gcc2 internal prototype to avoid an error. */
86104 #ifdef __cplusplus
86105 extern "C"
86106 {
86107 #endif
86108 /* We use char because int might match the return type of a gcc2
86109 builtin and then its argument prototype would still apply. */
86110 char $ac_func ();
86111 /* The GNU C library defines this for functions which it implements
86112 to always fail with ENOSYS. Some functions are actually named
86113 something starting with __ and the normal name is an alias. */
86114 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
86115 choke me
86116 #else
86117 char (*f) () = $ac_func;
86118 #endif
86119 #ifdef __cplusplus
86120 }
86121 #endif
86122
86123 int
86124 main ()
86125 {
86126 return f != $ac_func;
86127 ;
86128 return 0;
86129 }
86130 _ACEOF
86131 rm -f conftest.$ac_objext conftest$ac_exeext
86132 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86133 (eval $ac_link) 2>conftest.er1
86134 ac_status=$?
86135 grep -v '^ *+' conftest.er1 >conftest.err
86136 rm -f conftest.er1
86137 cat conftest.err >&5
86138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86139 (exit $ac_status); } &&
86140 { ac_try='test -z "$ac_c_werror_flag"
86141 || test ! -s conftest.err'
86142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86143 (eval $ac_try) 2>&5
86144 ac_status=$?
86145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86146 (exit $ac_status); }; } &&
86147 { ac_try='test -s conftest$ac_exeext'
86148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86149 (eval $ac_try) 2>&5
86150 ac_status=$?
86151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86152 (exit $ac_status); }; }; then
86153 eval "$as_ac_var=yes"
86154 else
86155 echo "$as_me: failed program was:" >&5
86156 sed 's/^/| /' conftest.$ac_ext >&5
86157
86158 eval "$as_ac_var=no"
86159 fi
86160 rm -f conftest.err conftest.$ac_objext \
86161 conftest$ac_exeext conftest.$ac_ext
86162 fi
86163 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
86164 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
86165 if test `eval echo '${'$as_ac_var'}'` = yes; then
86166 cat >>confdefs.h <<_ACEOF
86167 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
86168 _ACEOF
86169
86170 else
86171 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
86172 fi
86173 done
86174
86175 fi
86176
86177 # Used in libmath/Makefile.am.
86178 if test -n "$LIBMATHOBJS"; then
86179 need_libmath=yes
86180 fi
86181
86182
86183
86184
86185 enable_iconv=no
86186 # Only continue checking if the ISO C99 headers exist and support is on.
86187 if test x"$enable_wchar_t" = xyes; then
86188
86189 # Use iconv for wchar_t to char conversions. As such, check for
86190 # X/Open Portability Guide, version 2 features (XPG2).
86191 if test "${ac_cv_header_iconv_h+set}" = set; then
86192 echo "$as_me:$LINENO: checking for iconv.h" >&5
86193 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
86194 if test "${ac_cv_header_iconv_h+set}" = set; then
86195 echo $ECHO_N "(cached) $ECHO_C" >&6
86196 fi
86197 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
86198 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
86199 else
86200 # Is the header compilable?
86201 echo "$as_me:$LINENO: checking iconv.h usability" >&5
86202 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
86203 cat >conftest.$ac_ext <<_ACEOF
86204 /* confdefs.h. */
86205 _ACEOF
86206 cat confdefs.h >>conftest.$ac_ext
86207 cat >>conftest.$ac_ext <<_ACEOF
86208 /* end confdefs.h. */
86209 $ac_includes_default
86210 #include <iconv.h>
86211 _ACEOF
86212 rm -f conftest.$ac_objext
86213 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
86214 (eval $ac_compile) 2>conftest.er1
86215 ac_status=$?
86216 grep -v '^ *+' conftest.er1 >conftest.err
86217 rm -f conftest.er1
86218 cat conftest.err >&5
86219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86220 (exit $ac_status); } &&
86221 { ac_try='test -z "$ac_c_werror_flag"
86222 || test ! -s conftest.err'
86223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86224 (eval $ac_try) 2>&5
86225 ac_status=$?
86226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86227 (exit $ac_status); }; } &&
86228 { ac_try='test -s conftest.$ac_objext'
86229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86230 (eval $ac_try) 2>&5
86231 ac_status=$?
86232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86233 (exit $ac_status); }; }; then
86234 ac_header_compiler=yes
86235 else
86236 echo "$as_me: failed program was:" >&5
86237 sed 's/^/| /' conftest.$ac_ext >&5
86238
86239 ac_header_compiler=no
86240 fi
86241 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
86242 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
86243 echo "${ECHO_T}$ac_header_compiler" >&6
86244
86245 # Is the header present?
86246 echo "$as_me:$LINENO: checking iconv.h presence" >&5
86247 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
86248 cat >conftest.$ac_ext <<_ACEOF
86249 /* confdefs.h. */
86250 _ACEOF
86251 cat confdefs.h >>conftest.$ac_ext
86252 cat >>conftest.$ac_ext <<_ACEOF
86253 /* end confdefs.h. */
86254 #include <iconv.h>
86255 _ACEOF
86256 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
86257 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
86258 ac_status=$?
86259 grep -v '^ *+' conftest.er1 >conftest.err
86260 rm -f conftest.er1
86261 cat conftest.err >&5
86262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86263 (exit $ac_status); } >/dev/null; then
86264 if test -s conftest.err; then
86265 ac_cpp_err=$ac_c_preproc_warn_flag
86266 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
86267 else
86268 ac_cpp_err=
86269 fi
86270 else
86271 ac_cpp_err=yes
86272 fi
86273 if test -z "$ac_cpp_err"; then
86274 ac_header_preproc=yes
86275 else
86276 echo "$as_me: failed program was:" >&5
86277 sed 's/^/| /' conftest.$ac_ext >&5
86278
86279 ac_header_preproc=no
86280 fi
86281 rm -f conftest.err conftest.$ac_ext
86282 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
86283 echo "${ECHO_T}$ac_header_preproc" >&6
86284
86285 # So? What about this header?
86286 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
86287 yes:no: )
86288 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
86289 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
86290 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
86291 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
86292 ac_header_preproc=yes
86293 ;;
86294 no:yes:* )
86295 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
86296 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
86297 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
86298 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
86299 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
86300 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
86301 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
86302 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
86303 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
86304 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
86305 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
86306 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
86307 (
86308 cat <<\_ASBOX
86309 ## ----------------------------------------- ##
86310 ## Report this to the package-unused lists. ##
86311 ## ----------------------------------------- ##
86312 _ASBOX
86313 ) |
86314 sed "s/^/$as_me: WARNING: /" >&2
86315 ;;
86316 esac
86317 echo "$as_me:$LINENO: checking for iconv.h" >&5
86318 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
86319 if test "${ac_cv_header_iconv_h+set}" = set; then
86320 echo $ECHO_N "(cached) $ECHO_C" >&6
86321 else
86322 ac_cv_header_iconv_h=$ac_header_preproc
86323 fi
86324 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
86325 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
86326
86327 fi
86328 if test $ac_cv_header_iconv_h = yes; then
86329 ac_has_iconv_h=yes
86330 else
86331 ac_has_iconv_h=no
86332 fi
86333
86334
86335 if test "${ac_cv_header_langinfo_h+set}" = set; then
86336 echo "$as_me:$LINENO: checking for langinfo.h" >&5
86337 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
86338 if test "${ac_cv_header_langinfo_h+set}" = set; then
86339 echo $ECHO_N "(cached) $ECHO_C" >&6
86340 fi
86341 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
86342 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
86343 else
86344 # Is the header compilable?
86345 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
86346 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
86347 cat >conftest.$ac_ext <<_ACEOF
86348 /* confdefs.h. */
86349 _ACEOF
86350 cat confdefs.h >>conftest.$ac_ext
86351 cat >>conftest.$ac_ext <<_ACEOF
86352 /* end confdefs.h. */
86353 $ac_includes_default
86354 #include <langinfo.h>
86355 _ACEOF
86356 rm -f conftest.$ac_objext
86357 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
86358 (eval $ac_compile) 2>conftest.er1
86359 ac_status=$?
86360 grep -v '^ *+' conftest.er1 >conftest.err
86361 rm -f conftest.er1
86362 cat conftest.err >&5
86363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86364 (exit $ac_status); } &&
86365 { ac_try='test -z "$ac_c_werror_flag"
86366 || test ! -s conftest.err'
86367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86368 (eval $ac_try) 2>&5
86369 ac_status=$?
86370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86371 (exit $ac_status); }; } &&
86372 { ac_try='test -s conftest.$ac_objext'
86373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86374 (eval $ac_try) 2>&5
86375 ac_status=$?
86376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86377 (exit $ac_status); }; }; then
86378 ac_header_compiler=yes
86379 else
86380 echo "$as_me: failed program was:" >&5
86381 sed 's/^/| /' conftest.$ac_ext >&5
86382
86383 ac_header_compiler=no
86384 fi
86385 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
86386 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
86387 echo "${ECHO_T}$ac_header_compiler" >&6
86388
86389 # Is the header present?
86390 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
86391 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
86392 cat >conftest.$ac_ext <<_ACEOF
86393 /* confdefs.h. */
86394 _ACEOF
86395 cat confdefs.h >>conftest.$ac_ext
86396 cat >>conftest.$ac_ext <<_ACEOF
86397 /* end confdefs.h. */
86398 #include <langinfo.h>
86399 _ACEOF
86400 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
86401 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
86402 ac_status=$?
86403 grep -v '^ *+' conftest.er1 >conftest.err
86404 rm -f conftest.er1
86405 cat conftest.err >&5
86406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86407 (exit $ac_status); } >/dev/null; then
86408 if test -s conftest.err; then
86409 ac_cpp_err=$ac_c_preproc_warn_flag
86410 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
86411 else
86412 ac_cpp_err=
86413 fi
86414 else
86415 ac_cpp_err=yes
86416 fi
86417 if test -z "$ac_cpp_err"; then
86418 ac_header_preproc=yes
86419 else
86420 echo "$as_me: failed program was:" >&5
86421 sed 's/^/| /' conftest.$ac_ext >&5
86422
86423 ac_header_preproc=no
86424 fi
86425 rm -f conftest.err conftest.$ac_ext
86426 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
86427 echo "${ECHO_T}$ac_header_preproc" >&6
86428
86429 # So? What about this header?
86430 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
86431 yes:no: )
86432 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
86433 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
86434 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
86435 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
86436 ac_header_preproc=yes
86437 ;;
86438 no:yes:* )
86439 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
86440 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
86441 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
86442 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
86443 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
86444 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
86445 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
86446 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
86447 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
86448 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
86449 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
86450 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
86451 (
86452 cat <<\_ASBOX
86453 ## ----------------------------------------- ##
86454 ## Report this to the package-unused lists. ##
86455 ## ----------------------------------------- ##
86456 _ASBOX
86457 ) |
86458 sed "s/^/$as_me: WARNING: /" >&2
86459 ;;
86460 esac
86461 echo "$as_me:$LINENO: checking for langinfo.h" >&5
86462 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
86463 if test "${ac_cv_header_langinfo_h+set}" = set; then
86464 echo $ECHO_N "(cached) $ECHO_C" >&6
86465 else
86466 ac_cv_header_langinfo_h=$ac_header_preproc
86467 fi
86468 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
86469 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
86470
86471 fi
86472 if test $ac_cv_header_langinfo_h = yes; then
86473 ac_has_langinfo_h=yes
86474 else
86475 ac_has_langinfo_h=no
86476 fi
86477
86478
86479
86480 # Check for existence of libiconv.a providing XPG2 wchar_t support.
86481 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
86482 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
86483 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
86484 echo $ECHO_N "(cached) $ECHO_C" >&6
86485 else
86486 ac_check_lib_save_LIBS=$LIBS
86487 LIBS="-liconv $LIBS"
86488 if test x$gcc_no_link = xyes; then
86489 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86490 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86491 { (exit 1); exit 1; }; }
86492 fi
86493 cat >conftest.$ac_ext <<_ACEOF
86494 /* confdefs.h. */
86495 _ACEOF
86496 cat confdefs.h >>conftest.$ac_ext
86497 cat >>conftest.$ac_ext <<_ACEOF
86498 /* end confdefs.h. */
86499
86500 /* Override any gcc2 internal prototype to avoid an error. */
86501 #ifdef __cplusplus
86502 extern "C"
86503 #endif
86504 /* We use char because int might match the return type of a gcc2
86505 builtin and then its argument prototype would still apply. */
86506 char iconv ();
86507 int
86508 main ()
86509 {
86510 iconv ();
86511 ;
86512 return 0;
86513 }
86514 _ACEOF
86515 rm -f conftest.$ac_objext conftest$ac_exeext
86516 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86517 (eval $ac_link) 2>conftest.er1
86518 ac_status=$?
86519 grep -v '^ *+' conftest.er1 >conftest.err
86520 rm -f conftest.er1
86521 cat conftest.err >&5
86522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86523 (exit $ac_status); } &&
86524 { ac_try='test -z "$ac_c_werror_flag"
86525 || test ! -s conftest.err'
86526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86527 (eval $ac_try) 2>&5
86528 ac_status=$?
86529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86530 (exit $ac_status); }; } &&
86531 { ac_try='test -s conftest$ac_exeext'
86532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86533 (eval $ac_try) 2>&5
86534 ac_status=$?
86535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86536 (exit $ac_status); }; }; then
86537 ac_cv_lib_iconv_iconv=yes
86538 else
86539 echo "$as_me: failed program was:" >&5
86540 sed 's/^/| /' conftest.$ac_ext >&5
86541
86542 ac_cv_lib_iconv_iconv=no
86543 fi
86544 rm -f conftest.err conftest.$ac_objext \
86545 conftest$ac_exeext conftest.$ac_ext
86546 LIBS=$ac_check_lib_save_LIBS
86547 fi
86548 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
86549 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
86550 if test $ac_cv_lib_iconv_iconv = yes; then
86551 LIBICONV="-liconv"
86552 fi
86553
86554 ac_save_LIBS="$LIBS"
86555 LIBS="$LIBS $LIBICONV"
86556
86557
86558
86559
86560
86561
86562 for ac_func in iconv_open iconv_close iconv nl_langinfo
86563 do
86564 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
86565 echo "$as_me:$LINENO: checking for $ac_func" >&5
86566 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
86567 if eval "test \"\${$as_ac_var+set}\" = set"; then
86568 echo $ECHO_N "(cached) $ECHO_C" >&6
86569 else
86570 if test x$gcc_no_link = xyes; then
86571 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86572 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86573 { (exit 1); exit 1; }; }
86574 fi
86575 cat >conftest.$ac_ext <<_ACEOF
86576 /* confdefs.h. */
86577 _ACEOF
86578 cat confdefs.h >>conftest.$ac_ext
86579 cat >>conftest.$ac_ext <<_ACEOF
86580 /* end confdefs.h. */
86581 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
86582 For example, HP-UX 11i <limits.h> declares gettimeofday. */
86583 #define $ac_func innocuous_$ac_func
86584
86585 /* System header to define __stub macros and hopefully few prototypes,
86586 which can conflict with char $ac_func (); below.
86587 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
86588 <limits.h> exists even on freestanding compilers. */
86589
86590 #ifdef __STDC__
86591 # include <limits.h>
86592 #else
86593 # include <assert.h>
86594 #endif
86595
86596 #undef $ac_func
86597
86598 /* Override any gcc2 internal prototype to avoid an error. */
86599 #ifdef __cplusplus
86600 extern "C"
86601 {
86602 #endif
86603 /* We use char because int might match the return type of a gcc2
86604 builtin and then its argument prototype would still apply. */
86605 char $ac_func ();
86606 /* The GNU C library defines this for functions which it implements
86607 to always fail with ENOSYS. Some functions are actually named
86608 something starting with __ and the normal name is an alias. */
86609 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
86610 choke me
86611 #else
86612 char (*f) () = $ac_func;
86613 #endif
86614 #ifdef __cplusplus
86615 }
86616 #endif
86617
86618 int
86619 main ()
86620 {
86621 return f != $ac_func;
86622 ;
86623 return 0;
86624 }
86625 _ACEOF
86626 rm -f conftest.$ac_objext conftest$ac_exeext
86627 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86628 (eval $ac_link) 2>conftest.er1
86629 ac_status=$?
86630 grep -v '^ *+' conftest.er1 >conftest.err
86631 rm -f conftest.er1
86632 cat conftest.err >&5
86633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86634 (exit $ac_status); } &&
86635 { ac_try='test -z "$ac_c_werror_flag"
86636 || test ! -s conftest.err'
86637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86638 (eval $ac_try) 2>&5
86639 ac_status=$?
86640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86641 (exit $ac_status); }; } &&
86642 { ac_try='test -s conftest$ac_exeext'
86643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86644 (eval $ac_try) 2>&5
86645 ac_status=$?
86646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86647 (exit $ac_status); }; }; then
86648 eval "$as_ac_var=yes"
86649 else
86650 echo "$as_me: failed program was:" >&5
86651 sed 's/^/| /' conftest.$ac_ext >&5
86652
86653 eval "$as_ac_var=no"
86654 fi
86655 rm -f conftest.err conftest.$ac_objext \
86656 conftest$ac_exeext conftest.$ac_ext
86657 fi
86658 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
86659 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
86660 if test `eval echo '${'$as_ac_var'}'` = yes; then
86661 cat >>confdefs.h <<_ACEOF
86662 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
86663 _ACEOF
86664 ac_XPG2funcs=yes
86665 else
86666 ac_XPG2funcs=no
86667 fi
86668 done
86669
86670
86671 LIBS="$ac_save_LIBS"
86672
86673 if test x"$ac_has_iconv_h" = xyes &&
86674 test x"$ac_has_langinfo_h" = xyes &&
86675 test x"$ac_XPG2funcs" = xyes;
86676 then
86677
86678 cat >>confdefs.h <<\_ACEOF
86679 #define _GLIBCXX_USE_ICONV 1
86680 _ACEOF
86681
86682 enable_iconv=yes
86683 fi
86684 fi
86685 echo "$as_me:$LINENO: checking for enabled iconv specializations" >&5
86686 echo $ECHO_N "checking for enabled iconv specializations... $ECHO_C" >&6
86687 echo "$as_me:$LINENO: result: $enable_iconv" >&5
86688 echo "${ECHO_T}$enable_iconv" >&6
86689
86690 cat >>confdefs.h <<\_ACEOF
86691 #define HAVE_COPYSIGN 1
86692 _ACEOF
86693
86694 cat >>confdefs.h <<\_ACEOF
86695 #define HAVE_COPYSIGNF 1
86696 _ACEOF
86697
86698 cat >>confdefs.h <<\_ACEOF
86699 #define HAVE_FINITE 1
86700 _ACEOF
86701
86702 cat >>confdefs.h <<\_ACEOF
86703 #define HAVE_FINITEF 1
86704 _ACEOF
86705
86706 cat >>confdefs.h <<\_ACEOF
86707 #define HAVE_FREXPF 1
86708 _ACEOF
86709
86710 cat >>confdefs.h <<\_ACEOF
86711 #define HAVE_HYPOTF 1
86712 _ACEOF
86713
86714 cat >>confdefs.h <<\_ACEOF
86715 #define HAVE_ISINF 1
86716 _ACEOF
86717
86718 cat >>confdefs.h <<\_ACEOF
86719 #define HAVE_ISINFF 1
86720 _ACEOF
86721
86722 cat >>confdefs.h <<\_ACEOF
86723 #define HAVE_ISNAN 1
86724 _ACEOF
86725
86726 cat >>confdefs.h <<\_ACEOF
86727 #define HAVE_ISNANF 1
86728 _ACEOF
86729
86730 cat >>confdefs.h <<\_ACEOF
86731 #define HAVE_SINCOS 1
86732 _ACEOF
86733
86734 cat >>confdefs.h <<\_ACEOF
86735 #define HAVE_SINCOSF 1
86736 _ACEOF
86737
86738 if test x"long_double_math_on_this_cpu" = x"yes"; then
86739 cat >>confdefs.h <<\_ACEOF
86740 #define HAVE_FINITEL 1
86741 _ACEOF
86742
86743 cat >>confdefs.h <<\_ACEOF
86744 #define HAVE_HYPOTL 1
86745 _ACEOF
86746
86747 cat >>confdefs.h <<\_ACEOF
86748 #define HAVE_ISINFL 1
86749 _ACEOF
86750
86751 cat >>confdefs.h <<\_ACEOF
86752 #define HAVE_ISNANL 1
86753 _ACEOF
86754
86755 fi
86756 ;;
86757 *-vxworks)
86758 cat >>confdefs.h <<\_ACEOF
86759 #define HAVE_MMAP 1
86760 _ACEOF
86761
86762 cat >>confdefs.h <<\_ACEOF
86763 #define HAVE_ACOSF 1
86764 _ACEOF
86765
86766 cat >>confdefs.h <<\_ACEOF
86767 #define HAVE_ASINF 1
86768 _ACEOF
86769
86770 cat >>confdefs.h <<\_ACEOF
86771 #define HAVE_ATAN2F 1
86772 _ACEOF
86773
86774 cat >>confdefs.h <<\_ACEOF
86775 #define HAVE_ATANF 1
86776 _ACEOF
86777
86778 cat >>confdefs.h <<\_ACEOF
86779 #define HAVE_CEILF 1
86780 _ACEOF
86781
86782 cat >>confdefs.h <<\_ACEOF
86783 #define HAVE_COSF 1
86784 _ACEOF
86785
86786 cat >>confdefs.h <<\_ACEOF
86787 #define HAVE_COSHF 1
86788 _ACEOF
86789
86790 cat >>confdefs.h <<\_ACEOF
86791 #define HAVE_EXPF 1
86792 _ACEOF
86793
86794 cat >>confdefs.h <<\_ACEOF
86795 #define HAVE_FABSF 1
86796 _ACEOF
86797
86798 cat >>confdefs.h <<\_ACEOF
86799 #define HAVE_FLOORF 1
86800 _ACEOF
86801
86802 cat >>confdefs.h <<\_ACEOF
86803 #define HAVE_FMODF 1
86804 _ACEOF
86805
86806 cat >>confdefs.h <<\_ACEOF
86807 #define HAVE_HYPOT 1
86808 _ACEOF
86809
86810 cat >>confdefs.h <<\_ACEOF
86811 #define HAVE_LOG10F 1
86812 _ACEOF
86813
86814 cat >>confdefs.h <<\_ACEOF
86815 #define HAVE_LOGF 1
86816 _ACEOF
86817
86818 cat >>confdefs.h <<\_ACEOF
86819 #define HAVE_POWF 1
86820 _ACEOF
86821
86822 cat >>confdefs.h <<\_ACEOF
86823 #define HAVE_SINF 1
86824 _ACEOF
86825
86826 cat >>confdefs.h <<\_ACEOF
86827 #define HAVE_SINHF 1
86828 _ACEOF
86829
86830 cat >>confdefs.h <<\_ACEOF
86831 #define HAVE_SQRTF 1
86832 _ACEOF
86833
86834 cat >>confdefs.h <<\_ACEOF
86835 #define HAVE_TANF 1
86836 _ACEOF
86837
86838 cat >>confdefs.h <<\_ACEOF
86839 #define HAVE_TANHF 1
86840 _ACEOF
86841
86842 ;;
86843 *-windiss*)
86844 cat >>confdefs.h <<\_ACEOF
86845 #define HAVE_ACOSF 1
86846 _ACEOF
86847
86848 cat >>confdefs.h <<\_ACEOF
86849 #define HAVE_ACOSL 1
86850 _ACEOF
86851
86852 cat >>confdefs.h <<\_ACEOF
86853 #define HAVE_ASINF 1
86854 _ACEOF
86855
86856 cat >>confdefs.h <<\_ACEOF
86857 #define HAVE_ASINL 1
86858 _ACEOF
86859
86860 cat >>confdefs.h <<\_ACEOF
86861 #define HAVE_ATAN2F 1
86862 _ACEOF
86863
86864 cat >>confdefs.h <<\_ACEOF
86865 #define HAVE_ATAN2L 1
86866 _ACEOF
86867
86868 cat >>confdefs.h <<\_ACEOF
86869 #define HAVE_ATANF 1
86870 _ACEOF
86871
86872 cat >>confdefs.h <<\_ACEOF
86873 #define HAVE_ATANL 1
86874 _ACEOF
86875
86876 cat >>confdefs.h <<\_ACEOF
86877 #define HAVE_CEILF 1
86878 _ACEOF
86879
86880 cat >>confdefs.h <<\_ACEOF
86881 #define HAVE_CEILL 1
86882 _ACEOF
86883
86884 cat >>confdefs.h <<\_ACEOF
86885 #define HAVE_COPYSIGN 1
86886 _ACEOF
86887
86888 cat >>confdefs.h <<\_ACEOF
86889 #define HAVE_COPYSIGNF 1
86890 _ACEOF
86891
86892 cat >>confdefs.h <<\_ACEOF
86893 #define HAVE_COSF 1
86894 _ACEOF
86895
86896 cat >>confdefs.h <<\_ACEOF
86897 #define HAVE_COSL 1
86898 _ACEOF
86899
86900 cat >>confdefs.h <<\_ACEOF
86901 #define HAVE_COSHF 1
86902 _ACEOF
86903
86904 cat >>confdefs.h <<\_ACEOF
86905 #define HAVE_COSHL 1
86906 _ACEOF
86907
86908 cat >>confdefs.h <<\_ACEOF
86909 #define HAVE_EXPF 1
86910 _ACEOF
86911
86912 cat >>confdefs.h <<\_ACEOF
86913 #define HAVE_EXPL 1
86914 _ACEOF
86915
86916 cat >>confdefs.h <<\_ACEOF
86917 #define HAVE_FABSF 1
86918 _ACEOF
86919
86920 cat >>confdefs.h <<\_ACEOF
86921 #define HAVE_FABSL 1
86922 _ACEOF
86923
86924 cat >>confdefs.h <<\_ACEOF
86925 #define HAVE_FLOORF 1
86926 _ACEOF
86927
86928 cat >>confdefs.h <<\_ACEOF
86929 #define HAVE_FLOORL 1
86930 _ACEOF
86931
86932 cat >>confdefs.h <<\_ACEOF
86933 #define HAVE_FMODF 1
86934 _ACEOF
86935
86936 cat >>confdefs.h <<\_ACEOF
86937 #define HAVE_FMODL 1
86938 _ACEOF
86939
86940 cat >>confdefs.h <<\_ACEOF
86941 #define HAVE_FREXPF 1
86942 _ACEOF
86943
86944 cat >>confdefs.h <<\_ACEOF
86945 #define HAVE_FREXPL 1
86946 _ACEOF
86947
86948 cat >>confdefs.h <<\_ACEOF
86949 #define HAVE_LDEXPF 1
86950 _ACEOF
86951
86952 cat >>confdefs.h <<\_ACEOF
86953 #define HAVE_LDEXPL 1
86954 _ACEOF
86955
86956 cat >>confdefs.h <<\_ACEOF
86957 #define HAVE_LOG10F 1
86958 _ACEOF
86959
86960 cat >>confdefs.h <<\_ACEOF
86961 #define HAVE_LOG10L 1
86962 _ACEOF
86963
86964 cat >>confdefs.h <<\_ACEOF
86965 #define HAVE_LOGF 1
86966 _ACEOF
86967
86968 cat >>confdefs.h <<\_ACEOF
86969 #define HAVE_MODFF 1
86970 _ACEOF
86971
86972 cat >>confdefs.h <<\_ACEOF
86973 #define HAVE_MODFL 1
86974 _ACEOF
86975
86976 cat >>confdefs.h <<\_ACEOF
86977 #define HAVE_POWF 1
86978 _ACEOF
86979
86980 cat >>confdefs.h <<\_ACEOF
86981 #define HAVE_POWL 1
86982 _ACEOF
86983
86984 cat >>confdefs.h <<\_ACEOF
86985 #define HAVE_SINF 1
86986 _ACEOF
86987
86988 cat >>confdefs.h <<\_ACEOF
86989 #define HAVE_SINL 1
86990 _ACEOF
86991
86992 cat >>confdefs.h <<\_ACEOF
86993 #define HAVE_SINHF 1
86994 _ACEOF
86995
86996 cat >>confdefs.h <<\_ACEOF
86997 #define HAVE_SINHL 1
86998 _ACEOF
86999
87000 cat >>confdefs.h <<\_ACEOF
87001 #define HAVE_SQRTF 1
87002 _ACEOF
87003
87004 cat >>confdefs.h <<\_ACEOF
87005 #define HAVE_SQRTL 1
87006 _ACEOF
87007
87008 cat >>confdefs.h <<\_ACEOF
87009 #define HAVE_TANF 1
87010 _ACEOF
87011
87012 cat >>confdefs.h <<\_ACEOF
87013 #define HAVE_TANL 1
87014 _ACEOF
87015
87016 cat >>confdefs.h <<\_ACEOF
87017 #define HAVE_TANHF 1
87018 _ACEOF
87019
87020 cat >>confdefs.h <<\_ACEOF
87021 #define HAVE_TANHL 1
87022 _ACEOF
87023
87024 ;;
87025 *)
87026 { { echo "$as_me:$LINENO: error: No support for this host/target combination." >&5
87027 echo "$as_me: error: No support for this host/target combination." >&2;}
87028 { (exit 1); exit 1; }; }
87029 ;;
87030 esac
87031
87032 fi
87033
87034 # At some point, we should differentiate between architectures
87035 # like x86, which have long double versions, and alpha/powerpc/etc.,
87036 # which don't. For the time being, punt.
87037 if test x"long_double_math_on_this_cpu" = x"yes"; then
87038 cat >>confdefs.h <<\_ACEOF
87039 #define HAVE_ACOSL 1
87040 _ACEOF
87041
87042 cat >>confdefs.h <<\_ACEOF
87043 #define HAVE_ASINL 1
87044 _ACEOF
87045
87046 cat >>confdefs.h <<\_ACEOF
87047 #define HAVE_ATAN2L 1
87048 _ACEOF
87049
87050 cat >>confdefs.h <<\_ACEOF
87051 #define HAVE_ATANL 1
87052 _ACEOF
87053
87054 cat >>confdefs.h <<\_ACEOF
87055 #define HAVE_CEILL 1
87056 _ACEOF
87057
87058 cat >>confdefs.h <<\_ACEOF
87059 #define HAVE_COPYSIGNL 1
87060 _ACEOF
87061
87062 cat >>confdefs.h <<\_ACEOF
87063 #define HAVE_COSL 1
87064 _ACEOF
87065
87066 cat >>confdefs.h <<\_ACEOF
87067 #define HAVE_COSHL 1
87068 _ACEOF
87069
87070 cat >>confdefs.h <<\_ACEOF
87071 #define HAVE_EXPL 1
87072 _ACEOF
87073
87074 cat >>confdefs.h <<\_ACEOF
87075 #define HAVE_FABSL 1
87076 _ACEOF
87077
87078 cat >>confdefs.h <<\_ACEOF
87079 #define HAVE_FLOORL 1
87080 _ACEOF
87081
87082 cat >>confdefs.h <<\_ACEOF
87083 #define HAVE_FMODL 1
87084 _ACEOF
87085
87086 cat >>confdefs.h <<\_ACEOF
87087 #define HAVE_FREXPL 1
87088 _ACEOF
87089
87090 cat >>confdefs.h <<\_ACEOF
87091 #define HAVE_LDEXPL 1
87092 _ACEOF
87093
87094 cat >>confdefs.h <<\_ACEOF
87095 #define HAVE_LOG10L 1
87096 _ACEOF
87097
87098 cat >>confdefs.h <<\_ACEOF
87099 #define HAVE_LOGL 1
87100 _ACEOF
87101
87102 cat >>confdefs.h <<\_ACEOF
87103 #define HAVE_MODFL 1
87104 _ACEOF
87105
87106 cat >>confdefs.h <<\_ACEOF
87107 #define HAVE_POWL 1
87108 _ACEOF
87109
87110 cat >>confdefs.h <<\_ACEOF
87111 #define HAVE_SINCOSL 1
87112 _ACEOF
87113
87114 cat >>confdefs.h <<\_ACEOF
87115 #define HAVE_SINL 1
87116 _ACEOF
87117
87118 cat >>confdefs.h <<\_ACEOF
87119 #define HAVE_SINHL 1
87120 _ACEOF
87121
87122 cat >>confdefs.h <<\_ACEOF
87123 #define HAVE_SQRTL 1
87124 _ACEOF
87125
87126 cat >>confdefs.h <<\_ACEOF
87127 #define HAVE_TANL 1
87128 _ACEOF
87129
87130 cat >>confdefs.h <<\_ACEOF
87131 #define HAVE_TANHL 1
87132 _ACEOF
87133
87134 fi
87135
87136 fi
87137
87138 # This depends on GLIBCXX CHECK_LINKER_FEATURES, but without it assumes no.
87139
87140
87141 # Check whether --enable-symvers or --disable-symvers was given.
87142 if test "${enable_symvers+set}" = set; then
87143 enableval="$enable_symvers"
87144
87145 case "$enableval" in
87146 yes|no|gnu) ;;
87147 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable symvers" >&5
87148 echo "$as_me: error: Unknown argument to enable/disable symvers" >&2;}
87149 { (exit 1); exit 1; }; } ;;
87150 esac
87151
87152 else
87153 enable_symvers=yes
87154 fi;
87155
87156
87157 # If we never went through the GLIBCXX_CHECK_LINKER_FEATURES macro, then we
87158 # don't know enough about $LD to do tricks...
87159
87160 # FIXME The following test is too strict, in theory.
87161 if test $enable_shared = no ||
87162 test "x$LD" = x ||
87163 test x$glibcxx_gnu_ld_version = x; then
87164 enable_symvers=no
87165 fi
87166
87167 # Check to see if libgcc_s exists, indicating that shared libgcc is possible.
87168 if test $enable_symvers != no; then
87169 echo "$as_me:$LINENO: checking for shared libgcc" >&5
87170 echo $ECHO_N "checking for shared libgcc... $ECHO_C" >&6
87171 ac_save_CFLAGS="$CFLAGS"
87172 CFLAGS=' -lgcc_s'
87173 if test x$gcc_no_link = xyes; then
87174 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87175 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87176 { (exit 1); exit 1; }; }
87177 fi
87178 cat >conftest.$ac_ext <<_ACEOF
87179 /* confdefs.h. */
87180 _ACEOF
87181 cat confdefs.h >>conftest.$ac_ext
87182 cat >>conftest.$ac_ext <<_ACEOF
87183 /* end confdefs.h. */
87184
87185 int
87186 main ()
87187 {
87188 return 0;
87189 ;
87190 return 0;
87191 }
87192 _ACEOF
87193 rm -f conftest.$ac_objext conftest$ac_exeext
87194 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87195 (eval $ac_link) 2>conftest.er1
87196 ac_status=$?
87197 grep -v '^ *+' conftest.er1 >conftest.err
87198 rm -f conftest.er1
87199 cat conftest.err >&5
87200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87201 (exit $ac_status); } &&
87202 { ac_try='test -z "$ac_c_werror_flag"
87203 || test ! -s conftest.err'
87204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87205 (eval $ac_try) 2>&5
87206 ac_status=$?
87207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87208 (exit $ac_status); }; } &&
87209 { ac_try='test -s conftest$ac_exeext'
87210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87211 (eval $ac_try) 2>&5
87212 ac_status=$?
87213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87214 (exit $ac_status); }; }; then
87215 glibcxx_shared_libgcc=yes
87216 else
87217 echo "$as_me: failed program was:" >&5
87218 sed 's/^/| /' conftest.$ac_ext >&5
87219
87220 glibcxx_shared_libgcc=no
87221 fi
87222 rm -f conftest.err conftest.$ac_objext \
87223 conftest$ac_exeext conftest.$ac_ext
87224 CFLAGS="$ac_save_CFLAGS"
87225 if test $glibcxx_shared_libgcc = no; then
87226 cat > conftest.c <<EOF
87227 int main (void) { return 0; }
87228 EOF
87229 glibcxx_libgcc_s_suffix=`${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS \
87230 -shared -shared-libgcc -o conftest.so \
87231 conftest.c -v 2>&1 >/dev/null \
87232 | sed -n 's/^.* -lgcc_s\([^ ]*\) .*$/\1/p'`
87233 rm -f conftest.c conftest.so
87234 if test x${glibcxx_libgcc_s_suffix+set} = xset; then
87235 CFLAGS=" -lgcc_s$glibcxx_libgcc_s_suffix"
87236 if test x$gcc_no_link = xyes; then
87237 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87238 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87239 { (exit 1); exit 1; }; }
87240 fi
87241 cat >conftest.$ac_ext <<_ACEOF
87242 /* confdefs.h. */
87243 _ACEOF
87244 cat confdefs.h >>conftest.$ac_ext
87245 cat >>conftest.$ac_ext <<_ACEOF
87246 /* end confdefs.h. */
87247
87248 int
87249 main ()
87250 {
87251 return 0;
87252 ;
87253 return 0;
87254 }
87255 _ACEOF
87256 rm -f conftest.$ac_objext conftest$ac_exeext
87257 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87258 (eval $ac_link) 2>conftest.er1
87259 ac_status=$?
87260 grep -v '^ *+' conftest.er1 >conftest.err
87261 rm -f conftest.er1
87262 cat conftest.err >&5
87263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87264 (exit $ac_status); } &&
87265 { ac_try='test -z "$ac_c_werror_flag"
87266 || test ! -s conftest.err'
87267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87268 (eval $ac_try) 2>&5
87269 ac_status=$?
87270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87271 (exit $ac_status); }; } &&
87272 { ac_try='test -s conftest$ac_exeext'
87273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87274 (eval $ac_try) 2>&5
87275 ac_status=$?
87276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87277 (exit $ac_status); }; }; then
87278 glibcxx_shared_libgcc=yes
87279 else
87280 echo "$as_me: failed program was:" >&5
87281 sed 's/^/| /' conftest.$ac_ext >&5
87282
87283 fi
87284 rm -f conftest.err conftest.$ac_objext \
87285 conftest$ac_exeext conftest.$ac_ext
87286 CFLAGS="$ac_save_CFLAGS"
87287 fi
87288 fi
87289 echo "$as_me:$LINENO: result: $glibcxx_shared_libgcc" >&5
87290 echo "${ECHO_T}$glibcxx_shared_libgcc" >&6
87291 fi
87292
87293 # For GNU ld, we need at least this version. The format is described in
87294 # GLIBCXX_CHECK_LINKER_FEATURES above.
87295 glibcxx_min_gnu_ld_version=21400
87296
87297 # Check to see if unspecified "yes" value can win, given results above.
87298 # Change "yes" into either "no" or a style name.
87299 if test $enable_symvers = yes; then
87300 if test $with_gnu_ld = yes &&
87301 test $glibcxx_shared_libgcc = yes;
87302 then
87303 if test $glibcxx_gnu_ld_version -ge $glibcxx_min_gnu_ld_version ; then
87304 enable_symvers=gnu
87305 else
87306 # The right tools, the right setup, but too old. Fallbacks?
87307 { echo "$as_me:$LINENO: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&5
87308 echo "$as_me: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&2;}
87309 { echo "$as_me:$LINENO: WARNING: === full symbol versioning support in this release of GCC." >&5
87310 echo "$as_me: WARNING: === full symbol versioning support in this release of GCC." >&2;}
87311 { echo "$as_me:$LINENO: WARNING: === You would need to upgrade your binutils to version" >&5
87312 echo "$as_me: WARNING: === You would need to upgrade your binutils to version" >&2;}
87313 { echo "$as_me:$LINENO: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&5
87314 echo "$as_me: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&2;}
87315 if test $glibcxx_gnu_ld_version -ge 21200 ; then
87316 # Globbing fix is present, proper block support is not.
87317 { echo "$as_me:$LINENO: WARNING: === Symbol versioning will be disabled." >&5
87318 echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
87319 enable_symvers=no
87320 else
87321 # 2.11 or older.
87322 { echo "$as_me:$LINENO: WARNING: === Symbol versioning will be disabled." >&5
87323 echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
87324 enable_symvers=no
87325 fi
87326 fi
87327 else
87328 # just fail for now
87329 { echo "$as_me:$LINENO: WARNING: === You have requested some kind of symbol versioning, but" >&5
87330 echo "$as_me: WARNING: === You have requested some kind of symbol versioning, but" >&2;}
87331 { echo "$as_me:$LINENO: WARNING: === either you are not using a supported linker, or you are" >&5
87332 echo "$as_me: WARNING: === either you are not using a supported linker, or you are" >&2;}
87333 { echo "$as_me:$LINENO: WARNING: === not building a shared libgcc_s (which is required)." >&5
87334 echo "$as_me: WARNING: === not building a shared libgcc_s (which is required)." >&2;}
87335 { echo "$as_me:$LINENO: WARNING: === Symbol versioning will be disabled." >&5
87336 echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
87337 enable_symvers=no
87338 fi
87339 fi
87340
87341 # Everything parsed; figure out what file to use.
87342 case $enable_symvers in
87343 no)
87344 SYMVER_MAP=config/linker-map.dummy
87345 ;;
87346 gnu)
87347 SYMVER_MAP=config/linker-map.gnu
87348
87349 cat >>confdefs.h <<\_ACEOF
87350 #define _GLIBCXX_SYMVER 1
87351 _ACEOF
87352
87353 ;;
87354 esac
87355
87356 # In addition, need this to deal with std::size_t mangling in
87357 # src/compatibility.cc. In a perfect world, could use
87358 # typeid(std::size_t).name()[0] to do direct substitution.
87359 echo "$as_me:$LINENO: checking for size_t as unsigned int" >&5
87360 echo $ECHO_N "checking for size_t as unsigned int... $ECHO_C" >&6
87361 ac_save_CFLAGS="$CFLAGS"
87362 CFLAGS="-Werror"
87363 cat >conftest.$ac_ext <<_ACEOF
87364 /* confdefs.h. */
87365 _ACEOF
87366 cat confdefs.h >>conftest.$ac_ext
87367 cat >>conftest.$ac_ext <<_ACEOF
87368 /* end confdefs.h. */
87369
87370 int
87371 main ()
87372 {
87373 __SIZE_TYPE__* stp; unsigned int* uip; stp = uip;
87374 ;
87375 return 0;
87376 }
87377 _ACEOF
87378 rm -f conftest.$ac_objext
87379 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
87380 (eval $ac_compile) 2>conftest.er1
87381 ac_status=$?
87382 grep -v '^ *+' conftest.er1 >conftest.err
87383 rm -f conftest.er1
87384 cat conftest.err >&5
87385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87386 (exit $ac_status); } &&
87387 { ac_try='test -z "$ac_c_werror_flag"
87388 || test ! -s conftest.err'
87389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87390 (eval $ac_try) 2>&5
87391 ac_status=$?
87392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87393 (exit $ac_status); }; } &&
87394 { ac_try='test -s conftest.$ac_objext'
87395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87396 (eval $ac_try) 2>&5
87397 ac_status=$?
87398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87399 (exit $ac_status); }; }; then
87400 glibcxx_size_t_is_i=yes
87401 else
87402 echo "$as_me: failed program was:" >&5
87403 sed 's/^/| /' conftest.$ac_ext >&5
87404
87405 glibcxx_size_t_is_i=no
87406 fi
87407 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
87408 CFLAGS=$ac_save_CFLAGS
87409 if test "$glibcxx_size_t_is_i" = yes; then
87410
87411 cat >>confdefs.h <<\_ACEOF
87412 #define _GLIBCXX_SIZE_T_IS_UINT 1
87413 _ACEOF
87414
87415 fi
87416 echo "$as_me:$LINENO: result: $glibcxx_size_t_is_i" >&5
87417 echo "${ECHO_T}$glibcxx_size_t_is_i" >&6
87418
87419 echo "$as_me:$LINENO: checking for ptrdiff_t as int" >&5
87420 echo $ECHO_N "checking for ptrdiff_t as int... $ECHO_C" >&6
87421 ac_save_CFLAGS="$CFLAGS"
87422 CFLAGS="-Werror"
87423 cat >conftest.$ac_ext <<_ACEOF
87424 /* confdefs.h. */
87425 _ACEOF
87426 cat confdefs.h >>conftest.$ac_ext
87427 cat >>conftest.$ac_ext <<_ACEOF
87428 /* end confdefs.h. */
87429
87430 int
87431 main ()
87432 {
87433 __PTRDIFF_TYPE__* ptp; int* ip; ptp = ip;
87434 ;
87435 return 0;
87436 }
87437 _ACEOF
87438 rm -f conftest.$ac_objext
87439 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
87440 (eval $ac_compile) 2>conftest.er1
87441 ac_status=$?
87442 grep -v '^ *+' conftest.er1 >conftest.err
87443 rm -f conftest.er1
87444 cat conftest.err >&5
87445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87446 (exit $ac_status); } &&
87447 { ac_try='test -z "$ac_c_werror_flag"
87448 || test ! -s conftest.err'
87449 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87450 (eval $ac_try) 2>&5
87451 ac_status=$?
87452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87453 (exit $ac_status); }; } &&
87454 { ac_try='test -s conftest.$ac_objext'
87455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87456 (eval $ac_try) 2>&5
87457 ac_status=$?
87458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87459 (exit $ac_status); }; }; then
87460 glibcxx_ptrdiff_t_is_i=yes
87461 else
87462 echo "$as_me: failed program was:" >&5
87463 sed 's/^/| /' conftest.$ac_ext >&5
87464
87465 glibcxx_ptrdiff_t_is_i=no
87466 fi
87467 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
87468 CFLAGS=$ac_save_CFLAGS
87469 if test "$glibcxx_ptrdiff_t_is_i" = yes; then
87470
87471 cat >>confdefs.h <<\_ACEOF
87472 #define _GLIBCXX_PTRDIFF_T_IS_INT 1
87473 _ACEOF
87474
87475 fi
87476 echo "$as_me:$LINENO: result: $glibcxx_ptrdiff_t_is_i" >&5
87477 echo "${ECHO_T}$glibcxx_ptrdiff_t_is_i" >&6
87478
87479
87480
87481
87482 { echo "$as_me:$LINENO: versioning on shared library symbols is $enable_symvers" >&5
87483 echo "$as_me: versioning on shared library symbols is $enable_symvers" >&6;}
87484
87485
87486 # This depends on GLIBCXX_ENABLE_SYMVERS and GLIBCXX_IS_NATIVE.
87487
87488 if $GLIBCXX_IS_NATIVE && test $is_hosted = yes &&
87489 test $enable_symvers != no; then
87490 # Do checks for resource limit functions.
87491
87492 setrlimit_have_headers=yes
87493
87494
87495
87496 for ac_header in unistd.h sys/time.h sys/resource.h
87497 do
87498 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
87499 if eval "test \"\${$as_ac_Header+set}\" = set"; then
87500 echo "$as_me:$LINENO: checking for $ac_header" >&5
87501 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
87502 if eval "test \"\${$as_ac_Header+set}\" = set"; then
87503 echo $ECHO_N "(cached) $ECHO_C" >&6
87504 fi
87505 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
87506 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
87507 else
87508 # Is the header compilable?
87509 echo "$as_me:$LINENO: checking $ac_header usability" >&5
87510 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
87511 cat >conftest.$ac_ext <<_ACEOF
87512 /* confdefs.h. */
87513 _ACEOF
87514 cat confdefs.h >>conftest.$ac_ext
87515 cat >>conftest.$ac_ext <<_ACEOF
87516 /* end confdefs.h. */
87517 $ac_includes_default
87518 #include <$ac_header>
87519 _ACEOF
87520 rm -f conftest.$ac_objext
87521 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
87522 (eval $ac_compile) 2>conftest.er1
87523 ac_status=$?
87524 grep -v '^ *+' conftest.er1 >conftest.err
87525 rm -f conftest.er1
87526 cat conftest.err >&5
87527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87528 (exit $ac_status); } &&
87529 { ac_try='test -z "$ac_c_werror_flag"
87530 || test ! -s conftest.err'
87531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87532 (eval $ac_try) 2>&5
87533 ac_status=$?
87534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87535 (exit $ac_status); }; } &&
87536 { ac_try='test -s conftest.$ac_objext'
87537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87538 (eval $ac_try) 2>&5
87539 ac_status=$?
87540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87541 (exit $ac_status); }; }; then
87542 ac_header_compiler=yes
87543 else
87544 echo "$as_me: failed program was:" >&5
87545 sed 's/^/| /' conftest.$ac_ext >&5
87546
87547 ac_header_compiler=no
87548 fi
87549 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
87550 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
87551 echo "${ECHO_T}$ac_header_compiler" >&6
87552
87553 # Is the header present?
87554 echo "$as_me:$LINENO: checking $ac_header presence" >&5
87555 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
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 <$ac_header>
87563 _ACEOF
87564 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
87565 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
87566 ac_status=$?
87567 grep -v '^ *+' conftest.er1 >conftest.err
87568 rm -f conftest.er1
87569 cat conftest.err >&5
87570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87571 (exit $ac_status); } >/dev/null; then
87572 if test -s conftest.err; then
87573 ac_cpp_err=$ac_c_preproc_warn_flag
87574 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
87575 else
87576 ac_cpp_err=
87577 fi
87578 else
87579 ac_cpp_err=yes
87580 fi
87581 if test -z "$ac_cpp_err"; then
87582 ac_header_preproc=yes
87583 else
87584 echo "$as_me: failed program was:" >&5
87585 sed 's/^/| /' conftest.$ac_ext >&5
87586
87587 ac_header_preproc=no
87588 fi
87589 rm -f conftest.err conftest.$ac_ext
87590 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
87591 echo "${ECHO_T}$ac_header_preproc" >&6
87592
87593 # So? What about this header?
87594 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
87595 yes:no: )
87596 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
87597 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
87598 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
87599 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
87600 ac_header_preproc=yes
87601 ;;
87602 no:yes:* )
87603 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
87604 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
87605 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
87606 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
87607 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
87608 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
87609 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
87610 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
87611 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
87612 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
87613 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
87614 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
87615 (
87616 cat <<\_ASBOX
87617 ## ----------------------------------------- ##
87618 ## Report this to the package-unused lists. ##
87619 ## ----------------------------------------- ##
87620 _ASBOX
87621 ) |
87622 sed "s/^/$as_me: WARNING: /" >&2
87623 ;;
87624 esac
87625 echo "$as_me:$LINENO: checking for $ac_header" >&5
87626 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
87627 if eval "test \"\${$as_ac_Header+set}\" = set"; then
87628 echo $ECHO_N "(cached) $ECHO_C" >&6
87629 else
87630 eval "$as_ac_Header=\$ac_header_preproc"
87631 fi
87632 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
87633 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
87634
87635 fi
87636 if test `eval echo '${'$as_ac_Header'}'` = yes; then
87637 cat >>confdefs.h <<_ACEOF
87638 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
87639 _ACEOF
87640
87641 else
87642 setrlimit_have_headers=no
87643 fi
87644
87645 done
87646
87647 # If don't have the headers, then we can't run the tests now, and we
87648 # won't be seeing any of these during testsuite compilation.
87649 if test $setrlimit_have_headers = yes; then
87650 # Can't do these in a loop, else the resulting syntax is wrong.
87651
87652 cat >conftest.$ac_ext <<_ACEOF
87653 /* confdefs.h. */
87654 _ACEOF
87655 cat confdefs.h >>conftest.$ac_ext
87656 cat >>conftest.$ac_ext <<_ACEOF
87657 /* end confdefs.h. */
87658 #include <unistd.h>
87659 #include <sys/time.h>
87660 #include <sys/resource.h>
87661
87662 int
87663 main ()
87664 {
87665 int f = RLIMIT_DATA ;
87666 ;
87667 return 0;
87668 }
87669 _ACEOF
87670 rm -f conftest.$ac_objext
87671 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
87672 (eval $ac_compile) 2>conftest.er1
87673 ac_status=$?
87674 grep -v '^ *+' conftest.er1 >conftest.err
87675 rm -f conftest.er1
87676 cat conftest.err >&5
87677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87678 (exit $ac_status); } &&
87679 { ac_try='test -z "$ac_c_werror_flag"
87680 || test ! -s conftest.err'
87681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87682 (eval $ac_try) 2>&5
87683 ac_status=$?
87684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87685 (exit $ac_status); }; } &&
87686 { ac_try='test -s conftest.$ac_objext'
87687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87688 (eval $ac_try) 2>&5
87689 ac_status=$?
87690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87691 (exit $ac_status); }; }; then
87692 glibcxx_mresult=1
87693 else
87694 echo "$as_me: failed program was:" >&5
87695 sed 's/^/| /' conftest.$ac_ext >&5
87696
87697 glibcxx_mresult=0
87698 fi
87699 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
87700
87701 cat >>confdefs.h <<_ACEOF
87702 #define HAVE_LIMIT_DATA $glibcxx_mresult
87703 _ACEOF
87704
87705
87706
87707 cat >conftest.$ac_ext <<_ACEOF
87708 /* confdefs.h. */
87709 _ACEOF
87710 cat confdefs.h >>conftest.$ac_ext
87711 cat >>conftest.$ac_ext <<_ACEOF
87712 /* end confdefs.h. */
87713 #include <unistd.h>
87714 #include <sys/time.h>
87715 #include <sys/resource.h>
87716
87717 int
87718 main ()
87719 {
87720 int f = RLIMIT_RSS ;
87721 ;
87722 return 0;
87723 }
87724 _ACEOF
87725 rm -f conftest.$ac_objext
87726 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
87727 (eval $ac_compile) 2>conftest.er1
87728 ac_status=$?
87729 grep -v '^ *+' conftest.er1 >conftest.err
87730 rm -f conftest.er1
87731 cat conftest.err >&5
87732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87733 (exit $ac_status); } &&
87734 { ac_try='test -z "$ac_c_werror_flag"
87735 || test ! -s conftest.err'
87736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87737 (eval $ac_try) 2>&5
87738 ac_status=$?
87739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87740 (exit $ac_status); }; } &&
87741 { ac_try='test -s conftest.$ac_objext'
87742 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87743 (eval $ac_try) 2>&5
87744 ac_status=$?
87745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87746 (exit $ac_status); }; }; then
87747 glibcxx_mresult=1
87748 else
87749 echo "$as_me: failed program was:" >&5
87750 sed 's/^/| /' conftest.$ac_ext >&5
87751
87752 glibcxx_mresult=0
87753 fi
87754 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
87755
87756 cat >>confdefs.h <<_ACEOF
87757 #define HAVE_LIMIT_RSS $glibcxx_mresult
87758 _ACEOF
87759
87760
87761
87762 cat >conftest.$ac_ext <<_ACEOF
87763 /* confdefs.h. */
87764 _ACEOF
87765 cat confdefs.h >>conftest.$ac_ext
87766 cat >>conftest.$ac_ext <<_ACEOF
87767 /* end confdefs.h. */
87768 #include <unistd.h>
87769 #include <sys/time.h>
87770 #include <sys/resource.h>
87771
87772 int
87773 main ()
87774 {
87775 int f = RLIMIT_VMEM ;
87776 ;
87777 return 0;
87778 }
87779 _ACEOF
87780 rm -f conftest.$ac_objext
87781 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
87782 (eval $ac_compile) 2>conftest.er1
87783 ac_status=$?
87784 grep -v '^ *+' conftest.er1 >conftest.err
87785 rm -f conftest.er1
87786 cat conftest.err >&5
87787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87788 (exit $ac_status); } &&
87789 { ac_try='test -z "$ac_c_werror_flag"
87790 || test ! -s conftest.err'
87791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87792 (eval $ac_try) 2>&5
87793 ac_status=$?
87794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87795 (exit $ac_status); }; } &&
87796 { ac_try='test -s conftest.$ac_objext'
87797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87798 (eval $ac_try) 2>&5
87799 ac_status=$?
87800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87801 (exit $ac_status); }; }; then
87802 glibcxx_mresult=1
87803 else
87804 echo "$as_me: failed program was:" >&5
87805 sed 's/^/| /' conftest.$ac_ext >&5
87806
87807 glibcxx_mresult=0
87808 fi
87809 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
87810
87811 cat >>confdefs.h <<_ACEOF
87812 #define HAVE_LIMIT_VMEM $glibcxx_mresult
87813 _ACEOF
87814
87815
87816
87817 cat >conftest.$ac_ext <<_ACEOF
87818 /* confdefs.h. */
87819 _ACEOF
87820 cat confdefs.h >>conftest.$ac_ext
87821 cat >>conftest.$ac_ext <<_ACEOF
87822 /* end confdefs.h. */
87823 #include <unistd.h>
87824 #include <sys/time.h>
87825 #include <sys/resource.h>
87826
87827 int
87828 main ()
87829 {
87830 int f = RLIMIT_AS ;
87831 ;
87832 return 0;
87833 }
87834 _ACEOF
87835 rm -f conftest.$ac_objext
87836 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
87837 (eval $ac_compile) 2>conftest.er1
87838 ac_status=$?
87839 grep -v '^ *+' conftest.er1 >conftest.err
87840 rm -f conftest.er1
87841 cat conftest.err >&5
87842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87843 (exit $ac_status); } &&
87844 { ac_try='test -z "$ac_c_werror_flag"
87845 || test ! -s conftest.err'
87846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87847 (eval $ac_try) 2>&5
87848 ac_status=$?
87849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87850 (exit $ac_status); }; } &&
87851 { ac_try='test -s conftest.$ac_objext'
87852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87853 (eval $ac_try) 2>&5
87854 ac_status=$?
87855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87856 (exit $ac_status); }; }; then
87857 glibcxx_mresult=1
87858 else
87859 echo "$as_me: failed program was:" >&5
87860 sed 's/^/| /' conftest.$ac_ext >&5
87861
87862 glibcxx_mresult=0
87863 fi
87864 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
87865
87866 cat >>confdefs.h <<_ACEOF
87867 #define HAVE_LIMIT_AS $glibcxx_mresult
87868 _ACEOF
87869
87870
87871
87872 cat >conftest.$ac_ext <<_ACEOF
87873 /* confdefs.h. */
87874 _ACEOF
87875 cat confdefs.h >>conftest.$ac_ext
87876 cat >>conftest.$ac_ext <<_ACEOF
87877 /* end confdefs.h. */
87878 #include <unistd.h>
87879 #include <sys/time.h>
87880 #include <sys/resource.h>
87881
87882 int
87883 main ()
87884 {
87885 int f = RLIMIT_FSIZE ;
87886 ;
87887 return 0;
87888 }
87889 _ACEOF
87890 rm -f conftest.$ac_objext
87891 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
87892 (eval $ac_compile) 2>conftest.er1
87893 ac_status=$?
87894 grep -v '^ *+' conftest.er1 >conftest.err
87895 rm -f conftest.er1
87896 cat conftest.err >&5
87897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87898 (exit $ac_status); } &&
87899 { ac_try='test -z "$ac_c_werror_flag"
87900 || test ! -s conftest.err'
87901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87902 (eval $ac_try) 2>&5
87903 ac_status=$?
87904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87905 (exit $ac_status); }; } &&
87906 { ac_try='test -s conftest.$ac_objext'
87907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87908 (eval $ac_try) 2>&5
87909 ac_status=$?
87910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87911 (exit $ac_status); }; }; then
87912 glibcxx_mresult=1
87913 else
87914 echo "$as_me: failed program was:" >&5
87915 sed 's/^/| /' conftest.$ac_ext >&5
87916
87917 glibcxx_mresult=0
87918 fi
87919 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
87920
87921 cat >>confdefs.h <<_ACEOF
87922 #define HAVE_LIMIT_FSIZE $glibcxx_mresult
87923 _ACEOF
87924
87925
87926
87927 # Check for rlimit, setrlimit.
87928 if test "${ac_setrlimit+set}" = set; then
87929 echo $ECHO_N "(cached) $ECHO_C" >&6
87930 else
87931
87932 cat >conftest.$ac_ext <<_ACEOF
87933 /* confdefs.h. */
87934 _ACEOF
87935 cat confdefs.h >>conftest.$ac_ext
87936 cat >>conftest.$ac_ext <<_ACEOF
87937 /* end confdefs.h. */
87938 #include <unistd.h>
87939 #include <sys/time.h>
87940 #include <sys/resource.h>
87941
87942 int
87943 main ()
87944 {
87945 struct rlimit r;
87946 setrlimit(0, &r);
87947 ;
87948 return 0;
87949 }
87950 _ACEOF
87951 rm -f conftest.$ac_objext
87952 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
87953 (eval $ac_compile) 2>conftest.er1
87954 ac_status=$?
87955 grep -v '^ *+' conftest.er1 >conftest.err
87956 rm -f conftest.er1
87957 cat conftest.err >&5
87958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87959 (exit $ac_status); } &&
87960 { ac_try='test -z "$ac_c_werror_flag"
87961 || test ! -s conftest.err'
87962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87963 (eval $ac_try) 2>&5
87964 ac_status=$?
87965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87966 (exit $ac_status); }; } &&
87967 { ac_try='test -s conftest.$ac_objext'
87968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87969 (eval $ac_try) 2>&5
87970 ac_status=$?
87971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87972 (exit $ac_status); }; }; then
87973 ac_setrlimit=yes
87974 else
87975 echo "$as_me: failed program was:" >&5
87976 sed 's/^/| /' conftest.$ac_ext >&5
87977
87978 ac_setrlimit=no
87979 fi
87980 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
87981
87982 fi
87983
87984 fi
87985
87986 echo "$as_me:$LINENO: checking for testsuite resource limits support" >&5
87987 echo $ECHO_N "checking for testsuite resource limits support... $ECHO_C" >&6
87988 if test $setrlimit_have_headers = yes && test $ac_setrlimit = yes; then
87989 ac_res_limits=yes
87990
87991 cat >>confdefs.h <<\_ACEOF
87992 #define _GLIBCXX_RES_LIMITS 1
87993 _ACEOF
87994
87995 else
87996 ac_res_limits=no
87997 fi
87998 echo "$as_me:$LINENO: result: $ac_res_limits" >&5
87999 echo "${ECHO_T}$ac_res_limits" >&6
88000
88001
88002 # Look for setenv, so that extended locale tests can be performed.
88003
88004 echo "$as_me:$LINENO: checking for setenv declaration" >&5
88005 echo $ECHO_N "checking for setenv declaration... $ECHO_C" >&6
88006 if test x${glibcxx_cv_func_setenv_use+set} != xset; then
88007 if test "${glibcxx_cv_func_setenv_use+set}" = set; then
88008 echo $ECHO_N "(cached) $ECHO_C" >&6
88009 else
88010
88011
88012
88013 ac_ext=cc
88014 ac_cpp='$CXXCPP $CPPFLAGS'
88015 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88016 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88017 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
88018
88019 cat >conftest.$ac_ext <<_ACEOF
88020 /* confdefs.h. */
88021 _ACEOF
88022 cat confdefs.h >>conftest.$ac_ext
88023 cat >>conftest.$ac_ext <<_ACEOF
88024 /* end confdefs.h. */
88025 #include <stdlib.h>
88026 int
88027 main ()
88028 {
88029 setenv(0, 0, 0);
88030 ;
88031 return 0;
88032 }
88033 _ACEOF
88034 rm -f conftest.$ac_objext
88035 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
88036 (eval $ac_compile) 2>conftest.er1
88037 ac_status=$?
88038 grep -v '^ *+' conftest.er1 >conftest.err
88039 rm -f conftest.er1
88040 cat conftest.err >&5
88041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88042 (exit $ac_status); } &&
88043 { ac_try='test -z "$ac_cxx_werror_flag"
88044 || test ! -s conftest.err'
88045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88046 (eval $ac_try) 2>&5
88047 ac_status=$?
88048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88049 (exit $ac_status); }; } &&
88050 { ac_try='test -s conftest.$ac_objext'
88051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88052 (eval $ac_try) 2>&5
88053 ac_status=$?
88054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88055 (exit $ac_status); }; }; then
88056 glibcxx_cv_func_setenv_use=yes
88057 else
88058 echo "$as_me: failed program was:" >&5
88059 sed 's/^/| /' conftest.$ac_ext >&5
88060
88061 glibcxx_cv_func_setenv_use=no
88062 fi
88063 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
88064 ac_ext=c
88065 ac_cpp='$CPP $CPPFLAGS'
88066 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88067 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88068 ac_compiler_gnu=$ac_cv_c_compiler_gnu
88069
88070
88071 fi
88072
88073 fi
88074 echo "$as_me:$LINENO: result: $glibcxx_cv_func_setenv_use" >&5
88075 echo "${ECHO_T}$glibcxx_cv_func_setenv_use" >&6
88076 if test x$glibcxx_cv_func_setenv_use = x"yes"; then
88077
88078 for ac_func in setenv
88079 do
88080 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
88081 echo "$as_me:$LINENO: checking for $ac_func" >&5
88082 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
88083 if eval "test \"\${$as_ac_var+set}\" = set"; then
88084 echo $ECHO_N "(cached) $ECHO_C" >&6
88085 else
88086 if test x$gcc_no_link = xyes; then
88087 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
88088 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
88089 { (exit 1); exit 1; }; }
88090 fi
88091 cat >conftest.$ac_ext <<_ACEOF
88092 /* confdefs.h. */
88093 _ACEOF
88094 cat confdefs.h >>conftest.$ac_ext
88095 cat >>conftest.$ac_ext <<_ACEOF
88096 /* end confdefs.h. */
88097 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
88098 For example, HP-UX 11i <limits.h> declares gettimeofday. */
88099 #define $ac_func innocuous_$ac_func
88100
88101 /* System header to define __stub macros and hopefully few prototypes,
88102 which can conflict with char $ac_func (); below.
88103 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
88104 <limits.h> exists even on freestanding compilers. */
88105
88106 #ifdef __STDC__
88107 # include <limits.h>
88108 #else
88109 # include <assert.h>
88110 #endif
88111
88112 #undef $ac_func
88113
88114 /* Override any gcc2 internal prototype to avoid an error. */
88115 #ifdef __cplusplus
88116 extern "C"
88117 {
88118 #endif
88119 /* We use char because int might match the return type of a gcc2
88120 builtin and then its argument prototype would still apply. */
88121 char $ac_func ();
88122 /* The GNU C library defines this for functions which it implements
88123 to always fail with ENOSYS. Some functions are actually named
88124 something starting with __ and the normal name is an alias. */
88125 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
88126 choke me
88127 #else
88128 char (*f) () = $ac_func;
88129 #endif
88130 #ifdef __cplusplus
88131 }
88132 #endif
88133
88134 int
88135 main ()
88136 {
88137 return f != $ac_func;
88138 ;
88139 return 0;
88140 }
88141 _ACEOF
88142 rm -f conftest.$ac_objext conftest$ac_exeext
88143 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
88144 (eval $ac_link) 2>conftest.er1
88145 ac_status=$?
88146 grep -v '^ *+' conftest.er1 >conftest.err
88147 rm -f conftest.er1
88148 cat conftest.err >&5
88149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88150 (exit $ac_status); } &&
88151 { ac_try='test -z "$ac_c_werror_flag"
88152 || test ! -s conftest.err'
88153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88154 (eval $ac_try) 2>&5
88155 ac_status=$?
88156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88157 (exit $ac_status); }; } &&
88158 { ac_try='test -s conftest$ac_exeext'
88159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88160 (eval $ac_try) 2>&5
88161 ac_status=$?
88162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88163 (exit $ac_status); }; }; then
88164 eval "$as_ac_var=yes"
88165 else
88166 echo "$as_me: failed program was:" >&5
88167 sed 's/^/| /' conftest.$ac_ext >&5
88168
88169 eval "$as_ac_var=no"
88170 fi
88171 rm -f conftest.err conftest.$ac_objext \
88172 conftest$ac_exeext conftest.$ac_ext
88173 fi
88174 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
88175 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
88176 if test `eval echo '${'$as_ac_var'}'` = yes; then
88177 cat >>confdefs.h <<_ACEOF
88178 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
88179 _ACEOF
88180
88181 fi
88182 done
88183
88184 fi
88185
88186
88187 if test $enable_symvers = no; then
88188 enable_abi_check=no
88189 else
88190 case "$host" in
88191 *-*-cygwin*)
88192 enable_abi_check=no ;;
88193 *)
88194 enable_abi_check=yes ;;
88195 esac
88196 fi
88197 else
88198 # Only build this as native, since automake does not understand
88199 # CXX_FOR_BUILD.
88200 enable_abi_check=no
88201 fi
88202
88203 # Export file names for ABI checking.
88204 baseline_dir="$glibcxx_srcdir/config/abi/${abi_baseline_pair}\$(MULTISUBDIR)"
88205
88206
88207
88208 # Propagate the target-specific source directories through the build chain.
88209 ATOMICITY_SRCDIR=config/${atomicity_dir}
88210 ATOMIC_WORD_SRCDIR=config/${atomic_word_dir}
88211 OS_INC_SRCDIR=config/${os_include_dir}
88212 ABI_TWEAKS_SRCDIR=config/${abi_tweaks_dir}
88213
88214
88215
88216
88217
88218 # Determine cross-compile flags and AM_CONDITIONALs.
88219 #AC_SUBST(GLIBCXX_IS_NATIVE)
88220 #AM_CONDITIONAL(CANADIAN, test $CANADIAN = yes)
88221 # from GLIBCXX_CHECK_COMPLEX_MATH_SUPPORT:
88222 #AM_CONDITIONAL(GLIBCXX_BUILD_LIBMATH, test $need_libmath = yes)
88223
88224
88225 if test $is_hosted = yes; then
88226 GLIBCXX_HOSTED_TRUE=
88227 GLIBCXX_HOSTED_FALSE='#'
88228 else
88229 GLIBCXX_HOSTED_TRUE='#'
88230 GLIBCXX_HOSTED_FALSE=
88231 fi
88232
88233
88234
88235
88236 if test $enable_libstdcxx_pch = yes; then
88237 GLIBCXX_BUILD_PCH_TRUE=
88238 GLIBCXX_BUILD_PCH_FALSE='#'
88239 else
88240 GLIBCXX_BUILD_PCH_TRUE='#'
88241 GLIBCXX_BUILD_PCH_FALSE=
88242 fi
88243
88244
88245
88246
88247 if test $enable_cheaders = c; then
88248 GLIBCXX_C_HEADERS_C_TRUE=
88249 GLIBCXX_C_HEADERS_C_FALSE='#'
88250 else
88251 GLIBCXX_C_HEADERS_C_TRUE='#'
88252 GLIBCXX_C_HEADERS_C_FALSE=
88253 fi
88254
88255
88256
88257
88258 if test $enable_cheaders = c_std; then
88259 GLIBCXX_C_HEADERS_C_STD_TRUE=
88260 GLIBCXX_C_HEADERS_C_STD_FALSE='#'
88261 else
88262 GLIBCXX_C_HEADERS_C_STD_TRUE='#'
88263 GLIBCXX_C_HEADERS_C_STD_FALSE=
88264 fi
88265
88266
88267
88268
88269 if test $c_compatibility = yes; then
88270 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE=
88271 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE='#'
88272 else
88273 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE='#'
88274 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE=
88275 fi
88276
88277
88278
88279
88280 if test $enable_libstdcxx_debug = yes; then
88281 GLIBCXX_BUILD_DEBUG_TRUE=
88282 GLIBCXX_BUILD_DEBUG_FALSE='#'
88283 else
88284 GLIBCXX_BUILD_DEBUG_TRUE='#'
88285 GLIBCXX_BUILD_DEBUG_FALSE=
88286 fi
88287
88288
88289
88290
88291 if test $enable_symvers != no; then
88292 GLIBCXX_BUILD_VERSIONED_SHLIB_TRUE=
88293 GLIBCXX_BUILD_VERSIONED_SHLIB_FALSE='#'
88294 else
88295 GLIBCXX_BUILD_VERSIONED_SHLIB_TRUE='#'
88296 GLIBCXX_BUILD_VERSIONED_SHLIB_FALSE=
88297 fi
88298
88299
88300
88301
88302 cat >confcache <<\_ACEOF
88303 # This file is a shell script that caches the results of configure
88304 # tests run on this system so they can be shared between configure
88305 # scripts and configure runs, see configure's option --config-cache.
88306 # It is not useful on other systems. If it contains results you don't
88307 # want to keep, you may remove or edit it.
88308 #
88309 # config.status only pays attention to the cache file if you give it
88310 # the --recheck option to rerun configure.
88311 #
88312 # `ac_cv_env_foo' variables (set or unset) will be overridden when
88313 # loading this file, other *unset* `ac_cv_foo' will be assigned the
88314 # following values.
88315
88316 _ACEOF
88317
88318 # The following way of writing the cache mishandles newlines in values,
88319 # but we know of no workaround that is simple, portable, and efficient.
88320 # So, don't put newlines in cache variables' values.
88321 # Ultrix sh set writes to stderr and can't be redirected directly,
88322 # and sets the high bit in the cache file unless we assign to the vars.
88323 {
88324 (set) 2>&1 |
88325 case `(ac_space=' '; set | grep ac_space) 2>&1` in
88326 *ac_space=\ *)
88327 # `set' does not quote correctly, so add quotes (double-quote
88328 # substitution turns \\\\ into \\, and sed turns \\ into \).
88329 sed -n \
88330 "s/'/'\\\\''/g;
88331 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
88332 ;;
88333 *)
88334 # `set' quotes correctly as required by POSIX, so do not add quotes.
88335 sed -n \
88336 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
88337 ;;
88338 esac;
88339 } |
88340 sed '
88341 t clear
88342 : clear
88343 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
88344 t end
88345 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
88346 : end' >>confcache
88347 if diff $cache_file confcache >/dev/null 2>&1; then :; else
88348 if test -w $cache_file; then
88349 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
88350 cat confcache >$cache_file
88351 else
88352 echo "not updating unwritable cache $cache_file"
88353 fi
88354 fi
88355 rm -f confcache
88356
88357 if test ${multilib} = yes; then
88358 multilib_arg="--enable-multilib"
88359 else
88360 multilib_arg=
88361 fi
88362
88363 # Export all the install information.
88364
88365 glibcxx_toolexecdir=no
88366 glibcxx_toolexeclibdir=no
88367 glibcxx_prefixdir=$prefix
88368
88369 echo "$as_me:$LINENO: checking for gxx-include-dir" >&5
88370 echo $ECHO_N "checking for gxx-include-dir... $ECHO_C" >&6
88371
88372 # Check whether --with-gxx-include-dir or --without-gxx-include-dir was given.
88373 if test "${with_gxx_include_dir+set}" = set; then
88374 withval="$with_gxx_include_dir"
88375 case "$withval" in
88376 yes) { { echo "$as_me:$LINENO: error: Missing directory for --with-gxx-include-dir" >&5
88377 echo "$as_me: error: Missing directory for --with-gxx-include-dir" >&2;}
88378 { (exit 1); exit 1; }; } ;;
88379 no) gxx_include_dir=no ;;
88380 *) gxx_include_dir=$withval ;;
88381 esac
88382 else
88383 gxx_include_dir=no
88384 fi;
88385 echo "$as_me:$LINENO: result: $gxx_include_dir" >&5
88386 echo "${ECHO_T}$gxx_include_dir" >&6
88387
88388 echo "$as_me:$LINENO: checking for --enable-version-specific-runtime-libs" >&5
88389 echo $ECHO_N "checking for --enable-version-specific-runtime-libs... $ECHO_C" >&6
88390 # Check whether --enable-version-specific-runtime-libs or --disable-version-specific-runtime-libs was given.
88391 if test "${enable_version_specific_runtime_libs+set}" = set; then
88392 enableval="$enable_version_specific_runtime_libs"
88393 case "$enableval" in
88394 yes) version_specific_libs=yes ;;
88395 no) version_specific_libs=no ;;
88396 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable version-specific libs" >&5
88397 echo "$as_me: error: Unknown argument to enable/disable version-specific libs" >&2;}
88398 { (exit 1); exit 1; }; };;
88399 esac
88400 else
88401 version_specific_libs=no
88402 fi;
88403 echo "$as_me:$LINENO: result: $version_specific_libs" >&5
88404 echo "${ECHO_T}$version_specific_libs" >&6
88405
88406 # Default case for install directory for include files.
88407 if test $version_specific_libs = no && test $gxx_include_dir = no; then
88408 gxx_include_dir='${prefix}/include/c++/${gcc_version}'
88409 fi
88410
88411 # Version-specific runtime libs processing.
88412 if test $version_specific_libs = yes; then
88413 # Need the gcc compiler version to know where to install libraries
88414 # and header files if --enable-version-specific-runtime-libs option
88415 # is selected. FIXME: these variables are misnamed, there are
88416 # no executables installed in _toolexecdir or _toolexeclibdir.
88417 if test x"$gxx_include_dir" = x"no"; then
88418 gxx_include_dir='${libdir}/gcc/${host_alias}/${gcc_version}/include/c++'
88419 fi
88420 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
88421 glibcxx_toolexeclibdir='${toolexecdir}/${gcc_version}$(MULTISUBDIR)'
88422 fi
88423
88424 # Calculate glibcxx_toolexecdir, glibcxx_toolexeclibdir
88425 # Install a library built with a cross compiler in tooldir, not libdir.
88426 if test x"$glibcxx_toolexecdir" = x"no"; then
88427 if test -n "$with_cross_host" &&
88428 test x"$with_cross_host" != x"no"; then
88429 glibcxx_toolexecdir='${exec_prefix}/${host_alias}'
88430 glibcxx_toolexeclibdir='${toolexecdir}/lib'
88431 else
88432 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
88433 glibcxx_toolexeclibdir='${libdir}'
88434 fi
88435 multi_os_directory=`$CXX -print-multi-os-directory`
88436 case $multi_os_directory in
88437 .) ;; # Avoid trailing /.
88438 *) glibcxx_toolexeclibdir=$glibcxx_toolexeclibdir/$multi_os_directory ;;
88439 esac
88440 fi
88441
88442 echo "$as_me:$LINENO: checking for install location" >&5
88443 echo $ECHO_N "checking for install location... $ECHO_C" >&6
88444 echo "$as_me:$LINENO: result: $gxx_include_dir" >&5
88445 echo "${ECHO_T}$gxx_include_dir" >&6
88446
88447
88448
88449
88450
88451
88452
88453 # Export all the include and flag information to Makefiles.
88454
88455 # Used for every C++ compile we perform.
88456 GLIBCXX_INCLUDES="\
88457 -I$glibcxx_builddir/include/$host_alias \
88458 -I$glibcxx_builddir/include \
88459 -I$glibcxx_srcdir/libsupc++"
88460
88461 # For Canadian crosses, pick this up too.
88462 if test $CANADIAN = yes; then
88463 GLIBCXX_INCLUDES="$GLIBCXX_INCLUDES -I\${includedir}"
88464 fi
88465
88466 # Stuff in the actual top level. Currently only used by libsupc++ to
88467 # get unwind* headers from the gcc dir.
88468 #TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/gcc -I$(toplevel_srcdir)/include'
88469 TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/gcc'
88470
88471 # Now, export this to all the little Makefiles....
88472
88473
88474
88475
88476 # Optimization flags that are probably a good idea for thrill-seekers. Just
88477 # uncomment the lines below and make, everything else is ready to go...
88478 # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc
88479 OPTIMIZE_CXXFLAGS=
88480
88481
88482 WARN_FLAGS='-Wall -Wextra -Wwrite-strings -Wcast-qual'
88483
88484
88485
88486 if ${CONFIG_SHELL-/bin/sh} ./libtool --tag CXX --features |
88487 grep "enable shared" > /dev/null;
88488 then
88489 LIBSUPCXX_PICFLAGS=-prefer-pic
88490 else
88491 LIBSUPCXX_PICFLAGS=
88492 fi
88493
88494
88495 ac_config_files="$ac_config_files Makefile include/Makefile libmath/Makefile libsupc++/Makefile src/Makefile po/Makefile testsuite/Makefile"
88496
88497 ac_config_files="$ac_config_files scripts/testsuite_flags"
88498
88499
88500 ac_config_commands="$ac_config_commands default"
88501
88502
88503 cat >confcache <<\_ACEOF
88504 # This file is a shell script that caches the results of configure
88505 # tests run on this system so they can be shared between configure
88506 # scripts and configure runs, see configure's option --config-cache.
88507 # It is not useful on other systems. If it contains results you don't
88508 # want to keep, you may remove or edit it.
88509 #
88510 # config.status only pays attention to the cache file if you give it
88511 # the --recheck option to rerun configure.
88512 #
88513 # `ac_cv_env_foo' variables (set or unset) will be overridden when
88514 # loading this file, other *unset* `ac_cv_foo' will be assigned the
88515 # following values.
88516
88517 _ACEOF
88518
88519 # The following way of writing the cache mishandles newlines in values,
88520 # but we know of no workaround that is simple, portable, and efficient.
88521 # So, don't put newlines in cache variables' values.
88522 # Ultrix sh set writes to stderr and can't be redirected directly,
88523 # and sets the high bit in the cache file unless we assign to the vars.
88524 {
88525 (set) 2>&1 |
88526 case `(ac_space=' '; set | grep ac_space) 2>&1` in
88527 *ac_space=\ *)
88528 # `set' does not quote correctly, so add quotes (double-quote
88529 # substitution turns \\\\ into \\, and sed turns \\ into \).
88530 sed -n \
88531 "s/'/'\\\\''/g;
88532 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
88533 ;;
88534 *)
88535 # `set' quotes correctly as required by POSIX, so do not add quotes.
88536 sed -n \
88537 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
88538 ;;
88539 esac;
88540 } |
88541 sed '
88542 t clear
88543 : clear
88544 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
88545 t end
88546 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
88547 : end' >>confcache
88548 if diff $cache_file confcache >/dev/null 2>&1; then :; else
88549 if test -w $cache_file; then
88550 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
88551 cat confcache >$cache_file
88552 else
88553 echo "not updating unwritable cache $cache_file"
88554 fi
88555 fi
88556 rm -f confcache
88557
88558 test "x$prefix" = xNONE && prefix=$ac_default_prefix
88559 # Let make expand exec_prefix.
88560 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
88561
88562 # VPATH may cause trouble with some makes, so we remove $(srcdir),
88563 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
88564 # trailing colons and then remove the whole line if VPATH becomes empty
88565 # (actually we leave an empty line to preserve line numbers).
88566 if test "x$srcdir" = x.; then
88567 ac_vpsub='/^[ ]*VPATH[ ]*=/{
88568 s/:*\$(srcdir):*/:/;
88569 s/:*\${srcdir}:*/:/;
88570 s/:*@srcdir@:*/:/;
88571 s/^\([^=]*=[ ]*\):*/\1/;
88572 s/:*$//;
88573 s/^[^=]*=[ ]*$//;
88574 }'
88575 fi
88576
88577 DEFS=-DHAVE_CONFIG_H
88578
88579 ac_libobjs=
88580 ac_ltlibobjs=
88581 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
88582 # 1. Remove the extension, and $U if already installed.
88583 ac_i=`echo "$ac_i" |
88584 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
88585 # 2. Add them.
88586 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
88587 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
88588 done
88589 LIBOBJS=$ac_libobjs
88590
88591 LTLIBOBJS=$ac_ltlibobjs
88592
88593
88594 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
88595 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
88596 Usually this means the macro was only invoked conditionally." >&5
88597 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
88598 Usually this means the macro was only invoked conditionally." >&2;}
88599 { (exit 1); exit 1; }; }
88600 fi
88601 if test -z "${GLIBCXX_HOSTED_TRUE}" && test -z "${GLIBCXX_HOSTED_FALSE}"; then
88602 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_HOSTED\" was never defined.
88603 Usually this means the macro was only invoked conditionally." >&5
88604 echo "$as_me: error: conditional \"GLIBCXX_HOSTED\" was never defined.
88605 Usually this means the macro was only invoked conditionally." >&2;}
88606 { (exit 1); exit 1; }; }
88607 fi
88608 if test -z "${GLIBCXX_BUILD_PCH_TRUE}" && test -z "${GLIBCXX_BUILD_PCH_FALSE}"; then
88609 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_BUILD_PCH\" was never defined.
88610 Usually this means the macro was only invoked conditionally." >&5
88611 echo "$as_me: error: conditional \"GLIBCXX_BUILD_PCH\" was never defined.
88612 Usually this means the macro was only invoked conditionally." >&2;}
88613 { (exit 1); exit 1; }; }
88614 fi
88615 if test -z "${GLIBCXX_C_HEADERS_C_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_FALSE}"; then
88616 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
88617 Usually this means the macro was only invoked conditionally." >&5
88618 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
88619 Usually this means the macro was only invoked conditionally." >&2;}
88620 { (exit 1); exit 1; }; }
88621 fi
88622 if test -z "${GLIBCXX_C_HEADERS_C_STD_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_STD_FALSE}"; then
88623 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
88624 Usually this means the macro was only invoked conditionally." >&5
88625 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
88626 Usually this means the macro was only invoked conditionally." >&2;}
88627 { (exit 1); exit 1; }; }
88628 fi
88629 if test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE}" && test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE}"; then
88630 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
88631 Usually this means the macro was only invoked conditionally." >&5
88632 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
88633 Usually this means the macro was only invoked conditionally." >&2;}
88634 { (exit 1); exit 1; }; }
88635 fi
88636 if test -z "${GLIBCXX_BUILD_DEBUG_TRUE}" && test -z "${GLIBCXX_BUILD_DEBUG_FALSE}"; then
88637 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
88638 Usually this means the macro was only invoked conditionally." >&5
88639 echo "$as_me: error: conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
88640 Usually this means the macro was only invoked conditionally." >&2;}
88641 { (exit 1); exit 1; }; }
88642 fi
88643 if test -z "${GLIBCXX_BUILD_VERSIONED_SHLIB_TRUE}" && test -z "${GLIBCXX_BUILD_VERSIONED_SHLIB_FALSE}"; then
88644 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_BUILD_VERSIONED_SHLIB\" was never defined.
88645 Usually this means the macro was only invoked conditionally." >&5
88646 echo "$as_me: error: conditional \"GLIBCXX_BUILD_VERSIONED_SHLIB\" was never defined.
88647 Usually this means the macro was only invoked conditionally." >&2;}
88648 { (exit 1); exit 1; }; }
88649 fi
88650
88651 : ${CONFIG_STATUS=./config.status}
88652 ac_clean_files_save=$ac_clean_files
88653 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
88654 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
88655 echo "$as_me: creating $CONFIG_STATUS" >&6;}
88656 cat >$CONFIG_STATUS <<_ACEOF
88657 #! $SHELL
88658 # Generated by $as_me.
88659 # Run this file to recreate the current configuration.
88660 # Compiler output produced by configure, useful for debugging
88661 # configure, is in config.log if it exists.
88662
88663 debug=false
88664 ac_cs_recheck=false
88665 ac_cs_silent=false
88666 SHELL=\${CONFIG_SHELL-$SHELL}
88667 _ACEOF
88668
88669 cat >>$CONFIG_STATUS <<\_ACEOF
88670 ## --------------------- ##
88671 ## M4sh Initialization. ##
88672 ## --------------------- ##
88673
88674 # Be Bourne compatible
88675 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
88676 emulate sh
88677 NULLCMD=:
88678 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
88679 # is contrary to our usage. Disable this feature.
88680 alias -g '${1+"$@"}'='"$@"'
88681 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
88682 set -o posix
88683 fi
88684 DUALCASE=1; export DUALCASE # for MKS sh
88685
88686 # Support unset when possible.
88687 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
88688 as_unset=unset
88689 else
88690 as_unset=false
88691 fi
88692
88693
88694 # Work around bugs in pre-3.0 UWIN ksh.
88695 $as_unset ENV MAIL MAILPATH
88696 PS1='$ '
88697 PS2='> '
88698 PS4='+ '
88699
88700 # NLS nuisances.
88701 for as_var in \
88702 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
88703 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
88704 LC_TELEPHONE LC_TIME
88705 do
88706 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
88707 eval $as_var=C; export $as_var
88708 else
88709 $as_unset $as_var
88710 fi
88711 done
88712
88713 # Required to use basename.
88714 if expr a : '\(a\)' >/dev/null 2>&1; then
88715 as_expr=expr
88716 else
88717 as_expr=false
88718 fi
88719
88720 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
88721 as_basename=basename
88722 else
88723 as_basename=false
88724 fi
88725
88726
88727 # Name of the executable.
88728 as_me=`$as_basename "$0" ||
88729 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
88730 X"$0" : 'X\(//\)$' \| \
88731 X"$0" : 'X\(/\)$' \| \
88732 . : '\(.\)' 2>/dev/null ||
88733 echo X/"$0" |
88734 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
88735 /^X\/\(\/\/\)$/{ s//\1/; q; }
88736 /^X\/\(\/\).*/{ s//\1/; q; }
88737 s/.*/./; q'`
88738
88739
88740 # PATH needs CR, and LINENO needs CR and PATH.
88741 # Avoid depending upon Character Ranges.
88742 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
88743 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
88744 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
88745 as_cr_digits='0123456789'
88746 as_cr_alnum=$as_cr_Letters$as_cr_digits
88747
88748 # The user is always right.
88749 if test "${PATH_SEPARATOR+set}" != set; then
88750 echo "#! /bin/sh" >conf$$.sh
88751 echo "exit 0" >>conf$$.sh
88752 chmod +x conf$$.sh
88753 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
88754 PATH_SEPARATOR=';'
88755 else
88756 PATH_SEPARATOR=:
88757 fi
88758 rm -f conf$$.sh
88759 fi
88760
88761
88762 as_lineno_1=$LINENO
88763 as_lineno_2=$LINENO
88764 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
88765 test "x$as_lineno_1" != "x$as_lineno_2" &&
88766 test "x$as_lineno_3" = "x$as_lineno_2" || {
88767 # Find who we are. Look in the path if we contain no path at all
88768 # relative or not.
88769 case $0 in
88770 *[\\/]* ) as_myself=$0 ;;
88771 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
88772 for as_dir in $PATH
88773 do
88774 IFS=$as_save_IFS
88775 test -z "$as_dir" && as_dir=.
88776 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
88777 done
88778
88779 ;;
88780 esac
88781 # We did not find ourselves, most probably we were run as `sh COMMAND'
88782 # in which case we are not to be found in the path.
88783 if test "x$as_myself" = x; then
88784 as_myself=$0
88785 fi
88786 if test ! -f "$as_myself"; then
88787 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
88788 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
88789 { (exit 1); exit 1; }; }
88790 fi
88791 case $CONFIG_SHELL in
88792 '')
88793 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
88794 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
88795 do
88796 IFS=$as_save_IFS
88797 test -z "$as_dir" && as_dir=.
88798 for as_base in sh bash ksh sh5; do
88799 case $as_dir in
88800 /*)
88801 if ("$as_dir/$as_base" -c '
88802 as_lineno_1=$LINENO
88803 as_lineno_2=$LINENO
88804 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
88805 test "x$as_lineno_1" != "x$as_lineno_2" &&
88806 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
88807 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
88808 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
88809 CONFIG_SHELL=$as_dir/$as_base
88810 export CONFIG_SHELL
88811 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
88812 fi;;
88813 esac
88814 done
88815 done
88816 ;;
88817 esac
88818
88819 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
88820 # uniformly replaced by the line number. The first 'sed' inserts a
88821 # line-number line before each line; the second 'sed' does the real
88822 # work. The second script uses 'N' to pair each line-number line
88823 # with the numbered line, and appends trailing '-' during
88824 # substitution so that $LINENO is not a special case at line end.
88825 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
88826 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
88827 sed '=' <$as_myself |
88828 sed '
88829 N
88830 s,$,-,
88831 : loop
88832 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
88833 t loop
88834 s,-$,,
88835 s,^['$as_cr_digits']*\n,,
88836 ' >$as_me.lineno &&
88837 chmod +x $as_me.lineno ||
88838 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
88839 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
88840 { (exit 1); exit 1; }; }
88841
88842 # Don't try to exec as it changes $[0], causing all sort of problems
88843 # (the dirname of $[0] is not the place where we might find the
88844 # original and so on. Autoconf is especially sensible to this).
88845 . ./$as_me.lineno
88846 # Exit status is that of the last command.
88847 exit
88848 }
88849
88850
88851 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
88852 *c*,-n*) ECHO_N= ECHO_C='
88853 ' ECHO_T=' ' ;;
88854 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
88855 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
88856 esac
88857
88858 if expr a : '\(a\)' >/dev/null 2>&1; then
88859 as_expr=expr
88860 else
88861 as_expr=false
88862 fi
88863
88864 rm -f conf$$ conf$$.exe conf$$.file
88865 echo >conf$$.file
88866 if ln -s conf$$.file conf$$ 2>/dev/null; then
88867 # We could just check for DJGPP; but this test a) works b) is more generic
88868 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
88869 if test -f conf$$.exe; then
88870 # Don't use ln at all; we don't have any links
88871 as_ln_s='cp -p'
88872 else
88873 as_ln_s='ln -s'
88874 fi
88875 elif ln conf$$.file conf$$ 2>/dev/null; then
88876 as_ln_s=ln
88877 else
88878 as_ln_s='cp -p'
88879 fi
88880 rm -f conf$$ conf$$.exe conf$$.file
88881
88882 if mkdir -p . 2>/dev/null; then
88883 as_mkdir_p=:
88884 else
88885 test -d ./-p && rmdir ./-p
88886 as_mkdir_p=false
88887 fi
88888
88889 as_executable_p="test -f"
88890
88891 # Sed expression to map a string onto a valid CPP name.
88892 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
88893
88894 # Sed expression to map a string onto a valid variable name.
88895 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
88896
88897
88898 # IFS
88899 # We need space, tab and new line, in precisely that order.
88900 as_nl='
88901 '
88902 IFS=" $as_nl"
88903
88904 # CDPATH.
88905 $as_unset CDPATH
88906
88907 exec 6>&1
88908
88909 # Open the log real soon, to keep \$[0] and so on meaningful, and to
88910 # report actual input values of CONFIG_FILES etc. instead of their
88911 # values after options handling. Logging --version etc. is OK.
88912 exec 5>>config.log
88913 {
88914 echo
88915 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
88916 ## Running $as_me. ##
88917 _ASBOX
88918 } >&5
88919 cat >&5 <<_CSEOF
88920
88921 This file was extended by package-unused $as_me version-unused, which was
88922 generated by GNU Autoconf 2.59. Invocation command line was
88923
88924 CONFIG_FILES = $CONFIG_FILES
88925 CONFIG_HEADERS = $CONFIG_HEADERS
88926 CONFIG_LINKS = $CONFIG_LINKS
88927 CONFIG_COMMANDS = $CONFIG_COMMANDS
88928 $ $0 $@
88929
88930 _CSEOF
88931 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
88932 echo >&5
88933 _ACEOF
88934
88935 # Files that config.status was made for.
88936 if test -n "$ac_config_files"; then
88937 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
88938 fi
88939
88940 if test -n "$ac_config_headers"; then
88941 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
88942 fi
88943
88944 if test -n "$ac_config_links"; then
88945 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
88946 fi
88947
88948 if test -n "$ac_config_commands"; then
88949 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
88950 fi
88951
88952 cat >>$CONFIG_STATUS <<\_ACEOF
88953
88954 ac_cs_usage="\
88955 \`$as_me' instantiates files from templates according to the
88956 current configuration.
88957
88958 Usage: $0 [OPTIONS] [FILE]...
88959
88960 -h, --help print this help, then exit
88961 -V, --version print version number, then exit
88962 -q, --quiet do not print progress messages
88963 -d, --debug don't remove temporary files
88964 --recheck update $as_me by reconfiguring in the same conditions
88965 --file=FILE[:TEMPLATE]
88966 instantiate the configuration file FILE
88967 --header=FILE[:TEMPLATE]
88968 instantiate the configuration header FILE
88969
88970 Configuration files:
88971 $config_files
88972
88973 Configuration headers:
88974 $config_headers
88975
88976 Configuration commands:
88977 $config_commands
88978
88979 Report bugs to <bug-autoconf@gnu.org>."
88980 _ACEOF
88981
88982 cat >>$CONFIG_STATUS <<_ACEOF
88983 ac_cs_version="\\
88984 package-unused config.status version-unused
88985 configured by $0, generated by GNU Autoconf 2.59,
88986 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
88987
88988 Copyright (C) 2003 Free Software Foundation, Inc.
88989 This config.status script is free software; the Free Software Foundation
88990 gives unlimited permission to copy, distribute and modify it."
88991 srcdir=$srcdir
88992 INSTALL="$INSTALL"
88993 _ACEOF
88994
88995 cat >>$CONFIG_STATUS <<\_ACEOF
88996 # If no file are specified by the user, then we need to provide default
88997 # value. By we need to know if files were specified by the user.
88998 ac_need_defaults=:
88999 while test $# != 0
89000 do
89001 case $1 in
89002 --*=*)
89003 ac_option=`expr "x$1" : 'x\([^=]*\)='`
89004 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
89005 ac_shift=:
89006 ;;
89007 -*)
89008 ac_option=$1
89009 ac_optarg=$2
89010 ac_shift=shift
89011 ;;
89012 *) # This is not an option, so the user has probably given explicit
89013 # arguments.
89014 ac_option=$1
89015 ac_need_defaults=false;;
89016 esac
89017
89018 case $ac_option in
89019 # Handling of the options.
89020 _ACEOF
89021 cat >>$CONFIG_STATUS <<\_ACEOF
89022 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
89023 ac_cs_recheck=: ;;
89024 --version | --vers* | -V )
89025 echo "$ac_cs_version"; exit 0 ;;
89026 --he | --h)
89027 # Conflict between --help and --header
89028 { { echo "$as_me:$LINENO: error: ambiguous option: $1
89029 Try \`$0 --help' for more information." >&5
89030 echo "$as_me: error: ambiguous option: $1
89031 Try \`$0 --help' for more information." >&2;}
89032 { (exit 1); exit 1; }; };;
89033 --help | --hel | -h )
89034 echo "$ac_cs_usage"; exit 0 ;;
89035 --debug | --d* | -d )
89036 debug=: ;;
89037 --file | --fil | --fi | --f )
89038 $ac_shift
89039 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
89040 ac_need_defaults=false;;
89041 --header | --heade | --head | --hea )
89042 $ac_shift
89043 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
89044 ac_need_defaults=false;;
89045 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
89046 | -silent | --silent | --silen | --sile | --sil | --si | --s)
89047 ac_cs_silent=: ;;
89048
89049 # This is an error.
89050 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
89051 Try \`$0 --help' for more information." >&5
89052 echo "$as_me: error: unrecognized option: $1
89053 Try \`$0 --help' for more information." >&2;}
89054 { (exit 1); exit 1; }; } ;;
89055
89056 *) ac_config_targets="$ac_config_targets $1" ;;
89057
89058 esac
89059 shift
89060 done
89061
89062 ac_configure_extra_args=
89063
89064 if $ac_cs_silent; then
89065 exec 6>/dev/null
89066 ac_configure_extra_args="$ac_configure_extra_args --silent"
89067 fi
89068
89069 _ACEOF
89070 cat >>$CONFIG_STATUS <<_ACEOF
89071 if \$ac_cs_recheck; then
89072 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
89073 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
89074 fi
89075
89076 _ACEOF
89077
89078 cat >>$CONFIG_STATUS <<_ACEOF
89079 #
89080 # INIT-COMMANDS section.
89081 #
89082
89083
89084 srcdir="$srcdir"
89085 host="$host"
89086 target="$target"
89087 with_multisubdir="$with_multisubdir"
89088 with_multisrctop="$with_multisrctop"
89089 with_target_subdir="$with_target_subdir"
89090 ac_configure_args="${multilib_arg} ${ac_configure_args}"
89091 multi_basedir="$multi_basedir"
89092 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
89093 CC="$CC"
89094
89095 # Variables needed in config.status (file generation) which aren't already
89096 # passed by autoconf.
89097 SUBDIRS="$SUBDIRS"
89098
89099
89100 _ACEOF
89101
89102
89103
89104 cat >>$CONFIG_STATUS <<\_ACEOF
89105 for ac_config_target in $ac_config_targets
89106 do
89107 case "$ac_config_target" in
89108 # Handling of arguments.
89109 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
89110 "include/Makefile" ) CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
89111 "libmath/Makefile" ) CONFIG_FILES="$CONFIG_FILES libmath/Makefile" ;;
89112 "libsupc++/Makefile" ) CONFIG_FILES="$CONFIG_FILES libsupc++/Makefile" ;;
89113 "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
89114 "po/Makefile" ) CONFIG_FILES="$CONFIG_FILES po/Makefile" ;;
89115 "testsuite/Makefile" ) CONFIG_FILES="$CONFIG_FILES testsuite/Makefile" ;;
89116 "scripts/testsuite_flags" ) CONFIG_FILES="$CONFIG_FILES scripts/testsuite_flags" ;;
89117 "default-1" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
89118 "default" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
89119 "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
89120 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
89121 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
89122 { (exit 1); exit 1; }; };;
89123 esac
89124 done
89125
89126 # If the user did not use the arguments to specify the items to instantiate,
89127 # then the envvar interface is used. Set only those that are not.
89128 # We use the long form for the default assignment because of an extremely
89129 # bizarre bug on SunOS 4.1.3.
89130 if $ac_need_defaults; then
89131 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
89132 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
89133 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
89134 fi
89135
89136 # Have a temporary directory for convenience. Make it in the build tree
89137 # simply because there is no reason to put it here, and in addition,
89138 # creating and moving files from /tmp can sometimes cause problems.
89139 # Create a temporary directory, and hook for its removal unless debugging.
89140 $debug ||
89141 {
89142 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
89143 trap '{ (exit 1); exit 1; }' 1 2 13 15
89144 }
89145
89146 # Create a (secure) tmp directory for tmp files.
89147
89148 {
89149 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
89150 test -n "$tmp" && test -d "$tmp"
89151 } ||
89152 {
89153 tmp=./confstat$$-$RANDOM
89154 (umask 077 && mkdir $tmp)
89155 } ||
89156 {
89157 echo "$me: cannot create a temporary directory in ." >&2
89158 { (exit 1); exit 1; }
89159 }
89160
89161 _ACEOF
89162
89163 cat >>$CONFIG_STATUS <<_ACEOF
89164
89165 #
89166 # CONFIG_FILES section.
89167 #
89168
89169 # No need to generate the scripts if there are no CONFIG_FILES.
89170 # This happens for instance when ./config.status config.h
89171 if test -n "\$CONFIG_FILES"; then
89172 # Protect against being on the right side of a sed subst in config.status.
89173 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
89174 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
89175 s,@SHELL@,$SHELL,;t t
89176 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
89177 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
89178 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
89179 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
89180 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
89181 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
89182 s,@exec_prefix@,$exec_prefix,;t t
89183 s,@prefix@,$prefix,;t t
89184 s,@program_transform_name@,$program_transform_name,;t t
89185 s,@bindir@,$bindir,;t t
89186 s,@sbindir@,$sbindir,;t t
89187 s,@libexecdir@,$libexecdir,;t t
89188 s,@datadir@,$datadir,;t t
89189 s,@sysconfdir@,$sysconfdir,;t t
89190 s,@sharedstatedir@,$sharedstatedir,;t t
89191 s,@localstatedir@,$localstatedir,;t t
89192 s,@libdir@,$libdir,;t t
89193 s,@includedir@,$includedir,;t t
89194 s,@oldincludedir@,$oldincludedir,;t t
89195 s,@infodir@,$infodir,;t t
89196 s,@mandir@,$mandir,;t t
89197 s,@build_alias@,$build_alias,;t t
89198 s,@host_alias@,$host_alias,;t t
89199 s,@target_alias@,$target_alias,;t t
89200 s,@DEFS@,$DEFS,;t t
89201 s,@ECHO_C@,$ECHO_C,;t t
89202 s,@ECHO_N@,$ECHO_N,;t t
89203 s,@ECHO_T@,$ECHO_T,;t t
89204 s,@LIBS@,$LIBS,;t t
89205 s,@libtool_VERSION@,$libtool_VERSION,;t t
89206 s,@multi_basedir@,$multi_basedir,;t t
89207 s,@build@,$build,;t t
89208 s,@build_cpu@,$build_cpu,;t t
89209 s,@build_vendor@,$build_vendor,;t t
89210 s,@build_os@,$build_os,;t t
89211 s,@host@,$host,;t t
89212 s,@host_cpu@,$host_cpu,;t t
89213 s,@host_vendor@,$host_vendor,;t t
89214 s,@host_os@,$host_os,;t t
89215 s,@target@,$target,;t t
89216 s,@target_cpu@,$target_cpu,;t t
89217 s,@target_vendor@,$target_vendor,;t t
89218 s,@target_os@,$target_os,;t t
89219 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
89220 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
89221 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
89222 s,@CYGPATH_W@,$CYGPATH_W,;t t
89223 s,@PACKAGE@,$PACKAGE,;t t
89224 s,@VERSION@,$VERSION,;t t
89225 s,@ACLOCAL@,$ACLOCAL,;t t
89226 s,@AUTOCONF@,$AUTOCONF,;t t
89227 s,@AUTOMAKE@,$AUTOMAKE,;t t
89228 s,@AUTOHEADER@,$AUTOHEADER,;t t
89229 s,@MAKEINFO@,$MAKEINFO,;t t
89230 s,@install_sh@,$install_sh,;t t
89231 s,@STRIP@,$STRIP,;t t
89232 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
89233 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
89234 s,@mkdir_p@,$mkdir_p,;t t
89235 s,@AWK@,$AWK,;t t
89236 s,@SET_MAKE@,$SET_MAKE,;t t
89237 s,@am__leading_dot@,$am__leading_dot,;t t
89238 s,@AMTAR@,$AMTAR,;t t
89239 s,@am__tar@,$am__tar,;t t
89240 s,@am__untar@,$am__untar,;t t
89241 s,@glibcxx_builddir@,$glibcxx_builddir,;t t
89242 s,@glibcxx_srcdir@,$glibcxx_srcdir,;t t
89243 s,@toplevel_srcdir@,$toplevel_srcdir,;t t
89244 s,@CC@,$CC,;t t
89245 s,@ac_ct_CC@,$ac_ct_CC,;t t
89246 s,@EXEEXT@,$EXEEXT,;t t
89247 s,@OBJEXT@,$OBJEXT,;t t
89248 s,@CXX@,$CXX,;t t
89249 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
89250 s,@CFLAGS@,$CFLAGS,;t t
89251 s,@CXXFLAGS@,$CXXFLAGS,;t t
89252 s,@LN_S@,$LN_S,;t t
89253 s,@AS@,$AS,;t t
89254 s,@ac_ct_AS@,$ac_ct_AS,;t t
89255 s,@AR@,$AR,;t t
89256 s,@ac_ct_AR@,$ac_ct_AR,;t t
89257 s,@RANLIB@,$RANLIB,;t t
89258 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
89259 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
89260 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
89261 s,@MAINT@,$MAINT,;t t
89262 s,@LIBTOOL@,$LIBTOOL,;t t
89263 s,@CXXCPP@,$CXXCPP,;t t
89264 s,@CPPFLAGS@,$CPPFLAGS,;t t
89265 s,@enable_shared@,$enable_shared,;t t
89266 s,@enable_static@,$enable_static,;t t
89267 s,@GLIBCXX_HOSTED_TRUE@,$GLIBCXX_HOSTED_TRUE,;t t
89268 s,@GLIBCXX_HOSTED_FALSE@,$GLIBCXX_HOSTED_FALSE,;t t
89269 s,@GLIBCXX_BUILD_PCH_TRUE@,$GLIBCXX_BUILD_PCH_TRUE,;t t
89270 s,@GLIBCXX_BUILD_PCH_FALSE@,$GLIBCXX_BUILD_PCH_FALSE,;t t
89271 s,@glibcxx_PCHFLAGS@,$glibcxx_PCHFLAGS,;t t
89272 s,@CSTDIO_H@,$CSTDIO_H,;t t
89273 s,@BASIC_FILE_H@,$BASIC_FILE_H,;t t
89274 s,@BASIC_FILE_CC@,$BASIC_FILE_CC,;t t
89275 s,@CPP@,$CPP,;t t
89276 s,@EGREP@,$EGREP,;t t
89277 s,@check_msgfmt@,$check_msgfmt,;t t
89278 s,@glibcxx_MOFILES@,$glibcxx_MOFILES,;t t
89279 s,@glibcxx_POFILES@,$glibcxx_POFILES,;t t
89280 s,@glibcxx_localedir@,$glibcxx_localedir,;t t
89281 s,@USE_NLS@,$USE_NLS,;t t
89282 s,@CLOCALE_H@,$CLOCALE_H,;t t
89283 s,@CMESSAGES_H@,$CMESSAGES_H,;t t
89284 s,@CCODECVT_CC@,$CCODECVT_CC,;t t
89285 s,@CCOLLATE_CC@,$CCOLLATE_CC,;t t
89286 s,@CCTYPE_CC@,$CCTYPE_CC,;t t
89287 s,@CMESSAGES_CC@,$CMESSAGES_CC,;t t
89288 s,@CMONEY_CC@,$CMONEY_CC,;t t
89289 s,@CNUMERIC_CC@,$CNUMERIC_CC,;t t
89290 s,@CTIME_H@,$CTIME_H,;t t
89291 s,@CTIME_CC@,$CTIME_CC,;t t
89292 s,@CLOCALE_CC@,$CLOCALE_CC,;t t
89293 s,@CLOCALE_INTERNAL_H@,$CLOCALE_INTERNAL_H,;t t
89294 s,@ALLOCATOR_H@,$ALLOCATOR_H,;t t
89295 s,@ALLOCATOR_NAME@,$ALLOCATOR_NAME,;t t
89296 s,@C_INCLUDE_DIR@,$C_INCLUDE_DIR,;t t
89297 s,@GLIBCXX_C_HEADERS_C_TRUE@,$GLIBCXX_C_HEADERS_C_TRUE,;t t
89298 s,@GLIBCXX_C_HEADERS_C_FALSE@,$GLIBCXX_C_HEADERS_C_FALSE,;t t
89299 s,@GLIBCXX_C_HEADERS_C_STD_TRUE@,$GLIBCXX_C_HEADERS_C_STD_TRUE,;t t
89300 s,@GLIBCXX_C_HEADERS_C_STD_FALSE@,$GLIBCXX_C_HEADERS_C_STD_FALSE,;t t
89301 s,@GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE@,$GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE,;t t
89302 s,@GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE@,$GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE,;t t
89303 s,@DEBUG_FLAGS@,$DEBUG_FLAGS,;t t
89304 s,@GLIBCXX_BUILD_DEBUG_TRUE@,$GLIBCXX_BUILD_DEBUG_TRUE,;t t
89305 s,@GLIBCXX_BUILD_DEBUG_FALSE@,$GLIBCXX_BUILD_DEBUG_FALSE,;t t
89306 s,@EXTRA_CXX_FLAGS@,$EXTRA_CXX_FLAGS,;t t
89307 s,@glibcxx_thread_h@,$glibcxx_thread_h,;t t
89308 s,@WERROR@,$WERROR,;t t
89309 s,@SECTION_FLAGS@,$SECTION_FLAGS,;t t
89310 s,@SECTION_LDFLAGS@,$SECTION_LDFLAGS,;t t
89311 s,@OPT_LDFLAGS@,$OPT_LDFLAGS,;t t
89312 s,@LIBMATHOBJS@,$LIBMATHOBJS,;t t
89313 s,@LIBICONV@,$LIBICONV,;t t
89314 s,@SYMVER_MAP@,$SYMVER_MAP,;t t
89315 s,@port_specific_symbol_files@,$port_specific_symbol_files,;t t
89316 s,@GLIBCXX_BUILD_VERSIONED_SHLIB_TRUE@,$GLIBCXX_BUILD_VERSIONED_SHLIB_TRUE,;t t
89317 s,@GLIBCXX_BUILD_VERSIONED_SHLIB_FALSE@,$GLIBCXX_BUILD_VERSIONED_SHLIB_FALSE,;t t
89318 s,@baseline_dir@,$baseline_dir,;t t
89319 s,@ATOMICITY_SRCDIR@,$ATOMICITY_SRCDIR,;t t
89320 s,@ATOMIC_WORD_SRCDIR@,$ATOMIC_WORD_SRCDIR,;t t
89321 s,@ABI_TWEAKS_SRCDIR@,$ABI_TWEAKS_SRCDIR,;t t
89322 s,@OS_INC_SRCDIR@,$OS_INC_SRCDIR,;t t
89323 s,@glibcxx_prefixdir@,$glibcxx_prefixdir,;t t
89324 s,@gxx_include_dir@,$gxx_include_dir,;t t
89325 s,@glibcxx_toolexecdir@,$glibcxx_toolexecdir,;t t
89326 s,@glibcxx_toolexeclibdir@,$glibcxx_toolexeclibdir,;t t
89327 s,@GLIBCXX_INCLUDES@,$GLIBCXX_INCLUDES,;t t
89328 s,@TOPLEVEL_INCLUDES@,$TOPLEVEL_INCLUDES,;t t
89329 s,@OPTIMIZE_CXXFLAGS@,$OPTIMIZE_CXXFLAGS,;t t
89330 s,@WARN_FLAGS@,$WARN_FLAGS,;t t
89331 s,@LIBSUPCXX_PICFLAGS@,$LIBSUPCXX_PICFLAGS,;t t
89332 s,@LIBOBJS@,$LIBOBJS,;t t
89333 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
89334 CEOF
89335
89336 _ACEOF
89337
89338 cat >>$CONFIG_STATUS <<\_ACEOF
89339 # Split the substitutions into bite-sized pieces for seds with
89340 # small command number limits, like on Digital OSF/1 and HP-UX.
89341 ac_max_sed_lines=48
89342 ac_sed_frag=1 # Number of current file.
89343 ac_beg=1 # First line for current file.
89344 ac_end=$ac_max_sed_lines # Line after last line for current file.
89345 ac_more_lines=:
89346 ac_sed_cmds=
89347 while $ac_more_lines; do
89348 if test $ac_beg -gt 1; then
89349 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
89350 else
89351 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
89352 fi
89353 if test ! -s $tmp/subs.frag; then
89354 ac_more_lines=false
89355 else
89356 # The purpose of the label and of the branching condition is to
89357 # speed up the sed processing (if there are no `@' at all, there
89358 # is no need to browse any of the substitutions).
89359 # These are the two extra sed commands mentioned above.
89360 (echo ':t
89361 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
89362 if test -z "$ac_sed_cmds"; then
89363 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
89364 else
89365 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
89366 fi
89367 ac_sed_frag=`expr $ac_sed_frag + 1`
89368 ac_beg=$ac_end
89369 ac_end=`expr $ac_end + $ac_max_sed_lines`
89370 fi
89371 done
89372 if test -z "$ac_sed_cmds"; then
89373 ac_sed_cmds=cat
89374 fi
89375 fi # test -n "$CONFIG_FILES"
89376
89377 _ACEOF
89378 cat >>$CONFIG_STATUS <<\_ACEOF
89379 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
89380 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
89381 case $ac_file in
89382 - | *:- | *:-:* ) # input from stdin
89383 cat >$tmp/stdin
89384 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
89385 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
89386 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
89387 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
89388 * ) ac_file_in=$ac_file.in ;;
89389 esac
89390
89391 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
89392 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
89393 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
89394 X"$ac_file" : 'X\(//\)[^/]' \| \
89395 X"$ac_file" : 'X\(//\)$' \| \
89396 X"$ac_file" : 'X\(/\)' \| \
89397 . : '\(.\)' 2>/dev/null ||
89398 echo X"$ac_file" |
89399 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
89400 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
89401 /^X\(\/\/\)$/{ s//\1/; q; }
89402 /^X\(\/\).*/{ s//\1/; q; }
89403 s/.*/./; q'`
89404 { if $as_mkdir_p; then
89405 mkdir -p "$ac_dir"
89406 else
89407 as_dir="$ac_dir"
89408 as_dirs=
89409 while test ! -d "$as_dir"; do
89410 as_dirs="$as_dir $as_dirs"
89411 as_dir=`(dirname "$as_dir") 2>/dev/null ||
89412 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
89413 X"$as_dir" : 'X\(//\)[^/]' \| \
89414 X"$as_dir" : 'X\(//\)$' \| \
89415 X"$as_dir" : 'X\(/\)' \| \
89416 . : '\(.\)' 2>/dev/null ||
89417 echo X"$as_dir" |
89418 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
89419 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
89420 /^X\(\/\/\)$/{ s//\1/; q; }
89421 /^X\(\/\).*/{ s//\1/; q; }
89422 s/.*/./; q'`
89423 done
89424 test ! -n "$as_dirs" || mkdir $as_dirs
89425 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
89426 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
89427 { (exit 1); exit 1; }; }; }
89428
89429 ac_builddir=.
89430
89431 if test "$ac_dir" != .; then
89432 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
89433 # A "../" for each directory in $ac_dir_suffix.
89434 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
89435 else
89436 ac_dir_suffix= ac_top_builddir=
89437 fi
89438
89439 case $srcdir in
89440 .) # No --srcdir option. We are building in place.
89441 ac_srcdir=.
89442 if test -z "$ac_top_builddir"; then
89443 ac_top_srcdir=.
89444 else
89445 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
89446 fi ;;
89447 [\\/]* | ?:[\\/]* ) # Absolute path.
89448 ac_srcdir=$srcdir$ac_dir_suffix;
89449 ac_top_srcdir=$srcdir ;;
89450 *) # Relative path.
89451 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
89452 ac_top_srcdir=$ac_top_builddir$srcdir ;;
89453 esac
89454
89455 # Do not use `cd foo && pwd` to compute absolute paths, because
89456 # the directories may not exist.
89457 case `pwd` in
89458 .) ac_abs_builddir="$ac_dir";;
89459 *)
89460 case "$ac_dir" in
89461 .) ac_abs_builddir=`pwd`;;
89462 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
89463 *) ac_abs_builddir=`pwd`/"$ac_dir";;
89464 esac;;
89465 esac
89466 case $ac_abs_builddir in
89467 .) ac_abs_top_builddir=${ac_top_builddir}.;;
89468 *)
89469 case ${ac_top_builddir}. in
89470 .) ac_abs_top_builddir=$ac_abs_builddir;;
89471 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
89472 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
89473 esac;;
89474 esac
89475 case $ac_abs_builddir in
89476 .) ac_abs_srcdir=$ac_srcdir;;
89477 *)
89478 case $ac_srcdir in
89479 .) ac_abs_srcdir=$ac_abs_builddir;;
89480 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
89481 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
89482 esac;;
89483 esac
89484 case $ac_abs_builddir in
89485 .) ac_abs_top_srcdir=$ac_top_srcdir;;
89486 *)
89487 case $ac_top_srcdir in
89488 .) ac_abs_top_srcdir=$ac_abs_builddir;;
89489 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
89490 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
89491 esac;;
89492 esac
89493
89494
89495 case $INSTALL in
89496 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
89497 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
89498 esac
89499
89500 if test x"$ac_file" != x-; then
89501 { echo "$as_me:$LINENO: creating $ac_file" >&5
89502 echo "$as_me: creating $ac_file" >&6;}
89503 rm -f "$ac_file"
89504 fi
89505 # Let's still pretend it is `configure' which instantiates (i.e., don't
89506 # use $as_me), people would be surprised to read:
89507 # /* config.h. Generated by config.status. */
89508 if test x"$ac_file" = x-; then
89509 configure_input=
89510 else
89511 configure_input="$ac_file. "
89512 fi
89513 configure_input=$configure_input"Generated from `echo $ac_file_in |
89514 sed 's,.*/,,'` by configure."
89515
89516 # First look for the input files in the build tree, otherwise in the
89517 # src tree.
89518 ac_file_inputs=`IFS=:
89519 for f in $ac_file_in; do
89520 case $f in
89521 -) echo $tmp/stdin ;;
89522 [\\/$]*)
89523 # Absolute (can't be DOS-style, as IFS=:)
89524 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
89525 echo "$as_me: error: cannot find input file: $f" >&2;}
89526 { (exit 1); exit 1; }; }
89527 echo "$f";;
89528 *) # Relative
89529 if test -f "$f"; then
89530 # Build tree
89531 echo "$f"
89532 elif test -f "$srcdir/$f"; then
89533 # Source tree
89534 echo "$srcdir/$f"
89535 else
89536 # /dev/null tree
89537 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
89538 echo "$as_me: error: cannot find input file: $f" >&2;}
89539 { (exit 1); exit 1; }; }
89540 fi;;
89541 esac
89542 done` || { (exit 1); exit 1; }
89543 _ACEOF
89544 cat >>$CONFIG_STATUS <<_ACEOF
89545 sed "$ac_vpsub
89546 $extrasub
89547 _ACEOF
89548 cat >>$CONFIG_STATUS <<\_ACEOF
89549 :t
89550 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
89551 s,@configure_input@,$configure_input,;t t
89552 s,@srcdir@,$ac_srcdir,;t t
89553 s,@abs_srcdir@,$ac_abs_srcdir,;t t
89554 s,@top_srcdir@,$ac_top_srcdir,;t t
89555 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
89556 s,@builddir@,$ac_builddir,;t t
89557 s,@abs_builddir@,$ac_abs_builddir,;t t
89558 s,@top_builddir@,$ac_top_builddir,;t t
89559 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
89560 s,@INSTALL@,$ac_INSTALL,;t t
89561 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
89562 rm -f $tmp/stdin
89563 if test x"$ac_file" != x-; then
89564 mv $tmp/out $ac_file
89565 else
89566 cat $tmp/out
89567 rm -f $tmp/out
89568 fi
89569
89570 # Run the commands associated with the file.
89571 case $ac_file in
89572 scripts/testsuite_flags ) chmod +x scripts/testsuite_flags ;;
89573 esac
89574 done
89575 _ACEOF
89576 cat >>$CONFIG_STATUS <<\_ACEOF
89577
89578 #
89579 # CONFIG_HEADER section.
89580 #
89581
89582 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
89583 # NAME is the cpp macro being defined and VALUE is the value it is being given.
89584 #
89585 # ac_d sets the value in "#define NAME VALUE" lines.
89586 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
89587 ac_dB='[ ].*$,\1#\2'
89588 ac_dC=' '
89589 ac_dD=',;t'
89590 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
89591 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
89592 ac_uB='$,\1#\2define\3'
89593 ac_uC=' '
89594 ac_uD=',;t'
89595
89596 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
89597 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
89598 case $ac_file in
89599 - | *:- | *:-:* ) # input from stdin
89600 cat >$tmp/stdin
89601 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
89602 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
89603 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
89604 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
89605 * ) ac_file_in=$ac_file.in ;;
89606 esac
89607
89608 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
89609 echo "$as_me: creating $ac_file" >&6;}
89610
89611 # First look for the input files in the build tree, otherwise in the
89612 # src tree.
89613 ac_file_inputs=`IFS=:
89614 for f in $ac_file_in; do
89615 case $f in
89616 -) echo $tmp/stdin ;;
89617 [\\/$]*)
89618 # Absolute (can't be DOS-style, as IFS=:)
89619 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
89620 echo "$as_me: error: cannot find input file: $f" >&2;}
89621 { (exit 1); exit 1; }; }
89622 # Do quote $f, to prevent DOS paths from being IFS'd.
89623 echo "$f";;
89624 *) # Relative
89625 if test -f "$f"; then
89626 # Build tree
89627 echo "$f"
89628 elif test -f "$srcdir/$f"; then
89629 # Source tree
89630 echo "$srcdir/$f"
89631 else
89632 # /dev/null tree
89633 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
89634 echo "$as_me: error: cannot find input file: $f" >&2;}
89635 { (exit 1); exit 1; }; }
89636 fi;;
89637 esac
89638 done` || { (exit 1); exit 1; }
89639 # Remove the trailing spaces.
89640 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
89641
89642 _ACEOF
89643
89644 # Transform confdefs.h into two sed scripts, `conftest.defines' and
89645 # `conftest.undefs', that substitutes the proper values into
89646 # config.h.in to produce config.h. The first handles `#define'
89647 # templates, and the second `#undef' templates.
89648 # And first: Protect against being on the right side of a sed subst in
89649 # config.status. Protect against being in an unquoted here document
89650 # in config.status.
89651 rm -f conftest.defines conftest.undefs
89652 # Using a here document instead of a string reduces the quoting nightmare.
89653 # Putting comments in sed scripts is not portable.
89654 #
89655 # `end' is used to avoid that the second main sed command (meant for
89656 # 0-ary CPP macros) applies to n-ary macro definitions.
89657 # See the Autoconf documentation for `clear'.
89658 cat >confdef2sed.sed <<\_ACEOF
89659 s/[\\&,]/\\&/g
89660 s,[\\$`],\\&,g
89661 t clear
89662 : clear
89663 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
89664 t end
89665 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
89666 : end
89667 _ACEOF
89668 # If some macros were called several times there might be several times
89669 # the same #defines, which is useless. Nevertheless, we may not want to
89670 # sort them, since we want the *last* AC-DEFINE to be honored.
89671 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
89672 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
89673 rm -f confdef2sed.sed
89674
89675 # This sed command replaces #undef with comments. This is necessary, for
89676 # example, in the case of _POSIX_SOURCE, which is predefined and required
89677 # on some systems where configure will not decide to define it.
89678 cat >>conftest.undefs <<\_ACEOF
89679 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
89680 _ACEOF
89681
89682 # Break up conftest.defines because some shells have a limit on the size
89683 # of here documents, and old seds have small limits too (100 cmds).
89684 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
89685 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
89686 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
89687 echo ' :' >>$CONFIG_STATUS
89688 rm -f conftest.tail
89689 while grep . conftest.defines >/dev/null
89690 do
89691 # Write a limited-size here document to $tmp/defines.sed.
89692 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
89693 # Speed up: don't consider the non `#define' lines.
89694 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
89695 # Work around the forget-to-reset-the-flag bug.
89696 echo 't clr' >>$CONFIG_STATUS
89697 echo ': clr' >>$CONFIG_STATUS
89698 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
89699 echo 'CEOF
89700 sed -f $tmp/defines.sed $tmp/in >$tmp/out
89701 rm -f $tmp/in
89702 mv $tmp/out $tmp/in
89703 ' >>$CONFIG_STATUS
89704 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
89705 rm -f conftest.defines
89706 mv conftest.tail conftest.defines
89707 done
89708 rm -f conftest.defines
89709 echo ' fi # grep' >>$CONFIG_STATUS
89710 echo >>$CONFIG_STATUS
89711
89712 # Break up conftest.undefs because some shells have a limit on the size
89713 # of here documents, and old seds have small limits too (100 cmds).
89714 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
89715 rm -f conftest.tail
89716 while grep . conftest.undefs >/dev/null
89717 do
89718 # Write a limited-size here document to $tmp/undefs.sed.
89719 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
89720 # Speed up: don't consider the non `#undef'
89721 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
89722 # Work around the forget-to-reset-the-flag bug.
89723 echo 't clr' >>$CONFIG_STATUS
89724 echo ': clr' >>$CONFIG_STATUS
89725 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
89726 echo 'CEOF
89727 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
89728 rm -f $tmp/in
89729 mv $tmp/out $tmp/in
89730 ' >>$CONFIG_STATUS
89731 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
89732 rm -f conftest.undefs
89733 mv conftest.tail conftest.undefs
89734 done
89735 rm -f conftest.undefs
89736
89737 cat >>$CONFIG_STATUS <<\_ACEOF
89738 # Let's still pretend it is `configure' which instantiates (i.e., don't
89739 # use $as_me), people would be surprised to read:
89740 # /* config.h. Generated by config.status. */
89741 if test x"$ac_file" = x-; then
89742 echo "/* Generated by configure. */" >$tmp/config.h
89743 else
89744 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
89745 fi
89746 cat $tmp/in >>$tmp/config.h
89747 rm -f $tmp/in
89748 if test x"$ac_file" != x-; then
89749 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
89750 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
89751 echo "$as_me: $ac_file is unchanged" >&6;}
89752 else
89753 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
89754 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
89755 X"$ac_file" : 'X\(//\)[^/]' \| \
89756 X"$ac_file" : 'X\(//\)$' \| \
89757 X"$ac_file" : 'X\(/\)' \| \
89758 . : '\(.\)' 2>/dev/null ||
89759 echo X"$ac_file" |
89760 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
89761 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
89762 /^X\(\/\/\)$/{ s//\1/; q; }
89763 /^X\(\/\).*/{ s//\1/; q; }
89764 s/.*/./; q'`
89765 { if $as_mkdir_p; then
89766 mkdir -p "$ac_dir"
89767 else
89768 as_dir="$ac_dir"
89769 as_dirs=
89770 while test ! -d "$as_dir"; do
89771 as_dirs="$as_dir $as_dirs"
89772 as_dir=`(dirname "$as_dir") 2>/dev/null ||
89773 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
89774 X"$as_dir" : 'X\(//\)[^/]' \| \
89775 X"$as_dir" : 'X\(//\)$' \| \
89776 X"$as_dir" : 'X\(/\)' \| \
89777 . : '\(.\)' 2>/dev/null ||
89778 echo X"$as_dir" |
89779 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
89780 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
89781 /^X\(\/\/\)$/{ s//\1/; q; }
89782 /^X\(\/\).*/{ s//\1/; q; }
89783 s/.*/./; q'`
89784 done
89785 test ! -n "$as_dirs" || mkdir $as_dirs
89786 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
89787 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
89788 { (exit 1); exit 1; }; }; }
89789
89790 rm -f $ac_file
89791 mv $tmp/config.h $ac_file
89792 fi
89793 else
89794 cat $tmp/config.h
89795 rm -f $tmp/config.h
89796 fi
89797 # Compute $ac_file's index in $config_headers.
89798 _am_stamp_count=1
89799 for _am_header in $config_headers :; do
89800 case $_am_header in
89801 $ac_file | $ac_file:* )
89802 break ;;
89803 * )
89804 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
89805 esac
89806 done
89807 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
89808 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
89809 X$ac_file : 'X\(//\)[^/]' \| \
89810 X$ac_file : 'X\(//\)$' \| \
89811 X$ac_file : 'X\(/\)' \| \
89812 . : '\(.\)' 2>/dev/null ||
89813 echo X$ac_file |
89814 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
89815 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
89816 /^X\(\/\/\)$/{ s//\1/; q; }
89817 /^X\(\/\).*/{ s//\1/; q; }
89818 s/.*/./; q'`/stamp-h$_am_stamp_count
89819 done
89820 _ACEOF
89821 cat >>$CONFIG_STATUS <<\_ACEOF
89822
89823 #
89824 # CONFIG_COMMANDS section.
89825 #
89826 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
89827 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
89828 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
89829 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
89830 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
89831 X"$ac_dest" : 'X\(//\)[^/]' \| \
89832 X"$ac_dest" : 'X\(//\)$' \| \
89833 X"$ac_dest" : 'X\(/\)' \| \
89834 . : '\(.\)' 2>/dev/null ||
89835 echo X"$ac_dest" |
89836 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
89837 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
89838 /^X\(\/\/\)$/{ s//\1/; q; }
89839 /^X\(\/\).*/{ s//\1/; q; }
89840 s/.*/./; q'`
89841 { if $as_mkdir_p; then
89842 mkdir -p "$ac_dir"
89843 else
89844 as_dir="$ac_dir"
89845 as_dirs=
89846 while test ! -d "$as_dir"; do
89847 as_dirs="$as_dir $as_dirs"
89848 as_dir=`(dirname "$as_dir") 2>/dev/null ||
89849 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
89850 X"$as_dir" : 'X\(//\)[^/]' \| \
89851 X"$as_dir" : 'X\(//\)$' \| \
89852 X"$as_dir" : 'X\(/\)' \| \
89853 . : '\(.\)' 2>/dev/null ||
89854 echo X"$as_dir" |
89855 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
89856 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
89857 /^X\(\/\/\)$/{ s//\1/; q; }
89858 /^X\(\/\).*/{ s//\1/; q; }
89859 s/.*/./; q'`
89860 done
89861 test ! -n "$as_dirs" || mkdir $as_dirs
89862 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
89863 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
89864 { (exit 1); exit 1; }; }; }
89865
89866 ac_builddir=.
89867
89868 if test "$ac_dir" != .; then
89869 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
89870 # A "../" for each directory in $ac_dir_suffix.
89871 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
89872 else
89873 ac_dir_suffix= ac_top_builddir=
89874 fi
89875
89876 case $srcdir in
89877 .) # No --srcdir option. We are building in place.
89878 ac_srcdir=.
89879 if test -z "$ac_top_builddir"; then
89880 ac_top_srcdir=.
89881 else
89882 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
89883 fi ;;
89884 [\\/]* | ?:[\\/]* ) # Absolute path.
89885 ac_srcdir=$srcdir$ac_dir_suffix;
89886 ac_top_srcdir=$srcdir ;;
89887 *) # Relative path.
89888 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
89889 ac_top_srcdir=$ac_top_builddir$srcdir ;;
89890 esac
89891
89892 # Do not use `cd foo && pwd` to compute absolute paths, because
89893 # the directories may not exist.
89894 case `pwd` in
89895 .) ac_abs_builddir="$ac_dir";;
89896 *)
89897 case "$ac_dir" in
89898 .) ac_abs_builddir=`pwd`;;
89899 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
89900 *) ac_abs_builddir=`pwd`/"$ac_dir";;
89901 esac;;
89902 esac
89903 case $ac_abs_builddir in
89904 .) ac_abs_top_builddir=${ac_top_builddir}.;;
89905 *)
89906 case ${ac_top_builddir}. in
89907 .) ac_abs_top_builddir=$ac_abs_builddir;;
89908 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
89909 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
89910 esac;;
89911 esac
89912 case $ac_abs_builddir in
89913 .) ac_abs_srcdir=$ac_srcdir;;
89914 *)
89915 case $ac_srcdir in
89916 .) ac_abs_srcdir=$ac_abs_builddir;;
89917 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
89918 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
89919 esac;;
89920 esac
89921 case $ac_abs_builddir in
89922 .) ac_abs_top_srcdir=$ac_top_srcdir;;
89923 *)
89924 case $ac_top_srcdir in
89925 .) ac_abs_top_srcdir=$ac_abs_builddir;;
89926 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
89927 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
89928 esac;;
89929 esac
89930
89931
89932 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
89933 echo "$as_me: executing $ac_dest commands" >&6;}
89934 case $ac_dest in
89935 default-1 )
89936 # Only add multilib support code if we just rebuilt the top-level
89937 # Makefile.
89938 case " $CONFIG_FILES " in
89939 *" Makefile "*)
89940 ac_file=Makefile . ${multi_basedir}/config-ml.in
89941 ;;
89942 esac ;;
89943 default ) if test -n "$CONFIG_FILES"; then
89944 # Multilibs need MULTISUBDIR defined correctly in certain makefiles so
89945 # that multilib installs will end up installed in the correct place.
89946 # The testsuite needs it for multilib-aware ABI baseline files.
89947 # To work around this not being passed down from config-ml.in ->
89948 # srcdir/Makefile.am -> srcdir/{src,libsupc++,...}/Makefile.am, manually
89949 # append it here. Only modify Makefiles that have just been created.
89950 #
89951 # Also, get rid of this simulated-VPATH thing that automake does.
89952 cat > vpsed << \_EOF
89953 s!`test -f '$<' || echo '$(srcdir)/'`!!
89954 _EOF
89955 for i in $SUBDIRS; do
89956 case $CONFIG_FILES in
89957 *${i}/Makefile*)
89958 #echo "Adding MULTISUBDIR to $i/Makefile"
89959 sed -f vpsed $i/Makefile > tmp
89960 grep '^MULTISUBDIR =' Makefile >> tmp
89961 mv tmp $i/Makefile
89962 ;;
89963 esac
89964 done
89965 rm vpsed
89966 fi
89967 (cd include && ${MAKE-make})
89968 ;;
89969 esac
89970 done
89971 _ACEOF
89972
89973 cat >>$CONFIG_STATUS <<\_ACEOF
89974
89975 { (exit 0); exit 0; }
89976 _ACEOF
89977 chmod +x $CONFIG_STATUS
89978 ac_clean_files=$ac_clean_files_save
89979
89980
89981 # configure is writing to config.log, and then calls config.status.
89982 # config.status does its own redirection, appending to config.log.
89983 # Unfortunately, on DOS this fails, as config.log is still kept open
89984 # by configure, so config.status won't be able to write to it; its
89985 # output is simply discarded. So we exec the FD to /dev/null,
89986 # effectively closing config.log, so it can be properly (re)opened and
89987 # appended to by config.status. When coming back to configure, we
89988 # need to make the FD available again.
89989 if test "$no_create" != yes; then
89990 ac_cs_success=:
89991 ac_config_status_args=
89992 test "$silent" = yes &&
89993 ac_config_status_args="$ac_config_status_args --quiet"
89994 exec 5>/dev/null
89995 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
89996 exec 5>>config.log
89997 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
89998 # would make configure fail if this is the last instruction.
89999 $ac_cs_success || { (exit 1); exit 1; }
90000 fi
90001