sso_string_base.h (__sso_string_base<>::_M_swap): Change the various traits_type...
[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 ENABLE_SYMVERS_GNU_TRUE ENABLE_SYMVERS_GNU_FALSE ENABLE_SYMVERS_DARWIN_EXPORT_TRUE ENABLE_SYMVERS_DARWIN_EXPORT_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:7: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 case "$host","$target" in
1546 # Darwin crosses can use the host system's libraries and headers,
1547 # because of the fat library support. Of course, it must be the
1548 # same version of Darwin on both sides. Allow the user to
1549 # just say --target=foo-darwin without a version number to mean
1550 # "the version on this system".
1551 *-*-darwin*,*-*-darwin*)
1552 hostos=`echo $host | sed 's/.*-darwin/darwin/'`
1553 targetos=`echo $target | sed 's/.*-darwin/darwin/'`
1554 if test $hostos = $targetos -o $targetos = darwin ; then
1555 GLIBCXX_IS_NATIVE=true
1556 fi
1557 ;;
1558
1559 *)
1560
1561 ;;
1562 esac
1563 else
1564 GLIBCXX_IS_NATIVE=true
1565 fi
1566
1567 # Sets up automake. Must come after AC_CANONICAL_SYSTEM. Each of the
1568 # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
1569 # 1.x: minimum required version
1570 # no-define: PACKAGE and VERSION will not be #define'd in config.h (a bunch
1571 # of other PACKAGE_* variables will, however, and there's nothing
1572 # we can do about that; they come from AC_INIT).
1573 # foreign: we don't follow the normal rules for GNU packages (no COPYING
1574 # file in the top srcdir, etc, etc), so stop complaining.
1575 # no-dependencies: turns off auto dependency generation (just for now)
1576 # -Wall: turns on all automake warnings...
1577 # -Wno-portability: ...except this one, since GNU make is now required.
1578 am__api_version="1.9"
1579 # Find a good install program. We prefer a C program (faster),
1580 # so one script is as good as another. But avoid the broken or
1581 # incompatible versions:
1582 # SysV /etc/install, /usr/sbin/install
1583 # SunOS /usr/etc/install
1584 # IRIX /sbin/install
1585 # AIX /bin/install
1586 # AmigaOS /C/install, which installs bootblocks on floppy discs
1587 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1588 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1589 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1590 # OS/2's system install, which has a completely different semantic
1591 # ./install, which can be erroneously created by make from ./install.sh.
1592 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1593 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1594 if test -z "$INSTALL"; then
1595 if test "${ac_cv_path_install+set}" = set; then
1596 echo $ECHO_N "(cached) $ECHO_C" >&6
1597 else
1598 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1599 for as_dir in $PATH
1600 do
1601 IFS=$as_save_IFS
1602 test -z "$as_dir" && as_dir=.
1603 # Account for people who put trailing slashes in PATH elements.
1604 case $as_dir/ in
1605 ./ | .// | /cC/* | \
1606 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1607 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1608 /usr/ucb/* ) ;;
1609 *)
1610 # OSF1 and SCO ODT 3.0 have their own names for install.
1611 # Don't use installbsd from OSF since it installs stuff as root
1612 # by default.
1613 for ac_prog in ginstall scoinst install; do
1614 for ac_exec_ext in '' $ac_executable_extensions; do
1615 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1616 if test $ac_prog = install &&
1617 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1618 # AIX install. It has an incompatible calling convention.
1619 :
1620 elif test $ac_prog = install &&
1621 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1622 # program-specific install script used by HP pwplus--don't use.
1623 :
1624 else
1625 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1626 break 3
1627 fi
1628 fi
1629 done
1630 done
1631 ;;
1632 esac
1633 done
1634
1635
1636 fi
1637 if test "${ac_cv_path_install+set}" = set; then
1638 INSTALL=$ac_cv_path_install
1639 else
1640 # As a last resort, use the slow shell script. We don't cache a
1641 # path for INSTALL within a source directory, because that will
1642 # break other packages using the cache if that directory is
1643 # removed, or if the path is relative.
1644 INSTALL=$ac_install_sh
1645 fi
1646 fi
1647 echo "$as_me:$LINENO: result: $INSTALL" >&5
1648 echo "${ECHO_T}$INSTALL" >&6
1649
1650 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1651 # It thinks the first close brace ends the variable substitution.
1652 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1653
1654 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1655
1656 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1657
1658 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1659 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1660 # Just in case
1661 sleep 1
1662 echo timestamp > conftest.file
1663 # Do `set' in a subshell so we don't clobber the current shell's
1664 # arguments. Must try -L first in case configure is actually a
1665 # symlink; some systems play weird games with the mod time of symlinks
1666 # (eg FreeBSD returns the mod time of the symlink's containing
1667 # directory).
1668 if (
1669 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1670 if test "$*" = "X"; then
1671 # -L didn't work.
1672 set X `ls -t $srcdir/configure conftest.file`
1673 fi
1674 rm -f conftest.file
1675 if test "$*" != "X $srcdir/configure conftest.file" \
1676 && test "$*" != "X conftest.file $srcdir/configure"; then
1677
1678 # If neither matched, then we have a broken ls. This can happen
1679 # if, for instance, CONFIG_SHELL is bash and it inherits a
1680 # broken ls alias from the environment. This has actually
1681 # happened. Such a system could not be considered "sane".
1682 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1683 alias in your environment" >&5
1684 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1685 alias in your environment" >&2;}
1686 { (exit 1); exit 1; }; }
1687 fi
1688
1689 test "$2" = conftest.file
1690 )
1691 then
1692 # Ok.
1693 :
1694 else
1695 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1696 Check your system clock" >&5
1697 echo "$as_me: error: newly created file is older than distributed files!
1698 Check your system clock" >&2;}
1699 { (exit 1); exit 1; }; }
1700 fi
1701 echo "$as_me:$LINENO: result: yes" >&5
1702 echo "${ECHO_T}yes" >&6
1703 test "$program_prefix" != NONE &&
1704 program_transform_name="s,^,$program_prefix,;$program_transform_name"
1705 # Use a double $ so make ignores it.
1706 test "$program_suffix" != NONE &&
1707 program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1708 # Double any \ or $. echo might interpret backslashes.
1709 # By default was `s,x,x', remove it if useless.
1710 cat <<\_ACEOF >conftest.sed
1711 s/[\\$]/&&/g;s/;s,x,x,$//
1712 _ACEOF
1713 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1714 rm conftest.sed
1715
1716 # expand $ac_aux_dir to an absolute path
1717 am_aux_dir=`cd $ac_aux_dir && pwd`
1718
1719 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1720 # Use eval to expand $SHELL
1721 if eval "$MISSING --run true"; then
1722 am_missing_run="$MISSING --run "
1723 else
1724 am_missing_run=
1725 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1726 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1727 fi
1728
1729 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
1730 # We used to keeping the `.' as first argument, in order to
1731 # allow $(mkdir_p) to be used without argument. As in
1732 # $(mkdir_p) $(somedir)
1733 # where $(somedir) is conditionally defined. However this is wrong
1734 # for two reasons:
1735 # 1. if the package is installed by a user who cannot write `.'
1736 # make install will fail,
1737 # 2. the above comment should most certainly read
1738 # $(mkdir_p) $(DESTDIR)$(somedir)
1739 # so it does not work when $(somedir) is undefined and
1740 # $(DESTDIR) is not.
1741 # To support the latter case, we have to write
1742 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1743 # so the `.' trick is pointless.
1744 mkdir_p='mkdir -p --'
1745 else
1746 # On NextStep and OpenStep, the `mkdir' command does not
1747 # recognize any option. It will interpret all options as
1748 # directories to create, and then abort because `.' already
1749 # exists.
1750 for d in ./-p ./--version;
1751 do
1752 test -d $d && rmdir $d
1753 done
1754 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1755 if test -f "$ac_aux_dir/mkinstalldirs"; then
1756 mkdir_p='$(mkinstalldirs)'
1757 else
1758 mkdir_p='$(install_sh) -d'
1759 fi
1760 fi
1761
1762 for ac_prog in gawk mawk nawk awk
1763 do
1764 # Extract the first word of "$ac_prog", so it can be a program name with args.
1765 set dummy $ac_prog; ac_word=$2
1766 echo "$as_me:$LINENO: checking for $ac_word" >&5
1767 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1768 if test "${ac_cv_prog_AWK+set}" = set; then
1769 echo $ECHO_N "(cached) $ECHO_C" >&6
1770 else
1771 if test -n "$AWK"; then
1772 ac_cv_prog_AWK="$AWK" # Let the user override the test.
1773 else
1774 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1775 for as_dir in $PATH
1776 do
1777 IFS=$as_save_IFS
1778 test -z "$as_dir" && as_dir=.
1779 for ac_exec_ext in '' $ac_executable_extensions; do
1780 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1781 ac_cv_prog_AWK="$ac_prog"
1782 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1783 break 2
1784 fi
1785 done
1786 done
1787
1788 fi
1789 fi
1790 AWK=$ac_cv_prog_AWK
1791 if test -n "$AWK"; then
1792 echo "$as_me:$LINENO: result: $AWK" >&5
1793 echo "${ECHO_T}$AWK" >&6
1794 else
1795 echo "$as_me:$LINENO: result: no" >&5
1796 echo "${ECHO_T}no" >&6
1797 fi
1798
1799 test -n "$AWK" && break
1800 done
1801
1802 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1803 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1804 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1805 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1806 echo $ECHO_N "(cached) $ECHO_C" >&6
1807 else
1808 cat >conftest.make <<\_ACEOF
1809 all:
1810 @echo 'ac_maketemp="$(MAKE)"'
1811 _ACEOF
1812 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1813 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1814 if test -n "$ac_maketemp"; then
1815 eval ac_cv_prog_make_${ac_make}_set=yes
1816 else
1817 eval ac_cv_prog_make_${ac_make}_set=no
1818 fi
1819 rm -f conftest.make
1820 fi
1821 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1822 echo "$as_me:$LINENO: result: yes" >&5
1823 echo "${ECHO_T}yes" >&6
1824 SET_MAKE=
1825 else
1826 echo "$as_me:$LINENO: result: no" >&5
1827 echo "${ECHO_T}no" >&6
1828 SET_MAKE="MAKE=${MAKE-make}"
1829 fi
1830
1831 rm -rf .tst 2>/dev/null
1832 mkdir .tst 2>/dev/null
1833 if test -d .tst; then
1834 am__leading_dot=.
1835 else
1836 am__leading_dot=_
1837 fi
1838 rmdir .tst 2>/dev/null
1839
1840 # test to see if srcdir already configured
1841 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1842 test -f $srcdir/config.status; then
1843 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1844 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1845 { (exit 1); exit 1; }; }
1846 fi
1847
1848 # test whether we have cygpath
1849 if test -z "$CYGPATH_W"; then
1850 if (cygpath --version) >/dev/null 2>/dev/null; then
1851 CYGPATH_W='cygpath -w'
1852 else
1853 CYGPATH_W=echo
1854 fi
1855 fi
1856
1857
1858 # Define the identity of the package.
1859 PACKAGE='libstdc++'
1860 VERSION='version-unused'
1861
1862
1863 # Some tools Automake needs.
1864
1865 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1866
1867
1868 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
1869
1870
1871 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1872
1873
1874 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
1875
1876
1877 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1878
1879 install_sh=${install_sh-"$am_aux_dir/install-sh"}
1880
1881 # Installed binaries are usually stripped using `strip' when the user
1882 # run `make install-strip'. However `strip' might not be the right
1883 # tool to use in cross-compilation environments, therefore Automake
1884 # will honor the `STRIP' environment variable to overrule this program.
1885 if test "$cross_compiling" != no; then
1886 if test -n "$ac_tool_prefix"; then
1887 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1888 set dummy ${ac_tool_prefix}strip; ac_word=$2
1889 echo "$as_me:$LINENO: checking for $ac_word" >&5
1890 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1891 if test "${ac_cv_prog_STRIP+set}" = set; then
1892 echo $ECHO_N "(cached) $ECHO_C" >&6
1893 else
1894 if test -n "$STRIP"; then
1895 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1896 else
1897 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1898 for as_dir in $PATH
1899 do
1900 IFS=$as_save_IFS
1901 test -z "$as_dir" && as_dir=.
1902 for ac_exec_ext in '' $ac_executable_extensions; do
1903 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1904 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1905 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1906 break 2
1907 fi
1908 done
1909 done
1910
1911 fi
1912 fi
1913 STRIP=$ac_cv_prog_STRIP
1914 if test -n "$STRIP"; then
1915 echo "$as_me:$LINENO: result: $STRIP" >&5
1916 echo "${ECHO_T}$STRIP" >&6
1917 else
1918 echo "$as_me:$LINENO: result: no" >&5
1919 echo "${ECHO_T}no" >&6
1920 fi
1921
1922 fi
1923 if test -z "$ac_cv_prog_STRIP"; then
1924 ac_ct_STRIP=$STRIP
1925 # Extract the first word of "strip", so it can be a program name with args.
1926 set dummy strip; ac_word=$2
1927 echo "$as_me:$LINENO: checking for $ac_word" >&5
1928 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1929 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1930 echo $ECHO_N "(cached) $ECHO_C" >&6
1931 else
1932 if test -n "$ac_ct_STRIP"; then
1933 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
1934 else
1935 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1936 for as_dir in $PATH
1937 do
1938 IFS=$as_save_IFS
1939 test -z "$as_dir" && as_dir=.
1940 for ac_exec_ext in '' $ac_executable_extensions; do
1941 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1942 ac_cv_prog_ac_ct_STRIP="strip"
1943 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1944 break 2
1945 fi
1946 done
1947 done
1948
1949 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
1950 fi
1951 fi
1952 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
1953 if test -n "$ac_ct_STRIP"; then
1954 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1955 echo "${ECHO_T}$ac_ct_STRIP" >&6
1956 else
1957 echo "$as_me:$LINENO: result: no" >&5
1958 echo "${ECHO_T}no" >&6
1959 fi
1960
1961 STRIP=$ac_ct_STRIP
1962 else
1963 STRIP="$ac_cv_prog_STRIP"
1964 fi
1965
1966 fi
1967 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
1968
1969 # We need awk for the "check" target. The system "awk" is bad on
1970 # some platforms.
1971 # Always define AMTAR for backward compatibility.
1972
1973 AMTAR=${AMTAR-"${am_missing_run}tar"}
1974
1975 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986 # Runs configure.host, finds CC, CXX, and assorted other critical bits. Sets
1987 # up critical shell variables.
1988
1989 # Keep these sync'd with the list in Makefile.am. The first provides an
1990 # expandable list at autoconf time; the second provides an expandable list
1991 # (i.e., shell variable) at configure time.
1992
1993 SUBDIRS='include libmath libsupc++ src po testsuite'
1994
1995 # These need to be absolute paths, yet at the same time need to
1996 # canonicalize only relative paths, because then amd will not unmount
1997 # drives. Thus the use of PWDCMD: set it to 'pawd' or 'amq -w' if using amd.
1998 glibcxx_builddir=`${PWDCMD-pwd}`
1999 case $srcdir in
2000 \\/$* | ?:\\/*) glibcxx_srcdir=${srcdir} ;;
2001 *) glibcxx_srcdir=`cd "$srcdir" && ${PWDCMD-pwd} || echo "$srcdir"` ;;
2002 esac
2003 toplevel_srcdir=${glibcxx_srcdir}/..
2004
2005
2006
2007
2008 # We use these options to decide which functions to include. They are
2009 # set from the top level.
2010
2011 # Check whether --with-target-subdir or --without-target-subdir was given.
2012 if test "${with_target_subdir+set}" = set; then
2013 withval="$with_target_subdir"
2014
2015 fi;
2016
2017
2018 # Check whether --with-cross-host or --without-cross-host was given.
2019 if test "${with_cross_host+set}" = set; then
2020 withval="$with_cross_host"
2021
2022 fi;
2023
2024
2025 # Check whether --with-newlib or --without-newlib was given.
2026 if test "${with_newlib+set}" = set; then
2027 withval="$with_newlib"
2028
2029 fi;
2030
2031 # We're almost certainly being configured before anything else which uses
2032 # C++, so all of our AC_PROG_* discoveries will be cached. It's vital that
2033 # we not cache the value of CXX that we "discover" here, because it's set
2034 # to something unique for us and libjava. Other target libraries need to
2035 # find CXX for themselves. We yank the rug out from under the normal AC_*
2036 # process by sneakily renaming the cache variable. This also lets us debug
2037 # the value of "our" CXX in postmortems.
2038 #
2039 # We must also force CXX to /not/ be a precious variable, otherwise the
2040 # wrong (non-multilib-adjusted) value will be used in multilibs. This
2041 # little trick also affects CPPFLAGS, CXXFLAGS, and LDFLAGS. And as a side
2042 # effect, CXXFLAGS is no longer automagically subst'd, so we have to do
2043 # that ourselves. Un-preciousing AC_PROG_CC also affects CC and CFLAGS.
2044 #
2045 # -fno-builtin must be present here so that a non-conflicting form of
2046 # std::exit can be guessed by AC_PROG_CXX, and used in later tests.
2047
2048
2049
2050
2051 save_CXXFLAGS="$CXXFLAGS"
2052 CXXFLAGS="$CXXFLAGS -fno-builtin"
2053 ac_ext=c
2054 ac_cpp='$CPP $CPPFLAGS'
2055 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2056 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2057 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2058 if test -n "$ac_tool_prefix"; then
2059 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2060 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2061 echo "$as_me:$LINENO: checking for $ac_word" >&5
2062 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2063 if test "${ac_cv_prog_CC+set}" = set; then
2064 echo $ECHO_N "(cached) $ECHO_C" >&6
2065 else
2066 if test -n "$CC"; then
2067 ac_cv_prog_CC="$CC" # Let the user override the test.
2068 else
2069 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2070 for as_dir in $PATH
2071 do
2072 IFS=$as_save_IFS
2073 test -z "$as_dir" && as_dir=.
2074 for ac_exec_ext in '' $ac_executable_extensions; do
2075 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2076 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2077 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2078 break 2
2079 fi
2080 done
2081 done
2082
2083 fi
2084 fi
2085 CC=$ac_cv_prog_CC
2086 if test -n "$CC"; then
2087 echo "$as_me:$LINENO: result: $CC" >&5
2088 echo "${ECHO_T}$CC" >&6
2089 else
2090 echo "$as_me:$LINENO: result: no" >&5
2091 echo "${ECHO_T}no" >&6
2092 fi
2093
2094 fi
2095 if test -z "$ac_cv_prog_CC"; then
2096 ac_ct_CC=$CC
2097 # Extract the first word of "gcc", so it can be a program name with args.
2098 set dummy gcc; ac_word=$2
2099 echo "$as_me:$LINENO: checking for $ac_word" >&5
2100 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2101 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2102 echo $ECHO_N "(cached) $ECHO_C" >&6
2103 else
2104 if test -n "$ac_ct_CC"; then
2105 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2106 else
2107 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2108 for as_dir in $PATH
2109 do
2110 IFS=$as_save_IFS
2111 test -z "$as_dir" && as_dir=.
2112 for ac_exec_ext in '' $ac_executable_extensions; do
2113 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2114 ac_cv_prog_ac_ct_CC="gcc"
2115 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2116 break 2
2117 fi
2118 done
2119 done
2120
2121 fi
2122 fi
2123 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2124 if test -n "$ac_ct_CC"; then
2125 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2126 echo "${ECHO_T}$ac_ct_CC" >&6
2127 else
2128 echo "$as_me:$LINENO: result: no" >&5
2129 echo "${ECHO_T}no" >&6
2130 fi
2131
2132 CC=$ac_ct_CC
2133 else
2134 CC="$ac_cv_prog_CC"
2135 fi
2136
2137 if test -z "$CC"; then
2138 if test -n "$ac_tool_prefix"; then
2139 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2140 set dummy ${ac_tool_prefix}cc; ac_word=$2
2141 echo "$as_me:$LINENO: checking for $ac_word" >&5
2142 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2143 if test "${ac_cv_prog_CC+set}" = set; then
2144 echo $ECHO_N "(cached) $ECHO_C" >&6
2145 else
2146 if test -n "$CC"; then
2147 ac_cv_prog_CC="$CC" # Let the user override the test.
2148 else
2149 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2150 for as_dir in $PATH
2151 do
2152 IFS=$as_save_IFS
2153 test -z "$as_dir" && as_dir=.
2154 for ac_exec_ext in '' $ac_executable_extensions; do
2155 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2156 ac_cv_prog_CC="${ac_tool_prefix}cc"
2157 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2158 break 2
2159 fi
2160 done
2161 done
2162
2163 fi
2164 fi
2165 CC=$ac_cv_prog_CC
2166 if test -n "$CC"; then
2167 echo "$as_me:$LINENO: result: $CC" >&5
2168 echo "${ECHO_T}$CC" >&6
2169 else
2170 echo "$as_me:$LINENO: result: no" >&5
2171 echo "${ECHO_T}no" >&6
2172 fi
2173
2174 fi
2175 if test -z "$ac_cv_prog_CC"; then
2176 ac_ct_CC=$CC
2177 # Extract the first word of "cc", so it can be a program name with args.
2178 set dummy cc; ac_word=$2
2179 echo "$as_me:$LINENO: checking for $ac_word" >&5
2180 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2181 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2182 echo $ECHO_N "(cached) $ECHO_C" >&6
2183 else
2184 if test -n "$ac_ct_CC"; then
2185 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2186 else
2187 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2188 for as_dir in $PATH
2189 do
2190 IFS=$as_save_IFS
2191 test -z "$as_dir" && as_dir=.
2192 for ac_exec_ext in '' $ac_executable_extensions; do
2193 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2194 ac_cv_prog_ac_ct_CC="cc"
2195 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2196 break 2
2197 fi
2198 done
2199 done
2200
2201 fi
2202 fi
2203 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2204 if test -n "$ac_ct_CC"; then
2205 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2206 echo "${ECHO_T}$ac_ct_CC" >&6
2207 else
2208 echo "$as_me:$LINENO: result: no" >&5
2209 echo "${ECHO_T}no" >&6
2210 fi
2211
2212 CC=$ac_ct_CC
2213 else
2214 CC="$ac_cv_prog_CC"
2215 fi
2216
2217 fi
2218 if test -z "$CC"; then
2219 # Extract the first word of "cc", so it can be a program name with args.
2220 set dummy cc; ac_word=$2
2221 echo "$as_me:$LINENO: checking for $ac_word" >&5
2222 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2223 if test "${ac_cv_prog_CC+set}" = set; then
2224 echo $ECHO_N "(cached) $ECHO_C" >&6
2225 else
2226 if test -n "$CC"; then
2227 ac_cv_prog_CC="$CC" # Let the user override the test.
2228 else
2229 ac_prog_rejected=no
2230 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2231 for as_dir in $PATH
2232 do
2233 IFS=$as_save_IFS
2234 test -z "$as_dir" && as_dir=.
2235 for ac_exec_ext in '' $ac_executable_extensions; do
2236 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2237 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2238 ac_prog_rejected=yes
2239 continue
2240 fi
2241 ac_cv_prog_CC="cc"
2242 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2243 break 2
2244 fi
2245 done
2246 done
2247
2248 if test $ac_prog_rejected = yes; then
2249 # We found a bogon in the path, so make sure we never use it.
2250 set dummy $ac_cv_prog_CC
2251 shift
2252 if test $# != 0; then
2253 # We chose a different compiler from the bogus one.
2254 # However, it has the same basename, so the bogon will be chosen
2255 # first if we set CC to just the basename; use the full file name.
2256 shift
2257 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2258 fi
2259 fi
2260 fi
2261 fi
2262 CC=$ac_cv_prog_CC
2263 if test -n "$CC"; then
2264 echo "$as_me:$LINENO: result: $CC" >&5
2265 echo "${ECHO_T}$CC" >&6
2266 else
2267 echo "$as_me:$LINENO: result: no" >&5
2268 echo "${ECHO_T}no" >&6
2269 fi
2270
2271 fi
2272 if test -z "$CC"; then
2273 if test -n "$ac_tool_prefix"; then
2274 for ac_prog in cl
2275 do
2276 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2277 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2278 echo "$as_me:$LINENO: checking for $ac_word" >&5
2279 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2280 if test "${ac_cv_prog_CC+set}" = set; then
2281 echo $ECHO_N "(cached) $ECHO_C" >&6
2282 else
2283 if test -n "$CC"; then
2284 ac_cv_prog_CC="$CC" # Let the user override the test.
2285 else
2286 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2287 for as_dir in $PATH
2288 do
2289 IFS=$as_save_IFS
2290 test -z "$as_dir" && as_dir=.
2291 for ac_exec_ext in '' $ac_executable_extensions; do
2292 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2293 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2294 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2295 break 2
2296 fi
2297 done
2298 done
2299
2300 fi
2301 fi
2302 CC=$ac_cv_prog_CC
2303 if test -n "$CC"; then
2304 echo "$as_me:$LINENO: result: $CC" >&5
2305 echo "${ECHO_T}$CC" >&6
2306 else
2307 echo "$as_me:$LINENO: result: no" >&5
2308 echo "${ECHO_T}no" >&6
2309 fi
2310
2311 test -n "$CC" && break
2312 done
2313 fi
2314 if test -z "$CC"; then
2315 ac_ct_CC=$CC
2316 for ac_prog in cl
2317 do
2318 # Extract the first word of "$ac_prog", so it can be a program name with args.
2319 set dummy $ac_prog; ac_word=$2
2320 echo "$as_me:$LINENO: checking for $ac_word" >&5
2321 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2322 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2323 echo $ECHO_N "(cached) $ECHO_C" >&6
2324 else
2325 if test -n "$ac_ct_CC"; then
2326 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2327 else
2328 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2329 for as_dir in $PATH
2330 do
2331 IFS=$as_save_IFS
2332 test -z "$as_dir" && as_dir=.
2333 for ac_exec_ext in '' $ac_executable_extensions; do
2334 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2335 ac_cv_prog_ac_ct_CC="$ac_prog"
2336 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2337 break 2
2338 fi
2339 done
2340 done
2341
2342 fi
2343 fi
2344 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2345 if test -n "$ac_ct_CC"; then
2346 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2347 echo "${ECHO_T}$ac_ct_CC" >&6
2348 else
2349 echo "$as_me:$LINENO: result: no" >&5
2350 echo "${ECHO_T}no" >&6
2351 fi
2352
2353 test -n "$ac_ct_CC" && break
2354 done
2355
2356 CC=$ac_ct_CC
2357 fi
2358
2359 fi
2360
2361
2362 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2363 See \`config.log' for more details." >&5
2364 echo "$as_me: error: no acceptable C compiler found in \$PATH
2365 See \`config.log' for more details." >&2;}
2366 { (exit 1); exit 1; }; }
2367
2368 # Provide some information about the compiler.
2369 echo "$as_me:$LINENO:" \
2370 "checking for C compiler version" >&5
2371 ac_compiler=`set X $ac_compile; echo $2`
2372 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2373 (eval $ac_compiler --version </dev/null >&5) 2>&5
2374 ac_status=$?
2375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2376 (exit $ac_status); }
2377 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2378 (eval $ac_compiler -v </dev/null >&5) 2>&5
2379 ac_status=$?
2380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2381 (exit $ac_status); }
2382 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2383 (eval $ac_compiler -V </dev/null >&5) 2>&5
2384 ac_status=$?
2385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2386 (exit $ac_status); }
2387
2388 cat >conftest.$ac_ext <<_ACEOF
2389 /* confdefs.h. */
2390 _ACEOF
2391 cat confdefs.h >>conftest.$ac_ext
2392 cat >>conftest.$ac_ext <<_ACEOF
2393 /* end confdefs.h. */
2394
2395 int
2396 main ()
2397 {
2398
2399 ;
2400 return 0;
2401 }
2402 _ACEOF
2403 # FIXME: Cleanup?
2404 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2405 (eval $ac_link) 2>&5
2406 ac_status=$?
2407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2408 (exit $ac_status); }; then
2409 gcc_no_link=no
2410 else
2411 gcc_no_link=yes
2412 fi
2413
2414 if test x$gcc_no_link = xyes; then
2415 # Setting cross_compile will disable run tests; it will
2416 # also disable AC_CHECK_FILE but that's generally
2417 # correct if we can't link.
2418 cross_compiling=yes
2419 EXEEXT=
2420 else
2421 cat >conftest.$ac_ext <<_ACEOF
2422 /* confdefs.h. */
2423 _ACEOF
2424 cat confdefs.h >>conftest.$ac_ext
2425 cat >>conftest.$ac_ext <<_ACEOF
2426 /* end confdefs.h. */
2427
2428 int
2429 main ()
2430 {
2431
2432 ;
2433 return 0;
2434 }
2435 _ACEOF
2436 ac_clean_files_save=$ac_clean_files
2437 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2438 # Try to create an executable without -o first, disregard a.out.
2439 # It will help us diagnose broken compilers, and finding out an intuition
2440 # of exeext.
2441 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2442 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2443 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2444 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2445 (eval $ac_link_default) 2>&5
2446 ac_status=$?
2447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2448 (exit $ac_status); }; then
2449 # Find the output, starting from the most likely. This scheme is
2450 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2451 # resort.
2452
2453 # Be careful to initialize this variable, since it used to be cached.
2454 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2455 ac_cv_exeext=
2456 # b.out is created by i960 compilers.
2457 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2458 do
2459 test -f "$ac_file" || continue
2460 case $ac_file in
2461 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2462 ;;
2463 conftest.$ac_ext )
2464 # This is the source file.
2465 ;;
2466 [ab].out )
2467 # We found the default executable, but exeext='' is most
2468 # certainly right.
2469 break;;
2470 *.* )
2471 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2472 # FIXME: I believe we export ac_cv_exeext for Libtool,
2473 # but it would be cool to find out if it's true. Does anybody
2474 # maintain Libtool? --akim.
2475 export ac_cv_exeext
2476 break;;
2477 * )
2478 break;;
2479 esac
2480 done
2481 else
2482 echo "$as_me: failed program was:" >&5
2483 sed 's/^/| /' conftest.$ac_ext >&5
2484
2485 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2486 See \`config.log' for more details." >&5
2487 echo "$as_me: error: C compiler cannot create executables
2488 See \`config.log' for more details." >&2;}
2489 { (exit 77); exit 77; }; }
2490 fi
2491
2492 ac_exeext=$ac_cv_exeext
2493 echo "$as_me:$LINENO: result: $ac_file" >&5
2494 echo "${ECHO_T}$ac_file" >&6
2495
2496 # Check the compiler produces executables we can run. If not, either
2497 # the compiler is broken, or we cross compile.
2498 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2499 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2500 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2501 # If not cross compiling, check that we can run a simple program.
2502 if test "$cross_compiling" != yes; then
2503 if { ac_try='./$ac_file'
2504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2505 (eval $ac_try) 2>&5
2506 ac_status=$?
2507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2508 (exit $ac_status); }; }; then
2509 cross_compiling=no
2510 else
2511 if test "$cross_compiling" = maybe; then
2512 cross_compiling=yes
2513 else
2514 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2515 If you meant to cross compile, use \`--host'.
2516 See \`config.log' for more details." >&5
2517 echo "$as_me: error: cannot run C compiled programs.
2518 If you meant to cross compile, use \`--host'.
2519 See \`config.log' for more details." >&2;}
2520 { (exit 1); exit 1; }; }
2521 fi
2522 fi
2523 fi
2524 echo "$as_me:$LINENO: result: yes" >&5
2525 echo "${ECHO_T}yes" >&6
2526
2527 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2528 ac_clean_files=$ac_clean_files_save
2529 # Check the compiler produces executables we can run. If not, either
2530 # the compiler is broken, or we cross compile.
2531 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2532 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2533 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2534 echo "${ECHO_T}$cross_compiling" >&6
2535
2536 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2537 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2538 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2539 (eval $ac_link) 2>&5
2540 ac_status=$?
2541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2542 (exit $ac_status); }; then
2543 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2544 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2545 # work properly (i.e., refer to `conftest.exe'), while it won't with
2546 # `rm'.
2547 for ac_file in conftest.exe conftest conftest.*; do
2548 test -f "$ac_file" || continue
2549 case $ac_file in
2550 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2551 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2552 export ac_cv_exeext
2553 break;;
2554 * ) break;;
2555 esac
2556 done
2557 else
2558 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2559 See \`config.log' for more details." >&5
2560 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2561 See \`config.log' for more details." >&2;}
2562 { (exit 1); exit 1; }; }
2563 fi
2564
2565 rm -f conftest$ac_cv_exeext
2566 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2567 echo "${ECHO_T}$ac_cv_exeext" >&6
2568
2569 rm -f conftest.$ac_ext
2570 EXEEXT=$ac_cv_exeext
2571 ac_exeext=$EXEEXT
2572 fi
2573 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2574 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2575 if test "${ac_cv_objext+set}" = set; then
2576 echo $ECHO_N "(cached) $ECHO_C" >&6
2577 else
2578 cat >conftest.$ac_ext <<_ACEOF
2579 /* confdefs.h. */
2580 _ACEOF
2581 cat confdefs.h >>conftest.$ac_ext
2582 cat >>conftest.$ac_ext <<_ACEOF
2583 /* end confdefs.h. */
2584
2585 int
2586 main ()
2587 {
2588
2589 ;
2590 return 0;
2591 }
2592 _ACEOF
2593 rm -f conftest.o conftest.obj
2594 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2595 (eval $ac_compile) 2>&5
2596 ac_status=$?
2597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2598 (exit $ac_status); }; then
2599 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2600 case $ac_file in
2601 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2602 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2603 break;;
2604 esac
2605 done
2606 else
2607 echo "$as_me: failed program was:" >&5
2608 sed 's/^/| /' conftest.$ac_ext >&5
2609
2610 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2611 See \`config.log' for more details." >&5
2612 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2613 See \`config.log' for more details." >&2;}
2614 { (exit 1); exit 1; }; }
2615 fi
2616
2617 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2618 fi
2619 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2620 echo "${ECHO_T}$ac_cv_objext" >&6
2621 OBJEXT=$ac_cv_objext
2622 ac_objext=$OBJEXT
2623 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2624 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2625 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2626 echo $ECHO_N "(cached) $ECHO_C" >&6
2627 else
2628 cat >conftest.$ac_ext <<_ACEOF
2629 /* confdefs.h. */
2630 _ACEOF
2631 cat confdefs.h >>conftest.$ac_ext
2632 cat >>conftest.$ac_ext <<_ACEOF
2633 /* end confdefs.h. */
2634
2635 int
2636 main ()
2637 {
2638 #ifndef __GNUC__
2639 choke me
2640 #endif
2641
2642 ;
2643 return 0;
2644 }
2645 _ACEOF
2646 rm -f conftest.$ac_objext
2647 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2648 (eval $ac_compile) 2>conftest.er1
2649 ac_status=$?
2650 grep -v '^ *+' conftest.er1 >conftest.err
2651 rm -f conftest.er1
2652 cat conftest.err >&5
2653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2654 (exit $ac_status); } &&
2655 { ac_try='test -z "$ac_c_werror_flag"
2656 || test ! -s conftest.err'
2657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2658 (eval $ac_try) 2>&5
2659 ac_status=$?
2660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2661 (exit $ac_status); }; } &&
2662 { ac_try='test -s conftest.$ac_objext'
2663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2664 (eval $ac_try) 2>&5
2665 ac_status=$?
2666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2667 (exit $ac_status); }; }; then
2668 ac_compiler_gnu=yes
2669 else
2670 echo "$as_me: failed program was:" >&5
2671 sed 's/^/| /' conftest.$ac_ext >&5
2672
2673 ac_compiler_gnu=no
2674 fi
2675 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2676 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2677
2678 fi
2679 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2680 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2681 GCC=`test $ac_compiler_gnu = yes && echo yes`
2682 ac_test_CFLAGS=${CFLAGS+set}
2683 ac_save_CFLAGS=$CFLAGS
2684 CFLAGS="-g"
2685 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2686 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2687 if test "${ac_cv_prog_cc_g+set}" = set; then
2688 echo $ECHO_N "(cached) $ECHO_C" >&6
2689 else
2690 cat >conftest.$ac_ext <<_ACEOF
2691 /* confdefs.h. */
2692 _ACEOF
2693 cat confdefs.h >>conftest.$ac_ext
2694 cat >>conftest.$ac_ext <<_ACEOF
2695 /* end confdefs.h. */
2696
2697 int
2698 main ()
2699 {
2700
2701 ;
2702 return 0;
2703 }
2704 _ACEOF
2705 rm -f conftest.$ac_objext
2706 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2707 (eval $ac_compile) 2>conftest.er1
2708 ac_status=$?
2709 grep -v '^ *+' conftest.er1 >conftest.err
2710 rm -f conftest.er1
2711 cat conftest.err >&5
2712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2713 (exit $ac_status); } &&
2714 { ac_try='test -z "$ac_c_werror_flag"
2715 || test ! -s conftest.err'
2716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2717 (eval $ac_try) 2>&5
2718 ac_status=$?
2719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2720 (exit $ac_status); }; } &&
2721 { ac_try='test -s conftest.$ac_objext'
2722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2723 (eval $ac_try) 2>&5
2724 ac_status=$?
2725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2726 (exit $ac_status); }; }; then
2727 ac_cv_prog_cc_g=yes
2728 else
2729 echo "$as_me: failed program was:" >&5
2730 sed 's/^/| /' conftest.$ac_ext >&5
2731
2732 ac_cv_prog_cc_g=no
2733 fi
2734 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2735 fi
2736 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2737 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2738 if test "$ac_test_CFLAGS" = set; then
2739 CFLAGS=$ac_save_CFLAGS
2740 elif test $ac_cv_prog_cc_g = yes; then
2741 if test "$GCC" = yes; then
2742 CFLAGS="-g -O2"
2743 else
2744 CFLAGS="-g"
2745 fi
2746 else
2747 if test "$GCC" = yes; then
2748 CFLAGS="-O2"
2749 else
2750 CFLAGS=
2751 fi
2752 fi
2753 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2754 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2755 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2756 echo $ECHO_N "(cached) $ECHO_C" >&6
2757 else
2758 ac_cv_prog_cc_stdc=no
2759 ac_save_CC=$CC
2760 cat >conftest.$ac_ext <<_ACEOF
2761 /* confdefs.h. */
2762 _ACEOF
2763 cat confdefs.h >>conftest.$ac_ext
2764 cat >>conftest.$ac_ext <<_ACEOF
2765 /* end confdefs.h. */
2766 #include <stdarg.h>
2767 #include <stdio.h>
2768 #include <sys/types.h>
2769 #include <sys/stat.h>
2770 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2771 struct buf { int x; };
2772 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2773 static char *e (p, i)
2774 char **p;
2775 int i;
2776 {
2777 return p[i];
2778 }
2779 static char *f (char * (*g) (char **, int), char **p, ...)
2780 {
2781 char *s;
2782 va_list v;
2783 va_start (v,p);
2784 s = g (p, va_arg (v,int));
2785 va_end (v);
2786 return s;
2787 }
2788
2789 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2790 function prototypes and stuff, but not '\xHH' hex character constants.
2791 These don't provoke an error unfortunately, instead are silently treated
2792 as 'x'. The following induces an error, until -std1 is added to get
2793 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2794 array size at least. It's necessary to write '\x00'==0 to get something
2795 that's true only with -std1. */
2796 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2797
2798 int test (int i, double x);
2799 struct s1 {int (*f) (int a);};
2800 struct s2 {int (*f) (double a);};
2801 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2802 int argc;
2803 char **argv;
2804 int
2805 main ()
2806 {
2807 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2808 ;
2809 return 0;
2810 }
2811 _ACEOF
2812 # Don't try gcc -ansi; that turns off useful extensions and
2813 # breaks some systems' header files.
2814 # AIX -qlanglvl=ansi
2815 # Ultrix and OSF/1 -std1
2816 # HP-UX 10.20 and later -Ae
2817 # HP-UX older versions -Aa -D_HPUX_SOURCE
2818 # SVR4 -Xc -D__EXTENSIONS__
2819 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2820 do
2821 CC="$ac_save_CC $ac_arg"
2822 rm -f conftest.$ac_objext
2823 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2824 (eval $ac_compile) 2>conftest.er1
2825 ac_status=$?
2826 grep -v '^ *+' conftest.er1 >conftest.err
2827 rm -f conftest.er1
2828 cat conftest.err >&5
2829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2830 (exit $ac_status); } &&
2831 { ac_try='test -z "$ac_c_werror_flag"
2832 || test ! -s conftest.err'
2833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2834 (eval $ac_try) 2>&5
2835 ac_status=$?
2836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2837 (exit $ac_status); }; } &&
2838 { ac_try='test -s conftest.$ac_objext'
2839 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2840 (eval $ac_try) 2>&5
2841 ac_status=$?
2842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2843 (exit $ac_status); }; }; then
2844 ac_cv_prog_cc_stdc=$ac_arg
2845 break
2846 else
2847 echo "$as_me: failed program was:" >&5
2848 sed 's/^/| /' conftest.$ac_ext >&5
2849
2850 fi
2851 rm -f conftest.err conftest.$ac_objext
2852 done
2853 rm -f conftest.$ac_ext conftest.$ac_objext
2854 CC=$ac_save_CC
2855
2856 fi
2857
2858 case "x$ac_cv_prog_cc_stdc" in
2859 x|xno)
2860 echo "$as_me:$LINENO: result: none needed" >&5
2861 echo "${ECHO_T}none needed" >&6 ;;
2862 *)
2863 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2864 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2865 CC="$CC $ac_cv_prog_cc_stdc" ;;
2866 esac
2867
2868 # Some people use a C++ compiler to compile C. Since we use `exit',
2869 # in C++ we need to declare it. In case someone uses the same compiler
2870 # for both compiling C and C++ we need to have the C++ compiler decide
2871 # the declaration of exit, since it's the most demanding environment.
2872 cat >conftest.$ac_ext <<_ACEOF
2873 #ifndef __cplusplus
2874 choke me
2875 #endif
2876 _ACEOF
2877 rm -f conftest.$ac_objext
2878 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2879 (eval $ac_compile) 2>conftest.er1
2880 ac_status=$?
2881 grep -v '^ *+' conftest.er1 >conftest.err
2882 rm -f conftest.er1
2883 cat conftest.err >&5
2884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2885 (exit $ac_status); } &&
2886 { ac_try='test -z "$ac_c_werror_flag"
2887 || test ! -s conftest.err'
2888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2889 (eval $ac_try) 2>&5
2890 ac_status=$?
2891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2892 (exit $ac_status); }; } &&
2893 { ac_try='test -s conftest.$ac_objext'
2894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2895 (eval $ac_try) 2>&5
2896 ac_status=$?
2897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2898 (exit $ac_status); }; }; then
2899 for ac_declaration in \
2900 '' \
2901 'extern "C" void std::exit (int) throw (); using std::exit;' \
2902 'extern "C" void std::exit (int); using std::exit;' \
2903 'extern "C" void exit (int) throw ();' \
2904 'extern "C" void exit (int);' \
2905 'void exit (int);'
2906 do
2907 cat >conftest.$ac_ext <<_ACEOF
2908 /* confdefs.h. */
2909 _ACEOF
2910 cat confdefs.h >>conftest.$ac_ext
2911 cat >>conftest.$ac_ext <<_ACEOF
2912 /* end confdefs.h. */
2913 $ac_declaration
2914 #include <stdlib.h>
2915 int
2916 main ()
2917 {
2918 exit (42);
2919 ;
2920 return 0;
2921 }
2922 _ACEOF
2923 rm -f conftest.$ac_objext
2924 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2925 (eval $ac_compile) 2>conftest.er1
2926 ac_status=$?
2927 grep -v '^ *+' conftest.er1 >conftest.err
2928 rm -f conftest.er1
2929 cat conftest.err >&5
2930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2931 (exit $ac_status); } &&
2932 { ac_try='test -z "$ac_c_werror_flag"
2933 || test ! -s conftest.err'
2934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2935 (eval $ac_try) 2>&5
2936 ac_status=$?
2937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2938 (exit $ac_status); }; } &&
2939 { ac_try='test -s conftest.$ac_objext'
2940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2941 (eval $ac_try) 2>&5
2942 ac_status=$?
2943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2944 (exit $ac_status); }; }; then
2945 :
2946 else
2947 echo "$as_me: failed program was:" >&5
2948 sed 's/^/| /' conftest.$ac_ext >&5
2949
2950 continue
2951 fi
2952 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2953 cat >conftest.$ac_ext <<_ACEOF
2954 /* confdefs.h. */
2955 _ACEOF
2956 cat confdefs.h >>conftest.$ac_ext
2957 cat >>conftest.$ac_ext <<_ACEOF
2958 /* end confdefs.h. */
2959 $ac_declaration
2960 int
2961 main ()
2962 {
2963 exit (42);
2964 ;
2965 return 0;
2966 }
2967 _ACEOF
2968 rm -f conftest.$ac_objext
2969 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2970 (eval $ac_compile) 2>conftest.er1
2971 ac_status=$?
2972 grep -v '^ *+' conftest.er1 >conftest.err
2973 rm -f conftest.er1
2974 cat conftest.err >&5
2975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2976 (exit $ac_status); } &&
2977 { ac_try='test -z "$ac_c_werror_flag"
2978 || test ! -s conftest.err'
2979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2980 (eval $ac_try) 2>&5
2981 ac_status=$?
2982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2983 (exit $ac_status); }; } &&
2984 { ac_try='test -s conftest.$ac_objext'
2985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2986 (eval $ac_try) 2>&5
2987 ac_status=$?
2988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2989 (exit $ac_status); }; }; then
2990 break
2991 else
2992 echo "$as_me: failed program was:" >&5
2993 sed 's/^/| /' conftest.$ac_ext >&5
2994
2995 fi
2996 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2997 done
2998 rm -f conftest*
2999 if test -n "$ac_declaration"; then
3000 echo '#ifdef __cplusplus' >>confdefs.h
3001 echo $ac_declaration >>confdefs.h
3002 echo '#endif' >>confdefs.h
3003 fi
3004
3005 else
3006 echo "$as_me: failed program was:" >&5
3007 sed 's/^/| /' conftest.$ac_ext >&5
3008
3009 fi
3010 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3011 ac_ext=c
3012 ac_cpp='$CPP $CPPFLAGS'
3013 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3014 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3015 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3016
3017 ac_ext=cc
3018 ac_cpp='$CXXCPP $CPPFLAGS'
3019 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3020 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3021 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3022 if test -n "$ac_tool_prefix"; then
3023 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
3024 do
3025 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3026 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3027 echo "$as_me:$LINENO: checking for $ac_word" >&5
3028 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3029 if test "${glibcxx_cv_prog_CXX+set}" = set; then
3030 echo $ECHO_N "(cached) $ECHO_C" >&6
3031 else
3032 if test -n "$CXX"; then
3033 glibcxx_cv_prog_CXX="$CXX" # Let the user override the test.
3034 else
3035 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3036 for as_dir in $PATH
3037 do
3038 IFS=$as_save_IFS
3039 test -z "$as_dir" && as_dir=.
3040 for ac_exec_ext in '' $ac_executable_extensions; do
3041 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3042 glibcxx_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3043 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3044 break 2
3045 fi
3046 done
3047 done
3048
3049 fi
3050 fi
3051 CXX=$glibcxx_cv_prog_CXX
3052 if test -n "$CXX"; then
3053 echo "$as_me:$LINENO: result: $CXX" >&5
3054 echo "${ECHO_T}$CXX" >&6
3055 else
3056 echo "$as_me:$LINENO: result: no" >&5
3057 echo "${ECHO_T}no" >&6
3058 fi
3059
3060 test -n "$CXX" && break
3061 done
3062 fi
3063 if test -z "$CXX"; then
3064 ac_ct_CXX=$CXX
3065 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
3066 do
3067 # Extract the first word of "$ac_prog", so it can be a program name with args.
3068 set dummy $ac_prog; ac_word=$2
3069 echo "$as_me:$LINENO: checking for $ac_word" >&5
3070 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3071 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
3072 echo $ECHO_N "(cached) $ECHO_C" >&6
3073 else
3074 if test -n "$ac_ct_CXX"; then
3075 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3076 else
3077 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3078 for as_dir in $PATH
3079 do
3080 IFS=$as_save_IFS
3081 test -z "$as_dir" && as_dir=.
3082 for ac_exec_ext in '' $ac_executable_extensions; do
3083 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3084 ac_cv_prog_ac_ct_CXX="$ac_prog"
3085 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3086 break 2
3087 fi
3088 done
3089 done
3090
3091 fi
3092 fi
3093 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3094 if test -n "$ac_ct_CXX"; then
3095 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
3096 echo "${ECHO_T}$ac_ct_CXX" >&6
3097 else
3098 echo "$as_me:$LINENO: result: no" >&5
3099 echo "${ECHO_T}no" >&6
3100 fi
3101
3102 test -n "$ac_ct_CXX" && break
3103 done
3104 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
3105
3106 CXX=$ac_ct_CXX
3107 fi
3108
3109
3110 # Provide some information about the compiler.
3111 echo "$as_me:$LINENO:" \
3112 "checking for C++ compiler version" >&5
3113 ac_compiler=`set X $ac_compile; echo $2`
3114 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
3115 (eval $ac_compiler --version </dev/null >&5) 2>&5
3116 ac_status=$?
3117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3118 (exit $ac_status); }
3119 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
3120 (eval $ac_compiler -v </dev/null >&5) 2>&5
3121 ac_status=$?
3122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3123 (exit $ac_status); }
3124 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
3125 (eval $ac_compiler -V </dev/null >&5) 2>&5
3126 ac_status=$?
3127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3128 (exit $ac_status); }
3129
3130 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
3131 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
3132 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
3133 echo $ECHO_N "(cached) $ECHO_C" >&6
3134 else
3135 cat >conftest.$ac_ext <<_ACEOF
3136 /* confdefs.h. */
3137 _ACEOF
3138 cat confdefs.h >>conftest.$ac_ext
3139 cat >>conftest.$ac_ext <<_ACEOF
3140 /* end confdefs.h. */
3141
3142 int
3143 main ()
3144 {
3145 #ifndef __GNUC__
3146 choke me
3147 #endif
3148
3149 ;
3150 return 0;
3151 }
3152 _ACEOF
3153 rm -f conftest.$ac_objext
3154 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3155 (eval $ac_compile) 2>conftest.er1
3156 ac_status=$?
3157 grep -v '^ *+' conftest.er1 >conftest.err
3158 rm -f conftest.er1
3159 cat conftest.err >&5
3160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3161 (exit $ac_status); } &&
3162 { ac_try='test -z "$ac_cxx_werror_flag"
3163 || test ! -s conftest.err'
3164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3165 (eval $ac_try) 2>&5
3166 ac_status=$?
3167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3168 (exit $ac_status); }; } &&
3169 { ac_try='test -s conftest.$ac_objext'
3170 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3171 (eval $ac_try) 2>&5
3172 ac_status=$?
3173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3174 (exit $ac_status); }; }; then
3175 ac_compiler_gnu=yes
3176 else
3177 echo "$as_me: failed program was:" >&5
3178 sed 's/^/| /' conftest.$ac_ext >&5
3179
3180 ac_compiler_gnu=no
3181 fi
3182 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3183 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3184
3185 fi
3186 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
3187 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
3188 GXX=`test $ac_compiler_gnu = yes && echo yes`
3189 ac_test_CXXFLAGS=${CXXFLAGS+set}
3190 ac_save_CXXFLAGS=$CXXFLAGS
3191 CXXFLAGS="-g"
3192 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
3193 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
3194 if test "${ac_cv_prog_cxx_g+set}" = set; then
3195 echo $ECHO_N "(cached) $ECHO_C" >&6
3196 else
3197 cat >conftest.$ac_ext <<_ACEOF
3198 /* confdefs.h. */
3199 _ACEOF
3200 cat confdefs.h >>conftest.$ac_ext
3201 cat >>conftest.$ac_ext <<_ACEOF
3202 /* end confdefs.h. */
3203
3204 int
3205 main ()
3206 {
3207
3208 ;
3209 return 0;
3210 }
3211 _ACEOF
3212 rm -f conftest.$ac_objext
3213 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3214 (eval $ac_compile) 2>conftest.er1
3215 ac_status=$?
3216 grep -v '^ *+' conftest.er1 >conftest.err
3217 rm -f conftest.er1
3218 cat conftest.err >&5
3219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3220 (exit $ac_status); } &&
3221 { ac_try='test -z "$ac_cxx_werror_flag"
3222 || test ! -s conftest.err'
3223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3224 (eval $ac_try) 2>&5
3225 ac_status=$?
3226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3227 (exit $ac_status); }; } &&
3228 { ac_try='test -s conftest.$ac_objext'
3229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3230 (eval $ac_try) 2>&5
3231 ac_status=$?
3232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3233 (exit $ac_status); }; }; then
3234 ac_cv_prog_cxx_g=yes
3235 else
3236 echo "$as_me: failed program was:" >&5
3237 sed 's/^/| /' conftest.$ac_ext >&5
3238
3239 ac_cv_prog_cxx_g=no
3240 fi
3241 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3242 fi
3243 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
3244 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
3245 if test "$ac_test_CXXFLAGS" = set; then
3246 CXXFLAGS=$ac_save_CXXFLAGS
3247 elif test $ac_cv_prog_cxx_g = yes; then
3248 if test "$GXX" = yes; then
3249 CXXFLAGS="-g -O2"
3250 else
3251 CXXFLAGS="-g"
3252 fi
3253 else
3254 if test "$GXX" = yes; then
3255 CXXFLAGS="-O2"
3256 else
3257 CXXFLAGS=
3258 fi
3259 fi
3260 for ac_declaration in \
3261 '' \
3262 'extern "C" void std::exit (int) throw (); using std::exit;' \
3263 'extern "C" void std::exit (int); using std::exit;' \
3264 'extern "C" void exit (int) throw ();' \
3265 'extern "C" void exit (int);' \
3266 'void exit (int);'
3267 do
3268 cat >conftest.$ac_ext <<_ACEOF
3269 /* confdefs.h. */
3270 _ACEOF
3271 cat confdefs.h >>conftest.$ac_ext
3272 cat >>conftest.$ac_ext <<_ACEOF
3273 /* end confdefs.h. */
3274 $ac_declaration
3275 #include <stdlib.h>
3276 int
3277 main ()
3278 {
3279 exit (42);
3280 ;
3281 return 0;
3282 }
3283 _ACEOF
3284 rm -f conftest.$ac_objext
3285 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3286 (eval $ac_compile) 2>conftest.er1
3287 ac_status=$?
3288 grep -v '^ *+' conftest.er1 >conftest.err
3289 rm -f conftest.er1
3290 cat conftest.err >&5
3291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3292 (exit $ac_status); } &&
3293 { ac_try='test -z "$ac_cxx_werror_flag"
3294 || test ! -s conftest.err'
3295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3296 (eval $ac_try) 2>&5
3297 ac_status=$?
3298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3299 (exit $ac_status); }; } &&
3300 { ac_try='test -s conftest.$ac_objext'
3301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3302 (eval $ac_try) 2>&5
3303 ac_status=$?
3304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3305 (exit $ac_status); }; }; then
3306 :
3307 else
3308 echo "$as_me: failed program was:" >&5
3309 sed 's/^/| /' conftest.$ac_ext >&5
3310
3311 continue
3312 fi
3313 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3314 cat >conftest.$ac_ext <<_ACEOF
3315 /* confdefs.h. */
3316 _ACEOF
3317 cat confdefs.h >>conftest.$ac_ext
3318 cat >>conftest.$ac_ext <<_ACEOF
3319 /* end confdefs.h. */
3320 $ac_declaration
3321 int
3322 main ()
3323 {
3324 exit (42);
3325 ;
3326 return 0;
3327 }
3328 _ACEOF
3329 rm -f conftest.$ac_objext
3330 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3331 (eval $ac_compile) 2>conftest.er1
3332 ac_status=$?
3333 grep -v '^ *+' conftest.er1 >conftest.err
3334 rm -f conftest.er1
3335 cat conftest.err >&5
3336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3337 (exit $ac_status); } &&
3338 { ac_try='test -z "$ac_cxx_werror_flag"
3339 || test ! -s conftest.err'
3340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3341 (eval $ac_try) 2>&5
3342 ac_status=$?
3343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3344 (exit $ac_status); }; } &&
3345 { ac_try='test -s conftest.$ac_objext'
3346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3347 (eval $ac_try) 2>&5
3348 ac_status=$?
3349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3350 (exit $ac_status); }; }; then
3351 break
3352 else
3353 echo "$as_me: failed program was:" >&5
3354 sed 's/^/| /' conftest.$ac_ext >&5
3355
3356 fi
3357 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3358 done
3359 rm -f conftest*
3360 if test -n "$ac_declaration"; then
3361 echo '#ifdef __cplusplus' >>confdefs.h
3362 echo $ac_declaration >>confdefs.h
3363 echo '#endif' >>confdefs.h
3364 fi
3365
3366 ac_ext=c
3367 ac_cpp='$CPP $CPPFLAGS'
3368 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3369 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3370 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3371
3372 CXXFLAGS="$save_CXXFLAGS"
3373
3374
3375
3376
3377 # Will set LN_S to either 'ln -s', 'ln', or 'cp -p' (if linking isn't
3378 # available). Uncomment the next line to force a particular method.
3379 echo "$as_me:$LINENO: checking whether ln -s works" >&5
3380 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
3381 LN_S=$as_ln_s
3382 if test "$LN_S" = "ln -s"; then
3383 echo "$as_me:$LINENO: result: yes" >&5
3384 echo "${ECHO_T}yes" >&6
3385 else
3386 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3387 echo "${ECHO_T}no, using $LN_S" >&6
3388 fi
3389
3390 #LN_S='cp -p'
3391
3392 if test -n "$ac_tool_prefix"; then
3393 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
3394 set dummy ${ac_tool_prefix}as; ac_word=$2
3395 echo "$as_me:$LINENO: checking for $ac_word" >&5
3396 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3397 if test "${ac_cv_prog_AS+set}" = set; then
3398 echo $ECHO_N "(cached) $ECHO_C" >&6
3399 else
3400 if test -n "$AS"; then
3401 ac_cv_prog_AS="$AS" # Let the user override the test.
3402 else
3403 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3404 for as_dir in $PATH
3405 do
3406 IFS=$as_save_IFS
3407 test -z "$as_dir" && as_dir=.
3408 for ac_exec_ext in '' $ac_executable_extensions; do
3409 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3410 ac_cv_prog_AS="${ac_tool_prefix}as"
3411 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3412 break 2
3413 fi
3414 done
3415 done
3416
3417 fi
3418 fi
3419 AS=$ac_cv_prog_AS
3420 if test -n "$AS"; then
3421 echo "$as_me:$LINENO: result: $AS" >&5
3422 echo "${ECHO_T}$AS" >&6
3423 else
3424 echo "$as_me:$LINENO: result: no" >&5
3425 echo "${ECHO_T}no" >&6
3426 fi
3427
3428 fi
3429 if test -z "$ac_cv_prog_AS"; then
3430 ac_ct_AS=$AS
3431 # Extract the first word of "as", so it can be a program name with args.
3432 set dummy as; ac_word=$2
3433 echo "$as_me:$LINENO: checking for $ac_word" >&5
3434 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3435 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
3436 echo $ECHO_N "(cached) $ECHO_C" >&6
3437 else
3438 if test -n "$ac_ct_AS"; then
3439 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
3440 else
3441 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3442 for as_dir in $PATH
3443 do
3444 IFS=$as_save_IFS
3445 test -z "$as_dir" && as_dir=.
3446 for ac_exec_ext in '' $ac_executable_extensions; do
3447 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3448 ac_cv_prog_ac_ct_AS="as"
3449 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3450 break 2
3451 fi
3452 done
3453 done
3454
3455 fi
3456 fi
3457 ac_ct_AS=$ac_cv_prog_ac_ct_AS
3458 if test -n "$ac_ct_AS"; then
3459 echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
3460 echo "${ECHO_T}$ac_ct_AS" >&6
3461 else
3462 echo "$as_me:$LINENO: result: no" >&5
3463 echo "${ECHO_T}no" >&6
3464 fi
3465
3466 AS=$ac_ct_AS
3467 else
3468 AS="$ac_cv_prog_AS"
3469 fi
3470
3471 if test -n "$ac_tool_prefix"; then
3472 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
3473 set dummy ${ac_tool_prefix}ar; ac_word=$2
3474 echo "$as_me:$LINENO: checking for $ac_word" >&5
3475 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3476 if test "${ac_cv_prog_AR+set}" = set; then
3477 echo $ECHO_N "(cached) $ECHO_C" >&6
3478 else
3479 if test -n "$AR"; then
3480 ac_cv_prog_AR="$AR" # Let the user override the test.
3481 else
3482 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3483 for as_dir in $PATH
3484 do
3485 IFS=$as_save_IFS
3486 test -z "$as_dir" && as_dir=.
3487 for ac_exec_ext in '' $ac_executable_extensions; do
3488 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3489 ac_cv_prog_AR="${ac_tool_prefix}ar"
3490 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3491 break 2
3492 fi
3493 done
3494 done
3495
3496 fi
3497 fi
3498 AR=$ac_cv_prog_AR
3499 if test -n "$AR"; then
3500 echo "$as_me:$LINENO: result: $AR" >&5
3501 echo "${ECHO_T}$AR" >&6
3502 else
3503 echo "$as_me:$LINENO: result: no" >&5
3504 echo "${ECHO_T}no" >&6
3505 fi
3506
3507 fi
3508 if test -z "$ac_cv_prog_AR"; then
3509 ac_ct_AR=$AR
3510 # Extract the first word of "ar", so it can be a program name with args.
3511 set dummy ar; ac_word=$2
3512 echo "$as_me:$LINENO: checking for $ac_word" >&5
3513 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3514 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
3515 echo $ECHO_N "(cached) $ECHO_C" >&6
3516 else
3517 if test -n "$ac_ct_AR"; then
3518 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
3519 else
3520 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3521 for as_dir in $PATH
3522 do
3523 IFS=$as_save_IFS
3524 test -z "$as_dir" && as_dir=.
3525 for ac_exec_ext in '' $ac_executable_extensions; do
3526 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3527 ac_cv_prog_ac_ct_AR="ar"
3528 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3529 break 2
3530 fi
3531 done
3532 done
3533
3534 fi
3535 fi
3536 ac_ct_AR=$ac_cv_prog_ac_ct_AR
3537 if test -n "$ac_ct_AR"; then
3538 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
3539 echo "${ECHO_T}$ac_ct_AR" >&6
3540 else
3541 echo "$as_me:$LINENO: result: no" >&5
3542 echo "${ECHO_T}no" >&6
3543 fi
3544
3545 AR=$ac_ct_AR
3546 else
3547 AR="$ac_cv_prog_AR"
3548 fi
3549
3550 if test -n "$ac_tool_prefix"; then
3551 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3552 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3553 echo "$as_me:$LINENO: checking for $ac_word" >&5
3554 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3555 if test "${ac_cv_prog_RANLIB+set}" = set; then
3556 echo $ECHO_N "(cached) $ECHO_C" >&6
3557 else
3558 if test -n "$RANLIB"; then
3559 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
3560 else
3561 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3562 for as_dir in $PATH
3563 do
3564 IFS=$as_save_IFS
3565 test -z "$as_dir" && as_dir=.
3566 for ac_exec_ext in '' $ac_executable_extensions; do
3567 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3568 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
3569 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3570 break 2
3571 fi
3572 done
3573 done
3574
3575 fi
3576 fi
3577 RANLIB=$ac_cv_prog_RANLIB
3578 if test -n "$RANLIB"; then
3579 echo "$as_me:$LINENO: result: $RANLIB" >&5
3580 echo "${ECHO_T}$RANLIB" >&6
3581 else
3582 echo "$as_me:$LINENO: result: no" >&5
3583 echo "${ECHO_T}no" >&6
3584 fi
3585
3586 fi
3587 if test -z "$ac_cv_prog_RANLIB"; then
3588 ac_ct_RANLIB=$RANLIB
3589 # Extract the first word of "ranlib", so it can be a program name with args.
3590 set dummy ranlib; ac_word=$2
3591 echo "$as_me:$LINENO: checking for $ac_word" >&5
3592 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3593 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3594 echo $ECHO_N "(cached) $ECHO_C" >&6
3595 else
3596 if test -n "$ac_ct_RANLIB"; then
3597 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
3598 else
3599 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3600 for as_dir in $PATH
3601 do
3602 IFS=$as_save_IFS
3603 test -z "$as_dir" && as_dir=.
3604 for ac_exec_ext in '' $ac_executable_extensions; do
3605 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3606 ac_cv_prog_ac_ct_RANLIB="ranlib"
3607 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3608 break 2
3609 fi
3610 done
3611 done
3612
3613 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB="ranlib-not-found-in-path-error"
3614 fi
3615 fi
3616 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
3617 if test -n "$ac_ct_RANLIB"; then
3618 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3619 echo "${ECHO_T}$ac_ct_RANLIB" >&6
3620 else
3621 echo "$as_me:$LINENO: result: no" >&5
3622 echo "${ECHO_T}no" >&6
3623 fi
3624
3625 RANLIB=$ac_ct_RANLIB
3626 else
3627 RANLIB="$ac_cv_prog_RANLIB"
3628 fi
3629
3630
3631 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
3632 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
3633 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
3634 if test "${enable_maintainer_mode+set}" = set; then
3635 enableval="$enable_maintainer_mode"
3636 USE_MAINTAINER_MODE=$enableval
3637 else
3638 USE_MAINTAINER_MODE=no
3639 fi;
3640 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
3641 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
3642
3643
3644 if test $USE_MAINTAINER_MODE = yes; then
3645 MAINTAINER_MODE_TRUE=
3646 MAINTAINER_MODE_FALSE='#'
3647 else
3648 MAINTAINER_MODE_TRUE='#'
3649 MAINTAINER_MODE_FALSE=
3650 fi
3651
3652 MAINT=$MAINTAINER_MODE_TRUE
3653
3654
3655
3656 # Set up safe default values for all subsequent AM_CONDITIONAL tests
3657 # which are themselves conditionally expanded.
3658 ## (Right now, this only matters for enable_wchar_t, but nothing prevents
3659 ## other macros from doing the same. This should be automated.) -pme
3660 need_libmath=no
3661
3662 # Find platform-specific directories containing configuration info.
3663 # Also possibly modify flags used elsewhere, as needed by the platform.
3664
3665 . $glibcxx_srcdir/configure.host
3666 { echo "$as_me:$LINENO: CPU config directory is $cpu_include_dir" >&5
3667 echo "$as_me: CPU config directory is $cpu_include_dir" >&6;}
3668 { echo "$as_me:$LINENO: OS config directory is $os_include_dir" >&5
3669 echo "$as_me: OS config directory is $os_include_dir" >&6;}
3670
3671
3672
3673
3674 # Check whether --enable-shared or --disable-shared was given.
3675 if test "${enable_shared+set}" = set; then
3676 enableval="$enable_shared"
3677 p=${PACKAGE-default}
3678 case $enableval in
3679 yes) enable_shared=yes ;;
3680 no) enable_shared=no ;;
3681 *)
3682 enable_shared=no
3683 # Look at the argument we got. We use all the common list separators.
3684 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
3685 for pkg in $enableval; do
3686 if test "X$pkg" = "X$p"; then
3687 enable_shared=yes
3688 fi
3689 done
3690 IFS="$ac_save_ifs"
3691 ;;
3692 esac
3693 else
3694 enable_shared=yes
3695 fi;
3696 # Check whether --enable-static or --disable-static was given.
3697 if test "${enable_static+set}" = set; then
3698 enableval="$enable_static"
3699 p=${PACKAGE-default}
3700 case $enableval in
3701 yes) enable_static=yes ;;
3702 no) enable_static=no ;;
3703 *)
3704 enable_static=no
3705 # Look at the argument we got. We use all the common list separators.
3706 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
3707 for pkg in $enableval; do
3708 if test "X$pkg" = "X$p"; then
3709 enable_static=yes
3710 fi
3711 done
3712 IFS="$ac_save_ifs"
3713 ;;
3714 esac
3715 else
3716 enable_static=yes
3717 fi;
3718 # Check whether --enable-fast-install or --disable-fast-install was given.
3719 if test "${enable_fast_install+set}" = set; then
3720 enableval="$enable_fast_install"
3721 p=${PACKAGE-default}
3722 case $enableval in
3723 yes) enable_fast_install=yes ;;
3724 no) enable_fast_install=no ;;
3725 *)
3726 enable_fast_install=no
3727 # Look at the argument we got. We use all the common list separators.
3728 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
3729 for pkg in $enableval; do
3730 if test "X$pkg" = "X$p"; then
3731 enable_fast_install=yes
3732 fi
3733 done
3734 IFS="$ac_save_ifs"
3735 ;;
3736 esac
3737 else
3738 enable_fast_install=yes
3739 fi;
3740
3741 # Check whether --with-gnu-ld or --without-gnu-ld was given.
3742 if test "${with_gnu_ld+set}" = set; then
3743 withval="$with_gnu_ld"
3744 test "$withval" = no || with_gnu_ld=yes
3745 else
3746 with_gnu_ld=no
3747 fi;
3748 ac_prog=ld
3749 if test "$GCC" = yes; then
3750 # Check if gcc -print-prog-name=ld gives a path.
3751 echo "$as_me:$LINENO: checking for ld used by GCC" >&5
3752 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
3753 case $host in
3754 *-*-mingw*)
3755 # gcc leaves a trailing carriage return which upsets mingw
3756 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
3757 *)
3758 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
3759 esac
3760 case $ac_prog in
3761 # Accept absolute paths.
3762 [\\/]* | [A-Za-z]:[\\/]*)
3763 re_direlt='/[^/][^/]*/\.\./'
3764 # Canonicalize the path of ld
3765 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
3766 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
3767 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
3768 done
3769 test -z "$LD" && LD="$ac_prog"
3770 ;;
3771 "")
3772 # If it fails, then pretend we aren't using GCC.
3773 ac_prog=ld
3774 ;;
3775 *)
3776 # If it is relative, then search for the first ld in PATH.
3777 with_gnu_ld=unknown
3778 ;;
3779 esac
3780 elif test "$with_gnu_ld" = yes; then
3781 echo "$as_me:$LINENO: checking for GNU ld" >&5
3782 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
3783 else
3784 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
3785 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
3786 fi
3787 if test "${lt_cv_path_LD+set}" = set; then
3788 echo $ECHO_N "(cached) $ECHO_C" >&6
3789 else
3790 if test -z "$LD"; then
3791 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
3792 for ac_dir in $PATH; do
3793 test -z "$ac_dir" && ac_dir=.
3794 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
3795 lt_cv_path_LD="$ac_dir/$ac_prog"
3796 # Check to see if the program is GNU ld. I'd rather use --version,
3797 # but apparently some GNU ld's only accept -v.
3798 # Break only if it was the GNU/non-GNU ld that we prefer.
3799 if "$lt_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
3800 test "$with_gnu_ld" != no && break
3801 else
3802 test "$with_gnu_ld" != yes && break
3803 fi
3804 fi
3805 done
3806 IFS="$ac_save_ifs"
3807 else
3808 lt_cv_path_LD="$LD" # Let the user override the test with a path.
3809 fi
3810 fi
3811
3812 LD="$lt_cv_path_LD"
3813 if test -n "$LD"; then
3814 echo "$as_me:$LINENO: result: $LD" >&5
3815 echo "${ECHO_T}$LD" >&6
3816 else
3817 echo "$as_me:$LINENO: result: no" >&5
3818 echo "${ECHO_T}no" >&6
3819 fi
3820 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
3821 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
3822 { (exit 1); exit 1; }; }
3823 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
3824 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
3825 if test "${lt_cv_prog_gnu_ld+set}" = set; then
3826 echo $ECHO_N "(cached) $ECHO_C" >&6
3827 else
3828 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
3829 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
3830 lt_cv_prog_gnu_ld=yes
3831 else
3832 lt_cv_prog_gnu_ld=no
3833 fi
3834 fi
3835 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
3836 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
3837 with_gnu_ld=$lt_cv_prog_gnu_ld
3838
3839
3840 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
3841 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
3842 if test "${lt_cv_ld_reload_flag+set}" = set; then
3843 echo $ECHO_N "(cached) $ECHO_C" >&6
3844 else
3845 lt_cv_ld_reload_flag='-r'
3846 fi
3847 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
3848 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
3849 reload_flag=$lt_cv_ld_reload_flag
3850 test -n "$reload_flag" && reload_flag=" $reload_flag"
3851
3852 echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
3853 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
3854 if test "${lt_cv_path_NM+set}" = set; then
3855 echo $ECHO_N "(cached) $ECHO_C" >&6
3856 else
3857 if test -n "$NM"; then
3858 # Let the user override the test.
3859 lt_cv_path_NM="$NM"
3860 else
3861 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
3862 for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
3863 test -z "$ac_dir" && ac_dir=.
3864 tmp_nm=$ac_dir/${ac_tool_prefix}nm
3865 if test -f $tmp_nm || test -f $tmp_nm$ac_exeext ; then
3866 # Check to see if the nm accepts a BSD-compat flag.
3867 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
3868 # nm: unknown option "B" ignored
3869 # Tru64's nm complains that /dev/null is an invalid object file
3870 if ($tmp_nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep '(/dev/null|Invalid file or object type)' >/dev/null; then
3871 lt_cv_path_NM="$tmp_nm -B"
3872 break
3873 elif ($tmp_nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
3874 lt_cv_path_NM="$tmp_nm -p"
3875 break
3876 else
3877 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
3878 continue # so that we can try to find one that supports BSD flags
3879 fi
3880 fi
3881 done
3882 IFS="$ac_save_ifs"
3883 test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
3884 fi
3885 fi
3886
3887 NM="$lt_cv_path_NM"
3888 echo "$as_me:$LINENO: result: $NM" >&5
3889 echo "${ECHO_T}$NM" >&6
3890
3891 echo "$as_me:$LINENO: checking how to recognise dependant libraries" >&5
3892 echo $ECHO_N "checking how to recognise dependant libraries... $ECHO_C" >&6
3893 if test "${lt_cv_deplibs_check_method+set}" = set; then
3894 echo $ECHO_N "(cached) $ECHO_C" >&6
3895 else
3896 lt_cv_file_magic_cmd='$MAGIC_CMD'
3897 lt_cv_file_magic_test_file=
3898 lt_cv_deplibs_check_method='unknown'
3899 # Need to set the preceding variable on all platforms that support
3900 # interlibrary dependencies.
3901 # 'none' -- dependencies not supported.
3902 # `unknown' -- same as none, but documents that we really don't know.
3903 # 'pass_all' -- all dependencies passed with no checks.
3904 # 'test_compile' -- check by making test program.
3905 # 'file_magic [regex]' -- check by looking for files in library path
3906 # which responds to the $file_magic_cmd with a given egrep regex.
3907 # If you have `file' or equivalent on your system and you're not sure
3908 # whether `pass_all' will *always* work, you probably want this one.
3909
3910 case $host_os in
3911 aix*)
3912 lt_cv_deplibs_check_method=pass_all
3913 ;;
3914
3915 beos*)
3916 lt_cv_deplibs_check_method=pass_all
3917 ;;
3918
3919 bsdi4*)
3920 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
3921 lt_cv_file_magic_cmd='/usr/bin/file -L'
3922 lt_cv_file_magic_test_file=/shlib/libc.so
3923 ;;
3924
3925 cygwin* | mingw* |pw32*)
3926 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
3927 lt_cv_file_magic_cmd='$OBJDUMP -f'
3928 ;;
3929
3930 darwin* | rhapsody*)
3931 # this will be overwritten by pass_all, but leave it in just in case
3932 lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library'
3933 lt_cv_file_magic_cmd='/usr/bin/file -L'
3934 case "$host_os" in
3935 rhapsody* | darwin1.012)
3936 lt_cv_file_magic_test_file='/System/Library/Frameworks/System.framework/System'
3937 ;;
3938 *) # Darwin 1.3 on
3939 lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib'
3940 ;;
3941 esac
3942 lt_cv_deplibs_check_method=pass_all
3943 ;;
3944
3945 freebsd* | kfreebsd*-gnu)
3946 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
3947 case $host_cpu in
3948 i*86 )
3949 # Not sure whether the presence of OpenBSD here was a mistake.
3950 # Let's accept both of them until this is cleared up.
3951 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
3952 lt_cv_file_magic_cmd=/usr/bin/file
3953 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
3954 ;;
3955 esac
3956 else
3957 lt_cv_deplibs_check_method=pass_all
3958 fi
3959 ;;
3960
3961 gnu*)
3962 lt_cv_deplibs_check_method=pass_all
3963 ;;
3964
3965 hpux10.20*|hpux11*)
3966 case $host_cpu in
3967 hppa*)
3968 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
3969 lt_cv_file_magic_cmd=/usr/bin/file
3970 lt_cv_file_magic_test_file=/usr/lib/libc.sl
3971 ;;
3972 ia64*)
3973 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
3974 lt_cv_file_magic_cmd=/usr/bin/file
3975 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
3976 ;;
3977 esac
3978 ;;
3979
3980 irix5* | irix6*)
3981 case $host_os in
3982 irix5*)
3983 # this will be overridden with pass_all, but let us keep it just in case
3984 lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
3985 ;;
3986 *)
3987 case $LD in
3988 *-32|*"-32 ") libmagic=32-bit;;
3989 *-n32|*"-n32 ") libmagic=N32;;
3990 *-64|*"-64 ") libmagic=64-bit;;
3991 *) libmagic=never-match;;
3992 esac
3993 # this will be overridden with pass_all, but let us keep it just in case
3994 lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
3995 ;;
3996 esac
3997 lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`
3998 lt_cv_deplibs_check_method=pass_all
3999 ;;
4000
4001 # This must be Linux ELF.
4002 linux-gnu*)
4003 lt_cv_deplibs_check_method=pass_all
4004 ;;
4005
4006 netbsd* | knetbsd*-gnu)
4007 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
4008 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
4009 else
4010 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so$'
4011 fi
4012 ;;
4013
4014 newsos6)
4015 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
4016 lt_cv_file_magic_cmd=/usr/bin/file
4017 lt_cv_file_magic_test_file=/usr/lib/libnls.so
4018 ;;
4019
4020 osf3* | osf4* | osf5*)
4021 # this will be overridden with pass_all, but let us keep it just in case
4022 lt_cv_deplibs_check_method='file_magic COFF format alpha shared library'
4023 lt_cv_file_magic_test_file=/shlib/libc.so
4024 lt_cv_deplibs_check_method=pass_all
4025 ;;
4026
4027 sco3.2v5*)
4028 lt_cv_deplibs_check_method=pass_all
4029 ;;
4030
4031 solaris*)
4032 lt_cv_deplibs_check_method=pass_all
4033 lt_cv_file_magic_test_file=/lib/libc.so
4034 ;;
4035
4036 sysv5uw[78]* | sysv4*uw2*)
4037 lt_cv_deplibs_check_method=pass_all
4038 ;;
4039
4040 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
4041 case $host_vendor in
4042 ncr)
4043 lt_cv_deplibs_check_method=pass_all
4044 ;;
4045 motorola)
4046 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]'
4047 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
4048 ;;
4049 esac
4050 ;;
4051 esac
4052
4053 fi
4054 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
4055 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
4056 file_magic_cmd=$lt_cv_file_magic_cmd
4057 deplibs_check_method=$lt_cv_deplibs_check_method
4058
4059
4060
4061
4062
4063 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
4064
4065 # find the maximum length of command line arguments
4066 echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
4067 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
4068 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
4069 echo $ECHO_N "(cached) $ECHO_C" >&6
4070 else
4071 i=0
4072 teststring="ABCD"
4073
4074 case $build_os in
4075 msdosdjgpp*)
4076 # On DJGPP, this test can blow up pretty badly due to problems in libc
4077 # (any single argument exceeding 2000 bytes causes a buffer overrun
4078 # during glob expansion). Even if it were fixed, the result of this
4079 # check would be larger than it should be.
4080 lt_cv_sys_max_cmd_len=12288; # 12K is about right
4081 ;;
4082
4083 cygwin* | mingw*)
4084 # On Win9x/ME, this test blows up -- it succeeds, but takes
4085 # about 5 minutes as the teststring grows exponentially.
4086 # Worse, since 9x/ME are not pre-emptively multitasking,
4087 # you end up with a "frozen" computer, even though with patience
4088 # the test eventually succeeds (with a max line length of 256k).
4089 # Instead, let's just punt: use the minimum linelength reported by
4090 # all of the supported platforms: 8192 (on NT/2K/XP).
4091 lt_cv_sys_max_cmd_len=8192;
4092 ;;
4093
4094 amigaos*)
4095 # On AmigaOS with pdksh, this test takes hours, literally.
4096 # So we just punt and use a minimum line length of 8192.
4097 lt_cv_sys_max_cmd_len=8192;
4098 ;;
4099
4100 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
4101 # This has been around since 386BSD, at least. Likely further.
4102 if test -x /sbin/sysctl; then
4103 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
4104 elif test -x /usr/sbin/sysctl; then
4105 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
4106 else
4107 lt_cv_sys_max_cmd_len=65536 # usable default for *BSD
4108 fi
4109 # And add a safety zone
4110 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4111 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4112 ;;
4113 esac
4114
4115 fi
4116
4117 if test -n "$lt_cv_sys_max_cmd_len" ; then
4118 echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
4119 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
4120 else
4121 echo "$as_me:$LINENO: result: none" >&5
4122 echo "${ECHO_T}none" >&6
4123 fi
4124
4125
4126 # Only perform the check for file, if the check method requires it
4127 case $deplibs_check_method in
4128 file_magic*)
4129 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
4130 echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
4131 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
4132 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
4133 echo $ECHO_N "(cached) $ECHO_C" >&6
4134 else
4135 case $MAGIC_CMD in
4136 /*)
4137 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
4138 ;;
4139 ?:/*)
4140 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
4141 ;;
4142 *)
4143 ac_save_MAGIC_CMD="$MAGIC_CMD"
4144 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
4145 ac_dummy="/usr/bin:$PATH"
4146 for ac_dir in $ac_dummy; do
4147 test -z "$ac_dir" && ac_dir=.
4148 if test -f $ac_dir/${ac_tool_prefix}file; then
4149 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
4150 if test -n "$file_magic_test_file"; then
4151 case $deplibs_check_method in
4152 "file_magic "*)
4153 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
4154 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
4155 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
4156 egrep "$file_magic_regex" > /dev/null; then
4157 :
4158 else
4159 cat <<EOF 1>&2
4160
4161 *** Warning: the command libtool uses to detect shared libraries,
4162 *** $file_magic_cmd, produces output that libtool cannot recognize.
4163 *** The result is that libtool may fail to recognize shared libraries
4164 *** as such. This will affect the creation of libtool libraries that
4165 *** depend on shared libraries, but programs linked with such libtool
4166 *** libraries will work regardless of this problem. Nevertheless, you
4167 *** may want to report the problem to your system manager and/or to
4168 *** bug-libtool@gnu.org
4169
4170 EOF
4171 fi ;;
4172 esac
4173 fi
4174 break
4175 fi
4176 done
4177 IFS="$ac_save_ifs"
4178 MAGIC_CMD="$ac_save_MAGIC_CMD"
4179 ;;
4180 esac
4181 fi
4182
4183 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
4184 if test -n "$MAGIC_CMD"; then
4185 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
4186 echo "${ECHO_T}$MAGIC_CMD" >&6
4187 else
4188 echo "$as_me:$LINENO: result: no" >&5
4189 echo "${ECHO_T}no" >&6
4190 fi
4191
4192 if test -z "$lt_cv_path_MAGIC_CMD"; then
4193 if test -n "$ac_tool_prefix"; then
4194 echo "$as_me:$LINENO: checking for file" >&5
4195 echo $ECHO_N "checking for file... $ECHO_C" >&6
4196 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
4197 echo $ECHO_N "(cached) $ECHO_C" >&6
4198 else
4199 case $MAGIC_CMD in
4200 /*)
4201 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
4202 ;;
4203 ?:/*)
4204 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
4205 ;;
4206 *)
4207 ac_save_MAGIC_CMD="$MAGIC_CMD"
4208 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
4209 ac_dummy="/usr/bin:$PATH"
4210 for ac_dir in $ac_dummy; do
4211 test -z "$ac_dir" && ac_dir=.
4212 if test -f $ac_dir/file; then
4213 lt_cv_path_MAGIC_CMD="$ac_dir/file"
4214 if test -n "$file_magic_test_file"; then
4215 case $deplibs_check_method in
4216 "file_magic "*)
4217 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
4218 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
4219 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
4220 egrep "$file_magic_regex" > /dev/null; then
4221 :
4222 else
4223 cat <<EOF 1>&2
4224
4225 *** Warning: the command libtool uses to detect shared libraries,
4226 *** $file_magic_cmd, produces output that libtool cannot recognize.
4227 *** The result is that libtool may fail to recognize shared libraries
4228 *** as such. This will affect the creation of libtool libraries that
4229 *** depend on shared libraries, but programs linked with such libtool
4230 *** libraries will work regardless of this problem. Nevertheless, you
4231 *** may want to report the problem to your system manager and/or to
4232 *** bug-libtool@gnu.org
4233
4234 EOF
4235 fi ;;
4236 esac
4237 fi
4238 break
4239 fi
4240 done
4241 IFS="$ac_save_ifs"
4242 MAGIC_CMD="$ac_save_MAGIC_CMD"
4243 ;;
4244 esac
4245 fi
4246
4247 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
4248 if test -n "$MAGIC_CMD"; then
4249 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
4250 echo "${ECHO_T}$MAGIC_CMD" >&6
4251 else
4252 echo "$as_me:$LINENO: result: no" >&5
4253 echo "${ECHO_T}no" >&6
4254 fi
4255
4256 else
4257 MAGIC_CMD=:
4258 fi
4259 fi
4260
4261 fi
4262 ;;
4263 esac
4264
4265 if test -n "$ac_tool_prefix"; then
4266 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4267 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
4268 echo "$as_me:$LINENO: checking for $ac_word" >&5
4269 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4270 if test "${ac_cv_prog_RANLIB+set}" = set; then
4271 echo $ECHO_N "(cached) $ECHO_C" >&6
4272 else
4273 if test -n "$RANLIB"; then
4274 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
4275 else
4276 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4277 for as_dir in $PATH
4278 do
4279 IFS=$as_save_IFS
4280 test -z "$as_dir" && as_dir=.
4281 for ac_exec_ext in '' $ac_executable_extensions; do
4282 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4283 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
4284 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4285 break 2
4286 fi
4287 done
4288 done
4289
4290 fi
4291 fi
4292 RANLIB=$ac_cv_prog_RANLIB
4293 if test -n "$RANLIB"; then
4294 echo "$as_me:$LINENO: result: $RANLIB" >&5
4295 echo "${ECHO_T}$RANLIB" >&6
4296 else
4297 echo "$as_me:$LINENO: result: no" >&5
4298 echo "${ECHO_T}no" >&6
4299 fi
4300
4301 fi
4302 if test -z "$ac_cv_prog_RANLIB"; then
4303 ac_ct_RANLIB=$RANLIB
4304 # Extract the first word of "ranlib", so it can be a program name with args.
4305 set dummy ranlib; ac_word=$2
4306 echo "$as_me:$LINENO: checking for $ac_word" >&5
4307 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4308 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
4309 echo $ECHO_N "(cached) $ECHO_C" >&6
4310 else
4311 if test -n "$ac_ct_RANLIB"; then
4312 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
4313 else
4314 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4315 for as_dir in $PATH
4316 do
4317 IFS=$as_save_IFS
4318 test -z "$as_dir" && as_dir=.
4319 for ac_exec_ext in '' $ac_executable_extensions; do
4320 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4321 ac_cv_prog_ac_ct_RANLIB="ranlib"
4322 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4323 break 2
4324 fi
4325 done
4326 done
4327
4328 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
4329 fi
4330 fi
4331 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
4332 if test -n "$ac_ct_RANLIB"; then
4333 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
4334 echo "${ECHO_T}$ac_ct_RANLIB" >&6
4335 else
4336 echo "$as_me:$LINENO: result: no" >&5
4337 echo "${ECHO_T}no" >&6
4338 fi
4339
4340 RANLIB=$ac_ct_RANLIB
4341 else
4342 RANLIB="$ac_cv_prog_RANLIB"
4343 fi
4344
4345 if test -n "$ac_tool_prefix"; then
4346 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
4347 set dummy ${ac_tool_prefix}strip; ac_word=$2
4348 echo "$as_me:$LINENO: checking for $ac_word" >&5
4349 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4350 if test "${ac_cv_prog_STRIP+set}" = set; then
4351 echo $ECHO_N "(cached) $ECHO_C" >&6
4352 else
4353 if test -n "$STRIP"; then
4354 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
4355 else
4356 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4357 for as_dir in $PATH
4358 do
4359 IFS=$as_save_IFS
4360 test -z "$as_dir" && as_dir=.
4361 for ac_exec_ext in '' $ac_executable_extensions; do
4362 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4363 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
4364 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4365 break 2
4366 fi
4367 done
4368 done
4369
4370 fi
4371 fi
4372 STRIP=$ac_cv_prog_STRIP
4373 if test -n "$STRIP"; then
4374 echo "$as_me:$LINENO: result: $STRIP" >&5
4375 echo "${ECHO_T}$STRIP" >&6
4376 else
4377 echo "$as_me:$LINENO: result: no" >&5
4378 echo "${ECHO_T}no" >&6
4379 fi
4380
4381 fi
4382 if test -z "$ac_cv_prog_STRIP"; then
4383 ac_ct_STRIP=$STRIP
4384 # Extract the first word of "strip", so it can be a program name with args.
4385 set dummy strip; ac_word=$2
4386 echo "$as_me:$LINENO: checking for $ac_word" >&5
4387 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4388 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
4389 echo $ECHO_N "(cached) $ECHO_C" >&6
4390 else
4391 if test -n "$ac_ct_STRIP"; then
4392 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
4393 else
4394 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4395 for as_dir in $PATH
4396 do
4397 IFS=$as_save_IFS
4398 test -z "$as_dir" && as_dir=.
4399 for ac_exec_ext in '' $ac_executable_extensions; do
4400 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4401 ac_cv_prog_ac_ct_STRIP="strip"
4402 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4403 break 2
4404 fi
4405 done
4406 done
4407
4408 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
4409 fi
4410 fi
4411 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
4412 if test -n "$ac_ct_STRIP"; then
4413 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
4414 echo "${ECHO_T}$ac_ct_STRIP" >&6
4415 else
4416 echo "$as_me:$LINENO: result: no" >&5
4417 echo "${ECHO_T}no" >&6
4418 fi
4419
4420 STRIP=$ac_ct_STRIP
4421 else
4422 STRIP="$ac_cv_prog_STRIP"
4423 fi
4424
4425
4426 # Check for any special flags to pass to ltconfig.
4427 libtool_flags="--cache-file=$cache_file"
4428 test "$enable_shared" = no && libtool_flags="$libtool_flags --disable-shared"
4429 test "$enable_static" = no && libtool_flags="$libtool_flags --disable-static"
4430 test "$enable_fast_install" = no && libtool_flags="$libtool_flags --disable-fast-install"
4431 test "$GCC" = yes && libtool_flags="$libtool_flags --with-gcc"
4432 test "$lt_cv_prog_gnu_ld" = yes && libtool_flags="$libtool_flags --with-gnu-ld"
4433
4434
4435 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
4436 if test "${enable_libtool_lock+set}" = set; then
4437 enableval="$enable_libtool_lock"
4438
4439 fi;
4440 test "x$enable_libtool_lock" = xno && libtool_flags="$libtool_flags --disable-lock"
4441 test x"$silent" = xyes && libtool_flags="$libtool_flags --silent"
4442
4443
4444 # Check whether --with-pic or --without-pic was given.
4445 if test "${with_pic+set}" = set; then
4446 withval="$with_pic"
4447 pic_mode="$withval"
4448 else
4449 pic_mode=default
4450 fi;
4451 test x"$pic_mode" = xyes && libtool_flags="$libtool_flags --prefer-pic"
4452 test x"$pic_mode" = xno && libtool_flags="$libtool_flags --prefer-non-pic"
4453
4454 # Some flags need to be propagated to the compiler or linker for good
4455 # libtool support.
4456 case $host in
4457 *-*-irix6*)
4458 # Find out which ABI we are using.
4459 echo '#line 4459 "configure"' > conftest.$ac_ext
4460 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4461 (eval $ac_compile) 2>&5
4462 ac_status=$?
4463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4464 (exit $ac_status); }; then
4465 if test "$lt_cv_prog_gnu_ld" = yes; then
4466 case `/usr/bin/file conftest.$ac_objext` in
4467 *32-bit*)
4468 LD="${LD-ld} -melf32bsmip"
4469 ;;
4470 *N32*)
4471 LD="${LD-ld} -melf32bmipn32"
4472 ;;
4473 *64-bit*)
4474 LD="${LD-ld} -melf64bmip"
4475 ;;
4476 esac
4477 else
4478 case `/usr/bin/file conftest.$ac_objext` in
4479 *32-bit*)
4480 LD="${LD-ld} -32"
4481 ;;
4482 *N32*)
4483 LD="${LD-ld} -n32"
4484 ;;
4485 *64-bit*)
4486 LD="${LD-ld} -64"
4487 ;;
4488 esac
4489 fi
4490 fi
4491 rm -rf conftest*
4492 ;;
4493
4494 ia64-*-hpux*)
4495 # Find out which ABI we are using.
4496 echo 'int i;' > conftest.$ac_ext
4497 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4498 (eval $ac_compile) 2>&5
4499 ac_status=$?
4500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4501 (exit $ac_status); }; then
4502 case "`/usr/bin/file conftest.o`" in
4503 *ELF-32*)
4504 HPUX_IA64_MODE="32"
4505 ;;
4506 *ELF-64*)
4507 HPUX_IA64_MODE="64"
4508 ;;
4509 esac
4510 fi
4511 rm -rf conftest*
4512 ;;
4513
4514 x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
4515 # Find out which ABI we are using.
4516 echo 'int i;' > conftest.$ac_ext
4517 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4518 (eval $ac_compile) 2>&5
4519 ac_status=$?
4520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4521 (exit $ac_status); }; then
4522 case "`/usr/bin/file conftest.o`" in
4523 *32-bit*)
4524 case $host in
4525 x86_64-*linux*)
4526 LD="${LD-ld} -m elf_i386"
4527 ;;
4528 ppc64-*linux*|powerpc64-*linux*)
4529 LD="${LD-ld} -m elf32ppclinux"
4530 ;;
4531 s390x-*linux*)
4532 LD="${LD-ld} -m elf_s390"
4533 ;;
4534 sparc64-*linux*)
4535 LD="${LD-ld} -m elf32_sparc"
4536 ;;
4537 esac
4538 ;;
4539 *64-bit*)
4540 case $host in
4541 x86_64-*linux*)
4542 LD="${LD-ld} -m elf_x86_64"
4543 ;;
4544 ppc*-*linux*|powerpc*-*linux*)
4545 LD="${LD-ld} -m elf64ppc"
4546 ;;
4547 s390*-*linux*)
4548 LD="${LD-ld} -m elf64_s390"
4549 ;;
4550 sparc*-*linux*)
4551 LD="${LD-ld} -m elf64_sparc"
4552 ;;
4553 esac
4554 ;;
4555 esac
4556 fi
4557 rm -rf conftest*
4558 ;;
4559
4560 *-*-sco3.2v5*)
4561 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
4562 SAVE_CFLAGS="$CFLAGS"
4563 CFLAGS="$CFLAGS -belf"
4564 echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
4565 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
4566 if test "${lt_cv_cc_needs_belf+set}" = set; then
4567 echo $ECHO_N "(cached) $ECHO_C" >&6
4568 else
4569
4570
4571 ac_ext=c
4572 ac_cpp='$CPP $CPPFLAGS'
4573 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4574 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4575 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4576
4577 if test x$gcc_no_link = xyes; then
4578 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
4579 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
4580 { (exit 1); exit 1; }; }
4581 fi
4582 cat >conftest.$ac_ext <<_ACEOF
4583 /* confdefs.h. */
4584 _ACEOF
4585 cat confdefs.h >>conftest.$ac_ext
4586 cat >>conftest.$ac_ext <<_ACEOF
4587 /* end confdefs.h. */
4588
4589 int
4590 main ()
4591 {
4592
4593 ;
4594 return 0;
4595 }
4596 _ACEOF
4597 rm -f conftest.$ac_objext conftest$ac_exeext
4598 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4599 (eval $ac_link) 2>conftest.er1
4600 ac_status=$?
4601 grep -v '^ *+' conftest.er1 >conftest.err
4602 rm -f conftest.er1
4603 cat conftest.err >&5
4604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4605 (exit $ac_status); } &&
4606 { ac_try='test -z "$ac_c_werror_flag"
4607 || test ! -s conftest.err'
4608 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4609 (eval $ac_try) 2>&5
4610 ac_status=$?
4611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4612 (exit $ac_status); }; } &&
4613 { ac_try='test -s conftest$ac_exeext'
4614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4615 (eval $ac_try) 2>&5
4616 ac_status=$?
4617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4618 (exit $ac_status); }; }; then
4619 lt_cv_cc_needs_belf=yes
4620 else
4621 echo "$as_me: failed program was:" >&5
4622 sed 's/^/| /' conftest.$ac_ext >&5
4623
4624 lt_cv_cc_needs_belf=no
4625 fi
4626 rm -f conftest.err conftest.$ac_objext \
4627 conftest$ac_exeext conftest.$ac_ext
4628 ac_ext=c
4629 ac_cpp='$CPP $CPPFLAGS'
4630 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4631 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4632 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4633
4634 fi
4635 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
4636 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
4637 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
4638 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
4639 CFLAGS="$SAVE_CFLAGS"
4640 fi
4641 ;;
4642
4643
4644 esac
4645
4646
4647 # Save cache, so that ltconfig can load it
4648 cat >confcache <<\_ACEOF
4649 # This file is a shell script that caches the results of configure
4650 # tests run on this system so they can be shared between configure
4651 # scripts and configure runs, see configure's option --config-cache.
4652 # It is not useful on other systems. If it contains results you don't
4653 # want to keep, you may remove or edit it.
4654 #
4655 # config.status only pays attention to the cache file if you give it
4656 # the --recheck option to rerun configure.
4657 #
4658 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4659 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4660 # following values.
4661
4662 _ACEOF
4663
4664 # The following way of writing the cache mishandles newlines in values,
4665 # but we know of no workaround that is simple, portable, and efficient.
4666 # So, don't put newlines in cache variables' values.
4667 # Ultrix sh set writes to stderr and can't be redirected directly,
4668 # and sets the high bit in the cache file unless we assign to the vars.
4669 {
4670 (set) 2>&1 |
4671 case `(ac_space=' '; set | grep ac_space) 2>&1` in
4672 *ac_space=\ *)
4673 # `set' does not quote correctly, so add quotes (double-quote
4674 # substitution turns \\\\ into \\, and sed turns \\ into \).
4675 sed -n \
4676 "s/'/'\\\\''/g;
4677 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4678 ;;
4679 *)
4680 # `set' quotes correctly as required by POSIX, so do not add quotes.
4681 sed -n \
4682 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
4683 ;;
4684 esac;
4685 } |
4686 sed '
4687 t clear
4688 : clear
4689 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4690 t end
4691 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4692 : end' >>confcache
4693 if diff $cache_file confcache >/dev/null 2>&1; then :; else
4694 if test -w $cache_file; then
4695 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
4696 cat confcache >$cache_file
4697 else
4698 echo "not updating unwritable cache $cache_file"
4699 fi
4700 fi
4701 rm -f confcache
4702
4703 # Actually configure libtool. ac_aux_dir is where install-sh is found.
4704 AR="$AR" LTCC="$CC" CC="$CC" CFLAGS="$CFLAGS" CPPFLAGS="$CPPFLAGS" \
4705 MAGIC_CMD="$MAGIC_CMD" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
4706 LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
4707 AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
4708 objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
4709 deplibs_check_method="$deplibs_check_method" file_magic_cmd="$file_magic_cmd" \
4710 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig --no-reexec \
4711 $libtool_flags --no-verify --build="$build" $ac_aux_dir/ltmain.sh $host \
4712 || { { echo "$as_me:$LINENO: error: libtool configure failed" >&5
4713 echo "$as_me: error: libtool configure failed" >&2;}
4714 { (exit 1); exit 1; }; }
4715
4716 # Reload cache, that may have been modified by ltconfig
4717 if test -r "$cache_file"; then
4718 # Some versions of bash will fail to source /dev/null (special
4719 # files actually), so we avoid doing that.
4720 if test -f "$cache_file"; then
4721 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
4722 echo "$as_me: loading cache $cache_file" >&6;}
4723 case $cache_file in
4724 [\\/]* | ?:[\\/]* ) . $cache_file;;
4725 *) . ./$cache_file;;
4726 esac
4727 fi
4728 else
4729 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
4730 echo "$as_me: creating cache $cache_file" >&6;}
4731 >$cache_file
4732 fi
4733
4734
4735 # This can be used to rebuild libtool when needed
4736 LIBTOOL_DEPS="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh $ac_aux_dir/ltcf-c.sh"
4737
4738 # Always use our own libtool.
4739 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
4740
4741 # Redirect the config.log output again, so that the ltconfig log is not
4742 # clobbered by the next message.
4743 exec 5>>./config.log
4744
4745 ac_ext=cc
4746 ac_cpp='$CXXCPP $CPPFLAGS'
4747 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4748 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4749 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4750 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
4751 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
4752 if test -z "$CXXCPP"; then
4753 if test "${ac_cv_prog_CXXCPP+set}" = set; then
4754 echo $ECHO_N "(cached) $ECHO_C" >&6
4755 else
4756 # Double quotes because CXXCPP needs to be expanded
4757 for CXXCPP in "$CXX -E" "/lib/cpp"
4758 do
4759 ac_preproc_ok=false
4760 for ac_cxx_preproc_warn_flag in '' yes
4761 do
4762 # Use a header file that comes with gcc, so configuring glibc
4763 # with a fresh cross-compiler works.
4764 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4765 # <limits.h> exists even on freestanding compilers.
4766 # On the NeXT, cc -E runs the code through the compiler's parser,
4767 # not just through cpp. "Syntax error" is here to catch this case.
4768 cat >conftest.$ac_ext <<_ACEOF
4769 /* confdefs.h. */
4770 _ACEOF
4771 cat confdefs.h >>conftest.$ac_ext
4772 cat >>conftest.$ac_ext <<_ACEOF
4773 /* end confdefs.h. */
4774 #ifdef __STDC__
4775 # include <limits.h>
4776 #else
4777 # include <assert.h>
4778 #endif
4779 Syntax error
4780 _ACEOF
4781 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4782 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4783 ac_status=$?
4784 grep -v '^ *+' conftest.er1 >conftest.err
4785 rm -f conftest.er1
4786 cat conftest.err >&5
4787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4788 (exit $ac_status); } >/dev/null; then
4789 if test -s conftest.err; then
4790 ac_cpp_err=$ac_cxx_preproc_warn_flag
4791 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
4792 else
4793 ac_cpp_err=
4794 fi
4795 else
4796 ac_cpp_err=yes
4797 fi
4798 if test -z "$ac_cpp_err"; then
4799 :
4800 else
4801 echo "$as_me: failed program was:" >&5
4802 sed 's/^/| /' conftest.$ac_ext >&5
4803
4804 # Broken: fails on valid input.
4805 continue
4806 fi
4807 rm -f conftest.err conftest.$ac_ext
4808
4809 # OK, works on sane cases. Now check whether non-existent headers
4810 # can be detected and how.
4811 cat >conftest.$ac_ext <<_ACEOF
4812 /* confdefs.h. */
4813 _ACEOF
4814 cat confdefs.h >>conftest.$ac_ext
4815 cat >>conftest.$ac_ext <<_ACEOF
4816 /* end confdefs.h. */
4817 #include <ac_nonexistent.h>
4818 _ACEOF
4819 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4820 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4821 ac_status=$?
4822 grep -v '^ *+' conftest.er1 >conftest.err
4823 rm -f conftest.er1
4824 cat conftest.err >&5
4825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4826 (exit $ac_status); } >/dev/null; then
4827 if test -s conftest.err; then
4828 ac_cpp_err=$ac_cxx_preproc_warn_flag
4829 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
4830 else
4831 ac_cpp_err=
4832 fi
4833 else
4834 ac_cpp_err=yes
4835 fi
4836 if test -z "$ac_cpp_err"; then
4837 # Broken: success on invalid input.
4838 continue
4839 else
4840 echo "$as_me: failed program was:" >&5
4841 sed 's/^/| /' conftest.$ac_ext >&5
4842
4843 # Passes both tests.
4844 ac_preproc_ok=:
4845 break
4846 fi
4847 rm -f conftest.err conftest.$ac_ext
4848
4849 done
4850 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4851 rm -f conftest.err conftest.$ac_ext
4852 if $ac_preproc_ok; then
4853 break
4854 fi
4855
4856 done
4857 ac_cv_prog_CXXCPP=$CXXCPP
4858
4859 fi
4860 CXXCPP=$ac_cv_prog_CXXCPP
4861 else
4862 ac_cv_prog_CXXCPP=$CXXCPP
4863 fi
4864 echo "$as_me:$LINENO: result: $CXXCPP" >&5
4865 echo "${ECHO_T}$CXXCPP" >&6
4866 ac_preproc_ok=false
4867 for ac_cxx_preproc_warn_flag in '' yes
4868 do
4869 # Use a header file that comes with gcc, so configuring glibc
4870 # with a fresh cross-compiler works.
4871 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4872 # <limits.h> exists even on freestanding compilers.
4873 # On the NeXT, cc -E runs the code through the compiler's parser,
4874 # not just through cpp. "Syntax error" is here to catch this case.
4875 cat >conftest.$ac_ext <<_ACEOF
4876 /* confdefs.h. */
4877 _ACEOF
4878 cat confdefs.h >>conftest.$ac_ext
4879 cat >>conftest.$ac_ext <<_ACEOF
4880 /* end confdefs.h. */
4881 #ifdef __STDC__
4882 # include <limits.h>
4883 #else
4884 # include <assert.h>
4885 #endif
4886 Syntax error
4887 _ACEOF
4888 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4889 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4890 ac_status=$?
4891 grep -v '^ *+' conftest.er1 >conftest.err
4892 rm -f conftest.er1
4893 cat conftest.err >&5
4894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4895 (exit $ac_status); } >/dev/null; then
4896 if test -s conftest.err; then
4897 ac_cpp_err=$ac_cxx_preproc_warn_flag
4898 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
4899 else
4900 ac_cpp_err=
4901 fi
4902 else
4903 ac_cpp_err=yes
4904 fi
4905 if test -z "$ac_cpp_err"; then
4906 :
4907 else
4908 echo "$as_me: failed program was:" >&5
4909 sed 's/^/| /' conftest.$ac_ext >&5
4910
4911 # Broken: fails on valid input.
4912 continue
4913 fi
4914 rm -f conftest.err conftest.$ac_ext
4915
4916 # OK, works on sane cases. Now check whether non-existent headers
4917 # can be detected and how.
4918 cat >conftest.$ac_ext <<_ACEOF
4919 /* confdefs.h. */
4920 _ACEOF
4921 cat confdefs.h >>conftest.$ac_ext
4922 cat >>conftest.$ac_ext <<_ACEOF
4923 /* end confdefs.h. */
4924 #include <ac_nonexistent.h>
4925 _ACEOF
4926 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4927 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4928 ac_status=$?
4929 grep -v '^ *+' conftest.er1 >conftest.err
4930 rm -f conftest.er1
4931 cat conftest.err >&5
4932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4933 (exit $ac_status); } >/dev/null; then
4934 if test -s conftest.err; then
4935 ac_cpp_err=$ac_cxx_preproc_warn_flag
4936 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
4937 else
4938 ac_cpp_err=
4939 fi
4940 else
4941 ac_cpp_err=yes
4942 fi
4943 if test -z "$ac_cpp_err"; then
4944 # Broken: success on invalid input.
4945 continue
4946 else
4947 echo "$as_me: failed program was:" >&5
4948 sed 's/^/| /' conftest.$ac_ext >&5
4949
4950 # Passes both tests.
4951 ac_preproc_ok=:
4952 break
4953 fi
4954 rm -f conftest.err conftest.$ac_ext
4955
4956 done
4957 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4958 rm -f conftest.err conftest.$ac_ext
4959 if $ac_preproc_ok; then
4960 :
4961 else
4962 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
4963 See \`config.log' for more details." >&5
4964 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
4965 See \`config.log' for more details." >&2;}
4966 { (exit 1); exit 1; }; }
4967 fi
4968
4969 ac_ext=c
4970 ac_cpp='$CPP $CPPFLAGS'
4971 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4972 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4973 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4974
4975
4976
4977 LIBTOOL_DEPS=$LIBTOOL_DEPS" $ac_aux_dir/ltcf-cxx.sh"
4978 lt_save_CC="$CC"
4979 lt_save_CFLAGS="$CFLAGS"
4980 AR="$AR" LTCC="$CC" CC="$CXX" CXX="$CXX" CFLAGS="$CXXFLAGS" CPPFLAGS="$CPPFLAGS" \
4981 MAGIC_CMD="$MAGIC_CMD" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
4982 LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
4983 AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
4984 objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
4985 deplibs_check_method="$deplibs_check_method" \
4986 file_magic_cmd="$file_magic_cmd" \
4987 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig -o libtool $libtool_flags \
4988 --build="$build" --add-tag=CXX $ac_aux_dir/ltcf-cxx.sh $host \
4989 || { { echo "$as_me:$LINENO: error: libtool tag configuration failed" >&5
4990 echo "$as_me: error: libtool tag configuration failed" >&2;}
4991 { (exit 1); exit 1; }; }
4992 CC="$lt_save_CC"
4993 CFLAGS="$lt_save_CFLAGS"
4994
4995 # Redirect the config.log output again, so that the ltconfig log is not
4996 # clobbered by the next message.
4997 exec 5>>./config.log
4998
4999
5000
5001
5002
5003
5004
5005
5006
5007 # Possibly disable most of the library.
5008 ## TODO: Consider skipping unncessary tests altogether in this case, rather
5009 ## than just ignoring the results. Faster /and/ more correct, win win.
5010
5011 # Check whether --enable-hosted-libstdcxx or --disable-hosted-libstdcxx was given.
5012 if test "${enable_hosted_libstdcxx+set}" = set; then
5013 enableval="$enable_hosted_libstdcxx"
5014
5015 else
5016 case "$host" in
5017 arm*-*-symbianelf*)
5018 enable_hosted_libstdcxx=no
5019 ;;
5020 *)
5021 enable_hosted_libstdcxx=yes
5022 ;;
5023 esac
5024 fi;
5025 if test "$enable_hosted_libstdcxx" = no; then
5026 { echo "$as_me:$LINENO: Only freestanding libraries will be built" >&5
5027 echo "$as_me: Only freestanding libraries will be built" >&6;}
5028 is_hosted=no
5029 hosted_define=0
5030 enable_abi_check=no
5031 enable_libstdcxx_pch=no
5032 else
5033 is_hosted=yes
5034 hosted_define=1
5035 fi
5036
5037
5038 cat >>confdefs.h <<_ACEOF
5039 #define _GLIBCXX_HOSTED $hosted_define
5040 _ACEOF
5041
5042
5043
5044 # Check for compiler support that doesn't require linking.
5045
5046 echo "$as_me:$LINENO: checking for exception model to use" >&5
5047 echo $ECHO_N "checking for exception model to use... $ECHO_C" >&6
5048
5049
5050 ac_ext=cc
5051 ac_cpp='$CXXCPP $CPPFLAGS'
5052 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5053 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5054 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5055
5056 # Check whether --enable-sjlj-exceptions or --disable-sjlj-exceptions was given.
5057 if test "${enable_sjlj_exceptions+set}" = set; then
5058 enableval="$enable_sjlj_exceptions"
5059
5060 case "$enableval" in
5061 yes|no|auto) ;;
5062 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable sjlj-exceptions" >&5
5063 echo "$as_me: error: Unknown argument to enable/disable sjlj-exceptions" >&2;}
5064 { (exit 1); exit 1; }; } ;;
5065 esac
5066
5067 else
5068 enable_sjlj_exceptions=auto
5069 fi;
5070
5071
5072 if test $enable_sjlj_exceptions = auto; then
5073 # Botheration. Now we've got to detect the exception model. Link tests
5074 # against libgcc.a are problematic since we've not been given proper -L
5075 # bits for single-tree newlib and libgloss.
5076 #
5077 # Fake what AC_TRY_COMPILE does. XXX Look at redoing this new-style.
5078 cat > conftest.$ac_ext << EOF
5079 #line 5079 "configure"
5080 struct S { ~S(); };
5081 void bar();
5082 void foo()
5083 {
5084 S s;
5085 bar();
5086 }
5087 EOF
5088 old_CXXFLAGS="$CXXFLAGS"
5089 CXXFLAGS=-S
5090 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5091 (eval $ac_compile) 2>&5
5092 ac_status=$?
5093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5094 (exit $ac_status); }; then
5095 if grep _Unwind_SjLj_Resume conftest.s >/dev/null 2>&1 ; then
5096 enable_sjlj_exceptions=yes
5097 elif grep _Unwind_Resume conftest.s >/dev/null 2>&1 ; then
5098 enable_sjlj_exceptions=no
5099 elif grep __cxa_end_cleanup conftest.s >/dev/null 2>&1 ; then
5100 enable_sjlj_exceptions=no
5101 fi
5102 fi
5103 CXXFLAGS="$old_CXXFLAGS"
5104 rm -f conftest*
5105 fi
5106
5107 # This is a tad weird, for hysterical raisins. We have to map enable/disable
5108 # to two different models.
5109 case $enable_sjlj_exceptions in
5110 yes)
5111
5112 cat >>confdefs.h <<\_ACEOF
5113 #define _GLIBCXX_SJLJ_EXCEPTIONS 1
5114 _ACEOF
5115
5116 ac_exception_model_name=sjlj
5117 ;;
5118 no)
5119 ac_exception_model_name="call frame"
5120 ;;
5121 *)
5122 { { echo "$as_me:$LINENO: error: unable to detect exception model" >&5
5123 echo "$as_me: error: unable to detect exception model" >&2;}
5124 { (exit 1); exit 1; }; }
5125 ;;
5126 esac
5127 ac_ext=c
5128 ac_cpp='$CPP $CPPFLAGS'
5129 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5130 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5131 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5132
5133 echo "$as_me:$LINENO: result: $ac_exception_model_name" >&5
5134 echo "${ECHO_T}$ac_exception_model_name" >&6
5135
5136
5137 echo "$as_me:$LINENO: checking for enabled PCH" >&5
5138 echo $ECHO_N "checking for enabled PCH... $ECHO_C" >&6
5139 # Check whether --enable-libstdcxx-pch or --disable-libstdcxx-pch was given.
5140 if test "${enable_libstdcxx_pch+set}" = set; then
5141 enableval="$enable_libstdcxx_pch"
5142
5143 case "$enableval" in
5144 yes|no) ;;
5145 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable libstdcxx-pch must be yes or no" >&5
5146 echo "$as_me: error: Argument to enable/disable libstdcxx-pch must be yes or no" >&2;}
5147 { (exit 1); exit 1; }; } ;;
5148 esac
5149
5150 else
5151 enable_libstdcxx_pch=$is_hosted
5152 fi;
5153
5154 echo "$as_me:$LINENO: result: $enable_libstdcxx_pch" >&5
5155 echo "${ECHO_T}$enable_libstdcxx_pch" >&6
5156
5157 if test $enable_libstdcxx_pch = yes; then
5158 echo "$as_me:$LINENO: checking for compiler with PCH support" >&5
5159 echo $ECHO_N "checking for compiler with PCH support... $ECHO_C" >&6
5160 if test "${glibcxx_cv_prog_CXX_pch+set}" = set; then
5161 echo $ECHO_N "(cached) $ECHO_C" >&6
5162 else
5163 ac_save_CXXFLAGS="$CXXFLAGS"
5164 CXXFLAGS="$CXXFLAGS -Werror -Winvalid-pch -Wno-deprecated"
5165
5166
5167 ac_ext=cc
5168 ac_cpp='$CXXCPP $CPPFLAGS'
5169 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5170 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5171 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5172
5173 echo '#include <math.h>' > conftest.h
5174 if $CXX $CXXFLAGS $CPPFLAGS -x c++-header conftest.h \
5175 -o conftest.h.gch 1>&5 2>&1 &&
5176 echo '#error "pch failed"' > conftest.h &&
5177 echo '#include "conftest.h"' > conftest.cc &&
5178 $CXX -c $CXXFLAGS $CPPFLAGS conftest.cc 1>&5 2>&1 ;
5179 then
5180 glibcxx_cv_prog_CXX_pch=yes
5181 else
5182 glibcxx_cv_prog_CXX_pch=no
5183 fi
5184 rm -f conftest*
5185 CXXFLAGS=$ac_save_CXXFLAGS
5186 ac_ext=c
5187 ac_cpp='$CPP $CPPFLAGS'
5188 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5189 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5190 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5191
5192
5193 fi
5194 echo "$as_me:$LINENO: result: $glibcxx_cv_prog_CXX_pch" >&5
5195 echo "${ECHO_T}$glibcxx_cv_prog_CXX_pch" >&6
5196 enable_libstdcxx_pch=$glibcxx_cv_prog_CXX_pch
5197 fi
5198
5199
5200 if test $enable_libstdcxx_pch = yes; then
5201 glibcxx_PCHFLAGS="-include bits/stdc++.h"
5202 else
5203 glibcxx_PCHFLAGS=""
5204 fi
5205
5206
5207
5208 # Enable all the variable C++ runtime options.
5209
5210 echo "$as_me:$LINENO: checking for underlying I/O to use" >&5
5211 echo $ECHO_N "checking for underlying I/O to use... $ECHO_C" >&6
5212 # Check whether --enable-cstdio or --disable-cstdio was given.
5213 if test "${enable_cstdio+set}" = set; then
5214 enableval="$enable_cstdio"
5215
5216 case "$enableval" in
5217 stdio) ;;
5218 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable cstdio" >&5
5219 echo "$as_me: error: Unknown argument to enable/disable cstdio" >&2;}
5220 { (exit 1); exit 1; }; } ;;
5221 esac
5222
5223 else
5224 enable_cstdio=stdio
5225 fi;
5226
5227
5228 # Now that libio has been removed, you can have any color you want as long
5229 # as it's black. This is one big no-op until other packages are added, but
5230 # showing the framework never hurts.
5231 case ${enable_cstdio} in
5232 stdio)
5233 CSTDIO_H=config/io/c_io_stdio.h
5234 BASIC_FILE_H=config/io/basic_file_stdio.h
5235 BASIC_FILE_CC=config/io/basic_file_stdio.cc
5236 echo "$as_me:$LINENO: result: stdio" >&5
5237 echo "${ECHO_T}stdio" >&6
5238 ;;
5239 esac
5240
5241
5242
5243
5244
5245 ac_ext=c
5246 ac_cpp='$CPP $CPPFLAGS'
5247 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5248 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5249 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5250 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
5251 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
5252 # On Suns, sometimes $CPP names a directory.
5253 if test -n "$CPP" && test -d "$CPP"; then
5254 CPP=
5255 fi
5256 if test -z "$CPP"; then
5257 if test "${ac_cv_prog_CPP+set}" = set; then
5258 echo $ECHO_N "(cached) $ECHO_C" >&6
5259 else
5260 # Double quotes because CPP needs to be expanded
5261 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5262 do
5263 ac_preproc_ok=false
5264 for ac_c_preproc_warn_flag in '' yes
5265 do
5266 # Use a header file that comes with gcc, so configuring glibc
5267 # with a fresh cross-compiler works.
5268 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5269 # <limits.h> exists even on freestanding compilers.
5270 # On the NeXT, cc -E runs the code through the compiler's parser,
5271 # not just through cpp. "Syntax error" is here to catch this case.
5272 cat >conftest.$ac_ext <<_ACEOF
5273 /* confdefs.h. */
5274 _ACEOF
5275 cat confdefs.h >>conftest.$ac_ext
5276 cat >>conftest.$ac_ext <<_ACEOF
5277 /* end confdefs.h. */
5278 #ifdef __STDC__
5279 # include <limits.h>
5280 #else
5281 # include <assert.h>
5282 #endif
5283 Syntax error
5284 _ACEOF
5285 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5286 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5287 ac_status=$?
5288 grep -v '^ *+' conftest.er1 >conftest.err
5289 rm -f conftest.er1
5290 cat conftest.err >&5
5291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5292 (exit $ac_status); } >/dev/null; then
5293 if test -s conftest.err; then
5294 ac_cpp_err=$ac_c_preproc_warn_flag
5295 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5296 else
5297 ac_cpp_err=
5298 fi
5299 else
5300 ac_cpp_err=yes
5301 fi
5302 if test -z "$ac_cpp_err"; then
5303 :
5304 else
5305 echo "$as_me: failed program was:" >&5
5306 sed 's/^/| /' conftest.$ac_ext >&5
5307
5308 # Broken: fails on valid input.
5309 continue
5310 fi
5311 rm -f conftest.err conftest.$ac_ext
5312
5313 # OK, works on sane cases. Now check whether non-existent headers
5314 # can be detected and how.
5315 cat >conftest.$ac_ext <<_ACEOF
5316 /* confdefs.h. */
5317 _ACEOF
5318 cat confdefs.h >>conftest.$ac_ext
5319 cat >>conftest.$ac_ext <<_ACEOF
5320 /* end confdefs.h. */
5321 #include <ac_nonexistent.h>
5322 _ACEOF
5323 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5324 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5325 ac_status=$?
5326 grep -v '^ *+' conftest.er1 >conftest.err
5327 rm -f conftest.er1
5328 cat conftest.err >&5
5329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5330 (exit $ac_status); } >/dev/null; then
5331 if test -s conftest.err; then
5332 ac_cpp_err=$ac_c_preproc_warn_flag
5333 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5334 else
5335 ac_cpp_err=
5336 fi
5337 else
5338 ac_cpp_err=yes
5339 fi
5340 if test -z "$ac_cpp_err"; then
5341 # Broken: success on invalid input.
5342 continue
5343 else
5344 echo "$as_me: failed program was:" >&5
5345 sed 's/^/| /' conftest.$ac_ext >&5
5346
5347 # Passes both tests.
5348 ac_preproc_ok=:
5349 break
5350 fi
5351 rm -f conftest.err conftest.$ac_ext
5352
5353 done
5354 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5355 rm -f conftest.err conftest.$ac_ext
5356 if $ac_preproc_ok; then
5357 break
5358 fi
5359
5360 done
5361 ac_cv_prog_CPP=$CPP
5362
5363 fi
5364 CPP=$ac_cv_prog_CPP
5365 else
5366 ac_cv_prog_CPP=$CPP
5367 fi
5368 echo "$as_me:$LINENO: result: $CPP" >&5
5369 echo "${ECHO_T}$CPP" >&6
5370 ac_preproc_ok=false
5371 for ac_c_preproc_warn_flag in '' yes
5372 do
5373 # Use a header file that comes with gcc, so configuring glibc
5374 # with a fresh cross-compiler works.
5375 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5376 # <limits.h> exists even on freestanding compilers.
5377 # On the NeXT, cc -E runs the code through the compiler's parser,
5378 # not just through cpp. "Syntax error" is here to catch this case.
5379 cat >conftest.$ac_ext <<_ACEOF
5380 /* confdefs.h. */
5381 _ACEOF
5382 cat confdefs.h >>conftest.$ac_ext
5383 cat >>conftest.$ac_ext <<_ACEOF
5384 /* end confdefs.h. */
5385 #ifdef __STDC__
5386 # include <limits.h>
5387 #else
5388 # include <assert.h>
5389 #endif
5390 Syntax error
5391 _ACEOF
5392 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5393 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5394 ac_status=$?
5395 grep -v '^ *+' conftest.er1 >conftest.err
5396 rm -f conftest.er1
5397 cat conftest.err >&5
5398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5399 (exit $ac_status); } >/dev/null; then
5400 if test -s conftest.err; then
5401 ac_cpp_err=$ac_c_preproc_warn_flag
5402 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5403 else
5404 ac_cpp_err=
5405 fi
5406 else
5407 ac_cpp_err=yes
5408 fi
5409 if test -z "$ac_cpp_err"; then
5410 :
5411 else
5412 echo "$as_me: failed program was:" >&5
5413 sed 's/^/| /' conftest.$ac_ext >&5
5414
5415 # Broken: fails on valid input.
5416 continue
5417 fi
5418 rm -f conftest.err conftest.$ac_ext
5419
5420 # OK, works on sane cases. Now check whether non-existent headers
5421 # can be detected and how.
5422 cat >conftest.$ac_ext <<_ACEOF
5423 /* confdefs.h. */
5424 _ACEOF
5425 cat confdefs.h >>conftest.$ac_ext
5426 cat >>conftest.$ac_ext <<_ACEOF
5427 /* end confdefs.h. */
5428 #include <ac_nonexistent.h>
5429 _ACEOF
5430 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5431 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5432 ac_status=$?
5433 grep -v '^ *+' conftest.er1 >conftest.err
5434 rm -f conftest.er1
5435 cat conftest.err >&5
5436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5437 (exit $ac_status); } >/dev/null; then
5438 if test -s conftest.err; then
5439 ac_cpp_err=$ac_c_preproc_warn_flag
5440 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5441 else
5442 ac_cpp_err=
5443 fi
5444 else
5445 ac_cpp_err=yes
5446 fi
5447 if test -z "$ac_cpp_err"; then
5448 # Broken: success on invalid input.
5449 continue
5450 else
5451 echo "$as_me: failed program was:" >&5
5452 sed 's/^/| /' conftest.$ac_ext >&5
5453
5454 # Passes both tests.
5455 ac_preproc_ok=:
5456 break
5457 fi
5458 rm -f conftest.err conftest.$ac_ext
5459
5460 done
5461 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5462 rm -f conftest.err conftest.$ac_ext
5463 if $ac_preproc_ok; then
5464 :
5465 else
5466 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
5467 See \`config.log' for more details." >&5
5468 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
5469 See \`config.log' for more details." >&2;}
5470 { (exit 1); exit 1; }; }
5471 fi
5472
5473 ac_ext=c
5474 ac_cpp='$CPP $CPPFLAGS'
5475 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5476 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5477 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5478
5479
5480 echo "$as_me:$LINENO: checking for egrep" >&5
5481 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
5482 if test "${ac_cv_prog_egrep+set}" = set; then
5483 echo $ECHO_N "(cached) $ECHO_C" >&6
5484 else
5485 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
5486 then ac_cv_prog_egrep='grep -E'
5487 else ac_cv_prog_egrep='egrep'
5488 fi
5489 fi
5490 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
5491 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
5492 EGREP=$ac_cv_prog_egrep
5493
5494
5495 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5496 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
5497 if test "${ac_cv_header_stdc+set}" = set; then
5498 echo $ECHO_N "(cached) $ECHO_C" >&6
5499 else
5500 cat >conftest.$ac_ext <<_ACEOF
5501 /* confdefs.h. */
5502 _ACEOF
5503 cat confdefs.h >>conftest.$ac_ext
5504 cat >>conftest.$ac_ext <<_ACEOF
5505 /* end confdefs.h. */
5506 #include <stdlib.h>
5507 #include <stdarg.h>
5508 #include <string.h>
5509 #include <float.h>
5510
5511 int
5512 main ()
5513 {
5514
5515 ;
5516 return 0;
5517 }
5518 _ACEOF
5519 rm -f conftest.$ac_objext
5520 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5521 (eval $ac_compile) 2>conftest.er1
5522 ac_status=$?
5523 grep -v '^ *+' conftest.er1 >conftest.err
5524 rm -f conftest.er1
5525 cat conftest.err >&5
5526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5527 (exit $ac_status); } &&
5528 { ac_try='test -z "$ac_c_werror_flag"
5529 || test ! -s conftest.err'
5530 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5531 (eval $ac_try) 2>&5
5532 ac_status=$?
5533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5534 (exit $ac_status); }; } &&
5535 { ac_try='test -s conftest.$ac_objext'
5536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5537 (eval $ac_try) 2>&5
5538 ac_status=$?
5539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5540 (exit $ac_status); }; }; then
5541 ac_cv_header_stdc=yes
5542 else
5543 echo "$as_me: failed program was:" >&5
5544 sed 's/^/| /' conftest.$ac_ext >&5
5545
5546 ac_cv_header_stdc=no
5547 fi
5548 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5549
5550 if test $ac_cv_header_stdc = yes; then
5551 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5552 cat >conftest.$ac_ext <<_ACEOF
5553 /* confdefs.h. */
5554 _ACEOF
5555 cat confdefs.h >>conftest.$ac_ext
5556 cat >>conftest.$ac_ext <<_ACEOF
5557 /* end confdefs.h. */
5558 #include <string.h>
5559
5560 _ACEOF
5561 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5562 $EGREP "memchr" >/dev/null 2>&1; then
5563 :
5564 else
5565 ac_cv_header_stdc=no
5566 fi
5567 rm -f conftest*
5568
5569 fi
5570
5571 if test $ac_cv_header_stdc = yes; then
5572 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5573 cat >conftest.$ac_ext <<_ACEOF
5574 /* confdefs.h. */
5575 _ACEOF
5576 cat confdefs.h >>conftest.$ac_ext
5577 cat >>conftest.$ac_ext <<_ACEOF
5578 /* end confdefs.h. */
5579 #include <stdlib.h>
5580
5581 _ACEOF
5582 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5583 $EGREP "free" >/dev/null 2>&1; then
5584 :
5585 else
5586 ac_cv_header_stdc=no
5587 fi
5588 rm -f conftest*
5589
5590 fi
5591
5592 if test $ac_cv_header_stdc = yes; then
5593 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5594 if test "$cross_compiling" = yes; then
5595 :
5596 else
5597 cat >conftest.$ac_ext <<_ACEOF
5598 /* confdefs.h. */
5599 _ACEOF
5600 cat confdefs.h >>conftest.$ac_ext
5601 cat >>conftest.$ac_ext <<_ACEOF
5602 /* end confdefs.h. */
5603 #include <ctype.h>
5604 #if ((' ' & 0x0FF) == 0x020)
5605 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5606 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5607 #else
5608 # define ISLOWER(c) \
5609 (('a' <= (c) && (c) <= 'i') \
5610 || ('j' <= (c) && (c) <= 'r') \
5611 || ('s' <= (c) && (c) <= 'z'))
5612 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5613 #endif
5614
5615 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5616 int
5617 main ()
5618 {
5619 int i;
5620 for (i = 0; i < 256; i++)
5621 if (XOR (islower (i), ISLOWER (i))
5622 || toupper (i) != TOUPPER (i))
5623 exit(2);
5624 exit (0);
5625 }
5626 _ACEOF
5627 rm -f conftest$ac_exeext
5628 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5629 (eval $ac_link) 2>&5
5630 ac_status=$?
5631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5632 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5634 (eval $ac_try) 2>&5
5635 ac_status=$?
5636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5637 (exit $ac_status); }; }; then
5638 :
5639 else
5640 echo "$as_me: program exited with status $ac_status" >&5
5641 echo "$as_me: failed program was:" >&5
5642 sed 's/^/| /' conftest.$ac_ext >&5
5643
5644 ( exit $ac_status )
5645 ac_cv_header_stdc=no
5646 fi
5647 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5648 fi
5649 fi
5650 fi
5651 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5652 echo "${ECHO_T}$ac_cv_header_stdc" >&6
5653 if test $ac_cv_header_stdc = yes; then
5654
5655 cat >>confdefs.h <<\_ACEOF
5656 #define STDC_HEADERS 1
5657 _ACEOF
5658
5659 fi
5660
5661 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5662
5663
5664
5665
5666
5667
5668
5669
5670
5671 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5672 inttypes.h stdint.h unistd.h
5673 do
5674 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5675 echo "$as_me:$LINENO: checking for $ac_header" >&5
5676 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5677 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5678 echo $ECHO_N "(cached) $ECHO_C" >&6
5679 else
5680 cat >conftest.$ac_ext <<_ACEOF
5681 /* confdefs.h. */
5682 _ACEOF
5683 cat confdefs.h >>conftest.$ac_ext
5684 cat >>conftest.$ac_ext <<_ACEOF
5685 /* end confdefs.h. */
5686 $ac_includes_default
5687
5688 #include <$ac_header>
5689 _ACEOF
5690 rm -f conftest.$ac_objext
5691 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5692 (eval $ac_compile) 2>conftest.er1
5693 ac_status=$?
5694 grep -v '^ *+' conftest.er1 >conftest.err
5695 rm -f conftest.er1
5696 cat conftest.err >&5
5697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5698 (exit $ac_status); } &&
5699 { ac_try='test -z "$ac_c_werror_flag"
5700 || test ! -s conftest.err'
5701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5702 (eval $ac_try) 2>&5
5703 ac_status=$?
5704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5705 (exit $ac_status); }; } &&
5706 { ac_try='test -s conftest.$ac_objext'
5707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5708 (eval $ac_try) 2>&5
5709 ac_status=$?
5710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5711 (exit $ac_status); }; }; then
5712 eval "$as_ac_Header=yes"
5713 else
5714 echo "$as_me: failed program was:" >&5
5715 sed 's/^/| /' conftest.$ac_ext >&5
5716
5717 eval "$as_ac_Header=no"
5718 fi
5719 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5720 fi
5721 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5722 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5723 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5724 cat >>confdefs.h <<_ACEOF
5725 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5726 _ACEOF
5727
5728 fi
5729
5730 done
5731
5732
5733
5734 echo "$as_me:$LINENO: checking for C locale to use" >&5
5735 echo $ECHO_N "checking for C locale to use... $ECHO_C" >&6
5736 # Check whether --enable-clocale or --disable-clocale was given.
5737 if test "${enable_clocale+set}" = set; then
5738 enableval="$enable_clocale"
5739
5740 case "$enableval" in
5741 generic|gnu|ieee_1003.1-2001|yes|no|auto) ;;
5742 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable clocale" >&5
5743 echo "$as_me: error: Unknown argument to enable/disable clocale" >&2;}
5744 { (exit 1); exit 1; }; } ;;
5745 esac
5746
5747 else
5748 enable_clocale=auto
5749 fi;
5750
5751
5752 # If they didn't use this option switch, or if they specified --enable
5753 # with no specific model, we'll have to look for one. If they
5754 # specified --disable (???), do likewise.
5755 if test $enable_clocale = no || test $enable_clocale = yes; then
5756 enable_clocale=auto
5757 fi
5758
5759 # Either a known package, or "auto"
5760 enable_clocale_flag=$enable_clocale
5761
5762 # Probe for locale support if no specific model is specified.
5763 # Default to "generic".
5764 if test $enable_clocale_flag = auto; then
5765 case ${target_os} in
5766 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
5767 cat >conftest.$ac_ext <<_ACEOF
5768 /* confdefs.h. */
5769 _ACEOF
5770 cat confdefs.h >>conftest.$ac_ext
5771 cat >>conftest.$ac_ext <<_ACEOF
5772 /* end confdefs.h. */
5773
5774 #include <features.h>
5775 #if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 2)
5776 _GLIBCXX_ok
5777 #endif
5778
5779 _ACEOF
5780 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5781 $EGREP "_GLIBCXX_ok" >/dev/null 2>&1; then
5782 enable_clocale_flag=gnu
5783 else
5784 enable_clocale_flag=generic
5785 fi
5786 rm -f conftest*
5787
5788
5789 # Test for bugs early in glibc-2.2.x series
5790 if test $enable_clocale_flag = gnu; then
5791 if test "$cross_compiling" = yes; then
5792 enable_clocale_flag=generic
5793 else
5794 cat >conftest.$ac_ext <<_ACEOF
5795 /* confdefs.h. */
5796 _ACEOF
5797 cat confdefs.h >>conftest.$ac_ext
5798 cat >>conftest.$ac_ext <<_ACEOF
5799 /* end confdefs.h. */
5800
5801 #define _GNU_SOURCE 1
5802 #include <locale.h>
5803 #include <string.h>
5804 #if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ > 2)
5805 extern __typeof(newlocale) __newlocale;
5806 extern __typeof(duplocale) __duplocale;
5807 extern __typeof(strcoll_l) __strcoll_l;
5808 #endif
5809 int main()
5810 {
5811 const char __one[] = "Äuglein Augmen";
5812 const char __two[] = "Äuglein";
5813 int i;
5814 int j;
5815 __locale_t loc;
5816 __locale_t loc_dup;
5817 loc = __newlocale(1 << LC_ALL, "de_DE", 0);
5818 loc_dup = __duplocale(loc);
5819 i = __strcoll_l(__one, __two, loc);
5820 j = __strcoll_l(__one, __two, loc_dup);
5821 return 0;
5822 }
5823
5824 _ACEOF
5825 rm -f conftest$ac_exeext
5826 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5827 (eval $ac_link) 2>&5
5828 ac_status=$?
5829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5830 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5832 (eval $ac_try) 2>&5
5833 ac_status=$?
5834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5835 (exit $ac_status); }; }; then
5836 enable_clocale_flag=gnu
5837 else
5838 echo "$as_me: program exited with status $ac_status" >&5
5839 echo "$as_me: failed program was:" >&5
5840 sed 's/^/| /' conftest.$ac_ext >&5
5841
5842 ( exit $ac_status )
5843 enable_clocale_flag=generic
5844 fi
5845 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5846 fi
5847 fi
5848
5849 # ... at some point put __strxfrm_l tests in as well.
5850 ;;
5851 darwin* | freebsd*)
5852 enable_clocale_flag=darwin
5853 ;;
5854 *)
5855 enable_clocale_flag=generic
5856 ;;
5857 esac
5858 fi
5859
5860 # Deal with gettext issues. Default to not using it (=no) until we detect
5861 # support for it later. Let the user turn it off via --e/d, but let that
5862 # default to on for easier handling.
5863 USE_NLS=no
5864 # Check whether --enable-nls or --disable-nls was given.
5865 if test "${enable_nls+set}" = set; then
5866 enableval="$enable_nls"
5867
5868 else
5869 enable_nls=yes
5870 fi;
5871
5872 # Set configure bits for specified locale package
5873 case ${enable_clocale_flag} in
5874 generic)
5875 echo "$as_me:$LINENO: result: generic" >&5
5876 echo "${ECHO_T}generic" >&6
5877
5878 CLOCALE_H=config/locale/generic/c_locale.h
5879 CLOCALE_CC=config/locale/generic/c_locale.cc
5880 CCODECVT_CC=config/locale/generic/codecvt_members.cc
5881 CCOLLATE_CC=config/locale/generic/collate_members.cc
5882 CCTYPE_CC=config/locale/generic/ctype_members.cc
5883 CMESSAGES_H=config/locale/generic/messages_members.h
5884 CMESSAGES_CC=config/locale/generic/messages_members.cc
5885 CMONEY_CC=config/locale/generic/monetary_members.cc
5886 CNUMERIC_CC=config/locale/generic/numeric_members.cc
5887 CTIME_H=config/locale/generic/time_members.h
5888 CTIME_CC=config/locale/generic/time_members.cc
5889 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
5890 ;;
5891 darwin)
5892 echo "$as_me:$LINENO: result: darwin or freebsd" >&5
5893 echo "${ECHO_T}darwin or freebsd" >&6
5894
5895 CLOCALE_H=config/locale/generic/c_locale.h
5896 CLOCALE_CC=config/locale/generic/c_locale.cc
5897 CCODECVT_CC=config/locale/generic/codecvt_members.cc
5898 CCOLLATE_CC=config/locale/generic/collate_members.cc
5899 CCTYPE_CC=config/locale/darwin/ctype_members.cc
5900 CMESSAGES_H=config/locale/generic/messages_members.h
5901 CMESSAGES_CC=config/locale/generic/messages_members.cc
5902 CMONEY_CC=config/locale/generic/monetary_members.cc
5903 CNUMERIC_CC=config/locale/generic/numeric_members.cc
5904 CTIME_H=config/locale/generic/time_members.h
5905 CTIME_CC=config/locale/generic/time_members.cc
5906 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
5907 ;;
5908
5909 gnu)
5910 echo "$as_me:$LINENO: result: gnu" >&5
5911 echo "${ECHO_T}gnu" >&6
5912
5913 # Declare intention to use gettext, and add support for specific
5914 # languages.
5915 # For some reason, ALL_LINGUAS has to be before AM-GNU-GETTEXT
5916 ALL_LINGUAS="de fr"
5917
5918 # Don't call AM-GNU-GETTEXT here. Instead, assume glibc.
5919 # Extract the first word of "msgfmt", so it can be a program name with args.
5920 set dummy msgfmt; ac_word=$2
5921 echo "$as_me:$LINENO: checking for $ac_word" >&5
5922 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5923 if test "${ac_cv_prog_check_msgfmt+set}" = set; then
5924 echo $ECHO_N "(cached) $ECHO_C" >&6
5925 else
5926 if test -n "$check_msgfmt"; then
5927 ac_cv_prog_check_msgfmt="$check_msgfmt" # Let the user override the test.
5928 else
5929 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5930 for as_dir in $PATH
5931 do
5932 IFS=$as_save_IFS
5933 test -z "$as_dir" && as_dir=.
5934 for ac_exec_ext in '' $ac_executable_extensions; do
5935 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5936 ac_cv_prog_check_msgfmt="yes"
5937 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5938 break 2
5939 fi
5940 done
5941 done
5942
5943 test -z "$ac_cv_prog_check_msgfmt" && ac_cv_prog_check_msgfmt="no"
5944 fi
5945 fi
5946 check_msgfmt=$ac_cv_prog_check_msgfmt
5947 if test -n "$check_msgfmt"; then
5948 echo "$as_me:$LINENO: result: $check_msgfmt" >&5
5949 echo "${ECHO_T}$check_msgfmt" >&6
5950 else
5951 echo "$as_me:$LINENO: result: no" >&5
5952 echo "${ECHO_T}no" >&6
5953 fi
5954
5955 if test x"$check_msgfmt" = x"yes" && test x"$enable_nls" = x"yes"; then
5956 USE_NLS=yes
5957 fi
5958 # Export the build objects.
5959 for ling in $ALL_LINGUAS; do \
5960 glibcxx_MOFILES="$glibcxx_MOFILES $ling.mo"; \
5961 glibcxx_POFILES="$glibcxx_POFILES $ling.po"; \
5962 done
5963
5964
5965
5966 CLOCALE_H=config/locale/gnu/c_locale.h
5967 CLOCALE_CC=config/locale/gnu/c_locale.cc
5968 CCODECVT_CC=config/locale/gnu/codecvt_members.cc
5969 CCOLLATE_CC=config/locale/gnu/collate_members.cc
5970 CCTYPE_CC=config/locale/gnu/ctype_members.cc
5971 CMESSAGES_H=config/locale/gnu/messages_members.h
5972 CMESSAGES_CC=config/locale/gnu/messages_members.cc
5973 CMONEY_CC=config/locale/gnu/monetary_members.cc
5974 CNUMERIC_CC=config/locale/gnu/numeric_members.cc
5975 CTIME_H=config/locale/gnu/time_members.h
5976 CTIME_CC=config/locale/gnu/time_members.cc
5977 CLOCALE_INTERNAL_H=config/locale/gnu/c++locale_internal.h
5978 ;;
5979 ieee_1003.1-2001)
5980 echo "$as_me:$LINENO: result: IEEE 1003.1" >&5
5981 echo "${ECHO_T}IEEE 1003.1" >&6
5982
5983 CLOCALE_H=config/locale/ieee_1003.1-2001/c_locale.h
5984 CLOCALE_CC=config/locale/ieee_1003.1-2001/c_locale.cc
5985 CCODECVT_CC=config/locale/generic/codecvt_members.cc
5986 CCOLLATE_CC=config/locale/generic/collate_members.cc
5987 CCTYPE_CC=config/locale/generic/ctype_members.cc
5988 CMESSAGES_H=config/locale/ieee_1003.1-2001/messages_members.h
5989 CMESSAGES_CC=config/locale/ieee_1003.1-2001/messages_members.cc
5990 CMONEY_CC=config/locale/generic/monetary_members.cc
5991 CNUMERIC_CC=config/locale/generic/numeric_members.cc
5992 CTIME_H=config/locale/generic/time_members.h
5993 CTIME_CC=config/locale/generic/time_members.cc
5994 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
5995 ;;
5996 esac
5997
5998 # This is where the testsuite looks for locale catalogs, using the
5999 # -DLOCALEDIR define during testsuite compilation.
6000 glibcxx_localedir=${glibcxx_builddir}/po/share/locale
6001
6002
6003 # A standalone libintl (e.g., GNU libintl) may be in use.
6004 if test $USE_NLS = yes; then
6005
6006 for ac_header in libintl.h
6007 do
6008 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6009 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6010 echo "$as_me:$LINENO: checking for $ac_header" >&5
6011 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6012 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6013 echo $ECHO_N "(cached) $ECHO_C" >&6
6014 fi
6015 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6016 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6017 else
6018 # Is the header compilable?
6019 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6020 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6021 cat >conftest.$ac_ext <<_ACEOF
6022 /* confdefs.h. */
6023 _ACEOF
6024 cat confdefs.h >>conftest.$ac_ext
6025 cat >>conftest.$ac_ext <<_ACEOF
6026 /* end confdefs.h. */
6027 $ac_includes_default
6028 #include <$ac_header>
6029 _ACEOF
6030 rm -f conftest.$ac_objext
6031 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6032 (eval $ac_compile) 2>conftest.er1
6033 ac_status=$?
6034 grep -v '^ *+' conftest.er1 >conftest.err
6035 rm -f conftest.er1
6036 cat conftest.err >&5
6037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6038 (exit $ac_status); } &&
6039 { ac_try='test -z "$ac_c_werror_flag"
6040 || test ! -s conftest.err'
6041 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6042 (eval $ac_try) 2>&5
6043 ac_status=$?
6044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6045 (exit $ac_status); }; } &&
6046 { ac_try='test -s conftest.$ac_objext'
6047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6048 (eval $ac_try) 2>&5
6049 ac_status=$?
6050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6051 (exit $ac_status); }; }; then
6052 ac_header_compiler=yes
6053 else
6054 echo "$as_me: failed program was:" >&5
6055 sed 's/^/| /' conftest.$ac_ext >&5
6056
6057 ac_header_compiler=no
6058 fi
6059 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6060 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6061 echo "${ECHO_T}$ac_header_compiler" >&6
6062
6063 # Is the header present?
6064 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6065 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6066 cat >conftest.$ac_ext <<_ACEOF
6067 /* confdefs.h. */
6068 _ACEOF
6069 cat confdefs.h >>conftest.$ac_ext
6070 cat >>conftest.$ac_ext <<_ACEOF
6071 /* end confdefs.h. */
6072 #include <$ac_header>
6073 _ACEOF
6074 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6075 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6076 ac_status=$?
6077 grep -v '^ *+' conftest.er1 >conftest.err
6078 rm -f conftest.er1
6079 cat conftest.err >&5
6080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6081 (exit $ac_status); } >/dev/null; then
6082 if test -s conftest.err; then
6083 ac_cpp_err=$ac_c_preproc_warn_flag
6084 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6085 else
6086 ac_cpp_err=
6087 fi
6088 else
6089 ac_cpp_err=yes
6090 fi
6091 if test -z "$ac_cpp_err"; then
6092 ac_header_preproc=yes
6093 else
6094 echo "$as_me: failed program was:" >&5
6095 sed 's/^/| /' conftest.$ac_ext >&5
6096
6097 ac_header_preproc=no
6098 fi
6099 rm -f conftest.err conftest.$ac_ext
6100 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6101 echo "${ECHO_T}$ac_header_preproc" >&6
6102
6103 # So? What about this header?
6104 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6105 yes:no: )
6106 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6107 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6108 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6109 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6110 ac_header_preproc=yes
6111 ;;
6112 no:yes:* )
6113 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6114 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6115 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6116 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6117 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6118 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6119 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6120 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6121 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6122 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6123 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6124 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6125 (
6126 cat <<\_ASBOX
6127 ## ----------------------------------------- ##
6128 ## Report this to the package-unused lists. ##
6129 ## ----------------------------------------- ##
6130 _ASBOX
6131 ) |
6132 sed "s/^/$as_me: WARNING: /" >&2
6133 ;;
6134 esac
6135 echo "$as_me:$LINENO: checking for $ac_header" >&5
6136 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6137 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6138 echo $ECHO_N "(cached) $ECHO_C" >&6
6139 else
6140 eval "$as_ac_Header=\$ac_header_preproc"
6141 fi
6142 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6143 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6144
6145 fi
6146 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6147 cat >>confdefs.h <<_ACEOF
6148 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6149 _ACEOF
6150
6151 else
6152 USE_NLS=no
6153 fi
6154
6155 done
6156
6157 echo "$as_me:$LINENO: checking for library containing gettext" >&5
6158 echo $ECHO_N "checking for library containing gettext... $ECHO_C" >&6
6159 if test "${ac_cv_search_gettext+set}" = set; then
6160 echo $ECHO_N "(cached) $ECHO_C" >&6
6161 else
6162 ac_func_search_save_LIBS=$LIBS
6163 ac_cv_search_gettext=no
6164 if test x$gcc_no_link = xyes; then
6165 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
6166 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
6167 { (exit 1); exit 1; }; }
6168 fi
6169 cat >conftest.$ac_ext <<_ACEOF
6170 /* confdefs.h. */
6171 _ACEOF
6172 cat confdefs.h >>conftest.$ac_ext
6173 cat >>conftest.$ac_ext <<_ACEOF
6174 /* end confdefs.h. */
6175
6176 /* Override any gcc2 internal prototype to avoid an error. */
6177 #ifdef __cplusplus
6178 extern "C"
6179 #endif
6180 /* We use char because int might match the return type of a gcc2
6181 builtin and then its argument prototype would still apply. */
6182 char gettext ();
6183 int
6184 main ()
6185 {
6186 gettext ();
6187 ;
6188 return 0;
6189 }
6190 _ACEOF
6191 rm -f conftest.$ac_objext conftest$ac_exeext
6192 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6193 (eval $ac_link) 2>conftest.er1
6194 ac_status=$?
6195 grep -v '^ *+' conftest.er1 >conftest.err
6196 rm -f conftest.er1
6197 cat conftest.err >&5
6198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6199 (exit $ac_status); } &&
6200 { ac_try='test -z "$ac_c_werror_flag"
6201 || test ! -s conftest.err'
6202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6203 (eval $ac_try) 2>&5
6204 ac_status=$?
6205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6206 (exit $ac_status); }; } &&
6207 { ac_try='test -s conftest$ac_exeext'
6208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6209 (eval $ac_try) 2>&5
6210 ac_status=$?
6211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6212 (exit $ac_status); }; }; then
6213 ac_cv_search_gettext="none required"
6214 else
6215 echo "$as_me: failed program was:" >&5
6216 sed 's/^/| /' conftest.$ac_ext >&5
6217
6218 fi
6219 rm -f conftest.err conftest.$ac_objext \
6220 conftest$ac_exeext conftest.$ac_ext
6221 if test "$ac_cv_search_gettext" = no; then
6222 for ac_lib in intl; do
6223 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
6224 if test x$gcc_no_link = xyes; then
6225 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
6226 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
6227 { (exit 1); exit 1; }; }
6228 fi
6229 cat >conftest.$ac_ext <<_ACEOF
6230 /* confdefs.h. */
6231 _ACEOF
6232 cat confdefs.h >>conftest.$ac_ext
6233 cat >>conftest.$ac_ext <<_ACEOF
6234 /* end confdefs.h. */
6235
6236 /* Override any gcc2 internal prototype to avoid an error. */
6237 #ifdef __cplusplus
6238 extern "C"
6239 #endif
6240 /* We use char because int might match the return type of a gcc2
6241 builtin and then its argument prototype would still apply. */
6242 char gettext ();
6243 int
6244 main ()
6245 {
6246 gettext ();
6247 ;
6248 return 0;
6249 }
6250 _ACEOF
6251 rm -f conftest.$ac_objext conftest$ac_exeext
6252 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6253 (eval $ac_link) 2>conftest.er1
6254 ac_status=$?
6255 grep -v '^ *+' conftest.er1 >conftest.err
6256 rm -f conftest.er1
6257 cat conftest.err >&5
6258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6259 (exit $ac_status); } &&
6260 { ac_try='test -z "$ac_c_werror_flag"
6261 || test ! -s conftest.err'
6262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6263 (eval $ac_try) 2>&5
6264 ac_status=$?
6265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6266 (exit $ac_status); }; } &&
6267 { ac_try='test -s conftest$ac_exeext'
6268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6269 (eval $ac_try) 2>&5
6270 ac_status=$?
6271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6272 (exit $ac_status); }; }; then
6273 ac_cv_search_gettext="-l$ac_lib"
6274 break
6275 else
6276 echo "$as_me: failed program was:" >&5
6277 sed 's/^/| /' conftest.$ac_ext >&5
6278
6279 fi
6280 rm -f conftest.err conftest.$ac_objext \
6281 conftest$ac_exeext conftest.$ac_ext
6282 done
6283 fi
6284 LIBS=$ac_func_search_save_LIBS
6285 fi
6286 echo "$as_me:$LINENO: result: $ac_cv_search_gettext" >&5
6287 echo "${ECHO_T}$ac_cv_search_gettext" >&6
6288 if test "$ac_cv_search_gettext" != no; then
6289 test "$ac_cv_search_gettext" = "none required" || LIBS="$ac_cv_search_gettext $LIBS"
6290
6291 else
6292 USE_NLS=no
6293 fi
6294
6295 fi
6296 if test $USE_NLS = yes; then
6297
6298 cat >>confdefs.h <<\_ACEOF
6299 #define _GLIBCXX_USE_NLS 1
6300 _ACEOF
6301
6302 fi
6303
6304
6305
6306
6307
6308
6309
6310
6311
6312
6313
6314
6315
6316
6317
6318
6319 echo "$as_me:$LINENO: checking for std::allocator base class" >&5
6320 echo $ECHO_N "checking for std::allocator base class... $ECHO_C" >&6
6321 # Check whether --enable-libstdcxx-allocator or --disable-libstdcxx-allocator was given.
6322 if test "${enable_libstdcxx_allocator+set}" = set; then
6323 enableval="$enable_libstdcxx_allocator"
6324
6325 case "$enableval" in
6326 new|malloc|mt|bitmap|pool|yes|no|auto) ;;
6327 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable libstdcxx-allocator" >&5
6328 echo "$as_me: error: Unknown argument to enable/disable libstdcxx-allocator" >&2;}
6329 { (exit 1); exit 1; }; } ;;
6330 esac
6331
6332 else
6333 enable_libstdcxx_allocator=auto
6334 fi;
6335
6336
6337 # If they didn't use this option switch, or if they specified --enable
6338 # with no specific model, we'll have to look for one. If they
6339 # specified --disable (???), do likewise.
6340 if test $enable_libstdcxx_allocator = no ||
6341 test $enable_libstdcxx_allocator = yes;
6342 then
6343 enable_libstdcxx_allocator=auto
6344 fi
6345
6346 # Either a known package, or "auto". Auto implies the default choice
6347 # for a particular platform.
6348 enable_libstdcxx_allocator_flag=$enable_libstdcxx_allocator
6349
6350 # Probe for host-specific support if no specific model is specified.
6351 # Default to "new".
6352 if test $enable_libstdcxx_allocator_flag = auto; then
6353 case ${target_os} in
6354 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
6355 enable_libstdcxx_allocator_flag=mt
6356 ;;
6357 *)
6358 enable_libstdcxx_allocator_flag=new
6359 ;;
6360 esac
6361 fi
6362 echo "$as_me:$LINENO: result: $enable_libstdcxx_allocator_flag" >&5
6363 echo "${ECHO_T}$enable_libstdcxx_allocator_flag" >&6
6364
6365
6366 # Set configure bits for specified locale package
6367 case ${enable_libstdcxx_allocator_flag} in
6368 bitmap)
6369 ALLOCATOR_H=config/allocator/bitmap_allocator_base.h
6370 ALLOCATOR_NAME=__gnu_cxx::bitmap_allocator
6371 ;;
6372 malloc)
6373 ALLOCATOR_H=config/allocator/malloc_allocator_base.h
6374 ALLOCATOR_NAME=__gnu_cxx::malloc_allocator
6375 ;;
6376 mt)
6377 ALLOCATOR_H=config/allocator/mt_allocator_base.h
6378 ALLOCATOR_NAME=__gnu_cxx::__mt_alloc
6379 ;;
6380 new)
6381 ALLOCATOR_H=config/allocator/new_allocator_base.h
6382 ALLOCATOR_NAME=__gnu_cxx::new_allocator
6383 ;;
6384 pool)
6385 ALLOCATOR_H=config/allocator/pool_allocator_base.h
6386 ALLOCATOR_NAME=__gnu_cxx::__pool_alloc
6387 ;;
6388 esac
6389
6390
6391
6392
6393
6394 # Check whether --enable-cheaders or --disable-cheaders was given.
6395 if test "${enable_cheaders+set}" = set; then
6396 enableval="$enable_cheaders"
6397
6398 case "$enableval" in
6399 c|c_std) ;;
6400 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable cheaders" >&5
6401 echo "$as_me: error: Unknown argument to enable/disable cheaders" >&2;}
6402 { (exit 1); exit 1; }; } ;;
6403 esac
6404
6405 else
6406 enable_cheaders=$c_model
6407 fi;
6408
6409 { echo "$as_me:$LINENO: \"C\" header strategy set to $enable_cheaders" >&5
6410 echo "$as_me: \"C\" header strategy set to $enable_cheaders" >&6;}
6411
6412 C_INCLUDE_DIR='${glibcxx_srcdir}/include/'$enable_cheaders
6413
6414
6415
6416
6417
6418
6419
6420
6421 # Check whether --enable-c99 or --disable-c99 was given.
6422 if test "${enable_c99+set}" = set; then
6423 enableval="$enable_c99"
6424
6425 case "$enableval" in
6426 yes|no) ;;
6427 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable c99 must be yes or no" >&5
6428 echo "$as_me: error: Argument to enable/disable c99 must be yes or no" >&2;}
6429 { (exit 1); exit 1; }; } ;;
6430 esac
6431
6432 else
6433 enable_c99=yes
6434 fi;
6435
6436
6437 # Test wchar.h for mbstate_t, which is needed for char_traits and fpos
6438 # even if C99 support is turned off.
6439
6440 for ac_header in wchar.h
6441 do
6442 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6443 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6444 echo "$as_me:$LINENO: checking for $ac_header" >&5
6445 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6446 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6447 echo $ECHO_N "(cached) $ECHO_C" >&6
6448 fi
6449 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6450 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6451 else
6452 # Is the header compilable?
6453 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6454 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6455 cat >conftest.$ac_ext <<_ACEOF
6456 /* confdefs.h. */
6457 _ACEOF
6458 cat confdefs.h >>conftest.$ac_ext
6459 cat >>conftest.$ac_ext <<_ACEOF
6460 /* end confdefs.h. */
6461 $ac_includes_default
6462 #include <$ac_header>
6463 _ACEOF
6464 rm -f conftest.$ac_objext
6465 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6466 (eval $ac_compile) 2>conftest.er1
6467 ac_status=$?
6468 grep -v '^ *+' conftest.er1 >conftest.err
6469 rm -f conftest.er1
6470 cat conftest.err >&5
6471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6472 (exit $ac_status); } &&
6473 { ac_try='test -z "$ac_c_werror_flag"
6474 || test ! -s conftest.err'
6475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6476 (eval $ac_try) 2>&5
6477 ac_status=$?
6478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6479 (exit $ac_status); }; } &&
6480 { ac_try='test -s conftest.$ac_objext'
6481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6482 (eval $ac_try) 2>&5
6483 ac_status=$?
6484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6485 (exit $ac_status); }; }; then
6486 ac_header_compiler=yes
6487 else
6488 echo "$as_me: failed program was:" >&5
6489 sed 's/^/| /' conftest.$ac_ext >&5
6490
6491 ac_header_compiler=no
6492 fi
6493 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6494 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6495 echo "${ECHO_T}$ac_header_compiler" >&6
6496
6497 # Is the header present?
6498 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6499 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6500 cat >conftest.$ac_ext <<_ACEOF
6501 /* confdefs.h. */
6502 _ACEOF
6503 cat confdefs.h >>conftest.$ac_ext
6504 cat >>conftest.$ac_ext <<_ACEOF
6505 /* end confdefs.h. */
6506 #include <$ac_header>
6507 _ACEOF
6508 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6509 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6510 ac_status=$?
6511 grep -v '^ *+' conftest.er1 >conftest.err
6512 rm -f conftest.er1
6513 cat conftest.err >&5
6514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6515 (exit $ac_status); } >/dev/null; then
6516 if test -s conftest.err; then
6517 ac_cpp_err=$ac_c_preproc_warn_flag
6518 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6519 else
6520 ac_cpp_err=
6521 fi
6522 else
6523 ac_cpp_err=yes
6524 fi
6525 if test -z "$ac_cpp_err"; then
6526 ac_header_preproc=yes
6527 else
6528 echo "$as_me: failed program was:" >&5
6529 sed 's/^/| /' conftest.$ac_ext >&5
6530
6531 ac_header_preproc=no
6532 fi
6533 rm -f conftest.err conftest.$ac_ext
6534 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6535 echo "${ECHO_T}$ac_header_preproc" >&6
6536
6537 # So? What about this header?
6538 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6539 yes:no: )
6540 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6541 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6542 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6543 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6544 ac_header_preproc=yes
6545 ;;
6546 no:yes:* )
6547 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6548 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6549 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6550 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6551 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6552 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6553 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6554 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6555 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6556 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6557 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6558 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6559 (
6560 cat <<\_ASBOX
6561 ## ----------------------------------------- ##
6562 ## Report this to the package-unused lists. ##
6563 ## ----------------------------------------- ##
6564 _ASBOX
6565 ) |
6566 sed "s/^/$as_me: WARNING: /" >&2
6567 ;;
6568 esac
6569 echo "$as_me:$LINENO: checking for $ac_header" >&5
6570 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6571 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6572 echo $ECHO_N "(cached) $ECHO_C" >&6
6573 else
6574 eval "$as_ac_Header=\$ac_header_preproc"
6575 fi
6576 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6577 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6578
6579 fi
6580 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6581 cat >>confdefs.h <<_ACEOF
6582 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6583 _ACEOF
6584 ac_has_wchar_h=yes
6585 else
6586 ac_has_wchar_h=no
6587 fi
6588
6589 done
6590
6591 echo "$as_me:$LINENO: checking for mbstate_t" >&5
6592 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
6593 cat >conftest.$ac_ext <<_ACEOF
6594 /* confdefs.h. */
6595 _ACEOF
6596 cat confdefs.h >>conftest.$ac_ext
6597 cat >>conftest.$ac_ext <<_ACEOF
6598 /* end confdefs.h. */
6599 #include <wchar.h>
6600 int
6601 main ()
6602 {
6603 mbstate_t teststate;
6604 ;
6605 return 0;
6606 }
6607 _ACEOF
6608 rm -f conftest.$ac_objext
6609 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6610 (eval $ac_compile) 2>conftest.er1
6611 ac_status=$?
6612 grep -v '^ *+' conftest.er1 >conftest.err
6613 rm -f conftest.er1
6614 cat conftest.err >&5
6615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6616 (exit $ac_status); } &&
6617 { ac_try='test -z "$ac_c_werror_flag"
6618 || test ! -s conftest.err'
6619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6620 (eval $ac_try) 2>&5
6621 ac_status=$?
6622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6623 (exit $ac_status); }; } &&
6624 { ac_try='test -s conftest.$ac_objext'
6625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6626 (eval $ac_try) 2>&5
6627 ac_status=$?
6628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6629 (exit $ac_status); }; }; then
6630 have_mbstate_t=yes
6631 else
6632 echo "$as_me: failed program was:" >&5
6633 sed 's/^/| /' conftest.$ac_ext >&5
6634
6635 have_mbstate_t=no
6636 fi
6637 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6638 echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
6639 echo "${ECHO_T}$have_mbstate_t" >&6
6640 if test x"$have_mbstate_t" = xyes; then
6641
6642 cat >>confdefs.h <<\_ACEOF
6643 #define HAVE_MBSTATE_T 1
6644 _ACEOF
6645
6646 fi
6647
6648 if test x"$enable_c99" = x"yes"; then
6649
6650
6651
6652 ac_ext=cc
6653 ac_cpp='$CXXCPP $CPPFLAGS'
6654 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6655 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6656 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6657
6658
6659 # Check for the existence of <math.h> functions used if C99 is enabled.
6660 echo "$as_me:$LINENO: checking for ISO C99 support in <math.h>" >&5
6661 echo $ECHO_N "checking for ISO C99 support in <math.h>... $ECHO_C" >&6
6662 if test "${ac_c99_math+set}" = set; then
6663 echo $ECHO_N "(cached) $ECHO_C" >&6
6664 else
6665
6666 cat >conftest.$ac_ext <<_ACEOF
6667 /* confdefs.h. */
6668 _ACEOF
6669 cat confdefs.h >>conftest.$ac_ext
6670 cat >>conftest.$ac_ext <<_ACEOF
6671 /* end confdefs.h. */
6672 #include <math.h>
6673 int
6674 main ()
6675 {
6676 fpclassify(0.0);
6677 isfinite(0.0);
6678 isinf(0.0);
6679 isnan(0.0);
6680 isnormal(0.0);
6681 signbit(0.0);
6682 isgreater(0.0,0.0);
6683 isgreaterequal(0.0,0.0);
6684 isless(0.0,0.0);
6685 islessequal(0.0,0.0);
6686 islessgreater(0.0,0.0);
6687 islessgreater(0.0,0.0);
6688 isunordered(0.0,0.0);
6689
6690 ;
6691 return 0;
6692 }
6693 _ACEOF
6694 rm -f conftest.$ac_objext
6695 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6696 (eval $ac_compile) 2>conftest.er1
6697 ac_status=$?
6698 grep -v '^ *+' conftest.er1 >conftest.err
6699 rm -f conftest.er1
6700 cat conftest.err >&5
6701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6702 (exit $ac_status); } &&
6703 { ac_try='test -z "$ac_cxx_werror_flag"
6704 || test ! -s conftest.err'
6705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6706 (eval $ac_try) 2>&5
6707 ac_status=$?
6708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6709 (exit $ac_status); }; } &&
6710 { ac_try='test -s conftest.$ac_objext'
6711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6712 (eval $ac_try) 2>&5
6713 ac_status=$?
6714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6715 (exit $ac_status); }; }; then
6716 ac_c99_math=yes
6717 else
6718 echo "$as_me: failed program was:" >&5
6719 sed 's/^/| /' conftest.$ac_ext >&5
6720
6721 ac_c99_math=no
6722 fi
6723 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6724
6725 fi
6726
6727 echo "$as_me:$LINENO: result: $ac_c99_math" >&5
6728 echo "${ECHO_T}$ac_c99_math" >&6
6729 if test x"$ac_c99_math" = x"yes"; then
6730
6731 cat >>confdefs.h <<\_ACEOF
6732 #define _GLIBCXX_USE_C99_MATH 1
6733 _ACEOF
6734
6735 fi
6736
6737 # Check for the existence of <complex.h> complex math functions.
6738 # This is necessary even though libstdc++ uses the builtin versions
6739 # of these functions, because if the builtin cannot be used, a reference
6740 # to the library function is emitted.
6741
6742 for ac_header in complex.h
6743 do
6744 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6745 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6746 echo "$as_me:$LINENO: checking for $ac_header" >&5
6747 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6748 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6749 echo $ECHO_N "(cached) $ECHO_C" >&6
6750 fi
6751 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6752 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6753 else
6754 # Is the header compilable?
6755 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6756 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6757 cat >conftest.$ac_ext <<_ACEOF
6758 /* confdefs.h. */
6759 _ACEOF
6760 cat confdefs.h >>conftest.$ac_ext
6761 cat >>conftest.$ac_ext <<_ACEOF
6762 /* end confdefs.h. */
6763 $ac_includes_default
6764 #include <$ac_header>
6765 _ACEOF
6766 rm -f conftest.$ac_objext
6767 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6768 (eval $ac_compile) 2>conftest.er1
6769 ac_status=$?
6770 grep -v '^ *+' conftest.er1 >conftest.err
6771 rm -f conftest.er1
6772 cat conftest.err >&5
6773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6774 (exit $ac_status); } &&
6775 { ac_try='test -z "$ac_cxx_werror_flag"
6776 || test ! -s conftest.err'
6777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6778 (eval $ac_try) 2>&5
6779 ac_status=$?
6780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6781 (exit $ac_status); }; } &&
6782 { ac_try='test -s conftest.$ac_objext'
6783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6784 (eval $ac_try) 2>&5
6785 ac_status=$?
6786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6787 (exit $ac_status); }; }; then
6788 ac_header_compiler=yes
6789 else
6790 echo "$as_me: failed program was:" >&5
6791 sed 's/^/| /' conftest.$ac_ext >&5
6792
6793 ac_header_compiler=no
6794 fi
6795 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6796 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6797 echo "${ECHO_T}$ac_header_compiler" >&6
6798
6799 # Is the header present?
6800 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6801 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6802 cat >conftest.$ac_ext <<_ACEOF
6803 /* confdefs.h. */
6804 _ACEOF
6805 cat confdefs.h >>conftest.$ac_ext
6806 cat >>conftest.$ac_ext <<_ACEOF
6807 /* end confdefs.h. */
6808 #include <$ac_header>
6809 _ACEOF
6810 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6811 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6812 ac_status=$?
6813 grep -v '^ *+' conftest.er1 >conftest.err
6814 rm -f conftest.er1
6815 cat conftest.err >&5
6816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6817 (exit $ac_status); } >/dev/null; then
6818 if test -s conftest.err; then
6819 ac_cpp_err=$ac_cxx_preproc_warn_flag
6820 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
6821 else
6822 ac_cpp_err=
6823 fi
6824 else
6825 ac_cpp_err=yes
6826 fi
6827 if test -z "$ac_cpp_err"; then
6828 ac_header_preproc=yes
6829 else
6830 echo "$as_me: failed program was:" >&5
6831 sed 's/^/| /' conftest.$ac_ext >&5
6832
6833 ac_header_preproc=no
6834 fi
6835 rm -f conftest.err conftest.$ac_ext
6836 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6837 echo "${ECHO_T}$ac_header_preproc" >&6
6838
6839 # So? What about this header?
6840 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
6841 yes:no: )
6842 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6843 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6844 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6845 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6846 ac_header_preproc=yes
6847 ;;
6848 no:yes:* )
6849 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6850 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6851 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6852 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6853 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6854 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6855 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6856 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6857 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6858 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6859 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6860 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6861 (
6862 cat <<\_ASBOX
6863 ## ----------------------------------------- ##
6864 ## Report this to the package-unused lists. ##
6865 ## ----------------------------------------- ##
6866 _ASBOX
6867 ) |
6868 sed "s/^/$as_me: WARNING: /" >&2
6869 ;;
6870 esac
6871 echo "$as_me:$LINENO: checking for $ac_header" >&5
6872 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6873 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6874 echo $ECHO_N "(cached) $ECHO_C" >&6
6875 else
6876 eval "$as_ac_Header=\$ac_header_preproc"
6877 fi
6878 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6879 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6880
6881 fi
6882 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6883 cat >>confdefs.h <<_ACEOF
6884 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6885 _ACEOF
6886 ac_has_complex_h=yes
6887 else
6888 ac_has_complex_h=no
6889 fi
6890
6891 done
6892
6893 ac_c99_complex=no;
6894 if test x"$ac_has_complex_h" = x"yes"; then
6895 echo "$as_me:$LINENO: checking for ISO C99 support in <complex.h>" >&5
6896 echo $ECHO_N "checking for ISO C99 support in <complex.h>... $ECHO_C" >&6
6897 cat >conftest.$ac_ext <<_ACEOF
6898 /* confdefs.h. */
6899 _ACEOF
6900 cat confdefs.h >>conftest.$ac_ext
6901 cat >>conftest.$ac_ext <<_ACEOF
6902 /* end confdefs.h. */
6903 #include <complex.h>
6904 int
6905 main ()
6906 {
6907 typedef __complex__ float float_type; float_type tmpf;
6908 cabsf(tmpf);
6909 cargf(tmpf);
6910 ccosf(tmpf);
6911 ccoshf(tmpf);
6912 cexpf(tmpf);
6913 clogf(tmpf);
6914 csinf(tmpf);
6915 csinhf(tmpf);
6916 csqrtf(tmpf);
6917 ctanf(tmpf);
6918 ctanhf(tmpf);
6919 cpowf(tmpf, tmpf);
6920 typedef __complex__ double double_type; double_type tmpd;
6921 cabs(tmpd);
6922 carg(tmpd);
6923 ccos(tmpd);
6924 ccosh(tmpd);
6925 cexp(tmpd);
6926 clog(tmpd);
6927 csin(tmpd);
6928 csinh(tmpd);
6929 csqrt(tmpd);
6930 ctan(tmpd);
6931 ctanh(tmpd);
6932 cpow(tmpd, tmpd);
6933 typedef __complex__ long double ld_type; ld_type tmpld;
6934 cabsl(tmpld);
6935 cargl(tmpld);
6936 ccosl(tmpld);
6937 ccoshl(tmpld);
6938 cexpl(tmpld);
6939 clogl(tmpld);
6940 csinl(tmpld);
6941 csinhl(tmpld);
6942 csqrtl(tmpld);
6943 ctanl(tmpld);
6944 ctanhl(tmpld);
6945 cpowl(tmpld, tmpld);
6946
6947 ;
6948 return 0;
6949 }
6950 _ACEOF
6951 rm -f conftest.$ac_objext
6952 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6953 (eval $ac_compile) 2>conftest.er1
6954 ac_status=$?
6955 grep -v '^ *+' conftest.er1 >conftest.err
6956 rm -f conftest.er1
6957 cat conftest.err >&5
6958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6959 (exit $ac_status); } &&
6960 { ac_try='test -z "$ac_cxx_werror_flag"
6961 || test ! -s conftest.err'
6962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6963 (eval $ac_try) 2>&5
6964 ac_status=$?
6965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6966 (exit $ac_status); }; } &&
6967 { ac_try='test -s conftest.$ac_objext'
6968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6969 (eval $ac_try) 2>&5
6970 ac_status=$?
6971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6972 (exit $ac_status); }; }; then
6973 ac_c99_complex=yes
6974 else
6975 echo "$as_me: failed program was:" >&5
6976 sed 's/^/| /' conftest.$ac_ext >&5
6977
6978 ac_c99_complex=no
6979 fi
6980 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6981 fi
6982 echo "$as_me:$LINENO: result: $ac_c99_complex" >&5
6983 echo "${ECHO_T}$ac_c99_complex" >&6
6984 if test x"$ac_c99_complex" = x"yes"; then
6985
6986 cat >>confdefs.h <<\_ACEOF
6987 #define _GLIBCXX_USE_C99_COMPLEX 1
6988 _ACEOF
6989
6990 fi
6991
6992 # Check for the existence in <stdio.h> of vscanf, et. al.
6993 echo "$as_me:$LINENO: checking for ISO C99 support in <stdio.h>" >&5
6994 echo $ECHO_N "checking for ISO C99 support in <stdio.h>... $ECHO_C" >&6
6995 if test "${ac_c99_stdio+set}" = set; then
6996 echo $ECHO_N "(cached) $ECHO_C" >&6
6997 else
6998
6999 cat >conftest.$ac_ext <<_ACEOF
7000 /* confdefs.h. */
7001 _ACEOF
7002 cat confdefs.h >>conftest.$ac_ext
7003 cat >>conftest.$ac_ext <<_ACEOF
7004 /* end confdefs.h. */
7005 #include <stdio.h>
7006 #include <stdarg.h>
7007 void foo(char* fmt, ...)
7008 {
7009 va_list args; va_start(args, fmt);
7010 vfscanf(stderr, "%i", args);
7011 vscanf("%i", args);
7012 vsnprintf(fmt, 0, "%i", args);
7013 vsscanf(fmt, "%i", args);
7014 }
7015 int
7016 main ()
7017 {
7018 snprintf("12", 0, "%i");
7019 ;
7020 return 0;
7021 }
7022 _ACEOF
7023 rm -f conftest.$ac_objext
7024 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7025 (eval $ac_compile) 2>conftest.er1
7026 ac_status=$?
7027 grep -v '^ *+' conftest.er1 >conftest.err
7028 rm -f conftest.er1
7029 cat conftest.err >&5
7030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7031 (exit $ac_status); } &&
7032 { ac_try='test -z "$ac_cxx_werror_flag"
7033 || test ! -s conftest.err'
7034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7035 (eval $ac_try) 2>&5
7036 ac_status=$?
7037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7038 (exit $ac_status); }; } &&
7039 { ac_try='test -s conftest.$ac_objext'
7040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7041 (eval $ac_try) 2>&5
7042 ac_status=$?
7043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7044 (exit $ac_status); }; }; then
7045 ac_c99_stdio=yes
7046 else
7047 echo "$as_me: failed program was:" >&5
7048 sed 's/^/| /' conftest.$ac_ext >&5
7049
7050 ac_c99_stdio=no
7051 fi
7052 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7053
7054 fi
7055
7056 echo "$as_me:$LINENO: result: $ac_c99_stdio" >&5
7057 echo "${ECHO_T}$ac_c99_stdio" >&6
7058
7059 # Check for the existence in <stdlib.h> of lldiv_t, et. al.
7060 echo "$as_me:$LINENO: checking for ISO C99 support in <stdlib.h>" >&5
7061 echo $ECHO_N "checking for ISO C99 support in <stdlib.h>... $ECHO_C" >&6
7062 if test "${ac_c99_stdlib+set}" = set; then
7063 echo $ECHO_N "(cached) $ECHO_C" >&6
7064 else
7065
7066 cat >conftest.$ac_ext <<_ACEOF
7067 /* confdefs.h. */
7068 _ACEOF
7069 cat confdefs.h >>conftest.$ac_ext
7070 cat >>conftest.$ac_ext <<_ACEOF
7071 /* end confdefs.h. */
7072 #include <stdlib.h>
7073 int
7074 main ()
7075 {
7076 char* tmp;
7077 strtof("gnu", &tmp);
7078 strtold("gnu", &tmp);
7079 strtoll("gnu", &tmp, 10);
7080 strtoull("gnu", &tmp, 10);
7081 llabs(10);
7082 lldiv(10,1);
7083 atoll("10");
7084 _Exit(0);
7085 lldiv_t mydivt;
7086 ;
7087 return 0;
7088 }
7089 _ACEOF
7090 rm -f conftest.$ac_objext
7091 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7092 (eval $ac_compile) 2>conftest.er1
7093 ac_status=$?
7094 grep -v '^ *+' conftest.er1 >conftest.err
7095 rm -f conftest.er1
7096 cat conftest.err >&5
7097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7098 (exit $ac_status); } &&
7099 { ac_try='test -z "$ac_cxx_werror_flag"
7100 || test ! -s conftest.err'
7101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7102 (eval $ac_try) 2>&5
7103 ac_status=$?
7104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7105 (exit $ac_status); }; } &&
7106 { ac_try='test -s conftest.$ac_objext'
7107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7108 (eval $ac_try) 2>&5
7109 ac_status=$?
7110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7111 (exit $ac_status); }; }; then
7112 ac_c99_stdlib=yes
7113 else
7114 echo "$as_me: failed program was:" >&5
7115 sed 's/^/| /' conftest.$ac_ext >&5
7116
7117 ac_c99_stdlib=no
7118 fi
7119 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7120
7121 fi
7122
7123 echo "$as_me:$LINENO: result: $ac_c99_stdlib" >&5
7124 echo "${ECHO_T}$ac_c99_stdlib" >&6
7125
7126 # Check for the existence in <wchar.h> of wcstoull, WEOF, etc.
7127
7128 for ac_header in wctype.h
7129 do
7130 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7131 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7132 echo "$as_me:$LINENO: checking for $ac_header" >&5
7133 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7134 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7135 echo $ECHO_N "(cached) $ECHO_C" >&6
7136 fi
7137 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7138 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7139 else
7140 # Is the header compilable?
7141 echo "$as_me:$LINENO: checking $ac_header usability" >&5
7142 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7143 cat >conftest.$ac_ext <<_ACEOF
7144 /* confdefs.h. */
7145 _ACEOF
7146 cat confdefs.h >>conftest.$ac_ext
7147 cat >>conftest.$ac_ext <<_ACEOF
7148 /* end confdefs.h. */
7149 $ac_includes_default
7150 #include <$ac_header>
7151 _ACEOF
7152 rm -f conftest.$ac_objext
7153 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7154 (eval $ac_compile) 2>conftest.er1
7155 ac_status=$?
7156 grep -v '^ *+' conftest.er1 >conftest.err
7157 rm -f conftest.er1
7158 cat conftest.err >&5
7159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7160 (exit $ac_status); } &&
7161 { ac_try='test -z "$ac_cxx_werror_flag"
7162 || test ! -s conftest.err'
7163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7164 (eval $ac_try) 2>&5
7165 ac_status=$?
7166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7167 (exit $ac_status); }; } &&
7168 { ac_try='test -s conftest.$ac_objext'
7169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7170 (eval $ac_try) 2>&5
7171 ac_status=$?
7172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7173 (exit $ac_status); }; }; then
7174 ac_header_compiler=yes
7175 else
7176 echo "$as_me: failed program was:" >&5
7177 sed 's/^/| /' conftest.$ac_ext >&5
7178
7179 ac_header_compiler=no
7180 fi
7181 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7182 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7183 echo "${ECHO_T}$ac_header_compiler" >&6
7184
7185 # Is the header present?
7186 echo "$as_me:$LINENO: checking $ac_header presence" >&5
7187 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7188 cat >conftest.$ac_ext <<_ACEOF
7189 /* confdefs.h. */
7190 _ACEOF
7191 cat confdefs.h >>conftest.$ac_ext
7192 cat >>conftest.$ac_ext <<_ACEOF
7193 /* end confdefs.h. */
7194 #include <$ac_header>
7195 _ACEOF
7196 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7197 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7198 ac_status=$?
7199 grep -v '^ *+' conftest.er1 >conftest.err
7200 rm -f conftest.er1
7201 cat conftest.err >&5
7202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7203 (exit $ac_status); } >/dev/null; then
7204 if test -s conftest.err; then
7205 ac_cpp_err=$ac_cxx_preproc_warn_flag
7206 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
7207 else
7208 ac_cpp_err=
7209 fi
7210 else
7211 ac_cpp_err=yes
7212 fi
7213 if test -z "$ac_cpp_err"; then
7214 ac_header_preproc=yes
7215 else
7216 echo "$as_me: failed program was:" >&5
7217 sed 's/^/| /' conftest.$ac_ext >&5
7218
7219 ac_header_preproc=no
7220 fi
7221 rm -f conftest.err conftest.$ac_ext
7222 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7223 echo "${ECHO_T}$ac_header_preproc" >&6
7224
7225 # So? What about this header?
7226 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
7227 yes:no: )
7228 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7229 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7230 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7231 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7232 ac_header_preproc=yes
7233 ;;
7234 no:yes:* )
7235 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7236 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7237 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7238 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7239 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7240 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7241 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7242 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7243 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7244 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7245 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7246 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7247 (
7248 cat <<\_ASBOX
7249 ## ----------------------------------------- ##
7250 ## Report this to the package-unused lists. ##
7251 ## ----------------------------------------- ##
7252 _ASBOX
7253 ) |
7254 sed "s/^/$as_me: WARNING: /" >&2
7255 ;;
7256 esac
7257 echo "$as_me:$LINENO: checking for $ac_header" >&5
7258 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7259 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7260 echo $ECHO_N "(cached) $ECHO_C" >&6
7261 else
7262 eval "$as_ac_Header=\$ac_header_preproc"
7263 fi
7264 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7265 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7266
7267 fi
7268 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7269 cat >>confdefs.h <<_ACEOF
7270 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7271 _ACEOF
7272 ac_has_wctype_h=yes
7273 else
7274 ac_has_wctype_h=no
7275 fi
7276
7277 done
7278
7279 ac_c99_wchar=no;
7280 if test x"$ac_has_wchar_h" = xyes &&
7281 test x"$ac_has_wctype_h" = xyes; then
7282 cat >conftest.$ac_ext <<_ACEOF
7283 /* confdefs.h. */
7284 _ACEOF
7285 cat confdefs.h >>conftest.$ac_ext
7286 cat >>conftest.$ac_ext <<_ACEOF
7287 /* end confdefs.h. */
7288 #include <wchar.h>
7289 #include <stddef.h>
7290 wint_t i;
7291 long l = WEOF;
7292 long j = WCHAR_MIN;
7293 long k = WCHAR_MAX;
7294 namespace test
7295 {
7296 using ::btowc;
7297 using ::fgetwc;
7298 using ::fgetws;
7299 using ::fputwc;
7300 using ::fputws;
7301 using ::fwide;
7302 using ::fwprintf;
7303 using ::fwscanf;
7304 using ::getwc;
7305 using ::getwchar;
7306 using ::mbrlen;
7307 using ::mbrtowc;
7308 using ::mbsinit;
7309 using ::mbsrtowcs;
7310 using ::putwc;
7311 using ::putwchar;
7312 using ::swprintf;
7313 using ::swscanf;
7314 using ::ungetwc;
7315 using ::vfwprintf;
7316 using ::vswprintf;
7317 using ::vwprintf;
7318 using ::wcrtomb;
7319 using ::wcscat;
7320 using ::wcschr;
7321 using ::wcscmp;
7322 using ::wcscoll;
7323 using ::wcscpy;
7324 using ::wcscspn;
7325 using ::wcsftime;
7326 using ::wcslen;
7327 using ::wcsncat;
7328 using ::wcsncmp;
7329 using ::wcsncpy;
7330 using ::wcspbrk;
7331 using ::wcsrchr;
7332 using ::wcsrtombs;
7333 using ::wcsspn;
7334 using ::wcsstr;
7335 using ::wcstod;
7336 using ::wcstok;
7337 using ::wcstol;
7338 using ::wcstold;
7339 using ::wcstoll;
7340 using ::wcstoul;
7341 using ::wcstoull;
7342 using ::wcsxfrm;
7343 using ::wctob;
7344 using ::wmemchr;
7345 using ::wmemcmp;
7346 using ::wmemcpy;
7347 using ::wmemmove;
7348 using ::wmemset;
7349 using ::wprintf;
7350 using ::wscanf;
7351 }
7352
7353 int
7354 main ()
7355 {
7356
7357 ;
7358 return 0;
7359 }
7360 _ACEOF
7361 rm -f conftest.$ac_objext
7362 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7363 (eval $ac_compile) 2>conftest.er1
7364 ac_status=$?
7365 grep -v '^ *+' conftest.er1 >conftest.err
7366 rm -f conftest.er1
7367 cat conftest.err >&5
7368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7369 (exit $ac_status); } &&
7370 { ac_try='test -z "$ac_cxx_werror_flag"
7371 || test ! -s conftest.err'
7372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7373 (eval $ac_try) 2>&5
7374 ac_status=$?
7375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7376 (exit $ac_status); }; } &&
7377 { ac_try='test -s conftest.$ac_objext'
7378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7379 (eval $ac_try) 2>&5
7380 ac_status=$?
7381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7382 (exit $ac_status); }; }; then
7383 ac_c99_wchar=yes
7384 else
7385 echo "$as_me: failed program was:" >&5
7386 sed 's/^/| /' conftest.$ac_ext >&5
7387
7388 ac_c99_wchar=no
7389 fi
7390 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7391
7392 # Checks for wide character functions that may not be present.
7393 # Injection of these is wrapped with guard macros.
7394 # NB: only put functions here, instead of immediately above, if
7395 # absolutely necessary.
7396 cat >conftest.$ac_ext <<_ACEOF
7397 /* confdefs.h. */
7398 _ACEOF
7399 cat confdefs.h >>conftest.$ac_ext
7400 cat >>conftest.$ac_ext <<_ACEOF
7401 /* end confdefs.h. */
7402 #include <wchar.h>
7403 namespace test { using ::vfwscanf; }
7404 int
7405 main ()
7406 {
7407
7408 ;
7409 return 0;
7410 }
7411 _ACEOF
7412 rm -f conftest.$ac_objext
7413 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7414 (eval $ac_compile) 2>conftest.er1
7415 ac_status=$?
7416 grep -v '^ *+' conftest.er1 >conftest.err
7417 rm -f conftest.er1
7418 cat conftest.err >&5
7419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7420 (exit $ac_status); } &&
7421 { ac_try='test -z "$ac_cxx_werror_flag"
7422 || test ! -s conftest.err'
7423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7424 (eval $ac_try) 2>&5
7425 ac_status=$?
7426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7427 (exit $ac_status); }; } &&
7428 { ac_try='test -s conftest.$ac_objext'
7429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7430 (eval $ac_try) 2>&5
7431 ac_status=$?
7432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7433 (exit $ac_status); }; }; then
7434
7435 cat >>confdefs.h <<\_ACEOF
7436 #define HAVE_VFWSCANF 1
7437 _ACEOF
7438
7439 else
7440 echo "$as_me: failed program was:" >&5
7441 sed 's/^/| /' conftest.$ac_ext >&5
7442
7443 fi
7444 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7445
7446 cat >conftest.$ac_ext <<_ACEOF
7447 /* confdefs.h. */
7448 _ACEOF
7449 cat confdefs.h >>conftest.$ac_ext
7450 cat >>conftest.$ac_ext <<_ACEOF
7451 /* end confdefs.h. */
7452 #include <wchar.h>
7453 namespace test { using ::vswscanf; }
7454 int
7455 main ()
7456 {
7457
7458 ;
7459 return 0;
7460 }
7461 _ACEOF
7462 rm -f conftest.$ac_objext
7463 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7464 (eval $ac_compile) 2>conftest.er1
7465 ac_status=$?
7466 grep -v '^ *+' conftest.er1 >conftest.err
7467 rm -f conftest.er1
7468 cat conftest.err >&5
7469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7470 (exit $ac_status); } &&
7471 { ac_try='test -z "$ac_cxx_werror_flag"
7472 || test ! -s conftest.err'
7473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7474 (eval $ac_try) 2>&5
7475 ac_status=$?
7476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7477 (exit $ac_status); }; } &&
7478 { ac_try='test -s conftest.$ac_objext'
7479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7480 (eval $ac_try) 2>&5
7481 ac_status=$?
7482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7483 (exit $ac_status); }; }; then
7484
7485 cat >>confdefs.h <<\_ACEOF
7486 #define HAVE_VSWSCANF 1
7487 _ACEOF
7488
7489 else
7490 echo "$as_me: failed program was:" >&5
7491 sed 's/^/| /' conftest.$ac_ext >&5
7492
7493 fi
7494 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7495
7496 cat >conftest.$ac_ext <<_ACEOF
7497 /* confdefs.h. */
7498 _ACEOF
7499 cat confdefs.h >>conftest.$ac_ext
7500 cat >>conftest.$ac_ext <<_ACEOF
7501 /* end confdefs.h. */
7502 #include <wchar.h>
7503 namespace test { using ::vwscanf; }
7504 int
7505 main ()
7506 {
7507
7508 ;
7509 return 0;
7510 }
7511 _ACEOF
7512 rm -f conftest.$ac_objext
7513 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7514 (eval $ac_compile) 2>conftest.er1
7515 ac_status=$?
7516 grep -v '^ *+' conftest.er1 >conftest.err
7517 rm -f conftest.er1
7518 cat conftest.err >&5
7519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7520 (exit $ac_status); } &&
7521 { ac_try='test -z "$ac_cxx_werror_flag"
7522 || test ! -s conftest.err'
7523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7524 (eval $ac_try) 2>&5
7525 ac_status=$?
7526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7527 (exit $ac_status); }; } &&
7528 { ac_try='test -s conftest.$ac_objext'
7529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7530 (eval $ac_try) 2>&5
7531 ac_status=$?
7532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7533 (exit $ac_status); }; }; then
7534
7535 cat >>confdefs.h <<\_ACEOF
7536 #define HAVE_VWSCANF 1
7537 _ACEOF
7538
7539 else
7540 echo "$as_me: failed program was:" >&5
7541 sed 's/^/| /' conftest.$ac_ext >&5
7542
7543 fi
7544 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7545
7546 cat >conftest.$ac_ext <<_ACEOF
7547 /* confdefs.h. */
7548 _ACEOF
7549 cat confdefs.h >>conftest.$ac_ext
7550 cat >>conftest.$ac_ext <<_ACEOF
7551 /* end confdefs.h. */
7552 #include <wchar.h>
7553 namespace test { using ::wcstof; }
7554 int
7555 main ()
7556 {
7557
7558 ;
7559 return 0;
7560 }
7561 _ACEOF
7562 rm -f conftest.$ac_objext
7563 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7564 (eval $ac_compile) 2>conftest.er1
7565 ac_status=$?
7566 grep -v '^ *+' conftest.er1 >conftest.err
7567 rm -f conftest.er1
7568 cat conftest.err >&5
7569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7570 (exit $ac_status); } &&
7571 { ac_try='test -z "$ac_cxx_werror_flag"
7572 || test ! -s conftest.err'
7573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7574 (eval $ac_try) 2>&5
7575 ac_status=$?
7576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7577 (exit $ac_status); }; } &&
7578 { ac_try='test -s conftest.$ac_objext'
7579 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7580 (eval $ac_try) 2>&5
7581 ac_status=$?
7582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7583 (exit $ac_status); }; }; then
7584
7585 cat >>confdefs.h <<\_ACEOF
7586 #define HAVE_WCSTOF 1
7587 _ACEOF
7588
7589 else
7590 echo "$as_me: failed program was:" >&5
7591 sed 's/^/| /' conftest.$ac_ext >&5
7592
7593 fi
7594 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7595
7596 cat >conftest.$ac_ext <<_ACEOF
7597 /* confdefs.h. */
7598 _ACEOF
7599 cat confdefs.h >>conftest.$ac_ext
7600 cat >>conftest.$ac_ext <<_ACEOF
7601 /* end confdefs.h. */
7602 #include <wctype.h>
7603 int
7604 main ()
7605 {
7606 wint_t t; int i = iswblank(t);
7607 ;
7608 return 0;
7609 }
7610 _ACEOF
7611 rm -f conftest.$ac_objext
7612 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7613 (eval $ac_compile) 2>conftest.er1
7614 ac_status=$?
7615 grep -v '^ *+' conftest.er1 >conftest.err
7616 rm -f conftest.er1
7617 cat conftest.err >&5
7618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7619 (exit $ac_status); } &&
7620 { ac_try='test -z "$ac_cxx_werror_flag"
7621 || test ! -s conftest.err'
7622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7623 (eval $ac_try) 2>&5
7624 ac_status=$?
7625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7626 (exit $ac_status); }; } &&
7627 { ac_try='test -s conftest.$ac_objext'
7628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7629 (eval $ac_try) 2>&5
7630 ac_status=$?
7631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7632 (exit $ac_status); }; }; then
7633
7634 cat >>confdefs.h <<\_ACEOF
7635 #define HAVE_ISWBLANK 1
7636 _ACEOF
7637
7638 else
7639 echo "$as_me: failed program was:" >&5
7640 sed 's/^/| /' conftest.$ac_ext >&5
7641
7642 fi
7643 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7644
7645 echo "$as_me:$LINENO: checking for ISO C99 support in <wchar.h>" >&5
7646 echo $ECHO_N "checking for ISO C99 support in <wchar.h>... $ECHO_C" >&6
7647 echo "$as_me:$LINENO: result: $ac_c99_wchar" >&5
7648 echo "${ECHO_T}$ac_c99_wchar" >&6
7649 fi
7650
7651 # Option parsed, now set things appropriately.
7652 if test x"$ac_c99_math" = x"no" ||
7653 test x"$ac_c99_complex" = x"no" ||
7654 test x"$ac_c99_stdio" = x"no" ||
7655 test x"$ac_c99_stdlib" = x"no" ||
7656 test x"$ac_c99_wchar" = x"no"; then
7657 enable_c99=no;
7658 else
7659
7660 cat >>confdefs.h <<\_ACEOF
7661 #define _GLIBCXX_USE_C99 1
7662 _ACEOF
7663
7664 fi
7665
7666 ac_ext=c
7667 ac_cpp='$CPP $CPPFLAGS'
7668 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7669 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7670 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7671
7672 fi
7673
7674 echo "$as_me:$LINENO: checking for fully enabled ISO C99 support" >&5
7675 echo $ECHO_N "checking for fully enabled ISO C99 support... $ECHO_C" >&6
7676 echo "$as_me:$LINENO: result: $enable_c99" >&5
7677 echo "${ECHO_T}$enable_c99" >&6
7678
7679
7680 # Check whether --enable-long-long or --disable-long-long was given.
7681 if test "${enable_long_long+set}" = set; then
7682 enableval="$enable_long_long"
7683
7684 case "$enableval" in
7685 yes|no) ;;
7686 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable long-long must be yes or no" >&5
7687 echo "$as_me: error: Argument to enable/disable long-long must be yes or no" >&2;}
7688 { (exit 1); exit 1; }; } ;;
7689 esac
7690
7691 else
7692 enable_long_long=yes
7693 fi;
7694
7695 if test $enable_long_long = yes; then
7696
7697 cat >>confdefs.h <<\_ACEOF
7698 #define _GLIBCXX_USE_LONG_LONG 1
7699 _ACEOF
7700
7701 fi
7702 echo "$as_me:$LINENO: checking for enabled long long specializations" >&5
7703 echo $ECHO_N "checking for enabled long long specializations... $ECHO_C" >&6
7704 echo "$as_me:$LINENO: result: $enable_long_long" >&5
7705 echo "${ECHO_T}$enable_long_long" >&6
7706
7707
7708 # Check whether --enable-wchar_t or --disable-wchar_t was given.
7709 if test "${enable_wchar_t+set}" = set; then
7710 enableval="$enable_wchar_t"
7711
7712 case "$enableval" in
7713 yes|no) ;;
7714 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable wchar_t must be yes or no" >&5
7715 echo "$as_me: error: Argument to enable/disable wchar_t must be yes or no" >&2;}
7716 { (exit 1); exit 1; }; } ;;
7717 esac
7718
7719 else
7720 enable_wchar_t=yes
7721 fi;
7722
7723 if test x"$ac_c99_wchar" = x"yes" && test x"$enable_wchar_t" = x"yes"; then
7724
7725 cat >>confdefs.h <<\_ACEOF
7726 #define _GLIBCXX_USE_WCHAR_T 1
7727 _ACEOF
7728
7729 fi
7730 echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
7731 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
7732 echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
7733 echo "${ECHO_T}$enable_wchar_t" >&6
7734
7735
7736 # Check whether --enable-concept-checks or --disable-concept-checks was given.
7737 if test "${enable_concept_checks+set}" = set; then
7738 enableval="$enable_concept_checks"
7739
7740 case "$enableval" in
7741 yes|no) ;;
7742 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable concept-checks must be yes or no" >&5
7743 echo "$as_me: error: Argument to enable/disable concept-checks must be yes or no" >&2;}
7744 { (exit 1); exit 1; }; } ;;
7745 esac
7746
7747 else
7748 enable_concept_checks=no
7749 fi;
7750
7751 if test $enable_concept_checks = yes; then
7752
7753 cat >>confdefs.h <<\_ACEOF
7754 #define _GLIBCXX_CONCEPT_CHECKS 1
7755 _ACEOF
7756
7757 fi
7758
7759
7760 # Check whether --enable-libstdcxx-debug-flags or --disable-libstdcxx-debug-flags was given.
7761 if test "${enable_libstdcxx_debug_flags+set}" = set; then
7762 enableval="$enable_libstdcxx_debug_flags"
7763 case "x$enable_libstdcxx_debug_flags" in
7764 xno | x) enable_libstdcxx_debug_flags= ;;
7765 x-*) ;;
7766 *) { { echo "$as_me:$LINENO: error: --enable-libstdcxx-debug-flags needs compiler flags as arguments" >&5
7767 echo "$as_me: error: --enable-libstdcxx-debug-flags needs compiler flags as arguments" >&2;}
7768 { (exit 1); exit 1; }; } ;;
7769 esac
7770 else
7771 enable_libstdcxx_debug_flags="-g3 -O0"
7772 fi;
7773
7774
7775 # Option parsed, now set things appropriately
7776 DEBUG_FLAGS="$enable_libstdcxx_debug_flags"
7777
7778
7779 { echo "$as_me:$LINENO: Debug build flags set to $DEBUG_FLAGS" >&5
7780 echo "$as_me: Debug build flags set to $DEBUG_FLAGS" >&6;}
7781
7782
7783 echo "$as_me:$LINENO: checking for additional debug build" >&5
7784 echo $ECHO_N "checking for additional debug build... $ECHO_C" >&6
7785 # Check whether --enable-libstdcxx-debug or --disable-libstdcxx-debug was given.
7786 if test "${enable_libstdcxx_debug+set}" = set; then
7787 enableval="$enable_libstdcxx_debug"
7788
7789 case "$enableval" in
7790 yes|no) ;;
7791 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable libstdcxx-debug must be yes or no" >&5
7792 echo "$as_me: error: Argument to enable/disable libstdcxx-debug must be yes or no" >&2;}
7793 { (exit 1); exit 1; }; } ;;
7794 esac
7795
7796 else
7797 enable_libstdcxx_debug=no
7798 fi;
7799
7800 echo "$as_me:$LINENO: result: $enable_libstdcxx_debug" >&5
7801 echo "${ECHO_T}$enable_libstdcxx_debug" >&6
7802
7803
7804 echo "$as_me:$LINENO: checking for extra compiler flags for building" >&5
7805 echo $ECHO_N "checking for extra compiler flags for building... $ECHO_C" >&6
7806 # Check whether --enable-cxx-flags or --disable-cxx-flags was given.
7807 if test "${enable_cxx_flags+set}" = set; then
7808 enableval="$enable_cxx_flags"
7809 case "x$enable_cxx_flags" in
7810 xno | x) enable_cxx_flags= ;;
7811 x-*) ;;
7812 *) { { echo "$as_me:$LINENO: error: --enable-cxx-flags needs compiler flags as arguments" >&5
7813 echo "$as_me: error: --enable-cxx-flags needs compiler flags as arguments" >&2;}
7814 { (exit 1); exit 1; }; } ;;
7815 esac
7816 else
7817 enable_cxx_flags=
7818 fi;
7819
7820
7821 # Run through flags (either default or command-line) and set anything
7822 # extra (e.g., #defines) that must accompany particular g++ options.
7823 if test -n "$enable_cxx_flags"; then
7824 for f in $enable_cxx_flags; do
7825 case "$f" in
7826 -fhonor-std) ;;
7827 -*) ;;
7828 *) # and we're trying to pass /what/ exactly?
7829 { { echo "$as_me:$LINENO: error: compiler flags start with a -" >&5
7830 echo "$as_me: error: compiler flags start with a -" >&2;}
7831 { (exit 1); exit 1; }; } ;;
7832 esac
7833 done
7834 fi
7835
7836 EXTRA_CXX_FLAGS="$enable_cxx_flags"
7837 echo "$as_me:$LINENO: result: $EXTRA_CXX_FLAGS" >&5
7838 echo "${ECHO_T}$EXTRA_CXX_FLAGS" >&6
7839
7840
7841
7842 # Check whether --enable-fully-dynamic-string or --disable-fully-dynamic-string was given.
7843 if test "${enable_fully_dynamic_string+set}" = set; then
7844 enableval="$enable_fully_dynamic_string"
7845
7846 case "$enableval" in
7847 yes|no) ;;
7848 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable fully-dynamic-string must be yes or no" >&5
7849 echo "$as_me: error: Argument to enable/disable fully-dynamic-string must be yes or no" >&2;}
7850 { (exit 1); exit 1; }; } ;;
7851 esac
7852
7853 else
7854 enable_fully_dynamic_string=no
7855 fi;
7856
7857 if test $enable_fully_dynamic_string = yes; then
7858
7859 cat >>confdefs.h <<\_ACEOF
7860 #define _GLIBCXX_FULLY_DYNAMIC_STRING 1
7861 _ACEOF
7862
7863 fi
7864
7865
7866 # No surprises, no surprises...
7867
7868 echo "$as_me:$LINENO: checking for thread model used by GCC" >&5
7869 echo $ECHO_N "checking for thread model used by GCC... $ECHO_C" >&6
7870 target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
7871 echo "$as_me:$LINENO: result: $target_thread_file" >&5
7872 echo "${ECHO_T}$target_thread_file" >&6
7873
7874 if test $target_thread_file != single; then
7875
7876 cat >>confdefs.h <<\_ACEOF
7877 #define HAVE_GTHR_DEFAULT 1
7878 _ACEOF
7879
7880 fi
7881
7882 glibcxx_thread_h=gthr-$target_thread_file.h
7883
7884 gthread_file=${toplevel_srcdir}/gcc/${glibcxx_thread_h}
7885 if grep __GTHREADS $gthread_file >/dev/null 2>&1 ; then
7886 enable_thread=yes
7887 else
7888 enable_thread=no
7889 fi
7890
7891
7892
7893 if test $atomicity_dir = cpu/generic ; then
7894 { echo "$as_me:$LINENO: WARNING: No native atomic operations are provided for this platform." >&5
7895 echo "$as_me: WARNING: No native atomic operations are provided for this platform." >&2;}
7896 if test $target_thread_file = single; then
7897 { echo "$as_me:$LINENO: WARNING: They cannot be faked when thread support is disabled." >&5
7898 echo "$as_me: WARNING: They cannot be faked when thread support is disabled." >&2;}
7899 { echo "$as_me:$LINENO: WARNING: Thread-safety of certain classes is not guaranteed." >&5
7900 echo "$as_me: WARNING: Thread-safety of certain classes is not guaranteed." >&2;}
7901 else
7902 { echo "$as_me:$LINENO: WARNING: They will be faked using a mutex." >&5
7903 echo "$as_me: WARNING: They will be faked using a mutex." >&2;}
7904 { echo "$as_me:$LINENO: WARNING: Performance of certain classes will degrade as a result." >&5
7905 echo "$as_me: WARNING: Performance of certain classes will degrade as a result." >&2;}
7906 fi
7907 fi
7908
7909
7910 if $GLIBCXX_IS_NATIVE; then
7911
7912 # We can do more elaborate tests that assume a working linker.
7913 CANADIAN=no
7914
7915 # Check for available headers.
7916
7917
7918
7919
7920
7921
7922
7923
7924
7925
7926
7927
7928
7929
7930
7931 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h machine/endian.h \
7932 machine/param.h sys/machine.h fp.h locale.h float.h inttypes.h gconv.h \
7933 sys/types.h sys/ipc.h sys/sem.h
7934 do
7935 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7936 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7937 echo "$as_me:$LINENO: checking for $ac_header" >&5
7938 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7939 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7940 echo $ECHO_N "(cached) $ECHO_C" >&6
7941 fi
7942 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7943 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7944 else
7945 # Is the header compilable?
7946 echo "$as_me:$LINENO: checking $ac_header usability" >&5
7947 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7948 cat >conftest.$ac_ext <<_ACEOF
7949 /* confdefs.h. */
7950 _ACEOF
7951 cat confdefs.h >>conftest.$ac_ext
7952 cat >>conftest.$ac_ext <<_ACEOF
7953 /* end confdefs.h. */
7954 $ac_includes_default
7955 #include <$ac_header>
7956 _ACEOF
7957 rm -f conftest.$ac_objext
7958 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7959 (eval $ac_compile) 2>conftest.er1
7960 ac_status=$?
7961 grep -v '^ *+' conftest.er1 >conftest.err
7962 rm -f conftest.er1
7963 cat conftest.err >&5
7964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7965 (exit $ac_status); } &&
7966 { ac_try='test -z "$ac_c_werror_flag"
7967 || test ! -s conftest.err'
7968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7969 (eval $ac_try) 2>&5
7970 ac_status=$?
7971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7972 (exit $ac_status); }; } &&
7973 { ac_try='test -s conftest.$ac_objext'
7974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7975 (eval $ac_try) 2>&5
7976 ac_status=$?
7977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7978 (exit $ac_status); }; }; then
7979 ac_header_compiler=yes
7980 else
7981 echo "$as_me: failed program was:" >&5
7982 sed 's/^/| /' conftest.$ac_ext >&5
7983
7984 ac_header_compiler=no
7985 fi
7986 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7987 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7988 echo "${ECHO_T}$ac_header_compiler" >&6
7989
7990 # Is the header present?
7991 echo "$as_me:$LINENO: checking $ac_header presence" >&5
7992 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7993 cat >conftest.$ac_ext <<_ACEOF
7994 /* confdefs.h. */
7995 _ACEOF
7996 cat confdefs.h >>conftest.$ac_ext
7997 cat >>conftest.$ac_ext <<_ACEOF
7998 /* end confdefs.h. */
7999 #include <$ac_header>
8000 _ACEOF
8001 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8002 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
8003 ac_status=$?
8004 grep -v '^ *+' conftest.er1 >conftest.err
8005 rm -f conftest.er1
8006 cat conftest.err >&5
8007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8008 (exit $ac_status); } >/dev/null; then
8009 if test -s conftest.err; then
8010 ac_cpp_err=$ac_c_preproc_warn_flag
8011 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
8012 else
8013 ac_cpp_err=
8014 fi
8015 else
8016 ac_cpp_err=yes
8017 fi
8018 if test -z "$ac_cpp_err"; then
8019 ac_header_preproc=yes
8020 else
8021 echo "$as_me: failed program was:" >&5
8022 sed 's/^/| /' conftest.$ac_ext >&5
8023
8024 ac_header_preproc=no
8025 fi
8026 rm -f conftest.err conftest.$ac_ext
8027 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8028 echo "${ECHO_T}$ac_header_preproc" >&6
8029
8030 # So? What about this header?
8031 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8032 yes:no: )
8033 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8034 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8035 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8036 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8037 ac_header_preproc=yes
8038 ;;
8039 no:yes:* )
8040 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8041 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8042 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8043 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8044 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8045 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8046 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
8047 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
8048 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8049 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8050 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8051 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8052 (
8053 cat <<\_ASBOX
8054 ## ----------------------------------------- ##
8055 ## Report this to the package-unused lists. ##
8056 ## ----------------------------------------- ##
8057 _ASBOX
8058 ) |
8059 sed "s/^/$as_me: WARNING: /" >&2
8060 ;;
8061 esac
8062 echo "$as_me:$LINENO: checking for $ac_header" >&5
8063 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8064 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8065 echo $ECHO_N "(cached) $ECHO_C" >&6
8066 else
8067 eval "$as_ac_Header=\$ac_header_preproc"
8068 fi
8069 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8070 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8071
8072 fi
8073 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8074 cat >>confdefs.h <<_ACEOF
8075 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8076 _ACEOF
8077
8078 fi
8079
8080 done
8081
8082
8083
8084 # All these tests are for C++; save the language and the compiler flags.
8085 # The CXXFLAGS thing is suspicious, but based on similar bits previously
8086 # found in GLIBCXX_CONFIGURE.
8087
8088
8089 ac_ext=cc
8090 ac_cpp='$CXXCPP $CPPFLAGS'
8091 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8092 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8093 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8094
8095 ac_test_CXXFLAGS="${CXXFLAGS+set}"
8096 ac_save_CXXFLAGS="$CXXFLAGS"
8097
8098 # Check for maintainer-mode bits.
8099 if test x"$USE_MAINTAINER_MODE" = xno; then
8100 WERROR=''
8101 else
8102 WERROR='-Werror'
8103 fi
8104
8105 # Check for -ffunction-sections -fdata-sections
8106 echo "$as_me:$LINENO: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
8107 echo $ECHO_N "checking for g++ that supports -ffunction-sections -fdata-sections... $ECHO_C" >&6
8108 CXXFLAGS='-Werror -ffunction-sections -fdata-sections'
8109 cat >conftest.$ac_ext <<_ACEOF
8110 /* confdefs.h. */
8111 _ACEOF
8112 cat confdefs.h >>conftest.$ac_ext
8113 cat >>conftest.$ac_ext <<_ACEOF
8114 /* end confdefs.h. */
8115
8116 int
8117 main ()
8118 {
8119 int foo;
8120 ;
8121 return 0;
8122 }
8123 _ACEOF
8124 rm -f conftest.$ac_objext
8125 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8126 (eval $ac_compile) 2>conftest.er1
8127 ac_status=$?
8128 grep -v '^ *+' conftest.er1 >conftest.err
8129 rm -f conftest.er1
8130 cat conftest.err >&5
8131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8132 (exit $ac_status); } &&
8133 { ac_try='test -z "$ac_cxx_werror_flag"
8134 || test ! -s conftest.err'
8135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8136 (eval $ac_try) 2>&5
8137 ac_status=$?
8138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8139 (exit $ac_status); }; } &&
8140 { ac_try='test -s conftest.$ac_objext'
8141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8142 (eval $ac_try) 2>&5
8143 ac_status=$?
8144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8145 (exit $ac_status); }; }; then
8146 ac_fdsections=yes
8147 else
8148 echo "$as_me: failed program was:" >&5
8149 sed 's/^/| /' conftest.$ac_ext >&5
8150
8151 ac_fdsections=no
8152 fi
8153 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8154 if test "$ac_test_CXXFLAGS" = set; then
8155 CXXFLAGS="$ac_save_CXXFLAGS"
8156 else
8157 # this is the suspicious part
8158 CXXFLAGS=''
8159 fi
8160 if test x"$ac_fdsections" = x"yes"; then
8161 SECTION_FLAGS='-ffunction-sections -fdata-sections'
8162 fi
8163 echo "$as_me:$LINENO: result: $ac_fdsections" >&5
8164 echo "${ECHO_T}$ac_fdsections" >&6
8165
8166 ac_ext=c
8167 ac_cpp='$CPP $CPPFLAGS'
8168 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8169 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8170 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8171
8172
8173
8174
8175
8176 # If we're not using GNU ld, then there's no point in even trying these
8177 # tests. Check for that first. We should have already tested for gld
8178 # by now (in libtool), but require it now just to be safe...
8179 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
8180 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
8181
8182
8183
8184 # The name set by libtool depends on the version of libtool. Shame on us
8185 # for depending on an impl detail, but c'est la vie. Older versions used
8186 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
8187 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
8188 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
8189 # set (hence we're using an older libtool), then set it.
8190 if test x${with_gnu_ld+set} != xset; then
8191 if test x${ac_cv_prog_gnu_ld+set} != xset; then
8192 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
8193 with_gnu_ld=no
8194 else
8195 with_gnu_ld=$ac_cv_prog_gnu_ld
8196 fi
8197 fi
8198
8199 # Start by getting the version number. I think the libtool test already
8200 # does some of this, but throws away the result.
8201
8202 ldver=`$LD --version 2>/dev/null | head -1 | \
8203 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
8204
8205 glibcxx_gnu_ld_version=`echo $ldver | \
8206 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
8207
8208 # Set --gc-sections.
8209 if test "$with_gnu_ld" = "notbroken"; then
8210 # GNU ld it is! Joy and bunny rabbits!
8211
8212 # All these tests are for C++; save the language and the compiler flags.
8213 # Need to do this so that g++ won't try to link in libstdc++
8214 ac_test_CFLAGS="${CFLAGS+set}"
8215 ac_save_CFLAGS="$CFLAGS"
8216 CFLAGS='-x c++ -Wl,--gc-sections'
8217
8218 # Check for -Wl,--gc-sections
8219 # XXX This test is broken at the moment, as symbols required for linking
8220 # are now in libsupc++ (not built yet). In addition, this test has
8221 # cored on solaris in the past. In addition, --gc-sections doesn't
8222 # really work at the moment (keeps on discarding used sections, first
8223 # .eh_frame and now some of the glibc sections for iconv).
8224 # Bzzzzt. Thanks for playing, maybe next time.
8225 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
8226 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
8227 if test "$cross_compiling" = yes; then
8228 ac_sectionLDflags=yes
8229 else
8230 cat >conftest.$ac_ext <<_ACEOF
8231 /* confdefs.h. */
8232 _ACEOF
8233 cat confdefs.h >>conftest.$ac_ext
8234 cat >>conftest.$ac_ext <<_ACEOF
8235 /* end confdefs.h. */
8236
8237 int main(void)
8238 {
8239 try { throw 1; }
8240 catch (...) { };
8241 return 0;
8242 }
8243
8244 _ACEOF
8245 rm -f conftest$ac_exeext
8246 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8247 (eval $ac_link) 2>&5
8248 ac_status=$?
8249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8250 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
8251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8252 (eval $ac_try) 2>&5
8253 ac_status=$?
8254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8255 (exit $ac_status); }; }; then
8256 ac_sectionLDflags=yes
8257 else
8258 echo "$as_me: program exited with status $ac_status" >&5
8259 echo "$as_me: failed program was:" >&5
8260 sed 's/^/| /' conftest.$ac_ext >&5
8261
8262 ( exit $ac_status )
8263 ac_sectionLDflags=no
8264 fi
8265 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
8266 fi
8267 if test "$ac_test_CFLAGS" = set; then
8268 CFLAGS="$ac_save_CFLAGS"
8269 else
8270 # this is the suspicious part
8271 CFLAGS=''
8272 fi
8273 if test "$ac_sectionLDflags" = "yes"; then
8274 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
8275 fi
8276 echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
8277 echo "${ECHO_T}$ac_sectionLDflags" >&6
8278 fi
8279
8280 # Set linker optimization flags.
8281 if test x"$with_gnu_ld" = x"yes"; then
8282 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
8283 fi
8284
8285
8286
8287
8288
8289 ac_test_CXXFLAGS="${CXXFLAGS+set}"
8290 ac_save_CXXFLAGS="$CXXFLAGS"
8291 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
8292
8293 echo "$as_me:$LINENO: checking for sin in -lm" >&5
8294 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
8295 if test "${ac_cv_lib_m_sin+set}" = set; then
8296 echo $ECHO_N "(cached) $ECHO_C" >&6
8297 else
8298 ac_check_lib_save_LIBS=$LIBS
8299 LIBS="-lm $LIBS"
8300 if test x$gcc_no_link = xyes; then
8301 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8302 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8303 { (exit 1); exit 1; }; }
8304 fi
8305 cat >conftest.$ac_ext <<_ACEOF
8306 /* confdefs.h. */
8307 _ACEOF
8308 cat confdefs.h >>conftest.$ac_ext
8309 cat >>conftest.$ac_ext <<_ACEOF
8310 /* end confdefs.h. */
8311
8312 /* Override any gcc2 internal prototype to avoid an error. */
8313 #ifdef __cplusplus
8314 extern "C"
8315 #endif
8316 /* We use char because int might match the return type of a gcc2
8317 builtin and then its argument prototype would still apply. */
8318 char sin ();
8319 int
8320 main ()
8321 {
8322 sin ();
8323 ;
8324 return 0;
8325 }
8326 _ACEOF
8327 rm -f conftest.$ac_objext conftest$ac_exeext
8328 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8329 (eval $ac_link) 2>conftest.er1
8330 ac_status=$?
8331 grep -v '^ *+' conftest.er1 >conftest.err
8332 rm -f conftest.er1
8333 cat conftest.err >&5
8334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8335 (exit $ac_status); } &&
8336 { ac_try='test -z "$ac_c_werror_flag"
8337 || test ! -s conftest.err'
8338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8339 (eval $ac_try) 2>&5
8340 ac_status=$?
8341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8342 (exit $ac_status); }; } &&
8343 { ac_try='test -s conftest$ac_exeext'
8344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8345 (eval $ac_try) 2>&5
8346 ac_status=$?
8347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8348 (exit $ac_status); }; }; then
8349 ac_cv_lib_m_sin=yes
8350 else
8351 echo "$as_me: failed program was:" >&5
8352 sed 's/^/| /' conftest.$ac_ext >&5
8353
8354 ac_cv_lib_m_sin=no
8355 fi
8356 rm -f conftest.err conftest.$ac_objext \
8357 conftest$ac_exeext conftest.$ac_ext
8358 LIBS=$ac_check_lib_save_LIBS
8359 fi
8360 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
8361 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
8362 if test $ac_cv_lib_m_sin = yes; then
8363 libm="-lm"
8364 fi
8365
8366 ac_save_LIBS="$LIBS"
8367 LIBS="$LIBS $libm"
8368
8369
8370
8371 echo "$as_me:$LINENO: checking for isinf declaration" >&5
8372 echo $ECHO_N "checking for isinf declaration... $ECHO_C" >&6
8373 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
8374 if test "${glibcxx_cv_func_isinf_use+set}" = set; then
8375 echo $ECHO_N "(cached) $ECHO_C" >&6
8376 else
8377
8378
8379
8380 ac_ext=cc
8381 ac_cpp='$CXXCPP $CPPFLAGS'
8382 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8383 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8384 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8385
8386 cat >conftest.$ac_ext <<_ACEOF
8387 /* confdefs.h. */
8388 _ACEOF
8389 cat confdefs.h >>conftest.$ac_ext
8390 cat >>conftest.$ac_ext <<_ACEOF
8391 /* end confdefs.h. */
8392 #include <math.h>
8393 #ifdef HAVE_IEEEFP_H
8394 #include <ieeefp.h>
8395 #endif
8396
8397 int
8398 main ()
8399 {
8400 isinf(0);
8401 ;
8402 return 0;
8403 }
8404 _ACEOF
8405 rm -f conftest.$ac_objext
8406 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8407 (eval $ac_compile) 2>conftest.er1
8408 ac_status=$?
8409 grep -v '^ *+' conftest.er1 >conftest.err
8410 rm -f conftest.er1
8411 cat conftest.err >&5
8412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8413 (exit $ac_status); } &&
8414 { ac_try='test -z "$ac_cxx_werror_flag"
8415 || test ! -s conftest.err'
8416 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8417 (eval $ac_try) 2>&5
8418 ac_status=$?
8419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8420 (exit $ac_status); }; } &&
8421 { ac_try='test -s conftest.$ac_objext'
8422 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8423 (eval $ac_try) 2>&5
8424 ac_status=$?
8425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8426 (exit $ac_status); }; }; then
8427 glibcxx_cv_func_isinf_use=yes
8428 else
8429 echo "$as_me: failed program was:" >&5
8430 sed 's/^/| /' conftest.$ac_ext >&5
8431
8432 glibcxx_cv_func_isinf_use=no
8433 fi
8434 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8435 ac_ext=c
8436 ac_cpp='$CPP $CPPFLAGS'
8437 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8438 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8439 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8440
8441
8442 fi
8443
8444 fi
8445 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinf_use" >&5
8446 echo "${ECHO_T}$glibcxx_cv_func_isinf_use" >&6
8447
8448 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
8449
8450 for ac_func in isinf
8451 do
8452 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8453 echo "$as_me:$LINENO: checking for $ac_func" >&5
8454 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8455 if eval "test \"\${$as_ac_var+set}\" = set"; then
8456 echo $ECHO_N "(cached) $ECHO_C" >&6
8457 else
8458 if test x$gcc_no_link = xyes; then
8459 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8460 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8461 { (exit 1); exit 1; }; }
8462 fi
8463 cat >conftest.$ac_ext <<_ACEOF
8464 /* confdefs.h. */
8465 _ACEOF
8466 cat confdefs.h >>conftest.$ac_ext
8467 cat >>conftest.$ac_ext <<_ACEOF
8468 /* end confdefs.h. */
8469 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
8470 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8471 #define $ac_func innocuous_$ac_func
8472
8473 /* System header to define __stub macros and hopefully few prototypes,
8474 which can conflict with char $ac_func (); below.
8475 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8476 <limits.h> exists even on freestanding compilers. */
8477
8478 #ifdef __STDC__
8479 # include <limits.h>
8480 #else
8481 # include <assert.h>
8482 #endif
8483
8484 #undef $ac_func
8485
8486 /* Override any gcc2 internal prototype to avoid an error. */
8487 #ifdef __cplusplus
8488 extern "C"
8489 {
8490 #endif
8491 /* We use char because int might match the return type of a gcc2
8492 builtin and then its argument prototype would still apply. */
8493 char $ac_func ();
8494 /* The GNU C library defines this for functions which it implements
8495 to always fail with ENOSYS. Some functions are actually named
8496 something starting with __ and the normal name is an alias. */
8497 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8498 choke me
8499 #else
8500 char (*f) () = $ac_func;
8501 #endif
8502 #ifdef __cplusplus
8503 }
8504 #endif
8505
8506 int
8507 main ()
8508 {
8509 return f != $ac_func;
8510 ;
8511 return 0;
8512 }
8513 _ACEOF
8514 rm -f conftest.$ac_objext conftest$ac_exeext
8515 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8516 (eval $ac_link) 2>conftest.er1
8517 ac_status=$?
8518 grep -v '^ *+' conftest.er1 >conftest.err
8519 rm -f conftest.er1
8520 cat conftest.err >&5
8521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8522 (exit $ac_status); } &&
8523 { ac_try='test -z "$ac_c_werror_flag"
8524 || test ! -s conftest.err'
8525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8526 (eval $ac_try) 2>&5
8527 ac_status=$?
8528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8529 (exit $ac_status); }; } &&
8530 { ac_try='test -s conftest$ac_exeext'
8531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8532 (eval $ac_try) 2>&5
8533 ac_status=$?
8534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8535 (exit $ac_status); }; }; then
8536 eval "$as_ac_var=yes"
8537 else
8538 echo "$as_me: failed program was:" >&5
8539 sed 's/^/| /' conftest.$ac_ext >&5
8540
8541 eval "$as_ac_var=no"
8542 fi
8543 rm -f conftest.err conftest.$ac_objext \
8544 conftest$ac_exeext conftest.$ac_ext
8545 fi
8546 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8547 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8548 if test `eval echo '${'$as_ac_var'}'` = yes; then
8549 cat >>confdefs.h <<_ACEOF
8550 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8551 _ACEOF
8552
8553 fi
8554 done
8555
8556 else
8557
8558 echo "$as_me:$LINENO: checking for _isinf declaration" >&5
8559 echo $ECHO_N "checking for _isinf declaration... $ECHO_C" >&6
8560 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
8561 if test "${glibcxx_cv_func__isinf_use+set}" = set; then
8562 echo $ECHO_N "(cached) $ECHO_C" >&6
8563 else
8564
8565
8566
8567 ac_ext=cc
8568 ac_cpp='$CXXCPP $CPPFLAGS'
8569 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8570 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8571 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8572
8573 cat >conftest.$ac_ext <<_ACEOF
8574 /* confdefs.h. */
8575 _ACEOF
8576 cat confdefs.h >>conftest.$ac_ext
8577 cat >>conftest.$ac_ext <<_ACEOF
8578 /* end confdefs.h. */
8579 #include <math.h>
8580 #ifdef HAVE_IEEEFP_H
8581 #include <ieeefp.h>
8582 #endif
8583
8584 int
8585 main ()
8586 {
8587 _isinf(0);
8588 ;
8589 return 0;
8590 }
8591 _ACEOF
8592 rm -f conftest.$ac_objext
8593 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8594 (eval $ac_compile) 2>conftest.er1
8595 ac_status=$?
8596 grep -v '^ *+' conftest.er1 >conftest.err
8597 rm -f conftest.er1
8598 cat conftest.err >&5
8599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8600 (exit $ac_status); } &&
8601 { ac_try='test -z "$ac_cxx_werror_flag"
8602 || test ! -s conftest.err'
8603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8604 (eval $ac_try) 2>&5
8605 ac_status=$?
8606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8607 (exit $ac_status); }; } &&
8608 { ac_try='test -s conftest.$ac_objext'
8609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8610 (eval $ac_try) 2>&5
8611 ac_status=$?
8612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8613 (exit $ac_status); }; }; then
8614 glibcxx_cv_func__isinf_use=yes
8615 else
8616 echo "$as_me: failed program was:" >&5
8617 sed 's/^/| /' conftest.$ac_ext >&5
8618
8619 glibcxx_cv_func__isinf_use=no
8620 fi
8621 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8622 ac_ext=c
8623 ac_cpp='$CPP $CPPFLAGS'
8624 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8625 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8626 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8627
8628
8629 fi
8630
8631 fi
8632 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinf_use" >&5
8633 echo "${ECHO_T}$glibcxx_cv_func__isinf_use" >&6
8634
8635 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
8636
8637 for ac_func in _isinf
8638 do
8639 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8640 echo "$as_me:$LINENO: checking for $ac_func" >&5
8641 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8642 if eval "test \"\${$as_ac_var+set}\" = set"; then
8643 echo $ECHO_N "(cached) $ECHO_C" >&6
8644 else
8645 if test x$gcc_no_link = xyes; then
8646 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8647 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8648 { (exit 1); exit 1; }; }
8649 fi
8650 cat >conftest.$ac_ext <<_ACEOF
8651 /* confdefs.h. */
8652 _ACEOF
8653 cat confdefs.h >>conftest.$ac_ext
8654 cat >>conftest.$ac_ext <<_ACEOF
8655 /* end confdefs.h. */
8656 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
8657 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8658 #define $ac_func innocuous_$ac_func
8659
8660 /* System header to define __stub macros and hopefully few prototypes,
8661 which can conflict with char $ac_func (); below.
8662 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8663 <limits.h> exists even on freestanding compilers. */
8664
8665 #ifdef __STDC__
8666 # include <limits.h>
8667 #else
8668 # include <assert.h>
8669 #endif
8670
8671 #undef $ac_func
8672
8673 /* Override any gcc2 internal prototype to avoid an error. */
8674 #ifdef __cplusplus
8675 extern "C"
8676 {
8677 #endif
8678 /* We use char because int might match the return type of a gcc2
8679 builtin and then its argument prototype would still apply. */
8680 char $ac_func ();
8681 /* The GNU C library defines this for functions which it implements
8682 to always fail with ENOSYS. Some functions are actually named
8683 something starting with __ and the normal name is an alias. */
8684 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8685 choke me
8686 #else
8687 char (*f) () = $ac_func;
8688 #endif
8689 #ifdef __cplusplus
8690 }
8691 #endif
8692
8693 int
8694 main ()
8695 {
8696 return f != $ac_func;
8697 ;
8698 return 0;
8699 }
8700 _ACEOF
8701 rm -f conftest.$ac_objext conftest$ac_exeext
8702 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8703 (eval $ac_link) 2>conftest.er1
8704 ac_status=$?
8705 grep -v '^ *+' conftest.er1 >conftest.err
8706 rm -f conftest.er1
8707 cat conftest.err >&5
8708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8709 (exit $ac_status); } &&
8710 { ac_try='test -z "$ac_c_werror_flag"
8711 || test ! -s conftest.err'
8712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8713 (eval $ac_try) 2>&5
8714 ac_status=$?
8715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8716 (exit $ac_status); }; } &&
8717 { ac_try='test -s conftest$ac_exeext'
8718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8719 (eval $ac_try) 2>&5
8720 ac_status=$?
8721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8722 (exit $ac_status); }; }; then
8723 eval "$as_ac_var=yes"
8724 else
8725 echo "$as_me: failed program was:" >&5
8726 sed 's/^/| /' conftest.$ac_ext >&5
8727
8728 eval "$as_ac_var=no"
8729 fi
8730 rm -f conftest.err conftest.$ac_objext \
8731 conftest$ac_exeext conftest.$ac_ext
8732 fi
8733 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8734 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8735 if test `eval echo '${'$as_ac_var'}'` = yes; then
8736 cat >>confdefs.h <<_ACEOF
8737 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8738 _ACEOF
8739
8740 fi
8741 done
8742
8743 fi
8744 fi
8745
8746
8747
8748
8749
8750
8751 echo "$as_me:$LINENO: checking for isnan declaration" >&5
8752 echo $ECHO_N "checking for isnan declaration... $ECHO_C" >&6
8753 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
8754 if test "${glibcxx_cv_func_isnan_use+set}" = set; then
8755 echo $ECHO_N "(cached) $ECHO_C" >&6
8756 else
8757
8758
8759
8760 ac_ext=cc
8761 ac_cpp='$CXXCPP $CPPFLAGS'
8762 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8763 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8764 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8765
8766 cat >conftest.$ac_ext <<_ACEOF
8767 /* confdefs.h. */
8768 _ACEOF
8769 cat confdefs.h >>conftest.$ac_ext
8770 cat >>conftest.$ac_ext <<_ACEOF
8771 /* end confdefs.h. */
8772 #include <math.h>
8773 #ifdef HAVE_IEEEFP_H
8774 #include <ieeefp.h>
8775 #endif
8776
8777 int
8778 main ()
8779 {
8780 isnan(0);
8781 ;
8782 return 0;
8783 }
8784 _ACEOF
8785 rm -f conftest.$ac_objext
8786 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8787 (eval $ac_compile) 2>conftest.er1
8788 ac_status=$?
8789 grep -v '^ *+' conftest.er1 >conftest.err
8790 rm -f conftest.er1
8791 cat conftest.err >&5
8792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8793 (exit $ac_status); } &&
8794 { ac_try='test -z "$ac_cxx_werror_flag"
8795 || test ! -s conftest.err'
8796 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8797 (eval $ac_try) 2>&5
8798 ac_status=$?
8799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8800 (exit $ac_status); }; } &&
8801 { ac_try='test -s conftest.$ac_objext'
8802 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8803 (eval $ac_try) 2>&5
8804 ac_status=$?
8805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8806 (exit $ac_status); }; }; then
8807 glibcxx_cv_func_isnan_use=yes
8808 else
8809 echo "$as_me: failed program was:" >&5
8810 sed 's/^/| /' conftest.$ac_ext >&5
8811
8812 glibcxx_cv_func_isnan_use=no
8813 fi
8814 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8815 ac_ext=c
8816 ac_cpp='$CPP $CPPFLAGS'
8817 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8818 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8819 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8820
8821
8822 fi
8823
8824 fi
8825 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnan_use" >&5
8826 echo "${ECHO_T}$glibcxx_cv_func_isnan_use" >&6
8827
8828 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
8829
8830 for ac_func in isnan
8831 do
8832 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8833 echo "$as_me:$LINENO: checking for $ac_func" >&5
8834 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8835 if eval "test \"\${$as_ac_var+set}\" = set"; then
8836 echo $ECHO_N "(cached) $ECHO_C" >&6
8837 else
8838 if test x$gcc_no_link = xyes; then
8839 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8840 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8841 { (exit 1); exit 1; }; }
8842 fi
8843 cat >conftest.$ac_ext <<_ACEOF
8844 /* confdefs.h. */
8845 _ACEOF
8846 cat confdefs.h >>conftest.$ac_ext
8847 cat >>conftest.$ac_ext <<_ACEOF
8848 /* end confdefs.h. */
8849 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
8850 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8851 #define $ac_func innocuous_$ac_func
8852
8853 /* System header to define __stub macros and hopefully few prototypes,
8854 which can conflict with char $ac_func (); below.
8855 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8856 <limits.h> exists even on freestanding compilers. */
8857
8858 #ifdef __STDC__
8859 # include <limits.h>
8860 #else
8861 # include <assert.h>
8862 #endif
8863
8864 #undef $ac_func
8865
8866 /* Override any gcc2 internal prototype to avoid an error. */
8867 #ifdef __cplusplus
8868 extern "C"
8869 {
8870 #endif
8871 /* We use char because int might match the return type of a gcc2
8872 builtin and then its argument prototype would still apply. */
8873 char $ac_func ();
8874 /* The GNU C library defines this for functions which it implements
8875 to always fail with ENOSYS. Some functions are actually named
8876 something starting with __ and the normal name is an alias. */
8877 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8878 choke me
8879 #else
8880 char (*f) () = $ac_func;
8881 #endif
8882 #ifdef __cplusplus
8883 }
8884 #endif
8885
8886 int
8887 main ()
8888 {
8889 return f != $ac_func;
8890 ;
8891 return 0;
8892 }
8893 _ACEOF
8894 rm -f conftest.$ac_objext conftest$ac_exeext
8895 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8896 (eval $ac_link) 2>conftest.er1
8897 ac_status=$?
8898 grep -v '^ *+' conftest.er1 >conftest.err
8899 rm -f conftest.er1
8900 cat conftest.err >&5
8901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8902 (exit $ac_status); } &&
8903 { ac_try='test -z "$ac_c_werror_flag"
8904 || test ! -s conftest.err'
8905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8906 (eval $ac_try) 2>&5
8907 ac_status=$?
8908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8909 (exit $ac_status); }; } &&
8910 { ac_try='test -s conftest$ac_exeext'
8911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8912 (eval $ac_try) 2>&5
8913 ac_status=$?
8914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8915 (exit $ac_status); }; }; then
8916 eval "$as_ac_var=yes"
8917 else
8918 echo "$as_me: failed program was:" >&5
8919 sed 's/^/| /' conftest.$ac_ext >&5
8920
8921 eval "$as_ac_var=no"
8922 fi
8923 rm -f conftest.err conftest.$ac_objext \
8924 conftest$ac_exeext conftest.$ac_ext
8925 fi
8926 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8927 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8928 if test `eval echo '${'$as_ac_var'}'` = yes; then
8929 cat >>confdefs.h <<_ACEOF
8930 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8931 _ACEOF
8932
8933 fi
8934 done
8935
8936 else
8937
8938 echo "$as_me:$LINENO: checking for _isnan declaration" >&5
8939 echo $ECHO_N "checking for _isnan declaration... $ECHO_C" >&6
8940 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
8941 if test "${glibcxx_cv_func__isnan_use+set}" = set; then
8942 echo $ECHO_N "(cached) $ECHO_C" >&6
8943 else
8944
8945
8946
8947 ac_ext=cc
8948 ac_cpp='$CXXCPP $CPPFLAGS'
8949 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8950 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8951 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8952
8953 cat >conftest.$ac_ext <<_ACEOF
8954 /* confdefs.h. */
8955 _ACEOF
8956 cat confdefs.h >>conftest.$ac_ext
8957 cat >>conftest.$ac_ext <<_ACEOF
8958 /* end confdefs.h. */
8959 #include <math.h>
8960 #ifdef HAVE_IEEEFP_H
8961 #include <ieeefp.h>
8962 #endif
8963
8964 int
8965 main ()
8966 {
8967 _isnan(0);
8968 ;
8969 return 0;
8970 }
8971 _ACEOF
8972 rm -f conftest.$ac_objext
8973 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8974 (eval $ac_compile) 2>conftest.er1
8975 ac_status=$?
8976 grep -v '^ *+' conftest.er1 >conftest.err
8977 rm -f conftest.er1
8978 cat conftest.err >&5
8979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8980 (exit $ac_status); } &&
8981 { ac_try='test -z "$ac_cxx_werror_flag"
8982 || test ! -s conftest.err'
8983 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8984 (eval $ac_try) 2>&5
8985 ac_status=$?
8986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8987 (exit $ac_status); }; } &&
8988 { ac_try='test -s conftest.$ac_objext'
8989 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8990 (eval $ac_try) 2>&5
8991 ac_status=$?
8992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8993 (exit $ac_status); }; }; then
8994 glibcxx_cv_func__isnan_use=yes
8995 else
8996 echo "$as_me: failed program was:" >&5
8997 sed 's/^/| /' conftest.$ac_ext >&5
8998
8999 glibcxx_cv_func__isnan_use=no
9000 fi
9001 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9002 ac_ext=c
9003 ac_cpp='$CPP $CPPFLAGS'
9004 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9005 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9006 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9007
9008
9009 fi
9010
9011 fi
9012 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnan_use" >&5
9013 echo "${ECHO_T}$glibcxx_cv_func__isnan_use" >&6
9014
9015 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
9016
9017 for ac_func in _isnan
9018 do
9019 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9020 echo "$as_me:$LINENO: checking for $ac_func" >&5
9021 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9022 if eval "test \"\${$as_ac_var+set}\" = set"; then
9023 echo $ECHO_N "(cached) $ECHO_C" >&6
9024 else
9025 if test x$gcc_no_link = xyes; then
9026 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9027 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9028 { (exit 1); exit 1; }; }
9029 fi
9030 cat >conftest.$ac_ext <<_ACEOF
9031 /* confdefs.h. */
9032 _ACEOF
9033 cat confdefs.h >>conftest.$ac_ext
9034 cat >>conftest.$ac_ext <<_ACEOF
9035 /* end confdefs.h. */
9036 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9037 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9038 #define $ac_func innocuous_$ac_func
9039
9040 /* System header to define __stub macros and hopefully few prototypes,
9041 which can conflict with char $ac_func (); below.
9042 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9043 <limits.h> exists even on freestanding compilers. */
9044
9045 #ifdef __STDC__
9046 # include <limits.h>
9047 #else
9048 # include <assert.h>
9049 #endif
9050
9051 #undef $ac_func
9052
9053 /* Override any gcc2 internal prototype to avoid an error. */
9054 #ifdef __cplusplus
9055 extern "C"
9056 {
9057 #endif
9058 /* We use char because int might match the return type of a gcc2
9059 builtin and then its argument prototype would still apply. */
9060 char $ac_func ();
9061 /* The GNU C library defines this for functions which it implements
9062 to always fail with ENOSYS. Some functions are actually named
9063 something starting with __ and the normal name is an alias. */
9064 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9065 choke me
9066 #else
9067 char (*f) () = $ac_func;
9068 #endif
9069 #ifdef __cplusplus
9070 }
9071 #endif
9072
9073 int
9074 main ()
9075 {
9076 return f != $ac_func;
9077 ;
9078 return 0;
9079 }
9080 _ACEOF
9081 rm -f conftest.$ac_objext conftest$ac_exeext
9082 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9083 (eval $ac_link) 2>conftest.er1
9084 ac_status=$?
9085 grep -v '^ *+' conftest.er1 >conftest.err
9086 rm -f conftest.er1
9087 cat conftest.err >&5
9088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9089 (exit $ac_status); } &&
9090 { ac_try='test -z "$ac_c_werror_flag"
9091 || test ! -s conftest.err'
9092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9093 (eval $ac_try) 2>&5
9094 ac_status=$?
9095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9096 (exit $ac_status); }; } &&
9097 { ac_try='test -s conftest$ac_exeext'
9098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9099 (eval $ac_try) 2>&5
9100 ac_status=$?
9101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9102 (exit $ac_status); }; }; then
9103 eval "$as_ac_var=yes"
9104 else
9105 echo "$as_me: failed program was:" >&5
9106 sed 's/^/| /' conftest.$ac_ext >&5
9107
9108 eval "$as_ac_var=no"
9109 fi
9110 rm -f conftest.err conftest.$ac_objext \
9111 conftest$ac_exeext conftest.$ac_ext
9112 fi
9113 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9114 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9115 if test `eval echo '${'$as_ac_var'}'` = yes; then
9116 cat >>confdefs.h <<_ACEOF
9117 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9118 _ACEOF
9119
9120 fi
9121 done
9122
9123 fi
9124 fi
9125
9126
9127
9128
9129
9130
9131 echo "$as_me:$LINENO: checking for finite declaration" >&5
9132 echo $ECHO_N "checking for finite declaration... $ECHO_C" >&6
9133 if test x${glibcxx_cv_func_finite_use+set} != xset; then
9134 if test "${glibcxx_cv_func_finite_use+set}" = set; then
9135 echo $ECHO_N "(cached) $ECHO_C" >&6
9136 else
9137
9138
9139
9140 ac_ext=cc
9141 ac_cpp='$CXXCPP $CPPFLAGS'
9142 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9143 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9144 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9145
9146 cat >conftest.$ac_ext <<_ACEOF
9147 /* confdefs.h. */
9148 _ACEOF
9149 cat confdefs.h >>conftest.$ac_ext
9150 cat >>conftest.$ac_ext <<_ACEOF
9151 /* end confdefs.h. */
9152 #include <math.h>
9153 #ifdef HAVE_IEEEFP_H
9154 #include <ieeefp.h>
9155 #endif
9156
9157 int
9158 main ()
9159 {
9160 finite(0);
9161 ;
9162 return 0;
9163 }
9164 _ACEOF
9165 rm -f conftest.$ac_objext
9166 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9167 (eval $ac_compile) 2>conftest.er1
9168 ac_status=$?
9169 grep -v '^ *+' conftest.er1 >conftest.err
9170 rm -f conftest.er1
9171 cat conftest.err >&5
9172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9173 (exit $ac_status); } &&
9174 { ac_try='test -z "$ac_cxx_werror_flag"
9175 || test ! -s conftest.err'
9176 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9177 (eval $ac_try) 2>&5
9178 ac_status=$?
9179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9180 (exit $ac_status); }; } &&
9181 { ac_try='test -s conftest.$ac_objext'
9182 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9183 (eval $ac_try) 2>&5
9184 ac_status=$?
9185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9186 (exit $ac_status); }; }; then
9187 glibcxx_cv_func_finite_use=yes
9188 else
9189 echo "$as_me: failed program was:" >&5
9190 sed 's/^/| /' conftest.$ac_ext >&5
9191
9192 glibcxx_cv_func_finite_use=no
9193 fi
9194 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9195 ac_ext=c
9196 ac_cpp='$CPP $CPPFLAGS'
9197 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9198 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9199 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9200
9201
9202 fi
9203
9204 fi
9205 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finite_use" >&5
9206 echo "${ECHO_T}$glibcxx_cv_func_finite_use" >&6
9207
9208 if test x$glibcxx_cv_func_finite_use = x"yes"; then
9209
9210 for ac_func in finite
9211 do
9212 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9213 echo "$as_me:$LINENO: checking for $ac_func" >&5
9214 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9215 if eval "test \"\${$as_ac_var+set}\" = set"; then
9216 echo $ECHO_N "(cached) $ECHO_C" >&6
9217 else
9218 if test x$gcc_no_link = xyes; then
9219 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9220 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9221 { (exit 1); exit 1; }; }
9222 fi
9223 cat >conftest.$ac_ext <<_ACEOF
9224 /* confdefs.h. */
9225 _ACEOF
9226 cat confdefs.h >>conftest.$ac_ext
9227 cat >>conftest.$ac_ext <<_ACEOF
9228 /* end confdefs.h. */
9229 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9230 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9231 #define $ac_func innocuous_$ac_func
9232
9233 /* System header to define __stub macros and hopefully few prototypes,
9234 which can conflict with char $ac_func (); below.
9235 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9236 <limits.h> exists even on freestanding compilers. */
9237
9238 #ifdef __STDC__
9239 # include <limits.h>
9240 #else
9241 # include <assert.h>
9242 #endif
9243
9244 #undef $ac_func
9245
9246 /* Override any gcc2 internal prototype to avoid an error. */
9247 #ifdef __cplusplus
9248 extern "C"
9249 {
9250 #endif
9251 /* We use char because int might match the return type of a gcc2
9252 builtin and then its argument prototype would still apply. */
9253 char $ac_func ();
9254 /* The GNU C library defines this for functions which it implements
9255 to always fail with ENOSYS. Some functions are actually named
9256 something starting with __ and the normal name is an alias. */
9257 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9258 choke me
9259 #else
9260 char (*f) () = $ac_func;
9261 #endif
9262 #ifdef __cplusplus
9263 }
9264 #endif
9265
9266 int
9267 main ()
9268 {
9269 return f != $ac_func;
9270 ;
9271 return 0;
9272 }
9273 _ACEOF
9274 rm -f conftest.$ac_objext conftest$ac_exeext
9275 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9276 (eval $ac_link) 2>conftest.er1
9277 ac_status=$?
9278 grep -v '^ *+' conftest.er1 >conftest.err
9279 rm -f conftest.er1
9280 cat conftest.err >&5
9281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9282 (exit $ac_status); } &&
9283 { ac_try='test -z "$ac_c_werror_flag"
9284 || test ! -s conftest.err'
9285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9286 (eval $ac_try) 2>&5
9287 ac_status=$?
9288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9289 (exit $ac_status); }; } &&
9290 { ac_try='test -s conftest$ac_exeext'
9291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9292 (eval $ac_try) 2>&5
9293 ac_status=$?
9294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9295 (exit $ac_status); }; }; then
9296 eval "$as_ac_var=yes"
9297 else
9298 echo "$as_me: failed program was:" >&5
9299 sed 's/^/| /' conftest.$ac_ext >&5
9300
9301 eval "$as_ac_var=no"
9302 fi
9303 rm -f conftest.err conftest.$ac_objext \
9304 conftest$ac_exeext conftest.$ac_ext
9305 fi
9306 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9307 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9308 if test `eval echo '${'$as_ac_var'}'` = yes; then
9309 cat >>confdefs.h <<_ACEOF
9310 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9311 _ACEOF
9312
9313 fi
9314 done
9315
9316 else
9317
9318 echo "$as_me:$LINENO: checking for _finite declaration" >&5
9319 echo $ECHO_N "checking for _finite declaration... $ECHO_C" >&6
9320 if test x${glibcxx_cv_func__finite_use+set} != xset; then
9321 if test "${glibcxx_cv_func__finite_use+set}" = set; then
9322 echo $ECHO_N "(cached) $ECHO_C" >&6
9323 else
9324
9325
9326
9327 ac_ext=cc
9328 ac_cpp='$CXXCPP $CPPFLAGS'
9329 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9330 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9331 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9332
9333 cat >conftest.$ac_ext <<_ACEOF
9334 /* confdefs.h. */
9335 _ACEOF
9336 cat confdefs.h >>conftest.$ac_ext
9337 cat >>conftest.$ac_ext <<_ACEOF
9338 /* end confdefs.h. */
9339 #include <math.h>
9340 #ifdef HAVE_IEEEFP_H
9341 #include <ieeefp.h>
9342 #endif
9343
9344 int
9345 main ()
9346 {
9347 _finite(0);
9348 ;
9349 return 0;
9350 }
9351 _ACEOF
9352 rm -f conftest.$ac_objext
9353 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9354 (eval $ac_compile) 2>conftest.er1
9355 ac_status=$?
9356 grep -v '^ *+' conftest.er1 >conftest.err
9357 rm -f conftest.er1
9358 cat conftest.err >&5
9359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9360 (exit $ac_status); } &&
9361 { ac_try='test -z "$ac_cxx_werror_flag"
9362 || test ! -s conftest.err'
9363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9364 (eval $ac_try) 2>&5
9365 ac_status=$?
9366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9367 (exit $ac_status); }; } &&
9368 { ac_try='test -s conftest.$ac_objext'
9369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9370 (eval $ac_try) 2>&5
9371 ac_status=$?
9372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9373 (exit $ac_status); }; }; then
9374 glibcxx_cv_func__finite_use=yes
9375 else
9376 echo "$as_me: failed program was:" >&5
9377 sed 's/^/| /' conftest.$ac_ext >&5
9378
9379 glibcxx_cv_func__finite_use=no
9380 fi
9381 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9382 ac_ext=c
9383 ac_cpp='$CPP $CPPFLAGS'
9384 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9385 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9386 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9387
9388
9389 fi
9390
9391 fi
9392 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finite_use" >&5
9393 echo "${ECHO_T}$glibcxx_cv_func__finite_use" >&6
9394
9395 if test x$glibcxx_cv_func__finite_use = x"yes"; then
9396
9397 for ac_func in _finite
9398 do
9399 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9400 echo "$as_me:$LINENO: checking for $ac_func" >&5
9401 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9402 if eval "test \"\${$as_ac_var+set}\" = set"; then
9403 echo $ECHO_N "(cached) $ECHO_C" >&6
9404 else
9405 if test x$gcc_no_link = xyes; then
9406 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9407 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9408 { (exit 1); exit 1; }; }
9409 fi
9410 cat >conftest.$ac_ext <<_ACEOF
9411 /* confdefs.h. */
9412 _ACEOF
9413 cat confdefs.h >>conftest.$ac_ext
9414 cat >>conftest.$ac_ext <<_ACEOF
9415 /* end confdefs.h. */
9416 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9417 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9418 #define $ac_func innocuous_$ac_func
9419
9420 /* System header to define __stub macros and hopefully few prototypes,
9421 which can conflict with char $ac_func (); below.
9422 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9423 <limits.h> exists even on freestanding compilers. */
9424
9425 #ifdef __STDC__
9426 # include <limits.h>
9427 #else
9428 # include <assert.h>
9429 #endif
9430
9431 #undef $ac_func
9432
9433 /* Override any gcc2 internal prototype to avoid an error. */
9434 #ifdef __cplusplus
9435 extern "C"
9436 {
9437 #endif
9438 /* We use char because int might match the return type of a gcc2
9439 builtin and then its argument prototype would still apply. */
9440 char $ac_func ();
9441 /* The GNU C library defines this for functions which it implements
9442 to always fail with ENOSYS. Some functions are actually named
9443 something starting with __ and the normal name is an alias. */
9444 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9445 choke me
9446 #else
9447 char (*f) () = $ac_func;
9448 #endif
9449 #ifdef __cplusplus
9450 }
9451 #endif
9452
9453 int
9454 main ()
9455 {
9456 return f != $ac_func;
9457 ;
9458 return 0;
9459 }
9460 _ACEOF
9461 rm -f conftest.$ac_objext conftest$ac_exeext
9462 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9463 (eval $ac_link) 2>conftest.er1
9464 ac_status=$?
9465 grep -v '^ *+' conftest.er1 >conftest.err
9466 rm -f conftest.er1
9467 cat conftest.err >&5
9468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9469 (exit $ac_status); } &&
9470 { ac_try='test -z "$ac_c_werror_flag"
9471 || test ! -s conftest.err'
9472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9473 (eval $ac_try) 2>&5
9474 ac_status=$?
9475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9476 (exit $ac_status); }; } &&
9477 { ac_try='test -s conftest$ac_exeext'
9478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9479 (eval $ac_try) 2>&5
9480 ac_status=$?
9481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9482 (exit $ac_status); }; }; then
9483 eval "$as_ac_var=yes"
9484 else
9485 echo "$as_me: failed program was:" >&5
9486 sed 's/^/| /' conftest.$ac_ext >&5
9487
9488 eval "$as_ac_var=no"
9489 fi
9490 rm -f conftest.err conftest.$ac_objext \
9491 conftest$ac_exeext conftest.$ac_ext
9492 fi
9493 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9494 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9495 if test `eval echo '${'$as_ac_var'}'` = yes; then
9496 cat >>confdefs.h <<_ACEOF
9497 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9498 _ACEOF
9499
9500 fi
9501 done
9502
9503 fi
9504 fi
9505
9506
9507
9508
9509
9510
9511 echo "$as_me:$LINENO: checking for copysign declaration" >&5
9512 echo $ECHO_N "checking for copysign declaration... $ECHO_C" >&6
9513 if test x${glibcxx_cv_func_copysign_use+set} != xset; then
9514 if test "${glibcxx_cv_func_copysign_use+set}" = set; then
9515 echo $ECHO_N "(cached) $ECHO_C" >&6
9516 else
9517
9518
9519
9520 ac_ext=cc
9521 ac_cpp='$CXXCPP $CPPFLAGS'
9522 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9523 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9524 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9525
9526 cat >conftest.$ac_ext <<_ACEOF
9527 /* confdefs.h. */
9528 _ACEOF
9529 cat confdefs.h >>conftest.$ac_ext
9530 cat >>conftest.$ac_ext <<_ACEOF
9531 /* end confdefs.h. */
9532 #include <math.h>
9533 int
9534 main ()
9535 {
9536 copysign(0, 0);
9537 ;
9538 return 0;
9539 }
9540 _ACEOF
9541 rm -f conftest.$ac_objext
9542 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9543 (eval $ac_compile) 2>conftest.er1
9544 ac_status=$?
9545 grep -v '^ *+' conftest.er1 >conftest.err
9546 rm -f conftest.er1
9547 cat conftest.err >&5
9548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9549 (exit $ac_status); } &&
9550 { ac_try='test -z "$ac_cxx_werror_flag"
9551 || test ! -s conftest.err'
9552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9553 (eval $ac_try) 2>&5
9554 ac_status=$?
9555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9556 (exit $ac_status); }; } &&
9557 { ac_try='test -s conftest.$ac_objext'
9558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9559 (eval $ac_try) 2>&5
9560 ac_status=$?
9561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9562 (exit $ac_status); }; }; then
9563 glibcxx_cv_func_copysign_use=yes
9564 else
9565 echo "$as_me: failed program was:" >&5
9566 sed 's/^/| /' conftest.$ac_ext >&5
9567
9568 glibcxx_cv_func_copysign_use=no
9569 fi
9570 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9571 ac_ext=c
9572 ac_cpp='$CPP $CPPFLAGS'
9573 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9574 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9575 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9576
9577
9578 fi
9579
9580 fi
9581 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysign_use" >&5
9582 echo "${ECHO_T}$glibcxx_cv_func_copysign_use" >&6
9583
9584 if test x$glibcxx_cv_func_copysign_use = x"yes"; then
9585
9586 for ac_func in copysign
9587 do
9588 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9589 echo "$as_me:$LINENO: checking for $ac_func" >&5
9590 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9591 if eval "test \"\${$as_ac_var+set}\" = set"; then
9592 echo $ECHO_N "(cached) $ECHO_C" >&6
9593 else
9594 if test x$gcc_no_link = xyes; then
9595 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9596 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9597 { (exit 1); exit 1; }; }
9598 fi
9599 cat >conftest.$ac_ext <<_ACEOF
9600 /* confdefs.h. */
9601 _ACEOF
9602 cat confdefs.h >>conftest.$ac_ext
9603 cat >>conftest.$ac_ext <<_ACEOF
9604 /* end confdefs.h. */
9605 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9606 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9607 #define $ac_func innocuous_$ac_func
9608
9609 /* System header to define __stub macros and hopefully few prototypes,
9610 which can conflict with char $ac_func (); below.
9611 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9612 <limits.h> exists even on freestanding compilers. */
9613
9614 #ifdef __STDC__
9615 # include <limits.h>
9616 #else
9617 # include <assert.h>
9618 #endif
9619
9620 #undef $ac_func
9621
9622 /* Override any gcc2 internal prototype to avoid an error. */
9623 #ifdef __cplusplus
9624 extern "C"
9625 {
9626 #endif
9627 /* We use char because int might match the return type of a gcc2
9628 builtin and then its argument prototype would still apply. */
9629 char $ac_func ();
9630 /* The GNU C library defines this for functions which it implements
9631 to always fail with ENOSYS. Some functions are actually named
9632 something starting with __ and the normal name is an alias. */
9633 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9634 choke me
9635 #else
9636 char (*f) () = $ac_func;
9637 #endif
9638 #ifdef __cplusplus
9639 }
9640 #endif
9641
9642 int
9643 main ()
9644 {
9645 return f != $ac_func;
9646 ;
9647 return 0;
9648 }
9649 _ACEOF
9650 rm -f conftest.$ac_objext conftest$ac_exeext
9651 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9652 (eval $ac_link) 2>conftest.er1
9653 ac_status=$?
9654 grep -v '^ *+' conftest.er1 >conftest.err
9655 rm -f conftest.er1
9656 cat conftest.err >&5
9657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9658 (exit $ac_status); } &&
9659 { ac_try='test -z "$ac_c_werror_flag"
9660 || test ! -s conftest.err'
9661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9662 (eval $ac_try) 2>&5
9663 ac_status=$?
9664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9665 (exit $ac_status); }; } &&
9666 { ac_try='test -s conftest$ac_exeext'
9667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9668 (eval $ac_try) 2>&5
9669 ac_status=$?
9670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9671 (exit $ac_status); }; }; then
9672 eval "$as_ac_var=yes"
9673 else
9674 echo "$as_me: failed program was:" >&5
9675 sed 's/^/| /' conftest.$ac_ext >&5
9676
9677 eval "$as_ac_var=no"
9678 fi
9679 rm -f conftest.err conftest.$ac_objext \
9680 conftest$ac_exeext conftest.$ac_ext
9681 fi
9682 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9683 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9684 if test `eval echo '${'$as_ac_var'}'` = yes; then
9685 cat >>confdefs.h <<_ACEOF
9686 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9687 _ACEOF
9688
9689 fi
9690 done
9691
9692 else
9693
9694 echo "$as_me:$LINENO: checking for _copysign declaration" >&5
9695 echo $ECHO_N "checking for _copysign declaration... $ECHO_C" >&6
9696 if test x${glibcxx_cv_func__copysign_use+set} != xset; then
9697 if test "${glibcxx_cv_func__copysign_use+set}" = set; then
9698 echo $ECHO_N "(cached) $ECHO_C" >&6
9699 else
9700
9701
9702
9703 ac_ext=cc
9704 ac_cpp='$CXXCPP $CPPFLAGS'
9705 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9706 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9707 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9708
9709 cat >conftest.$ac_ext <<_ACEOF
9710 /* confdefs.h. */
9711 _ACEOF
9712 cat confdefs.h >>conftest.$ac_ext
9713 cat >>conftest.$ac_ext <<_ACEOF
9714 /* end confdefs.h. */
9715 #include <math.h>
9716 int
9717 main ()
9718 {
9719 _copysign(0, 0);
9720 ;
9721 return 0;
9722 }
9723 _ACEOF
9724 rm -f conftest.$ac_objext
9725 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9726 (eval $ac_compile) 2>conftest.er1
9727 ac_status=$?
9728 grep -v '^ *+' conftest.er1 >conftest.err
9729 rm -f conftest.er1
9730 cat conftest.err >&5
9731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9732 (exit $ac_status); } &&
9733 { ac_try='test -z "$ac_cxx_werror_flag"
9734 || test ! -s conftest.err'
9735 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9736 (eval $ac_try) 2>&5
9737 ac_status=$?
9738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9739 (exit $ac_status); }; } &&
9740 { ac_try='test -s conftest.$ac_objext'
9741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9742 (eval $ac_try) 2>&5
9743 ac_status=$?
9744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9745 (exit $ac_status); }; }; then
9746 glibcxx_cv_func__copysign_use=yes
9747 else
9748 echo "$as_me: failed program was:" >&5
9749 sed 's/^/| /' conftest.$ac_ext >&5
9750
9751 glibcxx_cv_func__copysign_use=no
9752 fi
9753 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9754 ac_ext=c
9755 ac_cpp='$CPP $CPPFLAGS'
9756 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9757 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9758 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9759
9760
9761 fi
9762
9763 fi
9764 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysign_use" >&5
9765 echo "${ECHO_T}$glibcxx_cv_func__copysign_use" >&6
9766
9767 if test x$glibcxx_cv_func__copysign_use = x"yes"; then
9768
9769 for ac_func in _copysign
9770 do
9771 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9772 echo "$as_me:$LINENO: checking for $ac_func" >&5
9773 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9774 if eval "test \"\${$as_ac_var+set}\" = set"; then
9775 echo $ECHO_N "(cached) $ECHO_C" >&6
9776 else
9777 if test x$gcc_no_link = xyes; then
9778 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9779 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9780 { (exit 1); exit 1; }; }
9781 fi
9782 cat >conftest.$ac_ext <<_ACEOF
9783 /* confdefs.h. */
9784 _ACEOF
9785 cat confdefs.h >>conftest.$ac_ext
9786 cat >>conftest.$ac_ext <<_ACEOF
9787 /* end confdefs.h. */
9788 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9789 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9790 #define $ac_func innocuous_$ac_func
9791
9792 /* System header to define __stub macros and hopefully few prototypes,
9793 which can conflict with char $ac_func (); below.
9794 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9795 <limits.h> exists even on freestanding compilers. */
9796
9797 #ifdef __STDC__
9798 # include <limits.h>
9799 #else
9800 # include <assert.h>
9801 #endif
9802
9803 #undef $ac_func
9804
9805 /* Override any gcc2 internal prototype to avoid an error. */
9806 #ifdef __cplusplus
9807 extern "C"
9808 {
9809 #endif
9810 /* We use char because int might match the return type of a gcc2
9811 builtin and then its argument prototype would still apply. */
9812 char $ac_func ();
9813 /* The GNU C library defines this for functions which it implements
9814 to always fail with ENOSYS. Some functions are actually named
9815 something starting with __ and the normal name is an alias. */
9816 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9817 choke me
9818 #else
9819 char (*f) () = $ac_func;
9820 #endif
9821 #ifdef __cplusplus
9822 }
9823 #endif
9824
9825 int
9826 main ()
9827 {
9828 return f != $ac_func;
9829 ;
9830 return 0;
9831 }
9832 _ACEOF
9833 rm -f conftest.$ac_objext conftest$ac_exeext
9834 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9835 (eval $ac_link) 2>conftest.er1
9836 ac_status=$?
9837 grep -v '^ *+' conftest.er1 >conftest.err
9838 rm -f conftest.er1
9839 cat conftest.err >&5
9840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9841 (exit $ac_status); } &&
9842 { ac_try='test -z "$ac_c_werror_flag"
9843 || test ! -s conftest.err'
9844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9845 (eval $ac_try) 2>&5
9846 ac_status=$?
9847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9848 (exit $ac_status); }; } &&
9849 { ac_try='test -s conftest$ac_exeext'
9850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9851 (eval $ac_try) 2>&5
9852 ac_status=$?
9853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9854 (exit $ac_status); }; }; then
9855 eval "$as_ac_var=yes"
9856 else
9857 echo "$as_me: failed program was:" >&5
9858 sed 's/^/| /' conftest.$ac_ext >&5
9859
9860 eval "$as_ac_var=no"
9861 fi
9862 rm -f conftest.err conftest.$ac_objext \
9863 conftest$ac_exeext conftest.$ac_ext
9864 fi
9865 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9866 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9867 if test `eval echo '${'$as_ac_var'}'` = yes; then
9868 cat >>confdefs.h <<_ACEOF
9869 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9870 _ACEOF
9871
9872 fi
9873 done
9874
9875 fi
9876 fi
9877
9878
9879
9880
9881
9882
9883 echo "$as_me:$LINENO: checking for sincos declaration" >&5
9884 echo $ECHO_N "checking for sincos declaration... $ECHO_C" >&6
9885 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
9886 if test "${glibcxx_cv_func_sincos_use+set}" = set; then
9887 echo $ECHO_N "(cached) $ECHO_C" >&6
9888 else
9889
9890
9891
9892 ac_ext=cc
9893 ac_cpp='$CXXCPP $CPPFLAGS'
9894 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9895 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9896 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9897
9898 cat >conftest.$ac_ext <<_ACEOF
9899 /* confdefs.h. */
9900 _ACEOF
9901 cat confdefs.h >>conftest.$ac_ext
9902 cat >>conftest.$ac_ext <<_ACEOF
9903 /* end confdefs.h. */
9904 #include <math.h>
9905 int
9906 main ()
9907 {
9908 sincos(0, 0, 0);
9909 ;
9910 return 0;
9911 }
9912 _ACEOF
9913 rm -f conftest.$ac_objext
9914 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9915 (eval $ac_compile) 2>conftest.er1
9916 ac_status=$?
9917 grep -v '^ *+' conftest.er1 >conftest.err
9918 rm -f conftest.er1
9919 cat conftest.err >&5
9920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9921 (exit $ac_status); } &&
9922 { ac_try='test -z "$ac_cxx_werror_flag"
9923 || test ! -s conftest.err'
9924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9925 (eval $ac_try) 2>&5
9926 ac_status=$?
9927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9928 (exit $ac_status); }; } &&
9929 { ac_try='test -s conftest.$ac_objext'
9930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9931 (eval $ac_try) 2>&5
9932 ac_status=$?
9933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9934 (exit $ac_status); }; }; then
9935 glibcxx_cv_func_sincos_use=yes
9936 else
9937 echo "$as_me: failed program was:" >&5
9938 sed 's/^/| /' conftest.$ac_ext >&5
9939
9940 glibcxx_cv_func_sincos_use=no
9941 fi
9942 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9943 ac_ext=c
9944 ac_cpp='$CPP $CPPFLAGS'
9945 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9946 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9947 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9948
9949
9950 fi
9951
9952 fi
9953 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincos_use" >&5
9954 echo "${ECHO_T}$glibcxx_cv_func_sincos_use" >&6
9955
9956 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
9957
9958 for ac_func in sincos
9959 do
9960 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9961 echo "$as_me:$LINENO: checking for $ac_func" >&5
9962 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9963 if eval "test \"\${$as_ac_var+set}\" = set"; then
9964 echo $ECHO_N "(cached) $ECHO_C" >&6
9965 else
9966 if test x$gcc_no_link = xyes; then
9967 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9968 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9969 { (exit 1); exit 1; }; }
9970 fi
9971 cat >conftest.$ac_ext <<_ACEOF
9972 /* confdefs.h. */
9973 _ACEOF
9974 cat confdefs.h >>conftest.$ac_ext
9975 cat >>conftest.$ac_ext <<_ACEOF
9976 /* end confdefs.h. */
9977 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9978 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9979 #define $ac_func innocuous_$ac_func
9980
9981 /* System header to define __stub macros and hopefully few prototypes,
9982 which can conflict with char $ac_func (); below.
9983 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9984 <limits.h> exists even on freestanding compilers. */
9985
9986 #ifdef __STDC__
9987 # include <limits.h>
9988 #else
9989 # include <assert.h>
9990 #endif
9991
9992 #undef $ac_func
9993
9994 /* Override any gcc2 internal prototype to avoid an error. */
9995 #ifdef __cplusplus
9996 extern "C"
9997 {
9998 #endif
9999 /* We use char because int might match the return type of a gcc2
10000 builtin and then its argument prototype would still apply. */
10001 char $ac_func ();
10002 /* The GNU C library defines this for functions which it implements
10003 to always fail with ENOSYS. Some functions are actually named
10004 something starting with __ and the normal name is an alias. */
10005 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10006 choke me
10007 #else
10008 char (*f) () = $ac_func;
10009 #endif
10010 #ifdef __cplusplus
10011 }
10012 #endif
10013
10014 int
10015 main ()
10016 {
10017 return f != $ac_func;
10018 ;
10019 return 0;
10020 }
10021 _ACEOF
10022 rm -f conftest.$ac_objext conftest$ac_exeext
10023 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10024 (eval $ac_link) 2>conftest.er1
10025 ac_status=$?
10026 grep -v '^ *+' conftest.er1 >conftest.err
10027 rm -f conftest.er1
10028 cat conftest.err >&5
10029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10030 (exit $ac_status); } &&
10031 { ac_try='test -z "$ac_c_werror_flag"
10032 || test ! -s conftest.err'
10033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10034 (eval $ac_try) 2>&5
10035 ac_status=$?
10036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10037 (exit $ac_status); }; } &&
10038 { ac_try='test -s conftest$ac_exeext'
10039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10040 (eval $ac_try) 2>&5
10041 ac_status=$?
10042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10043 (exit $ac_status); }; }; then
10044 eval "$as_ac_var=yes"
10045 else
10046 echo "$as_me: failed program was:" >&5
10047 sed 's/^/| /' conftest.$ac_ext >&5
10048
10049 eval "$as_ac_var=no"
10050 fi
10051 rm -f conftest.err conftest.$ac_objext \
10052 conftest$ac_exeext conftest.$ac_ext
10053 fi
10054 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10055 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10056 if test `eval echo '${'$as_ac_var'}'` = yes; then
10057 cat >>confdefs.h <<_ACEOF
10058 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10059 _ACEOF
10060
10061 fi
10062 done
10063
10064 else
10065
10066 echo "$as_me:$LINENO: checking for _sincos declaration" >&5
10067 echo $ECHO_N "checking for _sincos declaration... $ECHO_C" >&6
10068 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
10069 if test "${glibcxx_cv_func__sincos_use+set}" = set; then
10070 echo $ECHO_N "(cached) $ECHO_C" >&6
10071 else
10072
10073
10074
10075 ac_ext=cc
10076 ac_cpp='$CXXCPP $CPPFLAGS'
10077 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10078 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10079 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10080
10081 cat >conftest.$ac_ext <<_ACEOF
10082 /* confdefs.h. */
10083 _ACEOF
10084 cat confdefs.h >>conftest.$ac_ext
10085 cat >>conftest.$ac_ext <<_ACEOF
10086 /* end confdefs.h. */
10087 #include <math.h>
10088 int
10089 main ()
10090 {
10091 _sincos(0, 0, 0);
10092 ;
10093 return 0;
10094 }
10095 _ACEOF
10096 rm -f conftest.$ac_objext
10097 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10098 (eval $ac_compile) 2>conftest.er1
10099 ac_status=$?
10100 grep -v '^ *+' conftest.er1 >conftest.err
10101 rm -f conftest.er1
10102 cat conftest.err >&5
10103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10104 (exit $ac_status); } &&
10105 { ac_try='test -z "$ac_cxx_werror_flag"
10106 || test ! -s conftest.err'
10107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10108 (eval $ac_try) 2>&5
10109 ac_status=$?
10110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10111 (exit $ac_status); }; } &&
10112 { ac_try='test -s conftest.$ac_objext'
10113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10114 (eval $ac_try) 2>&5
10115 ac_status=$?
10116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10117 (exit $ac_status); }; }; then
10118 glibcxx_cv_func__sincos_use=yes
10119 else
10120 echo "$as_me: failed program was:" >&5
10121 sed 's/^/| /' conftest.$ac_ext >&5
10122
10123 glibcxx_cv_func__sincos_use=no
10124 fi
10125 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10126 ac_ext=c
10127 ac_cpp='$CPP $CPPFLAGS'
10128 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10129 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10130 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10131
10132
10133 fi
10134
10135 fi
10136 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincos_use" >&5
10137 echo "${ECHO_T}$glibcxx_cv_func__sincos_use" >&6
10138
10139 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
10140
10141 for ac_func in _sincos
10142 do
10143 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10144 echo "$as_me:$LINENO: checking for $ac_func" >&5
10145 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10146 if eval "test \"\${$as_ac_var+set}\" = set"; then
10147 echo $ECHO_N "(cached) $ECHO_C" >&6
10148 else
10149 if test x$gcc_no_link = xyes; then
10150 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10151 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10152 { (exit 1); exit 1; }; }
10153 fi
10154 cat >conftest.$ac_ext <<_ACEOF
10155 /* confdefs.h. */
10156 _ACEOF
10157 cat confdefs.h >>conftest.$ac_ext
10158 cat >>conftest.$ac_ext <<_ACEOF
10159 /* end confdefs.h. */
10160 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10161 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10162 #define $ac_func innocuous_$ac_func
10163
10164 /* System header to define __stub macros and hopefully few prototypes,
10165 which can conflict with char $ac_func (); below.
10166 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10167 <limits.h> exists even on freestanding compilers. */
10168
10169 #ifdef __STDC__
10170 # include <limits.h>
10171 #else
10172 # include <assert.h>
10173 #endif
10174
10175 #undef $ac_func
10176
10177 /* Override any gcc2 internal prototype to avoid an error. */
10178 #ifdef __cplusplus
10179 extern "C"
10180 {
10181 #endif
10182 /* We use char because int might match the return type of a gcc2
10183 builtin and then its argument prototype would still apply. */
10184 char $ac_func ();
10185 /* The GNU C library defines this for functions which it implements
10186 to always fail with ENOSYS. Some functions are actually named
10187 something starting with __ and the normal name is an alias. */
10188 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10189 choke me
10190 #else
10191 char (*f) () = $ac_func;
10192 #endif
10193 #ifdef __cplusplus
10194 }
10195 #endif
10196
10197 int
10198 main ()
10199 {
10200 return f != $ac_func;
10201 ;
10202 return 0;
10203 }
10204 _ACEOF
10205 rm -f conftest.$ac_objext conftest$ac_exeext
10206 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10207 (eval $ac_link) 2>conftest.er1
10208 ac_status=$?
10209 grep -v '^ *+' conftest.er1 >conftest.err
10210 rm -f conftest.er1
10211 cat conftest.err >&5
10212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10213 (exit $ac_status); } &&
10214 { ac_try='test -z "$ac_c_werror_flag"
10215 || test ! -s conftest.err'
10216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10217 (eval $ac_try) 2>&5
10218 ac_status=$?
10219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10220 (exit $ac_status); }; } &&
10221 { ac_try='test -s conftest$ac_exeext'
10222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10223 (eval $ac_try) 2>&5
10224 ac_status=$?
10225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10226 (exit $ac_status); }; }; then
10227 eval "$as_ac_var=yes"
10228 else
10229 echo "$as_me: failed program was:" >&5
10230 sed 's/^/| /' conftest.$ac_ext >&5
10231
10232 eval "$as_ac_var=no"
10233 fi
10234 rm -f conftest.err conftest.$ac_objext \
10235 conftest$ac_exeext conftest.$ac_ext
10236 fi
10237 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10238 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10239 if test `eval echo '${'$as_ac_var'}'` = yes; then
10240 cat >>confdefs.h <<_ACEOF
10241 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10242 _ACEOF
10243
10244 fi
10245 done
10246
10247 fi
10248 fi
10249
10250
10251
10252
10253
10254
10255 echo "$as_me:$LINENO: checking for fpclass declaration" >&5
10256 echo $ECHO_N "checking for fpclass declaration... $ECHO_C" >&6
10257 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
10258 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then
10259 echo $ECHO_N "(cached) $ECHO_C" >&6
10260 else
10261
10262
10263
10264 ac_ext=cc
10265 ac_cpp='$CXXCPP $CPPFLAGS'
10266 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10267 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10268 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10269
10270 cat >conftest.$ac_ext <<_ACEOF
10271 /* confdefs.h. */
10272 _ACEOF
10273 cat confdefs.h >>conftest.$ac_ext
10274 cat >>conftest.$ac_ext <<_ACEOF
10275 /* end confdefs.h. */
10276 #include <math.h>
10277 #ifdef HAVE_IEEEFP_H
10278 #include <ieeefp.h>
10279 #endif
10280
10281 int
10282 main ()
10283 {
10284 fpclass(0);
10285 ;
10286 return 0;
10287 }
10288 _ACEOF
10289 rm -f conftest.$ac_objext
10290 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10291 (eval $ac_compile) 2>conftest.er1
10292 ac_status=$?
10293 grep -v '^ *+' conftest.er1 >conftest.err
10294 rm -f conftest.er1
10295 cat conftest.err >&5
10296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10297 (exit $ac_status); } &&
10298 { ac_try='test -z "$ac_cxx_werror_flag"
10299 || test ! -s conftest.err'
10300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10301 (eval $ac_try) 2>&5
10302 ac_status=$?
10303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10304 (exit $ac_status); }; } &&
10305 { ac_try='test -s conftest.$ac_objext'
10306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10307 (eval $ac_try) 2>&5
10308 ac_status=$?
10309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10310 (exit $ac_status); }; }; then
10311 glibcxx_cv_func_fpclass_use=yes
10312 else
10313 echo "$as_me: failed program was:" >&5
10314 sed 's/^/| /' conftest.$ac_ext >&5
10315
10316 glibcxx_cv_func_fpclass_use=no
10317 fi
10318 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10319 ac_ext=c
10320 ac_cpp='$CPP $CPPFLAGS'
10321 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10322 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10323 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10324
10325
10326 fi
10327
10328 fi
10329 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fpclass_use" >&5
10330 echo "${ECHO_T}$glibcxx_cv_func_fpclass_use" >&6
10331
10332 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
10333
10334 for ac_func in fpclass
10335 do
10336 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10337 echo "$as_me:$LINENO: checking for $ac_func" >&5
10338 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10339 if eval "test \"\${$as_ac_var+set}\" = set"; then
10340 echo $ECHO_N "(cached) $ECHO_C" >&6
10341 else
10342 if test x$gcc_no_link = xyes; then
10343 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10344 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10345 { (exit 1); exit 1; }; }
10346 fi
10347 cat >conftest.$ac_ext <<_ACEOF
10348 /* confdefs.h. */
10349 _ACEOF
10350 cat confdefs.h >>conftest.$ac_ext
10351 cat >>conftest.$ac_ext <<_ACEOF
10352 /* end confdefs.h. */
10353 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10354 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10355 #define $ac_func innocuous_$ac_func
10356
10357 /* System header to define __stub macros and hopefully few prototypes,
10358 which can conflict with char $ac_func (); below.
10359 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10360 <limits.h> exists even on freestanding compilers. */
10361
10362 #ifdef __STDC__
10363 # include <limits.h>
10364 #else
10365 # include <assert.h>
10366 #endif
10367
10368 #undef $ac_func
10369
10370 /* Override any gcc2 internal prototype to avoid an error. */
10371 #ifdef __cplusplus
10372 extern "C"
10373 {
10374 #endif
10375 /* We use char because int might match the return type of a gcc2
10376 builtin and then its argument prototype would still apply. */
10377 char $ac_func ();
10378 /* The GNU C library defines this for functions which it implements
10379 to always fail with ENOSYS. Some functions are actually named
10380 something starting with __ and the normal name is an alias. */
10381 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10382 choke me
10383 #else
10384 char (*f) () = $ac_func;
10385 #endif
10386 #ifdef __cplusplus
10387 }
10388 #endif
10389
10390 int
10391 main ()
10392 {
10393 return f != $ac_func;
10394 ;
10395 return 0;
10396 }
10397 _ACEOF
10398 rm -f conftest.$ac_objext conftest$ac_exeext
10399 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10400 (eval $ac_link) 2>conftest.er1
10401 ac_status=$?
10402 grep -v '^ *+' conftest.er1 >conftest.err
10403 rm -f conftest.er1
10404 cat conftest.err >&5
10405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10406 (exit $ac_status); } &&
10407 { ac_try='test -z "$ac_c_werror_flag"
10408 || test ! -s conftest.err'
10409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10410 (eval $ac_try) 2>&5
10411 ac_status=$?
10412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10413 (exit $ac_status); }; } &&
10414 { ac_try='test -s conftest$ac_exeext'
10415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10416 (eval $ac_try) 2>&5
10417 ac_status=$?
10418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10419 (exit $ac_status); }; }; then
10420 eval "$as_ac_var=yes"
10421 else
10422 echo "$as_me: failed program was:" >&5
10423 sed 's/^/| /' conftest.$ac_ext >&5
10424
10425 eval "$as_ac_var=no"
10426 fi
10427 rm -f conftest.err conftest.$ac_objext \
10428 conftest$ac_exeext conftest.$ac_ext
10429 fi
10430 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10431 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10432 if test `eval echo '${'$as_ac_var'}'` = yes; then
10433 cat >>confdefs.h <<_ACEOF
10434 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10435 _ACEOF
10436
10437 fi
10438 done
10439
10440 else
10441
10442 echo "$as_me:$LINENO: checking for _fpclass declaration" >&5
10443 echo $ECHO_N "checking for _fpclass declaration... $ECHO_C" >&6
10444 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
10445 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then
10446 echo $ECHO_N "(cached) $ECHO_C" >&6
10447 else
10448
10449
10450
10451 ac_ext=cc
10452 ac_cpp='$CXXCPP $CPPFLAGS'
10453 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10454 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10455 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10456
10457 cat >conftest.$ac_ext <<_ACEOF
10458 /* confdefs.h. */
10459 _ACEOF
10460 cat confdefs.h >>conftest.$ac_ext
10461 cat >>conftest.$ac_ext <<_ACEOF
10462 /* end confdefs.h. */
10463 #include <math.h>
10464 #ifdef HAVE_IEEEFP_H
10465 #include <ieeefp.h>
10466 #endif
10467
10468 int
10469 main ()
10470 {
10471 _fpclass(0);
10472 ;
10473 return 0;
10474 }
10475 _ACEOF
10476 rm -f conftest.$ac_objext
10477 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10478 (eval $ac_compile) 2>conftest.er1
10479 ac_status=$?
10480 grep -v '^ *+' conftest.er1 >conftest.err
10481 rm -f conftest.er1
10482 cat conftest.err >&5
10483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10484 (exit $ac_status); } &&
10485 { ac_try='test -z "$ac_cxx_werror_flag"
10486 || test ! -s conftest.err'
10487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10488 (eval $ac_try) 2>&5
10489 ac_status=$?
10490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10491 (exit $ac_status); }; } &&
10492 { ac_try='test -s conftest.$ac_objext'
10493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10494 (eval $ac_try) 2>&5
10495 ac_status=$?
10496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10497 (exit $ac_status); }; }; then
10498 glibcxx_cv_func__fpclass_use=yes
10499 else
10500 echo "$as_me: failed program was:" >&5
10501 sed 's/^/| /' conftest.$ac_ext >&5
10502
10503 glibcxx_cv_func__fpclass_use=no
10504 fi
10505 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10506 ac_ext=c
10507 ac_cpp='$CPP $CPPFLAGS'
10508 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10509 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10510 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10511
10512
10513 fi
10514
10515 fi
10516 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fpclass_use" >&5
10517 echo "${ECHO_T}$glibcxx_cv_func__fpclass_use" >&6
10518
10519 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
10520
10521 for ac_func in _fpclass
10522 do
10523 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10524 echo "$as_me:$LINENO: checking for $ac_func" >&5
10525 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10526 if eval "test \"\${$as_ac_var+set}\" = set"; then
10527 echo $ECHO_N "(cached) $ECHO_C" >&6
10528 else
10529 if test x$gcc_no_link = xyes; then
10530 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10531 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10532 { (exit 1); exit 1; }; }
10533 fi
10534 cat >conftest.$ac_ext <<_ACEOF
10535 /* confdefs.h. */
10536 _ACEOF
10537 cat confdefs.h >>conftest.$ac_ext
10538 cat >>conftest.$ac_ext <<_ACEOF
10539 /* end confdefs.h. */
10540 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10541 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10542 #define $ac_func innocuous_$ac_func
10543
10544 /* System header to define __stub macros and hopefully few prototypes,
10545 which can conflict with char $ac_func (); below.
10546 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10547 <limits.h> exists even on freestanding compilers. */
10548
10549 #ifdef __STDC__
10550 # include <limits.h>
10551 #else
10552 # include <assert.h>
10553 #endif
10554
10555 #undef $ac_func
10556
10557 /* Override any gcc2 internal prototype to avoid an error. */
10558 #ifdef __cplusplus
10559 extern "C"
10560 {
10561 #endif
10562 /* We use char because int might match the return type of a gcc2
10563 builtin and then its argument prototype would still apply. */
10564 char $ac_func ();
10565 /* The GNU C library defines this for functions which it implements
10566 to always fail with ENOSYS. Some functions are actually named
10567 something starting with __ and the normal name is an alias. */
10568 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10569 choke me
10570 #else
10571 char (*f) () = $ac_func;
10572 #endif
10573 #ifdef __cplusplus
10574 }
10575 #endif
10576
10577 int
10578 main ()
10579 {
10580 return f != $ac_func;
10581 ;
10582 return 0;
10583 }
10584 _ACEOF
10585 rm -f conftest.$ac_objext conftest$ac_exeext
10586 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10587 (eval $ac_link) 2>conftest.er1
10588 ac_status=$?
10589 grep -v '^ *+' conftest.er1 >conftest.err
10590 rm -f conftest.er1
10591 cat conftest.err >&5
10592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10593 (exit $ac_status); } &&
10594 { ac_try='test -z "$ac_c_werror_flag"
10595 || test ! -s conftest.err'
10596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10597 (eval $ac_try) 2>&5
10598 ac_status=$?
10599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10600 (exit $ac_status); }; } &&
10601 { ac_try='test -s conftest$ac_exeext'
10602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10603 (eval $ac_try) 2>&5
10604 ac_status=$?
10605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10606 (exit $ac_status); }; }; then
10607 eval "$as_ac_var=yes"
10608 else
10609 echo "$as_me: failed program was:" >&5
10610 sed 's/^/| /' conftest.$ac_ext >&5
10611
10612 eval "$as_ac_var=no"
10613 fi
10614 rm -f conftest.err conftest.$ac_objext \
10615 conftest$ac_exeext conftest.$ac_ext
10616 fi
10617 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10618 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10619 if test `eval echo '${'$as_ac_var'}'` = yes; then
10620 cat >>confdefs.h <<_ACEOF
10621 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10622 _ACEOF
10623
10624 fi
10625 done
10626
10627 fi
10628 fi
10629
10630
10631
10632
10633
10634
10635 echo "$as_me:$LINENO: checking for qfpclass declaration" >&5
10636 echo $ECHO_N "checking for qfpclass declaration... $ECHO_C" >&6
10637 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
10638 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then
10639 echo $ECHO_N "(cached) $ECHO_C" >&6
10640 else
10641
10642
10643
10644 ac_ext=cc
10645 ac_cpp='$CXXCPP $CPPFLAGS'
10646 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10647 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10648 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10649
10650 cat >conftest.$ac_ext <<_ACEOF
10651 /* confdefs.h. */
10652 _ACEOF
10653 cat confdefs.h >>conftest.$ac_ext
10654 cat >>conftest.$ac_ext <<_ACEOF
10655 /* end confdefs.h. */
10656 #include <math.h>
10657 #ifdef HAVE_IEEEFP_H
10658 #include <ieeefp.h>
10659 #endif
10660
10661 int
10662 main ()
10663 {
10664 qfpclass(0);
10665 ;
10666 return 0;
10667 }
10668 _ACEOF
10669 rm -f conftest.$ac_objext
10670 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10671 (eval $ac_compile) 2>conftest.er1
10672 ac_status=$?
10673 grep -v '^ *+' conftest.er1 >conftest.err
10674 rm -f conftest.er1
10675 cat conftest.err >&5
10676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10677 (exit $ac_status); } &&
10678 { ac_try='test -z "$ac_cxx_werror_flag"
10679 || test ! -s conftest.err'
10680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10681 (eval $ac_try) 2>&5
10682 ac_status=$?
10683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10684 (exit $ac_status); }; } &&
10685 { ac_try='test -s conftest.$ac_objext'
10686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10687 (eval $ac_try) 2>&5
10688 ac_status=$?
10689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10690 (exit $ac_status); }; }; then
10691 glibcxx_cv_func_qfpclass_use=yes
10692 else
10693 echo "$as_me: failed program was:" >&5
10694 sed 's/^/| /' conftest.$ac_ext >&5
10695
10696 glibcxx_cv_func_qfpclass_use=no
10697 fi
10698 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10699 ac_ext=c
10700 ac_cpp='$CPP $CPPFLAGS'
10701 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10702 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10703 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10704
10705
10706 fi
10707
10708 fi
10709 echo "$as_me:$LINENO: result: $glibcxx_cv_func_qfpclass_use" >&5
10710 echo "${ECHO_T}$glibcxx_cv_func_qfpclass_use" >&6
10711
10712 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
10713
10714 for ac_func in qfpclass
10715 do
10716 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10717 echo "$as_me:$LINENO: checking for $ac_func" >&5
10718 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10719 if eval "test \"\${$as_ac_var+set}\" = set"; then
10720 echo $ECHO_N "(cached) $ECHO_C" >&6
10721 else
10722 if test x$gcc_no_link = xyes; then
10723 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10724 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10725 { (exit 1); exit 1; }; }
10726 fi
10727 cat >conftest.$ac_ext <<_ACEOF
10728 /* confdefs.h. */
10729 _ACEOF
10730 cat confdefs.h >>conftest.$ac_ext
10731 cat >>conftest.$ac_ext <<_ACEOF
10732 /* end confdefs.h. */
10733 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10734 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10735 #define $ac_func innocuous_$ac_func
10736
10737 /* System header to define __stub macros and hopefully few prototypes,
10738 which can conflict with char $ac_func (); below.
10739 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10740 <limits.h> exists even on freestanding compilers. */
10741
10742 #ifdef __STDC__
10743 # include <limits.h>
10744 #else
10745 # include <assert.h>
10746 #endif
10747
10748 #undef $ac_func
10749
10750 /* Override any gcc2 internal prototype to avoid an error. */
10751 #ifdef __cplusplus
10752 extern "C"
10753 {
10754 #endif
10755 /* We use char because int might match the return type of a gcc2
10756 builtin and then its argument prototype would still apply. */
10757 char $ac_func ();
10758 /* The GNU C library defines this for functions which it implements
10759 to always fail with ENOSYS. Some functions are actually named
10760 something starting with __ and the normal name is an alias. */
10761 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10762 choke me
10763 #else
10764 char (*f) () = $ac_func;
10765 #endif
10766 #ifdef __cplusplus
10767 }
10768 #endif
10769
10770 int
10771 main ()
10772 {
10773 return f != $ac_func;
10774 ;
10775 return 0;
10776 }
10777 _ACEOF
10778 rm -f conftest.$ac_objext conftest$ac_exeext
10779 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10780 (eval $ac_link) 2>conftest.er1
10781 ac_status=$?
10782 grep -v '^ *+' conftest.er1 >conftest.err
10783 rm -f conftest.er1
10784 cat conftest.err >&5
10785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10786 (exit $ac_status); } &&
10787 { ac_try='test -z "$ac_c_werror_flag"
10788 || test ! -s conftest.err'
10789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10790 (eval $ac_try) 2>&5
10791 ac_status=$?
10792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10793 (exit $ac_status); }; } &&
10794 { ac_try='test -s conftest$ac_exeext'
10795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10796 (eval $ac_try) 2>&5
10797 ac_status=$?
10798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10799 (exit $ac_status); }; }; then
10800 eval "$as_ac_var=yes"
10801 else
10802 echo "$as_me: failed program was:" >&5
10803 sed 's/^/| /' conftest.$ac_ext >&5
10804
10805 eval "$as_ac_var=no"
10806 fi
10807 rm -f conftest.err conftest.$ac_objext \
10808 conftest$ac_exeext conftest.$ac_ext
10809 fi
10810 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10811 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10812 if test `eval echo '${'$as_ac_var'}'` = yes; then
10813 cat >>confdefs.h <<_ACEOF
10814 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10815 _ACEOF
10816
10817 fi
10818 done
10819
10820 else
10821
10822 echo "$as_me:$LINENO: checking for _qfpclass declaration" >&5
10823 echo $ECHO_N "checking for _qfpclass declaration... $ECHO_C" >&6
10824 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
10825 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then
10826 echo $ECHO_N "(cached) $ECHO_C" >&6
10827 else
10828
10829
10830
10831 ac_ext=cc
10832 ac_cpp='$CXXCPP $CPPFLAGS'
10833 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10834 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10835 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10836
10837 cat >conftest.$ac_ext <<_ACEOF
10838 /* confdefs.h. */
10839 _ACEOF
10840 cat confdefs.h >>conftest.$ac_ext
10841 cat >>conftest.$ac_ext <<_ACEOF
10842 /* end confdefs.h. */
10843 #include <math.h>
10844 #ifdef HAVE_IEEEFP_H
10845 #include <ieeefp.h>
10846 #endif
10847
10848 int
10849 main ()
10850 {
10851 _qfpclass(0);
10852 ;
10853 return 0;
10854 }
10855 _ACEOF
10856 rm -f conftest.$ac_objext
10857 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10858 (eval $ac_compile) 2>conftest.er1
10859 ac_status=$?
10860 grep -v '^ *+' conftest.er1 >conftest.err
10861 rm -f conftest.er1
10862 cat conftest.err >&5
10863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10864 (exit $ac_status); } &&
10865 { ac_try='test -z "$ac_cxx_werror_flag"
10866 || test ! -s conftest.err'
10867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10868 (eval $ac_try) 2>&5
10869 ac_status=$?
10870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10871 (exit $ac_status); }; } &&
10872 { ac_try='test -s conftest.$ac_objext'
10873 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10874 (eval $ac_try) 2>&5
10875 ac_status=$?
10876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10877 (exit $ac_status); }; }; then
10878 glibcxx_cv_func__qfpclass_use=yes
10879 else
10880 echo "$as_me: failed program was:" >&5
10881 sed 's/^/| /' conftest.$ac_ext >&5
10882
10883 glibcxx_cv_func__qfpclass_use=no
10884 fi
10885 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10886 ac_ext=c
10887 ac_cpp='$CPP $CPPFLAGS'
10888 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10889 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10890 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10891
10892
10893 fi
10894
10895 fi
10896 echo "$as_me:$LINENO: result: $glibcxx_cv_func__qfpclass_use" >&5
10897 echo "${ECHO_T}$glibcxx_cv_func__qfpclass_use" >&6
10898
10899 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
10900
10901 for ac_func in _qfpclass
10902 do
10903 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10904 echo "$as_me:$LINENO: checking for $ac_func" >&5
10905 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10906 if eval "test \"\${$as_ac_var+set}\" = set"; then
10907 echo $ECHO_N "(cached) $ECHO_C" >&6
10908 else
10909 if test x$gcc_no_link = xyes; then
10910 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10911 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10912 { (exit 1); exit 1; }; }
10913 fi
10914 cat >conftest.$ac_ext <<_ACEOF
10915 /* confdefs.h. */
10916 _ACEOF
10917 cat confdefs.h >>conftest.$ac_ext
10918 cat >>conftest.$ac_ext <<_ACEOF
10919 /* end confdefs.h. */
10920 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10921 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10922 #define $ac_func innocuous_$ac_func
10923
10924 /* System header to define __stub macros and hopefully few prototypes,
10925 which can conflict with char $ac_func (); below.
10926 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10927 <limits.h> exists even on freestanding compilers. */
10928
10929 #ifdef __STDC__
10930 # include <limits.h>
10931 #else
10932 # include <assert.h>
10933 #endif
10934
10935 #undef $ac_func
10936
10937 /* Override any gcc2 internal prototype to avoid an error. */
10938 #ifdef __cplusplus
10939 extern "C"
10940 {
10941 #endif
10942 /* We use char because int might match the return type of a gcc2
10943 builtin and then its argument prototype would still apply. */
10944 char $ac_func ();
10945 /* The GNU C library defines this for functions which it implements
10946 to always fail with ENOSYS. Some functions are actually named
10947 something starting with __ and the normal name is an alias. */
10948 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10949 choke me
10950 #else
10951 char (*f) () = $ac_func;
10952 #endif
10953 #ifdef __cplusplus
10954 }
10955 #endif
10956
10957 int
10958 main ()
10959 {
10960 return f != $ac_func;
10961 ;
10962 return 0;
10963 }
10964 _ACEOF
10965 rm -f conftest.$ac_objext conftest$ac_exeext
10966 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10967 (eval $ac_link) 2>conftest.er1
10968 ac_status=$?
10969 grep -v '^ *+' conftest.er1 >conftest.err
10970 rm -f conftest.er1
10971 cat conftest.err >&5
10972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10973 (exit $ac_status); } &&
10974 { ac_try='test -z "$ac_c_werror_flag"
10975 || test ! -s conftest.err'
10976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10977 (eval $ac_try) 2>&5
10978 ac_status=$?
10979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10980 (exit $ac_status); }; } &&
10981 { ac_try='test -s conftest$ac_exeext'
10982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10983 (eval $ac_try) 2>&5
10984 ac_status=$?
10985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10986 (exit $ac_status); }; }; then
10987 eval "$as_ac_var=yes"
10988 else
10989 echo "$as_me: failed program was:" >&5
10990 sed 's/^/| /' conftest.$ac_ext >&5
10991
10992 eval "$as_ac_var=no"
10993 fi
10994 rm -f conftest.err conftest.$ac_objext \
10995 conftest$ac_exeext conftest.$ac_ext
10996 fi
10997 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10998 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10999 if test `eval echo '${'$as_ac_var'}'` = yes; then
11000 cat >>confdefs.h <<_ACEOF
11001 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11002 _ACEOF
11003
11004 fi
11005 done
11006
11007 fi
11008 fi
11009
11010
11011
11012
11013
11014
11015 echo "$as_me:$LINENO: checking for hypot declaration" >&5
11016 echo $ECHO_N "checking for hypot declaration... $ECHO_C" >&6
11017 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
11018 if test "${glibcxx_cv_func_hypot_use+set}" = set; then
11019 echo $ECHO_N "(cached) $ECHO_C" >&6
11020 else
11021
11022
11023
11024 ac_ext=cc
11025 ac_cpp='$CXXCPP $CPPFLAGS'
11026 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11027 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11028 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11029
11030 cat >conftest.$ac_ext <<_ACEOF
11031 /* confdefs.h. */
11032 _ACEOF
11033 cat confdefs.h >>conftest.$ac_ext
11034 cat >>conftest.$ac_ext <<_ACEOF
11035 /* end confdefs.h. */
11036 #include <math.h>
11037 int
11038 main ()
11039 {
11040 hypot(0, 0);
11041 ;
11042 return 0;
11043 }
11044 _ACEOF
11045 rm -f conftest.$ac_objext
11046 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11047 (eval $ac_compile) 2>conftest.er1
11048 ac_status=$?
11049 grep -v '^ *+' conftest.er1 >conftest.err
11050 rm -f conftest.er1
11051 cat conftest.err >&5
11052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11053 (exit $ac_status); } &&
11054 { ac_try='test -z "$ac_cxx_werror_flag"
11055 || test ! -s conftest.err'
11056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11057 (eval $ac_try) 2>&5
11058 ac_status=$?
11059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11060 (exit $ac_status); }; } &&
11061 { ac_try='test -s conftest.$ac_objext'
11062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11063 (eval $ac_try) 2>&5
11064 ac_status=$?
11065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11066 (exit $ac_status); }; }; then
11067 glibcxx_cv_func_hypot_use=yes
11068 else
11069 echo "$as_me: failed program was:" >&5
11070 sed 's/^/| /' conftest.$ac_ext >&5
11071
11072 glibcxx_cv_func_hypot_use=no
11073 fi
11074 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11075 ac_ext=c
11076 ac_cpp='$CPP $CPPFLAGS'
11077 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11078 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11079 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11080
11081
11082 fi
11083
11084 fi
11085 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypot_use" >&5
11086 echo "${ECHO_T}$glibcxx_cv_func_hypot_use" >&6
11087
11088 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
11089
11090 for ac_func in hypot
11091 do
11092 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11093 echo "$as_me:$LINENO: checking for $ac_func" >&5
11094 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11095 if eval "test \"\${$as_ac_var+set}\" = set"; then
11096 echo $ECHO_N "(cached) $ECHO_C" >&6
11097 else
11098 if test x$gcc_no_link = xyes; then
11099 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11100 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11101 { (exit 1); exit 1; }; }
11102 fi
11103 cat >conftest.$ac_ext <<_ACEOF
11104 /* confdefs.h. */
11105 _ACEOF
11106 cat confdefs.h >>conftest.$ac_ext
11107 cat >>conftest.$ac_ext <<_ACEOF
11108 /* end confdefs.h. */
11109 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11110 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11111 #define $ac_func innocuous_$ac_func
11112
11113 /* System header to define __stub macros and hopefully few prototypes,
11114 which can conflict with char $ac_func (); below.
11115 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11116 <limits.h> exists even on freestanding compilers. */
11117
11118 #ifdef __STDC__
11119 # include <limits.h>
11120 #else
11121 # include <assert.h>
11122 #endif
11123
11124 #undef $ac_func
11125
11126 /* Override any gcc2 internal prototype to avoid an error. */
11127 #ifdef __cplusplus
11128 extern "C"
11129 {
11130 #endif
11131 /* We use char because int might match the return type of a gcc2
11132 builtin and then its argument prototype would still apply. */
11133 char $ac_func ();
11134 /* The GNU C library defines this for functions which it implements
11135 to always fail with ENOSYS. Some functions are actually named
11136 something starting with __ and the normal name is an alias. */
11137 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11138 choke me
11139 #else
11140 char (*f) () = $ac_func;
11141 #endif
11142 #ifdef __cplusplus
11143 }
11144 #endif
11145
11146 int
11147 main ()
11148 {
11149 return f != $ac_func;
11150 ;
11151 return 0;
11152 }
11153 _ACEOF
11154 rm -f conftest.$ac_objext conftest$ac_exeext
11155 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11156 (eval $ac_link) 2>conftest.er1
11157 ac_status=$?
11158 grep -v '^ *+' conftest.er1 >conftest.err
11159 rm -f conftest.er1
11160 cat conftest.err >&5
11161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11162 (exit $ac_status); } &&
11163 { ac_try='test -z "$ac_c_werror_flag"
11164 || test ! -s conftest.err'
11165 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11166 (eval $ac_try) 2>&5
11167 ac_status=$?
11168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11169 (exit $ac_status); }; } &&
11170 { ac_try='test -s conftest$ac_exeext'
11171 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11172 (eval $ac_try) 2>&5
11173 ac_status=$?
11174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11175 (exit $ac_status); }; }; then
11176 eval "$as_ac_var=yes"
11177 else
11178 echo "$as_me: failed program was:" >&5
11179 sed 's/^/| /' conftest.$ac_ext >&5
11180
11181 eval "$as_ac_var=no"
11182 fi
11183 rm -f conftest.err conftest.$ac_objext \
11184 conftest$ac_exeext conftest.$ac_ext
11185 fi
11186 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11187 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11188 if test `eval echo '${'$as_ac_var'}'` = yes; then
11189 cat >>confdefs.h <<_ACEOF
11190 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11191 _ACEOF
11192
11193 fi
11194 done
11195
11196 else
11197
11198 echo "$as_me:$LINENO: checking for _hypot declaration" >&5
11199 echo $ECHO_N "checking for _hypot declaration... $ECHO_C" >&6
11200 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
11201 if test "${glibcxx_cv_func__hypot_use+set}" = set; then
11202 echo $ECHO_N "(cached) $ECHO_C" >&6
11203 else
11204
11205
11206
11207 ac_ext=cc
11208 ac_cpp='$CXXCPP $CPPFLAGS'
11209 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11210 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11211 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11212
11213 cat >conftest.$ac_ext <<_ACEOF
11214 /* confdefs.h. */
11215 _ACEOF
11216 cat confdefs.h >>conftest.$ac_ext
11217 cat >>conftest.$ac_ext <<_ACEOF
11218 /* end confdefs.h. */
11219 #include <math.h>
11220 int
11221 main ()
11222 {
11223 _hypot(0, 0);
11224 ;
11225 return 0;
11226 }
11227 _ACEOF
11228 rm -f conftest.$ac_objext
11229 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11230 (eval $ac_compile) 2>conftest.er1
11231 ac_status=$?
11232 grep -v '^ *+' conftest.er1 >conftest.err
11233 rm -f conftest.er1
11234 cat conftest.err >&5
11235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11236 (exit $ac_status); } &&
11237 { ac_try='test -z "$ac_cxx_werror_flag"
11238 || test ! -s conftest.err'
11239 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11240 (eval $ac_try) 2>&5
11241 ac_status=$?
11242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11243 (exit $ac_status); }; } &&
11244 { ac_try='test -s conftest.$ac_objext'
11245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11246 (eval $ac_try) 2>&5
11247 ac_status=$?
11248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11249 (exit $ac_status); }; }; then
11250 glibcxx_cv_func__hypot_use=yes
11251 else
11252 echo "$as_me: failed program was:" >&5
11253 sed 's/^/| /' conftest.$ac_ext >&5
11254
11255 glibcxx_cv_func__hypot_use=no
11256 fi
11257 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11258 ac_ext=c
11259 ac_cpp='$CPP $CPPFLAGS'
11260 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11261 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11262 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11263
11264
11265 fi
11266
11267 fi
11268 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypot_use" >&5
11269 echo "${ECHO_T}$glibcxx_cv_func__hypot_use" >&6
11270
11271 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
11272
11273 for ac_func in _hypot
11274 do
11275 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11276 echo "$as_me:$LINENO: checking for $ac_func" >&5
11277 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11278 if eval "test \"\${$as_ac_var+set}\" = set"; then
11279 echo $ECHO_N "(cached) $ECHO_C" >&6
11280 else
11281 if test x$gcc_no_link = xyes; then
11282 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11283 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11284 { (exit 1); exit 1; }; }
11285 fi
11286 cat >conftest.$ac_ext <<_ACEOF
11287 /* confdefs.h. */
11288 _ACEOF
11289 cat confdefs.h >>conftest.$ac_ext
11290 cat >>conftest.$ac_ext <<_ACEOF
11291 /* end confdefs.h. */
11292 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11293 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11294 #define $ac_func innocuous_$ac_func
11295
11296 /* System header to define __stub macros and hopefully few prototypes,
11297 which can conflict with char $ac_func (); below.
11298 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11299 <limits.h> exists even on freestanding compilers. */
11300
11301 #ifdef __STDC__
11302 # include <limits.h>
11303 #else
11304 # include <assert.h>
11305 #endif
11306
11307 #undef $ac_func
11308
11309 /* Override any gcc2 internal prototype to avoid an error. */
11310 #ifdef __cplusplus
11311 extern "C"
11312 {
11313 #endif
11314 /* We use char because int might match the return type of a gcc2
11315 builtin and then its argument prototype would still apply. */
11316 char $ac_func ();
11317 /* The GNU C library defines this for functions which it implements
11318 to always fail with ENOSYS. Some functions are actually named
11319 something starting with __ and the normal name is an alias. */
11320 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11321 choke me
11322 #else
11323 char (*f) () = $ac_func;
11324 #endif
11325 #ifdef __cplusplus
11326 }
11327 #endif
11328
11329 int
11330 main ()
11331 {
11332 return f != $ac_func;
11333 ;
11334 return 0;
11335 }
11336 _ACEOF
11337 rm -f conftest.$ac_objext conftest$ac_exeext
11338 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11339 (eval $ac_link) 2>conftest.er1
11340 ac_status=$?
11341 grep -v '^ *+' conftest.er1 >conftest.err
11342 rm -f conftest.er1
11343 cat conftest.err >&5
11344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11345 (exit $ac_status); } &&
11346 { ac_try='test -z "$ac_c_werror_flag"
11347 || test ! -s conftest.err'
11348 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11349 (eval $ac_try) 2>&5
11350 ac_status=$?
11351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11352 (exit $ac_status); }; } &&
11353 { ac_try='test -s conftest$ac_exeext'
11354 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11355 (eval $ac_try) 2>&5
11356 ac_status=$?
11357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11358 (exit $ac_status); }; }; then
11359 eval "$as_ac_var=yes"
11360 else
11361 echo "$as_me: failed program was:" >&5
11362 sed 's/^/| /' conftest.$ac_ext >&5
11363
11364 eval "$as_ac_var=no"
11365 fi
11366 rm -f conftest.err conftest.$ac_objext \
11367 conftest$ac_exeext conftest.$ac_ext
11368 fi
11369 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11370 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11371 if test `eval echo '${'$as_ac_var'}'` = yes; then
11372 cat >>confdefs.h <<_ACEOF
11373 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11374 _ACEOF
11375
11376 fi
11377 done
11378
11379 fi
11380 fi
11381
11382
11383
11384
11385
11386
11387 echo "$as_me:$LINENO: checking for float trig functions" >&5
11388 echo $ECHO_N "checking for float trig functions... $ECHO_C" >&6
11389 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then
11390 echo $ECHO_N "(cached) $ECHO_C" >&6
11391 else
11392
11393
11394
11395 ac_ext=cc
11396 ac_cpp='$CXXCPP $CPPFLAGS'
11397 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11398 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11399 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11400
11401 cat >conftest.$ac_ext <<_ACEOF
11402 /* confdefs.h. */
11403 _ACEOF
11404 cat confdefs.h >>conftest.$ac_ext
11405 cat >>conftest.$ac_ext <<_ACEOF
11406 /* end confdefs.h. */
11407 #include <math.h>
11408 int
11409 main ()
11410 {
11411 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
11412 ;
11413 return 0;
11414 }
11415 _ACEOF
11416 rm -f conftest.$ac_objext
11417 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11418 (eval $ac_compile) 2>conftest.er1
11419 ac_status=$?
11420 grep -v '^ *+' conftest.er1 >conftest.err
11421 rm -f conftest.er1
11422 cat conftest.err >&5
11423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11424 (exit $ac_status); } &&
11425 { ac_try='test -z "$ac_cxx_werror_flag"
11426 || test ! -s conftest.err'
11427 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11428 (eval $ac_try) 2>&5
11429 ac_status=$?
11430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11431 (exit $ac_status); }; } &&
11432 { ac_try='test -s conftest.$ac_objext'
11433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11434 (eval $ac_try) 2>&5
11435 ac_status=$?
11436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11437 (exit $ac_status); }; }; then
11438 glibcxx_cv_func_float_trig_use=yes
11439 else
11440 echo "$as_me: failed program was:" >&5
11441 sed 's/^/| /' conftest.$ac_ext >&5
11442
11443 glibcxx_cv_func_float_trig_use=no
11444 fi
11445 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11446 ac_ext=c
11447 ac_cpp='$CPP $CPPFLAGS'
11448 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11449 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11450 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11451
11452 fi
11453
11454 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_trig_use" >&5
11455 echo "${ECHO_T}$glibcxx_cv_func_float_trig_use" >&6
11456 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
11457
11458
11459
11460
11461
11462
11463
11464
11465
11466 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
11467 do
11468 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11469 echo "$as_me:$LINENO: checking for $ac_func" >&5
11470 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11471 if eval "test \"\${$as_ac_var+set}\" = set"; then
11472 echo $ECHO_N "(cached) $ECHO_C" >&6
11473 else
11474 if test x$gcc_no_link = xyes; then
11475 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11476 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11477 { (exit 1); exit 1; }; }
11478 fi
11479 cat >conftest.$ac_ext <<_ACEOF
11480 /* confdefs.h. */
11481 _ACEOF
11482 cat confdefs.h >>conftest.$ac_ext
11483 cat >>conftest.$ac_ext <<_ACEOF
11484 /* end confdefs.h. */
11485 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11486 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11487 #define $ac_func innocuous_$ac_func
11488
11489 /* System header to define __stub macros and hopefully few prototypes,
11490 which can conflict with char $ac_func (); below.
11491 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11492 <limits.h> exists even on freestanding compilers. */
11493
11494 #ifdef __STDC__
11495 # include <limits.h>
11496 #else
11497 # include <assert.h>
11498 #endif
11499
11500 #undef $ac_func
11501
11502 /* Override any gcc2 internal prototype to avoid an error. */
11503 #ifdef __cplusplus
11504 extern "C"
11505 {
11506 #endif
11507 /* We use char because int might match the return type of a gcc2
11508 builtin and then its argument prototype would still apply. */
11509 char $ac_func ();
11510 /* The GNU C library defines this for functions which it implements
11511 to always fail with ENOSYS. Some functions are actually named
11512 something starting with __ and the normal name is an alias. */
11513 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11514 choke me
11515 #else
11516 char (*f) () = $ac_func;
11517 #endif
11518 #ifdef __cplusplus
11519 }
11520 #endif
11521
11522 int
11523 main ()
11524 {
11525 return f != $ac_func;
11526 ;
11527 return 0;
11528 }
11529 _ACEOF
11530 rm -f conftest.$ac_objext conftest$ac_exeext
11531 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11532 (eval $ac_link) 2>conftest.er1
11533 ac_status=$?
11534 grep -v '^ *+' conftest.er1 >conftest.err
11535 rm -f conftest.er1
11536 cat conftest.err >&5
11537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11538 (exit $ac_status); } &&
11539 { ac_try='test -z "$ac_c_werror_flag"
11540 || test ! -s conftest.err'
11541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11542 (eval $ac_try) 2>&5
11543 ac_status=$?
11544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11545 (exit $ac_status); }; } &&
11546 { ac_try='test -s conftest$ac_exeext'
11547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11548 (eval $ac_try) 2>&5
11549 ac_status=$?
11550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11551 (exit $ac_status); }; }; then
11552 eval "$as_ac_var=yes"
11553 else
11554 echo "$as_me: failed program was:" >&5
11555 sed 's/^/| /' conftest.$ac_ext >&5
11556
11557 eval "$as_ac_var=no"
11558 fi
11559 rm -f conftest.err conftest.$ac_objext \
11560 conftest$ac_exeext conftest.$ac_ext
11561 fi
11562 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11563 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11564 if test `eval echo '${'$as_ac_var'}'` = yes; then
11565 cat >>confdefs.h <<_ACEOF
11566 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11567 _ACEOF
11568
11569 fi
11570 done
11571
11572 else
11573 echo "$as_me:$LINENO: checking for _float trig functions" >&5
11574 echo $ECHO_N "checking for _float trig functions... $ECHO_C" >&6
11575 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then
11576 echo $ECHO_N "(cached) $ECHO_C" >&6
11577 else
11578
11579
11580
11581 ac_ext=cc
11582 ac_cpp='$CXXCPP $CPPFLAGS'
11583 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11584 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11585 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11586
11587 cat >conftest.$ac_ext <<_ACEOF
11588 /* confdefs.h. */
11589 _ACEOF
11590 cat confdefs.h >>conftest.$ac_ext
11591 cat >>conftest.$ac_ext <<_ACEOF
11592 /* end confdefs.h. */
11593 #include <math.h>
11594 int
11595 main ()
11596 {
11597 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
11598 ;
11599 return 0;
11600 }
11601 _ACEOF
11602 rm -f conftest.$ac_objext
11603 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11604 (eval $ac_compile) 2>conftest.er1
11605 ac_status=$?
11606 grep -v '^ *+' conftest.er1 >conftest.err
11607 rm -f conftest.er1
11608 cat conftest.err >&5
11609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11610 (exit $ac_status); } &&
11611 { ac_try='test -z "$ac_cxx_werror_flag"
11612 || test ! -s conftest.err'
11613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11614 (eval $ac_try) 2>&5
11615 ac_status=$?
11616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11617 (exit $ac_status); }; } &&
11618 { ac_try='test -s conftest.$ac_objext'
11619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11620 (eval $ac_try) 2>&5
11621 ac_status=$?
11622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11623 (exit $ac_status); }; }; then
11624 glibcxx_cv_func__float_trig_use=yes
11625 else
11626 echo "$as_me: failed program was:" >&5
11627 sed 's/^/| /' conftest.$ac_ext >&5
11628
11629 glibcxx_cv_func__float_trig_use=no
11630 fi
11631 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11632 ac_ext=c
11633 ac_cpp='$CPP $CPPFLAGS'
11634 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11635 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11636 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11637
11638 fi
11639
11640 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_trig_use" >&5
11641 echo "${ECHO_T}$glibcxx_cv_func__float_trig_use" >&6
11642 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
11643
11644
11645
11646
11647
11648
11649
11650
11651
11652 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
11653 do
11654 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11655 echo "$as_me:$LINENO: checking for $ac_func" >&5
11656 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11657 if eval "test \"\${$as_ac_var+set}\" = set"; then
11658 echo $ECHO_N "(cached) $ECHO_C" >&6
11659 else
11660 if test x$gcc_no_link = xyes; then
11661 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11662 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11663 { (exit 1); exit 1; }; }
11664 fi
11665 cat >conftest.$ac_ext <<_ACEOF
11666 /* confdefs.h. */
11667 _ACEOF
11668 cat confdefs.h >>conftest.$ac_ext
11669 cat >>conftest.$ac_ext <<_ACEOF
11670 /* end confdefs.h. */
11671 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11672 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11673 #define $ac_func innocuous_$ac_func
11674
11675 /* System header to define __stub macros and hopefully few prototypes,
11676 which can conflict with char $ac_func (); below.
11677 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11678 <limits.h> exists even on freestanding compilers. */
11679
11680 #ifdef __STDC__
11681 # include <limits.h>
11682 #else
11683 # include <assert.h>
11684 #endif
11685
11686 #undef $ac_func
11687
11688 /* Override any gcc2 internal prototype to avoid an error. */
11689 #ifdef __cplusplus
11690 extern "C"
11691 {
11692 #endif
11693 /* We use char because int might match the return type of a gcc2
11694 builtin and then its argument prototype would still apply. */
11695 char $ac_func ();
11696 /* The GNU C library defines this for functions which it implements
11697 to always fail with ENOSYS. Some functions are actually named
11698 something starting with __ and the normal name is an alias. */
11699 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11700 choke me
11701 #else
11702 char (*f) () = $ac_func;
11703 #endif
11704 #ifdef __cplusplus
11705 }
11706 #endif
11707
11708 int
11709 main ()
11710 {
11711 return f != $ac_func;
11712 ;
11713 return 0;
11714 }
11715 _ACEOF
11716 rm -f conftest.$ac_objext conftest$ac_exeext
11717 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11718 (eval $ac_link) 2>conftest.er1
11719 ac_status=$?
11720 grep -v '^ *+' conftest.er1 >conftest.err
11721 rm -f conftest.er1
11722 cat conftest.err >&5
11723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11724 (exit $ac_status); } &&
11725 { ac_try='test -z "$ac_c_werror_flag"
11726 || test ! -s conftest.err'
11727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11728 (eval $ac_try) 2>&5
11729 ac_status=$?
11730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11731 (exit $ac_status); }; } &&
11732 { ac_try='test -s conftest$ac_exeext'
11733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11734 (eval $ac_try) 2>&5
11735 ac_status=$?
11736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11737 (exit $ac_status); }; }; then
11738 eval "$as_ac_var=yes"
11739 else
11740 echo "$as_me: failed program was:" >&5
11741 sed 's/^/| /' conftest.$ac_ext >&5
11742
11743 eval "$as_ac_var=no"
11744 fi
11745 rm -f conftest.err conftest.$ac_objext \
11746 conftest$ac_exeext conftest.$ac_ext
11747 fi
11748 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11749 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11750 if test `eval echo '${'$as_ac_var'}'` = yes; then
11751 cat >>confdefs.h <<_ACEOF
11752 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11753 _ACEOF
11754
11755 fi
11756 done
11757
11758 fi
11759 fi
11760
11761
11762
11763
11764
11765
11766
11767
11768
11769
11770
11771
11772
11773
11774 echo "$as_me:$LINENO: checking for float round functions" >&5
11775 echo $ECHO_N "checking for float round functions... $ECHO_C" >&6
11776 if test "${glibcxx_cv_func_float_round_use+set}" = set; then
11777 echo $ECHO_N "(cached) $ECHO_C" >&6
11778 else
11779
11780
11781
11782 ac_ext=cc
11783 ac_cpp='$CXXCPP $CPPFLAGS'
11784 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11785 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11786 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11787
11788 cat >conftest.$ac_ext <<_ACEOF
11789 /* confdefs.h. */
11790 _ACEOF
11791 cat confdefs.h >>conftest.$ac_ext
11792 cat >>conftest.$ac_ext <<_ACEOF
11793 /* end confdefs.h. */
11794 #include <math.h>
11795 int
11796 main ()
11797 {
11798 ceilf (0); floorf (0);
11799 ;
11800 return 0;
11801 }
11802 _ACEOF
11803 rm -f conftest.$ac_objext
11804 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11805 (eval $ac_compile) 2>conftest.er1
11806 ac_status=$?
11807 grep -v '^ *+' conftest.er1 >conftest.err
11808 rm -f conftest.er1
11809 cat conftest.err >&5
11810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11811 (exit $ac_status); } &&
11812 { ac_try='test -z "$ac_cxx_werror_flag"
11813 || test ! -s conftest.err'
11814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11815 (eval $ac_try) 2>&5
11816 ac_status=$?
11817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11818 (exit $ac_status); }; } &&
11819 { ac_try='test -s conftest.$ac_objext'
11820 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11821 (eval $ac_try) 2>&5
11822 ac_status=$?
11823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11824 (exit $ac_status); }; }; then
11825 glibcxx_cv_func_float_round_use=yes
11826 else
11827 echo "$as_me: failed program was:" >&5
11828 sed 's/^/| /' conftest.$ac_ext >&5
11829
11830 glibcxx_cv_func_float_round_use=no
11831 fi
11832 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11833 ac_ext=c
11834 ac_cpp='$CPP $CPPFLAGS'
11835 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11836 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11837 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11838
11839 fi
11840
11841 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_round_use" >&5
11842 echo "${ECHO_T}$glibcxx_cv_func_float_round_use" >&6
11843 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
11844
11845
11846 for ac_func in ceilf floorf
11847 do
11848 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11849 echo "$as_me:$LINENO: checking for $ac_func" >&5
11850 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11851 if eval "test \"\${$as_ac_var+set}\" = set"; then
11852 echo $ECHO_N "(cached) $ECHO_C" >&6
11853 else
11854 if test x$gcc_no_link = xyes; then
11855 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11856 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11857 { (exit 1); exit 1; }; }
11858 fi
11859 cat >conftest.$ac_ext <<_ACEOF
11860 /* confdefs.h. */
11861 _ACEOF
11862 cat confdefs.h >>conftest.$ac_ext
11863 cat >>conftest.$ac_ext <<_ACEOF
11864 /* end confdefs.h. */
11865 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11866 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11867 #define $ac_func innocuous_$ac_func
11868
11869 /* System header to define __stub macros and hopefully few prototypes,
11870 which can conflict with char $ac_func (); below.
11871 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11872 <limits.h> exists even on freestanding compilers. */
11873
11874 #ifdef __STDC__
11875 # include <limits.h>
11876 #else
11877 # include <assert.h>
11878 #endif
11879
11880 #undef $ac_func
11881
11882 /* Override any gcc2 internal prototype to avoid an error. */
11883 #ifdef __cplusplus
11884 extern "C"
11885 {
11886 #endif
11887 /* We use char because int might match the return type of a gcc2
11888 builtin and then its argument prototype would still apply. */
11889 char $ac_func ();
11890 /* The GNU C library defines this for functions which it implements
11891 to always fail with ENOSYS. Some functions are actually named
11892 something starting with __ and the normal name is an alias. */
11893 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11894 choke me
11895 #else
11896 char (*f) () = $ac_func;
11897 #endif
11898 #ifdef __cplusplus
11899 }
11900 #endif
11901
11902 int
11903 main ()
11904 {
11905 return f != $ac_func;
11906 ;
11907 return 0;
11908 }
11909 _ACEOF
11910 rm -f conftest.$ac_objext conftest$ac_exeext
11911 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11912 (eval $ac_link) 2>conftest.er1
11913 ac_status=$?
11914 grep -v '^ *+' conftest.er1 >conftest.err
11915 rm -f conftest.er1
11916 cat conftest.err >&5
11917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11918 (exit $ac_status); } &&
11919 { ac_try='test -z "$ac_c_werror_flag"
11920 || test ! -s conftest.err'
11921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11922 (eval $ac_try) 2>&5
11923 ac_status=$?
11924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11925 (exit $ac_status); }; } &&
11926 { ac_try='test -s conftest$ac_exeext'
11927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11928 (eval $ac_try) 2>&5
11929 ac_status=$?
11930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11931 (exit $ac_status); }; }; then
11932 eval "$as_ac_var=yes"
11933 else
11934 echo "$as_me: failed program was:" >&5
11935 sed 's/^/| /' conftest.$ac_ext >&5
11936
11937 eval "$as_ac_var=no"
11938 fi
11939 rm -f conftest.err conftest.$ac_objext \
11940 conftest$ac_exeext conftest.$ac_ext
11941 fi
11942 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11943 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11944 if test `eval echo '${'$as_ac_var'}'` = yes; then
11945 cat >>confdefs.h <<_ACEOF
11946 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11947 _ACEOF
11948
11949 fi
11950 done
11951
11952 else
11953 echo "$as_me:$LINENO: checking for _float round functions" >&5
11954 echo $ECHO_N "checking for _float round functions... $ECHO_C" >&6
11955 if test "${glibcxx_cv_func__float_round_use+set}" = set; then
11956 echo $ECHO_N "(cached) $ECHO_C" >&6
11957 else
11958
11959
11960
11961 ac_ext=cc
11962 ac_cpp='$CXXCPP $CPPFLAGS'
11963 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11964 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11965 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11966
11967 cat >conftest.$ac_ext <<_ACEOF
11968 /* confdefs.h. */
11969 _ACEOF
11970 cat confdefs.h >>conftest.$ac_ext
11971 cat >>conftest.$ac_ext <<_ACEOF
11972 /* end confdefs.h. */
11973 #include <math.h>
11974 int
11975 main ()
11976 {
11977 _ceilf (0); _floorf (0);
11978 ;
11979 return 0;
11980 }
11981 _ACEOF
11982 rm -f conftest.$ac_objext
11983 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11984 (eval $ac_compile) 2>conftest.er1
11985 ac_status=$?
11986 grep -v '^ *+' conftest.er1 >conftest.err
11987 rm -f conftest.er1
11988 cat conftest.err >&5
11989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11990 (exit $ac_status); } &&
11991 { ac_try='test -z "$ac_cxx_werror_flag"
11992 || test ! -s conftest.err'
11993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11994 (eval $ac_try) 2>&5
11995 ac_status=$?
11996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11997 (exit $ac_status); }; } &&
11998 { ac_try='test -s conftest.$ac_objext'
11999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12000 (eval $ac_try) 2>&5
12001 ac_status=$?
12002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12003 (exit $ac_status); }; }; then
12004 glibcxx_cv_func__float_round_use=yes
12005 else
12006 echo "$as_me: failed program was:" >&5
12007 sed 's/^/| /' conftest.$ac_ext >&5
12008
12009 glibcxx_cv_func__float_round_use=no
12010 fi
12011 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12012 ac_ext=c
12013 ac_cpp='$CPP $CPPFLAGS'
12014 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12015 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12016 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12017
12018 fi
12019
12020 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_round_use" >&5
12021 echo "${ECHO_T}$glibcxx_cv_func__float_round_use" >&6
12022 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
12023
12024
12025 for ac_func in _ceilf _floorf
12026 do
12027 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12028 echo "$as_me:$LINENO: checking for $ac_func" >&5
12029 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12030 if eval "test \"\${$as_ac_var+set}\" = set"; then
12031 echo $ECHO_N "(cached) $ECHO_C" >&6
12032 else
12033 if test x$gcc_no_link = xyes; then
12034 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12035 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12036 { (exit 1); exit 1; }; }
12037 fi
12038 cat >conftest.$ac_ext <<_ACEOF
12039 /* confdefs.h. */
12040 _ACEOF
12041 cat confdefs.h >>conftest.$ac_ext
12042 cat >>conftest.$ac_ext <<_ACEOF
12043 /* end confdefs.h. */
12044 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12045 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12046 #define $ac_func innocuous_$ac_func
12047
12048 /* System header to define __stub macros and hopefully few prototypes,
12049 which can conflict with char $ac_func (); below.
12050 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12051 <limits.h> exists even on freestanding compilers. */
12052
12053 #ifdef __STDC__
12054 # include <limits.h>
12055 #else
12056 # include <assert.h>
12057 #endif
12058
12059 #undef $ac_func
12060
12061 /* Override any gcc2 internal prototype to avoid an error. */
12062 #ifdef __cplusplus
12063 extern "C"
12064 {
12065 #endif
12066 /* We use char because int might match the return type of a gcc2
12067 builtin and then its argument prototype would still apply. */
12068 char $ac_func ();
12069 /* The GNU C library defines this for functions which it implements
12070 to always fail with ENOSYS. Some functions are actually named
12071 something starting with __ and the normal name is an alias. */
12072 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12073 choke me
12074 #else
12075 char (*f) () = $ac_func;
12076 #endif
12077 #ifdef __cplusplus
12078 }
12079 #endif
12080
12081 int
12082 main ()
12083 {
12084 return f != $ac_func;
12085 ;
12086 return 0;
12087 }
12088 _ACEOF
12089 rm -f conftest.$ac_objext conftest$ac_exeext
12090 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12091 (eval $ac_link) 2>conftest.er1
12092 ac_status=$?
12093 grep -v '^ *+' conftest.er1 >conftest.err
12094 rm -f conftest.er1
12095 cat conftest.err >&5
12096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12097 (exit $ac_status); } &&
12098 { ac_try='test -z "$ac_c_werror_flag"
12099 || test ! -s conftest.err'
12100 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12101 (eval $ac_try) 2>&5
12102 ac_status=$?
12103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12104 (exit $ac_status); }; } &&
12105 { ac_try='test -s conftest$ac_exeext'
12106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12107 (eval $ac_try) 2>&5
12108 ac_status=$?
12109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12110 (exit $ac_status); }; }; then
12111 eval "$as_ac_var=yes"
12112 else
12113 echo "$as_me: failed program was:" >&5
12114 sed 's/^/| /' conftest.$ac_ext >&5
12115
12116 eval "$as_ac_var=no"
12117 fi
12118 rm -f conftest.err conftest.$ac_objext \
12119 conftest$ac_exeext conftest.$ac_ext
12120 fi
12121 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12122 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12123 if test `eval echo '${'$as_ac_var'}'` = yes; then
12124 cat >>confdefs.h <<_ACEOF
12125 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12126 _ACEOF
12127
12128 fi
12129 done
12130
12131 fi
12132 fi
12133
12134
12135
12136
12137
12138
12139
12140
12141 echo "$as_me:$LINENO: checking for expf declaration" >&5
12142 echo $ECHO_N "checking for expf declaration... $ECHO_C" >&6
12143 if test x${glibcxx_cv_func_expf_use+set} != xset; then
12144 if test "${glibcxx_cv_func_expf_use+set}" = set; then
12145 echo $ECHO_N "(cached) $ECHO_C" >&6
12146 else
12147
12148
12149
12150 ac_ext=cc
12151 ac_cpp='$CXXCPP $CPPFLAGS'
12152 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12153 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12154 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12155
12156 cat >conftest.$ac_ext <<_ACEOF
12157 /* confdefs.h. */
12158 _ACEOF
12159 cat confdefs.h >>conftest.$ac_ext
12160 cat >>conftest.$ac_ext <<_ACEOF
12161 /* end confdefs.h. */
12162 #include <math.h>
12163 #ifdef HAVE_IEEEFP_H
12164 #include <ieeefp.h>
12165 #endif
12166
12167 int
12168 main ()
12169 {
12170 expf(0);
12171 ;
12172 return 0;
12173 }
12174 _ACEOF
12175 rm -f conftest.$ac_objext
12176 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12177 (eval $ac_compile) 2>conftest.er1
12178 ac_status=$?
12179 grep -v '^ *+' conftest.er1 >conftest.err
12180 rm -f conftest.er1
12181 cat conftest.err >&5
12182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12183 (exit $ac_status); } &&
12184 { ac_try='test -z "$ac_cxx_werror_flag"
12185 || test ! -s conftest.err'
12186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12187 (eval $ac_try) 2>&5
12188 ac_status=$?
12189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12190 (exit $ac_status); }; } &&
12191 { ac_try='test -s conftest.$ac_objext'
12192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12193 (eval $ac_try) 2>&5
12194 ac_status=$?
12195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12196 (exit $ac_status); }; }; then
12197 glibcxx_cv_func_expf_use=yes
12198 else
12199 echo "$as_me: failed program was:" >&5
12200 sed 's/^/| /' conftest.$ac_ext >&5
12201
12202 glibcxx_cv_func_expf_use=no
12203 fi
12204 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12205 ac_ext=c
12206 ac_cpp='$CPP $CPPFLAGS'
12207 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12208 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12209 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12210
12211
12212 fi
12213
12214 fi
12215 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expf_use" >&5
12216 echo "${ECHO_T}$glibcxx_cv_func_expf_use" >&6
12217
12218 if test x$glibcxx_cv_func_expf_use = x"yes"; then
12219
12220 for ac_func in expf
12221 do
12222 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12223 echo "$as_me:$LINENO: checking for $ac_func" >&5
12224 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12225 if eval "test \"\${$as_ac_var+set}\" = set"; then
12226 echo $ECHO_N "(cached) $ECHO_C" >&6
12227 else
12228 if test x$gcc_no_link = xyes; then
12229 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12230 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12231 { (exit 1); exit 1; }; }
12232 fi
12233 cat >conftest.$ac_ext <<_ACEOF
12234 /* confdefs.h. */
12235 _ACEOF
12236 cat confdefs.h >>conftest.$ac_ext
12237 cat >>conftest.$ac_ext <<_ACEOF
12238 /* end confdefs.h. */
12239 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12240 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12241 #define $ac_func innocuous_$ac_func
12242
12243 /* System header to define __stub macros and hopefully few prototypes,
12244 which can conflict with char $ac_func (); below.
12245 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12246 <limits.h> exists even on freestanding compilers. */
12247
12248 #ifdef __STDC__
12249 # include <limits.h>
12250 #else
12251 # include <assert.h>
12252 #endif
12253
12254 #undef $ac_func
12255
12256 /* Override any gcc2 internal prototype to avoid an error. */
12257 #ifdef __cplusplus
12258 extern "C"
12259 {
12260 #endif
12261 /* We use char because int might match the return type of a gcc2
12262 builtin and then its argument prototype would still apply. */
12263 char $ac_func ();
12264 /* The GNU C library defines this for functions which it implements
12265 to always fail with ENOSYS. Some functions are actually named
12266 something starting with __ and the normal name is an alias. */
12267 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12268 choke me
12269 #else
12270 char (*f) () = $ac_func;
12271 #endif
12272 #ifdef __cplusplus
12273 }
12274 #endif
12275
12276 int
12277 main ()
12278 {
12279 return f != $ac_func;
12280 ;
12281 return 0;
12282 }
12283 _ACEOF
12284 rm -f conftest.$ac_objext conftest$ac_exeext
12285 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12286 (eval $ac_link) 2>conftest.er1
12287 ac_status=$?
12288 grep -v '^ *+' conftest.er1 >conftest.err
12289 rm -f conftest.er1
12290 cat conftest.err >&5
12291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12292 (exit $ac_status); } &&
12293 { ac_try='test -z "$ac_c_werror_flag"
12294 || test ! -s conftest.err'
12295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12296 (eval $ac_try) 2>&5
12297 ac_status=$?
12298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12299 (exit $ac_status); }; } &&
12300 { ac_try='test -s conftest$ac_exeext'
12301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12302 (eval $ac_try) 2>&5
12303 ac_status=$?
12304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12305 (exit $ac_status); }; }; then
12306 eval "$as_ac_var=yes"
12307 else
12308 echo "$as_me: failed program was:" >&5
12309 sed 's/^/| /' conftest.$ac_ext >&5
12310
12311 eval "$as_ac_var=no"
12312 fi
12313 rm -f conftest.err conftest.$ac_objext \
12314 conftest$ac_exeext conftest.$ac_ext
12315 fi
12316 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12317 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12318 if test `eval echo '${'$as_ac_var'}'` = yes; then
12319 cat >>confdefs.h <<_ACEOF
12320 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12321 _ACEOF
12322
12323 fi
12324 done
12325
12326 else
12327
12328 echo "$as_me:$LINENO: checking for _expf declaration" >&5
12329 echo $ECHO_N "checking for _expf declaration... $ECHO_C" >&6
12330 if test x${glibcxx_cv_func__expf_use+set} != xset; then
12331 if test "${glibcxx_cv_func__expf_use+set}" = set; then
12332 echo $ECHO_N "(cached) $ECHO_C" >&6
12333 else
12334
12335
12336
12337 ac_ext=cc
12338 ac_cpp='$CXXCPP $CPPFLAGS'
12339 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12340 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12341 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12342
12343 cat >conftest.$ac_ext <<_ACEOF
12344 /* confdefs.h. */
12345 _ACEOF
12346 cat confdefs.h >>conftest.$ac_ext
12347 cat >>conftest.$ac_ext <<_ACEOF
12348 /* end confdefs.h. */
12349 #include <math.h>
12350 #ifdef HAVE_IEEEFP_H
12351 #include <ieeefp.h>
12352 #endif
12353
12354 int
12355 main ()
12356 {
12357 _expf(0);
12358 ;
12359 return 0;
12360 }
12361 _ACEOF
12362 rm -f conftest.$ac_objext
12363 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12364 (eval $ac_compile) 2>conftest.er1
12365 ac_status=$?
12366 grep -v '^ *+' conftest.er1 >conftest.err
12367 rm -f conftest.er1
12368 cat conftest.err >&5
12369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12370 (exit $ac_status); } &&
12371 { ac_try='test -z "$ac_cxx_werror_flag"
12372 || test ! -s conftest.err'
12373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12374 (eval $ac_try) 2>&5
12375 ac_status=$?
12376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12377 (exit $ac_status); }; } &&
12378 { ac_try='test -s conftest.$ac_objext'
12379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12380 (eval $ac_try) 2>&5
12381 ac_status=$?
12382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12383 (exit $ac_status); }; }; then
12384 glibcxx_cv_func__expf_use=yes
12385 else
12386 echo "$as_me: failed program was:" >&5
12387 sed 's/^/| /' conftest.$ac_ext >&5
12388
12389 glibcxx_cv_func__expf_use=no
12390 fi
12391 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12392 ac_ext=c
12393 ac_cpp='$CPP $CPPFLAGS'
12394 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12395 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12396 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12397
12398
12399 fi
12400
12401 fi
12402 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expf_use" >&5
12403 echo "${ECHO_T}$glibcxx_cv_func__expf_use" >&6
12404
12405 if test x$glibcxx_cv_func__expf_use = x"yes"; then
12406
12407 for ac_func in _expf
12408 do
12409 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12410 echo "$as_me:$LINENO: checking for $ac_func" >&5
12411 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12412 if eval "test \"\${$as_ac_var+set}\" = set"; then
12413 echo $ECHO_N "(cached) $ECHO_C" >&6
12414 else
12415 if test x$gcc_no_link = xyes; then
12416 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12417 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12418 { (exit 1); exit 1; }; }
12419 fi
12420 cat >conftest.$ac_ext <<_ACEOF
12421 /* confdefs.h. */
12422 _ACEOF
12423 cat confdefs.h >>conftest.$ac_ext
12424 cat >>conftest.$ac_ext <<_ACEOF
12425 /* end confdefs.h. */
12426 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12427 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12428 #define $ac_func innocuous_$ac_func
12429
12430 /* System header to define __stub macros and hopefully few prototypes,
12431 which can conflict with char $ac_func (); below.
12432 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12433 <limits.h> exists even on freestanding compilers. */
12434
12435 #ifdef __STDC__
12436 # include <limits.h>
12437 #else
12438 # include <assert.h>
12439 #endif
12440
12441 #undef $ac_func
12442
12443 /* Override any gcc2 internal prototype to avoid an error. */
12444 #ifdef __cplusplus
12445 extern "C"
12446 {
12447 #endif
12448 /* We use char because int might match the return type of a gcc2
12449 builtin and then its argument prototype would still apply. */
12450 char $ac_func ();
12451 /* The GNU C library defines this for functions which it implements
12452 to always fail with ENOSYS. Some functions are actually named
12453 something starting with __ and the normal name is an alias. */
12454 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12455 choke me
12456 #else
12457 char (*f) () = $ac_func;
12458 #endif
12459 #ifdef __cplusplus
12460 }
12461 #endif
12462
12463 int
12464 main ()
12465 {
12466 return f != $ac_func;
12467 ;
12468 return 0;
12469 }
12470 _ACEOF
12471 rm -f conftest.$ac_objext conftest$ac_exeext
12472 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12473 (eval $ac_link) 2>conftest.er1
12474 ac_status=$?
12475 grep -v '^ *+' conftest.er1 >conftest.err
12476 rm -f conftest.er1
12477 cat conftest.err >&5
12478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12479 (exit $ac_status); } &&
12480 { ac_try='test -z "$ac_c_werror_flag"
12481 || test ! -s conftest.err'
12482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12483 (eval $ac_try) 2>&5
12484 ac_status=$?
12485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12486 (exit $ac_status); }; } &&
12487 { ac_try='test -s conftest$ac_exeext'
12488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12489 (eval $ac_try) 2>&5
12490 ac_status=$?
12491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12492 (exit $ac_status); }; }; then
12493 eval "$as_ac_var=yes"
12494 else
12495 echo "$as_me: failed program was:" >&5
12496 sed 's/^/| /' conftest.$ac_ext >&5
12497
12498 eval "$as_ac_var=no"
12499 fi
12500 rm -f conftest.err conftest.$ac_objext \
12501 conftest$ac_exeext conftest.$ac_ext
12502 fi
12503 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12504 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12505 if test `eval echo '${'$as_ac_var'}'` = yes; then
12506 cat >>confdefs.h <<_ACEOF
12507 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12508 _ACEOF
12509
12510 fi
12511 done
12512
12513 fi
12514 fi
12515
12516
12517
12518
12519
12520
12521 echo "$as_me:$LINENO: checking for isnanf declaration" >&5
12522 echo $ECHO_N "checking for isnanf declaration... $ECHO_C" >&6
12523 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
12524 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then
12525 echo $ECHO_N "(cached) $ECHO_C" >&6
12526 else
12527
12528
12529
12530 ac_ext=cc
12531 ac_cpp='$CXXCPP $CPPFLAGS'
12532 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12533 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12534 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12535
12536 cat >conftest.$ac_ext <<_ACEOF
12537 /* confdefs.h. */
12538 _ACEOF
12539 cat confdefs.h >>conftest.$ac_ext
12540 cat >>conftest.$ac_ext <<_ACEOF
12541 /* end confdefs.h. */
12542 #include <math.h>
12543 #ifdef HAVE_IEEEFP_H
12544 #include <ieeefp.h>
12545 #endif
12546
12547 int
12548 main ()
12549 {
12550 isnanf(0);
12551 ;
12552 return 0;
12553 }
12554 _ACEOF
12555 rm -f conftest.$ac_objext
12556 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12557 (eval $ac_compile) 2>conftest.er1
12558 ac_status=$?
12559 grep -v '^ *+' conftest.er1 >conftest.err
12560 rm -f conftest.er1
12561 cat conftest.err >&5
12562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12563 (exit $ac_status); } &&
12564 { ac_try='test -z "$ac_cxx_werror_flag"
12565 || test ! -s conftest.err'
12566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12567 (eval $ac_try) 2>&5
12568 ac_status=$?
12569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12570 (exit $ac_status); }; } &&
12571 { ac_try='test -s conftest.$ac_objext'
12572 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12573 (eval $ac_try) 2>&5
12574 ac_status=$?
12575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12576 (exit $ac_status); }; }; then
12577 glibcxx_cv_func_isnanf_use=yes
12578 else
12579 echo "$as_me: failed program was:" >&5
12580 sed 's/^/| /' conftest.$ac_ext >&5
12581
12582 glibcxx_cv_func_isnanf_use=no
12583 fi
12584 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12585 ac_ext=c
12586 ac_cpp='$CPP $CPPFLAGS'
12587 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12588 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12589 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12590
12591
12592 fi
12593
12594 fi
12595 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanf_use" >&5
12596 echo "${ECHO_T}$glibcxx_cv_func_isnanf_use" >&6
12597
12598 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
12599
12600 for ac_func in isnanf
12601 do
12602 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12603 echo "$as_me:$LINENO: checking for $ac_func" >&5
12604 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12605 if eval "test \"\${$as_ac_var+set}\" = set"; then
12606 echo $ECHO_N "(cached) $ECHO_C" >&6
12607 else
12608 if test x$gcc_no_link = xyes; then
12609 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12610 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12611 { (exit 1); exit 1; }; }
12612 fi
12613 cat >conftest.$ac_ext <<_ACEOF
12614 /* confdefs.h. */
12615 _ACEOF
12616 cat confdefs.h >>conftest.$ac_ext
12617 cat >>conftest.$ac_ext <<_ACEOF
12618 /* end confdefs.h. */
12619 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12620 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12621 #define $ac_func innocuous_$ac_func
12622
12623 /* System header to define __stub macros and hopefully few prototypes,
12624 which can conflict with char $ac_func (); below.
12625 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12626 <limits.h> exists even on freestanding compilers. */
12627
12628 #ifdef __STDC__
12629 # include <limits.h>
12630 #else
12631 # include <assert.h>
12632 #endif
12633
12634 #undef $ac_func
12635
12636 /* Override any gcc2 internal prototype to avoid an error. */
12637 #ifdef __cplusplus
12638 extern "C"
12639 {
12640 #endif
12641 /* We use char because int might match the return type of a gcc2
12642 builtin and then its argument prototype would still apply. */
12643 char $ac_func ();
12644 /* The GNU C library defines this for functions which it implements
12645 to always fail with ENOSYS. Some functions are actually named
12646 something starting with __ and the normal name is an alias. */
12647 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12648 choke me
12649 #else
12650 char (*f) () = $ac_func;
12651 #endif
12652 #ifdef __cplusplus
12653 }
12654 #endif
12655
12656 int
12657 main ()
12658 {
12659 return f != $ac_func;
12660 ;
12661 return 0;
12662 }
12663 _ACEOF
12664 rm -f conftest.$ac_objext conftest$ac_exeext
12665 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12666 (eval $ac_link) 2>conftest.er1
12667 ac_status=$?
12668 grep -v '^ *+' conftest.er1 >conftest.err
12669 rm -f conftest.er1
12670 cat conftest.err >&5
12671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12672 (exit $ac_status); } &&
12673 { ac_try='test -z "$ac_c_werror_flag"
12674 || test ! -s conftest.err'
12675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12676 (eval $ac_try) 2>&5
12677 ac_status=$?
12678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12679 (exit $ac_status); }; } &&
12680 { ac_try='test -s conftest$ac_exeext'
12681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12682 (eval $ac_try) 2>&5
12683 ac_status=$?
12684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12685 (exit $ac_status); }; }; then
12686 eval "$as_ac_var=yes"
12687 else
12688 echo "$as_me: failed program was:" >&5
12689 sed 's/^/| /' conftest.$ac_ext >&5
12690
12691 eval "$as_ac_var=no"
12692 fi
12693 rm -f conftest.err conftest.$ac_objext \
12694 conftest$ac_exeext conftest.$ac_ext
12695 fi
12696 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12697 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12698 if test `eval echo '${'$as_ac_var'}'` = yes; then
12699 cat >>confdefs.h <<_ACEOF
12700 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12701 _ACEOF
12702
12703 fi
12704 done
12705
12706 else
12707
12708 echo "$as_me:$LINENO: checking for _isnanf declaration" >&5
12709 echo $ECHO_N "checking for _isnanf declaration... $ECHO_C" >&6
12710 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
12711 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then
12712 echo $ECHO_N "(cached) $ECHO_C" >&6
12713 else
12714
12715
12716
12717 ac_ext=cc
12718 ac_cpp='$CXXCPP $CPPFLAGS'
12719 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12720 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12721 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12722
12723 cat >conftest.$ac_ext <<_ACEOF
12724 /* confdefs.h. */
12725 _ACEOF
12726 cat confdefs.h >>conftest.$ac_ext
12727 cat >>conftest.$ac_ext <<_ACEOF
12728 /* end confdefs.h. */
12729 #include <math.h>
12730 #ifdef HAVE_IEEEFP_H
12731 #include <ieeefp.h>
12732 #endif
12733
12734 int
12735 main ()
12736 {
12737 _isnanf(0);
12738 ;
12739 return 0;
12740 }
12741 _ACEOF
12742 rm -f conftest.$ac_objext
12743 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12744 (eval $ac_compile) 2>conftest.er1
12745 ac_status=$?
12746 grep -v '^ *+' conftest.er1 >conftest.err
12747 rm -f conftest.er1
12748 cat conftest.err >&5
12749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12750 (exit $ac_status); } &&
12751 { ac_try='test -z "$ac_cxx_werror_flag"
12752 || test ! -s conftest.err'
12753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12754 (eval $ac_try) 2>&5
12755 ac_status=$?
12756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12757 (exit $ac_status); }; } &&
12758 { ac_try='test -s conftest.$ac_objext'
12759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12760 (eval $ac_try) 2>&5
12761 ac_status=$?
12762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12763 (exit $ac_status); }; }; then
12764 glibcxx_cv_func__isnanf_use=yes
12765 else
12766 echo "$as_me: failed program was:" >&5
12767 sed 's/^/| /' conftest.$ac_ext >&5
12768
12769 glibcxx_cv_func__isnanf_use=no
12770 fi
12771 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12772 ac_ext=c
12773 ac_cpp='$CPP $CPPFLAGS'
12774 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12775 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12776 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12777
12778
12779 fi
12780
12781 fi
12782 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanf_use" >&5
12783 echo "${ECHO_T}$glibcxx_cv_func__isnanf_use" >&6
12784
12785 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
12786
12787 for ac_func in _isnanf
12788 do
12789 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12790 echo "$as_me:$LINENO: checking for $ac_func" >&5
12791 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12792 if eval "test \"\${$as_ac_var+set}\" = set"; then
12793 echo $ECHO_N "(cached) $ECHO_C" >&6
12794 else
12795 if test x$gcc_no_link = xyes; then
12796 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12797 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12798 { (exit 1); exit 1; }; }
12799 fi
12800 cat >conftest.$ac_ext <<_ACEOF
12801 /* confdefs.h. */
12802 _ACEOF
12803 cat confdefs.h >>conftest.$ac_ext
12804 cat >>conftest.$ac_ext <<_ACEOF
12805 /* end confdefs.h. */
12806 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12807 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12808 #define $ac_func innocuous_$ac_func
12809
12810 /* System header to define __stub macros and hopefully few prototypes,
12811 which can conflict with char $ac_func (); below.
12812 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12813 <limits.h> exists even on freestanding compilers. */
12814
12815 #ifdef __STDC__
12816 # include <limits.h>
12817 #else
12818 # include <assert.h>
12819 #endif
12820
12821 #undef $ac_func
12822
12823 /* Override any gcc2 internal prototype to avoid an error. */
12824 #ifdef __cplusplus
12825 extern "C"
12826 {
12827 #endif
12828 /* We use char because int might match the return type of a gcc2
12829 builtin and then its argument prototype would still apply. */
12830 char $ac_func ();
12831 /* The GNU C library defines this for functions which it implements
12832 to always fail with ENOSYS. Some functions are actually named
12833 something starting with __ and the normal name is an alias. */
12834 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12835 choke me
12836 #else
12837 char (*f) () = $ac_func;
12838 #endif
12839 #ifdef __cplusplus
12840 }
12841 #endif
12842
12843 int
12844 main ()
12845 {
12846 return f != $ac_func;
12847 ;
12848 return 0;
12849 }
12850 _ACEOF
12851 rm -f conftest.$ac_objext conftest$ac_exeext
12852 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12853 (eval $ac_link) 2>conftest.er1
12854 ac_status=$?
12855 grep -v '^ *+' conftest.er1 >conftest.err
12856 rm -f conftest.er1
12857 cat conftest.err >&5
12858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12859 (exit $ac_status); } &&
12860 { ac_try='test -z "$ac_c_werror_flag"
12861 || test ! -s conftest.err'
12862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12863 (eval $ac_try) 2>&5
12864 ac_status=$?
12865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12866 (exit $ac_status); }; } &&
12867 { ac_try='test -s conftest$ac_exeext'
12868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12869 (eval $ac_try) 2>&5
12870 ac_status=$?
12871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12872 (exit $ac_status); }; }; then
12873 eval "$as_ac_var=yes"
12874 else
12875 echo "$as_me: failed program was:" >&5
12876 sed 's/^/| /' conftest.$ac_ext >&5
12877
12878 eval "$as_ac_var=no"
12879 fi
12880 rm -f conftest.err conftest.$ac_objext \
12881 conftest$ac_exeext conftest.$ac_ext
12882 fi
12883 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12884 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12885 if test `eval echo '${'$as_ac_var'}'` = yes; then
12886 cat >>confdefs.h <<_ACEOF
12887 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12888 _ACEOF
12889
12890 fi
12891 done
12892
12893 fi
12894 fi
12895
12896
12897
12898
12899
12900
12901 echo "$as_me:$LINENO: checking for isinff declaration" >&5
12902 echo $ECHO_N "checking for isinff declaration... $ECHO_C" >&6
12903 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
12904 if test "${glibcxx_cv_func_isinff_use+set}" = set; then
12905 echo $ECHO_N "(cached) $ECHO_C" >&6
12906 else
12907
12908
12909
12910 ac_ext=cc
12911 ac_cpp='$CXXCPP $CPPFLAGS'
12912 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12913 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12914 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12915
12916 cat >conftest.$ac_ext <<_ACEOF
12917 /* confdefs.h. */
12918 _ACEOF
12919 cat confdefs.h >>conftest.$ac_ext
12920 cat >>conftest.$ac_ext <<_ACEOF
12921 /* end confdefs.h. */
12922 #include <math.h>
12923 #ifdef HAVE_IEEEFP_H
12924 #include <ieeefp.h>
12925 #endif
12926
12927 int
12928 main ()
12929 {
12930 isinff(0);
12931 ;
12932 return 0;
12933 }
12934 _ACEOF
12935 rm -f conftest.$ac_objext
12936 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12937 (eval $ac_compile) 2>conftest.er1
12938 ac_status=$?
12939 grep -v '^ *+' conftest.er1 >conftest.err
12940 rm -f conftest.er1
12941 cat conftest.err >&5
12942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12943 (exit $ac_status); } &&
12944 { ac_try='test -z "$ac_cxx_werror_flag"
12945 || test ! -s conftest.err'
12946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12947 (eval $ac_try) 2>&5
12948 ac_status=$?
12949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12950 (exit $ac_status); }; } &&
12951 { ac_try='test -s conftest.$ac_objext'
12952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12953 (eval $ac_try) 2>&5
12954 ac_status=$?
12955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12956 (exit $ac_status); }; }; then
12957 glibcxx_cv_func_isinff_use=yes
12958 else
12959 echo "$as_me: failed program was:" >&5
12960 sed 's/^/| /' conftest.$ac_ext >&5
12961
12962 glibcxx_cv_func_isinff_use=no
12963 fi
12964 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12965 ac_ext=c
12966 ac_cpp='$CPP $CPPFLAGS'
12967 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12968 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12969 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12970
12971
12972 fi
12973
12974 fi
12975 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinff_use" >&5
12976 echo "${ECHO_T}$glibcxx_cv_func_isinff_use" >&6
12977
12978 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
12979
12980 for ac_func in isinff
12981 do
12982 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12983 echo "$as_me:$LINENO: checking for $ac_func" >&5
12984 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12985 if eval "test \"\${$as_ac_var+set}\" = set"; then
12986 echo $ECHO_N "(cached) $ECHO_C" >&6
12987 else
12988 if test x$gcc_no_link = xyes; then
12989 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12990 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12991 { (exit 1); exit 1; }; }
12992 fi
12993 cat >conftest.$ac_ext <<_ACEOF
12994 /* confdefs.h. */
12995 _ACEOF
12996 cat confdefs.h >>conftest.$ac_ext
12997 cat >>conftest.$ac_ext <<_ACEOF
12998 /* end confdefs.h. */
12999 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13000 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13001 #define $ac_func innocuous_$ac_func
13002
13003 /* System header to define __stub macros and hopefully few prototypes,
13004 which can conflict with char $ac_func (); below.
13005 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13006 <limits.h> exists even on freestanding compilers. */
13007
13008 #ifdef __STDC__
13009 # include <limits.h>
13010 #else
13011 # include <assert.h>
13012 #endif
13013
13014 #undef $ac_func
13015
13016 /* Override any gcc2 internal prototype to avoid an error. */
13017 #ifdef __cplusplus
13018 extern "C"
13019 {
13020 #endif
13021 /* We use char because int might match the return type of a gcc2
13022 builtin and then its argument prototype would still apply. */
13023 char $ac_func ();
13024 /* The GNU C library defines this for functions which it implements
13025 to always fail with ENOSYS. Some functions are actually named
13026 something starting with __ and the normal name is an alias. */
13027 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13028 choke me
13029 #else
13030 char (*f) () = $ac_func;
13031 #endif
13032 #ifdef __cplusplus
13033 }
13034 #endif
13035
13036 int
13037 main ()
13038 {
13039 return f != $ac_func;
13040 ;
13041 return 0;
13042 }
13043 _ACEOF
13044 rm -f conftest.$ac_objext conftest$ac_exeext
13045 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13046 (eval $ac_link) 2>conftest.er1
13047 ac_status=$?
13048 grep -v '^ *+' conftest.er1 >conftest.err
13049 rm -f conftest.er1
13050 cat conftest.err >&5
13051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13052 (exit $ac_status); } &&
13053 { ac_try='test -z "$ac_c_werror_flag"
13054 || test ! -s conftest.err'
13055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13056 (eval $ac_try) 2>&5
13057 ac_status=$?
13058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13059 (exit $ac_status); }; } &&
13060 { ac_try='test -s conftest$ac_exeext'
13061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13062 (eval $ac_try) 2>&5
13063 ac_status=$?
13064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13065 (exit $ac_status); }; }; then
13066 eval "$as_ac_var=yes"
13067 else
13068 echo "$as_me: failed program was:" >&5
13069 sed 's/^/| /' conftest.$ac_ext >&5
13070
13071 eval "$as_ac_var=no"
13072 fi
13073 rm -f conftest.err conftest.$ac_objext \
13074 conftest$ac_exeext conftest.$ac_ext
13075 fi
13076 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13077 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13078 if test `eval echo '${'$as_ac_var'}'` = yes; then
13079 cat >>confdefs.h <<_ACEOF
13080 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13081 _ACEOF
13082
13083 fi
13084 done
13085
13086 else
13087
13088 echo "$as_me:$LINENO: checking for _isinff declaration" >&5
13089 echo $ECHO_N "checking for _isinff declaration... $ECHO_C" >&6
13090 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
13091 if test "${glibcxx_cv_func__isinff_use+set}" = set; then
13092 echo $ECHO_N "(cached) $ECHO_C" >&6
13093 else
13094
13095
13096
13097 ac_ext=cc
13098 ac_cpp='$CXXCPP $CPPFLAGS'
13099 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13100 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13101 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13102
13103 cat >conftest.$ac_ext <<_ACEOF
13104 /* confdefs.h. */
13105 _ACEOF
13106 cat confdefs.h >>conftest.$ac_ext
13107 cat >>conftest.$ac_ext <<_ACEOF
13108 /* end confdefs.h. */
13109 #include <math.h>
13110 #ifdef HAVE_IEEEFP_H
13111 #include <ieeefp.h>
13112 #endif
13113
13114 int
13115 main ()
13116 {
13117 _isinff(0);
13118 ;
13119 return 0;
13120 }
13121 _ACEOF
13122 rm -f conftest.$ac_objext
13123 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13124 (eval $ac_compile) 2>conftest.er1
13125 ac_status=$?
13126 grep -v '^ *+' conftest.er1 >conftest.err
13127 rm -f conftest.er1
13128 cat conftest.err >&5
13129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13130 (exit $ac_status); } &&
13131 { ac_try='test -z "$ac_cxx_werror_flag"
13132 || test ! -s conftest.err'
13133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13134 (eval $ac_try) 2>&5
13135 ac_status=$?
13136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13137 (exit $ac_status); }; } &&
13138 { ac_try='test -s conftest.$ac_objext'
13139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13140 (eval $ac_try) 2>&5
13141 ac_status=$?
13142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13143 (exit $ac_status); }; }; then
13144 glibcxx_cv_func__isinff_use=yes
13145 else
13146 echo "$as_me: failed program was:" >&5
13147 sed 's/^/| /' conftest.$ac_ext >&5
13148
13149 glibcxx_cv_func__isinff_use=no
13150 fi
13151 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13152 ac_ext=c
13153 ac_cpp='$CPP $CPPFLAGS'
13154 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13155 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13156 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13157
13158
13159 fi
13160
13161 fi
13162 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinff_use" >&5
13163 echo "${ECHO_T}$glibcxx_cv_func__isinff_use" >&6
13164
13165 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
13166
13167 for ac_func in _isinff
13168 do
13169 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13170 echo "$as_me:$LINENO: checking for $ac_func" >&5
13171 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13172 if eval "test \"\${$as_ac_var+set}\" = set"; then
13173 echo $ECHO_N "(cached) $ECHO_C" >&6
13174 else
13175 if test x$gcc_no_link = xyes; then
13176 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13177 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13178 { (exit 1); exit 1; }; }
13179 fi
13180 cat >conftest.$ac_ext <<_ACEOF
13181 /* confdefs.h. */
13182 _ACEOF
13183 cat confdefs.h >>conftest.$ac_ext
13184 cat >>conftest.$ac_ext <<_ACEOF
13185 /* end confdefs.h. */
13186 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13187 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13188 #define $ac_func innocuous_$ac_func
13189
13190 /* System header to define __stub macros and hopefully few prototypes,
13191 which can conflict with char $ac_func (); below.
13192 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13193 <limits.h> exists even on freestanding compilers. */
13194
13195 #ifdef __STDC__
13196 # include <limits.h>
13197 #else
13198 # include <assert.h>
13199 #endif
13200
13201 #undef $ac_func
13202
13203 /* Override any gcc2 internal prototype to avoid an error. */
13204 #ifdef __cplusplus
13205 extern "C"
13206 {
13207 #endif
13208 /* We use char because int might match the return type of a gcc2
13209 builtin and then its argument prototype would still apply. */
13210 char $ac_func ();
13211 /* The GNU C library defines this for functions which it implements
13212 to always fail with ENOSYS. Some functions are actually named
13213 something starting with __ and the normal name is an alias. */
13214 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13215 choke me
13216 #else
13217 char (*f) () = $ac_func;
13218 #endif
13219 #ifdef __cplusplus
13220 }
13221 #endif
13222
13223 int
13224 main ()
13225 {
13226 return f != $ac_func;
13227 ;
13228 return 0;
13229 }
13230 _ACEOF
13231 rm -f conftest.$ac_objext conftest$ac_exeext
13232 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13233 (eval $ac_link) 2>conftest.er1
13234 ac_status=$?
13235 grep -v '^ *+' conftest.er1 >conftest.err
13236 rm -f conftest.er1
13237 cat conftest.err >&5
13238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13239 (exit $ac_status); } &&
13240 { ac_try='test -z "$ac_c_werror_flag"
13241 || test ! -s conftest.err'
13242 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13243 (eval $ac_try) 2>&5
13244 ac_status=$?
13245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13246 (exit $ac_status); }; } &&
13247 { ac_try='test -s conftest$ac_exeext'
13248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13249 (eval $ac_try) 2>&5
13250 ac_status=$?
13251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13252 (exit $ac_status); }; }; then
13253 eval "$as_ac_var=yes"
13254 else
13255 echo "$as_me: failed program was:" >&5
13256 sed 's/^/| /' conftest.$ac_ext >&5
13257
13258 eval "$as_ac_var=no"
13259 fi
13260 rm -f conftest.err conftest.$ac_objext \
13261 conftest$ac_exeext conftest.$ac_ext
13262 fi
13263 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13264 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13265 if test `eval echo '${'$as_ac_var'}'` = yes; then
13266 cat >>confdefs.h <<_ACEOF
13267 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13268 _ACEOF
13269
13270 fi
13271 done
13272
13273 fi
13274 fi
13275
13276
13277
13278
13279
13280
13281 echo "$as_me:$LINENO: checking for atan2f declaration" >&5
13282 echo $ECHO_N "checking for atan2f declaration... $ECHO_C" >&6
13283 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
13284 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then
13285 echo $ECHO_N "(cached) $ECHO_C" >&6
13286 else
13287
13288
13289
13290 ac_ext=cc
13291 ac_cpp='$CXXCPP $CPPFLAGS'
13292 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13293 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13294 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13295
13296 cat >conftest.$ac_ext <<_ACEOF
13297 /* confdefs.h. */
13298 _ACEOF
13299 cat confdefs.h >>conftest.$ac_ext
13300 cat >>conftest.$ac_ext <<_ACEOF
13301 /* end confdefs.h. */
13302 #include <math.h>
13303 int
13304 main ()
13305 {
13306 atan2f(0, 0);
13307 ;
13308 return 0;
13309 }
13310 _ACEOF
13311 rm -f conftest.$ac_objext
13312 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13313 (eval $ac_compile) 2>conftest.er1
13314 ac_status=$?
13315 grep -v '^ *+' conftest.er1 >conftest.err
13316 rm -f conftest.er1
13317 cat conftest.err >&5
13318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13319 (exit $ac_status); } &&
13320 { ac_try='test -z "$ac_cxx_werror_flag"
13321 || test ! -s conftest.err'
13322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13323 (eval $ac_try) 2>&5
13324 ac_status=$?
13325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13326 (exit $ac_status); }; } &&
13327 { ac_try='test -s conftest.$ac_objext'
13328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13329 (eval $ac_try) 2>&5
13330 ac_status=$?
13331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13332 (exit $ac_status); }; }; then
13333 glibcxx_cv_func_atan2f_use=yes
13334 else
13335 echo "$as_me: failed program was:" >&5
13336 sed 's/^/| /' conftest.$ac_ext >&5
13337
13338 glibcxx_cv_func_atan2f_use=no
13339 fi
13340 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13341 ac_ext=c
13342 ac_cpp='$CPP $CPPFLAGS'
13343 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13344 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13345 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13346
13347
13348 fi
13349
13350 fi
13351 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2f_use" >&5
13352 echo "${ECHO_T}$glibcxx_cv_func_atan2f_use" >&6
13353
13354 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
13355
13356 for ac_func in atan2f
13357 do
13358 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13359 echo "$as_me:$LINENO: checking for $ac_func" >&5
13360 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13361 if eval "test \"\${$as_ac_var+set}\" = set"; then
13362 echo $ECHO_N "(cached) $ECHO_C" >&6
13363 else
13364 if test x$gcc_no_link = xyes; then
13365 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13366 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13367 { (exit 1); exit 1; }; }
13368 fi
13369 cat >conftest.$ac_ext <<_ACEOF
13370 /* confdefs.h. */
13371 _ACEOF
13372 cat confdefs.h >>conftest.$ac_ext
13373 cat >>conftest.$ac_ext <<_ACEOF
13374 /* end confdefs.h. */
13375 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13376 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13377 #define $ac_func innocuous_$ac_func
13378
13379 /* System header to define __stub macros and hopefully few prototypes,
13380 which can conflict with char $ac_func (); below.
13381 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13382 <limits.h> exists even on freestanding compilers. */
13383
13384 #ifdef __STDC__
13385 # include <limits.h>
13386 #else
13387 # include <assert.h>
13388 #endif
13389
13390 #undef $ac_func
13391
13392 /* Override any gcc2 internal prototype to avoid an error. */
13393 #ifdef __cplusplus
13394 extern "C"
13395 {
13396 #endif
13397 /* We use char because int might match the return type of a gcc2
13398 builtin and then its argument prototype would still apply. */
13399 char $ac_func ();
13400 /* The GNU C library defines this for functions which it implements
13401 to always fail with ENOSYS. Some functions are actually named
13402 something starting with __ and the normal name is an alias. */
13403 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13404 choke me
13405 #else
13406 char (*f) () = $ac_func;
13407 #endif
13408 #ifdef __cplusplus
13409 }
13410 #endif
13411
13412 int
13413 main ()
13414 {
13415 return f != $ac_func;
13416 ;
13417 return 0;
13418 }
13419 _ACEOF
13420 rm -f conftest.$ac_objext conftest$ac_exeext
13421 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13422 (eval $ac_link) 2>conftest.er1
13423 ac_status=$?
13424 grep -v '^ *+' conftest.er1 >conftest.err
13425 rm -f conftest.er1
13426 cat conftest.err >&5
13427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13428 (exit $ac_status); } &&
13429 { ac_try='test -z "$ac_c_werror_flag"
13430 || test ! -s conftest.err'
13431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13432 (eval $ac_try) 2>&5
13433 ac_status=$?
13434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13435 (exit $ac_status); }; } &&
13436 { ac_try='test -s conftest$ac_exeext'
13437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13438 (eval $ac_try) 2>&5
13439 ac_status=$?
13440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13441 (exit $ac_status); }; }; then
13442 eval "$as_ac_var=yes"
13443 else
13444 echo "$as_me: failed program was:" >&5
13445 sed 's/^/| /' conftest.$ac_ext >&5
13446
13447 eval "$as_ac_var=no"
13448 fi
13449 rm -f conftest.err conftest.$ac_objext \
13450 conftest$ac_exeext conftest.$ac_ext
13451 fi
13452 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13453 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13454 if test `eval echo '${'$as_ac_var'}'` = yes; then
13455 cat >>confdefs.h <<_ACEOF
13456 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13457 _ACEOF
13458
13459 fi
13460 done
13461
13462 else
13463
13464 echo "$as_me:$LINENO: checking for _atan2f declaration" >&5
13465 echo $ECHO_N "checking for _atan2f declaration... $ECHO_C" >&6
13466 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
13467 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then
13468 echo $ECHO_N "(cached) $ECHO_C" >&6
13469 else
13470
13471
13472
13473 ac_ext=cc
13474 ac_cpp='$CXXCPP $CPPFLAGS'
13475 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13476 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13477 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13478
13479 cat >conftest.$ac_ext <<_ACEOF
13480 /* confdefs.h. */
13481 _ACEOF
13482 cat confdefs.h >>conftest.$ac_ext
13483 cat >>conftest.$ac_ext <<_ACEOF
13484 /* end confdefs.h. */
13485 #include <math.h>
13486 int
13487 main ()
13488 {
13489 _atan2f(0, 0);
13490 ;
13491 return 0;
13492 }
13493 _ACEOF
13494 rm -f conftest.$ac_objext
13495 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13496 (eval $ac_compile) 2>conftest.er1
13497 ac_status=$?
13498 grep -v '^ *+' conftest.er1 >conftest.err
13499 rm -f conftest.er1
13500 cat conftest.err >&5
13501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13502 (exit $ac_status); } &&
13503 { ac_try='test -z "$ac_cxx_werror_flag"
13504 || test ! -s conftest.err'
13505 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13506 (eval $ac_try) 2>&5
13507 ac_status=$?
13508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13509 (exit $ac_status); }; } &&
13510 { ac_try='test -s conftest.$ac_objext'
13511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13512 (eval $ac_try) 2>&5
13513 ac_status=$?
13514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13515 (exit $ac_status); }; }; then
13516 glibcxx_cv_func__atan2f_use=yes
13517 else
13518 echo "$as_me: failed program was:" >&5
13519 sed 's/^/| /' conftest.$ac_ext >&5
13520
13521 glibcxx_cv_func__atan2f_use=no
13522 fi
13523 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13524 ac_ext=c
13525 ac_cpp='$CPP $CPPFLAGS'
13526 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13527 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13528 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13529
13530
13531 fi
13532
13533 fi
13534 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2f_use" >&5
13535 echo "${ECHO_T}$glibcxx_cv_func__atan2f_use" >&6
13536
13537 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
13538
13539 for ac_func in _atan2f
13540 do
13541 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13542 echo "$as_me:$LINENO: checking for $ac_func" >&5
13543 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13544 if eval "test \"\${$as_ac_var+set}\" = set"; then
13545 echo $ECHO_N "(cached) $ECHO_C" >&6
13546 else
13547 if test x$gcc_no_link = xyes; then
13548 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13549 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13550 { (exit 1); exit 1; }; }
13551 fi
13552 cat >conftest.$ac_ext <<_ACEOF
13553 /* confdefs.h. */
13554 _ACEOF
13555 cat confdefs.h >>conftest.$ac_ext
13556 cat >>conftest.$ac_ext <<_ACEOF
13557 /* end confdefs.h. */
13558 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13559 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13560 #define $ac_func innocuous_$ac_func
13561
13562 /* System header to define __stub macros and hopefully few prototypes,
13563 which can conflict with char $ac_func (); below.
13564 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13565 <limits.h> exists even on freestanding compilers. */
13566
13567 #ifdef __STDC__
13568 # include <limits.h>
13569 #else
13570 # include <assert.h>
13571 #endif
13572
13573 #undef $ac_func
13574
13575 /* Override any gcc2 internal prototype to avoid an error. */
13576 #ifdef __cplusplus
13577 extern "C"
13578 {
13579 #endif
13580 /* We use char because int might match the return type of a gcc2
13581 builtin and then its argument prototype would still apply. */
13582 char $ac_func ();
13583 /* The GNU C library defines this for functions which it implements
13584 to always fail with ENOSYS. Some functions are actually named
13585 something starting with __ and the normal name is an alias. */
13586 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13587 choke me
13588 #else
13589 char (*f) () = $ac_func;
13590 #endif
13591 #ifdef __cplusplus
13592 }
13593 #endif
13594
13595 int
13596 main ()
13597 {
13598 return f != $ac_func;
13599 ;
13600 return 0;
13601 }
13602 _ACEOF
13603 rm -f conftest.$ac_objext conftest$ac_exeext
13604 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13605 (eval $ac_link) 2>conftest.er1
13606 ac_status=$?
13607 grep -v '^ *+' conftest.er1 >conftest.err
13608 rm -f conftest.er1
13609 cat conftest.err >&5
13610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13611 (exit $ac_status); } &&
13612 { ac_try='test -z "$ac_c_werror_flag"
13613 || test ! -s conftest.err'
13614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13615 (eval $ac_try) 2>&5
13616 ac_status=$?
13617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13618 (exit $ac_status); }; } &&
13619 { ac_try='test -s conftest$ac_exeext'
13620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13621 (eval $ac_try) 2>&5
13622 ac_status=$?
13623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13624 (exit $ac_status); }; }; then
13625 eval "$as_ac_var=yes"
13626 else
13627 echo "$as_me: failed program was:" >&5
13628 sed 's/^/| /' conftest.$ac_ext >&5
13629
13630 eval "$as_ac_var=no"
13631 fi
13632 rm -f conftest.err conftest.$ac_objext \
13633 conftest$ac_exeext conftest.$ac_ext
13634 fi
13635 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13636 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13637 if test `eval echo '${'$as_ac_var'}'` = yes; then
13638 cat >>confdefs.h <<_ACEOF
13639 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13640 _ACEOF
13641
13642 fi
13643 done
13644
13645 fi
13646 fi
13647
13648
13649
13650
13651
13652
13653 echo "$as_me:$LINENO: checking for fabsf declaration" >&5
13654 echo $ECHO_N "checking for fabsf declaration... $ECHO_C" >&6
13655 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
13656 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then
13657 echo $ECHO_N "(cached) $ECHO_C" >&6
13658 else
13659
13660
13661
13662 ac_ext=cc
13663 ac_cpp='$CXXCPP $CPPFLAGS'
13664 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13665 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13666 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13667
13668 cat >conftest.$ac_ext <<_ACEOF
13669 /* confdefs.h. */
13670 _ACEOF
13671 cat confdefs.h >>conftest.$ac_ext
13672 cat >>conftest.$ac_ext <<_ACEOF
13673 /* end confdefs.h. */
13674 #include <math.h>
13675 #ifdef HAVE_IEEEFP_H
13676 #include <ieeefp.h>
13677 #endif
13678
13679 int
13680 main ()
13681 {
13682 fabsf(0);
13683 ;
13684 return 0;
13685 }
13686 _ACEOF
13687 rm -f conftest.$ac_objext
13688 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13689 (eval $ac_compile) 2>conftest.er1
13690 ac_status=$?
13691 grep -v '^ *+' conftest.er1 >conftest.err
13692 rm -f conftest.er1
13693 cat conftest.err >&5
13694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13695 (exit $ac_status); } &&
13696 { ac_try='test -z "$ac_cxx_werror_flag"
13697 || test ! -s conftest.err'
13698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13699 (eval $ac_try) 2>&5
13700 ac_status=$?
13701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13702 (exit $ac_status); }; } &&
13703 { ac_try='test -s conftest.$ac_objext'
13704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13705 (eval $ac_try) 2>&5
13706 ac_status=$?
13707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13708 (exit $ac_status); }; }; then
13709 glibcxx_cv_func_fabsf_use=yes
13710 else
13711 echo "$as_me: failed program was:" >&5
13712 sed 's/^/| /' conftest.$ac_ext >&5
13713
13714 glibcxx_cv_func_fabsf_use=no
13715 fi
13716 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13717 ac_ext=c
13718 ac_cpp='$CPP $CPPFLAGS'
13719 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13720 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13721 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13722
13723
13724 fi
13725
13726 fi
13727 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsf_use" >&5
13728 echo "${ECHO_T}$glibcxx_cv_func_fabsf_use" >&6
13729
13730 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
13731
13732 for ac_func in fabsf
13733 do
13734 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13735 echo "$as_me:$LINENO: checking for $ac_func" >&5
13736 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13737 if eval "test \"\${$as_ac_var+set}\" = set"; then
13738 echo $ECHO_N "(cached) $ECHO_C" >&6
13739 else
13740 if test x$gcc_no_link = xyes; then
13741 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13742 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13743 { (exit 1); exit 1; }; }
13744 fi
13745 cat >conftest.$ac_ext <<_ACEOF
13746 /* confdefs.h. */
13747 _ACEOF
13748 cat confdefs.h >>conftest.$ac_ext
13749 cat >>conftest.$ac_ext <<_ACEOF
13750 /* end confdefs.h. */
13751 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13752 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13753 #define $ac_func innocuous_$ac_func
13754
13755 /* System header to define __stub macros and hopefully few prototypes,
13756 which can conflict with char $ac_func (); below.
13757 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13758 <limits.h> exists even on freestanding compilers. */
13759
13760 #ifdef __STDC__
13761 # include <limits.h>
13762 #else
13763 # include <assert.h>
13764 #endif
13765
13766 #undef $ac_func
13767
13768 /* Override any gcc2 internal prototype to avoid an error. */
13769 #ifdef __cplusplus
13770 extern "C"
13771 {
13772 #endif
13773 /* We use char because int might match the return type of a gcc2
13774 builtin and then its argument prototype would still apply. */
13775 char $ac_func ();
13776 /* The GNU C library defines this for functions which it implements
13777 to always fail with ENOSYS. Some functions are actually named
13778 something starting with __ and the normal name is an alias. */
13779 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13780 choke me
13781 #else
13782 char (*f) () = $ac_func;
13783 #endif
13784 #ifdef __cplusplus
13785 }
13786 #endif
13787
13788 int
13789 main ()
13790 {
13791 return f != $ac_func;
13792 ;
13793 return 0;
13794 }
13795 _ACEOF
13796 rm -f conftest.$ac_objext conftest$ac_exeext
13797 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13798 (eval $ac_link) 2>conftest.er1
13799 ac_status=$?
13800 grep -v '^ *+' conftest.er1 >conftest.err
13801 rm -f conftest.er1
13802 cat conftest.err >&5
13803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13804 (exit $ac_status); } &&
13805 { ac_try='test -z "$ac_c_werror_flag"
13806 || test ! -s conftest.err'
13807 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13808 (eval $ac_try) 2>&5
13809 ac_status=$?
13810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13811 (exit $ac_status); }; } &&
13812 { ac_try='test -s conftest$ac_exeext'
13813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13814 (eval $ac_try) 2>&5
13815 ac_status=$?
13816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13817 (exit $ac_status); }; }; then
13818 eval "$as_ac_var=yes"
13819 else
13820 echo "$as_me: failed program was:" >&5
13821 sed 's/^/| /' conftest.$ac_ext >&5
13822
13823 eval "$as_ac_var=no"
13824 fi
13825 rm -f conftest.err conftest.$ac_objext \
13826 conftest$ac_exeext conftest.$ac_ext
13827 fi
13828 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13829 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13830 if test `eval echo '${'$as_ac_var'}'` = yes; then
13831 cat >>confdefs.h <<_ACEOF
13832 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13833 _ACEOF
13834
13835 fi
13836 done
13837
13838 else
13839
13840 echo "$as_me:$LINENO: checking for _fabsf declaration" >&5
13841 echo $ECHO_N "checking for _fabsf declaration... $ECHO_C" >&6
13842 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
13843 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then
13844 echo $ECHO_N "(cached) $ECHO_C" >&6
13845 else
13846
13847
13848
13849 ac_ext=cc
13850 ac_cpp='$CXXCPP $CPPFLAGS'
13851 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13852 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13853 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13854
13855 cat >conftest.$ac_ext <<_ACEOF
13856 /* confdefs.h. */
13857 _ACEOF
13858 cat confdefs.h >>conftest.$ac_ext
13859 cat >>conftest.$ac_ext <<_ACEOF
13860 /* end confdefs.h. */
13861 #include <math.h>
13862 #ifdef HAVE_IEEEFP_H
13863 #include <ieeefp.h>
13864 #endif
13865
13866 int
13867 main ()
13868 {
13869 _fabsf(0);
13870 ;
13871 return 0;
13872 }
13873 _ACEOF
13874 rm -f conftest.$ac_objext
13875 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13876 (eval $ac_compile) 2>conftest.er1
13877 ac_status=$?
13878 grep -v '^ *+' conftest.er1 >conftest.err
13879 rm -f conftest.er1
13880 cat conftest.err >&5
13881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13882 (exit $ac_status); } &&
13883 { ac_try='test -z "$ac_cxx_werror_flag"
13884 || test ! -s conftest.err'
13885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13886 (eval $ac_try) 2>&5
13887 ac_status=$?
13888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13889 (exit $ac_status); }; } &&
13890 { ac_try='test -s conftest.$ac_objext'
13891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13892 (eval $ac_try) 2>&5
13893 ac_status=$?
13894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13895 (exit $ac_status); }; }; then
13896 glibcxx_cv_func__fabsf_use=yes
13897 else
13898 echo "$as_me: failed program was:" >&5
13899 sed 's/^/| /' conftest.$ac_ext >&5
13900
13901 glibcxx_cv_func__fabsf_use=no
13902 fi
13903 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13904 ac_ext=c
13905 ac_cpp='$CPP $CPPFLAGS'
13906 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13907 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13908 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13909
13910
13911 fi
13912
13913 fi
13914 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsf_use" >&5
13915 echo "${ECHO_T}$glibcxx_cv_func__fabsf_use" >&6
13916
13917 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
13918
13919 for ac_func in _fabsf
13920 do
13921 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13922 echo "$as_me:$LINENO: checking for $ac_func" >&5
13923 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13924 if eval "test \"\${$as_ac_var+set}\" = set"; then
13925 echo $ECHO_N "(cached) $ECHO_C" >&6
13926 else
13927 if test x$gcc_no_link = xyes; then
13928 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13929 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13930 { (exit 1); exit 1; }; }
13931 fi
13932 cat >conftest.$ac_ext <<_ACEOF
13933 /* confdefs.h. */
13934 _ACEOF
13935 cat confdefs.h >>conftest.$ac_ext
13936 cat >>conftest.$ac_ext <<_ACEOF
13937 /* end confdefs.h. */
13938 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13939 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13940 #define $ac_func innocuous_$ac_func
13941
13942 /* System header to define __stub macros and hopefully few prototypes,
13943 which can conflict with char $ac_func (); below.
13944 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13945 <limits.h> exists even on freestanding compilers. */
13946
13947 #ifdef __STDC__
13948 # include <limits.h>
13949 #else
13950 # include <assert.h>
13951 #endif
13952
13953 #undef $ac_func
13954
13955 /* Override any gcc2 internal prototype to avoid an error. */
13956 #ifdef __cplusplus
13957 extern "C"
13958 {
13959 #endif
13960 /* We use char because int might match the return type of a gcc2
13961 builtin and then its argument prototype would still apply. */
13962 char $ac_func ();
13963 /* The GNU C library defines this for functions which it implements
13964 to always fail with ENOSYS. Some functions are actually named
13965 something starting with __ and the normal name is an alias. */
13966 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13967 choke me
13968 #else
13969 char (*f) () = $ac_func;
13970 #endif
13971 #ifdef __cplusplus
13972 }
13973 #endif
13974
13975 int
13976 main ()
13977 {
13978 return f != $ac_func;
13979 ;
13980 return 0;
13981 }
13982 _ACEOF
13983 rm -f conftest.$ac_objext conftest$ac_exeext
13984 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13985 (eval $ac_link) 2>conftest.er1
13986 ac_status=$?
13987 grep -v '^ *+' conftest.er1 >conftest.err
13988 rm -f conftest.er1
13989 cat conftest.err >&5
13990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13991 (exit $ac_status); } &&
13992 { ac_try='test -z "$ac_c_werror_flag"
13993 || test ! -s conftest.err'
13994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13995 (eval $ac_try) 2>&5
13996 ac_status=$?
13997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13998 (exit $ac_status); }; } &&
13999 { ac_try='test -s conftest$ac_exeext'
14000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14001 (eval $ac_try) 2>&5
14002 ac_status=$?
14003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14004 (exit $ac_status); }; }; then
14005 eval "$as_ac_var=yes"
14006 else
14007 echo "$as_me: failed program was:" >&5
14008 sed 's/^/| /' conftest.$ac_ext >&5
14009
14010 eval "$as_ac_var=no"
14011 fi
14012 rm -f conftest.err conftest.$ac_objext \
14013 conftest$ac_exeext conftest.$ac_ext
14014 fi
14015 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14016 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14017 if test `eval echo '${'$as_ac_var'}'` = yes; then
14018 cat >>confdefs.h <<_ACEOF
14019 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14020 _ACEOF
14021
14022 fi
14023 done
14024
14025 fi
14026 fi
14027
14028
14029
14030
14031
14032
14033 echo "$as_me:$LINENO: checking for fmodf declaration" >&5
14034 echo $ECHO_N "checking for fmodf declaration... $ECHO_C" >&6
14035 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
14036 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then
14037 echo $ECHO_N "(cached) $ECHO_C" >&6
14038 else
14039
14040
14041
14042 ac_ext=cc
14043 ac_cpp='$CXXCPP $CPPFLAGS'
14044 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14045 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14046 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14047
14048 cat >conftest.$ac_ext <<_ACEOF
14049 /* confdefs.h. */
14050 _ACEOF
14051 cat confdefs.h >>conftest.$ac_ext
14052 cat >>conftest.$ac_ext <<_ACEOF
14053 /* end confdefs.h. */
14054 #include <math.h>
14055 int
14056 main ()
14057 {
14058 fmodf(0, 0);
14059 ;
14060 return 0;
14061 }
14062 _ACEOF
14063 rm -f conftest.$ac_objext
14064 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14065 (eval $ac_compile) 2>conftest.er1
14066 ac_status=$?
14067 grep -v '^ *+' conftest.er1 >conftest.err
14068 rm -f conftest.er1
14069 cat conftest.err >&5
14070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14071 (exit $ac_status); } &&
14072 { ac_try='test -z "$ac_cxx_werror_flag"
14073 || test ! -s conftest.err'
14074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14075 (eval $ac_try) 2>&5
14076 ac_status=$?
14077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14078 (exit $ac_status); }; } &&
14079 { ac_try='test -s conftest.$ac_objext'
14080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14081 (eval $ac_try) 2>&5
14082 ac_status=$?
14083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14084 (exit $ac_status); }; }; then
14085 glibcxx_cv_func_fmodf_use=yes
14086 else
14087 echo "$as_me: failed program was:" >&5
14088 sed 's/^/| /' conftest.$ac_ext >&5
14089
14090 glibcxx_cv_func_fmodf_use=no
14091 fi
14092 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14093 ac_ext=c
14094 ac_cpp='$CPP $CPPFLAGS'
14095 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14096 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14097 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14098
14099
14100 fi
14101
14102 fi
14103 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodf_use" >&5
14104 echo "${ECHO_T}$glibcxx_cv_func_fmodf_use" >&6
14105
14106 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
14107
14108 for ac_func in fmodf
14109 do
14110 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14111 echo "$as_me:$LINENO: checking for $ac_func" >&5
14112 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14113 if eval "test \"\${$as_ac_var+set}\" = set"; then
14114 echo $ECHO_N "(cached) $ECHO_C" >&6
14115 else
14116 if test x$gcc_no_link = xyes; then
14117 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14118 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14119 { (exit 1); exit 1; }; }
14120 fi
14121 cat >conftest.$ac_ext <<_ACEOF
14122 /* confdefs.h. */
14123 _ACEOF
14124 cat confdefs.h >>conftest.$ac_ext
14125 cat >>conftest.$ac_ext <<_ACEOF
14126 /* end confdefs.h. */
14127 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14128 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14129 #define $ac_func innocuous_$ac_func
14130
14131 /* System header to define __stub macros and hopefully few prototypes,
14132 which can conflict with char $ac_func (); below.
14133 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14134 <limits.h> exists even on freestanding compilers. */
14135
14136 #ifdef __STDC__
14137 # include <limits.h>
14138 #else
14139 # include <assert.h>
14140 #endif
14141
14142 #undef $ac_func
14143
14144 /* Override any gcc2 internal prototype to avoid an error. */
14145 #ifdef __cplusplus
14146 extern "C"
14147 {
14148 #endif
14149 /* We use char because int might match the return type of a gcc2
14150 builtin and then its argument prototype would still apply. */
14151 char $ac_func ();
14152 /* The GNU C library defines this for functions which it implements
14153 to always fail with ENOSYS. Some functions are actually named
14154 something starting with __ and the normal name is an alias. */
14155 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14156 choke me
14157 #else
14158 char (*f) () = $ac_func;
14159 #endif
14160 #ifdef __cplusplus
14161 }
14162 #endif
14163
14164 int
14165 main ()
14166 {
14167 return f != $ac_func;
14168 ;
14169 return 0;
14170 }
14171 _ACEOF
14172 rm -f conftest.$ac_objext conftest$ac_exeext
14173 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14174 (eval $ac_link) 2>conftest.er1
14175 ac_status=$?
14176 grep -v '^ *+' conftest.er1 >conftest.err
14177 rm -f conftest.er1
14178 cat conftest.err >&5
14179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14180 (exit $ac_status); } &&
14181 { ac_try='test -z "$ac_c_werror_flag"
14182 || test ! -s conftest.err'
14183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14184 (eval $ac_try) 2>&5
14185 ac_status=$?
14186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14187 (exit $ac_status); }; } &&
14188 { ac_try='test -s conftest$ac_exeext'
14189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14190 (eval $ac_try) 2>&5
14191 ac_status=$?
14192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14193 (exit $ac_status); }; }; then
14194 eval "$as_ac_var=yes"
14195 else
14196 echo "$as_me: failed program was:" >&5
14197 sed 's/^/| /' conftest.$ac_ext >&5
14198
14199 eval "$as_ac_var=no"
14200 fi
14201 rm -f conftest.err conftest.$ac_objext \
14202 conftest$ac_exeext conftest.$ac_ext
14203 fi
14204 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14205 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14206 if test `eval echo '${'$as_ac_var'}'` = yes; then
14207 cat >>confdefs.h <<_ACEOF
14208 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14209 _ACEOF
14210
14211 fi
14212 done
14213
14214 else
14215
14216 echo "$as_me:$LINENO: checking for _fmodf declaration" >&5
14217 echo $ECHO_N "checking for _fmodf declaration... $ECHO_C" >&6
14218 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
14219 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then
14220 echo $ECHO_N "(cached) $ECHO_C" >&6
14221 else
14222
14223
14224
14225 ac_ext=cc
14226 ac_cpp='$CXXCPP $CPPFLAGS'
14227 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14228 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14229 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14230
14231 cat >conftest.$ac_ext <<_ACEOF
14232 /* confdefs.h. */
14233 _ACEOF
14234 cat confdefs.h >>conftest.$ac_ext
14235 cat >>conftest.$ac_ext <<_ACEOF
14236 /* end confdefs.h. */
14237 #include <math.h>
14238 int
14239 main ()
14240 {
14241 _fmodf(0, 0);
14242 ;
14243 return 0;
14244 }
14245 _ACEOF
14246 rm -f conftest.$ac_objext
14247 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14248 (eval $ac_compile) 2>conftest.er1
14249 ac_status=$?
14250 grep -v '^ *+' conftest.er1 >conftest.err
14251 rm -f conftest.er1
14252 cat conftest.err >&5
14253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14254 (exit $ac_status); } &&
14255 { ac_try='test -z "$ac_cxx_werror_flag"
14256 || test ! -s conftest.err'
14257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14258 (eval $ac_try) 2>&5
14259 ac_status=$?
14260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14261 (exit $ac_status); }; } &&
14262 { ac_try='test -s conftest.$ac_objext'
14263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14264 (eval $ac_try) 2>&5
14265 ac_status=$?
14266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14267 (exit $ac_status); }; }; then
14268 glibcxx_cv_func__fmodf_use=yes
14269 else
14270 echo "$as_me: failed program was:" >&5
14271 sed 's/^/| /' conftest.$ac_ext >&5
14272
14273 glibcxx_cv_func__fmodf_use=no
14274 fi
14275 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14276 ac_ext=c
14277 ac_cpp='$CPP $CPPFLAGS'
14278 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14279 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14280 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14281
14282
14283 fi
14284
14285 fi
14286 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodf_use" >&5
14287 echo "${ECHO_T}$glibcxx_cv_func__fmodf_use" >&6
14288
14289 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
14290
14291 for ac_func in _fmodf
14292 do
14293 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14294 echo "$as_me:$LINENO: checking for $ac_func" >&5
14295 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14296 if eval "test \"\${$as_ac_var+set}\" = set"; then
14297 echo $ECHO_N "(cached) $ECHO_C" >&6
14298 else
14299 if test x$gcc_no_link = xyes; then
14300 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14301 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14302 { (exit 1); exit 1; }; }
14303 fi
14304 cat >conftest.$ac_ext <<_ACEOF
14305 /* confdefs.h. */
14306 _ACEOF
14307 cat confdefs.h >>conftest.$ac_ext
14308 cat >>conftest.$ac_ext <<_ACEOF
14309 /* end confdefs.h. */
14310 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14311 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14312 #define $ac_func innocuous_$ac_func
14313
14314 /* System header to define __stub macros and hopefully few prototypes,
14315 which can conflict with char $ac_func (); below.
14316 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14317 <limits.h> exists even on freestanding compilers. */
14318
14319 #ifdef __STDC__
14320 # include <limits.h>
14321 #else
14322 # include <assert.h>
14323 #endif
14324
14325 #undef $ac_func
14326
14327 /* Override any gcc2 internal prototype to avoid an error. */
14328 #ifdef __cplusplus
14329 extern "C"
14330 {
14331 #endif
14332 /* We use char because int might match the return type of a gcc2
14333 builtin and then its argument prototype would still apply. */
14334 char $ac_func ();
14335 /* The GNU C library defines this for functions which it implements
14336 to always fail with ENOSYS. Some functions are actually named
14337 something starting with __ and the normal name is an alias. */
14338 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14339 choke me
14340 #else
14341 char (*f) () = $ac_func;
14342 #endif
14343 #ifdef __cplusplus
14344 }
14345 #endif
14346
14347 int
14348 main ()
14349 {
14350 return f != $ac_func;
14351 ;
14352 return 0;
14353 }
14354 _ACEOF
14355 rm -f conftest.$ac_objext conftest$ac_exeext
14356 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14357 (eval $ac_link) 2>conftest.er1
14358 ac_status=$?
14359 grep -v '^ *+' conftest.er1 >conftest.err
14360 rm -f conftest.er1
14361 cat conftest.err >&5
14362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14363 (exit $ac_status); } &&
14364 { ac_try='test -z "$ac_c_werror_flag"
14365 || test ! -s conftest.err'
14366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14367 (eval $ac_try) 2>&5
14368 ac_status=$?
14369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14370 (exit $ac_status); }; } &&
14371 { ac_try='test -s conftest$ac_exeext'
14372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14373 (eval $ac_try) 2>&5
14374 ac_status=$?
14375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14376 (exit $ac_status); }; }; then
14377 eval "$as_ac_var=yes"
14378 else
14379 echo "$as_me: failed program was:" >&5
14380 sed 's/^/| /' conftest.$ac_ext >&5
14381
14382 eval "$as_ac_var=no"
14383 fi
14384 rm -f conftest.err conftest.$ac_objext \
14385 conftest$ac_exeext conftest.$ac_ext
14386 fi
14387 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14388 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14389 if test `eval echo '${'$as_ac_var'}'` = yes; then
14390 cat >>confdefs.h <<_ACEOF
14391 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14392 _ACEOF
14393
14394 fi
14395 done
14396
14397 fi
14398 fi
14399
14400
14401
14402
14403
14404
14405 echo "$as_me:$LINENO: checking for frexpf declaration" >&5
14406 echo $ECHO_N "checking for frexpf declaration... $ECHO_C" >&6
14407 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
14408 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then
14409 echo $ECHO_N "(cached) $ECHO_C" >&6
14410 else
14411
14412
14413
14414 ac_ext=cc
14415 ac_cpp='$CXXCPP $CPPFLAGS'
14416 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14417 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14418 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14419
14420 cat >conftest.$ac_ext <<_ACEOF
14421 /* confdefs.h. */
14422 _ACEOF
14423 cat confdefs.h >>conftest.$ac_ext
14424 cat >>conftest.$ac_ext <<_ACEOF
14425 /* end confdefs.h. */
14426 #include <math.h>
14427 int
14428 main ()
14429 {
14430 frexpf(0, 0);
14431 ;
14432 return 0;
14433 }
14434 _ACEOF
14435 rm -f conftest.$ac_objext
14436 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14437 (eval $ac_compile) 2>conftest.er1
14438 ac_status=$?
14439 grep -v '^ *+' conftest.er1 >conftest.err
14440 rm -f conftest.er1
14441 cat conftest.err >&5
14442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14443 (exit $ac_status); } &&
14444 { ac_try='test -z "$ac_cxx_werror_flag"
14445 || test ! -s conftest.err'
14446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14447 (eval $ac_try) 2>&5
14448 ac_status=$?
14449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14450 (exit $ac_status); }; } &&
14451 { ac_try='test -s conftest.$ac_objext'
14452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14453 (eval $ac_try) 2>&5
14454 ac_status=$?
14455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14456 (exit $ac_status); }; }; then
14457 glibcxx_cv_func_frexpf_use=yes
14458 else
14459 echo "$as_me: failed program was:" >&5
14460 sed 's/^/| /' conftest.$ac_ext >&5
14461
14462 glibcxx_cv_func_frexpf_use=no
14463 fi
14464 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14465 ac_ext=c
14466 ac_cpp='$CPP $CPPFLAGS'
14467 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14468 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14469 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14470
14471
14472 fi
14473
14474 fi
14475 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpf_use" >&5
14476 echo "${ECHO_T}$glibcxx_cv_func_frexpf_use" >&6
14477
14478 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
14479
14480 for ac_func in frexpf
14481 do
14482 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14483 echo "$as_me:$LINENO: checking for $ac_func" >&5
14484 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14485 if eval "test \"\${$as_ac_var+set}\" = set"; then
14486 echo $ECHO_N "(cached) $ECHO_C" >&6
14487 else
14488 if test x$gcc_no_link = xyes; then
14489 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14490 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14491 { (exit 1); exit 1; }; }
14492 fi
14493 cat >conftest.$ac_ext <<_ACEOF
14494 /* confdefs.h. */
14495 _ACEOF
14496 cat confdefs.h >>conftest.$ac_ext
14497 cat >>conftest.$ac_ext <<_ACEOF
14498 /* end confdefs.h. */
14499 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14500 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14501 #define $ac_func innocuous_$ac_func
14502
14503 /* System header to define __stub macros and hopefully few prototypes,
14504 which can conflict with char $ac_func (); below.
14505 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14506 <limits.h> exists even on freestanding compilers. */
14507
14508 #ifdef __STDC__
14509 # include <limits.h>
14510 #else
14511 # include <assert.h>
14512 #endif
14513
14514 #undef $ac_func
14515
14516 /* Override any gcc2 internal prototype to avoid an error. */
14517 #ifdef __cplusplus
14518 extern "C"
14519 {
14520 #endif
14521 /* We use char because int might match the return type of a gcc2
14522 builtin and then its argument prototype would still apply. */
14523 char $ac_func ();
14524 /* The GNU C library defines this for functions which it implements
14525 to always fail with ENOSYS. Some functions are actually named
14526 something starting with __ and the normal name is an alias. */
14527 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14528 choke me
14529 #else
14530 char (*f) () = $ac_func;
14531 #endif
14532 #ifdef __cplusplus
14533 }
14534 #endif
14535
14536 int
14537 main ()
14538 {
14539 return f != $ac_func;
14540 ;
14541 return 0;
14542 }
14543 _ACEOF
14544 rm -f conftest.$ac_objext conftest$ac_exeext
14545 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14546 (eval $ac_link) 2>conftest.er1
14547 ac_status=$?
14548 grep -v '^ *+' conftest.er1 >conftest.err
14549 rm -f conftest.er1
14550 cat conftest.err >&5
14551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14552 (exit $ac_status); } &&
14553 { ac_try='test -z "$ac_c_werror_flag"
14554 || test ! -s conftest.err'
14555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14556 (eval $ac_try) 2>&5
14557 ac_status=$?
14558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14559 (exit $ac_status); }; } &&
14560 { ac_try='test -s conftest$ac_exeext'
14561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14562 (eval $ac_try) 2>&5
14563 ac_status=$?
14564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14565 (exit $ac_status); }; }; then
14566 eval "$as_ac_var=yes"
14567 else
14568 echo "$as_me: failed program was:" >&5
14569 sed 's/^/| /' conftest.$ac_ext >&5
14570
14571 eval "$as_ac_var=no"
14572 fi
14573 rm -f conftest.err conftest.$ac_objext \
14574 conftest$ac_exeext conftest.$ac_ext
14575 fi
14576 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14577 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14578 if test `eval echo '${'$as_ac_var'}'` = yes; then
14579 cat >>confdefs.h <<_ACEOF
14580 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14581 _ACEOF
14582
14583 fi
14584 done
14585
14586 else
14587
14588 echo "$as_me:$LINENO: checking for _frexpf declaration" >&5
14589 echo $ECHO_N "checking for _frexpf declaration... $ECHO_C" >&6
14590 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
14591 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then
14592 echo $ECHO_N "(cached) $ECHO_C" >&6
14593 else
14594
14595
14596
14597 ac_ext=cc
14598 ac_cpp='$CXXCPP $CPPFLAGS'
14599 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14600 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14601 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14602
14603 cat >conftest.$ac_ext <<_ACEOF
14604 /* confdefs.h. */
14605 _ACEOF
14606 cat confdefs.h >>conftest.$ac_ext
14607 cat >>conftest.$ac_ext <<_ACEOF
14608 /* end confdefs.h. */
14609 #include <math.h>
14610 int
14611 main ()
14612 {
14613 _frexpf(0, 0);
14614 ;
14615 return 0;
14616 }
14617 _ACEOF
14618 rm -f conftest.$ac_objext
14619 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14620 (eval $ac_compile) 2>conftest.er1
14621 ac_status=$?
14622 grep -v '^ *+' conftest.er1 >conftest.err
14623 rm -f conftest.er1
14624 cat conftest.err >&5
14625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14626 (exit $ac_status); } &&
14627 { ac_try='test -z "$ac_cxx_werror_flag"
14628 || test ! -s conftest.err'
14629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14630 (eval $ac_try) 2>&5
14631 ac_status=$?
14632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14633 (exit $ac_status); }; } &&
14634 { ac_try='test -s conftest.$ac_objext'
14635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14636 (eval $ac_try) 2>&5
14637 ac_status=$?
14638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14639 (exit $ac_status); }; }; then
14640 glibcxx_cv_func__frexpf_use=yes
14641 else
14642 echo "$as_me: failed program was:" >&5
14643 sed 's/^/| /' conftest.$ac_ext >&5
14644
14645 glibcxx_cv_func__frexpf_use=no
14646 fi
14647 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14648 ac_ext=c
14649 ac_cpp='$CPP $CPPFLAGS'
14650 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14651 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14652 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14653
14654
14655 fi
14656
14657 fi
14658 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpf_use" >&5
14659 echo "${ECHO_T}$glibcxx_cv_func__frexpf_use" >&6
14660
14661 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
14662
14663 for ac_func in _frexpf
14664 do
14665 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14666 echo "$as_me:$LINENO: checking for $ac_func" >&5
14667 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14668 if eval "test \"\${$as_ac_var+set}\" = set"; then
14669 echo $ECHO_N "(cached) $ECHO_C" >&6
14670 else
14671 if test x$gcc_no_link = xyes; then
14672 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14673 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14674 { (exit 1); exit 1; }; }
14675 fi
14676 cat >conftest.$ac_ext <<_ACEOF
14677 /* confdefs.h. */
14678 _ACEOF
14679 cat confdefs.h >>conftest.$ac_ext
14680 cat >>conftest.$ac_ext <<_ACEOF
14681 /* end confdefs.h. */
14682 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14683 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14684 #define $ac_func innocuous_$ac_func
14685
14686 /* System header to define __stub macros and hopefully few prototypes,
14687 which can conflict with char $ac_func (); below.
14688 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14689 <limits.h> exists even on freestanding compilers. */
14690
14691 #ifdef __STDC__
14692 # include <limits.h>
14693 #else
14694 # include <assert.h>
14695 #endif
14696
14697 #undef $ac_func
14698
14699 /* Override any gcc2 internal prototype to avoid an error. */
14700 #ifdef __cplusplus
14701 extern "C"
14702 {
14703 #endif
14704 /* We use char because int might match the return type of a gcc2
14705 builtin and then its argument prototype would still apply. */
14706 char $ac_func ();
14707 /* The GNU C library defines this for functions which it implements
14708 to always fail with ENOSYS. Some functions are actually named
14709 something starting with __ and the normal name is an alias. */
14710 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14711 choke me
14712 #else
14713 char (*f) () = $ac_func;
14714 #endif
14715 #ifdef __cplusplus
14716 }
14717 #endif
14718
14719 int
14720 main ()
14721 {
14722 return f != $ac_func;
14723 ;
14724 return 0;
14725 }
14726 _ACEOF
14727 rm -f conftest.$ac_objext conftest$ac_exeext
14728 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14729 (eval $ac_link) 2>conftest.er1
14730 ac_status=$?
14731 grep -v '^ *+' conftest.er1 >conftest.err
14732 rm -f conftest.er1
14733 cat conftest.err >&5
14734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14735 (exit $ac_status); } &&
14736 { ac_try='test -z "$ac_c_werror_flag"
14737 || test ! -s conftest.err'
14738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14739 (eval $ac_try) 2>&5
14740 ac_status=$?
14741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14742 (exit $ac_status); }; } &&
14743 { ac_try='test -s conftest$ac_exeext'
14744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14745 (eval $ac_try) 2>&5
14746 ac_status=$?
14747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14748 (exit $ac_status); }; }; then
14749 eval "$as_ac_var=yes"
14750 else
14751 echo "$as_me: failed program was:" >&5
14752 sed 's/^/| /' conftest.$ac_ext >&5
14753
14754 eval "$as_ac_var=no"
14755 fi
14756 rm -f conftest.err conftest.$ac_objext \
14757 conftest$ac_exeext conftest.$ac_ext
14758 fi
14759 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14760 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14761 if test `eval echo '${'$as_ac_var'}'` = yes; then
14762 cat >>confdefs.h <<_ACEOF
14763 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14764 _ACEOF
14765
14766 fi
14767 done
14768
14769 fi
14770 fi
14771
14772
14773
14774
14775
14776
14777 echo "$as_me:$LINENO: checking for hypotf declaration" >&5
14778 echo $ECHO_N "checking for hypotf declaration... $ECHO_C" >&6
14779 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
14780 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then
14781 echo $ECHO_N "(cached) $ECHO_C" >&6
14782 else
14783
14784
14785
14786 ac_ext=cc
14787 ac_cpp='$CXXCPP $CPPFLAGS'
14788 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14789 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14790 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14791
14792 cat >conftest.$ac_ext <<_ACEOF
14793 /* confdefs.h. */
14794 _ACEOF
14795 cat confdefs.h >>conftest.$ac_ext
14796 cat >>conftest.$ac_ext <<_ACEOF
14797 /* end confdefs.h. */
14798 #include <math.h>
14799 int
14800 main ()
14801 {
14802 hypotf(0, 0);
14803 ;
14804 return 0;
14805 }
14806 _ACEOF
14807 rm -f conftest.$ac_objext
14808 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14809 (eval $ac_compile) 2>conftest.er1
14810 ac_status=$?
14811 grep -v '^ *+' conftest.er1 >conftest.err
14812 rm -f conftest.er1
14813 cat conftest.err >&5
14814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14815 (exit $ac_status); } &&
14816 { ac_try='test -z "$ac_cxx_werror_flag"
14817 || test ! -s conftest.err'
14818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14819 (eval $ac_try) 2>&5
14820 ac_status=$?
14821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14822 (exit $ac_status); }; } &&
14823 { ac_try='test -s conftest.$ac_objext'
14824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14825 (eval $ac_try) 2>&5
14826 ac_status=$?
14827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14828 (exit $ac_status); }; }; then
14829 glibcxx_cv_func_hypotf_use=yes
14830 else
14831 echo "$as_me: failed program was:" >&5
14832 sed 's/^/| /' conftest.$ac_ext >&5
14833
14834 glibcxx_cv_func_hypotf_use=no
14835 fi
14836 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14837 ac_ext=c
14838 ac_cpp='$CPP $CPPFLAGS'
14839 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14840 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14841 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14842
14843
14844 fi
14845
14846 fi
14847 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotf_use" >&5
14848 echo "${ECHO_T}$glibcxx_cv_func_hypotf_use" >&6
14849
14850 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
14851
14852 for ac_func in hypotf
14853 do
14854 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14855 echo "$as_me:$LINENO: checking for $ac_func" >&5
14856 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14857 if eval "test \"\${$as_ac_var+set}\" = set"; then
14858 echo $ECHO_N "(cached) $ECHO_C" >&6
14859 else
14860 if test x$gcc_no_link = xyes; then
14861 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14862 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14863 { (exit 1); exit 1; }; }
14864 fi
14865 cat >conftest.$ac_ext <<_ACEOF
14866 /* confdefs.h. */
14867 _ACEOF
14868 cat confdefs.h >>conftest.$ac_ext
14869 cat >>conftest.$ac_ext <<_ACEOF
14870 /* end confdefs.h. */
14871 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14872 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14873 #define $ac_func innocuous_$ac_func
14874
14875 /* System header to define __stub macros and hopefully few prototypes,
14876 which can conflict with char $ac_func (); below.
14877 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14878 <limits.h> exists even on freestanding compilers. */
14879
14880 #ifdef __STDC__
14881 # include <limits.h>
14882 #else
14883 # include <assert.h>
14884 #endif
14885
14886 #undef $ac_func
14887
14888 /* Override any gcc2 internal prototype to avoid an error. */
14889 #ifdef __cplusplus
14890 extern "C"
14891 {
14892 #endif
14893 /* We use char because int might match the return type of a gcc2
14894 builtin and then its argument prototype would still apply. */
14895 char $ac_func ();
14896 /* The GNU C library defines this for functions which it implements
14897 to always fail with ENOSYS. Some functions are actually named
14898 something starting with __ and the normal name is an alias. */
14899 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14900 choke me
14901 #else
14902 char (*f) () = $ac_func;
14903 #endif
14904 #ifdef __cplusplus
14905 }
14906 #endif
14907
14908 int
14909 main ()
14910 {
14911 return f != $ac_func;
14912 ;
14913 return 0;
14914 }
14915 _ACEOF
14916 rm -f conftest.$ac_objext conftest$ac_exeext
14917 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14918 (eval $ac_link) 2>conftest.er1
14919 ac_status=$?
14920 grep -v '^ *+' conftest.er1 >conftest.err
14921 rm -f conftest.er1
14922 cat conftest.err >&5
14923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14924 (exit $ac_status); } &&
14925 { ac_try='test -z "$ac_c_werror_flag"
14926 || test ! -s conftest.err'
14927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14928 (eval $ac_try) 2>&5
14929 ac_status=$?
14930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14931 (exit $ac_status); }; } &&
14932 { ac_try='test -s conftest$ac_exeext'
14933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14934 (eval $ac_try) 2>&5
14935 ac_status=$?
14936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14937 (exit $ac_status); }; }; then
14938 eval "$as_ac_var=yes"
14939 else
14940 echo "$as_me: failed program was:" >&5
14941 sed 's/^/| /' conftest.$ac_ext >&5
14942
14943 eval "$as_ac_var=no"
14944 fi
14945 rm -f conftest.err conftest.$ac_objext \
14946 conftest$ac_exeext conftest.$ac_ext
14947 fi
14948 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14949 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14950 if test `eval echo '${'$as_ac_var'}'` = yes; then
14951 cat >>confdefs.h <<_ACEOF
14952 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14953 _ACEOF
14954
14955 fi
14956 done
14957
14958 else
14959
14960 echo "$as_me:$LINENO: checking for _hypotf declaration" >&5
14961 echo $ECHO_N "checking for _hypotf declaration... $ECHO_C" >&6
14962 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
14963 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then
14964 echo $ECHO_N "(cached) $ECHO_C" >&6
14965 else
14966
14967
14968
14969 ac_ext=cc
14970 ac_cpp='$CXXCPP $CPPFLAGS'
14971 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14972 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14973 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14974
14975 cat >conftest.$ac_ext <<_ACEOF
14976 /* confdefs.h. */
14977 _ACEOF
14978 cat confdefs.h >>conftest.$ac_ext
14979 cat >>conftest.$ac_ext <<_ACEOF
14980 /* end confdefs.h. */
14981 #include <math.h>
14982 int
14983 main ()
14984 {
14985 _hypotf(0, 0);
14986 ;
14987 return 0;
14988 }
14989 _ACEOF
14990 rm -f conftest.$ac_objext
14991 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14992 (eval $ac_compile) 2>conftest.er1
14993 ac_status=$?
14994 grep -v '^ *+' conftest.er1 >conftest.err
14995 rm -f conftest.er1
14996 cat conftest.err >&5
14997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14998 (exit $ac_status); } &&
14999 { ac_try='test -z "$ac_cxx_werror_flag"
15000 || test ! -s conftest.err'
15001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15002 (eval $ac_try) 2>&5
15003 ac_status=$?
15004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15005 (exit $ac_status); }; } &&
15006 { ac_try='test -s conftest.$ac_objext'
15007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15008 (eval $ac_try) 2>&5
15009 ac_status=$?
15010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15011 (exit $ac_status); }; }; then
15012 glibcxx_cv_func__hypotf_use=yes
15013 else
15014 echo "$as_me: failed program was:" >&5
15015 sed 's/^/| /' conftest.$ac_ext >&5
15016
15017 glibcxx_cv_func__hypotf_use=no
15018 fi
15019 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15020 ac_ext=c
15021 ac_cpp='$CPP $CPPFLAGS'
15022 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15023 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15024 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15025
15026
15027 fi
15028
15029 fi
15030 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotf_use" >&5
15031 echo "${ECHO_T}$glibcxx_cv_func__hypotf_use" >&6
15032
15033 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
15034
15035 for ac_func in _hypotf
15036 do
15037 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15038 echo "$as_me:$LINENO: checking for $ac_func" >&5
15039 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15040 if eval "test \"\${$as_ac_var+set}\" = set"; then
15041 echo $ECHO_N "(cached) $ECHO_C" >&6
15042 else
15043 if test x$gcc_no_link = xyes; then
15044 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15045 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15046 { (exit 1); exit 1; }; }
15047 fi
15048 cat >conftest.$ac_ext <<_ACEOF
15049 /* confdefs.h. */
15050 _ACEOF
15051 cat confdefs.h >>conftest.$ac_ext
15052 cat >>conftest.$ac_ext <<_ACEOF
15053 /* end confdefs.h. */
15054 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15055 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15056 #define $ac_func innocuous_$ac_func
15057
15058 /* System header to define __stub macros and hopefully few prototypes,
15059 which can conflict with char $ac_func (); below.
15060 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15061 <limits.h> exists even on freestanding compilers. */
15062
15063 #ifdef __STDC__
15064 # include <limits.h>
15065 #else
15066 # include <assert.h>
15067 #endif
15068
15069 #undef $ac_func
15070
15071 /* Override any gcc2 internal prototype to avoid an error. */
15072 #ifdef __cplusplus
15073 extern "C"
15074 {
15075 #endif
15076 /* We use char because int might match the return type of a gcc2
15077 builtin and then its argument prototype would still apply. */
15078 char $ac_func ();
15079 /* The GNU C library defines this for functions which it implements
15080 to always fail with ENOSYS. Some functions are actually named
15081 something starting with __ and the normal name is an alias. */
15082 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15083 choke me
15084 #else
15085 char (*f) () = $ac_func;
15086 #endif
15087 #ifdef __cplusplus
15088 }
15089 #endif
15090
15091 int
15092 main ()
15093 {
15094 return f != $ac_func;
15095 ;
15096 return 0;
15097 }
15098 _ACEOF
15099 rm -f conftest.$ac_objext conftest$ac_exeext
15100 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15101 (eval $ac_link) 2>conftest.er1
15102 ac_status=$?
15103 grep -v '^ *+' conftest.er1 >conftest.err
15104 rm -f conftest.er1
15105 cat conftest.err >&5
15106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15107 (exit $ac_status); } &&
15108 { ac_try='test -z "$ac_c_werror_flag"
15109 || test ! -s conftest.err'
15110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15111 (eval $ac_try) 2>&5
15112 ac_status=$?
15113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15114 (exit $ac_status); }; } &&
15115 { ac_try='test -s conftest$ac_exeext'
15116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15117 (eval $ac_try) 2>&5
15118 ac_status=$?
15119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15120 (exit $ac_status); }; }; then
15121 eval "$as_ac_var=yes"
15122 else
15123 echo "$as_me: failed program was:" >&5
15124 sed 's/^/| /' conftest.$ac_ext >&5
15125
15126 eval "$as_ac_var=no"
15127 fi
15128 rm -f conftest.err conftest.$ac_objext \
15129 conftest$ac_exeext conftest.$ac_ext
15130 fi
15131 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15132 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15133 if test `eval echo '${'$as_ac_var'}'` = yes; then
15134 cat >>confdefs.h <<_ACEOF
15135 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15136 _ACEOF
15137
15138 fi
15139 done
15140
15141 fi
15142 fi
15143
15144
15145
15146
15147
15148
15149 echo "$as_me:$LINENO: checking for ldexpf declaration" >&5
15150 echo $ECHO_N "checking for ldexpf declaration... $ECHO_C" >&6
15151 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
15152 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then
15153 echo $ECHO_N "(cached) $ECHO_C" >&6
15154 else
15155
15156
15157
15158 ac_ext=cc
15159 ac_cpp='$CXXCPP $CPPFLAGS'
15160 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15161 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15162 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15163
15164 cat >conftest.$ac_ext <<_ACEOF
15165 /* confdefs.h. */
15166 _ACEOF
15167 cat confdefs.h >>conftest.$ac_ext
15168 cat >>conftest.$ac_ext <<_ACEOF
15169 /* end confdefs.h. */
15170 #include <math.h>
15171 int
15172 main ()
15173 {
15174 ldexpf(0, 0);
15175 ;
15176 return 0;
15177 }
15178 _ACEOF
15179 rm -f conftest.$ac_objext
15180 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15181 (eval $ac_compile) 2>conftest.er1
15182 ac_status=$?
15183 grep -v '^ *+' conftest.er1 >conftest.err
15184 rm -f conftest.er1
15185 cat conftest.err >&5
15186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15187 (exit $ac_status); } &&
15188 { ac_try='test -z "$ac_cxx_werror_flag"
15189 || test ! -s conftest.err'
15190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15191 (eval $ac_try) 2>&5
15192 ac_status=$?
15193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15194 (exit $ac_status); }; } &&
15195 { ac_try='test -s conftest.$ac_objext'
15196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15197 (eval $ac_try) 2>&5
15198 ac_status=$?
15199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15200 (exit $ac_status); }; }; then
15201 glibcxx_cv_func_ldexpf_use=yes
15202 else
15203 echo "$as_me: failed program was:" >&5
15204 sed 's/^/| /' conftest.$ac_ext >&5
15205
15206 glibcxx_cv_func_ldexpf_use=no
15207 fi
15208 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15209 ac_ext=c
15210 ac_cpp='$CPP $CPPFLAGS'
15211 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15212 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15213 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15214
15215
15216 fi
15217
15218 fi
15219 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpf_use" >&5
15220 echo "${ECHO_T}$glibcxx_cv_func_ldexpf_use" >&6
15221
15222 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
15223
15224 for ac_func in ldexpf
15225 do
15226 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15227 echo "$as_me:$LINENO: checking for $ac_func" >&5
15228 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15229 if eval "test \"\${$as_ac_var+set}\" = set"; then
15230 echo $ECHO_N "(cached) $ECHO_C" >&6
15231 else
15232 if test x$gcc_no_link = xyes; then
15233 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15234 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15235 { (exit 1); exit 1; }; }
15236 fi
15237 cat >conftest.$ac_ext <<_ACEOF
15238 /* confdefs.h. */
15239 _ACEOF
15240 cat confdefs.h >>conftest.$ac_ext
15241 cat >>conftest.$ac_ext <<_ACEOF
15242 /* end confdefs.h. */
15243 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15244 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15245 #define $ac_func innocuous_$ac_func
15246
15247 /* System header to define __stub macros and hopefully few prototypes,
15248 which can conflict with char $ac_func (); below.
15249 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15250 <limits.h> exists even on freestanding compilers. */
15251
15252 #ifdef __STDC__
15253 # include <limits.h>
15254 #else
15255 # include <assert.h>
15256 #endif
15257
15258 #undef $ac_func
15259
15260 /* Override any gcc2 internal prototype to avoid an error. */
15261 #ifdef __cplusplus
15262 extern "C"
15263 {
15264 #endif
15265 /* We use char because int might match the return type of a gcc2
15266 builtin and then its argument prototype would still apply. */
15267 char $ac_func ();
15268 /* The GNU C library defines this for functions which it implements
15269 to always fail with ENOSYS. Some functions are actually named
15270 something starting with __ and the normal name is an alias. */
15271 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15272 choke me
15273 #else
15274 char (*f) () = $ac_func;
15275 #endif
15276 #ifdef __cplusplus
15277 }
15278 #endif
15279
15280 int
15281 main ()
15282 {
15283 return f != $ac_func;
15284 ;
15285 return 0;
15286 }
15287 _ACEOF
15288 rm -f conftest.$ac_objext conftest$ac_exeext
15289 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15290 (eval $ac_link) 2>conftest.er1
15291 ac_status=$?
15292 grep -v '^ *+' conftest.er1 >conftest.err
15293 rm -f conftest.er1
15294 cat conftest.err >&5
15295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15296 (exit $ac_status); } &&
15297 { ac_try='test -z "$ac_c_werror_flag"
15298 || test ! -s conftest.err'
15299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15300 (eval $ac_try) 2>&5
15301 ac_status=$?
15302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15303 (exit $ac_status); }; } &&
15304 { ac_try='test -s conftest$ac_exeext'
15305 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15306 (eval $ac_try) 2>&5
15307 ac_status=$?
15308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15309 (exit $ac_status); }; }; then
15310 eval "$as_ac_var=yes"
15311 else
15312 echo "$as_me: failed program was:" >&5
15313 sed 's/^/| /' conftest.$ac_ext >&5
15314
15315 eval "$as_ac_var=no"
15316 fi
15317 rm -f conftest.err conftest.$ac_objext \
15318 conftest$ac_exeext conftest.$ac_ext
15319 fi
15320 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15321 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15322 if test `eval echo '${'$as_ac_var'}'` = yes; then
15323 cat >>confdefs.h <<_ACEOF
15324 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15325 _ACEOF
15326
15327 fi
15328 done
15329
15330 else
15331
15332 echo "$as_me:$LINENO: checking for _ldexpf declaration" >&5
15333 echo $ECHO_N "checking for _ldexpf declaration... $ECHO_C" >&6
15334 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
15335 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then
15336 echo $ECHO_N "(cached) $ECHO_C" >&6
15337 else
15338
15339
15340
15341 ac_ext=cc
15342 ac_cpp='$CXXCPP $CPPFLAGS'
15343 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15344 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15345 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15346
15347 cat >conftest.$ac_ext <<_ACEOF
15348 /* confdefs.h. */
15349 _ACEOF
15350 cat confdefs.h >>conftest.$ac_ext
15351 cat >>conftest.$ac_ext <<_ACEOF
15352 /* end confdefs.h. */
15353 #include <math.h>
15354 int
15355 main ()
15356 {
15357 _ldexpf(0, 0);
15358 ;
15359 return 0;
15360 }
15361 _ACEOF
15362 rm -f conftest.$ac_objext
15363 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15364 (eval $ac_compile) 2>conftest.er1
15365 ac_status=$?
15366 grep -v '^ *+' conftest.er1 >conftest.err
15367 rm -f conftest.er1
15368 cat conftest.err >&5
15369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15370 (exit $ac_status); } &&
15371 { ac_try='test -z "$ac_cxx_werror_flag"
15372 || test ! -s conftest.err'
15373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15374 (eval $ac_try) 2>&5
15375 ac_status=$?
15376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15377 (exit $ac_status); }; } &&
15378 { ac_try='test -s conftest.$ac_objext'
15379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15380 (eval $ac_try) 2>&5
15381 ac_status=$?
15382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15383 (exit $ac_status); }; }; then
15384 glibcxx_cv_func__ldexpf_use=yes
15385 else
15386 echo "$as_me: failed program was:" >&5
15387 sed 's/^/| /' conftest.$ac_ext >&5
15388
15389 glibcxx_cv_func__ldexpf_use=no
15390 fi
15391 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15392 ac_ext=c
15393 ac_cpp='$CPP $CPPFLAGS'
15394 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15395 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15396 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15397
15398
15399 fi
15400
15401 fi
15402 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpf_use" >&5
15403 echo "${ECHO_T}$glibcxx_cv_func__ldexpf_use" >&6
15404
15405 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
15406
15407 for ac_func in _ldexpf
15408 do
15409 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15410 echo "$as_me:$LINENO: checking for $ac_func" >&5
15411 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15412 if eval "test \"\${$as_ac_var+set}\" = set"; then
15413 echo $ECHO_N "(cached) $ECHO_C" >&6
15414 else
15415 if test x$gcc_no_link = xyes; then
15416 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15417 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15418 { (exit 1); exit 1; }; }
15419 fi
15420 cat >conftest.$ac_ext <<_ACEOF
15421 /* confdefs.h. */
15422 _ACEOF
15423 cat confdefs.h >>conftest.$ac_ext
15424 cat >>conftest.$ac_ext <<_ACEOF
15425 /* end confdefs.h. */
15426 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15427 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15428 #define $ac_func innocuous_$ac_func
15429
15430 /* System header to define __stub macros and hopefully few prototypes,
15431 which can conflict with char $ac_func (); below.
15432 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15433 <limits.h> exists even on freestanding compilers. */
15434
15435 #ifdef __STDC__
15436 # include <limits.h>
15437 #else
15438 # include <assert.h>
15439 #endif
15440
15441 #undef $ac_func
15442
15443 /* Override any gcc2 internal prototype to avoid an error. */
15444 #ifdef __cplusplus
15445 extern "C"
15446 {
15447 #endif
15448 /* We use char because int might match the return type of a gcc2
15449 builtin and then its argument prototype would still apply. */
15450 char $ac_func ();
15451 /* The GNU C library defines this for functions which it implements
15452 to always fail with ENOSYS. Some functions are actually named
15453 something starting with __ and the normal name is an alias. */
15454 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15455 choke me
15456 #else
15457 char (*f) () = $ac_func;
15458 #endif
15459 #ifdef __cplusplus
15460 }
15461 #endif
15462
15463 int
15464 main ()
15465 {
15466 return f != $ac_func;
15467 ;
15468 return 0;
15469 }
15470 _ACEOF
15471 rm -f conftest.$ac_objext conftest$ac_exeext
15472 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15473 (eval $ac_link) 2>conftest.er1
15474 ac_status=$?
15475 grep -v '^ *+' conftest.er1 >conftest.err
15476 rm -f conftest.er1
15477 cat conftest.err >&5
15478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15479 (exit $ac_status); } &&
15480 { ac_try='test -z "$ac_c_werror_flag"
15481 || test ! -s conftest.err'
15482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15483 (eval $ac_try) 2>&5
15484 ac_status=$?
15485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15486 (exit $ac_status); }; } &&
15487 { ac_try='test -s conftest$ac_exeext'
15488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15489 (eval $ac_try) 2>&5
15490 ac_status=$?
15491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15492 (exit $ac_status); }; }; then
15493 eval "$as_ac_var=yes"
15494 else
15495 echo "$as_me: failed program was:" >&5
15496 sed 's/^/| /' conftest.$ac_ext >&5
15497
15498 eval "$as_ac_var=no"
15499 fi
15500 rm -f conftest.err conftest.$ac_objext \
15501 conftest$ac_exeext conftest.$ac_ext
15502 fi
15503 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15504 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15505 if test `eval echo '${'$as_ac_var'}'` = yes; then
15506 cat >>confdefs.h <<_ACEOF
15507 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15508 _ACEOF
15509
15510 fi
15511 done
15512
15513 fi
15514 fi
15515
15516
15517
15518
15519
15520
15521 echo "$as_me:$LINENO: checking for logf declaration" >&5
15522 echo $ECHO_N "checking for logf declaration... $ECHO_C" >&6
15523 if test x${glibcxx_cv_func_logf_use+set} != xset; then
15524 if test "${glibcxx_cv_func_logf_use+set}" = set; then
15525 echo $ECHO_N "(cached) $ECHO_C" >&6
15526 else
15527
15528
15529
15530 ac_ext=cc
15531 ac_cpp='$CXXCPP $CPPFLAGS'
15532 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15533 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15534 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15535
15536 cat >conftest.$ac_ext <<_ACEOF
15537 /* confdefs.h. */
15538 _ACEOF
15539 cat confdefs.h >>conftest.$ac_ext
15540 cat >>conftest.$ac_ext <<_ACEOF
15541 /* end confdefs.h. */
15542 #include <math.h>
15543 #ifdef HAVE_IEEEFP_H
15544 #include <ieeefp.h>
15545 #endif
15546
15547 int
15548 main ()
15549 {
15550 logf(0);
15551 ;
15552 return 0;
15553 }
15554 _ACEOF
15555 rm -f conftest.$ac_objext
15556 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15557 (eval $ac_compile) 2>conftest.er1
15558 ac_status=$?
15559 grep -v '^ *+' conftest.er1 >conftest.err
15560 rm -f conftest.er1
15561 cat conftest.err >&5
15562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15563 (exit $ac_status); } &&
15564 { ac_try='test -z "$ac_cxx_werror_flag"
15565 || test ! -s conftest.err'
15566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15567 (eval $ac_try) 2>&5
15568 ac_status=$?
15569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15570 (exit $ac_status); }; } &&
15571 { ac_try='test -s conftest.$ac_objext'
15572 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15573 (eval $ac_try) 2>&5
15574 ac_status=$?
15575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15576 (exit $ac_status); }; }; then
15577 glibcxx_cv_func_logf_use=yes
15578 else
15579 echo "$as_me: failed program was:" >&5
15580 sed 's/^/| /' conftest.$ac_ext >&5
15581
15582 glibcxx_cv_func_logf_use=no
15583 fi
15584 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15585 ac_ext=c
15586 ac_cpp='$CPP $CPPFLAGS'
15587 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15588 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15589 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15590
15591
15592 fi
15593
15594 fi
15595 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logf_use" >&5
15596 echo "${ECHO_T}$glibcxx_cv_func_logf_use" >&6
15597
15598 if test x$glibcxx_cv_func_logf_use = x"yes"; then
15599
15600 for ac_func in logf
15601 do
15602 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15603 echo "$as_me:$LINENO: checking for $ac_func" >&5
15604 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15605 if eval "test \"\${$as_ac_var+set}\" = set"; then
15606 echo $ECHO_N "(cached) $ECHO_C" >&6
15607 else
15608 if test x$gcc_no_link = xyes; then
15609 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15610 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15611 { (exit 1); exit 1; }; }
15612 fi
15613 cat >conftest.$ac_ext <<_ACEOF
15614 /* confdefs.h. */
15615 _ACEOF
15616 cat confdefs.h >>conftest.$ac_ext
15617 cat >>conftest.$ac_ext <<_ACEOF
15618 /* end confdefs.h. */
15619 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15620 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15621 #define $ac_func innocuous_$ac_func
15622
15623 /* System header to define __stub macros and hopefully few prototypes,
15624 which can conflict with char $ac_func (); below.
15625 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15626 <limits.h> exists even on freestanding compilers. */
15627
15628 #ifdef __STDC__
15629 # include <limits.h>
15630 #else
15631 # include <assert.h>
15632 #endif
15633
15634 #undef $ac_func
15635
15636 /* Override any gcc2 internal prototype to avoid an error. */
15637 #ifdef __cplusplus
15638 extern "C"
15639 {
15640 #endif
15641 /* We use char because int might match the return type of a gcc2
15642 builtin and then its argument prototype would still apply. */
15643 char $ac_func ();
15644 /* The GNU C library defines this for functions which it implements
15645 to always fail with ENOSYS. Some functions are actually named
15646 something starting with __ and the normal name is an alias. */
15647 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15648 choke me
15649 #else
15650 char (*f) () = $ac_func;
15651 #endif
15652 #ifdef __cplusplus
15653 }
15654 #endif
15655
15656 int
15657 main ()
15658 {
15659 return f != $ac_func;
15660 ;
15661 return 0;
15662 }
15663 _ACEOF
15664 rm -f conftest.$ac_objext conftest$ac_exeext
15665 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15666 (eval $ac_link) 2>conftest.er1
15667 ac_status=$?
15668 grep -v '^ *+' conftest.er1 >conftest.err
15669 rm -f conftest.er1
15670 cat conftest.err >&5
15671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15672 (exit $ac_status); } &&
15673 { ac_try='test -z "$ac_c_werror_flag"
15674 || test ! -s conftest.err'
15675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15676 (eval $ac_try) 2>&5
15677 ac_status=$?
15678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15679 (exit $ac_status); }; } &&
15680 { ac_try='test -s conftest$ac_exeext'
15681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15682 (eval $ac_try) 2>&5
15683 ac_status=$?
15684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15685 (exit $ac_status); }; }; then
15686 eval "$as_ac_var=yes"
15687 else
15688 echo "$as_me: failed program was:" >&5
15689 sed 's/^/| /' conftest.$ac_ext >&5
15690
15691 eval "$as_ac_var=no"
15692 fi
15693 rm -f conftest.err conftest.$ac_objext \
15694 conftest$ac_exeext conftest.$ac_ext
15695 fi
15696 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15697 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15698 if test `eval echo '${'$as_ac_var'}'` = yes; then
15699 cat >>confdefs.h <<_ACEOF
15700 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15701 _ACEOF
15702
15703 fi
15704 done
15705
15706 else
15707
15708 echo "$as_me:$LINENO: checking for _logf declaration" >&5
15709 echo $ECHO_N "checking for _logf declaration... $ECHO_C" >&6
15710 if test x${glibcxx_cv_func__logf_use+set} != xset; then
15711 if test "${glibcxx_cv_func__logf_use+set}" = set; then
15712 echo $ECHO_N "(cached) $ECHO_C" >&6
15713 else
15714
15715
15716
15717 ac_ext=cc
15718 ac_cpp='$CXXCPP $CPPFLAGS'
15719 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15720 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15721 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15722
15723 cat >conftest.$ac_ext <<_ACEOF
15724 /* confdefs.h. */
15725 _ACEOF
15726 cat confdefs.h >>conftest.$ac_ext
15727 cat >>conftest.$ac_ext <<_ACEOF
15728 /* end confdefs.h. */
15729 #include <math.h>
15730 #ifdef HAVE_IEEEFP_H
15731 #include <ieeefp.h>
15732 #endif
15733
15734 int
15735 main ()
15736 {
15737 _logf(0);
15738 ;
15739 return 0;
15740 }
15741 _ACEOF
15742 rm -f conftest.$ac_objext
15743 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15744 (eval $ac_compile) 2>conftest.er1
15745 ac_status=$?
15746 grep -v '^ *+' conftest.er1 >conftest.err
15747 rm -f conftest.er1
15748 cat conftest.err >&5
15749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15750 (exit $ac_status); } &&
15751 { ac_try='test -z "$ac_cxx_werror_flag"
15752 || test ! -s conftest.err'
15753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15754 (eval $ac_try) 2>&5
15755 ac_status=$?
15756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15757 (exit $ac_status); }; } &&
15758 { ac_try='test -s conftest.$ac_objext'
15759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15760 (eval $ac_try) 2>&5
15761 ac_status=$?
15762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15763 (exit $ac_status); }; }; then
15764 glibcxx_cv_func__logf_use=yes
15765 else
15766 echo "$as_me: failed program was:" >&5
15767 sed 's/^/| /' conftest.$ac_ext >&5
15768
15769 glibcxx_cv_func__logf_use=no
15770 fi
15771 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15772 ac_ext=c
15773 ac_cpp='$CPP $CPPFLAGS'
15774 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15775 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15776 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15777
15778
15779 fi
15780
15781 fi
15782 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logf_use" >&5
15783 echo "${ECHO_T}$glibcxx_cv_func__logf_use" >&6
15784
15785 if test x$glibcxx_cv_func__logf_use = x"yes"; then
15786
15787 for ac_func in _logf
15788 do
15789 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15790 echo "$as_me:$LINENO: checking for $ac_func" >&5
15791 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15792 if eval "test \"\${$as_ac_var+set}\" = set"; then
15793 echo $ECHO_N "(cached) $ECHO_C" >&6
15794 else
15795 if test x$gcc_no_link = xyes; then
15796 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15797 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15798 { (exit 1); exit 1; }; }
15799 fi
15800 cat >conftest.$ac_ext <<_ACEOF
15801 /* confdefs.h. */
15802 _ACEOF
15803 cat confdefs.h >>conftest.$ac_ext
15804 cat >>conftest.$ac_ext <<_ACEOF
15805 /* end confdefs.h. */
15806 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15807 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15808 #define $ac_func innocuous_$ac_func
15809
15810 /* System header to define __stub macros and hopefully few prototypes,
15811 which can conflict with char $ac_func (); below.
15812 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15813 <limits.h> exists even on freestanding compilers. */
15814
15815 #ifdef __STDC__
15816 # include <limits.h>
15817 #else
15818 # include <assert.h>
15819 #endif
15820
15821 #undef $ac_func
15822
15823 /* Override any gcc2 internal prototype to avoid an error. */
15824 #ifdef __cplusplus
15825 extern "C"
15826 {
15827 #endif
15828 /* We use char because int might match the return type of a gcc2
15829 builtin and then its argument prototype would still apply. */
15830 char $ac_func ();
15831 /* The GNU C library defines this for functions which it implements
15832 to always fail with ENOSYS. Some functions are actually named
15833 something starting with __ and the normal name is an alias. */
15834 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15835 choke me
15836 #else
15837 char (*f) () = $ac_func;
15838 #endif
15839 #ifdef __cplusplus
15840 }
15841 #endif
15842
15843 int
15844 main ()
15845 {
15846 return f != $ac_func;
15847 ;
15848 return 0;
15849 }
15850 _ACEOF
15851 rm -f conftest.$ac_objext conftest$ac_exeext
15852 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15853 (eval $ac_link) 2>conftest.er1
15854 ac_status=$?
15855 grep -v '^ *+' conftest.er1 >conftest.err
15856 rm -f conftest.er1
15857 cat conftest.err >&5
15858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15859 (exit $ac_status); } &&
15860 { ac_try='test -z "$ac_c_werror_flag"
15861 || test ! -s conftest.err'
15862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15863 (eval $ac_try) 2>&5
15864 ac_status=$?
15865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15866 (exit $ac_status); }; } &&
15867 { ac_try='test -s conftest$ac_exeext'
15868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15869 (eval $ac_try) 2>&5
15870 ac_status=$?
15871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15872 (exit $ac_status); }; }; then
15873 eval "$as_ac_var=yes"
15874 else
15875 echo "$as_me: failed program was:" >&5
15876 sed 's/^/| /' conftest.$ac_ext >&5
15877
15878 eval "$as_ac_var=no"
15879 fi
15880 rm -f conftest.err conftest.$ac_objext \
15881 conftest$ac_exeext conftest.$ac_ext
15882 fi
15883 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15884 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15885 if test `eval echo '${'$as_ac_var'}'` = yes; then
15886 cat >>confdefs.h <<_ACEOF
15887 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15888 _ACEOF
15889
15890 fi
15891 done
15892
15893 fi
15894 fi
15895
15896
15897
15898
15899
15900
15901 echo "$as_me:$LINENO: checking for log10f declaration" >&5
15902 echo $ECHO_N "checking for log10f declaration... $ECHO_C" >&6
15903 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
15904 if test "${glibcxx_cv_func_log10f_use+set}" = set; then
15905 echo $ECHO_N "(cached) $ECHO_C" >&6
15906 else
15907
15908
15909
15910 ac_ext=cc
15911 ac_cpp='$CXXCPP $CPPFLAGS'
15912 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15913 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15914 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15915
15916 cat >conftest.$ac_ext <<_ACEOF
15917 /* confdefs.h. */
15918 _ACEOF
15919 cat confdefs.h >>conftest.$ac_ext
15920 cat >>conftest.$ac_ext <<_ACEOF
15921 /* end confdefs.h. */
15922 #include <math.h>
15923 #ifdef HAVE_IEEEFP_H
15924 #include <ieeefp.h>
15925 #endif
15926
15927 int
15928 main ()
15929 {
15930 log10f(0);
15931 ;
15932 return 0;
15933 }
15934 _ACEOF
15935 rm -f conftest.$ac_objext
15936 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15937 (eval $ac_compile) 2>conftest.er1
15938 ac_status=$?
15939 grep -v '^ *+' conftest.er1 >conftest.err
15940 rm -f conftest.er1
15941 cat conftest.err >&5
15942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15943 (exit $ac_status); } &&
15944 { ac_try='test -z "$ac_cxx_werror_flag"
15945 || test ! -s conftest.err'
15946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15947 (eval $ac_try) 2>&5
15948 ac_status=$?
15949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15950 (exit $ac_status); }; } &&
15951 { ac_try='test -s conftest.$ac_objext'
15952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15953 (eval $ac_try) 2>&5
15954 ac_status=$?
15955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15956 (exit $ac_status); }; }; then
15957 glibcxx_cv_func_log10f_use=yes
15958 else
15959 echo "$as_me: failed program was:" >&5
15960 sed 's/^/| /' conftest.$ac_ext >&5
15961
15962 glibcxx_cv_func_log10f_use=no
15963 fi
15964 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15965 ac_ext=c
15966 ac_cpp='$CPP $CPPFLAGS'
15967 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15968 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15969 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15970
15971
15972 fi
15973
15974 fi
15975 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10f_use" >&5
15976 echo "${ECHO_T}$glibcxx_cv_func_log10f_use" >&6
15977
15978 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
15979
15980 for ac_func in log10f
15981 do
15982 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15983 echo "$as_me:$LINENO: checking for $ac_func" >&5
15984 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15985 if eval "test \"\${$as_ac_var+set}\" = set"; then
15986 echo $ECHO_N "(cached) $ECHO_C" >&6
15987 else
15988 if test x$gcc_no_link = xyes; then
15989 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15990 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15991 { (exit 1); exit 1; }; }
15992 fi
15993 cat >conftest.$ac_ext <<_ACEOF
15994 /* confdefs.h. */
15995 _ACEOF
15996 cat confdefs.h >>conftest.$ac_ext
15997 cat >>conftest.$ac_ext <<_ACEOF
15998 /* end confdefs.h. */
15999 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16000 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16001 #define $ac_func innocuous_$ac_func
16002
16003 /* System header to define __stub macros and hopefully few prototypes,
16004 which can conflict with char $ac_func (); below.
16005 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16006 <limits.h> exists even on freestanding compilers. */
16007
16008 #ifdef __STDC__
16009 # include <limits.h>
16010 #else
16011 # include <assert.h>
16012 #endif
16013
16014 #undef $ac_func
16015
16016 /* Override any gcc2 internal prototype to avoid an error. */
16017 #ifdef __cplusplus
16018 extern "C"
16019 {
16020 #endif
16021 /* We use char because int might match the return type of a gcc2
16022 builtin and then its argument prototype would still apply. */
16023 char $ac_func ();
16024 /* The GNU C library defines this for functions which it implements
16025 to always fail with ENOSYS. Some functions are actually named
16026 something starting with __ and the normal name is an alias. */
16027 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16028 choke me
16029 #else
16030 char (*f) () = $ac_func;
16031 #endif
16032 #ifdef __cplusplus
16033 }
16034 #endif
16035
16036 int
16037 main ()
16038 {
16039 return f != $ac_func;
16040 ;
16041 return 0;
16042 }
16043 _ACEOF
16044 rm -f conftest.$ac_objext conftest$ac_exeext
16045 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16046 (eval $ac_link) 2>conftest.er1
16047 ac_status=$?
16048 grep -v '^ *+' conftest.er1 >conftest.err
16049 rm -f conftest.er1
16050 cat conftest.err >&5
16051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16052 (exit $ac_status); } &&
16053 { ac_try='test -z "$ac_c_werror_flag"
16054 || test ! -s conftest.err'
16055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16056 (eval $ac_try) 2>&5
16057 ac_status=$?
16058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16059 (exit $ac_status); }; } &&
16060 { ac_try='test -s conftest$ac_exeext'
16061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16062 (eval $ac_try) 2>&5
16063 ac_status=$?
16064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16065 (exit $ac_status); }; }; then
16066 eval "$as_ac_var=yes"
16067 else
16068 echo "$as_me: failed program was:" >&5
16069 sed 's/^/| /' conftest.$ac_ext >&5
16070
16071 eval "$as_ac_var=no"
16072 fi
16073 rm -f conftest.err conftest.$ac_objext \
16074 conftest$ac_exeext conftest.$ac_ext
16075 fi
16076 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16077 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16078 if test `eval echo '${'$as_ac_var'}'` = yes; then
16079 cat >>confdefs.h <<_ACEOF
16080 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16081 _ACEOF
16082
16083 fi
16084 done
16085
16086 else
16087
16088 echo "$as_me:$LINENO: checking for _log10f declaration" >&5
16089 echo $ECHO_N "checking for _log10f declaration... $ECHO_C" >&6
16090 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
16091 if test "${glibcxx_cv_func__log10f_use+set}" = set; then
16092 echo $ECHO_N "(cached) $ECHO_C" >&6
16093 else
16094
16095
16096
16097 ac_ext=cc
16098 ac_cpp='$CXXCPP $CPPFLAGS'
16099 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16100 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16101 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16102
16103 cat >conftest.$ac_ext <<_ACEOF
16104 /* confdefs.h. */
16105 _ACEOF
16106 cat confdefs.h >>conftest.$ac_ext
16107 cat >>conftest.$ac_ext <<_ACEOF
16108 /* end confdefs.h. */
16109 #include <math.h>
16110 #ifdef HAVE_IEEEFP_H
16111 #include <ieeefp.h>
16112 #endif
16113
16114 int
16115 main ()
16116 {
16117 _log10f(0);
16118 ;
16119 return 0;
16120 }
16121 _ACEOF
16122 rm -f conftest.$ac_objext
16123 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16124 (eval $ac_compile) 2>conftest.er1
16125 ac_status=$?
16126 grep -v '^ *+' conftest.er1 >conftest.err
16127 rm -f conftest.er1
16128 cat conftest.err >&5
16129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16130 (exit $ac_status); } &&
16131 { ac_try='test -z "$ac_cxx_werror_flag"
16132 || test ! -s conftest.err'
16133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16134 (eval $ac_try) 2>&5
16135 ac_status=$?
16136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16137 (exit $ac_status); }; } &&
16138 { ac_try='test -s conftest.$ac_objext'
16139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16140 (eval $ac_try) 2>&5
16141 ac_status=$?
16142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16143 (exit $ac_status); }; }; then
16144 glibcxx_cv_func__log10f_use=yes
16145 else
16146 echo "$as_me: failed program was:" >&5
16147 sed 's/^/| /' conftest.$ac_ext >&5
16148
16149 glibcxx_cv_func__log10f_use=no
16150 fi
16151 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16152 ac_ext=c
16153 ac_cpp='$CPP $CPPFLAGS'
16154 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16155 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16156 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16157
16158
16159 fi
16160
16161 fi
16162 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10f_use" >&5
16163 echo "${ECHO_T}$glibcxx_cv_func__log10f_use" >&6
16164
16165 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
16166
16167 for ac_func in _log10f
16168 do
16169 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16170 echo "$as_me:$LINENO: checking for $ac_func" >&5
16171 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16172 if eval "test \"\${$as_ac_var+set}\" = set"; then
16173 echo $ECHO_N "(cached) $ECHO_C" >&6
16174 else
16175 if test x$gcc_no_link = xyes; then
16176 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16177 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16178 { (exit 1); exit 1; }; }
16179 fi
16180 cat >conftest.$ac_ext <<_ACEOF
16181 /* confdefs.h. */
16182 _ACEOF
16183 cat confdefs.h >>conftest.$ac_ext
16184 cat >>conftest.$ac_ext <<_ACEOF
16185 /* end confdefs.h. */
16186 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16187 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16188 #define $ac_func innocuous_$ac_func
16189
16190 /* System header to define __stub macros and hopefully few prototypes,
16191 which can conflict with char $ac_func (); below.
16192 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16193 <limits.h> exists even on freestanding compilers. */
16194
16195 #ifdef __STDC__
16196 # include <limits.h>
16197 #else
16198 # include <assert.h>
16199 #endif
16200
16201 #undef $ac_func
16202
16203 /* Override any gcc2 internal prototype to avoid an error. */
16204 #ifdef __cplusplus
16205 extern "C"
16206 {
16207 #endif
16208 /* We use char because int might match the return type of a gcc2
16209 builtin and then its argument prototype would still apply. */
16210 char $ac_func ();
16211 /* The GNU C library defines this for functions which it implements
16212 to always fail with ENOSYS. Some functions are actually named
16213 something starting with __ and the normal name is an alias. */
16214 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16215 choke me
16216 #else
16217 char (*f) () = $ac_func;
16218 #endif
16219 #ifdef __cplusplus
16220 }
16221 #endif
16222
16223 int
16224 main ()
16225 {
16226 return f != $ac_func;
16227 ;
16228 return 0;
16229 }
16230 _ACEOF
16231 rm -f conftest.$ac_objext conftest$ac_exeext
16232 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16233 (eval $ac_link) 2>conftest.er1
16234 ac_status=$?
16235 grep -v '^ *+' conftest.er1 >conftest.err
16236 rm -f conftest.er1
16237 cat conftest.err >&5
16238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16239 (exit $ac_status); } &&
16240 { ac_try='test -z "$ac_c_werror_flag"
16241 || test ! -s conftest.err'
16242 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16243 (eval $ac_try) 2>&5
16244 ac_status=$?
16245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16246 (exit $ac_status); }; } &&
16247 { ac_try='test -s conftest$ac_exeext'
16248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16249 (eval $ac_try) 2>&5
16250 ac_status=$?
16251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16252 (exit $ac_status); }; }; then
16253 eval "$as_ac_var=yes"
16254 else
16255 echo "$as_me: failed program was:" >&5
16256 sed 's/^/| /' conftest.$ac_ext >&5
16257
16258 eval "$as_ac_var=no"
16259 fi
16260 rm -f conftest.err conftest.$ac_objext \
16261 conftest$ac_exeext conftest.$ac_ext
16262 fi
16263 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16264 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16265 if test `eval echo '${'$as_ac_var'}'` = yes; then
16266 cat >>confdefs.h <<_ACEOF
16267 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16268 _ACEOF
16269
16270 fi
16271 done
16272
16273 fi
16274 fi
16275
16276
16277
16278
16279
16280
16281 echo "$as_me:$LINENO: checking for modff declaration" >&5
16282 echo $ECHO_N "checking for modff declaration... $ECHO_C" >&6
16283 if test x${glibcxx_cv_func_modff_use+set} != xset; then
16284 if test "${glibcxx_cv_func_modff_use+set}" = set; then
16285 echo $ECHO_N "(cached) $ECHO_C" >&6
16286 else
16287
16288
16289
16290 ac_ext=cc
16291 ac_cpp='$CXXCPP $CPPFLAGS'
16292 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16293 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16294 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16295
16296 cat >conftest.$ac_ext <<_ACEOF
16297 /* confdefs.h. */
16298 _ACEOF
16299 cat confdefs.h >>conftest.$ac_ext
16300 cat >>conftest.$ac_ext <<_ACEOF
16301 /* end confdefs.h. */
16302 #include <math.h>
16303 int
16304 main ()
16305 {
16306 modff(0, 0);
16307 ;
16308 return 0;
16309 }
16310 _ACEOF
16311 rm -f conftest.$ac_objext
16312 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16313 (eval $ac_compile) 2>conftest.er1
16314 ac_status=$?
16315 grep -v '^ *+' conftest.er1 >conftest.err
16316 rm -f conftest.er1
16317 cat conftest.err >&5
16318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16319 (exit $ac_status); } &&
16320 { ac_try='test -z "$ac_cxx_werror_flag"
16321 || test ! -s conftest.err'
16322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16323 (eval $ac_try) 2>&5
16324 ac_status=$?
16325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16326 (exit $ac_status); }; } &&
16327 { ac_try='test -s conftest.$ac_objext'
16328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16329 (eval $ac_try) 2>&5
16330 ac_status=$?
16331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16332 (exit $ac_status); }; }; then
16333 glibcxx_cv_func_modff_use=yes
16334 else
16335 echo "$as_me: failed program was:" >&5
16336 sed 's/^/| /' conftest.$ac_ext >&5
16337
16338 glibcxx_cv_func_modff_use=no
16339 fi
16340 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16341 ac_ext=c
16342 ac_cpp='$CPP $CPPFLAGS'
16343 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16344 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16345 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16346
16347
16348 fi
16349
16350 fi
16351 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modff_use" >&5
16352 echo "${ECHO_T}$glibcxx_cv_func_modff_use" >&6
16353
16354 if test x$glibcxx_cv_func_modff_use = x"yes"; then
16355
16356 for ac_func in modff
16357 do
16358 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16359 echo "$as_me:$LINENO: checking for $ac_func" >&5
16360 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16361 if eval "test \"\${$as_ac_var+set}\" = set"; then
16362 echo $ECHO_N "(cached) $ECHO_C" >&6
16363 else
16364 if test x$gcc_no_link = xyes; then
16365 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16366 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16367 { (exit 1); exit 1; }; }
16368 fi
16369 cat >conftest.$ac_ext <<_ACEOF
16370 /* confdefs.h. */
16371 _ACEOF
16372 cat confdefs.h >>conftest.$ac_ext
16373 cat >>conftest.$ac_ext <<_ACEOF
16374 /* end confdefs.h. */
16375 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16376 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16377 #define $ac_func innocuous_$ac_func
16378
16379 /* System header to define __stub macros and hopefully few prototypes,
16380 which can conflict with char $ac_func (); below.
16381 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16382 <limits.h> exists even on freestanding compilers. */
16383
16384 #ifdef __STDC__
16385 # include <limits.h>
16386 #else
16387 # include <assert.h>
16388 #endif
16389
16390 #undef $ac_func
16391
16392 /* Override any gcc2 internal prototype to avoid an error. */
16393 #ifdef __cplusplus
16394 extern "C"
16395 {
16396 #endif
16397 /* We use char because int might match the return type of a gcc2
16398 builtin and then its argument prototype would still apply. */
16399 char $ac_func ();
16400 /* The GNU C library defines this for functions which it implements
16401 to always fail with ENOSYS. Some functions are actually named
16402 something starting with __ and the normal name is an alias. */
16403 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16404 choke me
16405 #else
16406 char (*f) () = $ac_func;
16407 #endif
16408 #ifdef __cplusplus
16409 }
16410 #endif
16411
16412 int
16413 main ()
16414 {
16415 return f != $ac_func;
16416 ;
16417 return 0;
16418 }
16419 _ACEOF
16420 rm -f conftest.$ac_objext conftest$ac_exeext
16421 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16422 (eval $ac_link) 2>conftest.er1
16423 ac_status=$?
16424 grep -v '^ *+' conftest.er1 >conftest.err
16425 rm -f conftest.er1
16426 cat conftest.err >&5
16427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16428 (exit $ac_status); } &&
16429 { ac_try='test -z "$ac_c_werror_flag"
16430 || test ! -s conftest.err'
16431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16432 (eval $ac_try) 2>&5
16433 ac_status=$?
16434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16435 (exit $ac_status); }; } &&
16436 { ac_try='test -s conftest$ac_exeext'
16437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16438 (eval $ac_try) 2>&5
16439 ac_status=$?
16440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16441 (exit $ac_status); }; }; then
16442 eval "$as_ac_var=yes"
16443 else
16444 echo "$as_me: failed program was:" >&5
16445 sed 's/^/| /' conftest.$ac_ext >&5
16446
16447 eval "$as_ac_var=no"
16448 fi
16449 rm -f conftest.err conftest.$ac_objext \
16450 conftest$ac_exeext conftest.$ac_ext
16451 fi
16452 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16453 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16454 if test `eval echo '${'$as_ac_var'}'` = yes; then
16455 cat >>confdefs.h <<_ACEOF
16456 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16457 _ACEOF
16458
16459 fi
16460 done
16461
16462 else
16463
16464 echo "$as_me:$LINENO: checking for _modff declaration" >&5
16465 echo $ECHO_N "checking for _modff declaration... $ECHO_C" >&6
16466 if test x${glibcxx_cv_func__modff_use+set} != xset; then
16467 if test "${glibcxx_cv_func__modff_use+set}" = set; then
16468 echo $ECHO_N "(cached) $ECHO_C" >&6
16469 else
16470
16471
16472
16473 ac_ext=cc
16474 ac_cpp='$CXXCPP $CPPFLAGS'
16475 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16476 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16477 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16478
16479 cat >conftest.$ac_ext <<_ACEOF
16480 /* confdefs.h. */
16481 _ACEOF
16482 cat confdefs.h >>conftest.$ac_ext
16483 cat >>conftest.$ac_ext <<_ACEOF
16484 /* end confdefs.h. */
16485 #include <math.h>
16486 int
16487 main ()
16488 {
16489 _modff(0, 0);
16490 ;
16491 return 0;
16492 }
16493 _ACEOF
16494 rm -f conftest.$ac_objext
16495 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16496 (eval $ac_compile) 2>conftest.er1
16497 ac_status=$?
16498 grep -v '^ *+' conftest.er1 >conftest.err
16499 rm -f conftest.er1
16500 cat conftest.err >&5
16501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16502 (exit $ac_status); } &&
16503 { ac_try='test -z "$ac_cxx_werror_flag"
16504 || test ! -s conftest.err'
16505 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16506 (eval $ac_try) 2>&5
16507 ac_status=$?
16508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16509 (exit $ac_status); }; } &&
16510 { ac_try='test -s conftest.$ac_objext'
16511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16512 (eval $ac_try) 2>&5
16513 ac_status=$?
16514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16515 (exit $ac_status); }; }; then
16516 glibcxx_cv_func__modff_use=yes
16517 else
16518 echo "$as_me: failed program was:" >&5
16519 sed 's/^/| /' conftest.$ac_ext >&5
16520
16521 glibcxx_cv_func__modff_use=no
16522 fi
16523 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16524 ac_ext=c
16525 ac_cpp='$CPP $CPPFLAGS'
16526 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16527 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16528 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16529
16530
16531 fi
16532
16533 fi
16534 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modff_use" >&5
16535 echo "${ECHO_T}$glibcxx_cv_func__modff_use" >&6
16536
16537 if test x$glibcxx_cv_func__modff_use = x"yes"; then
16538
16539 for ac_func in _modff
16540 do
16541 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16542 echo "$as_me:$LINENO: checking for $ac_func" >&5
16543 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16544 if eval "test \"\${$as_ac_var+set}\" = set"; then
16545 echo $ECHO_N "(cached) $ECHO_C" >&6
16546 else
16547 if test x$gcc_no_link = xyes; then
16548 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16549 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16550 { (exit 1); exit 1; }; }
16551 fi
16552 cat >conftest.$ac_ext <<_ACEOF
16553 /* confdefs.h. */
16554 _ACEOF
16555 cat confdefs.h >>conftest.$ac_ext
16556 cat >>conftest.$ac_ext <<_ACEOF
16557 /* end confdefs.h. */
16558 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16559 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16560 #define $ac_func innocuous_$ac_func
16561
16562 /* System header to define __stub macros and hopefully few prototypes,
16563 which can conflict with char $ac_func (); below.
16564 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16565 <limits.h> exists even on freestanding compilers. */
16566
16567 #ifdef __STDC__
16568 # include <limits.h>
16569 #else
16570 # include <assert.h>
16571 #endif
16572
16573 #undef $ac_func
16574
16575 /* Override any gcc2 internal prototype to avoid an error. */
16576 #ifdef __cplusplus
16577 extern "C"
16578 {
16579 #endif
16580 /* We use char because int might match the return type of a gcc2
16581 builtin and then its argument prototype would still apply. */
16582 char $ac_func ();
16583 /* The GNU C library defines this for functions which it implements
16584 to always fail with ENOSYS. Some functions are actually named
16585 something starting with __ and the normal name is an alias. */
16586 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16587 choke me
16588 #else
16589 char (*f) () = $ac_func;
16590 #endif
16591 #ifdef __cplusplus
16592 }
16593 #endif
16594
16595 int
16596 main ()
16597 {
16598 return f != $ac_func;
16599 ;
16600 return 0;
16601 }
16602 _ACEOF
16603 rm -f conftest.$ac_objext conftest$ac_exeext
16604 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16605 (eval $ac_link) 2>conftest.er1
16606 ac_status=$?
16607 grep -v '^ *+' conftest.er1 >conftest.err
16608 rm -f conftest.er1
16609 cat conftest.err >&5
16610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16611 (exit $ac_status); } &&
16612 { ac_try='test -z "$ac_c_werror_flag"
16613 || test ! -s conftest.err'
16614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16615 (eval $ac_try) 2>&5
16616 ac_status=$?
16617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16618 (exit $ac_status); }; } &&
16619 { ac_try='test -s conftest$ac_exeext'
16620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16621 (eval $ac_try) 2>&5
16622 ac_status=$?
16623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16624 (exit $ac_status); }; }; then
16625 eval "$as_ac_var=yes"
16626 else
16627 echo "$as_me: failed program was:" >&5
16628 sed 's/^/| /' conftest.$ac_ext >&5
16629
16630 eval "$as_ac_var=no"
16631 fi
16632 rm -f conftest.err conftest.$ac_objext \
16633 conftest$ac_exeext conftest.$ac_ext
16634 fi
16635 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16636 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16637 if test `eval echo '${'$as_ac_var'}'` = yes; then
16638 cat >>confdefs.h <<_ACEOF
16639 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16640 _ACEOF
16641
16642 fi
16643 done
16644
16645 fi
16646 fi
16647
16648
16649
16650
16651
16652
16653 echo "$as_me:$LINENO: checking for modf declaration" >&5
16654 echo $ECHO_N "checking for modf declaration... $ECHO_C" >&6
16655 if test x${glibcxx_cv_func_modf_use+set} != xset; then
16656 if test "${glibcxx_cv_func_modf_use+set}" = set; then
16657 echo $ECHO_N "(cached) $ECHO_C" >&6
16658 else
16659
16660
16661
16662 ac_ext=cc
16663 ac_cpp='$CXXCPP $CPPFLAGS'
16664 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16665 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16666 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16667
16668 cat >conftest.$ac_ext <<_ACEOF
16669 /* confdefs.h. */
16670 _ACEOF
16671 cat confdefs.h >>conftest.$ac_ext
16672 cat >>conftest.$ac_ext <<_ACEOF
16673 /* end confdefs.h. */
16674 #include <math.h>
16675 int
16676 main ()
16677 {
16678 modf(0, 0);
16679 ;
16680 return 0;
16681 }
16682 _ACEOF
16683 rm -f conftest.$ac_objext
16684 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16685 (eval $ac_compile) 2>conftest.er1
16686 ac_status=$?
16687 grep -v '^ *+' conftest.er1 >conftest.err
16688 rm -f conftest.er1
16689 cat conftest.err >&5
16690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16691 (exit $ac_status); } &&
16692 { ac_try='test -z "$ac_cxx_werror_flag"
16693 || test ! -s conftest.err'
16694 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16695 (eval $ac_try) 2>&5
16696 ac_status=$?
16697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16698 (exit $ac_status); }; } &&
16699 { ac_try='test -s conftest.$ac_objext'
16700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16701 (eval $ac_try) 2>&5
16702 ac_status=$?
16703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16704 (exit $ac_status); }; }; then
16705 glibcxx_cv_func_modf_use=yes
16706 else
16707 echo "$as_me: failed program was:" >&5
16708 sed 's/^/| /' conftest.$ac_ext >&5
16709
16710 glibcxx_cv_func_modf_use=no
16711 fi
16712 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16713 ac_ext=c
16714 ac_cpp='$CPP $CPPFLAGS'
16715 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16716 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16717 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16718
16719
16720 fi
16721
16722 fi
16723 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modf_use" >&5
16724 echo "${ECHO_T}$glibcxx_cv_func_modf_use" >&6
16725
16726 if test x$glibcxx_cv_func_modf_use = x"yes"; then
16727
16728 for ac_func in modf
16729 do
16730 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16731 echo "$as_me:$LINENO: checking for $ac_func" >&5
16732 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16733 if eval "test \"\${$as_ac_var+set}\" = set"; then
16734 echo $ECHO_N "(cached) $ECHO_C" >&6
16735 else
16736 if test x$gcc_no_link = xyes; then
16737 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16738 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16739 { (exit 1); exit 1; }; }
16740 fi
16741 cat >conftest.$ac_ext <<_ACEOF
16742 /* confdefs.h. */
16743 _ACEOF
16744 cat confdefs.h >>conftest.$ac_ext
16745 cat >>conftest.$ac_ext <<_ACEOF
16746 /* end confdefs.h. */
16747 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16748 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16749 #define $ac_func innocuous_$ac_func
16750
16751 /* System header to define __stub macros and hopefully few prototypes,
16752 which can conflict with char $ac_func (); below.
16753 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16754 <limits.h> exists even on freestanding compilers. */
16755
16756 #ifdef __STDC__
16757 # include <limits.h>
16758 #else
16759 # include <assert.h>
16760 #endif
16761
16762 #undef $ac_func
16763
16764 /* Override any gcc2 internal prototype to avoid an error. */
16765 #ifdef __cplusplus
16766 extern "C"
16767 {
16768 #endif
16769 /* We use char because int might match the return type of a gcc2
16770 builtin and then its argument prototype would still apply. */
16771 char $ac_func ();
16772 /* The GNU C library defines this for functions which it implements
16773 to always fail with ENOSYS. Some functions are actually named
16774 something starting with __ and the normal name is an alias. */
16775 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16776 choke me
16777 #else
16778 char (*f) () = $ac_func;
16779 #endif
16780 #ifdef __cplusplus
16781 }
16782 #endif
16783
16784 int
16785 main ()
16786 {
16787 return f != $ac_func;
16788 ;
16789 return 0;
16790 }
16791 _ACEOF
16792 rm -f conftest.$ac_objext conftest$ac_exeext
16793 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16794 (eval $ac_link) 2>conftest.er1
16795 ac_status=$?
16796 grep -v '^ *+' conftest.er1 >conftest.err
16797 rm -f conftest.er1
16798 cat conftest.err >&5
16799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16800 (exit $ac_status); } &&
16801 { ac_try='test -z "$ac_c_werror_flag"
16802 || test ! -s conftest.err'
16803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16804 (eval $ac_try) 2>&5
16805 ac_status=$?
16806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16807 (exit $ac_status); }; } &&
16808 { ac_try='test -s conftest$ac_exeext'
16809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16810 (eval $ac_try) 2>&5
16811 ac_status=$?
16812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16813 (exit $ac_status); }; }; then
16814 eval "$as_ac_var=yes"
16815 else
16816 echo "$as_me: failed program was:" >&5
16817 sed 's/^/| /' conftest.$ac_ext >&5
16818
16819 eval "$as_ac_var=no"
16820 fi
16821 rm -f conftest.err conftest.$ac_objext \
16822 conftest$ac_exeext conftest.$ac_ext
16823 fi
16824 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16825 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16826 if test `eval echo '${'$as_ac_var'}'` = yes; then
16827 cat >>confdefs.h <<_ACEOF
16828 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16829 _ACEOF
16830
16831 fi
16832 done
16833
16834 else
16835
16836 echo "$as_me:$LINENO: checking for _modf declaration" >&5
16837 echo $ECHO_N "checking for _modf declaration... $ECHO_C" >&6
16838 if test x${glibcxx_cv_func__modf_use+set} != xset; then
16839 if test "${glibcxx_cv_func__modf_use+set}" = set; then
16840 echo $ECHO_N "(cached) $ECHO_C" >&6
16841 else
16842
16843
16844
16845 ac_ext=cc
16846 ac_cpp='$CXXCPP $CPPFLAGS'
16847 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16848 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16849 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16850
16851 cat >conftest.$ac_ext <<_ACEOF
16852 /* confdefs.h. */
16853 _ACEOF
16854 cat confdefs.h >>conftest.$ac_ext
16855 cat >>conftest.$ac_ext <<_ACEOF
16856 /* end confdefs.h. */
16857 #include <math.h>
16858 int
16859 main ()
16860 {
16861 _modf(0, 0);
16862 ;
16863 return 0;
16864 }
16865 _ACEOF
16866 rm -f conftest.$ac_objext
16867 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16868 (eval $ac_compile) 2>conftest.er1
16869 ac_status=$?
16870 grep -v '^ *+' conftest.er1 >conftest.err
16871 rm -f conftest.er1
16872 cat conftest.err >&5
16873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16874 (exit $ac_status); } &&
16875 { ac_try='test -z "$ac_cxx_werror_flag"
16876 || test ! -s conftest.err'
16877 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16878 (eval $ac_try) 2>&5
16879 ac_status=$?
16880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16881 (exit $ac_status); }; } &&
16882 { ac_try='test -s conftest.$ac_objext'
16883 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16884 (eval $ac_try) 2>&5
16885 ac_status=$?
16886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16887 (exit $ac_status); }; }; then
16888 glibcxx_cv_func__modf_use=yes
16889 else
16890 echo "$as_me: failed program was:" >&5
16891 sed 's/^/| /' conftest.$ac_ext >&5
16892
16893 glibcxx_cv_func__modf_use=no
16894 fi
16895 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16896 ac_ext=c
16897 ac_cpp='$CPP $CPPFLAGS'
16898 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16899 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16900 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16901
16902
16903 fi
16904
16905 fi
16906 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modf_use" >&5
16907 echo "${ECHO_T}$glibcxx_cv_func__modf_use" >&6
16908
16909 if test x$glibcxx_cv_func__modf_use = x"yes"; then
16910
16911 for ac_func in _modf
16912 do
16913 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16914 echo "$as_me:$LINENO: checking for $ac_func" >&5
16915 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16916 if eval "test \"\${$as_ac_var+set}\" = set"; then
16917 echo $ECHO_N "(cached) $ECHO_C" >&6
16918 else
16919 if test x$gcc_no_link = xyes; then
16920 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16921 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16922 { (exit 1); exit 1; }; }
16923 fi
16924 cat >conftest.$ac_ext <<_ACEOF
16925 /* confdefs.h. */
16926 _ACEOF
16927 cat confdefs.h >>conftest.$ac_ext
16928 cat >>conftest.$ac_ext <<_ACEOF
16929 /* end confdefs.h. */
16930 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16931 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16932 #define $ac_func innocuous_$ac_func
16933
16934 /* System header to define __stub macros and hopefully few prototypes,
16935 which can conflict with char $ac_func (); below.
16936 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16937 <limits.h> exists even on freestanding compilers. */
16938
16939 #ifdef __STDC__
16940 # include <limits.h>
16941 #else
16942 # include <assert.h>
16943 #endif
16944
16945 #undef $ac_func
16946
16947 /* Override any gcc2 internal prototype to avoid an error. */
16948 #ifdef __cplusplus
16949 extern "C"
16950 {
16951 #endif
16952 /* We use char because int might match the return type of a gcc2
16953 builtin and then its argument prototype would still apply. */
16954 char $ac_func ();
16955 /* The GNU C library defines this for functions which it implements
16956 to always fail with ENOSYS. Some functions are actually named
16957 something starting with __ and the normal name is an alias. */
16958 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16959 choke me
16960 #else
16961 char (*f) () = $ac_func;
16962 #endif
16963 #ifdef __cplusplus
16964 }
16965 #endif
16966
16967 int
16968 main ()
16969 {
16970 return f != $ac_func;
16971 ;
16972 return 0;
16973 }
16974 _ACEOF
16975 rm -f conftest.$ac_objext conftest$ac_exeext
16976 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16977 (eval $ac_link) 2>conftest.er1
16978 ac_status=$?
16979 grep -v '^ *+' conftest.er1 >conftest.err
16980 rm -f conftest.er1
16981 cat conftest.err >&5
16982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16983 (exit $ac_status); } &&
16984 { ac_try='test -z "$ac_c_werror_flag"
16985 || test ! -s conftest.err'
16986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16987 (eval $ac_try) 2>&5
16988 ac_status=$?
16989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16990 (exit $ac_status); }; } &&
16991 { ac_try='test -s conftest$ac_exeext'
16992 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16993 (eval $ac_try) 2>&5
16994 ac_status=$?
16995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16996 (exit $ac_status); }; }; then
16997 eval "$as_ac_var=yes"
16998 else
16999 echo "$as_me: failed program was:" >&5
17000 sed 's/^/| /' conftest.$ac_ext >&5
17001
17002 eval "$as_ac_var=no"
17003 fi
17004 rm -f conftest.err conftest.$ac_objext \
17005 conftest$ac_exeext conftest.$ac_ext
17006 fi
17007 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17008 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17009 if test `eval echo '${'$as_ac_var'}'` = yes; then
17010 cat >>confdefs.h <<_ACEOF
17011 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17012 _ACEOF
17013
17014 fi
17015 done
17016
17017 fi
17018 fi
17019
17020
17021
17022
17023
17024
17025 echo "$as_me:$LINENO: checking for powf declaration" >&5
17026 echo $ECHO_N "checking for powf declaration... $ECHO_C" >&6
17027 if test x${glibcxx_cv_func_powf_use+set} != xset; then
17028 if test "${glibcxx_cv_func_powf_use+set}" = set; then
17029 echo $ECHO_N "(cached) $ECHO_C" >&6
17030 else
17031
17032
17033
17034 ac_ext=cc
17035 ac_cpp='$CXXCPP $CPPFLAGS'
17036 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17037 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17038 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17039
17040 cat >conftest.$ac_ext <<_ACEOF
17041 /* confdefs.h. */
17042 _ACEOF
17043 cat confdefs.h >>conftest.$ac_ext
17044 cat >>conftest.$ac_ext <<_ACEOF
17045 /* end confdefs.h. */
17046 #include <math.h>
17047 int
17048 main ()
17049 {
17050 powf(0, 0);
17051 ;
17052 return 0;
17053 }
17054 _ACEOF
17055 rm -f conftest.$ac_objext
17056 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17057 (eval $ac_compile) 2>conftest.er1
17058 ac_status=$?
17059 grep -v '^ *+' conftest.er1 >conftest.err
17060 rm -f conftest.er1
17061 cat conftest.err >&5
17062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17063 (exit $ac_status); } &&
17064 { ac_try='test -z "$ac_cxx_werror_flag"
17065 || test ! -s conftest.err'
17066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17067 (eval $ac_try) 2>&5
17068 ac_status=$?
17069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17070 (exit $ac_status); }; } &&
17071 { ac_try='test -s conftest.$ac_objext'
17072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17073 (eval $ac_try) 2>&5
17074 ac_status=$?
17075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17076 (exit $ac_status); }; }; then
17077 glibcxx_cv_func_powf_use=yes
17078 else
17079 echo "$as_me: failed program was:" >&5
17080 sed 's/^/| /' conftest.$ac_ext >&5
17081
17082 glibcxx_cv_func_powf_use=no
17083 fi
17084 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17085 ac_ext=c
17086 ac_cpp='$CPP $CPPFLAGS'
17087 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17088 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17089 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17090
17091
17092 fi
17093
17094 fi
17095 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powf_use" >&5
17096 echo "${ECHO_T}$glibcxx_cv_func_powf_use" >&6
17097
17098 if test x$glibcxx_cv_func_powf_use = x"yes"; then
17099
17100 for ac_func in powf
17101 do
17102 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17103 echo "$as_me:$LINENO: checking for $ac_func" >&5
17104 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17105 if eval "test \"\${$as_ac_var+set}\" = set"; then
17106 echo $ECHO_N "(cached) $ECHO_C" >&6
17107 else
17108 if test x$gcc_no_link = xyes; then
17109 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17110 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17111 { (exit 1); exit 1; }; }
17112 fi
17113 cat >conftest.$ac_ext <<_ACEOF
17114 /* confdefs.h. */
17115 _ACEOF
17116 cat confdefs.h >>conftest.$ac_ext
17117 cat >>conftest.$ac_ext <<_ACEOF
17118 /* end confdefs.h. */
17119 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17120 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17121 #define $ac_func innocuous_$ac_func
17122
17123 /* System header to define __stub macros and hopefully few prototypes,
17124 which can conflict with char $ac_func (); below.
17125 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17126 <limits.h> exists even on freestanding compilers. */
17127
17128 #ifdef __STDC__
17129 # include <limits.h>
17130 #else
17131 # include <assert.h>
17132 #endif
17133
17134 #undef $ac_func
17135
17136 /* Override any gcc2 internal prototype to avoid an error. */
17137 #ifdef __cplusplus
17138 extern "C"
17139 {
17140 #endif
17141 /* We use char because int might match the return type of a gcc2
17142 builtin and then its argument prototype would still apply. */
17143 char $ac_func ();
17144 /* The GNU C library defines this for functions which it implements
17145 to always fail with ENOSYS. Some functions are actually named
17146 something starting with __ and the normal name is an alias. */
17147 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17148 choke me
17149 #else
17150 char (*f) () = $ac_func;
17151 #endif
17152 #ifdef __cplusplus
17153 }
17154 #endif
17155
17156 int
17157 main ()
17158 {
17159 return f != $ac_func;
17160 ;
17161 return 0;
17162 }
17163 _ACEOF
17164 rm -f conftest.$ac_objext conftest$ac_exeext
17165 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17166 (eval $ac_link) 2>conftest.er1
17167 ac_status=$?
17168 grep -v '^ *+' conftest.er1 >conftest.err
17169 rm -f conftest.er1
17170 cat conftest.err >&5
17171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17172 (exit $ac_status); } &&
17173 { ac_try='test -z "$ac_c_werror_flag"
17174 || test ! -s conftest.err'
17175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17176 (eval $ac_try) 2>&5
17177 ac_status=$?
17178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17179 (exit $ac_status); }; } &&
17180 { ac_try='test -s conftest$ac_exeext'
17181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17182 (eval $ac_try) 2>&5
17183 ac_status=$?
17184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17185 (exit $ac_status); }; }; then
17186 eval "$as_ac_var=yes"
17187 else
17188 echo "$as_me: failed program was:" >&5
17189 sed 's/^/| /' conftest.$ac_ext >&5
17190
17191 eval "$as_ac_var=no"
17192 fi
17193 rm -f conftest.err conftest.$ac_objext \
17194 conftest$ac_exeext conftest.$ac_ext
17195 fi
17196 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17197 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17198 if test `eval echo '${'$as_ac_var'}'` = yes; then
17199 cat >>confdefs.h <<_ACEOF
17200 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17201 _ACEOF
17202
17203 fi
17204 done
17205
17206 else
17207
17208 echo "$as_me:$LINENO: checking for _powf declaration" >&5
17209 echo $ECHO_N "checking for _powf declaration... $ECHO_C" >&6
17210 if test x${glibcxx_cv_func__powf_use+set} != xset; then
17211 if test "${glibcxx_cv_func__powf_use+set}" = set; then
17212 echo $ECHO_N "(cached) $ECHO_C" >&6
17213 else
17214
17215
17216
17217 ac_ext=cc
17218 ac_cpp='$CXXCPP $CPPFLAGS'
17219 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17220 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17221 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17222
17223 cat >conftest.$ac_ext <<_ACEOF
17224 /* confdefs.h. */
17225 _ACEOF
17226 cat confdefs.h >>conftest.$ac_ext
17227 cat >>conftest.$ac_ext <<_ACEOF
17228 /* end confdefs.h. */
17229 #include <math.h>
17230 int
17231 main ()
17232 {
17233 _powf(0, 0);
17234 ;
17235 return 0;
17236 }
17237 _ACEOF
17238 rm -f conftest.$ac_objext
17239 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17240 (eval $ac_compile) 2>conftest.er1
17241 ac_status=$?
17242 grep -v '^ *+' conftest.er1 >conftest.err
17243 rm -f conftest.er1
17244 cat conftest.err >&5
17245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17246 (exit $ac_status); } &&
17247 { ac_try='test -z "$ac_cxx_werror_flag"
17248 || test ! -s conftest.err'
17249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17250 (eval $ac_try) 2>&5
17251 ac_status=$?
17252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17253 (exit $ac_status); }; } &&
17254 { ac_try='test -s conftest.$ac_objext'
17255 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17256 (eval $ac_try) 2>&5
17257 ac_status=$?
17258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17259 (exit $ac_status); }; }; then
17260 glibcxx_cv_func__powf_use=yes
17261 else
17262 echo "$as_me: failed program was:" >&5
17263 sed 's/^/| /' conftest.$ac_ext >&5
17264
17265 glibcxx_cv_func__powf_use=no
17266 fi
17267 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17268 ac_ext=c
17269 ac_cpp='$CPP $CPPFLAGS'
17270 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17271 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17272 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17273
17274
17275 fi
17276
17277 fi
17278 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powf_use" >&5
17279 echo "${ECHO_T}$glibcxx_cv_func__powf_use" >&6
17280
17281 if test x$glibcxx_cv_func__powf_use = x"yes"; then
17282
17283 for ac_func in _powf
17284 do
17285 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17286 echo "$as_me:$LINENO: checking for $ac_func" >&5
17287 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17288 if eval "test \"\${$as_ac_var+set}\" = set"; then
17289 echo $ECHO_N "(cached) $ECHO_C" >&6
17290 else
17291 if test x$gcc_no_link = xyes; then
17292 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17293 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17294 { (exit 1); exit 1; }; }
17295 fi
17296 cat >conftest.$ac_ext <<_ACEOF
17297 /* confdefs.h. */
17298 _ACEOF
17299 cat confdefs.h >>conftest.$ac_ext
17300 cat >>conftest.$ac_ext <<_ACEOF
17301 /* end confdefs.h. */
17302 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17303 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17304 #define $ac_func innocuous_$ac_func
17305
17306 /* System header to define __stub macros and hopefully few prototypes,
17307 which can conflict with char $ac_func (); below.
17308 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17309 <limits.h> exists even on freestanding compilers. */
17310
17311 #ifdef __STDC__
17312 # include <limits.h>
17313 #else
17314 # include <assert.h>
17315 #endif
17316
17317 #undef $ac_func
17318
17319 /* Override any gcc2 internal prototype to avoid an error. */
17320 #ifdef __cplusplus
17321 extern "C"
17322 {
17323 #endif
17324 /* We use char because int might match the return type of a gcc2
17325 builtin and then its argument prototype would still apply. */
17326 char $ac_func ();
17327 /* The GNU C library defines this for functions which it implements
17328 to always fail with ENOSYS. Some functions are actually named
17329 something starting with __ and the normal name is an alias. */
17330 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17331 choke me
17332 #else
17333 char (*f) () = $ac_func;
17334 #endif
17335 #ifdef __cplusplus
17336 }
17337 #endif
17338
17339 int
17340 main ()
17341 {
17342 return f != $ac_func;
17343 ;
17344 return 0;
17345 }
17346 _ACEOF
17347 rm -f conftest.$ac_objext conftest$ac_exeext
17348 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17349 (eval $ac_link) 2>conftest.er1
17350 ac_status=$?
17351 grep -v '^ *+' conftest.er1 >conftest.err
17352 rm -f conftest.er1
17353 cat conftest.err >&5
17354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17355 (exit $ac_status); } &&
17356 { ac_try='test -z "$ac_c_werror_flag"
17357 || test ! -s conftest.err'
17358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17359 (eval $ac_try) 2>&5
17360 ac_status=$?
17361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17362 (exit $ac_status); }; } &&
17363 { ac_try='test -s conftest$ac_exeext'
17364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17365 (eval $ac_try) 2>&5
17366 ac_status=$?
17367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17368 (exit $ac_status); }; }; then
17369 eval "$as_ac_var=yes"
17370 else
17371 echo "$as_me: failed program was:" >&5
17372 sed 's/^/| /' conftest.$ac_ext >&5
17373
17374 eval "$as_ac_var=no"
17375 fi
17376 rm -f conftest.err conftest.$ac_objext \
17377 conftest$ac_exeext conftest.$ac_ext
17378 fi
17379 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17380 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17381 if test `eval echo '${'$as_ac_var'}'` = yes; then
17382 cat >>confdefs.h <<_ACEOF
17383 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17384 _ACEOF
17385
17386 fi
17387 done
17388
17389 fi
17390 fi
17391
17392
17393
17394
17395
17396
17397 echo "$as_me:$LINENO: checking for sqrtf declaration" >&5
17398 echo $ECHO_N "checking for sqrtf declaration... $ECHO_C" >&6
17399 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
17400 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then
17401 echo $ECHO_N "(cached) $ECHO_C" >&6
17402 else
17403
17404
17405
17406 ac_ext=cc
17407 ac_cpp='$CXXCPP $CPPFLAGS'
17408 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17409 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17410 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17411
17412 cat >conftest.$ac_ext <<_ACEOF
17413 /* confdefs.h. */
17414 _ACEOF
17415 cat confdefs.h >>conftest.$ac_ext
17416 cat >>conftest.$ac_ext <<_ACEOF
17417 /* end confdefs.h. */
17418 #include <math.h>
17419 #ifdef HAVE_IEEEFP_H
17420 #include <ieeefp.h>
17421 #endif
17422
17423 int
17424 main ()
17425 {
17426 sqrtf(0);
17427 ;
17428 return 0;
17429 }
17430 _ACEOF
17431 rm -f conftest.$ac_objext
17432 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17433 (eval $ac_compile) 2>conftest.er1
17434 ac_status=$?
17435 grep -v '^ *+' conftest.er1 >conftest.err
17436 rm -f conftest.er1
17437 cat conftest.err >&5
17438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17439 (exit $ac_status); } &&
17440 { ac_try='test -z "$ac_cxx_werror_flag"
17441 || test ! -s conftest.err'
17442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17443 (eval $ac_try) 2>&5
17444 ac_status=$?
17445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17446 (exit $ac_status); }; } &&
17447 { ac_try='test -s conftest.$ac_objext'
17448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17449 (eval $ac_try) 2>&5
17450 ac_status=$?
17451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17452 (exit $ac_status); }; }; then
17453 glibcxx_cv_func_sqrtf_use=yes
17454 else
17455 echo "$as_me: failed program was:" >&5
17456 sed 's/^/| /' conftest.$ac_ext >&5
17457
17458 glibcxx_cv_func_sqrtf_use=no
17459 fi
17460 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17461 ac_ext=c
17462 ac_cpp='$CPP $CPPFLAGS'
17463 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17464 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17465 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17466
17467
17468 fi
17469
17470 fi
17471 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtf_use" >&5
17472 echo "${ECHO_T}$glibcxx_cv_func_sqrtf_use" >&6
17473
17474 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
17475
17476 for ac_func in sqrtf
17477 do
17478 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17479 echo "$as_me:$LINENO: checking for $ac_func" >&5
17480 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17481 if eval "test \"\${$as_ac_var+set}\" = set"; then
17482 echo $ECHO_N "(cached) $ECHO_C" >&6
17483 else
17484 if test x$gcc_no_link = xyes; then
17485 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17486 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17487 { (exit 1); exit 1; }; }
17488 fi
17489 cat >conftest.$ac_ext <<_ACEOF
17490 /* confdefs.h. */
17491 _ACEOF
17492 cat confdefs.h >>conftest.$ac_ext
17493 cat >>conftest.$ac_ext <<_ACEOF
17494 /* end confdefs.h. */
17495 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17496 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17497 #define $ac_func innocuous_$ac_func
17498
17499 /* System header to define __stub macros and hopefully few prototypes,
17500 which can conflict with char $ac_func (); below.
17501 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17502 <limits.h> exists even on freestanding compilers. */
17503
17504 #ifdef __STDC__
17505 # include <limits.h>
17506 #else
17507 # include <assert.h>
17508 #endif
17509
17510 #undef $ac_func
17511
17512 /* Override any gcc2 internal prototype to avoid an error. */
17513 #ifdef __cplusplus
17514 extern "C"
17515 {
17516 #endif
17517 /* We use char because int might match the return type of a gcc2
17518 builtin and then its argument prototype would still apply. */
17519 char $ac_func ();
17520 /* The GNU C library defines this for functions which it implements
17521 to always fail with ENOSYS. Some functions are actually named
17522 something starting with __ and the normal name is an alias. */
17523 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17524 choke me
17525 #else
17526 char (*f) () = $ac_func;
17527 #endif
17528 #ifdef __cplusplus
17529 }
17530 #endif
17531
17532 int
17533 main ()
17534 {
17535 return f != $ac_func;
17536 ;
17537 return 0;
17538 }
17539 _ACEOF
17540 rm -f conftest.$ac_objext conftest$ac_exeext
17541 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17542 (eval $ac_link) 2>conftest.er1
17543 ac_status=$?
17544 grep -v '^ *+' conftest.er1 >conftest.err
17545 rm -f conftest.er1
17546 cat conftest.err >&5
17547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17548 (exit $ac_status); } &&
17549 { ac_try='test -z "$ac_c_werror_flag"
17550 || test ! -s conftest.err'
17551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17552 (eval $ac_try) 2>&5
17553 ac_status=$?
17554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17555 (exit $ac_status); }; } &&
17556 { ac_try='test -s conftest$ac_exeext'
17557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17558 (eval $ac_try) 2>&5
17559 ac_status=$?
17560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17561 (exit $ac_status); }; }; then
17562 eval "$as_ac_var=yes"
17563 else
17564 echo "$as_me: failed program was:" >&5
17565 sed 's/^/| /' conftest.$ac_ext >&5
17566
17567 eval "$as_ac_var=no"
17568 fi
17569 rm -f conftest.err conftest.$ac_objext \
17570 conftest$ac_exeext conftest.$ac_ext
17571 fi
17572 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17573 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17574 if test `eval echo '${'$as_ac_var'}'` = yes; then
17575 cat >>confdefs.h <<_ACEOF
17576 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17577 _ACEOF
17578
17579 fi
17580 done
17581
17582 else
17583
17584 echo "$as_me:$LINENO: checking for _sqrtf declaration" >&5
17585 echo $ECHO_N "checking for _sqrtf declaration... $ECHO_C" >&6
17586 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
17587 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then
17588 echo $ECHO_N "(cached) $ECHO_C" >&6
17589 else
17590
17591
17592
17593 ac_ext=cc
17594 ac_cpp='$CXXCPP $CPPFLAGS'
17595 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17596 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17597 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17598
17599 cat >conftest.$ac_ext <<_ACEOF
17600 /* confdefs.h. */
17601 _ACEOF
17602 cat confdefs.h >>conftest.$ac_ext
17603 cat >>conftest.$ac_ext <<_ACEOF
17604 /* end confdefs.h. */
17605 #include <math.h>
17606 #ifdef HAVE_IEEEFP_H
17607 #include <ieeefp.h>
17608 #endif
17609
17610 int
17611 main ()
17612 {
17613 _sqrtf(0);
17614 ;
17615 return 0;
17616 }
17617 _ACEOF
17618 rm -f conftest.$ac_objext
17619 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17620 (eval $ac_compile) 2>conftest.er1
17621 ac_status=$?
17622 grep -v '^ *+' conftest.er1 >conftest.err
17623 rm -f conftest.er1
17624 cat conftest.err >&5
17625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17626 (exit $ac_status); } &&
17627 { ac_try='test -z "$ac_cxx_werror_flag"
17628 || test ! -s conftest.err'
17629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17630 (eval $ac_try) 2>&5
17631 ac_status=$?
17632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17633 (exit $ac_status); }; } &&
17634 { ac_try='test -s conftest.$ac_objext'
17635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17636 (eval $ac_try) 2>&5
17637 ac_status=$?
17638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17639 (exit $ac_status); }; }; then
17640 glibcxx_cv_func__sqrtf_use=yes
17641 else
17642 echo "$as_me: failed program was:" >&5
17643 sed 's/^/| /' conftest.$ac_ext >&5
17644
17645 glibcxx_cv_func__sqrtf_use=no
17646 fi
17647 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17648 ac_ext=c
17649 ac_cpp='$CPP $CPPFLAGS'
17650 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17651 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17652 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17653
17654
17655 fi
17656
17657 fi
17658 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtf_use" >&5
17659 echo "${ECHO_T}$glibcxx_cv_func__sqrtf_use" >&6
17660
17661 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
17662
17663 for ac_func in _sqrtf
17664 do
17665 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17666 echo "$as_me:$LINENO: checking for $ac_func" >&5
17667 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17668 if eval "test \"\${$as_ac_var+set}\" = set"; then
17669 echo $ECHO_N "(cached) $ECHO_C" >&6
17670 else
17671 if test x$gcc_no_link = xyes; then
17672 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17673 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17674 { (exit 1); exit 1; }; }
17675 fi
17676 cat >conftest.$ac_ext <<_ACEOF
17677 /* confdefs.h. */
17678 _ACEOF
17679 cat confdefs.h >>conftest.$ac_ext
17680 cat >>conftest.$ac_ext <<_ACEOF
17681 /* end confdefs.h. */
17682 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17683 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17684 #define $ac_func innocuous_$ac_func
17685
17686 /* System header to define __stub macros and hopefully few prototypes,
17687 which can conflict with char $ac_func (); below.
17688 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17689 <limits.h> exists even on freestanding compilers. */
17690
17691 #ifdef __STDC__
17692 # include <limits.h>
17693 #else
17694 # include <assert.h>
17695 #endif
17696
17697 #undef $ac_func
17698
17699 /* Override any gcc2 internal prototype to avoid an error. */
17700 #ifdef __cplusplus
17701 extern "C"
17702 {
17703 #endif
17704 /* We use char because int might match the return type of a gcc2
17705 builtin and then its argument prototype would still apply. */
17706 char $ac_func ();
17707 /* The GNU C library defines this for functions which it implements
17708 to always fail with ENOSYS. Some functions are actually named
17709 something starting with __ and the normal name is an alias. */
17710 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17711 choke me
17712 #else
17713 char (*f) () = $ac_func;
17714 #endif
17715 #ifdef __cplusplus
17716 }
17717 #endif
17718
17719 int
17720 main ()
17721 {
17722 return f != $ac_func;
17723 ;
17724 return 0;
17725 }
17726 _ACEOF
17727 rm -f conftest.$ac_objext conftest$ac_exeext
17728 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17729 (eval $ac_link) 2>conftest.er1
17730 ac_status=$?
17731 grep -v '^ *+' conftest.er1 >conftest.err
17732 rm -f conftest.er1
17733 cat conftest.err >&5
17734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17735 (exit $ac_status); } &&
17736 { ac_try='test -z "$ac_c_werror_flag"
17737 || test ! -s conftest.err'
17738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17739 (eval $ac_try) 2>&5
17740 ac_status=$?
17741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17742 (exit $ac_status); }; } &&
17743 { ac_try='test -s conftest$ac_exeext'
17744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17745 (eval $ac_try) 2>&5
17746 ac_status=$?
17747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17748 (exit $ac_status); }; }; then
17749 eval "$as_ac_var=yes"
17750 else
17751 echo "$as_me: failed program was:" >&5
17752 sed 's/^/| /' conftest.$ac_ext >&5
17753
17754 eval "$as_ac_var=no"
17755 fi
17756 rm -f conftest.err conftest.$ac_objext \
17757 conftest$ac_exeext conftest.$ac_ext
17758 fi
17759 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17760 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17761 if test `eval echo '${'$as_ac_var'}'` = yes; then
17762 cat >>confdefs.h <<_ACEOF
17763 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17764 _ACEOF
17765
17766 fi
17767 done
17768
17769 fi
17770 fi
17771
17772
17773
17774
17775
17776
17777 echo "$as_me:$LINENO: checking for sincosf declaration" >&5
17778 echo $ECHO_N "checking for sincosf declaration... $ECHO_C" >&6
17779 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
17780 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then
17781 echo $ECHO_N "(cached) $ECHO_C" >&6
17782 else
17783
17784
17785
17786 ac_ext=cc
17787 ac_cpp='$CXXCPP $CPPFLAGS'
17788 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17789 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17790 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17791
17792 cat >conftest.$ac_ext <<_ACEOF
17793 /* confdefs.h. */
17794 _ACEOF
17795 cat confdefs.h >>conftest.$ac_ext
17796 cat >>conftest.$ac_ext <<_ACEOF
17797 /* end confdefs.h. */
17798 #include <math.h>
17799 int
17800 main ()
17801 {
17802 sincosf(0, 0, 0);
17803 ;
17804 return 0;
17805 }
17806 _ACEOF
17807 rm -f conftest.$ac_objext
17808 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17809 (eval $ac_compile) 2>conftest.er1
17810 ac_status=$?
17811 grep -v '^ *+' conftest.er1 >conftest.err
17812 rm -f conftest.er1
17813 cat conftest.err >&5
17814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17815 (exit $ac_status); } &&
17816 { ac_try='test -z "$ac_cxx_werror_flag"
17817 || test ! -s conftest.err'
17818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17819 (eval $ac_try) 2>&5
17820 ac_status=$?
17821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17822 (exit $ac_status); }; } &&
17823 { ac_try='test -s conftest.$ac_objext'
17824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17825 (eval $ac_try) 2>&5
17826 ac_status=$?
17827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17828 (exit $ac_status); }; }; then
17829 glibcxx_cv_func_sincosf_use=yes
17830 else
17831 echo "$as_me: failed program was:" >&5
17832 sed 's/^/| /' conftest.$ac_ext >&5
17833
17834 glibcxx_cv_func_sincosf_use=no
17835 fi
17836 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17837 ac_ext=c
17838 ac_cpp='$CPP $CPPFLAGS'
17839 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17840 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17841 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17842
17843
17844 fi
17845
17846 fi
17847 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosf_use" >&5
17848 echo "${ECHO_T}$glibcxx_cv_func_sincosf_use" >&6
17849
17850 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
17851
17852 for ac_func in sincosf
17853 do
17854 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17855 echo "$as_me:$LINENO: checking for $ac_func" >&5
17856 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17857 if eval "test \"\${$as_ac_var+set}\" = set"; then
17858 echo $ECHO_N "(cached) $ECHO_C" >&6
17859 else
17860 if test x$gcc_no_link = xyes; then
17861 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17862 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17863 { (exit 1); exit 1; }; }
17864 fi
17865 cat >conftest.$ac_ext <<_ACEOF
17866 /* confdefs.h. */
17867 _ACEOF
17868 cat confdefs.h >>conftest.$ac_ext
17869 cat >>conftest.$ac_ext <<_ACEOF
17870 /* end confdefs.h. */
17871 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17872 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17873 #define $ac_func innocuous_$ac_func
17874
17875 /* System header to define __stub macros and hopefully few prototypes,
17876 which can conflict with char $ac_func (); below.
17877 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17878 <limits.h> exists even on freestanding compilers. */
17879
17880 #ifdef __STDC__
17881 # include <limits.h>
17882 #else
17883 # include <assert.h>
17884 #endif
17885
17886 #undef $ac_func
17887
17888 /* Override any gcc2 internal prototype to avoid an error. */
17889 #ifdef __cplusplus
17890 extern "C"
17891 {
17892 #endif
17893 /* We use char because int might match the return type of a gcc2
17894 builtin and then its argument prototype would still apply. */
17895 char $ac_func ();
17896 /* The GNU C library defines this for functions which it implements
17897 to always fail with ENOSYS. Some functions are actually named
17898 something starting with __ and the normal name is an alias. */
17899 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17900 choke me
17901 #else
17902 char (*f) () = $ac_func;
17903 #endif
17904 #ifdef __cplusplus
17905 }
17906 #endif
17907
17908 int
17909 main ()
17910 {
17911 return f != $ac_func;
17912 ;
17913 return 0;
17914 }
17915 _ACEOF
17916 rm -f conftest.$ac_objext conftest$ac_exeext
17917 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17918 (eval $ac_link) 2>conftest.er1
17919 ac_status=$?
17920 grep -v '^ *+' conftest.er1 >conftest.err
17921 rm -f conftest.er1
17922 cat conftest.err >&5
17923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17924 (exit $ac_status); } &&
17925 { ac_try='test -z "$ac_c_werror_flag"
17926 || test ! -s conftest.err'
17927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17928 (eval $ac_try) 2>&5
17929 ac_status=$?
17930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17931 (exit $ac_status); }; } &&
17932 { ac_try='test -s conftest$ac_exeext'
17933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17934 (eval $ac_try) 2>&5
17935 ac_status=$?
17936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17937 (exit $ac_status); }; }; then
17938 eval "$as_ac_var=yes"
17939 else
17940 echo "$as_me: failed program was:" >&5
17941 sed 's/^/| /' conftest.$ac_ext >&5
17942
17943 eval "$as_ac_var=no"
17944 fi
17945 rm -f conftest.err conftest.$ac_objext \
17946 conftest$ac_exeext conftest.$ac_ext
17947 fi
17948 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17949 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17950 if test `eval echo '${'$as_ac_var'}'` = yes; then
17951 cat >>confdefs.h <<_ACEOF
17952 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17953 _ACEOF
17954
17955 fi
17956 done
17957
17958 else
17959
17960 echo "$as_me:$LINENO: checking for _sincosf declaration" >&5
17961 echo $ECHO_N "checking for _sincosf declaration... $ECHO_C" >&6
17962 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
17963 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then
17964 echo $ECHO_N "(cached) $ECHO_C" >&6
17965 else
17966
17967
17968
17969 ac_ext=cc
17970 ac_cpp='$CXXCPP $CPPFLAGS'
17971 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17972 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17973 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17974
17975 cat >conftest.$ac_ext <<_ACEOF
17976 /* confdefs.h. */
17977 _ACEOF
17978 cat confdefs.h >>conftest.$ac_ext
17979 cat >>conftest.$ac_ext <<_ACEOF
17980 /* end confdefs.h. */
17981 #include <math.h>
17982 int
17983 main ()
17984 {
17985 _sincosf(0, 0, 0);
17986 ;
17987 return 0;
17988 }
17989 _ACEOF
17990 rm -f conftest.$ac_objext
17991 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17992 (eval $ac_compile) 2>conftest.er1
17993 ac_status=$?
17994 grep -v '^ *+' conftest.er1 >conftest.err
17995 rm -f conftest.er1
17996 cat conftest.err >&5
17997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17998 (exit $ac_status); } &&
17999 { ac_try='test -z "$ac_cxx_werror_flag"
18000 || test ! -s conftest.err'
18001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18002 (eval $ac_try) 2>&5
18003 ac_status=$?
18004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18005 (exit $ac_status); }; } &&
18006 { ac_try='test -s conftest.$ac_objext'
18007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18008 (eval $ac_try) 2>&5
18009 ac_status=$?
18010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18011 (exit $ac_status); }; }; then
18012 glibcxx_cv_func__sincosf_use=yes
18013 else
18014 echo "$as_me: failed program was:" >&5
18015 sed 's/^/| /' conftest.$ac_ext >&5
18016
18017 glibcxx_cv_func__sincosf_use=no
18018 fi
18019 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18020 ac_ext=c
18021 ac_cpp='$CPP $CPPFLAGS'
18022 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18023 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18024 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18025
18026
18027 fi
18028
18029 fi
18030 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosf_use" >&5
18031 echo "${ECHO_T}$glibcxx_cv_func__sincosf_use" >&6
18032
18033 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
18034
18035 for ac_func in _sincosf
18036 do
18037 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18038 echo "$as_me:$LINENO: checking for $ac_func" >&5
18039 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18040 if eval "test \"\${$as_ac_var+set}\" = set"; then
18041 echo $ECHO_N "(cached) $ECHO_C" >&6
18042 else
18043 if test x$gcc_no_link = xyes; then
18044 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18045 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18046 { (exit 1); exit 1; }; }
18047 fi
18048 cat >conftest.$ac_ext <<_ACEOF
18049 /* confdefs.h. */
18050 _ACEOF
18051 cat confdefs.h >>conftest.$ac_ext
18052 cat >>conftest.$ac_ext <<_ACEOF
18053 /* end confdefs.h. */
18054 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18055 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18056 #define $ac_func innocuous_$ac_func
18057
18058 /* System header to define __stub macros and hopefully few prototypes,
18059 which can conflict with char $ac_func (); below.
18060 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18061 <limits.h> exists even on freestanding compilers. */
18062
18063 #ifdef __STDC__
18064 # include <limits.h>
18065 #else
18066 # include <assert.h>
18067 #endif
18068
18069 #undef $ac_func
18070
18071 /* Override any gcc2 internal prototype to avoid an error. */
18072 #ifdef __cplusplus
18073 extern "C"
18074 {
18075 #endif
18076 /* We use char because int might match the return type of a gcc2
18077 builtin and then its argument prototype would still apply. */
18078 char $ac_func ();
18079 /* The GNU C library defines this for functions which it implements
18080 to always fail with ENOSYS. Some functions are actually named
18081 something starting with __ and the normal name is an alias. */
18082 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18083 choke me
18084 #else
18085 char (*f) () = $ac_func;
18086 #endif
18087 #ifdef __cplusplus
18088 }
18089 #endif
18090
18091 int
18092 main ()
18093 {
18094 return f != $ac_func;
18095 ;
18096 return 0;
18097 }
18098 _ACEOF
18099 rm -f conftest.$ac_objext conftest$ac_exeext
18100 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18101 (eval $ac_link) 2>conftest.er1
18102 ac_status=$?
18103 grep -v '^ *+' conftest.er1 >conftest.err
18104 rm -f conftest.er1
18105 cat conftest.err >&5
18106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18107 (exit $ac_status); } &&
18108 { ac_try='test -z "$ac_c_werror_flag"
18109 || test ! -s conftest.err'
18110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18111 (eval $ac_try) 2>&5
18112 ac_status=$?
18113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18114 (exit $ac_status); }; } &&
18115 { ac_try='test -s conftest$ac_exeext'
18116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18117 (eval $ac_try) 2>&5
18118 ac_status=$?
18119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18120 (exit $ac_status); }; }; then
18121 eval "$as_ac_var=yes"
18122 else
18123 echo "$as_me: failed program was:" >&5
18124 sed 's/^/| /' conftest.$ac_ext >&5
18125
18126 eval "$as_ac_var=no"
18127 fi
18128 rm -f conftest.err conftest.$ac_objext \
18129 conftest$ac_exeext conftest.$ac_ext
18130 fi
18131 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18132 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18133 if test `eval echo '${'$as_ac_var'}'` = yes; then
18134 cat >>confdefs.h <<_ACEOF
18135 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18136 _ACEOF
18137
18138 fi
18139 done
18140
18141 fi
18142 fi
18143
18144
18145
18146
18147
18148
18149 echo "$as_me:$LINENO: checking for finitef declaration" >&5
18150 echo $ECHO_N "checking for finitef declaration... $ECHO_C" >&6
18151 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
18152 if test "${glibcxx_cv_func_finitef_use+set}" = set; then
18153 echo $ECHO_N "(cached) $ECHO_C" >&6
18154 else
18155
18156
18157
18158 ac_ext=cc
18159 ac_cpp='$CXXCPP $CPPFLAGS'
18160 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18161 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18162 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18163
18164 cat >conftest.$ac_ext <<_ACEOF
18165 /* confdefs.h. */
18166 _ACEOF
18167 cat confdefs.h >>conftest.$ac_ext
18168 cat >>conftest.$ac_ext <<_ACEOF
18169 /* end confdefs.h. */
18170 #include <math.h>
18171 #ifdef HAVE_IEEEFP_H
18172 #include <ieeefp.h>
18173 #endif
18174
18175 int
18176 main ()
18177 {
18178 finitef(0);
18179 ;
18180 return 0;
18181 }
18182 _ACEOF
18183 rm -f conftest.$ac_objext
18184 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18185 (eval $ac_compile) 2>conftest.er1
18186 ac_status=$?
18187 grep -v '^ *+' conftest.er1 >conftest.err
18188 rm -f conftest.er1
18189 cat conftest.err >&5
18190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18191 (exit $ac_status); } &&
18192 { ac_try='test -z "$ac_cxx_werror_flag"
18193 || test ! -s conftest.err'
18194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18195 (eval $ac_try) 2>&5
18196 ac_status=$?
18197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18198 (exit $ac_status); }; } &&
18199 { ac_try='test -s conftest.$ac_objext'
18200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18201 (eval $ac_try) 2>&5
18202 ac_status=$?
18203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18204 (exit $ac_status); }; }; then
18205 glibcxx_cv_func_finitef_use=yes
18206 else
18207 echo "$as_me: failed program was:" >&5
18208 sed 's/^/| /' conftest.$ac_ext >&5
18209
18210 glibcxx_cv_func_finitef_use=no
18211 fi
18212 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18213 ac_ext=c
18214 ac_cpp='$CPP $CPPFLAGS'
18215 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18216 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18217 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18218
18219
18220 fi
18221
18222 fi
18223 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitef_use" >&5
18224 echo "${ECHO_T}$glibcxx_cv_func_finitef_use" >&6
18225
18226 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
18227
18228 for ac_func in finitef
18229 do
18230 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18231 echo "$as_me:$LINENO: checking for $ac_func" >&5
18232 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18233 if eval "test \"\${$as_ac_var+set}\" = set"; then
18234 echo $ECHO_N "(cached) $ECHO_C" >&6
18235 else
18236 if test x$gcc_no_link = xyes; then
18237 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18238 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18239 { (exit 1); exit 1; }; }
18240 fi
18241 cat >conftest.$ac_ext <<_ACEOF
18242 /* confdefs.h. */
18243 _ACEOF
18244 cat confdefs.h >>conftest.$ac_ext
18245 cat >>conftest.$ac_ext <<_ACEOF
18246 /* end confdefs.h. */
18247 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18248 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18249 #define $ac_func innocuous_$ac_func
18250
18251 /* System header to define __stub macros and hopefully few prototypes,
18252 which can conflict with char $ac_func (); below.
18253 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18254 <limits.h> exists even on freestanding compilers. */
18255
18256 #ifdef __STDC__
18257 # include <limits.h>
18258 #else
18259 # include <assert.h>
18260 #endif
18261
18262 #undef $ac_func
18263
18264 /* Override any gcc2 internal prototype to avoid an error. */
18265 #ifdef __cplusplus
18266 extern "C"
18267 {
18268 #endif
18269 /* We use char because int might match the return type of a gcc2
18270 builtin and then its argument prototype would still apply. */
18271 char $ac_func ();
18272 /* The GNU C library defines this for functions which it implements
18273 to always fail with ENOSYS. Some functions are actually named
18274 something starting with __ and the normal name is an alias. */
18275 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18276 choke me
18277 #else
18278 char (*f) () = $ac_func;
18279 #endif
18280 #ifdef __cplusplus
18281 }
18282 #endif
18283
18284 int
18285 main ()
18286 {
18287 return f != $ac_func;
18288 ;
18289 return 0;
18290 }
18291 _ACEOF
18292 rm -f conftest.$ac_objext conftest$ac_exeext
18293 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18294 (eval $ac_link) 2>conftest.er1
18295 ac_status=$?
18296 grep -v '^ *+' conftest.er1 >conftest.err
18297 rm -f conftest.er1
18298 cat conftest.err >&5
18299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18300 (exit $ac_status); } &&
18301 { ac_try='test -z "$ac_c_werror_flag"
18302 || test ! -s conftest.err'
18303 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18304 (eval $ac_try) 2>&5
18305 ac_status=$?
18306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18307 (exit $ac_status); }; } &&
18308 { ac_try='test -s conftest$ac_exeext'
18309 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18310 (eval $ac_try) 2>&5
18311 ac_status=$?
18312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18313 (exit $ac_status); }; }; then
18314 eval "$as_ac_var=yes"
18315 else
18316 echo "$as_me: failed program was:" >&5
18317 sed 's/^/| /' conftest.$ac_ext >&5
18318
18319 eval "$as_ac_var=no"
18320 fi
18321 rm -f conftest.err conftest.$ac_objext \
18322 conftest$ac_exeext conftest.$ac_ext
18323 fi
18324 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18325 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18326 if test `eval echo '${'$as_ac_var'}'` = yes; then
18327 cat >>confdefs.h <<_ACEOF
18328 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18329 _ACEOF
18330
18331 fi
18332 done
18333
18334 else
18335
18336 echo "$as_me:$LINENO: checking for _finitef declaration" >&5
18337 echo $ECHO_N "checking for _finitef declaration... $ECHO_C" >&6
18338 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
18339 if test "${glibcxx_cv_func__finitef_use+set}" = set; then
18340 echo $ECHO_N "(cached) $ECHO_C" >&6
18341 else
18342
18343
18344
18345 ac_ext=cc
18346 ac_cpp='$CXXCPP $CPPFLAGS'
18347 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18348 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18349 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18350
18351 cat >conftest.$ac_ext <<_ACEOF
18352 /* confdefs.h. */
18353 _ACEOF
18354 cat confdefs.h >>conftest.$ac_ext
18355 cat >>conftest.$ac_ext <<_ACEOF
18356 /* end confdefs.h. */
18357 #include <math.h>
18358 #ifdef HAVE_IEEEFP_H
18359 #include <ieeefp.h>
18360 #endif
18361
18362 int
18363 main ()
18364 {
18365 _finitef(0);
18366 ;
18367 return 0;
18368 }
18369 _ACEOF
18370 rm -f conftest.$ac_objext
18371 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18372 (eval $ac_compile) 2>conftest.er1
18373 ac_status=$?
18374 grep -v '^ *+' conftest.er1 >conftest.err
18375 rm -f conftest.er1
18376 cat conftest.err >&5
18377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18378 (exit $ac_status); } &&
18379 { ac_try='test -z "$ac_cxx_werror_flag"
18380 || test ! -s conftest.err'
18381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18382 (eval $ac_try) 2>&5
18383 ac_status=$?
18384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18385 (exit $ac_status); }; } &&
18386 { ac_try='test -s conftest.$ac_objext'
18387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18388 (eval $ac_try) 2>&5
18389 ac_status=$?
18390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18391 (exit $ac_status); }; }; then
18392 glibcxx_cv_func__finitef_use=yes
18393 else
18394 echo "$as_me: failed program was:" >&5
18395 sed 's/^/| /' conftest.$ac_ext >&5
18396
18397 glibcxx_cv_func__finitef_use=no
18398 fi
18399 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18400 ac_ext=c
18401 ac_cpp='$CPP $CPPFLAGS'
18402 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18403 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18404 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18405
18406
18407 fi
18408
18409 fi
18410 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitef_use" >&5
18411 echo "${ECHO_T}$glibcxx_cv_func__finitef_use" >&6
18412
18413 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
18414
18415 for ac_func in _finitef
18416 do
18417 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18418 echo "$as_me:$LINENO: checking for $ac_func" >&5
18419 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18420 if eval "test \"\${$as_ac_var+set}\" = set"; then
18421 echo $ECHO_N "(cached) $ECHO_C" >&6
18422 else
18423 if test x$gcc_no_link = xyes; then
18424 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18425 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18426 { (exit 1); exit 1; }; }
18427 fi
18428 cat >conftest.$ac_ext <<_ACEOF
18429 /* confdefs.h. */
18430 _ACEOF
18431 cat confdefs.h >>conftest.$ac_ext
18432 cat >>conftest.$ac_ext <<_ACEOF
18433 /* end confdefs.h. */
18434 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18435 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18436 #define $ac_func innocuous_$ac_func
18437
18438 /* System header to define __stub macros and hopefully few prototypes,
18439 which can conflict with char $ac_func (); below.
18440 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18441 <limits.h> exists even on freestanding compilers. */
18442
18443 #ifdef __STDC__
18444 # include <limits.h>
18445 #else
18446 # include <assert.h>
18447 #endif
18448
18449 #undef $ac_func
18450
18451 /* Override any gcc2 internal prototype to avoid an error. */
18452 #ifdef __cplusplus
18453 extern "C"
18454 {
18455 #endif
18456 /* We use char because int might match the return type of a gcc2
18457 builtin and then its argument prototype would still apply. */
18458 char $ac_func ();
18459 /* The GNU C library defines this for functions which it implements
18460 to always fail with ENOSYS. Some functions are actually named
18461 something starting with __ and the normal name is an alias. */
18462 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18463 choke me
18464 #else
18465 char (*f) () = $ac_func;
18466 #endif
18467 #ifdef __cplusplus
18468 }
18469 #endif
18470
18471 int
18472 main ()
18473 {
18474 return f != $ac_func;
18475 ;
18476 return 0;
18477 }
18478 _ACEOF
18479 rm -f conftest.$ac_objext conftest$ac_exeext
18480 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18481 (eval $ac_link) 2>conftest.er1
18482 ac_status=$?
18483 grep -v '^ *+' conftest.er1 >conftest.err
18484 rm -f conftest.er1
18485 cat conftest.err >&5
18486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18487 (exit $ac_status); } &&
18488 { ac_try='test -z "$ac_c_werror_flag"
18489 || test ! -s conftest.err'
18490 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18491 (eval $ac_try) 2>&5
18492 ac_status=$?
18493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18494 (exit $ac_status); }; } &&
18495 { ac_try='test -s conftest$ac_exeext'
18496 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18497 (eval $ac_try) 2>&5
18498 ac_status=$?
18499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18500 (exit $ac_status); }; }; then
18501 eval "$as_ac_var=yes"
18502 else
18503 echo "$as_me: failed program was:" >&5
18504 sed 's/^/| /' conftest.$ac_ext >&5
18505
18506 eval "$as_ac_var=no"
18507 fi
18508 rm -f conftest.err conftest.$ac_objext \
18509 conftest$ac_exeext conftest.$ac_ext
18510 fi
18511 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18512 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18513 if test `eval echo '${'$as_ac_var'}'` = yes; then
18514 cat >>confdefs.h <<_ACEOF
18515 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18516 _ACEOF
18517
18518 fi
18519 done
18520
18521 fi
18522 fi
18523
18524
18525
18526
18527
18528
18529 echo "$as_me:$LINENO: checking for long double trig functions" >&5
18530 echo $ECHO_N "checking for long double trig functions... $ECHO_C" >&6
18531 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then
18532 echo $ECHO_N "(cached) $ECHO_C" >&6
18533 else
18534
18535
18536
18537 ac_ext=cc
18538 ac_cpp='$CXXCPP $CPPFLAGS'
18539 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18540 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18541 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18542
18543 cat >conftest.$ac_ext <<_ACEOF
18544 /* confdefs.h. */
18545 _ACEOF
18546 cat confdefs.h >>conftest.$ac_ext
18547 cat >>conftest.$ac_ext <<_ACEOF
18548 /* end confdefs.h. */
18549 #include <math.h>
18550 int
18551 main ()
18552 {
18553 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
18554 ;
18555 return 0;
18556 }
18557 _ACEOF
18558 rm -f conftest.$ac_objext
18559 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18560 (eval $ac_compile) 2>conftest.er1
18561 ac_status=$?
18562 grep -v '^ *+' conftest.er1 >conftest.err
18563 rm -f conftest.er1
18564 cat conftest.err >&5
18565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18566 (exit $ac_status); } &&
18567 { ac_try='test -z "$ac_cxx_werror_flag"
18568 || test ! -s conftest.err'
18569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18570 (eval $ac_try) 2>&5
18571 ac_status=$?
18572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18573 (exit $ac_status); }; } &&
18574 { ac_try='test -s conftest.$ac_objext'
18575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18576 (eval $ac_try) 2>&5
18577 ac_status=$?
18578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18579 (exit $ac_status); }; }; then
18580 glibcxx_cv_func_long_double_trig_use=yes
18581 else
18582 echo "$as_me: failed program was:" >&5
18583 sed 's/^/| /' conftest.$ac_ext >&5
18584
18585 glibcxx_cv_func_long_double_trig_use=no
18586 fi
18587 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18588 ac_ext=c
18589 ac_cpp='$CPP $CPPFLAGS'
18590 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18591 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18592 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18593
18594 fi
18595
18596 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_trig_use" >&5
18597 echo "${ECHO_T}$glibcxx_cv_func_long_double_trig_use" >&6
18598 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
18599
18600
18601
18602
18603
18604
18605
18606
18607
18608 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
18609 do
18610 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18611 echo "$as_me:$LINENO: checking for $ac_func" >&5
18612 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18613 if eval "test \"\${$as_ac_var+set}\" = set"; then
18614 echo $ECHO_N "(cached) $ECHO_C" >&6
18615 else
18616 if test x$gcc_no_link = xyes; then
18617 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18618 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18619 { (exit 1); exit 1; }; }
18620 fi
18621 cat >conftest.$ac_ext <<_ACEOF
18622 /* confdefs.h. */
18623 _ACEOF
18624 cat confdefs.h >>conftest.$ac_ext
18625 cat >>conftest.$ac_ext <<_ACEOF
18626 /* end confdefs.h. */
18627 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18628 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18629 #define $ac_func innocuous_$ac_func
18630
18631 /* System header to define __stub macros and hopefully few prototypes,
18632 which can conflict with char $ac_func (); below.
18633 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18634 <limits.h> exists even on freestanding compilers. */
18635
18636 #ifdef __STDC__
18637 # include <limits.h>
18638 #else
18639 # include <assert.h>
18640 #endif
18641
18642 #undef $ac_func
18643
18644 /* Override any gcc2 internal prototype to avoid an error. */
18645 #ifdef __cplusplus
18646 extern "C"
18647 {
18648 #endif
18649 /* We use char because int might match the return type of a gcc2
18650 builtin and then its argument prototype would still apply. */
18651 char $ac_func ();
18652 /* The GNU C library defines this for functions which it implements
18653 to always fail with ENOSYS. Some functions are actually named
18654 something starting with __ and the normal name is an alias. */
18655 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18656 choke me
18657 #else
18658 char (*f) () = $ac_func;
18659 #endif
18660 #ifdef __cplusplus
18661 }
18662 #endif
18663
18664 int
18665 main ()
18666 {
18667 return f != $ac_func;
18668 ;
18669 return 0;
18670 }
18671 _ACEOF
18672 rm -f conftest.$ac_objext conftest$ac_exeext
18673 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18674 (eval $ac_link) 2>conftest.er1
18675 ac_status=$?
18676 grep -v '^ *+' conftest.er1 >conftest.err
18677 rm -f conftest.er1
18678 cat conftest.err >&5
18679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18680 (exit $ac_status); } &&
18681 { ac_try='test -z "$ac_c_werror_flag"
18682 || test ! -s conftest.err'
18683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18684 (eval $ac_try) 2>&5
18685 ac_status=$?
18686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18687 (exit $ac_status); }; } &&
18688 { ac_try='test -s conftest$ac_exeext'
18689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18690 (eval $ac_try) 2>&5
18691 ac_status=$?
18692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18693 (exit $ac_status); }; }; then
18694 eval "$as_ac_var=yes"
18695 else
18696 echo "$as_me: failed program was:" >&5
18697 sed 's/^/| /' conftest.$ac_ext >&5
18698
18699 eval "$as_ac_var=no"
18700 fi
18701 rm -f conftest.err conftest.$ac_objext \
18702 conftest$ac_exeext conftest.$ac_ext
18703 fi
18704 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18705 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18706 if test `eval echo '${'$as_ac_var'}'` = yes; then
18707 cat >>confdefs.h <<_ACEOF
18708 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18709 _ACEOF
18710
18711 fi
18712 done
18713
18714 else
18715 echo "$as_me:$LINENO: checking for _long double trig functions" >&5
18716 echo $ECHO_N "checking for _long double trig functions... $ECHO_C" >&6
18717 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then
18718 echo $ECHO_N "(cached) $ECHO_C" >&6
18719 else
18720
18721
18722
18723 ac_ext=cc
18724 ac_cpp='$CXXCPP $CPPFLAGS'
18725 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18726 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18727 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18728
18729 cat >conftest.$ac_ext <<_ACEOF
18730 /* confdefs.h. */
18731 _ACEOF
18732 cat confdefs.h >>conftest.$ac_ext
18733 cat >>conftest.$ac_ext <<_ACEOF
18734 /* end confdefs.h. */
18735 #include <math.h>
18736 int
18737 main ()
18738 {
18739 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
18740 ;
18741 return 0;
18742 }
18743 _ACEOF
18744 rm -f conftest.$ac_objext
18745 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18746 (eval $ac_compile) 2>conftest.er1
18747 ac_status=$?
18748 grep -v '^ *+' conftest.er1 >conftest.err
18749 rm -f conftest.er1
18750 cat conftest.err >&5
18751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18752 (exit $ac_status); } &&
18753 { ac_try='test -z "$ac_cxx_werror_flag"
18754 || test ! -s conftest.err'
18755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18756 (eval $ac_try) 2>&5
18757 ac_status=$?
18758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18759 (exit $ac_status); }; } &&
18760 { ac_try='test -s conftest.$ac_objext'
18761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18762 (eval $ac_try) 2>&5
18763 ac_status=$?
18764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18765 (exit $ac_status); }; }; then
18766 glibcxx_cv_func__long_double_trig_use=yes
18767 else
18768 echo "$as_me: failed program was:" >&5
18769 sed 's/^/| /' conftest.$ac_ext >&5
18770
18771 glibcxx_cv_func__long_double_trig_use=no
18772 fi
18773 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18774 ac_ext=c
18775 ac_cpp='$CPP $CPPFLAGS'
18776 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18777 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18778 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18779
18780 fi
18781
18782 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_trig_use" >&5
18783 echo "${ECHO_T}$glibcxx_cv_func__long_double_trig_use" >&6
18784 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
18785
18786
18787
18788
18789
18790
18791
18792
18793
18794 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
18795 do
18796 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18797 echo "$as_me:$LINENO: checking for $ac_func" >&5
18798 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18799 if eval "test \"\${$as_ac_var+set}\" = set"; then
18800 echo $ECHO_N "(cached) $ECHO_C" >&6
18801 else
18802 if test x$gcc_no_link = xyes; then
18803 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18804 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18805 { (exit 1); exit 1; }; }
18806 fi
18807 cat >conftest.$ac_ext <<_ACEOF
18808 /* confdefs.h. */
18809 _ACEOF
18810 cat confdefs.h >>conftest.$ac_ext
18811 cat >>conftest.$ac_ext <<_ACEOF
18812 /* end confdefs.h. */
18813 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18814 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18815 #define $ac_func innocuous_$ac_func
18816
18817 /* System header to define __stub macros and hopefully few prototypes,
18818 which can conflict with char $ac_func (); below.
18819 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18820 <limits.h> exists even on freestanding compilers. */
18821
18822 #ifdef __STDC__
18823 # include <limits.h>
18824 #else
18825 # include <assert.h>
18826 #endif
18827
18828 #undef $ac_func
18829
18830 /* Override any gcc2 internal prototype to avoid an error. */
18831 #ifdef __cplusplus
18832 extern "C"
18833 {
18834 #endif
18835 /* We use char because int might match the return type of a gcc2
18836 builtin and then its argument prototype would still apply. */
18837 char $ac_func ();
18838 /* The GNU C library defines this for functions which it implements
18839 to always fail with ENOSYS. Some functions are actually named
18840 something starting with __ and the normal name is an alias. */
18841 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18842 choke me
18843 #else
18844 char (*f) () = $ac_func;
18845 #endif
18846 #ifdef __cplusplus
18847 }
18848 #endif
18849
18850 int
18851 main ()
18852 {
18853 return f != $ac_func;
18854 ;
18855 return 0;
18856 }
18857 _ACEOF
18858 rm -f conftest.$ac_objext conftest$ac_exeext
18859 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18860 (eval $ac_link) 2>conftest.er1
18861 ac_status=$?
18862 grep -v '^ *+' conftest.er1 >conftest.err
18863 rm -f conftest.er1
18864 cat conftest.err >&5
18865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18866 (exit $ac_status); } &&
18867 { ac_try='test -z "$ac_c_werror_flag"
18868 || test ! -s conftest.err'
18869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18870 (eval $ac_try) 2>&5
18871 ac_status=$?
18872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18873 (exit $ac_status); }; } &&
18874 { ac_try='test -s conftest$ac_exeext'
18875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18876 (eval $ac_try) 2>&5
18877 ac_status=$?
18878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18879 (exit $ac_status); }; }; then
18880 eval "$as_ac_var=yes"
18881 else
18882 echo "$as_me: failed program was:" >&5
18883 sed 's/^/| /' conftest.$ac_ext >&5
18884
18885 eval "$as_ac_var=no"
18886 fi
18887 rm -f conftest.err conftest.$ac_objext \
18888 conftest$ac_exeext conftest.$ac_ext
18889 fi
18890 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18891 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18892 if test `eval echo '${'$as_ac_var'}'` = yes; then
18893 cat >>confdefs.h <<_ACEOF
18894 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18895 _ACEOF
18896
18897 fi
18898 done
18899
18900 fi
18901 fi
18902
18903
18904
18905
18906
18907
18908
18909
18910
18911
18912
18913
18914
18915
18916 echo "$as_me:$LINENO: checking for long double round functions" >&5
18917 echo $ECHO_N "checking for long double round functions... $ECHO_C" >&6
18918 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then
18919 echo $ECHO_N "(cached) $ECHO_C" >&6
18920 else
18921
18922
18923
18924 ac_ext=cc
18925 ac_cpp='$CXXCPP $CPPFLAGS'
18926 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18927 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18928 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18929
18930 cat >conftest.$ac_ext <<_ACEOF
18931 /* confdefs.h. */
18932 _ACEOF
18933 cat confdefs.h >>conftest.$ac_ext
18934 cat >>conftest.$ac_ext <<_ACEOF
18935 /* end confdefs.h. */
18936 #include <math.h>
18937 int
18938 main ()
18939 {
18940 ceill (0); floorl (0);
18941 ;
18942 return 0;
18943 }
18944 _ACEOF
18945 rm -f conftest.$ac_objext
18946 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18947 (eval $ac_compile) 2>conftest.er1
18948 ac_status=$?
18949 grep -v '^ *+' conftest.er1 >conftest.err
18950 rm -f conftest.er1
18951 cat conftest.err >&5
18952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18953 (exit $ac_status); } &&
18954 { ac_try='test -z "$ac_cxx_werror_flag"
18955 || test ! -s conftest.err'
18956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18957 (eval $ac_try) 2>&5
18958 ac_status=$?
18959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18960 (exit $ac_status); }; } &&
18961 { ac_try='test -s conftest.$ac_objext'
18962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18963 (eval $ac_try) 2>&5
18964 ac_status=$?
18965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18966 (exit $ac_status); }; }; then
18967 glibcxx_cv_func_long_double_round_use=yes
18968 else
18969 echo "$as_me: failed program was:" >&5
18970 sed 's/^/| /' conftest.$ac_ext >&5
18971
18972 glibcxx_cv_func_long_double_round_use=no
18973 fi
18974 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18975 ac_ext=c
18976 ac_cpp='$CPP $CPPFLAGS'
18977 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18978 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18979 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18980
18981 fi
18982
18983 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_round_use" >&5
18984 echo "${ECHO_T}$glibcxx_cv_func_long_double_round_use" >&6
18985 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
18986
18987
18988 for ac_func in ceill floorl
18989 do
18990 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18991 echo "$as_me:$LINENO: checking for $ac_func" >&5
18992 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18993 if eval "test \"\${$as_ac_var+set}\" = set"; then
18994 echo $ECHO_N "(cached) $ECHO_C" >&6
18995 else
18996 if test x$gcc_no_link = xyes; then
18997 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18998 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18999 { (exit 1); exit 1; }; }
19000 fi
19001 cat >conftest.$ac_ext <<_ACEOF
19002 /* confdefs.h. */
19003 _ACEOF
19004 cat confdefs.h >>conftest.$ac_ext
19005 cat >>conftest.$ac_ext <<_ACEOF
19006 /* end confdefs.h. */
19007 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19008 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19009 #define $ac_func innocuous_$ac_func
19010
19011 /* System header to define __stub macros and hopefully few prototypes,
19012 which can conflict with char $ac_func (); below.
19013 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19014 <limits.h> exists even on freestanding compilers. */
19015
19016 #ifdef __STDC__
19017 # include <limits.h>
19018 #else
19019 # include <assert.h>
19020 #endif
19021
19022 #undef $ac_func
19023
19024 /* Override any gcc2 internal prototype to avoid an error. */
19025 #ifdef __cplusplus
19026 extern "C"
19027 {
19028 #endif
19029 /* We use char because int might match the return type of a gcc2
19030 builtin and then its argument prototype would still apply. */
19031 char $ac_func ();
19032 /* The GNU C library defines this for functions which it implements
19033 to always fail with ENOSYS. Some functions are actually named
19034 something starting with __ and the normal name is an alias. */
19035 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19036 choke me
19037 #else
19038 char (*f) () = $ac_func;
19039 #endif
19040 #ifdef __cplusplus
19041 }
19042 #endif
19043
19044 int
19045 main ()
19046 {
19047 return f != $ac_func;
19048 ;
19049 return 0;
19050 }
19051 _ACEOF
19052 rm -f conftest.$ac_objext conftest$ac_exeext
19053 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19054 (eval $ac_link) 2>conftest.er1
19055 ac_status=$?
19056 grep -v '^ *+' conftest.er1 >conftest.err
19057 rm -f conftest.er1
19058 cat conftest.err >&5
19059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19060 (exit $ac_status); } &&
19061 { ac_try='test -z "$ac_c_werror_flag"
19062 || test ! -s conftest.err'
19063 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19064 (eval $ac_try) 2>&5
19065 ac_status=$?
19066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19067 (exit $ac_status); }; } &&
19068 { ac_try='test -s conftest$ac_exeext'
19069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19070 (eval $ac_try) 2>&5
19071 ac_status=$?
19072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19073 (exit $ac_status); }; }; then
19074 eval "$as_ac_var=yes"
19075 else
19076 echo "$as_me: failed program was:" >&5
19077 sed 's/^/| /' conftest.$ac_ext >&5
19078
19079 eval "$as_ac_var=no"
19080 fi
19081 rm -f conftest.err conftest.$ac_objext \
19082 conftest$ac_exeext conftest.$ac_ext
19083 fi
19084 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19085 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19086 if test `eval echo '${'$as_ac_var'}'` = yes; then
19087 cat >>confdefs.h <<_ACEOF
19088 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19089 _ACEOF
19090
19091 fi
19092 done
19093
19094 else
19095 echo "$as_me:$LINENO: checking for _long double round functions" >&5
19096 echo $ECHO_N "checking for _long double round functions... $ECHO_C" >&6
19097 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then
19098 echo $ECHO_N "(cached) $ECHO_C" >&6
19099 else
19100
19101
19102
19103 ac_ext=cc
19104 ac_cpp='$CXXCPP $CPPFLAGS'
19105 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19106 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19107 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19108
19109 cat >conftest.$ac_ext <<_ACEOF
19110 /* confdefs.h. */
19111 _ACEOF
19112 cat confdefs.h >>conftest.$ac_ext
19113 cat >>conftest.$ac_ext <<_ACEOF
19114 /* end confdefs.h. */
19115 #include <math.h>
19116 int
19117 main ()
19118 {
19119 _ceill (0); _floorl (0);
19120 ;
19121 return 0;
19122 }
19123 _ACEOF
19124 rm -f conftest.$ac_objext
19125 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19126 (eval $ac_compile) 2>conftest.er1
19127 ac_status=$?
19128 grep -v '^ *+' conftest.er1 >conftest.err
19129 rm -f conftest.er1
19130 cat conftest.err >&5
19131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19132 (exit $ac_status); } &&
19133 { ac_try='test -z "$ac_cxx_werror_flag"
19134 || test ! -s conftest.err'
19135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19136 (eval $ac_try) 2>&5
19137 ac_status=$?
19138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19139 (exit $ac_status); }; } &&
19140 { ac_try='test -s conftest.$ac_objext'
19141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19142 (eval $ac_try) 2>&5
19143 ac_status=$?
19144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19145 (exit $ac_status); }; }; then
19146 glibcxx_cv_func__long_double_round_use=yes
19147 else
19148 echo "$as_me: failed program was:" >&5
19149 sed 's/^/| /' conftest.$ac_ext >&5
19150
19151 glibcxx_cv_func__long_double_round_use=no
19152 fi
19153 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19154 ac_ext=c
19155 ac_cpp='$CPP $CPPFLAGS'
19156 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19157 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19158 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19159
19160 fi
19161
19162 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_round_use" >&5
19163 echo "${ECHO_T}$glibcxx_cv_func__long_double_round_use" >&6
19164 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
19165
19166
19167 for ac_func in _ceill _floorl
19168 do
19169 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19170 echo "$as_me:$LINENO: checking for $ac_func" >&5
19171 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19172 if eval "test \"\${$as_ac_var+set}\" = set"; then
19173 echo $ECHO_N "(cached) $ECHO_C" >&6
19174 else
19175 if test x$gcc_no_link = xyes; then
19176 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19177 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19178 { (exit 1); exit 1; }; }
19179 fi
19180 cat >conftest.$ac_ext <<_ACEOF
19181 /* confdefs.h. */
19182 _ACEOF
19183 cat confdefs.h >>conftest.$ac_ext
19184 cat >>conftest.$ac_ext <<_ACEOF
19185 /* end confdefs.h. */
19186 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19187 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19188 #define $ac_func innocuous_$ac_func
19189
19190 /* System header to define __stub macros and hopefully few prototypes,
19191 which can conflict with char $ac_func (); below.
19192 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19193 <limits.h> exists even on freestanding compilers. */
19194
19195 #ifdef __STDC__
19196 # include <limits.h>
19197 #else
19198 # include <assert.h>
19199 #endif
19200
19201 #undef $ac_func
19202
19203 /* Override any gcc2 internal prototype to avoid an error. */
19204 #ifdef __cplusplus
19205 extern "C"
19206 {
19207 #endif
19208 /* We use char because int might match the return type of a gcc2
19209 builtin and then its argument prototype would still apply. */
19210 char $ac_func ();
19211 /* The GNU C library defines this for functions which it implements
19212 to always fail with ENOSYS. Some functions are actually named
19213 something starting with __ and the normal name is an alias. */
19214 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19215 choke me
19216 #else
19217 char (*f) () = $ac_func;
19218 #endif
19219 #ifdef __cplusplus
19220 }
19221 #endif
19222
19223 int
19224 main ()
19225 {
19226 return f != $ac_func;
19227 ;
19228 return 0;
19229 }
19230 _ACEOF
19231 rm -f conftest.$ac_objext conftest$ac_exeext
19232 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19233 (eval $ac_link) 2>conftest.er1
19234 ac_status=$?
19235 grep -v '^ *+' conftest.er1 >conftest.err
19236 rm -f conftest.er1
19237 cat conftest.err >&5
19238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19239 (exit $ac_status); } &&
19240 { ac_try='test -z "$ac_c_werror_flag"
19241 || test ! -s conftest.err'
19242 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19243 (eval $ac_try) 2>&5
19244 ac_status=$?
19245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19246 (exit $ac_status); }; } &&
19247 { ac_try='test -s conftest$ac_exeext'
19248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19249 (eval $ac_try) 2>&5
19250 ac_status=$?
19251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19252 (exit $ac_status); }; }; then
19253 eval "$as_ac_var=yes"
19254 else
19255 echo "$as_me: failed program was:" >&5
19256 sed 's/^/| /' conftest.$ac_ext >&5
19257
19258 eval "$as_ac_var=no"
19259 fi
19260 rm -f conftest.err conftest.$ac_objext \
19261 conftest$ac_exeext conftest.$ac_ext
19262 fi
19263 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19264 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19265 if test `eval echo '${'$as_ac_var'}'` = yes; then
19266 cat >>confdefs.h <<_ACEOF
19267 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19268 _ACEOF
19269
19270 fi
19271 done
19272
19273 fi
19274 fi
19275
19276
19277
19278
19279
19280
19281
19282
19283 echo "$as_me:$LINENO: checking for isnanl declaration" >&5
19284 echo $ECHO_N "checking for isnanl declaration... $ECHO_C" >&6
19285 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
19286 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then
19287 echo $ECHO_N "(cached) $ECHO_C" >&6
19288 else
19289
19290
19291
19292 ac_ext=cc
19293 ac_cpp='$CXXCPP $CPPFLAGS'
19294 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19295 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19296 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19297
19298 cat >conftest.$ac_ext <<_ACEOF
19299 /* confdefs.h. */
19300 _ACEOF
19301 cat confdefs.h >>conftest.$ac_ext
19302 cat >>conftest.$ac_ext <<_ACEOF
19303 /* end confdefs.h. */
19304 #include <math.h>
19305 #ifdef HAVE_IEEEFP_H
19306 #include <ieeefp.h>
19307 #endif
19308
19309 int
19310 main ()
19311 {
19312 isnanl(0);
19313 ;
19314 return 0;
19315 }
19316 _ACEOF
19317 rm -f conftest.$ac_objext
19318 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19319 (eval $ac_compile) 2>conftest.er1
19320 ac_status=$?
19321 grep -v '^ *+' conftest.er1 >conftest.err
19322 rm -f conftest.er1
19323 cat conftest.err >&5
19324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19325 (exit $ac_status); } &&
19326 { ac_try='test -z "$ac_cxx_werror_flag"
19327 || test ! -s conftest.err'
19328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19329 (eval $ac_try) 2>&5
19330 ac_status=$?
19331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19332 (exit $ac_status); }; } &&
19333 { ac_try='test -s conftest.$ac_objext'
19334 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19335 (eval $ac_try) 2>&5
19336 ac_status=$?
19337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19338 (exit $ac_status); }; }; then
19339 glibcxx_cv_func_isnanl_use=yes
19340 else
19341 echo "$as_me: failed program was:" >&5
19342 sed 's/^/| /' conftest.$ac_ext >&5
19343
19344 glibcxx_cv_func_isnanl_use=no
19345 fi
19346 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19347 ac_ext=c
19348 ac_cpp='$CPP $CPPFLAGS'
19349 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19350 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19351 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19352
19353
19354 fi
19355
19356 fi
19357 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanl_use" >&5
19358 echo "${ECHO_T}$glibcxx_cv_func_isnanl_use" >&6
19359
19360 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
19361
19362 for ac_func in isnanl
19363 do
19364 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19365 echo "$as_me:$LINENO: checking for $ac_func" >&5
19366 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19367 if eval "test \"\${$as_ac_var+set}\" = set"; then
19368 echo $ECHO_N "(cached) $ECHO_C" >&6
19369 else
19370 if test x$gcc_no_link = xyes; then
19371 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19372 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19373 { (exit 1); exit 1; }; }
19374 fi
19375 cat >conftest.$ac_ext <<_ACEOF
19376 /* confdefs.h. */
19377 _ACEOF
19378 cat confdefs.h >>conftest.$ac_ext
19379 cat >>conftest.$ac_ext <<_ACEOF
19380 /* end confdefs.h. */
19381 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19382 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19383 #define $ac_func innocuous_$ac_func
19384
19385 /* System header to define __stub macros and hopefully few prototypes,
19386 which can conflict with char $ac_func (); below.
19387 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19388 <limits.h> exists even on freestanding compilers. */
19389
19390 #ifdef __STDC__
19391 # include <limits.h>
19392 #else
19393 # include <assert.h>
19394 #endif
19395
19396 #undef $ac_func
19397
19398 /* Override any gcc2 internal prototype to avoid an error. */
19399 #ifdef __cplusplus
19400 extern "C"
19401 {
19402 #endif
19403 /* We use char because int might match the return type of a gcc2
19404 builtin and then its argument prototype would still apply. */
19405 char $ac_func ();
19406 /* The GNU C library defines this for functions which it implements
19407 to always fail with ENOSYS. Some functions are actually named
19408 something starting with __ and the normal name is an alias. */
19409 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19410 choke me
19411 #else
19412 char (*f) () = $ac_func;
19413 #endif
19414 #ifdef __cplusplus
19415 }
19416 #endif
19417
19418 int
19419 main ()
19420 {
19421 return f != $ac_func;
19422 ;
19423 return 0;
19424 }
19425 _ACEOF
19426 rm -f conftest.$ac_objext conftest$ac_exeext
19427 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19428 (eval $ac_link) 2>conftest.er1
19429 ac_status=$?
19430 grep -v '^ *+' conftest.er1 >conftest.err
19431 rm -f conftest.er1
19432 cat conftest.err >&5
19433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19434 (exit $ac_status); } &&
19435 { ac_try='test -z "$ac_c_werror_flag"
19436 || test ! -s conftest.err'
19437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19438 (eval $ac_try) 2>&5
19439 ac_status=$?
19440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19441 (exit $ac_status); }; } &&
19442 { ac_try='test -s conftest$ac_exeext'
19443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19444 (eval $ac_try) 2>&5
19445 ac_status=$?
19446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19447 (exit $ac_status); }; }; then
19448 eval "$as_ac_var=yes"
19449 else
19450 echo "$as_me: failed program was:" >&5
19451 sed 's/^/| /' conftest.$ac_ext >&5
19452
19453 eval "$as_ac_var=no"
19454 fi
19455 rm -f conftest.err conftest.$ac_objext \
19456 conftest$ac_exeext conftest.$ac_ext
19457 fi
19458 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19459 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19460 if test `eval echo '${'$as_ac_var'}'` = yes; then
19461 cat >>confdefs.h <<_ACEOF
19462 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19463 _ACEOF
19464
19465 fi
19466 done
19467
19468 else
19469
19470 echo "$as_me:$LINENO: checking for _isnanl declaration" >&5
19471 echo $ECHO_N "checking for _isnanl declaration... $ECHO_C" >&6
19472 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
19473 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then
19474 echo $ECHO_N "(cached) $ECHO_C" >&6
19475 else
19476
19477
19478
19479 ac_ext=cc
19480 ac_cpp='$CXXCPP $CPPFLAGS'
19481 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19482 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19483 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19484
19485 cat >conftest.$ac_ext <<_ACEOF
19486 /* confdefs.h. */
19487 _ACEOF
19488 cat confdefs.h >>conftest.$ac_ext
19489 cat >>conftest.$ac_ext <<_ACEOF
19490 /* end confdefs.h. */
19491 #include <math.h>
19492 #ifdef HAVE_IEEEFP_H
19493 #include <ieeefp.h>
19494 #endif
19495
19496 int
19497 main ()
19498 {
19499 _isnanl(0);
19500 ;
19501 return 0;
19502 }
19503 _ACEOF
19504 rm -f conftest.$ac_objext
19505 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19506 (eval $ac_compile) 2>conftest.er1
19507 ac_status=$?
19508 grep -v '^ *+' conftest.er1 >conftest.err
19509 rm -f conftest.er1
19510 cat conftest.err >&5
19511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19512 (exit $ac_status); } &&
19513 { ac_try='test -z "$ac_cxx_werror_flag"
19514 || test ! -s conftest.err'
19515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19516 (eval $ac_try) 2>&5
19517 ac_status=$?
19518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19519 (exit $ac_status); }; } &&
19520 { ac_try='test -s conftest.$ac_objext'
19521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19522 (eval $ac_try) 2>&5
19523 ac_status=$?
19524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19525 (exit $ac_status); }; }; then
19526 glibcxx_cv_func__isnanl_use=yes
19527 else
19528 echo "$as_me: failed program was:" >&5
19529 sed 's/^/| /' conftest.$ac_ext >&5
19530
19531 glibcxx_cv_func__isnanl_use=no
19532 fi
19533 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19534 ac_ext=c
19535 ac_cpp='$CPP $CPPFLAGS'
19536 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19537 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19538 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19539
19540
19541 fi
19542
19543 fi
19544 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanl_use" >&5
19545 echo "${ECHO_T}$glibcxx_cv_func__isnanl_use" >&6
19546
19547 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
19548
19549 for ac_func in _isnanl
19550 do
19551 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19552 echo "$as_me:$LINENO: checking for $ac_func" >&5
19553 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19554 if eval "test \"\${$as_ac_var+set}\" = set"; then
19555 echo $ECHO_N "(cached) $ECHO_C" >&6
19556 else
19557 if test x$gcc_no_link = xyes; then
19558 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19559 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19560 { (exit 1); exit 1; }; }
19561 fi
19562 cat >conftest.$ac_ext <<_ACEOF
19563 /* confdefs.h. */
19564 _ACEOF
19565 cat confdefs.h >>conftest.$ac_ext
19566 cat >>conftest.$ac_ext <<_ACEOF
19567 /* end confdefs.h. */
19568 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19569 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19570 #define $ac_func innocuous_$ac_func
19571
19572 /* System header to define __stub macros and hopefully few prototypes,
19573 which can conflict with char $ac_func (); below.
19574 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19575 <limits.h> exists even on freestanding compilers. */
19576
19577 #ifdef __STDC__
19578 # include <limits.h>
19579 #else
19580 # include <assert.h>
19581 #endif
19582
19583 #undef $ac_func
19584
19585 /* Override any gcc2 internal prototype to avoid an error. */
19586 #ifdef __cplusplus
19587 extern "C"
19588 {
19589 #endif
19590 /* We use char because int might match the return type of a gcc2
19591 builtin and then its argument prototype would still apply. */
19592 char $ac_func ();
19593 /* The GNU C library defines this for functions which it implements
19594 to always fail with ENOSYS. Some functions are actually named
19595 something starting with __ and the normal name is an alias. */
19596 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19597 choke me
19598 #else
19599 char (*f) () = $ac_func;
19600 #endif
19601 #ifdef __cplusplus
19602 }
19603 #endif
19604
19605 int
19606 main ()
19607 {
19608 return f != $ac_func;
19609 ;
19610 return 0;
19611 }
19612 _ACEOF
19613 rm -f conftest.$ac_objext conftest$ac_exeext
19614 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19615 (eval $ac_link) 2>conftest.er1
19616 ac_status=$?
19617 grep -v '^ *+' conftest.er1 >conftest.err
19618 rm -f conftest.er1
19619 cat conftest.err >&5
19620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19621 (exit $ac_status); } &&
19622 { ac_try='test -z "$ac_c_werror_flag"
19623 || test ! -s conftest.err'
19624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19625 (eval $ac_try) 2>&5
19626 ac_status=$?
19627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19628 (exit $ac_status); }; } &&
19629 { ac_try='test -s conftest$ac_exeext'
19630 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19631 (eval $ac_try) 2>&5
19632 ac_status=$?
19633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19634 (exit $ac_status); }; }; then
19635 eval "$as_ac_var=yes"
19636 else
19637 echo "$as_me: failed program was:" >&5
19638 sed 's/^/| /' conftest.$ac_ext >&5
19639
19640 eval "$as_ac_var=no"
19641 fi
19642 rm -f conftest.err conftest.$ac_objext \
19643 conftest$ac_exeext conftest.$ac_ext
19644 fi
19645 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19646 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19647 if test `eval echo '${'$as_ac_var'}'` = yes; then
19648 cat >>confdefs.h <<_ACEOF
19649 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19650 _ACEOF
19651
19652 fi
19653 done
19654
19655 fi
19656 fi
19657
19658
19659
19660
19661
19662
19663 echo "$as_me:$LINENO: checking for isinfl declaration" >&5
19664 echo $ECHO_N "checking for isinfl declaration... $ECHO_C" >&6
19665 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
19666 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then
19667 echo $ECHO_N "(cached) $ECHO_C" >&6
19668 else
19669
19670
19671
19672 ac_ext=cc
19673 ac_cpp='$CXXCPP $CPPFLAGS'
19674 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19675 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19676 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19677
19678 cat >conftest.$ac_ext <<_ACEOF
19679 /* confdefs.h. */
19680 _ACEOF
19681 cat confdefs.h >>conftest.$ac_ext
19682 cat >>conftest.$ac_ext <<_ACEOF
19683 /* end confdefs.h. */
19684 #include <math.h>
19685 #ifdef HAVE_IEEEFP_H
19686 #include <ieeefp.h>
19687 #endif
19688
19689 int
19690 main ()
19691 {
19692 isinfl(0);
19693 ;
19694 return 0;
19695 }
19696 _ACEOF
19697 rm -f conftest.$ac_objext
19698 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19699 (eval $ac_compile) 2>conftest.er1
19700 ac_status=$?
19701 grep -v '^ *+' conftest.er1 >conftest.err
19702 rm -f conftest.er1
19703 cat conftest.err >&5
19704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19705 (exit $ac_status); } &&
19706 { ac_try='test -z "$ac_cxx_werror_flag"
19707 || test ! -s conftest.err'
19708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19709 (eval $ac_try) 2>&5
19710 ac_status=$?
19711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19712 (exit $ac_status); }; } &&
19713 { ac_try='test -s conftest.$ac_objext'
19714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19715 (eval $ac_try) 2>&5
19716 ac_status=$?
19717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19718 (exit $ac_status); }; }; then
19719 glibcxx_cv_func_isinfl_use=yes
19720 else
19721 echo "$as_me: failed program was:" >&5
19722 sed 's/^/| /' conftest.$ac_ext >&5
19723
19724 glibcxx_cv_func_isinfl_use=no
19725 fi
19726 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19727 ac_ext=c
19728 ac_cpp='$CPP $CPPFLAGS'
19729 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19730 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19731 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19732
19733
19734 fi
19735
19736 fi
19737 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinfl_use" >&5
19738 echo "${ECHO_T}$glibcxx_cv_func_isinfl_use" >&6
19739
19740 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
19741
19742 for ac_func in isinfl
19743 do
19744 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19745 echo "$as_me:$LINENO: checking for $ac_func" >&5
19746 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19747 if eval "test \"\${$as_ac_var+set}\" = set"; then
19748 echo $ECHO_N "(cached) $ECHO_C" >&6
19749 else
19750 if test x$gcc_no_link = xyes; then
19751 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19752 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19753 { (exit 1); exit 1; }; }
19754 fi
19755 cat >conftest.$ac_ext <<_ACEOF
19756 /* confdefs.h. */
19757 _ACEOF
19758 cat confdefs.h >>conftest.$ac_ext
19759 cat >>conftest.$ac_ext <<_ACEOF
19760 /* end confdefs.h. */
19761 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19762 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19763 #define $ac_func innocuous_$ac_func
19764
19765 /* System header to define __stub macros and hopefully few prototypes,
19766 which can conflict with char $ac_func (); below.
19767 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19768 <limits.h> exists even on freestanding compilers. */
19769
19770 #ifdef __STDC__
19771 # include <limits.h>
19772 #else
19773 # include <assert.h>
19774 #endif
19775
19776 #undef $ac_func
19777
19778 /* Override any gcc2 internal prototype to avoid an error. */
19779 #ifdef __cplusplus
19780 extern "C"
19781 {
19782 #endif
19783 /* We use char because int might match the return type of a gcc2
19784 builtin and then its argument prototype would still apply. */
19785 char $ac_func ();
19786 /* The GNU C library defines this for functions which it implements
19787 to always fail with ENOSYS. Some functions are actually named
19788 something starting with __ and the normal name is an alias. */
19789 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19790 choke me
19791 #else
19792 char (*f) () = $ac_func;
19793 #endif
19794 #ifdef __cplusplus
19795 }
19796 #endif
19797
19798 int
19799 main ()
19800 {
19801 return f != $ac_func;
19802 ;
19803 return 0;
19804 }
19805 _ACEOF
19806 rm -f conftest.$ac_objext conftest$ac_exeext
19807 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19808 (eval $ac_link) 2>conftest.er1
19809 ac_status=$?
19810 grep -v '^ *+' conftest.er1 >conftest.err
19811 rm -f conftest.er1
19812 cat conftest.err >&5
19813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19814 (exit $ac_status); } &&
19815 { ac_try='test -z "$ac_c_werror_flag"
19816 || test ! -s conftest.err'
19817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19818 (eval $ac_try) 2>&5
19819 ac_status=$?
19820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19821 (exit $ac_status); }; } &&
19822 { ac_try='test -s conftest$ac_exeext'
19823 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19824 (eval $ac_try) 2>&5
19825 ac_status=$?
19826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19827 (exit $ac_status); }; }; then
19828 eval "$as_ac_var=yes"
19829 else
19830 echo "$as_me: failed program was:" >&5
19831 sed 's/^/| /' conftest.$ac_ext >&5
19832
19833 eval "$as_ac_var=no"
19834 fi
19835 rm -f conftest.err conftest.$ac_objext \
19836 conftest$ac_exeext conftest.$ac_ext
19837 fi
19838 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19839 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19840 if test `eval echo '${'$as_ac_var'}'` = yes; then
19841 cat >>confdefs.h <<_ACEOF
19842 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19843 _ACEOF
19844
19845 fi
19846 done
19847
19848 else
19849
19850 echo "$as_me:$LINENO: checking for _isinfl declaration" >&5
19851 echo $ECHO_N "checking for _isinfl declaration... $ECHO_C" >&6
19852 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
19853 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then
19854 echo $ECHO_N "(cached) $ECHO_C" >&6
19855 else
19856
19857
19858
19859 ac_ext=cc
19860 ac_cpp='$CXXCPP $CPPFLAGS'
19861 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19862 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19863 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19864
19865 cat >conftest.$ac_ext <<_ACEOF
19866 /* confdefs.h. */
19867 _ACEOF
19868 cat confdefs.h >>conftest.$ac_ext
19869 cat >>conftest.$ac_ext <<_ACEOF
19870 /* end confdefs.h. */
19871 #include <math.h>
19872 #ifdef HAVE_IEEEFP_H
19873 #include <ieeefp.h>
19874 #endif
19875
19876 int
19877 main ()
19878 {
19879 _isinfl(0);
19880 ;
19881 return 0;
19882 }
19883 _ACEOF
19884 rm -f conftest.$ac_objext
19885 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19886 (eval $ac_compile) 2>conftest.er1
19887 ac_status=$?
19888 grep -v '^ *+' conftest.er1 >conftest.err
19889 rm -f conftest.er1
19890 cat conftest.err >&5
19891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19892 (exit $ac_status); } &&
19893 { ac_try='test -z "$ac_cxx_werror_flag"
19894 || test ! -s conftest.err'
19895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19896 (eval $ac_try) 2>&5
19897 ac_status=$?
19898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19899 (exit $ac_status); }; } &&
19900 { ac_try='test -s conftest.$ac_objext'
19901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19902 (eval $ac_try) 2>&5
19903 ac_status=$?
19904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19905 (exit $ac_status); }; }; then
19906 glibcxx_cv_func__isinfl_use=yes
19907 else
19908 echo "$as_me: failed program was:" >&5
19909 sed 's/^/| /' conftest.$ac_ext >&5
19910
19911 glibcxx_cv_func__isinfl_use=no
19912 fi
19913 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19914 ac_ext=c
19915 ac_cpp='$CPP $CPPFLAGS'
19916 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19917 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19918 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19919
19920
19921 fi
19922
19923 fi
19924 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinfl_use" >&5
19925 echo "${ECHO_T}$glibcxx_cv_func__isinfl_use" >&6
19926
19927 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
19928
19929 for ac_func in _isinfl
19930 do
19931 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19932 echo "$as_me:$LINENO: checking for $ac_func" >&5
19933 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19934 if eval "test \"\${$as_ac_var+set}\" = set"; then
19935 echo $ECHO_N "(cached) $ECHO_C" >&6
19936 else
19937 if test x$gcc_no_link = xyes; then
19938 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19939 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19940 { (exit 1); exit 1; }; }
19941 fi
19942 cat >conftest.$ac_ext <<_ACEOF
19943 /* confdefs.h. */
19944 _ACEOF
19945 cat confdefs.h >>conftest.$ac_ext
19946 cat >>conftest.$ac_ext <<_ACEOF
19947 /* end confdefs.h. */
19948 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19949 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19950 #define $ac_func innocuous_$ac_func
19951
19952 /* System header to define __stub macros and hopefully few prototypes,
19953 which can conflict with char $ac_func (); below.
19954 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19955 <limits.h> exists even on freestanding compilers. */
19956
19957 #ifdef __STDC__
19958 # include <limits.h>
19959 #else
19960 # include <assert.h>
19961 #endif
19962
19963 #undef $ac_func
19964
19965 /* Override any gcc2 internal prototype to avoid an error. */
19966 #ifdef __cplusplus
19967 extern "C"
19968 {
19969 #endif
19970 /* We use char because int might match the return type of a gcc2
19971 builtin and then its argument prototype would still apply. */
19972 char $ac_func ();
19973 /* The GNU C library defines this for functions which it implements
19974 to always fail with ENOSYS. Some functions are actually named
19975 something starting with __ and the normal name is an alias. */
19976 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19977 choke me
19978 #else
19979 char (*f) () = $ac_func;
19980 #endif
19981 #ifdef __cplusplus
19982 }
19983 #endif
19984
19985 int
19986 main ()
19987 {
19988 return f != $ac_func;
19989 ;
19990 return 0;
19991 }
19992 _ACEOF
19993 rm -f conftest.$ac_objext conftest$ac_exeext
19994 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19995 (eval $ac_link) 2>conftest.er1
19996 ac_status=$?
19997 grep -v '^ *+' conftest.er1 >conftest.err
19998 rm -f conftest.er1
19999 cat conftest.err >&5
20000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20001 (exit $ac_status); } &&
20002 { ac_try='test -z "$ac_c_werror_flag"
20003 || test ! -s conftest.err'
20004 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20005 (eval $ac_try) 2>&5
20006 ac_status=$?
20007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20008 (exit $ac_status); }; } &&
20009 { ac_try='test -s conftest$ac_exeext'
20010 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20011 (eval $ac_try) 2>&5
20012 ac_status=$?
20013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20014 (exit $ac_status); }; }; then
20015 eval "$as_ac_var=yes"
20016 else
20017 echo "$as_me: failed program was:" >&5
20018 sed 's/^/| /' conftest.$ac_ext >&5
20019
20020 eval "$as_ac_var=no"
20021 fi
20022 rm -f conftest.err conftest.$ac_objext \
20023 conftest$ac_exeext conftest.$ac_ext
20024 fi
20025 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20026 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20027 if test `eval echo '${'$as_ac_var'}'` = yes; then
20028 cat >>confdefs.h <<_ACEOF
20029 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20030 _ACEOF
20031
20032 fi
20033 done
20034
20035 fi
20036 fi
20037
20038
20039
20040
20041
20042
20043 echo "$as_me:$LINENO: checking for copysignl declaration" >&5
20044 echo $ECHO_N "checking for copysignl declaration... $ECHO_C" >&6
20045 if test x${glibcxx_cv_func_copysignl_use+set} != xset; then
20046 if test "${glibcxx_cv_func_copysignl_use+set}" = set; then
20047 echo $ECHO_N "(cached) $ECHO_C" >&6
20048 else
20049
20050
20051
20052 ac_ext=cc
20053 ac_cpp='$CXXCPP $CPPFLAGS'
20054 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20055 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20056 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20057
20058 cat >conftest.$ac_ext <<_ACEOF
20059 /* confdefs.h. */
20060 _ACEOF
20061 cat confdefs.h >>conftest.$ac_ext
20062 cat >>conftest.$ac_ext <<_ACEOF
20063 /* end confdefs.h. */
20064 #include <math.h>
20065 int
20066 main ()
20067 {
20068 copysignl(0, 0);
20069 ;
20070 return 0;
20071 }
20072 _ACEOF
20073 rm -f conftest.$ac_objext
20074 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20075 (eval $ac_compile) 2>conftest.er1
20076 ac_status=$?
20077 grep -v '^ *+' conftest.er1 >conftest.err
20078 rm -f conftest.er1
20079 cat conftest.err >&5
20080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20081 (exit $ac_status); } &&
20082 { ac_try='test -z "$ac_cxx_werror_flag"
20083 || test ! -s conftest.err'
20084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20085 (eval $ac_try) 2>&5
20086 ac_status=$?
20087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20088 (exit $ac_status); }; } &&
20089 { ac_try='test -s conftest.$ac_objext'
20090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20091 (eval $ac_try) 2>&5
20092 ac_status=$?
20093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20094 (exit $ac_status); }; }; then
20095 glibcxx_cv_func_copysignl_use=yes
20096 else
20097 echo "$as_me: failed program was:" >&5
20098 sed 's/^/| /' conftest.$ac_ext >&5
20099
20100 glibcxx_cv_func_copysignl_use=no
20101 fi
20102 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20103 ac_ext=c
20104 ac_cpp='$CPP $CPPFLAGS'
20105 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20106 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20107 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20108
20109
20110 fi
20111
20112 fi
20113 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysignl_use" >&5
20114 echo "${ECHO_T}$glibcxx_cv_func_copysignl_use" >&6
20115
20116 if test x$glibcxx_cv_func_copysignl_use = x"yes"; then
20117
20118 for ac_func in copysignl
20119 do
20120 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20121 echo "$as_me:$LINENO: checking for $ac_func" >&5
20122 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20123 if eval "test \"\${$as_ac_var+set}\" = set"; then
20124 echo $ECHO_N "(cached) $ECHO_C" >&6
20125 else
20126 if test x$gcc_no_link = xyes; then
20127 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20128 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20129 { (exit 1); exit 1; }; }
20130 fi
20131 cat >conftest.$ac_ext <<_ACEOF
20132 /* confdefs.h. */
20133 _ACEOF
20134 cat confdefs.h >>conftest.$ac_ext
20135 cat >>conftest.$ac_ext <<_ACEOF
20136 /* end confdefs.h. */
20137 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20138 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20139 #define $ac_func innocuous_$ac_func
20140
20141 /* System header to define __stub macros and hopefully few prototypes,
20142 which can conflict with char $ac_func (); below.
20143 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20144 <limits.h> exists even on freestanding compilers. */
20145
20146 #ifdef __STDC__
20147 # include <limits.h>
20148 #else
20149 # include <assert.h>
20150 #endif
20151
20152 #undef $ac_func
20153
20154 /* Override any gcc2 internal prototype to avoid an error. */
20155 #ifdef __cplusplus
20156 extern "C"
20157 {
20158 #endif
20159 /* We use char because int might match the return type of a gcc2
20160 builtin and then its argument prototype would still apply. */
20161 char $ac_func ();
20162 /* The GNU C library defines this for functions which it implements
20163 to always fail with ENOSYS. Some functions are actually named
20164 something starting with __ and the normal name is an alias. */
20165 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20166 choke me
20167 #else
20168 char (*f) () = $ac_func;
20169 #endif
20170 #ifdef __cplusplus
20171 }
20172 #endif
20173
20174 int
20175 main ()
20176 {
20177 return f != $ac_func;
20178 ;
20179 return 0;
20180 }
20181 _ACEOF
20182 rm -f conftest.$ac_objext conftest$ac_exeext
20183 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20184 (eval $ac_link) 2>conftest.er1
20185 ac_status=$?
20186 grep -v '^ *+' conftest.er1 >conftest.err
20187 rm -f conftest.er1
20188 cat conftest.err >&5
20189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20190 (exit $ac_status); } &&
20191 { ac_try='test -z "$ac_c_werror_flag"
20192 || test ! -s conftest.err'
20193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20194 (eval $ac_try) 2>&5
20195 ac_status=$?
20196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20197 (exit $ac_status); }; } &&
20198 { ac_try='test -s conftest$ac_exeext'
20199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20200 (eval $ac_try) 2>&5
20201 ac_status=$?
20202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20203 (exit $ac_status); }; }; then
20204 eval "$as_ac_var=yes"
20205 else
20206 echo "$as_me: failed program was:" >&5
20207 sed 's/^/| /' conftest.$ac_ext >&5
20208
20209 eval "$as_ac_var=no"
20210 fi
20211 rm -f conftest.err conftest.$ac_objext \
20212 conftest$ac_exeext conftest.$ac_ext
20213 fi
20214 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20215 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20216 if test `eval echo '${'$as_ac_var'}'` = yes; then
20217 cat >>confdefs.h <<_ACEOF
20218 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20219 _ACEOF
20220
20221 fi
20222 done
20223
20224 else
20225
20226 echo "$as_me:$LINENO: checking for _copysignl declaration" >&5
20227 echo $ECHO_N "checking for _copysignl declaration... $ECHO_C" >&6
20228 if test x${glibcxx_cv_func__copysignl_use+set} != xset; then
20229 if test "${glibcxx_cv_func__copysignl_use+set}" = set; then
20230 echo $ECHO_N "(cached) $ECHO_C" >&6
20231 else
20232
20233
20234
20235 ac_ext=cc
20236 ac_cpp='$CXXCPP $CPPFLAGS'
20237 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20238 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20239 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20240
20241 cat >conftest.$ac_ext <<_ACEOF
20242 /* confdefs.h. */
20243 _ACEOF
20244 cat confdefs.h >>conftest.$ac_ext
20245 cat >>conftest.$ac_ext <<_ACEOF
20246 /* end confdefs.h. */
20247 #include <math.h>
20248 int
20249 main ()
20250 {
20251 _copysignl(0, 0);
20252 ;
20253 return 0;
20254 }
20255 _ACEOF
20256 rm -f conftest.$ac_objext
20257 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20258 (eval $ac_compile) 2>conftest.er1
20259 ac_status=$?
20260 grep -v '^ *+' conftest.er1 >conftest.err
20261 rm -f conftest.er1
20262 cat conftest.err >&5
20263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20264 (exit $ac_status); } &&
20265 { ac_try='test -z "$ac_cxx_werror_flag"
20266 || test ! -s conftest.err'
20267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20268 (eval $ac_try) 2>&5
20269 ac_status=$?
20270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20271 (exit $ac_status); }; } &&
20272 { ac_try='test -s conftest.$ac_objext'
20273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20274 (eval $ac_try) 2>&5
20275 ac_status=$?
20276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20277 (exit $ac_status); }; }; then
20278 glibcxx_cv_func__copysignl_use=yes
20279 else
20280 echo "$as_me: failed program was:" >&5
20281 sed 's/^/| /' conftest.$ac_ext >&5
20282
20283 glibcxx_cv_func__copysignl_use=no
20284 fi
20285 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20286 ac_ext=c
20287 ac_cpp='$CPP $CPPFLAGS'
20288 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20289 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20290 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20291
20292
20293 fi
20294
20295 fi
20296 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysignl_use" >&5
20297 echo "${ECHO_T}$glibcxx_cv_func__copysignl_use" >&6
20298
20299 if test x$glibcxx_cv_func__copysignl_use = x"yes"; then
20300
20301 for ac_func in _copysignl
20302 do
20303 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20304 echo "$as_me:$LINENO: checking for $ac_func" >&5
20305 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20306 if eval "test \"\${$as_ac_var+set}\" = set"; then
20307 echo $ECHO_N "(cached) $ECHO_C" >&6
20308 else
20309 if test x$gcc_no_link = xyes; then
20310 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20311 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20312 { (exit 1); exit 1; }; }
20313 fi
20314 cat >conftest.$ac_ext <<_ACEOF
20315 /* confdefs.h. */
20316 _ACEOF
20317 cat confdefs.h >>conftest.$ac_ext
20318 cat >>conftest.$ac_ext <<_ACEOF
20319 /* end confdefs.h. */
20320 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20321 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20322 #define $ac_func innocuous_$ac_func
20323
20324 /* System header to define __stub macros and hopefully few prototypes,
20325 which can conflict with char $ac_func (); below.
20326 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20327 <limits.h> exists even on freestanding compilers. */
20328
20329 #ifdef __STDC__
20330 # include <limits.h>
20331 #else
20332 # include <assert.h>
20333 #endif
20334
20335 #undef $ac_func
20336
20337 /* Override any gcc2 internal prototype to avoid an error. */
20338 #ifdef __cplusplus
20339 extern "C"
20340 {
20341 #endif
20342 /* We use char because int might match the return type of a gcc2
20343 builtin and then its argument prototype would still apply. */
20344 char $ac_func ();
20345 /* The GNU C library defines this for functions which it implements
20346 to always fail with ENOSYS. Some functions are actually named
20347 something starting with __ and the normal name is an alias. */
20348 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20349 choke me
20350 #else
20351 char (*f) () = $ac_func;
20352 #endif
20353 #ifdef __cplusplus
20354 }
20355 #endif
20356
20357 int
20358 main ()
20359 {
20360 return f != $ac_func;
20361 ;
20362 return 0;
20363 }
20364 _ACEOF
20365 rm -f conftest.$ac_objext conftest$ac_exeext
20366 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20367 (eval $ac_link) 2>conftest.er1
20368 ac_status=$?
20369 grep -v '^ *+' conftest.er1 >conftest.err
20370 rm -f conftest.er1
20371 cat conftest.err >&5
20372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20373 (exit $ac_status); } &&
20374 { ac_try='test -z "$ac_c_werror_flag"
20375 || test ! -s conftest.err'
20376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20377 (eval $ac_try) 2>&5
20378 ac_status=$?
20379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20380 (exit $ac_status); }; } &&
20381 { ac_try='test -s conftest$ac_exeext'
20382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20383 (eval $ac_try) 2>&5
20384 ac_status=$?
20385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20386 (exit $ac_status); }; }; then
20387 eval "$as_ac_var=yes"
20388 else
20389 echo "$as_me: failed program was:" >&5
20390 sed 's/^/| /' conftest.$ac_ext >&5
20391
20392 eval "$as_ac_var=no"
20393 fi
20394 rm -f conftest.err conftest.$ac_objext \
20395 conftest$ac_exeext conftest.$ac_ext
20396 fi
20397 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20398 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20399 if test `eval echo '${'$as_ac_var'}'` = yes; then
20400 cat >>confdefs.h <<_ACEOF
20401 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20402 _ACEOF
20403
20404 fi
20405 done
20406
20407 fi
20408 fi
20409
20410
20411
20412
20413
20414
20415 echo "$as_me:$LINENO: checking for atan2l declaration" >&5
20416 echo $ECHO_N "checking for atan2l declaration... $ECHO_C" >&6
20417 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
20418 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then
20419 echo $ECHO_N "(cached) $ECHO_C" >&6
20420 else
20421
20422
20423
20424 ac_ext=cc
20425 ac_cpp='$CXXCPP $CPPFLAGS'
20426 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20427 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20428 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20429
20430 cat >conftest.$ac_ext <<_ACEOF
20431 /* confdefs.h. */
20432 _ACEOF
20433 cat confdefs.h >>conftest.$ac_ext
20434 cat >>conftest.$ac_ext <<_ACEOF
20435 /* end confdefs.h. */
20436 #include <math.h>
20437 int
20438 main ()
20439 {
20440 atan2l(0, 0);
20441 ;
20442 return 0;
20443 }
20444 _ACEOF
20445 rm -f conftest.$ac_objext
20446 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20447 (eval $ac_compile) 2>conftest.er1
20448 ac_status=$?
20449 grep -v '^ *+' conftest.er1 >conftest.err
20450 rm -f conftest.er1
20451 cat conftest.err >&5
20452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20453 (exit $ac_status); } &&
20454 { ac_try='test -z "$ac_cxx_werror_flag"
20455 || test ! -s conftest.err'
20456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20457 (eval $ac_try) 2>&5
20458 ac_status=$?
20459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20460 (exit $ac_status); }; } &&
20461 { ac_try='test -s conftest.$ac_objext'
20462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20463 (eval $ac_try) 2>&5
20464 ac_status=$?
20465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20466 (exit $ac_status); }; }; then
20467 glibcxx_cv_func_atan2l_use=yes
20468 else
20469 echo "$as_me: failed program was:" >&5
20470 sed 's/^/| /' conftest.$ac_ext >&5
20471
20472 glibcxx_cv_func_atan2l_use=no
20473 fi
20474 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20475 ac_ext=c
20476 ac_cpp='$CPP $CPPFLAGS'
20477 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20478 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20479 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20480
20481
20482 fi
20483
20484 fi
20485 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2l_use" >&5
20486 echo "${ECHO_T}$glibcxx_cv_func_atan2l_use" >&6
20487
20488 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
20489
20490 for ac_func in atan2l
20491 do
20492 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20493 echo "$as_me:$LINENO: checking for $ac_func" >&5
20494 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20495 if eval "test \"\${$as_ac_var+set}\" = set"; then
20496 echo $ECHO_N "(cached) $ECHO_C" >&6
20497 else
20498 if test x$gcc_no_link = xyes; then
20499 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20500 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20501 { (exit 1); exit 1; }; }
20502 fi
20503 cat >conftest.$ac_ext <<_ACEOF
20504 /* confdefs.h. */
20505 _ACEOF
20506 cat confdefs.h >>conftest.$ac_ext
20507 cat >>conftest.$ac_ext <<_ACEOF
20508 /* end confdefs.h. */
20509 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20510 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20511 #define $ac_func innocuous_$ac_func
20512
20513 /* System header to define __stub macros and hopefully few prototypes,
20514 which can conflict with char $ac_func (); below.
20515 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20516 <limits.h> exists even on freestanding compilers. */
20517
20518 #ifdef __STDC__
20519 # include <limits.h>
20520 #else
20521 # include <assert.h>
20522 #endif
20523
20524 #undef $ac_func
20525
20526 /* Override any gcc2 internal prototype to avoid an error. */
20527 #ifdef __cplusplus
20528 extern "C"
20529 {
20530 #endif
20531 /* We use char because int might match the return type of a gcc2
20532 builtin and then its argument prototype would still apply. */
20533 char $ac_func ();
20534 /* The GNU C library defines this for functions which it implements
20535 to always fail with ENOSYS. Some functions are actually named
20536 something starting with __ and the normal name is an alias. */
20537 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20538 choke me
20539 #else
20540 char (*f) () = $ac_func;
20541 #endif
20542 #ifdef __cplusplus
20543 }
20544 #endif
20545
20546 int
20547 main ()
20548 {
20549 return f != $ac_func;
20550 ;
20551 return 0;
20552 }
20553 _ACEOF
20554 rm -f conftest.$ac_objext conftest$ac_exeext
20555 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20556 (eval $ac_link) 2>conftest.er1
20557 ac_status=$?
20558 grep -v '^ *+' conftest.er1 >conftest.err
20559 rm -f conftest.er1
20560 cat conftest.err >&5
20561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20562 (exit $ac_status); } &&
20563 { ac_try='test -z "$ac_c_werror_flag"
20564 || test ! -s conftest.err'
20565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20566 (eval $ac_try) 2>&5
20567 ac_status=$?
20568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20569 (exit $ac_status); }; } &&
20570 { ac_try='test -s conftest$ac_exeext'
20571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20572 (eval $ac_try) 2>&5
20573 ac_status=$?
20574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20575 (exit $ac_status); }; }; then
20576 eval "$as_ac_var=yes"
20577 else
20578 echo "$as_me: failed program was:" >&5
20579 sed 's/^/| /' conftest.$ac_ext >&5
20580
20581 eval "$as_ac_var=no"
20582 fi
20583 rm -f conftest.err conftest.$ac_objext \
20584 conftest$ac_exeext conftest.$ac_ext
20585 fi
20586 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20587 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20588 if test `eval echo '${'$as_ac_var'}'` = yes; then
20589 cat >>confdefs.h <<_ACEOF
20590 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20591 _ACEOF
20592
20593 fi
20594 done
20595
20596 else
20597
20598 echo "$as_me:$LINENO: checking for _atan2l declaration" >&5
20599 echo $ECHO_N "checking for _atan2l declaration... $ECHO_C" >&6
20600 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
20601 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then
20602 echo $ECHO_N "(cached) $ECHO_C" >&6
20603 else
20604
20605
20606
20607 ac_ext=cc
20608 ac_cpp='$CXXCPP $CPPFLAGS'
20609 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20610 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20611 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20612
20613 cat >conftest.$ac_ext <<_ACEOF
20614 /* confdefs.h. */
20615 _ACEOF
20616 cat confdefs.h >>conftest.$ac_ext
20617 cat >>conftest.$ac_ext <<_ACEOF
20618 /* end confdefs.h. */
20619 #include <math.h>
20620 int
20621 main ()
20622 {
20623 _atan2l(0, 0);
20624 ;
20625 return 0;
20626 }
20627 _ACEOF
20628 rm -f conftest.$ac_objext
20629 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20630 (eval $ac_compile) 2>conftest.er1
20631 ac_status=$?
20632 grep -v '^ *+' conftest.er1 >conftest.err
20633 rm -f conftest.er1
20634 cat conftest.err >&5
20635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20636 (exit $ac_status); } &&
20637 { ac_try='test -z "$ac_cxx_werror_flag"
20638 || test ! -s conftest.err'
20639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20640 (eval $ac_try) 2>&5
20641 ac_status=$?
20642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20643 (exit $ac_status); }; } &&
20644 { ac_try='test -s conftest.$ac_objext'
20645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20646 (eval $ac_try) 2>&5
20647 ac_status=$?
20648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20649 (exit $ac_status); }; }; then
20650 glibcxx_cv_func__atan2l_use=yes
20651 else
20652 echo "$as_me: failed program was:" >&5
20653 sed 's/^/| /' conftest.$ac_ext >&5
20654
20655 glibcxx_cv_func__atan2l_use=no
20656 fi
20657 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20658 ac_ext=c
20659 ac_cpp='$CPP $CPPFLAGS'
20660 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20661 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20662 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20663
20664
20665 fi
20666
20667 fi
20668 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2l_use" >&5
20669 echo "${ECHO_T}$glibcxx_cv_func__atan2l_use" >&6
20670
20671 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
20672
20673 for ac_func in _atan2l
20674 do
20675 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20676 echo "$as_me:$LINENO: checking for $ac_func" >&5
20677 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20678 if eval "test \"\${$as_ac_var+set}\" = set"; then
20679 echo $ECHO_N "(cached) $ECHO_C" >&6
20680 else
20681 if test x$gcc_no_link = xyes; then
20682 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20683 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20684 { (exit 1); exit 1; }; }
20685 fi
20686 cat >conftest.$ac_ext <<_ACEOF
20687 /* confdefs.h. */
20688 _ACEOF
20689 cat confdefs.h >>conftest.$ac_ext
20690 cat >>conftest.$ac_ext <<_ACEOF
20691 /* end confdefs.h. */
20692 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20693 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20694 #define $ac_func innocuous_$ac_func
20695
20696 /* System header to define __stub macros and hopefully few prototypes,
20697 which can conflict with char $ac_func (); below.
20698 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20699 <limits.h> exists even on freestanding compilers. */
20700
20701 #ifdef __STDC__
20702 # include <limits.h>
20703 #else
20704 # include <assert.h>
20705 #endif
20706
20707 #undef $ac_func
20708
20709 /* Override any gcc2 internal prototype to avoid an error. */
20710 #ifdef __cplusplus
20711 extern "C"
20712 {
20713 #endif
20714 /* We use char because int might match the return type of a gcc2
20715 builtin and then its argument prototype would still apply. */
20716 char $ac_func ();
20717 /* The GNU C library defines this for functions which it implements
20718 to always fail with ENOSYS. Some functions are actually named
20719 something starting with __ and the normal name is an alias. */
20720 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20721 choke me
20722 #else
20723 char (*f) () = $ac_func;
20724 #endif
20725 #ifdef __cplusplus
20726 }
20727 #endif
20728
20729 int
20730 main ()
20731 {
20732 return f != $ac_func;
20733 ;
20734 return 0;
20735 }
20736 _ACEOF
20737 rm -f conftest.$ac_objext conftest$ac_exeext
20738 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20739 (eval $ac_link) 2>conftest.er1
20740 ac_status=$?
20741 grep -v '^ *+' conftest.er1 >conftest.err
20742 rm -f conftest.er1
20743 cat conftest.err >&5
20744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20745 (exit $ac_status); } &&
20746 { ac_try='test -z "$ac_c_werror_flag"
20747 || test ! -s conftest.err'
20748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20749 (eval $ac_try) 2>&5
20750 ac_status=$?
20751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20752 (exit $ac_status); }; } &&
20753 { ac_try='test -s conftest$ac_exeext'
20754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20755 (eval $ac_try) 2>&5
20756 ac_status=$?
20757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20758 (exit $ac_status); }; }; then
20759 eval "$as_ac_var=yes"
20760 else
20761 echo "$as_me: failed program was:" >&5
20762 sed 's/^/| /' conftest.$ac_ext >&5
20763
20764 eval "$as_ac_var=no"
20765 fi
20766 rm -f conftest.err conftest.$ac_objext \
20767 conftest$ac_exeext conftest.$ac_ext
20768 fi
20769 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20770 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20771 if test `eval echo '${'$as_ac_var'}'` = yes; then
20772 cat >>confdefs.h <<_ACEOF
20773 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20774 _ACEOF
20775
20776 fi
20777 done
20778
20779 fi
20780 fi
20781
20782
20783
20784
20785
20786
20787 echo "$as_me:$LINENO: checking for expl declaration" >&5
20788 echo $ECHO_N "checking for expl declaration... $ECHO_C" >&6
20789 if test x${glibcxx_cv_func_expl_use+set} != xset; then
20790 if test "${glibcxx_cv_func_expl_use+set}" = set; then
20791 echo $ECHO_N "(cached) $ECHO_C" >&6
20792 else
20793
20794
20795
20796 ac_ext=cc
20797 ac_cpp='$CXXCPP $CPPFLAGS'
20798 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20799 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20800 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20801
20802 cat >conftest.$ac_ext <<_ACEOF
20803 /* confdefs.h. */
20804 _ACEOF
20805 cat confdefs.h >>conftest.$ac_ext
20806 cat >>conftest.$ac_ext <<_ACEOF
20807 /* end confdefs.h. */
20808 #include <math.h>
20809 #ifdef HAVE_IEEEFP_H
20810 #include <ieeefp.h>
20811 #endif
20812
20813 int
20814 main ()
20815 {
20816 expl(0);
20817 ;
20818 return 0;
20819 }
20820 _ACEOF
20821 rm -f conftest.$ac_objext
20822 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20823 (eval $ac_compile) 2>conftest.er1
20824 ac_status=$?
20825 grep -v '^ *+' conftest.er1 >conftest.err
20826 rm -f conftest.er1
20827 cat conftest.err >&5
20828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20829 (exit $ac_status); } &&
20830 { ac_try='test -z "$ac_cxx_werror_flag"
20831 || test ! -s conftest.err'
20832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20833 (eval $ac_try) 2>&5
20834 ac_status=$?
20835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20836 (exit $ac_status); }; } &&
20837 { ac_try='test -s conftest.$ac_objext'
20838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20839 (eval $ac_try) 2>&5
20840 ac_status=$?
20841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20842 (exit $ac_status); }; }; then
20843 glibcxx_cv_func_expl_use=yes
20844 else
20845 echo "$as_me: failed program was:" >&5
20846 sed 's/^/| /' conftest.$ac_ext >&5
20847
20848 glibcxx_cv_func_expl_use=no
20849 fi
20850 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20851 ac_ext=c
20852 ac_cpp='$CPP $CPPFLAGS'
20853 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20854 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20855 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20856
20857
20858 fi
20859
20860 fi
20861 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expl_use" >&5
20862 echo "${ECHO_T}$glibcxx_cv_func_expl_use" >&6
20863
20864 if test x$glibcxx_cv_func_expl_use = x"yes"; then
20865
20866 for ac_func in expl
20867 do
20868 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20869 echo "$as_me:$LINENO: checking for $ac_func" >&5
20870 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20871 if eval "test \"\${$as_ac_var+set}\" = set"; then
20872 echo $ECHO_N "(cached) $ECHO_C" >&6
20873 else
20874 if test x$gcc_no_link = xyes; then
20875 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20876 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20877 { (exit 1); exit 1; }; }
20878 fi
20879 cat >conftest.$ac_ext <<_ACEOF
20880 /* confdefs.h. */
20881 _ACEOF
20882 cat confdefs.h >>conftest.$ac_ext
20883 cat >>conftest.$ac_ext <<_ACEOF
20884 /* end confdefs.h. */
20885 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20886 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20887 #define $ac_func innocuous_$ac_func
20888
20889 /* System header to define __stub macros and hopefully few prototypes,
20890 which can conflict with char $ac_func (); below.
20891 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20892 <limits.h> exists even on freestanding compilers. */
20893
20894 #ifdef __STDC__
20895 # include <limits.h>
20896 #else
20897 # include <assert.h>
20898 #endif
20899
20900 #undef $ac_func
20901
20902 /* Override any gcc2 internal prototype to avoid an error. */
20903 #ifdef __cplusplus
20904 extern "C"
20905 {
20906 #endif
20907 /* We use char because int might match the return type of a gcc2
20908 builtin and then its argument prototype would still apply. */
20909 char $ac_func ();
20910 /* The GNU C library defines this for functions which it implements
20911 to always fail with ENOSYS. Some functions are actually named
20912 something starting with __ and the normal name is an alias. */
20913 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20914 choke me
20915 #else
20916 char (*f) () = $ac_func;
20917 #endif
20918 #ifdef __cplusplus
20919 }
20920 #endif
20921
20922 int
20923 main ()
20924 {
20925 return f != $ac_func;
20926 ;
20927 return 0;
20928 }
20929 _ACEOF
20930 rm -f conftest.$ac_objext conftest$ac_exeext
20931 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20932 (eval $ac_link) 2>conftest.er1
20933 ac_status=$?
20934 grep -v '^ *+' conftest.er1 >conftest.err
20935 rm -f conftest.er1
20936 cat conftest.err >&5
20937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20938 (exit $ac_status); } &&
20939 { ac_try='test -z "$ac_c_werror_flag"
20940 || test ! -s conftest.err'
20941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20942 (eval $ac_try) 2>&5
20943 ac_status=$?
20944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20945 (exit $ac_status); }; } &&
20946 { ac_try='test -s conftest$ac_exeext'
20947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20948 (eval $ac_try) 2>&5
20949 ac_status=$?
20950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20951 (exit $ac_status); }; }; then
20952 eval "$as_ac_var=yes"
20953 else
20954 echo "$as_me: failed program was:" >&5
20955 sed 's/^/| /' conftest.$ac_ext >&5
20956
20957 eval "$as_ac_var=no"
20958 fi
20959 rm -f conftest.err conftest.$ac_objext \
20960 conftest$ac_exeext conftest.$ac_ext
20961 fi
20962 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20963 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20964 if test `eval echo '${'$as_ac_var'}'` = yes; then
20965 cat >>confdefs.h <<_ACEOF
20966 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20967 _ACEOF
20968
20969 fi
20970 done
20971
20972 else
20973
20974 echo "$as_me:$LINENO: checking for _expl declaration" >&5
20975 echo $ECHO_N "checking for _expl declaration... $ECHO_C" >&6
20976 if test x${glibcxx_cv_func__expl_use+set} != xset; then
20977 if test "${glibcxx_cv_func__expl_use+set}" = set; then
20978 echo $ECHO_N "(cached) $ECHO_C" >&6
20979 else
20980
20981
20982
20983 ac_ext=cc
20984 ac_cpp='$CXXCPP $CPPFLAGS'
20985 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20986 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20987 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20988
20989 cat >conftest.$ac_ext <<_ACEOF
20990 /* confdefs.h. */
20991 _ACEOF
20992 cat confdefs.h >>conftest.$ac_ext
20993 cat >>conftest.$ac_ext <<_ACEOF
20994 /* end confdefs.h. */
20995 #include <math.h>
20996 #ifdef HAVE_IEEEFP_H
20997 #include <ieeefp.h>
20998 #endif
20999
21000 int
21001 main ()
21002 {
21003 _expl(0);
21004 ;
21005 return 0;
21006 }
21007 _ACEOF
21008 rm -f conftest.$ac_objext
21009 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21010 (eval $ac_compile) 2>conftest.er1
21011 ac_status=$?
21012 grep -v '^ *+' conftest.er1 >conftest.err
21013 rm -f conftest.er1
21014 cat conftest.err >&5
21015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21016 (exit $ac_status); } &&
21017 { ac_try='test -z "$ac_cxx_werror_flag"
21018 || test ! -s conftest.err'
21019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21020 (eval $ac_try) 2>&5
21021 ac_status=$?
21022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21023 (exit $ac_status); }; } &&
21024 { ac_try='test -s conftest.$ac_objext'
21025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21026 (eval $ac_try) 2>&5
21027 ac_status=$?
21028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21029 (exit $ac_status); }; }; then
21030 glibcxx_cv_func__expl_use=yes
21031 else
21032 echo "$as_me: failed program was:" >&5
21033 sed 's/^/| /' conftest.$ac_ext >&5
21034
21035 glibcxx_cv_func__expl_use=no
21036 fi
21037 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21038 ac_ext=c
21039 ac_cpp='$CPP $CPPFLAGS'
21040 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21041 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21042 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21043
21044
21045 fi
21046
21047 fi
21048 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expl_use" >&5
21049 echo "${ECHO_T}$glibcxx_cv_func__expl_use" >&6
21050
21051 if test x$glibcxx_cv_func__expl_use = x"yes"; then
21052
21053 for ac_func in _expl
21054 do
21055 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21056 echo "$as_me:$LINENO: checking for $ac_func" >&5
21057 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21058 if eval "test \"\${$as_ac_var+set}\" = set"; then
21059 echo $ECHO_N "(cached) $ECHO_C" >&6
21060 else
21061 if test x$gcc_no_link = xyes; then
21062 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21063 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21064 { (exit 1); exit 1; }; }
21065 fi
21066 cat >conftest.$ac_ext <<_ACEOF
21067 /* confdefs.h. */
21068 _ACEOF
21069 cat confdefs.h >>conftest.$ac_ext
21070 cat >>conftest.$ac_ext <<_ACEOF
21071 /* end confdefs.h. */
21072 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21073 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21074 #define $ac_func innocuous_$ac_func
21075
21076 /* System header to define __stub macros and hopefully few prototypes,
21077 which can conflict with char $ac_func (); below.
21078 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21079 <limits.h> exists even on freestanding compilers. */
21080
21081 #ifdef __STDC__
21082 # include <limits.h>
21083 #else
21084 # include <assert.h>
21085 #endif
21086
21087 #undef $ac_func
21088
21089 /* Override any gcc2 internal prototype to avoid an error. */
21090 #ifdef __cplusplus
21091 extern "C"
21092 {
21093 #endif
21094 /* We use char because int might match the return type of a gcc2
21095 builtin and then its argument prototype would still apply. */
21096 char $ac_func ();
21097 /* The GNU C library defines this for functions which it implements
21098 to always fail with ENOSYS. Some functions are actually named
21099 something starting with __ and the normal name is an alias. */
21100 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21101 choke me
21102 #else
21103 char (*f) () = $ac_func;
21104 #endif
21105 #ifdef __cplusplus
21106 }
21107 #endif
21108
21109 int
21110 main ()
21111 {
21112 return f != $ac_func;
21113 ;
21114 return 0;
21115 }
21116 _ACEOF
21117 rm -f conftest.$ac_objext conftest$ac_exeext
21118 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21119 (eval $ac_link) 2>conftest.er1
21120 ac_status=$?
21121 grep -v '^ *+' conftest.er1 >conftest.err
21122 rm -f conftest.er1
21123 cat conftest.err >&5
21124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21125 (exit $ac_status); } &&
21126 { ac_try='test -z "$ac_c_werror_flag"
21127 || test ! -s conftest.err'
21128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21129 (eval $ac_try) 2>&5
21130 ac_status=$?
21131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21132 (exit $ac_status); }; } &&
21133 { ac_try='test -s conftest$ac_exeext'
21134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21135 (eval $ac_try) 2>&5
21136 ac_status=$?
21137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21138 (exit $ac_status); }; }; then
21139 eval "$as_ac_var=yes"
21140 else
21141 echo "$as_me: failed program was:" >&5
21142 sed 's/^/| /' conftest.$ac_ext >&5
21143
21144 eval "$as_ac_var=no"
21145 fi
21146 rm -f conftest.err conftest.$ac_objext \
21147 conftest$ac_exeext conftest.$ac_ext
21148 fi
21149 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21150 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21151 if test `eval echo '${'$as_ac_var'}'` = yes; then
21152 cat >>confdefs.h <<_ACEOF
21153 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21154 _ACEOF
21155
21156 fi
21157 done
21158
21159 fi
21160 fi
21161
21162
21163
21164
21165
21166
21167 echo "$as_me:$LINENO: checking for fabsl declaration" >&5
21168 echo $ECHO_N "checking for fabsl declaration... $ECHO_C" >&6
21169 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
21170 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then
21171 echo $ECHO_N "(cached) $ECHO_C" >&6
21172 else
21173
21174
21175
21176 ac_ext=cc
21177 ac_cpp='$CXXCPP $CPPFLAGS'
21178 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21179 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21180 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21181
21182 cat >conftest.$ac_ext <<_ACEOF
21183 /* confdefs.h. */
21184 _ACEOF
21185 cat confdefs.h >>conftest.$ac_ext
21186 cat >>conftest.$ac_ext <<_ACEOF
21187 /* end confdefs.h. */
21188 #include <math.h>
21189 #ifdef HAVE_IEEEFP_H
21190 #include <ieeefp.h>
21191 #endif
21192
21193 int
21194 main ()
21195 {
21196 fabsl(0);
21197 ;
21198 return 0;
21199 }
21200 _ACEOF
21201 rm -f conftest.$ac_objext
21202 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21203 (eval $ac_compile) 2>conftest.er1
21204 ac_status=$?
21205 grep -v '^ *+' conftest.er1 >conftest.err
21206 rm -f conftest.er1
21207 cat conftest.err >&5
21208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21209 (exit $ac_status); } &&
21210 { ac_try='test -z "$ac_cxx_werror_flag"
21211 || test ! -s conftest.err'
21212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21213 (eval $ac_try) 2>&5
21214 ac_status=$?
21215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21216 (exit $ac_status); }; } &&
21217 { ac_try='test -s conftest.$ac_objext'
21218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21219 (eval $ac_try) 2>&5
21220 ac_status=$?
21221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21222 (exit $ac_status); }; }; then
21223 glibcxx_cv_func_fabsl_use=yes
21224 else
21225 echo "$as_me: failed program was:" >&5
21226 sed 's/^/| /' conftest.$ac_ext >&5
21227
21228 glibcxx_cv_func_fabsl_use=no
21229 fi
21230 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21231 ac_ext=c
21232 ac_cpp='$CPP $CPPFLAGS'
21233 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21234 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21235 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21236
21237
21238 fi
21239
21240 fi
21241 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsl_use" >&5
21242 echo "${ECHO_T}$glibcxx_cv_func_fabsl_use" >&6
21243
21244 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
21245
21246 for ac_func in fabsl
21247 do
21248 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21249 echo "$as_me:$LINENO: checking for $ac_func" >&5
21250 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21251 if eval "test \"\${$as_ac_var+set}\" = set"; then
21252 echo $ECHO_N "(cached) $ECHO_C" >&6
21253 else
21254 if test x$gcc_no_link = xyes; then
21255 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21256 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21257 { (exit 1); exit 1; }; }
21258 fi
21259 cat >conftest.$ac_ext <<_ACEOF
21260 /* confdefs.h. */
21261 _ACEOF
21262 cat confdefs.h >>conftest.$ac_ext
21263 cat >>conftest.$ac_ext <<_ACEOF
21264 /* end confdefs.h. */
21265 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21266 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21267 #define $ac_func innocuous_$ac_func
21268
21269 /* System header to define __stub macros and hopefully few prototypes,
21270 which can conflict with char $ac_func (); below.
21271 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21272 <limits.h> exists even on freestanding compilers. */
21273
21274 #ifdef __STDC__
21275 # include <limits.h>
21276 #else
21277 # include <assert.h>
21278 #endif
21279
21280 #undef $ac_func
21281
21282 /* Override any gcc2 internal prototype to avoid an error. */
21283 #ifdef __cplusplus
21284 extern "C"
21285 {
21286 #endif
21287 /* We use char because int might match the return type of a gcc2
21288 builtin and then its argument prototype would still apply. */
21289 char $ac_func ();
21290 /* The GNU C library defines this for functions which it implements
21291 to always fail with ENOSYS. Some functions are actually named
21292 something starting with __ and the normal name is an alias. */
21293 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21294 choke me
21295 #else
21296 char (*f) () = $ac_func;
21297 #endif
21298 #ifdef __cplusplus
21299 }
21300 #endif
21301
21302 int
21303 main ()
21304 {
21305 return f != $ac_func;
21306 ;
21307 return 0;
21308 }
21309 _ACEOF
21310 rm -f conftest.$ac_objext conftest$ac_exeext
21311 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21312 (eval $ac_link) 2>conftest.er1
21313 ac_status=$?
21314 grep -v '^ *+' conftest.er1 >conftest.err
21315 rm -f conftest.er1
21316 cat conftest.err >&5
21317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21318 (exit $ac_status); } &&
21319 { ac_try='test -z "$ac_c_werror_flag"
21320 || test ! -s conftest.err'
21321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21322 (eval $ac_try) 2>&5
21323 ac_status=$?
21324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21325 (exit $ac_status); }; } &&
21326 { ac_try='test -s conftest$ac_exeext'
21327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21328 (eval $ac_try) 2>&5
21329 ac_status=$?
21330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21331 (exit $ac_status); }; }; then
21332 eval "$as_ac_var=yes"
21333 else
21334 echo "$as_me: failed program was:" >&5
21335 sed 's/^/| /' conftest.$ac_ext >&5
21336
21337 eval "$as_ac_var=no"
21338 fi
21339 rm -f conftest.err conftest.$ac_objext \
21340 conftest$ac_exeext conftest.$ac_ext
21341 fi
21342 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21343 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21344 if test `eval echo '${'$as_ac_var'}'` = yes; then
21345 cat >>confdefs.h <<_ACEOF
21346 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21347 _ACEOF
21348
21349 fi
21350 done
21351
21352 else
21353
21354 echo "$as_me:$LINENO: checking for _fabsl declaration" >&5
21355 echo $ECHO_N "checking for _fabsl declaration... $ECHO_C" >&6
21356 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
21357 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then
21358 echo $ECHO_N "(cached) $ECHO_C" >&6
21359 else
21360
21361
21362
21363 ac_ext=cc
21364 ac_cpp='$CXXCPP $CPPFLAGS'
21365 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21366 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21367 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21368
21369 cat >conftest.$ac_ext <<_ACEOF
21370 /* confdefs.h. */
21371 _ACEOF
21372 cat confdefs.h >>conftest.$ac_ext
21373 cat >>conftest.$ac_ext <<_ACEOF
21374 /* end confdefs.h. */
21375 #include <math.h>
21376 #ifdef HAVE_IEEEFP_H
21377 #include <ieeefp.h>
21378 #endif
21379
21380 int
21381 main ()
21382 {
21383 _fabsl(0);
21384 ;
21385 return 0;
21386 }
21387 _ACEOF
21388 rm -f conftest.$ac_objext
21389 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21390 (eval $ac_compile) 2>conftest.er1
21391 ac_status=$?
21392 grep -v '^ *+' conftest.er1 >conftest.err
21393 rm -f conftest.er1
21394 cat conftest.err >&5
21395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21396 (exit $ac_status); } &&
21397 { ac_try='test -z "$ac_cxx_werror_flag"
21398 || test ! -s conftest.err'
21399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21400 (eval $ac_try) 2>&5
21401 ac_status=$?
21402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21403 (exit $ac_status); }; } &&
21404 { ac_try='test -s conftest.$ac_objext'
21405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21406 (eval $ac_try) 2>&5
21407 ac_status=$?
21408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21409 (exit $ac_status); }; }; then
21410 glibcxx_cv_func__fabsl_use=yes
21411 else
21412 echo "$as_me: failed program was:" >&5
21413 sed 's/^/| /' conftest.$ac_ext >&5
21414
21415 glibcxx_cv_func__fabsl_use=no
21416 fi
21417 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21418 ac_ext=c
21419 ac_cpp='$CPP $CPPFLAGS'
21420 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21421 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21422 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21423
21424
21425 fi
21426
21427 fi
21428 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsl_use" >&5
21429 echo "${ECHO_T}$glibcxx_cv_func__fabsl_use" >&6
21430
21431 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
21432
21433 for ac_func in _fabsl
21434 do
21435 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21436 echo "$as_me:$LINENO: checking for $ac_func" >&5
21437 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21438 if eval "test \"\${$as_ac_var+set}\" = set"; then
21439 echo $ECHO_N "(cached) $ECHO_C" >&6
21440 else
21441 if test x$gcc_no_link = xyes; then
21442 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21443 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21444 { (exit 1); exit 1; }; }
21445 fi
21446 cat >conftest.$ac_ext <<_ACEOF
21447 /* confdefs.h. */
21448 _ACEOF
21449 cat confdefs.h >>conftest.$ac_ext
21450 cat >>conftest.$ac_ext <<_ACEOF
21451 /* end confdefs.h. */
21452 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21453 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21454 #define $ac_func innocuous_$ac_func
21455
21456 /* System header to define __stub macros and hopefully few prototypes,
21457 which can conflict with char $ac_func (); below.
21458 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21459 <limits.h> exists even on freestanding compilers. */
21460
21461 #ifdef __STDC__
21462 # include <limits.h>
21463 #else
21464 # include <assert.h>
21465 #endif
21466
21467 #undef $ac_func
21468
21469 /* Override any gcc2 internal prototype to avoid an error. */
21470 #ifdef __cplusplus
21471 extern "C"
21472 {
21473 #endif
21474 /* We use char because int might match the return type of a gcc2
21475 builtin and then its argument prototype would still apply. */
21476 char $ac_func ();
21477 /* The GNU C library defines this for functions which it implements
21478 to always fail with ENOSYS. Some functions are actually named
21479 something starting with __ and the normal name is an alias. */
21480 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21481 choke me
21482 #else
21483 char (*f) () = $ac_func;
21484 #endif
21485 #ifdef __cplusplus
21486 }
21487 #endif
21488
21489 int
21490 main ()
21491 {
21492 return f != $ac_func;
21493 ;
21494 return 0;
21495 }
21496 _ACEOF
21497 rm -f conftest.$ac_objext conftest$ac_exeext
21498 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21499 (eval $ac_link) 2>conftest.er1
21500 ac_status=$?
21501 grep -v '^ *+' conftest.er1 >conftest.err
21502 rm -f conftest.er1
21503 cat conftest.err >&5
21504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21505 (exit $ac_status); } &&
21506 { ac_try='test -z "$ac_c_werror_flag"
21507 || test ! -s conftest.err'
21508 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21509 (eval $ac_try) 2>&5
21510 ac_status=$?
21511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21512 (exit $ac_status); }; } &&
21513 { ac_try='test -s conftest$ac_exeext'
21514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21515 (eval $ac_try) 2>&5
21516 ac_status=$?
21517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21518 (exit $ac_status); }; }; then
21519 eval "$as_ac_var=yes"
21520 else
21521 echo "$as_me: failed program was:" >&5
21522 sed 's/^/| /' conftest.$ac_ext >&5
21523
21524 eval "$as_ac_var=no"
21525 fi
21526 rm -f conftest.err conftest.$ac_objext \
21527 conftest$ac_exeext conftest.$ac_ext
21528 fi
21529 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21530 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21531 if test `eval echo '${'$as_ac_var'}'` = yes; then
21532 cat >>confdefs.h <<_ACEOF
21533 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21534 _ACEOF
21535
21536 fi
21537 done
21538
21539 fi
21540 fi
21541
21542
21543
21544
21545
21546
21547 echo "$as_me:$LINENO: checking for fmodl declaration" >&5
21548 echo $ECHO_N "checking for fmodl declaration... $ECHO_C" >&6
21549 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
21550 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then
21551 echo $ECHO_N "(cached) $ECHO_C" >&6
21552 else
21553
21554
21555
21556 ac_ext=cc
21557 ac_cpp='$CXXCPP $CPPFLAGS'
21558 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21559 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21560 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21561
21562 cat >conftest.$ac_ext <<_ACEOF
21563 /* confdefs.h. */
21564 _ACEOF
21565 cat confdefs.h >>conftest.$ac_ext
21566 cat >>conftest.$ac_ext <<_ACEOF
21567 /* end confdefs.h. */
21568 #include <math.h>
21569 int
21570 main ()
21571 {
21572 fmodl(0, 0);
21573 ;
21574 return 0;
21575 }
21576 _ACEOF
21577 rm -f conftest.$ac_objext
21578 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21579 (eval $ac_compile) 2>conftest.er1
21580 ac_status=$?
21581 grep -v '^ *+' conftest.er1 >conftest.err
21582 rm -f conftest.er1
21583 cat conftest.err >&5
21584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21585 (exit $ac_status); } &&
21586 { ac_try='test -z "$ac_cxx_werror_flag"
21587 || test ! -s conftest.err'
21588 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21589 (eval $ac_try) 2>&5
21590 ac_status=$?
21591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21592 (exit $ac_status); }; } &&
21593 { ac_try='test -s conftest.$ac_objext'
21594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21595 (eval $ac_try) 2>&5
21596 ac_status=$?
21597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21598 (exit $ac_status); }; }; then
21599 glibcxx_cv_func_fmodl_use=yes
21600 else
21601 echo "$as_me: failed program was:" >&5
21602 sed 's/^/| /' conftest.$ac_ext >&5
21603
21604 glibcxx_cv_func_fmodl_use=no
21605 fi
21606 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21607 ac_ext=c
21608 ac_cpp='$CPP $CPPFLAGS'
21609 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21610 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21611 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21612
21613
21614 fi
21615
21616 fi
21617 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodl_use" >&5
21618 echo "${ECHO_T}$glibcxx_cv_func_fmodl_use" >&6
21619
21620 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
21621
21622 for ac_func in fmodl
21623 do
21624 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21625 echo "$as_me:$LINENO: checking for $ac_func" >&5
21626 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21627 if eval "test \"\${$as_ac_var+set}\" = set"; then
21628 echo $ECHO_N "(cached) $ECHO_C" >&6
21629 else
21630 if test x$gcc_no_link = xyes; then
21631 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21632 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21633 { (exit 1); exit 1; }; }
21634 fi
21635 cat >conftest.$ac_ext <<_ACEOF
21636 /* confdefs.h. */
21637 _ACEOF
21638 cat confdefs.h >>conftest.$ac_ext
21639 cat >>conftest.$ac_ext <<_ACEOF
21640 /* end confdefs.h. */
21641 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21642 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21643 #define $ac_func innocuous_$ac_func
21644
21645 /* System header to define __stub macros and hopefully few prototypes,
21646 which can conflict with char $ac_func (); below.
21647 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21648 <limits.h> exists even on freestanding compilers. */
21649
21650 #ifdef __STDC__
21651 # include <limits.h>
21652 #else
21653 # include <assert.h>
21654 #endif
21655
21656 #undef $ac_func
21657
21658 /* Override any gcc2 internal prototype to avoid an error. */
21659 #ifdef __cplusplus
21660 extern "C"
21661 {
21662 #endif
21663 /* We use char because int might match the return type of a gcc2
21664 builtin and then its argument prototype would still apply. */
21665 char $ac_func ();
21666 /* The GNU C library defines this for functions which it implements
21667 to always fail with ENOSYS. Some functions are actually named
21668 something starting with __ and the normal name is an alias. */
21669 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21670 choke me
21671 #else
21672 char (*f) () = $ac_func;
21673 #endif
21674 #ifdef __cplusplus
21675 }
21676 #endif
21677
21678 int
21679 main ()
21680 {
21681 return f != $ac_func;
21682 ;
21683 return 0;
21684 }
21685 _ACEOF
21686 rm -f conftest.$ac_objext conftest$ac_exeext
21687 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21688 (eval $ac_link) 2>conftest.er1
21689 ac_status=$?
21690 grep -v '^ *+' conftest.er1 >conftest.err
21691 rm -f conftest.er1
21692 cat conftest.err >&5
21693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21694 (exit $ac_status); } &&
21695 { ac_try='test -z "$ac_c_werror_flag"
21696 || test ! -s conftest.err'
21697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21698 (eval $ac_try) 2>&5
21699 ac_status=$?
21700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21701 (exit $ac_status); }; } &&
21702 { ac_try='test -s conftest$ac_exeext'
21703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21704 (eval $ac_try) 2>&5
21705 ac_status=$?
21706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21707 (exit $ac_status); }; }; then
21708 eval "$as_ac_var=yes"
21709 else
21710 echo "$as_me: failed program was:" >&5
21711 sed 's/^/| /' conftest.$ac_ext >&5
21712
21713 eval "$as_ac_var=no"
21714 fi
21715 rm -f conftest.err conftest.$ac_objext \
21716 conftest$ac_exeext conftest.$ac_ext
21717 fi
21718 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21719 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21720 if test `eval echo '${'$as_ac_var'}'` = yes; then
21721 cat >>confdefs.h <<_ACEOF
21722 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21723 _ACEOF
21724
21725 fi
21726 done
21727
21728 else
21729
21730 echo "$as_me:$LINENO: checking for _fmodl declaration" >&5
21731 echo $ECHO_N "checking for _fmodl declaration... $ECHO_C" >&6
21732 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
21733 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then
21734 echo $ECHO_N "(cached) $ECHO_C" >&6
21735 else
21736
21737
21738
21739 ac_ext=cc
21740 ac_cpp='$CXXCPP $CPPFLAGS'
21741 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21742 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21743 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21744
21745 cat >conftest.$ac_ext <<_ACEOF
21746 /* confdefs.h. */
21747 _ACEOF
21748 cat confdefs.h >>conftest.$ac_ext
21749 cat >>conftest.$ac_ext <<_ACEOF
21750 /* end confdefs.h. */
21751 #include <math.h>
21752 int
21753 main ()
21754 {
21755 _fmodl(0, 0);
21756 ;
21757 return 0;
21758 }
21759 _ACEOF
21760 rm -f conftest.$ac_objext
21761 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21762 (eval $ac_compile) 2>conftest.er1
21763 ac_status=$?
21764 grep -v '^ *+' conftest.er1 >conftest.err
21765 rm -f conftest.er1
21766 cat conftest.err >&5
21767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21768 (exit $ac_status); } &&
21769 { ac_try='test -z "$ac_cxx_werror_flag"
21770 || test ! -s conftest.err'
21771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21772 (eval $ac_try) 2>&5
21773 ac_status=$?
21774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21775 (exit $ac_status); }; } &&
21776 { ac_try='test -s conftest.$ac_objext'
21777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21778 (eval $ac_try) 2>&5
21779 ac_status=$?
21780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21781 (exit $ac_status); }; }; then
21782 glibcxx_cv_func__fmodl_use=yes
21783 else
21784 echo "$as_me: failed program was:" >&5
21785 sed 's/^/| /' conftest.$ac_ext >&5
21786
21787 glibcxx_cv_func__fmodl_use=no
21788 fi
21789 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21790 ac_ext=c
21791 ac_cpp='$CPP $CPPFLAGS'
21792 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21793 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21794 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21795
21796
21797 fi
21798
21799 fi
21800 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodl_use" >&5
21801 echo "${ECHO_T}$glibcxx_cv_func__fmodl_use" >&6
21802
21803 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
21804
21805 for ac_func in _fmodl
21806 do
21807 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21808 echo "$as_me:$LINENO: checking for $ac_func" >&5
21809 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21810 if eval "test \"\${$as_ac_var+set}\" = set"; then
21811 echo $ECHO_N "(cached) $ECHO_C" >&6
21812 else
21813 if test x$gcc_no_link = xyes; then
21814 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21815 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21816 { (exit 1); exit 1; }; }
21817 fi
21818 cat >conftest.$ac_ext <<_ACEOF
21819 /* confdefs.h. */
21820 _ACEOF
21821 cat confdefs.h >>conftest.$ac_ext
21822 cat >>conftest.$ac_ext <<_ACEOF
21823 /* end confdefs.h. */
21824 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21825 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21826 #define $ac_func innocuous_$ac_func
21827
21828 /* System header to define __stub macros and hopefully few prototypes,
21829 which can conflict with char $ac_func (); below.
21830 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21831 <limits.h> exists even on freestanding compilers. */
21832
21833 #ifdef __STDC__
21834 # include <limits.h>
21835 #else
21836 # include <assert.h>
21837 #endif
21838
21839 #undef $ac_func
21840
21841 /* Override any gcc2 internal prototype to avoid an error. */
21842 #ifdef __cplusplus
21843 extern "C"
21844 {
21845 #endif
21846 /* We use char because int might match the return type of a gcc2
21847 builtin and then its argument prototype would still apply. */
21848 char $ac_func ();
21849 /* The GNU C library defines this for functions which it implements
21850 to always fail with ENOSYS. Some functions are actually named
21851 something starting with __ and the normal name is an alias. */
21852 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21853 choke me
21854 #else
21855 char (*f) () = $ac_func;
21856 #endif
21857 #ifdef __cplusplus
21858 }
21859 #endif
21860
21861 int
21862 main ()
21863 {
21864 return f != $ac_func;
21865 ;
21866 return 0;
21867 }
21868 _ACEOF
21869 rm -f conftest.$ac_objext conftest$ac_exeext
21870 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21871 (eval $ac_link) 2>conftest.er1
21872 ac_status=$?
21873 grep -v '^ *+' conftest.er1 >conftest.err
21874 rm -f conftest.er1
21875 cat conftest.err >&5
21876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21877 (exit $ac_status); } &&
21878 { ac_try='test -z "$ac_c_werror_flag"
21879 || test ! -s conftest.err'
21880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21881 (eval $ac_try) 2>&5
21882 ac_status=$?
21883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21884 (exit $ac_status); }; } &&
21885 { ac_try='test -s conftest$ac_exeext'
21886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21887 (eval $ac_try) 2>&5
21888 ac_status=$?
21889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21890 (exit $ac_status); }; }; then
21891 eval "$as_ac_var=yes"
21892 else
21893 echo "$as_me: failed program was:" >&5
21894 sed 's/^/| /' conftest.$ac_ext >&5
21895
21896 eval "$as_ac_var=no"
21897 fi
21898 rm -f conftest.err conftest.$ac_objext \
21899 conftest$ac_exeext conftest.$ac_ext
21900 fi
21901 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21902 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21903 if test `eval echo '${'$as_ac_var'}'` = yes; then
21904 cat >>confdefs.h <<_ACEOF
21905 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21906 _ACEOF
21907
21908 fi
21909 done
21910
21911 fi
21912 fi
21913
21914
21915
21916
21917
21918
21919 echo "$as_me:$LINENO: checking for frexpl declaration" >&5
21920 echo $ECHO_N "checking for frexpl declaration... $ECHO_C" >&6
21921 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
21922 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then
21923 echo $ECHO_N "(cached) $ECHO_C" >&6
21924 else
21925
21926
21927
21928 ac_ext=cc
21929 ac_cpp='$CXXCPP $CPPFLAGS'
21930 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21931 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21932 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21933
21934 cat >conftest.$ac_ext <<_ACEOF
21935 /* confdefs.h. */
21936 _ACEOF
21937 cat confdefs.h >>conftest.$ac_ext
21938 cat >>conftest.$ac_ext <<_ACEOF
21939 /* end confdefs.h. */
21940 #include <math.h>
21941 int
21942 main ()
21943 {
21944 frexpl(0, 0);
21945 ;
21946 return 0;
21947 }
21948 _ACEOF
21949 rm -f conftest.$ac_objext
21950 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21951 (eval $ac_compile) 2>conftest.er1
21952 ac_status=$?
21953 grep -v '^ *+' conftest.er1 >conftest.err
21954 rm -f conftest.er1
21955 cat conftest.err >&5
21956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21957 (exit $ac_status); } &&
21958 { ac_try='test -z "$ac_cxx_werror_flag"
21959 || test ! -s conftest.err'
21960 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21961 (eval $ac_try) 2>&5
21962 ac_status=$?
21963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21964 (exit $ac_status); }; } &&
21965 { ac_try='test -s conftest.$ac_objext'
21966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21967 (eval $ac_try) 2>&5
21968 ac_status=$?
21969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21970 (exit $ac_status); }; }; then
21971 glibcxx_cv_func_frexpl_use=yes
21972 else
21973 echo "$as_me: failed program was:" >&5
21974 sed 's/^/| /' conftest.$ac_ext >&5
21975
21976 glibcxx_cv_func_frexpl_use=no
21977 fi
21978 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21979 ac_ext=c
21980 ac_cpp='$CPP $CPPFLAGS'
21981 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21982 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21983 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21984
21985
21986 fi
21987
21988 fi
21989 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpl_use" >&5
21990 echo "${ECHO_T}$glibcxx_cv_func_frexpl_use" >&6
21991
21992 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
21993
21994 for ac_func in frexpl
21995 do
21996 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21997 echo "$as_me:$LINENO: checking for $ac_func" >&5
21998 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21999 if eval "test \"\${$as_ac_var+set}\" = set"; then
22000 echo $ECHO_N "(cached) $ECHO_C" >&6
22001 else
22002 if test x$gcc_no_link = xyes; then
22003 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22004 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22005 { (exit 1); exit 1; }; }
22006 fi
22007 cat >conftest.$ac_ext <<_ACEOF
22008 /* confdefs.h. */
22009 _ACEOF
22010 cat confdefs.h >>conftest.$ac_ext
22011 cat >>conftest.$ac_ext <<_ACEOF
22012 /* end confdefs.h. */
22013 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22014 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22015 #define $ac_func innocuous_$ac_func
22016
22017 /* System header to define __stub macros and hopefully few prototypes,
22018 which can conflict with char $ac_func (); below.
22019 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22020 <limits.h> exists even on freestanding compilers. */
22021
22022 #ifdef __STDC__
22023 # include <limits.h>
22024 #else
22025 # include <assert.h>
22026 #endif
22027
22028 #undef $ac_func
22029
22030 /* Override any gcc2 internal prototype to avoid an error. */
22031 #ifdef __cplusplus
22032 extern "C"
22033 {
22034 #endif
22035 /* We use char because int might match the return type of a gcc2
22036 builtin and then its argument prototype would still apply. */
22037 char $ac_func ();
22038 /* The GNU C library defines this for functions which it implements
22039 to always fail with ENOSYS. Some functions are actually named
22040 something starting with __ and the normal name is an alias. */
22041 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22042 choke me
22043 #else
22044 char (*f) () = $ac_func;
22045 #endif
22046 #ifdef __cplusplus
22047 }
22048 #endif
22049
22050 int
22051 main ()
22052 {
22053 return f != $ac_func;
22054 ;
22055 return 0;
22056 }
22057 _ACEOF
22058 rm -f conftest.$ac_objext conftest$ac_exeext
22059 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22060 (eval $ac_link) 2>conftest.er1
22061 ac_status=$?
22062 grep -v '^ *+' conftest.er1 >conftest.err
22063 rm -f conftest.er1
22064 cat conftest.err >&5
22065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22066 (exit $ac_status); } &&
22067 { ac_try='test -z "$ac_c_werror_flag"
22068 || test ! -s conftest.err'
22069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22070 (eval $ac_try) 2>&5
22071 ac_status=$?
22072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22073 (exit $ac_status); }; } &&
22074 { ac_try='test -s conftest$ac_exeext'
22075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22076 (eval $ac_try) 2>&5
22077 ac_status=$?
22078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22079 (exit $ac_status); }; }; then
22080 eval "$as_ac_var=yes"
22081 else
22082 echo "$as_me: failed program was:" >&5
22083 sed 's/^/| /' conftest.$ac_ext >&5
22084
22085 eval "$as_ac_var=no"
22086 fi
22087 rm -f conftest.err conftest.$ac_objext \
22088 conftest$ac_exeext conftest.$ac_ext
22089 fi
22090 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22091 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22092 if test `eval echo '${'$as_ac_var'}'` = yes; then
22093 cat >>confdefs.h <<_ACEOF
22094 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22095 _ACEOF
22096
22097 fi
22098 done
22099
22100 else
22101
22102 echo "$as_me:$LINENO: checking for _frexpl declaration" >&5
22103 echo $ECHO_N "checking for _frexpl declaration... $ECHO_C" >&6
22104 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
22105 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then
22106 echo $ECHO_N "(cached) $ECHO_C" >&6
22107 else
22108
22109
22110
22111 ac_ext=cc
22112 ac_cpp='$CXXCPP $CPPFLAGS'
22113 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22114 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22115 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22116
22117 cat >conftest.$ac_ext <<_ACEOF
22118 /* confdefs.h. */
22119 _ACEOF
22120 cat confdefs.h >>conftest.$ac_ext
22121 cat >>conftest.$ac_ext <<_ACEOF
22122 /* end confdefs.h. */
22123 #include <math.h>
22124 int
22125 main ()
22126 {
22127 _frexpl(0, 0);
22128 ;
22129 return 0;
22130 }
22131 _ACEOF
22132 rm -f conftest.$ac_objext
22133 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22134 (eval $ac_compile) 2>conftest.er1
22135 ac_status=$?
22136 grep -v '^ *+' conftest.er1 >conftest.err
22137 rm -f conftest.er1
22138 cat conftest.err >&5
22139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22140 (exit $ac_status); } &&
22141 { ac_try='test -z "$ac_cxx_werror_flag"
22142 || test ! -s conftest.err'
22143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22144 (eval $ac_try) 2>&5
22145 ac_status=$?
22146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22147 (exit $ac_status); }; } &&
22148 { ac_try='test -s conftest.$ac_objext'
22149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22150 (eval $ac_try) 2>&5
22151 ac_status=$?
22152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22153 (exit $ac_status); }; }; then
22154 glibcxx_cv_func__frexpl_use=yes
22155 else
22156 echo "$as_me: failed program was:" >&5
22157 sed 's/^/| /' conftest.$ac_ext >&5
22158
22159 glibcxx_cv_func__frexpl_use=no
22160 fi
22161 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22162 ac_ext=c
22163 ac_cpp='$CPP $CPPFLAGS'
22164 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22165 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22166 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22167
22168
22169 fi
22170
22171 fi
22172 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpl_use" >&5
22173 echo "${ECHO_T}$glibcxx_cv_func__frexpl_use" >&6
22174
22175 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
22176
22177 for ac_func in _frexpl
22178 do
22179 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22180 echo "$as_me:$LINENO: checking for $ac_func" >&5
22181 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22182 if eval "test \"\${$as_ac_var+set}\" = set"; then
22183 echo $ECHO_N "(cached) $ECHO_C" >&6
22184 else
22185 if test x$gcc_no_link = xyes; then
22186 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22187 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22188 { (exit 1); exit 1; }; }
22189 fi
22190 cat >conftest.$ac_ext <<_ACEOF
22191 /* confdefs.h. */
22192 _ACEOF
22193 cat confdefs.h >>conftest.$ac_ext
22194 cat >>conftest.$ac_ext <<_ACEOF
22195 /* end confdefs.h. */
22196 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22197 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22198 #define $ac_func innocuous_$ac_func
22199
22200 /* System header to define __stub macros and hopefully few prototypes,
22201 which can conflict with char $ac_func (); below.
22202 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22203 <limits.h> exists even on freestanding compilers. */
22204
22205 #ifdef __STDC__
22206 # include <limits.h>
22207 #else
22208 # include <assert.h>
22209 #endif
22210
22211 #undef $ac_func
22212
22213 /* Override any gcc2 internal prototype to avoid an error. */
22214 #ifdef __cplusplus
22215 extern "C"
22216 {
22217 #endif
22218 /* We use char because int might match the return type of a gcc2
22219 builtin and then its argument prototype would still apply. */
22220 char $ac_func ();
22221 /* The GNU C library defines this for functions which it implements
22222 to always fail with ENOSYS. Some functions are actually named
22223 something starting with __ and the normal name is an alias. */
22224 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22225 choke me
22226 #else
22227 char (*f) () = $ac_func;
22228 #endif
22229 #ifdef __cplusplus
22230 }
22231 #endif
22232
22233 int
22234 main ()
22235 {
22236 return f != $ac_func;
22237 ;
22238 return 0;
22239 }
22240 _ACEOF
22241 rm -f conftest.$ac_objext conftest$ac_exeext
22242 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22243 (eval $ac_link) 2>conftest.er1
22244 ac_status=$?
22245 grep -v '^ *+' conftest.er1 >conftest.err
22246 rm -f conftest.er1
22247 cat conftest.err >&5
22248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22249 (exit $ac_status); } &&
22250 { ac_try='test -z "$ac_c_werror_flag"
22251 || test ! -s conftest.err'
22252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22253 (eval $ac_try) 2>&5
22254 ac_status=$?
22255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22256 (exit $ac_status); }; } &&
22257 { ac_try='test -s conftest$ac_exeext'
22258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22259 (eval $ac_try) 2>&5
22260 ac_status=$?
22261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22262 (exit $ac_status); }; }; then
22263 eval "$as_ac_var=yes"
22264 else
22265 echo "$as_me: failed program was:" >&5
22266 sed 's/^/| /' conftest.$ac_ext >&5
22267
22268 eval "$as_ac_var=no"
22269 fi
22270 rm -f conftest.err conftest.$ac_objext \
22271 conftest$ac_exeext conftest.$ac_ext
22272 fi
22273 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22274 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22275 if test `eval echo '${'$as_ac_var'}'` = yes; then
22276 cat >>confdefs.h <<_ACEOF
22277 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22278 _ACEOF
22279
22280 fi
22281 done
22282
22283 fi
22284 fi
22285
22286
22287
22288
22289
22290
22291 echo "$as_me:$LINENO: checking for hypotl declaration" >&5
22292 echo $ECHO_N "checking for hypotl declaration... $ECHO_C" >&6
22293 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
22294 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then
22295 echo $ECHO_N "(cached) $ECHO_C" >&6
22296 else
22297
22298
22299
22300 ac_ext=cc
22301 ac_cpp='$CXXCPP $CPPFLAGS'
22302 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22303 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22304 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22305
22306 cat >conftest.$ac_ext <<_ACEOF
22307 /* confdefs.h. */
22308 _ACEOF
22309 cat confdefs.h >>conftest.$ac_ext
22310 cat >>conftest.$ac_ext <<_ACEOF
22311 /* end confdefs.h. */
22312 #include <math.h>
22313 int
22314 main ()
22315 {
22316 hypotl(0, 0);
22317 ;
22318 return 0;
22319 }
22320 _ACEOF
22321 rm -f conftest.$ac_objext
22322 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22323 (eval $ac_compile) 2>conftest.er1
22324 ac_status=$?
22325 grep -v '^ *+' conftest.er1 >conftest.err
22326 rm -f conftest.er1
22327 cat conftest.err >&5
22328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22329 (exit $ac_status); } &&
22330 { ac_try='test -z "$ac_cxx_werror_flag"
22331 || test ! -s conftest.err'
22332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22333 (eval $ac_try) 2>&5
22334 ac_status=$?
22335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22336 (exit $ac_status); }; } &&
22337 { ac_try='test -s conftest.$ac_objext'
22338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22339 (eval $ac_try) 2>&5
22340 ac_status=$?
22341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22342 (exit $ac_status); }; }; then
22343 glibcxx_cv_func_hypotl_use=yes
22344 else
22345 echo "$as_me: failed program was:" >&5
22346 sed 's/^/| /' conftest.$ac_ext >&5
22347
22348 glibcxx_cv_func_hypotl_use=no
22349 fi
22350 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22351 ac_ext=c
22352 ac_cpp='$CPP $CPPFLAGS'
22353 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22354 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22355 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22356
22357
22358 fi
22359
22360 fi
22361 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotl_use" >&5
22362 echo "${ECHO_T}$glibcxx_cv_func_hypotl_use" >&6
22363
22364 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
22365
22366 for ac_func in hypotl
22367 do
22368 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22369 echo "$as_me:$LINENO: checking for $ac_func" >&5
22370 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22371 if eval "test \"\${$as_ac_var+set}\" = set"; then
22372 echo $ECHO_N "(cached) $ECHO_C" >&6
22373 else
22374 if test x$gcc_no_link = xyes; then
22375 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22376 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22377 { (exit 1); exit 1; }; }
22378 fi
22379 cat >conftest.$ac_ext <<_ACEOF
22380 /* confdefs.h. */
22381 _ACEOF
22382 cat confdefs.h >>conftest.$ac_ext
22383 cat >>conftest.$ac_ext <<_ACEOF
22384 /* end confdefs.h. */
22385 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22386 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22387 #define $ac_func innocuous_$ac_func
22388
22389 /* System header to define __stub macros and hopefully few prototypes,
22390 which can conflict with char $ac_func (); below.
22391 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22392 <limits.h> exists even on freestanding compilers. */
22393
22394 #ifdef __STDC__
22395 # include <limits.h>
22396 #else
22397 # include <assert.h>
22398 #endif
22399
22400 #undef $ac_func
22401
22402 /* Override any gcc2 internal prototype to avoid an error. */
22403 #ifdef __cplusplus
22404 extern "C"
22405 {
22406 #endif
22407 /* We use char because int might match the return type of a gcc2
22408 builtin and then its argument prototype would still apply. */
22409 char $ac_func ();
22410 /* The GNU C library defines this for functions which it implements
22411 to always fail with ENOSYS. Some functions are actually named
22412 something starting with __ and the normal name is an alias. */
22413 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22414 choke me
22415 #else
22416 char (*f) () = $ac_func;
22417 #endif
22418 #ifdef __cplusplus
22419 }
22420 #endif
22421
22422 int
22423 main ()
22424 {
22425 return f != $ac_func;
22426 ;
22427 return 0;
22428 }
22429 _ACEOF
22430 rm -f conftest.$ac_objext conftest$ac_exeext
22431 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22432 (eval $ac_link) 2>conftest.er1
22433 ac_status=$?
22434 grep -v '^ *+' conftest.er1 >conftest.err
22435 rm -f conftest.er1
22436 cat conftest.err >&5
22437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22438 (exit $ac_status); } &&
22439 { ac_try='test -z "$ac_c_werror_flag"
22440 || test ! -s conftest.err'
22441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22442 (eval $ac_try) 2>&5
22443 ac_status=$?
22444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22445 (exit $ac_status); }; } &&
22446 { ac_try='test -s conftest$ac_exeext'
22447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22448 (eval $ac_try) 2>&5
22449 ac_status=$?
22450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22451 (exit $ac_status); }; }; then
22452 eval "$as_ac_var=yes"
22453 else
22454 echo "$as_me: failed program was:" >&5
22455 sed 's/^/| /' conftest.$ac_ext >&5
22456
22457 eval "$as_ac_var=no"
22458 fi
22459 rm -f conftest.err conftest.$ac_objext \
22460 conftest$ac_exeext conftest.$ac_ext
22461 fi
22462 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22463 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22464 if test `eval echo '${'$as_ac_var'}'` = yes; then
22465 cat >>confdefs.h <<_ACEOF
22466 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22467 _ACEOF
22468
22469 fi
22470 done
22471
22472 else
22473
22474 echo "$as_me:$LINENO: checking for _hypotl declaration" >&5
22475 echo $ECHO_N "checking for _hypotl declaration... $ECHO_C" >&6
22476 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
22477 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then
22478 echo $ECHO_N "(cached) $ECHO_C" >&6
22479 else
22480
22481
22482
22483 ac_ext=cc
22484 ac_cpp='$CXXCPP $CPPFLAGS'
22485 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22486 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22487 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22488
22489 cat >conftest.$ac_ext <<_ACEOF
22490 /* confdefs.h. */
22491 _ACEOF
22492 cat confdefs.h >>conftest.$ac_ext
22493 cat >>conftest.$ac_ext <<_ACEOF
22494 /* end confdefs.h. */
22495 #include <math.h>
22496 int
22497 main ()
22498 {
22499 _hypotl(0, 0);
22500 ;
22501 return 0;
22502 }
22503 _ACEOF
22504 rm -f conftest.$ac_objext
22505 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22506 (eval $ac_compile) 2>conftest.er1
22507 ac_status=$?
22508 grep -v '^ *+' conftest.er1 >conftest.err
22509 rm -f conftest.er1
22510 cat conftest.err >&5
22511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22512 (exit $ac_status); } &&
22513 { ac_try='test -z "$ac_cxx_werror_flag"
22514 || test ! -s conftest.err'
22515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22516 (eval $ac_try) 2>&5
22517 ac_status=$?
22518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22519 (exit $ac_status); }; } &&
22520 { ac_try='test -s conftest.$ac_objext'
22521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22522 (eval $ac_try) 2>&5
22523 ac_status=$?
22524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22525 (exit $ac_status); }; }; then
22526 glibcxx_cv_func__hypotl_use=yes
22527 else
22528 echo "$as_me: failed program was:" >&5
22529 sed 's/^/| /' conftest.$ac_ext >&5
22530
22531 glibcxx_cv_func__hypotl_use=no
22532 fi
22533 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22534 ac_ext=c
22535 ac_cpp='$CPP $CPPFLAGS'
22536 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22537 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22538 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22539
22540
22541 fi
22542
22543 fi
22544 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotl_use" >&5
22545 echo "${ECHO_T}$glibcxx_cv_func__hypotl_use" >&6
22546
22547 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
22548
22549 for ac_func in _hypotl
22550 do
22551 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22552 echo "$as_me:$LINENO: checking for $ac_func" >&5
22553 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22554 if eval "test \"\${$as_ac_var+set}\" = set"; then
22555 echo $ECHO_N "(cached) $ECHO_C" >&6
22556 else
22557 if test x$gcc_no_link = xyes; then
22558 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22559 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22560 { (exit 1); exit 1; }; }
22561 fi
22562 cat >conftest.$ac_ext <<_ACEOF
22563 /* confdefs.h. */
22564 _ACEOF
22565 cat confdefs.h >>conftest.$ac_ext
22566 cat >>conftest.$ac_ext <<_ACEOF
22567 /* end confdefs.h. */
22568 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22569 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22570 #define $ac_func innocuous_$ac_func
22571
22572 /* System header to define __stub macros and hopefully few prototypes,
22573 which can conflict with char $ac_func (); below.
22574 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22575 <limits.h> exists even on freestanding compilers. */
22576
22577 #ifdef __STDC__
22578 # include <limits.h>
22579 #else
22580 # include <assert.h>
22581 #endif
22582
22583 #undef $ac_func
22584
22585 /* Override any gcc2 internal prototype to avoid an error. */
22586 #ifdef __cplusplus
22587 extern "C"
22588 {
22589 #endif
22590 /* We use char because int might match the return type of a gcc2
22591 builtin and then its argument prototype would still apply. */
22592 char $ac_func ();
22593 /* The GNU C library defines this for functions which it implements
22594 to always fail with ENOSYS. Some functions are actually named
22595 something starting with __ and the normal name is an alias. */
22596 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22597 choke me
22598 #else
22599 char (*f) () = $ac_func;
22600 #endif
22601 #ifdef __cplusplus
22602 }
22603 #endif
22604
22605 int
22606 main ()
22607 {
22608 return f != $ac_func;
22609 ;
22610 return 0;
22611 }
22612 _ACEOF
22613 rm -f conftest.$ac_objext conftest$ac_exeext
22614 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22615 (eval $ac_link) 2>conftest.er1
22616 ac_status=$?
22617 grep -v '^ *+' conftest.er1 >conftest.err
22618 rm -f conftest.er1
22619 cat conftest.err >&5
22620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22621 (exit $ac_status); } &&
22622 { ac_try='test -z "$ac_c_werror_flag"
22623 || test ! -s conftest.err'
22624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22625 (eval $ac_try) 2>&5
22626 ac_status=$?
22627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22628 (exit $ac_status); }; } &&
22629 { ac_try='test -s conftest$ac_exeext'
22630 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22631 (eval $ac_try) 2>&5
22632 ac_status=$?
22633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22634 (exit $ac_status); }; }; then
22635 eval "$as_ac_var=yes"
22636 else
22637 echo "$as_me: failed program was:" >&5
22638 sed 's/^/| /' conftest.$ac_ext >&5
22639
22640 eval "$as_ac_var=no"
22641 fi
22642 rm -f conftest.err conftest.$ac_objext \
22643 conftest$ac_exeext conftest.$ac_ext
22644 fi
22645 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22646 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22647 if test `eval echo '${'$as_ac_var'}'` = yes; then
22648 cat >>confdefs.h <<_ACEOF
22649 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22650 _ACEOF
22651
22652 fi
22653 done
22654
22655 fi
22656 fi
22657
22658
22659
22660
22661
22662
22663 echo "$as_me:$LINENO: checking for ldexpl declaration" >&5
22664 echo $ECHO_N "checking for ldexpl declaration... $ECHO_C" >&6
22665 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
22666 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then
22667 echo $ECHO_N "(cached) $ECHO_C" >&6
22668 else
22669
22670
22671
22672 ac_ext=cc
22673 ac_cpp='$CXXCPP $CPPFLAGS'
22674 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22675 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22676 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22677
22678 cat >conftest.$ac_ext <<_ACEOF
22679 /* confdefs.h. */
22680 _ACEOF
22681 cat confdefs.h >>conftest.$ac_ext
22682 cat >>conftest.$ac_ext <<_ACEOF
22683 /* end confdefs.h. */
22684 #include <math.h>
22685 int
22686 main ()
22687 {
22688 ldexpl(0, 0);
22689 ;
22690 return 0;
22691 }
22692 _ACEOF
22693 rm -f conftest.$ac_objext
22694 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22695 (eval $ac_compile) 2>conftest.er1
22696 ac_status=$?
22697 grep -v '^ *+' conftest.er1 >conftest.err
22698 rm -f conftest.er1
22699 cat conftest.err >&5
22700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22701 (exit $ac_status); } &&
22702 { ac_try='test -z "$ac_cxx_werror_flag"
22703 || test ! -s conftest.err'
22704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22705 (eval $ac_try) 2>&5
22706 ac_status=$?
22707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22708 (exit $ac_status); }; } &&
22709 { ac_try='test -s conftest.$ac_objext'
22710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22711 (eval $ac_try) 2>&5
22712 ac_status=$?
22713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22714 (exit $ac_status); }; }; then
22715 glibcxx_cv_func_ldexpl_use=yes
22716 else
22717 echo "$as_me: failed program was:" >&5
22718 sed 's/^/| /' conftest.$ac_ext >&5
22719
22720 glibcxx_cv_func_ldexpl_use=no
22721 fi
22722 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22723 ac_ext=c
22724 ac_cpp='$CPP $CPPFLAGS'
22725 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22726 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22727 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22728
22729
22730 fi
22731
22732 fi
22733 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpl_use" >&5
22734 echo "${ECHO_T}$glibcxx_cv_func_ldexpl_use" >&6
22735
22736 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
22737
22738 for ac_func in ldexpl
22739 do
22740 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22741 echo "$as_me:$LINENO: checking for $ac_func" >&5
22742 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22743 if eval "test \"\${$as_ac_var+set}\" = set"; then
22744 echo $ECHO_N "(cached) $ECHO_C" >&6
22745 else
22746 if test x$gcc_no_link = xyes; then
22747 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22748 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22749 { (exit 1); exit 1; }; }
22750 fi
22751 cat >conftest.$ac_ext <<_ACEOF
22752 /* confdefs.h. */
22753 _ACEOF
22754 cat confdefs.h >>conftest.$ac_ext
22755 cat >>conftest.$ac_ext <<_ACEOF
22756 /* end confdefs.h. */
22757 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22758 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22759 #define $ac_func innocuous_$ac_func
22760
22761 /* System header to define __stub macros and hopefully few prototypes,
22762 which can conflict with char $ac_func (); below.
22763 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22764 <limits.h> exists even on freestanding compilers. */
22765
22766 #ifdef __STDC__
22767 # include <limits.h>
22768 #else
22769 # include <assert.h>
22770 #endif
22771
22772 #undef $ac_func
22773
22774 /* Override any gcc2 internal prototype to avoid an error. */
22775 #ifdef __cplusplus
22776 extern "C"
22777 {
22778 #endif
22779 /* We use char because int might match the return type of a gcc2
22780 builtin and then its argument prototype would still apply. */
22781 char $ac_func ();
22782 /* The GNU C library defines this for functions which it implements
22783 to always fail with ENOSYS. Some functions are actually named
22784 something starting with __ and the normal name is an alias. */
22785 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22786 choke me
22787 #else
22788 char (*f) () = $ac_func;
22789 #endif
22790 #ifdef __cplusplus
22791 }
22792 #endif
22793
22794 int
22795 main ()
22796 {
22797 return f != $ac_func;
22798 ;
22799 return 0;
22800 }
22801 _ACEOF
22802 rm -f conftest.$ac_objext conftest$ac_exeext
22803 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22804 (eval $ac_link) 2>conftest.er1
22805 ac_status=$?
22806 grep -v '^ *+' conftest.er1 >conftest.err
22807 rm -f conftest.er1
22808 cat conftest.err >&5
22809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22810 (exit $ac_status); } &&
22811 { ac_try='test -z "$ac_c_werror_flag"
22812 || test ! -s conftest.err'
22813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22814 (eval $ac_try) 2>&5
22815 ac_status=$?
22816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22817 (exit $ac_status); }; } &&
22818 { ac_try='test -s conftest$ac_exeext'
22819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22820 (eval $ac_try) 2>&5
22821 ac_status=$?
22822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22823 (exit $ac_status); }; }; then
22824 eval "$as_ac_var=yes"
22825 else
22826 echo "$as_me: failed program was:" >&5
22827 sed 's/^/| /' conftest.$ac_ext >&5
22828
22829 eval "$as_ac_var=no"
22830 fi
22831 rm -f conftest.err conftest.$ac_objext \
22832 conftest$ac_exeext conftest.$ac_ext
22833 fi
22834 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22835 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22836 if test `eval echo '${'$as_ac_var'}'` = yes; then
22837 cat >>confdefs.h <<_ACEOF
22838 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22839 _ACEOF
22840
22841 fi
22842 done
22843
22844 else
22845
22846 echo "$as_me:$LINENO: checking for _ldexpl declaration" >&5
22847 echo $ECHO_N "checking for _ldexpl declaration... $ECHO_C" >&6
22848 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
22849 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then
22850 echo $ECHO_N "(cached) $ECHO_C" >&6
22851 else
22852
22853
22854
22855 ac_ext=cc
22856 ac_cpp='$CXXCPP $CPPFLAGS'
22857 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22858 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22859 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22860
22861 cat >conftest.$ac_ext <<_ACEOF
22862 /* confdefs.h. */
22863 _ACEOF
22864 cat confdefs.h >>conftest.$ac_ext
22865 cat >>conftest.$ac_ext <<_ACEOF
22866 /* end confdefs.h. */
22867 #include <math.h>
22868 int
22869 main ()
22870 {
22871 _ldexpl(0, 0);
22872 ;
22873 return 0;
22874 }
22875 _ACEOF
22876 rm -f conftest.$ac_objext
22877 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22878 (eval $ac_compile) 2>conftest.er1
22879 ac_status=$?
22880 grep -v '^ *+' conftest.er1 >conftest.err
22881 rm -f conftest.er1
22882 cat conftest.err >&5
22883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22884 (exit $ac_status); } &&
22885 { ac_try='test -z "$ac_cxx_werror_flag"
22886 || test ! -s conftest.err'
22887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22888 (eval $ac_try) 2>&5
22889 ac_status=$?
22890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22891 (exit $ac_status); }; } &&
22892 { ac_try='test -s conftest.$ac_objext'
22893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22894 (eval $ac_try) 2>&5
22895 ac_status=$?
22896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22897 (exit $ac_status); }; }; then
22898 glibcxx_cv_func__ldexpl_use=yes
22899 else
22900 echo "$as_me: failed program was:" >&5
22901 sed 's/^/| /' conftest.$ac_ext >&5
22902
22903 glibcxx_cv_func__ldexpl_use=no
22904 fi
22905 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22906 ac_ext=c
22907 ac_cpp='$CPP $CPPFLAGS'
22908 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22909 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22910 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22911
22912
22913 fi
22914
22915 fi
22916 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpl_use" >&5
22917 echo "${ECHO_T}$glibcxx_cv_func__ldexpl_use" >&6
22918
22919 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
22920
22921 for ac_func in _ldexpl
22922 do
22923 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22924 echo "$as_me:$LINENO: checking for $ac_func" >&5
22925 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22926 if eval "test \"\${$as_ac_var+set}\" = set"; then
22927 echo $ECHO_N "(cached) $ECHO_C" >&6
22928 else
22929 if test x$gcc_no_link = xyes; then
22930 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22931 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22932 { (exit 1); exit 1; }; }
22933 fi
22934 cat >conftest.$ac_ext <<_ACEOF
22935 /* confdefs.h. */
22936 _ACEOF
22937 cat confdefs.h >>conftest.$ac_ext
22938 cat >>conftest.$ac_ext <<_ACEOF
22939 /* end confdefs.h. */
22940 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22941 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22942 #define $ac_func innocuous_$ac_func
22943
22944 /* System header to define __stub macros and hopefully few prototypes,
22945 which can conflict with char $ac_func (); below.
22946 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22947 <limits.h> exists even on freestanding compilers. */
22948
22949 #ifdef __STDC__
22950 # include <limits.h>
22951 #else
22952 # include <assert.h>
22953 #endif
22954
22955 #undef $ac_func
22956
22957 /* Override any gcc2 internal prototype to avoid an error. */
22958 #ifdef __cplusplus
22959 extern "C"
22960 {
22961 #endif
22962 /* We use char because int might match the return type of a gcc2
22963 builtin and then its argument prototype would still apply. */
22964 char $ac_func ();
22965 /* The GNU C library defines this for functions which it implements
22966 to always fail with ENOSYS. Some functions are actually named
22967 something starting with __ and the normal name is an alias. */
22968 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22969 choke me
22970 #else
22971 char (*f) () = $ac_func;
22972 #endif
22973 #ifdef __cplusplus
22974 }
22975 #endif
22976
22977 int
22978 main ()
22979 {
22980 return f != $ac_func;
22981 ;
22982 return 0;
22983 }
22984 _ACEOF
22985 rm -f conftest.$ac_objext conftest$ac_exeext
22986 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22987 (eval $ac_link) 2>conftest.er1
22988 ac_status=$?
22989 grep -v '^ *+' conftest.er1 >conftest.err
22990 rm -f conftest.er1
22991 cat conftest.err >&5
22992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22993 (exit $ac_status); } &&
22994 { ac_try='test -z "$ac_c_werror_flag"
22995 || test ! -s conftest.err'
22996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22997 (eval $ac_try) 2>&5
22998 ac_status=$?
22999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23000 (exit $ac_status); }; } &&
23001 { ac_try='test -s conftest$ac_exeext'
23002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23003 (eval $ac_try) 2>&5
23004 ac_status=$?
23005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23006 (exit $ac_status); }; }; then
23007 eval "$as_ac_var=yes"
23008 else
23009 echo "$as_me: failed program was:" >&5
23010 sed 's/^/| /' conftest.$ac_ext >&5
23011
23012 eval "$as_ac_var=no"
23013 fi
23014 rm -f conftest.err conftest.$ac_objext \
23015 conftest$ac_exeext conftest.$ac_ext
23016 fi
23017 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23018 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23019 if test `eval echo '${'$as_ac_var'}'` = yes; then
23020 cat >>confdefs.h <<_ACEOF
23021 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23022 _ACEOF
23023
23024 fi
23025 done
23026
23027 fi
23028 fi
23029
23030
23031
23032
23033
23034
23035 echo "$as_me:$LINENO: checking for logl declaration" >&5
23036 echo $ECHO_N "checking for logl declaration... $ECHO_C" >&6
23037 if test x${glibcxx_cv_func_logl_use+set} != xset; then
23038 if test "${glibcxx_cv_func_logl_use+set}" = set; then
23039 echo $ECHO_N "(cached) $ECHO_C" >&6
23040 else
23041
23042
23043
23044 ac_ext=cc
23045 ac_cpp='$CXXCPP $CPPFLAGS'
23046 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23047 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23048 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23049
23050 cat >conftest.$ac_ext <<_ACEOF
23051 /* confdefs.h. */
23052 _ACEOF
23053 cat confdefs.h >>conftest.$ac_ext
23054 cat >>conftest.$ac_ext <<_ACEOF
23055 /* end confdefs.h. */
23056 #include <math.h>
23057 #ifdef HAVE_IEEEFP_H
23058 #include <ieeefp.h>
23059 #endif
23060
23061 int
23062 main ()
23063 {
23064 logl(0);
23065 ;
23066 return 0;
23067 }
23068 _ACEOF
23069 rm -f conftest.$ac_objext
23070 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23071 (eval $ac_compile) 2>conftest.er1
23072 ac_status=$?
23073 grep -v '^ *+' conftest.er1 >conftest.err
23074 rm -f conftest.er1
23075 cat conftest.err >&5
23076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23077 (exit $ac_status); } &&
23078 { ac_try='test -z "$ac_cxx_werror_flag"
23079 || test ! -s conftest.err'
23080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23081 (eval $ac_try) 2>&5
23082 ac_status=$?
23083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23084 (exit $ac_status); }; } &&
23085 { ac_try='test -s conftest.$ac_objext'
23086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23087 (eval $ac_try) 2>&5
23088 ac_status=$?
23089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23090 (exit $ac_status); }; }; then
23091 glibcxx_cv_func_logl_use=yes
23092 else
23093 echo "$as_me: failed program was:" >&5
23094 sed 's/^/| /' conftest.$ac_ext >&5
23095
23096 glibcxx_cv_func_logl_use=no
23097 fi
23098 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23099 ac_ext=c
23100 ac_cpp='$CPP $CPPFLAGS'
23101 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23102 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23103 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23104
23105
23106 fi
23107
23108 fi
23109 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logl_use" >&5
23110 echo "${ECHO_T}$glibcxx_cv_func_logl_use" >&6
23111
23112 if test x$glibcxx_cv_func_logl_use = x"yes"; then
23113
23114 for ac_func in logl
23115 do
23116 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23117 echo "$as_me:$LINENO: checking for $ac_func" >&5
23118 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23119 if eval "test \"\${$as_ac_var+set}\" = set"; then
23120 echo $ECHO_N "(cached) $ECHO_C" >&6
23121 else
23122 if test x$gcc_no_link = xyes; then
23123 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23124 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23125 { (exit 1); exit 1; }; }
23126 fi
23127 cat >conftest.$ac_ext <<_ACEOF
23128 /* confdefs.h. */
23129 _ACEOF
23130 cat confdefs.h >>conftest.$ac_ext
23131 cat >>conftest.$ac_ext <<_ACEOF
23132 /* end confdefs.h. */
23133 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23134 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23135 #define $ac_func innocuous_$ac_func
23136
23137 /* System header to define __stub macros and hopefully few prototypes,
23138 which can conflict with char $ac_func (); below.
23139 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23140 <limits.h> exists even on freestanding compilers. */
23141
23142 #ifdef __STDC__
23143 # include <limits.h>
23144 #else
23145 # include <assert.h>
23146 #endif
23147
23148 #undef $ac_func
23149
23150 /* Override any gcc2 internal prototype to avoid an error. */
23151 #ifdef __cplusplus
23152 extern "C"
23153 {
23154 #endif
23155 /* We use char because int might match the return type of a gcc2
23156 builtin and then its argument prototype would still apply. */
23157 char $ac_func ();
23158 /* The GNU C library defines this for functions which it implements
23159 to always fail with ENOSYS. Some functions are actually named
23160 something starting with __ and the normal name is an alias. */
23161 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23162 choke me
23163 #else
23164 char (*f) () = $ac_func;
23165 #endif
23166 #ifdef __cplusplus
23167 }
23168 #endif
23169
23170 int
23171 main ()
23172 {
23173 return f != $ac_func;
23174 ;
23175 return 0;
23176 }
23177 _ACEOF
23178 rm -f conftest.$ac_objext conftest$ac_exeext
23179 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23180 (eval $ac_link) 2>conftest.er1
23181 ac_status=$?
23182 grep -v '^ *+' conftest.er1 >conftest.err
23183 rm -f conftest.er1
23184 cat conftest.err >&5
23185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23186 (exit $ac_status); } &&
23187 { ac_try='test -z "$ac_c_werror_flag"
23188 || test ! -s conftest.err'
23189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23190 (eval $ac_try) 2>&5
23191 ac_status=$?
23192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23193 (exit $ac_status); }; } &&
23194 { ac_try='test -s conftest$ac_exeext'
23195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23196 (eval $ac_try) 2>&5
23197 ac_status=$?
23198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23199 (exit $ac_status); }; }; then
23200 eval "$as_ac_var=yes"
23201 else
23202 echo "$as_me: failed program was:" >&5
23203 sed 's/^/| /' conftest.$ac_ext >&5
23204
23205 eval "$as_ac_var=no"
23206 fi
23207 rm -f conftest.err conftest.$ac_objext \
23208 conftest$ac_exeext conftest.$ac_ext
23209 fi
23210 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23211 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23212 if test `eval echo '${'$as_ac_var'}'` = yes; then
23213 cat >>confdefs.h <<_ACEOF
23214 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23215 _ACEOF
23216
23217 fi
23218 done
23219
23220 else
23221
23222 echo "$as_me:$LINENO: checking for _logl declaration" >&5
23223 echo $ECHO_N "checking for _logl declaration... $ECHO_C" >&6
23224 if test x${glibcxx_cv_func__logl_use+set} != xset; then
23225 if test "${glibcxx_cv_func__logl_use+set}" = set; then
23226 echo $ECHO_N "(cached) $ECHO_C" >&6
23227 else
23228
23229
23230
23231 ac_ext=cc
23232 ac_cpp='$CXXCPP $CPPFLAGS'
23233 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23234 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23235 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23236
23237 cat >conftest.$ac_ext <<_ACEOF
23238 /* confdefs.h. */
23239 _ACEOF
23240 cat confdefs.h >>conftest.$ac_ext
23241 cat >>conftest.$ac_ext <<_ACEOF
23242 /* end confdefs.h. */
23243 #include <math.h>
23244 #ifdef HAVE_IEEEFP_H
23245 #include <ieeefp.h>
23246 #endif
23247
23248 int
23249 main ()
23250 {
23251 _logl(0);
23252 ;
23253 return 0;
23254 }
23255 _ACEOF
23256 rm -f conftest.$ac_objext
23257 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23258 (eval $ac_compile) 2>conftest.er1
23259 ac_status=$?
23260 grep -v '^ *+' conftest.er1 >conftest.err
23261 rm -f conftest.er1
23262 cat conftest.err >&5
23263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23264 (exit $ac_status); } &&
23265 { ac_try='test -z "$ac_cxx_werror_flag"
23266 || test ! -s conftest.err'
23267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23268 (eval $ac_try) 2>&5
23269 ac_status=$?
23270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23271 (exit $ac_status); }; } &&
23272 { ac_try='test -s conftest.$ac_objext'
23273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23274 (eval $ac_try) 2>&5
23275 ac_status=$?
23276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23277 (exit $ac_status); }; }; then
23278 glibcxx_cv_func__logl_use=yes
23279 else
23280 echo "$as_me: failed program was:" >&5
23281 sed 's/^/| /' conftest.$ac_ext >&5
23282
23283 glibcxx_cv_func__logl_use=no
23284 fi
23285 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23286 ac_ext=c
23287 ac_cpp='$CPP $CPPFLAGS'
23288 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23289 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23290 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23291
23292
23293 fi
23294
23295 fi
23296 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logl_use" >&5
23297 echo "${ECHO_T}$glibcxx_cv_func__logl_use" >&6
23298
23299 if test x$glibcxx_cv_func__logl_use = x"yes"; then
23300
23301 for ac_func in _logl
23302 do
23303 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23304 echo "$as_me:$LINENO: checking for $ac_func" >&5
23305 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23306 if eval "test \"\${$as_ac_var+set}\" = set"; then
23307 echo $ECHO_N "(cached) $ECHO_C" >&6
23308 else
23309 if test x$gcc_no_link = xyes; then
23310 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23311 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23312 { (exit 1); exit 1; }; }
23313 fi
23314 cat >conftest.$ac_ext <<_ACEOF
23315 /* confdefs.h. */
23316 _ACEOF
23317 cat confdefs.h >>conftest.$ac_ext
23318 cat >>conftest.$ac_ext <<_ACEOF
23319 /* end confdefs.h. */
23320 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23321 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23322 #define $ac_func innocuous_$ac_func
23323
23324 /* System header to define __stub macros and hopefully few prototypes,
23325 which can conflict with char $ac_func (); below.
23326 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23327 <limits.h> exists even on freestanding compilers. */
23328
23329 #ifdef __STDC__
23330 # include <limits.h>
23331 #else
23332 # include <assert.h>
23333 #endif
23334
23335 #undef $ac_func
23336
23337 /* Override any gcc2 internal prototype to avoid an error. */
23338 #ifdef __cplusplus
23339 extern "C"
23340 {
23341 #endif
23342 /* We use char because int might match the return type of a gcc2
23343 builtin and then its argument prototype would still apply. */
23344 char $ac_func ();
23345 /* The GNU C library defines this for functions which it implements
23346 to always fail with ENOSYS. Some functions are actually named
23347 something starting with __ and the normal name is an alias. */
23348 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23349 choke me
23350 #else
23351 char (*f) () = $ac_func;
23352 #endif
23353 #ifdef __cplusplus
23354 }
23355 #endif
23356
23357 int
23358 main ()
23359 {
23360 return f != $ac_func;
23361 ;
23362 return 0;
23363 }
23364 _ACEOF
23365 rm -f conftest.$ac_objext conftest$ac_exeext
23366 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23367 (eval $ac_link) 2>conftest.er1
23368 ac_status=$?
23369 grep -v '^ *+' conftest.er1 >conftest.err
23370 rm -f conftest.er1
23371 cat conftest.err >&5
23372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23373 (exit $ac_status); } &&
23374 { ac_try='test -z "$ac_c_werror_flag"
23375 || test ! -s conftest.err'
23376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23377 (eval $ac_try) 2>&5
23378 ac_status=$?
23379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23380 (exit $ac_status); }; } &&
23381 { ac_try='test -s conftest$ac_exeext'
23382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23383 (eval $ac_try) 2>&5
23384 ac_status=$?
23385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23386 (exit $ac_status); }; }; then
23387 eval "$as_ac_var=yes"
23388 else
23389 echo "$as_me: failed program was:" >&5
23390 sed 's/^/| /' conftest.$ac_ext >&5
23391
23392 eval "$as_ac_var=no"
23393 fi
23394 rm -f conftest.err conftest.$ac_objext \
23395 conftest$ac_exeext conftest.$ac_ext
23396 fi
23397 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23398 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23399 if test `eval echo '${'$as_ac_var'}'` = yes; then
23400 cat >>confdefs.h <<_ACEOF
23401 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23402 _ACEOF
23403
23404 fi
23405 done
23406
23407 fi
23408 fi
23409
23410
23411
23412
23413
23414
23415 echo "$as_me:$LINENO: checking for log10l declaration" >&5
23416 echo $ECHO_N "checking for log10l declaration... $ECHO_C" >&6
23417 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
23418 if test "${glibcxx_cv_func_log10l_use+set}" = set; then
23419 echo $ECHO_N "(cached) $ECHO_C" >&6
23420 else
23421
23422
23423
23424 ac_ext=cc
23425 ac_cpp='$CXXCPP $CPPFLAGS'
23426 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23427 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23428 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23429
23430 cat >conftest.$ac_ext <<_ACEOF
23431 /* confdefs.h. */
23432 _ACEOF
23433 cat confdefs.h >>conftest.$ac_ext
23434 cat >>conftest.$ac_ext <<_ACEOF
23435 /* end confdefs.h. */
23436 #include <math.h>
23437 #ifdef HAVE_IEEEFP_H
23438 #include <ieeefp.h>
23439 #endif
23440
23441 int
23442 main ()
23443 {
23444 log10l(0);
23445 ;
23446 return 0;
23447 }
23448 _ACEOF
23449 rm -f conftest.$ac_objext
23450 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23451 (eval $ac_compile) 2>conftest.er1
23452 ac_status=$?
23453 grep -v '^ *+' conftest.er1 >conftest.err
23454 rm -f conftest.er1
23455 cat conftest.err >&5
23456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23457 (exit $ac_status); } &&
23458 { ac_try='test -z "$ac_cxx_werror_flag"
23459 || test ! -s conftest.err'
23460 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23461 (eval $ac_try) 2>&5
23462 ac_status=$?
23463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23464 (exit $ac_status); }; } &&
23465 { ac_try='test -s conftest.$ac_objext'
23466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23467 (eval $ac_try) 2>&5
23468 ac_status=$?
23469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23470 (exit $ac_status); }; }; then
23471 glibcxx_cv_func_log10l_use=yes
23472 else
23473 echo "$as_me: failed program was:" >&5
23474 sed 's/^/| /' conftest.$ac_ext >&5
23475
23476 glibcxx_cv_func_log10l_use=no
23477 fi
23478 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23479 ac_ext=c
23480 ac_cpp='$CPP $CPPFLAGS'
23481 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23482 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23483 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23484
23485
23486 fi
23487
23488 fi
23489 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10l_use" >&5
23490 echo "${ECHO_T}$glibcxx_cv_func_log10l_use" >&6
23491
23492 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
23493
23494 for ac_func in log10l
23495 do
23496 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23497 echo "$as_me:$LINENO: checking for $ac_func" >&5
23498 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23499 if eval "test \"\${$as_ac_var+set}\" = set"; then
23500 echo $ECHO_N "(cached) $ECHO_C" >&6
23501 else
23502 if test x$gcc_no_link = xyes; then
23503 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23504 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23505 { (exit 1); exit 1; }; }
23506 fi
23507 cat >conftest.$ac_ext <<_ACEOF
23508 /* confdefs.h. */
23509 _ACEOF
23510 cat confdefs.h >>conftest.$ac_ext
23511 cat >>conftest.$ac_ext <<_ACEOF
23512 /* end confdefs.h. */
23513 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23514 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23515 #define $ac_func innocuous_$ac_func
23516
23517 /* System header to define __stub macros and hopefully few prototypes,
23518 which can conflict with char $ac_func (); below.
23519 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23520 <limits.h> exists even on freestanding compilers. */
23521
23522 #ifdef __STDC__
23523 # include <limits.h>
23524 #else
23525 # include <assert.h>
23526 #endif
23527
23528 #undef $ac_func
23529
23530 /* Override any gcc2 internal prototype to avoid an error. */
23531 #ifdef __cplusplus
23532 extern "C"
23533 {
23534 #endif
23535 /* We use char because int might match the return type of a gcc2
23536 builtin and then its argument prototype would still apply. */
23537 char $ac_func ();
23538 /* The GNU C library defines this for functions which it implements
23539 to always fail with ENOSYS. Some functions are actually named
23540 something starting with __ and the normal name is an alias. */
23541 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23542 choke me
23543 #else
23544 char (*f) () = $ac_func;
23545 #endif
23546 #ifdef __cplusplus
23547 }
23548 #endif
23549
23550 int
23551 main ()
23552 {
23553 return f != $ac_func;
23554 ;
23555 return 0;
23556 }
23557 _ACEOF
23558 rm -f conftest.$ac_objext conftest$ac_exeext
23559 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23560 (eval $ac_link) 2>conftest.er1
23561 ac_status=$?
23562 grep -v '^ *+' conftest.er1 >conftest.err
23563 rm -f conftest.er1
23564 cat conftest.err >&5
23565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23566 (exit $ac_status); } &&
23567 { ac_try='test -z "$ac_c_werror_flag"
23568 || test ! -s conftest.err'
23569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23570 (eval $ac_try) 2>&5
23571 ac_status=$?
23572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23573 (exit $ac_status); }; } &&
23574 { ac_try='test -s conftest$ac_exeext'
23575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23576 (eval $ac_try) 2>&5
23577 ac_status=$?
23578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23579 (exit $ac_status); }; }; then
23580 eval "$as_ac_var=yes"
23581 else
23582 echo "$as_me: failed program was:" >&5
23583 sed 's/^/| /' conftest.$ac_ext >&5
23584
23585 eval "$as_ac_var=no"
23586 fi
23587 rm -f conftest.err conftest.$ac_objext \
23588 conftest$ac_exeext conftest.$ac_ext
23589 fi
23590 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23591 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23592 if test `eval echo '${'$as_ac_var'}'` = yes; then
23593 cat >>confdefs.h <<_ACEOF
23594 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23595 _ACEOF
23596
23597 fi
23598 done
23599
23600 else
23601
23602 echo "$as_me:$LINENO: checking for _log10l declaration" >&5
23603 echo $ECHO_N "checking for _log10l declaration... $ECHO_C" >&6
23604 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
23605 if test "${glibcxx_cv_func__log10l_use+set}" = set; then
23606 echo $ECHO_N "(cached) $ECHO_C" >&6
23607 else
23608
23609
23610
23611 ac_ext=cc
23612 ac_cpp='$CXXCPP $CPPFLAGS'
23613 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23614 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23615 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23616
23617 cat >conftest.$ac_ext <<_ACEOF
23618 /* confdefs.h. */
23619 _ACEOF
23620 cat confdefs.h >>conftest.$ac_ext
23621 cat >>conftest.$ac_ext <<_ACEOF
23622 /* end confdefs.h. */
23623 #include <math.h>
23624 #ifdef HAVE_IEEEFP_H
23625 #include <ieeefp.h>
23626 #endif
23627
23628 int
23629 main ()
23630 {
23631 _log10l(0);
23632 ;
23633 return 0;
23634 }
23635 _ACEOF
23636 rm -f conftest.$ac_objext
23637 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23638 (eval $ac_compile) 2>conftest.er1
23639 ac_status=$?
23640 grep -v '^ *+' conftest.er1 >conftest.err
23641 rm -f conftest.er1
23642 cat conftest.err >&5
23643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23644 (exit $ac_status); } &&
23645 { ac_try='test -z "$ac_cxx_werror_flag"
23646 || test ! -s conftest.err'
23647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23648 (eval $ac_try) 2>&5
23649 ac_status=$?
23650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23651 (exit $ac_status); }; } &&
23652 { ac_try='test -s conftest.$ac_objext'
23653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23654 (eval $ac_try) 2>&5
23655 ac_status=$?
23656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23657 (exit $ac_status); }; }; then
23658 glibcxx_cv_func__log10l_use=yes
23659 else
23660 echo "$as_me: failed program was:" >&5
23661 sed 's/^/| /' conftest.$ac_ext >&5
23662
23663 glibcxx_cv_func__log10l_use=no
23664 fi
23665 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23666 ac_ext=c
23667 ac_cpp='$CPP $CPPFLAGS'
23668 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23669 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23670 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23671
23672
23673 fi
23674
23675 fi
23676 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10l_use" >&5
23677 echo "${ECHO_T}$glibcxx_cv_func__log10l_use" >&6
23678
23679 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
23680
23681 for ac_func in _log10l
23682 do
23683 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23684 echo "$as_me:$LINENO: checking for $ac_func" >&5
23685 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23686 if eval "test \"\${$as_ac_var+set}\" = set"; then
23687 echo $ECHO_N "(cached) $ECHO_C" >&6
23688 else
23689 if test x$gcc_no_link = xyes; then
23690 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23691 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23692 { (exit 1); exit 1; }; }
23693 fi
23694 cat >conftest.$ac_ext <<_ACEOF
23695 /* confdefs.h. */
23696 _ACEOF
23697 cat confdefs.h >>conftest.$ac_ext
23698 cat >>conftest.$ac_ext <<_ACEOF
23699 /* end confdefs.h. */
23700 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23701 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23702 #define $ac_func innocuous_$ac_func
23703
23704 /* System header to define __stub macros and hopefully few prototypes,
23705 which can conflict with char $ac_func (); below.
23706 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23707 <limits.h> exists even on freestanding compilers. */
23708
23709 #ifdef __STDC__
23710 # include <limits.h>
23711 #else
23712 # include <assert.h>
23713 #endif
23714
23715 #undef $ac_func
23716
23717 /* Override any gcc2 internal prototype to avoid an error. */
23718 #ifdef __cplusplus
23719 extern "C"
23720 {
23721 #endif
23722 /* We use char because int might match the return type of a gcc2
23723 builtin and then its argument prototype would still apply. */
23724 char $ac_func ();
23725 /* The GNU C library defines this for functions which it implements
23726 to always fail with ENOSYS. Some functions are actually named
23727 something starting with __ and the normal name is an alias. */
23728 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23729 choke me
23730 #else
23731 char (*f) () = $ac_func;
23732 #endif
23733 #ifdef __cplusplus
23734 }
23735 #endif
23736
23737 int
23738 main ()
23739 {
23740 return f != $ac_func;
23741 ;
23742 return 0;
23743 }
23744 _ACEOF
23745 rm -f conftest.$ac_objext conftest$ac_exeext
23746 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23747 (eval $ac_link) 2>conftest.er1
23748 ac_status=$?
23749 grep -v '^ *+' conftest.er1 >conftest.err
23750 rm -f conftest.er1
23751 cat conftest.err >&5
23752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23753 (exit $ac_status); } &&
23754 { ac_try='test -z "$ac_c_werror_flag"
23755 || test ! -s conftest.err'
23756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23757 (eval $ac_try) 2>&5
23758 ac_status=$?
23759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23760 (exit $ac_status); }; } &&
23761 { ac_try='test -s conftest$ac_exeext'
23762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23763 (eval $ac_try) 2>&5
23764 ac_status=$?
23765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23766 (exit $ac_status); }; }; then
23767 eval "$as_ac_var=yes"
23768 else
23769 echo "$as_me: failed program was:" >&5
23770 sed 's/^/| /' conftest.$ac_ext >&5
23771
23772 eval "$as_ac_var=no"
23773 fi
23774 rm -f conftest.err conftest.$ac_objext \
23775 conftest$ac_exeext conftest.$ac_ext
23776 fi
23777 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23778 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23779 if test `eval echo '${'$as_ac_var'}'` = yes; then
23780 cat >>confdefs.h <<_ACEOF
23781 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23782 _ACEOF
23783
23784 fi
23785 done
23786
23787 fi
23788 fi
23789
23790
23791
23792
23793
23794
23795 echo "$as_me:$LINENO: checking for modfl declaration" >&5
23796 echo $ECHO_N "checking for modfl declaration... $ECHO_C" >&6
23797 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
23798 if test "${glibcxx_cv_func_modfl_use+set}" = set; then
23799 echo $ECHO_N "(cached) $ECHO_C" >&6
23800 else
23801
23802
23803
23804 ac_ext=cc
23805 ac_cpp='$CXXCPP $CPPFLAGS'
23806 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23807 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23808 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23809
23810 cat >conftest.$ac_ext <<_ACEOF
23811 /* confdefs.h. */
23812 _ACEOF
23813 cat confdefs.h >>conftest.$ac_ext
23814 cat >>conftest.$ac_ext <<_ACEOF
23815 /* end confdefs.h. */
23816 #include <math.h>
23817 int
23818 main ()
23819 {
23820 modfl(0, 0);
23821 ;
23822 return 0;
23823 }
23824 _ACEOF
23825 rm -f conftest.$ac_objext
23826 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23827 (eval $ac_compile) 2>conftest.er1
23828 ac_status=$?
23829 grep -v '^ *+' conftest.er1 >conftest.err
23830 rm -f conftest.er1
23831 cat conftest.err >&5
23832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23833 (exit $ac_status); } &&
23834 { ac_try='test -z "$ac_cxx_werror_flag"
23835 || test ! -s conftest.err'
23836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23837 (eval $ac_try) 2>&5
23838 ac_status=$?
23839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23840 (exit $ac_status); }; } &&
23841 { ac_try='test -s conftest.$ac_objext'
23842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23843 (eval $ac_try) 2>&5
23844 ac_status=$?
23845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23846 (exit $ac_status); }; }; then
23847 glibcxx_cv_func_modfl_use=yes
23848 else
23849 echo "$as_me: failed program was:" >&5
23850 sed 's/^/| /' conftest.$ac_ext >&5
23851
23852 glibcxx_cv_func_modfl_use=no
23853 fi
23854 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23855 ac_ext=c
23856 ac_cpp='$CPP $CPPFLAGS'
23857 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23858 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23859 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23860
23861
23862 fi
23863
23864 fi
23865 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modfl_use" >&5
23866 echo "${ECHO_T}$glibcxx_cv_func_modfl_use" >&6
23867
23868 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
23869
23870 for ac_func in modfl
23871 do
23872 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23873 echo "$as_me:$LINENO: checking for $ac_func" >&5
23874 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23875 if eval "test \"\${$as_ac_var+set}\" = set"; then
23876 echo $ECHO_N "(cached) $ECHO_C" >&6
23877 else
23878 if test x$gcc_no_link = xyes; then
23879 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23880 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23881 { (exit 1); exit 1; }; }
23882 fi
23883 cat >conftest.$ac_ext <<_ACEOF
23884 /* confdefs.h. */
23885 _ACEOF
23886 cat confdefs.h >>conftest.$ac_ext
23887 cat >>conftest.$ac_ext <<_ACEOF
23888 /* end confdefs.h. */
23889 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23890 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23891 #define $ac_func innocuous_$ac_func
23892
23893 /* System header to define __stub macros and hopefully few prototypes,
23894 which can conflict with char $ac_func (); below.
23895 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23896 <limits.h> exists even on freestanding compilers. */
23897
23898 #ifdef __STDC__
23899 # include <limits.h>
23900 #else
23901 # include <assert.h>
23902 #endif
23903
23904 #undef $ac_func
23905
23906 /* Override any gcc2 internal prototype to avoid an error. */
23907 #ifdef __cplusplus
23908 extern "C"
23909 {
23910 #endif
23911 /* We use char because int might match the return type of a gcc2
23912 builtin and then its argument prototype would still apply. */
23913 char $ac_func ();
23914 /* The GNU C library defines this for functions which it implements
23915 to always fail with ENOSYS. Some functions are actually named
23916 something starting with __ and the normal name is an alias. */
23917 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23918 choke me
23919 #else
23920 char (*f) () = $ac_func;
23921 #endif
23922 #ifdef __cplusplus
23923 }
23924 #endif
23925
23926 int
23927 main ()
23928 {
23929 return f != $ac_func;
23930 ;
23931 return 0;
23932 }
23933 _ACEOF
23934 rm -f conftest.$ac_objext conftest$ac_exeext
23935 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23936 (eval $ac_link) 2>conftest.er1
23937 ac_status=$?
23938 grep -v '^ *+' conftest.er1 >conftest.err
23939 rm -f conftest.er1
23940 cat conftest.err >&5
23941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23942 (exit $ac_status); } &&
23943 { ac_try='test -z "$ac_c_werror_flag"
23944 || test ! -s conftest.err'
23945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23946 (eval $ac_try) 2>&5
23947 ac_status=$?
23948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23949 (exit $ac_status); }; } &&
23950 { ac_try='test -s conftest$ac_exeext'
23951 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23952 (eval $ac_try) 2>&5
23953 ac_status=$?
23954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23955 (exit $ac_status); }; }; then
23956 eval "$as_ac_var=yes"
23957 else
23958 echo "$as_me: failed program was:" >&5
23959 sed 's/^/| /' conftest.$ac_ext >&5
23960
23961 eval "$as_ac_var=no"
23962 fi
23963 rm -f conftest.err conftest.$ac_objext \
23964 conftest$ac_exeext conftest.$ac_ext
23965 fi
23966 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23967 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23968 if test `eval echo '${'$as_ac_var'}'` = yes; then
23969 cat >>confdefs.h <<_ACEOF
23970 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23971 _ACEOF
23972
23973 fi
23974 done
23975
23976 else
23977
23978 echo "$as_me:$LINENO: checking for _modfl declaration" >&5
23979 echo $ECHO_N "checking for _modfl declaration... $ECHO_C" >&6
23980 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
23981 if test "${glibcxx_cv_func__modfl_use+set}" = set; then
23982 echo $ECHO_N "(cached) $ECHO_C" >&6
23983 else
23984
23985
23986
23987 ac_ext=cc
23988 ac_cpp='$CXXCPP $CPPFLAGS'
23989 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23990 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23991 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23992
23993 cat >conftest.$ac_ext <<_ACEOF
23994 /* confdefs.h. */
23995 _ACEOF
23996 cat confdefs.h >>conftest.$ac_ext
23997 cat >>conftest.$ac_ext <<_ACEOF
23998 /* end confdefs.h. */
23999 #include <math.h>
24000 int
24001 main ()
24002 {
24003 _modfl(0, 0);
24004 ;
24005 return 0;
24006 }
24007 _ACEOF
24008 rm -f conftest.$ac_objext
24009 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24010 (eval $ac_compile) 2>conftest.er1
24011 ac_status=$?
24012 grep -v '^ *+' conftest.er1 >conftest.err
24013 rm -f conftest.er1
24014 cat conftest.err >&5
24015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24016 (exit $ac_status); } &&
24017 { ac_try='test -z "$ac_cxx_werror_flag"
24018 || test ! -s conftest.err'
24019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24020 (eval $ac_try) 2>&5
24021 ac_status=$?
24022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24023 (exit $ac_status); }; } &&
24024 { ac_try='test -s conftest.$ac_objext'
24025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24026 (eval $ac_try) 2>&5
24027 ac_status=$?
24028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24029 (exit $ac_status); }; }; then
24030 glibcxx_cv_func__modfl_use=yes
24031 else
24032 echo "$as_me: failed program was:" >&5
24033 sed 's/^/| /' conftest.$ac_ext >&5
24034
24035 glibcxx_cv_func__modfl_use=no
24036 fi
24037 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24038 ac_ext=c
24039 ac_cpp='$CPP $CPPFLAGS'
24040 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24041 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24042 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24043
24044
24045 fi
24046
24047 fi
24048 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modfl_use" >&5
24049 echo "${ECHO_T}$glibcxx_cv_func__modfl_use" >&6
24050
24051 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
24052
24053 for ac_func in _modfl
24054 do
24055 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24056 echo "$as_me:$LINENO: checking for $ac_func" >&5
24057 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24058 if eval "test \"\${$as_ac_var+set}\" = set"; then
24059 echo $ECHO_N "(cached) $ECHO_C" >&6
24060 else
24061 if test x$gcc_no_link = xyes; then
24062 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24063 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24064 { (exit 1); exit 1; }; }
24065 fi
24066 cat >conftest.$ac_ext <<_ACEOF
24067 /* confdefs.h. */
24068 _ACEOF
24069 cat confdefs.h >>conftest.$ac_ext
24070 cat >>conftest.$ac_ext <<_ACEOF
24071 /* end confdefs.h. */
24072 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24073 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24074 #define $ac_func innocuous_$ac_func
24075
24076 /* System header to define __stub macros and hopefully few prototypes,
24077 which can conflict with char $ac_func (); below.
24078 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24079 <limits.h> exists even on freestanding compilers. */
24080
24081 #ifdef __STDC__
24082 # include <limits.h>
24083 #else
24084 # include <assert.h>
24085 #endif
24086
24087 #undef $ac_func
24088
24089 /* Override any gcc2 internal prototype to avoid an error. */
24090 #ifdef __cplusplus
24091 extern "C"
24092 {
24093 #endif
24094 /* We use char because int might match the return type of a gcc2
24095 builtin and then its argument prototype would still apply. */
24096 char $ac_func ();
24097 /* The GNU C library defines this for functions which it implements
24098 to always fail with ENOSYS. Some functions are actually named
24099 something starting with __ and the normal name is an alias. */
24100 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24101 choke me
24102 #else
24103 char (*f) () = $ac_func;
24104 #endif
24105 #ifdef __cplusplus
24106 }
24107 #endif
24108
24109 int
24110 main ()
24111 {
24112 return f != $ac_func;
24113 ;
24114 return 0;
24115 }
24116 _ACEOF
24117 rm -f conftest.$ac_objext conftest$ac_exeext
24118 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24119 (eval $ac_link) 2>conftest.er1
24120 ac_status=$?
24121 grep -v '^ *+' conftest.er1 >conftest.err
24122 rm -f conftest.er1
24123 cat conftest.err >&5
24124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24125 (exit $ac_status); } &&
24126 { ac_try='test -z "$ac_c_werror_flag"
24127 || test ! -s conftest.err'
24128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24129 (eval $ac_try) 2>&5
24130 ac_status=$?
24131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24132 (exit $ac_status); }; } &&
24133 { ac_try='test -s conftest$ac_exeext'
24134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24135 (eval $ac_try) 2>&5
24136 ac_status=$?
24137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24138 (exit $ac_status); }; }; then
24139 eval "$as_ac_var=yes"
24140 else
24141 echo "$as_me: failed program was:" >&5
24142 sed 's/^/| /' conftest.$ac_ext >&5
24143
24144 eval "$as_ac_var=no"
24145 fi
24146 rm -f conftest.err conftest.$ac_objext \
24147 conftest$ac_exeext conftest.$ac_ext
24148 fi
24149 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24150 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24151 if test `eval echo '${'$as_ac_var'}'` = yes; then
24152 cat >>confdefs.h <<_ACEOF
24153 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24154 _ACEOF
24155
24156 fi
24157 done
24158
24159 fi
24160 fi
24161
24162
24163
24164
24165
24166
24167 echo "$as_me:$LINENO: checking for powl declaration" >&5
24168 echo $ECHO_N "checking for powl declaration... $ECHO_C" >&6
24169 if test x${glibcxx_cv_func_powl_use+set} != xset; then
24170 if test "${glibcxx_cv_func_powl_use+set}" = set; then
24171 echo $ECHO_N "(cached) $ECHO_C" >&6
24172 else
24173
24174
24175
24176 ac_ext=cc
24177 ac_cpp='$CXXCPP $CPPFLAGS'
24178 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24179 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24180 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24181
24182 cat >conftest.$ac_ext <<_ACEOF
24183 /* confdefs.h. */
24184 _ACEOF
24185 cat confdefs.h >>conftest.$ac_ext
24186 cat >>conftest.$ac_ext <<_ACEOF
24187 /* end confdefs.h. */
24188 #include <math.h>
24189 int
24190 main ()
24191 {
24192 powl(0, 0);
24193 ;
24194 return 0;
24195 }
24196 _ACEOF
24197 rm -f conftest.$ac_objext
24198 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24199 (eval $ac_compile) 2>conftest.er1
24200 ac_status=$?
24201 grep -v '^ *+' conftest.er1 >conftest.err
24202 rm -f conftest.er1
24203 cat conftest.err >&5
24204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24205 (exit $ac_status); } &&
24206 { ac_try='test -z "$ac_cxx_werror_flag"
24207 || test ! -s conftest.err'
24208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24209 (eval $ac_try) 2>&5
24210 ac_status=$?
24211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24212 (exit $ac_status); }; } &&
24213 { ac_try='test -s conftest.$ac_objext'
24214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24215 (eval $ac_try) 2>&5
24216 ac_status=$?
24217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24218 (exit $ac_status); }; }; then
24219 glibcxx_cv_func_powl_use=yes
24220 else
24221 echo "$as_me: failed program was:" >&5
24222 sed 's/^/| /' conftest.$ac_ext >&5
24223
24224 glibcxx_cv_func_powl_use=no
24225 fi
24226 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24227 ac_ext=c
24228 ac_cpp='$CPP $CPPFLAGS'
24229 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24230 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24231 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24232
24233
24234 fi
24235
24236 fi
24237 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powl_use" >&5
24238 echo "${ECHO_T}$glibcxx_cv_func_powl_use" >&6
24239
24240 if test x$glibcxx_cv_func_powl_use = x"yes"; then
24241
24242 for ac_func in powl
24243 do
24244 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24245 echo "$as_me:$LINENO: checking for $ac_func" >&5
24246 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24247 if eval "test \"\${$as_ac_var+set}\" = set"; then
24248 echo $ECHO_N "(cached) $ECHO_C" >&6
24249 else
24250 if test x$gcc_no_link = xyes; then
24251 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24252 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24253 { (exit 1); exit 1; }; }
24254 fi
24255 cat >conftest.$ac_ext <<_ACEOF
24256 /* confdefs.h. */
24257 _ACEOF
24258 cat confdefs.h >>conftest.$ac_ext
24259 cat >>conftest.$ac_ext <<_ACEOF
24260 /* end confdefs.h. */
24261 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24262 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24263 #define $ac_func innocuous_$ac_func
24264
24265 /* System header to define __stub macros and hopefully few prototypes,
24266 which can conflict with char $ac_func (); below.
24267 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24268 <limits.h> exists even on freestanding compilers. */
24269
24270 #ifdef __STDC__
24271 # include <limits.h>
24272 #else
24273 # include <assert.h>
24274 #endif
24275
24276 #undef $ac_func
24277
24278 /* Override any gcc2 internal prototype to avoid an error. */
24279 #ifdef __cplusplus
24280 extern "C"
24281 {
24282 #endif
24283 /* We use char because int might match the return type of a gcc2
24284 builtin and then its argument prototype would still apply. */
24285 char $ac_func ();
24286 /* The GNU C library defines this for functions which it implements
24287 to always fail with ENOSYS. Some functions are actually named
24288 something starting with __ and the normal name is an alias. */
24289 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24290 choke me
24291 #else
24292 char (*f) () = $ac_func;
24293 #endif
24294 #ifdef __cplusplus
24295 }
24296 #endif
24297
24298 int
24299 main ()
24300 {
24301 return f != $ac_func;
24302 ;
24303 return 0;
24304 }
24305 _ACEOF
24306 rm -f conftest.$ac_objext conftest$ac_exeext
24307 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24308 (eval $ac_link) 2>conftest.er1
24309 ac_status=$?
24310 grep -v '^ *+' conftest.er1 >conftest.err
24311 rm -f conftest.er1
24312 cat conftest.err >&5
24313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24314 (exit $ac_status); } &&
24315 { ac_try='test -z "$ac_c_werror_flag"
24316 || test ! -s conftest.err'
24317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24318 (eval $ac_try) 2>&5
24319 ac_status=$?
24320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24321 (exit $ac_status); }; } &&
24322 { ac_try='test -s conftest$ac_exeext'
24323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24324 (eval $ac_try) 2>&5
24325 ac_status=$?
24326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24327 (exit $ac_status); }; }; then
24328 eval "$as_ac_var=yes"
24329 else
24330 echo "$as_me: failed program was:" >&5
24331 sed 's/^/| /' conftest.$ac_ext >&5
24332
24333 eval "$as_ac_var=no"
24334 fi
24335 rm -f conftest.err conftest.$ac_objext \
24336 conftest$ac_exeext conftest.$ac_ext
24337 fi
24338 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24339 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24340 if test `eval echo '${'$as_ac_var'}'` = yes; then
24341 cat >>confdefs.h <<_ACEOF
24342 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24343 _ACEOF
24344
24345 fi
24346 done
24347
24348 else
24349
24350 echo "$as_me:$LINENO: checking for _powl declaration" >&5
24351 echo $ECHO_N "checking for _powl declaration... $ECHO_C" >&6
24352 if test x${glibcxx_cv_func__powl_use+set} != xset; then
24353 if test "${glibcxx_cv_func__powl_use+set}" = set; then
24354 echo $ECHO_N "(cached) $ECHO_C" >&6
24355 else
24356
24357
24358
24359 ac_ext=cc
24360 ac_cpp='$CXXCPP $CPPFLAGS'
24361 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24362 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24363 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24364
24365 cat >conftest.$ac_ext <<_ACEOF
24366 /* confdefs.h. */
24367 _ACEOF
24368 cat confdefs.h >>conftest.$ac_ext
24369 cat >>conftest.$ac_ext <<_ACEOF
24370 /* end confdefs.h. */
24371 #include <math.h>
24372 int
24373 main ()
24374 {
24375 _powl(0, 0);
24376 ;
24377 return 0;
24378 }
24379 _ACEOF
24380 rm -f conftest.$ac_objext
24381 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24382 (eval $ac_compile) 2>conftest.er1
24383 ac_status=$?
24384 grep -v '^ *+' conftest.er1 >conftest.err
24385 rm -f conftest.er1
24386 cat conftest.err >&5
24387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24388 (exit $ac_status); } &&
24389 { ac_try='test -z "$ac_cxx_werror_flag"
24390 || test ! -s conftest.err'
24391 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24392 (eval $ac_try) 2>&5
24393 ac_status=$?
24394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24395 (exit $ac_status); }; } &&
24396 { ac_try='test -s conftest.$ac_objext'
24397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24398 (eval $ac_try) 2>&5
24399 ac_status=$?
24400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24401 (exit $ac_status); }; }; then
24402 glibcxx_cv_func__powl_use=yes
24403 else
24404 echo "$as_me: failed program was:" >&5
24405 sed 's/^/| /' conftest.$ac_ext >&5
24406
24407 glibcxx_cv_func__powl_use=no
24408 fi
24409 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24410 ac_ext=c
24411 ac_cpp='$CPP $CPPFLAGS'
24412 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24413 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24414 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24415
24416
24417 fi
24418
24419 fi
24420 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powl_use" >&5
24421 echo "${ECHO_T}$glibcxx_cv_func__powl_use" >&6
24422
24423 if test x$glibcxx_cv_func__powl_use = x"yes"; then
24424
24425 for ac_func in _powl
24426 do
24427 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24428 echo "$as_me:$LINENO: checking for $ac_func" >&5
24429 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24430 if eval "test \"\${$as_ac_var+set}\" = set"; then
24431 echo $ECHO_N "(cached) $ECHO_C" >&6
24432 else
24433 if test x$gcc_no_link = xyes; then
24434 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24435 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24436 { (exit 1); exit 1; }; }
24437 fi
24438 cat >conftest.$ac_ext <<_ACEOF
24439 /* confdefs.h. */
24440 _ACEOF
24441 cat confdefs.h >>conftest.$ac_ext
24442 cat >>conftest.$ac_ext <<_ACEOF
24443 /* end confdefs.h. */
24444 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24445 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24446 #define $ac_func innocuous_$ac_func
24447
24448 /* System header to define __stub macros and hopefully few prototypes,
24449 which can conflict with char $ac_func (); below.
24450 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24451 <limits.h> exists even on freestanding compilers. */
24452
24453 #ifdef __STDC__
24454 # include <limits.h>
24455 #else
24456 # include <assert.h>
24457 #endif
24458
24459 #undef $ac_func
24460
24461 /* Override any gcc2 internal prototype to avoid an error. */
24462 #ifdef __cplusplus
24463 extern "C"
24464 {
24465 #endif
24466 /* We use char because int might match the return type of a gcc2
24467 builtin and then its argument prototype would still apply. */
24468 char $ac_func ();
24469 /* The GNU C library defines this for functions which it implements
24470 to always fail with ENOSYS. Some functions are actually named
24471 something starting with __ and the normal name is an alias. */
24472 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24473 choke me
24474 #else
24475 char (*f) () = $ac_func;
24476 #endif
24477 #ifdef __cplusplus
24478 }
24479 #endif
24480
24481 int
24482 main ()
24483 {
24484 return f != $ac_func;
24485 ;
24486 return 0;
24487 }
24488 _ACEOF
24489 rm -f conftest.$ac_objext conftest$ac_exeext
24490 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24491 (eval $ac_link) 2>conftest.er1
24492 ac_status=$?
24493 grep -v '^ *+' conftest.er1 >conftest.err
24494 rm -f conftest.er1
24495 cat conftest.err >&5
24496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24497 (exit $ac_status); } &&
24498 { ac_try='test -z "$ac_c_werror_flag"
24499 || test ! -s conftest.err'
24500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24501 (eval $ac_try) 2>&5
24502 ac_status=$?
24503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24504 (exit $ac_status); }; } &&
24505 { ac_try='test -s conftest$ac_exeext'
24506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24507 (eval $ac_try) 2>&5
24508 ac_status=$?
24509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24510 (exit $ac_status); }; }; then
24511 eval "$as_ac_var=yes"
24512 else
24513 echo "$as_me: failed program was:" >&5
24514 sed 's/^/| /' conftest.$ac_ext >&5
24515
24516 eval "$as_ac_var=no"
24517 fi
24518 rm -f conftest.err conftest.$ac_objext \
24519 conftest$ac_exeext conftest.$ac_ext
24520 fi
24521 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24522 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24523 if test `eval echo '${'$as_ac_var'}'` = yes; then
24524 cat >>confdefs.h <<_ACEOF
24525 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24526 _ACEOF
24527
24528 fi
24529 done
24530
24531 fi
24532 fi
24533
24534
24535
24536
24537
24538
24539 echo "$as_me:$LINENO: checking for sqrtl declaration" >&5
24540 echo $ECHO_N "checking for sqrtl declaration... $ECHO_C" >&6
24541 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
24542 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then
24543 echo $ECHO_N "(cached) $ECHO_C" >&6
24544 else
24545
24546
24547
24548 ac_ext=cc
24549 ac_cpp='$CXXCPP $CPPFLAGS'
24550 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24551 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24552 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24553
24554 cat >conftest.$ac_ext <<_ACEOF
24555 /* confdefs.h. */
24556 _ACEOF
24557 cat confdefs.h >>conftest.$ac_ext
24558 cat >>conftest.$ac_ext <<_ACEOF
24559 /* end confdefs.h. */
24560 #include <math.h>
24561 #ifdef HAVE_IEEEFP_H
24562 #include <ieeefp.h>
24563 #endif
24564
24565 int
24566 main ()
24567 {
24568 sqrtl(0);
24569 ;
24570 return 0;
24571 }
24572 _ACEOF
24573 rm -f conftest.$ac_objext
24574 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24575 (eval $ac_compile) 2>conftest.er1
24576 ac_status=$?
24577 grep -v '^ *+' conftest.er1 >conftest.err
24578 rm -f conftest.er1
24579 cat conftest.err >&5
24580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24581 (exit $ac_status); } &&
24582 { ac_try='test -z "$ac_cxx_werror_flag"
24583 || test ! -s conftest.err'
24584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24585 (eval $ac_try) 2>&5
24586 ac_status=$?
24587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24588 (exit $ac_status); }; } &&
24589 { ac_try='test -s conftest.$ac_objext'
24590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24591 (eval $ac_try) 2>&5
24592 ac_status=$?
24593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24594 (exit $ac_status); }; }; then
24595 glibcxx_cv_func_sqrtl_use=yes
24596 else
24597 echo "$as_me: failed program was:" >&5
24598 sed 's/^/| /' conftest.$ac_ext >&5
24599
24600 glibcxx_cv_func_sqrtl_use=no
24601 fi
24602 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24603 ac_ext=c
24604 ac_cpp='$CPP $CPPFLAGS'
24605 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24606 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24607 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24608
24609
24610 fi
24611
24612 fi
24613 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtl_use" >&5
24614 echo "${ECHO_T}$glibcxx_cv_func_sqrtl_use" >&6
24615
24616 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
24617
24618 for ac_func in sqrtl
24619 do
24620 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24621 echo "$as_me:$LINENO: checking for $ac_func" >&5
24622 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24623 if eval "test \"\${$as_ac_var+set}\" = set"; then
24624 echo $ECHO_N "(cached) $ECHO_C" >&6
24625 else
24626 if test x$gcc_no_link = xyes; then
24627 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24628 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24629 { (exit 1); exit 1; }; }
24630 fi
24631 cat >conftest.$ac_ext <<_ACEOF
24632 /* confdefs.h. */
24633 _ACEOF
24634 cat confdefs.h >>conftest.$ac_ext
24635 cat >>conftest.$ac_ext <<_ACEOF
24636 /* end confdefs.h. */
24637 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24638 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24639 #define $ac_func innocuous_$ac_func
24640
24641 /* System header to define __stub macros and hopefully few prototypes,
24642 which can conflict with char $ac_func (); below.
24643 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24644 <limits.h> exists even on freestanding compilers. */
24645
24646 #ifdef __STDC__
24647 # include <limits.h>
24648 #else
24649 # include <assert.h>
24650 #endif
24651
24652 #undef $ac_func
24653
24654 /* Override any gcc2 internal prototype to avoid an error. */
24655 #ifdef __cplusplus
24656 extern "C"
24657 {
24658 #endif
24659 /* We use char because int might match the return type of a gcc2
24660 builtin and then its argument prototype would still apply. */
24661 char $ac_func ();
24662 /* The GNU C library defines this for functions which it implements
24663 to always fail with ENOSYS. Some functions are actually named
24664 something starting with __ and the normal name is an alias. */
24665 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24666 choke me
24667 #else
24668 char (*f) () = $ac_func;
24669 #endif
24670 #ifdef __cplusplus
24671 }
24672 #endif
24673
24674 int
24675 main ()
24676 {
24677 return f != $ac_func;
24678 ;
24679 return 0;
24680 }
24681 _ACEOF
24682 rm -f conftest.$ac_objext conftest$ac_exeext
24683 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24684 (eval $ac_link) 2>conftest.er1
24685 ac_status=$?
24686 grep -v '^ *+' conftest.er1 >conftest.err
24687 rm -f conftest.er1
24688 cat conftest.err >&5
24689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24690 (exit $ac_status); } &&
24691 { ac_try='test -z "$ac_c_werror_flag"
24692 || test ! -s conftest.err'
24693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24694 (eval $ac_try) 2>&5
24695 ac_status=$?
24696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24697 (exit $ac_status); }; } &&
24698 { ac_try='test -s conftest$ac_exeext'
24699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24700 (eval $ac_try) 2>&5
24701 ac_status=$?
24702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24703 (exit $ac_status); }; }; then
24704 eval "$as_ac_var=yes"
24705 else
24706 echo "$as_me: failed program was:" >&5
24707 sed 's/^/| /' conftest.$ac_ext >&5
24708
24709 eval "$as_ac_var=no"
24710 fi
24711 rm -f conftest.err conftest.$ac_objext \
24712 conftest$ac_exeext conftest.$ac_ext
24713 fi
24714 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24715 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24716 if test `eval echo '${'$as_ac_var'}'` = yes; then
24717 cat >>confdefs.h <<_ACEOF
24718 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24719 _ACEOF
24720
24721 fi
24722 done
24723
24724 else
24725
24726 echo "$as_me:$LINENO: checking for _sqrtl declaration" >&5
24727 echo $ECHO_N "checking for _sqrtl declaration... $ECHO_C" >&6
24728 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
24729 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then
24730 echo $ECHO_N "(cached) $ECHO_C" >&6
24731 else
24732
24733
24734
24735 ac_ext=cc
24736 ac_cpp='$CXXCPP $CPPFLAGS'
24737 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24738 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24739 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24740
24741 cat >conftest.$ac_ext <<_ACEOF
24742 /* confdefs.h. */
24743 _ACEOF
24744 cat confdefs.h >>conftest.$ac_ext
24745 cat >>conftest.$ac_ext <<_ACEOF
24746 /* end confdefs.h. */
24747 #include <math.h>
24748 #ifdef HAVE_IEEEFP_H
24749 #include <ieeefp.h>
24750 #endif
24751
24752 int
24753 main ()
24754 {
24755 _sqrtl(0);
24756 ;
24757 return 0;
24758 }
24759 _ACEOF
24760 rm -f conftest.$ac_objext
24761 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24762 (eval $ac_compile) 2>conftest.er1
24763 ac_status=$?
24764 grep -v '^ *+' conftest.er1 >conftest.err
24765 rm -f conftest.er1
24766 cat conftest.err >&5
24767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24768 (exit $ac_status); } &&
24769 { ac_try='test -z "$ac_cxx_werror_flag"
24770 || test ! -s conftest.err'
24771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24772 (eval $ac_try) 2>&5
24773 ac_status=$?
24774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24775 (exit $ac_status); }; } &&
24776 { ac_try='test -s conftest.$ac_objext'
24777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24778 (eval $ac_try) 2>&5
24779 ac_status=$?
24780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24781 (exit $ac_status); }; }; then
24782 glibcxx_cv_func__sqrtl_use=yes
24783 else
24784 echo "$as_me: failed program was:" >&5
24785 sed 's/^/| /' conftest.$ac_ext >&5
24786
24787 glibcxx_cv_func__sqrtl_use=no
24788 fi
24789 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24790 ac_ext=c
24791 ac_cpp='$CPP $CPPFLAGS'
24792 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24793 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24794 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24795
24796
24797 fi
24798
24799 fi
24800 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtl_use" >&5
24801 echo "${ECHO_T}$glibcxx_cv_func__sqrtl_use" >&6
24802
24803 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
24804
24805 for ac_func in _sqrtl
24806 do
24807 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24808 echo "$as_me:$LINENO: checking for $ac_func" >&5
24809 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24810 if eval "test \"\${$as_ac_var+set}\" = set"; then
24811 echo $ECHO_N "(cached) $ECHO_C" >&6
24812 else
24813 if test x$gcc_no_link = xyes; then
24814 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24815 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24816 { (exit 1); exit 1; }; }
24817 fi
24818 cat >conftest.$ac_ext <<_ACEOF
24819 /* confdefs.h. */
24820 _ACEOF
24821 cat confdefs.h >>conftest.$ac_ext
24822 cat >>conftest.$ac_ext <<_ACEOF
24823 /* end confdefs.h. */
24824 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24825 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24826 #define $ac_func innocuous_$ac_func
24827
24828 /* System header to define __stub macros and hopefully few prototypes,
24829 which can conflict with char $ac_func (); below.
24830 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24831 <limits.h> exists even on freestanding compilers. */
24832
24833 #ifdef __STDC__
24834 # include <limits.h>
24835 #else
24836 # include <assert.h>
24837 #endif
24838
24839 #undef $ac_func
24840
24841 /* Override any gcc2 internal prototype to avoid an error. */
24842 #ifdef __cplusplus
24843 extern "C"
24844 {
24845 #endif
24846 /* We use char because int might match the return type of a gcc2
24847 builtin and then its argument prototype would still apply. */
24848 char $ac_func ();
24849 /* The GNU C library defines this for functions which it implements
24850 to always fail with ENOSYS. Some functions are actually named
24851 something starting with __ and the normal name is an alias. */
24852 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24853 choke me
24854 #else
24855 char (*f) () = $ac_func;
24856 #endif
24857 #ifdef __cplusplus
24858 }
24859 #endif
24860
24861 int
24862 main ()
24863 {
24864 return f != $ac_func;
24865 ;
24866 return 0;
24867 }
24868 _ACEOF
24869 rm -f conftest.$ac_objext conftest$ac_exeext
24870 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24871 (eval $ac_link) 2>conftest.er1
24872 ac_status=$?
24873 grep -v '^ *+' conftest.er1 >conftest.err
24874 rm -f conftest.er1
24875 cat conftest.err >&5
24876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24877 (exit $ac_status); } &&
24878 { ac_try='test -z "$ac_c_werror_flag"
24879 || test ! -s conftest.err'
24880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24881 (eval $ac_try) 2>&5
24882 ac_status=$?
24883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24884 (exit $ac_status); }; } &&
24885 { ac_try='test -s conftest$ac_exeext'
24886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24887 (eval $ac_try) 2>&5
24888 ac_status=$?
24889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24890 (exit $ac_status); }; }; then
24891 eval "$as_ac_var=yes"
24892 else
24893 echo "$as_me: failed program was:" >&5
24894 sed 's/^/| /' conftest.$ac_ext >&5
24895
24896 eval "$as_ac_var=no"
24897 fi
24898 rm -f conftest.err conftest.$ac_objext \
24899 conftest$ac_exeext conftest.$ac_ext
24900 fi
24901 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24902 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24903 if test `eval echo '${'$as_ac_var'}'` = yes; then
24904 cat >>confdefs.h <<_ACEOF
24905 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24906 _ACEOF
24907
24908 fi
24909 done
24910
24911 fi
24912 fi
24913
24914
24915
24916
24917
24918
24919 echo "$as_me:$LINENO: checking for sincosl declaration" >&5
24920 echo $ECHO_N "checking for sincosl declaration... $ECHO_C" >&6
24921 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
24922 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then
24923 echo $ECHO_N "(cached) $ECHO_C" >&6
24924 else
24925
24926
24927
24928 ac_ext=cc
24929 ac_cpp='$CXXCPP $CPPFLAGS'
24930 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24931 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24932 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24933
24934 cat >conftest.$ac_ext <<_ACEOF
24935 /* confdefs.h. */
24936 _ACEOF
24937 cat confdefs.h >>conftest.$ac_ext
24938 cat >>conftest.$ac_ext <<_ACEOF
24939 /* end confdefs.h. */
24940 #include <math.h>
24941 int
24942 main ()
24943 {
24944 sincosl(0, 0, 0);
24945 ;
24946 return 0;
24947 }
24948 _ACEOF
24949 rm -f conftest.$ac_objext
24950 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24951 (eval $ac_compile) 2>conftest.er1
24952 ac_status=$?
24953 grep -v '^ *+' conftest.er1 >conftest.err
24954 rm -f conftest.er1
24955 cat conftest.err >&5
24956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24957 (exit $ac_status); } &&
24958 { ac_try='test -z "$ac_cxx_werror_flag"
24959 || test ! -s conftest.err'
24960 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24961 (eval $ac_try) 2>&5
24962 ac_status=$?
24963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24964 (exit $ac_status); }; } &&
24965 { ac_try='test -s conftest.$ac_objext'
24966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24967 (eval $ac_try) 2>&5
24968 ac_status=$?
24969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24970 (exit $ac_status); }; }; then
24971 glibcxx_cv_func_sincosl_use=yes
24972 else
24973 echo "$as_me: failed program was:" >&5
24974 sed 's/^/| /' conftest.$ac_ext >&5
24975
24976 glibcxx_cv_func_sincosl_use=no
24977 fi
24978 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24979 ac_ext=c
24980 ac_cpp='$CPP $CPPFLAGS'
24981 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24982 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24983 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24984
24985
24986 fi
24987
24988 fi
24989 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosl_use" >&5
24990 echo "${ECHO_T}$glibcxx_cv_func_sincosl_use" >&6
24991
24992 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
24993
24994 for ac_func in sincosl
24995 do
24996 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24997 echo "$as_me:$LINENO: checking for $ac_func" >&5
24998 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24999 if eval "test \"\${$as_ac_var+set}\" = set"; then
25000 echo $ECHO_N "(cached) $ECHO_C" >&6
25001 else
25002 if test x$gcc_no_link = xyes; then
25003 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25004 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25005 { (exit 1); exit 1; }; }
25006 fi
25007 cat >conftest.$ac_ext <<_ACEOF
25008 /* confdefs.h. */
25009 _ACEOF
25010 cat confdefs.h >>conftest.$ac_ext
25011 cat >>conftest.$ac_ext <<_ACEOF
25012 /* end confdefs.h. */
25013 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25014 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25015 #define $ac_func innocuous_$ac_func
25016
25017 /* System header to define __stub macros and hopefully few prototypes,
25018 which can conflict with char $ac_func (); below.
25019 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25020 <limits.h> exists even on freestanding compilers. */
25021
25022 #ifdef __STDC__
25023 # include <limits.h>
25024 #else
25025 # include <assert.h>
25026 #endif
25027
25028 #undef $ac_func
25029
25030 /* Override any gcc2 internal prototype to avoid an error. */
25031 #ifdef __cplusplus
25032 extern "C"
25033 {
25034 #endif
25035 /* We use char because int might match the return type of a gcc2
25036 builtin and then its argument prototype would still apply. */
25037 char $ac_func ();
25038 /* The GNU C library defines this for functions which it implements
25039 to always fail with ENOSYS. Some functions are actually named
25040 something starting with __ and the normal name is an alias. */
25041 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25042 choke me
25043 #else
25044 char (*f) () = $ac_func;
25045 #endif
25046 #ifdef __cplusplus
25047 }
25048 #endif
25049
25050 int
25051 main ()
25052 {
25053 return f != $ac_func;
25054 ;
25055 return 0;
25056 }
25057 _ACEOF
25058 rm -f conftest.$ac_objext conftest$ac_exeext
25059 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25060 (eval $ac_link) 2>conftest.er1
25061 ac_status=$?
25062 grep -v '^ *+' conftest.er1 >conftest.err
25063 rm -f conftest.er1
25064 cat conftest.err >&5
25065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25066 (exit $ac_status); } &&
25067 { ac_try='test -z "$ac_c_werror_flag"
25068 || test ! -s conftest.err'
25069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25070 (eval $ac_try) 2>&5
25071 ac_status=$?
25072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25073 (exit $ac_status); }; } &&
25074 { ac_try='test -s conftest$ac_exeext'
25075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25076 (eval $ac_try) 2>&5
25077 ac_status=$?
25078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25079 (exit $ac_status); }; }; then
25080 eval "$as_ac_var=yes"
25081 else
25082 echo "$as_me: failed program was:" >&5
25083 sed 's/^/| /' conftest.$ac_ext >&5
25084
25085 eval "$as_ac_var=no"
25086 fi
25087 rm -f conftest.err conftest.$ac_objext \
25088 conftest$ac_exeext conftest.$ac_ext
25089 fi
25090 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25091 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25092 if test `eval echo '${'$as_ac_var'}'` = yes; then
25093 cat >>confdefs.h <<_ACEOF
25094 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25095 _ACEOF
25096
25097 fi
25098 done
25099
25100 else
25101
25102 echo "$as_me:$LINENO: checking for _sincosl declaration" >&5
25103 echo $ECHO_N "checking for _sincosl declaration... $ECHO_C" >&6
25104 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
25105 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then
25106 echo $ECHO_N "(cached) $ECHO_C" >&6
25107 else
25108
25109
25110
25111 ac_ext=cc
25112 ac_cpp='$CXXCPP $CPPFLAGS'
25113 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25114 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25115 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25116
25117 cat >conftest.$ac_ext <<_ACEOF
25118 /* confdefs.h. */
25119 _ACEOF
25120 cat confdefs.h >>conftest.$ac_ext
25121 cat >>conftest.$ac_ext <<_ACEOF
25122 /* end confdefs.h. */
25123 #include <math.h>
25124 int
25125 main ()
25126 {
25127 _sincosl(0, 0, 0);
25128 ;
25129 return 0;
25130 }
25131 _ACEOF
25132 rm -f conftest.$ac_objext
25133 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25134 (eval $ac_compile) 2>conftest.er1
25135 ac_status=$?
25136 grep -v '^ *+' conftest.er1 >conftest.err
25137 rm -f conftest.er1
25138 cat conftest.err >&5
25139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25140 (exit $ac_status); } &&
25141 { ac_try='test -z "$ac_cxx_werror_flag"
25142 || test ! -s conftest.err'
25143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25144 (eval $ac_try) 2>&5
25145 ac_status=$?
25146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25147 (exit $ac_status); }; } &&
25148 { ac_try='test -s conftest.$ac_objext'
25149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25150 (eval $ac_try) 2>&5
25151 ac_status=$?
25152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25153 (exit $ac_status); }; }; then
25154 glibcxx_cv_func__sincosl_use=yes
25155 else
25156 echo "$as_me: failed program was:" >&5
25157 sed 's/^/| /' conftest.$ac_ext >&5
25158
25159 glibcxx_cv_func__sincosl_use=no
25160 fi
25161 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25162 ac_ext=c
25163 ac_cpp='$CPP $CPPFLAGS'
25164 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25165 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25166 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25167
25168
25169 fi
25170
25171 fi
25172 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosl_use" >&5
25173 echo "${ECHO_T}$glibcxx_cv_func__sincosl_use" >&6
25174
25175 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
25176
25177 for ac_func in _sincosl
25178 do
25179 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25180 echo "$as_me:$LINENO: checking for $ac_func" >&5
25181 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25182 if eval "test \"\${$as_ac_var+set}\" = set"; then
25183 echo $ECHO_N "(cached) $ECHO_C" >&6
25184 else
25185 if test x$gcc_no_link = xyes; then
25186 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25187 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25188 { (exit 1); exit 1; }; }
25189 fi
25190 cat >conftest.$ac_ext <<_ACEOF
25191 /* confdefs.h. */
25192 _ACEOF
25193 cat confdefs.h >>conftest.$ac_ext
25194 cat >>conftest.$ac_ext <<_ACEOF
25195 /* end confdefs.h. */
25196 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25197 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25198 #define $ac_func innocuous_$ac_func
25199
25200 /* System header to define __stub macros and hopefully few prototypes,
25201 which can conflict with char $ac_func (); below.
25202 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25203 <limits.h> exists even on freestanding compilers. */
25204
25205 #ifdef __STDC__
25206 # include <limits.h>
25207 #else
25208 # include <assert.h>
25209 #endif
25210
25211 #undef $ac_func
25212
25213 /* Override any gcc2 internal prototype to avoid an error. */
25214 #ifdef __cplusplus
25215 extern "C"
25216 {
25217 #endif
25218 /* We use char because int might match the return type of a gcc2
25219 builtin and then its argument prototype would still apply. */
25220 char $ac_func ();
25221 /* The GNU C library defines this for functions which it implements
25222 to always fail with ENOSYS. Some functions are actually named
25223 something starting with __ and the normal name is an alias. */
25224 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25225 choke me
25226 #else
25227 char (*f) () = $ac_func;
25228 #endif
25229 #ifdef __cplusplus
25230 }
25231 #endif
25232
25233 int
25234 main ()
25235 {
25236 return f != $ac_func;
25237 ;
25238 return 0;
25239 }
25240 _ACEOF
25241 rm -f conftest.$ac_objext conftest$ac_exeext
25242 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25243 (eval $ac_link) 2>conftest.er1
25244 ac_status=$?
25245 grep -v '^ *+' conftest.er1 >conftest.err
25246 rm -f conftest.er1
25247 cat conftest.err >&5
25248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25249 (exit $ac_status); } &&
25250 { ac_try='test -z "$ac_c_werror_flag"
25251 || test ! -s conftest.err'
25252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25253 (eval $ac_try) 2>&5
25254 ac_status=$?
25255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25256 (exit $ac_status); }; } &&
25257 { ac_try='test -s conftest$ac_exeext'
25258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25259 (eval $ac_try) 2>&5
25260 ac_status=$?
25261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25262 (exit $ac_status); }; }; then
25263 eval "$as_ac_var=yes"
25264 else
25265 echo "$as_me: failed program was:" >&5
25266 sed 's/^/| /' conftest.$ac_ext >&5
25267
25268 eval "$as_ac_var=no"
25269 fi
25270 rm -f conftest.err conftest.$ac_objext \
25271 conftest$ac_exeext conftest.$ac_ext
25272 fi
25273 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25274 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25275 if test `eval echo '${'$as_ac_var'}'` = yes; then
25276 cat >>confdefs.h <<_ACEOF
25277 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25278 _ACEOF
25279
25280 fi
25281 done
25282
25283 fi
25284 fi
25285
25286
25287
25288
25289
25290
25291 echo "$as_me:$LINENO: checking for finitel declaration" >&5
25292 echo $ECHO_N "checking for finitel declaration... $ECHO_C" >&6
25293 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
25294 if test "${glibcxx_cv_func_finitel_use+set}" = set; then
25295 echo $ECHO_N "(cached) $ECHO_C" >&6
25296 else
25297
25298
25299
25300 ac_ext=cc
25301 ac_cpp='$CXXCPP $CPPFLAGS'
25302 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25303 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25304 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25305
25306 cat >conftest.$ac_ext <<_ACEOF
25307 /* confdefs.h. */
25308 _ACEOF
25309 cat confdefs.h >>conftest.$ac_ext
25310 cat >>conftest.$ac_ext <<_ACEOF
25311 /* end confdefs.h. */
25312 #include <math.h>
25313 #ifdef HAVE_IEEEFP_H
25314 #include <ieeefp.h>
25315 #endif
25316
25317 int
25318 main ()
25319 {
25320 finitel(0);
25321 ;
25322 return 0;
25323 }
25324 _ACEOF
25325 rm -f conftest.$ac_objext
25326 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25327 (eval $ac_compile) 2>conftest.er1
25328 ac_status=$?
25329 grep -v '^ *+' conftest.er1 >conftest.err
25330 rm -f conftest.er1
25331 cat conftest.err >&5
25332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25333 (exit $ac_status); } &&
25334 { ac_try='test -z "$ac_cxx_werror_flag"
25335 || test ! -s conftest.err'
25336 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25337 (eval $ac_try) 2>&5
25338 ac_status=$?
25339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25340 (exit $ac_status); }; } &&
25341 { ac_try='test -s conftest.$ac_objext'
25342 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25343 (eval $ac_try) 2>&5
25344 ac_status=$?
25345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25346 (exit $ac_status); }; }; then
25347 glibcxx_cv_func_finitel_use=yes
25348 else
25349 echo "$as_me: failed program was:" >&5
25350 sed 's/^/| /' conftest.$ac_ext >&5
25351
25352 glibcxx_cv_func_finitel_use=no
25353 fi
25354 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25355 ac_ext=c
25356 ac_cpp='$CPP $CPPFLAGS'
25357 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25358 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25359 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25360
25361
25362 fi
25363
25364 fi
25365 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitel_use" >&5
25366 echo "${ECHO_T}$glibcxx_cv_func_finitel_use" >&6
25367
25368 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
25369
25370 for ac_func in finitel
25371 do
25372 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25373 echo "$as_me:$LINENO: checking for $ac_func" >&5
25374 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25375 if eval "test \"\${$as_ac_var+set}\" = set"; then
25376 echo $ECHO_N "(cached) $ECHO_C" >&6
25377 else
25378 if test x$gcc_no_link = xyes; then
25379 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25380 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25381 { (exit 1); exit 1; }; }
25382 fi
25383 cat >conftest.$ac_ext <<_ACEOF
25384 /* confdefs.h. */
25385 _ACEOF
25386 cat confdefs.h >>conftest.$ac_ext
25387 cat >>conftest.$ac_ext <<_ACEOF
25388 /* end confdefs.h. */
25389 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25390 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25391 #define $ac_func innocuous_$ac_func
25392
25393 /* System header to define __stub macros and hopefully few prototypes,
25394 which can conflict with char $ac_func (); below.
25395 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25396 <limits.h> exists even on freestanding compilers. */
25397
25398 #ifdef __STDC__
25399 # include <limits.h>
25400 #else
25401 # include <assert.h>
25402 #endif
25403
25404 #undef $ac_func
25405
25406 /* Override any gcc2 internal prototype to avoid an error. */
25407 #ifdef __cplusplus
25408 extern "C"
25409 {
25410 #endif
25411 /* We use char because int might match the return type of a gcc2
25412 builtin and then its argument prototype would still apply. */
25413 char $ac_func ();
25414 /* The GNU C library defines this for functions which it implements
25415 to always fail with ENOSYS. Some functions are actually named
25416 something starting with __ and the normal name is an alias. */
25417 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25418 choke me
25419 #else
25420 char (*f) () = $ac_func;
25421 #endif
25422 #ifdef __cplusplus
25423 }
25424 #endif
25425
25426 int
25427 main ()
25428 {
25429 return f != $ac_func;
25430 ;
25431 return 0;
25432 }
25433 _ACEOF
25434 rm -f conftest.$ac_objext conftest$ac_exeext
25435 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25436 (eval $ac_link) 2>conftest.er1
25437 ac_status=$?
25438 grep -v '^ *+' conftest.er1 >conftest.err
25439 rm -f conftest.er1
25440 cat conftest.err >&5
25441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25442 (exit $ac_status); } &&
25443 { ac_try='test -z "$ac_c_werror_flag"
25444 || test ! -s conftest.err'
25445 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25446 (eval $ac_try) 2>&5
25447 ac_status=$?
25448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25449 (exit $ac_status); }; } &&
25450 { ac_try='test -s conftest$ac_exeext'
25451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25452 (eval $ac_try) 2>&5
25453 ac_status=$?
25454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25455 (exit $ac_status); }; }; then
25456 eval "$as_ac_var=yes"
25457 else
25458 echo "$as_me: failed program was:" >&5
25459 sed 's/^/| /' conftest.$ac_ext >&5
25460
25461 eval "$as_ac_var=no"
25462 fi
25463 rm -f conftest.err conftest.$ac_objext \
25464 conftest$ac_exeext conftest.$ac_ext
25465 fi
25466 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25467 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25468 if test `eval echo '${'$as_ac_var'}'` = yes; then
25469 cat >>confdefs.h <<_ACEOF
25470 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25471 _ACEOF
25472
25473 fi
25474 done
25475
25476 else
25477
25478 echo "$as_me:$LINENO: checking for _finitel declaration" >&5
25479 echo $ECHO_N "checking for _finitel declaration... $ECHO_C" >&6
25480 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
25481 if test "${glibcxx_cv_func__finitel_use+set}" = set; then
25482 echo $ECHO_N "(cached) $ECHO_C" >&6
25483 else
25484
25485
25486
25487 ac_ext=cc
25488 ac_cpp='$CXXCPP $CPPFLAGS'
25489 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25490 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25491 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25492
25493 cat >conftest.$ac_ext <<_ACEOF
25494 /* confdefs.h. */
25495 _ACEOF
25496 cat confdefs.h >>conftest.$ac_ext
25497 cat >>conftest.$ac_ext <<_ACEOF
25498 /* end confdefs.h. */
25499 #include <math.h>
25500 #ifdef HAVE_IEEEFP_H
25501 #include <ieeefp.h>
25502 #endif
25503
25504 int
25505 main ()
25506 {
25507 _finitel(0);
25508 ;
25509 return 0;
25510 }
25511 _ACEOF
25512 rm -f conftest.$ac_objext
25513 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25514 (eval $ac_compile) 2>conftest.er1
25515 ac_status=$?
25516 grep -v '^ *+' conftest.er1 >conftest.err
25517 rm -f conftest.er1
25518 cat conftest.err >&5
25519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25520 (exit $ac_status); } &&
25521 { ac_try='test -z "$ac_cxx_werror_flag"
25522 || test ! -s conftest.err'
25523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25524 (eval $ac_try) 2>&5
25525 ac_status=$?
25526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25527 (exit $ac_status); }; } &&
25528 { ac_try='test -s conftest.$ac_objext'
25529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25530 (eval $ac_try) 2>&5
25531 ac_status=$?
25532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25533 (exit $ac_status); }; }; then
25534 glibcxx_cv_func__finitel_use=yes
25535 else
25536 echo "$as_me: failed program was:" >&5
25537 sed 's/^/| /' conftest.$ac_ext >&5
25538
25539 glibcxx_cv_func__finitel_use=no
25540 fi
25541 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25542 ac_ext=c
25543 ac_cpp='$CPP $CPPFLAGS'
25544 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25545 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25546 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25547
25548
25549 fi
25550
25551 fi
25552 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitel_use" >&5
25553 echo "${ECHO_T}$glibcxx_cv_func__finitel_use" >&6
25554
25555 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
25556
25557 for ac_func in _finitel
25558 do
25559 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25560 echo "$as_me:$LINENO: checking for $ac_func" >&5
25561 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25562 if eval "test \"\${$as_ac_var+set}\" = set"; then
25563 echo $ECHO_N "(cached) $ECHO_C" >&6
25564 else
25565 if test x$gcc_no_link = xyes; then
25566 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25567 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25568 { (exit 1); exit 1; }; }
25569 fi
25570 cat >conftest.$ac_ext <<_ACEOF
25571 /* confdefs.h. */
25572 _ACEOF
25573 cat confdefs.h >>conftest.$ac_ext
25574 cat >>conftest.$ac_ext <<_ACEOF
25575 /* end confdefs.h. */
25576 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25577 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25578 #define $ac_func innocuous_$ac_func
25579
25580 /* System header to define __stub macros and hopefully few prototypes,
25581 which can conflict with char $ac_func (); below.
25582 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25583 <limits.h> exists even on freestanding compilers. */
25584
25585 #ifdef __STDC__
25586 # include <limits.h>
25587 #else
25588 # include <assert.h>
25589 #endif
25590
25591 #undef $ac_func
25592
25593 /* Override any gcc2 internal prototype to avoid an error. */
25594 #ifdef __cplusplus
25595 extern "C"
25596 {
25597 #endif
25598 /* We use char because int might match the return type of a gcc2
25599 builtin and then its argument prototype would still apply. */
25600 char $ac_func ();
25601 /* The GNU C library defines this for functions which it implements
25602 to always fail with ENOSYS. Some functions are actually named
25603 something starting with __ and the normal name is an alias. */
25604 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25605 choke me
25606 #else
25607 char (*f) () = $ac_func;
25608 #endif
25609 #ifdef __cplusplus
25610 }
25611 #endif
25612
25613 int
25614 main ()
25615 {
25616 return f != $ac_func;
25617 ;
25618 return 0;
25619 }
25620 _ACEOF
25621 rm -f conftest.$ac_objext conftest$ac_exeext
25622 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25623 (eval $ac_link) 2>conftest.er1
25624 ac_status=$?
25625 grep -v '^ *+' conftest.er1 >conftest.err
25626 rm -f conftest.er1
25627 cat conftest.err >&5
25628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25629 (exit $ac_status); } &&
25630 { ac_try='test -z "$ac_c_werror_flag"
25631 || test ! -s conftest.err'
25632 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25633 (eval $ac_try) 2>&5
25634 ac_status=$?
25635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25636 (exit $ac_status); }; } &&
25637 { ac_try='test -s conftest$ac_exeext'
25638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25639 (eval $ac_try) 2>&5
25640 ac_status=$?
25641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25642 (exit $ac_status); }; }; then
25643 eval "$as_ac_var=yes"
25644 else
25645 echo "$as_me: failed program was:" >&5
25646 sed 's/^/| /' conftest.$ac_ext >&5
25647
25648 eval "$as_ac_var=no"
25649 fi
25650 rm -f conftest.err conftest.$ac_objext \
25651 conftest$ac_exeext conftest.$ac_ext
25652 fi
25653 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25654 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25655 if test `eval echo '${'$as_ac_var'}'` = yes; then
25656 cat >>confdefs.h <<_ACEOF
25657 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25658 _ACEOF
25659
25660 fi
25661 done
25662
25663 fi
25664 fi
25665
25666
25667
25668
25669
25670 LIBS="$ac_save_LIBS"
25671 CXXFLAGS="$ac_save_CXXFLAGS"
25672
25673
25674
25675 echo "$as_me:$LINENO: checking for __builtin_abs declaration" >&5
25676 echo $ECHO_N "checking for __builtin_abs declaration... $ECHO_C" >&6
25677 if test x${glibcxx_cv_func___builtin_abs_use+set} != xset; then
25678 if test "${glibcxx_cv_func___builtin_abs_use+set}" = set; then
25679 echo $ECHO_N "(cached) $ECHO_C" >&6
25680 else
25681
25682
25683
25684 ac_ext=cc
25685 ac_cpp='$CXXCPP $CPPFLAGS'
25686 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25687 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25688 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25689
25690 cat >conftest.$ac_ext <<_ACEOF
25691 /* confdefs.h. */
25692 _ACEOF
25693 cat confdefs.h >>conftest.$ac_ext
25694 cat >>conftest.$ac_ext <<_ACEOF
25695 /* end confdefs.h. */
25696 #include <math.h>
25697 int
25698 main ()
25699 {
25700 __builtin_abs(0);
25701 ;
25702 return 0;
25703 }
25704 _ACEOF
25705 rm -f conftest.$ac_objext
25706 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25707 (eval $ac_compile) 2>conftest.er1
25708 ac_status=$?
25709 grep -v '^ *+' conftest.er1 >conftest.err
25710 rm -f conftest.er1
25711 cat conftest.err >&5
25712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25713 (exit $ac_status); } &&
25714 { ac_try='test -z "$ac_cxx_werror_flag"
25715 || test ! -s conftest.err'
25716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25717 (eval $ac_try) 2>&5
25718 ac_status=$?
25719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25720 (exit $ac_status); }; } &&
25721 { ac_try='test -s conftest.$ac_objext'
25722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25723 (eval $ac_try) 2>&5
25724 ac_status=$?
25725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25726 (exit $ac_status); }; }; then
25727 glibcxx_cv_func___builtin_abs_use=yes
25728 else
25729 echo "$as_me: failed program was:" >&5
25730 sed 's/^/| /' conftest.$ac_ext >&5
25731
25732 glibcxx_cv_func___builtin_abs_use=no
25733 fi
25734 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25735 ac_ext=c
25736 ac_cpp='$CPP $CPPFLAGS'
25737 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25738 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25739 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25740
25741
25742 fi
25743
25744 fi
25745 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_use" >&5
25746 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_use" >&6
25747 if test x$glibcxx_cv_func___builtin_abs_use = x"yes"; then
25748 echo "$as_me:$LINENO: checking for __builtin_abs linkage" >&5
25749 echo $ECHO_N "checking for __builtin_abs linkage... $ECHO_C" >&6
25750 if test x${glibcxx_cv_func___builtin_abs_link+set} != xset; then
25751 if test "${glibcxx_cv_func___builtin_abs_link+set}" = set; then
25752 echo $ECHO_N "(cached) $ECHO_C" >&6
25753 else
25754
25755 if test x$gcc_no_link = xyes; then
25756 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25757 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25758 { (exit 1); exit 1; }; }
25759 fi
25760 cat >conftest.$ac_ext <<_ACEOF
25761 /* confdefs.h. */
25762 _ACEOF
25763 cat confdefs.h >>conftest.$ac_ext
25764 cat >>conftest.$ac_ext <<_ACEOF
25765 /* end confdefs.h. */
25766 #include <math.h>
25767 int
25768 main ()
25769 {
25770 __builtin_abs(0);
25771 ;
25772 return 0;
25773 }
25774 _ACEOF
25775 rm -f conftest.$ac_objext conftest$ac_exeext
25776 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25777 (eval $ac_link) 2>conftest.er1
25778 ac_status=$?
25779 grep -v '^ *+' conftest.er1 >conftest.err
25780 rm -f conftest.er1
25781 cat conftest.err >&5
25782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25783 (exit $ac_status); } &&
25784 { ac_try='test -z "$ac_c_werror_flag"
25785 || test ! -s conftest.err'
25786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25787 (eval $ac_try) 2>&5
25788 ac_status=$?
25789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25790 (exit $ac_status); }; } &&
25791 { ac_try='test -s conftest$ac_exeext'
25792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25793 (eval $ac_try) 2>&5
25794 ac_status=$?
25795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25796 (exit $ac_status); }; }; then
25797 glibcxx_cv_func___builtin_abs_link=yes
25798 else
25799 echo "$as_me: failed program was:" >&5
25800 sed 's/^/| /' conftest.$ac_ext >&5
25801
25802 glibcxx_cv_func___builtin_abs_link=no
25803 fi
25804 rm -f conftest.err conftest.$ac_objext \
25805 conftest$ac_exeext conftest.$ac_ext
25806
25807 fi
25808
25809 fi
25810 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_link" >&5
25811 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_link" >&6
25812
25813 if test x$glibcxx_cv_func___builtin_abs_link = x"yes"; then
25814
25815 cat >>confdefs.h <<\_ACEOF
25816 #define HAVE___BUILTIN_ABS 1
25817 _ACEOF
25818
25819 fi
25820
25821 fi
25822
25823
25824 echo "$as_me:$LINENO: checking for __builtin_fabsf declaration" >&5
25825 echo $ECHO_N "checking for __builtin_fabsf declaration... $ECHO_C" >&6
25826 if test x${glibcxx_cv_func___builtin_fabsf_use+set} != xset; then
25827 if test "${glibcxx_cv_func___builtin_fabsf_use+set}" = set; then
25828 echo $ECHO_N "(cached) $ECHO_C" >&6
25829 else
25830
25831
25832
25833 ac_ext=cc
25834 ac_cpp='$CXXCPP $CPPFLAGS'
25835 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25836 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25837 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25838
25839 cat >conftest.$ac_ext <<_ACEOF
25840 /* confdefs.h. */
25841 _ACEOF
25842 cat confdefs.h >>conftest.$ac_ext
25843 cat >>conftest.$ac_ext <<_ACEOF
25844 /* end confdefs.h. */
25845 #include <math.h>
25846 int
25847 main ()
25848 {
25849 __builtin_fabsf(0);
25850 ;
25851 return 0;
25852 }
25853 _ACEOF
25854 rm -f conftest.$ac_objext
25855 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25856 (eval $ac_compile) 2>conftest.er1
25857 ac_status=$?
25858 grep -v '^ *+' conftest.er1 >conftest.err
25859 rm -f conftest.er1
25860 cat conftest.err >&5
25861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25862 (exit $ac_status); } &&
25863 { ac_try='test -z "$ac_cxx_werror_flag"
25864 || test ! -s conftest.err'
25865 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25866 (eval $ac_try) 2>&5
25867 ac_status=$?
25868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25869 (exit $ac_status); }; } &&
25870 { ac_try='test -s conftest.$ac_objext'
25871 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25872 (eval $ac_try) 2>&5
25873 ac_status=$?
25874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25875 (exit $ac_status); }; }; then
25876 glibcxx_cv_func___builtin_fabsf_use=yes
25877 else
25878 echo "$as_me: failed program was:" >&5
25879 sed 's/^/| /' conftest.$ac_ext >&5
25880
25881 glibcxx_cv_func___builtin_fabsf_use=no
25882 fi
25883 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25884 ac_ext=c
25885 ac_cpp='$CPP $CPPFLAGS'
25886 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25887 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25888 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25889
25890
25891 fi
25892
25893 fi
25894 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_use" >&5
25895 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_use" >&6
25896 if test x$glibcxx_cv_func___builtin_fabsf_use = x"yes"; then
25897 echo "$as_me:$LINENO: checking for __builtin_fabsf linkage" >&5
25898 echo $ECHO_N "checking for __builtin_fabsf linkage... $ECHO_C" >&6
25899 if test x${glibcxx_cv_func___builtin_fabsf_link+set} != xset; then
25900 if test "${glibcxx_cv_func___builtin_fabsf_link+set}" = set; then
25901 echo $ECHO_N "(cached) $ECHO_C" >&6
25902 else
25903
25904 if test x$gcc_no_link = xyes; then
25905 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25906 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25907 { (exit 1); exit 1; }; }
25908 fi
25909 cat >conftest.$ac_ext <<_ACEOF
25910 /* confdefs.h. */
25911 _ACEOF
25912 cat confdefs.h >>conftest.$ac_ext
25913 cat >>conftest.$ac_ext <<_ACEOF
25914 /* end confdefs.h. */
25915 #include <math.h>
25916 int
25917 main ()
25918 {
25919 __builtin_fabsf(0);
25920 ;
25921 return 0;
25922 }
25923 _ACEOF
25924 rm -f conftest.$ac_objext conftest$ac_exeext
25925 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25926 (eval $ac_link) 2>conftest.er1
25927 ac_status=$?
25928 grep -v '^ *+' conftest.er1 >conftest.err
25929 rm -f conftest.er1
25930 cat conftest.err >&5
25931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25932 (exit $ac_status); } &&
25933 { ac_try='test -z "$ac_c_werror_flag"
25934 || test ! -s conftest.err'
25935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25936 (eval $ac_try) 2>&5
25937 ac_status=$?
25938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25939 (exit $ac_status); }; } &&
25940 { ac_try='test -s conftest$ac_exeext'
25941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25942 (eval $ac_try) 2>&5
25943 ac_status=$?
25944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25945 (exit $ac_status); }; }; then
25946 glibcxx_cv_func___builtin_fabsf_link=yes
25947 else
25948 echo "$as_me: failed program was:" >&5
25949 sed 's/^/| /' conftest.$ac_ext >&5
25950
25951 glibcxx_cv_func___builtin_fabsf_link=no
25952 fi
25953 rm -f conftest.err conftest.$ac_objext \
25954 conftest$ac_exeext conftest.$ac_ext
25955
25956 fi
25957
25958 fi
25959 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_link" >&5
25960 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_link" >&6
25961
25962 if test x$glibcxx_cv_func___builtin_fabsf_link = x"yes"; then
25963
25964 cat >>confdefs.h <<\_ACEOF
25965 #define HAVE___BUILTIN_FABSF 1
25966 _ACEOF
25967
25968 fi
25969
25970 fi
25971
25972
25973 echo "$as_me:$LINENO: checking for __builtin_fabs declaration" >&5
25974 echo $ECHO_N "checking for __builtin_fabs declaration... $ECHO_C" >&6
25975 if test x${glibcxx_cv_func___builtin_fabs_use+set} != xset; then
25976 if test "${glibcxx_cv_func___builtin_fabs_use+set}" = set; then
25977 echo $ECHO_N "(cached) $ECHO_C" >&6
25978 else
25979
25980
25981
25982 ac_ext=cc
25983 ac_cpp='$CXXCPP $CPPFLAGS'
25984 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25985 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25986 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25987
25988 cat >conftest.$ac_ext <<_ACEOF
25989 /* confdefs.h. */
25990 _ACEOF
25991 cat confdefs.h >>conftest.$ac_ext
25992 cat >>conftest.$ac_ext <<_ACEOF
25993 /* end confdefs.h. */
25994 #include <math.h>
25995 int
25996 main ()
25997 {
25998 __builtin_fabs(0);
25999 ;
26000 return 0;
26001 }
26002 _ACEOF
26003 rm -f conftest.$ac_objext
26004 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26005 (eval $ac_compile) 2>conftest.er1
26006 ac_status=$?
26007 grep -v '^ *+' conftest.er1 >conftest.err
26008 rm -f conftest.er1
26009 cat conftest.err >&5
26010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26011 (exit $ac_status); } &&
26012 { ac_try='test -z "$ac_cxx_werror_flag"
26013 || test ! -s conftest.err'
26014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26015 (eval $ac_try) 2>&5
26016 ac_status=$?
26017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26018 (exit $ac_status); }; } &&
26019 { ac_try='test -s conftest.$ac_objext'
26020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26021 (eval $ac_try) 2>&5
26022 ac_status=$?
26023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26024 (exit $ac_status); }; }; then
26025 glibcxx_cv_func___builtin_fabs_use=yes
26026 else
26027 echo "$as_me: failed program was:" >&5
26028 sed 's/^/| /' conftest.$ac_ext >&5
26029
26030 glibcxx_cv_func___builtin_fabs_use=no
26031 fi
26032 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26033 ac_ext=c
26034 ac_cpp='$CPP $CPPFLAGS'
26035 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26036 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26037 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26038
26039
26040 fi
26041
26042 fi
26043 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_use" >&5
26044 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_use" >&6
26045 if test x$glibcxx_cv_func___builtin_fabs_use = x"yes"; then
26046 echo "$as_me:$LINENO: checking for __builtin_fabs linkage" >&5
26047 echo $ECHO_N "checking for __builtin_fabs linkage... $ECHO_C" >&6
26048 if test x${glibcxx_cv_func___builtin_fabs_link+set} != xset; then
26049 if test "${glibcxx_cv_func___builtin_fabs_link+set}" = set; then
26050 echo $ECHO_N "(cached) $ECHO_C" >&6
26051 else
26052
26053 if test x$gcc_no_link = xyes; then
26054 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26055 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26056 { (exit 1); exit 1; }; }
26057 fi
26058 cat >conftest.$ac_ext <<_ACEOF
26059 /* confdefs.h. */
26060 _ACEOF
26061 cat confdefs.h >>conftest.$ac_ext
26062 cat >>conftest.$ac_ext <<_ACEOF
26063 /* end confdefs.h. */
26064 #include <math.h>
26065 int
26066 main ()
26067 {
26068 __builtin_fabs(0);
26069 ;
26070 return 0;
26071 }
26072 _ACEOF
26073 rm -f conftest.$ac_objext conftest$ac_exeext
26074 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26075 (eval $ac_link) 2>conftest.er1
26076 ac_status=$?
26077 grep -v '^ *+' conftest.er1 >conftest.err
26078 rm -f conftest.er1
26079 cat conftest.err >&5
26080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26081 (exit $ac_status); } &&
26082 { ac_try='test -z "$ac_c_werror_flag"
26083 || test ! -s conftest.err'
26084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26085 (eval $ac_try) 2>&5
26086 ac_status=$?
26087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26088 (exit $ac_status); }; } &&
26089 { ac_try='test -s conftest$ac_exeext'
26090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26091 (eval $ac_try) 2>&5
26092 ac_status=$?
26093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26094 (exit $ac_status); }; }; then
26095 glibcxx_cv_func___builtin_fabs_link=yes
26096 else
26097 echo "$as_me: failed program was:" >&5
26098 sed 's/^/| /' conftest.$ac_ext >&5
26099
26100 glibcxx_cv_func___builtin_fabs_link=no
26101 fi
26102 rm -f conftest.err conftest.$ac_objext \
26103 conftest$ac_exeext conftest.$ac_ext
26104
26105 fi
26106
26107 fi
26108 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_link" >&5
26109 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_link" >&6
26110
26111 if test x$glibcxx_cv_func___builtin_fabs_link = x"yes"; then
26112
26113 cat >>confdefs.h <<\_ACEOF
26114 #define HAVE___BUILTIN_FABS 1
26115 _ACEOF
26116
26117 fi
26118
26119 fi
26120
26121
26122 echo "$as_me:$LINENO: checking for __builtin_fabsl declaration" >&5
26123 echo $ECHO_N "checking for __builtin_fabsl declaration... $ECHO_C" >&6
26124 if test x${glibcxx_cv_func___builtin_fabsl_use+set} != xset; then
26125 if test "${glibcxx_cv_func___builtin_fabsl_use+set}" = set; then
26126 echo $ECHO_N "(cached) $ECHO_C" >&6
26127 else
26128
26129
26130
26131 ac_ext=cc
26132 ac_cpp='$CXXCPP $CPPFLAGS'
26133 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26134 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26135 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26136
26137 cat >conftest.$ac_ext <<_ACEOF
26138 /* confdefs.h. */
26139 _ACEOF
26140 cat confdefs.h >>conftest.$ac_ext
26141 cat >>conftest.$ac_ext <<_ACEOF
26142 /* end confdefs.h. */
26143 #include <math.h>
26144 int
26145 main ()
26146 {
26147 __builtin_fabsl(0);
26148 ;
26149 return 0;
26150 }
26151 _ACEOF
26152 rm -f conftest.$ac_objext
26153 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26154 (eval $ac_compile) 2>conftest.er1
26155 ac_status=$?
26156 grep -v '^ *+' conftest.er1 >conftest.err
26157 rm -f conftest.er1
26158 cat conftest.err >&5
26159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26160 (exit $ac_status); } &&
26161 { ac_try='test -z "$ac_cxx_werror_flag"
26162 || test ! -s conftest.err'
26163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26164 (eval $ac_try) 2>&5
26165 ac_status=$?
26166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26167 (exit $ac_status); }; } &&
26168 { ac_try='test -s conftest.$ac_objext'
26169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26170 (eval $ac_try) 2>&5
26171 ac_status=$?
26172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26173 (exit $ac_status); }; }; then
26174 glibcxx_cv_func___builtin_fabsl_use=yes
26175 else
26176 echo "$as_me: failed program was:" >&5
26177 sed 's/^/| /' conftest.$ac_ext >&5
26178
26179 glibcxx_cv_func___builtin_fabsl_use=no
26180 fi
26181 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26182 ac_ext=c
26183 ac_cpp='$CPP $CPPFLAGS'
26184 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26185 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26186 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26187
26188
26189 fi
26190
26191 fi
26192 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_use" >&5
26193 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_use" >&6
26194 if test x$glibcxx_cv_func___builtin_fabsl_use = x"yes"; then
26195 echo "$as_me:$LINENO: checking for __builtin_fabsl linkage" >&5
26196 echo $ECHO_N "checking for __builtin_fabsl linkage... $ECHO_C" >&6
26197 if test x${glibcxx_cv_func___builtin_fabsl_link+set} != xset; then
26198 if test "${glibcxx_cv_func___builtin_fabsl_link+set}" = set; then
26199 echo $ECHO_N "(cached) $ECHO_C" >&6
26200 else
26201
26202 if test x$gcc_no_link = xyes; then
26203 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26204 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26205 { (exit 1); exit 1; }; }
26206 fi
26207 cat >conftest.$ac_ext <<_ACEOF
26208 /* confdefs.h. */
26209 _ACEOF
26210 cat confdefs.h >>conftest.$ac_ext
26211 cat >>conftest.$ac_ext <<_ACEOF
26212 /* end confdefs.h. */
26213 #include <math.h>
26214 int
26215 main ()
26216 {
26217 __builtin_fabsl(0);
26218 ;
26219 return 0;
26220 }
26221 _ACEOF
26222 rm -f conftest.$ac_objext conftest$ac_exeext
26223 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26224 (eval $ac_link) 2>conftest.er1
26225 ac_status=$?
26226 grep -v '^ *+' conftest.er1 >conftest.err
26227 rm -f conftest.er1
26228 cat conftest.err >&5
26229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26230 (exit $ac_status); } &&
26231 { ac_try='test -z "$ac_c_werror_flag"
26232 || test ! -s conftest.err'
26233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26234 (eval $ac_try) 2>&5
26235 ac_status=$?
26236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26237 (exit $ac_status); }; } &&
26238 { ac_try='test -s conftest$ac_exeext'
26239 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26240 (eval $ac_try) 2>&5
26241 ac_status=$?
26242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26243 (exit $ac_status); }; }; then
26244 glibcxx_cv_func___builtin_fabsl_link=yes
26245 else
26246 echo "$as_me: failed program was:" >&5
26247 sed 's/^/| /' conftest.$ac_ext >&5
26248
26249 glibcxx_cv_func___builtin_fabsl_link=no
26250 fi
26251 rm -f conftest.err conftest.$ac_objext \
26252 conftest$ac_exeext conftest.$ac_ext
26253
26254 fi
26255
26256 fi
26257 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_link" >&5
26258 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_link" >&6
26259
26260 if test x$glibcxx_cv_func___builtin_fabsl_link = x"yes"; then
26261
26262 cat >>confdefs.h <<\_ACEOF
26263 #define HAVE___BUILTIN_FABSL 1
26264 _ACEOF
26265
26266 fi
26267
26268 fi
26269
26270
26271 echo "$as_me:$LINENO: checking for __builtin_labs declaration" >&5
26272 echo $ECHO_N "checking for __builtin_labs declaration... $ECHO_C" >&6
26273 if test x${glibcxx_cv_func___builtin_labs_use+set} != xset; then
26274 if test "${glibcxx_cv_func___builtin_labs_use+set}" = set; then
26275 echo $ECHO_N "(cached) $ECHO_C" >&6
26276 else
26277
26278
26279
26280 ac_ext=cc
26281 ac_cpp='$CXXCPP $CPPFLAGS'
26282 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26283 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26284 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26285
26286 cat >conftest.$ac_ext <<_ACEOF
26287 /* confdefs.h. */
26288 _ACEOF
26289 cat confdefs.h >>conftest.$ac_ext
26290 cat >>conftest.$ac_ext <<_ACEOF
26291 /* end confdefs.h. */
26292 #include <math.h>
26293 int
26294 main ()
26295 {
26296 __builtin_labs(0);
26297 ;
26298 return 0;
26299 }
26300 _ACEOF
26301 rm -f conftest.$ac_objext
26302 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26303 (eval $ac_compile) 2>conftest.er1
26304 ac_status=$?
26305 grep -v '^ *+' conftest.er1 >conftest.err
26306 rm -f conftest.er1
26307 cat conftest.err >&5
26308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26309 (exit $ac_status); } &&
26310 { ac_try='test -z "$ac_cxx_werror_flag"
26311 || test ! -s conftest.err'
26312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26313 (eval $ac_try) 2>&5
26314 ac_status=$?
26315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26316 (exit $ac_status); }; } &&
26317 { ac_try='test -s conftest.$ac_objext'
26318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26319 (eval $ac_try) 2>&5
26320 ac_status=$?
26321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26322 (exit $ac_status); }; }; then
26323 glibcxx_cv_func___builtin_labs_use=yes
26324 else
26325 echo "$as_me: failed program was:" >&5
26326 sed 's/^/| /' conftest.$ac_ext >&5
26327
26328 glibcxx_cv_func___builtin_labs_use=no
26329 fi
26330 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26331 ac_ext=c
26332 ac_cpp='$CPP $CPPFLAGS'
26333 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26334 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26335 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26336
26337
26338 fi
26339
26340 fi
26341 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_use" >&5
26342 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_use" >&6
26343 if test x$glibcxx_cv_func___builtin_labs_use = x"yes"; then
26344 echo "$as_me:$LINENO: checking for __builtin_labs linkage" >&5
26345 echo $ECHO_N "checking for __builtin_labs linkage... $ECHO_C" >&6
26346 if test x${glibcxx_cv_func___builtin_labs_link+set} != xset; then
26347 if test "${glibcxx_cv_func___builtin_labs_link+set}" = set; then
26348 echo $ECHO_N "(cached) $ECHO_C" >&6
26349 else
26350
26351 if test x$gcc_no_link = xyes; then
26352 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26353 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26354 { (exit 1); exit 1; }; }
26355 fi
26356 cat >conftest.$ac_ext <<_ACEOF
26357 /* confdefs.h. */
26358 _ACEOF
26359 cat confdefs.h >>conftest.$ac_ext
26360 cat >>conftest.$ac_ext <<_ACEOF
26361 /* end confdefs.h. */
26362 #include <math.h>
26363 int
26364 main ()
26365 {
26366 __builtin_labs(0);
26367 ;
26368 return 0;
26369 }
26370 _ACEOF
26371 rm -f conftest.$ac_objext conftest$ac_exeext
26372 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26373 (eval $ac_link) 2>conftest.er1
26374 ac_status=$?
26375 grep -v '^ *+' conftest.er1 >conftest.err
26376 rm -f conftest.er1
26377 cat conftest.err >&5
26378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26379 (exit $ac_status); } &&
26380 { ac_try='test -z "$ac_c_werror_flag"
26381 || test ! -s conftest.err'
26382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26383 (eval $ac_try) 2>&5
26384 ac_status=$?
26385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26386 (exit $ac_status); }; } &&
26387 { ac_try='test -s conftest$ac_exeext'
26388 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26389 (eval $ac_try) 2>&5
26390 ac_status=$?
26391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26392 (exit $ac_status); }; }; then
26393 glibcxx_cv_func___builtin_labs_link=yes
26394 else
26395 echo "$as_me: failed program was:" >&5
26396 sed 's/^/| /' conftest.$ac_ext >&5
26397
26398 glibcxx_cv_func___builtin_labs_link=no
26399 fi
26400 rm -f conftest.err conftest.$ac_objext \
26401 conftest$ac_exeext conftest.$ac_ext
26402
26403 fi
26404
26405 fi
26406 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_link" >&5
26407 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_link" >&6
26408
26409 if test x$glibcxx_cv_func___builtin_labs_link = x"yes"; then
26410
26411 cat >>confdefs.h <<\_ACEOF
26412 #define HAVE___BUILTIN_LABS 1
26413 _ACEOF
26414
26415 fi
26416
26417 fi
26418
26419
26420
26421 echo "$as_me:$LINENO: checking for __builtin_sqrtf declaration" >&5
26422 echo $ECHO_N "checking for __builtin_sqrtf declaration... $ECHO_C" >&6
26423 if test x${glibcxx_cv_func___builtin_sqrtf_use+set} != xset; then
26424 if test "${glibcxx_cv_func___builtin_sqrtf_use+set}" = set; then
26425 echo $ECHO_N "(cached) $ECHO_C" >&6
26426 else
26427
26428
26429
26430 ac_ext=cc
26431 ac_cpp='$CXXCPP $CPPFLAGS'
26432 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26433 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26434 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26435
26436 cat >conftest.$ac_ext <<_ACEOF
26437 /* confdefs.h. */
26438 _ACEOF
26439 cat confdefs.h >>conftest.$ac_ext
26440 cat >>conftest.$ac_ext <<_ACEOF
26441 /* end confdefs.h. */
26442 #include <math.h>
26443 int
26444 main ()
26445 {
26446 __builtin_sqrtf(0);
26447 ;
26448 return 0;
26449 }
26450 _ACEOF
26451 rm -f conftest.$ac_objext
26452 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26453 (eval $ac_compile) 2>conftest.er1
26454 ac_status=$?
26455 grep -v '^ *+' conftest.er1 >conftest.err
26456 rm -f conftest.er1
26457 cat conftest.err >&5
26458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26459 (exit $ac_status); } &&
26460 { ac_try='test -z "$ac_cxx_werror_flag"
26461 || test ! -s conftest.err'
26462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26463 (eval $ac_try) 2>&5
26464 ac_status=$?
26465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26466 (exit $ac_status); }; } &&
26467 { ac_try='test -s conftest.$ac_objext'
26468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26469 (eval $ac_try) 2>&5
26470 ac_status=$?
26471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26472 (exit $ac_status); }; }; then
26473 glibcxx_cv_func___builtin_sqrtf_use=yes
26474 else
26475 echo "$as_me: failed program was:" >&5
26476 sed 's/^/| /' conftest.$ac_ext >&5
26477
26478 glibcxx_cv_func___builtin_sqrtf_use=no
26479 fi
26480 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26481 ac_ext=c
26482 ac_cpp='$CPP $CPPFLAGS'
26483 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26484 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26485 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26486
26487
26488 fi
26489
26490 fi
26491 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_use" >&5
26492 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_use" >&6
26493 if test x$glibcxx_cv_func___builtin_sqrtf_use = x"yes"; then
26494 echo "$as_me:$LINENO: checking for __builtin_sqrtf linkage" >&5
26495 echo $ECHO_N "checking for __builtin_sqrtf linkage... $ECHO_C" >&6
26496 if test x${glibcxx_cv_func___builtin_sqrtf_link+set} != xset; then
26497 if test "${glibcxx_cv_func___builtin_sqrtf_link+set}" = set; then
26498 echo $ECHO_N "(cached) $ECHO_C" >&6
26499 else
26500
26501 if test x$gcc_no_link = xyes; then
26502 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26503 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26504 { (exit 1); exit 1; }; }
26505 fi
26506 cat >conftest.$ac_ext <<_ACEOF
26507 /* confdefs.h. */
26508 _ACEOF
26509 cat confdefs.h >>conftest.$ac_ext
26510 cat >>conftest.$ac_ext <<_ACEOF
26511 /* end confdefs.h. */
26512 #include <math.h>
26513 int
26514 main ()
26515 {
26516 __builtin_sqrtf(0);
26517 ;
26518 return 0;
26519 }
26520 _ACEOF
26521 rm -f conftest.$ac_objext conftest$ac_exeext
26522 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26523 (eval $ac_link) 2>conftest.er1
26524 ac_status=$?
26525 grep -v '^ *+' conftest.er1 >conftest.err
26526 rm -f conftest.er1
26527 cat conftest.err >&5
26528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26529 (exit $ac_status); } &&
26530 { ac_try='test -z "$ac_c_werror_flag"
26531 || test ! -s conftest.err'
26532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26533 (eval $ac_try) 2>&5
26534 ac_status=$?
26535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26536 (exit $ac_status); }; } &&
26537 { ac_try='test -s conftest$ac_exeext'
26538 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26539 (eval $ac_try) 2>&5
26540 ac_status=$?
26541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26542 (exit $ac_status); }; }; then
26543 glibcxx_cv_func___builtin_sqrtf_link=yes
26544 else
26545 echo "$as_me: failed program was:" >&5
26546 sed 's/^/| /' conftest.$ac_ext >&5
26547
26548 glibcxx_cv_func___builtin_sqrtf_link=no
26549 fi
26550 rm -f conftest.err conftest.$ac_objext \
26551 conftest$ac_exeext conftest.$ac_ext
26552
26553 fi
26554
26555 fi
26556 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_link" >&5
26557 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_link" >&6
26558
26559 if test x$glibcxx_cv_func___builtin_sqrtf_link = x"yes"; then
26560
26561 cat >>confdefs.h <<\_ACEOF
26562 #define HAVE___BUILTIN_SQRTF 1
26563 _ACEOF
26564
26565 fi
26566
26567 fi
26568
26569
26570 echo "$as_me:$LINENO: checking for __builtin_sqrt declaration" >&5
26571 echo $ECHO_N "checking for __builtin_sqrt declaration... $ECHO_C" >&6
26572 if test x${glibcxx_cv_func___builtin_sqrt_use+set} != xset; then
26573 if test "${glibcxx_cv_func___builtin_sqrt_use+set}" = set; then
26574 echo $ECHO_N "(cached) $ECHO_C" >&6
26575 else
26576
26577
26578
26579 ac_ext=cc
26580 ac_cpp='$CXXCPP $CPPFLAGS'
26581 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26582 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26583 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26584
26585 cat >conftest.$ac_ext <<_ACEOF
26586 /* confdefs.h. */
26587 _ACEOF
26588 cat confdefs.h >>conftest.$ac_ext
26589 cat >>conftest.$ac_ext <<_ACEOF
26590 /* end confdefs.h. */
26591 #include <math.h>
26592 int
26593 main ()
26594 {
26595 __builtin_sqrt(0);
26596 ;
26597 return 0;
26598 }
26599 _ACEOF
26600 rm -f conftest.$ac_objext
26601 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26602 (eval $ac_compile) 2>conftest.er1
26603 ac_status=$?
26604 grep -v '^ *+' conftest.er1 >conftest.err
26605 rm -f conftest.er1
26606 cat conftest.err >&5
26607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26608 (exit $ac_status); } &&
26609 { ac_try='test -z "$ac_cxx_werror_flag"
26610 || test ! -s conftest.err'
26611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26612 (eval $ac_try) 2>&5
26613 ac_status=$?
26614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26615 (exit $ac_status); }; } &&
26616 { ac_try='test -s conftest.$ac_objext'
26617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26618 (eval $ac_try) 2>&5
26619 ac_status=$?
26620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26621 (exit $ac_status); }; }; then
26622 glibcxx_cv_func___builtin_sqrt_use=yes
26623 else
26624 echo "$as_me: failed program was:" >&5
26625 sed 's/^/| /' conftest.$ac_ext >&5
26626
26627 glibcxx_cv_func___builtin_sqrt_use=no
26628 fi
26629 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26630 ac_ext=c
26631 ac_cpp='$CPP $CPPFLAGS'
26632 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26633 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26634 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26635
26636
26637 fi
26638
26639 fi
26640 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_use" >&5
26641 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_use" >&6
26642 if test x$glibcxx_cv_func___builtin_sqrt_use = x"yes"; then
26643 echo "$as_me:$LINENO: checking for __builtin_sqrt linkage" >&5
26644 echo $ECHO_N "checking for __builtin_sqrt linkage... $ECHO_C" >&6
26645 if test x${glibcxx_cv_func___builtin_sqrt_link+set} != xset; then
26646 if test "${glibcxx_cv_func___builtin_sqrt_link+set}" = set; then
26647 echo $ECHO_N "(cached) $ECHO_C" >&6
26648 else
26649
26650 if test x$gcc_no_link = xyes; then
26651 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26652 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26653 { (exit 1); exit 1; }; }
26654 fi
26655 cat >conftest.$ac_ext <<_ACEOF
26656 /* confdefs.h. */
26657 _ACEOF
26658 cat confdefs.h >>conftest.$ac_ext
26659 cat >>conftest.$ac_ext <<_ACEOF
26660 /* end confdefs.h. */
26661 #include <math.h>
26662 int
26663 main ()
26664 {
26665 __builtin_sqrt(0);
26666 ;
26667 return 0;
26668 }
26669 _ACEOF
26670 rm -f conftest.$ac_objext conftest$ac_exeext
26671 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26672 (eval $ac_link) 2>conftest.er1
26673 ac_status=$?
26674 grep -v '^ *+' conftest.er1 >conftest.err
26675 rm -f conftest.er1
26676 cat conftest.err >&5
26677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26678 (exit $ac_status); } &&
26679 { ac_try='test -z "$ac_c_werror_flag"
26680 || test ! -s conftest.err'
26681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26682 (eval $ac_try) 2>&5
26683 ac_status=$?
26684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26685 (exit $ac_status); }; } &&
26686 { ac_try='test -s conftest$ac_exeext'
26687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26688 (eval $ac_try) 2>&5
26689 ac_status=$?
26690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26691 (exit $ac_status); }; }; then
26692 glibcxx_cv_func___builtin_sqrt_link=yes
26693 else
26694 echo "$as_me: failed program was:" >&5
26695 sed 's/^/| /' conftest.$ac_ext >&5
26696
26697 glibcxx_cv_func___builtin_sqrt_link=no
26698 fi
26699 rm -f conftest.err conftest.$ac_objext \
26700 conftest$ac_exeext conftest.$ac_ext
26701
26702 fi
26703
26704 fi
26705 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_link" >&5
26706 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_link" >&6
26707
26708 if test x$glibcxx_cv_func___builtin_sqrt_link = x"yes"; then
26709
26710 cat >>confdefs.h <<\_ACEOF
26711 #define HAVE___BUILTIN_SQRT 1
26712 _ACEOF
26713
26714 fi
26715
26716 fi
26717
26718
26719 echo "$as_me:$LINENO: checking for __builtin_sqrtl declaration" >&5
26720 echo $ECHO_N "checking for __builtin_sqrtl declaration... $ECHO_C" >&6
26721 if test x${glibcxx_cv_func___builtin_sqrtl_use+set} != xset; then
26722 if test "${glibcxx_cv_func___builtin_sqrtl_use+set}" = set; then
26723 echo $ECHO_N "(cached) $ECHO_C" >&6
26724 else
26725
26726
26727
26728 ac_ext=cc
26729 ac_cpp='$CXXCPP $CPPFLAGS'
26730 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26731 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26732 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26733
26734 cat >conftest.$ac_ext <<_ACEOF
26735 /* confdefs.h. */
26736 _ACEOF
26737 cat confdefs.h >>conftest.$ac_ext
26738 cat >>conftest.$ac_ext <<_ACEOF
26739 /* end confdefs.h. */
26740 #include <math.h>
26741 int
26742 main ()
26743 {
26744 __builtin_sqrtl(0);
26745 ;
26746 return 0;
26747 }
26748 _ACEOF
26749 rm -f conftest.$ac_objext
26750 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26751 (eval $ac_compile) 2>conftest.er1
26752 ac_status=$?
26753 grep -v '^ *+' conftest.er1 >conftest.err
26754 rm -f conftest.er1
26755 cat conftest.err >&5
26756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26757 (exit $ac_status); } &&
26758 { ac_try='test -z "$ac_cxx_werror_flag"
26759 || test ! -s conftest.err'
26760 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26761 (eval $ac_try) 2>&5
26762 ac_status=$?
26763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26764 (exit $ac_status); }; } &&
26765 { ac_try='test -s conftest.$ac_objext'
26766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26767 (eval $ac_try) 2>&5
26768 ac_status=$?
26769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26770 (exit $ac_status); }; }; then
26771 glibcxx_cv_func___builtin_sqrtl_use=yes
26772 else
26773 echo "$as_me: failed program was:" >&5
26774 sed 's/^/| /' conftest.$ac_ext >&5
26775
26776 glibcxx_cv_func___builtin_sqrtl_use=no
26777 fi
26778 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26779 ac_ext=c
26780 ac_cpp='$CPP $CPPFLAGS'
26781 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26782 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26783 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26784
26785
26786 fi
26787
26788 fi
26789 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_use" >&5
26790 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_use" >&6
26791 if test x$glibcxx_cv_func___builtin_sqrtl_use = x"yes"; then
26792 echo "$as_me:$LINENO: checking for __builtin_sqrtl linkage" >&5
26793 echo $ECHO_N "checking for __builtin_sqrtl linkage... $ECHO_C" >&6
26794 if test x${glibcxx_cv_func___builtin_sqrtl_link+set} != xset; then
26795 if test "${glibcxx_cv_func___builtin_sqrtl_link+set}" = set; then
26796 echo $ECHO_N "(cached) $ECHO_C" >&6
26797 else
26798
26799 if test x$gcc_no_link = xyes; then
26800 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26801 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26802 { (exit 1); exit 1; }; }
26803 fi
26804 cat >conftest.$ac_ext <<_ACEOF
26805 /* confdefs.h. */
26806 _ACEOF
26807 cat confdefs.h >>conftest.$ac_ext
26808 cat >>conftest.$ac_ext <<_ACEOF
26809 /* end confdefs.h. */
26810 #include <math.h>
26811 int
26812 main ()
26813 {
26814 __builtin_sqrtl(0);
26815 ;
26816 return 0;
26817 }
26818 _ACEOF
26819 rm -f conftest.$ac_objext conftest$ac_exeext
26820 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26821 (eval $ac_link) 2>conftest.er1
26822 ac_status=$?
26823 grep -v '^ *+' conftest.er1 >conftest.err
26824 rm -f conftest.er1
26825 cat conftest.err >&5
26826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26827 (exit $ac_status); } &&
26828 { ac_try='test -z "$ac_c_werror_flag"
26829 || test ! -s conftest.err'
26830 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26831 (eval $ac_try) 2>&5
26832 ac_status=$?
26833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26834 (exit $ac_status); }; } &&
26835 { ac_try='test -s conftest$ac_exeext'
26836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26837 (eval $ac_try) 2>&5
26838 ac_status=$?
26839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26840 (exit $ac_status); }; }; then
26841 glibcxx_cv_func___builtin_sqrtl_link=yes
26842 else
26843 echo "$as_me: failed program was:" >&5
26844 sed 's/^/| /' conftest.$ac_ext >&5
26845
26846 glibcxx_cv_func___builtin_sqrtl_link=no
26847 fi
26848 rm -f conftest.err conftest.$ac_objext \
26849 conftest$ac_exeext conftest.$ac_ext
26850
26851 fi
26852
26853 fi
26854 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_link" >&5
26855 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_link" >&6
26856
26857 if test x$glibcxx_cv_func___builtin_sqrtl_link = x"yes"; then
26858
26859 cat >>confdefs.h <<\_ACEOF
26860 #define HAVE___BUILTIN_SQRTL 1
26861 _ACEOF
26862
26863 fi
26864
26865 fi
26866
26867
26868
26869 echo "$as_me:$LINENO: checking for __builtin_sinf declaration" >&5
26870 echo $ECHO_N "checking for __builtin_sinf declaration... $ECHO_C" >&6
26871 if test x${glibcxx_cv_func___builtin_sinf_use+set} != xset; then
26872 if test "${glibcxx_cv_func___builtin_sinf_use+set}" = set; then
26873 echo $ECHO_N "(cached) $ECHO_C" >&6
26874 else
26875
26876
26877
26878 ac_ext=cc
26879 ac_cpp='$CXXCPP $CPPFLAGS'
26880 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26881 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26882 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26883
26884 cat >conftest.$ac_ext <<_ACEOF
26885 /* confdefs.h. */
26886 _ACEOF
26887 cat confdefs.h >>conftest.$ac_ext
26888 cat >>conftest.$ac_ext <<_ACEOF
26889 /* end confdefs.h. */
26890 #include <math.h>
26891 int
26892 main ()
26893 {
26894 __builtin_sinf(0);
26895 ;
26896 return 0;
26897 }
26898 _ACEOF
26899 rm -f conftest.$ac_objext
26900 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26901 (eval $ac_compile) 2>conftest.er1
26902 ac_status=$?
26903 grep -v '^ *+' conftest.er1 >conftest.err
26904 rm -f conftest.er1
26905 cat conftest.err >&5
26906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26907 (exit $ac_status); } &&
26908 { ac_try='test -z "$ac_cxx_werror_flag"
26909 || test ! -s conftest.err'
26910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26911 (eval $ac_try) 2>&5
26912 ac_status=$?
26913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26914 (exit $ac_status); }; } &&
26915 { ac_try='test -s conftest.$ac_objext'
26916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26917 (eval $ac_try) 2>&5
26918 ac_status=$?
26919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26920 (exit $ac_status); }; }; then
26921 glibcxx_cv_func___builtin_sinf_use=yes
26922 else
26923 echo "$as_me: failed program was:" >&5
26924 sed 's/^/| /' conftest.$ac_ext >&5
26925
26926 glibcxx_cv_func___builtin_sinf_use=no
26927 fi
26928 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26929 ac_ext=c
26930 ac_cpp='$CPP $CPPFLAGS'
26931 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26932 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26933 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26934
26935
26936 fi
26937
26938 fi
26939 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_use" >&5
26940 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_use" >&6
26941 if test x$glibcxx_cv_func___builtin_sinf_use = x"yes"; then
26942 echo "$as_me:$LINENO: checking for __builtin_sinf linkage" >&5
26943 echo $ECHO_N "checking for __builtin_sinf linkage... $ECHO_C" >&6
26944 if test x${glibcxx_cv_func___builtin_sinf_link+set} != xset; then
26945 if test "${glibcxx_cv_func___builtin_sinf_link+set}" = set; then
26946 echo $ECHO_N "(cached) $ECHO_C" >&6
26947 else
26948
26949 if test x$gcc_no_link = xyes; then
26950 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26951 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26952 { (exit 1); exit 1; }; }
26953 fi
26954 cat >conftest.$ac_ext <<_ACEOF
26955 /* confdefs.h. */
26956 _ACEOF
26957 cat confdefs.h >>conftest.$ac_ext
26958 cat >>conftest.$ac_ext <<_ACEOF
26959 /* end confdefs.h. */
26960 #include <math.h>
26961 int
26962 main ()
26963 {
26964 __builtin_sinf(0);
26965 ;
26966 return 0;
26967 }
26968 _ACEOF
26969 rm -f conftest.$ac_objext conftest$ac_exeext
26970 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26971 (eval $ac_link) 2>conftest.er1
26972 ac_status=$?
26973 grep -v '^ *+' conftest.er1 >conftest.err
26974 rm -f conftest.er1
26975 cat conftest.err >&5
26976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26977 (exit $ac_status); } &&
26978 { ac_try='test -z "$ac_c_werror_flag"
26979 || test ! -s conftest.err'
26980 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26981 (eval $ac_try) 2>&5
26982 ac_status=$?
26983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26984 (exit $ac_status); }; } &&
26985 { ac_try='test -s conftest$ac_exeext'
26986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26987 (eval $ac_try) 2>&5
26988 ac_status=$?
26989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26990 (exit $ac_status); }; }; then
26991 glibcxx_cv_func___builtin_sinf_link=yes
26992 else
26993 echo "$as_me: failed program was:" >&5
26994 sed 's/^/| /' conftest.$ac_ext >&5
26995
26996 glibcxx_cv_func___builtin_sinf_link=no
26997 fi
26998 rm -f conftest.err conftest.$ac_objext \
26999 conftest$ac_exeext conftest.$ac_ext
27000
27001 fi
27002
27003 fi
27004 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_link" >&5
27005 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_link" >&6
27006
27007 if test x$glibcxx_cv_func___builtin_sinf_link = x"yes"; then
27008
27009 cat >>confdefs.h <<\_ACEOF
27010 #define HAVE___BUILTIN_SINF 1
27011 _ACEOF
27012
27013 fi
27014
27015 fi
27016
27017
27018 echo "$as_me:$LINENO: checking for __builtin_sin declaration" >&5
27019 echo $ECHO_N "checking for __builtin_sin declaration... $ECHO_C" >&6
27020 if test x${glibcxx_cv_func___builtin_sin_use+set} != xset; then
27021 if test "${glibcxx_cv_func___builtin_sin_use+set}" = set; then
27022 echo $ECHO_N "(cached) $ECHO_C" >&6
27023 else
27024
27025
27026
27027 ac_ext=cc
27028 ac_cpp='$CXXCPP $CPPFLAGS'
27029 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27030 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27031 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27032
27033 cat >conftest.$ac_ext <<_ACEOF
27034 /* confdefs.h. */
27035 _ACEOF
27036 cat confdefs.h >>conftest.$ac_ext
27037 cat >>conftest.$ac_ext <<_ACEOF
27038 /* end confdefs.h. */
27039 #include <math.h>
27040 int
27041 main ()
27042 {
27043 __builtin_sin(0);
27044 ;
27045 return 0;
27046 }
27047 _ACEOF
27048 rm -f conftest.$ac_objext
27049 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27050 (eval $ac_compile) 2>conftest.er1
27051 ac_status=$?
27052 grep -v '^ *+' conftest.er1 >conftest.err
27053 rm -f conftest.er1
27054 cat conftest.err >&5
27055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27056 (exit $ac_status); } &&
27057 { ac_try='test -z "$ac_cxx_werror_flag"
27058 || test ! -s conftest.err'
27059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27060 (eval $ac_try) 2>&5
27061 ac_status=$?
27062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27063 (exit $ac_status); }; } &&
27064 { ac_try='test -s conftest.$ac_objext'
27065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27066 (eval $ac_try) 2>&5
27067 ac_status=$?
27068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27069 (exit $ac_status); }; }; then
27070 glibcxx_cv_func___builtin_sin_use=yes
27071 else
27072 echo "$as_me: failed program was:" >&5
27073 sed 's/^/| /' conftest.$ac_ext >&5
27074
27075 glibcxx_cv_func___builtin_sin_use=no
27076 fi
27077 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27078 ac_ext=c
27079 ac_cpp='$CPP $CPPFLAGS'
27080 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27081 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27082 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27083
27084
27085 fi
27086
27087 fi
27088 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_use" >&5
27089 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_use" >&6
27090 if test x$glibcxx_cv_func___builtin_sin_use = x"yes"; then
27091 echo "$as_me:$LINENO: checking for __builtin_sin linkage" >&5
27092 echo $ECHO_N "checking for __builtin_sin linkage... $ECHO_C" >&6
27093 if test x${glibcxx_cv_func___builtin_sin_link+set} != xset; then
27094 if test "${glibcxx_cv_func___builtin_sin_link+set}" = set; then
27095 echo $ECHO_N "(cached) $ECHO_C" >&6
27096 else
27097
27098 if test x$gcc_no_link = xyes; then
27099 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27100 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27101 { (exit 1); exit 1; }; }
27102 fi
27103 cat >conftest.$ac_ext <<_ACEOF
27104 /* confdefs.h. */
27105 _ACEOF
27106 cat confdefs.h >>conftest.$ac_ext
27107 cat >>conftest.$ac_ext <<_ACEOF
27108 /* end confdefs.h. */
27109 #include <math.h>
27110 int
27111 main ()
27112 {
27113 __builtin_sin(0);
27114 ;
27115 return 0;
27116 }
27117 _ACEOF
27118 rm -f conftest.$ac_objext conftest$ac_exeext
27119 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27120 (eval $ac_link) 2>conftest.er1
27121 ac_status=$?
27122 grep -v '^ *+' conftest.er1 >conftest.err
27123 rm -f conftest.er1
27124 cat conftest.err >&5
27125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27126 (exit $ac_status); } &&
27127 { ac_try='test -z "$ac_c_werror_flag"
27128 || test ! -s conftest.err'
27129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27130 (eval $ac_try) 2>&5
27131 ac_status=$?
27132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27133 (exit $ac_status); }; } &&
27134 { ac_try='test -s conftest$ac_exeext'
27135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27136 (eval $ac_try) 2>&5
27137 ac_status=$?
27138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27139 (exit $ac_status); }; }; then
27140 glibcxx_cv_func___builtin_sin_link=yes
27141 else
27142 echo "$as_me: failed program was:" >&5
27143 sed 's/^/| /' conftest.$ac_ext >&5
27144
27145 glibcxx_cv_func___builtin_sin_link=no
27146 fi
27147 rm -f conftest.err conftest.$ac_objext \
27148 conftest$ac_exeext conftest.$ac_ext
27149
27150 fi
27151
27152 fi
27153 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_link" >&5
27154 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_link" >&6
27155
27156 if test x$glibcxx_cv_func___builtin_sin_link = x"yes"; then
27157
27158 cat >>confdefs.h <<\_ACEOF
27159 #define HAVE___BUILTIN_SIN 1
27160 _ACEOF
27161
27162 fi
27163
27164 fi
27165
27166
27167 echo "$as_me:$LINENO: checking for __builtin_sinl declaration" >&5
27168 echo $ECHO_N "checking for __builtin_sinl declaration... $ECHO_C" >&6
27169 if test x${glibcxx_cv_func___builtin_sinl_use+set} != xset; then
27170 if test "${glibcxx_cv_func___builtin_sinl_use+set}" = set; then
27171 echo $ECHO_N "(cached) $ECHO_C" >&6
27172 else
27173
27174
27175
27176 ac_ext=cc
27177 ac_cpp='$CXXCPP $CPPFLAGS'
27178 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27179 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27180 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27181
27182 cat >conftest.$ac_ext <<_ACEOF
27183 /* confdefs.h. */
27184 _ACEOF
27185 cat confdefs.h >>conftest.$ac_ext
27186 cat >>conftest.$ac_ext <<_ACEOF
27187 /* end confdefs.h. */
27188 #include <math.h>
27189 int
27190 main ()
27191 {
27192 __builtin_sinl(0);
27193 ;
27194 return 0;
27195 }
27196 _ACEOF
27197 rm -f conftest.$ac_objext
27198 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27199 (eval $ac_compile) 2>conftest.er1
27200 ac_status=$?
27201 grep -v '^ *+' conftest.er1 >conftest.err
27202 rm -f conftest.er1
27203 cat conftest.err >&5
27204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27205 (exit $ac_status); } &&
27206 { ac_try='test -z "$ac_cxx_werror_flag"
27207 || test ! -s conftest.err'
27208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27209 (eval $ac_try) 2>&5
27210 ac_status=$?
27211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27212 (exit $ac_status); }; } &&
27213 { ac_try='test -s conftest.$ac_objext'
27214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27215 (eval $ac_try) 2>&5
27216 ac_status=$?
27217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27218 (exit $ac_status); }; }; then
27219 glibcxx_cv_func___builtin_sinl_use=yes
27220 else
27221 echo "$as_me: failed program was:" >&5
27222 sed 's/^/| /' conftest.$ac_ext >&5
27223
27224 glibcxx_cv_func___builtin_sinl_use=no
27225 fi
27226 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27227 ac_ext=c
27228 ac_cpp='$CPP $CPPFLAGS'
27229 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27230 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27231 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27232
27233
27234 fi
27235
27236 fi
27237 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_use" >&5
27238 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_use" >&6
27239 if test x$glibcxx_cv_func___builtin_sinl_use = x"yes"; then
27240 echo "$as_me:$LINENO: checking for __builtin_sinl linkage" >&5
27241 echo $ECHO_N "checking for __builtin_sinl linkage... $ECHO_C" >&6
27242 if test x${glibcxx_cv_func___builtin_sinl_link+set} != xset; then
27243 if test "${glibcxx_cv_func___builtin_sinl_link+set}" = set; then
27244 echo $ECHO_N "(cached) $ECHO_C" >&6
27245 else
27246
27247 if test x$gcc_no_link = xyes; then
27248 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27249 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27250 { (exit 1); exit 1; }; }
27251 fi
27252 cat >conftest.$ac_ext <<_ACEOF
27253 /* confdefs.h. */
27254 _ACEOF
27255 cat confdefs.h >>conftest.$ac_ext
27256 cat >>conftest.$ac_ext <<_ACEOF
27257 /* end confdefs.h. */
27258 #include <math.h>
27259 int
27260 main ()
27261 {
27262 __builtin_sinl(0);
27263 ;
27264 return 0;
27265 }
27266 _ACEOF
27267 rm -f conftest.$ac_objext conftest$ac_exeext
27268 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27269 (eval $ac_link) 2>conftest.er1
27270 ac_status=$?
27271 grep -v '^ *+' conftest.er1 >conftest.err
27272 rm -f conftest.er1
27273 cat conftest.err >&5
27274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27275 (exit $ac_status); } &&
27276 { ac_try='test -z "$ac_c_werror_flag"
27277 || test ! -s conftest.err'
27278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27279 (eval $ac_try) 2>&5
27280 ac_status=$?
27281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27282 (exit $ac_status); }; } &&
27283 { ac_try='test -s conftest$ac_exeext'
27284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27285 (eval $ac_try) 2>&5
27286 ac_status=$?
27287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27288 (exit $ac_status); }; }; then
27289 glibcxx_cv_func___builtin_sinl_link=yes
27290 else
27291 echo "$as_me: failed program was:" >&5
27292 sed 's/^/| /' conftest.$ac_ext >&5
27293
27294 glibcxx_cv_func___builtin_sinl_link=no
27295 fi
27296 rm -f conftest.err conftest.$ac_objext \
27297 conftest$ac_exeext conftest.$ac_ext
27298
27299 fi
27300
27301 fi
27302 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_link" >&5
27303 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_link" >&6
27304
27305 if test x$glibcxx_cv_func___builtin_sinl_link = x"yes"; then
27306
27307 cat >>confdefs.h <<\_ACEOF
27308 #define HAVE___BUILTIN_SINL 1
27309 _ACEOF
27310
27311 fi
27312
27313 fi
27314
27315
27316
27317 echo "$as_me:$LINENO: checking for __builtin_cosf declaration" >&5
27318 echo $ECHO_N "checking for __builtin_cosf declaration... $ECHO_C" >&6
27319 if test x${glibcxx_cv_func___builtin_cosf_use+set} != xset; then
27320 if test "${glibcxx_cv_func___builtin_cosf_use+set}" = set; then
27321 echo $ECHO_N "(cached) $ECHO_C" >&6
27322 else
27323
27324
27325
27326 ac_ext=cc
27327 ac_cpp='$CXXCPP $CPPFLAGS'
27328 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27329 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27330 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27331
27332 cat >conftest.$ac_ext <<_ACEOF
27333 /* confdefs.h. */
27334 _ACEOF
27335 cat confdefs.h >>conftest.$ac_ext
27336 cat >>conftest.$ac_ext <<_ACEOF
27337 /* end confdefs.h. */
27338 #include <math.h>
27339 int
27340 main ()
27341 {
27342 __builtin_cosf(0);
27343 ;
27344 return 0;
27345 }
27346 _ACEOF
27347 rm -f conftest.$ac_objext
27348 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27349 (eval $ac_compile) 2>conftest.er1
27350 ac_status=$?
27351 grep -v '^ *+' conftest.er1 >conftest.err
27352 rm -f conftest.er1
27353 cat conftest.err >&5
27354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27355 (exit $ac_status); } &&
27356 { ac_try='test -z "$ac_cxx_werror_flag"
27357 || test ! -s conftest.err'
27358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27359 (eval $ac_try) 2>&5
27360 ac_status=$?
27361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27362 (exit $ac_status); }; } &&
27363 { ac_try='test -s conftest.$ac_objext'
27364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27365 (eval $ac_try) 2>&5
27366 ac_status=$?
27367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27368 (exit $ac_status); }; }; then
27369 glibcxx_cv_func___builtin_cosf_use=yes
27370 else
27371 echo "$as_me: failed program was:" >&5
27372 sed 's/^/| /' conftest.$ac_ext >&5
27373
27374 glibcxx_cv_func___builtin_cosf_use=no
27375 fi
27376 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27377 ac_ext=c
27378 ac_cpp='$CPP $CPPFLAGS'
27379 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27380 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27381 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27382
27383
27384 fi
27385
27386 fi
27387 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_use" >&5
27388 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_use" >&6
27389 if test x$glibcxx_cv_func___builtin_cosf_use = x"yes"; then
27390 echo "$as_me:$LINENO: checking for __builtin_cosf linkage" >&5
27391 echo $ECHO_N "checking for __builtin_cosf linkage... $ECHO_C" >&6
27392 if test x${glibcxx_cv_func___builtin_cosf_link+set} != xset; then
27393 if test "${glibcxx_cv_func___builtin_cosf_link+set}" = set; then
27394 echo $ECHO_N "(cached) $ECHO_C" >&6
27395 else
27396
27397 if test x$gcc_no_link = xyes; then
27398 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27399 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27400 { (exit 1); exit 1; }; }
27401 fi
27402 cat >conftest.$ac_ext <<_ACEOF
27403 /* confdefs.h. */
27404 _ACEOF
27405 cat confdefs.h >>conftest.$ac_ext
27406 cat >>conftest.$ac_ext <<_ACEOF
27407 /* end confdefs.h. */
27408 #include <math.h>
27409 int
27410 main ()
27411 {
27412 __builtin_cosf(0);
27413 ;
27414 return 0;
27415 }
27416 _ACEOF
27417 rm -f conftest.$ac_objext conftest$ac_exeext
27418 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27419 (eval $ac_link) 2>conftest.er1
27420 ac_status=$?
27421 grep -v '^ *+' conftest.er1 >conftest.err
27422 rm -f conftest.er1
27423 cat conftest.err >&5
27424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27425 (exit $ac_status); } &&
27426 { ac_try='test -z "$ac_c_werror_flag"
27427 || test ! -s conftest.err'
27428 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27429 (eval $ac_try) 2>&5
27430 ac_status=$?
27431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27432 (exit $ac_status); }; } &&
27433 { ac_try='test -s conftest$ac_exeext'
27434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27435 (eval $ac_try) 2>&5
27436 ac_status=$?
27437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27438 (exit $ac_status); }; }; then
27439 glibcxx_cv_func___builtin_cosf_link=yes
27440 else
27441 echo "$as_me: failed program was:" >&5
27442 sed 's/^/| /' conftest.$ac_ext >&5
27443
27444 glibcxx_cv_func___builtin_cosf_link=no
27445 fi
27446 rm -f conftest.err conftest.$ac_objext \
27447 conftest$ac_exeext conftest.$ac_ext
27448
27449 fi
27450
27451 fi
27452 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_link" >&5
27453 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_link" >&6
27454
27455 if test x$glibcxx_cv_func___builtin_cosf_link = x"yes"; then
27456
27457 cat >>confdefs.h <<\_ACEOF
27458 #define HAVE___BUILTIN_COSF 1
27459 _ACEOF
27460
27461 fi
27462
27463 fi
27464
27465
27466 echo "$as_me:$LINENO: checking for __builtin_cos declaration" >&5
27467 echo $ECHO_N "checking for __builtin_cos declaration... $ECHO_C" >&6
27468 if test x${glibcxx_cv_func___builtin_cos_use+set} != xset; then
27469 if test "${glibcxx_cv_func___builtin_cos_use+set}" = set; then
27470 echo $ECHO_N "(cached) $ECHO_C" >&6
27471 else
27472
27473
27474
27475 ac_ext=cc
27476 ac_cpp='$CXXCPP $CPPFLAGS'
27477 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27478 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27479 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27480
27481 cat >conftest.$ac_ext <<_ACEOF
27482 /* confdefs.h. */
27483 _ACEOF
27484 cat confdefs.h >>conftest.$ac_ext
27485 cat >>conftest.$ac_ext <<_ACEOF
27486 /* end confdefs.h. */
27487 #include <math.h>
27488 int
27489 main ()
27490 {
27491 __builtin_cos(0);
27492 ;
27493 return 0;
27494 }
27495 _ACEOF
27496 rm -f conftest.$ac_objext
27497 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27498 (eval $ac_compile) 2>conftest.er1
27499 ac_status=$?
27500 grep -v '^ *+' conftest.er1 >conftest.err
27501 rm -f conftest.er1
27502 cat conftest.err >&5
27503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27504 (exit $ac_status); } &&
27505 { ac_try='test -z "$ac_cxx_werror_flag"
27506 || test ! -s conftest.err'
27507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27508 (eval $ac_try) 2>&5
27509 ac_status=$?
27510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27511 (exit $ac_status); }; } &&
27512 { ac_try='test -s conftest.$ac_objext'
27513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27514 (eval $ac_try) 2>&5
27515 ac_status=$?
27516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27517 (exit $ac_status); }; }; then
27518 glibcxx_cv_func___builtin_cos_use=yes
27519 else
27520 echo "$as_me: failed program was:" >&5
27521 sed 's/^/| /' conftest.$ac_ext >&5
27522
27523 glibcxx_cv_func___builtin_cos_use=no
27524 fi
27525 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27526 ac_ext=c
27527 ac_cpp='$CPP $CPPFLAGS'
27528 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27529 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27530 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27531
27532
27533 fi
27534
27535 fi
27536 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_use" >&5
27537 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_use" >&6
27538 if test x$glibcxx_cv_func___builtin_cos_use = x"yes"; then
27539 echo "$as_me:$LINENO: checking for __builtin_cos linkage" >&5
27540 echo $ECHO_N "checking for __builtin_cos linkage... $ECHO_C" >&6
27541 if test x${glibcxx_cv_func___builtin_cos_link+set} != xset; then
27542 if test "${glibcxx_cv_func___builtin_cos_link+set}" = set; then
27543 echo $ECHO_N "(cached) $ECHO_C" >&6
27544 else
27545
27546 if test x$gcc_no_link = xyes; then
27547 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27548 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27549 { (exit 1); exit 1; }; }
27550 fi
27551 cat >conftest.$ac_ext <<_ACEOF
27552 /* confdefs.h. */
27553 _ACEOF
27554 cat confdefs.h >>conftest.$ac_ext
27555 cat >>conftest.$ac_ext <<_ACEOF
27556 /* end confdefs.h. */
27557 #include <math.h>
27558 int
27559 main ()
27560 {
27561 __builtin_cos(0);
27562 ;
27563 return 0;
27564 }
27565 _ACEOF
27566 rm -f conftest.$ac_objext conftest$ac_exeext
27567 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27568 (eval $ac_link) 2>conftest.er1
27569 ac_status=$?
27570 grep -v '^ *+' conftest.er1 >conftest.err
27571 rm -f conftest.er1
27572 cat conftest.err >&5
27573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27574 (exit $ac_status); } &&
27575 { ac_try='test -z "$ac_c_werror_flag"
27576 || test ! -s conftest.err'
27577 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27578 (eval $ac_try) 2>&5
27579 ac_status=$?
27580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27581 (exit $ac_status); }; } &&
27582 { ac_try='test -s conftest$ac_exeext'
27583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27584 (eval $ac_try) 2>&5
27585 ac_status=$?
27586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27587 (exit $ac_status); }; }; then
27588 glibcxx_cv_func___builtin_cos_link=yes
27589 else
27590 echo "$as_me: failed program was:" >&5
27591 sed 's/^/| /' conftest.$ac_ext >&5
27592
27593 glibcxx_cv_func___builtin_cos_link=no
27594 fi
27595 rm -f conftest.err conftest.$ac_objext \
27596 conftest$ac_exeext conftest.$ac_ext
27597
27598 fi
27599
27600 fi
27601 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_link" >&5
27602 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_link" >&6
27603
27604 if test x$glibcxx_cv_func___builtin_cos_link = x"yes"; then
27605
27606 cat >>confdefs.h <<\_ACEOF
27607 #define HAVE___BUILTIN_COS 1
27608 _ACEOF
27609
27610 fi
27611
27612 fi
27613
27614
27615 echo "$as_me:$LINENO: checking for __builtin_cosl declaration" >&5
27616 echo $ECHO_N "checking for __builtin_cosl declaration... $ECHO_C" >&6
27617 if test x${glibcxx_cv_func___builtin_cosl_use+set} != xset; then
27618 if test "${glibcxx_cv_func___builtin_cosl_use+set}" = set; then
27619 echo $ECHO_N "(cached) $ECHO_C" >&6
27620 else
27621
27622
27623
27624 ac_ext=cc
27625 ac_cpp='$CXXCPP $CPPFLAGS'
27626 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27627 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27628 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27629
27630 cat >conftest.$ac_ext <<_ACEOF
27631 /* confdefs.h. */
27632 _ACEOF
27633 cat confdefs.h >>conftest.$ac_ext
27634 cat >>conftest.$ac_ext <<_ACEOF
27635 /* end confdefs.h. */
27636 #include <math.h>
27637 int
27638 main ()
27639 {
27640 __builtin_cosl(0);
27641 ;
27642 return 0;
27643 }
27644 _ACEOF
27645 rm -f conftest.$ac_objext
27646 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27647 (eval $ac_compile) 2>conftest.er1
27648 ac_status=$?
27649 grep -v '^ *+' conftest.er1 >conftest.err
27650 rm -f conftest.er1
27651 cat conftest.err >&5
27652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27653 (exit $ac_status); } &&
27654 { ac_try='test -z "$ac_cxx_werror_flag"
27655 || test ! -s conftest.err'
27656 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27657 (eval $ac_try) 2>&5
27658 ac_status=$?
27659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27660 (exit $ac_status); }; } &&
27661 { ac_try='test -s conftest.$ac_objext'
27662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27663 (eval $ac_try) 2>&5
27664 ac_status=$?
27665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27666 (exit $ac_status); }; }; then
27667 glibcxx_cv_func___builtin_cosl_use=yes
27668 else
27669 echo "$as_me: failed program was:" >&5
27670 sed 's/^/| /' conftest.$ac_ext >&5
27671
27672 glibcxx_cv_func___builtin_cosl_use=no
27673 fi
27674 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27675 ac_ext=c
27676 ac_cpp='$CPP $CPPFLAGS'
27677 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27678 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27679 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27680
27681
27682 fi
27683
27684 fi
27685 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_use" >&5
27686 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_use" >&6
27687 if test x$glibcxx_cv_func___builtin_cosl_use = x"yes"; then
27688 echo "$as_me:$LINENO: checking for __builtin_cosl linkage" >&5
27689 echo $ECHO_N "checking for __builtin_cosl linkage... $ECHO_C" >&6
27690 if test x${glibcxx_cv_func___builtin_cosl_link+set} != xset; then
27691 if test "${glibcxx_cv_func___builtin_cosl_link+set}" = set; then
27692 echo $ECHO_N "(cached) $ECHO_C" >&6
27693 else
27694
27695 if test x$gcc_no_link = xyes; then
27696 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27697 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27698 { (exit 1); exit 1; }; }
27699 fi
27700 cat >conftest.$ac_ext <<_ACEOF
27701 /* confdefs.h. */
27702 _ACEOF
27703 cat confdefs.h >>conftest.$ac_ext
27704 cat >>conftest.$ac_ext <<_ACEOF
27705 /* end confdefs.h. */
27706 #include <math.h>
27707 int
27708 main ()
27709 {
27710 __builtin_cosl(0);
27711 ;
27712 return 0;
27713 }
27714 _ACEOF
27715 rm -f conftest.$ac_objext conftest$ac_exeext
27716 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27717 (eval $ac_link) 2>conftest.er1
27718 ac_status=$?
27719 grep -v '^ *+' conftest.er1 >conftest.err
27720 rm -f conftest.er1
27721 cat conftest.err >&5
27722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27723 (exit $ac_status); } &&
27724 { ac_try='test -z "$ac_c_werror_flag"
27725 || test ! -s conftest.err'
27726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27727 (eval $ac_try) 2>&5
27728 ac_status=$?
27729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27730 (exit $ac_status); }; } &&
27731 { ac_try='test -s conftest$ac_exeext'
27732 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27733 (eval $ac_try) 2>&5
27734 ac_status=$?
27735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27736 (exit $ac_status); }; }; then
27737 glibcxx_cv_func___builtin_cosl_link=yes
27738 else
27739 echo "$as_me: failed program was:" >&5
27740 sed 's/^/| /' conftest.$ac_ext >&5
27741
27742 glibcxx_cv_func___builtin_cosl_link=no
27743 fi
27744 rm -f conftest.err conftest.$ac_objext \
27745 conftest$ac_exeext conftest.$ac_ext
27746
27747 fi
27748
27749 fi
27750 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_link" >&5
27751 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_link" >&6
27752
27753 if test x$glibcxx_cv_func___builtin_cosl_link = x"yes"; then
27754
27755 cat >>confdefs.h <<\_ACEOF
27756 #define HAVE___BUILTIN_COSL 1
27757 _ACEOF
27758
27759 fi
27760
27761 fi
27762
27763
27764
27765
27766 echo "$as_me:$LINENO: checking for main in -lm" >&5
27767 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
27768 if test "${ac_cv_lib_m_main+set}" = set; then
27769 echo $ECHO_N "(cached) $ECHO_C" >&6
27770 else
27771 ac_check_lib_save_LIBS=$LIBS
27772 LIBS="-lm $LIBS"
27773 if test x$gcc_no_link = xyes; then
27774 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27775 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27776 { (exit 1); exit 1; }; }
27777 fi
27778 cat >conftest.$ac_ext <<_ACEOF
27779 /* confdefs.h. */
27780 _ACEOF
27781 cat confdefs.h >>conftest.$ac_ext
27782 cat >>conftest.$ac_ext <<_ACEOF
27783 /* end confdefs.h. */
27784
27785
27786 int
27787 main ()
27788 {
27789 main ();
27790 ;
27791 return 0;
27792 }
27793 _ACEOF
27794 rm -f conftest.$ac_objext conftest$ac_exeext
27795 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27796 (eval $ac_link) 2>conftest.er1
27797 ac_status=$?
27798 grep -v '^ *+' conftest.er1 >conftest.err
27799 rm -f conftest.er1
27800 cat conftest.err >&5
27801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27802 (exit $ac_status); } &&
27803 { ac_try='test -z "$ac_c_werror_flag"
27804 || test ! -s conftest.err'
27805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27806 (eval $ac_try) 2>&5
27807 ac_status=$?
27808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27809 (exit $ac_status); }; } &&
27810 { ac_try='test -s conftest$ac_exeext'
27811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27812 (eval $ac_try) 2>&5
27813 ac_status=$?
27814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27815 (exit $ac_status); }; }; then
27816 ac_cv_lib_m_main=yes
27817 else
27818 echo "$as_me: failed program was:" >&5
27819 sed 's/^/| /' conftest.$ac_ext >&5
27820
27821 ac_cv_lib_m_main=no
27822 fi
27823 rm -f conftest.err conftest.$ac_objext \
27824 conftest$ac_exeext conftest.$ac_ext
27825 LIBS=$ac_check_lib_save_LIBS
27826 fi
27827 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
27828 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
27829 if test $ac_cv_lib_m_main = yes; then
27830 cat >>confdefs.h <<_ACEOF
27831 #define HAVE_LIBM 1
27832 _ACEOF
27833
27834 LIBS="-lm $LIBS"
27835
27836 fi
27837
27838
27839 for ac_func in copysignf
27840 do
27841 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27842 echo "$as_me:$LINENO: checking for $ac_func" >&5
27843 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27844 if eval "test \"\${$as_ac_var+set}\" = set"; then
27845 echo $ECHO_N "(cached) $ECHO_C" >&6
27846 else
27847 if test x$gcc_no_link = xyes; then
27848 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27849 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27850 { (exit 1); exit 1; }; }
27851 fi
27852 cat >conftest.$ac_ext <<_ACEOF
27853 /* confdefs.h. */
27854 _ACEOF
27855 cat confdefs.h >>conftest.$ac_ext
27856 cat >>conftest.$ac_ext <<_ACEOF
27857 /* end confdefs.h. */
27858 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27859 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27860 #define $ac_func innocuous_$ac_func
27861
27862 /* System header to define __stub macros and hopefully few prototypes,
27863 which can conflict with char $ac_func (); below.
27864 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27865 <limits.h> exists even on freestanding compilers. */
27866
27867 #ifdef __STDC__
27868 # include <limits.h>
27869 #else
27870 # include <assert.h>
27871 #endif
27872
27873 #undef $ac_func
27874
27875 /* Override any gcc2 internal prototype to avoid an error. */
27876 #ifdef __cplusplus
27877 extern "C"
27878 {
27879 #endif
27880 /* We use char because int might match the return type of a gcc2
27881 builtin and then its argument prototype would still apply. */
27882 char $ac_func ();
27883 /* The GNU C library defines this for functions which it implements
27884 to always fail with ENOSYS. Some functions are actually named
27885 something starting with __ and the normal name is an alias. */
27886 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27887 choke me
27888 #else
27889 char (*f) () = $ac_func;
27890 #endif
27891 #ifdef __cplusplus
27892 }
27893 #endif
27894
27895 int
27896 main ()
27897 {
27898 return f != $ac_func;
27899 ;
27900 return 0;
27901 }
27902 _ACEOF
27903 rm -f conftest.$ac_objext conftest$ac_exeext
27904 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27905 (eval $ac_link) 2>conftest.er1
27906 ac_status=$?
27907 grep -v '^ *+' conftest.er1 >conftest.err
27908 rm -f conftest.er1
27909 cat conftest.err >&5
27910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27911 (exit $ac_status); } &&
27912 { ac_try='test -z "$ac_c_werror_flag"
27913 || test ! -s conftest.err'
27914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27915 (eval $ac_try) 2>&5
27916 ac_status=$?
27917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27918 (exit $ac_status); }; } &&
27919 { ac_try='test -s conftest$ac_exeext'
27920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27921 (eval $ac_try) 2>&5
27922 ac_status=$?
27923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27924 (exit $ac_status); }; }; then
27925 eval "$as_ac_var=yes"
27926 else
27927 echo "$as_me: failed program was:" >&5
27928 sed 's/^/| /' conftest.$ac_ext >&5
27929
27930 eval "$as_ac_var=no"
27931 fi
27932 rm -f conftest.err conftest.$ac_objext \
27933 conftest$ac_exeext conftest.$ac_ext
27934 fi
27935 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27936 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27937 if test `eval echo '${'$as_ac_var'}'` = yes; then
27938 cat >>confdefs.h <<_ACEOF
27939 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27940 _ACEOF
27941
27942 else
27943 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
27944 fi
27945 done
27946
27947
27948
27949 for ac_func in __signbit
27950 do
27951 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27952 echo "$as_me:$LINENO: checking for $ac_func" >&5
27953 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27954 if eval "test \"\${$as_ac_var+set}\" = set"; then
27955 echo $ECHO_N "(cached) $ECHO_C" >&6
27956 else
27957 if test x$gcc_no_link = xyes; then
27958 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27959 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27960 { (exit 1); exit 1; }; }
27961 fi
27962 cat >conftest.$ac_ext <<_ACEOF
27963 /* confdefs.h. */
27964 _ACEOF
27965 cat confdefs.h >>conftest.$ac_ext
27966 cat >>conftest.$ac_ext <<_ACEOF
27967 /* end confdefs.h. */
27968 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27969 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27970 #define $ac_func innocuous_$ac_func
27971
27972 /* System header to define __stub macros and hopefully few prototypes,
27973 which can conflict with char $ac_func (); below.
27974 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27975 <limits.h> exists even on freestanding compilers. */
27976
27977 #ifdef __STDC__
27978 # include <limits.h>
27979 #else
27980 # include <assert.h>
27981 #endif
27982
27983 #undef $ac_func
27984
27985 /* Override any gcc2 internal prototype to avoid an error. */
27986 #ifdef __cplusplus
27987 extern "C"
27988 {
27989 #endif
27990 /* We use char because int might match the return type of a gcc2
27991 builtin and then its argument prototype would still apply. */
27992 char $ac_func ();
27993 /* The GNU C library defines this for functions which it implements
27994 to always fail with ENOSYS. Some functions are actually named
27995 something starting with __ and the normal name is an alias. */
27996 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27997 choke me
27998 #else
27999 char (*f) () = $ac_func;
28000 #endif
28001 #ifdef __cplusplus
28002 }
28003 #endif
28004
28005 int
28006 main ()
28007 {
28008 return f != $ac_func;
28009 ;
28010 return 0;
28011 }
28012 _ACEOF
28013 rm -f conftest.$ac_objext conftest$ac_exeext
28014 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28015 (eval $ac_link) 2>conftest.er1
28016 ac_status=$?
28017 grep -v '^ *+' conftest.er1 >conftest.err
28018 rm -f conftest.er1
28019 cat conftest.err >&5
28020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28021 (exit $ac_status); } &&
28022 { ac_try='test -z "$ac_c_werror_flag"
28023 || test ! -s conftest.err'
28024 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28025 (eval $ac_try) 2>&5
28026 ac_status=$?
28027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28028 (exit $ac_status); }; } &&
28029 { ac_try='test -s conftest$ac_exeext'
28030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28031 (eval $ac_try) 2>&5
28032 ac_status=$?
28033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28034 (exit $ac_status); }; }; then
28035 eval "$as_ac_var=yes"
28036 else
28037 echo "$as_me: failed program was:" >&5
28038 sed 's/^/| /' conftest.$ac_ext >&5
28039
28040 eval "$as_ac_var=no"
28041 fi
28042 rm -f conftest.err conftest.$ac_objext \
28043 conftest$ac_exeext conftest.$ac_ext
28044 fi
28045 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28046 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28047 if test `eval echo '${'$as_ac_var'}'` = yes; then
28048 cat >>confdefs.h <<_ACEOF
28049 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28050 _ACEOF
28051
28052 else
28053 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
28054 fi
28055 done
28056
28057
28058
28059 for ac_func in __signbitf
28060 do
28061 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28062 echo "$as_me:$LINENO: checking for $ac_func" >&5
28063 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28064 if eval "test \"\${$as_ac_var+set}\" = set"; then
28065 echo $ECHO_N "(cached) $ECHO_C" >&6
28066 else
28067 if test x$gcc_no_link = xyes; then
28068 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28069 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28070 { (exit 1); exit 1; }; }
28071 fi
28072 cat >conftest.$ac_ext <<_ACEOF
28073 /* confdefs.h. */
28074 _ACEOF
28075 cat confdefs.h >>conftest.$ac_ext
28076 cat >>conftest.$ac_ext <<_ACEOF
28077 /* end confdefs.h. */
28078 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28079 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28080 #define $ac_func innocuous_$ac_func
28081
28082 /* System header to define __stub macros and hopefully few prototypes,
28083 which can conflict with char $ac_func (); below.
28084 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28085 <limits.h> exists even on freestanding compilers. */
28086
28087 #ifdef __STDC__
28088 # include <limits.h>
28089 #else
28090 # include <assert.h>
28091 #endif
28092
28093 #undef $ac_func
28094
28095 /* Override any gcc2 internal prototype to avoid an error. */
28096 #ifdef __cplusplus
28097 extern "C"
28098 {
28099 #endif
28100 /* We use char because int might match the return type of a gcc2
28101 builtin and then its argument prototype would still apply. */
28102 char $ac_func ();
28103 /* The GNU C library defines this for functions which it implements
28104 to always fail with ENOSYS. Some functions are actually named
28105 something starting with __ and the normal name is an alias. */
28106 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28107 choke me
28108 #else
28109 char (*f) () = $ac_func;
28110 #endif
28111 #ifdef __cplusplus
28112 }
28113 #endif
28114
28115 int
28116 main ()
28117 {
28118 return f != $ac_func;
28119 ;
28120 return 0;
28121 }
28122 _ACEOF
28123 rm -f conftest.$ac_objext conftest$ac_exeext
28124 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28125 (eval $ac_link) 2>conftest.er1
28126 ac_status=$?
28127 grep -v '^ *+' conftest.er1 >conftest.err
28128 rm -f conftest.er1
28129 cat conftest.err >&5
28130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28131 (exit $ac_status); } &&
28132 { ac_try='test -z "$ac_c_werror_flag"
28133 || test ! -s conftest.err'
28134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28135 (eval $ac_try) 2>&5
28136 ac_status=$?
28137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28138 (exit $ac_status); }; } &&
28139 { ac_try='test -s conftest$ac_exeext'
28140 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28141 (eval $ac_try) 2>&5
28142 ac_status=$?
28143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28144 (exit $ac_status); }; }; then
28145 eval "$as_ac_var=yes"
28146 else
28147 echo "$as_me: failed program was:" >&5
28148 sed 's/^/| /' conftest.$ac_ext >&5
28149
28150 eval "$as_ac_var=no"
28151 fi
28152 rm -f conftest.err conftest.$ac_objext \
28153 conftest$ac_exeext conftest.$ac_ext
28154 fi
28155 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28156 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28157 if test `eval echo '${'$as_ac_var'}'` = yes; then
28158 cat >>confdefs.h <<_ACEOF
28159 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28160 _ACEOF
28161
28162 else
28163 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
28164 fi
28165 done
28166
28167
28168 if test x$ac_cv_func_copysignl = x"yes"; then
28169
28170 for ac_func in __signbitl
28171 do
28172 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28173 echo "$as_me:$LINENO: checking for $ac_func" >&5
28174 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28175 if eval "test \"\${$as_ac_var+set}\" = set"; then
28176 echo $ECHO_N "(cached) $ECHO_C" >&6
28177 else
28178 if test x$gcc_no_link = xyes; then
28179 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28180 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28181 { (exit 1); exit 1; }; }
28182 fi
28183 cat >conftest.$ac_ext <<_ACEOF
28184 /* confdefs.h. */
28185 _ACEOF
28186 cat confdefs.h >>conftest.$ac_ext
28187 cat >>conftest.$ac_ext <<_ACEOF
28188 /* end confdefs.h. */
28189 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28190 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28191 #define $ac_func innocuous_$ac_func
28192
28193 /* System header to define __stub macros and hopefully few prototypes,
28194 which can conflict with char $ac_func (); below.
28195 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28196 <limits.h> exists even on freestanding compilers. */
28197
28198 #ifdef __STDC__
28199 # include <limits.h>
28200 #else
28201 # include <assert.h>
28202 #endif
28203
28204 #undef $ac_func
28205
28206 /* Override any gcc2 internal prototype to avoid an error. */
28207 #ifdef __cplusplus
28208 extern "C"
28209 {
28210 #endif
28211 /* We use char because int might match the return type of a gcc2
28212 builtin and then its argument prototype would still apply. */
28213 char $ac_func ();
28214 /* The GNU C library defines this for functions which it implements
28215 to always fail with ENOSYS. Some functions are actually named
28216 something starting with __ and the normal name is an alias. */
28217 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28218 choke me
28219 #else
28220 char (*f) () = $ac_func;
28221 #endif
28222 #ifdef __cplusplus
28223 }
28224 #endif
28225
28226 int
28227 main ()
28228 {
28229 return f != $ac_func;
28230 ;
28231 return 0;
28232 }
28233 _ACEOF
28234 rm -f conftest.$ac_objext conftest$ac_exeext
28235 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28236 (eval $ac_link) 2>conftest.er1
28237 ac_status=$?
28238 grep -v '^ *+' conftest.er1 >conftest.err
28239 rm -f conftest.er1
28240 cat conftest.err >&5
28241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28242 (exit $ac_status); } &&
28243 { ac_try='test -z "$ac_c_werror_flag"
28244 || test ! -s conftest.err'
28245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28246 (eval $ac_try) 2>&5
28247 ac_status=$?
28248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28249 (exit $ac_status); }; } &&
28250 { ac_try='test -s conftest$ac_exeext'
28251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28252 (eval $ac_try) 2>&5
28253 ac_status=$?
28254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28255 (exit $ac_status); }; }; then
28256 eval "$as_ac_var=yes"
28257 else
28258 echo "$as_me: failed program was:" >&5
28259 sed 's/^/| /' conftest.$ac_ext >&5
28260
28261 eval "$as_ac_var=no"
28262 fi
28263 rm -f conftest.err conftest.$ac_objext \
28264 conftest$ac_exeext conftest.$ac_ext
28265 fi
28266 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28267 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28268 if test `eval echo '${'$as_ac_var'}'` = yes; then
28269 cat >>confdefs.h <<_ACEOF
28270 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28271 _ACEOF
28272
28273 else
28274 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
28275 fi
28276 done
28277
28278 fi
28279
28280 # Used in libmath/Makefile.am.
28281 if test -n "$LIBMATHOBJS"; then
28282 need_libmath=yes
28283 fi
28284
28285
28286
28287
28288 enable_iconv=no
28289 # Only continue checking if the ISO C99 headers exist and support is on.
28290 if test x"$enable_wchar_t" = xyes; then
28291
28292 # Use iconv for wchar_t to char conversions. As such, check for
28293 # X/Open Portability Guide, version 2 features (XPG2).
28294 if test "${ac_cv_header_iconv_h+set}" = set; then
28295 echo "$as_me:$LINENO: checking for iconv.h" >&5
28296 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
28297 if test "${ac_cv_header_iconv_h+set}" = set; then
28298 echo $ECHO_N "(cached) $ECHO_C" >&6
28299 fi
28300 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
28301 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
28302 else
28303 # Is the header compilable?
28304 echo "$as_me:$LINENO: checking iconv.h usability" >&5
28305 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
28306 cat >conftest.$ac_ext <<_ACEOF
28307 /* confdefs.h. */
28308 _ACEOF
28309 cat confdefs.h >>conftest.$ac_ext
28310 cat >>conftest.$ac_ext <<_ACEOF
28311 /* end confdefs.h. */
28312 $ac_includes_default
28313 #include <iconv.h>
28314 _ACEOF
28315 rm -f conftest.$ac_objext
28316 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28317 (eval $ac_compile) 2>conftest.er1
28318 ac_status=$?
28319 grep -v '^ *+' conftest.er1 >conftest.err
28320 rm -f conftest.er1
28321 cat conftest.err >&5
28322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28323 (exit $ac_status); } &&
28324 { ac_try='test -z "$ac_c_werror_flag"
28325 || test ! -s conftest.err'
28326 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28327 (eval $ac_try) 2>&5
28328 ac_status=$?
28329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28330 (exit $ac_status); }; } &&
28331 { ac_try='test -s conftest.$ac_objext'
28332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28333 (eval $ac_try) 2>&5
28334 ac_status=$?
28335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28336 (exit $ac_status); }; }; then
28337 ac_header_compiler=yes
28338 else
28339 echo "$as_me: failed program was:" >&5
28340 sed 's/^/| /' conftest.$ac_ext >&5
28341
28342 ac_header_compiler=no
28343 fi
28344 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28345 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28346 echo "${ECHO_T}$ac_header_compiler" >&6
28347
28348 # Is the header present?
28349 echo "$as_me:$LINENO: checking iconv.h presence" >&5
28350 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
28351 cat >conftest.$ac_ext <<_ACEOF
28352 /* confdefs.h. */
28353 _ACEOF
28354 cat confdefs.h >>conftest.$ac_ext
28355 cat >>conftest.$ac_ext <<_ACEOF
28356 /* end confdefs.h. */
28357 #include <iconv.h>
28358 _ACEOF
28359 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
28360 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
28361 ac_status=$?
28362 grep -v '^ *+' conftest.er1 >conftest.err
28363 rm -f conftest.er1
28364 cat conftest.err >&5
28365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28366 (exit $ac_status); } >/dev/null; then
28367 if test -s conftest.err; then
28368 ac_cpp_err=$ac_c_preproc_warn_flag
28369 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
28370 else
28371 ac_cpp_err=
28372 fi
28373 else
28374 ac_cpp_err=yes
28375 fi
28376 if test -z "$ac_cpp_err"; then
28377 ac_header_preproc=yes
28378 else
28379 echo "$as_me: failed program was:" >&5
28380 sed 's/^/| /' conftest.$ac_ext >&5
28381
28382 ac_header_preproc=no
28383 fi
28384 rm -f conftest.err conftest.$ac_ext
28385 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
28386 echo "${ECHO_T}$ac_header_preproc" >&6
28387
28388 # So? What about this header?
28389 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
28390 yes:no: )
28391 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
28392 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
28393 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
28394 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
28395 ac_header_preproc=yes
28396 ;;
28397 no:yes:* )
28398 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
28399 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
28400 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
28401 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
28402 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
28403 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
28404 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
28405 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
28406 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
28407 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
28408 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
28409 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
28410 (
28411 cat <<\_ASBOX
28412 ## ----------------------------------------- ##
28413 ## Report this to the package-unused lists. ##
28414 ## ----------------------------------------- ##
28415 _ASBOX
28416 ) |
28417 sed "s/^/$as_me: WARNING: /" >&2
28418 ;;
28419 esac
28420 echo "$as_me:$LINENO: checking for iconv.h" >&5
28421 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
28422 if test "${ac_cv_header_iconv_h+set}" = set; then
28423 echo $ECHO_N "(cached) $ECHO_C" >&6
28424 else
28425 ac_cv_header_iconv_h=$ac_header_preproc
28426 fi
28427 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
28428 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
28429
28430 fi
28431 if test $ac_cv_header_iconv_h = yes; then
28432 ac_has_iconv_h=yes
28433 else
28434 ac_has_iconv_h=no
28435 fi
28436
28437
28438 if test "${ac_cv_header_langinfo_h+set}" = set; then
28439 echo "$as_me:$LINENO: checking for langinfo.h" >&5
28440 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
28441 if test "${ac_cv_header_langinfo_h+set}" = set; then
28442 echo $ECHO_N "(cached) $ECHO_C" >&6
28443 fi
28444 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
28445 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
28446 else
28447 # Is the header compilable?
28448 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
28449 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
28450 cat >conftest.$ac_ext <<_ACEOF
28451 /* confdefs.h. */
28452 _ACEOF
28453 cat confdefs.h >>conftest.$ac_ext
28454 cat >>conftest.$ac_ext <<_ACEOF
28455 /* end confdefs.h. */
28456 $ac_includes_default
28457 #include <langinfo.h>
28458 _ACEOF
28459 rm -f conftest.$ac_objext
28460 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28461 (eval $ac_compile) 2>conftest.er1
28462 ac_status=$?
28463 grep -v '^ *+' conftest.er1 >conftest.err
28464 rm -f conftest.er1
28465 cat conftest.err >&5
28466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28467 (exit $ac_status); } &&
28468 { ac_try='test -z "$ac_c_werror_flag"
28469 || test ! -s conftest.err'
28470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28471 (eval $ac_try) 2>&5
28472 ac_status=$?
28473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28474 (exit $ac_status); }; } &&
28475 { ac_try='test -s conftest.$ac_objext'
28476 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28477 (eval $ac_try) 2>&5
28478 ac_status=$?
28479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28480 (exit $ac_status); }; }; then
28481 ac_header_compiler=yes
28482 else
28483 echo "$as_me: failed program was:" >&5
28484 sed 's/^/| /' conftest.$ac_ext >&5
28485
28486 ac_header_compiler=no
28487 fi
28488 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28489 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28490 echo "${ECHO_T}$ac_header_compiler" >&6
28491
28492 # Is the header present?
28493 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
28494 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
28495 cat >conftest.$ac_ext <<_ACEOF
28496 /* confdefs.h. */
28497 _ACEOF
28498 cat confdefs.h >>conftest.$ac_ext
28499 cat >>conftest.$ac_ext <<_ACEOF
28500 /* end confdefs.h. */
28501 #include <langinfo.h>
28502 _ACEOF
28503 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
28504 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
28505 ac_status=$?
28506 grep -v '^ *+' conftest.er1 >conftest.err
28507 rm -f conftest.er1
28508 cat conftest.err >&5
28509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28510 (exit $ac_status); } >/dev/null; then
28511 if test -s conftest.err; then
28512 ac_cpp_err=$ac_c_preproc_warn_flag
28513 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
28514 else
28515 ac_cpp_err=
28516 fi
28517 else
28518 ac_cpp_err=yes
28519 fi
28520 if test -z "$ac_cpp_err"; then
28521 ac_header_preproc=yes
28522 else
28523 echo "$as_me: failed program was:" >&5
28524 sed 's/^/| /' conftest.$ac_ext >&5
28525
28526 ac_header_preproc=no
28527 fi
28528 rm -f conftest.err conftest.$ac_ext
28529 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
28530 echo "${ECHO_T}$ac_header_preproc" >&6
28531
28532 # So? What about this header?
28533 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
28534 yes:no: )
28535 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
28536 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
28537 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
28538 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
28539 ac_header_preproc=yes
28540 ;;
28541 no:yes:* )
28542 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
28543 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
28544 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
28545 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
28546 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
28547 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
28548 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
28549 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
28550 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
28551 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
28552 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
28553 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
28554 (
28555 cat <<\_ASBOX
28556 ## ----------------------------------------- ##
28557 ## Report this to the package-unused lists. ##
28558 ## ----------------------------------------- ##
28559 _ASBOX
28560 ) |
28561 sed "s/^/$as_me: WARNING: /" >&2
28562 ;;
28563 esac
28564 echo "$as_me:$LINENO: checking for langinfo.h" >&5
28565 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
28566 if test "${ac_cv_header_langinfo_h+set}" = set; then
28567 echo $ECHO_N "(cached) $ECHO_C" >&6
28568 else
28569 ac_cv_header_langinfo_h=$ac_header_preproc
28570 fi
28571 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
28572 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
28573
28574 fi
28575 if test $ac_cv_header_langinfo_h = yes; then
28576 ac_has_langinfo_h=yes
28577 else
28578 ac_has_langinfo_h=no
28579 fi
28580
28581
28582
28583 # Check for existence of libiconv.a providing XPG2 wchar_t support.
28584 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
28585 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
28586 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
28587 echo $ECHO_N "(cached) $ECHO_C" >&6
28588 else
28589 ac_check_lib_save_LIBS=$LIBS
28590 LIBS="-liconv $LIBS"
28591 if test x$gcc_no_link = xyes; then
28592 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28593 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28594 { (exit 1); exit 1; }; }
28595 fi
28596 cat >conftest.$ac_ext <<_ACEOF
28597 /* confdefs.h. */
28598 _ACEOF
28599 cat confdefs.h >>conftest.$ac_ext
28600 cat >>conftest.$ac_ext <<_ACEOF
28601 /* end confdefs.h. */
28602
28603 /* Override any gcc2 internal prototype to avoid an error. */
28604 #ifdef __cplusplus
28605 extern "C"
28606 #endif
28607 /* We use char because int might match the return type of a gcc2
28608 builtin and then its argument prototype would still apply. */
28609 char iconv ();
28610 int
28611 main ()
28612 {
28613 iconv ();
28614 ;
28615 return 0;
28616 }
28617 _ACEOF
28618 rm -f conftest.$ac_objext conftest$ac_exeext
28619 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28620 (eval $ac_link) 2>conftest.er1
28621 ac_status=$?
28622 grep -v '^ *+' conftest.er1 >conftest.err
28623 rm -f conftest.er1
28624 cat conftest.err >&5
28625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28626 (exit $ac_status); } &&
28627 { ac_try='test -z "$ac_c_werror_flag"
28628 || test ! -s conftest.err'
28629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28630 (eval $ac_try) 2>&5
28631 ac_status=$?
28632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28633 (exit $ac_status); }; } &&
28634 { ac_try='test -s conftest$ac_exeext'
28635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28636 (eval $ac_try) 2>&5
28637 ac_status=$?
28638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28639 (exit $ac_status); }; }; then
28640 ac_cv_lib_iconv_iconv=yes
28641 else
28642 echo "$as_me: failed program was:" >&5
28643 sed 's/^/| /' conftest.$ac_ext >&5
28644
28645 ac_cv_lib_iconv_iconv=no
28646 fi
28647 rm -f conftest.err conftest.$ac_objext \
28648 conftest$ac_exeext conftest.$ac_ext
28649 LIBS=$ac_check_lib_save_LIBS
28650 fi
28651 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
28652 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
28653 if test $ac_cv_lib_iconv_iconv = yes; then
28654 LIBICONV="-liconv"
28655 fi
28656
28657 ac_save_LIBS="$LIBS"
28658 LIBS="$LIBS $LIBICONV"
28659
28660
28661
28662
28663
28664
28665 for ac_func in iconv_open iconv_close iconv nl_langinfo
28666 do
28667 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28668 echo "$as_me:$LINENO: checking for $ac_func" >&5
28669 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28670 if eval "test \"\${$as_ac_var+set}\" = set"; then
28671 echo $ECHO_N "(cached) $ECHO_C" >&6
28672 else
28673 if test x$gcc_no_link = xyes; then
28674 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28675 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28676 { (exit 1); exit 1; }; }
28677 fi
28678 cat >conftest.$ac_ext <<_ACEOF
28679 /* confdefs.h. */
28680 _ACEOF
28681 cat confdefs.h >>conftest.$ac_ext
28682 cat >>conftest.$ac_ext <<_ACEOF
28683 /* end confdefs.h. */
28684 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28685 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28686 #define $ac_func innocuous_$ac_func
28687
28688 /* System header to define __stub macros and hopefully few prototypes,
28689 which can conflict with char $ac_func (); below.
28690 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28691 <limits.h> exists even on freestanding compilers. */
28692
28693 #ifdef __STDC__
28694 # include <limits.h>
28695 #else
28696 # include <assert.h>
28697 #endif
28698
28699 #undef $ac_func
28700
28701 /* Override any gcc2 internal prototype to avoid an error. */
28702 #ifdef __cplusplus
28703 extern "C"
28704 {
28705 #endif
28706 /* We use char because int might match the return type of a gcc2
28707 builtin and then its argument prototype would still apply. */
28708 char $ac_func ();
28709 /* The GNU C library defines this for functions which it implements
28710 to always fail with ENOSYS. Some functions are actually named
28711 something starting with __ and the normal name is an alias. */
28712 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28713 choke me
28714 #else
28715 char (*f) () = $ac_func;
28716 #endif
28717 #ifdef __cplusplus
28718 }
28719 #endif
28720
28721 int
28722 main ()
28723 {
28724 return f != $ac_func;
28725 ;
28726 return 0;
28727 }
28728 _ACEOF
28729 rm -f conftest.$ac_objext conftest$ac_exeext
28730 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28731 (eval $ac_link) 2>conftest.er1
28732 ac_status=$?
28733 grep -v '^ *+' conftest.er1 >conftest.err
28734 rm -f conftest.er1
28735 cat conftest.err >&5
28736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28737 (exit $ac_status); } &&
28738 { ac_try='test -z "$ac_c_werror_flag"
28739 || test ! -s conftest.err'
28740 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28741 (eval $ac_try) 2>&5
28742 ac_status=$?
28743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28744 (exit $ac_status); }; } &&
28745 { ac_try='test -s conftest$ac_exeext'
28746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28747 (eval $ac_try) 2>&5
28748 ac_status=$?
28749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28750 (exit $ac_status); }; }; then
28751 eval "$as_ac_var=yes"
28752 else
28753 echo "$as_me: failed program was:" >&5
28754 sed 's/^/| /' conftest.$ac_ext >&5
28755
28756 eval "$as_ac_var=no"
28757 fi
28758 rm -f conftest.err conftest.$ac_objext \
28759 conftest$ac_exeext conftest.$ac_ext
28760 fi
28761 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28762 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28763 if test `eval echo '${'$as_ac_var'}'` = yes; then
28764 cat >>confdefs.h <<_ACEOF
28765 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28766 _ACEOF
28767 ac_XPG2funcs=yes
28768 else
28769 ac_XPG2funcs=no
28770 fi
28771 done
28772
28773
28774 LIBS="$ac_save_LIBS"
28775
28776 if test x"$ac_has_iconv_h" = xyes &&
28777 test x"$ac_has_langinfo_h" = xyes &&
28778 test x"$ac_XPG2funcs" = xyes;
28779 then
28780
28781 cat >>confdefs.h <<\_ACEOF
28782 #define _GLIBCXX_USE_ICONV 1
28783 _ACEOF
28784
28785 enable_iconv=yes
28786 fi
28787 fi
28788 echo "$as_me:$LINENO: checking for enabled iconv specializations" >&5
28789 echo $ECHO_N "checking for enabled iconv specializations... $ECHO_C" >&6
28790 echo "$as_me:$LINENO: result: $enable_iconv" >&5
28791 echo "${ECHO_T}$enable_iconv" >&6
28792
28793
28794 ac_test_CXXFLAGS="${CXXFLAGS+set}"
28795 ac_save_CXXFLAGS="$CXXFLAGS"
28796 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
28797
28798
28799 echo "$as_me:$LINENO: checking for strtold declaration" >&5
28800 echo $ECHO_N "checking for strtold declaration... $ECHO_C" >&6
28801 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
28802 if test "${glibcxx_cv_func_strtold_use+set}" = set; then
28803 echo $ECHO_N "(cached) $ECHO_C" >&6
28804 else
28805
28806
28807
28808 ac_ext=cc
28809 ac_cpp='$CXXCPP $CPPFLAGS'
28810 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28811 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28812 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28813
28814 cat >conftest.$ac_ext <<_ACEOF
28815 /* confdefs.h. */
28816 _ACEOF
28817 cat confdefs.h >>conftest.$ac_ext
28818 cat >>conftest.$ac_ext <<_ACEOF
28819 /* end confdefs.h. */
28820 #include <stdlib.h>
28821 int
28822 main ()
28823 {
28824 strtold(0, 0);
28825 ;
28826 return 0;
28827 }
28828 _ACEOF
28829 rm -f conftest.$ac_objext
28830 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28831 (eval $ac_compile) 2>conftest.er1
28832 ac_status=$?
28833 grep -v '^ *+' conftest.er1 >conftest.err
28834 rm -f conftest.er1
28835 cat conftest.err >&5
28836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28837 (exit $ac_status); } &&
28838 { ac_try='test -z "$ac_cxx_werror_flag"
28839 || test ! -s conftest.err'
28840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28841 (eval $ac_try) 2>&5
28842 ac_status=$?
28843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28844 (exit $ac_status); }; } &&
28845 { ac_try='test -s conftest.$ac_objext'
28846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28847 (eval $ac_try) 2>&5
28848 ac_status=$?
28849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28850 (exit $ac_status); }; }; then
28851 glibcxx_cv_func_strtold_use=yes
28852 else
28853 echo "$as_me: failed program was:" >&5
28854 sed 's/^/| /' conftest.$ac_ext >&5
28855
28856 glibcxx_cv_func_strtold_use=no
28857 fi
28858 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28859 ac_ext=c
28860 ac_cpp='$CPP $CPPFLAGS'
28861 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28862 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28863 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28864
28865
28866 fi
28867
28868 fi
28869 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtold_use" >&5
28870 echo "${ECHO_T}$glibcxx_cv_func_strtold_use" >&6
28871 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
28872
28873 for ac_func in strtold
28874 do
28875 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28876 echo "$as_me:$LINENO: checking for $ac_func" >&5
28877 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28878 if eval "test \"\${$as_ac_var+set}\" = set"; then
28879 echo $ECHO_N "(cached) $ECHO_C" >&6
28880 else
28881 if test x$gcc_no_link = xyes; then
28882 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28883 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28884 { (exit 1); exit 1; }; }
28885 fi
28886 cat >conftest.$ac_ext <<_ACEOF
28887 /* confdefs.h. */
28888 _ACEOF
28889 cat confdefs.h >>conftest.$ac_ext
28890 cat >>conftest.$ac_ext <<_ACEOF
28891 /* end confdefs.h. */
28892 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28893 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28894 #define $ac_func innocuous_$ac_func
28895
28896 /* System header to define __stub macros and hopefully few prototypes,
28897 which can conflict with char $ac_func (); below.
28898 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28899 <limits.h> exists even on freestanding compilers. */
28900
28901 #ifdef __STDC__
28902 # include <limits.h>
28903 #else
28904 # include <assert.h>
28905 #endif
28906
28907 #undef $ac_func
28908
28909 /* Override any gcc2 internal prototype to avoid an error. */
28910 #ifdef __cplusplus
28911 extern "C"
28912 {
28913 #endif
28914 /* We use char because int might match the return type of a gcc2
28915 builtin and then its argument prototype would still apply. */
28916 char $ac_func ();
28917 /* The GNU C library defines this for functions which it implements
28918 to always fail with ENOSYS. Some functions are actually named
28919 something starting with __ and the normal name is an alias. */
28920 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28921 choke me
28922 #else
28923 char (*f) () = $ac_func;
28924 #endif
28925 #ifdef __cplusplus
28926 }
28927 #endif
28928
28929 int
28930 main ()
28931 {
28932 return f != $ac_func;
28933 ;
28934 return 0;
28935 }
28936 _ACEOF
28937 rm -f conftest.$ac_objext conftest$ac_exeext
28938 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28939 (eval $ac_link) 2>conftest.er1
28940 ac_status=$?
28941 grep -v '^ *+' conftest.er1 >conftest.err
28942 rm -f conftest.er1
28943 cat conftest.err >&5
28944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28945 (exit $ac_status); } &&
28946 { ac_try='test -z "$ac_c_werror_flag"
28947 || test ! -s conftest.err'
28948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28949 (eval $ac_try) 2>&5
28950 ac_status=$?
28951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28952 (exit $ac_status); }; } &&
28953 { ac_try='test -s conftest$ac_exeext'
28954 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28955 (eval $ac_try) 2>&5
28956 ac_status=$?
28957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28958 (exit $ac_status); }; }; then
28959 eval "$as_ac_var=yes"
28960 else
28961 echo "$as_me: failed program was:" >&5
28962 sed 's/^/| /' conftest.$ac_ext >&5
28963
28964 eval "$as_ac_var=no"
28965 fi
28966 rm -f conftest.err conftest.$ac_objext \
28967 conftest$ac_exeext conftest.$ac_ext
28968 fi
28969 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28970 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28971 if test `eval echo '${'$as_ac_var'}'` = yes; then
28972 cat >>confdefs.h <<_ACEOF
28973 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28974 _ACEOF
28975
28976 fi
28977 done
28978
28979 fi
28980
28981
28982
28983
28984
28985 echo "$as_me:$LINENO: checking for strtof declaration" >&5
28986 echo $ECHO_N "checking for strtof declaration... $ECHO_C" >&6
28987 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
28988 if test "${glibcxx_cv_func_strtof_use+set}" = set; then
28989 echo $ECHO_N "(cached) $ECHO_C" >&6
28990 else
28991
28992
28993
28994 ac_ext=cc
28995 ac_cpp='$CXXCPP $CPPFLAGS'
28996 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28997 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28998 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28999
29000 cat >conftest.$ac_ext <<_ACEOF
29001 /* confdefs.h. */
29002 _ACEOF
29003 cat confdefs.h >>conftest.$ac_ext
29004 cat >>conftest.$ac_ext <<_ACEOF
29005 /* end confdefs.h. */
29006 #include <stdlib.h>
29007 int
29008 main ()
29009 {
29010 strtof(0, 0);
29011 ;
29012 return 0;
29013 }
29014 _ACEOF
29015 rm -f conftest.$ac_objext
29016 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29017 (eval $ac_compile) 2>conftest.er1
29018 ac_status=$?
29019 grep -v '^ *+' conftest.er1 >conftest.err
29020 rm -f conftest.er1
29021 cat conftest.err >&5
29022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29023 (exit $ac_status); } &&
29024 { ac_try='test -z "$ac_cxx_werror_flag"
29025 || test ! -s conftest.err'
29026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29027 (eval $ac_try) 2>&5
29028 ac_status=$?
29029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29030 (exit $ac_status); }; } &&
29031 { ac_try='test -s conftest.$ac_objext'
29032 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29033 (eval $ac_try) 2>&5
29034 ac_status=$?
29035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29036 (exit $ac_status); }; }; then
29037 glibcxx_cv_func_strtof_use=yes
29038 else
29039 echo "$as_me: failed program was:" >&5
29040 sed 's/^/| /' conftest.$ac_ext >&5
29041
29042 glibcxx_cv_func_strtof_use=no
29043 fi
29044 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29045 ac_ext=c
29046 ac_cpp='$CPP $CPPFLAGS'
29047 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29048 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29049 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29050
29051
29052 fi
29053
29054 fi
29055 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtof_use" >&5
29056 echo "${ECHO_T}$glibcxx_cv_func_strtof_use" >&6
29057 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
29058
29059 for ac_func in strtof
29060 do
29061 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29062 echo "$as_me:$LINENO: checking for $ac_func" >&5
29063 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29064 if eval "test \"\${$as_ac_var+set}\" = set"; then
29065 echo $ECHO_N "(cached) $ECHO_C" >&6
29066 else
29067 if test x$gcc_no_link = xyes; then
29068 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29069 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29070 { (exit 1); exit 1; }; }
29071 fi
29072 cat >conftest.$ac_ext <<_ACEOF
29073 /* confdefs.h. */
29074 _ACEOF
29075 cat confdefs.h >>conftest.$ac_ext
29076 cat >>conftest.$ac_ext <<_ACEOF
29077 /* end confdefs.h. */
29078 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29079 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29080 #define $ac_func innocuous_$ac_func
29081
29082 /* System header to define __stub macros and hopefully few prototypes,
29083 which can conflict with char $ac_func (); below.
29084 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29085 <limits.h> exists even on freestanding compilers. */
29086
29087 #ifdef __STDC__
29088 # include <limits.h>
29089 #else
29090 # include <assert.h>
29091 #endif
29092
29093 #undef $ac_func
29094
29095 /* Override any gcc2 internal prototype to avoid an error. */
29096 #ifdef __cplusplus
29097 extern "C"
29098 {
29099 #endif
29100 /* We use char because int might match the return type of a gcc2
29101 builtin and then its argument prototype would still apply. */
29102 char $ac_func ();
29103 /* The GNU C library defines this for functions which it implements
29104 to always fail with ENOSYS. Some functions are actually named
29105 something starting with __ and the normal name is an alias. */
29106 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29107 choke me
29108 #else
29109 char (*f) () = $ac_func;
29110 #endif
29111 #ifdef __cplusplus
29112 }
29113 #endif
29114
29115 int
29116 main ()
29117 {
29118 return f != $ac_func;
29119 ;
29120 return 0;
29121 }
29122 _ACEOF
29123 rm -f conftest.$ac_objext conftest$ac_exeext
29124 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29125 (eval $ac_link) 2>conftest.er1
29126 ac_status=$?
29127 grep -v '^ *+' conftest.er1 >conftest.err
29128 rm -f conftest.er1
29129 cat conftest.err >&5
29130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29131 (exit $ac_status); } &&
29132 { ac_try='test -z "$ac_c_werror_flag"
29133 || test ! -s conftest.err'
29134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29135 (eval $ac_try) 2>&5
29136 ac_status=$?
29137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29138 (exit $ac_status); }; } &&
29139 { ac_try='test -s conftest$ac_exeext'
29140 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29141 (eval $ac_try) 2>&5
29142 ac_status=$?
29143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29144 (exit $ac_status); }; }; then
29145 eval "$as_ac_var=yes"
29146 else
29147 echo "$as_me: failed program was:" >&5
29148 sed 's/^/| /' conftest.$ac_ext >&5
29149
29150 eval "$as_ac_var=no"
29151 fi
29152 rm -f conftest.err conftest.$ac_objext \
29153 conftest$ac_exeext conftest.$ac_ext
29154 fi
29155 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29156 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29157 if test `eval echo '${'$as_ac_var'}'` = yes; then
29158 cat >>confdefs.h <<_ACEOF
29159 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29160 _ACEOF
29161
29162 fi
29163 done
29164
29165 fi
29166
29167
29168
29169
29170
29171 CXXFLAGS="$ac_save_CXXFLAGS"
29172
29173
29174 # For showmanyc_helper().
29175
29176
29177 for ac_header in sys/ioctl.h sys/filio.h
29178 do
29179 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
29180 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29181 echo "$as_me:$LINENO: checking for $ac_header" >&5
29182 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29183 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29184 echo $ECHO_N "(cached) $ECHO_C" >&6
29185 fi
29186 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29187 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29188 else
29189 # Is the header compilable?
29190 echo "$as_me:$LINENO: checking $ac_header usability" >&5
29191 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
29192 cat >conftest.$ac_ext <<_ACEOF
29193 /* confdefs.h. */
29194 _ACEOF
29195 cat confdefs.h >>conftest.$ac_ext
29196 cat >>conftest.$ac_ext <<_ACEOF
29197 /* end confdefs.h. */
29198 $ac_includes_default
29199 #include <$ac_header>
29200 _ACEOF
29201 rm -f conftest.$ac_objext
29202 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29203 (eval $ac_compile) 2>conftest.er1
29204 ac_status=$?
29205 grep -v '^ *+' conftest.er1 >conftest.err
29206 rm -f conftest.er1
29207 cat conftest.err >&5
29208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29209 (exit $ac_status); } &&
29210 { ac_try='test -z "$ac_c_werror_flag"
29211 || test ! -s conftest.err'
29212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29213 (eval $ac_try) 2>&5
29214 ac_status=$?
29215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29216 (exit $ac_status); }; } &&
29217 { ac_try='test -s conftest.$ac_objext'
29218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29219 (eval $ac_try) 2>&5
29220 ac_status=$?
29221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29222 (exit $ac_status); }; }; then
29223 ac_header_compiler=yes
29224 else
29225 echo "$as_me: failed program was:" >&5
29226 sed 's/^/| /' conftest.$ac_ext >&5
29227
29228 ac_header_compiler=no
29229 fi
29230 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29231 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
29232 echo "${ECHO_T}$ac_header_compiler" >&6
29233
29234 # Is the header present?
29235 echo "$as_me:$LINENO: checking $ac_header presence" >&5
29236 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
29237 cat >conftest.$ac_ext <<_ACEOF
29238 /* confdefs.h. */
29239 _ACEOF
29240 cat confdefs.h >>conftest.$ac_ext
29241 cat >>conftest.$ac_ext <<_ACEOF
29242 /* end confdefs.h. */
29243 #include <$ac_header>
29244 _ACEOF
29245 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
29246 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
29247 ac_status=$?
29248 grep -v '^ *+' conftest.er1 >conftest.err
29249 rm -f conftest.er1
29250 cat conftest.err >&5
29251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29252 (exit $ac_status); } >/dev/null; then
29253 if test -s conftest.err; then
29254 ac_cpp_err=$ac_c_preproc_warn_flag
29255 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
29256 else
29257 ac_cpp_err=
29258 fi
29259 else
29260 ac_cpp_err=yes
29261 fi
29262 if test -z "$ac_cpp_err"; then
29263 ac_header_preproc=yes
29264 else
29265 echo "$as_me: failed program was:" >&5
29266 sed 's/^/| /' conftest.$ac_ext >&5
29267
29268 ac_header_preproc=no
29269 fi
29270 rm -f conftest.err conftest.$ac_ext
29271 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
29272 echo "${ECHO_T}$ac_header_preproc" >&6
29273
29274 # So? What about this header?
29275 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
29276 yes:no: )
29277 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
29278 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
29279 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
29280 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
29281 ac_header_preproc=yes
29282 ;;
29283 no:yes:* )
29284 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
29285 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
29286 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
29287 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
29288 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
29289 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
29290 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
29291 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
29292 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
29293 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
29294 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
29295 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
29296 (
29297 cat <<\_ASBOX
29298 ## ----------------------------------------- ##
29299 ## Report this to the package-unused lists. ##
29300 ## ----------------------------------------- ##
29301 _ASBOX
29302 ) |
29303 sed "s/^/$as_me: WARNING: /" >&2
29304 ;;
29305 esac
29306 echo "$as_me:$LINENO: checking for $ac_header" >&5
29307 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29308 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29309 echo $ECHO_N "(cached) $ECHO_C" >&6
29310 else
29311 eval "$as_ac_Header=\$ac_header_preproc"
29312 fi
29313 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29314 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29315
29316 fi
29317 if test `eval echo '${'$as_ac_Header'}'` = yes; then
29318 cat >>confdefs.h <<_ACEOF
29319 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
29320 _ACEOF
29321
29322 fi
29323
29324 done
29325
29326
29327 echo "$as_me:$LINENO: checking for poll" >&5
29328 echo $ECHO_N "checking for poll... $ECHO_C" >&6
29329 if test "${glibcxx_cv_POLL+set}" = set; then
29330 echo $ECHO_N "(cached) $ECHO_C" >&6
29331 else
29332
29333 if test x$gcc_no_link = xyes; then
29334 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29335 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29336 { (exit 1); exit 1; }; }
29337 fi
29338 cat >conftest.$ac_ext <<_ACEOF
29339 /* confdefs.h. */
29340 _ACEOF
29341 cat confdefs.h >>conftest.$ac_ext
29342 cat >>conftest.$ac_ext <<_ACEOF
29343 /* end confdefs.h. */
29344 #include <poll.h>
29345 int
29346 main ()
29347 {
29348 struct pollfd pfd[1];
29349 pfd[0].events = POLLIN;
29350 poll(pfd, 1, 0);
29351 ;
29352 return 0;
29353 }
29354 _ACEOF
29355 rm -f conftest.$ac_objext conftest$ac_exeext
29356 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29357 (eval $ac_link) 2>conftest.er1
29358 ac_status=$?
29359 grep -v '^ *+' conftest.er1 >conftest.err
29360 rm -f conftest.er1
29361 cat conftest.err >&5
29362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29363 (exit $ac_status); } &&
29364 { ac_try='test -z "$ac_c_werror_flag"
29365 || test ! -s conftest.err'
29366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29367 (eval $ac_try) 2>&5
29368 ac_status=$?
29369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29370 (exit $ac_status); }; } &&
29371 { ac_try='test -s conftest$ac_exeext'
29372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29373 (eval $ac_try) 2>&5
29374 ac_status=$?
29375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29376 (exit $ac_status); }; }; then
29377 glibcxx_cv_POLL=yes
29378 else
29379 echo "$as_me: failed program was:" >&5
29380 sed 's/^/| /' conftest.$ac_ext >&5
29381
29382 glibcxx_cv_POLL=no
29383 fi
29384 rm -f conftest.err conftest.$ac_objext \
29385 conftest$ac_exeext conftest.$ac_ext
29386
29387 fi
29388
29389 if test $glibcxx_cv_POLL = yes; then
29390
29391 cat >>confdefs.h <<\_ACEOF
29392 #define HAVE_POLL 1
29393 _ACEOF
29394
29395 fi
29396 echo "$as_me:$LINENO: result: $glibcxx_cv_POLL" >&5
29397 echo "${ECHO_T}$glibcxx_cv_POLL" >&6
29398
29399
29400 echo "$as_me:$LINENO: checking for S_ISREG or S_IFREG" >&5
29401 echo $ECHO_N "checking for S_ISREG or S_IFREG... $ECHO_C" >&6
29402 if test "${glibcxx_cv_S_ISREG+set}" = set; then
29403 echo $ECHO_N "(cached) $ECHO_C" >&6
29404 else
29405
29406 if test x$gcc_no_link = xyes; then
29407 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29408 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29409 { (exit 1); exit 1; }; }
29410 fi
29411 cat >conftest.$ac_ext <<_ACEOF
29412 /* confdefs.h. */
29413 _ACEOF
29414 cat confdefs.h >>conftest.$ac_ext
29415 cat >>conftest.$ac_ext <<_ACEOF
29416 /* end confdefs.h. */
29417 #include <sys/stat.h>
29418 int
29419 main ()
29420 {
29421 struct stat buffer;
29422 fstat(0, &buffer);
29423 S_ISREG(buffer.st_mode);
29424 ;
29425 return 0;
29426 }
29427 _ACEOF
29428 rm -f conftest.$ac_objext conftest$ac_exeext
29429 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29430 (eval $ac_link) 2>conftest.er1
29431 ac_status=$?
29432 grep -v '^ *+' conftest.er1 >conftest.err
29433 rm -f conftest.er1
29434 cat conftest.err >&5
29435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29436 (exit $ac_status); } &&
29437 { ac_try='test -z "$ac_c_werror_flag"
29438 || test ! -s conftest.err'
29439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29440 (eval $ac_try) 2>&5
29441 ac_status=$?
29442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29443 (exit $ac_status); }; } &&
29444 { ac_try='test -s conftest$ac_exeext'
29445 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29446 (eval $ac_try) 2>&5
29447 ac_status=$?
29448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29449 (exit $ac_status); }; }; then
29450 glibcxx_cv_S_ISREG=yes
29451 else
29452 echo "$as_me: failed program was:" >&5
29453 sed 's/^/| /' conftest.$ac_ext >&5
29454
29455 glibcxx_cv_S_ISREG=no
29456 fi
29457 rm -f conftest.err conftest.$ac_objext \
29458 conftest$ac_exeext conftest.$ac_ext
29459
29460 fi
29461
29462 if test "${glibcxx_cv_S_IFREG+set}" = set; then
29463 echo $ECHO_N "(cached) $ECHO_C" >&6
29464 else
29465
29466 if test x$gcc_no_link = xyes; then
29467 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29468 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29469 { (exit 1); exit 1; }; }
29470 fi
29471 cat >conftest.$ac_ext <<_ACEOF
29472 /* confdefs.h. */
29473 _ACEOF
29474 cat confdefs.h >>conftest.$ac_ext
29475 cat >>conftest.$ac_ext <<_ACEOF
29476 /* end confdefs.h. */
29477 #include <sys/stat.h>
29478 int
29479 main ()
29480 {
29481 struct stat buffer;
29482 fstat(0, &buffer);
29483 S_IFREG & buffer.st_mode;
29484 ;
29485 return 0;
29486 }
29487 _ACEOF
29488 rm -f conftest.$ac_objext conftest$ac_exeext
29489 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29490 (eval $ac_link) 2>conftest.er1
29491 ac_status=$?
29492 grep -v '^ *+' conftest.er1 >conftest.err
29493 rm -f conftest.er1
29494 cat conftest.err >&5
29495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29496 (exit $ac_status); } &&
29497 { ac_try='test -z "$ac_c_werror_flag"
29498 || test ! -s conftest.err'
29499 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29500 (eval $ac_try) 2>&5
29501 ac_status=$?
29502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29503 (exit $ac_status); }; } &&
29504 { ac_try='test -s conftest$ac_exeext'
29505 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29506 (eval $ac_try) 2>&5
29507 ac_status=$?
29508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29509 (exit $ac_status); }; }; then
29510 glibcxx_cv_S_IFREG=yes
29511 else
29512 echo "$as_me: failed program was:" >&5
29513 sed 's/^/| /' conftest.$ac_ext >&5
29514
29515 glibcxx_cv_S_IFREG=no
29516 fi
29517 rm -f conftest.err conftest.$ac_objext \
29518 conftest$ac_exeext conftest.$ac_ext
29519
29520 fi
29521
29522 res=no
29523 if test $glibcxx_cv_S_ISREG = yes; then
29524
29525 cat >>confdefs.h <<\_ACEOF
29526 #define HAVE_S_ISREG 1
29527 _ACEOF
29528
29529 res=S_ISREG
29530 elif test $glibcxx_cv_S_IFREG = yes; then
29531
29532 cat >>confdefs.h <<\_ACEOF
29533 #define HAVE_S_IFREG 1
29534 _ACEOF
29535
29536 res=S_IFREG
29537 fi
29538 echo "$as_me:$LINENO: result: $res" >&5
29539 echo "${ECHO_T}$res" >&6
29540
29541
29542 # For xsputn_2().
29543
29544 for ac_header in sys/uio.h
29545 do
29546 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
29547 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29548 echo "$as_me:$LINENO: checking for $ac_header" >&5
29549 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29550 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29551 echo $ECHO_N "(cached) $ECHO_C" >&6
29552 fi
29553 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29554 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29555 else
29556 # Is the header compilable?
29557 echo "$as_me:$LINENO: checking $ac_header usability" >&5
29558 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
29559 cat >conftest.$ac_ext <<_ACEOF
29560 /* confdefs.h. */
29561 _ACEOF
29562 cat confdefs.h >>conftest.$ac_ext
29563 cat >>conftest.$ac_ext <<_ACEOF
29564 /* end confdefs.h. */
29565 $ac_includes_default
29566 #include <$ac_header>
29567 _ACEOF
29568 rm -f conftest.$ac_objext
29569 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29570 (eval $ac_compile) 2>conftest.er1
29571 ac_status=$?
29572 grep -v '^ *+' conftest.er1 >conftest.err
29573 rm -f conftest.er1
29574 cat conftest.err >&5
29575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29576 (exit $ac_status); } &&
29577 { ac_try='test -z "$ac_c_werror_flag"
29578 || test ! -s conftest.err'
29579 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29580 (eval $ac_try) 2>&5
29581 ac_status=$?
29582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29583 (exit $ac_status); }; } &&
29584 { ac_try='test -s conftest.$ac_objext'
29585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29586 (eval $ac_try) 2>&5
29587 ac_status=$?
29588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29589 (exit $ac_status); }; }; then
29590 ac_header_compiler=yes
29591 else
29592 echo "$as_me: failed program was:" >&5
29593 sed 's/^/| /' conftest.$ac_ext >&5
29594
29595 ac_header_compiler=no
29596 fi
29597 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29598 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
29599 echo "${ECHO_T}$ac_header_compiler" >&6
29600
29601 # Is the header present?
29602 echo "$as_me:$LINENO: checking $ac_header presence" >&5
29603 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
29604 cat >conftest.$ac_ext <<_ACEOF
29605 /* confdefs.h. */
29606 _ACEOF
29607 cat confdefs.h >>conftest.$ac_ext
29608 cat >>conftest.$ac_ext <<_ACEOF
29609 /* end confdefs.h. */
29610 #include <$ac_header>
29611 _ACEOF
29612 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
29613 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
29614 ac_status=$?
29615 grep -v '^ *+' conftest.er1 >conftest.err
29616 rm -f conftest.er1
29617 cat conftest.err >&5
29618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29619 (exit $ac_status); } >/dev/null; then
29620 if test -s conftest.err; then
29621 ac_cpp_err=$ac_c_preproc_warn_flag
29622 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
29623 else
29624 ac_cpp_err=
29625 fi
29626 else
29627 ac_cpp_err=yes
29628 fi
29629 if test -z "$ac_cpp_err"; then
29630 ac_header_preproc=yes
29631 else
29632 echo "$as_me: failed program was:" >&5
29633 sed 's/^/| /' conftest.$ac_ext >&5
29634
29635 ac_header_preproc=no
29636 fi
29637 rm -f conftest.err conftest.$ac_ext
29638 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
29639 echo "${ECHO_T}$ac_header_preproc" >&6
29640
29641 # So? What about this header?
29642 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
29643 yes:no: )
29644 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
29645 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
29646 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
29647 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
29648 ac_header_preproc=yes
29649 ;;
29650 no:yes:* )
29651 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
29652 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
29653 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
29654 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
29655 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
29656 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
29657 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
29658 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
29659 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
29660 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
29661 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
29662 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
29663 (
29664 cat <<\_ASBOX
29665 ## ----------------------------------------- ##
29666 ## Report this to the package-unused lists. ##
29667 ## ----------------------------------------- ##
29668 _ASBOX
29669 ) |
29670 sed "s/^/$as_me: WARNING: /" >&2
29671 ;;
29672 esac
29673 echo "$as_me:$LINENO: checking for $ac_header" >&5
29674 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29675 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29676 echo $ECHO_N "(cached) $ECHO_C" >&6
29677 else
29678 eval "$as_ac_Header=\$ac_header_preproc"
29679 fi
29680 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29681 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29682
29683 fi
29684 if test `eval echo '${'$as_ac_Header'}'` = yes; then
29685 cat >>confdefs.h <<_ACEOF
29686 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
29687 _ACEOF
29688
29689 fi
29690
29691 done
29692
29693
29694 echo "$as_me:$LINENO: checking for writev" >&5
29695 echo $ECHO_N "checking for writev... $ECHO_C" >&6
29696 if test "${glibcxx_cv_WRITEV+set}" = set; then
29697 echo $ECHO_N "(cached) $ECHO_C" >&6
29698 else
29699
29700 if test x$gcc_no_link = xyes; then
29701 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29702 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29703 { (exit 1); exit 1; }; }
29704 fi
29705 cat >conftest.$ac_ext <<_ACEOF
29706 /* confdefs.h. */
29707 _ACEOF
29708 cat confdefs.h >>conftest.$ac_ext
29709 cat >>conftest.$ac_ext <<_ACEOF
29710 /* end confdefs.h. */
29711 #include <sys/uio.h>
29712 int
29713 main ()
29714 {
29715 struct iovec iov[2];
29716 writev(0, iov, 0);
29717 ;
29718 return 0;
29719 }
29720 _ACEOF
29721 rm -f conftest.$ac_objext conftest$ac_exeext
29722 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29723 (eval $ac_link) 2>conftest.er1
29724 ac_status=$?
29725 grep -v '^ *+' conftest.er1 >conftest.err
29726 rm -f conftest.er1
29727 cat conftest.err >&5
29728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29729 (exit $ac_status); } &&
29730 { ac_try='test -z "$ac_c_werror_flag"
29731 || test ! -s conftest.err'
29732 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29733 (eval $ac_try) 2>&5
29734 ac_status=$?
29735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29736 (exit $ac_status); }; } &&
29737 { ac_try='test -s conftest$ac_exeext'
29738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29739 (eval $ac_try) 2>&5
29740 ac_status=$?
29741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29742 (exit $ac_status); }; }; then
29743 glibcxx_cv_WRITEV=yes
29744 else
29745 echo "$as_me: failed program was:" >&5
29746 sed 's/^/| /' conftest.$ac_ext >&5
29747
29748 glibcxx_cv_WRITEV=no
29749 fi
29750 rm -f conftest.err conftest.$ac_objext \
29751 conftest$ac_exeext conftest.$ac_ext
29752
29753 fi
29754
29755 if test $glibcxx_cv_WRITEV = yes; then
29756
29757 cat >>confdefs.h <<\_ACEOF
29758 #define HAVE_WRITEV 1
29759 _ACEOF
29760
29761 fi
29762 echo "$as_me:$LINENO: result: $glibcxx_cv_WRITEV" >&5
29763 echo "${ECHO_T}$glibcxx_cv_WRITEV" >&6
29764
29765
29766 # For the __streamoff_base_type typedef.
29767
29768 echo "$as_me:$LINENO: checking for int64_t" >&5
29769 echo $ECHO_N "checking for int64_t... $ECHO_C" >&6
29770 if test "${glibcxx_cv_INT64_T+set}" = set; then
29771 echo $ECHO_N "(cached) $ECHO_C" >&6
29772 else
29773
29774 cat >conftest.$ac_ext <<_ACEOF
29775 /* confdefs.h. */
29776 _ACEOF
29777 cat confdefs.h >>conftest.$ac_ext
29778 cat >>conftest.$ac_ext <<_ACEOF
29779 /* end confdefs.h. */
29780 #include <stdint.h>
29781 int
29782 main ()
29783 {
29784 int64_t var;
29785 ;
29786 return 0;
29787 }
29788 _ACEOF
29789 rm -f conftest.$ac_objext
29790 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29791 (eval $ac_compile) 2>conftest.er1
29792 ac_status=$?
29793 grep -v '^ *+' conftest.er1 >conftest.err
29794 rm -f conftest.er1
29795 cat conftest.err >&5
29796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29797 (exit $ac_status); } &&
29798 { ac_try='test -z "$ac_c_werror_flag"
29799 || test ! -s conftest.err'
29800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29801 (eval $ac_try) 2>&5
29802 ac_status=$?
29803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29804 (exit $ac_status); }; } &&
29805 { ac_try='test -s conftest.$ac_objext'
29806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29807 (eval $ac_try) 2>&5
29808 ac_status=$?
29809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29810 (exit $ac_status); }; }; then
29811 glibcxx_cv_INT64_T=yes
29812 else
29813 echo "$as_me: failed program was:" >&5
29814 sed 's/^/| /' conftest.$ac_ext >&5
29815
29816 glibcxx_cv_INT64_T=no
29817 fi
29818 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29819
29820 fi
29821
29822 if test $glibcxx_cv_INT64_T = yes; then
29823
29824 cat >>confdefs.h <<\_ACEOF
29825 #define HAVE_INT64_T 1
29826 _ACEOF
29827
29828 fi
29829 echo "$as_me:$LINENO: result: $glibcxx_cv_INT64_T" >&5
29830 echo "${ECHO_T}$glibcxx_cv_INT64_T" >&6
29831
29832
29833 # For LFS support.
29834
29835
29836
29837 ac_ext=cc
29838 ac_cpp='$CXXCPP $CPPFLAGS'
29839 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29840 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29841 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29842
29843 ac_save_CXXFLAGS="$CXXFLAGS"
29844 CXXFLAGS="$CXXFLAGS -fno-exceptions"
29845 echo "$as_me:$LINENO: checking for LFS support" >&5
29846 echo $ECHO_N "checking for LFS support... $ECHO_C" >&6
29847 if test "${glibcxx_cv_LFS+set}" = set; then
29848 echo $ECHO_N "(cached) $ECHO_C" >&6
29849 else
29850
29851 if test x$gcc_no_link = xyes; then
29852 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29853 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29854 { (exit 1); exit 1; }; }
29855 fi
29856 cat >conftest.$ac_ext <<_ACEOF
29857 /* confdefs.h. */
29858 _ACEOF
29859 cat confdefs.h >>conftest.$ac_ext
29860 cat >>conftest.$ac_ext <<_ACEOF
29861 /* end confdefs.h. */
29862 #include <unistd.h>
29863 #include <stdio.h>
29864 #include <sys/stat.h>
29865
29866 int
29867 main ()
29868 {
29869 FILE* fp;
29870 fopen64("t", "w");
29871 fseeko64(fp, 0, SEEK_CUR);
29872 ftello64(fp);
29873 lseek64(1, 0, SEEK_CUR);
29874 struct stat64 buf;
29875 fstat64(1, &buf);
29876 ;
29877 return 0;
29878 }
29879 _ACEOF
29880 rm -f conftest.$ac_objext conftest$ac_exeext
29881 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29882 (eval $ac_link) 2>conftest.er1
29883 ac_status=$?
29884 grep -v '^ *+' conftest.er1 >conftest.err
29885 rm -f conftest.er1
29886 cat conftest.err >&5
29887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29888 (exit $ac_status); } &&
29889 { ac_try='test -z "$ac_cxx_werror_flag"
29890 || test ! -s conftest.err'
29891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29892 (eval $ac_try) 2>&5
29893 ac_status=$?
29894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29895 (exit $ac_status); }; } &&
29896 { ac_try='test -s conftest$ac_exeext'
29897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29898 (eval $ac_try) 2>&5
29899 ac_status=$?
29900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29901 (exit $ac_status); }; }; then
29902 glibcxx_cv_LFS=yes
29903 else
29904 echo "$as_me: failed program was:" >&5
29905 sed 's/^/| /' conftest.$ac_ext >&5
29906
29907 glibcxx_cv_LFS=no
29908 fi
29909 rm -f conftest.err conftest.$ac_objext \
29910 conftest$ac_exeext conftest.$ac_ext
29911
29912 fi
29913
29914 if test $glibcxx_cv_LFS = yes; then
29915
29916 cat >>confdefs.h <<\_ACEOF
29917 #define _GLIBCXX_USE_LFS 1
29918 _ACEOF
29919
29920 fi
29921 echo "$as_me:$LINENO: result: $glibcxx_cv_LFS" >&5
29922 echo "${ECHO_T}$glibcxx_cv_LFS" >&6
29923 CXXFLAGS="$ac_save_CXXFLAGS"
29924 ac_ext=c
29925 ac_cpp='$CPP $CPPFLAGS'
29926 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29927 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29928 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29929
29930
29931
29932
29933 if test "${ac_cv_header_locale_h+set}" = set; then
29934 echo "$as_me:$LINENO: checking for locale.h" >&5
29935 echo $ECHO_N "checking for locale.h... $ECHO_C" >&6
29936 if test "${ac_cv_header_locale_h+set}" = set; then
29937 echo $ECHO_N "(cached) $ECHO_C" >&6
29938 fi
29939 echo "$as_me:$LINENO: result: $ac_cv_header_locale_h" >&5
29940 echo "${ECHO_T}$ac_cv_header_locale_h" >&6
29941 else
29942 # Is the header compilable?
29943 echo "$as_me:$LINENO: checking locale.h usability" >&5
29944 echo $ECHO_N "checking locale.h usability... $ECHO_C" >&6
29945 cat >conftest.$ac_ext <<_ACEOF
29946 /* confdefs.h. */
29947 _ACEOF
29948 cat confdefs.h >>conftest.$ac_ext
29949 cat >>conftest.$ac_ext <<_ACEOF
29950 /* end confdefs.h. */
29951 $ac_includes_default
29952 #include <locale.h>
29953 _ACEOF
29954 rm -f conftest.$ac_objext
29955 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29956 (eval $ac_compile) 2>conftest.er1
29957 ac_status=$?
29958 grep -v '^ *+' conftest.er1 >conftest.err
29959 rm -f conftest.er1
29960 cat conftest.err >&5
29961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29962 (exit $ac_status); } &&
29963 { ac_try='test -z "$ac_c_werror_flag"
29964 || test ! -s conftest.err'
29965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29966 (eval $ac_try) 2>&5
29967 ac_status=$?
29968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29969 (exit $ac_status); }; } &&
29970 { ac_try='test -s conftest.$ac_objext'
29971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29972 (eval $ac_try) 2>&5
29973 ac_status=$?
29974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29975 (exit $ac_status); }; }; then
29976 ac_header_compiler=yes
29977 else
29978 echo "$as_me: failed program was:" >&5
29979 sed 's/^/| /' conftest.$ac_ext >&5
29980
29981 ac_header_compiler=no
29982 fi
29983 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29984 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
29985 echo "${ECHO_T}$ac_header_compiler" >&6
29986
29987 # Is the header present?
29988 echo "$as_me:$LINENO: checking locale.h presence" >&5
29989 echo $ECHO_N "checking locale.h presence... $ECHO_C" >&6
29990 cat >conftest.$ac_ext <<_ACEOF
29991 /* confdefs.h. */
29992 _ACEOF
29993 cat confdefs.h >>conftest.$ac_ext
29994 cat >>conftest.$ac_ext <<_ACEOF
29995 /* end confdefs.h. */
29996 #include <locale.h>
29997 _ACEOF
29998 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
29999 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
30000 ac_status=$?
30001 grep -v '^ *+' conftest.er1 >conftest.err
30002 rm -f conftest.er1
30003 cat conftest.err >&5
30004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30005 (exit $ac_status); } >/dev/null; then
30006 if test -s conftest.err; then
30007 ac_cpp_err=$ac_c_preproc_warn_flag
30008 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
30009 else
30010 ac_cpp_err=
30011 fi
30012 else
30013 ac_cpp_err=yes
30014 fi
30015 if test -z "$ac_cpp_err"; then
30016 ac_header_preproc=yes
30017 else
30018 echo "$as_me: failed program was:" >&5
30019 sed 's/^/| /' conftest.$ac_ext >&5
30020
30021 ac_header_preproc=no
30022 fi
30023 rm -f conftest.err conftest.$ac_ext
30024 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
30025 echo "${ECHO_T}$ac_header_preproc" >&6
30026
30027 # So? What about this header?
30028 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
30029 yes:no: )
30030 { echo "$as_me:$LINENO: WARNING: locale.h: accepted by the compiler, rejected by the preprocessor!" >&5
30031 echo "$as_me: WARNING: locale.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
30032 { echo "$as_me:$LINENO: WARNING: locale.h: proceeding with the compiler's result" >&5
30033 echo "$as_me: WARNING: locale.h: proceeding with the compiler's result" >&2;}
30034 ac_header_preproc=yes
30035 ;;
30036 no:yes:* )
30037 { echo "$as_me:$LINENO: WARNING: locale.h: present but cannot be compiled" >&5
30038 echo "$as_me: WARNING: locale.h: present but cannot be compiled" >&2;}
30039 { echo "$as_me:$LINENO: WARNING: locale.h: check for missing prerequisite headers?" >&5
30040 echo "$as_me: WARNING: locale.h: check for missing prerequisite headers?" >&2;}
30041 { echo "$as_me:$LINENO: WARNING: locale.h: see the Autoconf documentation" >&5
30042 echo "$as_me: WARNING: locale.h: see the Autoconf documentation" >&2;}
30043 { echo "$as_me:$LINENO: WARNING: locale.h: section \"Present But Cannot Be Compiled\"" >&5
30044 echo "$as_me: WARNING: locale.h: section \"Present But Cannot Be Compiled\"" >&2;}
30045 { echo "$as_me:$LINENO: WARNING: locale.h: proceeding with the preprocessor's result" >&5
30046 echo "$as_me: WARNING: locale.h: proceeding with the preprocessor's result" >&2;}
30047 { echo "$as_me:$LINENO: WARNING: locale.h: in the future, the compiler will take precedence" >&5
30048 echo "$as_me: WARNING: locale.h: in the future, the compiler will take precedence" >&2;}
30049 (
30050 cat <<\_ASBOX
30051 ## ----------------------------------------- ##
30052 ## Report this to the package-unused lists. ##
30053 ## ----------------------------------------- ##
30054 _ASBOX
30055 ) |
30056 sed "s/^/$as_me: WARNING: /" >&2
30057 ;;
30058 esac
30059 echo "$as_me:$LINENO: checking for locale.h" >&5
30060 echo $ECHO_N "checking for locale.h... $ECHO_C" >&6
30061 if test "${ac_cv_header_locale_h+set}" = set; then
30062 echo $ECHO_N "(cached) $ECHO_C" >&6
30063 else
30064 ac_cv_header_locale_h=$ac_header_preproc
30065 fi
30066 echo "$as_me:$LINENO: result: $ac_cv_header_locale_h" >&5
30067 echo "${ECHO_T}$ac_cv_header_locale_h" >&6
30068
30069 fi
30070 if test $ac_cv_header_locale_h = yes; then
30071
30072 echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5
30073 echo $ECHO_N "checking for LC_MESSAGES... $ECHO_C" >&6
30074 if test "${ac_cv_val_LC_MESSAGES+set}" = set; then
30075 echo $ECHO_N "(cached) $ECHO_C" >&6
30076 else
30077 if test x$gcc_no_link = xyes; then
30078 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30079 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30080 { (exit 1); exit 1; }; }
30081 fi
30082 cat >conftest.$ac_ext <<_ACEOF
30083 /* confdefs.h. */
30084 _ACEOF
30085 cat confdefs.h >>conftest.$ac_ext
30086 cat >>conftest.$ac_ext <<_ACEOF
30087 /* end confdefs.h. */
30088 #include <locale.h>
30089 int
30090 main ()
30091 {
30092 return LC_MESSAGES
30093 ;
30094 return 0;
30095 }
30096 _ACEOF
30097 rm -f conftest.$ac_objext conftest$ac_exeext
30098 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30099 (eval $ac_link) 2>conftest.er1
30100 ac_status=$?
30101 grep -v '^ *+' conftest.er1 >conftest.err
30102 rm -f conftest.er1
30103 cat conftest.err >&5
30104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30105 (exit $ac_status); } &&
30106 { ac_try='test -z "$ac_c_werror_flag"
30107 || test ! -s conftest.err'
30108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30109 (eval $ac_try) 2>&5
30110 ac_status=$?
30111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30112 (exit $ac_status); }; } &&
30113 { ac_try='test -s conftest$ac_exeext'
30114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30115 (eval $ac_try) 2>&5
30116 ac_status=$?
30117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30118 (exit $ac_status); }; }; then
30119 ac_cv_val_LC_MESSAGES=yes
30120 else
30121 echo "$as_me: failed program was:" >&5
30122 sed 's/^/| /' conftest.$ac_ext >&5
30123
30124 ac_cv_val_LC_MESSAGES=no
30125 fi
30126 rm -f conftest.err conftest.$ac_objext \
30127 conftest$ac_exeext conftest.$ac_ext
30128 fi
30129 echo "$as_me:$LINENO: result: $ac_cv_val_LC_MESSAGES" >&5
30130 echo "${ECHO_T}$ac_cv_val_LC_MESSAGES" >&6
30131 if test $ac_cv_val_LC_MESSAGES = yes; then
30132
30133 cat >>confdefs.h <<\_ACEOF
30134 #define HAVE_LC_MESSAGES 1
30135 _ACEOF
30136
30137 fi
30138
30139 fi
30140
30141
30142
30143
30144 cat >conftest.$ac_ext <<_ACEOF
30145 /* confdefs.h. */
30146 _ACEOF
30147 cat confdefs.h >>conftest.$ac_ext
30148 cat >>conftest.$ac_ext <<_ACEOF
30149 /* end confdefs.h. */
30150 #include <setjmp.h>
30151 int
30152 main ()
30153 {
30154 sigjmp_buf env;
30155 while (! sigsetjmp (env, 1))
30156 siglongjmp (env, 1);
30157
30158 ;
30159 return 0;
30160 }
30161 _ACEOF
30162 rm -f conftest.$ac_objext
30163 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30164 (eval $ac_compile) 2>conftest.er1
30165 ac_status=$?
30166 grep -v '^ *+' conftest.er1 >conftest.err
30167 rm -f conftest.er1
30168 cat conftest.err >&5
30169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30170 (exit $ac_status); } &&
30171 { ac_try='test -z "$ac_c_werror_flag"
30172 || test ! -s conftest.err'
30173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30174 (eval $ac_try) 2>&5
30175 ac_status=$?
30176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30177 (exit $ac_status); }; } &&
30178 { ac_try='test -s conftest.$ac_objext'
30179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30180 (eval $ac_try) 2>&5
30181 ac_status=$?
30182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30183 (exit $ac_status); }; }; then
30184
30185 cat >>confdefs.h <<\_ACEOF
30186 #define HAVE_SIGSETJMP 1
30187 _ACEOF
30188
30189 else
30190 echo "$as_me: failed program was:" >&5
30191 sed 's/^/| /' conftest.$ac_ext >&5
30192
30193 fi
30194 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30195
30196 if test x$gcc_no_link = xyes; then
30197 if test "x${ac_cv_func_mmap_fixed_mapped+set}" != xset; then
30198 ac_cv_func_mmap_fixed_mapped=no
30199 fi
30200 fi
30201 if test "x${ac_cv_func_mmap_fixed_mapped}" != xno; then
30202
30203
30204 for ac_header in stdlib.h unistd.h
30205 do
30206 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
30207 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30208 echo "$as_me:$LINENO: checking for $ac_header" >&5
30209 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
30210 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30211 echo $ECHO_N "(cached) $ECHO_C" >&6
30212 fi
30213 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
30214 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
30215 else
30216 # Is the header compilable?
30217 echo "$as_me:$LINENO: checking $ac_header usability" >&5
30218 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
30219 cat >conftest.$ac_ext <<_ACEOF
30220 /* confdefs.h. */
30221 _ACEOF
30222 cat confdefs.h >>conftest.$ac_ext
30223 cat >>conftest.$ac_ext <<_ACEOF
30224 /* end confdefs.h. */
30225 $ac_includes_default
30226 #include <$ac_header>
30227 _ACEOF
30228 rm -f conftest.$ac_objext
30229 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30230 (eval $ac_compile) 2>conftest.er1
30231 ac_status=$?
30232 grep -v '^ *+' conftest.er1 >conftest.err
30233 rm -f conftest.er1
30234 cat conftest.err >&5
30235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30236 (exit $ac_status); } &&
30237 { ac_try='test -z "$ac_c_werror_flag"
30238 || test ! -s conftest.err'
30239 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30240 (eval $ac_try) 2>&5
30241 ac_status=$?
30242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30243 (exit $ac_status); }; } &&
30244 { ac_try='test -s conftest.$ac_objext'
30245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30246 (eval $ac_try) 2>&5
30247 ac_status=$?
30248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30249 (exit $ac_status); }; }; then
30250 ac_header_compiler=yes
30251 else
30252 echo "$as_me: failed program was:" >&5
30253 sed 's/^/| /' conftest.$ac_ext >&5
30254
30255 ac_header_compiler=no
30256 fi
30257 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30258 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
30259 echo "${ECHO_T}$ac_header_compiler" >&6
30260
30261 # Is the header present?
30262 echo "$as_me:$LINENO: checking $ac_header presence" >&5
30263 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
30264 cat >conftest.$ac_ext <<_ACEOF
30265 /* confdefs.h. */
30266 _ACEOF
30267 cat confdefs.h >>conftest.$ac_ext
30268 cat >>conftest.$ac_ext <<_ACEOF
30269 /* end confdefs.h. */
30270 #include <$ac_header>
30271 _ACEOF
30272 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
30273 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
30274 ac_status=$?
30275 grep -v '^ *+' conftest.er1 >conftest.err
30276 rm -f conftest.er1
30277 cat conftest.err >&5
30278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30279 (exit $ac_status); } >/dev/null; then
30280 if test -s conftest.err; then
30281 ac_cpp_err=$ac_c_preproc_warn_flag
30282 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
30283 else
30284 ac_cpp_err=
30285 fi
30286 else
30287 ac_cpp_err=yes
30288 fi
30289 if test -z "$ac_cpp_err"; then
30290 ac_header_preproc=yes
30291 else
30292 echo "$as_me: failed program was:" >&5
30293 sed 's/^/| /' conftest.$ac_ext >&5
30294
30295 ac_header_preproc=no
30296 fi
30297 rm -f conftest.err conftest.$ac_ext
30298 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
30299 echo "${ECHO_T}$ac_header_preproc" >&6
30300
30301 # So? What about this header?
30302 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
30303 yes:no: )
30304 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
30305 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
30306 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
30307 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
30308 ac_header_preproc=yes
30309 ;;
30310 no:yes:* )
30311 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
30312 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
30313 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
30314 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
30315 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
30316 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
30317 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
30318 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
30319 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
30320 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
30321 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
30322 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
30323 (
30324 cat <<\_ASBOX
30325 ## ----------------------------------------- ##
30326 ## Report this to the package-unused lists. ##
30327 ## ----------------------------------------- ##
30328 _ASBOX
30329 ) |
30330 sed "s/^/$as_me: WARNING: /" >&2
30331 ;;
30332 esac
30333 echo "$as_me:$LINENO: checking for $ac_header" >&5
30334 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
30335 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30336 echo $ECHO_N "(cached) $ECHO_C" >&6
30337 else
30338 eval "$as_ac_Header=\$ac_header_preproc"
30339 fi
30340 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
30341 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
30342
30343 fi
30344 if test `eval echo '${'$as_ac_Header'}'` = yes; then
30345 cat >>confdefs.h <<_ACEOF
30346 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
30347 _ACEOF
30348
30349 fi
30350
30351 done
30352
30353
30354 for ac_func in getpagesize
30355 do
30356 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30357 echo "$as_me:$LINENO: checking for $ac_func" >&5
30358 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30359 if eval "test \"\${$as_ac_var+set}\" = set"; then
30360 echo $ECHO_N "(cached) $ECHO_C" >&6
30361 else
30362 if test x$gcc_no_link = xyes; then
30363 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30364 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30365 { (exit 1); exit 1; }; }
30366 fi
30367 cat >conftest.$ac_ext <<_ACEOF
30368 /* confdefs.h. */
30369 _ACEOF
30370 cat confdefs.h >>conftest.$ac_ext
30371 cat >>conftest.$ac_ext <<_ACEOF
30372 /* end confdefs.h. */
30373 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30374 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30375 #define $ac_func innocuous_$ac_func
30376
30377 /* System header to define __stub macros and hopefully few prototypes,
30378 which can conflict with char $ac_func (); below.
30379 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30380 <limits.h> exists even on freestanding compilers. */
30381
30382 #ifdef __STDC__
30383 # include <limits.h>
30384 #else
30385 # include <assert.h>
30386 #endif
30387
30388 #undef $ac_func
30389
30390 /* Override any gcc2 internal prototype to avoid an error. */
30391 #ifdef __cplusplus
30392 extern "C"
30393 {
30394 #endif
30395 /* We use char because int might match the return type of a gcc2
30396 builtin and then its argument prototype would still apply. */
30397 char $ac_func ();
30398 /* The GNU C library defines this for functions which it implements
30399 to always fail with ENOSYS. Some functions are actually named
30400 something starting with __ and the normal name is an alias. */
30401 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30402 choke me
30403 #else
30404 char (*f) () = $ac_func;
30405 #endif
30406 #ifdef __cplusplus
30407 }
30408 #endif
30409
30410 int
30411 main ()
30412 {
30413 return f != $ac_func;
30414 ;
30415 return 0;
30416 }
30417 _ACEOF
30418 rm -f conftest.$ac_objext conftest$ac_exeext
30419 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30420 (eval $ac_link) 2>conftest.er1
30421 ac_status=$?
30422 grep -v '^ *+' conftest.er1 >conftest.err
30423 rm -f conftest.er1
30424 cat conftest.err >&5
30425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30426 (exit $ac_status); } &&
30427 { ac_try='test -z "$ac_c_werror_flag"
30428 || test ! -s conftest.err'
30429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30430 (eval $ac_try) 2>&5
30431 ac_status=$?
30432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30433 (exit $ac_status); }; } &&
30434 { ac_try='test -s conftest$ac_exeext'
30435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30436 (eval $ac_try) 2>&5
30437 ac_status=$?
30438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30439 (exit $ac_status); }; }; then
30440 eval "$as_ac_var=yes"
30441 else
30442 echo "$as_me: failed program was:" >&5
30443 sed 's/^/| /' conftest.$ac_ext >&5
30444
30445 eval "$as_ac_var=no"
30446 fi
30447 rm -f conftest.err conftest.$ac_objext \
30448 conftest$ac_exeext conftest.$ac_ext
30449 fi
30450 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30451 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30452 if test `eval echo '${'$as_ac_var'}'` = yes; then
30453 cat >>confdefs.h <<_ACEOF
30454 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30455 _ACEOF
30456
30457 fi
30458 done
30459
30460 echo "$as_me:$LINENO: checking for working mmap" >&5
30461 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
30462 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
30463 echo $ECHO_N "(cached) $ECHO_C" >&6
30464 else
30465 if test "$cross_compiling" = yes; then
30466 ac_cv_func_mmap_fixed_mapped=no
30467 else
30468 cat >conftest.$ac_ext <<_ACEOF
30469 /* confdefs.h. */
30470 _ACEOF
30471 cat confdefs.h >>conftest.$ac_ext
30472 cat >>conftest.$ac_ext <<_ACEOF
30473 /* end confdefs.h. */
30474 $ac_includes_default
30475 /* malloc might have been renamed as rpl_malloc. */
30476 #undef malloc
30477
30478 /* Thanks to Mike Haertel and Jim Avera for this test.
30479 Here is a matrix of mmap possibilities:
30480 mmap private not fixed
30481 mmap private fixed at somewhere currently unmapped
30482 mmap private fixed at somewhere already mapped
30483 mmap shared not fixed
30484 mmap shared fixed at somewhere currently unmapped
30485 mmap shared fixed at somewhere already mapped
30486 For private mappings, we should verify that changes cannot be read()
30487 back from the file, nor mmap's back from the file at a different
30488 address. (There have been systems where private was not correctly
30489 implemented like the infamous i386 svr4.0, and systems where the
30490 VM page cache was not coherent with the file system buffer cache
30491 like early versions of FreeBSD and possibly contemporary NetBSD.)
30492 For shared mappings, we should conversely verify that changes get
30493 propagated back to all the places they're supposed to be.
30494
30495 Grep wants private fixed already mapped.
30496 The main things grep needs to know about mmap are:
30497 * does it exist and is it safe to write into the mmap'd area
30498 * how to use it (BSD variants) */
30499
30500 #include <fcntl.h>
30501 #include <sys/mman.h>
30502
30503 #if !STDC_HEADERS && !HAVE_STDLIB_H
30504 char *malloc ();
30505 #endif
30506
30507 /* This mess was copied from the GNU getpagesize.h. */
30508 #if !HAVE_GETPAGESIZE
30509 /* Assume that all systems that can run configure have sys/param.h. */
30510 # if !HAVE_SYS_PARAM_H
30511 # define HAVE_SYS_PARAM_H 1
30512 # endif
30513
30514 # ifdef _SC_PAGESIZE
30515 # define getpagesize() sysconf(_SC_PAGESIZE)
30516 # else /* no _SC_PAGESIZE */
30517 # if HAVE_SYS_PARAM_H
30518 # include <sys/param.h>
30519 # ifdef EXEC_PAGESIZE
30520 # define getpagesize() EXEC_PAGESIZE
30521 # else /* no EXEC_PAGESIZE */
30522 # ifdef NBPG
30523 # define getpagesize() NBPG * CLSIZE
30524 # ifndef CLSIZE
30525 # define CLSIZE 1
30526 # endif /* no CLSIZE */
30527 # else /* no NBPG */
30528 # ifdef NBPC
30529 # define getpagesize() NBPC
30530 # else /* no NBPC */
30531 # ifdef PAGESIZE
30532 # define getpagesize() PAGESIZE
30533 # endif /* PAGESIZE */
30534 # endif /* no NBPC */
30535 # endif /* no NBPG */
30536 # endif /* no EXEC_PAGESIZE */
30537 # else /* no HAVE_SYS_PARAM_H */
30538 # define getpagesize() 8192 /* punt totally */
30539 # endif /* no HAVE_SYS_PARAM_H */
30540 # endif /* no _SC_PAGESIZE */
30541
30542 #endif /* no HAVE_GETPAGESIZE */
30543
30544 int
30545 main ()
30546 {
30547 char *data, *data2, *data3;
30548 int i, pagesize;
30549 int fd;
30550
30551 pagesize = getpagesize ();
30552
30553 /* First, make a file with some known garbage in it. */
30554 data = (char *) malloc (pagesize);
30555 if (!data)
30556 exit (1);
30557 for (i = 0; i < pagesize; ++i)
30558 *(data + i) = rand ();
30559 umask (0);
30560 fd = creat ("conftest.mmap", 0600);
30561 if (fd < 0)
30562 exit (1);
30563 if (write (fd, data, pagesize) != pagesize)
30564 exit (1);
30565 close (fd);
30566
30567 /* Next, try to mmap the file at a fixed address which already has
30568 something else allocated at it. If we can, also make sure that
30569 we see the same garbage. */
30570 fd = open ("conftest.mmap", O_RDWR);
30571 if (fd < 0)
30572 exit (1);
30573 data2 = (char *) malloc (2 * pagesize);
30574 if (!data2)
30575 exit (1);
30576 data2 += (pagesize - ((long) data2 & (pagesize - 1))) & (pagesize - 1);
30577 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
30578 MAP_PRIVATE | MAP_FIXED, fd, 0L))
30579 exit (1);
30580 for (i = 0; i < pagesize; ++i)
30581 if (*(data + i) != *(data2 + i))
30582 exit (1);
30583
30584 /* Finally, make sure that changes to the mapped area do not
30585 percolate back to the file as seen by read(). (This is a bug on
30586 some variants of i386 svr4.0.) */
30587 for (i = 0; i < pagesize; ++i)
30588 *(data2 + i) = *(data2 + i) + 1;
30589 data3 = (char *) malloc (pagesize);
30590 if (!data3)
30591 exit (1);
30592 if (read (fd, data3, pagesize) != pagesize)
30593 exit (1);
30594 for (i = 0; i < pagesize; ++i)
30595 if (*(data + i) != *(data3 + i))
30596 exit (1);
30597 close (fd);
30598 exit (0);
30599 }
30600 _ACEOF
30601 rm -f conftest$ac_exeext
30602 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30603 (eval $ac_link) 2>&5
30604 ac_status=$?
30605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30606 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
30607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30608 (eval $ac_try) 2>&5
30609 ac_status=$?
30610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30611 (exit $ac_status); }; }; then
30612 ac_cv_func_mmap_fixed_mapped=yes
30613 else
30614 echo "$as_me: program exited with status $ac_status" >&5
30615 echo "$as_me: failed program was:" >&5
30616 sed 's/^/| /' conftest.$ac_ext >&5
30617
30618 ( exit $ac_status )
30619 ac_cv_func_mmap_fixed_mapped=no
30620 fi
30621 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
30622 fi
30623 fi
30624 echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
30625 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
30626 if test $ac_cv_func_mmap_fixed_mapped = yes; then
30627
30628 cat >>confdefs.h <<\_ACEOF
30629 #define HAVE_MMAP 1
30630 _ACEOF
30631
30632 fi
30633 rm -f conftest.mmap
30634
30635 fi
30636
30637 else
30638
30639 # This lets us hard-code the functionality we know we'll have in the cross
30640 # target environment. "Let" is a sugar-coated word placed on an especially
30641 # dull and tedious hack, actually.
30642 #
30643 # Here's why GLIBCXX_CHECK_MATH_SUPPORT, and other autoconf macros
30644 # that involve linking, can't be used:
30645 # "cannot open sim-crt0.o"
30646 # "cannot open crt0.o"
30647 # etc. All this is because there currently exists no unified, consistent
30648 # way for top level CC information to be passed down to target directories:
30649 # newlib includes, newlib linking info, libgloss versus newlib crt0.o, etc.
30650 # When all of that is done, all of this hokey, excessive AC_DEFINE junk for
30651 # crosses can be removed.
30652
30653 # If Canadian cross, then don't pick up tools from the build directory.
30654 # Used only in GLIBCXX_EXPORT_INCLUDES.
30655 if test -n "$with_cross_host" &&
30656 test x"$build_alias" != x"$with_cross_host" &&
30657 test x"$build" != x"$target";
30658 then
30659 CANADIAN=yes
30660 else
30661 CANADIAN=no
30662 fi
30663
30664 # Construct crosses by hand, eliminating bits that need ld...
30665 # GLIBCXX_CHECK_COMPILER_FEATURES
30666 # GLIBCXX_CHECK_BUILTIN_MATH_SUPPORT
30667 # GLIBCXX_CHECK_MATH_SUPPORT
30668
30669 # First, test for "known" system libraries. We may be using newlib even
30670 # on a hosted environment.
30671 if test "x${with_newlib}" = "xyes"; then
30672 os_include_dir="os/newlib"
30673 cat >>confdefs.h <<\_ACEOF
30674 #define HAVE_HYPOT 1
30675 _ACEOF
30676
30677
30678 # GLIBCXX_CHECK_STDLIB_SUPPORT
30679 cat >>confdefs.h <<\_ACEOF
30680 #define HAVE_STRTOF 1
30681 _ACEOF
30682
30683 # AC_FUNC_MMAP
30684 cat >>confdefs.h <<\_ACEOF
30685 #define HAVE_MMAP 1
30686 _ACEOF
30687
30688
30689 cat >>confdefs.h <<\_ACEOF
30690 #define HAVE_ACOSF 1
30691 _ACEOF
30692
30693 cat >>confdefs.h <<\_ACEOF
30694 #define HAVE_ASINF 1
30695 _ACEOF
30696
30697 cat >>confdefs.h <<\_ACEOF
30698 #define HAVE_ATAN2F 1
30699 _ACEOF
30700
30701 cat >>confdefs.h <<\_ACEOF
30702 #define HAVE_ATANF 1
30703 _ACEOF
30704
30705 cat >>confdefs.h <<\_ACEOF
30706 #define HAVE_CEILF 1
30707 _ACEOF
30708
30709 cat >>confdefs.h <<\_ACEOF
30710 #define HAVE_COPYSIGN 1
30711 _ACEOF
30712
30713 cat >>confdefs.h <<\_ACEOF
30714 #define HAVE_COPYSIGNF 1
30715 _ACEOF
30716
30717 cat >>confdefs.h <<\_ACEOF
30718 #define HAVE_COSF 1
30719 _ACEOF
30720
30721 cat >>confdefs.h <<\_ACEOF
30722 #define HAVE_COSHF 1
30723 _ACEOF
30724
30725 cat >>confdefs.h <<\_ACEOF
30726 #define HAVE_EXPF 1
30727 _ACEOF
30728
30729 cat >>confdefs.h <<\_ACEOF
30730 #define HAVE_FABSF 1
30731 _ACEOF
30732
30733 cat >>confdefs.h <<\_ACEOF
30734 #define HAVE_FLOORF 1
30735 _ACEOF
30736
30737 cat >>confdefs.h <<\_ACEOF
30738 #define HAVE_FMODF 1
30739 _ACEOF
30740
30741 cat >>confdefs.h <<\_ACEOF
30742 #define HAVE_FREXPF 1
30743 _ACEOF
30744
30745 cat >>confdefs.h <<\_ACEOF
30746 #define HAVE_LDEXPF 1
30747 _ACEOF
30748
30749 cat >>confdefs.h <<\_ACEOF
30750 #define HAVE_LOG10F 1
30751 _ACEOF
30752
30753 cat >>confdefs.h <<\_ACEOF
30754 #define HAVE_LOGF 1
30755 _ACEOF
30756
30757 cat >>confdefs.h <<\_ACEOF
30758 #define HAVE_MODFF 1
30759 _ACEOF
30760
30761 cat >>confdefs.h <<\_ACEOF
30762 #define HAVE_POWF 1
30763 _ACEOF
30764
30765 cat >>confdefs.h <<\_ACEOF
30766 #define HAVE_SINF 1
30767 _ACEOF
30768
30769 cat >>confdefs.h <<\_ACEOF
30770 #define HAVE_SINHF 1
30771 _ACEOF
30772
30773 cat >>confdefs.h <<\_ACEOF
30774 #define HAVE_SQRTF 1
30775 _ACEOF
30776
30777 cat >>confdefs.h <<\_ACEOF
30778 #define HAVE_TANF 1
30779 _ACEOF
30780
30781 cat >>confdefs.h <<\_ACEOF
30782 #define HAVE_TANHF 1
30783 _ACEOF
30784
30785
30786 cat >>confdefs.h <<\_ACEOF
30787 #define HAVE_S_ISREG 1
30788 _ACEOF
30789
30790 cat >>confdefs.h <<\_ACEOF
30791 #define HAVE_S_IFREG 1
30792 _ACEOF
30793
30794 else
30795
30796 # Base decisions on target environment.
30797 case "${host}" in
30798 arm*-*-symbianelf*)
30799 # This is a freestanding configuration; there is nothing to do here.
30800 ;;
30801
30802 *-darwin*)
30803 # Darwin versions vary, but the linker should work in a cross environment,
30804 # so we just check for all the features here.
30805 # Check for available headers.
30806
30807
30808
30809
30810
30811
30812
30813
30814
30815
30816
30817
30818
30819 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h machine/endian.h \
30820 machine/param.h sys/machine.h fp.h locale.h float.h inttypes.h gconv.h \
30821 sys/types.h
30822 do
30823 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
30824 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30825 echo "$as_me:$LINENO: checking for $ac_header" >&5
30826 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
30827 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30828 echo $ECHO_N "(cached) $ECHO_C" >&6
30829 fi
30830 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
30831 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
30832 else
30833 # Is the header compilable?
30834 echo "$as_me:$LINENO: checking $ac_header usability" >&5
30835 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
30836 cat >conftest.$ac_ext <<_ACEOF
30837 /* confdefs.h. */
30838 _ACEOF
30839 cat confdefs.h >>conftest.$ac_ext
30840 cat >>conftest.$ac_ext <<_ACEOF
30841 /* end confdefs.h. */
30842 $ac_includes_default
30843 #include <$ac_header>
30844 _ACEOF
30845 rm -f conftest.$ac_objext
30846 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30847 (eval $ac_compile) 2>conftest.er1
30848 ac_status=$?
30849 grep -v '^ *+' conftest.er1 >conftest.err
30850 rm -f conftest.er1
30851 cat conftest.err >&5
30852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30853 (exit $ac_status); } &&
30854 { ac_try='test -z "$ac_c_werror_flag"
30855 || test ! -s conftest.err'
30856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30857 (eval $ac_try) 2>&5
30858 ac_status=$?
30859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30860 (exit $ac_status); }; } &&
30861 { ac_try='test -s conftest.$ac_objext'
30862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30863 (eval $ac_try) 2>&5
30864 ac_status=$?
30865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30866 (exit $ac_status); }; }; then
30867 ac_header_compiler=yes
30868 else
30869 echo "$as_me: failed program was:" >&5
30870 sed 's/^/| /' conftest.$ac_ext >&5
30871
30872 ac_header_compiler=no
30873 fi
30874 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30875 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
30876 echo "${ECHO_T}$ac_header_compiler" >&6
30877
30878 # Is the header present?
30879 echo "$as_me:$LINENO: checking $ac_header presence" >&5
30880 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
30881 cat >conftest.$ac_ext <<_ACEOF
30882 /* confdefs.h. */
30883 _ACEOF
30884 cat confdefs.h >>conftest.$ac_ext
30885 cat >>conftest.$ac_ext <<_ACEOF
30886 /* end confdefs.h. */
30887 #include <$ac_header>
30888 _ACEOF
30889 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
30890 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
30891 ac_status=$?
30892 grep -v '^ *+' conftest.er1 >conftest.err
30893 rm -f conftest.er1
30894 cat conftest.err >&5
30895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30896 (exit $ac_status); } >/dev/null; then
30897 if test -s conftest.err; then
30898 ac_cpp_err=$ac_c_preproc_warn_flag
30899 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
30900 else
30901 ac_cpp_err=
30902 fi
30903 else
30904 ac_cpp_err=yes
30905 fi
30906 if test -z "$ac_cpp_err"; then
30907 ac_header_preproc=yes
30908 else
30909 echo "$as_me: failed program was:" >&5
30910 sed 's/^/| /' conftest.$ac_ext >&5
30911
30912 ac_header_preproc=no
30913 fi
30914 rm -f conftest.err conftest.$ac_ext
30915 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
30916 echo "${ECHO_T}$ac_header_preproc" >&6
30917
30918 # So? What about this header?
30919 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
30920 yes:no: )
30921 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
30922 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
30923 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
30924 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
30925 ac_header_preproc=yes
30926 ;;
30927 no:yes:* )
30928 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
30929 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
30930 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
30931 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
30932 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
30933 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
30934 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
30935 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
30936 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
30937 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
30938 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
30939 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
30940 (
30941 cat <<\_ASBOX
30942 ## ----------------------------------------- ##
30943 ## Report this to the package-unused lists. ##
30944 ## ----------------------------------------- ##
30945 _ASBOX
30946 ) |
30947 sed "s/^/$as_me: WARNING: /" >&2
30948 ;;
30949 esac
30950 echo "$as_me:$LINENO: checking for $ac_header" >&5
30951 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
30952 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30953 echo $ECHO_N "(cached) $ECHO_C" >&6
30954 else
30955 eval "$as_ac_Header=\$ac_header_preproc"
30956 fi
30957 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
30958 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
30959
30960 fi
30961 if test `eval echo '${'$as_ac_Header'}'` = yes; then
30962 cat >>confdefs.h <<_ACEOF
30963 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
30964 _ACEOF
30965
30966 fi
30967
30968 done
30969
30970
30971
30972 # All these tests are for C++; save the language and the compiler flags.
30973 # The CXXFLAGS thing is suspicious, but based on similar bits previously
30974 # found in GLIBCXX_CONFIGURE.
30975
30976
30977 ac_ext=cc
30978 ac_cpp='$CXXCPP $CPPFLAGS'
30979 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30980 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30981 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30982
30983 ac_test_CXXFLAGS="${CXXFLAGS+set}"
30984 ac_save_CXXFLAGS="$CXXFLAGS"
30985
30986 # Check for maintainer-mode bits.
30987 if test x"$USE_MAINTAINER_MODE" = xno; then
30988 WERROR=''
30989 else
30990 WERROR='-Werror'
30991 fi
30992
30993 # Check for -ffunction-sections -fdata-sections
30994 echo "$as_me:$LINENO: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
30995 echo $ECHO_N "checking for g++ that supports -ffunction-sections -fdata-sections... $ECHO_C" >&6
30996 CXXFLAGS='-Werror -ffunction-sections -fdata-sections'
30997 cat >conftest.$ac_ext <<_ACEOF
30998 /* confdefs.h. */
30999 _ACEOF
31000 cat confdefs.h >>conftest.$ac_ext
31001 cat >>conftest.$ac_ext <<_ACEOF
31002 /* end confdefs.h. */
31003
31004 int
31005 main ()
31006 {
31007 int foo;
31008 ;
31009 return 0;
31010 }
31011 _ACEOF
31012 rm -f conftest.$ac_objext
31013 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31014 (eval $ac_compile) 2>conftest.er1
31015 ac_status=$?
31016 grep -v '^ *+' conftest.er1 >conftest.err
31017 rm -f conftest.er1
31018 cat conftest.err >&5
31019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31020 (exit $ac_status); } &&
31021 { ac_try='test -z "$ac_cxx_werror_flag"
31022 || test ! -s conftest.err'
31023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31024 (eval $ac_try) 2>&5
31025 ac_status=$?
31026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31027 (exit $ac_status); }; } &&
31028 { ac_try='test -s conftest.$ac_objext'
31029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31030 (eval $ac_try) 2>&5
31031 ac_status=$?
31032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31033 (exit $ac_status); }; }; then
31034 ac_fdsections=yes
31035 else
31036 echo "$as_me: failed program was:" >&5
31037 sed 's/^/| /' conftest.$ac_ext >&5
31038
31039 ac_fdsections=no
31040 fi
31041 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31042 if test "$ac_test_CXXFLAGS" = set; then
31043 CXXFLAGS="$ac_save_CXXFLAGS"
31044 else
31045 # this is the suspicious part
31046 CXXFLAGS=''
31047 fi
31048 if test x"$ac_fdsections" = x"yes"; then
31049 SECTION_FLAGS='-ffunction-sections -fdata-sections'
31050 fi
31051 echo "$as_me:$LINENO: result: $ac_fdsections" >&5
31052 echo "${ECHO_T}$ac_fdsections" >&6
31053
31054 ac_ext=c
31055 ac_cpp='$CPP $CPPFLAGS'
31056 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31057 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31058 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31059
31060
31061
31062
31063 # Don't call GLIBCXX_CHECK_LINKER_FEATURES, Darwin doesn't have a GNU ld
31064
31065 ac_test_CXXFLAGS="${CXXFLAGS+set}"
31066 ac_save_CXXFLAGS="$CXXFLAGS"
31067 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
31068
31069 echo "$as_me:$LINENO: checking for sin in -lm" >&5
31070 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
31071 if test "${ac_cv_lib_m_sin+set}" = set; then
31072 echo $ECHO_N "(cached) $ECHO_C" >&6
31073 else
31074 ac_check_lib_save_LIBS=$LIBS
31075 LIBS="-lm $LIBS"
31076 if test x$gcc_no_link = xyes; then
31077 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31078 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31079 { (exit 1); exit 1; }; }
31080 fi
31081 cat >conftest.$ac_ext <<_ACEOF
31082 /* confdefs.h. */
31083 _ACEOF
31084 cat confdefs.h >>conftest.$ac_ext
31085 cat >>conftest.$ac_ext <<_ACEOF
31086 /* end confdefs.h. */
31087
31088 /* Override any gcc2 internal prototype to avoid an error. */
31089 #ifdef __cplusplus
31090 extern "C"
31091 #endif
31092 /* We use char because int might match the return type of a gcc2
31093 builtin and then its argument prototype would still apply. */
31094 char sin ();
31095 int
31096 main ()
31097 {
31098 sin ();
31099 ;
31100 return 0;
31101 }
31102 _ACEOF
31103 rm -f conftest.$ac_objext conftest$ac_exeext
31104 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31105 (eval $ac_link) 2>conftest.er1
31106 ac_status=$?
31107 grep -v '^ *+' conftest.er1 >conftest.err
31108 rm -f conftest.er1
31109 cat conftest.err >&5
31110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31111 (exit $ac_status); } &&
31112 { ac_try='test -z "$ac_c_werror_flag"
31113 || test ! -s conftest.err'
31114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31115 (eval $ac_try) 2>&5
31116 ac_status=$?
31117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31118 (exit $ac_status); }; } &&
31119 { ac_try='test -s conftest$ac_exeext'
31120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31121 (eval $ac_try) 2>&5
31122 ac_status=$?
31123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31124 (exit $ac_status); }; }; then
31125 ac_cv_lib_m_sin=yes
31126 else
31127 echo "$as_me: failed program was:" >&5
31128 sed 's/^/| /' conftest.$ac_ext >&5
31129
31130 ac_cv_lib_m_sin=no
31131 fi
31132 rm -f conftest.err conftest.$ac_objext \
31133 conftest$ac_exeext conftest.$ac_ext
31134 LIBS=$ac_check_lib_save_LIBS
31135 fi
31136 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
31137 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
31138 if test $ac_cv_lib_m_sin = yes; then
31139 libm="-lm"
31140 fi
31141
31142 ac_save_LIBS="$LIBS"
31143 LIBS="$LIBS $libm"
31144
31145
31146
31147 echo "$as_me:$LINENO: checking for isinf declaration" >&5
31148 echo $ECHO_N "checking for isinf declaration... $ECHO_C" >&6
31149 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
31150 if test "${glibcxx_cv_func_isinf_use+set}" = set; then
31151 echo $ECHO_N "(cached) $ECHO_C" >&6
31152 else
31153
31154
31155
31156 ac_ext=cc
31157 ac_cpp='$CXXCPP $CPPFLAGS'
31158 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31159 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31160 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31161
31162 cat >conftest.$ac_ext <<_ACEOF
31163 /* confdefs.h. */
31164 _ACEOF
31165 cat confdefs.h >>conftest.$ac_ext
31166 cat >>conftest.$ac_ext <<_ACEOF
31167 /* end confdefs.h. */
31168 #include <math.h>
31169 #ifdef HAVE_IEEEFP_H
31170 #include <ieeefp.h>
31171 #endif
31172
31173 int
31174 main ()
31175 {
31176 isinf(0);
31177 ;
31178 return 0;
31179 }
31180 _ACEOF
31181 rm -f conftest.$ac_objext
31182 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31183 (eval $ac_compile) 2>conftest.er1
31184 ac_status=$?
31185 grep -v '^ *+' conftest.er1 >conftest.err
31186 rm -f conftest.er1
31187 cat conftest.err >&5
31188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31189 (exit $ac_status); } &&
31190 { ac_try='test -z "$ac_cxx_werror_flag"
31191 || test ! -s conftest.err'
31192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31193 (eval $ac_try) 2>&5
31194 ac_status=$?
31195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31196 (exit $ac_status); }; } &&
31197 { ac_try='test -s conftest.$ac_objext'
31198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31199 (eval $ac_try) 2>&5
31200 ac_status=$?
31201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31202 (exit $ac_status); }; }; then
31203 glibcxx_cv_func_isinf_use=yes
31204 else
31205 echo "$as_me: failed program was:" >&5
31206 sed 's/^/| /' conftest.$ac_ext >&5
31207
31208 glibcxx_cv_func_isinf_use=no
31209 fi
31210 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31211 ac_ext=c
31212 ac_cpp='$CPP $CPPFLAGS'
31213 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31214 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31215 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31216
31217
31218 fi
31219
31220 fi
31221 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinf_use" >&5
31222 echo "${ECHO_T}$glibcxx_cv_func_isinf_use" >&6
31223
31224 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
31225
31226 for ac_func in isinf
31227 do
31228 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31229 echo "$as_me:$LINENO: checking for $ac_func" >&5
31230 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31231 if eval "test \"\${$as_ac_var+set}\" = set"; then
31232 echo $ECHO_N "(cached) $ECHO_C" >&6
31233 else
31234 if test x$gcc_no_link = xyes; then
31235 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31236 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31237 { (exit 1); exit 1; }; }
31238 fi
31239 cat >conftest.$ac_ext <<_ACEOF
31240 /* confdefs.h. */
31241 _ACEOF
31242 cat confdefs.h >>conftest.$ac_ext
31243 cat >>conftest.$ac_ext <<_ACEOF
31244 /* end confdefs.h. */
31245 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31246 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31247 #define $ac_func innocuous_$ac_func
31248
31249 /* System header to define __stub macros and hopefully few prototypes,
31250 which can conflict with char $ac_func (); below.
31251 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31252 <limits.h> exists even on freestanding compilers. */
31253
31254 #ifdef __STDC__
31255 # include <limits.h>
31256 #else
31257 # include <assert.h>
31258 #endif
31259
31260 #undef $ac_func
31261
31262 /* Override any gcc2 internal prototype to avoid an error. */
31263 #ifdef __cplusplus
31264 extern "C"
31265 {
31266 #endif
31267 /* We use char because int might match the return type of a gcc2
31268 builtin and then its argument prototype would still apply. */
31269 char $ac_func ();
31270 /* The GNU C library defines this for functions which it implements
31271 to always fail with ENOSYS. Some functions are actually named
31272 something starting with __ and the normal name is an alias. */
31273 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31274 choke me
31275 #else
31276 char (*f) () = $ac_func;
31277 #endif
31278 #ifdef __cplusplus
31279 }
31280 #endif
31281
31282 int
31283 main ()
31284 {
31285 return f != $ac_func;
31286 ;
31287 return 0;
31288 }
31289 _ACEOF
31290 rm -f conftest.$ac_objext conftest$ac_exeext
31291 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31292 (eval $ac_link) 2>conftest.er1
31293 ac_status=$?
31294 grep -v '^ *+' conftest.er1 >conftest.err
31295 rm -f conftest.er1
31296 cat conftest.err >&5
31297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31298 (exit $ac_status); } &&
31299 { ac_try='test -z "$ac_c_werror_flag"
31300 || test ! -s conftest.err'
31301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31302 (eval $ac_try) 2>&5
31303 ac_status=$?
31304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31305 (exit $ac_status); }; } &&
31306 { ac_try='test -s conftest$ac_exeext'
31307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31308 (eval $ac_try) 2>&5
31309 ac_status=$?
31310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31311 (exit $ac_status); }; }; then
31312 eval "$as_ac_var=yes"
31313 else
31314 echo "$as_me: failed program was:" >&5
31315 sed 's/^/| /' conftest.$ac_ext >&5
31316
31317 eval "$as_ac_var=no"
31318 fi
31319 rm -f conftest.err conftest.$ac_objext \
31320 conftest$ac_exeext conftest.$ac_ext
31321 fi
31322 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31323 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31324 if test `eval echo '${'$as_ac_var'}'` = yes; then
31325 cat >>confdefs.h <<_ACEOF
31326 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31327 _ACEOF
31328
31329 fi
31330 done
31331
31332 else
31333
31334 echo "$as_me:$LINENO: checking for _isinf declaration" >&5
31335 echo $ECHO_N "checking for _isinf declaration... $ECHO_C" >&6
31336 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
31337 if test "${glibcxx_cv_func__isinf_use+set}" = set; then
31338 echo $ECHO_N "(cached) $ECHO_C" >&6
31339 else
31340
31341
31342
31343 ac_ext=cc
31344 ac_cpp='$CXXCPP $CPPFLAGS'
31345 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31346 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31347 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31348
31349 cat >conftest.$ac_ext <<_ACEOF
31350 /* confdefs.h. */
31351 _ACEOF
31352 cat confdefs.h >>conftest.$ac_ext
31353 cat >>conftest.$ac_ext <<_ACEOF
31354 /* end confdefs.h. */
31355 #include <math.h>
31356 #ifdef HAVE_IEEEFP_H
31357 #include <ieeefp.h>
31358 #endif
31359
31360 int
31361 main ()
31362 {
31363 _isinf(0);
31364 ;
31365 return 0;
31366 }
31367 _ACEOF
31368 rm -f conftest.$ac_objext
31369 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31370 (eval $ac_compile) 2>conftest.er1
31371 ac_status=$?
31372 grep -v '^ *+' conftest.er1 >conftest.err
31373 rm -f conftest.er1
31374 cat conftest.err >&5
31375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31376 (exit $ac_status); } &&
31377 { ac_try='test -z "$ac_cxx_werror_flag"
31378 || test ! -s conftest.err'
31379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31380 (eval $ac_try) 2>&5
31381 ac_status=$?
31382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31383 (exit $ac_status); }; } &&
31384 { ac_try='test -s conftest.$ac_objext'
31385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31386 (eval $ac_try) 2>&5
31387 ac_status=$?
31388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31389 (exit $ac_status); }; }; then
31390 glibcxx_cv_func__isinf_use=yes
31391 else
31392 echo "$as_me: failed program was:" >&5
31393 sed 's/^/| /' conftest.$ac_ext >&5
31394
31395 glibcxx_cv_func__isinf_use=no
31396 fi
31397 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31398 ac_ext=c
31399 ac_cpp='$CPP $CPPFLAGS'
31400 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31401 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31402 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31403
31404
31405 fi
31406
31407 fi
31408 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinf_use" >&5
31409 echo "${ECHO_T}$glibcxx_cv_func__isinf_use" >&6
31410
31411 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
31412
31413 for ac_func in _isinf
31414 do
31415 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31416 echo "$as_me:$LINENO: checking for $ac_func" >&5
31417 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31418 if eval "test \"\${$as_ac_var+set}\" = set"; then
31419 echo $ECHO_N "(cached) $ECHO_C" >&6
31420 else
31421 if test x$gcc_no_link = xyes; then
31422 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31423 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31424 { (exit 1); exit 1; }; }
31425 fi
31426 cat >conftest.$ac_ext <<_ACEOF
31427 /* confdefs.h. */
31428 _ACEOF
31429 cat confdefs.h >>conftest.$ac_ext
31430 cat >>conftest.$ac_ext <<_ACEOF
31431 /* end confdefs.h. */
31432 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31433 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31434 #define $ac_func innocuous_$ac_func
31435
31436 /* System header to define __stub macros and hopefully few prototypes,
31437 which can conflict with char $ac_func (); below.
31438 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31439 <limits.h> exists even on freestanding compilers. */
31440
31441 #ifdef __STDC__
31442 # include <limits.h>
31443 #else
31444 # include <assert.h>
31445 #endif
31446
31447 #undef $ac_func
31448
31449 /* Override any gcc2 internal prototype to avoid an error. */
31450 #ifdef __cplusplus
31451 extern "C"
31452 {
31453 #endif
31454 /* We use char because int might match the return type of a gcc2
31455 builtin and then its argument prototype would still apply. */
31456 char $ac_func ();
31457 /* The GNU C library defines this for functions which it implements
31458 to always fail with ENOSYS. Some functions are actually named
31459 something starting with __ and the normal name is an alias. */
31460 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31461 choke me
31462 #else
31463 char (*f) () = $ac_func;
31464 #endif
31465 #ifdef __cplusplus
31466 }
31467 #endif
31468
31469 int
31470 main ()
31471 {
31472 return f != $ac_func;
31473 ;
31474 return 0;
31475 }
31476 _ACEOF
31477 rm -f conftest.$ac_objext conftest$ac_exeext
31478 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31479 (eval $ac_link) 2>conftest.er1
31480 ac_status=$?
31481 grep -v '^ *+' conftest.er1 >conftest.err
31482 rm -f conftest.er1
31483 cat conftest.err >&5
31484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31485 (exit $ac_status); } &&
31486 { ac_try='test -z "$ac_c_werror_flag"
31487 || test ! -s conftest.err'
31488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31489 (eval $ac_try) 2>&5
31490 ac_status=$?
31491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31492 (exit $ac_status); }; } &&
31493 { ac_try='test -s conftest$ac_exeext'
31494 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31495 (eval $ac_try) 2>&5
31496 ac_status=$?
31497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31498 (exit $ac_status); }; }; then
31499 eval "$as_ac_var=yes"
31500 else
31501 echo "$as_me: failed program was:" >&5
31502 sed 's/^/| /' conftest.$ac_ext >&5
31503
31504 eval "$as_ac_var=no"
31505 fi
31506 rm -f conftest.err conftest.$ac_objext \
31507 conftest$ac_exeext conftest.$ac_ext
31508 fi
31509 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31510 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31511 if test `eval echo '${'$as_ac_var'}'` = yes; then
31512 cat >>confdefs.h <<_ACEOF
31513 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31514 _ACEOF
31515
31516 fi
31517 done
31518
31519 fi
31520 fi
31521
31522
31523
31524
31525
31526
31527 echo "$as_me:$LINENO: checking for isnan declaration" >&5
31528 echo $ECHO_N "checking for isnan declaration... $ECHO_C" >&6
31529 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
31530 if test "${glibcxx_cv_func_isnan_use+set}" = set; then
31531 echo $ECHO_N "(cached) $ECHO_C" >&6
31532 else
31533
31534
31535
31536 ac_ext=cc
31537 ac_cpp='$CXXCPP $CPPFLAGS'
31538 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31539 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31540 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31541
31542 cat >conftest.$ac_ext <<_ACEOF
31543 /* confdefs.h. */
31544 _ACEOF
31545 cat confdefs.h >>conftest.$ac_ext
31546 cat >>conftest.$ac_ext <<_ACEOF
31547 /* end confdefs.h. */
31548 #include <math.h>
31549 #ifdef HAVE_IEEEFP_H
31550 #include <ieeefp.h>
31551 #endif
31552
31553 int
31554 main ()
31555 {
31556 isnan(0);
31557 ;
31558 return 0;
31559 }
31560 _ACEOF
31561 rm -f conftest.$ac_objext
31562 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31563 (eval $ac_compile) 2>conftest.er1
31564 ac_status=$?
31565 grep -v '^ *+' conftest.er1 >conftest.err
31566 rm -f conftest.er1
31567 cat conftest.err >&5
31568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31569 (exit $ac_status); } &&
31570 { ac_try='test -z "$ac_cxx_werror_flag"
31571 || test ! -s conftest.err'
31572 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31573 (eval $ac_try) 2>&5
31574 ac_status=$?
31575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31576 (exit $ac_status); }; } &&
31577 { ac_try='test -s conftest.$ac_objext'
31578 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31579 (eval $ac_try) 2>&5
31580 ac_status=$?
31581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31582 (exit $ac_status); }; }; then
31583 glibcxx_cv_func_isnan_use=yes
31584 else
31585 echo "$as_me: failed program was:" >&5
31586 sed 's/^/| /' conftest.$ac_ext >&5
31587
31588 glibcxx_cv_func_isnan_use=no
31589 fi
31590 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31591 ac_ext=c
31592 ac_cpp='$CPP $CPPFLAGS'
31593 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31594 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31595 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31596
31597
31598 fi
31599
31600 fi
31601 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnan_use" >&5
31602 echo "${ECHO_T}$glibcxx_cv_func_isnan_use" >&6
31603
31604 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
31605
31606 for ac_func in isnan
31607 do
31608 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31609 echo "$as_me:$LINENO: checking for $ac_func" >&5
31610 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31611 if eval "test \"\${$as_ac_var+set}\" = set"; then
31612 echo $ECHO_N "(cached) $ECHO_C" >&6
31613 else
31614 if test x$gcc_no_link = xyes; then
31615 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31616 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31617 { (exit 1); exit 1; }; }
31618 fi
31619 cat >conftest.$ac_ext <<_ACEOF
31620 /* confdefs.h. */
31621 _ACEOF
31622 cat confdefs.h >>conftest.$ac_ext
31623 cat >>conftest.$ac_ext <<_ACEOF
31624 /* end confdefs.h. */
31625 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31626 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31627 #define $ac_func innocuous_$ac_func
31628
31629 /* System header to define __stub macros and hopefully few prototypes,
31630 which can conflict with char $ac_func (); below.
31631 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31632 <limits.h> exists even on freestanding compilers. */
31633
31634 #ifdef __STDC__
31635 # include <limits.h>
31636 #else
31637 # include <assert.h>
31638 #endif
31639
31640 #undef $ac_func
31641
31642 /* Override any gcc2 internal prototype to avoid an error. */
31643 #ifdef __cplusplus
31644 extern "C"
31645 {
31646 #endif
31647 /* We use char because int might match the return type of a gcc2
31648 builtin and then its argument prototype would still apply. */
31649 char $ac_func ();
31650 /* The GNU C library defines this for functions which it implements
31651 to always fail with ENOSYS. Some functions are actually named
31652 something starting with __ and the normal name is an alias. */
31653 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31654 choke me
31655 #else
31656 char (*f) () = $ac_func;
31657 #endif
31658 #ifdef __cplusplus
31659 }
31660 #endif
31661
31662 int
31663 main ()
31664 {
31665 return f != $ac_func;
31666 ;
31667 return 0;
31668 }
31669 _ACEOF
31670 rm -f conftest.$ac_objext conftest$ac_exeext
31671 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31672 (eval $ac_link) 2>conftest.er1
31673 ac_status=$?
31674 grep -v '^ *+' conftest.er1 >conftest.err
31675 rm -f conftest.er1
31676 cat conftest.err >&5
31677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31678 (exit $ac_status); } &&
31679 { ac_try='test -z "$ac_c_werror_flag"
31680 || test ! -s conftest.err'
31681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31682 (eval $ac_try) 2>&5
31683 ac_status=$?
31684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31685 (exit $ac_status); }; } &&
31686 { ac_try='test -s conftest$ac_exeext'
31687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31688 (eval $ac_try) 2>&5
31689 ac_status=$?
31690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31691 (exit $ac_status); }; }; then
31692 eval "$as_ac_var=yes"
31693 else
31694 echo "$as_me: failed program was:" >&5
31695 sed 's/^/| /' conftest.$ac_ext >&5
31696
31697 eval "$as_ac_var=no"
31698 fi
31699 rm -f conftest.err conftest.$ac_objext \
31700 conftest$ac_exeext conftest.$ac_ext
31701 fi
31702 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31703 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31704 if test `eval echo '${'$as_ac_var'}'` = yes; then
31705 cat >>confdefs.h <<_ACEOF
31706 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31707 _ACEOF
31708
31709 fi
31710 done
31711
31712 else
31713
31714 echo "$as_me:$LINENO: checking for _isnan declaration" >&5
31715 echo $ECHO_N "checking for _isnan declaration... $ECHO_C" >&6
31716 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
31717 if test "${glibcxx_cv_func__isnan_use+set}" = set; then
31718 echo $ECHO_N "(cached) $ECHO_C" >&6
31719 else
31720
31721
31722
31723 ac_ext=cc
31724 ac_cpp='$CXXCPP $CPPFLAGS'
31725 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31726 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31727 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31728
31729 cat >conftest.$ac_ext <<_ACEOF
31730 /* confdefs.h. */
31731 _ACEOF
31732 cat confdefs.h >>conftest.$ac_ext
31733 cat >>conftest.$ac_ext <<_ACEOF
31734 /* end confdefs.h. */
31735 #include <math.h>
31736 #ifdef HAVE_IEEEFP_H
31737 #include <ieeefp.h>
31738 #endif
31739
31740 int
31741 main ()
31742 {
31743 _isnan(0);
31744 ;
31745 return 0;
31746 }
31747 _ACEOF
31748 rm -f conftest.$ac_objext
31749 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31750 (eval $ac_compile) 2>conftest.er1
31751 ac_status=$?
31752 grep -v '^ *+' conftest.er1 >conftest.err
31753 rm -f conftest.er1
31754 cat conftest.err >&5
31755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31756 (exit $ac_status); } &&
31757 { ac_try='test -z "$ac_cxx_werror_flag"
31758 || test ! -s conftest.err'
31759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31760 (eval $ac_try) 2>&5
31761 ac_status=$?
31762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31763 (exit $ac_status); }; } &&
31764 { ac_try='test -s conftest.$ac_objext'
31765 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31766 (eval $ac_try) 2>&5
31767 ac_status=$?
31768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31769 (exit $ac_status); }; }; then
31770 glibcxx_cv_func__isnan_use=yes
31771 else
31772 echo "$as_me: failed program was:" >&5
31773 sed 's/^/| /' conftest.$ac_ext >&5
31774
31775 glibcxx_cv_func__isnan_use=no
31776 fi
31777 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31778 ac_ext=c
31779 ac_cpp='$CPP $CPPFLAGS'
31780 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31781 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31782 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31783
31784
31785 fi
31786
31787 fi
31788 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnan_use" >&5
31789 echo "${ECHO_T}$glibcxx_cv_func__isnan_use" >&6
31790
31791 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
31792
31793 for ac_func in _isnan
31794 do
31795 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31796 echo "$as_me:$LINENO: checking for $ac_func" >&5
31797 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31798 if eval "test \"\${$as_ac_var+set}\" = set"; then
31799 echo $ECHO_N "(cached) $ECHO_C" >&6
31800 else
31801 if test x$gcc_no_link = xyes; then
31802 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31803 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31804 { (exit 1); exit 1; }; }
31805 fi
31806 cat >conftest.$ac_ext <<_ACEOF
31807 /* confdefs.h. */
31808 _ACEOF
31809 cat confdefs.h >>conftest.$ac_ext
31810 cat >>conftest.$ac_ext <<_ACEOF
31811 /* end confdefs.h. */
31812 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31813 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31814 #define $ac_func innocuous_$ac_func
31815
31816 /* System header to define __stub macros and hopefully few prototypes,
31817 which can conflict with char $ac_func (); below.
31818 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31819 <limits.h> exists even on freestanding compilers. */
31820
31821 #ifdef __STDC__
31822 # include <limits.h>
31823 #else
31824 # include <assert.h>
31825 #endif
31826
31827 #undef $ac_func
31828
31829 /* Override any gcc2 internal prototype to avoid an error. */
31830 #ifdef __cplusplus
31831 extern "C"
31832 {
31833 #endif
31834 /* We use char because int might match the return type of a gcc2
31835 builtin and then its argument prototype would still apply. */
31836 char $ac_func ();
31837 /* The GNU C library defines this for functions which it implements
31838 to always fail with ENOSYS. Some functions are actually named
31839 something starting with __ and the normal name is an alias. */
31840 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31841 choke me
31842 #else
31843 char (*f) () = $ac_func;
31844 #endif
31845 #ifdef __cplusplus
31846 }
31847 #endif
31848
31849 int
31850 main ()
31851 {
31852 return f != $ac_func;
31853 ;
31854 return 0;
31855 }
31856 _ACEOF
31857 rm -f conftest.$ac_objext conftest$ac_exeext
31858 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31859 (eval $ac_link) 2>conftest.er1
31860 ac_status=$?
31861 grep -v '^ *+' conftest.er1 >conftest.err
31862 rm -f conftest.er1
31863 cat conftest.err >&5
31864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31865 (exit $ac_status); } &&
31866 { ac_try='test -z "$ac_c_werror_flag"
31867 || test ! -s conftest.err'
31868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31869 (eval $ac_try) 2>&5
31870 ac_status=$?
31871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31872 (exit $ac_status); }; } &&
31873 { ac_try='test -s conftest$ac_exeext'
31874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31875 (eval $ac_try) 2>&5
31876 ac_status=$?
31877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31878 (exit $ac_status); }; }; then
31879 eval "$as_ac_var=yes"
31880 else
31881 echo "$as_me: failed program was:" >&5
31882 sed 's/^/| /' conftest.$ac_ext >&5
31883
31884 eval "$as_ac_var=no"
31885 fi
31886 rm -f conftest.err conftest.$ac_objext \
31887 conftest$ac_exeext conftest.$ac_ext
31888 fi
31889 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31890 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31891 if test `eval echo '${'$as_ac_var'}'` = yes; then
31892 cat >>confdefs.h <<_ACEOF
31893 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31894 _ACEOF
31895
31896 fi
31897 done
31898
31899 fi
31900 fi
31901
31902
31903
31904
31905
31906
31907 echo "$as_me:$LINENO: checking for finite declaration" >&5
31908 echo $ECHO_N "checking for finite declaration... $ECHO_C" >&6
31909 if test x${glibcxx_cv_func_finite_use+set} != xset; then
31910 if test "${glibcxx_cv_func_finite_use+set}" = set; then
31911 echo $ECHO_N "(cached) $ECHO_C" >&6
31912 else
31913
31914
31915
31916 ac_ext=cc
31917 ac_cpp='$CXXCPP $CPPFLAGS'
31918 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31919 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31920 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31921
31922 cat >conftest.$ac_ext <<_ACEOF
31923 /* confdefs.h. */
31924 _ACEOF
31925 cat confdefs.h >>conftest.$ac_ext
31926 cat >>conftest.$ac_ext <<_ACEOF
31927 /* end confdefs.h. */
31928 #include <math.h>
31929 #ifdef HAVE_IEEEFP_H
31930 #include <ieeefp.h>
31931 #endif
31932
31933 int
31934 main ()
31935 {
31936 finite(0);
31937 ;
31938 return 0;
31939 }
31940 _ACEOF
31941 rm -f conftest.$ac_objext
31942 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31943 (eval $ac_compile) 2>conftest.er1
31944 ac_status=$?
31945 grep -v '^ *+' conftest.er1 >conftest.err
31946 rm -f conftest.er1
31947 cat conftest.err >&5
31948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31949 (exit $ac_status); } &&
31950 { ac_try='test -z "$ac_cxx_werror_flag"
31951 || test ! -s conftest.err'
31952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31953 (eval $ac_try) 2>&5
31954 ac_status=$?
31955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31956 (exit $ac_status); }; } &&
31957 { ac_try='test -s conftest.$ac_objext'
31958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31959 (eval $ac_try) 2>&5
31960 ac_status=$?
31961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31962 (exit $ac_status); }; }; then
31963 glibcxx_cv_func_finite_use=yes
31964 else
31965 echo "$as_me: failed program was:" >&5
31966 sed 's/^/| /' conftest.$ac_ext >&5
31967
31968 glibcxx_cv_func_finite_use=no
31969 fi
31970 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31971 ac_ext=c
31972 ac_cpp='$CPP $CPPFLAGS'
31973 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31974 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31975 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31976
31977
31978 fi
31979
31980 fi
31981 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finite_use" >&5
31982 echo "${ECHO_T}$glibcxx_cv_func_finite_use" >&6
31983
31984 if test x$glibcxx_cv_func_finite_use = x"yes"; then
31985
31986 for ac_func in finite
31987 do
31988 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31989 echo "$as_me:$LINENO: checking for $ac_func" >&5
31990 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31991 if eval "test \"\${$as_ac_var+set}\" = set"; then
31992 echo $ECHO_N "(cached) $ECHO_C" >&6
31993 else
31994 if test x$gcc_no_link = xyes; then
31995 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31996 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31997 { (exit 1); exit 1; }; }
31998 fi
31999 cat >conftest.$ac_ext <<_ACEOF
32000 /* confdefs.h. */
32001 _ACEOF
32002 cat confdefs.h >>conftest.$ac_ext
32003 cat >>conftest.$ac_ext <<_ACEOF
32004 /* end confdefs.h. */
32005 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32006 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32007 #define $ac_func innocuous_$ac_func
32008
32009 /* System header to define __stub macros and hopefully few prototypes,
32010 which can conflict with char $ac_func (); below.
32011 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32012 <limits.h> exists even on freestanding compilers. */
32013
32014 #ifdef __STDC__
32015 # include <limits.h>
32016 #else
32017 # include <assert.h>
32018 #endif
32019
32020 #undef $ac_func
32021
32022 /* Override any gcc2 internal prototype to avoid an error. */
32023 #ifdef __cplusplus
32024 extern "C"
32025 {
32026 #endif
32027 /* We use char because int might match the return type of a gcc2
32028 builtin and then its argument prototype would still apply. */
32029 char $ac_func ();
32030 /* The GNU C library defines this for functions which it implements
32031 to always fail with ENOSYS. Some functions are actually named
32032 something starting with __ and the normal name is an alias. */
32033 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32034 choke me
32035 #else
32036 char (*f) () = $ac_func;
32037 #endif
32038 #ifdef __cplusplus
32039 }
32040 #endif
32041
32042 int
32043 main ()
32044 {
32045 return f != $ac_func;
32046 ;
32047 return 0;
32048 }
32049 _ACEOF
32050 rm -f conftest.$ac_objext conftest$ac_exeext
32051 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32052 (eval $ac_link) 2>conftest.er1
32053 ac_status=$?
32054 grep -v '^ *+' conftest.er1 >conftest.err
32055 rm -f conftest.er1
32056 cat conftest.err >&5
32057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32058 (exit $ac_status); } &&
32059 { ac_try='test -z "$ac_c_werror_flag"
32060 || test ! -s conftest.err'
32061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32062 (eval $ac_try) 2>&5
32063 ac_status=$?
32064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32065 (exit $ac_status); }; } &&
32066 { ac_try='test -s conftest$ac_exeext'
32067 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32068 (eval $ac_try) 2>&5
32069 ac_status=$?
32070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32071 (exit $ac_status); }; }; then
32072 eval "$as_ac_var=yes"
32073 else
32074 echo "$as_me: failed program was:" >&5
32075 sed 's/^/| /' conftest.$ac_ext >&5
32076
32077 eval "$as_ac_var=no"
32078 fi
32079 rm -f conftest.err conftest.$ac_objext \
32080 conftest$ac_exeext conftest.$ac_ext
32081 fi
32082 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32083 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32084 if test `eval echo '${'$as_ac_var'}'` = yes; then
32085 cat >>confdefs.h <<_ACEOF
32086 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32087 _ACEOF
32088
32089 fi
32090 done
32091
32092 else
32093
32094 echo "$as_me:$LINENO: checking for _finite declaration" >&5
32095 echo $ECHO_N "checking for _finite declaration... $ECHO_C" >&6
32096 if test x${glibcxx_cv_func__finite_use+set} != xset; then
32097 if test "${glibcxx_cv_func__finite_use+set}" = set; then
32098 echo $ECHO_N "(cached) $ECHO_C" >&6
32099 else
32100
32101
32102
32103 ac_ext=cc
32104 ac_cpp='$CXXCPP $CPPFLAGS'
32105 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32106 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32107 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32108
32109 cat >conftest.$ac_ext <<_ACEOF
32110 /* confdefs.h. */
32111 _ACEOF
32112 cat confdefs.h >>conftest.$ac_ext
32113 cat >>conftest.$ac_ext <<_ACEOF
32114 /* end confdefs.h. */
32115 #include <math.h>
32116 #ifdef HAVE_IEEEFP_H
32117 #include <ieeefp.h>
32118 #endif
32119
32120 int
32121 main ()
32122 {
32123 _finite(0);
32124 ;
32125 return 0;
32126 }
32127 _ACEOF
32128 rm -f conftest.$ac_objext
32129 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32130 (eval $ac_compile) 2>conftest.er1
32131 ac_status=$?
32132 grep -v '^ *+' conftest.er1 >conftest.err
32133 rm -f conftest.er1
32134 cat conftest.err >&5
32135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32136 (exit $ac_status); } &&
32137 { ac_try='test -z "$ac_cxx_werror_flag"
32138 || test ! -s conftest.err'
32139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32140 (eval $ac_try) 2>&5
32141 ac_status=$?
32142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32143 (exit $ac_status); }; } &&
32144 { ac_try='test -s conftest.$ac_objext'
32145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32146 (eval $ac_try) 2>&5
32147 ac_status=$?
32148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32149 (exit $ac_status); }; }; then
32150 glibcxx_cv_func__finite_use=yes
32151 else
32152 echo "$as_me: failed program was:" >&5
32153 sed 's/^/| /' conftest.$ac_ext >&5
32154
32155 glibcxx_cv_func__finite_use=no
32156 fi
32157 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32158 ac_ext=c
32159 ac_cpp='$CPP $CPPFLAGS'
32160 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32161 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32162 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32163
32164
32165 fi
32166
32167 fi
32168 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finite_use" >&5
32169 echo "${ECHO_T}$glibcxx_cv_func__finite_use" >&6
32170
32171 if test x$glibcxx_cv_func__finite_use = x"yes"; then
32172
32173 for ac_func in _finite
32174 do
32175 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32176 echo "$as_me:$LINENO: checking for $ac_func" >&5
32177 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32178 if eval "test \"\${$as_ac_var+set}\" = set"; then
32179 echo $ECHO_N "(cached) $ECHO_C" >&6
32180 else
32181 if test x$gcc_no_link = xyes; then
32182 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32183 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32184 { (exit 1); exit 1; }; }
32185 fi
32186 cat >conftest.$ac_ext <<_ACEOF
32187 /* confdefs.h. */
32188 _ACEOF
32189 cat confdefs.h >>conftest.$ac_ext
32190 cat >>conftest.$ac_ext <<_ACEOF
32191 /* end confdefs.h. */
32192 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32193 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32194 #define $ac_func innocuous_$ac_func
32195
32196 /* System header to define __stub macros and hopefully few prototypes,
32197 which can conflict with char $ac_func (); below.
32198 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32199 <limits.h> exists even on freestanding compilers. */
32200
32201 #ifdef __STDC__
32202 # include <limits.h>
32203 #else
32204 # include <assert.h>
32205 #endif
32206
32207 #undef $ac_func
32208
32209 /* Override any gcc2 internal prototype to avoid an error. */
32210 #ifdef __cplusplus
32211 extern "C"
32212 {
32213 #endif
32214 /* We use char because int might match the return type of a gcc2
32215 builtin and then its argument prototype would still apply. */
32216 char $ac_func ();
32217 /* The GNU C library defines this for functions which it implements
32218 to always fail with ENOSYS. Some functions are actually named
32219 something starting with __ and the normal name is an alias. */
32220 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32221 choke me
32222 #else
32223 char (*f) () = $ac_func;
32224 #endif
32225 #ifdef __cplusplus
32226 }
32227 #endif
32228
32229 int
32230 main ()
32231 {
32232 return f != $ac_func;
32233 ;
32234 return 0;
32235 }
32236 _ACEOF
32237 rm -f conftest.$ac_objext conftest$ac_exeext
32238 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32239 (eval $ac_link) 2>conftest.er1
32240 ac_status=$?
32241 grep -v '^ *+' conftest.er1 >conftest.err
32242 rm -f conftest.er1
32243 cat conftest.err >&5
32244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32245 (exit $ac_status); } &&
32246 { ac_try='test -z "$ac_c_werror_flag"
32247 || test ! -s conftest.err'
32248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32249 (eval $ac_try) 2>&5
32250 ac_status=$?
32251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32252 (exit $ac_status); }; } &&
32253 { ac_try='test -s conftest$ac_exeext'
32254 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32255 (eval $ac_try) 2>&5
32256 ac_status=$?
32257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32258 (exit $ac_status); }; }; then
32259 eval "$as_ac_var=yes"
32260 else
32261 echo "$as_me: failed program was:" >&5
32262 sed 's/^/| /' conftest.$ac_ext >&5
32263
32264 eval "$as_ac_var=no"
32265 fi
32266 rm -f conftest.err conftest.$ac_objext \
32267 conftest$ac_exeext conftest.$ac_ext
32268 fi
32269 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32270 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32271 if test `eval echo '${'$as_ac_var'}'` = yes; then
32272 cat >>confdefs.h <<_ACEOF
32273 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32274 _ACEOF
32275
32276 fi
32277 done
32278
32279 fi
32280 fi
32281
32282
32283
32284
32285
32286
32287 echo "$as_me:$LINENO: checking for copysign declaration" >&5
32288 echo $ECHO_N "checking for copysign declaration... $ECHO_C" >&6
32289 if test x${glibcxx_cv_func_copysign_use+set} != xset; then
32290 if test "${glibcxx_cv_func_copysign_use+set}" = set; then
32291 echo $ECHO_N "(cached) $ECHO_C" >&6
32292 else
32293
32294
32295
32296 ac_ext=cc
32297 ac_cpp='$CXXCPP $CPPFLAGS'
32298 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32299 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32300 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32301
32302 cat >conftest.$ac_ext <<_ACEOF
32303 /* confdefs.h. */
32304 _ACEOF
32305 cat confdefs.h >>conftest.$ac_ext
32306 cat >>conftest.$ac_ext <<_ACEOF
32307 /* end confdefs.h. */
32308 #include <math.h>
32309 int
32310 main ()
32311 {
32312 copysign(0, 0);
32313 ;
32314 return 0;
32315 }
32316 _ACEOF
32317 rm -f conftest.$ac_objext
32318 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32319 (eval $ac_compile) 2>conftest.er1
32320 ac_status=$?
32321 grep -v '^ *+' conftest.er1 >conftest.err
32322 rm -f conftest.er1
32323 cat conftest.err >&5
32324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32325 (exit $ac_status); } &&
32326 { ac_try='test -z "$ac_cxx_werror_flag"
32327 || test ! -s conftest.err'
32328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32329 (eval $ac_try) 2>&5
32330 ac_status=$?
32331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32332 (exit $ac_status); }; } &&
32333 { ac_try='test -s conftest.$ac_objext'
32334 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32335 (eval $ac_try) 2>&5
32336 ac_status=$?
32337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32338 (exit $ac_status); }; }; then
32339 glibcxx_cv_func_copysign_use=yes
32340 else
32341 echo "$as_me: failed program was:" >&5
32342 sed 's/^/| /' conftest.$ac_ext >&5
32343
32344 glibcxx_cv_func_copysign_use=no
32345 fi
32346 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32347 ac_ext=c
32348 ac_cpp='$CPP $CPPFLAGS'
32349 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32350 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32351 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32352
32353
32354 fi
32355
32356 fi
32357 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysign_use" >&5
32358 echo "${ECHO_T}$glibcxx_cv_func_copysign_use" >&6
32359
32360 if test x$glibcxx_cv_func_copysign_use = x"yes"; then
32361
32362 for ac_func in copysign
32363 do
32364 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32365 echo "$as_me:$LINENO: checking for $ac_func" >&5
32366 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32367 if eval "test \"\${$as_ac_var+set}\" = set"; then
32368 echo $ECHO_N "(cached) $ECHO_C" >&6
32369 else
32370 if test x$gcc_no_link = xyes; then
32371 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32372 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32373 { (exit 1); exit 1; }; }
32374 fi
32375 cat >conftest.$ac_ext <<_ACEOF
32376 /* confdefs.h. */
32377 _ACEOF
32378 cat confdefs.h >>conftest.$ac_ext
32379 cat >>conftest.$ac_ext <<_ACEOF
32380 /* end confdefs.h. */
32381 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32382 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32383 #define $ac_func innocuous_$ac_func
32384
32385 /* System header to define __stub macros and hopefully few prototypes,
32386 which can conflict with char $ac_func (); below.
32387 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32388 <limits.h> exists even on freestanding compilers. */
32389
32390 #ifdef __STDC__
32391 # include <limits.h>
32392 #else
32393 # include <assert.h>
32394 #endif
32395
32396 #undef $ac_func
32397
32398 /* Override any gcc2 internal prototype to avoid an error. */
32399 #ifdef __cplusplus
32400 extern "C"
32401 {
32402 #endif
32403 /* We use char because int might match the return type of a gcc2
32404 builtin and then its argument prototype would still apply. */
32405 char $ac_func ();
32406 /* The GNU C library defines this for functions which it implements
32407 to always fail with ENOSYS. Some functions are actually named
32408 something starting with __ and the normal name is an alias. */
32409 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32410 choke me
32411 #else
32412 char (*f) () = $ac_func;
32413 #endif
32414 #ifdef __cplusplus
32415 }
32416 #endif
32417
32418 int
32419 main ()
32420 {
32421 return f != $ac_func;
32422 ;
32423 return 0;
32424 }
32425 _ACEOF
32426 rm -f conftest.$ac_objext conftest$ac_exeext
32427 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32428 (eval $ac_link) 2>conftest.er1
32429 ac_status=$?
32430 grep -v '^ *+' conftest.er1 >conftest.err
32431 rm -f conftest.er1
32432 cat conftest.err >&5
32433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32434 (exit $ac_status); } &&
32435 { ac_try='test -z "$ac_c_werror_flag"
32436 || test ! -s conftest.err'
32437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32438 (eval $ac_try) 2>&5
32439 ac_status=$?
32440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32441 (exit $ac_status); }; } &&
32442 { ac_try='test -s conftest$ac_exeext'
32443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32444 (eval $ac_try) 2>&5
32445 ac_status=$?
32446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32447 (exit $ac_status); }; }; then
32448 eval "$as_ac_var=yes"
32449 else
32450 echo "$as_me: failed program was:" >&5
32451 sed 's/^/| /' conftest.$ac_ext >&5
32452
32453 eval "$as_ac_var=no"
32454 fi
32455 rm -f conftest.err conftest.$ac_objext \
32456 conftest$ac_exeext conftest.$ac_ext
32457 fi
32458 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32459 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32460 if test `eval echo '${'$as_ac_var'}'` = yes; then
32461 cat >>confdefs.h <<_ACEOF
32462 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32463 _ACEOF
32464
32465 fi
32466 done
32467
32468 else
32469
32470 echo "$as_me:$LINENO: checking for _copysign declaration" >&5
32471 echo $ECHO_N "checking for _copysign declaration... $ECHO_C" >&6
32472 if test x${glibcxx_cv_func__copysign_use+set} != xset; then
32473 if test "${glibcxx_cv_func__copysign_use+set}" = set; then
32474 echo $ECHO_N "(cached) $ECHO_C" >&6
32475 else
32476
32477
32478
32479 ac_ext=cc
32480 ac_cpp='$CXXCPP $CPPFLAGS'
32481 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32482 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32483 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32484
32485 cat >conftest.$ac_ext <<_ACEOF
32486 /* confdefs.h. */
32487 _ACEOF
32488 cat confdefs.h >>conftest.$ac_ext
32489 cat >>conftest.$ac_ext <<_ACEOF
32490 /* end confdefs.h. */
32491 #include <math.h>
32492 int
32493 main ()
32494 {
32495 _copysign(0, 0);
32496 ;
32497 return 0;
32498 }
32499 _ACEOF
32500 rm -f conftest.$ac_objext
32501 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32502 (eval $ac_compile) 2>conftest.er1
32503 ac_status=$?
32504 grep -v '^ *+' conftest.er1 >conftest.err
32505 rm -f conftest.er1
32506 cat conftest.err >&5
32507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32508 (exit $ac_status); } &&
32509 { ac_try='test -z "$ac_cxx_werror_flag"
32510 || test ! -s conftest.err'
32511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32512 (eval $ac_try) 2>&5
32513 ac_status=$?
32514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32515 (exit $ac_status); }; } &&
32516 { ac_try='test -s conftest.$ac_objext'
32517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32518 (eval $ac_try) 2>&5
32519 ac_status=$?
32520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32521 (exit $ac_status); }; }; then
32522 glibcxx_cv_func__copysign_use=yes
32523 else
32524 echo "$as_me: failed program was:" >&5
32525 sed 's/^/| /' conftest.$ac_ext >&5
32526
32527 glibcxx_cv_func__copysign_use=no
32528 fi
32529 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32530 ac_ext=c
32531 ac_cpp='$CPP $CPPFLAGS'
32532 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32533 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32534 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32535
32536
32537 fi
32538
32539 fi
32540 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysign_use" >&5
32541 echo "${ECHO_T}$glibcxx_cv_func__copysign_use" >&6
32542
32543 if test x$glibcxx_cv_func__copysign_use = x"yes"; then
32544
32545 for ac_func in _copysign
32546 do
32547 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32548 echo "$as_me:$LINENO: checking for $ac_func" >&5
32549 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32550 if eval "test \"\${$as_ac_var+set}\" = set"; then
32551 echo $ECHO_N "(cached) $ECHO_C" >&6
32552 else
32553 if test x$gcc_no_link = xyes; then
32554 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32555 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32556 { (exit 1); exit 1; }; }
32557 fi
32558 cat >conftest.$ac_ext <<_ACEOF
32559 /* confdefs.h. */
32560 _ACEOF
32561 cat confdefs.h >>conftest.$ac_ext
32562 cat >>conftest.$ac_ext <<_ACEOF
32563 /* end confdefs.h. */
32564 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32565 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32566 #define $ac_func innocuous_$ac_func
32567
32568 /* System header to define __stub macros and hopefully few prototypes,
32569 which can conflict with char $ac_func (); below.
32570 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32571 <limits.h> exists even on freestanding compilers. */
32572
32573 #ifdef __STDC__
32574 # include <limits.h>
32575 #else
32576 # include <assert.h>
32577 #endif
32578
32579 #undef $ac_func
32580
32581 /* Override any gcc2 internal prototype to avoid an error. */
32582 #ifdef __cplusplus
32583 extern "C"
32584 {
32585 #endif
32586 /* We use char because int might match the return type of a gcc2
32587 builtin and then its argument prototype would still apply. */
32588 char $ac_func ();
32589 /* The GNU C library defines this for functions which it implements
32590 to always fail with ENOSYS. Some functions are actually named
32591 something starting with __ and the normal name is an alias. */
32592 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32593 choke me
32594 #else
32595 char (*f) () = $ac_func;
32596 #endif
32597 #ifdef __cplusplus
32598 }
32599 #endif
32600
32601 int
32602 main ()
32603 {
32604 return f != $ac_func;
32605 ;
32606 return 0;
32607 }
32608 _ACEOF
32609 rm -f conftest.$ac_objext conftest$ac_exeext
32610 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32611 (eval $ac_link) 2>conftest.er1
32612 ac_status=$?
32613 grep -v '^ *+' conftest.er1 >conftest.err
32614 rm -f conftest.er1
32615 cat conftest.err >&5
32616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32617 (exit $ac_status); } &&
32618 { ac_try='test -z "$ac_c_werror_flag"
32619 || test ! -s conftest.err'
32620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32621 (eval $ac_try) 2>&5
32622 ac_status=$?
32623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32624 (exit $ac_status); }; } &&
32625 { ac_try='test -s conftest$ac_exeext'
32626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32627 (eval $ac_try) 2>&5
32628 ac_status=$?
32629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32630 (exit $ac_status); }; }; then
32631 eval "$as_ac_var=yes"
32632 else
32633 echo "$as_me: failed program was:" >&5
32634 sed 's/^/| /' conftest.$ac_ext >&5
32635
32636 eval "$as_ac_var=no"
32637 fi
32638 rm -f conftest.err conftest.$ac_objext \
32639 conftest$ac_exeext conftest.$ac_ext
32640 fi
32641 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32642 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32643 if test `eval echo '${'$as_ac_var'}'` = yes; then
32644 cat >>confdefs.h <<_ACEOF
32645 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32646 _ACEOF
32647
32648 fi
32649 done
32650
32651 fi
32652 fi
32653
32654
32655
32656
32657
32658
32659 echo "$as_me:$LINENO: checking for sincos declaration" >&5
32660 echo $ECHO_N "checking for sincos declaration... $ECHO_C" >&6
32661 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
32662 if test "${glibcxx_cv_func_sincos_use+set}" = set; then
32663 echo $ECHO_N "(cached) $ECHO_C" >&6
32664 else
32665
32666
32667
32668 ac_ext=cc
32669 ac_cpp='$CXXCPP $CPPFLAGS'
32670 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32671 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32672 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32673
32674 cat >conftest.$ac_ext <<_ACEOF
32675 /* confdefs.h. */
32676 _ACEOF
32677 cat confdefs.h >>conftest.$ac_ext
32678 cat >>conftest.$ac_ext <<_ACEOF
32679 /* end confdefs.h. */
32680 #include <math.h>
32681 int
32682 main ()
32683 {
32684 sincos(0, 0, 0);
32685 ;
32686 return 0;
32687 }
32688 _ACEOF
32689 rm -f conftest.$ac_objext
32690 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32691 (eval $ac_compile) 2>conftest.er1
32692 ac_status=$?
32693 grep -v '^ *+' conftest.er1 >conftest.err
32694 rm -f conftest.er1
32695 cat conftest.err >&5
32696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32697 (exit $ac_status); } &&
32698 { ac_try='test -z "$ac_cxx_werror_flag"
32699 || test ! -s conftest.err'
32700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32701 (eval $ac_try) 2>&5
32702 ac_status=$?
32703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32704 (exit $ac_status); }; } &&
32705 { ac_try='test -s conftest.$ac_objext'
32706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32707 (eval $ac_try) 2>&5
32708 ac_status=$?
32709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32710 (exit $ac_status); }; }; then
32711 glibcxx_cv_func_sincos_use=yes
32712 else
32713 echo "$as_me: failed program was:" >&5
32714 sed 's/^/| /' conftest.$ac_ext >&5
32715
32716 glibcxx_cv_func_sincos_use=no
32717 fi
32718 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32719 ac_ext=c
32720 ac_cpp='$CPP $CPPFLAGS'
32721 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32722 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32723 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32724
32725
32726 fi
32727
32728 fi
32729 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincos_use" >&5
32730 echo "${ECHO_T}$glibcxx_cv_func_sincos_use" >&6
32731
32732 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
32733
32734 for ac_func in sincos
32735 do
32736 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32737 echo "$as_me:$LINENO: checking for $ac_func" >&5
32738 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32739 if eval "test \"\${$as_ac_var+set}\" = set"; then
32740 echo $ECHO_N "(cached) $ECHO_C" >&6
32741 else
32742 if test x$gcc_no_link = xyes; then
32743 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32744 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32745 { (exit 1); exit 1; }; }
32746 fi
32747 cat >conftest.$ac_ext <<_ACEOF
32748 /* confdefs.h. */
32749 _ACEOF
32750 cat confdefs.h >>conftest.$ac_ext
32751 cat >>conftest.$ac_ext <<_ACEOF
32752 /* end confdefs.h. */
32753 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32754 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32755 #define $ac_func innocuous_$ac_func
32756
32757 /* System header to define __stub macros and hopefully few prototypes,
32758 which can conflict with char $ac_func (); below.
32759 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32760 <limits.h> exists even on freestanding compilers. */
32761
32762 #ifdef __STDC__
32763 # include <limits.h>
32764 #else
32765 # include <assert.h>
32766 #endif
32767
32768 #undef $ac_func
32769
32770 /* Override any gcc2 internal prototype to avoid an error. */
32771 #ifdef __cplusplus
32772 extern "C"
32773 {
32774 #endif
32775 /* We use char because int might match the return type of a gcc2
32776 builtin and then its argument prototype would still apply. */
32777 char $ac_func ();
32778 /* The GNU C library defines this for functions which it implements
32779 to always fail with ENOSYS. Some functions are actually named
32780 something starting with __ and the normal name is an alias. */
32781 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32782 choke me
32783 #else
32784 char (*f) () = $ac_func;
32785 #endif
32786 #ifdef __cplusplus
32787 }
32788 #endif
32789
32790 int
32791 main ()
32792 {
32793 return f != $ac_func;
32794 ;
32795 return 0;
32796 }
32797 _ACEOF
32798 rm -f conftest.$ac_objext conftest$ac_exeext
32799 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32800 (eval $ac_link) 2>conftest.er1
32801 ac_status=$?
32802 grep -v '^ *+' conftest.er1 >conftest.err
32803 rm -f conftest.er1
32804 cat conftest.err >&5
32805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32806 (exit $ac_status); } &&
32807 { ac_try='test -z "$ac_c_werror_flag"
32808 || test ! -s conftest.err'
32809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32810 (eval $ac_try) 2>&5
32811 ac_status=$?
32812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32813 (exit $ac_status); }; } &&
32814 { ac_try='test -s conftest$ac_exeext'
32815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32816 (eval $ac_try) 2>&5
32817 ac_status=$?
32818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32819 (exit $ac_status); }; }; then
32820 eval "$as_ac_var=yes"
32821 else
32822 echo "$as_me: failed program was:" >&5
32823 sed 's/^/| /' conftest.$ac_ext >&5
32824
32825 eval "$as_ac_var=no"
32826 fi
32827 rm -f conftest.err conftest.$ac_objext \
32828 conftest$ac_exeext conftest.$ac_ext
32829 fi
32830 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32831 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32832 if test `eval echo '${'$as_ac_var'}'` = yes; then
32833 cat >>confdefs.h <<_ACEOF
32834 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32835 _ACEOF
32836
32837 fi
32838 done
32839
32840 else
32841
32842 echo "$as_me:$LINENO: checking for _sincos declaration" >&5
32843 echo $ECHO_N "checking for _sincos declaration... $ECHO_C" >&6
32844 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
32845 if test "${glibcxx_cv_func__sincos_use+set}" = set; then
32846 echo $ECHO_N "(cached) $ECHO_C" >&6
32847 else
32848
32849
32850
32851 ac_ext=cc
32852 ac_cpp='$CXXCPP $CPPFLAGS'
32853 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32854 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32855 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32856
32857 cat >conftest.$ac_ext <<_ACEOF
32858 /* confdefs.h. */
32859 _ACEOF
32860 cat confdefs.h >>conftest.$ac_ext
32861 cat >>conftest.$ac_ext <<_ACEOF
32862 /* end confdefs.h. */
32863 #include <math.h>
32864 int
32865 main ()
32866 {
32867 _sincos(0, 0, 0);
32868 ;
32869 return 0;
32870 }
32871 _ACEOF
32872 rm -f conftest.$ac_objext
32873 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32874 (eval $ac_compile) 2>conftest.er1
32875 ac_status=$?
32876 grep -v '^ *+' conftest.er1 >conftest.err
32877 rm -f conftest.er1
32878 cat conftest.err >&5
32879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32880 (exit $ac_status); } &&
32881 { ac_try='test -z "$ac_cxx_werror_flag"
32882 || test ! -s conftest.err'
32883 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32884 (eval $ac_try) 2>&5
32885 ac_status=$?
32886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32887 (exit $ac_status); }; } &&
32888 { ac_try='test -s conftest.$ac_objext'
32889 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32890 (eval $ac_try) 2>&5
32891 ac_status=$?
32892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32893 (exit $ac_status); }; }; then
32894 glibcxx_cv_func__sincos_use=yes
32895 else
32896 echo "$as_me: failed program was:" >&5
32897 sed 's/^/| /' conftest.$ac_ext >&5
32898
32899 glibcxx_cv_func__sincos_use=no
32900 fi
32901 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32902 ac_ext=c
32903 ac_cpp='$CPP $CPPFLAGS'
32904 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32905 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32906 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32907
32908
32909 fi
32910
32911 fi
32912 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincos_use" >&5
32913 echo "${ECHO_T}$glibcxx_cv_func__sincos_use" >&6
32914
32915 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
32916
32917 for ac_func in _sincos
32918 do
32919 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32920 echo "$as_me:$LINENO: checking for $ac_func" >&5
32921 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32922 if eval "test \"\${$as_ac_var+set}\" = set"; then
32923 echo $ECHO_N "(cached) $ECHO_C" >&6
32924 else
32925 if test x$gcc_no_link = xyes; then
32926 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32927 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32928 { (exit 1); exit 1; }; }
32929 fi
32930 cat >conftest.$ac_ext <<_ACEOF
32931 /* confdefs.h. */
32932 _ACEOF
32933 cat confdefs.h >>conftest.$ac_ext
32934 cat >>conftest.$ac_ext <<_ACEOF
32935 /* end confdefs.h. */
32936 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32937 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32938 #define $ac_func innocuous_$ac_func
32939
32940 /* System header to define __stub macros and hopefully few prototypes,
32941 which can conflict with char $ac_func (); below.
32942 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32943 <limits.h> exists even on freestanding compilers. */
32944
32945 #ifdef __STDC__
32946 # include <limits.h>
32947 #else
32948 # include <assert.h>
32949 #endif
32950
32951 #undef $ac_func
32952
32953 /* Override any gcc2 internal prototype to avoid an error. */
32954 #ifdef __cplusplus
32955 extern "C"
32956 {
32957 #endif
32958 /* We use char because int might match the return type of a gcc2
32959 builtin and then its argument prototype would still apply. */
32960 char $ac_func ();
32961 /* The GNU C library defines this for functions which it implements
32962 to always fail with ENOSYS. Some functions are actually named
32963 something starting with __ and the normal name is an alias. */
32964 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32965 choke me
32966 #else
32967 char (*f) () = $ac_func;
32968 #endif
32969 #ifdef __cplusplus
32970 }
32971 #endif
32972
32973 int
32974 main ()
32975 {
32976 return f != $ac_func;
32977 ;
32978 return 0;
32979 }
32980 _ACEOF
32981 rm -f conftest.$ac_objext conftest$ac_exeext
32982 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32983 (eval $ac_link) 2>conftest.er1
32984 ac_status=$?
32985 grep -v '^ *+' conftest.er1 >conftest.err
32986 rm -f conftest.er1
32987 cat conftest.err >&5
32988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32989 (exit $ac_status); } &&
32990 { ac_try='test -z "$ac_c_werror_flag"
32991 || test ! -s conftest.err'
32992 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32993 (eval $ac_try) 2>&5
32994 ac_status=$?
32995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32996 (exit $ac_status); }; } &&
32997 { ac_try='test -s conftest$ac_exeext'
32998 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32999 (eval $ac_try) 2>&5
33000 ac_status=$?
33001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33002 (exit $ac_status); }; }; then
33003 eval "$as_ac_var=yes"
33004 else
33005 echo "$as_me: failed program was:" >&5
33006 sed 's/^/| /' conftest.$ac_ext >&5
33007
33008 eval "$as_ac_var=no"
33009 fi
33010 rm -f conftest.err conftest.$ac_objext \
33011 conftest$ac_exeext conftest.$ac_ext
33012 fi
33013 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33014 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33015 if test `eval echo '${'$as_ac_var'}'` = yes; then
33016 cat >>confdefs.h <<_ACEOF
33017 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33018 _ACEOF
33019
33020 fi
33021 done
33022
33023 fi
33024 fi
33025
33026
33027
33028
33029
33030
33031 echo "$as_me:$LINENO: checking for fpclass declaration" >&5
33032 echo $ECHO_N "checking for fpclass declaration... $ECHO_C" >&6
33033 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
33034 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then
33035 echo $ECHO_N "(cached) $ECHO_C" >&6
33036 else
33037
33038
33039
33040 ac_ext=cc
33041 ac_cpp='$CXXCPP $CPPFLAGS'
33042 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33043 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33044 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33045
33046 cat >conftest.$ac_ext <<_ACEOF
33047 /* confdefs.h. */
33048 _ACEOF
33049 cat confdefs.h >>conftest.$ac_ext
33050 cat >>conftest.$ac_ext <<_ACEOF
33051 /* end confdefs.h. */
33052 #include <math.h>
33053 #ifdef HAVE_IEEEFP_H
33054 #include <ieeefp.h>
33055 #endif
33056
33057 int
33058 main ()
33059 {
33060 fpclass(0);
33061 ;
33062 return 0;
33063 }
33064 _ACEOF
33065 rm -f conftest.$ac_objext
33066 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33067 (eval $ac_compile) 2>conftest.er1
33068 ac_status=$?
33069 grep -v '^ *+' conftest.er1 >conftest.err
33070 rm -f conftest.er1
33071 cat conftest.err >&5
33072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33073 (exit $ac_status); } &&
33074 { ac_try='test -z "$ac_cxx_werror_flag"
33075 || test ! -s conftest.err'
33076 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33077 (eval $ac_try) 2>&5
33078 ac_status=$?
33079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33080 (exit $ac_status); }; } &&
33081 { ac_try='test -s conftest.$ac_objext'
33082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33083 (eval $ac_try) 2>&5
33084 ac_status=$?
33085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33086 (exit $ac_status); }; }; then
33087 glibcxx_cv_func_fpclass_use=yes
33088 else
33089 echo "$as_me: failed program was:" >&5
33090 sed 's/^/| /' conftest.$ac_ext >&5
33091
33092 glibcxx_cv_func_fpclass_use=no
33093 fi
33094 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33095 ac_ext=c
33096 ac_cpp='$CPP $CPPFLAGS'
33097 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33098 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33099 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33100
33101
33102 fi
33103
33104 fi
33105 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fpclass_use" >&5
33106 echo "${ECHO_T}$glibcxx_cv_func_fpclass_use" >&6
33107
33108 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
33109
33110 for ac_func in fpclass
33111 do
33112 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33113 echo "$as_me:$LINENO: checking for $ac_func" >&5
33114 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33115 if eval "test \"\${$as_ac_var+set}\" = set"; then
33116 echo $ECHO_N "(cached) $ECHO_C" >&6
33117 else
33118 if test x$gcc_no_link = xyes; then
33119 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33120 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33121 { (exit 1); exit 1; }; }
33122 fi
33123 cat >conftest.$ac_ext <<_ACEOF
33124 /* confdefs.h. */
33125 _ACEOF
33126 cat confdefs.h >>conftest.$ac_ext
33127 cat >>conftest.$ac_ext <<_ACEOF
33128 /* end confdefs.h. */
33129 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33130 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33131 #define $ac_func innocuous_$ac_func
33132
33133 /* System header to define __stub macros and hopefully few prototypes,
33134 which can conflict with char $ac_func (); below.
33135 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33136 <limits.h> exists even on freestanding compilers. */
33137
33138 #ifdef __STDC__
33139 # include <limits.h>
33140 #else
33141 # include <assert.h>
33142 #endif
33143
33144 #undef $ac_func
33145
33146 /* Override any gcc2 internal prototype to avoid an error. */
33147 #ifdef __cplusplus
33148 extern "C"
33149 {
33150 #endif
33151 /* We use char because int might match the return type of a gcc2
33152 builtin and then its argument prototype would still apply. */
33153 char $ac_func ();
33154 /* The GNU C library defines this for functions which it implements
33155 to always fail with ENOSYS. Some functions are actually named
33156 something starting with __ and the normal name is an alias. */
33157 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33158 choke me
33159 #else
33160 char (*f) () = $ac_func;
33161 #endif
33162 #ifdef __cplusplus
33163 }
33164 #endif
33165
33166 int
33167 main ()
33168 {
33169 return f != $ac_func;
33170 ;
33171 return 0;
33172 }
33173 _ACEOF
33174 rm -f conftest.$ac_objext conftest$ac_exeext
33175 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33176 (eval $ac_link) 2>conftest.er1
33177 ac_status=$?
33178 grep -v '^ *+' conftest.er1 >conftest.err
33179 rm -f conftest.er1
33180 cat conftest.err >&5
33181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33182 (exit $ac_status); } &&
33183 { ac_try='test -z "$ac_c_werror_flag"
33184 || test ! -s conftest.err'
33185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33186 (eval $ac_try) 2>&5
33187 ac_status=$?
33188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33189 (exit $ac_status); }; } &&
33190 { ac_try='test -s conftest$ac_exeext'
33191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33192 (eval $ac_try) 2>&5
33193 ac_status=$?
33194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33195 (exit $ac_status); }; }; then
33196 eval "$as_ac_var=yes"
33197 else
33198 echo "$as_me: failed program was:" >&5
33199 sed 's/^/| /' conftest.$ac_ext >&5
33200
33201 eval "$as_ac_var=no"
33202 fi
33203 rm -f conftest.err conftest.$ac_objext \
33204 conftest$ac_exeext conftest.$ac_ext
33205 fi
33206 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33207 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33208 if test `eval echo '${'$as_ac_var'}'` = yes; then
33209 cat >>confdefs.h <<_ACEOF
33210 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33211 _ACEOF
33212
33213 fi
33214 done
33215
33216 else
33217
33218 echo "$as_me:$LINENO: checking for _fpclass declaration" >&5
33219 echo $ECHO_N "checking for _fpclass declaration... $ECHO_C" >&6
33220 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
33221 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then
33222 echo $ECHO_N "(cached) $ECHO_C" >&6
33223 else
33224
33225
33226
33227 ac_ext=cc
33228 ac_cpp='$CXXCPP $CPPFLAGS'
33229 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33230 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33231 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33232
33233 cat >conftest.$ac_ext <<_ACEOF
33234 /* confdefs.h. */
33235 _ACEOF
33236 cat confdefs.h >>conftest.$ac_ext
33237 cat >>conftest.$ac_ext <<_ACEOF
33238 /* end confdefs.h. */
33239 #include <math.h>
33240 #ifdef HAVE_IEEEFP_H
33241 #include <ieeefp.h>
33242 #endif
33243
33244 int
33245 main ()
33246 {
33247 _fpclass(0);
33248 ;
33249 return 0;
33250 }
33251 _ACEOF
33252 rm -f conftest.$ac_objext
33253 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33254 (eval $ac_compile) 2>conftest.er1
33255 ac_status=$?
33256 grep -v '^ *+' conftest.er1 >conftest.err
33257 rm -f conftest.er1
33258 cat conftest.err >&5
33259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33260 (exit $ac_status); } &&
33261 { ac_try='test -z "$ac_cxx_werror_flag"
33262 || test ! -s conftest.err'
33263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33264 (eval $ac_try) 2>&5
33265 ac_status=$?
33266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33267 (exit $ac_status); }; } &&
33268 { ac_try='test -s conftest.$ac_objext'
33269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33270 (eval $ac_try) 2>&5
33271 ac_status=$?
33272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33273 (exit $ac_status); }; }; then
33274 glibcxx_cv_func__fpclass_use=yes
33275 else
33276 echo "$as_me: failed program was:" >&5
33277 sed 's/^/| /' conftest.$ac_ext >&5
33278
33279 glibcxx_cv_func__fpclass_use=no
33280 fi
33281 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33282 ac_ext=c
33283 ac_cpp='$CPP $CPPFLAGS'
33284 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33285 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33286 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33287
33288
33289 fi
33290
33291 fi
33292 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fpclass_use" >&5
33293 echo "${ECHO_T}$glibcxx_cv_func__fpclass_use" >&6
33294
33295 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
33296
33297 for ac_func in _fpclass
33298 do
33299 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33300 echo "$as_me:$LINENO: checking for $ac_func" >&5
33301 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33302 if eval "test \"\${$as_ac_var+set}\" = set"; then
33303 echo $ECHO_N "(cached) $ECHO_C" >&6
33304 else
33305 if test x$gcc_no_link = xyes; then
33306 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33307 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33308 { (exit 1); exit 1; }; }
33309 fi
33310 cat >conftest.$ac_ext <<_ACEOF
33311 /* confdefs.h. */
33312 _ACEOF
33313 cat confdefs.h >>conftest.$ac_ext
33314 cat >>conftest.$ac_ext <<_ACEOF
33315 /* end confdefs.h. */
33316 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33317 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33318 #define $ac_func innocuous_$ac_func
33319
33320 /* System header to define __stub macros and hopefully few prototypes,
33321 which can conflict with char $ac_func (); below.
33322 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33323 <limits.h> exists even on freestanding compilers. */
33324
33325 #ifdef __STDC__
33326 # include <limits.h>
33327 #else
33328 # include <assert.h>
33329 #endif
33330
33331 #undef $ac_func
33332
33333 /* Override any gcc2 internal prototype to avoid an error. */
33334 #ifdef __cplusplus
33335 extern "C"
33336 {
33337 #endif
33338 /* We use char because int might match the return type of a gcc2
33339 builtin and then its argument prototype would still apply. */
33340 char $ac_func ();
33341 /* The GNU C library defines this for functions which it implements
33342 to always fail with ENOSYS. Some functions are actually named
33343 something starting with __ and the normal name is an alias. */
33344 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33345 choke me
33346 #else
33347 char (*f) () = $ac_func;
33348 #endif
33349 #ifdef __cplusplus
33350 }
33351 #endif
33352
33353 int
33354 main ()
33355 {
33356 return f != $ac_func;
33357 ;
33358 return 0;
33359 }
33360 _ACEOF
33361 rm -f conftest.$ac_objext conftest$ac_exeext
33362 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33363 (eval $ac_link) 2>conftest.er1
33364 ac_status=$?
33365 grep -v '^ *+' conftest.er1 >conftest.err
33366 rm -f conftest.er1
33367 cat conftest.err >&5
33368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33369 (exit $ac_status); } &&
33370 { ac_try='test -z "$ac_c_werror_flag"
33371 || test ! -s conftest.err'
33372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33373 (eval $ac_try) 2>&5
33374 ac_status=$?
33375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33376 (exit $ac_status); }; } &&
33377 { ac_try='test -s conftest$ac_exeext'
33378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33379 (eval $ac_try) 2>&5
33380 ac_status=$?
33381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33382 (exit $ac_status); }; }; then
33383 eval "$as_ac_var=yes"
33384 else
33385 echo "$as_me: failed program was:" >&5
33386 sed 's/^/| /' conftest.$ac_ext >&5
33387
33388 eval "$as_ac_var=no"
33389 fi
33390 rm -f conftest.err conftest.$ac_objext \
33391 conftest$ac_exeext conftest.$ac_ext
33392 fi
33393 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33394 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33395 if test `eval echo '${'$as_ac_var'}'` = yes; then
33396 cat >>confdefs.h <<_ACEOF
33397 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33398 _ACEOF
33399
33400 fi
33401 done
33402
33403 fi
33404 fi
33405
33406
33407
33408
33409
33410
33411 echo "$as_me:$LINENO: checking for qfpclass declaration" >&5
33412 echo $ECHO_N "checking for qfpclass declaration... $ECHO_C" >&6
33413 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
33414 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then
33415 echo $ECHO_N "(cached) $ECHO_C" >&6
33416 else
33417
33418
33419
33420 ac_ext=cc
33421 ac_cpp='$CXXCPP $CPPFLAGS'
33422 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33423 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33424 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33425
33426 cat >conftest.$ac_ext <<_ACEOF
33427 /* confdefs.h. */
33428 _ACEOF
33429 cat confdefs.h >>conftest.$ac_ext
33430 cat >>conftest.$ac_ext <<_ACEOF
33431 /* end confdefs.h. */
33432 #include <math.h>
33433 #ifdef HAVE_IEEEFP_H
33434 #include <ieeefp.h>
33435 #endif
33436
33437 int
33438 main ()
33439 {
33440 qfpclass(0);
33441 ;
33442 return 0;
33443 }
33444 _ACEOF
33445 rm -f conftest.$ac_objext
33446 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33447 (eval $ac_compile) 2>conftest.er1
33448 ac_status=$?
33449 grep -v '^ *+' conftest.er1 >conftest.err
33450 rm -f conftest.er1
33451 cat conftest.err >&5
33452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33453 (exit $ac_status); } &&
33454 { ac_try='test -z "$ac_cxx_werror_flag"
33455 || test ! -s conftest.err'
33456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33457 (eval $ac_try) 2>&5
33458 ac_status=$?
33459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33460 (exit $ac_status); }; } &&
33461 { ac_try='test -s conftest.$ac_objext'
33462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33463 (eval $ac_try) 2>&5
33464 ac_status=$?
33465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33466 (exit $ac_status); }; }; then
33467 glibcxx_cv_func_qfpclass_use=yes
33468 else
33469 echo "$as_me: failed program was:" >&5
33470 sed 's/^/| /' conftest.$ac_ext >&5
33471
33472 glibcxx_cv_func_qfpclass_use=no
33473 fi
33474 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33475 ac_ext=c
33476 ac_cpp='$CPP $CPPFLAGS'
33477 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33478 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33479 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33480
33481
33482 fi
33483
33484 fi
33485 echo "$as_me:$LINENO: result: $glibcxx_cv_func_qfpclass_use" >&5
33486 echo "${ECHO_T}$glibcxx_cv_func_qfpclass_use" >&6
33487
33488 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
33489
33490 for ac_func in qfpclass
33491 do
33492 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33493 echo "$as_me:$LINENO: checking for $ac_func" >&5
33494 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33495 if eval "test \"\${$as_ac_var+set}\" = set"; then
33496 echo $ECHO_N "(cached) $ECHO_C" >&6
33497 else
33498 if test x$gcc_no_link = xyes; then
33499 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33500 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33501 { (exit 1); exit 1; }; }
33502 fi
33503 cat >conftest.$ac_ext <<_ACEOF
33504 /* confdefs.h. */
33505 _ACEOF
33506 cat confdefs.h >>conftest.$ac_ext
33507 cat >>conftest.$ac_ext <<_ACEOF
33508 /* end confdefs.h. */
33509 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33510 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33511 #define $ac_func innocuous_$ac_func
33512
33513 /* System header to define __stub macros and hopefully few prototypes,
33514 which can conflict with char $ac_func (); below.
33515 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33516 <limits.h> exists even on freestanding compilers. */
33517
33518 #ifdef __STDC__
33519 # include <limits.h>
33520 #else
33521 # include <assert.h>
33522 #endif
33523
33524 #undef $ac_func
33525
33526 /* Override any gcc2 internal prototype to avoid an error. */
33527 #ifdef __cplusplus
33528 extern "C"
33529 {
33530 #endif
33531 /* We use char because int might match the return type of a gcc2
33532 builtin and then its argument prototype would still apply. */
33533 char $ac_func ();
33534 /* The GNU C library defines this for functions which it implements
33535 to always fail with ENOSYS. Some functions are actually named
33536 something starting with __ and the normal name is an alias. */
33537 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33538 choke me
33539 #else
33540 char (*f) () = $ac_func;
33541 #endif
33542 #ifdef __cplusplus
33543 }
33544 #endif
33545
33546 int
33547 main ()
33548 {
33549 return f != $ac_func;
33550 ;
33551 return 0;
33552 }
33553 _ACEOF
33554 rm -f conftest.$ac_objext conftest$ac_exeext
33555 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33556 (eval $ac_link) 2>conftest.er1
33557 ac_status=$?
33558 grep -v '^ *+' conftest.er1 >conftest.err
33559 rm -f conftest.er1
33560 cat conftest.err >&5
33561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33562 (exit $ac_status); } &&
33563 { ac_try='test -z "$ac_c_werror_flag"
33564 || test ! -s conftest.err'
33565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33566 (eval $ac_try) 2>&5
33567 ac_status=$?
33568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33569 (exit $ac_status); }; } &&
33570 { ac_try='test -s conftest$ac_exeext'
33571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33572 (eval $ac_try) 2>&5
33573 ac_status=$?
33574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33575 (exit $ac_status); }; }; then
33576 eval "$as_ac_var=yes"
33577 else
33578 echo "$as_me: failed program was:" >&5
33579 sed 's/^/| /' conftest.$ac_ext >&5
33580
33581 eval "$as_ac_var=no"
33582 fi
33583 rm -f conftest.err conftest.$ac_objext \
33584 conftest$ac_exeext conftest.$ac_ext
33585 fi
33586 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33587 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33588 if test `eval echo '${'$as_ac_var'}'` = yes; then
33589 cat >>confdefs.h <<_ACEOF
33590 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33591 _ACEOF
33592
33593 fi
33594 done
33595
33596 else
33597
33598 echo "$as_me:$LINENO: checking for _qfpclass declaration" >&5
33599 echo $ECHO_N "checking for _qfpclass declaration... $ECHO_C" >&6
33600 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
33601 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then
33602 echo $ECHO_N "(cached) $ECHO_C" >&6
33603 else
33604
33605
33606
33607 ac_ext=cc
33608 ac_cpp='$CXXCPP $CPPFLAGS'
33609 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33610 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33611 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33612
33613 cat >conftest.$ac_ext <<_ACEOF
33614 /* confdefs.h. */
33615 _ACEOF
33616 cat confdefs.h >>conftest.$ac_ext
33617 cat >>conftest.$ac_ext <<_ACEOF
33618 /* end confdefs.h. */
33619 #include <math.h>
33620 #ifdef HAVE_IEEEFP_H
33621 #include <ieeefp.h>
33622 #endif
33623
33624 int
33625 main ()
33626 {
33627 _qfpclass(0);
33628 ;
33629 return 0;
33630 }
33631 _ACEOF
33632 rm -f conftest.$ac_objext
33633 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33634 (eval $ac_compile) 2>conftest.er1
33635 ac_status=$?
33636 grep -v '^ *+' conftest.er1 >conftest.err
33637 rm -f conftest.er1
33638 cat conftest.err >&5
33639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33640 (exit $ac_status); } &&
33641 { ac_try='test -z "$ac_cxx_werror_flag"
33642 || test ! -s conftest.err'
33643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33644 (eval $ac_try) 2>&5
33645 ac_status=$?
33646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33647 (exit $ac_status); }; } &&
33648 { ac_try='test -s conftest.$ac_objext'
33649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33650 (eval $ac_try) 2>&5
33651 ac_status=$?
33652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33653 (exit $ac_status); }; }; then
33654 glibcxx_cv_func__qfpclass_use=yes
33655 else
33656 echo "$as_me: failed program was:" >&5
33657 sed 's/^/| /' conftest.$ac_ext >&5
33658
33659 glibcxx_cv_func__qfpclass_use=no
33660 fi
33661 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33662 ac_ext=c
33663 ac_cpp='$CPP $CPPFLAGS'
33664 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33665 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33666 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33667
33668
33669 fi
33670
33671 fi
33672 echo "$as_me:$LINENO: result: $glibcxx_cv_func__qfpclass_use" >&5
33673 echo "${ECHO_T}$glibcxx_cv_func__qfpclass_use" >&6
33674
33675 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
33676
33677 for ac_func in _qfpclass
33678 do
33679 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33680 echo "$as_me:$LINENO: checking for $ac_func" >&5
33681 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33682 if eval "test \"\${$as_ac_var+set}\" = set"; then
33683 echo $ECHO_N "(cached) $ECHO_C" >&6
33684 else
33685 if test x$gcc_no_link = xyes; then
33686 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33687 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33688 { (exit 1); exit 1; }; }
33689 fi
33690 cat >conftest.$ac_ext <<_ACEOF
33691 /* confdefs.h. */
33692 _ACEOF
33693 cat confdefs.h >>conftest.$ac_ext
33694 cat >>conftest.$ac_ext <<_ACEOF
33695 /* end confdefs.h. */
33696 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33697 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33698 #define $ac_func innocuous_$ac_func
33699
33700 /* System header to define __stub macros and hopefully few prototypes,
33701 which can conflict with char $ac_func (); below.
33702 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33703 <limits.h> exists even on freestanding compilers. */
33704
33705 #ifdef __STDC__
33706 # include <limits.h>
33707 #else
33708 # include <assert.h>
33709 #endif
33710
33711 #undef $ac_func
33712
33713 /* Override any gcc2 internal prototype to avoid an error. */
33714 #ifdef __cplusplus
33715 extern "C"
33716 {
33717 #endif
33718 /* We use char because int might match the return type of a gcc2
33719 builtin and then its argument prototype would still apply. */
33720 char $ac_func ();
33721 /* The GNU C library defines this for functions which it implements
33722 to always fail with ENOSYS. Some functions are actually named
33723 something starting with __ and the normal name is an alias. */
33724 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33725 choke me
33726 #else
33727 char (*f) () = $ac_func;
33728 #endif
33729 #ifdef __cplusplus
33730 }
33731 #endif
33732
33733 int
33734 main ()
33735 {
33736 return f != $ac_func;
33737 ;
33738 return 0;
33739 }
33740 _ACEOF
33741 rm -f conftest.$ac_objext conftest$ac_exeext
33742 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33743 (eval $ac_link) 2>conftest.er1
33744 ac_status=$?
33745 grep -v '^ *+' conftest.er1 >conftest.err
33746 rm -f conftest.er1
33747 cat conftest.err >&5
33748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33749 (exit $ac_status); } &&
33750 { ac_try='test -z "$ac_c_werror_flag"
33751 || test ! -s conftest.err'
33752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33753 (eval $ac_try) 2>&5
33754 ac_status=$?
33755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33756 (exit $ac_status); }; } &&
33757 { ac_try='test -s conftest$ac_exeext'
33758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33759 (eval $ac_try) 2>&5
33760 ac_status=$?
33761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33762 (exit $ac_status); }; }; then
33763 eval "$as_ac_var=yes"
33764 else
33765 echo "$as_me: failed program was:" >&5
33766 sed 's/^/| /' conftest.$ac_ext >&5
33767
33768 eval "$as_ac_var=no"
33769 fi
33770 rm -f conftest.err conftest.$ac_objext \
33771 conftest$ac_exeext conftest.$ac_ext
33772 fi
33773 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33774 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33775 if test `eval echo '${'$as_ac_var'}'` = yes; then
33776 cat >>confdefs.h <<_ACEOF
33777 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33778 _ACEOF
33779
33780 fi
33781 done
33782
33783 fi
33784 fi
33785
33786
33787
33788
33789
33790
33791 echo "$as_me:$LINENO: checking for hypot declaration" >&5
33792 echo $ECHO_N "checking for hypot declaration... $ECHO_C" >&6
33793 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
33794 if test "${glibcxx_cv_func_hypot_use+set}" = set; then
33795 echo $ECHO_N "(cached) $ECHO_C" >&6
33796 else
33797
33798
33799
33800 ac_ext=cc
33801 ac_cpp='$CXXCPP $CPPFLAGS'
33802 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33803 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33804 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33805
33806 cat >conftest.$ac_ext <<_ACEOF
33807 /* confdefs.h. */
33808 _ACEOF
33809 cat confdefs.h >>conftest.$ac_ext
33810 cat >>conftest.$ac_ext <<_ACEOF
33811 /* end confdefs.h. */
33812 #include <math.h>
33813 int
33814 main ()
33815 {
33816 hypot(0, 0);
33817 ;
33818 return 0;
33819 }
33820 _ACEOF
33821 rm -f conftest.$ac_objext
33822 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33823 (eval $ac_compile) 2>conftest.er1
33824 ac_status=$?
33825 grep -v '^ *+' conftest.er1 >conftest.err
33826 rm -f conftest.er1
33827 cat conftest.err >&5
33828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33829 (exit $ac_status); } &&
33830 { ac_try='test -z "$ac_cxx_werror_flag"
33831 || test ! -s conftest.err'
33832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33833 (eval $ac_try) 2>&5
33834 ac_status=$?
33835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33836 (exit $ac_status); }; } &&
33837 { ac_try='test -s conftest.$ac_objext'
33838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33839 (eval $ac_try) 2>&5
33840 ac_status=$?
33841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33842 (exit $ac_status); }; }; then
33843 glibcxx_cv_func_hypot_use=yes
33844 else
33845 echo "$as_me: failed program was:" >&5
33846 sed 's/^/| /' conftest.$ac_ext >&5
33847
33848 glibcxx_cv_func_hypot_use=no
33849 fi
33850 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33851 ac_ext=c
33852 ac_cpp='$CPP $CPPFLAGS'
33853 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33854 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33855 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33856
33857
33858 fi
33859
33860 fi
33861 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypot_use" >&5
33862 echo "${ECHO_T}$glibcxx_cv_func_hypot_use" >&6
33863
33864 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
33865
33866 for ac_func in hypot
33867 do
33868 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33869 echo "$as_me:$LINENO: checking for $ac_func" >&5
33870 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33871 if eval "test \"\${$as_ac_var+set}\" = set"; then
33872 echo $ECHO_N "(cached) $ECHO_C" >&6
33873 else
33874 if test x$gcc_no_link = xyes; then
33875 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33876 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33877 { (exit 1); exit 1; }; }
33878 fi
33879 cat >conftest.$ac_ext <<_ACEOF
33880 /* confdefs.h. */
33881 _ACEOF
33882 cat confdefs.h >>conftest.$ac_ext
33883 cat >>conftest.$ac_ext <<_ACEOF
33884 /* end confdefs.h. */
33885 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33886 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33887 #define $ac_func innocuous_$ac_func
33888
33889 /* System header to define __stub macros and hopefully few prototypes,
33890 which can conflict with char $ac_func (); below.
33891 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33892 <limits.h> exists even on freestanding compilers. */
33893
33894 #ifdef __STDC__
33895 # include <limits.h>
33896 #else
33897 # include <assert.h>
33898 #endif
33899
33900 #undef $ac_func
33901
33902 /* Override any gcc2 internal prototype to avoid an error. */
33903 #ifdef __cplusplus
33904 extern "C"
33905 {
33906 #endif
33907 /* We use char because int might match the return type of a gcc2
33908 builtin and then its argument prototype would still apply. */
33909 char $ac_func ();
33910 /* The GNU C library defines this for functions which it implements
33911 to always fail with ENOSYS. Some functions are actually named
33912 something starting with __ and the normal name is an alias. */
33913 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33914 choke me
33915 #else
33916 char (*f) () = $ac_func;
33917 #endif
33918 #ifdef __cplusplus
33919 }
33920 #endif
33921
33922 int
33923 main ()
33924 {
33925 return f != $ac_func;
33926 ;
33927 return 0;
33928 }
33929 _ACEOF
33930 rm -f conftest.$ac_objext conftest$ac_exeext
33931 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33932 (eval $ac_link) 2>conftest.er1
33933 ac_status=$?
33934 grep -v '^ *+' conftest.er1 >conftest.err
33935 rm -f conftest.er1
33936 cat conftest.err >&5
33937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33938 (exit $ac_status); } &&
33939 { ac_try='test -z "$ac_c_werror_flag"
33940 || test ! -s conftest.err'
33941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33942 (eval $ac_try) 2>&5
33943 ac_status=$?
33944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33945 (exit $ac_status); }; } &&
33946 { ac_try='test -s conftest$ac_exeext'
33947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33948 (eval $ac_try) 2>&5
33949 ac_status=$?
33950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33951 (exit $ac_status); }; }; then
33952 eval "$as_ac_var=yes"
33953 else
33954 echo "$as_me: failed program was:" >&5
33955 sed 's/^/| /' conftest.$ac_ext >&5
33956
33957 eval "$as_ac_var=no"
33958 fi
33959 rm -f conftest.err conftest.$ac_objext \
33960 conftest$ac_exeext conftest.$ac_ext
33961 fi
33962 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33963 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33964 if test `eval echo '${'$as_ac_var'}'` = yes; then
33965 cat >>confdefs.h <<_ACEOF
33966 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33967 _ACEOF
33968
33969 fi
33970 done
33971
33972 else
33973
33974 echo "$as_me:$LINENO: checking for _hypot declaration" >&5
33975 echo $ECHO_N "checking for _hypot declaration... $ECHO_C" >&6
33976 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
33977 if test "${glibcxx_cv_func__hypot_use+set}" = set; then
33978 echo $ECHO_N "(cached) $ECHO_C" >&6
33979 else
33980
33981
33982
33983 ac_ext=cc
33984 ac_cpp='$CXXCPP $CPPFLAGS'
33985 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33986 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33987 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33988
33989 cat >conftest.$ac_ext <<_ACEOF
33990 /* confdefs.h. */
33991 _ACEOF
33992 cat confdefs.h >>conftest.$ac_ext
33993 cat >>conftest.$ac_ext <<_ACEOF
33994 /* end confdefs.h. */
33995 #include <math.h>
33996 int
33997 main ()
33998 {
33999 _hypot(0, 0);
34000 ;
34001 return 0;
34002 }
34003 _ACEOF
34004 rm -f conftest.$ac_objext
34005 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34006 (eval $ac_compile) 2>conftest.er1
34007 ac_status=$?
34008 grep -v '^ *+' conftest.er1 >conftest.err
34009 rm -f conftest.er1
34010 cat conftest.err >&5
34011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34012 (exit $ac_status); } &&
34013 { ac_try='test -z "$ac_cxx_werror_flag"
34014 || test ! -s conftest.err'
34015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34016 (eval $ac_try) 2>&5
34017 ac_status=$?
34018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34019 (exit $ac_status); }; } &&
34020 { ac_try='test -s conftest.$ac_objext'
34021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34022 (eval $ac_try) 2>&5
34023 ac_status=$?
34024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34025 (exit $ac_status); }; }; then
34026 glibcxx_cv_func__hypot_use=yes
34027 else
34028 echo "$as_me: failed program was:" >&5
34029 sed 's/^/| /' conftest.$ac_ext >&5
34030
34031 glibcxx_cv_func__hypot_use=no
34032 fi
34033 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34034 ac_ext=c
34035 ac_cpp='$CPP $CPPFLAGS'
34036 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34037 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34038 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34039
34040
34041 fi
34042
34043 fi
34044 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypot_use" >&5
34045 echo "${ECHO_T}$glibcxx_cv_func__hypot_use" >&6
34046
34047 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
34048
34049 for ac_func in _hypot
34050 do
34051 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34052 echo "$as_me:$LINENO: checking for $ac_func" >&5
34053 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34054 if eval "test \"\${$as_ac_var+set}\" = set"; then
34055 echo $ECHO_N "(cached) $ECHO_C" >&6
34056 else
34057 if test x$gcc_no_link = xyes; then
34058 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34059 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34060 { (exit 1); exit 1; }; }
34061 fi
34062 cat >conftest.$ac_ext <<_ACEOF
34063 /* confdefs.h. */
34064 _ACEOF
34065 cat confdefs.h >>conftest.$ac_ext
34066 cat >>conftest.$ac_ext <<_ACEOF
34067 /* end confdefs.h. */
34068 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34069 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34070 #define $ac_func innocuous_$ac_func
34071
34072 /* System header to define __stub macros and hopefully few prototypes,
34073 which can conflict with char $ac_func (); below.
34074 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34075 <limits.h> exists even on freestanding compilers. */
34076
34077 #ifdef __STDC__
34078 # include <limits.h>
34079 #else
34080 # include <assert.h>
34081 #endif
34082
34083 #undef $ac_func
34084
34085 /* Override any gcc2 internal prototype to avoid an error. */
34086 #ifdef __cplusplus
34087 extern "C"
34088 {
34089 #endif
34090 /* We use char because int might match the return type of a gcc2
34091 builtin and then its argument prototype would still apply. */
34092 char $ac_func ();
34093 /* The GNU C library defines this for functions which it implements
34094 to always fail with ENOSYS. Some functions are actually named
34095 something starting with __ and the normal name is an alias. */
34096 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34097 choke me
34098 #else
34099 char (*f) () = $ac_func;
34100 #endif
34101 #ifdef __cplusplus
34102 }
34103 #endif
34104
34105 int
34106 main ()
34107 {
34108 return f != $ac_func;
34109 ;
34110 return 0;
34111 }
34112 _ACEOF
34113 rm -f conftest.$ac_objext conftest$ac_exeext
34114 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34115 (eval $ac_link) 2>conftest.er1
34116 ac_status=$?
34117 grep -v '^ *+' conftest.er1 >conftest.err
34118 rm -f conftest.er1
34119 cat conftest.err >&5
34120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34121 (exit $ac_status); } &&
34122 { ac_try='test -z "$ac_c_werror_flag"
34123 || test ! -s conftest.err'
34124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34125 (eval $ac_try) 2>&5
34126 ac_status=$?
34127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34128 (exit $ac_status); }; } &&
34129 { ac_try='test -s conftest$ac_exeext'
34130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34131 (eval $ac_try) 2>&5
34132 ac_status=$?
34133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34134 (exit $ac_status); }; }; then
34135 eval "$as_ac_var=yes"
34136 else
34137 echo "$as_me: failed program was:" >&5
34138 sed 's/^/| /' conftest.$ac_ext >&5
34139
34140 eval "$as_ac_var=no"
34141 fi
34142 rm -f conftest.err conftest.$ac_objext \
34143 conftest$ac_exeext conftest.$ac_ext
34144 fi
34145 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34146 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34147 if test `eval echo '${'$as_ac_var'}'` = yes; then
34148 cat >>confdefs.h <<_ACEOF
34149 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34150 _ACEOF
34151
34152 fi
34153 done
34154
34155 fi
34156 fi
34157
34158
34159
34160
34161
34162
34163 echo "$as_me:$LINENO: checking for float trig functions" >&5
34164 echo $ECHO_N "checking for float trig functions... $ECHO_C" >&6
34165 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then
34166 echo $ECHO_N "(cached) $ECHO_C" >&6
34167 else
34168
34169
34170
34171 ac_ext=cc
34172 ac_cpp='$CXXCPP $CPPFLAGS'
34173 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34174 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34175 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34176
34177 cat >conftest.$ac_ext <<_ACEOF
34178 /* confdefs.h. */
34179 _ACEOF
34180 cat confdefs.h >>conftest.$ac_ext
34181 cat >>conftest.$ac_ext <<_ACEOF
34182 /* end confdefs.h. */
34183 #include <math.h>
34184 int
34185 main ()
34186 {
34187 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
34188 ;
34189 return 0;
34190 }
34191 _ACEOF
34192 rm -f conftest.$ac_objext
34193 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34194 (eval $ac_compile) 2>conftest.er1
34195 ac_status=$?
34196 grep -v '^ *+' conftest.er1 >conftest.err
34197 rm -f conftest.er1
34198 cat conftest.err >&5
34199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34200 (exit $ac_status); } &&
34201 { ac_try='test -z "$ac_cxx_werror_flag"
34202 || test ! -s conftest.err'
34203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34204 (eval $ac_try) 2>&5
34205 ac_status=$?
34206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34207 (exit $ac_status); }; } &&
34208 { ac_try='test -s conftest.$ac_objext'
34209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34210 (eval $ac_try) 2>&5
34211 ac_status=$?
34212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34213 (exit $ac_status); }; }; then
34214 glibcxx_cv_func_float_trig_use=yes
34215 else
34216 echo "$as_me: failed program was:" >&5
34217 sed 's/^/| /' conftest.$ac_ext >&5
34218
34219 glibcxx_cv_func_float_trig_use=no
34220 fi
34221 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34222 ac_ext=c
34223 ac_cpp='$CPP $CPPFLAGS'
34224 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34225 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34226 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34227
34228 fi
34229
34230 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_trig_use" >&5
34231 echo "${ECHO_T}$glibcxx_cv_func_float_trig_use" >&6
34232 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
34233
34234
34235
34236
34237
34238
34239
34240
34241
34242 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
34243 do
34244 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34245 echo "$as_me:$LINENO: checking for $ac_func" >&5
34246 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34247 if eval "test \"\${$as_ac_var+set}\" = set"; then
34248 echo $ECHO_N "(cached) $ECHO_C" >&6
34249 else
34250 if test x$gcc_no_link = xyes; then
34251 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34252 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34253 { (exit 1); exit 1; }; }
34254 fi
34255 cat >conftest.$ac_ext <<_ACEOF
34256 /* confdefs.h. */
34257 _ACEOF
34258 cat confdefs.h >>conftest.$ac_ext
34259 cat >>conftest.$ac_ext <<_ACEOF
34260 /* end confdefs.h. */
34261 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34262 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34263 #define $ac_func innocuous_$ac_func
34264
34265 /* System header to define __stub macros and hopefully few prototypes,
34266 which can conflict with char $ac_func (); below.
34267 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34268 <limits.h> exists even on freestanding compilers. */
34269
34270 #ifdef __STDC__
34271 # include <limits.h>
34272 #else
34273 # include <assert.h>
34274 #endif
34275
34276 #undef $ac_func
34277
34278 /* Override any gcc2 internal prototype to avoid an error. */
34279 #ifdef __cplusplus
34280 extern "C"
34281 {
34282 #endif
34283 /* We use char because int might match the return type of a gcc2
34284 builtin and then its argument prototype would still apply. */
34285 char $ac_func ();
34286 /* The GNU C library defines this for functions which it implements
34287 to always fail with ENOSYS. Some functions are actually named
34288 something starting with __ and the normal name is an alias. */
34289 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34290 choke me
34291 #else
34292 char (*f) () = $ac_func;
34293 #endif
34294 #ifdef __cplusplus
34295 }
34296 #endif
34297
34298 int
34299 main ()
34300 {
34301 return f != $ac_func;
34302 ;
34303 return 0;
34304 }
34305 _ACEOF
34306 rm -f conftest.$ac_objext conftest$ac_exeext
34307 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34308 (eval $ac_link) 2>conftest.er1
34309 ac_status=$?
34310 grep -v '^ *+' conftest.er1 >conftest.err
34311 rm -f conftest.er1
34312 cat conftest.err >&5
34313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34314 (exit $ac_status); } &&
34315 { ac_try='test -z "$ac_c_werror_flag"
34316 || test ! -s conftest.err'
34317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34318 (eval $ac_try) 2>&5
34319 ac_status=$?
34320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34321 (exit $ac_status); }; } &&
34322 { ac_try='test -s conftest$ac_exeext'
34323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34324 (eval $ac_try) 2>&5
34325 ac_status=$?
34326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34327 (exit $ac_status); }; }; then
34328 eval "$as_ac_var=yes"
34329 else
34330 echo "$as_me: failed program was:" >&5
34331 sed 's/^/| /' conftest.$ac_ext >&5
34332
34333 eval "$as_ac_var=no"
34334 fi
34335 rm -f conftest.err conftest.$ac_objext \
34336 conftest$ac_exeext conftest.$ac_ext
34337 fi
34338 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34339 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34340 if test `eval echo '${'$as_ac_var'}'` = yes; then
34341 cat >>confdefs.h <<_ACEOF
34342 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34343 _ACEOF
34344
34345 fi
34346 done
34347
34348 else
34349 echo "$as_me:$LINENO: checking for _float trig functions" >&5
34350 echo $ECHO_N "checking for _float trig functions... $ECHO_C" >&6
34351 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then
34352 echo $ECHO_N "(cached) $ECHO_C" >&6
34353 else
34354
34355
34356
34357 ac_ext=cc
34358 ac_cpp='$CXXCPP $CPPFLAGS'
34359 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34360 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34361 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34362
34363 cat >conftest.$ac_ext <<_ACEOF
34364 /* confdefs.h. */
34365 _ACEOF
34366 cat confdefs.h >>conftest.$ac_ext
34367 cat >>conftest.$ac_ext <<_ACEOF
34368 /* end confdefs.h. */
34369 #include <math.h>
34370 int
34371 main ()
34372 {
34373 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
34374 ;
34375 return 0;
34376 }
34377 _ACEOF
34378 rm -f conftest.$ac_objext
34379 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34380 (eval $ac_compile) 2>conftest.er1
34381 ac_status=$?
34382 grep -v '^ *+' conftest.er1 >conftest.err
34383 rm -f conftest.er1
34384 cat conftest.err >&5
34385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34386 (exit $ac_status); } &&
34387 { ac_try='test -z "$ac_cxx_werror_flag"
34388 || test ! -s conftest.err'
34389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34390 (eval $ac_try) 2>&5
34391 ac_status=$?
34392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34393 (exit $ac_status); }; } &&
34394 { ac_try='test -s conftest.$ac_objext'
34395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34396 (eval $ac_try) 2>&5
34397 ac_status=$?
34398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34399 (exit $ac_status); }; }; then
34400 glibcxx_cv_func__float_trig_use=yes
34401 else
34402 echo "$as_me: failed program was:" >&5
34403 sed 's/^/| /' conftest.$ac_ext >&5
34404
34405 glibcxx_cv_func__float_trig_use=no
34406 fi
34407 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34408 ac_ext=c
34409 ac_cpp='$CPP $CPPFLAGS'
34410 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34411 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34412 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34413
34414 fi
34415
34416 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_trig_use" >&5
34417 echo "${ECHO_T}$glibcxx_cv_func__float_trig_use" >&6
34418 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
34419
34420
34421
34422
34423
34424
34425
34426
34427
34428 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
34429 do
34430 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34431 echo "$as_me:$LINENO: checking for $ac_func" >&5
34432 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34433 if eval "test \"\${$as_ac_var+set}\" = set"; then
34434 echo $ECHO_N "(cached) $ECHO_C" >&6
34435 else
34436 if test x$gcc_no_link = xyes; then
34437 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34438 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34439 { (exit 1); exit 1; }; }
34440 fi
34441 cat >conftest.$ac_ext <<_ACEOF
34442 /* confdefs.h. */
34443 _ACEOF
34444 cat confdefs.h >>conftest.$ac_ext
34445 cat >>conftest.$ac_ext <<_ACEOF
34446 /* end confdefs.h. */
34447 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34448 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34449 #define $ac_func innocuous_$ac_func
34450
34451 /* System header to define __stub macros and hopefully few prototypes,
34452 which can conflict with char $ac_func (); below.
34453 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34454 <limits.h> exists even on freestanding compilers. */
34455
34456 #ifdef __STDC__
34457 # include <limits.h>
34458 #else
34459 # include <assert.h>
34460 #endif
34461
34462 #undef $ac_func
34463
34464 /* Override any gcc2 internal prototype to avoid an error. */
34465 #ifdef __cplusplus
34466 extern "C"
34467 {
34468 #endif
34469 /* We use char because int might match the return type of a gcc2
34470 builtin and then its argument prototype would still apply. */
34471 char $ac_func ();
34472 /* The GNU C library defines this for functions which it implements
34473 to always fail with ENOSYS. Some functions are actually named
34474 something starting with __ and the normal name is an alias. */
34475 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34476 choke me
34477 #else
34478 char (*f) () = $ac_func;
34479 #endif
34480 #ifdef __cplusplus
34481 }
34482 #endif
34483
34484 int
34485 main ()
34486 {
34487 return f != $ac_func;
34488 ;
34489 return 0;
34490 }
34491 _ACEOF
34492 rm -f conftest.$ac_objext conftest$ac_exeext
34493 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34494 (eval $ac_link) 2>conftest.er1
34495 ac_status=$?
34496 grep -v '^ *+' conftest.er1 >conftest.err
34497 rm -f conftest.er1
34498 cat conftest.err >&5
34499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34500 (exit $ac_status); } &&
34501 { ac_try='test -z "$ac_c_werror_flag"
34502 || test ! -s conftest.err'
34503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34504 (eval $ac_try) 2>&5
34505 ac_status=$?
34506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34507 (exit $ac_status); }; } &&
34508 { ac_try='test -s conftest$ac_exeext'
34509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34510 (eval $ac_try) 2>&5
34511 ac_status=$?
34512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34513 (exit $ac_status); }; }; then
34514 eval "$as_ac_var=yes"
34515 else
34516 echo "$as_me: failed program was:" >&5
34517 sed 's/^/| /' conftest.$ac_ext >&5
34518
34519 eval "$as_ac_var=no"
34520 fi
34521 rm -f conftest.err conftest.$ac_objext \
34522 conftest$ac_exeext conftest.$ac_ext
34523 fi
34524 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34525 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34526 if test `eval echo '${'$as_ac_var'}'` = yes; then
34527 cat >>confdefs.h <<_ACEOF
34528 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34529 _ACEOF
34530
34531 fi
34532 done
34533
34534 fi
34535 fi
34536
34537
34538
34539
34540
34541
34542
34543
34544
34545
34546
34547
34548
34549
34550 echo "$as_me:$LINENO: checking for float round functions" >&5
34551 echo $ECHO_N "checking for float round functions... $ECHO_C" >&6
34552 if test "${glibcxx_cv_func_float_round_use+set}" = set; then
34553 echo $ECHO_N "(cached) $ECHO_C" >&6
34554 else
34555
34556
34557
34558 ac_ext=cc
34559 ac_cpp='$CXXCPP $CPPFLAGS'
34560 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34561 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34562 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34563
34564 cat >conftest.$ac_ext <<_ACEOF
34565 /* confdefs.h. */
34566 _ACEOF
34567 cat confdefs.h >>conftest.$ac_ext
34568 cat >>conftest.$ac_ext <<_ACEOF
34569 /* end confdefs.h. */
34570 #include <math.h>
34571 int
34572 main ()
34573 {
34574 ceilf (0); floorf (0);
34575 ;
34576 return 0;
34577 }
34578 _ACEOF
34579 rm -f conftest.$ac_objext
34580 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34581 (eval $ac_compile) 2>conftest.er1
34582 ac_status=$?
34583 grep -v '^ *+' conftest.er1 >conftest.err
34584 rm -f conftest.er1
34585 cat conftest.err >&5
34586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34587 (exit $ac_status); } &&
34588 { ac_try='test -z "$ac_cxx_werror_flag"
34589 || test ! -s conftest.err'
34590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34591 (eval $ac_try) 2>&5
34592 ac_status=$?
34593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34594 (exit $ac_status); }; } &&
34595 { ac_try='test -s conftest.$ac_objext'
34596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34597 (eval $ac_try) 2>&5
34598 ac_status=$?
34599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34600 (exit $ac_status); }; }; then
34601 glibcxx_cv_func_float_round_use=yes
34602 else
34603 echo "$as_me: failed program was:" >&5
34604 sed 's/^/| /' conftest.$ac_ext >&5
34605
34606 glibcxx_cv_func_float_round_use=no
34607 fi
34608 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34609 ac_ext=c
34610 ac_cpp='$CPP $CPPFLAGS'
34611 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34612 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34613 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34614
34615 fi
34616
34617 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_round_use" >&5
34618 echo "${ECHO_T}$glibcxx_cv_func_float_round_use" >&6
34619 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
34620
34621
34622 for ac_func in ceilf floorf
34623 do
34624 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34625 echo "$as_me:$LINENO: checking for $ac_func" >&5
34626 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34627 if eval "test \"\${$as_ac_var+set}\" = set"; then
34628 echo $ECHO_N "(cached) $ECHO_C" >&6
34629 else
34630 if test x$gcc_no_link = xyes; then
34631 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34632 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34633 { (exit 1); exit 1; }; }
34634 fi
34635 cat >conftest.$ac_ext <<_ACEOF
34636 /* confdefs.h. */
34637 _ACEOF
34638 cat confdefs.h >>conftest.$ac_ext
34639 cat >>conftest.$ac_ext <<_ACEOF
34640 /* end confdefs.h. */
34641 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34642 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34643 #define $ac_func innocuous_$ac_func
34644
34645 /* System header to define __stub macros and hopefully few prototypes,
34646 which can conflict with char $ac_func (); below.
34647 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34648 <limits.h> exists even on freestanding compilers. */
34649
34650 #ifdef __STDC__
34651 # include <limits.h>
34652 #else
34653 # include <assert.h>
34654 #endif
34655
34656 #undef $ac_func
34657
34658 /* Override any gcc2 internal prototype to avoid an error. */
34659 #ifdef __cplusplus
34660 extern "C"
34661 {
34662 #endif
34663 /* We use char because int might match the return type of a gcc2
34664 builtin and then its argument prototype would still apply. */
34665 char $ac_func ();
34666 /* The GNU C library defines this for functions which it implements
34667 to always fail with ENOSYS. Some functions are actually named
34668 something starting with __ and the normal name is an alias. */
34669 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34670 choke me
34671 #else
34672 char (*f) () = $ac_func;
34673 #endif
34674 #ifdef __cplusplus
34675 }
34676 #endif
34677
34678 int
34679 main ()
34680 {
34681 return f != $ac_func;
34682 ;
34683 return 0;
34684 }
34685 _ACEOF
34686 rm -f conftest.$ac_objext conftest$ac_exeext
34687 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34688 (eval $ac_link) 2>conftest.er1
34689 ac_status=$?
34690 grep -v '^ *+' conftest.er1 >conftest.err
34691 rm -f conftest.er1
34692 cat conftest.err >&5
34693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34694 (exit $ac_status); } &&
34695 { ac_try='test -z "$ac_c_werror_flag"
34696 || test ! -s conftest.err'
34697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34698 (eval $ac_try) 2>&5
34699 ac_status=$?
34700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34701 (exit $ac_status); }; } &&
34702 { ac_try='test -s conftest$ac_exeext'
34703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34704 (eval $ac_try) 2>&5
34705 ac_status=$?
34706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34707 (exit $ac_status); }; }; then
34708 eval "$as_ac_var=yes"
34709 else
34710 echo "$as_me: failed program was:" >&5
34711 sed 's/^/| /' conftest.$ac_ext >&5
34712
34713 eval "$as_ac_var=no"
34714 fi
34715 rm -f conftest.err conftest.$ac_objext \
34716 conftest$ac_exeext conftest.$ac_ext
34717 fi
34718 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34719 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34720 if test `eval echo '${'$as_ac_var'}'` = yes; then
34721 cat >>confdefs.h <<_ACEOF
34722 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34723 _ACEOF
34724
34725 fi
34726 done
34727
34728 else
34729 echo "$as_me:$LINENO: checking for _float round functions" >&5
34730 echo $ECHO_N "checking for _float round functions... $ECHO_C" >&6
34731 if test "${glibcxx_cv_func__float_round_use+set}" = set; then
34732 echo $ECHO_N "(cached) $ECHO_C" >&6
34733 else
34734
34735
34736
34737 ac_ext=cc
34738 ac_cpp='$CXXCPP $CPPFLAGS'
34739 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34740 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34741 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34742
34743 cat >conftest.$ac_ext <<_ACEOF
34744 /* confdefs.h. */
34745 _ACEOF
34746 cat confdefs.h >>conftest.$ac_ext
34747 cat >>conftest.$ac_ext <<_ACEOF
34748 /* end confdefs.h. */
34749 #include <math.h>
34750 int
34751 main ()
34752 {
34753 _ceilf (0); _floorf (0);
34754 ;
34755 return 0;
34756 }
34757 _ACEOF
34758 rm -f conftest.$ac_objext
34759 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34760 (eval $ac_compile) 2>conftest.er1
34761 ac_status=$?
34762 grep -v '^ *+' conftest.er1 >conftest.err
34763 rm -f conftest.er1
34764 cat conftest.err >&5
34765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34766 (exit $ac_status); } &&
34767 { ac_try='test -z "$ac_cxx_werror_flag"
34768 || test ! -s conftest.err'
34769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34770 (eval $ac_try) 2>&5
34771 ac_status=$?
34772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34773 (exit $ac_status); }; } &&
34774 { ac_try='test -s conftest.$ac_objext'
34775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34776 (eval $ac_try) 2>&5
34777 ac_status=$?
34778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34779 (exit $ac_status); }; }; then
34780 glibcxx_cv_func__float_round_use=yes
34781 else
34782 echo "$as_me: failed program was:" >&5
34783 sed 's/^/| /' conftest.$ac_ext >&5
34784
34785 glibcxx_cv_func__float_round_use=no
34786 fi
34787 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34788 ac_ext=c
34789 ac_cpp='$CPP $CPPFLAGS'
34790 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34791 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34792 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34793
34794 fi
34795
34796 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_round_use" >&5
34797 echo "${ECHO_T}$glibcxx_cv_func__float_round_use" >&6
34798 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
34799
34800
34801 for ac_func in _ceilf _floorf
34802 do
34803 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34804 echo "$as_me:$LINENO: checking for $ac_func" >&5
34805 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34806 if eval "test \"\${$as_ac_var+set}\" = set"; then
34807 echo $ECHO_N "(cached) $ECHO_C" >&6
34808 else
34809 if test x$gcc_no_link = xyes; then
34810 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34811 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34812 { (exit 1); exit 1; }; }
34813 fi
34814 cat >conftest.$ac_ext <<_ACEOF
34815 /* confdefs.h. */
34816 _ACEOF
34817 cat confdefs.h >>conftest.$ac_ext
34818 cat >>conftest.$ac_ext <<_ACEOF
34819 /* end confdefs.h. */
34820 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34821 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34822 #define $ac_func innocuous_$ac_func
34823
34824 /* System header to define __stub macros and hopefully few prototypes,
34825 which can conflict with char $ac_func (); below.
34826 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34827 <limits.h> exists even on freestanding compilers. */
34828
34829 #ifdef __STDC__
34830 # include <limits.h>
34831 #else
34832 # include <assert.h>
34833 #endif
34834
34835 #undef $ac_func
34836
34837 /* Override any gcc2 internal prototype to avoid an error. */
34838 #ifdef __cplusplus
34839 extern "C"
34840 {
34841 #endif
34842 /* We use char because int might match the return type of a gcc2
34843 builtin and then its argument prototype would still apply. */
34844 char $ac_func ();
34845 /* The GNU C library defines this for functions which it implements
34846 to always fail with ENOSYS. Some functions are actually named
34847 something starting with __ and the normal name is an alias. */
34848 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34849 choke me
34850 #else
34851 char (*f) () = $ac_func;
34852 #endif
34853 #ifdef __cplusplus
34854 }
34855 #endif
34856
34857 int
34858 main ()
34859 {
34860 return f != $ac_func;
34861 ;
34862 return 0;
34863 }
34864 _ACEOF
34865 rm -f conftest.$ac_objext conftest$ac_exeext
34866 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34867 (eval $ac_link) 2>conftest.er1
34868 ac_status=$?
34869 grep -v '^ *+' conftest.er1 >conftest.err
34870 rm -f conftest.er1
34871 cat conftest.err >&5
34872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34873 (exit $ac_status); } &&
34874 { ac_try='test -z "$ac_c_werror_flag"
34875 || test ! -s conftest.err'
34876 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34877 (eval $ac_try) 2>&5
34878 ac_status=$?
34879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34880 (exit $ac_status); }; } &&
34881 { ac_try='test -s conftest$ac_exeext'
34882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34883 (eval $ac_try) 2>&5
34884 ac_status=$?
34885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34886 (exit $ac_status); }; }; then
34887 eval "$as_ac_var=yes"
34888 else
34889 echo "$as_me: failed program was:" >&5
34890 sed 's/^/| /' conftest.$ac_ext >&5
34891
34892 eval "$as_ac_var=no"
34893 fi
34894 rm -f conftest.err conftest.$ac_objext \
34895 conftest$ac_exeext conftest.$ac_ext
34896 fi
34897 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34898 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34899 if test `eval echo '${'$as_ac_var'}'` = yes; then
34900 cat >>confdefs.h <<_ACEOF
34901 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34902 _ACEOF
34903
34904 fi
34905 done
34906
34907 fi
34908 fi
34909
34910
34911
34912
34913
34914
34915
34916
34917 echo "$as_me:$LINENO: checking for expf declaration" >&5
34918 echo $ECHO_N "checking for expf declaration... $ECHO_C" >&6
34919 if test x${glibcxx_cv_func_expf_use+set} != xset; then
34920 if test "${glibcxx_cv_func_expf_use+set}" = set; then
34921 echo $ECHO_N "(cached) $ECHO_C" >&6
34922 else
34923
34924
34925
34926 ac_ext=cc
34927 ac_cpp='$CXXCPP $CPPFLAGS'
34928 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34929 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34930 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34931
34932 cat >conftest.$ac_ext <<_ACEOF
34933 /* confdefs.h. */
34934 _ACEOF
34935 cat confdefs.h >>conftest.$ac_ext
34936 cat >>conftest.$ac_ext <<_ACEOF
34937 /* end confdefs.h. */
34938 #include <math.h>
34939 #ifdef HAVE_IEEEFP_H
34940 #include <ieeefp.h>
34941 #endif
34942
34943 int
34944 main ()
34945 {
34946 expf(0);
34947 ;
34948 return 0;
34949 }
34950 _ACEOF
34951 rm -f conftest.$ac_objext
34952 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34953 (eval $ac_compile) 2>conftest.er1
34954 ac_status=$?
34955 grep -v '^ *+' conftest.er1 >conftest.err
34956 rm -f conftest.er1
34957 cat conftest.err >&5
34958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34959 (exit $ac_status); } &&
34960 { ac_try='test -z "$ac_cxx_werror_flag"
34961 || test ! -s conftest.err'
34962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34963 (eval $ac_try) 2>&5
34964 ac_status=$?
34965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34966 (exit $ac_status); }; } &&
34967 { ac_try='test -s conftest.$ac_objext'
34968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34969 (eval $ac_try) 2>&5
34970 ac_status=$?
34971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34972 (exit $ac_status); }; }; then
34973 glibcxx_cv_func_expf_use=yes
34974 else
34975 echo "$as_me: failed program was:" >&5
34976 sed 's/^/| /' conftest.$ac_ext >&5
34977
34978 glibcxx_cv_func_expf_use=no
34979 fi
34980 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34981 ac_ext=c
34982 ac_cpp='$CPP $CPPFLAGS'
34983 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34984 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34985 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34986
34987
34988 fi
34989
34990 fi
34991 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expf_use" >&5
34992 echo "${ECHO_T}$glibcxx_cv_func_expf_use" >&6
34993
34994 if test x$glibcxx_cv_func_expf_use = x"yes"; then
34995
34996 for ac_func in expf
34997 do
34998 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34999 echo "$as_me:$LINENO: checking for $ac_func" >&5
35000 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35001 if eval "test \"\${$as_ac_var+set}\" = set"; then
35002 echo $ECHO_N "(cached) $ECHO_C" >&6
35003 else
35004 if test x$gcc_no_link = xyes; then
35005 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35006 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35007 { (exit 1); exit 1; }; }
35008 fi
35009 cat >conftest.$ac_ext <<_ACEOF
35010 /* confdefs.h. */
35011 _ACEOF
35012 cat confdefs.h >>conftest.$ac_ext
35013 cat >>conftest.$ac_ext <<_ACEOF
35014 /* end confdefs.h. */
35015 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35016 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35017 #define $ac_func innocuous_$ac_func
35018
35019 /* System header to define __stub macros and hopefully few prototypes,
35020 which can conflict with char $ac_func (); below.
35021 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35022 <limits.h> exists even on freestanding compilers. */
35023
35024 #ifdef __STDC__
35025 # include <limits.h>
35026 #else
35027 # include <assert.h>
35028 #endif
35029
35030 #undef $ac_func
35031
35032 /* Override any gcc2 internal prototype to avoid an error. */
35033 #ifdef __cplusplus
35034 extern "C"
35035 {
35036 #endif
35037 /* We use char because int might match the return type of a gcc2
35038 builtin and then its argument prototype would still apply. */
35039 char $ac_func ();
35040 /* The GNU C library defines this for functions which it implements
35041 to always fail with ENOSYS. Some functions are actually named
35042 something starting with __ and the normal name is an alias. */
35043 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35044 choke me
35045 #else
35046 char (*f) () = $ac_func;
35047 #endif
35048 #ifdef __cplusplus
35049 }
35050 #endif
35051
35052 int
35053 main ()
35054 {
35055 return f != $ac_func;
35056 ;
35057 return 0;
35058 }
35059 _ACEOF
35060 rm -f conftest.$ac_objext conftest$ac_exeext
35061 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35062 (eval $ac_link) 2>conftest.er1
35063 ac_status=$?
35064 grep -v '^ *+' conftest.er1 >conftest.err
35065 rm -f conftest.er1
35066 cat conftest.err >&5
35067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35068 (exit $ac_status); } &&
35069 { ac_try='test -z "$ac_c_werror_flag"
35070 || test ! -s conftest.err'
35071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35072 (eval $ac_try) 2>&5
35073 ac_status=$?
35074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35075 (exit $ac_status); }; } &&
35076 { ac_try='test -s conftest$ac_exeext'
35077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35078 (eval $ac_try) 2>&5
35079 ac_status=$?
35080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35081 (exit $ac_status); }; }; then
35082 eval "$as_ac_var=yes"
35083 else
35084 echo "$as_me: failed program was:" >&5
35085 sed 's/^/| /' conftest.$ac_ext >&5
35086
35087 eval "$as_ac_var=no"
35088 fi
35089 rm -f conftest.err conftest.$ac_objext \
35090 conftest$ac_exeext conftest.$ac_ext
35091 fi
35092 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35093 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35094 if test `eval echo '${'$as_ac_var'}'` = yes; then
35095 cat >>confdefs.h <<_ACEOF
35096 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35097 _ACEOF
35098
35099 fi
35100 done
35101
35102 else
35103
35104 echo "$as_me:$LINENO: checking for _expf declaration" >&5
35105 echo $ECHO_N "checking for _expf declaration... $ECHO_C" >&6
35106 if test x${glibcxx_cv_func__expf_use+set} != xset; then
35107 if test "${glibcxx_cv_func__expf_use+set}" = set; then
35108 echo $ECHO_N "(cached) $ECHO_C" >&6
35109 else
35110
35111
35112
35113 ac_ext=cc
35114 ac_cpp='$CXXCPP $CPPFLAGS'
35115 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35116 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35117 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35118
35119 cat >conftest.$ac_ext <<_ACEOF
35120 /* confdefs.h. */
35121 _ACEOF
35122 cat confdefs.h >>conftest.$ac_ext
35123 cat >>conftest.$ac_ext <<_ACEOF
35124 /* end confdefs.h. */
35125 #include <math.h>
35126 #ifdef HAVE_IEEEFP_H
35127 #include <ieeefp.h>
35128 #endif
35129
35130 int
35131 main ()
35132 {
35133 _expf(0);
35134 ;
35135 return 0;
35136 }
35137 _ACEOF
35138 rm -f conftest.$ac_objext
35139 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35140 (eval $ac_compile) 2>conftest.er1
35141 ac_status=$?
35142 grep -v '^ *+' conftest.er1 >conftest.err
35143 rm -f conftest.er1
35144 cat conftest.err >&5
35145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35146 (exit $ac_status); } &&
35147 { ac_try='test -z "$ac_cxx_werror_flag"
35148 || test ! -s conftest.err'
35149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35150 (eval $ac_try) 2>&5
35151 ac_status=$?
35152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35153 (exit $ac_status); }; } &&
35154 { ac_try='test -s conftest.$ac_objext'
35155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35156 (eval $ac_try) 2>&5
35157 ac_status=$?
35158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35159 (exit $ac_status); }; }; then
35160 glibcxx_cv_func__expf_use=yes
35161 else
35162 echo "$as_me: failed program was:" >&5
35163 sed 's/^/| /' conftest.$ac_ext >&5
35164
35165 glibcxx_cv_func__expf_use=no
35166 fi
35167 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35168 ac_ext=c
35169 ac_cpp='$CPP $CPPFLAGS'
35170 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35171 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35172 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35173
35174
35175 fi
35176
35177 fi
35178 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expf_use" >&5
35179 echo "${ECHO_T}$glibcxx_cv_func__expf_use" >&6
35180
35181 if test x$glibcxx_cv_func__expf_use = x"yes"; then
35182
35183 for ac_func in _expf
35184 do
35185 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35186 echo "$as_me:$LINENO: checking for $ac_func" >&5
35187 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35188 if eval "test \"\${$as_ac_var+set}\" = set"; then
35189 echo $ECHO_N "(cached) $ECHO_C" >&6
35190 else
35191 if test x$gcc_no_link = xyes; then
35192 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35193 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35194 { (exit 1); exit 1; }; }
35195 fi
35196 cat >conftest.$ac_ext <<_ACEOF
35197 /* confdefs.h. */
35198 _ACEOF
35199 cat confdefs.h >>conftest.$ac_ext
35200 cat >>conftest.$ac_ext <<_ACEOF
35201 /* end confdefs.h. */
35202 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35203 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35204 #define $ac_func innocuous_$ac_func
35205
35206 /* System header to define __stub macros and hopefully few prototypes,
35207 which can conflict with char $ac_func (); below.
35208 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35209 <limits.h> exists even on freestanding compilers. */
35210
35211 #ifdef __STDC__
35212 # include <limits.h>
35213 #else
35214 # include <assert.h>
35215 #endif
35216
35217 #undef $ac_func
35218
35219 /* Override any gcc2 internal prototype to avoid an error. */
35220 #ifdef __cplusplus
35221 extern "C"
35222 {
35223 #endif
35224 /* We use char because int might match the return type of a gcc2
35225 builtin and then its argument prototype would still apply. */
35226 char $ac_func ();
35227 /* The GNU C library defines this for functions which it implements
35228 to always fail with ENOSYS. Some functions are actually named
35229 something starting with __ and the normal name is an alias. */
35230 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35231 choke me
35232 #else
35233 char (*f) () = $ac_func;
35234 #endif
35235 #ifdef __cplusplus
35236 }
35237 #endif
35238
35239 int
35240 main ()
35241 {
35242 return f != $ac_func;
35243 ;
35244 return 0;
35245 }
35246 _ACEOF
35247 rm -f conftest.$ac_objext conftest$ac_exeext
35248 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35249 (eval $ac_link) 2>conftest.er1
35250 ac_status=$?
35251 grep -v '^ *+' conftest.er1 >conftest.err
35252 rm -f conftest.er1
35253 cat conftest.err >&5
35254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35255 (exit $ac_status); } &&
35256 { ac_try='test -z "$ac_c_werror_flag"
35257 || test ! -s conftest.err'
35258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35259 (eval $ac_try) 2>&5
35260 ac_status=$?
35261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35262 (exit $ac_status); }; } &&
35263 { ac_try='test -s conftest$ac_exeext'
35264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35265 (eval $ac_try) 2>&5
35266 ac_status=$?
35267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35268 (exit $ac_status); }; }; then
35269 eval "$as_ac_var=yes"
35270 else
35271 echo "$as_me: failed program was:" >&5
35272 sed 's/^/| /' conftest.$ac_ext >&5
35273
35274 eval "$as_ac_var=no"
35275 fi
35276 rm -f conftest.err conftest.$ac_objext \
35277 conftest$ac_exeext conftest.$ac_ext
35278 fi
35279 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35280 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35281 if test `eval echo '${'$as_ac_var'}'` = yes; then
35282 cat >>confdefs.h <<_ACEOF
35283 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35284 _ACEOF
35285
35286 fi
35287 done
35288
35289 fi
35290 fi
35291
35292
35293
35294
35295
35296
35297 echo "$as_me:$LINENO: checking for isnanf declaration" >&5
35298 echo $ECHO_N "checking for isnanf declaration... $ECHO_C" >&6
35299 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
35300 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then
35301 echo $ECHO_N "(cached) $ECHO_C" >&6
35302 else
35303
35304
35305
35306 ac_ext=cc
35307 ac_cpp='$CXXCPP $CPPFLAGS'
35308 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35309 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35310 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35311
35312 cat >conftest.$ac_ext <<_ACEOF
35313 /* confdefs.h. */
35314 _ACEOF
35315 cat confdefs.h >>conftest.$ac_ext
35316 cat >>conftest.$ac_ext <<_ACEOF
35317 /* end confdefs.h. */
35318 #include <math.h>
35319 #ifdef HAVE_IEEEFP_H
35320 #include <ieeefp.h>
35321 #endif
35322
35323 int
35324 main ()
35325 {
35326 isnanf(0);
35327 ;
35328 return 0;
35329 }
35330 _ACEOF
35331 rm -f conftest.$ac_objext
35332 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35333 (eval $ac_compile) 2>conftest.er1
35334 ac_status=$?
35335 grep -v '^ *+' conftest.er1 >conftest.err
35336 rm -f conftest.er1
35337 cat conftest.err >&5
35338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35339 (exit $ac_status); } &&
35340 { ac_try='test -z "$ac_cxx_werror_flag"
35341 || test ! -s conftest.err'
35342 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35343 (eval $ac_try) 2>&5
35344 ac_status=$?
35345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35346 (exit $ac_status); }; } &&
35347 { ac_try='test -s conftest.$ac_objext'
35348 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35349 (eval $ac_try) 2>&5
35350 ac_status=$?
35351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35352 (exit $ac_status); }; }; then
35353 glibcxx_cv_func_isnanf_use=yes
35354 else
35355 echo "$as_me: failed program was:" >&5
35356 sed 's/^/| /' conftest.$ac_ext >&5
35357
35358 glibcxx_cv_func_isnanf_use=no
35359 fi
35360 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35361 ac_ext=c
35362 ac_cpp='$CPP $CPPFLAGS'
35363 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35364 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35365 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35366
35367
35368 fi
35369
35370 fi
35371 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanf_use" >&5
35372 echo "${ECHO_T}$glibcxx_cv_func_isnanf_use" >&6
35373
35374 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
35375
35376 for ac_func in isnanf
35377 do
35378 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35379 echo "$as_me:$LINENO: checking for $ac_func" >&5
35380 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35381 if eval "test \"\${$as_ac_var+set}\" = set"; then
35382 echo $ECHO_N "(cached) $ECHO_C" >&6
35383 else
35384 if test x$gcc_no_link = xyes; then
35385 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35386 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35387 { (exit 1); exit 1; }; }
35388 fi
35389 cat >conftest.$ac_ext <<_ACEOF
35390 /* confdefs.h. */
35391 _ACEOF
35392 cat confdefs.h >>conftest.$ac_ext
35393 cat >>conftest.$ac_ext <<_ACEOF
35394 /* end confdefs.h. */
35395 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35396 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35397 #define $ac_func innocuous_$ac_func
35398
35399 /* System header to define __stub macros and hopefully few prototypes,
35400 which can conflict with char $ac_func (); below.
35401 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35402 <limits.h> exists even on freestanding compilers. */
35403
35404 #ifdef __STDC__
35405 # include <limits.h>
35406 #else
35407 # include <assert.h>
35408 #endif
35409
35410 #undef $ac_func
35411
35412 /* Override any gcc2 internal prototype to avoid an error. */
35413 #ifdef __cplusplus
35414 extern "C"
35415 {
35416 #endif
35417 /* We use char because int might match the return type of a gcc2
35418 builtin and then its argument prototype would still apply. */
35419 char $ac_func ();
35420 /* The GNU C library defines this for functions which it implements
35421 to always fail with ENOSYS. Some functions are actually named
35422 something starting with __ and the normal name is an alias. */
35423 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35424 choke me
35425 #else
35426 char (*f) () = $ac_func;
35427 #endif
35428 #ifdef __cplusplus
35429 }
35430 #endif
35431
35432 int
35433 main ()
35434 {
35435 return f != $ac_func;
35436 ;
35437 return 0;
35438 }
35439 _ACEOF
35440 rm -f conftest.$ac_objext conftest$ac_exeext
35441 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35442 (eval $ac_link) 2>conftest.er1
35443 ac_status=$?
35444 grep -v '^ *+' conftest.er1 >conftest.err
35445 rm -f conftest.er1
35446 cat conftest.err >&5
35447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35448 (exit $ac_status); } &&
35449 { ac_try='test -z "$ac_c_werror_flag"
35450 || test ! -s conftest.err'
35451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35452 (eval $ac_try) 2>&5
35453 ac_status=$?
35454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35455 (exit $ac_status); }; } &&
35456 { ac_try='test -s conftest$ac_exeext'
35457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35458 (eval $ac_try) 2>&5
35459 ac_status=$?
35460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35461 (exit $ac_status); }; }; then
35462 eval "$as_ac_var=yes"
35463 else
35464 echo "$as_me: failed program was:" >&5
35465 sed 's/^/| /' conftest.$ac_ext >&5
35466
35467 eval "$as_ac_var=no"
35468 fi
35469 rm -f conftest.err conftest.$ac_objext \
35470 conftest$ac_exeext conftest.$ac_ext
35471 fi
35472 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35473 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35474 if test `eval echo '${'$as_ac_var'}'` = yes; then
35475 cat >>confdefs.h <<_ACEOF
35476 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35477 _ACEOF
35478
35479 fi
35480 done
35481
35482 else
35483
35484 echo "$as_me:$LINENO: checking for _isnanf declaration" >&5
35485 echo $ECHO_N "checking for _isnanf declaration... $ECHO_C" >&6
35486 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
35487 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then
35488 echo $ECHO_N "(cached) $ECHO_C" >&6
35489 else
35490
35491
35492
35493 ac_ext=cc
35494 ac_cpp='$CXXCPP $CPPFLAGS'
35495 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35496 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35497 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35498
35499 cat >conftest.$ac_ext <<_ACEOF
35500 /* confdefs.h. */
35501 _ACEOF
35502 cat confdefs.h >>conftest.$ac_ext
35503 cat >>conftest.$ac_ext <<_ACEOF
35504 /* end confdefs.h. */
35505 #include <math.h>
35506 #ifdef HAVE_IEEEFP_H
35507 #include <ieeefp.h>
35508 #endif
35509
35510 int
35511 main ()
35512 {
35513 _isnanf(0);
35514 ;
35515 return 0;
35516 }
35517 _ACEOF
35518 rm -f conftest.$ac_objext
35519 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35520 (eval $ac_compile) 2>conftest.er1
35521 ac_status=$?
35522 grep -v '^ *+' conftest.er1 >conftest.err
35523 rm -f conftest.er1
35524 cat conftest.err >&5
35525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35526 (exit $ac_status); } &&
35527 { ac_try='test -z "$ac_cxx_werror_flag"
35528 || test ! -s conftest.err'
35529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35530 (eval $ac_try) 2>&5
35531 ac_status=$?
35532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35533 (exit $ac_status); }; } &&
35534 { ac_try='test -s conftest.$ac_objext'
35535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35536 (eval $ac_try) 2>&5
35537 ac_status=$?
35538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35539 (exit $ac_status); }; }; then
35540 glibcxx_cv_func__isnanf_use=yes
35541 else
35542 echo "$as_me: failed program was:" >&5
35543 sed 's/^/| /' conftest.$ac_ext >&5
35544
35545 glibcxx_cv_func__isnanf_use=no
35546 fi
35547 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35548 ac_ext=c
35549 ac_cpp='$CPP $CPPFLAGS'
35550 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35551 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35552 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35553
35554
35555 fi
35556
35557 fi
35558 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanf_use" >&5
35559 echo "${ECHO_T}$glibcxx_cv_func__isnanf_use" >&6
35560
35561 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
35562
35563 for ac_func in _isnanf
35564 do
35565 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35566 echo "$as_me:$LINENO: checking for $ac_func" >&5
35567 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35568 if eval "test \"\${$as_ac_var+set}\" = set"; then
35569 echo $ECHO_N "(cached) $ECHO_C" >&6
35570 else
35571 if test x$gcc_no_link = xyes; then
35572 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35573 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35574 { (exit 1); exit 1; }; }
35575 fi
35576 cat >conftest.$ac_ext <<_ACEOF
35577 /* confdefs.h. */
35578 _ACEOF
35579 cat confdefs.h >>conftest.$ac_ext
35580 cat >>conftest.$ac_ext <<_ACEOF
35581 /* end confdefs.h. */
35582 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35583 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35584 #define $ac_func innocuous_$ac_func
35585
35586 /* System header to define __stub macros and hopefully few prototypes,
35587 which can conflict with char $ac_func (); below.
35588 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35589 <limits.h> exists even on freestanding compilers. */
35590
35591 #ifdef __STDC__
35592 # include <limits.h>
35593 #else
35594 # include <assert.h>
35595 #endif
35596
35597 #undef $ac_func
35598
35599 /* Override any gcc2 internal prototype to avoid an error. */
35600 #ifdef __cplusplus
35601 extern "C"
35602 {
35603 #endif
35604 /* We use char because int might match the return type of a gcc2
35605 builtin and then its argument prototype would still apply. */
35606 char $ac_func ();
35607 /* The GNU C library defines this for functions which it implements
35608 to always fail with ENOSYS. Some functions are actually named
35609 something starting with __ and the normal name is an alias. */
35610 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35611 choke me
35612 #else
35613 char (*f) () = $ac_func;
35614 #endif
35615 #ifdef __cplusplus
35616 }
35617 #endif
35618
35619 int
35620 main ()
35621 {
35622 return f != $ac_func;
35623 ;
35624 return 0;
35625 }
35626 _ACEOF
35627 rm -f conftest.$ac_objext conftest$ac_exeext
35628 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35629 (eval $ac_link) 2>conftest.er1
35630 ac_status=$?
35631 grep -v '^ *+' conftest.er1 >conftest.err
35632 rm -f conftest.er1
35633 cat conftest.err >&5
35634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35635 (exit $ac_status); } &&
35636 { ac_try='test -z "$ac_c_werror_flag"
35637 || test ! -s conftest.err'
35638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35639 (eval $ac_try) 2>&5
35640 ac_status=$?
35641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35642 (exit $ac_status); }; } &&
35643 { ac_try='test -s conftest$ac_exeext'
35644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35645 (eval $ac_try) 2>&5
35646 ac_status=$?
35647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35648 (exit $ac_status); }; }; then
35649 eval "$as_ac_var=yes"
35650 else
35651 echo "$as_me: failed program was:" >&5
35652 sed 's/^/| /' conftest.$ac_ext >&5
35653
35654 eval "$as_ac_var=no"
35655 fi
35656 rm -f conftest.err conftest.$ac_objext \
35657 conftest$ac_exeext conftest.$ac_ext
35658 fi
35659 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35660 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35661 if test `eval echo '${'$as_ac_var'}'` = yes; then
35662 cat >>confdefs.h <<_ACEOF
35663 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35664 _ACEOF
35665
35666 fi
35667 done
35668
35669 fi
35670 fi
35671
35672
35673
35674
35675
35676
35677 echo "$as_me:$LINENO: checking for isinff declaration" >&5
35678 echo $ECHO_N "checking for isinff declaration... $ECHO_C" >&6
35679 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
35680 if test "${glibcxx_cv_func_isinff_use+set}" = set; then
35681 echo $ECHO_N "(cached) $ECHO_C" >&6
35682 else
35683
35684
35685
35686 ac_ext=cc
35687 ac_cpp='$CXXCPP $CPPFLAGS'
35688 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35689 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35690 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35691
35692 cat >conftest.$ac_ext <<_ACEOF
35693 /* confdefs.h. */
35694 _ACEOF
35695 cat confdefs.h >>conftest.$ac_ext
35696 cat >>conftest.$ac_ext <<_ACEOF
35697 /* end confdefs.h. */
35698 #include <math.h>
35699 #ifdef HAVE_IEEEFP_H
35700 #include <ieeefp.h>
35701 #endif
35702
35703 int
35704 main ()
35705 {
35706 isinff(0);
35707 ;
35708 return 0;
35709 }
35710 _ACEOF
35711 rm -f conftest.$ac_objext
35712 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35713 (eval $ac_compile) 2>conftest.er1
35714 ac_status=$?
35715 grep -v '^ *+' conftest.er1 >conftest.err
35716 rm -f conftest.er1
35717 cat conftest.err >&5
35718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35719 (exit $ac_status); } &&
35720 { ac_try='test -z "$ac_cxx_werror_flag"
35721 || test ! -s conftest.err'
35722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35723 (eval $ac_try) 2>&5
35724 ac_status=$?
35725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35726 (exit $ac_status); }; } &&
35727 { ac_try='test -s conftest.$ac_objext'
35728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35729 (eval $ac_try) 2>&5
35730 ac_status=$?
35731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35732 (exit $ac_status); }; }; then
35733 glibcxx_cv_func_isinff_use=yes
35734 else
35735 echo "$as_me: failed program was:" >&5
35736 sed 's/^/| /' conftest.$ac_ext >&5
35737
35738 glibcxx_cv_func_isinff_use=no
35739 fi
35740 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35741 ac_ext=c
35742 ac_cpp='$CPP $CPPFLAGS'
35743 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35744 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35745 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35746
35747
35748 fi
35749
35750 fi
35751 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinff_use" >&5
35752 echo "${ECHO_T}$glibcxx_cv_func_isinff_use" >&6
35753
35754 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
35755
35756 for ac_func in isinff
35757 do
35758 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35759 echo "$as_me:$LINENO: checking for $ac_func" >&5
35760 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35761 if eval "test \"\${$as_ac_var+set}\" = set"; then
35762 echo $ECHO_N "(cached) $ECHO_C" >&6
35763 else
35764 if test x$gcc_no_link = xyes; then
35765 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35766 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35767 { (exit 1); exit 1; }; }
35768 fi
35769 cat >conftest.$ac_ext <<_ACEOF
35770 /* confdefs.h. */
35771 _ACEOF
35772 cat confdefs.h >>conftest.$ac_ext
35773 cat >>conftest.$ac_ext <<_ACEOF
35774 /* end confdefs.h. */
35775 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35776 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35777 #define $ac_func innocuous_$ac_func
35778
35779 /* System header to define __stub macros and hopefully few prototypes,
35780 which can conflict with char $ac_func (); below.
35781 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35782 <limits.h> exists even on freestanding compilers. */
35783
35784 #ifdef __STDC__
35785 # include <limits.h>
35786 #else
35787 # include <assert.h>
35788 #endif
35789
35790 #undef $ac_func
35791
35792 /* Override any gcc2 internal prototype to avoid an error. */
35793 #ifdef __cplusplus
35794 extern "C"
35795 {
35796 #endif
35797 /* We use char because int might match the return type of a gcc2
35798 builtin and then its argument prototype would still apply. */
35799 char $ac_func ();
35800 /* The GNU C library defines this for functions which it implements
35801 to always fail with ENOSYS. Some functions are actually named
35802 something starting with __ and the normal name is an alias. */
35803 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35804 choke me
35805 #else
35806 char (*f) () = $ac_func;
35807 #endif
35808 #ifdef __cplusplus
35809 }
35810 #endif
35811
35812 int
35813 main ()
35814 {
35815 return f != $ac_func;
35816 ;
35817 return 0;
35818 }
35819 _ACEOF
35820 rm -f conftest.$ac_objext conftest$ac_exeext
35821 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35822 (eval $ac_link) 2>conftest.er1
35823 ac_status=$?
35824 grep -v '^ *+' conftest.er1 >conftest.err
35825 rm -f conftest.er1
35826 cat conftest.err >&5
35827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35828 (exit $ac_status); } &&
35829 { ac_try='test -z "$ac_c_werror_flag"
35830 || test ! -s conftest.err'
35831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35832 (eval $ac_try) 2>&5
35833 ac_status=$?
35834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35835 (exit $ac_status); }; } &&
35836 { ac_try='test -s conftest$ac_exeext'
35837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35838 (eval $ac_try) 2>&5
35839 ac_status=$?
35840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35841 (exit $ac_status); }; }; then
35842 eval "$as_ac_var=yes"
35843 else
35844 echo "$as_me: failed program was:" >&5
35845 sed 's/^/| /' conftest.$ac_ext >&5
35846
35847 eval "$as_ac_var=no"
35848 fi
35849 rm -f conftest.err conftest.$ac_objext \
35850 conftest$ac_exeext conftest.$ac_ext
35851 fi
35852 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35853 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35854 if test `eval echo '${'$as_ac_var'}'` = yes; then
35855 cat >>confdefs.h <<_ACEOF
35856 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35857 _ACEOF
35858
35859 fi
35860 done
35861
35862 else
35863
35864 echo "$as_me:$LINENO: checking for _isinff declaration" >&5
35865 echo $ECHO_N "checking for _isinff declaration... $ECHO_C" >&6
35866 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
35867 if test "${glibcxx_cv_func__isinff_use+set}" = set; then
35868 echo $ECHO_N "(cached) $ECHO_C" >&6
35869 else
35870
35871
35872
35873 ac_ext=cc
35874 ac_cpp='$CXXCPP $CPPFLAGS'
35875 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35876 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35877 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35878
35879 cat >conftest.$ac_ext <<_ACEOF
35880 /* confdefs.h. */
35881 _ACEOF
35882 cat confdefs.h >>conftest.$ac_ext
35883 cat >>conftest.$ac_ext <<_ACEOF
35884 /* end confdefs.h. */
35885 #include <math.h>
35886 #ifdef HAVE_IEEEFP_H
35887 #include <ieeefp.h>
35888 #endif
35889
35890 int
35891 main ()
35892 {
35893 _isinff(0);
35894 ;
35895 return 0;
35896 }
35897 _ACEOF
35898 rm -f conftest.$ac_objext
35899 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35900 (eval $ac_compile) 2>conftest.er1
35901 ac_status=$?
35902 grep -v '^ *+' conftest.er1 >conftest.err
35903 rm -f conftest.er1
35904 cat conftest.err >&5
35905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35906 (exit $ac_status); } &&
35907 { ac_try='test -z "$ac_cxx_werror_flag"
35908 || test ! -s conftest.err'
35909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35910 (eval $ac_try) 2>&5
35911 ac_status=$?
35912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35913 (exit $ac_status); }; } &&
35914 { ac_try='test -s conftest.$ac_objext'
35915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35916 (eval $ac_try) 2>&5
35917 ac_status=$?
35918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35919 (exit $ac_status); }; }; then
35920 glibcxx_cv_func__isinff_use=yes
35921 else
35922 echo "$as_me: failed program was:" >&5
35923 sed 's/^/| /' conftest.$ac_ext >&5
35924
35925 glibcxx_cv_func__isinff_use=no
35926 fi
35927 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35928 ac_ext=c
35929 ac_cpp='$CPP $CPPFLAGS'
35930 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35931 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35932 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35933
35934
35935 fi
35936
35937 fi
35938 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinff_use" >&5
35939 echo "${ECHO_T}$glibcxx_cv_func__isinff_use" >&6
35940
35941 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
35942
35943 for ac_func in _isinff
35944 do
35945 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35946 echo "$as_me:$LINENO: checking for $ac_func" >&5
35947 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35948 if eval "test \"\${$as_ac_var+set}\" = set"; then
35949 echo $ECHO_N "(cached) $ECHO_C" >&6
35950 else
35951 if test x$gcc_no_link = xyes; then
35952 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35953 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35954 { (exit 1); exit 1; }; }
35955 fi
35956 cat >conftest.$ac_ext <<_ACEOF
35957 /* confdefs.h. */
35958 _ACEOF
35959 cat confdefs.h >>conftest.$ac_ext
35960 cat >>conftest.$ac_ext <<_ACEOF
35961 /* end confdefs.h. */
35962 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35963 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35964 #define $ac_func innocuous_$ac_func
35965
35966 /* System header to define __stub macros and hopefully few prototypes,
35967 which can conflict with char $ac_func (); below.
35968 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35969 <limits.h> exists even on freestanding compilers. */
35970
35971 #ifdef __STDC__
35972 # include <limits.h>
35973 #else
35974 # include <assert.h>
35975 #endif
35976
35977 #undef $ac_func
35978
35979 /* Override any gcc2 internal prototype to avoid an error. */
35980 #ifdef __cplusplus
35981 extern "C"
35982 {
35983 #endif
35984 /* We use char because int might match the return type of a gcc2
35985 builtin and then its argument prototype would still apply. */
35986 char $ac_func ();
35987 /* The GNU C library defines this for functions which it implements
35988 to always fail with ENOSYS. Some functions are actually named
35989 something starting with __ and the normal name is an alias. */
35990 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35991 choke me
35992 #else
35993 char (*f) () = $ac_func;
35994 #endif
35995 #ifdef __cplusplus
35996 }
35997 #endif
35998
35999 int
36000 main ()
36001 {
36002 return f != $ac_func;
36003 ;
36004 return 0;
36005 }
36006 _ACEOF
36007 rm -f conftest.$ac_objext conftest$ac_exeext
36008 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36009 (eval $ac_link) 2>conftest.er1
36010 ac_status=$?
36011 grep -v '^ *+' conftest.er1 >conftest.err
36012 rm -f conftest.er1
36013 cat conftest.err >&5
36014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36015 (exit $ac_status); } &&
36016 { ac_try='test -z "$ac_c_werror_flag"
36017 || test ! -s conftest.err'
36018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36019 (eval $ac_try) 2>&5
36020 ac_status=$?
36021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36022 (exit $ac_status); }; } &&
36023 { ac_try='test -s conftest$ac_exeext'
36024 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36025 (eval $ac_try) 2>&5
36026 ac_status=$?
36027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36028 (exit $ac_status); }; }; then
36029 eval "$as_ac_var=yes"
36030 else
36031 echo "$as_me: failed program was:" >&5
36032 sed 's/^/| /' conftest.$ac_ext >&5
36033
36034 eval "$as_ac_var=no"
36035 fi
36036 rm -f conftest.err conftest.$ac_objext \
36037 conftest$ac_exeext conftest.$ac_ext
36038 fi
36039 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36040 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36041 if test `eval echo '${'$as_ac_var'}'` = yes; then
36042 cat >>confdefs.h <<_ACEOF
36043 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36044 _ACEOF
36045
36046 fi
36047 done
36048
36049 fi
36050 fi
36051
36052
36053
36054
36055
36056
36057 echo "$as_me:$LINENO: checking for atan2f declaration" >&5
36058 echo $ECHO_N "checking for atan2f declaration... $ECHO_C" >&6
36059 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
36060 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then
36061 echo $ECHO_N "(cached) $ECHO_C" >&6
36062 else
36063
36064
36065
36066 ac_ext=cc
36067 ac_cpp='$CXXCPP $CPPFLAGS'
36068 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36069 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36070 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36071
36072 cat >conftest.$ac_ext <<_ACEOF
36073 /* confdefs.h. */
36074 _ACEOF
36075 cat confdefs.h >>conftest.$ac_ext
36076 cat >>conftest.$ac_ext <<_ACEOF
36077 /* end confdefs.h. */
36078 #include <math.h>
36079 int
36080 main ()
36081 {
36082 atan2f(0, 0);
36083 ;
36084 return 0;
36085 }
36086 _ACEOF
36087 rm -f conftest.$ac_objext
36088 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36089 (eval $ac_compile) 2>conftest.er1
36090 ac_status=$?
36091 grep -v '^ *+' conftest.er1 >conftest.err
36092 rm -f conftest.er1
36093 cat conftest.err >&5
36094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36095 (exit $ac_status); } &&
36096 { ac_try='test -z "$ac_cxx_werror_flag"
36097 || test ! -s conftest.err'
36098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36099 (eval $ac_try) 2>&5
36100 ac_status=$?
36101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36102 (exit $ac_status); }; } &&
36103 { ac_try='test -s conftest.$ac_objext'
36104 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36105 (eval $ac_try) 2>&5
36106 ac_status=$?
36107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36108 (exit $ac_status); }; }; then
36109 glibcxx_cv_func_atan2f_use=yes
36110 else
36111 echo "$as_me: failed program was:" >&5
36112 sed 's/^/| /' conftest.$ac_ext >&5
36113
36114 glibcxx_cv_func_atan2f_use=no
36115 fi
36116 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36117 ac_ext=c
36118 ac_cpp='$CPP $CPPFLAGS'
36119 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36120 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36121 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36122
36123
36124 fi
36125
36126 fi
36127 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2f_use" >&5
36128 echo "${ECHO_T}$glibcxx_cv_func_atan2f_use" >&6
36129
36130 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
36131
36132 for ac_func in atan2f
36133 do
36134 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36135 echo "$as_me:$LINENO: checking for $ac_func" >&5
36136 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36137 if eval "test \"\${$as_ac_var+set}\" = set"; then
36138 echo $ECHO_N "(cached) $ECHO_C" >&6
36139 else
36140 if test x$gcc_no_link = xyes; then
36141 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36142 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36143 { (exit 1); exit 1; }; }
36144 fi
36145 cat >conftest.$ac_ext <<_ACEOF
36146 /* confdefs.h. */
36147 _ACEOF
36148 cat confdefs.h >>conftest.$ac_ext
36149 cat >>conftest.$ac_ext <<_ACEOF
36150 /* end confdefs.h. */
36151 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36152 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36153 #define $ac_func innocuous_$ac_func
36154
36155 /* System header to define __stub macros and hopefully few prototypes,
36156 which can conflict with char $ac_func (); below.
36157 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36158 <limits.h> exists even on freestanding compilers. */
36159
36160 #ifdef __STDC__
36161 # include <limits.h>
36162 #else
36163 # include <assert.h>
36164 #endif
36165
36166 #undef $ac_func
36167
36168 /* Override any gcc2 internal prototype to avoid an error. */
36169 #ifdef __cplusplus
36170 extern "C"
36171 {
36172 #endif
36173 /* We use char because int might match the return type of a gcc2
36174 builtin and then its argument prototype would still apply. */
36175 char $ac_func ();
36176 /* The GNU C library defines this for functions which it implements
36177 to always fail with ENOSYS. Some functions are actually named
36178 something starting with __ and the normal name is an alias. */
36179 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36180 choke me
36181 #else
36182 char (*f) () = $ac_func;
36183 #endif
36184 #ifdef __cplusplus
36185 }
36186 #endif
36187
36188 int
36189 main ()
36190 {
36191 return f != $ac_func;
36192 ;
36193 return 0;
36194 }
36195 _ACEOF
36196 rm -f conftest.$ac_objext conftest$ac_exeext
36197 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36198 (eval $ac_link) 2>conftest.er1
36199 ac_status=$?
36200 grep -v '^ *+' conftest.er1 >conftest.err
36201 rm -f conftest.er1
36202 cat conftest.err >&5
36203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36204 (exit $ac_status); } &&
36205 { ac_try='test -z "$ac_c_werror_flag"
36206 || test ! -s conftest.err'
36207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36208 (eval $ac_try) 2>&5
36209 ac_status=$?
36210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36211 (exit $ac_status); }; } &&
36212 { ac_try='test -s conftest$ac_exeext'
36213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36214 (eval $ac_try) 2>&5
36215 ac_status=$?
36216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36217 (exit $ac_status); }; }; then
36218 eval "$as_ac_var=yes"
36219 else
36220 echo "$as_me: failed program was:" >&5
36221 sed 's/^/| /' conftest.$ac_ext >&5
36222
36223 eval "$as_ac_var=no"
36224 fi
36225 rm -f conftest.err conftest.$ac_objext \
36226 conftest$ac_exeext conftest.$ac_ext
36227 fi
36228 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36229 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36230 if test `eval echo '${'$as_ac_var'}'` = yes; then
36231 cat >>confdefs.h <<_ACEOF
36232 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36233 _ACEOF
36234
36235 fi
36236 done
36237
36238 else
36239
36240 echo "$as_me:$LINENO: checking for _atan2f declaration" >&5
36241 echo $ECHO_N "checking for _atan2f declaration... $ECHO_C" >&6
36242 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
36243 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then
36244 echo $ECHO_N "(cached) $ECHO_C" >&6
36245 else
36246
36247
36248
36249 ac_ext=cc
36250 ac_cpp='$CXXCPP $CPPFLAGS'
36251 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36252 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36253 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36254
36255 cat >conftest.$ac_ext <<_ACEOF
36256 /* confdefs.h. */
36257 _ACEOF
36258 cat confdefs.h >>conftest.$ac_ext
36259 cat >>conftest.$ac_ext <<_ACEOF
36260 /* end confdefs.h. */
36261 #include <math.h>
36262 int
36263 main ()
36264 {
36265 _atan2f(0, 0);
36266 ;
36267 return 0;
36268 }
36269 _ACEOF
36270 rm -f conftest.$ac_objext
36271 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36272 (eval $ac_compile) 2>conftest.er1
36273 ac_status=$?
36274 grep -v '^ *+' conftest.er1 >conftest.err
36275 rm -f conftest.er1
36276 cat conftest.err >&5
36277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36278 (exit $ac_status); } &&
36279 { ac_try='test -z "$ac_cxx_werror_flag"
36280 || test ! -s conftest.err'
36281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36282 (eval $ac_try) 2>&5
36283 ac_status=$?
36284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36285 (exit $ac_status); }; } &&
36286 { ac_try='test -s conftest.$ac_objext'
36287 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36288 (eval $ac_try) 2>&5
36289 ac_status=$?
36290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36291 (exit $ac_status); }; }; then
36292 glibcxx_cv_func__atan2f_use=yes
36293 else
36294 echo "$as_me: failed program was:" >&5
36295 sed 's/^/| /' conftest.$ac_ext >&5
36296
36297 glibcxx_cv_func__atan2f_use=no
36298 fi
36299 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36300 ac_ext=c
36301 ac_cpp='$CPP $CPPFLAGS'
36302 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36303 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36304 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36305
36306
36307 fi
36308
36309 fi
36310 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2f_use" >&5
36311 echo "${ECHO_T}$glibcxx_cv_func__atan2f_use" >&6
36312
36313 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
36314
36315 for ac_func in _atan2f
36316 do
36317 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36318 echo "$as_me:$LINENO: checking for $ac_func" >&5
36319 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36320 if eval "test \"\${$as_ac_var+set}\" = set"; then
36321 echo $ECHO_N "(cached) $ECHO_C" >&6
36322 else
36323 if test x$gcc_no_link = xyes; then
36324 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36325 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36326 { (exit 1); exit 1; }; }
36327 fi
36328 cat >conftest.$ac_ext <<_ACEOF
36329 /* confdefs.h. */
36330 _ACEOF
36331 cat confdefs.h >>conftest.$ac_ext
36332 cat >>conftest.$ac_ext <<_ACEOF
36333 /* end confdefs.h. */
36334 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36335 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36336 #define $ac_func innocuous_$ac_func
36337
36338 /* System header to define __stub macros and hopefully few prototypes,
36339 which can conflict with char $ac_func (); below.
36340 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36341 <limits.h> exists even on freestanding compilers. */
36342
36343 #ifdef __STDC__
36344 # include <limits.h>
36345 #else
36346 # include <assert.h>
36347 #endif
36348
36349 #undef $ac_func
36350
36351 /* Override any gcc2 internal prototype to avoid an error. */
36352 #ifdef __cplusplus
36353 extern "C"
36354 {
36355 #endif
36356 /* We use char because int might match the return type of a gcc2
36357 builtin and then its argument prototype would still apply. */
36358 char $ac_func ();
36359 /* The GNU C library defines this for functions which it implements
36360 to always fail with ENOSYS. Some functions are actually named
36361 something starting with __ and the normal name is an alias. */
36362 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36363 choke me
36364 #else
36365 char (*f) () = $ac_func;
36366 #endif
36367 #ifdef __cplusplus
36368 }
36369 #endif
36370
36371 int
36372 main ()
36373 {
36374 return f != $ac_func;
36375 ;
36376 return 0;
36377 }
36378 _ACEOF
36379 rm -f conftest.$ac_objext conftest$ac_exeext
36380 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36381 (eval $ac_link) 2>conftest.er1
36382 ac_status=$?
36383 grep -v '^ *+' conftest.er1 >conftest.err
36384 rm -f conftest.er1
36385 cat conftest.err >&5
36386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36387 (exit $ac_status); } &&
36388 { ac_try='test -z "$ac_c_werror_flag"
36389 || test ! -s conftest.err'
36390 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36391 (eval $ac_try) 2>&5
36392 ac_status=$?
36393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36394 (exit $ac_status); }; } &&
36395 { ac_try='test -s conftest$ac_exeext'
36396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36397 (eval $ac_try) 2>&5
36398 ac_status=$?
36399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36400 (exit $ac_status); }; }; then
36401 eval "$as_ac_var=yes"
36402 else
36403 echo "$as_me: failed program was:" >&5
36404 sed 's/^/| /' conftest.$ac_ext >&5
36405
36406 eval "$as_ac_var=no"
36407 fi
36408 rm -f conftest.err conftest.$ac_objext \
36409 conftest$ac_exeext conftest.$ac_ext
36410 fi
36411 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36412 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36413 if test `eval echo '${'$as_ac_var'}'` = yes; then
36414 cat >>confdefs.h <<_ACEOF
36415 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36416 _ACEOF
36417
36418 fi
36419 done
36420
36421 fi
36422 fi
36423
36424
36425
36426
36427
36428
36429 echo "$as_me:$LINENO: checking for fabsf declaration" >&5
36430 echo $ECHO_N "checking for fabsf declaration... $ECHO_C" >&6
36431 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
36432 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then
36433 echo $ECHO_N "(cached) $ECHO_C" >&6
36434 else
36435
36436
36437
36438 ac_ext=cc
36439 ac_cpp='$CXXCPP $CPPFLAGS'
36440 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36441 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36442 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36443
36444 cat >conftest.$ac_ext <<_ACEOF
36445 /* confdefs.h. */
36446 _ACEOF
36447 cat confdefs.h >>conftest.$ac_ext
36448 cat >>conftest.$ac_ext <<_ACEOF
36449 /* end confdefs.h. */
36450 #include <math.h>
36451 #ifdef HAVE_IEEEFP_H
36452 #include <ieeefp.h>
36453 #endif
36454
36455 int
36456 main ()
36457 {
36458 fabsf(0);
36459 ;
36460 return 0;
36461 }
36462 _ACEOF
36463 rm -f conftest.$ac_objext
36464 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36465 (eval $ac_compile) 2>conftest.er1
36466 ac_status=$?
36467 grep -v '^ *+' conftest.er1 >conftest.err
36468 rm -f conftest.er1
36469 cat conftest.err >&5
36470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36471 (exit $ac_status); } &&
36472 { ac_try='test -z "$ac_cxx_werror_flag"
36473 || test ! -s conftest.err'
36474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36475 (eval $ac_try) 2>&5
36476 ac_status=$?
36477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36478 (exit $ac_status); }; } &&
36479 { ac_try='test -s conftest.$ac_objext'
36480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36481 (eval $ac_try) 2>&5
36482 ac_status=$?
36483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36484 (exit $ac_status); }; }; then
36485 glibcxx_cv_func_fabsf_use=yes
36486 else
36487 echo "$as_me: failed program was:" >&5
36488 sed 's/^/| /' conftest.$ac_ext >&5
36489
36490 glibcxx_cv_func_fabsf_use=no
36491 fi
36492 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36493 ac_ext=c
36494 ac_cpp='$CPP $CPPFLAGS'
36495 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36496 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36497 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36498
36499
36500 fi
36501
36502 fi
36503 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsf_use" >&5
36504 echo "${ECHO_T}$glibcxx_cv_func_fabsf_use" >&6
36505
36506 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
36507
36508 for ac_func in fabsf
36509 do
36510 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36511 echo "$as_me:$LINENO: checking for $ac_func" >&5
36512 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36513 if eval "test \"\${$as_ac_var+set}\" = set"; then
36514 echo $ECHO_N "(cached) $ECHO_C" >&6
36515 else
36516 if test x$gcc_no_link = xyes; then
36517 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36518 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36519 { (exit 1); exit 1; }; }
36520 fi
36521 cat >conftest.$ac_ext <<_ACEOF
36522 /* confdefs.h. */
36523 _ACEOF
36524 cat confdefs.h >>conftest.$ac_ext
36525 cat >>conftest.$ac_ext <<_ACEOF
36526 /* end confdefs.h. */
36527 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36528 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36529 #define $ac_func innocuous_$ac_func
36530
36531 /* System header to define __stub macros and hopefully few prototypes,
36532 which can conflict with char $ac_func (); below.
36533 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36534 <limits.h> exists even on freestanding compilers. */
36535
36536 #ifdef __STDC__
36537 # include <limits.h>
36538 #else
36539 # include <assert.h>
36540 #endif
36541
36542 #undef $ac_func
36543
36544 /* Override any gcc2 internal prototype to avoid an error. */
36545 #ifdef __cplusplus
36546 extern "C"
36547 {
36548 #endif
36549 /* We use char because int might match the return type of a gcc2
36550 builtin and then its argument prototype would still apply. */
36551 char $ac_func ();
36552 /* The GNU C library defines this for functions which it implements
36553 to always fail with ENOSYS. Some functions are actually named
36554 something starting with __ and the normal name is an alias. */
36555 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36556 choke me
36557 #else
36558 char (*f) () = $ac_func;
36559 #endif
36560 #ifdef __cplusplus
36561 }
36562 #endif
36563
36564 int
36565 main ()
36566 {
36567 return f != $ac_func;
36568 ;
36569 return 0;
36570 }
36571 _ACEOF
36572 rm -f conftest.$ac_objext conftest$ac_exeext
36573 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36574 (eval $ac_link) 2>conftest.er1
36575 ac_status=$?
36576 grep -v '^ *+' conftest.er1 >conftest.err
36577 rm -f conftest.er1
36578 cat conftest.err >&5
36579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36580 (exit $ac_status); } &&
36581 { ac_try='test -z "$ac_c_werror_flag"
36582 || test ! -s conftest.err'
36583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36584 (eval $ac_try) 2>&5
36585 ac_status=$?
36586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36587 (exit $ac_status); }; } &&
36588 { ac_try='test -s conftest$ac_exeext'
36589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36590 (eval $ac_try) 2>&5
36591 ac_status=$?
36592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36593 (exit $ac_status); }; }; then
36594 eval "$as_ac_var=yes"
36595 else
36596 echo "$as_me: failed program was:" >&5
36597 sed 's/^/| /' conftest.$ac_ext >&5
36598
36599 eval "$as_ac_var=no"
36600 fi
36601 rm -f conftest.err conftest.$ac_objext \
36602 conftest$ac_exeext conftest.$ac_ext
36603 fi
36604 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36605 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36606 if test `eval echo '${'$as_ac_var'}'` = yes; then
36607 cat >>confdefs.h <<_ACEOF
36608 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36609 _ACEOF
36610
36611 fi
36612 done
36613
36614 else
36615
36616 echo "$as_me:$LINENO: checking for _fabsf declaration" >&5
36617 echo $ECHO_N "checking for _fabsf declaration... $ECHO_C" >&6
36618 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
36619 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then
36620 echo $ECHO_N "(cached) $ECHO_C" >&6
36621 else
36622
36623
36624
36625 ac_ext=cc
36626 ac_cpp='$CXXCPP $CPPFLAGS'
36627 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36628 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36629 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36630
36631 cat >conftest.$ac_ext <<_ACEOF
36632 /* confdefs.h. */
36633 _ACEOF
36634 cat confdefs.h >>conftest.$ac_ext
36635 cat >>conftest.$ac_ext <<_ACEOF
36636 /* end confdefs.h. */
36637 #include <math.h>
36638 #ifdef HAVE_IEEEFP_H
36639 #include <ieeefp.h>
36640 #endif
36641
36642 int
36643 main ()
36644 {
36645 _fabsf(0);
36646 ;
36647 return 0;
36648 }
36649 _ACEOF
36650 rm -f conftest.$ac_objext
36651 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36652 (eval $ac_compile) 2>conftest.er1
36653 ac_status=$?
36654 grep -v '^ *+' conftest.er1 >conftest.err
36655 rm -f conftest.er1
36656 cat conftest.err >&5
36657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36658 (exit $ac_status); } &&
36659 { ac_try='test -z "$ac_cxx_werror_flag"
36660 || test ! -s conftest.err'
36661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36662 (eval $ac_try) 2>&5
36663 ac_status=$?
36664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36665 (exit $ac_status); }; } &&
36666 { ac_try='test -s conftest.$ac_objext'
36667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36668 (eval $ac_try) 2>&5
36669 ac_status=$?
36670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36671 (exit $ac_status); }; }; then
36672 glibcxx_cv_func__fabsf_use=yes
36673 else
36674 echo "$as_me: failed program was:" >&5
36675 sed 's/^/| /' conftest.$ac_ext >&5
36676
36677 glibcxx_cv_func__fabsf_use=no
36678 fi
36679 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36680 ac_ext=c
36681 ac_cpp='$CPP $CPPFLAGS'
36682 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36683 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36684 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36685
36686
36687 fi
36688
36689 fi
36690 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsf_use" >&5
36691 echo "${ECHO_T}$glibcxx_cv_func__fabsf_use" >&6
36692
36693 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
36694
36695 for ac_func in _fabsf
36696 do
36697 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36698 echo "$as_me:$LINENO: checking for $ac_func" >&5
36699 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36700 if eval "test \"\${$as_ac_var+set}\" = set"; then
36701 echo $ECHO_N "(cached) $ECHO_C" >&6
36702 else
36703 if test x$gcc_no_link = xyes; then
36704 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36705 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36706 { (exit 1); exit 1; }; }
36707 fi
36708 cat >conftest.$ac_ext <<_ACEOF
36709 /* confdefs.h. */
36710 _ACEOF
36711 cat confdefs.h >>conftest.$ac_ext
36712 cat >>conftest.$ac_ext <<_ACEOF
36713 /* end confdefs.h. */
36714 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36715 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36716 #define $ac_func innocuous_$ac_func
36717
36718 /* System header to define __stub macros and hopefully few prototypes,
36719 which can conflict with char $ac_func (); below.
36720 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36721 <limits.h> exists even on freestanding compilers. */
36722
36723 #ifdef __STDC__
36724 # include <limits.h>
36725 #else
36726 # include <assert.h>
36727 #endif
36728
36729 #undef $ac_func
36730
36731 /* Override any gcc2 internal prototype to avoid an error. */
36732 #ifdef __cplusplus
36733 extern "C"
36734 {
36735 #endif
36736 /* We use char because int might match the return type of a gcc2
36737 builtin and then its argument prototype would still apply. */
36738 char $ac_func ();
36739 /* The GNU C library defines this for functions which it implements
36740 to always fail with ENOSYS. Some functions are actually named
36741 something starting with __ and the normal name is an alias. */
36742 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36743 choke me
36744 #else
36745 char (*f) () = $ac_func;
36746 #endif
36747 #ifdef __cplusplus
36748 }
36749 #endif
36750
36751 int
36752 main ()
36753 {
36754 return f != $ac_func;
36755 ;
36756 return 0;
36757 }
36758 _ACEOF
36759 rm -f conftest.$ac_objext conftest$ac_exeext
36760 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36761 (eval $ac_link) 2>conftest.er1
36762 ac_status=$?
36763 grep -v '^ *+' conftest.er1 >conftest.err
36764 rm -f conftest.er1
36765 cat conftest.err >&5
36766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36767 (exit $ac_status); } &&
36768 { ac_try='test -z "$ac_c_werror_flag"
36769 || test ! -s conftest.err'
36770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36771 (eval $ac_try) 2>&5
36772 ac_status=$?
36773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36774 (exit $ac_status); }; } &&
36775 { ac_try='test -s conftest$ac_exeext'
36776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36777 (eval $ac_try) 2>&5
36778 ac_status=$?
36779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36780 (exit $ac_status); }; }; then
36781 eval "$as_ac_var=yes"
36782 else
36783 echo "$as_me: failed program was:" >&5
36784 sed 's/^/| /' conftest.$ac_ext >&5
36785
36786 eval "$as_ac_var=no"
36787 fi
36788 rm -f conftest.err conftest.$ac_objext \
36789 conftest$ac_exeext conftest.$ac_ext
36790 fi
36791 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36792 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36793 if test `eval echo '${'$as_ac_var'}'` = yes; then
36794 cat >>confdefs.h <<_ACEOF
36795 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36796 _ACEOF
36797
36798 fi
36799 done
36800
36801 fi
36802 fi
36803
36804
36805
36806
36807
36808
36809 echo "$as_me:$LINENO: checking for fmodf declaration" >&5
36810 echo $ECHO_N "checking for fmodf declaration... $ECHO_C" >&6
36811 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
36812 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then
36813 echo $ECHO_N "(cached) $ECHO_C" >&6
36814 else
36815
36816
36817
36818 ac_ext=cc
36819 ac_cpp='$CXXCPP $CPPFLAGS'
36820 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36821 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36822 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36823
36824 cat >conftest.$ac_ext <<_ACEOF
36825 /* confdefs.h. */
36826 _ACEOF
36827 cat confdefs.h >>conftest.$ac_ext
36828 cat >>conftest.$ac_ext <<_ACEOF
36829 /* end confdefs.h. */
36830 #include <math.h>
36831 int
36832 main ()
36833 {
36834 fmodf(0, 0);
36835 ;
36836 return 0;
36837 }
36838 _ACEOF
36839 rm -f conftest.$ac_objext
36840 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36841 (eval $ac_compile) 2>conftest.er1
36842 ac_status=$?
36843 grep -v '^ *+' conftest.er1 >conftest.err
36844 rm -f conftest.er1
36845 cat conftest.err >&5
36846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36847 (exit $ac_status); } &&
36848 { ac_try='test -z "$ac_cxx_werror_flag"
36849 || test ! -s conftest.err'
36850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36851 (eval $ac_try) 2>&5
36852 ac_status=$?
36853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36854 (exit $ac_status); }; } &&
36855 { ac_try='test -s conftest.$ac_objext'
36856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36857 (eval $ac_try) 2>&5
36858 ac_status=$?
36859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36860 (exit $ac_status); }; }; then
36861 glibcxx_cv_func_fmodf_use=yes
36862 else
36863 echo "$as_me: failed program was:" >&5
36864 sed 's/^/| /' conftest.$ac_ext >&5
36865
36866 glibcxx_cv_func_fmodf_use=no
36867 fi
36868 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36869 ac_ext=c
36870 ac_cpp='$CPP $CPPFLAGS'
36871 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36872 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36873 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36874
36875
36876 fi
36877
36878 fi
36879 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodf_use" >&5
36880 echo "${ECHO_T}$glibcxx_cv_func_fmodf_use" >&6
36881
36882 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
36883
36884 for ac_func in fmodf
36885 do
36886 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36887 echo "$as_me:$LINENO: checking for $ac_func" >&5
36888 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36889 if eval "test \"\${$as_ac_var+set}\" = set"; then
36890 echo $ECHO_N "(cached) $ECHO_C" >&6
36891 else
36892 if test x$gcc_no_link = xyes; then
36893 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36894 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36895 { (exit 1); exit 1; }; }
36896 fi
36897 cat >conftest.$ac_ext <<_ACEOF
36898 /* confdefs.h. */
36899 _ACEOF
36900 cat confdefs.h >>conftest.$ac_ext
36901 cat >>conftest.$ac_ext <<_ACEOF
36902 /* end confdefs.h. */
36903 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36904 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36905 #define $ac_func innocuous_$ac_func
36906
36907 /* System header to define __stub macros and hopefully few prototypes,
36908 which can conflict with char $ac_func (); below.
36909 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36910 <limits.h> exists even on freestanding compilers. */
36911
36912 #ifdef __STDC__
36913 # include <limits.h>
36914 #else
36915 # include <assert.h>
36916 #endif
36917
36918 #undef $ac_func
36919
36920 /* Override any gcc2 internal prototype to avoid an error. */
36921 #ifdef __cplusplus
36922 extern "C"
36923 {
36924 #endif
36925 /* We use char because int might match the return type of a gcc2
36926 builtin and then its argument prototype would still apply. */
36927 char $ac_func ();
36928 /* The GNU C library defines this for functions which it implements
36929 to always fail with ENOSYS. Some functions are actually named
36930 something starting with __ and the normal name is an alias. */
36931 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36932 choke me
36933 #else
36934 char (*f) () = $ac_func;
36935 #endif
36936 #ifdef __cplusplus
36937 }
36938 #endif
36939
36940 int
36941 main ()
36942 {
36943 return f != $ac_func;
36944 ;
36945 return 0;
36946 }
36947 _ACEOF
36948 rm -f conftest.$ac_objext conftest$ac_exeext
36949 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36950 (eval $ac_link) 2>conftest.er1
36951 ac_status=$?
36952 grep -v '^ *+' conftest.er1 >conftest.err
36953 rm -f conftest.er1
36954 cat conftest.err >&5
36955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36956 (exit $ac_status); } &&
36957 { ac_try='test -z "$ac_c_werror_flag"
36958 || test ! -s conftest.err'
36959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36960 (eval $ac_try) 2>&5
36961 ac_status=$?
36962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36963 (exit $ac_status); }; } &&
36964 { ac_try='test -s conftest$ac_exeext'
36965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36966 (eval $ac_try) 2>&5
36967 ac_status=$?
36968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36969 (exit $ac_status); }; }; then
36970 eval "$as_ac_var=yes"
36971 else
36972 echo "$as_me: failed program was:" >&5
36973 sed 's/^/| /' conftest.$ac_ext >&5
36974
36975 eval "$as_ac_var=no"
36976 fi
36977 rm -f conftest.err conftest.$ac_objext \
36978 conftest$ac_exeext conftest.$ac_ext
36979 fi
36980 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36981 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36982 if test `eval echo '${'$as_ac_var'}'` = yes; then
36983 cat >>confdefs.h <<_ACEOF
36984 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36985 _ACEOF
36986
36987 fi
36988 done
36989
36990 else
36991
36992 echo "$as_me:$LINENO: checking for _fmodf declaration" >&5
36993 echo $ECHO_N "checking for _fmodf declaration... $ECHO_C" >&6
36994 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
36995 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then
36996 echo $ECHO_N "(cached) $ECHO_C" >&6
36997 else
36998
36999
37000
37001 ac_ext=cc
37002 ac_cpp='$CXXCPP $CPPFLAGS'
37003 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37004 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37005 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37006
37007 cat >conftest.$ac_ext <<_ACEOF
37008 /* confdefs.h. */
37009 _ACEOF
37010 cat confdefs.h >>conftest.$ac_ext
37011 cat >>conftest.$ac_ext <<_ACEOF
37012 /* end confdefs.h. */
37013 #include <math.h>
37014 int
37015 main ()
37016 {
37017 _fmodf(0, 0);
37018 ;
37019 return 0;
37020 }
37021 _ACEOF
37022 rm -f conftest.$ac_objext
37023 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37024 (eval $ac_compile) 2>conftest.er1
37025 ac_status=$?
37026 grep -v '^ *+' conftest.er1 >conftest.err
37027 rm -f conftest.er1
37028 cat conftest.err >&5
37029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37030 (exit $ac_status); } &&
37031 { ac_try='test -z "$ac_cxx_werror_flag"
37032 || test ! -s conftest.err'
37033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37034 (eval $ac_try) 2>&5
37035 ac_status=$?
37036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37037 (exit $ac_status); }; } &&
37038 { ac_try='test -s conftest.$ac_objext'
37039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37040 (eval $ac_try) 2>&5
37041 ac_status=$?
37042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37043 (exit $ac_status); }; }; then
37044 glibcxx_cv_func__fmodf_use=yes
37045 else
37046 echo "$as_me: failed program was:" >&5
37047 sed 's/^/| /' conftest.$ac_ext >&5
37048
37049 glibcxx_cv_func__fmodf_use=no
37050 fi
37051 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37052 ac_ext=c
37053 ac_cpp='$CPP $CPPFLAGS'
37054 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37055 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37056 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37057
37058
37059 fi
37060
37061 fi
37062 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodf_use" >&5
37063 echo "${ECHO_T}$glibcxx_cv_func__fmodf_use" >&6
37064
37065 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
37066
37067 for ac_func in _fmodf
37068 do
37069 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37070 echo "$as_me:$LINENO: checking for $ac_func" >&5
37071 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37072 if eval "test \"\${$as_ac_var+set}\" = set"; then
37073 echo $ECHO_N "(cached) $ECHO_C" >&6
37074 else
37075 if test x$gcc_no_link = xyes; then
37076 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37077 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37078 { (exit 1); exit 1; }; }
37079 fi
37080 cat >conftest.$ac_ext <<_ACEOF
37081 /* confdefs.h. */
37082 _ACEOF
37083 cat confdefs.h >>conftest.$ac_ext
37084 cat >>conftest.$ac_ext <<_ACEOF
37085 /* end confdefs.h. */
37086 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37087 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37088 #define $ac_func innocuous_$ac_func
37089
37090 /* System header to define __stub macros and hopefully few prototypes,
37091 which can conflict with char $ac_func (); below.
37092 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37093 <limits.h> exists even on freestanding compilers. */
37094
37095 #ifdef __STDC__
37096 # include <limits.h>
37097 #else
37098 # include <assert.h>
37099 #endif
37100
37101 #undef $ac_func
37102
37103 /* Override any gcc2 internal prototype to avoid an error. */
37104 #ifdef __cplusplus
37105 extern "C"
37106 {
37107 #endif
37108 /* We use char because int might match the return type of a gcc2
37109 builtin and then its argument prototype would still apply. */
37110 char $ac_func ();
37111 /* The GNU C library defines this for functions which it implements
37112 to always fail with ENOSYS. Some functions are actually named
37113 something starting with __ and the normal name is an alias. */
37114 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37115 choke me
37116 #else
37117 char (*f) () = $ac_func;
37118 #endif
37119 #ifdef __cplusplus
37120 }
37121 #endif
37122
37123 int
37124 main ()
37125 {
37126 return f != $ac_func;
37127 ;
37128 return 0;
37129 }
37130 _ACEOF
37131 rm -f conftest.$ac_objext conftest$ac_exeext
37132 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37133 (eval $ac_link) 2>conftest.er1
37134 ac_status=$?
37135 grep -v '^ *+' conftest.er1 >conftest.err
37136 rm -f conftest.er1
37137 cat conftest.err >&5
37138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37139 (exit $ac_status); } &&
37140 { ac_try='test -z "$ac_c_werror_flag"
37141 || test ! -s conftest.err'
37142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37143 (eval $ac_try) 2>&5
37144 ac_status=$?
37145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37146 (exit $ac_status); }; } &&
37147 { ac_try='test -s conftest$ac_exeext'
37148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37149 (eval $ac_try) 2>&5
37150 ac_status=$?
37151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37152 (exit $ac_status); }; }; then
37153 eval "$as_ac_var=yes"
37154 else
37155 echo "$as_me: failed program was:" >&5
37156 sed 's/^/| /' conftest.$ac_ext >&5
37157
37158 eval "$as_ac_var=no"
37159 fi
37160 rm -f conftest.err conftest.$ac_objext \
37161 conftest$ac_exeext conftest.$ac_ext
37162 fi
37163 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37164 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37165 if test `eval echo '${'$as_ac_var'}'` = yes; then
37166 cat >>confdefs.h <<_ACEOF
37167 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37168 _ACEOF
37169
37170 fi
37171 done
37172
37173 fi
37174 fi
37175
37176
37177
37178
37179
37180
37181 echo "$as_me:$LINENO: checking for frexpf declaration" >&5
37182 echo $ECHO_N "checking for frexpf declaration... $ECHO_C" >&6
37183 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
37184 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then
37185 echo $ECHO_N "(cached) $ECHO_C" >&6
37186 else
37187
37188
37189
37190 ac_ext=cc
37191 ac_cpp='$CXXCPP $CPPFLAGS'
37192 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37193 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37194 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37195
37196 cat >conftest.$ac_ext <<_ACEOF
37197 /* confdefs.h. */
37198 _ACEOF
37199 cat confdefs.h >>conftest.$ac_ext
37200 cat >>conftest.$ac_ext <<_ACEOF
37201 /* end confdefs.h. */
37202 #include <math.h>
37203 int
37204 main ()
37205 {
37206 frexpf(0, 0);
37207 ;
37208 return 0;
37209 }
37210 _ACEOF
37211 rm -f conftest.$ac_objext
37212 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37213 (eval $ac_compile) 2>conftest.er1
37214 ac_status=$?
37215 grep -v '^ *+' conftest.er1 >conftest.err
37216 rm -f conftest.er1
37217 cat conftest.err >&5
37218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37219 (exit $ac_status); } &&
37220 { ac_try='test -z "$ac_cxx_werror_flag"
37221 || test ! -s conftest.err'
37222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37223 (eval $ac_try) 2>&5
37224 ac_status=$?
37225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37226 (exit $ac_status); }; } &&
37227 { ac_try='test -s conftest.$ac_objext'
37228 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37229 (eval $ac_try) 2>&5
37230 ac_status=$?
37231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37232 (exit $ac_status); }; }; then
37233 glibcxx_cv_func_frexpf_use=yes
37234 else
37235 echo "$as_me: failed program was:" >&5
37236 sed 's/^/| /' conftest.$ac_ext >&5
37237
37238 glibcxx_cv_func_frexpf_use=no
37239 fi
37240 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37241 ac_ext=c
37242 ac_cpp='$CPP $CPPFLAGS'
37243 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37244 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37245 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37246
37247
37248 fi
37249
37250 fi
37251 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpf_use" >&5
37252 echo "${ECHO_T}$glibcxx_cv_func_frexpf_use" >&6
37253
37254 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
37255
37256 for ac_func in frexpf
37257 do
37258 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37259 echo "$as_me:$LINENO: checking for $ac_func" >&5
37260 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37261 if eval "test \"\${$as_ac_var+set}\" = set"; then
37262 echo $ECHO_N "(cached) $ECHO_C" >&6
37263 else
37264 if test x$gcc_no_link = xyes; then
37265 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37266 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37267 { (exit 1); exit 1; }; }
37268 fi
37269 cat >conftest.$ac_ext <<_ACEOF
37270 /* confdefs.h. */
37271 _ACEOF
37272 cat confdefs.h >>conftest.$ac_ext
37273 cat >>conftest.$ac_ext <<_ACEOF
37274 /* end confdefs.h. */
37275 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37276 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37277 #define $ac_func innocuous_$ac_func
37278
37279 /* System header to define __stub macros and hopefully few prototypes,
37280 which can conflict with char $ac_func (); below.
37281 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37282 <limits.h> exists even on freestanding compilers. */
37283
37284 #ifdef __STDC__
37285 # include <limits.h>
37286 #else
37287 # include <assert.h>
37288 #endif
37289
37290 #undef $ac_func
37291
37292 /* Override any gcc2 internal prototype to avoid an error. */
37293 #ifdef __cplusplus
37294 extern "C"
37295 {
37296 #endif
37297 /* We use char because int might match the return type of a gcc2
37298 builtin and then its argument prototype would still apply. */
37299 char $ac_func ();
37300 /* The GNU C library defines this for functions which it implements
37301 to always fail with ENOSYS. Some functions are actually named
37302 something starting with __ and the normal name is an alias. */
37303 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37304 choke me
37305 #else
37306 char (*f) () = $ac_func;
37307 #endif
37308 #ifdef __cplusplus
37309 }
37310 #endif
37311
37312 int
37313 main ()
37314 {
37315 return f != $ac_func;
37316 ;
37317 return 0;
37318 }
37319 _ACEOF
37320 rm -f conftest.$ac_objext conftest$ac_exeext
37321 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37322 (eval $ac_link) 2>conftest.er1
37323 ac_status=$?
37324 grep -v '^ *+' conftest.er1 >conftest.err
37325 rm -f conftest.er1
37326 cat conftest.err >&5
37327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37328 (exit $ac_status); } &&
37329 { ac_try='test -z "$ac_c_werror_flag"
37330 || test ! -s conftest.err'
37331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37332 (eval $ac_try) 2>&5
37333 ac_status=$?
37334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37335 (exit $ac_status); }; } &&
37336 { ac_try='test -s conftest$ac_exeext'
37337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37338 (eval $ac_try) 2>&5
37339 ac_status=$?
37340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37341 (exit $ac_status); }; }; then
37342 eval "$as_ac_var=yes"
37343 else
37344 echo "$as_me: failed program was:" >&5
37345 sed 's/^/| /' conftest.$ac_ext >&5
37346
37347 eval "$as_ac_var=no"
37348 fi
37349 rm -f conftest.err conftest.$ac_objext \
37350 conftest$ac_exeext conftest.$ac_ext
37351 fi
37352 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37353 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37354 if test `eval echo '${'$as_ac_var'}'` = yes; then
37355 cat >>confdefs.h <<_ACEOF
37356 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37357 _ACEOF
37358
37359 fi
37360 done
37361
37362 else
37363
37364 echo "$as_me:$LINENO: checking for _frexpf declaration" >&5
37365 echo $ECHO_N "checking for _frexpf declaration... $ECHO_C" >&6
37366 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
37367 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then
37368 echo $ECHO_N "(cached) $ECHO_C" >&6
37369 else
37370
37371
37372
37373 ac_ext=cc
37374 ac_cpp='$CXXCPP $CPPFLAGS'
37375 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37376 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37377 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37378
37379 cat >conftest.$ac_ext <<_ACEOF
37380 /* confdefs.h. */
37381 _ACEOF
37382 cat confdefs.h >>conftest.$ac_ext
37383 cat >>conftest.$ac_ext <<_ACEOF
37384 /* end confdefs.h. */
37385 #include <math.h>
37386 int
37387 main ()
37388 {
37389 _frexpf(0, 0);
37390 ;
37391 return 0;
37392 }
37393 _ACEOF
37394 rm -f conftest.$ac_objext
37395 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37396 (eval $ac_compile) 2>conftest.er1
37397 ac_status=$?
37398 grep -v '^ *+' conftest.er1 >conftest.err
37399 rm -f conftest.er1
37400 cat conftest.err >&5
37401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37402 (exit $ac_status); } &&
37403 { ac_try='test -z "$ac_cxx_werror_flag"
37404 || test ! -s conftest.err'
37405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37406 (eval $ac_try) 2>&5
37407 ac_status=$?
37408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37409 (exit $ac_status); }; } &&
37410 { ac_try='test -s conftest.$ac_objext'
37411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37412 (eval $ac_try) 2>&5
37413 ac_status=$?
37414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37415 (exit $ac_status); }; }; then
37416 glibcxx_cv_func__frexpf_use=yes
37417 else
37418 echo "$as_me: failed program was:" >&5
37419 sed 's/^/| /' conftest.$ac_ext >&5
37420
37421 glibcxx_cv_func__frexpf_use=no
37422 fi
37423 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37424 ac_ext=c
37425 ac_cpp='$CPP $CPPFLAGS'
37426 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37427 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37428 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37429
37430
37431 fi
37432
37433 fi
37434 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpf_use" >&5
37435 echo "${ECHO_T}$glibcxx_cv_func__frexpf_use" >&6
37436
37437 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
37438
37439 for ac_func in _frexpf
37440 do
37441 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37442 echo "$as_me:$LINENO: checking for $ac_func" >&5
37443 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37444 if eval "test \"\${$as_ac_var+set}\" = set"; then
37445 echo $ECHO_N "(cached) $ECHO_C" >&6
37446 else
37447 if test x$gcc_no_link = xyes; then
37448 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37449 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37450 { (exit 1); exit 1; }; }
37451 fi
37452 cat >conftest.$ac_ext <<_ACEOF
37453 /* confdefs.h. */
37454 _ACEOF
37455 cat confdefs.h >>conftest.$ac_ext
37456 cat >>conftest.$ac_ext <<_ACEOF
37457 /* end confdefs.h. */
37458 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37459 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37460 #define $ac_func innocuous_$ac_func
37461
37462 /* System header to define __stub macros and hopefully few prototypes,
37463 which can conflict with char $ac_func (); below.
37464 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37465 <limits.h> exists even on freestanding compilers. */
37466
37467 #ifdef __STDC__
37468 # include <limits.h>
37469 #else
37470 # include <assert.h>
37471 #endif
37472
37473 #undef $ac_func
37474
37475 /* Override any gcc2 internal prototype to avoid an error. */
37476 #ifdef __cplusplus
37477 extern "C"
37478 {
37479 #endif
37480 /* We use char because int might match the return type of a gcc2
37481 builtin and then its argument prototype would still apply. */
37482 char $ac_func ();
37483 /* The GNU C library defines this for functions which it implements
37484 to always fail with ENOSYS. Some functions are actually named
37485 something starting with __ and the normal name is an alias. */
37486 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37487 choke me
37488 #else
37489 char (*f) () = $ac_func;
37490 #endif
37491 #ifdef __cplusplus
37492 }
37493 #endif
37494
37495 int
37496 main ()
37497 {
37498 return f != $ac_func;
37499 ;
37500 return 0;
37501 }
37502 _ACEOF
37503 rm -f conftest.$ac_objext conftest$ac_exeext
37504 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37505 (eval $ac_link) 2>conftest.er1
37506 ac_status=$?
37507 grep -v '^ *+' conftest.er1 >conftest.err
37508 rm -f conftest.er1
37509 cat conftest.err >&5
37510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37511 (exit $ac_status); } &&
37512 { ac_try='test -z "$ac_c_werror_flag"
37513 || test ! -s conftest.err'
37514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37515 (eval $ac_try) 2>&5
37516 ac_status=$?
37517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37518 (exit $ac_status); }; } &&
37519 { ac_try='test -s conftest$ac_exeext'
37520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37521 (eval $ac_try) 2>&5
37522 ac_status=$?
37523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37524 (exit $ac_status); }; }; then
37525 eval "$as_ac_var=yes"
37526 else
37527 echo "$as_me: failed program was:" >&5
37528 sed 's/^/| /' conftest.$ac_ext >&5
37529
37530 eval "$as_ac_var=no"
37531 fi
37532 rm -f conftest.err conftest.$ac_objext \
37533 conftest$ac_exeext conftest.$ac_ext
37534 fi
37535 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37536 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37537 if test `eval echo '${'$as_ac_var'}'` = yes; then
37538 cat >>confdefs.h <<_ACEOF
37539 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37540 _ACEOF
37541
37542 fi
37543 done
37544
37545 fi
37546 fi
37547
37548
37549
37550
37551
37552
37553 echo "$as_me:$LINENO: checking for hypotf declaration" >&5
37554 echo $ECHO_N "checking for hypotf declaration... $ECHO_C" >&6
37555 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
37556 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then
37557 echo $ECHO_N "(cached) $ECHO_C" >&6
37558 else
37559
37560
37561
37562 ac_ext=cc
37563 ac_cpp='$CXXCPP $CPPFLAGS'
37564 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37565 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37566 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37567
37568 cat >conftest.$ac_ext <<_ACEOF
37569 /* confdefs.h. */
37570 _ACEOF
37571 cat confdefs.h >>conftest.$ac_ext
37572 cat >>conftest.$ac_ext <<_ACEOF
37573 /* end confdefs.h. */
37574 #include <math.h>
37575 int
37576 main ()
37577 {
37578 hypotf(0, 0);
37579 ;
37580 return 0;
37581 }
37582 _ACEOF
37583 rm -f conftest.$ac_objext
37584 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37585 (eval $ac_compile) 2>conftest.er1
37586 ac_status=$?
37587 grep -v '^ *+' conftest.er1 >conftest.err
37588 rm -f conftest.er1
37589 cat conftest.err >&5
37590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37591 (exit $ac_status); } &&
37592 { ac_try='test -z "$ac_cxx_werror_flag"
37593 || test ! -s conftest.err'
37594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37595 (eval $ac_try) 2>&5
37596 ac_status=$?
37597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37598 (exit $ac_status); }; } &&
37599 { ac_try='test -s conftest.$ac_objext'
37600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37601 (eval $ac_try) 2>&5
37602 ac_status=$?
37603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37604 (exit $ac_status); }; }; then
37605 glibcxx_cv_func_hypotf_use=yes
37606 else
37607 echo "$as_me: failed program was:" >&5
37608 sed 's/^/| /' conftest.$ac_ext >&5
37609
37610 glibcxx_cv_func_hypotf_use=no
37611 fi
37612 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37613 ac_ext=c
37614 ac_cpp='$CPP $CPPFLAGS'
37615 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37616 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37617 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37618
37619
37620 fi
37621
37622 fi
37623 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotf_use" >&5
37624 echo "${ECHO_T}$glibcxx_cv_func_hypotf_use" >&6
37625
37626 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
37627
37628 for ac_func in hypotf
37629 do
37630 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37631 echo "$as_me:$LINENO: checking for $ac_func" >&5
37632 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37633 if eval "test \"\${$as_ac_var+set}\" = set"; then
37634 echo $ECHO_N "(cached) $ECHO_C" >&6
37635 else
37636 if test x$gcc_no_link = xyes; then
37637 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37638 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37639 { (exit 1); exit 1; }; }
37640 fi
37641 cat >conftest.$ac_ext <<_ACEOF
37642 /* confdefs.h. */
37643 _ACEOF
37644 cat confdefs.h >>conftest.$ac_ext
37645 cat >>conftest.$ac_ext <<_ACEOF
37646 /* end confdefs.h. */
37647 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37648 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37649 #define $ac_func innocuous_$ac_func
37650
37651 /* System header to define __stub macros and hopefully few prototypes,
37652 which can conflict with char $ac_func (); below.
37653 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37654 <limits.h> exists even on freestanding compilers. */
37655
37656 #ifdef __STDC__
37657 # include <limits.h>
37658 #else
37659 # include <assert.h>
37660 #endif
37661
37662 #undef $ac_func
37663
37664 /* Override any gcc2 internal prototype to avoid an error. */
37665 #ifdef __cplusplus
37666 extern "C"
37667 {
37668 #endif
37669 /* We use char because int might match the return type of a gcc2
37670 builtin and then its argument prototype would still apply. */
37671 char $ac_func ();
37672 /* The GNU C library defines this for functions which it implements
37673 to always fail with ENOSYS. Some functions are actually named
37674 something starting with __ and the normal name is an alias. */
37675 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37676 choke me
37677 #else
37678 char (*f) () = $ac_func;
37679 #endif
37680 #ifdef __cplusplus
37681 }
37682 #endif
37683
37684 int
37685 main ()
37686 {
37687 return f != $ac_func;
37688 ;
37689 return 0;
37690 }
37691 _ACEOF
37692 rm -f conftest.$ac_objext conftest$ac_exeext
37693 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37694 (eval $ac_link) 2>conftest.er1
37695 ac_status=$?
37696 grep -v '^ *+' conftest.er1 >conftest.err
37697 rm -f conftest.er1
37698 cat conftest.err >&5
37699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37700 (exit $ac_status); } &&
37701 { ac_try='test -z "$ac_c_werror_flag"
37702 || test ! -s conftest.err'
37703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37704 (eval $ac_try) 2>&5
37705 ac_status=$?
37706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37707 (exit $ac_status); }; } &&
37708 { ac_try='test -s conftest$ac_exeext'
37709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37710 (eval $ac_try) 2>&5
37711 ac_status=$?
37712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37713 (exit $ac_status); }; }; then
37714 eval "$as_ac_var=yes"
37715 else
37716 echo "$as_me: failed program was:" >&5
37717 sed 's/^/| /' conftest.$ac_ext >&5
37718
37719 eval "$as_ac_var=no"
37720 fi
37721 rm -f conftest.err conftest.$ac_objext \
37722 conftest$ac_exeext conftest.$ac_ext
37723 fi
37724 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37725 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37726 if test `eval echo '${'$as_ac_var'}'` = yes; then
37727 cat >>confdefs.h <<_ACEOF
37728 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37729 _ACEOF
37730
37731 fi
37732 done
37733
37734 else
37735
37736 echo "$as_me:$LINENO: checking for _hypotf declaration" >&5
37737 echo $ECHO_N "checking for _hypotf declaration... $ECHO_C" >&6
37738 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
37739 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then
37740 echo $ECHO_N "(cached) $ECHO_C" >&6
37741 else
37742
37743
37744
37745 ac_ext=cc
37746 ac_cpp='$CXXCPP $CPPFLAGS'
37747 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37748 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37749 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37750
37751 cat >conftest.$ac_ext <<_ACEOF
37752 /* confdefs.h. */
37753 _ACEOF
37754 cat confdefs.h >>conftest.$ac_ext
37755 cat >>conftest.$ac_ext <<_ACEOF
37756 /* end confdefs.h. */
37757 #include <math.h>
37758 int
37759 main ()
37760 {
37761 _hypotf(0, 0);
37762 ;
37763 return 0;
37764 }
37765 _ACEOF
37766 rm -f conftest.$ac_objext
37767 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37768 (eval $ac_compile) 2>conftest.er1
37769 ac_status=$?
37770 grep -v '^ *+' conftest.er1 >conftest.err
37771 rm -f conftest.er1
37772 cat conftest.err >&5
37773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37774 (exit $ac_status); } &&
37775 { ac_try='test -z "$ac_cxx_werror_flag"
37776 || test ! -s conftest.err'
37777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37778 (eval $ac_try) 2>&5
37779 ac_status=$?
37780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37781 (exit $ac_status); }; } &&
37782 { ac_try='test -s conftest.$ac_objext'
37783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37784 (eval $ac_try) 2>&5
37785 ac_status=$?
37786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37787 (exit $ac_status); }; }; then
37788 glibcxx_cv_func__hypotf_use=yes
37789 else
37790 echo "$as_me: failed program was:" >&5
37791 sed 's/^/| /' conftest.$ac_ext >&5
37792
37793 glibcxx_cv_func__hypotf_use=no
37794 fi
37795 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37796 ac_ext=c
37797 ac_cpp='$CPP $CPPFLAGS'
37798 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37799 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37800 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37801
37802
37803 fi
37804
37805 fi
37806 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotf_use" >&5
37807 echo "${ECHO_T}$glibcxx_cv_func__hypotf_use" >&6
37808
37809 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
37810
37811 for ac_func in _hypotf
37812 do
37813 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37814 echo "$as_me:$LINENO: checking for $ac_func" >&5
37815 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37816 if eval "test \"\${$as_ac_var+set}\" = set"; then
37817 echo $ECHO_N "(cached) $ECHO_C" >&6
37818 else
37819 if test x$gcc_no_link = xyes; then
37820 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37821 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37822 { (exit 1); exit 1; }; }
37823 fi
37824 cat >conftest.$ac_ext <<_ACEOF
37825 /* confdefs.h. */
37826 _ACEOF
37827 cat confdefs.h >>conftest.$ac_ext
37828 cat >>conftest.$ac_ext <<_ACEOF
37829 /* end confdefs.h. */
37830 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37831 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37832 #define $ac_func innocuous_$ac_func
37833
37834 /* System header to define __stub macros and hopefully few prototypes,
37835 which can conflict with char $ac_func (); below.
37836 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37837 <limits.h> exists even on freestanding compilers. */
37838
37839 #ifdef __STDC__
37840 # include <limits.h>
37841 #else
37842 # include <assert.h>
37843 #endif
37844
37845 #undef $ac_func
37846
37847 /* Override any gcc2 internal prototype to avoid an error. */
37848 #ifdef __cplusplus
37849 extern "C"
37850 {
37851 #endif
37852 /* We use char because int might match the return type of a gcc2
37853 builtin and then its argument prototype would still apply. */
37854 char $ac_func ();
37855 /* The GNU C library defines this for functions which it implements
37856 to always fail with ENOSYS. Some functions are actually named
37857 something starting with __ and the normal name is an alias. */
37858 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37859 choke me
37860 #else
37861 char (*f) () = $ac_func;
37862 #endif
37863 #ifdef __cplusplus
37864 }
37865 #endif
37866
37867 int
37868 main ()
37869 {
37870 return f != $ac_func;
37871 ;
37872 return 0;
37873 }
37874 _ACEOF
37875 rm -f conftest.$ac_objext conftest$ac_exeext
37876 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37877 (eval $ac_link) 2>conftest.er1
37878 ac_status=$?
37879 grep -v '^ *+' conftest.er1 >conftest.err
37880 rm -f conftest.er1
37881 cat conftest.err >&5
37882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37883 (exit $ac_status); } &&
37884 { ac_try='test -z "$ac_c_werror_flag"
37885 || test ! -s conftest.err'
37886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37887 (eval $ac_try) 2>&5
37888 ac_status=$?
37889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37890 (exit $ac_status); }; } &&
37891 { ac_try='test -s conftest$ac_exeext'
37892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37893 (eval $ac_try) 2>&5
37894 ac_status=$?
37895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37896 (exit $ac_status); }; }; then
37897 eval "$as_ac_var=yes"
37898 else
37899 echo "$as_me: failed program was:" >&5
37900 sed 's/^/| /' conftest.$ac_ext >&5
37901
37902 eval "$as_ac_var=no"
37903 fi
37904 rm -f conftest.err conftest.$ac_objext \
37905 conftest$ac_exeext conftest.$ac_ext
37906 fi
37907 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37908 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37909 if test `eval echo '${'$as_ac_var'}'` = yes; then
37910 cat >>confdefs.h <<_ACEOF
37911 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37912 _ACEOF
37913
37914 fi
37915 done
37916
37917 fi
37918 fi
37919
37920
37921
37922
37923
37924
37925 echo "$as_me:$LINENO: checking for ldexpf declaration" >&5
37926 echo $ECHO_N "checking for ldexpf declaration... $ECHO_C" >&6
37927 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
37928 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then
37929 echo $ECHO_N "(cached) $ECHO_C" >&6
37930 else
37931
37932
37933
37934 ac_ext=cc
37935 ac_cpp='$CXXCPP $CPPFLAGS'
37936 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37937 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37938 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37939
37940 cat >conftest.$ac_ext <<_ACEOF
37941 /* confdefs.h. */
37942 _ACEOF
37943 cat confdefs.h >>conftest.$ac_ext
37944 cat >>conftest.$ac_ext <<_ACEOF
37945 /* end confdefs.h. */
37946 #include <math.h>
37947 int
37948 main ()
37949 {
37950 ldexpf(0, 0);
37951 ;
37952 return 0;
37953 }
37954 _ACEOF
37955 rm -f conftest.$ac_objext
37956 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37957 (eval $ac_compile) 2>conftest.er1
37958 ac_status=$?
37959 grep -v '^ *+' conftest.er1 >conftest.err
37960 rm -f conftest.er1
37961 cat conftest.err >&5
37962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37963 (exit $ac_status); } &&
37964 { ac_try='test -z "$ac_cxx_werror_flag"
37965 || test ! -s conftest.err'
37966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37967 (eval $ac_try) 2>&5
37968 ac_status=$?
37969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37970 (exit $ac_status); }; } &&
37971 { ac_try='test -s conftest.$ac_objext'
37972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37973 (eval $ac_try) 2>&5
37974 ac_status=$?
37975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37976 (exit $ac_status); }; }; then
37977 glibcxx_cv_func_ldexpf_use=yes
37978 else
37979 echo "$as_me: failed program was:" >&5
37980 sed 's/^/| /' conftest.$ac_ext >&5
37981
37982 glibcxx_cv_func_ldexpf_use=no
37983 fi
37984 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37985 ac_ext=c
37986 ac_cpp='$CPP $CPPFLAGS'
37987 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37988 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37989 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37990
37991
37992 fi
37993
37994 fi
37995 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpf_use" >&5
37996 echo "${ECHO_T}$glibcxx_cv_func_ldexpf_use" >&6
37997
37998 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
37999
38000 for ac_func in ldexpf
38001 do
38002 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38003 echo "$as_me:$LINENO: checking for $ac_func" >&5
38004 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38005 if eval "test \"\${$as_ac_var+set}\" = set"; then
38006 echo $ECHO_N "(cached) $ECHO_C" >&6
38007 else
38008 if test x$gcc_no_link = xyes; then
38009 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38010 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38011 { (exit 1); exit 1; }; }
38012 fi
38013 cat >conftest.$ac_ext <<_ACEOF
38014 /* confdefs.h. */
38015 _ACEOF
38016 cat confdefs.h >>conftest.$ac_ext
38017 cat >>conftest.$ac_ext <<_ACEOF
38018 /* end confdefs.h. */
38019 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38020 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38021 #define $ac_func innocuous_$ac_func
38022
38023 /* System header to define __stub macros and hopefully few prototypes,
38024 which can conflict with char $ac_func (); below.
38025 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38026 <limits.h> exists even on freestanding compilers. */
38027
38028 #ifdef __STDC__
38029 # include <limits.h>
38030 #else
38031 # include <assert.h>
38032 #endif
38033
38034 #undef $ac_func
38035
38036 /* Override any gcc2 internal prototype to avoid an error. */
38037 #ifdef __cplusplus
38038 extern "C"
38039 {
38040 #endif
38041 /* We use char because int might match the return type of a gcc2
38042 builtin and then its argument prototype would still apply. */
38043 char $ac_func ();
38044 /* The GNU C library defines this for functions which it implements
38045 to always fail with ENOSYS. Some functions are actually named
38046 something starting with __ and the normal name is an alias. */
38047 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38048 choke me
38049 #else
38050 char (*f) () = $ac_func;
38051 #endif
38052 #ifdef __cplusplus
38053 }
38054 #endif
38055
38056 int
38057 main ()
38058 {
38059 return f != $ac_func;
38060 ;
38061 return 0;
38062 }
38063 _ACEOF
38064 rm -f conftest.$ac_objext conftest$ac_exeext
38065 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38066 (eval $ac_link) 2>conftest.er1
38067 ac_status=$?
38068 grep -v '^ *+' conftest.er1 >conftest.err
38069 rm -f conftest.er1
38070 cat conftest.err >&5
38071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38072 (exit $ac_status); } &&
38073 { ac_try='test -z "$ac_c_werror_flag"
38074 || test ! -s conftest.err'
38075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38076 (eval $ac_try) 2>&5
38077 ac_status=$?
38078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38079 (exit $ac_status); }; } &&
38080 { ac_try='test -s conftest$ac_exeext'
38081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38082 (eval $ac_try) 2>&5
38083 ac_status=$?
38084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38085 (exit $ac_status); }; }; then
38086 eval "$as_ac_var=yes"
38087 else
38088 echo "$as_me: failed program was:" >&5
38089 sed 's/^/| /' conftest.$ac_ext >&5
38090
38091 eval "$as_ac_var=no"
38092 fi
38093 rm -f conftest.err conftest.$ac_objext \
38094 conftest$ac_exeext conftest.$ac_ext
38095 fi
38096 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38097 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38098 if test `eval echo '${'$as_ac_var'}'` = yes; then
38099 cat >>confdefs.h <<_ACEOF
38100 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38101 _ACEOF
38102
38103 fi
38104 done
38105
38106 else
38107
38108 echo "$as_me:$LINENO: checking for _ldexpf declaration" >&5
38109 echo $ECHO_N "checking for _ldexpf declaration... $ECHO_C" >&6
38110 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
38111 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then
38112 echo $ECHO_N "(cached) $ECHO_C" >&6
38113 else
38114
38115
38116
38117 ac_ext=cc
38118 ac_cpp='$CXXCPP $CPPFLAGS'
38119 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38120 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38121 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38122
38123 cat >conftest.$ac_ext <<_ACEOF
38124 /* confdefs.h. */
38125 _ACEOF
38126 cat confdefs.h >>conftest.$ac_ext
38127 cat >>conftest.$ac_ext <<_ACEOF
38128 /* end confdefs.h. */
38129 #include <math.h>
38130 int
38131 main ()
38132 {
38133 _ldexpf(0, 0);
38134 ;
38135 return 0;
38136 }
38137 _ACEOF
38138 rm -f conftest.$ac_objext
38139 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38140 (eval $ac_compile) 2>conftest.er1
38141 ac_status=$?
38142 grep -v '^ *+' conftest.er1 >conftest.err
38143 rm -f conftest.er1
38144 cat conftest.err >&5
38145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38146 (exit $ac_status); } &&
38147 { ac_try='test -z "$ac_cxx_werror_flag"
38148 || test ! -s conftest.err'
38149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38150 (eval $ac_try) 2>&5
38151 ac_status=$?
38152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38153 (exit $ac_status); }; } &&
38154 { ac_try='test -s conftest.$ac_objext'
38155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38156 (eval $ac_try) 2>&5
38157 ac_status=$?
38158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38159 (exit $ac_status); }; }; then
38160 glibcxx_cv_func__ldexpf_use=yes
38161 else
38162 echo "$as_me: failed program was:" >&5
38163 sed 's/^/| /' conftest.$ac_ext >&5
38164
38165 glibcxx_cv_func__ldexpf_use=no
38166 fi
38167 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38168 ac_ext=c
38169 ac_cpp='$CPP $CPPFLAGS'
38170 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38171 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38172 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38173
38174
38175 fi
38176
38177 fi
38178 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpf_use" >&5
38179 echo "${ECHO_T}$glibcxx_cv_func__ldexpf_use" >&6
38180
38181 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
38182
38183 for ac_func in _ldexpf
38184 do
38185 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38186 echo "$as_me:$LINENO: checking for $ac_func" >&5
38187 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38188 if eval "test \"\${$as_ac_var+set}\" = set"; then
38189 echo $ECHO_N "(cached) $ECHO_C" >&6
38190 else
38191 if test x$gcc_no_link = xyes; then
38192 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38193 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38194 { (exit 1); exit 1; }; }
38195 fi
38196 cat >conftest.$ac_ext <<_ACEOF
38197 /* confdefs.h. */
38198 _ACEOF
38199 cat confdefs.h >>conftest.$ac_ext
38200 cat >>conftest.$ac_ext <<_ACEOF
38201 /* end confdefs.h. */
38202 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38203 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38204 #define $ac_func innocuous_$ac_func
38205
38206 /* System header to define __stub macros and hopefully few prototypes,
38207 which can conflict with char $ac_func (); below.
38208 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38209 <limits.h> exists even on freestanding compilers. */
38210
38211 #ifdef __STDC__
38212 # include <limits.h>
38213 #else
38214 # include <assert.h>
38215 #endif
38216
38217 #undef $ac_func
38218
38219 /* Override any gcc2 internal prototype to avoid an error. */
38220 #ifdef __cplusplus
38221 extern "C"
38222 {
38223 #endif
38224 /* We use char because int might match the return type of a gcc2
38225 builtin and then its argument prototype would still apply. */
38226 char $ac_func ();
38227 /* The GNU C library defines this for functions which it implements
38228 to always fail with ENOSYS. Some functions are actually named
38229 something starting with __ and the normal name is an alias. */
38230 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38231 choke me
38232 #else
38233 char (*f) () = $ac_func;
38234 #endif
38235 #ifdef __cplusplus
38236 }
38237 #endif
38238
38239 int
38240 main ()
38241 {
38242 return f != $ac_func;
38243 ;
38244 return 0;
38245 }
38246 _ACEOF
38247 rm -f conftest.$ac_objext conftest$ac_exeext
38248 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38249 (eval $ac_link) 2>conftest.er1
38250 ac_status=$?
38251 grep -v '^ *+' conftest.er1 >conftest.err
38252 rm -f conftest.er1
38253 cat conftest.err >&5
38254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38255 (exit $ac_status); } &&
38256 { ac_try='test -z "$ac_c_werror_flag"
38257 || test ! -s conftest.err'
38258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38259 (eval $ac_try) 2>&5
38260 ac_status=$?
38261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38262 (exit $ac_status); }; } &&
38263 { ac_try='test -s conftest$ac_exeext'
38264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38265 (eval $ac_try) 2>&5
38266 ac_status=$?
38267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38268 (exit $ac_status); }; }; then
38269 eval "$as_ac_var=yes"
38270 else
38271 echo "$as_me: failed program was:" >&5
38272 sed 's/^/| /' conftest.$ac_ext >&5
38273
38274 eval "$as_ac_var=no"
38275 fi
38276 rm -f conftest.err conftest.$ac_objext \
38277 conftest$ac_exeext conftest.$ac_ext
38278 fi
38279 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38280 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38281 if test `eval echo '${'$as_ac_var'}'` = yes; then
38282 cat >>confdefs.h <<_ACEOF
38283 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38284 _ACEOF
38285
38286 fi
38287 done
38288
38289 fi
38290 fi
38291
38292
38293
38294
38295
38296
38297 echo "$as_me:$LINENO: checking for logf declaration" >&5
38298 echo $ECHO_N "checking for logf declaration... $ECHO_C" >&6
38299 if test x${glibcxx_cv_func_logf_use+set} != xset; then
38300 if test "${glibcxx_cv_func_logf_use+set}" = set; then
38301 echo $ECHO_N "(cached) $ECHO_C" >&6
38302 else
38303
38304
38305
38306 ac_ext=cc
38307 ac_cpp='$CXXCPP $CPPFLAGS'
38308 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38309 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38310 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38311
38312 cat >conftest.$ac_ext <<_ACEOF
38313 /* confdefs.h. */
38314 _ACEOF
38315 cat confdefs.h >>conftest.$ac_ext
38316 cat >>conftest.$ac_ext <<_ACEOF
38317 /* end confdefs.h. */
38318 #include <math.h>
38319 #ifdef HAVE_IEEEFP_H
38320 #include <ieeefp.h>
38321 #endif
38322
38323 int
38324 main ()
38325 {
38326 logf(0);
38327 ;
38328 return 0;
38329 }
38330 _ACEOF
38331 rm -f conftest.$ac_objext
38332 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38333 (eval $ac_compile) 2>conftest.er1
38334 ac_status=$?
38335 grep -v '^ *+' conftest.er1 >conftest.err
38336 rm -f conftest.er1
38337 cat conftest.err >&5
38338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38339 (exit $ac_status); } &&
38340 { ac_try='test -z "$ac_cxx_werror_flag"
38341 || test ! -s conftest.err'
38342 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38343 (eval $ac_try) 2>&5
38344 ac_status=$?
38345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38346 (exit $ac_status); }; } &&
38347 { ac_try='test -s conftest.$ac_objext'
38348 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38349 (eval $ac_try) 2>&5
38350 ac_status=$?
38351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38352 (exit $ac_status); }; }; then
38353 glibcxx_cv_func_logf_use=yes
38354 else
38355 echo "$as_me: failed program was:" >&5
38356 sed 's/^/| /' conftest.$ac_ext >&5
38357
38358 glibcxx_cv_func_logf_use=no
38359 fi
38360 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38361 ac_ext=c
38362 ac_cpp='$CPP $CPPFLAGS'
38363 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38364 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38365 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38366
38367
38368 fi
38369
38370 fi
38371 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logf_use" >&5
38372 echo "${ECHO_T}$glibcxx_cv_func_logf_use" >&6
38373
38374 if test x$glibcxx_cv_func_logf_use = x"yes"; then
38375
38376 for ac_func in logf
38377 do
38378 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38379 echo "$as_me:$LINENO: checking for $ac_func" >&5
38380 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38381 if eval "test \"\${$as_ac_var+set}\" = set"; then
38382 echo $ECHO_N "(cached) $ECHO_C" >&6
38383 else
38384 if test x$gcc_no_link = xyes; then
38385 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38386 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38387 { (exit 1); exit 1; }; }
38388 fi
38389 cat >conftest.$ac_ext <<_ACEOF
38390 /* confdefs.h. */
38391 _ACEOF
38392 cat confdefs.h >>conftest.$ac_ext
38393 cat >>conftest.$ac_ext <<_ACEOF
38394 /* end confdefs.h. */
38395 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38396 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38397 #define $ac_func innocuous_$ac_func
38398
38399 /* System header to define __stub macros and hopefully few prototypes,
38400 which can conflict with char $ac_func (); below.
38401 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38402 <limits.h> exists even on freestanding compilers. */
38403
38404 #ifdef __STDC__
38405 # include <limits.h>
38406 #else
38407 # include <assert.h>
38408 #endif
38409
38410 #undef $ac_func
38411
38412 /* Override any gcc2 internal prototype to avoid an error. */
38413 #ifdef __cplusplus
38414 extern "C"
38415 {
38416 #endif
38417 /* We use char because int might match the return type of a gcc2
38418 builtin and then its argument prototype would still apply. */
38419 char $ac_func ();
38420 /* The GNU C library defines this for functions which it implements
38421 to always fail with ENOSYS. Some functions are actually named
38422 something starting with __ and the normal name is an alias. */
38423 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38424 choke me
38425 #else
38426 char (*f) () = $ac_func;
38427 #endif
38428 #ifdef __cplusplus
38429 }
38430 #endif
38431
38432 int
38433 main ()
38434 {
38435 return f != $ac_func;
38436 ;
38437 return 0;
38438 }
38439 _ACEOF
38440 rm -f conftest.$ac_objext conftest$ac_exeext
38441 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38442 (eval $ac_link) 2>conftest.er1
38443 ac_status=$?
38444 grep -v '^ *+' conftest.er1 >conftest.err
38445 rm -f conftest.er1
38446 cat conftest.err >&5
38447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38448 (exit $ac_status); } &&
38449 { ac_try='test -z "$ac_c_werror_flag"
38450 || test ! -s conftest.err'
38451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38452 (eval $ac_try) 2>&5
38453 ac_status=$?
38454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38455 (exit $ac_status); }; } &&
38456 { ac_try='test -s conftest$ac_exeext'
38457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38458 (eval $ac_try) 2>&5
38459 ac_status=$?
38460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38461 (exit $ac_status); }; }; then
38462 eval "$as_ac_var=yes"
38463 else
38464 echo "$as_me: failed program was:" >&5
38465 sed 's/^/| /' conftest.$ac_ext >&5
38466
38467 eval "$as_ac_var=no"
38468 fi
38469 rm -f conftest.err conftest.$ac_objext \
38470 conftest$ac_exeext conftest.$ac_ext
38471 fi
38472 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38473 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38474 if test `eval echo '${'$as_ac_var'}'` = yes; then
38475 cat >>confdefs.h <<_ACEOF
38476 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38477 _ACEOF
38478
38479 fi
38480 done
38481
38482 else
38483
38484 echo "$as_me:$LINENO: checking for _logf declaration" >&5
38485 echo $ECHO_N "checking for _logf declaration... $ECHO_C" >&6
38486 if test x${glibcxx_cv_func__logf_use+set} != xset; then
38487 if test "${glibcxx_cv_func__logf_use+set}" = set; then
38488 echo $ECHO_N "(cached) $ECHO_C" >&6
38489 else
38490
38491
38492
38493 ac_ext=cc
38494 ac_cpp='$CXXCPP $CPPFLAGS'
38495 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38496 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38497 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38498
38499 cat >conftest.$ac_ext <<_ACEOF
38500 /* confdefs.h. */
38501 _ACEOF
38502 cat confdefs.h >>conftest.$ac_ext
38503 cat >>conftest.$ac_ext <<_ACEOF
38504 /* end confdefs.h. */
38505 #include <math.h>
38506 #ifdef HAVE_IEEEFP_H
38507 #include <ieeefp.h>
38508 #endif
38509
38510 int
38511 main ()
38512 {
38513 _logf(0);
38514 ;
38515 return 0;
38516 }
38517 _ACEOF
38518 rm -f conftest.$ac_objext
38519 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38520 (eval $ac_compile) 2>conftest.er1
38521 ac_status=$?
38522 grep -v '^ *+' conftest.er1 >conftest.err
38523 rm -f conftest.er1
38524 cat conftest.err >&5
38525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38526 (exit $ac_status); } &&
38527 { ac_try='test -z "$ac_cxx_werror_flag"
38528 || test ! -s conftest.err'
38529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38530 (eval $ac_try) 2>&5
38531 ac_status=$?
38532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38533 (exit $ac_status); }; } &&
38534 { ac_try='test -s conftest.$ac_objext'
38535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38536 (eval $ac_try) 2>&5
38537 ac_status=$?
38538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38539 (exit $ac_status); }; }; then
38540 glibcxx_cv_func__logf_use=yes
38541 else
38542 echo "$as_me: failed program was:" >&5
38543 sed 's/^/| /' conftest.$ac_ext >&5
38544
38545 glibcxx_cv_func__logf_use=no
38546 fi
38547 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38548 ac_ext=c
38549 ac_cpp='$CPP $CPPFLAGS'
38550 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38551 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38552 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38553
38554
38555 fi
38556
38557 fi
38558 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logf_use" >&5
38559 echo "${ECHO_T}$glibcxx_cv_func__logf_use" >&6
38560
38561 if test x$glibcxx_cv_func__logf_use = x"yes"; then
38562
38563 for ac_func in _logf
38564 do
38565 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38566 echo "$as_me:$LINENO: checking for $ac_func" >&5
38567 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38568 if eval "test \"\${$as_ac_var+set}\" = set"; then
38569 echo $ECHO_N "(cached) $ECHO_C" >&6
38570 else
38571 if test x$gcc_no_link = xyes; then
38572 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38573 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38574 { (exit 1); exit 1; }; }
38575 fi
38576 cat >conftest.$ac_ext <<_ACEOF
38577 /* confdefs.h. */
38578 _ACEOF
38579 cat confdefs.h >>conftest.$ac_ext
38580 cat >>conftest.$ac_ext <<_ACEOF
38581 /* end confdefs.h. */
38582 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38583 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38584 #define $ac_func innocuous_$ac_func
38585
38586 /* System header to define __stub macros and hopefully few prototypes,
38587 which can conflict with char $ac_func (); below.
38588 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38589 <limits.h> exists even on freestanding compilers. */
38590
38591 #ifdef __STDC__
38592 # include <limits.h>
38593 #else
38594 # include <assert.h>
38595 #endif
38596
38597 #undef $ac_func
38598
38599 /* Override any gcc2 internal prototype to avoid an error. */
38600 #ifdef __cplusplus
38601 extern "C"
38602 {
38603 #endif
38604 /* We use char because int might match the return type of a gcc2
38605 builtin and then its argument prototype would still apply. */
38606 char $ac_func ();
38607 /* The GNU C library defines this for functions which it implements
38608 to always fail with ENOSYS. Some functions are actually named
38609 something starting with __ and the normal name is an alias. */
38610 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38611 choke me
38612 #else
38613 char (*f) () = $ac_func;
38614 #endif
38615 #ifdef __cplusplus
38616 }
38617 #endif
38618
38619 int
38620 main ()
38621 {
38622 return f != $ac_func;
38623 ;
38624 return 0;
38625 }
38626 _ACEOF
38627 rm -f conftest.$ac_objext conftest$ac_exeext
38628 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38629 (eval $ac_link) 2>conftest.er1
38630 ac_status=$?
38631 grep -v '^ *+' conftest.er1 >conftest.err
38632 rm -f conftest.er1
38633 cat conftest.err >&5
38634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38635 (exit $ac_status); } &&
38636 { ac_try='test -z "$ac_c_werror_flag"
38637 || test ! -s conftest.err'
38638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38639 (eval $ac_try) 2>&5
38640 ac_status=$?
38641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38642 (exit $ac_status); }; } &&
38643 { ac_try='test -s conftest$ac_exeext'
38644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38645 (eval $ac_try) 2>&5
38646 ac_status=$?
38647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38648 (exit $ac_status); }; }; then
38649 eval "$as_ac_var=yes"
38650 else
38651 echo "$as_me: failed program was:" >&5
38652 sed 's/^/| /' conftest.$ac_ext >&5
38653
38654 eval "$as_ac_var=no"
38655 fi
38656 rm -f conftest.err conftest.$ac_objext \
38657 conftest$ac_exeext conftest.$ac_ext
38658 fi
38659 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38660 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38661 if test `eval echo '${'$as_ac_var'}'` = yes; then
38662 cat >>confdefs.h <<_ACEOF
38663 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38664 _ACEOF
38665
38666 fi
38667 done
38668
38669 fi
38670 fi
38671
38672
38673
38674
38675
38676
38677 echo "$as_me:$LINENO: checking for log10f declaration" >&5
38678 echo $ECHO_N "checking for log10f declaration... $ECHO_C" >&6
38679 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
38680 if test "${glibcxx_cv_func_log10f_use+set}" = set; then
38681 echo $ECHO_N "(cached) $ECHO_C" >&6
38682 else
38683
38684
38685
38686 ac_ext=cc
38687 ac_cpp='$CXXCPP $CPPFLAGS'
38688 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38689 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38690 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38691
38692 cat >conftest.$ac_ext <<_ACEOF
38693 /* confdefs.h. */
38694 _ACEOF
38695 cat confdefs.h >>conftest.$ac_ext
38696 cat >>conftest.$ac_ext <<_ACEOF
38697 /* end confdefs.h. */
38698 #include <math.h>
38699 #ifdef HAVE_IEEEFP_H
38700 #include <ieeefp.h>
38701 #endif
38702
38703 int
38704 main ()
38705 {
38706 log10f(0);
38707 ;
38708 return 0;
38709 }
38710 _ACEOF
38711 rm -f conftest.$ac_objext
38712 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38713 (eval $ac_compile) 2>conftest.er1
38714 ac_status=$?
38715 grep -v '^ *+' conftest.er1 >conftest.err
38716 rm -f conftest.er1
38717 cat conftest.err >&5
38718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38719 (exit $ac_status); } &&
38720 { ac_try='test -z "$ac_cxx_werror_flag"
38721 || test ! -s conftest.err'
38722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38723 (eval $ac_try) 2>&5
38724 ac_status=$?
38725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38726 (exit $ac_status); }; } &&
38727 { ac_try='test -s conftest.$ac_objext'
38728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38729 (eval $ac_try) 2>&5
38730 ac_status=$?
38731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38732 (exit $ac_status); }; }; then
38733 glibcxx_cv_func_log10f_use=yes
38734 else
38735 echo "$as_me: failed program was:" >&5
38736 sed 's/^/| /' conftest.$ac_ext >&5
38737
38738 glibcxx_cv_func_log10f_use=no
38739 fi
38740 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38741 ac_ext=c
38742 ac_cpp='$CPP $CPPFLAGS'
38743 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38744 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38745 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38746
38747
38748 fi
38749
38750 fi
38751 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10f_use" >&5
38752 echo "${ECHO_T}$glibcxx_cv_func_log10f_use" >&6
38753
38754 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
38755
38756 for ac_func in log10f
38757 do
38758 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38759 echo "$as_me:$LINENO: checking for $ac_func" >&5
38760 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38761 if eval "test \"\${$as_ac_var+set}\" = set"; then
38762 echo $ECHO_N "(cached) $ECHO_C" >&6
38763 else
38764 if test x$gcc_no_link = xyes; then
38765 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38766 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38767 { (exit 1); exit 1; }; }
38768 fi
38769 cat >conftest.$ac_ext <<_ACEOF
38770 /* confdefs.h. */
38771 _ACEOF
38772 cat confdefs.h >>conftest.$ac_ext
38773 cat >>conftest.$ac_ext <<_ACEOF
38774 /* end confdefs.h. */
38775 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38776 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38777 #define $ac_func innocuous_$ac_func
38778
38779 /* System header to define __stub macros and hopefully few prototypes,
38780 which can conflict with char $ac_func (); below.
38781 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38782 <limits.h> exists even on freestanding compilers. */
38783
38784 #ifdef __STDC__
38785 # include <limits.h>
38786 #else
38787 # include <assert.h>
38788 #endif
38789
38790 #undef $ac_func
38791
38792 /* Override any gcc2 internal prototype to avoid an error. */
38793 #ifdef __cplusplus
38794 extern "C"
38795 {
38796 #endif
38797 /* We use char because int might match the return type of a gcc2
38798 builtin and then its argument prototype would still apply. */
38799 char $ac_func ();
38800 /* The GNU C library defines this for functions which it implements
38801 to always fail with ENOSYS. Some functions are actually named
38802 something starting with __ and the normal name is an alias. */
38803 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38804 choke me
38805 #else
38806 char (*f) () = $ac_func;
38807 #endif
38808 #ifdef __cplusplus
38809 }
38810 #endif
38811
38812 int
38813 main ()
38814 {
38815 return f != $ac_func;
38816 ;
38817 return 0;
38818 }
38819 _ACEOF
38820 rm -f conftest.$ac_objext conftest$ac_exeext
38821 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38822 (eval $ac_link) 2>conftest.er1
38823 ac_status=$?
38824 grep -v '^ *+' conftest.er1 >conftest.err
38825 rm -f conftest.er1
38826 cat conftest.err >&5
38827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38828 (exit $ac_status); } &&
38829 { ac_try='test -z "$ac_c_werror_flag"
38830 || test ! -s conftest.err'
38831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38832 (eval $ac_try) 2>&5
38833 ac_status=$?
38834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38835 (exit $ac_status); }; } &&
38836 { ac_try='test -s conftest$ac_exeext'
38837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38838 (eval $ac_try) 2>&5
38839 ac_status=$?
38840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38841 (exit $ac_status); }; }; then
38842 eval "$as_ac_var=yes"
38843 else
38844 echo "$as_me: failed program was:" >&5
38845 sed 's/^/| /' conftest.$ac_ext >&5
38846
38847 eval "$as_ac_var=no"
38848 fi
38849 rm -f conftest.err conftest.$ac_objext \
38850 conftest$ac_exeext conftest.$ac_ext
38851 fi
38852 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38853 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38854 if test `eval echo '${'$as_ac_var'}'` = yes; then
38855 cat >>confdefs.h <<_ACEOF
38856 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38857 _ACEOF
38858
38859 fi
38860 done
38861
38862 else
38863
38864 echo "$as_me:$LINENO: checking for _log10f declaration" >&5
38865 echo $ECHO_N "checking for _log10f declaration... $ECHO_C" >&6
38866 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
38867 if test "${glibcxx_cv_func__log10f_use+set}" = set; then
38868 echo $ECHO_N "(cached) $ECHO_C" >&6
38869 else
38870
38871
38872
38873 ac_ext=cc
38874 ac_cpp='$CXXCPP $CPPFLAGS'
38875 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38876 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38877 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38878
38879 cat >conftest.$ac_ext <<_ACEOF
38880 /* confdefs.h. */
38881 _ACEOF
38882 cat confdefs.h >>conftest.$ac_ext
38883 cat >>conftest.$ac_ext <<_ACEOF
38884 /* end confdefs.h. */
38885 #include <math.h>
38886 #ifdef HAVE_IEEEFP_H
38887 #include <ieeefp.h>
38888 #endif
38889
38890 int
38891 main ()
38892 {
38893 _log10f(0);
38894 ;
38895 return 0;
38896 }
38897 _ACEOF
38898 rm -f conftest.$ac_objext
38899 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38900 (eval $ac_compile) 2>conftest.er1
38901 ac_status=$?
38902 grep -v '^ *+' conftest.er1 >conftest.err
38903 rm -f conftest.er1
38904 cat conftest.err >&5
38905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38906 (exit $ac_status); } &&
38907 { ac_try='test -z "$ac_cxx_werror_flag"
38908 || test ! -s conftest.err'
38909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38910 (eval $ac_try) 2>&5
38911 ac_status=$?
38912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38913 (exit $ac_status); }; } &&
38914 { ac_try='test -s conftest.$ac_objext'
38915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38916 (eval $ac_try) 2>&5
38917 ac_status=$?
38918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38919 (exit $ac_status); }; }; then
38920 glibcxx_cv_func__log10f_use=yes
38921 else
38922 echo "$as_me: failed program was:" >&5
38923 sed 's/^/| /' conftest.$ac_ext >&5
38924
38925 glibcxx_cv_func__log10f_use=no
38926 fi
38927 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38928 ac_ext=c
38929 ac_cpp='$CPP $CPPFLAGS'
38930 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38931 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38932 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38933
38934
38935 fi
38936
38937 fi
38938 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10f_use" >&5
38939 echo "${ECHO_T}$glibcxx_cv_func__log10f_use" >&6
38940
38941 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
38942
38943 for ac_func in _log10f
38944 do
38945 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38946 echo "$as_me:$LINENO: checking for $ac_func" >&5
38947 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38948 if eval "test \"\${$as_ac_var+set}\" = set"; then
38949 echo $ECHO_N "(cached) $ECHO_C" >&6
38950 else
38951 if test x$gcc_no_link = xyes; then
38952 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38953 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38954 { (exit 1); exit 1; }; }
38955 fi
38956 cat >conftest.$ac_ext <<_ACEOF
38957 /* confdefs.h. */
38958 _ACEOF
38959 cat confdefs.h >>conftest.$ac_ext
38960 cat >>conftest.$ac_ext <<_ACEOF
38961 /* end confdefs.h. */
38962 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38963 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38964 #define $ac_func innocuous_$ac_func
38965
38966 /* System header to define __stub macros and hopefully few prototypes,
38967 which can conflict with char $ac_func (); below.
38968 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38969 <limits.h> exists even on freestanding compilers. */
38970
38971 #ifdef __STDC__
38972 # include <limits.h>
38973 #else
38974 # include <assert.h>
38975 #endif
38976
38977 #undef $ac_func
38978
38979 /* Override any gcc2 internal prototype to avoid an error. */
38980 #ifdef __cplusplus
38981 extern "C"
38982 {
38983 #endif
38984 /* We use char because int might match the return type of a gcc2
38985 builtin and then its argument prototype would still apply. */
38986 char $ac_func ();
38987 /* The GNU C library defines this for functions which it implements
38988 to always fail with ENOSYS. Some functions are actually named
38989 something starting with __ and the normal name is an alias. */
38990 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38991 choke me
38992 #else
38993 char (*f) () = $ac_func;
38994 #endif
38995 #ifdef __cplusplus
38996 }
38997 #endif
38998
38999 int
39000 main ()
39001 {
39002 return f != $ac_func;
39003 ;
39004 return 0;
39005 }
39006 _ACEOF
39007 rm -f conftest.$ac_objext conftest$ac_exeext
39008 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39009 (eval $ac_link) 2>conftest.er1
39010 ac_status=$?
39011 grep -v '^ *+' conftest.er1 >conftest.err
39012 rm -f conftest.er1
39013 cat conftest.err >&5
39014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39015 (exit $ac_status); } &&
39016 { ac_try='test -z "$ac_c_werror_flag"
39017 || test ! -s conftest.err'
39018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39019 (eval $ac_try) 2>&5
39020 ac_status=$?
39021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39022 (exit $ac_status); }; } &&
39023 { ac_try='test -s conftest$ac_exeext'
39024 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39025 (eval $ac_try) 2>&5
39026 ac_status=$?
39027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39028 (exit $ac_status); }; }; then
39029 eval "$as_ac_var=yes"
39030 else
39031 echo "$as_me: failed program was:" >&5
39032 sed 's/^/| /' conftest.$ac_ext >&5
39033
39034 eval "$as_ac_var=no"
39035 fi
39036 rm -f conftest.err conftest.$ac_objext \
39037 conftest$ac_exeext conftest.$ac_ext
39038 fi
39039 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39040 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39041 if test `eval echo '${'$as_ac_var'}'` = yes; then
39042 cat >>confdefs.h <<_ACEOF
39043 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39044 _ACEOF
39045
39046 fi
39047 done
39048
39049 fi
39050 fi
39051
39052
39053
39054
39055
39056
39057 echo "$as_me:$LINENO: checking for modff declaration" >&5
39058 echo $ECHO_N "checking for modff declaration... $ECHO_C" >&6
39059 if test x${glibcxx_cv_func_modff_use+set} != xset; then
39060 if test "${glibcxx_cv_func_modff_use+set}" = set; then
39061 echo $ECHO_N "(cached) $ECHO_C" >&6
39062 else
39063
39064
39065
39066 ac_ext=cc
39067 ac_cpp='$CXXCPP $CPPFLAGS'
39068 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39069 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39070 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39071
39072 cat >conftest.$ac_ext <<_ACEOF
39073 /* confdefs.h. */
39074 _ACEOF
39075 cat confdefs.h >>conftest.$ac_ext
39076 cat >>conftest.$ac_ext <<_ACEOF
39077 /* end confdefs.h. */
39078 #include <math.h>
39079 int
39080 main ()
39081 {
39082 modff(0, 0);
39083 ;
39084 return 0;
39085 }
39086 _ACEOF
39087 rm -f conftest.$ac_objext
39088 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39089 (eval $ac_compile) 2>conftest.er1
39090 ac_status=$?
39091 grep -v '^ *+' conftest.er1 >conftest.err
39092 rm -f conftest.er1
39093 cat conftest.err >&5
39094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39095 (exit $ac_status); } &&
39096 { ac_try='test -z "$ac_cxx_werror_flag"
39097 || test ! -s conftest.err'
39098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39099 (eval $ac_try) 2>&5
39100 ac_status=$?
39101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39102 (exit $ac_status); }; } &&
39103 { ac_try='test -s conftest.$ac_objext'
39104 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39105 (eval $ac_try) 2>&5
39106 ac_status=$?
39107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39108 (exit $ac_status); }; }; then
39109 glibcxx_cv_func_modff_use=yes
39110 else
39111 echo "$as_me: failed program was:" >&5
39112 sed 's/^/| /' conftest.$ac_ext >&5
39113
39114 glibcxx_cv_func_modff_use=no
39115 fi
39116 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39117 ac_ext=c
39118 ac_cpp='$CPP $CPPFLAGS'
39119 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39120 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39121 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39122
39123
39124 fi
39125
39126 fi
39127 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modff_use" >&5
39128 echo "${ECHO_T}$glibcxx_cv_func_modff_use" >&6
39129
39130 if test x$glibcxx_cv_func_modff_use = x"yes"; then
39131
39132 for ac_func in modff
39133 do
39134 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39135 echo "$as_me:$LINENO: checking for $ac_func" >&5
39136 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39137 if eval "test \"\${$as_ac_var+set}\" = set"; then
39138 echo $ECHO_N "(cached) $ECHO_C" >&6
39139 else
39140 if test x$gcc_no_link = xyes; then
39141 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39142 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39143 { (exit 1); exit 1; }; }
39144 fi
39145 cat >conftest.$ac_ext <<_ACEOF
39146 /* confdefs.h. */
39147 _ACEOF
39148 cat confdefs.h >>conftest.$ac_ext
39149 cat >>conftest.$ac_ext <<_ACEOF
39150 /* end confdefs.h. */
39151 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39152 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39153 #define $ac_func innocuous_$ac_func
39154
39155 /* System header to define __stub macros and hopefully few prototypes,
39156 which can conflict with char $ac_func (); below.
39157 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39158 <limits.h> exists even on freestanding compilers. */
39159
39160 #ifdef __STDC__
39161 # include <limits.h>
39162 #else
39163 # include <assert.h>
39164 #endif
39165
39166 #undef $ac_func
39167
39168 /* Override any gcc2 internal prototype to avoid an error. */
39169 #ifdef __cplusplus
39170 extern "C"
39171 {
39172 #endif
39173 /* We use char because int might match the return type of a gcc2
39174 builtin and then its argument prototype would still apply. */
39175 char $ac_func ();
39176 /* The GNU C library defines this for functions which it implements
39177 to always fail with ENOSYS. Some functions are actually named
39178 something starting with __ and the normal name is an alias. */
39179 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39180 choke me
39181 #else
39182 char (*f) () = $ac_func;
39183 #endif
39184 #ifdef __cplusplus
39185 }
39186 #endif
39187
39188 int
39189 main ()
39190 {
39191 return f != $ac_func;
39192 ;
39193 return 0;
39194 }
39195 _ACEOF
39196 rm -f conftest.$ac_objext conftest$ac_exeext
39197 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39198 (eval $ac_link) 2>conftest.er1
39199 ac_status=$?
39200 grep -v '^ *+' conftest.er1 >conftest.err
39201 rm -f conftest.er1
39202 cat conftest.err >&5
39203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39204 (exit $ac_status); } &&
39205 { ac_try='test -z "$ac_c_werror_flag"
39206 || test ! -s conftest.err'
39207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39208 (eval $ac_try) 2>&5
39209 ac_status=$?
39210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39211 (exit $ac_status); }; } &&
39212 { ac_try='test -s conftest$ac_exeext'
39213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39214 (eval $ac_try) 2>&5
39215 ac_status=$?
39216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39217 (exit $ac_status); }; }; then
39218 eval "$as_ac_var=yes"
39219 else
39220 echo "$as_me: failed program was:" >&5
39221 sed 's/^/| /' conftest.$ac_ext >&5
39222
39223 eval "$as_ac_var=no"
39224 fi
39225 rm -f conftest.err conftest.$ac_objext \
39226 conftest$ac_exeext conftest.$ac_ext
39227 fi
39228 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39229 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39230 if test `eval echo '${'$as_ac_var'}'` = yes; then
39231 cat >>confdefs.h <<_ACEOF
39232 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39233 _ACEOF
39234
39235 fi
39236 done
39237
39238 else
39239
39240 echo "$as_me:$LINENO: checking for _modff declaration" >&5
39241 echo $ECHO_N "checking for _modff declaration... $ECHO_C" >&6
39242 if test x${glibcxx_cv_func__modff_use+set} != xset; then
39243 if test "${glibcxx_cv_func__modff_use+set}" = set; then
39244 echo $ECHO_N "(cached) $ECHO_C" >&6
39245 else
39246
39247
39248
39249 ac_ext=cc
39250 ac_cpp='$CXXCPP $CPPFLAGS'
39251 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39252 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39253 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39254
39255 cat >conftest.$ac_ext <<_ACEOF
39256 /* confdefs.h. */
39257 _ACEOF
39258 cat confdefs.h >>conftest.$ac_ext
39259 cat >>conftest.$ac_ext <<_ACEOF
39260 /* end confdefs.h. */
39261 #include <math.h>
39262 int
39263 main ()
39264 {
39265 _modff(0, 0);
39266 ;
39267 return 0;
39268 }
39269 _ACEOF
39270 rm -f conftest.$ac_objext
39271 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39272 (eval $ac_compile) 2>conftest.er1
39273 ac_status=$?
39274 grep -v '^ *+' conftest.er1 >conftest.err
39275 rm -f conftest.er1
39276 cat conftest.err >&5
39277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39278 (exit $ac_status); } &&
39279 { ac_try='test -z "$ac_cxx_werror_flag"
39280 || test ! -s conftest.err'
39281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39282 (eval $ac_try) 2>&5
39283 ac_status=$?
39284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39285 (exit $ac_status); }; } &&
39286 { ac_try='test -s conftest.$ac_objext'
39287 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39288 (eval $ac_try) 2>&5
39289 ac_status=$?
39290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39291 (exit $ac_status); }; }; then
39292 glibcxx_cv_func__modff_use=yes
39293 else
39294 echo "$as_me: failed program was:" >&5
39295 sed 's/^/| /' conftest.$ac_ext >&5
39296
39297 glibcxx_cv_func__modff_use=no
39298 fi
39299 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39300 ac_ext=c
39301 ac_cpp='$CPP $CPPFLAGS'
39302 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39303 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39304 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39305
39306
39307 fi
39308
39309 fi
39310 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modff_use" >&5
39311 echo "${ECHO_T}$glibcxx_cv_func__modff_use" >&6
39312
39313 if test x$glibcxx_cv_func__modff_use = x"yes"; then
39314
39315 for ac_func in _modff
39316 do
39317 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39318 echo "$as_me:$LINENO: checking for $ac_func" >&5
39319 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39320 if eval "test \"\${$as_ac_var+set}\" = set"; then
39321 echo $ECHO_N "(cached) $ECHO_C" >&6
39322 else
39323 if test x$gcc_no_link = xyes; then
39324 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39325 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39326 { (exit 1); exit 1; }; }
39327 fi
39328 cat >conftest.$ac_ext <<_ACEOF
39329 /* confdefs.h. */
39330 _ACEOF
39331 cat confdefs.h >>conftest.$ac_ext
39332 cat >>conftest.$ac_ext <<_ACEOF
39333 /* end confdefs.h. */
39334 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39335 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39336 #define $ac_func innocuous_$ac_func
39337
39338 /* System header to define __stub macros and hopefully few prototypes,
39339 which can conflict with char $ac_func (); below.
39340 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39341 <limits.h> exists even on freestanding compilers. */
39342
39343 #ifdef __STDC__
39344 # include <limits.h>
39345 #else
39346 # include <assert.h>
39347 #endif
39348
39349 #undef $ac_func
39350
39351 /* Override any gcc2 internal prototype to avoid an error. */
39352 #ifdef __cplusplus
39353 extern "C"
39354 {
39355 #endif
39356 /* We use char because int might match the return type of a gcc2
39357 builtin and then its argument prototype would still apply. */
39358 char $ac_func ();
39359 /* The GNU C library defines this for functions which it implements
39360 to always fail with ENOSYS. Some functions are actually named
39361 something starting with __ and the normal name is an alias. */
39362 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39363 choke me
39364 #else
39365 char (*f) () = $ac_func;
39366 #endif
39367 #ifdef __cplusplus
39368 }
39369 #endif
39370
39371 int
39372 main ()
39373 {
39374 return f != $ac_func;
39375 ;
39376 return 0;
39377 }
39378 _ACEOF
39379 rm -f conftest.$ac_objext conftest$ac_exeext
39380 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39381 (eval $ac_link) 2>conftest.er1
39382 ac_status=$?
39383 grep -v '^ *+' conftest.er1 >conftest.err
39384 rm -f conftest.er1
39385 cat conftest.err >&5
39386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39387 (exit $ac_status); } &&
39388 { ac_try='test -z "$ac_c_werror_flag"
39389 || test ! -s conftest.err'
39390 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39391 (eval $ac_try) 2>&5
39392 ac_status=$?
39393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39394 (exit $ac_status); }; } &&
39395 { ac_try='test -s conftest$ac_exeext'
39396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39397 (eval $ac_try) 2>&5
39398 ac_status=$?
39399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39400 (exit $ac_status); }; }; then
39401 eval "$as_ac_var=yes"
39402 else
39403 echo "$as_me: failed program was:" >&5
39404 sed 's/^/| /' conftest.$ac_ext >&5
39405
39406 eval "$as_ac_var=no"
39407 fi
39408 rm -f conftest.err conftest.$ac_objext \
39409 conftest$ac_exeext conftest.$ac_ext
39410 fi
39411 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39412 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39413 if test `eval echo '${'$as_ac_var'}'` = yes; then
39414 cat >>confdefs.h <<_ACEOF
39415 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39416 _ACEOF
39417
39418 fi
39419 done
39420
39421 fi
39422 fi
39423
39424
39425
39426
39427
39428
39429 echo "$as_me:$LINENO: checking for modf declaration" >&5
39430 echo $ECHO_N "checking for modf declaration... $ECHO_C" >&6
39431 if test x${glibcxx_cv_func_modf_use+set} != xset; then
39432 if test "${glibcxx_cv_func_modf_use+set}" = set; then
39433 echo $ECHO_N "(cached) $ECHO_C" >&6
39434 else
39435
39436
39437
39438 ac_ext=cc
39439 ac_cpp='$CXXCPP $CPPFLAGS'
39440 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39441 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39442 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39443
39444 cat >conftest.$ac_ext <<_ACEOF
39445 /* confdefs.h. */
39446 _ACEOF
39447 cat confdefs.h >>conftest.$ac_ext
39448 cat >>conftest.$ac_ext <<_ACEOF
39449 /* end confdefs.h. */
39450 #include <math.h>
39451 int
39452 main ()
39453 {
39454 modf(0, 0);
39455 ;
39456 return 0;
39457 }
39458 _ACEOF
39459 rm -f conftest.$ac_objext
39460 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39461 (eval $ac_compile) 2>conftest.er1
39462 ac_status=$?
39463 grep -v '^ *+' conftest.er1 >conftest.err
39464 rm -f conftest.er1
39465 cat conftest.err >&5
39466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39467 (exit $ac_status); } &&
39468 { ac_try='test -z "$ac_cxx_werror_flag"
39469 || test ! -s conftest.err'
39470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39471 (eval $ac_try) 2>&5
39472 ac_status=$?
39473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39474 (exit $ac_status); }; } &&
39475 { ac_try='test -s conftest.$ac_objext'
39476 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39477 (eval $ac_try) 2>&5
39478 ac_status=$?
39479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39480 (exit $ac_status); }; }; then
39481 glibcxx_cv_func_modf_use=yes
39482 else
39483 echo "$as_me: failed program was:" >&5
39484 sed 's/^/| /' conftest.$ac_ext >&5
39485
39486 glibcxx_cv_func_modf_use=no
39487 fi
39488 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39489 ac_ext=c
39490 ac_cpp='$CPP $CPPFLAGS'
39491 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39492 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39493 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39494
39495
39496 fi
39497
39498 fi
39499 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modf_use" >&5
39500 echo "${ECHO_T}$glibcxx_cv_func_modf_use" >&6
39501
39502 if test x$glibcxx_cv_func_modf_use = x"yes"; then
39503
39504 for ac_func in modf
39505 do
39506 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39507 echo "$as_me:$LINENO: checking for $ac_func" >&5
39508 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39509 if eval "test \"\${$as_ac_var+set}\" = set"; then
39510 echo $ECHO_N "(cached) $ECHO_C" >&6
39511 else
39512 if test x$gcc_no_link = xyes; then
39513 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39514 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39515 { (exit 1); exit 1; }; }
39516 fi
39517 cat >conftest.$ac_ext <<_ACEOF
39518 /* confdefs.h. */
39519 _ACEOF
39520 cat confdefs.h >>conftest.$ac_ext
39521 cat >>conftest.$ac_ext <<_ACEOF
39522 /* end confdefs.h. */
39523 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39524 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39525 #define $ac_func innocuous_$ac_func
39526
39527 /* System header to define __stub macros and hopefully few prototypes,
39528 which can conflict with char $ac_func (); below.
39529 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39530 <limits.h> exists even on freestanding compilers. */
39531
39532 #ifdef __STDC__
39533 # include <limits.h>
39534 #else
39535 # include <assert.h>
39536 #endif
39537
39538 #undef $ac_func
39539
39540 /* Override any gcc2 internal prototype to avoid an error. */
39541 #ifdef __cplusplus
39542 extern "C"
39543 {
39544 #endif
39545 /* We use char because int might match the return type of a gcc2
39546 builtin and then its argument prototype would still apply. */
39547 char $ac_func ();
39548 /* The GNU C library defines this for functions which it implements
39549 to always fail with ENOSYS. Some functions are actually named
39550 something starting with __ and the normal name is an alias. */
39551 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39552 choke me
39553 #else
39554 char (*f) () = $ac_func;
39555 #endif
39556 #ifdef __cplusplus
39557 }
39558 #endif
39559
39560 int
39561 main ()
39562 {
39563 return f != $ac_func;
39564 ;
39565 return 0;
39566 }
39567 _ACEOF
39568 rm -f conftest.$ac_objext conftest$ac_exeext
39569 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39570 (eval $ac_link) 2>conftest.er1
39571 ac_status=$?
39572 grep -v '^ *+' conftest.er1 >conftest.err
39573 rm -f conftest.er1
39574 cat conftest.err >&5
39575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39576 (exit $ac_status); } &&
39577 { ac_try='test -z "$ac_c_werror_flag"
39578 || test ! -s conftest.err'
39579 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39580 (eval $ac_try) 2>&5
39581 ac_status=$?
39582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39583 (exit $ac_status); }; } &&
39584 { ac_try='test -s conftest$ac_exeext'
39585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39586 (eval $ac_try) 2>&5
39587 ac_status=$?
39588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39589 (exit $ac_status); }; }; then
39590 eval "$as_ac_var=yes"
39591 else
39592 echo "$as_me: failed program was:" >&5
39593 sed 's/^/| /' conftest.$ac_ext >&5
39594
39595 eval "$as_ac_var=no"
39596 fi
39597 rm -f conftest.err conftest.$ac_objext \
39598 conftest$ac_exeext conftest.$ac_ext
39599 fi
39600 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39601 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39602 if test `eval echo '${'$as_ac_var'}'` = yes; then
39603 cat >>confdefs.h <<_ACEOF
39604 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39605 _ACEOF
39606
39607 fi
39608 done
39609
39610 else
39611
39612 echo "$as_me:$LINENO: checking for _modf declaration" >&5
39613 echo $ECHO_N "checking for _modf declaration... $ECHO_C" >&6
39614 if test x${glibcxx_cv_func__modf_use+set} != xset; then
39615 if test "${glibcxx_cv_func__modf_use+set}" = set; then
39616 echo $ECHO_N "(cached) $ECHO_C" >&6
39617 else
39618
39619
39620
39621 ac_ext=cc
39622 ac_cpp='$CXXCPP $CPPFLAGS'
39623 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39624 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39625 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39626
39627 cat >conftest.$ac_ext <<_ACEOF
39628 /* confdefs.h. */
39629 _ACEOF
39630 cat confdefs.h >>conftest.$ac_ext
39631 cat >>conftest.$ac_ext <<_ACEOF
39632 /* end confdefs.h. */
39633 #include <math.h>
39634 int
39635 main ()
39636 {
39637 _modf(0, 0);
39638 ;
39639 return 0;
39640 }
39641 _ACEOF
39642 rm -f conftest.$ac_objext
39643 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39644 (eval $ac_compile) 2>conftest.er1
39645 ac_status=$?
39646 grep -v '^ *+' conftest.er1 >conftest.err
39647 rm -f conftest.er1
39648 cat conftest.err >&5
39649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39650 (exit $ac_status); } &&
39651 { ac_try='test -z "$ac_cxx_werror_flag"
39652 || test ! -s conftest.err'
39653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39654 (eval $ac_try) 2>&5
39655 ac_status=$?
39656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39657 (exit $ac_status); }; } &&
39658 { ac_try='test -s conftest.$ac_objext'
39659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39660 (eval $ac_try) 2>&5
39661 ac_status=$?
39662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39663 (exit $ac_status); }; }; then
39664 glibcxx_cv_func__modf_use=yes
39665 else
39666 echo "$as_me: failed program was:" >&5
39667 sed 's/^/| /' conftest.$ac_ext >&5
39668
39669 glibcxx_cv_func__modf_use=no
39670 fi
39671 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39672 ac_ext=c
39673 ac_cpp='$CPP $CPPFLAGS'
39674 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39675 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39676 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39677
39678
39679 fi
39680
39681 fi
39682 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modf_use" >&5
39683 echo "${ECHO_T}$glibcxx_cv_func__modf_use" >&6
39684
39685 if test x$glibcxx_cv_func__modf_use = x"yes"; then
39686
39687 for ac_func in _modf
39688 do
39689 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39690 echo "$as_me:$LINENO: checking for $ac_func" >&5
39691 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39692 if eval "test \"\${$as_ac_var+set}\" = set"; then
39693 echo $ECHO_N "(cached) $ECHO_C" >&6
39694 else
39695 if test x$gcc_no_link = xyes; then
39696 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39697 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39698 { (exit 1); exit 1; }; }
39699 fi
39700 cat >conftest.$ac_ext <<_ACEOF
39701 /* confdefs.h. */
39702 _ACEOF
39703 cat confdefs.h >>conftest.$ac_ext
39704 cat >>conftest.$ac_ext <<_ACEOF
39705 /* end confdefs.h. */
39706 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39707 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39708 #define $ac_func innocuous_$ac_func
39709
39710 /* System header to define __stub macros and hopefully few prototypes,
39711 which can conflict with char $ac_func (); below.
39712 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39713 <limits.h> exists even on freestanding compilers. */
39714
39715 #ifdef __STDC__
39716 # include <limits.h>
39717 #else
39718 # include <assert.h>
39719 #endif
39720
39721 #undef $ac_func
39722
39723 /* Override any gcc2 internal prototype to avoid an error. */
39724 #ifdef __cplusplus
39725 extern "C"
39726 {
39727 #endif
39728 /* We use char because int might match the return type of a gcc2
39729 builtin and then its argument prototype would still apply. */
39730 char $ac_func ();
39731 /* The GNU C library defines this for functions which it implements
39732 to always fail with ENOSYS. Some functions are actually named
39733 something starting with __ and the normal name is an alias. */
39734 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39735 choke me
39736 #else
39737 char (*f) () = $ac_func;
39738 #endif
39739 #ifdef __cplusplus
39740 }
39741 #endif
39742
39743 int
39744 main ()
39745 {
39746 return f != $ac_func;
39747 ;
39748 return 0;
39749 }
39750 _ACEOF
39751 rm -f conftest.$ac_objext conftest$ac_exeext
39752 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39753 (eval $ac_link) 2>conftest.er1
39754 ac_status=$?
39755 grep -v '^ *+' conftest.er1 >conftest.err
39756 rm -f conftest.er1
39757 cat conftest.err >&5
39758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39759 (exit $ac_status); } &&
39760 { ac_try='test -z "$ac_c_werror_flag"
39761 || test ! -s conftest.err'
39762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39763 (eval $ac_try) 2>&5
39764 ac_status=$?
39765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39766 (exit $ac_status); }; } &&
39767 { ac_try='test -s conftest$ac_exeext'
39768 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39769 (eval $ac_try) 2>&5
39770 ac_status=$?
39771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39772 (exit $ac_status); }; }; then
39773 eval "$as_ac_var=yes"
39774 else
39775 echo "$as_me: failed program was:" >&5
39776 sed 's/^/| /' conftest.$ac_ext >&5
39777
39778 eval "$as_ac_var=no"
39779 fi
39780 rm -f conftest.err conftest.$ac_objext \
39781 conftest$ac_exeext conftest.$ac_ext
39782 fi
39783 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39784 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39785 if test `eval echo '${'$as_ac_var'}'` = yes; then
39786 cat >>confdefs.h <<_ACEOF
39787 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39788 _ACEOF
39789
39790 fi
39791 done
39792
39793 fi
39794 fi
39795
39796
39797
39798
39799
39800
39801 echo "$as_me:$LINENO: checking for powf declaration" >&5
39802 echo $ECHO_N "checking for powf declaration... $ECHO_C" >&6
39803 if test x${glibcxx_cv_func_powf_use+set} != xset; then
39804 if test "${glibcxx_cv_func_powf_use+set}" = set; then
39805 echo $ECHO_N "(cached) $ECHO_C" >&6
39806 else
39807
39808
39809
39810 ac_ext=cc
39811 ac_cpp='$CXXCPP $CPPFLAGS'
39812 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39813 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39814 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39815
39816 cat >conftest.$ac_ext <<_ACEOF
39817 /* confdefs.h. */
39818 _ACEOF
39819 cat confdefs.h >>conftest.$ac_ext
39820 cat >>conftest.$ac_ext <<_ACEOF
39821 /* end confdefs.h. */
39822 #include <math.h>
39823 int
39824 main ()
39825 {
39826 powf(0, 0);
39827 ;
39828 return 0;
39829 }
39830 _ACEOF
39831 rm -f conftest.$ac_objext
39832 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39833 (eval $ac_compile) 2>conftest.er1
39834 ac_status=$?
39835 grep -v '^ *+' conftest.er1 >conftest.err
39836 rm -f conftest.er1
39837 cat conftest.err >&5
39838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39839 (exit $ac_status); } &&
39840 { ac_try='test -z "$ac_cxx_werror_flag"
39841 || test ! -s conftest.err'
39842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39843 (eval $ac_try) 2>&5
39844 ac_status=$?
39845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39846 (exit $ac_status); }; } &&
39847 { ac_try='test -s conftest.$ac_objext'
39848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39849 (eval $ac_try) 2>&5
39850 ac_status=$?
39851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39852 (exit $ac_status); }; }; then
39853 glibcxx_cv_func_powf_use=yes
39854 else
39855 echo "$as_me: failed program was:" >&5
39856 sed 's/^/| /' conftest.$ac_ext >&5
39857
39858 glibcxx_cv_func_powf_use=no
39859 fi
39860 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39861 ac_ext=c
39862 ac_cpp='$CPP $CPPFLAGS'
39863 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39864 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39865 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39866
39867
39868 fi
39869
39870 fi
39871 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powf_use" >&5
39872 echo "${ECHO_T}$glibcxx_cv_func_powf_use" >&6
39873
39874 if test x$glibcxx_cv_func_powf_use = x"yes"; then
39875
39876 for ac_func in powf
39877 do
39878 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39879 echo "$as_me:$LINENO: checking for $ac_func" >&5
39880 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39881 if eval "test \"\${$as_ac_var+set}\" = set"; then
39882 echo $ECHO_N "(cached) $ECHO_C" >&6
39883 else
39884 if test x$gcc_no_link = xyes; then
39885 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39886 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39887 { (exit 1); exit 1; }; }
39888 fi
39889 cat >conftest.$ac_ext <<_ACEOF
39890 /* confdefs.h. */
39891 _ACEOF
39892 cat confdefs.h >>conftest.$ac_ext
39893 cat >>conftest.$ac_ext <<_ACEOF
39894 /* end confdefs.h. */
39895 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39896 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39897 #define $ac_func innocuous_$ac_func
39898
39899 /* System header to define __stub macros and hopefully few prototypes,
39900 which can conflict with char $ac_func (); below.
39901 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39902 <limits.h> exists even on freestanding compilers. */
39903
39904 #ifdef __STDC__
39905 # include <limits.h>
39906 #else
39907 # include <assert.h>
39908 #endif
39909
39910 #undef $ac_func
39911
39912 /* Override any gcc2 internal prototype to avoid an error. */
39913 #ifdef __cplusplus
39914 extern "C"
39915 {
39916 #endif
39917 /* We use char because int might match the return type of a gcc2
39918 builtin and then its argument prototype would still apply. */
39919 char $ac_func ();
39920 /* The GNU C library defines this for functions which it implements
39921 to always fail with ENOSYS. Some functions are actually named
39922 something starting with __ and the normal name is an alias. */
39923 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39924 choke me
39925 #else
39926 char (*f) () = $ac_func;
39927 #endif
39928 #ifdef __cplusplus
39929 }
39930 #endif
39931
39932 int
39933 main ()
39934 {
39935 return f != $ac_func;
39936 ;
39937 return 0;
39938 }
39939 _ACEOF
39940 rm -f conftest.$ac_objext conftest$ac_exeext
39941 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39942 (eval $ac_link) 2>conftest.er1
39943 ac_status=$?
39944 grep -v '^ *+' conftest.er1 >conftest.err
39945 rm -f conftest.er1
39946 cat conftest.err >&5
39947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39948 (exit $ac_status); } &&
39949 { ac_try='test -z "$ac_c_werror_flag"
39950 || test ! -s conftest.err'
39951 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39952 (eval $ac_try) 2>&5
39953 ac_status=$?
39954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39955 (exit $ac_status); }; } &&
39956 { ac_try='test -s conftest$ac_exeext'
39957 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39958 (eval $ac_try) 2>&5
39959 ac_status=$?
39960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39961 (exit $ac_status); }; }; then
39962 eval "$as_ac_var=yes"
39963 else
39964 echo "$as_me: failed program was:" >&5
39965 sed 's/^/| /' conftest.$ac_ext >&5
39966
39967 eval "$as_ac_var=no"
39968 fi
39969 rm -f conftest.err conftest.$ac_objext \
39970 conftest$ac_exeext conftest.$ac_ext
39971 fi
39972 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39973 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39974 if test `eval echo '${'$as_ac_var'}'` = yes; then
39975 cat >>confdefs.h <<_ACEOF
39976 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39977 _ACEOF
39978
39979 fi
39980 done
39981
39982 else
39983
39984 echo "$as_me:$LINENO: checking for _powf declaration" >&5
39985 echo $ECHO_N "checking for _powf declaration... $ECHO_C" >&6
39986 if test x${glibcxx_cv_func__powf_use+set} != xset; then
39987 if test "${glibcxx_cv_func__powf_use+set}" = set; then
39988 echo $ECHO_N "(cached) $ECHO_C" >&6
39989 else
39990
39991
39992
39993 ac_ext=cc
39994 ac_cpp='$CXXCPP $CPPFLAGS'
39995 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39996 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39997 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39998
39999 cat >conftest.$ac_ext <<_ACEOF
40000 /* confdefs.h. */
40001 _ACEOF
40002 cat confdefs.h >>conftest.$ac_ext
40003 cat >>conftest.$ac_ext <<_ACEOF
40004 /* end confdefs.h. */
40005 #include <math.h>
40006 int
40007 main ()
40008 {
40009 _powf(0, 0);
40010 ;
40011 return 0;
40012 }
40013 _ACEOF
40014 rm -f conftest.$ac_objext
40015 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40016 (eval $ac_compile) 2>conftest.er1
40017 ac_status=$?
40018 grep -v '^ *+' conftest.er1 >conftest.err
40019 rm -f conftest.er1
40020 cat conftest.err >&5
40021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40022 (exit $ac_status); } &&
40023 { ac_try='test -z "$ac_cxx_werror_flag"
40024 || test ! -s conftest.err'
40025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40026 (eval $ac_try) 2>&5
40027 ac_status=$?
40028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40029 (exit $ac_status); }; } &&
40030 { ac_try='test -s conftest.$ac_objext'
40031 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40032 (eval $ac_try) 2>&5
40033 ac_status=$?
40034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40035 (exit $ac_status); }; }; then
40036 glibcxx_cv_func__powf_use=yes
40037 else
40038 echo "$as_me: failed program was:" >&5
40039 sed 's/^/| /' conftest.$ac_ext >&5
40040
40041 glibcxx_cv_func__powf_use=no
40042 fi
40043 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40044 ac_ext=c
40045 ac_cpp='$CPP $CPPFLAGS'
40046 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40047 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40048 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40049
40050
40051 fi
40052
40053 fi
40054 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powf_use" >&5
40055 echo "${ECHO_T}$glibcxx_cv_func__powf_use" >&6
40056
40057 if test x$glibcxx_cv_func__powf_use = x"yes"; then
40058
40059 for ac_func in _powf
40060 do
40061 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40062 echo "$as_me:$LINENO: checking for $ac_func" >&5
40063 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40064 if eval "test \"\${$as_ac_var+set}\" = set"; then
40065 echo $ECHO_N "(cached) $ECHO_C" >&6
40066 else
40067 if test x$gcc_no_link = xyes; then
40068 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40069 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40070 { (exit 1); exit 1; }; }
40071 fi
40072 cat >conftest.$ac_ext <<_ACEOF
40073 /* confdefs.h. */
40074 _ACEOF
40075 cat confdefs.h >>conftest.$ac_ext
40076 cat >>conftest.$ac_ext <<_ACEOF
40077 /* end confdefs.h. */
40078 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40079 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40080 #define $ac_func innocuous_$ac_func
40081
40082 /* System header to define __stub macros and hopefully few prototypes,
40083 which can conflict with char $ac_func (); below.
40084 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40085 <limits.h> exists even on freestanding compilers. */
40086
40087 #ifdef __STDC__
40088 # include <limits.h>
40089 #else
40090 # include <assert.h>
40091 #endif
40092
40093 #undef $ac_func
40094
40095 /* Override any gcc2 internal prototype to avoid an error. */
40096 #ifdef __cplusplus
40097 extern "C"
40098 {
40099 #endif
40100 /* We use char because int might match the return type of a gcc2
40101 builtin and then its argument prototype would still apply. */
40102 char $ac_func ();
40103 /* The GNU C library defines this for functions which it implements
40104 to always fail with ENOSYS. Some functions are actually named
40105 something starting with __ and the normal name is an alias. */
40106 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40107 choke me
40108 #else
40109 char (*f) () = $ac_func;
40110 #endif
40111 #ifdef __cplusplus
40112 }
40113 #endif
40114
40115 int
40116 main ()
40117 {
40118 return f != $ac_func;
40119 ;
40120 return 0;
40121 }
40122 _ACEOF
40123 rm -f conftest.$ac_objext conftest$ac_exeext
40124 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40125 (eval $ac_link) 2>conftest.er1
40126 ac_status=$?
40127 grep -v '^ *+' conftest.er1 >conftest.err
40128 rm -f conftest.er1
40129 cat conftest.err >&5
40130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40131 (exit $ac_status); } &&
40132 { ac_try='test -z "$ac_c_werror_flag"
40133 || test ! -s conftest.err'
40134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40135 (eval $ac_try) 2>&5
40136 ac_status=$?
40137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40138 (exit $ac_status); }; } &&
40139 { ac_try='test -s conftest$ac_exeext'
40140 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40141 (eval $ac_try) 2>&5
40142 ac_status=$?
40143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40144 (exit $ac_status); }; }; then
40145 eval "$as_ac_var=yes"
40146 else
40147 echo "$as_me: failed program was:" >&5
40148 sed 's/^/| /' conftest.$ac_ext >&5
40149
40150 eval "$as_ac_var=no"
40151 fi
40152 rm -f conftest.err conftest.$ac_objext \
40153 conftest$ac_exeext conftest.$ac_ext
40154 fi
40155 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40156 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40157 if test `eval echo '${'$as_ac_var'}'` = yes; then
40158 cat >>confdefs.h <<_ACEOF
40159 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40160 _ACEOF
40161
40162 fi
40163 done
40164
40165 fi
40166 fi
40167
40168
40169
40170
40171
40172
40173 echo "$as_me:$LINENO: checking for sqrtf declaration" >&5
40174 echo $ECHO_N "checking for sqrtf declaration... $ECHO_C" >&6
40175 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
40176 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then
40177 echo $ECHO_N "(cached) $ECHO_C" >&6
40178 else
40179
40180
40181
40182 ac_ext=cc
40183 ac_cpp='$CXXCPP $CPPFLAGS'
40184 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40185 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40186 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40187
40188 cat >conftest.$ac_ext <<_ACEOF
40189 /* confdefs.h. */
40190 _ACEOF
40191 cat confdefs.h >>conftest.$ac_ext
40192 cat >>conftest.$ac_ext <<_ACEOF
40193 /* end confdefs.h. */
40194 #include <math.h>
40195 #ifdef HAVE_IEEEFP_H
40196 #include <ieeefp.h>
40197 #endif
40198
40199 int
40200 main ()
40201 {
40202 sqrtf(0);
40203 ;
40204 return 0;
40205 }
40206 _ACEOF
40207 rm -f conftest.$ac_objext
40208 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40209 (eval $ac_compile) 2>conftest.er1
40210 ac_status=$?
40211 grep -v '^ *+' conftest.er1 >conftest.err
40212 rm -f conftest.er1
40213 cat conftest.err >&5
40214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40215 (exit $ac_status); } &&
40216 { ac_try='test -z "$ac_cxx_werror_flag"
40217 || test ! -s conftest.err'
40218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40219 (eval $ac_try) 2>&5
40220 ac_status=$?
40221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40222 (exit $ac_status); }; } &&
40223 { ac_try='test -s conftest.$ac_objext'
40224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40225 (eval $ac_try) 2>&5
40226 ac_status=$?
40227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40228 (exit $ac_status); }; }; then
40229 glibcxx_cv_func_sqrtf_use=yes
40230 else
40231 echo "$as_me: failed program was:" >&5
40232 sed 's/^/| /' conftest.$ac_ext >&5
40233
40234 glibcxx_cv_func_sqrtf_use=no
40235 fi
40236 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40237 ac_ext=c
40238 ac_cpp='$CPP $CPPFLAGS'
40239 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40240 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40241 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40242
40243
40244 fi
40245
40246 fi
40247 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtf_use" >&5
40248 echo "${ECHO_T}$glibcxx_cv_func_sqrtf_use" >&6
40249
40250 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
40251
40252 for ac_func in sqrtf
40253 do
40254 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40255 echo "$as_me:$LINENO: checking for $ac_func" >&5
40256 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40257 if eval "test \"\${$as_ac_var+set}\" = set"; then
40258 echo $ECHO_N "(cached) $ECHO_C" >&6
40259 else
40260 if test x$gcc_no_link = xyes; then
40261 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40262 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40263 { (exit 1); exit 1; }; }
40264 fi
40265 cat >conftest.$ac_ext <<_ACEOF
40266 /* confdefs.h. */
40267 _ACEOF
40268 cat confdefs.h >>conftest.$ac_ext
40269 cat >>conftest.$ac_ext <<_ACEOF
40270 /* end confdefs.h. */
40271 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40272 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40273 #define $ac_func innocuous_$ac_func
40274
40275 /* System header to define __stub macros and hopefully few prototypes,
40276 which can conflict with char $ac_func (); below.
40277 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40278 <limits.h> exists even on freestanding compilers. */
40279
40280 #ifdef __STDC__
40281 # include <limits.h>
40282 #else
40283 # include <assert.h>
40284 #endif
40285
40286 #undef $ac_func
40287
40288 /* Override any gcc2 internal prototype to avoid an error. */
40289 #ifdef __cplusplus
40290 extern "C"
40291 {
40292 #endif
40293 /* We use char because int might match the return type of a gcc2
40294 builtin and then its argument prototype would still apply. */
40295 char $ac_func ();
40296 /* The GNU C library defines this for functions which it implements
40297 to always fail with ENOSYS. Some functions are actually named
40298 something starting with __ and the normal name is an alias. */
40299 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40300 choke me
40301 #else
40302 char (*f) () = $ac_func;
40303 #endif
40304 #ifdef __cplusplus
40305 }
40306 #endif
40307
40308 int
40309 main ()
40310 {
40311 return f != $ac_func;
40312 ;
40313 return 0;
40314 }
40315 _ACEOF
40316 rm -f conftest.$ac_objext conftest$ac_exeext
40317 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40318 (eval $ac_link) 2>conftest.er1
40319 ac_status=$?
40320 grep -v '^ *+' conftest.er1 >conftest.err
40321 rm -f conftest.er1
40322 cat conftest.err >&5
40323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40324 (exit $ac_status); } &&
40325 { ac_try='test -z "$ac_c_werror_flag"
40326 || test ! -s conftest.err'
40327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40328 (eval $ac_try) 2>&5
40329 ac_status=$?
40330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40331 (exit $ac_status); }; } &&
40332 { ac_try='test -s conftest$ac_exeext'
40333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40334 (eval $ac_try) 2>&5
40335 ac_status=$?
40336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40337 (exit $ac_status); }; }; then
40338 eval "$as_ac_var=yes"
40339 else
40340 echo "$as_me: failed program was:" >&5
40341 sed 's/^/| /' conftest.$ac_ext >&5
40342
40343 eval "$as_ac_var=no"
40344 fi
40345 rm -f conftest.err conftest.$ac_objext \
40346 conftest$ac_exeext conftest.$ac_ext
40347 fi
40348 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40349 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40350 if test `eval echo '${'$as_ac_var'}'` = yes; then
40351 cat >>confdefs.h <<_ACEOF
40352 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40353 _ACEOF
40354
40355 fi
40356 done
40357
40358 else
40359
40360 echo "$as_me:$LINENO: checking for _sqrtf declaration" >&5
40361 echo $ECHO_N "checking for _sqrtf declaration... $ECHO_C" >&6
40362 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
40363 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then
40364 echo $ECHO_N "(cached) $ECHO_C" >&6
40365 else
40366
40367
40368
40369 ac_ext=cc
40370 ac_cpp='$CXXCPP $CPPFLAGS'
40371 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40372 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40373 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40374
40375 cat >conftest.$ac_ext <<_ACEOF
40376 /* confdefs.h. */
40377 _ACEOF
40378 cat confdefs.h >>conftest.$ac_ext
40379 cat >>conftest.$ac_ext <<_ACEOF
40380 /* end confdefs.h. */
40381 #include <math.h>
40382 #ifdef HAVE_IEEEFP_H
40383 #include <ieeefp.h>
40384 #endif
40385
40386 int
40387 main ()
40388 {
40389 _sqrtf(0);
40390 ;
40391 return 0;
40392 }
40393 _ACEOF
40394 rm -f conftest.$ac_objext
40395 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40396 (eval $ac_compile) 2>conftest.er1
40397 ac_status=$?
40398 grep -v '^ *+' conftest.er1 >conftest.err
40399 rm -f conftest.er1
40400 cat conftest.err >&5
40401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40402 (exit $ac_status); } &&
40403 { ac_try='test -z "$ac_cxx_werror_flag"
40404 || test ! -s conftest.err'
40405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40406 (eval $ac_try) 2>&5
40407 ac_status=$?
40408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40409 (exit $ac_status); }; } &&
40410 { ac_try='test -s conftest.$ac_objext'
40411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40412 (eval $ac_try) 2>&5
40413 ac_status=$?
40414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40415 (exit $ac_status); }; }; then
40416 glibcxx_cv_func__sqrtf_use=yes
40417 else
40418 echo "$as_me: failed program was:" >&5
40419 sed 's/^/| /' conftest.$ac_ext >&5
40420
40421 glibcxx_cv_func__sqrtf_use=no
40422 fi
40423 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40424 ac_ext=c
40425 ac_cpp='$CPP $CPPFLAGS'
40426 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40427 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40428 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40429
40430
40431 fi
40432
40433 fi
40434 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtf_use" >&5
40435 echo "${ECHO_T}$glibcxx_cv_func__sqrtf_use" >&6
40436
40437 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
40438
40439 for ac_func in _sqrtf
40440 do
40441 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40442 echo "$as_me:$LINENO: checking for $ac_func" >&5
40443 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40444 if eval "test \"\${$as_ac_var+set}\" = set"; then
40445 echo $ECHO_N "(cached) $ECHO_C" >&6
40446 else
40447 if test x$gcc_no_link = xyes; then
40448 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40449 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40450 { (exit 1); exit 1; }; }
40451 fi
40452 cat >conftest.$ac_ext <<_ACEOF
40453 /* confdefs.h. */
40454 _ACEOF
40455 cat confdefs.h >>conftest.$ac_ext
40456 cat >>conftest.$ac_ext <<_ACEOF
40457 /* end confdefs.h. */
40458 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40459 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40460 #define $ac_func innocuous_$ac_func
40461
40462 /* System header to define __stub macros and hopefully few prototypes,
40463 which can conflict with char $ac_func (); below.
40464 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40465 <limits.h> exists even on freestanding compilers. */
40466
40467 #ifdef __STDC__
40468 # include <limits.h>
40469 #else
40470 # include <assert.h>
40471 #endif
40472
40473 #undef $ac_func
40474
40475 /* Override any gcc2 internal prototype to avoid an error. */
40476 #ifdef __cplusplus
40477 extern "C"
40478 {
40479 #endif
40480 /* We use char because int might match the return type of a gcc2
40481 builtin and then its argument prototype would still apply. */
40482 char $ac_func ();
40483 /* The GNU C library defines this for functions which it implements
40484 to always fail with ENOSYS. Some functions are actually named
40485 something starting with __ and the normal name is an alias. */
40486 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40487 choke me
40488 #else
40489 char (*f) () = $ac_func;
40490 #endif
40491 #ifdef __cplusplus
40492 }
40493 #endif
40494
40495 int
40496 main ()
40497 {
40498 return f != $ac_func;
40499 ;
40500 return 0;
40501 }
40502 _ACEOF
40503 rm -f conftest.$ac_objext conftest$ac_exeext
40504 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40505 (eval $ac_link) 2>conftest.er1
40506 ac_status=$?
40507 grep -v '^ *+' conftest.er1 >conftest.err
40508 rm -f conftest.er1
40509 cat conftest.err >&5
40510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40511 (exit $ac_status); } &&
40512 { ac_try='test -z "$ac_c_werror_flag"
40513 || test ! -s conftest.err'
40514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40515 (eval $ac_try) 2>&5
40516 ac_status=$?
40517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40518 (exit $ac_status); }; } &&
40519 { ac_try='test -s conftest$ac_exeext'
40520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40521 (eval $ac_try) 2>&5
40522 ac_status=$?
40523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40524 (exit $ac_status); }; }; then
40525 eval "$as_ac_var=yes"
40526 else
40527 echo "$as_me: failed program was:" >&5
40528 sed 's/^/| /' conftest.$ac_ext >&5
40529
40530 eval "$as_ac_var=no"
40531 fi
40532 rm -f conftest.err conftest.$ac_objext \
40533 conftest$ac_exeext conftest.$ac_ext
40534 fi
40535 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40536 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40537 if test `eval echo '${'$as_ac_var'}'` = yes; then
40538 cat >>confdefs.h <<_ACEOF
40539 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40540 _ACEOF
40541
40542 fi
40543 done
40544
40545 fi
40546 fi
40547
40548
40549
40550
40551
40552
40553 echo "$as_me:$LINENO: checking for sincosf declaration" >&5
40554 echo $ECHO_N "checking for sincosf declaration... $ECHO_C" >&6
40555 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
40556 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then
40557 echo $ECHO_N "(cached) $ECHO_C" >&6
40558 else
40559
40560
40561
40562 ac_ext=cc
40563 ac_cpp='$CXXCPP $CPPFLAGS'
40564 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40565 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40566 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40567
40568 cat >conftest.$ac_ext <<_ACEOF
40569 /* confdefs.h. */
40570 _ACEOF
40571 cat confdefs.h >>conftest.$ac_ext
40572 cat >>conftest.$ac_ext <<_ACEOF
40573 /* end confdefs.h. */
40574 #include <math.h>
40575 int
40576 main ()
40577 {
40578 sincosf(0, 0, 0);
40579 ;
40580 return 0;
40581 }
40582 _ACEOF
40583 rm -f conftest.$ac_objext
40584 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40585 (eval $ac_compile) 2>conftest.er1
40586 ac_status=$?
40587 grep -v '^ *+' conftest.er1 >conftest.err
40588 rm -f conftest.er1
40589 cat conftest.err >&5
40590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40591 (exit $ac_status); } &&
40592 { ac_try='test -z "$ac_cxx_werror_flag"
40593 || test ! -s conftest.err'
40594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40595 (eval $ac_try) 2>&5
40596 ac_status=$?
40597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40598 (exit $ac_status); }; } &&
40599 { ac_try='test -s conftest.$ac_objext'
40600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40601 (eval $ac_try) 2>&5
40602 ac_status=$?
40603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40604 (exit $ac_status); }; }; then
40605 glibcxx_cv_func_sincosf_use=yes
40606 else
40607 echo "$as_me: failed program was:" >&5
40608 sed 's/^/| /' conftest.$ac_ext >&5
40609
40610 glibcxx_cv_func_sincosf_use=no
40611 fi
40612 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40613 ac_ext=c
40614 ac_cpp='$CPP $CPPFLAGS'
40615 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40616 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40617 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40618
40619
40620 fi
40621
40622 fi
40623 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosf_use" >&5
40624 echo "${ECHO_T}$glibcxx_cv_func_sincosf_use" >&6
40625
40626 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
40627
40628 for ac_func in sincosf
40629 do
40630 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40631 echo "$as_me:$LINENO: checking for $ac_func" >&5
40632 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40633 if eval "test \"\${$as_ac_var+set}\" = set"; then
40634 echo $ECHO_N "(cached) $ECHO_C" >&6
40635 else
40636 if test x$gcc_no_link = xyes; then
40637 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40638 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40639 { (exit 1); exit 1; }; }
40640 fi
40641 cat >conftest.$ac_ext <<_ACEOF
40642 /* confdefs.h. */
40643 _ACEOF
40644 cat confdefs.h >>conftest.$ac_ext
40645 cat >>conftest.$ac_ext <<_ACEOF
40646 /* end confdefs.h. */
40647 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40648 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40649 #define $ac_func innocuous_$ac_func
40650
40651 /* System header to define __stub macros and hopefully few prototypes,
40652 which can conflict with char $ac_func (); below.
40653 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40654 <limits.h> exists even on freestanding compilers. */
40655
40656 #ifdef __STDC__
40657 # include <limits.h>
40658 #else
40659 # include <assert.h>
40660 #endif
40661
40662 #undef $ac_func
40663
40664 /* Override any gcc2 internal prototype to avoid an error. */
40665 #ifdef __cplusplus
40666 extern "C"
40667 {
40668 #endif
40669 /* We use char because int might match the return type of a gcc2
40670 builtin and then its argument prototype would still apply. */
40671 char $ac_func ();
40672 /* The GNU C library defines this for functions which it implements
40673 to always fail with ENOSYS. Some functions are actually named
40674 something starting with __ and the normal name is an alias. */
40675 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40676 choke me
40677 #else
40678 char (*f) () = $ac_func;
40679 #endif
40680 #ifdef __cplusplus
40681 }
40682 #endif
40683
40684 int
40685 main ()
40686 {
40687 return f != $ac_func;
40688 ;
40689 return 0;
40690 }
40691 _ACEOF
40692 rm -f conftest.$ac_objext conftest$ac_exeext
40693 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40694 (eval $ac_link) 2>conftest.er1
40695 ac_status=$?
40696 grep -v '^ *+' conftest.er1 >conftest.err
40697 rm -f conftest.er1
40698 cat conftest.err >&5
40699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40700 (exit $ac_status); } &&
40701 { ac_try='test -z "$ac_c_werror_flag"
40702 || test ! -s conftest.err'
40703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40704 (eval $ac_try) 2>&5
40705 ac_status=$?
40706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40707 (exit $ac_status); }; } &&
40708 { ac_try='test -s conftest$ac_exeext'
40709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40710 (eval $ac_try) 2>&5
40711 ac_status=$?
40712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40713 (exit $ac_status); }; }; then
40714 eval "$as_ac_var=yes"
40715 else
40716 echo "$as_me: failed program was:" >&5
40717 sed 's/^/| /' conftest.$ac_ext >&5
40718
40719 eval "$as_ac_var=no"
40720 fi
40721 rm -f conftest.err conftest.$ac_objext \
40722 conftest$ac_exeext conftest.$ac_ext
40723 fi
40724 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40725 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40726 if test `eval echo '${'$as_ac_var'}'` = yes; then
40727 cat >>confdefs.h <<_ACEOF
40728 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40729 _ACEOF
40730
40731 fi
40732 done
40733
40734 else
40735
40736 echo "$as_me:$LINENO: checking for _sincosf declaration" >&5
40737 echo $ECHO_N "checking for _sincosf declaration... $ECHO_C" >&6
40738 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
40739 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then
40740 echo $ECHO_N "(cached) $ECHO_C" >&6
40741 else
40742
40743
40744
40745 ac_ext=cc
40746 ac_cpp='$CXXCPP $CPPFLAGS'
40747 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40748 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40749 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40750
40751 cat >conftest.$ac_ext <<_ACEOF
40752 /* confdefs.h. */
40753 _ACEOF
40754 cat confdefs.h >>conftest.$ac_ext
40755 cat >>conftest.$ac_ext <<_ACEOF
40756 /* end confdefs.h. */
40757 #include <math.h>
40758 int
40759 main ()
40760 {
40761 _sincosf(0, 0, 0);
40762 ;
40763 return 0;
40764 }
40765 _ACEOF
40766 rm -f conftest.$ac_objext
40767 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40768 (eval $ac_compile) 2>conftest.er1
40769 ac_status=$?
40770 grep -v '^ *+' conftest.er1 >conftest.err
40771 rm -f conftest.er1
40772 cat conftest.err >&5
40773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40774 (exit $ac_status); } &&
40775 { ac_try='test -z "$ac_cxx_werror_flag"
40776 || test ! -s conftest.err'
40777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40778 (eval $ac_try) 2>&5
40779 ac_status=$?
40780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40781 (exit $ac_status); }; } &&
40782 { ac_try='test -s conftest.$ac_objext'
40783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40784 (eval $ac_try) 2>&5
40785 ac_status=$?
40786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40787 (exit $ac_status); }; }; then
40788 glibcxx_cv_func__sincosf_use=yes
40789 else
40790 echo "$as_me: failed program was:" >&5
40791 sed 's/^/| /' conftest.$ac_ext >&5
40792
40793 glibcxx_cv_func__sincosf_use=no
40794 fi
40795 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40796 ac_ext=c
40797 ac_cpp='$CPP $CPPFLAGS'
40798 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40799 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40800 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40801
40802
40803 fi
40804
40805 fi
40806 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosf_use" >&5
40807 echo "${ECHO_T}$glibcxx_cv_func__sincosf_use" >&6
40808
40809 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
40810
40811 for ac_func in _sincosf
40812 do
40813 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40814 echo "$as_me:$LINENO: checking for $ac_func" >&5
40815 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40816 if eval "test \"\${$as_ac_var+set}\" = set"; then
40817 echo $ECHO_N "(cached) $ECHO_C" >&6
40818 else
40819 if test x$gcc_no_link = xyes; then
40820 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40821 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40822 { (exit 1); exit 1; }; }
40823 fi
40824 cat >conftest.$ac_ext <<_ACEOF
40825 /* confdefs.h. */
40826 _ACEOF
40827 cat confdefs.h >>conftest.$ac_ext
40828 cat >>conftest.$ac_ext <<_ACEOF
40829 /* end confdefs.h. */
40830 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40831 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40832 #define $ac_func innocuous_$ac_func
40833
40834 /* System header to define __stub macros and hopefully few prototypes,
40835 which can conflict with char $ac_func (); below.
40836 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40837 <limits.h> exists even on freestanding compilers. */
40838
40839 #ifdef __STDC__
40840 # include <limits.h>
40841 #else
40842 # include <assert.h>
40843 #endif
40844
40845 #undef $ac_func
40846
40847 /* Override any gcc2 internal prototype to avoid an error. */
40848 #ifdef __cplusplus
40849 extern "C"
40850 {
40851 #endif
40852 /* We use char because int might match the return type of a gcc2
40853 builtin and then its argument prototype would still apply. */
40854 char $ac_func ();
40855 /* The GNU C library defines this for functions which it implements
40856 to always fail with ENOSYS. Some functions are actually named
40857 something starting with __ and the normal name is an alias. */
40858 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40859 choke me
40860 #else
40861 char (*f) () = $ac_func;
40862 #endif
40863 #ifdef __cplusplus
40864 }
40865 #endif
40866
40867 int
40868 main ()
40869 {
40870 return f != $ac_func;
40871 ;
40872 return 0;
40873 }
40874 _ACEOF
40875 rm -f conftest.$ac_objext conftest$ac_exeext
40876 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40877 (eval $ac_link) 2>conftest.er1
40878 ac_status=$?
40879 grep -v '^ *+' conftest.er1 >conftest.err
40880 rm -f conftest.er1
40881 cat conftest.err >&5
40882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40883 (exit $ac_status); } &&
40884 { ac_try='test -z "$ac_c_werror_flag"
40885 || test ! -s conftest.err'
40886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40887 (eval $ac_try) 2>&5
40888 ac_status=$?
40889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40890 (exit $ac_status); }; } &&
40891 { ac_try='test -s conftest$ac_exeext'
40892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40893 (eval $ac_try) 2>&5
40894 ac_status=$?
40895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40896 (exit $ac_status); }; }; then
40897 eval "$as_ac_var=yes"
40898 else
40899 echo "$as_me: failed program was:" >&5
40900 sed 's/^/| /' conftest.$ac_ext >&5
40901
40902 eval "$as_ac_var=no"
40903 fi
40904 rm -f conftest.err conftest.$ac_objext \
40905 conftest$ac_exeext conftest.$ac_ext
40906 fi
40907 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40908 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40909 if test `eval echo '${'$as_ac_var'}'` = yes; then
40910 cat >>confdefs.h <<_ACEOF
40911 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40912 _ACEOF
40913
40914 fi
40915 done
40916
40917 fi
40918 fi
40919
40920
40921
40922
40923
40924
40925 echo "$as_me:$LINENO: checking for finitef declaration" >&5
40926 echo $ECHO_N "checking for finitef declaration... $ECHO_C" >&6
40927 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
40928 if test "${glibcxx_cv_func_finitef_use+set}" = set; then
40929 echo $ECHO_N "(cached) $ECHO_C" >&6
40930 else
40931
40932
40933
40934 ac_ext=cc
40935 ac_cpp='$CXXCPP $CPPFLAGS'
40936 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40937 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40938 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40939
40940 cat >conftest.$ac_ext <<_ACEOF
40941 /* confdefs.h. */
40942 _ACEOF
40943 cat confdefs.h >>conftest.$ac_ext
40944 cat >>conftest.$ac_ext <<_ACEOF
40945 /* end confdefs.h. */
40946 #include <math.h>
40947 #ifdef HAVE_IEEEFP_H
40948 #include <ieeefp.h>
40949 #endif
40950
40951 int
40952 main ()
40953 {
40954 finitef(0);
40955 ;
40956 return 0;
40957 }
40958 _ACEOF
40959 rm -f conftest.$ac_objext
40960 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40961 (eval $ac_compile) 2>conftest.er1
40962 ac_status=$?
40963 grep -v '^ *+' conftest.er1 >conftest.err
40964 rm -f conftest.er1
40965 cat conftest.err >&5
40966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40967 (exit $ac_status); } &&
40968 { ac_try='test -z "$ac_cxx_werror_flag"
40969 || test ! -s conftest.err'
40970 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40971 (eval $ac_try) 2>&5
40972 ac_status=$?
40973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40974 (exit $ac_status); }; } &&
40975 { ac_try='test -s conftest.$ac_objext'
40976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40977 (eval $ac_try) 2>&5
40978 ac_status=$?
40979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40980 (exit $ac_status); }; }; then
40981 glibcxx_cv_func_finitef_use=yes
40982 else
40983 echo "$as_me: failed program was:" >&5
40984 sed 's/^/| /' conftest.$ac_ext >&5
40985
40986 glibcxx_cv_func_finitef_use=no
40987 fi
40988 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40989 ac_ext=c
40990 ac_cpp='$CPP $CPPFLAGS'
40991 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40992 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40993 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40994
40995
40996 fi
40997
40998 fi
40999 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitef_use" >&5
41000 echo "${ECHO_T}$glibcxx_cv_func_finitef_use" >&6
41001
41002 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
41003
41004 for ac_func in finitef
41005 do
41006 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41007 echo "$as_me:$LINENO: checking for $ac_func" >&5
41008 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41009 if eval "test \"\${$as_ac_var+set}\" = set"; then
41010 echo $ECHO_N "(cached) $ECHO_C" >&6
41011 else
41012 if test x$gcc_no_link = xyes; then
41013 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41014 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41015 { (exit 1); exit 1; }; }
41016 fi
41017 cat >conftest.$ac_ext <<_ACEOF
41018 /* confdefs.h. */
41019 _ACEOF
41020 cat confdefs.h >>conftest.$ac_ext
41021 cat >>conftest.$ac_ext <<_ACEOF
41022 /* end confdefs.h. */
41023 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41024 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41025 #define $ac_func innocuous_$ac_func
41026
41027 /* System header to define __stub macros and hopefully few prototypes,
41028 which can conflict with char $ac_func (); below.
41029 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41030 <limits.h> exists even on freestanding compilers. */
41031
41032 #ifdef __STDC__
41033 # include <limits.h>
41034 #else
41035 # include <assert.h>
41036 #endif
41037
41038 #undef $ac_func
41039
41040 /* Override any gcc2 internal prototype to avoid an error. */
41041 #ifdef __cplusplus
41042 extern "C"
41043 {
41044 #endif
41045 /* We use char because int might match the return type of a gcc2
41046 builtin and then its argument prototype would still apply. */
41047 char $ac_func ();
41048 /* The GNU C library defines this for functions which it implements
41049 to always fail with ENOSYS. Some functions are actually named
41050 something starting with __ and the normal name is an alias. */
41051 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41052 choke me
41053 #else
41054 char (*f) () = $ac_func;
41055 #endif
41056 #ifdef __cplusplus
41057 }
41058 #endif
41059
41060 int
41061 main ()
41062 {
41063 return f != $ac_func;
41064 ;
41065 return 0;
41066 }
41067 _ACEOF
41068 rm -f conftest.$ac_objext conftest$ac_exeext
41069 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41070 (eval $ac_link) 2>conftest.er1
41071 ac_status=$?
41072 grep -v '^ *+' conftest.er1 >conftest.err
41073 rm -f conftest.er1
41074 cat conftest.err >&5
41075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41076 (exit $ac_status); } &&
41077 { ac_try='test -z "$ac_c_werror_flag"
41078 || test ! -s conftest.err'
41079 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41080 (eval $ac_try) 2>&5
41081 ac_status=$?
41082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41083 (exit $ac_status); }; } &&
41084 { ac_try='test -s conftest$ac_exeext'
41085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41086 (eval $ac_try) 2>&5
41087 ac_status=$?
41088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41089 (exit $ac_status); }; }; then
41090 eval "$as_ac_var=yes"
41091 else
41092 echo "$as_me: failed program was:" >&5
41093 sed 's/^/| /' conftest.$ac_ext >&5
41094
41095 eval "$as_ac_var=no"
41096 fi
41097 rm -f conftest.err conftest.$ac_objext \
41098 conftest$ac_exeext conftest.$ac_ext
41099 fi
41100 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41101 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41102 if test `eval echo '${'$as_ac_var'}'` = yes; then
41103 cat >>confdefs.h <<_ACEOF
41104 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41105 _ACEOF
41106
41107 fi
41108 done
41109
41110 else
41111
41112 echo "$as_me:$LINENO: checking for _finitef declaration" >&5
41113 echo $ECHO_N "checking for _finitef declaration... $ECHO_C" >&6
41114 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
41115 if test "${glibcxx_cv_func__finitef_use+set}" = set; then
41116 echo $ECHO_N "(cached) $ECHO_C" >&6
41117 else
41118
41119
41120
41121 ac_ext=cc
41122 ac_cpp='$CXXCPP $CPPFLAGS'
41123 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41124 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41125 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41126
41127 cat >conftest.$ac_ext <<_ACEOF
41128 /* confdefs.h. */
41129 _ACEOF
41130 cat confdefs.h >>conftest.$ac_ext
41131 cat >>conftest.$ac_ext <<_ACEOF
41132 /* end confdefs.h. */
41133 #include <math.h>
41134 #ifdef HAVE_IEEEFP_H
41135 #include <ieeefp.h>
41136 #endif
41137
41138 int
41139 main ()
41140 {
41141 _finitef(0);
41142 ;
41143 return 0;
41144 }
41145 _ACEOF
41146 rm -f conftest.$ac_objext
41147 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41148 (eval $ac_compile) 2>conftest.er1
41149 ac_status=$?
41150 grep -v '^ *+' conftest.er1 >conftest.err
41151 rm -f conftest.er1
41152 cat conftest.err >&5
41153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41154 (exit $ac_status); } &&
41155 { ac_try='test -z "$ac_cxx_werror_flag"
41156 || test ! -s conftest.err'
41157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41158 (eval $ac_try) 2>&5
41159 ac_status=$?
41160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41161 (exit $ac_status); }; } &&
41162 { ac_try='test -s conftest.$ac_objext'
41163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41164 (eval $ac_try) 2>&5
41165 ac_status=$?
41166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41167 (exit $ac_status); }; }; then
41168 glibcxx_cv_func__finitef_use=yes
41169 else
41170 echo "$as_me: failed program was:" >&5
41171 sed 's/^/| /' conftest.$ac_ext >&5
41172
41173 glibcxx_cv_func__finitef_use=no
41174 fi
41175 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41176 ac_ext=c
41177 ac_cpp='$CPP $CPPFLAGS'
41178 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41179 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41180 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41181
41182
41183 fi
41184
41185 fi
41186 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitef_use" >&5
41187 echo "${ECHO_T}$glibcxx_cv_func__finitef_use" >&6
41188
41189 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
41190
41191 for ac_func in _finitef
41192 do
41193 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41194 echo "$as_me:$LINENO: checking for $ac_func" >&5
41195 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41196 if eval "test \"\${$as_ac_var+set}\" = set"; then
41197 echo $ECHO_N "(cached) $ECHO_C" >&6
41198 else
41199 if test x$gcc_no_link = xyes; then
41200 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41201 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41202 { (exit 1); exit 1; }; }
41203 fi
41204 cat >conftest.$ac_ext <<_ACEOF
41205 /* confdefs.h. */
41206 _ACEOF
41207 cat confdefs.h >>conftest.$ac_ext
41208 cat >>conftest.$ac_ext <<_ACEOF
41209 /* end confdefs.h. */
41210 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41211 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41212 #define $ac_func innocuous_$ac_func
41213
41214 /* System header to define __stub macros and hopefully few prototypes,
41215 which can conflict with char $ac_func (); below.
41216 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41217 <limits.h> exists even on freestanding compilers. */
41218
41219 #ifdef __STDC__
41220 # include <limits.h>
41221 #else
41222 # include <assert.h>
41223 #endif
41224
41225 #undef $ac_func
41226
41227 /* Override any gcc2 internal prototype to avoid an error. */
41228 #ifdef __cplusplus
41229 extern "C"
41230 {
41231 #endif
41232 /* We use char because int might match the return type of a gcc2
41233 builtin and then its argument prototype would still apply. */
41234 char $ac_func ();
41235 /* The GNU C library defines this for functions which it implements
41236 to always fail with ENOSYS. Some functions are actually named
41237 something starting with __ and the normal name is an alias. */
41238 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41239 choke me
41240 #else
41241 char (*f) () = $ac_func;
41242 #endif
41243 #ifdef __cplusplus
41244 }
41245 #endif
41246
41247 int
41248 main ()
41249 {
41250 return f != $ac_func;
41251 ;
41252 return 0;
41253 }
41254 _ACEOF
41255 rm -f conftest.$ac_objext conftest$ac_exeext
41256 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41257 (eval $ac_link) 2>conftest.er1
41258 ac_status=$?
41259 grep -v '^ *+' conftest.er1 >conftest.err
41260 rm -f conftest.er1
41261 cat conftest.err >&5
41262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41263 (exit $ac_status); } &&
41264 { ac_try='test -z "$ac_c_werror_flag"
41265 || test ! -s conftest.err'
41266 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41267 (eval $ac_try) 2>&5
41268 ac_status=$?
41269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41270 (exit $ac_status); }; } &&
41271 { ac_try='test -s conftest$ac_exeext'
41272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41273 (eval $ac_try) 2>&5
41274 ac_status=$?
41275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41276 (exit $ac_status); }; }; then
41277 eval "$as_ac_var=yes"
41278 else
41279 echo "$as_me: failed program was:" >&5
41280 sed 's/^/| /' conftest.$ac_ext >&5
41281
41282 eval "$as_ac_var=no"
41283 fi
41284 rm -f conftest.err conftest.$ac_objext \
41285 conftest$ac_exeext conftest.$ac_ext
41286 fi
41287 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41288 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41289 if test `eval echo '${'$as_ac_var'}'` = yes; then
41290 cat >>confdefs.h <<_ACEOF
41291 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41292 _ACEOF
41293
41294 fi
41295 done
41296
41297 fi
41298 fi
41299
41300
41301
41302
41303
41304
41305 echo "$as_me:$LINENO: checking for long double trig functions" >&5
41306 echo $ECHO_N "checking for long double trig functions... $ECHO_C" >&6
41307 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then
41308 echo $ECHO_N "(cached) $ECHO_C" >&6
41309 else
41310
41311
41312
41313 ac_ext=cc
41314 ac_cpp='$CXXCPP $CPPFLAGS'
41315 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41316 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41317 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41318
41319 cat >conftest.$ac_ext <<_ACEOF
41320 /* confdefs.h. */
41321 _ACEOF
41322 cat confdefs.h >>conftest.$ac_ext
41323 cat >>conftest.$ac_ext <<_ACEOF
41324 /* end confdefs.h. */
41325 #include <math.h>
41326 int
41327 main ()
41328 {
41329 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
41330 ;
41331 return 0;
41332 }
41333 _ACEOF
41334 rm -f conftest.$ac_objext
41335 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41336 (eval $ac_compile) 2>conftest.er1
41337 ac_status=$?
41338 grep -v '^ *+' conftest.er1 >conftest.err
41339 rm -f conftest.er1
41340 cat conftest.err >&5
41341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41342 (exit $ac_status); } &&
41343 { ac_try='test -z "$ac_cxx_werror_flag"
41344 || test ! -s conftest.err'
41345 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41346 (eval $ac_try) 2>&5
41347 ac_status=$?
41348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41349 (exit $ac_status); }; } &&
41350 { ac_try='test -s conftest.$ac_objext'
41351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41352 (eval $ac_try) 2>&5
41353 ac_status=$?
41354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41355 (exit $ac_status); }; }; then
41356 glibcxx_cv_func_long_double_trig_use=yes
41357 else
41358 echo "$as_me: failed program was:" >&5
41359 sed 's/^/| /' conftest.$ac_ext >&5
41360
41361 glibcxx_cv_func_long_double_trig_use=no
41362 fi
41363 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41364 ac_ext=c
41365 ac_cpp='$CPP $CPPFLAGS'
41366 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41367 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41368 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41369
41370 fi
41371
41372 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_trig_use" >&5
41373 echo "${ECHO_T}$glibcxx_cv_func_long_double_trig_use" >&6
41374 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
41375
41376
41377
41378
41379
41380
41381
41382
41383
41384 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
41385 do
41386 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41387 echo "$as_me:$LINENO: checking for $ac_func" >&5
41388 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41389 if eval "test \"\${$as_ac_var+set}\" = set"; then
41390 echo $ECHO_N "(cached) $ECHO_C" >&6
41391 else
41392 if test x$gcc_no_link = xyes; then
41393 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41394 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41395 { (exit 1); exit 1; }; }
41396 fi
41397 cat >conftest.$ac_ext <<_ACEOF
41398 /* confdefs.h. */
41399 _ACEOF
41400 cat confdefs.h >>conftest.$ac_ext
41401 cat >>conftest.$ac_ext <<_ACEOF
41402 /* end confdefs.h. */
41403 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41404 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41405 #define $ac_func innocuous_$ac_func
41406
41407 /* System header to define __stub macros and hopefully few prototypes,
41408 which can conflict with char $ac_func (); below.
41409 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41410 <limits.h> exists even on freestanding compilers. */
41411
41412 #ifdef __STDC__
41413 # include <limits.h>
41414 #else
41415 # include <assert.h>
41416 #endif
41417
41418 #undef $ac_func
41419
41420 /* Override any gcc2 internal prototype to avoid an error. */
41421 #ifdef __cplusplus
41422 extern "C"
41423 {
41424 #endif
41425 /* We use char because int might match the return type of a gcc2
41426 builtin and then its argument prototype would still apply. */
41427 char $ac_func ();
41428 /* The GNU C library defines this for functions which it implements
41429 to always fail with ENOSYS. Some functions are actually named
41430 something starting with __ and the normal name is an alias. */
41431 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41432 choke me
41433 #else
41434 char (*f) () = $ac_func;
41435 #endif
41436 #ifdef __cplusplus
41437 }
41438 #endif
41439
41440 int
41441 main ()
41442 {
41443 return f != $ac_func;
41444 ;
41445 return 0;
41446 }
41447 _ACEOF
41448 rm -f conftest.$ac_objext conftest$ac_exeext
41449 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41450 (eval $ac_link) 2>conftest.er1
41451 ac_status=$?
41452 grep -v '^ *+' conftest.er1 >conftest.err
41453 rm -f conftest.er1
41454 cat conftest.err >&5
41455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41456 (exit $ac_status); } &&
41457 { ac_try='test -z "$ac_c_werror_flag"
41458 || test ! -s conftest.err'
41459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41460 (eval $ac_try) 2>&5
41461 ac_status=$?
41462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41463 (exit $ac_status); }; } &&
41464 { ac_try='test -s conftest$ac_exeext'
41465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41466 (eval $ac_try) 2>&5
41467 ac_status=$?
41468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41469 (exit $ac_status); }; }; then
41470 eval "$as_ac_var=yes"
41471 else
41472 echo "$as_me: failed program was:" >&5
41473 sed 's/^/| /' conftest.$ac_ext >&5
41474
41475 eval "$as_ac_var=no"
41476 fi
41477 rm -f conftest.err conftest.$ac_objext \
41478 conftest$ac_exeext conftest.$ac_ext
41479 fi
41480 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41481 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41482 if test `eval echo '${'$as_ac_var'}'` = yes; then
41483 cat >>confdefs.h <<_ACEOF
41484 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41485 _ACEOF
41486
41487 fi
41488 done
41489
41490 else
41491 echo "$as_me:$LINENO: checking for _long double trig functions" >&5
41492 echo $ECHO_N "checking for _long double trig functions... $ECHO_C" >&6
41493 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then
41494 echo $ECHO_N "(cached) $ECHO_C" >&6
41495 else
41496
41497
41498
41499 ac_ext=cc
41500 ac_cpp='$CXXCPP $CPPFLAGS'
41501 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41502 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41503 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41504
41505 cat >conftest.$ac_ext <<_ACEOF
41506 /* confdefs.h. */
41507 _ACEOF
41508 cat confdefs.h >>conftest.$ac_ext
41509 cat >>conftest.$ac_ext <<_ACEOF
41510 /* end confdefs.h. */
41511 #include <math.h>
41512 int
41513 main ()
41514 {
41515 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
41516 ;
41517 return 0;
41518 }
41519 _ACEOF
41520 rm -f conftest.$ac_objext
41521 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41522 (eval $ac_compile) 2>conftest.er1
41523 ac_status=$?
41524 grep -v '^ *+' conftest.er1 >conftest.err
41525 rm -f conftest.er1
41526 cat conftest.err >&5
41527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41528 (exit $ac_status); } &&
41529 { ac_try='test -z "$ac_cxx_werror_flag"
41530 || test ! -s conftest.err'
41531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41532 (eval $ac_try) 2>&5
41533 ac_status=$?
41534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41535 (exit $ac_status); }; } &&
41536 { ac_try='test -s conftest.$ac_objext'
41537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41538 (eval $ac_try) 2>&5
41539 ac_status=$?
41540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41541 (exit $ac_status); }; }; then
41542 glibcxx_cv_func__long_double_trig_use=yes
41543 else
41544 echo "$as_me: failed program was:" >&5
41545 sed 's/^/| /' conftest.$ac_ext >&5
41546
41547 glibcxx_cv_func__long_double_trig_use=no
41548 fi
41549 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41550 ac_ext=c
41551 ac_cpp='$CPP $CPPFLAGS'
41552 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41553 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41554 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41555
41556 fi
41557
41558 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_trig_use" >&5
41559 echo "${ECHO_T}$glibcxx_cv_func__long_double_trig_use" >&6
41560 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
41561
41562
41563
41564
41565
41566
41567
41568
41569
41570 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
41571 do
41572 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41573 echo "$as_me:$LINENO: checking for $ac_func" >&5
41574 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41575 if eval "test \"\${$as_ac_var+set}\" = set"; then
41576 echo $ECHO_N "(cached) $ECHO_C" >&6
41577 else
41578 if test x$gcc_no_link = xyes; then
41579 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41580 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41581 { (exit 1); exit 1; }; }
41582 fi
41583 cat >conftest.$ac_ext <<_ACEOF
41584 /* confdefs.h. */
41585 _ACEOF
41586 cat confdefs.h >>conftest.$ac_ext
41587 cat >>conftest.$ac_ext <<_ACEOF
41588 /* end confdefs.h. */
41589 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41590 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41591 #define $ac_func innocuous_$ac_func
41592
41593 /* System header to define __stub macros and hopefully few prototypes,
41594 which can conflict with char $ac_func (); below.
41595 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41596 <limits.h> exists even on freestanding compilers. */
41597
41598 #ifdef __STDC__
41599 # include <limits.h>
41600 #else
41601 # include <assert.h>
41602 #endif
41603
41604 #undef $ac_func
41605
41606 /* Override any gcc2 internal prototype to avoid an error. */
41607 #ifdef __cplusplus
41608 extern "C"
41609 {
41610 #endif
41611 /* We use char because int might match the return type of a gcc2
41612 builtin and then its argument prototype would still apply. */
41613 char $ac_func ();
41614 /* The GNU C library defines this for functions which it implements
41615 to always fail with ENOSYS. Some functions are actually named
41616 something starting with __ and the normal name is an alias. */
41617 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41618 choke me
41619 #else
41620 char (*f) () = $ac_func;
41621 #endif
41622 #ifdef __cplusplus
41623 }
41624 #endif
41625
41626 int
41627 main ()
41628 {
41629 return f != $ac_func;
41630 ;
41631 return 0;
41632 }
41633 _ACEOF
41634 rm -f conftest.$ac_objext conftest$ac_exeext
41635 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41636 (eval $ac_link) 2>conftest.er1
41637 ac_status=$?
41638 grep -v '^ *+' conftest.er1 >conftest.err
41639 rm -f conftest.er1
41640 cat conftest.err >&5
41641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41642 (exit $ac_status); } &&
41643 { ac_try='test -z "$ac_c_werror_flag"
41644 || test ! -s conftest.err'
41645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41646 (eval $ac_try) 2>&5
41647 ac_status=$?
41648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41649 (exit $ac_status); }; } &&
41650 { ac_try='test -s conftest$ac_exeext'
41651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41652 (eval $ac_try) 2>&5
41653 ac_status=$?
41654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41655 (exit $ac_status); }; }; then
41656 eval "$as_ac_var=yes"
41657 else
41658 echo "$as_me: failed program was:" >&5
41659 sed 's/^/| /' conftest.$ac_ext >&5
41660
41661 eval "$as_ac_var=no"
41662 fi
41663 rm -f conftest.err conftest.$ac_objext \
41664 conftest$ac_exeext conftest.$ac_ext
41665 fi
41666 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41667 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41668 if test `eval echo '${'$as_ac_var'}'` = yes; then
41669 cat >>confdefs.h <<_ACEOF
41670 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41671 _ACEOF
41672
41673 fi
41674 done
41675
41676 fi
41677 fi
41678
41679
41680
41681
41682
41683
41684
41685
41686
41687
41688
41689
41690
41691
41692 echo "$as_me:$LINENO: checking for long double round functions" >&5
41693 echo $ECHO_N "checking for long double round functions... $ECHO_C" >&6
41694 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then
41695 echo $ECHO_N "(cached) $ECHO_C" >&6
41696 else
41697
41698
41699
41700 ac_ext=cc
41701 ac_cpp='$CXXCPP $CPPFLAGS'
41702 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41703 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41704 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41705
41706 cat >conftest.$ac_ext <<_ACEOF
41707 /* confdefs.h. */
41708 _ACEOF
41709 cat confdefs.h >>conftest.$ac_ext
41710 cat >>conftest.$ac_ext <<_ACEOF
41711 /* end confdefs.h. */
41712 #include <math.h>
41713 int
41714 main ()
41715 {
41716 ceill (0); floorl (0);
41717 ;
41718 return 0;
41719 }
41720 _ACEOF
41721 rm -f conftest.$ac_objext
41722 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41723 (eval $ac_compile) 2>conftest.er1
41724 ac_status=$?
41725 grep -v '^ *+' conftest.er1 >conftest.err
41726 rm -f conftest.er1
41727 cat conftest.err >&5
41728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41729 (exit $ac_status); } &&
41730 { ac_try='test -z "$ac_cxx_werror_flag"
41731 || test ! -s conftest.err'
41732 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41733 (eval $ac_try) 2>&5
41734 ac_status=$?
41735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41736 (exit $ac_status); }; } &&
41737 { ac_try='test -s conftest.$ac_objext'
41738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41739 (eval $ac_try) 2>&5
41740 ac_status=$?
41741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41742 (exit $ac_status); }; }; then
41743 glibcxx_cv_func_long_double_round_use=yes
41744 else
41745 echo "$as_me: failed program was:" >&5
41746 sed 's/^/| /' conftest.$ac_ext >&5
41747
41748 glibcxx_cv_func_long_double_round_use=no
41749 fi
41750 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41751 ac_ext=c
41752 ac_cpp='$CPP $CPPFLAGS'
41753 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41754 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41755 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41756
41757 fi
41758
41759 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_round_use" >&5
41760 echo "${ECHO_T}$glibcxx_cv_func_long_double_round_use" >&6
41761 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
41762
41763
41764 for ac_func in ceill floorl
41765 do
41766 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41767 echo "$as_me:$LINENO: checking for $ac_func" >&5
41768 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41769 if eval "test \"\${$as_ac_var+set}\" = set"; then
41770 echo $ECHO_N "(cached) $ECHO_C" >&6
41771 else
41772 if test x$gcc_no_link = xyes; then
41773 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41774 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41775 { (exit 1); exit 1; }; }
41776 fi
41777 cat >conftest.$ac_ext <<_ACEOF
41778 /* confdefs.h. */
41779 _ACEOF
41780 cat confdefs.h >>conftest.$ac_ext
41781 cat >>conftest.$ac_ext <<_ACEOF
41782 /* end confdefs.h. */
41783 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41784 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41785 #define $ac_func innocuous_$ac_func
41786
41787 /* System header to define __stub macros and hopefully few prototypes,
41788 which can conflict with char $ac_func (); below.
41789 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41790 <limits.h> exists even on freestanding compilers. */
41791
41792 #ifdef __STDC__
41793 # include <limits.h>
41794 #else
41795 # include <assert.h>
41796 #endif
41797
41798 #undef $ac_func
41799
41800 /* Override any gcc2 internal prototype to avoid an error. */
41801 #ifdef __cplusplus
41802 extern "C"
41803 {
41804 #endif
41805 /* We use char because int might match the return type of a gcc2
41806 builtin and then its argument prototype would still apply. */
41807 char $ac_func ();
41808 /* The GNU C library defines this for functions which it implements
41809 to always fail with ENOSYS. Some functions are actually named
41810 something starting with __ and the normal name is an alias. */
41811 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41812 choke me
41813 #else
41814 char (*f) () = $ac_func;
41815 #endif
41816 #ifdef __cplusplus
41817 }
41818 #endif
41819
41820 int
41821 main ()
41822 {
41823 return f != $ac_func;
41824 ;
41825 return 0;
41826 }
41827 _ACEOF
41828 rm -f conftest.$ac_objext conftest$ac_exeext
41829 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41830 (eval $ac_link) 2>conftest.er1
41831 ac_status=$?
41832 grep -v '^ *+' conftest.er1 >conftest.err
41833 rm -f conftest.er1
41834 cat conftest.err >&5
41835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41836 (exit $ac_status); } &&
41837 { ac_try='test -z "$ac_c_werror_flag"
41838 || test ! -s conftest.err'
41839 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41840 (eval $ac_try) 2>&5
41841 ac_status=$?
41842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41843 (exit $ac_status); }; } &&
41844 { ac_try='test -s conftest$ac_exeext'
41845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41846 (eval $ac_try) 2>&5
41847 ac_status=$?
41848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41849 (exit $ac_status); }; }; then
41850 eval "$as_ac_var=yes"
41851 else
41852 echo "$as_me: failed program was:" >&5
41853 sed 's/^/| /' conftest.$ac_ext >&5
41854
41855 eval "$as_ac_var=no"
41856 fi
41857 rm -f conftest.err conftest.$ac_objext \
41858 conftest$ac_exeext conftest.$ac_ext
41859 fi
41860 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41861 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41862 if test `eval echo '${'$as_ac_var'}'` = yes; then
41863 cat >>confdefs.h <<_ACEOF
41864 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41865 _ACEOF
41866
41867 fi
41868 done
41869
41870 else
41871 echo "$as_me:$LINENO: checking for _long double round functions" >&5
41872 echo $ECHO_N "checking for _long double round functions... $ECHO_C" >&6
41873 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then
41874 echo $ECHO_N "(cached) $ECHO_C" >&6
41875 else
41876
41877
41878
41879 ac_ext=cc
41880 ac_cpp='$CXXCPP $CPPFLAGS'
41881 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41882 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41883 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41884
41885 cat >conftest.$ac_ext <<_ACEOF
41886 /* confdefs.h. */
41887 _ACEOF
41888 cat confdefs.h >>conftest.$ac_ext
41889 cat >>conftest.$ac_ext <<_ACEOF
41890 /* end confdefs.h. */
41891 #include <math.h>
41892 int
41893 main ()
41894 {
41895 _ceill (0); _floorl (0);
41896 ;
41897 return 0;
41898 }
41899 _ACEOF
41900 rm -f conftest.$ac_objext
41901 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41902 (eval $ac_compile) 2>conftest.er1
41903 ac_status=$?
41904 grep -v '^ *+' conftest.er1 >conftest.err
41905 rm -f conftest.er1
41906 cat conftest.err >&5
41907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41908 (exit $ac_status); } &&
41909 { ac_try='test -z "$ac_cxx_werror_flag"
41910 || test ! -s conftest.err'
41911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41912 (eval $ac_try) 2>&5
41913 ac_status=$?
41914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41915 (exit $ac_status); }; } &&
41916 { ac_try='test -s conftest.$ac_objext'
41917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41918 (eval $ac_try) 2>&5
41919 ac_status=$?
41920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41921 (exit $ac_status); }; }; then
41922 glibcxx_cv_func__long_double_round_use=yes
41923 else
41924 echo "$as_me: failed program was:" >&5
41925 sed 's/^/| /' conftest.$ac_ext >&5
41926
41927 glibcxx_cv_func__long_double_round_use=no
41928 fi
41929 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41930 ac_ext=c
41931 ac_cpp='$CPP $CPPFLAGS'
41932 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41933 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41934 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41935
41936 fi
41937
41938 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_round_use" >&5
41939 echo "${ECHO_T}$glibcxx_cv_func__long_double_round_use" >&6
41940 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
41941
41942
41943 for ac_func in _ceill _floorl
41944 do
41945 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41946 echo "$as_me:$LINENO: checking for $ac_func" >&5
41947 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41948 if eval "test \"\${$as_ac_var+set}\" = set"; then
41949 echo $ECHO_N "(cached) $ECHO_C" >&6
41950 else
41951 if test x$gcc_no_link = xyes; then
41952 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41953 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41954 { (exit 1); exit 1; }; }
41955 fi
41956 cat >conftest.$ac_ext <<_ACEOF
41957 /* confdefs.h. */
41958 _ACEOF
41959 cat confdefs.h >>conftest.$ac_ext
41960 cat >>conftest.$ac_ext <<_ACEOF
41961 /* end confdefs.h. */
41962 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41963 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41964 #define $ac_func innocuous_$ac_func
41965
41966 /* System header to define __stub macros and hopefully few prototypes,
41967 which can conflict with char $ac_func (); below.
41968 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41969 <limits.h> exists even on freestanding compilers. */
41970
41971 #ifdef __STDC__
41972 # include <limits.h>
41973 #else
41974 # include <assert.h>
41975 #endif
41976
41977 #undef $ac_func
41978
41979 /* Override any gcc2 internal prototype to avoid an error. */
41980 #ifdef __cplusplus
41981 extern "C"
41982 {
41983 #endif
41984 /* We use char because int might match the return type of a gcc2
41985 builtin and then its argument prototype would still apply. */
41986 char $ac_func ();
41987 /* The GNU C library defines this for functions which it implements
41988 to always fail with ENOSYS. Some functions are actually named
41989 something starting with __ and the normal name is an alias. */
41990 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41991 choke me
41992 #else
41993 char (*f) () = $ac_func;
41994 #endif
41995 #ifdef __cplusplus
41996 }
41997 #endif
41998
41999 int
42000 main ()
42001 {
42002 return f != $ac_func;
42003 ;
42004 return 0;
42005 }
42006 _ACEOF
42007 rm -f conftest.$ac_objext conftest$ac_exeext
42008 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42009 (eval $ac_link) 2>conftest.er1
42010 ac_status=$?
42011 grep -v '^ *+' conftest.er1 >conftest.err
42012 rm -f conftest.er1
42013 cat conftest.err >&5
42014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42015 (exit $ac_status); } &&
42016 { ac_try='test -z "$ac_c_werror_flag"
42017 || test ! -s conftest.err'
42018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42019 (eval $ac_try) 2>&5
42020 ac_status=$?
42021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42022 (exit $ac_status); }; } &&
42023 { ac_try='test -s conftest$ac_exeext'
42024 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42025 (eval $ac_try) 2>&5
42026 ac_status=$?
42027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42028 (exit $ac_status); }; }; then
42029 eval "$as_ac_var=yes"
42030 else
42031 echo "$as_me: failed program was:" >&5
42032 sed 's/^/| /' conftest.$ac_ext >&5
42033
42034 eval "$as_ac_var=no"
42035 fi
42036 rm -f conftest.err conftest.$ac_objext \
42037 conftest$ac_exeext conftest.$ac_ext
42038 fi
42039 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42040 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42041 if test `eval echo '${'$as_ac_var'}'` = yes; then
42042 cat >>confdefs.h <<_ACEOF
42043 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42044 _ACEOF
42045
42046 fi
42047 done
42048
42049 fi
42050 fi
42051
42052
42053
42054
42055
42056
42057
42058
42059 echo "$as_me:$LINENO: checking for isnanl declaration" >&5
42060 echo $ECHO_N "checking for isnanl declaration... $ECHO_C" >&6
42061 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
42062 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then
42063 echo $ECHO_N "(cached) $ECHO_C" >&6
42064 else
42065
42066
42067
42068 ac_ext=cc
42069 ac_cpp='$CXXCPP $CPPFLAGS'
42070 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42071 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42072 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42073
42074 cat >conftest.$ac_ext <<_ACEOF
42075 /* confdefs.h. */
42076 _ACEOF
42077 cat confdefs.h >>conftest.$ac_ext
42078 cat >>conftest.$ac_ext <<_ACEOF
42079 /* end confdefs.h. */
42080 #include <math.h>
42081 #ifdef HAVE_IEEEFP_H
42082 #include <ieeefp.h>
42083 #endif
42084
42085 int
42086 main ()
42087 {
42088 isnanl(0);
42089 ;
42090 return 0;
42091 }
42092 _ACEOF
42093 rm -f conftest.$ac_objext
42094 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42095 (eval $ac_compile) 2>conftest.er1
42096 ac_status=$?
42097 grep -v '^ *+' conftest.er1 >conftest.err
42098 rm -f conftest.er1
42099 cat conftest.err >&5
42100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42101 (exit $ac_status); } &&
42102 { ac_try='test -z "$ac_cxx_werror_flag"
42103 || test ! -s conftest.err'
42104 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42105 (eval $ac_try) 2>&5
42106 ac_status=$?
42107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42108 (exit $ac_status); }; } &&
42109 { ac_try='test -s conftest.$ac_objext'
42110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42111 (eval $ac_try) 2>&5
42112 ac_status=$?
42113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42114 (exit $ac_status); }; }; then
42115 glibcxx_cv_func_isnanl_use=yes
42116 else
42117 echo "$as_me: failed program was:" >&5
42118 sed 's/^/| /' conftest.$ac_ext >&5
42119
42120 glibcxx_cv_func_isnanl_use=no
42121 fi
42122 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42123 ac_ext=c
42124 ac_cpp='$CPP $CPPFLAGS'
42125 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42126 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42127 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42128
42129
42130 fi
42131
42132 fi
42133 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanl_use" >&5
42134 echo "${ECHO_T}$glibcxx_cv_func_isnanl_use" >&6
42135
42136 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
42137
42138 for ac_func in isnanl
42139 do
42140 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42141 echo "$as_me:$LINENO: checking for $ac_func" >&5
42142 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42143 if eval "test \"\${$as_ac_var+set}\" = set"; then
42144 echo $ECHO_N "(cached) $ECHO_C" >&6
42145 else
42146 if test x$gcc_no_link = xyes; then
42147 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42148 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42149 { (exit 1); exit 1; }; }
42150 fi
42151 cat >conftest.$ac_ext <<_ACEOF
42152 /* confdefs.h. */
42153 _ACEOF
42154 cat confdefs.h >>conftest.$ac_ext
42155 cat >>conftest.$ac_ext <<_ACEOF
42156 /* end confdefs.h. */
42157 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42158 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42159 #define $ac_func innocuous_$ac_func
42160
42161 /* System header to define __stub macros and hopefully few prototypes,
42162 which can conflict with char $ac_func (); below.
42163 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42164 <limits.h> exists even on freestanding compilers. */
42165
42166 #ifdef __STDC__
42167 # include <limits.h>
42168 #else
42169 # include <assert.h>
42170 #endif
42171
42172 #undef $ac_func
42173
42174 /* Override any gcc2 internal prototype to avoid an error. */
42175 #ifdef __cplusplus
42176 extern "C"
42177 {
42178 #endif
42179 /* We use char because int might match the return type of a gcc2
42180 builtin and then its argument prototype would still apply. */
42181 char $ac_func ();
42182 /* The GNU C library defines this for functions which it implements
42183 to always fail with ENOSYS. Some functions are actually named
42184 something starting with __ and the normal name is an alias. */
42185 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42186 choke me
42187 #else
42188 char (*f) () = $ac_func;
42189 #endif
42190 #ifdef __cplusplus
42191 }
42192 #endif
42193
42194 int
42195 main ()
42196 {
42197 return f != $ac_func;
42198 ;
42199 return 0;
42200 }
42201 _ACEOF
42202 rm -f conftest.$ac_objext conftest$ac_exeext
42203 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42204 (eval $ac_link) 2>conftest.er1
42205 ac_status=$?
42206 grep -v '^ *+' conftest.er1 >conftest.err
42207 rm -f conftest.er1
42208 cat conftest.err >&5
42209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42210 (exit $ac_status); } &&
42211 { ac_try='test -z "$ac_c_werror_flag"
42212 || test ! -s conftest.err'
42213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42214 (eval $ac_try) 2>&5
42215 ac_status=$?
42216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42217 (exit $ac_status); }; } &&
42218 { ac_try='test -s conftest$ac_exeext'
42219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42220 (eval $ac_try) 2>&5
42221 ac_status=$?
42222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42223 (exit $ac_status); }; }; then
42224 eval "$as_ac_var=yes"
42225 else
42226 echo "$as_me: failed program was:" >&5
42227 sed 's/^/| /' conftest.$ac_ext >&5
42228
42229 eval "$as_ac_var=no"
42230 fi
42231 rm -f conftest.err conftest.$ac_objext \
42232 conftest$ac_exeext conftest.$ac_ext
42233 fi
42234 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42235 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42236 if test `eval echo '${'$as_ac_var'}'` = yes; then
42237 cat >>confdefs.h <<_ACEOF
42238 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42239 _ACEOF
42240
42241 fi
42242 done
42243
42244 else
42245
42246 echo "$as_me:$LINENO: checking for _isnanl declaration" >&5
42247 echo $ECHO_N "checking for _isnanl declaration... $ECHO_C" >&6
42248 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
42249 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then
42250 echo $ECHO_N "(cached) $ECHO_C" >&6
42251 else
42252
42253
42254
42255 ac_ext=cc
42256 ac_cpp='$CXXCPP $CPPFLAGS'
42257 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42258 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42259 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42260
42261 cat >conftest.$ac_ext <<_ACEOF
42262 /* confdefs.h. */
42263 _ACEOF
42264 cat confdefs.h >>conftest.$ac_ext
42265 cat >>conftest.$ac_ext <<_ACEOF
42266 /* end confdefs.h. */
42267 #include <math.h>
42268 #ifdef HAVE_IEEEFP_H
42269 #include <ieeefp.h>
42270 #endif
42271
42272 int
42273 main ()
42274 {
42275 _isnanl(0);
42276 ;
42277 return 0;
42278 }
42279 _ACEOF
42280 rm -f conftest.$ac_objext
42281 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42282 (eval $ac_compile) 2>conftest.er1
42283 ac_status=$?
42284 grep -v '^ *+' conftest.er1 >conftest.err
42285 rm -f conftest.er1
42286 cat conftest.err >&5
42287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42288 (exit $ac_status); } &&
42289 { ac_try='test -z "$ac_cxx_werror_flag"
42290 || test ! -s conftest.err'
42291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42292 (eval $ac_try) 2>&5
42293 ac_status=$?
42294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42295 (exit $ac_status); }; } &&
42296 { ac_try='test -s conftest.$ac_objext'
42297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42298 (eval $ac_try) 2>&5
42299 ac_status=$?
42300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42301 (exit $ac_status); }; }; then
42302 glibcxx_cv_func__isnanl_use=yes
42303 else
42304 echo "$as_me: failed program was:" >&5
42305 sed 's/^/| /' conftest.$ac_ext >&5
42306
42307 glibcxx_cv_func__isnanl_use=no
42308 fi
42309 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42310 ac_ext=c
42311 ac_cpp='$CPP $CPPFLAGS'
42312 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42313 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42314 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42315
42316
42317 fi
42318
42319 fi
42320 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanl_use" >&5
42321 echo "${ECHO_T}$glibcxx_cv_func__isnanl_use" >&6
42322
42323 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
42324
42325 for ac_func in _isnanl
42326 do
42327 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42328 echo "$as_me:$LINENO: checking for $ac_func" >&5
42329 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42330 if eval "test \"\${$as_ac_var+set}\" = set"; then
42331 echo $ECHO_N "(cached) $ECHO_C" >&6
42332 else
42333 if test x$gcc_no_link = xyes; then
42334 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42335 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42336 { (exit 1); exit 1; }; }
42337 fi
42338 cat >conftest.$ac_ext <<_ACEOF
42339 /* confdefs.h. */
42340 _ACEOF
42341 cat confdefs.h >>conftest.$ac_ext
42342 cat >>conftest.$ac_ext <<_ACEOF
42343 /* end confdefs.h. */
42344 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42345 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42346 #define $ac_func innocuous_$ac_func
42347
42348 /* System header to define __stub macros and hopefully few prototypes,
42349 which can conflict with char $ac_func (); below.
42350 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42351 <limits.h> exists even on freestanding compilers. */
42352
42353 #ifdef __STDC__
42354 # include <limits.h>
42355 #else
42356 # include <assert.h>
42357 #endif
42358
42359 #undef $ac_func
42360
42361 /* Override any gcc2 internal prototype to avoid an error. */
42362 #ifdef __cplusplus
42363 extern "C"
42364 {
42365 #endif
42366 /* We use char because int might match the return type of a gcc2
42367 builtin and then its argument prototype would still apply. */
42368 char $ac_func ();
42369 /* The GNU C library defines this for functions which it implements
42370 to always fail with ENOSYS. Some functions are actually named
42371 something starting with __ and the normal name is an alias. */
42372 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42373 choke me
42374 #else
42375 char (*f) () = $ac_func;
42376 #endif
42377 #ifdef __cplusplus
42378 }
42379 #endif
42380
42381 int
42382 main ()
42383 {
42384 return f != $ac_func;
42385 ;
42386 return 0;
42387 }
42388 _ACEOF
42389 rm -f conftest.$ac_objext conftest$ac_exeext
42390 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42391 (eval $ac_link) 2>conftest.er1
42392 ac_status=$?
42393 grep -v '^ *+' conftest.er1 >conftest.err
42394 rm -f conftest.er1
42395 cat conftest.err >&5
42396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42397 (exit $ac_status); } &&
42398 { ac_try='test -z "$ac_c_werror_flag"
42399 || test ! -s conftest.err'
42400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42401 (eval $ac_try) 2>&5
42402 ac_status=$?
42403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42404 (exit $ac_status); }; } &&
42405 { ac_try='test -s conftest$ac_exeext'
42406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42407 (eval $ac_try) 2>&5
42408 ac_status=$?
42409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42410 (exit $ac_status); }; }; then
42411 eval "$as_ac_var=yes"
42412 else
42413 echo "$as_me: failed program was:" >&5
42414 sed 's/^/| /' conftest.$ac_ext >&5
42415
42416 eval "$as_ac_var=no"
42417 fi
42418 rm -f conftest.err conftest.$ac_objext \
42419 conftest$ac_exeext conftest.$ac_ext
42420 fi
42421 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42422 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42423 if test `eval echo '${'$as_ac_var'}'` = yes; then
42424 cat >>confdefs.h <<_ACEOF
42425 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42426 _ACEOF
42427
42428 fi
42429 done
42430
42431 fi
42432 fi
42433
42434
42435
42436
42437
42438
42439 echo "$as_me:$LINENO: checking for isinfl declaration" >&5
42440 echo $ECHO_N "checking for isinfl declaration... $ECHO_C" >&6
42441 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
42442 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then
42443 echo $ECHO_N "(cached) $ECHO_C" >&6
42444 else
42445
42446
42447
42448 ac_ext=cc
42449 ac_cpp='$CXXCPP $CPPFLAGS'
42450 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42451 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42452 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42453
42454 cat >conftest.$ac_ext <<_ACEOF
42455 /* confdefs.h. */
42456 _ACEOF
42457 cat confdefs.h >>conftest.$ac_ext
42458 cat >>conftest.$ac_ext <<_ACEOF
42459 /* end confdefs.h. */
42460 #include <math.h>
42461 #ifdef HAVE_IEEEFP_H
42462 #include <ieeefp.h>
42463 #endif
42464
42465 int
42466 main ()
42467 {
42468 isinfl(0);
42469 ;
42470 return 0;
42471 }
42472 _ACEOF
42473 rm -f conftest.$ac_objext
42474 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42475 (eval $ac_compile) 2>conftest.er1
42476 ac_status=$?
42477 grep -v '^ *+' conftest.er1 >conftest.err
42478 rm -f conftest.er1
42479 cat conftest.err >&5
42480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42481 (exit $ac_status); } &&
42482 { ac_try='test -z "$ac_cxx_werror_flag"
42483 || test ! -s conftest.err'
42484 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42485 (eval $ac_try) 2>&5
42486 ac_status=$?
42487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42488 (exit $ac_status); }; } &&
42489 { ac_try='test -s conftest.$ac_objext'
42490 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42491 (eval $ac_try) 2>&5
42492 ac_status=$?
42493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42494 (exit $ac_status); }; }; then
42495 glibcxx_cv_func_isinfl_use=yes
42496 else
42497 echo "$as_me: failed program was:" >&5
42498 sed 's/^/| /' conftest.$ac_ext >&5
42499
42500 glibcxx_cv_func_isinfl_use=no
42501 fi
42502 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42503 ac_ext=c
42504 ac_cpp='$CPP $CPPFLAGS'
42505 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42506 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42507 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42508
42509
42510 fi
42511
42512 fi
42513 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinfl_use" >&5
42514 echo "${ECHO_T}$glibcxx_cv_func_isinfl_use" >&6
42515
42516 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
42517
42518 for ac_func in isinfl
42519 do
42520 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42521 echo "$as_me:$LINENO: checking for $ac_func" >&5
42522 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42523 if eval "test \"\${$as_ac_var+set}\" = set"; then
42524 echo $ECHO_N "(cached) $ECHO_C" >&6
42525 else
42526 if test x$gcc_no_link = xyes; then
42527 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42528 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42529 { (exit 1); exit 1; }; }
42530 fi
42531 cat >conftest.$ac_ext <<_ACEOF
42532 /* confdefs.h. */
42533 _ACEOF
42534 cat confdefs.h >>conftest.$ac_ext
42535 cat >>conftest.$ac_ext <<_ACEOF
42536 /* end confdefs.h. */
42537 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42538 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42539 #define $ac_func innocuous_$ac_func
42540
42541 /* System header to define __stub macros and hopefully few prototypes,
42542 which can conflict with char $ac_func (); below.
42543 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42544 <limits.h> exists even on freestanding compilers. */
42545
42546 #ifdef __STDC__
42547 # include <limits.h>
42548 #else
42549 # include <assert.h>
42550 #endif
42551
42552 #undef $ac_func
42553
42554 /* Override any gcc2 internal prototype to avoid an error. */
42555 #ifdef __cplusplus
42556 extern "C"
42557 {
42558 #endif
42559 /* We use char because int might match the return type of a gcc2
42560 builtin and then its argument prototype would still apply. */
42561 char $ac_func ();
42562 /* The GNU C library defines this for functions which it implements
42563 to always fail with ENOSYS. Some functions are actually named
42564 something starting with __ and the normal name is an alias. */
42565 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42566 choke me
42567 #else
42568 char (*f) () = $ac_func;
42569 #endif
42570 #ifdef __cplusplus
42571 }
42572 #endif
42573
42574 int
42575 main ()
42576 {
42577 return f != $ac_func;
42578 ;
42579 return 0;
42580 }
42581 _ACEOF
42582 rm -f conftest.$ac_objext conftest$ac_exeext
42583 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42584 (eval $ac_link) 2>conftest.er1
42585 ac_status=$?
42586 grep -v '^ *+' conftest.er1 >conftest.err
42587 rm -f conftest.er1
42588 cat conftest.err >&5
42589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42590 (exit $ac_status); } &&
42591 { ac_try='test -z "$ac_c_werror_flag"
42592 || test ! -s conftest.err'
42593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42594 (eval $ac_try) 2>&5
42595 ac_status=$?
42596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42597 (exit $ac_status); }; } &&
42598 { ac_try='test -s conftest$ac_exeext'
42599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42600 (eval $ac_try) 2>&5
42601 ac_status=$?
42602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42603 (exit $ac_status); }; }; then
42604 eval "$as_ac_var=yes"
42605 else
42606 echo "$as_me: failed program was:" >&5
42607 sed 's/^/| /' conftest.$ac_ext >&5
42608
42609 eval "$as_ac_var=no"
42610 fi
42611 rm -f conftest.err conftest.$ac_objext \
42612 conftest$ac_exeext conftest.$ac_ext
42613 fi
42614 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42615 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42616 if test `eval echo '${'$as_ac_var'}'` = yes; then
42617 cat >>confdefs.h <<_ACEOF
42618 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42619 _ACEOF
42620
42621 fi
42622 done
42623
42624 else
42625
42626 echo "$as_me:$LINENO: checking for _isinfl declaration" >&5
42627 echo $ECHO_N "checking for _isinfl declaration... $ECHO_C" >&6
42628 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
42629 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then
42630 echo $ECHO_N "(cached) $ECHO_C" >&6
42631 else
42632
42633
42634
42635 ac_ext=cc
42636 ac_cpp='$CXXCPP $CPPFLAGS'
42637 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42638 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42639 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42640
42641 cat >conftest.$ac_ext <<_ACEOF
42642 /* confdefs.h. */
42643 _ACEOF
42644 cat confdefs.h >>conftest.$ac_ext
42645 cat >>conftest.$ac_ext <<_ACEOF
42646 /* end confdefs.h. */
42647 #include <math.h>
42648 #ifdef HAVE_IEEEFP_H
42649 #include <ieeefp.h>
42650 #endif
42651
42652 int
42653 main ()
42654 {
42655 _isinfl(0);
42656 ;
42657 return 0;
42658 }
42659 _ACEOF
42660 rm -f conftest.$ac_objext
42661 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42662 (eval $ac_compile) 2>conftest.er1
42663 ac_status=$?
42664 grep -v '^ *+' conftest.er1 >conftest.err
42665 rm -f conftest.er1
42666 cat conftest.err >&5
42667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42668 (exit $ac_status); } &&
42669 { ac_try='test -z "$ac_cxx_werror_flag"
42670 || test ! -s conftest.err'
42671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42672 (eval $ac_try) 2>&5
42673 ac_status=$?
42674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42675 (exit $ac_status); }; } &&
42676 { ac_try='test -s conftest.$ac_objext'
42677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42678 (eval $ac_try) 2>&5
42679 ac_status=$?
42680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42681 (exit $ac_status); }; }; then
42682 glibcxx_cv_func__isinfl_use=yes
42683 else
42684 echo "$as_me: failed program was:" >&5
42685 sed 's/^/| /' conftest.$ac_ext >&5
42686
42687 glibcxx_cv_func__isinfl_use=no
42688 fi
42689 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42690 ac_ext=c
42691 ac_cpp='$CPP $CPPFLAGS'
42692 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42693 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42694 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42695
42696
42697 fi
42698
42699 fi
42700 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinfl_use" >&5
42701 echo "${ECHO_T}$glibcxx_cv_func__isinfl_use" >&6
42702
42703 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
42704
42705 for ac_func in _isinfl
42706 do
42707 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42708 echo "$as_me:$LINENO: checking for $ac_func" >&5
42709 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42710 if eval "test \"\${$as_ac_var+set}\" = set"; then
42711 echo $ECHO_N "(cached) $ECHO_C" >&6
42712 else
42713 if test x$gcc_no_link = xyes; then
42714 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42715 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42716 { (exit 1); exit 1; }; }
42717 fi
42718 cat >conftest.$ac_ext <<_ACEOF
42719 /* confdefs.h. */
42720 _ACEOF
42721 cat confdefs.h >>conftest.$ac_ext
42722 cat >>conftest.$ac_ext <<_ACEOF
42723 /* end confdefs.h. */
42724 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42725 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42726 #define $ac_func innocuous_$ac_func
42727
42728 /* System header to define __stub macros and hopefully few prototypes,
42729 which can conflict with char $ac_func (); below.
42730 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42731 <limits.h> exists even on freestanding compilers. */
42732
42733 #ifdef __STDC__
42734 # include <limits.h>
42735 #else
42736 # include <assert.h>
42737 #endif
42738
42739 #undef $ac_func
42740
42741 /* Override any gcc2 internal prototype to avoid an error. */
42742 #ifdef __cplusplus
42743 extern "C"
42744 {
42745 #endif
42746 /* We use char because int might match the return type of a gcc2
42747 builtin and then its argument prototype would still apply. */
42748 char $ac_func ();
42749 /* The GNU C library defines this for functions which it implements
42750 to always fail with ENOSYS. Some functions are actually named
42751 something starting with __ and the normal name is an alias. */
42752 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42753 choke me
42754 #else
42755 char (*f) () = $ac_func;
42756 #endif
42757 #ifdef __cplusplus
42758 }
42759 #endif
42760
42761 int
42762 main ()
42763 {
42764 return f != $ac_func;
42765 ;
42766 return 0;
42767 }
42768 _ACEOF
42769 rm -f conftest.$ac_objext conftest$ac_exeext
42770 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42771 (eval $ac_link) 2>conftest.er1
42772 ac_status=$?
42773 grep -v '^ *+' conftest.er1 >conftest.err
42774 rm -f conftest.er1
42775 cat conftest.err >&5
42776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42777 (exit $ac_status); } &&
42778 { ac_try='test -z "$ac_c_werror_flag"
42779 || test ! -s conftest.err'
42780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42781 (eval $ac_try) 2>&5
42782 ac_status=$?
42783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42784 (exit $ac_status); }; } &&
42785 { ac_try='test -s conftest$ac_exeext'
42786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42787 (eval $ac_try) 2>&5
42788 ac_status=$?
42789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42790 (exit $ac_status); }; }; then
42791 eval "$as_ac_var=yes"
42792 else
42793 echo "$as_me: failed program was:" >&5
42794 sed 's/^/| /' conftest.$ac_ext >&5
42795
42796 eval "$as_ac_var=no"
42797 fi
42798 rm -f conftest.err conftest.$ac_objext \
42799 conftest$ac_exeext conftest.$ac_ext
42800 fi
42801 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42802 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42803 if test `eval echo '${'$as_ac_var'}'` = yes; then
42804 cat >>confdefs.h <<_ACEOF
42805 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42806 _ACEOF
42807
42808 fi
42809 done
42810
42811 fi
42812 fi
42813
42814
42815
42816
42817
42818
42819 echo "$as_me:$LINENO: checking for copysignl declaration" >&5
42820 echo $ECHO_N "checking for copysignl declaration... $ECHO_C" >&6
42821 if test x${glibcxx_cv_func_copysignl_use+set} != xset; then
42822 if test "${glibcxx_cv_func_copysignl_use+set}" = set; then
42823 echo $ECHO_N "(cached) $ECHO_C" >&6
42824 else
42825
42826
42827
42828 ac_ext=cc
42829 ac_cpp='$CXXCPP $CPPFLAGS'
42830 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42831 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42832 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42833
42834 cat >conftest.$ac_ext <<_ACEOF
42835 /* confdefs.h. */
42836 _ACEOF
42837 cat confdefs.h >>conftest.$ac_ext
42838 cat >>conftest.$ac_ext <<_ACEOF
42839 /* end confdefs.h. */
42840 #include <math.h>
42841 int
42842 main ()
42843 {
42844 copysignl(0, 0);
42845 ;
42846 return 0;
42847 }
42848 _ACEOF
42849 rm -f conftest.$ac_objext
42850 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42851 (eval $ac_compile) 2>conftest.er1
42852 ac_status=$?
42853 grep -v '^ *+' conftest.er1 >conftest.err
42854 rm -f conftest.er1
42855 cat conftest.err >&5
42856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42857 (exit $ac_status); } &&
42858 { ac_try='test -z "$ac_cxx_werror_flag"
42859 || test ! -s conftest.err'
42860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42861 (eval $ac_try) 2>&5
42862 ac_status=$?
42863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42864 (exit $ac_status); }; } &&
42865 { ac_try='test -s conftest.$ac_objext'
42866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42867 (eval $ac_try) 2>&5
42868 ac_status=$?
42869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42870 (exit $ac_status); }; }; then
42871 glibcxx_cv_func_copysignl_use=yes
42872 else
42873 echo "$as_me: failed program was:" >&5
42874 sed 's/^/| /' conftest.$ac_ext >&5
42875
42876 glibcxx_cv_func_copysignl_use=no
42877 fi
42878 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42879 ac_ext=c
42880 ac_cpp='$CPP $CPPFLAGS'
42881 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42882 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42883 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42884
42885
42886 fi
42887
42888 fi
42889 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysignl_use" >&5
42890 echo "${ECHO_T}$glibcxx_cv_func_copysignl_use" >&6
42891
42892 if test x$glibcxx_cv_func_copysignl_use = x"yes"; then
42893
42894 for ac_func in copysignl
42895 do
42896 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42897 echo "$as_me:$LINENO: checking for $ac_func" >&5
42898 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42899 if eval "test \"\${$as_ac_var+set}\" = set"; then
42900 echo $ECHO_N "(cached) $ECHO_C" >&6
42901 else
42902 if test x$gcc_no_link = xyes; then
42903 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42904 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42905 { (exit 1); exit 1; }; }
42906 fi
42907 cat >conftest.$ac_ext <<_ACEOF
42908 /* confdefs.h. */
42909 _ACEOF
42910 cat confdefs.h >>conftest.$ac_ext
42911 cat >>conftest.$ac_ext <<_ACEOF
42912 /* end confdefs.h. */
42913 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42914 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42915 #define $ac_func innocuous_$ac_func
42916
42917 /* System header to define __stub macros and hopefully few prototypes,
42918 which can conflict with char $ac_func (); below.
42919 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42920 <limits.h> exists even on freestanding compilers. */
42921
42922 #ifdef __STDC__
42923 # include <limits.h>
42924 #else
42925 # include <assert.h>
42926 #endif
42927
42928 #undef $ac_func
42929
42930 /* Override any gcc2 internal prototype to avoid an error. */
42931 #ifdef __cplusplus
42932 extern "C"
42933 {
42934 #endif
42935 /* We use char because int might match the return type of a gcc2
42936 builtin and then its argument prototype would still apply. */
42937 char $ac_func ();
42938 /* The GNU C library defines this for functions which it implements
42939 to always fail with ENOSYS. Some functions are actually named
42940 something starting with __ and the normal name is an alias. */
42941 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42942 choke me
42943 #else
42944 char (*f) () = $ac_func;
42945 #endif
42946 #ifdef __cplusplus
42947 }
42948 #endif
42949
42950 int
42951 main ()
42952 {
42953 return f != $ac_func;
42954 ;
42955 return 0;
42956 }
42957 _ACEOF
42958 rm -f conftest.$ac_objext conftest$ac_exeext
42959 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42960 (eval $ac_link) 2>conftest.er1
42961 ac_status=$?
42962 grep -v '^ *+' conftest.er1 >conftest.err
42963 rm -f conftest.er1
42964 cat conftest.err >&5
42965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42966 (exit $ac_status); } &&
42967 { ac_try='test -z "$ac_c_werror_flag"
42968 || test ! -s conftest.err'
42969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42970 (eval $ac_try) 2>&5
42971 ac_status=$?
42972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42973 (exit $ac_status); }; } &&
42974 { ac_try='test -s conftest$ac_exeext'
42975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42976 (eval $ac_try) 2>&5
42977 ac_status=$?
42978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42979 (exit $ac_status); }; }; then
42980 eval "$as_ac_var=yes"
42981 else
42982 echo "$as_me: failed program was:" >&5
42983 sed 's/^/| /' conftest.$ac_ext >&5
42984
42985 eval "$as_ac_var=no"
42986 fi
42987 rm -f conftest.err conftest.$ac_objext \
42988 conftest$ac_exeext conftest.$ac_ext
42989 fi
42990 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42991 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42992 if test `eval echo '${'$as_ac_var'}'` = yes; then
42993 cat >>confdefs.h <<_ACEOF
42994 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42995 _ACEOF
42996
42997 fi
42998 done
42999
43000 else
43001
43002 echo "$as_me:$LINENO: checking for _copysignl declaration" >&5
43003 echo $ECHO_N "checking for _copysignl declaration... $ECHO_C" >&6
43004 if test x${glibcxx_cv_func__copysignl_use+set} != xset; then
43005 if test "${glibcxx_cv_func__copysignl_use+set}" = set; then
43006 echo $ECHO_N "(cached) $ECHO_C" >&6
43007 else
43008
43009
43010
43011 ac_ext=cc
43012 ac_cpp='$CXXCPP $CPPFLAGS'
43013 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43014 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43015 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43016
43017 cat >conftest.$ac_ext <<_ACEOF
43018 /* confdefs.h. */
43019 _ACEOF
43020 cat confdefs.h >>conftest.$ac_ext
43021 cat >>conftest.$ac_ext <<_ACEOF
43022 /* end confdefs.h. */
43023 #include <math.h>
43024 int
43025 main ()
43026 {
43027 _copysignl(0, 0);
43028 ;
43029 return 0;
43030 }
43031 _ACEOF
43032 rm -f conftest.$ac_objext
43033 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43034 (eval $ac_compile) 2>conftest.er1
43035 ac_status=$?
43036 grep -v '^ *+' conftest.er1 >conftest.err
43037 rm -f conftest.er1
43038 cat conftest.err >&5
43039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43040 (exit $ac_status); } &&
43041 { ac_try='test -z "$ac_cxx_werror_flag"
43042 || test ! -s conftest.err'
43043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43044 (eval $ac_try) 2>&5
43045 ac_status=$?
43046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43047 (exit $ac_status); }; } &&
43048 { ac_try='test -s conftest.$ac_objext'
43049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43050 (eval $ac_try) 2>&5
43051 ac_status=$?
43052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43053 (exit $ac_status); }; }; then
43054 glibcxx_cv_func__copysignl_use=yes
43055 else
43056 echo "$as_me: failed program was:" >&5
43057 sed 's/^/| /' conftest.$ac_ext >&5
43058
43059 glibcxx_cv_func__copysignl_use=no
43060 fi
43061 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43062 ac_ext=c
43063 ac_cpp='$CPP $CPPFLAGS'
43064 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43065 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43066 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43067
43068
43069 fi
43070
43071 fi
43072 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysignl_use" >&5
43073 echo "${ECHO_T}$glibcxx_cv_func__copysignl_use" >&6
43074
43075 if test x$glibcxx_cv_func__copysignl_use = x"yes"; then
43076
43077 for ac_func in _copysignl
43078 do
43079 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43080 echo "$as_me:$LINENO: checking for $ac_func" >&5
43081 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43082 if eval "test \"\${$as_ac_var+set}\" = set"; then
43083 echo $ECHO_N "(cached) $ECHO_C" >&6
43084 else
43085 if test x$gcc_no_link = xyes; then
43086 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43087 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43088 { (exit 1); exit 1; }; }
43089 fi
43090 cat >conftest.$ac_ext <<_ACEOF
43091 /* confdefs.h. */
43092 _ACEOF
43093 cat confdefs.h >>conftest.$ac_ext
43094 cat >>conftest.$ac_ext <<_ACEOF
43095 /* end confdefs.h. */
43096 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43097 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43098 #define $ac_func innocuous_$ac_func
43099
43100 /* System header to define __stub macros and hopefully few prototypes,
43101 which can conflict with char $ac_func (); below.
43102 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43103 <limits.h> exists even on freestanding compilers. */
43104
43105 #ifdef __STDC__
43106 # include <limits.h>
43107 #else
43108 # include <assert.h>
43109 #endif
43110
43111 #undef $ac_func
43112
43113 /* Override any gcc2 internal prototype to avoid an error. */
43114 #ifdef __cplusplus
43115 extern "C"
43116 {
43117 #endif
43118 /* We use char because int might match the return type of a gcc2
43119 builtin and then its argument prototype would still apply. */
43120 char $ac_func ();
43121 /* The GNU C library defines this for functions which it implements
43122 to always fail with ENOSYS. Some functions are actually named
43123 something starting with __ and the normal name is an alias. */
43124 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43125 choke me
43126 #else
43127 char (*f) () = $ac_func;
43128 #endif
43129 #ifdef __cplusplus
43130 }
43131 #endif
43132
43133 int
43134 main ()
43135 {
43136 return f != $ac_func;
43137 ;
43138 return 0;
43139 }
43140 _ACEOF
43141 rm -f conftest.$ac_objext conftest$ac_exeext
43142 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43143 (eval $ac_link) 2>conftest.er1
43144 ac_status=$?
43145 grep -v '^ *+' conftest.er1 >conftest.err
43146 rm -f conftest.er1
43147 cat conftest.err >&5
43148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43149 (exit $ac_status); } &&
43150 { ac_try='test -z "$ac_c_werror_flag"
43151 || test ! -s conftest.err'
43152 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43153 (eval $ac_try) 2>&5
43154 ac_status=$?
43155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43156 (exit $ac_status); }; } &&
43157 { ac_try='test -s conftest$ac_exeext'
43158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43159 (eval $ac_try) 2>&5
43160 ac_status=$?
43161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43162 (exit $ac_status); }; }; then
43163 eval "$as_ac_var=yes"
43164 else
43165 echo "$as_me: failed program was:" >&5
43166 sed 's/^/| /' conftest.$ac_ext >&5
43167
43168 eval "$as_ac_var=no"
43169 fi
43170 rm -f conftest.err conftest.$ac_objext \
43171 conftest$ac_exeext conftest.$ac_ext
43172 fi
43173 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43174 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43175 if test `eval echo '${'$as_ac_var'}'` = yes; then
43176 cat >>confdefs.h <<_ACEOF
43177 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43178 _ACEOF
43179
43180 fi
43181 done
43182
43183 fi
43184 fi
43185
43186
43187
43188
43189
43190
43191 echo "$as_me:$LINENO: checking for atan2l declaration" >&5
43192 echo $ECHO_N "checking for atan2l declaration... $ECHO_C" >&6
43193 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
43194 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then
43195 echo $ECHO_N "(cached) $ECHO_C" >&6
43196 else
43197
43198
43199
43200 ac_ext=cc
43201 ac_cpp='$CXXCPP $CPPFLAGS'
43202 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43203 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43204 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43205
43206 cat >conftest.$ac_ext <<_ACEOF
43207 /* confdefs.h. */
43208 _ACEOF
43209 cat confdefs.h >>conftest.$ac_ext
43210 cat >>conftest.$ac_ext <<_ACEOF
43211 /* end confdefs.h. */
43212 #include <math.h>
43213 int
43214 main ()
43215 {
43216 atan2l(0, 0);
43217 ;
43218 return 0;
43219 }
43220 _ACEOF
43221 rm -f conftest.$ac_objext
43222 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43223 (eval $ac_compile) 2>conftest.er1
43224 ac_status=$?
43225 grep -v '^ *+' conftest.er1 >conftest.err
43226 rm -f conftest.er1
43227 cat conftest.err >&5
43228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43229 (exit $ac_status); } &&
43230 { ac_try='test -z "$ac_cxx_werror_flag"
43231 || test ! -s conftest.err'
43232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43233 (eval $ac_try) 2>&5
43234 ac_status=$?
43235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43236 (exit $ac_status); }; } &&
43237 { ac_try='test -s conftest.$ac_objext'
43238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43239 (eval $ac_try) 2>&5
43240 ac_status=$?
43241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43242 (exit $ac_status); }; }; then
43243 glibcxx_cv_func_atan2l_use=yes
43244 else
43245 echo "$as_me: failed program was:" >&5
43246 sed 's/^/| /' conftest.$ac_ext >&5
43247
43248 glibcxx_cv_func_atan2l_use=no
43249 fi
43250 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43251 ac_ext=c
43252 ac_cpp='$CPP $CPPFLAGS'
43253 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43254 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43255 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43256
43257
43258 fi
43259
43260 fi
43261 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2l_use" >&5
43262 echo "${ECHO_T}$glibcxx_cv_func_atan2l_use" >&6
43263
43264 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
43265
43266 for ac_func in atan2l
43267 do
43268 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43269 echo "$as_me:$LINENO: checking for $ac_func" >&5
43270 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43271 if eval "test \"\${$as_ac_var+set}\" = set"; then
43272 echo $ECHO_N "(cached) $ECHO_C" >&6
43273 else
43274 if test x$gcc_no_link = xyes; then
43275 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43276 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43277 { (exit 1); exit 1; }; }
43278 fi
43279 cat >conftest.$ac_ext <<_ACEOF
43280 /* confdefs.h. */
43281 _ACEOF
43282 cat confdefs.h >>conftest.$ac_ext
43283 cat >>conftest.$ac_ext <<_ACEOF
43284 /* end confdefs.h. */
43285 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43286 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43287 #define $ac_func innocuous_$ac_func
43288
43289 /* System header to define __stub macros and hopefully few prototypes,
43290 which can conflict with char $ac_func (); below.
43291 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43292 <limits.h> exists even on freestanding compilers. */
43293
43294 #ifdef __STDC__
43295 # include <limits.h>
43296 #else
43297 # include <assert.h>
43298 #endif
43299
43300 #undef $ac_func
43301
43302 /* Override any gcc2 internal prototype to avoid an error. */
43303 #ifdef __cplusplus
43304 extern "C"
43305 {
43306 #endif
43307 /* We use char because int might match the return type of a gcc2
43308 builtin and then its argument prototype would still apply. */
43309 char $ac_func ();
43310 /* The GNU C library defines this for functions which it implements
43311 to always fail with ENOSYS. Some functions are actually named
43312 something starting with __ and the normal name is an alias. */
43313 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43314 choke me
43315 #else
43316 char (*f) () = $ac_func;
43317 #endif
43318 #ifdef __cplusplus
43319 }
43320 #endif
43321
43322 int
43323 main ()
43324 {
43325 return f != $ac_func;
43326 ;
43327 return 0;
43328 }
43329 _ACEOF
43330 rm -f conftest.$ac_objext conftest$ac_exeext
43331 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43332 (eval $ac_link) 2>conftest.er1
43333 ac_status=$?
43334 grep -v '^ *+' conftest.er1 >conftest.err
43335 rm -f conftest.er1
43336 cat conftest.err >&5
43337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43338 (exit $ac_status); } &&
43339 { ac_try='test -z "$ac_c_werror_flag"
43340 || test ! -s conftest.err'
43341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43342 (eval $ac_try) 2>&5
43343 ac_status=$?
43344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43345 (exit $ac_status); }; } &&
43346 { ac_try='test -s conftest$ac_exeext'
43347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43348 (eval $ac_try) 2>&5
43349 ac_status=$?
43350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43351 (exit $ac_status); }; }; then
43352 eval "$as_ac_var=yes"
43353 else
43354 echo "$as_me: failed program was:" >&5
43355 sed 's/^/| /' conftest.$ac_ext >&5
43356
43357 eval "$as_ac_var=no"
43358 fi
43359 rm -f conftest.err conftest.$ac_objext \
43360 conftest$ac_exeext conftest.$ac_ext
43361 fi
43362 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43363 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43364 if test `eval echo '${'$as_ac_var'}'` = yes; then
43365 cat >>confdefs.h <<_ACEOF
43366 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43367 _ACEOF
43368
43369 fi
43370 done
43371
43372 else
43373
43374 echo "$as_me:$LINENO: checking for _atan2l declaration" >&5
43375 echo $ECHO_N "checking for _atan2l declaration... $ECHO_C" >&6
43376 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
43377 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then
43378 echo $ECHO_N "(cached) $ECHO_C" >&6
43379 else
43380
43381
43382
43383 ac_ext=cc
43384 ac_cpp='$CXXCPP $CPPFLAGS'
43385 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43386 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43387 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43388
43389 cat >conftest.$ac_ext <<_ACEOF
43390 /* confdefs.h. */
43391 _ACEOF
43392 cat confdefs.h >>conftest.$ac_ext
43393 cat >>conftest.$ac_ext <<_ACEOF
43394 /* end confdefs.h. */
43395 #include <math.h>
43396 int
43397 main ()
43398 {
43399 _atan2l(0, 0);
43400 ;
43401 return 0;
43402 }
43403 _ACEOF
43404 rm -f conftest.$ac_objext
43405 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43406 (eval $ac_compile) 2>conftest.er1
43407 ac_status=$?
43408 grep -v '^ *+' conftest.er1 >conftest.err
43409 rm -f conftest.er1
43410 cat conftest.err >&5
43411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43412 (exit $ac_status); } &&
43413 { ac_try='test -z "$ac_cxx_werror_flag"
43414 || test ! -s conftest.err'
43415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43416 (eval $ac_try) 2>&5
43417 ac_status=$?
43418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43419 (exit $ac_status); }; } &&
43420 { ac_try='test -s conftest.$ac_objext'
43421 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43422 (eval $ac_try) 2>&5
43423 ac_status=$?
43424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43425 (exit $ac_status); }; }; then
43426 glibcxx_cv_func__atan2l_use=yes
43427 else
43428 echo "$as_me: failed program was:" >&5
43429 sed 's/^/| /' conftest.$ac_ext >&5
43430
43431 glibcxx_cv_func__atan2l_use=no
43432 fi
43433 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43434 ac_ext=c
43435 ac_cpp='$CPP $CPPFLAGS'
43436 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43437 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43438 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43439
43440
43441 fi
43442
43443 fi
43444 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2l_use" >&5
43445 echo "${ECHO_T}$glibcxx_cv_func__atan2l_use" >&6
43446
43447 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
43448
43449 for ac_func in _atan2l
43450 do
43451 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43452 echo "$as_me:$LINENO: checking for $ac_func" >&5
43453 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43454 if eval "test \"\${$as_ac_var+set}\" = set"; then
43455 echo $ECHO_N "(cached) $ECHO_C" >&6
43456 else
43457 if test x$gcc_no_link = xyes; then
43458 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43459 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43460 { (exit 1); exit 1; }; }
43461 fi
43462 cat >conftest.$ac_ext <<_ACEOF
43463 /* confdefs.h. */
43464 _ACEOF
43465 cat confdefs.h >>conftest.$ac_ext
43466 cat >>conftest.$ac_ext <<_ACEOF
43467 /* end confdefs.h. */
43468 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43469 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43470 #define $ac_func innocuous_$ac_func
43471
43472 /* System header to define __stub macros and hopefully few prototypes,
43473 which can conflict with char $ac_func (); below.
43474 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43475 <limits.h> exists even on freestanding compilers. */
43476
43477 #ifdef __STDC__
43478 # include <limits.h>
43479 #else
43480 # include <assert.h>
43481 #endif
43482
43483 #undef $ac_func
43484
43485 /* Override any gcc2 internal prototype to avoid an error. */
43486 #ifdef __cplusplus
43487 extern "C"
43488 {
43489 #endif
43490 /* We use char because int might match the return type of a gcc2
43491 builtin and then its argument prototype would still apply. */
43492 char $ac_func ();
43493 /* The GNU C library defines this for functions which it implements
43494 to always fail with ENOSYS. Some functions are actually named
43495 something starting with __ and the normal name is an alias. */
43496 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43497 choke me
43498 #else
43499 char (*f) () = $ac_func;
43500 #endif
43501 #ifdef __cplusplus
43502 }
43503 #endif
43504
43505 int
43506 main ()
43507 {
43508 return f != $ac_func;
43509 ;
43510 return 0;
43511 }
43512 _ACEOF
43513 rm -f conftest.$ac_objext conftest$ac_exeext
43514 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43515 (eval $ac_link) 2>conftest.er1
43516 ac_status=$?
43517 grep -v '^ *+' conftest.er1 >conftest.err
43518 rm -f conftest.er1
43519 cat conftest.err >&5
43520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43521 (exit $ac_status); } &&
43522 { ac_try='test -z "$ac_c_werror_flag"
43523 || test ! -s conftest.err'
43524 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43525 (eval $ac_try) 2>&5
43526 ac_status=$?
43527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43528 (exit $ac_status); }; } &&
43529 { ac_try='test -s conftest$ac_exeext'
43530 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43531 (eval $ac_try) 2>&5
43532 ac_status=$?
43533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43534 (exit $ac_status); }; }; then
43535 eval "$as_ac_var=yes"
43536 else
43537 echo "$as_me: failed program was:" >&5
43538 sed 's/^/| /' conftest.$ac_ext >&5
43539
43540 eval "$as_ac_var=no"
43541 fi
43542 rm -f conftest.err conftest.$ac_objext \
43543 conftest$ac_exeext conftest.$ac_ext
43544 fi
43545 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43546 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43547 if test `eval echo '${'$as_ac_var'}'` = yes; then
43548 cat >>confdefs.h <<_ACEOF
43549 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43550 _ACEOF
43551
43552 fi
43553 done
43554
43555 fi
43556 fi
43557
43558
43559
43560
43561
43562
43563 echo "$as_me:$LINENO: checking for expl declaration" >&5
43564 echo $ECHO_N "checking for expl declaration... $ECHO_C" >&6
43565 if test x${glibcxx_cv_func_expl_use+set} != xset; then
43566 if test "${glibcxx_cv_func_expl_use+set}" = set; then
43567 echo $ECHO_N "(cached) $ECHO_C" >&6
43568 else
43569
43570
43571
43572 ac_ext=cc
43573 ac_cpp='$CXXCPP $CPPFLAGS'
43574 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43575 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43576 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43577
43578 cat >conftest.$ac_ext <<_ACEOF
43579 /* confdefs.h. */
43580 _ACEOF
43581 cat confdefs.h >>conftest.$ac_ext
43582 cat >>conftest.$ac_ext <<_ACEOF
43583 /* end confdefs.h. */
43584 #include <math.h>
43585 #ifdef HAVE_IEEEFP_H
43586 #include <ieeefp.h>
43587 #endif
43588
43589 int
43590 main ()
43591 {
43592 expl(0);
43593 ;
43594 return 0;
43595 }
43596 _ACEOF
43597 rm -f conftest.$ac_objext
43598 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43599 (eval $ac_compile) 2>conftest.er1
43600 ac_status=$?
43601 grep -v '^ *+' conftest.er1 >conftest.err
43602 rm -f conftest.er1
43603 cat conftest.err >&5
43604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43605 (exit $ac_status); } &&
43606 { ac_try='test -z "$ac_cxx_werror_flag"
43607 || test ! -s conftest.err'
43608 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43609 (eval $ac_try) 2>&5
43610 ac_status=$?
43611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43612 (exit $ac_status); }; } &&
43613 { ac_try='test -s conftest.$ac_objext'
43614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43615 (eval $ac_try) 2>&5
43616 ac_status=$?
43617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43618 (exit $ac_status); }; }; then
43619 glibcxx_cv_func_expl_use=yes
43620 else
43621 echo "$as_me: failed program was:" >&5
43622 sed 's/^/| /' conftest.$ac_ext >&5
43623
43624 glibcxx_cv_func_expl_use=no
43625 fi
43626 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43627 ac_ext=c
43628 ac_cpp='$CPP $CPPFLAGS'
43629 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43630 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43631 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43632
43633
43634 fi
43635
43636 fi
43637 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expl_use" >&5
43638 echo "${ECHO_T}$glibcxx_cv_func_expl_use" >&6
43639
43640 if test x$glibcxx_cv_func_expl_use = x"yes"; then
43641
43642 for ac_func in expl
43643 do
43644 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43645 echo "$as_me:$LINENO: checking for $ac_func" >&5
43646 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43647 if eval "test \"\${$as_ac_var+set}\" = set"; then
43648 echo $ECHO_N "(cached) $ECHO_C" >&6
43649 else
43650 if test x$gcc_no_link = xyes; then
43651 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43652 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43653 { (exit 1); exit 1; }; }
43654 fi
43655 cat >conftest.$ac_ext <<_ACEOF
43656 /* confdefs.h. */
43657 _ACEOF
43658 cat confdefs.h >>conftest.$ac_ext
43659 cat >>conftest.$ac_ext <<_ACEOF
43660 /* end confdefs.h. */
43661 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43662 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43663 #define $ac_func innocuous_$ac_func
43664
43665 /* System header to define __stub macros and hopefully few prototypes,
43666 which can conflict with char $ac_func (); below.
43667 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43668 <limits.h> exists even on freestanding compilers. */
43669
43670 #ifdef __STDC__
43671 # include <limits.h>
43672 #else
43673 # include <assert.h>
43674 #endif
43675
43676 #undef $ac_func
43677
43678 /* Override any gcc2 internal prototype to avoid an error. */
43679 #ifdef __cplusplus
43680 extern "C"
43681 {
43682 #endif
43683 /* We use char because int might match the return type of a gcc2
43684 builtin and then its argument prototype would still apply. */
43685 char $ac_func ();
43686 /* The GNU C library defines this for functions which it implements
43687 to always fail with ENOSYS. Some functions are actually named
43688 something starting with __ and the normal name is an alias. */
43689 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43690 choke me
43691 #else
43692 char (*f) () = $ac_func;
43693 #endif
43694 #ifdef __cplusplus
43695 }
43696 #endif
43697
43698 int
43699 main ()
43700 {
43701 return f != $ac_func;
43702 ;
43703 return 0;
43704 }
43705 _ACEOF
43706 rm -f conftest.$ac_objext conftest$ac_exeext
43707 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43708 (eval $ac_link) 2>conftest.er1
43709 ac_status=$?
43710 grep -v '^ *+' conftest.er1 >conftest.err
43711 rm -f conftest.er1
43712 cat conftest.err >&5
43713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43714 (exit $ac_status); } &&
43715 { ac_try='test -z "$ac_c_werror_flag"
43716 || test ! -s conftest.err'
43717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43718 (eval $ac_try) 2>&5
43719 ac_status=$?
43720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43721 (exit $ac_status); }; } &&
43722 { ac_try='test -s conftest$ac_exeext'
43723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43724 (eval $ac_try) 2>&5
43725 ac_status=$?
43726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43727 (exit $ac_status); }; }; then
43728 eval "$as_ac_var=yes"
43729 else
43730 echo "$as_me: failed program was:" >&5
43731 sed 's/^/| /' conftest.$ac_ext >&5
43732
43733 eval "$as_ac_var=no"
43734 fi
43735 rm -f conftest.err conftest.$ac_objext \
43736 conftest$ac_exeext conftest.$ac_ext
43737 fi
43738 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43739 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43740 if test `eval echo '${'$as_ac_var'}'` = yes; then
43741 cat >>confdefs.h <<_ACEOF
43742 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43743 _ACEOF
43744
43745 fi
43746 done
43747
43748 else
43749
43750 echo "$as_me:$LINENO: checking for _expl declaration" >&5
43751 echo $ECHO_N "checking for _expl declaration... $ECHO_C" >&6
43752 if test x${glibcxx_cv_func__expl_use+set} != xset; then
43753 if test "${glibcxx_cv_func__expl_use+set}" = set; then
43754 echo $ECHO_N "(cached) $ECHO_C" >&6
43755 else
43756
43757
43758
43759 ac_ext=cc
43760 ac_cpp='$CXXCPP $CPPFLAGS'
43761 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43762 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43763 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43764
43765 cat >conftest.$ac_ext <<_ACEOF
43766 /* confdefs.h. */
43767 _ACEOF
43768 cat confdefs.h >>conftest.$ac_ext
43769 cat >>conftest.$ac_ext <<_ACEOF
43770 /* end confdefs.h. */
43771 #include <math.h>
43772 #ifdef HAVE_IEEEFP_H
43773 #include <ieeefp.h>
43774 #endif
43775
43776 int
43777 main ()
43778 {
43779 _expl(0);
43780 ;
43781 return 0;
43782 }
43783 _ACEOF
43784 rm -f conftest.$ac_objext
43785 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43786 (eval $ac_compile) 2>conftest.er1
43787 ac_status=$?
43788 grep -v '^ *+' conftest.er1 >conftest.err
43789 rm -f conftest.er1
43790 cat conftest.err >&5
43791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43792 (exit $ac_status); } &&
43793 { ac_try='test -z "$ac_cxx_werror_flag"
43794 || test ! -s conftest.err'
43795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43796 (eval $ac_try) 2>&5
43797 ac_status=$?
43798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43799 (exit $ac_status); }; } &&
43800 { ac_try='test -s conftest.$ac_objext'
43801 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43802 (eval $ac_try) 2>&5
43803 ac_status=$?
43804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43805 (exit $ac_status); }; }; then
43806 glibcxx_cv_func__expl_use=yes
43807 else
43808 echo "$as_me: failed program was:" >&5
43809 sed 's/^/| /' conftest.$ac_ext >&5
43810
43811 glibcxx_cv_func__expl_use=no
43812 fi
43813 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43814 ac_ext=c
43815 ac_cpp='$CPP $CPPFLAGS'
43816 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43817 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43818 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43819
43820
43821 fi
43822
43823 fi
43824 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expl_use" >&5
43825 echo "${ECHO_T}$glibcxx_cv_func__expl_use" >&6
43826
43827 if test x$glibcxx_cv_func__expl_use = x"yes"; then
43828
43829 for ac_func in _expl
43830 do
43831 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43832 echo "$as_me:$LINENO: checking for $ac_func" >&5
43833 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43834 if eval "test \"\${$as_ac_var+set}\" = set"; then
43835 echo $ECHO_N "(cached) $ECHO_C" >&6
43836 else
43837 if test x$gcc_no_link = xyes; then
43838 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43839 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43840 { (exit 1); exit 1; }; }
43841 fi
43842 cat >conftest.$ac_ext <<_ACEOF
43843 /* confdefs.h. */
43844 _ACEOF
43845 cat confdefs.h >>conftest.$ac_ext
43846 cat >>conftest.$ac_ext <<_ACEOF
43847 /* end confdefs.h. */
43848 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43849 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43850 #define $ac_func innocuous_$ac_func
43851
43852 /* System header to define __stub macros and hopefully few prototypes,
43853 which can conflict with char $ac_func (); below.
43854 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43855 <limits.h> exists even on freestanding compilers. */
43856
43857 #ifdef __STDC__
43858 # include <limits.h>
43859 #else
43860 # include <assert.h>
43861 #endif
43862
43863 #undef $ac_func
43864
43865 /* Override any gcc2 internal prototype to avoid an error. */
43866 #ifdef __cplusplus
43867 extern "C"
43868 {
43869 #endif
43870 /* We use char because int might match the return type of a gcc2
43871 builtin and then its argument prototype would still apply. */
43872 char $ac_func ();
43873 /* The GNU C library defines this for functions which it implements
43874 to always fail with ENOSYS. Some functions are actually named
43875 something starting with __ and the normal name is an alias. */
43876 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43877 choke me
43878 #else
43879 char (*f) () = $ac_func;
43880 #endif
43881 #ifdef __cplusplus
43882 }
43883 #endif
43884
43885 int
43886 main ()
43887 {
43888 return f != $ac_func;
43889 ;
43890 return 0;
43891 }
43892 _ACEOF
43893 rm -f conftest.$ac_objext conftest$ac_exeext
43894 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43895 (eval $ac_link) 2>conftest.er1
43896 ac_status=$?
43897 grep -v '^ *+' conftest.er1 >conftest.err
43898 rm -f conftest.er1
43899 cat conftest.err >&5
43900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43901 (exit $ac_status); } &&
43902 { ac_try='test -z "$ac_c_werror_flag"
43903 || test ! -s conftest.err'
43904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43905 (eval $ac_try) 2>&5
43906 ac_status=$?
43907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43908 (exit $ac_status); }; } &&
43909 { ac_try='test -s conftest$ac_exeext'
43910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43911 (eval $ac_try) 2>&5
43912 ac_status=$?
43913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43914 (exit $ac_status); }; }; then
43915 eval "$as_ac_var=yes"
43916 else
43917 echo "$as_me: failed program was:" >&5
43918 sed 's/^/| /' conftest.$ac_ext >&5
43919
43920 eval "$as_ac_var=no"
43921 fi
43922 rm -f conftest.err conftest.$ac_objext \
43923 conftest$ac_exeext conftest.$ac_ext
43924 fi
43925 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43926 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43927 if test `eval echo '${'$as_ac_var'}'` = yes; then
43928 cat >>confdefs.h <<_ACEOF
43929 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43930 _ACEOF
43931
43932 fi
43933 done
43934
43935 fi
43936 fi
43937
43938
43939
43940
43941
43942
43943 echo "$as_me:$LINENO: checking for fabsl declaration" >&5
43944 echo $ECHO_N "checking for fabsl declaration... $ECHO_C" >&6
43945 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
43946 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then
43947 echo $ECHO_N "(cached) $ECHO_C" >&6
43948 else
43949
43950
43951
43952 ac_ext=cc
43953 ac_cpp='$CXXCPP $CPPFLAGS'
43954 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43955 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43956 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43957
43958 cat >conftest.$ac_ext <<_ACEOF
43959 /* confdefs.h. */
43960 _ACEOF
43961 cat confdefs.h >>conftest.$ac_ext
43962 cat >>conftest.$ac_ext <<_ACEOF
43963 /* end confdefs.h. */
43964 #include <math.h>
43965 #ifdef HAVE_IEEEFP_H
43966 #include <ieeefp.h>
43967 #endif
43968
43969 int
43970 main ()
43971 {
43972 fabsl(0);
43973 ;
43974 return 0;
43975 }
43976 _ACEOF
43977 rm -f conftest.$ac_objext
43978 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43979 (eval $ac_compile) 2>conftest.er1
43980 ac_status=$?
43981 grep -v '^ *+' conftest.er1 >conftest.err
43982 rm -f conftest.er1
43983 cat conftest.err >&5
43984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43985 (exit $ac_status); } &&
43986 { ac_try='test -z "$ac_cxx_werror_flag"
43987 || test ! -s conftest.err'
43988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43989 (eval $ac_try) 2>&5
43990 ac_status=$?
43991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43992 (exit $ac_status); }; } &&
43993 { ac_try='test -s conftest.$ac_objext'
43994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43995 (eval $ac_try) 2>&5
43996 ac_status=$?
43997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43998 (exit $ac_status); }; }; then
43999 glibcxx_cv_func_fabsl_use=yes
44000 else
44001 echo "$as_me: failed program was:" >&5
44002 sed 's/^/| /' conftest.$ac_ext >&5
44003
44004 glibcxx_cv_func_fabsl_use=no
44005 fi
44006 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44007 ac_ext=c
44008 ac_cpp='$CPP $CPPFLAGS'
44009 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44010 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44011 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44012
44013
44014 fi
44015
44016 fi
44017 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsl_use" >&5
44018 echo "${ECHO_T}$glibcxx_cv_func_fabsl_use" >&6
44019
44020 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
44021
44022 for ac_func in fabsl
44023 do
44024 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44025 echo "$as_me:$LINENO: checking for $ac_func" >&5
44026 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44027 if eval "test \"\${$as_ac_var+set}\" = set"; then
44028 echo $ECHO_N "(cached) $ECHO_C" >&6
44029 else
44030 if test x$gcc_no_link = xyes; then
44031 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44032 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44033 { (exit 1); exit 1; }; }
44034 fi
44035 cat >conftest.$ac_ext <<_ACEOF
44036 /* confdefs.h. */
44037 _ACEOF
44038 cat confdefs.h >>conftest.$ac_ext
44039 cat >>conftest.$ac_ext <<_ACEOF
44040 /* end confdefs.h. */
44041 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44042 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44043 #define $ac_func innocuous_$ac_func
44044
44045 /* System header to define __stub macros and hopefully few prototypes,
44046 which can conflict with char $ac_func (); below.
44047 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44048 <limits.h> exists even on freestanding compilers. */
44049
44050 #ifdef __STDC__
44051 # include <limits.h>
44052 #else
44053 # include <assert.h>
44054 #endif
44055
44056 #undef $ac_func
44057
44058 /* Override any gcc2 internal prototype to avoid an error. */
44059 #ifdef __cplusplus
44060 extern "C"
44061 {
44062 #endif
44063 /* We use char because int might match the return type of a gcc2
44064 builtin and then its argument prototype would still apply. */
44065 char $ac_func ();
44066 /* The GNU C library defines this for functions which it implements
44067 to always fail with ENOSYS. Some functions are actually named
44068 something starting with __ and the normal name is an alias. */
44069 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44070 choke me
44071 #else
44072 char (*f) () = $ac_func;
44073 #endif
44074 #ifdef __cplusplus
44075 }
44076 #endif
44077
44078 int
44079 main ()
44080 {
44081 return f != $ac_func;
44082 ;
44083 return 0;
44084 }
44085 _ACEOF
44086 rm -f conftest.$ac_objext conftest$ac_exeext
44087 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44088 (eval $ac_link) 2>conftest.er1
44089 ac_status=$?
44090 grep -v '^ *+' conftest.er1 >conftest.err
44091 rm -f conftest.er1
44092 cat conftest.err >&5
44093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44094 (exit $ac_status); } &&
44095 { ac_try='test -z "$ac_c_werror_flag"
44096 || test ! -s conftest.err'
44097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44098 (eval $ac_try) 2>&5
44099 ac_status=$?
44100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44101 (exit $ac_status); }; } &&
44102 { ac_try='test -s conftest$ac_exeext'
44103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44104 (eval $ac_try) 2>&5
44105 ac_status=$?
44106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44107 (exit $ac_status); }; }; then
44108 eval "$as_ac_var=yes"
44109 else
44110 echo "$as_me: failed program was:" >&5
44111 sed 's/^/| /' conftest.$ac_ext >&5
44112
44113 eval "$as_ac_var=no"
44114 fi
44115 rm -f conftest.err conftest.$ac_objext \
44116 conftest$ac_exeext conftest.$ac_ext
44117 fi
44118 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44119 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44120 if test `eval echo '${'$as_ac_var'}'` = yes; then
44121 cat >>confdefs.h <<_ACEOF
44122 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44123 _ACEOF
44124
44125 fi
44126 done
44127
44128 else
44129
44130 echo "$as_me:$LINENO: checking for _fabsl declaration" >&5
44131 echo $ECHO_N "checking for _fabsl declaration... $ECHO_C" >&6
44132 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
44133 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then
44134 echo $ECHO_N "(cached) $ECHO_C" >&6
44135 else
44136
44137
44138
44139 ac_ext=cc
44140 ac_cpp='$CXXCPP $CPPFLAGS'
44141 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44142 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44143 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44144
44145 cat >conftest.$ac_ext <<_ACEOF
44146 /* confdefs.h. */
44147 _ACEOF
44148 cat confdefs.h >>conftest.$ac_ext
44149 cat >>conftest.$ac_ext <<_ACEOF
44150 /* end confdefs.h. */
44151 #include <math.h>
44152 #ifdef HAVE_IEEEFP_H
44153 #include <ieeefp.h>
44154 #endif
44155
44156 int
44157 main ()
44158 {
44159 _fabsl(0);
44160 ;
44161 return 0;
44162 }
44163 _ACEOF
44164 rm -f conftest.$ac_objext
44165 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44166 (eval $ac_compile) 2>conftest.er1
44167 ac_status=$?
44168 grep -v '^ *+' conftest.er1 >conftest.err
44169 rm -f conftest.er1
44170 cat conftest.err >&5
44171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44172 (exit $ac_status); } &&
44173 { ac_try='test -z "$ac_cxx_werror_flag"
44174 || test ! -s conftest.err'
44175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44176 (eval $ac_try) 2>&5
44177 ac_status=$?
44178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44179 (exit $ac_status); }; } &&
44180 { ac_try='test -s conftest.$ac_objext'
44181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44182 (eval $ac_try) 2>&5
44183 ac_status=$?
44184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44185 (exit $ac_status); }; }; then
44186 glibcxx_cv_func__fabsl_use=yes
44187 else
44188 echo "$as_me: failed program was:" >&5
44189 sed 's/^/| /' conftest.$ac_ext >&5
44190
44191 glibcxx_cv_func__fabsl_use=no
44192 fi
44193 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44194 ac_ext=c
44195 ac_cpp='$CPP $CPPFLAGS'
44196 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44197 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44198 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44199
44200
44201 fi
44202
44203 fi
44204 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsl_use" >&5
44205 echo "${ECHO_T}$glibcxx_cv_func__fabsl_use" >&6
44206
44207 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
44208
44209 for ac_func in _fabsl
44210 do
44211 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44212 echo "$as_me:$LINENO: checking for $ac_func" >&5
44213 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44214 if eval "test \"\${$as_ac_var+set}\" = set"; then
44215 echo $ECHO_N "(cached) $ECHO_C" >&6
44216 else
44217 if test x$gcc_no_link = xyes; then
44218 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44219 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44220 { (exit 1); exit 1; }; }
44221 fi
44222 cat >conftest.$ac_ext <<_ACEOF
44223 /* confdefs.h. */
44224 _ACEOF
44225 cat confdefs.h >>conftest.$ac_ext
44226 cat >>conftest.$ac_ext <<_ACEOF
44227 /* end confdefs.h. */
44228 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44229 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44230 #define $ac_func innocuous_$ac_func
44231
44232 /* System header to define __stub macros and hopefully few prototypes,
44233 which can conflict with char $ac_func (); below.
44234 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44235 <limits.h> exists even on freestanding compilers. */
44236
44237 #ifdef __STDC__
44238 # include <limits.h>
44239 #else
44240 # include <assert.h>
44241 #endif
44242
44243 #undef $ac_func
44244
44245 /* Override any gcc2 internal prototype to avoid an error. */
44246 #ifdef __cplusplus
44247 extern "C"
44248 {
44249 #endif
44250 /* We use char because int might match the return type of a gcc2
44251 builtin and then its argument prototype would still apply. */
44252 char $ac_func ();
44253 /* The GNU C library defines this for functions which it implements
44254 to always fail with ENOSYS. Some functions are actually named
44255 something starting with __ and the normal name is an alias. */
44256 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44257 choke me
44258 #else
44259 char (*f) () = $ac_func;
44260 #endif
44261 #ifdef __cplusplus
44262 }
44263 #endif
44264
44265 int
44266 main ()
44267 {
44268 return f != $ac_func;
44269 ;
44270 return 0;
44271 }
44272 _ACEOF
44273 rm -f conftest.$ac_objext conftest$ac_exeext
44274 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44275 (eval $ac_link) 2>conftest.er1
44276 ac_status=$?
44277 grep -v '^ *+' conftest.er1 >conftest.err
44278 rm -f conftest.er1
44279 cat conftest.err >&5
44280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44281 (exit $ac_status); } &&
44282 { ac_try='test -z "$ac_c_werror_flag"
44283 || test ! -s conftest.err'
44284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44285 (eval $ac_try) 2>&5
44286 ac_status=$?
44287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44288 (exit $ac_status); }; } &&
44289 { ac_try='test -s conftest$ac_exeext'
44290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44291 (eval $ac_try) 2>&5
44292 ac_status=$?
44293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44294 (exit $ac_status); }; }; then
44295 eval "$as_ac_var=yes"
44296 else
44297 echo "$as_me: failed program was:" >&5
44298 sed 's/^/| /' conftest.$ac_ext >&5
44299
44300 eval "$as_ac_var=no"
44301 fi
44302 rm -f conftest.err conftest.$ac_objext \
44303 conftest$ac_exeext conftest.$ac_ext
44304 fi
44305 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44306 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44307 if test `eval echo '${'$as_ac_var'}'` = yes; then
44308 cat >>confdefs.h <<_ACEOF
44309 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44310 _ACEOF
44311
44312 fi
44313 done
44314
44315 fi
44316 fi
44317
44318
44319
44320
44321
44322
44323 echo "$as_me:$LINENO: checking for fmodl declaration" >&5
44324 echo $ECHO_N "checking for fmodl declaration... $ECHO_C" >&6
44325 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
44326 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then
44327 echo $ECHO_N "(cached) $ECHO_C" >&6
44328 else
44329
44330
44331
44332 ac_ext=cc
44333 ac_cpp='$CXXCPP $CPPFLAGS'
44334 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44335 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44336 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44337
44338 cat >conftest.$ac_ext <<_ACEOF
44339 /* confdefs.h. */
44340 _ACEOF
44341 cat confdefs.h >>conftest.$ac_ext
44342 cat >>conftest.$ac_ext <<_ACEOF
44343 /* end confdefs.h. */
44344 #include <math.h>
44345 int
44346 main ()
44347 {
44348 fmodl(0, 0);
44349 ;
44350 return 0;
44351 }
44352 _ACEOF
44353 rm -f conftest.$ac_objext
44354 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44355 (eval $ac_compile) 2>conftest.er1
44356 ac_status=$?
44357 grep -v '^ *+' conftest.er1 >conftest.err
44358 rm -f conftest.er1
44359 cat conftest.err >&5
44360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44361 (exit $ac_status); } &&
44362 { ac_try='test -z "$ac_cxx_werror_flag"
44363 || test ! -s conftest.err'
44364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44365 (eval $ac_try) 2>&5
44366 ac_status=$?
44367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44368 (exit $ac_status); }; } &&
44369 { ac_try='test -s conftest.$ac_objext'
44370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44371 (eval $ac_try) 2>&5
44372 ac_status=$?
44373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44374 (exit $ac_status); }; }; then
44375 glibcxx_cv_func_fmodl_use=yes
44376 else
44377 echo "$as_me: failed program was:" >&5
44378 sed 's/^/| /' conftest.$ac_ext >&5
44379
44380 glibcxx_cv_func_fmodl_use=no
44381 fi
44382 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44383 ac_ext=c
44384 ac_cpp='$CPP $CPPFLAGS'
44385 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44386 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44387 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44388
44389
44390 fi
44391
44392 fi
44393 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodl_use" >&5
44394 echo "${ECHO_T}$glibcxx_cv_func_fmodl_use" >&6
44395
44396 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
44397
44398 for ac_func in fmodl
44399 do
44400 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44401 echo "$as_me:$LINENO: checking for $ac_func" >&5
44402 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44403 if eval "test \"\${$as_ac_var+set}\" = set"; then
44404 echo $ECHO_N "(cached) $ECHO_C" >&6
44405 else
44406 if test x$gcc_no_link = xyes; then
44407 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44408 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44409 { (exit 1); exit 1; }; }
44410 fi
44411 cat >conftest.$ac_ext <<_ACEOF
44412 /* confdefs.h. */
44413 _ACEOF
44414 cat confdefs.h >>conftest.$ac_ext
44415 cat >>conftest.$ac_ext <<_ACEOF
44416 /* end confdefs.h. */
44417 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44418 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44419 #define $ac_func innocuous_$ac_func
44420
44421 /* System header to define __stub macros and hopefully few prototypes,
44422 which can conflict with char $ac_func (); below.
44423 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44424 <limits.h> exists even on freestanding compilers. */
44425
44426 #ifdef __STDC__
44427 # include <limits.h>
44428 #else
44429 # include <assert.h>
44430 #endif
44431
44432 #undef $ac_func
44433
44434 /* Override any gcc2 internal prototype to avoid an error. */
44435 #ifdef __cplusplus
44436 extern "C"
44437 {
44438 #endif
44439 /* We use char because int might match the return type of a gcc2
44440 builtin and then its argument prototype would still apply. */
44441 char $ac_func ();
44442 /* The GNU C library defines this for functions which it implements
44443 to always fail with ENOSYS. Some functions are actually named
44444 something starting with __ and the normal name is an alias. */
44445 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44446 choke me
44447 #else
44448 char (*f) () = $ac_func;
44449 #endif
44450 #ifdef __cplusplus
44451 }
44452 #endif
44453
44454 int
44455 main ()
44456 {
44457 return f != $ac_func;
44458 ;
44459 return 0;
44460 }
44461 _ACEOF
44462 rm -f conftest.$ac_objext conftest$ac_exeext
44463 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44464 (eval $ac_link) 2>conftest.er1
44465 ac_status=$?
44466 grep -v '^ *+' conftest.er1 >conftest.err
44467 rm -f conftest.er1
44468 cat conftest.err >&5
44469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44470 (exit $ac_status); } &&
44471 { ac_try='test -z "$ac_c_werror_flag"
44472 || test ! -s conftest.err'
44473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44474 (eval $ac_try) 2>&5
44475 ac_status=$?
44476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44477 (exit $ac_status); }; } &&
44478 { ac_try='test -s conftest$ac_exeext'
44479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44480 (eval $ac_try) 2>&5
44481 ac_status=$?
44482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44483 (exit $ac_status); }; }; then
44484 eval "$as_ac_var=yes"
44485 else
44486 echo "$as_me: failed program was:" >&5
44487 sed 's/^/| /' conftest.$ac_ext >&5
44488
44489 eval "$as_ac_var=no"
44490 fi
44491 rm -f conftest.err conftest.$ac_objext \
44492 conftest$ac_exeext conftest.$ac_ext
44493 fi
44494 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44495 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44496 if test `eval echo '${'$as_ac_var'}'` = yes; then
44497 cat >>confdefs.h <<_ACEOF
44498 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44499 _ACEOF
44500
44501 fi
44502 done
44503
44504 else
44505
44506 echo "$as_me:$LINENO: checking for _fmodl declaration" >&5
44507 echo $ECHO_N "checking for _fmodl declaration... $ECHO_C" >&6
44508 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
44509 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then
44510 echo $ECHO_N "(cached) $ECHO_C" >&6
44511 else
44512
44513
44514
44515 ac_ext=cc
44516 ac_cpp='$CXXCPP $CPPFLAGS'
44517 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44518 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44519 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44520
44521 cat >conftest.$ac_ext <<_ACEOF
44522 /* confdefs.h. */
44523 _ACEOF
44524 cat confdefs.h >>conftest.$ac_ext
44525 cat >>conftest.$ac_ext <<_ACEOF
44526 /* end confdefs.h. */
44527 #include <math.h>
44528 int
44529 main ()
44530 {
44531 _fmodl(0, 0);
44532 ;
44533 return 0;
44534 }
44535 _ACEOF
44536 rm -f conftest.$ac_objext
44537 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44538 (eval $ac_compile) 2>conftest.er1
44539 ac_status=$?
44540 grep -v '^ *+' conftest.er1 >conftest.err
44541 rm -f conftest.er1
44542 cat conftest.err >&5
44543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44544 (exit $ac_status); } &&
44545 { ac_try='test -z "$ac_cxx_werror_flag"
44546 || test ! -s conftest.err'
44547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44548 (eval $ac_try) 2>&5
44549 ac_status=$?
44550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44551 (exit $ac_status); }; } &&
44552 { ac_try='test -s conftest.$ac_objext'
44553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44554 (eval $ac_try) 2>&5
44555 ac_status=$?
44556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44557 (exit $ac_status); }; }; then
44558 glibcxx_cv_func__fmodl_use=yes
44559 else
44560 echo "$as_me: failed program was:" >&5
44561 sed 's/^/| /' conftest.$ac_ext >&5
44562
44563 glibcxx_cv_func__fmodl_use=no
44564 fi
44565 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44566 ac_ext=c
44567 ac_cpp='$CPP $CPPFLAGS'
44568 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44569 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44570 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44571
44572
44573 fi
44574
44575 fi
44576 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodl_use" >&5
44577 echo "${ECHO_T}$glibcxx_cv_func__fmodl_use" >&6
44578
44579 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
44580
44581 for ac_func in _fmodl
44582 do
44583 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44584 echo "$as_me:$LINENO: checking for $ac_func" >&5
44585 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44586 if eval "test \"\${$as_ac_var+set}\" = set"; then
44587 echo $ECHO_N "(cached) $ECHO_C" >&6
44588 else
44589 if test x$gcc_no_link = xyes; then
44590 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44591 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44592 { (exit 1); exit 1; }; }
44593 fi
44594 cat >conftest.$ac_ext <<_ACEOF
44595 /* confdefs.h. */
44596 _ACEOF
44597 cat confdefs.h >>conftest.$ac_ext
44598 cat >>conftest.$ac_ext <<_ACEOF
44599 /* end confdefs.h. */
44600 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44601 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44602 #define $ac_func innocuous_$ac_func
44603
44604 /* System header to define __stub macros and hopefully few prototypes,
44605 which can conflict with char $ac_func (); below.
44606 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44607 <limits.h> exists even on freestanding compilers. */
44608
44609 #ifdef __STDC__
44610 # include <limits.h>
44611 #else
44612 # include <assert.h>
44613 #endif
44614
44615 #undef $ac_func
44616
44617 /* Override any gcc2 internal prototype to avoid an error. */
44618 #ifdef __cplusplus
44619 extern "C"
44620 {
44621 #endif
44622 /* We use char because int might match the return type of a gcc2
44623 builtin and then its argument prototype would still apply. */
44624 char $ac_func ();
44625 /* The GNU C library defines this for functions which it implements
44626 to always fail with ENOSYS. Some functions are actually named
44627 something starting with __ and the normal name is an alias. */
44628 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44629 choke me
44630 #else
44631 char (*f) () = $ac_func;
44632 #endif
44633 #ifdef __cplusplus
44634 }
44635 #endif
44636
44637 int
44638 main ()
44639 {
44640 return f != $ac_func;
44641 ;
44642 return 0;
44643 }
44644 _ACEOF
44645 rm -f conftest.$ac_objext conftest$ac_exeext
44646 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44647 (eval $ac_link) 2>conftest.er1
44648 ac_status=$?
44649 grep -v '^ *+' conftest.er1 >conftest.err
44650 rm -f conftest.er1
44651 cat conftest.err >&5
44652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44653 (exit $ac_status); } &&
44654 { ac_try='test -z "$ac_c_werror_flag"
44655 || test ! -s conftest.err'
44656 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44657 (eval $ac_try) 2>&5
44658 ac_status=$?
44659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44660 (exit $ac_status); }; } &&
44661 { ac_try='test -s conftest$ac_exeext'
44662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44663 (eval $ac_try) 2>&5
44664 ac_status=$?
44665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44666 (exit $ac_status); }; }; then
44667 eval "$as_ac_var=yes"
44668 else
44669 echo "$as_me: failed program was:" >&5
44670 sed 's/^/| /' conftest.$ac_ext >&5
44671
44672 eval "$as_ac_var=no"
44673 fi
44674 rm -f conftest.err conftest.$ac_objext \
44675 conftest$ac_exeext conftest.$ac_ext
44676 fi
44677 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44678 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44679 if test `eval echo '${'$as_ac_var'}'` = yes; then
44680 cat >>confdefs.h <<_ACEOF
44681 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44682 _ACEOF
44683
44684 fi
44685 done
44686
44687 fi
44688 fi
44689
44690
44691
44692
44693
44694
44695 echo "$as_me:$LINENO: checking for frexpl declaration" >&5
44696 echo $ECHO_N "checking for frexpl declaration... $ECHO_C" >&6
44697 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
44698 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then
44699 echo $ECHO_N "(cached) $ECHO_C" >&6
44700 else
44701
44702
44703
44704 ac_ext=cc
44705 ac_cpp='$CXXCPP $CPPFLAGS'
44706 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44707 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44708 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44709
44710 cat >conftest.$ac_ext <<_ACEOF
44711 /* confdefs.h. */
44712 _ACEOF
44713 cat confdefs.h >>conftest.$ac_ext
44714 cat >>conftest.$ac_ext <<_ACEOF
44715 /* end confdefs.h. */
44716 #include <math.h>
44717 int
44718 main ()
44719 {
44720 frexpl(0, 0);
44721 ;
44722 return 0;
44723 }
44724 _ACEOF
44725 rm -f conftest.$ac_objext
44726 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44727 (eval $ac_compile) 2>conftest.er1
44728 ac_status=$?
44729 grep -v '^ *+' conftest.er1 >conftest.err
44730 rm -f conftest.er1
44731 cat conftest.err >&5
44732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44733 (exit $ac_status); } &&
44734 { ac_try='test -z "$ac_cxx_werror_flag"
44735 || test ! -s conftest.err'
44736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44737 (eval $ac_try) 2>&5
44738 ac_status=$?
44739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44740 (exit $ac_status); }; } &&
44741 { ac_try='test -s conftest.$ac_objext'
44742 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44743 (eval $ac_try) 2>&5
44744 ac_status=$?
44745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44746 (exit $ac_status); }; }; then
44747 glibcxx_cv_func_frexpl_use=yes
44748 else
44749 echo "$as_me: failed program was:" >&5
44750 sed 's/^/| /' conftest.$ac_ext >&5
44751
44752 glibcxx_cv_func_frexpl_use=no
44753 fi
44754 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44755 ac_ext=c
44756 ac_cpp='$CPP $CPPFLAGS'
44757 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44758 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44759 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44760
44761
44762 fi
44763
44764 fi
44765 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpl_use" >&5
44766 echo "${ECHO_T}$glibcxx_cv_func_frexpl_use" >&6
44767
44768 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
44769
44770 for ac_func in frexpl
44771 do
44772 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44773 echo "$as_me:$LINENO: checking for $ac_func" >&5
44774 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44775 if eval "test \"\${$as_ac_var+set}\" = set"; then
44776 echo $ECHO_N "(cached) $ECHO_C" >&6
44777 else
44778 if test x$gcc_no_link = xyes; then
44779 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44780 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44781 { (exit 1); exit 1; }; }
44782 fi
44783 cat >conftest.$ac_ext <<_ACEOF
44784 /* confdefs.h. */
44785 _ACEOF
44786 cat confdefs.h >>conftest.$ac_ext
44787 cat >>conftest.$ac_ext <<_ACEOF
44788 /* end confdefs.h. */
44789 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44790 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44791 #define $ac_func innocuous_$ac_func
44792
44793 /* System header to define __stub macros and hopefully few prototypes,
44794 which can conflict with char $ac_func (); below.
44795 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44796 <limits.h> exists even on freestanding compilers. */
44797
44798 #ifdef __STDC__
44799 # include <limits.h>
44800 #else
44801 # include <assert.h>
44802 #endif
44803
44804 #undef $ac_func
44805
44806 /* Override any gcc2 internal prototype to avoid an error. */
44807 #ifdef __cplusplus
44808 extern "C"
44809 {
44810 #endif
44811 /* We use char because int might match the return type of a gcc2
44812 builtin and then its argument prototype would still apply. */
44813 char $ac_func ();
44814 /* The GNU C library defines this for functions which it implements
44815 to always fail with ENOSYS. Some functions are actually named
44816 something starting with __ and the normal name is an alias. */
44817 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44818 choke me
44819 #else
44820 char (*f) () = $ac_func;
44821 #endif
44822 #ifdef __cplusplus
44823 }
44824 #endif
44825
44826 int
44827 main ()
44828 {
44829 return f != $ac_func;
44830 ;
44831 return 0;
44832 }
44833 _ACEOF
44834 rm -f conftest.$ac_objext conftest$ac_exeext
44835 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44836 (eval $ac_link) 2>conftest.er1
44837 ac_status=$?
44838 grep -v '^ *+' conftest.er1 >conftest.err
44839 rm -f conftest.er1
44840 cat conftest.err >&5
44841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44842 (exit $ac_status); } &&
44843 { ac_try='test -z "$ac_c_werror_flag"
44844 || test ! -s conftest.err'
44845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44846 (eval $ac_try) 2>&5
44847 ac_status=$?
44848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44849 (exit $ac_status); }; } &&
44850 { ac_try='test -s conftest$ac_exeext'
44851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44852 (eval $ac_try) 2>&5
44853 ac_status=$?
44854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44855 (exit $ac_status); }; }; then
44856 eval "$as_ac_var=yes"
44857 else
44858 echo "$as_me: failed program was:" >&5
44859 sed 's/^/| /' conftest.$ac_ext >&5
44860
44861 eval "$as_ac_var=no"
44862 fi
44863 rm -f conftest.err conftest.$ac_objext \
44864 conftest$ac_exeext conftest.$ac_ext
44865 fi
44866 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44867 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44868 if test `eval echo '${'$as_ac_var'}'` = yes; then
44869 cat >>confdefs.h <<_ACEOF
44870 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44871 _ACEOF
44872
44873 fi
44874 done
44875
44876 else
44877
44878 echo "$as_me:$LINENO: checking for _frexpl declaration" >&5
44879 echo $ECHO_N "checking for _frexpl declaration... $ECHO_C" >&6
44880 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
44881 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then
44882 echo $ECHO_N "(cached) $ECHO_C" >&6
44883 else
44884
44885
44886
44887 ac_ext=cc
44888 ac_cpp='$CXXCPP $CPPFLAGS'
44889 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44890 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44891 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44892
44893 cat >conftest.$ac_ext <<_ACEOF
44894 /* confdefs.h. */
44895 _ACEOF
44896 cat confdefs.h >>conftest.$ac_ext
44897 cat >>conftest.$ac_ext <<_ACEOF
44898 /* end confdefs.h. */
44899 #include <math.h>
44900 int
44901 main ()
44902 {
44903 _frexpl(0, 0);
44904 ;
44905 return 0;
44906 }
44907 _ACEOF
44908 rm -f conftest.$ac_objext
44909 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44910 (eval $ac_compile) 2>conftest.er1
44911 ac_status=$?
44912 grep -v '^ *+' conftest.er1 >conftest.err
44913 rm -f conftest.er1
44914 cat conftest.err >&5
44915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44916 (exit $ac_status); } &&
44917 { ac_try='test -z "$ac_cxx_werror_flag"
44918 || test ! -s conftest.err'
44919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44920 (eval $ac_try) 2>&5
44921 ac_status=$?
44922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44923 (exit $ac_status); }; } &&
44924 { ac_try='test -s conftest.$ac_objext'
44925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44926 (eval $ac_try) 2>&5
44927 ac_status=$?
44928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44929 (exit $ac_status); }; }; then
44930 glibcxx_cv_func__frexpl_use=yes
44931 else
44932 echo "$as_me: failed program was:" >&5
44933 sed 's/^/| /' conftest.$ac_ext >&5
44934
44935 glibcxx_cv_func__frexpl_use=no
44936 fi
44937 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44938 ac_ext=c
44939 ac_cpp='$CPP $CPPFLAGS'
44940 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44941 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44942 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44943
44944
44945 fi
44946
44947 fi
44948 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpl_use" >&5
44949 echo "${ECHO_T}$glibcxx_cv_func__frexpl_use" >&6
44950
44951 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
44952
44953 for ac_func in _frexpl
44954 do
44955 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44956 echo "$as_me:$LINENO: checking for $ac_func" >&5
44957 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44958 if eval "test \"\${$as_ac_var+set}\" = set"; then
44959 echo $ECHO_N "(cached) $ECHO_C" >&6
44960 else
44961 if test x$gcc_no_link = xyes; then
44962 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44963 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44964 { (exit 1); exit 1; }; }
44965 fi
44966 cat >conftest.$ac_ext <<_ACEOF
44967 /* confdefs.h. */
44968 _ACEOF
44969 cat confdefs.h >>conftest.$ac_ext
44970 cat >>conftest.$ac_ext <<_ACEOF
44971 /* end confdefs.h. */
44972 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44973 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44974 #define $ac_func innocuous_$ac_func
44975
44976 /* System header to define __stub macros and hopefully few prototypes,
44977 which can conflict with char $ac_func (); below.
44978 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44979 <limits.h> exists even on freestanding compilers. */
44980
44981 #ifdef __STDC__
44982 # include <limits.h>
44983 #else
44984 # include <assert.h>
44985 #endif
44986
44987 #undef $ac_func
44988
44989 /* Override any gcc2 internal prototype to avoid an error. */
44990 #ifdef __cplusplus
44991 extern "C"
44992 {
44993 #endif
44994 /* We use char because int might match the return type of a gcc2
44995 builtin and then its argument prototype would still apply. */
44996 char $ac_func ();
44997 /* The GNU C library defines this for functions which it implements
44998 to always fail with ENOSYS. Some functions are actually named
44999 something starting with __ and the normal name is an alias. */
45000 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45001 choke me
45002 #else
45003 char (*f) () = $ac_func;
45004 #endif
45005 #ifdef __cplusplus
45006 }
45007 #endif
45008
45009 int
45010 main ()
45011 {
45012 return f != $ac_func;
45013 ;
45014 return 0;
45015 }
45016 _ACEOF
45017 rm -f conftest.$ac_objext conftest$ac_exeext
45018 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45019 (eval $ac_link) 2>conftest.er1
45020 ac_status=$?
45021 grep -v '^ *+' conftest.er1 >conftest.err
45022 rm -f conftest.er1
45023 cat conftest.err >&5
45024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45025 (exit $ac_status); } &&
45026 { ac_try='test -z "$ac_c_werror_flag"
45027 || test ! -s conftest.err'
45028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45029 (eval $ac_try) 2>&5
45030 ac_status=$?
45031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45032 (exit $ac_status); }; } &&
45033 { ac_try='test -s conftest$ac_exeext'
45034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45035 (eval $ac_try) 2>&5
45036 ac_status=$?
45037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45038 (exit $ac_status); }; }; then
45039 eval "$as_ac_var=yes"
45040 else
45041 echo "$as_me: failed program was:" >&5
45042 sed 's/^/| /' conftest.$ac_ext >&5
45043
45044 eval "$as_ac_var=no"
45045 fi
45046 rm -f conftest.err conftest.$ac_objext \
45047 conftest$ac_exeext conftest.$ac_ext
45048 fi
45049 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45050 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45051 if test `eval echo '${'$as_ac_var'}'` = yes; then
45052 cat >>confdefs.h <<_ACEOF
45053 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45054 _ACEOF
45055
45056 fi
45057 done
45058
45059 fi
45060 fi
45061
45062
45063
45064
45065
45066
45067 echo "$as_me:$LINENO: checking for hypotl declaration" >&5
45068 echo $ECHO_N "checking for hypotl declaration... $ECHO_C" >&6
45069 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
45070 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then
45071 echo $ECHO_N "(cached) $ECHO_C" >&6
45072 else
45073
45074
45075
45076 ac_ext=cc
45077 ac_cpp='$CXXCPP $CPPFLAGS'
45078 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45079 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45080 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45081
45082 cat >conftest.$ac_ext <<_ACEOF
45083 /* confdefs.h. */
45084 _ACEOF
45085 cat confdefs.h >>conftest.$ac_ext
45086 cat >>conftest.$ac_ext <<_ACEOF
45087 /* end confdefs.h. */
45088 #include <math.h>
45089 int
45090 main ()
45091 {
45092 hypotl(0, 0);
45093 ;
45094 return 0;
45095 }
45096 _ACEOF
45097 rm -f conftest.$ac_objext
45098 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45099 (eval $ac_compile) 2>conftest.er1
45100 ac_status=$?
45101 grep -v '^ *+' conftest.er1 >conftest.err
45102 rm -f conftest.er1
45103 cat conftest.err >&5
45104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45105 (exit $ac_status); } &&
45106 { ac_try='test -z "$ac_cxx_werror_flag"
45107 || test ! -s conftest.err'
45108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45109 (eval $ac_try) 2>&5
45110 ac_status=$?
45111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45112 (exit $ac_status); }; } &&
45113 { ac_try='test -s conftest.$ac_objext'
45114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45115 (eval $ac_try) 2>&5
45116 ac_status=$?
45117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45118 (exit $ac_status); }; }; then
45119 glibcxx_cv_func_hypotl_use=yes
45120 else
45121 echo "$as_me: failed program was:" >&5
45122 sed 's/^/| /' conftest.$ac_ext >&5
45123
45124 glibcxx_cv_func_hypotl_use=no
45125 fi
45126 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45127 ac_ext=c
45128 ac_cpp='$CPP $CPPFLAGS'
45129 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45130 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45131 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45132
45133
45134 fi
45135
45136 fi
45137 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotl_use" >&5
45138 echo "${ECHO_T}$glibcxx_cv_func_hypotl_use" >&6
45139
45140 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
45141
45142 for ac_func in hypotl
45143 do
45144 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45145 echo "$as_me:$LINENO: checking for $ac_func" >&5
45146 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45147 if eval "test \"\${$as_ac_var+set}\" = set"; then
45148 echo $ECHO_N "(cached) $ECHO_C" >&6
45149 else
45150 if test x$gcc_no_link = xyes; then
45151 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45152 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45153 { (exit 1); exit 1; }; }
45154 fi
45155 cat >conftest.$ac_ext <<_ACEOF
45156 /* confdefs.h. */
45157 _ACEOF
45158 cat confdefs.h >>conftest.$ac_ext
45159 cat >>conftest.$ac_ext <<_ACEOF
45160 /* end confdefs.h. */
45161 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45162 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45163 #define $ac_func innocuous_$ac_func
45164
45165 /* System header to define __stub macros and hopefully few prototypes,
45166 which can conflict with char $ac_func (); below.
45167 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45168 <limits.h> exists even on freestanding compilers. */
45169
45170 #ifdef __STDC__
45171 # include <limits.h>
45172 #else
45173 # include <assert.h>
45174 #endif
45175
45176 #undef $ac_func
45177
45178 /* Override any gcc2 internal prototype to avoid an error. */
45179 #ifdef __cplusplus
45180 extern "C"
45181 {
45182 #endif
45183 /* We use char because int might match the return type of a gcc2
45184 builtin and then its argument prototype would still apply. */
45185 char $ac_func ();
45186 /* The GNU C library defines this for functions which it implements
45187 to always fail with ENOSYS. Some functions are actually named
45188 something starting with __ and the normal name is an alias. */
45189 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45190 choke me
45191 #else
45192 char (*f) () = $ac_func;
45193 #endif
45194 #ifdef __cplusplus
45195 }
45196 #endif
45197
45198 int
45199 main ()
45200 {
45201 return f != $ac_func;
45202 ;
45203 return 0;
45204 }
45205 _ACEOF
45206 rm -f conftest.$ac_objext conftest$ac_exeext
45207 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45208 (eval $ac_link) 2>conftest.er1
45209 ac_status=$?
45210 grep -v '^ *+' conftest.er1 >conftest.err
45211 rm -f conftest.er1
45212 cat conftest.err >&5
45213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45214 (exit $ac_status); } &&
45215 { ac_try='test -z "$ac_c_werror_flag"
45216 || test ! -s conftest.err'
45217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45218 (eval $ac_try) 2>&5
45219 ac_status=$?
45220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45221 (exit $ac_status); }; } &&
45222 { ac_try='test -s conftest$ac_exeext'
45223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45224 (eval $ac_try) 2>&5
45225 ac_status=$?
45226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45227 (exit $ac_status); }; }; then
45228 eval "$as_ac_var=yes"
45229 else
45230 echo "$as_me: failed program was:" >&5
45231 sed 's/^/| /' conftest.$ac_ext >&5
45232
45233 eval "$as_ac_var=no"
45234 fi
45235 rm -f conftest.err conftest.$ac_objext \
45236 conftest$ac_exeext conftest.$ac_ext
45237 fi
45238 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45239 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45240 if test `eval echo '${'$as_ac_var'}'` = yes; then
45241 cat >>confdefs.h <<_ACEOF
45242 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45243 _ACEOF
45244
45245 fi
45246 done
45247
45248 else
45249
45250 echo "$as_me:$LINENO: checking for _hypotl declaration" >&5
45251 echo $ECHO_N "checking for _hypotl declaration... $ECHO_C" >&6
45252 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
45253 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then
45254 echo $ECHO_N "(cached) $ECHO_C" >&6
45255 else
45256
45257
45258
45259 ac_ext=cc
45260 ac_cpp='$CXXCPP $CPPFLAGS'
45261 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45262 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45263 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45264
45265 cat >conftest.$ac_ext <<_ACEOF
45266 /* confdefs.h. */
45267 _ACEOF
45268 cat confdefs.h >>conftest.$ac_ext
45269 cat >>conftest.$ac_ext <<_ACEOF
45270 /* end confdefs.h. */
45271 #include <math.h>
45272 int
45273 main ()
45274 {
45275 _hypotl(0, 0);
45276 ;
45277 return 0;
45278 }
45279 _ACEOF
45280 rm -f conftest.$ac_objext
45281 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45282 (eval $ac_compile) 2>conftest.er1
45283 ac_status=$?
45284 grep -v '^ *+' conftest.er1 >conftest.err
45285 rm -f conftest.er1
45286 cat conftest.err >&5
45287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45288 (exit $ac_status); } &&
45289 { ac_try='test -z "$ac_cxx_werror_flag"
45290 || test ! -s conftest.err'
45291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45292 (eval $ac_try) 2>&5
45293 ac_status=$?
45294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45295 (exit $ac_status); }; } &&
45296 { ac_try='test -s conftest.$ac_objext'
45297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45298 (eval $ac_try) 2>&5
45299 ac_status=$?
45300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45301 (exit $ac_status); }; }; then
45302 glibcxx_cv_func__hypotl_use=yes
45303 else
45304 echo "$as_me: failed program was:" >&5
45305 sed 's/^/| /' conftest.$ac_ext >&5
45306
45307 glibcxx_cv_func__hypotl_use=no
45308 fi
45309 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45310 ac_ext=c
45311 ac_cpp='$CPP $CPPFLAGS'
45312 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45313 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45314 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45315
45316
45317 fi
45318
45319 fi
45320 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotl_use" >&5
45321 echo "${ECHO_T}$glibcxx_cv_func__hypotl_use" >&6
45322
45323 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
45324
45325 for ac_func in _hypotl
45326 do
45327 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45328 echo "$as_me:$LINENO: checking for $ac_func" >&5
45329 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45330 if eval "test \"\${$as_ac_var+set}\" = set"; then
45331 echo $ECHO_N "(cached) $ECHO_C" >&6
45332 else
45333 if test x$gcc_no_link = xyes; then
45334 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45335 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45336 { (exit 1); exit 1; }; }
45337 fi
45338 cat >conftest.$ac_ext <<_ACEOF
45339 /* confdefs.h. */
45340 _ACEOF
45341 cat confdefs.h >>conftest.$ac_ext
45342 cat >>conftest.$ac_ext <<_ACEOF
45343 /* end confdefs.h. */
45344 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45345 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45346 #define $ac_func innocuous_$ac_func
45347
45348 /* System header to define __stub macros and hopefully few prototypes,
45349 which can conflict with char $ac_func (); below.
45350 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45351 <limits.h> exists even on freestanding compilers. */
45352
45353 #ifdef __STDC__
45354 # include <limits.h>
45355 #else
45356 # include <assert.h>
45357 #endif
45358
45359 #undef $ac_func
45360
45361 /* Override any gcc2 internal prototype to avoid an error. */
45362 #ifdef __cplusplus
45363 extern "C"
45364 {
45365 #endif
45366 /* We use char because int might match the return type of a gcc2
45367 builtin and then its argument prototype would still apply. */
45368 char $ac_func ();
45369 /* The GNU C library defines this for functions which it implements
45370 to always fail with ENOSYS. Some functions are actually named
45371 something starting with __ and the normal name is an alias. */
45372 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45373 choke me
45374 #else
45375 char (*f) () = $ac_func;
45376 #endif
45377 #ifdef __cplusplus
45378 }
45379 #endif
45380
45381 int
45382 main ()
45383 {
45384 return f != $ac_func;
45385 ;
45386 return 0;
45387 }
45388 _ACEOF
45389 rm -f conftest.$ac_objext conftest$ac_exeext
45390 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45391 (eval $ac_link) 2>conftest.er1
45392 ac_status=$?
45393 grep -v '^ *+' conftest.er1 >conftest.err
45394 rm -f conftest.er1
45395 cat conftest.err >&5
45396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45397 (exit $ac_status); } &&
45398 { ac_try='test -z "$ac_c_werror_flag"
45399 || test ! -s conftest.err'
45400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45401 (eval $ac_try) 2>&5
45402 ac_status=$?
45403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45404 (exit $ac_status); }; } &&
45405 { ac_try='test -s conftest$ac_exeext'
45406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45407 (eval $ac_try) 2>&5
45408 ac_status=$?
45409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45410 (exit $ac_status); }; }; then
45411 eval "$as_ac_var=yes"
45412 else
45413 echo "$as_me: failed program was:" >&5
45414 sed 's/^/| /' conftest.$ac_ext >&5
45415
45416 eval "$as_ac_var=no"
45417 fi
45418 rm -f conftest.err conftest.$ac_objext \
45419 conftest$ac_exeext conftest.$ac_ext
45420 fi
45421 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45422 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45423 if test `eval echo '${'$as_ac_var'}'` = yes; then
45424 cat >>confdefs.h <<_ACEOF
45425 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45426 _ACEOF
45427
45428 fi
45429 done
45430
45431 fi
45432 fi
45433
45434
45435
45436
45437
45438
45439 echo "$as_me:$LINENO: checking for ldexpl declaration" >&5
45440 echo $ECHO_N "checking for ldexpl declaration... $ECHO_C" >&6
45441 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
45442 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then
45443 echo $ECHO_N "(cached) $ECHO_C" >&6
45444 else
45445
45446
45447
45448 ac_ext=cc
45449 ac_cpp='$CXXCPP $CPPFLAGS'
45450 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45451 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45452 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45453
45454 cat >conftest.$ac_ext <<_ACEOF
45455 /* confdefs.h. */
45456 _ACEOF
45457 cat confdefs.h >>conftest.$ac_ext
45458 cat >>conftest.$ac_ext <<_ACEOF
45459 /* end confdefs.h. */
45460 #include <math.h>
45461 int
45462 main ()
45463 {
45464 ldexpl(0, 0);
45465 ;
45466 return 0;
45467 }
45468 _ACEOF
45469 rm -f conftest.$ac_objext
45470 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45471 (eval $ac_compile) 2>conftest.er1
45472 ac_status=$?
45473 grep -v '^ *+' conftest.er1 >conftest.err
45474 rm -f conftest.er1
45475 cat conftest.err >&5
45476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45477 (exit $ac_status); } &&
45478 { ac_try='test -z "$ac_cxx_werror_flag"
45479 || test ! -s conftest.err'
45480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45481 (eval $ac_try) 2>&5
45482 ac_status=$?
45483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45484 (exit $ac_status); }; } &&
45485 { ac_try='test -s conftest.$ac_objext'
45486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45487 (eval $ac_try) 2>&5
45488 ac_status=$?
45489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45490 (exit $ac_status); }; }; then
45491 glibcxx_cv_func_ldexpl_use=yes
45492 else
45493 echo "$as_me: failed program was:" >&5
45494 sed 's/^/| /' conftest.$ac_ext >&5
45495
45496 glibcxx_cv_func_ldexpl_use=no
45497 fi
45498 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45499 ac_ext=c
45500 ac_cpp='$CPP $CPPFLAGS'
45501 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45502 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45503 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45504
45505
45506 fi
45507
45508 fi
45509 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpl_use" >&5
45510 echo "${ECHO_T}$glibcxx_cv_func_ldexpl_use" >&6
45511
45512 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
45513
45514 for ac_func in ldexpl
45515 do
45516 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45517 echo "$as_me:$LINENO: checking for $ac_func" >&5
45518 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45519 if eval "test \"\${$as_ac_var+set}\" = set"; then
45520 echo $ECHO_N "(cached) $ECHO_C" >&6
45521 else
45522 if test x$gcc_no_link = xyes; then
45523 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45524 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45525 { (exit 1); exit 1; }; }
45526 fi
45527 cat >conftest.$ac_ext <<_ACEOF
45528 /* confdefs.h. */
45529 _ACEOF
45530 cat confdefs.h >>conftest.$ac_ext
45531 cat >>conftest.$ac_ext <<_ACEOF
45532 /* end confdefs.h. */
45533 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45534 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45535 #define $ac_func innocuous_$ac_func
45536
45537 /* System header to define __stub macros and hopefully few prototypes,
45538 which can conflict with char $ac_func (); below.
45539 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45540 <limits.h> exists even on freestanding compilers. */
45541
45542 #ifdef __STDC__
45543 # include <limits.h>
45544 #else
45545 # include <assert.h>
45546 #endif
45547
45548 #undef $ac_func
45549
45550 /* Override any gcc2 internal prototype to avoid an error. */
45551 #ifdef __cplusplus
45552 extern "C"
45553 {
45554 #endif
45555 /* We use char because int might match the return type of a gcc2
45556 builtin and then its argument prototype would still apply. */
45557 char $ac_func ();
45558 /* The GNU C library defines this for functions which it implements
45559 to always fail with ENOSYS. Some functions are actually named
45560 something starting with __ and the normal name is an alias. */
45561 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45562 choke me
45563 #else
45564 char (*f) () = $ac_func;
45565 #endif
45566 #ifdef __cplusplus
45567 }
45568 #endif
45569
45570 int
45571 main ()
45572 {
45573 return f != $ac_func;
45574 ;
45575 return 0;
45576 }
45577 _ACEOF
45578 rm -f conftest.$ac_objext conftest$ac_exeext
45579 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45580 (eval $ac_link) 2>conftest.er1
45581 ac_status=$?
45582 grep -v '^ *+' conftest.er1 >conftest.err
45583 rm -f conftest.er1
45584 cat conftest.err >&5
45585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45586 (exit $ac_status); } &&
45587 { ac_try='test -z "$ac_c_werror_flag"
45588 || test ! -s conftest.err'
45589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45590 (eval $ac_try) 2>&5
45591 ac_status=$?
45592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45593 (exit $ac_status); }; } &&
45594 { ac_try='test -s conftest$ac_exeext'
45595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45596 (eval $ac_try) 2>&5
45597 ac_status=$?
45598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45599 (exit $ac_status); }; }; then
45600 eval "$as_ac_var=yes"
45601 else
45602 echo "$as_me: failed program was:" >&5
45603 sed 's/^/| /' conftest.$ac_ext >&5
45604
45605 eval "$as_ac_var=no"
45606 fi
45607 rm -f conftest.err conftest.$ac_objext \
45608 conftest$ac_exeext conftest.$ac_ext
45609 fi
45610 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45611 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45612 if test `eval echo '${'$as_ac_var'}'` = yes; then
45613 cat >>confdefs.h <<_ACEOF
45614 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45615 _ACEOF
45616
45617 fi
45618 done
45619
45620 else
45621
45622 echo "$as_me:$LINENO: checking for _ldexpl declaration" >&5
45623 echo $ECHO_N "checking for _ldexpl declaration... $ECHO_C" >&6
45624 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
45625 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then
45626 echo $ECHO_N "(cached) $ECHO_C" >&6
45627 else
45628
45629
45630
45631 ac_ext=cc
45632 ac_cpp='$CXXCPP $CPPFLAGS'
45633 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45634 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45635 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45636
45637 cat >conftest.$ac_ext <<_ACEOF
45638 /* confdefs.h. */
45639 _ACEOF
45640 cat confdefs.h >>conftest.$ac_ext
45641 cat >>conftest.$ac_ext <<_ACEOF
45642 /* end confdefs.h. */
45643 #include <math.h>
45644 int
45645 main ()
45646 {
45647 _ldexpl(0, 0);
45648 ;
45649 return 0;
45650 }
45651 _ACEOF
45652 rm -f conftest.$ac_objext
45653 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45654 (eval $ac_compile) 2>conftest.er1
45655 ac_status=$?
45656 grep -v '^ *+' conftest.er1 >conftest.err
45657 rm -f conftest.er1
45658 cat conftest.err >&5
45659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45660 (exit $ac_status); } &&
45661 { ac_try='test -z "$ac_cxx_werror_flag"
45662 || test ! -s conftest.err'
45663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45664 (eval $ac_try) 2>&5
45665 ac_status=$?
45666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45667 (exit $ac_status); }; } &&
45668 { ac_try='test -s conftest.$ac_objext'
45669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45670 (eval $ac_try) 2>&5
45671 ac_status=$?
45672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45673 (exit $ac_status); }; }; then
45674 glibcxx_cv_func__ldexpl_use=yes
45675 else
45676 echo "$as_me: failed program was:" >&5
45677 sed 's/^/| /' conftest.$ac_ext >&5
45678
45679 glibcxx_cv_func__ldexpl_use=no
45680 fi
45681 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45682 ac_ext=c
45683 ac_cpp='$CPP $CPPFLAGS'
45684 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45685 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45686 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45687
45688
45689 fi
45690
45691 fi
45692 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpl_use" >&5
45693 echo "${ECHO_T}$glibcxx_cv_func__ldexpl_use" >&6
45694
45695 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
45696
45697 for ac_func in _ldexpl
45698 do
45699 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45700 echo "$as_me:$LINENO: checking for $ac_func" >&5
45701 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45702 if eval "test \"\${$as_ac_var+set}\" = set"; then
45703 echo $ECHO_N "(cached) $ECHO_C" >&6
45704 else
45705 if test x$gcc_no_link = xyes; then
45706 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45707 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45708 { (exit 1); exit 1; }; }
45709 fi
45710 cat >conftest.$ac_ext <<_ACEOF
45711 /* confdefs.h. */
45712 _ACEOF
45713 cat confdefs.h >>conftest.$ac_ext
45714 cat >>conftest.$ac_ext <<_ACEOF
45715 /* end confdefs.h. */
45716 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45717 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45718 #define $ac_func innocuous_$ac_func
45719
45720 /* System header to define __stub macros and hopefully few prototypes,
45721 which can conflict with char $ac_func (); below.
45722 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45723 <limits.h> exists even on freestanding compilers. */
45724
45725 #ifdef __STDC__
45726 # include <limits.h>
45727 #else
45728 # include <assert.h>
45729 #endif
45730
45731 #undef $ac_func
45732
45733 /* Override any gcc2 internal prototype to avoid an error. */
45734 #ifdef __cplusplus
45735 extern "C"
45736 {
45737 #endif
45738 /* We use char because int might match the return type of a gcc2
45739 builtin and then its argument prototype would still apply. */
45740 char $ac_func ();
45741 /* The GNU C library defines this for functions which it implements
45742 to always fail with ENOSYS. Some functions are actually named
45743 something starting with __ and the normal name is an alias. */
45744 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45745 choke me
45746 #else
45747 char (*f) () = $ac_func;
45748 #endif
45749 #ifdef __cplusplus
45750 }
45751 #endif
45752
45753 int
45754 main ()
45755 {
45756 return f != $ac_func;
45757 ;
45758 return 0;
45759 }
45760 _ACEOF
45761 rm -f conftest.$ac_objext conftest$ac_exeext
45762 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45763 (eval $ac_link) 2>conftest.er1
45764 ac_status=$?
45765 grep -v '^ *+' conftest.er1 >conftest.err
45766 rm -f conftest.er1
45767 cat conftest.err >&5
45768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45769 (exit $ac_status); } &&
45770 { ac_try='test -z "$ac_c_werror_flag"
45771 || test ! -s conftest.err'
45772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45773 (eval $ac_try) 2>&5
45774 ac_status=$?
45775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45776 (exit $ac_status); }; } &&
45777 { ac_try='test -s conftest$ac_exeext'
45778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45779 (eval $ac_try) 2>&5
45780 ac_status=$?
45781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45782 (exit $ac_status); }; }; then
45783 eval "$as_ac_var=yes"
45784 else
45785 echo "$as_me: failed program was:" >&5
45786 sed 's/^/| /' conftest.$ac_ext >&5
45787
45788 eval "$as_ac_var=no"
45789 fi
45790 rm -f conftest.err conftest.$ac_objext \
45791 conftest$ac_exeext conftest.$ac_ext
45792 fi
45793 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45794 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45795 if test `eval echo '${'$as_ac_var'}'` = yes; then
45796 cat >>confdefs.h <<_ACEOF
45797 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45798 _ACEOF
45799
45800 fi
45801 done
45802
45803 fi
45804 fi
45805
45806
45807
45808
45809
45810
45811 echo "$as_me:$LINENO: checking for logl declaration" >&5
45812 echo $ECHO_N "checking for logl declaration... $ECHO_C" >&6
45813 if test x${glibcxx_cv_func_logl_use+set} != xset; then
45814 if test "${glibcxx_cv_func_logl_use+set}" = set; then
45815 echo $ECHO_N "(cached) $ECHO_C" >&6
45816 else
45817
45818
45819
45820 ac_ext=cc
45821 ac_cpp='$CXXCPP $CPPFLAGS'
45822 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45823 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45824 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45825
45826 cat >conftest.$ac_ext <<_ACEOF
45827 /* confdefs.h. */
45828 _ACEOF
45829 cat confdefs.h >>conftest.$ac_ext
45830 cat >>conftest.$ac_ext <<_ACEOF
45831 /* end confdefs.h. */
45832 #include <math.h>
45833 #ifdef HAVE_IEEEFP_H
45834 #include <ieeefp.h>
45835 #endif
45836
45837 int
45838 main ()
45839 {
45840 logl(0);
45841 ;
45842 return 0;
45843 }
45844 _ACEOF
45845 rm -f conftest.$ac_objext
45846 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45847 (eval $ac_compile) 2>conftest.er1
45848 ac_status=$?
45849 grep -v '^ *+' conftest.er1 >conftest.err
45850 rm -f conftest.er1
45851 cat conftest.err >&5
45852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45853 (exit $ac_status); } &&
45854 { ac_try='test -z "$ac_cxx_werror_flag"
45855 || test ! -s conftest.err'
45856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45857 (eval $ac_try) 2>&5
45858 ac_status=$?
45859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45860 (exit $ac_status); }; } &&
45861 { ac_try='test -s conftest.$ac_objext'
45862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45863 (eval $ac_try) 2>&5
45864 ac_status=$?
45865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45866 (exit $ac_status); }; }; then
45867 glibcxx_cv_func_logl_use=yes
45868 else
45869 echo "$as_me: failed program was:" >&5
45870 sed 's/^/| /' conftest.$ac_ext >&5
45871
45872 glibcxx_cv_func_logl_use=no
45873 fi
45874 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45875 ac_ext=c
45876 ac_cpp='$CPP $CPPFLAGS'
45877 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45878 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45879 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45880
45881
45882 fi
45883
45884 fi
45885 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logl_use" >&5
45886 echo "${ECHO_T}$glibcxx_cv_func_logl_use" >&6
45887
45888 if test x$glibcxx_cv_func_logl_use = x"yes"; then
45889
45890 for ac_func in logl
45891 do
45892 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45893 echo "$as_me:$LINENO: checking for $ac_func" >&5
45894 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45895 if eval "test \"\${$as_ac_var+set}\" = set"; then
45896 echo $ECHO_N "(cached) $ECHO_C" >&6
45897 else
45898 if test x$gcc_no_link = xyes; then
45899 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45900 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45901 { (exit 1); exit 1; }; }
45902 fi
45903 cat >conftest.$ac_ext <<_ACEOF
45904 /* confdefs.h. */
45905 _ACEOF
45906 cat confdefs.h >>conftest.$ac_ext
45907 cat >>conftest.$ac_ext <<_ACEOF
45908 /* end confdefs.h. */
45909 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45910 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45911 #define $ac_func innocuous_$ac_func
45912
45913 /* System header to define __stub macros and hopefully few prototypes,
45914 which can conflict with char $ac_func (); below.
45915 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45916 <limits.h> exists even on freestanding compilers. */
45917
45918 #ifdef __STDC__
45919 # include <limits.h>
45920 #else
45921 # include <assert.h>
45922 #endif
45923
45924 #undef $ac_func
45925
45926 /* Override any gcc2 internal prototype to avoid an error. */
45927 #ifdef __cplusplus
45928 extern "C"
45929 {
45930 #endif
45931 /* We use char because int might match the return type of a gcc2
45932 builtin and then its argument prototype would still apply. */
45933 char $ac_func ();
45934 /* The GNU C library defines this for functions which it implements
45935 to always fail with ENOSYS. Some functions are actually named
45936 something starting with __ and the normal name is an alias. */
45937 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45938 choke me
45939 #else
45940 char (*f) () = $ac_func;
45941 #endif
45942 #ifdef __cplusplus
45943 }
45944 #endif
45945
45946 int
45947 main ()
45948 {
45949 return f != $ac_func;
45950 ;
45951 return 0;
45952 }
45953 _ACEOF
45954 rm -f conftest.$ac_objext conftest$ac_exeext
45955 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45956 (eval $ac_link) 2>conftest.er1
45957 ac_status=$?
45958 grep -v '^ *+' conftest.er1 >conftest.err
45959 rm -f conftest.er1
45960 cat conftest.err >&5
45961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45962 (exit $ac_status); } &&
45963 { ac_try='test -z "$ac_c_werror_flag"
45964 || test ! -s conftest.err'
45965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45966 (eval $ac_try) 2>&5
45967 ac_status=$?
45968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45969 (exit $ac_status); }; } &&
45970 { ac_try='test -s conftest$ac_exeext'
45971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45972 (eval $ac_try) 2>&5
45973 ac_status=$?
45974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45975 (exit $ac_status); }; }; then
45976 eval "$as_ac_var=yes"
45977 else
45978 echo "$as_me: failed program was:" >&5
45979 sed 's/^/| /' conftest.$ac_ext >&5
45980
45981 eval "$as_ac_var=no"
45982 fi
45983 rm -f conftest.err conftest.$ac_objext \
45984 conftest$ac_exeext conftest.$ac_ext
45985 fi
45986 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45987 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45988 if test `eval echo '${'$as_ac_var'}'` = yes; then
45989 cat >>confdefs.h <<_ACEOF
45990 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45991 _ACEOF
45992
45993 fi
45994 done
45995
45996 else
45997
45998 echo "$as_me:$LINENO: checking for _logl declaration" >&5
45999 echo $ECHO_N "checking for _logl declaration... $ECHO_C" >&6
46000 if test x${glibcxx_cv_func__logl_use+set} != xset; then
46001 if test "${glibcxx_cv_func__logl_use+set}" = set; then
46002 echo $ECHO_N "(cached) $ECHO_C" >&6
46003 else
46004
46005
46006
46007 ac_ext=cc
46008 ac_cpp='$CXXCPP $CPPFLAGS'
46009 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46010 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46011 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46012
46013 cat >conftest.$ac_ext <<_ACEOF
46014 /* confdefs.h. */
46015 _ACEOF
46016 cat confdefs.h >>conftest.$ac_ext
46017 cat >>conftest.$ac_ext <<_ACEOF
46018 /* end confdefs.h. */
46019 #include <math.h>
46020 #ifdef HAVE_IEEEFP_H
46021 #include <ieeefp.h>
46022 #endif
46023
46024 int
46025 main ()
46026 {
46027 _logl(0);
46028 ;
46029 return 0;
46030 }
46031 _ACEOF
46032 rm -f conftest.$ac_objext
46033 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46034 (eval $ac_compile) 2>conftest.er1
46035 ac_status=$?
46036 grep -v '^ *+' conftest.er1 >conftest.err
46037 rm -f conftest.er1
46038 cat conftest.err >&5
46039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46040 (exit $ac_status); } &&
46041 { ac_try='test -z "$ac_cxx_werror_flag"
46042 || test ! -s conftest.err'
46043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46044 (eval $ac_try) 2>&5
46045 ac_status=$?
46046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46047 (exit $ac_status); }; } &&
46048 { ac_try='test -s conftest.$ac_objext'
46049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46050 (eval $ac_try) 2>&5
46051 ac_status=$?
46052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46053 (exit $ac_status); }; }; then
46054 glibcxx_cv_func__logl_use=yes
46055 else
46056 echo "$as_me: failed program was:" >&5
46057 sed 's/^/| /' conftest.$ac_ext >&5
46058
46059 glibcxx_cv_func__logl_use=no
46060 fi
46061 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46062 ac_ext=c
46063 ac_cpp='$CPP $CPPFLAGS'
46064 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46065 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46066 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46067
46068
46069 fi
46070
46071 fi
46072 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logl_use" >&5
46073 echo "${ECHO_T}$glibcxx_cv_func__logl_use" >&6
46074
46075 if test x$glibcxx_cv_func__logl_use = x"yes"; then
46076
46077 for ac_func in _logl
46078 do
46079 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46080 echo "$as_me:$LINENO: checking for $ac_func" >&5
46081 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46082 if eval "test \"\${$as_ac_var+set}\" = set"; then
46083 echo $ECHO_N "(cached) $ECHO_C" >&6
46084 else
46085 if test x$gcc_no_link = xyes; then
46086 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46087 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46088 { (exit 1); exit 1; }; }
46089 fi
46090 cat >conftest.$ac_ext <<_ACEOF
46091 /* confdefs.h. */
46092 _ACEOF
46093 cat confdefs.h >>conftest.$ac_ext
46094 cat >>conftest.$ac_ext <<_ACEOF
46095 /* end confdefs.h. */
46096 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46097 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46098 #define $ac_func innocuous_$ac_func
46099
46100 /* System header to define __stub macros and hopefully few prototypes,
46101 which can conflict with char $ac_func (); below.
46102 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46103 <limits.h> exists even on freestanding compilers. */
46104
46105 #ifdef __STDC__
46106 # include <limits.h>
46107 #else
46108 # include <assert.h>
46109 #endif
46110
46111 #undef $ac_func
46112
46113 /* Override any gcc2 internal prototype to avoid an error. */
46114 #ifdef __cplusplus
46115 extern "C"
46116 {
46117 #endif
46118 /* We use char because int might match the return type of a gcc2
46119 builtin and then its argument prototype would still apply. */
46120 char $ac_func ();
46121 /* The GNU C library defines this for functions which it implements
46122 to always fail with ENOSYS. Some functions are actually named
46123 something starting with __ and the normal name is an alias. */
46124 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46125 choke me
46126 #else
46127 char (*f) () = $ac_func;
46128 #endif
46129 #ifdef __cplusplus
46130 }
46131 #endif
46132
46133 int
46134 main ()
46135 {
46136 return f != $ac_func;
46137 ;
46138 return 0;
46139 }
46140 _ACEOF
46141 rm -f conftest.$ac_objext conftest$ac_exeext
46142 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46143 (eval $ac_link) 2>conftest.er1
46144 ac_status=$?
46145 grep -v '^ *+' conftest.er1 >conftest.err
46146 rm -f conftest.er1
46147 cat conftest.err >&5
46148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46149 (exit $ac_status); } &&
46150 { ac_try='test -z "$ac_c_werror_flag"
46151 || test ! -s conftest.err'
46152 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46153 (eval $ac_try) 2>&5
46154 ac_status=$?
46155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46156 (exit $ac_status); }; } &&
46157 { ac_try='test -s conftest$ac_exeext'
46158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46159 (eval $ac_try) 2>&5
46160 ac_status=$?
46161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46162 (exit $ac_status); }; }; then
46163 eval "$as_ac_var=yes"
46164 else
46165 echo "$as_me: failed program was:" >&5
46166 sed 's/^/| /' conftest.$ac_ext >&5
46167
46168 eval "$as_ac_var=no"
46169 fi
46170 rm -f conftest.err conftest.$ac_objext \
46171 conftest$ac_exeext conftest.$ac_ext
46172 fi
46173 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46174 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46175 if test `eval echo '${'$as_ac_var'}'` = yes; then
46176 cat >>confdefs.h <<_ACEOF
46177 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46178 _ACEOF
46179
46180 fi
46181 done
46182
46183 fi
46184 fi
46185
46186
46187
46188
46189
46190
46191 echo "$as_me:$LINENO: checking for log10l declaration" >&5
46192 echo $ECHO_N "checking for log10l declaration... $ECHO_C" >&6
46193 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
46194 if test "${glibcxx_cv_func_log10l_use+set}" = set; then
46195 echo $ECHO_N "(cached) $ECHO_C" >&6
46196 else
46197
46198
46199
46200 ac_ext=cc
46201 ac_cpp='$CXXCPP $CPPFLAGS'
46202 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46203 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46204 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46205
46206 cat >conftest.$ac_ext <<_ACEOF
46207 /* confdefs.h. */
46208 _ACEOF
46209 cat confdefs.h >>conftest.$ac_ext
46210 cat >>conftest.$ac_ext <<_ACEOF
46211 /* end confdefs.h. */
46212 #include <math.h>
46213 #ifdef HAVE_IEEEFP_H
46214 #include <ieeefp.h>
46215 #endif
46216
46217 int
46218 main ()
46219 {
46220 log10l(0);
46221 ;
46222 return 0;
46223 }
46224 _ACEOF
46225 rm -f conftest.$ac_objext
46226 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46227 (eval $ac_compile) 2>conftest.er1
46228 ac_status=$?
46229 grep -v '^ *+' conftest.er1 >conftest.err
46230 rm -f conftest.er1
46231 cat conftest.err >&5
46232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46233 (exit $ac_status); } &&
46234 { ac_try='test -z "$ac_cxx_werror_flag"
46235 || test ! -s conftest.err'
46236 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46237 (eval $ac_try) 2>&5
46238 ac_status=$?
46239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46240 (exit $ac_status); }; } &&
46241 { ac_try='test -s conftest.$ac_objext'
46242 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46243 (eval $ac_try) 2>&5
46244 ac_status=$?
46245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46246 (exit $ac_status); }; }; then
46247 glibcxx_cv_func_log10l_use=yes
46248 else
46249 echo "$as_me: failed program was:" >&5
46250 sed 's/^/| /' conftest.$ac_ext >&5
46251
46252 glibcxx_cv_func_log10l_use=no
46253 fi
46254 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46255 ac_ext=c
46256 ac_cpp='$CPP $CPPFLAGS'
46257 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46258 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46259 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46260
46261
46262 fi
46263
46264 fi
46265 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10l_use" >&5
46266 echo "${ECHO_T}$glibcxx_cv_func_log10l_use" >&6
46267
46268 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
46269
46270 for ac_func in log10l
46271 do
46272 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46273 echo "$as_me:$LINENO: checking for $ac_func" >&5
46274 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46275 if eval "test \"\${$as_ac_var+set}\" = set"; then
46276 echo $ECHO_N "(cached) $ECHO_C" >&6
46277 else
46278 if test x$gcc_no_link = xyes; then
46279 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46280 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46281 { (exit 1); exit 1; }; }
46282 fi
46283 cat >conftest.$ac_ext <<_ACEOF
46284 /* confdefs.h. */
46285 _ACEOF
46286 cat confdefs.h >>conftest.$ac_ext
46287 cat >>conftest.$ac_ext <<_ACEOF
46288 /* end confdefs.h. */
46289 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46290 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46291 #define $ac_func innocuous_$ac_func
46292
46293 /* System header to define __stub macros and hopefully few prototypes,
46294 which can conflict with char $ac_func (); below.
46295 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46296 <limits.h> exists even on freestanding compilers. */
46297
46298 #ifdef __STDC__
46299 # include <limits.h>
46300 #else
46301 # include <assert.h>
46302 #endif
46303
46304 #undef $ac_func
46305
46306 /* Override any gcc2 internal prototype to avoid an error. */
46307 #ifdef __cplusplus
46308 extern "C"
46309 {
46310 #endif
46311 /* We use char because int might match the return type of a gcc2
46312 builtin and then its argument prototype would still apply. */
46313 char $ac_func ();
46314 /* The GNU C library defines this for functions which it implements
46315 to always fail with ENOSYS. Some functions are actually named
46316 something starting with __ and the normal name is an alias. */
46317 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46318 choke me
46319 #else
46320 char (*f) () = $ac_func;
46321 #endif
46322 #ifdef __cplusplus
46323 }
46324 #endif
46325
46326 int
46327 main ()
46328 {
46329 return f != $ac_func;
46330 ;
46331 return 0;
46332 }
46333 _ACEOF
46334 rm -f conftest.$ac_objext conftest$ac_exeext
46335 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46336 (eval $ac_link) 2>conftest.er1
46337 ac_status=$?
46338 grep -v '^ *+' conftest.er1 >conftest.err
46339 rm -f conftest.er1
46340 cat conftest.err >&5
46341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46342 (exit $ac_status); } &&
46343 { ac_try='test -z "$ac_c_werror_flag"
46344 || test ! -s conftest.err'
46345 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46346 (eval $ac_try) 2>&5
46347 ac_status=$?
46348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46349 (exit $ac_status); }; } &&
46350 { ac_try='test -s conftest$ac_exeext'
46351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46352 (eval $ac_try) 2>&5
46353 ac_status=$?
46354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46355 (exit $ac_status); }; }; then
46356 eval "$as_ac_var=yes"
46357 else
46358 echo "$as_me: failed program was:" >&5
46359 sed 's/^/| /' conftest.$ac_ext >&5
46360
46361 eval "$as_ac_var=no"
46362 fi
46363 rm -f conftest.err conftest.$ac_objext \
46364 conftest$ac_exeext conftest.$ac_ext
46365 fi
46366 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46367 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46368 if test `eval echo '${'$as_ac_var'}'` = yes; then
46369 cat >>confdefs.h <<_ACEOF
46370 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46371 _ACEOF
46372
46373 fi
46374 done
46375
46376 else
46377
46378 echo "$as_me:$LINENO: checking for _log10l declaration" >&5
46379 echo $ECHO_N "checking for _log10l declaration... $ECHO_C" >&6
46380 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
46381 if test "${glibcxx_cv_func__log10l_use+set}" = set; then
46382 echo $ECHO_N "(cached) $ECHO_C" >&6
46383 else
46384
46385
46386
46387 ac_ext=cc
46388 ac_cpp='$CXXCPP $CPPFLAGS'
46389 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46390 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46391 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46392
46393 cat >conftest.$ac_ext <<_ACEOF
46394 /* confdefs.h. */
46395 _ACEOF
46396 cat confdefs.h >>conftest.$ac_ext
46397 cat >>conftest.$ac_ext <<_ACEOF
46398 /* end confdefs.h. */
46399 #include <math.h>
46400 #ifdef HAVE_IEEEFP_H
46401 #include <ieeefp.h>
46402 #endif
46403
46404 int
46405 main ()
46406 {
46407 _log10l(0);
46408 ;
46409 return 0;
46410 }
46411 _ACEOF
46412 rm -f conftest.$ac_objext
46413 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46414 (eval $ac_compile) 2>conftest.er1
46415 ac_status=$?
46416 grep -v '^ *+' conftest.er1 >conftest.err
46417 rm -f conftest.er1
46418 cat conftest.err >&5
46419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46420 (exit $ac_status); } &&
46421 { ac_try='test -z "$ac_cxx_werror_flag"
46422 || test ! -s conftest.err'
46423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46424 (eval $ac_try) 2>&5
46425 ac_status=$?
46426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46427 (exit $ac_status); }; } &&
46428 { ac_try='test -s conftest.$ac_objext'
46429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46430 (eval $ac_try) 2>&5
46431 ac_status=$?
46432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46433 (exit $ac_status); }; }; then
46434 glibcxx_cv_func__log10l_use=yes
46435 else
46436 echo "$as_me: failed program was:" >&5
46437 sed 's/^/| /' conftest.$ac_ext >&5
46438
46439 glibcxx_cv_func__log10l_use=no
46440 fi
46441 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46442 ac_ext=c
46443 ac_cpp='$CPP $CPPFLAGS'
46444 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46445 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46446 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46447
46448
46449 fi
46450
46451 fi
46452 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10l_use" >&5
46453 echo "${ECHO_T}$glibcxx_cv_func__log10l_use" >&6
46454
46455 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
46456
46457 for ac_func in _log10l
46458 do
46459 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46460 echo "$as_me:$LINENO: checking for $ac_func" >&5
46461 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46462 if eval "test \"\${$as_ac_var+set}\" = set"; then
46463 echo $ECHO_N "(cached) $ECHO_C" >&6
46464 else
46465 if test x$gcc_no_link = xyes; then
46466 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46467 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46468 { (exit 1); exit 1; }; }
46469 fi
46470 cat >conftest.$ac_ext <<_ACEOF
46471 /* confdefs.h. */
46472 _ACEOF
46473 cat confdefs.h >>conftest.$ac_ext
46474 cat >>conftest.$ac_ext <<_ACEOF
46475 /* end confdefs.h. */
46476 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46477 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46478 #define $ac_func innocuous_$ac_func
46479
46480 /* System header to define __stub macros and hopefully few prototypes,
46481 which can conflict with char $ac_func (); below.
46482 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46483 <limits.h> exists even on freestanding compilers. */
46484
46485 #ifdef __STDC__
46486 # include <limits.h>
46487 #else
46488 # include <assert.h>
46489 #endif
46490
46491 #undef $ac_func
46492
46493 /* Override any gcc2 internal prototype to avoid an error. */
46494 #ifdef __cplusplus
46495 extern "C"
46496 {
46497 #endif
46498 /* We use char because int might match the return type of a gcc2
46499 builtin and then its argument prototype would still apply. */
46500 char $ac_func ();
46501 /* The GNU C library defines this for functions which it implements
46502 to always fail with ENOSYS. Some functions are actually named
46503 something starting with __ and the normal name is an alias. */
46504 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46505 choke me
46506 #else
46507 char (*f) () = $ac_func;
46508 #endif
46509 #ifdef __cplusplus
46510 }
46511 #endif
46512
46513 int
46514 main ()
46515 {
46516 return f != $ac_func;
46517 ;
46518 return 0;
46519 }
46520 _ACEOF
46521 rm -f conftest.$ac_objext conftest$ac_exeext
46522 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46523 (eval $ac_link) 2>conftest.er1
46524 ac_status=$?
46525 grep -v '^ *+' conftest.er1 >conftest.err
46526 rm -f conftest.er1
46527 cat conftest.err >&5
46528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46529 (exit $ac_status); } &&
46530 { ac_try='test -z "$ac_c_werror_flag"
46531 || test ! -s conftest.err'
46532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46533 (eval $ac_try) 2>&5
46534 ac_status=$?
46535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46536 (exit $ac_status); }; } &&
46537 { ac_try='test -s conftest$ac_exeext'
46538 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46539 (eval $ac_try) 2>&5
46540 ac_status=$?
46541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46542 (exit $ac_status); }; }; then
46543 eval "$as_ac_var=yes"
46544 else
46545 echo "$as_me: failed program was:" >&5
46546 sed 's/^/| /' conftest.$ac_ext >&5
46547
46548 eval "$as_ac_var=no"
46549 fi
46550 rm -f conftest.err conftest.$ac_objext \
46551 conftest$ac_exeext conftest.$ac_ext
46552 fi
46553 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46554 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46555 if test `eval echo '${'$as_ac_var'}'` = yes; then
46556 cat >>confdefs.h <<_ACEOF
46557 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46558 _ACEOF
46559
46560 fi
46561 done
46562
46563 fi
46564 fi
46565
46566
46567
46568
46569
46570
46571 echo "$as_me:$LINENO: checking for modfl declaration" >&5
46572 echo $ECHO_N "checking for modfl declaration... $ECHO_C" >&6
46573 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
46574 if test "${glibcxx_cv_func_modfl_use+set}" = set; then
46575 echo $ECHO_N "(cached) $ECHO_C" >&6
46576 else
46577
46578
46579
46580 ac_ext=cc
46581 ac_cpp='$CXXCPP $CPPFLAGS'
46582 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46583 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46584 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46585
46586 cat >conftest.$ac_ext <<_ACEOF
46587 /* confdefs.h. */
46588 _ACEOF
46589 cat confdefs.h >>conftest.$ac_ext
46590 cat >>conftest.$ac_ext <<_ACEOF
46591 /* end confdefs.h. */
46592 #include <math.h>
46593 int
46594 main ()
46595 {
46596 modfl(0, 0);
46597 ;
46598 return 0;
46599 }
46600 _ACEOF
46601 rm -f conftest.$ac_objext
46602 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46603 (eval $ac_compile) 2>conftest.er1
46604 ac_status=$?
46605 grep -v '^ *+' conftest.er1 >conftest.err
46606 rm -f conftest.er1
46607 cat conftest.err >&5
46608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46609 (exit $ac_status); } &&
46610 { ac_try='test -z "$ac_cxx_werror_flag"
46611 || test ! -s conftest.err'
46612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46613 (eval $ac_try) 2>&5
46614 ac_status=$?
46615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46616 (exit $ac_status); }; } &&
46617 { ac_try='test -s conftest.$ac_objext'
46618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46619 (eval $ac_try) 2>&5
46620 ac_status=$?
46621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46622 (exit $ac_status); }; }; then
46623 glibcxx_cv_func_modfl_use=yes
46624 else
46625 echo "$as_me: failed program was:" >&5
46626 sed 's/^/| /' conftest.$ac_ext >&5
46627
46628 glibcxx_cv_func_modfl_use=no
46629 fi
46630 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46631 ac_ext=c
46632 ac_cpp='$CPP $CPPFLAGS'
46633 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46634 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46635 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46636
46637
46638 fi
46639
46640 fi
46641 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modfl_use" >&5
46642 echo "${ECHO_T}$glibcxx_cv_func_modfl_use" >&6
46643
46644 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
46645
46646 for ac_func in modfl
46647 do
46648 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46649 echo "$as_me:$LINENO: checking for $ac_func" >&5
46650 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46651 if eval "test \"\${$as_ac_var+set}\" = set"; then
46652 echo $ECHO_N "(cached) $ECHO_C" >&6
46653 else
46654 if test x$gcc_no_link = xyes; then
46655 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46656 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46657 { (exit 1); exit 1; }; }
46658 fi
46659 cat >conftest.$ac_ext <<_ACEOF
46660 /* confdefs.h. */
46661 _ACEOF
46662 cat confdefs.h >>conftest.$ac_ext
46663 cat >>conftest.$ac_ext <<_ACEOF
46664 /* end confdefs.h. */
46665 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46666 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46667 #define $ac_func innocuous_$ac_func
46668
46669 /* System header to define __stub macros and hopefully few prototypes,
46670 which can conflict with char $ac_func (); below.
46671 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46672 <limits.h> exists even on freestanding compilers. */
46673
46674 #ifdef __STDC__
46675 # include <limits.h>
46676 #else
46677 # include <assert.h>
46678 #endif
46679
46680 #undef $ac_func
46681
46682 /* Override any gcc2 internal prototype to avoid an error. */
46683 #ifdef __cplusplus
46684 extern "C"
46685 {
46686 #endif
46687 /* We use char because int might match the return type of a gcc2
46688 builtin and then its argument prototype would still apply. */
46689 char $ac_func ();
46690 /* The GNU C library defines this for functions which it implements
46691 to always fail with ENOSYS. Some functions are actually named
46692 something starting with __ and the normal name is an alias. */
46693 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46694 choke me
46695 #else
46696 char (*f) () = $ac_func;
46697 #endif
46698 #ifdef __cplusplus
46699 }
46700 #endif
46701
46702 int
46703 main ()
46704 {
46705 return f != $ac_func;
46706 ;
46707 return 0;
46708 }
46709 _ACEOF
46710 rm -f conftest.$ac_objext conftest$ac_exeext
46711 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46712 (eval $ac_link) 2>conftest.er1
46713 ac_status=$?
46714 grep -v '^ *+' conftest.er1 >conftest.err
46715 rm -f conftest.er1
46716 cat conftest.err >&5
46717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46718 (exit $ac_status); } &&
46719 { ac_try='test -z "$ac_c_werror_flag"
46720 || test ! -s conftest.err'
46721 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46722 (eval $ac_try) 2>&5
46723 ac_status=$?
46724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46725 (exit $ac_status); }; } &&
46726 { ac_try='test -s conftest$ac_exeext'
46727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46728 (eval $ac_try) 2>&5
46729 ac_status=$?
46730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46731 (exit $ac_status); }; }; then
46732 eval "$as_ac_var=yes"
46733 else
46734 echo "$as_me: failed program was:" >&5
46735 sed 's/^/| /' conftest.$ac_ext >&5
46736
46737 eval "$as_ac_var=no"
46738 fi
46739 rm -f conftest.err conftest.$ac_objext \
46740 conftest$ac_exeext conftest.$ac_ext
46741 fi
46742 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46743 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46744 if test `eval echo '${'$as_ac_var'}'` = yes; then
46745 cat >>confdefs.h <<_ACEOF
46746 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46747 _ACEOF
46748
46749 fi
46750 done
46751
46752 else
46753
46754 echo "$as_me:$LINENO: checking for _modfl declaration" >&5
46755 echo $ECHO_N "checking for _modfl declaration... $ECHO_C" >&6
46756 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
46757 if test "${glibcxx_cv_func__modfl_use+set}" = set; then
46758 echo $ECHO_N "(cached) $ECHO_C" >&6
46759 else
46760
46761
46762
46763 ac_ext=cc
46764 ac_cpp='$CXXCPP $CPPFLAGS'
46765 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46766 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46767 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46768
46769 cat >conftest.$ac_ext <<_ACEOF
46770 /* confdefs.h. */
46771 _ACEOF
46772 cat confdefs.h >>conftest.$ac_ext
46773 cat >>conftest.$ac_ext <<_ACEOF
46774 /* end confdefs.h. */
46775 #include <math.h>
46776 int
46777 main ()
46778 {
46779 _modfl(0, 0);
46780 ;
46781 return 0;
46782 }
46783 _ACEOF
46784 rm -f conftest.$ac_objext
46785 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46786 (eval $ac_compile) 2>conftest.er1
46787 ac_status=$?
46788 grep -v '^ *+' conftest.er1 >conftest.err
46789 rm -f conftest.er1
46790 cat conftest.err >&5
46791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46792 (exit $ac_status); } &&
46793 { ac_try='test -z "$ac_cxx_werror_flag"
46794 || test ! -s conftest.err'
46795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46796 (eval $ac_try) 2>&5
46797 ac_status=$?
46798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46799 (exit $ac_status); }; } &&
46800 { ac_try='test -s conftest.$ac_objext'
46801 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46802 (eval $ac_try) 2>&5
46803 ac_status=$?
46804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46805 (exit $ac_status); }; }; then
46806 glibcxx_cv_func__modfl_use=yes
46807 else
46808 echo "$as_me: failed program was:" >&5
46809 sed 's/^/| /' conftest.$ac_ext >&5
46810
46811 glibcxx_cv_func__modfl_use=no
46812 fi
46813 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46814 ac_ext=c
46815 ac_cpp='$CPP $CPPFLAGS'
46816 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46817 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46818 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46819
46820
46821 fi
46822
46823 fi
46824 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modfl_use" >&5
46825 echo "${ECHO_T}$glibcxx_cv_func__modfl_use" >&6
46826
46827 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
46828
46829 for ac_func in _modfl
46830 do
46831 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46832 echo "$as_me:$LINENO: checking for $ac_func" >&5
46833 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46834 if eval "test \"\${$as_ac_var+set}\" = set"; then
46835 echo $ECHO_N "(cached) $ECHO_C" >&6
46836 else
46837 if test x$gcc_no_link = xyes; then
46838 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46839 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46840 { (exit 1); exit 1; }; }
46841 fi
46842 cat >conftest.$ac_ext <<_ACEOF
46843 /* confdefs.h. */
46844 _ACEOF
46845 cat confdefs.h >>conftest.$ac_ext
46846 cat >>conftest.$ac_ext <<_ACEOF
46847 /* end confdefs.h. */
46848 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46849 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46850 #define $ac_func innocuous_$ac_func
46851
46852 /* System header to define __stub macros and hopefully few prototypes,
46853 which can conflict with char $ac_func (); below.
46854 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46855 <limits.h> exists even on freestanding compilers. */
46856
46857 #ifdef __STDC__
46858 # include <limits.h>
46859 #else
46860 # include <assert.h>
46861 #endif
46862
46863 #undef $ac_func
46864
46865 /* Override any gcc2 internal prototype to avoid an error. */
46866 #ifdef __cplusplus
46867 extern "C"
46868 {
46869 #endif
46870 /* We use char because int might match the return type of a gcc2
46871 builtin and then its argument prototype would still apply. */
46872 char $ac_func ();
46873 /* The GNU C library defines this for functions which it implements
46874 to always fail with ENOSYS. Some functions are actually named
46875 something starting with __ and the normal name is an alias. */
46876 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46877 choke me
46878 #else
46879 char (*f) () = $ac_func;
46880 #endif
46881 #ifdef __cplusplus
46882 }
46883 #endif
46884
46885 int
46886 main ()
46887 {
46888 return f != $ac_func;
46889 ;
46890 return 0;
46891 }
46892 _ACEOF
46893 rm -f conftest.$ac_objext conftest$ac_exeext
46894 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46895 (eval $ac_link) 2>conftest.er1
46896 ac_status=$?
46897 grep -v '^ *+' conftest.er1 >conftest.err
46898 rm -f conftest.er1
46899 cat conftest.err >&5
46900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46901 (exit $ac_status); } &&
46902 { ac_try='test -z "$ac_c_werror_flag"
46903 || test ! -s conftest.err'
46904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46905 (eval $ac_try) 2>&5
46906 ac_status=$?
46907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46908 (exit $ac_status); }; } &&
46909 { ac_try='test -s conftest$ac_exeext'
46910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46911 (eval $ac_try) 2>&5
46912 ac_status=$?
46913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46914 (exit $ac_status); }; }; then
46915 eval "$as_ac_var=yes"
46916 else
46917 echo "$as_me: failed program was:" >&5
46918 sed 's/^/| /' conftest.$ac_ext >&5
46919
46920 eval "$as_ac_var=no"
46921 fi
46922 rm -f conftest.err conftest.$ac_objext \
46923 conftest$ac_exeext conftest.$ac_ext
46924 fi
46925 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46926 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46927 if test `eval echo '${'$as_ac_var'}'` = yes; then
46928 cat >>confdefs.h <<_ACEOF
46929 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46930 _ACEOF
46931
46932 fi
46933 done
46934
46935 fi
46936 fi
46937
46938
46939
46940
46941
46942
46943 echo "$as_me:$LINENO: checking for powl declaration" >&5
46944 echo $ECHO_N "checking for powl declaration... $ECHO_C" >&6
46945 if test x${glibcxx_cv_func_powl_use+set} != xset; then
46946 if test "${glibcxx_cv_func_powl_use+set}" = set; then
46947 echo $ECHO_N "(cached) $ECHO_C" >&6
46948 else
46949
46950
46951
46952 ac_ext=cc
46953 ac_cpp='$CXXCPP $CPPFLAGS'
46954 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46955 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46956 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46957
46958 cat >conftest.$ac_ext <<_ACEOF
46959 /* confdefs.h. */
46960 _ACEOF
46961 cat confdefs.h >>conftest.$ac_ext
46962 cat >>conftest.$ac_ext <<_ACEOF
46963 /* end confdefs.h. */
46964 #include <math.h>
46965 int
46966 main ()
46967 {
46968 powl(0, 0);
46969 ;
46970 return 0;
46971 }
46972 _ACEOF
46973 rm -f conftest.$ac_objext
46974 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46975 (eval $ac_compile) 2>conftest.er1
46976 ac_status=$?
46977 grep -v '^ *+' conftest.er1 >conftest.err
46978 rm -f conftest.er1
46979 cat conftest.err >&5
46980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46981 (exit $ac_status); } &&
46982 { ac_try='test -z "$ac_cxx_werror_flag"
46983 || test ! -s conftest.err'
46984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46985 (eval $ac_try) 2>&5
46986 ac_status=$?
46987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46988 (exit $ac_status); }; } &&
46989 { ac_try='test -s conftest.$ac_objext'
46990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46991 (eval $ac_try) 2>&5
46992 ac_status=$?
46993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46994 (exit $ac_status); }; }; then
46995 glibcxx_cv_func_powl_use=yes
46996 else
46997 echo "$as_me: failed program was:" >&5
46998 sed 's/^/| /' conftest.$ac_ext >&5
46999
47000 glibcxx_cv_func_powl_use=no
47001 fi
47002 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47003 ac_ext=c
47004 ac_cpp='$CPP $CPPFLAGS'
47005 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47006 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47007 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47008
47009
47010 fi
47011
47012 fi
47013 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powl_use" >&5
47014 echo "${ECHO_T}$glibcxx_cv_func_powl_use" >&6
47015
47016 if test x$glibcxx_cv_func_powl_use = x"yes"; then
47017
47018 for ac_func in powl
47019 do
47020 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47021 echo "$as_me:$LINENO: checking for $ac_func" >&5
47022 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47023 if eval "test \"\${$as_ac_var+set}\" = set"; then
47024 echo $ECHO_N "(cached) $ECHO_C" >&6
47025 else
47026 if test x$gcc_no_link = xyes; then
47027 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47028 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47029 { (exit 1); exit 1; }; }
47030 fi
47031 cat >conftest.$ac_ext <<_ACEOF
47032 /* confdefs.h. */
47033 _ACEOF
47034 cat confdefs.h >>conftest.$ac_ext
47035 cat >>conftest.$ac_ext <<_ACEOF
47036 /* end confdefs.h. */
47037 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47038 For example, HP-UX 11i <limits.h> declares gettimeofday. */
47039 #define $ac_func innocuous_$ac_func
47040
47041 /* System header to define __stub macros and hopefully few prototypes,
47042 which can conflict with char $ac_func (); below.
47043 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47044 <limits.h> exists even on freestanding compilers. */
47045
47046 #ifdef __STDC__
47047 # include <limits.h>
47048 #else
47049 # include <assert.h>
47050 #endif
47051
47052 #undef $ac_func
47053
47054 /* Override any gcc2 internal prototype to avoid an error. */
47055 #ifdef __cplusplus
47056 extern "C"
47057 {
47058 #endif
47059 /* We use char because int might match the return type of a gcc2
47060 builtin and then its argument prototype would still apply. */
47061 char $ac_func ();
47062 /* The GNU C library defines this for functions which it implements
47063 to always fail with ENOSYS. Some functions are actually named
47064 something starting with __ and the normal name is an alias. */
47065 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47066 choke me
47067 #else
47068 char (*f) () = $ac_func;
47069 #endif
47070 #ifdef __cplusplus
47071 }
47072 #endif
47073
47074 int
47075 main ()
47076 {
47077 return f != $ac_func;
47078 ;
47079 return 0;
47080 }
47081 _ACEOF
47082 rm -f conftest.$ac_objext conftest$ac_exeext
47083 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47084 (eval $ac_link) 2>conftest.er1
47085 ac_status=$?
47086 grep -v '^ *+' conftest.er1 >conftest.err
47087 rm -f conftest.er1
47088 cat conftest.err >&5
47089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47090 (exit $ac_status); } &&
47091 { ac_try='test -z "$ac_c_werror_flag"
47092 || test ! -s conftest.err'
47093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47094 (eval $ac_try) 2>&5
47095 ac_status=$?
47096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47097 (exit $ac_status); }; } &&
47098 { ac_try='test -s conftest$ac_exeext'
47099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47100 (eval $ac_try) 2>&5
47101 ac_status=$?
47102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47103 (exit $ac_status); }; }; then
47104 eval "$as_ac_var=yes"
47105 else
47106 echo "$as_me: failed program was:" >&5
47107 sed 's/^/| /' conftest.$ac_ext >&5
47108
47109 eval "$as_ac_var=no"
47110 fi
47111 rm -f conftest.err conftest.$ac_objext \
47112 conftest$ac_exeext conftest.$ac_ext
47113 fi
47114 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47115 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47116 if test `eval echo '${'$as_ac_var'}'` = yes; then
47117 cat >>confdefs.h <<_ACEOF
47118 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47119 _ACEOF
47120
47121 fi
47122 done
47123
47124 else
47125
47126 echo "$as_me:$LINENO: checking for _powl declaration" >&5
47127 echo $ECHO_N "checking for _powl declaration... $ECHO_C" >&6
47128 if test x${glibcxx_cv_func__powl_use+set} != xset; then
47129 if test "${glibcxx_cv_func__powl_use+set}" = set; then
47130 echo $ECHO_N "(cached) $ECHO_C" >&6
47131 else
47132
47133
47134
47135 ac_ext=cc
47136 ac_cpp='$CXXCPP $CPPFLAGS'
47137 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47138 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47139 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47140
47141 cat >conftest.$ac_ext <<_ACEOF
47142 /* confdefs.h. */
47143 _ACEOF
47144 cat confdefs.h >>conftest.$ac_ext
47145 cat >>conftest.$ac_ext <<_ACEOF
47146 /* end confdefs.h. */
47147 #include <math.h>
47148 int
47149 main ()
47150 {
47151 _powl(0, 0);
47152 ;
47153 return 0;
47154 }
47155 _ACEOF
47156 rm -f conftest.$ac_objext
47157 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47158 (eval $ac_compile) 2>conftest.er1
47159 ac_status=$?
47160 grep -v '^ *+' conftest.er1 >conftest.err
47161 rm -f conftest.er1
47162 cat conftest.err >&5
47163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47164 (exit $ac_status); } &&
47165 { ac_try='test -z "$ac_cxx_werror_flag"
47166 || test ! -s conftest.err'
47167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47168 (eval $ac_try) 2>&5
47169 ac_status=$?
47170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47171 (exit $ac_status); }; } &&
47172 { ac_try='test -s conftest.$ac_objext'
47173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47174 (eval $ac_try) 2>&5
47175 ac_status=$?
47176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47177 (exit $ac_status); }; }; then
47178 glibcxx_cv_func__powl_use=yes
47179 else
47180 echo "$as_me: failed program was:" >&5
47181 sed 's/^/| /' conftest.$ac_ext >&5
47182
47183 glibcxx_cv_func__powl_use=no
47184 fi
47185 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47186 ac_ext=c
47187 ac_cpp='$CPP $CPPFLAGS'
47188 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47189 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47190 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47191
47192
47193 fi
47194
47195 fi
47196 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powl_use" >&5
47197 echo "${ECHO_T}$glibcxx_cv_func__powl_use" >&6
47198
47199 if test x$glibcxx_cv_func__powl_use = x"yes"; then
47200
47201 for ac_func in _powl
47202 do
47203 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47204 echo "$as_me:$LINENO: checking for $ac_func" >&5
47205 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47206 if eval "test \"\${$as_ac_var+set}\" = set"; then
47207 echo $ECHO_N "(cached) $ECHO_C" >&6
47208 else
47209 if test x$gcc_no_link = xyes; then
47210 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47211 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47212 { (exit 1); exit 1; }; }
47213 fi
47214 cat >conftest.$ac_ext <<_ACEOF
47215 /* confdefs.h. */
47216 _ACEOF
47217 cat confdefs.h >>conftest.$ac_ext
47218 cat >>conftest.$ac_ext <<_ACEOF
47219 /* end confdefs.h. */
47220 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47221 For example, HP-UX 11i <limits.h> declares gettimeofday. */
47222 #define $ac_func innocuous_$ac_func
47223
47224 /* System header to define __stub macros and hopefully few prototypes,
47225 which can conflict with char $ac_func (); below.
47226 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47227 <limits.h> exists even on freestanding compilers. */
47228
47229 #ifdef __STDC__
47230 # include <limits.h>
47231 #else
47232 # include <assert.h>
47233 #endif
47234
47235 #undef $ac_func
47236
47237 /* Override any gcc2 internal prototype to avoid an error. */
47238 #ifdef __cplusplus
47239 extern "C"
47240 {
47241 #endif
47242 /* We use char because int might match the return type of a gcc2
47243 builtin and then its argument prototype would still apply. */
47244 char $ac_func ();
47245 /* The GNU C library defines this for functions which it implements
47246 to always fail with ENOSYS. Some functions are actually named
47247 something starting with __ and the normal name is an alias. */
47248 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47249 choke me
47250 #else
47251 char (*f) () = $ac_func;
47252 #endif
47253 #ifdef __cplusplus
47254 }
47255 #endif
47256
47257 int
47258 main ()
47259 {
47260 return f != $ac_func;
47261 ;
47262 return 0;
47263 }
47264 _ACEOF
47265 rm -f conftest.$ac_objext conftest$ac_exeext
47266 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47267 (eval $ac_link) 2>conftest.er1
47268 ac_status=$?
47269 grep -v '^ *+' conftest.er1 >conftest.err
47270 rm -f conftest.er1
47271 cat conftest.err >&5
47272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47273 (exit $ac_status); } &&
47274 { ac_try='test -z "$ac_c_werror_flag"
47275 || test ! -s conftest.err'
47276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47277 (eval $ac_try) 2>&5
47278 ac_status=$?
47279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47280 (exit $ac_status); }; } &&
47281 { ac_try='test -s conftest$ac_exeext'
47282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47283 (eval $ac_try) 2>&5
47284 ac_status=$?
47285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47286 (exit $ac_status); }; }; then
47287 eval "$as_ac_var=yes"
47288 else
47289 echo "$as_me: failed program was:" >&5
47290 sed 's/^/| /' conftest.$ac_ext >&5
47291
47292 eval "$as_ac_var=no"
47293 fi
47294 rm -f conftest.err conftest.$ac_objext \
47295 conftest$ac_exeext conftest.$ac_ext
47296 fi
47297 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47298 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47299 if test `eval echo '${'$as_ac_var'}'` = yes; then
47300 cat >>confdefs.h <<_ACEOF
47301 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47302 _ACEOF
47303
47304 fi
47305 done
47306
47307 fi
47308 fi
47309
47310
47311
47312
47313
47314
47315 echo "$as_me:$LINENO: checking for sqrtl declaration" >&5
47316 echo $ECHO_N "checking for sqrtl declaration... $ECHO_C" >&6
47317 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
47318 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then
47319 echo $ECHO_N "(cached) $ECHO_C" >&6
47320 else
47321
47322
47323
47324 ac_ext=cc
47325 ac_cpp='$CXXCPP $CPPFLAGS'
47326 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47327 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47328 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47329
47330 cat >conftest.$ac_ext <<_ACEOF
47331 /* confdefs.h. */
47332 _ACEOF
47333 cat confdefs.h >>conftest.$ac_ext
47334 cat >>conftest.$ac_ext <<_ACEOF
47335 /* end confdefs.h. */
47336 #include <math.h>
47337 #ifdef HAVE_IEEEFP_H
47338 #include <ieeefp.h>
47339 #endif
47340
47341 int
47342 main ()
47343 {
47344 sqrtl(0);
47345 ;
47346 return 0;
47347 }
47348 _ACEOF
47349 rm -f conftest.$ac_objext
47350 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47351 (eval $ac_compile) 2>conftest.er1
47352 ac_status=$?
47353 grep -v '^ *+' conftest.er1 >conftest.err
47354 rm -f conftest.er1
47355 cat conftest.err >&5
47356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47357 (exit $ac_status); } &&
47358 { ac_try='test -z "$ac_cxx_werror_flag"
47359 || test ! -s conftest.err'
47360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47361 (eval $ac_try) 2>&5
47362 ac_status=$?
47363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47364 (exit $ac_status); }; } &&
47365 { ac_try='test -s conftest.$ac_objext'
47366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47367 (eval $ac_try) 2>&5
47368 ac_status=$?
47369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47370 (exit $ac_status); }; }; then
47371 glibcxx_cv_func_sqrtl_use=yes
47372 else
47373 echo "$as_me: failed program was:" >&5
47374 sed 's/^/| /' conftest.$ac_ext >&5
47375
47376 glibcxx_cv_func_sqrtl_use=no
47377 fi
47378 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47379 ac_ext=c
47380 ac_cpp='$CPP $CPPFLAGS'
47381 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47382 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47383 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47384
47385
47386 fi
47387
47388 fi
47389 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtl_use" >&5
47390 echo "${ECHO_T}$glibcxx_cv_func_sqrtl_use" >&6
47391
47392 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
47393
47394 for ac_func in sqrtl
47395 do
47396 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47397 echo "$as_me:$LINENO: checking for $ac_func" >&5
47398 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47399 if eval "test \"\${$as_ac_var+set}\" = set"; then
47400 echo $ECHO_N "(cached) $ECHO_C" >&6
47401 else
47402 if test x$gcc_no_link = xyes; then
47403 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47404 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47405 { (exit 1); exit 1; }; }
47406 fi
47407 cat >conftest.$ac_ext <<_ACEOF
47408 /* confdefs.h. */
47409 _ACEOF
47410 cat confdefs.h >>conftest.$ac_ext
47411 cat >>conftest.$ac_ext <<_ACEOF
47412 /* end confdefs.h. */
47413 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47414 For example, HP-UX 11i <limits.h> declares gettimeofday. */
47415 #define $ac_func innocuous_$ac_func
47416
47417 /* System header to define __stub macros and hopefully few prototypes,
47418 which can conflict with char $ac_func (); below.
47419 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47420 <limits.h> exists even on freestanding compilers. */
47421
47422 #ifdef __STDC__
47423 # include <limits.h>
47424 #else
47425 # include <assert.h>
47426 #endif
47427
47428 #undef $ac_func
47429
47430 /* Override any gcc2 internal prototype to avoid an error. */
47431 #ifdef __cplusplus
47432 extern "C"
47433 {
47434 #endif
47435 /* We use char because int might match the return type of a gcc2
47436 builtin and then its argument prototype would still apply. */
47437 char $ac_func ();
47438 /* The GNU C library defines this for functions which it implements
47439 to always fail with ENOSYS. Some functions are actually named
47440 something starting with __ and the normal name is an alias. */
47441 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47442 choke me
47443 #else
47444 char (*f) () = $ac_func;
47445 #endif
47446 #ifdef __cplusplus
47447 }
47448 #endif
47449
47450 int
47451 main ()
47452 {
47453 return f != $ac_func;
47454 ;
47455 return 0;
47456 }
47457 _ACEOF
47458 rm -f conftest.$ac_objext conftest$ac_exeext
47459 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47460 (eval $ac_link) 2>conftest.er1
47461 ac_status=$?
47462 grep -v '^ *+' conftest.er1 >conftest.err
47463 rm -f conftest.er1
47464 cat conftest.err >&5
47465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47466 (exit $ac_status); } &&
47467 { ac_try='test -z "$ac_c_werror_flag"
47468 || test ! -s conftest.err'
47469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47470 (eval $ac_try) 2>&5
47471 ac_status=$?
47472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47473 (exit $ac_status); }; } &&
47474 { ac_try='test -s conftest$ac_exeext'
47475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47476 (eval $ac_try) 2>&5
47477 ac_status=$?
47478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47479 (exit $ac_status); }; }; then
47480 eval "$as_ac_var=yes"
47481 else
47482 echo "$as_me: failed program was:" >&5
47483 sed 's/^/| /' conftest.$ac_ext >&5
47484
47485 eval "$as_ac_var=no"
47486 fi
47487 rm -f conftest.err conftest.$ac_objext \
47488 conftest$ac_exeext conftest.$ac_ext
47489 fi
47490 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47491 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47492 if test `eval echo '${'$as_ac_var'}'` = yes; then
47493 cat >>confdefs.h <<_ACEOF
47494 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47495 _ACEOF
47496
47497 fi
47498 done
47499
47500 else
47501
47502 echo "$as_me:$LINENO: checking for _sqrtl declaration" >&5
47503 echo $ECHO_N "checking for _sqrtl declaration... $ECHO_C" >&6
47504 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
47505 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then
47506 echo $ECHO_N "(cached) $ECHO_C" >&6
47507 else
47508
47509
47510
47511 ac_ext=cc
47512 ac_cpp='$CXXCPP $CPPFLAGS'
47513 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47514 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47515 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47516
47517 cat >conftest.$ac_ext <<_ACEOF
47518 /* confdefs.h. */
47519 _ACEOF
47520 cat confdefs.h >>conftest.$ac_ext
47521 cat >>conftest.$ac_ext <<_ACEOF
47522 /* end confdefs.h. */
47523 #include <math.h>
47524 #ifdef HAVE_IEEEFP_H
47525 #include <ieeefp.h>
47526 #endif
47527
47528 int
47529 main ()
47530 {
47531 _sqrtl(0);
47532 ;
47533 return 0;
47534 }
47535 _ACEOF
47536 rm -f conftest.$ac_objext
47537 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47538 (eval $ac_compile) 2>conftest.er1
47539 ac_status=$?
47540 grep -v '^ *+' conftest.er1 >conftest.err
47541 rm -f conftest.er1
47542 cat conftest.err >&5
47543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47544 (exit $ac_status); } &&
47545 { ac_try='test -z "$ac_cxx_werror_flag"
47546 || test ! -s conftest.err'
47547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47548 (eval $ac_try) 2>&5
47549 ac_status=$?
47550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47551 (exit $ac_status); }; } &&
47552 { ac_try='test -s conftest.$ac_objext'
47553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47554 (eval $ac_try) 2>&5
47555 ac_status=$?
47556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47557 (exit $ac_status); }; }; then
47558 glibcxx_cv_func__sqrtl_use=yes
47559 else
47560 echo "$as_me: failed program was:" >&5
47561 sed 's/^/| /' conftest.$ac_ext >&5
47562
47563 glibcxx_cv_func__sqrtl_use=no
47564 fi
47565 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47566 ac_ext=c
47567 ac_cpp='$CPP $CPPFLAGS'
47568 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47569 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47570 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47571
47572
47573 fi
47574
47575 fi
47576 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtl_use" >&5
47577 echo "${ECHO_T}$glibcxx_cv_func__sqrtl_use" >&6
47578
47579 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
47580
47581 for ac_func in _sqrtl
47582 do
47583 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47584 echo "$as_me:$LINENO: checking for $ac_func" >&5
47585 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47586 if eval "test \"\${$as_ac_var+set}\" = set"; then
47587 echo $ECHO_N "(cached) $ECHO_C" >&6
47588 else
47589 if test x$gcc_no_link = xyes; then
47590 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47591 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47592 { (exit 1); exit 1; }; }
47593 fi
47594 cat >conftest.$ac_ext <<_ACEOF
47595 /* confdefs.h. */
47596 _ACEOF
47597 cat confdefs.h >>conftest.$ac_ext
47598 cat >>conftest.$ac_ext <<_ACEOF
47599 /* end confdefs.h. */
47600 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47601 For example, HP-UX 11i <limits.h> declares gettimeofday. */
47602 #define $ac_func innocuous_$ac_func
47603
47604 /* System header to define __stub macros and hopefully few prototypes,
47605 which can conflict with char $ac_func (); below.
47606 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47607 <limits.h> exists even on freestanding compilers. */
47608
47609 #ifdef __STDC__
47610 # include <limits.h>
47611 #else
47612 # include <assert.h>
47613 #endif
47614
47615 #undef $ac_func
47616
47617 /* Override any gcc2 internal prototype to avoid an error. */
47618 #ifdef __cplusplus
47619 extern "C"
47620 {
47621 #endif
47622 /* We use char because int might match the return type of a gcc2
47623 builtin and then its argument prototype would still apply. */
47624 char $ac_func ();
47625 /* The GNU C library defines this for functions which it implements
47626 to always fail with ENOSYS. Some functions are actually named
47627 something starting with __ and the normal name is an alias. */
47628 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47629 choke me
47630 #else
47631 char (*f) () = $ac_func;
47632 #endif
47633 #ifdef __cplusplus
47634 }
47635 #endif
47636
47637 int
47638 main ()
47639 {
47640 return f != $ac_func;
47641 ;
47642 return 0;
47643 }
47644 _ACEOF
47645 rm -f conftest.$ac_objext conftest$ac_exeext
47646 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47647 (eval $ac_link) 2>conftest.er1
47648 ac_status=$?
47649 grep -v '^ *+' conftest.er1 >conftest.err
47650 rm -f conftest.er1
47651 cat conftest.err >&5
47652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47653 (exit $ac_status); } &&
47654 { ac_try='test -z "$ac_c_werror_flag"
47655 || test ! -s conftest.err'
47656 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47657 (eval $ac_try) 2>&5
47658 ac_status=$?
47659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47660 (exit $ac_status); }; } &&
47661 { ac_try='test -s conftest$ac_exeext'
47662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47663 (eval $ac_try) 2>&5
47664 ac_status=$?
47665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47666 (exit $ac_status); }; }; then
47667 eval "$as_ac_var=yes"
47668 else
47669 echo "$as_me: failed program was:" >&5
47670 sed 's/^/| /' conftest.$ac_ext >&5
47671
47672 eval "$as_ac_var=no"
47673 fi
47674 rm -f conftest.err conftest.$ac_objext \
47675 conftest$ac_exeext conftest.$ac_ext
47676 fi
47677 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47678 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47679 if test `eval echo '${'$as_ac_var'}'` = yes; then
47680 cat >>confdefs.h <<_ACEOF
47681 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47682 _ACEOF
47683
47684 fi
47685 done
47686
47687 fi
47688 fi
47689
47690
47691
47692
47693
47694
47695 echo "$as_me:$LINENO: checking for sincosl declaration" >&5
47696 echo $ECHO_N "checking for sincosl declaration... $ECHO_C" >&6
47697 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
47698 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then
47699 echo $ECHO_N "(cached) $ECHO_C" >&6
47700 else
47701
47702
47703
47704 ac_ext=cc
47705 ac_cpp='$CXXCPP $CPPFLAGS'
47706 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47707 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47708 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47709
47710 cat >conftest.$ac_ext <<_ACEOF
47711 /* confdefs.h. */
47712 _ACEOF
47713 cat confdefs.h >>conftest.$ac_ext
47714 cat >>conftest.$ac_ext <<_ACEOF
47715 /* end confdefs.h. */
47716 #include <math.h>
47717 int
47718 main ()
47719 {
47720 sincosl(0, 0, 0);
47721 ;
47722 return 0;
47723 }
47724 _ACEOF
47725 rm -f conftest.$ac_objext
47726 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47727 (eval $ac_compile) 2>conftest.er1
47728 ac_status=$?
47729 grep -v '^ *+' conftest.er1 >conftest.err
47730 rm -f conftest.er1
47731 cat conftest.err >&5
47732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47733 (exit $ac_status); } &&
47734 { ac_try='test -z "$ac_cxx_werror_flag"
47735 || test ! -s conftest.err'
47736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47737 (eval $ac_try) 2>&5
47738 ac_status=$?
47739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47740 (exit $ac_status); }; } &&
47741 { ac_try='test -s conftest.$ac_objext'
47742 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47743 (eval $ac_try) 2>&5
47744 ac_status=$?
47745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47746 (exit $ac_status); }; }; then
47747 glibcxx_cv_func_sincosl_use=yes
47748 else
47749 echo "$as_me: failed program was:" >&5
47750 sed 's/^/| /' conftest.$ac_ext >&5
47751
47752 glibcxx_cv_func_sincosl_use=no
47753 fi
47754 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47755 ac_ext=c
47756 ac_cpp='$CPP $CPPFLAGS'
47757 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47758 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47759 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47760
47761
47762 fi
47763
47764 fi
47765 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosl_use" >&5
47766 echo "${ECHO_T}$glibcxx_cv_func_sincosl_use" >&6
47767
47768 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
47769
47770 for ac_func in sincosl
47771 do
47772 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47773 echo "$as_me:$LINENO: checking for $ac_func" >&5
47774 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47775 if eval "test \"\${$as_ac_var+set}\" = set"; then
47776 echo $ECHO_N "(cached) $ECHO_C" >&6
47777 else
47778 if test x$gcc_no_link = xyes; then
47779 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47780 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47781 { (exit 1); exit 1; }; }
47782 fi
47783 cat >conftest.$ac_ext <<_ACEOF
47784 /* confdefs.h. */
47785 _ACEOF
47786 cat confdefs.h >>conftest.$ac_ext
47787 cat >>conftest.$ac_ext <<_ACEOF
47788 /* end confdefs.h. */
47789 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47790 For example, HP-UX 11i <limits.h> declares gettimeofday. */
47791 #define $ac_func innocuous_$ac_func
47792
47793 /* System header to define __stub macros and hopefully few prototypes,
47794 which can conflict with char $ac_func (); below.
47795 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47796 <limits.h> exists even on freestanding compilers. */
47797
47798 #ifdef __STDC__
47799 # include <limits.h>
47800 #else
47801 # include <assert.h>
47802 #endif
47803
47804 #undef $ac_func
47805
47806 /* Override any gcc2 internal prototype to avoid an error. */
47807 #ifdef __cplusplus
47808 extern "C"
47809 {
47810 #endif
47811 /* We use char because int might match the return type of a gcc2
47812 builtin and then its argument prototype would still apply. */
47813 char $ac_func ();
47814 /* The GNU C library defines this for functions which it implements
47815 to always fail with ENOSYS. Some functions are actually named
47816 something starting with __ and the normal name is an alias. */
47817 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47818 choke me
47819 #else
47820 char (*f) () = $ac_func;
47821 #endif
47822 #ifdef __cplusplus
47823 }
47824 #endif
47825
47826 int
47827 main ()
47828 {
47829 return f != $ac_func;
47830 ;
47831 return 0;
47832 }
47833 _ACEOF
47834 rm -f conftest.$ac_objext conftest$ac_exeext
47835 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47836 (eval $ac_link) 2>conftest.er1
47837 ac_status=$?
47838 grep -v '^ *+' conftest.er1 >conftest.err
47839 rm -f conftest.er1
47840 cat conftest.err >&5
47841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47842 (exit $ac_status); } &&
47843 { ac_try='test -z "$ac_c_werror_flag"
47844 || test ! -s conftest.err'
47845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47846 (eval $ac_try) 2>&5
47847 ac_status=$?
47848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47849 (exit $ac_status); }; } &&
47850 { ac_try='test -s conftest$ac_exeext'
47851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47852 (eval $ac_try) 2>&5
47853 ac_status=$?
47854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47855 (exit $ac_status); }; }; then
47856 eval "$as_ac_var=yes"
47857 else
47858 echo "$as_me: failed program was:" >&5
47859 sed 's/^/| /' conftest.$ac_ext >&5
47860
47861 eval "$as_ac_var=no"
47862 fi
47863 rm -f conftest.err conftest.$ac_objext \
47864 conftest$ac_exeext conftest.$ac_ext
47865 fi
47866 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47867 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47868 if test `eval echo '${'$as_ac_var'}'` = yes; then
47869 cat >>confdefs.h <<_ACEOF
47870 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47871 _ACEOF
47872
47873 fi
47874 done
47875
47876 else
47877
47878 echo "$as_me:$LINENO: checking for _sincosl declaration" >&5
47879 echo $ECHO_N "checking for _sincosl declaration... $ECHO_C" >&6
47880 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
47881 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then
47882 echo $ECHO_N "(cached) $ECHO_C" >&6
47883 else
47884
47885
47886
47887 ac_ext=cc
47888 ac_cpp='$CXXCPP $CPPFLAGS'
47889 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47890 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47891 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47892
47893 cat >conftest.$ac_ext <<_ACEOF
47894 /* confdefs.h. */
47895 _ACEOF
47896 cat confdefs.h >>conftest.$ac_ext
47897 cat >>conftest.$ac_ext <<_ACEOF
47898 /* end confdefs.h. */
47899 #include <math.h>
47900 int
47901 main ()
47902 {
47903 _sincosl(0, 0, 0);
47904 ;
47905 return 0;
47906 }
47907 _ACEOF
47908 rm -f conftest.$ac_objext
47909 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47910 (eval $ac_compile) 2>conftest.er1
47911 ac_status=$?
47912 grep -v '^ *+' conftest.er1 >conftest.err
47913 rm -f conftest.er1
47914 cat conftest.err >&5
47915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47916 (exit $ac_status); } &&
47917 { ac_try='test -z "$ac_cxx_werror_flag"
47918 || test ! -s conftest.err'
47919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47920 (eval $ac_try) 2>&5
47921 ac_status=$?
47922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47923 (exit $ac_status); }; } &&
47924 { ac_try='test -s conftest.$ac_objext'
47925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47926 (eval $ac_try) 2>&5
47927 ac_status=$?
47928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47929 (exit $ac_status); }; }; then
47930 glibcxx_cv_func__sincosl_use=yes
47931 else
47932 echo "$as_me: failed program was:" >&5
47933 sed 's/^/| /' conftest.$ac_ext >&5
47934
47935 glibcxx_cv_func__sincosl_use=no
47936 fi
47937 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47938 ac_ext=c
47939 ac_cpp='$CPP $CPPFLAGS'
47940 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47941 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47942 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47943
47944
47945 fi
47946
47947 fi
47948 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosl_use" >&5
47949 echo "${ECHO_T}$glibcxx_cv_func__sincosl_use" >&6
47950
47951 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
47952
47953 for ac_func in _sincosl
47954 do
47955 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47956 echo "$as_me:$LINENO: checking for $ac_func" >&5
47957 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47958 if eval "test \"\${$as_ac_var+set}\" = set"; then
47959 echo $ECHO_N "(cached) $ECHO_C" >&6
47960 else
47961 if test x$gcc_no_link = xyes; then
47962 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47963 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47964 { (exit 1); exit 1; }; }
47965 fi
47966 cat >conftest.$ac_ext <<_ACEOF
47967 /* confdefs.h. */
47968 _ACEOF
47969 cat confdefs.h >>conftest.$ac_ext
47970 cat >>conftest.$ac_ext <<_ACEOF
47971 /* end confdefs.h. */
47972 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47973 For example, HP-UX 11i <limits.h> declares gettimeofday. */
47974 #define $ac_func innocuous_$ac_func
47975
47976 /* System header to define __stub macros and hopefully few prototypes,
47977 which can conflict with char $ac_func (); below.
47978 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47979 <limits.h> exists even on freestanding compilers. */
47980
47981 #ifdef __STDC__
47982 # include <limits.h>
47983 #else
47984 # include <assert.h>
47985 #endif
47986
47987 #undef $ac_func
47988
47989 /* Override any gcc2 internal prototype to avoid an error. */
47990 #ifdef __cplusplus
47991 extern "C"
47992 {
47993 #endif
47994 /* We use char because int might match the return type of a gcc2
47995 builtin and then its argument prototype would still apply. */
47996 char $ac_func ();
47997 /* The GNU C library defines this for functions which it implements
47998 to always fail with ENOSYS. Some functions are actually named
47999 something starting with __ and the normal name is an alias. */
48000 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48001 choke me
48002 #else
48003 char (*f) () = $ac_func;
48004 #endif
48005 #ifdef __cplusplus
48006 }
48007 #endif
48008
48009 int
48010 main ()
48011 {
48012 return f != $ac_func;
48013 ;
48014 return 0;
48015 }
48016 _ACEOF
48017 rm -f conftest.$ac_objext conftest$ac_exeext
48018 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48019 (eval $ac_link) 2>conftest.er1
48020 ac_status=$?
48021 grep -v '^ *+' conftest.er1 >conftest.err
48022 rm -f conftest.er1
48023 cat conftest.err >&5
48024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48025 (exit $ac_status); } &&
48026 { ac_try='test -z "$ac_c_werror_flag"
48027 || test ! -s conftest.err'
48028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48029 (eval $ac_try) 2>&5
48030 ac_status=$?
48031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48032 (exit $ac_status); }; } &&
48033 { ac_try='test -s conftest$ac_exeext'
48034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48035 (eval $ac_try) 2>&5
48036 ac_status=$?
48037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48038 (exit $ac_status); }; }; then
48039 eval "$as_ac_var=yes"
48040 else
48041 echo "$as_me: failed program was:" >&5
48042 sed 's/^/| /' conftest.$ac_ext >&5
48043
48044 eval "$as_ac_var=no"
48045 fi
48046 rm -f conftest.err conftest.$ac_objext \
48047 conftest$ac_exeext conftest.$ac_ext
48048 fi
48049 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48050 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48051 if test `eval echo '${'$as_ac_var'}'` = yes; then
48052 cat >>confdefs.h <<_ACEOF
48053 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48054 _ACEOF
48055
48056 fi
48057 done
48058
48059 fi
48060 fi
48061
48062
48063
48064
48065
48066
48067 echo "$as_me:$LINENO: checking for finitel declaration" >&5
48068 echo $ECHO_N "checking for finitel declaration... $ECHO_C" >&6
48069 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
48070 if test "${glibcxx_cv_func_finitel_use+set}" = set; then
48071 echo $ECHO_N "(cached) $ECHO_C" >&6
48072 else
48073
48074
48075
48076 ac_ext=cc
48077 ac_cpp='$CXXCPP $CPPFLAGS'
48078 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48079 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48080 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48081
48082 cat >conftest.$ac_ext <<_ACEOF
48083 /* confdefs.h. */
48084 _ACEOF
48085 cat confdefs.h >>conftest.$ac_ext
48086 cat >>conftest.$ac_ext <<_ACEOF
48087 /* end confdefs.h. */
48088 #include <math.h>
48089 #ifdef HAVE_IEEEFP_H
48090 #include <ieeefp.h>
48091 #endif
48092
48093 int
48094 main ()
48095 {
48096 finitel(0);
48097 ;
48098 return 0;
48099 }
48100 _ACEOF
48101 rm -f conftest.$ac_objext
48102 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48103 (eval $ac_compile) 2>conftest.er1
48104 ac_status=$?
48105 grep -v '^ *+' conftest.er1 >conftest.err
48106 rm -f conftest.er1
48107 cat conftest.err >&5
48108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48109 (exit $ac_status); } &&
48110 { ac_try='test -z "$ac_cxx_werror_flag"
48111 || test ! -s conftest.err'
48112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48113 (eval $ac_try) 2>&5
48114 ac_status=$?
48115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48116 (exit $ac_status); }; } &&
48117 { ac_try='test -s conftest.$ac_objext'
48118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48119 (eval $ac_try) 2>&5
48120 ac_status=$?
48121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48122 (exit $ac_status); }; }; then
48123 glibcxx_cv_func_finitel_use=yes
48124 else
48125 echo "$as_me: failed program was:" >&5
48126 sed 's/^/| /' conftest.$ac_ext >&5
48127
48128 glibcxx_cv_func_finitel_use=no
48129 fi
48130 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48131 ac_ext=c
48132 ac_cpp='$CPP $CPPFLAGS'
48133 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48134 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48135 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48136
48137
48138 fi
48139
48140 fi
48141 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitel_use" >&5
48142 echo "${ECHO_T}$glibcxx_cv_func_finitel_use" >&6
48143
48144 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
48145
48146 for ac_func in finitel
48147 do
48148 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48149 echo "$as_me:$LINENO: checking for $ac_func" >&5
48150 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48151 if eval "test \"\${$as_ac_var+set}\" = set"; then
48152 echo $ECHO_N "(cached) $ECHO_C" >&6
48153 else
48154 if test x$gcc_no_link = xyes; then
48155 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48156 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48157 { (exit 1); exit 1; }; }
48158 fi
48159 cat >conftest.$ac_ext <<_ACEOF
48160 /* confdefs.h. */
48161 _ACEOF
48162 cat confdefs.h >>conftest.$ac_ext
48163 cat >>conftest.$ac_ext <<_ACEOF
48164 /* end confdefs.h. */
48165 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48166 For example, HP-UX 11i <limits.h> declares gettimeofday. */
48167 #define $ac_func innocuous_$ac_func
48168
48169 /* System header to define __stub macros and hopefully few prototypes,
48170 which can conflict with char $ac_func (); below.
48171 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48172 <limits.h> exists even on freestanding compilers. */
48173
48174 #ifdef __STDC__
48175 # include <limits.h>
48176 #else
48177 # include <assert.h>
48178 #endif
48179
48180 #undef $ac_func
48181
48182 /* Override any gcc2 internal prototype to avoid an error. */
48183 #ifdef __cplusplus
48184 extern "C"
48185 {
48186 #endif
48187 /* We use char because int might match the return type of a gcc2
48188 builtin and then its argument prototype would still apply. */
48189 char $ac_func ();
48190 /* The GNU C library defines this for functions which it implements
48191 to always fail with ENOSYS. Some functions are actually named
48192 something starting with __ and the normal name is an alias. */
48193 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48194 choke me
48195 #else
48196 char (*f) () = $ac_func;
48197 #endif
48198 #ifdef __cplusplus
48199 }
48200 #endif
48201
48202 int
48203 main ()
48204 {
48205 return f != $ac_func;
48206 ;
48207 return 0;
48208 }
48209 _ACEOF
48210 rm -f conftest.$ac_objext conftest$ac_exeext
48211 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48212 (eval $ac_link) 2>conftest.er1
48213 ac_status=$?
48214 grep -v '^ *+' conftest.er1 >conftest.err
48215 rm -f conftest.er1
48216 cat conftest.err >&5
48217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48218 (exit $ac_status); } &&
48219 { ac_try='test -z "$ac_c_werror_flag"
48220 || test ! -s conftest.err'
48221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48222 (eval $ac_try) 2>&5
48223 ac_status=$?
48224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48225 (exit $ac_status); }; } &&
48226 { ac_try='test -s conftest$ac_exeext'
48227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48228 (eval $ac_try) 2>&5
48229 ac_status=$?
48230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48231 (exit $ac_status); }; }; then
48232 eval "$as_ac_var=yes"
48233 else
48234 echo "$as_me: failed program was:" >&5
48235 sed 's/^/| /' conftest.$ac_ext >&5
48236
48237 eval "$as_ac_var=no"
48238 fi
48239 rm -f conftest.err conftest.$ac_objext \
48240 conftest$ac_exeext conftest.$ac_ext
48241 fi
48242 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48243 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48244 if test `eval echo '${'$as_ac_var'}'` = yes; then
48245 cat >>confdefs.h <<_ACEOF
48246 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48247 _ACEOF
48248
48249 fi
48250 done
48251
48252 else
48253
48254 echo "$as_me:$LINENO: checking for _finitel declaration" >&5
48255 echo $ECHO_N "checking for _finitel declaration... $ECHO_C" >&6
48256 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
48257 if test "${glibcxx_cv_func__finitel_use+set}" = set; then
48258 echo $ECHO_N "(cached) $ECHO_C" >&6
48259 else
48260
48261
48262
48263 ac_ext=cc
48264 ac_cpp='$CXXCPP $CPPFLAGS'
48265 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48266 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48267 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48268
48269 cat >conftest.$ac_ext <<_ACEOF
48270 /* confdefs.h. */
48271 _ACEOF
48272 cat confdefs.h >>conftest.$ac_ext
48273 cat >>conftest.$ac_ext <<_ACEOF
48274 /* end confdefs.h. */
48275 #include <math.h>
48276 #ifdef HAVE_IEEEFP_H
48277 #include <ieeefp.h>
48278 #endif
48279
48280 int
48281 main ()
48282 {
48283 _finitel(0);
48284 ;
48285 return 0;
48286 }
48287 _ACEOF
48288 rm -f conftest.$ac_objext
48289 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48290 (eval $ac_compile) 2>conftest.er1
48291 ac_status=$?
48292 grep -v '^ *+' conftest.er1 >conftest.err
48293 rm -f conftest.er1
48294 cat conftest.err >&5
48295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48296 (exit $ac_status); } &&
48297 { ac_try='test -z "$ac_cxx_werror_flag"
48298 || test ! -s conftest.err'
48299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48300 (eval $ac_try) 2>&5
48301 ac_status=$?
48302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48303 (exit $ac_status); }; } &&
48304 { ac_try='test -s conftest.$ac_objext'
48305 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48306 (eval $ac_try) 2>&5
48307 ac_status=$?
48308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48309 (exit $ac_status); }; }; then
48310 glibcxx_cv_func__finitel_use=yes
48311 else
48312 echo "$as_me: failed program was:" >&5
48313 sed 's/^/| /' conftest.$ac_ext >&5
48314
48315 glibcxx_cv_func__finitel_use=no
48316 fi
48317 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48318 ac_ext=c
48319 ac_cpp='$CPP $CPPFLAGS'
48320 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48321 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48322 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48323
48324
48325 fi
48326
48327 fi
48328 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitel_use" >&5
48329 echo "${ECHO_T}$glibcxx_cv_func__finitel_use" >&6
48330
48331 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
48332
48333 for ac_func in _finitel
48334 do
48335 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48336 echo "$as_me:$LINENO: checking for $ac_func" >&5
48337 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48338 if eval "test \"\${$as_ac_var+set}\" = set"; then
48339 echo $ECHO_N "(cached) $ECHO_C" >&6
48340 else
48341 if test x$gcc_no_link = xyes; then
48342 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48343 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48344 { (exit 1); exit 1; }; }
48345 fi
48346 cat >conftest.$ac_ext <<_ACEOF
48347 /* confdefs.h. */
48348 _ACEOF
48349 cat confdefs.h >>conftest.$ac_ext
48350 cat >>conftest.$ac_ext <<_ACEOF
48351 /* end confdefs.h. */
48352 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48353 For example, HP-UX 11i <limits.h> declares gettimeofday. */
48354 #define $ac_func innocuous_$ac_func
48355
48356 /* System header to define __stub macros and hopefully few prototypes,
48357 which can conflict with char $ac_func (); below.
48358 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48359 <limits.h> exists even on freestanding compilers. */
48360
48361 #ifdef __STDC__
48362 # include <limits.h>
48363 #else
48364 # include <assert.h>
48365 #endif
48366
48367 #undef $ac_func
48368
48369 /* Override any gcc2 internal prototype to avoid an error. */
48370 #ifdef __cplusplus
48371 extern "C"
48372 {
48373 #endif
48374 /* We use char because int might match the return type of a gcc2
48375 builtin and then its argument prototype would still apply. */
48376 char $ac_func ();
48377 /* The GNU C library defines this for functions which it implements
48378 to always fail with ENOSYS. Some functions are actually named
48379 something starting with __ and the normal name is an alias. */
48380 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48381 choke me
48382 #else
48383 char (*f) () = $ac_func;
48384 #endif
48385 #ifdef __cplusplus
48386 }
48387 #endif
48388
48389 int
48390 main ()
48391 {
48392 return f != $ac_func;
48393 ;
48394 return 0;
48395 }
48396 _ACEOF
48397 rm -f conftest.$ac_objext conftest$ac_exeext
48398 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48399 (eval $ac_link) 2>conftest.er1
48400 ac_status=$?
48401 grep -v '^ *+' conftest.er1 >conftest.err
48402 rm -f conftest.er1
48403 cat conftest.err >&5
48404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48405 (exit $ac_status); } &&
48406 { ac_try='test -z "$ac_c_werror_flag"
48407 || test ! -s conftest.err'
48408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48409 (eval $ac_try) 2>&5
48410 ac_status=$?
48411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48412 (exit $ac_status); }; } &&
48413 { ac_try='test -s conftest$ac_exeext'
48414 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48415 (eval $ac_try) 2>&5
48416 ac_status=$?
48417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48418 (exit $ac_status); }; }; then
48419 eval "$as_ac_var=yes"
48420 else
48421 echo "$as_me: failed program was:" >&5
48422 sed 's/^/| /' conftest.$ac_ext >&5
48423
48424 eval "$as_ac_var=no"
48425 fi
48426 rm -f conftest.err conftest.$ac_objext \
48427 conftest$ac_exeext conftest.$ac_ext
48428 fi
48429 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48430 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48431 if test `eval echo '${'$as_ac_var'}'` = yes; then
48432 cat >>confdefs.h <<_ACEOF
48433 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48434 _ACEOF
48435
48436 fi
48437 done
48438
48439 fi
48440 fi
48441
48442
48443
48444
48445
48446 LIBS="$ac_save_LIBS"
48447 CXXFLAGS="$ac_save_CXXFLAGS"
48448
48449
48450
48451 echo "$as_me:$LINENO: checking for __builtin_abs declaration" >&5
48452 echo $ECHO_N "checking for __builtin_abs declaration... $ECHO_C" >&6
48453 if test x${glibcxx_cv_func___builtin_abs_use+set} != xset; then
48454 if test "${glibcxx_cv_func___builtin_abs_use+set}" = set; then
48455 echo $ECHO_N "(cached) $ECHO_C" >&6
48456 else
48457
48458
48459
48460 ac_ext=cc
48461 ac_cpp='$CXXCPP $CPPFLAGS'
48462 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48463 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48464 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48465
48466 cat >conftest.$ac_ext <<_ACEOF
48467 /* confdefs.h. */
48468 _ACEOF
48469 cat confdefs.h >>conftest.$ac_ext
48470 cat >>conftest.$ac_ext <<_ACEOF
48471 /* end confdefs.h. */
48472 #include <math.h>
48473 int
48474 main ()
48475 {
48476 __builtin_abs(0);
48477 ;
48478 return 0;
48479 }
48480 _ACEOF
48481 rm -f conftest.$ac_objext
48482 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48483 (eval $ac_compile) 2>conftest.er1
48484 ac_status=$?
48485 grep -v '^ *+' conftest.er1 >conftest.err
48486 rm -f conftest.er1
48487 cat conftest.err >&5
48488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48489 (exit $ac_status); } &&
48490 { ac_try='test -z "$ac_cxx_werror_flag"
48491 || test ! -s conftest.err'
48492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48493 (eval $ac_try) 2>&5
48494 ac_status=$?
48495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48496 (exit $ac_status); }; } &&
48497 { ac_try='test -s conftest.$ac_objext'
48498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48499 (eval $ac_try) 2>&5
48500 ac_status=$?
48501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48502 (exit $ac_status); }; }; then
48503 glibcxx_cv_func___builtin_abs_use=yes
48504 else
48505 echo "$as_me: failed program was:" >&5
48506 sed 's/^/| /' conftest.$ac_ext >&5
48507
48508 glibcxx_cv_func___builtin_abs_use=no
48509 fi
48510 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48511 ac_ext=c
48512 ac_cpp='$CPP $CPPFLAGS'
48513 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48514 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48515 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48516
48517
48518 fi
48519
48520 fi
48521 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_use" >&5
48522 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_use" >&6
48523 if test x$glibcxx_cv_func___builtin_abs_use = x"yes"; then
48524 echo "$as_me:$LINENO: checking for __builtin_abs linkage" >&5
48525 echo $ECHO_N "checking for __builtin_abs linkage... $ECHO_C" >&6
48526 if test x${glibcxx_cv_func___builtin_abs_link+set} != xset; then
48527 if test "${glibcxx_cv_func___builtin_abs_link+set}" = set; then
48528 echo $ECHO_N "(cached) $ECHO_C" >&6
48529 else
48530
48531 if test x$gcc_no_link = xyes; then
48532 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48533 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48534 { (exit 1); exit 1; }; }
48535 fi
48536 cat >conftest.$ac_ext <<_ACEOF
48537 /* confdefs.h. */
48538 _ACEOF
48539 cat confdefs.h >>conftest.$ac_ext
48540 cat >>conftest.$ac_ext <<_ACEOF
48541 /* end confdefs.h. */
48542 #include <math.h>
48543 int
48544 main ()
48545 {
48546 __builtin_abs(0);
48547 ;
48548 return 0;
48549 }
48550 _ACEOF
48551 rm -f conftest.$ac_objext conftest$ac_exeext
48552 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48553 (eval $ac_link) 2>conftest.er1
48554 ac_status=$?
48555 grep -v '^ *+' conftest.er1 >conftest.err
48556 rm -f conftest.er1
48557 cat conftest.err >&5
48558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48559 (exit $ac_status); } &&
48560 { ac_try='test -z "$ac_c_werror_flag"
48561 || test ! -s conftest.err'
48562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48563 (eval $ac_try) 2>&5
48564 ac_status=$?
48565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48566 (exit $ac_status); }; } &&
48567 { ac_try='test -s conftest$ac_exeext'
48568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48569 (eval $ac_try) 2>&5
48570 ac_status=$?
48571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48572 (exit $ac_status); }; }; then
48573 glibcxx_cv_func___builtin_abs_link=yes
48574 else
48575 echo "$as_me: failed program was:" >&5
48576 sed 's/^/| /' conftest.$ac_ext >&5
48577
48578 glibcxx_cv_func___builtin_abs_link=no
48579 fi
48580 rm -f conftest.err conftest.$ac_objext \
48581 conftest$ac_exeext conftest.$ac_ext
48582
48583 fi
48584
48585 fi
48586 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_link" >&5
48587 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_link" >&6
48588
48589 if test x$glibcxx_cv_func___builtin_abs_link = x"yes"; then
48590
48591 cat >>confdefs.h <<\_ACEOF
48592 #define HAVE___BUILTIN_ABS 1
48593 _ACEOF
48594
48595 fi
48596
48597 fi
48598
48599
48600 echo "$as_me:$LINENO: checking for __builtin_fabsf declaration" >&5
48601 echo $ECHO_N "checking for __builtin_fabsf declaration... $ECHO_C" >&6
48602 if test x${glibcxx_cv_func___builtin_fabsf_use+set} != xset; then
48603 if test "${glibcxx_cv_func___builtin_fabsf_use+set}" = set; then
48604 echo $ECHO_N "(cached) $ECHO_C" >&6
48605 else
48606
48607
48608
48609 ac_ext=cc
48610 ac_cpp='$CXXCPP $CPPFLAGS'
48611 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48612 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48613 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48614
48615 cat >conftest.$ac_ext <<_ACEOF
48616 /* confdefs.h. */
48617 _ACEOF
48618 cat confdefs.h >>conftest.$ac_ext
48619 cat >>conftest.$ac_ext <<_ACEOF
48620 /* end confdefs.h. */
48621 #include <math.h>
48622 int
48623 main ()
48624 {
48625 __builtin_fabsf(0);
48626 ;
48627 return 0;
48628 }
48629 _ACEOF
48630 rm -f conftest.$ac_objext
48631 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48632 (eval $ac_compile) 2>conftest.er1
48633 ac_status=$?
48634 grep -v '^ *+' conftest.er1 >conftest.err
48635 rm -f conftest.er1
48636 cat conftest.err >&5
48637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48638 (exit $ac_status); } &&
48639 { ac_try='test -z "$ac_cxx_werror_flag"
48640 || test ! -s conftest.err'
48641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48642 (eval $ac_try) 2>&5
48643 ac_status=$?
48644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48645 (exit $ac_status); }; } &&
48646 { ac_try='test -s conftest.$ac_objext'
48647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48648 (eval $ac_try) 2>&5
48649 ac_status=$?
48650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48651 (exit $ac_status); }; }; then
48652 glibcxx_cv_func___builtin_fabsf_use=yes
48653 else
48654 echo "$as_me: failed program was:" >&5
48655 sed 's/^/| /' conftest.$ac_ext >&5
48656
48657 glibcxx_cv_func___builtin_fabsf_use=no
48658 fi
48659 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48660 ac_ext=c
48661 ac_cpp='$CPP $CPPFLAGS'
48662 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48663 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48664 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48665
48666
48667 fi
48668
48669 fi
48670 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_use" >&5
48671 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_use" >&6
48672 if test x$glibcxx_cv_func___builtin_fabsf_use = x"yes"; then
48673 echo "$as_me:$LINENO: checking for __builtin_fabsf linkage" >&5
48674 echo $ECHO_N "checking for __builtin_fabsf linkage... $ECHO_C" >&6
48675 if test x${glibcxx_cv_func___builtin_fabsf_link+set} != xset; then
48676 if test "${glibcxx_cv_func___builtin_fabsf_link+set}" = set; then
48677 echo $ECHO_N "(cached) $ECHO_C" >&6
48678 else
48679
48680 if test x$gcc_no_link = xyes; then
48681 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48682 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48683 { (exit 1); exit 1; }; }
48684 fi
48685 cat >conftest.$ac_ext <<_ACEOF
48686 /* confdefs.h. */
48687 _ACEOF
48688 cat confdefs.h >>conftest.$ac_ext
48689 cat >>conftest.$ac_ext <<_ACEOF
48690 /* end confdefs.h. */
48691 #include <math.h>
48692 int
48693 main ()
48694 {
48695 __builtin_fabsf(0);
48696 ;
48697 return 0;
48698 }
48699 _ACEOF
48700 rm -f conftest.$ac_objext conftest$ac_exeext
48701 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48702 (eval $ac_link) 2>conftest.er1
48703 ac_status=$?
48704 grep -v '^ *+' conftest.er1 >conftest.err
48705 rm -f conftest.er1
48706 cat conftest.err >&5
48707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48708 (exit $ac_status); } &&
48709 { ac_try='test -z "$ac_c_werror_flag"
48710 || test ! -s conftest.err'
48711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48712 (eval $ac_try) 2>&5
48713 ac_status=$?
48714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48715 (exit $ac_status); }; } &&
48716 { ac_try='test -s conftest$ac_exeext'
48717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48718 (eval $ac_try) 2>&5
48719 ac_status=$?
48720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48721 (exit $ac_status); }; }; then
48722 glibcxx_cv_func___builtin_fabsf_link=yes
48723 else
48724 echo "$as_me: failed program was:" >&5
48725 sed 's/^/| /' conftest.$ac_ext >&5
48726
48727 glibcxx_cv_func___builtin_fabsf_link=no
48728 fi
48729 rm -f conftest.err conftest.$ac_objext \
48730 conftest$ac_exeext conftest.$ac_ext
48731
48732 fi
48733
48734 fi
48735 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_link" >&5
48736 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_link" >&6
48737
48738 if test x$glibcxx_cv_func___builtin_fabsf_link = x"yes"; then
48739
48740 cat >>confdefs.h <<\_ACEOF
48741 #define HAVE___BUILTIN_FABSF 1
48742 _ACEOF
48743
48744 fi
48745
48746 fi
48747
48748
48749 echo "$as_me:$LINENO: checking for __builtin_fabs declaration" >&5
48750 echo $ECHO_N "checking for __builtin_fabs declaration... $ECHO_C" >&6
48751 if test x${glibcxx_cv_func___builtin_fabs_use+set} != xset; then
48752 if test "${glibcxx_cv_func___builtin_fabs_use+set}" = set; then
48753 echo $ECHO_N "(cached) $ECHO_C" >&6
48754 else
48755
48756
48757
48758 ac_ext=cc
48759 ac_cpp='$CXXCPP $CPPFLAGS'
48760 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48761 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48762 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48763
48764 cat >conftest.$ac_ext <<_ACEOF
48765 /* confdefs.h. */
48766 _ACEOF
48767 cat confdefs.h >>conftest.$ac_ext
48768 cat >>conftest.$ac_ext <<_ACEOF
48769 /* end confdefs.h. */
48770 #include <math.h>
48771 int
48772 main ()
48773 {
48774 __builtin_fabs(0);
48775 ;
48776 return 0;
48777 }
48778 _ACEOF
48779 rm -f conftest.$ac_objext
48780 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48781 (eval $ac_compile) 2>conftest.er1
48782 ac_status=$?
48783 grep -v '^ *+' conftest.er1 >conftest.err
48784 rm -f conftest.er1
48785 cat conftest.err >&5
48786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48787 (exit $ac_status); } &&
48788 { ac_try='test -z "$ac_cxx_werror_flag"
48789 || test ! -s conftest.err'
48790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48791 (eval $ac_try) 2>&5
48792 ac_status=$?
48793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48794 (exit $ac_status); }; } &&
48795 { ac_try='test -s conftest.$ac_objext'
48796 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48797 (eval $ac_try) 2>&5
48798 ac_status=$?
48799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48800 (exit $ac_status); }; }; then
48801 glibcxx_cv_func___builtin_fabs_use=yes
48802 else
48803 echo "$as_me: failed program was:" >&5
48804 sed 's/^/| /' conftest.$ac_ext >&5
48805
48806 glibcxx_cv_func___builtin_fabs_use=no
48807 fi
48808 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48809 ac_ext=c
48810 ac_cpp='$CPP $CPPFLAGS'
48811 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48812 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48813 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48814
48815
48816 fi
48817
48818 fi
48819 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_use" >&5
48820 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_use" >&6
48821 if test x$glibcxx_cv_func___builtin_fabs_use = x"yes"; then
48822 echo "$as_me:$LINENO: checking for __builtin_fabs linkage" >&5
48823 echo $ECHO_N "checking for __builtin_fabs linkage... $ECHO_C" >&6
48824 if test x${glibcxx_cv_func___builtin_fabs_link+set} != xset; then
48825 if test "${glibcxx_cv_func___builtin_fabs_link+set}" = set; then
48826 echo $ECHO_N "(cached) $ECHO_C" >&6
48827 else
48828
48829 if test x$gcc_no_link = xyes; then
48830 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48831 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48832 { (exit 1); exit 1; }; }
48833 fi
48834 cat >conftest.$ac_ext <<_ACEOF
48835 /* confdefs.h. */
48836 _ACEOF
48837 cat confdefs.h >>conftest.$ac_ext
48838 cat >>conftest.$ac_ext <<_ACEOF
48839 /* end confdefs.h. */
48840 #include <math.h>
48841 int
48842 main ()
48843 {
48844 __builtin_fabs(0);
48845 ;
48846 return 0;
48847 }
48848 _ACEOF
48849 rm -f conftest.$ac_objext conftest$ac_exeext
48850 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48851 (eval $ac_link) 2>conftest.er1
48852 ac_status=$?
48853 grep -v '^ *+' conftest.er1 >conftest.err
48854 rm -f conftest.er1
48855 cat conftest.err >&5
48856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48857 (exit $ac_status); } &&
48858 { ac_try='test -z "$ac_c_werror_flag"
48859 || test ! -s conftest.err'
48860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48861 (eval $ac_try) 2>&5
48862 ac_status=$?
48863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48864 (exit $ac_status); }; } &&
48865 { ac_try='test -s conftest$ac_exeext'
48866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48867 (eval $ac_try) 2>&5
48868 ac_status=$?
48869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48870 (exit $ac_status); }; }; then
48871 glibcxx_cv_func___builtin_fabs_link=yes
48872 else
48873 echo "$as_me: failed program was:" >&5
48874 sed 's/^/| /' conftest.$ac_ext >&5
48875
48876 glibcxx_cv_func___builtin_fabs_link=no
48877 fi
48878 rm -f conftest.err conftest.$ac_objext \
48879 conftest$ac_exeext conftest.$ac_ext
48880
48881 fi
48882
48883 fi
48884 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_link" >&5
48885 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_link" >&6
48886
48887 if test x$glibcxx_cv_func___builtin_fabs_link = x"yes"; then
48888
48889 cat >>confdefs.h <<\_ACEOF
48890 #define HAVE___BUILTIN_FABS 1
48891 _ACEOF
48892
48893 fi
48894
48895 fi
48896
48897
48898 echo "$as_me:$LINENO: checking for __builtin_fabsl declaration" >&5
48899 echo $ECHO_N "checking for __builtin_fabsl declaration... $ECHO_C" >&6
48900 if test x${glibcxx_cv_func___builtin_fabsl_use+set} != xset; then
48901 if test "${glibcxx_cv_func___builtin_fabsl_use+set}" = set; then
48902 echo $ECHO_N "(cached) $ECHO_C" >&6
48903 else
48904
48905
48906
48907 ac_ext=cc
48908 ac_cpp='$CXXCPP $CPPFLAGS'
48909 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48910 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48911 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48912
48913 cat >conftest.$ac_ext <<_ACEOF
48914 /* confdefs.h. */
48915 _ACEOF
48916 cat confdefs.h >>conftest.$ac_ext
48917 cat >>conftest.$ac_ext <<_ACEOF
48918 /* end confdefs.h. */
48919 #include <math.h>
48920 int
48921 main ()
48922 {
48923 __builtin_fabsl(0);
48924 ;
48925 return 0;
48926 }
48927 _ACEOF
48928 rm -f conftest.$ac_objext
48929 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48930 (eval $ac_compile) 2>conftest.er1
48931 ac_status=$?
48932 grep -v '^ *+' conftest.er1 >conftest.err
48933 rm -f conftest.er1
48934 cat conftest.err >&5
48935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48936 (exit $ac_status); } &&
48937 { ac_try='test -z "$ac_cxx_werror_flag"
48938 || test ! -s conftest.err'
48939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48940 (eval $ac_try) 2>&5
48941 ac_status=$?
48942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48943 (exit $ac_status); }; } &&
48944 { ac_try='test -s conftest.$ac_objext'
48945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48946 (eval $ac_try) 2>&5
48947 ac_status=$?
48948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48949 (exit $ac_status); }; }; then
48950 glibcxx_cv_func___builtin_fabsl_use=yes
48951 else
48952 echo "$as_me: failed program was:" >&5
48953 sed 's/^/| /' conftest.$ac_ext >&5
48954
48955 glibcxx_cv_func___builtin_fabsl_use=no
48956 fi
48957 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48958 ac_ext=c
48959 ac_cpp='$CPP $CPPFLAGS'
48960 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48961 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48962 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48963
48964
48965 fi
48966
48967 fi
48968 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_use" >&5
48969 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_use" >&6
48970 if test x$glibcxx_cv_func___builtin_fabsl_use = x"yes"; then
48971 echo "$as_me:$LINENO: checking for __builtin_fabsl linkage" >&5
48972 echo $ECHO_N "checking for __builtin_fabsl linkage... $ECHO_C" >&6
48973 if test x${glibcxx_cv_func___builtin_fabsl_link+set} != xset; then
48974 if test "${glibcxx_cv_func___builtin_fabsl_link+set}" = set; then
48975 echo $ECHO_N "(cached) $ECHO_C" >&6
48976 else
48977
48978 if test x$gcc_no_link = xyes; then
48979 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48980 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48981 { (exit 1); exit 1; }; }
48982 fi
48983 cat >conftest.$ac_ext <<_ACEOF
48984 /* confdefs.h. */
48985 _ACEOF
48986 cat confdefs.h >>conftest.$ac_ext
48987 cat >>conftest.$ac_ext <<_ACEOF
48988 /* end confdefs.h. */
48989 #include <math.h>
48990 int
48991 main ()
48992 {
48993 __builtin_fabsl(0);
48994 ;
48995 return 0;
48996 }
48997 _ACEOF
48998 rm -f conftest.$ac_objext conftest$ac_exeext
48999 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49000 (eval $ac_link) 2>conftest.er1
49001 ac_status=$?
49002 grep -v '^ *+' conftest.er1 >conftest.err
49003 rm -f conftest.er1
49004 cat conftest.err >&5
49005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49006 (exit $ac_status); } &&
49007 { ac_try='test -z "$ac_c_werror_flag"
49008 || test ! -s conftest.err'
49009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49010 (eval $ac_try) 2>&5
49011 ac_status=$?
49012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49013 (exit $ac_status); }; } &&
49014 { ac_try='test -s conftest$ac_exeext'
49015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49016 (eval $ac_try) 2>&5
49017 ac_status=$?
49018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49019 (exit $ac_status); }; }; then
49020 glibcxx_cv_func___builtin_fabsl_link=yes
49021 else
49022 echo "$as_me: failed program was:" >&5
49023 sed 's/^/| /' conftest.$ac_ext >&5
49024
49025 glibcxx_cv_func___builtin_fabsl_link=no
49026 fi
49027 rm -f conftest.err conftest.$ac_objext \
49028 conftest$ac_exeext conftest.$ac_ext
49029
49030 fi
49031
49032 fi
49033 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_link" >&5
49034 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_link" >&6
49035
49036 if test x$glibcxx_cv_func___builtin_fabsl_link = x"yes"; then
49037
49038 cat >>confdefs.h <<\_ACEOF
49039 #define HAVE___BUILTIN_FABSL 1
49040 _ACEOF
49041
49042 fi
49043
49044 fi
49045
49046
49047 echo "$as_me:$LINENO: checking for __builtin_labs declaration" >&5
49048 echo $ECHO_N "checking for __builtin_labs declaration... $ECHO_C" >&6
49049 if test x${glibcxx_cv_func___builtin_labs_use+set} != xset; then
49050 if test "${glibcxx_cv_func___builtin_labs_use+set}" = set; then
49051 echo $ECHO_N "(cached) $ECHO_C" >&6
49052 else
49053
49054
49055
49056 ac_ext=cc
49057 ac_cpp='$CXXCPP $CPPFLAGS'
49058 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49059 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49060 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49061
49062 cat >conftest.$ac_ext <<_ACEOF
49063 /* confdefs.h. */
49064 _ACEOF
49065 cat confdefs.h >>conftest.$ac_ext
49066 cat >>conftest.$ac_ext <<_ACEOF
49067 /* end confdefs.h. */
49068 #include <math.h>
49069 int
49070 main ()
49071 {
49072 __builtin_labs(0);
49073 ;
49074 return 0;
49075 }
49076 _ACEOF
49077 rm -f conftest.$ac_objext
49078 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49079 (eval $ac_compile) 2>conftest.er1
49080 ac_status=$?
49081 grep -v '^ *+' conftest.er1 >conftest.err
49082 rm -f conftest.er1
49083 cat conftest.err >&5
49084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49085 (exit $ac_status); } &&
49086 { ac_try='test -z "$ac_cxx_werror_flag"
49087 || test ! -s conftest.err'
49088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49089 (eval $ac_try) 2>&5
49090 ac_status=$?
49091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49092 (exit $ac_status); }; } &&
49093 { ac_try='test -s conftest.$ac_objext'
49094 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49095 (eval $ac_try) 2>&5
49096 ac_status=$?
49097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49098 (exit $ac_status); }; }; then
49099 glibcxx_cv_func___builtin_labs_use=yes
49100 else
49101 echo "$as_me: failed program was:" >&5
49102 sed 's/^/| /' conftest.$ac_ext >&5
49103
49104 glibcxx_cv_func___builtin_labs_use=no
49105 fi
49106 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49107 ac_ext=c
49108 ac_cpp='$CPP $CPPFLAGS'
49109 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49110 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49111 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49112
49113
49114 fi
49115
49116 fi
49117 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_use" >&5
49118 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_use" >&6
49119 if test x$glibcxx_cv_func___builtin_labs_use = x"yes"; then
49120 echo "$as_me:$LINENO: checking for __builtin_labs linkage" >&5
49121 echo $ECHO_N "checking for __builtin_labs linkage... $ECHO_C" >&6
49122 if test x${glibcxx_cv_func___builtin_labs_link+set} != xset; then
49123 if test "${glibcxx_cv_func___builtin_labs_link+set}" = set; then
49124 echo $ECHO_N "(cached) $ECHO_C" >&6
49125 else
49126
49127 if test x$gcc_no_link = xyes; then
49128 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49129 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49130 { (exit 1); exit 1; }; }
49131 fi
49132 cat >conftest.$ac_ext <<_ACEOF
49133 /* confdefs.h. */
49134 _ACEOF
49135 cat confdefs.h >>conftest.$ac_ext
49136 cat >>conftest.$ac_ext <<_ACEOF
49137 /* end confdefs.h. */
49138 #include <math.h>
49139 int
49140 main ()
49141 {
49142 __builtin_labs(0);
49143 ;
49144 return 0;
49145 }
49146 _ACEOF
49147 rm -f conftest.$ac_objext conftest$ac_exeext
49148 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49149 (eval $ac_link) 2>conftest.er1
49150 ac_status=$?
49151 grep -v '^ *+' conftest.er1 >conftest.err
49152 rm -f conftest.er1
49153 cat conftest.err >&5
49154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49155 (exit $ac_status); } &&
49156 { ac_try='test -z "$ac_c_werror_flag"
49157 || test ! -s conftest.err'
49158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49159 (eval $ac_try) 2>&5
49160 ac_status=$?
49161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49162 (exit $ac_status); }; } &&
49163 { ac_try='test -s conftest$ac_exeext'
49164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49165 (eval $ac_try) 2>&5
49166 ac_status=$?
49167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49168 (exit $ac_status); }; }; then
49169 glibcxx_cv_func___builtin_labs_link=yes
49170 else
49171 echo "$as_me: failed program was:" >&5
49172 sed 's/^/| /' conftest.$ac_ext >&5
49173
49174 glibcxx_cv_func___builtin_labs_link=no
49175 fi
49176 rm -f conftest.err conftest.$ac_objext \
49177 conftest$ac_exeext conftest.$ac_ext
49178
49179 fi
49180
49181 fi
49182 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_link" >&5
49183 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_link" >&6
49184
49185 if test x$glibcxx_cv_func___builtin_labs_link = x"yes"; then
49186
49187 cat >>confdefs.h <<\_ACEOF
49188 #define HAVE___BUILTIN_LABS 1
49189 _ACEOF
49190
49191 fi
49192
49193 fi
49194
49195
49196
49197 echo "$as_me:$LINENO: checking for __builtin_sqrtf declaration" >&5
49198 echo $ECHO_N "checking for __builtin_sqrtf declaration... $ECHO_C" >&6
49199 if test x${glibcxx_cv_func___builtin_sqrtf_use+set} != xset; then
49200 if test "${glibcxx_cv_func___builtin_sqrtf_use+set}" = set; then
49201 echo $ECHO_N "(cached) $ECHO_C" >&6
49202 else
49203
49204
49205
49206 ac_ext=cc
49207 ac_cpp='$CXXCPP $CPPFLAGS'
49208 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49209 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49210 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49211
49212 cat >conftest.$ac_ext <<_ACEOF
49213 /* confdefs.h. */
49214 _ACEOF
49215 cat confdefs.h >>conftest.$ac_ext
49216 cat >>conftest.$ac_ext <<_ACEOF
49217 /* end confdefs.h. */
49218 #include <math.h>
49219 int
49220 main ()
49221 {
49222 __builtin_sqrtf(0);
49223 ;
49224 return 0;
49225 }
49226 _ACEOF
49227 rm -f conftest.$ac_objext
49228 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49229 (eval $ac_compile) 2>conftest.er1
49230 ac_status=$?
49231 grep -v '^ *+' conftest.er1 >conftest.err
49232 rm -f conftest.er1
49233 cat conftest.err >&5
49234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49235 (exit $ac_status); } &&
49236 { ac_try='test -z "$ac_cxx_werror_flag"
49237 || test ! -s conftest.err'
49238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49239 (eval $ac_try) 2>&5
49240 ac_status=$?
49241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49242 (exit $ac_status); }; } &&
49243 { ac_try='test -s conftest.$ac_objext'
49244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49245 (eval $ac_try) 2>&5
49246 ac_status=$?
49247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49248 (exit $ac_status); }; }; then
49249 glibcxx_cv_func___builtin_sqrtf_use=yes
49250 else
49251 echo "$as_me: failed program was:" >&5
49252 sed 's/^/| /' conftest.$ac_ext >&5
49253
49254 glibcxx_cv_func___builtin_sqrtf_use=no
49255 fi
49256 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49257 ac_ext=c
49258 ac_cpp='$CPP $CPPFLAGS'
49259 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49260 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49261 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49262
49263
49264 fi
49265
49266 fi
49267 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_use" >&5
49268 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_use" >&6
49269 if test x$glibcxx_cv_func___builtin_sqrtf_use = x"yes"; then
49270 echo "$as_me:$LINENO: checking for __builtin_sqrtf linkage" >&5
49271 echo $ECHO_N "checking for __builtin_sqrtf linkage... $ECHO_C" >&6
49272 if test x${glibcxx_cv_func___builtin_sqrtf_link+set} != xset; then
49273 if test "${glibcxx_cv_func___builtin_sqrtf_link+set}" = set; then
49274 echo $ECHO_N "(cached) $ECHO_C" >&6
49275 else
49276
49277 if test x$gcc_no_link = xyes; then
49278 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49279 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49280 { (exit 1); exit 1; }; }
49281 fi
49282 cat >conftest.$ac_ext <<_ACEOF
49283 /* confdefs.h. */
49284 _ACEOF
49285 cat confdefs.h >>conftest.$ac_ext
49286 cat >>conftest.$ac_ext <<_ACEOF
49287 /* end confdefs.h. */
49288 #include <math.h>
49289 int
49290 main ()
49291 {
49292 __builtin_sqrtf(0);
49293 ;
49294 return 0;
49295 }
49296 _ACEOF
49297 rm -f conftest.$ac_objext conftest$ac_exeext
49298 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49299 (eval $ac_link) 2>conftest.er1
49300 ac_status=$?
49301 grep -v '^ *+' conftest.er1 >conftest.err
49302 rm -f conftest.er1
49303 cat conftest.err >&5
49304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49305 (exit $ac_status); } &&
49306 { ac_try='test -z "$ac_c_werror_flag"
49307 || test ! -s conftest.err'
49308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49309 (eval $ac_try) 2>&5
49310 ac_status=$?
49311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49312 (exit $ac_status); }; } &&
49313 { ac_try='test -s conftest$ac_exeext'
49314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49315 (eval $ac_try) 2>&5
49316 ac_status=$?
49317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49318 (exit $ac_status); }; }; then
49319 glibcxx_cv_func___builtin_sqrtf_link=yes
49320 else
49321 echo "$as_me: failed program was:" >&5
49322 sed 's/^/| /' conftest.$ac_ext >&5
49323
49324 glibcxx_cv_func___builtin_sqrtf_link=no
49325 fi
49326 rm -f conftest.err conftest.$ac_objext \
49327 conftest$ac_exeext conftest.$ac_ext
49328
49329 fi
49330
49331 fi
49332 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_link" >&5
49333 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_link" >&6
49334
49335 if test x$glibcxx_cv_func___builtin_sqrtf_link = x"yes"; then
49336
49337 cat >>confdefs.h <<\_ACEOF
49338 #define HAVE___BUILTIN_SQRTF 1
49339 _ACEOF
49340
49341 fi
49342
49343 fi
49344
49345
49346 echo "$as_me:$LINENO: checking for __builtin_sqrt declaration" >&5
49347 echo $ECHO_N "checking for __builtin_sqrt declaration... $ECHO_C" >&6
49348 if test x${glibcxx_cv_func___builtin_sqrt_use+set} != xset; then
49349 if test "${glibcxx_cv_func___builtin_sqrt_use+set}" = set; then
49350 echo $ECHO_N "(cached) $ECHO_C" >&6
49351 else
49352
49353
49354
49355 ac_ext=cc
49356 ac_cpp='$CXXCPP $CPPFLAGS'
49357 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49358 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49359 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49360
49361 cat >conftest.$ac_ext <<_ACEOF
49362 /* confdefs.h. */
49363 _ACEOF
49364 cat confdefs.h >>conftest.$ac_ext
49365 cat >>conftest.$ac_ext <<_ACEOF
49366 /* end confdefs.h. */
49367 #include <math.h>
49368 int
49369 main ()
49370 {
49371 __builtin_sqrt(0);
49372 ;
49373 return 0;
49374 }
49375 _ACEOF
49376 rm -f conftest.$ac_objext
49377 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49378 (eval $ac_compile) 2>conftest.er1
49379 ac_status=$?
49380 grep -v '^ *+' conftest.er1 >conftest.err
49381 rm -f conftest.er1
49382 cat conftest.err >&5
49383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49384 (exit $ac_status); } &&
49385 { ac_try='test -z "$ac_cxx_werror_flag"
49386 || test ! -s conftest.err'
49387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49388 (eval $ac_try) 2>&5
49389 ac_status=$?
49390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49391 (exit $ac_status); }; } &&
49392 { ac_try='test -s conftest.$ac_objext'
49393 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49394 (eval $ac_try) 2>&5
49395 ac_status=$?
49396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49397 (exit $ac_status); }; }; then
49398 glibcxx_cv_func___builtin_sqrt_use=yes
49399 else
49400 echo "$as_me: failed program was:" >&5
49401 sed 's/^/| /' conftest.$ac_ext >&5
49402
49403 glibcxx_cv_func___builtin_sqrt_use=no
49404 fi
49405 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49406 ac_ext=c
49407 ac_cpp='$CPP $CPPFLAGS'
49408 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49409 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49410 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49411
49412
49413 fi
49414
49415 fi
49416 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_use" >&5
49417 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_use" >&6
49418 if test x$glibcxx_cv_func___builtin_sqrt_use = x"yes"; then
49419 echo "$as_me:$LINENO: checking for __builtin_sqrt linkage" >&5
49420 echo $ECHO_N "checking for __builtin_sqrt linkage... $ECHO_C" >&6
49421 if test x${glibcxx_cv_func___builtin_sqrt_link+set} != xset; then
49422 if test "${glibcxx_cv_func___builtin_sqrt_link+set}" = set; then
49423 echo $ECHO_N "(cached) $ECHO_C" >&6
49424 else
49425
49426 if test x$gcc_no_link = xyes; then
49427 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49428 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49429 { (exit 1); exit 1; }; }
49430 fi
49431 cat >conftest.$ac_ext <<_ACEOF
49432 /* confdefs.h. */
49433 _ACEOF
49434 cat confdefs.h >>conftest.$ac_ext
49435 cat >>conftest.$ac_ext <<_ACEOF
49436 /* end confdefs.h. */
49437 #include <math.h>
49438 int
49439 main ()
49440 {
49441 __builtin_sqrt(0);
49442 ;
49443 return 0;
49444 }
49445 _ACEOF
49446 rm -f conftest.$ac_objext conftest$ac_exeext
49447 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49448 (eval $ac_link) 2>conftest.er1
49449 ac_status=$?
49450 grep -v '^ *+' conftest.er1 >conftest.err
49451 rm -f conftest.er1
49452 cat conftest.err >&5
49453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49454 (exit $ac_status); } &&
49455 { ac_try='test -z "$ac_c_werror_flag"
49456 || test ! -s conftest.err'
49457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49458 (eval $ac_try) 2>&5
49459 ac_status=$?
49460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49461 (exit $ac_status); }; } &&
49462 { ac_try='test -s conftest$ac_exeext'
49463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49464 (eval $ac_try) 2>&5
49465 ac_status=$?
49466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49467 (exit $ac_status); }; }; then
49468 glibcxx_cv_func___builtin_sqrt_link=yes
49469 else
49470 echo "$as_me: failed program was:" >&5
49471 sed 's/^/| /' conftest.$ac_ext >&5
49472
49473 glibcxx_cv_func___builtin_sqrt_link=no
49474 fi
49475 rm -f conftest.err conftest.$ac_objext \
49476 conftest$ac_exeext conftest.$ac_ext
49477
49478 fi
49479
49480 fi
49481 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_link" >&5
49482 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_link" >&6
49483
49484 if test x$glibcxx_cv_func___builtin_sqrt_link = x"yes"; then
49485
49486 cat >>confdefs.h <<\_ACEOF
49487 #define HAVE___BUILTIN_SQRT 1
49488 _ACEOF
49489
49490 fi
49491
49492 fi
49493
49494
49495 echo "$as_me:$LINENO: checking for __builtin_sqrtl declaration" >&5
49496 echo $ECHO_N "checking for __builtin_sqrtl declaration... $ECHO_C" >&6
49497 if test x${glibcxx_cv_func___builtin_sqrtl_use+set} != xset; then
49498 if test "${glibcxx_cv_func___builtin_sqrtl_use+set}" = set; then
49499 echo $ECHO_N "(cached) $ECHO_C" >&6
49500 else
49501
49502
49503
49504 ac_ext=cc
49505 ac_cpp='$CXXCPP $CPPFLAGS'
49506 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49507 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49508 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49509
49510 cat >conftest.$ac_ext <<_ACEOF
49511 /* confdefs.h. */
49512 _ACEOF
49513 cat confdefs.h >>conftest.$ac_ext
49514 cat >>conftest.$ac_ext <<_ACEOF
49515 /* end confdefs.h. */
49516 #include <math.h>
49517 int
49518 main ()
49519 {
49520 __builtin_sqrtl(0);
49521 ;
49522 return 0;
49523 }
49524 _ACEOF
49525 rm -f conftest.$ac_objext
49526 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49527 (eval $ac_compile) 2>conftest.er1
49528 ac_status=$?
49529 grep -v '^ *+' conftest.er1 >conftest.err
49530 rm -f conftest.er1
49531 cat conftest.err >&5
49532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49533 (exit $ac_status); } &&
49534 { ac_try='test -z "$ac_cxx_werror_flag"
49535 || test ! -s conftest.err'
49536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49537 (eval $ac_try) 2>&5
49538 ac_status=$?
49539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49540 (exit $ac_status); }; } &&
49541 { ac_try='test -s conftest.$ac_objext'
49542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49543 (eval $ac_try) 2>&5
49544 ac_status=$?
49545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49546 (exit $ac_status); }; }; then
49547 glibcxx_cv_func___builtin_sqrtl_use=yes
49548 else
49549 echo "$as_me: failed program was:" >&5
49550 sed 's/^/| /' conftest.$ac_ext >&5
49551
49552 glibcxx_cv_func___builtin_sqrtl_use=no
49553 fi
49554 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49555 ac_ext=c
49556 ac_cpp='$CPP $CPPFLAGS'
49557 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49558 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49559 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49560
49561
49562 fi
49563
49564 fi
49565 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_use" >&5
49566 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_use" >&6
49567 if test x$glibcxx_cv_func___builtin_sqrtl_use = x"yes"; then
49568 echo "$as_me:$LINENO: checking for __builtin_sqrtl linkage" >&5
49569 echo $ECHO_N "checking for __builtin_sqrtl linkage... $ECHO_C" >&6
49570 if test x${glibcxx_cv_func___builtin_sqrtl_link+set} != xset; then
49571 if test "${glibcxx_cv_func___builtin_sqrtl_link+set}" = set; then
49572 echo $ECHO_N "(cached) $ECHO_C" >&6
49573 else
49574
49575 if test x$gcc_no_link = xyes; then
49576 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49577 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49578 { (exit 1); exit 1; }; }
49579 fi
49580 cat >conftest.$ac_ext <<_ACEOF
49581 /* confdefs.h. */
49582 _ACEOF
49583 cat confdefs.h >>conftest.$ac_ext
49584 cat >>conftest.$ac_ext <<_ACEOF
49585 /* end confdefs.h. */
49586 #include <math.h>
49587 int
49588 main ()
49589 {
49590 __builtin_sqrtl(0);
49591 ;
49592 return 0;
49593 }
49594 _ACEOF
49595 rm -f conftest.$ac_objext conftest$ac_exeext
49596 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49597 (eval $ac_link) 2>conftest.er1
49598 ac_status=$?
49599 grep -v '^ *+' conftest.er1 >conftest.err
49600 rm -f conftest.er1
49601 cat conftest.err >&5
49602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49603 (exit $ac_status); } &&
49604 { ac_try='test -z "$ac_c_werror_flag"
49605 || test ! -s conftest.err'
49606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49607 (eval $ac_try) 2>&5
49608 ac_status=$?
49609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49610 (exit $ac_status); }; } &&
49611 { ac_try='test -s conftest$ac_exeext'
49612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49613 (eval $ac_try) 2>&5
49614 ac_status=$?
49615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49616 (exit $ac_status); }; }; then
49617 glibcxx_cv_func___builtin_sqrtl_link=yes
49618 else
49619 echo "$as_me: failed program was:" >&5
49620 sed 's/^/| /' conftest.$ac_ext >&5
49621
49622 glibcxx_cv_func___builtin_sqrtl_link=no
49623 fi
49624 rm -f conftest.err conftest.$ac_objext \
49625 conftest$ac_exeext conftest.$ac_ext
49626
49627 fi
49628
49629 fi
49630 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_link" >&5
49631 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_link" >&6
49632
49633 if test x$glibcxx_cv_func___builtin_sqrtl_link = x"yes"; then
49634
49635 cat >>confdefs.h <<\_ACEOF
49636 #define HAVE___BUILTIN_SQRTL 1
49637 _ACEOF
49638
49639 fi
49640
49641 fi
49642
49643
49644
49645 echo "$as_me:$LINENO: checking for __builtin_sinf declaration" >&5
49646 echo $ECHO_N "checking for __builtin_sinf declaration... $ECHO_C" >&6
49647 if test x${glibcxx_cv_func___builtin_sinf_use+set} != xset; then
49648 if test "${glibcxx_cv_func___builtin_sinf_use+set}" = set; then
49649 echo $ECHO_N "(cached) $ECHO_C" >&6
49650 else
49651
49652
49653
49654 ac_ext=cc
49655 ac_cpp='$CXXCPP $CPPFLAGS'
49656 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49657 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49658 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49659
49660 cat >conftest.$ac_ext <<_ACEOF
49661 /* confdefs.h. */
49662 _ACEOF
49663 cat confdefs.h >>conftest.$ac_ext
49664 cat >>conftest.$ac_ext <<_ACEOF
49665 /* end confdefs.h. */
49666 #include <math.h>
49667 int
49668 main ()
49669 {
49670 __builtin_sinf(0);
49671 ;
49672 return 0;
49673 }
49674 _ACEOF
49675 rm -f conftest.$ac_objext
49676 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49677 (eval $ac_compile) 2>conftest.er1
49678 ac_status=$?
49679 grep -v '^ *+' conftest.er1 >conftest.err
49680 rm -f conftest.er1
49681 cat conftest.err >&5
49682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49683 (exit $ac_status); } &&
49684 { ac_try='test -z "$ac_cxx_werror_flag"
49685 || test ! -s conftest.err'
49686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49687 (eval $ac_try) 2>&5
49688 ac_status=$?
49689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49690 (exit $ac_status); }; } &&
49691 { ac_try='test -s conftest.$ac_objext'
49692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49693 (eval $ac_try) 2>&5
49694 ac_status=$?
49695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49696 (exit $ac_status); }; }; then
49697 glibcxx_cv_func___builtin_sinf_use=yes
49698 else
49699 echo "$as_me: failed program was:" >&5
49700 sed 's/^/| /' conftest.$ac_ext >&5
49701
49702 glibcxx_cv_func___builtin_sinf_use=no
49703 fi
49704 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49705 ac_ext=c
49706 ac_cpp='$CPP $CPPFLAGS'
49707 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49708 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49709 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49710
49711
49712 fi
49713
49714 fi
49715 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_use" >&5
49716 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_use" >&6
49717 if test x$glibcxx_cv_func___builtin_sinf_use = x"yes"; then
49718 echo "$as_me:$LINENO: checking for __builtin_sinf linkage" >&5
49719 echo $ECHO_N "checking for __builtin_sinf linkage... $ECHO_C" >&6
49720 if test x${glibcxx_cv_func___builtin_sinf_link+set} != xset; then
49721 if test "${glibcxx_cv_func___builtin_sinf_link+set}" = set; then
49722 echo $ECHO_N "(cached) $ECHO_C" >&6
49723 else
49724
49725 if test x$gcc_no_link = xyes; then
49726 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49727 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49728 { (exit 1); exit 1; }; }
49729 fi
49730 cat >conftest.$ac_ext <<_ACEOF
49731 /* confdefs.h. */
49732 _ACEOF
49733 cat confdefs.h >>conftest.$ac_ext
49734 cat >>conftest.$ac_ext <<_ACEOF
49735 /* end confdefs.h. */
49736 #include <math.h>
49737 int
49738 main ()
49739 {
49740 __builtin_sinf(0);
49741 ;
49742 return 0;
49743 }
49744 _ACEOF
49745 rm -f conftest.$ac_objext conftest$ac_exeext
49746 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49747 (eval $ac_link) 2>conftest.er1
49748 ac_status=$?
49749 grep -v '^ *+' conftest.er1 >conftest.err
49750 rm -f conftest.er1
49751 cat conftest.err >&5
49752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49753 (exit $ac_status); } &&
49754 { ac_try='test -z "$ac_c_werror_flag"
49755 || test ! -s conftest.err'
49756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49757 (eval $ac_try) 2>&5
49758 ac_status=$?
49759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49760 (exit $ac_status); }; } &&
49761 { ac_try='test -s conftest$ac_exeext'
49762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49763 (eval $ac_try) 2>&5
49764 ac_status=$?
49765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49766 (exit $ac_status); }; }; then
49767 glibcxx_cv_func___builtin_sinf_link=yes
49768 else
49769 echo "$as_me: failed program was:" >&5
49770 sed 's/^/| /' conftest.$ac_ext >&5
49771
49772 glibcxx_cv_func___builtin_sinf_link=no
49773 fi
49774 rm -f conftest.err conftest.$ac_objext \
49775 conftest$ac_exeext conftest.$ac_ext
49776
49777 fi
49778
49779 fi
49780 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_link" >&5
49781 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_link" >&6
49782
49783 if test x$glibcxx_cv_func___builtin_sinf_link = x"yes"; then
49784
49785 cat >>confdefs.h <<\_ACEOF
49786 #define HAVE___BUILTIN_SINF 1
49787 _ACEOF
49788
49789 fi
49790
49791 fi
49792
49793
49794 echo "$as_me:$LINENO: checking for __builtin_sin declaration" >&5
49795 echo $ECHO_N "checking for __builtin_sin declaration... $ECHO_C" >&6
49796 if test x${glibcxx_cv_func___builtin_sin_use+set} != xset; then
49797 if test "${glibcxx_cv_func___builtin_sin_use+set}" = set; then
49798 echo $ECHO_N "(cached) $ECHO_C" >&6
49799 else
49800
49801
49802
49803 ac_ext=cc
49804 ac_cpp='$CXXCPP $CPPFLAGS'
49805 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49806 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49807 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49808
49809 cat >conftest.$ac_ext <<_ACEOF
49810 /* confdefs.h. */
49811 _ACEOF
49812 cat confdefs.h >>conftest.$ac_ext
49813 cat >>conftest.$ac_ext <<_ACEOF
49814 /* end confdefs.h. */
49815 #include <math.h>
49816 int
49817 main ()
49818 {
49819 __builtin_sin(0);
49820 ;
49821 return 0;
49822 }
49823 _ACEOF
49824 rm -f conftest.$ac_objext
49825 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49826 (eval $ac_compile) 2>conftest.er1
49827 ac_status=$?
49828 grep -v '^ *+' conftest.er1 >conftest.err
49829 rm -f conftest.er1
49830 cat conftest.err >&5
49831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49832 (exit $ac_status); } &&
49833 { ac_try='test -z "$ac_cxx_werror_flag"
49834 || test ! -s conftest.err'
49835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49836 (eval $ac_try) 2>&5
49837 ac_status=$?
49838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49839 (exit $ac_status); }; } &&
49840 { ac_try='test -s conftest.$ac_objext'
49841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49842 (eval $ac_try) 2>&5
49843 ac_status=$?
49844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49845 (exit $ac_status); }; }; then
49846 glibcxx_cv_func___builtin_sin_use=yes
49847 else
49848 echo "$as_me: failed program was:" >&5
49849 sed 's/^/| /' conftest.$ac_ext >&5
49850
49851 glibcxx_cv_func___builtin_sin_use=no
49852 fi
49853 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49854 ac_ext=c
49855 ac_cpp='$CPP $CPPFLAGS'
49856 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49857 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49858 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49859
49860
49861 fi
49862
49863 fi
49864 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_use" >&5
49865 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_use" >&6
49866 if test x$glibcxx_cv_func___builtin_sin_use = x"yes"; then
49867 echo "$as_me:$LINENO: checking for __builtin_sin linkage" >&5
49868 echo $ECHO_N "checking for __builtin_sin linkage... $ECHO_C" >&6
49869 if test x${glibcxx_cv_func___builtin_sin_link+set} != xset; then
49870 if test "${glibcxx_cv_func___builtin_sin_link+set}" = set; then
49871 echo $ECHO_N "(cached) $ECHO_C" >&6
49872 else
49873
49874 if test x$gcc_no_link = xyes; then
49875 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49876 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49877 { (exit 1); exit 1; }; }
49878 fi
49879 cat >conftest.$ac_ext <<_ACEOF
49880 /* confdefs.h. */
49881 _ACEOF
49882 cat confdefs.h >>conftest.$ac_ext
49883 cat >>conftest.$ac_ext <<_ACEOF
49884 /* end confdefs.h. */
49885 #include <math.h>
49886 int
49887 main ()
49888 {
49889 __builtin_sin(0);
49890 ;
49891 return 0;
49892 }
49893 _ACEOF
49894 rm -f conftest.$ac_objext conftest$ac_exeext
49895 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49896 (eval $ac_link) 2>conftest.er1
49897 ac_status=$?
49898 grep -v '^ *+' conftest.er1 >conftest.err
49899 rm -f conftest.er1
49900 cat conftest.err >&5
49901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49902 (exit $ac_status); } &&
49903 { ac_try='test -z "$ac_c_werror_flag"
49904 || test ! -s conftest.err'
49905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49906 (eval $ac_try) 2>&5
49907 ac_status=$?
49908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49909 (exit $ac_status); }; } &&
49910 { ac_try='test -s conftest$ac_exeext'
49911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49912 (eval $ac_try) 2>&5
49913 ac_status=$?
49914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49915 (exit $ac_status); }; }; then
49916 glibcxx_cv_func___builtin_sin_link=yes
49917 else
49918 echo "$as_me: failed program was:" >&5
49919 sed 's/^/| /' conftest.$ac_ext >&5
49920
49921 glibcxx_cv_func___builtin_sin_link=no
49922 fi
49923 rm -f conftest.err conftest.$ac_objext \
49924 conftest$ac_exeext conftest.$ac_ext
49925
49926 fi
49927
49928 fi
49929 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_link" >&5
49930 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_link" >&6
49931
49932 if test x$glibcxx_cv_func___builtin_sin_link = x"yes"; then
49933
49934 cat >>confdefs.h <<\_ACEOF
49935 #define HAVE___BUILTIN_SIN 1
49936 _ACEOF
49937
49938 fi
49939
49940 fi
49941
49942
49943 echo "$as_me:$LINENO: checking for __builtin_sinl declaration" >&5
49944 echo $ECHO_N "checking for __builtin_sinl declaration... $ECHO_C" >&6
49945 if test x${glibcxx_cv_func___builtin_sinl_use+set} != xset; then
49946 if test "${glibcxx_cv_func___builtin_sinl_use+set}" = set; then
49947 echo $ECHO_N "(cached) $ECHO_C" >&6
49948 else
49949
49950
49951
49952 ac_ext=cc
49953 ac_cpp='$CXXCPP $CPPFLAGS'
49954 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49955 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49956 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49957
49958 cat >conftest.$ac_ext <<_ACEOF
49959 /* confdefs.h. */
49960 _ACEOF
49961 cat confdefs.h >>conftest.$ac_ext
49962 cat >>conftest.$ac_ext <<_ACEOF
49963 /* end confdefs.h. */
49964 #include <math.h>
49965 int
49966 main ()
49967 {
49968 __builtin_sinl(0);
49969 ;
49970 return 0;
49971 }
49972 _ACEOF
49973 rm -f conftest.$ac_objext
49974 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49975 (eval $ac_compile) 2>conftest.er1
49976 ac_status=$?
49977 grep -v '^ *+' conftest.er1 >conftest.err
49978 rm -f conftest.er1
49979 cat conftest.err >&5
49980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49981 (exit $ac_status); } &&
49982 { ac_try='test -z "$ac_cxx_werror_flag"
49983 || test ! -s conftest.err'
49984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49985 (eval $ac_try) 2>&5
49986 ac_status=$?
49987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49988 (exit $ac_status); }; } &&
49989 { ac_try='test -s conftest.$ac_objext'
49990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49991 (eval $ac_try) 2>&5
49992 ac_status=$?
49993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49994 (exit $ac_status); }; }; then
49995 glibcxx_cv_func___builtin_sinl_use=yes
49996 else
49997 echo "$as_me: failed program was:" >&5
49998 sed 's/^/| /' conftest.$ac_ext >&5
49999
50000 glibcxx_cv_func___builtin_sinl_use=no
50001 fi
50002 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50003 ac_ext=c
50004 ac_cpp='$CPP $CPPFLAGS'
50005 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50006 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50007 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50008
50009
50010 fi
50011
50012 fi
50013 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_use" >&5
50014 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_use" >&6
50015 if test x$glibcxx_cv_func___builtin_sinl_use = x"yes"; then
50016 echo "$as_me:$LINENO: checking for __builtin_sinl linkage" >&5
50017 echo $ECHO_N "checking for __builtin_sinl linkage... $ECHO_C" >&6
50018 if test x${glibcxx_cv_func___builtin_sinl_link+set} != xset; then
50019 if test "${glibcxx_cv_func___builtin_sinl_link+set}" = set; then
50020 echo $ECHO_N "(cached) $ECHO_C" >&6
50021 else
50022
50023 if test x$gcc_no_link = xyes; then
50024 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50025 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50026 { (exit 1); exit 1; }; }
50027 fi
50028 cat >conftest.$ac_ext <<_ACEOF
50029 /* confdefs.h. */
50030 _ACEOF
50031 cat confdefs.h >>conftest.$ac_ext
50032 cat >>conftest.$ac_ext <<_ACEOF
50033 /* end confdefs.h. */
50034 #include <math.h>
50035 int
50036 main ()
50037 {
50038 __builtin_sinl(0);
50039 ;
50040 return 0;
50041 }
50042 _ACEOF
50043 rm -f conftest.$ac_objext conftest$ac_exeext
50044 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50045 (eval $ac_link) 2>conftest.er1
50046 ac_status=$?
50047 grep -v '^ *+' conftest.er1 >conftest.err
50048 rm -f conftest.er1
50049 cat conftest.err >&5
50050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50051 (exit $ac_status); } &&
50052 { ac_try='test -z "$ac_c_werror_flag"
50053 || test ! -s conftest.err'
50054 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50055 (eval $ac_try) 2>&5
50056 ac_status=$?
50057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50058 (exit $ac_status); }; } &&
50059 { ac_try='test -s conftest$ac_exeext'
50060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50061 (eval $ac_try) 2>&5
50062 ac_status=$?
50063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50064 (exit $ac_status); }; }; then
50065 glibcxx_cv_func___builtin_sinl_link=yes
50066 else
50067 echo "$as_me: failed program was:" >&5
50068 sed 's/^/| /' conftest.$ac_ext >&5
50069
50070 glibcxx_cv_func___builtin_sinl_link=no
50071 fi
50072 rm -f conftest.err conftest.$ac_objext \
50073 conftest$ac_exeext conftest.$ac_ext
50074
50075 fi
50076
50077 fi
50078 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_link" >&5
50079 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_link" >&6
50080
50081 if test x$glibcxx_cv_func___builtin_sinl_link = x"yes"; then
50082
50083 cat >>confdefs.h <<\_ACEOF
50084 #define HAVE___BUILTIN_SINL 1
50085 _ACEOF
50086
50087 fi
50088
50089 fi
50090
50091
50092
50093 echo "$as_me:$LINENO: checking for __builtin_cosf declaration" >&5
50094 echo $ECHO_N "checking for __builtin_cosf declaration... $ECHO_C" >&6
50095 if test x${glibcxx_cv_func___builtin_cosf_use+set} != xset; then
50096 if test "${glibcxx_cv_func___builtin_cosf_use+set}" = set; then
50097 echo $ECHO_N "(cached) $ECHO_C" >&6
50098 else
50099
50100
50101
50102 ac_ext=cc
50103 ac_cpp='$CXXCPP $CPPFLAGS'
50104 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50105 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50106 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50107
50108 cat >conftest.$ac_ext <<_ACEOF
50109 /* confdefs.h. */
50110 _ACEOF
50111 cat confdefs.h >>conftest.$ac_ext
50112 cat >>conftest.$ac_ext <<_ACEOF
50113 /* end confdefs.h. */
50114 #include <math.h>
50115 int
50116 main ()
50117 {
50118 __builtin_cosf(0);
50119 ;
50120 return 0;
50121 }
50122 _ACEOF
50123 rm -f conftest.$ac_objext
50124 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50125 (eval $ac_compile) 2>conftest.er1
50126 ac_status=$?
50127 grep -v '^ *+' conftest.er1 >conftest.err
50128 rm -f conftest.er1
50129 cat conftest.err >&5
50130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50131 (exit $ac_status); } &&
50132 { ac_try='test -z "$ac_cxx_werror_flag"
50133 || test ! -s conftest.err'
50134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50135 (eval $ac_try) 2>&5
50136 ac_status=$?
50137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50138 (exit $ac_status); }; } &&
50139 { ac_try='test -s conftest.$ac_objext'
50140 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50141 (eval $ac_try) 2>&5
50142 ac_status=$?
50143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50144 (exit $ac_status); }; }; then
50145 glibcxx_cv_func___builtin_cosf_use=yes
50146 else
50147 echo "$as_me: failed program was:" >&5
50148 sed 's/^/| /' conftest.$ac_ext >&5
50149
50150 glibcxx_cv_func___builtin_cosf_use=no
50151 fi
50152 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50153 ac_ext=c
50154 ac_cpp='$CPP $CPPFLAGS'
50155 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50156 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50157 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50158
50159
50160 fi
50161
50162 fi
50163 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_use" >&5
50164 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_use" >&6
50165 if test x$glibcxx_cv_func___builtin_cosf_use = x"yes"; then
50166 echo "$as_me:$LINENO: checking for __builtin_cosf linkage" >&5
50167 echo $ECHO_N "checking for __builtin_cosf linkage... $ECHO_C" >&6
50168 if test x${glibcxx_cv_func___builtin_cosf_link+set} != xset; then
50169 if test "${glibcxx_cv_func___builtin_cosf_link+set}" = set; then
50170 echo $ECHO_N "(cached) $ECHO_C" >&6
50171 else
50172
50173 if test x$gcc_no_link = xyes; then
50174 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50175 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50176 { (exit 1); exit 1; }; }
50177 fi
50178 cat >conftest.$ac_ext <<_ACEOF
50179 /* confdefs.h. */
50180 _ACEOF
50181 cat confdefs.h >>conftest.$ac_ext
50182 cat >>conftest.$ac_ext <<_ACEOF
50183 /* end confdefs.h. */
50184 #include <math.h>
50185 int
50186 main ()
50187 {
50188 __builtin_cosf(0);
50189 ;
50190 return 0;
50191 }
50192 _ACEOF
50193 rm -f conftest.$ac_objext conftest$ac_exeext
50194 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50195 (eval $ac_link) 2>conftest.er1
50196 ac_status=$?
50197 grep -v '^ *+' conftest.er1 >conftest.err
50198 rm -f conftest.er1
50199 cat conftest.err >&5
50200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50201 (exit $ac_status); } &&
50202 { ac_try='test -z "$ac_c_werror_flag"
50203 || test ! -s conftest.err'
50204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50205 (eval $ac_try) 2>&5
50206 ac_status=$?
50207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50208 (exit $ac_status); }; } &&
50209 { ac_try='test -s conftest$ac_exeext'
50210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50211 (eval $ac_try) 2>&5
50212 ac_status=$?
50213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50214 (exit $ac_status); }; }; then
50215 glibcxx_cv_func___builtin_cosf_link=yes
50216 else
50217 echo "$as_me: failed program was:" >&5
50218 sed 's/^/| /' conftest.$ac_ext >&5
50219
50220 glibcxx_cv_func___builtin_cosf_link=no
50221 fi
50222 rm -f conftest.err conftest.$ac_objext \
50223 conftest$ac_exeext conftest.$ac_ext
50224
50225 fi
50226
50227 fi
50228 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_link" >&5
50229 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_link" >&6
50230
50231 if test x$glibcxx_cv_func___builtin_cosf_link = x"yes"; then
50232
50233 cat >>confdefs.h <<\_ACEOF
50234 #define HAVE___BUILTIN_COSF 1
50235 _ACEOF
50236
50237 fi
50238
50239 fi
50240
50241
50242 echo "$as_me:$LINENO: checking for __builtin_cos declaration" >&5
50243 echo $ECHO_N "checking for __builtin_cos declaration... $ECHO_C" >&6
50244 if test x${glibcxx_cv_func___builtin_cos_use+set} != xset; then
50245 if test "${glibcxx_cv_func___builtin_cos_use+set}" = set; then
50246 echo $ECHO_N "(cached) $ECHO_C" >&6
50247 else
50248
50249
50250
50251 ac_ext=cc
50252 ac_cpp='$CXXCPP $CPPFLAGS'
50253 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50254 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50255 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50256
50257 cat >conftest.$ac_ext <<_ACEOF
50258 /* confdefs.h. */
50259 _ACEOF
50260 cat confdefs.h >>conftest.$ac_ext
50261 cat >>conftest.$ac_ext <<_ACEOF
50262 /* end confdefs.h. */
50263 #include <math.h>
50264 int
50265 main ()
50266 {
50267 __builtin_cos(0);
50268 ;
50269 return 0;
50270 }
50271 _ACEOF
50272 rm -f conftest.$ac_objext
50273 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50274 (eval $ac_compile) 2>conftest.er1
50275 ac_status=$?
50276 grep -v '^ *+' conftest.er1 >conftest.err
50277 rm -f conftest.er1
50278 cat conftest.err >&5
50279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50280 (exit $ac_status); } &&
50281 { ac_try='test -z "$ac_cxx_werror_flag"
50282 || test ! -s conftest.err'
50283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50284 (eval $ac_try) 2>&5
50285 ac_status=$?
50286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50287 (exit $ac_status); }; } &&
50288 { ac_try='test -s conftest.$ac_objext'
50289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50290 (eval $ac_try) 2>&5
50291 ac_status=$?
50292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50293 (exit $ac_status); }; }; then
50294 glibcxx_cv_func___builtin_cos_use=yes
50295 else
50296 echo "$as_me: failed program was:" >&5
50297 sed 's/^/| /' conftest.$ac_ext >&5
50298
50299 glibcxx_cv_func___builtin_cos_use=no
50300 fi
50301 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50302 ac_ext=c
50303 ac_cpp='$CPP $CPPFLAGS'
50304 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50305 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50306 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50307
50308
50309 fi
50310
50311 fi
50312 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_use" >&5
50313 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_use" >&6
50314 if test x$glibcxx_cv_func___builtin_cos_use = x"yes"; then
50315 echo "$as_me:$LINENO: checking for __builtin_cos linkage" >&5
50316 echo $ECHO_N "checking for __builtin_cos linkage... $ECHO_C" >&6
50317 if test x${glibcxx_cv_func___builtin_cos_link+set} != xset; then
50318 if test "${glibcxx_cv_func___builtin_cos_link+set}" = set; then
50319 echo $ECHO_N "(cached) $ECHO_C" >&6
50320 else
50321
50322 if test x$gcc_no_link = xyes; then
50323 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50324 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50325 { (exit 1); exit 1; }; }
50326 fi
50327 cat >conftest.$ac_ext <<_ACEOF
50328 /* confdefs.h. */
50329 _ACEOF
50330 cat confdefs.h >>conftest.$ac_ext
50331 cat >>conftest.$ac_ext <<_ACEOF
50332 /* end confdefs.h. */
50333 #include <math.h>
50334 int
50335 main ()
50336 {
50337 __builtin_cos(0);
50338 ;
50339 return 0;
50340 }
50341 _ACEOF
50342 rm -f conftest.$ac_objext conftest$ac_exeext
50343 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50344 (eval $ac_link) 2>conftest.er1
50345 ac_status=$?
50346 grep -v '^ *+' conftest.er1 >conftest.err
50347 rm -f conftest.er1
50348 cat conftest.err >&5
50349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50350 (exit $ac_status); } &&
50351 { ac_try='test -z "$ac_c_werror_flag"
50352 || test ! -s conftest.err'
50353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50354 (eval $ac_try) 2>&5
50355 ac_status=$?
50356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50357 (exit $ac_status); }; } &&
50358 { ac_try='test -s conftest$ac_exeext'
50359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50360 (eval $ac_try) 2>&5
50361 ac_status=$?
50362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50363 (exit $ac_status); }; }; then
50364 glibcxx_cv_func___builtin_cos_link=yes
50365 else
50366 echo "$as_me: failed program was:" >&5
50367 sed 's/^/| /' conftest.$ac_ext >&5
50368
50369 glibcxx_cv_func___builtin_cos_link=no
50370 fi
50371 rm -f conftest.err conftest.$ac_objext \
50372 conftest$ac_exeext conftest.$ac_ext
50373
50374 fi
50375
50376 fi
50377 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_link" >&5
50378 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_link" >&6
50379
50380 if test x$glibcxx_cv_func___builtin_cos_link = x"yes"; then
50381
50382 cat >>confdefs.h <<\_ACEOF
50383 #define HAVE___BUILTIN_COS 1
50384 _ACEOF
50385
50386 fi
50387
50388 fi
50389
50390
50391 echo "$as_me:$LINENO: checking for __builtin_cosl declaration" >&5
50392 echo $ECHO_N "checking for __builtin_cosl declaration... $ECHO_C" >&6
50393 if test x${glibcxx_cv_func___builtin_cosl_use+set} != xset; then
50394 if test "${glibcxx_cv_func___builtin_cosl_use+set}" = set; then
50395 echo $ECHO_N "(cached) $ECHO_C" >&6
50396 else
50397
50398
50399
50400 ac_ext=cc
50401 ac_cpp='$CXXCPP $CPPFLAGS'
50402 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50403 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50404 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50405
50406 cat >conftest.$ac_ext <<_ACEOF
50407 /* confdefs.h. */
50408 _ACEOF
50409 cat confdefs.h >>conftest.$ac_ext
50410 cat >>conftest.$ac_ext <<_ACEOF
50411 /* end confdefs.h. */
50412 #include <math.h>
50413 int
50414 main ()
50415 {
50416 __builtin_cosl(0);
50417 ;
50418 return 0;
50419 }
50420 _ACEOF
50421 rm -f conftest.$ac_objext
50422 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50423 (eval $ac_compile) 2>conftest.er1
50424 ac_status=$?
50425 grep -v '^ *+' conftest.er1 >conftest.err
50426 rm -f conftest.er1
50427 cat conftest.err >&5
50428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50429 (exit $ac_status); } &&
50430 { ac_try='test -z "$ac_cxx_werror_flag"
50431 || test ! -s conftest.err'
50432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50433 (eval $ac_try) 2>&5
50434 ac_status=$?
50435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50436 (exit $ac_status); }; } &&
50437 { ac_try='test -s conftest.$ac_objext'
50438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50439 (eval $ac_try) 2>&5
50440 ac_status=$?
50441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50442 (exit $ac_status); }; }; then
50443 glibcxx_cv_func___builtin_cosl_use=yes
50444 else
50445 echo "$as_me: failed program was:" >&5
50446 sed 's/^/| /' conftest.$ac_ext >&5
50447
50448 glibcxx_cv_func___builtin_cosl_use=no
50449 fi
50450 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50451 ac_ext=c
50452 ac_cpp='$CPP $CPPFLAGS'
50453 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50454 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50455 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50456
50457
50458 fi
50459
50460 fi
50461 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_use" >&5
50462 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_use" >&6
50463 if test x$glibcxx_cv_func___builtin_cosl_use = x"yes"; then
50464 echo "$as_me:$LINENO: checking for __builtin_cosl linkage" >&5
50465 echo $ECHO_N "checking for __builtin_cosl linkage... $ECHO_C" >&6
50466 if test x${glibcxx_cv_func___builtin_cosl_link+set} != xset; then
50467 if test "${glibcxx_cv_func___builtin_cosl_link+set}" = set; then
50468 echo $ECHO_N "(cached) $ECHO_C" >&6
50469 else
50470
50471 if test x$gcc_no_link = xyes; then
50472 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50473 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50474 { (exit 1); exit 1; }; }
50475 fi
50476 cat >conftest.$ac_ext <<_ACEOF
50477 /* confdefs.h. */
50478 _ACEOF
50479 cat confdefs.h >>conftest.$ac_ext
50480 cat >>conftest.$ac_ext <<_ACEOF
50481 /* end confdefs.h. */
50482 #include <math.h>
50483 int
50484 main ()
50485 {
50486 __builtin_cosl(0);
50487 ;
50488 return 0;
50489 }
50490 _ACEOF
50491 rm -f conftest.$ac_objext conftest$ac_exeext
50492 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50493 (eval $ac_link) 2>conftest.er1
50494 ac_status=$?
50495 grep -v '^ *+' conftest.er1 >conftest.err
50496 rm -f conftest.er1
50497 cat conftest.err >&5
50498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50499 (exit $ac_status); } &&
50500 { ac_try='test -z "$ac_c_werror_flag"
50501 || test ! -s conftest.err'
50502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50503 (eval $ac_try) 2>&5
50504 ac_status=$?
50505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50506 (exit $ac_status); }; } &&
50507 { ac_try='test -s conftest$ac_exeext'
50508 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50509 (eval $ac_try) 2>&5
50510 ac_status=$?
50511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50512 (exit $ac_status); }; }; then
50513 glibcxx_cv_func___builtin_cosl_link=yes
50514 else
50515 echo "$as_me: failed program was:" >&5
50516 sed 's/^/| /' conftest.$ac_ext >&5
50517
50518 glibcxx_cv_func___builtin_cosl_link=no
50519 fi
50520 rm -f conftest.err conftest.$ac_objext \
50521 conftest$ac_exeext conftest.$ac_ext
50522
50523 fi
50524
50525 fi
50526 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_link" >&5
50527 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_link" >&6
50528
50529 if test x$glibcxx_cv_func___builtin_cosl_link = x"yes"; then
50530
50531 cat >>confdefs.h <<\_ACEOF
50532 #define HAVE___BUILTIN_COSL 1
50533 _ACEOF
50534
50535 fi
50536
50537 fi
50538
50539
50540
50541
50542 echo "$as_me:$LINENO: checking for main in -lm" >&5
50543 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
50544 if test "${ac_cv_lib_m_main+set}" = set; then
50545 echo $ECHO_N "(cached) $ECHO_C" >&6
50546 else
50547 ac_check_lib_save_LIBS=$LIBS
50548 LIBS="-lm $LIBS"
50549 if test x$gcc_no_link = xyes; then
50550 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50551 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50552 { (exit 1); exit 1; }; }
50553 fi
50554 cat >conftest.$ac_ext <<_ACEOF
50555 /* confdefs.h. */
50556 _ACEOF
50557 cat confdefs.h >>conftest.$ac_ext
50558 cat >>conftest.$ac_ext <<_ACEOF
50559 /* end confdefs.h. */
50560
50561
50562 int
50563 main ()
50564 {
50565 main ();
50566 ;
50567 return 0;
50568 }
50569 _ACEOF
50570 rm -f conftest.$ac_objext conftest$ac_exeext
50571 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50572 (eval $ac_link) 2>conftest.er1
50573 ac_status=$?
50574 grep -v '^ *+' conftest.er1 >conftest.err
50575 rm -f conftest.er1
50576 cat conftest.err >&5
50577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50578 (exit $ac_status); } &&
50579 { ac_try='test -z "$ac_c_werror_flag"
50580 || test ! -s conftest.err'
50581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50582 (eval $ac_try) 2>&5
50583 ac_status=$?
50584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50585 (exit $ac_status); }; } &&
50586 { ac_try='test -s conftest$ac_exeext'
50587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50588 (eval $ac_try) 2>&5
50589 ac_status=$?
50590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50591 (exit $ac_status); }; }; then
50592 ac_cv_lib_m_main=yes
50593 else
50594 echo "$as_me: failed program was:" >&5
50595 sed 's/^/| /' conftest.$ac_ext >&5
50596
50597 ac_cv_lib_m_main=no
50598 fi
50599 rm -f conftest.err conftest.$ac_objext \
50600 conftest$ac_exeext conftest.$ac_ext
50601 LIBS=$ac_check_lib_save_LIBS
50602 fi
50603 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
50604 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
50605 if test $ac_cv_lib_m_main = yes; then
50606 cat >>confdefs.h <<_ACEOF
50607 #define HAVE_LIBM 1
50608 _ACEOF
50609
50610 LIBS="-lm $LIBS"
50611
50612 fi
50613
50614
50615 for ac_func in copysignf
50616 do
50617 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50618 echo "$as_me:$LINENO: checking for $ac_func" >&5
50619 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50620 if eval "test \"\${$as_ac_var+set}\" = set"; then
50621 echo $ECHO_N "(cached) $ECHO_C" >&6
50622 else
50623 if test x$gcc_no_link = xyes; then
50624 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50625 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50626 { (exit 1); exit 1; }; }
50627 fi
50628 cat >conftest.$ac_ext <<_ACEOF
50629 /* confdefs.h. */
50630 _ACEOF
50631 cat confdefs.h >>conftest.$ac_ext
50632 cat >>conftest.$ac_ext <<_ACEOF
50633 /* end confdefs.h. */
50634 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
50635 For example, HP-UX 11i <limits.h> declares gettimeofday. */
50636 #define $ac_func innocuous_$ac_func
50637
50638 /* System header to define __stub macros and hopefully few prototypes,
50639 which can conflict with char $ac_func (); below.
50640 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50641 <limits.h> exists even on freestanding compilers. */
50642
50643 #ifdef __STDC__
50644 # include <limits.h>
50645 #else
50646 # include <assert.h>
50647 #endif
50648
50649 #undef $ac_func
50650
50651 /* Override any gcc2 internal prototype to avoid an error. */
50652 #ifdef __cplusplus
50653 extern "C"
50654 {
50655 #endif
50656 /* We use char because int might match the return type of a gcc2
50657 builtin and then its argument prototype would still apply. */
50658 char $ac_func ();
50659 /* The GNU C library defines this for functions which it implements
50660 to always fail with ENOSYS. Some functions are actually named
50661 something starting with __ and the normal name is an alias. */
50662 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50663 choke me
50664 #else
50665 char (*f) () = $ac_func;
50666 #endif
50667 #ifdef __cplusplus
50668 }
50669 #endif
50670
50671 int
50672 main ()
50673 {
50674 return f != $ac_func;
50675 ;
50676 return 0;
50677 }
50678 _ACEOF
50679 rm -f conftest.$ac_objext conftest$ac_exeext
50680 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50681 (eval $ac_link) 2>conftest.er1
50682 ac_status=$?
50683 grep -v '^ *+' conftest.er1 >conftest.err
50684 rm -f conftest.er1
50685 cat conftest.err >&5
50686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50687 (exit $ac_status); } &&
50688 { ac_try='test -z "$ac_c_werror_flag"
50689 || test ! -s conftest.err'
50690 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50691 (eval $ac_try) 2>&5
50692 ac_status=$?
50693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50694 (exit $ac_status); }; } &&
50695 { ac_try='test -s conftest$ac_exeext'
50696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50697 (eval $ac_try) 2>&5
50698 ac_status=$?
50699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50700 (exit $ac_status); }; }; then
50701 eval "$as_ac_var=yes"
50702 else
50703 echo "$as_me: failed program was:" >&5
50704 sed 's/^/| /' conftest.$ac_ext >&5
50705
50706 eval "$as_ac_var=no"
50707 fi
50708 rm -f conftest.err conftest.$ac_objext \
50709 conftest$ac_exeext conftest.$ac_ext
50710 fi
50711 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
50712 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
50713 if test `eval echo '${'$as_ac_var'}'` = yes; then
50714 cat >>confdefs.h <<_ACEOF
50715 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50716 _ACEOF
50717
50718 else
50719 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
50720 fi
50721 done
50722
50723
50724
50725 for ac_func in __signbit
50726 do
50727 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50728 echo "$as_me:$LINENO: checking for $ac_func" >&5
50729 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50730 if eval "test \"\${$as_ac_var+set}\" = set"; then
50731 echo $ECHO_N "(cached) $ECHO_C" >&6
50732 else
50733 if test x$gcc_no_link = xyes; then
50734 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50735 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50736 { (exit 1); exit 1; }; }
50737 fi
50738 cat >conftest.$ac_ext <<_ACEOF
50739 /* confdefs.h. */
50740 _ACEOF
50741 cat confdefs.h >>conftest.$ac_ext
50742 cat >>conftest.$ac_ext <<_ACEOF
50743 /* end confdefs.h. */
50744 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
50745 For example, HP-UX 11i <limits.h> declares gettimeofday. */
50746 #define $ac_func innocuous_$ac_func
50747
50748 /* System header to define __stub macros and hopefully few prototypes,
50749 which can conflict with char $ac_func (); below.
50750 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50751 <limits.h> exists even on freestanding compilers. */
50752
50753 #ifdef __STDC__
50754 # include <limits.h>
50755 #else
50756 # include <assert.h>
50757 #endif
50758
50759 #undef $ac_func
50760
50761 /* Override any gcc2 internal prototype to avoid an error. */
50762 #ifdef __cplusplus
50763 extern "C"
50764 {
50765 #endif
50766 /* We use char because int might match the return type of a gcc2
50767 builtin and then its argument prototype would still apply. */
50768 char $ac_func ();
50769 /* The GNU C library defines this for functions which it implements
50770 to always fail with ENOSYS. Some functions are actually named
50771 something starting with __ and the normal name is an alias. */
50772 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50773 choke me
50774 #else
50775 char (*f) () = $ac_func;
50776 #endif
50777 #ifdef __cplusplus
50778 }
50779 #endif
50780
50781 int
50782 main ()
50783 {
50784 return f != $ac_func;
50785 ;
50786 return 0;
50787 }
50788 _ACEOF
50789 rm -f conftest.$ac_objext conftest$ac_exeext
50790 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50791 (eval $ac_link) 2>conftest.er1
50792 ac_status=$?
50793 grep -v '^ *+' conftest.er1 >conftest.err
50794 rm -f conftest.er1
50795 cat conftest.err >&5
50796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50797 (exit $ac_status); } &&
50798 { ac_try='test -z "$ac_c_werror_flag"
50799 || test ! -s conftest.err'
50800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50801 (eval $ac_try) 2>&5
50802 ac_status=$?
50803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50804 (exit $ac_status); }; } &&
50805 { ac_try='test -s conftest$ac_exeext'
50806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50807 (eval $ac_try) 2>&5
50808 ac_status=$?
50809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50810 (exit $ac_status); }; }; then
50811 eval "$as_ac_var=yes"
50812 else
50813 echo "$as_me: failed program was:" >&5
50814 sed 's/^/| /' conftest.$ac_ext >&5
50815
50816 eval "$as_ac_var=no"
50817 fi
50818 rm -f conftest.err conftest.$ac_objext \
50819 conftest$ac_exeext conftest.$ac_ext
50820 fi
50821 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
50822 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
50823 if test `eval echo '${'$as_ac_var'}'` = yes; then
50824 cat >>confdefs.h <<_ACEOF
50825 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50826 _ACEOF
50827
50828 else
50829 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
50830 fi
50831 done
50832
50833
50834
50835 for ac_func in __signbitf
50836 do
50837 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50838 echo "$as_me:$LINENO: checking for $ac_func" >&5
50839 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50840 if eval "test \"\${$as_ac_var+set}\" = set"; then
50841 echo $ECHO_N "(cached) $ECHO_C" >&6
50842 else
50843 if test x$gcc_no_link = xyes; then
50844 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50845 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50846 { (exit 1); exit 1; }; }
50847 fi
50848 cat >conftest.$ac_ext <<_ACEOF
50849 /* confdefs.h. */
50850 _ACEOF
50851 cat confdefs.h >>conftest.$ac_ext
50852 cat >>conftest.$ac_ext <<_ACEOF
50853 /* end confdefs.h. */
50854 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
50855 For example, HP-UX 11i <limits.h> declares gettimeofday. */
50856 #define $ac_func innocuous_$ac_func
50857
50858 /* System header to define __stub macros and hopefully few prototypes,
50859 which can conflict with char $ac_func (); below.
50860 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50861 <limits.h> exists even on freestanding compilers. */
50862
50863 #ifdef __STDC__
50864 # include <limits.h>
50865 #else
50866 # include <assert.h>
50867 #endif
50868
50869 #undef $ac_func
50870
50871 /* Override any gcc2 internal prototype to avoid an error. */
50872 #ifdef __cplusplus
50873 extern "C"
50874 {
50875 #endif
50876 /* We use char because int might match the return type of a gcc2
50877 builtin and then its argument prototype would still apply. */
50878 char $ac_func ();
50879 /* The GNU C library defines this for functions which it implements
50880 to always fail with ENOSYS. Some functions are actually named
50881 something starting with __ and the normal name is an alias. */
50882 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50883 choke me
50884 #else
50885 char (*f) () = $ac_func;
50886 #endif
50887 #ifdef __cplusplus
50888 }
50889 #endif
50890
50891 int
50892 main ()
50893 {
50894 return f != $ac_func;
50895 ;
50896 return 0;
50897 }
50898 _ACEOF
50899 rm -f conftest.$ac_objext conftest$ac_exeext
50900 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50901 (eval $ac_link) 2>conftest.er1
50902 ac_status=$?
50903 grep -v '^ *+' conftest.er1 >conftest.err
50904 rm -f conftest.er1
50905 cat conftest.err >&5
50906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50907 (exit $ac_status); } &&
50908 { ac_try='test -z "$ac_c_werror_flag"
50909 || test ! -s conftest.err'
50910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50911 (eval $ac_try) 2>&5
50912 ac_status=$?
50913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50914 (exit $ac_status); }; } &&
50915 { ac_try='test -s conftest$ac_exeext'
50916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50917 (eval $ac_try) 2>&5
50918 ac_status=$?
50919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50920 (exit $ac_status); }; }; then
50921 eval "$as_ac_var=yes"
50922 else
50923 echo "$as_me: failed program was:" >&5
50924 sed 's/^/| /' conftest.$ac_ext >&5
50925
50926 eval "$as_ac_var=no"
50927 fi
50928 rm -f conftest.err conftest.$ac_objext \
50929 conftest$ac_exeext conftest.$ac_ext
50930 fi
50931 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
50932 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
50933 if test `eval echo '${'$as_ac_var'}'` = yes; then
50934 cat >>confdefs.h <<_ACEOF
50935 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50936 _ACEOF
50937
50938 else
50939 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
50940 fi
50941 done
50942
50943
50944 if test x$ac_cv_func_copysignl = x"yes"; then
50945
50946 for ac_func in __signbitl
50947 do
50948 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50949 echo "$as_me:$LINENO: checking for $ac_func" >&5
50950 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50951 if eval "test \"\${$as_ac_var+set}\" = set"; then
50952 echo $ECHO_N "(cached) $ECHO_C" >&6
50953 else
50954 if test x$gcc_no_link = xyes; then
50955 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50956 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50957 { (exit 1); exit 1; }; }
50958 fi
50959 cat >conftest.$ac_ext <<_ACEOF
50960 /* confdefs.h. */
50961 _ACEOF
50962 cat confdefs.h >>conftest.$ac_ext
50963 cat >>conftest.$ac_ext <<_ACEOF
50964 /* end confdefs.h. */
50965 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
50966 For example, HP-UX 11i <limits.h> declares gettimeofday. */
50967 #define $ac_func innocuous_$ac_func
50968
50969 /* System header to define __stub macros and hopefully few prototypes,
50970 which can conflict with char $ac_func (); below.
50971 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50972 <limits.h> exists even on freestanding compilers. */
50973
50974 #ifdef __STDC__
50975 # include <limits.h>
50976 #else
50977 # include <assert.h>
50978 #endif
50979
50980 #undef $ac_func
50981
50982 /* Override any gcc2 internal prototype to avoid an error. */
50983 #ifdef __cplusplus
50984 extern "C"
50985 {
50986 #endif
50987 /* We use char because int might match the return type of a gcc2
50988 builtin and then its argument prototype would still apply. */
50989 char $ac_func ();
50990 /* The GNU C library defines this for functions which it implements
50991 to always fail with ENOSYS. Some functions are actually named
50992 something starting with __ and the normal name is an alias. */
50993 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50994 choke me
50995 #else
50996 char (*f) () = $ac_func;
50997 #endif
50998 #ifdef __cplusplus
50999 }
51000 #endif
51001
51002 int
51003 main ()
51004 {
51005 return f != $ac_func;
51006 ;
51007 return 0;
51008 }
51009 _ACEOF
51010 rm -f conftest.$ac_objext conftest$ac_exeext
51011 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51012 (eval $ac_link) 2>conftest.er1
51013 ac_status=$?
51014 grep -v '^ *+' conftest.er1 >conftest.err
51015 rm -f conftest.er1
51016 cat conftest.err >&5
51017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51018 (exit $ac_status); } &&
51019 { ac_try='test -z "$ac_c_werror_flag"
51020 || test ! -s conftest.err'
51021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51022 (eval $ac_try) 2>&5
51023 ac_status=$?
51024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51025 (exit $ac_status); }; } &&
51026 { ac_try='test -s conftest$ac_exeext'
51027 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51028 (eval $ac_try) 2>&5
51029 ac_status=$?
51030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51031 (exit $ac_status); }; }; then
51032 eval "$as_ac_var=yes"
51033 else
51034 echo "$as_me: failed program was:" >&5
51035 sed 's/^/| /' conftest.$ac_ext >&5
51036
51037 eval "$as_ac_var=no"
51038 fi
51039 rm -f conftest.err conftest.$ac_objext \
51040 conftest$ac_exeext conftest.$ac_ext
51041 fi
51042 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51043 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51044 if test `eval echo '${'$as_ac_var'}'` = yes; then
51045 cat >>confdefs.h <<_ACEOF
51046 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51047 _ACEOF
51048
51049 else
51050 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
51051 fi
51052 done
51053
51054 fi
51055
51056 # Used in libmath/Makefile.am.
51057 if test -n "$LIBMATHOBJS"; then
51058 need_libmath=yes
51059 fi
51060
51061
51062
51063
51064 enable_iconv=no
51065 # Only continue checking if the ISO C99 headers exist and support is on.
51066 if test x"$enable_wchar_t" = xyes; then
51067
51068 # Use iconv for wchar_t to char conversions. As such, check for
51069 # X/Open Portability Guide, version 2 features (XPG2).
51070 if test "${ac_cv_header_iconv_h+set}" = set; then
51071 echo "$as_me:$LINENO: checking for iconv.h" >&5
51072 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
51073 if test "${ac_cv_header_iconv_h+set}" = set; then
51074 echo $ECHO_N "(cached) $ECHO_C" >&6
51075 fi
51076 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
51077 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
51078 else
51079 # Is the header compilable?
51080 echo "$as_me:$LINENO: checking iconv.h usability" >&5
51081 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
51082 cat >conftest.$ac_ext <<_ACEOF
51083 /* confdefs.h. */
51084 _ACEOF
51085 cat confdefs.h >>conftest.$ac_ext
51086 cat >>conftest.$ac_ext <<_ACEOF
51087 /* end confdefs.h. */
51088 $ac_includes_default
51089 #include <iconv.h>
51090 _ACEOF
51091 rm -f conftest.$ac_objext
51092 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51093 (eval $ac_compile) 2>conftest.er1
51094 ac_status=$?
51095 grep -v '^ *+' conftest.er1 >conftest.err
51096 rm -f conftest.er1
51097 cat conftest.err >&5
51098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51099 (exit $ac_status); } &&
51100 { ac_try='test -z "$ac_c_werror_flag"
51101 || test ! -s conftest.err'
51102 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51103 (eval $ac_try) 2>&5
51104 ac_status=$?
51105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51106 (exit $ac_status); }; } &&
51107 { ac_try='test -s conftest.$ac_objext'
51108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51109 (eval $ac_try) 2>&5
51110 ac_status=$?
51111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51112 (exit $ac_status); }; }; then
51113 ac_header_compiler=yes
51114 else
51115 echo "$as_me: failed program was:" >&5
51116 sed 's/^/| /' conftest.$ac_ext >&5
51117
51118 ac_header_compiler=no
51119 fi
51120 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51121 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
51122 echo "${ECHO_T}$ac_header_compiler" >&6
51123
51124 # Is the header present?
51125 echo "$as_me:$LINENO: checking iconv.h presence" >&5
51126 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
51127 cat >conftest.$ac_ext <<_ACEOF
51128 /* confdefs.h. */
51129 _ACEOF
51130 cat confdefs.h >>conftest.$ac_ext
51131 cat >>conftest.$ac_ext <<_ACEOF
51132 /* end confdefs.h. */
51133 #include <iconv.h>
51134 _ACEOF
51135 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
51136 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
51137 ac_status=$?
51138 grep -v '^ *+' conftest.er1 >conftest.err
51139 rm -f conftest.er1
51140 cat conftest.err >&5
51141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51142 (exit $ac_status); } >/dev/null; then
51143 if test -s conftest.err; then
51144 ac_cpp_err=$ac_c_preproc_warn_flag
51145 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
51146 else
51147 ac_cpp_err=
51148 fi
51149 else
51150 ac_cpp_err=yes
51151 fi
51152 if test -z "$ac_cpp_err"; then
51153 ac_header_preproc=yes
51154 else
51155 echo "$as_me: failed program was:" >&5
51156 sed 's/^/| /' conftest.$ac_ext >&5
51157
51158 ac_header_preproc=no
51159 fi
51160 rm -f conftest.err conftest.$ac_ext
51161 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
51162 echo "${ECHO_T}$ac_header_preproc" >&6
51163
51164 # So? What about this header?
51165 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
51166 yes:no: )
51167 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
51168 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
51169 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
51170 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
51171 ac_header_preproc=yes
51172 ;;
51173 no:yes:* )
51174 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
51175 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
51176 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
51177 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
51178 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
51179 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
51180 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
51181 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
51182 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
51183 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
51184 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
51185 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
51186 (
51187 cat <<\_ASBOX
51188 ## ----------------------------------------- ##
51189 ## Report this to the package-unused lists. ##
51190 ## ----------------------------------------- ##
51191 _ASBOX
51192 ) |
51193 sed "s/^/$as_me: WARNING: /" >&2
51194 ;;
51195 esac
51196 echo "$as_me:$LINENO: checking for iconv.h" >&5
51197 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
51198 if test "${ac_cv_header_iconv_h+set}" = set; then
51199 echo $ECHO_N "(cached) $ECHO_C" >&6
51200 else
51201 ac_cv_header_iconv_h=$ac_header_preproc
51202 fi
51203 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
51204 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
51205
51206 fi
51207 if test $ac_cv_header_iconv_h = yes; then
51208 ac_has_iconv_h=yes
51209 else
51210 ac_has_iconv_h=no
51211 fi
51212
51213
51214 if test "${ac_cv_header_langinfo_h+set}" = set; then
51215 echo "$as_me:$LINENO: checking for langinfo.h" >&5
51216 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
51217 if test "${ac_cv_header_langinfo_h+set}" = set; then
51218 echo $ECHO_N "(cached) $ECHO_C" >&6
51219 fi
51220 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
51221 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
51222 else
51223 # Is the header compilable?
51224 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
51225 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
51226 cat >conftest.$ac_ext <<_ACEOF
51227 /* confdefs.h. */
51228 _ACEOF
51229 cat confdefs.h >>conftest.$ac_ext
51230 cat >>conftest.$ac_ext <<_ACEOF
51231 /* end confdefs.h. */
51232 $ac_includes_default
51233 #include <langinfo.h>
51234 _ACEOF
51235 rm -f conftest.$ac_objext
51236 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51237 (eval $ac_compile) 2>conftest.er1
51238 ac_status=$?
51239 grep -v '^ *+' conftest.er1 >conftest.err
51240 rm -f conftest.er1
51241 cat conftest.err >&5
51242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51243 (exit $ac_status); } &&
51244 { ac_try='test -z "$ac_c_werror_flag"
51245 || test ! -s conftest.err'
51246 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51247 (eval $ac_try) 2>&5
51248 ac_status=$?
51249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51250 (exit $ac_status); }; } &&
51251 { ac_try='test -s conftest.$ac_objext'
51252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51253 (eval $ac_try) 2>&5
51254 ac_status=$?
51255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51256 (exit $ac_status); }; }; then
51257 ac_header_compiler=yes
51258 else
51259 echo "$as_me: failed program was:" >&5
51260 sed 's/^/| /' conftest.$ac_ext >&5
51261
51262 ac_header_compiler=no
51263 fi
51264 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51265 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
51266 echo "${ECHO_T}$ac_header_compiler" >&6
51267
51268 # Is the header present?
51269 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
51270 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
51271 cat >conftest.$ac_ext <<_ACEOF
51272 /* confdefs.h. */
51273 _ACEOF
51274 cat confdefs.h >>conftest.$ac_ext
51275 cat >>conftest.$ac_ext <<_ACEOF
51276 /* end confdefs.h. */
51277 #include <langinfo.h>
51278 _ACEOF
51279 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
51280 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
51281 ac_status=$?
51282 grep -v '^ *+' conftest.er1 >conftest.err
51283 rm -f conftest.er1
51284 cat conftest.err >&5
51285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51286 (exit $ac_status); } >/dev/null; then
51287 if test -s conftest.err; then
51288 ac_cpp_err=$ac_c_preproc_warn_flag
51289 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
51290 else
51291 ac_cpp_err=
51292 fi
51293 else
51294 ac_cpp_err=yes
51295 fi
51296 if test -z "$ac_cpp_err"; then
51297 ac_header_preproc=yes
51298 else
51299 echo "$as_me: failed program was:" >&5
51300 sed 's/^/| /' conftest.$ac_ext >&5
51301
51302 ac_header_preproc=no
51303 fi
51304 rm -f conftest.err conftest.$ac_ext
51305 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
51306 echo "${ECHO_T}$ac_header_preproc" >&6
51307
51308 # So? What about this header?
51309 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
51310 yes:no: )
51311 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
51312 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
51313 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
51314 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
51315 ac_header_preproc=yes
51316 ;;
51317 no:yes:* )
51318 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
51319 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
51320 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
51321 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
51322 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
51323 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
51324 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
51325 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
51326 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
51327 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
51328 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
51329 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
51330 (
51331 cat <<\_ASBOX
51332 ## ----------------------------------------- ##
51333 ## Report this to the package-unused lists. ##
51334 ## ----------------------------------------- ##
51335 _ASBOX
51336 ) |
51337 sed "s/^/$as_me: WARNING: /" >&2
51338 ;;
51339 esac
51340 echo "$as_me:$LINENO: checking for langinfo.h" >&5
51341 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
51342 if test "${ac_cv_header_langinfo_h+set}" = set; then
51343 echo $ECHO_N "(cached) $ECHO_C" >&6
51344 else
51345 ac_cv_header_langinfo_h=$ac_header_preproc
51346 fi
51347 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
51348 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
51349
51350 fi
51351 if test $ac_cv_header_langinfo_h = yes; then
51352 ac_has_langinfo_h=yes
51353 else
51354 ac_has_langinfo_h=no
51355 fi
51356
51357
51358
51359 # Check for existence of libiconv.a providing XPG2 wchar_t support.
51360 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
51361 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
51362 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
51363 echo $ECHO_N "(cached) $ECHO_C" >&6
51364 else
51365 ac_check_lib_save_LIBS=$LIBS
51366 LIBS="-liconv $LIBS"
51367 if test x$gcc_no_link = xyes; then
51368 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51369 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51370 { (exit 1); exit 1; }; }
51371 fi
51372 cat >conftest.$ac_ext <<_ACEOF
51373 /* confdefs.h. */
51374 _ACEOF
51375 cat confdefs.h >>conftest.$ac_ext
51376 cat >>conftest.$ac_ext <<_ACEOF
51377 /* end confdefs.h. */
51378
51379 /* Override any gcc2 internal prototype to avoid an error. */
51380 #ifdef __cplusplus
51381 extern "C"
51382 #endif
51383 /* We use char because int might match the return type of a gcc2
51384 builtin and then its argument prototype would still apply. */
51385 char iconv ();
51386 int
51387 main ()
51388 {
51389 iconv ();
51390 ;
51391 return 0;
51392 }
51393 _ACEOF
51394 rm -f conftest.$ac_objext conftest$ac_exeext
51395 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51396 (eval $ac_link) 2>conftest.er1
51397 ac_status=$?
51398 grep -v '^ *+' conftest.er1 >conftest.err
51399 rm -f conftest.er1
51400 cat conftest.err >&5
51401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51402 (exit $ac_status); } &&
51403 { ac_try='test -z "$ac_c_werror_flag"
51404 || test ! -s conftest.err'
51405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51406 (eval $ac_try) 2>&5
51407 ac_status=$?
51408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51409 (exit $ac_status); }; } &&
51410 { ac_try='test -s conftest$ac_exeext'
51411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51412 (eval $ac_try) 2>&5
51413 ac_status=$?
51414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51415 (exit $ac_status); }; }; then
51416 ac_cv_lib_iconv_iconv=yes
51417 else
51418 echo "$as_me: failed program was:" >&5
51419 sed 's/^/| /' conftest.$ac_ext >&5
51420
51421 ac_cv_lib_iconv_iconv=no
51422 fi
51423 rm -f conftest.err conftest.$ac_objext \
51424 conftest$ac_exeext conftest.$ac_ext
51425 LIBS=$ac_check_lib_save_LIBS
51426 fi
51427 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
51428 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
51429 if test $ac_cv_lib_iconv_iconv = yes; then
51430 LIBICONV="-liconv"
51431 fi
51432
51433 ac_save_LIBS="$LIBS"
51434 LIBS="$LIBS $LIBICONV"
51435
51436
51437
51438
51439
51440
51441 for ac_func in iconv_open iconv_close iconv nl_langinfo
51442 do
51443 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51444 echo "$as_me:$LINENO: checking for $ac_func" >&5
51445 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
51446 if eval "test \"\${$as_ac_var+set}\" = set"; then
51447 echo $ECHO_N "(cached) $ECHO_C" >&6
51448 else
51449 if test x$gcc_no_link = xyes; then
51450 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51451 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51452 { (exit 1); exit 1; }; }
51453 fi
51454 cat >conftest.$ac_ext <<_ACEOF
51455 /* confdefs.h. */
51456 _ACEOF
51457 cat confdefs.h >>conftest.$ac_ext
51458 cat >>conftest.$ac_ext <<_ACEOF
51459 /* end confdefs.h. */
51460 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
51461 For example, HP-UX 11i <limits.h> declares gettimeofday. */
51462 #define $ac_func innocuous_$ac_func
51463
51464 /* System header to define __stub macros and hopefully few prototypes,
51465 which can conflict with char $ac_func (); below.
51466 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51467 <limits.h> exists even on freestanding compilers. */
51468
51469 #ifdef __STDC__
51470 # include <limits.h>
51471 #else
51472 # include <assert.h>
51473 #endif
51474
51475 #undef $ac_func
51476
51477 /* Override any gcc2 internal prototype to avoid an error. */
51478 #ifdef __cplusplus
51479 extern "C"
51480 {
51481 #endif
51482 /* We use char because int might match the return type of a gcc2
51483 builtin and then its argument prototype would still apply. */
51484 char $ac_func ();
51485 /* The GNU C library defines this for functions which it implements
51486 to always fail with ENOSYS. Some functions are actually named
51487 something starting with __ and the normal name is an alias. */
51488 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
51489 choke me
51490 #else
51491 char (*f) () = $ac_func;
51492 #endif
51493 #ifdef __cplusplus
51494 }
51495 #endif
51496
51497 int
51498 main ()
51499 {
51500 return f != $ac_func;
51501 ;
51502 return 0;
51503 }
51504 _ACEOF
51505 rm -f conftest.$ac_objext conftest$ac_exeext
51506 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51507 (eval $ac_link) 2>conftest.er1
51508 ac_status=$?
51509 grep -v '^ *+' conftest.er1 >conftest.err
51510 rm -f conftest.er1
51511 cat conftest.err >&5
51512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51513 (exit $ac_status); } &&
51514 { ac_try='test -z "$ac_c_werror_flag"
51515 || test ! -s conftest.err'
51516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51517 (eval $ac_try) 2>&5
51518 ac_status=$?
51519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51520 (exit $ac_status); }; } &&
51521 { ac_try='test -s conftest$ac_exeext'
51522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51523 (eval $ac_try) 2>&5
51524 ac_status=$?
51525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51526 (exit $ac_status); }; }; then
51527 eval "$as_ac_var=yes"
51528 else
51529 echo "$as_me: failed program was:" >&5
51530 sed 's/^/| /' conftest.$ac_ext >&5
51531
51532 eval "$as_ac_var=no"
51533 fi
51534 rm -f conftest.err conftest.$ac_objext \
51535 conftest$ac_exeext conftest.$ac_ext
51536 fi
51537 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51538 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51539 if test `eval echo '${'$as_ac_var'}'` = yes; then
51540 cat >>confdefs.h <<_ACEOF
51541 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51542 _ACEOF
51543 ac_XPG2funcs=yes
51544 else
51545 ac_XPG2funcs=no
51546 fi
51547 done
51548
51549
51550 LIBS="$ac_save_LIBS"
51551
51552 if test x"$ac_has_iconv_h" = xyes &&
51553 test x"$ac_has_langinfo_h" = xyes &&
51554 test x"$ac_XPG2funcs" = xyes;
51555 then
51556
51557 cat >>confdefs.h <<\_ACEOF
51558 #define _GLIBCXX_USE_ICONV 1
51559 _ACEOF
51560
51561 enable_iconv=yes
51562 fi
51563 fi
51564 echo "$as_me:$LINENO: checking for enabled iconv specializations" >&5
51565 echo $ECHO_N "checking for enabled iconv specializations... $ECHO_C" >&6
51566 echo "$as_me:$LINENO: result: $enable_iconv" >&5
51567 echo "${ECHO_T}$enable_iconv" >&6
51568
51569
51570 ac_test_CXXFLAGS="${CXXFLAGS+set}"
51571 ac_save_CXXFLAGS="$CXXFLAGS"
51572 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
51573
51574
51575 echo "$as_me:$LINENO: checking for strtold declaration" >&5
51576 echo $ECHO_N "checking for strtold declaration... $ECHO_C" >&6
51577 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
51578 if test "${glibcxx_cv_func_strtold_use+set}" = set; then
51579 echo $ECHO_N "(cached) $ECHO_C" >&6
51580 else
51581
51582
51583
51584 ac_ext=cc
51585 ac_cpp='$CXXCPP $CPPFLAGS'
51586 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51587 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51588 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51589
51590 cat >conftest.$ac_ext <<_ACEOF
51591 /* confdefs.h. */
51592 _ACEOF
51593 cat confdefs.h >>conftest.$ac_ext
51594 cat >>conftest.$ac_ext <<_ACEOF
51595 /* end confdefs.h. */
51596 #include <stdlib.h>
51597 int
51598 main ()
51599 {
51600 strtold(0, 0);
51601 ;
51602 return 0;
51603 }
51604 _ACEOF
51605 rm -f conftest.$ac_objext
51606 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51607 (eval $ac_compile) 2>conftest.er1
51608 ac_status=$?
51609 grep -v '^ *+' conftest.er1 >conftest.err
51610 rm -f conftest.er1
51611 cat conftest.err >&5
51612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51613 (exit $ac_status); } &&
51614 { ac_try='test -z "$ac_cxx_werror_flag"
51615 || test ! -s conftest.err'
51616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51617 (eval $ac_try) 2>&5
51618 ac_status=$?
51619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51620 (exit $ac_status); }; } &&
51621 { ac_try='test -s conftest.$ac_objext'
51622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51623 (eval $ac_try) 2>&5
51624 ac_status=$?
51625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51626 (exit $ac_status); }; }; then
51627 glibcxx_cv_func_strtold_use=yes
51628 else
51629 echo "$as_me: failed program was:" >&5
51630 sed 's/^/| /' conftest.$ac_ext >&5
51631
51632 glibcxx_cv_func_strtold_use=no
51633 fi
51634 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51635 ac_ext=c
51636 ac_cpp='$CPP $CPPFLAGS'
51637 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51638 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51639 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51640
51641
51642 fi
51643
51644 fi
51645 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtold_use" >&5
51646 echo "${ECHO_T}$glibcxx_cv_func_strtold_use" >&6
51647 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
51648
51649 for ac_func in strtold
51650 do
51651 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51652 echo "$as_me:$LINENO: checking for $ac_func" >&5
51653 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
51654 if eval "test \"\${$as_ac_var+set}\" = set"; then
51655 echo $ECHO_N "(cached) $ECHO_C" >&6
51656 else
51657 if test x$gcc_no_link = xyes; then
51658 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51659 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51660 { (exit 1); exit 1; }; }
51661 fi
51662 cat >conftest.$ac_ext <<_ACEOF
51663 /* confdefs.h. */
51664 _ACEOF
51665 cat confdefs.h >>conftest.$ac_ext
51666 cat >>conftest.$ac_ext <<_ACEOF
51667 /* end confdefs.h. */
51668 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
51669 For example, HP-UX 11i <limits.h> declares gettimeofday. */
51670 #define $ac_func innocuous_$ac_func
51671
51672 /* System header to define __stub macros and hopefully few prototypes,
51673 which can conflict with char $ac_func (); below.
51674 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51675 <limits.h> exists even on freestanding compilers. */
51676
51677 #ifdef __STDC__
51678 # include <limits.h>
51679 #else
51680 # include <assert.h>
51681 #endif
51682
51683 #undef $ac_func
51684
51685 /* Override any gcc2 internal prototype to avoid an error. */
51686 #ifdef __cplusplus
51687 extern "C"
51688 {
51689 #endif
51690 /* We use char because int might match the return type of a gcc2
51691 builtin and then its argument prototype would still apply. */
51692 char $ac_func ();
51693 /* The GNU C library defines this for functions which it implements
51694 to always fail with ENOSYS. Some functions are actually named
51695 something starting with __ and the normal name is an alias. */
51696 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
51697 choke me
51698 #else
51699 char (*f) () = $ac_func;
51700 #endif
51701 #ifdef __cplusplus
51702 }
51703 #endif
51704
51705 int
51706 main ()
51707 {
51708 return f != $ac_func;
51709 ;
51710 return 0;
51711 }
51712 _ACEOF
51713 rm -f conftest.$ac_objext conftest$ac_exeext
51714 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51715 (eval $ac_link) 2>conftest.er1
51716 ac_status=$?
51717 grep -v '^ *+' conftest.er1 >conftest.err
51718 rm -f conftest.er1
51719 cat conftest.err >&5
51720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51721 (exit $ac_status); } &&
51722 { ac_try='test -z "$ac_c_werror_flag"
51723 || test ! -s conftest.err'
51724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51725 (eval $ac_try) 2>&5
51726 ac_status=$?
51727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51728 (exit $ac_status); }; } &&
51729 { ac_try='test -s conftest$ac_exeext'
51730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51731 (eval $ac_try) 2>&5
51732 ac_status=$?
51733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51734 (exit $ac_status); }; }; then
51735 eval "$as_ac_var=yes"
51736 else
51737 echo "$as_me: failed program was:" >&5
51738 sed 's/^/| /' conftest.$ac_ext >&5
51739
51740 eval "$as_ac_var=no"
51741 fi
51742 rm -f conftest.err conftest.$ac_objext \
51743 conftest$ac_exeext conftest.$ac_ext
51744 fi
51745 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51746 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51747 if test `eval echo '${'$as_ac_var'}'` = yes; then
51748 cat >>confdefs.h <<_ACEOF
51749 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51750 _ACEOF
51751
51752 fi
51753 done
51754
51755 fi
51756
51757
51758
51759
51760
51761 echo "$as_me:$LINENO: checking for strtof declaration" >&5
51762 echo $ECHO_N "checking for strtof declaration... $ECHO_C" >&6
51763 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
51764 if test "${glibcxx_cv_func_strtof_use+set}" = set; then
51765 echo $ECHO_N "(cached) $ECHO_C" >&6
51766 else
51767
51768
51769
51770 ac_ext=cc
51771 ac_cpp='$CXXCPP $CPPFLAGS'
51772 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51773 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51774 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51775
51776 cat >conftest.$ac_ext <<_ACEOF
51777 /* confdefs.h. */
51778 _ACEOF
51779 cat confdefs.h >>conftest.$ac_ext
51780 cat >>conftest.$ac_ext <<_ACEOF
51781 /* end confdefs.h. */
51782 #include <stdlib.h>
51783 int
51784 main ()
51785 {
51786 strtof(0, 0);
51787 ;
51788 return 0;
51789 }
51790 _ACEOF
51791 rm -f conftest.$ac_objext
51792 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51793 (eval $ac_compile) 2>conftest.er1
51794 ac_status=$?
51795 grep -v '^ *+' conftest.er1 >conftest.err
51796 rm -f conftest.er1
51797 cat conftest.err >&5
51798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51799 (exit $ac_status); } &&
51800 { ac_try='test -z "$ac_cxx_werror_flag"
51801 || test ! -s conftest.err'
51802 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51803 (eval $ac_try) 2>&5
51804 ac_status=$?
51805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51806 (exit $ac_status); }; } &&
51807 { ac_try='test -s conftest.$ac_objext'
51808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51809 (eval $ac_try) 2>&5
51810 ac_status=$?
51811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51812 (exit $ac_status); }; }; then
51813 glibcxx_cv_func_strtof_use=yes
51814 else
51815 echo "$as_me: failed program was:" >&5
51816 sed 's/^/| /' conftest.$ac_ext >&5
51817
51818 glibcxx_cv_func_strtof_use=no
51819 fi
51820 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51821 ac_ext=c
51822 ac_cpp='$CPP $CPPFLAGS'
51823 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51824 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51825 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51826
51827
51828 fi
51829
51830 fi
51831 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtof_use" >&5
51832 echo "${ECHO_T}$glibcxx_cv_func_strtof_use" >&6
51833 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
51834
51835 for ac_func in strtof
51836 do
51837 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51838 echo "$as_me:$LINENO: checking for $ac_func" >&5
51839 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
51840 if eval "test \"\${$as_ac_var+set}\" = set"; then
51841 echo $ECHO_N "(cached) $ECHO_C" >&6
51842 else
51843 if test x$gcc_no_link = xyes; then
51844 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51845 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51846 { (exit 1); exit 1; }; }
51847 fi
51848 cat >conftest.$ac_ext <<_ACEOF
51849 /* confdefs.h. */
51850 _ACEOF
51851 cat confdefs.h >>conftest.$ac_ext
51852 cat >>conftest.$ac_ext <<_ACEOF
51853 /* end confdefs.h. */
51854 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
51855 For example, HP-UX 11i <limits.h> declares gettimeofday. */
51856 #define $ac_func innocuous_$ac_func
51857
51858 /* System header to define __stub macros and hopefully few prototypes,
51859 which can conflict with char $ac_func (); below.
51860 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51861 <limits.h> exists even on freestanding compilers. */
51862
51863 #ifdef __STDC__
51864 # include <limits.h>
51865 #else
51866 # include <assert.h>
51867 #endif
51868
51869 #undef $ac_func
51870
51871 /* Override any gcc2 internal prototype to avoid an error. */
51872 #ifdef __cplusplus
51873 extern "C"
51874 {
51875 #endif
51876 /* We use char because int might match the return type of a gcc2
51877 builtin and then its argument prototype would still apply. */
51878 char $ac_func ();
51879 /* The GNU C library defines this for functions which it implements
51880 to always fail with ENOSYS. Some functions are actually named
51881 something starting with __ and the normal name is an alias. */
51882 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
51883 choke me
51884 #else
51885 char (*f) () = $ac_func;
51886 #endif
51887 #ifdef __cplusplus
51888 }
51889 #endif
51890
51891 int
51892 main ()
51893 {
51894 return f != $ac_func;
51895 ;
51896 return 0;
51897 }
51898 _ACEOF
51899 rm -f conftest.$ac_objext conftest$ac_exeext
51900 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51901 (eval $ac_link) 2>conftest.er1
51902 ac_status=$?
51903 grep -v '^ *+' conftest.er1 >conftest.err
51904 rm -f conftest.er1
51905 cat conftest.err >&5
51906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51907 (exit $ac_status); } &&
51908 { ac_try='test -z "$ac_c_werror_flag"
51909 || test ! -s conftest.err'
51910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51911 (eval $ac_try) 2>&5
51912 ac_status=$?
51913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51914 (exit $ac_status); }; } &&
51915 { ac_try='test -s conftest$ac_exeext'
51916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51917 (eval $ac_try) 2>&5
51918 ac_status=$?
51919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51920 (exit $ac_status); }; }; then
51921 eval "$as_ac_var=yes"
51922 else
51923 echo "$as_me: failed program was:" >&5
51924 sed 's/^/| /' conftest.$ac_ext >&5
51925
51926 eval "$as_ac_var=no"
51927 fi
51928 rm -f conftest.err conftest.$ac_objext \
51929 conftest$ac_exeext conftest.$ac_ext
51930 fi
51931 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51932 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51933 if test `eval echo '${'$as_ac_var'}'` = yes; then
51934 cat >>confdefs.h <<_ACEOF
51935 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51936 _ACEOF
51937
51938 fi
51939 done
51940
51941 fi
51942
51943
51944
51945
51946
51947 CXXFLAGS="$ac_save_CXXFLAGS"
51948
51949
51950 # For showmanyc_helper().
51951
51952
51953 for ac_header in sys/ioctl.h sys/filio.h
51954 do
51955 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
51956 if eval "test \"\${$as_ac_Header+set}\" = set"; then
51957 echo "$as_me:$LINENO: checking for $ac_header" >&5
51958 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
51959 if eval "test \"\${$as_ac_Header+set}\" = set"; then
51960 echo $ECHO_N "(cached) $ECHO_C" >&6
51961 fi
51962 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
51963 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
51964 else
51965 # Is the header compilable?
51966 echo "$as_me:$LINENO: checking $ac_header usability" >&5
51967 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
51968 cat >conftest.$ac_ext <<_ACEOF
51969 /* confdefs.h. */
51970 _ACEOF
51971 cat confdefs.h >>conftest.$ac_ext
51972 cat >>conftest.$ac_ext <<_ACEOF
51973 /* end confdefs.h. */
51974 $ac_includes_default
51975 #include <$ac_header>
51976 _ACEOF
51977 rm -f conftest.$ac_objext
51978 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51979 (eval $ac_compile) 2>conftest.er1
51980 ac_status=$?
51981 grep -v '^ *+' conftest.er1 >conftest.err
51982 rm -f conftest.er1
51983 cat conftest.err >&5
51984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51985 (exit $ac_status); } &&
51986 { ac_try='test -z "$ac_c_werror_flag"
51987 || test ! -s conftest.err'
51988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51989 (eval $ac_try) 2>&5
51990 ac_status=$?
51991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51992 (exit $ac_status); }; } &&
51993 { ac_try='test -s conftest.$ac_objext'
51994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51995 (eval $ac_try) 2>&5
51996 ac_status=$?
51997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51998 (exit $ac_status); }; }; then
51999 ac_header_compiler=yes
52000 else
52001 echo "$as_me: failed program was:" >&5
52002 sed 's/^/| /' conftest.$ac_ext >&5
52003
52004 ac_header_compiler=no
52005 fi
52006 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52007 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
52008 echo "${ECHO_T}$ac_header_compiler" >&6
52009
52010 # Is the header present?
52011 echo "$as_me:$LINENO: checking $ac_header presence" >&5
52012 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
52013 cat >conftest.$ac_ext <<_ACEOF
52014 /* confdefs.h. */
52015 _ACEOF
52016 cat confdefs.h >>conftest.$ac_ext
52017 cat >>conftest.$ac_ext <<_ACEOF
52018 /* end confdefs.h. */
52019 #include <$ac_header>
52020 _ACEOF
52021 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
52022 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
52023 ac_status=$?
52024 grep -v '^ *+' conftest.er1 >conftest.err
52025 rm -f conftest.er1
52026 cat conftest.err >&5
52027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52028 (exit $ac_status); } >/dev/null; then
52029 if test -s conftest.err; then
52030 ac_cpp_err=$ac_c_preproc_warn_flag
52031 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
52032 else
52033 ac_cpp_err=
52034 fi
52035 else
52036 ac_cpp_err=yes
52037 fi
52038 if test -z "$ac_cpp_err"; then
52039 ac_header_preproc=yes
52040 else
52041 echo "$as_me: failed program was:" >&5
52042 sed 's/^/| /' conftest.$ac_ext >&5
52043
52044 ac_header_preproc=no
52045 fi
52046 rm -f conftest.err conftest.$ac_ext
52047 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
52048 echo "${ECHO_T}$ac_header_preproc" >&6
52049
52050 # So? What about this header?
52051 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
52052 yes:no: )
52053 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
52054 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
52055 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
52056 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
52057 ac_header_preproc=yes
52058 ;;
52059 no:yes:* )
52060 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
52061 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
52062 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
52063 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
52064 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
52065 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
52066 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
52067 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
52068 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
52069 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
52070 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
52071 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
52072 (
52073 cat <<\_ASBOX
52074 ## ----------------------------------------- ##
52075 ## Report this to the package-unused lists. ##
52076 ## ----------------------------------------- ##
52077 _ASBOX
52078 ) |
52079 sed "s/^/$as_me: WARNING: /" >&2
52080 ;;
52081 esac
52082 echo "$as_me:$LINENO: checking for $ac_header" >&5
52083 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
52084 if eval "test \"\${$as_ac_Header+set}\" = set"; then
52085 echo $ECHO_N "(cached) $ECHO_C" >&6
52086 else
52087 eval "$as_ac_Header=\$ac_header_preproc"
52088 fi
52089 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
52090 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
52091
52092 fi
52093 if test `eval echo '${'$as_ac_Header'}'` = yes; then
52094 cat >>confdefs.h <<_ACEOF
52095 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
52096 _ACEOF
52097
52098 fi
52099
52100 done
52101
52102
52103 echo "$as_me:$LINENO: checking for poll" >&5
52104 echo $ECHO_N "checking for poll... $ECHO_C" >&6
52105 if test "${glibcxx_cv_POLL+set}" = set; then
52106 echo $ECHO_N "(cached) $ECHO_C" >&6
52107 else
52108
52109 if test x$gcc_no_link = xyes; then
52110 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52111 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52112 { (exit 1); exit 1; }; }
52113 fi
52114 cat >conftest.$ac_ext <<_ACEOF
52115 /* confdefs.h. */
52116 _ACEOF
52117 cat confdefs.h >>conftest.$ac_ext
52118 cat >>conftest.$ac_ext <<_ACEOF
52119 /* end confdefs.h. */
52120 #include <poll.h>
52121 int
52122 main ()
52123 {
52124 struct pollfd pfd[1];
52125 pfd[0].events = POLLIN;
52126 poll(pfd, 1, 0);
52127 ;
52128 return 0;
52129 }
52130 _ACEOF
52131 rm -f conftest.$ac_objext conftest$ac_exeext
52132 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52133 (eval $ac_link) 2>conftest.er1
52134 ac_status=$?
52135 grep -v '^ *+' conftest.er1 >conftest.err
52136 rm -f conftest.er1
52137 cat conftest.err >&5
52138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52139 (exit $ac_status); } &&
52140 { ac_try='test -z "$ac_c_werror_flag"
52141 || test ! -s conftest.err'
52142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52143 (eval $ac_try) 2>&5
52144 ac_status=$?
52145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52146 (exit $ac_status); }; } &&
52147 { ac_try='test -s conftest$ac_exeext'
52148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52149 (eval $ac_try) 2>&5
52150 ac_status=$?
52151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52152 (exit $ac_status); }; }; then
52153 glibcxx_cv_POLL=yes
52154 else
52155 echo "$as_me: failed program was:" >&5
52156 sed 's/^/| /' conftest.$ac_ext >&5
52157
52158 glibcxx_cv_POLL=no
52159 fi
52160 rm -f conftest.err conftest.$ac_objext \
52161 conftest$ac_exeext conftest.$ac_ext
52162
52163 fi
52164
52165 if test $glibcxx_cv_POLL = yes; then
52166
52167 cat >>confdefs.h <<\_ACEOF
52168 #define HAVE_POLL 1
52169 _ACEOF
52170
52171 fi
52172 echo "$as_me:$LINENO: result: $glibcxx_cv_POLL" >&5
52173 echo "${ECHO_T}$glibcxx_cv_POLL" >&6
52174
52175
52176 echo "$as_me:$LINENO: checking for S_ISREG or S_IFREG" >&5
52177 echo $ECHO_N "checking for S_ISREG or S_IFREG... $ECHO_C" >&6
52178 if test "${glibcxx_cv_S_ISREG+set}" = set; then
52179 echo $ECHO_N "(cached) $ECHO_C" >&6
52180 else
52181
52182 if test x$gcc_no_link = xyes; then
52183 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52184 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52185 { (exit 1); exit 1; }; }
52186 fi
52187 cat >conftest.$ac_ext <<_ACEOF
52188 /* confdefs.h. */
52189 _ACEOF
52190 cat confdefs.h >>conftest.$ac_ext
52191 cat >>conftest.$ac_ext <<_ACEOF
52192 /* end confdefs.h. */
52193 #include <sys/stat.h>
52194 int
52195 main ()
52196 {
52197 struct stat buffer;
52198 fstat(0, &buffer);
52199 S_ISREG(buffer.st_mode);
52200 ;
52201 return 0;
52202 }
52203 _ACEOF
52204 rm -f conftest.$ac_objext conftest$ac_exeext
52205 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52206 (eval $ac_link) 2>conftest.er1
52207 ac_status=$?
52208 grep -v '^ *+' conftest.er1 >conftest.err
52209 rm -f conftest.er1
52210 cat conftest.err >&5
52211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52212 (exit $ac_status); } &&
52213 { ac_try='test -z "$ac_c_werror_flag"
52214 || test ! -s conftest.err'
52215 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52216 (eval $ac_try) 2>&5
52217 ac_status=$?
52218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52219 (exit $ac_status); }; } &&
52220 { ac_try='test -s conftest$ac_exeext'
52221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52222 (eval $ac_try) 2>&5
52223 ac_status=$?
52224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52225 (exit $ac_status); }; }; then
52226 glibcxx_cv_S_ISREG=yes
52227 else
52228 echo "$as_me: failed program was:" >&5
52229 sed 's/^/| /' conftest.$ac_ext >&5
52230
52231 glibcxx_cv_S_ISREG=no
52232 fi
52233 rm -f conftest.err conftest.$ac_objext \
52234 conftest$ac_exeext conftest.$ac_ext
52235
52236 fi
52237
52238 if test "${glibcxx_cv_S_IFREG+set}" = set; then
52239 echo $ECHO_N "(cached) $ECHO_C" >&6
52240 else
52241
52242 if test x$gcc_no_link = xyes; then
52243 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52244 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52245 { (exit 1); exit 1; }; }
52246 fi
52247 cat >conftest.$ac_ext <<_ACEOF
52248 /* confdefs.h. */
52249 _ACEOF
52250 cat confdefs.h >>conftest.$ac_ext
52251 cat >>conftest.$ac_ext <<_ACEOF
52252 /* end confdefs.h. */
52253 #include <sys/stat.h>
52254 int
52255 main ()
52256 {
52257 struct stat buffer;
52258 fstat(0, &buffer);
52259 S_IFREG & buffer.st_mode;
52260 ;
52261 return 0;
52262 }
52263 _ACEOF
52264 rm -f conftest.$ac_objext conftest$ac_exeext
52265 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52266 (eval $ac_link) 2>conftest.er1
52267 ac_status=$?
52268 grep -v '^ *+' conftest.er1 >conftest.err
52269 rm -f conftest.er1
52270 cat conftest.err >&5
52271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52272 (exit $ac_status); } &&
52273 { ac_try='test -z "$ac_c_werror_flag"
52274 || test ! -s conftest.err'
52275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52276 (eval $ac_try) 2>&5
52277 ac_status=$?
52278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52279 (exit $ac_status); }; } &&
52280 { ac_try='test -s conftest$ac_exeext'
52281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52282 (eval $ac_try) 2>&5
52283 ac_status=$?
52284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52285 (exit $ac_status); }; }; then
52286 glibcxx_cv_S_IFREG=yes
52287 else
52288 echo "$as_me: failed program was:" >&5
52289 sed 's/^/| /' conftest.$ac_ext >&5
52290
52291 glibcxx_cv_S_IFREG=no
52292 fi
52293 rm -f conftest.err conftest.$ac_objext \
52294 conftest$ac_exeext conftest.$ac_ext
52295
52296 fi
52297
52298 res=no
52299 if test $glibcxx_cv_S_ISREG = yes; then
52300
52301 cat >>confdefs.h <<\_ACEOF
52302 #define HAVE_S_ISREG 1
52303 _ACEOF
52304
52305 res=S_ISREG
52306 elif test $glibcxx_cv_S_IFREG = yes; then
52307
52308 cat >>confdefs.h <<\_ACEOF
52309 #define HAVE_S_IFREG 1
52310 _ACEOF
52311
52312 res=S_IFREG
52313 fi
52314 echo "$as_me:$LINENO: result: $res" >&5
52315 echo "${ECHO_T}$res" >&6
52316
52317
52318 # For xsputn_2().
52319
52320 for ac_header in sys/uio.h
52321 do
52322 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
52323 if eval "test \"\${$as_ac_Header+set}\" = set"; then
52324 echo "$as_me:$LINENO: checking for $ac_header" >&5
52325 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
52326 if eval "test \"\${$as_ac_Header+set}\" = set"; then
52327 echo $ECHO_N "(cached) $ECHO_C" >&6
52328 fi
52329 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
52330 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
52331 else
52332 # Is the header compilable?
52333 echo "$as_me:$LINENO: checking $ac_header usability" >&5
52334 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
52335 cat >conftest.$ac_ext <<_ACEOF
52336 /* confdefs.h. */
52337 _ACEOF
52338 cat confdefs.h >>conftest.$ac_ext
52339 cat >>conftest.$ac_ext <<_ACEOF
52340 /* end confdefs.h. */
52341 $ac_includes_default
52342 #include <$ac_header>
52343 _ACEOF
52344 rm -f conftest.$ac_objext
52345 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52346 (eval $ac_compile) 2>conftest.er1
52347 ac_status=$?
52348 grep -v '^ *+' conftest.er1 >conftest.err
52349 rm -f conftest.er1
52350 cat conftest.err >&5
52351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52352 (exit $ac_status); } &&
52353 { ac_try='test -z "$ac_c_werror_flag"
52354 || test ! -s conftest.err'
52355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52356 (eval $ac_try) 2>&5
52357 ac_status=$?
52358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52359 (exit $ac_status); }; } &&
52360 { ac_try='test -s conftest.$ac_objext'
52361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52362 (eval $ac_try) 2>&5
52363 ac_status=$?
52364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52365 (exit $ac_status); }; }; then
52366 ac_header_compiler=yes
52367 else
52368 echo "$as_me: failed program was:" >&5
52369 sed 's/^/| /' conftest.$ac_ext >&5
52370
52371 ac_header_compiler=no
52372 fi
52373 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52374 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
52375 echo "${ECHO_T}$ac_header_compiler" >&6
52376
52377 # Is the header present?
52378 echo "$as_me:$LINENO: checking $ac_header presence" >&5
52379 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
52380 cat >conftest.$ac_ext <<_ACEOF
52381 /* confdefs.h. */
52382 _ACEOF
52383 cat confdefs.h >>conftest.$ac_ext
52384 cat >>conftest.$ac_ext <<_ACEOF
52385 /* end confdefs.h. */
52386 #include <$ac_header>
52387 _ACEOF
52388 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
52389 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
52390 ac_status=$?
52391 grep -v '^ *+' conftest.er1 >conftest.err
52392 rm -f conftest.er1
52393 cat conftest.err >&5
52394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52395 (exit $ac_status); } >/dev/null; then
52396 if test -s conftest.err; then
52397 ac_cpp_err=$ac_c_preproc_warn_flag
52398 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
52399 else
52400 ac_cpp_err=
52401 fi
52402 else
52403 ac_cpp_err=yes
52404 fi
52405 if test -z "$ac_cpp_err"; then
52406 ac_header_preproc=yes
52407 else
52408 echo "$as_me: failed program was:" >&5
52409 sed 's/^/| /' conftest.$ac_ext >&5
52410
52411 ac_header_preproc=no
52412 fi
52413 rm -f conftest.err conftest.$ac_ext
52414 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
52415 echo "${ECHO_T}$ac_header_preproc" >&6
52416
52417 # So? What about this header?
52418 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
52419 yes:no: )
52420 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
52421 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
52422 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
52423 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
52424 ac_header_preproc=yes
52425 ;;
52426 no:yes:* )
52427 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
52428 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
52429 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
52430 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
52431 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
52432 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
52433 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
52434 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
52435 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
52436 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
52437 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
52438 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
52439 (
52440 cat <<\_ASBOX
52441 ## ----------------------------------------- ##
52442 ## Report this to the package-unused lists. ##
52443 ## ----------------------------------------- ##
52444 _ASBOX
52445 ) |
52446 sed "s/^/$as_me: WARNING: /" >&2
52447 ;;
52448 esac
52449 echo "$as_me:$LINENO: checking for $ac_header" >&5
52450 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
52451 if eval "test \"\${$as_ac_Header+set}\" = set"; then
52452 echo $ECHO_N "(cached) $ECHO_C" >&6
52453 else
52454 eval "$as_ac_Header=\$ac_header_preproc"
52455 fi
52456 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
52457 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
52458
52459 fi
52460 if test `eval echo '${'$as_ac_Header'}'` = yes; then
52461 cat >>confdefs.h <<_ACEOF
52462 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
52463 _ACEOF
52464
52465 fi
52466
52467 done
52468
52469
52470 echo "$as_me:$LINENO: checking for writev" >&5
52471 echo $ECHO_N "checking for writev... $ECHO_C" >&6
52472 if test "${glibcxx_cv_WRITEV+set}" = set; then
52473 echo $ECHO_N "(cached) $ECHO_C" >&6
52474 else
52475
52476 if test x$gcc_no_link = xyes; then
52477 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52478 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52479 { (exit 1); exit 1; }; }
52480 fi
52481 cat >conftest.$ac_ext <<_ACEOF
52482 /* confdefs.h. */
52483 _ACEOF
52484 cat confdefs.h >>conftest.$ac_ext
52485 cat >>conftest.$ac_ext <<_ACEOF
52486 /* end confdefs.h. */
52487 #include <sys/uio.h>
52488 int
52489 main ()
52490 {
52491 struct iovec iov[2];
52492 writev(0, iov, 0);
52493 ;
52494 return 0;
52495 }
52496 _ACEOF
52497 rm -f conftest.$ac_objext conftest$ac_exeext
52498 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52499 (eval $ac_link) 2>conftest.er1
52500 ac_status=$?
52501 grep -v '^ *+' conftest.er1 >conftest.err
52502 rm -f conftest.er1
52503 cat conftest.err >&5
52504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52505 (exit $ac_status); } &&
52506 { ac_try='test -z "$ac_c_werror_flag"
52507 || test ! -s conftest.err'
52508 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52509 (eval $ac_try) 2>&5
52510 ac_status=$?
52511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52512 (exit $ac_status); }; } &&
52513 { ac_try='test -s conftest$ac_exeext'
52514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52515 (eval $ac_try) 2>&5
52516 ac_status=$?
52517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52518 (exit $ac_status); }; }; then
52519 glibcxx_cv_WRITEV=yes
52520 else
52521 echo "$as_me: failed program was:" >&5
52522 sed 's/^/| /' conftest.$ac_ext >&5
52523
52524 glibcxx_cv_WRITEV=no
52525 fi
52526 rm -f conftest.err conftest.$ac_objext \
52527 conftest$ac_exeext conftest.$ac_ext
52528
52529 fi
52530
52531 if test $glibcxx_cv_WRITEV = yes; then
52532
52533 cat >>confdefs.h <<\_ACEOF
52534 #define HAVE_WRITEV 1
52535 _ACEOF
52536
52537 fi
52538 echo "$as_me:$LINENO: result: $glibcxx_cv_WRITEV" >&5
52539 echo "${ECHO_T}$glibcxx_cv_WRITEV" >&6
52540
52541
52542 cat >>confdefs.h <<\_ACEOF
52543 #define HAVE_LC_MESSAGES 1
52544 _ACEOF
52545
52546
52547 cat >conftest.$ac_ext <<_ACEOF
52548 /* confdefs.h. */
52549 _ACEOF
52550 cat confdefs.h >>conftest.$ac_ext
52551 cat >>conftest.$ac_ext <<_ACEOF
52552 /* end confdefs.h. */
52553 #include <setjmp.h>
52554 int
52555 main ()
52556 {
52557 sigjmp_buf env;
52558 while (! sigsetjmp (env, 1))
52559 siglongjmp (env, 1);
52560
52561 ;
52562 return 0;
52563 }
52564 _ACEOF
52565 rm -f conftest.$ac_objext
52566 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52567 (eval $ac_compile) 2>conftest.er1
52568 ac_status=$?
52569 grep -v '^ *+' conftest.er1 >conftest.err
52570 rm -f conftest.er1
52571 cat conftest.err >&5
52572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52573 (exit $ac_status); } &&
52574 { ac_try='test -z "$ac_c_werror_flag"
52575 || test ! -s conftest.err'
52576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52577 (eval $ac_try) 2>&5
52578 ac_status=$?
52579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52580 (exit $ac_status); }; } &&
52581 { ac_try='test -s conftest.$ac_objext'
52582 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52583 (eval $ac_try) 2>&5
52584 ac_status=$?
52585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52586 (exit $ac_status); }; }; then
52587
52588 cat >>confdefs.h <<\_ACEOF
52589 #define HAVE_SIGSETJMP 1
52590 _ACEOF
52591
52592 else
52593 echo "$as_me: failed program was:" >&5
52594 sed 's/^/| /' conftest.$ac_ext >&5
52595
52596 fi
52597 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52598
52599 cat >>confdefs.h <<\_ACEOF
52600 #define HAVE_MMAP 1
52601 _ACEOF
52602
52603 ;;
52604
52605 *djgpp)
52606
52607
52608
52609
52610
52611
52612
52613
52614
52615
52616
52617
52618
52619
52620
52621
52622
52623
52624
52625
52626 for ac_header in float.h ieeefp.h inttypes.h locale.h \
52627 memory.h stdint.h stdlib.h strings.h string.h unistd.h \
52628 wchar.h wctype.h machine/endian.h sys/ioctl.h sys/param.h \
52629 sys/resource.h sys/stat.h sys/time.h sys/types.h sys/uio.h
52630 do
52631 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
52632 if eval "test \"\${$as_ac_Header+set}\" = set"; then
52633 echo "$as_me:$LINENO: checking for $ac_header" >&5
52634 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
52635 if eval "test \"\${$as_ac_Header+set}\" = set"; then
52636 echo $ECHO_N "(cached) $ECHO_C" >&6
52637 fi
52638 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
52639 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
52640 else
52641 # Is the header compilable?
52642 echo "$as_me:$LINENO: checking $ac_header usability" >&5
52643 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
52644 cat >conftest.$ac_ext <<_ACEOF
52645 /* confdefs.h. */
52646 _ACEOF
52647 cat confdefs.h >>conftest.$ac_ext
52648 cat >>conftest.$ac_ext <<_ACEOF
52649 /* end confdefs.h. */
52650 $ac_includes_default
52651 #include <$ac_header>
52652 _ACEOF
52653 rm -f conftest.$ac_objext
52654 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52655 (eval $ac_compile) 2>conftest.er1
52656 ac_status=$?
52657 grep -v '^ *+' conftest.er1 >conftest.err
52658 rm -f conftest.er1
52659 cat conftest.err >&5
52660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52661 (exit $ac_status); } &&
52662 { ac_try='test -z "$ac_c_werror_flag"
52663 || test ! -s conftest.err'
52664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52665 (eval $ac_try) 2>&5
52666 ac_status=$?
52667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52668 (exit $ac_status); }; } &&
52669 { ac_try='test -s conftest.$ac_objext'
52670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52671 (eval $ac_try) 2>&5
52672 ac_status=$?
52673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52674 (exit $ac_status); }; }; then
52675 ac_header_compiler=yes
52676 else
52677 echo "$as_me: failed program was:" >&5
52678 sed 's/^/| /' conftest.$ac_ext >&5
52679
52680 ac_header_compiler=no
52681 fi
52682 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52683 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
52684 echo "${ECHO_T}$ac_header_compiler" >&6
52685
52686 # Is the header present?
52687 echo "$as_me:$LINENO: checking $ac_header presence" >&5
52688 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
52689 cat >conftest.$ac_ext <<_ACEOF
52690 /* confdefs.h. */
52691 _ACEOF
52692 cat confdefs.h >>conftest.$ac_ext
52693 cat >>conftest.$ac_ext <<_ACEOF
52694 /* end confdefs.h. */
52695 #include <$ac_header>
52696 _ACEOF
52697 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
52698 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
52699 ac_status=$?
52700 grep -v '^ *+' conftest.er1 >conftest.err
52701 rm -f conftest.er1
52702 cat conftest.err >&5
52703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52704 (exit $ac_status); } >/dev/null; then
52705 if test -s conftest.err; then
52706 ac_cpp_err=$ac_c_preproc_warn_flag
52707 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
52708 else
52709 ac_cpp_err=
52710 fi
52711 else
52712 ac_cpp_err=yes
52713 fi
52714 if test -z "$ac_cpp_err"; then
52715 ac_header_preproc=yes
52716 else
52717 echo "$as_me: failed program was:" >&5
52718 sed 's/^/| /' conftest.$ac_ext >&5
52719
52720 ac_header_preproc=no
52721 fi
52722 rm -f conftest.err conftest.$ac_ext
52723 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
52724 echo "${ECHO_T}$ac_header_preproc" >&6
52725
52726 # So? What about this header?
52727 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
52728 yes:no: )
52729 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
52730 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
52731 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
52732 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
52733 ac_header_preproc=yes
52734 ;;
52735 no:yes:* )
52736 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
52737 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
52738 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
52739 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
52740 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
52741 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
52742 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
52743 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
52744 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
52745 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
52746 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
52747 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
52748 (
52749 cat <<\_ASBOX
52750 ## ----------------------------------------- ##
52751 ## Report this to the package-unused lists. ##
52752 ## ----------------------------------------- ##
52753 _ASBOX
52754 ) |
52755 sed "s/^/$as_me: WARNING: /" >&2
52756 ;;
52757 esac
52758 echo "$as_me:$LINENO: checking for $ac_header" >&5
52759 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
52760 if eval "test \"\${$as_ac_Header+set}\" = set"; then
52761 echo $ECHO_N "(cached) $ECHO_C" >&6
52762 else
52763 eval "$as_ac_Header=\$ac_header_preproc"
52764 fi
52765 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
52766 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
52767
52768 fi
52769 if test `eval echo '${'$as_ac_Header'}'` = yes; then
52770 cat >>confdefs.h <<_ACEOF
52771 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
52772 _ACEOF
52773
52774 fi
52775
52776 done
52777
52778
52779 # All these tests are for C++; save the language and the compiler flags.
52780 # The CXXFLAGS thing is suspicious, but based on similar bits previously
52781 # found in GLIBCXX_CONFIGURE.
52782
52783
52784 ac_ext=cc
52785 ac_cpp='$CXXCPP $CPPFLAGS'
52786 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52787 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52788 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52789
52790 ac_test_CXXFLAGS="${CXXFLAGS+set}"
52791 ac_save_CXXFLAGS="$CXXFLAGS"
52792
52793 # Check for maintainer-mode bits.
52794 if test x"$USE_MAINTAINER_MODE" = xno; then
52795 WERROR=''
52796 else
52797 WERROR='-Werror'
52798 fi
52799
52800 # Check for -ffunction-sections -fdata-sections
52801 echo "$as_me:$LINENO: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
52802 echo $ECHO_N "checking for g++ that supports -ffunction-sections -fdata-sections... $ECHO_C" >&6
52803 CXXFLAGS='-Werror -ffunction-sections -fdata-sections'
52804 cat >conftest.$ac_ext <<_ACEOF
52805 /* confdefs.h. */
52806 _ACEOF
52807 cat confdefs.h >>conftest.$ac_ext
52808 cat >>conftest.$ac_ext <<_ACEOF
52809 /* end confdefs.h. */
52810
52811 int
52812 main ()
52813 {
52814 int foo;
52815 ;
52816 return 0;
52817 }
52818 _ACEOF
52819 rm -f conftest.$ac_objext
52820 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52821 (eval $ac_compile) 2>conftest.er1
52822 ac_status=$?
52823 grep -v '^ *+' conftest.er1 >conftest.err
52824 rm -f conftest.er1
52825 cat conftest.err >&5
52826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52827 (exit $ac_status); } &&
52828 { ac_try='test -z "$ac_cxx_werror_flag"
52829 || test ! -s conftest.err'
52830 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52831 (eval $ac_try) 2>&5
52832 ac_status=$?
52833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52834 (exit $ac_status); }; } &&
52835 { ac_try='test -s conftest.$ac_objext'
52836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52837 (eval $ac_try) 2>&5
52838 ac_status=$?
52839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52840 (exit $ac_status); }; }; then
52841 ac_fdsections=yes
52842 else
52843 echo "$as_me: failed program was:" >&5
52844 sed 's/^/| /' conftest.$ac_ext >&5
52845
52846 ac_fdsections=no
52847 fi
52848 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52849 if test "$ac_test_CXXFLAGS" = set; then
52850 CXXFLAGS="$ac_save_CXXFLAGS"
52851 else
52852 # this is the suspicious part
52853 CXXFLAGS=''
52854 fi
52855 if test x"$ac_fdsections" = x"yes"; then
52856 SECTION_FLAGS='-ffunction-sections -fdata-sections'
52857 fi
52858 echo "$as_me:$LINENO: result: $ac_fdsections" >&5
52859 echo "${ECHO_T}$ac_fdsections" >&6
52860
52861 ac_ext=c
52862 ac_cpp='$CPP $CPPFLAGS'
52863 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52864 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52865 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52866
52867
52868
52869
52870
52871 # If we're not using GNU ld, then there's no point in even trying these
52872 # tests. Check for that first. We should have already tested for gld
52873 # by now (in libtool), but require it now just to be safe...
52874 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
52875 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
52876
52877
52878
52879 # The name set by libtool depends on the version of libtool. Shame on us
52880 # for depending on an impl detail, but c'est la vie. Older versions used
52881 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
52882 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
52883 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
52884 # set (hence we're using an older libtool), then set it.
52885 if test x${with_gnu_ld+set} != xset; then
52886 if test x${ac_cv_prog_gnu_ld+set} != xset; then
52887 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
52888 with_gnu_ld=no
52889 else
52890 with_gnu_ld=$ac_cv_prog_gnu_ld
52891 fi
52892 fi
52893
52894 # Start by getting the version number. I think the libtool test already
52895 # does some of this, but throws away the result.
52896
52897 ldver=`$LD --version 2>/dev/null | head -1 | \
52898 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
52899
52900 glibcxx_gnu_ld_version=`echo $ldver | \
52901 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
52902
52903 # Set --gc-sections.
52904 if test "$with_gnu_ld" = "notbroken"; then
52905 # GNU ld it is! Joy and bunny rabbits!
52906
52907 # All these tests are for C++; save the language and the compiler flags.
52908 # Need to do this so that g++ won't try to link in libstdc++
52909 ac_test_CFLAGS="${CFLAGS+set}"
52910 ac_save_CFLAGS="$CFLAGS"
52911 CFLAGS='-x c++ -Wl,--gc-sections'
52912
52913 # Check for -Wl,--gc-sections
52914 # XXX This test is broken at the moment, as symbols required for linking
52915 # are now in libsupc++ (not built yet). In addition, this test has
52916 # cored on solaris in the past. In addition, --gc-sections doesn't
52917 # really work at the moment (keeps on discarding used sections, first
52918 # .eh_frame and now some of the glibc sections for iconv).
52919 # Bzzzzt. Thanks for playing, maybe next time.
52920 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
52921 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
52922 if test "$cross_compiling" = yes; then
52923 ac_sectionLDflags=yes
52924 else
52925 cat >conftest.$ac_ext <<_ACEOF
52926 /* confdefs.h. */
52927 _ACEOF
52928 cat confdefs.h >>conftest.$ac_ext
52929 cat >>conftest.$ac_ext <<_ACEOF
52930 /* end confdefs.h. */
52931
52932 int main(void)
52933 {
52934 try { throw 1; }
52935 catch (...) { };
52936 return 0;
52937 }
52938
52939 _ACEOF
52940 rm -f conftest$ac_exeext
52941 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52942 (eval $ac_link) 2>&5
52943 ac_status=$?
52944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52945 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
52946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52947 (eval $ac_try) 2>&5
52948 ac_status=$?
52949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52950 (exit $ac_status); }; }; then
52951 ac_sectionLDflags=yes
52952 else
52953 echo "$as_me: program exited with status $ac_status" >&5
52954 echo "$as_me: failed program was:" >&5
52955 sed 's/^/| /' conftest.$ac_ext >&5
52956
52957 ( exit $ac_status )
52958 ac_sectionLDflags=no
52959 fi
52960 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
52961 fi
52962 if test "$ac_test_CFLAGS" = set; then
52963 CFLAGS="$ac_save_CFLAGS"
52964 else
52965 # this is the suspicious part
52966 CFLAGS=''
52967 fi
52968 if test "$ac_sectionLDflags" = "yes"; then
52969 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
52970 fi
52971 echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
52972 echo "${ECHO_T}$ac_sectionLDflags" >&6
52973 fi
52974
52975 # Set linker optimization flags.
52976 if test x"$with_gnu_ld" = x"yes"; then
52977 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
52978 fi
52979
52980
52981
52982
52983
52984 ac_test_CXXFLAGS="${CXXFLAGS+set}"
52985 ac_save_CXXFLAGS="$CXXFLAGS"
52986 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
52987
52988 echo "$as_me:$LINENO: checking for sin in -lm" >&5
52989 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
52990 if test "${ac_cv_lib_m_sin+set}" = set; then
52991 echo $ECHO_N "(cached) $ECHO_C" >&6
52992 else
52993 ac_check_lib_save_LIBS=$LIBS
52994 LIBS="-lm $LIBS"
52995 if test x$gcc_no_link = xyes; then
52996 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52997 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52998 { (exit 1); exit 1; }; }
52999 fi
53000 cat >conftest.$ac_ext <<_ACEOF
53001 /* confdefs.h. */
53002 _ACEOF
53003 cat confdefs.h >>conftest.$ac_ext
53004 cat >>conftest.$ac_ext <<_ACEOF
53005 /* end confdefs.h. */
53006
53007 /* Override any gcc2 internal prototype to avoid an error. */
53008 #ifdef __cplusplus
53009 extern "C"
53010 #endif
53011 /* We use char because int might match the return type of a gcc2
53012 builtin and then its argument prototype would still apply. */
53013 char sin ();
53014 int
53015 main ()
53016 {
53017 sin ();
53018 ;
53019 return 0;
53020 }
53021 _ACEOF
53022 rm -f conftest.$ac_objext conftest$ac_exeext
53023 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53024 (eval $ac_link) 2>conftest.er1
53025 ac_status=$?
53026 grep -v '^ *+' conftest.er1 >conftest.err
53027 rm -f conftest.er1
53028 cat conftest.err >&5
53029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53030 (exit $ac_status); } &&
53031 { ac_try='test -z "$ac_c_werror_flag"
53032 || test ! -s conftest.err'
53033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53034 (eval $ac_try) 2>&5
53035 ac_status=$?
53036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53037 (exit $ac_status); }; } &&
53038 { ac_try='test -s conftest$ac_exeext'
53039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53040 (eval $ac_try) 2>&5
53041 ac_status=$?
53042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53043 (exit $ac_status); }; }; then
53044 ac_cv_lib_m_sin=yes
53045 else
53046 echo "$as_me: failed program was:" >&5
53047 sed 's/^/| /' conftest.$ac_ext >&5
53048
53049 ac_cv_lib_m_sin=no
53050 fi
53051 rm -f conftest.err conftest.$ac_objext \
53052 conftest$ac_exeext conftest.$ac_ext
53053 LIBS=$ac_check_lib_save_LIBS
53054 fi
53055 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
53056 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
53057 if test $ac_cv_lib_m_sin = yes; then
53058 libm="-lm"
53059 fi
53060
53061 ac_save_LIBS="$LIBS"
53062 LIBS="$LIBS $libm"
53063
53064
53065
53066 echo "$as_me:$LINENO: checking for isinf declaration" >&5
53067 echo $ECHO_N "checking for isinf declaration... $ECHO_C" >&6
53068 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
53069 if test "${glibcxx_cv_func_isinf_use+set}" = set; then
53070 echo $ECHO_N "(cached) $ECHO_C" >&6
53071 else
53072
53073
53074
53075 ac_ext=cc
53076 ac_cpp='$CXXCPP $CPPFLAGS'
53077 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53078 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53079 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53080
53081 cat >conftest.$ac_ext <<_ACEOF
53082 /* confdefs.h. */
53083 _ACEOF
53084 cat confdefs.h >>conftest.$ac_ext
53085 cat >>conftest.$ac_ext <<_ACEOF
53086 /* end confdefs.h. */
53087 #include <math.h>
53088 #ifdef HAVE_IEEEFP_H
53089 #include <ieeefp.h>
53090 #endif
53091
53092 int
53093 main ()
53094 {
53095 isinf(0);
53096 ;
53097 return 0;
53098 }
53099 _ACEOF
53100 rm -f conftest.$ac_objext
53101 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53102 (eval $ac_compile) 2>conftest.er1
53103 ac_status=$?
53104 grep -v '^ *+' conftest.er1 >conftest.err
53105 rm -f conftest.er1
53106 cat conftest.err >&5
53107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53108 (exit $ac_status); } &&
53109 { ac_try='test -z "$ac_cxx_werror_flag"
53110 || test ! -s conftest.err'
53111 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53112 (eval $ac_try) 2>&5
53113 ac_status=$?
53114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53115 (exit $ac_status); }; } &&
53116 { ac_try='test -s conftest.$ac_objext'
53117 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53118 (eval $ac_try) 2>&5
53119 ac_status=$?
53120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53121 (exit $ac_status); }; }; then
53122 glibcxx_cv_func_isinf_use=yes
53123 else
53124 echo "$as_me: failed program was:" >&5
53125 sed 's/^/| /' conftest.$ac_ext >&5
53126
53127 glibcxx_cv_func_isinf_use=no
53128 fi
53129 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53130 ac_ext=c
53131 ac_cpp='$CPP $CPPFLAGS'
53132 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53133 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53134 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53135
53136
53137 fi
53138
53139 fi
53140 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinf_use" >&5
53141 echo "${ECHO_T}$glibcxx_cv_func_isinf_use" >&6
53142
53143 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
53144
53145 for ac_func in isinf
53146 do
53147 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53148 echo "$as_me:$LINENO: checking for $ac_func" >&5
53149 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53150 if eval "test \"\${$as_ac_var+set}\" = set"; then
53151 echo $ECHO_N "(cached) $ECHO_C" >&6
53152 else
53153 if test x$gcc_no_link = xyes; then
53154 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53155 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53156 { (exit 1); exit 1; }; }
53157 fi
53158 cat >conftest.$ac_ext <<_ACEOF
53159 /* confdefs.h. */
53160 _ACEOF
53161 cat confdefs.h >>conftest.$ac_ext
53162 cat >>conftest.$ac_ext <<_ACEOF
53163 /* end confdefs.h. */
53164 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
53165 For example, HP-UX 11i <limits.h> declares gettimeofday. */
53166 #define $ac_func innocuous_$ac_func
53167
53168 /* System header to define __stub macros and hopefully few prototypes,
53169 which can conflict with char $ac_func (); below.
53170 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53171 <limits.h> exists even on freestanding compilers. */
53172
53173 #ifdef __STDC__
53174 # include <limits.h>
53175 #else
53176 # include <assert.h>
53177 #endif
53178
53179 #undef $ac_func
53180
53181 /* Override any gcc2 internal prototype to avoid an error. */
53182 #ifdef __cplusplus
53183 extern "C"
53184 {
53185 #endif
53186 /* We use char because int might match the return type of a gcc2
53187 builtin and then its argument prototype would still apply. */
53188 char $ac_func ();
53189 /* The GNU C library defines this for functions which it implements
53190 to always fail with ENOSYS. Some functions are actually named
53191 something starting with __ and the normal name is an alias. */
53192 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53193 choke me
53194 #else
53195 char (*f) () = $ac_func;
53196 #endif
53197 #ifdef __cplusplus
53198 }
53199 #endif
53200
53201 int
53202 main ()
53203 {
53204 return f != $ac_func;
53205 ;
53206 return 0;
53207 }
53208 _ACEOF
53209 rm -f conftest.$ac_objext conftest$ac_exeext
53210 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53211 (eval $ac_link) 2>conftest.er1
53212 ac_status=$?
53213 grep -v '^ *+' conftest.er1 >conftest.err
53214 rm -f conftest.er1
53215 cat conftest.err >&5
53216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53217 (exit $ac_status); } &&
53218 { ac_try='test -z "$ac_c_werror_flag"
53219 || test ! -s conftest.err'
53220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53221 (eval $ac_try) 2>&5
53222 ac_status=$?
53223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53224 (exit $ac_status); }; } &&
53225 { ac_try='test -s conftest$ac_exeext'
53226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53227 (eval $ac_try) 2>&5
53228 ac_status=$?
53229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53230 (exit $ac_status); }; }; then
53231 eval "$as_ac_var=yes"
53232 else
53233 echo "$as_me: failed program was:" >&5
53234 sed 's/^/| /' conftest.$ac_ext >&5
53235
53236 eval "$as_ac_var=no"
53237 fi
53238 rm -f conftest.err conftest.$ac_objext \
53239 conftest$ac_exeext conftest.$ac_ext
53240 fi
53241 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53242 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53243 if test `eval echo '${'$as_ac_var'}'` = yes; then
53244 cat >>confdefs.h <<_ACEOF
53245 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53246 _ACEOF
53247
53248 fi
53249 done
53250
53251 else
53252
53253 echo "$as_me:$LINENO: checking for _isinf declaration" >&5
53254 echo $ECHO_N "checking for _isinf declaration... $ECHO_C" >&6
53255 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
53256 if test "${glibcxx_cv_func__isinf_use+set}" = set; then
53257 echo $ECHO_N "(cached) $ECHO_C" >&6
53258 else
53259
53260
53261
53262 ac_ext=cc
53263 ac_cpp='$CXXCPP $CPPFLAGS'
53264 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53265 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53266 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53267
53268 cat >conftest.$ac_ext <<_ACEOF
53269 /* confdefs.h. */
53270 _ACEOF
53271 cat confdefs.h >>conftest.$ac_ext
53272 cat >>conftest.$ac_ext <<_ACEOF
53273 /* end confdefs.h. */
53274 #include <math.h>
53275 #ifdef HAVE_IEEEFP_H
53276 #include <ieeefp.h>
53277 #endif
53278
53279 int
53280 main ()
53281 {
53282 _isinf(0);
53283 ;
53284 return 0;
53285 }
53286 _ACEOF
53287 rm -f conftest.$ac_objext
53288 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53289 (eval $ac_compile) 2>conftest.er1
53290 ac_status=$?
53291 grep -v '^ *+' conftest.er1 >conftest.err
53292 rm -f conftest.er1
53293 cat conftest.err >&5
53294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53295 (exit $ac_status); } &&
53296 { ac_try='test -z "$ac_cxx_werror_flag"
53297 || test ! -s conftest.err'
53298 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53299 (eval $ac_try) 2>&5
53300 ac_status=$?
53301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53302 (exit $ac_status); }; } &&
53303 { ac_try='test -s conftest.$ac_objext'
53304 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53305 (eval $ac_try) 2>&5
53306 ac_status=$?
53307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53308 (exit $ac_status); }; }; then
53309 glibcxx_cv_func__isinf_use=yes
53310 else
53311 echo "$as_me: failed program was:" >&5
53312 sed 's/^/| /' conftest.$ac_ext >&5
53313
53314 glibcxx_cv_func__isinf_use=no
53315 fi
53316 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53317 ac_ext=c
53318 ac_cpp='$CPP $CPPFLAGS'
53319 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53320 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53321 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53322
53323
53324 fi
53325
53326 fi
53327 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinf_use" >&5
53328 echo "${ECHO_T}$glibcxx_cv_func__isinf_use" >&6
53329
53330 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
53331
53332 for ac_func in _isinf
53333 do
53334 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53335 echo "$as_me:$LINENO: checking for $ac_func" >&5
53336 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53337 if eval "test \"\${$as_ac_var+set}\" = set"; then
53338 echo $ECHO_N "(cached) $ECHO_C" >&6
53339 else
53340 if test x$gcc_no_link = xyes; then
53341 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53342 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53343 { (exit 1); exit 1; }; }
53344 fi
53345 cat >conftest.$ac_ext <<_ACEOF
53346 /* confdefs.h. */
53347 _ACEOF
53348 cat confdefs.h >>conftest.$ac_ext
53349 cat >>conftest.$ac_ext <<_ACEOF
53350 /* end confdefs.h. */
53351 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
53352 For example, HP-UX 11i <limits.h> declares gettimeofday. */
53353 #define $ac_func innocuous_$ac_func
53354
53355 /* System header to define __stub macros and hopefully few prototypes,
53356 which can conflict with char $ac_func (); below.
53357 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53358 <limits.h> exists even on freestanding compilers. */
53359
53360 #ifdef __STDC__
53361 # include <limits.h>
53362 #else
53363 # include <assert.h>
53364 #endif
53365
53366 #undef $ac_func
53367
53368 /* Override any gcc2 internal prototype to avoid an error. */
53369 #ifdef __cplusplus
53370 extern "C"
53371 {
53372 #endif
53373 /* We use char because int might match the return type of a gcc2
53374 builtin and then its argument prototype would still apply. */
53375 char $ac_func ();
53376 /* The GNU C library defines this for functions which it implements
53377 to always fail with ENOSYS. Some functions are actually named
53378 something starting with __ and the normal name is an alias. */
53379 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53380 choke me
53381 #else
53382 char (*f) () = $ac_func;
53383 #endif
53384 #ifdef __cplusplus
53385 }
53386 #endif
53387
53388 int
53389 main ()
53390 {
53391 return f != $ac_func;
53392 ;
53393 return 0;
53394 }
53395 _ACEOF
53396 rm -f conftest.$ac_objext conftest$ac_exeext
53397 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53398 (eval $ac_link) 2>conftest.er1
53399 ac_status=$?
53400 grep -v '^ *+' conftest.er1 >conftest.err
53401 rm -f conftest.er1
53402 cat conftest.err >&5
53403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53404 (exit $ac_status); } &&
53405 { ac_try='test -z "$ac_c_werror_flag"
53406 || test ! -s conftest.err'
53407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53408 (eval $ac_try) 2>&5
53409 ac_status=$?
53410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53411 (exit $ac_status); }; } &&
53412 { ac_try='test -s conftest$ac_exeext'
53413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53414 (eval $ac_try) 2>&5
53415 ac_status=$?
53416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53417 (exit $ac_status); }; }; then
53418 eval "$as_ac_var=yes"
53419 else
53420 echo "$as_me: failed program was:" >&5
53421 sed 's/^/| /' conftest.$ac_ext >&5
53422
53423 eval "$as_ac_var=no"
53424 fi
53425 rm -f conftest.err conftest.$ac_objext \
53426 conftest$ac_exeext conftest.$ac_ext
53427 fi
53428 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53429 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53430 if test `eval echo '${'$as_ac_var'}'` = yes; then
53431 cat >>confdefs.h <<_ACEOF
53432 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53433 _ACEOF
53434
53435 fi
53436 done
53437
53438 fi
53439 fi
53440
53441
53442
53443
53444
53445
53446 echo "$as_me:$LINENO: checking for isnan declaration" >&5
53447 echo $ECHO_N "checking for isnan declaration... $ECHO_C" >&6
53448 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
53449 if test "${glibcxx_cv_func_isnan_use+set}" = set; then
53450 echo $ECHO_N "(cached) $ECHO_C" >&6
53451 else
53452
53453
53454
53455 ac_ext=cc
53456 ac_cpp='$CXXCPP $CPPFLAGS'
53457 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53458 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53459 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53460
53461 cat >conftest.$ac_ext <<_ACEOF
53462 /* confdefs.h. */
53463 _ACEOF
53464 cat confdefs.h >>conftest.$ac_ext
53465 cat >>conftest.$ac_ext <<_ACEOF
53466 /* end confdefs.h. */
53467 #include <math.h>
53468 #ifdef HAVE_IEEEFP_H
53469 #include <ieeefp.h>
53470 #endif
53471
53472 int
53473 main ()
53474 {
53475 isnan(0);
53476 ;
53477 return 0;
53478 }
53479 _ACEOF
53480 rm -f conftest.$ac_objext
53481 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53482 (eval $ac_compile) 2>conftest.er1
53483 ac_status=$?
53484 grep -v '^ *+' conftest.er1 >conftest.err
53485 rm -f conftest.er1
53486 cat conftest.err >&5
53487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53488 (exit $ac_status); } &&
53489 { ac_try='test -z "$ac_cxx_werror_flag"
53490 || test ! -s conftest.err'
53491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53492 (eval $ac_try) 2>&5
53493 ac_status=$?
53494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53495 (exit $ac_status); }; } &&
53496 { ac_try='test -s conftest.$ac_objext'
53497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53498 (eval $ac_try) 2>&5
53499 ac_status=$?
53500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53501 (exit $ac_status); }; }; then
53502 glibcxx_cv_func_isnan_use=yes
53503 else
53504 echo "$as_me: failed program was:" >&5
53505 sed 's/^/| /' conftest.$ac_ext >&5
53506
53507 glibcxx_cv_func_isnan_use=no
53508 fi
53509 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53510 ac_ext=c
53511 ac_cpp='$CPP $CPPFLAGS'
53512 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53513 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53514 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53515
53516
53517 fi
53518
53519 fi
53520 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnan_use" >&5
53521 echo "${ECHO_T}$glibcxx_cv_func_isnan_use" >&6
53522
53523 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
53524
53525 for ac_func in isnan
53526 do
53527 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53528 echo "$as_me:$LINENO: checking for $ac_func" >&5
53529 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53530 if eval "test \"\${$as_ac_var+set}\" = set"; then
53531 echo $ECHO_N "(cached) $ECHO_C" >&6
53532 else
53533 if test x$gcc_no_link = xyes; then
53534 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53535 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53536 { (exit 1); exit 1; }; }
53537 fi
53538 cat >conftest.$ac_ext <<_ACEOF
53539 /* confdefs.h. */
53540 _ACEOF
53541 cat confdefs.h >>conftest.$ac_ext
53542 cat >>conftest.$ac_ext <<_ACEOF
53543 /* end confdefs.h. */
53544 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
53545 For example, HP-UX 11i <limits.h> declares gettimeofday. */
53546 #define $ac_func innocuous_$ac_func
53547
53548 /* System header to define __stub macros and hopefully few prototypes,
53549 which can conflict with char $ac_func (); below.
53550 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53551 <limits.h> exists even on freestanding compilers. */
53552
53553 #ifdef __STDC__
53554 # include <limits.h>
53555 #else
53556 # include <assert.h>
53557 #endif
53558
53559 #undef $ac_func
53560
53561 /* Override any gcc2 internal prototype to avoid an error. */
53562 #ifdef __cplusplus
53563 extern "C"
53564 {
53565 #endif
53566 /* We use char because int might match the return type of a gcc2
53567 builtin and then its argument prototype would still apply. */
53568 char $ac_func ();
53569 /* The GNU C library defines this for functions which it implements
53570 to always fail with ENOSYS. Some functions are actually named
53571 something starting with __ and the normal name is an alias. */
53572 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53573 choke me
53574 #else
53575 char (*f) () = $ac_func;
53576 #endif
53577 #ifdef __cplusplus
53578 }
53579 #endif
53580
53581 int
53582 main ()
53583 {
53584 return f != $ac_func;
53585 ;
53586 return 0;
53587 }
53588 _ACEOF
53589 rm -f conftest.$ac_objext conftest$ac_exeext
53590 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53591 (eval $ac_link) 2>conftest.er1
53592 ac_status=$?
53593 grep -v '^ *+' conftest.er1 >conftest.err
53594 rm -f conftest.er1
53595 cat conftest.err >&5
53596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53597 (exit $ac_status); } &&
53598 { ac_try='test -z "$ac_c_werror_flag"
53599 || test ! -s conftest.err'
53600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53601 (eval $ac_try) 2>&5
53602 ac_status=$?
53603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53604 (exit $ac_status); }; } &&
53605 { ac_try='test -s conftest$ac_exeext'
53606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53607 (eval $ac_try) 2>&5
53608 ac_status=$?
53609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53610 (exit $ac_status); }; }; then
53611 eval "$as_ac_var=yes"
53612 else
53613 echo "$as_me: failed program was:" >&5
53614 sed 's/^/| /' conftest.$ac_ext >&5
53615
53616 eval "$as_ac_var=no"
53617 fi
53618 rm -f conftest.err conftest.$ac_objext \
53619 conftest$ac_exeext conftest.$ac_ext
53620 fi
53621 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53622 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53623 if test `eval echo '${'$as_ac_var'}'` = yes; then
53624 cat >>confdefs.h <<_ACEOF
53625 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53626 _ACEOF
53627
53628 fi
53629 done
53630
53631 else
53632
53633 echo "$as_me:$LINENO: checking for _isnan declaration" >&5
53634 echo $ECHO_N "checking for _isnan declaration... $ECHO_C" >&6
53635 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
53636 if test "${glibcxx_cv_func__isnan_use+set}" = set; then
53637 echo $ECHO_N "(cached) $ECHO_C" >&6
53638 else
53639
53640
53641
53642 ac_ext=cc
53643 ac_cpp='$CXXCPP $CPPFLAGS'
53644 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53645 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53646 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53647
53648 cat >conftest.$ac_ext <<_ACEOF
53649 /* confdefs.h. */
53650 _ACEOF
53651 cat confdefs.h >>conftest.$ac_ext
53652 cat >>conftest.$ac_ext <<_ACEOF
53653 /* end confdefs.h. */
53654 #include <math.h>
53655 #ifdef HAVE_IEEEFP_H
53656 #include <ieeefp.h>
53657 #endif
53658
53659 int
53660 main ()
53661 {
53662 _isnan(0);
53663 ;
53664 return 0;
53665 }
53666 _ACEOF
53667 rm -f conftest.$ac_objext
53668 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53669 (eval $ac_compile) 2>conftest.er1
53670 ac_status=$?
53671 grep -v '^ *+' conftest.er1 >conftest.err
53672 rm -f conftest.er1
53673 cat conftest.err >&5
53674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53675 (exit $ac_status); } &&
53676 { ac_try='test -z "$ac_cxx_werror_flag"
53677 || test ! -s conftest.err'
53678 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53679 (eval $ac_try) 2>&5
53680 ac_status=$?
53681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53682 (exit $ac_status); }; } &&
53683 { ac_try='test -s conftest.$ac_objext'
53684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53685 (eval $ac_try) 2>&5
53686 ac_status=$?
53687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53688 (exit $ac_status); }; }; then
53689 glibcxx_cv_func__isnan_use=yes
53690 else
53691 echo "$as_me: failed program was:" >&5
53692 sed 's/^/| /' conftest.$ac_ext >&5
53693
53694 glibcxx_cv_func__isnan_use=no
53695 fi
53696 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53697 ac_ext=c
53698 ac_cpp='$CPP $CPPFLAGS'
53699 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53700 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53701 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53702
53703
53704 fi
53705
53706 fi
53707 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnan_use" >&5
53708 echo "${ECHO_T}$glibcxx_cv_func__isnan_use" >&6
53709
53710 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
53711
53712 for ac_func in _isnan
53713 do
53714 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53715 echo "$as_me:$LINENO: checking for $ac_func" >&5
53716 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53717 if eval "test \"\${$as_ac_var+set}\" = set"; then
53718 echo $ECHO_N "(cached) $ECHO_C" >&6
53719 else
53720 if test x$gcc_no_link = xyes; then
53721 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53722 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53723 { (exit 1); exit 1; }; }
53724 fi
53725 cat >conftest.$ac_ext <<_ACEOF
53726 /* confdefs.h. */
53727 _ACEOF
53728 cat confdefs.h >>conftest.$ac_ext
53729 cat >>conftest.$ac_ext <<_ACEOF
53730 /* end confdefs.h. */
53731 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
53732 For example, HP-UX 11i <limits.h> declares gettimeofday. */
53733 #define $ac_func innocuous_$ac_func
53734
53735 /* System header to define __stub macros and hopefully few prototypes,
53736 which can conflict with char $ac_func (); below.
53737 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53738 <limits.h> exists even on freestanding compilers. */
53739
53740 #ifdef __STDC__
53741 # include <limits.h>
53742 #else
53743 # include <assert.h>
53744 #endif
53745
53746 #undef $ac_func
53747
53748 /* Override any gcc2 internal prototype to avoid an error. */
53749 #ifdef __cplusplus
53750 extern "C"
53751 {
53752 #endif
53753 /* We use char because int might match the return type of a gcc2
53754 builtin and then its argument prototype would still apply. */
53755 char $ac_func ();
53756 /* The GNU C library defines this for functions which it implements
53757 to always fail with ENOSYS. Some functions are actually named
53758 something starting with __ and the normal name is an alias. */
53759 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53760 choke me
53761 #else
53762 char (*f) () = $ac_func;
53763 #endif
53764 #ifdef __cplusplus
53765 }
53766 #endif
53767
53768 int
53769 main ()
53770 {
53771 return f != $ac_func;
53772 ;
53773 return 0;
53774 }
53775 _ACEOF
53776 rm -f conftest.$ac_objext conftest$ac_exeext
53777 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53778 (eval $ac_link) 2>conftest.er1
53779 ac_status=$?
53780 grep -v '^ *+' conftest.er1 >conftest.err
53781 rm -f conftest.er1
53782 cat conftest.err >&5
53783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53784 (exit $ac_status); } &&
53785 { ac_try='test -z "$ac_c_werror_flag"
53786 || test ! -s conftest.err'
53787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53788 (eval $ac_try) 2>&5
53789 ac_status=$?
53790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53791 (exit $ac_status); }; } &&
53792 { ac_try='test -s conftest$ac_exeext'
53793 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53794 (eval $ac_try) 2>&5
53795 ac_status=$?
53796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53797 (exit $ac_status); }; }; then
53798 eval "$as_ac_var=yes"
53799 else
53800 echo "$as_me: failed program was:" >&5
53801 sed 's/^/| /' conftest.$ac_ext >&5
53802
53803 eval "$as_ac_var=no"
53804 fi
53805 rm -f conftest.err conftest.$ac_objext \
53806 conftest$ac_exeext conftest.$ac_ext
53807 fi
53808 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53809 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53810 if test `eval echo '${'$as_ac_var'}'` = yes; then
53811 cat >>confdefs.h <<_ACEOF
53812 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53813 _ACEOF
53814
53815 fi
53816 done
53817
53818 fi
53819 fi
53820
53821
53822
53823
53824
53825
53826 echo "$as_me:$LINENO: checking for finite declaration" >&5
53827 echo $ECHO_N "checking for finite declaration... $ECHO_C" >&6
53828 if test x${glibcxx_cv_func_finite_use+set} != xset; then
53829 if test "${glibcxx_cv_func_finite_use+set}" = set; then
53830 echo $ECHO_N "(cached) $ECHO_C" >&6
53831 else
53832
53833
53834
53835 ac_ext=cc
53836 ac_cpp='$CXXCPP $CPPFLAGS'
53837 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53838 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53839 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53840
53841 cat >conftest.$ac_ext <<_ACEOF
53842 /* confdefs.h. */
53843 _ACEOF
53844 cat confdefs.h >>conftest.$ac_ext
53845 cat >>conftest.$ac_ext <<_ACEOF
53846 /* end confdefs.h. */
53847 #include <math.h>
53848 #ifdef HAVE_IEEEFP_H
53849 #include <ieeefp.h>
53850 #endif
53851
53852 int
53853 main ()
53854 {
53855 finite(0);
53856 ;
53857 return 0;
53858 }
53859 _ACEOF
53860 rm -f conftest.$ac_objext
53861 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53862 (eval $ac_compile) 2>conftest.er1
53863 ac_status=$?
53864 grep -v '^ *+' conftest.er1 >conftest.err
53865 rm -f conftest.er1
53866 cat conftest.err >&5
53867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53868 (exit $ac_status); } &&
53869 { ac_try='test -z "$ac_cxx_werror_flag"
53870 || test ! -s conftest.err'
53871 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53872 (eval $ac_try) 2>&5
53873 ac_status=$?
53874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53875 (exit $ac_status); }; } &&
53876 { ac_try='test -s conftest.$ac_objext'
53877 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53878 (eval $ac_try) 2>&5
53879 ac_status=$?
53880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53881 (exit $ac_status); }; }; then
53882 glibcxx_cv_func_finite_use=yes
53883 else
53884 echo "$as_me: failed program was:" >&5
53885 sed 's/^/| /' conftest.$ac_ext >&5
53886
53887 glibcxx_cv_func_finite_use=no
53888 fi
53889 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53890 ac_ext=c
53891 ac_cpp='$CPP $CPPFLAGS'
53892 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53893 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53894 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53895
53896
53897 fi
53898
53899 fi
53900 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finite_use" >&5
53901 echo "${ECHO_T}$glibcxx_cv_func_finite_use" >&6
53902
53903 if test x$glibcxx_cv_func_finite_use = x"yes"; then
53904
53905 for ac_func in finite
53906 do
53907 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53908 echo "$as_me:$LINENO: checking for $ac_func" >&5
53909 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53910 if eval "test \"\${$as_ac_var+set}\" = set"; then
53911 echo $ECHO_N "(cached) $ECHO_C" >&6
53912 else
53913 if test x$gcc_no_link = xyes; then
53914 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53915 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53916 { (exit 1); exit 1; }; }
53917 fi
53918 cat >conftest.$ac_ext <<_ACEOF
53919 /* confdefs.h. */
53920 _ACEOF
53921 cat confdefs.h >>conftest.$ac_ext
53922 cat >>conftest.$ac_ext <<_ACEOF
53923 /* end confdefs.h. */
53924 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
53925 For example, HP-UX 11i <limits.h> declares gettimeofday. */
53926 #define $ac_func innocuous_$ac_func
53927
53928 /* System header to define __stub macros and hopefully few prototypes,
53929 which can conflict with char $ac_func (); below.
53930 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53931 <limits.h> exists even on freestanding compilers. */
53932
53933 #ifdef __STDC__
53934 # include <limits.h>
53935 #else
53936 # include <assert.h>
53937 #endif
53938
53939 #undef $ac_func
53940
53941 /* Override any gcc2 internal prototype to avoid an error. */
53942 #ifdef __cplusplus
53943 extern "C"
53944 {
53945 #endif
53946 /* We use char because int might match the return type of a gcc2
53947 builtin and then its argument prototype would still apply. */
53948 char $ac_func ();
53949 /* The GNU C library defines this for functions which it implements
53950 to always fail with ENOSYS. Some functions are actually named
53951 something starting with __ and the normal name is an alias. */
53952 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53953 choke me
53954 #else
53955 char (*f) () = $ac_func;
53956 #endif
53957 #ifdef __cplusplus
53958 }
53959 #endif
53960
53961 int
53962 main ()
53963 {
53964 return f != $ac_func;
53965 ;
53966 return 0;
53967 }
53968 _ACEOF
53969 rm -f conftest.$ac_objext conftest$ac_exeext
53970 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53971 (eval $ac_link) 2>conftest.er1
53972 ac_status=$?
53973 grep -v '^ *+' conftest.er1 >conftest.err
53974 rm -f conftest.er1
53975 cat conftest.err >&5
53976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53977 (exit $ac_status); } &&
53978 { ac_try='test -z "$ac_c_werror_flag"
53979 || test ! -s conftest.err'
53980 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53981 (eval $ac_try) 2>&5
53982 ac_status=$?
53983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53984 (exit $ac_status); }; } &&
53985 { ac_try='test -s conftest$ac_exeext'
53986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53987 (eval $ac_try) 2>&5
53988 ac_status=$?
53989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53990 (exit $ac_status); }; }; then
53991 eval "$as_ac_var=yes"
53992 else
53993 echo "$as_me: failed program was:" >&5
53994 sed 's/^/| /' conftest.$ac_ext >&5
53995
53996 eval "$as_ac_var=no"
53997 fi
53998 rm -f conftest.err conftest.$ac_objext \
53999 conftest$ac_exeext conftest.$ac_ext
54000 fi
54001 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54002 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54003 if test `eval echo '${'$as_ac_var'}'` = yes; then
54004 cat >>confdefs.h <<_ACEOF
54005 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54006 _ACEOF
54007
54008 fi
54009 done
54010
54011 else
54012
54013 echo "$as_me:$LINENO: checking for _finite declaration" >&5
54014 echo $ECHO_N "checking for _finite declaration... $ECHO_C" >&6
54015 if test x${glibcxx_cv_func__finite_use+set} != xset; then
54016 if test "${glibcxx_cv_func__finite_use+set}" = set; then
54017 echo $ECHO_N "(cached) $ECHO_C" >&6
54018 else
54019
54020
54021
54022 ac_ext=cc
54023 ac_cpp='$CXXCPP $CPPFLAGS'
54024 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54025 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54026 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54027
54028 cat >conftest.$ac_ext <<_ACEOF
54029 /* confdefs.h. */
54030 _ACEOF
54031 cat confdefs.h >>conftest.$ac_ext
54032 cat >>conftest.$ac_ext <<_ACEOF
54033 /* end confdefs.h. */
54034 #include <math.h>
54035 #ifdef HAVE_IEEEFP_H
54036 #include <ieeefp.h>
54037 #endif
54038
54039 int
54040 main ()
54041 {
54042 _finite(0);
54043 ;
54044 return 0;
54045 }
54046 _ACEOF
54047 rm -f conftest.$ac_objext
54048 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54049 (eval $ac_compile) 2>conftest.er1
54050 ac_status=$?
54051 grep -v '^ *+' conftest.er1 >conftest.err
54052 rm -f conftest.er1
54053 cat conftest.err >&5
54054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54055 (exit $ac_status); } &&
54056 { ac_try='test -z "$ac_cxx_werror_flag"
54057 || test ! -s conftest.err'
54058 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54059 (eval $ac_try) 2>&5
54060 ac_status=$?
54061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54062 (exit $ac_status); }; } &&
54063 { ac_try='test -s conftest.$ac_objext'
54064 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54065 (eval $ac_try) 2>&5
54066 ac_status=$?
54067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54068 (exit $ac_status); }; }; then
54069 glibcxx_cv_func__finite_use=yes
54070 else
54071 echo "$as_me: failed program was:" >&5
54072 sed 's/^/| /' conftest.$ac_ext >&5
54073
54074 glibcxx_cv_func__finite_use=no
54075 fi
54076 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54077 ac_ext=c
54078 ac_cpp='$CPP $CPPFLAGS'
54079 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54080 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54081 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54082
54083
54084 fi
54085
54086 fi
54087 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finite_use" >&5
54088 echo "${ECHO_T}$glibcxx_cv_func__finite_use" >&6
54089
54090 if test x$glibcxx_cv_func__finite_use = x"yes"; then
54091
54092 for ac_func in _finite
54093 do
54094 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54095 echo "$as_me:$LINENO: checking for $ac_func" >&5
54096 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54097 if eval "test \"\${$as_ac_var+set}\" = set"; then
54098 echo $ECHO_N "(cached) $ECHO_C" >&6
54099 else
54100 if test x$gcc_no_link = xyes; then
54101 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54102 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54103 { (exit 1); exit 1; }; }
54104 fi
54105 cat >conftest.$ac_ext <<_ACEOF
54106 /* confdefs.h. */
54107 _ACEOF
54108 cat confdefs.h >>conftest.$ac_ext
54109 cat >>conftest.$ac_ext <<_ACEOF
54110 /* end confdefs.h. */
54111 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54112 For example, HP-UX 11i <limits.h> declares gettimeofday. */
54113 #define $ac_func innocuous_$ac_func
54114
54115 /* System header to define __stub macros and hopefully few prototypes,
54116 which can conflict with char $ac_func (); below.
54117 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54118 <limits.h> exists even on freestanding compilers. */
54119
54120 #ifdef __STDC__
54121 # include <limits.h>
54122 #else
54123 # include <assert.h>
54124 #endif
54125
54126 #undef $ac_func
54127
54128 /* Override any gcc2 internal prototype to avoid an error. */
54129 #ifdef __cplusplus
54130 extern "C"
54131 {
54132 #endif
54133 /* We use char because int might match the return type of a gcc2
54134 builtin and then its argument prototype would still apply. */
54135 char $ac_func ();
54136 /* The GNU C library defines this for functions which it implements
54137 to always fail with ENOSYS. Some functions are actually named
54138 something starting with __ and the normal name is an alias. */
54139 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54140 choke me
54141 #else
54142 char (*f) () = $ac_func;
54143 #endif
54144 #ifdef __cplusplus
54145 }
54146 #endif
54147
54148 int
54149 main ()
54150 {
54151 return f != $ac_func;
54152 ;
54153 return 0;
54154 }
54155 _ACEOF
54156 rm -f conftest.$ac_objext conftest$ac_exeext
54157 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54158 (eval $ac_link) 2>conftest.er1
54159 ac_status=$?
54160 grep -v '^ *+' conftest.er1 >conftest.err
54161 rm -f conftest.er1
54162 cat conftest.err >&5
54163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54164 (exit $ac_status); } &&
54165 { ac_try='test -z "$ac_c_werror_flag"
54166 || test ! -s conftest.err'
54167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54168 (eval $ac_try) 2>&5
54169 ac_status=$?
54170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54171 (exit $ac_status); }; } &&
54172 { ac_try='test -s conftest$ac_exeext'
54173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54174 (eval $ac_try) 2>&5
54175 ac_status=$?
54176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54177 (exit $ac_status); }; }; then
54178 eval "$as_ac_var=yes"
54179 else
54180 echo "$as_me: failed program was:" >&5
54181 sed 's/^/| /' conftest.$ac_ext >&5
54182
54183 eval "$as_ac_var=no"
54184 fi
54185 rm -f conftest.err conftest.$ac_objext \
54186 conftest$ac_exeext conftest.$ac_ext
54187 fi
54188 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54189 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54190 if test `eval echo '${'$as_ac_var'}'` = yes; then
54191 cat >>confdefs.h <<_ACEOF
54192 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54193 _ACEOF
54194
54195 fi
54196 done
54197
54198 fi
54199 fi
54200
54201
54202
54203
54204
54205
54206 echo "$as_me:$LINENO: checking for copysign declaration" >&5
54207 echo $ECHO_N "checking for copysign declaration... $ECHO_C" >&6
54208 if test x${glibcxx_cv_func_copysign_use+set} != xset; then
54209 if test "${glibcxx_cv_func_copysign_use+set}" = set; then
54210 echo $ECHO_N "(cached) $ECHO_C" >&6
54211 else
54212
54213
54214
54215 ac_ext=cc
54216 ac_cpp='$CXXCPP $CPPFLAGS'
54217 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54218 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54219 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54220
54221 cat >conftest.$ac_ext <<_ACEOF
54222 /* confdefs.h. */
54223 _ACEOF
54224 cat confdefs.h >>conftest.$ac_ext
54225 cat >>conftest.$ac_ext <<_ACEOF
54226 /* end confdefs.h. */
54227 #include <math.h>
54228 int
54229 main ()
54230 {
54231 copysign(0, 0);
54232 ;
54233 return 0;
54234 }
54235 _ACEOF
54236 rm -f conftest.$ac_objext
54237 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54238 (eval $ac_compile) 2>conftest.er1
54239 ac_status=$?
54240 grep -v '^ *+' conftest.er1 >conftest.err
54241 rm -f conftest.er1
54242 cat conftest.err >&5
54243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54244 (exit $ac_status); } &&
54245 { ac_try='test -z "$ac_cxx_werror_flag"
54246 || test ! -s conftest.err'
54247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54248 (eval $ac_try) 2>&5
54249 ac_status=$?
54250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54251 (exit $ac_status); }; } &&
54252 { ac_try='test -s conftest.$ac_objext'
54253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54254 (eval $ac_try) 2>&5
54255 ac_status=$?
54256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54257 (exit $ac_status); }; }; then
54258 glibcxx_cv_func_copysign_use=yes
54259 else
54260 echo "$as_me: failed program was:" >&5
54261 sed 's/^/| /' conftest.$ac_ext >&5
54262
54263 glibcxx_cv_func_copysign_use=no
54264 fi
54265 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54266 ac_ext=c
54267 ac_cpp='$CPP $CPPFLAGS'
54268 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54269 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54270 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54271
54272
54273 fi
54274
54275 fi
54276 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysign_use" >&5
54277 echo "${ECHO_T}$glibcxx_cv_func_copysign_use" >&6
54278
54279 if test x$glibcxx_cv_func_copysign_use = x"yes"; then
54280
54281 for ac_func in copysign
54282 do
54283 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54284 echo "$as_me:$LINENO: checking for $ac_func" >&5
54285 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54286 if eval "test \"\${$as_ac_var+set}\" = set"; then
54287 echo $ECHO_N "(cached) $ECHO_C" >&6
54288 else
54289 if test x$gcc_no_link = xyes; then
54290 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54291 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54292 { (exit 1); exit 1; }; }
54293 fi
54294 cat >conftest.$ac_ext <<_ACEOF
54295 /* confdefs.h. */
54296 _ACEOF
54297 cat confdefs.h >>conftest.$ac_ext
54298 cat >>conftest.$ac_ext <<_ACEOF
54299 /* end confdefs.h. */
54300 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54301 For example, HP-UX 11i <limits.h> declares gettimeofday. */
54302 #define $ac_func innocuous_$ac_func
54303
54304 /* System header to define __stub macros and hopefully few prototypes,
54305 which can conflict with char $ac_func (); below.
54306 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54307 <limits.h> exists even on freestanding compilers. */
54308
54309 #ifdef __STDC__
54310 # include <limits.h>
54311 #else
54312 # include <assert.h>
54313 #endif
54314
54315 #undef $ac_func
54316
54317 /* Override any gcc2 internal prototype to avoid an error. */
54318 #ifdef __cplusplus
54319 extern "C"
54320 {
54321 #endif
54322 /* We use char because int might match the return type of a gcc2
54323 builtin and then its argument prototype would still apply. */
54324 char $ac_func ();
54325 /* The GNU C library defines this for functions which it implements
54326 to always fail with ENOSYS. Some functions are actually named
54327 something starting with __ and the normal name is an alias. */
54328 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54329 choke me
54330 #else
54331 char (*f) () = $ac_func;
54332 #endif
54333 #ifdef __cplusplus
54334 }
54335 #endif
54336
54337 int
54338 main ()
54339 {
54340 return f != $ac_func;
54341 ;
54342 return 0;
54343 }
54344 _ACEOF
54345 rm -f conftest.$ac_objext conftest$ac_exeext
54346 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54347 (eval $ac_link) 2>conftest.er1
54348 ac_status=$?
54349 grep -v '^ *+' conftest.er1 >conftest.err
54350 rm -f conftest.er1
54351 cat conftest.err >&5
54352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54353 (exit $ac_status); } &&
54354 { ac_try='test -z "$ac_c_werror_flag"
54355 || test ! -s conftest.err'
54356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54357 (eval $ac_try) 2>&5
54358 ac_status=$?
54359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54360 (exit $ac_status); }; } &&
54361 { ac_try='test -s conftest$ac_exeext'
54362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54363 (eval $ac_try) 2>&5
54364 ac_status=$?
54365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54366 (exit $ac_status); }; }; then
54367 eval "$as_ac_var=yes"
54368 else
54369 echo "$as_me: failed program was:" >&5
54370 sed 's/^/| /' conftest.$ac_ext >&5
54371
54372 eval "$as_ac_var=no"
54373 fi
54374 rm -f conftest.err conftest.$ac_objext \
54375 conftest$ac_exeext conftest.$ac_ext
54376 fi
54377 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54378 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54379 if test `eval echo '${'$as_ac_var'}'` = yes; then
54380 cat >>confdefs.h <<_ACEOF
54381 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54382 _ACEOF
54383
54384 fi
54385 done
54386
54387 else
54388
54389 echo "$as_me:$LINENO: checking for _copysign declaration" >&5
54390 echo $ECHO_N "checking for _copysign declaration... $ECHO_C" >&6
54391 if test x${glibcxx_cv_func__copysign_use+set} != xset; then
54392 if test "${glibcxx_cv_func__copysign_use+set}" = set; then
54393 echo $ECHO_N "(cached) $ECHO_C" >&6
54394 else
54395
54396
54397
54398 ac_ext=cc
54399 ac_cpp='$CXXCPP $CPPFLAGS'
54400 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54401 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54402 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54403
54404 cat >conftest.$ac_ext <<_ACEOF
54405 /* confdefs.h. */
54406 _ACEOF
54407 cat confdefs.h >>conftest.$ac_ext
54408 cat >>conftest.$ac_ext <<_ACEOF
54409 /* end confdefs.h. */
54410 #include <math.h>
54411 int
54412 main ()
54413 {
54414 _copysign(0, 0);
54415 ;
54416 return 0;
54417 }
54418 _ACEOF
54419 rm -f conftest.$ac_objext
54420 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54421 (eval $ac_compile) 2>conftest.er1
54422 ac_status=$?
54423 grep -v '^ *+' conftest.er1 >conftest.err
54424 rm -f conftest.er1
54425 cat conftest.err >&5
54426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54427 (exit $ac_status); } &&
54428 { ac_try='test -z "$ac_cxx_werror_flag"
54429 || test ! -s conftest.err'
54430 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54431 (eval $ac_try) 2>&5
54432 ac_status=$?
54433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54434 (exit $ac_status); }; } &&
54435 { ac_try='test -s conftest.$ac_objext'
54436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54437 (eval $ac_try) 2>&5
54438 ac_status=$?
54439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54440 (exit $ac_status); }; }; then
54441 glibcxx_cv_func__copysign_use=yes
54442 else
54443 echo "$as_me: failed program was:" >&5
54444 sed 's/^/| /' conftest.$ac_ext >&5
54445
54446 glibcxx_cv_func__copysign_use=no
54447 fi
54448 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54449 ac_ext=c
54450 ac_cpp='$CPP $CPPFLAGS'
54451 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54452 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54453 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54454
54455
54456 fi
54457
54458 fi
54459 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysign_use" >&5
54460 echo "${ECHO_T}$glibcxx_cv_func__copysign_use" >&6
54461
54462 if test x$glibcxx_cv_func__copysign_use = x"yes"; then
54463
54464 for ac_func in _copysign
54465 do
54466 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54467 echo "$as_me:$LINENO: checking for $ac_func" >&5
54468 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54469 if eval "test \"\${$as_ac_var+set}\" = set"; then
54470 echo $ECHO_N "(cached) $ECHO_C" >&6
54471 else
54472 if test x$gcc_no_link = xyes; then
54473 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54474 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54475 { (exit 1); exit 1; }; }
54476 fi
54477 cat >conftest.$ac_ext <<_ACEOF
54478 /* confdefs.h. */
54479 _ACEOF
54480 cat confdefs.h >>conftest.$ac_ext
54481 cat >>conftest.$ac_ext <<_ACEOF
54482 /* end confdefs.h. */
54483 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54484 For example, HP-UX 11i <limits.h> declares gettimeofday. */
54485 #define $ac_func innocuous_$ac_func
54486
54487 /* System header to define __stub macros and hopefully few prototypes,
54488 which can conflict with char $ac_func (); below.
54489 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54490 <limits.h> exists even on freestanding compilers. */
54491
54492 #ifdef __STDC__
54493 # include <limits.h>
54494 #else
54495 # include <assert.h>
54496 #endif
54497
54498 #undef $ac_func
54499
54500 /* Override any gcc2 internal prototype to avoid an error. */
54501 #ifdef __cplusplus
54502 extern "C"
54503 {
54504 #endif
54505 /* We use char because int might match the return type of a gcc2
54506 builtin and then its argument prototype would still apply. */
54507 char $ac_func ();
54508 /* The GNU C library defines this for functions which it implements
54509 to always fail with ENOSYS. Some functions are actually named
54510 something starting with __ and the normal name is an alias. */
54511 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54512 choke me
54513 #else
54514 char (*f) () = $ac_func;
54515 #endif
54516 #ifdef __cplusplus
54517 }
54518 #endif
54519
54520 int
54521 main ()
54522 {
54523 return f != $ac_func;
54524 ;
54525 return 0;
54526 }
54527 _ACEOF
54528 rm -f conftest.$ac_objext conftest$ac_exeext
54529 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54530 (eval $ac_link) 2>conftest.er1
54531 ac_status=$?
54532 grep -v '^ *+' conftest.er1 >conftest.err
54533 rm -f conftest.er1
54534 cat conftest.err >&5
54535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54536 (exit $ac_status); } &&
54537 { ac_try='test -z "$ac_c_werror_flag"
54538 || test ! -s conftest.err'
54539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54540 (eval $ac_try) 2>&5
54541 ac_status=$?
54542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54543 (exit $ac_status); }; } &&
54544 { ac_try='test -s conftest$ac_exeext'
54545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54546 (eval $ac_try) 2>&5
54547 ac_status=$?
54548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54549 (exit $ac_status); }; }; then
54550 eval "$as_ac_var=yes"
54551 else
54552 echo "$as_me: failed program was:" >&5
54553 sed 's/^/| /' conftest.$ac_ext >&5
54554
54555 eval "$as_ac_var=no"
54556 fi
54557 rm -f conftest.err conftest.$ac_objext \
54558 conftest$ac_exeext conftest.$ac_ext
54559 fi
54560 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54561 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54562 if test `eval echo '${'$as_ac_var'}'` = yes; then
54563 cat >>confdefs.h <<_ACEOF
54564 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54565 _ACEOF
54566
54567 fi
54568 done
54569
54570 fi
54571 fi
54572
54573
54574
54575
54576
54577
54578 echo "$as_me:$LINENO: checking for sincos declaration" >&5
54579 echo $ECHO_N "checking for sincos declaration... $ECHO_C" >&6
54580 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
54581 if test "${glibcxx_cv_func_sincos_use+set}" = set; then
54582 echo $ECHO_N "(cached) $ECHO_C" >&6
54583 else
54584
54585
54586
54587 ac_ext=cc
54588 ac_cpp='$CXXCPP $CPPFLAGS'
54589 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54590 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54591 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54592
54593 cat >conftest.$ac_ext <<_ACEOF
54594 /* confdefs.h. */
54595 _ACEOF
54596 cat confdefs.h >>conftest.$ac_ext
54597 cat >>conftest.$ac_ext <<_ACEOF
54598 /* end confdefs.h. */
54599 #include <math.h>
54600 int
54601 main ()
54602 {
54603 sincos(0, 0, 0);
54604 ;
54605 return 0;
54606 }
54607 _ACEOF
54608 rm -f conftest.$ac_objext
54609 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54610 (eval $ac_compile) 2>conftest.er1
54611 ac_status=$?
54612 grep -v '^ *+' conftest.er1 >conftest.err
54613 rm -f conftest.er1
54614 cat conftest.err >&5
54615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54616 (exit $ac_status); } &&
54617 { ac_try='test -z "$ac_cxx_werror_flag"
54618 || test ! -s conftest.err'
54619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54620 (eval $ac_try) 2>&5
54621 ac_status=$?
54622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54623 (exit $ac_status); }; } &&
54624 { ac_try='test -s conftest.$ac_objext'
54625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54626 (eval $ac_try) 2>&5
54627 ac_status=$?
54628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54629 (exit $ac_status); }; }; then
54630 glibcxx_cv_func_sincos_use=yes
54631 else
54632 echo "$as_me: failed program was:" >&5
54633 sed 's/^/| /' conftest.$ac_ext >&5
54634
54635 glibcxx_cv_func_sincos_use=no
54636 fi
54637 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54638 ac_ext=c
54639 ac_cpp='$CPP $CPPFLAGS'
54640 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54641 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54642 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54643
54644
54645 fi
54646
54647 fi
54648 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincos_use" >&5
54649 echo "${ECHO_T}$glibcxx_cv_func_sincos_use" >&6
54650
54651 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
54652
54653 for ac_func in sincos
54654 do
54655 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54656 echo "$as_me:$LINENO: checking for $ac_func" >&5
54657 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54658 if eval "test \"\${$as_ac_var+set}\" = set"; then
54659 echo $ECHO_N "(cached) $ECHO_C" >&6
54660 else
54661 if test x$gcc_no_link = xyes; then
54662 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54663 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54664 { (exit 1); exit 1; }; }
54665 fi
54666 cat >conftest.$ac_ext <<_ACEOF
54667 /* confdefs.h. */
54668 _ACEOF
54669 cat confdefs.h >>conftest.$ac_ext
54670 cat >>conftest.$ac_ext <<_ACEOF
54671 /* end confdefs.h. */
54672 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54673 For example, HP-UX 11i <limits.h> declares gettimeofday. */
54674 #define $ac_func innocuous_$ac_func
54675
54676 /* System header to define __stub macros and hopefully few prototypes,
54677 which can conflict with char $ac_func (); below.
54678 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54679 <limits.h> exists even on freestanding compilers. */
54680
54681 #ifdef __STDC__
54682 # include <limits.h>
54683 #else
54684 # include <assert.h>
54685 #endif
54686
54687 #undef $ac_func
54688
54689 /* Override any gcc2 internal prototype to avoid an error. */
54690 #ifdef __cplusplus
54691 extern "C"
54692 {
54693 #endif
54694 /* We use char because int might match the return type of a gcc2
54695 builtin and then its argument prototype would still apply. */
54696 char $ac_func ();
54697 /* The GNU C library defines this for functions which it implements
54698 to always fail with ENOSYS. Some functions are actually named
54699 something starting with __ and the normal name is an alias. */
54700 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54701 choke me
54702 #else
54703 char (*f) () = $ac_func;
54704 #endif
54705 #ifdef __cplusplus
54706 }
54707 #endif
54708
54709 int
54710 main ()
54711 {
54712 return f != $ac_func;
54713 ;
54714 return 0;
54715 }
54716 _ACEOF
54717 rm -f conftest.$ac_objext conftest$ac_exeext
54718 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54719 (eval $ac_link) 2>conftest.er1
54720 ac_status=$?
54721 grep -v '^ *+' conftest.er1 >conftest.err
54722 rm -f conftest.er1
54723 cat conftest.err >&5
54724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54725 (exit $ac_status); } &&
54726 { ac_try='test -z "$ac_c_werror_flag"
54727 || test ! -s conftest.err'
54728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54729 (eval $ac_try) 2>&5
54730 ac_status=$?
54731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54732 (exit $ac_status); }; } &&
54733 { ac_try='test -s conftest$ac_exeext'
54734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54735 (eval $ac_try) 2>&5
54736 ac_status=$?
54737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54738 (exit $ac_status); }; }; then
54739 eval "$as_ac_var=yes"
54740 else
54741 echo "$as_me: failed program was:" >&5
54742 sed 's/^/| /' conftest.$ac_ext >&5
54743
54744 eval "$as_ac_var=no"
54745 fi
54746 rm -f conftest.err conftest.$ac_objext \
54747 conftest$ac_exeext conftest.$ac_ext
54748 fi
54749 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54750 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54751 if test `eval echo '${'$as_ac_var'}'` = yes; then
54752 cat >>confdefs.h <<_ACEOF
54753 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54754 _ACEOF
54755
54756 fi
54757 done
54758
54759 else
54760
54761 echo "$as_me:$LINENO: checking for _sincos declaration" >&5
54762 echo $ECHO_N "checking for _sincos declaration... $ECHO_C" >&6
54763 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
54764 if test "${glibcxx_cv_func__sincos_use+set}" = set; then
54765 echo $ECHO_N "(cached) $ECHO_C" >&6
54766 else
54767
54768
54769
54770 ac_ext=cc
54771 ac_cpp='$CXXCPP $CPPFLAGS'
54772 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54773 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54774 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54775
54776 cat >conftest.$ac_ext <<_ACEOF
54777 /* confdefs.h. */
54778 _ACEOF
54779 cat confdefs.h >>conftest.$ac_ext
54780 cat >>conftest.$ac_ext <<_ACEOF
54781 /* end confdefs.h. */
54782 #include <math.h>
54783 int
54784 main ()
54785 {
54786 _sincos(0, 0, 0);
54787 ;
54788 return 0;
54789 }
54790 _ACEOF
54791 rm -f conftest.$ac_objext
54792 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54793 (eval $ac_compile) 2>conftest.er1
54794 ac_status=$?
54795 grep -v '^ *+' conftest.er1 >conftest.err
54796 rm -f conftest.er1
54797 cat conftest.err >&5
54798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54799 (exit $ac_status); } &&
54800 { ac_try='test -z "$ac_cxx_werror_flag"
54801 || test ! -s conftest.err'
54802 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54803 (eval $ac_try) 2>&5
54804 ac_status=$?
54805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54806 (exit $ac_status); }; } &&
54807 { ac_try='test -s conftest.$ac_objext'
54808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54809 (eval $ac_try) 2>&5
54810 ac_status=$?
54811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54812 (exit $ac_status); }; }; then
54813 glibcxx_cv_func__sincos_use=yes
54814 else
54815 echo "$as_me: failed program was:" >&5
54816 sed 's/^/| /' conftest.$ac_ext >&5
54817
54818 glibcxx_cv_func__sincos_use=no
54819 fi
54820 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54821 ac_ext=c
54822 ac_cpp='$CPP $CPPFLAGS'
54823 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54824 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54825 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54826
54827
54828 fi
54829
54830 fi
54831 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincos_use" >&5
54832 echo "${ECHO_T}$glibcxx_cv_func__sincos_use" >&6
54833
54834 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
54835
54836 for ac_func in _sincos
54837 do
54838 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54839 echo "$as_me:$LINENO: checking for $ac_func" >&5
54840 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54841 if eval "test \"\${$as_ac_var+set}\" = set"; then
54842 echo $ECHO_N "(cached) $ECHO_C" >&6
54843 else
54844 if test x$gcc_no_link = xyes; then
54845 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54846 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54847 { (exit 1); exit 1; }; }
54848 fi
54849 cat >conftest.$ac_ext <<_ACEOF
54850 /* confdefs.h. */
54851 _ACEOF
54852 cat confdefs.h >>conftest.$ac_ext
54853 cat >>conftest.$ac_ext <<_ACEOF
54854 /* end confdefs.h. */
54855 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54856 For example, HP-UX 11i <limits.h> declares gettimeofday. */
54857 #define $ac_func innocuous_$ac_func
54858
54859 /* System header to define __stub macros and hopefully few prototypes,
54860 which can conflict with char $ac_func (); below.
54861 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54862 <limits.h> exists even on freestanding compilers. */
54863
54864 #ifdef __STDC__
54865 # include <limits.h>
54866 #else
54867 # include <assert.h>
54868 #endif
54869
54870 #undef $ac_func
54871
54872 /* Override any gcc2 internal prototype to avoid an error. */
54873 #ifdef __cplusplus
54874 extern "C"
54875 {
54876 #endif
54877 /* We use char because int might match the return type of a gcc2
54878 builtin and then its argument prototype would still apply. */
54879 char $ac_func ();
54880 /* The GNU C library defines this for functions which it implements
54881 to always fail with ENOSYS. Some functions are actually named
54882 something starting with __ and the normal name is an alias. */
54883 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54884 choke me
54885 #else
54886 char (*f) () = $ac_func;
54887 #endif
54888 #ifdef __cplusplus
54889 }
54890 #endif
54891
54892 int
54893 main ()
54894 {
54895 return f != $ac_func;
54896 ;
54897 return 0;
54898 }
54899 _ACEOF
54900 rm -f conftest.$ac_objext conftest$ac_exeext
54901 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54902 (eval $ac_link) 2>conftest.er1
54903 ac_status=$?
54904 grep -v '^ *+' conftest.er1 >conftest.err
54905 rm -f conftest.er1
54906 cat conftest.err >&5
54907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54908 (exit $ac_status); } &&
54909 { ac_try='test -z "$ac_c_werror_flag"
54910 || test ! -s conftest.err'
54911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54912 (eval $ac_try) 2>&5
54913 ac_status=$?
54914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54915 (exit $ac_status); }; } &&
54916 { ac_try='test -s conftest$ac_exeext'
54917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54918 (eval $ac_try) 2>&5
54919 ac_status=$?
54920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54921 (exit $ac_status); }; }; then
54922 eval "$as_ac_var=yes"
54923 else
54924 echo "$as_me: failed program was:" >&5
54925 sed 's/^/| /' conftest.$ac_ext >&5
54926
54927 eval "$as_ac_var=no"
54928 fi
54929 rm -f conftest.err conftest.$ac_objext \
54930 conftest$ac_exeext conftest.$ac_ext
54931 fi
54932 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54933 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54934 if test `eval echo '${'$as_ac_var'}'` = yes; then
54935 cat >>confdefs.h <<_ACEOF
54936 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54937 _ACEOF
54938
54939 fi
54940 done
54941
54942 fi
54943 fi
54944
54945
54946
54947
54948
54949
54950 echo "$as_me:$LINENO: checking for fpclass declaration" >&5
54951 echo $ECHO_N "checking for fpclass declaration... $ECHO_C" >&6
54952 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
54953 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then
54954 echo $ECHO_N "(cached) $ECHO_C" >&6
54955 else
54956
54957
54958
54959 ac_ext=cc
54960 ac_cpp='$CXXCPP $CPPFLAGS'
54961 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54962 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54963 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54964
54965 cat >conftest.$ac_ext <<_ACEOF
54966 /* confdefs.h. */
54967 _ACEOF
54968 cat confdefs.h >>conftest.$ac_ext
54969 cat >>conftest.$ac_ext <<_ACEOF
54970 /* end confdefs.h. */
54971 #include <math.h>
54972 #ifdef HAVE_IEEEFP_H
54973 #include <ieeefp.h>
54974 #endif
54975
54976 int
54977 main ()
54978 {
54979 fpclass(0);
54980 ;
54981 return 0;
54982 }
54983 _ACEOF
54984 rm -f conftest.$ac_objext
54985 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54986 (eval $ac_compile) 2>conftest.er1
54987 ac_status=$?
54988 grep -v '^ *+' conftest.er1 >conftest.err
54989 rm -f conftest.er1
54990 cat conftest.err >&5
54991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54992 (exit $ac_status); } &&
54993 { ac_try='test -z "$ac_cxx_werror_flag"
54994 || test ! -s conftest.err'
54995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54996 (eval $ac_try) 2>&5
54997 ac_status=$?
54998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54999 (exit $ac_status); }; } &&
55000 { ac_try='test -s conftest.$ac_objext'
55001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55002 (eval $ac_try) 2>&5
55003 ac_status=$?
55004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55005 (exit $ac_status); }; }; then
55006 glibcxx_cv_func_fpclass_use=yes
55007 else
55008 echo "$as_me: failed program was:" >&5
55009 sed 's/^/| /' conftest.$ac_ext >&5
55010
55011 glibcxx_cv_func_fpclass_use=no
55012 fi
55013 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55014 ac_ext=c
55015 ac_cpp='$CPP $CPPFLAGS'
55016 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55017 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55018 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55019
55020
55021 fi
55022
55023 fi
55024 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fpclass_use" >&5
55025 echo "${ECHO_T}$glibcxx_cv_func_fpclass_use" >&6
55026
55027 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
55028
55029 for ac_func in fpclass
55030 do
55031 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55032 echo "$as_me:$LINENO: checking for $ac_func" >&5
55033 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55034 if eval "test \"\${$as_ac_var+set}\" = set"; then
55035 echo $ECHO_N "(cached) $ECHO_C" >&6
55036 else
55037 if test x$gcc_no_link = xyes; then
55038 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55039 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55040 { (exit 1); exit 1; }; }
55041 fi
55042 cat >conftest.$ac_ext <<_ACEOF
55043 /* confdefs.h. */
55044 _ACEOF
55045 cat confdefs.h >>conftest.$ac_ext
55046 cat >>conftest.$ac_ext <<_ACEOF
55047 /* end confdefs.h. */
55048 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55049 For example, HP-UX 11i <limits.h> declares gettimeofday. */
55050 #define $ac_func innocuous_$ac_func
55051
55052 /* System header to define __stub macros and hopefully few prototypes,
55053 which can conflict with char $ac_func (); below.
55054 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55055 <limits.h> exists even on freestanding compilers. */
55056
55057 #ifdef __STDC__
55058 # include <limits.h>
55059 #else
55060 # include <assert.h>
55061 #endif
55062
55063 #undef $ac_func
55064
55065 /* Override any gcc2 internal prototype to avoid an error. */
55066 #ifdef __cplusplus
55067 extern "C"
55068 {
55069 #endif
55070 /* We use char because int might match the return type of a gcc2
55071 builtin and then its argument prototype would still apply. */
55072 char $ac_func ();
55073 /* The GNU C library defines this for functions which it implements
55074 to always fail with ENOSYS. Some functions are actually named
55075 something starting with __ and the normal name is an alias. */
55076 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55077 choke me
55078 #else
55079 char (*f) () = $ac_func;
55080 #endif
55081 #ifdef __cplusplus
55082 }
55083 #endif
55084
55085 int
55086 main ()
55087 {
55088 return f != $ac_func;
55089 ;
55090 return 0;
55091 }
55092 _ACEOF
55093 rm -f conftest.$ac_objext conftest$ac_exeext
55094 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55095 (eval $ac_link) 2>conftest.er1
55096 ac_status=$?
55097 grep -v '^ *+' conftest.er1 >conftest.err
55098 rm -f conftest.er1
55099 cat conftest.err >&5
55100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55101 (exit $ac_status); } &&
55102 { ac_try='test -z "$ac_c_werror_flag"
55103 || test ! -s conftest.err'
55104 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55105 (eval $ac_try) 2>&5
55106 ac_status=$?
55107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55108 (exit $ac_status); }; } &&
55109 { ac_try='test -s conftest$ac_exeext'
55110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55111 (eval $ac_try) 2>&5
55112 ac_status=$?
55113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55114 (exit $ac_status); }; }; then
55115 eval "$as_ac_var=yes"
55116 else
55117 echo "$as_me: failed program was:" >&5
55118 sed 's/^/| /' conftest.$ac_ext >&5
55119
55120 eval "$as_ac_var=no"
55121 fi
55122 rm -f conftest.err conftest.$ac_objext \
55123 conftest$ac_exeext conftest.$ac_ext
55124 fi
55125 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55126 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55127 if test `eval echo '${'$as_ac_var'}'` = yes; then
55128 cat >>confdefs.h <<_ACEOF
55129 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55130 _ACEOF
55131
55132 fi
55133 done
55134
55135 else
55136
55137 echo "$as_me:$LINENO: checking for _fpclass declaration" >&5
55138 echo $ECHO_N "checking for _fpclass declaration... $ECHO_C" >&6
55139 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
55140 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then
55141 echo $ECHO_N "(cached) $ECHO_C" >&6
55142 else
55143
55144
55145
55146 ac_ext=cc
55147 ac_cpp='$CXXCPP $CPPFLAGS'
55148 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55149 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55150 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55151
55152 cat >conftest.$ac_ext <<_ACEOF
55153 /* confdefs.h. */
55154 _ACEOF
55155 cat confdefs.h >>conftest.$ac_ext
55156 cat >>conftest.$ac_ext <<_ACEOF
55157 /* end confdefs.h. */
55158 #include <math.h>
55159 #ifdef HAVE_IEEEFP_H
55160 #include <ieeefp.h>
55161 #endif
55162
55163 int
55164 main ()
55165 {
55166 _fpclass(0);
55167 ;
55168 return 0;
55169 }
55170 _ACEOF
55171 rm -f conftest.$ac_objext
55172 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55173 (eval $ac_compile) 2>conftest.er1
55174 ac_status=$?
55175 grep -v '^ *+' conftest.er1 >conftest.err
55176 rm -f conftest.er1
55177 cat conftest.err >&5
55178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55179 (exit $ac_status); } &&
55180 { ac_try='test -z "$ac_cxx_werror_flag"
55181 || test ! -s conftest.err'
55182 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55183 (eval $ac_try) 2>&5
55184 ac_status=$?
55185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55186 (exit $ac_status); }; } &&
55187 { ac_try='test -s conftest.$ac_objext'
55188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55189 (eval $ac_try) 2>&5
55190 ac_status=$?
55191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55192 (exit $ac_status); }; }; then
55193 glibcxx_cv_func__fpclass_use=yes
55194 else
55195 echo "$as_me: failed program was:" >&5
55196 sed 's/^/| /' conftest.$ac_ext >&5
55197
55198 glibcxx_cv_func__fpclass_use=no
55199 fi
55200 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55201 ac_ext=c
55202 ac_cpp='$CPP $CPPFLAGS'
55203 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55204 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55205 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55206
55207
55208 fi
55209
55210 fi
55211 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fpclass_use" >&5
55212 echo "${ECHO_T}$glibcxx_cv_func__fpclass_use" >&6
55213
55214 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
55215
55216 for ac_func in _fpclass
55217 do
55218 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55219 echo "$as_me:$LINENO: checking for $ac_func" >&5
55220 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55221 if eval "test \"\${$as_ac_var+set}\" = set"; then
55222 echo $ECHO_N "(cached) $ECHO_C" >&6
55223 else
55224 if test x$gcc_no_link = xyes; then
55225 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55226 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55227 { (exit 1); exit 1; }; }
55228 fi
55229 cat >conftest.$ac_ext <<_ACEOF
55230 /* confdefs.h. */
55231 _ACEOF
55232 cat confdefs.h >>conftest.$ac_ext
55233 cat >>conftest.$ac_ext <<_ACEOF
55234 /* end confdefs.h. */
55235 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55236 For example, HP-UX 11i <limits.h> declares gettimeofday. */
55237 #define $ac_func innocuous_$ac_func
55238
55239 /* System header to define __stub macros and hopefully few prototypes,
55240 which can conflict with char $ac_func (); below.
55241 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55242 <limits.h> exists even on freestanding compilers. */
55243
55244 #ifdef __STDC__
55245 # include <limits.h>
55246 #else
55247 # include <assert.h>
55248 #endif
55249
55250 #undef $ac_func
55251
55252 /* Override any gcc2 internal prototype to avoid an error. */
55253 #ifdef __cplusplus
55254 extern "C"
55255 {
55256 #endif
55257 /* We use char because int might match the return type of a gcc2
55258 builtin and then its argument prototype would still apply. */
55259 char $ac_func ();
55260 /* The GNU C library defines this for functions which it implements
55261 to always fail with ENOSYS. Some functions are actually named
55262 something starting with __ and the normal name is an alias. */
55263 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55264 choke me
55265 #else
55266 char (*f) () = $ac_func;
55267 #endif
55268 #ifdef __cplusplus
55269 }
55270 #endif
55271
55272 int
55273 main ()
55274 {
55275 return f != $ac_func;
55276 ;
55277 return 0;
55278 }
55279 _ACEOF
55280 rm -f conftest.$ac_objext conftest$ac_exeext
55281 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55282 (eval $ac_link) 2>conftest.er1
55283 ac_status=$?
55284 grep -v '^ *+' conftest.er1 >conftest.err
55285 rm -f conftest.er1
55286 cat conftest.err >&5
55287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55288 (exit $ac_status); } &&
55289 { ac_try='test -z "$ac_c_werror_flag"
55290 || test ! -s conftest.err'
55291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55292 (eval $ac_try) 2>&5
55293 ac_status=$?
55294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55295 (exit $ac_status); }; } &&
55296 { ac_try='test -s conftest$ac_exeext'
55297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55298 (eval $ac_try) 2>&5
55299 ac_status=$?
55300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55301 (exit $ac_status); }; }; then
55302 eval "$as_ac_var=yes"
55303 else
55304 echo "$as_me: failed program was:" >&5
55305 sed 's/^/| /' conftest.$ac_ext >&5
55306
55307 eval "$as_ac_var=no"
55308 fi
55309 rm -f conftest.err conftest.$ac_objext \
55310 conftest$ac_exeext conftest.$ac_ext
55311 fi
55312 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55313 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55314 if test `eval echo '${'$as_ac_var'}'` = yes; then
55315 cat >>confdefs.h <<_ACEOF
55316 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55317 _ACEOF
55318
55319 fi
55320 done
55321
55322 fi
55323 fi
55324
55325
55326
55327
55328
55329
55330 echo "$as_me:$LINENO: checking for qfpclass declaration" >&5
55331 echo $ECHO_N "checking for qfpclass declaration... $ECHO_C" >&6
55332 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
55333 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then
55334 echo $ECHO_N "(cached) $ECHO_C" >&6
55335 else
55336
55337
55338
55339 ac_ext=cc
55340 ac_cpp='$CXXCPP $CPPFLAGS'
55341 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55342 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55343 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55344
55345 cat >conftest.$ac_ext <<_ACEOF
55346 /* confdefs.h. */
55347 _ACEOF
55348 cat confdefs.h >>conftest.$ac_ext
55349 cat >>conftest.$ac_ext <<_ACEOF
55350 /* end confdefs.h. */
55351 #include <math.h>
55352 #ifdef HAVE_IEEEFP_H
55353 #include <ieeefp.h>
55354 #endif
55355
55356 int
55357 main ()
55358 {
55359 qfpclass(0);
55360 ;
55361 return 0;
55362 }
55363 _ACEOF
55364 rm -f conftest.$ac_objext
55365 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55366 (eval $ac_compile) 2>conftest.er1
55367 ac_status=$?
55368 grep -v '^ *+' conftest.er1 >conftest.err
55369 rm -f conftest.er1
55370 cat conftest.err >&5
55371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55372 (exit $ac_status); } &&
55373 { ac_try='test -z "$ac_cxx_werror_flag"
55374 || test ! -s conftest.err'
55375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55376 (eval $ac_try) 2>&5
55377 ac_status=$?
55378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55379 (exit $ac_status); }; } &&
55380 { ac_try='test -s conftest.$ac_objext'
55381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55382 (eval $ac_try) 2>&5
55383 ac_status=$?
55384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55385 (exit $ac_status); }; }; then
55386 glibcxx_cv_func_qfpclass_use=yes
55387 else
55388 echo "$as_me: failed program was:" >&5
55389 sed 's/^/| /' conftest.$ac_ext >&5
55390
55391 glibcxx_cv_func_qfpclass_use=no
55392 fi
55393 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55394 ac_ext=c
55395 ac_cpp='$CPP $CPPFLAGS'
55396 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55397 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55398 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55399
55400
55401 fi
55402
55403 fi
55404 echo "$as_me:$LINENO: result: $glibcxx_cv_func_qfpclass_use" >&5
55405 echo "${ECHO_T}$glibcxx_cv_func_qfpclass_use" >&6
55406
55407 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
55408
55409 for ac_func in qfpclass
55410 do
55411 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55412 echo "$as_me:$LINENO: checking for $ac_func" >&5
55413 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55414 if eval "test \"\${$as_ac_var+set}\" = set"; then
55415 echo $ECHO_N "(cached) $ECHO_C" >&6
55416 else
55417 if test x$gcc_no_link = xyes; then
55418 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55419 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55420 { (exit 1); exit 1; }; }
55421 fi
55422 cat >conftest.$ac_ext <<_ACEOF
55423 /* confdefs.h. */
55424 _ACEOF
55425 cat confdefs.h >>conftest.$ac_ext
55426 cat >>conftest.$ac_ext <<_ACEOF
55427 /* end confdefs.h. */
55428 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55429 For example, HP-UX 11i <limits.h> declares gettimeofday. */
55430 #define $ac_func innocuous_$ac_func
55431
55432 /* System header to define __stub macros and hopefully few prototypes,
55433 which can conflict with char $ac_func (); below.
55434 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55435 <limits.h> exists even on freestanding compilers. */
55436
55437 #ifdef __STDC__
55438 # include <limits.h>
55439 #else
55440 # include <assert.h>
55441 #endif
55442
55443 #undef $ac_func
55444
55445 /* Override any gcc2 internal prototype to avoid an error. */
55446 #ifdef __cplusplus
55447 extern "C"
55448 {
55449 #endif
55450 /* We use char because int might match the return type of a gcc2
55451 builtin and then its argument prototype would still apply. */
55452 char $ac_func ();
55453 /* The GNU C library defines this for functions which it implements
55454 to always fail with ENOSYS. Some functions are actually named
55455 something starting with __ and the normal name is an alias. */
55456 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55457 choke me
55458 #else
55459 char (*f) () = $ac_func;
55460 #endif
55461 #ifdef __cplusplus
55462 }
55463 #endif
55464
55465 int
55466 main ()
55467 {
55468 return f != $ac_func;
55469 ;
55470 return 0;
55471 }
55472 _ACEOF
55473 rm -f conftest.$ac_objext conftest$ac_exeext
55474 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55475 (eval $ac_link) 2>conftest.er1
55476 ac_status=$?
55477 grep -v '^ *+' conftest.er1 >conftest.err
55478 rm -f conftest.er1
55479 cat conftest.err >&5
55480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55481 (exit $ac_status); } &&
55482 { ac_try='test -z "$ac_c_werror_flag"
55483 || test ! -s conftest.err'
55484 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55485 (eval $ac_try) 2>&5
55486 ac_status=$?
55487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55488 (exit $ac_status); }; } &&
55489 { ac_try='test -s conftest$ac_exeext'
55490 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55491 (eval $ac_try) 2>&5
55492 ac_status=$?
55493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55494 (exit $ac_status); }; }; then
55495 eval "$as_ac_var=yes"
55496 else
55497 echo "$as_me: failed program was:" >&5
55498 sed 's/^/| /' conftest.$ac_ext >&5
55499
55500 eval "$as_ac_var=no"
55501 fi
55502 rm -f conftest.err conftest.$ac_objext \
55503 conftest$ac_exeext conftest.$ac_ext
55504 fi
55505 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55506 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55507 if test `eval echo '${'$as_ac_var'}'` = yes; then
55508 cat >>confdefs.h <<_ACEOF
55509 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55510 _ACEOF
55511
55512 fi
55513 done
55514
55515 else
55516
55517 echo "$as_me:$LINENO: checking for _qfpclass declaration" >&5
55518 echo $ECHO_N "checking for _qfpclass declaration... $ECHO_C" >&6
55519 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
55520 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then
55521 echo $ECHO_N "(cached) $ECHO_C" >&6
55522 else
55523
55524
55525
55526 ac_ext=cc
55527 ac_cpp='$CXXCPP $CPPFLAGS'
55528 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55529 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55530 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55531
55532 cat >conftest.$ac_ext <<_ACEOF
55533 /* confdefs.h. */
55534 _ACEOF
55535 cat confdefs.h >>conftest.$ac_ext
55536 cat >>conftest.$ac_ext <<_ACEOF
55537 /* end confdefs.h. */
55538 #include <math.h>
55539 #ifdef HAVE_IEEEFP_H
55540 #include <ieeefp.h>
55541 #endif
55542
55543 int
55544 main ()
55545 {
55546 _qfpclass(0);
55547 ;
55548 return 0;
55549 }
55550 _ACEOF
55551 rm -f conftest.$ac_objext
55552 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55553 (eval $ac_compile) 2>conftest.er1
55554 ac_status=$?
55555 grep -v '^ *+' conftest.er1 >conftest.err
55556 rm -f conftest.er1
55557 cat conftest.err >&5
55558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55559 (exit $ac_status); } &&
55560 { ac_try='test -z "$ac_cxx_werror_flag"
55561 || test ! -s conftest.err'
55562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55563 (eval $ac_try) 2>&5
55564 ac_status=$?
55565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55566 (exit $ac_status); }; } &&
55567 { ac_try='test -s conftest.$ac_objext'
55568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55569 (eval $ac_try) 2>&5
55570 ac_status=$?
55571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55572 (exit $ac_status); }; }; then
55573 glibcxx_cv_func__qfpclass_use=yes
55574 else
55575 echo "$as_me: failed program was:" >&5
55576 sed 's/^/| /' conftest.$ac_ext >&5
55577
55578 glibcxx_cv_func__qfpclass_use=no
55579 fi
55580 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55581 ac_ext=c
55582 ac_cpp='$CPP $CPPFLAGS'
55583 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55584 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55585 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55586
55587
55588 fi
55589
55590 fi
55591 echo "$as_me:$LINENO: result: $glibcxx_cv_func__qfpclass_use" >&5
55592 echo "${ECHO_T}$glibcxx_cv_func__qfpclass_use" >&6
55593
55594 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
55595
55596 for ac_func in _qfpclass
55597 do
55598 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55599 echo "$as_me:$LINENO: checking for $ac_func" >&5
55600 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55601 if eval "test \"\${$as_ac_var+set}\" = set"; then
55602 echo $ECHO_N "(cached) $ECHO_C" >&6
55603 else
55604 if test x$gcc_no_link = xyes; then
55605 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55606 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55607 { (exit 1); exit 1; }; }
55608 fi
55609 cat >conftest.$ac_ext <<_ACEOF
55610 /* confdefs.h. */
55611 _ACEOF
55612 cat confdefs.h >>conftest.$ac_ext
55613 cat >>conftest.$ac_ext <<_ACEOF
55614 /* end confdefs.h. */
55615 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55616 For example, HP-UX 11i <limits.h> declares gettimeofday. */
55617 #define $ac_func innocuous_$ac_func
55618
55619 /* System header to define __stub macros and hopefully few prototypes,
55620 which can conflict with char $ac_func (); below.
55621 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55622 <limits.h> exists even on freestanding compilers. */
55623
55624 #ifdef __STDC__
55625 # include <limits.h>
55626 #else
55627 # include <assert.h>
55628 #endif
55629
55630 #undef $ac_func
55631
55632 /* Override any gcc2 internal prototype to avoid an error. */
55633 #ifdef __cplusplus
55634 extern "C"
55635 {
55636 #endif
55637 /* We use char because int might match the return type of a gcc2
55638 builtin and then its argument prototype would still apply. */
55639 char $ac_func ();
55640 /* The GNU C library defines this for functions which it implements
55641 to always fail with ENOSYS. Some functions are actually named
55642 something starting with __ and the normal name is an alias. */
55643 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55644 choke me
55645 #else
55646 char (*f) () = $ac_func;
55647 #endif
55648 #ifdef __cplusplus
55649 }
55650 #endif
55651
55652 int
55653 main ()
55654 {
55655 return f != $ac_func;
55656 ;
55657 return 0;
55658 }
55659 _ACEOF
55660 rm -f conftest.$ac_objext conftest$ac_exeext
55661 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55662 (eval $ac_link) 2>conftest.er1
55663 ac_status=$?
55664 grep -v '^ *+' conftest.er1 >conftest.err
55665 rm -f conftest.er1
55666 cat conftest.err >&5
55667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55668 (exit $ac_status); } &&
55669 { ac_try='test -z "$ac_c_werror_flag"
55670 || test ! -s conftest.err'
55671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55672 (eval $ac_try) 2>&5
55673 ac_status=$?
55674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55675 (exit $ac_status); }; } &&
55676 { ac_try='test -s conftest$ac_exeext'
55677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55678 (eval $ac_try) 2>&5
55679 ac_status=$?
55680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55681 (exit $ac_status); }; }; then
55682 eval "$as_ac_var=yes"
55683 else
55684 echo "$as_me: failed program was:" >&5
55685 sed 's/^/| /' conftest.$ac_ext >&5
55686
55687 eval "$as_ac_var=no"
55688 fi
55689 rm -f conftest.err conftest.$ac_objext \
55690 conftest$ac_exeext conftest.$ac_ext
55691 fi
55692 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55693 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55694 if test `eval echo '${'$as_ac_var'}'` = yes; then
55695 cat >>confdefs.h <<_ACEOF
55696 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55697 _ACEOF
55698
55699 fi
55700 done
55701
55702 fi
55703 fi
55704
55705
55706
55707
55708
55709
55710 echo "$as_me:$LINENO: checking for hypot declaration" >&5
55711 echo $ECHO_N "checking for hypot declaration... $ECHO_C" >&6
55712 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
55713 if test "${glibcxx_cv_func_hypot_use+set}" = set; then
55714 echo $ECHO_N "(cached) $ECHO_C" >&6
55715 else
55716
55717
55718
55719 ac_ext=cc
55720 ac_cpp='$CXXCPP $CPPFLAGS'
55721 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55722 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55723 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55724
55725 cat >conftest.$ac_ext <<_ACEOF
55726 /* confdefs.h. */
55727 _ACEOF
55728 cat confdefs.h >>conftest.$ac_ext
55729 cat >>conftest.$ac_ext <<_ACEOF
55730 /* end confdefs.h. */
55731 #include <math.h>
55732 int
55733 main ()
55734 {
55735 hypot(0, 0);
55736 ;
55737 return 0;
55738 }
55739 _ACEOF
55740 rm -f conftest.$ac_objext
55741 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55742 (eval $ac_compile) 2>conftest.er1
55743 ac_status=$?
55744 grep -v '^ *+' conftest.er1 >conftest.err
55745 rm -f conftest.er1
55746 cat conftest.err >&5
55747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55748 (exit $ac_status); } &&
55749 { ac_try='test -z "$ac_cxx_werror_flag"
55750 || test ! -s conftest.err'
55751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55752 (eval $ac_try) 2>&5
55753 ac_status=$?
55754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55755 (exit $ac_status); }; } &&
55756 { ac_try='test -s conftest.$ac_objext'
55757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55758 (eval $ac_try) 2>&5
55759 ac_status=$?
55760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55761 (exit $ac_status); }; }; then
55762 glibcxx_cv_func_hypot_use=yes
55763 else
55764 echo "$as_me: failed program was:" >&5
55765 sed 's/^/| /' conftest.$ac_ext >&5
55766
55767 glibcxx_cv_func_hypot_use=no
55768 fi
55769 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55770 ac_ext=c
55771 ac_cpp='$CPP $CPPFLAGS'
55772 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55773 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55774 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55775
55776
55777 fi
55778
55779 fi
55780 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypot_use" >&5
55781 echo "${ECHO_T}$glibcxx_cv_func_hypot_use" >&6
55782
55783 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
55784
55785 for ac_func in hypot
55786 do
55787 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55788 echo "$as_me:$LINENO: checking for $ac_func" >&5
55789 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55790 if eval "test \"\${$as_ac_var+set}\" = set"; then
55791 echo $ECHO_N "(cached) $ECHO_C" >&6
55792 else
55793 if test x$gcc_no_link = xyes; then
55794 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55795 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55796 { (exit 1); exit 1; }; }
55797 fi
55798 cat >conftest.$ac_ext <<_ACEOF
55799 /* confdefs.h. */
55800 _ACEOF
55801 cat confdefs.h >>conftest.$ac_ext
55802 cat >>conftest.$ac_ext <<_ACEOF
55803 /* end confdefs.h. */
55804 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55805 For example, HP-UX 11i <limits.h> declares gettimeofday. */
55806 #define $ac_func innocuous_$ac_func
55807
55808 /* System header to define __stub macros and hopefully few prototypes,
55809 which can conflict with char $ac_func (); below.
55810 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55811 <limits.h> exists even on freestanding compilers. */
55812
55813 #ifdef __STDC__
55814 # include <limits.h>
55815 #else
55816 # include <assert.h>
55817 #endif
55818
55819 #undef $ac_func
55820
55821 /* Override any gcc2 internal prototype to avoid an error. */
55822 #ifdef __cplusplus
55823 extern "C"
55824 {
55825 #endif
55826 /* We use char because int might match the return type of a gcc2
55827 builtin and then its argument prototype would still apply. */
55828 char $ac_func ();
55829 /* The GNU C library defines this for functions which it implements
55830 to always fail with ENOSYS. Some functions are actually named
55831 something starting with __ and the normal name is an alias. */
55832 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55833 choke me
55834 #else
55835 char (*f) () = $ac_func;
55836 #endif
55837 #ifdef __cplusplus
55838 }
55839 #endif
55840
55841 int
55842 main ()
55843 {
55844 return f != $ac_func;
55845 ;
55846 return 0;
55847 }
55848 _ACEOF
55849 rm -f conftest.$ac_objext conftest$ac_exeext
55850 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55851 (eval $ac_link) 2>conftest.er1
55852 ac_status=$?
55853 grep -v '^ *+' conftest.er1 >conftest.err
55854 rm -f conftest.er1
55855 cat conftest.err >&5
55856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55857 (exit $ac_status); } &&
55858 { ac_try='test -z "$ac_c_werror_flag"
55859 || test ! -s conftest.err'
55860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55861 (eval $ac_try) 2>&5
55862 ac_status=$?
55863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55864 (exit $ac_status); }; } &&
55865 { ac_try='test -s conftest$ac_exeext'
55866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55867 (eval $ac_try) 2>&5
55868 ac_status=$?
55869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55870 (exit $ac_status); }; }; then
55871 eval "$as_ac_var=yes"
55872 else
55873 echo "$as_me: failed program was:" >&5
55874 sed 's/^/| /' conftest.$ac_ext >&5
55875
55876 eval "$as_ac_var=no"
55877 fi
55878 rm -f conftest.err conftest.$ac_objext \
55879 conftest$ac_exeext conftest.$ac_ext
55880 fi
55881 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55882 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55883 if test `eval echo '${'$as_ac_var'}'` = yes; then
55884 cat >>confdefs.h <<_ACEOF
55885 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55886 _ACEOF
55887
55888 fi
55889 done
55890
55891 else
55892
55893 echo "$as_me:$LINENO: checking for _hypot declaration" >&5
55894 echo $ECHO_N "checking for _hypot declaration... $ECHO_C" >&6
55895 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
55896 if test "${glibcxx_cv_func__hypot_use+set}" = set; then
55897 echo $ECHO_N "(cached) $ECHO_C" >&6
55898 else
55899
55900
55901
55902 ac_ext=cc
55903 ac_cpp='$CXXCPP $CPPFLAGS'
55904 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55905 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55906 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55907
55908 cat >conftest.$ac_ext <<_ACEOF
55909 /* confdefs.h. */
55910 _ACEOF
55911 cat confdefs.h >>conftest.$ac_ext
55912 cat >>conftest.$ac_ext <<_ACEOF
55913 /* end confdefs.h. */
55914 #include <math.h>
55915 int
55916 main ()
55917 {
55918 _hypot(0, 0);
55919 ;
55920 return 0;
55921 }
55922 _ACEOF
55923 rm -f conftest.$ac_objext
55924 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55925 (eval $ac_compile) 2>conftest.er1
55926 ac_status=$?
55927 grep -v '^ *+' conftest.er1 >conftest.err
55928 rm -f conftest.er1
55929 cat conftest.err >&5
55930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55931 (exit $ac_status); } &&
55932 { ac_try='test -z "$ac_cxx_werror_flag"
55933 || test ! -s conftest.err'
55934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55935 (eval $ac_try) 2>&5
55936 ac_status=$?
55937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55938 (exit $ac_status); }; } &&
55939 { ac_try='test -s conftest.$ac_objext'
55940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55941 (eval $ac_try) 2>&5
55942 ac_status=$?
55943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55944 (exit $ac_status); }; }; then
55945 glibcxx_cv_func__hypot_use=yes
55946 else
55947 echo "$as_me: failed program was:" >&5
55948 sed 's/^/| /' conftest.$ac_ext >&5
55949
55950 glibcxx_cv_func__hypot_use=no
55951 fi
55952 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55953 ac_ext=c
55954 ac_cpp='$CPP $CPPFLAGS'
55955 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55956 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55957 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55958
55959
55960 fi
55961
55962 fi
55963 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypot_use" >&5
55964 echo "${ECHO_T}$glibcxx_cv_func__hypot_use" >&6
55965
55966 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
55967
55968 for ac_func in _hypot
55969 do
55970 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55971 echo "$as_me:$LINENO: checking for $ac_func" >&5
55972 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55973 if eval "test \"\${$as_ac_var+set}\" = set"; then
55974 echo $ECHO_N "(cached) $ECHO_C" >&6
55975 else
55976 if test x$gcc_no_link = xyes; then
55977 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55978 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55979 { (exit 1); exit 1; }; }
55980 fi
55981 cat >conftest.$ac_ext <<_ACEOF
55982 /* confdefs.h. */
55983 _ACEOF
55984 cat confdefs.h >>conftest.$ac_ext
55985 cat >>conftest.$ac_ext <<_ACEOF
55986 /* end confdefs.h. */
55987 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55988 For example, HP-UX 11i <limits.h> declares gettimeofday. */
55989 #define $ac_func innocuous_$ac_func
55990
55991 /* System header to define __stub macros and hopefully few prototypes,
55992 which can conflict with char $ac_func (); below.
55993 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55994 <limits.h> exists even on freestanding compilers. */
55995
55996 #ifdef __STDC__
55997 # include <limits.h>
55998 #else
55999 # include <assert.h>
56000 #endif
56001
56002 #undef $ac_func
56003
56004 /* Override any gcc2 internal prototype to avoid an error. */
56005 #ifdef __cplusplus
56006 extern "C"
56007 {
56008 #endif
56009 /* We use char because int might match the return type of a gcc2
56010 builtin and then its argument prototype would still apply. */
56011 char $ac_func ();
56012 /* The GNU C library defines this for functions which it implements
56013 to always fail with ENOSYS. Some functions are actually named
56014 something starting with __ and the normal name is an alias. */
56015 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56016 choke me
56017 #else
56018 char (*f) () = $ac_func;
56019 #endif
56020 #ifdef __cplusplus
56021 }
56022 #endif
56023
56024 int
56025 main ()
56026 {
56027 return f != $ac_func;
56028 ;
56029 return 0;
56030 }
56031 _ACEOF
56032 rm -f conftest.$ac_objext conftest$ac_exeext
56033 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56034 (eval $ac_link) 2>conftest.er1
56035 ac_status=$?
56036 grep -v '^ *+' conftest.er1 >conftest.err
56037 rm -f conftest.er1
56038 cat conftest.err >&5
56039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56040 (exit $ac_status); } &&
56041 { ac_try='test -z "$ac_c_werror_flag"
56042 || test ! -s conftest.err'
56043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56044 (eval $ac_try) 2>&5
56045 ac_status=$?
56046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56047 (exit $ac_status); }; } &&
56048 { ac_try='test -s conftest$ac_exeext'
56049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56050 (eval $ac_try) 2>&5
56051 ac_status=$?
56052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56053 (exit $ac_status); }; }; then
56054 eval "$as_ac_var=yes"
56055 else
56056 echo "$as_me: failed program was:" >&5
56057 sed 's/^/| /' conftest.$ac_ext >&5
56058
56059 eval "$as_ac_var=no"
56060 fi
56061 rm -f conftest.err conftest.$ac_objext \
56062 conftest$ac_exeext conftest.$ac_ext
56063 fi
56064 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56065 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56066 if test `eval echo '${'$as_ac_var'}'` = yes; then
56067 cat >>confdefs.h <<_ACEOF
56068 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56069 _ACEOF
56070
56071 fi
56072 done
56073
56074 fi
56075 fi
56076
56077
56078
56079
56080
56081
56082 echo "$as_me:$LINENO: checking for float trig functions" >&5
56083 echo $ECHO_N "checking for float trig functions... $ECHO_C" >&6
56084 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then
56085 echo $ECHO_N "(cached) $ECHO_C" >&6
56086 else
56087
56088
56089
56090 ac_ext=cc
56091 ac_cpp='$CXXCPP $CPPFLAGS'
56092 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56093 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56094 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56095
56096 cat >conftest.$ac_ext <<_ACEOF
56097 /* confdefs.h. */
56098 _ACEOF
56099 cat confdefs.h >>conftest.$ac_ext
56100 cat >>conftest.$ac_ext <<_ACEOF
56101 /* end confdefs.h. */
56102 #include <math.h>
56103 int
56104 main ()
56105 {
56106 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
56107 ;
56108 return 0;
56109 }
56110 _ACEOF
56111 rm -f conftest.$ac_objext
56112 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56113 (eval $ac_compile) 2>conftest.er1
56114 ac_status=$?
56115 grep -v '^ *+' conftest.er1 >conftest.err
56116 rm -f conftest.er1
56117 cat conftest.err >&5
56118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56119 (exit $ac_status); } &&
56120 { ac_try='test -z "$ac_cxx_werror_flag"
56121 || test ! -s conftest.err'
56122 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56123 (eval $ac_try) 2>&5
56124 ac_status=$?
56125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56126 (exit $ac_status); }; } &&
56127 { ac_try='test -s conftest.$ac_objext'
56128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56129 (eval $ac_try) 2>&5
56130 ac_status=$?
56131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56132 (exit $ac_status); }; }; then
56133 glibcxx_cv_func_float_trig_use=yes
56134 else
56135 echo "$as_me: failed program was:" >&5
56136 sed 's/^/| /' conftest.$ac_ext >&5
56137
56138 glibcxx_cv_func_float_trig_use=no
56139 fi
56140 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56141 ac_ext=c
56142 ac_cpp='$CPP $CPPFLAGS'
56143 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56144 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56145 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56146
56147 fi
56148
56149 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_trig_use" >&5
56150 echo "${ECHO_T}$glibcxx_cv_func_float_trig_use" >&6
56151 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
56152
56153
56154
56155
56156
56157
56158
56159
56160
56161 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
56162 do
56163 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56164 echo "$as_me:$LINENO: checking for $ac_func" >&5
56165 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56166 if eval "test \"\${$as_ac_var+set}\" = set"; then
56167 echo $ECHO_N "(cached) $ECHO_C" >&6
56168 else
56169 if test x$gcc_no_link = xyes; then
56170 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56171 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56172 { (exit 1); exit 1; }; }
56173 fi
56174 cat >conftest.$ac_ext <<_ACEOF
56175 /* confdefs.h. */
56176 _ACEOF
56177 cat confdefs.h >>conftest.$ac_ext
56178 cat >>conftest.$ac_ext <<_ACEOF
56179 /* end confdefs.h. */
56180 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56181 For example, HP-UX 11i <limits.h> declares gettimeofday. */
56182 #define $ac_func innocuous_$ac_func
56183
56184 /* System header to define __stub macros and hopefully few prototypes,
56185 which can conflict with char $ac_func (); below.
56186 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56187 <limits.h> exists even on freestanding compilers. */
56188
56189 #ifdef __STDC__
56190 # include <limits.h>
56191 #else
56192 # include <assert.h>
56193 #endif
56194
56195 #undef $ac_func
56196
56197 /* Override any gcc2 internal prototype to avoid an error. */
56198 #ifdef __cplusplus
56199 extern "C"
56200 {
56201 #endif
56202 /* We use char because int might match the return type of a gcc2
56203 builtin and then its argument prototype would still apply. */
56204 char $ac_func ();
56205 /* The GNU C library defines this for functions which it implements
56206 to always fail with ENOSYS. Some functions are actually named
56207 something starting with __ and the normal name is an alias. */
56208 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56209 choke me
56210 #else
56211 char (*f) () = $ac_func;
56212 #endif
56213 #ifdef __cplusplus
56214 }
56215 #endif
56216
56217 int
56218 main ()
56219 {
56220 return f != $ac_func;
56221 ;
56222 return 0;
56223 }
56224 _ACEOF
56225 rm -f conftest.$ac_objext conftest$ac_exeext
56226 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56227 (eval $ac_link) 2>conftest.er1
56228 ac_status=$?
56229 grep -v '^ *+' conftest.er1 >conftest.err
56230 rm -f conftest.er1
56231 cat conftest.err >&5
56232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56233 (exit $ac_status); } &&
56234 { ac_try='test -z "$ac_c_werror_flag"
56235 || test ! -s conftest.err'
56236 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56237 (eval $ac_try) 2>&5
56238 ac_status=$?
56239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56240 (exit $ac_status); }; } &&
56241 { ac_try='test -s conftest$ac_exeext'
56242 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56243 (eval $ac_try) 2>&5
56244 ac_status=$?
56245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56246 (exit $ac_status); }; }; then
56247 eval "$as_ac_var=yes"
56248 else
56249 echo "$as_me: failed program was:" >&5
56250 sed 's/^/| /' conftest.$ac_ext >&5
56251
56252 eval "$as_ac_var=no"
56253 fi
56254 rm -f conftest.err conftest.$ac_objext \
56255 conftest$ac_exeext conftest.$ac_ext
56256 fi
56257 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56258 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56259 if test `eval echo '${'$as_ac_var'}'` = yes; then
56260 cat >>confdefs.h <<_ACEOF
56261 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56262 _ACEOF
56263
56264 fi
56265 done
56266
56267 else
56268 echo "$as_me:$LINENO: checking for _float trig functions" >&5
56269 echo $ECHO_N "checking for _float trig functions... $ECHO_C" >&6
56270 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then
56271 echo $ECHO_N "(cached) $ECHO_C" >&6
56272 else
56273
56274
56275
56276 ac_ext=cc
56277 ac_cpp='$CXXCPP $CPPFLAGS'
56278 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56279 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56280 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56281
56282 cat >conftest.$ac_ext <<_ACEOF
56283 /* confdefs.h. */
56284 _ACEOF
56285 cat confdefs.h >>conftest.$ac_ext
56286 cat >>conftest.$ac_ext <<_ACEOF
56287 /* end confdefs.h. */
56288 #include <math.h>
56289 int
56290 main ()
56291 {
56292 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
56293 ;
56294 return 0;
56295 }
56296 _ACEOF
56297 rm -f conftest.$ac_objext
56298 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56299 (eval $ac_compile) 2>conftest.er1
56300 ac_status=$?
56301 grep -v '^ *+' conftest.er1 >conftest.err
56302 rm -f conftest.er1
56303 cat conftest.err >&5
56304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56305 (exit $ac_status); } &&
56306 { ac_try='test -z "$ac_cxx_werror_flag"
56307 || test ! -s conftest.err'
56308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56309 (eval $ac_try) 2>&5
56310 ac_status=$?
56311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56312 (exit $ac_status); }; } &&
56313 { ac_try='test -s conftest.$ac_objext'
56314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56315 (eval $ac_try) 2>&5
56316 ac_status=$?
56317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56318 (exit $ac_status); }; }; then
56319 glibcxx_cv_func__float_trig_use=yes
56320 else
56321 echo "$as_me: failed program was:" >&5
56322 sed 's/^/| /' conftest.$ac_ext >&5
56323
56324 glibcxx_cv_func__float_trig_use=no
56325 fi
56326 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56327 ac_ext=c
56328 ac_cpp='$CPP $CPPFLAGS'
56329 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56330 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56331 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56332
56333 fi
56334
56335 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_trig_use" >&5
56336 echo "${ECHO_T}$glibcxx_cv_func__float_trig_use" >&6
56337 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
56338
56339
56340
56341
56342
56343
56344
56345
56346
56347 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
56348 do
56349 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56350 echo "$as_me:$LINENO: checking for $ac_func" >&5
56351 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56352 if eval "test \"\${$as_ac_var+set}\" = set"; then
56353 echo $ECHO_N "(cached) $ECHO_C" >&6
56354 else
56355 if test x$gcc_no_link = xyes; then
56356 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56357 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56358 { (exit 1); exit 1; }; }
56359 fi
56360 cat >conftest.$ac_ext <<_ACEOF
56361 /* confdefs.h. */
56362 _ACEOF
56363 cat confdefs.h >>conftest.$ac_ext
56364 cat >>conftest.$ac_ext <<_ACEOF
56365 /* end confdefs.h. */
56366 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56367 For example, HP-UX 11i <limits.h> declares gettimeofday. */
56368 #define $ac_func innocuous_$ac_func
56369
56370 /* System header to define __stub macros and hopefully few prototypes,
56371 which can conflict with char $ac_func (); below.
56372 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56373 <limits.h> exists even on freestanding compilers. */
56374
56375 #ifdef __STDC__
56376 # include <limits.h>
56377 #else
56378 # include <assert.h>
56379 #endif
56380
56381 #undef $ac_func
56382
56383 /* Override any gcc2 internal prototype to avoid an error. */
56384 #ifdef __cplusplus
56385 extern "C"
56386 {
56387 #endif
56388 /* We use char because int might match the return type of a gcc2
56389 builtin and then its argument prototype would still apply. */
56390 char $ac_func ();
56391 /* The GNU C library defines this for functions which it implements
56392 to always fail with ENOSYS. Some functions are actually named
56393 something starting with __ and the normal name is an alias. */
56394 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56395 choke me
56396 #else
56397 char (*f) () = $ac_func;
56398 #endif
56399 #ifdef __cplusplus
56400 }
56401 #endif
56402
56403 int
56404 main ()
56405 {
56406 return f != $ac_func;
56407 ;
56408 return 0;
56409 }
56410 _ACEOF
56411 rm -f conftest.$ac_objext conftest$ac_exeext
56412 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56413 (eval $ac_link) 2>conftest.er1
56414 ac_status=$?
56415 grep -v '^ *+' conftest.er1 >conftest.err
56416 rm -f conftest.er1
56417 cat conftest.err >&5
56418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56419 (exit $ac_status); } &&
56420 { ac_try='test -z "$ac_c_werror_flag"
56421 || test ! -s conftest.err'
56422 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56423 (eval $ac_try) 2>&5
56424 ac_status=$?
56425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56426 (exit $ac_status); }; } &&
56427 { ac_try='test -s conftest$ac_exeext'
56428 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56429 (eval $ac_try) 2>&5
56430 ac_status=$?
56431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56432 (exit $ac_status); }; }; then
56433 eval "$as_ac_var=yes"
56434 else
56435 echo "$as_me: failed program was:" >&5
56436 sed 's/^/| /' conftest.$ac_ext >&5
56437
56438 eval "$as_ac_var=no"
56439 fi
56440 rm -f conftest.err conftest.$ac_objext \
56441 conftest$ac_exeext conftest.$ac_ext
56442 fi
56443 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56444 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56445 if test `eval echo '${'$as_ac_var'}'` = yes; then
56446 cat >>confdefs.h <<_ACEOF
56447 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56448 _ACEOF
56449
56450 fi
56451 done
56452
56453 fi
56454 fi
56455
56456
56457
56458
56459
56460
56461
56462
56463
56464
56465
56466
56467
56468
56469 echo "$as_me:$LINENO: checking for float round functions" >&5
56470 echo $ECHO_N "checking for float round functions... $ECHO_C" >&6
56471 if test "${glibcxx_cv_func_float_round_use+set}" = set; then
56472 echo $ECHO_N "(cached) $ECHO_C" >&6
56473 else
56474
56475
56476
56477 ac_ext=cc
56478 ac_cpp='$CXXCPP $CPPFLAGS'
56479 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56480 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56481 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56482
56483 cat >conftest.$ac_ext <<_ACEOF
56484 /* confdefs.h. */
56485 _ACEOF
56486 cat confdefs.h >>conftest.$ac_ext
56487 cat >>conftest.$ac_ext <<_ACEOF
56488 /* end confdefs.h. */
56489 #include <math.h>
56490 int
56491 main ()
56492 {
56493 ceilf (0); floorf (0);
56494 ;
56495 return 0;
56496 }
56497 _ACEOF
56498 rm -f conftest.$ac_objext
56499 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56500 (eval $ac_compile) 2>conftest.er1
56501 ac_status=$?
56502 grep -v '^ *+' conftest.er1 >conftest.err
56503 rm -f conftest.er1
56504 cat conftest.err >&5
56505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56506 (exit $ac_status); } &&
56507 { ac_try='test -z "$ac_cxx_werror_flag"
56508 || test ! -s conftest.err'
56509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56510 (eval $ac_try) 2>&5
56511 ac_status=$?
56512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56513 (exit $ac_status); }; } &&
56514 { ac_try='test -s conftest.$ac_objext'
56515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56516 (eval $ac_try) 2>&5
56517 ac_status=$?
56518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56519 (exit $ac_status); }; }; then
56520 glibcxx_cv_func_float_round_use=yes
56521 else
56522 echo "$as_me: failed program was:" >&5
56523 sed 's/^/| /' conftest.$ac_ext >&5
56524
56525 glibcxx_cv_func_float_round_use=no
56526 fi
56527 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56528 ac_ext=c
56529 ac_cpp='$CPP $CPPFLAGS'
56530 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56531 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56532 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56533
56534 fi
56535
56536 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_round_use" >&5
56537 echo "${ECHO_T}$glibcxx_cv_func_float_round_use" >&6
56538 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
56539
56540
56541 for ac_func in ceilf floorf
56542 do
56543 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56544 echo "$as_me:$LINENO: checking for $ac_func" >&5
56545 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56546 if eval "test \"\${$as_ac_var+set}\" = set"; then
56547 echo $ECHO_N "(cached) $ECHO_C" >&6
56548 else
56549 if test x$gcc_no_link = xyes; then
56550 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56551 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56552 { (exit 1); exit 1; }; }
56553 fi
56554 cat >conftest.$ac_ext <<_ACEOF
56555 /* confdefs.h. */
56556 _ACEOF
56557 cat confdefs.h >>conftest.$ac_ext
56558 cat >>conftest.$ac_ext <<_ACEOF
56559 /* end confdefs.h. */
56560 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56561 For example, HP-UX 11i <limits.h> declares gettimeofday. */
56562 #define $ac_func innocuous_$ac_func
56563
56564 /* System header to define __stub macros and hopefully few prototypes,
56565 which can conflict with char $ac_func (); below.
56566 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56567 <limits.h> exists even on freestanding compilers. */
56568
56569 #ifdef __STDC__
56570 # include <limits.h>
56571 #else
56572 # include <assert.h>
56573 #endif
56574
56575 #undef $ac_func
56576
56577 /* Override any gcc2 internal prototype to avoid an error. */
56578 #ifdef __cplusplus
56579 extern "C"
56580 {
56581 #endif
56582 /* We use char because int might match the return type of a gcc2
56583 builtin and then its argument prototype would still apply. */
56584 char $ac_func ();
56585 /* The GNU C library defines this for functions which it implements
56586 to always fail with ENOSYS. Some functions are actually named
56587 something starting with __ and the normal name is an alias. */
56588 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56589 choke me
56590 #else
56591 char (*f) () = $ac_func;
56592 #endif
56593 #ifdef __cplusplus
56594 }
56595 #endif
56596
56597 int
56598 main ()
56599 {
56600 return f != $ac_func;
56601 ;
56602 return 0;
56603 }
56604 _ACEOF
56605 rm -f conftest.$ac_objext conftest$ac_exeext
56606 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56607 (eval $ac_link) 2>conftest.er1
56608 ac_status=$?
56609 grep -v '^ *+' conftest.er1 >conftest.err
56610 rm -f conftest.er1
56611 cat conftest.err >&5
56612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56613 (exit $ac_status); } &&
56614 { ac_try='test -z "$ac_c_werror_flag"
56615 || test ! -s conftest.err'
56616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56617 (eval $ac_try) 2>&5
56618 ac_status=$?
56619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56620 (exit $ac_status); }; } &&
56621 { ac_try='test -s conftest$ac_exeext'
56622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56623 (eval $ac_try) 2>&5
56624 ac_status=$?
56625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56626 (exit $ac_status); }; }; then
56627 eval "$as_ac_var=yes"
56628 else
56629 echo "$as_me: failed program was:" >&5
56630 sed 's/^/| /' conftest.$ac_ext >&5
56631
56632 eval "$as_ac_var=no"
56633 fi
56634 rm -f conftest.err conftest.$ac_objext \
56635 conftest$ac_exeext conftest.$ac_ext
56636 fi
56637 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56638 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56639 if test `eval echo '${'$as_ac_var'}'` = yes; then
56640 cat >>confdefs.h <<_ACEOF
56641 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56642 _ACEOF
56643
56644 fi
56645 done
56646
56647 else
56648 echo "$as_me:$LINENO: checking for _float round functions" >&5
56649 echo $ECHO_N "checking for _float round functions... $ECHO_C" >&6
56650 if test "${glibcxx_cv_func__float_round_use+set}" = set; then
56651 echo $ECHO_N "(cached) $ECHO_C" >&6
56652 else
56653
56654
56655
56656 ac_ext=cc
56657 ac_cpp='$CXXCPP $CPPFLAGS'
56658 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56659 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56660 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56661
56662 cat >conftest.$ac_ext <<_ACEOF
56663 /* confdefs.h. */
56664 _ACEOF
56665 cat confdefs.h >>conftest.$ac_ext
56666 cat >>conftest.$ac_ext <<_ACEOF
56667 /* end confdefs.h. */
56668 #include <math.h>
56669 int
56670 main ()
56671 {
56672 _ceilf (0); _floorf (0);
56673 ;
56674 return 0;
56675 }
56676 _ACEOF
56677 rm -f conftest.$ac_objext
56678 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56679 (eval $ac_compile) 2>conftest.er1
56680 ac_status=$?
56681 grep -v '^ *+' conftest.er1 >conftest.err
56682 rm -f conftest.er1
56683 cat conftest.err >&5
56684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56685 (exit $ac_status); } &&
56686 { ac_try='test -z "$ac_cxx_werror_flag"
56687 || test ! -s conftest.err'
56688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56689 (eval $ac_try) 2>&5
56690 ac_status=$?
56691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56692 (exit $ac_status); }; } &&
56693 { ac_try='test -s conftest.$ac_objext'
56694 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56695 (eval $ac_try) 2>&5
56696 ac_status=$?
56697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56698 (exit $ac_status); }; }; then
56699 glibcxx_cv_func__float_round_use=yes
56700 else
56701 echo "$as_me: failed program was:" >&5
56702 sed 's/^/| /' conftest.$ac_ext >&5
56703
56704 glibcxx_cv_func__float_round_use=no
56705 fi
56706 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56707 ac_ext=c
56708 ac_cpp='$CPP $CPPFLAGS'
56709 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56710 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56711 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56712
56713 fi
56714
56715 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_round_use" >&5
56716 echo "${ECHO_T}$glibcxx_cv_func__float_round_use" >&6
56717 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
56718
56719
56720 for ac_func in _ceilf _floorf
56721 do
56722 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56723 echo "$as_me:$LINENO: checking for $ac_func" >&5
56724 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56725 if eval "test \"\${$as_ac_var+set}\" = set"; then
56726 echo $ECHO_N "(cached) $ECHO_C" >&6
56727 else
56728 if test x$gcc_no_link = xyes; then
56729 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56730 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56731 { (exit 1); exit 1; }; }
56732 fi
56733 cat >conftest.$ac_ext <<_ACEOF
56734 /* confdefs.h. */
56735 _ACEOF
56736 cat confdefs.h >>conftest.$ac_ext
56737 cat >>conftest.$ac_ext <<_ACEOF
56738 /* end confdefs.h. */
56739 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56740 For example, HP-UX 11i <limits.h> declares gettimeofday. */
56741 #define $ac_func innocuous_$ac_func
56742
56743 /* System header to define __stub macros and hopefully few prototypes,
56744 which can conflict with char $ac_func (); below.
56745 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56746 <limits.h> exists even on freestanding compilers. */
56747
56748 #ifdef __STDC__
56749 # include <limits.h>
56750 #else
56751 # include <assert.h>
56752 #endif
56753
56754 #undef $ac_func
56755
56756 /* Override any gcc2 internal prototype to avoid an error. */
56757 #ifdef __cplusplus
56758 extern "C"
56759 {
56760 #endif
56761 /* We use char because int might match the return type of a gcc2
56762 builtin and then its argument prototype would still apply. */
56763 char $ac_func ();
56764 /* The GNU C library defines this for functions which it implements
56765 to always fail with ENOSYS. Some functions are actually named
56766 something starting with __ and the normal name is an alias. */
56767 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56768 choke me
56769 #else
56770 char (*f) () = $ac_func;
56771 #endif
56772 #ifdef __cplusplus
56773 }
56774 #endif
56775
56776 int
56777 main ()
56778 {
56779 return f != $ac_func;
56780 ;
56781 return 0;
56782 }
56783 _ACEOF
56784 rm -f conftest.$ac_objext conftest$ac_exeext
56785 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56786 (eval $ac_link) 2>conftest.er1
56787 ac_status=$?
56788 grep -v '^ *+' conftest.er1 >conftest.err
56789 rm -f conftest.er1
56790 cat conftest.err >&5
56791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56792 (exit $ac_status); } &&
56793 { ac_try='test -z "$ac_c_werror_flag"
56794 || test ! -s conftest.err'
56795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56796 (eval $ac_try) 2>&5
56797 ac_status=$?
56798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56799 (exit $ac_status); }; } &&
56800 { ac_try='test -s conftest$ac_exeext'
56801 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56802 (eval $ac_try) 2>&5
56803 ac_status=$?
56804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56805 (exit $ac_status); }; }; then
56806 eval "$as_ac_var=yes"
56807 else
56808 echo "$as_me: failed program was:" >&5
56809 sed 's/^/| /' conftest.$ac_ext >&5
56810
56811 eval "$as_ac_var=no"
56812 fi
56813 rm -f conftest.err conftest.$ac_objext \
56814 conftest$ac_exeext conftest.$ac_ext
56815 fi
56816 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56817 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56818 if test `eval echo '${'$as_ac_var'}'` = yes; then
56819 cat >>confdefs.h <<_ACEOF
56820 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56821 _ACEOF
56822
56823 fi
56824 done
56825
56826 fi
56827 fi
56828
56829
56830
56831
56832
56833
56834
56835
56836 echo "$as_me:$LINENO: checking for expf declaration" >&5
56837 echo $ECHO_N "checking for expf declaration... $ECHO_C" >&6
56838 if test x${glibcxx_cv_func_expf_use+set} != xset; then
56839 if test "${glibcxx_cv_func_expf_use+set}" = set; then
56840 echo $ECHO_N "(cached) $ECHO_C" >&6
56841 else
56842
56843
56844
56845 ac_ext=cc
56846 ac_cpp='$CXXCPP $CPPFLAGS'
56847 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56848 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56849 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56850
56851 cat >conftest.$ac_ext <<_ACEOF
56852 /* confdefs.h. */
56853 _ACEOF
56854 cat confdefs.h >>conftest.$ac_ext
56855 cat >>conftest.$ac_ext <<_ACEOF
56856 /* end confdefs.h. */
56857 #include <math.h>
56858 #ifdef HAVE_IEEEFP_H
56859 #include <ieeefp.h>
56860 #endif
56861
56862 int
56863 main ()
56864 {
56865 expf(0);
56866 ;
56867 return 0;
56868 }
56869 _ACEOF
56870 rm -f conftest.$ac_objext
56871 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56872 (eval $ac_compile) 2>conftest.er1
56873 ac_status=$?
56874 grep -v '^ *+' conftest.er1 >conftest.err
56875 rm -f conftest.er1
56876 cat conftest.err >&5
56877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56878 (exit $ac_status); } &&
56879 { ac_try='test -z "$ac_cxx_werror_flag"
56880 || test ! -s conftest.err'
56881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56882 (eval $ac_try) 2>&5
56883 ac_status=$?
56884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56885 (exit $ac_status); }; } &&
56886 { ac_try='test -s conftest.$ac_objext'
56887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56888 (eval $ac_try) 2>&5
56889 ac_status=$?
56890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56891 (exit $ac_status); }; }; then
56892 glibcxx_cv_func_expf_use=yes
56893 else
56894 echo "$as_me: failed program was:" >&5
56895 sed 's/^/| /' conftest.$ac_ext >&5
56896
56897 glibcxx_cv_func_expf_use=no
56898 fi
56899 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56900 ac_ext=c
56901 ac_cpp='$CPP $CPPFLAGS'
56902 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56903 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56904 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56905
56906
56907 fi
56908
56909 fi
56910 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expf_use" >&5
56911 echo "${ECHO_T}$glibcxx_cv_func_expf_use" >&6
56912
56913 if test x$glibcxx_cv_func_expf_use = x"yes"; then
56914
56915 for ac_func in expf
56916 do
56917 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56918 echo "$as_me:$LINENO: checking for $ac_func" >&5
56919 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56920 if eval "test \"\${$as_ac_var+set}\" = set"; then
56921 echo $ECHO_N "(cached) $ECHO_C" >&6
56922 else
56923 if test x$gcc_no_link = xyes; then
56924 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56925 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56926 { (exit 1); exit 1; }; }
56927 fi
56928 cat >conftest.$ac_ext <<_ACEOF
56929 /* confdefs.h. */
56930 _ACEOF
56931 cat confdefs.h >>conftest.$ac_ext
56932 cat >>conftest.$ac_ext <<_ACEOF
56933 /* end confdefs.h. */
56934 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56935 For example, HP-UX 11i <limits.h> declares gettimeofday. */
56936 #define $ac_func innocuous_$ac_func
56937
56938 /* System header to define __stub macros and hopefully few prototypes,
56939 which can conflict with char $ac_func (); below.
56940 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56941 <limits.h> exists even on freestanding compilers. */
56942
56943 #ifdef __STDC__
56944 # include <limits.h>
56945 #else
56946 # include <assert.h>
56947 #endif
56948
56949 #undef $ac_func
56950
56951 /* Override any gcc2 internal prototype to avoid an error. */
56952 #ifdef __cplusplus
56953 extern "C"
56954 {
56955 #endif
56956 /* We use char because int might match the return type of a gcc2
56957 builtin and then its argument prototype would still apply. */
56958 char $ac_func ();
56959 /* The GNU C library defines this for functions which it implements
56960 to always fail with ENOSYS. Some functions are actually named
56961 something starting with __ and the normal name is an alias. */
56962 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56963 choke me
56964 #else
56965 char (*f) () = $ac_func;
56966 #endif
56967 #ifdef __cplusplus
56968 }
56969 #endif
56970
56971 int
56972 main ()
56973 {
56974 return f != $ac_func;
56975 ;
56976 return 0;
56977 }
56978 _ACEOF
56979 rm -f conftest.$ac_objext conftest$ac_exeext
56980 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56981 (eval $ac_link) 2>conftest.er1
56982 ac_status=$?
56983 grep -v '^ *+' conftest.er1 >conftest.err
56984 rm -f conftest.er1
56985 cat conftest.err >&5
56986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56987 (exit $ac_status); } &&
56988 { ac_try='test -z "$ac_c_werror_flag"
56989 || test ! -s conftest.err'
56990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56991 (eval $ac_try) 2>&5
56992 ac_status=$?
56993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56994 (exit $ac_status); }; } &&
56995 { ac_try='test -s conftest$ac_exeext'
56996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56997 (eval $ac_try) 2>&5
56998 ac_status=$?
56999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57000 (exit $ac_status); }; }; then
57001 eval "$as_ac_var=yes"
57002 else
57003 echo "$as_me: failed program was:" >&5
57004 sed 's/^/| /' conftest.$ac_ext >&5
57005
57006 eval "$as_ac_var=no"
57007 fi
57008 rm -f conftest.err conftest.$ac_objext \
57009 conftest$ac_exeext conftest.$ac_ext
57010 fi
57011 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57012 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57013 if test `eval echo '${'$as_ac_var'}'` = yes; then
57014 cat >>confdefs.h <<_ACEOF
57015 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57016 _ACEOF
57017
57018 fi
57019 done
57020
57021 else
57022
57023 echo "$as_me:$LINENO: checking for _expf declaration" >&5
57024 echo $ECHO_N "checking for _expf declaration... $ECHO_C" >&6
57025 if test x${glibcxx_cv_func__expf_use+set} != xset; then
57026 if test "${glibcxx_cv_func__expf_use+set}" = set; then
57027 echo $ECHO_N "(cached) $ECHO_C" >&6
57028 else
57029
57030
57031
57032 ac_ext=cc
57033 ac_cpp='$CXXCPP $CPPFLAGS'
57034 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57035 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57036 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57037
57038 cat >conftest.$ac_ext <<_ACEOF
57039 /* confdefs.h. */
57040 _ACEOF
57041 cat confdefs.h >>conftest.$ac_ext
57042 cat >>conftest.$ac_ext <<_ACEOF
57043 /* end confdefs.h. */
57044 #include <math.h>
57045 #ifdef HAVE_IEEEFP_H
57046 #include <ieeefp.h>
57047 #endif
57048
57049 int
57050 main ()
57051 {
57052 _expf(0);
57053 ;
57054 return 0;
57055 }
57056 _ACEOF
57057 rm -f conftest.$ac_objext
57058 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57059 (eval $ac_compile) 2>conftest.er1
57060 ac_status=$?
57061 grep -v '^ *+' conftest.er1 >conftest.err
57062 rm -f conftest.er1
57063 cat conftest.err >&5
57064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57065 (exit $ac_status); } &&
57066 { ac_try='test -z "$ac_cxx_werror_flag"
57067 || test ! -s conftest.err'
57068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57069 (eval $ac_try) 2>&5
57070 ac_status=$?
57071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57072 (exit $ac_status); }; } &&
57073 { ac_try='test -s conftest.$ac_objext'
57074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57075 (eval $ac_try) 2>&5
57076 ac_status=$?
57077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57078 (exit $ac_status); }; }; then
57079 glibcxx_cv_func__expf_use=yes
57080 else
57081 echo "$as_me: failed program was:" >&5
57082 sed 's/^/| /' conftest.$ac_ext >&5
57083
57084 glibcxx_cv_func__expf_use=no
57085 fi
57086 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57087 ac_ext=c
57088 ac_cpp='$CPP $CPPFLAGS'
57089 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57090 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57091 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57092
57093
57094 fi
57095
57096 fi
57097 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expf_use" >&5
57098 echo "${ECHO_T}$glibcxx_cv_func__expf_use" >&6
57099
57100 if test x$glibcxx_cv_func__expf_use = x"yes"; then
57101
57102 for ac_func in _expf
57103 do
57104 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57105 echo "$as_me:$LINENO: checking for $ac_func" >&5
57106 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57107 if eval "test \"\${$as_ac_var+set}\" = set"; then
57108 echo $ECHO_N "(cached) $ECHO_C" >&6
57109 else
57110 if test x$gcc_no_link = xyes; then
57111 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57112 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57113 { (exit 1); exit 1; }; }
57114 fi
57115 cat >conftest.$ac_ext <<_ACEOF
57116 /* confdefs.h. */
57117 _ACEOF
57118 cat confdefs.h >>conftest.$ac_ext
57119 cat >>conftest.$ac_ext <<_ACEOF
57120 /* end confdefs.h. */
57121 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57122 For example, HP-UX 11i <limits.h> declares gettimeofday. */
57123 #define $ac_func innocuous_$ac_func
57124
57125 /* System header to define __stub macros and hopefully few prototypes,
57126 which can conflict with char $ac_func (); below.
57127 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57128 <limits.h> exists even on freestanding compilers. */
57129
57130 #ifdef __STDC__
57131 # include <limits.h>
57132 #else
57133 # include <assert.h>
57134 #endif
57135
57136 #undef $ac_func
57137
57138 /* Override any gcc2 internal prototype to avoid an error. */
57139 #ifdef __cplusplus
57140 extern "C"
57141 {
57142 #endif
57143 /* We use char because int might match the return type of a gcc2
57144 builtin and then its argument prototype would still apply. */
57145 char $ac_func ();
57146 /* The GNU C library defines this for functions which it implements
57147 to always fail with ENOSYS. Some functions are actually named
57148 something starting with __ and the normal name is an alias. */
57149 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57150 choke me
57151 #else
57152 char (*f) () = $ac_func;
57153 #endif
57154 #ifdef __cplusplus
57155 }
57156 #endif
57157
57158 int
57159 main ()
57160 {
57161 return f != $ac_func;
57162 ;
57163 return 0;
57164 }
57165 _ACEOF
57166 rm -f conftest.$ac_objext conftest$ac_exeext
57167 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57168 (eval $ac_link) 2>conftest.er1
57169 ac_status=$?
57170 grep -v '^ *+' conftest.er1 >conftest.err
57171 rm -f conftest.er1
57172 cat conftest.err >&5
57173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57174 (exit $ac_status); } &&
57175 { ac_try='test -z "$ac_c_werror_flag"
57176 || test ! -s conftest.err'
57177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57178 (eval $ac_try) 2>&5
57179 ac_status=$?
57180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57181 (exit $ac_status); }; } &&
57182 { ac_try='test -s conftest$ac_exeext'
57183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57184 (eval $ac_try) 2>&5
57185 ac_status=$?
57186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57187 (exit $ac_status); }; }; then
57188 eval "$as_ac_var=yes"
57189 else
57190 echo "$as_me: failed program was:" >&5
57191 sed 's/^/| /' conftest.$ac_ext >&5
57192
57193 eval "$as_ac_var=no"
57194 fi
57195 rm -f conftest.err conftest.$ac_objext \
57196 conftest$ac_exeext conftest.$ac_ext
57197 fi
57198 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57199 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57200 if test `eval echo '${'$as_ac_var'}'` = yes; then
57201 cat >>confdefs.h <<_ACEOF
57202 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57203 _ACEOF
57204
57205 fi
57206 done
57207
57208 fi
57209 fi
57210
57211
57212
57213
57214
57215
57216 echo "$as_me:$LINENO: checking for isnanf declaration" >&5
57217 echo $ECHO_N "checking for isnanf declaration... $ECHO_C" >&6
57218 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
57219 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then
57220 echo $ECHO_N "(cached) $ECHO_C" >&6
57221 else
57222
57223
57224
57225 ac_ext=cc
57226 ac_cpp='$CXXCPP $CPPFLAGS'
57227 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57228 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57229 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57230
57231 cat >conftest.$ac_ext <<_ACEOF
57232 /* confdefs.h. */
57233 _ACEOF
57234 cat confdefs.h >>conftest.$ac_ext
57235 cat >>conftest.$ac_ext <<_ACEOF
57236 /* end confdefs.h. */
57237 #include <math.h>
57238 #ifdef HAVE_IEEEFP_H
57239 #include <ieeefp.h>
57240 #endif
57241
57242 int
57243 main ()
57244 {
57245 isnanf(0);
57246 ;
57247 return 0;
57248 }
57249 _ACEOF
57250 rm -f conftest.$ac_objext
57251 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57252 (eval $ac_compile) 2>conftest.er1
57253 ac_status=$?
57254 grep -v '^ *+' conftest.er1 >conftest.err
57255 rm -f conftest.er1
57256 cat conftest.err >&5
57257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57258 (exit $ac_status); } &&
57259 { ac_try='test -z "$ac_cxx_werror_flag"
57260 || test ! -s conftest.err'
57261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57262 (eval $ac_try) 2>&5
57263 ac_status=$?
57264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57265 (exit $ac_status); }; } &&
57266 { ac_try='test -s conftest.$ac_objext'
57267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57268 (eval $ac_try) 2>&5
57269 ac_status=$?
57270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57271 (exit $ac_status); }; }; then
57272 glibcxx_cv_func_isnanf_use=yes
57273 else
57274 echo "$as_me: failed program was:" >&5
57275 sed 's/^/| /' conftest.$ac_ext >&5
57276
57277 glibcxx_cv_func_isnanf_use=no
57278 fi
57279 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57280 ac_ext=c
57281 ac_cpp='$CPP $CPPFLAGS'
57282 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57283 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57284 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57285
57286
57287 fi
57288
57289 fi
57290 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanf_use" >&5
57291 echo "${ECHO_T}$glibcxx_cv_func_isnanf_use" >&6
57292
57293 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
57294
57295 for ac_func in isnanf
57296 do
57297 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57298 echo "$as_me:$LINENO: checking for $ac_func" >&5
57299 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57300 if eval "test \"\${$as_ac_var+set}\" = set"; then
57301 echo $ECHO_N "(cached) $ECHO_C" >&6
57302 else
57303 if test x$gcc_no_link = xyes; then
57304 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57305 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57306 { (exit 1); exit 1; }; }
57307 fi
57308 cat >conftest.$ac_ext <<_ACEOF
57309 /* confdefs.h. */
57310 _ACEOF
57311 cat confdefs.h >>conftest.$ac_ext
57312 cat >>conftest.$ac_ext <<_ACEOF
57313 /* end confdefs.h. */
57314 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57315 For example, HP-UX 11i <limits.h> declares gettimeofday. */
57316 #define $ac_func innocuous_$ac_func
57317
57318 /* System header to define __stub macros and hopefully few prototypes,
57319 which can conflict with char $ac_func (); below.
57320 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57321 <limits.h> exists even on freestanding compilers. */
57322
57323 #ifdef __STDC__
57324 # include <limits.h>
57325 #else
57326 # include <assert.h>
57327 #endif
57328
57329 #undef $ac_func
57330
57331 /* Override any gcc2 internal prototype to avoid an error. */
57332 #ifdef __cplusplus
57333 extern "C"
57334 {
57335 #endif
57336 /* We use char because int might match the return type of a gcc2
57337 builtin and then its argument prototype would still apply. */
57338 char $ac_func ();
57339 /* The GNU C library defines this for functions which it implements
57340 to always fail with ENOSYS. Some functions are actually named
57341 something starting with __ and the normal name is an alias. */
57342 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57343 choke me
57344 #else
57345 char (*f) () = $ac_func;
57346 #endif
57347 #ifdef __cplusplus
57348 }
57349 #endif
57350
57351 int
57352 main ()
57353 {
57354 return f != $ac_func;
57355 ;
57356 return 0;
57357 }
57358 _ACEOF
57359 rm -f conftest.$ac_objext conftest$ac_exeext
57360 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57361 (eval $ac_link) 2>conftest.er1
57362 ac_status=$?
57363 grep -v '^ *+' conftest.er1 >conftest.err
57364 rm -f conftest.er1
57365 cat conftest.err >&5
57366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57367 (exit $ac_status); } &&
57368 { ac_try='test -z "$ac_c_werror_flag"
57369 || test ! -s conftest.err'
57370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57371 (eval $ac_try) 2>&5
57372 ac_status=$?
57373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57374 (exit $ac_status); }; } &&
57375 { ac_try='test -s conftest$ac_exeext'
57376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57377 (eval $ac_try) 2>&5
57378 ac_status=$?
57379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57380 (exit $ac_status); }; }; then
57381 eval "$as_ac_var=yes"
57382 else
57383 echo "$as_me: failed program was:" >&5
57384 sed 's/^/| /' conftest.$ac_ext >&5
57385
57386 eval "$as_ac_var=no"
57387 fi
57388 rm -f conftest.err conftest.$ac_objext \
57389 conftest$ac_exeext conftest.$ac_ext
57390 fi
57391 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57392 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57393 if test `eval echo '${'$as_ac_var'}'` = yes; then
57394 cat >>confdefs.h <<_ACEOF
57395 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57396 _ACEOF
57397
57398 fi
57399 done
57400
57401 else
57402
57403 echo "$as_me:$LINENO: checking for _isnanf declaration" >&5
57404 echo $ECHO_N "checking for _isnanf declaration... $ECHO_C" >&6
57405 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
57406 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then
57407 echo $ECHO_N "(cached) $ECHO_C" >&6
57408 else
57409
57410
57411
57412 ac_ext=cc
57413 ac_cpp='$CXXCPP $CPPFLAGS'
57414 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57415 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57416 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57417
57418 cat >conftest.$ac_ext <<_ACEOF
57419 /* confdefs.h. */
57420 _ACEOF
57421 cat confdefs.h >>conftest.$ac_ext
57422 cat >>conftest.$ac_ext <<_ACEOF
57423 /* end confdefs.h. */
57424 #include <math.h>
57425 #ifdef HAVE_IEEEFP_H
57426 #include <ieeefp.h>
57427 #endif
57428
57429 int
57430 main ()
57431 {
57432 _isnanf(0);
57433 ;
57434 return 0;
57435 }
57436 _ACEOF
57437 rm -f conftest.$ac_objext
57438 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57439 (eval $ac_compile) 2>conftest.er1
57440 ac_status=$?
57441 grep -v '^ *+' conftest.er1 >conftest.err
57442 rm -f conftest.er1
57443 cat conftest.err >&5
57444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57445 (exit $ac_status); } &&
57446 { ac_try='test -z "$ac_cxx_werror_flag"
57447 || test ! -s conftest.err'
57448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57449 (eval $ac_try) 2>&5
57450 ac_status=$?
57451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57452 (exit $ac_status); }; } &&
57453 { ac_try='test -s conftest.$ac_objext'
57454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57455 (eval $ac_try) 2>&5
57456 ac_status=$?
57457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57458 (exit $ac_status); }; }; then
57459 glibcxx_cv_func__isnanf_use=yes
57460 else
57461 echo "$as_me: failed program was:" >&5
57462 sed 's/^/| /' conftest.$ac_ext >&5
57463
57464 glibcxx_cv_func__isnanf_use=no
57465 fi
57466 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57467 ac_ext=c
57468 ac_cpp='$CPP $CPPFLAGS'
57469 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57470 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57471 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57472
57473
57474 fi
57475
57476 fi
57477 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanf_use" >&5
57478 echo "${ECHO_T}$glibcxx_cv_func__isnanf_use" >&6
57479
57480 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
57481
57482 for ac_func in _isnanf
57483 do
57484 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57485 echo "$as_me:$LINENO: checking for $ac_func" >&5
57486 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57487 if eval "test \"\${$as_ac_var+set}\" = set"; then
57488 echo $ECHO_N "(cached) $ECHO_C" >&6
57489 else
57490 if test x$gcc_no_link = xyes; then
57491 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57492 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57493 { (exit 1); exit 1; }; }
57494 fi
57495 cat >conftest.$ac_ext <<_ACEOF
57496 /* confdefs.h. */
57497 _ACEOF
57498 cat confdefs.h >>conftest.$ac_ext
57499 cat >>conftest.$ac_ext <<_ACEOF
57500 /* end confdefs.h. */
57501 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57502 For example, HP-UX 11i <limits.h> declares gettimeofday. */
57503 #define $ac_func innocuous_$ac_func
57504
57505 /* System header to define __stub macros and hopefully few prototypes,
57506 which can conflict with char $ac_func (); below.
57507 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57508 <limits.h> exists even on freestanding compilers. */
57509
57510 #ifdef __STDC__
57511 # include <limits.h>
57512 #else
57513 # include <assert.h>
57514 #endif
57515
57516 #undef $ac_func
57517
57518 /* Override any gcc2 internal prototype to avoid an error. */
57519 #ifdef __cplusplus
57520 extern "C"
57521 {
57522 #endif
57523 /* We use char because int might match the return type of a gcc2
57524 builtin and then its argument prototype would still apply. */
57525 char $ac_func ();
57526 /* The GNU C library defines this for functions which it implements
57527 to always fail with ENOSYS. Some functions are actually named
57528 something starting with __ and the normal name is an alias. */
57529 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57530 choke me
57531 #else
57532 char (*f) () = $ac_func;
57533 #endif
57534 #ifdef __cplusplus
57535 }
57536 #endif
57537
57538 int
57539 main ()
57540 {
57541 return f != $ac_func;
57542 ;
57543 return 0;
57544 }
57545 _ACEOF
57546 rm -f conftest.$ac_objext conftest$ac_exeext
57547 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57548 (eval $ac_link) 2>conftest.er1
57549 ac_status=$?
57550 grep -v '^ *+' conftest.er1 >conftest.err
57551 rm -f conftest.er1
57552 cat conftest.err >&5
57553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57554 (exit $ac_status); } &&
57555 { ac_try='test -z "$ac_c_werror_flag"
57556 || test ! -s conftest.err'
57557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57558 (eval $ac_try) 2>&5
57559 ac_status=$?
57560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57561 (exit $ac_status); }; } &&
57562 { ac_try='test -s conftest$ac_exeext'
57563 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57564 (eval $ac_try) 2>&5
57565 ac_status=$?
57566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57567 (exit $ac_status); }; }; then
57568 eval "$as_ac_var=yes"
57569 else
57570 echo "$as_me: failed program was:" >&5
57571 sed 's/^/| /' conftest.$ac_ext >&5
57572
57573 eval "$as_ac_var=no"
57574 fi
57575 rm -f conftest.err conftest.$ac_objext \
57576 conftest$ac_exeext conftest.$ac_ext
57577 fi
57578 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57579 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57580 if test `eval echo '${'$as_ac_var'}'` = yes; then
57581 cat >>confdefs.h <<_ACEOF
57582 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57583 _ACEOF
57584
57585 fi
57586 done
57587
57588 fi
57589 fi
57590
57591
57592
57593
57594
57595
57596 echo "$as_me:$LINENO: checking for isinff declaration" >&5
57597 echo $ECHO_N "checking for isinff declaration... $ECHO_C" >&6
57598 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
57599 if test "${glibcxx_cv_func_isinff_use+set}" = set; then
57600 echo $ECHO_N "(cached) $ECHO_C" >&6
57601 else
57602
57603
57604
57605 ac_ext=cc
57606 ac_cpp='$CXXCPP $CPPFLAGS'
57607 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57608 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57609 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57610
57611 cat >conftest.$ac_ext <<_ACEOF
57612 /* confdefs.h. */
57613 _ACEOF
57614 cat confdefs.h >>conftest.$ac_ext
57615 cat >>conftest.$ac_ext <<_ACEOF
57616 /* end confdefs.h. */
57617 #include <math.h>
57618 #ifdef HAVE_IEEEFP_H
57619 #include <ieeefp.h>
57620 #endif
57621
57622 int
57623 main ()
57624 {
57625 isinff(0);
57626 ;
57627 return 0;
57628 }
57629 _ACEOF
57630 rm -f conftest.$ac_objext
57631 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57632 (eval $ac_compile) 2>conftest.er1
57633 ac_status=$?
57634 grep -v '^ *+' conftest.er1 >conftest.err
57635 rm -f conftest.er1
57636 cat conftest.err >&5
57637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57638 (exit $ac_status); } &&
57639 { ac_try='test -z "$ac_cxx_werror_flag"
57640 || test ! -s conftest.err'
57641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57642 (eval $ac_try) 2>&5
57643 ac_status=$?
57644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57645 (exit $ac_status); }; } &&
57646 { ac_try='test -s conftest.$ac_objext'
57647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57648 (eval $ac_try) 2>&5
57649 ac_status=$?
57650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57651 (exit $ac_status); }; }; then
57652 glibcxx_cv_func_isinff_use=yes
57653 else
57654 echo "$as_me: failed program was:" >&5
57655 sed 's/^/| /' conftest.$ac_ext >&5
57656
57657 glibcxx_cv_func_isinff_use=no
57658 fi
57659 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57660 ac_ext=c
57661 ac_cpp='$CPP $CPPFLAGS'
57662 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57663 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57664 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57665
57666
57667 fi
57668
57669 fi
57670 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinff_use" >&5
57671 echo "${ECHO_T}$glibcxx_cv_func_isinff_use" >&6
57672
57673 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
57674
57675 for ac_func in isinff
57676 do
57677 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57678 echo "$as_me:$LINENO: checking for $ac_func" >&5
57679 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57680 if eval "test \"\${$as_ac_var+set}\" = set"; then
57681 echo $ECHO_N "(cached) $ECHO_C" >&6
57682 else
57683 if test x$gcc_no_link = xyes; then
57684 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57685 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57686 { (exit 1); exit 1; }; }
57687 fi
57688 cat >conftest.$ac_ext <<_ACEOF
57689 /* confdefs.h. */
57690 _ACEOF
57691 cat confdefs.h >>conftest.$ac_ext
57692 cat >>conftest.$ac_ext <<_ACEOF
57693 /* end confdefs.h. */
57694 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57695 For example, HP-UX 11i <limits.h> declares gettimeofday. */
57696 #define $ac_func innocuous_$ac_func
57697
57698 /* System header to define __stub macros and hopefully few prototypes,
57699 which can conflict with char $ac_func (); below.
57700 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57701 <limits.h> exists even on freestanding compilers. */
57702
57703 #ifdef __STDC__
57704 # include <limits.h>
57705 #else
57706 # include <assert.h>
57707 #endif
57708
57709 #undef $ac_func
57710
57711 /* Override any gcc2 internal prototype to avoid an error. */
57712 #ifdef __cplusplus
57713 extern "C"
57714 {
57715 #endif
57716 /* We use char because int might match the return type of a gcc2
57717 builtin and then its argument prototype would still apply. */
57718 char $ac_func ();
57719 /* The GNU C library defines this for functions which it implements
57720 to always fail with ENOSYS. Some functions are actually named
57721 something starting with __ and the normal name is an alias. */
57722 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57723 choke me
57724 #else
57725 char (*f) () = $ac_func;
57726 #endif
57727 #ifdef __cplusplus
57728 }
57729 #endif
57730
57731 int
57732 main ()
57733 {
57734 return f != $ac_func;
57735 ;
57736 return 0;
57737 }
57738 _ACEOF
57739 rm -f conftest.$ac_objext conftest$ac_exeext
57740 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57741 (eval $ac_link) 2>conftest.er1
57742 ac_status=$?
57743 grep -v '^ *+' conftest.er1 >conftest.err
57744 rm -f conftest.er1
57745 cat conftest.err >&5
57746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57747 (exit $ac_status); } &&
57748 { ac_try='test -z "$ac_c_werror_flag"
57749 || test ! -s conftest.err'
57750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57751 (eval $ac_try) 2>&5
57752 ac_status=$?
57753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57754 (exit $ac_status); }; } &&
57755 { ac_try='test -s conftest$ac_exeext'
57756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57757 (eval $ac_try) 2>&5
57758 ac_status=$?
57759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57760 (exit $ac_status); }; }; then
57761 eval "$as_ac_var=yes"
57762 else
57763 echo "$as_me: failed program was:" >&5
57764 sed 's/^/| /' conftest.$ac_ext >&5
57765
57766 eval "$as_ac_var=no"
57767 fi
57768 rm -f conftest.err conftest.$ac_objext \
57769 conftest$ac_exeext conftest.$ac_ext
57770 fi
57771 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57772 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57773 if test `eval echo '${'$as_ac_var'}'` = yes; then
57774 cat >>confdefs.h <<_ACEOF
57775 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57776 _ACEOF
57777
57778 fi
57779 done
57780
57781 else
57782
57783 echo "$as_me:$LINENO: checking for _isinff declaration" >&5
57784 echo $ECHO_N "checking for _isinff declaration... $ECHO_C" >&6
57785 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
57786 if test "${glibcxx_cv_func__isinff_use+set}" = set; then
57787 echo $ECHO_N "(cached) $ECHO_C" >&6
57788 else
57789
57790
57791
57792 ac_ext=cc
57793 ac_cpp='$CXXCPP $CPPFLAGS'
57794 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57795 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57796 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57797
57798 cat >conftest.$ac_ext <<_ACEOF
57799 /* confdefs.h. */
57800 _ACEOF
57801 cat confdefs.h >>conftest.$ac_ext
57802 cat >>conftest.$ac_ext <<_ACEOF
57803 /* end confdefs.h. */
57804 #include <math.h>
57805 #ifdef HAVE_IEEEFP_H
57806 #include <ieeefp.h>
57807 #endif
57808
57809 int
57810 main ()
57811 {
57812 _isinff(0);
57813 ;
57814 return 0;
57815 }
57816 _ACEOF
57817 rm -f conftest.$ac_objext
57818 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57819 (eval $ac_compile) 2>conftest.er1
57820 ac_status=$?
57821 grep -v '^ *+' conftest.er1 >conftest.err
57822 rm -f conftest.er1
57823 cat conftest.err >&5
57824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57825 (exit $ac_status); } &&
57826 { ac_try='test -z "$ac_cxx_werror_flag"
57827 || test ! -s conftest.err'
57828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57829 (eval $ac_try) 2>&5
57830 ac_status=$?
57831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57832 (exit $ac_status); }; } &&
57833 { ac_try='test -s conftest.$ac_objext'
57834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57835 (eval $ac_try) 2>&5
57836 ac_status=$?
57837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57838 (exit $ac_status); }; }; then
57839 glibcxx_cv_func__isinff_use=yes
57840 else
57841 echo "$as_me: failed program was:" >&5
57842 sed 's/^/| /' conftest.$ac_ext >&5
57843
57844 glibcxx_cv_func__isinff_use=no
57845 fi
57846 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57847 ac_ext=c
57848 ac_cpp='$CPP $CPPFLAGS'
57849 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57850 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57851 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57852
57853
57854 fi
57855
57856 fi
57857 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinff_use" >&5
57858 echo "${ECHO_T}$glibcxx_cv_func__isinff_use" >&6
57859
57860 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
57861
57862 for ac_func in _isinff
57863 do
57864 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57865 echo "$as_me:$LINENO: checking for $ac_func" >&5
57866 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57867 if eval "test \"\${$as_ac_var+set}\" = set"; then
57868 echo $ECHO_N "(cached) $ECHO_C" >&6
57869 else
57870 if test x$gcc_no_link = xyes; then
57871 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57872 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57873 { (exit 1); exit 1; }; }
57874 fi
57875 cat >conftest.$ac_ext <<_ACEOF
57876 /* confdefs.h. */
57877 _ACEOF
57878 cat confdefs.h >>conftest.$ac_ext
57879 cat >>conftest.$ac_ext <<_ACEOF
57880 /* end confdefs.h. */
57881 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57882 For example, HP-UX 11i <limits.h> declares gettimeofday. */
57883 #define $ac_func innocuous_$ac_func
57884
57885 /* System header to define __stub macros and hopefully few prototypes,
57886 which can conflict with char $ac_func (); below.
57887 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57888 <limits.h> exists even on freestanding compilers. */
57889
57890 #ifdef __STDC__
57891 # include <limits.h>
57892 #else
57893 # include <assert.h>
57894 #endif
57895
57896 #undef $ac_func
57897
57898 /* Override any gcc2 internal prototype to avoid an error. */
57899 #ifdef __cplusplus
57900 extern "C"
57901 {
57902 #endif
57903 /* We use char because int might match the return type of a gcc2
57904 builtin and then its argument prototype would still apply. */
57905 char $ac_func ();
57906 /* The GNU C library defines this for functions which it implements
57907 to always fail with ENOSYS. Some functions are actually named
57908 something starting with __ and the normal name is an alias. */
57909 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57910 choke me
57911 #else
57912 char (*f) () = $ac_func;
57913 #endif
57914 #ifdef __cplusplus
57915 }
57916 #endif
57917
57918 int
57919 main ()
57920 {
57921 return f != $ac_func;
57922 ;
57923 return 0;
57924 }
57925 _ACEOF
57926 rm -f conftest.$ac_objext conftest$ac_exeext
57927 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57928 (eval $ac_link) 2>conftest.er1
57929 ac_status=$?
57930 grep -v '^ *+' conftest.er1 >conftest.err
57931 rm -f conftest.er1
57932 cat conftest.err >&5
57933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57934 (exit $ac_status); } &&
57935 { ac_try='test -z "$ac_c_werror_flag"
57936 || test ! -s conftest.err'
57937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57938 (eval $ac_try) 2>&5
57939 ac_status=$?
57940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57941 (exit $ac_status); }; } &&
57942 { ac_try='test -s conftest$ac_exeext'
57943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57944 (eval $ac_try) 2>&5
57945 ac_status=$?
57946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57947 (exit $ac_status); }; }; then
57948 eval "$as_ac_var=yes"
57949 else
57950 echo "$as_me: failed program was:" >&5
57951 sed 's/^/| /' conftest.$ac_ext >&5
57952
57953 eval "$as_ac_var=no"
57954 fi
57955 rm -f conftest.err conftest.$ac_objext \
57956 conftest$ac_exeext conftest.$ac_ext
57957 fi
57958 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57959 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57960 if test `eval echo '${'$as_ac_var'}'` = yes; then
57961 cat >>confdefs.h <<_ACEOF
57962 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57963 _ACEOF
57964
57965 fi
57966 done
57967
57968 fi
57969 fi
57970
57971
57972
57973
57974
57975
57976 echo "$as_me:$LINENO: checking for atan2f declaration" >&5
57977 echo $ECHO_N "checking for atan2f declaration... $ECHO_C" >&6
57978 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
57979 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then
57980 echo $ECHO_N "(cached) $ECHO_C" >&6
57981 else
57982
57983
57984
57985 ac_ext=cc
57986 ac_cpp='$CXXCPP $CPPFLAGS'
57987 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57988 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57989 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57990
57991 cat >conftest.$ac_ext <<_ACEOF
57992 /* confdefs.h. */
57993 _ACEOF
57994 cat confdefs.h >>conftest.$ac_ext
57995 cat >>conftest.$ac_ext <<_ACEOF
57996 /* end confdefs.h. */
57997 #include <math.h>
57998 int
57999 main ()
58000 {
58001 atan2f(0, 0);
58002 ;
58003 return 0;
58004 }
58005 _ACEOF
58006 rm -f conftest.$ac_objext
58007 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58008 (eval $ac_compile) 2>conftest.er1
58009 ac_status=$?
58010 grep -v '^ *+' conftest.er1 >conftest.err
58011 rm -f conftest.er1
58012 cat conftest.err >&5
58013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58014 (exit $ac_status); } &&
58015 { ac_try='test -z "$ac_cxx_werror_flag"
58016 || test ! -s conftest.err'
58017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58018 (eval $ac_try) 2>&5
58019 ac_status=$?
58020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58021 (exit $ac_status); }; } &&
58022 { ac_try='test -s conftest.$ac_objext'
58023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58024 (eval $ac_try) 2>&5
58025 ac_status=$?
58026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58027 (exit $ac_status); }; }; then
58028 glibcxx_cv_func_atan2f_use=yes
58029 else
58030 echo "$as_me: failed program was:" >&5
58031 sed 's/^/| /' conftest.$ac_ext >&5
58032
58033 glibcxx_cv_func_atan2f_use=no
58034 fi
58035 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58036 ac_ext=c
58037 ac_cpp='$CPP $CPPFLAGS'
58038 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58039 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58040 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58041
58042
58043 fi
58044
58045 fi
58046 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2f_use" >&5
58047 echo "${ECHO_T}$glibcxx_cv_func_atan2f_use" >&6
58048
58049 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
58050
58051 for ac_func in atan2f
58052 do
58053 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58054 echo "$as_me:$LINENO: checking for $ac_func" >&5
58055 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58056 if eval "test \"\${$as_ac_var+set}\" = set"; then
58057 echo $ECHO_N "(cached) $ECHO_C" >&6
58058 else
58059 if test x$gcc_no_link = xyes; then
58060 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58061 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58062 { (exit 1); exit 1; }; }
58063 fi
58064 cat >conftest.$ac_ext <<_ACEOF
58065 /* confdefs.h. */
58066 _ACEOF
58067 cat confdefs.h >>conftest.$ac_ext
58068 cat >>conftest.$ac_ext <<_ACEOF
58069 /* end confdefs.h. */
58070 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58071 For example, HP-UX 11i <limits.h> declares gettimeofday. */
58072 #define $ac_func innocuous_$ac_func
58073
58074 /* System header to define __stub macros and hopefully few prototypes,
58075 which can conflict with char $ac_func (); below.
58076 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58077 <limits.h> exists even on freestanding compilers. */
58078
58079 #ifdef __STDC__
58080 # include <limits.h>
58081 #else
58082 # include <assert.h>
58083 #endif
58084
58085 #undef $ac_func
58086
58087 /* Override any gcc2 internal prototype to avoid an error. */
58088 #ifdef __cplusplus
58089 extern "C"
58090 {
58091 #endif
58092 /* We use char because int might match the return type of a gcc2
58093 builtin and then its argument prototype would still apply. */
58094 char $ac_func ();
58095 /* The GNU C library defines this for functions which it implements
58096 to always fail with ENOSYS. Some functions are actually named
58097 something starting with __ and the normal name is an alias. */
58098 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58099 choke me
58100 #else
58101 char (*f) () = $ac_func;
58102 #endif
58103 #ifdef __cplusplus
58104 }
58105 #endif
58106
58107 int
58108 main ()
58109 {
58110 return f != $ac_func;
58111 ;
58112 return 0;
58113 }
58114 _ACEOF
58115 rm -f conftest.$ac_objext conftest$ac_exeext
58116 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58117 (eval $ac_link) 2>conftest.er1
58118 ac_status=$?
58119 grep -v '^ *+' conftest.er1 >conftest.err
58120 rm -f conftest.er1
58121 cat conftest.err >&5
58122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58123 (exit $ac_status); } &&
58124 { ac_try='test -z "$ac_c_werror_flag"
58125 || test ! -s conftest.err'
58126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58127 (eval $ac_try) 2>&5
58128 ac_status=$?
58129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58130 (exit $ac_status); }; } &&
58131 { ac_try='test -s conftest$ac_exeext'
58132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58133 (eval $ac_try) 2>&5
58134 ac_status=$?
58135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58136 (exit $ac_status); }; }; then
58137 eval "$as_ac_var=yes"
58138 else
58139 echo "$as_me: failed program was:" >&5
58140 sed 's/^/| /' conftest.$ac_ext >&5
58141
58142 eval "$as_ac_var=no"
58143 fi
58144 rm -f conftest.err conftest.$ac_objext \
58145 conftest$ac_exeext conftest.$ac_ext
58146 fi
58147 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58148 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58149 if test `eval echo '${'$as_ac_var'}'` = yes; then
58150 cat >>confdefs.h <<_ACEOF
58151 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58152 _ACEOF
58153
58154 fi
58155 done
58156
58157 else
58158
58159 echo "$as_me:$LINENO: checking for _atan2f declaration" >&5
58160 echo $ECHO_N "checking for _atan2f declaration... $ECHO_C" >&6
58161 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
58162 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then
58163 echo $ECHO_N "(cached) $ECHO_C" >&6
58164 else
58165
58166
58167
58168 ac_ext=cc
58169 ac_cpp='$CXXCPP $CPPFLAGS'
58170 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58171 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58172 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58173
58174 cat >conftest.$ac_ext <<_ACEOF
58175 /* confdefs.h. */
58176 _ACEOF
58177 cat confdefs.h >>conftest.$ac_ext
58178 cat >>conftest.$ac_ext <<_ACEOF
58179 /* end confdefs.h. */
58180 #include <math.h>
58181 int
58182 main ()
58183 {
58184 _atan2f(0, 0);
58185 ;
58186 return 0;
58187 }
58188 _ACEOF
58189 rm -f conftest.$ac_objext
58190 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58191 (eval $ac_compile) 2>conftest.er1
58192 ac_status=$?
58193 grep -v '^ *+' conftest.er1 >conftest.err
58194 rm -f conftest.er1
58195 cat conftest.err >&5
58196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58197 (exit $ac_status); } &&
58198 { ac_try='test -z "$ac_cxx_werror_flag"
58199 || test ! -s conftest.err'
58200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58201 (eval $ac_try) 2>&5
58202 ac_status=$?
58203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58204 (exit $ac_status); }; } &&
58205 { ac_try='test -s conftest.$ac_objext'
58206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58207 (eval $ac_try) 2>&5
58208 ac_status=$?
58209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58210 (exit $ac_status); }; }; then
58211 glibcxx_cv_func__atan2f_use=yes
58212 else
58213 echo "$as_me: failed program was:" >&5
58214 sed 's/^/| /' conftest.$ac_ext >&5
58215
58216 glibcxx_cv_func__atan2f_use=no
58217 fi
58218 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58219 ac_ext=c
58220 ac_cpp='$CPP $CPPFLAGS'
58221 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58222 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58223 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58224
58225
58226 fi
58227
58228 fi
58229 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2f_use" >&5
58230 echo "${ECHO_T}$glibcxx_cv_func__atan2f_use" >&6
58231
58232 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
58233
58234 for ac_func in _atan2f
58235 do
58236 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58237 echo "$as_me:$LINENO: checking for $ac_func" >&5
58238 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58239 if eval "test \"\${$as_ac_var+set}\" = set"; then
58240 echo $ECHO_N "(cached) $ECHO_C" >&6
58241 else
58242 if test x$gcc_no_link = xyes; then
58243 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58244 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58245 { (exit 1); exit 1; }; }
58246 fi
58247 cat >conftest.$ac_ext <<_ACEOF
58248 /* confdefs.h. */
58249 _ACEOF
58250 cat confdefs.h >>conftest.$ac_ext
58251 cat >>conftest.$ac_ext <<_ACEOF
58252 /* end confdefs.h. */
58253 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58254 For example, HP-UX 11i <limits.h> declares gettimeofday. */
58255 #define $ac_func innocuous_$ac_func
58256
58257 /* System header to define __stub macros and hopefully few prototypes,
58258 which can conflict with char $ac_func (); below.
58259 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58260 <limits.h> exists even on freestanding compilers. */
58261
58262 #ifdef __STDC__
58263 # include <limits.h>
58264 #else
58265 # include <assert.h>
58266 #endif
58267
58268 #undef $ac_func
58269
58270 /* Override any gcc2 internal prototype to avoid an error. */
58271 #ifdef __cplusplus
58272 extern "C"
58273 {
58274 #endif
58275 /* We use char because int might match the return type of a gcc2
58276 builtin and then its argument prototype would still apply. */
58277 char $ac_func ();
58278 /* The GNU C library defines this for functions which it implements
58279 to always fail with ENOSYS. Some functions are actually named
58280 something starting with __ and the normal name is an alias. */
58281 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58282 choke me
58283 #else
58284 char (*f) () = $ac_func;
58285 #endif
58286 #ifdef __cplusplus
58287 }
58288 #endif
58289
58290 int
58291 main ()
58292 {
58293 return f != $ac_func;
58294 ;
58295 return 0;
58296 }
58297 _ACEOF
58298 rm -f conftest.$ac_objext conftest$ac_exeext
58299 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58300 (eval $ac_link) 2>conftest.er1
58301 ac_status=$?
58302 grep -v '^ *+' conftest.er1 >conftest.err
58303 rm -f conftest.er1
58304 cat conftest.err >&5
58305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58306 (exit $ac_status); } &&
58307 { ac_try='test -z "$ac_c_werror_flag"
58308 || test ! -s conftest.err'
58309 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58310 (eval $ac_try) 2>&5
58311 ac_status=$?
58312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58313 (exit $ac_status); }; } &&
58314 { ac_try='test -s conftest$ac_exeext'
58315 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58316 (eval $ac_try) 2>&5
58317 ac_status=$?
58318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58319 (exit $ac_status); }; }; then
58320 eval "$as_ac_var=yes"
58321 else
58322 echo "$as_me: failed program was:" >&5
58323 sed 's/^/| /' conftest.$ac_ext >&5
58324
58325 eval "$as_ac_var=no"
58326 fi
58327 rm -f conftest.err conftest.$ac_objext \
58328 conftest$ac_exeext conftest.$ac_ext
58329 fi
58330 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58331 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58332 if test `eval echo '${'$as_ac_var'}'` = yes; then
58333 cat >>confdefs.h <<_ACEOF
58334 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58335 _ACEOF
58336
58337 fi
58338 done
58339
58340 fi
58341 fi
58342
58343
58344
58345
58346
58347
58348 echo "$as_me:$LINENO: checking for fabsf declaration" >&5
58349 echo $ECHO_N "checking for fabsf declaration... $ECHO_C" >&6
58350 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
58351 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then
58352 echo $ECHO_N "(cached) $ECHO_C" >&6
58353 else
58354
58355
58356
58357 ac_ext=cc
58358 ac_cpp='$CXXCPP $CPPFLAGS'
58359 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58360 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58361 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58362
58363 cat >conftest.$ac_ext <<_ACEOF
58364 /* confdefs.h. */
58365 _ACEOF
58366 cat confdefs.h >>conftest.$ac_ext
58367 cat >>conftest.$ac_ext <<_ACEOF
58368 /* end confdefs.h. */
58369 #include <math.h>
58370 #ifdef HAVE_IEEEFP_H
58371 #include <ieeefp.h>
58372 #endif
58373
58374 int
58375 main ()
58376 {
58377 fabsf(0);
58378 ;
58379 return 0;
58380 }
58381 _ACEOF
58382 rm -f conftest.$ac_objext
58383 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58384 (eval $ac_compile) 2>conftest.er1
58385 ac_status=$?
58386 grep -v '^ *+' conftest.er1 >conftest.err
58387 rm -f conftest.er1
58388 cat conftest.err >&5
58389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58390 (exit $ac_status); } &&
58391 { ac_try='test -z "$ac_cxx_werror_flag"
58392 || test ! -s conftest.err'
58393 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58394 (eval $ac_try) 2>&5
58395 ac_status=$?
58396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58397 (exit $ac_status); }; } &&
58398 { ac_try='test -s conftest.$ac_objext'
58399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58400 (eval $ac_try) 2>&5
58401 ac_status=$?
58402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58403 (exit $ac_status); }; }; then
58404 glibcxx_cv_func_fabsf_use=yes
58405 else
58406 echo "$as_me: failed program was:" >&5
58407 sed 's/^/| /' conftest.$ac_ext >&5
58408
58409 glibcxx_cv_func_fabsf_use=no
58410 fi
58411 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58412 ac_ext=c
58413 ac_cpp='$CPP $CPPFLAGS'
58414 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58415 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58416 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58417
58418
58419 fi
58420
58421 fi
58422 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsf_use" >&5
58423 echo "${ECHO_T}$glibcxx_cv_func_fabsf_use" >&6
58424
58425 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
58426
58427 for ac_func in fabsf
58428 do
58429 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58430 echo "$as_me:$LINENO: checking for $ac_func" >&5
58431 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58432 if eval "test \"\${$as_ac_var+set}\" = set"; then
58433 echo $ECHO_N "(cached) $ECHO_C" >&6
58434 else
58435 if test x$gcc_no_link = xyes; then
58436 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58437 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58438 { (exit 1); exit 1; }; }
58439 fi
58440 cat >conftest.$ac_ext <<_ACEOF
58441 /* confdefs.h. */
58442 _ACEOF
58443 cat confdefs.h >>conftest.$ac_ext
58444 cat >>conftest.$ac_ext <<_ACEOF
58445 /* end confdefs.h. */
58446 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58447 For example, HP-UX 11i <limits.h> declares gettimeofday. */
58448 #define $ac_func innocuous_$ac_func
58449
58450 /* System header to define __stub macros and hopefully few prototypes,
58451 which can conflict with char $ac_func (); below.
58452 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58453 <limits.h> exists even on freestanding compilers. */
58454
58455 #ifdef __STDC__
58456 # include <limits.h>
58457 #else
58458 # include <assert.h>
58459 #endif
58460
58461 #undef $ac_func
58462
58463 /* Override any gcc2 internal prototype to avoid an error. */
58464 #ifdef __cplusplus
58465 extern "C"
58466 {
58467 #endif
58468 /* We use char because int might match the return type of a gcc2
58469 builtin and then its argument prototype would still apply. */
58470 char $ac_func ();
58471 /* The GNU C library defines this for functions which it implements
58472 to always fail with ENOSYS. Some functions are actually named
58473 something starting with __ and the normal name is an alias. */
58474 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58475 choke me
58476 #else
58477 char (*f) () = $ac_func;
58478 #endif
58479 #ifdef __cplusplus
58480 }
58481 #endif
58482
58483 int
58484 main ()
58485 {
58486 return f != $ac_func;
58487 ;
58488 return 0;
58489 }
58490 _ACEOF
58491 rm -f conftest.$ac_objext conftest$ac_exeext
58492 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58493 (eval $ac_link) 2>conftest.er1
58494 ac_status=$?
58495 grep -v '^ *+' conftest.er1 >conftest.err
58496 rm -f conftest.er1
58497 cat conftest.err >&5
58498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58499 (exit $ac_status); } &&
58500 { ac_try='test -z "$ac_c_werror_flag"
58501 || test ! -s conftest.err'
58502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58503 (eval $ac_try) 2>&5
58504 ac_status=$?
58505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58506 (exit $ac_status); }; } &&
58507 { ac_try='test -s conftest$ac_exeext'
58508 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58509 (eval $ac_try) 2>&5
58510 ac_status=$?
58511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58512 (exit $ac_status); }; }; then
58513 eval "$as_ac_var=yes"
58514 else
58515 echo "$as_me: failed program was:" >&5
58516 sed 's/^/| /' conftest.$ac_ext >&5
58517
58518 eval "$as_ac_var=no"
58519 fi
58520 rm -f conftest.err conftest.$ac_objext \
58521 conftest$ac_exeext conftest.$ac_ext
58522 fi
58523 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58524 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58525 if test `eval echo '${'$as_ac_var'}'` = yes; then
58526 cat >>confdefs.h <<_ACEOF
58527 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58528 _ACEOF
58529
58530 fi
58531 done
58532
58533 else
58534
58535 echo "$as_me:$LINENO: checking for _fabsf declaration" >&5
58536 echo $ECHO_N "checking for _fabsf declaration... $ECHO_C" >&6
58537 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
58538 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then
58539 echo $ECHO_N "(cached) $ECHO_C" >&6
58540 else
58541
58542
58543
58544 ac_ext=cc
58545 ac_cpp='$CXXCPP $CPPFLAGS'
58546 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58547 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58548 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58549
58550 cat >conftest.$ac_ext <<_ACEOF
58551 /* confdefs.h. */
58552 _ACEOF
58553 cat confdefs.h >>conftest.$ac_ext
58554 cat >>conftest.$ac_ext <<_ACEOF
58555 /* end confdefs.h. */
58556 #include <math.h>
58557 #ifdef HAVE_IEEEFP_H
58558 #include <ieeefp.h>
58559 #endif
58560
58561 int
58562 main ()
58563 {
58564 _fabsf(0);
58565 ;
58566 return 0;
58567 }
58568 _ACEOF
58569 rm -f conftest.$ac_objext
58570 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58571 (eval $ac_compile) 2>conftest.er1
58572 ac_status=$?
58573 grep -v '^ *+' conftest.er1 >conftest.err
58574 rm -f conftest.er1
58575 cat conftest.err >&5
58576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58577 (exit $ac_status); } &&
58578 { ac_try='test -z "$ac_cxx_werror_flag"
58579 || test ! -s conftest.err'
58580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58581 (eval $ac_try) 2>&5
58582 ac_status=$?
58583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58584 (exit $ac_status); }; } &&
58585 { ac_try='test -s conftest.$ac_objext'
58586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58587 (eval $ac_try) 2>&5
58588 ac_status=$?
58589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58590 (exit $ac_status); }; }; then
58591 glibcxx_cv_func__fabsf_use=yes
58592 else
58593 echo "$as_me: failed program was:" >&5
58594 sed 's/^/| /' conftest.$ac_ext >&5
58595
58596 glibcxx_cv_func__fabsf_use=no
58597 fi
58598 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58599 ac_ext=c
58600 ac_cpp='$CPP $CPPFLAGS'
58601 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58602 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58603 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58604
58605
58606 fi
58607
58608 fi
58609 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsf_use" >&5
58610 echo "${ECHO_T}$glibcxx_cv_func__fabsf_use" >&6
58611
58612 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
58613
58614 for ac_func in _fabsf
58615 do
58616 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58617 echo "$as_me:$LINENO: checking for $ac_func" >&5
58618 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58619 if eval "test \"\${$as_ac_var+set}\" = set"; then
58620 echo $ECHO_N "(cached) $ECHO_C" >&6
58621 else
58622 if test x$gcc_no_link = xyes; then
58623 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58624 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58625 { (exit 1); exit 1; }; }
58626 fi
58627 cat >conftest.$ac_ext <<_ACEOF
58628 /* confdefs.h. */
58629 _ACEOF
58630 cat confdefs.h >>conftest.$ac_ext
58631 cat >>conftest.$ac_ext <<_ACEOF
58632 /* end confdefs.h. */
58633 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58634 For example, HP-UX 11i <limits.h> declares gettimeofday. */
58635 #define $ac_func innocuous_$ac_func
58636
58637 /* System header to define __stub macros and hopefully few prototypes,
58638 which can conflict with char $ac_func (); below.
58639 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58640 <limits.h> exists even on freestanding compilers. */
58641
58642 #ifdef __STDC__
58643 # include <limits.h>
58644 #else
58645 # include <assert.h>
58646 #endif
58647
58648 #undef $ac_func
58649
58650 /* Override any gcc2 internal prototype to avoid an error. */
58651 #ifdef __cplusplus
58652 extern "C"
58653 {
58654 #endif
58655 /* We use char because int might match the return type of a gcc2
58656 builtin and then its argument prototype would still apply. */
58657 char $ac_func ();
58658 /* The GNU C library defines this for functions which it implements
58659 to always fail with ENOSYS. Some functions are actually named
58660 something starting with __ and the normal name is an alias. */
58661 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58662 choke me
58663 #else
58664 char (*f) () = $ac_func;
58665 #endif
58666 #ifdef __cplusplus
58667 }
58668 #endif
58669
58670 int
58671 main ()
58672 {
58673 return f != $ac_func;
58674 ;
58675 return 0;
58676 }
58677 _ACEOF
58678 rm -f conftest.$ac_objext conftest$ac_exeext
58679 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58680 (eval $ac_link) 2>conftest.er1
58681 ac_status=$?
58682 grep -v '^ *+' conftest.er1 >conftest.err
58683 rm -f conftest.er1
58684 cat conftest.err >&5
58685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58686 (exit $ac_status); } &&
58687 { ac_try='test -z "$ac_c_werror_flag"
58688 || test ! -s conftest.err'
58689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58690 (eval $ac_try) 2>&5
58691 ac_status=$?
58692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58693 (exit $ac_status); }; } &&
58694 { ac_try='test -s conftest$ac_exeext'
58695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58696 (eval $ac_try) 2>&5
58697 ac_status=$?
58698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58699 (exit $ac_status); }; }; then
58700 eval "$as_ac_var=yes"
58701 else
58702 echo "$as_me: failed program was:" >&5
58703 sed 's/^/| /' conftest.$ac_ext >&5
58704
58705 eval "$as_ac_var=no"
58706 fi
58707 rm -f conftest.err conftest.$ac_objext \
58708 conftest$ac_exeext conftest.$ac_ext
58709 fi
58710 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58711 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58712 if test `eval echo '${'$as_ac_var'}'` = yes; then
58713 cat >>confdefs.h <<_ACEOF
58714 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58715 _ACEOF
58716
58717 fi
58718 done
58719
58720 fi
58721 fi
58722
58723
58724
58725
58726
58727
58728 echo "$as_me:$LINENO: checking for fmodf declaration" >&5
58729 echo $ECHO_N "checking for fmodf declaration... $ECHO_C" >&6
58730 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
58731 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then
58732 echo $ECHO_N "(cached) $ECHO_C" >&6
58733 else
58734
58735
58736
58737 ac_ext=cc
58738 ac_cpp='$CXXCPP $CPPFLAGS'
58739 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58740 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58741 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58742
58743 cat >conftest.$ac_ext <<_ACEOF
58744 /* confdefs.h. */
58745 _ACEOF
58746 cat confdefs.h >>conftest.$ac_ext
58747 cat >>conftest.$ac_ext <<_ACEOF
58748 /* end confdefs.h. */
58749 #include <math.h>
58750 int
58751 main ()
58752 {
58753 fmodf(0, 0);
58754 ;
58755 return 0;
58756 }
58757 _ACEOF
58758 rm -f conftest.$ac_objext
58759 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58760 (eval $ac_compile) 2>conftest.er1
58761 ac_status=$?
58762 grep -v '^ *+' conftest.er1 >conftest.err
58763 rm -f conftest.er1
58764 cat conftest.err >&5
58765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58766 (exit $ac_status); } &&
58767 { ac_try='test -z "$ac_cxx_werror_flag"
58768 || test ! -s conftest.err'
58769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58770 (eval $ac_try) 2>&5
58771 ac_status=$?
58772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58773 (exit $ac_status); }; } &&
58774 { ac_try='test -s conftest.$ac_objext'
58775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58776 (eval $ac_try) 2>&5
58777 ac_status=$?
58778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58779 (exit $ac_status); }; }; then
58780 glibcxx_cv_func_fmodf_use=yes
58781 else
58782 echo "$as_me: failed program was:" >&5
58783 sed 's/^/| /' conftest.$ac_ext >&5
58784
58785 glibcxx_cv_func_fmodf_use=no
58786 fi
58787 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58788 ac_ext=c
58789 ac_cpp='$CPP $CPPFLAGS'
58790 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58791 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58792 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58793
58794
58795 fi
58796
58797 fi
58798 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodf_use" >&5
58799 echo "${ECHO_T}$glibcxx_cv_func_fmodf_use" >&6
58800
58801 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
58802
58803 for ac_func in fmodf
58804 do
58805 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58806 echo "$as_me:$LINENO: checking for $ac_func" >&5
58807 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58808 if eval "test \"\${$as_ac_var+set}\" = set"; then
58809 echo $ECHO_N "(cached) $ECHO_C" >&6
58810 else
58811 if test x$gcc_no_link = xyes; then
58812 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58813 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58814 { (exit 1); exit 1; }; }
58815 fi
58816 cat >conftest.$ac_ext <<_ACEOF
58817 /* confdefs.h. */
58818 _ACEOF
58819 cat confdefs.h >>conftest.$ac_ext
58820 cat >>conftest.$ac_ext <<_ACEOF
58821 /* end confdefs.h. */
58822 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58823 For example, HP-UX 11i <limits.h> declares gettimeofday. */
58824 #define $ac_func innocuous_$ac_func
58825
58826 /* System header to define __stub macros and hopefully few prototypes,
58827 which can conflict with char $ac_func (); below.
58828 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58829 <limits.h> exists even on freestanding compilers. */
58830
58831 #ifdef __STDC__
58832 # include <limits.h>
58833 #else
58834 # include <assert.h>
58835 #endif
58836
58837 #undef $ac_func
58838
58839 /* Override any gcc2 internal prototype to avoid an error. */
58840 #ifdef __cplusplus
58841 extern "C"
58842 {
58843 #endif
58844 /* We use char because int might match the return type of a gcc2
58845 builtin and then its argument prototype would still apply. */
58846 char $ac_func ();
58847 /* The GNU C library defines this for functions which it implements
58848 to always fail with ENOSYS. Some functions are actually named
58849 something starting with __ and the normal name is an alias. */
58850 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58851 choke me
58852 #else
58853 char (*f) () = $ac_func;
58854 #endif
58855 #ifdef __cplusplus
58856 }
58857 #endif
58858
58859 int
58860 main ()
58861 {
58862 return f != $ac_func;
58863 ;
58864 return 0;
58865 }
58866 _ACEOF
58867 rm -f conftest.$ac_objext conftest$ac_exeext
58868 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58869 (eval $ac_link) 2>conftest.er1
58870 ac_status=$?
58871 grep -v '^ *+' conftest.er1 >conftest.err
58872 rm -f conftest.er1
58873 cat conftest.err >&5
58874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58875 (exit $ac_status); } &&
58876 { ac_try='test -z "$ac_c_werror_flag"
58877 || test ! -s conftest.err'
58878 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58879 (eval $ac_try) 2>&5
58880 ac_status=$?
58881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58882 (exit $ac_status); }; } &&
58883 { ac_try='test -s conftest$ac_exeext'
58884 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58885 (eval $ac_try) 2>&5
58886 ac_status=$?
58887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58888 (exit $ac_status); }; }; then
58889 eval "$as_ac_var=yes"
58890 else
58891 echo "$as_me: failed program was:" >&5
58892 sed 's/^/| /' conftest.$ac_ext >&5
58893
58894 eval "$as_ac_var=no"
58895 fi
58896 rm -f conftest.err conftest.$ac_objext \
58897 conftest$ac_exeext conftest.$ac_ext
58898 fi
58899 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58900 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58901 if test `eval echo '${'$as_ac_var'}'` = yes; then
58902 cat >>confdefs.h <<_ACEOF
58903 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58904 _ACEOF
58905
58906 fi
58907 done
58908
58909 else
58910
58911 echo "$as_me:$LINENO: checking for _fmodf declaration" >&5
58912 echo $ECHO_N "checking for _fmodf declaration... $ECHO_C" >&6
58913 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
58914 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then
58915 echo $ECHO_N "(cached) $ECHO_C" >&6
58916 else
58917
58918
58919
58920 ac_ext=cc
58921 ac_cpp='$CXXCPP $CPPFLAGS'
58922 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58923 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58924 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58925
58926 cat >conftest.$ac_ext <<_ACEOF
58927 /* confdefs.h. */
58928 _ACEOF
58929 cat confdefs.h >>conftest.$ac_ext
58930 cat >>conftest.$ac_ext <<_ACEOF
58931 /* end confdefs.h. */
58932 #include <math.h>
58933 int
58934 main ()
58935 {
58936 _fmodf(0, 0);
58937 ;
58938 return 0;
58939 }
58940 _ACEOF
58941 rm -f conftest.$ac_objext
58942 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58943 (eval $ac_compile) 2>conftest.er1
58944 ac_status=$?
58945 grep -v '^ *+' conftest.er1 >conftest.err
58946 rm -f conftest.er1
58947 cat conftest.err >&5
58948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58949 (exit $ac_status); } &&
58950 { ac_try='test -z "$ac_cxx_werror_flag"
58951 || test ! -s conftest.err'
58952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58953 (eval $ac_try) 2>&5
58954 ac_status=$?
58955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58956 (exit $ac_status); }; } &&
58957 { ac_try='test -s conftest.$ac_objext'
58958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58959 (eval $ac_try) 2>&5
58960 ac_status=$?
58961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58962 (exit $ac_status); }; }; then
58963 glibcxx_cv_func__fmodf_use=yes
58964 else
58965 echo "$as_me: failed program was:" >&5
58966 sed 's/^/| /' conftest.$ac_ext >&5
58967
58968 glibcxx_cv_func__fmodf_use=no
58969 fi
58970 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58971 ac_ext=c
58972 ac_cpp='$CPP $CPPFLAGS'
58973 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58974 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58975 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58976
58977
58978 fi
58979
58980 fi
58981 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodf_use" >&5
58982 echo "${ECHO_T}$glibcxx_cv_func__fmodf_use" >&6
58983
58984 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
58985
58986 for ac_func in _fmodf
58987 do
58988 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58989 echo "$as_me:$LINENO: checking for $ac_func" >&5
58990 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58991 if eval "test \"\${$as_ac_var+set}\" = set"; then
58992 echo $ECHO_N "(cached) $ECHO_C" >&6
58993 else
58994 if test x$gcc_no_link = xyes; then
58995 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58996 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58997 { (exit 1); exit 1; }; }
58998 fi
58999 cat >conftest.$ac_ext <<_ACEOF
59000 /* confdefs.h. */
59001 _ACEOF
59002 cat confdefs.h >>conftest.$ac_ext
59003 cat >>conftest.$ac_ext <<_ACEOF
59004 /* end confdefs.h. */
59005 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59006 For example, HP-UX 11i <limits.h> declares gettimeofday. */
59007 #define $ac_func innocuous_$ac_func
59008
59009 /* System header to define __stub macros and hopefully few prototypes,
59010 which can conflict with char $ac_func (); below.
59011 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59012 <limits.h> exists even on freestanding compilers. */
59013
59014 #ifdef __STDC__
59015 # include <limits.h>
59016 #else
59017 # include <assert.h>
59018 #endif
59019
59020 #undef $ac_func
59021
59022 /* Override any gcc2 internal prototype to avoid an error. */
59023 #ifdef __cplusplus
59024 extern "C"
59025 {
59026 #endif
59027 /* We use char because int might match the return type of a gcc2
59028 builtin and then its argument prototype would still apply. */
59029 char $ac_func ();
59030 /* The GNU C library defines this for functions which it implements
59031 to always fail with ENOSYS. Some functions are actually named
59032 something starting with __ and the normal name is an alias. */
59033 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59034 choke me
59035 #else
59036 char (*f) () = $ac_func;
59037 #endif
59038 #ifdef __cplusplus
59039 }
59040 #endif
59041
59042 int
59043 main ()
59044 {
59045 return f != $ac_func;
59046 ;
59047 return 0;
59048 }
59049 _ACEOF
59050 rm -f conftest.$ac_objext conftest$ac_exeext
59051 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59052 (eval $ac_link) 2>conftest.er1
59053 ac_status=$?
59054 grep -v '^ *+' conftest.er1 >conftest.err
59055 rm -f conftest.er1
59056 cat conftest.err >&5
59057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59058 (exit $ac_status); } &&
59059 { ac_try='test -z "$ac_c_werror_flag"
59060 || test ! -s conftest.err'
59061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59062 (eval $ac_try) 2>&5
59063 ac_status=$?
59064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59065 (exit $ac_status); }; } &&
59066 { ac_try='test -s conftest$ac_exeext'
59067 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59068 (eval $ac_try) 2>&5
59069 ac_status=$?
59070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59071 (exit $ac_status); }; }; then
59072 eval "$as_ac_var=yes"
59073 else
59074 echo "$as_me: failed program was:" >&5
59075 sed 's/^/| /' conftest.$ac_ext >&5
59076
59077 eval "$as_ac_var=no"
59078 fi
59079 rm -f conftest.err conftest.$ac_objext \
59080 conftest$ac_exeext conftest.$ac_ext
59081 fi
59082 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59083 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59084 if test `eval echo '${'$as_ac_var'}'` = yes; then
59085 cat >>confdefs.h <<_ACEOF
59086 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59087 _ACEOF
59088
59089 fi
59090 done
59091
59092 fi
59093 fi
59094
59095
59096
59097
59098
59099
59100 echo "$as_me:$LINENO: checking for frexpf declaration" >&5
59101 echo $ECHO_N "checking for frexpf declaration... $ECHO_C" >&6
59102 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
59103 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then
59104 echo $ECHO_N "(cached) $ECHO_C" >&6
59105 else
59106
59107
59108
59109 ac_ext=cc
59110 ac_cpp='$CXXCPP $CPPFLAGS'
59111 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59112 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59113 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59114
59115 cat >conftest.$ac_ext <<_ACEOF
59116 /* confdefs.h. */
59117 _ACEOF
59118 cat confdefs.h >>conftest.$ac_ext
59119 cat >>conftest.$ac_ext <<_ACEOF
59120 /* end confdefs.h. */
59121 #include <math.h>
59122 int
59123 main ()
59124 {
59125 frexpf(0, 0);
59126 ;
59127 return 0;
59128 }
59129 _ACEOF
59130 rm -f conftest.$ac_objext
59131 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59132 (eval $ac_compile) 2>conftest.er1
59133 ac_status=$?
59134 grep -v '^ *+' conftest.er1 >conftest.err
59135 rm -f conftest.er1
59136 cat conftest.err >&5
59137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59138 (exit $ac_status); } &&
59139 { ac_try='test -z "$ac_cxx_werror_flag"
59140 || test ! -s conftest.err'
59141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59142 (eval $ac_try) 2>&5
59143 ac_status=$?
59144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59145 (exit $ac_status); }; } &&
59146 { ac_try='test -s conftest.$ac_objext'
59147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59148 (eval $ac_try) 2>&5
59149 ac_status=$?
59150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59151 (exit $ac_status); }; }; then
59152 glibcxx_cv_func_frexpf_use=yes
59153 else
59154 echo "$as_me: failed program was:" >&5
59155 sed 's/^/| /' conftest.$ac_ext >&5
59156
59157 glibcxx_cv_func_frexpf_use=no
59158 fi
59159 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59160 ac_ext=c
59161 ac_cpp='$CPP $CPPFLAGS'
59162 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59163 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59164 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59165
59166
59167 fi
59168
59169 fi
59170 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpf_use" >&5
59171 echo "${ECHO_T}$glibcxx_cv_func_frexpf_use" >&6
59172
59173 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
59174
59175 for ac_func in frexpf
59176 do
59177 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59178 echo "$as_me:$LINENO: checking for $ac_func" >&5
59179 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59180 if eval "test \"\${$as_ac_var+set}\" = set"; then
59181 echo $ECHO_N "(cached) $ECHO_C" >&6
59182 else
59183 if test x$gcc_no_link = xyes; then
59184 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59185 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59186 { (exit 1); exit 1; }; }
59187 fi
59188 cat >conftest.$ac_ext <<_ACEOF
59189 /* confdefs.h. */
59190 _ACEOF
59191 cat confdefs.h >>conftest.$ac_ext
59192 cat >>conftest.$ac_ext <<_ACEOF
59193 /* end confdefs.h. */
59194 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59195 For example, HP-UX 11i <limits.h> declares gettimeofday. */
59196 #define $ac_func innocuous_$ac_func
59197
59198 /* System header to define __stub macros and hopefully few prototypes,
59199 which can conflict with char $ac_func (); below.
59200 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59201 <limits.h> exists even on freestanding compilers. */
59202
59203 #ifdef __STDC__
59204 # include <limits.h>
59205 #else
59206 # include <assert.h>
59207 #endif
59208
59209 #undef $ac_func
59210
59211 /* Override any gcc2 internal prototype to avoid an error. */
59212 #ifdef __cplusplus
59213 extern "C"
59214 {
59215 #endif
59216 /* We use char because int might match the return type of a gcc2
59217 builtin and then its argument prototype would still apply. */
59218 char $ac_func ();
59219 /* The GNU C library defines this for functions which it implements
59220 to always fail with ENOSYS. Some functions are actually named
59221 something starting with __ and the normal name is an alias. */
59222 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59223 choke me
59224 #else
59225 char (*f) () = $ac_func;
59226 #endif
59227 #ifdef __cplusplus
59228 }
59229 #endif
59230
59231 int
59232 main ()
59233 {
59234 return f != $ac_func;
59235 ;
59236 return 0;
59237 }
59238 _ACEOF
59239 rm -f conftest.$ac_objext conftest$ac_exeext
59240 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59241 (eval $ac_link) 2>conftest.er1
59242 ac_status=$?
59243 grep -v '^ *+' conftest.er1 >conftest.err
59244 rm -f conftest.er1
59245 cat conftest.err >&5
59246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59247 (exit $ac_status); } &&
59248 { ac_try='test -z "$ac_c_werror_flag"
59249 || test ! -s conftest.err'
59250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59251 (eval $ac_try) 2>&5
59252 ac_status=$?
59253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59254 (exit $ac_status); }; } &&
59255 { ac_try='test -s conftest$ac_exeext'
59256 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59257 (eval $ac_try) 2>&5
59258 ac_status=$?
59259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59260 (exit $ac_status); }; }; then
59261 eval "$as_ac_var=yes"
59262 else
59263 echo "$as_me: failed program was:" >&5
59264 sed 's/^/| /' conftest.$ac_ext >&5
59265
59266 eval "$as_ac_var=no"
59267 fi
59268 rm -f conftest.err conftest.$ac_objext \
59269 conftest$ac_exeext conftest.$ac_ext
59270 fi
59271 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59272 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59273 if test `eval echo '${'$as_ac_var'}'` = yes; then
59274 cat >>confdefs.h <<_ACEOF
59275 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59276 _ACEOF
59277
59278 fi
59279 done
59280
59281 else
59282
59283 echo "$as_me:$LINENO: checking for _frexpf declaration" >&5
59284 echo $ECHO_N "checking for _frexpf declaration... $ECHO_C" >&6
59285 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
59286 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then
59287 echo $ECHO_N "(cached) $ECHO_C" >&6
59288 else
59289
59290
59291
59292 ac_ext=cc
59293 ac_cpp='$CXXCPP $CPPFLAGS'
59294 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59295 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59296 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59297
59298 cat >conftest.$ac_ext <<_ACEOF
59299 /* confdefs.h. */
59300 _ACEOF
59301 cat confdefs.h >>conftest.$ac_ext
59302 cat >>conftest.$ac_ext <<_ACEOF
59303 /* end confdefs.h. */
59304 #include <math.h>
59305 int
59306 main ()
59307 {
59308 _frexpf(0, 0);
59309 ;
59310 return 0;
59311 }
59312 _ACEOF
59313 rm -f conftest.$ac_objext
59314 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59315 (eval $ac_compile) 2>conftest.er1
59316 ac_status=$?
59317 grep -v '^ *+' conftest.er1 >conftest.err
59318 rm -f conftest.er1
59319 cat conftest.err >&5
59320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59321 (exit $ac_status); } &&
59322 { ac_try='test -z "$ac_cxx_werror_flag"
59323 || test ! -s conftest.err'
59324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59325 (eval $ac_try) 2>&5
59326 ac_status=$?
59327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59328 (exit $ac_status); }; } &&
59329 { ac_try='test -s conftest.$ac_objext'
59330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59331 (eval $ac_try) 2>&5
59332 ac_status=$?
59333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59334 (exit $ac_status); }; }; then
59335 glibcxx_cv_func__frexpf_use=yes
59336 else
59337 echo "$as_me: failed program was:" >&5
59338 sed 's/^/| /' conftest.$ac_ext >&5
59339
59340 glibcxx_cv_func__frexpf_use=no
59341 fi
59342 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59343 ac_ext=c
59344 ac_cpp='$CPP $CPPFLAGS'
59345 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59346 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59347 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59348
59349
59350 fi
59351
59352 fi
59353 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpf_use" >&5
59354 echo "${ECHO_T}$glibcxx_cv_func__frexpf_use" >&6
59355
59356 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
59357
59358 for ac_func in _frexpf
59359 do
59360 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59361 echo "$as_me:$LINENO: checking for $ac_func" >&5
59362 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59363 if eval "test \"\${$as_ac_var+set}\" = set"; then
59364 echo $ECHO_N "(cached) $ECHO_C" >&6
59365 else
59366 if test x$gcc_no_link = xyes; then
59367 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59368 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59369 { (exit 1); exit 1; }; }
59370 fi
59371 cat >conftest.$ac_ext <<_ACEOF
59372 /* confdefs.h. */
59373 _ACEOF
59374 cat confdefs.h >>conftest.$ac_ext
59375 cat >>conftest.$ac_ext <<_ACEOF
59376 /* end confdefs.h. */
59377 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59378 For example, HP-UX 11i <limits.h> declares gettimeofday. */
59379 #define $ac_func innocuous_$ac_func
59380
59381 /* System header to define __stub macros and hopefully few prototypes,
59382 which can conflict with char $ac_func (); below.
59383 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59384 <limits.h> exists even on freestanding compilers. */
59385
59386 #ifdef __STDC__
59387 # include <limits.h>
59388 #else
59389 # include <assert.h>
59390 #endif
59391
59392 #undef $ac_func
59393
59394 /* Override any gcc2 internal prototype to avoid an error. */
59395 #ifdef __cplusplus
59396 extern "C"
59397 {
59398 #endif
59399 /* We use char because int might match the return type of a gcc2
59400 builtin and then its argument prototype would still apply. */
59401 char $ac_func ();
59402 /* The GNU C library defines this for functions which it implements
59403 to always fail with ENOSYS. Some functions are actually named
59404 something starting with __ and the normal name is an alias. */
59405 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59406 choke me
59407 #else
59408 char (*f) () = $ac_func;
59409 #endif
59410 #ifdef __cplusplus
59411 }
59412 #endif
59413
59414 int
59415 main ()
59416 {
59417 return f != $ac_func;
59418 ;
59419 return 0;
59420 }
59421 _ACEOF
59422 rm -f conftest.$ac_objext conftest$ac_exeext
59423 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59424 (eval $ac_link) 2>conftest.er1
59425 ac_status=$?
59426 grep -v '^ *+' conftest.er1 >conftest.err
59427 rm -f conftest.er1
59428 cat conftest.err >&5
59429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59430 (exit $ac_status); } &&
59431 { ac_try='test -z "$ac_c_werror_flag"
59432 || test ! -s conftest.err'
59433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59434 (eval $ac_try) 2>&5
59435 ac_status=$?
59436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59437 (exit $ac_status); }; } &&
59438 { ac_try='test -s conftest$ac_exeext'
59439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59440 (eval $ac_try) 2>&5
59441 ac_status=$?
59442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59443 (exit $ac_status); }; }; then
59444 eval "$as_ac_var=yes"
59445 else
59446 echo "$as_me: failed program was:" >&5
59447 sed 's/^/| /' conftest.$ac_ext >&5
59448
59449 eval "$as_ac_var=no"
59450 fi
59451 rm -f conftest.err conftest.$ac_objext \
59452 conftest$ac_exeext conftest.$ac_ext
59453 fi
59454 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59455 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59456 if test `eval echo '${'$as_ac_var'}'` = yes; then
59457 cat >>confdefs.h <<_ACEOF
59458 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59459 _ACEOF
59460
59461 fi
59462 done
59463
59464 fi
59465 fi
59466
59467
59468
59469
59470
59471
59472 echo "$as_me:$LINENO: checking for hypotf declaration" >&5
59473 echo $ECHO_N "checking for hypotf declaration... $ECHO_C" >&6
59474 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
59475 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then
59476 echo $ECHO_N "(cached) $ECHO_C" >&6
59477 else
59478
59479
59480
59481 ac_ext=cc
59482 ac_cpp='$CXXCPP $CPPFLAGS'
59483 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59484 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59485 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59486
59487 cat >conftest.$ac_ext <<_ACEOF
59488 /* confdefs.h. */
59489 _ACEOF
59490 cat confdefs.h >>conftest.$ac_ext
59491 cat >>conftest.$ac_ext <<_ACEOF
59492 /* end confdefs.h. */
59493 #include <math.h>
59494 int
59495 main ()
59496 {
59497 hypotf(0, 0);
59498 ;
59499 return 0;
59500 }
59501 _ACEOF
59502 rm -f conftest.$ac_objext
59503 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59504 (eval $ac_compile) 2>conftest.er1
59505 ac_status=$?
59506 grep -v '^ *+' conftest.er1 >conftest.err
59507 rm -f conftest.er1
59508 cat conftest.err >&5
59509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59510 (exit $ac_status); } &&
59511 { ac_try='test -z "$ac_cxx_werror_flag"
59512 || test ! -s conftest.err'
59513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59514 (eval $ac_try) 2>&5
59515 ac_status=$?
59516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59517 (exit $ac_status); }; } &&
59518 { ac_try='test -s conftest.$ac_objext'
59519 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59520 (eval $ac_try) 2>&5
59521 ac_status=$?
59522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59523 (exit $ac_status); }; }; then
59524 glibcxx_cv_func_hypotf_use=yes
59525 else
59526 echo "$as_me: failed program was:" >&5
59527 sed 's/^/| /' conftest.$ac_ext >&5
59528
59529 glibcxx_cv_func_hypotf_use=no
59530 fi
59531 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59532 ac_ext=c
59533 ac_cpp='$CPP $CPPFLAGS'
59534 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59535 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59536 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59537
59538
59539 fi
59540
59541 fi
59542 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotf_use" >&5
59543 echo "${ECHO_T}$glibcxx_cv_func_hypotf_use" >&6
59544
59545 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
59546
59547 for ac_func in hypotf
59548 do
59549 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59550 echo "$as_me:$LINENO: checking for $ac_func" >&5
59551 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59552 if eval "test \"\${$as_ac_var+set}\" = set"; then
59553 echo $ECHO_N "(cached) $ECHO_C" >&6
59554 else
59555 if test x$gcc_no_link = xyes; then
59556 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59557 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59558 { (exit 1); exit 1; }; }
59559 fi
59560 cat >conftest.$ac_ext <<_ACEOF
59561 /* confdefs.h. */
59562 _ACEOF
59563 cat confdefs.h >>conftest.$ac_ext
59564 cat >>conftest.$ac_ext <<_ACEOF
59565 /* end confdefs.h. */
59566 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59567 For example, HP-UX 11i <limits.h> declares gettimeofday. */
59568 #define $ac_func innocuous_$ac_func
59569
59570 /* System header to define __stub macros and hopefully few prototypes,
59571 which can conflict with char $ac_func (); below.
59572 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59573 <limits.h> exists even on freestanding compilers. */
59574
59575 #ifdef __STDC__
59576 # include <limits.h>
59577 #else
59578 # include <assert.h>
59579 #endif
59580
59581 #undef $ac_func
59582
59583 /* Override any gcc2 internal prototype to avoid an error. */
59584 #ifdef __cplusplus
59585 extern "C"
59586 {
59587 #endif
59588 /* We use char because int might match the return type of a gcc2
59589 builtin and then its argument prototype would still apply. */
59590 char $ac_func ();
59591 /* The GNU C library defines this for functions which it implements
59592 to always fail with ENOSYS. Some functions are actually named
59593 something starting with __ and the normal name is an alias. */
59594 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59595 choke me
59596 #else
59597 char (*f) () = $ac_func;
59598 #endif
59599 #ifdef __cplusplus
59600 }
59601 #endif
59602
59603 int
59604 main ()
59605 {
59606 return f != $ac_func;
59607 ;
59608 return 0;
59609 }
59610 _ACEOF
59611 rm -f conftest.$ac_objext conftest$ac_exeext
59612 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59613 (eval $ac_link) 2>conftest.er1
59614 ac_status=$?
59615 grep -v '^ *+' conftest.er1 >conftest.err
59616 rm -f conftest.er1
59617 cat conftest.err >&5
59618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59619 (exit $ac_status); } &&
59620 { ac_try='test -z "$ac_c_werror_flag"
59621 || test ! -s conftest.err'
59622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59623 (eval $ac_try) 2>&5
59624 ac_status=$?
59625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59626 (exit $ac_status); }; } &&
59627 { ac_try='test -s conftest$ac_exeext'
59628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59629 (eval $ac_try) 2>&5
59630 ac_status=$?
59631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59632 (exit $ac_status); }; }; then
59633 eval "$as_ac_var=yes"
59634 else
59635 echo "$as_me: failed program was:" >&5
59636 sed 's/^/| /' conftest.$ac_ext >&5
59637
59638 eval "$as_ac_var=no"
59639 fi
59640 rm -f conftest.err conftest.$ac_objext \
59641 conftest$ac_exeext conftest.$ac_ext
59642 fi
59643 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59644 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59645 if test `eval echo '${'$as_ac_var'}'` = yes; then
59646 cat >>confdefs.h <<_ACEOF
59647 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59648 _ACEOF
59649
59650 fi
59651 done
59652
59653 else
59654
59655 echo "$as_me:$LINENO: checking for _hypotf declaration" >&5
59656 echo $ECHO_N "checking for _hypotf declaration... $ECHO_C" >&6
59657 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
59658 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then
59659 echo $ECHO_N "(cached) $ECHO_C" >&6
59660 else
59661
59662
59663
59664 ac_ext=cc
59665 ac_cpp='$CXXCPP $CPPFLAGS'
59666 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59667 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59668 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59669
59670 cat >conftest.$ac_ext <<_ACEOF
59671 /* confdefs.h. */
59672 _ACEOF
59673 cat confdefs.h >>conftest.$ac_ext
59674 cat >>conftest.$ac_ext <<_ACEOF
59675 /* end confdefs.h. */
59676 #include <math.h>
59677 int
59678 main ()
59679 {
59680 _hypotf(0, 0);
59681 ;
59682 return 0;
59683 }
59684 _ACEOF
59685 rm -f conftest.$ac_objext
59686 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59687 (eval $ac_compile) 2>conftest.er1
59688 ac_status=$?
59689 grep -v '^ *+' conftest.er1 >conftest.err
59690 rm -f conftest.er1
59691 cat conftest.err >&5
59692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59693 (exit $ac_status); } &&
59694 { ac_try='test -z "$ac_cxx_werror_flag"
59695 || test ! -s conftest.err'
59696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59697 (eval $ac_try) 2>&5
59698 ac_status=$?
59699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59700 (exit $ac_status); }; } &&
59701 { ac_try='test -s conftest.$ac_objext'
59702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59703 (eval $ac_try) 2>&5
59704 ac_status=$?
59705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59706 (exit $ac_status); }; }; then
59707 glibcxx_cv_func__hypotf_use=yes
59708 else
59709 echo "$as_me: failed program was:" >&5
59710 sed 's/^/| /' conftest.$ac_ext >&5
59711
59712 glibcxx_cv_func__hypotf_use=no
59713 fi
59714 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59715 ac_ext=c
59716 ac_cpp='$CPP $CPPFLAGS'
59717 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59718 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59719 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59720
59721
59722 fi
59723
59724 fi
59725 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotf_use" >&5
59726 echo "${ECHO_T}$glibcxx_cv_func__hypotf_use" >&6
59727
59728 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
59729
59730 for ac_func in _hypotf
59731 do
59732 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59733 echo "$as_me:$LINENO: checking for $ac_func" >&5
59734 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59735 if eval "test \"\${$as_ac_var+set}\" = set"; then
59736 echo $ECHO_N "(cached) $ECHO_C" >&6
59737 else
59738 if test x$gcc_no_link = xyes; then
59739 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59740 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59741 { (exit 1); exit 1; }; }
59742 fi
59743 cat >conftest.$ac_ext <<_ACEOF
59744 /* confdefs.h. */
59745 _ACEOF
59746 cat confdefs.h >>conftest.$ac_ext
59747 cat >>conftest.$ac_ext <<_ACEOF
59748 /* end confdefs.h. */
59749 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59750 For example, HP-UX 11i <limits.h> declares gettimeofday. */
59751 #define $ac_func innocuous_$ac_func
59752
59753 /* System header to define __stub macros and hopefully few prototypes,
59754 which can conflict with char $ac_func (); below.
59755 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59756 <limits.h> exists even on freestanding compilers. */
59757
59758 #ifdef __STDC__
59759 # include <limits.h>
59760 #else
59761 # include <assert.h>
59762 #endif
59763
59764 #undef $ac_func
59765
59766 /* Override any gcc2 internal prototype to avoid an error. */
59767 #ifdef __cplusplus
59768 extern "C"
59769 {
59770 #endif
59771 /* We use char because int might match the return type of a gcc2
59772 builtin and then its argument prototype would still apply. */
59773 char $ac_func ();
59774 /* The GNU C library defines this for functions which it implements
59775 to always fail with ENOSYS. Some functions are actually named
59776 something starting with __ and the normal name is an alias. */
59777 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59778 choke me
59779 #else
59780 char (*f) () = $ac_func;
59781 #endif
59782 #ifdef __cplusplus
59783 }
59784 #endif
59785
59786 int
59787 main ()
59788 {
59789 return f != $ac_func;
59790 ;
59791 return 0;
59792 }
59793 _ACEOF
59794 rm -f conftest.$ac_objext conftest$ac_exeext
59795 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59796 (eval $ac_link) 2>conftest.er1
59797 ac_status=$?
59798 grep -v '^ *+' conftest.er1 >conftest.err
59799 rm -f conftest.er1
59800 cat conftest.err >&5
59801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59802 (exit $ac_status); } &&
59803 { ac_try='test -z "$ac_c_werror_flag"
59804 || test ! -s conftest.err'
59805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59806 (eval $ac_try) 2>&5
59807 ac_status=$?
59808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59809 (exit $ac_status); }; } &&
59810 { ac_try='test -s conftest$ac_exeext'
59811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59812 (eval $ac_try) 2>&5
59813 ac_status=$?
59814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59815 (exit $ac_status); }; }; then
59816 eval "$as_ac_var=yes"
59817 else
59818 echo "$as_me: failed program was:" >&5
59819 sed 's/^/| /' conftest.$ac_ext >&5
59820
59821 eval "$as_ac_var=no"
59822 fi
59823 rm -f conftest.err conftest.$ac_objext \
59824 conftest$ac_exeext conftest.$ac_ext
59825 fi
59826 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59827 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59828 if test `eval echo '${'$as_ac_var'}'` = yes; then
59829 cat >>confdefs.h <<_ACEOF
59830 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59831 _ACEOF
59832
59833 fi
59834 done
59835
59836 fi
59837 fi
59838
59839
59840
59841
59842
59843
59844 echo "$as_me:$LINENO: checking for ldexpf declaration" >&5
59845 echo $ECHO_N "checking for ldexpf declaration... $ECHO_C" >&6
59846 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
59847 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then
59848 echo $ECHO_N "(cached) $ECHO_C" >&6
59849 else
59850
59851
59852
59853 ac_ext=cc
59854 ac_cpp='$CXXCPP $CPPFLAGS'
59855 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59856 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59857 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59858
59859 cat >conftest.$ac_ext <<_ACEOF
59860 /* confdefs.h. */
59861 _ACEOF
59862 cat confdefs.h >>conftest.$ac_ext
59863 cat >>conftest.$ac_ext <<_ACEOF
59864 /* end confdefs.h. */
59865 #include <math.h>
59866 int
59867 main ()
59868 {
59869 ldexpf(0, 0);
59870 ;
59871 return 0;
59872 }
59873 _ACEOF
59874 rm -f conftest.$ac_objext
59875 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59876 (eval $ac_compile) 2>conftest.er1
59877 ac_status=$?
59878 grep -v '^ *+' conftest.er1 >conftest.err
59879 rm -f conftest.er1
59880 cat conftest.err >&5
59881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59882 (exit $ac_status); } &&
59883 { ac_try='test -z "$ac_cxx_werror_flag"
59884 || test ! -s conftest.err'
59885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59886 (eval $ac_try) 2>&5
59887 ac_status=$?
59888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59889 (exit $ac_status); }; } &&
59890 { ac_try='test -s conftest.$ac_objext'
59891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59892 (eval $ac_try) 2>&5
59893 ac_status=$?
59894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59895 (exit $ac_status); }; }; then
59896 glibcxx_cv_func_ldexpf_use=yes
59897 else
59898 echo "$as_me: failed program was:" >&5
59899 sed 's/^/| /' conftest.$ac_ext >&5
59900
59901 glibcxx_cv_func_ldexpf_use=no
59902 fi
59903 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59904 ac_ext=c
59905 ac_cpp='$CPP $CPPFLAGS'
59906 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59907 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59908 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59909
59910
59911 fi
59912
59913 fi
59914 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpf_use" >&5
59915 echo "${ECHO_T}$glibcxx_cv_func_ldexpf_use" >&6
59916
59917 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
59918
59919 for ac_func in ldexpf
59920 do
59921 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59922 echo "$as_me:$LINENO: checking for $ac_func" >&5
59923 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59924 if eval "test \"\${$as_ac_var+set}\" = set"; then
59925 echo $ECHO_N "(cached) $ECHO_C" >&6
59926 else
59927 if test x$gcc_no_link = xyes; then
59928 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59929 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59930 { (exit 1); exit 1; }; }
59931 fi
59932 cat >conftest.$ac_ext <<_ACEOF
59933 /* confdefs.h. */
59934 _ACEOF
59935 cat confdefs.h >>conftest.$ac_ext
59936 cat >>conftest.$ac_ext <<_ACEOF
59937 /* end confdefs.h. */
59938 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59939 For example, HP-UX 11i <limits.h> declares gettimeofday. */
59940 #define $ac_func innocuous_$ac_func
59941
59942 /* System header to define __stub macros and hopefully few prototypes,
59943 which can conflict with char $ac_func (); below.
59944 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59945 <limits.h> exists even on freestanding compilers. */
59946
59947 #ifdef __STDC__
59948 # include <limits.h>
59949 #else
59950 # include <assert.h>
59951 #endif
59952
59953 #undef $ac_func
59954
59955 /* Override any gcc2 internal prototype to avoid an error. */
59956 #ifdef __cplusplus
59957 extern "C"
59958 {
59959 #endif
59960 /* We use char because int might match the return type of a gcc2
59961 builtin and then its argument prototype would still apply. */
59962 char $ac_func ();
59963 /* The GNU C library defines this for functions which it implements
59964 to always fail with ENOSYS. Some functions are actually named
59965 something starting with __ and the normal name is an alias. */
59966 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59967 choke me
59968 #else
59969 char (*f) () = $ac_func;
59970 #endif
59971 #ifdef __cplusplus
59972 }
59973 #endif
59974
59975 int
59976 main ()
59977 {
59978 return f != $ac_func;
59979 ;
59980 return 0;
59981 }
59982 _ACEOF
59983 rm -f conftest.$ac_objext conftest$ac_exeext
59984 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59985 (eval $ac_link) 2>conftest.er1
59986 ac_status=$?
59987 grep -v '^ *+' conftest.er1 >conftest.err
59988 rm -f conftest.er1
59989 cat conftest.err >&5
59990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59991 (exit $ac_status); } &&
59992 { ac_try='test -z "$ac_c_werror_flag"
59993 || test ! -s conftest.err'
59994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59995 (eval $ac_try) 2>&5
59996 ac_status=$?
59997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59998 (exit $ac_status); }; } &&
59999 { ac_try='test -s conftest$ac_exeext'
60000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60001 (eval $ac_try) 2>&5
60002 ac_status=$?
60003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60004 (exit $ac_status); }; }; then
60005 eval "$as_ac_var=yes"
60006 else
60007 echo "$as_me: failed program was:" >&5
60008 sed 's/^/| /' conftest.$ac_ext >&5
60009
60010 eval "$as_ac_var=no"
60011 fi
60012 rm -f conftest.err conftest.$ac_objext \
60013 conftest$ac_exeext conftest.$ac_ext
60014 fi
60015 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60016 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60017 if test `eval echo '${'$as_ac_var'}'` = yes; then
60018 cat >>confdefs.h <<_ACEOF
60019 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60020 _ACEOF
60021
60022 fi
60023 done
60024
60025 else
60026
60027 echo "$as_me:$LINENO: checking for _ldexpf declaration" >&5
60028 echo $ECHO_N "checking for _ldexpf declaration... $ECHO_C" >&6
60029 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
60030 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then
60031 echo $ECHO_N "(cached) $ECHO_C" >&6
60032 else
60033
60034
60035
60036 ac_ext=cc
60037 ac_cpp='$CXXCPP $CPPFLAGS'
60038 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60039 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60040 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60041
60042 cat >conftest.$ac_ext <<_ACEOF
60043 /* confdefs.h. */
60044 _ACEOF
60045 cat confdefs.h >>conftest.$ac_ext
60046 cat >>conftest.$ac_ext <<_ACEOF
60047 /* end confdefs.h. */
60048 #include <math.h>
60049 int
60050 main ()
60051 {
60052 _ldexpf(0, 0);
60053 ;
60054 return 0;
60055 }
60056 _ACEOF
60057 rm -f conftest.$ac_objext
60058 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60059 (eval $ac_compile) 2>conftest.er1
60060 ac_status=$?
60061 grep -v '^ *+' conftest.er1 >conftest.err
60062 rm -f conftest.er1
60063 cat conftest.err >&5
60064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60065 (exit $ac_status); } &&
60066 { ac_try='test -z "$ac_cxx_werror_flag"
60067 || test ! -s conftest.err'
60068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60069 (eval $ac_try) 2>&5
60070 ac_status=$?
60071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60072 (exit $ac_status); }; } &&
60073 { ac_try='test -s conftest.$ac_objext'
60074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60075 (eval $ac_try) 2>&5
60076 ac_status=$?
60077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60078 (exit $ac_status); }; }; then
60079 glibcxx_cv_func__ldexpf_use=yes
60080 else
60081 echo "$as_me: failed program was:" >&5
60082 sed 's/^/| /' conftest.$ac_ext >&5
60083
60084 glibcxx_cv_func__ldexpf_use=no
60085 fi
60086 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60087 ac_ext=c
60088 ac_cpp='$CPP $CPPFLAGS'
60089 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60090 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60091 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60092
60093
60094 fi
60095
60096 fi
60097 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpf_use" >&5
60098 echo "${ECHO_T}$glibcxx_cv_func__ldexpf_use" >&6
60099
60100 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
60101
60102 for ac_func in _ldexpf
60103 do
60104 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60105 echo "$as_me:$LINENO: checking for $ac_func" >&5
60106 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60107 if eval "test \"\${$as_ac_var+set}\" = set"; then
60108 echo $ECHO_N "(cached) $ECHO_C" >&6
60109 else
60110 if test x$gcc_no_link = xyes; then
60111 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60112 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60113 { (exit 1); exit 1; }; }
60114 fi
60115 cat >conftest.$ac_ext <<_ACEOF
60116 /* confdefs.h. */
60117 _ACEOF
60118 cat confdefs.h >>conftest.$ac_ext
60119 cat >>conftest.$ac_ext <<_ACEOF
60120 /* end confdefs.h. */
60121 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60122 For example, HP-UX 11i <limits.h> declares gettimeofday. */
60123 #define $ac_func innocuous_$ac_func
60124
60125 /* System header to define __stub macros and hopefully few prototypes,
60126 which can conflict with char $ac_func (); below.
60127 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60128 <limits.h> exists even on freestanding compilers. */
60129
60130 #ifdef __STDC__
60131 # include <limits.h>
60132 #else
60133 # include <assert.h>
60134 #endif
60135
60136 #undef $ac_func
60137
60138 /* Override any gcc2 internal prototype to avoid an error. */
60139 #ifdef __cplusplus
60140 extern "C"
60141 {
60142 #endif
60143 /* We use char because int might match the return type of a gcc2
60144 builtin and then its argument prototype would still apply. */
60145 char $ac_func ();
60146 /* The GNU C library defines this for functions which it implements
60147 to always fail with ENOSYS. Some functions are actually named
60148 something starting with __ and the normal name is an alias. */
60149 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60150 choke me
60151 #else
60152 char (*f) () = $ac_func;
60153 #endif
60154 #ifdef __cplusplus
60155 }
60156 #endif
60157
60158 int
60159 main ()
60160 {
60161 return f != $ac_func;
60162 ;
60163 return 0;
60164 }
60165 _ACEOF
60166 rm -f conftest.$ac_objext conftest$ac_exeext
60167 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60168 (eval $ac_link) 2>conftest.er1
60169 ac_status=$?
60170 grep -v '^ *+' conftest.er1 >conftest.err
60171 rm -f conftest.er1
60172 cat conftest.err >&5
60173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60174 (exit $ac_status); } &&
60175 { ac_try='test -z "$ac_c_werror_flag"
60176 || test ! -s conftest.err'
60177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60178 (eval $ac_try) 2>&5
60179 ac_status=$?
60180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60181 (exit $ac_status); }; } &&
60182 { ac_try='test -s conftest$ac_exeext'
60183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60184 (eval $ac_try) 2>&5
60185 ac_status=$?
60186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60187 (exit $ac_status); }; }; then
60188 eval "$as_ac_var=yes"
60189 else
60190 echo "$as_me: failed program was:" >&5
60191 sed 's/^/| /' conftest.$ac_ext >&5
60192
60193 eval "$as_ac_var=no"
60194 fi
60195 rm -f conftest.err conftest.$ac_objext \
60196 conftest$ac_exeext conftest.$ac_ext
60197 fi
60198 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60199 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60200 if test `eval echo '${'$as_ac_var'}'` = yes; then
60201 cat >>confdefs.h <<_ACEOF
60202 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60203 _ACEOF
60204
60205 fi
60206 done
60207
60208 fi
60209 fi
60210
60211
60212
60213
60214
60215
60216 echo "$as_me:$LINENO: checking for logf declaration" >&5
60217 echo $ECHO_N "checking for logf declaration... $ECHO_C" >&6
60218 if test x${glibcxx_cv_func_logf_use+set} != xset; then
60219 if test "${glibcxx_cv_func_logf_use+set}" = set; then
60220 echo $ECHO_N "(cached) $ECHO_C" >&6
60221 else
60222
60223
60224
60225 ac_ext=cc
60226 ac_cpp='$CXXCPP $CPPFLAGS'
60227 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60228 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60229 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60230
60231 cat >conftest.$ac_ext <<_ACEOF
60232 /* confdefs.h. */
60233 _ACEOF
60234 cat confdefs.h >>conftest.$ac_ext
60235 cat >>conftest.$ac_ext <<_ACEOF
60236 /* end confdefs.h. */
60237 #include <math.h>
60238 #ifdef HAVE_IEEEFP_H
60239 #include <ieeefp.h>
60240 #endif
60241
60242 int
60243 main ()
60244 {
60245 logf(0);
60246 ;
60247 return 0;
60248 }
60249 _ACEOF
60250 rm -f conftest.$ac_objext
60251 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60252 (eval $ac_compile) 2>conftest.er1
60253 ac_status=$?
60254 grep -v '^ *+' conftest.er1 >conftest.err
60255 rm -f conftest.er1
60256 cat conftest.err >&5
60257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60258 (exit $ac_status); } &&
60259 { ac_try='test -z "$ac_cxx_werror_flag"
60260 || test ! -s conftest.err'
60261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60262 (eval $ac_try) 2>&5
60263 ac_status=$?
60264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60265 (exit $ac_status); }; } &&
60266 { ac_try='test -s conftest.$ac_objext'
60267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60268 (eval $ac_try) 2>&5
60269 ac_status=$?
60270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60271 (exit $ac_status); }; }; then
60272 glibcxx_cv_func_logf_use=yes
60273 else
60274 echo "$as_me: failed program was:" >&5
60275 sed 's/^/| /' conftest.$ac_ext >&5
60276
60277 glibcxx_cv_func_logf_use=no
60278 fi
60279 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60280 ac_ext=c
60281 ac_cpp='$CPP $CPPFLAGS'
60282 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60283 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60284 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60285
60286
60287 fi
60288
60289 fi
60290 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logf_use" >&5
60291 echo "${ECHO_T}$glibcxx_cv_func_logf_use" >&6
60292
60293 if test x$glibcxx_cv_func_logf_use = x"yes"; then
60294
60295 for ac_func in logf
60296 do
60297 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60298 echo "$as_me:$LINENO: checking for $ac_func" >&5
60299 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60300 if eval "test \"\${$as_ac_var+set}\" = set"; then
60301 echo $ECHO_N "(cached) $ECHO_C" >&6
60302 else
60303 if test x$gcc_no_link = xyes; then
60304 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60305 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60306 { (exit 1); exit 1; }; }
60307 fi
60308 cat >conftest.$ac_ext <<_ACEOF
60309 /* confdefs.h. */
60310 _ACEOF
60311 cat confdefs.h >>conftest.$ac_ext
60312 cat >>conftest.$ac_ext <<_ACEOF
60313 /* end confdefs.h. */
60314 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60315 For example, HP-UX 11i <limits.h> declares gettimeofday. */
60316 #define $ac_func innocuous_$ac_func
60317
60318 /* System header to define __stub macros and hopefully few prototypes,
60319 which can conflict with char $ac_func (); below.
60320 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60321 <limits.h> exists even on freestanding compilers. */
60322
60323 #ifdef __STDC__
60324 # include <limits.h>
60325 #else
60326 # include <assert.h>
60327 #endif
60328
60329 #undef $ac_func
60330
60331 /* Override any gcc2 internal prototype to avoid an error. */
60332 #ifdef __cplusplus
60333 extern "C"
60334 {
60335 #endif
60336 /* We use char because int might match the return type of a gcc2
60337 builtin and then its argument prototype would still apply. */
60338 char $ac_func ();
60339 /* The GNU C library defines this for functions which it implements
60340 to always fail with ENOSYS. Some functions are actually named
60341 something starting with __ and the normal name is an alias. */
60342 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60343 choke me
60344 #else
60345 char (*f) () = $ac_func;
60346 #endif
60347 #ifdef __cplusplus
60348 }
60349 #endif
60350
60351 int
60352 main ()
60353 {
60354 return f != $ac_func;
60355 ;
60356 return 0;
60357 }
60358 _ACEOF
60359 rm -f conftest.$ac_objext conftest$ac_exeext
60360 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60361 (eval $ac_link) 2>conftest.er1
60362 ac_status=$?
60363 grep -v '^ *+' conftest.er1 >conftest.err
60364 rm -f conftest.er1
60365 cat conftest.err >&5
60366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60367 (exit $ac_status); } &&
60368 { ac_try='test -z "$ac_c_werror_flag"
60369 || test ! -s conftest.err'
60370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60371 (eval $ac_try) 2>&5
60372 ac_status=$?
60373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60374 (exit $ac_status); }; } &&
60375 { ac_try='test -s conftest$ac_exeext'
60376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60377 (eval $ac_try) 2>&5
60378 ac_status=$?
60379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60380 (exit $ac_status); }; }; then
60381 eval "$as_ac_var=yes"
60382 else
60383 echo "$as_me: failed program was:" >&5
60384 sed 's/^/| /' conftest.$ac_ext >&5
60385
60386 eval "$as_ac_var=no"
60387 fi
60388 rm -f conftest.err conftest.$ac_objext \
60389 conftest$ac_exeext conftest.$ac_ext
60390 fi
60391 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60392 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60393 if test `eval echo '${'$as_ac_var'}'` = yes; then
60394 cat >>confdefs.h <<_ACEOF
60395 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60396 _ACEOF
60397
60398 fi
60399 done
60400
60401 else
60402
60403 echo "$as_me:$LINENO: checking for _logf declaration" >&5
60404 echo $ECHO_N "checking for _logf declaration... $ECHO_C" >&6
60405 if test x${glibcxx_cv_func__logf_use+set} != xset; then
60406 if test "${glibcxx_cv_func__logf_use+set}" = set; then
60407 echo $ECHO_N "(cached) $ECHO_C" >&6
60408 else
60409
60410
60411
60412 ac_ext=cc
60413 ac_cpp='$CXXCPP $CPPFLAGS'
60414 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60415 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60416 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60417
60418 cat >conftest.$ac_ext <<_ACEOF
60419 /* confdefs.h. */
60420 _ACEOF
60421 cat confdefs.h >>conftest.$ac_ext
60422 cat >>conftest.$ac_ext <<_ACEOF
60423 /* end confdefs.h. */
60424 #include <math.h>
60425 #ifdef HAVE_IEEEFP_H
60426 #include <ieeefp.h>
60427 #endif
60428
60429 int
60430 main ()
60431 {
60432 _logf(0);
60433 ;
60434 return 0;
60435 }
60436 _ACEOF
60437 rm -f conftest.$ac_objext
60438 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60439 (eval $ac_compile) 2>conftest.er1
60440 ac_status=$?
60441 grep -v '^ *+' conftest.er1 >conftest.err
60442 rm -f conftest.er1
60443 cat conftest.err >&5
60444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60445 (exit $ac_status); } &&
60446 { ac_try='test -z "$ac_cxx_werror_flag"
60447 || test ! -s conftest.err'
60448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60449 (eval $ac_try) 2>&5
60450 ac_status=$?
60451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60452 (exit $ac_status); }; } &&
60453 { ac_try='test -s conftest.$ac_objext'
60454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60455 (eval $ac_try) 2>&5
60456 ac_status=$?
60457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60458 (exit $ac_status); }; }; then
60459 glibcxx_cv_func__logf_use=yes
60460 else
60461 echo "$as_me: failed program was:" >&5
60462 sed 's/^/| /' conftest.$ac_ext >&5
60463
60464 glibcxx_cv_func__logf_use=no
60465 fi
60466 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60467 ac_ext=c
60468 ac_cpp='$CPP $CPPFLAGS'
60469 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60470 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60471 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60472
60473
60474 fi
60475
60476 fi
60477 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logf_use" >&5
60478 echo "${ECHO_T}$glibcxx_cv_func__logf_use" >&6
60479
60480 if test x$glibcxx_cv_func__logf_use = x"yes"; then
60481
60482 for ac_func in _logf
60483 do
60484 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60485 echo "$as_me:$LINENO: checking for $ac_func" >&5
60486 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60487 if eval "test \"\${$as_ac_var+set}\" = set"; then
60488 echo $ECHO_N "(cached) $ECHO_C" >&6
60489 else
60490 if test x$gcc_no_link = xyes; then
60491 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60492 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60493 { (exit 1); exit 1; }; }
60494 fi
60495 cat >conftest.$ac_ext <<_ACEOF
60496 /* confdefs.h. */
60497 _ACEOF
60498 cat confdefs.h >>conftest.$ac_ext
60499 cat >>conftest.$ac_ext <<_ACEOF
60500 /* end confdefs.h. */
60501 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60502 For example, HP-UX 11i <limits.h> declares gettimeofday. */
60503 #define $ac_func innocuous_$ac_func
60504
60505 /* System header to define __stub macros and hopefully few prototypes,
60506 which can conflict with char $ac_func (); below.
60507 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60508 <limits.h> exists even on freestanding compilers. */
60509
60510 #ifdef __STDC__
60511 # include <limits.h>
60512 #else
60513 # include <assert.h>
60514 #endif
60515
60516 #undef $ac_func
60517
60518 /* Override any gcc2 internal prototype to avoid an error. */
60519 #ifdef __cplusplus
60520 extern "C"
60521 {
60522 #endif
60523 /* We use char because int might match the return type of a gcc2
60524 builtin and then its argument prototype would still apply. */
60525 char $ac_func ();
60526 /* The GNU C library defines this for functions which it implements
60527 to always fail with ENOSYS. Some functions are actually named
60528 something starting with __ and the normal name is an alias. */
60529 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60530 choke me
60531 #else
60532 char (*f) () = $ac_func;
60533 #endif
60534 #ifdef __cplusplus
60535 }
60536 #endif
60537
60538 int
60539 main ()
60540 {
60541 return f != $ac_func;
60542 ;
60543 return 0;
60544 }
60545 _ACEOF
60546 rm -f conftest.$ac_objext conftest$ac_exeext
60547 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60548 (eval $ac_link) 2>conftest.er1
60549 ac_status=$?
60550 grep -v '^ *+' conftest.er1 >conftest.err
60551 rm -f conftest.er1
60552 cat conftest.err >&5
60553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60554 (exit $ac_status); } &&
60555 { ac_try='test -z "$ac_c_werror_flag"
60556 || test ! -s conftest.err'
60557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60558 (eval $ac_try) 2>&5
60559 ac_status=$?
60560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60561 (exit $ac_status); }; } &&
60562 { ac_try='test -s conftest$ac_exeext'
60563 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60564 (eval $ac_try) 2>&5
60565 ac_status=$?
60566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60567 (exit $ac_status); }; }; then
60568 eval "$as_ac_var=yes"
60569 else
60570 echo "$as_me: failed program was:" >&5
60571 sed 's/^/| /' conftest.$ac_ext >&5
60572
60573 eval "$as_ac_var=no"
60574 fi
60575 rm -f conftest.err conftest.$ac_objext \
60576 conftest$ac_exeext conftest.$ac_ext
60577 fi
60578 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60579 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60580 if test `eval echo '${'$as_ac_var'}'` = yes; then
60581 cat >>confdefs.h <<_ACEOF
60582 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60583 _ACEOF
60584
60585 fi
60586 done
60587
60588 fi
60589 fi
60590
60591
60592
60593
60594
60595
60596 echo "$as_me:$LINENO: checking for log10f declaration" >&5
60597 echo $ECHO_N "checking for log10f declaration... $ECHO_C" >&6
60598 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
60599 if test "${glibcxx_cv_func_log10f_use+set}" = set; then
60600 echo $ECHO_N "(cached) $ECHO_C" >&6
60601 else
60602
60603
60604
60605 ac_ext=cc
60606 ac_cpp='$CXXCPP $CPPFLAGS'
60607 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60608 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60609 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60610
60611 cat >conftest.$ac_ext <<_ACEOF
60612 /* confdefs.h. */
60613 _ACEOF
60614 cat confdefs.h >>conftest.$ac_ext
60615 cat >>conftest.$ac_ext <<_ACEOF
60616 /* end confdefs.h. */
60617 #include <math.h>
60618 #ifdef HAVE_IEEEFP_H
60619 #include <ieeefp.h>
60620 #endif
60621
60622 int
60623 main ()
60624 {
60625 log10f(0);
60626 ;
60627 return 0;
60628 }
60629 _ACEOF
60630 rm -f conftest.$ac_objext
60631 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60632 (eval $ac_compile) 2>conftest.er1
60633 ac_status=$?
60634 grep -v '^ *+' conftest.er1 >conftest.err
60635 rm -f conftest.er1
60636 cat conftest.err >&5
60637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60638 (exit $ac_status); } &&
60639 { ac_try='test -z "$ac_cxx_werror_flag"
60640 || test ! -s conftest.err'
60641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60642 (eval $ac_try) 2>&5
60643 ac_status=$?
60644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60645 (exit $ac_status); }; } &&
60646 { ac_try='test -s conftest.$ac_objext'
60647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60648 (eval $ac_try) 2>&5
60649 ac_status=$?
60650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60651 (exit $ac_status); }; }; then
60652 glibcxx_cv_func_log10f_use=yes
60653 else
60654 echo "$as_me: failed program was:" >&5
60655 sed 's/^/| /' conftest.$ac_ext >&5
60656
60657 glibcxx_cv_func_log10f_use=no
60658 fi
60659 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60660 ac_ext=c
60661 ac_cpp='$CPP $CPPFLAGS'
60662 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60663 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60664 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60665
60666
60667 fi
60668
60669 fi
60670 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10f_use" >&5
60671 echo "${ECHO_T}$glibcxx_cv_func_log10f_use" >&6
60672
60673 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
60674
60675 for ac_func in log10f
60676 do
60677 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60678 echo "$as_me:$LINENO: checking for $ac_func" >&5
60679 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60680 if eval "test \"\${$as_ac_var+set}\" = set"; then
60681 echo $ECHO_N "(cached) $ECHO_C" >&6
60682 else
60683 if test x$gcc_no_link = xyes; then
60684 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60685 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60686 { (exit 1); exit 1; }; }
60687 fi
60688 cat >conftest.$ac_ext <<_ACEOF
60689 /* confdefs.h. */
60690 _ACEOF
60691 cat confdefs.h >>conftest.$ac_ext
60692 cat >>conftest.$ac_ext <<_ACEOF
60693 /* end confdefs.h. */
60694 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60695 For example, HP-UX 11i <limits.h> declares gettimeofday. */
60696 #define $ac_func innocuous_$ac_func
60697
60698 /* System header to define __stub macros and hopefully few prototypes,
60699 which can conflict with char $ac_func (); below.
60700 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60701 <limits.h> exists even on freestanding compilers. */
60702
60703 #ifdef __STDC__
60704 # include <limits.h>
60705 #else
60706 # include <assert.h>
60707 #endif
60708
60709 #undef $ac_func
60710
60711 /* Override any gcc2 internal prototype to avoid an error. */
60712 #ifdef __cplusplus
60713 extern "C"
60714 {
60715 #endif
60716 /* We use char because int might match the return type of a gcc2
60717 builtin and then its argument prototype would still apply. */
60718 char $ac_func ();
60719 /* The GNU C library defines this for functions which it implements
60720 to always fail with ENOSYS. Some functions are actually named
60721 something starting with __ and the normal name is an alias. */
60722 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60723 choke me
60724 #else
60725 char (*f) () = $ac_func;
60726 #endif
60727 #ifdef __cplusplus
60728 }
60729 #endif
60730
60731 int
60732 main ()
60733 {
60734 return f != $ac_func;
60735 ;
60736 return 0;
60737 }
60738 _ACEOF
60739 rm -f conftest.$ac_objext conftest$ac_exeext
60740 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60741 (eval $ac_link) 2>conftest.er1
60742 ac_status=$?
60743 grep -v '^ *+' conftest.er1 >conftest.err
60744 rm -f conftest.er1
60745 cat conftest.err >&5
60746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60747 (exit $ac_status); } &&
60748 { ac_try='test -z "$ac_c_werror_flag"
60749 || test ! -s conftest.err'
60750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60751 (eval $ac_try) 2>&5
60752 ac_status=$?
60753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60754 (exit $ac_status); }; } &&
60755 { ac_try='test -s conftest$ac_exeext'
60756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60757 (eval $ac_try) 2>&5
60758 ac_status=$?
60759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60760 (exit $ac_status); }; }; then
60761 eval "$as_ac_var=yes"
60762 else
60763 echo "$as_me: failed program was:" >&5
60764 sed 's/^/| /' conftest.$ac_ext >&5
60765
60766 eval "$as_ac_var=no"
60767 fi
60768 rm -f conftest.err conftest.$ac_objext \
60769 conftest$ac_exeext conftest.$ac_ext
60770 fi
60771 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60772 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60773 if test `eval echo '${'$as_ac_var'}'` = yes; then
60774 cat >>confdefs.h <<_ACEOF
60775 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60776 _ACEOF
60777
60778 fi
60779 done
60780
60781 else
60782
60783 echo "$as_me:$LINENO: checking for _log10f declaration" >&5
60784 echo $ECHO_N "checking for _log10f declaration... $ECHO_C" >&6
60785 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
60786 if test "${glibcxx_cv_func__log10f_use+set}" = set; then
60787 echo $ECHO_N "(cached) $ECHO_C" >&6
60788 else
60789
60790
60791
60792 ac_ext=cc
60793 ac_cpp='$CXXCPP $CPPFLAGS'
60794 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60795 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60796 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60797
60798 cat >conftest.$ac_ext <<_ACEOF
60799 /* confdefs.h. */
60800 _ACEOF
60801 cat confdefs.h >>conftest.$ac_ext
60802 cat >>conftest.$ac_ext <<_ACEOF
60803 /* end confdefs.h. */
60804 #include <math.h>
60805 #ifdef HAVE_IEEEFP_H
60806 #include <ieeefp.h>
60807 #endif
60808
60809 int
60810 main ()
60811 {
60812 _log10f(0);
60813 ;
60814 return 0;
60815 }
60816 _ACEOF
60817 rm -f conftest.$ac_objext
60818 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60819 (eval $ac_compile) 2>conftest.er1
60820 ac_status=$?
60821 grep -v '^ *+' conftest.er1 >conftest.err
60822 rm -f conftest.er1
60823 cat conftest.err >&5
60824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60825 (exit $ac_status); } &&
60826 { ac_try='test -z "$ac_cxx_werror_flag"
60827 || test ! -s conftest.err'
60828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60829 (eval $ac_try) 2>&5
60830 ac_status=$?
60831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60832 (exit $ac_status); }; } &&
60833 { ac_try='test -s conftest.$ac_objext'
60834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60835 (eval $ac_try) 2>&5
60836 ac_status=$?
60837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60838 (exit $ac_status); }; }; then
60839 glibcxx_cv_func__log10f_use=yes
60840 else
60841 echo "$as_me: failed program was:" >&5
60842 sed 's/^/| /' conftest.$ac_ext >&5
60843
60844 glibcxx_cv_func__log10f_use=no
60845 fi
60846 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60847 ac_ext=c
60848 ac_cpp='$CPP $CPPFLAGS'
60849 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60850 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60851 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60852
60853
60854 fi
60855
60856 fi
60857 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10f_use" >&5
60858 echo "${ECHO_T}$glibcxx_cv_func__log10f_use" >&6
60859
60860 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
60861
60862 for ac_func in _log10f
60863 do
60864 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60865 echo "$as_me:$LINENO: checking for $ac_func" >&5
60866 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60867 if eval "test \"\${$as_ac_var+set}\" = set"; then
60868 echo $ECHO_N "(cached) $ECHO_C" >&6
60869 else
60870 if test x$gcc_no_link = xyes; then
60871 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60872 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60873 { (exit 1); exit 1; }; }
60874 fi
60875 cat >conftest.$ac_ext <<_ACEOF
60876 /* confdefs.h. */
60877 _ACEOF
60878 cat confdefs.h >>conftest.$ac_ext
60879 cat >>conftest.$ac_ext <<_ACEOF
60880 /* end confdefs.h. */
60881 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60882 For example, HP-UX 11i <limits.h> declares gettimeofday. */
60883 #define $ac_func innocuous_$ac_func
60884
60885 /* System header to define __stub macros and hopefully few prototypes,
60886 which can conflict with char $ac_func (); below.
60887 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60888 <limits.h> exists even on freestanding compilers. */
60889
60890 #ifdef __STDC__
60891 # include <limits.h>
60892 #else
60893 # include <assert.h>
60894 #endif
60895
60896 #undef $ac_func
60897
60898 /* Override any gcc2 internal prototype to avoid an error. */
60899 #ifdef __cplusplus
60900 extern "C"
60901 {
60902 #endif
60903 /* We use char because int might match the return type of a gcc2
60904 builtin and then its argument prototype would still apply. */
60905 char $ac_func ();
60906 /* The GNU C library defines this for functions which it implements
60907 to always fail with ENOSYS. Some functions are actually named
60908 something starting with __ and the normal name is an alias. */
60909 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60910 choke me
60911 #else
60912 char (*f) () = $ac_func;
60913 #endif
60914 #ifdef __cplusplus
60915 }
60916 #endif
60917
60918 int
60919 main ()
60920 {
60921 return f != $ac_func;
60922 ;
60923 return 0;
60924 }
60925 _ACEOF
60926 rm -f conftest.$ac_objext conftest$ac_exeext
60927 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60928 (eval $ac_link) 2>conftest.er1
60929 ac_status=$?
60930 grep -v '^ *+' conftest.er1 >conftest.err
60931 rm -f conftest.er1
60932 cat conftest.err >&5
60933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60934 (exit $ac_status); } &&
60935 { ac_try='test -z "$ac_c_werror_flag"
60936 || test ! -s conftest.err'
60937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60938 (eval $ac_try) 2>&5
60939 ac_status=$?
60940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60941 (exit $ac_status); }; } &&
60942 { ac_try='test -s conftest$ac_exeext'
60943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60944 (eval $ac_try) 2>&5
60945 ac_status=$?
60946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60947 (exit $ac_status); }; }; then
60948 eval "$as_ac_var=yes"
60949 else
60950 echo "$as_me: failed program was:" >&5
60951 sed 's/^/| /' conftest.$ac_ext >&5
60952
60953 eval "$as_ac_var=no"
60954 fi
60955 rm -f conftest.err conftest.$ac_objext \
60956 conftest$ac_exeext conftest.$ac_ext
60957 fi
60958 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60959 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60960 if test `eval echo '${'$as_ac_var'}'` = yes; then
60961 cat >>confdefs.h <<_ACEOF
60962 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60963 _ACEOF
60964
60965 fi
60966 done
60967
60968 fi
60969 fi
60970
60971
60972
60973
60974
60975
60976 echo "$as_me:$LINENO: checking for modff declaration" >&5
60977 echo $ECHO_N "checking for modff declaration... $ECHO_C" >&6
60978 if test x${glibcxx_cv_func_modff_use+set} != xset; then
60979 if test "${glibcxx_cv_func_modff_use+set}" = set; then
60980 echo $ECHO_N "(cached) $ECHO_C" >&6
60981 else
60982
60983
60984
60985 ac_ext=cc
60986 ac_cpp='$CXXCPP $CPPFLAGS'
60987 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60988 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60989 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60990
60991 cat >conftest.$ac_ext <<_ACEOF
60992 /* confdefs.h. */
60993 _ACEOF
60994 cat confdefs.h >>conftest.$ac_ext
60995 cat >>conftest.$ac_ext <<_ACEOF
60996 /* end confdefs.h. */
60997 #include <math.h>
60998 int
60999 main ()
61000 {
61001 modff(0, 0);
61002 ;
61003 return 0;
61004 }
61005 _ACEOF
61006 rm -f conftest.$ac_objext
61007 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61008 (eval $ac_compile) 2>conftest.er1
61009 ac_status=$?
61010 grep -v '^ *+' conftest.er1 >conftest.err
61011 rm -f conftest.er1
61012 cat conftest.err >&5
61013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61014 (exit $ac_status); } &&
61015 { ac_try='test -z "$ac_cxx_werror_flag"
61016 || test ! -s conftest.err'
61017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61018 (eval $ac_try) 2>&5
61019 ac_status=$?
61020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61021 (exit $ac_status); }; } &&
61022 { ac_try='test -s conftest.$ac_objext'
61023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61024 (eval $ac_try) 2>&5
61025 ac_status=$?
61026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61027 (exit $ac_status); }; }; then
61028 glibcxx_cv_func_modff_use=yes
61029 else
61030 echo "$as_me: failed program was:" >&5
61031 sed 's/^/| /' conftest.$ac_ext >&5
61032
61033 glibcxx_cv_func_modff_use=no
61034 fi
61035 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61036 ac_ext=c
61037 ac_cpp='$CPP $CPPFLAGS'
61038 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61039 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61040 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61041
61042
61043 fi
61044
61045 fi
61046 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modff_use" >&5
61047 echo "${ECHO_T}$glibcxx_cv_func_modff_use" >&6
61048
61049 if test x$glibcxx_cv_func_modff_use = x"yes"; then
61050
61051 for ac_func in modff
61052 do
61053 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61054 echo "$as_me:$LINENO: checking for $ac_func" >&5
61055 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
61056 if eval "test \"\${$as_ac_var+set}\" = set"; then
61057 echo $ECHO_N "(cached) $ECHO_C" >&6
61058 else
61059 if test x$gcc_no_link = xyes; then
61060 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61061 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61062 { (exit 1); exit 1; }; }
61063 fi
61064 cat >conftest.$ac_ext <<_ACEOF
61065 /* confdefs.h. */
61066 _ACEOF
61067 cat confdefs.h >>conftest.$ac_ext
61068 cat >>conftest.$ac_ext <<_ACEOF
61069 /* end confdefs.h. */
61070 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
61071 For example, HP-UX 11i <limits.h> declares gettimeofday. */
61072 #define $ac_func innocuous_$ac_func
61073
61074 /* System header to define __stub macros and hopefully few prototypes,
61075 which can conflict with char $ac_func (); below.
61076 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61077 <limits.h> exists even on freestanding compilers. */
61078
61079 #ifdef __STDC__
61080 # include <limits.h>
61081 #else
61082 # include <assert.h>
61083 #endif
61084
61085 #undef $ac_func
61086
61087 /* Override any gcc2 internal prototype to avoid an error. */
61088 #ifdef __cplusplus
61089 extern "C"
61090 {
61091 #endif
61092 /* We use char because int might match the return type of a gcc2
61093 builtin and then its argument prototype would still apply. */
61094 char $ac_func ();
61095 /* The GNU C library defines this for functions which it implements
61096 to always fail with ENOSYS. Some functions are actually named
61097 something starting with __ and the normal name is an alias. */
61098 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61099 choke me
61100 #else
61101 char (*f) () = $ac_func;
61102 #endif
61103 #ifdef __cplusplus
61104 }
61105 #endif
61106
61107 int
61108 main ()
61109 {
61110 return f != $ac_func;
61111 ;
61112 return 0;
61113 }
61114 _ACEOF
61115 rm -f conftest.$ac_objext conftest$ac_exeext
61116 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61117 (eval $ac_link) 2>conftest.er1
61118 ac_status=$?
61119 grep -v '^ *+' conftest.er1 >conftest.err
61120 rm -f conftest.er1
61121 cat conftest.err >&5
61122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61123 (exit $ac_status); } &&
61124 { ac_try='test -z "$ac_c_werror_flag"
61125 || test ! -s conftest.err'
61126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61127 (eval $ac_try) 2>&5
61128 ac_status=$?
61129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61130 (exit $ac_status); }; } &&
61131 { ac_try='test -s conftest$ac_exeext'
61132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61133 (eval $ac_try) 2>&5
61134 ac_status=$?
61135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61136 (exit $ac_status); }; }; then
61137 eval "$as_ac_var=yes"
61138 else
61139 echo "$as_me: failed program was:" >&5
61140 sed 's/^/| /' conftest.$ac_ext >&5
61141
61142 eval "$as_ac_var=no"
61143 fi
61144 rm -f conftest.err conftest.$ac_objext \
61145 conftest$ac_exeext conftest.$ac_ext
61146 fi
61147 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61148 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61149 if test `eval echo '${'$as_ac_var'}'` = yes; then
61150 cat >>confdefs.h <<_ACEOF
61151 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61152 _ACEOF
61153
61154 fi
61155 done
61156
61157 else
61158
61159 echo "$as_me:$LINENO: checking for _modff declaration" >&5
61160 echo $ECHO_N "checking for _modff declaration... $ECHO_C" >&6
61161 if test x${glibcxx_cv_func__modff_use+set} != xset; then
61162 if test "${glibcxx_cv_func__modff_use+set}" = set; then
61163 echo $ECHO_N "(cached) $ECHO_C" >&6
61164 else
61165
61166
61167
61168 ac_ext=cc
61169 ac_cpp='$CXXCPP $CPPFLAGS'
61170 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61171 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61172 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61173
61174 cat >conftest.$ac_ext <<_ACEOF
61175 /* confdefs.h. */
61176 _ACEOF
61177 cat confdefs.h >>conftest.$ac_ext
61178 cat >>conftest.$ac_ext <<_ACEOF
61179 /* end confdefs.h. */
61180 #include <math.h>
61181 int
61182 main ()
61183 {
61184 _modff(0, 0);
61185 ;
61186 return 0;
61187 }
61188 _ACEOF
61189 rm -f conftest.$ac_objext
61190 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61191 (eval $ac_compile) 2>conftest.er1
61192 ac_status=$?
61193 grep -v '^ *+' conftest.er1 >conftest.err
61194 rm -f conftest.er1
61195 cat conftest.err >&5
61196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61197 (exit $ac_status); } &&
61198 { ac_try='test -z "$ac_cxx_werror_flag"
61199 || test ! -s conftest.err'
61200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61201 (eval $ac_try) 2>&5
61202 ac_status=$?
61203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61204 (exit $ac_status); }; } &&
61205 { ac_try='test -s conftest.$ac_objext'
61206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61207 (eval $ac_try) 2>&5
61208 ac_status=$?
61209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61210 (exit $ac_status); }; }; then
61211 glibcxx_cv_func__modff_use=yes
61212 else
61213 echo "$as_me: failed program was:" >&5
61214 sed 's/^/| /' conftest.$ac_ext >&5
61215
61216 glibcxx_cv_func__modff_use=no
61217 fi
61218 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61219 ac_ext=c
61220 ac_cpp='$CPP $CPPFLAGS'
61221 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61222 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61223 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61224
61225
61226 fi
61227
61228 fi
61229 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modff_use" >&5
61230 echo "${ECHO_T}$glibcxx_cv_func__modff_use" >&6
61231
61232 if test x$glibcxx_cv_func__modff_use = x"yes"; then
61233
61234 for ac_func in _modff
61235 do
61236 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61237 echo "$as_me:$LINENO: checking for $ac_func" >&5
61238 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
61239 if eval "test \"\${$as_ac_var+set}\" = set"; then
61240 echo $ECHO_N "(cached) $ECHO_C" >&6
61241 else
61242 if test x$gcc_no_link = xyes; then
61243 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61244 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61245 { (exit 1); exit 1; }; }
61246 fi
61247 cat >conftest.$ac_ext <<_ACEOF
61248 /* confdefs.h. */
61249 _ACEOF
61250 cat confdefs.h >>conftest.$ac_ext
61251 cat >>conftest.$ac_ext <<_ACEOF
61252 /* end confdefs.h. */
61253 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
61254 For example, HP-UX 11i <limits.h> declares gettimeofday. */
61255 #define $ac_func innocuous_$ac_func
61256
61257 /* System header to define __stub macros and hopefully few prototypes,
61258 which can conflict with char $ac_func (); below.
61259 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61260 <limits.h> exists even on freestanding compilers. */
61261
61262 #ifdef __STDC__
61263 # include <limits.h>
61264 #else
61265 # include <assert.h>
61266 #endif
61267
61268 #undef $ac_func
61269
61270 /* Override any gcc2 internal prototype to avoid an error. */
61271 #ifdef __cplusplus
61272 extern "C"
61273 {
61274 #endif
61275 /* We use char because int might match the return type of a gcc2
61276 builtin and then its argument prototype would still apply. */
61277 char $ac_func ();
61278 /* The GNU C library defines this for functions which it implements
61279 to always fail with ENOSYS. Some functions are actually named
61280 something starting with __ and the normal name is an alias. */
61281 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61282 choke me
61283 #else
61284 char (*f) () = $ac_func;
61285 #endif
61286 #ifdef __cplusplus
61287 }
61288 #endif
61289
61290 int
61291 main ()
61292 {
61293 return f != $ac_func;
61294 ;
61295 return 0;
61296 }
61297 _ACEOF
61298 rm -f conftest.$ac_objext conftest$ac_exeext
61299 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61300 (eval $ac_link) 2>conftest.er1
61301 ac_status=$?
61302 grep -v '^ *+' conftest.er1 >conftest.err
61303 rm -f conftest.er1
61304 cat conftest.err >&5
61305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61306 (exit $ac_status); } &&
61307 { ac_try='test -z "$ac_c_werror_flag"
61308 || test ! -s conftest.err'
61309 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61310 (eval $ac_try) 2>&5
61311 ac_status=$?
61312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61313 (exit $ac_status); }; } &&
61314 { ac_try='test -s conftest$ac_exeext'
61315 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61316 (eval $ac_try) 2>&5
61317 ac_status=$?
61318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61319 (exit $ac_status); }; }; then
61320 eval "$as_ac_var=yes"
61321 else
61322 echo "$as_me: failed program was:" >&5
61323 sed 's/^/| /' conftest.$ac_ext >&5
61324
61325 eval "$as_ac_var=no"
61326 fi
61327 rm -f conftest.err conftest.$ac_objext \
61328 conftest$ac_exeext conftest.$ac_ext
61329 fi
61330 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61331 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61332 if test `eval echo '${'$as_ac_var'}'` = yes; then
61333 cat >>confdefs.h <<_ACEOF
61334 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61335 _ACEOF
61336
61337 fi
61338 done
61339
61340 fi
61341 fi
61342
61343
61344
61345
61346
61347
61348 echo "$as_me:$LINENO: checking for modf declaration" >&5
61349 echo $ECHO_N "checking for modf declaration... $ECHO_C" >&6
61350 if test x${glibcxx_cv_func_modf_use+set} != xset; then
61351 if test "${glibcxx_cv_func_modf_use+set}" = set; then
61352 echo $ECHO_N "(cached) $ECHO_C" >&6
61353 else
61354
61355
61356
61357 ac_ext=cc
61358 ac_cpp='$CXXCPP $CPPFLAGS'
61359 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61360 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61361 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61362
61363 cat >conftest.$ac_ext <<_ACEOF
61364 /* confdefs.h. */
61365 _ACEOF
61366 cat confdefs.h >>conftest.$ac_ext
61367 cat >>conftest.$ac_ext <<_ACEOF
61368 /* end confdefs.h. */
61369 #include <math.h>
61370 int
61371 main ()
61372 {
61373 modf(0, 0);
61374 ;
61375 return 0;
61376 }
61377 _ACEOF
61378 rm -f conftest.$ac_objext
61379 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61380 (eval $ac_compile) 2>conftest.er1
61381 ac_status=$?
61382 grep -v '^ *+' conftest.er1 >conftest.err
61383 rm -f conftest.er1
61384 cat conftest.err >&5
61385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61386 (exit $ac_status); } &&
61387 { ac_try='test -z "$ac_cxx_werror_flag"
61388 || test ! -s conftest.err'
61389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61390 (eval $ac_try) 2>&5
61391 ac_status=$?
61392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61393 (exit $ac_status); }; } &&
61394 { ac_try='test -s conftest.$ac_objext'
61395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61396 (eval $ac_try) 2>&5
61397 ac_status=$?
61398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61399 (exit $ac_status); }; }; then
61400 glibcxx_cv_func_modf_use=yes
61401 else
61402 echo "$as_me: failed program was:" >&5
61403 sed 's/^/| /' conftest.$ac_ext >&5
61404
61405 glibcxx_cv_func_modf_use=no
61406 fi
61407 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61408 ac_ext=c
61409 ac_cpp='$CPP $CPPFLAGS'
61410 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61411 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61412 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61413
61414
61415 fi
61416
61417 fi
61418 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modf_use" >&5
61419 echo "${ECHO_T}$glibcxx_cv_func_modf_use" >&6
61420
61421 if test x$glibcxx_cv_func_modf_use = x"yes"; then
61422
61423 for ac_func in modf
61424 do
61425 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61426 echo "$as_me:$LINENO: checking for $ac_func" >&5
61427 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
61428 if eval "test \"\${$as_ac_var+set}\" = set"; then
61429 echo $ECHO_N "(cached) $ECHO_C" >&6
61430 else
61431 if test x$gcc_no_link = xyes; then
61432 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61433 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61434 { (exit 1); exit 1; }; }
61435 fi
61436 cat >conftest.$ac_ext <<_ACEOF
61437 /* confdefs.h. */
61438 _ACEOF
61439 cat confdefs.h >>conftest.$ac_ext
61440 cat >>conftest.$ac_ext <<_ACEOF
61441 /* end confdefs.h. */
61442 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
61443 For example, HP-UX 11i <limits.h> declares gettimeofday. */
61444 #define $ac_func innocuous_$ac_func
61445
61446 /* System header to define __stub macros and hopefully few prototypes,
61447 which can conflict with char $ac_func (); below.
61448 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61449 <limits.h> exists even on freestanding compilers. */
61450
61451 #ifdef __STDC__
61452 # include <limits.h>
61453 #else
61454 # include <assert.h>
61455 #endif
61456
61457 #undef $ac_func
61458
61459 /* Override any gcc2 internal prototype to avoid an error. */
61460 #ifdef __cplusplus
61461 extern "C"
61462 {
61463 #endif
61464 /* We use char because int might match the return type of a gcc2
61465 builtin and then its argument prototype would still apply. */
61466 char $ac_func ();
61467 /* The GNU C library defines this for functions which it implements
61468 to always fail with ENOSYS. Some functions are actually named
61469 something starting with __ and the normal name is an alias. */
61470 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61471 choke me
61472 #else
61473 char (*f) () = $ac_func;
61474 #endif
61475 #ifdef __cplusplus
61476 }
61477 #endif
61478
61479 int
61480 main ()
61481 {
61482 return f != $ac_func;
61483 ;
61484 return 0;
61485 }
61486 _ACEOF
61487 rm -f conftest.$ac_objext conftest$ac_exeext
61488 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61489 (eval $ac_link) 2>conftest.er1
61490 ac_status=$?
61491 grep -v '^ *+' conftest.er1 >conftest.err
61492 rm -f conftest.er1
61493 cat conftest.err >&5
61494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61495 (exit $ac_status); } &&
61496 { ac_try='test -z "$ac_c_werror_flag"
61497 || test ! -s conftest.err'
61498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61499 (eval $ac_try) 2>&5
61500 ac_status=$?
61501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61502 (exit $ac_status); }; } &&
61503 { ac_try='test -s conftest$ac_exeext'
61504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61505 (eval $ac_try) 2>&5
61506 ac_status=$?
61507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61508 (exit $ac_status); }; }; then
61509 eval "$as_ac_var=yes"
61510 else
61511 echo "$as_me: failed program was:" >&5
61512 sed 's/^/| /' conftest.$ac_ext >&5
61513
61514 eval "$as_ac_var=no"
61515 fi
61516 rm -f conftest.err conftest.$ac_objext \
61517 conftest$ac_exeext conftest.$ac_ext
61518 fi
61519 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61520 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61521 if test `eval echo '${'$as_ac_var'}'` = yes; then
61522 cat >>confdefs.h <<_ACEOF
61523 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61524 _ACEOF
61525
61526 fi
61527 done
61528
61529 else
61530
61531 echo "$as_me:$LINENO: checking for _modf declaration" >&5
61532 echo $ECHO_N "checking for _modf declaration... $ECHO_C" >&6
61533 if test x${glibcxx_cv_func__modf_use+set} != xset; then
61534 if test "${glibcxx_cv_func__modf_use+set}" = set; then
61535 echo $ECHO_N "(cached) $ECHO_C" >&6
61536 else
61537
61538
61539
61540 ac_ext=cc
61541 ac_cpp='$CXXCPP $CPPFLAGS'
61542 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61543 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61544 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61545
61546 cat >conftest.$ac_ext <<_ACEOF
61547 /* confdefs.h. */
61548 _ACEOF
61549 cat confdefs.h >>conftest.$ac_ext
61550 cat >>conftest.$ac_ext <<_ACEOF
61551 /* end confdefs.h. */
61552 #include <math.h>
61553 int
61554 main ()
61555 {
61556 _modf(0, 0);
61557 ;
61558 return 0;
61559 }
61560 _ACEOF
61561 rm -f conftest.$ac_objext
61562 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61563 (eval $ac_compile) 2>conftest.er1
61564 ac_status=$?
61565 grep -v '^ *+' conftest.er1 >conftest.err
61566 rm -f conftest.er1
61567 cat conftest.err >&5
61568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61569 (exit $ac_status); } &&
61570 { ac_try='test -z "$ac_cxx_werror_flag"
61571 || test ! -s conftest.err'
61572 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61573 (eval $ac_try) 2>&5
61574 ac_status=$?
61575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61576 (exit $ac_status); }; } &&
61577 { ac_try='test -s conftest.$ac_objext'
61578 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61579 (eval $ac_try) 2>&5
61580 ac_status=$?
61581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61582 (exit $ac_status); }; }; then
61583 glibcxx_cv_func__modf_use=yes
61584 else
61585 echo "$as_me: failed program was:" >&5
61586 sed 's/^/| /' conftest.$ac_ext >&5
61587
61588 glibcxx_cv_func__modf_use=no
61589 fi
61590 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61591 ac_ext=c
61592 ac_cpp='$CPP $CPPFLAGS'
61593 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61594 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61595 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61596
61597
61598 fi
61599
61600 fi
61601 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modf_use" >&5
61602 echo "${ECHO_T}$glibcxx_cv_func__modf_use" >&6
61603
61604 if test x$glibcxx_cv_func__modf_use = x"yes"; then
61605
61606 for ac_func in _modf
61607 do
61608 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61609 echo "$as_me:$LINENO: checking for $ac_func" >&5
61610 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
61611 if eval "test \"\${$as_ac_var+set}\" = set"; then
61612 echo $ECHO_N "(cached) $ECHO_C" >&6
61613 else
61614 if test x$gcc_no_link = xyes; then
61615 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61616 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61617 { (exit 1); exit 1; }; }
61618 fi
61619 cat >conftest.$ac_ext <<_ACEOF
61620 /* confdefs.h. */
61621 _ACEOF
61622 cat confdefs.h >>conftest.$ac_ext
61623 cat >>conftest.$ac_ext <<_ACEOF
61624 /* end confdefs.h. */
61625 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
61626 For example, HP-UX 11i <limits.h> declares gettimeofday. */
61627 #define $ac_func innocuous_$ac_func
61628
61629 /* System header to define __stub macros and hopefully few prototypes,
61630 which can conflict with char $ac_func (); below.
61631 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61632 <limits.h> exists even on freestanding compilers. */
61633
61634 #ifdef __STDC__
61635 # include <limits.h>
61636 #else
61637 # include <assert.h>
61638 #endif
61639
61640 #undef $ac_func
61641
61642 /* Override any gcc2 internal prototype to avoid an error. */
61643 #ifdef __cplusplus
61644 extern "C"
61645 {
61646 #endif
61647 /* We use char because int might match the return type of a gcc2
61648 builtin and then its argument prototype would still apply. */
61649 char $ac_func ();
61650 /* The GNU C library defines this for functions which it implements
61651 to always fail with ENOSYS. Some functions are actually named
61652 something starting with __ and the normal name is an alias. */
61653 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61654 choke me
61655 #else
61656 char (*f) () = $ac_func;
61657 #endif
61658 #ifdef __cplusplus
61659 }
61660 #endif
61661
61662 int
61663 main ()
61664 {
61665 return f != $ac_func;
61666 ;
61667 return 0;
61668 }
61669 _ACEOF
61670 rm -f conftest.$ac_objext conftest$ac_exeext
61671 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61672 (eval $ac_link) 2>conftest.er1
61673 ac_status=$?
61674 grep -v '^ *+' conftest.er1 >conftest.err
61675 rm -f conftest.er1
61676 cat conftest.err >&5
61677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61678 (exit $ac_status); } &&
61679 { ac_try='test -z "$ac_c_werror_flag"
61680 || test ! -s conftest.err'
61681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61682 (eval $ac_try) 2>&5
61683 ac_status=$?
61684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61685 (exit $ac_status); }; } &&
61686 { ac_try='test -s conftest$ac_exeext'
61687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61688 (eval $ac_try) 2>&5
61689 ac_status=$?
61690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61691 (exit $ac_status); }; }; then
61692 eval "$as_ac_var=yes"
61693 else
61694 echo "$as_me: failed program was:" >&5
61695 sed 's/^/| /' conftest.$ac_ext >&5
61696
61697 eval "$as_ac_var=no"
61698 fi
61699 rm -f conftest.err conftest.$ac_objext \
61700 conftest$ac_exeext conftest.$ac_ext
61701 fi
61702 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61703 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61704 if test `eval echo '${'$as_ac_var'}'` = yes; then
61705 cat >>confdefs.h <<_ACEOF
61706 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61707 _ACEOF
61708
61709 fi
61710 done
61711
61712 fi
61713 fi
61714
61715
61716
61717
61718
61719
61720 echo "$as_me:$LINENO: checking for powf declaration" >&5
61721 echo $ECHO_N "checking for powf declaration... $ECHO_C" >&6
61722 if test x${glibcxx_cv_func_powf_use+set} != xset; then
61723 if test "${glibcxx_cv_func_powf_use+set}" = set; then
61724 echo $ECHO_N "(cached) $ECHO_C" >&6
61725 else
61726
61727
61728
61729 ac_ext=cc
61730 ac_cpp='$CXXCPP $CPPFLAGS'
61731 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61732 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61733 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61734
61735 cat >conftest.$ac_ext <<_ACEOF
61736 /* confdefs.h. */
61737 _ACEOF
61738 cat confdefs.h >>conftest.$ac_ext
61739 cat >>conftest.$ac_ext <<_ACEOF
61740 /* end confdefs.h. */
61741 #include <math.h>
61742 int
61743 main ()
61744 {
61745 powf(0, 0);
61746 ;
61747 return 0;
61748 }
61749 _ACEOF
61750 rm -f conftest.$ac_objext
61751 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61752 (eval $ac_compile) 2>conftest.er1
61753 ac_status=$?
61754 grep -v '^ *+' conftest.er1 >conftest.err
61755 rm -f conftest.er1
61756 cat conftest.err >&5
61757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61758 (exit $ac_status); } &&
61759 { ac_try='test -z "$ac_cxx_werror_flag"
61760 || test ! -s conftest.err'
61761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61762 (eval $ac_try) 2>&5
61763 ac_status=$?
61764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61765 (exit $ac_status); }; } &&
61766 { ac_try='test -s conftest.$ac_objext'
61767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61768 (eval $ac_try) 2>&5
61769 ac_status=$?
61770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61771 (exit $ac_status); }; }; then
61772 glibcxx_cv_func_powf_use=yes
61773 else
61774 echo "$as_me: failed program was:" >&5
61775 sed 's/^/| /' conftest.$ac_ext >&5
61776
61777 glibcxx_cv_func_powf_use=no
61778 fi
61779 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61780 ac_ext=c
61781 ac_cpp='$CPP $CPPFLAGS'
61782 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61783 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61784 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61785
61786
61787 fi
61788
61789 fi
61790 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powf_use" >&5
61791 echo "${ECHO_T}$glibcxx_cv_func_powf_use" >&6
61792
61793 if test x$glibcxx_cv_func_powf_use = x"yes"; then
61794
61795 for ac_func in powf
61796 do
61797 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61798 echo "$as_me:$LINENO: checking for $ac_func" >&5
61799 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
61800 if eval "test \"\${$as_ac_var+set}\" = set"; then
61801 echo $ECHO_N "(cached) $ECHO_C" >&6
61802 else
61803 if test x$gcc_no_link = xyes; then
61804 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61805 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61806 { (exit 1); exit 1; }; }
61807 fi
61808 cat >conftest.$ac_ext <<_ACEOF
61809 /* confdefs.h. */
61810 _ACEOF
61811 cat confdefs.h >>conftest.$ac_ext
61812 cat >>conftest.$ac_ext <<_ACEOF
61813 /* end confdefs.h. */
61814 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
61815 For example, HP-UX 11i <limits.h> declares gettimeofday. */
61816 #define $ac_func innocuous_$ac_func
61817
61818 /* System header to define __stub macros and hopefully few prototypes,
61819 which can conflict with char $ac_func (); below.
61820 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61821 <limits.h> exists even on freestanding compilers. */
61822
61823 #ifdef __STDC__
61824 # include <limits.h>
61825 #else
61826 # include <assert.h>
61827 #endif
61828
61829 #undef $ac_func
61830
61831 /* Override any gcc2 internal prototype to avoid an error. */
61832 #ifdef __cplusplus
61833 extern "C"
61834 {
61835 #endif
61836 /* We use char because int might match the return type of a gcc2
61837 builtin and then its argument prototype would still apply. */
61838 char $ac_func ();
61839 /* The GNU C library defines this for functions which it implements
61840 to always fail with ENOSYS. Some functions are actually named
61841 something starting with __ and the normal name is an alias. */
61842 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61843 choke me
61844 #else
61845 char (*f) () = $ac_func;
61846 #endif
61847 #ifdef __cplusplus
61848 }
61849 #endif
61850
61851 int
61852 main ()
61853 {
61854 return f != $ac_func;
61855 ;
61856 return 0;
61857 }
61858 _ACEOF
61859 rm -f conftest.$ac_objext conftest$ac_exeext
61860 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61861 (eval $ac_link) 2>conftest.er1
61862 ac_status=$?
61863 grep -v '^ *+' conftest.er1 >conftest.err
61864 rm -f conftest.er1
61865 cat conftest.err >&5
61866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61867 (exit $ac_status); } &&
61868 { ac_try='test -z "$ac_c_werror_flag"
61869 || test ! -s conftest.err'
61870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61871 (eval $ac_try) 2>&5
61872 ac_status=$?
61873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61874 (exit $ac_status); }; } &&
61875 { ac_try='test -s conftest$ac_exeext'
61876 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61877 (eval $ac_try) 2>&5
61878 ac_status=$?
61879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61880 (exit $ac_status); }; }; then
61881 eval "$as_ac_var=yes"
61882 else
61883 echo "$as_me: failed program was:" >&5
61884 sed 's/^/| /' conftest.$ac_ext >&5
61885
61886 eval "$as_ac_var=no"
61887 fi
61888 rm -f conftest.err conftest.$ac_objext \
61889 conftest$ac_exeext conftest.$ac_ext
61890 fi
61891 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61892 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61893 if test `eval echo '${'$as_ac_var'}'` = yes; then
61894 cat >>confdefs.h <<_ACEOF
61895 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61896 _ACEOF
61897
61898 fi
61899 done
61900
61901 else
61902
61903 echo "$as_me:$LINENO: checking for _powf declaration" >&5
61904 echo $ECHO_N "checking for _powf declaration... $ECHO_C" >&6
61905 if test x${glibcxx_cv_func__powf_use+set} != xset; then
61906 if test "${glibcxx_cv_func__powf_use+set}" = set; then
61907 echo $ECHO_N "(cached) $ECHO_C" >&6
61908 else
61909
61910
61911
61912 ac_ext=cc
61913 ac_cpp='$CXXCPP $CPPFLAGS'
61914 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61915 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61916 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61917
61918 cat >conftest.$ac_ext <<_ACEOF
61919 /* confdefs.h. */
61920 _ACEOF
61921 cat confdefs.h >>conftest.$ac_ext
61922 cat >>conftest.$ac_ext <<_ACEOF
61923 /* end confdefs.h. */
61924 #include <math.h>
61925 int
61926 main ()
61927 {
61928 _powf(0, 0);
61929 ;
61930 return 0;
61931 }
61932 _ACEOF
61933 rm -f conftest.$ac_objext
61934 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61935 (eval $ac_compile) 2>conftest.er1
61936 ac_status=$?
61937 grep -v '^ *+' conftest.er1 >conftest.err
61938 rm -f conftest.er1
61939 cat conftest.err >&5
61940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61941 (exit $ac_status); } &&
61942 { ac_try='test -z "$ac_cxx_werror_flag"
61943 || test ! -s conftest.err'
61944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61945 (eval $ac_try) 2>&5
61946 ac_status=$?
61947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61948 (exit $ac_status); }; } &&
61949 { ac_try='test -s conftest.$ac_objext'
61950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61951 (eval $ac_try) 2>&5
61952 ac_status=$?
61953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61954 (exit $ac_status); }; }; then
61955 glibcxx_cv_func__powf_use=yes
61956 else
61957 echo "$as_me: failed program was:" >&5
61958 sed 's/^/| /' conftest.$ac_ext >&5
61959
61960 glibcxx_cv_func__powf_use=no
61961 fi
61962 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61963 ac_ext=c
61964 ac_cpp='$CPP $CPPFLAGS'
61965 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61966 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61967 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61968
61969
61970 fi
61971
61972 fi
61973 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powf_use" >&5
61974 echo "${ECHO_T}$glibcxx_cv_func__powf_use" >&6
61975
61976 if test x$glibcxx_cv_func__powf_use = x"yes"; then
61977
61978 for ac_func in _powf
61979 do
61980 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61981 echo "$as_me:$LINENO: checking for $ac_func" >&5
61982 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
61983 if eval "test \"\${$as_ac_var+set}\" = set"; then
61984 echo $ECHO_N "(cached) $ECHO_C" >&6
61985 else
61986 if test x$gcc_no_link = xyes; then
61987 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61988 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61989 { (exit 1); exit 1; }; }
61990 fi
61991 cat >conftest.$ac_ext <<_ACEOF
61992 /* confdefs.h. */
61993 _ACEOF
61994 cat confdefs.h >>conftest.$ac_ext
61995 cat >>conftest.$ac_ext <<_ACEOF
61996 /* end confdefs.h. */
61997 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
61998 For example, HP-UX 11i <limits.h> declares gettimeofday. */
61999 #define $ac_func innocuous_$ac_func
62000
62001 /* System header to define __stub macros and hopefully few prototypes,
62002 which can conflict with char $ac_func (); below.
62003 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62004 <limits.h> exists even on freestanding compilers. */
62005
62006 #ifdef __STDC__
62007 # include <limits.h>
62008 #else
62009 # include <assert.h>
62010 #endif
62011
62012 #undef $ac_func
62013
62014 /* Override any gcc2 internal prototype to avoid an error. */
62015 #ifdef __cplusplus
62016 extern "C"
62017 {
62018 #endif
62019 /* We use char because int might match the return type of a gcc2
62020 builtin and then its argument prototype would still apply. */
62021 char $ac_func ();
62022 /* The GNU C library defines this for functions which it implements
62023 to always fail with ENOSYS. Some functions are actually named
62024 something starting with __ and the normal name is an alias. */
62025 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
62026 choke me
62027 #else
62028 char (*f) () = $ac_func;
62029 #endif
62030 #ifdef __cplusplus
62031 }
62032 #endif
62033
62034 int
62035 main ()
62036 {
62037 return f != $ac_func;
62038 ;
62039 return 0;
62040 }
62041 _ACEOF
62042 rm -f conftest.$ac_objext conftest$ac_exeext
62043 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62044 (eval $ac_link) 2>conftest.er1
62045 ac_status=$?
62046 grep -v '^ *+' conftest.er1 >conftest.err
62047 rm -f conftest.er1
62048 cat conftest.err >&5
62049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62050 (exit $ac_status); } &&
62051 { ac_try='test -z "$ac_c_werror_flag"
62052 || test ! -s conftest.err'
62053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62054 (eval $ac_try) 2>&5
62055 ac_status=$?
62056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62057 (exit $ac_status); }; } &&
62058 { ac_try='test -s conftest$ac_exeext'
62059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62060 (eval $ac_try) 2>&5
62061 ac_status=$?
62062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62063 (exit $ac_status); }; }; then
62064 eval "$as_ac_var=yes"
62065 else
62066 echo "$as_me: failed program was:" >&5
62067 sed 's/^/| /' conftest.$ac_ext >&5
62068
62069 eval "$as_ac_var=no"
62070 fi
62071 rm -f conftest.err conftest.$ac_objext \
62072 conftest$ac_exeext conftest.$ac_ext
62073 fi
62074 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
62075 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
62076 if test `eval echo '${'$as_ac_var'}'` = yes; then
62077 cat >>confdefs.h <<_ACEOF
62078 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62079 _ACEOF
62080
62081 fi
62082 done
62083
62084 fi
62085 fi
62086
62087
62088
62089
62090
62091
62092 echo "$as_me:$LINENO: checking for sqrtf declaration" >&5
62093 echo $ECHO_N "checking for sqrtf declaration... $ECHO_C" >&6
62094 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
62095 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then
62096 echo $ECHO_N "(cached) $ECHO_C" >&6
62097 else
62098
62099
62100
62101 ac_ext=cc
62102 ac_cpp='$CXXCPP $CPPFLAGS'
62103 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62104 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62105 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62106
62107 cat >conftest.$ac_ext <<_ACEOF
62108 /* confdefs.h. */
62109 _ACEOF
62110 cat confdefs.h >>conftest.$ac_ext
62111 cat >>conftest.$ac_ext <<_ACEOF
62112 /* end confdefs.h. */
62113 #include <math.h>
62114 #ifdef HAVE_IEEEFP_H
62115 #include <ieeefp.h>
62116 #endif
62117
62118 int
62119 main ()
62120 {
62121 sqrtf(0);
62122 ;
62123 return 0;
62124 }
62125 _ACEOF
62126 rm -f conftest.$ac_objext
62127 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62128 (eval $ac_compile) 2>conftest.er1
62129 ac_status=$?
62130 grep -v '^ *+' conftest.er1 >conftest.err
62131 rm -f conftest.er1
62132 cat conftest.err >&5
62133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62134 (exit $ac_status); } &&
62135 { ac_try='test -z "$ac_cxx_werror_flag"
62136 || test ! -s conftest.err'
62137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62138 (eval $ac_try) 2>&5
62139 ac_status=$?
62140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62141 (exit $ac_status); }; } &&
62142 { ac_try='test -s conftest.$ac_objext'
62143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62144 (eval $ac_try) 2>&5
62145 ac_status=$?
62146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62147 (exit $ac_status); }; }; then
62148 glibcxx_cv_func_sqrtf_use=yes
62149 else
62150 echo "$as_me: failed program was:" >&5
62151 sed 's/^/| /' conftest.$ac_ext >&5
62152
62153 glibcxx_cv_func_sqrtf_use=no
62154 fi
62155 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62156 ac_ext=c
62157 ac_cpp='$CPP $CPPFLAGS'
62158 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62159 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62160 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62161
62162
62163 fi
62164
62165 fi
62166 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtf_use" >&5
62167 echo "${ECHO_T}$glibcxx_cv_func_sqrtf_use" >&6
62168
62169 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
62170
62171 for ac_func in sqrtf
62172 do
62173 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62174 echo "$as_me:$LINENO: checking for $ac_func" >&5
62175 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62176 if eval "test \"\${$as_ac_var+set}\" = set"; then
62177 echo $ECHO_N "(cached) $ECHO_C" >&6
62178 else
62179 if test x$gcc_no_link = xyes; then
62180 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62181 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62182 { (exit 1); exit 1; }; }
62183 fi
62184 cat >conftest.$ac_ext <<_ACEOF
62185 /* confdefs.h. */
62186 _ACEOF
62187 cat confdefs.h >>conftest.$ac_ext
62188 cat >>conftest.$ac_ext <<_ACEOF
62189 /* end confdefs.h. */
62190 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62191 For example, HP-UX 11i <limits.h> declares gettimeofday. */
62192 #define $ac_func innocuous_$ac_func
62193
62194 /* System header to define __stub macros and hopefully few prototypes,
62195 which can conflict with char $ac_func (); below.
62196 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62197 <limits.h> exists even on freestanding compilers. */
62198
62199 #ifdef __STDC__
62200 # include <limits.h>
62201 #else
62202 # include <assert.h>
62203 #endif
62204
62205 #undef $ac_func
62206
62207 /* Override any gcc2 internal prototype to avoid an error. */
62208 #ifdef __cplusplus
62209 extern "C"
62210 {
62211 #endif
62212 /* We use char because int might match the return type of a gcc2
62213 builtin and then its argument prototype would still apply. */
62214 char $ac_func ();
62215 /* The GNU C library defines this for functions which it implements
62216 to always fail with ENOSYS. Some functions are actually named
62217 something starting with __ and the normal name is an alias. */
62218 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
62219 choke me
62220 #else
62221 char (*f) () = $ac_func;
62222 #endif
62223 #ifdef __cplusplus
62224 }
62225 #endif
62226
62227 int
62228 main ()
62229 {
62230 return f != $ac_func;
62231 ;
62232 return 0;
62233 }
62234 _ACEOF
62235 rm -f conftest.$ac_objext conftest$ac_exeext
62236 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62237 (eval $ac_link) 2>conftest.er1
62238 ac_status=$?
62239 grep -v '^ *+' conftest.er1 >conftest.err
62240 rm -f conftest.er1
62241 cat conftest.err >&5
62242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62243 (exit $ac_status); } &&
62244 { ac_try='test -z "$ac_c_werror_flag"
62245 || test ! -s conftest.err'
62246 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62247 (eval $ac_try) 2>&5
62248 ac_status=$?
62249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62250 (exit $ac_status); }; } &&
62251 { ac_try='test -s conftest$ac_exeext'
62252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62253 (eval $ac_try) 2>&5
62254 ac_status=$?
62255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62256 (exit $ac_status); }; }; then
62257 eval "$as_ac_var=yes"
62258 else
62259 echo "$as_me: failed program was:" >&5
62260 sed 's/^/| /' conftest.$ac_ext >&5
62261
62262 eval "$as_ac_var=no"
62263 fi
62264 rm -f conftest.err conftest.$ac_objext \
62265 conftest$ac_exeext conftest.$ac_ext
62266 fi
62267 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
62268 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
62269 if test `eval echo '${'$as_ac_var'}'` = yes; then
62270 cat >>confdefs.h <<_ACEOF
62271 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62272 _ACEOF
62273
62274 fi
62275 done
62276
62277 else
62278
62279 echo "$as_me:$LINENO: checking for _sqrtf declaration" >&5
62280 echo $ECHO_N "checking for _sqrtf declaration... $ECHO_C" >&6
62281 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
62282 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then
62283 echo $ECHO_N "(cached) $ECHO_C" >&6
62284 else
62285
62286
62287
62288 ac_ext=cc
62289 ac_cpp='$CXXCPP $CPPFLAGS'
62290 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62291 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62292 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62293
62294 cat >conftest.$ac_ext <<_ACEOF
62295 /* confdefs.h. */
62296 _ACEOF
62297 cat confdefs.h >>conftest.$ac_ext
62298 cat >>conftest.$ac_ext <<_ACEOF
62299 /* end confdefs.h. */
62300 #include <math.h>
62301 #ifdef HAVE_IEEEFP_H
62302 #include <ieeefp.h>
62303 #endif
62304
62305 int
62306 main ()
62307 {
62308 _sqrtf(0);
62309 ;
62310 return 0;
62311 }
62312 _ACEOF
62313 rm -f conftest.$ac_objext
62314 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62315 (eval $ac_compile) 2>conftest.er1
62316 ac_status=$?
62317 grep -v '^ *+' conftest.er1 >conftest.err
62318 rm -f conftest.er1
62319 cat conftest.err >&5
62320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62321 (exit $ac_status); } &&
62322 { ac_try='test -z "$ac_cxx_werror_flag"
62323 || test ! -s conftest.err'
62324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62325 (eval $ac_try) 2>&5
62326 ac_status=$?
62327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62328 (exit $ac_status); }; } &&
62329 { ac_try='test -s conftest.$ac_objext'
62330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62331 (eval $ac_try) 2>&5
62332 ac_status=$?
62333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62334 (exit $ac_status); }; }; then
62335 glibcxx_cv_func__sqrtf_use=yes
62336 else
62337 echo "$as_me: failed program was:" >&5
62338 sed 's/^/| /' conftest.$ac_ext >&5
62339
62340 glibcxx_cv_func__sqrtf_use=no
62341 fi
62342 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62343 ac_ext=c
62344 ac_cpp='$CPP $CPPFLAGS'
62345 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62346 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62347 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62348
62349
62350 fi
62351
62352 fi
62353 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtf_use" >&5
62354 echo "${ECHO_T}$glibcxx_cv_func__sqrtf_use" >&6
62355
62356 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
62357
62358 for ac_func in _sqrtf
62359 do
62360 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62361 echo "$as_me:$LINENO: checking for $ac_func" >&5
62362 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62363 if eval "test \"\${$as_ac_var+set}\" = set"; then
62364 echo $ECHO_N "(cached) $ECHO_C" >&6
62365 else
62366 if test x$gcc_no_link = xyes; then
62367 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62368 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62369 { (exit 1); exit 1; }; }
62370 fi
62371 cat >conftest.$ac_ext <<_ACEOF
62372 /* confdefs.h. */
62373 _ACEOF
62374 cat confdefs.h >>conftest.$ac_ext
62375 cat >>conftest.$ac_ext <<_ACEOF
62376 /* end confdefs.h. */
62377 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62378 For example, HP-UX 11i <limits.h> declares gettimeofday. */
62379 #define $ac_func innocuous_$ac_func
62380
62381 /* System header to define __stub macros and hopefully few prototypes,
62382 which can conflict with char $ac_func (); below.
62383 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62384 <limits.h> exists even on freestanding compilers. */
62385
62386 #ifdef __STDC__
62387 # include <limits.h>
62388 #else
62389 # include <assert.h>
62390 #endif
62391
62392 #undef $ac_func
62393
62394 /* Override any gcc2 internal prototype to avoid an error. */
62395 #ifdef __cplusplus
62396 extern "C"
62397 {
62398 #endif
62399 /* We use char because int might match the return type of a gcc2
62400 builtin and then its argument prototype would still apply. */
62401 char $ac_func ();
62402 /* The GNU C library defines this for functions which it implements
62403 to always fail with ENOSYS. Some functions are actually named
62404 something starting with __ and the normal name is an alias. */
62405 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
62406 choke me
62407 #else
62408 char (*f) () = $ac_func;
62409 #endif
62410 #ifdef __cplusplus
62411 }
62412 #endif
62413
62414 int
62415 main ()
62416 {
62417 return f != $ac_func;
62418 ;
62419 return 0;
62420 }
62421 _ACEOF
62422 rm -f conftest.$ac_objext conftest$ac_exeext
62423 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62424 (eval $ac_link) 2>conftest.er1
62425 ac_status=$?
62426 grep -v '^ *+' conftest.er1 >conftest.err
62427 rm -f conftest.er1
62428 cat conftest.err >&5
62429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62430 (exit $ac_status); } &&
62431 { ac_try='test -z "$ac_c_werror_flag"
62432 || test ! -s conftest.err'
62433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62434 (eval $ac_try) 2>&5
62435 ac_status=$?
62436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62437 (exit $ac_status); }; } &&
62438 { ac_try='test -s conftest$ac_exeext'
62439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62440 (eval $ac_try) 2>&5
62441 ac_status=$?
62442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62443 (exit $ac_status); }; }; then
62444 eval "$as_ac_var=yes"
62445 else
62446 echo "$as_me: failed program was:" >&5
62447 sed 's/^/| /' conftest.$ac_ext >&5
62448
62449 eval "$as_ac_var=no"
62450 fi
62451 rm -f conftest.err conftest.$ac_objext \
62452 conftest$ac_exeext conftest.$ac_ext
62453 fi
62454 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
62455 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
62456 if test `eval echo '${'$as_ac_var'}'` = yes; then
62457 cat >>confdefs.h <<_ACEOF
62458 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62459 _ACEOF
62460
62461 fi
62462 done
62463
62464 fi
62465 fi
62466
62467
62468
62469
62470
62471
62472 echo "$as_me:$LINENO: checking for sincosf declaration" >&5
62473 echo $ECHO_N "checking for sincosf declaration... $ECHO_C" >&6
62474 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
62475 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then
62476 echo $ECHO_N "(cached) $ECHO_C" >&6
62477 else
62478
62479
62480
62481 ac_ext=cc
62482 ac_cpp='$CXXCPP $CPPFLAGS'
62483 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62484 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62485 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62486
62487 cat >conftest.$ac_ext <<_ACEOF
62488 /* confdefs.h. */
62489 _ACEOF
62490 cat confdefs.h >>conftest.$ac_ext
62491 cat >>conftest.$ac_ext <<_ACEOF
62492 /* end confdefs.h. */
62493 #include <math.h>
62494 int
62495 main ()
62496 {
62497 sincosf(0, 0, 0);
62498 ;
62499 return 0;
62500 }
62501 _ACEOF
62502 rm -f conftest.$ac_objext
62503 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62504 (eval $ac_compile) 2>conftest.er1
62505 ac_status=$?
62506 grep -v '^ *+' conftest.er1 >conftest.err
62507 rm -f conftest.er1
62508 cat conftest.err >&5
62509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62510 (exit $ac_status); } &&
62511 { ac_try='test -z "$ac_cxx_werror_flag"
62512 || test ! -s conftest.err'
62513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62514 (eval $ac_try) 2>&5
62515 ac_status=$?
62516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62517 (exit $ac_status); }; } &&
62518 { ac_try='test -s conftest.$ac_objext'
62519 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62520 (eval $ac_try) 2>&5
62521 ac_status=$?
62522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62523 (exit $ac_status); }; }; then
62524 glibcxx_cv_func_sincosf_use=yes
62525 else
62526 echo "$as_me: failed program was:" >&5
62527 sed 's/^/| /' conftest.$ac_ext >&5
62528
62529 glibcxx_cv_func_sincosf_use=no
62530 fi
62531 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62532 ac_ext=c
62533 ac_cpp='$CPP $CPPFLAGS'
62534 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62535 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62536 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62537
62538
62539 fi
62540
62541 fi
62542 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosf_use" >&5
62543 echo "${ECHO_T}$glibcxx_cv_func_sincosf_use" >&6
62544
62545 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
62546
62547 for ac_func in sincosf
62548 do
62549 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62550 echo "$as_me:$LINENO: checking for $ac_func" >&5
62551 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62552 if eval "test \"\${$as_ac_var+set}\" = set"; then
62553 echo $ECHO_N "(cached) $ECHO_C" >&6
62554 else
62555 if test x$gcc_no_link = xyes; then
62556 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62557 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62558 { (exit 1); exit 1; }; }
62559 fi
62560 cat >conftest.$ac_ext <<_ACEOF
62561 /* confdefs.h. */
62562 _ACEOF
62563 cat confdefs.h >>conftest.$ac_ext
62564 cat >>conftest.$ac_ext <<_ACEOF
62565 /* end confdefs.h. */
62566 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62567 For example, HP-UX 11i <limits.h> declares gettimeofday. */
62568 #define $ac_func innocuous_$ac_func
62569
62570 /* System header to define __stub macros and hopefully few prototypes,
62571 which can conflict with char $ac_func (); below.
62572 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62573 <limits.h> exists even on freestanding compilers. */
62574
62575 #ifdef __STDC__
62576 # include <limits.h>
62577 #else
62578 # include <assert.h>
62579 #endif
62580
62581 #undef $ac_func
62582
62583 /* Override any gcc2 internal prototype to avoid an error. */
62584 #ifdef __cplusplus
62585 extern "C"
62586 {
62587 #endif
62588 /* We use char because int might match the return type of a gcc2
62589 builtin and then its argument prototype would still apply. */
62590 char $ac_func ();
62591 /* The GNU C library defines this for functions which it implements
62592 to always fail with ENOSYS. Some functions are actually named
62593 something starting with __ and the normal name is an alias. */
62594 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
62595 choke me
62596 #else
62597 char (*f) () = $ac_func;
62598 #endif
62599 #ifdef __cplusplus
62600 }
62601 #endif
62602
62603 int
62604 main ()
62605 {
62606 return f != $ac_func;
62607 ;
62608 return 0;
62609 }
62610 _ACEOF
62611 rm -f conftest.$ac_objext conftest$ac_exeext
62612 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62613 (eval $ac_link) 2>conftest.er1
62614 ac_status=$?
62615 grep -v '^ *+' conftest.er1 >conftest.err
62616 rm -f conftest.er1
62617 cat conftest.err >&5
62618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62619 (exit $ac_status); } &&
62620 { ac_try='test -z "$ac_c_werror_flag"
62621 || test ! -s conftest.err'
62622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62623 (eval $ac_try) 2>&5
62624 ac_status=$?
62625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62626 (exit $ac_status); }; } &&
62627 { ac_try='test -s conftest$ac_exeext'
62628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62629 (eval $ac_try) 2>&5
62630 ac_status=$?
62631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62632 (exit $ac_status); }; }; then
62633 eval "$as_ac_var=yes"
62634 else
62635 echo "$as_me: failed program was:" >&5
62636 sed 's/^/| /' conftest.$ac_ext >&5
62637
62638 eval "$as_ac_var=no"
62639 fi
62640 rm -f conftest.err conftest.$ac_objext \
62641 conftest$ac_exeext conftest.$ac_ext
62642 fi
62643 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
62644 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
62645 if test `eval echo '${'$as_ac_var'}'` = yes; then
62646 cat >>confdefs.h <<_ACEOF
62647 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62648 _ACEOF
62649
62650 fi
62651 done
62652
62653 else
62654
62655 echo "$as_me:$LINENO: checking for _sincosf declaration" >&5
62656 echo $ECHO_N "checking for _sincosf declaration... $ECHO_C" >&6
62657 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
62658 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then
62659 echo $ECHO_N "(cached) $ECHO_C" >&6
62660 else
62661
62662
62663
62664 ac_ext=cc
62665 ac_cpp='$CXXCPP $CPPFLAGS'
62666 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62667 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62668 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62669
62670 cat >conftest.$ac_ext <<_ACEOF
62671 /* confdefs.h. */
62672 _ACEOF
62673 cat confdefs.h >>conftest.$ac_ext
62674 cat >>conftest.$ac_ext <<_ACEOF
62675 /* end confdefs.h. */
62676 #include <math.h>
62677 int
62678 main ()
62679 {
62680 _sincosf(0, 0, 0);
62681 ;
62682 return 0;
62683 }
62684 _ACEOF
62685 rm -f conftest.$ac_objext
62686 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62687 (eval $ac_compile) 2>conftest.er1
62688 ac_status=$?
62689 grep -v '^ *+' conftest.er1 >conftest.err
62690 rm -f conftest.er1
62691 cat conftest.err >&5
62692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62693 (exit $ac_status); } &&
62694 { ac_try='test -z "$ac_cxx_werror_flag"
62695 || test ! -s conftest.err'
62696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62697 (eval $ac_try) 2>&5
62698 ac_status=$?
62699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62700 (exit $ac_status); }; } &&
62701 { ac_try='test -s conftest.$ac_objext'
62702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62703 (eval $ac_try) 2>&5
62704 ac_status=$?
62705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62706 (exit $ac_status); }; }; then
62707 glibcxx_cv_func__sincosf_use=yes
62708 else
62709 echo "$as_me: failed program was:" >&5
62710 sed 's/^/| /' conftest.$ac_ext >&5
62711
62712 glibcxx_cv_func__sincosf_use=no
62713 fi
62714 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62715 ac_ext=c
62716 ac_cpp='$CPP $CPPFLAGS'
62717 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62718 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62719 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62720
62721
62722 fi
62723
62724 fi
62725 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosf_use" >&5
62726 echo "${ECHO_T}$glibcxx_cv_func__sincosf_use" >&6
62727
62728 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
62729
62730 for ac_func in _sincosf
62731 do
62732 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62733 echo "$as_me:$LINENO: checking for $ac_func" >&5
62734 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62735 if eval "test \"\${$as_ac_var+set}\" = set"; then
62736 echo $ECHO_N "(cached) $ECHO_C" >&6
62737 else
62738 if test x$gcc_no_link = xyes; then
62739 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62740 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62741 { (exit 1); exit 1; }; }
62742 fi
62743 cat >conftest.$ac_ext <<_ACEOF
62744 /* confdefs.h. */
62745 _ACEOF
62746 cat confdefs.h >>conftest.$ac_ext
62747 cat >>conftest.$ac_ext <<_ACEOF
62748 /* end confdefs.h. */
62749 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62750 For example, HP-UX 11i <limits.h> declares gettimeofday. */
62751 #define $ac_func innocuous_$ac_func
62752
62753 /* System header to define __stub macros and hopefully few prototypes,
62754 which can conflict with char $ac_func (); below.
62755 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62756 <limits.h> exists even on freestanding compilers. */
62757
62758 #ifdef __STDC__
62759 # include <limits.h>
62760 #else
62761 # include <assert.h>
62762 #endif
62763
62764 #undef $ac_func
62765
62766 /* Override any gcc2 internal prototype to avoid an error. */
62767 #ifdef __cplusplus
62768 extern "C"
62769 {
62770 #endif
62771 /* We use char because int might match the return type of a gcc2
62772 builtin and then its argument prototype would still apply. */
62773 char $ac_func ();
62774 /* The GNU C library defines this for functions which it implements
62775 to always fail with ENOSYS. Some functions are actually named
62776 something starting with __ and the normal name is an alias. */
62777 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
62778 choke me
62779 #else
62780 char (*f) () = $ac_func;
62781 #endif
62782 #ifdef __cplusplus
62783 }
62784 #endif
62785
62786 int
62787 main ()
62788 {
62789 return f != $ac_func;
62790 ;
62791 return 0;
62792 }
62793 _ACEOF
62794 rm -f conftest.$ac_objext conftest$ac_exeext
62795 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62796 (eval $ac_link) 2>conftest.er1
62797 ac_status=$?
62798 grep -v '^ *+' conftest.er1 >conftest.err
62799 rm -f conftest.er1
62800 cat conftest.err >&5
62801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62802 (exit $ac_status); } &&
62803 { ac_try='test -z "$ac_c_werror_flag"
62804 || test ! -s conftest.err'
62805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62806 (eval $ac_try) 2>&5
62807 ac_status=$?
62808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62809 (exit $ac_status); }; } &&
62810 { ac_try='test -s conftest$ac_exeext'
62811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62812 (eval $ac_try) 2>&5
62813 ac_status=$?
62814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62815 (exit $ac_status); }; }; then
62816 eval "$as_ac_var=yes"
62817 else
62818 echo "$as_me: failed program was:" >&5
62819 sed 's/^/| /' conftest.$ac_ext >&5
62820
62821 eval "$as_ac_var=no"
62822 fi
62823 rm -f conftest.err conftest.$ac_objext \
62824 conftest$ac_exeext conftest.$ac_ext
62825 fi
62826 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
62827 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
62828 if test `eval echo '${'$as_ac_var'}'` = yes; then
62829 cat >>confdefs.h <<_ACEOF
62830 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62831 _ACEOF
62832
62833 fi
62834 done
62835
62836 fi
62837 fi
62838
62839
62840
62841
62842
62843
62844 echo "$as_me:$LINENO: checking for finitef declaration" >&5
62845 echo $ECHO_N "checking for finitef declaration... $ECHO_C" >&6
62846 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
62847 if test "${glibcxx_cv_func_finitef_use+set}" = set; then
62848 echo $ECHO_N "(cached) $ECHO_C" >&6
62849 else
62850
62851
62852
62853 ac_ext=cc
62854 ac_cpp='$CXXCPP $CPPFLAGS'
62855 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62856 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62857 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62858
62859 cat >conftest.$ac_ext <<_ACEOF
62860 /* confdefs.h. */
62861 _ACEOF
62862 cat confdefs.h >>conftest.$ac_ext
62863 cat >>conftest.$ac_ext <<_ACEOF
62864 /* end confdefs.h. */
62865 #include <math.h>
62866 #ifdef HAVE_IEEEFP_H
62867 #include <ieeefp.h>
62868 #endif
62869
62870 int
62871 main ()
62872 {
62873 finitef(0);
62874 ;
62875 return 0;
62876 }
62877 _ACEOF
62878 rm -f conftest.$ac_objext
62879 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62880 (eval $ac_compile) 2>conftest.er1
62881 ac_status=$?
62882 grep -v '^ *+' conftest.er1 >conftest.err
62883 rm -f conftest.er1
62884 cat conftest.err >&5
62885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62886 (exit $ac_status); } &&
62887 { ac_try='test -z "$ac_cxx_werror_flag"
62888 || test ! -s conftest.err'
62889 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62890 (eval $ac_try) 2>&5
62891 ac_status=$?
62892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62893 (exit $ac_status); }; } &&
62894 { ac_try='test -s conftest.$ac_objext'
62895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62896 (eval $ac_try) 2>&5
62897 ac_status=$?
62898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62899 (exit $ac_status); }; }; then
62900 glibcxx_cv_func_finitef_use=yes
62901 else
62902 echo "$as_me: failed program was:" >&5
62903 sed 's/^/| /' conftest.$ac_ext >&5
62904
62905 glibcxx_cv_func_finitef_use=no
62906 fi
62907 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62908 ac_ext=c
62909 ac_cpp='$CPP $CPPFLAGS'
62910 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62911 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62912 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62913
62914
62915 fi
62916
62917 fi
62918 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitef_use" >&5
62919 echo "${ECHO_T}$glibcxx_cv_func_finitef_use" >&6
62920
62921 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
62922
62923 for ac_func in finitef
62924 do
62925 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62926 echo "$as_me:$LINENO: checking for $ac_func" >&5
62927 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62928 if eval "test \"\${$as_ac_var+set}\" = set"; then
62929 echo $ECHO_N "(cached) $ECHO_C" >&6
62930 else
62931 if test x$gcc_no_link = xyes; then
62932 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62933 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62934 { (exit 1); exit 1; }; }
62935 fi
62936 cat >conftest.$ac_ext <<_ACEOF
62937 /* confdefs.h. */
62938 _ACEOF
62939 cat confdefs.h >>conftest.$ac_ext
62940 cat >>conftest.$ac_ext <<_ACEOF
62941 /* end confdefs.h. */
62942 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62943 For example, HP-UX 11i <limits.h> declares gettimeofday. */
62944 #define $ac_func innocuous_$ac_func
62945
62946 /* System header to define __stub macros and hopefully few prototypes,
62947 which can conflict with char $ac_func (); below.
62948 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62949 <limits.h> exists even on freestanding compilers. */
62950
62951 #ifdef __STDC__
62952 # include <limits.h>
62953 #else
62954 # include <assert.h>
62955 #endif
62956
62957 #undef $ac_func
62958
62959 /* Override any gcc2 internal prototype to avoid an error. */
62960 #ifdef __cplusplus
62961 extern "C"
62962 {
62963 #endif
62964 /* We use char because int might match the return type of a gcc2
62965 builtin and then its argument prototype would still apply. */
62966 char $ac_func ();
62967 /* The GNU C library defines this for functions which it implements
62968 to always fail with ENOSYS. Some functions are actually named
62969 something starting with __ and the normal name is an alias. */
62970 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
62971 choke me
62972 #else
62973 char (*f) () = $ac_func;
62974 #endif
62975 #ifdef __cplusplus
62976 }
62977 #endif
62978
62979 int
62980 main ()
62981 {
62982 return f != $ac_func;
62983 ;
62984 return 0;
62985 }
62986 _ACEOF
62987 rm -f conftest.$ac_objext conftest$ac_exeext
62988 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62989 (eval $ac_link) 2>conftest.er1
62990 ac_status=$?
62991 grep -v '^ *+' conftest.er1 >conftest.err
62992 rm -f conftest.er1
62993 cat conftest.err >&5
62994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62995 (exit $ac_status); } &&
62996 { ac_try='test -z "$ac_c_werror_flag"
62997 || test ! -s conftest.err'
62998 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62999 (eval $ac_try) 2>&5
63000 ac_status=$?
63001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63002 (exit $ac_status); }; } &&
63003 { ac_try='test -s conftest$ac_exeext'
63004 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63005 (eval $ac_try) 2>&5
63006 ac_status=$?
63007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63008 (exit $ac_status); }; }; then
63009 eval "$as_ac_var=yes"
63010 else
63011 echo "$as_me: failed program was:" >&5
63012 sed 's/^/| /' conftest.$ac_ext >&5
63013
63014 eval "$as_ac_var=no"
63015 fi
63016 rm -f conftest.err conftest.$ac_objext \
63017 conftest$ac_exeext conftest.$ac_ext
63018 fi
63019 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63020 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63021 if test `eval echo '${'$as_ac_var'}'` = yes; then
63022 cat >>confdefs.h <<_ACEOF
63023 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63024 _ACEOF
63025
63026 fi
63027 done
63028
63029 else
63030
63031 echo "$as_me:$LINENO: checking for _finitef declaration" >&5
63032 echo $ECHO_N "checking for _finitef declaration... $ECHO_C" >&6
63033 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
63034 if test "${glibcxx_cv_func__finitef_use+set}" = set; then
63035 echo $ECHO_N "(cached) $ECHO_C" >&6
63036 else
63037
63038
63039
63040 ac_ext=cc
63041 ac_cpp='$CXXCPP $CPPFLAGS'
63042 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63043 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63044 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63045
63046 cat >conftest.$ac_ext <<_ACEOF
63047 /* confdefs.h. */
63048 _ACEOF
63049 cat confdefs.h >>conftest.$ac_ext
63050 cat >>conftest.$ac_ext <<_ACEOF
63051 /* end confdefs.h. */
63052 #include <math.h>
63053 #ifdef HAVE_IEEEFP_H
63054 #include <ieeefp.h>
63055 #endif
63056
63057 int
63058 main ()
63059 {
63060 _finitef(0);
63061 ;
63062 return 0;
63063 }
63064 _ACEOF
63065 rm -f conftest.$ac_objext
63066 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63067 (eval $ac_compile) 2>conftest.er1
63068 ac_status=$?
63069 grep -v '^ *+' conftest.er1 >conftest.err
63070 rm -f conftest.er1
63071 cat conftest.err >&5
63072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63073 (exit $ac_status); } &&
63074 { ac_try='test -z "$ac_cxx_werror_flag"
63075 || test ! -s conftest.err'
63076 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63077 (eval $ac_try) 2>&5
63078 ac_status=$?
63079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63080 (exit $ac_status); }; } &&
63081 { ac_try='test -s conftest.$ac_objext'
63082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63083 (eval $ac_try) 2>&5
63084 ac_status=$?
63085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63086 (exit $ac_status); }; }; then
63087 glibcxx_cv_func__finitef_use=yes
63088 else
63089 echo "$as_me: failed program was:" >&5
63090 sed 's/^/| /' conftest.$ac_ext >&5
63091
63092 glibcxx_cv_func__finitef_use=no
63093 fi
63094 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63095 ac_ext=c
63096 ac_cpp='$CPP $CPPFLAGS'
63097 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63098 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63099 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63100
63101
63102 fi
63103
63104 fi
63105 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitef_use" >&5
63106 echo "${ECHO_T}$glibcxx_cv_func__finitef_use" >&6
63107
63108 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
63109
63110 for ac_func in _finitef
63111 do
63112 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63113 echo "$as_me:$LINENO: checking for $ac_func" >&5
63114 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63115 if eval "test \"\${$as_ac_var+set}\" = set"; then
63116 echo $ECHO_N "(cached) $ECHO_C" >&6
63117 else
63118 if test x$gcc_no_link = xyes; then
63119 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63120 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63121 { (exit 1); exit 1; }; }
63122 fi
63123 cat >conftest.$ac_ext <<_ACEOF
63124 /* confdefs.h. */
63125 _ACEOF
63126 cat confdefs.h >>conftest.$ac_ext
63127 cat >>conftest.$ac_ext <<_ACEOF
63128 /* end confdefs.h. */
63129 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63130 For example, HP-UX 11i <limits.h> declares gettimeofday. */
63131 #define $ac_func innocuous_$ac_func
63132
63133 /* System header to define __stub macros and hopefully few prototypes,
63134 which can conflict with char $ac_func (); below.
63135 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63136 <limits.h> exists even on freestanding compilers. */
63137
63138 #ifdef __STDC__
63139 # include <limits.h>
63140 #else
63141 # include <assert.h>
63142 #endif
63143
63144 #undef $ac_func
63145
63146 /* Override any gcc2 internal prototype to avoid an error. */
63147 #ifdef __cplusplus
63148 extern "C"
63149 {
63150 #endif
63151 /* We use char because int might match the return type of a gcc2
63152 builtin and then its argument prototype would still apply. */
63153 char $ac_func ();
63154 /* The GNU C library defines this for functions which it implements
63155 to always fail with ENOSYS. Some functions are actually named
63156 something starting with __ and the normal name is an alias. */
63157 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63158 choke me
63159 #else
63160 char (*f) () = $ac_func;
63161 #endif
63162 #ifdef __cplusplus
63163 }
63164 #endif
63165
63166 int
63167 main ()
63168 {
63169 return f != $ac_func;
63170 ;
63171 return 0;
63172 }
63173 _ACEOF
63174 rm -f conftest.$ac_objext conftest$ac_exeext
63175 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63176 (eval $ac_link) 2>conftest.er1
63177 ac_status=$?
63178 grep -v '^ *+' conftest.er1 >conftest.err
63179 rm -f conftest.er1
63180 cat conftest.err >&5
63181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63182 (exit $ac_status); } &&
63183 { ac_try='test -z "$ac_c_werror_flag"
63184 || test ! -s conftest.err'
63185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63186 (eval $ac_try) 2>&5
63187 ac_status=$?
63188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63189 (exit $ac_status); }; } &&
63190 { ac_try='test -s conftest$ac_exeext'
63191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63192 (eval $ac_try) 2>&5
63193 ac_status=$?
63194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63195 (exit $ac_status); }; }; then
63196 eval "$as_ac_var=yes"
63197 else
63198 echo "$as_me: failed program was:" >&5
63199 sed 's/^/| /' conftest.$ac_ext >&5
63200
63201 eval "$as_ac_var=no"
63202 fi
63203 rm -f conftest.err conftest.$ac_objext \
63204 conftest$ac_exeext conftest.$ac_ext
63205 fi
63206 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63207 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63208 if test `eval echo '${'$as_ac_var'}'` = yes; then
63209 cat >>confdefs.h <<_ACEOF
63210 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63211 _ACEOF
63212
63213 fi
63214 done
63215
63216 fi
63217 fi
63218
63219
63220
63221
63222
63223
63224 echo "$as_me:$LINENO: checking for long double trig functions" >&5
63225 echo $ECHO_N "checking for long double trig functions... $ECHO_C" >&6
63226 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then
63227 echo $ECHO_N "(cached) $ECHO_C" >&6
63228 else
63229
63230
63231
63232 ac_ext=cc
63233 ac_cpp='$CXXCPP $CPPFLAGS'
63234 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63235 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63236 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63237
63238 cat >conftest.$ac_ext <<_ACEOF
63239 /* confdefs.h. */
63240 _ACEOF
63241 cat confdefs.h >>conftest.$ac_ext
63242 cat >>conftest.$ac_ext <<_ACEOF
63243 /* end confdefs.h. */
63244 #include <math.h>
63245 int
63246 main ()
63247 {
63248 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
63249 ;
63250 return 0;
63251 }
63252 _ACEOF
63253 rm -f conftest.$ac_objext
63254 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63255 (eval $ac_compile) 2>conftest.er1
63256 ac_status=$?
63257 grep -v '^ *+' conftest.er1 >conftest.err
63258 rm -f conftest.er1
63259 cat conftest.err >&5
63260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63261 (exit $ac_status); } &&
63262 { ac_try='test -z "$ac_cxx_werror_flag"
63263 || test ! -s conftest.err'
63264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63265 (eval $ac_try) 2>&5
63266 ac_status=$?
63267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63268 (exit $ac_status); }; } &&
63269 { ac_try='test -s conftest.$ac_objext'
63270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63271 (eval $ac_try) 2>&5
63272 ac_status=$?
63273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63274 (exit $ac_status); }; }; then
63275 glibcxx_cv_func_long_double_trig_use=yes
63276 else
63277 echo "$as_me: failed program was:" >&5
63278 sed 's/^/| /' conftest.$ac_ext >&5
63279
63280 glibcxx_cv_func_long_double_trig_use=no
63281 fi
63282 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63283 ac_ext=c
63284 ac_cpp='$CPP $CPPFLAGS'
63285 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63286 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63287 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63288
63289 fi
63290
63291 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_trig_use" >&5
63292 echo "${ECHO_T}$glibcxx_cv_func_long_double_trig_use" >&6
63293 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
63294
63295
63296
63297
63298
63299
63300
63301
63302
63303 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
63304 do
63305 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63306 echo "$as_me:$LINENO: checking for $ac_func" >&5
63307 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63308 if eval "test \"\${$as_ac_var+set}\" = set"; then
63309 echo $ECHO_N "(cached) $ECHO_C" >&6
63310 else
63311 if test x$gcc_no_link = xyes; then
63312 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63313 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63314 { (exit 1); exit 1; }; }
63315 fi
63316 cat >conftest.$ac_ext <<_ACEOF
63317 /* confdefs.h. */
63318 _ACEOF
63319 cat confdefs.h >>conftest.$ac_ext
63320 cat >>conftest.$ac_ext <<_ACEOF
63321 /* end confdefs.h. */
63322 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63323 For example, HP-UX 11i <limits.h> declares gettimeofday. */
63324 #define $ac_func innocuous_$ac_func
63325
63326 /* System header to define __stub macros and hopefully few prototypes,
63327 which can conflict with char $ac_func (); below.
63328 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63329 <limits.h> exists even on freestanding compilers. */
63330
63331 #ifdef __STDC__
63332 # include <limits.h>
63333 #else
63334 # include <assert.h>
63335 #endif
63336
63337 #undef $ac_func
63338
63339 /* Override any gcc2 internal prototype to avoid an error. */
63340 #ifdef __cplusplus
63341 extern "C"
63342 {
63343 #endif
63344 /* We use char because int might match the return type of a gcc2
63345 builtin and then its argument prototype would still apply. */
63346 char $ac_func ();
63347 /* The GNU C library defines this for functions which it implements
63348 to always fail with ENOSYS. Some functions are actually named
63349 something starting with __ and the normal name is an alias. */
63350 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63351 choke me
63352 #else
63353 char (*f) () = $ac_func;
63354 #endif
63355 #ifdef __cplusplus
63356 }
63357 #endif
63358
63359 int
63360 main ()
63361 {
63362 return f != $ac_func;
63363 ;
63364 return 0;
63365 }
63366 _ACEOF
63367 rm -f conftest.$ac_objext conftest$ac_exeext
63368 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63369 (eval $ac_link) 2>conftest.er1
63370 ac_status=$?
63371 grep -v '^ *+' conftest.er1 >conftest.err
63372 rm -f conftest.er1
63373 cat conftest.err >&5
63374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63375 (exit $ac_status); } &&
63376 { ac_try='test -z "$ac_c_werror_flag"
63377 || test ! -s conftest.err'
63378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63379 (eval $ac_try) 2>&5
63380 ac_status=$?
63381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63382 (exit $ac_status); }; } &&
63383 { ac_try='test -s conftest$ac_exeext'
63384 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63385 (eval $ac_try) 2>&5
63386 ac_status=$?
63387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63388 (exit $ac_status); }; }; then
63389 eval "$as_ac_var=yes"
63390 else
63391 echo "$as_me: failed program was:" >&5
63392 sed 's/^/| /' conftest.$ac_ext >&5
63393
63394 eval "$as_ac_var=no"
63395 fi
63396 rm -f conftest.err conftest.$ac_objext \
63397 conftest$ac_exeext conftest.$ac_ext
63398 fi
63399 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63400 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63401 if test `eval echo '${'$as_ac_var'}'` = yes; then
63402 cat >>confdefs.h <<_ACEOF
63403 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63404 _ACEOF
63405
63406 fi
63407 done
63408
63409 else
63410 echo "$as_me:$LINENO: checking for _long double trig functions" >&5
63411 echo $ECHO_N "checking for _long double trig functions... $ECHO_C" >&6
63412 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then
63413 echo $ECHO_N "(cached) $ECHO_C" >&6
63414 else
63415
63416
63417
63418 ac_ext=cc
63419 ac_cpp='$CXXCPP $CPPFLAGS'
63420 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63421 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63422 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63423
63424 cat >conftest.$ac_ext <<_ACEOF
63425 /* confdefs.h. */
63426 _ACEOF
63427 cat confdefs.h >>conftest.$ac_ext
63428 cat >>conftest.$ac_ext <<_ACEOF
63429 /* end confdefs.h. */
63430 #include <math.h>
63431 int
63432 main ()
63433 {
63434 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
63435 ;
63436 return 0;
63437 }
63438 _ACEOF
63439 rm -f conftest.$ac_objext
63440 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63441 (eval $ac_compile) 2>conftest.er1
63442 ac_status=$?
63443 grep -v '^ *+' conftest.er1 >conftest.err
63444 rm -f conftest.er1
63445 cat conftest.err >&5
63446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63447 (exit $ac_status); } &&
63448 { ac_try='test -z "$ac_cxx_werror_flag"
63449 || test ! -s conftest.err'
63450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63451 (eval $ac_try) 2>&5
63452 ac_status=$?
63453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63454 (exit $ac_status); }; } &&
63455 { ac_try='test -s conftest.$ac_objext'
63456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63457 (eval $ac_try) 2>&5
63458 ac_status=$?
63459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63460 (exit $ac_status); }; }; then
63461 glibcxx_cv_func__long_double_trig_use=yes
63462 else
63463 echo "$as_me: failed program was:" >&5
63464 sed 's/^/| /' conftest.$ac_ext >&5
63465
63466 glibcxx_cv_func__long_double_trig_use=no
63467 fi
63468 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63469 ac_ext=c
63470 ac_cpp='$CPP $CPPFLAGS'
63471 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63472 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63473 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63474
63475 fi
63476
63477 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_trig_use" >&5
63478 echo "${ECHO_T}$glibcxx_cv_func__long_double_trig_use" >&6
63479 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
63480
63481
63482
63483
63484
63485
63486
63487
63488
63489 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
63490 do
63491 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63492 echo "$as_me:$LINENO: checking for $ac_func" >&5
63493 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63494 if eval "test \"\${$as_ac_var+set}\" = set"; then
63495 echo $ECHO_N "(cached) $ECHO_C" >&6
63496 else
63497 if test x$gcc_no_link = xyes; then
63498 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63499 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63500 { (exit 1); exit 1; }; }
63501 fi
63502 cat >conftest.$ac_ext <<_ACEOF
63503 /* confdefs.h. */
63504 _ACEOF
63505 cat confdefs.h >>conftest.$ac_ext
63506 cat >>conftest.$ac_ext <<_ACEOF
63507 /* end confdefs.h. */
63508 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63509 For example, HP-UX 11i <limits.h> declares gettimeofday. */
63510 #define $ac_func innocuous_$ac_func
63511
63512 /* System header to define __stub macros and hopefully few prototypes,
63513 which can conflict with char $ac_func (); below.
63514 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63515 <limits.h> exists even on freestanding compilers. */
63516
63517 #ifdef __STDC__
63518 # include <limits.h>
63519 #else
63520 # include <assert.h>
63521 #endif
63522
63523 #undef $ac_func
63524
63525 /* Override any gcc2 internal prototype to avoid an error. */
63526 #ifdef __cplusplus
63527 extern "C"
63528 {
63529 #endif
63530 /* We use char because int might match the return type of a gcc2
63531 builtin and then its argument prototype would still apply. */
63532 char $ac_func ();
63533 /* The GNU C library defines this for functions which it implements
63534 to always fail with ENOSYS. Some functions are actually named
63535 something starting with __ and the normal name is an alias. */
63536 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63537 choke me
63538 #else
63539 char (*f) () = $ac_func;
63540 #endif
63541 #ifdef __cplusplus
63542 }
63543 #endif
63544
63545 int
63546 main ()
63547 {
63548 return f != $ac_func;
63549 ;
63550 return 0;
63551 }
63552 _ACEOF
63553 rm -f conftest.$ac_objext conftest$ac_exeext
63554 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63555 (eval $ac_link) 2>conftest.er1
63556 ac_status=$?
63557 grep -v '^ *+' conftest.er1 >conftest.err
63558 rm -f conftest.er1
63559 cat conftest.err >&5
63560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63561 (exit $ac_status); } &&
63562 { ac_try='test -z "$ac_c_werror_flag"
63563 || test ! -s conftest.err'
63564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63565 (eval $ac_try) 2>&5
63566 ac_status=$?
63567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63568 (exit $ac_status); }; } &&
63569 { ac_try='test -s conftest$ac_exeext'
63570 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63571 (eval $ac_try) 2>&5
63572 ac_status=$?
63573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63574 (exit $ac_status); }; }; then
63575 eval "$as_ac_var=yes"
63576 else
63577 echo "$as_me: failed program was:" >&5
63578 sed 's/^/| /' conftest.$ac_ext >&5
63579
63580 eval "$as_ac_var=no"
63581 fi
63582 rm -f conftest.err conftest.$ac_objext \
63583 conftest$ac_exeext conftest.$ac_ext
63584 fi
63585 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63586 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63587 if test `eval echo '${'$as_ac_var'}'` = yes; then
63588 cat >>confdefs.h <<_ACEOF
63589 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63590 _ACEOF
63591
63592 fi
63593 done
63594
63595 fi
63596 fi
63597
63598
63599
63600
63601
63602
63603
63604
63605
63606
63607
63608
63609
63610
63611 echo "$as_me:$LINENO: checking for long double round functions" >&5
63612 echo $ECHO_N "checking for long double round functions... $ECHO_C" >&6
63613 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then
63614 echo $ECHO_N "(cached) $ECHO_C" >&6
63615 else
63616
63617
63618
63619 ac_ext=cc
63620 ac_cpp='$CXXCPP $CPPFLAGS'
63621 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63622 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63623 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63624
63625 cat >conftest.$ac_ext <<_ACEOF
63626 /* confdefs.h. */
63627 _ACEOF
63628 cat confdefs.h >>conftest.$ac_ext
63629 cat >>conftest.$ac_ext <<_ACEOF
63630 /* end confdefs.h. */
63631 #include <math.h>
63632 int
63633 main ()
63634 {
63635 ceill (0); floorl (0);
63636 ;
63637 return 0;
63638 }
63639 _ACEOF
63640 rm -f conftest.$ac_objext
63641 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63642 (eval $ac_compile) 2>conftest.er1
63643 ac_status=$?
63644 grep -v '^ *+' conftest.er1 >conftest.err
63645 rm -f conftest.er1
63646 cat conftest.err >&5
63647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63648 (exit $ac_status); } &&
63649 { ac_try='test -z "$ac_cxx_werror_flag"
63650 || test ! -s conftest.err'
63651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63652 (eval $ac_try) 2>&5
63653 ac_status=$?
63654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63655 (exit $ac_status); }; } &&
63656 { ac_try='test -s conftest.$ac_objext'
63657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63658 (eval $ac_try) 2>&5
63659 ac_status=$?
63660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63661 (exit $ac_status); }; }; then
63662 glibcxx_cv_func_long_double_round_use=yes
63663 else
63664 echo "$as_me: failed program was:" >&5
63665 sed 's/^/| /' conftest.$ac_ext >&5
63666
63667 glibcxx_cv_func_long_double_round_use=no
63668 fi
63669 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63670 ac_ext=c
63671 ac_cpp='$CPP $CPPFLAGS'
63672 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63673 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63674 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63675
63676 fi
63677
63678 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_round_use" >&5
63679 echo "${ECHO_T}$glibcxx_cv_func_long_double_round_use" >&6
63680 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
63681
63682
63683 for ac_func in ceill floorl
63684 do
63685 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63686 echo "$as_me:$LINENO: checking for $ac_func" >&5
63687 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63688 if eval "test \"\${$as_ac_var+set}\" = set"; then
63689 echo $ECHO_N "(cached) $ECHO_C" >&6
63690 else
63691 if test x$gcc_no_link = xyes; then
63692 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63693 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63694 { (exit 1); exit 1; }; }
63695 fi
63696 cat >conftest.$ac_ext <<_ACEOF
63697 /* confdefs.h. */
63698 _ACEOF
63699 cat confdefs.h >>conftest.$ac_ext
63700 cat >>conftest.$ac_ext <<_ACEOF
63701 /* end confdefs.h. */
63702 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63703 For example, HP-UX 11i <limits.h> declares gettimeofday. */
63704 #define $ac_func innocuous_$ac_func
63705
63706 /* System header to define __stub macros and hopefully few prototypes,
63707 which can conflict with char $ac_func (); below.
63708 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63709 <limits.h> exists even on freestanding compilers. */
63710
63711 #ifdef __STDC__
63712 # include <limits.h>
63713 #else
63714 # include <assert.h>
63715 #endif
63716
63717 #undef $ac_func
63718
63719 /* Override any gcc2 internal prototype to avoid an error. */
63720 #ifdef __cplusplus
63721 extern "C"
63722 {
63723 #endif
63724 /* We use char because int might match the return type of a gcc2
63725 builtin and then its argument prototype would still apply. */
63726 char $ac_func ();
63727 /* The GNU C library defines this for functions which it implements
63728 to always fail with ENOSYS. Some functions are actually named
63729 something starting with __ and the normal name is an alias. */
63730 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63731 choke me
63732 #else
63733 char (*f) () = $ac_func;
63734 #endif
63735 #ifdef __cplusplus
63736 }
63737 #endif
63738
63739 int
63740 main ()
63741 {
63742 return f != $ac_func;
63743 ;
63744 return 0;
63745 }
63746 _ACEOF
63747 rm -f conftest.$ac_objext conftest$ac_exeext
63748 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63749 (eval $ac_link) 2>conftest.er1
63750 ac_status=$?
63751 grep -v '^ *+' conftest.er1 >conftest.err
63752 rm -f conftest.er1
63753 cat conftest.err >&5
63754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63755 (exit $ac_status); } &&
63756 { ac_try='test -z "$ac_c_werror_flag"
63757 || test ! -s conftest.err'
63758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63759 (eval $ac_try) 2>&5
63760 ac_status=$?
63761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63762 (exit $ac_status); }; } &&
63763 { ac_try='test -s conftest$ac_exeext'
63764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63765 (eval $ac_try) 2>&5
63766 ac_status=$?
63767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63768 (exit $ac_status); }; }; then
63769 eval "$as_ac_var=yes"
63770 else
63771 echo "$as_me: failed program was:" >&5
63772 sed 's/^/| /' conftest.$ac_ext >&5
63773
63774 eval "$as_ac_var=no"
63775 fi
63776 rm -f conftest.err conftest.$ac_objext \
63777 conftest$ac_exeext conftest.$ac_ext
63778 fi
63779 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63780 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63781 if test `eval echo '${'$as_ac_var'}'` = yes; then
63782 cat >>confdefs.h <<_ACEOF
63783 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63784 _ACEOF
63785
63786 fi
63787 done
63788
63789 else
63790 echo "$as_me:$LINENO: checking for _long double round functions" >&5
63791 echo $ECHO_N "checking for _long double round functions... $ECHO_C" >&6
63792 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then
63793 echo $ECHO_N "(cached) $ECHO_C" >&6
63794 else
63795
63796
63797
63798 ac_ext=cc
63799 ac_cpp='$CXXCPP $CPPFLAGS'
63800 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63801 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63802 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63803
63804 cat >conftest.$ac_ext <<_ACEOF
63805 /* confdefs.h. */
63806 _ACEOF
63807 cat confdefs.h >>conftest.$ac_ext
63808 cat >>conftest.$ac_ext <<_ACEOF
63809 /* end confdefs.h. */
63810 #include <math.h>
63811 int
63812 main ()
63813 {
63814 _ceill (0); _floorl (0);
63815 ;
63816 return 0;
63817 }
63818 _ACEOF
63819 rm -f conftest.$ac_objext
63820 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63821 (eval $ac_compile) 2>conftest.er1
63822 ac_status=$?
63823 grep -v '^ *+' conftest.er1 >conftest.err
63824 rm -f conftest.er1
63825 cat conftest.err >&5
63826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63827 (exit $ac_status); } &&
63828 { ac_try='test -z "$ac_cxx_werror_flag"
63829 || test ! -s conftest.err'
63830 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63831 (eval $ac_try) 2>&5
63832 ac_status=$?
63833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63834 (exit $ac_status); }; } &&
63835 { ac_try='test -s conftest.$ac_objext'
63836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63837 (eval $ac_try) 2>&5
63838 ac_status=$?
63839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63840 (exit $ac_status); }; }; then
63841 glibcxx_cv_func__long_double_round_use=yes
63842 else
63843 echo "$as_me: failed program was:" >&5
63844 sed 's/^/| /' conftest.$ac_ext >&5
63845
63846 glibcxx_cv_func__long_double_round_use=no
63847 fi
63848 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63849 ac_ext=c
63850 ac_cpp='$CPP $CPPFLAGS'
63851 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63852 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63853 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63854
63855 fi
63856
63857 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_round_use" >&5
63858 echo "${ECHO_T}$glibcxx_cv_func__long_double_round_use" >&6
63859 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
63860
63861
63862 for ac_func in _ceill _floorl
63863 do
63864 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63865 echo "$as_me:$LINENO: checking for $ac_func" >&5
63866 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63867 if eval "test \"\${$as_ac_var+set}\" = set"; then
63868 echo $ECHO_N "(cached) $ECHO_C" >&6
63869 else
63870 if test x$gcc_no_link = xyes; then
63871 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63872 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63873 { (exit 1); exit 1; }; }
63874 fi
63875 cat >conftest.$ac_ext <<_ACEOF
63876 /* confdefs.h. */
63877 _ACEOF
63878 cat confdefs.h >>conftest.$ac_ext
63879 cat >>conftest.$ac_ext <<_ACEOF
63880 /* end confdefs.h. */
63881 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63882 For example, HP-UX 11i <limits.h> declares gettimeofday. */
63883 #define $ac_func innocuous_$ac_func
63884
63885 /* System header to define __stub macros and hopefully few prototypes,
63886 which can conflict with char $ac_func (); below.
63887 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63888 <limits.h> exists even on freestanding compilers. */
63889
63890 #ifdef __STDC__
63891 # include <limits.h>
63892 #else
63893 # include <assert.h>
63894 #endif
63895
63896 #undef $ac_func
63897
63898 /* Override any gcc2 internal prototype to avoid an error. */
63899 #ifdef __cplusplus
63900 extern "C"
63901 {
63902 #endif
63903 /* We use char because int might match the return type of a gcc2
63904 builtin and then its argument prototype would still apply. */
63905 char $ac_func ();
63906 /* The GNU C library defines this for functions which it implements
63907 to always fail with ENOSYS. Some functions are actually named
63908 something starting with __ and the normal name is an alias. */
63909 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63910 choke me
63911 #else
63912 char (*f) () = $ac_func;
63913 #endif
63914 #ifdef __cplusplus
63915 }
63916 #endif
63917
63918 int
63919 main ()
63920 {
63921 return f != $ac_func;
63922 ;
63923 return 0;
63924 }
63925 _ACEOF
63926 rm -f conftest.$ac_objext conftest$ac_exeext
63927 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63928 (eval $ac_link) 2>conftest.er1
63929 ac_status=$?
63930 grep -v '^ *+' conftest.er1 >conftest.err
63931 rm -f conftest.er1
63932 cat conftest.err >&5
63933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63934 (exit $ac_status); } &&
63935 { ac_try='test -z "$ac_c_werror_flag"
63936 || test ! -s conftest.err'
63937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63938 (eval $ac_try) 2>&5
63939 ac_status=$?
63940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63941 (exit $ac_status); }; } &&
63942 { ac_try='test -s conftest$ac_exeext'
63943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63944 (eval $ac_try) 2>&5
63945 ac_status=$?
63946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63947 (exit $ac_status); }; }; then
63948 eval "$as_ac_var=yes"
63949 else
63950 echo "$as_me: failed program was:" >&5
63951 sed 's/^/| /' conftest.$ac_ext >&5
63952
63953 eval "$as_ac_var=no"
63954 fi
63955 rm -f conftest.err conftest.$ac_objext \
63956 conftest$ac_exeext conftest.$ac_ext
63957 fi
63958 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63959 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63960 if test `eval echo '${'$as_ac_var'}'` = yes; then
63961 cat >>confdefs.h <<_ACEOF
63962 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63963 _ACEOF
63964
63965 fi
63966 done
63967
63968 fi
63969 fi
63970
63971
63972
63973
63974
63975
63976
63977
63978 echo "$as_me:$LINENO: checking for isnanl declaration" >&5
63979 echo $ECHO_N "checking for isnanl declaration... $ECHO_C" >&6
63980 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
63981 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then
63982 echo $ECHO_N "(cached) $ECHO_C" >&6
63983 else
63984
63985
63986
63987 ac_ext=cc
63988 ac_cpp='$CXXCPP $CPPFLAGS'
63989 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63990 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63991 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63992
63993 cat >conftest.$ac_ext <<_ACEOF
63994 /* confdefs.h. */
63995 _ACEOF
63996 cat confdefs.h >>conftest.$ac_ext
63997 cat >>conftest.$ac_ext <<_ACEOF
63998 /* end confdefs.h. */
63999 #include <math.h>
64000 #ifdef HAVE_IEEEFP_H
64001 #include <ieeefp.h>
64002 #endif
64003
64004 int
64005 main ()
64006 {
64007 isnanl(0);
64008 ;
64009 return 0;
64010 }
64011 _ACEOF
64012 rm -f conftest.$ac_objext
64013 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64014 (eval $ac_compile) 2>conftest.er1
64015 ac_status=$?
64016 grep -v '^ *+' conftest.er1 >conftest.err
64017 rm -f conftest.er1
64018 cat conftest.err >&5
64019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64020 (exit $ac_status); } &&
64021 { ac_try='test -z "$ac_cxx_werror_flag"
64022 || test ! -s conftest.err'
64023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64024 (eval $ac_try) 2>&5
64025 ac_status=$?
64026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64027 (exit $ac_status); }; } &&
64028 { ac_try='test -s conftest.$ac_objext'
64029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64030 (eval $ac_try) 2>&5
64031 ac_status=$?
64032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64033 (exit $ac_status); }; }; then
64034 glibcxx_cv_func_isnanl_use=yes
64035 else
64036 echo "$as_me: failed program was:" >&5
64037 sed 's/^/| /' conftest.$ac_ext >&5
64038
64039 glibcxx_cv_func_isnanl_use=no
64040 fi
64041 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64042 ac_ext=c
64043 ac_cpp='$CPP $CPPFLAGS'
64044 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64045 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64046 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64047
64048
64049 fi
64050
64051 fi
64052 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanl_use" >&5
64053 echo "${ECHO_T}$glibcxx_cv_func_isnanl_use" >&6
64054
64055 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
64056
64057 for ac_func in isnanl
64058 do
64059 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64060 echo "$as_me:$LINENO: checking for $ac_func" >&5
64061 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64062 if eval "test \"\${$as_ac_var+set}\" = set"; then
64063 echo $ECHO_N "(cached) $ECHO_C" >&6
64064 else
64065 if test x$gcc_no_link = xyes; then
64066 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64067 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64068 { (exit 1); exit 1; }; }
64069 fi
64070 cat >conftest.$ac_ext <<_ACEOF
64071 /* confdefs.h. */
64072 _ACEOF
64073 cat confdefs.h >>conftest.$ac_ext
64074 cat >>conftest.$ac_ext <<_ACEOF
64075 /* end confdefs.h. */
64076 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64077 For example, HP-UX 11i <limits.h> declares gettimeofday. */
64078 #define $ac_func innocuous_$ac_func
64079
64080 /* System header to define __stub macros and hopefully few prototypes,
64081 which can conflict with char $ac_func (); below.
64082 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64083 <limits.h> exists even on freestanding compilers. */
64084
64085 #ifdef __STDC__
64086 # include <limits.h>
64087 #else
64088 # include <assert.h>
64089 #endif
64090
64091 #undef $ac_func
64092
64093 /* Override any gcc2 internal prototype to avoid an error. */
64094 #ifdef __cplusplus
64095 extern "C"
64096 {
64097 #endif
64098 /* We use char because int might match the return type of a gcc2
64099 builtin and then its argument prototype would still apply. */
64100 char $ac_func ();
64101 /* The GNU C library defines this for functions which it implements
64102 to always fail with ENOSYS. Some functions are actually named
64103 something starting with __ and the normal name is an alias. */
64104 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64105 choke me
64106 #else
64107 char (*f) () = $ac_func;
64108 #endif
64109 #ifdef __cplusplus
64110 }
64111 #endif
64112
64113 int
64114 main ()
64115 {
64116 return f != $ac_func;
64117 ;
64118 return 0;
64119 }
64120 _ACEOF
64121 rm -f conftest.$ac_objext conftest$ac_exeext
64122 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64123 (eval $ac_link) 2>conftest.er1
64124 ac_status=$?
64125 grep -v '^ *+' conftest.er1 >conftest.err
64126 rm -f conftest.er1
64127 cat conftest.err >&5
64128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64129 (exit $ac_status); } &&
64130 { ac_try='test -z "$ac_c_werror_flag"
64131 || test ! -s conftest.err'
64132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64133 (eval $ac_try) 2>&5
64134 ac_status=$?
64135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64136 (exit $ac_status); }; } &&
64137 { ac_try='test -s conftest$ac_exeext'
64138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64139 (eval $ac_try) 2>&5
64140 ac_status=$?
64141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64142 (exit $ac_status); }; }; then
64143 eval "$as_ac_var=yes"
64144 else
64145 echo "$as_me: failed program was:" >&5
64146 sed 's/^/| /' conftest.$ac_ext >&5
64147
64148 eval "$as_ac_var=no"
64149 fi
64150 rm -f conftest.err conftest.$ac_objext \
64151 conftest$ac_exeext conftest.$ac_ext
64152 fi
64153 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64154 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64155 if test `eval echo '${'$as_ac_var'}'` = yes; then
64156 cat >>confdefs.h <<_ACEOF
64157 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64158 _ACEOF
64159
64160 fi
64161 done
64162
64163 else
64164
64165 echo "$as_me:$LINENO: checking for _isnanl declaration" >&5
64166 echo $ECHO_N "checking for _isnanl declaration... $ECHO_C" >&6
64167 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
64168 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then
64169 echo $ECHO_N "(cached) $ECHO_C" >&6
64170 else
64171
64172
64173
64174 ac_ext=cc
64175 ac_cpp='$CXXCPP $CPPFLAGS'
64176 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64177 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64178 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64179
64180 cat >conftest.$ac_ext <<_ACEOF
64181 /* confdefs.h. */
64182 _ACEOF
64183 cat confdefs.h >>conftest.$ac_ext
64184 cat >>conftest.$ac_ext <<_ACEOF
64185 /* end confdefs.h. */
64186 #include <math.h>
64187 #ifdef HAVE_IEEEFP_H
64188 #include <ieeefp.h>
64189 #endif
64190
64191 int
64192 main ()
64193 {
64194 _isnanl(0);
64195 ;
64196 return 0;
64197 }
64198 _ACEOF
64199 rm -f conftest.$ac_objext
64200 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64201 (eval $ac_compile) 2>conftest.er1
64202 ac_status=$?
64203 grep -v '^ *+' conftest.er1 >conftest.err
64204 rm -f conftest.er1
64205 cat conftest.err >&5
64206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64207 (exit $ac_status); } &&
64208 { ac_try='test -z "$ac_cxx_werror_flag"
64209 || test ! -s conftest.err'
64210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64211 (eval $ac_try) 2>&5
64212 ac_status=$?
64213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64214 (exit $ac_status); }; } &&
64215 { ac_try='test -s conftest.$ac_objext'
64216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64217 (eval $ac_try) 2>&5
64218 ac_status=$?
64219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64220 (exit $ac_status); }; }; then
64221 glibcxx_cv_func__isnanl_use=yes
64222 else
64223 echo "$as_me: failed program was:" >&5
64224 sed 's/^/| /' conftest.$ac_ext >&5
64225
64226 glibcxx_cv_func__isnanl_use=no
64227 fi
64228 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64229 ac_ext=c
64230 ac_cpp='$CPP $CPPFLAGS'
64231 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64232 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64233 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64234
64235
64236 fi
64237
64238 fi
64239 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanl_use" >&5
64240 echo "${ECHO_T}$glibcxx_cv_func__isnanl_use" >&6
64241
64242 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
64243
64244 for ac_func in _isnanl
64245 do
64246 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64247 echo "$as_me:$LINENO: checking for $ac_func" >&5
64248 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64249 if eval "test \"\${$as_ac_var+set}\" = set"; then
64250 echo $ECHO_N "(cached) $ECHO_C" >&6
64251 else
64252 if test x$gcc_no_link = xyes; then
64253 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64254 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64255 { (exit 1); exit 1; }; }
64256 fi
64257 cat >conftest.$ac_ext <<_ACEOF
64258 /* confdefs.h. */
64259 _ACEOF
64260 cat confdefs.h >>conftest.$ac_ext
64261 cat >>conftest.$ac_ext <<_ACEOF
64262 /* end confdefs.h. */
64263 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64264 For example, HP-UX 11i <limits.h> declares gettimeofday. */
64265 #define $ac_func innocuous_$ac_func
64266
64267 /* System header to define __stub macros and hopefully few prototypes,
64268 which can conflict with char $ac_func (); below.
64269 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64270 <limits.h> exists even on freestanding compilers. */
64271
64272 #ifdef __STDC__
64273 # include <limits.h>
64274 #else
64275 # include <assert.h>
64276 #endif
64277
64278 #undef $ac_func
64279
64280 /* Override any gcc2 internal prototype to avoid an error. */
64281 #ifdef __cplusplus
64282 extern "C"
64283 {
64284 #endif
64285 /* We use char because int might match the return type of a gcc2
64286 builtin and then its argument prototype would still apply. */
64287 char $ac_func ();
64288 /* The GNU C library defines this for functions which it implements
64289 to always fail with ENOSYS. Some functions are actually named
64290 something starting with __ and the normal name is an alias. */
64291 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64292 choke me
64293 #else
64294 char (*f) () = $ac_func;
64295 #endif
64296 #ifdef __cplusplus
64297 }
64298 #endif
64299
64300 int
64301 main ()
64302 {
64303 return f != $ac_func;
64304 ;
64305 return 0;
64306 }
64307 _ACEOF
64308 rm -f conftest.$ac_objext conftest$ac_exeext
64309 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64310 (eval $ac_link) 2>conftest.er1
64311 ac_status=$?
64312 grep -v '^ *+' conftest.er1 >conftest.err
64313 rm -f conftest.er1
64314 cat conftest.err >&5
64315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64316 (exit $ac_status); } &&
64317 { ac_try='test -z "$ac_c_werror_flag"
64318 || test ! -s conftest.err'
64319 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64320 (eval $ac_try) 2>&5
64321 ac_status=$?
64322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64323 (exit $ac_status); }; } &&
64324 { ac_try='test -s conftest$ac_exeext'
64325 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64326 (eval $ac_try) 2>&5
64327 ac_status=$?
64328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64329 (exit $ac_status); }; }; then
64330 eval "$as_ac_var=yes"
64331 else
64332 echo "$as_me: failed program was:" >&5
64333 sed 's/^/| /' conftest.$ac_ext >&5
64334
64335 eval "$as_ac_var=no"
64336 fi
64337 rm -f conftest.err conftest.$ac_objext \
64338 conftest$ac_exeext conftest.$ac_ext
64339 fi
64340 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64341 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64342 if test `eval echo '${'$as_ac_var'}'` = yes; then
64343 cat >>confdefs.h <<_ACEOF
64344 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64345 _ACEOF
64346
64347 fi
64348 done
64349
64350 fi
64351 fi
64352
64353
64354
64355
64356
64357
64358 echo "$as_me:$LINENO: checking for isinfl declaration" >&5
64359 echo $ECHO_N "checking for isinfl declaration... $ECHO_C" >&6
64360 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
64361 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then
64362 echo $ECHO_N "(cached) $ECHO_C" >&6
64363 else
64364
64365
64366
64367 ac_ext=cc
64368 ac_cpp='$CXXCPP $CPPFLAGS'
64369 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64370 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64371 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64372
64373 cat >conftest.$ac_ext <<_ACEOF
64374 /* confdefs.h. */
64375 _ACEOF
64376 cat confdefs.h >>conftest.$ac_ext
64377 cat >>conftest.$ac_ext <<_ACEOF
64378 /* end confdefs.h. */
64379 #include <math.h>
64380 #ifdef HAVE_IEEEFP_H
64381 #include <ieeefp.h>
64382 #endif
64383
64384 int
64385 main ()
64386 {
64387 isinfl(0);
64388 ;
64389 return 0;
64390 }
64391 _ACEOF
64392 rm -f conftest.$ac_objext
64393 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64394 (eval $ac_compile) 2>conftest.er1
64395 ac_status=$?
64396 grep -v '^ *+' conftest.er1 >conftest.err
64397 rm -f conftest.er1
64398 cat conftest.err >&5
64399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64400 (exit $ac_status); } &&
64401 { ac_try='test -z "$ac_cxx_werror_flag"
64402 || test ! -s conftest.err'
64403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64404 (eval $ac_try) 2>&5
64405 ac_status=$?
64406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64407 (exit $ac_status); }; } &&
64408 { ac_try='test -s conftest.$ac_objext'
64409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64410 (eval $ac_try) 2>&5
64411 ac_status=$?
64412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64413 (exit $ac_status); }; }; then
64414 glibcxx_cv_func_isinfl_use=yes
64415 else
64416 echo "$as_me: failed program was:" >&5
64417 sed 's/^/| /' conftest.$ac_ext >&5
64418
64419 glibcxx_cv_func_isinfl_use=no
64420 fi
64421 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64422 ac_ext=c
64423 ac_cpp='$CPP $CPPFLAGS'
64424 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64425 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64426 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64427
64428
64429 fi
64430
64431 fi
64432 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinfl_use" >&5
64433 echo "${ECHO_T}$glibcxx_cv_func_isinfl_use" >&6
64434
64435 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
64436
64437 for ac_func in isinfl
64438 do
64439 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64440 echo "$as_me:$LINENO: checking for $ac_func" >&5
64441 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64442 if eval "test \"\${$as_ac_var+set}\" = set"; then
64443 echo $ECHO_N "(cached) $ECHO_C" >&6
64444 else
64445 if test x$gcc_no_link = xyes; then
64446 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64447 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64448 { (exit 1); exit 1; }; }
64449 fi
64450 cat >conftest.$ac_ext <<_ACEOF
64451 /* confdefs.h. */
64452 _ACEOF
64453 cat confdefs.h >>conftest.$ac_ext
64454 cat >>conftest.$ac_ext <<_ACEOF
64455 /* end confdefs.h. */
64456 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64457 For example, HP-UX 11i <limits.h> declares gettimeofday. */
64458 #define $ac_func innocuous_$ac_func
64459
64460 /* System header to define __stub macros and hopefully few prototypes,
64461 which can conflict with char $ac_func (); below.
64462 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64463 <limits.h> exists even on freestanding compilers. */
64464
64465 #ifdef __STDC__
64466 # include <limits.h>
64467 #else
64468 # include <assert.h>
64469 #endif
64470
64471 #undef $ac_func
64472
64473 /* Override any gcc2 internal prototype to avoid an error. */
64474 #ifdef __cplusplus
64475 extern "C"
64476 {
64477 #endif
64478 /* We use char because int might match the return type of a gcc2
64479 builtin and then its argument prototype would still apply. */
64480 char $ac_func ();
64481 /* The GNU C library defines this for functions which it implements
64482 to always fail with ENOSYS. Some functions are actually named
64483 something starting with __ and the normal name is an alias. */
64484 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64485 choke me
64486 #else
64487 char (*f) () = $ac_func;
64488 #endif
64489 #ifdef __cplusplus
64490 }
64491 #endif
64492
64493 int
64494 main ()
64495 {
64496 return f != $ac_func;
64497 ;
64498 return 0;
64499 }
64500 _ACEOF
64501 rm -f conftest.$ac_objext conftest$ac_exeext
64502 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64503 (eval $ac_link) 2>conftest.er1
64504 ac_status=$?
64505 grep -v '^ *+' conftest.er1 >conftest.err
64506 rm -f conftest.er1
64507 cat conftest.err >&5
64508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64509 (exit $ac_status); } &&
64510 { ac_try='test -z "$ac_c_werror_flag"
64511 || test ! -s conftest.err'
64512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64513 (eval $ac_try) 2>&5
64514 ac_status=$?
64515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64516 (exit $ac_status); }; } &&
64517 { ac_try='test -s conftest$ac_exeext'
64518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64519 (eval $ac_try) 2>&5
64520 ac_status=$?
64521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64522 (exit $ac_status); }; }; then
64523 eval "$as_ac_var=yes"
64524 else
64525 echo "$as_me: failed program was:" >&5
64526 sed 's/^/| /' conftest.$ac_ext >&5
64527
64528 eval "$as_ac_var=no"
64529 fi
64530 rm -f conftest.err conftest.$ac_objext \
64531 conftest$ac_exeext conftest.$ac_ext
64532 fi
64533 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64534 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64535 if test `eval echo '${'$as_ac_var'}'` = yes; then
64536 cat >>confdefs.h <<_ACEOF
64537 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64538 _ACEOF
64539
64540 fi
64541 done
64542
64543 else
64544
64545 echo "$as_me:$LINENO: checking for _isinfl declaration" >&5
64546 echo $ECHO_N "checking for _isinfl declaration... $ECHO_C" >&6
64547 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
64548 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then
64549 echo $ECHO_N "(cached) $ECHO_C" >&6
64550 else
64551
64552
64553
64554 ac_ext=cc
64555 ac_cpp='$CXXCPP $CPPFLAGS'
64556 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64557 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64558 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64559
64560 cat >conftest.$ac_ext <<_ACEOF
64561 /* confdefs.h. */
64562 _ACEOF
64563 cat confdefs.h >>conftest.$ac_ext
64564 cat >>conftest.$ac_ext <<_ACEOF
64565 /* end confdefs.h. */
64566 #include <math.h>
64567 #ifdef HAVE_IEEEFP_H
64568 #include <ieeefp.h>
64569 #endif
64570
64571 int
64572 main ()
64573 {
64574 _isinfl(0);
64575 ;
64576 return 0;
64577 }
64578 _ACEOF
64579 rm -f conftest.$ac_objext
64580 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64581 (eval $ac_compile) 2>conftest.er1
64582 ac_status=$?
64583 grep -v '^ *+' conftest.er1 >conftest.err
64584 rm -f conftest.er1
64585 cat conftest.err >&5
64586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64587 (exit $ac_status); } &&
64588 { ac_try='test -z "$ac_cxx_werror_flag"
64589 || test ! -s conftest.err'
64590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64591 (eval $ac_try) 2>&5
64592 ac_status=$?
64593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64594 (exit $ac_status); }; } &&
64595 { ac_try='test -s conftest.$ac_objext'
64596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64597 (eval $ac_try) 2>&5
64598 ac_status=$?
64599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64600 (exit $ac_status); }; }; then
64601 glibcxx_cv_func__isinfl_use=yes
64602 else
64603 echo "$as_me: failed program was:" >&5
64604 sed 's/^/| /' conftest.$ac_ext >&5
64605
64606 glibcxx_cv_func__isinfl_use=no
64607 fi
64608 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64609 ac_ext=c
64610 ac_cpp='$CPP $CPPFLAGS'
64611 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64612 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64613 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64614
64615
64616 fi
64617
64618 fi
64619 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinfl_use" >&5
64620 echo "${ECHO_T}$glibcxx_cv_func__isinfl_use" >&6
64621
64622 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
64623
64624 for ac_func in _isinfl
64625 do
64626 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64627 echo "$as_me:$LINENO: checking for $ac_func" >&5
64628 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64629 if eval "test \"\${$as_ac_var+set}\" = set"; then
64630 echo $ECHO_N "(cached) $ECHO_C" >&6
64631 else
64632 if test x$gcc_no_link = xyes; then
64633 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64634 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64635 { (exit 1); exit 1; }; }
64636 fi
64637 cat >conftest.$ac_ext <<_ACEOF
64638 /* confdefs.h. */
64639 _ACEOF
64640 cat confdefs.h >>conftest.$ac_ext
64641 cat >>conftest.$ac_ext <<_ACEOF
64642 /* end confdefs.h. */
64643 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64644 For example, HP-UX 11i <limits.h> declares gettimeofday. */
64645 #define $ac_func innocuous_$ac_func
64646
64647 /* System header to define __stub macros and hopefully few prototypes,
64648 which can conflict with char $ac_func (); below.
64649 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64650 <limits.h> exists even on freestanding compilers. */
64651
64652 #ifdef __STDC__
64653 # include <limits.h>
64654 #else
64655 # include <assert.h>
64656 #endif
64657
64658 #undef $ac_func
64659
64660 /* Override any gcc2 internal prototype to avoid an error. */
64661 #ifdef __cplusplus
64662 extern "C"
64663 {
64664 #endif
64665 /* We use char because int might match the return type of a gcc2
64666 builtin and then its argument prototype would still apply. */
64667 char $ac_func ();
64668 /* The GNU C library defines this for functions which it implements
64669 to always fail with ENOSYS. Some functions are actually named
64670 something starting with __ and the normal name is an alias. */
64671 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64672 choke me
64673 #else
64674 char (*f) () = $ac_func;
64675 #endif
64676 #ifdef __cplusplus
64677 }
64678 #endif
64679
64680 int
64681 main ()
64682 {
64683 return f != $ac_func;
64684 ;
64685 return 0;
64686 }
64687 _ACEOF
64688 rm -f conftest.$ac_objext conftest$ac_exeext
64689 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64690 (eval $ac_link) 2>conftest.er1
64691 ac_status=$?
64692 grep -v '^ *+' conftest.er1 >conftest.err
64693 rm -f conftest.er1
64694 cat conftest.err >&5
64695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64696 (exit $ac_status); } &&
64697 { ac_try='test -z "$ac_c_werror_flag"
64698 || test ! -s conftest.err'
64699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64700 (eval $ac_try) 2>&5
64701 ac_status=$?
64702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64703 (exit $ac_status); }; } &&
64704 { ac_try='test -s conftest$ac_exeext'
64705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64706 (eval $ac_try) 2>&5
64707 ac_status=$?
64708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64709 (exit $ac_status); }; }; then
64710 eval "$as_ac_var=yes"
64711 else
64712 echo "$as_me: failed program was:" >&5
64713 sed 's/^/| /' conftest.$ac_ext >&5
64714
64715 eval "$as_ac_var=no"
64716 fi
64717 rm -f conftest.err conftest.$ac_objext \
64718 conftest$ac_exeext conftest.$ac_ext
64719 fi
64720 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64721 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64722 if test `eval echo '${'$as_ac_var'}'` = yes; then
64723 cat >>confdefs.h <<_ACEOF
64724 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64725 _ACEOF
64726
64727 fi
64728 done
64729
64730 fi
64731 fi
64732
64733
64734
64735
64736
64737
64738 echo "$as_me:$LINENO: checking for copysignl declaration" >&5
64739 echo $ECHO_N "checking for copysignl declaration... $ECHO_C" >&6
64740 if test x${glibcxx_cv_func_copysignl_use+set} != xset; then
64741 if test "${glibcxx_cv_func_copysignl_use+set}" = set; then
64742 echo $ECHO_N "(cached) $ECHO_C" >&6
64743 else
64744
64745
64746
64747 ac_ext=cc
64748 ac_cpp='$CXXCPP $CPPFLAGS'
64749 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64750 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64751 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64752
64753 cat >conftest.$ac_ext <<_ACEOF
64754 /* confdefs.h. */
64755 _ACEOF
64756 cat confdefs.h >>conftest.$ac_ext
64757 cat >>conftest.$ac_ext <<_ACEOF
64758 /* end confdefs.h. */
64759 #include <math.h>
64760 int
64761 main ()
64762 {
64763 copysignl(0, 0);
64764 ;
64765 return 0;
64766 }
64767 _ACEOF
64768 rm -f conftest.$ac_objext
64769 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64770 (eval $ac_compile) 2>conftest.er1
64771 ac_status=$?
64772 grep -v '^ *+' conftest.er1 >conftest.err
64773 rm -f conftest.er1
64774 cat conftest.err >&5
64775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64776 (exit $ac_status); } &&
64777 { ac_try='test -z "$ac_cxx_werror_flag"
64778 || test ! -s conftest.err'
64779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64780 (eval $ac_try) 2>&5
64781 ac_status=$?
64782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64783 (exit $ac_status); }; } &&
64784 { ac_try='test -s conftest.$ac_objext'
64785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64786 (eval $ac_try) 2>&5
64787 ac_status=$?
64788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64789 (exit $ac_status); }; }; then
64790 glibcxx_cv_func_copysignl_use=yes
64791 else
64792 echo "$as_me: failed program was:" >&5
64793 sed 's/^/| /' conftest.$ac_ext >&5
64794
64795 glibcxx_cv_func_copysignl_use=no
64796 fi
64797 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64798 ac_ext=c
64799 ac_cpp='$CPP $CPPFLAGS'
64800 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64801 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64802 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64803
64804
64805 fi
64806
64807 fi
64808 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysignl_use" >&5
64809 echo "${ECHO_T}$glibcxx_cv_func_copysignl_use" >&6
64810
64811 if test x$glibcxx_cv_func_copysignl_use = x"yes"; then
64812
64813 for ac_func in copysignl
64814 do
64815 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64816 echo "$as_me:$LINENO: checking for $ac_func" >&5
64817 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64818 if eval "test \"\${$as_ac_var+set}\" = set"; then
64819 echo $ECHO_N "(cached) $ECHO_C" >&6
64820 else
64821 if test x$gcc_no_link = xyes; then
64822 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64823 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64824 { (exit 1); exit 1; }; }
64825 fi
64826 cat >conftest.$ac_ext <<_ACEOF
64827 /* confdefs.h. */
64828 _ACEOF
64829 cat confdefs.h >>conftest.$ac_ext
64830 cat >>conftest.$ac_ext <<_ACEOF
64831 /* end confdefs.h. */
64832 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64833 For example, HP-UX 11i <limits.h> declares gettimeofday. */
64834 #define $ac_func innocuous_$ac_func
64835
64836 /* System header to define __stub macros and hopefully few prototypes,
64837 which can conflict with char $ac_func (); below.
64838 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64839 <limits.h> exists even on freestanding compilers. */
64840
64841 #ifdef __STDC__
64842 # include <limits.h>
64843 #else
64844 # include <assert.h>
64845 #endif
64846
64847 #undef $ac_func
64848
64849 /* Override any gcc2 internal prototype to avoid an error. */
64850 #ifdef __cplusplus
64851 extern "C"
64852 {
64853 #endif
64854 /* We use char because int might match the return type of a gcc2
64855 builtin and then its argument prototype would still apply. */
64856 char $ac_func ();
64857 /* The GNU C library defines this for functions which it implements
64858 to always fail with ENOSYS. Some functions are actually named
64859 something starting with __ and the normal name is an alias. */
64860 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64861 choke me
64862 #else
64863 char (*f) () = $ac_func;
64864 #endif
64865 #ifdef __cplusplus
64866 }
64867 #endif
64868
64869 int
64870 main ()
64871 {
64872 return f != $ac_func;
64873 ;
64874 return 0;
64875 }
64876 _ACEOF
64877 rm -f conftest.$ac_objext conftest$ac_exeext
64878 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64879 (eval $ac_link) 2>conftest.er1
64880 ac_status=$?
64881 grep -v '^ *+' conftest.er1 >conftest.err
64882 rm -f conftest.er1
64883 cat conftest.err >&5
64884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64885 (exit $ac_status); } &&
64886 { ac_try='test -z "$ac_c_werror_flag"
64887 || test ! -s conftest.err'
64888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64889 (eval $ac_try) 2>&5
64890 ac_status=$?
64891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64892 (exit $ac_status); }; } &&
64893 { ac_try='test -s conftest$ac_exeext'
64894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64895 (eval $ac_try) 2>&5
64896 ac_status=$?
64897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64898 (exit $ac_status); }; }; then
64899 eval "$as_ac_var=yes"
64900 else
64901 echo "$as_me: failed program was:" >&5
64902 sed 's/^/| /' conftest.$ac_ext >&5
64903
64904 eval "$as_ac_var=no"
64905 fi
64906 rm -f conftest.err conftest.$ac_objext \
64907 conftest$ac_exeext conftest.$ac_ext
64908 fi
64909 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64910 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64911 if test `eval echo '${'$as_ac_var'}'` = yes; then
64912 cat >>confdefs.h <<_ACEOF
64913 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64914 _ACEOF
64915
64916 fi
64917 done
64918
64919 else
64920
64921 echo "$as_me:$LINENO: checking for _copysignl declaration" >&5
64922 echo $ECHO_N "checking for _copysignl declaration... $ECHO_C" >&6
64923 if test x${glibcxx_cv_func__copysignl_use+set} != xset; then
64924 if test "${glibcxx_cv_func__copysignl_use+set}" = set; then
64925 echo $ECHO_N "(cached) $ECHO_C" >&6
64926 else
64927
64928
64929
64930 ac_ext=cc
64931 ac_cpp='$CXXCPP $CPPFLAGS'
64932 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64933 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64934 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64935
64936 cat >conftest.$ac_ext <<_ACEOF
64937 /* confdefs.h. */
64938 _ACEOF
64939 cat confdefs.h >>conftest.$ac_ext
64940 cat >>conftest.$ac_ext <<_ACEOF
64941 /* end confdefs.h. */
64942 #include <math.h>
64943 int
64944 main ()
64945 {
64946 _copysignl(0, 0);
64947 ;
64948 return 0;
64949 }
64950 _ACEOF
64951 rm -f conftest.$ac_objext
64952 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64953 (eval $ac_compile) 2>conftest.er1
64954 ac_status=$?
64955 grep -v '^ *+' conftest.er1 >conftest.err
64956 rm -f conftest.er1
64957 cat conftest.err >&5
64958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64959 (exit $ac_status); } &&
64960 { ac_try='test -z "$ac_cxx_werror_flag"
64961 || test ! -s conftest.err'
64962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64963 (eval $ac_try) 2>&5
64964 ac_status=$?
64965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64966 (exit $ac_status); }; } &&
64967 { ac_try='test -s conftest.$ac_objext'
64968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64969 (eval $ac_try) 2>&5
64970 ac_status=$?
64971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64972 (exit $ac_status); }; }; then
64973 glibcxx_cv_func__copysignl_use=yes
64974 else
64975 echo "$as_me: failed program was:" >&5
64976 sed 's/^/| /' conftest.$ac_ext >&5
64977
64978 glibcxx_cv_func__copysignl_use=no
64979 fi
64980 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64981 ac_ext=c
64982 ac_cpp='$CPP $CPPFLAGS'
64983 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64984 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64985 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64986
64987
64988 fi
64989
64990 fi
64991 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysignl_use" >&5
64992 echo "${ECHO_T}$glibcxx_cv_func__copysignl_use" >&6
64993
64994 if test x$glibcxx_cv_func__copysignl_use = x"yes"; then
64995
64996 for ac_func in _copysignl
64997 do
64998 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64999 echo "$as_me:$LINENO: checking for $ac_func" >&5
65000 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65001 if eval "test \"\${$as_ac_var+set}\" = set"; then
65002 echo $ECHO_N "(cached) $ECHO_C" >&6
65003 else
65004 if test x$gcc_no_link = xyes; then
65005 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65006 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65007 { (exit 1); exit 1; }; }
65008 fi
65009 cat >conftest.$ac_ext <<_ACEOF
65010 /* confdefs.h. */
65011 _ACEOF
65012 cat confdefs.h >>conftest.$ac_ext
65013 cat >>conftest.$ac_ext <<_ACEOF
65014 /* end confdefs.h. */
65015 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65016 For example, HP-UX 11i <limits.h> declares gettimeofday. */
65017 #define $ac_func innocuous_$ac_func
65018
65019 /* System header to define __stub macros and hopefully few prototypes,
65020 which can conflict with char $ac_func (); below.
65021 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65022 <limits.h> exists even on freestanding compilers. */
65023
65024 #ifdef __STDC__
65025 # include <limits.h>
65026 #else
65027 # include <assert.h>
65028 #endif
65029
65030 #undef $ac_func
65031
65032 /* Override any gcc2 internal prototype to avoid an error. */
65033 #ifdef __cplusplus
65034 extern "C"
65035 {
65036 #endif
65037 /* We use char because int might match the return type of a gcc2
65038 builtin and then its argument prototype would still apply. */
65039 char $ac_func ();
65040 /* The GNU C library defines this for functions which it implements
65041 to always fail with ENOSYS. Some functions are actually named
65042 something starting with __ and the normal name is an alias. */
65043 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65044 choke me
65045 #else
65046 char (*f) () = $ac_func;
65047 #endif
65048 #ifdef __cplusplus
65049 }
65050 #endif
65051
65052 int
65053 main ()
65054 {
65055 return f != $ac_func;
65056 ;
65057 return 0;
65058 }
65059 _ACEOF
65060 rm -f conftest.$ac_objext conftest$ac_exeext
65061 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65062 (eval $ac_link) 2>conftest.er1
65063 ac_status=$?
65064 grep -v '^ *+' conftest.er1 >conftest.err
65065 rm -f conftest.er1
65066 cat conftest.err >&5
65067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65068 (exit $ac_status); } &&
65069 { ac_try='test -z "$ac_c_werror_flag"
65070 || test ! -s conftest.err'
65071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65072 (eval $ac_try) 2>&5
65073 ac_status=$?
65074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65075 (exit $ac_status); }; } &&
65076 { ac_try='test -s conftest$ac_exeext'
65077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65078 (eval $ac_try) 2>&5
65079 ac_status=$?
65080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65081 (exit $ac_status); }; }; then
65082 eval "$as_ac_var=yes"
65083 else
65084 echo "$as_me: failed program was:" >&5
65085 sed 's/^/| /' conftest.$ac_ext >&5
65086
65087 eval "$as_ac_var=no"
65088 fi
65089 rm -f conftest.err conftest.$ac_objext \
65090 conftest$ac_exeext conftest.$ac_ext
65091 fi
65092 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65093 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65094 if test `eval echo '${'$as_ac_var'}'` = yes; then
65095 cat >>confdefs.h <<_ACEOF
65096 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65097 _ACEOF
65098
65099 fi
65100 done
65101
65102 fi
65103 fi
65104
65105
65106
65107
65108
65109
65110 echo "$as_me:$LINENO: checking for atan2l declaration" >&5
65111 echo $ECHO_N "checking for atan2l declaration... $ECHO_C" >&6
65112 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
65113 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then
65114 echo $ECHO_N "(cached) $ECHO_C" >&6
65115 else
65116
65117
65118
65119 ac_ext=cc
65120 ac_cpp='$CXXCPP $CPPFLAGS'
65121 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65122 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65123 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65124
65125 cat >conftest.$ac_ext <<_ACEOF
65126 /* confdefs.h. */
65127 _ACEOF
65128 cat confdefs.h >>conftest.$ac_ext
65129 cat >>conftest.$ac_ext <<_ACEOF
65130 /* end confdefs.h. */
65131 #include <math.h>
65132 int
65133 main ()
65134 {
65135 atan2l(0, 0);
65136 ;
65137 return 0;
65138 }
65139 _ACEOF
65140 rm -f conftest.$ac_objext
65141 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65142 (eval $ac_compile) 2>conftest.er1
65143 ac_status=$?
65144 grep -v '^ *+' conftest.er1 >conftest.err
65145 rm -f conftest.er1
65146 cat conftest.err >&5
65147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65148 (exit $ac_status); } &&
65149 { ac_try='test -z "$ac_cxx_werror_flag"
65150 || test ! -s conftest.err'
65151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65152 (eval $ac_try) 2>&5
65153 ac_status=$?
65154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65155 (exit $ac_status); }; } &&
65156 { ac_try='test -s conftest.$ac_objext'
65157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65158 (eval $ac_try) 2>&5
65159 ac_status=$?
65160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65161 (exit $ac_status); }; }; then
65162 glibcxx_cv_func_atan2l_use=yes
65163 else
65164 echo "$as_me: failed program was:" >&5
65165 sed 's/^/| /' conftest.$ac_ext >&5
65166
65167 glibcxx_cv_func_atan2l_use=no
65168 fi
65169 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65170 ac_ext=c
65171 ac_cpp='$CPP $CPPFLAGS'
65172 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65173 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65174 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65175
65176
65177 fi
65178
65179 fi
65180 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2l_use" >&5
65181 echo "${ECHO_T}$glibcxx_cv_func_atan2l_use" >&6
65182
65183 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
65184
65185 for ac_func in atan2l
65186 do
65187 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65188 echo "$as_me:$LINENO: checking for $ac_func" >&5
65189 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65190 if eval "test \"\${$as_ac_var+set}\" = set"; then
65191 echo $ECHO_N "(cached) $ECHO_C" >&6
65192 else
65193 if test x$gcc_no_link = xyes; then
65194 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65195 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65196 { (exit 1); exit 1; }; }
65197 fi
65198 cat >conftest.$ac_ext <<_ACEOF
65199 /* confdefs.h. */
65200 _ACEOF
65201 cat confdefs.h >>conftest.$ac_ext
65202 cat >>conftest.$ac_ext <<_ACEOF
65203 /* end confdefs.h. */
65204 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65205 For example, HP-UX 11i <limits.h> declares gettimeofday. */
65206 #define $ac_func innocuous_$ac_func
65207
65208 /* System header to define __stub macros and hopefully few prototypes,
65209 which can conflict with char $ac_func (); below.
65210 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65211 <limits.h> exists even on freestanding compilers. */
65212
65213 #ifdef __STDC__
65214 # include <limits.h>
65215 #else
65216 # include <assert.h>
65217 #endif
65218
65219 #undef $ac_func
65220
65221 /* Override any gcc2 internal prototype to avoid an error. */
65222 #ifdef __cplusplus
65223 extern "C"
65224 {
65225 #endif
65226 /* We use char because int might match the return type of a gcc2
65227 builtin and then its argument prototype would still apply. */
65228 char $ac_func ();
65229 /* The GNU C library defines this for functions which it implements
65230 to always fail with ENOSYS. Some functions are actually named
65231 something starting with __ and the normal name is an alias. */
65232 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65233 choke me
65234 #else
65235 char (*f) () = $ac_func;
65236 #endif
65237 #ifdef __cplusplus
65238 }
65239 #endif
65240
65241 int
65242 main ()
65243 {
65244 return f != $ac_func;
65245 ;
65246 return 0;
65247 }
65248 _ACEOF
65249 rm -f conftest.$ac_objext conftest$ac_exeext
65250 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65251 (eval $ac_link) 2>conftest.er1
65252 ac_status=$?
65253 grep -v '^ *+' conftest.er1 >conftest.err
65254 rm -f conftest.er1
65255 cat conftest.err >&5
65256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65257 (exit $ac_status); } &&
65258 { ac_try='test -z "$ac_c_werror_flag"
65259 || test ! -s conftest.err'
65260 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65261 (eval $ac_try) 2>&5
65262 ac_status=$?
65263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65264 (exit $ac_status); }; } &&
65265 { ac_try='test -s conftest$ac_exeext'
65266 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65267 (eval $ac_try) 2>&5
65268 ac_status=$?
65269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65270 (exit $ac_status); }; }; then
65271 eval "$as_ac_var=yes"
65272 else
65273 echo "$as_me: failed program was:" >&5
65274 sed 's/^/| /' conftest.$ac_ext >&5
65275
65276 eval "$as_ac_var=no"
65277 fi
65278 rm -f conftest.err conftest.$ac_objext \
65279 conftest$ac_exeext conftest.$ac_ext
65280 fi
65281 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65282 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65283 if test `eval echo '${'$as_ac_var'}'` = yes; then
65284 cat >>confdefs.h <<_ACEOF
65285 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65286 _ACEOF
65287
65288 fi
65289 done
65290
65291 else
65292
65293 echo "$as_me:$LINENO: checking for _atan2l declaration" >&5
65294 echo $ECHO_N "checking for _atan2l declaration... $ECHO_C" >&6
65295 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
65296 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then
65297 echo $ECHO_N "(cached) $ECHO_C" >&6
65298 else
65299
65300
65301
65302 ac_ext=cc
65303 ac_cpp='$CXXCPP $CPPFLAGS'
65304 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65305 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65306 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65307
65308 cat >conftest.$ac_ext <<_ACEOF
65309 /* confdefs.h. */
65310 _ACEOF
65311 cat confdefs.h >>conftest.$ac_ext
65312 cat >>conftest.$ac_ext <<_ACEOF
65313 /* end confdefs.h. */
65314 #include <math.h>
65315 int
65316 main ()
65317 {
65318 _atan2l(0, 0);
65319 ;
65320 return 0;
65321 }
65322 _ACEOF
65323 rm -f conftest.$ac_objext
65324 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65325 (eval $ac_compile) 2>conftest.er1
65326 ac_status=$?
65327 grep -v '^ *+' conftest.er1 >conftest.err
65328 rm -f conftest.er1
65329 cat conftest.err >&5
65330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65331 (exit $ac_status); } &&
65332 { ac_try='test -z "$ac_cxx_werror_flag"
65333 || test ! -s conftest.err'
65334 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65335 (eval $ac_try) 2>&5
65336 ac_status=$?
65337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65338 (exit $ac_status); }; } &&
65339 { ac_try='test -s conftest.$ac_objext'
65340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65341 (eval $ac_try) 2>&5
65342 ac_status=$?
65343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65344 (exit $ac_status); }; }; then
65345 glibcxx_cv_func__atan2l_use=yes
65346 else
65347 echo "$as_me: failed program was:" >&5
65348 sed 's/^/| /' conftest.$ac_ext >&5
65349
65350 glibcxx_cv_func__atan2l_use=no
65351 fi
65352 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65353 ac_ext=c
65354 ac_cpp='$CPP $CPPFLAGS'
65355 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65356 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65357 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65358
65359
65360 fi
65361
65362 fi
65363 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2l_use" >&5
65364 echo "${ECHO_T}$glibcxx_cv_func__atan2l_use" >&6
65365
65366 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
65367
65368 for ac_func in _atan2l
65369 do
65370 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65371 echo "$as_me:$LINENO: checking for $ac_func" >&5
65372 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65373 if eval "test \"\${$as_ac_var+set}\" = set"; then
65374 echo $ECHO_N "(cached) $ECHO_C" >&6
65375 else
65376 if test x$gcc_no_link = xyes; then
65377 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65378 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65379 { (exit 1); exit 1; }; }
65380 fi
65381 cat >conftest.$ac_ext <<_ACEOF
65382 /* confdefs.h. */
65383 _ACEOF
65384 cat confdefs.h >>conftest.$ac_ext
65385 cat >>conftest.$ac_ext <<_ACEOF
65386 /* end confdefs.h. */
65387 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65388 For example, HP-UX 11i <limits.h> declares gettimeofday. */
65389 #define $ac_func innocuous_$ac_func
65390
65391 /* System header to define __stub macros and hopefully few prototypes,
65392 which can conflict with char $ac_func (); below.
65393 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65394 <limits.h> exists even on freestanding compilers. */
65395
65396 #ifdef __STDC__
65397 # include <limits.h>
65398 #else
65399 # include <assert.h>
65400 #endif
65401
65402 #undef $ac_func
65403
65404 /* Override any gcc2 internal prototype to avoid an error. */
65405 #ifdef __cplusplus
65406 extern "C"
65407 {
65408 #endif
65409 /* We use char because int might match the return type of a gcc2
65410 builtin and then its argument prototype would still apply. */
65411 char $ac_func ();
65412 /* The GNU C library defines this for functions which it implements
65413 to always fail with ENOSYS. Some functions are actually named
65414 something starting with __ and the normal name is an alias. */
65415 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65416 choke me
65417 #else
65418 char (*f) () = $ac_func;
65419 #endif
65420 #ifdef __cplusplus
65421 }
65422 #endif
65423
65424 int
65425 main ()
65426 {
65427 return f != $ac_func;
65428 ;
65429 return 0;
65430 }
65431 _ACEOF
65432 rm -f conftest.$ac_objext conftest$ac_exeext
65433 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65434 (eval $ac_link) 2>conftest.er1
65435 ac_status=$?
65436 grep -v '^ *+' conftest.er1 >conftest.err
65437 rm -f conftest.er1
65438 cat conftest.err >&5
65439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65440 (exit $ac_status); } &&
65441 { ac_try='test -z "$ac_c_werror_flag"
65442 || test ! -s conftest.err'
65443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65444 (eval $ac_try) 2>&5
65445 ac_status=$?
65446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65447 (exit $ac_status); }; } &&
65448 { ac_try='test -s conftest$ac_exeext'
65449 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65450 (eval $ac_try) 2>&5
65451 ac_status=$?
65452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65453 (exit $ac_status); }; }; then
65454 eval "$as_ac_var=yes"
65455 else
65456 echo "$as_me: failed program was:" >&5
65457 sed 's/^/| /' conftest.$ac_ext >&5
65458
65459 eval "$as_ac_var=no"
65460 fi
65461 rm -f conftest.err conftest.$ac_objext \
65462 conftest$ac_exeext conftest.$ac_ext
65463 fi
65464 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65465 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65466 if test `eval echo '${'$as_ac_var'}'` = yes; then
65467 cat >>confdefs.h <<_ACEOF
65468 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65469 _ACEOF
65470
65471 fi
65472 done
65473
65474 fi
65475 fi
65476
65477
65478
65479
65480
65481
65482 echo "$as_me:$LINENO: checking for expl declaration" >&5
65483 echo $ECHO_N "checking for expl declaration... $ECHO_C" >&6
65484 if test x${glibcxx_cv_func_expl_use+set} != xset; then
65485 if test "${glibcxx_cv_func_expl_use+set}" = set; then
65486 echo $ECHO_N "(cached) $ECHO_C" >&6
65487 else
65488
65489
65490
65491 ac_ext=cc
65492 ac_cpp='$CXXCPP $CPPFLAGS'
65493 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65494 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65495 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65496
65497 cat >conftest.$ac_ext <<_ACEOF
65498 /* confdefs.h. */
65499 _ACEOF
65500 cat confdefs.h >>conftest.$ac_ext
65501 cat >>conftest.$ac_ext <<_ACEOF
65502 /* end confdefs.h. */
65503 #include <math.h>
65504 #ifdef HAVE_IEEEFP_H
65505 #include <ieeefp.h>
65506 #endif
65507
65508 int
65509 main ()
65510 {
65511 expl(0);
65512 ;
65513 return 0;
65514 }
65515 _ACEOF
65516 rm -f conftest.$ac_objext
65517 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65518 (eval $ac_compile) 2>conftest.er1
65519 ac_status=$?
65520 grep -v '^ *+' conftest.er1 >conftest.err
65521 rm -f conftest.er1
65522 cat conftest.err >&5
65523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65524 (exit $ac_status); } &&
65525 { ac_try='test -z "$ac_cxx_werror_flag"
65526 || test ! -s conftest.err'
65527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65528 (eval $ac_try) 2>&5
65529 ac_status=$?
65530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65531 (exit $ac_status); }; } &&
65532 { ac_try='test -s conftest.$ac_objext'
65533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65534 (eval $ac_try) 2>&5
65535 ac_status=$?
65536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65537 (exit $ac_status); }; }; then
65538 glibcxx_cv_func_expl_use=yes
65539 else
65540 echo "$as_me: failed program was:" >&5
65541 sed 's/^/| /' conftest.$ac_ext >&5
65542
65543 glibcxx_cv_func_expl_use=no
65544 fi
65545 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65546 ac_ext=c
65547 ac_cpp='$CPP $CPPFLAGS'
65548 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65549 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65550 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65551
65552
65553 fi
65554
65555 fi
65556 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expl_use" >&5
65557 echo "${ECHO_T}$glibcxx_cv_func_expl_use" >&6
65558
65559 if test x$glibcxx_cv_func_expl_use = x"yes"; then
65560
65561 for ac_func in expl
65562 do
65563 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65564 echo "$as_me:$LINENO: checking for $ac_func" >&5
65565 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65566 if eval "test \"\${$as_ac_var+set}\" = set"; then
65567 echo $ECHO_N "(cached) $ECHO_C" >&6
65568 else
65569 if test x$gcc_no_link = xyes; then
65570 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65571 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65572 { (exit 1); exit 1; }; }
65573 fi
65574 cat >conftest.$ac_ext <<_ACEOF
65575 /* confdefs.h. */
65576 _ACEOF
65577 cat confdefs.h >>conftest.$ac_ext
65578 cat >>conftest.$ac_ext <<_ACEOF
65579 /* end confdefs.h. */
65580 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65581 For example, HP-UX 11i <limits.h> declares gettimeofday. */
65582 #define $ac_func innocuous_$ac_func
65583
65584 /* System header to define __stub macros and hopefully few prototypes,
65585 which can conflict with char $ac_func (); below.
65586 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65587 <limits.h> exists even on freestanding compilers. */
65588
65589 #ifdef __STDC__
65590 # include <limits.h>
65591 #else
65592 # include <assert.h>
65593 #endif
65594
65595 #undef $ac_func
65596
65597 /* Override any gcc2 internal prototype to avoid an error. */
65598 #ifdef __cplusplus
65599 extern "C"
65600 {
65601 #endif
65602 /* We use char because int might match the return type of a gcc2
65603 builtin and then its argument prototype would still apply. */
65604 char $ac_func ();
65605 /* The GNU C library defines this for functions which it implements
65606 to always fail with ENOSYS. Some functions are actually named
65607 something starting with __ and the normal name is an alias. */
65608 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65609 choke me
65610 #else
65611 char (*f) () = $ac_func;
65612 #endif
65613 #ifdef __cplusplus
65614 }
65615 #endif
65616
65617 int
65618 main ()
65619 {
65620 return f != $ac_func;
65621 ;
65622 return 0;
65623 }
65624 _ACEOF
65625 rm -f conftest.$ac_objext conftest$ac_exeext
65626 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65627 (eval $ac_link) 2>conftest.er1
65628 ac_status=$?
65629 grep -v '^ *+' conftest.er1 >conftest.err
65630 rm -f conftest.er1
65631 cat conftest.err >&5
65632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65633 (exit $ac_status); } &&
65634 { ac_try='test -z "$ac_c_werror_flag"
65635 || test ! -s conftest.err'
65636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65637 (eval $ac_try) 2>&5
65638 ac_status=$?
65639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65640 (exit $ac_status); }; } &&
65641 { ac_try='test -s conftest$ac_exeext'
65642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65643 (eval $ac_try) 2>&5
65644 ac_status=$?
65645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65646 (exit $ac_status); }; }; then
65647 eval "$as_ac_var=yes"
65648 else
65649 echo "$as_me: failed program was:" >&5
65650 sed 's/^/| /' conftest.$ac_ext >&5
65651
65652 eval "$as_ac_var=no"
65653 fi
65654 rm -f conftest.err conftest.$ac_objext \
65655 conftest$ac_exeext conftest.$ac_ext
65656 fi
65657 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65658 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65659 if test `eval echo '${'$as_ac_var'}'` = yes; then
65660 cat >>confdefs.h <<_ACEOF
65661 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65662 _ACEOF
65663
65664 fi
65665 done
65666
65667 else
65668
65669 echo "$as_me:$LINENO: checking for _expl declaration" >&5
65670 echo $ECHO_N "checking for _expl declaration... $ECHO_C" >&6
65671 if test x${glibcxx_cv_func__expl_use+set} != xset; then
65672 if test "${glibcxx_cv_func__expl_use+set}" = set; then
65673 echo $ECHO_N "(cached) $ECHO_C" >&6
65674 else
65675
65676
65677
65678 ac_ext=cc
65679 ac_cpp='$CXXCPP $CPPFLAGS'
65680 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65681 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65682 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65683
65684 cat >conftest.$ac_ext <<_ACEOF
65685 /* confdefs.h. */
65686 _ACEOF
65687 cat confdefs.h >>conftest.$ac_ext
65688 cat >>conftest.$ac_ext <<_ACEOF
65689 /* end confdefs.h. */
65690 #include <math.h>
65691 #ifdef HAVE_IEEEFP_H
65692 #include <ieeefp.h>
65693 #endif
65694
65695 int
65696 main ()
65697 {
65698 _expl(0);
65699 ;
65700 return 0;
65701 }
65702 _ACEOF
65703 rm -f conftest.$ac_objext
65704 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65705 (eval $ac_compile) 2>conftest.er1
65706 ac_status=$?
65707 grep -v '^ *+' conftest.er1 >conftest.err
65708 rm -f conftest.er1
65709 cat conftest.err >&5
65710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65711 (exit $ac_status); } &&
65712 { ac_try='test -z "$ac_cxx_werror_flag"
65713 || test ! -s conftest.err'
65714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65715 (eval $ac_try) 2>&5
65716 ac_status=$?
65717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65718 (exit $ac_status); }; } &&
65719 { ac_try='test -s conftest.$ac_objext'
65720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65721 (eval $ac_try) 2>&5
65722 ac_status=$?
65723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65724 (exit $ac_status); }; }; then
65725 glibcxx_cv_func__expl_use=yes
65726 else
65727 echo "$as_me: failed program was:" >&5
65728 sed 's/^/| /' conftest.$ac_ext >&5
65729
65730 glibcxx_cv_func__expl_use=no
65731 fi
65732 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65733 ac_ext=c
65734 ac_cpp='$CPP $CPPFLAGS'
65735 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65736 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65737 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65738
65739
65740 fi
65741
65742 fi
65743 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expl_use" >&5
65744 echo "${ECHO_T}$glibcxx_cv_func__expl_use" >&6
65745
65746 if test x$glibcxx_cv_func__expl_use = x"yes"; then
65747
65748 for ac_func in _expl
65749 do
65750 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65751 echo "$as_me:$LINENO: checking for $ac_func" >&5
65752 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65753 if eval "test \"\${$as_ac_var+set}\" = set"; then
65754 echo $ECHO_N "(cached) $ECHO_C" >&6
65755 else
65756 if test x$gcc_no_link = xyes; then
65757 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65758 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65759 { (exit 1); exit 1; }; }
65760 fi
65761 cat >conftest.$ac_ext <<_ACEOF
65762 /* confdefs.h. */
65763 _ACEOF
65764 cat confdefs.h >>conftest.$ac_ext
65765 cat >>conftest.$ac_ext <<_ACEOF
65766 /* end confdefs.h. */
65767 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65768 For example, HP-UX 11i <limits.h> declares gettimeofday. */
65769 #define $ac_func innocuous_$ac_func
65770
65771 /* System header to define __stub macros and hopefully few prototypes,
65772 which can conflict with char $ac_func (); below.
65773 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65774 <limits.h> exists even on freestanding compilers. */
65775
65776 #ifdef __STDC__
65777 # include <limits.h>
65778 #else
65779 # include <assert.h>
65780 #endif
65781
65782 #undef $ac_func
65783
65784 /* Override any gcc2 internal prototype to avoid an error. */
65785 #ifdef __cplusplus
65786 extern "C"
65787 {
65788 #endif
65789 /* We use char because int might match the return type of a gcc2
65790 builtin and then its argument prototype would still apply. */
65791 char $ac_func ();
65792 /* The GNU C library defines this for functions which it implements
65793 to always fail with ENOSYS. Some functions are actually named
65794 something starting with __ and the normal name is an alias. */
65795 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65796 choke me
65797 #else
65798 char (*f) () = $ac_func;
65799 #endif
65800 #ifdef __cplusplus
65801 }
65802 #endif
65803
65804 int
65805 main ()
65806 {
65807 return f != $ac_func;
65808 ;
65809 return 0;
65810 }
65811 _ACEOF
65812 rm -f conftest.$ac_objext conftest$ac_exeext
65813 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65814 (eval $ac_link) 2>conftest.er1
65815 ac_status=$?
65816 grep -v '^ *+' conftest.er1 >conftest.err
65817 rm -f conftest.er1
65818 cat conftest.err >&5
65819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65820 (exit $ac_status); } &&
65821 { ac_try='test -z "$ac_c_werror_flag"
65822 || test ! -s conftest.err'
65823 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65824 (eval $ac_try) 2>&5
65825 ac_status=$?
65826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65827 (exit $ac_status); }; } &&
65828 { ac_try='test -s conftest$ac_exeext'
65829 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65830 (eval $ac_try) 2>&5
65831 ac_status=$?
65832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65833 (exit $ac_status); }; }; then
65834 eval "$as_ac_var=yes"
65835 else
65836 echo "$as_me: failed program was:" >&5
65837 sed 's/^/| /' conftest.$ac_ext >&5
65838
65839 eval "$as_ac_var=no"
65840 fi
65841 rm -f conftest.err conftest.$ac_objext \
65842 conftest$ac_exeext conftest.$ac_ext
65843 fi
65844 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65845 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65846 if test `eval echo '${'$as_ac_var'}'` = yes; then
65847 cat >>confdefs.h <<_ACEOF
65848 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65849 _ACEOF
65850
65851 fi
65852 done
65853
65854 fi
65855 fi
65856
65857
65858
65859
65860
65861
65862 echo "$as_me:$LINENO: checking for fabsl declaration" >&5
65863 echo $ECHO_N "checking for fabsl declaration... $ECHO_C" >&6
65864 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
65865 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then
65866 echo $ECHO_N "(cached) $ECHO_C" >&6
65867 else
65868
65869
65870
65871 ac_ext=cc
65872 ac_cpp='$CXXCPP $CPPFLAGS'
65873 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65874 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65875 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65876
65877 cat >conftest.$ac_ext <<_ACEOF
65878 /* confdefs.h. */
65879 _ACEOF
65880 cat confdefs.h >>conftest.$ac_ext
65881 cat >>conftest.$ac_ext <<_ACEOF
65882 /* end confdefs.h. */
65883 #include <math.h>
65884 #ifdef HAVE_IEEEFP_H
65885 #include <ieeefp.h>
65886 #endif
65887
65888 int
65889 main ()
65890 {
65891 fabsl(0);
65892 ;
65893 return 0;
65894 }
65895 _ACEOF
65896 rm -f conftest.$ac_objext
65897 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65898 (eval $ac_compile) 2>conftest.er1
65899 ac_status=$?
65900 grep -v '^ *+' conftest.er1 >conftest.err
65901 rm -f conftest.er1
65902 cat conftest.err >&5
65903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65904 (exit $ac_status); } &&
65905 { ac_try='test -z "$ac_cxx_werror_flag"
65906 || test ! -s conftest.err'
65907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65908 (eval $ac_try) 2>&5
65909 ac_status=$?
65910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65911 (exit $ac_status); }; } &&
65912 { ac_try='test -s conftest.$ac_objext'
65913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65914 (eval $ac_try) 2>&5
65915 ac_status=$?
65916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65917 (exit $ac_status); }; }; then
65918 glibcxx_cv_func_fabsl_use=yes
65919 else
65920 echo "$as_me: failed program was:" >&5
65921 sed 's/^/| /' conftest.$ac_ext >&5
65922
65923 glibcxx_cv_func_fabsl_use=no
65924 fi
65925 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65926 ac_ext=c
65927 ac_cpp='$CPP $CPPFLAGS'
65928 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65929 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65930 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65931
65932
65933 fi
65934
65935 fi
65936 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsl_use" >&5
65937 echo "${ECHO_T}$glibcxx_cv_func_fabsl_use" >&6
65938
65939 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
65940
65941 for ac_func in fabsl
65942 do
65943 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65944 echo "$as_me:$LINENO: checking for $ac_func" >&5
65945 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65946 if eval "test \"\${$as_ac_var+set}\" = set"; then
65947 echo $ECHO_N "(cached) $ECHO_C" >&6
65948 else
65949 if test x$gcc_no_link = xyes; then
65950 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65951 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65952 { (exit 1); exit 1; }; }
65953 fi
65954 cat >conftest.$ac_ext <<_ACEOF
65955 /* confdefs.h. */
65956 _ACEOF
65957 cat confdefs.h >>conftest.$ac_ext
65958 cat >>conftest.$ac_ext <<_ACEOF
65959 /* end confdefs.h. */
65960 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65961 For example, HP-UX 11i <limits.h> declares gettimeofday. */
65962 #define $ac_func innocuous_$ac_func
65963
65964 /* System header to define __stub macros and hopefully few prototypes,
65965 which can conflict with char $ac_func (); below.
65966 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65967 <limits.h> exists even on freestanding compilers. */
65968
65969 #ifdef __STDC__
65970 # include <limits.h>
65971 #else
65972 # include <assert.h>
65973 #endif
65974
65975 #undef $ac_func
65976
65977 /* Override any gcc2 internal prototype to avoid an error. */
65978 #ifdef __cplusplus
65979 extern "C"
65980 {
65981 #endif
65982 /* We use char because int might match the return type of a gcc2
65983 builtin and then its argument prototype would still apply. */
65984 char $ac_func ();
65985 /* The GNU C library defines this for functions which it implements
65986 to always fail with ENOSYS. Some functions are actually named
65987 something starting with __ and the normal name is an alias. */
65988 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65989 choke me
65990 #else
65991 char (*f) () = $ac_func;
65992 #endif
65993 #ifdef __cplusplus
65994 }
65995 #endif
65996
65997 int
65998 main ()
65999 {
66000 return f != $ac_func;
66001 ;
66002 return 0;
66003 }
66004 _ACEOF
66005 rm -f conftest.$ac_objext conftest$ac_exeext
66006 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66007 (eval $ac_link) 2>conftest.er1
66008 ac_status=$?
66009 grep -v '^ *+' conftest.er1 >conftest.err
66010 rm -f conftest.er1
66011 cat conftest.err >&5
66012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66013 (exit $ac_status); } &&
66014 { ac_try='test -z "$ac_c_werror_flag"
66015 || test ! -s conftest.err'
66016 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66017 (eval $ac_try) 2>&5
66018 ac_status=$?
66019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66020 (exit $ac_status); }; } &&
66021 { ac_try='test -s conftest$ac_exeext'
66022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66023 (eval $ac_try) 2>&5
66024 ac_status=$?
66025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66026 (exit $ac_status); }; }; then
66027 eval "$as_ac_var=yes"
66028 else
66029 echo "$as_me: failed program was:" >&5
66030 sed 's/^/| /' conftest.$ac_ext >&5
66031
66032 eval "$as_ac_var=no"
66033 fi
66034 rm -f conftest.err conftest.$ac_objext \
66035 conftest$ac_exeext conftest.$ac_ext
66036 fi
66037 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66038 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66039 if test `eval echo '${'$as_ac_var'}'` = yes; then
66040 cat >>confdefs.h <<_ACEOF
66041 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66042 _ACEOF
66043
66044 fi
66045 done
66046
66047 else
66048
66049 echo "$as_me:$LINENO: checking for _fabsl declaration" >&5
66050 echo $ECHO_N "checking for _fabsl declaration... $ECHO_C" >&6
66051 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
66052 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then
66053 echo $ECHO_N "(cached) $ECHO_C" >&6
66054 else
66055
66056
66057
66058 ac_ext=cc
66059 ac_cpp='$CXXCPP $CPPFLAGS'
66060 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66061 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66062 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66063
66064 cat >conftest.$ac_ext <<_ACEOF
66065 /* confdefs.h. */
66066 _ACEOF
66067 cat confdefs.h >>conftest.$ac_ext
66068 cat >>conftest.$ac_ext <<_ACEOF
66069 /* end confdefs.h. */
66070 #include <math.h>
66071 #ifdef HAVE_IEEEFP_H
66072 #include <ieeefp.h>
66073 #endif
66074
66075 int
66076 main ()
66077 {
66078 _fabsl(0);
66079 ;
66080 return 0;
66081 }
66082 _ACEOF
66083 rm -f conftest.$ac_objext
66084 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66085 (eval $ac_compile) 2>conftest.er1
66086 ac_status=$?
66087 grep -v '^ *+' conftest.er1 >conftest.err
66088 rm -f conftest.er1
66089 cat conftest.err >&5
66090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66091 (exit $ac_status); } &&
66092 { ac_try='test -z "$ac_cxx_werror_flag"
66093 || test ! -s conftest.err'
66094 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66095 (eval $ac_try) 2>&5
66096 ac_status=$?
66097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66098 (exit $ac_status); }; } &&
66099 { ac_try='test -s conftest.$ac_objext'
66100 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66101 (eval $ac_try) 2>&5
66102 ac_status=$?
66103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66104 (exit $ac_status); }; }; then
66105 glibcxx_cv_func__fabsl_use=yes
66106 else
66107 echo "$as_me: failed program was:" >&5
66108 sed 's/^/| /' conftest.$ac_ext >&5
66109
66110 glibcxx_cv_func__fabsl_use=no
66111 fi
66112 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66113 ac_ext=c
66114 ac_cpp='$CPP $CPPFLAGS'
66115 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66116 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66117 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66118
66119
66120 fi
66121
66122 fi
66123 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsl_use" >&5
66124 echo "${ECHO_T}$glibcxx_cv_func__fabsl_use" >&6
66125
66126 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
66127
66128 for ac_func in _fabsl
66129 do
66130 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66131 echo "$as_me:$LINENO: checking for $ac_func" >&5
66132 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66133 if eval "test \"\${$as_ac_var+set}\" = set"; then
66134 echo $ECHO_N "(cached) $ECHO_C" >&6
66135 else
66136 if test x$gcc_no_link = xyes; then
66137 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66138 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66139 { (exit 1); exit 1; }; }
66140 fi
66141 cat >conftest.$ac_ext <<_ACEOF
66142 /* confdefs.h. */
66143 _ACEOF
66144 cat confdefs.h >>conftest.$ac_ext
66145 cat >>conftest.$ac_ext <<_ACEOF
66146 /* end confdefs.h. */
66147 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66148 For example, HP-UX 11i <limits.h> declares gettimeofday. */
66149 #define $ac_func innocuous_$ac_func
66150
66151 /* System header to define __stub macros and hopefully few prototypes,
66152 which can conflict with char $ac_func (); below.
66153 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66154 <limits.h> exists even on freestanding compilers. */
66155
66156 #ifdef __STDC__
66157 # include <limits.h>
66158 #else
66159 # include <assert.h>
66160 #endif
66161
66162 #undef $ac_func
66163
66164 /* Override any gcc2 internal prototype to avoid an error. */
66165 #ifdef __cplusplus
66166 extern "C"
66167 {
66168 #endif
66169 /* We use char because int might match the return type of a gcc2
66170 builtin and then its argument prototype would still apply. */
66171 char $ac_func ();
66172 /* The GNU C library defines this for functions which it implements
66173 to always fail with ENOSYS. Some functions are actually named
66174 something starting with __ and the normal name is an alias. */
66175 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66176 choke me
66177 #else
66178 char (*f) () = $ac_func;
66179 #endif
66180 #ifdef __cplusplus
66181 }
66182 #endif
66183
66184 int
66185 main ()
66186 {
66187 return f != $ac_func;
66188 ;
66189 return 0;
66190 }
66191 _ACEOF
66192 rm -f conftest.$ac_objext conftest$ac_exeext
66193 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66194 (eval $ac_link) 2>conftest.er1
66195 ac_status=$?
66196 grep -v '^ *+' conftest.er1 >conftest.err
66197 rm -f conftest.er1
66198 cat conftest.err >&5
66199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66200 (exit $ac_status); } &&
66201 { ac_try='test -z "$ac_c_werror_flag"
66202 || test ! -s conftest.err'
66203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66204 (eval $ac_try) 2>&5
66205 ac_status=$?
66206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66207 (exit $ac_status); }; } &&
66208 { ac_try='test -s conftest$ac_exeext'
66209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66210 (eval $ac_try) 2>&5
66211 ac_status=$?
66212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66213 (exit $ac_status); }; }; then
66214 eval "$as_ac_var=yes"
66215 else
66216 echo "$as_me: failed program was:" >&5
66217 sed 's/^/| /' conftest.$ac_ext >&5
66218
66219 eval "$as_ac_var=no"
66220 fi
66221 rm -f conftest.err conftest.$ac_objext \
66222 conftest$ac_exeext conftest.$ac_ext
66223 fi
66224 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66225 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66226 if test `eval echo '${'$as_ac_var'}'` = yes; then
66227 cat >>confdefs.h <<_ACEOF
66228 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66229 _ACEOF
66230
66231 fi
66232 done
66233
66234 fi
66235 fi
66236
66237
66238
66239
66240
66241
66242 echo "$as_me:$LINENO: checking for fmodl declaration" >&5
66243 echo $ECHO_N "checking for fmodl declaration... $ECHO_C" >&6
66244 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
66245 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then
66246 echo $ECHO_N "(cached) $ECHO_C" >&6
66247 else
66248
66249
66250
66251 ac_ext=cc
66252 ac_cpp='$CXXCPP $CPPFLAGS'
66253 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66254 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66255 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66256
66257 cat >conftest.$ac_ext <<_ACEOF
66258 /* confdefs.h. */
66259 _ACEOF
66260 cat confdefs.h >>conftest.$ac_ext
66261 cat >>conftest.$ac_ext <<_ACEOF
66262 /* end confdefs.h. */
66263 #include <math.h>
66264 int
66265 main ()
66266 {
66267 fmodl(0, 0);
66268 ;
66269 return 0;
66270 }
66271 _ACEOF
66272 rm -f conftest.$ac_objext
66273 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66274 (eval $ac_compile) 2>conftest.er1
66275 ac_status=$?
66276 grep -v '^ *+' conftest.er1 >conftest.err
66277 rm -f conftest.er1
66278 cat conftest.err >&5
66279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66280 (exit $ac_status); } &&
66281 { ac_try='test -z "$ac_cxx_werror_flag"
66282 || test ! -s conftest.err'
66283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66284 (eval $ac_try) 2>&5
66285 ac_status=$?
66286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66287 (exit $ac_status); }; } &&
66288 { ac_try='test -s conftest.$ac_objext'
66289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66290 (eval $ac_try) 2>&5
66291 ac_status=$?
66292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66293 (exit $ac_status); }; }; then
66294 glibcxx_cv_func_fmodl_use=yes
66295 else
66296 echo "$as_me: failed program was:" >&5
66297 sed 's/^/| /' conftest.$ac_ext >&5
66298
66299 glibcxx_cv_func_fmodl_use=no
66300 fi
66301 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66302 ac_ext=c
66303 ac_cpp='$CPP $CPPFLAGS'
66304 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66305 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66306 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66307
66308
66309 fi
66310
66311 fi
66312 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodl_use" >&5
66313 echo "${ECHO_T}$glibcxx_cv_func_fmodl_use" >&6
66314
66315 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
66316
66317 for ac_func in fmodl
66318 do
66319 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66320 echo "$as_me:$LINENO: checking for $ac_func" >&5
66321 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66322 if eval "test \"\${$as_ac_var+set}\" = set"; then
66323 echo $ECHO_N "(cached) $ECHO_C" >&6
66324 else
66325 if test x$gcc_no_link = xyes; then
66326 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66327 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66328 { (exit 1); exit 1; }; }
66329 fi
66330 cat >conftest.$ac_ext <<_ACEOF
66331 /* confdefs.h. */
66332 _ACEOF
66333 cat confdefs.h >>conftest.$ac_ext
66334 cat >>conftest.$ac_ext <<_ACEOF
66335 /* end confdefs.h. */
66336 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66337 For example, HP-UX 11i <limits.h> declares gettimeofday. */
66338 #define $ac_func innocuous_$ac_func
66339
66340 /* System header to define __stub macros and hopefully few prototypes,
66341 which can conflict with char $ac_func (); below.
66342 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66343 <limits.h> exists even on freestanding compilers. */
66344
66345 #ifdef __STDC__
66346 # include <limits.h>
66347 #else
66348 # include <assert.h>
66349 #endif
66350
66351 #undef $ac_func
66352
66353 /* Override any gcc2 internal prototype to avoid an error. */
66354 #ifdef __cplusplus
66355 extern "C"
66356 {
66357 #endif
66358 /* We use char because int might match the return type of a gcc2
66359 builtin and then its argument prototype would still apply. */
66360 char $ac_func ();
66361 /* The GNU C library defines this for functions which it implements
66362 to always fail with ENOSYS. Some functions are actually named
66363 something starting with __ and the normal name is an alias. */
66364 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66365 choke me
66366 #else
66367 char (*f) () = $ac_func;
66368 #endif
66369 #ifdef __cplusplus
66370 }
66371 #endif
66372
66373 int
66374 main ()
66375 {
66376 return f != $ac_func;
66377 ;
66378 return 0;
66379 }
66380 _ACEOF
66381 rm -f conftest.$ac_objext conftest$ac_exeext
66382 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66383 (eval $ac_link) 2>conftest.er1
66384 ac_status=$?
66385 grep -v '^ *+' conftest.er1 >conftest.err
66386 rm -f conftest.er1
66387 cat conftest.err >&5
66388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66389 (exit $ac_status); } &&
66390 { ac_try='test -z "$ac_c_werror_flag"
66391 || test ! -s conftest.err'
66392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66393 (eval $ac_try) 2>&5
66394 ac_status=$?
66395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66396 (exit $ac_status); }; } &&
66397 { ac_try='test -s conftest$ac_exeext'
66398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66399 (eval $ac_try) 2>&5
66400 ac_status=$?
66401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66402 (exit $ac_status); }; }; then
66403 eval "$as_ac_var=yes"
66404 else
66405 echo "$as_me: failed program was:" >&5
66406 sed 's/^/| /' conftest.$ac_ext >&5
66407
66408 eval "$as_ac_var=no"
66409 fi
66410 rm -f conftest.err conftest.$ac_objext \
66411 conftest$ac_exeext conftest.$ac_ext
66412 fi
66413 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66414 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66415 if test `eval echo '${'$as_ac_var'}'` = yes; then
66416 cat >>confdefs.h <<_ACEOF
66417 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66418 _ACEOF
66419
66420 fi
66421 done
66422
66423 else
66424
66425 echo "$as_me:$LINENO: checking for _fmodl declaration" >&5
66426 echo $ECHO_N "checking for _fmodl declaration... $ECHO_C" >&6
66427 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
66428 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then
66429 echo $ECHO_N "(cached) $ECHO_C" >&6
66430 else
66431
66432
66433
66434 ac_ext=cc
66435 ac_cpp='$CXXCPP $CPPFLAGS'
66436 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66437 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66438 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66439
66440 cat >conftest.$ac_ext <<_ACEOF
66441 /* confdefs.h. */
66442 _ACEOF
66443 cat confdefs.h >>conftest.$ac_ext
66444 cat >>conftest.$ac_ext <<_ACEOF
66445 /* end confdefs.h. */
66446 #include <math.h>
66447 int
66448 main ()
66449 {
66450 _fmodl(0, 0);
66451 ;
66452 return 0;
66453 }
66454 _ACEOF
66455 rm -f conftest.$ac_objext
66456 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66457 (eval $ac_compile) 2>conftest.er1
66458 ac_status=$?
66459 grep -v '^ *+' conftest.er1 >conftest.err
66460 rm -f conftest.er1
66461 cat conftest.err >&5
66462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66463 (exit $ac_status); } &&
66464 { ac_try='test -z "$ac_cxx_werror_flag"
66465 || test ! -s conftest.err'
66466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66467 (eval $ac_try) 2>&5
66468 ac_status=$?
66469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66470 (exit $ac_status); }; } &&
66471 { ac_try='test -s conftest.$ac_objext'
66472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66473 (eval $ac_try) 2>&5
66474 ac_status=$?
66475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66476 (exit $ac_status); }; }; then
66477 glibcxx_cv_func__fmodl_use=yes
66478 else
66479 echo "$as_me: failed program was:" >&5
66480 sed 's/^/| /' conftest.$ac_ext >&5
66481
66482 glibcxx_cv_func__fmodl_use=no
66483 fi
66484 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66485 ac_ext=c
66486 ac_cpp='$CPP $CPPFLAGS'
66487 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66488 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66489 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66490
66491
66492 fi
66493
66494 fi
66495 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodl_use" >&5
66496 echo "${ECHO_T}$glibcxx_cv_func__fmodl_use" >&6
66497
66498 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
66499
66500 for ac_func in _fmodl
66501 do
66502 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66503 echo "$as_me:$LINENO: checking for $ac_func" >&5
66504 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66505 if eval "test \"\${$as_ac_var+set}\" = set"; then
66506 echo $ECHO_N "(cached) $ECHO_C" >&6
66507 else
66508 if test x$gcc_no_link = xyes; then
66509 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66510 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66511 { (exit 1); exit 1; }; }
66512 fi
66513 cat >conftest.$ac_ext <<_ACEOF
66514 /* confdefs.h. */
66515 _ACEOF
66516 cat confdefs.h >>conftest.$ac_ext
66517 cat >>conftest.$ac_ext <<_ACEOF
66518 /* end confdefs.h. */
66519 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66520 For example, HP-UX 11i <limits.h> declares gettimeofday. */
66521 #define $ac_func innocuous_$ac_func
66522
66523 /* System header to define __stub macros and hopefully few prototypes,
66524 which can conflict with char $ac_func (); below.
66525 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66526 <limits.h> exists even on freestanding compilers. */
66527
66528 #ifdef __STDC__
66529 # include <limits.h>
66530 #else
66531 # include <assert.h>
66532 #endif
66533
66534 #undef $ac_func
66535
66536 /* Override any gcc2 internal prototype to avoid an error. */
66537 #ifdef __cplusplus
66538 extern "C"
66539 {
66540 #endif
66541 /* We use char because int might match the return type of a gcc2
66542 builtin and then its argument prototype would still apply. */
66543 char $ac_func ();
66544 /* The GNU C library defines this for functions which it implements
66545 to always fail with ENOSYS. Some functions are actually named
66546 something starting with __ and the normal name is an alias. */
66547 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66548 choke me
66549 #else
66550 char (*f) () = $ac_func;
66551 #endif
66552 #ifdef __cplusplus
66553 }
66554 #endif
66555
66556 int
66557 main ()
66558 {
66559 return f != $ac_func;
66560 ;
66561 return 0;
66562 }
66563 _ACEOF
66564 rm -f conftest.$ac_objext conftest$ac_exeext
66565 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66566 (eval $ac_link) 2>conftest.er1
66567 ac_status=$?
66568 grep -v '^ *+' conftest.er1 >conftest.err
66569 rm -f conftest.er1
66570 cat conftest.err >&5
66571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66572 (exit $ac_status); } &&
66573 { ac_try='test -z "$ac_c_werror_flag"
66574 || test ! -s conftest.err'
66575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66576 (eval $ac_try) 2>&5
66577 ac_status=$?
66578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66579 (exit $ac_status); }; } &&
66580 { ac_try='test -s conftest$ac_exeext'
66581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66582 (eval $ac_try) 2>&5
66583 ac_status=$?
66584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66585 (exit $ac_status); }; }; then
66586 eval "$as_ac_var=yes"
66587 else
66588 echo "$as_me: failed program was:" >&5
66589 sed 's/^/| /' conftest.$ac_ext >&5
66590
66591 eval "$as_ac_var=no"
66592 fi
66593 rm -f conftest.err conftest.$ac_objext \
66594 conftest$ac_exeext conftest.$ac_ext
66595 fi
66596 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66597 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66598 if test `eval echo '${'$as_ac_var'}'` = yes; then
66599 cat >>confdefs.h <<_ACEOF
66600 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66601 _ACEOF
66602
66603 fi
66604 done
66605
66606 fi
66607 fi
66608
66609
66610
66611
66612
66613
66614 echo "$as_me:$LINENO: checking for frexpl declaration" >&5
66615 echo $ECHO_N "checking for frexpl declaration... $ECHO_C" >&6
66616 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
66617 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then
66618 echo $ECHO_N "(cached) $ECHO_C" >&6
66619 else
66620
66621
66622
66623 ac_ext=cc
66624 ac_cpp='$CXXCPP $CPPFLAGS'
66625 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66626 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66627 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66628
66629 cat >conftest.$ac_ext <<_ACEOF
66630 /* confdefs.h. */
66631 _ACEOF
66632 cat confdefs.h >>conftest.$ac_ext
66633 cat >>conftest.$ac_ext <<_ACEOF
66634 /* end confdefs.h. */
66635 #include <math.h>
66636 int
66637 main ()
66638 {
66639 frexpl(0, 0);
66640 ;
66641 return 0;
66642 }
66643 _ACEOF
66644 rm -f conftest.$ac_objext
66645 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66646 (eval $ac_compile) 2>conftest.er1
66647 ac_status=$?
66648 grep -v '^ *+' conftest.er1 >conftest.err
66649 rm -f conftest.er1
66650 cat conftest.err >&5
66651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66652 (exit $ac_status); } &&
66653 { ac_try='test -z "$ac_cxx_werror_flag"
66654 || test ! -s conftest.err'
66655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66656 (eval $ac_try) 2>&5
66657 ac_status=$?
66658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66659 (exit $ac_status); }; } &&
66660 { ac_try='test -s conftest.$ac_objext'
66661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66662 (eval $ac_try) 2>&5
66663 ac_status=$?
66664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66665 (exit $ac_status); }; }; then
66666 glibcxx_cv_func_frexpl_use=yes
66667 else
66668 echo "$as_me: failed program was:" >&5
66669 sed 's/^/| /' conftest.$ac_ext >&5
66670
66671 glibcxx_cv_func_frexpl_use=no
66672 fi
66673 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66674 ac_ext=c
66675 ac_cpp='$CPP $CPPFLAGS'
66676 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66677 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66678 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66679
66680
66681 fi
66682
66683 fi
66684 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpl_use" >&5
66685 echo "${ECHO_T}$glibcxx_cv_func_frexpl_use" >&6
66686
66687 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
66688
66689 for ac_func in frexpl
66690 do
66691 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66692 echo "$as_me:$LINENO: checking for $ac_func" >&5
66693 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66694 if eval "test \"\${$as_ac_var+set}\" = set"; then
66695 echo $ECHO_N "(cached) $ECHO_C" >&6
66696 else
66697 if test x$gcc_no_link = xyes; then
66698 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66699 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66700 { (exit 1); exit 1; }; }
66701 fi
66702 cat >conftest.$ac_ext <<_ACEOF
66703 /* confdefs.h. */
66704 _ACEOF
66705 cat confdefs.h >>conftest.$ac_ext
66706 cat >>conftest.$ac_ext <<_ACEOF
66707 /* end confdefs.h. */
66708 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66709 For example, HP-UX 11i <limits.h> declares gettimeofday. */
66710 #define $ac_func innocuous_$ac_func
66711
66712 /* System header to define __stub macros and hopefully few prototypes,
66713 which can conflict with char $ac_func (); below.
66714 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66715 <limits.h> exists even on freestanding compilers. */
66716
66717 #ifdef __STDC__
66718 # include <limits.h>
66719 #else
66720 # include <assert.h>
66721 #endif
66722
66723 #undef $ac_func
66724
66725 /* Override any gcc2 internal prototype to avoid an error. */
66726 #ifdef __cplusplus
66727 extern "C"
66728 {
66729 #endif
66730 /* We use char because int might match the return type of a gcc2
66731 builtin and then its argument prototype would still apply. */
66732 char $ac_func ();
66733 /* The GNU C library defines this for functions which it implements
66734 to always fail with ENOSYS. Some functions are actually named
66735 something starting with __ and the normal name is an alias. */
66736 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66737 choke me
66738 #else
66739 char (*f) () = $ac_func;
66740 #endif
66741 #ifdef __cplusplus
66742 }
66743 #endif
66744
66745 int
66746 main ()
66747 {
66748 return f != $ac_func;
66749 ;
66750 return 0;
66751 }
66752 _ACEOF
66753 rm -f conftest.$ac_objext conftest$ac_exeext
66754 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66755 (eval $ac_link) 2>conftest.er1
66756 ac_status=$?
66757 grep -v '^ *+' conftest.er1 >conftest.err
66758 rm -f conftest.er1
66759 cat conftest.err >&5
66760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66761 (exit $ac_status); } &&
66762 { ac_try='test -z "$ac_c_werror_flag"
66763 || test ! -s conftest.err'
66764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66765 (eval $ac_try) 2>&5
66766 ac_status=$?
66767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66768 (exit $ac_status); }; } &&
66769 { ac_try='test -s conftest$ac_exeext'
66770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66771 (eval $ac_try) 2>&5
66772 ac_status=$?
66773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66774 (exit $ac_status); }; }; then
66775 eval "$as_ac_var=yes"
66776 else
66777 echo "$as_me: failed program was:" >&5
66778 sed 's/^/| /' conftest.$ac_ext >&5
66779
66780 eval "$as_ac_var=no"
66781 fi
66782 rm -f conftest.err conftest.$ac_objext \
66783 conftest$ac_exeext conftest.$ac_ext
66784 fi
66785 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66786 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66787 if test `eval echo '${'$as_ac_var'}'` = yes; then
66788 cat >>confdefs.h <<_ACEOF
66789 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66790 _ACEOF
66791
66792 fi
66793 done
66794
66795 else
66796
66797 echo "$as_me:$LINENO: checking for _frexpl declaration" >&5
66798 echo $ECHO_N "checking for _frexpl declaration... $ECHO_C" >&6
66799 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
66800 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then
66801 echo $ECHO_N "(cached) $ECHO_C" >&6
66802 else
66803
66804
66805
66806 ac_ext=cc
66807 ac_cpp='$CXXCPP $CPPFLAGS'
66808 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66809 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66810 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66811
66812 cat >conftest.$ac_ext <<_ACEOF
66813 /* confdefs.h. */
66814 _ACEOF
66815 cat confdefs.h >>conftest.$ac_ext
66816 cat >>conftest.$ac_ext <<_ACEOF
66817 /* end confdefs.h. */
66818 #include <math.h>
66819 int
66820 main ()
66821 {
66822 _frexpl(0, 0);
66823 ;
66824 return 0;
66825 }
66826 _ACEOF
66827 rm -f conftest.$ac_objext
66828 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66829 (eval $ac_compile) 2>conftest.er1
66830 ac_status=$?
66831 grep -v '^ *+' conftest.er1 >conftest.err
66832 rm -f conftest.er1
66833 cat conftest.err >&5
66834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66835 (exit $ac_status); } &&
66836 { ac_try='test -z "$ac_cxx_werror_flag"
66837 || test ! -s conftest.err'
66838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66839 (eval $ac_try) 2>&5
66840 ac_status=$?
66841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66842 (exit $ac_status); }; } &&
66843 { ac_try='test -s conftest.$ac_objext'
66844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66845 (eval $ac_try) 2>&5
66846 ac_status=$?
66847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66848 (exit $ac_status); }; }; then
66849 glibcxx_cv_func__frexpl_use=yes
66850 else
66851 echo "$as_me: failed program was:" >&5
66852 sed 's/^/| /' conftest.$ac_ext >&5
66853
66854 glibcxx_cv_func__frexpl_use=no
66855 fi
66856 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66857 ac_ext=c
66858 ac_cpp='$CPP $CPPFLAGS'
66859 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66860 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66861 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66862
66863
66864 fi
66865
66866 fi
66867 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpl_use" >&5
66868 echo "${ECHO_T}$glibcxx_cv_func__frexpl_use" >&6
66869
66870 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
66871
66872 for ac_func in _frexpl
66873 do
66874 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66875 echo "$as_me:$LINENO: checking for $ac_func" >&5
66876 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66877 if eval "test \"\${$as_ac_var+set}\" = set"; then
66878 echo $ECHO_N "(cached) $ECHO_C" >&6
66879 else
66880 if test x$gcc_no_link = xyes; then
66881 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66882 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66883 { (exit 1); exit 1; }; }
66884 fi
66885 cat >conftest.$ac_ext <<_ACEOF
66886 /* confdefs.h. */
66887 _ACEOF
66888 cat confdefs.h >>conftest.$ac_ext
66889 cat >>conftest.$ac_ext <<_ACEOF
66890 /* end confdefs.h. */
66891 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66892 For example, HP-UX 11i <limits.h> declares gettimeofday. */
66893 #define $ac_func innocuous_$ac_func
66894
66895 /* System header to define __stub macros and hopefully few prototypes,
66896 which can conflict with char $ac_func (); below.
66897 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66898 <limits.h> exists even on freestanding compilers. */
66899
66900 #ifdef __STDC__
66901 # include <limits.h>
66902 #else
66903 # include <assert.h>
66904 #endif
66905
66906 #undef $ac_func
66907
66908 /* Override any gcc2 internal prototype to avoid an error. */
66909 #ifdef __cplusplus
66910 extern "C"
66911 {
66912 #endif
66913 /* We use char because int might match the return type of a gcc2
66914 builtin and then its argument prototype would still apply. */
66915 char $ac_func ();
66916 /* The GNU C library defines this for functions which it implements
66917 to always fail with ENOSYS. Some functions are actually named
66918 something starting with __ and the normal name is an alias. */
66919 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66920 choke me
66921 #else
66922 char (*f) () = $ac_func;
66923 #endif
66924 #ifdef __cplusplus
66925 }
66926 #endif
66927
66928 int
66929 main ()
66930 {
66931 return f != $ac_func;
66932 ;
66933 return 0;
66934 }
66935 _ACEOF
66936 rm -f conftest.$ac_objext conftest$ac_exeext
66937 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66938 (eval $ac_link) 2>conftest.er1
66939 ac_status=$?
66940 grep -v '^ *+' conftest.er1 >conftest.err
66941 rm -f conftest.er1
66942 cat conftest.err >&5
66943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66944 (exit $ac_status); } &&
66945 { ac_try='test -z "$ac_c_werror_flag"
66946 || test ! -s conftest.err'
66947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66948 (eval $ac_try) 2>&5
66949 ac_status=$?
66950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66951 (exit $ac_status); }; } &&
66952 { ac_try='test -s conftest$ac_exeext'
66953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66954 (eval $ac_try) 2>&5
66955 ac_status=$?
66956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66957 (exit $ac_status); }; }; then
66958 eval "$as_ac_var=yes"
66959 else
66960 echo "$as_me: failed program was:" >&5
66961 sed 's/^/| /' conftest.$ac_ext >&5
66962
66963 eval "$as_ac_var=no"
66964 fi
66965 rm -f conftest.err conftest.$ac_objext \
66966 conftest$ac_exeext conftest.$ac_ext
66967 fi
66968 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66969 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66970 if test `eval echo '${'$as_ac_var'}'` = yes; then
66971 cat >>confdefs.h <<_ACEOF
66972 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66973 _ACEOF
66974
66975 fi
66976 done
66977
66978 fi
66979 fi
66980
66981
66982
66983
66984
66985
66986 echo "$as_me:$LINENO: checking for hypotl declaration" >&5
66987 echo $ECHO_N "checking for hypotl declaration... $ECHO_C" >&6
66988 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
66989 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then
66990 echo $ECHO_N "(cached) $ECHO_C" >&6
66991 else
66992
66993
66994
66995 ac_ext=cc
66996 ac_cpp='$CXXCPP $CPPFLAGS'
66997 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66998 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66999 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67000
67001 cat >conftest.$ac_ext <<_ACEOF
67002 /* confdefs.h. */
67003 _ACEOF
67004 cat confdefs.h >>conftest.$ac_ext
67005 cat >>conftest.$ac_ext <<_ACEOF
67006 /* end confdefs.h. */
67007 #include <math.h>
67008 int
67009 main ()
67010 {
67011 hypotl(0, 0);
67012 ;
67013 return 0;
67014 }
67015 _ACEOF
67016 rm -f conftest.$ac_objext
67017 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67018 (eval $ac_compile) 2>conftest.er1
67019 ac_status=$?
67020 grep -v '^ *+' conftest.er1 >conftest.err
67021 rm -f conftest.er1
67022 cat conftest.err >&5
67023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67024 (exit $ac_status); } &&
67025 { ac_try='test -z "$ac_cxx_werror_flag"
67026 || test ! -s conftest.err'
67027 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67028 (eval $ac_try) 2>&5
67029 ac_status=$?
67030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67031 (exit $ac_status); }; } &&
67032 { ac_try='test -s conftest.$ac_objext'
67033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67034 (eval $ac_try) 2>&5
67035 ac_status=$?
67036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67037 (exit $ac_status); }; }; then
67038 glibcxx_cv_func_hypotl_use=yes
67039 else
67040 echo "$as_me: failed program was:" >&5
67041 sed 's/^/| /' conftest.$ac_ext >&5
67042
67043 glibcxx_cv_func_hypotl_use=no
67044 fi
67045 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67046 ac_ext=c
67047 ac_cpp='$CPP $CPPFLAGS'
67048 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67049 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67050 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67051
67052
67053 fi
67054
67055 fi
67056 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotl_use" >&5
67057 echo "${ECHO_T}$glibcxx_cv_func_hypotl_use" >&6
67058
67059 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
67060
67061 for ac_func in hypotl
67062 do
67063 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67064 echo "$as_me:$LINENO: checking for $ac_func" >&5
67065 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67066 if eval "test \"\${$as_ac_var+set}\" = set"; then
67067 echo $ECHO_N "(cached) $ECHO_C" >&6
67068 else
67069 if test x$gcc_no_link = xyes; then
67070 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67071 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67072 { (exit 1); exit 1; }; }
67073 fi
67074 cat >conftest.$ac_ext <<_ACEOF
67075 /* confdefs.h. */
67076 _ACEOF
67077 cat confdefs.h >>conftest.$ac_ext
67078 cat >>conftest.$ac_ext <<_ACEOF
67079 /* end confdefs.h. */
67080 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67081 For example, HP-UX 11i <limits.h> declares gettimeofday. */
67082 #define $ac_func innocuous_$ac_func
67083
67084 /* System header to define __stub macros and hopefully few prototypes,
67085 which can conflict with char $ac_func (); below.
67086 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67087 <limits.h> exists even on freestanding compilers. */
67088
67089 #ifdef __STDC__
67090 # include <limits.h>
67091 #else
67092 # include <assert.h>
67093 #endif
67094
67095 #undef $ac_func
67096
67097 /* Override any gcc2 internal prototype to avoid an error. */
67098 #ifdef __cplusplus
67099 extern "C"
67100 {
67101 #endif
67102 /* We use char because int might match the return type of a gcc2
67103 builtin and then its argument prototype would still apply. */
67104 char $ac_func ();
67105 /* The GNU C library defines this for functions which it implements
67106 to always fail with ENOSYS. Some functions are actually named
67107 something starting with __ and the normal name is an alias. */
67108 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67109 choke me
67110 #else
67111 char (*f) () = $ac_func;
67112 #endif
67113 #ifdef __cplusplus
67114 }
67115 #endif
67116
67117 int
67118 main ()
67119 {
67120 return f != $ac_func;
67121 ;
67122 return 0;
67123 }
67124 _ACEOF
67125 rm -f conftest.$ac_objext conftest$ac_exeext
67126 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67127 (eval $ac_link) 2>conftest.er1
67128 ac_status=$?
67129 grep -v '^ *+' conftest.er1 >conftest.err
67130 rm -f conftest.er1
67131 cat conftest.err >&5
67132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67133 (exit $ac_status); } &&
67134 { ac_try='test -z "$ac_c_werror_flag"
67135 || test ! -s conftest.err'
67136 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67137 (eval $ac_try) 2>&5
67138 ac_status=$?
67139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67140 (exit $ac_status); }; } &&
67141 { ac_try='test -s conftest$ac_exeext'
67142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67143 (eval $ac_try) 2>&5
67144 ac_status=$?
67145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67146 (exit $ac_status); }; }; then
67147 eval "$as_ac_var=yes"
67148 else
67149 echo "$as_me: failed program was:" >&5
67150 sed 's/^/| /' conftest.$ac_ext >&5
67151
67152 eval "$as_ac_var=no"
67153 fi
67154 rm -f conftest.err conftest.$ac_objext \
67155 conftest$ac_exeext conftest.$ac_ext
67156 fi
67157 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67158 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67159 if test `eval echo '${'$as_ac_var'}'` = yes; then
67160 cat >>confdefs.h <<_ACEOF
67161 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67162 _ACEOF
67163
67164 fi
67165 done
67166
67167 else
67168
67169 echo "$as_me:$LINENO: checking for _hypotl declaration" >&5
67170 echo $ECHO_N "checking for _hypotl declaration... $ECHO_C" >&6
67171 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
67172 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then
67173 echo $ECHO_N "(cached) $ECHO_C" >&6
67174 else
67175
67176
67177
67178 ac_ext=cc
67179 ac_cpp='$CXXCPP $CPPFLAGS'
67180 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67181 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67182 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67183
67184 cat >conftest.$ac_ext <<_ACEOF
67185 /* confdefs.h. */
67186 _ACEOF
67187 cat confdefs.h >>conftest.$ac_ext
67188 cat >>conftest.$ac_ext <<_ACEOF
67189 /* end confdefs.h. */
67190 #include <math.h>
67191 int
67192 main ()
67193 {
67194 _hypotl(0, 0);
67195 ;
67196 return 0;
67197 }
67198 _ACEOF
67199 rm -f conftest.$ac_objext
67200 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67201 (eval $ac_compile) 2>conftest.er1
67202 ac_status=$?
67203 grep -v '^ *+' conftest.er1 >conftest.err
67204 rm -f conftest.er1
67205 cat conftest.err >&5
67206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67207 (exit $ac_status); } &&
67208 { ac_try='test -z "$ac_cxx_werror_flag"
67209 || test ! -s conftest.err'
67210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67211 (eval $ac_try) 2>&5
67212 ac_status=$?
67213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67214 (exit $ac_status); }; } &&
67215 { ac_try='test -s conftest.$ac_objext'
67216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67217 (eval $ac_try) 2>&5
67218 ac_status=$?
67219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67220 (exit $ac_status); }; }; then
67221 glibcxx_cv_func__hypotl_use=yes
67222 else
67223 echo "$as_me: failed program was:" >&5
67224 sed 's/^/| /' conftest.$ac_ext >&5
67225
67226 glibcxx_cv_func__hypotl_use=no
67227 fi
67228 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67229 ac_ext=c
67230 ac_cpp='$CPP $CPPFLAGS'
67231 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67232 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67233 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67234
67235
67236 fi
67237
67238 fi
67239 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotl_use" >&5
67240 echo "${ECHO_T}$glibcxx_cv_func__hypotl_use" >&6
67241
67242 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
67243
67244 for ac_func in _hypotl
67245 do
67246 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67247 echo "$as_me:$LINENO: checking for $ac_func" >&5
67248 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67249 if eval "test \"\${$as_ac_var+set}\" = set"; then
67250 echo $ECHO_N "(cached) $ECHO_C" >&6
67251 else
67252 if test x$gcc_no_link = xyes; then
67253 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67254 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67255 { (exit 1); exit 1; }; }
67256 fi
67257 cat >conftest.$ac_ext <<_ACEOF
67258 /* confdefs.h. */
67259 _ACEOF
67260 cat confdefs.h >>conftest.$ac_ext
67261 cat >>conftest.$ac_ext <<_ACEOF
67262 /* end confdefs.h. */
67263 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67264 For example, HP-UX 11i <limits.h> declares gettimeofday. */
67265 #define $ac_func innocuous_$ac_func
67266
67267 /* System header to define __stub macros and hopefully few prototypes,
67268 which can conflict with char $ac_func (); below.
67269 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67270 <limits.h> exists even on freestanding compilers. */
67271
67272 #ifdef __STDC__
67273 # include <limits.h>
67274 #else
67275 # include <assert.h>
67276 #endif
67277
67278 #undef $ac_func
67279
67280 /* Override any gcc2 internal prototype to avoid an error. */
67281 #ifdef __cplusplus
67282 extern "C"
67283 {
67284 #endif
67285 /* We use char because int might match the return type of a gcc2
67286 builtin and then its argument prototype would still apply. */
67287 char $ac_func ();
67288 /* The GNU C library defines this for functions which it implements
67289 to always fail with ENOSYS. Some functions are actually named
67290 something starting with __ and the normal name is an alias. */
67291 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67292 choke me
67293 #else
67294 char (*f) () = $ac_func;
67295 #endif
67296 #ifdef __cplusplus
67297 }
67298 #endif
67299
67300 int
67301 main ()
67302 {
67303 return f != $ac_func;
67304 ;
67305 return 0;
67306 }
67307 _ACEOF
67308 rm -f conftest.$ac_objext conftest$ac_exeext
67309 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67310 (eval $ac_link) 2>conftest.er1
67311 ac_status=$?
67312 grep -v '^ *+' conftest.er1 >conftest.err
67313 rm -f conftest.er1
67314 cat conftest.err >&5
67315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67316 (exit $ac_status); } &&
67317 { ac_try='test -z "$ac_c_werror_flag"
67318 || test ! -s conftest.err'
67319 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67320 (eval $ac_try) 2>&5
67321 ac_status=$?
67322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67323 (exit $ac_status); }; } &&
67324 { ac_try='test -s conftest$ac_exeext'
67325 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67326 (eval $ac_try) 2>&5
67327 ac_status=$?
67328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67329 (exit $ac_status); }; }; then
67330 eval "$as_ac_var=yes"
67331 else
67332 echo "$as_me: failed program was:" >&5
67333 sed 's/^/| /' conftest.$ac_ext >&5
67334
67335 eval "$as_ac_var=no"
67336 fi
67337 rm -f conftest.err conftest.$ac_objext \
67338 conftest$ac_exeext conftest.$ac_ext
67339 fi
67340 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67341 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67342 if test `eval echo '${'$as_ac_var'}'` = yes; then
67343 cat >>confdefs.h <<_ACEOF
67344 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67345 _ACEOF
67346
67347 fi
67348 done
67349
67350 fi
67351 fi
67352
67353
67354
67355
67356
67357
67358 echo "$as_me:$LINENO: checking for ldexpl declaration" >&5
67359 echo $ECHO_N "checking for ldexpl declaration... $ECHO_C" >&6
67360 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
67361 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then
67362 echo $ECHO_N "(cached) $ECHO_C" >&6
67363 else
67364
67365
67366
67367 ac_ext=cc
67368 ac_cpp='$CXXCPP $CPPFLAGS'
67369 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67370 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67371 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67372
67373 cat >conftest.$ac_ext <<_ACEOF
67374 /* confdefs.h. */
67375 _ACEOF
67376 cat confdefs.h >>conftest.$ac_ext
67377 cat >>conftest.$ac_ext <<_ACEOF
67378 /* end confdefs.h. */
67379 #include <math.h>
67380 int
67381 main ()
67382 {
67383 ldexpl(0, 0);
67384 ;
67385 return 0;
67386 }
67387 _ACEOF
67388 rm -f conftest.$ac_objext
67389 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67390 (eval $ac_compile) 2>conftest.er1
67391 ac_status=$?
67392 grep -v '^ *+' conftest.er1 >conftest.err
67393 rm -f conftest.er1
67394 cat conftest.err >&5
67395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67396 (exit $ac_status); } &&
67397 { ac_try='test -z "$ac_cxx_werror_flag"
67398 || test ! -s conftest.err'
67399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67400 (eval $ac_try) 2>&5
67401 ac_status=$?
67402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67403 (exit $ac_status); }; } &&
67404 { ac_try='test -s conftest.$ac_objext'
67405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67406 (eval $ac_try) 2>&5
67407 ac_status=$?
67408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67409 (exit $ac_status); }; }; then
67410 glibcxx_cv_func_ldexpl_use=yes
67411 else
67412 echo "$as_me: failed program was:" >&5
67413 sed 's/^/| /' conftest.$ac_ext >&5
67414
67415 glibcxx_cv_func_ldexpl_use=no
67416 fi
67417 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67418 ac_ext=c
67419 ac_cpp='$CPP $CPPFLAGS'
67420 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67421 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67422 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67423
67424
67425 fi
67426
67427 fi
67428 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpl_use" >&5
67429 echo "${ECHO_T}$glibcxx_cv_func_ldexpl_use" >&6
67430
67431 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
67432
67433 for ac_func in ldexpl
67434 do
67435 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67436 echo "$as_me:$LINENO: checking for $ac_func" >&5
67437 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67438 if eval "test \"\${$as_ac_var+set}\" = set"; then
67439 echo $ECHO_N "(cached) $ECHO_C" >&6
67440 else
67441 if test x$gcc_no_link = xyes; then
67442 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67443 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67444 { (exit 1); exit 1; }; }
67445 fi
67446 cat >conftest.$ac_ext <<_ACEOF
67447 /* confdefs.h. */
67448 _ACEOF
67449 cat confdefs.h >>conftest.$ac_ext
67450 cat >>conftest.$ac_ext <<_ACEOF
67451 /* end confdefs.h. */
67452 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67453 For example, HP-UX 11i <limits.h> declares gettimeofday. */
67454 #define $ac_func innocuous_$ac_func
67455
67456 /* System header to define __stub macros and hopefully few prototypes,
67457 which can conflict with char $ac_func (); below.
67458 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67459 <limits.h> exists even on freestanding compilers. */
67460
67461 #ifdef __STDC__
67462 # include <limits.h>
67463 #else
67464 # include <assert.h>
67465 #endif
67466
67467 #undef $ac_func
67468
67469 /* Override any gcc2 internal prototype to avoid an error. */
67470 #ifdef __cplusplus
67471 extern "C"
67472 {
67473 #endif
67474 /* We use char because int might match the return type of a gcc2
67475 builtin and then its argument prototype would still apply. */
67476 char $ac_func ();
67477 /* The GNU C library defines this for functions which it implements
67478 to always fail with ENOSYS. Some functions are actually named
67479 something starting with __ and the normal name is an alias. */
67480 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67481 choke me
67482 #else
67483 char (*f) () = $ac_func;
67484 #endif
67485 #ifdef __cplusplus
67486 }
67487 #endif
67488
67489 int
67490 main ()
67491 {
67492 return f != $ac_func;
67493 ;
67494 return 0;
67495 }
67496 _ACEOF
67497 rm -f conftest.$ac_objext conftest$ac_exeext
67498 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67499 (eval $ac_link) 2>conftest.er1
67500 ac_status=$?
67501 grep -v '^ *+' conftest.er1 >conftest.err
67502 rm -f conftest.er1
67503 cat conftest.err >&5
67504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67505 (exit $ac_status); } &&
67506 { ac_try='test -z "$ac_c_werror_flag"
67507 || test ! -s conftest.err'
67508 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67509 (eval $ac_try) 2>&5
67510 ac_status=$?
67511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67512 (exit $ac_status); }; } &&
67513 { ac_try='test -s conftest$ac_exeext'
67514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67515 (eval $ac_try) 2>&5
67516 ac_status=$?
67517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67518 (exit $ac_status); }; }; then
67519 eval "$as_ac_var=yes"
67520 else
67521 echo "$as_me: failed program was:" >&5
67522 sed 's/^/| /' conftest.$ac_ext >&5
67523
67524 eval "$as_ac_var=no"
67525 fi
67526 rm -f conftest.err conftest.$ac_objext \
67527 conftest$ac_exeext conftest.$ac_ext
67528 fi
67529 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67530 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67531 if test `eval echo '${'$as_ac_var'}'` = yes; then
67532 cat >>confdefs.h <<_ACEOF
67533 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67534 _ACEOF
67535
67536 fi
67537 done
67538
67539 else
67540
67541 echo "$as_me:$LINENO: checking for _ldexpl declaration" >&5
67542 echo $ECHO_N "checking for _ldexpl declaration... $ECHO_C" >&6
67543 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
67544 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then
67545 echo $ECHO_N "(cached) $ECHO_C" >&6
67546 else
67547
67548
67549
67550 ac_ext=cc
67551 ac_cpp='$CXXCPP $CPPFLAGS'
67552 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67553 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67554 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67555
67556 cat >conftest.$ac_ext <<_ACEOF
67557 /* confdefs.h. */
67558 _ACEOF
67559 cat confdefs.h >>conftest.$ac_ext
67560 cat >>conftest.$ac_ext <<_ACEOF
67561 /* end confdefs.h. */
67562 #include <math.h>
67563 int
67564 main ()
67565 {
67566 _ldexpl(0, 0);
67567 ;
67568 return 0;
67569 }
67570 _ACEOF
67571 rm -f conftest.$ac_objext
67572 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67573 (eval $ac_compile) 2>conftest.er1
67574 ac_status=$?
67575 grep -v '^ *+' conftest.er1 >conftest.err
67576 rm -f conftest.er1
67577 cat conftest.err >&5
67578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67579 (exit $ac_status); } &&
67580 { ac_try='test -z "$ac_cxx_werror_flag"
67581 || test ! -s conftest.err'
67582 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67583 (eval $ac_try) 2>&5
67584 ac_status=$?
67585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67586 (exit $ac_status); }; } &&
67587 { ac_try='test -s conftest.$ac_objext'
67588 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67589 (eval $ac_try) 2>&5
67590 ac_status=$?
67591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67592 (exit $ac_status); }; }; then
67593 glibcxx_cv_func__ldexpl_use=yes
67594 else
67595 echo "$as_me: failed program was:" >&5
67596 sed 's/^/| /' conftest.$ac_ext >&5
67597
67598 glibcxx_cv_func__ldexpl_use=no
67599 fi
67600 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67601 ac_ext=c
67602 ac_cpp='$CPP $CPPFLAGS'
67603 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67604 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67605 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67606
67607
67608 fi
67609
67610 fi
67611 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpl_use" >&5
67612 echo "${ECHO_T}$glibcxx_cv_func__ldexpl_use" >&6
67613
67614 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
67615
67616 for ac_func in _ldexpl
67617 do
67618 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67619 echo "$as_me:$LINENO: checking for $ac_func" >&5
67620 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67621 if eval "test \"\${$as_ac_var+set}\" = set"; then
67622 echo $ECHO_N "(cached) $ECHO_C" >&6
67623 else
67624 if test x$gcc_no_link = xyes; then
67625 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67626 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67627 { (exit 1); exit 1; }; }
67628 fi
67629 cat >conftest.$ac_ext <<_ACEOF
67630 /* confdefs.h. */
67631 _ACEOF
67632 cat confdefs.h >>conftest.$ac_ext
67633 cat >>conftest.$ac_ext <<_ACEOF
67634 /* end confdefs.h. */
67635 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67636 For example, HP-UX 11i <limits.h> declares gettimeofday. */
67637 #define $ac_func innocuous_$ac_func
67638
67639 /* System header to define __stub macros and hopefully few prototypes,
67640 which can conflict with char $ac_func (); below.
67641 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67642 <limits.h> exists even on freestanding compilers. */
67643
67644 #ifdef __STDC__
67645 # include <limits.h>
67646 #else
67647 # include <assert.h>
67648 #endif
67649
67650 #undef $ac_func
67651
67652 /* Override any gcc2 internal prototype to avoid an error. */
67653 #ifdef __cplusplus
67654 extern "C"
67655 {
67656 #endif
67657 /* We use char because int might match the return type of a gcc2
67658 builtin and then its argument prototype would still apply. */
67659 char $ac_func ();
67660 /* The GNU C library defines this for functions which it implements
67661 to always fail with ENOSYS. Some functions are actually named
67662 something starting with __ and the normal name is an alias. */
67663 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67664 choke me
67665 #else
67666 char (*f) () = $ac_func;
67667 #endif
67668 #ifdef __cplusplus
67669 }
67670 #endif
67671
67672 int
67673 main ()
67674 {
67675 return f != $ac_func;
67676 ;
67677 return 0;
67678 }
67679 _ACEOF
67680 rm -f conftest.$ac_objext conftest$ac_exeext
67681 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67682 (eval $ac_link) 2>conftest.er1
67683 ac_status=$?
67684 grep -v '^ *+' conftest.er1 >conftest.err
67685 rm -f conftest.er1
67686 cat conftest.err >&5
67687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67688 (exit $ac_status); } &&
67689 { ac_try='test -z "$ac_c_werror_flag"
67690 || test ! -s conftest.err'
67691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67692 (eval $ac_try) 2>&5
67693 ac_status=$?
67694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67695 (exit $ac_status); }; } &&
67696 { ac_try='test -s conftest$ac_exeext'
67697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67698 (eval $ac_try) 2>&5
67699 ac_status=$?
67700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67701 (exit $ac_status); }; }; then
67702 eval "$as_ac_var=yes"
67703 else
67704 echo "$as_me: failed program was:" >&5
67705 sed 's/^/| /' conftest.$ac_ext >&5
67706
67707 eval "$as_ac_var=no"
67708 fi
67709 rm -f conftest.err conftest.$ac_objext \
67710 conftest$ac_exeext conftest.$ac_ext
67711 fi
67712 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67713 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67714 if test `eval echo '${'$as_ac_var'}'` = yes; then
67715 cat >>confdefs.h <<_ACEOF
67716 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67717 _ACEOF
67718
67719 fi
67720 done
67721
67722 fi
67723 fi
67724
67725
67726
67727
67728
67729
67730 echo "$as_me:$LINENO: checking for logl declaration" >&5
67731 echo $ECHO_N "checking for logl declaration... $ECHO_C" >&6
67732 if test x${glibcxx_cv_func_logl_use+set} != xset; then
67733 if test "${glibcxx_cv_func_logl_use+set}" = set; then
67734 echo $ECHO_N "(cached) $ECHO_C" >&6
67735 else
67736
67737
67738
67739 ac_ext=cc
67740 ac_cpp='$CXXCPP $CPPFLAGS'
67741 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67742 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67743 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67744
67745 cat >conftest.$ac_ext <<_ACEOF
67746 /* confdefs.h. */
67747 _ACEOF
67748 cat confdefs.h >>conftest.$ac_ext
67749 cat >>conftest.$ac_ext <<_ACEOF
67750 /* end confdefs.h. */
67751 #include <math.h>
67752 #ifdef HAVE_IEEEFP_H
67753 #include <ieeefp.h>
67754 #endif
67755
67756 int
67757 main ()
67758 {
67759 logl(0);
67760 ;
67761 return 0;
67762 }
67763 _ACEOF
67764 rm -f conftest.$ac_objext
67765 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67766 (eval $ac_compile) 2>conftest.er1
67767 ac_status=$?
67768 grep -v '^ *+' conftest.er1 >conftest.err
67769 rm -f conftest.er1
67770 cat conftest.err >&5
67771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67772 (exit $ac_status); } &&
67773 { ac_try='test -z "$ac_cxx_werror_flag"
67774 || test ! -s conftest.err'
67775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67776 (eval $ac_try) 2>&5
67777 ac_status=$?
67778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67779 (exit $ac_status); }; } &&
67780 { ac_try='test -s conftest.$ac_objext'
67781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67782 (eval $ac_try) 2>&5
67783 ac_status=$?
67784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67785 (exit $ac_status); }; }; then
67786 glibcxx_cv_func_logl_use=yes
67787 else
67788 echo "$as_me: failed program was:" >&5
67789 sed 's/^/| /' conftest.$ac_ext >&5
67790
67791 glibcxx_cv_func_logl_use=no
67792 fi
67793 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67794 ac_ext=c
67795 ac_cpp='$CPP $CPPFLAGS'
67796 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67797 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67798 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67799
67800
67801 fi
67802
67803 fi
67804 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logl_use" >&5
67805 echo "${ECHO_T}$glibcxx_cv_func_logl_use" >&6
67806
67807 if test x$glibcxx_cv_func_logl_use = x"yes"; then
67808
67809 for ac_func in logl
67810 do
67811 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67812 echo "$as_me:$LINENO: checking for $ac_func" >&5
67813 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67814 if eval "test \"\${$as_ac_var+set}\" = set"; then
67815 echo $ECHO_N "(cached) $ECHO_C" >&6
67816 else
67817 if test x$gcc_no_link = xyes; then
67818 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67819 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67820 { (exit 1); exit 1; }; }
67821 fi
67822 cat >conftest.$ac_ext <<_ACEOF
67823 /* confdefs.h. */
67824 _ACEOF
67825 cat confdefs.h >>conftest.$ac_ext
67826 cat >>conftest.$ac_ext <<_ACEOF
67827 /* end confdefs.h. */
67828 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67829 For example, HP-UX 11i <limits.h> declares gettimeofday. */
67830 #define $ac_func innocuous_$ac_func
67831
67832 /* System header to define __stub macros and hopefully few prototypes,
67833 which can conflict with char $ac_func (); below.
67834 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67835 <limits.h> exists even on freestanding compilers. */
67836
67837 #ifdef __STDC__
67838 # include <limits.h>
67839 #else
67840 # include <assert.h>
67841 #endif
67842
67843 #undef $ac_func
67844
67845 /* Override any gcc2 internal prototype to avoid an error. */
67846 #ifdef __cplusplus
67847 extern "C"
67848 {
67849 #endif
67850 /* We use char because int might match the return type of a gcc2
67851 builtin and then its argument prototype would still apply. */
67852 char $ac_func ();
67853 /* The GNU C library defines this for functions which it implements
67854 to always fail with ENOSYS. Some functions are actually named
67855 something starting with __ and the normal name is an alias. */
67856 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67857 choke me
67858 #else
67859 char (*f) () = $ac_func;
67860 #endif
67861 #ifdef __cplusplus
67862 }
67863 #endif
67864
67865 int
67866 main ()
67867 {
67868 return f != $ac_func;
67869 ;
67870 return 0;
67871 }
67872 _ACEOF
67873 rm -f conftest.$ac_objext conftest$ac_exeext
67874 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67875 (eval $ac_link) 2>conftest.er1
67876 ac_status=$?
67877 grep -v '^ *+' conftest.er1 >conftest.err
67878 rm -f conftest.er1
67879 cat conftest.err >&5
67880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67881 (exit $ac_status); } &&
67882 { ac_try='test -z "$ac_c_werror_flag"
67883 || test ! -s conftest.err'
67884 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67885 (eval $ac_try) 2>&5
67886 ac_status=$?
67887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67888 (exit $ac_status); }; } &&
67889 { ac_try='test -s conftest$ac_exeext'
67890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67891 (eval $ac_try) 2>&5
67892 ac_status=$?
67893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67894 (exit $ac_status); }; }; then
67895 eval "$as_ac_var=yes"
67896 else
67897 echo "$as_me: failed program was:" >&5
67898 sed 's/^/| /' conftest.$ac_ext >&5
67899
67900 eval "$as_ac_var=no"
67901 fi
67902 rm -f conftest.err conftest.$ac_objext \
67903 conftest$ac_exeext conftest.$ac_ext
67904 fi
67905 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67906 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67907 if test `eval echo '${'$as_ac_var'}'` = yes; then
67908 cat >>confdefs.h <<_ACEOF
67909 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67910 _ACEOF
67911
67912 fi
67913 done
67914
67915 else
67916
67917 echo "$as_me:$LINENO: checking for _logl declaration" >&5
67918 echo $ECHO_N "checking for _logl declaration... $ECHO_C" >&6
67919 if test x${glibcxx_cv_func__logl_use+set} != xset; then
67920 if test "${glibcxx_cv_func__logl_use+set}" = set; then
67921 echo $ECHO_N "(cached) $ECHO_C" >&6
67922 else
67923
67924
67925
67926 ac_ext=cc
67927 ac_cpp='$CXXCPP $CPPFLAGS'
67928 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67929 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67930 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67931
67932 cat >conftest.$ac_ext <<_ACEOF
67933 /* confdefs.h. */
67934 _ACEOF
67935 cat confdefs.h >>conftest.$ac_ext
67936 cat >>conftest.$ac_ext <<_ACEOF
67937 /* end confdefs.h. */
67938 #include <math.h>
67939 #ifdef HAVE_IEEEFP_H
67940 #include <ieeefp.h>
67941 #endif
67942
67943 int
67944 main ()
67945 {
67946 _logl(0);
67947 ;
67948 return 0;
67949 }
67950 _ACEOF
67951 rm -f conftest.$ac_objext
67952 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67953 (eval $ac_compile) 2>conftest.er1
67954 ac_status=$?
67955 grep -v '^ *+' conftest.er1 >conftest.err
67956 rm -f conftest.er1
67957 cat conftest.err >&5
67958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67959 (exit $ac_status); } &&
67960 { ac_try='test -z "$ac_cxx_werror_flag"
67961 || test ! -s conftest.err'
67962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67963 (eval $ac_try) 2>&5
67964 ac_status=$?
67965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67966 (exit $ac_status); }; } &&
67967 { ac_try='test -s conftest.$ac_objext'
67968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67969 (eval $ac_try) 2>&5
67970 ac_status=$?
67971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67972 (exit $ac_status); }; }; then
67973 glibcxx_cv_func__logl_use=yes
67974 else
67975 echo "$as_me: failed program was:" >&5
67976 sed 's/^/| /' conftest.$ac_ext >&5
67977
67978 glibcxx_cv_func__logl_use=no
67979 fi
67980 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67981 ac_ext=c
67982 ac_cpp='$CPP $CPPFLAGS'
67983 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67984 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67985 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67986
67987
67988 fi
67989
67990 fi
67991 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logl_use" >&5
67992 echo "${ECHO_T}$glibcxx_cv_func__logl_use" >&6
67993
67994 if test x$glibcxx_cv_func__logl_use = x"yes"; then
67995
67996 for ac_func in _logl
67997 do
67998 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67999 echo "$as_me:$LINENO: checking for $ac_func" >&5
68000 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68001 if eval "test \"\${$as_ac_var+set}\" = set"; then
68002 echo $ECHO_N "(cached) $ECHO_C" >&6
68003 else
68004 if test x$gcc_no_link = xyes; then
68005 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68006 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68007 { (exit 1); exit 1; }; }
68008 fi
68009 cat >conftest.$ac_ext <<_ACEOF
68010 /* confdefs.h. */
68011 _ACEOF
68012 cat confdefs.h >>conftest.$ac_ext
68013 cat >>conftest.$ac_ext <<_ACEOF
68014 /* end confdefs.h. */
68015 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68016 For example, HP-UX 11i <limits.h> declares gettimeofday. */
68017 #define $ac_func innocuous_$ac_func
68018
68019 /* System header to define __stub macros and hopefully few prototypes,
68020 which can conflict with char $ac_func (); below.
68021 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68022 <limits.h> exists even on freestanding compilers. */
68023
68024 #ifdef __STDC__
68025 # include <limits.h>
68026 #else
68027 # include <assert.h>
68028 #endif
68029
68030 #undef $ac_func
68031
68032 /* Override any gcc2 internal prototype to avoid an error. */
68033 #ifdef __cplusplus
68034 extern "C"
68035 {
68036 #endif
68037 /* We use char because int might match the return type of a gcc2
68038 builtin and then its argument prototype would still apply. */
68039 char $ac_func ();
68040 /* The GNU C library defines this for functions which it implements
68041 to always fail with ENOSYS. Some functions are actually named
68042 something starting with __ and the normal name is an alias. */
68043 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68044 choke me
68045 #else
68046 char (*f) () = $ac_func;
68047 #endif
68048 #ifdef __cplusplus
68049 }
68050 #endif
68051
68052 int
68053 main ()
68054 {
68055 return f != $ac_func;
68056 ;
68057 return 0;
68058 }
68059 _ACEOF
68060 rm -f conftest.$ac_objext conftest$ac_exeext
68061 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68062 (eval $ac_link) 2>conftest.er1
68063 ac_status=$?
68064 grep -v '^ *+' conftest.er1 >conftest.err
68065 rm -f conftest.er1
68066 cat conftest.err >&5
68067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68068 (exit $ac_status); } &&
68069 { ac_try='test -z "$ac_c_werror_flag"
68070 || test ! -s conftest.err'
68071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68072 (eval $ac_try) 2>&5
68073 ac_status=$?
68074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68075 (exit $ac_status); }; } &&
68076 { ac_try='test -s conftest$ac_exeext'
68077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68078 (eval $ac_try) 2>&5
68079 ac_status=$?
68080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68081 (exit $ac_status); }; }; then
68082 eval "$as_ac_var=yes"
68083 else
68084 echo "$as_me: failed program was:" >&5
68085 sed 's/^/| /' conftest.$ac_ext >&5
68086
68087 eval "$as_ac_var=no"
68088 fi
68089 rm -f conftest.err conftest.$ac_objext \
68090 conftest$ac_exeext conftest.$ac_ext
68091 fi
68092 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68093 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68094 if test `eval echo '${'$as_ac_var'}'` = yes; then
68095 cat >>confdefs.h <<_ACEOF
68096 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68097 _ACEOF
68098
68099 fi
68100 done
68101
68102 fi
68103 fi
68104
68105
68106
68107
68108
68109
68110 echo "$as_me:$LINENO: checking for log10l declaration" >&5
68111 echo $ECHO_N "checking for log10l declaration... $ECHO_C" >&6
68112 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
68113 if test "${glibcxx_cv_func_log10l_use+set}" = set; then
68114 echo $ECHO_N "(cached) $ECHO_C" >&6
68115 else
68116
68117
68118
68119 ac_ext=cc
68120 ac_cpp='$CXXCPP $CPPFLAGS'
68121 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68122 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68123 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68124
68125 cat >conftest.$ac_ext <<_ACEOF
68126 /* confdefs.h. */
68127 _ACEOF
68128 cat confdefs.h >>conftest.$ac_ext
68129 cat >>conftest.$ac_ext <<_ACEOF
68130 /* end confdefs.h. */
68131 #include <math.h>
68132 #ifdef HAVE_IEEEFP_H
68133 #include <ieeefp.h>
68134 #endif
68135
68136 int
68137 main ()
68138 {
68139 log10l(0);
68140 ;
68141 return 0;
68142 }
68143 _ACEOF
68144 rm -f conftest.$ac_objext
68145 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68146 (eval $ac_compile) 2>conftest.er1
68147 ac_status=$?
68148 grep -v '^ *+' conftest.er1 >conftest.err
68149 rm -f conftest.er1
68150 cat conftest.err >&5
68151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68152 (exit $ac_status); } &&
68153 { ac_try='test -z "$ac_cxx_werror_flag"
68154 || test ! -s conftest.err'
68155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68156 (eval $ac_try) 2>&5
68157 ac_status=$?
68158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68159 (exit $ac_status); }; } &&
68160 { ac_try='test -s conftest.$ac_objext'
68161 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68162 (eval $ac_try) 2>&5
68163 ac_status=$?
68164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68165 (exit $ac_status); }; }; then
68166 glibcxx_cv_func_log10l_use=yes
68167 else
68168 echo "$as_me: failed program was:" >&5
68169 sed 's/^/| /' conftest.$ac_ext >&5
68170
68171 glibcxx_cv_func_log10l_use=no
68172 fi
68173 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68174 ac_ext=c
68175 ac_cpp='$CPP $CPPFLAGS'
68176 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68177 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68178 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68179
68180
68181 fi
68182
68183 fi
68184 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10l_use" >&5
68185 echo "${ECHO_T}$glibcxx_cv_func_log10l_use" >&6
68186
68187 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
68188
68189 for ac_func in log10l
68190 do
68191 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68192 echo "$as_me:$LINENO: checking for $ac_func" >&5
68193 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68194 if eval "test \"\${$as_ac_var+set}\" = set"; then
68195 echo $ECHO_N "(cached) $ECHO_C" >&6
68196 else
68197 if test x$gcc_no_link = xyes; then
68198 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68199 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68200 { (exit 1); exit 1; }; }
68201 fi
68202 cat >conftest.$ac_ext <<_ACEOF
68203 /* confdefs.h. */
68204 _ACEOF
68205 cat confdefs.h >>conftest.$ac_ext
68206 cat >>conftest.$ac_ext <<_ACEOF
68207 /* end confdefs.h. */
68208 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68209 For example, HP-UX 11i <limits.h> declares gettimeofday. */
68210 #define $ac_func innocuous_$ac_func
68211
68212 /* System header to define __stub macros and hopefully few prototypes,
68213 which can conflict with char $ac_func (); below.
68214 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68215 <limits.h> exists even on freestanding compilers. */
68216
68217 #ifdef __STDC__
68218 # include <limits.h>
68219 #else
68220 # include <assert.h>
68221 #endif
68222
68223 #undef $ac_func
68224
68225 /* Override any gcc2 internal prototype to avoid an error. */
68226 #ifdef __cplusplus
68227 extern "C"
68228 {
68229 #endif
68230 /* We use char because int might match the return type of a gcc2
68231 builtin and then its argument prototype would still apply. */
68232 char $ac_func ();
68233 /* The GNU C library defines this for functions which it implements
68234 to always fail with ENOSYS. Some functions are actually named
68235 something starting with __ and the normal name is an alias. */
68236 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68237 choke me
68238 #else
68239 char (*f) () = $ac_func;
68240 #endif
68241 #ifdef __cplusplus
68242 }
68243 #endif
68244
68245 int
68246 main ()
68247 {
68248 return f != $ac_func;
68249 ;
68250 return 0;
68251 }
68252 _ACEOF
68253 rm -f conftest.$ac_objext conftest$ac_exeext
68254 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68255 (eval $ac_link) 2>conftest.er1
68256 ac_status=$?
68257 grep -v '^ *+' conftest.er1 >conftest.err
68258 rm -f conftest.er1
68259 cat conftest.err >&5
68260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68261 (exit $ac_status); } &&
68262 { ac_try='test -z "$ac_c_werror_flag"
68263 || test ! -s conftest.err'
68264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68265 (eval $ac_try) 2>&5
68266 ac_status=$?
68267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68268 (exit $ac_status); }; } &&
68269 { ac_try='test -s conftest$ac_exeext'
68270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68271 (eval $ac_try) 2>&5
68272 ac_status=$?
68273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68274 (exit $ac_status); }; }; then
68275 eval "$as_ac_var=yes"
68276 else
68277 echo "$as_me: failed program was:" >&5
68278 sed 's/^/| /' conftest.$ac_ext >&5
68279
68280 eval "$as_ac_var=no"
68281 fi
68282 rm -f conftest.err conftest.$ac_objext \
68283 conftest$ac_exeext conftest.$ac_ext
68284 fi
68285 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68286 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68287 if test `eval echo '${'$as_ac_var'}'` = yes; then
68288 cat >>confdefs.h <<_ACEOF
68289 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68290 _ACEOF
68291
68292 fi
68293 done
68294
68295 else
68296
68297 echo "$as_me:$LINENO: checking for _log10l declaration" >&5
68298 echo $ECHO_N "checking for _log10l declaration... $ECHO_C" >&6
68299 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
68300 if test "${glibcxx_cv_func__log10l_use+set}" = set; then
68301 echo $ECHO_N "(cached) $ECHO_C" >&6
68302 else
68303
68304
68305
68306 ac_ext=cc
68307 ac_cpp='$CXXCPP $CPPFLAGS'
68308 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68309 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68310 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68311
68312 cat >conftest.$ac_ext <<_ACEOF
68313 /* confdefs.h. */
68314 _ACEOF
68315 cat confdefs.h >>conftest.$ac_ext
68316 cat >>conftest.$ac_ext <<_ACEOF
68317 /* end confdefs.h. */
68318 #include <math.h>
68319 #ifdef HAVE_IEEEFP_H
68320 #include <ieeefp.h>
68321 #endif
68322
68323 int
68324 main ()
68325 {
68326 _log10l(0);
68327 ;
68328 return 0;
68329 }
68330 _ACEOF
68331 rm -f conftest.$ac_objext
68332 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68333 (eval $ac_compile) 2>conftest.er1
68334 ac_status=$?
68335 grep -v '^ *+' conftest.er1 >conftest.err
68336 rm -f conftest.er1
68337 cat conftest.err >&5
68338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68339 (exit $ac_status); } &&
68340 { ac_try='test -z "$ac_cxx_werror_flag"
68341 || test ! -s conftest.err'
68342 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68343 (eval $ac_try) 2>&5
68344 ac_status=$?
68345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68346 (exit $ac_status); }; } &&
68347 { ac_try='test -s conftest.$ac_objext'
68348 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68349 (eval $ac_try) 2>&5
68350 ac_status=$?
68351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68352 (exit $ac_status); }; }; then
68353 glibcxx_cv_func__log10l_use=yes
68354 else
68355 echo "$as_me: failed program was:" >&5
68356 sed 's/^/| /' conftest.$ac_ext >&5
68357
68358 glibcxx_cv_func__log10l_use=no
68359 fi
68360 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68361 ac_ext=c
68362 ac_cpp='$CPP $CPPFLAGS'
68363 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68364 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68365 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68366
68367
68368 fi
68369
68370 fi
68371 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10l_use" >&5
68372 echo "${ECHO_T}$glibcxx_cv_func__log10l_use" >&6
68373
68374 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
68375
68376 for ac_func in _log10l
68377 do
68378 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68379 echo "$as_me:$LINENO: checking for $ac_func" >&5
68380 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68381 if eval "test \"\${$as_ac_var+set}\" = set"; then
68382 echo $ECHO_N "(cached) $ECHO_C" >&6
68383 else
68384 if test x$gcc_no_link = xyes; then
68385 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68386 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68387 { (exit 1); exit 1; }; }
68388 fi
68389 cat >conftest.$ac_ext <<_ACEOF
68390 /* confdefs.h. */
68391 _ACEOF
68392 cat confdefs.h >>conftest.$ac_ext
68393 cat >>conftest.$ac_ext <<_ACEOF
68394 /* end confdefs.h. */
68395 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68396 For example, HP-UX 11i <limits.h> declares gettimeofday. */
68397 #define $ac_func innocuous_$ac_func
68398
68399 /* System header to define __stub macros and hopefully few prototypes,
68400 which can conflict with char $ac_func (); below.
68401 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68402 <limits.h> exists even on freestanding compilers. */
68403
68404 #ifdef __STDC__
68405 # include <limits.h>
68406 #else
68407 # include <assert.h>
68408 #endif
68409
68410 #undef $ac_func
68411
68412 /* Override any gcc2 internal prototype to avoid an error. */
68413 #ifdef __cplusplus
68414 extern "C"
68415 {
68416 #endif
68417 /* We use char because int might match the return type of a gcc2
68418 builtin and then its argument prototype would still apply. */
68419 char $ac_func ();
68420 /* The GNU C library defines this for functions which it implements
68421 to always fail with ENOSYS. Some functions are actually named
68422 something starting with __ and the normal name is an alias. */
68423 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68424 choke me
68425 #else
68426 char (*f) () = $ac_func;
68427 #endif
68428 #ifdef __cplusplus
68429 }
68430 #endif
68431
68432 int
68433 main ()
68434 {
68435 return f != $ac_func;
68436 ;
68437 return 0;
68438 }
68439 _ACEOF
68440 rm -f conftest.$ac_objext conftest$ac_exeext
68441 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68442 (eval $ac_link) 2>conftest.er1
68443 ac_status=$?
68444 grep -v '^ *+' conftest.er1 >conftest.err
68445 rm -f conftest.er1
68446 cat conftest.err >&5
68447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68448 (exit $ac_status); } &&
68449 { ac_try='test -z "$ac_c_werror_flag"
68450 || test ! -s conftest.err'
68451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68452 (eval $ac_try) 2>&5
68453 ac_status=$?
68454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68455 (exit $ac_status); }; } &&
68456 { ac_try='test -s conftest$ac_exeext'
68457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68458 (eval $ac_try) 2>&5
68459 ac_status=$?
68460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68461 (exit $ac_status); }; }; then
68462 eval "$as_ac_var=yes"
68463 else
68464 echo "$as_me: failed program was:" >&5
68465 sed 's/^/| /' conftest.$ac_ext >&5
68466
68467 eval "$as_ac_var=no"
68468 fi
68469 rm -f conftest.err conftest.$ac_objext \
68470 conftest$ac_exeext conftest.$ac_ext
68471 fi
68472 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68473 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68474 if test `eval echo '${'$as_ac_var'}'` = yes; then
68475 cat >>confdefs.h <<_ACEOF
68476 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68477 _ACEOF
68478
68479 fi
68480 done
68481
68482 fi
68483 fi
68484
68485
68486
68487
68488
68489
68490 echo "$as_me:$LINENO: checking for modfl declaration" >&5
68491 echo $ECHO_N "checking for modfl declaration... $ECHO_C" >&6
68492 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
68493 if test "${glibcxx_cv_func_modfl_use+set}" = set; then
68494 echo $ECHO_N "(cached) $ECHO_C" >&6
68495 else
68496
68497
68498
68499 ac_ext=cc
68500 ac_cpp='$CXXCPP $CPPFLAGS'
68501 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68502 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68503 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68504
68505 cat >conftest.$ac_ext <<_ACEOF
68506 /* confdefs.h. */
68507 _ACEOF
68508 cat confdefs.h >>conftest.$ac_ext
68509 cat >>conftest.$ac_ext <<_ACEOF
68510 /* end confdefs.h. */
68511 #include <math.h>
68512 int
68513 main ()
68514 {
68515 modfl(0, 0);
68516 ;
68517 return 0;
68518 }
68519 _ACEOF
68520 rm -f conftest.$ac_objext
68521 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68522 (eval $ac_compile) 2>conftest.er1
68523 ac_status=$?
68524 grep -v '^ *+' conftest.er1 >conftest.err
68525 rm -f conftest.er1
68526 cat conftest.err >&5
68527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68528 (exit $ac_status); } &&
68529 { ac_try='test -z "$ac_cxx_werror_flag"
68530 || test ! -s conftest.err'
68531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68532 (eval $ac_try) 2>&5
68533 ac_status=$?
68534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68535 (exit $ac_status); }; } &&
68536 { ac_try='test -s conftest.$ac_objext'
68537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68538 (eval $ac_try) 2>&5
68539 ac_status=$?
68540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68541 (exit $ac_status); }; }; then
68542 glibcxx_cv_func_modfl_use=yes
68543 else
68544 echo "$as_me: failed program was:" >&5
68545 sed 's/^/| /' conftest.$ac_ext >&5
68546
68547 glibcxx_cv_func_modfl_use=no
68548 fi
68549 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68550 ac_ext=c
68551 ac_cpp='$CPP $CPPFLAGS'
68552 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68553 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68554 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68555
68556
68557 fi
68558
68559 fi
68560 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modfl_use" >&5
68561 echo "${ECHO_T}$glibcxx_cv_func_modfl_use" >&6
68562
68563 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
68564
68565 for ac_func in modfl
68566 do
68567 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68568 echo "$as_me:$LINENO: checking for $ac_func" >&5
68569 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68570 if eval "test \"\${$as_ac_var+set}\" = set"; then
68571 echo $ECHO_N "(cached) $ECHO_C" >&6
68572 else
68573 if test x$gcc_no_link = xyes; then
68574 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68575 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68576 { (exit 1); exit 1; }; }
68577 fi
68578 cat >conftest.$ac_ext <<_ACEOF
68579 /* confdefs.h. */
68580 _ACEOF
68581 cat confdefs.h >>conftest.$ac_ext
68582 cat >>conftest.$ac_ext <<_ACEOF
68583 /* end confdefs.h. */
68584 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68585 For example, HP-UX 11i <limits.h> declares gettimeofday. */
68586 #define $ac_func innocuous_$ac_func
68587
68588 /* System header to define __stub macros and hopefully few prototypes,
68589 which can conflict with char $ac_func (); below.
68590 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68591 <limits.h> exists even on freestanding compilers. */
68592
68593 #ifdef __STDC__
68594 # include <limits.h>
68595 #else
68596 # include <assert.h>
68597 #endif
68598
68599 #undef $ac_func
68600
68601 /* Override any gcc2 internal prototype to avoid an error. */
68602 #ifdef __cplusplus
68603 extern "C"
68604 {
68605 #endif
68606 /* We use char because int might match the return type of a gcc2
68607 builtin and then its argument prototype would still apply. */
68608 char $ac_func ();
68609 /* The GNU C library defines this for functions which it implements
68610 to always fail with ENOSYS. Some functions are actually named
68611 something starting with __ and the normal name is an alias. */
68612 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68613 choke me
68614 #else
68615 char (*f) () = $ac_func;
68616 #endif
68617 #ifdef __cplusplus
68618 }
68619 #endif
68620
68621 int
68622 main ()
68623 {
68624 return f != $ac_func;
68625 ;
68626 return 0;
68627 }
68628 _ACEOF
68629 rm -f conftest.$ac_objext conftest$ac_exeext
68630 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68631 (eval $ac_link) 2>conftest.er1
68632 ac_status=$?
68633 grep -v '^ *+' conftest.er1 >conftest.err
68634 rm -f conftest.er1
68635 cat conftest.err >&5
68636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68637 (exit $ac_status); } &&
68638 { ac_try='test -z "$ac_c_werror_flag"
68639 || test ! -s conftest.err'
68640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68641 (eval $ac_try) 2>&5
68642 ac_status=$?
68643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68644 (exit $ac_status); }; } &&
68645 { ac_try='test -s conftest$ac_exeext'
68646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68647 (eval $ac_try) 2>&5
68648 ac_status=$?
68649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68650 (exit $ac_status); }; }; then
68651 eval "$as_ac_var=yes"
68652 else
68653 echo "$as_me: failed program was:" >&5
68654 sed 's/^/| /' conftest.$ac_ext >&5
68655
68656 eval "$as_ac_var=no"
68657 fi
68658 rm -f conftest.err conftest.$ac_objext \
68659 conftest$ac_exeext conftest.$ac_ext
68660 fi
68661 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68662 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68663 if test `eval echo '${'$as_ac_var'}'` = yes; then
68664 cat >>confdefs.h <<_ACEOF
68665 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68666 _ACEOF
68667
68668 fi
68669 done
68670
68671 else
68672
68673 echo "$as_me:$LINENO: checking for _modfl declaration" >&5
68674 echo $ECHO_N "checking for _modfl declaration... $ECHO_C" >&6
68675 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
68676 if test "${glibcxx_cv_func__modfl_use+set}" = set; then
68677 echo $ECHO_N "(cached) $ECHO_C" >&6
68678 else
68679
68680
68681
68682 ac_ext=cc
68683 ac_cpp='$CXXCPP $CPPFLAGS'
68684 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68685 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68686 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68687
68688 cat >conftest.$ac_ext <<_ACEOF
68689 /* confdefs.h. */
68690 _ACEOF
68691 cat confdefs.h >>conftest.$ac_ext
68692 cat >>conftest.$ac_ext <<_ACEOF
68693 /* end confdefs.h. */
68694 #include <math.h>
68695 int
68696 main ()
68697 {
68698 _modfl(0, 0);
68699 ;
68700 return 0;
68701 }
68702 _ACEOF
68703 rm -f conftest.$ac_objext
68704 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68705 (eval $ac_compile) 2>conftest.er1
68706 ac_status=$?
68707 grep -v '^ *+' conftest.er1 >conftest.err
68708 rm -f conftest.er1
68709 cat conftest.err >&5
68710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68711 (exit $ac_status); } &&
68712 { ac_try='test -z "$ac_cxx_werror_flag"
68713 || test ! -s conftest.err'
68714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68715 (eval $ac_try) 2>&5
68716 ac_status=$?
68717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68718 (exit $ac_status); }; } &&
68719 { ac_try='test -s conftest.$ac_objext'
68720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68721 (eval $ac_try) 2>&5
68722 ac_status=$?
68723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68724 (exit $ac_status); }; }; then
68725 glibcxx_cv_func__modfl_use=yes
68726 else
68727 echo "$as_me: failed program was:" >&5
68728 sed 's/^/| /' conftest.$ac_ext >&5
68729
68730 glibcxx_cv_func__modfl_use=no
68731 fi
68732 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68733 ac_ext=c
68734 ac_cpp='$CPP $CPPFLAGS'
68735 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68736 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68737 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68738
68739
68740 fi
68741
68742 fi
68743 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modfl_use" >&5
68744 echo "${ECHO_T}$glibcxx_cv_func__modfl_use" >&6
68745
68746 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
68747
68748 for ac_func in _modfl
68749 do
68750 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68751 echo "$as_me:$LINENO: checking for $ac_func" >&5
68752 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68753 if eval "test \"\${$as_ac_var+set}\" = set"; then
68754 echo $ECHO_N "(cached) $ECHO_C" >&6
68755 else
68756 if test x$gcc_no_link = xyes; then
68757 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68758 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68759 { (exit 1); exit 1; }; }
68760 fi
68761 cat >conftest.$ac_ext <<_ACEOF
68762 /* confdefs.h. */
68763 _ACEOF
68764 cat confdefs.h >>conftest.$ac_ext
68765 cat >>conftest.$ac_ext <<_ACEOF
68766 /* end confdefs.h. */
68767 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68768 For example, HP-UX 11i <limits.h> declares gettimeofday. */
68769 #define $ac_func innocuous_$ac_func
68770
68771 /* System header to define __stub macros and hopefully few prototypes,
68772 which can conflict with char $ac_func (); below.
68773 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68774 <limits.h> exists even on freestanding compilers. */
68775
68776 #ifdef __STDC__
68777 # include <limits.h>
68778 #else
68779 # include <assert.h>
68780 #endif
68781
68782 #undef $ac_func
68783
68784 /* Override any gcc2 internal prototype to avoid an error. */
68785 #ifdef __cplusplus
68786 extern "C"
68787 {
68788 #endif
68789 /* We use char because int might match the return type of a gcc2
68790 builtin and then its argument prototype would still apply. */
68791 char $ac_func ();
68792 /* The GNU C library defines this for functions which it implements
68793 to always fail with ENOSYS. Some functions are actually named
68794 something starting with __ and the normal name is an alias. */
68795 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68796 choke me
68797 #else
68798 char (*f) () = $ac_func;
68799 #endif
68800 #ifdef __cplusplus
68801 }
68802 #endif
68803
68804 int
68805 main ()
68806 {
68807 return f != $ac_func;
68808 ;
68809 return 0;
68810 }
68811 _ACEOF
68812 rm -f conftest.$ac_objext conftest$ac_exeext
68813 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68814 (eval $ac_link) 2>conftest.er1
68815 ac_status=$?
68816 grep -v '^ *+' conftest.er1 >conftest.err
68817 rm -f conftest.er1
68818 cat conftest.err >&5
68819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68820 (exit $ac_status); } &&
68821 { ac_try='test -z "$ac_c_werror_flag"
68822 || test ! -s conftest.err'
68823 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68824 (eval $ac_try) 2>&5
68825 ac_status=$?
68826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68827 (exit $ac_status); }; } &&
68828 { ac_try='test -s conftest$ac_exeext'
68829 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68830 (eval $ac_try) 2>&5
68831 ac_status=$?
68832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68833 (exit $ac_status); }; }; then
68834 eval "$as_ac_var=yes"
68835 else
68836 echo "$as_me: failed program was:" >&5
68837 sed 's/^/| /' conftest.$ac_ext >&5
68838
68839 eval "$as_ac_var=no"
68840 fi
68841 rm -f conftest.err conftest.$ac_objext \
68842 conftest$ac_exeext conftest.$ac_ext
68843 fi
68844 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68845 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68846 if test `eval echo '${'$as_ac_var'}'` = yes; then
68847 cat >>confdefs.h <<_ACEOF
68848 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68849 _ACEOF
68850
68851 fi
68852 done
68853
68854 fi
68855 fi
68856
68857
68858
68859
68860
68861
68862 echo "$as_me:$LINENO: checking for powl declaration" >&5
68863 echo $ECHO_N "checking for powl declaration... $ECHO_C" >&6
68864 if test x${glibcxx_cv_func_powl_use+set} != xset; then
68865 if test "${glibcxx_cv_func_powl_use+set}" = set; then
68866 echo $ECHO_N "(cached) $ECHO_C" >&6
68867 else
68868
68869
68870
68871 ac_ext=cc
68872 ac_cpp='$CXXCPP $CPPFLAGS'
68873 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68874 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68875 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68876
68877 cat >conftest.$ac_ext <<_ACEOF
68878 /* confdefs.h. */
68879 _ACEOF
68880 cat confdefs.h >>conftest.$ac_ext
68881 cat >>conftest.$ac_ext <<_ACEOF
68882 /* end confdefs.h. */
68883 #include <math.h>
68884 int
68885 main ()
68886 {
68887 powl(0, 0);
68888 ;
68889 return 0;
68890 }
68891 _ACEOF
68892 rm -f conftest.$ac_objext
68893 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68894 (eval $ac_compile) 2>conftest.er1
68895 ac_status=$?
68896 grep -v '^ *+' conftest.er1 >conftest.err
68897 rm -f conftest.er1
68898 cat conftest.err >&5
68899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68900 (exit $ac_status); } &&
68901 { ac_try='test -z "$ac_cxx_werror_flag"
68902 || test ! -s conftest.err'
68903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68904 (eval $ac_try) 2>&5
68905 ac_status=$?
68906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68907 (exit $ac_status); }; } &&
68908 { ac_try='test -s conftest.$ac_objext'
68909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68910 (eval $ac_try) 2>&5
68911 ac_status=$?
68912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68913 (exit $ac_status); }; }; then
68914 glibcxx_cv_func_powl_use=yes
68915 else
68916 echo "$as_me: failed program was:" >&5
68917 sed 's/^/| /' conftest.$ac_ext >&5
68918
68919 glibcxx_cv_func_powl_use=no
68920 fi
68921 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68922 ac_ext=c
68923 ac_cpp='$CPP $CPPFLAGS'
68924 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68925 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68926 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68927
68928
68929 fi
68930
68931 fi
68932 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powl_use" >&5
68933 echo "${ECHO_T}$glibcxx_cv_func_powl_use" >&6
68934
68935 if test x$glibcxx_cv_func_powl_use = x"yes"; then
68936
68937 for ac_func in powl
68938 do
68939 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68940 echo "$as_me:$LINENO: checking for $ac_func" >&5
68941 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68942 if eval "test \"\${$as_ac_var+set}\" = set"; then
68943 echo $ECHO_N "(cached) $ECHO_C" >&6
68944 else
68945 if test x$gcc_no_link = xyes; then
68946 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68947 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68948 { (exit 1); exit 1; }; }
68949 fi
68950 cat >conftest.$ac_ext <<_ACEOF
68951 /* confdefs.h. */
68952 _ACEOF
68953 cat confdefs.h >>conftest.$ac_ext
68954 cat >>conftest.$ac_ext <<_ACEOF
68955 /* end confdefs.h. */
68956 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68957 For example, HP-UX 11i <limits.h> declares gettimeofday. */
68958 #define $ac_func innocuous_$ac_func
68959
68960 /* System header to define __stub macros and hopefully few prototypes,
68961 which can conflict with char $ac_func (); below.
68962 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68963 <limits.h> exists even on freestanding compilers. */
68964
68965 #ifdef __STDC__
68966 # include <limits.h>
68967 #else
68968 # include <assert.h>
68969 #endif
68970
68971 #undef $ac_func
68972
68973 /* Override any gcc2 internal prototype to avoid an error. */
68974 #ifdef __cplusplus
68975 extern "C"
68976 {
68977 #endif
68978 /* We use char because int might match the return type of a gcc2
68979 builtin and then its argument prototype would still apply. */
68980 char $ac_func ();
68981 /* The GNU C library defines this for functions which it implements
68982 to always fail with ENOSYS. Some functions are actually named
68983 something starting with __ and the normal name is an alias. */
68984 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68985 choke me
68986 #else
68987 char (*f) () = $ac_func;
68988 #endif
68989 #ifdef __cplusplus
68990 }
68991 #endif
68992
68993 int
68994 main ()
68995 {
68996 return f != $ac_func;
68997 ;
68998 return 0;
68999 }
69000 _ACEOF
69001 rm -f conftest.$ac_objext conftest$ac_exeext
69002 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69003 (eval $ac_link) 2>conftest.er1
69004 ac_status=$?
69005 grep -v '^ *+' conftest.er1 >conftest.err
69006 rm -f conftest.er1
69007 cat conftest.err >&5
69008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69009 (exit $ac_status); } &&
69010 { ac_try='test -z "$ac_c_werror_flag"
69011 || test ! -s conftest.err'
69012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69013 (eval $ac_try) 2>&5
69014 ac_status=$?
69015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69016 (exit $ac_status); }; } &&
69017 { ac_try='test -s conftest$ac_exeext'
69018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69019 (eval $ac_try) 2>&5
69020 ac_status=$?
69021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69022 (exit $ac_status); }; }; then
69023 eval "$as_ac_var=yes"
69024 else
69025 echo "$as_me: failed program was:" >&5
69026 sed 's/^/| /' conftest.$ac_ext >&5
69027
69028 eval "$as_ac_var=no"
69029 fi
69030 rm -f conftest.err conftest.$ac_objext \
69031 conftest$ac_exeext conftest.$ac_ext
69032 fi
69033 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69034 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69035 if test `eval echo '${'$as_ac_var'}'` = yes; then
69036 cat >>confdefs.h <<_ACEOF
69037 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69038 _ACEOF
69039
69040 fi
69041 done
69042
69043 else
69044
69045 echo "$as_me:$LINENO: checking for _powl declaration" >&5
69046 echo $ECHO_N "checking for _powl declaration... $ECHO_C" >&6
69047 if test x${glibcxx_cv_func__powl_use+set} != xset; then
69048 if test "${glibcxx_cv_func__powl_use+set}" = set; then
69049 echo $ECHO_N "(cached) $ECHO_C" >&6
69050 else
69051
69052
69053
69054 ac_ext=cc
69055 ac_cpp='$CXXCPP $CPPFLAGS'
69056 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69057 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69058 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69059
69060 cat >conftest.$ac_ext <<_ACEOF
69061 /* confdefs.h. */
69062 _ACEOF
69063 cat confdefs.h >>conftest.$ac_ext
69064 cat >>conftest.$ac_ext <<_ACEOF
69065 /* end confdefs.h. */
69066 #include <math.h>
69067 int
69068 main ()
69069 {
69070 _powl(0, 0);
69071 ;
69072 return 0;
69073 }
69074 _ACEOF
69075 rm -f conftest.$ac_objext
69076 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69077 (eval $ac_compile) 2>conftest.er1
69078 ac_status=$?
69079 grep -v '^ *+' conftest.er1 >conftest.err
69080 rm -f conftest.er1
69081 cat conftest.err >&5
69082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69083 (exit $ac_status); } &&
69084 { ac_try='test -z "$ac_cxx_werror_flag"
69085 || test ! -s conftest.err'
69086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69087 (eval $ac_try) 2>&5
69088 ac_status=$?
69089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69090 (exit $ac_status); }; } &&
69091 { ac_try='test -s conftest.$ac_objext'
69092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69093 (eval $ac_try) 2>&5
69094 ac_status=$?
69095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69096 (exit $ac_status); }; }; then
69097 glibcxx_cv_func__powl_use=yes
69098 else
69099 echo "$as_me: failed program was:" >&5
69100 sed 's/^/| /' conftest.$ac_ext >&5
69101
69102 glibcxx_cv_func__powl_use=no
69103 fi
69104 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69105 ac_ext=c
69106 ac_cpp='$CPP $CPPFLAGS'
69107 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69108 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69109 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69110
69111
69112 fi
69113
69114 fi
69115 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powl_use" >&5
69116 echo "${ECHO_T}$glibcxx_cv_func__powl_use" >&6
69117
69118 if test x$glibcxx_cv_func__powl_use = x"yes"; then
69119
69120 for ac_func in _powl
69121 do
69122 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69123 echo "$as_me:$LINENO: checking for $ac_func" >&5
69124 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69125 if eval "test \"\${$as_ac_var+set}\" = set"; then
69126 echo $ECHO_N "(cached) $ECHO_C" >&6
69127 else
69128 if test x$gcc_no_link = xyes; then
69129 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69130 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69131 { (exit 1); exit 1; }; }
69132 fi
69133 cat >conftest.$ac_ext <<_ACEOF
69134 /* confdefs.h. */
69135 _ACEOF
69136 cat confdefs.h >>conftest.$ac_ext
69137 cat >>conftest.$ac_ext <<_ACEOF
69138 /* end confdefs.h. */
69139 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69140 For example, HP-UX 11i <limits.h> declares gettimeofday. */
69141 #define $ac_func innocuous_$ac_func
69142
69143 /* System header to define __stub macros and hopefully few prototypes,
69144 which can conflict with char $ac_func (); below.
69145 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69146 <limits.h> exists even on freestanding compilers. */
69147
69148 #ifdef __STDC__
69149 # include <limits.h>
69150 #else
69151 # include <assert.h>
69152 #endif
69153
69154 #undef $ac_func
69155
69156 /* Override any gcc2 internal prototype to avoid an error. */
69157 #ifdef __cplusplus
69158 extern "C"
69159 {
69160 #endif
69161 /* We use char because int might match the return type of a gcc2
69162 builtin and then its argument prototype would still apply. */
69163 char $ac_func ();
69164 /* The GNU C library defines this for functions which it implements
69165 to always fail with ENOSYS. Some functions are actually named
69166 something starting with __ and the normal name is an alias. */
69167 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69168 choke me
69169 #else
69170 char (*f) () = $ac_func;
69171 #endif
69172 #ifdef __cplusplus
69173 }
69174 #endif
69175
69176 int
69177 main ()
69178 {
69179 return f != $ac_func;
69180 ;
69181 return 0;
69182 }
69183 _ACEOF
69184 rm -f conftest.$ac_objext conftest$ac_exeext
69185 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69186 (eval $ac_link) 2>conftest.er1
69187 ac_status=$?
69188 grep -v '^ *+' conftest.er1 >conftest.err
69189 rm -f conftest.er1
69190 cat conftest.err >&5
69191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69192 (exit $ac_status); } &&
69193 { ac_try='test -z "$ac_c_werror_flag"
69194 || test ! -s conftest.err'
69195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69196 (eval $ac_try) 2>&5
69197 ac_status=$?
69198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69199 (exit $ac_status); }; } &&
69200 { ac_try='test -s conftest$ac_exeext'
69201 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69202 (eval $ac_try) 2>&5
69203 ac_status=$?
69204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69205 (exit $ac_status); }; }; then
69206 eval "$as_ac_var=yes"
69207 else
69208 echo "$as_me: failed program was:" >&5
69209 sed 's/^/| /' conftest.$ac_ext >&5
69210
69211 eval "$as_ac_var=no"
69212 fi
69213 rm -f conftest.err conftest.$ac_objext \
69214 conftest$ac_exeext conftest.$ac_ext
69215 fi
69216 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69217 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69218 if test `eval echo '${'$as_ac_var'}'` = yes; then
69219 cat >>confdefs.h <<_ACEOF
69220 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69221 _ACEOF
69222
69223 fi
69224 done
69225
69226 fi
69227 fi
69228
69229
69230
69231
69232
69233
69234 echo "$as_me:$LINENO: checking for sqrtl declaration" >&5
69235 echo $ECHO_N "checking for sqrtl declaration... $ECHO_C" >&6
69236 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
69237 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then
69238 echo $ECHO_N "(cached) $ECHO_C" >&6
69239 else
69240
69241
69242
69243 ac_ext=cc
69244 ac_cpp='$CXXCPP $CPPFLAGS'
69245 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69246 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69247 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69248
69249 cat >conftest.$ac_ext <<_ACEOF
69250 /* confdefs.h. */
69251 _ACEOF
69252 cat confdefs.h >>conftest.$ac_ext
69253 cat >>conftest.$ac_ext <<_ACEOF
69254 /* end confdefs.h. */
69255 #include <math.h>
69256 #ifdef HAVE_IEEEFP_H
69257 #include <ieeefp.h>
69258 #endif
69259
69260 int
69261 main ()
69262 {
69263 sqrtl(0);
69264 ;
69265 return 0;
69266 }
69267 _ACEOF
69268 rm -f conftest.$ac_objext
69269 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69270 (eval $ac_compile) 2>conftest.er1
69271 ac_status=$?
69272 grep -v '^ *+' conftest.er1 >conftest.err
69273 rm -f conftest.er1
69274 cat conftest.err >&5
69275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69276 (exit $ac_status); } &&
69277 { ac_try='test -z "$ac_cxx_werror_flag"
69278 || test ! -s conftest.err'
69279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69280 (eval $ac_try) 2>&5
69281 ac_status=$?
69282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69283 (exit $ac_status); }; } &&
69284 { ac_try='test -s conftest.$ac_objext'
69285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69286 (eval $ac_try) 2>&5
69287 ac_status=$?
69288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69289 (exit $ac_status); }; }; then
69290 glibcxx_cv_func_sqrtl_use=yes
69291 else
69292 echo "$as_me: failed program was:" >&5
69293 sed 's/^/| /' conftest.$ac_ext >&5
69294
69295 glibcxx_cv_func_sqrtl_use=no
69296 fi
69297 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69298 ac_ext=c
69299 ac_cpp='$CPP $CPPFLAGS'
69300 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69301 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69302 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69303
69304
69305 fi
69306
69307 fi
69308 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtl_use" >&5
69309 echo "${ECHO_T}$glibcxx_cv_func_sqrtl_use" >&6
69310
69311 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
69312
69313 for ac_func in sqrtl
69314 do
69315 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69316 echo "$as_me:$LINENO: checking for $ac_func" >&5
69317 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69318 if eval "test \"\${$as_ac_var+set}\" = set"; then
69319 echo $ECHO_N "(cached) $ECHO_C" >&6
69320 else
69321 if test x$gcc_no_link = xyes; then
69322 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69323 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69324 { (exit 1); exit 1; }; }
69325 fi
69326 cat >conftest.$ac_ext <<_ACEOF
69327 /* confdefs.h. */
69328 _ACEOF
69329 cat confdefs.h >>conftest.$ac_ext
69330 cat >>conftest.$ac_ext <<_ACEOF
69331 /* end confdefs.h. */
69332 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69333 For example, HP-UX 11i <limits.h> declares gettimeofday. */
69334 #define $ac_func innocuous_$ac_func
69335
69336 /* System header to define __stub macros and hopefully few prototypes,
69337 which can conflict with char $ac_func (); below.
69338 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69339 <limits.h> exists even on freestanding compilers. */
69340
69341 #ifdef __STDC__
69342 # include <limits.h>
69343 #else
69344 # include <assert.h>
69345 #endif
69346
69347 #undef $ac_func
69348
69349 /* Override any gcc2 internal prototype to avoid an error. */
69350 #ifdef __cplusplus
69351 extern "C"
69352 {
69353 #endif
69354 /* We use char because int might match the return type of a gcc2
69355 builtin and then its argument prototype would still apply. */
69356 char $ac_func ();
69357 /* The GNU C library defines this for functions which it implements
69358 to always fail with ENOSYS. Some functions are actually named
69359 something starting with __ and the normal name is an alias. */
69360 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69361 choke me
69362 #else
69363 char (*f) () = $ac_func;
69364 #endif
69365 #ifdef __cplusplus
69366 }
69367 #endif
69368
69369 int
69370 main ()
69371 {
69372 return f != $ac_func;
69373 ;
69374 return 0;
69375 }
69376 _ACEOF
69377 rm -f conftest.$ac_objext conftest$ac_exeext
69378 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69379 (eval $ac_link) 2>conftest.er1
69380 ac_status=$?
69381 grep -v '^ *+' conftest.er1 >conftest.err
69382 rm -f conftest.er1
69383 cat conftest.err >&5
69384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69385 (exit $ac_status); } &&
69386 { ac_try='test -z "$ac_c_werror_flag"
69387 || test ! -s conftest.err'
69388 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69389 (eval $ac_try) 2>&5
69390 ac_status=$?
69391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69392 (exit $ac_status); }; } &&
69393 { ac_try='test -s conftest$ac_exeext'
69394 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69395 (eval $ac_try) 2>&5
69396 ac_status=$?
69397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69398 (exit $ac_status); }; }; then
69399 eval "$as_ac_var=yes"
69400 else
69401 echo "$as_me: failed program was:" >&5
69402 sed 's/^/| /' conftest.$ac_ext >&5
69403
69404 eval "$as_ac_var=no"
69405 fi
69406 rm -f conftest.err conftest.$ac_objext \
69407 conftest$ac_exeext conftest.$ac_ext
69408 fi
69409 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69410 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69411 if test `eval echo '${'$as_ac_var'}'` = yes; then
69412 cat >>confdefs.h <<_ACEOF
69413 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69414 _ACEOF
69415
69416 fi
69417 done
69418
69419 else
69420
69421 echo "$as_me:$LINENO: checking for _sqrtl declaration" >&5
69422 echo $ECHO_N "checking for _sqrtl declaration... $ECHO_C" >&6
69423 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
69424 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then
69425 echo $ECHO_N "(cached) $ECHO_C" >&6
69426 else
69427
69428
69429
69430 ac_ext=cc
69431 ac_cpp='$CXXCPP $CPPFLAGS'
69432 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69433 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69434 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69435
69436 cat >conftest.$ac_ext <<_ACEOF
69437 /* confdefs.h. */
69438 _ACEOF
69439 cat confdefs.h >>conftest.$ac_ext
69440 cat >>conftest.$ac_ext <<_ACEOF
69441 /* end confdefs.h. */
69442 #include <math.h>
69443 #ifdef HAVE_IEEEFP_H
69444 #include <ieeefp.h>
69445 #endif
69446
69447 int
69448 main ()
69449 {
69450 _sqrtl(0);
69451 ;
69452 return 0;
69453 }
69454 _ACEOF
69455 rm -f conftest.$ac_objext
69456 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69457 (eval $ac_compile) 2>conftest.er1
69458 ac_status=$?
69459 grep -v '^ *+' conftest.er1 >conftest.err
69460 rm -f conftest.er1
69461 cat conftest.err >&5
69462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69463 (exit $ac_status); } &&
69464 { ac_try='test -z "$ac_cxx_werror_flag"
69465 || test ! -s conftest.err'
69466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69467 (eval $ac_try) 2>&5
69468 ac_status=$?
69469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69470 (exit $ac_status); }; } &&
69471 { ac_try='test -s conftest.$ac_objext'
69472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69473 (eval $ac_try) 2>&5
69474 ac_status=$?
69475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69476 (exit $ac_status); }; }; then
69477 glibcxx_cv_func__sqrtl_use=yes
69478 else
69479 echo "$as_me: failed program was:" >&5
69480 sed 's/^/| /' conftest.$ac_ext >&5
69481
69482 glibcxx_cv_func__sqrtl_use=no
69483 fi
69484 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69485 ac_ext=c
69486 ac_cpp='$CPP $CPPFLAGS'
69487 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69488 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69489 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69490
69491
69492 fi
69493
69494 fi
69495 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtl_use" >&5
69496 echo "${ECHO_T}$glibcxx_cv_func__sqrtl_use" >&6
69497
69498 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
69499
69500 for ac_func in _sqrtl
69501 do
69502 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69503 echo "$as_me:$LINENO: checking for $ac_func" >&5
69504 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69505 if eval "test \"\${$as_ac_var+set}\" = set"; then
69506 echo $ECHO_N "(cached) $ECHO_C" >&6
69507 else
69508 if test x$gcc_no_link = xyes; then
69509 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69510 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69511 { (exit 1); exit 1; }; }
69512 fi
69513 cat >conftest.$ac_ext <<_ACEOF
69514 /* confdefs.h. */
69515 _ACEOF
69516 cat confdefs.h >>conftest.$ac_ext
69517 cat >>conftest.$ac_ext <<_ACEOF
69518 /* end confdefs.h. */
69519 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69520 For example, HP-UX 11i <limits.h> declares gettimeofday. */
69521 #define $ac_func innocuous_$ac_func
69522
69523 /* System header to define __stub macros and hopefully few prototypes,
69524 which can conflict with char $ac_func (); below.
69525 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69526 <limits.h> exists even on freestanding compilers. */
69527
69528 #ifdef __STDC__
69529 # include <limits.h>
69530 #else
69531 # include <assert.h>
69532 #endif
69533
69534 #undef $ac_func
69535
69536 /* Override any gcc2 internal prototype to avoid an error. */
69537 #ifdef __cplusplus
69538 extern "C"
69539 {
69540 #endif
69541 /* We use char because int might match the return type of a gcc2
69542 builtin and then its argument prototype would still apply. */
69543 char $ac_func ();
69544 /* The GNU C library defines this for functions which it implements
69545 to always fail with ENOSYS. Some functions are actually named
69546 something starting with __ and the normal name is an alias. */
69547 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69548 choke me
69549 #else
69550 char (*f) () = $ac_func;
69551 #endif
69552 #ifdef __cplusplus
69553 }
69554 #endif
69555
69556 int
69557 main ()
69558 {
69559 return f != $ac_func;
69560 ;
69561 return 0;
69562 }
69563 _ACEOF
69564 rm -f conftest.$ac_objext conftest$ac_exeext
69565 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69566 (eval $ac_link) 2>conftest.er1
69567 ac_status=$?
69568 grep -v '^ *+' conftest.er1 >conftest.err
69569 rm -f conftest.er1
69570 cat conftest.err >&5
69571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69572 (exit $ac_status); } &&
69573 { ac_try='test -z "$ac_c_werror_flag"
69574 || test ! -s conftest.err'
69575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69576 (eval $ac_try) 2>&5
69577 ac_status=$?
69578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69579 (exit $ac_status); }; } &&
69580 { ac_try='test -s conftest$ac_exeext'
69581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69582 (eval $ac_try) 2>&5
69583 ac_status=$?
69584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69585 (exit $ac_status); }; }; then
69586 eval "$as_ac_var=yes"
69587 else
69588 echo "$as_me: failed program was:" >&5
69589 sed 's/^/| /' conftest.$ac_ext >&5
69590
69591 eval "$as_ac_var=no"
69592 fi
69593 rm -f conftest.err conftest.$ac_objext \
69594 conftest$ac_exeext conftest.$ac_ext
69595 fi
69596 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69597 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69598 if test `eval echo '${'$as_ac_var'}'` = yes; then
69599 cat >>confdefs.h <<_ACEOF
69600 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69601 _ACEOF
69602
69603 fi
69604 done
69605
69606 fi
69607 fi
69608
69609
69610
69611
69612
69613
69614 echo "$as_me:$LINENO: checking for sincosl declaration" >&5
69615 echo $ECHO_N "checking for sincosl declaration... $ECHO_C" >&6
69616 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
69617 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then
69618 echo $ECHO_N "(cached) $ECHO_C" >&6
69619 else
69620
69621
69622
69623 ac_ext=cc
69624 ac_cpp='$CXXCPP $CPPFLAGS'
69625 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69626 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69627 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69628
69629 cat >conftest.$ac_ext <<_ACEOF
69630 /* confdefs.h. */
69631 _ACEOF
69632 cat confdefs.h >>conftest.$ac_ext
69633 cat >>conftest.$ac_ext <<_ACEOF
69634 /* end confdefs.h. */
69635 #include <math.h>
69636 int
69637 main ()
69638 {
69639 sincosl(0, 0, 0);
69640 ;
69641 return 0;
69642 }
69643 _ACEOF
69644 rm -f conftest.$ac_objext
69645 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69646 (eval $ac_compile) 2>conftest.er1
69647 ac_status=$?
69648 grep -v '^ *+' conftest.er1 >conftest.err
69649 rm -f conftest.er1
69650 cat conftest.err >&5
69651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69652 (exit $ac_status); } &&
69653 { ac_try='test -z "$ac_cxx_werror_flag"
69654 || test ! -s conftest.err'
69655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69656 (eval $ac_try) 2>&5
69657 ac_status=$?
69658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69659 (exit $ac_status); }; } &&
69660 { ac_try='test -s conftest.$ac_objext'
69661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69662 (eval $ac_try) 2>&5
69663 ac_status=$?
69664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69665 (exit $ac_status); }; }; then
69666 glibcxx_cv_func_sincosl_use=yes
69667 else
69668 echo "$as_me: failed program was:" >&5
69669 sed 's/^/| /' conftest.$ac_ext >&5
69670
69671 glibcxx_cv_func_sincosl_use=no
69672 fi
69673 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69674 ac_ext=c
69675 ac_cpp='$CPP $CPPFLAGS'
69676 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69677 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69678 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69679
69680
69681 fi
69682
69683 fi
69684 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosl_use" >&5
69685 echo "${ECHO_T}$glibcxx_cv_func_sincosl_use" >&6
69686
69687 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
69688
69689 for ac_func in sincosl
69690 do
69691 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69692 echo "$as_me:$LINENO: checking for $ac_func" >&5
69693 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69694 if eval "test \"\${$as_ac_var+set}\" = set"; then
69695 echo $ECHO_N "(cached) $ECHO_C" >&6
69696 else
69697 if test x$gcc_no_link = xyes; then
69698 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69699 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69700 { (exit 1); exit 1; }; }
69701 fi
69702 cat >conftest.$ac_ext <<_ACEOF
69703 /* confdefs.h. */
69704 _ACEOF
69705 cat confdefs.h >>conftest.$ac_ext
69706 cat >>conftest.$ac_ext <<_ACEOF
69707 /* end confdefs.h. */
69708 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69709 For example, HP-UX 11i <limits.h> declares gettimeofday. */
69710 #define $ac_func innocuous_$ac_func
69711
69712 /* System header to define __stub macros and hopefully few prototypes,
69713 which can conflict with char $ac_func (); below.
69714 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69715 <limits.h> exists even on freestanding compilers. */
69716
69717 #ifdef __STDC__
69718 # include <limits.h>
69719 #else
69720 # include <assert.h>
69721 #endif
69722
69723 #undef $ac_func
69724
69725 /* Override any gcc2 internal prototype to avoid an error. */
69726 #ifdef __cplusplus
69727 extern "C"
69728 {
69729 #endif
69730 /* We use char because int might match the return type of a gcc2
69731 builtin and then its argument prototype would still apply. */
69732 char $ac_func ();
69733 /* The GNU C library defines this for functions which it implements
69734 to always fail with ENOSYS. Some functions are actually named
69735 something starting with __ and the normal name is an alias. */
69736 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69737 choke me
69738 #else
69739 char (*f) () = $ac_func;
69740 #endif
69741 #ifdef __cplusplus
69742 }
69743 #endif
69744
69745 int
69746 main ()
69747 {
69748 return f != $ac_func;
69749 ;
69750 return 0;
69751 }
69752 _ACEOF
69753 rm -f conftest.$ac_objext conftest$ac_exeext
69754 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69755 (eval $ac_link) 2>conftest.er1
69756 ac_status=$?
69757 grep -v '^ *+' conftest.er1 >conftest.err
69758 rm -f conftest.er1
69759 cat conftest.err >&5
69760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69761 (exit $ac_status); } &&
69762 { ac_try='test -z "$ac_c_werror_flag"
69763 || test ! -s conftest.err'
69764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69765 (eval $ac_try) 2>&5
69766 ac_status=$?
69767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69768 (exit $ac_status); }; } &&
69769 { ac_try='test -s conftest$ac_exeext'
69770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69771 (eval $ac_try) 2>&5
69772 ac_status=$?
69773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69774 (exit $ac_status); }; }; then
69775 eval "$as_ac_var=yes"
69776 else
69777 echo "$as_me: failed program was:" >&5
69778 sed 's/^/| /' conftest.$ac_ext >&5
69779
69780 eval "$as_ac_var=no"
69781 fi
69782 rm -f conftest.err conftest.$ac_objext \
69783 conftest$ac_exeext conftest.$ac_ext
69784 fi
69785 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69786 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69787 if test `eval echo '${'$as_ac_var'}'` = yes; then
69788 cat >>confdefs.h <<_ACEOF
69789 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69790 _ACEOF
69791
69792 fi
69793 done
69794
69795 else
69796
69797 echo "$as_me:$LINENO: checking for _sincosl declaration" >&5
69798 echo $ECHO_N "checking for _sincosl declaration... $ECHO_C" >&6
69799 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
69800 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then
69801 echo $ECHO_N "(cached) $ECHO_C" >&6
69802 else
69803
69804
69805
69806 ac_ext=cc
69807 ac_cpp='$CXXCPP $CPPFLAGS'
69808 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69809 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69810 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69811
69812 cat >conftest.$ac_ext <<_ACEOF
69813 /* confdefs.h. */
69814 _ACEOF
69815 cat confdefs.h >>conftest.$ac_ext
69816 cat >>conftest.$ac_ext <<_ACEOF
69817 /* end confdefs.h. */
69818 #include <math.h>
69819 int
69820 main ()
69821 {
69822 _sincosl(0, 0, 0);
69823 ;
69824 return 0;
69825 }
69826 _ACEOF
69827 rm -f conftest.$ac_objext
69828 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69829 (eval $ac_compile) 2>conftest.er1
69830 ac_status=$?
69831 grep -v '^ *+' conftest.er1 >conftest.err
69832 rm -f conftest.er1
69833 cat conftest.err >&5
69834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69835 (exit $ac_status); } &&
69836 { ac_try='test -z "$ac_cxx_werror_flag"
69837 || test ! -s conftest.err'
69838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69839 (eval $ac_try) 2>&5
69840 ac_status=$?
69841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69842 (exit $ac_status); }; } &&
69843 { ac_try='test -s conftest.$ac_objext'
69844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69845 (eval $ac_try) 2>&5
69846 ac_status=$?
69847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69848 (exit $ac_status); }; }; then
69849 glibcxx_cv_func__sincosl_use=yes
69850 else
69851 echo "$as_me: failed program was:" >&5
69852 sed 's/^/| /' conftest.$ac_ext >&5
69853
69854 glibcxx_cv_func__sincosl_use=no
69855 fi
69856 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69857 ac_ext=c
69858 ac_cpp='$CPP $CPPFLAGS'
69859 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69860 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69861 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69862
69863
69864 fi
69865
69866 fi
69867 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosl_use" >&5
69868 echo "${ECHO_T}$glibcxx_cv_func__sincosl_use" >&6
69869
69870 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
69871
69872 for ac_func in _sincosl
69873 do
69874 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69875 echo "$as_me:$LINENO: checking for $ac_func" >&5
69876 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69877 if eval "test \"\${$as_ac_var+set}\" = set"; then
69878 echo $ECHO_N "(cached) $ECHO_C" >&6
69879 else
69880 if test x$gcc_no_link = xyes; then
69881 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69882 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69883 { (exit 1); exit 1; }; }
69884 fi
69885 cat >conftest.$ac_ext <<_ACEOF
69886 /* confdefs.h. */
69887 _ACEOF
69888 cat confdefs.h >>conftest.$ac_ext
69889 cat >>conftest.$ac_ext <<_ACEOF
69890 /* end confdefs.h. */
69891 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69892 For example, HP-UX 11i <limits.h> declares gettimeofday. */
69893 #define $ac_func innocuous_$ac_func
69894
69895 /* System header to define __stub macros and hopefully few prototypes,
69896 which can conflict with char $ac_func (); below.
69897 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69898 <limits.h> exists even on freestanding compilers. */
69899
69900 #ifdef __STDC__
69901 # include <limits.h>
69902 #else
69903 # include <assert.h>
69904 #endif
69905
69906 #undef $ac_func
69907
69908 /* Override any gcc2 internal prototype to avoid an error. */
69909 #ifdef __cplusplus
69910 extern "C"
69911 {
69912 #endif
69913 /* We use char because int might match the return type of a gcc2
69914 builtin and then its argument prototype would still apply. */
69915 char $ac_func ();
69916 /* The GNU C library defines this for functions which it implements
69917 to always fail with ENOSYS. Some functions are actually named
69918 something starting with __ and the normal name is an alias. */
69919 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69920 choke me
69921 #else
69922 char (*f) () = $ac_func;
69923 #endif
69924 #ifdef __cplusplus
69925 }
69926 #endif
69927
69928 int
69929 main ()
69930 {
69931 return f != $ac_func;
69932 ;
69933 return 0;
69934 }
69935 _ACEOF
69936 rm -f conftest.$ac_objext conftest$ac_exeext
69937 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69938 (eval $ac_link) 2>conftest.er1
69939 ac_status=$?
69940 grep -v '^ *+' conftest.er1 >conftest.err
69941 rm -f conftest.er1
69942 cat conftest.err >&5
69943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69944 (exit $ac_status); } &&
69945 { ac_try='test -z "$ac_c_werror_flag"
69946 || test ! -s conftest.err'
69947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69948 (eval $ac_try) 2>&5
69949 ac_status=$?
69950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69951 (exit $ac_status); }; } &&
69952 { ac_try='test -s conftest$ac_exeext'
69953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69954 (eval $ac_try) 2>&5
69955 ac_status=$?
69956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69957 (exit $ac_status); }; }; then
69958 eval "$as_ac_var=yes"
69959 else
69960 echo "$as_me: failed program was:" >&5
69961 sed 's/^/| /' conftest.$ac_ext >&5
69962
69963 eval "$as_ac_var=no"
69964 fi
69965 rm -f conftest.err conftest.$ac_objext \
69966 conftest$ac_exeext conftest.$ac_ext
69967 fi
69968 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69969 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69970 if test `eval echo '${'$as_ac_var'}'` = yes; then
69971 cat >>confdefs.h <<_ACEOF
69972 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69973 _ACEOF
69974
69975 fi
69976 done
69977
69978 fi
69979 fi
69980
69981
69982
69983
69984
69985
69986 echo "$as_me:$LINENO: checking for finitel declaration" >&5
69987 echo $ECHO_N "checking for finitel declaration... $ECHO_C" >&6
69988 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
69989 if test "${glibcxx_cv_func_finitel_use+set}" = set; then
69990 echo $ECHO_N "(cached) $ECHO_C" >&6
69991 else
69992
69993
69994
69995 ac_ext=cc
69996 ac_cpp='$CXXCPP $CPPFLAGS'
69997 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69998 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69999 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70000
70001 cat >conftest.$ac_ext <<_ACEOF
70002 /* confdefs.h. */
70003 _ACEOF
70004 cat confdefs.h >>conftest.$ac_ext
70005 cat >>conftest.$ac_ext <<_ACEOF
70006 /* end confdefs.h. */
70007 #include <math.h>
70008 #ifdef HAVE_IEEEFP_H
70009 #include <ieeefp.h>
70010 #endif
70011
70012 int
70013 main ()
70014 {
70015 finitel(0);
70016 ;
70017 return 0;
70018 }
70019 _ACEOF
70020 rm -f conftest.$ac_objext
70021 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70022 (eval $ac_compile) 2>conftest.er1
70023 ac_status=$?
70024 grep -v '^ *+' conftest.er1 >conftest.err
70025 rm -f conftest.er1
70026 cat conftest.err >&5
70027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70028 (exit $ac_status); } &&
70029 { ac_try='test -z "$ac_cxx_werror_flag"
70030 || test ! -s conftest.err'
70031 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70032 (eval $ac_try) 2>&5
70033 ac_status=$?
70034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70035 (exit $ac_status); }; } &&
70036 { ac_try='test -s conftest.$ac_objext'
70037 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70038 (eval $ac_try) 2>&5
70039 ac_status=$?
70040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70041 (exit $ac_status); }; }; then
70042 glibcxx_cv_func_finitel_use=yes
70043 else
70044 echo "$as_me: failed program was:" >&5
70045 sed 's/^/| /' conftest.$ac_ext >&5
70046
70047 glibcxx_cv_func_finitel_use=no
70048 fi
70049 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70050 ac_ext=c
70051 ac_cpp='$CPP $CPPFLAGS'
70052 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70053 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70054 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70055
70056
70057 fi
70058
70059 fi
70060 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitel_use" >&5
70061 echo "${ECHO_T}$glibcxx_cv_func_finitel_use" >&6
70062
70063 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
70064
70065 for ac_func in finitel
70066 do
70067 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70068 echo "$as_me:$LINENO: checking for $ac_func" >&5
70069 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70070 if eval "test \"\${$as_ac_var+set}\" = set"; then
70071 echo $ECHO_N "(cached) $ECHO_C" >&6
70072 else
70073 if test x$gcc_no_link = xyes; then
70074 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70075 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70076 { (exit 1); exit 1; }; }
70077 fi
70078 cat >conftest.$ac_ext <<_ACEOF
70079 /* confdefs.h. */
70080 _ACEOF
70081 cat confdefs.h >>conftest.$ac_ext
70082 cat >>conftest.$ac_ext <<_ACEOF
70083 /* end confdefs.h. */
70084 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70085 For example, HP-UX 11i <limits.h> declares gettimeofday. */
70086 #define $ac_func innocuous_$ac_func
70087
70088 /* System header to define __stub macros and hopefully few prototypes,
70089 which can conflict with char $ac_func (); below.
70090 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70091 <limits.h> exists even on freestanding compilers. */
70092
70093 #ifdef __STDC__
70094 # include <limits.h>
70095 #else
70096 # include <assert.h>
70097 #endif
70098
70099 #undef $ac_func
70100
70101 /* Override any gcc2 internal prototype to avoid an error. */
70102 #ifdef __cplusplus
70103 extern "C"
70104 {
70105 #endif
70106 /* We use char because int might match the return type of a gcc2
70107 builtin and then its argument prototype would still apply. */
70108 char $ac_func ();
70109 /* The GNU C library defines this for functions which it implements
70110 to always fail with ENOSYS. Some functions are actually named
70111 something starting with __ and the normal name is an alias. */
70112 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70113 choke me
70114 #else
70115 char (*f) () = $ac_func;
70116 #endif
70117 #ifdef __cplusplus
70118 }
70119 #endif
70120
70121 int
70122 main ()
70123 {
70124 return f != $ac_func;
70125 ;
70126 return 0;
70127 }
70128 _ACEOF
70129 rm -f conftest.$ac_objext conftest$ac_exeext
70130 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70131 (eval $ac_link) 2>conftest.er1
70132 ac_status=$?
70133 grep -v '^ *+' conftest.er1 >conftest.err
70134 rm -f conftest.er1
70135 cat conftest.err >&5
70136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70137 (exit $ac_status); } &&
70138 { ac_try='test -z "$ac_c_werror_flag"
70139 || test ! -s conftest.err'
70140 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70141 (eval $ac_try) 2>&5
70142 ac_status=$?
70143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70144 (exit $ac_status); }; } &&
70145 { ac_try='test -s conftest$ac_exeext'
70146 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70147 (eval $ac_try) 2>&5
70148 ac_status=$?
70149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70150 (exit $ac_status); }; }; then
70151 eval "$as_ac_var=yes"
70152 else
70153 echo "$as_me: failed program was:" >&5
70154 sed 's/^/| /' conftest.$ac_ext >&5
70155
70156 eval "$as_ac_var=no"
70157 fi
70158 rm -f conftest.err conftest.$ac_objext \
70159 conftest$ac_exeext conftest.$ac_ext
70160 fi
70161 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70162 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70163 if test `eval echo '${'$as_ac_var'}'` = yes; then
70164 cat >>confdefs.h <<_ACEOF
70165 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70166 _ACEOF
70167
70168 fi
70169 done
70170
70171 else
70172
70173 echo "$as_me:$LINENO: checking for _finitel declaration" >&5
70174 echo $ECHO_N "checking for _finitel declaration... $ECHO_C" >&6
70175 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
70176 if test "${glibcxx_cv_func__finitel_use+set}" = set; then
70177 echo $ECHO_N "(cached) $ECHO_C" >&6
70178 else
70179
70180
70181
70182 ac_ext=cc
70183 ac_cpp='$CXXCPP $CPPFLAGS'
70184 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70185 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70186 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70187
70188 cat >conftest.$ac_ext <<_ACEOF
70189 /* confdefs.h. */
70190 _ACEOF
70191 cat confdefs.h >>conftest.$ac_ext
70192 cat >>conftest.$ac_ext <<_ACEOF
70193 /* end confdefs.h. */
70194 #include <math.h>
70195 #ifdef HAVE_IEEEFP_H
70196 #include <ieeefp.h>
70197 #endif
70198
70199 int
70200 main ()
70201 {
70202 _finitel(0);
70203 ;
70204 return 0;
70205 }
70206 _ACEOF
70207 rm -f conftest.$ac_objext
70208 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70209 (eval $ac_compile) 2>conftest.er1
70210 ac_status=$?
70211 grep -v '^ *+' conftest.er1 >conftest.err
70212 rm -f conftest.er1
70213 cat conftest.err >&5
70214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70215 (exit $ac_status); } &&
70216 { ac_try='test -z "$ac_cxx_werror_flag"
70217 || test ! -s conftest.err'
70218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70219 (eval $ac_try) 2>&5
70220 ac_status=$?
70221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70222 (exit $ac_status); }; } &&
70223 { ac_try='test -s conftest.$ac_objext'
70224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70225 (eval $ac_try) 2>&5
70226 ac_status=$?
70227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70228 (exit $ac_status); }; }; then
70229 glibcxx_cv_func__finitel_use=yes
70230 else
70231 echo "$as_me: failed program was:" >&5
70232 sed 's/^/| /' conftest.$ac_ext >&5
70233
70234 glibcxx_cv_func__finitel_use=no
70235 fi
70236 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70237 ac_ext=c
70238 ac_cpp='$CPP $CPPFLAGS'
70239 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70240 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70241 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70242
70243
70244 fi
70245
70246 fi
70247 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitel_use" >&5
70248 echo "${ECHO_T}$glibcxx_cv_func__finitel_use" >&6
70249
70250 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
70251
70252 for ac_func in _finitel
70253 do
70254 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70255 echo "$as_me:$LINENO: checking for $ac_func" >&5
70256 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70257 if eval "test \"\${$as_ac_var+set}\" = set"; then
70258 echo $ECHO_N "(cached) $ECHO_C" >&6
70259 else
70260 if test x$gcc_no_link = xyes; then
70261 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70262 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70263 { (exit 1); exit 1; }; }
70264 fi
70265 cat >conftest.$ac_ext <<_ACEOF
70266 /* confdefs.h. */
70267 _ACEOF
70268 cat confdefs.h >>conftest.$ac_ext
70269 cat >>conftest.$ac_ext <<_ACEOF
70270 /* end confdefs.h. */
70271 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70272 For example, HP-UX 11i <limits.h> declares gettimeofday. */
70273 #define $ac_func innocuous_$ac_func
70274
70275 /* System header to define __stub macros and hopefully few prototypes,
70276 which can conflict with char $ac_func (); below.
70277 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70278 <limits.h> exists even on freestanding compilers. */
70279
70280 #ifdef __STDC__
70281 # include <limits.h>
70282 #else
70283 # include <assert.h>
70284 #endif
70285
70286 #undef $ac_func
70287
70288 /* Override any gcc2 internal prototype to avoid an error. */
70289 #ifdef __cplusplus
70290 extern "C"
70291 {
70292 #endif
70293 /* We use char because int might match the return type of a gcc2
70294 builtin and then its argument prototype would still apply. */
70295 char $ac_func ();
70296 /* The GNU C library defines this for functions which it implements
70297 to always fail with ENOSYS. Some functions are actually named
70298 something starting with __ and the normal name is an alias. */
70299 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70300 choke me
70301 #else
70302 char (*f) () = $ac_func;
70303 #endif
70304 #ifdef __cplusplus
70305 }
70306 #endif
70307
70308 int
70309 main ()
70310 {
70311 return f != $ac_func;
70312 ;
70313 return 0;
70314 }
70315 _ACEOF
70316 rm -f conftest.$ac_objext conftest$ac_exeext
70317 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70318 (eval $ac_link) 2>conftest.er1
70319 ac_status=$?
70320 grep -v '^ *+' conftest.er1 >conftest.err
70321 rm -f conftest.er1
70322 cat conftest.err >&5
70323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70324 (exit $ac_status); } &&
70325 { ac_try='test -z "$ac_c_werror_flag"
70326 || test ! -s conftest.err'
70327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70328 (eval $ac_try) 2>&5
70329 ac_status=$?
70330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70331 (exit $ac_status); }; } &&
70332 { ac_try='test -s conftest$ac_exeext'
70333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70334 (eval $ac_try) 2>&5
70335 ac_status=$?
70336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70337 (exit $ac_status); }; }; then
70338 eval "$as_ac_var=yes"
70339 else
70340 echo "$as_me: failed program was:" >&5
70341 sed 's/^/| /' conftest.$ac_ext >&5
70342
70343 eval "$as_ac_var=no"
70344 fi
70345 rm -f conftest.err conftest.$ac_objext \
70346 conftest$ac_exeext conftest.$ac_ext
70347 fi
70348 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70349 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70350 if test `eval echo '${'$as_ac_var'}'` = yes; then
70351 cat >>confdefs.h <<_ACEOF
70352 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70353 _ACEOF
70354
70355 fi
70356 done
70357
70358 fi
70359 fi
70360
70361
70362
70363
70364
70365 LIBS="$ac_save_LIBS"
70366 CXXFLAGS="$ac_save_CXXFLAGS"
70367
70368
70369
70370 echo "$as_me:$LINENO: checking for __builtin_abs declaration" >&5
70371 echo $ECHO_N "checking for __builtin_abs declaration... $ECHO_C" >&6
70372 if test x${glibcxx_cv_func___builtin_abs_use+set} != xset; then
70373 if test "${glibcxx_cv_func___builtin_abs_use+set}" = set; then
70374 echo $ECHO_N "(cached) $ECHO_C" >&6
70375 else
70376
70377
70378
70379 ac_ext=cc
70380 ac_cpp='$CXXCPP $CPPFLAGS'
70381 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70382 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70383 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70384
70385 cat >conftest.$ac_ext <<_ACEOF
70386 /* confdefs.h. */
70387 _ACEOF
70388 cat confdefs.h >>conftest.$ac_ext
70389 cat >>conftest.$ac_ext <<_ACEOF
70390 /* end confdefs.h. */
70391 #include <math.h>
70392 int
70393 main ()
70394 {
70395 __builtin_abs(0);
70396 ;
70397 return 0;
70398 }
70399 _ACEOF
70400 rm -f conftest.$ac_objext
70401 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70402 (eval $ac_compile) 2>conftest.er1
70403 ac_status=$?
70404 grep -v '^ *+' conftest.er1 >conftest.err
70405 rm -f conftest.er1
70406 cat conftest.err >&5
70407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70408 (exit $ac_status); } &&
70409 { ac_try='test -z "$ac_cxx_werror_flag"
70410 || test ! -s conftest.err'
70411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70412 (eval $ac_try) 2>&5
70413 ac_status=$?
70414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70415 (exit $ac_status); }; } &&
70416 { ac_try='test -s conftest.$ac_objext'
70417 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70418 (eval $ac_try) 2>&5
70419 ac_status=$?
70420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70421 (exit $ac_status); }; }; then
70422 glibcxx_cv_func___builtin_abs_use=yes
70423 else
70424 echo "$as_me: failed program was:" >&5
70425 sed 's/^/| /' conftest.$ac_ext >&5
70426
70427 glibcxx_cv_func___builtin_abs_use=no
70428 fi
70429 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70430 ac_ext=c
70431 ac_cpp='$CPP $CPPFLAGS'
70432 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70433 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70434 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70435
70436
70437 fi
70438
70439 fi
70440 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_use" >&5
70441 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_use" >&6
70442 if test x$glibcxx_cv_func___builtin_abs_use = x"yes"; then
70443 echo "$as_me:$LINENO: checking for __builtin_abs linkage" >&5
70444 echo $ECHO_N "checking for __builtin_abs linkage... $ECHO_C" >&6
70445 if test x${glibcxx_cv_func___builtin_abs_link+set} != xset; then
70446 if test "${glibcxx_cv_func___builtin_abs_link+set}" = set; then
70447 echo $ECHO_N "(cached) $ECHO_C" >&6
70448 else
70449
70450 if test x$gcc_no_link = xyes; then
70451 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70452 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70453 { (exit 1); exit 1; }; }
70454 fi
70455 cat >conftest.$ac_ext <<_ACEOF
70456 /* confdefs.h. */
70457 _ACEOF
70458 cat confdefs.h >>conftest.$ac_ext
70459 cat >>conftest.$ac_ext <<_ACEOF
70460 /* end confdefs.h. */
70461 #include <math.h>
70462 int
70463 main ()
70464 {
70465 __builtin_abs(0);
70466 ;
70467 return 0;
70468 }
70469 _ACEOF
70470 rm -f conftest.$ac_objext conftest$ac_exeext
70471 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70472 (eval $ac_link) 2>conftest.er1
70473 ac_status=$?
70474 grep -v '^ *+' conftest.er1 >conftest.err
70475 rm -f conftest.er1
70476 cat conftest.err >&5
70477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70478 (exit $ac_status); } &&
70479 { ac_try='test -z "$ac_c_werror_flag"
70480 || test ! -s conftest.err'
70481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70482 (eval $ac_try) 2>&5
70483 ac_status=$?
70484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70485 (exit $ac_status); }; } &&
70486 { ac_try='test -s conftest$ac_exeext'
70487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70488 (eval $ac_try) 2>&5
70489 ac_status=$?
70490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70491 (exit $ac_status); }; }; then
70492 glibcxx_cv_func___builtin_abs_link=yes
70493 else
70494 echo "$as_me: failed program was:" >&5
70495 sed 's/^/| /' conftest.$ac_ext >&5
70496
70497 glibcxx_cv_func___builtin_abs_link=no
70498 fi
70499 rm -f conftest.err conftest.$ac_objext \
70500 conftest$ac_exeext conftest.$ac_ext
70501
70502 fi
70503
70504 fi
70505 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_link" >&5
70506 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_link" >&6
70507
70508 if test x$glibcxx_cv_func___builtin_abs_link = x"yes"; then
70509
70510 cat >>confdefs.h <<\_ACEOF
70511 #define HAVE___BUILTIN_ABS 1
70512 _ACEOF
70513
70514 fi
70515
70516 fi
70517
70518
70519 echo "$as_me:$LINENO: checking for __builtin_fabsf declaration" >&5
70520 echo $ECHO_N "checking for __builtin_fabsf declaration... $ECHO_C" >&6
70521 if test x${glibcxx_cv_func___builtin_fabsf_use+set} != xset; then
70522 if test "${glibcxx_cv_func___builtin_fabsf_use+set}" = set; then
70523 echo $ECHO_N "(cached) $ECHO_C" >&6
70524 else
70525
70526
70527
70528 ac_ext=cc
70529 ac_cpp='$CXXCPP $CPPFLAGS'
70530 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70531 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70532 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70533
70534 cat >conftest.$ac_ext <<_ACEOF
70535 /* confdefs.h. */
70536 _ACEOF
70537 cat confdefs.h >>conftest.$ac_ext
70538 cat >>conftest.$ac_ext <<_ACEOF
70539 /* end confdefs.h. */
70540 #include <math.h>
70541 int
70542 main ()
70543 {
70544 __builtin_fabsf(0);
70545 ;
70546 return 0;
70547 }
70548 _ACEOF
70549 rm -f conftest.$ac_objext
70550 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70551 (eval $ac_compile) 2>conftest.er1
70552 ac_status=$?
70553 grep -v '^ *+' conftest.er1 >conftest.err
70554 rm -f conftest.er1
70555 cat conftest.err >&5
70556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70557 (exit $ac_status); } &&
70558 { ac_try='test -z "$ac_cxx_werror_flag"
70559 || test ! -s conftest.err'
70560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70561 (eval $ac_try) 2>&5
70562 ac_status=$?
70563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70564 (exit $ac_status); }; } &&
70565 { ac_try='test -s conftest.$ac_objext'
70566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70567 (eval $ac_try) 2>&5
70568 ac_status=$?
70569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70570 (exit $ac_status); }; }; then
70571 glibcxx_cv_func___builtin_fabsf_use=yes
70572 else
70573 echo "$as_me: failed program was:" >&5
70574 sed 's/^/| /' conftest.$ac_ext >&5
70575
70576 glibcxx_cv_func___builtin_fabsf_use=no
70577 fi
70578 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70579 ac_ext=c
70580 ac_cpp='$CPP $CPPFLAGS'
70581 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70582 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70583 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70584
70585
70586 fi
70587
70588 fi
70589 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_use" >&5
70590 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_use" >&6
70591 if test x$glibcxx_cv_func___builtin_fabsf_use = x"yes"; then
70592 echo "$as_me:$LINENO: checking for __builtin_fabsf linkage" >&5
70593 echo $ECHO_N "checking for __builtin_fabsf linkage... $ECHO_C" >&6
70594 if test x${glibcxx_cv_func___builtin_fabsf_link+set} != xset; then
70595 if test "${glibcxx_cv_func___builtin_fabsf_link+set}" = set; then
70596 echo $ECHO_N "(cached) $ECHO_C" >&6
70597 else
70598
70599 if test x$gcc_no_link = xyes; then
70600 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70601 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70602 { (exit 1); exit 1; }; }
70603 fi
70604 cat >conftest.$ac_ext <<_ACEOF
70605 /* confdefs.h. */
70606 _ACEOF
70607 cat confdefs.h >>conftest.$ac_ext
70608 cat >>conftest.$ac_ext <<_ACEOF
70609 /* end confdefs.h. */
70610 #include <math.h>
70611 int
70612 main ()
70613 {
70614 __builtin_fabsf(0);
70615 ;
70616 return 0;
70617 }
70618 _ACEOF
70619 rm -f conftest.$ac_objext conftest$ac_exeext
70620 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70621 (eval $ac_link) 2>conftest.er1
70622 ac_status=$?
70623 grep -v '^ *+' conftest.er1 >conftest.err
70624 rm -f conftest.er1
70625 cat conftest.err >&5
70626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70627 (exit $ac_status); } &&
70628 { ac_try='test -z "$ac_c_werror_flag"
70629 || test ! -s conftest.err'
70630 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70631 (eval $ac_try) 2>&5
70632 ac_status=$?
70633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70634 (exit $ac_status); }; } &&
70635 { ac_try='test -s conftest$ac_exeext'
70636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70637 (eval $ac_try) 2>&5
70638 ac_status=$?
70639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70640 (exit $ac_status); }; }; then
70641 glibcxx_cv_func___builtin_fabsf_link=yes
70642 else
70643 echo "$as_me: failed program was:" >&5
70644 sed 's/^/| /' conftest.$ac_ext >&5
70645
70646 glibcxx_cv_func___builtin_fabsf_link=no
70647 fi
70648 rm -f conftest.err conftest.$ac_objext \
70649 conftest$ac_exeext conftest.$ac_ext
70650
70651 fi
70652
70653 fi
70654 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_link" >&5
70655 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_link" >&6
70656
70657 if test x$glibcxx_cv_func___builtin_fabsf_link = x"yes"; then
70658
70659 cat >>confdefs.h <<\_ACEOF
70660 #define HAVE___BUILTIN_FABSF 1
70661 _ACEOF
70662
70663 fi
70664
70665 fi
70666
70667
70668 echo "$as_me:$LINENO: checking for __builtin_fabs declaration" >&5
70669 echo $ECHO_N "checking for __builtin_fabs declaration... $ECHO_C" >&6
70670 if test x${glibcxx_cv_func___builtin_fabs_use+set} != xset; then
70671 if test "${glibcxx_cv_func___builtin_fabs_use+set}" = set; then
70672 echo $ECHO_N "(cached) $ECHO_C" >&6
70673 else
70674
70675
70676
70677 ac_ext=cc
70678 ac_cpp='$CXXCPP $CPPFLAGS'
70679 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70680 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70681 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70682
70683 cat >conftest.$ac_ext <<_ACEOF
70684 /* confdefs.h. */
70685 _ACEOF
70686 cat confdefs.h >>conftest.$ac_ext
70687 cat >>conftest.$ac_ext <<_ACEOF
70688 /* end confdefs.h. */
70689 #include <math.h>
70690 int
70691 main ()
70692 {
70693 __builtin_fabs(0);
70694 ;
70695 return 0;
70696 }
70697 _ACEOF
70698 rm -f conftest.$ac_objext
70699 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70700 (eval $ac_compile) 2>conftest.er1
70701 ac_status=$?
70702 grep -v '^ *+' conftest.er1 >conftest.err
70703 rm -f conftest.er1
70704 cat conftest.err >&5
70705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70706 (exit $ac_status); } &&
70707 { ac_try='test -z "$ac_cxx_werror_flag"
70708 || test ! -s conftest.err'
70709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70710 (eval $ac_try) 2>&5
70711 ac_status=$?
70712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70713 (exit $ac_status); }; } &&
70714 { ac_try='test -s conftest.$ac_objext'
70715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70716 (eval $ac_try) 2>&5
70717 ac_status=$?
70718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70719 (exit $ac_status); }; }; then
70720 glibcxx_cv_func___builtin_fabs_use=yes
70721 else
70722 echo "$as_me: failed program was:" >&5
70723 sed 's/^/| /' conftest.$ac_ext >&5
70724
70725 glibcxx_cv_func___builtin_fabs_use=no
70726 fi
70727 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70728 ac_ext=c
70729 ac_cpp='$CPP $CPPFLAGS'
70730 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70731 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70732 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70733
70734
70735 fi
70736
70737 fi
70738 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_use" >&5
70739 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_use" >&6
70740 if test x$glibcxx_cv_func___builtin_fabs_use = x"yes"; then
70741 echo "$as_me:$LINENO: checking for __builtin_fabs linkage" >&5
70742 echo $ECHO_N "checking for __builtin_fabs linkage... $ECHO_C" >&6
70743 if test x${glibcxx_cv_func___builtin_fabs_link+set} != xset; then
70744 if test "${glibcxx_cv_func___builtin_fabs_link+set}" = set; then
70745 echo $ECHO_N "(cached) $ECHO_C" >&6
70746 else
70747
70748 if test x$gcc_no_link = xyes; then
70749 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70750 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70751 { (exit 1); exit 1; }; }
70752 fi
70753 cat >conftest.$ac_ext <<_ACEOF
70754 /* confdefs.h. */
70755 _ACEOF
70756 cat confdefs.h >>conftest.$ac_ext
70757 cat >>conftest.$ac_ext <<_ACEOF
70758 /* end confdefs.h. */
70759 #include <math.h>
70760 int
70761 main ()
70762 {
70763 __builtin_fabs(0);
70764 ;
70765 return 0;
70766 }
70767 _ACEOF
70768 rm -f conftest.$ac_objext conftest$ac_exeext
70769 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70770 (eval $ac_link) 2>conftest.er1
70771 ac_status=$?
70772 grep -v '^ *+' conftest.er1 >conftest.err
70773 rm -f conftest.er1
70774 cat conftest.err >&5
70775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70776 (exit $ac_status); } &&
70777 { ac_try='test -z "$ac_c_werror_flag"
70778 || test ! -s conftest.err'
70779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70780 (eval $ac_try) 2>&5
70781 ac_status=$?
70782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70783 (exit $ac_status); }; } &&
70784 { ac_try='test -s conftest$ac_exeext'
70785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70786 (eval $ac_try) 2>&5
70787 ac_status=$?
70788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70789 (exit $ac_status); }; }; then
70790 glibcxx_cv_func___builtin_fabs_link=yes
70791 else
70792 echo "$as_me: failed program was:" >&5
70793 sed 's/^/| /' conftest.$ac_ext >&5
70794
70795 glibcxx_cv_func___builtin_fabs_link=no
70796 fi
70797 rm -f conftest.err conftest.$ac_objext \
70798 conftest$ac_exeext conftest.$ac_ext
70799
70800 fi
70801
70802 fi
70803 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_link" >&5
70804 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_link" >&6
70805
70806 if test x$glibcxx_cv_func___builtin_fabs_link = x"yes"; then
70807
70808 cat >>confdefs.h <<\_ACEOF
70809 #define HAVE___BUILTIN_FABS 1
70810 _ACEOF
70811
70812 fi
70813
70814 fi
70815
70816
70817 echo "$as_me:$LINENO: checking for __builtin_fabsl declaration" >&5
70818 echo $ECHO_N "checking for __builtin_fabsl declaration... $ECHO_C" >&6
70819 if test x${glibcxx_cv_func___builtin_fabsl_use+set} != xset; then
70820 if test "${glibcxx_cv_func___builtin_fabsl_use+set}" = set; then
70821 echo $ECHO_N "(cached) $ECHO_C" >&6
70822 else
70823
70824
70825
70826 ac_ext=cc
70827 ac_cpp='$CXXCPP $CPPFLAGS'
70828 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70829 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70830 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70831
70832 cat >conftest.$ac_ext <<_ACEOF
70833 /* confdefs.h. */
70834 _ACEOF
70835 cat confdefs.h >>conftest.$ac_ext
70836 cat >>conftest.$ac_ext <<_ACEOF
70837 /* end confdefs.h. */
70838 #include <math.h>
70839 int
70840 main ()
70841 {
70842 __builtin_fabsl(0);
70843 ;
70844 return 0;
70845 }
70846 _ACEOF
70847 rm -f conftest.$ac_objext
70848 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70849 (eval $ac_compile) 2>conftest.er1
70850 ac_status=$?
70851 grep -v '^ *+' conftest.er1 >conftest.err
70852 rm -f conftest.er1
70853 cat conftest.err >&5
70854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70855 (exit $ac_status); } &&
70856 { ac_try='test -z "$ac_cxx_werror_flag"
70857 || test ! -s conftest.err'
70858 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70859 (eval $ac_try) 2>&5
70860 ac_status=$?
70861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70862 (exit $ac_status); }; } &&
70863 { ac_try='test -s conftest.$ac_objext'
70864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70865 (eval $ac_try) 2>&5
70866 ac_status=$?
70867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70868 (exit $ac_status); }; }; then
70869 glibcxx_cv_func___builtin_fabsl_use=yes
70870 else
70871 echo "$as_me: failed program was:" >&5
70872 sed 's/^/| /' conftest.$ac_ext >&5
70873
70874 glibcxx_cv_func___builtin_fabsl_use=no
70875 fi
70876 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70877 ac_ext=c
70878 ac_cpp='$CPP $CPPFLAGS'
70879 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70880 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70881 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70882
70883
70884 fi
70885
70886 fi
70887 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_use" >&5
70888 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_use" >&6
70889 if test x$glibcxx_cv_func___builtin_fabsl_use = x"yes"; then
70890 echo "$as_me:$LINENO: checking for __builtin_fabsl linkage" >&5
70891 echo $ECHO_N "checking for __builtin_fabsl linkage... $ECHO_C" >&6
70892 if test x${glibcxx_cv_func___builtin_fabsl_link+set} != xset; then
70893 if test "${glibcxx_cv_func___builtin_fabsl_link+set}" = set; then
70894 echo $ECHO_N "(cached) $ECHO_C" >&6
70895 else
70896
70897 if test x$gcc_no_link = xyes; then
70898 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70899 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70900 { (exit 1); exit 1; }; }
70901 fi
70902 cat >conftest.$ac_ext <<_ACEOF
70903 /* confdefs.h. */
70904 _ACEOF
70905 cat confdefs.h >>conftest.$ac_ext
70906 cat >>conftest.$ac_ext <<_ACEOF
70907 /* end confdefs.h. */
70908 #include <math.h>
70909 int
70910 main ()
70911 {
70912 __builtin_fabsl(0);
70913 ;
70914 return 0;
70915 }
70916 _ACEOF
70917 rm -f conftest.$ac_objext conftest$ac_exeext
70918 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70919 (eval $ac_link) 2>conftest.er1
70920 ac_status=$?
70921 grep -v '^ *+' conftest.er1 >conftest.err
70922 rm -f conftest.er1
70923 cat conftest.err >&5
70924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70925 (exit $ac_status); } &&
70926 { ac_try='test -z "$ac_c_werror_flag"
70927 || test ! -s conftest.err'
70928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70929 (eval $ac_try) 2>&5
70930 ac_status=$?
70931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70932 (exit $ac_status); }; } &&
70933 { ac_try='test -s conftest$ac_exeext'
70934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70935 (eval $ac_try) 2>&5
70936 ac_status=$?
70937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70938 (exit $ac_status); }; }; then
70939 glibcxx_cv_func___builtin_fabsl_link=yes
70940 else
70941 echo "$as_me: failed program was:" >&5
70942 sed 's/^/| /' conftest.$ac_ext >&5
70943
70944 glibcxx_cv_func___builtin_fabsl_link=no
70945 fi
70946 rm -f conftest.err conftest.$ac_objext \
70947 conftest$ac_exeext conftest.$ac_ext
70948
70949 fi
70950
70951 fi
70952 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_link" >&5
70953 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_link" >&6
70954
70955 if test x$glibcxx_cv_func___builtin_fabsl_link = x"yes"; then
70956
70957 cat >>confdefs.h <<\_ACEOF
70958 #define HAVE___BUILTIN_FABSL 1
70959 _ACEOF
70960
70961 fi
70962
70963 fi
70964
70965
70966 echo "$as_me:$LINENO: checking for __builtin_labs declaration" >&5
70967 echo $ECHO_N "checking for __builtin_labs declaration... $ECHO_C" >&6
70968 if test x${glibcxx_cv_func___builtin_labs_use+set} != xset; then
70969 if test "${glibcxx_cv_func___builtin_labs_use+set}" = set; then
70970 echo $ECHO_N "(cached) $ECHO_C" >&6
70971 else
70972
70973
70974
70975 ac_ext=cc
70976 ac_cpp='$CXXCPP $CPPFLAGS'
70977 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70978 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70979 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70980
70981 cat >conftest.$ac_ext <<_ACEOF
70982 /* confdefs.h. */
70983 _ACEOF
70984 cat confdefs.h >>conftest.$ac_ext
70985 cat >>conftest.$ac_ext <<_ACEOF
70986 /* end confdefs.h. */
70987 #include <math.h>
70988 int
70989 main ()
70990 {
70991 __builtin_labs(0);
70992 ;
70993 return 0;
70994 }
70995 _ACEOF
70996 rm -f conftest.$ac_objext
70997 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70998 (eval $ac_compile) 2>conftest.er1
70999 ac_status=$?
71000 grep -v '^ *+' conftest.er1 >conftest.err
71001 rm -f conftest.er1
71002 cat conftest.err >&5
71003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71004 (exit $ac_status); } &&
71005 { ac_try='test -z "$ac_cxx_werror_flag"
71006 || test ! -s conftest.err'
71007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71008 (eval $ac_try) 2>&5
71009 ac_status=$?
71010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71011 (exit $ac_status); }; } &&
71012 { ac_try='test -s conftest.$ac_objext'
71013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71014 (eval $ac_try) 2>&5
71015 ac_status=$?
71016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71017 (exit $ac_status); }; }; then
71018 glibcxx_cv_func___builtin_labs_use=yes
71019 else
71020 echo "$as_me: failed program was:" >&5
71021 sed 's/^/| /' conftest.$ac_ext >&5
71022
71023 glibcxx_cv_func___builtin_labs_use=no
71024 fi
71025 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71026 ac_ext=c
71027 ac_cpp='$CPP $CPPFLAGS'
71028 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71029 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71030 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71031
71032
71033 fi
71034
71035 fi
71036 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_use" >&5
71037 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_use" >&6
71038 if test x$glibcxx_cv_func___builtin_labs_use = x"yes"; then
71039 echo "$as_me:$LINENO: checking for __builtin_labs linkage" >&5
71040 echo $ECHO_N "checking for __builtin_labs linkage... $ECHO_C" >&6
71041 if test x${glibcxx_cv_func___builtin_labs_link+set} != xset; then
71042 if test "${glibcxx_cv_func___builtin_labs_link+set}" = set; then
71043 echo $ECHO_N "(cached) $ECHO_C" >&6
71044 else
71045
71046 if test x$gcc_no_link = xyes; then
71047 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71048 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71049 { (exit 1); exit 1; }; }
71050 fi
71051 cat >conftest.$ac_ext <<_ACEOF
71052 /* confdefs.h. */
71053 _ACEOF
71054 cat confdefs.h >>conftest.$ac_ext
71055 cat >>conftest.$ac_ext <<_ACEOF
71056 /* end confdefs.h. */
71057 #include <math.h>
71058 int
71059 main ()
71060 {
71061 __builtin_labs(0);
71062 ;
71063 return 0;
71064 }
71065 _ACEOF
71066 rm -f conftest.$ac_objext conftest$ac_exeext
71067 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71068 (eval $ac_link) 2>conftest.er1
71069 ac_status=$?
71070 grep -v '^ *+' conftest.er1 >conftest.err
71071 rm -f conftest.er1
71072 cat conftest.err >&5
71073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71074 (exit $ac_status); } &&
71075 { ac_try='test -z "$ac_c_werror_flag"
71076 || test ! -s conftest.err'
71077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71078 (eval $ac_try) 2>&5
71079 ac_status=$?
71080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71081 (exit $ac_status); }; } &&
71082 { ac_try='test -s conftest$ac_exeext'
71083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71084 (eval $ac_try) 2>&5
71085 ac_status=$?
71086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71087 (exit $ac_status); }; }; then
71088 glibcxx_cv_func___builtin_labs_link=yes
71089 else
71090 echo "$as_me: failed program was:" >&5
71091 sed 's/^/| /' conftest.$ac_ext >&5
71092
71093 glibcxx_cv_func___builtin_labs_link=no
71094 fi
71095 rm -f conftest.err conftest.$ac_objext \
71096 conftest$ac_exeext conftest.$ac_ext
71097
71098 fi
71099
71100 fi
71101 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_link" >&5
71102 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_link" >&6
71103
71104 if test x$glibcxx_cv_func___builtin_labs_link = x"yes"; then
71105
71106 cat >>confdefs.h <<\_ACEOF
71107 #define HAVE___BUILTIN_LABS 1
71108 _ACEOF
71109
71110 fi
71111
71112 fi
71113
71114
71115
71116 echo "$as_me:$LINENO: checking for __builtin_sqrtf declaration" >&5
71117 echo $ECHO_N "checking for __builtin_sqrtf declaration... $ECHO_C" >&6
71118 if test x${glibcxx_cv_func___builtin_sqrtf_use+set} != xset; then
71119 if test "${glibcxx_cv_func___builtin_sqrtf_use+set}" = set; then
71120 echo $ECHO_N "(cached) $ECHO_C" >&6
71121 else
71122
71123
71124
71125 ac_ext=cc
71126 ac_cpp='$CXXCPP $CPPFLAGS'
71127 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71128 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71129 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71130
71131 cat >conftest.$ac_ext <<_ACEOF
71132 /* confdefs.h. */
71133 _ACEOF
71134 cat confdefs.h >>conftest.$ac_ext
71135 cat >>conftest.$ac_ext <<_ACEOF
71136 /* end confdefs.h. */
71137 #include <math.h>
71138 int
71139 main ()
71140 {
71141 __builtin_sqrtf(0);
71142 ;
71143 return 0;
71144 }
71145 _ACEOF
71146 rm -f conftest.$ac_objext
71147 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71148 (eval $ac_compile) 2>conftest.er1
71149 ac_status=$?
71150 grep -v '^ *+' conftest.er1 >conftest.err
71151 rm -f conftest.er1
71152 cat conftest.err >&5
71153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71154 (exit $ac_status); } &&
71155 { ac_try='test -z "$ac_cxx_werror_flag"
71156 || test ! -s conftest.err'
71157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71158 (eval $ac_try) 2>&5
71159 ac_status=$?
71160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71161 (exit $ac_status); }; } &&
71162 { ac_try='test -s conftest.$ac_objext'
71163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71164 (eval $ac_try) 2>&5
71165 ac_status=$?
71166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71167 (exit $ac_status); }; }; then
71168 glibcxx_cv_func___builtin_sqrtf_use=yes
71169 else
71170 echo "$as_me: failed program was:" >&5
71171 sed 's/^/| /' conftest.$ac_ext >&5
71172
71173 glibcxx_cv_func___builtin_sqrtf_use=no
71174 fi
71175 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71176 ac_ext=c
71177 ac_cpp='$CPP $CPPFLAGS'
71178 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71179 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71180 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71181
71182
71183 fi
71184
71185 fi
71186 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_use" >&5
71187 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_use" >&6
71188 if test x$glibcxx_cv_func___builtin_sqrtf_use = x"yes"; then
71189 echo "$as_me:$LINENO: checking for __builtin_sqrtf linkage" >&5
71190 echo $ECHO_N "checking for __builtin_sqrtf linkage... $ECHO_C" >&6
71191 if test x${glibcxx_cv_func___builtin_sqrtf_link+set} != xset; then
71192 if test "${glibcxx_cv_func___builtin_sqrtf_link+set}" = set; then
71193 echo $ECHO_N "(cached) $ECHO_C" >&6
71194 else
71195
71196 if test x$gcc_no_link = xyes; then
71197 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71198 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71199 { (exit 1); exit 1; }; }
71200 fi
71201 cat >conftest.$ac_ext <<_ACEOF
71202 /* confdefs.h. */
71203 _ACEOF
71204 cat confdefs.h >>conftest.$ac_ext
71205 cat >>conftest.$ac_ext <<_ACEOF
71206 /* end confdefs.h. */
71207 #include <math.h>
71208 int
71209 main ()
71210 {
71211 __builtin_sqrtf(0);
71212 ;
71213 return 0;
71214 }
71215 _ACEOF
71216 rm -f conftest.$ac_objext conftest$ac_exeext
71217 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71218 (eval $ac_link) 2>conftest.er1
71219 ac_status=$?
71220 grep -v '^ *+' conftest.er1 >conftest.err
71221 rm -f conftest.er1
71222 cat conftest.err >&5
71223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71224 (exit $ac_status); } &&
71225 { ac_try='test -z "$ac_c_werror_flag"
71226 || test ! -s conftest.err'
71227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71228 (eval $ac_try) 2>&5
71229 ac_status=$?
71230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71231 (exit $ac_status); }; } &&
71232 { ac_try='test -s conftest$ac_exeext'
71233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71234 (eval $ac_try) 2>&5
71235 ac_status=$?
71236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71237 (exit $ac_status); }; }; then
71238 glibcxx_cv_func___builtin_sqrtf_link=yes
71239 else
71240 echo "$as_me: failed program was:" >&5
71241 sed 's/^/| /' conftest.$ac_ext >&5
71242
71243 glibcxx_cv_func___builtin_sqrtf_link=no
71244 fi
71245 rm -f conftest.err conftest.$ac_objext \
71246 conftest$ac_exeext conftest.$ac_ext
71247
71248 fi
71249
71250 fi
71251 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_link" >&5
71252 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_link" >&6
71253
71254 if test x$glibcxx_cv_func___builtin_sqrtf_link = x"yes"; then
71255
71256 cat >>confdefs.h <<\_ACEOF
71257 #define HAVE___BUILTIN_SQRTF 1
71258 _ACEOF
71259
71260 fi
71261
71262 fi
71263
71264
71265 echo "$as_me:$LINENO: checking for __builtin_sqrt declaration" >&5
71266 echo $ECHO_N "checking for __builtin_sqrt declaration... $ECHO_C" >&6
71267 if test x${glibcxx_cv_func___builtin_sqrt_use+set} != xset; then
71268 if test "${glibcxx_cv_func___builtin_sqrt_use+set}" = set; then
71269 echo $ECHO_N "(cached) $ECHO_C" >&6
71270 else
71271
71272
71273
71274 ac_ext=cc
71275 ac_cpp='$CXXCPP $CPPFLAGS'
71276 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71277 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71278 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71279
71280 cat >conftest.$ac_ext <<_ACEOF
71281 /* confdefs.h. */
71282 _ACEOF
71283 cat confdefs.h >>conftest.$ac_ext
71284 cat >>conftest.$ac_ext <<_ACEOF
71285 /* end confdefs.h. */
71286 #include <math.h>
71287 int
71288 main ()
71289 {
71290 __builtin_sqrt(0);
71291 ;
71292 return 0;
71293 }
71294 _ACEOF
71295 rm -f conftest.$ac_objext
71296 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71297 (eval $ac_compile) 2>conftest.er1
71298 ac_status=$?
71299 grep -v '^ *+' conftest.er1 >conftest.err
71300 rm -f conftest.er1
71301 cat conftest.err >&5
71302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71303 (exit $ac_status); } &&
71304 { ac_try='test -z "$ac_cxx_werror_flag"
71305 || test ! -s conftest.err'
71306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71307 (eval $ac_try) 2>&5
71308 ac_status=$?
71309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71310 (exit $ac_status); }; } &&
71311 { ac_try='test -s conftest.$ac_objext'
71312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71313 (eval $ac_try) 2>&5
71314 ac_status=$?
71315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71316 (exit $ac_status); }; }; then
71317 glibcxx_cv_func___builtin_sqrt_use=yes
71318 else
71319 echo "$as_me: failed program was:" >&5
71320 sed 's/^/| /' conftest.$ac_ext >&5
71321
71322 glibcxx_cv_func___builtin_sqrt_use=no
71323 fi
71324 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71325 ac_ext=c
71326 ac_cpp='$CPP $CPPFLAGS'
71327 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71328 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71329 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71330
71331
71332 fi
71333
71334 fi
71335 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_use" >&5
71336 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_use" >&6
71337 if test x$glibcxx_cv_func___builtin_sqrt_use = x"yes"; then
71338 echo "$as_me:$LINENO: checking for __builtin_sqrt linkage" >&5
71339 echo $ECHO_N "checking for __builtin_sqrt linkage... $ECHO_C" >&6
71340 if test x${glibcxx_cv_func___builtin_sqrt_link+set} != xset; then
71341 if test "${glibcxx_cv_func___builtin_sqrt_link+set}" = set; then
71342 echo $ECHO_N "(cached) $ECHO_C" >&6
71343 else
71344
71345 if test x$gcc_no_link = xyes; then
71346 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71347 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71348 { (exit 1); exit 1; }; }
71349 fi
71350 cat >conftest.$ac_ext <<_ACEOF
71351 /* confdefs.h. */
71352 _ACEOF
71353 cat confdefs.h >>conftest.$ac_ext
71354 cat >>conftest.$ac_ext <<_ACEOF
71355 /* end confdefs.h. */
71356 #include <math.h>
71357 int
71358 main ()
71359 {
71360 __builtin_sqrt(0);
71361 ;
71362 return 0;
71363 }
71364 _ACEOF
71365 rm -f conftest.$ac_objext conftest$ac_exeext
71366 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71367 (eval $ac_link) 2>conftest.er1
71368 ac_status=$?
71369 grep -v '^ *+' conftest.er1 >conftest.err
71370 rm -f conftest.er1
71371 cat conftest.err >&5
71372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71373 (exit $ac_status); } &&
71374 { ac_try='test -z "$ac_c_werror_flag"
71375 || test ! -s conftest.err'
71376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71377 (eval $ac_try) 2>&5
71378 ac_status=$?
71379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71380 (exit $ac_status); }; } &&
71381 { ac_try='test -s conftest$ac_exeext'
71382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71383 (eval $ac_try) 2>&5
71384 ac_status=$?
71385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71386 (exit $ac_status); }; }; then
71387 glibcxx_cv_func___builtin_sqrt_link=yes
71388 else
71389 echo "$as_me: failed program was:" >&5
71390 sed 's/^/| /' conftest.$ac_ext >&5
71391
71392 glibcxx_cv_func___builtin_sqrt_link=no
71393 fi
71394 rm -f conftest.err conftest.$ac_objext \
71395 conftest$ac_exeext conftest.$ac_ext
71396
71397 fi
71398
71399 fi
71400 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_link" >&5
71401 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_link" >&6
71402
71403 if test x$glibcxx_cv_func___builtin_sqrt_link = x"yes"; then
71404
71405 cat >>confdefs.h <<\_ACEOF
71406 #define HAVE___BUILTIN_SQRT 1
71407 _ACEOF
71408
71409 fi
71410
71411 fi
71412
71413
71414 echo "$as_me:$LINENO: checking for __builtin_sqrtl declaration" >&5
71415 echo $ECHO_N "checking for __builtin_sqrtl declaration... $ECHO_C" >&6
71416 if test x${glibcxx_cv_func___builtin_sqrtl_use+set} != xset; then
71417 if test "${glibcxx_cv_func___builtin_sqrtl_use+set}" = set; then
71418 echo $ECHO_N "(cached) $ECHO_C" >&6
71419 else
71420
71421
71422
71423 ac_ext=cc
71424 ac_cpp='$CXXCPP $CPPFLAGS'
71425 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71426 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71427 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71428
71429 cat >conftest.$ac_ext <<_ACEOF
71430 /* confdefs.h. */
71431 _ACEOF
71432 cat confdefs.h >>conftest.$ac_ext
71433 cat >>conftest.$ac_ext <<_ACEOF
71434 /* end confdefs.h. */
71435 #include <math.h>
71436 int
71437 main ()
71438 {
71439 __builtin_sqrtl(0);
71440 ;
71441 return 0;
71442 }
71443 _ACEOF
71444 rm -f conftest.$ac_objext
71445 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71446 (eval $ac_compile) 2>conftest.er1
71447 ac_status=$?
71448 grep -v '^ *+' conftest.er1 >conftest.err
71449 rm -f conftest.er1
71450 cat conftest.err >&5
71451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71452 (exit $ac_status); } &&
71453 { ac_try='test -z "$ac_cxx_werror_flag"
71454 || test ! -s conftest.err'
71455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71456 (eval $ac_try) 2>&5
71457 ac_status=$?
71458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71459 (exit $ac_status); }; } &&
71460 { ac_try='test -s conftest.$ac_objext'
71461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71462 (eval $ac_try) 2>&5
71463 ac_status=$?
71464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71465 (exit $ac_status); }; }; then
71466 glibcxx_cv_func___builtin_sqrtl_use=yes
71467 else
71468 echo "$as_me: failed program was:" >&5
71469 sed 's/^/| /' conftest.$ac_ext >&5
71470
71471 glibcxx_cv_func___builtin_sqrtl_use=no
71472 fi
71473 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71474 ac_ext=c
71475 ac_cpp='$CPP $CPPFLAGS'
71476 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71477 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71478 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71479
71480
71481 fi
71482
71483 fi
71484 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_use" >&5
71485 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_use" >&6
71486 if test x$glibcxx_cv_func___builtin_sqrtl_use = x"yes"; then
71487 echo "$as_me:$LINENO: checking for __builtin_sqrtl linkage" >&5
71488 echo $ECHO_N "checking for __builtin_sqrtl linkage... $ECHO_C" >&6
71489 if test x${glibcxx_cv_func___builtin_sqrtl_link+set} != xset; then
71490 if test "${glibcxx_cv_func___builtin_sqrtl_link+set}" = set; then
71491 echo $ECHO_N "(cached) $ECHO_C" >&6
71492 else
71493
71494 if test x$gcc_no_link = xyes; then
71495 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71496 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71497 { (exit 1); exit 1; }; }
71498 fi
71499 cat >conftest.$ac_ext <<_ACEOF
71500 /* confdefs.h. */
71501 _ACEOF
71502 cat confdefs.h >>conftest.$ac_ext
71503 cat >>conftest.$ac_ext <<_ACEOF
71504 /* end confdefs.h. */
71505 #include <math.h>
71506 int
71507 main ()
71508 {
71509 __builtin_sqrtl(0);
71510 ;
71511 return 0;
71512 }
71513 _ACEOF
71514 rm -f conftest.$ac_objext conftest$ac_exeext
71515 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71516 (eval $ac_link) 2>conftest.er1
71517 ac_status=$?
71518 grep -v '^ *+' conftest.er1 >conftest.err
71519 rm -f conftest.er1
71520 cat conftest.err >&5
71521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71522 (exit $ac_status); } &&
71523 { ac_try='test -z "$ac_c_werror_flag"
71524 || test ! -s conftest.err'
71525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71526 (eval $ac_try) 2>&5
71527 ac_status=$?
71528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71529 (exit $ac_status); }; } &&
71530 { ac_try='test -s conftest$ac_exeext'
71531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71532 (eval $ac_try) 2>&5
71533 ac_status=$?
71534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71535 (exit $ac_status); }; }; then
71536 glibcxx_cv_func___builtin_sqrtl_link=yes
71537 else
71538 echo "$as_me: failed program was:" >&5
71539 sed 's/^/| /' conftest.$ac_ext >&5
71540
71541 glibcxx_cv_func___builtin_sqrtl_link=no
71542 fi
71543 rm -f conftest.err conftest.$ac_objext \
71544 conftest$ac_exeext conftest.$ac_ext
71545
71546 fi
71547
71548 fi
71549 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_link" >&5
71550 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_link" >&6
71551
71552 if test x$glibcxx_cv_func___builtin_sqrtl_link = x"yes"; then
71553
71554 cat >>confdefs.h <<\_ACEOF
71555 #define HAVE___BUILTIN_SQRTL 1
71556 _ACEOF
71557
71558 fi
71559
71560 fi
71561
71562
71563
71564 echo "$as_me:$LINENO: checking for __builtin_sinf declaration" >&5
71565 echo $ECHO_N "checking for __builtin_sinf declaration... $ECHO_C" >&6
71566 if test x${glibcxx_cv_func___builtin_sinf_use+set} != xset; then
71567 if test "${glibcxx_cv_func___builtin_sinf_use+set}" = set; then
71568 echo $ECHO_N "(cached) $ECHO_C" >&6
71569 else
71570
71571
71572
71573 ac_ext=cc
71574 ac_cpp='$CXXCPP $CPPFLAGS'
71575 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71576 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71577 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71578
71579 cat >conftest.$ac_ext <<_ACEOF
71580 /* confdefs.h. */
71581 _ACEOF
71582 cat confdefs.h >>conftest.$ac_ext
71583 cat >>conftest.$ac_ext <<_ACEOF
71584 /* end confdefs.h. */
71585 #include <math.h>
71586 int
71587 main ()
71588 {
71589 __builtin_sinf(0);
71590 ;
71591 return 0;
71592 }
71593 _ACEOF
71594 rm -f conftest.$ac_objext
71595 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71596 (eval $ac_compile) 2>conftest.er1
71597 ac_status=$?
71598 grep -v '^ *+' conftest.er1 >conftest.err
71599 rm -f conftest.er1
71600 cat conftest.err >&5
71601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71602 (exit $ac_status); } &&
71603 { ac_try='test -z "$ac_cxx_werror_flag"
71604 || test ! -s conftest.err'
71605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71606 (eval $ac_try) 2>&5
71607 ac_status=$?
71608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71609 (exit $ac_status); }; } &&
71610 { ac_try='test -s conftest.$ac_objext'
71611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71612 (eval $ac_try) 2>&5
71613 ac_status=$?
71614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71615 (exit $ac_status); }; }; then
71616 glibcxx_cv_func___builtin_sinf_use=yes
71617 else
71618 echo "$as_me: failed program was:" >&5
71619 sed 's/^/| /' conftest.$ac_ext >&5
71620
71621 glibcxx_cv_func___builtin_sinf_use=no
71622 fi
71623 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71624 ac_ext=c
71625 ac_cpp='$CPP $CPPFLAGS'
71626 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71627 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71628 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71629
71630
71631 fi
71632
71633 fi
71634 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_use" >&5
71635 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_use" >&6
71636 if test x$glibcxx_cv_func___builtin_sinf_use = x"yes"; then
71637 echo "$as_me:$LINENO: checking for __builtin_sinf linkage" >&5
71638 echo $ECHO_N "checking for __builtin_sinf linkage... $ECHO_C" >&6
71639 if test x${glibcxx_cv_func___builtin_sinf_link+set} != xset; then
71640 if test "${glibcxx_cv_func___builtin_sinf_link+set}" = set; then
71641 echo $ECHO_N "(cached) $ECHO_C" >&6
71642 else
71643
71644 if test x$gcc_no_link = xyes; then
71645 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71646 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71647 { (exit 1); exit 1; }; }
71648 fi
71649 cat >conftest.$ac_ext <<_ACEOF
71650 /* confdefs.h. */
71651 _ACEOF
71652 cat confdefs.h >>conftest.$ac_ext
71653 cat >>conftest.$ac_ext <<_ACEOF
71654 /* end confdefs.h. */
71655 #include <math.h>
71656 int
71657 main ()
71658 {
71659 __builtin_sinf(0);
71660 ;
71661 return 0;
71662 }
71663 _ACEOF
71664 rm -f conftest.$ac_objext conftest$ac_exeext
71665 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71666 (eval $ac_link) 2>conftest.er1
71667 ac_status=$?
71668 grep -v '^ *+' conftest.er1 >conftest.err
71669 rm -f conftest.er1
71670 cat conftest.err >&5
71671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71672 (exit $ac_status); } &&
71673 { ac_try='test -z "$ac_c_werror_flag"
71674 || test ! -s conftest.err'
71675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71676 (eval $ac_try) 2>&5
71677 ac_status=$?
71678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71679 (exit $ac_status); }; } &&
71680 { ac_try='test -s conftest$ac_exeext'
71681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71682 (eval $ac_try) 2>&5
71683 ac_status=$?
71684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71685 (exit $ac_status); }; }; then
71686 glibcxx_cv_func___builtin_sinf_link=yes
71687 else
71688 echo "$as_me: failed program was:" >&5
71689 sed 's/^/| /' conftest.$ac_ext >&5
71690
71691 glibcxx_cv_func___builtin_sinf_link=no
71692 fi
71693 rm -f conftest.err conftest.$ac_objext \
71694 conftest$ac_exeext conftest.$ac_ext
71695
71696 fi
71697
71698 fi
71699 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_link" >&5
71700 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_link" >&6
71701
71702 if test x$glibcxx_cv_func___builtin_sinf_link = x"yes"; then
71703
71704 cat >>confdefs.h <<\_ACEOF
71705 #define HAVE___BUILTIN_SINF 1
71706 _ACEOF
71707
71708 fi
71709
71710 fi
71711
71712
71713 echo "$as_me:$LINENO: checking for __builtin_sin declaration" >&5
71714 echo $ECHO_N "checking for __builtin_sin declaration... $ECHO_C" >&6
71715 if test x${glibcxx_cv_func___builtin_sin_use+set} != xset; then
71716 if test "${glibcxx_cv_func___builtin_sin_use+set}" = set; then
71717 echo $ECHO_N "(cached) $ECHO_C" >&6
71718 else
71719
71720
71721
71722 ac_ext=cc
71723 ac_cpp='$CXXCPP $CPPFLAGS'
71724 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71725 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71726 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71727
71728 cat >conftest.$ac_ext <<_ACEOF
71729 /* confdefs.h. */
71730 _ACEOF
71731 cat confdefs.h >>conftest.$ac_ext
71732 cat >>conftest.$ac_ext <<_ACEOF
71733 /* end confdefs.h. */
71734 #include <math.h>
71735 int
71736 main ()
71737 {
71738 __builtin_sin(0);
71739 ;
71740 return 0;
71741 }
71742 _ACEOF
71743 rm -f conftest.$ac_objext
71744 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71745 (eval $ac_compile) 2>conftest.er1
71746 ac_status=$?
71747 grep -v '^ *+' conftest.er1 >conftest.err
71748 rm -f conftest.er1
71749 cat conftest.err >&5
71750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71751 (exit $ac_status); } &&
71752 { ac_try='test -z "$ac_cxx_werror_flag"
71753 || test ! -s conftest.err'
71754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71755 (eval $ac_try) 2>&5
71756 ac_status=$?
71757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71758 (exit $ac_status); }; } &&
71759 { ac_try='test -s conftest.$ac_objext'
71760 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71761 (eval $ac_try) 2>&5
71762 ac_status=$?
71763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71764 (exit $ac_status); }; }; then
71765 glibcxx_cv_func___builtin_sin_use=yes
71766 else
71767 echo "$as_me: failed program was:" >&5
71768 sed 's/^/| /' conftest.$ac_ext >&5
71769
71770 glibcxx_cv_func___builtin_sin_use=no
71771 fi
71772 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71773 ac_ext=c
71774 ac_cpp='$CPP $CPPFLAGS'
71775 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71776 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71777 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71778
71779
71780 fi
71781
71782 fi
71783 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_use" >&5
71784 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_use" >&6
71785 if test x$glibcxx_cv_func___builtin_sin_use = x"yes"; then
71786 echo "$as_me:$LINENO: checking for __builtin_sin linkage" >&5
71787 echo $ECHO_N "checking for __builtin_sin linkage... $ECHO_C" >&6
71788 if test x${glibcxx_cv_func___builtin_sin_link+set} != xset; then
71789 if test "${glibcxx_cv_func___builtin_sin_link+set}" = set; then
71790 echo $ECHO_N "(cached) $ECHO_C" >&6
71791 else
71792
71793 if test x$gcc_no_link = xyes; then
71794 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71795 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71796 { (exit 1); exit 1; }; }
71797 fi
71798 cat >conftest.$ac_ext <<_ACEOF
71799 /* confdefs.h. */
71800 _ACEOF
71801 cat confdefs.h >>conftest.$ac_ext
71802 cat >>conftest.$ac_ext <<_ACEOF
71803 /* end confdefs.h. */
71804 #include <math.h>
71805 int
71806 main ()
71807 {
71808 __builtin_sin(0);
71809 ;
71810 return 0;
71811 }
71812 _ACEOF
71813 rm -f conftest.$ac_objext conftest$ac_exeext
71814 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71815 (eval $ac_link) 2>conftest.er1
71816 ac_status=$?
71817 grep -v '^ *+' conftest.er1 >conftest.err
71818 rm -f conftest.er1
71819 cat conftest.err >&5
71820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71821 (exit $ac_status); } &&
71822 { ac_try='test -z "$ac_c_werror_flag"
71823 || test ! -s conftest.err'
71824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71825 (eval $ac_try) 2>&5
71826 ac_status=$?
71827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71828 (exit $ac_status); }; } &&
71829 { ac_try='test -s conftest$ac_exeext'
71830 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71831 (eval $ac_try) 2>&5
71832 ac_status=$?
71833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71834 (exit $ac_status); }; }; then
71835 glibcxx_cv_func___builtin_sin_link=yes
71836 else
71837 echo "$as_me: failed program was:" >&5
71838 sed 's/^/| /' conftest.$ac_ext >&5
71839
71840 glibcxx_cv_func___builtin_sin_link=no
71841 fi
71842 rm -f conftest.err conftest.$ac_objext \
71843 conftest$ac_exeext conftest.$ac_ext
71844
71845 fi
71846
71847 fi
71848 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_link" >&5
71849 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_link" >&6
71850
71851 if test x$glibcxx_cv_func___builtin_sin_link = x"yes"; then
71852
71853 cat >>confdefs.h <<\_ACEOF
71854 #define HAVE___BUILTIN_SIN 1
71855 _ACEOF
71856
71857 fi
71858
71859 fi
71860
71861
71862 echo "$as_me:$LINENO: checking for __builtin_sinl declaration" >&5
71863 echo $ECHO_N "checking for __builtin_sinl declaration... $ECHO_C" >&6
71864 if test x${glibcxx_cv_func___builtin_sinl_use+set} != xset; then
71865 if test "${glibcxx_cv_func___builtin_sinl_use+set}" = set; then
71866 echo $ECHO_N "(cached) $ECHO_C" >&6
71867 else
71868
71869
71870
71871 ac_ext=cc
71872 ac_cpp='$CXXCPP $CPPFLAGS'
71873 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71874 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71875 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71876
71877 cat >conftest.$ac_ext <<_ACEOF
71878 /* confdefs.h. */
71879 _ACEOF
71880 cat confdefs.h >>conftest.$ac_ext
71881 cat >>conftest.$ac_ext <<_ACEOF
71882 /* end confdefs.h. */
71883 #include <math.h>
71884 int
71885 main ()
71886 {
71887 __builtin_sinl(0);
71888 ;
71889 return 0;
71890 }
71891 _ACEOF
71892 rm -f conftest.$ac_objext
71893 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71894 (eval $ac_compile) 2>conftest.er1
71895 ac_status=$?
71896 grep -v '^ *+' conftest.er1 >conftest.err
71897 rm -f conftest.er1
71898 cat conftest.err >&5
71899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71900 (exit $ac_status); } &&
71901 { ac_try='test -z "$ac_cxx_werror_flag"
71902 || test ! -s conftest.err'
71903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71904 (eval $ac_try) 2>&5
71905 ac_status=$?
71906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71907 (exit $ac_status); }; } &&
71908 { ac_try='test -s conftest.$ac_objext'
71909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71910 (eval $ac_try) 2>&5
71911 ac_status=$?
71912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71913 (exit $ac_status); }; }; then
71914 glibcxx_cv_func___builtin_sinl_use=yes
71915 else
71916 echo "$as_me: failed program was:" >&5
71917 sed 's/^/| /' conftest.$ac_ext >&5
71918
71919 glibcxx_cv_func___builtin_sinl_use=no
71920 fi
71921 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71922 ac_ext=c
71923 ac_cpp='$CPP $CPPFLAGS'
71924 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71925 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71926 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71927
71928
71929 fi
71930
71931 fi
71932 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_use" >&5
71933 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_use" >&6
71934 if test x$glibcxx_cv_func___builtin_sinl_use = x"yes"; then
71935 echo "$as_me:$LINENO: checking for __builtin_sinl linkage" >&5
71936 echo $ECHO_N "checking for __builtin_sinl linkage... $ECHO_C" >&6
71937 if test x${glibcxx_cv_func___builtin_sinl_link+set} != xset; then
71938 if test "${glibcxx_cv_func___builtin_sinl_link+set}" = set; then
71939 echo $ECHO_N "(cached) $ECHO_C" >&6
71940 else
71941
71942 if test x$gcc_no_link = xyes; then
71943 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71944 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71945 { (exit 1); exit 1; }; }
71946 fi
71947 cat >conftest.$ac_ext <<_ACEOF
71948 /* confdefs.h. */
71949 _ACEOF
71950 cat confdefs.h >>conftest.$ac_ext
71951 cat >>conftest.$ac_ext <<_ACEOF
71952 /* end confdefs.h. */
71953 #include <math.h>
71954 int
71955 main ()
71956 {
71957 __builtin_sinl(0);
71958 ;
71959 return 0;
71960 }
71961 _ACEOF
71962 rm -f conftest.$ac_objext conftest$ac_exeext
71963 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71964 (eval $ac_link) 2>conftest.er1
71965 ac_status=$?
71966 grep -v '^ *+' conftest.er1 >conftest.err
71967 rm -f conftest.er1
71968 cat conftest.err >&5
71969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71970 (exit $ac_status); } &&
71971 { ac_try='test -z "$ac_c_werror_flag"
71972 || test ! -s conftest.err'
71973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71974 (eval $ac_try) 2>&5
71975 ac_status=$?
71976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71977 (exit $ac_status); }; } &&
71978 { ac_try='test -s conftest$ac_exeext'
71979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71980 (eval $ac_try) 2>&5
71981 ac_status=$?
71982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71983 (exit $ac_status); }; }; then
71984 glibcxx_cv_func___builtin_sinl_link=yes
71985 else
71986 echo "$as_me: failed program was:" >&5
71987 sed 's/^/| /' conftest.$ac_ext >&5
71988
71989 glibcxx_cv_func___builtin_sinl_link=no
71990 fi
71991 rm -f conftest.err conftest.$ac_objext \
71992 conftest$ac_exeext conftest.$ac_ext
71993
71994 fi
71995
71996 fi
71997 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_link" >&5
71998 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_link" >&6
71999
72000 if test x$glibcxx_cv_func___builtin_sinl_link = x"yes"; then
72001
72002 cat >>confdefs.h <<\_ACEOF
72003 #define HAVE___BUILTIN_SINL 1
72004 _ACEOF
72005
72006 fi
72007
72008 fi
72009
72010
72011
72012 echo "$as_me:$LINENO: checking for __builtin_cosf declaration" >&5
72013 echo $ECHO_N "checking for __builtin_cosf declaration... $ECHO_C" >&6
72014 if test x${glibcxx_cv_func___builtin_cosf_use+set} != xset; then
72015 if test "${glibcxx_cv_func___builtin_cosf_use+set}" = set; then
72016 echo $ECHO_N "(cached) $ECHO_C" >&6
72017 else
72018
72019
72020
72021 ac_ext=cc
72022 ac_cpp='$CXXCPP $CPPFLAGS'
72023 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72024 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72025 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72026
72027 cat >conftest.$ac_ext <<_ACEOF
72028 /* confdefs.h. */
72029 _ACEOF
72030 cat confdefs.h >>conftest.$ac_ext
72031 cat >>conftest.$ac_ext <<_ACEOF
72032 /* end confdefs.h. */
72033 #include <math.h>
72034 int
72035 main ()
72036 {
72037 __builtin_cosf(0);
72038 ;
72039 return 0;
72040 }
72041 _ACEOF
72042 rm -f conftest.$ac_objext
72043 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72044 (eval $ac_compile) 2>conftest.er1
72045 ac_status=$?
72046 grep -v '^ *+' conftest.er1 >conftest.err
72047 rm -f conftest.er1
72048 cat conftest.err >&5
72049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72050 (exit $ac_status); } &&
72051 { ac_try='test -z "$ac_cxx_werror_flag"
72052 || test ! -s conftest.err'
72053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72054 (eval $ac_try) 2>&5
72055 ac_status=$?
72056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72057 (exit $ac_status); }; } &&
72058 { ac_try='test -s conftest.$ac_objext'
72059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72060 (eval $ac_try) 2>&5
72061 ac_status=$?
72062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72063 (exit $ac_status); }; }; then
72064 glibcxx_cv_func___builtin_cosf_use=yes
72065 else
72066 echo "$as_me: failed program was:" >&5
72067 sed 's/^/| /' conftest.$ac_ext >&5
72068
72069 glibcxx_cv_func___builtin_cosf_use=no
72070 fi
72071 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72072 ac_ext=c
72073 ac_cpp='$CPP $CPPFLAGS'
72074 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72075 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72076 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72077
72078
72079 fi
72080
72081 fi
72082 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_use" >&5
72083 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_use" >&6
72084 if test x$glibcxx_cv_func___builtin_cosf_use = x"yes"; then
72085 echo "$as_me:$LINENO: checking for __builtin_cosf linkage" >&5
72086 echo $ECHO_N "checking for __builtin_cosf linkage... $ECHO_C" >&6
72087 if test x${glibcxx_cv_func___builtin_cosf_link+set} != xset; then
72088 if test "${glibcxx_cv_func___builtin_cosf_link+set}" = set; then
72089 echo $ECHO_N "(cached) $ECHO_C" >&6
72090 else
72091
72092 if test x$gcc_no_link = xyes; then
72093 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72094 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72095 { (exit 1); exit 1; }; }
72096 fi
72097 cat >conftest.$ac_ext <<_ACEOF
72098 /* confdefs.h. */
72099 _ACEOF
72100 cat confdefs.h >>conftest.$ac_ext
72101 cat >>conftest.$ac_ext <<_ACEOF
72102 /* end confdefs.h. */
72103 #include <math.h>
72104 int
72105 main ()
72106 {
72107 __builtin_cosf(0);
72108 ;
72109 return 0;
72110 }
72111 _ACEOF
72112 rm -f conftest.$ac_objext conftest$ac_exeext
72113 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72114 (eval $ac_link) 2>conftest.er1
72115 ac_status=$?
72116 grep -v '^ *+' conftest.er1 >conftest.err
72117 rm -f conftest.er1
72118 cat conftest.err >&5
72119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72120 (exit $ac_status); } &&
72121 { ac_try='test -z "$ac_c_werror_flag"
72122 || test ! -s conftest.err'
72123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72124 (eval $ac_try) 2>&5
72125 ac_status=$?
72126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72127 (exit $ac_status); }; } &&
72128 { ac_try='test -s conftest$ac_exeext'
72129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72130 (eval $ac_try) 2>&5
72131 ac_status=$?
72132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72133 (exit $ac_status); }; }; then
72134 glibcxx_cv_func___builtin_cosf_link=yes
72135 else
72136 echo "$as_me: failed program was:" >&5
72137 sed 's/^/| /' conftest.$ac_ext >&5
72138
72139 glibcxx_cv_func___builtin_cosf_link=no
72140 fi
72141 rm -f conftest.err conftest.$ac_objext \
72142 conftest$ac_exeext conftest.$ac_ext
72143
72144 fi
72145
72146 fi
72147 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_link" >&5
72148 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_link" >&6
72149
72150 if test x$glibcxx_cv_func___builtin_cosf_link = x"yes"; then
72151
72152 cat >>confdefs.h <<\_ACEOF
72153 #define HAVE___BUILTIN_COSF 1
72154 _ACEOF
72155
72156 fi
72157
72158 fi
72159
72160
72161 echo "$as_me:$LINENO: checking for __builtin_cos declaration" >&5
72162 echo $ECHO_N "checking for __builtin_cos declaration... $ECHO_C" >&6
72163 if test x${glibcxx_cv_func___builtin_cos_use+set} != xset; then
72164 if test "${glibcxx_cv_func___builtin_cos_use+set}" = set; then
72165 echo $ECHO_N "(cached) $ECHO_C" >&6
72166 else
72167
72168
72169
72170 ac_ext=cc
72171 ac_cpp='$CXXCPP $CPPFLAGS'
72172 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72173 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72174 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72175
72176 cat >conftest.$ac_ext <<_ACEOF
72177 /* confdefs.h. */
72178 _ACEOF
72179 cat confdefs.h >>conftest.$ac_ext
72180 cat >>conftest.$ac_ext <<_ACEOF
72181 /* end confdefs.h. */
72182 #include <math.h>
72183 int
72184 main ()
72185 {
72186 __builtin_cos(0);
72187 ;
72188 return 0;
72189 }
72190 _ACEOF
72191 rm -f conftest.$ac_objext
72192 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72193 (eval $ac_compile) 2>conftest.er1
72194 ac_status=$?
72195 grep -v '^ *+' conftest.er1 >conftest.err
72196 rm -f conftest.er1
72197 cat conftest.err >&5
72198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72199 (exit $ac_status); } &&
72200 { ac_try='test -z "$ac_cxx_werror_flag"
72201 || test ! -s conftest.err'
72202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72203 (eval $ac_try) 2>&5
72204 ac_status=$?
72205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72206 (exit $ac_status); }; } &&
72207 { ac_try='test -s conftest.$ac_objext'
72208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72209 (eval $ac_try) 2>&5
72210 ac_status=$?
72211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72212 (exit $ac_status); }; }; then
72213 glibcxx_cv_func___builtin_cos_use=yes
72214 else
72215 echo "$as_me: failed program was:" >&5
72216 sed 's/^/| /' conftest.$ac_ext >&5
72217
72218 glibcxx_cv_func___builtin_cos_use=no
72219 fi
72220 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72221 ac_ext=c
72222 ac_cpp='$CPP $CPPFLAGS'
72223 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72224 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72225 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72226
72227
72228 fi
72229
72230 fi
72231 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_use" >&5
72232 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_use" >&6
72233 if test x$glibcxx_cv_func___builtin_cos_use = x"yes"; then
72234 echo "$as_me:$LINENO: checking for __builtin_cos linkage" >&5
72235 echo $ECHO_N "checking for __builtin_cos linkage... $ECHO_C" >&6
72236 if test x${glibcxx_cv_func___builtin_cos_link+set} != xset; then
72237 if test "${glibcxx_cv_func___builtin_cos_link+set}" = set; then
72238 echo $ECHO_N "(cached) $ECHO_C" >&6
72239 else
72240
72241 if test x$gcc_no_link = xyes; then
72242 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72243 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72244 { (exit 1); exit 1; }; }
72245 fi
72246 cat >conftest.$ac_ext <<_ACEOF
72247 /* confdefs.h. */
72248 _ACEOF
72249 cat confdefs.h >>conftest.$ac_ext
72250 cat >>conftest.$ac_ext <<_ACEOF
72251 /* end confdefs.h. */
72252 #include <math.h>
72253 int
72254 main ()
72255 {
72256 __builtin_cos(0);
72257 ;
72258 return 0;
72259 }
72260 _ACEOF
72261 rm -f conftest.$ac_objext conftest$ac_exeext
72262 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72263 (eval $ac_link) 2>conftest.er1
72264 ac_status=$?
72265 grep -v '^ *+' conftest.er1 >conftest.err
72266 rm -f conftest.er1
72267 cat conftest.err >&5
72268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72269 (exit $ac_status); } &&
72270 { ac_try='test -z "$ac_c_werror_flag"
72271 || test ! -s conftest.err'
72272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72273 (eval $ac_try) 2>&5
72274 ac_status=$?
72275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72276 (exit $ac_status); }; } &&
72277 { ac_try='test -s conftest$ac_exeext'
72278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72279 (eval $ac_try) 2>&5
72280 ac_status=$?
72281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72282 (exit $ac_status); }; }; then
72283 glibcxx_cv_func___builtin_cos_link=yes
72284 else
72285 echo "$as_me: failed program was:" >&5
72286 sed 's/^/| /' conftest.$ac_ext >&5
72287
72288 glibcxx_cv_func___builtin_cos_link=no
72289 fi
72290 rm -f conftest.err conftest.$ac_objext \
72291 conftest$ac_exeext conftest.$ac_ext
72292
72293 fi
72294
72295 fi
72296 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_link" >&5
72297 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_link" >&6
72298
72299 if test x$glibcxx_cv_func___builtin_cos_link = x"yes"; then
72300
72301 cat >>confdefs.h <<\_ACEOF
72302 #define HAVE___BUILTIN_COS 1
72303 _ACEOF
72304
72305 fi
72306
72307 fi
72308
72309
72310 echo "$as_me:$LINENO: checking for __builtin_cosl declaration" >&5
72311 echo $ECHO_N "checking for __builtin_cosl declaration... $ECHO_C" >&6
72312 if test x${glibcxx_cv_func___builtin_cosl_use+set} != xset; then
72313 if test "${glibcxx_cv_func___builtin_cosl_use+set}" = set; then
72314 echo $ECHO_N "(cached) $ECHO_C" >&6
72315 else
72316
72317
72318
72319 ac_ext=cc
72320 ac_cpp='$CXXCPP $CPPFLAGS'
72321 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72322 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72323 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72324
72325 cat >conftest.$ac_ext <<_ACEOF
72326 /* confdefs.h. */
72327 _ACEOF
72328 cat confdefs.h >>conftest.$ac_ext
72329 cat >>conftest.$ac_ext <<_ACEOF
72330 /* end confdefs.h. */
72331 #include <math.h>
72332 int
72333 main ()
72334 {
72335 __builtin_cosl(0);
72336 ;
72337 return 0;
72338 }
72339 _ACEOF
72340 rm -f conftest.$ac_objext
72341 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72342 (eval $ac_compile) 2>conftest.er1
72343 ac_status=$?
72344 grep -v '^ *+' conftest.er1 >conftest.err
72345 rm -f conftest.er1
72346 cat conftest.err >&5
72347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72348 (exit $ac_status); } &&
72349 { ac_try='test -z "$ac_cxx_werror_flag"
72350 || test ! -s conftest.err'
72351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72352 (eval $ac_try) 2>&5
72353 ac_status=$?
72354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72355 (exit $ac_status); }; } &&
72356 { ac_try='test -s conftest.$ac_objext'
72357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72358 (eval $ac_try) 2>&5
72359 ac_status=$?
72360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72361 (exit $ac_status); }; }; then
72362 glibcxx_cv_func___builtin_cosl_use=yes
72363 else
72364 echo "$as_me: failed program was:" >&5
72365 sed 's/^/| /' conftest.$ac_ext >&5
72366
72367 glibcxx_cv_func___builtin_cosl_use=no
72368 fi
72369 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72370 ac_ext=c
72371 ac_cpp='$CPP $CPPFLAGS'
72372 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72373 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72374 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72375
72376
72377 fi
72378
72379 fi
72380 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_use" >&5
72381 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_use" >&6
72382 if test x$glibcxx_cv_func___builtin_cosl_use = x"yes"; then
72383 echo "$as_me:$LINENO: checking for __builtin_cosl linkage" >&5
72384 echo $ECHO_N "checking for __builtin_cosl linkage... $ECHO_C" >&6
72385 if test x${glibcxx_cv_func___builtin_cosl_link+set} != xset; then
72386 if test "${glibcxx_cv_func___builtin_cosl_link+set}" = set; then
72387 echo $ECHO_N "(cached) $ECHO_C" >&6
72388 else
72389
72390 if test x$gcc_no_link = xyes; then
72391 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72392 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72393 { (exit 1); exit 1; }; }
72394 fi
72395 cat >conftest.$ac_ext <<_ACEOF
72396 /* confdefs.h. */
72397 _ACEOF
72398 cat confdefs.h >>conftest.$ac_ext
72399 cat >>conftest.$ac_ext <<_ACEOF
72400 /* end confdefs.h. */
72401 #include <math.h>
72402 int
72403 main ()
72404 {
72405 __builtin_cosl(0);
72406 ;
72407 return 0;
72408 }
72409 _ACEOF
72410 rm -f conftest.$ac_objext conftest$ac_exeext
72411 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72412 (eval $ac_link) 2>conftest.er1
72413 ac_status=$?
72414 grep -v '^ *+' conftest.er1 >conftest.err
72415 rm -f conftest.er1
72416 cat conftest.err >&5
72417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72418 (exit $ac_status); } &&
72419 { ac_try='test -z "$ac_c_werror_flag"
72420 || test ! -s conftest.err'
72421 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72422 (eval $ac_try) 2>&5
72423 ac_status=$?
72424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72425 (exit $ac_status); }; } &&
72426 { ac_try='test -s conftest$ac_exeext'
72427 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72428 (eval $ac_try) 2>&5
72429 ac_status=$?
72430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72431 (exit $ac_status); }; }; then
72432 glibcxx_cv_func___builtin_cosl_link=yes
72433 else
72434 echo "$as_me: failed program was:" >&5
72435 sed 's/^/| /' conftest.$ac_ext >&5
72436
72437 glibcxx_cv_func___builtin_cosl_link=no
72438 fi
72439 rm -f conftest.err conftest.$ac_objext \
72440 conftest$ac_exeext conftest.$ac_ext
72441
72442 fi
72443
72444 fi
72445 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_link" >&5
72446 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_link" >&6
72447
72448 if test x$glibcxx_cv_func___builtin_cosl_link = x"yes"; then
72449
72450 cat >>confdefs.h <<\_ACEOF
72451 #define HAVE___BUILTIN_COSL 1
72452 _ACEOF
72453
72454 fi
72455
72456 fi
72457
72458
72459
72460
72461 echo "$as_me:$LINENO: checking for main in -lm" >&5
72462 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
72463 if test "${ac_cv_lib_m_main+set}" = set; then
72464 echo $ECHO_N "(cached) $ECHO_C" >&6
72465 else
72466 ac_check_lib_save_LIBS=$LIBS
72467 LIBS="-lm $LIBS"
72468 if test x$gcc_no_link = xyes; then
72469 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72470 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72471 { (exit 1); exit 1; }; }
72472 fi
72473 cat >conftest.$ac_ext <<_ACEOF
72474 /* confdefs.h. */
72475 _ACEOF
72476 cat confdefs.h >>conftest.$ac_ext
72477 cat >>conftest.$ac_ext <<_ACEOF
72478 /* end confdefs.h. */
72479
72480
72481 int
72482 main ()
72483 {
72484 main ();
72485 ;
72486 return 0;
72487 }
72488 _ACEOF
72489 rm -f conftest.$ac_objext conftest$ac_exeext
72490 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72491 (eval $ac_link) 2>conftest.er1
72492 ac_status=$?
72493 grep -v '^ *+' conftest.er1 >conftest.err
72494 rm -f conftest.er1
72495 cat conftest.err >&5
72496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72497 (exit $ac_status); } &&
72498 { ac_try='test -z "$ac_c_werror_flag"
72499 || test ! -s conftest.err'
72500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72501 (eval $ac_try) 2>&5
72502 ac_status=$?
72503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72504 (exit $ac_status); }; } &&
72505 { ac_try='test -s conftest$ac_exeext'
72506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72507 (eval $ac_try) 2>&5
72508 ac_status=$?
72509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72510 (exit $ac_status); }; }; then
72511 ac_cv_lib_m_main=yes
72512 else
72513 echo "$as_me: failed program was:" >&5
72514 sed 's/^/| /' conftest.$ac_ext >&5
72515
72516 ac_cv_lib_m_main=no
72517 fi
72518 rm -f conftest.err conftest.$ac_objext \
72519 conftest$ac_exeext conftest.$ac_ext
72520 LIBS=$ac_check_lib_save_LIBS
72521 fi
72522 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
72523 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
72524 if test $ac_cv_lib_m_main = yes; then
72525 cat >>confdefs.h <<_ACEOF
72526 #define HAVE_LIBM 1
72527 _ACEOF
72528
72529 LIBS="-lm $LIBS"
72530
72531 fi
72532
72533
72534 for ac_func in copysignf
72535 do
72536 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
72537 echo "$as_me:$LINENO: checking for $ac_func" >&5
72538 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
72539 if eval "test \"\${$as_ac_var+set}\" = set"; then
72540 echo $ECHO_N "(cached) $ECHO_C" >&6
72541 else
72542 if test x$gcc_no_link = xyes; then
72543 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72544 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72545 { (exit 1); exit 1; }; }
72546 fi
72547 cat >conftest.$ac_ext <<_ACEOF
72548 /* confdefs.h. */
72549 _ACEOF
72550 cat confdefs.h >>conftest.$ac_ext
72551 cat >>conftest.$ac_ext <<_ACEOF
72552 /* end confdefs.h. */
72553 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
72554 For example, HP-UX 11i <limits.h> declares gettimeofday. */
72555 #define $ac_func innocuous_$ac_func
72556
72557 /* System header to define __stub macros and hopefully few prototypes,
72558 which can conflict with char $ac_func (); below.
72559 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
72560 <limits.h> exists even on freestanding compilers. */
72561
72562 #ifdef __STDC__
72563 # include <limits.h>
72564 #else
72565 # include <assert.h>
72566 #endif
72567
72568 #undef $ac_func
72569
72570 /* Override any gcc2 internal prototype to avoid an error. */
72571 #ifdef __cplusplus
72572 extern "C"
72573 {
72574 #endif
72575 /* We use char because int might match the return type of a gcc2
72576 builtin and then its argument prototype would still apply. */
72577 char $ac_func ();
72578 /* The GNU C library defines this for functions which it implements
72579 to always fail with ENOSYS. Some functions are actually named
72580 something starting with __ and the normal name is an alias. */
72581 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
72582 choke me
72583 #else
72584 char (*f) () = $ac_func;
72585 #endif
72586 #ifdef __cplusplus
72587 }
72588 #endif
72589
72590 int
72591 main ()
72592 {
72593 return f != $ac_func;
72594 ;
72595 return 0;
72596 }
72597 _ACEOF
72598 rm -f conftest.$ac_objext conftest$ac_exeext
72599 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72600 (eval $ac_link) 2>conftest.er1
72601 ac_status=$?
72602 grep -v '^ *+' conftest.er1 >conftest.err
72603 rm -f conftest.er1
72604 cat conftest.err >&5
72605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72606 (exit $ac_status); } &&
72607 { ac_try='test -z "$ac_c_werror_flag"
72608 || test ! -s conftest.err'
72609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72610 (eval $ac_try) 2>&5
72611 ac_status=$?
72612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72613 (exit $ac_status); }; } &&
72614 { ac_try='test -s conftest$ac_exeext'
72615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72616 (eval $ac_try) 2>&5
72617 ac_status=$?
72618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72619 (exit $ac_status); }; }; then
72620 eval "$as_ac_var=yes"
72621 else
72622 echo "$as_me: failed program was:" >&5
72623 sed 's/^/| /' conftest.$ac_ext >&5
72624
72625 eval "$as_ac_var=no"
72626 fi
72627 rm -f conftest.err conftest.$ac_objext \
72628 conftest$ac_exeext conftest.$ac_ext
72629 fi
72630 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
72631 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
72632 if test `eval echo '${'$as_ac_var'}'` = yes; then
72633 cat >>confdefs.h <<_ACEOF
72634 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
72635 _ACEOF
72636
72637 else
72638 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
72639 fi
72640 done
72641
72642
72643
72644 for ac_func in __signbit
72645 do
72646 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
72647 echo "$as_me:$LINENO: checking for $ac_func" >&5
72648 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
72649 if eval "test \"\${$as_ac_var+set}\" = set"; then
72650 echo $ECHO_N "(cached) $ECHO_C" >&6
72651 else
72652 if test x$gcc_no_link = xyes; then
72653 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72654 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72655 { (exit 1); exit 1; }; }
72656 fi
72657 cat >conftest.$ac_ext <<_ACEOF
72658 /* confdefs.h. */
72659 _ACEOF
72660 cat confdefs.h >>conftest.$ac_ext
72661 cat >>conftest.$ac_ext <<_ACEOF
72662 /* end confdefs.h. */
72663 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
72664 For example, HP-UX 11i <limits.h> declares gettimeofday. */
72665 #define $ac_func innocuous_$ac_func
72666
72667 /* System header to define __stub macros and hopefully few prototypes,
72668 which can conflict with char $ac_func (); below.
72669 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
72670 <limits.h> exists even on freestanding compilers. */
72671
72672 #ifdef __STDC__
72673 # include <limits.h>
72674 #else
72675 # include <assert.h>
72676 #endif
72677
72678 #undef $ac_func
72679
72680 /* Override any gcc2 internal prototype to avoid an error. */
72681 #ifdef __cplusplus
72682 extern "C"
72683 {
72684 #endif
72685 /* We use char because int might match the return type of a gcc2
72686 builtin and then its argument prototype would still apply. */
72687 char $ac_func ();
72688 /* The GNU C library defines this for functions which it implements
72689 to always fail with ENOSYS. Some functions are actually named
72690 something starting with __ and the normal name is an alias. */
72691 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
72692 choke me
72693 #else
72694 char (*f) () = $ac_func;
72695 #endif
72696 #ifdef __cplusplus
72697 }
72698 #endif
72699
72700 int
72701 main ()
72702 {
72703 return f != $ac_func;
72704 ;
72705 return 0;
72706 }
72707 _ACEOF
72708 rm -f conftest.$ac_objext conftest$ac_exeext
72709 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72710 (eval $ac_link) 2>conftest.er1
72711 ac_status=$?
72712 grep -v '^ *+' conftest.er1 >conftest.err
72713 rm -f conftest.er1
72714 cat conftest.err >&5
72715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72716 (exit $ac_status); } &&
72717 { ac_try='test -z "$ac_c_werror_flag"
72718 || test ! -s conftest.err'
72719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72720 (eval $ac_try) 2>&5
72721 ac_status=$?
72722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72723 (exit $ac_status); }; } &&
72724 { ac_try='test -s conftest$ac_exeext'
72725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72726 (eval $ac_try) 2>&5
72727 ac_status=$?
72728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72729 (exit $ac_status); }; }; then
72730 eval "$as_ac_var=yes"
72731 else
72732 echo "$as_me: failed program was:" >&5
72733 sed 's/^/| /' conftest.$ac_ext >&5
72734
72735 eval "$as_ac_var=no"
72736 fi
72737 rm -f conftest.err conftest.$ac_objext \
72738 conftest$ac_exeext conftest.$ac_ext
72739 fi
72740 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
72741 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
72742 if test `eval echo '${'$as_ac_var'}'` = yes; then
72743 cat >>confdefs.h <<_ACEOF
72744 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
72745 _ACEOF
72746
72747 else
72748 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
72749 fi
72750 done
72751
72752
72753
72754 for ac_func in __signbitf
72755 do
72756 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
72757 echo "$as_me:$LINENO: checking for $ac_func" >&5
72758 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
72759 if eval "test \"\${$as_ac_var+set}\" = set"; then
72760 echo $ECHO_N "(cached) $ECHO_C" >&6
72761 else
72762 if test x$gcc_no_link = xyes; then
72763 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72764 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72765 { (exit 1); exit 1; }; }
72766 fi
72767 cat >conftest.$ac_ext <<_ACEOF
72768 /* confdefs.h. */
72769 _ACEOF
72770 cat confdefs.h >>conftest.$ac_ext
72771 cat >>conftest.$ac_ext <<_ACEOF
72772 /* end confdefs.h. */
72773 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
72774 For example, HP-UX 11i <limits.h> declares gettimeofday. */
72775 #define $ac_func innocuous_$ac_func
72776
72777 /* System header to define __stub macros and hopefully few prototypes,
72778 which can conflict with char $ac_func (); below.
72779 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
72780 <limits.h> exists even on freestanding compilers. */
72781
72782 #ifdef __STDC__
72783 # include <limits.h>
72784 #else
72785 # include <assert.h>
72786 #endif
72787
72788 #undef $ac_func
72789
72790 /* Override any gcc2 internal prototype to avoid an error. */
72791 #ifdef __cplusplus
72792 extern "C"
72793 {
72794 #endif
72795 /* We use char because int might match the return type of a gcc2
72796 builtin and then its argument prototype would still apply. */
72797 char $ac_func ();
72798 /* The GNU C library defines this for functions which it implements
72799 to always fail with ENOSYS. Some functions are actually named
72800 something starting with __ and the normal name is an alias. */
72801 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
72802 choke me
72803 #else
72804 char (*f) () = $ac_func;
72805 #endif
72806 #ifdef __cplusplus
72807 }
72808 #endif
72809
72810 int
72811 main ()
72812 {
72813 return f != $ac_func;
72814 ;
72815 return 0;
72816 }
72817 _ACEOF
72818 rm -f conftest.$ac_objext conftest$ac_exeext
72819 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72820 (eval $ac_link) 2>conftest.er1
72821 ac_status=$?
72822 grep -v '^ *+' conftest.er1 >conftest.err
72823 rm -f conftest.er1
72824 cat conftest.err >&5
72825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72826 (exit $ac_status); } &&
72827 { ac_try='test -z "$ac_c_werror_flag"
72828 || test ! -s conftest.err'
72829 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72830 (eval $ac_try) 2>&5
72831 ac_status=$?
72832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72833 (exit $ac_status); }; } &&
72834 { ac_try='test -s conftest$ac_exeext'
72835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72836 (eval $ac_try) 2>&5
72837 ac_status=$?
72838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72839 (exit $ac_status); }; }; then
72840 eval "$as_ac_var=yes"
72841 else
72842 echo "$as_me: failed program was:" >&5
72843 sed 's/^/| /' conftest.$ac_ext >&5
72844
72845 eval "$as_ac_var=no"
72846 fi
72847 rm -f conftest.err conftest.$ac_objext \
72848 conftest$ac_exeext conftest.$ac_ext
72849 fi
72850 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
72851 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
72852 if test `eval echo '${'$as_ac_var'}'` = yes; then
72853 cat >>confdefs.h <<_ACEOF
72854 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
72855 _ACEOF
72856
72857 else
72858 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
72859 fi
72860 done
72861
72862
72863 if test x$ac_cv_func_copysignl = x"yes"; then
72864
72865 for ac_func in __signbitl
72866 do
72867 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
72868 echo "$as_me:$LINENO: checking for $ac_func" >&5
72869 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
72870 if eval "test \"\${$as_ac_var+set}\" = set"; then
72871 echo $ECHO_N "(cached) $ECHO_C" >&6
72872 else
72873 if test x$gcc_no_link = xyes; then
72874 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72875 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72876 { (exit 1); exit 1; }; }
72877 fi
72878 cat >conftest.$ac_ext <<_ACEOF
72879 /* confdefs.h. */
72880 _ACEOF
72881 cat confdefs.h >>conftest.$ac_ext
72882 cat >>conftest.$ac_ext <<_ACEOF
72883 /* end confdefs.h. */
72884 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
72885 For example, HP-UX 11i <limits.h> declares gettimeofday. */
72886 #define $ac_func innocuous_$ac_func
72887
72888 /* System header to define __stub macros and hopefully few prototypes,
72889 which can conflict with char $ac_func (); below.
72890 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
72891 <limits.h> exists even on freestanding compilers. */
72892
72893 #ifdef __STDC__
72894 # include <limits.h>
72895 #else
72896 # include <assert.h>
72897 #endif
72898
72899 #undef $ac_func
72900
72901 /* Override any gcc2 internal prototype to avoid an error. */
72902 #ifdef __cplusplus
72903 extern "C"
72904 {
72905 #endif
72906 /* We use char because int might match the return type of a gcc2
72907 builtin and then its argument prototype would still apply. */
72908 char $ac_func ();
72909 /* The GNU C library defines this for functions which it implements
72910 to always fail with ENOSYS. Some functions are actually named
72911 something starting with __ and the normal name is an alias. */
72912 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
72913 choke me
72914 #else
72915 char (*f) () = $ac_func;
72916 #endif
72917 #ifdef __cplusplus
72918 }
72919 #endif
72920
72921 int
72922 main ()
72923 {
72924 return f != $ac_func;
72925 ;
72926 return 0;
72927 }
72928 _ACEOF
72929 rm -f conftest.$ac_objext conftest$ac_exeext
72930 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72931 (eval $ac_link) 2>conftest.er1
72932 ac_status=$?
72933 grep -v '^ *+' conftest.er1 >conftest.err
72934 rm -f conftest.er1
72935 cat conftest.err >&5
72936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72937 (exit $ac_status); } &&
72938 { ac_try='test -z "$ac_c_werror_flag"
72939 || test ! -s conftest.err'
72940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72941 (eval $ac_try) 2>&5
72942 ac_status=$?
72943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72944 (exit $ac_status); }; } &&
72945 { ac_try='test -s conftest$ac_exeext'
72946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72947 (eval $ac_try) 2>&5
72948 ac_status=$?
72949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72950 (exit $ac_status); }; }; then
72951 eval "$as_ac_var=yes"
72952 else
72953 echo "$as_me: failed program was:" >&5
72954 sed 's/^/| /' conftest.$ac_ext >&5
72955
72956 eval "$as_ac_var=no"
72957 fi
72958 rm -f conftest.err conftest.$ac_objext \
72959 conftest$ac_exeext conftest.$ac_ext
72960 fi
72961 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
72962 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
72963 if test `eval echo '${'$as_ac_var'}'` = yes; then
72964 cat >>confdefs.h <<_ACEOF
72965 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
72966 _ACEOF
72967
72968 else
72969 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
72970 fi
72971 done
72972
72973 fi
72974
72975 # Used in libmath/Makefile.am.
72976 if test -n "$LIBMATHOBJS"; then
72977 need_libmath=yes
72978 fi
72979
72980
72981
72982
72983 enable_iconv=no
72984 # Only continue checking if the ISO C99 headers exist and support is on.
72985 if test x"$enable_wchar_t" = xyes; then
72986
72987 # Use iconv for wchar_t to char conversions. As such, check for
72988 # X/Open Portability Guide, version 2 features (XPG2).
72989 if test "${ac_cv_header_iconv_h+set}" = set; then
72990 echo "$as_me:$LINENO: checking for iconv.h" >&5
72991 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
72992 if test "${ac_cv_header_iconv_h+set}" = set; then
72993 echo $ECHO_N "(cached) $ECHO_C" >&6
72994 fi
72995 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
72996 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
72997 else
72998 # Is the header compilable?
72999 echo "$as_me:$LINENO: checking iconv.h usability" >&5
73000 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
73001 cat >conftest.$ac_ext <<_ACEOF
73002 /* confdefs.h. */
73003 _ACEOF
73004 cat confdefs.h >>conftest.$ac_ext
73005 cat >>conftest.$ac_ext <<_ACEOF
73006 /* end confdefs.h. */
73007 $ac_includes_default
73008 #include <iconv.h>
73009 _ACEOF
73010 rm -f conftest.$ac_objext
73011 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73012 (eval $ac_compile) 2>conftest.er1
73013 ac_status=$?
73014 grep -v '^ *+' conftest.er1 >conftest.err
73015 rm -f conftest.er1
73016 cat conftest.err >&5
73017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73018 (exit $ac_status); } &&
73019 { ac_try='test -z "$ac_c_werror_flag"
73020 || test ! -s conftest.err'
73021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73022 (eval $ac_try) 2>&5
73023 ac_status=$?
73024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73025 (exit $ac_status); }; } &&
73026 { ac_try='test -s conftest.$ac_objext'
73027 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73028 (eval $ac_try) 2>&5
73029 ac_status=$?
73030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73031 (exit $ac_status); }; }; then
73032 ac_header_compiler=yes
73033 else
73034 echo "$as_me: failed program was:" >&5
73035 sed 's/^/| /' conftest.$ac_ext >&5
73036
73037 ac_header_compiler=no
73038 fi
73039 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73040 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
73041 echo "${ECHO_T}$ac_header_compiler" >&6
73042
73043 # Is the header present?
73044 echo "$as_me:$LINENO: checking iconv.h presence" >&5
73045 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
73046 cat >conftest.$ac_ext <<_ACEOF
73047 /* confdefs.h. */
73048 _ACEOF
73049 cat confdefs.h >>conftest.$ac_ext
73050 cat >>conftest.$ac_ext <<_ACEOF
73051 /* end confdefs.h. */
73052 #include <iconv.h>
73053 _ACEOF
73054 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
73055 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
73056 ac_status=$?
73057 grep -v '^ *+' conftest.er1 >conftest.err
73058 rm -f conftest.er1
73059 cat conftest.err >&5
73060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73061 (exit $ac_status); } >/dev/null; then
73062 if test -s conftest.err; then
73063 ac_cpp_err=$ac_c_preproc_warn_flag
73064 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
73065 else
73066 ac_cpp_err=
73067 fi
73068 else
73069 ac_cpp_err=yes
73070 fi
73071 if test -z "$ac_cpp_err"; then
73072 ac_header_preproc=yes
73073 else
73074 echo "$as_me: failed program was:" >&5
73075 sed 's/^/| /' conftest.$ac_ext >&5
73076
73077 ac_header_preproc=no
73078 fi
73079 rm -f conftest.err conftest.$ac_ext
73080 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
73081 echo "${ECHO_T}$ac_header_preproc" >&6
73082
73083 # So? What about this header?
73084 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
73085 yes:no: )
73086 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
73087 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
73088 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
73089 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
73090 ac_header_preproc=yes
73091 ;;
73092 no:yes:* )
73093 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
73094 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
73095 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
73096 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
73097 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
73098 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
73099 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
73100 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
73101 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
73102 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
73103 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
73104 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
73105 (
73106 cat <<\_ASBOX
73107 ## ----------------------------------------- ##
73108 ## Report this to the package-unused lists. ##
73109 ## ----------------------------------------- ##
73110 _ASBOX
73111 ) |
73112 sed "s/^/$as_me: WARNING: /" >&2
73113 ;;
73114 esac
73115 echo "$as_me:$LINENO: checking for iconv.h" >&5
73116 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
73117 if test "${ac_cv_header_iconv_h+set}" = set; then
73118 echo $ECHO_N "(cached) $ECHO_C" >&6
73119 else
73120 ac_cv_header_iconv_h=$ac_header_preproc
73121 fi
73122 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
73123 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
73124
73125 fi
73126 if test $ac_cv_header_iconv_h = yes; then
73127 ac_has_iconv_h=yes
73128 else
73129 ac_has_iconv_h=no
73130 fi
73131
73132
73133 if test "${ac_cv_header_langinfo_h+set}" = set; then
73134 echo "$as_me:$LINENO: checking for langinfo.h" >&5
73135 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
73136 if test "${ac_cv_header_langinfo_h+set}" = set; then
73137 echo $ECHO_N "(cached) $ECHO_C" >&6
73138 fi
73139 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
73140 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
73141 else
73142 # Is the header compilable?
73143 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
73144 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
73145 cat >conftest.$ac_ext <<_ACEOF
73146 /* confdefs.h. */
73147 _ACEOF
73148 cat confdefs.h >>conftest.$ac_ext
73149 cat >>conftest.$ac_ext <<_ACEOF
73150 /* end confdefs.h. */
73151 $ac_includes_default
73152 #include <langinfo.h>
73153 _ACEOF
73154 rm -f conftest.$ac_objext
73155 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73156 (eval $ac_compile) 2>conftest.er1
73157 ac_status=$?
73158 grep -v '^ *+' conftest.er1 >conftest.err
73159 rm -f conftest.er1
73160 cat conftest.err >&5
73161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73162 (exit $ac_status); } &&
73163 { ac_try='test -z "$ac_c_werror_flag"
73164 || test ! -s conftest.err'
73165 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73166 (eval $ac_try) 2>&5
73167 ac_status=$?
73168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73169 (exit $ac_status); }; } &&
73170 { ac_try='test -s conftest.$ac_objext'
73171 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73172 (eval $ac_try) 2>&5
73173 ac_status=$?
73174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73175 (exit $ac_status); }; }; then
73176 ac_header_compiler=yes
73177 else
73178 echo "$as_me: failed program was:" >&5
73179 sed 's/^/| /' conftest.$ac_ext >&5
73180
73181 ac_header_compiler=no
73182 fi
73183 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73184 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
73185 echo "${ECHO_T}$ac_header_compiler" >&6
73186
73187 # Is the header present?
73188 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
73189 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
73190 cat >conftest.$ac_ext <<_ACEOF
73191 /* confdefs.h. */
73192 _ACEOF
73193 cat confdefs.h >>conftest.$ac_ext
73194 cat >>conftest.$ac_ext <<_ACEOF
73195 /* end confdefs.h. */
73196 #include <langinfo.h>
73197 _ACEOF
73198 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
73199 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
73200 ac_status=$?
73201 grep -v '^ *+' conftest.er1 >conftest.err
73202 rm -f conftest.er1
73203 cat conftest.err >&5
73204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73205 (exit $ac_status); } >/dev/null; then
73206 if test -s conftest.err; then
73207 ac_cpp_err=$ac_c_preproc_warn_flag
73208 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
73209 else
73210 ac_cpp_err=
73211 fi
73212 else
73213 ac_cpp_err=yes
73214 fi
73215 if test -z "$ac_cpp_err"; then
73216 ac_header_preproc=yes
73217 else
73218 echo "$as_me: failed program was:" >&5
73219 sed 's/^/| /' conftest.$ac_ext >&5
73220
73221 ac_header_preproc=no
73222 fi
73223 rm -f conftest.err conftest.$ac_ext
73224 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
73225 echo "${ECHO_T}$ac_header_preproc" >&6
73226
73227 # So? What about this header?
73228 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
73229 yes:no: )
73230 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
73231 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
73232 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
73233 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
73234 ac_header_preproc=yes
73235 ;;
73236 no:yes:* )
73237 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
73238 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
73239 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
73240 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
73241 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
73242 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
73243 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
73244 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
73245 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
73246 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
73247 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
73248 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
73249 (
73250 cat <<\_ASBOX
73251 ## ----------------------------------------- ##
73252 ## Report this to the package-unused lists. ##
73253 ## ----------------------------------------- ##
73254 _ASBOX
73255 ) |
73256 sed "s/^/$as_me: WARNING: /" >&2
73257 ;;
73258 esac
73259 echo "$as_me:$LINENO: checking for langinfo.h" >&5
73260 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
73261 if test "${ac_cv_header_langinfo_h+set}" = set; then
73262 echo $ECHO_N "(cached) $ECHO_C" >&6
73263 else
73264 ac_cv_header_langinfo_h=$ac_header_preproc
73265 fi
73266 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
73267 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
73268
73269 fi
73270 if test $ac_cv_header_langinfo_h = yes; then
73271 ac_has_langinfo_h=yes
73272 else
73273 ac_has_langinfo_h=no
73274 fi
73275
73276
73277
73278 # Check for existence of libiconv.a providing XPG2 wchar_t support.
73279 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
73280 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
73281 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
73282 echo $ECHO_N "(cached) $ECHO_C" >&6
73283 else
73284 ac_check_lib_save_LIBS=$LIBS
73285 LIBS="-liconv $LIBS"
73286 if test x$gcc_no_link = xyes; then
73287 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73288 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73289 { (exit 1); exit 1; }; }
73290 fi
73291 cat >conftest.$ac_ext <<_ACEOF
73292 /* confdefs.h. */
73293 _ACEOF
73294 cat confdefs.h >>conftest.$ac_ext
73295 cat >>conftest.$ac_ext <<_ACEOF
73296 /* end confdefs.h. */
73297
73298 /* Override any gcc2 internal prototype to avoid an error. */
73299 #ifdef __cplusplus
73300 extern "C"
73301 #endif
73302 /* We use char because int might match the return type of a gcc2
73303 builtin and then its argument prototype would still apply. */
73304 char iconv ();
73305 int
73306 main ()
73307 {
73308 iconv ();
73309 ;
73310 return 0;
73311 }
73312 _ACEOF
73313 rm -f conftest.$ac_objext conftest$ac_exeext
73314 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73315 (eval $ac_link) 2>conftest.er1
73316 ac_status=$?
73317 grep -v '^ *+' conftest.er1 >conftest.err
73318 rm -f conftest.er1
73319 cat conftest.err >&5
73320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73321 (exit $ac_status); } &&
73322 { ac_try='test -z "$ac_c_werror_flag"
73323 || test ! -s conftest.err'
73324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73325 (eval $ac_try) 2>&5
73326 ac_status=$?
73327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73328 (exit $ac_status); }; } &&
73329 { ac_try='test -s conftest$ac_exeext'
73330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73331 (eval $ac_try) 2>&5
73332 ac_status=$?
73333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73334 (exit $ac_status); }; }; then
73335 ac_cv_lib_iconv_iconv=yes
73336 else
73337 echo "$as_me: failed program was:" >&5
73338 sed 's/^/| /' conftest.$ac_ext >&5
73339
73340 ac_cv_lib_iconv_iconv=no
73341 fi
73342 rm -f conftest.err conftest.$ac_objext \
73343 conftest$ac_exeext conftest.$ac_ext
73344 LIBS=$ac_check_lib_save_LIBS
73345 fi
73346 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
73347 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
73348 if test $ac_cv_lib_iconv_iconv = yes; then
73349 LIBICONV="-liconv"
73350 fi
73351
73352 ac_save_LIBS="$LIBS"
73353 LIBS="$LIBS $LIBICONV"
73354
73355
73356
73357
73358
73359
73360 for ac_func in iconv_open iconv_close iconv nl_langinfo
73361 do
73362 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
73363 echo "$as_me:$LINENO: checking for $ac_func" >&5
73364 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
73365 if eval "test \"\${$as_ac_var+set}\" = set"; then
73366 echo $ECHO_N "(cached) $ECHO_C" >&6
73367 else
73368 if test x$gcc_no_link = xyes; then
73369 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73370 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73371 { (exit 1); exit 1; }; }
73372 fi
73373 cat >conftest.$ac_ext <<_ACEOF
73374 /* confdefs.h. */
73375 _ACEOF
73376 cat confdefs.h >>conftest.$ac_ext
73377 cat >>conftest.$ac_ext <<_ACEOF
73378 /* end confdefs.h. */
73379 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
73380 For example, HP-UX 11i <limits.h> declares gettimeofday. */
73381 #define $ac_func innocuous_$ac_func
73382
73383 /* System header to define __stub macros and hopefully few prototypes,
73384 which can conflict with char $ac_func (); below.
73385 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
73386 <limits.h> exists even on freestanding compilers. */
73387
73388 #ifdef __STDC__
73389 # include <limits.h>
73390 #else
73391 # include <assert.h>
73392 #endif
73393
73394 #undef $ac_func
73395
73396 /* Override any gcc2 internal prototype to avoid an error. */
73397 #ifdef __cplusplus
73398 extern "C"
73399 {
73400 #endif
73401 /* We use char because int might match the return type of a gcc2
73402 builtin and then its argument prototype would still apply. */
73403 char $ac_func ();
73404 /* The GNU C library defines this for functions which it implements
73405 to always fail with ENOSYS. Some functions are actually named
73406 something starting with __ and the normal name is an alias. */
73407 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
73408 choke me
73409 #else
73410 char (*f) () = $ac_func;
73411 #endif
73412 #ifdef __cplusplus
73413 }
73414 #endif
73415
73416 int
73417 main ()
73418 {
73419 return f != $ac_func;
73420 ;
73421 return 0;
73422 }
73423 _ACEOF
73424 rm -f conftest.$ac_objext conftest$ac_exeext
73425 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73426 (eval $ac_link) 2>conftest.er1
73427 ac_status=$?
73428 grep -v '^ *+' conftest.er1 >conftest.err
73429 rm -f conftest.er1
73430 cat conftest.err >&5
73431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73432 (exit $ac_status); } &&
73433 { ac_try='test -z "$ac_c_werror_flag"
73434 || test ! -s conftest.err'
73435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73436 (eval $ac_try) 2>&5
73437 ac_status=$?
73438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73439 (exit $ac_status); }; } &&
73440 { ac_try='test -s conftest$ac_exeext'
73441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73442 (eval $ac_try) 2>&5
73443 ac_status=$?
73444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73445 (exit $ac_status); }; }; then
73446 eval "$as_ac_var=yes"
73447 else
73448 echo "$as_me: failed program was:" >&5
73449 sed 's/^/| /' conftest.$ac_ext >&5
73450
73451 eval "$as_ac_var=no"
73452 fi
73453 rm -f conftest.err conftest.$ac_objext \
73454 conftest$ac_exeext conftest.$ac_ext
73455 fi
73456 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
73457 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
73458 if test `eval echo '${'$as_ac_var'}'` = yes; then
73459 cat >>confdefs.h <<_ACEOF
73460 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
73461 _ACEOF
73462 ac_XPG2funcs=yes
73463 else
73464 ac_XPG2funcs=no
73465 fi
73466 done
73467
73468
73469 LIBS="$ac_save_LIBS"
73470
73471 if test x"$ac_has_iconv_h" = xyes &&
73472 test x"$ac_has_langinfo_h" = xyes &&
73473 test x"$ac_XPG2funcs" = xyes;
73474 then
73475
73476 cat >>confdefs.h <<\_ACEOF
73477 #define _GLIBCXX_USE_ICONV 1
73478 _ACEOF
73479
73480 enable_iconv=yes
73481 fi
73482 fi
73483 echo "$as_me:$LINENO: checking for enabled iconv specializations" >&5
73484 echo $ECHO_N "checking for enabled iconv specializations... $ECHO_C" >&6
73485 echo "$as_me:$LINENO: result: $enable_iconv" >&5
73486 echo "${ECHO_T}$enable_iconv" >&6
73487
73488
73489 ac_test_CXXFLAGS="${CXXFLAGS+set}"
73490 ac_save_CXXFLAGS="$CXXFLAGS"
73491 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
73492
73493
73494 echo "$as_me:$LINENO: checking for strtold declaration" >&5
73495 echo $ECHO_N "checking for strtold declaration... $ECHO_C" >&6
73496 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
73497 if test "${glibcxx_cv_func_strtold_use+set}" = set; then
73498 echo $ECHO_N "(cached) $ECHO_C" >&6
73499 else
73500
73501
73502
73503 ac_ext=cc
73504 ac_cpp='$CXXCPP $CPPFLAGS'
73505 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73506 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73507 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73508
73509 cat >conftest.$ac_ext <<_ACEOF
73510 /* confdefs.h. */
73511 _ACEOF
73512 cat confdefs.h >>conftest.$ac_ext
73513 cat >>conftest.$ac_ext <<_ACEOF
73514 /* end confdefs.h. */
73515 #include <stdlib.h>
73516 int
73517 main ()
73518 {
73519 strtold(0, 0);
73520 ;
73521 return 0;
73522 }
73523 _ACEOF
73524 rm -f conftest.$ac_objext
73525 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73526 (eval $ac_compile) 2>conftest.er1
73527 ac_status=$?
73528 grep -v '^ *+' conftest.er1 >conftest.err
73529 rm -f conftest.er1
73530 cat conftest.err >&5
73531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73532 (exit $ac_status); } &&
73533 { ac_try='test -z "$ac_cxx_werror_flag"
73534 || test ! -s conftest.err'
73535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73536 (eval $ac_try) 2>&5
73537 ac_status=$?
73538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73539 (exit $ac_status); }; } &&
73540 { ac_try='test -s conftest.$ac_objext'
73541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73542 (eval $ac_try) 2>&5
73543 ac_status=$?
73544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73545 (exit $ac_status); }; }; then
73546 glibcxx_cv_func_strtold_use=yes
73547 else
73548 echo "$as_me: failed program was:" >&5
73549 sed 's/^/| /' conftest.$ac_ext >&5
73550
73551 glibcxx_cv_func_strtold_use=no
73552 fi
73553 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73554 ac_ext=c
73555 ac_cpp='$CPP $CPPFLAGS'
73556 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73557 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73558 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73559
73560
73561 fi
73562
73563 fi
73564 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtold_use" >&5
73565 echo "${ECHO_T}$glibcxx_cv_func_strtold_use" >&6
73566 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
73567
73568 for ac_func in strtold
73569 do
73570 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
73571 echo "$as_me:$LINENO: checking for $ac_func" >&5
73572 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
73573 if eval "test \"\${$as_ac_var+set}\" = set"; then
73574 echo $ECHO_N "(cached) $ECHO_C" >&6
73575 else
73576 if test x$gcc_no_link = xyes; then
73577 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73578 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73579 { (exit 1); exit 1; }; }
73580 fi
73581 cat >conftest.$ac_ext <<_ACEOF
73582 /* confdefs.h. */
73583 _ACEOF
73584 cat confdefs.h >>conftest.$ac_ext
73585 cat >>conftest.$ac_ext <<_ACEOF
73586 /* end confdefs.h. */
73587 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
73588 For example, HP-UX 11i <limits.h> declares gettimeofday. */
73589 #define $ac_func innocuous_$ac_func
73590
73591 /* System header to define __stub macros and hopefully few prototypes,
73592 which can conflict with char $ac_func (); below.
73593 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
73594 <limits.h> exists even on freestanding compilers. */
73595
73596 #ifdef __STDC__
73597 # include <limits.h>
73598 #else
73599 # include <assert.h>
73600 #endif
73601
73602 #undef $ac_func
73603
73604 /* Override any gcc2 internal prototype to avoid an error. */
73605 #ifdef __cplusplus
73606 extern "C"
73607 {
73608 #endif
73609 /* We use char because int might match the return type of a gcc2
73610 builtin and then its argument prototype would still apply. */
73611 char $ac_func ();
73612 /* The GNU C library defines this for functions which it implements
73613 to always fail with ENOSYS. Some functions are actually named
73614 something starting with __ and the normal name is an alias. */
73615 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
73616 choke me
73617 #else
73618 char (*f) () = $ac_func;
73619 #endif
73620 #ifdef __cplusplus
73621 }
73622 #endif
73623
73624 int
73625 main ()
73626 {
73627 return f != $ac_func;
73628 ;
73629 return 0;
73630 }
73631 _ACEOF
73632 rm -f conftest.$ac_objext conftest$ac_exeext
73633 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73634 (eval $ac_link) 2>conftest.er1
73635 ac_status=$?
73636 grep -v '^ *+' conftest.er1 >conftest.err
73637 rm -f conftest.er1
73638 cat conftest.err >&5
73639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73640 (exit $ac_status); } &&
73641 { ac_try='test -z "$ac_c_werror_flag"
73642 || test ! -s conftest.err'
73643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73644 (eval $ac_try) 2>&5
73645 ac_status=$?
73646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73647 (exit $ac_status); }; } &&
73648 { ac_try='test -s conftest$ac_exeext'
73649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73650 (eval $ac_try) 2>&5
73651 ac_status=$?
73652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73653 (exit $ac_status); }; }; then
73654 eval "$as_ac_var=yes"
73655 else
73656 echo "$as_me: failed program was:" >&5
73657 sed 's/^/| /' conftest.$ac_ext >&5
73658
73659 eval "$as_ac_var=no"
73660 fi
73661 rm -f conftest.err conftest.$ac_objext \
73662 conftest$ac_exeext conftest.$ac_ext
73663 fi
73664 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
73665 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
73666 if test `eval echo '${'$as_ac_var'}'` = yes; then
73667 cat >>confdefs.h <<_ACEOF
73668 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
73669 _ACEOF
73670
73671 fi
73672 done
73673
73674 fi
73675
73676
73677
73678
73679
73680 echo "$as_me:$LINENO: checking for strtof declaration" >&5
73681 echo $ECHO_N "checking for strtof declaration... $ECHO_C" >&6
73682 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
73683 if test "${glibcxx_cv_func_strtof_use+set}" = set; then
73684 echo $ECHO_N "(cached) $ECHO_C" >&6
73685 else
73686
73687
73688
73689 ac_ext=cc
73690 ac_cpp='$CXXCPP $CPPFLAGS'
73691 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73692 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73693 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73694
73695 cat >conftest.$ac_ext <<_ACEOF
73696 /* confdefs.h. */
73697 _ACEOF
73698 cat confdefs.h >>conftest.$ac_ext
73699 cat >>conftest.$ac_ext <<_ACEOF
73700 /* end confdefs.h. */
73701 #include <stdlib.h>
73702 int
73703 main ()
73704 {
73705 strtof(0, 0);
73706 ;
73707 return 0;
73708 }
73709 _ACEOF
73710 rm -f conftest.$ac_objext
73711 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73712 (eval $ac_compile) 2>conftest.er1
73713 ac_status=$?
73714 grep -v '^ *+' conftest.er1 >conftest.err
73715 rm -f conftest.er1
73716 cat conftest.err >&5
73717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73718 (exit $ac_status); } &&
73719 { ac_try='test -z "$ac_cxx_werror_flag"
73720 || test ! -s conftest.err'
73721 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73722 (eval $ac_try) 2>&5
73723 ac_status=$?
73724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73725 (exit $ac_status); }; } &&
73726 { ac_try='test -s conftest.$ac_objext'
73727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73728 (eval $ac_try) 2>&5
73729 ac_status=$?
73730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73731 (exit $ac_status); }; }; then
73732 glibcxx_cv_func_strtof_use=yes
73733 else
73734 echo "$as_me: failed program was:" >&5
73735 sed 's/^/| /' conftest.$ac_ext >&5
73736
73737 glibcxx_cv_func_strtof_use=no
73738 fi
73739 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73740 ac_ext=c
73741 ac_cpp='$CPP $CPPFLAGS'
73742 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73743 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73744 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73745
73746
73747 fi
73748
73749 fi
73750 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtof_use" >&5
73751 echo "${ECHO_T}$glibcxx_cv_func_strtof_use" >&6
73752 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
73753
73754 for ac_func in strtof
73755 do
73756 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
73757 echo "$as_me:$LINENO: checking for $ac_func" >&5
73758 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
73759 if eval "test \"\${$as_ac_var+set}\" = set"; then
73760 echo $ECHO_N "(cached) $ECHO_C" >&6
73761 else
73762 if test x$gcc_no_link = xyes; then
73763 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73764 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73765 { (exit 1); exit 1; }; }
73766 fi
73767 cat >conftest.$ac_ext <<_ACEOF
73768 /* confdefs.h. */
73769 _ACEOF
73770 cat confdefs.h >>conftest.$ac_ext
73771 cat >>conftest.$ac_ext <<_ACEOF
73772 /* end confdefs.h. */
73773 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
73774 For example, HP-UX 11i <limits.h> declares gettimeofday. */
73775 #define $ac_func innocuous_$ac_func
73776
73777 /* System header to define __stub macros and hopefully few prototypes,
73778 which can conflict with char $ac_func (); below.
73779 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
73780 <limits.h> exists even on freestanding compilers. */
73781
73782 #ifdef __STDC__
73783 # include <limits.h>
73784 #else
73785 # include <assert.h>
73786 #endif
73787
73788 #undef $ac_func
73789
73790 /* Override any gcc2 internal prototype to avoid an error. */
73791 #ifdef __cplusplus
73792 extern "C"
73793 {
73794 #endif
73795 /* We use char because int might match the return type of a gcc2
73796 builtin and then its argument prototype would still apply. */
73797 char $ac_func ();
73798 /* The GNU C library defines this for functions which it implements
73799 to always fail with ENOSYS. Some functions are actually named
73800 something starting with __ and the normal name is an alias. */
73801 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
73802 choke me
73803 #else
73804 char (*f) () = $ac_func;
73805 #endif
73806 #ifdef __cplusplus
73807 }
73808 #endif
73809
73810 int
73811 main ()
73812 {
73813 return f != $ac_func;
73814 ;
73815 return 0;
73816 }
73817 _ACEOF
73818 rm -f conftest.$ac_objext conftest$ac_exeext
73819 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73820 (eval $ac_link) 2>conftest.er1
73821 ac_status=$?
73822 grep -v '^ *+' conftest.er1 >conftest.err
73823 rm -f conftest.er1
73824 cat conftest.err >&5
73825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73826 (exit $ac_status); } &&
73827 { ac_try='test -z "$ac_c_werror_flag"
73828 || test ! -s conftest.err'
73829 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73830 (eval $ac_try) 2>&5
73831 ac_status=$?
73832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73833 (exit $ac_status); }; } &&
73834 { ac_try='test -s conftest$ac_exeext'
73835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73836 (eval $ac_try) 2>&5
73837 ac_status=$?
73838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73839 (exit $ac_status); }; }; then
73840 eval "$as_ac_var=yes"
73841 else
73842 echo "$as_me: failed program was:" >&5
73843 sed 's/^/| /' conftest.$ac_ext >&5
73844
73845 eval "$as_ac_var=no"
73846 fi
73847 rm -f conftest.err conftest.$ac_objext \
73848 conftest$ac_exeext conftest.$ac_ext
73849 fi
73850 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
73851 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
73852 if test `eval echo '${'$as_ac_var'}'` = yes; then
73853 cat >>confdefs.h <<_ACEOF
73854 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
73855 _ACEOF
73856
73857 fi
73858 done
73859
73860 fi
73861
73862
73863
73864
73865
73866 CXXFLAGS="$ac_save_CXXFLAGS"
73867
73868
73869 echo "$as_me:$LINENO: checking for S_ISREG or S_IFREG" >&5
73870 echo $ECHO_N "checking for S_ISREG or S_IFREG... $ECHO_C" >&6
73871 if test "${glibcxx_cv_S_ISREG+set}" = set; then
73872 echo $ECHO_N "(cached) $ECHO_C" >&6
73873 else
73874
73875 if test x$gcc_no_link = xyes; then
73876 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73877 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73878 { (exit 1); exit 1; }; }
73879 fi
73880 cat >conftest.$ac_ext <<_ACEOF
73881 /* confdefs.h. */
73882 _ACEOF
73883 cat confdefs.h >>conftest.$ac_ext
73884 cat >>conftest.$ac_ext <<_ACEOF
73885 /* end confdefs.h. */
73886 #include <sys/stat.h>
73887 int
73888 main ()
73889 {
73890 struct stat buffer;
73891 fstat(0, &buffer);
73892 S_ISREG(buffer.st_mode);
73893 ;
73894 return 0;
73895 }
73896 _ACEOF
73897 rm -f conftest.$ac_objext conftest$ac_exeext
73898 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73899 (eval $ac_link) 2>conftest.er1
73900 ac_status=$?
73901 grep -v '^ *+' conftest.er1 >conftest.err
73902 rm -f conftest.er1
73903 cat conftest.err >&5
73904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73905 (exit $ac_status); } &&
73906 { ac_try='test -z "$ac_c_werror_flag"
73907 || test ! -s conftest.err'
73908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73909 (eval $ac_try) 2>&5
73910 ac_status=$?
73911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73912 (exit $ac_status); }; } &&
73913 { ac_try='test -s conftest$ac_exeext'
73914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73915 (eval $ac_try) 2>&5
73916 ac_status=$?
73917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73918 (exit $ac_status); }; }; then
73919 glibcxx_cv_S_ISREG=yes
73920 else
73921 echo "$as_me: failed program was:" >&5
73922 sed 's/^/| /' conftest.$ac_ext >&5
73923
73924 glibcxx_cv_S_ISREG=no
73925 fi
73926 rm -f conftest.err conftest.$ac_objext \
73927 conftest$ac_exeext conftest.$ac_ext
73928
73929 fi
73930
73931 if test "${glibcxx_cv_S_IFREG+set}" = set; then
73932 echo $ECHO_N "(cached) $ECHO_C" >&6
73933 else
73934
73935 if test x$gcc_no_link = xyes; then
73936 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73937 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73938 { (exit 1); exit 1; }; }
73939 fi
73940 cat >conftest.$ac_ext <<_ACEOF
73941 /* confdefs.h. */
73942 _ACEOF
73943 cat confdefs.h >>conftest.$ac_ext
73944 cat >>conftest.$ac_ext <<_ACEOF
73945 /* end confdefs.h. */
73946 #include <sys/stat.h>
73947 int
73948 main ()
73949 {
73950 struct stat buffer;
73951 fstat(0, &buffer);
73952 S_IFREG & buffer.st_mode;
73953 ;
73954 return 0;
73955 }
73956 _ACEOF
73957 rm -f conftest.$ac_objext conftest$ac_exeext
73958 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73959 (eval $ac_link) 2>conftest.er1
73960 ac_status=$?
73961 grep -v '^ *+' conftest.er1 >conftest.err
73962 rm -f conftest.er1
73963 cat conftest.err >&5
73964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73965 (exit $ac_status); } &&
73966 { ac_try='test -z "$ac_c_werror_flag"
73967 || test ! -s conftest.err'
73968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73969 (eval $ac_try) 2>&5
73970 ac_status=$?
73971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73972 (exit $ac_status); }; } &&
73973 { ac_try='test -s conftest$ac_exeext'
73974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73975 (eval $ac_try) 2>&5
73976 ac_status=$?
73977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73978 (exit $ac_status); }; }; then
73979 glibcxx_cv_S_IFREG=yes
73980 else
73981 echo "$as_me: failed program was:" >&5
73982 sed 's/^/| /' conftest.$ac_ext >&5
73983
73984 glibcxx_cv_S_IFREG=no
73985 fi
73986 rm -f conftest.err conftest.$ac_objext \
73987 conftest$ac_exeext conftest.$ac_ext
73988
73989 fi
73990
73991 res=no
73992 if test $glibcxx_cv_S_ISREG = yes; then
73993
73994 cat >>confdefs.h <<\_ACEOF
73995 #define HAVE_S_ISREG 1
73996 _ACEOF
73997
73998 res=S_ISREG
73999 elif test $glibcxx_cv_S_IFREG = yes; then
74000
74001 cat >>confdefs.h <<\_ACEOF
74002 #define HAVE_S_IFREG 1
74003 _ACEOF
74004
74005 res=S_IFREG
74006 fi
74007 echo "$as_me:$LINENO: result: $res" >&5
74008 echo "${ECHO_T}$res" >&6
74009
74010 cat >>confdefs.h <<\_ACEOF
74011 #define HAVE_WRITEV 1
74012 _ACEOF
74013
74014 ;;
74015
74016 *-freebsd*)
74017
74018
74019
74020
74021
74022
74023
74024
74025
74026
74027
74028
74029
74030
74031
74032
74033 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
74034 machine/endian.h machine/param.h sys/machine.h sys/types.h \
74035 fp.h locale.h float.h inttypes.h sys/resource.h sys/stat.h \
74036 sys/time.h unistd.h
74037 do
74038 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
74039 if eval "test \"\${$as_ac_Header+set}\" = set"; then
74040 echo "$as_me:$LINENO: checking for $ac_header" >&5
74041 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
74042 if eval "test \"\${$as_ac_Header+set}\" = set"; then
74043 echo $ECHO_N "(cached) $ECHO_C" >&6
74044 fi
74045 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
74046 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
74047 else
74048 # Is the header compilable?
74049 echo "$as_me:$LINENO: checking $ac_header usability" >&5
74050 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
74051 cat >conftest.$ac_ext <<_ACEOF
74052 /* confdefs.h. */
74053 _ACEOF
74054 cat confdefs.h >>conftest.$ac_ext
74055 cat >>conftest.$ac_ext <<_ACEOF
74056 /* end confdefs.h. */
74057 $ac_includes_default
74058 #include <$ac_header>
74059 _ACEOF
74060 rm -f conftest.$ac_objext
74061 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
74062 (eval $ac_compile) 2>conftest.er1
74063 ac_status=$?
74064 grep -v '^ *+' conftest.er1 >conftest.err
74065 rm -f conftest.er1
74066 cat conftest.err >&5
74067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74068 (exit $ac_status); } &&
74069 { ac_try='test -z "$ac_c_werror_flag"
74070 || test ! -s conftest.err'
74071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74072 (eval $ac_try) 2>&5
74073 ac_status=$?
74074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74075 (exit $ac_status); }; } &&
74076 { ac_try='test -s conftest.$ac_objext'
74077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74078 (eval $ac_try) 2>&5
74079 ac_status=$?
74080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74081 (exit $ac_status); }; }; then
74082 ac_header_compiler=yes
74083 else
74084 echo "$as_me: failed program was:" >&5
74085 sed 's/^/| /' conftest.$ac_ext >&5
74086
74087 ac_header_compiler=no
74088 fi
74089 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
74090 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
74091 echo "${ECHO_T}$ac_header_compiler" >&6
74092
74093 # Is the header present?
74094 echo "$as_me:$LINENO: checking $ac_header presence" >&5
74095 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
74096 cat >conftest.$ac_ext <<_ACEOF
74097 /* confdefs.h. */
74098 _ACEOF
74099 cat confdefs.h >>conftest.$ac_ext
74100 cat >>conftest.$ac_ext <<_ACEOF
74101 /* end confdefs.h. */
74102 #include <$ac_header>
74103 _ACEOF
74104 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
74105 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
74106 ac_status=$?
74107 grep -v '^ *+' conftest.er1 >conftest.err
74108 rm -f conftest.er1
74109 cat conftest.err >&5
74110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74111 (exit $ac_status); } >/dev/null; then
74112 if test -s conftest.err; then
74113 ac_cpp_err=$ac_c_preproc_warn_flag
74114 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
74115 else
74116 ac_cpp_err=
74117 fi
74118 else
74119 ac_cpp_err=yes
74120 fi
74121 if test -z "$ac_cpp_err"; then
74122 ac_header_preproc=yes
74123 else
74124 echo "$as_me: failed program was:" >&5
74125 sed 's/^/| /' conftest.$ac_ext >&5
74126
74127 ac_header_preproc=no
74128 fi
74129 rm -f conftest.err conftest.$ac_ext
74130 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
74131 echo "${ECHO_T}$ac_header_preproc" >&6
74132
74133 # So? What about this header?
74134 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
74135 yes:no: )
74136 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
74137 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
74138 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
74139 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
74140 ac_header_preproc=yes
74141 ;;
74142 no:yes:* )
74143 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
74144 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
74145 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
74146 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
74147 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
74148 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
74149 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
74150 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
74151 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
74152 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
74153 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
74154 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
74155 (
74156 cat <<\_ASBOX
74157 ## ----------------------------------------- ##
74158 ## Report this to the package-unused lists. ##
74159 ## ----------------------------------------- ##
74160 _ASBOX
74161 ) |
74162 sed "s/^/$as_me: WARNING: /" >&2
74163 ;;
74164 esac
74165 echo "$as_me:$LINENO: checking for $ac_header" >&5
74166 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
74167 if eval "test \"\${$as_ac_Header+set}\" = set"; then
74168 echo $ECHO_N "(cached) $ECHO_C" >&6
74169 else
74170 eval "$as_ac_Header=\$ac_header_preproc"
74171 fi
74172 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
74173 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
74174
74175 fi
74176 if test `eval echo '${'$as_ac_Header'}'` = yes; then
74177 cat >>confdefs.h <<_ACEOF
74178 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
74179 _ACEOF
74180
74181 fi
74182
74183 done
74184
74185 SECTION_FLAGS='-ffunction-sections -fdata-sections'
74186
74187
74188 # If we're not using GNU ld, then there's no point in even trying these
74189 # tests. Check for that first. We should have already tested for gld
74190 # by now (in libtool), but require it now just to be safe...
74191 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
74192 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
74193
74194
74195
74196 # The name set by libtool depends on the version of libtool. Shame on us
74197 # for depending on an impl detail, but c'est la vie. Older versions used
74198 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
74199 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
74200 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
74201 # set (hence we're using an older libtool), then set it.
74202 if test x${with_gnu_ld+set} != xset; then
74203 if test x${ac_cv_prog_gnu_ld+set} != xset; then
74204 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
74205 with_gnu_ld=no
74206 else
74207 with_gnu_ld=$ac_cv_prog_gnu_ld
74208 fi
74209 fi
74210
74211 # Start by getting the version number. I think the libtool test already
74212 # does some of this, but throws away the result.
74213
74214 ldver=`$LD --version 2>/dev/null | head -1 | \
74215 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
74216
74217 glibcxx_gnu_ld_version=`echo $ldver | \
74218 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
74219
74220 # Set --gc-sections.
74221 if test "$with_gnu_ld" = "notbroken"; then
74222 # GNU ld it is! Joy and bunny rabbits!
74223
74224 # All these tests are for C++; save the language and the compiler flags.
74225 # Need to do this so that g++ won't try to link in libstdc++
74226 ac_test_CFLAGS="${CFLAGS+set}"
74227 ac_save_CFLAGS="$CFLAGS"
74228 CFLAGS='-x c++ -Wl,--gc-sections'
74229
74230 # Check for -Wl,--gc-sections
74231 # XXX This test is broken at the moment, as symbols required for linking
74232 # are now in libsupc++ (not built yet). In addition, this test has
74233 # cored on solaris in the past. In addition, --gc-sections doesn't
74234 # really work at the moment (keeps on discarding used sections, first
74235 # .eh_frame and now some of the glibc sections for iconv).
74236 # Bzzzzt. Thanks for playing, maybe next time.
74237 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
74238 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
74239 if test "$cross_compiling" = yes; then
74240 ac_sectionLDflags=yes
74241 else
74242 cat >conftest.$ac_ext <<_ACEOF
74243 /* confdefs.h. */
74244 _ACEOF
74245 cat confdefs.h >>conftest.$ac_ext
74246 cat >>conftest.$ac_ext <<_ACEOF
74247 /* end confdefs.h. */
74248
74249 int main(void)
74250 {
74251 try { throw 1; }
74252 catch (...) { };
74253 return 0;
74254 }
74255
74256 _ACEOF
74257 rm -f conftest$ac_exeext
74258 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74259 (eval $ac_link) 2>&5
74260 ac_status=$?
74261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74262 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
74263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74264 (eval $ac_try) 2>&5
74265 ac_status=$?
74266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74267 (exit $ac_status); }; }; then
74268 ac_sectionLDflags=yes
74269 else
74270 echo "$as_me: program exited with status $ac_status" >&5
74271 echo "$as_me: failed program was:" >&5
74272 sed 's/^/| /' conftest.$ac_ext >&5
74273
74274 ( exit $ac_status )
74275 ac_sectionLDflags=no
74276 fi
74277 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
74278 fi
74279 if test "$ac_test_CFLAGS" = set; then
74280 CFLAGS="$ac_save_CFLAGS"
74281 else
74282 # this is the suspicious part
74283 CFLAGS=''
74284 fi
74285 if test "$ac_sectionLDflags" = "yes"; then
74286 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
74287 fi
74288 echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
74289 echo "${ECHO_T}$ac_sectionLDflags" >&6
74290 fi
74291
74292 # Set linker optimization flags.
74293 if test x"$with_gnu_ld" = x"yes"; then
74294 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
74295 fi
74296
74297
74298
74299
74300
74301
74302 echo "$as_me:$LINENO: checking for main in -lm" >&5
74303 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
74304 if test "${ac_cv_lib_m_main+set}" = set; then
74305 echo $ECHO_N "(cached) $ECHO_C" >&6
74306 else
74307 ac_check_lib_save_LIBS=$LIBS
74308 LIBS="-lm $LIBS"
74309 if test x$gcc_no_link = xyes; then
74310 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74311 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74312 { (exit 1); exit 1; }; }
74313 fi
74314 cat >conftest.$ac_ext <<_ACEOF
74315 /* confdefs.h. */
74316 _ACEOF
74317 cat confdefs.h >>conftest.$ac_ext
74318 cat >>conftest.$ac_ext <<_ACEOF
74319 /* end confdefs.h. */
74320
74321
74322 int
74323 main ()
74324 {
74325 main ();
74326 ;
74327 return 0;
74328 }
74329 _ACEOF
74330 rm -f conftest.$ac_objext conftest$ac_exeext
74331 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74332 (eval $ac_link) 2>conftest.er1
74333 ac_status=$?
74334 grep -v '^ *+' conftest.er1 >conftest.err
74335 rm -f conftest.er1
74336 cat conftest.err >&5
74337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74338 (exit $ac_status); } &&
74339 { ac_try='test -z "$ac_c_werror_flag"
74340 || test ! -s conftest.err'
74341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74342 (eval $ac_try) 2>&5
74343 ac_status=$?
74344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74345 (exit $ac_status); }; } &&
74346 { ac_try='test -s conftest$ac_exeext'
74347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74348 (eval $ac_try) 2>&5
74349 ac_status=$?
74350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74351 (exit $ac_status); }; }; then
74352 ac_cv_lib_m_main=yes
74353 else
74354 echo "$as_me: failed program was:" >&5
74355 sed 's/^/| /' conftest.$ac_ext >&5
74356
74357 ac_cv_lib_m_main=no
74358 fi
74359 rm -f conftest.err conftest.$ac_objext \
74360 conftest$ac_exeext conftest.$ac_ext
74361 LIBS=$ac_check_lib_save_LIBS
74362 fi
74363 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
74364 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
74365 if test $ac_cv_lib_m_main = yes; then
74366 cat >>confdefs.h <<_ACEOF
74367 #define HAVE_LIBM 1
74368 _ACEOF
74369
74370 LIBS="-lm $LIBS"
74371
74372 fi
74373
74374
74375 for ac_func in copysignf
74376 do
74377 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74378 echo "$as_me:$LINENO: checking for $ac_func" >&5
74379 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74380 if eval "test \"\${$as_ac_var+set}\" = set"; then
74381 echo $ECHO_N "(cached) $ECHO_C" >&6
74382 else
74383 if test x$gcc_no_link = xyes; then
74384 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74385 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74386 { (exit 1); exit 1; }; }
74387 fi
74388 cat >conftest.$ac_ext <<_ACEOF
74389 /* confdefs.h. */
74390 _ACEOF
74391 cat confdefs.h >>conftest.$ac_ext
74392 cat >>conftest.$ac_ext <<_ACEOF
74393 /* end confdefs.h. */
74394 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74395 For example, HP-UX 11i <limits.h> declares gettimeofday. */
74396 #define $ac_func innocuous_$ac_func
74397
74398 /* System header to define __stub macros and hopefully few prototypes,
74399 which can conflict with char $ac_func (); below.
74400 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74401 <limits.h> exists even on freestanding compilers. */
74402
74403 #ifdef __STDC__
74404 # include <limits.h>
74405 #else
74406 # include <assert.h>
74407 #endif
74408
74409 #undef $ac_func
74410
74411 /* Override any gcc2 internal prototype to avoid an error. */
74412 #ifdef __cplusplus
74413 extern "C"
74414 {
74415 #endif
74416 /* We use char because int might match the return type of a gcc2
74417 builtin and then its argument prototype would still apply. */
74418 char $ac_func ();
74419 /* The GNU C library defines this for functions which it implements
74420 to always fail with ENOSYS. Some functions are actually named
74421 something starting with __ and the normal name is an alias. */
74422 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74423 choke me
74424 #else
74425 char (*f) () = $ac_func;
74426 #endif
74427 #ifdef __cplusplus
74428 }
74429 #endif
74430
74431 int
74432 main ()
74433 {
74434 return f != $ac_func;
74435 ;
74436 return 0;
74437 }
74438 _ACEOF
74439 rm -f conftest.$ac_objext conftest$ac_exeext
74440 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74441 (eval $ac_link) 2>conftest.er1
74442 ac_status=$?
74443 grep -v '^ *+' conftest.er1 >conftest.err
74444 rm -f conftest.er1
74445 cat conftest.err >&5
74446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74447 (exit $ac_status); } &&
74448 { ac_try='test -z "$ac_c_werror_flag"
74449 || test ! -s conftest.err'
74450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74451 (eval $ac_try) 2>&5
74452 ac_status=$?
74453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74454 (exit $ac_status); }; } &&
74455 { ac_try='test -s conftest$ac_exeext'
74456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74457 (eval $ac_try) 2>&5
74458 ac_status=$?
74459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74460 (exit $ac_status); }; }; then
74461 eval "$as_ac_var=yes"
74462 else
74463 echo "$as_me: failed program was:" >&5
74464 sed 's/^/| /' conftest.$ac_ext >&5
74465
74466 eval "$as_ac_var=no"
74467 fi
74468 rm -f conftest.err conftest.$ac_objext \
74469 conftest$ac_exeext conftest.$ac_ext
74470 fi
74471 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74472 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74473 if test `eval echo '${'$as_ac_var'}'` = yes; then
74474 cat >>confdefs.h <<_ACEOF
74475 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74476 _ACEOF
74477
74478 else
74479 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
74480 fi
74481 done
74482
74483
74484
74485 for ac_func in __signbit
74486 do
74487 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74488 echo "$as_me:$LINENO: checking for $ac_func" >&5
74489 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74490 if eval "test \"\${$as_ac_var+set}\" = set"; then
74491 echo $ECHO_N "(cached) $ECHO_C" >&6
74492 else
74493 if test x$gcc_no_link = xyes; then
74494 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74495 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74496 { (exit 1); exit 1; }; }
74497 fi
74498 cat >conftest.$ac_ext <<_ACEOF
74499 /* confdefs.h. */
74500 _ACEOF
74501 cat confdefs.h >>conftest.$ac_ext
74502 cat >>conftest.$ac_ext <<_ACEOF
74503 /* end confdefs.h. */
74504 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74505 For example, HP-UX 11i <limits.h> declares gettimeofday. */
74506 #define $ac_func innocuous_$ac_func
74507
74508 /* System header to define __stub macros and hopefully few prototypes,
74509 which can conflict with char $ac_func (); below.
74510 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74511 <limits.h> exists even on freestanding compilers. */
74512
74513 #ifdef __STDC__
74514 # include <limits.h>
74515 #else
74516 # include <assert.h>
74517 #endif
74518
74519 #undef $ac_func
74520
74521 /* Override any gcc2 internal prototype to avoid an error. */
74522 #ifdef __cplusplus
74523 extern "C"
74524 {
74525 #endif
74526 /* We use char because int might match the return type of a gcc2
74527 builtin and then its argument prototype would still apply. */
74528 char $ac_func ();
74529 /* The GNU C library defines this for functions which it implements
74530 to always fail with ENOSYS. Some functions are actually named
74531 something starting with __ and the normal name is an alias. */
74532 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74533 choke me
74534 #else
74535 char (*f) () = $ac_func;
74536 #endif
74537 #ifdef __cplusplus
74538 }
74539 #endif
74540
74541 int
74542 main ()
74543 {
74544 return f != $ac_func;
74545 ;
74546 return 0;
74547 }
74548 _ACEOF
74549 rm -f conftest.$ac_objext conftest$ac_exeext
74550 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74551 (eval $ac_link) 2>conftest.er1
74552 ac_status=$?
74553 grep -v '^ *+' conftest.er1 >conftest.err
74554 rm -f conftest.er1
74555 cat conftest.err >&5
74556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74557 (exit $ac_status); } &&
74558 { ac_try='test -z "$ac_c_werror_flag"
74559 || test ! -s conftest.err'
74560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74561 (eval $ac_try) 2>&5
74562 ac_status=$?
74563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74564 (exit $ac_status); }; } &&
74565 { ac_try='test -s conftest$ac_exeext'
74566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74567 (eval $ac_try) 2>&5
74568 ac_status=$?
74569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74570 (exit $ac_status); }; }; then
74571 eval "$as_ac_var=yes"
74572 else
74573 echo "$as_me: failed program was:" >&5
74574 sed 's/^/| /' conftest.$ac_ext >&5
74575
74576 eval "$as_ac_var=no"
74577 fi
74578 rm -f conftest.err conftest.$ac_objext \
74579 conftest$ac_exeext conftest.$ac_ext
74580 fi
74581 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74582 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74583 if test `eval echo '${'$as_ac_var'}'` = yes; then
74584 cat >>confdefs.h <<_ACEOF
74585 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74586 _ACEOF
74587
74588 else
74589 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
74590 fi
74591 done
74592
74593
74594
74595 for ac_func in __signbitf
74596 do
74597 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74598 echo "$as_me:$LINENO: checking for $ac_func" >&5
74599 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74600 if eval "test \"\${$as_ac_var+set}\" = set"; then
74601 echo $ECHO_N "(cached) $ECHO_C" >&6
74602 else
74603 if test x$gcc_no_link = xyes; then
74604 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74605 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74606 { (exit 1); exit 1; }; }
74607 fi
74608 cat >conftest.$ac_ext <<_ACEOF
74609 /* confdefs.h. */
74610 _ACEOF
74611 cat confdefs.h >>conftest.$ac_ext
74612 cat >>conftest.$ac_ext <<_ACEOF
74613 /* end confdefs.h. */
74614 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74615 For example, HP-UX 11i <limits.h> declares gettimeofday. */
74616 #define $ac_func innocuous_$ac_func
74617
74618 /* System header to define __stub macros and hopefully few prototypes,
74619 which can conflict with char $ac_func (); below.
74620 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74621 <limits.h> exists even on freestanding compilers. */
74622
74623 #ifdef __STDC__
74624 # include <limits.h>
74625 #else
74626 # include <assert.h>
74627 #endif
74628
74629 #undef $ac_func
74630
74631 /* Override any gcc2 internal prototype to avoid an error. */
74632 #ifdef __cplusplus
74633 extern "C"
74634 {
74635 #endif
74636 /* We use char because int might match the return type of a gcc2
74637 builtin and then its argument prototype would still apply. */
74638 char $ac_func ();
74639 /* The GNU C library defines this for functions which it implements
74640 to always fail with ENOSYS. Some functions are actually named
74641 something starting with __ and the normal name is an alias. */
74642 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74643 choke me
74644 #else
74645 char (*f) () = $ac_func;
74646 #endif
74647 #ifdef __cplusplus
74648 }
74649 #endif
74650
74651 int
74652 main ()
74653 {
74654 return f != $ac_func;
74655 ;
74656 return 0;
74657 }
74658 _ACEOF
74659 rm -f conftest.$ac_objext conftest$ac_exeext
74660 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74661 (eval $ac_link) 2>conftest.er1
74662 ac_status=$?
74663 grep -v '^ *+' conftest.er1 >conftest.err
74664 rm -f conftest.er1
74665 cat conftest.err >&5
74666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74667 (exit $ac_status); } &&
74668 { ac_try='test -z "$ac_c_werror_flag"
74669 || test ! -s conftest.err'
74670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74671 (eval $ac_try) 2>&5
74672 ac_status=$?
74673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74674 (exit $ac_status); }; } &&
74675 { ac_try='test -s conftest$ac_exeext'
74676 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74677 (eval $ac_try) 2>&5
74678 ac_status=$?
74679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74680 (exit $ac_status); }; }; then
74681 eval "$as_ac_var=yes"
74682 else
74683 echo "$as_me: failed program was:" >&5
74684 sed 's/^/| /' conftest.$ac_ext >&5
74685
74686 eval "$as_ac_var=no"
74687 fi
74688 rm -f conftest.err conftest.$ac_objext \
74689 conftest$ac_exeext conftest.$ac_ext
74690 fi
74691 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74692 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74693 if test `eval echo '${'$as_ac_var'}'` = yes; then
74694 cat >>confdefs.h <<_ACEOF
74695 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74696 _ACEOF
74697
74698 else
74699 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
74700 fi
74701 done
74702
74703
74704 if test x$ac_cv_func_copysignl = x"yes"; then
74705
74706 for ac_func in __signbitl
74707 do
74708 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74709 echo "$as_me:$LINENO: checking for $ac_func" >&5
74710 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74711 if eval "test \"\${$as_ac_var+set}\" = set"; then
74712 echo $ECHO_N "(cached) $ECHO_C" >&6
74713 else
74714 if test x$gcc_no_link = xyes; then
74715 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74716 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74717 { (exit 1); exit 1; }; }
74718 fi
74719 cat >conftest.$ac_ext <<_ACEOF
74720 /* confdefs.h. */
74721 _ACEOF
74722 cat confdefs.h >>conftest.$ac_ext
74723 cat >>conftest.$ac_ext <<_ACEOF
74724 /* end confdefs.h. */
74725 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74726 For example, HP-UX 11i <limits.h> declares gettimeofday. */
74727 #define $ac_func innocuous_$ac_func
74728
74729 /* System header to define __stub macros and hopefully few prototypes,
74730 which can conflict with char $ac_func (); below.
74731 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74732 <limits.h> exists even on freestanding compilers. */
74733
74734 #ifdef __STDC__
74735 # include <limits.h>
74736 #else
74737 # include <assert.h>
74738 #endif
74739
74740 #undef $ac_func
74741
74742 /* Override any gcc2 internal prototype to avoid an error. */
74743 #ifdef __cplusplus
74744 extern "C"
74745 {
74746 #endif
74747 /* We use char because int might match the return type of a gcc2
74748 builtin and then its argument prototype would still apply. */
74749 char $ac_func ();
74750 /* The GNU C library defines this for functions which it implements
74751 to always fail with ENOSYS. Some functions are actually named
74752 something starting with __ and the normal name is an alias. */
74753 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74754 choke me
74755 #else
74756 char (*f) () = $ac_func;
74757 #endif
74758 #ifdef __cplusplus
74759 }
74760 #endif
74761
74762 int
74763 main ()
74764 {
74765 return f != $ac_func;
74766 ;
74767 return 0;
74768 }
74769 _ACEOF
74770 rm -f conftest.$ac_objext conftest$ac_exeext
74771 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74772 (eval $ac_link) 2>conftest.er1
74773 ac_status=$?
74774 grep -v '^ *+' conftest.er1 >conftest.err
74775 rm -f conftest.er1
74776 cat conftest.err >&5
74777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74778 (exit $ac_status); } &&
74779 { ac_try='test -z "$ac_c_werror_flag"
74780 || test ! -s conftest.err'
74781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74782 (eval $ac_try) 2>&5
74783 ac_status=$?
74784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74785 (exit $ac_status); }; } &&
74786 { ac_try='test -s conftest$ac_exeext'
74787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74788 (eval $ac_try) 2>&5
74789 ac_status=$?
74790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74791 (exit $ac_status); }; }; then
74792 eval "$as_ac_var=yes"
74793 else
74794 echo "$as_me: failed program was:" >&5
74795 sed 's/^/| /' conftest.$ac_ext >&5
74796
74797 eval "$as_ac_var=no"
74798 fi
74799 rm -f conftest.err conftest.$ac_objext \
74800 conftest$ac_exeext conftest.$ac_ext
74801 fi
74802 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74803 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74804 if test `eval echo '${'$as_ac_var'}'` = yes; then
74805 cat >>confdefs.h <<_ACEOF
74806 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74807 _ACEOF
74808
74809 else
74810 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
74811 fi
74812 done
74813
74814 fi
74815
74816 # Used in libmath/Makefile.am.
74817 if test -n "$LIBMATHOBJS"; then
74818 need_libmath=yes
74819 fi
74820
74821
74822
74823
74824 enable_iconv=no
74825 # Only continue checking if the ISO C99 headers exist and support is on.
74826 if test x"$enable_wchar_t" = xyes; then
74827
74828 # Use iconv for wchar_t to char conversions. As such, check for
74829 # X/Open Portability Guide, version 2 features (XPG2).
74830 if test "${ac_cv_header_iconv_h+set}" = set; then
74831 echo "$as_me:$LINENO: checking for iconv.h" >&5
74832 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
74833 if test "${ac_cv_header_iconv_h+set}" = set; then
74834 echo $ECHO_N "(cached) $ECHO_C" >&6
74835 fi
74836 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
74837 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
74838 else
74839 # Is the header compilable?
74840 echo "$as_me:$LINENO: checking iconv.h usability" >&5
74841 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
74842 cat >conftest.$ac_ext <<_ACEOF
74843 /* confdefs.h. */
74844 _ACEOF
74845 cat confdefs.h >>conftest.$ac_ext
74846 cat >>conftest.$ac_ext <<_ACEOF
74847 /* end confdefs.h. */
74848 $ac_includes_default
74849 #include <iconv.h>
74850 _ACEOF
74851 rm -f conftest.$ac_objext
74852 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
74853 (eval $ac_compile) 2>conftest.er1
74854 ac_status=$?
74855 grep -v '^ *+' conftest.er1 >conftest.err
74856 rm -f conftest.er1
74857 cat conftest.err >&5
74858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74859 (exit $ac_status); } &&
74860 { ac_try='test -z "$ac_c_werror_flag"
74861 || test ! -s conftest.err'
74862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74863 (eval $ac_try) 2>&5
74864 ac_status=$?
74865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74866 (exit $ac_status); }; } &&
74867 { ac_try='test -s conftest.$ac_objext'
74868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74869 (eval $ac_try) 2>&5
74870 ac_status=$?
74871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74872 (exit $ac_status); }; }; then
74873 ac_header_compiler=yes
74874 else
74875 echo "$as_me: failed program was:" >&5
74876 sed 's/^/| /' conftest.$ac_ext >&5
74877
74878 ac_header_compiler=no
74879 fi
74880 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
74881 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
74882 echo "${ECHO_T}$ac_header_compiler" >&6
74883
74884 # Is the header present?
74885 echo "$as_me:$LINENO: checking iconv.h presence" >&5
74886 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
74887 cat >conftest.$ac_ext <<_ACEOF
74888 /* confdefs.h. */
74889 _ACEOF
74890 cat confdefs.h >>conftest.$ac_ext
74891 cat >>conftest.$ac_ext <<_ACEOF
74892 /* end confdefs.h. */
74893 #include <iconv.h>
74894 _ACEOF
74895 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
74896 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
74897 ac_status=$?
74898 grep -v '^ *+' conftest.er1 >conftest.err
74899 rm -f conftest.er1
74900 cat conftest.err >&5
74901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74902 (exit $ac_status); } >/dev/null; then
74903 if test -s conftest.err; then
74904 ac_cpp_err=$ac_c_preproc_warn_flag
74905 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
74906 else
74907 ac_cpp_err=
74908 fi
74909 else
74910 ac_cpp_err=yes
74911 fi
74912 if test -z "$ac_cpp_err"; then
74913 ac_header_preproc=yes
74914 else
74915 echo "$as_me: failed program was:" >&5
74916 sed 's/^/| /' conftest.$ac_ext >&5
74917
74918 ac_header_preproc=no
74919 fi
74920 rm -f conftest.err conftest.$ac_ext
74921 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
74922 echo "${ECHO_T}$ac_header_preproc" >&6
74923
74924 # So? What about this header?
74925 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
74926 yes:no: )
74927 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
74928 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
74929 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
74930 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
74931 ac_header_preproc=yes
74932 ;;
74933 no:yes:* )
74934 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
74935 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
74936 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
74937 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
74938 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
74939 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
74940 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
74941 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
74942 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
74943 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
74944 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
74945 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
74946 (
74947 cat <<\_ASBOX
74948 ## ----------------------------------------- ##
74949 ## Report this to the package-unused lists. ##
74950 ## ----------------------------------------- ##
74951 _ASBOX
74952 ) |
74953 sed "s/^/$as_me: WARNING: /" >&2
74954 ;;
74955 esac
74956 echo "$as_me:$LINENO: checking for iconv.h" >&5
74957 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
74958 if test "${ac_cv_header_iconv_h+set}" = set; then
74959 echo $ECHO_N "(cached) $ECHO_C" >&6
74960 else
74961 ac_cv_header_iconv_h=$ac_header_preproc
74962 fi
74963 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
74964 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
74965
74966 fi
74967 if test $ac_cv_header_iconv_h = yes; then
74968 ac_has_iconv_h=yes
74969 else
74970 ac_has_iconv_h=no
74971 fi
74972
74973
74974 if test "${ac_cv_header_langinfo_h+set}" = set; then
74975 echo "$as_me:$LINENO: checking for langinfo.h" >&5
74976 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
74977 if test "${ac_cv_header_langinfo_h+set}" = set; then
74978 echo $ECHO_N "(cached) $ECHO_C" >&6
74979 fi
74980 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
74981 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
74982 else
74983 # Is the header compilable?
74984 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
74985 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
74986 cat >conftest.$ac_ext <<_ACEOF
74987 /* confdefs.h. */
74988 _ACEOF
74989 cat confdefs.h >>conftest.$ac_ext
74990 cat >>conftest.$ac_ext <<_ACEOF
74991 /* end confdefs.h. */
74992 $ac_includes_default
74993 #include <langinfo.h>
74994 _ACEOF
74995 rm -f conftest.$ac_objext
74996 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
74997 (eval $ac_compile) 2>conftest.er1
74998 ac_status=$?
74999 grep -v '^ *+' conftest.er1 >conftest.err
75000 rm -f conftest.er1
75001 cat conftest.err >&5
75002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75003 (exit $ac_status); } &&
75004 { ac_try='test -z "$ac_c_werror_flag"
75005 || test ! -s conftest.err'
75006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75007 (eval $ac_try) 2>&5
75008 ac_status=$?
75009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75010 (exit $ac_status); }; } &&
75011 { ac_try='test -s conftest.$ac_objext'
75012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75013 (eval $ac_try) 2>&5
75014 ac_status=$?
75015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75016 (exit $ac_status); }; }; then
75017 ac_header_compiler=yes
75018 else
75019 echo "$as_me: failed program was:" >&5
75020 sed 's/^/| /' conftest.$ac_ext >&5
75021
75022 ac_header_compiler=no
75023 fi
75024 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
75025 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
75026 echo "${ECHO_T}$ac_header_compiler" >&6
75027
75028 # Is the header present?
75029 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
75030 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
75031 cat >conftest.$ac_ext <<_ACEOF
75032 /* confdefs.h. */
75033 _ACEOF
75034 cat confdefs.h >>conftest.$ac_ext
75035 cat >>conftest.$ac_ext <<_ACEOF
75036 /* end confdefs.h. */
75037 #include <langinfo.h>
75038 _ACEOF
75039 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
75040 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
75041 ac_status=$?
75042 grep -v '^ *+' conftest.er1 >conftest.err
75043 rm -f conftest.er1
75044 cat conftest.err >&5
75045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75046 (exit $ac_status); } >/dev/null; then
75047 if test -s conftest.err; then
75048 ac_cpp_err=$ac_c_preproc_warn_flag
75049 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
75050 else
75051 ac_cpp_err=
75052 fi
75053 else
75054 ac_cpp_err=yes
75055 fi
75056 if test -z "$ac_cpp_err"; then
75057 ac_header_preproc=yes
75058 else
75059 echo "$as_me: failed program was:" >&5
75060 sed 's/^/| /' conftest.$ac_ext >&5
75061
75062 ac_header_preproc=no
75063 fi
75064 rm -f conftest.err conftest.$ac_ext
75065 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
75066 echo "${ECHO_T}$ac_header_preproc" >&6
75067
75068 # So? What about this header?
75069 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
75070 yes:no: )
75071 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
75072 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
75073 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
75074 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
75075 ac_header_preproc=yes
75076 ;;
75077 no:yes:* )
75078 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
75079 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
75080 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
75081 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
75082 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
75083 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
75084 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
75085 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
75086 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
75087 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
75088 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
75089 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
75090 (
75091 cat <<\_ASBOX
75092 ## ----------------------------------------- ##
75093 ## Report this to the package-unused lists. ##
75094 ## ----------------------------------------- ##
75095 _ASBOX
75096 ) |
75097 sed "s/^/$as_me: WARNING: /" >&2
75098 ;;
75099 esac
75100 echo "$as_me:$LINENO: checking for langinfo.h" >&5
75101 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
75102 if test "${ac_cv_header_langinfo_h+set}" = set; then
75103 echo $ECHO_N "(cached) $ECHO_C" >&6
75104 else
75105 ac_cv_header_langinfo_h=$ac_header_preproc
75106 fi
75107 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
75108 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
75109
75110 fi
75111 if test $ac_cv_header_langinfo_h = yes; then
75112 ac_has_langinfo_h=yes
75113 else
75114 ac_has_langinfo_h=no
75115 fi
75116
75117
75118
75119 # Check for existence of libiconv.a providing XPG2 wchar_t support.
75120 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
75121 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
75122 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
75123 echo $ECHO_N "(cached) $ECHO_C" >&6
75124 else
75125 ac_check_lib_save_LIBS=$LIBS
75126 LIBS="-liconv $LIBS"
75127 if test x$gcc_no_link = xyes; then
75128 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75129 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75130 { (exit 1); exit 1; }; }
75131 fi
75132 cat >conftest.$ac_ext <<_ACEOF
75133 /* confdefs.h. */
75134 _ACEOF
75135 cat confdefs.h >>conftest.$ac_ext
75136 cat >>conftest.$ac_ext <<_ACEOF
75137 /* end confdefs.h. */
75138
75139 /* Override any gcc2 internal prototype to avoid an error. */
75140 #ifdef __cplusplus
75141 extern "C"
75142 #endif
75143 /* We use char because int might match the return type of a gcc2
75144 builtin and then its argument prototype would still apply. */
75145 char iconv ();
75146 int
75147 main ()
75148 {
75149 iconv ();
75150 ;
75151 return 0;
75152 }
75153 _ACEOF
75154 rm -f conftest.$ac_objext conftest$ac_exeext
75155 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75156 (eval $ac_link) 2>conftest.er1
75157 ac_status=$?
75158 grep -v '^ *+' conftest.er1 >conftest.err
75159 rm -f conftest.er1
75160 cat conftest.err >&5
75161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75162 (exit $ac_status); } &&
75163 { ac_try='test -z "$ac_c_werror_flag"
75164 || test ! -s conftest.err'
75165 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75166 (eval $ac_try) 2>&5
75167 ac_status=$?
75168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75169 (exit $ac_status); }; } &&
75170 { ac_try='test -s conftest$ac_exeext'
75171 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75172 (eval $ac_try) 2>&5
75173 ac_status=$?
75174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75175 (exit $ac_status); }; }; then
75176 ac_cv_lib_iconv_iconv=yes
75177 else
75178 echo "$as_me: failed program was:" >&5
75179 sed 's/^/| /' conftest.$ac_ext >&5
75180
75181 ac_cv_lib_iconv_iconv=no
75182 fi
75183 rm -f conftest.err conftest.$ac_objext \
75184 conftest$ac_exeext conftest.$ac_ext
75185 LIBS=$ac_check_lib_save_LIBS
75186 fi
75187 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
75188 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
75189 if test $ac_cv_lib_iconv_iconv = yes; then
75190 LIBICONV="-liconv"
75191 fi
75192
75193 ac_save_LIBS="$LIBS"
75194 LIBS="$LIBS $LIBICONV"
75195
75196
75197
75198
75199
75200
75201 for ac_func in iconv_open iconv_close iconv nl_langinfo
75202 do
75203 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
75204 echo "$as_me:$LINENO: checking for $ac_func" >&5
75205 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
75206 if eval "test \"\${$as_ac_var+set}\" = set"; then
75207 echo $ECHO_N "(cached) $ECHO_C" >&6
75208 else
75209 if test x$gcc_no_link = xyes; then
75210 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75211 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75212 { (exit 1); exit 1; }; }
75213 fi
75214 cat >conftest.$ac_ext <<_ACEOF
75215 /* confdefs.h. */
75216 _ACEOF
75217 cat confdefs.h >>conftest.$ac_ext
75218 cat >>conftest.$ac_ext <<_ACEOF
75219 /* end confdefs.h. */
75220 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
75221 For example, HP-UX 11i <limits.h> declares gettimeofday. */
75222 #define $ac_func innocuous_$ac_func
75223
75224 /* System header to define __stub macros and hopefully few prototypes,
75225 which can conflict with char $ac_func (); below.
75226 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
75227 <limits.h> exists even on freestanding compilers. */
75228
75229 #ifdef __STDC__
75230 # include <limits.h>
75231 #else
75232 # include <assert.h>
75233 #endif
75234
75235 #undef $ac_func
75236
75237 /* Override any gcc2 internal prototype to avoid an error. */
75238 #ifdef __cplusplus
75239 extern "C"
75240 {
75241 #endif
75242 /* We use char because int might match the return type of a gcc2
75243 builtin and then its argument prototype would still apply. */
75244 char $ac_func ();
75245 /* The GNU C library defines this for functions which it implements
75246 to always fail with ENOSYS. Some functions are actually named
75247 something starting with __ and the normal name is an alias. */
75248 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
75249 choke me
75250 #else
75251 char (*f) () = $ac_func;
75252 #endif
75253 #ifdef __cplusplus
75254 }
75255 #endif
75256
75257 int
75258 main ()
75259 {
75260 return f != $ac_func;
75261 ;
75262 return 0;
75263 }
75264 _ACEOF
75265 rm -f conftest.$ac_objext conftest$ac_exeext
75266 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75267 (eval $ac_link) 2>conftest.er1
75268 ac_status=$?
75269 grep -v '^ *+' conftest.er1 >conftest.err
75270 rm -f conftest.er1
75271 cat conftest.err >&5
75272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75273 (exit $ac_status); } &&
75274 { ac_try='test -z "$ac_c_werror_flag"
75275 || test ! -s conftest.err'
75276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75277 (eval $ac_try) 2>&5
75278 ac_status=$?
75279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75280 (exit $ac_status); }; } &&
75281 { ac_try='test -s conftest$ac_exeext'
75282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75283 (eval $ac_try) 2>&5
75284 ac_status=$?
75285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75286 (exit $ac_status); }; }; then
75287 eval "$as_ac_var=yes"
75288 else
75289 echo "$as_me: failed program was:" >&5
75290 sed 's/^/| /' conftest.$ac_ext >&5
75291
75292 eval "$as_ac_var=no"
75293 fi
75294 rm -f conftest.err conftest.$ac_objext \
75295 conftest$ac_exeext conftest.$ac_ext
75296 fi
75297 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
75298 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
75299 if test `eval echo '${'$as_ac_var'}'` = yes; then
75300 cat >>confdefs.h <<_ACEOF
75301 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
75302 _ACEOF
75303 ac_XPG2funcs=yes
75304 else
75305 ac_XPG2funcs=no
75306 fi
75307 done
75308
75309
75310 LIBS="$ac_save_LIBS"
75311
75312 if test x"$ac_has_iconv_h" = xyes &&
75313 test x"$ac_has_langinfo_h" = xyes &&
75314 test x"$ac_XPG2funcs" = xyes;
75315 then
75316
75317 cat >>confdefs.h <<\_ACEOF
75318 #define _GLIBCXX_USE_ICONV 1
75319 _ACEOF
75320
75321 enable_iconv=yes
75322 fi
75323 fi
75324 echo "$as_me:$LINENO: checking for enabled iconv specializations" >&5
75325 echo $ECHO_N "checking for enabled iconv specializations... $ECHO_C" >&6
75326 echo "$as_me:$LINENO: result: $enable_iconv" >&5
75327 echo "${ECHO_T}$enable_iconv" >&6
75328
75329 cat >>confdefs.h <<\_ACEOF
75330 #define HAVE_LC_MESSAGES 1
75331 _ACEOF
75332
75333 cat >>confdefs.h <<\_ACEOF
75334 #define HAVE_GETPAGESIZE 1
75335 _ACEOF
75336
75337 cat >>confdefs.h <<\_ACEOF
75338 #define HAVE_SETENV 1
75339 _ACEOF
75340
75341 cat >>confdefs.h <<\_ACEOF
75342 #define HAVE_SIGSETJMP 1
75343 _ACEOF
75344
75345 cat >>confdefs.h <<\_ACEOF
75346 #define HAVE_COPYSIGN 1
75347 _ACEOF
75348
75349 cat >>confdefs.h <<\_ACEOF
75350 #define HAVE_COPYSIGNF 1
75351 _ACEOF
75352
75353 cat >>confdefs.h <<\_ACEOF
75354 #define HAVE_FINITEF 1
75355 _ACEOF
75356
75357 cat >>confdefs.h <<\_ACEOF
75358 #define HAVE_FINITE 1
75359 _ACEOF
75360
75361 cat >>confdefs.h <<\_ACEOF
75362 #define HAVE_FREXPF 1
75363 _ACEOF
75364
75365 cat >>confdefs.h <<\_ACEOF
75366 #define HAVE_HYPOT 1
75367 _ACEOF
75368
75369 cat >>confdefs.h <<\_ACEOF
75370 #define HAVE_HYPOTF 1
75371 _ACEOF
75372
75373 cat >>confdefs.h <<\_ACEOF
75374 #define HAVE_ISINF 1
75375 _ACEOF
75376
75377 cat >>confdefs.h <<\_ACEOF
75378 #define HAVE_ISNAN 1
75379 _ACEOF
75380
75381 cat >>confdefs.h <<\_ACEOF
75382 #define HAVE_ISNANF 1
75383 _ACEOF
75384
75385
75386 cat >>confdefs.h <<\_ACEOF
75387 #define HAVE_MMAP 1
75388 _ACEOF
75389
75390 cat >>confdefs.h <<\_ACEOF
75391 #define HAVE_ACOSF 1
75392 _ACEOF
75393
75394 cat >>confdefs.h <<\_ACEOF
75395 #define HAVE_ASINF 1
75396 _ACEOF
75397
75398 cat >>confdefs.h <<\_ACEOF
75399 #define HAVE_ATAN2F 1
75400 _ACEOF
75401
75402 cat >>confdefs.h <<\_ACEOF
75403 #define HAVE_ATANF 1
75404 _ACEOF
75405
75406 cat >>confdefs.h <<\_ACEOF
75407 #define HAVE_CEILF 1
75408 _ACEOF
75409
75410 cat >>confdefs.h <<\_ACEOF
75411 #define HAVE_COPYSIGN 1
75412 _ACEOF
75413
75414 cat >>confdefs.h <<\_ACEOF
75415 #define HAVE_COPYSIGNF 1
75416 _ACEOF
75417
75418 cat >>confdefs.h <<\_ACEOF
75419 #define HAVE_COSF 1
75420 _ACEOF
75421
75422 cat >>confdefs.h <<\_ACEOF
75423 #define HAVE_COSHF 1
75424 _ACEOF
75425
75426 cat >>confdefs.h <<\_ACEOF
75427 #define HAVE_EXPF 1
75428 _ACEOF
75429
75430 cat >>confdefs.h <<\_ACEOF
75431 #define HAVE_FABSF 1
75432 _ACEOF
75433
75434 cat >>confdefs.h <<\_ACEOF
75435 #define HAVE_FLOORF 1
75436 _ACEOF
75437
75438 cat >>confdefs.h <<\_ACEOF
75439 #define HAVE_FMODF 1
75440 _ACEOF
75441
75442 cat >>confdefs.h <<\_ACEOF
75443 #define HAVE_FREXPF 1
75444 _ACEOF
75445
75446 cat >>confdefs.h <<\_ACEOF
75447 #define HAVE_LDEXPF 1
75448 _ACEOF
75449
75450 cat >>confdefs.h <<\_ACEOF
75451 #define HAVE_LOG10F 1
75452 _ACEOF
75453
75454 cat >>confdefs.h <<\_ACEOF
75455 #define HAVE_LOGF 1
75456 _ACEOF
75457
75458 cat >>confdefs.h <<\_ACEOF
75459 #define HAVE_MODFF 1
75460 _ACEOF
75461
75462 cat >>confdefs.h <<\_ACEOF
75463 #define HAVE_POWF 1
75464 _ACEOF
75465
75466 cat >>confdefs.h <<\_ACEOF
75467 #define HAVE_SINF 1
75468 _ACEOF
75469
75470 cat >>confdefs.h <<\_ACEOF
75471 #define HAVE_SINHF 1
75472 _ACEOF
75473
75474 cat >>confdefs.h <<\_ACEOF
75475 #define HAVE_SQRTF 1
75476 _ACEOF
75477
75478 cat >>confdefs.h <<\_ACEOF
75479 #define HAVE_TANF 1
75480 _ACEOF
75481
75482 cat >>confdefs.h <<\_ACEOF
75483 #define HAVE_TANHF 1
75484 _ACEOF
75485
75486 if test x"long_double_math_on_this_cpu" = x"yes"; then
75487 cat >>confdefs.h <<\_ACEOF
75488 #define HAVE_FINITEL 1
75489 _ACEOF
75490
75491 cat >>confdefs.h <<\_ACEOF
75492 #define HAVE_ISINFL 1
75493 _ACEOF
75494
75495 cat >>confdefs.h <<\_ACEOF
75496 #define HAVE_ISNANL 1
75497 _ACEOF
75498
75499 fi
75500 ;;
75501 *-hpux*)
75502
75503
75504
75505
75506
75507
75508
75509
75510
75511
75512
75513
75514 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
75515 machine/endian.h machine/param.h sys/machine.h sys/types.h \
75516 fp.h locale.h float.h inttypes.h
75517 do
75518 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
75519 if eval "test \"\${$as_ac_Header+set}\" = set"; then
75520 echo "$as_me:$LINENO: checking for $ac_header" >&5
75521 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
75522 if eval "test \"\${$as_ac_Header+set}\" = set"; then
75523 echo $ECHO_N "(cached) $ECHO_C" >&6
75524 fi
75525 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
75526 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
75527 else
75528 # Is the header compilable?
75529 echo "$as_me:$LINENO: checking $ac_header usability" >&5
75530 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
75531 cat >conftest.$ac_ext <<_ACEOF
75532 /* confdefs.h. */
75533 _ACEOF
75534 cat confdefs.h >>conftest.$ac_ext
75535 cat >>conftest.$ac_ext <<_ACEOF
75536 /* end confdefs.h. */
75537 $ac_includes_default
75538 #include <$ac_header>
75539 _ACEOF
75540 rm -f conftest.$ac_objext
75541 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
75542 (eval $ac_compile) 2>conftest.er1
75543 ac_status=$?
75544 grep -v '^ *+' conftest.er1 >conftest.err
75545 rm -f conftest.er1
75546 cat conftest.err >&5
75547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75548 (exit $ac_status); } &&
75549 { ac_try='test -z "$ac_c_werror_flag"
75550 || test ! -s conftest.err'
75551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75552 (eval $ac_try) 2>&5
75553 ac_status=$?
75554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75555 (exit $ac_status); }; } &&
75556 { ac_try='test -s conftest.$ac_objext'
75557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75558 (eval $ac_try) 2>&5
75559 ac_status=$?
75560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75561 (exit $ac_status); }; }; then
75562 ac_header_compiler=yes
75563 else
75564 echo "$as_me: failed program was:" >&5
75565 sed 's/^/| /' conftest.$ac_ext >&5
75566
75567 ac_header_compiler=no
75568 fi
75569 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
75570 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
75571 echo "${ECHO_T}$ac_header_compiler" >&6
75572
75573 # Is the header present?
75574 echo "$as_me:$LINENO: checking $ac_header presence" >&5
75575 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
75576 cat >conftest.$ac_ext <<_ACEOF
75577 /* confdefs.h. */
75578 _ACEOF
75579 cat confdefs.h >>conftest.$ac_ext
75580 cat >>conftest.$ac_ext <<_ACEOF
75581 /* end confdefs.h. */
75582 #include <$ac_header>
75583 _ACEOF
75584 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
75585 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
75586 ac_status=$?
75587 grep -v '^ *+' conftest.er1 >conftest.err
75588 rm -f conftest.er1
75589 cat conftest.err >&5
75590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75591 (exit $ac_status); } >/dev/null; then
75592 if test -s conftest.err; then
75593 ac_cpp_err=$ac_c_preproc_warn_flag
75594 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
75595 else
75596 ac_cpp_err=
75597 fi
75598 else
75599 ac_cpp_err=yes
75600 fi
75601 if test -z "$ac_cpp_err"; then
75602 ac_header_preproc=yes
75603 else
75604 echo "$as_me: failed program was:" >&5
75605 sed 's/^/| /' conftest.$ac_ext >&5
75606
75607 ac_header_preproc=no
75608 fi
75609 rm -f conftest.err conftest.$ac_ext
75610 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
75611 echo "${ECHO_T}$ac_header_preproc" >&6
75612
75613 # So? What about this header?
75614 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
75615 yes:no: )
75616 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
75617 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
75618 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
75619 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
75620 ac_header_preproc=yes
75621 ;;
75622 no:yes:* )
75623 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
75624 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
75625 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
75626 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
75627 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
75628 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
75629 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
75630 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
75631 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
75632 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
75633 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
75634 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
75635 (
75636 cat <<\_ASBOX
75637 ## ----------------------------------------- ##
75638 ## Report this to the package-unused lists. ##
75639 ## ----------------------------------------- ##
75640 _ASBOX
75641 ) |
75642 sed "s/^/$as_me: WARNING: /" >&2
75643 ;;
75644 esac
75645 echo "$as_me:$LINENO: checking for $ac_header" >&5
75646 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
75647 if eval "test \"\${$as_ac_Header+set}\" = set"; then
75648 echo $ECHO_N "(cached) $ECHO_C" >&6
75649 else
75650 eval "$as_ac_Header=\$ac_header_preproc"
75651 fi
75652 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
75653 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
75654
75655 fi
75656 if test `eval echo '${'$as_ac_Header'}'` = yes; then
75657 cat >>confdefs.h <<_ACEOF
75658 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
75659 _ACEOF
75660
75661 fi
75662
75663 done
75664
75665 SECTION_FLAGS='-ffunction-sections -fdata-sections'
75666
75667
75668 # If we're not using GNU ld, then there's no point in even trying these
75669 # tests. Check for that first. We should have already tested for gld
75670 # by now (in libtool), but require it now just to be safe...
75671 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
75672 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
75673
75674
75675
75676 # The name set by libtool depends on the version of libtool. Shame on us
75677 # for depending on an impl detail, but c'est la vie. Older versions used
75678 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
75679 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
75680 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
75681 # set (hence we're using an older libtool), then set it.
75682 if test x${with_gnu_ld+set} != xset; then
75683 if test x${ac_cv_prog_gnu_ld+set} != xset; then
75684 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
75685 with_gnu_ld=no
75686 else
75687 with_gnu_ld=$ac_cv_prog_gnu_ld
75688 fi
75689 fi
75690
75691 # Start by getting the version number. I think the libtool test already
75692 # does some of this, but throws away the result.
75693
75694 ldver=`$LD --version 2>/dev/null | head -1 | \
75695 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
75696
75697 glibcxx_gnu_ld_version=`echo $ldver | \
75698 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
75699
75700 # Set --gc-sections.
75701 if test "$with_gnu_ld" = "notbroken"; then
75702 # GNU ld it is! Joy and bunny rabbits!
75703
75704 # All these tests are for C++; save the language and the compiler flags.
75705 # Need to do this so that g++ won't try to link in libstdc++
75706 ac_test_CFLAGS="${CFLAGS+set}"
75707 ac_save_CFLAGS="$CFLAGS"
75708 CFLAGS='-x c++ -Wl,--gc-sections'
75709
75710 # Check for -Wl,--gc-sections
75711 # XXX This test is broken at the moment, as symbols required for linking
75712 # are now in libsupc++ (not built yet). In addition, this test has
75713 # cored on solaris in the past. In addition, --gc-sections doesn't
75714 # really work at the moment (keeps on discarding used sections, first
75715 # .eh_frame and now some of the glibc sections for iconv).
75716 # Bzzzzt. Thanks for playing, maybe next time.
75717 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
75718 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
75719 if test "$cross_compiling" = yes; then
75720 ac_sectionLDflags=yes
75721 else
75722 cat >conftest.$ac_ext <<_ACEOF
75723 /* confdefs.h. */
75724 _ACEOF
75725 cat confdefs.h >>conftest.$ac_ext
75726 cat >>conftest.$ac_ext <<_ACEOF
75727 /* end confdefs.h. */
75728
75729 int main(void)
75730 {
75731 try { throw 1; }
75732 catch (...) { };
75733 return 0;
75734 }
75735
75736 _ACEOF
75737 rm -f conftest$ac_exeext
75738 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75739 (eval $ac_link) 2>&5
75740 ac_status=$?
75741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75742 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
75743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75744 (eval $ac_try) 2>&5
75745 ac_status=$?
75746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75747 (exit $ac_status); }; }; then
75748 ac_sectionLDflags=yes
75749 else
75750 echo "$as_me: program exited with status $ac_status" >&5
75751 echo "$as_me: failed program was:" >&5
75752 sed 's/^/| /' conftest.$ac_ext >&5
75753
75754 ( exit $ac_status )
75755 ac_sectionLDflags=no
75756 fi
75757 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
75758 fi
75759 if test "$ac_test_CFLAGS" = set; then
75760 CFLAGS="$ac_save_CFLAGS"
75761 else
75762 # this is the suspicious part
75763 CFLAGS=''
75764 fi
75765 if test "$ac_sectionLDflags" = "yes"; then
75766 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
75767 fi
75768 echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
75769 echo "${ECHO_T}$ac_sectionLDflags" >&6
75770 fi
75771
75772 # Set linker optimization flags.
75773 if test x"$with_gnu_ld" = x"yes"; then
75774 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
75775 fi
75776
75777
75778
75779
75780
75781
75782 echo "$as_me:$LINENO: checking for main in -lm" >&5
75783 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
75784 if test "${ac_cv_lib_m_main+set}" = set; then
75785 echo $ECHO_N "(cached) $ECHO_C" >&6
75786 else
75787 ac_check_lib_save_LIBS=$LIBS
75788 LIBS="-lm $LIBS"
75789 if test x$gcc_no_link = xyes; then
75790 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75791 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75792 { (exit 1); exit 1; }; }
75793 fi
75794 cat >conftest.$ac_ext <<_ACEOF
75795 /* confdefs.h. */
75796 _ACEOF
75797 cat confdefs.h >>conftest.$ac_ext
75798 cat >>conftest.$ac_ext <<_ACEOF
75799 /* end confdefs.h. */
75800
75801
75802 int
75803 main ()
75804 {
75805 main ();
75806 ;
75807 return 0;
75808 }
75809 _ACEOF
75810 rm -f conftest.$ac_objext conftest$ac_exeext
75811 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75812 (eval $ac_link) 2>conftest.er1
75813 ac_status=$?
75814 grep -v '^ *+' conftest.er1 >conftest.err
75815 rm -f conftest.er1
75816 cat conftest.err >&5
75817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75818 (exit $ac_status); } &&
75819 { ac_try='test -z "$ac_c_werror_flag"
75820 || test ! -s conftest.err'
75821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75822 (eval $ac_try) 2>&5
75823 ac_status=$?
75824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75825 (exit $ac_status); }; } &&
75826 { ac_try='test -s conftest$ac_exeext'
75827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75828 (eval $ac_try) 2>&5
75829 ac_status=$?
75830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75831 (exit $ac_status); }; }; then
75832 ac_cv_lib_m_main=yes
75833 else
75834 echo "$as_me: failed program was:" >&5
75835 sed 's/^/| /' conftest.$ac_ext >&5
75836
75837 ac_cv_lib_m_main=no
75838 fi
75839 rm -f conftest.err conftest.$ac_objext \
75840 conftest$ac_exeext conftest.$ac_ext
75841 LIBS=$ac_check_lib_save_LIBS
75842 fi
75843 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
75844 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
75845 if test $ac_cv_lib_m_main = yes; then
75846 cat >>confdefs.h <<_ACEOF
75847 #define HAVE_LIBM 1
75848 _ACEOF
75849
75850 LIBS="-lm $LIBS"
75851
75852 fi
75853
75854
75855 for ac_func in copysignf
75856 do
75857 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
75858 echo "$as_me:$LINENO: checking for $ac_func" >&5
75859 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
75860 if eval "test \"\${$as_ac_var+set}\" = set"; then
75861 echo $ECHO_N "(cached) $ECHO_C" >&6
75862 else
75863 if test x$gcc_no_link = xyes; then
75864 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75865 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75866 { (exit 1); exit 1; }; }
75867 fi
75868 cat >conftest.$ac_ext <<_ACEOF
75869 /* confdefs.h. */
75870 _ACEOF
75871 cat confdefs.h >>conftest.$ac_ext
75872 cat >>conftest.$ac_ext <<_ACEOF
75873 /* end confdefs.h. */
75874 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
75875 For example, HP-UX 11i <limits.h> declares gettimeofday. */
75876 #define $ac_func innocuous_$ac_func
75877
75878 /* System header to define __stub macros and hopefully few prototypes,
75879 which can conflict with char $ac_func (); below.
75880 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
75881 <limits.h> exists even on freestanding compilers. */
75882
75883 #ifdef __STDC__
75884 # include <limits.h>
75885 #else
75886 # include <assert.h>
75887 #endif
75888
75889 #undef $ac_func
75890
75891 /* Override any gcc2 internal prototype to avoid an error. */
75892 #ifdef __cplusplus
75893 extern "C"
75894 {
75895 #endif
75896 /* We use char because int might match the return type of a gcc2
75897 builtin and then its argument prototype would still apply. */
75898 char $ac_func ();
75899 /* The GNU C library defines this for functions which it implements
75900 to always fail with ENOSYS. Some functions are actually named
75901 something starting with __ and the normal name is an alias. */
75902 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
75903 choke me
75904 #else
75905 char (*f) () = $ac_func;
75906 #endif
75907 #ifdef __cplusplus
75908 }
75909 #endif
75910
75911 int
75912 main ()
75913 {
75914 return f != $ac_func;
75915 ;
75916 return 0;
75917 }
75918 _ACEOF
75919 rm -f conftest.$ac_objext conftest$ac_exeext
75920 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75921 (eval $ac_link) 2>conftest.er1
75922 ac_status=$?
75923 grep -v '^ *+' conftest.er1 >conftest.err
75924 rm -f conftest.er1
75925 cat conftest.err >&5
75926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75927 (exit $ac_status); } &&
75928 { ac_try='test -z "$ac_c_werror_flag"
75929 || test ! -s conftest.err'
75930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75931 (eval $ac_try) 2>&5
75932 ac_status=$?
75933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75934 (exit $ac_status); }; } &&
75935 { ac_try='test -s conftest$ac_exeext'
75936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75937 (eval $ac_try) 2>&5
75938 ac_status=$?
75939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75940 (exit $ac_status); }; }; then
75941 eval "$as_ac_var=yes"
75942 else
75943 echo "$as_me: failed program was:" >&5
75944 sed 's/^/| /' conftest.$ac_ext >&5
75945
75946 eval "$as_ac_var=no"
75947 fi
75948 rm -f conftest.err conftest.$ac_objext \
75949 conftest$ac_exeext conftest.$ac_ext
75950 fi
75951 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
75952 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
75953 if test `eval echo '${'$as_ac_var'}'` = yes; then
75954 cat >>confdefs.h <<_ACEOF
75955 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
75956 _ACEOF
75957
75958 else
75959 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
75960 fi
75961 done
75962
75963
75964
75965 for ac_func in __signbit
75966 do
75967 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
75968 echo "$as_me:$LINENO: checking for $ac_func" >&5
75969 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
75970 if eval "test \"\${$as_ac_var+set}\" = set"; then
75971 echo $ECHO_N "(cached) $ECHO_C" >&6
75972 else
75973 if test x$gcc_no_link = xyes; then
75974 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75975 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75976 { (exit 1); exit 1; }; }
75977 fi
75978 cat >conftest.$ac_ext <<_ACEOF
75979 /* confdefs.h. */
75980 _ACEOF
75981 cat confdefs.h >>conftest.$ac_ext
75982 cat >>conftest.$ac_ext <<_ACEOF
75983 /* end confdefs.h. */
75984 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
75985 For example, HP-UX 11i <limits.h> declares gettimeofday. */
75986 #define $ac_func innocuous_$ac_func
75987
75988 /* System header to define __stub macros and hopefully few prototypes,
75989 which can conflict with char $ac_func (); below.
75990 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
75991 <limits.h> exists even on freestanding compilers. */
75992
75993 #ifdef __STDC__
75994 # include <limits.h>
75995 #else
75996 # include <assert.h>
75997 #endif
75998
75999 #undef $ac_func
76000
76001 /* Override any gcc2 internal prototype to avoid an error. */
76002 #ifdef __cplusplus
76003 extern "C"
76004 {
76005 #endif
76006 /* We use char because int might match the return type of a gcc2
76007 builtin and then its argument prototype would still apply. */
76008 char $ac_func ();
76009 /* The GNU C library defines this for functions which it implements
76010 to always fail with ENOSYS. Some functions are actually named
76011 something starting with __ and the normal name is an alias. */
76012 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
76013 choke me
76014 #else
76015 char (*f) () = $ac_func;
76016 #endif
76017 #ifdef __cplusplus
76018 }
76019 #endif
76020
76021 int
76022 main ()
76023 {
76024 return f != $ac_func;
76025 ;
76026 return 0;
76027 }
76028 _ACEOF
76029 rm -f conftest.$ac_objext conftest$ac_exeext
76030 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76031 (eval $ac_link) 2>conftest.er1
76032 ac_status=$?
76033 grep -v '^ *+' conftest.er1 >conftest.err
76034 rm -f conftest.er1
76035 cat conftest.err >&5
76036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76037 (exit $ac_status); } &&
76038 { ac_try='test -z "$ac_c_werror_flag"
76039 || test ! -s conftest.err'
76040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76041 (eval $ac_try) 2>&5
76042 ac_status=$?
76043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76044 (exit $ac_status); }; } &&
76045 { ac_try='test -s conftest$ac_exeext'
76046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76047 (eval $ac_try) 2>&5
76048 ac_status=$?
76049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76050 (exit $ac_status); }; }; then
76051 eval "$as_ac_var=yes"
76052 else
76053 echo "$as_me: failed program was:" >&5
76054 sed 's/^/| /' conftest.$ac_ext >&5
76055
76056 eval "$as_ac_var=no"
76057 fi
76058 rm -f conftest.err conftest.$ac_objext \
76059 conftest$ac_exeext conftest.$ac_ext
76060 fi
76061 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
76062 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
76063 if test `eval echo '${'$as_ac_var'}'` = yes; then
76064 cat >>confdefs.h <<_ACEOF
76065 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
76066 _ACEOF
76067
76068 else
76069 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
76070 fi
76071 done
76072
76073
76074
76075 for ac_func in __signbitf
76076 do
76077 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
76078 echo "$as_me:$LINENO: checking for $ac_func" >&5
76079 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
76080 if eval "test \"\${$as_ac_var+set}\" = set"; then
76081 echo $ECHO_N "(cached) $ECHO_C" >&6
76082 else
76083 if test x$gcc_no_link = xyes; then
76084 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76085 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76086 { (exit 1); exit 1; }; }
76087 fi
76088 cat >conftest.$ac_ext <<_ACEOF
76089 /* confdefs.h. */
76090 _ACEOF
76091 cat confdefs.h >>conftest.$ac_ext
76092 cat >>conftest.$ac_ext <<_ACEOF
76093 /* end confdefs.h. */
76094 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
76095 For example, HP-UX 11i <limits.h> declares gettimeofday. */
76096 #define $ac_func innocuous_$ac_func
76097
76098 /* System header to define __stub macros and hopefully few prototypes,
76099 which can conflict with char $ac_func (); below.
76100 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
76101 <limits.h> exists even on freestanding compilers. */
76102
76103 #ifdef __STDC__
76104 # include <limits.h>
76105 #else
76106 # include <assert.h>
76107 #endif
76108
76109 #undef $ac_func
76110
76111 /* Override any gcc2 internal prototype to avoid an error. */
76112 #ifdef __cplusplus
76113 extern "C"
76114 {
76115 #endif
76116 /* We use char because int might match the return type of a gcc2
76117 builtin and then its argument prototype would still apply. */
76118 char $ac_func ();
76119 /* The GNU C library defines this for functions which it implements
76120 to always fail with ENOSYS. Some functions are actually named
76121 something starting with __ and the normal name is an alias. */
76122 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
76123 choke me
76124 #else
76125 char (*f) () = $ac_func;
76126 #endif
76127 #ifdef __cplusplus
76128 }
76129 #endif
76130
76131 int
76132 main ()
76133 {
76134 return f != $ac_func;
76135 ;
76136 return 0;
76137 }
76138 _ACEOF
76139 rm -f conftest.$ac_objext conftest$ac_exeext
76140 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76141 (eval $ac_link) 2>conftest.er1
76142 ac_status=$?
76143 grep -v '^ *+' conftest.er1 >conftest.err
76144 rm -f conftest.er1
76145 cat conftest.err >&5
76146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76147 (exit $ac_status); } &&
76148 { ac_try='test -z "$ac_c_werror_flag"
76149 || test ! -s conftest.err'
76150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76151 (eval $ac_try) 2>&5
76152 ac_status=$?
76153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76154 (exit $ac_status); }; } &&
76155 { ac_try='test -s conftest$ac_exeext'
76156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76157 (eval $ac_try) 2>&5
76158 ac_status=$?
76159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76160 (exit $ac_status); }; }; then
76161 eval "$as_ac_var=yes"
76162 else
76163 echo "$as_me: failed program was:" >&5
76164 sed 's/^/| /' conftest.$ac_ext >&5
76165
76166 eval "$as_ac_var=no"
76167 fi
76168 rm -f conftest.err conftest.$ac_objext \
76169 conftest$ac_exeext conftest.$ac_ext
76170 fi
76171 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
76172 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
76173 if test `eval echo '${'$as_ac_var'}'` = yes; then
76174 cat >>confdefs.h <<_ACEOF
76175 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
76176 _ACEOF
76177
76178 else
76179 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
76180 fi
76181 done
76182
76183
76184 if test x$ac_cv_func_copysignl = x"yes"; then
76185
76186 for ac_func in __signbitl
76187 do
76188 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
76189 echo "$as_me:$LINENO: checking for $ac_func" >&5
76190 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
76191 if eval "test \"\${$as_ac_var+set}\" = set"; then
76192 echo $ECHO_N "(cached) $ECHO_C" >&6
76193 else
76194 if test x$gcc_no_link = xyes; then
76195 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76196 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76197 { (exit 1); exit 1; }; }
76198 fi
76199 cat >conftest.$ac_ext <<_ACEOF
76200 /* confdefs.h. */
76201 _ACEOF
76202 cat confdefs.h >>conftest.$ac_ext
76203 cat >>conftest.$ac_ext <<_ACEOF
76204 /* end confdefs.h. */
76205 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
76206 For example, HP-UX 11i <limits.h> declares gettimeofday. */
76207 #define $ac_func innocuous_$ac_func
76208
76209 /* System header to define __stub macros and hopefully few prototypes,
76210 which can conflict with char $ac_func (); below.
76211 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
76212 <limits.h> exists even on freestanding compilers. */
76213
76214 #ifdef __STDC__
76215 # include <limits.h>
76216 #else
76217 # include <assert.h>
76218 #endif
76219
76220 #undef $ac_func
76221
76222 /* Override any gcc2 internal prototype to avoid an error. */
76223 #ifdef __cplusplus
76224 extern "C"
76225 {
76226 #endif
76227 /* We use char because int might match the return type of a gcc2
76228 builtin and then its argument prototype would still apply. */
76229 char $ac_func ();
76230 /* The GNU C library defines this for functions which it implements
76231 to always fail with ENOSYS. Some functions are actually named
76232 something starting with __ and the normal name is an alias. */
76233 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
76234 choke me
76235 #else
76236 char (*f) () = $ac_func;
76237 #endif
76238 #ifdef __cplusplus
76239 }
76240 #endif
76241
76242 int
76243 main ()
76244 {
76245 return f != $ac_func;
76246 ;
76247 return 0;
76248 }
76249 _ACEOF
76250 rm -f conftest.$ac_objext conftest$ac_exeext
76251 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76252 (eval $ac_link) 2>conftest.er1
76253 ac_status=$?
76254 grep -v '^ *+' conftest.er1 >conftest.err
76255 rm -f conftest.er1
76256 cat conftest.err >&5
76257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76258 (exit $ac_status); } &&
76259 { ac_try='test -z "$ac_c_werror_flag"
76260 || test ! -s conftest.err'
76261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76262 (eval $ac_try) 2>&5
76263 ac_status=$?
76264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76265 (exit $ac_status); }; } &&
76266 { ac_try='test -s conftest$ac_exeext'
76267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76268 (eval $ac_try) 2>&5
76269 ac_status=$?
76270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76271 (exit $ac_status); }; }; then
76272 eval "$as_ac_var=yes"
76273 else
76274 echo "$as_me: failed program was:" >&5
76275 sed 's/^/| /' conftest.$ac_ext >&5
76276
76277 eval "$as_ac_var=no"
76278 fi
76279 rm -f conftest.err conftest.$ac_objext \
76280 conftest$ac_exeext conftest.$ac_ext
76281 fi
76282 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
76283 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
76284 if test `eval echo '${'$as_ac_var'}'` = yes; then
76285 cat >>confdefs.h <<_ACEOF
76286 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
76287 _ACEOF
76288
76289 else
76290 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
76291 fi
76292 done
76293
76294 fi
76295
76296 # Used in libmath/Makefile.am.
76297 if test -n "$LIBMATHOBJS"; then
76298 need_libmath=yes
76299 fi
76300
76301
76302
76303
76304 enable_iconv=no
76305 # Only continue checking if the ISO C99 headers exist and support is on.
76306 if test x"$enable_wchar_t" = xyes; then
76307
76308 # Use iconv for wchar_t to char conversions. As such, check for
76309 # X/Open Portability Guide, version 2 features (XPG2).
76310 if test "${ac_cv_header_iconv_h+set}" = set; then
76311 echo "$as_me:$LINENO: checking for iconv.h" >&5
76312 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
76313 if test "${ac_cv_header_iconv_h+set}" = set; then
76314 echo $ECHO_N "(cached) $ECHO_C" >&6
76315 fi
76316 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
76317 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
76318 else
76319 # Is the header compilable?
76320 echo "$as_me:$LINENO: checking iconv.h usability" >&5
76321 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
76322 cat >conftest.$ac_ext <<_ACEOF
76323 /* confdefs.h. */
76324 _ACEOF
76325 cat confdefs.h >>conftest.$ac_ext
76326 cat >>conftest.$ac_ext <<_ACEOF
76327 /* end confdefs.h. */
76328 $ac_includes_default
76329 #include <iconv.h>
76330 _ACEOF
76331 rm -f conftest.$ac_objext
76332 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
76333 (eval $ac_compile) 2>conftest.er1
76334 ac_status=$?
76335 grep -v '^ *+' conftest.er1 >conftest.err
76336 rm -f conftest.er1
76337 cat conftest.err >&5
76338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76339 (exit $ac_status); } &&
76340 { ac_try='test -z "$ac_c_werror_flag"
76341 || test ! -s conftest.err'
76342 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76343 (eval $ac_try) 2>&5
76344 ac_status=$?
76345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76346 (exit $ac_status); }; } &&
76347 { ac_try='test -s conftest.$ac_objext'
76348 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76349 (eval $ac_try) 2>&5
76350 ac_status=$?
76351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76352 (exit $ac_status); }; }; then
76353 ac_header_compiler=yes
76354 else
76355 echo "$as_me: failed program was:" >&5
76356 sed 's/^/| /' conftest.$ac_ext >&5
76357
76358 ac_header_compiler=no
76359 fi
76360 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
76361 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
76362 echo "${ECHO_T}$ac_header_compiler" >&6
76363
76364 # Is the header present?
76365 echo "$as_me:$LINENO: checking iconv.h presence" >&5
76366 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
76367 cat >conftest.$ac_ext <<_ACEOF
76368 /* confdefs.h. */
76369 _ACEOF
76370 cat confdefs.h >>conftest.$ac_ext
76371 cat >>conftest.$ac_ext <<_ACEOF
76372 /* end confdefs.h. */
76373 #include <iconv.h>
76374 _ACEOF
76375 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
76376 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
76377 ac_status=$?
76378 grep -v '^ *+' conftest.er1 >conftest.err
76379 rm -f conftest.er1
76380 cat conftest.err >&5
76381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76382 (exit $ac_status); } >/dev/null; then
76383 if test -s conftest.err; then
76384 ac_cpp_err=$ac_c_preproc_warn_flag
76385 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
76386 else
76387 ac_cpp_err=
76388 fi
76389 else
76390 ac_cpp_err=yes
76391 fi
76392 if test -z "$ac_cpp_err"; then
76393 ac_header_preproc=yes
76394 else
76395 echo "$as_me: failed program was:" >&5
76396 sed 's/^/| /' conftest.$ac_ext >&5
76397
76398 ac_header_preproc=no
76399 fi
76400 rm -f conftest.err conftest.$ac_ext
76401 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
76402 echo "${ECHO_T}$ac_header_preproc" >&6
76403
76404 # So? What about this header?
76405 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
76406 yes:no: )
76407 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
76408 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
76409 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
76410 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
76411 ac_header_preproc=yes
76412 ;;
76413 no:yes:* )
76414 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
76415 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
76416 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
76417 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
76418 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
76419 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
76420 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
76421 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
76422 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
76423 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
76424 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
76425 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
76426 (
76427 cat <<\_ASBOX
76428 ## ----------------------------------------- ##
76429 ## Report this to the package-unused lists. ##
76430 ## ----------------------------------------- ##
76431 _ASBOX
76432 ) |
76433 sed "s/^/$as_me: WARNING: /" >&2
76434 ;;
76435 esac
76436 echo "$as_me:$LINENO: checking for iconv.h" >&5
76437 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
76438 if test "${ac_cv_header_iconv_h+set}" = set; then
76439 echo $ECHO_N "(cached) $ECHO_C" >&6
76440 else
76441 ac_cv_header_iconv_h=$ac_header_preproc
76442 fi
76443 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
76444 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
76445
76446 fi
76447 if test $ac_cv_header_iconv_h = yes; then
76448 ac_has_iconv_h=yes
76449 else
76450 ac_has_iconv_h=no
76451 fi
76452
76453
76454 if test "${ac_cv_header_langinfo_h+set}" = set; then
76455 echo "$as_me:$LINENO: checking for langinfo.h" >&5
76456 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
76457 if test "${ac_cv_header_langinfo_h+set}" = set; then
76458 echo $ECHO_N "(cached) $ECHO_C" >&6
76459 fi
76460 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
76461 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
76462 else
76463 # Is the header compilable?
76464 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
76465 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
76466 cat >conftest.$ac_ext <<_ACEOF
76467 /* confdefs.h. */
76468 _ACEOF
76469 cat confdefs.h >>conftest.$ac_ext
76470 cat >>conftest.$ac_ext <<_ACEOF
76471 /* end confdefs.h. */
76472 $ac_includes_default
76473 #include <langinfo.h>
76474 _ACEOF
76475 rm -f conftest.$ac_objext
76476 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
76477 (eval $ac_compile) 2>conftest.er1
76478 ac_status=$?
76479 grep -v '^ *+' conftest.er1 >conftest.err
76480 rm -f conftest.er1
76481 cat conftest.err >&5
76482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76483 (exit $ac_status); } &&
76484 { ac_try='test -z "$ac_c_werror_flag"
76485 || test ! -s conftest.err'
76486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76487 (eval $ac_try) 2>&5
76488 ac_status=$?
76489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76490 (exit $ac_status); }; } &&
76491 { ac_try='test -s conftest.$ac_objext'
76492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76493 (eval $ac_try) 2>&5
76494 ac_status=$?
76495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76496 (exit $ac_status); }; }; then
76497 ac_header_compiler=yes
76498 else
76499 echo "$as_me: failed program was:" >&5
76500 sed 's/^/| /' conftest.$ac_ext >&5
76501
76502 ac_header_compiler=no
76503 fi
76504 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
76505 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
76506 echo "${ECHO_T}$ac_header_compiler" >&6
76507
76508 # Is the header present?
76509 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
76510 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
76511 cat >conftest.$ac_ext <<_ACEOF
76512 /* confdefs.h. */
76513 _ACEOF
76514 cat confdefs.h >>conftest.$ac_ext
76515 cat >>conftest.$ac_ext <<_ACEOF
76516 /* end confdefs.h. */
76517 #include <langinfo.h>
76518 _ACEOF
76519 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
76520 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
76521 ac_status=$?
76522 grep -v '^ *+' conftest.er1 >conftest.err
76523 rm -f conftest.er1
76524 cat conftest.err >&5
76525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76526 (exit $ac_status); } >/dev/null; then
76527 if test -s conftest.err; then
76528 ac_cpp_err=$ac_c_preproc_warn_flag
76529 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
76530 else
76531 ac_cpp_err=
76532 fi
76533 else
76534 ac_cpp_err=yes
76535 fi
76536 if test -z "$ac_cpp_err"; then
76537 ac_header_preproc=yes
76538 else
76539 echo "$as_me: failed program was:" >&5
76540 sed 's/^/| /' conftest.$ac_ext >&5
76541
76542 ac_header_preproc=no
76543 fi
76544 rm -f conftest.err conftest.$ac_ext
76545 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
76546 echo "${ECHO_T}$ac_header_preproc" >&6
76547
76548 # So? What about this header?
76549 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
76550 yes:no: )
76551 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
76552 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
76553 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
76554 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
76555 ac_header_preproc=yes
76556 ;;
76557 no:yes:* )
76558 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
76559 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
76560 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
76561 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
76562 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
76563 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
76564 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
76565 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
76566 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
76567 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
76568 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
76569 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
76570 (
76571 cat <<\_ASBOX
76572 ## ----------------------------------------- ##
76573 ## Report this to the package-unused lists. ##
76574 ## ----------------------------------------- ##
76575 _ASBOX
76576 ) |
76577 sed "s/^/$as_me: WARNING: /" >&2
76578 ;;
76579 esac
76580 echo "$as_me:$LINENO: checking for langinfo.h" >&5
76581 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
76582 if test "${ac_cv_header_langinfo_h+set}" = set; then
76583 echo $ECHO_N "(cached) $ECHO_C" >&6
76584 else
76585 ac_cv_header_langinfo_h=$ac_header_preproc
76586 fi
76587 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
76588 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
76589
76590 fi
76591 if test $ac_cv_header_langinfo_h = yes; then
76592 ac_has_langinfo_h=yes
76593 else
76594 ac_has_langinfo_h=no
76595 fi
76596
76597
76598
76599 # Check for existence of libiconv.a providing XPG2 wchar_t support.
76600 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
76601 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
76602 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
76603 echo $ECHO_N "(cached) $ECHO_C" >&6
76604 else
76605 ac_check_lib_save_LIBS=$LIBS
76606 LIBS="-liconv $LIBS"
76607 if test x$gcc_no_link = xyes; then
76608 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76609 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76610 { (exit 1); exit 1; }; }
76611 fi
76612 cat >conftest.$ac_ext <<_ACEOF
76613 /* confdefs.h. */
76614 _ACEOF
76615 cat confdefs.h >>conftest.$ac_ext
76616 cat >>conftest.$ac_ext <<_ACEOF
76617 /* end confdefs.h. */
76618
76619 /* Override any gcc2 internal prototype to avoid an error. */
76620 #ifdef __cplusplus
76621 extern "C"
76622 #endif
76623 /* We use char because int might match the return type of a gcc2
76624 builtin and then its argument prototype would still apply. */
76625 char iconv ();
76626 int
76627 main ()
76628 {
76629 iconv ();
76630 ;
76631 return 0;
76632 }
76633 _ACEOF
76634 rm -f conftest.$ac_objext conftest$ac_exeext
76635 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76636 (eval $ac_link) 2>conftest.er1
76637 ac_status=$?
76638 grep -v '^ *+' conftest.er1 >conftest.err
76639 rm -f conftest.er1
76640 cat conftest.err >&5
76641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76642 (exit $ac_status); } &&
76643 { ac_try='test -z "$ac_c_werror_flag"
76644 || test ! -s conftest.err'
76645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76646 (eval $ac_try) 2>&5
76647 ac_status=$?
76648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76649 (exit $ac_status); }; } &&
76650 { ac_try='test -s conftest$ac_exeext'
76651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76652 (eval $ac_try) 2>&5
76653 ac_status=$?
76654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76655 (exit $ac_status); }; }; then
76656 ac_cv_lib_iconv_iconv=yes
76657 else
76658 echo "$as_me: failed program was:" >&5
76659 sed 's/^/| /' conftest.$ac_ext >&5
76660
76661 ac_cv_lib_iconv_iconv=no
76662 fi
76663 rm -f conftest.err conftest.$ac_objext \
76664 conftest$ac_exeext conftest.$ac_ext
76665 LIBS=$ac_check_lib_save_LIBS
76666 fi
76667 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
76668 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
76669 if test $ac_cv_lib_iconv_iconv = yes; then
76670 LIBICONV="-liconv"
76671 fi
76672
76673 ac_save_LIBS="$LIBS"
76674 LIBS="$LIBS $LIBICONV"
76675
76676
76677
76678
76679
76680
76681 for ac_func in iconv_open iconv_close iconv nl_langinfo
76682 do
76683 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
76684 echo "$as_me:$LINENO: checking for $ac_func" >&5
76685 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
76686 if eval "test \"\${$as_ac_var+set}\" = set"; then
76687 echo $ECHO_N "(cached) $ECHO_C" >&6
76688 else
76689 if test x$gcc_no_link = xyes; then
76690 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76691 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76692 { (exit 1); exit 1; }; }
76693 fi
76694 cat >conftest.$ac_ext <<_ACEOF
76695 /* confdefs.h. */
76696 _ACEOF
76697 cat confdefs.h >>conftest.$ac_ext
76698 cat >>conftest.$ac_ext <<_ACEOF
76699 /* end confdefs.h. */
76700 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
76701 For example, HP-UX 11i <limits.h> declares gettimeofday. */
76702 #define $ac_func innocuous_$ac_func
76703
76704 /* System header to define __stub macros and hopefully few prototypes,
76705 which can conflict with char $ac_func (); below.
76706 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
76707 <limits.h> exists even on freestanding compilers. */
76708
76709 #ifdef __STDC__
76710 # include <limits.h>
76711 #else
76712 # include <assert.h>
76713 #endif
76714
76715 #undef $ac_func
76716
76717 /* Override any gcc2 internal prototype to avoid an error. */
76718 #ifdef __cplusplus
76719 extern "C"
76720 {
76721 #endif
76722 /* We use char because int might match the return type of a gcc2
76723 builtin and then its argument prototype would still apply. */
76724 char $ac_func ();
76725 /* The GNU C library defines this for functions which it implements
76726 to always fail with ENOSYS. Some functions are actually named
76727 something starting with __ and the normal name is an alias. */
76728 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
76729 choke me
76730 #else
76731 char (*f) () = $ac_func;
76732 #endif
76733 #ifdef __cplusplus
76734 }
76735 #endif
76736
76737 int
76738 main ()
76739 {
76740 return f != $ac_func;
76741 ;
76742 return 0;
76743 }
76744 _ACEOF
76745 rm -f conftest.$ac_objext conftest$ac_exeext
76746 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76747 (eval $ac_link) 2>conftest.er1
76748 ac_status=$?
76749 grep -v '^ *+' conftest.er1 >conftest.err
76750 rm -f conftest.er1
76751 cat conftest.err >&5
76752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76753 (exit $ac_status); } &&
76754 { ac_try='test -z "$ac_c_werror_flag"
76755 || test ! -s conftest.err'
76756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76757 (eval $ac_try) 2>&5
76758 ac_status=$?
76759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76760 (exit $ac_status); }; } &&
76761 { ac_try='test -s conftest$ac_exeext'
76762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76763 (eval $ac_try) 2>&5
76764 ac_status=$?
76765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76766 (exit $ac_status); }; }; then
76767 eval "$as_ac_var=yes"
76768 else
76769 echo "$as_me: failed program was:" >&5
76770 sed 's/^/| /' conftest.$ac_ext >&5
76771
76772 eval "$as_ac_var=no"
76773 fi
76774 rm -f conftest.err conftest.$ac_objext \
76775 conftest$ac_exeext conftest.$ac_ext
76776 fi
76777 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
76778 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
76779 if test `eval echo '${'$as_ac_var'}'` = yes; then
76780 cat >>confdefs.h <<_ACEOF
76781 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
76782 _ACEOF
76783 ac_XPG2funcs=yes
76784 else
76785 ac_XPG2funcs=no
76786 fi
76787 done
76788
76789
76790 LIBS="$ac_save_LIBS"
76791
76792 if test x"$ac_has_iconv_h" = xyes &&
76793 test x"$ac_has_langinfo_h" = xyes &&
76794 test x"$ac_XPG2funcs" = xyes;
76795 then
76796
76797 cat >>confdefs.h <<\_ACEOF
76798 #define _GLIBCXX_USE_ICONV 1
76799 _ACEOF
76800
76801 enable_iconv=yes
76802 fi
76803 fi
76804 echo "$as_me:$LINENO: checking for enabled iconv specializations" >&5
76805 echo $ECHO_N "checking for enabled iconv specializations... $ECHO_C" >&6
76806 echo "$as_me:$LINENO: result: $enable_iconv" >&5
76807 echo "${ECHO_T}$enable_iconv" >&6
76808
76809 cat >>confdefs.h <<\_ACEOF
76810 #define HAVE_COPYSIGN 1
76811 _ACEOF
76812
76813 cat >>confdefs.h <<\_ACEOF
76814 #define HAVE_COPYSIGNF 1
76815 _ACEOF
76816
76817 cat >>confdefs.h <<\_ACEOF
76818 #define HAVE_FREXPF 1
76819 _ACEOF
76820
76821 cat >>confdefs.h <<\_ACEOF
76822 #define HAVE_HYPOT 1
76823 _ACEOF
76824
76825 case "$target" in
76826 *-hpux10*)
76827 cat >>confdefs.h <<\_ACEOF
76828 #define HAVE_FINITE 1
76829 _ACEOF
76830
76831 cat >>confdefs.h <<\_ACEOF
76832 #define HAVE_FINITEF 1
76833 _ACEOF
76834
76835 cat >>confdefs.h <<\_ACEOF
76836 #define HAVE_ISINF 1
76837 _ACEOF
76838
76839 cat >>confdefs.h <<\_ACEOF
76840 #define HAVE_ISINFF 1
76841 _ACEOF
76842
76843 cat >>confdefs.h <<\_ACEOF
76844 #define HAVE_ISNAN 1
76845 _ACEOF
76846
76847 cat >>confdefs.h <<\_ACEOF
76848 #define HAVE_ISNANF 1
76849 _ACEOF
76850
76851 ;;
76852 esac
76853 ;;
76854 *-linux* | *-uclinux* | *-gnu* | *-kfreebsd*-gnu | *-knetbsd*-gnu)
76855
76856
76857
76858
76859
76860
76861
76862
76863
76864
76865
76866
76867
76868
76869
76870 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
76871 machine/endian.h machine/param.h sys/machine.h sys/types.h \
76872 fp.h float.h endian.h inttypes.h locale.h float.h stdint.h
76873 do
76874 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
76875 if eval "test \"\${$as_ac_Header+set}\" = set"; then
76876 echo "$as_me:$LINENO: checking for $ac_header" >&5
76877 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
76878 if eval "test \"\${$as_ac_Header+set}\" = set"; then
76879 echo $ECHO_N "(cached) $ECHO_C" >&6
76880 fi
76881 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
76882 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
76883 else
76884 # Is the header compilable?
76885 echo "$as_me:$LINENO: checking $ac_header usability" >&5
76886 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
76887 cat >conftest.$ac_ext <<_ACEOF
76888 /* confdefs.h. */
76889 _ACEOF
76890 cat confdefs.h >>conftest.$ac_ext
76891 cat >>conftest.$ac_ext <<_ACEOF
76892 /* end confdefs.h. */
76893 $ac_includes_default
76894 #include <$ac_header>
76895 _ACEOF
76896 rm -f conftest.$ac_objext
76897 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
76898 (eval $ac_compile) 2>conftest.er1
76899 ac_status=$?
76900 grep -v '^ *+' conftest.er1 >conftest.err
76901 rm -f conftest.er1
76902 cat conftest.err >&5
76903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76904 (exit $ac_status); } &&
76905 { ac_try='test -z "$ac_c_werror_flag"
76906 || test ! -s conftest.err'
76907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76908 (eval $ac_try) 2>&5
76909 ac_status=$?
76910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76911 (exit $ac_status); }; } &&
76912 { ac_try='test -s conftest.$ac_objext'
76913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76914 (eval $ac_try) 2>&5
76915 ac_status=$?
76916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76917 (exit $ac_status); }; }; then
76918 ac_header_compiler=yes
76919 else
76920 echo "$as_me: failed program was:" >&5
76921 sed 's/^/| /' conftest.$ac_ext >&5
76922
76923 ac_header_compiler=no
76924 fi
76925 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
76926 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
76927 echo "${ECHO_T}$ac_header_compiler" >&6
76928
76929 # Is the header present?
76930 echo "$as_me:$LINENO: checking $ac_header presence" >&5
76931 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
76932 cat >conftest.$ac_ext <<_ACEOF
76933 /* confdefs.h. */
76934 _ACEOF
76935 cat confdefs.h >>conftest.$ac_ext
76936 cat >>conftest.$ac_ext <<_ACEOF
76937 /* end confdefs.h. */
76938 #include <$ac_header>
76939 _ACEOF
76940 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
76941 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
76942 ac_status=$?
76943 grep -v '^ *+' conftest.er1 >conftest.err
76944 rm -f conftest.er1
76945 cat conftest.err >&5
76946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76947 (exit $ac_status); } >/dev/null; then
76948 if test -s conftest.err; then
76949 ac_cpp_err=$ac_c_preproc_warn_flag
76950 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
76951 else
76952 ac_cpp_err=
76953 fi
76954 else
76955 ac_cpp_err=yes
76956 fi
76957 if test -z "$ac_cpp_err"; then
76958 ac_header_preproc=yes
76959 else
76960 echo "$as_me: failed program was:" >&5
76961 sed 's/^/| /' conftest.$ac_ext >&5
76962
76963 ac_header_preproc=no
76964 fi
76965 rm -f conftest.err conftest.$ac_ext
76966 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
76967 echo "${ECHO_T}$ac_header_preproc" >&6
76968
76969 # So? What about this header?
76970 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
76971 yes:no: )
76972 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
76973 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
76974 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
76975 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
76976 ac_header_preproc=yes
76977 ;;
76978 no:yes:* )
76979 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
76980 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
76981 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
76982 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
76983 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
76984 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
76985 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
76986 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
76987 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
76988 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
76989 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
76990 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
76991 (
76992 cat <<\_ASBOX
76993 ## ----------------------------------------- ##
76994 ## Report this to the package-unused lists. ##
76995 ## ----------------------------------------- ##
76996 _ASBOX
76997 ) |
76998 sed "s/^/$as_me: WARNING: /" >&2
76999 ;;
77000 esac
77001 echo "$as_me:$LINENO: checking for $ac_header" >&5
77002 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
77003 if eval "test \"\${$as_ac_Header+set}\" = set"; then
77004 echo $ECHO_N "(cached) $ECHO_C" >&6
77005 else
77006 eval "$as_ac_Header=\$ac_header_preproc"
77007 fi
77008 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
77009 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
77010
77011 fi
77012 if test `eval echo '${'$as_ac_Header'}'` = yes; then
77013 cat >>confdefs.h <<_ACEOF
77014 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
77015 _ACEOF
77016
77017 fi
77018
77019 done
77020
77021 SECTION_FLAGS='-ffunction-sections -fdata-sections'
77022
77023
77024 # If we're not using GNU ld, then there's no point in even trying these
77025 # tests. Check for that first. We should have already tested for gld
77026 # by now (in libtool), but require it now just to be safe...
77027 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
77028 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
77029
77030
77031
77032 # The name set by libtool depends on the version of libtool. Shame on us
77033 # for depending on an impl detail, but c'est la vie. Older versions used
77034 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
77035 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
77036 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
77037 # set (hence we're using an older libtool), then set it.
77038 if test x${with_gnu_ld+set} != xset; then
77039 if test x${ac_cv_prog_gnu_ld+set} != xset; then
77040 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
77041 with_gnu_ld=no
77042 else
77043 with_gnu_ld=$ac_cv_prog_gnu_ld
77044 fi
77045 fi
77046
77047 # Start by getting the version number. I think the libtool test already
77048 # does some of this, but throws away the result.
77049
77050 ldver=`$LD --version 2>/dev/null | head -1 | \
77051 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
77052
77053 glibcxx_gnu_ld_version=`echo $ldver | \
77054 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
77055
77056 # Set --gc-sections.
77057 if test "$with_gnu_ld" = "notbroken"; then
77058 # GNU ld it is! Joy and bunny rabbits!
77059
77060 # All these tests are for C++; save the language and the compiler flags.
77061 # Need to do this so that g++ won't try to link in libstdc++
77062 ac_test_CFLAGS="${CFLAGS+set}"
77063 ac_save_CFLAGS="$CFLAGS"
77064 CFLAGS='-x c++ -Wl,--gc-sections'
77065
77066 # Check for -Wl,--gc-sections
77067 # XXX This test is broken at the moment, as symbols required for linking
77068 # are now in libsupc++ (not built yet). In addition, this test has
77069 # cored on solaris in the past. In addition, --gc-sections doesn't
77070 # really work at the moment (keeps on discarding used sections, first
77071 # .eh_frame and now some of the glibc sections for iconv).
77072 # Bzzzzt. Thanks for playing, maybe next time.
77073 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
77074 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
77075 if test "$cross_compiling" = yes; then
77076 ac_sectionLDflags=yes
77077 else
77078 cat >conftest.$ac_ext <<_ACEOF
77079 /* confdefs.h. */
77080 _ACEOF
77081 cat confdefs.h >>conftest.$ac_ext
77082 cat >>conftest.$ac_ext <<_ACEOF
77083 /* end confdefs.h. */
77084
77085 int main(void)
77086 {
77087 try { throw 1; }
77088 catch (...) { };
77089 return 0;
77090 }
77091
77092 _ACEOF
77093 rm -f conftest$ac_exeext
77094 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77095 (eval $ac_link) 2>&5
77096 ac_status=$?
77097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77098 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
77099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77100 (eval $ac_try) 2>&5
77101 ac_status=$?
77102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77103 (exit $ac_status); }; }; then
77104 ac_sectionLDflags=yes
77105 else
77106 echo "$as_me: program exited with status $ac_status" >&5
77107 echo "$as_me: failed program was:" >&5
77108 sed 's/^/| /' conftest.$ac_ext >&5
77109
77110 ( exit $ac_status )
77111 ac_sectionLDflags=no
77112 fi
77113 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
77114 fi
77115 if test "$ac_test_CFLAGS" = set; then
77116 CFLAGS="$ac_save_CFLAGS"
77117 else
77118 # this is the suspicious part
77119 CFLAGS=''
77120 fi
77121 if test "$ac_sectionLDflags" = "yes"; then
77122 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
77123 fi
77124 echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
77125 echo "${ECHO_T}$ac_sectionLDflags" >&6
77126 fi
77127
77128 # Set linker optimization flags.
77129 if test x"$with_gnu_ld" = x"yes"; then
77130 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
77131 fi
77132
77133
77134
77135
77136
77137
77138 echo "$as_me:$LINENO: checking for main in -lm" >&5
77139 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
77140 if test "${ac_cv_lib_m_main+set}" = set; then
77141 echo $ECHO_N "(cached) $ECHO_C" >&6
77142 else
77143 ac_check_lib_save_LIBS=$LIBS
77144 LIBS="-lm $LIBS"
77145 if test x$gcc_no_link = xyes; then
77146 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77147 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77148 { (exit 1); exit 1; }; }
77149 fi
77150 cat >conftest.$ac_ext <<_ACEOF
77151 /* confdefs.h. */
77152 _ACEOF
77153 cat confdefs.h >>conftest.$ac_ext
77154 cat >>conftest.$ac_ext <<_ACEOF
77155 /* end confdefs.h. */
77156
77157
77158 int
77159 main ()
77160 {
77161 main ();
77162 ;
77163 return 0;
77164 }
77165 _ACEOF
77166 rm -f conftest.$ac_objext conftest$ac_exeext
77167 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77168 (eval $ac_link) 2>conftest.er1
77169 ac_status=$?
77170 grep -v '^ *+' conftest.er1 >conftest.err
77171 rm -f conftest.er1
77172 cat conftest.err >&5
77173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77174 (exit $ac_status); } &&
77175 { ac_try='test -z "$ac_c_werror_flag"
77176 || test ! -s conftest.err'
77177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77178 (eval $ac_try) 2>&5
77179 ac_status=$?
77180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77181 (exit $ac_status); }; } &&
77182 { ac_try='test -s conftest$ac_exeext'
77183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77184 (eval $ac_try) 2>&5
77185 ac_status=$?
77186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77187 (exit $ac_status); }; }; then
77188 ac_cv_lib_m_main=yes
77189 else
77190 echo "$as_me: failed program was:" >&5
77191 sed 's/^/| /' conftest.$ac_ext >&5
77192
77193 ac_cv_lib_m_main=no
77194 fi
77195 rm -f conftest.err conftest.$ac_objext \
77196 conftest$ac_exeext conftest.$ac_ext
77197 LIBS=$ac_check_lib_save_LIBS
77198 fi
77199 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
77200 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
77201 if test $ac_cv_lib_m_main = yes; then
77202 cat >>confdefs.h <<_ACEOF
77203 #define HAVE_LIBM 1
77204 _ACEOF
77205
77206 LIBS="-lm $LIBS"
77207
77208 fi
77209
77210
77211 for ac_func in copysignf
77212 do
77213 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77214 echo "$as_me:$LINENO: checking for $ac_func" >&5
77215 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77216 if eval "test \"\${$as_ac_var+set}\" = set"; then
77217 echo $ECHO_N "(cached) $ECHO_C" >&6
77218 else
77219 if test x$gcc_no_link = xyes; then
77220 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77221 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77222 { (exit 1); exit 1; }; }
77223 fi
77224 cat >conftest.$ac_ext <<_ACEOF
77225 /* confdefs.h. */
77226 _ACEOF
77227 cat confdefs.h >>conftest.$ac_ext
77228 cat >>conftest.$ac_ext <<_ACEOF
77229 /* end confdefs.h. */
77230 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77231 For example, HP-UX 11i <limits.h> declares gettimeofday. */
77232 #define $ac_func innocuous_$ac_func
77233
77234 /* System header to define __stub macros and hopefully few prototypes,
77235 which can conflict with char $ac_func (); below.
77236 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77237 <limits.h> exists even on freestanding compilers. */
77238
77239 #ifdef __STDC__
77240 # include <limits.h>
77241 #else
77242 # include <assert.h>
77243 #endif
77244
77245 #undef $ac_func
77246
77247 /* Override any gcc2 internal prototype to avoid an error. */
77248 #ifdef __cplusplus
77249 extern "C"
77250 {
77251 #endif
77252 /* We use char because int might match the return type of a gcc2
77253 builtin and then its argument prototype would still apply. */
77254 char $ac_func ();
77255 /* The GNU C library defines this for functions which it implements
77256 to always fail with ENOSYS. Some functions are actually named
77257 something starting with __ and the normal name is an alias. */
77258 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77259 choke me
77260 #else
77261 char (*f) () = $ac_func;
77262 #endif
77263 #ifdef __cplusplus
77264 }
77265 #endif
77266
77267 int
77268 main ()
77269 {
77270 return f != $ac_func;
77271 ;
77272 return 0;
77273 }
77274 _ACEOF
77275 rm -f conftest.$ac_objext conftest$ac_exeext
77276 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77277 (eval $ac_link) 2>conftest.er1
77278 ac_status=$?
77279 grep -v '^ *+' conftest.er1 >conftest.err
77280 rm -f conftest.er1
77281 cat conftest.err >&5
77282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77283 (exit $ac_status); } &&
77284 { ac_try='test -z "$ac_c_werror_flag"
77285 || test ! -s conftest.err'
77286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77287 (eval $ac_try) 2>&5
77288 ac_status=$?
77289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77290 (exit $ac_status); }; } &&
77291 { ac_try='test -s conftest$ac_exeext'
77292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77293 (eval $ac_try) 2>&5
77294 ac_status=$?
77295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77296 (exit $ac_status); }; }; then
77297 eval "$as_ac_var=yes"
77298 else
77299 echo "$as_me: failed program was:" >&5
77300 sed 's/^/| /' conftest.$ac_ext >&5
77301
77302 eval "$as_ac_var=no"
77303 fi
77304 rm -f conftest.err conftest.$ac_objext \
77305 conftest$ac_exeext conftest.$ac_ext
77306 fi
77307 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
77308 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
77309 if test `eval echo '${'$as_ac_var'}'` = yes; then
77310 cat >>confdefs.h <<_ACEOF
77311 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
77312 _ACEOF
77313
77314 else
77315 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
77316 fi
77317 done
77318
77319
77320
77321 for ac_func in __signbit
77322 do
77323 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77324 echo "$as_me:$LINENO: checking for $ac_func" >&5
77325 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77326 if eval "test \"\${$as_ac_var+set}\" = set"; then
77327 echo $ECHO_N "(cached) $ECHO_C" >&6
77328 else
77329 if test x$gcc_no_link = xyes; then
77330 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77331 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77332 { (exit 1); exit 1; }; }
77333 fi
77334 cat >conftest.$ac_ext <<_ACEOF
77335 /* confdefs.h. */
77336 _ACEOF
77337 cat confdefs.h >>conftest.$ac_ext
77338 cat >>conftest.$ac_ext <<_ACEOF
77339 /* end confdefs.h. */
77340 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77341 For example, HP-UX 11i <limits.h> declares gettimeofday. */
77342 #define $ac_func innocuous_$ac_func
77343
77344 /* System header to define __stub macros and hopefully few prototypes,
77345 which can conflict with char $ac_func (); below.
77346 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77347 <limits.h> exists even on freestanding compilers. */
77348
77349 #ifdef __STDC__
77350 # include <limits.h>
77351 #else
77352 # include <assert.h>
77353 #endif
77354
77355 #undef $ac_func
77356
77357 /* Override any gcc2 internal prototype to avoid an error. */
77358 #ifdef __cplusplus
77359 extern "C"
77360 {
77361 #endif
77362 /* We use char because int might match the return type of a gcc2
77363 builtin and then its argument prototype would still apply. */
77364 char $ac_func ();
77365 /* The GNU C library defines this for functions which it implements
77366 to always fail with ENOSYS. Some functions are actually named
77367 something starting with __ and the normal name is an alias. */
77368 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77369 choke me
77370 #else
77371 char (*f) () = $ac_func;
77372 #endif
77373 #ifdef __cplusplus
77374 }
77375 #endif
77376
77377 int
77378 main ()
77379 {
77380 return f != $ac_func;
77381 ;
77382 return 0;
77383 }
77384 _ACEOF
77385 rm -f conftest.$ac_objext conftest$ac_exeext
77386 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77387 (eval $ac_link) 2>conftest.er1
77388 ac_status=$?
77389 grep -v '^ *+' conftest.er1 >conftest.err
77390 rm -f conftest.er1
77391 cat conftest.err >&5
77392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77393 (exit $ac_status); } &&
77394 { ac_try='test -z "$ac_c_werror_flag"
77395 || test ! -s conftest.err'
77396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77397 (eval $ac_try) 2>&5
77398 ac_status=$?
77399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77400 (exit $ac_status); }; } &&
77401 { ac_try='test -s conftest$ac_exeext'
77402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77403 (eval $ac_try) 2>&5
77404 ac_status=$?
77405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77406 (exit $ac_status); }; }; then
77407 eval "$as_ac_var=yes"
77408 else
77409 echo "$as_me: failed program was:" >&5
77410 sed 's/^/| /' conftest.$ac_ext >&5
77411
77412 eval "$as_ac_var=no"
77413 fi
77414 rm -f conftest.err conftest.$ac_objext \
77415 conftest$ac_exeext conftest.$ac_ext
77416 fi
77417 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
77418 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
77419 if test `eval echo '${'$as_ac_var'}'` = yes; then
77420 cat >>confdefs.h <<_ACEOF
77421 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
77422 _ACEOF
77423
77424 else
77425 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
77426 fi
77427 done
77428
77429
77430
77431 for ac_func in __signbitf
77432 do
77433 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77434 echo "$as_me:$LINENO: checking for $ac_func" >&5
77435 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77436 if eval "test \"\${$as_ac_var+set}\" = set"; then
77437 echo $ECHO_N "(cached) $ECHO_C" >&6
77438 else
77439 if test x$gcc_no_link = xyes; then
77440 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77441 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77442 { (exit 1); exit 1; }; }
77443 fi
77444 cat >conftest.$ac_ext <<_ACEOF
77445 /* confdefs.h. */
77446 _ACEOF
77447 cat confdefs.h >>conftest.$ac_ext
77448 cat >>conftest.$ac_ext <<_ACEOF
77449 /* end confdefs.h. */
77450 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77451 For example, HP-UX 11i <limits.h> declares gettimeofday. */
77452 #define $ac_func innocuous_$ac_func
77453
77454 /* System header to define __stub macros and hopefully few prototypes,
77455 which can conflict with char $ac_func (); below.
77456 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77457 <limits.h> exists even on freestanding compilers. */
77458
77459 #ifdef __STDC__
77460 # include <limits.h>
77461 #else
77462 # include <assert.h>
77463 #endif
77464
77465 #undef $ac_func
77466
77467 /* Override any gcc2 internal prototype to avoid an error. */
77468 #ifdef __cplusplus
77469 extern "C"
77470 {
77471 #endif
77472 /* We use char because int might match the return type of a gcc2
77473 builtin and then its argument prototype would still apply. */
77474 char $ac_func ();
77475 /* The GNU C library defines this for functions which it implements
77476 to always fail with ENOSYS. Some functions are actually named
77477 something starting with __ and the normal name is an alias. */
77478 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77479 choke me
77480 #else
77481 char (*f) () = $ac_func;
77482 #endif
77483 #ifdef __cplusplus
77484 }
77485 #endif
77486
77487 int
77488 main ()
77489 {
77490 return f != $ac_func;
77491 ;
77492 return 0;
77493 }
77494 _ACEOF
77495 rm -f conftest.$ac_objext conftest$ac_exeext
77496 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77497 (eval $ac_link) 2>conftest.er1
77498 ac_status=$?
77499 grep -v '^ *+' conftest.er1 >conftest.err
77500 rm -f conftest.er1
77501 cat conftest.err >&5
77502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77503 (exit $ac_status); } &&
77504 { ac_try='test -z "$ac_c_werror_flag"
77505 || test ! -s conftest.err'
77506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77507 (eval $ac_try) 2>&5
77508 ac_status=$?
77509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77510 (exit $ac_status); }; } &&
77511 { ac_try='test -s conftest$ac_exeext'
77512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77513 (eval $ac_try) 2>&5
77514 ac_status=$?
77515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77516 (exit $ac_status); }; }; then
77517 eval "$as_ac_var=yes"
77518 else
77519 echo "$as_me: failed program was:" >&5
77520 sed 's/^/| /' conftest.$ac_ext >&5
77521
77522 eval "$as_ac_var=no"
77523 fi
77524 rm -f conftest.err conftest.$ac_objext \
77525 conftest$ac_exeext conftest.$ac_ext
77526 fi
77527 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
77528 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
77529 if test `eval echo '${'$as_ac_var'}'` = yes; then
77530 cat >>confdefs.h <<_ACEOF
77531 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
77532 _ACEOF
77533
77534 else
77535 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
77536 fi
77537 done
77538
77539
77540 if test x$ac_cv_func_copysignl = x"yes"; then
77541
77542 for ac_func in __signbitl
77543 do
77544 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77545 echo "$as_me:$LINENO: checking for $ac_func" >&5
77546 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77547 if eval "test \"\${$as_ac_var+set}\" = set"; then
77548 echo $ECHO_N "(cached) $ECHO_C" >&6
77549 else
77550 if test x$gcc_no_link = xyes; then
77551 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77552 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77553 { (exit 1); exit 1; }; }
77554 fi
77555 cat >conftest.$ac_ext <<_ACEOF
77556 /* confdefs.h. */
77557 _ACEOF
77558 cat confdefs.h >>conftest.$ac_ext
77559 cat >>conftest.$ac_ext <<_ACEOF
77560 /* end confdefs.h. */
77561 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77562 For example, HP-UX 11i <limits.h> declares gettimeofday. */
77563 #define $ac_func innocuous_$ac_func
77564
77565 /* System header to define __stub macros and hopefully few prototypes,
77566 which can conflict with char $ac_func (); below.
77567 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77568 <limits.h> exists even on freestanding compilers. */
77569
77570 #ifdef __STDC__
77571 # include <limits.h>
77572 #else
77573 # include <assert.h>
77574 #endif
77575
77576 #undef $ac_func
77577
77578 /* Override any gcc2 internal prototype to avoid an error. */
77579 #ifdef __cplusplus
77580 extern "C"
77581 {
77582 #endif
77583 /* We use char because int might match the return type of a gcc2
77584 builtin and then its argument prototype would still apply. */
77585 char $ac_func ();
77586 /* The GNU C library defines this for functions which it implements
77587 to always fail with ENOSYS. Some functions are actually named
77588 something starting with __ and the normal name is an alias. */
77589 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77590 choke me
77591 #else
77592 char (*f) () = $ac_func;
77593 #endif
77594 #ifdef __cplusplus
77595 }
77596 #endif
77597
77598 int
77599 main ()
77600 {
77601 return f != $ac_func;
77602 ;
77603 return 0;
77604 }
77605 _ACEOF
77606 rm -f conftest.$ac_objext conftest$ac_exeext
77607 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77608 (eval $ac_link) 2>conftest.er1
77609 ac_status=$?
77610 grep -v '^ *+' conftest.er1 >conftest.err
77611 rm -f conftest.er1
77612 cat conftest.err >&5
77613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77614 (exit $ac_status); } &&
77615 { ac_try='test -z "$ac_c_werror_flag"
77616 || test ! -s conftest.err'
77617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77618 (eval $ac_try) 2>&5
77619 ac_status=$?
77620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77621 (exit $ac_status); }; } &&
77622 { ac_try='test -s conftest$ac_exeext'
77623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77624 (eval $ac_try) 2>&5
77625 ac_status=$?
77626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77627 (exit $ac_status); }; }; then
77628 eval "$as_ac_var=yes"
77629 else
77630 echo "$as_me: failed program was:" >&5
77631 sed 's/^/| /' conftest.$ac_ext >&5
77632
77633 eval "$as_ac_var=no"
77634 fi
77635 rm -f conftest.err conftest.$ac_objext \
77636 conftest$ac_exeext conftest.$ac_ext
77637 fi
77638 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
77639 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
77640 if test `eval echo '${'$as_ac_var'}'` = yes; then
77641 cat >>confdefs.h <<_ACEOF
77642 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
77643 _ACEOF
77644
77645 else
77646 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
77647 fi
77648 done
77649
77650 fi
77651
77652 # Used in libmath/Makefile.am.
77653 if test -n "$LIBMATHOBJS"; then
77654 need_libmath=yes
77655 fi
77656
77657
77658
77659
77660 enable_iconv=no
77661 # Only continue checking if the ISO C99 headers exist and support is on.
77662 if test x"$enable_wchar_t" = xyes; then
77663
77664 # Use iconv for wchar_t to char conversions. As such, check for
77665 # X/Open Portability Guide, version 2 features (XPG2).
77666 if test "${ac_cv_header_iconv_h+set}" = set; then
77667 echo "$as_me:$LINENO: checking for iconv.h" >&5
77668 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
77669 if test "${ac_cv_header_iconv_h+set}" = set; then
77670 echo $ECHO_N "(cached) $ECHO_C" >&6
77671 fi
77672 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
77673 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
77674 else
77675 # Is the header compilable?
77676 echo "$as_me:$LINENO: checking iconv.h usability" >&5
77677 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
77678 cat >conftest.$ac_ext <<_ACEOF
77679 /* confdefs.h. */
77680 _ACEOF
77681 cat confdefs.h >>conftest.$ac_ext
77682 cat >>conftest.$ac_ext <<_ACEOF
77683 /* end confdefs.h. */
77684 $ac_includes_default
77685 #include <iconv.h>
77686 _ACEOF
77687 rm -f conftest.$ac_objext
77688 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
77689 (eval $ac_compile) 2>conftest.er1
77690 ac_status=$?
77691 grep -v '^ *+' conftest.er1 >conftest.err
77692 rm -f conftest.er1
77693 cat conftest.err >&5
77694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77695 (exit $ac_status); } &&
77696 { ac_try='test -z "$ac_c_werror_flag"
77697 || test ! -s conftest.err'
77698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77699 (eval $ac_try) 2>&5
77700 ac_status=$?
77701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77702 (exit $ac_status); }; } &&
77703 { ac_try='test -s conftest.$ac_objext'
77704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77705 (eval $ac_try) 2>&5
77706 ac_status=$?
77707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77708 (exit $ac_status); }; }; then
77709 ac_header_compiler=yes
77710 else
77711 echo "$as_me: failed program was:" >&5
77712 sed 's/^/| /' conftest.$ac_ext >&5
77713
77714 ac_header_compiler=no
77715 fi
77716 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
77717 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
77718 echo "${ECHO_T}$ac_header_compiler" >&6
77719
77720 # Is the header present?
77721 echo "$as_me:$LINENO: checking iconv.h presence" >&5
77722 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
77723 cat >conftest.$ac_ext <<_ACEOF
77724 /* confdefs.h. */
77725 _ACEOF
77726 cat confdefs.h >>conftest.$ac_ext
77727 cat >>conftest.$ac_ext <<_ACEOF
77728 /* end confdefs.h. */
77729 #include <iconv.h>
77730 _ACEOF
77731 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
77732 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
77733 ac_status=$?
77734 grep -v '^ *+' conftest.er1 >conftest.err
77735 rm -f conftest.er1
77736 cat conftest.err >&5
77737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77738 (exit $ac_status); } >/dev/null; then
77739 if test -s conftest.err; then
77740 ac_cpp_err=$ac_c_preproc_warn_flag
77741 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
77742 else
77743 ac_cpp_err=
77744 fi
77745 else
77746 ac_cpp_err=yes
77747 fi
77748 if test -z "$ac_cpp_err"; then
77749 ac_header_preproc=yes
77750 else
77751 echo "$as_me: failed program was:" >&5
77752 sed 's/^/| /' conftest.$ac_ext >&5
77753
77754 ac_header_preproc=no
77755 fi
77756 rm -f conftest.err conftest.$ac_ext
77757 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
77758 echo "${ECHO_T}$ac_header_preproc" >&6
77759
77760 # So? What about this header?
77761 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
77762 yes:no: )
77763 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
77764 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
77765 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
77766 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
77767 ac_header_preproc=yes
77768 ;;
77769 no:yes:* )
77770 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
77771 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
77772 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
77773 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
77774 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
77775 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
77776 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
77777 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
77778 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
77779 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
77780 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
77781 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
77782 (
77783 cat <<\_ASBOX
77784 ## ----------------------------------------- ##
77785 ## Report this to the package-unused lists. ##
77786 ## ----------------------------------------- ##
77787 _ASBOX
77788 ) |
77789 sed "s/^/$as_me: WARNING: /" >&2
77790 ;;
77791 esac
77792 echo "$as_me:$LINENO: checking for iconv.h" >&5
77793 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
77794 if test "${ac_cv_header_iconv_h+set}" = set; then
77795 echo $ECHO_N "(cached) $ECHO_C" >&6
77796 else
77797 ac_cv_header_iconv_h=$ac_header_preproc
77798 fi
77799 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
77800 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
77801
77802 fi
77803 if test $ac_cv_header_iconv_h = yes; then
77804 ac_has_iconv_h=yes
77805 else
77806 ac_has_iconv_h=no
77807 fi
77808
77809
77810 if test "${ac_cv_header_langinfo_h+set}" = set; then
77811 echo "$as_me:$LINENO: checking for langinfo.h" >&5
77812 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
77813 if test "${ac_cv_header_langinfo_h+set}" = set; then
77814 echo $ECHO_N "(cached) $ECHO_C" >&6
77815 fi
77816 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
77817 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
77818 else
77819 # Is the header compilable?
77820 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
77821 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
77822 cat >conftest.$ac_ext <<_ACEOF
77823 /* confdefs.h. */
77824 _ACEOF
77825 cat confdefs.h >>conftest.$ac_ext
77826 cat >>conftest.$ac_ext <<_ACEOF
77827 /* end confdefs.h. */
77828 $ac_includes_default
77829 #include <langinfo.h>
77830 _ACEOF
77831 rm -f conftest.$ac_objext
77832 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
77833 (eval $ac_compile) 2>conftest.er1
77834 ac_status=$?
77835 grep -v '^ *+' conftest.er1 >conftest.err
77836 rm -f conftest.er1
77837 cat conftest.err >&5
77838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77839 (exit $ac_status); } &&
77840 { ac_try='test -z "$ac_c_werror_flag"
77841 || test ! -s conftest.err'
77842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77843 (eval $ac_try) 2>&5
77844 ac_status=$?
77845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77846 (exit $ac_status); }; } &&
77847 { ac_try='test -s conftest.$ac_objext'
77848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77849 (eval $ac_try) 2>&5
77850 ac_status=$?
77851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77852 (exit $ac_status); }; }; then
77853 ac_header_compiler=yes
77854 else
77855 echo "$as_me: failed program was:" >&5
77856 sed 's/^/| /' conftest.$ac_ext >&5
77857
77858 ac_header_compiler=no
77859 fi
77860 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
77861 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
77862 echo "${ECHO_T}$ac_header_compiler" >&6
77863
77864 # Is the header present?
77865 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
77866 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
77867 cat >conftest.$ac_ext <<_ACEOF
77868 /* confdefs.h. */
77869 _ACEOF
77870 cat confdefs.h >>conftest.$ac_ext
77871 cat >>conftest.$ac_ext <<_ACEOF
77872 /* end confdefs.h. */
77873 #include <langinfo.h>
77874 _ACEOF
77875 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
77876 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
77877 ac_status=$?
77878 grep -v '^ *+' conftest.er1 >conftest.err
77879 rm -f conftest.er1
77880 cat conftest.err >&5
77881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77882 (exit $ac_status); } >/dev/null; then
77883 if test -s conftest.err; then
77884 ac_cpp_err=$ac_c_preproc_warn_flag
77885 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
77886 else
77887 ac_cpp_err=
77888 fi
77889 else
77890 ac_cpp_err=yes
77891 fi
77892 if test -z "$ac_cpp_err"; then
77893 ac_header_preproc=yes
77894 else
77895 echo "$as_me: failed program was:" >&5
77896 sed 's/^/| /' conftest.$ac_ext >&5
77897
77898 ac_header_preproc=no
77899 fi
77900 rm -f conftest.err conftest.$ac_ext
77901 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
77902 echo "${ECHO_T}$ac_header_preproc" >&6
77903
77904 # So? What about this header?
77905 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
77906 yes:no: )
77907 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
77908 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
77909 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
77910 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
77911 ac_header_preproc=yes
77912 ;;
77913 no:yes:* )
77914 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
77915 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
77916 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
77917 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
77918 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
77919 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
77920 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
77921 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
77922 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
77923 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
77924 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
77925 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
77926 (
77927 cat <<\_ASBOX
77928 ## ----------------------------------------- ##
77929 ## Report this to the package-unused lists. ##
77930 ## ----------------------------------------- ##
77931 _ASBOX
77932 ) |
77933 sed "s/^/$as_me: WARNING: /" >&2
77934 ;;
77935 esac
77936 echo "$as_me:$LINENO: checking for langinfo.h" >&5
77937 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
77938 if test "${ac_cv_header_langinfo_h+set}" = set; then
77939 echo $ECHO_N "(cached) $ECHO_C" >&6
77940 else
77941 ac_cv_header_langinfo_h=$ac_header_preproc
77942 fi
77943 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
77944 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
77945
77946 fi
77947 if test $ac_cv_header_langinfo_h = yes; then
77948 ac_has_langinfo_h=yes
77949 else
77950 ac_has_langinfo_h=no
77951 fi
77952
77953
77954
77955 # Check for existence of libiconv.a providing XPG2 wchar_t support.
77956 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
77957 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
77958 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
77959 echo $ECHO_N "(cached) $ECHO_C" >&6
77960 else
77961 ac_check_lib_save_LIBS=$LIBS
77962 LIBS="-liconv $LIBS"
77963 if test x$gcc_no_link = xyes; then
77964 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77965 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77966 { (exit 1); exit 1; }; }
77967 fi
77968 cat >conftest.$ac_ext <<_ACEOF
77969 /* confdefs.h. */
77970 _ACEOF
77971 cat confdefs.h >>conftest.$ac_ext
77972 cat >>conftest.$ac_ext <<_ACEOF
77973 /* end confdefs.h. */
77974
77975 /* Override any gcc2 internal prototype to avoid an error. */
77976 #ifdef __cplusplus
77977 extern "C"
77978 #endif
77979 /* We use char because int might match the return type of a gcc2
77980 builtin and then its argument prototype would still apply. */
77981 char iconv ();
77982 int
77983 main ()
77984 {
77985 iconv ();
77986 ;
77987 return 0;
77988 }
77989 _ACEOF
77990 rm -f conftest.$ac_objext conftest$ac_exeext
77991 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77992 (eval $ac_link) 2>conftest.er1
77993 ac_status=$?
77994 grep -v '^ *+' conftest.er1 >conftest.err
77995 rm -f conftest.er1
77996 cat conftest.err >&5
77997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77998 (exit $ac_status); } &&
77999 { ac_try='test -z "$ac_c_werror_flag"
78000 || test ! -s conftest.err'
78001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78002 (eval $ac_try) 2>&5
78003 ac_status=$?
78004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78005 (exit $ac_status); }; } &&
78006 { ac_try='test -s conftest$ac_exeext'
78007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78008 (eval $ac_try) 2>&5
78009 ac_status=$?
78010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78011 (exit $ac_status); }; }; then
78012 ac_cv_lib_iconv_iconv=yes
78013 else
78014 echo "$as_me: failed program was:" >&5
78015 sed 's/^/| /' conftest.$ac_ext >&5
78016
78017 ac_cv_lib_iconv_iconv=no
78018 fi
78019 rm -f conftest.err conftest.$ac_objext \
78020 conftest$ac_exeext conftest.$ac_ext
78021 LIBS=$ac_check_lib_save_LIBS
78022 fi
78023 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
78024 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
78025 if test $ac_cv_lib_iconv_iconv = yes; then
78026 LIBICONV="-liconv"
78027 fi
78028
78029 ac_save_LIBS="$LIBS"
78030 LIBS="$LIBS $LIBICONV"
78031
78032
78033
78034
78035
78036
78037 for ac_func in iconv_open iconv_close iconv nl_langinfo
78038 do
78039 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
78040 echo "$as_me:$LINENO: checking for $ac_func" >&5
78041 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
78042 if eval "test \"\${$as_ac_var+set}\" = set"; then
78043 echo $ECHO_N "(cached) $ECHO_C" >&6
78044 else
78045 if test x$gcc_no_link = xyes; then
78046 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78047 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78048 { (exit 1); exit 1; }; }
78049 fi
78050 cat >conftest.$ac_ext <<_ACEOF
78051 /* confdefs.h. */
78052 _ACEOF
78053 cat confdefs.h >>conftest.$ac_ext
78054 cat >>conftest.$ac_ext <<_ACEOF
78055 /* end confdefs.h. */
78056 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
78057 For example, HP-UX 11i <limits.h> declares gettimeofday. */
78058 #define $ac_func innocuous_$ac_func
78059
78060 /* System header to define __stub macros and hopefully few prototypes,
78061 which can conflict with char $ac_func (); below.
78062 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
78063 <limits.h> exists even on freestanding compilers. */
78064
78065 #ifdef __STDC__
78066 # include <limits.h>
78067 #else
78068 # include <assert.h>
78069 #endif
78070
78071 #undef $ac_func
78072
78073 /* Override any gcc2 internal prototype to avoid an error. */
78074 #ifdef __cplusplus
78075 extern "C"
78076 {
78077 #endif
78078 /* We use char because int might match the return type of a gcc2
78079 builtin and then its argument prototype would still apply. */
78080 char $ac_func ();
78081 /* The GNU C library defines this for functions which it implements
78082 to always fail with ENOSYS. Some functions are actually named
78083 something starting with __ and the normal name is an alias. */
78084 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
78085 choke me
78086 #else
78087 char (*f) () = $ac_func;
78088 #endif
78089 #ifdef __cplusplus
78090 }
78091 #endif
78092
78093 int
78094 main ()
78095 {
78096 return f != $ac_func;
78097 ;
78098 return 0;
78099 }
78100 _ACEOF
78101 rm -f conftest.$ac_objext conftest$ac_exeext
78102 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78103 (eval $ac_link) 2>conftest.er1
78104 ac_status=$?
78105 grep -v '^ *+' conftest.er1 >conftest.err
78106 rm -f conftest.er1
78107 cat conftest.err >&5
78108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78109 (exit $ac_status); } &&
78110 { ac_try='test -z "$ac_c_werror_flag"
78111 || test ! -s conftest.err'
78112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78113 (eval $ac_try) 2>&5
78114 ac_status=$?
78115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78116 (exit $ac_status); }; } &&
78117 { ac_try='test -s conftest$ac_exeext'
78118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78119 (eval $ac_try) 2>&5
78120 ac_status=$?
78121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78122 (exit $ac_status); }; }; then
78123 eval "$as_ac_var=yes"
78124 else
78125 echo "$as_me: failed program was:" >&5
78126 sed 's/^/| /' conftest.$ac_ext >&5
78127
78128 eval "$as_ac_var=no"
78129 fi
78130 rm -f conftest.err conftest.$ac_objext \
78131 conftest$ac_exeext conftest.$ac_ext
78132 fi
78133 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
78134 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
78135 if test `eval echo '${'$as_ac_var'}'` = yes; then
78136 cat >>confdefs.h <<_ACEOF
78137 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
78138 _ACEOF
78139 ac_XPG2funcs=yes
78140 else
78141 ac_XPG2funcs=no
78142 fi
78143 done
78144
78145
78146 LIBS="$ac_save_LIBS"
78147
78148 if test x"$ac_has_iconv_h" = xyes &&
78149 test x"$ac_has_langinfo_h" = xyes &&
78150 test x"$ac_XPG2funcs" = xyes;
78151 then
78152
78153 cat >>confdefs.h <<\_ACEOF
78154 #define _GLIBCXX_USE_ICONV 1
78155 _ACEOF
78156
78157 enable_iconv=yes
78158 fi
78159 fi
78160 echo "$as_me:$LINENO: checking for enabled iconv specializations" >&5
78161 echo $ECHO_N "checking for enabled iconv specializations... $ECHO_C" >&6
78162 echo "$as_me:$LINENO: result: $enable_iconv" >&5
78163 echo "${ECHO_T}$enable_iconv" >&6
78164
78165
78166 # For LFS.
78167 cat >>confdefs.h <<\_ACEOF
78168 #define HAVE_INT64_T 1
78169 _ACEOF
78170
78171 case "$target" in
78172 *-uclinux*)
78173 # Don't enable LFS with uClibc
78174 ;;
78175 *)
78176 cat >>confdefs.h <<\_ACEOF
78177 #define _GLIBCXX_USE_LFS 1
78178 _ACEOF
78179
78180 esac
78181
78182 # For showmanyc_helper().
78183
78184
78185 for ac_header in sys/ioctl.h sys/filio.h
78186 do
78187 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
78188 if eval "test \"\${$as_ac_Header+set}\" = set"; then
78189 echo "$as_me:$LINENO: checking for $ac_header" >&5
78190 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
78191 if eval "test \"\${$as_ac_Header+set}\" = set"; then
78192 echo $ECHO_N "(cached) $ECHO_C" >&6
78193 fi
78194 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
78195 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
78196 else
78197 # Is the header compilable?
78198 echo "$as_me:$LINENO: checking $ac_header usability" >&5
78199 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
78200 cat >conftest.$ac_ext <<_ACEOF
78201 /* confdefs.h. */
78202 _ACEOF
78203 cat confdefs.h >>conftest.$ac_ext
78204 cat >>conftest.$ac_ext <<_ACEOF
78205 /* end confdefs.h. */
78206 $ac_includes_default
78207 #include <$ac_header>
78208 _ACEOF
78209 rm -f conftest.$ac_objext
78210 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78211 (eval $ac_compile) 2>conftest.er1
78212 ac_status=$?
78213 grep -v '^ *+' conftest.er1 >conftest.err
78214 rm -f conftest.er1
78215 cat conftest.err >&5
78216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78217 (exit $ac_status); } &&
78218 { ac_try='test -z "$ac_c_werror_flag"
78219 || test ! -s conftest.err'
78220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78221 (eval $ac_try) 2>&5
78222 ac_status=$?
78223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78224 (exit $ac_status); }; } &&
78225 { ac_try='test -s conftest.$ac_objext'
78226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78227 (eval $ac_try) 2>&5
78228 ac_status=$?
78229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78230 (exit $ac_status); }; }; then
78231 ac_header_compiler=yes
78232 else
78233 echo "$as_me: failed program was:" >&5
78234 sed 's/^/| /' conftest.$ac_ext >&5
78235
78236 ac_header_compiler=no
78237 fi
78238 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
78239 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
78240 echo "${ECHO_T}$ac_header_compiler" >&6
78241
78242 # Is the header present?
78243 echo "$as_me:$LINENO: checking $ac_header presence" >&5
78244 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
78245 cat >conftest.$ac_ext <<_ACEOF
78246 /* confdefs.h. */
78247 _ACEOF
78248 cat confdefs.h >>conftest.$ac_ext
78249 cat >>conftest.$ac_ext <<_ACEOF
78250 /* end confdefs.h. */
78251 #include <$ac_header>
78252 _ACEOF
78253 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
78254 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
78255 ac_status=$?
78256 grep -v '^ *+' conftest.er1 >conftest.err
78257 rm -f conftest.er1
78258 cat conftest.err >&5
78259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78260 (exit $ac_status); } >/dev/null; then
78261 if test -s conftest.err; then
78262 ac_cpp_err=$ac_c_preproc_warn_flag
78263 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
78264 else
78265 ac_cpp_err=
78266 fi
78267 else
78268 ac_cpp_err=yes
78269 fi
78270 if test -z "$ac_cpp_err"; then
78271 ac_header_preproc=yes
78272 else
78273 echo "$as_me: failed program was:" >&5
78274 sed 's/^/| /' conftest.$ac_ext >&5
78275
78276 ac_header_preproc=no
78277 fi
78278 rm -f conftest.err conftest.$ac_ext
78279 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
78280 echo "${ECHO_T}$ac_header_preproc" >&6
78281
78282 # So? What about this header?
78283 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
78284 yes:no: )
78285 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
78286 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
78287 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
78288 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
78289 ac_header_preproc=yes
78290 ;;
78291 no:yes:* )
78292 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
78293 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
78294 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
78295 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
78296 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
78297 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
78298 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
78299 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
78300 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
78301 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
78302 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
78303 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
78304 (
78305 cat <<\_ASBOX
78306 ## ----------------------------------------- ##
78307 ## Report this to the package-unused lists. ##
78308 ## ----------------------------------------- ##
78309 _ASBOX
78310 ) |
78311 sed "s/^/$as_me: WARNING: /" >&2
78312 ;;
78313 esac
78314 echo "$as_me:$LINENO: checking for $ac_header" >&5
78315 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
78316 if eval "test \"\${$as_ac_Header+set}\" = set"; then
78317 echo $ECHO_N "(cached) $ECHO_C" >&6
78318 else
78319 eval "$as_ac_Header=\$ac_header_preproc"
78320 fi
78321 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
78322 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
78323
78324 fi
78325 if test `eval echo '${'$as_ac_Header'}'` = yes; then
78326 cat >>confdefs.h <<_ACEOF
78327 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
78328 _ACEOF
78329
78330 fi
78331
78332 done
78333
78334
78335 echo "$as_me:$LINENO: checking for poll" >&5
78336 echo $ECHO_N "checking for poll... $ECHO_C" >&6
78337 if test "${glibcxx_cv_POLL+set}" = set; then
78338 echo $ECHO_N "(cached) $ECHO_C" >&6
78339 else
78340
78341 if test x$gcc_no_link = xyes; then
78342 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78343 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78344 { (exit 1); exit 1; }; }
78345 fi
78346 cat >conftest.$ac_ext <<_ACEOF
78347 /* confdefs.h. */
78348 _ACEOF
78349 cat confdefs.h >>conftest.$ac_ext
78350 cat >>conftest.$ac_ext <<_ACEOF
78351 /* end confdefs.h. */
78352 #include <poll.h>
78353 int
78354 main ()
78355 {
78356 struct pollfd pfd[1];
78357 pfd[0].events = POLLIN;
78358 poll(pfd, 1, 0);
78359 ;
78360 return 0;
78361 }
78362 _ACEOF
78363 rm -f conftest.$ac_objext conftest$ac_exeext
78364 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78365 (eval $ac_link) 2>conftest.er1
78366 ac_status=$?
78367 grep -v '^ *+' conftest.er1 >conftest.err
78368 rm -f conftest.er1
78369 cat conftest.err >&5
78370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78371 (exit $ac_status); } &&
78372 { ac_try='test -z "$ac_c_werror_flag"
78373 || test ! -s conftest.err'
78374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78375 (eval $ac_try) 2>&5
78376 ac_status=$?
78377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78378 (exit $ac_status); }; } &&
78379 { ac_try='test -s conftest$ac_exeext'
78380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78381 (eval $ac_try) 2>&5
78382 ac_status=$?
78383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78384 (exit $ac_status); }; }; then
78385 glibcxx_cv_POLL=yes
78386 else
78387 echo "$as_me: failed program was:" >&5
78388 sed 's/^/| /' conftest.$ac_ext >&5
78389
78390 glibcxx_cv_POLL=no
78391 fi
78392 rm -f conftest.err conftest.$ac_objext \
78393 conftest$ac_exeext conftest.$ac_ext
78394
78395 fi
78396
78397 if test $glibcxx_cv_POLL = yes; then
78398
78399 cat >>confdefs.h <<\_ACEOF
78400 #define HAVE_POLL 1
78401 _ACEOF
78402
78403 fi
78404 echo "$as_me:$LINENO: result: $glibcxx_cv_POLL" >&5
78405 echo "${ECHO_T}$glibcxx_cv_POLL" >&6
78406
78407
78408 echo "$as_me:$LINENO: checking for S_ISREG or S_IFREG" >&5
78409 echo $ECHO_N "checking for S_ISREG or S_IFREG... $ECHO_C" >&6
78410 if test "${glibcxx_cv_S_ISREG+set}" = set; then
78411 echo $ECHO_N "(cached) $ECHO_C" >&6
78412 else
78413
78414 if test x$gcc_no_link = xyes; then
78415 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78416 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78417 { (exit 1); exit 1; }; }
78418 fi
78419 cat >conftest.$ac_ext <<_ACEOF
78420 /* confdefs.h. */
78421 _ACEOF
78422 cat confdefs.h >>conftest.$ac_ext
78423 cat >>conftest.$ac_ext <<_ACEOF
78424 /* end confdefs.h. */
78425 #include <sys/stat.h>
78426 int
78427 main ()
78428 {
78429 struct stat buffer;
78430 fstat(0, &buffer);
78431 S_ISREG(buffer.st_mode);
78432 ;
78433 return 0;
78434 }
78435 _ACEOF
78436 rm -f conftest.$ac_objext conftest$ac_exeext
78437 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78438 (eval $ac_link) 2>conftest.er1
78439 ac_status=$?
78440 grep -v '^ *+' conftest.er1 >conftest.err
78441 rm -f conftest.er1
78442 cat conftest.err >&5
78443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78444 (exit $ac_status); } &&
78445 { ac_try='test -z "$ac_c_werror_flag"
78446 || test ! -s conftest.err'
78447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78448 (eval $ac_try) 2>&5
78449 ac_status=$?
78450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78451 (exit $ac_status); }; } &&
78452 { ac_try='test -s conftest$ac_exeext'
78453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78454 (eval $ac_try) 2>&5
78455 ac_status=$?
78456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78457 (exit $ac_status); }; }; then
78458 glibcxx_cv_S_ISREG=yes
78459 else
78460 echo "$as_me: failed program was:" >&5
78461 sed 's/^/| /' conftest.$ac_ext >&5
78462
78463 glibcxx_cv_S_ISREG=no
78464 fi
78465 rm -f conftest.err conftest.$ac_objext \
78466 conftest$ac_exeext conftest.$ac_ext
78467
78468 fi
78469
78470 if test "${glibcxx_cv_S_IFREG+set}" = set; then
78471 echo $ECHO_N "(cached) $ECHO_C" >&6
78472 else
78473
78474 if test x$gcc_no_link = xyes; then
78475 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78476 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78477 { (exit 1); exit 1; }; }
78478 fi
78479 cat >conftest.$ac_ext <<_ACEOF
78480 /* confdefs.h. */
78481 _ACEOF
78482 cat confdefs.h >>conftest.$ac_ext
78483 cat >>conftest.$ac_ext <<_ACEOF
78484 /* end confdefs.h. */
78485 #include <sys/stat.h>
78486 int
78487 main ()
78488 {
78489 struct stat buffer;
78490 fstat(0, &buffer);
78491 S_IFREG & buffer.st_mode;
78492 ;
78493 return 0;
78494 }
78495 _ACEOF
78496 rm -f conftest.$ac_objext conftest$ac_exeext
78497 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78498 (eval $ac_link) 2>conftest.er1
78499 ac_status=$?
78500 grep -v '^ *+' conftest.er1 >conftest.err
78501 rm -f conftest.er1
78502 cat conftest.err >&5
78503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78504 (exit $ac_status); } &&
78505 { ac_try='test -z "$ac_c_werror_flag"
78506 || test ! -s conftest.err'
78507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78508 (eval $ac_try) 2>&5
78509 ac_status=$?
78510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78511 (exit $ac_status); }; } &&
78512 { ac_try='test -s conftest$ac_exeext'
78513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78514 (eval $ac_try) 2>&5
78515 ac_status=$?
78516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78517 (exit $ac_status); }; }; then
78518 glibcxx_cv_S_IFREG=yes
78519 else
78520 echo "$as_me: failed program was:" >&5
78521 sed 's/^/| /' conftest.$ac_ext >&5
78522
78523 glibcxx_cv_S_IFREG=no
78524 fi
78525 rm -f conftest.err conftest.$ac_objext \
78526 conftest$ac_exeext conftest.$ac_ext
78527
78528 fi
78529
78530 res=no
78531 if test $glibcxx_cv_S_ISREG = yes; then
78532
78533 cat >>confdefs.h <<\_ACEOF
78534 #define HAVE_S_ISREG 1
78535 _ACEOF
78536
78537 res=S_ISREG
78538 elif test $glibcxx_cv_S_IFREG = yes; then
78539
78540 cat >>confdefs.h <<\_ACEOF
78541 #define HAVE_S_IFREG 1
78542 _ACEOF
78543
78544 res=S_IFREG
78545 fi
78546 echo "$as_me:$LINENO: result: $res" >&5
78547 echo "${ECHO_T}$res" >&6
78548
78549
78550 # For xsputn_2().
78551
78552 for ac_header in sys/uio.h
78553 do
78554 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
78555 if eval "test \"\${$as_ac_Header+set}\" = set"; then
78556 echo "$as_me:$LINENO: checking for $ac_header" >&5
78557 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
78558 if eval "test \"\${$as_ac_Header+set}\" = set"; then
78559 echo $ECHO_N "(cached) $ECHO_C" >&6
78560 fi
78561 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
78562 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
78563 else
78564 # Is the header compilable?
78565 echo "$as_me:$LINENO: checking $ac_header usability" >&5
78566 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
78567 cat >conftest.$ac_ext <<_ACEOF
78568 /* confdefs.h. */
78569 _ACEOF
78570 cat confdefs.h >>conftest.$ac_ext
78571 cat >>conftest.$ac_ext <<_ACEOF
78572 /* end confdefs.h. */
78573 $ac_includes_default
78574 #include <$ac_header>
78575 _ACEOF
78576 rm -f conftest.$ac_objext
78577 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78578 (eval $ac_compile) 2>conftest.er1
78579 ac_status=$?
78580 grep -v '^ *+' conftest.er1 >conftest.err
78581 rm -f conftest.er1
78582 cat conftest.err >&5
78583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78584 (exit $ac_status); } &&
78585 { ac_try='test -z "$ac_c_werror_flag"
78586 || test ! -s conftest.err'
78587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78588 (eval $ac_try) 2>&5
78589 ac_status=$?
78590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78591 (exit $ac_status); }; } &&
78592 { ac_try='test -s conftest.$ac_objext'
78593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78594 (eval $ac_try) 2>&5
78595 ac_status=$?
78596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78597 (exit $ac_status); }; }; then
78598 ac_header_compiler=yes
78599 else
78600 echo "$as_me: failed program was:" >&5
78601 sed 's/^/| /' conftest.$ac_ext >&5
78602
78603 ac_header_compiler=no
78604 fi
78605 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
78606 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
78607 echo "${ECHO_T}$ac_header_compiler" >&6
78608
78609 # Is the header present?
78610 echo "$as_me:$LINENO: checking $ac_header presence" >&5
78611 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
78612 cat >conftest.$ac_ext <<_ACEOF
78613 /* confdefs.h. */
78614 _ACEOF
78615 cat confdefs.h >>conftest.$ac_ext
78616 cat >>conftest.$ac_ext <<_ACEOF
78617 /* end confdefs.h. */
78618 #include <$ac_header>
78619 _ACEOF
78620 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
78621 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
78622 ac_status=$?
78623 grep -v '^ *+' conftest.er1 >conftest.err
78624 rm -f conftest.er1
78625 cat conftest.err >&5
78626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78627 (exit $ac_status); } >/dev/null; then
78628 if test -s conftest.err; then
78629 ac_cpp_err=$ac_c_preproc_warn_flag
78630 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
78631 else
78632 ac_cpp_err=
78633 fi
78634 else
78635 ac_cpp_err=yes
78636 fi
78637 if test -z "$ac_cpp_err"; then
78638 ac_header_preproc=yes
78639 else
78640 echo "$as_me: failed program was:" >&5
78641 sed 's/^/| /' conftest.$ac_ext >&5
78642
78643 ac_header_preproc=no
78644 fi
78645 rm -f conftest.err conftest.$ac_ext
78646 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
78647 echo "${ECHO_T}$ac_header_preproc" >&6
78648
78649 # So? What about this header?
78650 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
78651 yes:no: )
78652 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
78653 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
78654 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
78655 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
78656 ac_header_preproc=yes
78657 ;;
78658 no:yes:* )
78659 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
78660 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
78661 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
78662 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
78663 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
78664 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
78665 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
78666 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
78667 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
78668 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
78669 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
78670 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
78671 (
78672 cat <<\_ASBOX
78673 ## ----------------------------------------- ##
78674 ## Report this to the package-unused lists. ##
78675 ## ----------------------------------------- ##
78676 _ASBOX
78677 ) |
78678 sed "s/^/$as_me: WARNING: /" >&2
78679 ;;
78680 esac
78681 echo "$as_me:$LINENO: checking for $ac_header" >&5
78682 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
78683 if eval "test \"\${$as_ac_Header+set}\" = set"; then
78684 echo $ECHO_N "(cached) $ECHO_C" >&6
78685 else
78686 eval "$as_ac_Header=\$ac_header_preproc"
78687 fi
78688 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
78689 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
78690
78691 fi
78692 if test `eval echo '${'$as_ac_Header'}'` = yes; then
78693 cat >>confdefs.h <<_ACEOF
78694 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
78695 _ACEOF
78696
78697 fi
78698
78699 done
78700
78701
78702 echo "$as_me:$LINENO: checking for writev" >&5
78703 echo $ECHO_N "checking for writev... $ECHO_C" >&6
78704 if test "${glibcxx_cv_WRITEV+set}" = set; then
78705 echo $ECHO_N "(cached) $ECHO_C" >&6
78706 else
78707
78708 if test x$gcc_no_link = xyes; then
78709 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78710 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78711 { (exit 1); exit 1; }; }
78712 fi
78713 cat >conftest.$ac_ext <<_ACEOF
78714 /* confdefs.h. */
78715 _ACEOF
78716 cat confdefs.h >>conftest.$ac_ext
78717 cat >>conftest.$ac_ext <<_ACEOF
78718 /* end confdefs.h. */
78719 #include <sys/uio.h>
78720 int
78721 main ()
78722 {
78723 struct iovec iov[2];
78724 writev(0, iov, 0);
78725 ;
78726 return 0;
78727 }
78728 _ACEOF
78729 rm -f conftest.$ac_objext conftest$ac_exeext
78730 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78731 (eval $ac_link) 2>conftest.er1
78732 ac_status=$?
78733 grep -v '^ *+' conftest.er1 >conftest.err
78734 rm -f conftest.er1
78735 cat conftest.err >&5
78736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78737 (exit $ac_status); } &&
78738 { ac_try='test -z "$ac_c_werror_flag"
78739 || test ! -s conftest.err'
78740 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78741 (eval $ac_try) 2>&5
78742 ac_status=$?
78743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78744 (exit $ac_status); }; } &&
78745 { ac_try='test -s conftest$ac_exeext'
78746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78747 (eval $ac_try) 2>&5
78748 ac_status=$?
78749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78750 (exit $ac_status); }; }; then
78751 glibcxx_cv_WRITEV=yes
78752 else
78753 echo "$as_me: failed program was:" >&5
78754 sed 's/^/| /' conftest.$ac_ext >&5
78755
78756 glibcxx_cv_WRITEV=no
78757 fi
78758 rm -f conftest.err conftest.$ac_objext \
78759 conftest$ac_exeext conftest.$ac_ext
78760
78761 fi
78762
78763 if test $glibcxx_cv_WRITEV = yes; then
78764
78765 cat >>confdefs.h <<\_ACEOF
78766 #define HAVE_WRITEV 1
78767 _ACEOF
78768
78769 fi
78770 echo "$as_me:$LINENO: result: $glibcxx_cv_WRITEV" >&5
78771 echo "${ECHO_T}$glibcxx_cv_WRITEV" >&6
78772
78773
78774 cat >>confdefs.h <<\_ACEOF
78775 #define HAVE_ACOSF 1
78776 _ACEOF
78777
78778 cat >>confdefs.h <<\_ACEOF
78779 #define HAVE_ASINF 1
78780 _ACEOF
78781
78782 cat >>confdefs.h <<\_ACEOF
78783 #define HAVE_ATANF 1
78784 _ACEOF
78785
78786 cat >>confdefs.h <<\_ACEOF
78787 #define HAVE_ATAN2F 1
78788 _ACEOF
78789
78790 cat >>confdefs.h <<\_ACEOF
78791 #define HAVE_CEILF 1
78792 _ACEOF
78793
78794 cat >>confdefs.h <<\_ACEOF
78795 #define HAVE_COPYSIGN 1
78796 _ACEOF
78797
78798 cat >>confdefs.h <<\_ACEOF
78799 #define HAVE_COPYSIGNF 1
78800 _ACEOF
78801
78802 cat >>confdefs.h <<\_ACEOF
78803 #define HAVE_COSF 1
78804 _ACEOF
78805
78806 cat >>confdefs.h <<\_ACEOF
78807 #define HAVE_COSHF 1
78808 _ACEOF
78809
78810 cat >>confdefs.h <<\_ACEOF
78811 #define HAVE_EXPF 1
78812 _ACEOF
78813
78814 cat >>confdefs.h <<\_ACEOF
78815 #define HAVE_FABSF 1
78816 _ACEOF
78817
78818 cat >>confdefs.h <<\_ACEOF
78819 #define HAVE_FINITE 1
78820 _ACEOF
78821
78822 cat >>confdefs.h <<\_ACEOF
78823 #define HAVE_FINITEF 1
78824 _ACEOF
78825
78826 cat >>confdefs.h <<\_ACEOF
78827 #define HAVE_FLOORF 1
78828 _ACEOF
78829
78830 cat >>confdefs.h <<\_ACEOF
78831 #define HAVE_FMODF 1
78832 _ACEOF
78833
78834 cat >>confdefs.h <<\_ACEOF
78835 #define HAVE_FREXPF 1
78836 _ACEOF
78837
78838 cat >>confdefs.h <<\_ACEOF
78839 #define HAVE_HYPOT 1
78840 _ACEOF
78841
78842 cat >>confdefs.h <<\_ACEOF
78843 #define HAVE_HYPOTF 1
78844 _ACEOF
78845
78846 cat >>confdefs.h <<\_ACEOF
78847 #define HAVE_ISINF 1
78848 _ACEOF
78849
78850 cat >>confdefs.h <<\_ACEOF
78851 #define HAVE_ISINFF 1
78852 _ACEOF
78853
78854 cat >>confdefs.h <<\_ACEOF
78855 #define HAVE_ISNAN 1
78856 _ACEOF
78857
78858 cat >>confdefs.h <<\_ACEOF
78859 #define HAVE_ISNANF 1
78860 _ACEOF
78861
78862 cat >>confdefs.h <<\_ACEOF
78863 #define HAVE_LOGF 1
78864 _ACEOF
78865
78866 cat >>confdefs.h <<\_ACEOF
78867 #define HAVE_LOG10F 1
78868 _ACEOF
78869
78870 cat >>confdefs.h <<\_ACEOF
78871 #define HAVE_MODFF 1
78872 _ACEOF
78873
78874 cat >>confdefs.h <<\_ACEOF
78875 #define HAVE_SINF 1
78876 _ACEOF
78877
78878 cat >>confdefs.h <<\_ACEOF
78879 #define HAVE_SINHF 1
78880 _ACEOF
78881
78882 cat >>confdefs.h <<\_ACEOF
78883 #define HAVE_SINCOS 1
78884 _ACEOF
78885
78886 cat >>confdefs.h <<\_ACEOF
78887 #define HAVE_SINCOSF 1
78888 _ACEOF
78889
78890 cat >>confdefs.h <<\_ACEOF
78891 #define HAVE_SQRTF 1
78892 _ACEOF
78893
78894 cat >>confdefs.h <<\_ACEOF
78895 #define HAVE_TANF 1
78896 _ACEOF
78897
78898 cat >>confdefs.h <<\_ACEOF
78899 #define HAVE_TANHF 1
78900 _ACEOF
78901
78902 if test x"long_double_math_on_this_cpu" = x"yes"; then
78903 cat >>confdefs.h <<\_ACEOF
78904 #define HAVE_ACOSL 1
78905 _ACEOF
78906
78907 cat >>confdefs.h <<\_ACEOF
78908 #define HAVE_ASINL 1
78909 _ACEOF
78910
78911 cat >>confdefs.h <<\_ACEOF
78912 #define HAVE_ATANL 1
78913 _ACEOF
78914
78915 cat >>confdefs.h <<\_ACEOF
78916 #define HAVE_ATAN2L 1
78917 _ACEOF
78918
78919 cat >>confdefs.h <<\_ACEOF
78920 #define HAVE_CEILL 1
78921 _ACEOF
78922
78923 cat >>confdefs.h <<\_ACEOF
78924 #define HAVE_COPYSIGNL 1
78925 _ACEOF
78926
78927 cat >>confdefs.h <<\_ACEOF
78928 #define HAVE_COSL 1
78929 _ACEOF
78930
78931 cat >>confdefs.h <<\_ACEOF
78932 #define HAVE_COSHL 1
78933 _ACEOF
78934
78935 cat >>confdefs.h <<\_ACEOF
78936 #define HAVE_EXPL 1
78937 _ACEOF
78938
78939 cat >>confdefs.h <<\_ACEOF
78940 #define HAVE_FABSL 1
78941 _ACEOF
78942
78943 cat >>confdefs.h <<\_ACEOF
78944 #define HAVE_FINITEL 1
78945 _ACEOF
78946
78947 cat >>confdefs.h <<\_ACEOF
78948 #define HAVE_FLOORL 1
78949 _ACEOF
78950
78951 cat >>confdefs.h <<\_ACEOF
78952 #define HAVE_FMODL 1
78953 _ACEOF
78954
78955 cat >>confdefs.h <<\_ACEOF
78956 #define HAVE_FREXPL 1
78957 _ACEOF
78958
78959 cat >>confdefs.h <<\_ACEOF
78960 #define HAVE_HYPOTL 1
78961 _ACEOF
78962
78963 cat >>confdefs.h <<\_ACEOF
78964 #define HAVE_ISINFL 1
78965 _ACEOF
78966
78967 cat >>confdefs.h <<\_ACEOF
78968 #define HAVE_ISNANL 1
78969 _ACEOF
78970
78971 cat >>confdefs.h <<\_ACEOF
78972 #define HAVE_LOGL 1
78973 _ACEOF
78974
78975 cat >>confdefs.h <<\_ACEOF
78976 #define HAVE_LOG10L 1
78977 _ACEOF
78978
78979 cat >>confdefs.h <<\_ACEOF
78980 #define HAVE_MODFL 1
78981 _ACEOF
78982
78983 cat >>confdefs.h <<\_ACEOF
78984 #define HAVE_POWL 1
78985 _ACEOF
78986
78987 cat >>confdefs.h <<\_ACEOF
78988 #define HAVE_SINL 1
78989 _ACEOF
78990
78991 cat >>confdefs.h <<\_ACEOF
78992 #define HAVE_SINHL 1
78993 _ACEOF
78994
78995 cat >>confdefs.h <<\_ACEOF
78996 #define HAVE_SINCOSL 1
78997 _ACEOF
78998
78999 cat >>confdefs.h <<\_ACEOF
79000 #define HAVE_SQRTL 1
79001 _ACEOF
79002
79003 cat >>confdefs.h <<\_ACEOF
79004 #define HAVE_TANL 1
79005 _ACEOF
79006
79007 cat >>confdefs.h <<\_ACEOF
79008 #define HAVE_TANHL 1
79009 _ACEOF
79010
79011 fi
79012 ;;
79013 *-mingw32*)
79014
79015
79016
79017 for ac_header in sys/types.h locale.h float.h
79018 do
79019 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
79020 if eval "test \"\${$as_ac_Header+set}\" = set"; then
79021 echo "$as_me:$LINENO: checking for $ac_header" >&5
79022 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
79023 if eval "test \"\${$as_ac_Header+set}\" = set"; then
79024 echo $ECHO_N "(cached) $ECHO_C" >&6
79025 fi
79026 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
79027 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
79028 else
79029 # Is the header compilable?
79030 echo "$as_me:$LINENO: checking $ac_header usability" >&5
79031 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
79032 cat >conftest.$ac_ext <<_ACEOF
79033 /* confdefs.h. */
79034 _ACEOF
79035 cat confdefs.h >>conftest.$ac_ext
79036 cat >>conftest.$ac_ext <<_ACEOF
79037 /* end confdefs.h. */
79038 $ac_includes_default
79039 #include <$ac_header>
79040 _ACEOF
79041 rm -f conftest.$ac_objext
79042 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
79043 (eval $ac_compile) 2>conftest.er1
79044 ac_status=$?
79045 grep -v '^ *+' conftest.er1 >conftest.err
79046 rm -f conftest.er1
79047 cat conftest.err >&5
79048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79049 (exit $ac_status); } &&
79050 { ac_try='test -z "$ac_c_werror_flag"
79051 || test ! -s conftest.err'
79052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79053 (eval $ac_try) 2>&5
79054 ac_status=$?
79055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79056 (exit $ac_status); }; } &&
79057 { ac_try='test -s conftest.$ac_objext'
79058 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79059 (eval $ac_try) 2>&5
79060 ac_status=$?
79061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79062 (exit $ac_status); }; }; then
79063 ac_header_compiler=yes
79064 else
79065 echo "$as_me: failed program was:" >&5
79066 sed 's/^/| /' conftest.$ac_ext >&5
79067
79068 ac_header_compiler=no
79069 fi
79070 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
79071 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
79072 echo "${ECHO_T}$ac_header_compiler" >&6
79073
79074 # Is the header present?
79075 echo "$as_me:$LINENO: checking $ac_header presence" >&5
79076 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
79077 cat >conftest.$ac_ext <<_ACEOF
79078 /* confdefs.h. */
79079 _ACEOF
79080 cat confdefs.h >>conftest.$ac_ext
79081 cat >>conftest.$ac_ext <<_ACEOF
79082 /* end confdefs.h. */
79083 #include <$ac_header>
79084 _ACEOF
79085 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
79086 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
79087 ac_status=$?
79088 grep -v '^ *+' conftest.er1 >conftest.err
79089 rm -f conftest.er1
79090 cat conftest.err >&5
79091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79092 (exit $ac_status); } >/dev/null; then
79093 if test -s conftest.err; then
79094 ac_cpp_err=$ac_c_preproc_warn_flag
79095 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
79096 else
79097 ac_cpp_err=
79098 fi
79099 else
79100 ac_cpp_err=yes
79101 fi
79102 if test -z "$ac_cpp_err"; then
79103 ac_header_preproc=yes
79104 else
79105 echo "$as_me: failed program was:" >&5
79106 sed 's/^/| /' conftest.$ac_ext >&5
79107
79108 ac_header_preproc=no
79109 fi
79110 rm -f conftest.err conftest.$ac_ext
79111 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
79112 echo "${ECHO_T}$ac_header_preproc" >&6
79113
79114 # So? What about this header?
79115 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
79116 yes:no: )
79117 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
79118 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
79119 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
79120 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
79121 ac_header_preproc=yes
79122 ;;
79123 no:yes:* )
79124 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
79125 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
79126 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
79127 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
79128 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
79129 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
79130 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
79131 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
79132 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
79133 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
79134 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
79135 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
79136 (
79137 cat <<\_ASBOX
79138 ## ----------------------------------------- ##
79139 ## Report this to the package-unused lists. ##
79140 ## ----------------------------------------- ##
79141 _ASBOX
79142 ) |
79143 sed "s/^/$as_me: WARNING: /" >&2
79144 ;;
79145 esac
79146 echo "$as_me:$LINENO: checking for $ac_header" >&5
79147 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
79148 if eval "test \"\${$as_ac_Header+set}\" = set"; then
79149 echo $ECHO_N "(cached) $ECHO_C" >&6
79150 else
79151 eval "$as_ac_Header=\$ac_header_preproc"
79152 fi
79153 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
79154 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
79155
79156 fi
79157 if test `eval echo '${'$as_ac_Header'}'` = yes; then
79158 cat >>confdefs.h <<_ACEOF
79159 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
79160 _ACEOF
79161
79162 fi
79163
79164 done
79165
79166
79167 # If we're not using GNU ld, then there's no point in even trying these
79168 # tests. Check for that first. We should have already tested for gld
79169 # by now (in libtool), but require it now just to be safe...
79170 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
79171 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
79172
79173
79174
79175 # The name set by libtool depends on the version of libtool. Shame on us
79176 # for depending on an impl detail, but c'est la vie. Older versions used
79177 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
79178 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
79179 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
79180 # set (hence we're using an older libtool), then set it.
79181 if test x${with_gnu_ld+set} != xset; then
79182 if test x${ac_cv_prog_gnu_ld+set} != xset; then
79183 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
79184 with_gnu_ld=no
79185 else
79186 with_gnu_ld=$ac_cv_prog_gnu_ld
79187 fi
79188 fi
79189
79190 # Start by getting the version number. I think the libtool test already
79191 # does some of this, but throws away the result.
79192
79193 ldver=`$LD --version 2>/dev/null | head -1 | \
79194 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
79195
79196 glibcxx_gnu_ld_version=`echo $ldver | \
79197 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
79198
79199 # Set --gc-sections.
79200 if test "$with_gnu_ld" = "notbroken"; then
79201 # GNU ld it is! Joy and bunny rabbits!
79202
79203 # All these tests are for C++; save the language and the compiler flags.
79204 # Need to do this so that g++ won't try to link in libstdc++
79205 ac_test_CFLAGS="${CFLAGS+set}"
79206 ac_save_CFLAGS="$CFLAGS"
79207 CFLAGS='-x c++ -Wl,--gc-sections'
79208
79209 # Check for -Wl,--gc-sections
79210 # XXX This test is broken at the moment, as symbols required for linking
79211 # are now in libsupc++ (not built yet). In addition, this test has
79212 # cored on solaris in the past. In addition, --gc-sections doesn't
79213 # really work at the moment (keeps on discarding used sections, first
79214 # .eh_frame and now some of the glibc sections for iconv).
79215 # Bzzzzt. Thanks for playing, maybe next time.
79216 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
79217 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
79218 if test "$cross_compiling" = yes; then
79219 ac_sectionLDflags=yes
79220 else
79221 cat >conftest.$ac_ext <<_ACEOF
79222 /* confdefs.h. */
79223 _ACEOF
79224 cat confdefs.h >>conftest.$ac_ext
79225 cat >>conftest.$ac_ext <<_ACEOF
79226 /* end confdefs.h. */
79227
79228 int main(void)
79229 {
79230 try { throw 1; }
79231 catch (...) { };
79232 return 0;
79233 }
79234
79235 _ACEOF
79236 rm -f conftest$ac_exeext
79237 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79238 (eval $ac_link) 2>&5
79239 ac_status=$?
79240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79241 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
79242 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79243 (eval $ac_try) 2>&5
79244 ac_status=$?
79245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79246 (exit $ac_status); }; }; then
79247 ac_sectionLDflags=yes
79248 else
79249 echo "$as_me: program exited with status $ac_status" >&5
79250 echo "$as_me: failed program was:" >&5
79251 sed 's/^/| /' conftest.$ac_ext >&5
79252
79253 ( exit $ac_status )
79254 ac_sectionLDflags=no
79255 fi
79256 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
79257 fi
79258 if test "$ac_test_CFLAGS" = set; then
79259 CFLAGS="$ac_save_CFLAGS"
79260 else
79261 # this is the suspicious part
79262 CFLAGS=''
79263 fi
79264 if test "$ac_sectionLDflags" = "yes"; then
79265 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
79266 fi
79267 echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
79268 echo "${ECHO_T}$ac_sectionLDflags" >&6
79269 fi
79270
79271 # Set linker optimization flags.
79272 if test x"$with_gnu_ld" = x"yes"; then
79273 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
79274 fi
79275
79276
79277
79278
79279
79280
79281 echo "$as_me:$LINENO: checking for main in -lm" >&5
79282 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
79283 if test "${ac_cv_lib_m_main+set}" = set; then
79284 echo $ECHO_N "(cached) $ECHO_C" >&6
79285 else
79286 ac_check_lib_save_LIBS=$LIBS
79287 LIBS="-lm $LIBS"
79288 if test x$gcc_no_link = xyes; then
79289 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79290 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79291 { (exit 1); exit 1; }; }
79292 fi
79293 cat >conftest.$ac_ext <<_ACEOF
79294 /* confdefs.h. */
79295 _ACEOF
79296 cat confdefs.h >>conftest.$ac_ext
79297 cat >>conftest.$ac_ext <<_ACEOF
79298 /* end confdefs.h. */
79299
79300
79301 int
79302 main ()
79303 {
79304 main ();
79305 ;
79306 return 0;
79307 }
79308 _ACEOF
79309 rm -f conftest.$ac_objext conftest$ac_exeext
79310 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79311 (eval $ac_link) 2>conftest.er1
79312 ac_status=$?
79313 grep -v '^ *+' conftest.er1 >conftest.err
79314 rm -f conftest.er1
79315 cat conftest.err >&5
79316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79317 (exit $ac_status); } &&
79318 { ac_try='test -z "$ac_c_werror_flag"
79319 || test ! -s conftest.err'
79320 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79321 (eval $ac_try) 2>&5
79322 ac_status=$?
79323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79324 (exit $ac_status); }; } &&
79325 { ac_try='test -s conftest$ac_exeext'
79326 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79327 (eval $ac_try) 2>&5
79328 ac_status=$?
79329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79330 (exit $ac_status); }; }; then
79331 ac_cv_lib_m_main=yes
79332 else
79333 echo "$as_me: failed program was:" >&5
79334 sed 's/^/| /' conftest.$ac_ext >&5
79335
79336 ac_cv_lib_m_main=no
79337 fi
79338 rm -f conftest.err conftest.$ac_objext \
79339 conftest$ac_exeext conftest.$ac_ext
79340 LIBS=$ac_check_lib_save_LIBS
79341 fi
79342 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
79343 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
79344 if test $ac_cv_lib_m_main = yes; then
79345 cat >>confdefs.h <<_ACEOF
79346 #define HAVE_LIBM 1
79347 _ACEOF
79348
79349 LIBS="-lm $LIBS"
79350
79351 fi
79352
79353
79354 for ac_func in copysignf
79355 do
79356 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79357 echo "$as_me:$LINENO: checking for $ac_func" >&5
79358 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79359 if eval "test \"\${$as_ac_var+set}\" = set"; then
79360 echo $ECHO_N "(cached) $ECHO_C" >&6
79361 else
79362 if test x$gcc_no_link = xyes; then
79363 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79364 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79365 { (exit 1); exit 1; }; }
79366 fi
79367 cat >conftest.$ac_ext <<_ACEOF
79368 /* confdefs.h. */
79369 _ACEOF
79370 cat confdefs.h >>conftest.$ac_ext
79371 cat >>conftest.$ac_ext <<_ACEOF
79372 /* end confdefs.h. */
79373 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79374 For example, HP-UX 11i <limits.h> declares gettimeofday. */
79375 #define $ac_func innocuous_$ac_func
79376
79377 /* System header to define __stub macros and hopefully few prototypes,
79378 which can conflict with char $ac_func (); below.
79379 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79380 <limits.h> exists even on freestanding compilers. */
79381
79382 #ifdef __STDC__
79383 # include <limits.h>
79384 #else
79385 # include <assert.h>
79386 #endif
79387
79388 #undef $ac_func
79389
79390 /* Override any gcc2 internal prototype to avoid an error. */
79391 #ifdef __cplusplus
79392 extern "C"
79393 {
79394 #endif
79395 /* We use char because int might match the return type of a gcc2
79396 builtin and then its argument prototype would still apply. */
79397 char $ac_func ();
79398 /* The GNU C library defines this for functions which it implements
79399 to always fail with ENOSYS. Some functions are actually named
79400 something starting with __ and the normal name is an alias. */
79401 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79402 choke me
79403 #else
79404 char (*f) () = $ac_func;
79405 #endif
79406 #ifdef __cplusplus
79407 }
79408 #endif
79409
79410 int
79411 main ()
79412 {
79413 return f != $ac_func;
79414 ;
79415 return 0;
79416 }
79417 _ACEOF
79418 rm -f conftest.$ac_objext conftest$ac_exeext
79419 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79420 (eval $ac_link) 2>conftest.er1
79421 ac_status=$?
79422 grep -v '^ *+' conftest.er1 >conftest.err
79423 rm -f conftest.er1
79424 cat conftest.err >&5
79425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79426 (exit $ac_status); } &&
79427 { ac_try='test -z "$ac_c_werror_flag"
79428 || test ! -s conftest.err'
79429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79430 (eval $ac_try) 2>&5
79431 ac_status=$?
79432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79433 (exit $ac_status); }; } &&
79434 { ac_try='test -s conftest$ac_exeext'
79435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79436 (eval $ac_try) 2>&5
79437 ac_status=$?
79438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79439 (exit $ac_status); }; }; then
79440 eval "$as_ac_var=yes"
79441 else
79442 echo "$as_me: failed program was:" >&5
79443 sed 's/^/| /' conftest.$ac_ext >&5
79444
79445 eval "$as_ac_var=no"
79446 fi
79447 rm -f conftest.err conftest.$ac_objext \
79448 conftest$ac_exeext conftest.$ac_ext
79449 fi
79450 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79451 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79452 if test `eval echo '${'$as_ac_var'}'` = yes; then
79453 cat >>confdefs.h <<_ACEOF
79454 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79455 _ACEOF
79456
79457 else
79458 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
79459 fi
79460 done
79461
79462
79463
79464 for ac_func in __signbit
79465 do
79466 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79467 echo "$as_me:$LINENO: checking for $ac_func" >&5
79468 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79469 if eval "test \"\${$as_ac_var+set}\" = set"; then
79470 echo $ECHO_N "(cached) $ECHO_C" >&6
79471 else
79472 if test x$gcc_no_link = xyes; then
79473 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79474 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79475 { (exit 1); exit 1; }; }
79476 fi
79477 cat >conftest.$ac_ext <<_ACEOF
79478 /* confdefs.h. */
79479 _ACEOF
79480 cat confdefs.h >>conftest.$ac_ext
79481 cat >>conftest.$ac_ext <<_ACEOF
79482 /* end confdefs.h. */
79483 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79484 For example, HP-UX 11i <limits.h> declares gettimeofday. */
79485 #define $ac_func innocuous_$ac_func
79486
79487 /* System header to define __stub macros and hopefully few prototypes,
79488 which can conflict with char $ac_func (); below.
79489 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79490 <limits.h> exists even on freestanding compilers. */
79491
79492 #ifdef __STDC__
79493 # include <limits.h>
79494 #else
79495 # include <assert.h>
79496 #endif
79497
79498 #undef $ac_func
79499
79500 /* Override any gcc2 internal prototype to avoid an error. */
79501 #ifdef __cplusplus
79502 extern "C"
79503 {
79504 #endif
79505 /* We use char because int might match the return type of a gcc2
79506 builtin and then its argument prototype would still apply. */
79507 char $ac_func ();
79508 /* The GNU C library defines this for functions which it implements
79509 to always fail with ENOSYS. Some functions are actually named
79510 something starting with __ and the normal name is an alias. */
79511 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79512 choke me
79513 #else
79514 char (*f) () = $ac_func;
79515 #endif
79516 #ifdef __cplusplus
79517 }
79518 #endif
79519
79520 int
79521 main ()
79522 {
79523 return f != $ac_func;
79524 ;
79525 return 0;
79526 }
79527 _ACEOF
79528 rm -f conftest.$ac_objext conftest$ac_exeext
79529 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79530 (eval $ac_link) 2>conftest.er1
79531 ac_status=$?
79532 grep -v '^ *+' conftest.er1 >conftest.err
79533 rm -f conftest.er1
79534 cat conftest.err >&5
79535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79536 (exit $ac_status); } &&
79537 { ac_try='test -z "$ac_c_werror_flag"
79538 || test ! -s conftest.err'
79539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79540 (eval $ac_try) 2>&5
79541 ac_status=$?
79542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79543 (exit $ac_status); }; } &&
79544 { ac_try='test -s conftest$ac_exeext'
79545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79546 (eval $ac_try) 2>&5
79547 ac_status=$?
79548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79549 (exit $ac_status); }; }; then
79550 eval "$as_ac_var=yes"
79551 else
79552 echo "$as_me: failed program was:" >&5
79553 sed 's/^/| /' conftest.$ac_ext >&5
79554
79555 eval "$as_ac_var=no"
79556 fi
79557 rm -f conftest.err conftest.$ac_objext \
79558 conftest$ac_exeext conftest.$ac_ext
79559 fi
79560 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79561 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79562 if test `eval echo '${'$as_ac_var'}'` = yes; then
79563 cat >>confdefs.h <<_ACEOF
79564 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79565 _ACEOF
79566
79567 else
79568 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
79569 fi
79570 done
79571
79572
79573
79574 for ac_func in __signbitf
79575 do
79576 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79577 echo "$as_me:$LINENO: checking for $ac_func" >&5
79578 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79579 if eval "test \"\${$as_ac_var+set}\" = set"; then
79580 echo $ECHO_N "(cached) $ECHO_C" >&6
79581 else
79582 if test x$gcc_no_link = xyes; then
79583 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79584 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79585 { (exit 1); exit 1; }; }
79586 fi
79587 cat >conftest.$ac_ext <<_ACEOF
79588 /* confdefs.h. */
79589 _ACEOF
79590 cat confdefs.h >>conftest.$ac_ext
79591 cat >>conftest.$ac_ext <<_ACEOF
79592 /* end confdefs.h. */
79593 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79594 For example, HP-UX 11i <limits.h> declares gettimeofday. */
79595 #define $ac_func innocuous_$ac_func
79596
79597 /* System header to define __stub macros and hopefully few prototypes,
79598 which can conflict with char $ac_func (); below.
79599 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79600 <limits.h> exists even on freestanding compilers. */
79601
79602 #ifdef __STDC__
79603 # include <limits.h>
79604 #else
79605 # include <assert.h>
79606 #endif
79607
79608 #undef $ac_func
79609
79610 /* Override any gcc2 internal prototype to avoid an error. */
79611 #ifdef __cplusplus
79612 extern "C"
79613 {
79614 #endif
79615 /* We use char because int might match the return type of a gcc2
79616 builtin and then its argument prototype would still apply. */
79617 char $ac_func ();
79618 /* The GNU C library defines this for functions which it implements
79619 to always fail with ENOSYS. Some functions are actually named
79620 something starting with __ and the normal name is an alias. */
79621 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79622 choke me
79623 #else
79624 char (*f) () = $ac_func;
79625 #endif
79626 #ifdef __cplusplus
79627 }
79628 #endif
79629
79630 int
79631 main ()
79632 {
79633 return f != $ac_func;
79634 ;
79635 return 0;
79636 }
79637 _ACEOF
79638 rm -f conftest.$ac_objext conftest$ac_exeext
79639 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79640 (eval $ac_link) 2>conftest.er1
79641 ac_status=$?
79642 grep -v '^ *+' conftest.er1 >conftest.err
79643 rm -f conftest.er1
79644 cat conftest.err >&5
79645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79646 (exit $ac_status); } &&
79647 { ac_try='test -z "$ac_c_werror_flag"
79648 || test ! -s conftest.err'
79649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79650 (eval $ac_try) 2>&5
79651 ac_status=$?
79652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79653 (exit $ac_status); }; } &&
79654 { ac_try='test -s conftest$ac_exeext'
79655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79656 (eval $ac_try) 2>&5
79657 ac_status=$?
79658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79659 (exit $ac_status); }; }; then
79660 eval "$as_ac_var=yes"
79661 else
79662 echo "$as_me: failed program was:" >&5
79663 sed 's/^/| /' conftest.$ac_ext >&5
79664
79665 eval "$as_ac_var=no"
79666 fi
79667 rm -f conftest.err conftest.$ac_objext \
79668 conftest$ac_exeext conftest.$ac_ext
79669 fi
79670 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79671 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79672 if test `eval echo '${'$as_ac_var'}'` = yes; then
79673 cat >>confdefs.h <<_ACEOF
79674 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79675 _ACEOF
79676
79677 else
79678 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
79679 fi
79680 done
79681
79682
79683 if test x$ac_cv_func_copysignl = x"yes"; then
79684
79685 for ac_func in __signbitl
79686 do
79687 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79688 echo "$as_me:$LINENO: checking for $ac_func" >&5
79689 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79690 if eval "test \"\${$as_ac_var+set}\" = set"; then
79691 echo $ECHO_N "(cached) $ECHO_C" >&6
79692 else
79693 if test x$gcc_no_link = xyes; then
79694 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79695 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79696 { (exit 1); exit 1; }; }
79697 fi
79698 cat >conftest.$ac_ext <<_ACEOF
79699 /* confdefs.h. */
79700 _ACEOF
79701 cat confdefs.h >>conftest.$ac_ext
79702 cat >>conftest.$ac_ext <<_ACEOF
79703 /* end confdefs.h. */
79704 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79705 For example, HP-UX 11i <limits.h> declares gettimeofday. */
79706 #define $ac_func innocuous_$ac_func
79707
79708 /* System header to define __stub macros and hopefully few prototypes,
79709 which can conflict with char $ac_func (); below.
79710 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79711 <limits.h> exists even on freestanding compilers. */
79712
79713 #ifdef __STDC__
79714 # include <limits.h>
79715 #else
79716 # include <assert.h>
79717 #endif
79718
79719 #undef $ac_func
79720
79721 /* Override any gcc2 internal prototype to avoid an error. */
79722 #ifdef __cplusplus
79723 extern "C"
79724 {
79725 #endif
79726 /* We use char because int might match the return type of a gcc2
79727 builtin and then its argument prototype would still apply. */
79728 char $ac_func ();
79729 /* The GNU C library defines this for functions which it implements
79730 to always fail with ENOSYS. Some functions are actually named
79731 something starting with __ and the normal name is an alias. */
79732 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79733 choke me
79734 #else
79735 char (*f) () = $ac_func;
79736 #endif
79737 #ifdef __cplusplus
79738 }
79739 #endif
79740
79741 int
79742 main ()
79743 {
79744 return f != $ac_func;
79745 ;
79746 return 0;
79747 }
79748 _ACEOF
79749 rm -f conftest.$ac_objext conftest$ac_exeext
79750 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79751 (eval $ac_link) 2>conftest.er1
79752 ac_status=$?
79753 grep -v '^ *+' conftest.er1 >conftest.err
79754 rm -f conftest.er1
79755 cat conftest.err >&5
79756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79757 (exit $ac_status); } &&
79758 { ac_try='test -z "$ac_c_werror_flag"
79759 || test ! -s conftest.err'
79760 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79761 (eval $ac_try) 2>&5
79762 ac_status=$?
79763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79764 (exit $ac_status); }; } &&
79765 { ac_try='test -s conftest$ac_exeext'
79766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79767 (eval $ac_try) 2>&5
79768 ac_status=$?
79769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79770 (exit $ac_status); }; }; then
79771 eval "$as_ac_var=yes"
79772 else
79773 echo "$as_me: failed program was:" >&5
79774 sed 's/^/| /' conftest.$ac_ext >&5
79775
79776 eval "$as_ac_var=no"
79777 fi
79778 rm -f conftest.err conftest.$ac_objext \
79779 conftest$ac_exeext conftest.$ac_ext
79780 fi
79781 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79782 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79783 if test `eval echo '${'$as_ac_var'}'` = yes; then
79784 cat >>confdefs.h <<_ACEOF
79785 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79786 _ACEOF
79787
79788 else
79789 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
79790 fi
79791 done
79792
79793 fi
79794
79795 # Used in libmath/Makefile.am.
79796 if test -n "$LIBMATHOBJS"; then
79797 need_libmath=yes
79798 fi
79799
79800
79801
79802
79803 enable_iconv=no
79804 # Only continue checking if the ISO C99 headers exist and support is on.
79805 if test x"$enable_wchar_t" = xyes; then
79806
79807 # Use iconv for wchar_t to char conversions. As such, check for
79808 # X/Open Portability Guide, version 2 features (XPG2).
79809 if test "${ac_cv_header_iconv_h+set}" = set; then
79810 echo "$as_me:$LINENO: checking for iconv.h" >&5
79811 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
79812 if test "${ac_cv_header_iconv_h+set}" = set; then
79813 echo $ECHO_N "(cached) $ECHO_C" >&6
79814 fi
79815 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
79816 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
79817 else
79818 # Is the header compilable?
79819 echo "$as_me:$LINENO: checking iconv.h usability" >&5
79820 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
79821 cat >conftest.$ac_ext <<_ACEOF
79822 /* confdefs.h. */
79823 _ACEOF
79824 cat confdefs.h >>conftest.$ac_ext
79825 cat >>conftest.$ac_ext <<_ACEOF
79826 /* end confdefs.h. */
79827 $ac_includes_default
79828 #include <iconv.h>
79829 _ACEOF
79830 rm -f conftest.$ac_objext
79831 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
79832 (eval $ac_compile) 2>conftest.er1
79833 ac_status=$?
79834 grep -v '^ *+' conftest.er1 >conftest.err
79835 rm -f conftest.er1
79836 cat conftest.err >&5
79837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79838 (exit $ac_status); } &&
79839 { ac_try='test -z "$ac_c_werror_flag"
79840 || test ! -s conftest.err'
79841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79842 (eval $ac_try) 2>&5
79843 ac_status=$?
79844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79845 (exit $ac_status); }; } &&
79846 { ac_try='test -s conftest.$ac_objext'
79847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79848 (eval $ac_try) 2>&5
79849 ac_status=$?
79850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79851 (exit $ac_status); }; }; then
79852 ac_header_compiler=yes
79853 else
79854 echo "$as_me: failed program was:" >&5
79855 sed 's/^/| /' conftest.$ac_ext >&5
79856
79857 ac_header_compiler=no
79858 fi
79859 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
79860 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
79861 echo "${ECHO_T}$ac_header_compiler" >&6
79862
79863 # Is the header present?
79864 echo "$as_me:$LINENO: checking iconv.h presence" >&5
79865 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
79866 cat >conftest.$ac_ext <<_ACEOF
79867 /* confdefs.h. */
79868 _ACEOF
79869 cat confdefs.h >>conftest.$ac_ext
79870 cat >>conftest.$ac_ext <<_ACEOF
79871 /* end confdefs.h. */
79872 #include <iconv.h>
79873 _ACEOF
79874 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
79875 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
79876 ac_status=$?
79877 grep -v '^ *+' conftest.er1 >conftest.err
79878 rm -f conftest.er1
79879 cat conftest.err >&5
79880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79881 (exit $ac_status); } >/dev/null; then
79882 if test -s conftest.err; then
79883 ac_cpp_err=$ac_c_preproc_warn_flag
79884 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
79885 else
79886 ac_cpp_err=
79887 fi
79888 else
79889 ac_cpp_err=yes
79890 fi
79891 if test -z "$ac_cpp_err"; then
79892 ac_header_preproc=yes
79893 else
79894 echo "$as_me: failed program was:" >&5
79895 sed 's/^/| /' conftest.$ac_ext >&5
79896
79897 ac_header_preproc=no
79898 fi
79899 rm -f conftest.err conftest.$ac_ext
79900 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
79901 echo "${ECHO_T}$ac_header_preproc" >&6
79902
79903 # So? What about this header?
79904 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
79905 yes:no: )
79906 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
79907 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
79908 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
79909 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
79910 ac_header_preproc=yes
79911 ;;
79912 no:yes:* )
79913 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
79914 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
79915 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
79916 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
79917 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
79918 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
79919 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
79920 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
79921 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
79922 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
79923 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
79924 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
79925 (
79926 cat <<\_ASBOX
79927 ## ----------------------------------------- ##
79928 ## Report this to the package-unused lists. ##
79929 ## ----------------------------------------- ##
79930 _ASBOX
79931 ) |
79932 sed "s/^/$as_me: WARNING: /" >&2
79933 ;;
79934 esac
79935 echo "$as_me:$LINENO: checking for iconv.h" >&5
79936 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
79937 if test "${ac_cv_header_iconv_h+set}" = set; then
79938 echo $ECHO_N "(cached) $ECHO_C" >&6
79939 else
79940 ac_cv_header_iconv_h=$ac_header_preproc
79941 fi
79942 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
79943 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
79944
79945 fi
79946 if test $ac_cv_header_iconv_h = yes; then
79947 ac_has_iconv_h=yes
79948 else
79949 ac_has_iconv_h=no
79950 fi
79951
79952
79953 if test "${ac_cv_header_langinfo_h+set}" = set; then
79954 echo "$as_me:$LINENO: checking for langinfo.h" >&5
79955 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
79956 if test "${ac_cv_header_langinfo_h+set}" = set; then
79957 echo $ECHO_N "(cached) $ECHO_C" >&6
79958 fi
79959 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
79960 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
79961 else
79962 # Is the header compilable?
79963 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
79964 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
79965 cat >conftest.$ac_ext <<_ACEOF
79966 /* confdefs.h. */
79967 _ACEOF
79968 cat confdefs.h >>conftest.$ac_ext
79969 cat >>conftest.$ac_ext <<_ACEOF
79970 /* end confdefs.h. */
79971 $ac_includes_default
79972 #include <langinfo.h>
79973 _ACEOF
79974 rm -f conftest.$ac_objext
79975 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
79976 (eval $ac_compile) 2>conftest.er1
79977 ac_status=$?
79978 grep -v '^ *+' conftest.er1 >conftest.err
79979 rm -f conftest.er1
79980 cat conftest.err >&5
79981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79982 (exit $ac_status); } &&
79983 { ac_try='test -z "$ac_c_werror_flag"
79984 || test ! -s conftest.err'
79985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79986 (eval $ac_try) 2>&5
79987 ac_status=$?
79988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79989 (exit $ac_status); }; } &&
79990 { ac_try='test -s conftest.$ac_objext'
79991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79992 (eval $ac_try) 2>&5
79993 ac_status=$?
79994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79995 (exit $ac_status); }; }; then
79996 ac_header_compiler=yes
79997 else
79998 echo "$as_me: failed program was:" >&5
79999 sed 's/^/| /' conftest.$ac_ext >&5
80000
80001 ac_header_compiler=no
80002 fi
80003 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
80004 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
80005 echo "${ECHO_T}$ac_header_compiler" >&6
80006
80007 # Is the header present?
80008 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
80009 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
80010 cat >conftest.$ac_ext <<_ACEOF
80011 /* confdefs.h. */
80012 _ACEOF
80013 cat confdefs.h >>conftest.$ac_ext
80014 cat >>conftest.$ac_ext <<_ACEOF
80015 /* end confdefs.h. */
80016 #include <langinfo.h>
80017 _ACEOF
80018 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
80019 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
80020 ac_status=$?
80021 grep -v '^ *+' conftest.er1 >conftest.err
80022 rm -f conftest.er1
80023 cat conftest.err >&5
80024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80025 (exit $ac_status); } >/dev/null; then
80026 if test -s conftest.err; then
80027 ac_cpp_err=$ac_c_preproc_warn_flag
80028 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
80029 else
80030 ac_cpp_err=
80031 fi
80032 else
80033 ac_cpp_err=yes
80034 fi
80035 if test -z "$ac_cpp_err"; then
80036 ac_header_preproc=yes
80037 else
80038 echo "$as_me: failed program was:" >&5
80039 sed 's/^/| /' conftest.$ac_ext >&5
80040
80041 ac_header_preproc=no
80042 fi
80043 rm -f conftest.err conftest.$ac_ext
80044 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
80045 echo "${ECHO_T}$ac_header_preproc" >&6
80046
80047 # So? What about this header?
80048 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
80049 yes:no: )
80050 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
80051 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
80052 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
80053 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
80054 ac_header_preproc=yes
80055 ;;
80056 no:yes:* )
80057 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
80058 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
80059 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
80060 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
80061 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
80062 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
80063 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
80064 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
80065 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
80066 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
80067 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
80068 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
80069 (
80070 cat <<\_ASBOX
80071 ## ----------------------------------------- ##
80072 ## Report this to the package-unused lists. ##
80073 ## ----------------------------------------- ##
80074 _ASBOX
80075 ) |
80076 sed "s/^/$as_me: WARNING: /" >&2
80077 ;;
80078 esac
80079 echo "$as_me:$LINENO: checking for langinfo.h" >&5
80080 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
80081 if test "${ac_cv_header_langinfo_h+set}" = set; then
80082 echo $ECHO_N "(cached) $ECHO_C" >&6
80083 else
80084 ac_cv_header_langinfo_h=$ac_header_preproc
80085 fi
80086 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
80087 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
80088
80089 fi
80090 if test $ac_cv_header_langinfo_h = yes; then
80091 ac_has_langinfo_h=yes
80092 else
80093 ac_has_langinfo_h=no
80094 fi
80095
80096
80097
80098 # Check for existence of libiconv.a providing XPG2 wchar_t support.
80099 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
80100 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
80101 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
80102 echo $ECHO_N "(cached) $ECHO_C" >&6
80103 else
80104 ac_check_lib_save_LIBS=$LIBS
80105 LIBS="-liconv $LIBS"
80106 if test x$gcc_no_link = xyes; then
80107 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80108 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80109 { (exit 1); exit 1; }; }
80110 fi
80111 cat >conftest.$ac_ext <<_ACEOF
80112 /* confdefs.h. */
80113 _ACEOF
80114 cat confdefs.h >>conftest.$ac_ext
80115 cat >>conftest.$ac_ext <<_ACEOF
80116 /* end confdefs.h. */
80117
80118 /* Override any gcc2 internal prototype to avoid an error. */
80119 #ifdef __cplusplus
80120 extern "C"
80121 #endif
80122 /* We use char because int might match the return type of a gcc2
80123 builtin and then its argument prototype would still apply. */
80124 char iconv ();
80125 int
80126 main ()
80127 {
80128 iconv ();
80129 ;
80130 return 0;
80131 }
80132 _ACEOF
80133 rm -f conftest.$ac_objext conftest$ac_exeext
80134 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80135 (eval $ac_link) 2>conftest.er1
80136 ac_status=$?
80137 grep -v '^ *+' conftest.er1 >conftest.err
80138 rm -f conftest.er1
80139 cat conftest.err >&5
80140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80141 (exit $ac_status); } &&
80142 { ac_try='test -z "$ac_c_werror_flag"
80143 || test ! -s conftest.err'
80144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80145 (eval $ac_try) 2>&5
80146 ac_status=$?
80147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80148 (exit $ac_status); }; } &&
80149 { ac_try='test -s conftest$ac_exeext'
80150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80151 (eval $ac_try) 2>&5
80152 ac_status=$?
80153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80154 (exit $ac_status); }; }; then
80155 ac_cv_lib_iconv_iconv=yes
80156 else
80157 echo "$as_me: failed program was:" >&5
80158 sed 's/^/| /' conftest.$ac_ext >&5
80159
80160 ac_cv_lib_iconv_iconv=no
80161 fi
80162 rm -f conftest.err conftest.$ac_objext \
80163 conftest$ac_exeext conftest.$ac_ext
80164 LIBS=$ac_check_lib_save_LIBS
80165 fi
80166 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
80167 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
80168 if test $ac_cv_lib_iconv_iconv = yes; then
80169 LIBICONV="-liconv"
80170 fi
80171
80172 ac_save_LIBS="$LIBS"
80173 LIBS="$LIBS $LIBICONV"
80174
80175
80176
80177
80178
80179
80180 for ac_func in iconv_open iconv_close iconv nl_langinfo
80181 do
80182 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80183 echo "$as_me:$LINENO: checking for $ac_func" >&5
80184 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80185 if eval "test \"\${$as_ac_var+set}\" = set"; then
80186 echo $ECHO_N "(cached) $ECHO_C" >&6
80187 else
80188 if test x$gcc_no_link = xyes; then
80189 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80190 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80191 { (exit 1); exit 1; }; }
80192 fi
80193 cat >conftest.$ac_ext <<_ACEOF
80194 /* confdefs.h. */
80195 _ACEOF
80196 cat confdefs.h >>conftest.$ac_ext
80197 cat >>conftest.$ac_ext <<_ACEOF
80198 /* end confdefs.h. */
80199 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80200 For example, HP-UX 11i <limits.h> declares gettimeofday. */
80201 #define $ac_func innocuous_$ac_func
80202
80203 /* System header to define __stub macros and hopefully few prototypes,
80204 which can conflict with char $ac_func (); below.
80205 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80206 <limits.h> exists even on freestanding compilers. */
80207
80208 #ifdef __STDC__
80209 # include <limits.h>
80210 #else
80211 # include <assert.h>
80212 #endif
80213
80214 #undef $ac_func
80215
80216 /* Override any gcc2 internal prototype to avoid an error. */
80217 #ifdef __cplusplus
80218 extern "C"
80219 {
80220 #endif
80221 /* We use char because int might match the return type of a gcc2
80222 builtin and then its argument prototype would still apply. */
80223 char $ac_func ();
80224 /* The GNU C library defines this for functions which it implements
80225 to always fail with ENOSYS. Some functions are actually named
80226 something starting with __ and the normal name is an alias. */
80227 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80228 choke me
80229 #else
80230 char (*f) () = $ac_func;
80231 #endif
80232 #ifdef __cplusplus
80233 }
80234 #endif
80235
80236 int
80237 main ()
80238 {
80239 return f != $ac_func;
80240 ;
80241 return 0;
80242 }
80243 _ACEOF
80244 rm -f conftest.$ac_objext conftest$ac_exeext
80245 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80246 (eval $ac_link) 2>conftest.er1
80247 ac_status=$?
80248 grep -v '^ *+' conftest.er1 >conftest.err
80249 rm -f conftest.er1
80250 cat conftest.err >&5
80251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80252 (exit $ac_status); } &&
80253 { ac_try='test -z "$ac_c_werror_flag"
80254 || test ! -s conftest.err'
80255 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80256 (eval $ac_try) 2>&5
80257 ac_status=$?
80258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80259 (exit $ac_status); }; } &&
80260 { ac_try='test -s conftest$ac_exeext'
80261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80262 (eval $ac_try) 2>&5
80263 ac_status=$?
80264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80265 (exit $ac_status); }; }; then
80266 eval "$as_ac_var=yes"
80267 else
80268 echo "$as_me: failed program was:" >&5
80269 sed 's/^/| /' conftest.$ac_ext >&5
80270
80271 eval "$as_ac_var=no"
80272 fi
80273 rm -f conftest.err conftest.$ac_objext \
80274 conftest$ac_exeext conftest.$ac_ext
80275 fi
80276 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80277 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80278 if test `eval echo '${'$as_ac_var'}'` = yes; then
80279 cat >>confdefs.h <<_ACEOF
80280 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80281 _ACEOF
80282 ac_XPG2funcs=yes
80283 else
80284 ac_XPG2funcs=no
80285 fi
80286 done
80287
80288
80289 LIBS="$ac_save_LIBS"
80290
80291 if test x"$ac_has_iconv_h" = xyes &&
80292 test x"$ac_has_langinfo_h" = xyes &&
80293 test x"$ac_XPG2funcs" = xyes;
80294 then
80295
80296 cat >>confdefs.h <<\_ACEOF
80297 #define _GLIBCXX_USE_ICONV 1
80298 _ACEOF
80299
80300 enable_iconv=yes
80301 fi
80302 fi
80303 echo "$as_me:$LINENO: checking for enabled iconv specializations" >&5
80304 echo $ECHO_N "checking for enabled iconv specializations... $ECHO_C" >&6
80305 echo "$as_me:$LINENO: result: $enable_iconv" >&5
80306 echo "${ECHO_T}$enable_iconv" >&6
80307
80308 ;;
80309 *-netbsd*)
80310
80311
80312
80313
80314
80315
80316
80317
80318
80319
80320
80321
80322 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
80323 machine/endian.h machine/param.h sys/machine.h sys/types.h \
80324 fp.h locale.h float.h inttypes.h
80325 do
80326 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
80327 if eval "test \"\${$as_ac_Header+set}\" = set"; then
80328 echo "$as_me:$LINENO: checking for $ac_header" >&5
80329 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
80330 if eval "test \"\${$as_ac_Header+set}\" = set"; then
80331 echo $ECHO_N "(cached) $ECHO_C" >&6
80332 fi
80333 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
80334 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
80335 else
80336 # Is the header compilable?
80337 echo "$as_me:$LINENO: checking $ac_header usability" >&5
80338 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
80339 cat >conftest.$ac_ext <<_ACEOF
80340 /* confdefs.h. */
80341 _ACEOF
80342 cat confdefs.h >>conftest.$ac_ext
80343 cat >>conftest.$ac_ext <<_ACEOF
80344 /* end confdefs.h. */
80345 $ac_includes_default
80346 #include <$ac_header>
80347 _ACEOF
80348 rm -f conftest.$ac_objext
80349 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
80350 (eval $ac_compile) 2>conftest.er1
80351 ac_status=$?
80352 grep -v '^ *+' conftest.er1 >conftest.err
80353 rm -f conftest.er1
80354 cat conftest.err >&5
80355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80356 (exit $ac_status); } &&
80357 { ac_try='test -z "$ac_c_werror_flag"
80358 || test ! -s conftest.err'
80359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80360 (eval $ac_try) 2>&5
80361 ac_status=$?
80362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80363 (exit $ac_status); }; } &&
80364 { ac_try='test -s conftest.$ac_objext'
80365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80366 (eval $ac_try) 2>&5
80367 ac_status=$?
80368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80369 (exit $ac_status); }; }; then
80370 ac_header_compiler=yes
80371 else
80372 echo "$as_me: failed program was:" >&5
80373 sed 's/^/| /' conftest.$ac_ext >&5
80374
80375 ac_header_compiler=no
80376 fi
80377 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
80378 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
80379 echo "${ECHO_T}$ac_header_compiler" >&6
80380
80381 # Is the header present?
80382 echo "$as_me:$LINENO: checking $ac_header presence" >&5
80383 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
80384 cat >conftest.$ac_ext <<_ACEOF
80385 /* confdefs.h. */
80386 _ACEOF
80387 cat confdefs.h >>conftest.$ac_ext
80388 cat >>conftest.$ac_ext <<_ACEOF
80389 /* end confdefs.h. */
80390 #include <$ac_header>
80391 _ACEOF
80392 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
80393 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
80394 ac_status=$?
80395 grep -v '^ *+' conftest.er1 >conftest.err
80396 rm -f conftest.er1
80397 cat conftest.err >&5
80398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80399 (exit $ac_status); } >/dev/null; then
80400 if test -s conftest.err; then
80401 ac_cpp_err=$ac_c_preproc_warn_flag
80402 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
80403 else
80404 ac_cpp_err=
80405 fi
80406 else
80407 ac_cpp_err=yes
80408 fi
80409 if test -z "$ac_cpp_err"; then
80410 ac_header_preproc=yes
80411 else
80412 echo "$as_me: failed program was:" >&5
80413 sed 's/^/| /' conftest.$ac_ext >&5
80414
80415 ac_header_preproc=no
80416 fi
80417 rm -f conftest.err conftest.$ac_ext
80418 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
80419 echo "${ECHO_T}$ac_header_preproc" >&6
80420
80421 # So? What about this header?
80422 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
80423 yes:no: )
80424 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
80425 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
80426 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
80427 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
80428 ac_header_preproc=yes
80429 ;;
80430 no:yes:* )
80431 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
80432 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
80433 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
80434 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
80435 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
80436 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
80437 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
80438 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
80439 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
80440 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
80441 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
80442 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
80443 (
80444 cat <<\_ASBOX
80445 ## ----------------------------------------- ##
80446 ## Report this to the package-unused lists. ##
80447 ## ----------------------------------------- ##
80448 _ASBOX
80449 ) |
80450 sed "s/^/$as_me: WARNING: /" >&2
80451 ;;
80452 esac
80453 echo "$as_me:$LINENO: checking for $ac_header" >&5
80454 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
80455 if eval "test \"\${$as_ac_Header+set}\" = set"; then
80456 echo $ECHO_N "(cached) $ECHO_C" >&6
80457 else
80458 eval "$as_ac_Header=\$ac_header_preproc"
80459 fi
80460 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
80461 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
80462
80463 fi
80464 if test `eval echo '${'$as_ac_Header'}'` = yes; then
80465 cat >>confdefs.h <<_ACEOF
80466 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
80467 _ACEOF
80468
80469 fi
80470
80471 done
80472
80473 SECTION_FLAGS='-ffunction-sections -fdata-sections'
80474
80475
80476 # If we're not using GNU ld, then there's no point in even trying these
80477 # tests. Check for that first. We should have already tested for gld
80478 # by now (in libtool), but require it now just to be safe...
80479 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
80480 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
80481
80482
80483
80484 # The name set by libtool depends on the version of libtool. Shame on us
80485 # for depending on an impl detail, but c'est la vie. Older versions used
80486 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
80487 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
80488 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
80489 # set (hence we're using an older libtool), then set it.
80490 if test x${with_gnu_ld+set} != xset; then
80491 if test x${ac_cv_prog_gnu_ld+set} != xset; then
80492 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
80493 with_gnu_ld=no
80494 else
80495 with_gnu_ld=$ac_cv_prog_gnu_ld
80496 fi
80497 fi
80498
80499 # Start by getting the version number. I think the libtool test already
80500 # does some of this, but throws away the result.
80501
80502 ldver=`$LD --version 2>/dev/null | head -1 | \
80503 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
80504
80505 glibcxx_gnu_ld_version=`echo $ldver | \
80506 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
80507
80508 # Set --gc-sections.
80509 if test "$with_gnu_ld" = "notbroken"; then
80510 # GNU ld it is! Joy and bunny rabbits!
80511
80512 # All these tests are for C++; save the language and the compiler flags.
80513 # Need to do this so that g++ won't try to link in libstdc++
80514 ac_test_CFLAGS="${CFLAGS+set}"
80515 ac_save_CFLAGS="$CFLAGS"
80516 CFLAGS='-x c++ -Wl,--gc-sections'
80517
80518 # Check for -Wl,--gc-sections
80519 # XXX This test is broken at the moment, as symbols required for linking
80520 # are now in libsupc++ (not built yet). In addition, this test has
80521 # cored on solaris in the past. In addition, --gc-sections doesn't
80522 # really work at the moment (keeps on discarding used sections, first
80523 # .eh_frame and now some of the glibc sections for iconv).
80524 # Bzzzzt. Thanks for playing, maybe next time.
80525 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
80526 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
80527 if test "$cross_compiling" = yes; then
80528 ac_sectionLDflags=yes
80529 else
80530 cat >conftest.$ac_ext <<_ACEOF
80531 /* confdefs.h. */
80532 _ACEOF
80533 cat confdefs.h >>conftest.$ac_ext
80534 cat >>conftest.$ac_ext <<_ACEOF
80535 /* end confdefs.h. */
80536
80537 int main(void)
80538 {
80539 try { throw 1; }
80540 catch (...) { };
80541 return 0;
80542 }
80543
80544 _ACEOF
80545 rm -f conftest$ac_exeext
80546 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80547 (eval $ac_link) 2>&5
80548 ac_status=$?
80549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80550 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
80551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80552 (eval $ac_try) 2>&5
80553 ac_status=$?
80554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80555 (exit $ac_status); }; }; then
80556 ac_sectionLDflags=yes
80557 else
80558 echo "$as_me: program exited with status $ac_status" >&5
80559 echo "$as_me: failed program was:" >&5
80560 sed 's/^/| /' conftest.$ac_ext >&5
80561
80562 ( exit $ac_status )
80563 ac_sectionLDflags=no
80564 fi
80565 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
80566 fi
80567 if test "$ac_test_CFLAGS" = set; then
80568 CFLAGS="$ac_save_CFLAGS"
80569 else
80570 # this is the suspicious part
80571 CFLAGS=''
80572 fi
80573 if test "$ac_sectionLDflags" = "yes"; then
80574 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
80575 fi
80576 echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
80577 echo "${ECHO_T}$ac_sectionLDflags" >&6
80578 fi
80579
80580 # Set linker optimization flags.
80581 if test x"$with_gnu_ld" = x"yes"; then
80582 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
80583 fi
80584
80585
80586
80587
80588
80589
80590 echo "$as_me:$LINENO: checking for main in -lm" >&5
80591 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
80592 if test "${ac_cv_lib_m_main+set}" = set; then
80593 echo $ECHO_N "(cached) $ECHO_C" >&6
80594 else
80595 ac_check_lib_save_LIBS=$LIBS
80596 LIBS="-lm $LIBS"
80597 if test x$gcc_no_link = xyes; then
80598 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80599 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80600 { (exit 1); exit 1; }; }
80601 fi
80602 cat >conftest.$ac_ext <<_ACEOF
80603 /* confdefs.h. */
80604 _ACEOF
80605 cat confdefs.h >>conftest.$ac_ext
80606 cat >>conftest.$ac_ext <<_ACEOF
80607 /* end confdefs.h. */
80608
80609
80610 int
80611 main ()
80612 {
80613 main ();
80614 ;
80615 return 0;
80616 }
80617 _ACEOF
80618 rm -f conftest.$ac_objext conftest$ac_exeext
80619 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80620 (eval $ac_link) 2>conftest.er1
80621 ac_status=$?
80622 grep -v '^ *+' conftest.er1 >conftest.err
80623 rm -f conftest.er1
80624 cat conftest.err >&5
80625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80626 (exit $ac_status); } &&
80627 { ac_try='test -z "$ac_c_werror_flag"
80628 || test ! -s conftest.err'
80629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80630 (eval $ac_try) 2>&5
80631 ac_status=$?
80632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80633 (exit $ac_status); }; } &&
80634 { ac_try='test -s conftest$ac_exeext'
80635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80636 (eval $ac_try) 2>&5
80637 ac_status=$?
80638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80639 (exit $ac_status); }; }; then
80640 ac_cv_lib_m_main=yes
80641 else
80642 echo "$as_me: failed program was:" >&5
80643 sed 's/^/| /' conftest.$ac_ext >&5
80644
80645 ac_cv_lib_m_main=no
80646 fi
80647 rm -f conftest.err conftest.$ac_objext \
80648 conftest$ac_exeext conftest.$ac_ext
80649 LIBS=$ac_check_lib_save_LIBS
80650 fi
80651 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
80652 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
80653 if test $ac_cv_lib_m_main = yes; then
80654 cat >>confdefs.h <<_ACEOF
80655 #define HAVE_LIBM 1
80656 _ACEOF
80657
80658 LIBS="-lm $LIBS"
80659
80660 fi
80661
80662
80663 for ac_func in copysignf
80664 do
80665 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80666 echo "$as_me:$LINENO: checking for $ac_func" >&5
80667 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80668 if eval "test \"\${$as_ac_var+set}\" = set"; then
80669 echo $ECHO_N "(cached) $ECHO_C" >&6
80670 else
80671 if test x$gcc_no_link = xyes; then
80672 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80673 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80674 { (exit 1); exit 1; }; }
80675 fi
80676 cat >conftest.$ac_ext <<_ACEOF
80677 /* confdefs.h. */
80678 _ACEOF
80679 cat confdefs.h >>conftest.$ac_ext
80680 cat >>conftest.$ac_ext <<_ACEOF
80681 /* end confdefs.h. */
80682 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80683 For example, HP-UX 11i <limits.h> declares gettimeofday. */
80684 #define $ac_func innocuous_$ac_func
80685
80686 /* System header to define __stub macros and hopefully few prototypes,
80687 which can conflict with char $ac_func (); below.
80688 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80689 <limits.h> exists even on freestanding compilers. */
80690
80691 #ifdef __STDC__
80692 # include <limits.h>
80693 #else
80694 # include <assert.h>
80695 #endif
80696
80697 #undef $ac_func
80698
80699 /* Override any gcc2 internal prototype to avoid an error. */
80700 #ifdef __cplusplus
80701 extern "C"
80702 {
80703 #endif
80704 /* We use char because int might match the return type of a gcc2
80705 builtin and then its argument prototype would still apply. */
80706 char $ac_func ();
80707 /* The GNU C library defines this for functions which it implements
80708 to always fail with ENOSYS. Some functions are actually named
80709 something starting with __ and the normal name is an alias. */
80710 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80711 choke me
80712 #else
80713 char (*f) () = $ac_func;
80714 #endif
80715 #ifdef __cplusplus
80716 }
80717 #endif
80718
80719 int
80720 main ()
80721 {
80722 return f != $ac_func;
80723 ;
80724 return 0;
80725 }
80726 _ACEOF
80727 rm -f conftest.$ac_objext conftest$ac_exeext
80728 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80729 (eval $ac_link) 2>conftest.er1
80730 ac_status=$?
80731 grep -v '^ *+' conftest.er1 >conftest.err
80732 rm -f conftest.er1
80733 cat conftest.err >&5
80734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80735 (exit $ac_status); } &&
80736 { ac_try='test -z "$ac_c_werror_flag"
80737 || test ! -s conftest.err'
80738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80739 (eval $ac_try) 2>&5
80740 ac_status=$?
80741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80742 (exit $ac_status); }; } &&
80743 { ac_try='test -s conftest$ac_exeext'
80744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80745 (eval $ac_try) 2>&5
80746 ac_status=$?
80747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80748 (exit $ac_status); }; }; then
80749 eval "$as_ac_var=yes"
80750 else
80751 echo "$as_me: failed program was:" >&5
80752 sed 's/^/| /' conftest.$ac_ext >&5
80753
80754 eval "$as_ac_var=no"
80755 fi
80756 rm -f conftest.err conftest.$ac_objext \
80757 conftest$ac_exeext conftest.$ac_ext
80758 fi
80759 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80760 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80761 if test `eval echo '${'$as_ac_var'}'` = yes; then
80762 cat >>confdefs.h <<_ACEOF
80763 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80764 _ACEOF
80765
80766 else
80767 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
80768 fi
80769 done
80770
80771
80772
80773 for ac_func in __signbit
80774 do
80775 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80776 echo "$as_me:$LINENO: checking for $ac_func" >&5
80777 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80778 if eval "test \"\${$as_ac_var+set}\" = set"; then
80779 echo $ECHO_N "(cached) $ECHO_C" >&6
80780 else
80781 if test x$gcc_no_link = xyes; then
80782 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80783 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80784 { (exit 1); exit 1; }; }
80785 fi
80786 cat >conftest.$ac_ext <<_ACEOF
80787 /* confdefs.h. */
80788 _ACEOF
80789 cat confdefs.h >>conftest.$ac_ext
80790 cat >>conftest.$ac_ext <<_ACEOF
80791 /* end confdefs.h. */
80792 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80793 For example, HP-UX 11i <limits.h> declares gettimeofday. */
80794 #define $ac_func innocuous_$ac_func
80795
80796 /* System header to define __stub macros and hopefully few prototypes,
80797 which can conflict with char $ac_func (); below.
80798 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80799 <limits.h> exists even on freestanding compilers. */
80800
80801 #ifdef __STDC__
80802 # include <limits.h>
80803 #else
80804 # include <assert.h>
80805 #endif
80806
80807 #undef $ac_func
80808
80809 /* Override any gcc2 internal prototype to avoid an error. */
80810 #ifdef __cplusplus
80811 extern "C"
80812 {
80813 #endif
80814 /* We use char because int might match the return type of a gcc2
80815 builtin and then its argument prototype would still apply. */
80816 char $ac_func ();
80817 /* The GNU C library defines this for functions which it implements
80818 to always fail with ENOSYS. Some functions are actually named
80819 something starting with __ and the normal name is an alias. */
80820 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80821 choke me
80822 #else
80823 char (*f) () = $ac_func;
80824 #endif
80825 #ifdef __cplusplus
80826 }
80827 #endif
80828
80829 int
80830 main ()
80831 {
80832 return f != $ac_func;
80833 ;
80834 return 0;
80835 }
80836 _ACEOF
80837 rm -f conftest.$ac_objext conftest$ac_exeext
80838 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80839 (eval $ac_link) 2>conftest.er1
80840 ac_status=$?
80841 grep -v '^ *+' conftest.er1 >conftest.err
80842 rm -f conftest.er1
80843 cat conftest.err >&5
80844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80845 (exit $ac_status); } &&
80846 { ac_try='test -z "$ac_c_werror_flag"
80847 || test ! -s conftest.err'
80848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80849 (eval $ac_try) 2>&5
80850 ac_status=$?
80851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80852 (exit $ac_status); }; } &&
80853 { ac_try='test -s conftest$ac_exeext'
80854 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80855 (eval $ac_try) 2>&5
80856 ac_status=$?
80857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80858 (exit $ac_status); }; }; then
80859 eval "$as_ac_var=yes"
80860 else
80861 echo "$as_me: failed program was:" >&5
80862 sed 's/^/| /' conftest.$ac_ext >&5
80863
80864 eval "$as_ac_var=no"
80865 fi
80866 rm -f conftest.err conftest.$ac_objext \
80867 conftest$ac_exeext conftest.$ac_ext
80868 fi
80869 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80870 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80871 if test `eval echo '${'$as_ac_var'}'` = yes; then
80872 cat >>confdefs.h <<_ACEOF
80873 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80874 _ACEOF
80875
80876 else
80877 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
80878 fi
80879 done
80880
80881
80882
80883 for ac_func in __signbitf
80884 do
80885 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80886 echo "$as_me:$LINENO: checking for $ac_func" >&5
80887 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80888 if eval "test \"\${$as_ac_var+set}\" = set"; then
80889 echo $ECHO_N "(cached) $ECHO_C" >&6
80890 else
80891 if test x$gcc_no_link = xyes; then
80892 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80893 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80894 { (exit 1); exit 1; }; }
80895 fi
80896 cat >conftest.$ac_ext <<_ACEOF
80897 /* confdefs.h. */
80898 _ACEOF
80899 cat confdefs.h >>conftest.$ac_ext
80900 cat >>conftest.$ac_ext <<_ACEOF
80901 /* end confdefs.h. */
80902 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80903 For example, HP-UX 11i <limits.h> declares gettimeofday. */
80904 #define $ac_func innocuous_$ac_func
80905
80906 /* System header to define __stub macros and hopefully few prototypes,
80907 which can conflict with char $ac_func (); below.
80908 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80909 <limits.h> exists even on freestanding compilers. */
80910
80911 #ifdef __STDC__
80912 # include <limits.h>
80913 #else
80914 # include <assert.h>
80915 #endif
80916
80917 #undef $ac_func
80918
80919 /* Override any gcc2 internal prototype to avoid an error. */
80920 #ifdef __cplusplus
80921 extern "C"
80922 {
80923 #endif
80924 /* We use char because int might match the return type of a gcc2
80925 builtin and then its argument prototype would still apply. */
80926 char $ac_func ();
80927 /* The GNU C library defines this for functions which it implements
80928 to always fail with ENOSYS. Some functions are actually named
80929 something starting with __ and the normal name is an alias. */
80930 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80931 choke me
80932 #else
80933 char (*f) () = $ac_func;
80934 #endif
80935 #ifdef __cplusplus
80936 }
80937 #endif
80938
80939 int
80940 main ()
80941 {
80942 return f != $ac_func;
80943 ;
80944 return 0;
80945 }
80946 _ACEOF
80947 rm -f conftest.$ac_objext conftest$ac_exeext
80948 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80949 (eval $ac_link) 2>conftest.er1
80950 ac_status=$?
80951 grep -v '^ *+' conftest.er1 >conftest.err
80952 rm -f conftest.er1
80953 cat conftest.err >&5
80954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80955 (exit $ac_status); } &&
80956 { ac_try='test -z "$ac_c_werror_flag"
80957 || test ! -s conftest.err'
80958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80959 (eval $ac_try) 2>&5
80960 ac_status=$?
80961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80962 (exit $ac_status); }; } &&
80963 { ac_try='test -s conftest$ac_exeext'
80964 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80965 (eval $ac_try) 2>&5
80966 ac_status=$?
80967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80968 (exit $ac_status); }; }; then
80969 eval "$as_ac_var=yes"
80970 else
80971 echo "$as_me: failed program was:" >&5
80972 sed 's/^/| /' conftest.$ac_ext >&5
80973
80974 eval "$as_ac_var=no"
80975 fi
80976 rm -f conftest.err conftest.$ac_objext \
80977 conftest$ac_exeext conftest.$ac_ext
80978 fi
80979 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80980 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80981 if test `eval echo '${'$as_ac_var'}'` = yes; then
80982 cat >>confdefs.h <<_ACEOF
80983 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80984 _ACEOF
80985
80986 else
80987 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
80988 fi
80989 done
80990
80991
80992 if test x$ac_cv_func_copysignl = x"yes"; then
80993
80994 for ac_func in __signbitl
80995 do
80996 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80997 echo "$as_me:$LINENO: checking for $ac_func" >&5
80998 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80999 if eval "test \"\${$as_ac_var+set}\" = set"; then
81000 echo $ECHO_N "(cached) $ECHO_C" >&6
81001 else
81002 if test x$gcc_no_link = xyes; then
81003 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81004 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81005 { (exit 1); exit 1; }; }
81006 fi
81007 cat >conftest.$ac_ext <<_ACEOF
81008 /* confdefs.h. */
81009 _ACEOF
81010 cat confdefs.h >>conftest.$ac_ext
81011 cat >>conftest.$ac_ext <<_ACEOF
81012 /* end confdefs.h. */
81013 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
81014 For example, HP-UX 11i <limits.h> declares gettimeofday. */
81015 #define $ac_func innocuous_$ac_func
81016
81017 /* System header to define __stub macros and hopefully few prototypes,
81018 which can conflict with char $ac_func (); below.
81019 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
81020 <limits.h> exists even on freestanding compilers. */
81021
81022 #ifdef __STDC__
81023 # include <limits.h>
81024 #else
81025 # include <assert.h>
81026 #endif
81027
81028 #undef $ac_func
81029
81030 /* Override any gcc2 internal prototype to avoid an error. */
81031 #ifdef __cplusplus
81032 extern "C"
81033 {
81034 #endif
81035 /* We use char because int might match the return type of a gcc2
81036 builtin and then its argument prototype would still apply. */
81037 char $ac_func ();
81038 /* The GNU C library defines this for functions which it implements
81039 to always fail with ENOSYS. Some functions are actually named
81040 something starting with __ and the normal name is an alias. */
81041 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
81042 choke me
81043 #else
81044 char (*f) () = $ac_func;
81045 #endif
81046 #ifdef __cplusplus
81047 }
81048 #endif
81049
81050 int
81051 main ()
81052 {
81053 return f != $ac_func;
81054 ;
81055 return 0;
81056 }
81057 _ACEOF
81058 rm -f conftest.$ac_objext conftest$ac_exeext
81059 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81060 (eval $ac_link) 2>conftest.er1
81061 ac_status=$?
81062 grep -v '^ *+' conftest.er1 >conftest.err
81063 rm -f conftest.er1
81064 cat conftest.err >&5
81065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81066 (exit $ac_status); } &&
81067 { ac_try='test -z "$ac_c_werror_flag"
81068 || test ! -s conftest.err'
81069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81070 (eval $ac_try) 2>&5
81071 ac_status=$?
81072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81073 (exit $ac_status); }; } &&
81074 { ac_try='test -s conftest$ac_exeext'
81075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81076 (eval $ac_try) 2>&5
81077 ac_status=$?
81078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81079 (exit $ac_status); }; }; then
81080 eval "$as_ac_var=yes"
81081 else
81082 echo "$as_me: failed program was:" >&5
81083 sed 's/^/| /' conftest.$ac_ext >&5
81084
81085 eval "$as_ac_var=no"
81086 fi
81087 rm -f conftest.err conftest.$ac_objext \
81088 conftest$ac_exeext conftest.$ac_ext
81089 fi
81090 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
81091 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
81092 if test `eval echo '${'$as_ac_var'}'` = yes; then
81093 cat >>confdefs.h <<_ACEOF
81094 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
81095 _ACEOF
81096
81097 else
81098 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
81099 fi
81100 done
81101
81102 fi
81103
81104 # Used in libmath/Makefile.am.
81105 if test -n "$LIBMATHOBJS"; then
81106 need_libmath=yes
81107 fi
81108
81109
81110
81111
81112 enable_iconv=no
81113 # Only continue checking if the ISO C99 headers exist and support is on.
81114 if test x"$enable_wchar_t" = xyes; then
81115
81116 # Use iconv for wchar_t to char conversions. As such, check for
81117 # X/Open Portability Guide, version 2 features (XPG2).
81118 if test "${ac_cv_header_iconv_h+set}" = set; then
81119 echo "$as_me:$LINENO: checking for iconv.h" >&5
81120 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
81121 if test "${ac_cv_header_iconv_h+set}" = set; then
81122 echo $ECHO_N "(cached) $ECHO_C" >&6
81123 fi
81124 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
81125 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
81126 else
81127 # Is the header compilable?
81128 echo "$as_me:$LINENO: checking iconv.h usability" >&5
81129 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
81130 cat >conftest.$ac_ext <<_ACEOF
81131 /* confdefs.h. */
81132 _ACEOF
81133 cat confdefs.h >>conftest.$ac_ext
81134 cat >>conftest.$ac_ext <<_ACEOF
81135 /* end confdefs.h. */
81136 $ac_includes_default
81137 #include <iconv.h>
81138 _ACEOF
81139 rm -f conftest.$ac_objext
81140 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
81141 (eval $ac_compile) 2>conftest.er1
81142 ac_status=$?
81143 grep -v '^ *+' conftest.er1 >conftest.err
81144 rm -f conftest.er1
81145 cat conftest.err >&5
81146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81147 (exit $ac_status); } &&
81148 { ac_try='test -z "$ac_c_werror_flag"
81149 || test ! -s conftest.err'
81150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81151 (eval $ac_try) 2>&5
81152 ac_status=$?
81153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81154 (exit $ac_status); }; } &&
81155 { ac_try='test -s conftest.$ac_objext'
81156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81157 (eval $ac_try) 2>&5
81158 ac_status=$?
81159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81160 (exit $ac_status); }; }; then
81161 ac_header_compiler=yes
81162 else
81163 echo "$as_me: failed program was:" >&5
81164 sed 's/^/| /' conftest.$ac_ext >&5
81165
81166 ac_header_compiler=no
81167 fi
81168 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
81169 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
81170 echo "${ECHO_T}$ac_header_compiler" >&6
81171
81172 # Is the header present?
81173 echo "$as_me:$LINENO: checking iconv.h presence" >&5
81174 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
81175 cat >conftest.$ac_ext <<_ACEOF
81176 /* confdefs.h. */
81177 _ACEOF
81178 cat confdefs.h >>conftest.$ac_ext
81179 cat >>conftest.$ac_ext <<_ACEOF
81180 /* end confdefs.h. */
81181 #include <iconv.h>
81182 _ACEOF
81183 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
81184 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
81185 ac_status=$?
81186 grep -v '^ *+' conftest.er1 >conftest.err
81187 rm -f conftest.er1
81188 cat conftest.err >&5
81189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81190 (exit $ac_status); } >/dev/null; then
81191 if test -s conftest.err; then
81192 ac_cpp_err=$ac_c_preproc_warn_flag
81193 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
81194 else
81195 ac_cpp_err=
81196 fi
81197 else
81198 ac_cpp_err=yes
81199 fi
81200 if test -z "$ac_cpp_err"; then
81201 ac_header_preproc=yes
81202 else
81203 echo "$as_me: failed program was:" >&5
81204 sed 's/^/| /' conftest.$ac_ext >&5
81205
81206 ac_header_preproc=no
81207 fi
81208 rm -f conftest.err conftest.$ac_ext
81209 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
81210 echo "${ECHO_T}$ac_header_preproc" >&6
81211
81212 # So? What about this header?
81213 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
81214 yes:no: )
81215 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
81216 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
81217 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
81218 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
81219 ac_header_preproc=yes
81220 ;;
81221 no:yes:* )
81222 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
81223 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
81224 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
81225 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
81226 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
81227 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
81228 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
81229 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
81230 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
81231 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
81232 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
81233 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
81234 (
81235 cat <<\_ASBOX
81236 ## ----------------------------------------- ##
81237 ## Report this to the package-unused lists. ##
81238 ## ----------------------------------------- ##
81239 _ASBOX
81240 ) |
81241 sed "s/^/$as_me: WARNING: /" >&2
81242 ;;
81243 esac
81244 echo "$as_me:$LINENO: checking for iconv.h" >&5
81245 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
81246 if test "${ac_cv_header_iconv_h+set}" = set; then
81247 echo $ECHO_N "(cached) $ECHO_C" >&6
81248 else
81249 ac_cv_header_iconv_h=$ac_header_preproc
81250 fi
81251 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
81252 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
81253
81254 fi
81255 if test $ac_cv_header_iconv_h = yes; then
81256 ac_has_iconv_h=yes
81257 else
81258 ac_has_iconv_h=no
81259 fi
81260
81261
81262 if test "${ac_cv_header_langinfo_h+set}" = set; then
81263 echo "$as_me:$LINENO: checking for langinfo.h" >&5
81264 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
81265 if test "${ac_cv_header_langinfo_h+set}" = set; then
81266 echo $ECHO_N "(cached) $ECHO_C" >&6
81267 fi
81268 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
81269 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
81270 else
81271 # Is the header compilable?
81272 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
81273 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
81274 cat >conftest.$ac_ext <<_ACEOF
81275 /* confdefs.h. */
81276 _ACEOF
81277 cat confdefs.h >>conftest.$ac_ext
81278 cat >>conftest.$ac_ext <<_ACEOF
81279 /* end confdefs.h. */
81280 $ac_includes_default
81281 #include <langinfo.h>
81282 _ACEOF
81283 rm -f conftest.$ac_objext
81284 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
81285 (eval $ac_compile) 2>conftest.er1
81286 ac_status=$?
81287 grep -v '^ *+' conftest.er1 >conftest.err
81288 rm -f conftest.er1
81289 cat conftest.err >&5
81290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81291 (exit $ac_status); } &&
81292 { ac_try='test -z "$ac_c_werror_flag"
81293 || test ! -s conftest.err'
81294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81295 (eval $ac_try) 2>&5
81296 ac_status=$?
81297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81298 (exit $ac_status); }; } &&
81299 { ac_try='test -s conftest.$ac_objext'
81300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81301 (eval $ac_try) 2>&5
81302 ac_status=$?
81303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81304 (exit $ac_status); }; }; then
81305 ac_header_compiler=yes
81306 else
81307 echo "$as_me: failed program was:" >&5
81308 sed 's/^/| /' conftest.$ac_ext >&5
81309
81310 ac_header_compiler=no
81311 fi
81312 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
81313 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
81314 echo "${ECHO_T}$ac_header_compiler" >&6
81315
81316 # Is the header present?
81317 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
81318 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
81319 cat >conftest.$ac_ext <<_ACEOF
81320 /* confdefs.h. */
81321 _ACEOF
81322 cat confdefs.h >>conftest.$ac_ext
81323 cat >>conftest.$ac_ext <<_ACEOF
81324 /* end confdefs.h. */
81325 #include <langinfo.h>
81326 _ACEOF
81327 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
81328 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
81329 ac_status=$?
81330 grep -v '^ *+' conftest.er1 >conftest.err
81331 rm -f conftest.er1
81332 cat conftest.err >&5
81333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81334 (exit $ac_status); } >/dev/null; then
81335 if test -s conftest.err; then
81336 ac_cpp_err=$ac_c_preproc_warn_flag
81337 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
81338 else
81339 ac_cpp_err=
81340 fi
81341 else
81342 ac_cpp_err=yes
81343 fi
81344 if test -z "$ac_cpp_err"; then
81345 ac_header_preproc=yes
81346 else
81347 echo "$as_me: failed program was:" >&5
81348 sed 's/^/| /' conftest.$ac_ext >&5
81349
81350 ac_header_preproc=no
81351 fi
81352 rm -f conftest.err conftest.$ac_ext
81353 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
81354 echo "${ECHO_T}$ac_header_preproc" >&6
81355
81356 # So? What about this header?
81357 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
81358 yes:no: )
81359 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
81360 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
81361 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
81362 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
81363 ac_header_preproc=yes
81364 ;;
81365 no:yes:* )
81366 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
81367 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
81368 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
81369 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
81370 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
81371 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
81372 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
81373 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
81374 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
81375 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
81376 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
81377 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
81378 (
81379 cat <<\_ASBOX
81380 ## ----------------------------------------- ##
81381 ## Report this to the package-unused lists. ##
81382 ## ----------------------------------------- ##
81383 _ASBOX
81384 ) |
81385 sed "s/^/$as_me: WARNING: /" >&2
81386 ;;
81387 esac
81388 echo "$as_me:$LINENO: checking for langinfo.h" >&5
81389 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
81390 if test "${ac_cv_header_langinfo_h+set}" = set; then
81391 echo $ECHO_N "(cached) $ECHO_C" >&6
81392 else
81393 ac_cv_header_langinfo_h=$ac_header_preproc
81394 fi
81395 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
81396 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
81397
81398 fi
81399 if test $ac_cv_header_langinfo_h = yes; then
81400 ac_has_langinfo_h=yes
81401 else
81402 ac_has_langinfo_h=no
81403 fi
81404
81405
81406
81407 # Check for existence of libiconv.a providing XPG2 wchar_t support.
81408 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
81409 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
81410 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
81411 echo $ECHO_N "(cached) $ECHO_C" >&6
81412 else
81413 ac_check_lib_save_LIBS=$LIBS
81414 LIBS="-liconv $LIBS"
81415 if test x$gcc_no_link = xyes; then
81416 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81417 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81418 { (exit 1); exit 1; }; }
81419 fi
81420 cat >conftest.$ac_ext <<_ACEOF
81421 /* confdefs.h. */
81422 _ACEOF
81423 cat confdefs.h >>conftest.$ac_ext
81424 cat >>conftest.$ac_ext <<_ACEOF
81425 /* end confdefs.h. */
81426
81427 /* Override any gcc2 internal prototype to avoid an error. */
81428 #ifdef __cplusplus
81429 extern "C"
81430 #endif
81431 /* We use char because int might match the return type of a gcc2
81432 builtin and then its argument prototype would still apply. */
81433 char iconv ();
81434 int
81435 main ()
81436 {
81437 iconv ();
81438 ;
81439 return 0;
81440 }
81441 _ACEOF
81442 rm -f conftest.$ac_objext conftest$ac_exeext
81443 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81444 (eval $ac_link) 2>conftest.er1
81445 ac_status=$?
81446 grep -v '^ *+' conftest.er1 >conftest.err
81447 rm -f conftest.er1
81448 cat conftest.err >&5
81449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81450 (exit $ac_status); } &&
81451 { ac_try='test -z "$ac_c_werror_flag"
81452 || test ! -s conftest.err'
81453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81454 (eval $ac_try) 2>&5
81455 ac_status=$?
81456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81457 (exit $ac_status); }; } &&
81458 { ac_try='test -s conftest$ac_exeext'
81459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81460 (eval $ac_try) 2>&5
81461 ac_status=$?
81462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81463 (exit $ac_status); }; }; then
81464 ac_cv_lib_iconv_iconv=yes
81465 else
81466 echo "$as_me: failed program was:" >&5
81467 sed 's/^/| /' conftest.$ac_ext >&5
81468
81469 ac_cv_lib_iconv_iconv=no
81470 fi
81471 rm -f conftest.err conftest.$ac_objext \
81472 conftest$ac_exeext conftest.$ac_ext
81473 LIBS=$ac_check_lib_save_LIBS
81474 fi
81475 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
81476 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
81477 if test $ac_cv_lib_iconv_iconv = yes; then
81478 LIBICONV="-liconv"
81479 fi
81480
81481 ac_save_LIBS="$LIBS"
81482 LIBS="$LIBS $LIBICONV"
81483
81484
81485
81486
81487
81488
81489 for ac_func in iconv_open iconv_close iconv nl_langinfo
81490 do
81491 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
81492 echo "$as_me:$LINENO: checking for $ac_func" >&5
81493 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
81494 if eval "test \"\${$as_ac_var+set}\" = set"; then
81495 echo $ECHO_N "(cached) $ECHO_C" >&6
81496 else
81497 if test x$gcc_no_link = xyes; then
81498 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81499 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81500 { (exit 1); exit 1; }; }
81501 fi
81502 cat >conftest.$ac_ext <<_ACEOF
81503 /* confdefs.h. */
81504 _ACEOF
81505 cat confdefs.h >>conftest.$ac_ext
81506 cat >>conftest.$ac_ext <<_ACEOF
81507 /* end confdefs.h. */
81508 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
81509 For example, HP-UX 11i <limits.h> declares gettimeofday. */
81510 #define $ac_func innocuous_$ac_func
81511
81512 /* System header to define __stub macros and hopefully few prototypes,
81513 which can conflict with char $ac_func (); below.
81514 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
81515 <limits.h> exists even on freestanding compilers. */
81516
81517 #ifdef __STDC__
81518 # include <limits.h>
81519 #else
81520 # include <assert.h>
81521 #endif
81522
81523 #undef $ac_func
81524
81525 /* Override any gcc2 internal prototype to avoid an error. */
81526 #ifdef __cplusplus
81527 extern "C"
81528 {
81529 #endif
81530 /* We use char because int might match the return type of a gcc2
81531 builtin and then its argument prototype would still apply. */
81532 char $ac_func ();
81533 /* The GNU C library defines this for functions which it implements
81534 to always fail with ENOSYS. Some functions are actually named
81535 something starting with __ and the normal name is an alias. */
81536 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
81537 choke me
81538 #else
81539 char (*f) () = $ac_func;
81540 #endif
81541 #ifdef __cplusplus
81542 }
81543 #endif
81544
81545 int
81546 main ()
81547 {
81548 return f != $ac_func;
81549 ;
81550 return 0;
81551 }
81552 _ACEOF
81553 rm -f conftest.$ac_objext conftest$ac_exeext
81554 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81555 (eval $ac_link) 2>conftest.er1
81556 ac_status=$?
81557 grep -v '^ *+' conftest.er1 >conftest.err
81558 rm -f conftest.er1
81559 cat conftest.err >&5
81560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81561 (exit $ac_status); } &&
81562 { ac_try='test -z "$ac_c_werror_flag"
81563 || test ! -s conftest.err'
81564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81565 (eval $ac_try) 2>&5
81566 ac_status=$?
81567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81568 (exit $ac_status); }; } &&
81569 { ac_try='test -s conftest$ac_exeext'
81570 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81571 (eval $ac_try) 2>&5
81572 ac_status=$?
81573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81574 (exit $ac_status); }; }; then
81575 eval "$as_ac_var=yes"
81576 else
81577 echo "$as_me: failed program was:" >&5
81578 sed 's/^/| /' conftest.$ac_ext >&5
81579
81580 eval "$as_ac_var=no"
81581 fi
81582 rm -f conftest.err conftest.$ac_objext \
81583 conftest$ac_exeext conftest.$ac_ext
81584 fi
81585 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
81586 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
81587 if test `eval echo '${'$as_ac_var'}'` = yes; then
81588 cat >>confdefs.h <<_ACEOF
81589 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
81590 _ACEOF
81591 ac_XPG2funcs=yes
81592 else
81593 ac_XPG2funcs=no
81594 fi
81595 done
81596
81597
81598 LIBS="$ac_save_LIBS"
81599
81600 if test x"$ac_has_iconv_h" = xyes &&
81601 test x"$ac_has_langinfo_h" = xyes &&
81602 test x"$ac_XPG2funcs" = xyes;
81603 then
81604
81605 cat >>confdefs.h <<\_ACEOF
81606 #define _GLIBCXX_USE_ICONV 1
81607 _ACEOF
81608
81609 enable_iconv=yes
81610 fi
81611 fi
81612 echo "$as_me:$LINENO: checking for enabled iconv specializations" >&5
81613 echo $ECHO_N "checking for enabled iconv specializations... $ECHO_C" >&6
81614 echo "$as_me:$LINENO: result: $enable_iconv" >&5
81615 echo "${ECHO_T}$enable_iconv" >&6
81616
81617 cat >>confdefs.h <<\_ACEOF
81618 #define HAVE_COPYSIGN 1
81619 _ACEOF
81620
81621 cat >>confdefs.h <<\_ACEOF
81622 #define HAVE_COPYSIGNF 1
81623 _ACEOF
81624
81625 cat >>confdefs.h <<\_ACEOF
81626 #define HAVE_FINITEF 1
81627 _ACEOF
81628
81629 cat >>confdefs.h <<\_ACEOF
81630 #define HAVE_FINITE 1
81631 _ACEOF
81632
81633 cat >>confdefs.h <<\_ACEOF
81634 #define HAVE_FREXPF 1
81635 _ACEOF
81636
81637 cat >>confdefs.h <<\_ACEOF
81638 #define HAVE_HYPOTF 1
81639 _ACEOF
81640
81641 cat >>confdefs.h <<\_ACEOF
81642 #define HAVE_ISINF 1
81643 _ACEOF
81644
81645 cat >>confdefs.h <<\_ACEOF
81646 #define HAVE_ISINFF 1
81647 _ACEOF
81648
81649 cat >>confdefs.h <<\_ACEOF
81650 #define HAVE_ISNAN 1
81651 _ACEOF
81652
81653 cat >>confdefs.h <<\_ACEOF
81654 #define HAVE_ISNANF 1
81655 _ACEOF
81656
81657 if test x"long_double_math_on_this_cpu" = x"yes"; then
81658 cat >>confdefs.h <<\_ACEOF
81659 #define HAVE_FINITEL 1
81660 _ACEOF
81661
81662 cat >>confdefs.h <<\_ACEOF
81663 #define HAVE_ISINFL 1
81664 _ACEOF
81665
81666 cat >>confdefs.h <<\_ACEOF
81667 #define HAVE_ISNANL 1
81668 _ACEOF
81669
81670 fi
81671 ;;
81672 *-netware)
81673
81674
81675
81676
81677
81678
81679
81680
81681 for ac_header in nan.h ieeefp.h sys/isa_defs.h sys/machine.h \
81682 sys/types.h locale.h float.h inttypes.h
81683 do
81684 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
81685 if eval "test \"\${$as_ac_Header+set}\" = set"; then
81686 echo "$as_me:$LINENO: checking for $ac_header" >&5
81687 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
81688 if eval "test \"\${$as_ac_Header+set}\" = set"; then
81689 echo $ECHO_N "(cached) $ECHO_C" >&6
81690 fi
81691 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
81692 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
81693 else
81694 # Is the header compilable?
81695 echo "$as_me:$LINENO: checking $ac_header usability" >&5
81696 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
81697 cat >conftest.$ac_ext <<_ACEOF
81698 /* confdefs.h. */
81699 _ACEOF
81700 cat confdefs.h >>conftest.$ac_ext
81701 cat >>conftest.$ac_ext <<_ACEOF
81702 /* end confdefs.h. */
81703 $ac_includes_default
81704 #include <$ac_header>
81705 _ACEOF
81706 rm -f conftest.$ac_objext
81707 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
81708 (eval $ac_compile) 2>conftest.er1
81709 ac_status=$?
81710 grep -v '^ *+' conftest.er1 >conftest.err
81711 rm -f conftest.er1
81712 cat conftest.err >&5
81713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81714 (exit $ac_status); } &&
81715 { ac_try='test -z "$ac_c_werror_flag"
81716 || test ! -s conftest.err'
81717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81718 (eval $ac_try) 2>&5
81719 ac_status=$?
81720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81721 (exit $ac_status); }; } &&
81722 { ac_try='test -s conftest.$ac_objext'
81723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81724 (eval $ac_try) 2>&5
81725 ac_status=$?
81726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81727 (exit $ac_status); }; }; then
81728 ac_header_compiler=yes
81729 else
81730 echo "$as_me: failed program was:" >&5
81731 sed 's/^/| /' conftest.$ac_ext >&5
81732
81733 ac_header_compiler=no
81734 fi
81735 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
81736 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
81737 echo "${ECHO_T}$ac_header_compiler" >&6
81738
81739 # Is the header present?
81740 echo "$as_me:$LINENO: checking $ac_header presence" >&5
81741 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
81742 cat >conftest.$ac_ext <<_ACEOF
81743 /* confdefs.h. */
81744 _ACEOF
81745 cat confdefs.h >>conftest.$ac_ext
81746 cat >>conftest.$ac_ext <<_ACEOF
81747 /* end confdefs.h. */
81748 #include <$ac_header>
81749 _ACEOF
81750 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
81751 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
81752 ac_status=$?
81753 grep -v '^ *+' conftest.er1 >conftest.err
81754 rm -f conftest.er1
81755 cat conftest.err >&5
81756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81757 (exit $ac_status); } >/dev/null; then
81758 if test -s conftest.err; then
81759 ac_cpp_err=$ac_c_preproc_warn_flag
81760 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
81761 else
81762 ac_cpp_err=
81763 fi
81764 else
81765 ac_cpp_err=yes
81766 fi
81767 if test -z "$ac_cpp_err"; then
81768 ac_header_preproc=yes
81769 else
81770 echo "$as_me: failed program was:" >&5
81771 sed 's/^/| /' conftest.$ac_ext >&5
81772
81773 ac_header_preproc=no
81774 fi
81775 rm -f conftest.err conftest.$ac_ext
81776 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
81777 echo "${ECHO_T}$ac_header_preproc" >&6
81778
81779 # So? What about this header?
81780 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
81781 yes:no: )
81782 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
81783 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
81784 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
81785 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
81786 ac_header_preproc=yes
81787 ;;
81788 no:yes:* )
81789 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
81790 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
81791 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
81792 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
81793 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
81794 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
81795 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
81796 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
81797 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
81798 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
81799 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
81800 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
81801 (
81802 cat <<\_ASBOX
81803 ## ----------------------------------------- ##
81804 ## Report this to the package-unused lists. ##
81805 ## ----------------------------------------- ##
81806 _ASBOX
81807 ) |
81808 sed "s/^/$as_me: WARNING: /" >&2
81809 ;;
81810 esac
81811 echo "$as_me:$LINENO: checking for $ac_header" >&5
81812 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
81813 if eval "test \"\${$as_ac_Header+set}\" = set"; then
81814 echo $ECHO_N "(cached) $ECHO_C" >&6
81815 else
81816 eval "$as_ac_Header=\$ac_header_preproc"
81817 fi
81818 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
81819 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
81820
81821 fi
81822 if test `eval echo '${'$as_ac_Header'}'` = yes; then
81823 cat >>confdefs.h <<_ACEOF
81824 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
81825 _ACEOF
81826
81827 fi
81828
81829 done
81830
81831 SECTION_FLAGS='-ffunction-sections -fdata-sections'
81832
81833
81834 # If we're not using GNU ld, then there's no point in even trying these
81835 # tests. Check for that first. We should have already tested for gld
81836 # by now (in libtool), but require it now just to be safe...
81837 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
81838 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
81839
81840
81841
81842 # The name set by libtool depends on the version of libtool. Shame on us
81843 # for depending on an impl detail, but c'est la vie. Older versions used
81844 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
81845 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
81846 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
81847 # set (hence we're using an older libtool), then set it.
81848 if test x${with_gnu_ld+set} != xset; then
81849 if test x${ac_cv_prog_gnu_ld+set} != xset; then
81850 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
81851 with_gnu_ld=no
81852 else
81853 with_gnu_ld=$ac_cv_prog_gnu_ld
81854 fi
81855 fi
81856
81857 # Start by getting the version number. I think the libtool test already
81858 # does some of this, but throws away the result.
81859
81860 ldver=`$LD --version 2>/dev/null | head -1 | \
81861 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
81862
81863 glibcxx_gnu_ld_version=`echo $ldver | \
81864 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
81865
81866 # Set --gc-sections.
81867 if test "$with_gnu_ld" = "notbroken"; then
81868 # GNU ld it is! Joy and bunny rabbits!
81869
81870 # All these tests are for C++; save the language and the compiler flags.
81871 # Need to do this so that g++ won't try to link in libstdc++
81872 ac_test_CFLAGS="${CFLAGS+set}"
81873 ac_save_CFLAGS="$CFLAGS"
81874 CFLAGS='-x c++ -Wl,--gc-sections'
81875
81876 # Check for -Wl,--gc-sections
81877 # XXX This test is broken at the moment, as symbols required for linking
81878 # are now in libsupc++ (not built yet). In addition, this test has
81879 # cored on solaris in the past. In addition, --gc-sections doesn't
81880 # really work at the moment (keeps on discarding used sections, first
81881 # .eh_frame and now some of the glibc sections for iconv).
81882 # Bzzzzt. Thanks for playing, maybe next time.
81883 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
81884 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
81885 if test "$cross_compiling" = yes; then
81886 ac_sectionLDflags=yes
81887 else
81888 cat >conftest.$ac_ext <<_ACEOF
81889 /* confdefs.h. */
81890 _ACEOF
81891 cat confdefs.h >>conftest.$ac_ext
81892 cat >>conftest.$ac_ext <<_ACEOF
81893 /* end confdefs.h. */
81894
81895 int main(void)
81896 {
81897 try { throw 1; }
81898 catch (...) { };
81899 return 0;
81900 }
81901
81902 _ACEOF
81903 rm -f conftest$ac_exeext
81904 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81905 (eval $ac_link) 2>&5
81906 ac_status=$?
81907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81908 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
81909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81910 (eval $ac_try) 2>&5
81911 ac_status=$?
81912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81913 (exit $ac_status); }; }; then
81914 ac_sectionLDflags=yes
81915 else
81916 echo "$as_me: program exited with status $ac_status" >&5
81917 echo "$as_me: failed program was:" >&5
81918 sed 's/^/| /' conftest.$ac_ext >&5
81919
81920 ( exit $ac_status )
81921 ac_sectionLDflags=no
81922 fi
81923 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
81924 fi
81925 if test "$ac_test_CFLAGS" = set; then
81926 CFLAGS="$ac_save_CFLAGS"
81927 else
81928 # this is the suspicious part
81929 CFLAGS=''
81930 fi
81931 if test "$ac_sectionLDflags" = "yes"; then
81932 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
81933 fi
81934 echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
81935 echo "${ECHO_T}$ac_sectionLDflags" >&6
81936 fi
81937
81938 # Set linker optimization flags.
81939 if test x"$with_gnu_ld" = x"yes"; then
81940 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
81941 fi
81942
81943
81944
81945
81946
81947
81948 echo "$as_me:$LINENO: checking for main in -lm" >&5
81949 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
81950 if test "${ac_cv_lib_m_main+set}" = set; then
81951 echo $ECHO_N "(cached) $ECHO_C" >&6
81952 else
81953 ac_check_lib_save_LIBS=$LIBS
81954 LIBS="-lm $LIBS"
81955 if test x$gcc_no_link = xyes; then
81956 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81957 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81958 { (exit 1); exit 1; }; }
81959 fi
81960 cat >conftest.$ac_ext <<_ACEOF
81961 /* confdefs.h. */
81962 _ACEOF
81963 cat confdefs.h >>conftest.$ac_ext
81964 cat >>conftest.$ac_ext <<_ACEOF
81965 /* end confdefs.h. */
81966
81967
81968 int
81969 main ()
81970 {
81971 main ();
81972 ;
81973 return 0;
81974 }
81975 _ACEOF
81976 rm -f conftest.$ac_objext conftest$ac_exeext
81977 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81978 (eval $ac_link) 2>conftest.er1
81979 ac_status=$?
81980 grep -v '^ *+' conftest.er1 >conftest.err
81981 rm -f conftest.er1
81982 cat conftest.err >&5
81983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81984 (exit $ac_status); } &&
81985 { ac_try='test -z "$ac_c_werror_flag"
81986 || test ! -s conftest.err'
81987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81988 (eval $ac_try) 2>&5
81989 ac_status=$?
81990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81991 (exit $ac_status); }; } &&
81992 { ac_try='test -s conftest$ac_exeext'
81993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81994 (eval $ac_try) 2>&5
81995 ac_status=$?
81996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81997 (exit $ac_status); }; }; then
81998 ac_cv_lib_m_main=yes
81999 else
82000 echo "$as_me: failed program was:" >&5
82001 sed 's/^/| /' conftest.$ac_ext >&5
82002
82003 ac_cv_lib_m_main=no
82004 fi
82005 rm -f conftest.err conftest.$ac_objext \
82006 conftest$ac_exeext conftest.$ac_ext
82007 LIBS=$ac_check_lib_save_LIBS
82008 fi
82009 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
82010 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
82011 if test $ac_cv_lib_m_main = yes; then
82012 cat >>confdefs.h <<_ACEOF
82013 #define HAVE_LIBM 1
82014 _ACEOF
82015
82016 LIBS="-lm $LIBS"
82017
82018 fi
82019
82020
82021 for ac_func in copysignf
82022 do
82023 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
82024 echo "$as_me:$LINENO: checking for $ac_func" >&5
82025 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
82026 if eval "test \"\${$as_ac_var+set}\" = set"; then
82027 echo $ECHO_N "(cached) $ECHO_C" >&6
82028 else
82029 if test x$gcc_no_link = xyes; then
82030 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82031 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82032 { (exit 1); exit 1; }; }
82033 fi
82034 cat >conftest.$ac_ext <<_ACEOF
82035 /* confdefs.h. */
82036 _ACEOF
82037 cat confdefs.h >>conftest.$ac_ext
82038 cat >>conftest.$ac_ext <<_ACEOF
82039 /* end confdefs.h. */
82040 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
82041 For example, HP-UX 11i <limits.h> declares gettimeofday. */
82042 #define $ac_func innocuous_$ac_func
82043
82044 /* System header to define __stub macros and hopefully few prototypes,
82045 which can conflict with char $ac_func (); below.
82046 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
82047 <limits.h> exists even on freestanding compilers. */
82048
82049 #ifdef __STDC__
82050 # include <limits.h>
82051 #else
82052 # include <assert.h>
82053 #endif
82054
82055 #undef $ac_func
82056
82057 /* Override any gcc2 internal prototype to avoid an error. */
82058 #ifdef __cplusplus
82059 extern "C"
82060 {
82061 #endif
82062 /* We use char because int might match the return type of a gcc2
82063 builtin and then its argument prototype would still apply. */
82064 char $ac_func ();
82065 /* The GNU C library defines this for functions which it implements
82066 to always fail with ENOSYS. Some functions are actually named
82067 something starting with __ and the normal name is an alias. */
82068 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
82069 choke me
82070 #else
82071 char (*f) () = $ac_func;
82072 #endif
82073 #ifdef __cplusplus
82074 }
82075 #endif
82076
82077 int
82078 main ()
82079 {
82080 return f != $ac_func;
82081 ;
82082 return 0;
82083 }
82084 _ACEOF
82085 rm -f conftest.$ac_objext conftest$ac_exeext
82086 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82087 (eval $ac_link) 2>conftest.er1
82088 ac_status=$?
82089 grep -v '^ *+' conftest.er1 >conftest.err
82090 rm -f conftest.er1
82091 cat conftest.err >&5
82092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82093 (exit $ac_status); } &&
82094 { ac_try='test -z "$ac_c_werror_flag"
82095 || test ! -s conftest.err'
82096 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82097 (eval $ac_try) 2>&5
82098 ac_status=$?
82099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82100 (exit $ac_status); }; } &&
82101 { ac_try='test -s conftest$ac_exeext'
82102 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82103 (eval $ac_try) 2>&5
82104 ac_status=$?
82105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82106 (exit $ac_status); }; }; then
82107 eval "$as_ac_var=yes"
82108 else
82109 echo "$as_me: failed program was:" >&5
82110 sed 's/^/| /' conftest.$ac_ext >&5
82111
82112 eval "$as_ac_var=no"
82113 fi
82114 rm -f conftest.err conftest.$ac_objext \
82115 conftest$ac_exeext conftest.$ac_ext
82116 fi
82117 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
82118 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
82119 if test `eval echo '${'$as_ac_var'}'` = yes; then
82120 cat >>confdefs.h <<_ACEOF
82121 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
82122 _ACEOF
82123
82124 else
82125 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
82126 fi
82127 done
82128
82129
82130
82131 for ac_func in __signbit
82132 do
82133 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
82134 echo "$as_me:$LINENO: checking for $ac_func" >&5
82135 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
82136 if eval "test \"\${$as_ac_var+set}\" = set"; then
82137 echo $ECHO_N "(cached) $ECHO_C" >&6
82138 else
82139 if test x$gcc_no_link = xyes; then
82140 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82141 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82142 { (exit 1); exit 1; }; }
82143 fi
82144 cat >conftest.$ac_ext <<_ACEOF
82145 /* confdefs.h. */
82146 _ACEOF
82147 cat confdefs.h >>conftest.$ac_ext
82148 cat >>conftest.$ac_ext <<_ACEOF
82149 /* end confdefs.h. */
82150 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
82151 For example, HP-UX 11i <limits.h> declares gettimeofday. */
82152 #define $ac_func innocuous_$ac_func
82153
82154 /* System header to define __stub macros and hopefully few prototypes,
82155 which can conflict with char $ac_func (); below.
82156 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
82157 <limits.h> exists even on freestanding compilers. */
82158
82159 #ifdef __STDC__
82160 # include <limits.h>
82161 #else
82162 # include <assert.h>
82163 #endif
82164
82165 #undef $ac_func
82166
82167 /* Override any gcc2 internal prototype to avoid an error. */
82168 #ifdef __cplusplus
82169 extern "C"
82170 {
82171 #endif
82172 /* We use char because int might match the return type of a gcc2
82173 builtin and then its argument prototype would still apply. */
82174 char $ac_func ();
82175 /* The GNU C library defines this for functions which it implements
82176 to always fail with ENOSYS. Some functions are actually named
82177 something starting with __ and the normal name is an alias. */
82178 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
82179 choke me
82180 #else
82181 char (*f) () = $ac_func;
82182 #endif
82183 #ifdef __cplusplus
82184 }
82185 #endif
82186
82187 int
82188 main ()
82189 {
82190 return f != $ac_func;
82191 ;
82192 return 0;
82193 }
82194 _ACEOF
82195 rm -f conftest.$ac_objext conftest$ac_exeext
82196 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82197 (eval $ac_link) 2>conftest.er1
82198 ac_status=$?
82199 grep -v '^ *+' conftest.er1 >conftest.err
82200 rm -f conftest.er1
82201 cat conftest.err >&5
82202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82203 (exit $ac_status); } &&
82204 { ac_try='test -z "$ac_c_werror_flag"
82205 || test ! -s conftest.err'
82206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82207 (eval $ac_try) 2>&5
82208 ac_status=$?
82209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82210 (exit $ac_status); }; } &&
82211 { ac_try='test -s conftest$ac_exeext'
82212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82213 (eval $ac_try) 2>&5
82214 ac_status=$?
82215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82216 (exit $ac_status); }; }; then
82217 eval "$as_ac_var=yes"
82218 else
82219 echo "$as_me: failed program was:" >&5
82220 sed 's/^/| /' conftest.$ac_ext >&5
82221
82222 eval "$as_ac_var=no"
82223 fi
82224 rm -f conftest.err conftest.$ac_objext \
82225 conftest$ac_exeext conftest.$ac_ext
82226 fi
82227 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
82228 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
82229 if test `eval echo '${'$as_ac_var'}'` = yes; then
82230 cat >>confdefs.h <<_ACEOF
82231 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
82232 _ACEOF
82233
82234 else
82235 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
82236 fi
82237 done
82238
82239
82240
82241 for ac_func in __signbitf
82242 do
82243 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
82244 echo "$as_me:$LINENO: checking for $ac_func" >&5
82245 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
82246 if eval "test \"\${$as_ac_var+set}\" = set"; then
82247 echo $ECHO_N "(cached) $ECHO_C" >&6
82248 else
82249 if test x$gcc_no_link = xyes; then
82250 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82251 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82252 { (exit 1); exit 1; }; }
82253 fi
82254 cat >conftest.$ac_ext <<_ACEOF
82255 /* confdefs.h. */
82256 _ACEOF
82257 cat confdefs.h >>conftest.$ac_ext
82258 cat >>conftest.$ac_ext <<_ACEOF
82259 /* end confdefs.h. */
82260 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
82261 For example, HP-UX 11i <limits.h> declares gettimeofday. */
82262 #define $ac_func innocuous_$ac_func
82263
82264 /* System header to define __stub macros and hopefully few prototypes,
82265 which can conflict with char $ac_func (); below.
82266 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
82267 <limits.h> exists even on freestanding compilers. */
82268
82269 #ifdef __STDC__
82270 # include <limits.h>
82271 #else
82272 # include <assert.h>
82273 #endif
82274
82275 #undef $ac_func
82276
82277 /* Override any gcc2 internal prototype to avoid an error. */
82278 #ifdef __cplusplus
82279 extern "C"
82280 {
82281 #endif
82282 /* We use char because int might match the return type of a gcc2
82283 builtin and then its argument prototype would still apply. */
82284 char $ac_func ();
82285 /* The GNU C library defines this for functions which it implements
82286 to always fail with ENOSYS. Some functions are actually named
82287 something starting with __ and the normal name is an alias. */
82288 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
82289 choke me
82290 #else
82291 char (*f) () = $ac_func;
82292 #endif
82293 #ifdef __cplusplus
82294 }
82295 #endif
82296
82297 int
82298 main ()
82299 {
82300 return f != $ac_func;
82301 ;
82302 return 0;
82303 }
82304 _ACEOF
82305 rm -f conftest.$ac_objext conftest$ac_exeext
82306 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82307 (eval $ac_link) 2>conftest.er1
82308 ac_status=$?
82309 grep -v '^ *+' conftest.er1 >conftest.err
82310 rm -f conftest.er1
82311 cat conftest.err >&5
82312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82313 (exit $ac_status); } &&
82314 { ac_try='test -z "$ac_c_werror_flag"
82315 || test ! -s conftest.err'
82316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82317 (eval $ac_try) 2>&5
82318 ac_status=$?
82319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82320 (exit $ac_status); }; } &&
82321 { ac_try='test -s conftest$ac_exeext'
82322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82323 (eval $ac_try) 2>&5
82324 ac_status=$?
82325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82326 (exit $ac_status); }; }; then
82327 eval "$as_ac_var=yes"
82328 else
82329 echo "$as_me: failed program was:" >&5
82330 sed 's/^/| /' conftest.$ac_ext >&5
82331
82332 eval "$as_ac_var=no"
82333 fi
82334 rm -f conftest.err conftest.$ac_objext \
82335 conftest$ac_exeext conftest.$ac_ext
82336 fi
82337 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
82338 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
82339 if test `eval echo '${'$as_ac_var'}'` = yes; then
82340 cat >>confdefs.h <<_ACEOF
82341 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
82342 _ACEOF
82343
82344 else
82345 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
82346 fi
82347 done
82348
82349
82350 if test x$ac_cv_func_copysignl = x"yes"; then
82351
82352 for ac_func in __signbitl
82353 do
82354 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
82355 echo "$as_me:$LINENO: checking for $ac_func" >&5
82356 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
82357 if eval "test \"\${$as_ac_var+set}\" = set"; then
82358 echo $ECHO_N "(cached) $ECHO_C" >&6
82359 else
82360 if test x$gcc_no_link = xyes; then
82361 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82362 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82363 { (exit 1); exit 1; }; }
82364 fi
82365 cat >conftest.$ac_ext <<_ACEOF
82366 /* confdefs.h. */
82367 _ACEOF
82368 cat confdefs.h >>conftest.$ac_ext
82369 cat >>conftest.$ac_ext <<_ACEOF
82370 /* end confdefs.h. */
82371 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
82372 For example, HP-UX 11i <limits.h> declares gettimeofday. */
82373 #define $ac_func innocuous_$ac_func
82374
82375 /* System header to define __stub macros and hopefully few prototypes,
82376 which can conflict with char $ac_func (); below.
82377 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
82378 <limits.h> exists even on freestanding compilers. */
82379
82380 #ifdef __STDC__
82381 # include <limits.h>
82382 #else
82383 # include <assert.h>
82384 #endif
82385
82386 #undef $ac_func
82387
82388 /* Override any gcc2 internal prototype to avoid an error. */
82389 #ifdef __cplusplus
82390 extern "C"
82391 {
82392 #endif
82393 /* We use char because int might match the return type of a gcc2
82394 builtin and then its argument prototype would still apply. */
82395 char $ac_func ();
82396 /* The GNU C library defines this for functions which it implements
82397 to always fail with ENOSYS. Some functions are actually named
82398 something starting with __ and the normal name is an alias. */
82399 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
82400 choke me
82401 #else
82402 char (*f) () = $ac_func;
82403 #endif
82404 #ifdef __cplusplus
82405 }
82406 #endif
82407
82408 int
82409 main ()
82410 {
82411 return f != $ac_func;
82412 ;
82413 return 0;
82414 }
82415 _ACEOF
82416 rm -f conftest.$ac_objext conftest$ac_exeext
82417 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82418 (eval $ac_link) 2>conftest.er1
82419 ac_status=$?
82420 grep -v '^ *+' conftest.er1 >conftest.err
82421 rm -f conftest.er1
82422 cat conftest.err >&5
82423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82424 (exit $ac_status); } &&
82425 { ac_try='test -z "$ac_c_werror_flag"
82426 || test ! -s conftest.err'
82427 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82428 (eval $ac_try) 2>&5
82429 ac_status=$?
82430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82431 (exit $ac_status); }; } &&
82432 { ac_try='test -s conftest$ac_exeext'
82433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82434 (eval $ac_try) 2>&5
82435 ac_status=$?
82436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82437 (exit $ac_status); }; }; then
82438 eval "$as_ac_var=yes"
82439 else
82440 echo "$as_me: failed program was:" >&5
82441 sed 's/^/| /' conftest.$ac_ext >&5
82442
82443 eval "$as_ac_var=no"
82444 fi
82445 rm -f conftest.err conftest.$ac_objext \
82446 conftest$ac_exeext conftest.$ac_ext
82447 fi
82448 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
82449 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
82450 if test `eval echo '${'$as_ac_var'}'` = yes; then
82451 cat >>confdefs.h <<_ACEOF
82452 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
82453 _ACEOF
82454
82455 else
82456 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
82457 fi
82458 done
82459
82460 fi
82461
82462 # Used in libmath/Makefile.am.
82463 if test -n "$LIBMATHOBJS"; then
82464 need_libmath=yes
82465 fi
82466
82467
82468
82469
82470 enable_iconv=no
82471 # Only continue checking if the ISO C99 headers exist and support is on.
82472 if test x"$enable_wchar_t" = xyes; then
82473
82474 # Use iconv for wchar_t to char conversions. As such, check for
82475 # X/Open Portability Guide, version 2 features (XPG2).
82476 if test "${ac_cv_header_iconv_h+set}" = set; then
82477 echo "$as_me:$LINENO: checking for iconv.h" >&5
82478 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
82479 if test "${ac_cv_header_iconv_h+set}" = set; then
82480 echo $ECHO_N "(cached) $ECHO_C" >&6
82481 fi
82482 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
82483 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
82484 else
82485 # Is the header compilable?
82486 echo "$as_me:$LINENO: checking iconv.h usability" >&5
82487 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
82488 cat >conftest.$ac_ext <<_ACEOF
82489 /* confdefs.h. */
82490 _ACEOF
82491 cat confdefs.h >>conftest.$ac_ext
82492 cat >>conftest.$ac_ext <<_ACEOF
82493 /* end confdefs.h. */
82494 $ac_includes_default
82495 #include <iconv.h>
82496 _ACEOF
82497 rm -f conftest.$ac_objext
82498 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82499 (eval $ac_compile) 2>conftest.er1
82500 ac_status=$?
82501 grep -v '^ *+' conftest.er1 >conftest.err
82502 rm -f conftest.er1
82503 cat conftest.err >&5
82504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82505 (exit $ac_status); } &&
82506 { ac_try='test -z "$ac_c_werror_flag"
82507 || test ! -s conftest.err'
82508 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82509 (eval $ac_try) 2>&5
82510 ac_status=$?
82511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82512 (exit $ac_status); }; } &&
82513 { ac_try='test -s conftest.$ac_objext'
82514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82515 (eval $ac_try) 2>&5
82516 ac_status=$?
82517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82518 (exit $ac_status); }; }; then
82519 ac_header_compiler=yes
82520 else
82521 echo "$as_me: failed program was:" >&5
82522 sed 's/^/| /' conftest.$ac_ext >&5
82523
82524 ac_header_compiler=no
82525 fi
82526 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
82527 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
82528 echo "${ECHO_T}$ac_header_compiler" >&6
82529
82530 # Is the header present?
82531 echo "$as_me:$LINENO: checking iconv.h presence" >&5
82532 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
82533 cat >conftest.$ac_ext <<_ACEOF
82534 /* confdefs.h. */
82535 _ACEOF
82536 cat confdefs.h >>conftest.$ac_ext
82537 cat >>conftest.$ac_ext <<_ACEOF
82538 /* end confdefs.h. */
82539 #include <iconv.h>
82540 _ACEOF
82541 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
82542 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
82543 ac_status=$?
82544 grep -v '^ *+' conftest.er1 >conftest.err
82545 rm -f conftest.er1
82546 cat conftest.err >&5
82547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82548 (exit $ac_status); } >/dev/null; then
82549 if test -s conftest.err; then
82550 ac_cpp_err=$ac_c_preproc_warn_flag
82551 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
82552 else
82553 ac_cpp_err=
82554 fi
82555 else
82556 ac_cpp_err=yes
82557 fi
82558 if test -z "$ac_cpp_err"; then
82559 ac_header_preproc=yes
82560 else
82561 echo "$as_me: failed program was:" >&5
82562 sed 's/^/| /' conftest.$ac_ext >&5
82563
82564 ac_header_preproc=no
82565 fi
82566 rm -f conftest.err conftest.$ac_ext
82567 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
82568 echo "${ECHO_T}$ac_header_preproc" >&6
82569
82570 # So? What about this header?
82571 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
82572 yes:no: )
82573 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
82574 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
82575 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
82576 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
82577 ac_header_preproc=yes
82578 ;;
82579 no:yes:* )
82580 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
82581 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
82582 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
82583 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
82584 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
82585 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
82586 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
82587 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
82588 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
82589 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
82590 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
82591 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
82592 (
82593 cat <<\_ASBOX
82594 ## ----------------------------------------- ##
82595 ## Report this to the package-unused lists. ##
82596 ## ----------------------------------------- ##
82597 _ASBOX
82598 ) |
82599 sed "s/^/$as_me: WARNING: /" >&2
82600 ;;
82601 esac
82602 echo "$as_me:$LINENO: checking for iconv.h" >&5
82603 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
82604 if test "${ac_cv_header_iconv_h+set}" = set; then
82605 echo $ECHO_N "(cached) $ECHO_C" >&6
82606 else
82607 ac_cv_header_iconv_h=$ac_header_preproc
82608 fi
82609 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
82610 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
82611
82612 fi
82613 if test $ac_cv_header_iconv_h = yes; then
82614 ac_has_iconv_h=yes
82615 else
82616 ac_has_iconv_h=no
82617 fi
82618
82619
82620 if test "${ac_cv_header_langinfo_h+set}" = set; then
82621 echo "$as_me:$LINENO: checking for langinfo.h" >&5
82622 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
82623 if test "${ac_cv_header_langinfo_h+set}" = set; then
82624 echo $ECHO_N "(cached) $ECHO_C" >&6
82625 fi
82626 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
82627 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
82628 else
82629 # Is the header compilable?
82630 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
82631 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
82632 cat >conftest.$ac_ext <<_ACEOF
82633 /* confdefs.h. */
82634 _ACEOF
82635 cat confdefs.h >>conftest.$ac_ext
82636 cat >>conftest.$ac_ext <<_ACEOF
82637 /* end confdefs.h. */
82638 $ac_includes_default
82639 #include <langinfo.h>
82640 _ACEOF
82641 rm -f conftest.$ac_objext
82642 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82643 (eval $ac_compile) 2>conftest.er1
82644 ac_status=$?
82645 grep -v '^ *+' conftest.er1 >conftest.err
82646 rm -f conftest.er1
82647 cat conftest.err >&5
82648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82649 (exit $ac_status); } &&
82650 { ac_try='test -z "$ac_c_werror_flag"
82651 || test ! -s conftest.err'
82652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82653 (eval $ac_try) 2>&5
82654 ac_status=$?
82655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82656 (exit $ac_status); }; } &&
82657 { ac_try='test -s conftest.$ac_objext'
82658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82659 (eval $ac_try) 2>&5
82660 ac_status=$?
82661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82662 (exit $ac_status); }; }; then
82663 ac_header_compiler=yes
82664 else
82665 echo "$as_me: failed program was:" >&5
82666 sed 's/^/| /' conftest.$ac_ext >&5
82667
82668 ac_header_compiler=no
82669 fi
82670 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
82671 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
82672 echo "${ECHO_T}$ac_header_compiler" >&6
82673
82674 # Is the header present?
82675 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
82676 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
82677 cat >conftest.$ac_ext <<_ACEOF
82678 /* confdefs.h. */
82679 _ACEOF
82680 cat confdefs.h >>conftest.$ac_ext
82681 cat >>conftest.$ac_ext <<_ACEOF
82682 /* end confdefs.h. */
82683 #include <langinfo.h>
82684 _ACEOF
82685 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
82686 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
82687 ac_status=$?
82688 grep -v '^ *+' conftest.er1 >conftest.err
82689 rm -f conftest.er1
82690 cat conftest.err >&5
82691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82692 (exit $ac_status); } >/dev/null; then
82693 if test -s conftest.err; then
82694 ac_cpp_err=$ac_c_preproc_warn_flag
82695 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
82696 else
82697 ac_cpp_err=
82698 fi
82699 else
82700 ac_cpp_err=yes
82701 fi
82702 if test -z "$ac_cpp_err"; then
82703 ac_header_preproc=yes
82704 else
82705 echo "$as_me: failed program was:" >&5
82706 sed 's/^/| /' conftest.$ac_ext >&5
82707
82708 ac_header_preproc=no
82709 fi
82710 rm -f conftest.err conftest.$ac_ext
82711 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
82712 echo "${ECHO_T}$ac_header_preproc" >&6
82713
82714 # So? What about this header?
82715 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
82716 yes:no: )
82717 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
82718 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
82719 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
82720 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
82721 ac_header_preproc=yes
82722 ;;
82723 no:yes:* )
82724 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
82725 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
82726 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
82727 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
82728 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
82729 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
82730 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
82731 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
82732 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
82733 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
82734 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
82735 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
82736 (
82737 cat <<\_ASBOX
82738 ## ----------------------------------------- ##
82739 ## Report this to the package-unused lists. ##
82740 ## ----------------------------------------- ##
82741 _ASBOX
82742 ) |
82743 sed "s/^/$as_me: WARNING: /" >&2
82744 ;;
82745 esac
82746 echo "$as_me:$LINENO: checking for langinfo.h" >&5
82747 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
82748 if test "${ac_cv_header_langinfo_h+set}" = set; then
82749 echo $ECHO_N "(cached) $ECHO_C" >&6
82750 else
82751 ac_cv_header_langinfo_h=$ac_header_preproc
82752 fi
82753 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
82754 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
82755
82756 fi
82757 if test $ac_cv_header_langinfo_h = yes; then
82758 ac_has_langinfo_h=yes
82759 else
82760 ac_has_langinfo_h=no
82761 fi
82762
82763
82764
82765 # Check for existence of libiconv.a providing XPG2 wchar_t support.
82766 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
82767 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
82768 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
82769 echo $ECHO_N "(cached) $ECHO_C" >&6
82770 else
82771 ac_check_lib_save_LIBS=$LIBS
82772 LIBS="-liconv $LIBS"
82773 if test x$gcc_no_link = xyes; then
82774 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82775 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82776 { (exit 1); exit 1; }; }
82777 fi
82778 cat >conftest.$ac_ext <<_ACEOF
82779 /* confdefs.h. */
82780 _ACEOF
82781 cat confdefs.h >>conftest.$ac_ext
82782 cat >>conftest.$ac_ext <<_ACEOF
82783 /* end confdefs.h. */
82784
82785 /* Override any gcc2 internal prototype to avoid an error. */
82786 #ifdef __cplusplus
82787 extern "C"
82788 #endif
82789 /* We use char because int might match the return type of a gcc2
82790 builtin and then its argument prototype would still apply. */
82791 char iconv ();
82792 int
82793 main ()
82794 {
82795 iconv ();
82796 ;
82797 return 0;
82798 }
82799 _ACEOF
82800 rm -f conftest.$ac_objext conftest$ac_exeext
82801 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82802 (eval $ac_link) 2>conftest.er1
82803 ac_status=$?
82804 grep -v '^ *+' conftest.er1 >conftest.err
82805 rm -f conftest.er1
82806 cat conftest.err >&5
82807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82808 (exit $ac_status); } &&
82809 { ac_try='test -z "$ac_c_werror_flag"
82810 || test ! -s conftest.err'
82811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82812 (eval $ac_try) 2>&5
82813 ac_status=$?
82814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82815 (exit $ac_status); }; } &&
82816 { ac_try='test -s conftest$ac_exeext'
82817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82818 (eval $ac_try) 2>&5
82819 ac_status=$?
82820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82821 (exit $ac_status); }; }; then
82822 ac_cv_lib_iconv_iconv=yes
82823 else
82824 echo "$as_me: failed program was:" >&5
82825 sed 's/^/| /' conftest.$ac_ext >&5
82826
82827 ac_cv_lib_iconv_iconv=no
82828 fi
82829 rm -f conftest.err conftest.$ac_objext \
82830 conftest$ac_exeext conftest.$ac_ext
82831 LIBS=$ac_check_lib_save_LIBS
82832 fi
82833 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
82834 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
82835 if test $ac_cv_lib_iconv_iconv = yes; then
82836 LIBICONV="-liconv"
82837 fi
82838
82839 ac_save_LIBS="$LIBS"
82840 LIBS="$LIBS $LIBICONV"
82841
82842
82843
82844
82845
82846
82847 for ac_func in iconv_open iconv_close iconv nl_langinfo
82848 do
82849 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
82850 echo "$as_me:$LINENO: checking for $ac_func" >&5
82851 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
82852 if eval "test \"\${$as_ac_var+set}\" = set"; then
82853 echo $ECHO_N "(cached) $ECHO_C" >&6
82854 else
82855 if test x$gcc_no_link = xyes; then
82856 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82857 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82858 { (exit 1); exit 1; }; }
82859 fi
82860 cat >conftest.$ac_ext <<_ACEOF
82861 /* confdefs.h. */
82862 _ACEOF
82863 cat confdefs.h >>conftest.$ac_ext
82864 cat >>conftest.$ac_ext <<_ACEOF
82865 /* end confdefs.h. */
82866 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
82867 For example, HP-UX 11i <limits.h> declares gettimeofday. */
82868 #define $ac_func innocuous_$ac_func
82869
82870 /* System header to define __stub macros and hopefully few prototypes,
82871 which can conflict with char $ac_func (); below.
82872 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
82873 <limits.h> exists even on freestanding compilers. */
82874
82875 #ifdef __STDC__
82876 # include <limits.h>
82877 #else
82878 # include <assert.h>
82879 #endif
82880
82881 #undef $ac_func
82882
82883 /* Override any gcc2 internal prototype to avoid an error. */
82884 #ifdef __cplusplus
82885 extern "C"
82886 {
82887 #endif
82888 /* We use char because int might match the return type of a gcc2
82889 builtin and then its argument prototype would still apply. */
82890 char $ac_func ();
82891 /* The GNU C library defines this for functions which it implements
82892 to always fail with ENOSYS. Some functions are actually named
82893 something starting with __ and the normal name is an alias. */
82894 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
82895 choke me
82896 #else
82897 char (*f) () = $ac_func;
82898 #endif
82899 #ifdef __cplusplus
82900 }
82901 #endif
82902
82903 int
82904 main ()
82905 {
82906 return f != $ac_func;
82907 ;
82908 return 0;
82909 }
82910 _ACEOF
82911 rm -f conftest.$ac_objext conftest$ac_exeext
82912 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82913 (eval $ac_link) 2>conftest.er1
82914 ac_status=$?
82915 grep -v '^ *+' conftest.er1 >conftest.err
82916 rm -f conftest.er1
82917 cat conftest.err >&5
82918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82919 (exit $ac_status); } &&
82920 { ac_try='test -z "$ac_c_werror_flag"
82921 || test ! -s conftest.err'
82922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82923 (eval $ac_try) 2>&5
82924 ac_status=$?
82925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82926 (exit $ac_status); }; } &&
82927 { ac_try='test -s conftest$ac_exeext'
82928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82929 (eval $ac_try) 2>&5
82930 ac_status=$?
82931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82932 (exit $ac_status); }; }; then
82933 eval "$as_ac_var=yes"
82934 else
82935 echo "$as_me: failed program was:" >&5
82936 sed 's/^/| /' conftest.$ac_ext >&5
82937
82938 eval "$as_ac_var=no"
82939 fi
82940 rm -f conftest.err conftest.$ac_objext \
82941 conftest$ac_exeext conftest.$ac_ext
82942 fi
82943 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
82944 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
82945 if test `eval echo '${'$as_ac_var'}'` = yes; then
82946 cat >>confdefs.h <<_ACEOF
82947 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
82948 _ACEOF
82949 ac_XPG2funcs=yes
82950 else
82951 ac_XPG2funcs=no
82952 fi
82953 done
82954
82955
82956 LIBS="$ac_save_LIBS"
82957
82958 if test x"$ac_has_iconv_h" = xyes &&
82959 test x"$ac_has_langinfo_h" = xyes &&
82960 test x"$ac_XPG2funcs" = xyes;
82961 then
82962
82963 cat >>confdefs.h <<\_ACEOF
82964 #define _GLIBCXX_USE_ICONV 1
82965 _ACEOF
82966
82967 enable_iconv=yes
82968 fi
82969 fi
82970 echo "$as_me:$LINENO: checking for enabled iconv specializations" >&5
82971 echo $ECHO_N "checking for enabled iconv specializations... $ECHO_C" >&6
82972 echo "$as_me:$LINENO: result: $enable_iconv" >&5
82973 echo "${ECHO_T}$enable_iconv" >&6
82974
82975
82976 # For showmanyc_helper().
82977
82978
82979 for ac_header in sys/ioctl.h sys/filio.h
82980 do
82981 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
82982 if eval "test \"\${$as_ac_Header+set}\" = set"; then
82983 echo "$as_me:$LINENO: checking for $ac_header" >&5
82984 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
82985 if eval "test \"\${$as_ac_Header+set}\" = set"; then
82986 echo $ECHO_N "(cached) $ECHO_C" >&6
82987 fi
82988 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
82989 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
82990 else
82991 # Is the header compilable?
82992 echo "$as_me:$LINENO: checking $ac_header usability" >&5
82993 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
82994 cat >conftest.$ac_ext <<_ACEOF
82995 /* confdefs.h. */
82996 _ACEOF
82997 cat confdefs.h >>conftest.$ac_ext
82998 cat >>conftest.$ac_ext <<_ACEOF
82999 /* end confdefs.h. */
83000 $ac_includes_default
83001 #include <$ac_header>
83002 _ACEOF
83003 rm -f conftest.$ac_objext
83004 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
83005 (eval $ac_compile) 2>conftest.er1
83006 ac_status=$?
83007 grep -v '^ *+' conftest.er1 >conftest.err
83008 rm -f conftest.er1
83009 cat conftest.err >&5
83010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83011 (exit $ac_status); } &&
83012 { ac_try='test -z "$ac_c_werror_flag"
83013 || test ! -s conftest.err'
83014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83015 (eval $ac_try) 2>&5
83016 ac_status=$?
83017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83018 (exit $ac_status); }; } &&
83019 { ac_try='test -s conftest.$ac_objext'
83020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83021 (eval $ac_try) 2>&5
83022 ac_status=$?
83023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83024 (exit $ac_status); }; }; then
83025 ac_header_compiler=yes
83026 else
83027 echo "$as_me: failed program was:" >&5
83028 sed 's/^/| /' conftest.$ac_ext >&5
83029
83030 ac_header_compiler=no
83031 fi
83032 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83033 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
83034 echo "${ECHO_T}$ac_header_compiler" >&6
83035
83036 # Is the header present?
83037 echo "$as_me:$LINENO: checking $ac_header presence" >&5
83038 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
83039 cat >conftest.$ac_ext <<_ACEOF
83040 /* confdefs.h. */
83041 _ACEOF
83042 cat confdefs.h >>conftest.$ac_ext
83043 cat >>conftest.$ac_ext <<_ACEOF
83044 /* end confdefs.h. */
83045 #include <$ac_header>
83046 _ACEOF
83047 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
83048 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
83049 ac_status=$?
83050 grep -v '^ *+' conftest.er1 >conftest.err
83051 rm -f conftest.er1
83052 cat conftest.err >&5
83053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83054 (exit $ac_status); } >/dev/null; then
83055 if test -s conftest.err; then
83056 ac_cpp_err=$ac_c_preproc_warn_flag
83057 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
83058 else
83059 ac_cpp_err=
83060 fi
83061 else
83062 ac_cpp_err=yes
83063 fi
83064 if test -z "$ac_cpp_err"; then
83065 ac_header_preproc=yes
83066 else
83067 echo "$as_me: failed program was:" >&5
83068 sed 's/^/| /' conftest.$ac_ext >&5
83069
83070 ac_header_preproc=no
83071 fi
83072 rm -f conftest.err conftest.$ac_ext
83073 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
83074 echo "${ECHO_T}$ac_header_preproc" >&6
83075
83076 # So? What about this header?
83077 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
83078 yes:no: )
83079 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
83080 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
83081 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
83082 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
83083 ac_header_preproc=yes
83084 ;;
83085 no:yes:* )
83086 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
83087 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
83088 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
83089 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
83090 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
83091 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
83092 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
83093 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
83094 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
83095 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
83096 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
83097 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
83098 (
83099 cat <<\_ASBOX
83100 ## ----------------------------------------- ##
83101 ## Report this to the package-unused lists. ##
83102 ## ----------------------------------------- ##
83103 _ASBOX
83104 ) |
83105 sed "s/^/$as_me: WARNING: /" >&2
83106 ;;
83107 esac
83108 echo "$as_me:$LINENO: checking for $ac_header" >&5
83109 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
83110 if eval "test \"\${$as_ac_Header+set}\" = set"; then
83111 echo $ECHO_N "(cached) $ECHO_C" >&6
83112 else
83113 eval "$as_ac_Header=\$ac_header_preproc"
83114 fi
83115 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
83116 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
83117
83118 fi
83119 if test `eval echo '${'$as_ac_Header'}'` = yes; then
83120 cat >>confdefs.h <<_ACEOF
83121 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
83122 _ACEOF
83123
83124 fi
83125
83126 done
83127
83128
83129 echo "$as_me:$LINENO: checking for poll" >&5
83130 echo $ECHO_N "checking for poll... $ECHO_C" >&6
83131 if test "${glibcxx_cv_POLL+set}" = set; then
83132 echo $ECHO_N "(cached) $ECHO_C" >&6
83133 else
83134
83135 if test x$gcc_no_link = xyes; then
83136 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83137 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83138 { (exit 1); exit 1; }; }
83139 fi
83140 cat >conftest.$ac_ext <<_ACEOF
83141 /* confdefs.h. */
83142 _ACEOF
83143 cat confdefs.h >>conftest.$ac_ext
83144 cat >>conftest.$ac_ext <<_ACEOF
83145 /* end confdefs.h. */
83146 #include <poll.h>
83147 int
83148 main ()
83149 {
83150 struct pollfd pfd[1];
83151 pfd[0].events = POLLIN;
83152 poll(pfd, 1, 0);
83153 ;
83154 return 0;
83155 }
83156 _ACEOF
83157 rm -f conftest.$ac_objext conftest$ac_exeext
83158 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83159 (eval $ac_link) 2>conftest.er1
83160 ac_status=$?
83161 grep -v '^ *+' conftest.er1 >conftest.err
83162 rm -f conftest.er1
83163 cat conftest.err >&5
83164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83165 (exit $ac_status); } &&
83166 { ac_try='test -z "$ac_c_werror_flag"
83167 || test ! -s conftest.err'
83168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83169 (eval $ac_try) 2>&5
83170 ac_status=$?
83171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83172 (exit $ac_status); }; } &&
83173 { ac_try='test -s conftest$ac_exeext'
83174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83175 (eval $ac_try) 2>&5
83176 ac_status=$?
83177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83178 (exit $ac_status); }; }; then
83179 glibcxx_cv_POLL=yes
83180 else
83181 echo "$as_me: failed program was:" >&5
83182 sed 's/^/| /' conftest.$ac_ext >&5
83183
83184 glibcxx_cv_POLL=no
83185 fi
83186 rm -f conftest.err conftest.$ac_objext \
83187 conftest$ac_exeext conftest.$ac_ext
83188
83189 fi
83190
83191 if test $glibcxx_cv_POLL = yes; then
83192
83193 cat >>confdefs.h <<\_ACEOF
83194 #define HAVE_POLL 1
83195 _ACEOF
83196
83197 fi
83198 echo "$as_me:$LINENO: result: $glibcxx_cv_POLL" >&5
83199 echo "${ECHO_T}$glibcxx_cv_POLL" >&6
83200
83201
83202 echo "$as_me:$LINENO: checking for S_ISREG or S_IFREG" >&5
83203 echo $ECHO_N "checking for S_ISREG or S_IFREG... $ECHO_C" >&6
83204 if test "${glibcxx_cv_S_ISREG+set}" = set; then
83205 echo $ECHO_N "(cached) $ECHO_C" >&6
83206 else
83207
83208 if test x$gcc_no_link = xyes; then
83209 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83210 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83211 { (exit 1); exit 1; }; }
83212 fi
83213 cat >conftest.$ac_ext <<_ACEOF
83214 /* confdefs.h. */
83215 _ACEOF
83216 cat confdefs.h >>conftest.$ac_ext
83217 cat >>conftest.$ac_ext <<_ACEOF
83218 /* end confdefs.h. */
83219 #include <sys/stat.h>
83220 int
83221 main ()
83222 {
83223 struct stat buffer;
83224 fstat(0, &buffer);
83225 S_ISREG(buffer.st_mode);
83226 ;
83227 return 0;
83228 }
83229 _ACEOF
83230 rm -f conftest.$ac_objext conftest$ac_exeext
83231 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83232 (eval $ac_link) 2>conftest.er1
83233 ac_status=$?
83234 grep -v '^ *+' conftest.er1 >conftest.err
83235 rm -f conftest.er1
83236 cat conftest.err >&5
83237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83238 (exit $ac_status); } &&
83239 { ac_try='test -z "$ac_c_werror_flag"
83240 || test ! -s conftest.err'
83241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83242 (eval $ac_try) 2>&5
83243 ac_status=$?
83244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83245 (exit $ac_status); }; } &&
83246 { ac_try='test -s conftest$ac_exeext'
83247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83248 (eval $ac_try) 2>&5
83249 ac_status=$?
83250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83251 (exit $ac_status); }; }; then
83252 glibcxx_cv_S_ISREG=yes
83253 else
83254 echo "$as_me: failed program was:" >&5
83255 sed 's/^/| /' conftest.$ac_ext >&5
83256
83257 glibcxx_cv_S_ISREG=no
83258 fi
83259 rm -f conftest.err conftest.$ac_objext \
83260 conftest$ac_exeext conftest.$ac_ext
83261
83262 fi
83263
83264 if test "${glibcxx_cv_S_IFREG+set}" = set; then
83265 echo $ECHO_N "(cached) $ECHO_C" >&6
83266 else
83267
83268 if test x$gcc_no_link = xyes; then
83269 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83270 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83271 { (exit 1); exit 1; }; }
83272 fi
83273 cat >conftest.$ac_ext <<_ACEOF
83274 /* confdefs.h. */
83275 _ACEOF
83276 cat confdefs.h >>conftest.$ac_ext
83277 cat >>conftest.$ac_ext <<_ACEOF
83278 /* end confdefs.h. */
83279 #include <sys/stat.h>
83280 int
83281 main ()
83282 {
83283 struct stat buffer;
83284 fstat(0, &buffer);
83285 S_IFREG & buffer.st_mode;
83286 ;
83287 return 0;
83288 }
83289 _ACEOF
83290 rm -f conftest.$ac_objext conftest$ac_exeext
83291 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83292 (eval $ac_link) 2>conftest.er1
83293 ac_status=$?
83294 grep -v '^ *+' conftest.er1 >conftest.err
83295 rm -f conftest.er1
83296 cat conftest.err >&5
83297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83298 (exit $ac_status); } &&
83299 { ac_try='test -z "$ac_c_werror_flag"
83300 || test ! -s conftest.err'
83301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83302 (eval $ac_try) 2>&5
83303 ac_status=$?
83304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83305 (exit $ac_status); }; } &&
83306 { ac_try='test -s conftest$ac_exeext'
83307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83308 (eval $ac_try) 2>&5
83309 ac_status=$?
83310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83311 (exit $ac_status); }; }; then
83312 glibcxx_cv_S_IFREG=yes
83313 else
83314 echo "$as_me: failed program was:" >&5
83315 sed 's/^/| /' conftest.$ac_ext >&5
83316
83317 glibcxx_cv_S_IFREG=no
83318 fi
83319 rm -f conftest.err conftest.$ac_objext \
83320 conftest$ac_exeext conftest.$ac_ext
83321
83322 fi
83323
83324 res=no
83325 if test $glibcxx_cv_S_ISREG = yes; then
83326
83327 cat >>confdefs.h <<\_ACEOF
83328 #define HAVE_S_ISREG 1
83329 _ACEOF
83330
83331 res=S_ISREG
83332 elif test $glibcxx_cv_S_IFREG = yes; then
83333
83334 cat >>confdefs.h <<\_ACEOF
83335 #define HAVE_S_IFREG 1
83336 _ACEOF
83337
83338 res=S_IFREG
83339 fi
83340 echo "$as_me:$LINENO: result: $res" >&5
83341 echo "${ECHO_T}$res" >&6
83342
83343
83344 # For xsputn_2().
83345
83346 for ac_header in sys/uio.h
83347 do
83348 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
83349 if eval "test \"\${$as_ac_Header+set}\" = set"; then
83350 echo "$as_me:$LINENO: checking for $ac_header" >&5
83351 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
83352 if eval "test \"\${$as_ac_Header+set}\" = set"; then
83353 echo $ECHO_N "(cached) $ECHO_C" >&6
83354 fi
83355 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
83356 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
83357 else
83358 # Is the header compilable?
83359 echo "$as_me:$LINENO: checking $ac_header usability" >&5
83360 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
83361 cat >conftest.$ac_ext <<_ACEOF
83362 /* confdefs.h. */
83363 _ACEOF
83364 cat confdefs.h >>conftest.$ac_ext
83365 cat >>conftest.$ac_ext <<_ACEOF
83366 /* end confdefs.h. */
83367 $ac_includes_default
83368 #include <$ac_header>
83369 _ACEOF
83370 rm -f conftest.$ac_objext
83371 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
83372 (eval $ac_compile) 2>conftest.er1
83373 ac_status=$?
83374 grep -v '^ *+' conftest.er1 >conftest.err
83375 rm -f conftest.er1
83376 cat conftest.err >&5
83377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83378 (exit $ac_status); } &&
83379 { ac_try='test -z "$ac_c_werror_flag"
83380 || test ! -s conftest.err'
83381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83382 (eval $ac_try) 2>&5
83383 ac_status=$?
83384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83385 (exit $ac_status); }; } &&
83386 { ac_try='test -s conftest.$ac_objext'
83387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83388 (eval $ac_try) 2>&5
83389 ac_status=$?
83390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83391 (exit $ac_status); }; }; then
83392 ac_header_compiler=yes
83393 else
83394 echo "$as_me: failed program was:" >&5
83395 sed 's/^/| /' conftest.$ac_ext >&5
83396
83397 ac_header_compiler=no
83398 fi
83399 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83400 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
83401 echo "${ECHO_T}$ac_header_compiler" >&6
83402
83403 # Is the header present?
83404 echo "$as_me:$LINENO: checking $ac_header presence" >&5
83405 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
83406 cat >conftest.$ac_ext <<_ACEOF
83407 /* confdefs.h. */
83408 _ACEOF
83409 cat confdefs.h >>conftest.$ac_ext
83410 cat >>conftest.$ac_ext <<_ACEOF
83411 /* end confdefs.h. */
83412 #include <$ac_header>
83413 _ACEOF
83414 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
83415 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
83416 ac_status=$?
83417 grep -v '^ *+' conftest.er1 >conftest.err
83418 rm -f conftest.er1
83419 cat conftest.err >&5
83420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83421 (exit $ac_status); } >/dev/null; then
83422 if test -s conftest.err; then
83423 ac_cpp_err=$ac_c_preproc_warn_flag
83424 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
83425 else
83426 ac_cpp_err=
83427 fi
83428 else
83429 ac_cpp_err=yes
83430 fi
83431 if test -z "$ac_cpp_err"; then
83432 ac_header_preproc=yes
83433 else
83434 echo "$as_me: failed program was:" >&5
83435 sed 's/^/| /' conftest.$ac_ext >&5
83436
83437 ac_header_preproc=no
83438 fi
83439 rm -f conftest.err conftest.$ac_ext
83440 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
83441 echo "${ECHO_T}$ac_header_preproc" >&6
83442
83443 # So? What about this header?
83444 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
83445 yes:no: )
83446 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
83447 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
83448 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
83449 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
83450 ac_header_preproc=yes
83451 ;;
83452 no:yes:* )
83453 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
83454 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
83455 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
83456 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
83457 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
83458 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
83459 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
83460 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
83461 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
83462 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
83463 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
83464 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
83465 (
83466 cat <<\_ASBOX
83467 ## ----------------------------------------- ##
83468 ## Report this to the package-unused lists. ##
83469 ## ----------------------------------------- ##
83470 _ASBOX
83471 ) |
83472 sed "s/^/$as_me: WARNING: /" >&2
83473 ;;
83474 esac
83475 echo "$as_me:$LINENO: checking for $ac_header" >&5
83476 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
83477 if eval "test \"\${$as_ac_Header+set}\" = set"; then
83478 echo $ECHO_N "(cached) $ECHO_C" >&6
83479 else
83480 eval "$as_ac_Header=\$ac_header_preproc"
83481 fi
83482 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
83483 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
83484
83485 fi
83486 if test `eval echo '${'$as_ac_Header'}'` = yes; then
83487 cat >>confdefs.h <<_ACEOF
83488 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
83489 _ACEOF
83490
83491 fi
83492
83493 done
83494
83495
83496 echo "$as_me:$LINENO: checking for writev" >&5
83497 echo $ECHO_N "checking for writev... $ECHO_C" >&6
83498 if test "${glibcxx_cv_WRITEV+set}" = set; then
83499 echo $ECHO_N "(cached) $ECHO_C" >&6
83500 else
83501
83502 if test x$gcc_no_link = xyes; then
83503 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83504 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83505 { (exit 1); exit 1; }; }
83506 fi
83507 cat >conftest.$ac_ext <<_ACEOF
83508 /* confdefs.h. */
83509 _ACEOF
83510 cat confdefs.h >>conftest.$ac_ext
83511 cat >>conftest.$ac_ext <<_ACEOF
83512 /* end confdefs.h. */
83513 #include <sys/uio.h>
83514 int
83515 main ()
83516 {
83517 struct iovec iov[2];
83518 writev(0, iov, 0);
83519 ;
83520 return 0;
83521 }
83522 _ACEOF
83523 rm -f conftest.$ac_objext conftest$ac_exeext
83524 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83525 (eval $ac_link) 2>conftest.er1
83526 ac_status=$?
83527 grep -v '^ *+' conftest.er1 >conftest.err
83528 rm -f conftest.er1
83529 cat conftest.err >&5
83530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83531 (exit $ac_status); } &&
83532 { ac_try='test -z "$ac_c_werror_flag"
83533 || test ! -s conftest.err'
83534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83535 (eval $ac_try) 2>&5
83536 ac_status=$?
83537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83538 (exit $ac_status); }; } &&
83539 { ac_try='test -s conftest$ac_exeext'
83540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83541 (eval $ac_try) 2>&5
83542 ac_status=$?
83543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83544 (exit $ac_status); }; }; then
83545 glibcxx_cv_WRITEV=yes
83546 else
83547 echo "$as_me: failed program was:" >&5
83548 sed 's/^/| /' conftest.$ac_ext >&5
83549
83550 glibcxx_cv_WRITEV=no
83551 fi
83552 rm -f conftest.err conftest.$ac_objext \
83553 conftest$ac_exeext conftest.$ac_ext
83554
83555 fi
83556
83557 if test $glibcxx_cv_WRITEV = yes; then
83558
83559 cat >>confdefs.h <<\_ACEOF
83560 #define HAVE_WRITEV 1
83561 _ACEOF
83562
83563 fi
83564 echo "$as_me:$LINENO: result: $glibcxx_cv_WRITEV" >&5
83565 echo "${ECHO_T}$glibcxx_cv_WRITEV" >&6
83566
83567 ;;
83568 *-qnx6.1* | *-qnx6.2*)
83569 SECTION_FLAGS='-ffunction-sections -fdata-sections'
83570
83571
83572 # If we're not using GNU ld, then there's no point in even trying these
83573 # tests. Check for that first. We should have already tested for gld
83574 # by now (in libtool), but require it now just to be safe...
83575 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
83576 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
83577
83578
83579
83580 # The name set by libtool depends on the version of libtool. Shame on us
83581 # for depending on an impl detail, but c'est la vie. Older versions used
83582 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
83583 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
83584 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
83585 # set (hence we're using an older libtool), then set it.
83586 if test x${with_gnu_ld+set} != xset; then
83587 if test x${ac_cv_prog_gnu_ld+set} != xset; then
83588 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
83589 with_gnu_ld=no
83590 else
83591 with_gnu_ld=$ac_cv_prog_gnu_ld
83592 fi
83593 fi
83594
83595 # Start by getting the version number. I think the libtool test already
83596 # does some of this, but throws away the result.
83597
83598 ldver=`$LD --version 2>/dev/null | head -1 | \
83599 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
83600
83601 glibcxx_gnu_ld_version=`echo $ldver | \
83602 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
83603
83604 # Set --gc-sections.
83605 if test "$with_gnu_ld" = "notbroken"; then
83606 # GNU ld it is! Joy and bunny rabbits!
83607
83608 # All these tests are for C++; save the language and the compiler flags.
83609 # Need to do this so that g++ won't try to link in libstdc++
83610 ac_test_CFLAGS="${CFLAGS+set}"
83611 ac_save_CFLAGS="$CFLAGS"
83612 CFLAGS='-x c++ -Wl,--gc-sections'
83613
83614 # Check for -Wl,--gc-sections
83615 # XXX This test is broken at the moment, as symbols required for linking
83616 # are now in libsupc++ (not built yet). In addition, this test has
83617 # cored on solaris in the past. In addition, --gc-sections doesn't
83618 # really work at the moment (keeps on discarding used sections, first
83619 # .eh_frame and now some of the glibc sections for iconv).
83620 # Bzzzzt. Thanks for playing, maybe next time.
83621 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
83622 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
83623 if test "$cross_compiling" = yes; then
83624 ac_sectionLDflags=yes
83625 else
83626 cat >conftest.$ac_ext <<_ACEOF
83627 /* confdefs.h. */
83628 _ACEOF
83629 cat confdefs.h >>conftest.$ac_ext
83630 cat >>conftest.$ac_ext <<_ACEOF
83631 /* end confdefs.h. */
83632
83633 int main(void)
83634 {
83635 try { throw 1; }
83636 catch (...) { };
83637 return 0;
83638 }
83639
83640 _ACEOF
83641 rm -f conftest$ac_exeext
83642 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83643 (eval $ac_link) 2>&5
83644 ac_status=$?
83645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83646 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
83647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83648 (eval $ac_try) 2>&5
83649 ac_status=$?
83650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83651 (exit $ac_status); }; }; then
83652 ac_sectionLDflags=yes
83653 else
83654 echo "$as_me: program exited with status $ac_status" >&5
83655 echo "$as_me: failed program was:" >&5
83656 sed 's/^/| /' conftest.$ac_ext >&5
83657
83658 ( exit $ac_status )
83659 ac_sectionLDflags=no
83660 fi
83661 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
83662 fi
83663 if test "$ac_test_CFLAGS" = set; then
83664 CFLAGS="$ac_save_CFLAGS"
83665 else
83666 # this is the suspicious part
83667 CFLAGS=''
83668 fi
83669 if test "$ac_sectionLDflags" = "yes"; then
83670 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
83671 fi
83672 echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
83673 echo "${ECHO_T}$ac_sectionLDflags" >&6
83674 fi
83675
83676 # Set linker optimization flags.
83677 if test x"$with_gnu_ld" = x"yes"; then
83678 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
83679 fi
83680
83681
83682
83683
83684
83685
83686 echo "$as_me:$LINENO: checking for main in -lm" >&5
83687 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
83688 if test "${ac_cv_lib_m_main+set}" = set; then
83689 echo $ECHO_N "(cached) $ECHO_C" >&6
83690 else
83691 ac_check_lib_save_LIBS=$LIBS
83692 LIBS="-lm $LIBS"
83693 if test x$gcc_no_link = xyes; then
83694 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83695 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83696 { (exit 1); exit 1; }; }
83697 fi
83698 cat >conftest.$ac_ext <<_ACEOF
83699 /* confdefs.h. */
83700 _ACEOF
83701 cat confdefs.h >>conftest.$ac_ext
83702 cat >>conftest.$ac_ext <<_ACEOF
83703 /* end confdefs.h. */
83704
83705
83706 int
83707 main ()
83708 {
83709 main ();
83710 ;
83711 return 0;
83712 }
83713 _ACEOF
83714 rm -f conftest.$ac_objext conftest$ac_exeext
83715 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83716 (eval $ac_link) 2>conftest.er1
83717 ac_status=$?
83718 grep -v '^ *+' conftest.er1 >conftest.err
83719 rm -f conftest.er1
83720 cat conftest.err >&5
83721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83722 (exit $ac_status); } &&
83723 { ac_try='test -z "$ac_c_werror_flag"
83724 || test ! -s conftest.err'
83725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83726 (eval $ac_try) 2>&5
83727 ac_status=$?
83728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83729 (exit $ac_status); }; } &&
83730 { ac_try='test -s conftest$ac_exeext'
83731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83732 (eval $ac_try) 2>&5
83733 ac_status=$?
83734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83735 (exit $ac_status); }; }; then
83736 ac_cv_lib_m_main=yes
83737 else
83738 echo "$as_me: failed program was:" >&5
83739 sed 's/^/| /' conftest.$ac_ext >&5
83740
83741 ac_cv_lib_m_main=no
83742 fi
83743 rm -f conftest.err conftest.$ac_objext \
83744 conftest$ac_exeext conftest.$ac_ext
83745 LIBS=$ac_check_lib_save_LIBS
83746 fi
83747 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
83748 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
83749 if test $ac_cv_lib_m_main = yes; then
83750 cat >>confdefs.h <<_ACEOF
83751 #define HAVE_LIBM 1
83752 _ACEOF
83753
83754 LIBS="-lm $LIBS"
83755
83756 fi
83757
83758
83759 for ac_func in copysignf
83760 do
83761 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
83762 echo "$as_me:$LINENO: checking for $ac_func" >&5
83763 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
83764 if eval "test \"\${$as_ac_var+set}\" = set"; then
83765 echo $ECHO_N "(cached) $ECHO_C" >&6
83766 else
83767 if test x$gcc_no_link = xyes; then
83768 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83769 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83770 { (exit 1); exit 1; }; }
83771 fi
83772 cat >conftest.$ac_ext <<_ACEOF
83773 /* confdefs.h. */
83774 _ACEOF
83775 cat confdefs.h >>conftest.$ac_ext
83776 cat >>conftest.$ac_ext <<_ACEOF
83777 /* end confdefs.h. */
83778 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
83779 For example, HP-UX 11i <limits.h> declares gettimeofday. */
83780 #define $ac_func innocuous_$ac_func
83781
83782 /* System header to define __stub macros and hopefully few prototypes,
83783 which can conflict with char $ac_func (); below.
83784 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
83785 <limits.h> exists even on freestanding compilers. */
83786
83787 #ifdef __STDC__
83788 # include <limits.h>
83789 #else
83790 # include <assert.h>
83791 #endif
83792
83793 #undef $ac_func
83794
83795 /* Override any gcc2 internal prototype to avoid an error. */
83796 #ifdef __cplusplus
83797 extern "C"
83798 {
83799 #endif
83800 /* We use char because int might match the return type of a gcc2
83801 builtin and then its argument prototype would still apply. */
83802 char $ac_func ();
83803 /* The GNU C library defines this for functions which it implements
83804 to always fail with ENOSYS. Some functions are actually named
83805 something starting with __ and the normal name is an alias. */
83806 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
83807 choke me
83808 #else
83809 char (*f) () = $ac_func;
83810 #endif
83811 #ifdef __cplusplus
83812 }
83813 #endif
83814
83815 int
83816 main ()
83817 {
83818 return f != $ac_func;
83819 ;
83820 return 0;
83821 }
83822 _ACEOF
83823 rm -f conftest.$ac_objext conftest$ac_exeext
83824 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83825 (eval $ac_link) 2>conftest.er1
83826 ac_status=$?
83827 grep -v '^ *+' conftest.er1 >conftest.err
83828 rm -f conftest.er1
83829 cat conftest.err >&5
83830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83831 (exit $ac_status); } &&
83832 { ac_try='test -z "$ac_c_werror_flag"
83833 || test ! -s conftest.err'
83834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83835 (eval $ac_try) 2>&5
83836 ac_status=$?
83837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83838 (exit $ac_status); }; } &&
83839 { ac_try='test -s conftest$ac_exeext'
83840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83841 (eval $ac_try) 2>&5
83842 ac_status=$?
83843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83844 (exit $ac_status); }; }; then
83845 eval "$as_ac_var=yes"
83846 else
83847 echo "$as_me: failed program was:" >&5
83848 sed 's/^/| /' conftest.$ac_ext >&5
83849
83850 eval "$as_ac_var=no"
83851 fi
83852 rm -f conftest.err conftest.$ac_objext \
83853 conftest$ac_exeext conftest.$ac_ext
83854 fi
83855 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
83856 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
83857 if test `eval echo '${'$as_ac_var'}'` = yes; then
83858 cat >>confdefs.h <<_ACEOF
83859 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
83860 _ACEOF
83861
83862 else
83863 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
83864 fi
83865 done
83866
83867
83868
83869 for ac_func in __signbit
83870 do
83871 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
83872 echo "$as_me:$LINENO: checking for $ac_func" >&5
83873 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
83874 if eval "test \"\${$as_ac_var+set}\" = set"; then
83875 echo $ECHO_N "(cached) $ECHO_C" >&6
83876 else
83877 if test x$gcc_no_link = xyes; then
83878 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83879 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83880 { (exit 1); exit 1; }; }
83881 fi
83882 cat >conftest.$ac_ext <<_ACEOF
83883 /* confdefs.h. */
83884 _ACEOF
83885 cat confdefs.h >>conftest.$ac_ext
83886 cat >>conftest.$ac_ext <<_ACEOF
83887 /* end confdefs.h. */
83888 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
83889 For example, HP-UX 11i <limits.h> declares gettimeofday. */
83890 #define $ac_func innocuous_$ac_func
83891
83892 /* System header to define __stub macros and hopefully few prototypes,
83893 which can conflict with char $ac_func (); below.
83894 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
83895 <limits.h> exists even on freestanding compilers. */
83896
83897 #ifdef __STDC__
83898 # include <limits.h>
83899 #else
83900 # include <assert.h>
83901 #endif
83902
83903 #undef $ac_func
83904
83905 /* Override any gcc2 internal prototype to avoid an error. */
83906 #ifdef __cplusplus
83907 extern "C"
83908 {
83909 #endif
83910 /* We use char because int might match the return type of a gcc2
83911 builtin and then its argument prototype would still apply. */
83912 char $ac_func ();
83913 /* The GNU C library defines this for functions which it implements
83914 to always fail with ENOSYS. Some functions are actually named
83915 something starting with __ and the normal name is an alias. */
83916 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
83917 choke me
83918 #else
83919 char (*f) () = $ac_func;
83920 #endif
83921 #ifdef __cplusplus
83922 }
83923 #endif
83924
83925 int
83926 main ()
83927 {
83928 return f != $ac_func;
83929 ;
83930 return 0;
83931 }
83932 _ACEOF
83933 rm -f conftest.$ac_objext conftest$ac_exeext
83934 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83935 (eval $ac_link) 2>conftest.er1
83936 ac_status=$?
83937 grep -v '^ *+' conftest.er1 >conftest.err
83938 rm -f conftest.er1
83939 cat conftest.err >&5
83940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83941 (exit $ac_status); } &&
83942 { ac_try='test -z "$ac_c_werror_flag"
83943 || test ! -s conftest.err'
83944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83945 (eval $ac_try) 2>&5
83946 ac_status=$?
83947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83948 (exit $ac_status); }; } &&
83949 { ac_try='test -s conftest$ac_exeext'
83950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83951 (eval $ac_try) 2>&5
83952 ac_status=$?
83953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83954 (exit $ac_status); }; }; then
83955 eval "$as_ac_var=yes"
83956 else
83957 echo "$as_me: failed program was:" >&5
83958 sed 's/^/| /' conftest.$ac_ext >&5
83959
83960 eval "$as_ac_var=no"
83961 fi
83962 rm -f conftest.err conftest.$ac_objext \
83963 conftest$ac_exeext conftest.$ac_ext
83964 fi
83965 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
83966 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
83967 if test `eval echo '${'$as_ac_var'}'` = yes; then
83968 cat >>confdefs.h <<_ACEOF
83969 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
83970 _ACEOF
83971
83972 else
83973 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
83974 fi
83975 done
83976
83977
83978
83979 for ac_func in __signbitf
83980 do
83981 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
83982 echo "$as_me:$LINENO: checking for $ac_func" >&5
83983 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
83984 if eval "test \"\${$as_ac_var+set}\" = set"; then
83985 echo $ECHO_N "(cached) $ECHO_C" >&6
83986 else
83987 if test x$gcc_no_link = xyes; then
83988 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83989 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83990 { (exit 1); exit 1; }; }
83991 fi
83992 cat >conftest.$ac_ext <<_ACEOF
83993 /* confdefs.h. */
83994 _ACEOF
83995 cat confdefs.h >>conftest.$ac_ext
83996 cat >>conftest.$ac_ext <<_ACEOF
83997 /* end confdefs.h. */
83998 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
83999 For example, HP-UX 11i <limits.h> declares gettimeofday. */
84000 #define $ac_func innocuous_$ac_func
84001
84002 /* System header to define __stub macros and hopefully few prototypes,
84003 which can conflict with char $ac_func (); below.
84004 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
84005 <limits.h> exists even on freestanding compilers. */
84006
84007 #ifdef __STDC__
84008 # include <limits.h>
84009 #else
84010 # include <assert.h>
84011 #endif
84012
84013 #undef $ac_func
84014
84015 /* Override any gcc2 internal prototype to avoid an error. */
84016 #ifdef __cplusplus
84017 extern "C"
84018 {
84019 #endif
84020 /* We use char because int might match the return type of a gcc2
84021 builtin and then its argument prototype would still apply. */
84022 char $ac_func ();
84023 /* The GNU C library defines this for functions which it implements
84024 to always fail with ENOSYS. Some functions are actually named
84025 something starting with __ and the normal name is an alias. */
84026 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
84027 choke me
84028 #else
84029 char (*f) () = $ac_func;
84030 #endif
84031 #ifdef __cplusplus
84032 }
84033 #endif
84034
84035 int
84036 main ()
84037 {
84038 return f != $ac_func;
84039 ;
84040 return 0;
84041 }
84042 _ACEOF
84043 rm -f conftest.$ac_objext conftest$ac_exeext
84044 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84045 (eval $ac_link) 2>conftest.er1
84046 ac_status=$?
84047 grep -v '^ *+' conftest.er1 >conftest.err
84048 rm -f conftest.er1
84049 cat conftest.err >&5
84050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84051 (exit $ac_status); } &&
84052 { ac_try='test -z "$ac_c_werror_flag"
84053 || test ! -s conftest.err'
84054 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84055 (eval $ac_try) 2>&5
84056 ac_status=$?
84057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84058 (exit $ac_status); }; } &&
84059 { ac_try='test -s conftest$ac_exeext'
84060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84061 (eval $ac_try) 2>&5
84062 ac_status=$?
84063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84064 (exit $ac_status); }; }; then
84065 eval "$as_ac_var=yes"
84066 else
84067 echo "$as_me: failed program was:" >&5
84068 sed 's/^/| /' conftest.$ac_ext >&5
84069
84070 eval "$as_ac_var=no"
84071 fi
84072 rm -f conftest.err conftest.$ac_objext \
84073 conftest$ac_exeext conftest.$ac_ext
84074 fi
84075 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
84076 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
84077 if test `eval echo '${'$as_ac_var'}'` = yes; then
84078 cat >>confdefs.h <<_ACEOF
84079 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
84080 _ACEOF
84081
84082 else
84083 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
84084 fi
84085 done
84086
84087
84088 if test x$ac_cv_func_copysignl = x"yes"; then
84089
84090 for ac_func in __signbitl
84091 do
84092 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
84093 echo "$as_me:$LINENO: checking for $ac_func" >&5
84094 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
84095 if eval "test \"\${$as_ac_var+set}\" = set"; then
84096 echo $ECHO_N "(cached) $ECHO_C" >&6
84097 else
84098 if test x$gcc_no_link = xyes; then
84099 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84100 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84101 { (exit 1); exit 1; }; }
84102 fi
84103 cat >conftest.$ac_ext <<_ACEOF
84104 /* confdefs.h. */
84105 _ACEOF
84106 cat confdefs.h >>conftest.$ac_ext
84107 cat >>conftest.$ac_ext <<_ACEOF
84108 /* end confdefs.h. */
84109 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
84110 For example, HP-UX 11i <limits.h> declares gettimeofday. */
84111 #define $ac_func innocuous_$ac_func
84112
84113 /* System header to define __stub macros and hopefully few prototypes,
84114 which can conflict with char $ac_func (); below.
84115 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
84116 <limits.h> exists even on freestanding compilers. */
84117
84118 #ifdef __STDC__
84119 # include <limits.h>
84120 #else
84121 # include <assert.h>
84122 #endif
84123
84124 #undef $ac_func
84125
84126 /* Override any gcc2 internal prototype to avoid an error. */
84127 #ifdef __cplusplus
84128 extern "C"
84129 {
84130 #endif
84131 /* We use char because int might match the return type of a gcc2
84132 builtin and then its argument prototype would still apply. */
84133 char $ac_func ();
84134 /* The GNU C library defines this for functions which it implements
84135 to always fail with ENOSYS. Some functions are actually named
84136 something starting with __ and the normal name is an alias. */
84137 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
84138 choke me
84139 #else
84140 char (*f) () = $ac_func;
84141 #endif
84142 #ifdef __cplusplus
84143 }
84144 #endif
84145
84146 int
84147 main ()
84148 {
84149 return f != $ac_func;
84150 ;
84151 return 0;
84152 }
84153 _ACEOF
84154 rm -f conftest.$ac_objext conftest$ac_exeext
84155 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84156 (eval $ac_link) 2>conftest.er1
84157 ac_status=$?
84158 grep -v '^ *+' conftest.er1 >conftest.err
84159 rm -f conftest.er1
84160 cat conftest.err >&5
84161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84162 (exit $ac_status); } &&
84163 { ac_try='test -z "$ac_c_werror_flag"
84164 || test ! -s conftest.err'
84165 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84166 (eval $ac_try) 2>&5
84167 ac_status=$?
84168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84169 (exit $ac_status); }; } &&
84170 { ac_try='test -s conftest$ac_exeext'
84171 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84172 (eval $ac_try) 2>&5
84173 ac_status=$?
84174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84175 (exit $ac_status); }; }; then
84176 eval "$as_ac_var=yes"
84177 else
84178 echo "$as_me: failed program was:" >&5
84179 sed 's/^/| /' conftest.$ac_ext >&5
84180
84181 eval "$as_ac_var=no"
84182 fi
84183 rm -f conftest.err conftest.$ac_objext \
84184 conftest$ac_exeext conftest.$ac_ext
84185 fi
84186 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
84187 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
84188 if test `eval echo '${'$as_ac_var'}'` = yes; then
84189 cat >>confdefs.h <<_ACEOF
84190 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
84191 _ACEOF
84192
84193 else
84194 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
84195 fi
84196 done
84197
84198 fi
84199
84200 # Used in libmath/Makefile.am.
84201 if test -n "$LIBMATHOBJS"; then
84202 need_libmath=yes
84203 fi
84204
84205
84206
84207
84208 enable_iconv=no
84209 # Only continue checking if the ISO C99 headers exist and support is on.
84210 if test x"$enable_wchar_t" = xyes; then
84211
84212 # Use iconv for wchar_t to char conversions. As such, check for
84213 # X/Open Portability Guide, version 2 features (XPG2).
84214 if test "${ac_cv_header_iconv_h+set}" = set; then
84215 echo "$as_me:$LINENO: checking for iconv.h" >&5
84216 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
84217 if test "${ac_cv_header_iconv_h+set}" = set; then
84218 echo $ECHO_N "(cached) $ECHO_C" >&6
84219 fi
84220 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
84221 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
84222 else
84223 # Is the header compilable?
84224 echo "$as_me:$LINENO: checking iconv.h usability" >&5
84225 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
84226 cat >conftest.$ac_ext <<_ACEOF
84227 /* confdefs.h. */
84228 _ACEOF
84229 cat confdefs.h >>conftest.$ac_ext
84230 cat >>conftest.$ac_ext <<_ACEOF
84231 /* end confdefs.h. */
84232 $ac_includes_default
84233 #include <iconv.h>
84234 _ACEOF
84235 rm -f conftest.$ac_objext
84236 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
84237 (eval $ac_compile) 2>conftest.er1
84238 ac_status=$?
84239 grep -v '^ *+' conftest.er1 >conftest.err
84240 rm -f conftest.er1
84241 cat conftest.err >&5
84242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84243 (exit $ac_status); } &&
84244 { ac_try='test -z "$ac_c_werror_flag"
84245 || test ! -s conftest.err'
84246 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84247 (eval $ac_try) 2>&5
84248 ac_status=$?
84249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84250 (exit $ac_status); }; } &&
84251 { ac_try='test -s conftest.$ac_objext'
84252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84253 (eval $ac_try) 2>&5
84254 ac_status=$?
84255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84256 (exit $ac_status); }; }; then
84257 ac_header_compiler=yes
84258 else
84259 echo "$as_me: failed program was:" >&5
84260 sed 's/^/| /' conftest.$ac_ext >&5
84261
84262 ac_header_compiler=no
84263 fi
84264 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
84265 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
84266 echo "${ECHO_T}$ac_header_compiler" >&6
84267
84268 # Is the header present?
84269 echo "$as_me:$LINENO: checking iconv.h presence" >&5
84270 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
84271 cat >conftest.$ac_ext <<_ACEOF
84272 /* confdefs.h. */
84273 _ACEOF
84274 cat confdefs.h >>conftest.$ac_ext
84275 cat >>conftest.$ac_ext <<_ACEOF
84276 /* end confdefs.h. */
84277 #include <iconv.h>
84278 _ACEOF
84279 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
84280 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
84281 ac_status=$?
84282 grep -v '^ *+' conftest.er1 >conftest.err
84283 rm -f conftest.er1
84284 cat conftest.err >&5
84285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84286 (exit $ac_status); } >/dev/null; then
84287 if test -s conftest.err; then
84288 ac_cpp_err=$ac_c_preproc_warn_flag
84289 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
84290 else
84291 ac_cpp_err=
84292 fi
84293 else
84294 ac_cpp_err=yes
84295 fi
84296 if test -z "$ac_cpp_err"; then
84297 ac_header_preproc=yes
84298 else
84299 echo "$as_me: failed program was:" >&5
84300 sed 's/^/| /' conftest.$ac_ext >&5
84301
84302 ac_header_preproc=no
84303 fi
84304 rm -f conftest.err conftest.$ac_ext
84305 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
84306 echo "${ECHO_T}$ac_header_preproc" >&6
84307
84308 # So? What about this header?
84309 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
84310 yes:no: )
84311 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
84312 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
84313 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
84314 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
84315 ac_header_preproc=yes
84316 ;;
84317 no:yes:* )
84318 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
84319 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
84320 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
84321 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
84322 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
84323 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
84324 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
84325 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
84326 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
84327 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
84328 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
84329 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
84330 (
84331 cat <<\_ASBOX
84332 ## ----------------------------------------- ##
84333 ## Report this to the package-unused lists. ##
84334 ## ----------------------------------------- ##
84335 _ASBOX
84336 ) |
84337 sed "s/^/$as_me: WARNING: /" >&2
84338 ;;
84339 esac
84340 echo "$as_me:$LINENO: checking for iconv.h" >&5
84341 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
84342 if test "${ac_cv_header_iconv_h+set}" = set; then
84343 echo $ECHO_N "(cached) $ECHO_C" >&6
84344 else
84345 ac_cv_header_iconv_h=$ac_header_preproc
84346 fi
84347 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
84348 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
84349
84350 fi
84351 if test $ac_cv_header_iconv_h = yes; then
84352 ac_has_iconv_h=yes
84353 else
84354 ac_has_iconv_h=no
84355 fi
84356
84357
84358 if test "${ac_cv_header_langinfo_h+set}" = set; then
84359 echo "$as_me:$LINENO: checking for langinfo.h" >&5
84360 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
84361 if test "${ac_cv_header_langinfo_h+set}" = set; then
84362 echo $ECHO_N "(cached) $ECHO_C" >&6
84363 fi
84364 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
84365 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
84366 else
84367 # Is the header compilable?
84368 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
84369 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
84370 cat >conftest.$ac_ext <<_ACEOF
84371 /* confdefs.h. */
84372 _ACEOF
84373 cat confdefs.h >>conftest.$ac_ext
84374 cat >>conftest.$ac_ext <<_ACEOF
84375 /* end confdefs.h. */
84376 $ac_includes_default
84377 #include <langinfo.h>
84378 _ACEOF
84379 rm -f conftest.$ac_objext
84380 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
84381 (eval $ac_compile) 2>conftest.er1
84382 ac_status=$?
84383 grep -v '^ *+' conftest.er1 >conftest.err
84384 rm -f conftest.er1
84385 cat conftest.err >&5
84386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84387 (exit $ac_status); } &&
84388 { ac_try='test -z "$ac_c_werror_flag"
84389 || test ! -s conftest.err'
84390 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84391 (eval $ac_try) 2>&5
84392 ac_status=$?
84393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84394 (exit $ac_status); }; } &&
84395 { ac_try='test -s conftest.$ac_objext'
84396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84397 (eval $ac_try) 2>&5
84398 ac_status=$?
84399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84400 (exit $ac_status); }; }; then
84401 ac_header_compiler=yes
84402 else
84403 echo "$as_me: failed program was:" >&5
84404 sed 's/^/| /' conftest.$ac_ext >&5
84405
84406 ac_header_compiler=no
84407 fi
84408 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
84409 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
84410 echo "${ECHO_T}$ac_header_compiler" >&6
84411
84412 # Is the header present?
84413 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
84414 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
84415 cat >conftest.$ac_ext <<_ACEOF
84416 /* confdefs.h. */
84417 _ACEOF
84418 cat confdefs.h >>conftest.$ac_ext
84419 cat >>conftest.$ac_ext <<_ACEOF
84420 /* end confdefs.h. */
84421 #include <langinfo.h>
84422 _ACEOF
84423 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
84424 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
84425 ac_status=$?
84426 grep -v '^ *+' conftest.er1 >conftest.err
84427 rm -f conftest.er1
84428 cat conftest.err >&5
84429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84430 (exit $ac_status); } >/dev/null; then
84431 if test -s conftest.err; then
84432 ac_cpp_err=$ac_c_preproc_warn_flag
84433 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
84434 else
84435 ac_cpp_err=
84436 fi
84437 else
84438 ac_cpp_err=yes
84439 fi
84440 if test -z "$ac_cpp_err"; then
84441 ac_header_preproc=yes
84442 else
84443 echo "$as_me: failed program was:" >&5
84444 sed 's/^/| /' conftest.$ac_ext >&5
84445
84446 ac_header_preproc=no
84447 fi
84448 rm -f conftest.err conftest.$ac_ext
84449 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
84450 echo "${ECHO_T}$ac_header_preproc" >&6
84451
84452 # So? What about this header?
84453 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
84454 yes:no: )
84455 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
84456 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
84457 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
84458 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
84459 ac_header_preproc=yes
84460 ;;
84461 no:yes:* )
84462 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
84463 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
84464 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
84465 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
84466 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
84467 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
84468 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
84469 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
84470 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
84471 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
84472 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
84473 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
84474 (
84475 cat <<\_ASBOX
84476 ## ----------------------------------------- ##
84477 ## Report this to the package-unused lists. ##
84478 ## ----------------------------------------- ##
84479 _ASBOX
84480 ) |
84481 sed "s/^/$as_me: WARNING: /" >&2
84482 ;;
84483 esac
84484 echo "$as_me:$LINENO: checking for langinfo.h" >&5
84485 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
84486 if test "${ac_cv_header_langinfo_h+set}" = set; then
84487 echo $ECHO_N "(cached) $ECHO_C" >&6
84488 else
84489 ac_cv_header_langinfo_h=$ac_header_preproc
84490 fi
84491 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
84492 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
84493
84494 fi
84495 if test $ac_cv_header_langinfo_h = yes; then
84496 ac_has_langinfo_h=yes
84497 else
84498 ac_has_langinfo_h=no
84499 fi
84500
84501
84502
84503 # Check for existence of libiconv.a providing XPG2 wchar_t support.
84504 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
84505 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
84506 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
84507 echo $ECHO_N "(cached) $ECHO_C" >&6
84508 else
84509 ac_check_lib_save_LIBS=$LIBS
84510 LIBS="-liconv $LIBS"
84511 if test x$gcc_no_link = xyes; then
84512 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84513 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84514 { (exit 1); exit 1; }; }
84515 fi
84516 cat >conftest.$ac_ext <<_ACEOF
84517 /* confdefs.h. */
84518 _ACEOF
84519 cat confdefs.h >>conftest.$ac_ext
84520 cat >>conftest.$ac_ext <<_ACEOF
84521 /* end confdefs.h. */
84522
84523 /* Override any gcc2 internal prototype to avoid an error. */
84524 #ifdef __cplusplus
84525 extern "C"
84526 #endif
84527 /* We use char because int might match the return type of a gcc2
84528 builtin and then its argument prototype would still apply. */
84529 char iconv ();
84530 int
84531 main ()
84532 {
84533 iconv ();
84534 ;
84535 return 0;
84536 }
84537 _ACEOF
84538 rm -f conftest.$ac_objext conftest$ac_exeext
84539 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84540 (eval $ac_link) 2>conftest.er1
84541 ac_status=$?
84542 grep -v '^ *+' conftest.er1 >conftest.err
84543 rm -f conftest.er1
84544 cat conftest.err >&5
84545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84546 (exit $ac_status); } &&
84547 { ac_try='test -z "$ac_c_werror_flag"
84548 || test ! -s conftest.err'
84549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84550 (eval $ac_try) 2>&5
84551 ac_status=$?
84552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84553 (exit $ac_status); }; } &&
84554 { ac_try='test -s conftest$ac_exeext'
84555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84556 (eval $ac_try) 2>&5
84557 ac_status=$?
84558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84559 (exit $ac_status); }; }; then
84560 ac_cv_lib_iconv_iconv=yes
84561 else
84562 echo "$as_me: failed program was:" >&5
84563 sed 's/^/| /' conftest.$ac_ext >&5
84564
84565 ac_cv_lib_iconv_iconv=no
84566 fi
84567 rm -f conftest.err conftest.$ac_objext \
84568 conftest$ac_exeext conftest.$ac_ext
84569 LIBS=$ac_check_lib_save_LIBS
84570 fi
84571 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
84572 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
84573 if test $ac_cv_lib_iconv_iconv = yes; then
84574 LIBICONV="-liconv"
84575 fi
84576
84577 ac_save_LIBS="$LIBS"
84578 LIBS="$LIBS $LIBICONV"
84579
84580
84581
84582
84583
84584
84585 for ac_func in iconv_open iconv_close iconv nl_langinfo
84586 do
84587 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
84588 echo "$as_me:$LINENO: checking for $ac_func" >&5
84589 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
84590 if eval "test \"\${$as_ac_var+set}\" = set"; then
84591 echo $ECHO_N "(cached) $ECHO_C" >&6
84592 else
84593 if test x$gcc_no_link = xyes; then
84594 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84595 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84596 { (exit 1); exit 1; }; }
84597 fi
84598 cat >conftest.$ac_ext <<_ACEOF
84599 /* confdefs.h. */
84600 _ACEOF
84601 cat confdefs.h >>conftest.$ac_ext
84602 cat >>conftest.$ac_ext <<_ACEOF
84603 /* end confdefs.h. */
84604 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
84605 For example, HP-UX 11i <limits.h> declares gettimeofday. */
84606 #define $ac_func innocuous_$ac_func
84607
84608 /* System header to define __stub macros and hopefully few prototypes,
84609 which can conflict with char $ac_func (); below.
84610 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
84611 <limits.h> exists even on freestanding compilers. */
84612
84613 #ifdef __STDC__
84614 # include <limits.h>
84615 #else
84616 # include <assert.h>
84617 #endif
84618
84619 #undef $ac_func
84620
84621 /* Override any gcc2 internal prototype to avoid an error. */
84622 #ifdef __cplusplus
84623 extern "C"
84624 {
84625 #endif
84626 /* We use char because int might match the return type of a gcc2
84627 builtin and then its argument prototype would still apply. */
84628 char $ac_func ();
84629 /* The GNU C library defines this for functions which it implements
84630 to always fail with ENOSYS. Some functions are actually named
84631 something starting with __ and the normal name is an alias. */
84632 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
84633 choke me
84634 #else
84635 char (*f) () = $ac_func;
84636 #endif
84637 #ifdef __cplusplus
84638 }
84639 #endif
84640
84641 int
84642 main ()
84643 {
84644 return f != $ac_func;
84645 ;
84646 return 0;
84647 }
84648 _ACEOF
84649 rm -f conftest.$ac_objext conftest$ac_exeext
84650 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84651 (eval $ac_link) 2>conftest.er1
84652 ac_status=$?
84653 grep -v '^ *+' conftest.er1 >conftest.err
84654 rm -f conftest.er1
84655 cat conftest.err >&5
84656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84657 (exit $ac_status); } &&
84658 { ac_try='test -z "$ac_c_werror_flag"
84659 || test ! -s conftest.err'
84660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84661 (eval $ac_try) 2>&5
84662 ac_status=$?
84663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84664 (exit $ac_status); }; } &&
84665 { ac_try='test -s conftest$ac_exeext'
84666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84667 (eval $ac_try) 2>&5
84668 ac_status=$?
84669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84670 (exit $ac_status); }; }; then
84671 eval "$as_ac_var=yes"
84672 else
84673 echo "$as_me: failed program was:" >&5
84674 sed 's/^/| /' conftest.$ac_ext >&5
84675
84676 eval "$as_ac_var=no"
84677 fi
84678 rm -f conftest.err conftest.$ac_objext \
84679 conftest$ac_exeext conftest.$ac_ext
84680 fi
84681 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
84682 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
84683 if test `eval echo '${'$as_ac_var'}'` = yes; then
84684 cat >>confdefs.h <<_ACEOF
84685 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
84686 _ACEOF
84687 ac_XPG2funcs=yes
84688 else
84689 ac_XPG2funcs=no
84690 fi
84691 done
84692
84693
84694 LIBS="$ac_save_LIBS"
84695
84696 if test x"$ac_has_iconv_h" = xyes &&
84697 test x"$ac_has_langinfo_h" = xyes &&
84698 test x"$ac_XPG2funcs" = xyes;
84699 then
84700
84701 cat >>confdefs.h <<\_ACEOF
84702 #define _GLIBCXX_USE_ICONV 1
84703 _ACEOF
84704
84705 enable_iconv=yes
84706 fi
84707 fi
84708 echo "$as_me:$LINENO: checking for enabled iconv specializations" >&5
84709 echo $ECHO_N "checking for enabled iconv specializations... $ECHO_C" >&6
84710 echo "$as_me:$LINENO: result: $enable_iconv" >&5
84711 echo "${ECHO_T}$enable_iconv" >&6
84712
84713 cat >>confdefs.h <<\_ACEOF
84714 #define HAVE_COSF 1
84715 _ACEOF
84716
84717 cat >>confdefs.h <<\_ACEOF
84718 #define HAVE_COSL 1
84719 _ACEOF
84720
84721 cat >>confdefs.h <<\_ACEOF
84722 #define HAVE_COSHF 1
84723 _ACEOF
84724
84725 cat >>confdefs.h <<\_ACEOF
84726 #define HAVE_COSHL 1
84727 _ACEOF
84728
84729 cat >>confdefs.h <<\_ACEOF
84730 #define HAVE_LOGF 1
84731 _ACEOF
84732
84733 cat >>confdefs.h <<\_ACEOF
84734 #define HAVE_LOGL 1
84735 _ACEOF
84736
84737 cat >>confdefs.h <<\_ACEOF
84738 #define HAVE_LOG10F 1
84739 _ACEOF
84740
84741 cat >>confdefs.h <<\_ACEOF
84742 #define HAVE_LOG10L 1
84743 _ACEOF
84744
84745 cat >>confdefs.h <<\_ACEOF
84746 #define HAVE_SINF 1
84747 _ACEOF
84748
84749 cat >>confdefs.h <<\_ACEOF
84750 #define HAVE_SINL 1
84751 _ACEOF
84752
84753 cat >>confdefs.h <<\_ACEOF
84754 #define HAVE_SINHF 1
84755 _ACEOF
84756
84757 cat >>confdefs.h <<\_ACEOF
84758 #define HAVE_SINHL 1
84759 _ACEOF
84760
84761 ;;
84762 *-solaris*)
84763 case "$target" in
84764 # *-solaris2.5)
84765 # os_include_dir="os/solaris/solaris2.5"
84766 # ;;
84767 # *-solaris2.6)
84768 # os_include_dir="os/solaris/solaris2.6"
84769 # ;;
84770 *-solaris2.7 | *-solaris2.8 | *-solaris2.9 | *-solaris2.10)
84771 cat >>confdefs.h <<\_ACEOF
84772 #define HAVE_GETPAGESIZE 1
84773 _ACEOF
84774
84775 cat >>confdefs.h <<\_ACEOF
84776 #define HAVE_SIGSETJMP 1
84777 _ACEOF
84778
84779 cat >>confdefs.h <<\_ACEOF
84780 #define HAVE_MBSTATE_T 1
84781 _ACEOF
84782
84783 cat >>confdefs.h <<\_ACEOF
84784 #define HAVE_POLL 1
84785 _ACEOF
84786
84787 cat >>confdefs.h <<\_ACEOF
84788 #define HAVE_S_ISREG 1
84789 _ACEOF
84790
84791 cat >>confdefs.h <<\_ACEOF
84792 #define HAVE_LC_MESSAGES 1
84793 _ACEOF
84794
84795 cat >>confdefs.h <<\_ACEOF
84796 #define HAVE_FINITE 1
84797 _ACEOF
84798
84799 cat >>confdefs.h <<\_ACEOF
84800 #define HAVE_FPCLASS 1
84801 _ACEOF
84802
84803 cat >>confdefs.h <<\_ACEOF
84804 #define HAVE_GETPAGESIZE 1
84805 _ACEOF
84806
84807 cat >>confdefs.h <<\_ACEOF
84808 #define HAVE_NL_LANGINFO 1
84809 _ACEOF
84810
84811 cat >>confdefs.h <<\_ACEOF
84812 #define HAVE_ICONV 1
84813 _ACEOF
84814
84815 cat >>confdefs.h <<\_ACEOF
84816 #define HAVE_ICONV_CLOSE 1
84817 _ACEOF
84818
84819 cat >>confdefs.h <<\_ACEOF
84820 #define HAVE_ICONV_OPEN 1
84821 _ACEOF
84822
84823 # Look for the pieces required for wchar_t support in order to
84824 # get all the right HAVE_* macros defined.
84825
84826
84827 enable_iconv=no
84828 # Only continue checking if the ISO C99 headers exist and support is on.
84829 if test x"$enable_wchar_t" = xyes; then
84830
84831 # Use iconv for wchar_t to char conversions. As such, check for
84832 # X/Open Portability Guide, version 2 features (XPG2).
84833 if test "${ac_cv_header_iconv_h+set}" = set; then
84834 echo "$as_me:$LINENO: checking for iconv.h" >&5
84835 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
84836 if test "${ac_cv_header_iconv_h+set}" = set; then
84837 echo $ECHO_N "(cached) $ECHO_C" >&6
84838 fi
84839 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
84840 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
84841 else
84842 # Is the header compilable?
84843 echo "$as_me:$LINENO: checking iconv.h usability" >&5
84844 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
84845 cat >conftest.$ac_ext <<_ACEOF
84846 /* confdefs.h. */
84847 _ACEOF
84848 cat confdefs.h >>conftest.$ac_ext
84849 cat >>conftest.$ac_ext <<_ACEOF
84850 /* end confdefs.h. */
84851 $ac_includes_default
84852 #include <iconv.h>
84853 _ACEOF
84854 rm -f conftest.$ac_objext
84855 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
84856 (eval $ac_compile) 2>conftest.er1
84857 ac_status=$?
84858 grep -v '^ *+' conftest.er1 >conftest.err
84859 rm -f conftest.er1
84860 cat conftest.err >&5
84861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84862 (exit $ac_status); } &&
84863 { ac_try='test -z "$ac_c_werror_flag"
84864 || test ! -s conftest.err'
84865 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84866 (eval $ac_try) 2>&5
84867 ac_status=$?
84868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84869 (exit $ac_status); }; } &&
84870 { ac_try='test -s conftest.$ac_objext'
84871 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84872 (eval $ac_try) 2>&5
84873 ac_status=$?
84874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84875 (exit $ac_status); }; }; then
84876 ac_header_compiler=yes
84877 else
84878 echo "$as_me: failed program was:" >&5
84879 sed 's/^/| /' conftest.$ac_ext >&5
84880
84881 ac_header_compiler=no
84882 fi
84883 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
84884 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
84885 echo "${ECHO_T}$ac_header_compiler" >&6
84886
84887 # Is the header present?
84888 echo "$as_me:$LINENO: checking iconv.h presence" >&5
84889 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
84890 cat >conftest.$ac_ext <<_ACEOF
84891 /* confdefs.h. */
84892 _ACEOF
84893 cat confdefs.h >>conftest.$ac_ext
84894 cat >>conftest.$ac_ext <<_ACEOF
84895 /* end confdefs.h. */
84896 #include <iconv.h>
84897 _ACEOF
84898 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
84899 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
84900 ac_status=$?
84901 grep -v '^ *+' conftest.er1 >conftest.err
84902 rm -f conftest.er1
84903 cat conftest.err >&5
84904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84905 (exit $ac_status); } >/dev/null; then
84906 if test -s conftest.err; then
84907 ac_cpp_err=$ac_c_preproc_warn_flag
84908 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
84909 else
84910 ac_cpp_err=
84911 fi
84912 else
84913 ac_cpp_err=yes
84914 fi
84915 if test -z "$ac_cpp_err"; then
84916 ac_header_preproc=yes
84917 else
84918 echo "$as_me: failed program was:" >&5
84919 sed 's/^/| /' conftest.$ac_ext >&5
84920
84921 ac_header_preproc=no
84922 fi
84923 rm -f conftest.err conftest.$ac_ext
84924 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
84925 echo "${ECHO_T}$ac_header_preproc" >&6
84926
84927 # So? What about this header?
84928 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
84929 yes:no: )
84930 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
84931 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
84932 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
84933 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
84934 ac_header_preproc=yes
84935 ;;
84936 no:yes:* )
84937 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
84938 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
84939 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
84940 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
84941 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
84942 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
84943 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
84944 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
84945 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
84946 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
84947 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
84948 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
84949 (
84950 cat <<\_ASBOX
84951 ## ----------------------------------------- ##
84952 ## Report this to the package-unused lists. ##
84953 ## ----------------------------------------- ##
84954 _ASBOX
84955 ) |
84956 sed "s/^/$as_me: WARNING: /" >&2
84957 ;;
84958 esac
84959 echo "$as_me:$LINENO: checking for iconv.h" >&5
84960 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
84961 if test "${ac_cv_header_iconv_h+set}" = set; then
84962 echo $ECHO_N "(cached) $ECHO_C" >&6
84963 else
84964 ac_cv_header_iconv_h=$ac_header_preproc
84965 fi
84966 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
84967 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
84968
84969 fi
84970 if test $ac_cv_header_iconv_h = yes; then
84971 ac_has_iconv_h=yes
84972 else
84973 ac_has_iconv_h=no
84974 fi
84975
84976
84977 if test "${ac_cv_header_langinfo_h+set}" = set; then
84978 echo "$as_me:$LINENO: checking for langinfo.h" >&5
84979 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
84980 if test "${ac_cv_header_langinfo_h+set}" = set; then
84981 echo $ECHO_N "(cached) $ECHO_C" >&6
84982 fi
84983 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
84984 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
84985 else
84986 # Is the header compilable?
84987 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
84988 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
84989 cat >conftest.$ac_ext <<_ACEOF
84990 /* confdefs.h. */
84991 _ACEOF
84992 cat confdefs.h >>conftest.$ac_ext
84993 cat >>conftest.$ac_ext <<_ACEOF
84994 /* end confdefs.h. */
84995 $ac_includes_default
84996 #include <langinfo.h>
84997 _ACEOF
84998 rm -f conftest.$ac_objext
84999 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
85000 (eval $ac_compile) 2>conftest.er1
85001 ac_status=$?
85002 grep -v '^ *+' conftest.er1 >conftest.err
85003 rm -f conftest.er1
85004 cat conftest.err >&5
85005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85006 (exit $ac_status); } &&
85007 { ac_try='test -z "$ac_c_werror_flag"
85008 || test ! -s conftest.err'
85009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85010 (eval $ac_try) 2>&5
85011 ac_status=$?
85012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85013 (exit $ac_status); }; } &&
85014 { ac_try='test -s conftest.$ac_objext'
85015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85016 (eval $ac_try) 2>&5
85017 ac_status=$?
85018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85019 (exit $ac_status); }; }; then
85020 ac_header_compiler=yes
85021 else
85022 echo "$as_me: failed program was:" >&5
85023 sed 's/^/| /' conftest.$ac_ext >&5
85024
85025 ac_header_compiler=no
85026 fi
85027 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
85028 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
85029 echo "${ECHO_T}$ac_header_compiler" >&6
85030
85031 # Is the header present?
85032 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
85033 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
85034 cat >conftest.$ac_ext <<_ACEOF
85035 /* confdefs.h. */
85036 _ACEOF
85037 cat confdefs.h >>conftest.$ac_ext
85038 cat >>conftest.$ac_ext <<_ACEOF
85039 /* end confdefs.h. */
85040 #include <langinfo.h>
85041 _ACEOF
85042 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
85043 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
85044 ac_status=$?
85045 grep -v '^ *+' conftest.er1 >conftest.err
85046 rm -f conftest.er1
85047 cat conftest.err >&5
85048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85049 (exit $ac_status); } >/dev/null; then
85050 if test -s conftest.err; then
85051 ac_cpp_err=$ac_c_preproc_warn_flag
85052 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
85053 else
85054 ac_cpp_err=
85055 fi
85056 else
85057 ac_cpp_err=yes
85058 fi
85059 if test -z "$ac_cpp_err"; then
85060 ac_header_preproc=yes
85061 else
85062 echo "$as_me: failed program was:" >&5
85063 sed 's/^/| /' conftest.$ac_ext >&5
85064
85065 ac_header_preproc=no
85066 fi
85067 rm -f conftest.err conftest.$ac_ext
85068 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
85069 echo "${ECHO_T}$ac_header_preproc" >&6
85070
85071 # So? What about this header?
85072 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
85073 yes:no: )
85074 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
85075 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
85076 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
85077 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
85078 ac_header_preproc=yes
85079 ;;
85080 no:yes:* )
85081 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
85082 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
85083 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
85084 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
85085 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
85086 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
85087 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
85088 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
85089 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
85090 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
85091 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
85092 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
85093 (
85094 cat <<\_ASBOX
85095 ## ----------------------------------------- ##
85096 ## Report this to the package-unused lists. ##
85097 ## ----------------------------------------- ##
85098 _ASBOX
85099 ) |
85100 sed "s/^/$as_me: WARNING: /" >&2
85101 ;;
85102 esac
85103 echo "$as_me:$LINENO: checking for langinfo.h" >&5
85104 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
85105 if test "${ac_cv_header_langinfo_h+set}" = set; then
85106 echo $ECHO_N "(cached) $ECHO_C" >&6
85107 else
85108 ac_cv_header_langinfo_h=$ac_header_preproc
85109 fi
85110 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
85111 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
85112
85113 fi
85114 if test $ac_cv_header_langinfo_h = yes; then
85115 ac_has_langinfo_h=yes
85116 else
85117 ac_has_langinfo_h=no
85118 fi
85119
85120
85121
85122 # Check for existence of libiconv.a providing XPG2 wchar_t support.
85123 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
85124 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
85125 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
85126 echo $ECHO_N "(cached) $ECHO_C" >&6
85127 else
85128 ac_check_lib_save_LIBS=$LIBS
85129 LIBS="-liconv $LIBS"
85130 if test x$gcc_no_link = xyes; then
85131 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85132 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85133 { (exit 1); exit 1; }; }
85134 fi
85135 cat >conftest.$ac_ext <<_ACEOF
85136 /* confdefs.h. */
85137 _ACEOF
85138 cat confdefs.h >>conftest.$ac_ext
85139 cat >>conftest.$ac_ext <<_ACEOF
85140 /* end confdefs.h. */
85141
85142 /* Override any gcc2 internal prototype to avoid an error. */
85143 #ifdef __cplusplus
85144 extern "C"
85145 #endif
85146 /* We use char because int might match the return type of a gcc2
85147 builtin and then its argument prototype would still apply. */
85148 char iconv ();
85149 int
85150 main ()
85151 {
85152 iconv ();
85153 ;
85154 return 0;
85155 }
85156 _ACEOF
85157 rm -f conftest.$ac_objext conftest$ac_exeext
85158 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85159 (eval $ac_link) 2>conftest.er1
85160 ac_status=$?
85161 grep -v '^ *+' conftest.er1 >conftest.err
85162 rm -f conftest.er1
85163 cat conftest.err >&5
85164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85165 (exit $ac_status); } &&
85166 { ac_try='test -z "$ac_c_werror_flag"
85167 || test ! -s conftest.err'
85168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85169 (eval $ac_try) 2>&5
85170 ac_status=$?
85171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85172 (exit $ac_status); }; } &&
85173 { ac_try='test -s conftest$ac_exeext'
85174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85175 (eval $ac_try) 2>&5
85176 ac_status=$?
85177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85178 (exit $ac_status); }; }; then
85179 ac_cv_lib_iconv_iconv=yes
85180 else
85181 echo "$as_me: failed program was:" >&5
85182 sed 's/^/| /' conftest.$ac_ext >&5
85183
85184 ac_cv_lib_iconv_iconv=no
85185 fi
85186 rm -f conftest.err conftest.$ac_objext \
85187 conftest$ac_exeext conftest.$ac_ext
85188 LIBS=$ac_check_lib_save_LIBS
85189 fi
85190 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
85191 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
85192 if test $ac_cv_lib_iconv_iconv = yes; then
85193 LIBICONV="-liconv"
85194 fi
85195
85196 ac_save_LIBS="$LIBS"
85197 LIBS="$LIBS $LIBICONV"
85198
85199
85200
85201
85202
85203
85204 for ac_func in iconv_open iconv_close iconv nl_langinfo
85205 do
85206 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
85207 echo "$as_me:$LINENO: checking for $ac_func" >&5
85208 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
85209 if eval "test \"\${$as_ac_var+set}\" = set"; then
85210 echo $ECHO_N "(cached) $ECHO_C" >&6
85211 else
85212 if test x$gcc_no_link = xyes; then
85213 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85214 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85215 { (exit 1); exit 1; }; }
85216 fi
85217 cat >conftest.$ac_ext <<_ACEOF
85218 /* confdefs.h. */
85219 _ACEOF
85220 cat confdefs.h >>conftest.$ac_ext
85221 cat >>conftest.$ac_ext <<_ACEOF
85222 /* end confdefs.h. */
85223 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
85224 For example, HP-UX 11i <limits.h> declares gettimeofday. */
85225 #define $ac_func innocuous_$ac_func
85226
85227 /* System header to define __stub macros and hopefully few prototypes,
85228 which can conflict with char $ac_func (); below.
85229 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
85230 <limits.h> exists even on freestanding compilers. */
85231
85232 #ifdef __STDC__
85233 # include <limits.h>
85234 #else
85235 # include <assert.h>
85236 #endif
85237
85238 #undef $ac_func
85239
85240 /* Override any gcc2 internal prototype to avoid an error. */
85241 #ifdef __cplusplus
85242 extern "C"
85243 {
85244 #endif
85245 /* We use char because int might match the return type of a gcc2
85246 builtin and then its argument prototype would still apply. */
85247 char $ac_func ();
85248 /* The GNU C library defines this for functions which it implements
85249 to always fail with ENOSYS. Some functions are actually named
85250 something starting with __ and the normal name is an alias. */
85251 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
85252 choke me
85253 #else
85254 char (*f) () = $ac_func;
85255 #endif
85256 #ifdef __cplusplus
85257 }
85258 #endif
85259
85260 int
85261 main ()
85262 {
85263 return f != $ac_func;
85264 ;
85265 return 0;
85266 }
85267 _ACEOF
85268 rm -f conftest.$ac_objext conftest$ac_exeext
85269 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85270 (eval $ac_link) 2>conftest.er1
85271 ac_status=$?
85272 grep -v '^ *+' conftest.er1 >conftest.err
85273 rm -f conftest.er1
85274 cat conftest.err >&5
85275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85276 (exit $ac_status); } &&
85277 { ac_try='test -z "$ac_c_werror_flag"
85278 || test ! -s conftest.err'
85279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85280 (eval $ac_try) 2>&5
85281 ac_status=$?
85282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85283 (exit $ac_status); }; } &&
85284 { ac_try='test -s conftest$ac_exeext'
85285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85286 (eval $ac_try) 2>&5
85287 ac_status=$?
85288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85289 (exit $ac_status); }; }; then
85290 eval "$as_ac_var=yes"
85291 else
85292 echo "$as_me: failed program was:" >&5
85293 sed 's/^/| /' conftest.$ac_ext >&5
85294
85295 eval "$as_ac_var=no"
85296 fi
85297 rm -f conftest.err conftest.$ac_objext \
85298 conftest$ac_exeext conftest.$ac_ext
85299 fi
85300 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
85301 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
85302 if test `eval echo '${'$as_ac_var'}'` = yes; then
85303 cat >>confdefs.h <<_ACEOF
85304 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
85305 _ACEOF
85306 ac_XPG2funcs=yes
85307 else
85308 ac_XPG2funcs=no
85309 fi
85310 done
85311
85312
85313 LIBS="$ac_save_LIBS"
85314
85315 if test x"$ac_has_iconv_h" = xyes &&
85316 test x"$ac_has_langinfo_h" = xyes &&
85317 test x"$ac_XPG2funcs" = xyes;
85318 then
85319
85320 cat >>confdefs.h <<\_ACEOF
85321 #define _GLIBCXX_USE_ICONV 1
85322 _ACEOF
85323
85324 enable_iconv=yes
85325 fi
85326 fi
85327 echo "$as_me:$LINENO: checking for enabled iconv specializations" >&5
85328 echo $ECHO_N "checking for enabled iconv specializations... $ECHO_C" >&6
85329 echo "$as_me:$LINENO: result: $enable_iconv" >&5
85330 echo "${ECHO_T}$enable_iconv" >&6
85331
85332 # All of the dependencies for wide character support are here, so
85333 # turn it on. This requires some syncronization with the
85334 # GLIBCXX_CHECK_ICONV_SUPPORT in acinclude.m4
85335 cat >>confdefs.h <<\_ACEOF
85336 #define _GLIBCXX_USE_WCHAR_T 1
85337 _ACEOF
85338
85339 # Are these tested for even when cross?
85340 cat >>confdefs.h <<\_ACEOF
85341 #define HAVE_FLOAT_H 1
85342 _ACEOF
85343
85344 cat >>confdefs.h <<\_ACEOF
85345 #define HAVE_IEEEFP_H 1
85346 _ACEOF
85347
85348 cat >>confdefs.h <<\_ACEOF
85349 #define HAVE_INTTYPES_H 1
85350 _ACEOF
85351
85352 cat >>confdefs.h <<\_ACEOF
85353 #define HAVE_LOCALE_H 1
85354 _ACEOF
85355
85356 cat >>confdefs.h <<\_ACEOF
85357 #define HAVE_NAN_H 1
85358 _ACEOF
85359
85360 cat >>confdefs.h <<\_ACEOF
85361 #define HAVE_SYS_FILIO_H 1
85362 _ACEOF
85363
85364 cat >>confdefs.h <<\_ACEOF
85365 #define HAVE_SYS_IOCTL_H 1
85366 _ACEOF
85367
85368 cat >>confdefs.h <<\_ACEOF
85369 #define HAVE_SYS_ISA_DEFS_H 1
85370 _ACEOF
85371
85372 cat >>confdefs.h <<\_ACEOF
85373 #define HAVE_SYS_RESOURCE_H 1
85374 _ACEOF
85375
85376 cat >>confdefs.h <<\_ACEOF
85377 #define HAVE_SYS_TIME_H 1
85378 _ACEOF
85379
85380 cat >>confdefs.h <<\_ACEOF
85381 #define HAVE_SYS_TYPES_H 1
85382 _ACEOF
85383
85384 cat >>confdefs.h <<\_ACEOF
85385 #define HAVE_UNISTD_H 1
85386 _ACEOF
85387
85388 cat >>confdefs.h <<\_ACEOF
85389 #define HAVE_WCHAR_H 1
85390 _ACEOF
85391
85392 cat >>confdefs.h <<\_ACEOF
85393 #define HAVE_WCTYPE_H 1
85394 _ACEOF
85395
85396 cat >>confdefs.h <<\_ACEOF
85397 #define HAVE_LIBM 1
85398 _ACEOF
85399
85400 ;;
85401 esac
85402 case "$target" in
85403 sparc*-*-solaris2.8 | sparc*-*-solaris2.9 | sparc*-*-solaris2.10)
85404 # I saw these on sparc-sun-solaris2.8, but not 2.6, and not on i386
85405 cat >>confdefs.h <<\_ACEOF
85406 #define HAVE___BUILTIN_ABS 1
85407 _ACEOF
85408
85409 cat >>confdefs.h <<\_ACEOF
85410 #define HAVE___BUILTIN_LABS 1
85411 _ACEOF
85412
85413 cat >>confdefs.h <<\_ACEOF
85414 #define HAVE___BUILTIN_FABS 1
85415 _ACEOF
85416
85417 cat >>confdefs.h <<\_ACEOF
85418 #define HAVE___BUILTIN_FABSF 1
85419 _ACEOF
85420
85421 cat >>confdefs.h <<\_ACEOF
85422 #define HAVE___BUILTIN_FABSL 1
85423 _ACEOF
85424
85425 cat >>confdefs.h <<\_ACEOF
85426 #define HAVE___BUILTIN_COS 1
85427 _ACEOF
85428
85429 cat >>confdefs.h <<\_ACEOF
85430 #define HAVE___BUILTIN_COSF 1
85431 _ACEOF
85432
85433 cat >>confdefs.h <<\_ACEOF
85434 #define HAVE___BUILTIN_SIN 1
85435 _ACEOF
85436
85437 cat >>confdefs.h <<\_ACEOF
85438 #define HAVE___BUILTIN_SINF 1
85439 _ACEOF
85440
85441 ;;
85442 esac
85443 case "$target" in
85444 *-*-solaris2.10)
85445 # These two C99 functions are present only in Solaris >= 10
85446 cat >>confdefs.h <<\_ACEOF
85447 #define HAVE_STRTOF 1
85448 _ACEOF
85449
85450 cat >>confdefs.h <<\_ACEOF
85451 #define HAVE_STRTOLD 1
85452 _ACEOF
85453
85454 ;;
85455 esac
85456 cat >>confdefs.h <<\_ACEOF
85457 #define HAVE_MMAP 1
85458 _ACEOF
85459
85460 cat >>confdefs.h <<\_ACEOF
85461 #define HAVE_COPYSIGN 1
85462 _ACEOF
85463
85464 cat >>confdefs.h <<\_ACEOF
85465 #define HAVE_ISNAN 1
85466 _ACEOF
85467
85468 cat >>confdefs.h <<\_ACEOF
85469 #define HAVE_ISNANF 1
85470 _ACEOF
85471
85472 cat >>confdefs.h <<\_ACEOF
85473 #define HAVE_MODFF 1
85474 _ACEOF
85475
85476 cat >>confdefs.h <<\_ACEOF
85477 #define HAVE_HYPOT 1
85478 _ACEOF
85479
85480 ;;
85481 *-tpf)
85482
85483
85484
85485
85486
85487
85488
85489
85490 for ac_header in nan.h endian.h machine/endian.h \
85491 sys/param.h sys/types.h locale.h float.h inttypes.h
85492 do
85493 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
85494 if eval "test \"\${$as_ac_Header+set}\" = set"; then
85495 echo "$as_me:$LINENO: checking for $ac_header" >&5
85496 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
85497 if eval "test \"\${$as_ac_Header+set}\" = set"; then
85498 echo $ECHO_N "(cached) $ECHO_C" >&6
85499 fi
85500 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
85501 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
85502 else
85503 # Is the header compilable?
85504 echo "$as_me:$LINENO: checking $ac_header usability" >&5
85505 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
85506 cat >conftest.$ac_ext <<_ACEOF
85507 /* confdefs.h. */
85508 _ACEOF
85509 cat confdefs.h >>conftest.$ac_ext
85510 cat >>conftest.$ac_ext <<_ACEOF
85511 /* end confdefs.h. */
85512 $ac_includes_default
85513 #include <$ac_header>
85514 _ACEOF
85515 rm -f conftest.$ac_objext
85516 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
85517 (eval $ac_compile) 2>conftest.er1
85518 ac_status=$?
85519 grep -v '^ *+' conftest.er1 >conftest.err
85520 rm -f conftest.er1
85521 cat conftest.err >&5
85522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85523 (exit $ac_status); } &&
85524 { ac_try='test -z "$ac_c_werror_flag"
85525 || test ! -s conftest.err'
85526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85527 (eval $ac_try) 2>&5
85528 ac_status=$?
85529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85530 (exit $ac_status); }; } &&
85531 { ac_try='test -s conftest.$ac_objext'
85532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85533 (eval $ac_try) 2>&5
85534 ac_status=$?
85535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85536 (exit $ac_status); }; }; then
85537 ac_header_compiler=yes
85538 else
85539 echo "$as_me: failed program was:" >&5
85540 sed 's/^/| /' conftest.$ac_ext >&5
85541
85542 ac_header_compiler=no
85543 fi
85544 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
85545 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
85546 echo "${ECHO_T}$ac_header_compiler" >&6
85547
85548 # Is the header present?
85549 echo "$as_me:$LINENO: checking $ac_header presence" >&5
85550 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
85551 cat >conftest.$ac_ext <<_ACEOF
85552 /* confdefs.h. */
85553 _ACEOF
85554 cat confdefs.h >>conftest.$ac_ext
85555 cat >>conftest.$ac_ext <<_ACEOF
85556 /* end confdefs.h. */
85557 #include <$ac_header>
85558 _ACEOF
85559 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
85560 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
85561 ac_status=$?
85562 grep -v '^ *+' conftest.er1 >conftest.err
85563 rm -f conftest.er1
85564 cat conftest.err >&5
85565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85566 (exit $ac_status); } >/dev/null; then
85567 if test -s conftest.err; then
85568 ac_cpp_err=$ac_c_preproc_warn_flag
85569 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
85570 else
85571 ac_cpp_err=
85572 fi
85573 else
85574 ac_cpp_err=yes
85575 fi
85576 if test -z "$ac_cpp_err"; then
85577 ac_header_preproc=yes
85578 else
85579 echo "$as_me: failed program was:" >&5
85580 sed 's/^/| /' conftest.$ac_ext >&5
85581
85582 ac_header_preproc=no
85583 fi
85584 rm -f conftest.err conftest.$ac_ext
85585 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
85586 echo "${ECHO_T}$ac_header_preproc" >&6
85587
85588 # So? What about this header?
85589 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
85590 yes:no: )
85591 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
85592 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
85593 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
85594 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
85595 ac_header_preproc=yes
85596 ;;
85597 no:yes:* )
85598 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
85599 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
85600 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
85601 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
85602 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
85603 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
85604 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
85605 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
85606 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
85607 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
85608 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
85609 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
85610 (
85611 cat <<\_ASBOX
85612 ## ----------------------------------------- ##
85613 ## Report this to the package-unused lists. ##
85614 ## ----------------------------------------- ##
85615 _ASBOX
85616 ) |
85617 sed "s/^/$as_me: WARNING: /" >&2
85618 ;;
85619 esac
85620 echo "$as_me:$LINENO: checking for $ac_header" >&5
85621 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
85622 if eval "test \"\${$as_ac_Header+set}\" = set"; then
85623 echo $ECHO_N "(cached) $ECHO_C" >&6
85624 else
85625 eval "$as_ac_Header=\$ac_header_preproc"
85626 fi
85627 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
85628 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
85629
85630 fi
85631 if test `eval echo '${'$as_ac_Header'}'` = yes; then
85632 cat >>confdefs.h <<_ACEOF
85633 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
85634 _ACEOF
85635
85636 fi
85637
85638 done
85639
85640 SECTION_FLAGS='-ffunction-sections -fdata-sections'
85641
85642
85643 # If we're not using GNU ld, then there's no point in even trying these
85644 # tests. Check for that first. We should have already tested for gld
85645 # by now (in libtool), but require it now just to be safe...
85646 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
85647 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
85648
85649
85650
85651 # The name set by libtool depends on the version of libtool. Shame on us
85652 # for depending on an impl detail, but c'est la vie. Older versions used
85653 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
85654 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
85655 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
85656 # set (hence we're using an older libtool), then set it.
85657 if test x${with_gnu_ld+set} != xset; then
85658 if test x${ac_cv_prog_gnu_ld+set} != xset; then
85659 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
85660 with_gnu_ld=no
85661 else
85662 with_gnu_ld=$ac_cv_prog_gnu_ld
85663 fi
85664 fi
85665
85666 # Start by getting the version number. I think the libtool test already
85667 # does some of this, but throws away the result.
85668
85669 ldver=`$LD --version 2>/dev/null | head -1 | \
85670 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
85671
85672 glibcxx_gnu_ld_version=`echo $ldver | \
85673 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
85674
85675 # Set --gc-sections.
85676 if test "$with_gnu_ld" = "notbroken"; then
85677 # GNU ld it is! Joy and bunny rabbits!
85678
85679 # All these tests are for C++; save the language and the compiler flags.
85680 # Need to do this so that g++ won't try to link in libstdc++
85681 ac_test_CFLAGS="${CFLAGS+set}"
85682 ac_save_CFLAGS="$CFLAGS"
85683 CFLAGS='-x c++ -Wl,--gc-sections'
85684
85685 # Check for -Wl,--gc-sections
85686 # XXX This test is broken at the moment, as symbols required for linking
85687 # are now in libsupc++ (not built yet). In addition, this test has
85688 # cored on solaris in the past. In addition, --gc-sections doesn't
85689 # really work at the moment (keeps on discarding used sections, first
85690 # .eh_frame and now some of the glibc sections for iconv).
85691 # Bzzzzt. Thanks for playing, maybe next time.
85692 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
85693 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
85694 if test "$cross_compiling" = yes; then
85695 ac_sectionLDflags=yes
85696 else
85697 cat >conftest.$ac_ext <<_ACEOF
85698 /* confdefs.h. */
85699 _ACEOF
85700 cat confdefs.h >>conftest.$ac_ext
85701 cat >>conftest.$ac_ext <<_ACEOF
85702 /* end confdefs.h. */
85703
85704 int main(void)
85705 {
85706 try { throw 1; }
85707 catch (...) { };
85708 return 0;
85709 }
85710
85711 _ACEOF
85712 rm -f conftest$ac_exeext
85713 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85714 (eval $ac_link) 2>&5
85715 ac_status=$?
85716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85717 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
85718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85719 (eval $ac_try) 2>&5
85720 ac_status=$?
85721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85722 (exit $ac_status); }; }; then
85723 ac_sectionLDflags=yes
85724 else
85725 echo "$as_me: program exited with status $ac_status" >&5
85726 echo "$as_me: failed program was:" >&5
85727 sed 's/^/| /' conftest.$ac_ext >&5
85728
85729 ( exit $ac_status )
85730 ac_sectionLDflags=no
85731 fi
85732 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
85733 fi
85734 if test "$ac_test_CFLAGS" = set; then
85735 CFLAGS="$ac_save_CFLAGS"
85736 else
85737 # this is the suspicious part
85738 CFLAGS=''
85739 fi
85740 if test "$ac_sectionLDflags" = "yes"; then
85741 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
85742 fi
85743 echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
85744 echo "${ECHO_T}$ac_sectionLDflags" >&6
85745 fi
85746
85747 # Set linker optimization flags.
85748 if test x"$with_gnu_ld" = x"yes"; then
85749 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
85750 fi
85751
85752
85753
85754
85755
85756
85757 echo "$as_me:$LINENO: checking for main in -lm" >&5
85758 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
85759 if test "${ac_cv_lib_m_main+set}" = set; then
85760 echo $ECHO_N "(cached) $ECHO_C" >&6
85761 else
85762 ac_check_lib_save_LIBS=$LIBS
85763 LIBS="-lm $LIBS"
85764 if test x$gcc_no_link = xyes; then
85765 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85766 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85767 { (exit 1); exit 1; }; }
85768 fi
85769 cat >conftest.$ac_ext <<_ACEOF
85770 /* confdefs.h. */
85771 _ACEOF
85772 cat confdefs.h >>conftest.$ac_ext
85773 cat >>conftest.$ac_ext <<_ACEOF
85774 /* end confdefs.h. */
85775
85776
85777 int
85778 main ()
85779 {
85780 main ();
85781 ;
85782 return 0;
85783 }
85784 _ACEOF
85785 rm -f conftest.$ac_objext conftest$ac_exeext
85786 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85787 (eval $ac_link) 2>conftest.er1
85788 ac_status=$?
85789 grep -v '^ *+' conftest.er1 >conftest.err
85790 rm -f conftest.er1
85791 cat conftest.err >&5
85792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85793 (exit $ac_status); } &&
85794 { ac_try='test -z "$ac_c_werror_flag"
85795 || test ! -s conftest.err'
85796 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85797 (eval $ac_try) 2>&5
85798 ac_status=$?
85799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85800 (exit $ac_status); }; } &&
85801 { ac_try='test -s conftest$ac_exeext'
85802 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85803 (eval $ac_try) 2>&5
85804 ac_status=$?
85805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85806 (exit $ac_status); }; }; then
85807 ac_cv_lib_m_main=yes
85808 else
85809 echo "$as_me: failed program was:" >&5
85810 sed 's/^/| /' conftest.$ac_ext >&5
85811
85812 ac_cv_lib_m_main=no
85813 fi
85814 rm -f conftest.err conftest.$ac_objext \
85815 conftest$ac_exeext conftest.$ac_ext
85816 LIBS=$ac_check_lib_save_LIBS
85817 fi
85818 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
85819 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
85820 if test $ac_cv_lib_m_main = yes; then
85821 cat >>confdefs.h <<_ACEOF
85822 #define HAVE_LIBM 1
85823 _ACEOF
85824
85825 LIBS="-lm $LIBS"
85826
85827 fi
85828
85829
85830 for ac_func in copysignf
85831 do
85832 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
85833 echo "$as_me:$LINENO: checking for $ac_func" >&5
85834 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
85835 if eval "test \"\${$as_ac_var+set}\" = set"; then
85836 echo $ECHO_N "(cached) $ECHO_C" >&6
85837 else
85838 if test x$gcc_no_link = xyes; then
85839 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85840 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85841 { (exit 1); exit 1; }; }
85842 fi
85843 cat >conftest.$ac_ext <<_ACEOF
85844 /* confdefs.h. */
85845 _ACEOF
85846 cat confdefs.h >>conftest.$ac_ext
85847 cat >>conftest.$ac_ext <<_ACEOF
85848 /* end confdefs.h. */
85849 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
85850 For example, HP-UX 11i <limits.h> declares gettimeofday. */
85851 #define $ac_func innocuous_$ac_func
85852
85853 /* System header to define __stub macros and hopefully few prototypes,
85854 which can conflict with char $ac_func (); below.
85855 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
85856 <limits.h> exists even on freestanding compilers. */
85857
85858 #ifdef __STDC__
85859 # include <limits.h>
85860 #else
85861 # include <assert.h>
85862 #endif
85863
85864 #undef $ac_func
85865
85866 /* Override any gcc2 internal prototype to avoid an error. */
85867 #ifdef __cplusplus
85868 extern "C"
85869 {
85870 #endif
85871 /* We use char because int might match the return type of a gcc2
85872 builtin and then its argument prototype would still apply. */
85873 char $ac_func ();
85874 /* The GNU C library defines this for functions which it implements
85875 to always fail with ENOSYS. Some functions are actually named
85876 something starting with __ and the normal name is an alias. */
85877 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
85878 choke me
85879 #else
85880 char (*f) () = $ac_func;
85881 #endif
85882 #ifdef __cplusplus
85883 }
85884 #endif
85885
85886 int
85887 main ()
85888 {
85889 return f != $ac_func;
85890 ;
85891 return 0;
85892 }
85893 _ACEOF
85894 rm -f conftest.$ac_objext conftest$ac_exeext
85895 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85896 (eval $ac_link) 2>conftest.er1
85897 ac_status=$?
85898 grep -v '^ *+' conftest.er1 >conftest.err
85899 rm -f conftest.er1
85900 cat conftest.err >&5
85901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85902 (exit $ac_status); } &&
85903 { ac_try='test -z "$ac_c_werror_flag"
85904 || test ! -s conftest.err'
85905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85906 (eval $ac_try) 2>&5
85907 ac_status=$?
85908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85909 (exit $ac_status); }; } &&
85910 { ac_try='test -s conftest$ac_exeext'
85911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85912 (eval $ac_try) 2>&5
85913 ac_status=$?
85914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85915 (exit $ac_status); }; }; then
85916 eval "$as_ac_var=yes"
85917 else
85918 echo "$as_me: failed program was:" >&5
85919 sed 's/^/| /' conftest.$ac_ext >&5
85920
85921 eval "$as_ac_var=no"
85922 fi
85923 rm -f conftest.err conftest.$ac_objext \
85924 conftest$ac_exeext conftest.$ac_ext
85925 fi
85926 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
85927 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
85928 if test `eval echo '${'$as_ac_var'}'` = yes; then
85929 cat >>confdefs.h <<_ACEOF
85930 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
85931 _ACEOF
85932
85933 else
85934 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
85935 fi
85936 done
85937
85938
85939
85940 for ac_func in __signbit
85941 do
85942 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
85943 echo "$as_me:$LINENO: checking for $ac_func" >&5
85944 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
85945 if eval "test \"\${$as_ac_var+set}\" = set"; then
85946 echo $ECHO_N "(cached) $ECHO_C" >&6
85947 else
85948 if test x$gcc_no_link = xyes; then
85949 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85950 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85951 { (exit 1); exit 1; }; }
85952 fi
85953 cat >conftest.$ac_ext <<_ACEOF
85954 /* confdefs.h. */
85955 _ACEOF
85956 cat confdefs.h >>conftest.$ac_ext
85957 cat >>conftest.$ac_ext <<_ACEOF
85958 /* end confdefs.h. */
85959 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
85960 For example, HP-UX 11i <limits.h> declares gettimeofday. */
85961 #define $ac_func innocuous_$ac_func
85962
85963 /* System header to define __stub macros and hopefully few prototypes,
85964 which can conflict with char $ac_func (); below.
85965 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
85966 <limits.h> exists even on freestanding compilers. */
85967
85968 #ifdef __STDC__
85969 # include <limits.h>
85970 #else
85971 # include <assert.h>
85972 #endif
85973
85974 #undef $ac_func
85975
85976 /* Override any gcc2 internal prototype to avoid an error. */
85977 #ifdef __cplusplus
85978 extern "C"
85979 {
85980 #endif
85981 /* We use char because int might match the return type of a gcc2
85982 builtin and then its argument prototype would still apply. */
85983 char $ac_func ();
85984 /* The GNU C library defines this for functions which it implements
85985 to always fail with ENOSYS. Some functions are actually named
85986 something starting with __ and the normal name is an alias. */
85987 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
85988 choke me
85989 #else
85990 char (*f) () = $ac_func;
85991 #endif
85992 #ifdef __cplusplus
85993 }
85994 #endif
85995
85996 int
85997 main ()
85998 {
85999 return f != $ac_func;
86000 ;
86001 return 0;
86002 }
86003 _ACEOF
86004 rm -f conftest.$ac_objext conftest$ac_exeext
86005 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86006 (eval $ac_link) 2>conftest.er1
86007 ac_status=$?
86008 grep -v '^ *+' conftest.er1 >conftest.err
86009 rm -f conftest.er1
86010 cat conftest.err >&5
86011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86012 (exit $ac_status); } &&
86013 { ac_try='test -z "$ac_c_werror_flag"
86014 || test ! -s conftest.err'
86015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86016 (eval $ac_try) 2>&5
86017 ac_status=$?
86018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86019 (exit $ac_status); }; } &&
86020 { ac_try='test -s conftest$ac_exeext'
86021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86022 (eval $ac_try) 2>&5
86023 ac_status=$?
86024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86025 (exit $ac_status); }; }; then
86026 eval "$as_ac_var=yes"
86027 else
86028 echo "$as_me: failed program was:" >&5
86029 sed 's/^/| /' conftest.$ac_ext >&5
86030
86031 eval "$as_ac_var=no"
86032 fi
86033 rm -f conftest.err conftest.$ac_objext \
86034 conftest$ac_exeext conftest.$ac_ext
86035 fi
86036 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
86037 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
86038 if test `eval echo '${'$as_ac_var'}'` = yes; then
86039 cat >>confdefs.h <<_ACEOF
86040 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
86041 _ACEOF
86042
86043 else
86044 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
86045 fi
86046 done
86047
86048
86049
86050 for ac_func in __signbitf
86051 do
86052 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
86053 echo "$as_me:$LINENO: checking for $ac_func" >&5
86054 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
86055 if eval "test \"\${$as_ac_var+set}\" = set"; then
86056 echo $ECHO_N "(cached) $ECHO_C" >&6
86057 else
86058 if test x$gcc_no_link = xyes; then
86059 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86060 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86061 { (exit 1); exit 1; }; }
86062 fi
86063 cat >conftest.$ac_ext <<_ACEOF
86064 /* confdefs.h. */
86065 _ACEOF
86066 cat confdefs.h >>conftest.$ac_ext
86067 cat >>conftest.$ac_ext <<_ACEOF
86068 /* end confdefs.h. */
86069 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
86070 For example, HP-UX 11i <limits.h> declares gettimeofday. */
86071 #define $ac_func innocuous_$ac_func
86072
86073 /* System header to define __stub macros and hopefully few prototypes,
86074 which can conflict with char $ac_func (); below.
86075 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
86076 <limits.h> exists even on freestanding compilers. */
86077
86078 #ifdef __STDC__
86079 # include <limits.h>
86080 #else
86081 # include <assert.h>
86082 #endif
86083
86084 #undef $ac_func
86085
86086 /* Override any gcc2 internal prototype to avoid an error. */
86087 #ifdef __cplusplus
86088 extern "C"
86089 {
86090 #endif
86091 /* We use char because int might match the return type of a gcc2
86092 builtin and then its argument prototype would still apply. */
86093 char $ac_func ();
86094 /* The GNU C library defines this for functions which it implements
86095 to always fail with ENOSYS. Some functions are actually named
86096 something starting with __ and the normal name is an alias. */
86097 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
86098 choke me
86099 #else
86100 char (*f) () = $ac_func;
86101 #endif
86102 #ifdef __cplusplus
86103 }
86104 #endif
86105
86106 int
86107 main ()
86108 {
86109 return f != $ac_func;
86110 ;
86111 return 0;
86112 }
86113 _ACEOF
86114 rm -f conftest.$ac_objext conftest$ac_exeext
86115 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86116 (eval $ac_link) 2>conftest.er1
86117 ac_status=$?
86118 grep -v '^ *+' conftest.er1 >conftest.err
86119 rm -f conftest.er1
86120 cat conftest.err >&5
86121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86122 (exit $ac_status); } &&
86123 { ac_try='test -z "$ac_c_werror_flag"
86124 || test ! -s conftest.err'
86125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86126 (eval $ac_try) 2>&5
86127 ac_status=$?
86128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86129 (exit $ac_status); }; } &&
86130 { ac_try='test -s conftest$ac_exeext'
86131 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86132 (eval $ac_try) 2>&5
86133 ac_status=$?
86134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86135 (exit $ac_status); }; }; then
86136 eval "$as_ac_var=yes"
86137 else
86138 echo "$as_me: failed program was:" >&5
86139 sed 's/^/| /' conftest.$ac_ext >&5
86140
86141 eval "$as_ac_var=no"
86142 fi
86143 rm -f conftest.err conftest.$ac_objext \
86144 conftest$ac_exeext conftest.$ac_ext
86145 fi
86146 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
86147 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
86148 if test `eval echo '${'$as_ac_var'}'` = yes; then
86149 cat >>confdefs.h <<_ACEOF
86150 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
86151 _ACEOF
86152
86153 else
86154 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
86155 fi
86156 done
86157
86158
86159 if test x$ac_cv_func_copysignl = x"yes"; then
86160
86161 for ac_func in __signbitl
86162 do
86163 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
86164 echo "$as_me:$LINENO: checking for $ac_func" >&5
86165 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
86166 if eval "test \"\${$as_ac_var+set}\" = set"; then
86167 echo $ECHO_N "(cached) $ECHO_C" >&6
86168 else
86169 if test x$gcc_no_link = xyes; then
86170 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86171 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86172 { (exit 1); exit 1; }; }
86173 fi
86174 cat >conftest.$ac_ext <<_ACEOF
86175 /* confdefs.h. */
86176 _ACEOF
86177 cat confdefs.h >>conftest.$ac_ext
86178 cat >>conftest.$ac_ext <<_ACEOF
86179 /* end confdefs.h. */
86180 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
86181 For example, HP-UX 11i <limits.h> declares gettimeofday. */
86182 #define $ac_func innocuous_$ac_func
86183
86184 /* System header to define __stub macros and hopefully few prototypes,
86185 which can conflict with char $ac_func (); below.
86186 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
86187 <limits.h> exists even on freestanding compilers. */
86188
86189 #ifdef __STDC__
86190 # include <limits.h>
86191 #else
86192 # include <assert.h>
86193 #endif
86194
86195 #undef $ac_func
86196
86197 /* Override any gcc2 internal prototype to avoid an error. */
86198 #ifdef __cplusplus
86199 extern "C"
86200 {
86201 #endif
86202 /* We use char because int might match the return type of a gcc2
86203 builtin and then its argument prototype would still apply. */
86204 char $ac_func ();
86205 /* The GNU C library defines this for functions which it implements
86206 to always fail with ENOSYS. Some functions are actually named
86207 something starting with __ and the normal name is an alias. */
86208 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
86209 choke me
86210 #else
86211 char (*f) () = $ac_func;
86212 #endif
86213 #ifdef __cplusplus
86214 }
86215 #endif
86216
86217 int
86218 main ()
86219 {
86220 return f != $ac_func;
86221 ;
86222 return 0;
86223 }
86224 _ACEOF
86225 rm -f conftest.$ac_objext conftest$ac_exeext
86226 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86227 (eval $ac_link) 2>conftest.er1
86228 ac_status=$?
86229 grep -v '^ *+' conftest.er1 >conftest.err
86230 rm -f conftest.er1
86231 cat conftest.err >&5
86232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86233 (exit $ac_status); } &&
86234 { ac_try='test -z "$ac_c_werror_flag"
86235 || test ! -s conftest.err'
86236 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86237 (eval $ac_try) 2>&5
86238 ac_status=$?
86239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86240 (exit $ac_status); }; } &&
86241 { ac_try='test -s conftest$ac_exeext'
86242 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86243 (eval $ac_try) 2>&5
86244 ac_status=$?
86245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86246 (exit $ac_status); }; }; then
86247 eval "$as_ac_var=yes"
86248 else
86249 echo "$as_me: failed program was:" >&5
86250 sed 's/^/| /' conftest.$ac_ext >&5
86251
86252 eval "$as_ac_var=no"
86253 fi
86254 rm -f conftest.err conftest.$ac_objext \
86255 conftest$ac_exeext conftest.$ac_ext
86256 fi
86257 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
86258 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
86259 if test `eval echo '${'$as_ac_var'}'` = yes; then
86260 cat >>confdefs.h <<_ACEOF
86261 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
86262 _ACEOF
86263
86264 else
86265 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
86266 fi
86267 done
86268
86269 fi
86270
86271 # Used in libmath/Makefile.am.
86272 if test -n "$LIBMATHOBJS"; then
86273 need_libmath=yes
86274 fi
86275
86276
86277
86278
86279 enable_iconv=no
86280 # Only continue checking if the ISO C99 headers exist and support is on.
86281 if test x"$enable_wchar_t" = xyes; then
86282
86283 # Use iconv for wchar_t to char conversions. As such, check for
86284 # X/Open Portability Guide, version 2 features (XPG2).
86285 if test "${ac_cv_header_iconv_h+set}" = set; then
86286 echo "$as_me:$LINENO: checking for iconv.h" >&5
86287 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
86288 if test "${ac_cv_header_iconv_h+set}" = set; then
86289 echo $ECHO_N "(cached) $ECHO_C" >&6
86290 fi
86291 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
86292 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
86293 else
86294 # Is the header compilable?
86295 echo "$as_me:$LINENO: checking iconv.h usability" >&5
86296 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
86297 cat >conftest.$ac_ext <<_ACEOF
86298 /* confdefs.h. */
86299 _ACEOF
86300 cat confdefs.h >>conftest.$ac_ext
86301 cat >>conftest.$ac_ext <<_ACEOF
86302 /* end confdefs.h. */
86303 $ac_includes_default
86304 #include <iconv.h>
86305 _ACEOF
86306 rm -f conftest.$ac_objext
86307 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
86308 (eval $ac_compile) 2>conftest.er1
86309 ac_status=$?
86310 grep -v '^ *+' conftest.er1 >conftest.err
86311 rm -f conftest.er1
86312 cat conftest.err >&5
86313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86314 (exit $ac_status); } &&
86315 { ac_try='test -z "$ac_c_werror_flag"
86316 || test ! -s conftest.err'
86317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86318 (eval $ac_try) 2>&5
86319 ac_status=$?
86320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86321 (exit $ac_status); }; } &&
86322 { ac_try='test -s conftest.$ac_objext'
86323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86324 (eval $ac_try) 2>&5
86325 ac_status=$?
86326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86327 (exit $ac_status); }; }; then
86328 ac_header_compiler=yes
86329 else
86330 echo "$as_me: failed program was:" >&5
86331 sed 's/^/| /' conftest.$ac_ext >&5
86332
86333 ac_header_compiler=no
86334 fi
86335 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
86336 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
86337 echo "${ECHO_T}$ac_header_compiler" >&6
86338
86339 # Is the header present?
86340 echo "$as_me:$LINENO: checking iconv.h presence" >&5
86341 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
86342 cat >conftest.$ac_ext <<_ACEOF
86343 /* confdefs.h. */
86344 _ACEOF
86345 cat confdefs.h >>conftest.$ac_ext
86346 cat >>conftest.$ac_ext <<_ACEOF
86347 /* end confdefs.h. */
86348 #include <iconv.h>
86349 _ACEOF
86350 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
86351 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
86352 ac_status=$?
86353 grep -v '^ *+' conftest.er1 >conftest.err
86354 rm -f conftest.er1
86355 cat conftest.err >&5
86356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86357 (exit $ac_status); } >/dev/null; then
86358 if test -s conftest.err; then
86359 ac_cpp_err=$ac_c_preproc_warn_flag
86360 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
86361 else
86362 ac_cpp_err=
86363 fi
86364 else
86365 ac_cpp_err=yes
86366 fi
86367 if test -z "$ac_cpp_err"; then
86368 ac_header_preproc=yes
86369 else
86370 echo "$as_me: failed program was:" >&5
86371 sed 's/^/| /' conftest.$ac_ext >&5
86372
86373 ac_header_preproc=no
86374 fi
86375 rm -f conftest.err conftest.$ac_ext
86376 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
86377 echo "${ECHO_T}$ac_header_preproc" >&6
86378
86379 # So? What about this header?
86380 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
86381 yes:no: )
86382 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
86383 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
86384 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
86385 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
86386 ac_header_preproc=yes
86387 ;;
86388 no:yes:* )
86389 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
86390 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
86391 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
86392 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
86393 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
86394 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
86395 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
86396 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
86397 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
86398 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
86399 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
86400 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
86401 (
86402 cat <<\_ASBOX
86403 ## ----------------------------------------- ##
86404 ## Report this to the package-unused lists. ##
86405 ## ----------------------------------------- ##
86406 _ASBOX
86407 ) |
86408 sed "s/^/$as_me: WARNING: /" >&2
86409 ;;
86410 esac
86411 echo "$as_me:$LINENO: checking for iconv.h" >&5
86412 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
86413 if test "${ac_cv_header_iconv_h+set}" = set; then
86414 echo $ECHO_N "(cached) $ECHO_C" >&6
86415 else
86416 ac_cv_header_iconv_h=$ac_header_preproc
86417 fi
86418 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
86419 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
86420
86421 fi
86422 if test $ac_cv_header_iconv_h = yes; then
86423 ac_has_iconv_h=yes
86424 else
86425 ac_has_iconv_h=no
86426 fi
86427
86428
86429 if test "${ac_cv_header_langinfo_h+set}" = set; then
86430 echo "$as_me:$LINENO: checking for langinfo.h" >&5
86431 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
86432 if test "${ac_cv_header_langinfo_h+set}" = set; then
86433 echo $ECHO_N "(cached) $ECHO_C" >&6
86434 fi
86435 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
86436 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
86437 else
86438 # Is the header compilable?
86439 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
86440 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
86441 cat >conftest.$ac_ext <<_ACEOF
86442 /* confdefs.h. */
86443 _ACEOF
86444 cat confdefs.h >>conftest.$ac_ext
86445 cat >>conftest.$ac_ext <<_ACEOF
86446 /* end confdefs.h. */
86447 $ac_includes_default
86448 #include <langinfo.h>
86449 _ACEOF
86450 rm -f conftest.$ac_objext
86451 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
86452 (eval $ac_compile) 2>conftest.er1
86453 ac_status=$?
86454 grep -v '^ *+' conftest.er1 >conftest.err
86455 rm -f conftest.er1
86456 cat conftest.err >&5
86457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86458 (exit $ac_status); } &&
86459 { ac_try='test -z "$ac_c_werror_flag"
86460 || test ! -s conftest.err'
86461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86462 (eval $ac_try) 2>&5
86463 ac_status=$?
86464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86465 (exit $ac_status); }; } &&
86466 { ac_try='test -s conftest.$ac_objext'
86467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86468 (eval $ac_try) 2>&5
86469 ac_status=$?
86470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86471 (exit $ac_status); }; }; then
86472 ac_header_compiler=yes
86473 else
86474 echo "$as_me: failed program was:" >&5
86475 sed 's/^/| /' conftest.$ac_ext >&5
86476
86477 ac_header_compiler=no
86478 fi
86479 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
86480 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
86481 echo "${ECHO_T}$ac_header_compiler" >&6
86482
86483 # Is the header present?
86484 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
86485 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
86486 cat >conftest.$ac_ext <<_ACEOF
86487 /* confdefs.h. */
86488 _ACEOF
86489 cat confdefs.h >>conftest.$ac_ext
86490 cat >>conftest.$ac_ext <<_ACEOF
86491 /* end confdefs.h. */
86492 #include <langinfo.h>
86493 _ACEOF
86494 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
86495 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
86496 ac_status=$?
86497 grep -v '^ *+' conftest.er1 >conftest.err
86498 rm -f conftest.er1
86499 cat conftest.err >&5
86500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86501 (exit $ac_status); } >/dev/null; then
86502 if test -s conftest.err; then
86503 ac_cpp_err=$ac_c_preproc_warn_flag
86504 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
86505 else
86506 ac_cpp_err=
86507 fi
86508 else
86509 ac_cpp_err=yes
86510 fi
86511 if test -z "$ac_cpp_err"; then
86512 ac_header_preproc=yes
86513 else
86514 echo "$as_me: failed program was:" >&5
86515 sed 's/^/| /' conftest.$ac_ext >&5
86516
86517 ac_header_preproc=no
86518 fi
86519 rm -f conftest.err conftest.$ac_ext
86520 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
86521 echo "${ECHO_T}$ac_header_preproc" >&6
86522
86523 # So? What about this header?
86524 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
86525 yes:no: )
86526 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
86527 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
86528 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
86529 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
86530 ac_header_preproc=yes
86531 ;;
86532 no:yes:* )
86533 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
86534 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
86535 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
86536 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
86537 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
86538 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
86539 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
86540 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
86541 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
86542 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
86543 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
86544 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
86545 (
86546 cat <<\_ASBOX
86547 ## ----------------------------------------- ##
86548 ## Report this to the package-unused lists. ##
86549 ## ----------------------------------------- ##
86550 _ASBOX
86551 ) |
86552 sed "s/^/$as_me: WARNING: /" >&2
86553 ;;
86554 esac
86555 echo "$as_me:$LINENO: checking for langinfo.h" >&5
86556 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
86557 if test "${ac_cv_header_langinfo_h+set}" = set; then
86558 echo $ECHO_N "(cached) $ECHO_C" >&6
86559 else
86560 ac_cv_header_langinfo_h=$ac_header_preproc
86561 fi
86562 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
86563 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
86564
86565 fi
86566 if test $ac_cv_header_langinfo_h = yes; then
86567 ac_has_langinfo_h=yes
86568 else
86569 ac_has_langinfo_h=no
86570 fi
86571
86572
86573
86574 # Check for existence of libiconv.a providing XPG2 wchar_t support.
86575 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
86576 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
86577 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
86578 echo $ECHO_N "(cached) $ECHO_C" >&6
86579 else
86580 ac_check_lib_save_LIBS=$LIBS
86581 LIBS="-liconv $LIBS"
86582 if test x$gcc_no_link = xyes; then
86583 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86584 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86585 { (exit 1); exit 1; }; }
86586 fi
86587 cat >conftest.$ac_ext <<_ACEOF
86588 /* confdefs.h. */
86589 _ACEOF
86590 cat confdefs.h >>conftest.$ac_ext
86591 cat >>conftest.$ac_ext <<_ACEOF
86592 /* end confdefs.h. */
86593
86594 /* Override any gcc2 internal prototype to avoid an error. */
86595 #ifdef __cplusplus
86596 extern "C"
86597 #endif
86598 /* We use char because int might match the return type of a gcc2
86599 builtin and then its argument prototype would still apply. */
86600 char iconv ();
86601 int
86602 main ()
86603 {
86604 iconv ();
86605 ;
86606 return 0;
86607 }
86608 _ACEOF
86609 rm -f conftest.$ac_objext conftest$ac_exeext
86610 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86611 (eval $ac_link) 2>conftest.er1
86612 ac_status=$?
86613 grep -v '^ *+' conftest.er1 >conftest.err
86614 rm -f conftest.er1
86615 cat conftest.err >&5
86616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86617 (exit $ac_status); } &&
86618 { ac_try='test -z "$ac_c_werror_flag"
86619 || test ! -s conftest.err'
86620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86621 (eval $ac_try) 2>&5
86622 ac_status=$?
86623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86624 (exit $ac_status); }; } &&
86625 { ac_try='test -s conftest$ac_exeext'
86626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86627 (eval $ac_try) 2>&5
86628 ac_status=$?
86629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86630 (exit $ac_status); }; }; then
86631 ac_cv_lib_iconv_iconv=yes
86632 else
86633 echo "$as_me: failed program was:" >&5
86634 sed 's/^/| /' conftest.$ac_ext >&5
86635
86636 ac_cv_lib_iconv_iconv=no
86637 fi
86638 rm -f conftest.err conftest.$ac_objext \
86639 conftest$ac_exeext conftest.$ac_ext
86640 LIBS=$ac_check_lib_save_LIBS
86641 fi
86642 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
86643 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
86644 if test $ac_cv_lib_iconv_iconv = yes; then
86645 LIBICONV="-liconv"
86646 fi
86647
86648 ac_save_LIBS="$LIBS"
86649 LIBS="$LIBS $LIBICONV"
86650
86651
86652
86653
86654
86655
86656 for ac_func in iconv_open iconv_close iconv nl_langinfo
86657 do
86658 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
86659 echo "$as_me:$LINENO: checking for $ac_func" >&5
86660 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
86661 if eval "test \"\${$as_ac_var+set}\" = set"; then
86662 echo $ECHO_N "(cached) $ECHO_C" >&6
86663 else
86664 if test x$gcc_no_link = xyes; then
86665 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86666 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86667 { (exit 1); exit 1; }; }
86668 fi
86669 cat >conftest.$ac_ext <<_ACEOF
86670 /* confdefs.h. */
86671 _ACEOF
86672 cat confdefs.h >>conftest.$ac_ext
86673 cat >>conftest.$ac_ext <<_ACEOF
86674 /* end confdefs.h. */
86675 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
86676 For example, HP-UX 11i <limits.h> declares gettimeofday. */
86677 #define $ac_func innocuous_$ac_func
86678
86679 /* System header to define __stub macros and hopefully few prototypes,
86680 which can conflict with char $ac_func (); below.
86681 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
86682 <limits.h> exists even on freestanding compilers. */
86683
86684 #ifdef __STDC__
86685 # include <limits.h>
86686 #else
86687 # include <assert.h>
86688 #endif
86689
86690 #undef $ac_func
86691
86692 /* Override any gcc2 internal prototype to avoid an error. */
86693 #ifdef __cplusplus
86694 extern "C"
86695 {
86696 #endif
86697 /* We use char because int might match the return type of a gcc2
86698 builtin and then its argument prototype would still apply. */
86699 char $ac_func ();
86700 /* The GNU C library defines this for functions which it implements
86701 to always fail with ENOSYS. Some functions are actually named
86702 something starting with __ and the normal name is an alias. */
86703 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
86704 choke me
86705 #else
86706 char (*f) () = $ac_func;
86707 #endif
86708 #ifdef __cplusplus
86709 }
86710 #endif
86711
86712 int
86713 main ()
86714 {
86715 return f != $ac_func;
86716 ;
86717 return 0;
86718 }
86719 _ACEOF
86720 rm -f conftest.$ac_objext conftest$ac_exeext
86721 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86722 (eval $ac_link) 2>conftest.er1
86723 ac_status=$?
86724 grep -v '^ *+' conftest.er1 >conftest.err
86725 rm -f conftest.er1
86726 cat conftest.err >&5
86727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86728 (exit $ac_status); } &&
86729 { ac_try='test -z "$ac_c_werror_flag"
86730 || test ! -s conftest.err'
86731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86732 (eval $ac_try) 2>&5
86733 ac_status=$?
86734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86735 (exit $ac_status); }; } &&
86736 { ac_try='test -s conftest$ac_exeext'
86737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86738 (eval $ac_try) 2>&5
86739 ac_status=$?
86740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86741 (exit $ac_status); }; }; then
86742 eval "$as_ac_var=yes"
86743 else
86744 echo "$as_me: failed program was:" >&5
86745 sed 's/^/| /' conftest.$ac_ext >&5
86746
86747 eval "$as_ac_var=no"
86748 fi
86749 rm -f conftest.err conftest.$ac_objext \
86750 conftest$ac_exeext conftest.$ac_ext
86751 fi
86752 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
86753 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
86754 if test `eval echo '${'$as_ac_var'}'` = yes; then
86755 cat >>confdefs.h <<_ACEOF
86756 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
86757 _ACEOF
86758 ac_XPG2funcs=yes
86759 else
86760 ac_XPG2funcs=no
86761 fi
86762 done
86763
86764
86765 LIBS="$ac_save_LIBS"
86766
86767 if test x"$ac_has_iconv_h" = xyes &&
86768 test x"$ac_has_langinfo_h" = xyes &&
86769 test x"$ac_XPG2funcs" = xyes;
86770 then
86771
86772 cat >>confdefs.h <<\_ACEOF
86773 #define _GLIBCXX_USE_ICONV 1
86774 _ACEOF
86775
86776 enable_iconv=yes
86777 fi
86778 fi
86779 echo "$as_me:$LINENO: checking for enabled iconv specializations" >&5
86780 echo $ECHO_N "checking for enabled iconv specializations... $ECHO_C" >&6
86781 echo "$as_me:$LINENO: result: $enable_iconv" >&5
86782 echo "${ECHO_T}$enable_iconv" >&6
86783
86784 cat >>confdefs.h <<\_ACEOF
86785 #define HAVE_COPYSIGN 1
86786 _ACEOF
86787
86788 cat >>confdefs.h <<\_ACEOF
86789 #define HAVE_COPYSIGNF 1
86790 _ACEOF
86791
86792 cat >>confdefs.h <<\_ACEOF
86793 #define HAVE_FINITE 1
86794 _ACEOF
86795
86796 cat >>confdefs.h <<\_ACEOF
86797 #define HAVE_FINITEF 1
86798 _ACEOF
86799
86800 cat >>confdefs.h <<\_ACEOF
86801 #define HAVE_FREXPF 1
86802 _ACEOF
86803
86804 cat >>confdefs.h <<\_ACEOF
86805 #define HAVE_HYPOTF 1
86806 _ACEOF
86807
86808 cat >>confdefs.h <<\_ACEOF
86809 #define HAVE_ISINF 1
86810 _ACEOF
86811
86812 cat >>confdefs.h <<\_ACEOF
86813 #define HAVE_ISINFF 1
86814 _ACEOF
86815
86816 cat >>confdefs.h <<\_ACEOF
86817 #define HAVE_ISNAN 1
86818 _ACEOF
86819
86820 cat >>confdefs.h <<\_ACEOF
86821 #define HAVE_ISNANF 1
86822 _ACEOF
86823
86824 cat >>confdefs.h <<\_ACEOF
86825 #define HAVE_SINCOS 1
86826 _ACEOF
86827
86828 cat >>confdefs.h <<\_ACEOF
86829 #define HAVE_SINCOSF 1
86830 _ACEOF
86831
86832 if test x"long_double_math_on_this_cpu" = x"yes"; then
86833 cat >>confdefs.h <<\_ACEOF
86834 #define HAVE_FINITEL 1
86835 _ACEOF
86836
86837 cat >>confdefs.h <<\_ACEOF
86838 #define HAVE_HYPOTL 1
86839 _ACEOF
86840
86841 cat >>confdefs.h <<\_ACEOF
86842 #define HAVE_ISINFL 1
86843 _ACEOF
86844
86845 cat >>confdefs.h <<\_ACEOF
86846 #define HAVE_ISNANL 1
86847 _ACEOF
86848
86849 fi
86850 ;;
86851 *-vxworks)
86852 cat >>confdefs.h <<\_ACEOF
86853 #define HAVE_MMAP 1
86854 _ACEOF
86855
86856 cat >>confdefs.h <<\_ACEOF
86857 #define HAVE_ACOSF 1
86858 _ACEOF
86859
86860 cat >>confdefs.h <<\_ACEOF
86861 #define HAVE_ASINF 1
86862 _ACEOF
86863
86864 cat >>confdefs.h <<\_ACEOF
86865 #define HAVE_ATAN2F 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_CEILF 1
86874 _ACEOF
86875
86876 cat >>confdefs.h <<\_ACEOF
86877 #define HAVE_COSF 1
86878 _ACEOF
86879
86880 cat >>confdefs.h <<\_ACEOF
86881 #define HAVE_COSHF 1
86882 _ACEOF
86883
86884 cat >>confdefs.h <<\_ACEOF
86885 #define HAVE_EXPF 1
86886 _ACEOF
86887
86888 cat >>confdefs.h <<\_ACEOF
86889 #define HAVE_FABSF 1
86890 _ACEOF
86891
86892 cat >>confdefs.h <<\_ACEOF
86893 #define HAVE_FLOORF 1
86894 _ACEOF
86895
86896 cat >>confdefs.h <<\_ACEOF
86897 #define HAVE_FMODF 1
86898 _ACEOF
86899
86900 cat >>confdefs.h <<\_ACEOF
86901 #define HAVE_HYPOT 1
86902 _ACEOF
86903
86904 cat >>confdefs.h <<\_ACEOF
86905 #define HAVE_LOG10F 1
86906 _ACEOF
86907
86908 cat >>confdefs.h <<\_ACEOF
86909 #define HAVE_LOGF 1
86910 _ACEOF
86911
86912 cat >>confdefs.h <<\_ACEOF
86913 #define HAVE_POWF 1
86914 _ACEOF
86915
86916 cat >>confdefs.h <<\_ACEOF
86917 #define HAVE_SINF 1
86918 _ACEOF
86919
86920 cat >>confdefs.h <<\_ACEOF
86921 #define HAVE_SINHF 1
86922 _ACEOF
86923
86924 cat >>confdefs.h <<\_ACEOF
86925 #define HAVE_SQRTF 1
86926 _ACEOF
86927
86928 cat >>confdefs.h <<\_ACEOF
86929 #define HAVE_TANF 1
86930 _ACEOF
86931
86932 cat >>confdefs.h <<\_ACEOF
86933 #define HAVE_TANHF 1
86934 _ACEOF
86935
86936 ;;
86937 *-windiss*)
86938 cat >>confdefs.h <<\_ACEOF
86939 #define HAVE_ACOSF 1
86940 _ACEOF
86941
86942 cat >>confdefs.h <<\_ACEOF
86943 #define HAVE_ACOSL 1
86944 _ACEOF
86945
86946 cat >>confdefs.h <<\_ACEOF
86947 #define HAVE_ASINF 1
86948 _ACEOF
86949
86950 cat >>confdefs.h <<\_ACEOF
86951 #define HAVE_ASINL 1
86952 _ACEOF
86953
86954 cat >>confdefs.h <<\_ACEOF
86955 #define HAVE_ATAN2F 1
86956 _ACEOF
86957
86958 cat >>confdefs.h <<\_ACEOF
86959 #define HAVE_ATAN2L 1
86960 _ACEOF
86961
86962 cat >>confdefs.h <<\_ACEOF
86963 #define HAVE_ATANF 1
86964 _ACEOF
86965
86966 cat >>confdefs.h <<\_ACEOF
86967 #define HAVE_ATANL 1
86968 _ACEOF
86969
86970 cat >>confdefs.h <<\_ACEOF
86971 #define HAVE_CEILF 1
86972 _ACEOF
86973
86974 cat >>confdefs.h <<\_ACEOF
86975 #define HAVE_CEILL 1
86976 _ACEOF
86977
86978 cat >>confdefs.h <<\_ACEOF
86979 #define HAVE_COPYSIGN 1
86980 _ACEOF
86981
86982 cat >>confdefs.h <<\_ACEOF
86983 #define HAVE_COPYSIGNF 1
86984 _ACEOF
86985
86986 cat >>confdefs.h <<\_ACEOF
86987 #define HAVE_COSF 1
86988 _ACEOF
86989
86990 cat >>confdefs.h <<\_ACEOF
86991 #define HAVE_COSL 1
86992 _ACEOF
86993
86994 cat >>confdefs.h <<\_ACEOF
86995 #define HAVE_COSHF 1
86996 _ACEOF
86997
86998 cat >>confdefs.h <<\_ACEOF
86999 #define HAVE_COSHL 1
87000 _ACEOF
87001
87002 cat >>confdefs.h <<\_ACEOF
87003 #define HAVE_EXPF 1
87004 _ACEOF
87005
87006 cat >>confdefs.h <<\_ACEOF
87007 #define HAVE_EXPL 1
87008 _ACEOF
87009
87010 cat >>confdefs.h <<\_ACEOF
87011 #define HAVE_FABSF 1
87012 _ACEOF
87013
87014 cat >>confdefs.h <<\_ACEOF
87015 #define HAVE_FABSL 1
87016 _ACEOF
87017
87018 cat >>confdefs.h <<\_ACEOF
87019 #define HAVE_FLOORF 1
87020 _ACEOF
87021
87022 cat >>confdefs.h <<\_ACEOF
87023 #define HAVE_FLOORL 1
87024 _ACEOF
87025
87026 cat >>confdefs.h <<\_ACEOF
87027 #define HAVE_FMODF 1
87028 _ACEOF
87029
87030 cat >>confdefs.h <<\_ACEOF
87031 #define HAVE_FMODL 1
87032 _ACEOF
87033
87034 cat >>confdefs.h <<\_ACEOF
87035 #define HAVE_FREXPF 1
87036 _ACEOF
87037
87038 cat >>confdefs.h <<\_ACEOF
87039 #define HAVE_FREXPL 1
87040 _ACEOF
87041
87042 cat >>confdefs.h <<\_ACEOF
87043 #define HAVE_LDEXPF 1
87044 _ACEOF
87045
87046 cat >>confdefs.h <<\_ACEOF
87047 #define HAVE_LDEXPL 1
87048 _ACEOF
87049
87050 cat >>confdefs.h <<\_ACEOF
87051 #define HAVE_LOG10F 1
87052 _ACEOF
87053
87054 cat >>confdefs.h <<\_ACEOF
87055 #define HAVE_LOG10L 1
87056 _ACEOF
87057
87058 cat >>confdefs.h <<\_ACEOF
87059 #define HAVE_LOGF 1
87060 _ACEOF
87061
87062 cat >>confdefs.h <<\_ACEOF
87063 #define HAVE_MODFF 1
87064 _ACEOF
87065
87066 cat >>confdefs.h <<\_ACEOF
87067 #define HAVE_MODFL 1
87068 _ACEOF
87069
87070 cat >>confdefs.h <<\_ACEOF
87071 #define HAVE_POWF 1
87072 _ACEOF
87073
87074 cat >>confdefs.h <<\_ACEOF
87075 #define HAVE_POWL 1
87076 _ACEOF
87077
87078 cat >>confdefs.h <<\_ACEOF
87079 #define HAVE_SINF 1
87080 _ACEOF
87081
87082 cat >>confdefs.h <<\_ACEOF
87083 #define HAVE_SINL 1
87084 _ACEOF
87085
87086 cat >>confdefs.h <<\_ACEOF
87087 #define HAVE_SINHF 1
87088 _ACEOF
87089
87090 cat >>confdefs.h <<\_ACEOF
87091 #define HAVE_SINHL 1
87092 _ACEOF
87093
87094 cat >>confdefs.h <<\_ACEOF
87095 #define HAVE_SQRTF 1
87096 _ACEOF
87097
87098 cat >>confdefs.h <<\_ACEOF
87099 #define HAVE_SQRTL 1
87100 _ACEOF
87101
87102 cat >>confdefs.h <<\_ACEOF
87103 #define HAVE_TANF 1
87104 _ACEOF
87105
87106 cat >>confdefs.h <<\_ACEOF
87107 #define HAVE_TANL 1
87108 _ACEOF
87109
87110 cat >>confdefs.h <<\_ACEOF
87111 #define HAVE_TANHF 1
87112 _ACEOF
87113
87114 cat >>confdefs.h <<\_ACEOF
87115 #define HAVE_TANHL 1
87116 _ACEOF
87117
87118 ;;
87119 *)
87120 { { echo "$as_me:$LINENO: error: No support for this host/target combination." >&5
87121 echo "$as_me: error: No support for this host/target combination." >&2;}
87122 { (exit 1); exit 1; }; }
87123 ;;
87124 esac
87125
87126 fi
87127
87128 # At some point, we should differentiate between architectures
87129 # like x86, which have long double versions, and alpha/powerpc/etc.,
87130 # which don't. For the time being, punt.
87131 if test x"long_double_math_on_this_cpu" = x"yes"; then
87132 cat >>confdefs.h <<\_ACEOF
87133 #define HAVE_ACOSL 1
87134 _ACEOF
87135
87136 cat >>confdefs.h <<\_ACEOF
87137 #define HAVE_ASINL 1
87138 _ACEOF
87139
87140 cat >>confdefs.h <<\_ACEOF
87141 #define HAVE_ATAN2L 1
87142 _ACEOF
87143
87144 cat >>confdefs.h <<\_ACEOF
87145 #define HAVE_ATANL 1
87146 _ACEOF
87147
87148 cat >>confdefs.h <<\_ACEOF
87149 #define HAVE_CEILL 1
87150 _ACEOF
87151
87152 cat >>confdefs.h <<\_ACEOF
87153 #define HAVE_COPYSIGNL 1
87154 _ACEOF
87155
87156 cat >>confdefs.h <<\_ACEOF
87157 #define HAVE_COSL 1
87158 _ACEOF
87159
87160 cat >>confdefs.h <<\_ACEOF
87161 #define HAVE_COSHL 1
87162 _ACEOF
87163
87164 cat >>confdefs.h <<\_ACEOF
87165 #define HAVE_EXPL 1
87166 _ACEOF
87167
87168 cat >>confdefs.h <<\_ACEOF
87169 #define HAVE_FABSL 1
87170 _ACEOF
87171
87172 cat >>confdefs.h <<\_ACEOF
87173 #define HAVE_FLOORL 1
87174 _ACEOF
87175
87176 cat >>confdefs.h <<\_ACEOF
87177 #define HAVE_FMODL 1
87178 _ACEOF
87179
87180 cat >>confdefs.h <<\_ACEOF
87181 #define HAVE_FREXPL 1
87182 _ACEOF
87183
87184 cat >>confdefs.h <<\_ACEOF
87185 #define HAVE_LDEXPL 1
87186 _ACEOF
87187
87188 cat >>confdefs.h <<\_ACEOF
87189 #define HAVE_LOG10L 1
87190 _ACEOF
87191
87192 cat >>confdefs.h <<\_ACEOF
87193 #define HAVE_LOGL 1
87194 _ACEOF
87195
87196 cat >>confdefs.h <<\_ACEOF
87197 #define HAVE_MODFL 1
87198 _ACEOF
87199
87200 cat >>confdefs.h <<\_ACEOF
87201 #define HAVE_POWL 1
87202 _ACEOF
87203
87204 cat >>confdefs.h <<\_ACEOF
87205 #define HAVE_SINCOSL 1
87206 _ACEOF
87207
87208 cat >>confdefs.h <<\_ACEOF
87209 #define HAVE_SINL 1
87210 _ACEOF
87211
87212 cat >>confdefs.h <<\_ACEOF
87213 #define HAVE_SINHL 1
87214 _ACEOF
87215
87216 cat >>confdefs.h <<\_ACEOF
87217 #define HAVE_SQRTL 1
87218 _ACEOF
87219
87220 cat >>confdefs.h <<\_ACEOF
87221 #define HAVE_TANL 1
87222 _ACEOF
87223
87224 cat >>confdefs.h <<\_ACEOF
87225 #define HAVE_TANHL 1
87226 _ACEOF
87227
87228 fi
87229
87230 fi
87231
87232 # This depends on GLIBCXX CHECK_LINKER_FEATURES, but without it assumes no.
87233
87234
87235 # Check whether --enable-symvers or --disable-symvers was given.
87236 if test "${enable_symvers+set}" = set; then
87237 enableval="$enable_symvers"
87238
87239 case "$enableval" in
87240 yes|no|gnu|darwin-export) ;;
87241 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable symvers" >&5
87242 echo "$as_me: error: Unknown argument to enable/disable symvers" >&2;}
87243 { (exit 1); exit 1; }; } ;;
87244 esac
87245
87246 else
87247 enable_symvers=yes
87248 fi;
87249
87250
87251 # If we never went through the GLIBCXX_CHECK_LINKER_FEATURES macro, then we
87252 # don't know enough about $LD to do tricks...
87253
87254
87255 # Turn a 'yes' into a suitable default.
87256 if test x$enable_symvers = xyes ; then
87257 if test $enable_shared = no ||
87258 test "x$LD" = x ; then
87259 enable_symvers=no
87260 elif test $with_gnu_ld = yes ; then
87261 enable_symvers=gnu
87262 else
87263 case ${target_os} in
87264 darwin*)
87265 enable_symvers=darwin-export ;;
87266 *)
87267 { echo "$as_me:$LINENO: WARNING: === You have requested some kind of symbol versioning, but" >&5
87268 echo "$as_me: WARNING: === You have requested some kind of symbol versioning, but" >&2;}
87269 { echo "$as_me:$LINENO: WARNING: === you are not using a supported linker." >&5
87270 echo "$as_me: WARNING: === you are not using a supported linker." >&2;}
87271 { echo "$as_me:$LINENO: WARNING: === Symbol versioning will be disabled." >&5
87272 echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
87273 enable_symvers=no ;;
87274 esac
87275 fi
87276 fi
87277
87278 # Check to see if libgcc_s exists, indicating that shared libgcc is possible.
87279 if test $enable_symvers != no; then
87280 echo "$as_me:$LINENO: checking for shared libgcc" >&5
87281 echo $ECHO_N "checking for shared libgcc... $ECHO_C" >&6
87282 ac_save_CFLAGS="$CFLAGS"
87283 CFLAGS=' -lgcc_s'
87284 if test x$gcc_no_link = xyes; then
87285 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87286 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87287 { (exit 1); exit 1; }; }
87288 fi
87289 cat >conftest.$ac_ext <<_ACEOF
87290 /* confdefs.h. */
87291 _ACEOF
87292 cat confdefs.h >>conftest.$ac_ext
87293 cat >>conftest.$ac_ext <<_ACEOF
87294 /* end confdefs.h. */
87295
87296 int
87297 main ()
87298 {
87299 return 0;
87300 ;
87301 return 0;
87302 }
87303 _ACEOF
87304 rm -f conftest.$ac_objext conftest$ac_exeext
87305 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87306 (eval $ac_link) 2>conftest.er1
87307 ac_status=$?
87308 grep -v '^ *+' conftest.er1 >conftest.err
87309 rm -f conftest.er1
87310 cat conftest.err >&5
87311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87312 (exit $ac_status); } &&
87313 { ac_try='test -z "$ac_c_werror_flag"
87314 || test ! -s conftest.err'
87315 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87316 (eval $ac_try) 2>&5
87317 ac_status=$?
87318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87319 (exit $ac_status); }; } &&
87320 { ac_try='test -s conftest$ac_exeext'
87321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87322 (eval $ac_try) 2>&5
87323 ac_status=$?
87324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87325 (exit $ac_status); }; }; then
87326 glibcxx_shared_libgcc=yes
87327 else
87328 echo "$as_me: failed program was:" >&5
87329 sed 's/^/| /' conftest.$ac_ext >&5
87330
87331 glibcxx_shared_libgcc=no
87332 fi
87333 rm -f conftest.err conftest.$ac_objext \
87334 conftest$ac_exeext conftest.$ac_ext
87335 CFLAGS="$ac_save_CFLAGS"
87336 if test $glibcxx_shared_libgcc = no; then
87337 cat > conftest.c <<EOF
87338 int main (void) { return 0; }
87339 EOF
87340 glibcxx_libgcc_s_suffix=`${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS \
87341 -shared -shared-libgcc -o conftest.so \
87342 conftest.c -v 2>&1 >/dev/null \
87343 | sed -n 's/^.* -lgcc_s\([^ ]*\) .*$/\1/p'`
87344 rm -f conftest.c conftest.so
87345 if test x${glibcxx_libgcc_s_suffix+set} = xset; then
87346 CFLAGS=" -lgcc_s$glibcxx_libgcc_s_suffix"
87347 if test x$gcc_no_link = xyes; then
87348 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87349 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87350 { (exit 1); exit 1; }; }
87351 fi
87352 cat >conftest.$ac_ext <<_ACEOF
87353 /* confdefs.h. */
87354 _ACEOF
87355 cat confdefs.h >>conftest.$ac_ext
87356 cat >>conftest.$ac_ext <<_ACEOF
87357 /* end confdefs.h. */
87358
87359 int
87360 main ()
87361 {
87362 return 0;
87363 ;
87364 return 0;
87365 }
87366 _ACEOF
87367 rm -f conftest.$ac_objext conftest$ac_exeext
87368 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87369 (eval $ac_link) 2>conftest.er1
87370 ac_status=$?
87371 grep -v '^ *+' conftest.er1 >conftest.err
87372 rm -f conftest.er1
87373 cat conftest.err >&5
87374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87375 (exit $ac_status); } &&
87376 { ac_try='test -z "$ac_c_werror_flag"
87377 || test ! -s conftest.err'
87378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87379 (eval $ac_try) 2>&5
87380 ac_status=$?
87381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87382 (exit $ac_status); }; } &&
87383 { ac_try='test -s conftest$ac_exeext'
87384 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87385 (eval $ac_try) 2>&5
87386 ac_status=$?
87387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87388 (exit $ac_status); }; }; then
87389 glibcxx_shared_libgcc=yes
87390 else
87391 echo "$as_me: failed program was:" >&5
87392 sed 's/^/| /' conftest.$ac_ext >&5
87393
87394 fi
87395 rm -f conftest.err conftest.$ac_objext \
87396 conftest$ac_exeext conftest.$ac_ext
87397 CFLAGS="$ac_save_CFLAGS"
87398 fi
87399 fi
87400 echo "$as_me:$LINENO: result: $glibcxx_shared_libgcc" >&5
87401 echo "${ECHO_T}$glibcxx_shared_libgcc" >&6
87402 fi
87403
87404 # If no shared libgcc, can't win.
87405 if test $glibcxx_shared_libgcc != yes &&
87406 test $enable_symvers != no ; then
87407 { echo "$as_me:$LINENO: WARNING: === You have requested some kind of symbol versioning, but" >&5
87408 echo "$as_me: WARNING: === You have requested some kind of symbol versioning, but" >&2;}
87409 { echo "$as_me:$LINENO: WARNING: === you are not building a shared libgcc_s." >&5
87410 echo "$as_me: WARNING: === you are not building a shared libgcc_s." >&2;}
87411 { echo "$as_me:$LINENO: WARNING: === Symbol versioning will be disabled." >&5
87412 echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
87413 enable_symvers=no
87414 enable_symvers=no
87415 fi
87416
87417 # Check to see if 'gnu' can win.
87418 if test $enable_symvers = gnu; then
87419 # For GNU ld, we need at least this version. The format is described in
87420 # GLIBCXX_CHECK_LINKER_FEATURES above.
87421 glibcxx_min_gnu_ld_version=21400
87422
87423 if test $with_gnu_ld != yes ; then
87424 # just fail for now
87425 { echo "$as_me:$LINENO: WARNING: === You have requested GNU symbol versioning, but" >&5
87426 echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
87427 { echo "$as_me:$LINENO: WARNING: === you are not using the GNU linker." >&5
87428 echo "$as_me: WARNING: === you are not using the GNU linker." >&2;}
87429 { echo "$as_me:$LINENO: WARNING: === Symbol versioning will be disabled." >&5
87430 echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
87431 enable_symvers=no
87432 elif test $glibcxx_gnu_ld_version -lt $glibcxx_min_gnu_ld_version ; then
87433 # The right tools, the right setup, but too old. Fallbacks?
87434 { echo "$as_me:$LINENO: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&5
87435 echo "$as_me: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&2;}
87436 { echo "$as_me:$LINENO: WARNING: === full symbol versioning support in this release of GCC." >&5
87437 echo "$as_me: WARNING: === full symbol versioning support in this release of GCC." >&2;}
87438 { echo "$as_me:$LINENO: WARNING: === You would need to upgrade your binutils to version" >&5
87439 echo "$as_me: WARNING: === You would need to upgrade your binutils to version" >&2;}
87440 { echo "$as_me:$LINENO: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&5
87441 echo "$as_me: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&2;}
87442 { echo "$as_me:$LINENO: WARNING: === Symbol versioning will be disabled." >&5
87443 echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
87444 enable_symvers=no
87445 fi
87446 fi
87447
87448 # Everything parsed; figure out what file to use.
87449 case $enable_symvers in
87450 no)
87451 SYMVER_MAP=config/linker-map.dummy
87452 ;;
87453 gnu)
87454 SYMVER_MAP=config/linker-map.gnu
87455
87456 cat >>confdefs.h <<\_ACEOF
87457 #define _GLIBCXX_SYMVER 1
87458 _ACEOF
87459
87460 ;;
87461 darwin-export)
87462 SYMVER_MAP=config/linker-map.gnu
87463 ;;
87464 esac
87465
87466 # In addition, need this to deal with std::size_t mangling in
87467 # src/compatibility.cc. In a perfect world, could use
87468 # typeid(std::size_t).name()[0] to do direct substitution.
87469 echo "$as_me:$LINENO: checking for size_t as unsigned int" >&5
87470 echo $ECHO_N "checking for size_t as unsigned int... $ECHO_C" >&6
87471 ac_save_CFLAGS="$CFLAGS"
87472 CFLAGS="-Werror"
87473 cat >conftest.$ac_ext <<_ACEOF
87474 /* confdefs.h. */
87475 _ACEOF
87476 cat confdefs.h >>conftest.$ac_ext
87477 cat >>conftest.$ac_ext <<_ACEOF
87478 /* end confdefs.h. */
87479
87480 int
87481 main ()
87482 {
87483 __SIZE_TYPE__* stp; unsigned int* uip; stp = uip;
87484 ;
87485 return 0;
87486 }
87487 _ACEOF
87488 rm -f conftest.$ac_objext
87489 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
87490 (eval $ac_compile) 2>conftest.er1
87491 ac_status=$?
87492 grep -v '^ *+' conftest.er1 >conftest.err
87493 rm -f conftest.er1
87494 cat conftest.err >&5
87495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87496 (exit $ac_status); } &&
87497 { ac_try='test -z "$ac_c_werror_flag"
87498 || test ! -s conftest.err'
87499 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87500 (eval $ac_try) 2>&5
87501 ac_status=$?
87502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87503 (exit $ac_status); }; } &&
87504 { ac_try='test -s conftest.$ac_objext'
87505 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87506 (eval $ac_try) 2>&5
87507 ac_status=$?
87508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87509 (exit $ac_status); }; }; then
87510 glibcxx_size_t_is_i=yes
87511 else
87512 echo "$as_me: failed program was:" >&5
87513 sed 's/^/| /' conftest.$ac_ext >&5
87514
87515 glibcxx_size_t_is_i=no
87516 fi
87517 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
87518 CFLAGS=$ac_save_CFLAGS
87519 if test "$glibcxx_size_t_is_i" = yes; then
87520
87521 cat >>confdefs.h <<\_ACEOF
87522 #define _GLIBCXX_SIZE_T_IS_UINT 1
87523 _ACEOF
87524
87525 fi
87526 echo "$as_me:$LINENO: result: $glibcxx_size_t_is_i" >&5
87527 echo "${ECHO_T}$glibcxx_size_t_is_i" >&6
87528
87529 echo "$as_me:$LINENO: checking for ptrdiff_t as int" >&5
87530 echo $ECHO_N "checking for ptrdiff_t as int... $ECHO_C" >&6
87531 ac_save_CFLAGS="$CFLAGS"
87532 CFLAGS="-Werror"
87533 cat >conftest.$ac_ext <<_ACEOF
87534 /* confdefs.h. */
87535 _ACEOF
87536 cat confdefs.h >>conftest.$ac_ext
87537 cat >>conftest.$ac_ext <<_ACEOF
87538 /* end confdefs.h. */
87539
87540 int
87541 main ()
87542 {
87543 __PTRDIFF_TYPE__* ptp; int* ip; ptp = ip;
87544 ;
87545 return 0;
87546 }
87547 _ACEOF
87548 rm -f conftest.$ac_objext
87549 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
87550 (eval $ac_compile) 2>conftest.er1
87551 ac_status=$?
87552 grep -v '^ *+' conftest.er1 >conftest.err
87553 rm -f conftest.er1
87554 cat conftest.err >&5
87555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87556 (exit $ac_status); } &&
87557 { ac_try='test -z "$ac_c_werror_flag"
87558 || test ! -s conftest.err'
87559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87560 (eval $ac_try) 2>&5
87561 ac_status=$?
87562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87563 (exit $ac_status); }; } &&
87564 { ac_try='test -s conftest.$ac_objext'
87565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87566 (eval $ac_try) 2>&5
87567 ac_status=$?
87568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87569 (exit $ac_status); }; }; then
87570 glibcxx_ptrdiff_t_is_i=yes
87571 else
87572 echo "$as_me: failed program was:" >&5
87573 sed 's/^/| /' conftest.$ac_ext >&5
87574
87575 glibcxx_ptrdiff_t_is_i=no
87576 fi
87577 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
87578 CFLAGS=$ac_save_CFLAGS
87579 if test "$glibcxx_ptrdiff_t_is_i" = yes; then
87580
87581 cat >>confdefs.h <<\_ACEOF
87582 #define _GLIBCXX_PTRDIFF_T_IS_INT 1
87583 _ACEOF
87584
87585 fi
87586 echo "$as_me:$LINENO: result: $glibcxx_ptrdiff_t_is_i" >&5
87587 echo "${ECHO_T}$glibcxx_ptrdiff_t_is_i" >&6
87588
87589
87590
87591
87592
87593 { echo "$as_me:$LINENO: versioning on shared library symbols is $enable_symvers" >&5
87594 echo "$as_me: versioning on shared library symbols is $enable_symvers" >&6;}
87595
87596
87597 # This depends on GLIBCXX_ENABLE_SYMVERS and GLIBCXX_IS_NATIVE.
87598
87599 if $GLIBCXX_IS_NATIVE ; then
87600 # Do checks for resource limit functions.
87601
87602 setrlimit_have_headers=yes
87603
87604
87605
87606 for ac_header in unistd.h sys/time.h sys/resource.h
87607 do
87608 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
87609 if eval "test \"\${$as_ac_Header+set}\" = set"; then
87610 echo "$as_me:$LINENO: checking for $ac_header" >&5
87611 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
87612 if eval "test \"\${$as_ac_Header+set}\" = set"; then
87613 echo $ECHO_N "(cached) $ECHO_C" >&6
87614 fi
87615 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
87616 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
87617 else
87618 # Is the header compilable?
87619 echo "$as_me:$LINENO: checking $ac_header usability" >&5
87620 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
87621 cat >conftest.$ac_ext <<_ACEOF
87622 /* confdefs.h. */
87623 _ACEOF
87624 cat confdefs.h >>conftest.$ac_ext
87625 cat >>conftest.$ac_ext <<_ACEOF
87626 /* end confdefs.h. */
87627 $ac_includes_default
87628 #include <$ac_header>
87629 _ACEOF
87630 rm -f conftest.$ac_objext
87631 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
87632 (eval $ac_compile) 2>conftest.er1
87633 ac_status=$?
87634 grep -v '^ *+' conftest.er1 >conftest.err
87635 rm -f conftest.er1
87636 cat conftest.err >&5
87637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87638 (exit $ac_status); } &&
87639 { ac_try='test -z "$ac_c_werror_flag"
87640 || test ! -s conftest.err'
87641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87642 (eval $ac_try) 2>&5
87643 ac_status=$?
87644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87645 (exit $ac_status); }; } &&
87646 { ac_try='test -s conftest.$ac_objext'
87647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87648 (eval $ac_try) 2>&5
87649 ac_status=$?
87650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87651 (exit $ac_status); }; }; then
87652 ac_header_compiler=yes
87653 else
87654 echo "$as_me: failed program was:" >&5
87655 sed 's/^/| /' conftest.$ac_ext >&5
87656
87657 ac_header_compiler=no
87658 fi
87659 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
87660 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
87661 echo "${ECHO_T}$ac_header_compiler" >&6
87662
87663 # Is the header present?
87664 echo "$as_me:$LINENO: checking $ac_header presence" >&5
87665 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
87666 cat >conftest.$ac_ext <<_ACEOF
87667 /* confdefs.h. */
87668 _ACEOF
87669 cat confdefs.h >>conftest.$ac_ext
87670 cat >>conftest.$ac_ext <<_ACEOF
87671 /* end confdefs.h. */
87672 #include <$ac_header>
87673 _ACEOF
87674 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
87675 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
87676 ac_status=$?
87677 grep -v '^ *+' conftest.er1 >conftest.err
87678 rm -f conftest.er1
87679 cat conftest.err >&5
87680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87681 (exit $ac_status); } >/dev/null; then
87682 if test -s conftest.err; then
87683 ac_cpp_err=$ac_c_preproc_warn_flag
87684 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
87685 else
87686 ac_cpp_err=
87687 fi
87688 else
87689 ac_cpp_err=yes
87690 fi
87691 if test -z "$ac_cpp_err"; then
87692 ac_header_preproc=yes
87693 else
87694 echo "$as_me: failed program was:" >&5
87695 sed 's/^/| /' conftest.$ac_ext >&5
87696
87697 ac_header_preproc=no
87698 fi
87699 rm -f conftest.err conftest.$ac_ext
87700 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
87701 echo "${ECHO_T}$ac_header_preproc" >&6
87702
87703 # So? What about this header?
87704 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
87705 yes:no: )
87706 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
87707 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
87708 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
87709 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
87710 ac_header_preproc=yes
87711 ;;
87712 no:yes:* )
87713 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
87714 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
87715 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
87716 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
87717 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
87718 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
87719 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
87720 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
87721 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
87722 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
87723 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
87724 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
87725 (
87726 cat <<\_ASBOX
87727 ## ----------------------------------------- ##
87728 ## Report this to the package-unused lists. ##
87729 ## ----------------------------------------- ##
87730 _ASBOX
87731 ) |
87732 sed "s/^/$as_me: WARNING: /" >&2
87733 ;;
87734 esac
87735 echo "$as_me:$LINENO: checking for $ac_header" >&5
87736 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
87737 if eval "test \"\${$as_ac_Header+set}\" = set"; then
87738 echo $ECHO_N "(cached) $ECHO_C" >&6
87739 else
87740 eval "$as_ac_Header=\$ac_header_preproc"
87741 fi
87742 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
87743 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
87744
87745 fi
87746 if test `eval echo '${'$as_ac_Header'}'` = yes; then
87747 cat >>confdefs.h <<_ACEOF
87748 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
87749 _ACEOF
87750
87751 else
87752 setrlimit_have_headers=no
87753 fi
87754
87755 done
87756
87757 # If don't have the headers, then we can't run the tests now, and we
87758 # won't be seeing any of these during testsuite compilation.
87759 if test $setrlimit_have_headers = yes; then
87760 # Can't do these in a loop, else the resulting syntax is wrong.
87761
87762 echo "$as_me:$LINENO: checking for RLIMIT_DATA" >&5
87763 echo $ECHO_N "checking for RLIMIT_DATA... $ECHO_C" >&6
87764 cat >conftest.$ac_ext <<_ACEOF
87765 /* confdefs.h. */
87766 _ACEOF
87767 cat confdefs.h >>conftest.$ac_ext
87768 cat >>conftest.$ac_ext <<_ACEOF
87769 /* end confdefs.h. */
87770 #include <unistd.h>
87771 #include <sys/time.h>
87772 #include <sys/resource.h>
87773
87774 int
87775 main ()
87776 {
87777 int f = RLIMIT_DATA ;
87778 ;
87779 return 0;
87780 }
87781 _ACEOF
87782 rm -f conftest.$ac_objext
87783 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
87784 (eval $ac_compile) 2>conftest.er1
87785 ac_status=$?
87786 grep -v '^ *+' conftest.er1 >conftest.err
87787 rm -f conftest.er1
87788 cat conftest.err >&5
87789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87790 (exit $ac_status); } &&
87791 { ac_try='test -z "$ac_c_werror_flag"
87792 || test ! -s conftest.err'
87793 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87794 (eval $ac_try) 2>&5
87795 ac_status=$?
87796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87797 (exit $ac_status); }; } &&
87798 { ac_try='test -s conftest.$ac_objext'
87799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87800 (eval $ac_try) 2>&5
87801 ac_status=$?
87802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87803 (exit $ac_status); }; }; then
87804 glibcxx_mresult=1
87805 else
87806 echo "$as_me: failed program was:" >&5
87807 sed 's/^/| /' conftest.$ac_ext >&5
87808
87809 glibcxx_mresult=0
87810 fi
87811 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
87812
87813 cat >>confdefs.h <<_ACEOF
87814 #define HAVE_LIMIT_DATA $glibcxx_mresult
87815 _ACEOF
87816
87817 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
87818 echo "$as_me:$LINENO: result: $res" >&5
87819 echo "${ECHO_T}$res" >&6
87820
87821
87822 echo "$as_me:$LINENO: checking for RLIMIT_RSS" >&5
87823 echo $ECHO_N "checking for RLIMIT_RSS... $ECHO_C" >&6
87824 cat >conftest.$ac_ext <<_ACEOF
87825 /* confdefs.h. */
87826 _ACEOF
87827 cat confdefs.h >>conftest.$ac_ext
87828 cat >>conftest.$ac_ext <<_ACEOF
87829 /* end confdefs.h. */
87830 #include <unistd.h>
87831 #include <sys/time.h>
87832 #include <sys/resource.h>
87833
87834 int
87835 main ()
87836 {
87837 int f = RLIMIT_RSS ;
87838 ;
87839 return 0;
87840 }
87841 _ACEOF
87842 rm -f conftest.$ac_objext
87843 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
87844 (eval $ac_compile) 2>conftest.er1
87845 ac_status=$?
87846 grep -v '^ *+' conftest.er1 >conftest.err
87847 rm -f conftest.er1
87848 cat conftest.err >&5
87849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87850 (exit $ac_status); } &&
87851 { ac_try='test -z "$ac_c_werror_flag"
87852 || test ! -s conftest.err'
87853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87854 (eval $ac_try) 2>&5
87855 ac_status=$?
87856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87857 (exit $ac_status); }; } &&
87858 { ac_try='test -s conftest.$ac_objext'
87859 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87860 (eval $ac_try) 2>&5
87861 ac_status=$?
87862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87863 (exit $ac_status); }; }; then
87864 glibcxx_mresult=1
87865 else
87866 echo "$as_me: failed program was:" >&5
87867 sed 's/^/| /' conftest.$ac_ext >&5
87868
87869 glibcxx_mresult=0
87870 fi
87871 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
87872
87873 cat >>confdefs.h <<_ACEOF
87874 #define HAVE_LIMIT_RSS $glibcxx_mresult
87875 _ACEOF
87876
87877 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
87878 echo "$as_me:$LINENO: result: $res" >&5
87879 echo "${ECHO_T}$res" >&6
87880
87881
87882 echo "$as_me:$LINENO: checking for RLIMIT_VMEM" >&5
87883 echo $ECHO_N "checking for RLIMIT_VMEM... $ECHO_C" >&6
87884 cat >conftest.$ac_ext <<_ACEOF
87885 /* confdefs.h. */
87886 _ACEOF
87887 cat confdefs.h >>conftest.$ac_ext
87888 cat >>conftest.$ac_ext <<_ACEOF
87889 /* end confdefs.h. */
87890 #include <unistd.h>
87891 #include <sys/time.h>
87892 #include <sys/resource.h>
87893
87894 int
87895 main ()
87896 {
87897 int f = RLIMIT_VMEM ;
87898 ;
87899 return 0;
87900 }
87901 _ACEOF
87902 rm -f conftest.$ac_objext
87903 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
87904 (eval $ac_compile) 2>conftest.er1
87905 ac_status=$?
87906 grep -v '^ *+' conftest.er1 >conftest.err
87907 rm -f conftest.er1
87908 cat conftest.err >&5
87909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87910 (exit $ac_status); } &&
87911 { ac_try='test -z "$ac_c_werror_flag"
87912 || test ! -s conftest.err'
87913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87914 (eval $ac_try) 2>&5
87915 ac_status=$?
87916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87917 (exit $ac_status); }; } &&
87918 { ac_try='test -s conftest.$ac_objext'
87919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87920 (eval $ac_try) 2>&5
87921 ac_status=$?
87922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87923 (exit $ac_status); }; }; then
87924 glibcxx_mresult=1
87925 else
87926 echo "$as_me: failed program was:" >&5
87927 sed 's/^/| /' conftest.$ac_ext >&5
87928
87929 glibcxx_mresult=0
87930 fi
87931 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
87932
87933 cat >>confdefs.h <<_ACEOF
87934 #define HAVE_LIMIT_VMEM $glibcxx_mresult
87935 _ACEOF
87936
87937 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
87938 echo "$as_me:$LINENO: result: $res" >&5
87939 echo "${ECHO_T}$res" >&6
87940
87941
87942 echo "$as_me:$LINENO: checking for RLIMIT_AS" >&5
87943 echo $ECHO_N "checking for RLIMIT_AS... $ECHO_C" >&6
87944 cat >conftest.$ac_ext <<_ACEOF
87945 /* confdefs.h. */
87946 _ACEOF
87947 cat confdefs.h >>conftest.$ac_ext
87948 cat >>conftest.$ac_ext <<_ACEOF
87949 /* end confdefs.h. */
87950 #include <unistd.h>
87951 #include <sys/time.h>
87952 #include <sys/resource.h>
87953
87954 int
87955 main ()
87956 {
87957 int f = RLIMIT_AS ;
87958 ;
87959 return 0;
87960 }
87961 _ACEOF
87962 rm -f conftest.$ac_objext
87963 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
87964 (eval $ac_compile) 2>conftest.er1
87965 ac_status=$?
87966 grep -v '^ *+' conftest.er1 >conftest.err
87967 rm -f conftest.er1
87968 cat conftest.err >&5
87969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87970 (exit $ac_status); } &&
87971 { ac_try='test -z "$ac_c_werror_flag"
87972 || test ! -s conftest.err'
87973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87974 (eval $ac_try) 2>&5
87975 ac_status=$?
87976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87977 (exit $ac_status); }; } &&
87978 { ac_try='test -s conftest.$ac_objext'
87979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87980 (eval $ac_try) 2>&5
87981 ac_status=$?
87982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87983 (exit $ac_status); }; }; then
87984 glibcxx_mresult=1
87985 else
87986 echo "$as_me: failed program was:" >&5
87987 sed 's/^/| /' conftest.$ac_ext >&5
87988
87989 glibcxx_mresult=0
87990 fi
87991 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
87992
87993 cat >>confdefs.h <<_ACEOF
87994 #define HAVE_LIMIT_AS $glibcxx_mresult
87995 _ACEOF
87996
87997 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
87998 echo "$as_me:$LINENO: result: $res" >&5
87999 echo "${ECHO_T}$res" >&6
88000
88001
88002 echo "$as_me:$LINENO: checking for RLIMIT_FSIZE" >&5
88003 echo $ECHO_N "checking for RLIMIT_FSIZE... $ECHO_C" >&6
88004 cat >conftest.$ac_ext <<_ACEOF
88005 /* confdefs.h. */
88006 _ACEOF
88007 cat confdefs.h >>conftest.$ac_ext
88008 cat >>conftest.$ac_ext <<_ACEOF
88009 /* end confdefs.h. */
88010 #include <unistd.h>
88011 #include <sys/time.h>
88012 #include <sys/resource.h>
88013
88014 int
88015 main ()
88016 {
88017 int f = RLIMIT_FSIZE ;
88018 ;
88019 return 0;
88020 }
88021 _ACEOF
88022 rm -f conftest.$ac_objext
88023 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
88024 (eval $ac_compile) 2>conftest.er1
88025 ac_status=$?
88026 grep -v '^ *+' conftest.er1 >conftest.err
88027 rm -f conftest.er1
88028 cat conftest.err >&5
88029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88030 (exit $ac_status); } &&
88031 { ac_try='test -z "$ac_c_werror_flag"
88032 || test ! -s conftest.err'
88033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88034 (eval $ac_try) 2>&5
88035 ac_status=$?
88036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88037 (exit $ac_status); }; } &&
88038 { ac_try='test -s conftest.$ac_objext'
88039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88040 (eval $ac_try) 2>&5
88041 ac_status=$?
88042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88043 (exit $ac_status); }; }; then
88044 glibcxx_mresult=1
88045 else
88046 echo "$as_me: failed program was:" >&5
88047 sed 's/^/| /' conftest.$ac_ext >&5
88048
88049 glibcxx_mresult=0
88050 fi
88051 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
88052
88053 cat >>confdefs.h <<_ACEOF
88054 #define HAVE_LIMIT_FSIZE $glibcxx_mresult
88055 _ACEOF
88056
88057 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
88058 echo "$as_me:$LINENO: result: $res" >&5
88059 echo "${ECHO_T}$res" >&6
88060
88061
88062 # Check for rlimit, setrlimit.
88063 if test "${ac_setrlimit+set}" = set; then
88064 echo $ECHO_N "(cached) $ECHO_C" >&6
88065 else
88066
88067 cat >conftest.$ac_ext <<_ACEOF
88068 /* confdefs.h. */
88069 _ACEOF
88070 cat confdefs.h >>conftest.$ac_ext
88071 cat >>conftest.$ac_ext <<_ACEOF
88072 /* end confdefs.h. */
88073 #include <unistd.h>
88074 #include <sys/time.h>
88075 #include <sys/resource.h>
88076
88077 int
88078 main ()
88079 {
88080 struct rlimit r;
88081 setrlimit(0, &r);
88082 ;
88083 return 0;
88084 }
88085 _ACEOF
88086 rm -f conftest.$ac_objext
88087 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
88088 (eval $ac_compile) 2>conftest.er1
88089 ac_status=$?
88090 grep -v '^ *+' conftest.er1 >conftest.err
88091 rm -f conftest.er1
88092 cat conftest.err >&5
88093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88094 (exit $ac_status); } &&
88095 { ac_try='test -z "$ac_c_werror_flag"
88096 || test ! -s conftest.err'
88097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88098 (eval $ac_try) 2>&5
88099 ac_status=$?
88100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88101 (exit $ac_status); }; } &&
88102 { ac_try='test -s conftest.$ac_objext'
88103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88104 (eval $ac_try) 2>&5
88105 ac_status=$?
88106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88107 (exit $ac_status); }; }; then
88108 ac_setrlimit=yes
88109 else
88110 echo "$as_me: failed program was:" >&5
88111 sed 's/^/| /' conftest.$ac_ext >&5
88112
88113 ac_setrlimit=no
88114 fi
88115 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
88116
88117 fi
88118
88119 fi
88120
88121 echo "$as_me:$LINENO: checking for testsuite resource limits support" >&5
88122 echo $ECHO_N "checking for testsuite resource limits support... $ECHO_C" >&6
88123 if test $setrlimit_have_headers = yes && test $ac_setrlimit = yes; then
88124 ac_res_limits=yes
88125
88126 cat >>confdefs.h <<\_ACEOF
88127 #define _GLIBCXX_RES_LIMITS 1
88128 _ACEOF
88129
88130 else
88131 ac_res_limits=no
88132 fi
88133 echo "$as_me:$LINENO: result: $ac_res_limits" >&5
88134 echo "${ECHO_T}$ac_res_limits" >&6
88135
88136
88137 # Look for setenv, so that extended locale tests can be performed.
88138
88139 echo "$as_me:$LINENO: checking for setenv declaration" >&5
88140 echo $ECHO_N "checking for setenv declaration... $ECHO_C" >&6
88141 if test x${glibcxx_cv_func_setenv_use+set} != xset; then
88142 if test "${glibcxx_cv_func_setenv_use+set}" = set; then
88143 echo $ECHO_N "(cached) $ECHO_C" >&6
88144 else
88145
88146
88147
88148 ac_ext=cc
88149 ac_cpp='$CXXCPP $CPPFLAGS'
88150 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88151 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88152 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
88153
88154 cat >conftest.$ac_ext <<_ACEOF
88155 /* confdefs.h. */
88156 _ACEOF
88157 cat confdefs.h >>conftest.$ac_ext
88158 cat >>conftest.$ac_ext <<_ACEOF
88159 /* end confdefs.h. */
88160 #include <stdlib.h>
88161 int
88162 main ()
88163 {
88164 setenv(0, 0, 0);
88165 ;
88166 return 0;
88167 }
88168 _ACEOF
88169 rm -f conftest.$ac_objext
88170 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
88171 (eval $ac_compile) 2>conftest.er1
88172 ac_status=$?
88173 grep -v '^ *+' conftest.er1 >conftest.err
88174 rm -f conftest.er1
88175 cat conftest.err >&5
88176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88177 (exit $ac_status); } &&
88178 { ac_try='test -z "$ac_cxx_werror_flag"
88179 || test ! -s conftest.err'
88180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88181 (eval $ac_try) 2>&5
88182 ac_status=$?
88183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88184 (exit $ac_status); }; } &&
88185 { ac_try='test -s conftest.$ac_objext'
88186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88187 (eval $ac_try) 2>&5
88188 ac_status=$?
88189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88190 (exit $ac_status); }; }; then
88191 glibcxx_cv_func_setenv_use=yes
88192 else
88193 echo "$as_me: failed program was:" >&5
88194 sed 's/^/| /' conftest.$ac_ext >&5
88195
88196 glibcxx_cv_func_setenv_use=no
88197 fi
88198 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
88199 ac_ext=c
88200 ac_cpp='$CPP $CPPFLAGS'
88201 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88202 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88203 ac_compiler_gnu=$ac_cv_c_compiler_gnu
88204
88205
88206 fi
88207
88208 fi
88209 echo "$as_me:$LINENO: result: $glibcxx_cv_func_setenv_use" >&5
88210 echo "${ECHO_T}$glibcxx_cv_func_setenv_use" >&6
88211 if test x$glibcxx_cv_func_setenv_use = x"yes"; then
88212
88213 for ac_func in setenv
88214 do
88215 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
88216 echo "$as_me:$LINENO: checking for $ac_func" >&5
88217 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
88218 if eval "test \"\${$as_ac_var+set}\" = set"; then
88219 echo $ECHO_N "(cached) $ECHO_C" >&6
88220 else
88221 if test x$gcc_no_link = xyes; then
88222 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
88223 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
88224 { (exit 1); exit 1; }; }
88225 fi
88226 cat >conftest.$ac_ext <<_ACEOF
88227 /* confdefs.h. */
88228 _ACEOF
88229 cat confdefs.h >>conftest.$ac_ext
88230 cat >>conftest.$ac_ext <<_ACEOF
88231 /* end confdefs.h. */
88232 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
88233 For example, HP-UX 11i <limits.h> declares gettimeofday. */
88234 #define $ac_func innocuous_$ac_func
88235
88236 /* System header to define __stub macros and hopefully few prototypes,
88237 which can conflict with char $ac_func (); below.
88238 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
88239 <limits.h> exists even on freestanding compilers. */
88240
88241 #ifdef __STDC__
88242 # include <limits.h>
88243 #else
88244 # include <assert.h>
88245 #endif
88246
88247 #undef $ac_func
88248
88249 /* Override any gcc2 internal prototype to avoid an error. */
88250 #ifdef __cplusplus
88251 extern "C"
88252 {
88253 #endif
88254 /* We use char because int might match the return type of a gcc2
88255 builtin and then its argument prototype would still apply. */
88256 char $ac_func ();
88257 /* The GNU C library defines this for functions which it implements
88258 to always fail with ENOSYS. Some functions are actually named
88259 something starting with __ and the normal name is an alias. */
88260 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
88261 choke me
88262 #else
88263 char (*f) () = $ac_func;
88264 #endif
88265 #ifdef __cplusplus
88266 }
88267 #endif
88268
88269 int
88270 main ()
88271 {
88272 return f != $ac_func;
88273 ;
88274 return 0;
88275 }
88276 _ACEOF
88277 rm -f conftest.$ac_objext conftest$ac_exeext
88278 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
88279 (eval $ac_link) 2>conftest.er1
88280 ac_status=$?
88281 grep -v '^ *+' conftest.er1 >conftest.err
88282 rm -f conftest.er1
88283 cat conftest.err >&5
88284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88285 (exit $ac_status); } &&
88286 { ac_try='test -z "$ac_c_werror_flag"
88287 || test ! -s conftest.err'
88288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88289 (eval $ac_try) 2>&5
88290 ac_status=$?
88291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88292 (exit $ac_status); }; } &&
88293 { ac_try='test -s conftest$ac_exeext'
88294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88295 (eval $ac_try) 2>&5
88296 ac_status=$?
88297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88298 (exit $ac_status); }; }; then
88299 eval "$as_ac_var=yes"
88300 else
88301 echo "$as_me: failed program was:" >&5
88302 sed 's/^/| /' conftest.$ac_ext >&5
88303
88304 eval "$as_ac_var=no"
88305 fi
88306 rm -f conftest.err conftest.$ac_objext \
88307 conftest$ac_exeext conftest.$ac_ext
88308 fi
88309 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
88310 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
88311 if test `eval echo '${'$as_ac_var'}'` = yes; then
88312 cat >>confdefs.h <<_ACEOF
88313 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
88314 _ACEOF
88315
88316 fi
88317 done
88318
88319 fi
88320
88321 fi
88322
88323 if $GLIBCXX_IS_NATIVE && test $is_hosted = yes &&
88324 test $enable_symvers != no; then
88325 case "$host" in
88326 *-*-cygwin*)
88327 enable_abi_check=no ;;
88328 *)
88329 enable_abi_check=yes ;;
88330 esac
88331 else
88332 # Only build this as native, since automake does not understand
88333 # CXX_FOR_BUILD.
88334 enable_abi_check=no
88335 fi
88336
88337 # Export file names for ABI checking.
88338 baseline_dir="$glibcxx_srcdir/config/abi/${abi_baseline_pair}\$(MULTISUBDIR)"
88339
88340
88341
88342 # Propagate the target-specific source directories through the build chain.
88343 ATOMICITY_SRCDIR=config/${atomicity_dir}
88344 ATOMIC_WORD_SRCDIR=config/${atomic_word_dir}
88345 OS_INC_SRCDIR=config/${os_include_dir}
88346 ABI_TWEAKS_SRCDIR=config/${abi_tweaks_dir}
88347
88348
88349
88350
88351
88352 # Determine cross-compile flags and AM_CONDITIONALs.
88353 #AC_SUBST(GLIBCXX_IS_NATIVE)
88354 #AM_CONDITIONAL(CANADIAN, test $CANADIAN = yes)
88355 # from GLIBCXX_CHECK_COMPLEX_MATH_SUPPORT:
88356 #AM_CONDITIONAL(GLIBCXX_BUILD_LIBMATH, test $need_libmath = yes)
88357
88358
88359 if test $is_hosted = yes; then
88360 GLIBCXX_HOSTED_TRUE=
88361 GLIBCXX_HOSTED_FALSE='#'
88362 else
88363 GLIBCXX_HOSTED_TRUE='#'
88364 GLIBCXX_HOSTED_FALSE=
88365 fi
88366
88367
88368
88369
88370 if test $enable_libstdcxx_pch = yes; then
88371 GLIBCXX_BUILD_PCH_TRUE=
88372 GLIBCXX_BUILD_PCH_FALSE='#'
88373 else
88374 GLIBCXX_BUILD_PCH_TRUE='#'
88375 GLIBCXX_BUILD_PCH_FALSE=
88376 fi
88377
88378
88379
88380
88381 if test $enable_cheaders = c; then
88382 GLIBCXX_C_HEADERS_C_TRUE=
88383 GLIBCXX_C_HEADERS_C_FALSE='#'
88384 else
88385 GLIBCXX_C_HEADERS_C_TRUE='#'
88386 GLIBCXX_C_HEADERS_C_FALSE=
88387 fi
88388
88389
88390
88391
88392 if test $enable_cheaders = c_std; then
88393 GLIBCXX_C_HEADERS_C_STD_TRUE=
88394 GLIBCXX_C_HEADERS_C_STD_FALSE='#'
88395 else
88396 GLIBCXX_C_HEADERS_C_STD_TRUE='#'
88397 GLIBCXX_C_HEADERS_C_STD_FALSE=
88398 fi
88399
88400
88401
88402
88403 if test $c_compatibility = yes; then
88404 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE=
88405 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE='#'
88406 else
88407 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE='#'
88408 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE=
88409 fi
88410
88411
88412
88413
88414 if test $enable_libstdcxx_debug = yes; then
88415 GLIBCXX_BUILD_DEBUG_TRUE=
88416 GLIBCXX_BUILD_DEBUG_FALSE='#'
88417 else
88418 GLIBCXX_BUILD_DEBUG_TRUE='#'
88419 GLIBCXX_BUILD_DEBUG_FALSE=
88420 fi
88421
88422
88423
88424
88425 if test $enable_symvers = gnu; then
88426 ENABLE_SYMVERS_GNU_TRUE=
88427 ENABLE_SYMVERS_GNU_FALSE='#'
88428 else
88429 ENABLE_SYMVERS_GNU_TRUE='#'
88430 ENABLE_SYMVERS_GNU_FALSE=
88431 fi
88432
88433
88434
88435
88436 if test $enable_symvers = darwin-export; then
88437 ENABLE_SYMVERS_DARWIN_EXPORT_TRUE=
88438 ENABLE_SYMVERS_DARWIN_EXPORT_FALSE='#'
88439 else
88440 ENABLE_SYMVERS_DARWIN_EXPORT_TRUE='#'
88441 ENABLE_SYMVERS_DARWIN_EXPORT_FALSE=
88442 fi
88443
88444
88445
88446
88447 cat >confcache <<\_ACEOF
88448 # This file is a shell script that caches the results of configure
88449 # tests run on this system so they can be shared between configure
88450 # scripts and configure runs, see configure's option --config-cache.
88451 # It is not useful on other systems. If it contains results you don't
88452 # want to keep, you may remove or edit it.
88453 #
88454 # config.status only pays attention to the cache file if you give it
88455 # the --recheck option to rerun configure.
88456 #
88457 # `ac_cv_env_foo' variables (set or unset) will be overridden when
88458 # loading this file, other *unset* `ac_cv_foo' will be assigned the
88459 # following values.
88460
88461 _ACEOF
88462
88463 # The following way of writing the cache mishandles newlines in values,
88464 # but we know of no workaround that is simple, portable, and efficient.
88465 # So, don't put newlines in cache variables' values.
88466 # Ultrix sh set writes to stderr and can't be redirected directly,
88467 # and sets the high bit in the cache file unless we assign to the vars.
88468 {
88469 (set) 2>&1 |
88470 case `(ac_space=' '; set | grep ac_space) 2>&1` in
88471 *ac_space=\ *)
88472 # `set' does not quote correctly, so add quotes (double-quote
88473 # substitution turns \\\\ into \\, and sed turns \\ into \).
88474 sed -n \
88475 "s/'/'\\\\''/g;
88476 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
88477 ;;
88478 *)
88479 # `set' quotes correctly as required by POSIX, so do not add quotes.
88480 sed -n \
88481 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
88482 ;;
88483 esac;
88484 } |
88485 sed '
88486 t clear
88487 : clear
88488 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
88489 t end
88490 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
88491 : end' >>confcache
88492 if diff $cache_file confcache >/dev/null 2>&1; then :; else
88493 if test -w $cache_file; then
88494 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
88495 cat confcache >$cache_file
88496 else
88497 echo "not updating unwritable cache $cache_file"
88498 fi
88499 fi
88500 rm -f confcache
88501
88502 if test ${multilib} = yes; then
88503 multilib_arg="--enable-multilib"
88504 else
88505 multilib_arg=
88506 fi
88507
88508 # Export all the install information.
88509
88510 glibcxx_toolexecdir=no
88511 glibcxx_toolexeclibdir=no
88512 glibcxx_prefixdir=$prefix
88513
88514 echo "$as_me:$LINENO: checking for gxx-include-dir" >&5
88515 echo $ECHO_N "checking for gxx-include-dir... $ECHO_C" >&6
88516
88517 # Check whether --with-gxx-include-dir or --without-gxx-include-dir was given.
88518 if test "${with_gxx_include_dir+set}" = set; then
88519 withval="$with_gxx_include_dir"
88520 case "$withval" in
88521 yes) { { echo "$as_me:$LINENO: error: Missing directory for --with-gxx-include-dir" >&5
88522 echo "$as_me: error: Missing directory for --with-gxx-include-dir" >&2;}
88523 { (exit 1); exit 1; }; } ;;
88524 no) gxx_include_dir=no ;;
88525 *) gxx_include_dir=$withval ;;
88526 esac
88527 else
88528 gxx_include_dir=no
88529 fi;
88530 echo "$as_me:$LINENO: result: $gxx_include_dir" >&5
88531 echo "${ECHO_T}$gxx_include_dir" >&6
88532
88533 echo "$as_me:$LINENO: checking for --enable-version-specific-runtime-libs" >&5
88534 echo $ECHO_N "checking for --enable-version-specific-runtime-libs... $ECHO_C" >&6
88535 # Check whether --enable-version-specific-runtime-libs or --disable-version-specific-runtime-libs was given.
88536 if test "${enable_version_specific_runtime_libs+set}" = set; then
88537 enableval="$enable_version_specific_runtime_libs"
88538 case "$enableval" in
88539 yes) version_specific_libs=yes ;;
88540 no) version_specific_libs=no ;;
88541 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable version-specific libs" >&5
88542 echo "$as_me: error: Unknown argument to enable/disable version-specific libs" >&2;}
88543 { (exit 1); exit 1; }; };;
88544 esac
88545 else
88546 version_specific_libs=no
88547 fi;
88548 echo "$as_me:$LINENO: result: $version_specific_libs" >&5
88549 echo "${ECHO_T}$version_specific_libs" >&6
88550
88551 # Default case for install directory for include files.
88552 if test $version_specific_libs = no && test $gxx_include_dir = no; then
88553 gxx_include_dir='${prefix}/include/c++/${gcc_version}'
88554 fi
88555
88556 # Version-specific runtime libs processing.
88557 if test $version_specific_libs = yes; then
88558 # Need the gcc compiler version to know where to install libraries
88559 # and header files if --enable-version-specific-runtime-libs option
88560 # is selected. FIXME: these variables are misnamed, there are
88561 # no executables installed in _toolexecdir or _toolexeclibdir.
88562 if test x"$gxx_include_dir" = x"no"; then
88563 gxx_include_dir='${libdir}/gcc/${host_alias}/${gcc_version}/include/c++'
88564 fi
88565 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
88566 glibcxx_toolexeclibdir='${toolexecdir}/${gcc_version}$(MULTISUBDIR)'
88567 fi
88568
88569 # Calculate glibcxx_toolexecdir, glibcxx_toolexeclibdir
88570 # Install a library built with a cross compiler in tooldir, not libdir.
88571 if test x"$glibcxx_toolexecdir" = x"no"; then
88572 if test -n "$with_cross_host" &&
88573 test x"$with_cross_host" != x"no"; then
88574 glibcxx_toolexecdir='${exec_prefix}/${host_alias}'
88575 glibcxx_toolexeclibdir='${toolexecdir}/lib'
88576 else
88577 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
88578 glibcxx_toolexeclibdir='${libdir}'
88579 fi
88580 multi_os_directory=`$CXX -print-multi-os-directory`
88581 case $multi_os_directory in
88582 .) ;; # Avoid trailing /.
88583 *) glibcxx_toolexeclibdir=$glibcxx_toolexeclibdir/$multi_os_directory ;;
88584 esac
88585 fi
88586
88587 echo "$as_me:$LINENO: checking for install location" >&5
88588 echo $ECHO_N "checking for install location... $ECHO_C" >&6
88589 echo "$as_me:$LINENO: result: $gxx_include_dir" >&5
88590 echo "${ECHO_T}$gxx_include_dir" >&6
88591
88592
88593
88594
88595
88596
88597
88598 # Export all the include and flag information to Makefiles.
88599
88600 # Used for every C++ compile we perform.
88601 GLIBCXX_INCLUDES="\
88602 -I$glibcxx_builddir/include/$host_alias \
88603 -I$glibcxx_builddir/include \
88604 -I$glibcxx_srcdir/libsupc++"
88605
88606 # For Canadian crosses, pick this up too.
88607 if test $CANADIAN = yes; then
88608 GLIBCXX_INCLUDES="$GLIBCXX_INCLUDES -I\${includedir}"
88609 fi
88610
88611 # Stuff in the actual top level. Currently only used by libsupc++ to
88612 # get unwind* headers from the gcc dir.
88613 #TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/gcc -I$(toplevel_srcdir)/include'
88614 TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/gcc'
88615
88616 # Now, export this to all the little Makefiles....
88617
88618
88619
88620
88621 # Optimization flags that are probably a good idea for thrill-seekers. Just
88622 # uncomment the lines below and make, everything else is ready to go...
88623 # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc
88624 OPTIMIZE_CXXFLAGS=
88625
88626
88627 WARN_FLAGS='-Wall -Wextra -Wwrite-strings -Wcast-qual'
88628
88629
88630
88631 if ${CONFIG_SHELL-/bin/sh} ./libtool --tag CXX --features |
88632 grep "enable shared" > /dev/null;
88633 then
88634 LIBSUPCXX_PICFLAGS=-prefer-pic
88635 else
88636 LIBSUPCXX_PICFLAGS=
88637 fi
88638
88639
88640 ac_config_files="$ac_config_files Makefile include/Makefile libmath/Makefile libsupc++/Makefile src/Makefile po/Makefile testsuite/Makefile"
88641
88642 ac_config_files="$ac_config_files scripts/testsuite_flags"
88643
88644
88645 ac_config_commands="$ac_config_commands default"
88646
88647
88648 cat >confcache <<\_ACEOF
88649 # This file is a shell script that caches the results of configure
88650 # tests run on this system so they can be shared between configure
88651 # scripts and configure runs, see configure's option --config-cache.
88652 # It is not useful on other systems. If it contains results you don't
88653 # want to keep, you may remove or edit it.
88654 #
88655 # config.status only pays attention to the cache file if you give it
88656 # the --recheck option to rerun configure.
88657 #
88658 # `ac_cv_env_foo' variables (set or unset) will be overridden when
88659 # loading this file, other *unset* `ac_cv_foo' will be assigned the
88660 # following values.
88661
88662 _ACEOF
88663
88664 # The following way of writing the cache mishandles newlines in values,
88665 # but we know of no workaround that is simple, portable, and efficient.
88666 # So, don't put newlines in cache variables' values.
88667 # Ultrix sh set writes to stderr and can't be redirected directly,
88668 # and sets the high bit in the cache file unless we assign to the vars.
88669 {
88670 (set) 2>&1 |
88671 case `(ac_space=' '; set | grep ac_space) 2>&1` in
88672 *ac_space=\ *)
88673 # `set' does not quote correctly, so add quotes (double-quote
88674 # substitution turns \\\\ into \\, and sed turns \\ into \).
88675 sed -n \
88676 "s/'/'\\\\''/g;
88677 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
88678 ;;
88679 *)
88680 # `set' quotes correctly as required by POSIX, so do not add quotes.
88681 sed -n \
88682 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
88683 ;;
88684 esac;
88685 } |
88686 sed '
88687 t clear
88688 : clear
88689 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
88690 t end
88691 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
88692 : end' >>confcache
88693 if diff $cache_file confcache >/dev/null 2>&1; then :; else
88694 if test -w $cache_file; then
88695 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
88696 cat confcache >$cache_file
88697 else
88698 echo "not updating unwritable cache $cache_file"
88699 fi
88700 fi
88701 rm -f confcache
88702
88703 test "x$prefix" = xNONE && prefix=$ac_default_prefix
88704 # Let make expand exec_prefix.
88705 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
88706
88707 # VPATH may cause trouble with some makes, so we remove $(srcdir),
88708 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
88709 # trailing colons and then remove the whole line if VPATH becomes empty
88710 # (actually we leave an empty line to preserve line numbers).
88711 if test "x$srcdir" = x.; then
88712 ac_vpsub='/^[ ]*VPATH[ ]*=/{
88713 s/:*\$(srcdir):*/:/;
88714 s/:*\${srcdir}:*/:/;
88715 s/:*@srcdir@:*/:/;
88716 s/^\([^=]*=[ ]*\):*/\1/;
88717 s/:*$//;
88718 s/^[^=]*=[ ]*$//;
88719 }'
88720 fi
88721
88722 DEFS=-DHAVE_CONFIG_H
88723
88724 ac_libobjs=
88725 ac_ltlibobjs=
88726 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
88727 # 1. Remove the extension, and $U if already installed.
88728 ac_i=`echo "$ac_i" |
88729 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
88730 # 2. Add them.
88731 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
88732 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
88733 done
88734 LIBOBJS=$ac_libobjs
88735
88736 LTLIBOBJS=$ac_ltlibobjs
88737
88738
88739 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
88740 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
88741 Usually this means the macro was only invoked conditionally." >&5
88742 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
88743 Usually this means the macro was only invoked conditionally." >&2;}
88744 { (exit 1); exit 1; }; }
88745 fi
88746 if test -z "${GLIBCXX_HOSTED_TRUE}" && test -z "${GLIBCXX_HOSTED_FALSE}"; then
88747 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_HOSTED\" was never defined.
88748 Usually this means the macro was only invoked conditionally." >&5
88749 echo "$as_me: error: conditional \"GLIBCXX_HOSTED\" was never defined.
88750 Usually this means the macro was only invoked conditionally." >&2;}
88751 { (exit 1); exit 1; }; }
88752 fi
88753 if test -z "${GLIBCXX_BUILD_PCH_TRUE}" && test -z "${GLIBCXX_BUILD_PCH_FALSE}"; then
88754 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_BUILD_PCH\" was never defined.
88755 Usually this means the macro was only invoked conditionally." >&5
88756 echo "$as_me: error: conditional \"GLIBCXX_BUILD_PCH\" was never defined.
88757 Usually this means the macro was only invoked conditionally." >&2;}
88758 { (exit 1); exit 1; }; }
88759 fi
88760 if test -z "${GLIBCXX_C_HEADERS_C_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_FALSE}"; then
88761 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
88762 Usually this means the macro was only invoked conditionally." >&5
88763 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
88764 Usually this means the macro was only invoked conditionally." >&2;}
88765 { (exit 1); exit 1; }; }
88766 fi
88767 if test -z "${GLIBCXX_C_HEADERS_C_STD_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_STD_FALSE}"; then
88768 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
88769 Usually this means the macro was only invoked conditionally." >&5
88770 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
88771 Usually this means the macro was only invoked conditionally." >&2;}
88772 { (exit 1); exit 1; }; }
88773 fi
88774 if test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE}" && test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE}"; then
88775 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
88776 Usually this means the macro was only invoked conditionally." >&5
88777 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
88778 Usually this means the macro was only invoked conditionally." >&2;}
88779 { (exit 1); exit 1; }; }
88780 fi
88781 if test -z "${GLIBCXX_BUILD_DEBUG_TRUE}" && test -z "${GLIBCXX_BUILD_DEBUG_FALSE}"; then
88782 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
88783 Usually this means the macro was only invoked conditionally." >&5
88784 echo "$as_me: error: conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
88785 Usually this means the macro was only invoked conditionally." >&2;}
88786 { (exit 1); exit 1; }; }
88787 fi
88788 if test -z "${ENABLE_SYMVERS_GNU_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_FALSE}"; then
88789 { { echo "$as_me:$LINENO: error: conditional \"ENABLE_SYMVERS_GNU\" was never defined.
88790 Usually this means the macro was only invoked conditionally." >&5
88791 echo "$as_me: error: conditional \"ENABLE_SYMVERS_GNU\" was never defined.
88792 Usually this means the macro was only invoked conditionally." >&2;}
88793 { (exit 1); exit 1; }; }
88794 fi
88795 if test -z "${ENABLE_SYMVERS_DARWIN_EXPORT_TRUE}" && test -z "${ENABLE_SYMVERS_DARWIN_EXPORT_FALSE}"; then
88796 { { echo "$as_me:$LINENO: error: conditional \"ENABLE_SYMVERS_DARWIN_EXPORT\" was never defined.
88797 Usually this means the macro was only invoked conditionally." >&5
88798 echo "$as_me: error: conditional \"ENABLE_SYMVERS_DARWIN_EXPORT\" was never defined.
88799 Usually this means the macro was only invoked conditionally." >&2;}
88800 { (exit 1); exit 1; }; }
88801 fi
88802
88803 : ${CONFIG_STATUS=./config.status}
88804 ac_clean_files_save=$ac_clean_files
88805 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
88806 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
88807 echo "$as_me: creating $CONFIG_STATUS" >&6;}
88808 cat >$CONFIG_STATUS <<_ACEOF
88809 #! $SHELL
88810 # Generated by $as_me.
88811 # Run this file to recreate the current configuration.
88812 # Compiler output produced by configure, useful for debugging
88813 # configure, is in config.log if it exists.
88814
88815 debug=false
88816 ac_cs_recheck=false
88817 ac_cs_silent=false
88818 SHELL=\${CONFIG_SHELL-$SHELL}
88819 _ACEOF
88820
88821 cat >>$CONFIG_STATUS <<\_ACEOF
88822 ## --------------------- ##
88823 ## M4sh Initialization. ##
88824 ## --------------------- ##
88825
88826 # Be Bourne compatible
88827 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
88828 emulate sh
88829 NULLCMD=:
88830 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
88831 # is contrary to our usage. Disable this feature.
88832 alias -g '${1+"$@"}'='"$@"'
88833 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
88834 set -o posix
88835 fi
88836 DUALCASE=1; export DUALCASE # for MKS sh
88837
88838 # Support unset when possible.
88839 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
88840 as_unset=unset
88841 else
88842 as_unset=false
88843 fi
88844
88845
88846 # Work around bugs in pre-3.0 UWIN ksh.
88847 $as_unset ENV MAIL MAILPATH
88848 PS1='$ '
88849 PS2='> '
88850 PS4='+ '
88851
88852 # NLS nuisances.
88853 for as_var in \
88854 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
88855 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
88856 LC_TELEPHONE LC_TIME
88857 do
88858 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
88859 eval $as_var=C; export $as_var
88860 else
88861 $as_unset $as_var
88862 fi
88863 done
88864
88865 # Required to use basename.
88866 if expr a : '\(a\)' >/dev/null 2>&1; then
88867 as_expr=expr
88868 else
88869 as_expr=false
88870 fi
88871
88872 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
88873 as_basename=basename
88874 else
88875 as_basename=false
88876 fi
88877
88878
88879 # Name of the executable.
88880 as_me=`$as_basename "$0" ||
88881 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
88882 X"$0" : 'X\(//\)$' \| \
88883 X"$0" : 'X\(/\)$' \| \
88884 . : '\(.\)' 2>/dev/null ||
88885 echo X/"$0" |
88886 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
88887 /^X\/\(\/\/\)$/{ s//\1/; q; }
88888 /^X\/\(\/\).*/{ s//\1/; q; }
88889 s/.*/./; q'`
88890
88891
88892 # PATH needs CR, and LINENO needs CR and PATH.
88893 # Avoid depending upon Character Ranges.
88894 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
88895 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
88896 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
88897 as_cr_digits='0123456789'
88898 as_cr_alnum=$as_cr_Letters$as_cr_digits
88899
88900 # The user is always right.
88901 if test "${PATH_SEPARATOR+set}" != set; then
88902 echo "#! /bin/sh" >conf$$.sh
88903 echo "exit 0" >>conf$$.sh
88904 chmod +x conf$$.sh
88905 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
88906 PATH_SEPARATOR=';'
88907 else
88908 PATH_SEPARATOR=:
88909 fi
88910 rm -f conf$$.sh
88911 fi
88912
88913
88914 as_lineno_1=$LINENO
88915 as_lineno_2=$LINENO
88916 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
88917 test "x$as_lineno_1" != "x$as_lineno_2" &&
88918 test "x$as_lineno_3" = "x$as_lineno_2" || {
88919 # Find who we are. Look in the path if we contain no path at all
88920 # relative or not.
88921 case $0 in
88922 *[\\/]* ) as_myself=$0 ;;
88923 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
88924 for as_dir in $PATH
88925 do
88926 IFS=$as_save_IFS
88927 test -z "$as_dir" && as_dir=.
88928 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
88929 done
88930
88931 ;;
88932 esac
88933 # We did not find ourselves, most probably we were run as `sh COMMAND'
88934 # in which case we are not to be found in the path.
88935 if test "x$as_myself" = x; then
88936 as_myself=$0
88937 fi
88938 if test ! -f "$as_myself"; then
88939 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
88940 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
88941 { (exit 1); exit 1; }; }
88942 fi
88943 case $CONFIG_SHELL in
88944 '')
88945 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
88946 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
88947 do
88948 IFS=$as_save_IFS
88949 test -z "$as_dir" && as_dir=.
88950 for as_base in sh bash ksh sh5; do
88951 case $as_dir in
88952 /*)
88953 if ("$as_dir/$as_base" -c '
88954 as_lineno_1=$LINENO
88955 as_lineno_2=$LINENO
88956 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
88957 test "x$as_lineno_1" != "x$as_lineno_2" &&
88958 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
88959 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
88960 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
88961 CONFIG_SHELL=$as_dir/$as_base
88962 export CONFIG_SHELL
88963 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
88964 fi;;
88965 esac
88966 done
88967 done
88968 ;;
88969 esac
88970
88971 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
88972 # uniformly replaced by the line number. The first 'sed' inserts a
88973 # line-number line before each line; the second 'sed' does the real
88974 # work. The second script uses 'N' to pair each line-number line
88975 # with the numbered line, and appends trailing '-' during
88976 # substitution so that $LINENO is not a special case at line end.
88977 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
88978 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
88979 sed '=' <$as_myself |
88980 sed '
88981 N
88982 s,$,-,
88983 : loop
88984 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
88985 t loop
88986 s,-$,,
88987 s,^['$as_cr_digits']*\n,,
88988 ' >$as_me.lineno &&
88989 chmod +x $as_me.lineno ||
88990 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
88991 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
88992 { (exit 1); exit 1; }; }
88993
88994 # Don't try to exec as it changes $[0], causing all sort of problems
88995 # (the dirname of $[0] is not the place where we might find the
88996 # original and so on. Autoconf is especially sensible to this).
88997 . ./$as_me.lineno
88998 # Exit status is that of the last command.
88999 exit
89000 }
89001
89002
89003 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
89004 *c*,-n*) ECHO_N= ECHO_C='
89005 ' ECHO_T=' ' ;;
89006 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
89007 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
89008 esac
89009
89010 if expr a : '\(a\)' >/dev/null 2>&1; then
89011 as_expr=expr
89012 else
89013 as_expr=false
89014 fi
89015
89016 rm -f conf$$ conf$$.exe conf$$.file
89017 echo >conf$$.file
89018 if ln -s conf$$.file conf$$ 2>/dev/null; then
89019 # We could just check for DJGPP; but this test a) works b) is more generic
89020 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
89021 if test -f conf$$.exe; then
89022 # Don't use ln at all; we don't have any links
89023 as_ln_s='cp -p'
89024 else
89025 as_ln_s='ln -s'
89026 fi
89027 elif ln conf$$.file conf$$ 2>/dev/null; then
89028 as_ln_s=ln
89029 else
89030 as_ln_s='cp -p'
89031 fi
89032 rm -f conf$$ conf$$.exe conf$$.file
89033
89034 if mkdir -p . 2>/dev/null; then
89035 as_mkdir_p=:
89036 else
89037 test -d ./-p && rmdir ./-p
89038 as_mkdir_p=false
89039 fi
89040
89041 as_executable_p="test -f"
89042
89043 # Sed expression to map a string onto a valid CPP name.
89044 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
89045
89046 # Sed expression to map a string onto a valid variable name.
89047 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
89048
89049
89050 # IFS
89051 # We need space, tab and new line, in precisely that order.
89052 as_nl='
89053 '
89054 IFS=" $as_nl"
89055
89056 # CDPATH.
89057 $as_unset CDPATH
89058
89059 exec 6>&1
89060
89061 # Open the log real soon, to keep \$[0] and so on meaningful, and to
89062 # report actual input values of CONFIG_FILES etc. instead of their
89063 # values after options handling. Logging --version etc. is OK.
89064 exec 5>>config.log
89065 {
89066 echo
89067 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
89068 ## Running $as_me. ##
89069 _ASBOX
89070 } >&5
89071 cat >&5 <<_CSEOF
89072
89073 This file was extended by package-unused $as_me version-unused, which was
89074 generated by GNU Autoconf 2.59. Invocation command line was
89075
89076 CONFIG_FILES = $CONFIG_FILES
89077 CONFIG_HEADERS = $CONFIG_HEADERS
89078 CONFIG_LINKS = $CONFIG_LINKS
89079 CONFIG_COMMANDS = $CONFIG_COMMANDS
89080 $ $0 $@
89081
89082 _CSEOF
89083 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
89084 echo >&5
89085 _ACEOF
89086
89087 # Files that config.status was made for.
89088 if test -n "$ac_config_files"; then
89089 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
89090 fi
89091
89092 if test -n "$ac_config_headers"; then
89093 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
89094 fi
89095
89096 if test -n "$ac_config_links"; then
89097 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
89098 fi
89099
89100 if test -n "$ac_config_commands"; then
89101 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
89102 fi
89103
89104 cat >>$CONFIG_STATUS <<\_ACEOF
89105
89106 ac_cs_usage="\
89107 \`$as_me' instantiates files from templates according to the
89108 current configuration.
89109
89110 Usage: $0 [OPTIONS] [FILE]...
89111
89112 -h, --help print this help, then exit
89113 -V, --version print version number, then exit
89114 -q, --quiet do not print progress messages
89115 -d, --debug don't remove temporary files
89116 --recheck update $as_me by reconfiguring in the same conditions
89117 --file=FILE[:TEMPLATE]
89118 instantiate the configuration file FILE
89119 --header=FILE[:TEMPLATE]
89120 instantiate the configuration header FILE
89121
89122 Configuration files:
89123 $config_files
89124
89125 Configuration headers:
89126 $config_headers
89127
89128 Configuration commands:
89129 $config_commands
89130
89131 Report bugs to <bug-autoconf@gnu.org>."
89132 _ACEOF
89133
89134 cat >>$CONFIG_STATUS <<_ACEOF
89135 ac_cs_version="\\
89136 package-unused config.status version-unused
89137 configured by $0, generated by GNU Autoconf 2.59,
89138 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
89139
89140 Copyright (C) 2003 Free Software Foundation, Inc.
89141 This config.status script is free software; the Free Software Foundation
89142 gives unlimited permission to copy, distribute and modify it."
89143 srcdir=$srcdir
89144 INSTALL="$INSTALL"
89145 _ACEOF
89146
89147 cat >>$CONFIG_STATUS <<\_ACEOF
89148 # If no file are specified by the user, then we need to provide default
89149 # value. By we need to know if files were specified by the user.
89150 ac_need_defaults=:
89151 while test $# != 0
89152 do
89153 case $1 in
89154 --*=*)
89155 ac_option=`expr "x$1" : 'x\([^=]*\)='`
89156 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
89157 ac_shift=:
89158 ;;
89159 -*)
89160 ac_option=$1
89161 ac_optarg=$2
89162 ac_shift=shift
89163 ;;
89164 *) # This is not an option, so the user has probably given explicit
89165 # arguments.
89166 ac_option=$1
89167 ac_need_defaults=false;;
89168 esac
89169
89170 case $ac_option in
89171 # Handling of the options.
89172 _ACEOF
89173 cat >>$CONFIG_STATUS <<\_ACEOF
89174 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
89175 ac_cs_recheck=: ;;
89176 --version | --vers* | -V )
89177 echo "$ac_cs_version"; exit 0 ;;
89178 --he | --h)
89179 # Conflict between --help and --header
89180 { { echo "$as_me:$LINENO: error: ambiguous option: $1
89181 Try \`$0 --help' for more information." >&5
89182 echo "$as_me: error: ambiguous option: $1
89183 Try \`$0 --help' for more information." >&2;}
89184 { (exit 1); exit 1; }; };;
89185 --help | --hel | -h )
89186 echo "$ac_cs_usage"; exit 0 ;;
89187 --debug | --d* | -d )
89188 debug=: ;;
89189 --file | --fil | --fi | --f )
89190 $ac_shift
89191 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
89192 ac_need_defaults=false;;
89193 --header | --heade | --head | --hea )
89194 $ac_shift
89195 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
89196 ac_need_defaults=false;;
89197 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
89198 | -silent | --silent | --silen | --sile | --sil | --si | --s)
89199 ac_cs_silent=: ;;
89200
89201 # This is an error.
89202 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
89203 Try \`$0 --help' for more information." >&5
89204 echo "$as_me: error: unrecognized option: $1
89205 Try \`$0 --help' for more information." >&2;}
89206 { (exit 1); exit 1; }; } ;;
89207
89208 *) ac_config_targets="$ac_config_targets $1" ;;
89209
89210 esac
89211 shift
89212 done
89213
89214 ac_configure_extra_args=
89215
89216 if $ac_cs_silent; then
89217 exec 6>/dev/null
89218 ac_configure_extra_args="$ac_configure_extra_args --silent"
89219 fi
89220
89221 _ACEOF
89222 cat >>$CONFIG_STATUS <<_ACEOF
89223 if \$ac_cs_recheck; then
89224 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
89225 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
89226 fi
89227
89228 _ACEOF
89229
89230 cat >>$CONFIG_STATUS <<_ACEOF
89231 #
89232 # INIT-COMMANDS section.
89233 #
89234
89235
89236 srcdir="$srcdir"
89237 host="$host"
89238 target="$target"
89239 with_multisubdir="$with_multisubdir"
89240 with_multisrctop="$with_multisrctop"
89241 with_target_subdir="$with_target_subdir"
89242 ac_configure_args="${multilib_arg} ${ac_configure_args}"
89243 multi_basedir="$multi_basedir"
89244 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
89245 CC="$CC"
89246
89247 # Variables needed in config.status (file generation) which aren't already
89248 # passed by autoconf.
89249 SUBDIRS="$SUBDIRS"
89250
89251
89252 _ACEOF
89253
89254
89255
89256 cat >>$CONFIG_STATUS <<\_ACEOF
89257 for ac_config_target in $ac_config_targets
89258 do
89259 case "$ac_config_target" in
89260 # Handling of arguments.
89261 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
89262 "include/Makefile" ) CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
89263 "libmath/Makefile" ) CONFIG_FILES="$CONFIG_FILES libmath/Makefile" ;;
89264 "libsupc++/Makefile" ) CONFIG_FILES="$CONFIG_FILES libsupc++/Makefile" ;;
89265 "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
89266 "po/Makefile" ) CONFIG_FILES="$CONFIG_FILES po/Makefile" ;;
89267 "testsuite/Makefile" ) CONFIG_FILES="$CONFIG_FILES testsuite/Makefile" ;;
89268 "scripts/testsuite_flags" ) CONFIG_FILES="$CONFIG_FILES scripts/testsuite_flags" ;;
89269 "default-1" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
89270 "default" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
89271 "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
89272 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
89273 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
89274 { (exit 1); exit 1; }; };;
89275 esac
89276 done
89277
89278 # If the user did not use the arguments to specify the items to instantiate,
89279 # then the envvar interface is used. Set only those that are not.
89280 # We use the long form for the default assignment because of an extremely
89281 # bizarre bug on SunOS 4.1.3.
89282 if $ac_need_defaults; then
89283 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
89284 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
89285 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
89286 fi
89287
89288 # Have a temporary directory for convenience. Make it in the build tree
89289 # simply because there is no reason to put it here, and in addition,
89290 # creating and moving files from /tmp can sometimes cause problems.
89291 # Create a temporary directory, and hook for its removal unless debugging.
89292 $debug ||
89293 {
89294 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
89295 trap '{ (exit 1); exit 1; }' 1 2 13 15
89296 }
89297
89298 # Create a (secure) tmp directory for tmp files.
89299
89300 {
89301 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
89302 test -n "$tmp" && test -d "$tmp"
89303 } ||
89304 {
89305 tmp=./confstat$$-$RANDOM
89306 (umask 077 && mkdir $tmp)
89307 } ||
89308 {
89309 echo "$me: cannot create a temporary directory in ." >&2
89310 { (exit 1); exit 1; }
89311 }
89312
89313 _ACEOF
89314
89315 cat >>$CONFIG_STATUS <<_ACEOF
89316
89317 #
89318 # CONFIG_FILES section.
89319 #
89320
89321 # No need to generate the scripts if there are no CONFIG_FILES.
89322 # This happens for instance when ./config.status config.h
89323 if test -n "\$CONFIG_FILES"; then
89324 # Protect against being on the right side of a sed subst in config.status.
89325 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
89326 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
89327 s,@SHELL@,$SHELL,;t t
89328 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
89329 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
89330 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
89331 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
89332 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
89333 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
89334 s,@exec_prefix@,$exec_prefix,;t t
89335 s,@prefix@,$prefix,;t t
89336 s,@program_transform_name@,$program_transform_name,;t t
89337 s,@bindir@,$bindir,;t t
89338 s,@sbindir@,$sbindir,;t t
89339 s,@libexecdir@,$libexecdir,;t t
89340 s,@datadir@,$datadir,;t t
89341 s,@sysconfdir@,$sysconfdir,;t t
89342 s,@sharedstatedir@,$sharedstatedir,;t t
89343 s,@localstatedir@,$localstatedir,;t t
89344 s,@libdir@,$libdir,;t t
89345 s,@includedir@,$includedir,;t t
89346 s,@oldincludedir@,$oldincludedir,;t t
89347 s,@infodir@,$infodir,;t t
89348 s,@mandir@,$mandir,;t t
89349 s,@build_alias@,$build_alias,;t t
89350 s,@host_alias@,$host_alias,;t t
89351 s,@target_alias@,$target_alias,;t t
89352 s,@DEFS@,$DEFS,;t t
89353 s,@ECHO_C@,$ECHO_C,;t t
89354 s,@ECHO_N@,$ECHO_N,;t t
89355 s,@ECHO_T@,$ECHO_T,;t t
89356 s,@LIBS@,$LIBS,;t t
89357 s,@libtool_VERSION@,$libtool_VERSION,;t t
89358 s,@multi_basedir@,$multi_basedir,;t t
89359 s,@build@,$build,;t t
89360 s,@build_cpu@,$build_cpu,;t t
89361 s,@build_vendor@,$build_vendor,;t t
89362 s,@build_os@,$build_os,;t t
89363 s,@host@,$host,;t t
89364 s,@host_cpu@,$host_cpu,;t t
89365 s,@host_vendor@,$host_vendor,;t t
89366 s,@host_os@,$host_os,;t t
89367 s,@target@,$target,;t t
89368 s,@target_cpu@,$target_cpu,;t t
89369 s,@target_vendor@,$target_vendor,;t t
89370 s,@target_os@,$target_os,;t t
89371 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
89372 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
89373 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
89374 s,@CYGPATH_W@,$CYGPATH_W,;t t
89375 s,@PACKAGE@,$PACKAGE,;t t
89376 s,@VERSION@,$VERSION,;t t
89377 s,@ACLOCAL@,$ACLOCAL,;t t
89378 s,@AUTOCONF@,$AUTOCONF,;t t
89379 s,@AUTOMAKE@,$AUTOMAKE,;t t
89380 s,@AUTOHEADER@,$AUTOHEADER,;t t
89381 s,@MAKEINFO@,$MAKEINFO,;t t
89382 s,@install_sh@,$install_sh,;t t
89383 s,@STRIP@,$STRIP,;t t
89384 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
89385 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
89386 s,@mkdir_p@,$mkdir_p,;t t
89387 s,@AWK@,$AWK,;t t
89388 s,@SET_MAKE@,$SET_MAKE,;t t
89389 s,@am__leading_dot@,$am__leading_dot,;t t
89390 s,@AMTAR@,$AMTAR,;t t
89391 s,@am__tar@,$am__tar,;t t
89392 s,@am__untar@,$am__untar,;t t
89393 s,@glibcxx_builddir@,$glibcxx_builddir,;t t
89394 s,@glibcxx_srcdir@,$glibcxx_srcdir,;t t
89395 s,@toplevel_srcdir@,$toplevel_srcdir,;t t
89396 s,@CC@,$CC,;t t
89397 s,@ac_ct_CC@,$ac_ct_CC,;t t
89398 s,@EXEEXT@,$EXEEXT,;t t
89399 s,@OBJEXT@,$OBJEXT,;t t
89400 s,@CXX@,$CXX,;t t
89401 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
89402 s,@CFLAGS@,$CFLAGS,;t t
89403 s,@CXXFLAGS@,$CXXFLAGS,;t t
89404 s,@LN_S@,$LN_S,;t t
89405 s,@AS@,$AS,;t t
89406 s,@ac_ct_AS@,$ac_ct_AS,;t t
89407 s,@AR@,$AR,;t t
89408 s,@ac_ct_AR@,$ac_ct_AR,;t t
89409 s,@RANLIB@,$RANLIB,;t t
89410 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
89411 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
89412 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
89413 s,@MAINT@,$MAINT,;t t
89414 s,@LIBTOOL@,$LIBTOOL,;t t
89415 s,@CXXCPP@,$CXXCPP,;t t
89416 s,@CPPFLAGS@,$CPPFLAGS,;t t
89417 s,@enable_shared@,$enable_shared,;t t
89418 s,@enable_static@,$enable_static,;t t
89419 s,@GLIBCXX_HOSTED_TRUE@,$GLIBCXX_HOSTED_TRUE,;t t
89420 s,@GLIBCXX_HOSTED_FALSE@,$GLIBCXX_HOSTED_FALSE,;t t
89421 s,@GLIBCXX_BUILD_PCH_TRUE@,$GLIBCXX_BUILD_PCH_TRUE,;t t
89422 s,@GLIBCXX_BUILD_PCH_FALSE@,$GLIBCXX_BUILD_PCH_FALSE,;t t
89423 s,@glibcxx_PCHFLAGS@,$glibcxx_PCHFLAGS,;t t
89424 s,@CSTDIO_H@,$CSTDIO_H,;t t
89425 s,@BASIC_FILE_H@,$BASIC_FILE_H,;t t
89426 s,@BASIC_FILE_CC@,$BASIC_FILE_CC,;t t
89427 s,@CPP@,$CPP,;t t
89428 s,@EGREP@,$EGREP,;t t
89429 s,@check_msgfmt@,$check_msgfmt,;t t
89430 s,@glibcxx_MOFILES@,$glibcxx_MOFILES,;t t
89431 s,@glibcxx_POFILES@,$glibcxx_POFILES,;t t
89432 s,@glibcxx_localedir@,$glibcxx_localedir,;t t
89433 s,@USE_NLS@,$USE_NLS,;t t
89434 s,@CLOCALE_H@,$CLOCALE_H,;t t
89435 s,@CMESSAGES_H@,$CMESSAGES_H,;t t
89436 s,@CCODECVT_CC@,$CCODECVT_CC,;t t
89437 s,@CCOLLATE_CC@,$CCOLLATE_CC,;t t
89438 s,@CCTYPE_CC@,$CCTYPE_CC,;t t
89439 s,@CMESSAGES_CC@,$CMESSAGES_CC,;t t
89440 s,@CMONEY_CC@,$CMONEY_CC,;t t
89441 s,@CNUMERIC_CC@,$CNUMERIC_CC,;t t
89442 s,@CTIME_H@,$CTIME_H,;t t
89443 s,@CTIME_CC@,$CTIME_CC,;t t
89444 s,@CLOCALE_CC@,$CLOCALE_CC,;t t
89445 s,@CLOCALE_INTERNAL_H@,$CLOCALE_INTERNAL_H,;t t
89446 s,@ALLOCATOR_H@,$ALLOCATOR_H,;t t
89447 s,@ALLOCATOR_NAME@,$ALLOCATOR_NAME,;t t
89448 s,@C_INCLUDE_DIR@,$C_INCLUDE_DIR,;t t
89449 s,@GLIBCXX_C_HEADERS_C_TRUE@,$GLIBCXX_C_HEADERS_C_TRUE,;t t
89450 s,@GLIBCXX_C_HEADERS_C_FALSE@,$GLIBCXX_C_HEADERS_C_FALSE,;t t
89451 s,@GLIBCXX_C_HEADERS_C_STD_TRUE@,$GLIBCXX_C_HEADERS_C_STD_TRUE,;t t
89452 s,@GLIBCXX_C_HEADERS_C_STD_FALSE@,$GLIBCXX_C_HEADERS_C_STD_FALSE,;t t
89453 s,@GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE@,$GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE,;t t
89454 s,@GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE@,$GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE,;t t
89455 s,@DEBUG_FLAGS@,$DEBUG_FLAGS,;t t
89456 s,@GLIBCXX_BUILD_DEBUG_TRUE@,$GLIBCXX_BUILD_DEBUG_TRUE,;t t
89457 s,@GLIBCXX_BUILD_DEBUG_FALSE@,$GLIBCXX_BUILD_DEBUG_FALSE,;t t
89458 s,@EXTRA_CXX_FLAGS@,$EXTRA_CXX_FLAGS,;t t
89459 s,@glibcxx_thread_h@,$glibcxx_thread_h,;t t
89460 s,@WERROR@,$WERROR,;t t
89461 s,@SECTION_FLAGS@,$SECTION_FLAGS,;t t
89462 s,@SECTION_LDFLAGS@,$SECTION_LDFLAGS,;t t
89463 s,@OPT_LDFLAGS@,$OPT_LDFLAGS,;t t
89464 s,@LIBMATHOBJS@,$LIBMATHOBJS,;t t
89465 s,@LIBICONV@,$LIBICONV,;t t
89466 s,@SYMVER_MAP@,$SYMVER_MAP,;t t
89467 s,@port_specific_symbol_files@,$port_specific_symbol_files,;t t
89468 s,@ENABLE_SYMVERS_GNU_TRUE@,$ENABLE_SYMVERS_GNU_TRUE,;t t
89469 s,@ENABLE_SYMVERS_GNU_FALSE@,$ENABLE_SYMVERS_GNU_FALSE,;t t
89470 s,@ENABLE_SYMVERS_DARWIN_EXPORT_TRUE@,$ENABLE_SYMVERS_DARWIN_EXPORT_TRUE,;t t
89471 s,@ENABLE_SYMVERS_DARWIN_EXPORT_FALSE@,$ENABLE_SYMVERS_DARWIN_EXPORT_FALSE,;t t
89472 s,@baseline_dir@,$baseline_dir,;t t
89473 s,@ATOMICITY_SRCDIR@,$ATOMICITY_SRCDIR,;t t
89474 s,@ATOMIC_WORD_SRCDIR@,$ATOMIC_WORD_SRCDIR,;t t
89475 s,@ABI_TWEAKS_SRCDIR@,$ABI_TWEAKS_SRCDIR,;t t
89476 s,@OS_INC_SRCDIR@,$OS_INC_SRCDIR,;t t
89477 s,@glibcxx_prefixdir@,$glibcxx_prefixdir,;t t
89478 s,@gxx_include_dir@,$gxx_include_dir,;t t
89479 s,@glibcxx_toolexecdir@,$glibcxx_toolexecdir,;t t
89480 s,@glibcxx_toolexeclibdir@,$glibcxx_toolexeclibdir,;t t
89481 s,@GLIBCXX_INCLUDES@,$GLIBCXX_INCLUDES,;t t
89482 s,@TOPLEVEL_INCLUDES@,$TOPLEVEL_INCLUDES,;t t
89483 s,@OPTIMIZE_CXXFLAGS@,$OPTIMIZE_CXXFLAGS,;t t
89484 s,@WARN_FLAGS@,$WARN_FLAGS,;t t
89485 s,@LIBSUPCXX_PICFLAGS@,$LIBSUPCXX_PICFLAGS,;t t
89486 s,@LIBOBJS@,$LIBOBJS,;t t
89487 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
89488 CEOF
89489
89490 _ACEOF
89491
89492 cat >>$CONFIG_STATUS <<\_ACEOF
89493 # Split the substitutions into bite-sized pieces for seds with
89494 # small command number limits, like on Digital OSF/1 and HP-UX.
89495 ac_max_sed_lines=48
89496 ac_sed_frag=1 # Number of current file.
89497 ac_beg=1 # First line for current file.
89498 ac_end=$ac_max_sed_lines # Line after last line for current file.
89499 ac_more_lines=:
89500 ac_sed_cmds=
89501 while $ac_more_lines; do
89502 if test $ac_beg -gt 1; then
89503 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
89504 else
89505 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
89506 fi
89507 if test ! -s $tmp/subs.frag; then
89508 ac_more_lines=false
89509 else
89510 # The purpose of the label and of the branching condition is to
89511 # speed up the sed processing (if there are no `@' at all, there
89512 # is no need to browse any of the substitutions).
89513 # These are the two extra sed commands mentioned above.
89514 (echo ':t
89515 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
89516 if test -z "$ac_sed_cmds"; then
89517 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
89518 else
89519 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
89520 fi
89521 ac_sed_frag=`expr $ac_sed_frag + 1`
89522 ac_beg=$ac_end
89523 ac_end=`expr $ac_end + $ac_max_sed_lines`
89524 fi
89525 done
89526 if test -z "$ac_sed_cmds"; then
89527 ac_sed_cmds=cat
89528 fi
89529 fi # test -n "$CONFIG_FILES"
89530
89531 _ACEOF
89532 cat >>$CONFIG_STATUS <<\_ACEOF
89533 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
89534 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
89535 case $ac_file in
89536 - | *:- | *:-:* ) # input from stdin
89537 cat >$tmp/stdin
89538 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
89539 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
89540 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
89541 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
89542 * ) ac_file_in=$ac_file.in ;;
89543 esac
89544
89545 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
89546 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
89547 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
89548 X"$ac_file" : 'X\(//\)[^/]' \| \
89549 X"$ac_file" : 'X\(//\)$' \| \
89550 X"$ac_file" : 'X\(/\)' \| \
89551 . : '\(.\)' 2>/dev/null ||
89552 echo X"$ac_file" |
89553 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
89554 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
89555 /^X\(\/\/\)$/{ s//\1/; q; }
89556 /^X\(\/\).*/{ s//\1/; q; }
89557 s/.*/./; q'`
89558 { if $as_mkdir_p; then
89559 mkdir -p "$ac_dir"
89560 else
89561 as_dir="$ac_dir"
89562 as_dirs=
89563 while test ! -d "$as_dir"; do
89564 as_dirs="$as_dir $as_dirs"
89565 as_dir=`(dirname "$as_dir") 2>/dev/null ||
89566 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
89567 X"$as_dir" : 'X\(//\)[^/]' \| \
89568 X"$as_dir" : 'X\(//\)$' \| \
89569 X"$as_dir" : 'X\(/\)' \| \
89570 . : '\(.\)' 2>/dev/null ||
89571 echo X"$as_dir" |
89572 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
89573 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
89574 /^X\(\/\/\)$/{ s//\1/; q; }
89575 /^X\(\/\).*/{ s//\1/; q; }
89576 s/.*/./; q'`
89577 done
89578 test ! -n "$as_dirs" || mkdir $as_dirs
89579 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
89580 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
89581 { (exit 1); exit 1; }; }; }
89582
89583 ac_builddir=.
89584
89585 if test "$ac_dir" != .; then
89586 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
89587 # A "../" for each directory in $ac_dir_suffix.
89588 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
89589 else
89590 ac_dir_suffix= ac_top_builddir=
89591 fi
89592
89593 case $srcdir in
89594 .) # No --srcdir option. We are building in place.
89595 ac_srcdir=.
89596 if test -z "$ac_top_builddir"; then
89597 ac_top_srcdir=.
89598 else
89599 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
89600 fi ;;
89601 [\\/]* | ?:[\\/]* ) # Absolute path.
89602 ac_srcdir=$srcdir$ac_dir_suffix;
89603 ac_top_srcdir=$srcdir ;;
89604 *) # Relative path.
89605 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
89606 ac_top_srcdir=$ac_top_builddir$srcdir ;;
89607 esac
89608
89609 # Do not use `cd foo && pwd` to compute absolute paths, because
89610 # the directories may not exist.
89611 case `pwd` in
89612 .) ac_abs_builddir="$ac_dir";;
89613 *)
89614 case "$ac_dir" in
89615 .) ac_abs_builddir=`pwd`;;
89616 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
89617 *) ac_abs_builddir=`pwd`/"$ac_dir";;
89618 esac;;
89619 esac
89620 case $ac_abs_builddir in
89621 .) ac_abs_top_builddir=${ac_top_builddir}.;;
89622 *)
89623 case ${ac_top_builddir}. in
89624 .) ac_abs_top_builddir=$ac_abs_builddir;;
89625 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
89626 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
89627 esac;;
89628 esac
89629 case $ac_abs_builddir in
89630 .) ac_abs_srcdir=$ac_srcdir;;
89631 *)
89632 case $ac_srcdir in
89633 .) ac_abs_srcdir=$ac_abs_builddir;;
89634 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
89635 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
89636 esac;;
89637 esac
89638 case $ac_abs_builddir in
89639 .) ac_abs_top_srcdir=$ac_top_srcdir;;
89640 *)
89641 case $ac_top_srcdir in
89642 .) ac_abs_top_srcdir=$ac_abs_builddir;;
89643 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
89644 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
89645 esac;;
89646 esac
89647
89648
89649 case $INSTALL in
89650 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
89651 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
89652 esac
89653
89654 if test x"$ac_file" != x-; then
89655 { echo "$as_me:$LINENO: creating $ac_file" >&5
89656 echo "$as_me: creating $ac_file" >&6;}
89657 rm -f "$ac_file"
89658 fi
89659 # Let's still pretend it is `configure' which instantiates (i.e., don't
89660 # use $as_me), people would be surprised to read:
89661 # /* config.h. Generated by config.status. */
89662 if test x"$ac_file" = x-; then
89663 configure_input=
89664 else
89665 configure_input="$ac_file. "
89666 fi
89667 configure_input=$configure_input"Generated from `echo $ac_file_in |
89668 sed 's,.*/,,'` by configure."
89669
89670 # First look for the input files in the build tree, otherwise in the
89671 # src tree.
89672 ac_file_inputs=`IFS=:
89673 for f in $ac_file_in; do
89674 case $f in
89675 -) echo $tmp/stdin ;;
89676 [\\/$]*)
89677 # Absolute (can't be DOS-style, as IFS=:)
89678 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
89679 echo "$as_me: error: cannot find input file: $f" >&2;}
89680 { (exit 1); exit 1; }; }
89681 echo "$f";;
89682 *) # Relative
89683 if test -f "$f"; then
89684 # Build tree
89685 echo "$f"
89686 elif test -f "$srcdir/$f"; then
89687 # Source tree
89688 echo "$srcdir/$f"
89689 else
89690 # /dev/null tree
89691 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
89692 echo "$as_me: error: cannot find input file: $f" >&2;}
89693 { (exit 1); exit 1; }; }
89694 fi;;
89695 esac
89696 done` || { (exit 1); exit 1; }
89697 _ACEOF
89698 cat >>$CONFIG_STATUS <<_ACEOF
89699 sed "$ac_vpsub
89700 $extrasub
89701 _ACEOF
89702 cat >>$CONFIG_STATUS <<\_ACEOF
89703 :t
89704 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
89705 s,@configure_input@,$configure_input,;t t
89706 s,@srcdir@,$ac_srcdir,;t t
89707 s,@abs_srcdir@,$ac_abs_srcdir,;t t
89708 s,@top_srcdir@,$ac_top_srcdir,;t t
89709 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
89710 s,@builddir@,$ac_builddir,;t t
89711 s,@abs_builddir@,$ac_abs_builddir,;t t
89712 s,@top_builddir@,$ac_top_builddir,;t t
89713 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
89714 s,@INSTALL@,$ac_INSTALL,;t t
89715 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
89716 rm -f $tmp/stdin
89717 if test x"$ac_file" != x-; then
89718 mv $tmp/out $ac_file
89719 else
89720 cat $tmp/out
89721 rm -f $tmp/out
89722 fi
89723
89724 # Run the commands associated with the file.
89725 case $ac_file in
89726 scripts/testsuite_flags ) chmod +x scripts/testsuite_flags ;;
89727 esac
89728 done
89729 _ACEOF
89730 cat >>$CONFIG_STATUS <<\_ACEOF
89731
89732 #
89733 # CONFIG_HEADER section.
89734 #
89735
89736 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
89737 # NAME is the cpp macro being defined and VALUE is the value it is being given.
89738 #
89739 # ac_d sets the value in "#define NAME VALUE" lines.
89740 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
89741 ac_dB='[ ].*$,\1#\2'
89742 ac_dC=' '
89743 ac_dD=',;t'
89744 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
89745 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
89746 ac_uB='$,\1#\2define\3'
89747 ac_uC=' '
89748 ac_uD=',;t'
89749
89750 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
89751 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
89752 case $ac_file in
89753 - | *:- | *:-:* ) # input from stdin
89754 cat >$tmp/stdin
89755 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
89756 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
89757 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
89758 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
89759 * ) ac_file_in=$ac_file.in ;;
89760 esac
89761
89762 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
89763 echo "$as_me: creating $ac_file" >&6;}
89764
89765 # First look for the input files in the build tree, otherwise in the
89766 # src tree.
89767 ac_file_inputs=`IFS=:
89768 for f in $ac_file_in; do
89769 case $f in
89770 -) echo $tmp/stdin ;;
89771 [\\/$]*)
89772 # Absolute (can't be DOS-style, as IFS=:)
89773 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
89774 echo "$as_me: error: cannot find input file: $f" >&2;}
89775 { (exit 1); exit 1; }; }
89776 # Do quote $f, to prevent DOS paths from being IFS'd.
89777 echo "$f";;
89778 *) # Relative
89779 if test -f "$f"; then
89780 # Build tree
89781 echo "$f"
89782 elif test -f "$srcdir/$f"; then
89783 # Source tree
89784 echo "$srcdir/$f"
89785 else
89786 # /dev/null tree
89787 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
89788 echo "$as_me: error: cannot find input file: $f" >&2;}
89789 { (exit 1); exit 1; }; }
89790 fi;;
89791 esac
89792 done` || { (exit 1); exit 1; }
89793 # Remove the trailing spaces.
89794 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
89795
89796 _ACEOF
89797
89798 # Transform confdefs.h into two sed scripts, `conftest.defines' and
89799 # `conftest.undefs', that substitutes the proper values into
89800 # config.h.in to produce config.h. The first handles `#define'
89801 # templates, and the second `#undef' templates.
89802 # And first: Protect against being on the right side of a sed subst in
89803 # config.status. Protect against being in an unquoted here document
89804 # in config.status.
89805 rm -f conftest.defines conftest.undefs
89806 # Using a here document instead of a string reduces the quoting nightmare.
89807 # Putting comments in sed scripts is not portable.
89808 #
89809 # `end' is used to avoid that the second main sed command (meant for
89810 # 0-ary CPP macros) applies to n-ary macro definitions.
89811 # See the Autoconf documentation for `clear'.
89812 cat >confdef2sed.sed <<\_ACEOF
89813 s/[\\&,]/\\&/g
89814 s,[\\$`],\\&,g
89815 t clear
89816 : clear
89817 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
89818 t end
89819 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
89820 : end
89821 _ACEOF
89822 # If some macros were called several times there might be several times
89823 # the same #defines, which is useless. Nevertheless, we may not want to
89824 # sort them, since we want the *last* AC-DEFINE to be honored.
89825 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
89826 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
89827 rm -f confdef2sed.sed
89828
89829 # This sed command replaces #undef with comments. This is necessary, for
89830 # example, in the case of _POSIX_SOURCE, which is predefined and required
89831 # on some systems where configure will not decide to define it.
89832 cat >>conftest.undefs <<\_ACEOF
89833 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
89834 _ACEOF
89835
89836 # Break up conftest.defines because some shells have a limit on the size
89837 # of here documents, and old seds have small limits too (100 cmds).
89838 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
89839 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
89840 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
89841 echo ' :' >>$CONFIG_STATUS
89842 rm -f conftest.tail
89843 while grep . conftest.defines >/dev/null
89844 do
89845 # Write a limited-size here document to $tmp/defines.sed.
89846 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
89847 # Speed up: don't consider the non `#define' lines.
89848 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
89849 # Work around the forget-to-reset-the-flag bug.
89850 echo 't clr' >>$CONFIG_STATUS
89851 echo ': clr' >>$CONFIG_STATUS
89852 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
89853 echo 'CEOF
89854 sed -f $tmp/defines.sed $tmp/in >$tmp/out
89855 rm -f $tmp/in
89856 mv $tmp/out $tmp/in
89857 ' >>$CONFIG_STATUS
89858 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
89859 rm -f conftest.defines
89860 mv conftest.tail conftest.defines
89861 done
89862 rm -f conftest.defines
89863 echo ' fi # grep' >>$CONFIG_STATUS
89864 echo >>$CONFIG_STATUS
89865
89866 # Break up conftest.undefs because some shells have a limit on the size
89867 # of here documents, and old seds have small limits too (100 cmds).
89868 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
89869 rm -f conftest.tail
89870 while grep . conftest.undefs >/dev/null
89871 do
89872 # Write a limited-size here document to $tmp/undefs.sed.
89873 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
89874 # Speed up: don't consider the non `#undef'
89875 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
89876 # Work around the forget-to-reset-the-flag bug.
89877 echo 't clr' >>$CONFIG_STATUS
89878 echo ': clr' >>$CONFIG_STATUS
89879 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
89880 echo 'CEOF
89881 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
89882 rm -f $tmp/in
89883 mv $tmp/out $tmp/in
89884 ' >>$CONFIG_STATUS
89885 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
89886 rm -f conftest.undefs
89887 mv conftest.tail conftest.undefs
89888 done
89889 rm -f conftest.undefs
89890
89891 cat >>$CONFIG_STATUS <<\_ACEOF
89892 # Let's still pretend it is `configure' which instantiates (i.e., don't
89893 # use $as_me), people would be surprised to read:
89894 # /* config.h. Generated by config.status. */
89895 if test x"$ac_file" = x-; then
89896 echo "/* Generated by configure. */" >$tmp/config.h
89897 else
89898 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
89899 fi
89900 cat $tmp/in >>$tmp/config.h
89901 rm -f $tmp/in
89902 if test x"$ac_file" != x-; then
89903 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
89904 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
89905 echo "$as_me: $ac_file is unchanged" >&6;}
89906 else
89907 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
89908 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
89909 X"$ac_file" : 'X\(//\)[^/]' \| \
89910 X"$ac_file" : 'X\(//\)$' \| \
89911 X"$ac_file" : 'X\(/\)' \| \
89912 . : '\(.\)' 2>/dev/null ||
89913 echo X"$ac_file" |
89914 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
89915 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
89916 /^X\(\/\/\)$/{ s//\1/; q; }
89917 /^X\(\/\).*/{ s//\1/; q; }
89918 s/.*/./; q'`
89919 { if $as_mkdir_p; then
89920 mkdir -p "$ac_dir"
89921 else
89922 as_dir="$ac_dir"
89923 as_dirs=
89924 while test ! -d "$as_dir"; do
89925 as_dirs="$as_dir $as_dirs"
89926 as_dir=`(dirname "$as_dir") 2>/dev/null ||
89927 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
89928 X"$as_dir" : 'X\(//\)[^/]' \| \
89929 X"$as_dir" : 'X\(//\)$' \| \
89930 X"$as_dir" : 'X\(/\)' \| \
89931 . : '\(.\)' 2>/dev/null ||
89932 echo X"$as_dir" |
89933 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
89934 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
89935 /^X\(\/\/\)$/{ s//\1/; q; }
89936 /^X\(\/\).*/{ s//\1/; q; }
89937 s/.*/./; q'`
89938 done
89939 test ! -n "$as_dirs" || mkdir $as_dirs
89940 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
89941 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
89942 { (exit 1); exit 1; }; }; }
89943
89944 rm -f $ac_file
89945 mv $tmp/config.h $ac_file
89946 fi
89947 else
89948 cat $tmp/config.h
89949 rm -f $tmp/config.h
89950 fi
89951 # Compute $ac_file's index in $config_headers.
89952 _am_stamp_count=1
89953 for _am_header in $config_headers :; do
89954 case $_am_header in
89955 $ac_file | $ac_file:* )
89956 break ;;
89957 * )
89958 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
89959 esac
89960 done
89961 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
89962 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
89963 X$ac_file : 'X\(//\)[^/]' \| \
89964 X$ac_file : 'X\(//\)$' \| \
89965 X$ac_file : 'X\(/\)' \| \
89966 . : '\(.\)' 2>/dev/null ||
89967 echo X$ac_file |
89968 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
89969 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
89970 /^X\(\/\/\)$/{ s//\1/; q; }
89971 /^X\(\/\).*/{ s//\1/; q; }
89972 s/.*/./; q'`/stamp-h$_am_stamp_count
89973 done
89974 _ACEOF
89975 cat >>$CONFIG_STATUS <<\_ACEOF
89976
89977 #
89978 # CONFIG_COMMANDS section.
89979 #
89980 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
89981 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
89982 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
89983 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
89984 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
89985 X"$ac_dest" : 'X\(//\)[^/]' \| \
89986 X"$ac_dest" : 'X\(//\)$' \| \
89987 X"$ac_dest" : 'X\(/\)' \| \
89988 . : '\(.\)' 2>/dev/null ||
89989 echo X"$ac_dest" |
89990 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
89991 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
89992 /^X\(\/\/\)$/{ s//\1/; q; }
89993 /^X\(\/\).*/{ s//\1/; q; }
89994 s/.*/./; q'`
89995 { if $as_mkdir_p; then
89996 mkdir -p "$ac_dir"
89997 else
89998 as_dir="$ac_dir"
89999 as_dirs=
90000 while test ! -d "$as_dir"; do
90001 as_dirs="$as_dir $as_dirs"
90002 as_dir=`(dirname "$as_dir") 2>/dev/null ||
90003 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
90004 X"$as_dir" : 'X\(//\)[^/]' \| \
90005 X"$as_dir" : 'X\(//\)$' \| \
90006 X"$as_dir" : 'X\(/\)' \| \
90007 . : '\(.\)' 2>/dev/null ||
90008 echo X"$as_dir" |
90009 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
90010 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
90011 /^X\(\/\/\)$/{ s//\1/; q; }
90012 /^X\(\/\).*/{ s//\1/; q; }
90013 s/.*/./; q'`
90014 done
90015 test ! -n "$as_dirs" || mkdir $as_dirs
90016 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
90017 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
90018 { (exit 1); exit 1; }; }; }
90019
90020 ac_builddir=.
90021
90022 if test "$ac_dir" != .; then
90023 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
90024 # A "../" for each directory in $ac_dir_suffix.
90025 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
90026 else
90027 ac_dir_suffix= ac_top_builddir=
90028 fi
90029
90030 case $srcdir in
90031 .) # No --srcdir option. We are building in place.
90032 ac_srcdir=.
90033 if test -z "$ac_top_builddir"; then
90034 ac_top_srcdir=.
90035 else
90036 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
90037 fi ;;
90038 [\\/]* | ?:[\\/]* ) # Absolute path.
90039 ac_srcdir=$srcdir$ac_dir_suffix;
90040 ac_top_srcdir=$srcdir ;;
90041 *) # Relative path.
90042 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
90043 ac_top_srcdir=$ac_top_builddir$srcdir ;;
90044 esac
90045
90046 # Do not use `cd foo && pwd` to compute absolute paths, because
90047 # the directories may not exist.
90048 case `pwd` in
90049 .) ac_abs_builddir="$ac_dir";;
90050 *)
90051 case "$ac_dir" in
90052 .) ac_abs_builddir=`pwd`;;
90053 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
90054 *) ac_abs_builddir=`pwd`/"$ac_dir";;
90055 esac;;
90056 esac
90057 case $ac_abs_builddir in
90058 .) ac_abs_top_builddir=${ac_top_builddir}.;;
90059 *)
90060 case ${ac_top_builddir}. in
90061 .) ac_abs_top_builddir=$ac_abs_builddir;;
90062 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
90063 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
90064 esac;;
90065 esac
90066 case $ac_abs_builddir in
90067 .) ac_abs_srcdir=$ac_srcdir;;
90068 *)
90069 case $ac_srcdir in
90070 .) ac_abs_srcdir=$ac_abs_builddir;;
90071 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
90072 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
90073 esac;;
90074 esac
90075 case $ac_abs_builddir in
90076 .) ac_abs_top_srcdir=$ac_top_srcdir;;
90077 *)
90078 case $ac_top_srcdir in
90079 .) ac_abs_top_srcdir=$ac_abs_builddir;;
90080 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
90081 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
90082 esac;;
90083 esac
90084
90085
90086 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
90087 echo "$as_me: executing $ac_dest commands" >&6;}
90088 case $ac_dest in
90089 default-1 )
90090 # Only add multilib support code if we just rebuilt the top-level
90091 # Makefile.
90092 case " $CONFIG_FILES " in
90093 *" Makefile "*)
90094 ac_file=Makefile . ${multi_basedir}/config-ml.in
90095 ;;
90096 esac ;;
90097 default ) if test -n "$CONFIG_FILES"; then
90098 # Multilibs need MULTISUBDIR defined correctly in certain makefiles so
90099 # that multilib installs will end up installed in the correct place.
90100 # The testsuite needs it for multilib-aware ABI baseline files.
90101 # To work around this not being passed down from config-ml.in ->
90102 # srcdir/Makefile.am -> srcdir/{src,libsupc++,...}/Makefile.am, manually
90103 # append it here. Only modify Makefiles that have just been created.
90104 #
90105 # Also, get rid of this simulated-VPATH thing that automake does.
90106 cat > vpsed << \_EOF
90107 s!`test -f '$<' || echo '$(srcdir)/'`!!
90108 _EOF
90109 for i in $SUBDIRS; do
90110 case $CONFIG_FILES in
90111 *${i}/Makefile*)
90112 #echo "Adding MULTISUBDIR to $i/Makefile"
90113 sed -f vpsed $i/Makefile > tmp
90114 grep '^MULTISUBDIR =' Makefile >> tmp
90115 mv tmp $i/Makefile
90116 ;;
90117 esac
90118 done
90119 rm vpsed
90120 fi
90121 (cd include && ${MAKE-make})
90122 ;;
90123 esac
90124 done
90125 _ACEOF
90126
90127 cat >>$CONFIG_STATUS <<\_ACEOF
90128
90129 { (exit 0); exit 0; }
90130 _ACEOF
90131 chmod +x $CONFIG_STATUS
90132 ac_clean_files=$ac_clean_files_save
90133
90134
90135 # configure is writing to config.log, and then calls config.status.
90136 # config.status does its own redirection, appending to config.log.
90137 # Unfortunately, on DOS this fails, as config.log is still kept open
90138 # by configure, so config.status won't be able to write to it; its
90139 # output is simply discarded. So we exec the FD to /dev/null,
90140 # effectively closing config.log, so it can be properly (re)opened and
90141 # appended to by config.status. When coming back to configure, we
90142 # need to make the FD available again.
90143 if test "$no_create" != yes; then
90144 ac_cs_success=:
90145 ac_config_status_args=
90146 test "$silent" = yes &&
90147 ac_config_status_args="$ac_config_status_args --quiet"
90148 exec 5>/dev/null
90149 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
90150 exec 5>>config.log
90151 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
90152 # would make configure fail if this is the last instruction.
90153 $ac_cs_success || { (exit 1); exit 1; }
90154 fi
90155